/* ============================================
   4w图床 - 极简风格样式
   基于 ZUI 框架，覆盖并增强
   ============================================ */

/* ---------- CSS 变量 ---------- */
:root {
    --4w-primary: #6366f1;
    --4w-primary-light: #818cf8;
    --4w-primary-dark: #4f46e5;
    --4w-surface: #ffffff;
    --4w-bg: #f8fafc;
    --4w-text: #1e293b;
    --4w-text-muted: #94a3b8;
    --4w-border: #e2e8f0;
    --4w-radius: 16px;
    --4w-radius-sm: 10px;
    --4w-shadow: 0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
    --4w-shadow-lg: 0 10px 40px rgba(0,0,0,0.08);
}

/* ---------- 全局重置 ---------- */
body {
    background: var(--4w-bg) !important;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
    color: var(--4w-text);
    padding-top: 0;
}

/* ---------- 毛玻璃导航栏 ---------- */
.navbar-4w {
    position: sticky;
    top: 0;
    z-index: 1040;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 32px;
    height: 60px;
    background: rgba(255,255,255,0.78);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--4w-border);
}

.navbar-4w .brand {
    font-size: 20px;
    font-weight: 700;
    color: var(--4w-primary);
    text-decoration: none;
    letter-spacing: -0.5px;
}

.navbar-4w .brand span {
    background: linear-gradient(135deg, var(--4w-primary), #a855f7);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.navbar-4w .nav-links {
    display: flex;
    align-items: center;
    gap: 6px;
}

.navbar-4w .nav-links a {
    text-decoration: none;
    color: var(--4w-text-muted);
    font-size: 14px;
    font-weight: 500;
    padding: 8px 14px;
    border-radius: 8px;
    transition: all 0.2s;
}

.navbar-4w .nav-links a:hover {
    color: var(--4w-text);
    background: rgba(99,102,241,0.08);
}

.navbar-4w .nav-links a.active {
    color: var(--4w-primary);
    background: rgba(99,102,241,0.1);
    font-weight: 600;
}

.navbar-4w .nav-links .badge-dot {
    display: inline-block;
    width: 6px;
    height: 6px;
    background: #ef4444;
    border-radius: 50%;
    margin-left: 4px;
    vertical-align: middle;
}

.navbar-4w .nav-links .btn-login {
    background: var(--4w-primary);
    color: #fff !important;
    border-radius: 20px;
    padding: 8px 20px;
    font-weight: 600;
}

.navbar-4w .nav-links .btn-login:hover {
    background: var(--4w-primary-dark);
}

/* 移动端汉堡菜单 */
.navbar-4w .menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 22px;
    color: var(--4w-text);
    cursor: pointer;
}

/* ---------- 主容器 ---------- */
.main-container {
    max-width: 780px;
    margin: 0 auto;
    padding: 40px 20px 60px;
}

/* ---------- Hero 区域 ---------- */
.hero {
    text-align: center;
    margin-bottom: 36px;
}

.hero h1 {
    font-size: 32px;
    font-weight: 800;
    letter-spacing: -1px;
    color: var(--4w-text);
    margin-bottom: 8px;
}

.hero h1 .accent {
    background: linear-gradient(135deg, var(--4w-primary), #a855f7);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero p {
    color: var(--4w-text-muted);
    font-size: 15px;
    margin: 0;
}

/* ---------- 上传卡片 ---------- */
.upload-card {
    background: var(--4w-surface);
    border-radius: var(--4w-radius);
    box-shadow: 0 2px 16px rgba(0,0,0,0.06);
    padding: 32px;
    margin-bottom: 24px;
    border: 1px solid var(--4w-border);
    transition: box-shadow 0.3s, border-color 0.3s;
}

.upload-card.drag-over {
    border-color: var(--4w-primary);
    box-shadow: 0 0 0 4px rgba(99,102,241,0.10), 0 4px 24px rgba(99,102,241,0.08);
}

/* 拖拽区域 */
.upload-card .uploader-files {
    min-height: 200px !important;
    border: 2px dashed var(--4w-border) !important;
    border-radius: var(--4w-radius-sm) !important;
    background: var(--4w-bg) !important;
    cursor: pointer;
    transition: all 0.3s !important;
}

.upload-card .uploader-files:hover {
    border-color: var(--4w-primary-light) !important;
    background: rgba(99,102,241,0.02) !important;
}

/* 当有文件时缩小 min-height */
.upload-card .uploader-files:has(.file) {
    min-height: 0 !important;
}

.upload-card.drag-over .uploader-files {
    border-color: var(--4w-primary) !important;
    background: rgba(99,102,241,0.05) !important;
    animation: pulse-border 1.2s ease-in-out infinite;
}

/* 上传按钮行 */
.upload-card .uploader-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 20px 0 4px;
    border-top: none !important;
    flex-wrap: wrap;
}

.upload-card .uploader-actions .btn {
    border-radius: 20px;
    padding: 9px 24px;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.25s;
    border: none;
    line-height: 1.4;
}

.upload-card .uploader-actions .uploader-btn-browse {
    background: var(--4w-primary);
    color: #fff;
}

.upload-card .uploader-actions .uploader-btn-browse:hover {
    background: var(--4w-primary-dark);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(99,102,241,0.35);
}

.upload-card .uploader-actions .uploader-btn-start {
    background: #10b981;
    color: #fff;
}

.upload-card .uploader-actions .uploader-btn-start:hover {
    background: #059669;
}

.upload-card .uploader-actions .uploader-btn-stop {
    background: #f1f5f9;
    color: var(--4w-text-muted);
}

.upload-card .uploader-actions .uploader-btn-stop:hover {
    background: #e2e8f0;
    color: var(--4w-text);
}

.upload-card .uploader-status {
    width: 100%;
    text-align: center;
    font-size: 12px;
    color: var(--4w-text-muted);
    margin-top: 6px;
    order: 99;
}

/* 上传消息提示 */
.upload-card .uploader-message {
    margin-bottom: 12px;
}

/* 文件列表项样式覆盖 */
.upload-card .file-list .file {
    border-radius: 8px;
    margin: 4px 0;
}

/* ---------- 统计条 ---------- */
.stats-bar {
    display: flex;
    gap: 16px;
    margin-bottom: 24px;
}

.stats-bar .stat-item {
    flex: 1;
    background: var(--4w-surface);
    border-radius: var(--4w-radius-sm);
    padding: 18px 20px;
    text-align: center;
    box-shadow: var(--4w-shadow);
    border: 1px solid var(--4w-border);
}

.stats-bar .stat-item .stat-num {
    font-size: 26px;
    font-weight: 800;
    color: var(--4w-primary);
    letter-spacing: -0.5px;
}

.stats-bar .stat-item .stat-label {
    font-size: 12px;
    color: var(--4w-text-muted);
    margin-top: 4px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ---------- 结果输出区 ---------- */
.result-card {
    background: var(--4w-surface);
    border-radius: var(--4w-radius);
    box-shadow: var(--4w-shadow);
    border: 1px solid var(--4w-border);
    overflow: hidden;
}

.result-card .result-tabs {
    display: flex;
    gap: 0;
    border-bottom: 1px solid var(--4w-border);
    padding: 0 16px;
    background: var(--4w-bg);
}

.result-card .result-tabs .tab-btn {
    padding: 12px 16px;
    font-size: 13px;
    font-weight: 600;
    color: var(--4w-text-muted);
    border: none;
    background: none;
    cursor: pointer;
    border-bottom: 2px solid transparent;
    transition: all 0.2s;
    white-space: nowrap;
}

.result-card .result-tabs .tab-btn:hover {
    color: var(--4w-text);
}

.result-card .result-tabs .tab-btn.active {
    color: var(--4w-primary);
    border-bottom-color: var(--4w-primary);
}

.result-card .result-body {
    padding: 16px;
    position: relative;
}

.result-card .result-body textarea {
    border: 1px solid var(--4w-border);
    border-radius: var(--4w-radius-sm);
    font-family: "SF Mono", "Fira Code", "Consolas", monospace;
    font-size: 13px;
    resize: vertical;
    min-height: 80px;
    background: var(--4w-bg);
}

.result-card .result-body textarea:focus {
    border-color: var(--4w-primary-light);
    box-shadow: 0 0 0 3px rgba(99,102,241,0.1);
}

.result-card .result-actions {
    display: flex;
    gap: 8px;
    padding: 0 16px 16px;
}

.result-card .result-actions .btn {
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    padding: 6px 16px;
}

.result-card .result-actions .btn-copy {
    background: var(--4w-primary);
    color: #fff;
    border: none;
}

.result-card .result-actions .btn-copy:hover {
    background: var(--4w-primary-dark);
}

.result-card .result-actions .btn-refresh {
    background: #f1f5f9;
    color: var(--4w-text-muted);
    border: none;
}

.result-card .result-actions .btn-refresh:hover {
    background: #e2e8f0;
    color: var(--4w-text);
}

/* ---------- 公告条 ---------- */
.announce-bar {
    background: linear-gradient(135deg, rgba(99,102,241,0.08), rgba(168,85,247,0.06));
    border: 1px solid rgba(99,102,241,0.15);
    border-radius: var(--4w-radius-sm);
    padding: 10px 16px;
    margin-bottom: 24px;
    font-size: 13px;
    color: var(--4w-primary-dark);
    overflow: hidden;
    height: 38px;
}

/* ---------- 页脚 ---------- */
.footer-4w {
    text-align: center;
    padding: 24px 20px;
    color: var(--4w-text-muted);
    font-size: 13px;
}

.footer-4w a {
    color: var(--4w-text-muted);
    text-decoration: none;
    transition: color 0.2s;
}

.footer-4w a:hover {
    color: var(--4w-primary);
}

/* ---------- NProgress 颜色覆盖 ---------- */
#nprogress .bar {
    background: var(--4w-primary) !important;
}

#nprogress .peg {
    box-shadow: 0 0 10px var(--4w-primary), 0 0 5px var(--4w-primary) !important;
}

/* ---------- Messager 覆盖 ---------- */
.messager {
    border-radius: 12px !important;
}

/* ---------- 响应式 ---------- */
@media (max-width: 768px) {
    .navbar-4w {
        padding: 0 16px;
    }

    .navbar-4w .menu-toggle {
        display: block;
    }

    .navbar-4w .nav-links {
        display: none;
        position: absolute;
        top: 60px;
        left: 0;
        right: 0;
        flex-direction: column;
        background: rgba(255,255,255,0.95);
        backdrop-filter: blur(16px);
        padding: 12px;
        border-bottom: 1px solid var(--4w-border);
    }

    .navbar-4w .nav-links.open {
        display: flex;
    }

    .main-container {
        padding: 24px 12px 40px;
    }

    .hero h1 {
        font-size: 24px;
    }

    .upload-card {
        padding: 20px;
    }

    .stats-bar {
        flex-direction: column;
        gap: 10px;
    }

    .result-card .result-tabs {
        overflow-x: auto;
        padding: 0 8px;
    }
}

/* ---------- 动画 ---------- */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(16px); }
    to   { opacity: 1; transform: translateY(0); }
}

.upload-card,
.stats-bar,
.result-card {
    animation: fadeInUp 0.5s ease both;
}

.stats-bar { animation-delay: 0.1s; }
.result-card { animation-delay: 0.2s; }

/* ---------- 脉冲动画(拖拽态) ---------- */
@keyframes pulse-border {
    0%, 100% { border-color: var(--4w-primary); }
    50% { border-color: var(--4w-primary-light); }
}

/* ---------- 暗黑模式适配 ---------- */

/* ============================================
   广场页 (list.php) 样式
   ============================================ */

/* ---------- 页面容器 ---------- */
.gallery-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 24px 16px 60px;
}

/* ---------- 图片网格：CSS Grid 自适应 ---------- */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 12px;
    margin-bottom: 32px;
}

/* 卡片 */
.gallery-grid .card {
    border-radius: var(--4w-radius-sm);
    overflow: hidden;
    box-shadow: var(--4w-shadow);
    border: 1px solid var(--4w-border);
    background: var(--4w-surface);
    transition: box-shadow 0.25s, transform 0.25s;
    margin: 0;
    padding: 0;
}

.gallery-grid .card:hover {
    box-shadow: 0 6px 24px rgba(0,0,0,0.10);
    transform: translateY(-3px);
}

/* 图片容器 - 统一宽高比 */
.gallery-grid .card .img-wrap {
    position: relative;
    width: 100%;
    padding-top: 100%; /* 1:1 方形 */
    overflow: hidden;
    background: var(--4w-bg);
    cursor: pointer;
}

.gallery-grid .card .img-wrap img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s;
    cursor: pointer;
}

.gallery-grid .card:hover .img-wrap img {
    transform: scale(1.08);
}

/* 悬停操作栏 */
.gallery-grid .card .img-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 8px 6px;
    flex-wrap: wrap;
}

.gallery-grid .card .img-actions a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 8px;
    color: var(--4w-text-muted);
    font-size: 14px;
    transition: all 0.2s;
    text-decoration: none;
}

.gallery-grid .card .img-actions a:hover {
    background: var(--4w-bg);
    color: var(--4w-primary);
}

.gallery-grid .card .img-actions a.danger:hover {
    background: #fef2f2;
    color: #ef4444;
}

.gallery-grid .card .img-actions label {
    font-size: 12px;
    color: var(--4w-text-muted);
    margin: 0;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 3px;
}

/* ---------- 工具栏 ---------- */
.gallery-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    padding: 14px 18px;
    background: var(--4w-surface);
    border-radius: var(--4w-radius-sm);
    border: 1px solid var(--4w-border);
    box-shadow: var(--4w-shadow);
    margin-bottom: 24px;
}

.gallery-toolbar .tool-group {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}

.gallery-toolbar .pill {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
    text-decoration: none;
    border: 1px solid var(--4w-border);
    color: var(--4w-text-muted);
    background: transparent;
    transition: all 0.2s;
    white-space: nowrap;
}

.gallery-toolbar .pill:hover {
    border-color: var(--4w-primary-light);
    color: var(--4w-primary);
    background: rgba(99,102,241,0.04);
}

.gallery-toolbar .pill.active,
.gallery-toolbar .pill.primary {
    background: var(--4w-primary);
    color: #fff;
    border-color: var(--4w-primary);
}

.gallery-toolbar .pill.primary:hover {
    background: var(--4w-primary-dark);
}

.gallery-toolbar .pill .count {
    font-size: 11px;
    opacity: 0.7;
}

/* 日期选择器 */
.gallery-toolbar .date-picker-wrap {
    display: flex;
    align-items: center;
    gap: 6px;
}

.gallery-toolbar .date-picker-wrap input.form-date {
    width: 130px;
    height: 34px;
    padding: 6px 12px;
    border: 1px solid var(--4w-border);
    border-radius: 20px;
    font-size: 13px;
    color: var(--4w-text);
    background: var(--4w-bg);
    cursor: pointer;
    transition: border-color 0.2s;
    text-align: center;
}

.gallery-toolbar .date-picker-wrap input.form-date:focus {
    border-color: var(--4w-primary);
    outline: none;
    box-shadow: 0 0 0 3px rgba(99,102,241,0.1);
}

.gallery-toolbar .date-picker-wrap .btn-go {
    height: 34px;
    padding: 0 16px;
    border-radius: 20px;
    border: none;
    background: var(--4w-primary);
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}

.gallery-toolbar .date-picker-wrap .btn-go:hover {
    background: var(--4w-primary-dark);
}

/* 管理操作组 */
.gallery-toolbar .admin-actions .pill {
    font-size: 12px;
    padding: 5px 12px;
}

/* ---------- 无图片提示 ---------- */
.gallery-empty {
    text-align: center;
    padding: 80px 20px;
    color: var(--4w-text-muted);
}

.gallery-empty .empty-icon {
    font-size: 56px;
    margin-bottom: 16px;
    opacity: 0.4;
}

.gallery-empty p {
    font-size: 15px;
    margin: 0 0 8px;
}

/* ---------- 响应式 ---------- */
@media (max-width: 768px) {
    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 8px;
    }

    .gallery-toolbar {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
        padding: 12px;
    }

    .gallery-toolbar .tool-group {
        justify-content: center;
    }

    .gallery-toolbar .date-picker-wrap {
        justify-content: center;
    }
}

/* 覆盖 EasyImage.css 旧样式 */
.gallery-grid .card {
    box-shadow: var(--4w-shadow) !important;
    border-radius: var(--4w-radius-sm) !important;
}

.gallery-grid img {
    cursor: pointer;
    transition: transform 0.4s;
}

/* ============================================
   图片详情页 (info.php) 样式
   ============================================ */
.info-wrapper {
    max-width: 960px;
    margin: 0 auto;
    padding: 24px 16px 60px;
}

/* 主区域：图片 + 表格 */
.info-main {
    display: flex;
    gap: 24px;
    margin-bottom: 28px;
    background: var(--4w-surface);
    border-radius: var(--4w-radius);
    border: 1px solid var(--4w-border);
    box-shadow: var(--4w-shadow);
    overflow: hidden;
}

.info-main .info-img {
    flex: 0 0 420px;
    background: var(--4w-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 380px;
}

.info-main .info-img img {
    max-width: 100%;
    max-height: 450px;
    object-fit: contain;
    border-radius: 4px;
    cursor: pointer;
}

.info-main .info-meta {
    flex: 1;
    padding: 20px 20px 20px 0;
    overflow-x: auto;
}

.info-main .info-meta .meta-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
}

.info-main .info-meta .meta-table td {
    padding: 8px 12px;
    border-bottom: 1px solid var(--4w-border);
    vertical-align: middle;
}

.info-main .info-meta .meta-table td:first-child {
    color: var(--4w-text-muted);
    font-weight: 500;
    white-space: nowrap;
    width: 80px;
}

.info-main .info-meta .meta-table td:last-child {
    color: var(--4w-text);
    word-break: break-all;
}

.info-main .info-meta .meta-table .admin-row td:first-child {
    color: var(--4w-primary);
}

/* 操作按钮行 */
.info-main .info-actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    padding: 0 20px 16px;
}

.info-main .info-actions .btn-mini {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 6px 14px;
    border-radius: 18px;
    font-size: 12px;
    font-weight: 500;
    text-decoration: none;
    border: 1px solid var(--4w-border);
    background: transparent;
    color: var(--4w-text-muted);
    cursor: pointer;
    transition: all 0.2s;
}

.info-main .info-actions .btn-mini:hover {
    border-color: var(--4w-primary-light);
    color: var(--4w-primary);
    background: rgba(99,102,241,0.04);
}

.info-main .info-actions .btn-mini.btn-danger:hover {
    border-color: #ef4444;
    color: #ef4444;
    background: #fef2f2;
}

.info-main .info-meta .meta-note {
    margin-top: 12px;
    font-size: 12px;
    color: var(--4w-text-muted);
    line-height: 1.6;
    padding: 0 12px;
}

/* 链接复制区 */
.info-links {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 28px;
}

.info-links .link-row {
    display: flex;
    align-items: center;
    gap: 0;
    background: var(--4w-surface);
    border: 1px solid var(--4w-border);
    border-radius: var(--4w-radius-sm);
    overflow: hidden;
}

.info-links .link-row .link-label {
    flex-shrink: 0;
    padding: 10px 14px;
    font-size: 12px;
    font-weight: 600;
    color: var(--4w-text-muted);
    background: var(--4w-bg);
    border-right: 1px solid var(--4w-border);
    white-space: nowrap;
}

.info-links .link-row input {
    flex: 1;
    border: none;
    padding: 10px 12px;
    font-size: 13px;
    color: var(--4w-text);
    background: transparent;
    min-width: 0;
}

.info-links .link-row input:focus {
    outline: none;
}

.info-links .link-row .copy-btn {
    flex-shrink: 0;
    padding: 10px 16px;
    border: none;
    background: var(--4w-primary);
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}

.info-links .link-row .copy-btn:hover {
    background: var(--4w-primary-dark);
}

/* 随机图片区 */
.info-rand {
    margin-top: 4px;
}

/* 底部广告容器 */
.info-ad-bottom {
    margin-bottom: 28px;
    padding: 16px;
    background: var(--4w-surface);
    border-radius: var(--4w-radius-sm);
    border: 1px solid var(--4w-border);
    box-shadow: var(--4w-shadow);
}

.info-rand .info-section-title {
    font-size: 15px;
    font-weight: 700;
    color: var(--4w-text);
    margin-bottom: 14px;
    padding-left: 4px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.info-rand .info-section-title i {
    color: var(--4w-primary);
}

.info-rand .rand-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 12px;
}

.info-rand .rand-card {
    display: flex;
    flex-direction: column;
    border-radius: var(--4w-radius-sm);
    overflow: hidden;
    border: 1px solid var(--4w-border);
    background: var(--4w-surface);
    text-decoration: none;
    box-shadow: var(--4w-shadow);
    transition: box-shadow 0.25s, transform 0.25s;
}

.info-rand .rand-card:hover {
    box-shadow: 0 6px 24px rgba(0,0,0,0.10);
    transform: translateY(-3px);
}

.info-rand .rand-img-wrap {
    position: relative;
    width: 100%;
    padding-top: 100%;
    overflow: hidden;
    background: var(--4w-bg);
}

.info-rand .rand-img-wrap img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s;
}

.info-rand .rand-card:hover .rand-img-wrap img {
    transform: scale(1.08);
}

.info-rand .rand-name {
    padding: 8px 10px;
    font-size: 12px;
    color: var(--4w-text-muted);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    background: var(--4w-surface);
    border-top: 1px solid var(--4w-border);
}

@media (max-width: 768px) {
    .info-main {
        flex-direction: column;
        gap: 0;
    }

    .info-main .info-img {
        flex: none;
        min-height: 240px;
    }

    .info-main .info-meta {
        padding: 16px;
    }

    .info-links {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .info-rand .rand-grid {
        grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
    }
}
