/**
 * Beaver Theme Cards CSS
 * 合并所有卡片相关样式
 * 包含：book-card.css + link-card.css + tool-card.css
 */

/* ========================================
   书籍卡片样式 (来自 book-card.css)
   ======================================== */
.book-card-item {
    --circle-size: 600px;
    --inset: 1px;
    --border: 12px;
    background-color: #141419;
    border-radius: var(--border);
    overflow: hidden;
    padding: 64px 16px;
}

/* 实际使用的book样式 (来自loop/item.php) */
.book-cell {
    background-color: #141419;
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s ease;
    position: relative;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.book-cell:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.4);
}

.book-img {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.book-img .book-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.book-cell:hover .book-photo {
    transform: scale(1.05);
}

.book-content {
    padding: 16px;
}

.book-title {
    font-size: 16px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 8px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.book-author {
    font-size: 14px;
    color: #999;
    margin-bottom: 12px;
}

.book-content .rate {
    margin-bottom: 8px;
}

.book-content .rating {
    display: flex;
    gap: 2px;
}

.book-content .rating input[type="checkbox"] {
    display: none;
}

.book-content .rating input[type="checkbox"] + label {
    display: inline-block;
    width: 16px;
    height: 16px;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%23666"><path d="M12 2l3.09 6.26L22 9.27l-5 4.87 1.18 6.88L12 17.77l-6.18 3.25L7 14.14 2 9.27l6.91-1.01L12 2z"/></svg>') no-repeat center;
    background-size: contain;
    cursor: pointer;
}

.book-content .rating input[type="checkbox"]:checked + label {
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%23e3c414"><path d="M12 2l3.09 6.26L22 9.27l-5 4.87 1.18 6.88L12 17.77l-6.18 3.25L7 14.14 2 9.27l6.91-1.01L12 2z"/></svg>') no-repeat center;
    background-size: contain;
}

/* 书籍卡片网格样式 (来自ripro-v5-child) */
.book-card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 16px;
    padding: 16px;
}

.book-card-grid .item {
    --circle-size: 600px;
    border-radius: 12px;
    background-color: #141419;
    box-shadow: 0px 0px 8px 0px rgba(10, 10, 14, 0.4);
    align-content: start;
    flex-wrap: wrap;
}

.book-card-grid .item a {
    width: 100%;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.book-card-grid .text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    word-wrap: break-word;
    opacity: .8;
    transition: opacity .2s;
    padding: 24px;
}

.book-card-grid .title-area {
    display: flex;
    width: 100%;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
}

.book-card-grid .title {
    display: flex;
    align-items: center;
    gap: 4px;
}

.book-card-grid .title .name-emoji {
    font-size: 16px;
    line-height: 28px;
    font-weight: 500;
}

.book-card-grid .title .name {
    font-size: 16px;
    line-height: 28px;
    font-weight: 500;
    background: linear-gradient(180deg, #E8E8F6 0%, rgba(232, 232, 246, 0.72) 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.book-card-grid .tag-2b {
    color: #57AC84;
    background: rgba(87, 172, 132, 0.1);
}

.book-card-grid .tag {
    font-size: 12px;
    line-height: 100%;
    font-weight: 500;
    padding: 6px 10px;
    border-radius: 9999px;
    white-space: nowrap;
}

.book-card-grid .desc {
    width: 100%;
    font-size: 14px;
    color: #A8A8B6;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.book-card-grid .cover {
    position: relative;
    will-change: transform, filter;
    margin-bottom: -16px;
    mask-image: linear-gradient(180deg, transparent, #141419 0%, #141419 70%, transparent);
}

.book-card-grid .cover img {
    width: 100%;
    height: 380px;
    object-fit: cover;
    filter: brightness(0.6);
    border-radius: 0.5rem;
    transition: filter 0.2s, transform 0.4s;
}

.book-card-grid .item a:hover .cover img {
    transform: translateY(-16px);
    filter: brightness(1);
    transition: filter 0.2s, transform 0.4s;
    border-radius: 0.5rem;
}

.book-card-grid .item a:hover .text {
    opacity: .08 !important;
    transition: opacity .4s;
}

/* 卡片容器样式 */
.card-container {
    background-color: #0F1C2E;
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s ease;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    margin-bottom: 13px;
    margin-top: 20px;
}

.card-container a {
    width: 100%;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 12px;
    color: #fff;
    text-decoration: none;
}

.card-image {
    width: 150px;
    height: 150px;
    flex-shrink: 0;
    margin-bottom: -45px;
    margin-right: -30px;
    border-radius: 8px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.8;
    transition: opacity 0.4s;
    position: absolute;
    bottom: 16px;
    right: 16px;
    transform: translateY(0);
    transition: transform 0.5s ease;
    animation: float 3s ease-in-out infinite;
}

.card-info {
    flex: 1;
    min-width: 0;
    margin-left: 15px;
}

.card-container:hover .card-image {
    opacity: 1;
}

.title-hi {
    font-size: 22px;
    font-weight: 700;
    background: linear-gradient(rgb(232, 232, 246) 0%, rgba(232, 232, 246, 0.72) 100%) text;
}

.card-title {
    --bg: linear-gradient(90deg, #A29CD3 0%, #E8BFAC 100%);
    position: relative;
    background: var(--bg);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-size: 26px;
    font-weight: 700;
    margin: 0;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* ========================================
   clients-card 样式 (loop/item.php L719-742)
   ======================================== */
.clients-section {
    position: relative;
    overflow: hidden;
}

.client-item {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: #141419;
    border-radius: 12px;
    transition: all 0.3s ease;
    text-decoration: none;
    color: #fff;
    position: relative;
    overflow: hidden;
}

.client-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.3);
}

.client-item.colored-img img {
    filter: none;
}

.client-logo {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
}

.client-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: grayscale(100%);
    transition: filter 0.3s ease;
}

.client-item:hover .client-logo img {
    filter: grayscale(0%);
}

.link-icon {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 20px;
    height: 20px;
    stroke: #fff;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.client-item:hover .link-icon {
    opacity: 1;
}

.info-popup {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0,0,0,0.9);
    padding: 10px;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.client-item:hover .info-popup {
    transform: translateY(0);
}

.info-popup h3 {
    margin: 0 0 5px 0;
    font-size: 14px;
    color: #fff;
}

.info-popup p {
    margin: 0;
    font-size: 12px;
    color: #aaa;
}

.book-card-item .book-item {
    width: 112px;
    height: 158px;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    position: relative;
    z-index: 1;
    margin: 0 auto;
}

.book-card-item .b-wrapper {
    transform-origin: 0% 50%;
    position: absolute;
    width: 112px;
    height: 158px;
    background-size: cover;
    background-position: center;
    transform-style: preserve-3d;
    transition: 0.4s ease all;
}

.book-card-item .b-wrapper .b-front,
.book-card-item .b-wrapper .b-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: 8px;
    overflow: hidden;
}

.book-card-item .b-wrapper .b-front {
    transform: rotateY(0deg);
}

.book-card-item .b-wrapper .b-back {
    transform: rotateY(180deg);
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
    padding: 20px;
    font-size: 14px;
}

.book-card-item:hover .b-wrapper {
    transform: rotateY(180deg);
}

/* ========================================
   链接卡片样式 (来自 link-card.css)
   ======================================== */
.link-card-item {
    box-shadow: 0px 0px 8px 0px rgba(10, 10, 14, 0.4);
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s ease;
    position: relative;
}

/* 卡片图片样式 */
.card-img {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    border-radius: 8px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.8;
    transition: opacity 0.4s;
}

/* 信息区域样式 */
.info {
    flex: 1;
    min-width: 0;
}

.info-title {
    font-size: 14px;
    font-weight: 500;
    line-height: 24px;
    color: #E8E8F6;
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.info-desc {
    font-size: 12px;
    color: #A8A8B6;
    margin: 4px 0 0;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* 箭头图标样式 */
.icon-arrow {
    width: 14px;
    height: 14px;
    opacity: 0;
    transition: opacity 0.4s;
    flex-shrink: 0;
    fill: #B3B3C1;
}

/* 悬停效果 */
.link-card-item:hover .card-img {
    opacity: 1;
}

.link-card-item:hover .info-title {
    color: #fff;
}

.link-card-item:hover .icon-arrow {
    opacity: 1;
}

.card-img::after {
    content: '';
    position: absolute;
    width: 89px;
    height: 91px;
    filter: blur(42px);
    background: inherit;
    background-size: 100%;
}

.magical {
    --border: 5px;
    --circle-size: 600px;
    --inset: 1px;
    position: relative;
    overflow: hidden;
}

.magical::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: var(--circle-size);
    height: var(--circle-size);
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    transform: translate(-50%, -50%);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
    opacity: 0;
    transition: opacity .3s;
    pointer-events: none;
    border-radius: inherit;
}

.magical::after {
    content: '';
    position: absolute;
    inset: var(--inset);
    background: linear-gradient(180deg, rgba(78, 78, 100, 0.48) 0%, rgba(78, 78, 100, 0.2) 100%);
    z-index: 2;
    border-radius: calc(var(--border) - var(--inset));
}

.magical:hover::before { 
    opacity: 1; 
}

.link-card-item a {
    width: 100%;
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 16px;
    gap: 12px;
    color: #fff;
    text-decoration: none;
}

.game-widget {
    margin-bottom: 14px;
}

.link-card-item:hover {
    transform: translateY(-2px);
    box-shadow: 0px 4px 12px 0px rgba(10, 10, 14, 0.6);
}

.link-card-item .card-image {
    width: 60px;
    height: 60px;
    border-radius: 8px;
    object-fit: cover;
    flex-shrink: 0;
}

.link-card-item .card-content {
    flex: 1;
    min-width: 0;
}

.link-card-item .card-title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 4px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.link-card-item .card-description {
    font-size: 14px;
    color: #aaa;
    line-height: 1.4;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

/* ========================================
   工具卡片样式 (来自 tool-card.css)
   ======================================== */
.tool-card {
    padding: 5px;
    gap: 16px;
}

.card-mini__game2 {
    padding: 5px;
    gap: 16px;
    transition: opacity .2s;
}

.card-mini__game2:hover {
    transform: translateY(-1px);
}

/* card-mini 完整样式 (loop/item.php L743-804) */
.card-mini__game1 {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
}

.card-mini__game {
    position: relative;
    display: block;
    border-radius: 8px;
    overflow: hidden;
}

.card-mini__game img,
.card-mini__game .game-cover-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.card-mini__game:hover img,
.card-mini__game:hover .game-cover-image {
    transform: scale(1.05);
}

.card-mini__game video.card-mini-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.card-mini__info {
    padding: 15px;
    background: #141419;
}

.card-mini__title {
    display: block;
    font-size: 16px;
    font-weight: 600;
    color: #fff;
    text-decoration: none;
    margin-bottom: 8px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.card-mini__title:hover {
    color: #1f8bff;
}

.card-mini__genres {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    margin-bottom: 8px;
}

.card-mini__genres .genre-item {
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    padding: 2px 6px;
    border-radius: 8px;
    font-size: 11px;
    color: #aaa;
    text-decoration: none;
    transition: all 0.3s ease;
}

.card-mini__genres .genre-item:hover {
    background: rgba(255,255,255,0.2);
    color: #fff;
}

.card-mini__description {
    font-size: 13px;
    color: #888;
    line-height: 1.4;
    margin-bottom: 10px;
}

/* ========================================
   apps-grid-card 样式 (loop/item.php L806-885)
   ======================================== */
.posts-item.app-item {
    background: #141419;
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
}

.posts-item.app-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.3);
}

.item-header {
    position: relative;
    overflow: hidden;
}

.item-media {
    position: relative;
    width: 100%;
    height: 200px;
}

.item-image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.posts-item.app-item:hover .item-image {
    transform: scale(1.05);
}

.item-body {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.item-title {
    font-size: 18px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 8px;
    line-height: 1.2;
}

.item-title a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.item-title a:hover {
    color: #1f8bff;
}

.version-badge {
    background: #1f8bff;
    color: #fff;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 12px;
    margin-left: 8px;
    font-weight: 400;
}

.item-excerpt {
    font-size: 14px;
    color: #aaa;
    line-height: 1.4;
    margin-bottom: 12px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.app-content {
    margin-top: auto;
}

.app-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 8px;
    font-size: 12px;
}

.meta-left {
    display: flex;
    align-items: center;
    gap: 6px;
}

.category-link {
    color: #1f8bff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.category-link:hover {
    color: #4dabf7;
}

.status-tag {
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 500;
}

.status-tag.official {
    background: #28a745;
    color: #fff;
}

.status-tag.cracked {
    background: #dc3545;
    color: #fff;
}

.status-tag.lite {
    background: #ffc107;
    color: #212529;
}

.meta-right {
    display: flex;
    align-items: center;
}

.tag-link {
    color: #888;
    text-decoration: none;
    transition: color 0.3s ease;
}

.tag-link:hover {
    color: #1f8bff;
}

.tool-card .card {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 16px;
    padding: 16px;
    transition: opacity .2s;
    opacity: .8;
}

.tool-card .magical {
    --circle-size: 600px;
    --inset: 1px;
    --border: 12px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--border);
    background-color: #141419;
}

.tool-card .magical::after {
    background: linear-gradient(180deg, rgba(78, 78, 100, 0.48) 0%, rgba(78, 78, 100, 0.2) 100%);
    z-index: -2;
}

.tool-card .card-left {
    width: 80%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 8px;
    padding-left: 8px;
}

.tool-card .title {
    display: flex;
    align-items: center;
    gap: 6px;
}

.tool-card .name::before {
    content: '';
    position: absolute;
    top: 16px;
    left: 24px;
    height: 28px;
    width: 120px;
    filter: blur(16px);
    background: linear-gradient(90deg, rgba(255, 98, 154, 0.2) 0%, rgba(113, 232, 246, 0.2) 100%);
    pointer-events: none;
}

.tool-card .name {
    font-size: 16px;
    line-height: 28px;
    font-weight: 500;
    background: linear-gradient(180deg, #E8E8F6 0%, rgba(232, 232, 246, 0.72) 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.tool-card .link {
    font-size: 16px;
    line-height: 28px;
    font-weight: 500;
    opacity: 0;
    transition: opacity .2s;
    background: linear-gradient(180deg, #E8E8F6 0%, rgba(232, 232, 246, 0.72) 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.tool-card .desc {
    font-size: 14px;
    font-weight: 400;
    line-height: 24px;
    color: #A8A8B6;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.tool-card .time1 {
    font-size: 12px;
    line-height: 20px;
    font-weight: 400;
    color: #62616F;
}

.tool-card .pic {
    padding: 8px 0;
    perspective: 280px;
    min-width: 119px;
    will-change: transform, filter;
}

.tool-card .pic img {
    width: 80%;
    max-width: 160px;
    border-radius: 6px;
    filter: brightness(0.8);
    transition: filter 0.2s, transform 0.4s;
}

.tool-card .logo {
    position: relative;
}

.tool-card .logo img {
    width: 40px;
}

.tool-card:hover .pic img {
    transform: rotateX(8deg) scale(0.96);
    filter: brightness(1);
}

.tool-card:hover .link {
    opacity: 1;
}

/* 底部渐变效果 */
.magical::after {
    background: linear-gradient(180deg, rgba(78, 78, 100, 0.48) 0%, rgba(78, 78, 100, 0.2) 100%);
    z-index: -2;
}

.tool-card .magical {
    --circle-size: 600px;
    --inset: 1px;
}

.tool-card .magical .item {
    position: relative;
    background-color: #141419;
    border-radius: var(--border);
    overflow: hidden;
}

.tool-card .magical .light {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(255, 255, 255, 0.1) 0%, transparent 50%);
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.tool-card .magical:hover .light {
    opacity: 1;
}

.tool-card .card:hover {
    opacity: 1;
    transform: translateY(-2px);
}

.tool-card .card-image {
    width: 48px;
    height: 48px;
    border-radius: 8px;
    object-fit: cover;
    flex-shrink: 0;
}

.tool-card .card-content {
    flex: 1;
    min-width: 0;
}

.tool-card .card-title {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 4px;
    color: #fff;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.tool-card .card-meta {
    font-size: 13px;
    color: #999;
    display: flex;
    align-items: center;
    gap: 8px;
}

.tool-card .card-meta .category {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 11px;
}

/* ========================================
   通用卡片样式
   ======================================== */
.card-base {
    background-color: #141419;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    position: relative;
}

.card-base:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.card-base .card-header {
    padding: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.card-base .card-body {
    padding: 16px;
}

.card-base .card-footer {
    padding: 12px 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    background-color: rgba(0, 0, 0, 0.2);
}

/* ========================================
   响应式设计
   ======================================== */
@media (max-width: 768px) {
    .book-card-item {
        padding: 32px 8px;
    }
    
    .book-card-item .book-item {
        width: 80px;
        height: 112px;
    }
    
    .book-card-item .b-wrapper {
        width: 80px;
        height: 112px;
    }
    
    .link-card-item .card-image {
        width: 48px;
        height: 48px;
    }
    
    .link-card-item a {
        padding: 12px;
        gap: 8px;
    }
    
    .tool-card .card {
        padding: 12px;
        gap: 12px;
    }
    
    .tool-card .card-image {
        width: 40px;
        height: 40px;
    }
}

@media (max-width: 480px) {
    .book-card-item {
        padding: 24px 6px;
    }
    
    .book-card-item .book-item {
        width: 64px;
        height: 90px;
    }
    
    .book-card-item .b-wrapper {
        width: 64px;
        height: 90px;
    }
    
    .link-card-item .card-title {
        font-size: 14px;
    }
    
    .link-card-item .card-description {
        font-size: 12px;
    }
    
    .tool-card .card-title {
        font-size: 14px;
    }
}
