:root {
    /* 班章天堂：墨黑 · 金箔 · 紫能 · 硃印 */
    --ink: #07060b;
    --ink-2: #100e16;
    --ink-3: #18141f;
    --paper: #f3ebe0;
    --muted: #9b9288;
    --line: rgba(243, 235, 224, 0.12);
    --gold: #d8b45c;
    --gold-soft: #f0d9a0;
    --violet: #9b3dff;
    --violet-soft: #c084fc;
    --magenta: #e040a8;
    --seal: #c41e3a;
    --ok: #3ecf8e;
    --warn: #e0a03a;
    --bad: #e84860;
    --font-ui: 'Instrument Sans', 'Microsoft JhengHei', sans-serif;
    --font-brand: 'Noto Serif TC', 'Microsoft JhengHei', serif;
    --header-h: 72px;
    --ease: cubic-bezier(0.22, 1, 0.36, 1);
    --max: 1320px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

html, body {
    min-height: 100%;
    background: var(--ink);
    color: var(--paper);
    font-family: var(--font-ui);
    line-height: 1.6;
    overflow-x: hidden;
}

a { color: inherit; }

img { max-width: 100%; display: block; }

/* ===== Atmosphere + site background ===== */
.atmosphere {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}

.atmosphere-photo {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;
    filter: saturate(0.86) brightness(0.55) contrast(1.05);
}

.has-site-bg .atmosphere-photo {
    opacity: 1;
}

.atmosphere-wash {
    position: absolute;
    inset: 0;
    /* 中段加暗，避免背景亮帶被看成分割線 */
    background:
        linear-gradient(180deg,
            rgba(7, 6, 11, 0.4) 0%,
            rgba(7, 6, 11, 0.22) 22%,
            rgba(7, 6, 11, 0.48) 46%,
            rgba(7, 6, 11, 0.62) 58%,
            rgba(7, 6, 11, 0.78) 78%,
            rgba(7, 6, 11, 0.92) 100%),
        linear-gradient(105deg, rgba(7, 6, 11, 0.55) 0%, rgba(7, 6, 11, 0.18) 50%, rgba(7, 6, 11, 0.42) 100%);
}

.has-site-bg .atmosphere-wash {
    background:
        linear-gradient(180deg,
            rgba(7, 6, 11, 0.34) 0%,
            rgba(7, 6, 11, 0.16) 20%,
            rgba(7, 6, 11, 0.4) 42%,
            rgba(7, 6, 11, 0.58) 56%,
            rgba(7, 6, 11, 0.74) 74%,
            rgba(7, 6, 11, 0.9) 100%),
        linear-gradient(105deg, rgba(7, 6, 11, 0.5) 0%, rgba(7, 6, 11, 0.14) 50%, rgba(7, 6, 11, 0.38) 100%);
}

.page-inner.has-site-bg .atmosphere-photo {
    filter: saturate(0.8) brightness(0.42);
}

.page-inner.has-site-bg .atmosphere-wash {
    background:
        linear-gradient(180deg, rgba(7, 6, 11, 0.62) 0%, rgba(7, 6, 11, 0.7) 100%),
        linear-gradient(90deg, rgba(7, 6, 11, 0.45), rgba(7, 6, 11, 0.28));
}

/* ===== Header ===== */
.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(7, 6, 11, 0.92);
    border-bottom: 1px solid var(--line);
}

.header-bar {
    max-width: calc(var(--max) + 80px);
    margin: 0 auto;
    padding: 0 24px;
    min-height: var(--header-h);
    display: flex;
    align-items: center;
    gap: 24px;
}

.brand-mark {
    display: flex;
    align-items: center;
    text-decoration: none;
    flex-shrink: 0;
    min-width: 0;
}

.brand-mark-logo {
    height: 48px;
    width: auto;
    max-width: min(220px, 42vw);
    object-fit: contain;
    filter: drop-shadow(0 0 12px rgba(216, 180, 92, 0.35));
}

.brand-mark-text {
    display: none;
}

.brand-name {
    font-family: var(--font-brand);
    font-weight: 900;
    font-size: 18px;
    letter-spacing: 0.18em;
    color: var(--gold-soft);
    white-space: nowrap;
}

.brand-sub {
    font-size: 10px;
    letter-spacing: 0.12em;
    color: var(--muted);
    text-transform: uppercase;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 220px;
}

.header-nav {
    display: none;
}

.header-marquee {
    flex: 1;
    min-width: 0;
    margin: 0 8px;
}

.header-marquee-viewport {
    overflow: hidden;
    mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.header-marquee-track {
    display: flex;
    width: max-content;
    animation: marquee-scroll 36s linear infinite;
}

.header-marquee:hover .header-marquee-track {
    animation-play-state: paused;
}

.header-marquee-group {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.header-marquee-item {
    padding: 0 18px;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.06em;
    color: var(--paper);
    white-space: nowrap;
}

.header-marquee-sep {
    color: rgba(216, 180, 92, 0.55);
    font-size: 10px;
    flex-shrink: 0;
}

@keyframes marquee-scroll {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
    .header-marquee-track {
        animation: none;
    }

    .header-marquee-viewport {
        mask-image: none;
        -webkit-mask-image: none;
    }

    .header-marquee-track {
        width: 100%;
        justify-content: center;
    }

    .header-marquee-group[aria-hidden="true"] {
        display: none;
    }

    .header-marquee-item {
        padding: 0 10px;
    }
}

.nav-drawer-head,
.nav-close {
    display: none;
}

/* 桌面：狀態只顯示在右側 CTA 旁 */
.header-nav .nav-status {
    display: none !important;
}

.nav-item {
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.04em;
    color: var(--muted);
    padding: 8px 12px;
    border-radius: 999px;
    transition: color 0.2s, background 0.2s;
    white-space: nowrap;
}

.nav-item:hover,
.nav-item.is-active {
    color: var(--paper);
    background: rgba(155, 61, 255, 0.12);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
    margin-left: auto;
}

.header-status {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 12px;
    border: 1px solid rgba(74, 222, 128, 0.22);
    border-radius: 999px;
    background: rgba(74, 222, 128, 0.06);
    white-space: nowrap;
}

.header-status.offline {
    border-color: rgba(248, 113, 113, 0.28);
    background: rgba(248, 113, 113, 0.08);
}

.header-status.maintenance {
    border-color: rgba(251, 191, 36, 0.28);
    background: rgba(251, 191, 36, 0.08);
}

.header-status-text {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.04em;
}

.header-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 18px;
    background: linear-gradient(135deg, var(--gold-soft), var(--gold));
    color: #1a1208;
    text-decoration: none;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.06em;
    border-radius: 999px;
    transition: transform 0.2s var(--ease), box-shadow 0.2s;
    box-shadow: 0 0 24px rgba(216, 180, 92, 0.25);
}

.header-cta:hover {
    transform: translateY(-1px);
    box-shadow: 0 0 32px rgba(155, 61, 255, 0.3);
}

.nav-toggle {
    display: none;
    width: 42px;
    height: 42px;
    border: 1px solid var(--line);
    background: transparent;
    border-radius: 10px;
    cursor: pointer;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.nav-toggle span {
    display: block;
    width: 18px;
    height: 1.5px;
    background: var(--paper);
}

.nav-overlay {
    position: fixed;
    inset: 0;
    z-index: 60;
    background: rgba(0, 0, 0, 0.65);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: 0.25s;
}

body.nav-open .nav-overlay {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.server-status {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--ok);
    font-size: 12px;
    font-weight: 600;
}

.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--ok);
    box-shadow: 0 0 8px var(--ok);
    animation: pulse 2s ease infinite;
}

.server-status.offline { color: var(--bad); }
.server-status.offline .status-dot {
    background: var(--bad);
    box-shadow: 0 0 8px var(--bad);
}

.server-status.maintenance { color: var(--warn); }
.server-status.maintenance .status-dot {
    background: var(--warn);
    box-shadow: 0 0 8px var(--warn);
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.45; }
}

/* ===== Hero ===== */
.hero {
    position: relative;
    z-index: 1;
    min-height: 520px;
    display: flex;
    align-items: center;
    padding: 40px 28px 56px;
    overflow: visible;
    border: none;
    box-shadow: none;
    outline: none;
}

/* 僅輕量遮罩，不在底部製造邊緣線 */
.hero-veil {
    position: absolute;
    inset: 0;
    background: linear-gradient(105deg, rgba(7, 6, 11, 0.45) 0%, rgba(7, 6, 11, 0.12) 55%, rgba(7, 6, 11, 0.22) 100%);
    z-index: 1;
    pointer-events: none;
}

.band-entries {
    position: relative;
    z-index: 1;
    padding-top: 12px;
    margin-top: 0;
    border: none;
    border-top: none;
    box-shadow: none;
    outline: none;
    background: transparent;
}

.hero-stage {
    position: relative;
    z-index: 2;
    width: min(100%, 760px);
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.hero-copy {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.visually-hidden {
    position: absolute !important;
    width: 1px; height: 1px;
    padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0,0,0,0);
    white-space: nowrap; border: 0;
}

.hero-logo-mark {
    display: block;
    width: min(100%, 480px);
    height: auto;
    margin: 0 auto 18px;
    filter: drop-shadow(0 0 24px rgba(216, 180, 92, 0.35));
}

.hero-brand {
    font-family: var(--font-brand);
    font-size: clamp(56px, 10vw, 104px);
    font-weight: 900;
    line-height: 1.02;
    letter-spacing: 0.12em;
    color: var(--gold-soft);
    text-shadow: 0 0 40px rgba(216, 180, 92, 0.25);
    margin-bottom: 18px;
    text-align: center;
}

.hero-lead {
    font-size: clamp(15px, 2vw, 18px);
    letter-spacing: 0.14em;
    color: var(--paper);
    margin: 0 auto 14px;
    text-align: center;
}

.hero-note {
    max-width: 36em;
    width: 100%;
    color: var(--muted);
    font-size: 15px;
    line-height: 1.85;
    margin: 0 auto 28px;
    text-align: center;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    align-items: center;
}

.btn-primary,
.btn-ghost {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 24px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.08em;
    border-radius: 999px;
    transition: 0.25s var(--ease);
}

.btn-primary {
    background: linear-gradient(135deg, #f2dfa8, var(--gold));
    color: #1a1208;
    box-shadow: 0 10px 30px rgba(216, 180, 92, 0.28);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 36px rgba(155, 61, 255, 0.28);
}

.btn-ghost {
    border: 1px solid rgba(243, 235, 224, 0.22);
    color: var(--paper);
    background: rgba(255, 255, 255, 0.03);
}

.btn-ghost:hover {
    border-color: rgba(155, 61, 255, 0.55);
    background: rgba(155, 61, 255, 0.1);
}

.hero-aside {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
}

.pulse-board {
    width: 100%;
    border: 1px solid rgba(243, 235, 224, 0.08);
    background: rgba(10, 8, 16, 0.78);
    padding: 18px 20px;
    border-radius: 2px;
}

.pulse-label {
    display: inline-block;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.24em;
    color: #fff;
    background: var(--seal);
    padding: 3px 8px;
    margin-bottom: 12px;
}

.pulse-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.pulse-list li {
    font-size: 13px;
    color: var(--muted);
    padding-left: 12px;
    border-left: 2px solid rgba(155, 61, 255, 0.45);
    line-height: 1.5;
}

/* ===== Sections ===== */
.band {
    position: relative;
    z-index: 1;
    width: min(100%, var(--max));
    margin: 0 auto;
    padding: 40px 28px 48px;
}

.band-entries .band-head {
    margin-bottom: 18px;
}

.content-page,
.site-footer {
    position: relative;
    z-index: 1;
}

.guide-main,
.guide-sidebar,
.article-view,
.pulse-board {
    background: rgba(10, 8, 16, 0.72);
}

.hero-kicker {
    display: inline-block;
    font-size: 11px;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: var(--gold-soft);
    margin: 0 auto 14px;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(216, 180, 92, 0.35);
    text-align: center;
}

.band-head {
    margin-bottom: 22px;
}

.band-head-row {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
}

.band-count {
    font-size: 11px;
    letter-spacing: 0.2em;
    color: var(--muted);
    padding-bottom: 8px;
    white-space: nowrap;
}

.band-head h2 {
    font-family: var(--font-brand);
    font-size: clamp(24px, 3vw, 32px);
    font-weight: 700;
    letter-spacing: 0.14em;
    color: var(--gold-soft);
    margin-bottom: 6px;
}

.band-head p {
    color: var(--muted);
    font-size: 14px;
    letter-spacing: 0.06em;
}

/* PC 入口：五欄緊湊磁貼 */
.entry-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 12px;
}

.entry-tile {
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-height: 128px;
    padding: 18px 16px;
    text-decoration: none;
    border: 1px solid var(--line);
    background: rgba(10, 8, 16, 0.72);
    transition: border-color 0.2s, background 0.2s, transform 0.2s;
}

.entry-tile:hover {
    border-color: rgba(216, 180, 92, 0.55);
    background: rgba(22, 16, 28, 0.88);
    transform: translateY(-2px);
}

.entry-tile.is-accent {
    border-color: rgba(216, 180, 92, 0.4);
    background: linear-gradient(180deg, rgba(216, 180, 92, 0.12), rgba(10, 8, 16, 0.8));
}

.entry-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 2px;
}

.entry-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: rgba(216, 180, 92, 0.1);
    border: 1px solid rgba(216, 180, 92, 0.28);
    color: var(--gold-soft);
    flex-shrink: 0;
}

.entry-icon img {
    width: 22px;
    height: 22px;
    display: block;
}

/* 單色 SVG 用 filter 轉成金色；品牌色圖示保留原色 */
.entry-icon:not(.entry-icon--line):not(.entry-icon--discord) img {
    filter: invert(78%) sepia(36%) saturate(520%) hue-rotate(6deg) brightness(95%);
}

.entry-icon--line,
.entry-icon--discord {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.12);
}

.entry-icon--line img,
.entry-icon--discord img {
    width: 24px;
    height: 24px;
}

.entry-tile:hover .entry-icon {
    border-color: rgba(216, 180, 92, 0.5);
    background: rgba(216, 180, 92, 0.16);
}

.entry-tile:hover .entry-icon--line {
    border-color: rgba(6, 199, 85, 0.55);
    background: rgba(6, 199, 85, 0.12);
}

.entry-tile:hover .entry-icon--discord {
    border-color: rgba(88, 101, 242, 0.55);
    background: rgba(88, 101, 242, 0.14);
}

.entry-index {
    font-family: var(--font-brand);
    font-size: 14px;
    color: var(--gold);
    letter-spacing: 0.08em;
}

.entry-label {
    display: block;
    font-size: 17px;
    font-weight: 700;
    letter-spacing: 0.06em;
    color: var(--paper);
}

.entry-desc {
    display: block;
    font-size: 12px;
    color: var(--muted);
    line-height: 1.5;
    margin-top: auto;
}

/* 職業立繪：PC 五欄視覺牆 */
.profession-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 14px;
}

.profession-card {
    display: flex;
    flex-direction: column;
    border: 1px solid var(--line);
    background: rgba(8, 6, 12, 0.85);
    overflow: hidden;
    transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
}

.profession-card:hover {
    border-color: color-mix(in srgb, var(--accent) 65%, var(--gold));
    transform: translateY(-4px);
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.45);
}

.profession-art {
    position: relative;
    aspect-ratio: 3 / 4;
    background:
        linear-gradient(180deg, transparent 55%, rgba(0, 0, 0, 0.75) 100%),
        radial-gradient(ellipse at 50% 20%, color-mix(in srgb, var(--accent) 22%, transparent), transparent 60%),
        #0a0810;
    overflow: hidden;
}

.profession-art img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    display: block;
}

.profession-fallback {
    width: 100%;
    height: 100%;
    display: grid;
    place-items: center;
    font-family: var(--font-brand);
    font-size: 64px;
    color: color-mix(in srgb, var(--accent) 70%, #fff);
    opacity: 0.45;
}

.profession-index {
    position: absolute;
    top: 10px;
    left: 10px;
    font-family: var(--font-brand);
    font-size: 12px;
    letter-spacing: 0.12em;
    color: #fff;
    background: rgba(0, 0, 0, 0.45);
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 3px 8px;
}

.profession-meta {
    padding: 14px 14px 16px;
    border-top: 1px solid var(--line);
}

.profession-meta h3 {
    font-family: var(--font-brand);
    font-size: 20px;
    font-weight: 700;
    letter-spacing: 0.12em;
    color: color-mix(in srgb, var(--accent) 55%, var(--gold-soft));
    margin-bottom: 4px;
}

.profession-en {
    display: block;
    font-size: 11px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 8px;
}

.profession-meta p {
    font-size: 13px;
    color: #b7aea2;
    line-height: 1.55;
}

/* Features */
.band-features {
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    background: rgba(10, 8, 16, 0.55);
    width: 100%;
    max-width: none;
    padding-left: max(28px, calc((100% - var(--max)) / 2));
    padding-right: max(28px, calc((100% - var(--max)) / 2));
}

.feature-columns {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.feature-block {
    position: relative;
    padding: 22px 18px 20px;
    border: 1px solid var(--line);
    background: rgba(8, 6, 12, 0.55);
}

.feature-index {
    display: block;
    font-size: 11px;
    letter-spacing: 0.18em;
    color: rgba(216, 180, 92, 0.55);
    margin-bottom: 10px;
}

.feature-block h3 {
    font-family: var(--font-brand);
    font-size: 17px;
    letter-spacing: 0.08em;
    color: var(--gold-soft);
    margin-bottom: 12px;
    padding-top: 0;
    border-top: none;
    border-left: 2px solid rgba(216, 180, 92, 0.55);
    padding-left: 10px;
    line-height: 1.45;
}

.feature-block p {
    color: var(--muted);
    font-size: 13.5px;
    line-height: 1.8;
}

.band-sub {
    max-width: 52rem;
    margin-top: 10px;
    color: #c8bfb4;
    font-size: 15px;
    line-height: 1.75;
}

/* News + quote */
.band-feed {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 48px;
    align-items: start;
}

.news-feed {
    list-style: none;
    border-top: 1px solid var(--line);
}

.news-feed a {
    display: grid;
    grid-template-columns: 56px 1fr;
    gap: 16px;
    padding: 18px 4px;
    text-decoration: none;
    border-bottom: 1px solid var(--line);
    transition: 0.2s;
}

.news-feed a:hover {
    background: rgba(155, 61, 255, 0.06);
    padding-left: 10px;
}

.news-feed time {
    font-size: 13px;
    color: var(--violet-soft);
    letter-spacing: 0.06em;
}

.news-feed span {
    font-size: 15px;
    color: var(--paper);
}

.text-link {
    display: inline-block;
    margin-top: 18px;
    color: var(--gold);
    text-decoration: none;
    font-size: 14px;
    letter-spacing: 0.08em;
}

.text-link:hover { color: var(--gold-soft); }

.feed-quote {
    padding: 32px 28px;
    border-left: 3px solid var(--seal);
    background: rgba(16, 14, 22, 0.7);
}

.feed-quote p {
    font-family: var(--font-brand);
    font-size: 20px;
    line-height: 1.8;
    letter-spacing: 0.04em;
    color: var(--paper);
    margin-bottom: 16px;
}

.feed-quote cite {
    font-style: normal;
    font-size: 12px;
    color: var(--muted);
    letter-spacing: 0.1em;
}

/* ===== Footer ===== */
.site-footer {
    position: relative;
    z-index: 1;
    border-top: 1px solid var(--line);
    padding: 40px 24px 48px;
    text-align: center;
    background: rgba(0, 0, 0, 0.35);
}

.footer-inner { max-width: var(--max); margin: 0 auto; }

.footer-brand {
    font-family: var(--font-brand);
    font-size: 18px;
    letter-spacing: 0.2em;
    color: var(--gold);
    margin-bottom: 8px;
}

.footer-copy {
    font-size: 12px;
    color: var(--muted);
    margin-bottom: 6px;
}

.footer-disclaimer {
    font-size: 11px;
    color: #666;
    margin-bottom: 16px;
}

.footer-banner img {
    margin: 0 auto;
    max-height: 36px;
    opacity: 0.8;
}

/* ===== Inner pages ===== */
.page-inner main {
    position: relative;
    z-index: 1;
}

.content-page {
    width: min(100%, var(--max));
    margin: 0 auto;
    padding: 48px 24px 80px;
    min-height: calc(100vh - var(--header-h) - 160px);
}

.page-title {
    font-family: var(--font-brand);
    font-size: clamp(28px, 5vw, 40px);
    letter-spacing: 0.14em;
    color: var(--gold-soft);
    margin-bottom: 32px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--line);
}

.guide-layout {
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 32px;
    align-items: start;
}

.guide-sidebar {
    border: 1px solid var(--line);
    background: rgba(16, 14, 22, 0.7);
    padding: 20px;
    position: sticky;
    top: calc(var(--header-h) + 16px);
}

.guide-sidebar h3 {
    font-size: 11px;
    letter-spacing: 0.2em;
    color: var(--gold);
    margin-bottom: 14px;
    text-transform: uppercase;
}

.cat-list { list-style: none; }

.cat-link {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 12px;
    color: var(--muted);
    text-decoration: none;
    border-left: 2px solid transparent;
    margin-bottom: 4px;
    font-size: 14px;
    transition: 0.2s;
}

.cat-link:hover,
.cat-link.active {
    color: var(--paper);
    background: rgba(155, 61, 255, 0.1);
    border-left-color: var(--violet);
}

.cat-link .count {
    font-size: 11px;
    background: rgba(0, 0, 0, 0.35);
    padding: 2px 8px;
    border-radius: 999px;
}

.cat-group { margin-bottom: 8px; }

.cat-parent {
    padding: 10px 12px;
    font-size: 13px;
    font-weight: 700;
    color: var(--gold-soft);
    letter-spacing: 0.06em;
    border-left: 2px solid rgba(216, 180, 92, 0.35);
}

.cat-parent.active {
    border-left-color: var(--violet);
    background: rgba(155, 61, 255, 0.08);
}

.cat-sub-list { list-style: none; }

.cat-link.sub { padding-left: 24px; font-size: 13px; }

.guide-main {
    border: 1px solid var(--line);
    background: rgba(16, 14, 22, 0.55);
    padding: 24px;
    min-height: 280px;
}

.guide-main-head {
    margin-bottom: 18px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--line);
}

.guide-breadcrumb {
    font-size: 14px;
    color: var(--gold-soft);
    letter-spacing: 0.06em;
}

.subcat-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 18px;
}

.subcat-tab {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    border: 1px solid var(--line);
    color: var(--muted);
    text-decoration: none;
    font-size: 13px;
    border-radius: 999px;
    transition: 0.2s;
}

.subcat-tab:hover,
.subcat-tab.active {
    border-color: rgba(155, 61, 255, 0.5);
    color: var(--paper);
    background: rgba(155, 61, 255, 0.1);
}

.subcat-tab .count {
    font-size: 10px;
    background: rgba(0, 0, 0, 0.35);
    padding: 2px 6px;
    border-radius: 999px;
}

.article-list { list-style: none; }

.article-item {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding: 16px 8px;
    border-bottom: 1px solid var(--line);
    text-decoration: none;
    color: inherit;
    transition: 0.2s;
}

.article-item:hover {
    background: rgba(155, 61, 255, 0.06);
    padding-left: 14px;
}

.art-title { font-size: 15px; font-weight: 600; }
.art-date { font-size: 12px; color: var(--muted); white-space: nowrap; }

.empty-box {
    text-align: center;
    padding: 56px 20px;
    color: var(--muted);
}

.article-view {
    border: 1px solid var(--line);
    background: rgba(16, 14, 22, 0.55);
    padding: 40px;
}

.article-meta {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 18px;
    font-size: 13px;
    color: var(--muted);
}

.badge {
    background: rgba(155, 61, 255, 0.12);
    color: var(--gold-soft);
    padding: 4px 12px;
    font-size: 12px;
    border: 1px solid rgba(216, 180, 92, 0.3);
    border-radius: 999px;
}

.article-heading {
    font-family: var(--font-brand);
    font-size: 28px;
    letter-spacing: 0.06em;
    color: var(--gold-soft);
    margin-bottom: 24px;
    line-height: 1.4;
}

.article-body {
    font-size: 16px;
    line-height: 1.9;
    color: #ddd6cc;
}

.article-body h2,
.article-body h3 { color: var(--gold-soft); margin: 1.5em 0 0.8em; }
.article-body p { margin-bottom: 1em; }
.article-body img { max-width: 100%; height: auto; margin: 1em 0; border: 1px solid var(--line); }
.article-body a { color: var(--gold-soft); }
.article-body ul,
.article-body ol { margin: 1em 0 1em 1.5em; }

.mobile-page-bar { display: none; }

/* ===== Responsive ===== */
@media (max-width: 1200px) {
    .profession-grid { grid-template-columns: repeat(5, 1fr); gap: 10px; }
    .profession-meta h3 { font-size: 17px; }
}

@media (max-width: 1024px) {
    .hero-stage { grid-template-columns: 1fr; gap: 28px; }
    .entry-grid { grid-template-columns: repeat(3, 1fr); }
    .profession-grid { grid-template-columns: repeat(3, 1fr); }
    .feature-columns { grid-template-columns: repeat(2, 1fr); }
    .band-feed { grid-template-columns: 1fr; gap: 28px; }
    .band-head-row { align-items: flex-start; flex-direction: column; gap: 8px; }
}

@media (max-width: 860px) {
    .header-nav {
        display: flex;
        position: fixed;
        top: 0;
        right: 0;
        bottom: 0;
        width: min(320px, 88vw);
        z-index: 70;
        flex-direction: column;
        align-items: stretch;
        justify-content: flex-start;
        gap: 4px;
        padding: 20px 16px;
        background: #100e16;
        border-left: 1px solid var(--line);
        transform: translateX(105%);
        transition: transform 0.28s var(--ease);
        overflow-y: auto;
    }

    body.nav-open .header-nav { transform: translateX(0); }

    .header-marquee {
        margin: 0 4px;
    }

    .header-marquee-item {
        font-size: 12px;
        padding: 0 12px;
    }

    .nav-drawer-head {
        display: flex;
        align-items: center;
        justify-content: space-between;
        margin-bottom: 16px;
        padding-bottom: 14px;
        border-bottom: 1px solid var(--line);
    }

    .nav-drawer-title {
        font-family: var(--font-brand);
        letter-spacing: 0.12em;
        color: var(--gold-soft);
    }

    .nav-close {
        display: flex;
        width: 36px;
        height: 36px;
        align-items: center;
        justify-content: center;
        border: 1px solid var(--line);
        background: transparent;
        color: var(--paper);
        cursor: pointer;
        border-radius: 8px;
    }

    .nav-item {
        border-radius: 10px;
        padding: 14px 12px;
    }

    .nav-status {
        display: flex !important;
        margin-top: 18px;
        padding: 12px;
        border: 1px solid var(--line);
        border-radius: 10px;
    }

    .header-status { display: none; }
    .header-cta { display: none; }
    .nav-toggle { display: flex; }

    .guide-layout { grid-template-columns: 1fr; }
    .guide-sidebar { position: static; }
}

@media (max-width: 640px) {
    :root { --header-h: 64px; }

    .brand-mark-logo {
        height: 40px;
        max-width: min(180px, 48vw);
    }

    .hero { padding: 28px 16px 36px; min-height: auto; }
    .hero-logo-mark { width: min(100%, 340px); }
    .band { padding: 36px 16px; }
    .entry-grid { grid-template-columns: 1fr 1fr; }
    .profession-grid { grid-template-columns: 1fr; }
    .profession-art { aspect-ratio: 16 / 10; }
    .feature-columns { grid-template-columns: 1fr; }
    .article-view { padding: 24px 18px; }
    .article-item { flex-direction: column; gap: 6px; }

    body.nav-open {
        overflow: hidden;
        position: fixed;
        width: 100%;
    }
}
