/* ========================================================
   v50kfc · 一梦江湖结义纪念册
   视觉基调：国风宣纸 + 朱砂印 + 宋体系 + KFC红
   响应式：移动端 320px+ / 平板 768px+ / PC 1200px+
   ======================================================== */

/* ---------- CSS 变量 ---------- */
:root {
    --ink:        #1a1410;
    --ink-soft:   #3d332a;
    --paper:      #f5ecd7;
    --paper-deep: #ead9b4;
    --seal:       #8B1A1A;
    --seal-soft:  #b83a3a;
    --gold:       #a67c2e;
    --kfc-red:    #d4213d;
    --kfc-gold:   #c9a961;
    --line:       #8B1A1A;
    --shadow:     0 4px 20px rgba(26, 20, 16, .15);
    --font-serif: 'Noto Serif SC', 'Source Han Serif SC', 'Songti SC', 'SimSun', serif;
    --font-brush: 'ZCOOL XiaoWei', 'STKaiti', 'KaiTi', cursive;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
    font-family: var(--font-serif);
    color: var(--ink);
    background-color: var(--paper);
    background-image:
        radial-gradient(ellipse at 20% 10%, rgba(139, 26, 26, .04) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 80%, rgba(166, 124, 46, .06) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(26, 20, 16, .02) 0%, transparent 70%);
    background-attachment: fixed;
    line-height: 1.75;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

/* ========================================================
   HERO 顶部横幅
   ======================================================== */
.hero {
    position: relative;
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 40px 20px;
    overflow: hidden;
    color: var(--paper);
}
.hero-bg {
    position: absolute; inset: 0;
    filter: saturate(.7);
    transition: background-image .8s ease;
}
.hero-overlay {
    position: absolute; inset: 0;
    background:
        radial-gradient(ellipse at center, transparent 0%, rgba(26, 20, 16, .55) 100%),
        repeating-linear-gradient(45deg, transparent 0 20px, rgba(255,255,255,.015) 20px 21px);
}
.hero-content {
    position: relative;
    z-index: 2;
    max-width: 720px;
    padding: 40px 24px;
    animation: fadeUp 1.2s ease-out;
}
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(30px); }
    to   { opacity: 1; transform: translateY(0); }
}

.seal {
    display: inline-block;
    padding: 10px 28px;
    font-family: var(--font-brush);
    font-size: 20px;
    letter-spacing: 8px;
    color: var(--paper);
    background: var(--seal);
    border: 3px solid var(--paper);
    transform: rotate(-2deg);
    box-shadow: 0 4px 16px rgba(0,0,0,.4);
    margin-bottom: 32px;
    position: relative;
}
.seal::before, .seal::after {
    content: '❖';
    margin: 0 12px;
    color: var(--gold);
}

.hero-title {
    font-family: var(--font-brush);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 20px;
    text-shadow: 0 4px 24px rgba(0,0,0,.6);
}
.title-line-1 {
    display: block;
    font-size: clamp(48px, 12vw, 128px);
    letter-spacing: .08em;
    background: linear-gradient(180deg, #fff8e7 0%, #e8c97a 50%, #c9a961 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 2px 8px rgba(201, 169, 97, .4));
}
.title-line-2 {
    display: block;
    font-size: clamp(20px, 4vw, 42px);
    letter-spacing: .6em;
    color: var(--paper);
    text-indent: .6em;
    margin-top: 8px;
    opacity: .92;
}
.hero-subtitle {
    font-size: clamp(14px, 1.8vw, 18px);
    color: var(--paper);
    opacity: .75;
    letter-spacing: .15em;
    margin-bottom: 40px;
}

.notice-board {
    background: linear-gradient(180deg, #f5ecd7 0%, #ead9b4 100%);
    color: var(--ink);
    border: 2px solid var(--seal);
    border-radius: 4px;
    padding: 24px 28px;
    max-width: 560px;
    margin: 0 auto;
    position: relative;
    box-shadow: var(--shadow), inset 0 0 0 1px rgba(139, 26, 26, .2);
    text-align: left;
}
.notice-board::before, .notice-board::after {
    content: '';
    position: absolute;
    left: 16px; right: 16px;
    height: 2px;
    background: var(--seal);
    opacity: .4;
}
.notice-board::before { top: 8px; }
.notice-board::after  { bottom: 8px; }

.notice-head {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-family: var(--font-brush);
    font-size: 18px;
    color: var(--seal);
    letter-spacing: .3em;
    padding-bottom: 12px;
    border-bottom: 1px dashed var(--seal);
    margin-bottom: 14px;
}
.notice-head .dot {
    width: 8px; height: 8px;
    border-radius: 50%;
    background: var(--seal);
    animation: blink 1.2s infinite;
}
@keyframes blink { 50% { opacity: .2; } }
.notice-body {
    font-size: 15px;
    line-height: 2;
    text-align: justify;
    text-indent: 2em;
}
.notice-body strong { color: var(--seal); font-weight: 700; border-bottom: 1px solid var(--seal); padding: 0 2px; }
.notice-body em { color: var(--kfc-red); font-style: normal; font-weight: 600; }
.notice-foot {
    margin-top: 14px;
    text-align: right;
    font-size: 13px;
    color: var(--ink-soft);
    letter-spacing: .2em;
}

.scroll-hint {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    margin-top: 48px;
    color: var(--paper);
    opacity: .85;
    font-size: 14px;
    letter-spacing: .4em;
    animation: bounce 2s infinite;
}
.scroll-hint .arrow { font-size: 12px; color: var(--gold); }
@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50%      { transform: translateY(8px); }
}

/* ========================================================
   主体容器
   ======================================================== */
.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 80px 24px 40px;
}

/* 卷轴标题 */
.section-title {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-bottom: 16px;
}
.scroll-left, .scroll-right {
    flex: 1;
    max-width: 120px;
    height: 2px;
    background: linear-gradient(90deg, transparent 0%, var(--seal) 100%);
}
.scroll-right { background: linear-gradient(90deg, var(--seal) 0%, transparent 100%); }
.section-heading {
    font-family: var(--font-brush);
    font-size: clamp(28px, 5vw, 44px);
    color: var(--seal);
    letter-spacing: .3em;
    text-align: center;
    position: relative;
    padding: 0 20px;
}
.section-heading.small {
    font-size: clamp(20px, 3vw, 28px);
    letter-spacing: .25em;
    margin-bottom: 0;
}
.section-heading::before,
.section-heading::after {
    content: '❀';
    color: var(--gold);
    font-size: .6em;
    margin: 0 12px;
    vertical-align: middle;
}

.section-desc {
    text-align: center;
    color: var(--ink-soft);
    font-size: 14px;
    letter-spacing: .15em;
    margin-bottom: 32px;
    padding: 0 12px;
}

/* ========================================================
   抽签互动
   ======================================================== */
.oracle-section {
    margin: 40px 0 80px;
    display: flex;
    justify-content: center;
}
.oracle-box {
    width: 100%;
    max-width: 560px;
    background: linear-gradient(180deg, #fdf7e9 0%, #ead9b4 100%);
    border: 3px solid var(--seal);
    border-radius: 10px;
    padding: 40px 32px;
    text-align: center;
    position: relative;
    box-shadow: var(--shadow);
}
.oracle-box::before, .oracle-box::after {
    content: '';
    position: absolute;
    top: 10px; bottom: 10px;
    width: 10px;
    background:
        linear-gradient(90deg, var(--seal) 50%, transparent 50%) top/2px 8px no-repeat,
        linear-gradient(90deg, var(--seal) 50%, transparent 50%) bottom/2px 8px no-repeat;
}
.oracle-box::before { left: 14px; }
.oracle-box::after  { right: 14px; transform: scaleX(-1); }

.oracle-title {
    font-family: var(--font-brush);
    font-size: 26px;
    color: var(--seal);
    letter-spacing: .3em;
    margin-bottom: 12px;
}
.oracle-desc {
    color: var(--ink-soft);
    font-size: 14px;
    line-height: 2;
    margin-bottom: 28px;
    letter-spacing: .05em;
}

.draw-btn {
    display: inline-block;
    padding: 14px 48px;
    font-family: var(--font-brush);
    font-size: 18px;
    letter-spacing: .4em;
    color: var(--paper);
    background: linear-gradient(180deg, var(--seal-soft) 0%, var(--seal) 100%);
    border: 2px solid var(--gold);
    border-radius: 4px;
    box-shadow: 0 4px 16px rgba(139, 26, 26, .4);
    transition: all .3s ease;
    position: relative;
    overflow: hidden;
}
.draw-btn:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(139, 26, 26, .55); }
.draw-btn:active { transform: translateY(0); }
.draw-btn::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(45deg, transparent 40%, rgba(255,255,255,.2) 50%, transparent 60%);
    transform: translateX(-100%);
    transition: transform .6s;
}
.draw-btn:hover::after { transform: translateX(100%); }
.draw-btn.shaking { animation: shake .5s ease-in-out 3; }
@keyframes shake {
    0%, 100% { transform: rotate(0); }
    25%      { transform: rotate(-4deg); }
    75%      { transform: rotate(4deg); }
}

.oracle-result {
    margin-top: 28px;
    min-height: 80px;
    padding: 20px;
    background: rgba(255, 248, 231, .7);
    border: 1px dashed var(--seal);
    border-radius: 6px;
    font-size: 15px;
    line-height: 2;
    color: var(--ink);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    transition: all .4s ease;
}
.oracle-result .placeholder {
    color: var(--ink-soft);
    letter-spacing: .3em;
    font-size: 13px;
}
.oracle-result.show .oracle-quote { animation: fadeUp .8s ease-out; }
.oracle-quote {
    display: block;
    font-size: 16px;
    color: var(--ink);
    text-align: center;
    line-height: 2;
}
.oracle-quote .oracle-num {
    display: block;
    font-family: var(--font-brush);
    color: var(--seal);
    font-size: 14px;
    letter-spacing: .3em;
    margin-bottom: 8px;
}
.oracle-quote .oracle-content {
    display: block;
    font-size: 15px;
    line-height: 2;
    text-align: justify;
    text-indent: 2em;
    white-space: pre-line;
}
.oracle-quote .oracle-bless {
    display: block;
    margin-top: 14px;
    font-family: var(--font-brush);
    color: var(--seal);
    letter-spacing: .2em;
    text-align: right;
    font-size: 14px;
}

/* ========================================================
   金句筛选标签（新增功能，可随时移除）
   ======================================================== */
.quote-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin: 16px 0 24px;
    padding: 0 16px;
}
.quote-filter-tag {
    padding: 6px 16px;
    background: rgba(139, 26, 26, 0.06);
    border: 1px solid var(--gold);
    color: var(--ink);
    font-size: 14px;
    font-family: inherit;
    border-radius: 20px;
    cursor: pointer;
    transition: all .2s ease;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}
.quote-filter-tag:hover {
    background: var(--gold);
    color: #fff;
}
.quote-filter-tag.active {
    background: var(--gold);
    color: #fff;
    box-shadow: 0 2px 8px rgba(139, 26, 26, 0.25);
}
.quote-filter-count {
    font-size: 12px;
    opacity: .7;
}
.quote-filter-tag.active .quote-filter-count {
    opacity: .9;
}

/* 金句加载更多按钮（新增功能，可随时移除） */
.wall-load-more-wrap {
    display: flex;
    justify-content: center;
    margin: -50px 0 80px;
}
.wall-load-more {
    padding: 10px 32px;
    background: rgba(139, 26, 26, 0.06);
    border: 1px solid var(--gold);
    color: var(--ink);
    font-size: 14px;
    font-family: inherit;
    border-radius: 24px;
    cursor: pointer;
    transition: all .2s ease;
}
.wall-load-more:hover {
    background: var(--gold);
    color: #fff;
}

/* ========================================================
   金句卡片墙（横向滑动 2 行）
   ======================================================== */
.wall-scroll-wrap {
    position: relative;
    display: flex;
    align-items: center;
    margin-bottom: 80px;
}
.wall-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(139, 26, 26, .85);
    color: var(--paper);
    font-size: 24px;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 5;
    transition: all .25s ease;
    opacity: 0;
    box-shadow: 0 2px 10px rgba(0,0,0,.2);
}
.wall-arrow:hover { background: var(--seal); transform: translateY(-50%) scale(1.1); }
.wall-arrow-left { left: -8px; }
.wall-arrow-right { right: -8px; }

.wall {
    display: grid;
    grid-auto-flow: column;
    grid-template-rows: 1fr;
    grid-auto-columns: minmax(280px, 320px);
    gap: 16px;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 8px 16px 24px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: var(--seal) transparent;
    /* 禁止拖拽滑动时选中文字 */
    user-select: none;
    -webkit-user-select: none;
}
.wall::-webkit-scrollbar { height: 6px; }
.wall::-webkit-scrollbar-track { background: transparent; }
.wall::-webkit-scrollbar-thumb { background: var(--seal); border-radius: 3px; }
.wall.dragging { cursor: grabbing; }
.wall.dragging .quote-card { pointer-events: none; }

.quote-card {
    background: linear-gradient(180deg, #fdf7e9 0%, #f5ecd7 100%);
    border: 1px solid var(--seal);
    border-radius: 6px;
    padding: 20px 18px;
    position: relative;
    box-shadow: 0 2px 8px rgba(26, 20, 16, .08);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    scroll-snap-align: start;
    transition: transform .25s ease, box-shadow .25s ease;
}
.quote-card::before {
    content: '';
    position: absolute;
    top: 6px; left: 6px; right: 6px; bottom: 6px;
    border: 1px solid rgba(139, 26, 26, .2);
    border-radius: 4px;
    pointer-events: none;
}
.quote-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 24px rgba(26, 20, 16, .15);
}
.quote-tag {
    display: inline-block;
    align-self: flex-start;
    padding: 3px 12px;
    background: var(--seal);
    color: var(--paper);
    border-radius: 2px;
    font-size: 12px;
    letter-spacing: .15em;
    margin-bottom: 12px;
    font-family: var(--font-brush);
}
.quote-text {
    white-space: pre-line;
    font-size: 14px;
    line-height: 1.85;
    color: var(--ink);
    flex: 1;
    overflow-y: auto;
    text-align: justify;
    max-height: 180px;
    padding-right: 4px;
    scrollbar-width: thin;
    scrollbar-color: var(--gold) transparent;
}
.quote-text::-webkit-scrollbar { width: 4px; }
.quote-text::-webkit-scrollbar-thumb { background: var(--gold); border-radius: 2px; }
.quote-meta {
    margin-top: 12px;
    padding-top: 8px;
    border-top: 1px dashed rgba(139, 26, 26, .25);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
    color: var(--ink-soft);
    letter-spacing: .08em;
}
.quote-from { font-family: var(--font-brush); color: var(--seal); }
.quote-time { opacity: .7; }

.wall-empty {
    text-align: center;
    color: var(--ink-soft);
    padding: 40px;
    font-family: var(--font-brush);
    letter-spacing: .2em;
}

/* ========================================================
   表情包展区
   ======================================================== */
.memes {
    text-align: center;
    margin: 80px 0;
}
.meme-row {
    column-count: 3;
    column-gap: 16px;
}
.meme-card {
    break-inside: avoid;
    margin-bottom: 16px;
    background: #fdf7e9;
    border: 1px solid var(--seal);
    border-radius: 8px;
    padding: 14px;
    box-shadow: var(--shadow);
    transition: transform .3s ease;
}
.meme-card:hover { transform: translateY(-4px) rotate(-1deg); }
.meme-card img {
    width: 100%;
    height: auto;
    border-radius: 4px;
    border: 1px solid rgba(139, 26, 26, .3);
    margin-bottom: 12px;
}
.meme-card figcaption { display: flex; flex-direction: column; gap: 4px; }
.meme-text {
    color: var(--seal);
    font-size: 15px;
    letter-spacing: .08em;
    font-family: var(--font-brush);
}

/* ========================================================
   结义时间轴
   ======================================================== */
.timeline {
    margin: 80px 0;
}
.timeline-wall {
    column-count: 3;
    column-gap: 16px;
}
.timeline-item {
    break-inside: avoid;
    margin-bottom: 16px;
    background: #fdf7e9;
    border: 1px solid var(--seal);
    border-radius: 6px;
    padding: 10px;
    box-shadow: var(--shadow);
    cursor: zoom-in;
    transition: transform .25s ease;
}
.timeline-item:hover { transform: scale(1.02); }
.timeline-item img {
    width: 100%;
    border-radius: 4px;
    border: 1px solid rgba(139, 26, 26, .3);
}
.timeline-item figcaption {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 4px 4px;
}
.timeline-name {
    font-family: var(--font-brush);
    color: var(--seal);
    font-size: 14px;
    letter-spacing: .1em;
}
.timeline-date {
    font-size: 11px;
    color: var(--ink-soft);
    opacity: .7;
    letter-spacing: .05em;
}

/* 加载更多按钮 */
.load-more-btn {
    display: block;
    width: fit-content;
    margin: 24px auto 0;
    padding: 10px 28px;
    background: var(--paper);
    color: var(--seal);
    border: 1px solid var(--seal);
    border-radius: 4px;
    font-family: var(--font-serif);
    font-size: 14px;
    letter-spacing: .1em;
    cursor: pointer;
    transition: background .2s ease, color .2s ease;
}
.load-more-btn:hover {
    background: var(--seal);
    color: var(--paper);
}

/* ========================================================
   结义名册
   ======================================================== */
.roster {
    text-align: center;
    margin: 80px 0;
}
.roster-desc {
    font-size: clamp(15px, 2vw, 18px);
    color: var(--ink);
    line-height: 2;
    margin-bottom: 24px;
}
.roster-desc .hl {
    color: var(--seal);
    font-family: var(--font-brush);
    font-size: 1.2em;
    letter-spacing: .2em;
    text-decoration: underline;
    text-decoration-style: wavy;
    text-underline-offset: 6px;
}
.roster-badge {
    max-width: 200px;
    margin: 0 auto 32px;
}
.roster-badge img {
    width: 100%;
    filter: drop-shadow(0 4px 12px rgba(139, 26, 26, .3));
}
.roster-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(90px, 1fr));
    gap: 20px;
    max-width: 700px;
    margin: 0 auto;
}
.roster-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}
.roster-card img {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    border: 3px solid var(--gold);
    box-shadow: 0 2px 8px rgba(0,0,0,.15);
    object-fit: cover;
}

/* ========================================================
   Lightbox 图片预览
   ======================================================== */
.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, .88);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: opacity .3s ease, visibility .3s ease;
    padding: 20px;
}
.lightbox.active {
    opacity: 1;
    visibility: visible;
}
.lightbox-img {
    max-width: 90vw;
    max-height: 80vh;
    border-radius: 6px;
    box-shadow: 0 8px 40px rgba(0,0,0,.5);
    object-fit: contain;
}
.lightbox-caption {
    margin-top: 16px;
    color: var(--paper);
    font-family: var(--font-brush);
    font-size: 18px;
    letter-spacing: .2em;
}
.lightbox-close {
    position: absolute;
    top: 20px;
    right: 24px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255,255,255,.15);
    color: var(--paper);
    font-size: 28px;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all .25s ease;
}
.lightbox-close:hover { background: var(--seal); transform: rotate(90deg); }

/* ========================================================
   页脚
   ======================================================== */
.footer {
    background: var(--ink);
    color: var(--paper);
    padding: 60px 24px 20px;
    margin-top: 40px;
}
.footer-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(245, 236, 215, .15);
}
.footer-col h4 {
    font-family: var(--font-brush);
    font-size: 18px;
    color: var(--gold);
    letter-spacing: .3em;
    margin-bottom: 16px;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(201, 169, 97, .3);
    display: inline-block;
}
.footer-col p {
    font-size: 14px;
    line-height: 2;
    opacity: .8;
    letter-spacing: .05em;
}
.footer-col .disclaimer { color: var(--gold); opacity: 1; }
.footer-col .hl { color: var(--kfc-red); font-weight: 700; }
.footer-bottom {
    max-width: 1100px;
    margin: 0 auto;
    padding-top: 20px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 12px;
    font-size: 12px;
    opacity: .6;
    letter-spacing: .15em;
}
.footer-divider { opacity: .4; }

/* ========================================================
   响应式适配
   ======================================================== */

/* 平板 */
@media (max-width: 960px) {
    .timeline-wall { column-count: 2; }
    .footer-inner { gap: 32px; }
}

/* 手机 */
@media (max-width: 640px) {
    .container { padding: 60px 16px 20px; }
    .hero-content { padding: 24px 16px; }
    .seal { font-size: 16px; padding: 8px 20px; letter-spacing: 6px; }
    .seal::before, .seal::after { margin: 0 8px; }
    .title-line-1 { letter-spacing: .05em; }
    .title-line-2 { letter-spacing: .5em; text-indent: .5em; }
    .notice-board { padding: 18px 16px; }
    .notice-head { font-size: 15px; letter-spacing: .2em; }
    .notice-body { font-size: 13px; line-height: 1.9; }
    .section-heading { letter-spacing: .2em; }

    /* 金句墙：手机端卡片宽度适配，隐藏左右箭头按钮（手指滑动即可） */
    .wall {
        grid-auto-columns: minmax(240px, 80vw);
        gap: 12px;
        padding: 8px 8px 20px;
    }
    .wall-arrow { display: none; }
    .quote-card { padding: 16px 14px; }
    .quote-text { font-size: 13px; line-height: 1.8; max-height: 160px; }

    .oracle-box { padding: 28px 20px; }
    .oracle-title { font-size: 22px; letter-spacing: .2em; }

    .meme-row { column-count: 1; }
    .timeline-wall { column-count: 1; }
    .roster-grid { grid-template-columns: repeat(3, 1fr); gap: 16px; }
    .roster-card img { width: 56px; height: 56px; }

    .footer { padding: 40px 16px 16px; }
    .footer-inner { grid-template-columns: 1fr; gap: 28px; padding-bottom: 28px; }
    .footer-bottom { flex-direction: column; gap: 4px; }
    .footer-divider { display: none; }
}

/* 超小手机 */
@media (max-width: 360px) {
    .hero-content { padding: 20px 12px; }
    .title-line-1 { font-size: 44px; }
    .title-line-2 { font-size: 18px; letter-spacing: .4em; }
    .notice-board { padding: 16px 14px; }
    .notice-body { font-size: 12px; }
    .draw-btn { padding: 12px 36px; font-size: 16px; letter-spacing: .3em; }
    .roster-grid { grid-template-columns: repeat(3, 1fr); gap: 12px; }
}

/* 大屏 PC */
@media (min-width: 1400px) {
    .container { max-width: 1280px; }
    .wall { grid-auto-columns: minmax(300px, 340px); }
}

/* 横屏手机适配 */
@media (max-height: 500px) and (orientation: landscape) {
    .hero { min-height: auto; padding: 60px 20px; }
    .hero-content { animation: none; }
    .scroll-hint { display: none; }
}

/* 降低动画偏好 */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: .01ms !important;
        transition-duration: .01ms !important;
    }
}

/* 打印样式 */
@media print {
    .hero { min-height: auto; padding: 20px; color: var(--ink); }
    .hero-bg, .hero-overlay { display: none; }
    .hero-content { color: var(--ink); }
    .hero-title, .hero-subtitle { color: var(--ink); -webkit-text-fill-color: var(--ink); }
    .scroll-hint, .draw-btn, .wall-arrow { display: none; }
    .wall { display: block; overflow: visible; }
    .quote-card { break-inside: avoid; margin-bottom: 12px; }
    body { background: #fff; }
}
