:root {
    --bg: #06101f;
    --bg-deep: #0a1830;
    --panel: rgba(10, 19, 35, 0.82);
    --panel-soft: rgba(17, 28, 48, 0.72);
    --panel-bright: rgba(27, 41, 68, 0.92);
    --ink: #f5f1e8;
    --muted: #c3cad8;
    --muted-deep: #93a0ba;
    --line: rgba(227, 195, 124, 0.22);
    --line-strong: rgba(227, 195, 124, 0.42);
    --gold: #efc777;
    --gold-bright: #ffdf9f;
    --blue: #86b8ff;
    --green: #91ddb2;
    --orange: #f6ba76;
    --red: #ff8a8a;
    --shadow: 0 24px 80px rgba(0, 0, 0, 0.35);
    --font-body: "Microsoft YaHei", "PingFang SC", "Segoe UI", sans-serif;
    --font-display: "STZhongsong", "Songti SC", "Noto Serif SC", serif;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;
    color: var(--ink);
    font-family: var(--font-body);
    background:
        radial-gradient(circle at top, rgba(71, 111, 186, 0.28), transparent 32%),
        radial-gradient(circle at 85% 10%, rgba(244, 193, 91, 0.18), transparent 22%),
        linear-gradient(180deg, #081221 0%, #07101d 45%, #050b15 100%);
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    background-image:
        radial-gradient(circle at 10% 20%, rgba(255, 255, 255, 0.08) 0 1px, transparent 1px),
        radial-gradient(circle at 35% 70%, rgba(255, 255, 255, 0.06) 0 1px, transparent 1px),
        radial-gradient(circle at 70% 25%, rgba(255, 255, 255, 0.08) 0 1px, transparent 1px),
        radial-gradient(circle at 82% 68%, rgba(255, 255, 255, 0.06) 0 1px, transparent 1px);
    background-size: 220px 220px;
    pointer-events: none;
    opacity: 0.65;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
select,
textarea {
    font: inherit;
}

button {
    cursor: pointer;
}

input,
select,
textarea {
    width: 100%;
    padding: 12px 14px;
    border-radius: 16px;
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.05);
    color: var(--ink);
    outline: none;
    transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

input::placeholder,
textarea::placeholder {
    color: rgba(229, 233, 242, 0.45);
}

input:focus,
select:focus,
textarea:focus,
button:focus-visible,
a:focus-visible {
    border-color: var(--line-strong);
    box-shadow: 0 0 0 4px rgba(221, 190, 120, 0.1);
}

textarea {
    resize: vertical;
    min-height: 92px;
}

.sky-glow {
    position: fixed;
    inset: 0;
    background:
        radial-gradient(circle at 20% 0%, rgba(128, 169, 255, 0.14), transparent 30%),
        radial-gradient(circle at 100% 30%, rgba(242, 194, 94, 0.14), transparent 30%);
    pointer-events: none;
}

.page-shell {
    position: relative;
    width: min(1080px, calc(100% - 40px));
    margin: 0 auto;
    padding: 20px 0 40px;
}

.site-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 24px;
    padding: 6px 0 20px;
}

.brand-block {
    display: block;
    max-width: 760px;
}

.brand-kicker {
    display: inline-block;
    margin-bottom: 10px;
    color: var(--gold);
    font-size: 0.82rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

.brand-block h1 {
    margin: 0;
    font-family: var(--font-display);
    font-size: clamp(1.9rem, 3.2vw, 3.1rem);
    line-height: 1.08;
    letter-spacing: 0.02em;
}

.brand-block p {
    margin: 12px 0 0;
    max-width: 560px;
    color: var(--muted);
    font-size: 0.98rem;
    line-height: 1.7;
}

.header-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
    justify-content: flex-end;
}

.mode-pill,
.ghost-link,
.action-pill,
.tag-chip,
.mini-chip,
.status-pill,
.date-pill,
.primary-button,
.soft-button,
.danger-button,
.tab-button {
    border-radius: 999px;
}

.mode-pill,
.ghost-link,
.soft-button,
.tag-chip,
.tab-button {
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.04);
    color: var(--ink);
}

.mode-pill,
.ghost-link {
    padding: 10px 14px;
    font-size: 0.84rem;
}

.ghost-link {
    transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}

.ghost-link:hover {
    transform: translateY(-1px);
    border-color: var(--line-strong);
    background: rgba(255, 255, 255, 0.08);
}

.notice-stage,
.filter-stage,
.catalog-stage,
.admin-card {
    position: relative;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 24px;
    background: linear-gradient(180deg, rgba(15, 26, 48, 0.94), rgba(10, 17, 31, 0.88));
    box-shadow: var(--shadow);
    backdrop-filter: blur(18px);
}

.notice-stage::before,
.filter-stage::before,
.catalog-stage::before,
.admin-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at top right, rgba(245, 206, 130, 0.14), transparent 25%),
        linear-gradient(135deg, rgba(255, 255, 255, 0.02), transparent 55%);
    pointer-events: none;
}

.notice-stage {
    display: grid;
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 26px;
}

.section-eyebrow {
    margin: 0 0 12px;
    color: var(--gold);
    font-size: 0.84rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.notice-copy h2,
.filter-head h2,
.catalog-head h2,
.dashboard-bar h2,
.panel-head h3,
.login-card h2,
.empty-state-panel h3,
.admin-list-empty h3 {
    margin: 0;
    font-family: var(--font-display);
    line-height: 1.22;
    letter-spacing: 0.01em;
}

.notice-copy h2 {
    font-size: clamp(1.55rem, 2.7vw, 2.35rem);
}

.notice-text,
.notice-note,
.game-summary,
.game-description,
.admin-muted,
.admin-game-copy p,
.empty-state-panel p,
.admin-list-empty p {
    line-height: 1.8;
}

.notice-text {
    margin: 16px 0 0;
    color: var(--ink);
    font-size: 0.98rem;
}

.notice-note {
    margin: 12px 0 0;
    color: var(--muted);
    font-size: 0.94rem;
}

.notice-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 24px;
}

.action-pill,
.primary-button,
.soft-button,
.danger-button,
.tab-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 11px 16px;
    font-weight: 600;
    transition: transform 0.25s ease, background 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.action-pill {
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.05);
}

.action-pill:hover {
    transform: translateY(-1px);
    border-color: var(--line-strong);
}

.action-pill-muted,
.soft-button-muted {
    opacity: 0.55;
    pointer-events: none;
}

.notice-side {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.signal-card {
    padding: 16px 18px;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: linear-gradient(180deg, rgba(31, 46, 74, 0.96), rgba(16, 27, 46, 0.94));
}

.signal-label {
    display: block;
    color: var(--muted-deep);
    font-size: 0.8rem;
    margin-bottom: 8px;
}

.signal-card strong {
    font-family: var(--font-display);
    font-size: clamp(1.4rem, 2vw, 1.9rem);
    color: var(--gold-bright);
}

.notice-highlights {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin-top: 28px;
}

.highlight-card {
    padding: 20px 18px;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: linear-gradient(180deg, rgba(31, 46, 74, 0.72), rgba(16, 27, 46, 0.64));
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.highlight-card:hover {
    transform: translateY(-2px);
    border-color: var(--line-strong);
}

.highlight-icon {
    display: block;
    font-size: 1.6rem;
    margin-bottom: 10px;
}

.highlight-card strong {
    display: block;
    font-size: 1.05rem;
    color: var(--gold-bright);
    margin-bottom: 8px;
}

.highlight-card p {
    margin: 0;
    color: var(--muted);
    font-size: 0.9rem;
    line-height: 1.7;
}

.notice-resources {
    margin-top: 28px;
    padding-top: 24px;
    border-top: 1px solid var(--line);
}

.resource-title {
    margin: 0 0 16px;
    color: var(--gold);
    font-size: 0.84rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.resource-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-bottom: 18px;
}

.resource-item {
    padding: 16px 18px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.03);
}

.resource-label {
    display: block;
    color: var(--muted-deep);
    font-size: 0.8rem;
    margin-bottom: 6px;
    letter-spacing: 0.06em;
}

.resource-item strong {
    display: block;
    font-family: var(--font-display);
    font-size: 1.25rem;
    color: var(--gold-bright);
    margin-bottom: 4px;
    user-select: all;
}

.resource-note {
    display: block;
    color: var(--muted);
    font-size: 0.82rem;
}

.resource-links {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 16px;
}

.resource-api-url {
    margin: 0;
    color: var(--muted);
    font-size: 0.9rem;
}

.resource-api-url code {
    display: inline-block;
    padding: 4px 10px;
    margin-left: 4px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--blue);
    font-family: 'Consolas', 'Monaco', monospace;
    font-size: 0.88rem;
    user-select: all;
}

.qq-group-row {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 24px;
}

.qq-group-item {
    color: var(--muted);
    font-size: 0.92rem;
    line-height: 1.8;
}

.qq-group-item strong {
    color: var(--gold-bright);
    font-family: var(--font-display);
    user-select: all;
}

.filter-stage,
.catalog-stage,
.admin-card {
    margin-top: 18px;
    padding: 24px;
}

.filter-head,
.catalog-head,
.dashboard-bar,
.panel-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 20px;
}

.filter-head h2,
.catalog-head h2,
.dashboard-bar h2 {
    font-size: clamp(1.3rem, 2.1vw, 1.9rem);
}

.filter-stage {
    margin-top: 12px;
    padding: 8px 2px 2px;
    border: none;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    backdrop-filter: none;
}

.filter-stage::before {
    display: none;
}

.filter-strip {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 38px;
}

.filter-caption {
    display: none;
}

.filter-caption .section-eyebrow {
    margin: 0;
}

.filter-tip {
    margin: 0;
    color: var(--muted-deep);
    font-size: 0.88rem;
}

.filter-mainline {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
    flex: 1 1 auto;
}

.search-inline {
    flex: 0 0 auto;
}

.search-inline input,
.search-inline select {
    height: 36px;
    padding-top: 0;
    padding-bottom: 0;
    border-radius: 999px;
    font-size: 0.86rem;
    background: rgba(255, 255, 255, 0.04);
}

.search-inline-input {
    width: 220px;
}

.search-inline-status {
    width: 122px;
}

.filter-clear {
    flex: 0 0 auto;
    padding: 7px 12px;
    min-height: 36px;
    font-size: 0.85rem;
}

.tag-rail,
.tag-list,
.admin-mini-tags,
.checkbox-row,
.inline-actions,
.dashboard-actions,
.tab-switcher,
.action-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.tag-rail {
    margin-top: 0;
    min-width: 0;
    display: flex;
    flex: 1 1 auto;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    padding: 2px;
}

.tag-rail::-webkit-scrollbar {
    display: none;
}

.tag-chip {
    padding: 7px 11px;
    color: var(--muted);
    font-size: 0.8rem;
    white-space: nowrap;
}

.tag-chip:hover,
.tag-chip.active,
.tab-button.active {
    transform: translateY(-1px);
    color: var(--ink);
    border-color: var(--line-strong);
    background: rgba(239, 199, 119, 0.14);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.16);
}

.catalog-head {
    margin-bottom: 18px;
}

.results-meta {
    margin: 0;
    color: var(--muted);
    font-size: 0.95rem;
}

.games-stack {
    display: grid;
    gap: 18px;
}

.game-panel {
    display: grid;
    grid-template-columns: minmax(180px, 220px) minmax(0, 1fr);
    gap: 18px;
    padding: 18px;
    border-radius: 22px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background:
        linear-gradient(160deg, rgba(40, 58, 95, 0.32), rgba(13, 21, 38, 0.4)),
        rgba(7, 15, 28, 0.72);
}

.cover-shell {
    display: block;
    aspect-ratio: 3 / 4;
    overflow: hidden;
    border-radius: 18px;
    border: 1px solid var(--line);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.22);
    background: rgba(255, 255, 255, 0.03);
}

.cover-shell img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.55s ease;
}

.cover-shell:hover img {
    transform: scale(1.04);
}

.cover-shell-static {
    cursor: default;
}

.game-info-col {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.game-topline {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.status-pill,
.date-pill,
.mini-chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 6px 10px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 0.78rem;
}

.status-pill {
    font-weight: 700;
}

.status-live {
    color: #d7f2df;
    background: rgba(101, 186, 133, 0.18);
}

.status-building {
    color: #ffe6c5;
    background: rgba(245, 167, 82, 0.18);
}

.status-planning {
    color: #d7e4ff;
    background: rgba(95, 130, 210, 0.18);
}

.status-maintenance {
    color: #ffd7d7;
    background: rgba(210, 95, 95, 0.18);
}

.status-featured {
    color: #fff0c5;
    background: rgba(239, 199, 119, 0.16);
}

.date-pill,
.mini-chip {
    color: var(--muted);
    background: rgba(255, 255, 255, 0.04);
}

.game-title-row h3 {
    margin: 0;
    font-size: clamp(1.4rem, 2.2vw, 2rem);
    font-family: var(--font-display);
}

.game-subtitle {
    margin: 6px 0 0;
    color: var(--muted);
    font-size: 0.94rem;
}

.tag-list,
.admin-mini-tags {
    gap: 8px;
}

.mini-chip {
    padding: 7px 12px;
    color: var(--muted);
}

.game-summary {
    margin: 0;
    color: var(--ink);
    font-size: 0.98rem;
}

.game-description {
    margin: 0;
    color: var(--muted);
    font-size: 0.94rem;
}

.progress-row {
    margin-top: 4px;
}

.progress-head {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    color: var(--muted);
    margin-bottom: 8px;
    font-size: 0.86rem;
}

.progress-track {
    height: 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    overflow: hidden;
}

.progress-fill {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, #9ac9ff, #f6cf85);
    box-shadow: 0 0 24px rgba(240, 199, 119, 0.25);
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.info-cell {
    padding: 12px 14px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.03);
}

.info-cell span {
    display: block;
    margin-bottom: 6px;
    color: var(--muted-deep);
    font-size: 0.74rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.info-cell strong {
    line-height: 1.6;
    font-size: 0.92rem;
}

.primary-button {
    border: none;
    background: linear-gradient(135deg, #f0c778, #c79648);
    color: #231808;
    box-shadow: 0 14px 26px rgba(199, 150, 72, 0.24);
}

.soft-button {
    color: var(--ink);
}

.soft-button:hover,
.danger-button:hover,
.primary-button:hover,
.tab-button:hover {
    transform: translateY(-1px);
}

.soft-button:hover,
.tab-button:hover {
    border-color: var(--line-strong);
    background: rgba(255, 255, 255, 0.08);
}

.danger-button {
    border: 1px solid rgba(255, 141, 141, 0.34);
    background: rgba(181, 71, 71, 0.16);
    color: #ffd4d4;
}

.danger-button-small {
    padding: 10px 16px;
}

.empty-state-panel {
    padding: 36px;
    text-align: center;
    border-radius: 26px;
    border: 1px dashed rgba(255, 255, 255, 0.18);
    background: rgba(255, 255, 255, 0.03);
}

.site-footer {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding: 20px 4px 6px;
    color: var(--muted-deep);
    font-size: 0.92rem;
}

.site-footer p {
    margin: 0;
}

.admin-gate {
    padding-top: 24px;
}

.login-card {
    max-width: 540px;
    margin: 0 auto;
}

.admin-dashboard[hidden],
.admin-gate[hidden] {
    display: none;
}

.admin-form {
    display: grid;
    gap: 18px;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.form-field {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.form-field-full {
    grid-column: 1 / -1;
}

.form-field > span {
    color: var(--muted-deep);
    font-size: 0.86rem;
}

.dashboard-bar {
    padding: 2px 4px 16px;
}

.tab-switcher {
    margin-bottom: 16px;
}

.tab-button {
    padding: 10px 16px;
    color: var(--muted);
}

.tab-panel {
    display: none;
}

.tab-panel.active {
    display: block;
}

.panel-head {
    margin-bottom: 14px;
}

.panel-head h3 {
    font-size: clamp(1.35rem, 2vw, 1.8rem);
}

.inline-actions,
.dashboard-actions {
    justify-content: flex-end;
}

.admin-muted {
    margin: 0;
    color: var(--muted);
}

.admin-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.86fr);
    gap: 16px;
}

.game-list-card {
    align-self: start;
}

.admin-games-list {
    display: grid;
    gap: 12px;
    max-height: 1100px;
    overflow: auto;
    padding-right: 4px;
}

.admin-game-item {
    display: grid;
    grid-template-columns: 88px 1fr;
    gap: 12px;
    padding: 12px;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.03);
}

.admin-game-item img {
    width: 88px;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    border-radius: 14px;
}

.admin-game-copy {
    display: grid;
    gap: 10px;
}

.admin-game-top {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    align-items: center;
}

.admin-game-top strong {
    font-size: 1.05rem;
}

.admin-game-top span {
    color: var(--muted-deep);
    font-size: 0.82rem;
}

.admin-game-copy p {
    margin: 0;
    color: var(--muted);
}

.admin-mini-tags span,
.checkbox-field {
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.03);
}

.admin-mini-tags span {
    display: inline-flex;
    align-items: center;
    padding: 7px 12px;
    border-radius: 999px;
    color: var(--muted);
    font-size: 0.84rem;
}

.admin-item-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.checkbox-row {
    gap: 16px;
}

.checkbox-field {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
    border-radius: 18px;
}

.checkbox-field input {
    width: 18px;
    height: 18px;
    accent-color: var(--gold);
}

.admin-list-empty {
    padding: 14px 0;
}

.admin-list-empty h3,
.admin-list-empty p {
    margin: 0;
}

.toast {
    position: fixed;
    left: 50%;
    bottom: 24px;
    transform: translate(-50%, 18px);
    opacity: 0;
    pointer-events: none;
    z-index: 40;
    padding: 14px 18px;
    border-radius: 999px;
    border: 1px solid var(--line);
    background: rgba(10, 19, 35, 0.96);
    box-shadow: var(--shadow);
    color: var(--ink);
    transition: opacity 0.25s ease, transform 0.25s ease;
}

.toast.show {
    opacity: 1;
    transform: translate(-50%, 0);
}

@media (max-width: 980px) {
    .site-header,
    .notice-stage,
    .dashboard-bar,
    .catalog-head,
    .panel-head,
    .site-footer,
    .admin-grid {
        grid-template-columns: 1fr;
        flex-direction: column;
        align-items: stretch;
    }

    .header-actions,
    .dashboard-actions,
    .inline-actions {
        justify-content: flex-start;
    }

    .notice-stage,
    .notice-side,
    .notice-highlights,
    .resource-grid,
    .game-panel,
    .form-grid,
    .info-grid,
    .admin-grid {
        grid-template-columns: 1fr;
    }

    .filter-strip {
        flex-direction: column;
        align-items: stretch;
        min-height: 0;
    }

    .filter-caption {
        display: none;
    }

    .filter-mainline {
        flex-wrap: wrap;
    }

    .tag-rail {
        flex: 1 1 100%;
    }

    .site-footer {
        gap: 8px;
    }
}

@media (max-width: 640px) {
    .page-shell {
        width: min(1080px, calc(100% - 18px));
        padding-top: 16px;
    }

    .notice-stage,
    .filter-stage,
    .catalog-stage,
    .admin-card {
        padding: 18px;
        border-radius: 20px;
    }

    .brand-block h1 {
        font-size: 1.74rem;
    }

    .game-panel {
        padding: 16px;
    }

    .filter-stage {
        padding: 8px 0 2px;
    }

    .search-inline-input,
    .search-inline-status,
    .filter-clear {
        width: 100%;
    }

    .action-row > *,
    .inline-actions > *,
    .dashboard-actions > * {
        flex: 1 1 100%;
    }

    .admin-game-item {
        grid-template-columns: 1fr;
    }

    .admin-game-item img {
        width: 100%;
    }
}

/* ── Download group ── */
.download-group {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px dashed rgba(255, 255, 255, 0.08);
}

.download-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.password-hint {
    font-size: 0.78rem;
    color: var(--muted-deep);
    user-select: none;
    letter-spacing: 0.5px;
}

.password-hint code {
    background: rgba(255, 255, 255, 0.06);
    padding: 2px 7px;
    border-radius: 4px;
    user-select: all;
    color: var(--gold-bright);
    font-family: monospace;
    margin-left: 2px;
}

/* ── Card tip ── */
.card-tip {
    margin: 10px 0 0;
    padding: 8px 14px;
    font-size: 0.84rem;
    color: var(--muted);
    background: rgba(239, 199, 119, 0.06);
    border-left: 3px solid var(--gold);
    border-radius: 0 8px 8px 0;
    line-height: 1.6;
}
