/* =========================================================
   半夜、听情歌 · 私人日记
   Midnight · Love Songs
   ========================================================= */

:root {
    --bg: #08080b;
    --bg-soft: #0d0d12;
    --panel: rgba(255, 255, 255, .035);
    --panel-2: rgba(255, 255, 255, .055);
    --line: rgba(233, 229, 220, .09);
    --line-strong: rgba(233, 229, 220, .18);
    --ink: #eeeae3;
    --ink-2: #b9b4ab;
    --ink-3: #7d7972;
    --gold: #c9a86a;
    --gold-dim: #8f7a4f;
    --gold-glow: rgba(201, 168, 106, .16);
    --rose: #b98490;
    --serif: "Optima", "Palatino Linotype", "Georgia", "Times New Roman", "Microsoft YaHei UI", "Microsoft YaHei", "PingFang SC", "HarmonyOS Sans SC", sans-serif;
    --sans: "HarmonyOS Sans SC", "PingFang SC", "Microsoft YaHei UI", "Microsoft YaHei", system-ui, -apple-system, "Segoe UI", sans-serif;
    --ease: cubic-bezier(.22, .61, .36, 1);
    --maxw: 1120px;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;
    color: var(--ink);
    font-family: var(--sans);
    font-size: 16px;
    line-height: 1.75;
    background: var(--bg);
    letter-spacing: .01em;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

/* 夜空底色 + 颗粒质感 */
body::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -2;
    background:
        radial-gradient(120% 75% at 8% -10%, rgba(104, 92, 148, .20), transparent 62%),
        radial-gradient(95% 60% at 92% 2%, rgba(150, 92, 78, .15), transparent 58%),
        radial-gradient(80% 50% at 50% 105%, rgba(64, 72, 104, .16), transparent 60%),
        linear-gradient(180deg, #0a0a0f 0%, #08080b 46%, #06060a 100%);
}

body::after {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    opacity: .05;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='140' height='140'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.82' numOctaves='3' stitchTiles='stitch'/><feColorMatrix type='saturate' values='0'/></filter><rect width='140' height='140' filter='n' opacity='.55'/></svg>");
    mix-blend-mode: screen;
}

::selection {
    background: rgba(201, 168, 106, .28);
    color: #fff;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    display: block;
}

button {
    font: inherit;
    color: inherit;
    cursor: pointer;
}

input,
textarea,
select {
    font: inherit;
    color: inherit;
}

.wrap {
    width: 100%;
    max-width: var(--maxw);
    margin: 0 auto;
    padding: 0 32px;
}

/* =========================================================
   Header
   ========================================================= */

.site-header {
    position: sticky;
    top: 0;
    z-index: 60;
    backdrop-filter: saturate(140%) blur(18px);
    -webkit-backdrop-filter: saturate(140%) blur(18px);
    background: linear-gradient(180deg, rgba(8, 8, 11, .82), rgba(8, 8, 11, .55));
    border-bottom: 1px solid var(--line);
}

.site-header .wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
    gap: 24px;
}

.brand {
    display: flex;
    align-items: baseline;
    gap: 12px;
    white-space: nowrap;
}

.brand-mark {
    font-family: var(--serif);
    font-size: 20px;
    letter-spacing: .22em;
    color: var(--ink);
}

.brand-en {
    font-size: 10px;
    letter-spacing: .28em;
    color: var(--ink-3);
    text-transform: uppercase;
}

.top-nav {
    display: flex;
    align-items: center;
    flex: none;
}

.home-btn,
.archive-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 7px 18px;
    border: 1px solid var(--line);
    border-radius: 999px;
    font-size: 13px;
    letter-spacing: .14em;
    color: var(--ink-3);
    transition: color .35s var(--ease), border-color .35s var(--ease), background .35s var(--ease);
}

.archive-btn {
    margin-left: 0;
    margin-right: 6px;
}

.home-btn:hover,
.home-btn.is-active,
.archive-btn:hover,
.archive-btn.is-active {
    color: var(--ink);
    border-color: rgba(201, 168, 106, .38);
    background: var(--gold-glow);
}

.nav-more {
    margin-left: 16px;
    font-size: 12px;
    letter-spacing: .16em;
    color: var(--ink-3);
    transition: color .35s var(--ease);
}

.nav-more:hover,
.nav-more.is-active {
    color: var(--gold);
}

.nav {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav a {
    position: relative;
    font-size: 14px;
    letter-spacing: .1em;
    color: var(--ink-3);
    padding: 6px 0;
    transition: color .35s var(--ease);
}

.nav a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 1px;
    background: var(--gold);
    transition: width .4s var(--ease);
}

.nav a:hover,
.nav a.is-active {
    color: var(--ink);
}

.nav a:hover::after,
.nav a.is-active::after {
    width: 100%;
}

.nav .lock {
    font-size: 13px;
    color: rgba(238, 234, 227, .3);
    letter-spacing: .1em;
}

/* =========================================================
   Hero
   ========================================================= */

.hero {
    position: relative;
    padding: 108px 0 84px;
    overflow: hidden;
}

.hero::after {
    content: "";
    position: absolute;
    right: -12%;
    top: 50%;
    width: 520px;
    height: 520px;
    margin-top: -260px;
    border-radius: 50%;
    background:
        radial-gradient(circle at center, transparent 58%, rgba(201, 168, 106, .07) 59%, rgba(201, 168, 106, .07) 60%, transparent 61%),
        radial-gradient(circle at center, transparent 40%, rgba(238, 234, 227, .05) 41%, rgba(238, 234, 227, .05) 42%, transparent 43%),
        conic-gradient(from 0deg, rgba(255, 255, 255, .035), transparent 28%, rgba(255, 255, 255, .035) 52%, transparent 78%, rgba(255, 255, 255, .035));
    opacity: .9;
    animation: spin 60s linear infinite;
    pointer-events: none;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.hero-inner {
    position: relative;
    z-index: 2;
    max-width: 760px;
}

.eyebrow {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: center;
    max-width: 100%;
    gap: 10px 14px;
    font-size: 11px;
    letter-spacing: .34em;
    text-transform: uppercase;
    color: var(--gold);
    margin: 0 0 30px;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.eyebrow::before {
    content: "";
    width: 46px;
    height: 1px;
    background: linear-gradient(90deg, var(--gold), transparent);
}

.hero h1 {
    margin: 0 0 26px;
    font-family: var(--serif);
    font-weight: 500;
    font-size: clamp(38px, 6.4vw, 78px);
    line-height: 1.22;
    letter-spacing: .16em;
    background: linear-gradient(102deg, #f4efe5 12%, #d9c8a4 46%, #a8997c 78%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero h1 .comma {
    font-size: .54em;
    vertical-align: .28em;
    letter-spacing: 0;
    color: var(--gold-dim);
}

.hero-desc {
    max-width: 34em;
    margin: 0 0 42px;
    font-size: 15.5px;
    line-height: 2;
    color: var(--ink-2);
    letter-spacing: .06em;
}

.hero-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 28px;
    padding-top: 26px;
    border-top: 1px solid var(--line);
    font-size: 12px;
    letter-spacing: .14em;
    color: var(--ink-3);
}

.hero-meta .dot {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--gold-dim);
}

.scroll-cue {
    position: absolute;
    left: 50%;
    bottom: 26px;
    width: 1px;
    height: 54px;
    transform: translateX(-50%);
    background: linear-gradient(180deg, transparent, var(--line-strong));
}

.scroll-cue::after {
    content: "";
    position: absolute;
    left: -2px;
    top: 0;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--gold);
    animation: cue 2.6s var(--ease) infinite;
}

@keyframes cue {
    0% {
        top: 0;
        opacity: 0;
    }
    30% {
        opacity: 1;
    }
    100% {
        top: 100%;
        opacity: 0;
    }
}

/* =========================================================
   Section head / filters
   ========================================================= */

.section-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    padding: 0 0 28px;
    border-bottom: 1px solid var(--line);
    margin-bottom: 42px;
}

.section-title {
    margin: 0;
    font-family: var(--serif);
    font-size: 24px;
    letter-spacing: .2em;
    font-weight: 500;
    color: var(--ink);
}

.section-title span {
    display: block;
    margin-top: 8px;
    font-family: var(--sans);
    font-size: 11px;
    letter-spacing: .26em;
    color: var(--ink-3);
    text-transform: uppercase;
}

.filters {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    border: 1px solid var(--line);
    border-radius: 999px;
    font-size: 13px;
    letter-spacing: .12em;
    color: var(--ink-3);
    background: transparent;
    transition: all .4s var(--ease);
}

.chip:hover {
    color: var(--ink);
    border-color: var(--line-strong);
    background: var(--panel);
}

.chip.is-active {
    color: #171512;
    background: linear-gradient(120deg, #e2cd9f, #c9a86a);
    border-color: transparent;
    box-shadow: 0 8px 26px -12px rgba(201, 168, 106, .7);
}

/* =========================================================
   Feed / timeline
   ========================================================= */

.feed {
    padding: 0 0 60px;
}

.stream {
    list-style: none;
    margin: 0;
    padding: 0;
}

.entry {
    position: relative;
    display: grid;
    grid-template-columns: 118px minmax(0, 1fr);
    gap: 0 38px;
    padding: 0 0 52px;
    opacity: 0;
    transform: translateY(26px);
    transition: opacity .8s var(--ease), transform .8s var(--ease);
}

.entry.is-in {
    opacity: 1;
    transform: none;
}

.entry::before {
    content: "";
    position: absolute;
    left: 118px;
    top: 6px;
    bottom: 0;
    width: 1px;
    background: linear-gradient(180deg, var(--line), transparent 78%);
}

.entry:last-child::before {
    background: linear-gradient(180deg, var(--line), transparent 40%);
}

.entry-date {
    position: relative;
    padding-top: 18px;
    text-align: right;
    color: var(--ink-3);
}

.entry-date::after {
    content: "";
    position: absolute;
    right: -41px;
    top: 34px;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--gold);
    box-shadow: 0 0 0 4px rgba(201, 168, 106, .14);
}

.entry-date .d {
    display: block;
    font-family: var(--serif);
    font-size: 30px;
    line-height: 1;
    letter-spacing: .02em;
    color: var(--ink-2);
}

.entry-date .m {
    display: block;
    margin-top: 9px;
    font-size: 10px;
    letter-spacing: .22em;
    color: var(--ink-3);
}

.entry-date .w {
    display: block;
    margin-top: 12px;
    font-size: 11px;
    letter-spacing: .08em;
    color: var(--ink-3);
}

.entry-date .h {
    display: block;
    font-size: 11px;
    letter-spacing: .16em;
    color: var(--ink-3);
    opacity: .8;
}

.card {
    position: relative;
    padding: 30px 34px 26px;
    border: 1px solid var(--line);
    border-radius: 20px;
    background: linear-gradient(160deg, rgba(255, 255, 255, .045), rgba(255, 255, 255, .015) 55%, rgba(255, 255, 255, .03));
    backdrop-filter: blur(6px);
    transition: border-color .45s var(--ease), transform .45s var(--ease), box-shadow .45s var(--ease);
}

.card:hover {
    border-color: rgba(201, 168, 106, .32);
    transform: translateY(-4px);
    box-shadow: 0 26px 60px -34px rgba(0, 0, 0, .9), 0 0 0 1px rgba(201, 168, 106, .06) inset;
}

/* 整张卡片可点，图片和点赞浮在上层 */
.card-hit {
    position: absolute;
    inset: 0;
    z-index: 2;
    border-radius: inherit;
}

.card-hit:focus-visible {
    outline: 1px solid var(--gold);
    outline-offset: 4px;
}

.gallery {
    position: relative;
    z-index: 3;
}

.card-foot {
    position: relative;
    z-index: 3;
}

.card-top {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 16px;
}

.tag {
    display: inline-flex;
    align-items: center;
    height: 24px;
    padding: 0 12px;
    border: 1px solid rgba(201, 168, 106, .34);
    border-radius: 999px;
    font-size: 11px;
    letter-spacing: .2em;
    color: var(--gold);
    background: rgba(201, 168, 106, .06);
}

.tag-note {
    border-color: rgba(185, 132, 144, .34);
    color: var(--rose);
    background: rgba(185, 132, 144, .07);
}

.tag-photo {
    border-color: rgba(140, 160, 190, .32);
    color: #9fb0c6;
    background: rgba(140, 160, 190, .07);
}

.card-meta {
    font-size: 11.5px;
    letter-spacing: .12em;
    color: var(--ink-3);
}

.card-title {
    margin: 0 0 14px;
    font-family: var(--serif);
    font-size: clamp(22px, 2.4vw, 27px);
    font-weight: 500;
    line-height: 1.5;
    letter-spacing: .06em;
    color: var(--ink);
}

.card-title a {
    background: linear-gradient(transparent 62%, rgba(201, 168, 106, .18) 0);
    transition: color .4s var(--ease);
}

.card-title a:hover {
    color: #fff;
}

.card-text {
    font-size: 15px;
    line-height: 2.05;
    color: var(--ink-2);
    letter-spacing: .04em;
    white-space: pre-wrap;
    word-break: break-word;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.card-text.is-long {
    -webkit-line-clamp: 6;
}

.card-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid rgba(233, 229, 220, .06);
}

.card-foot .left {
    display: flex;
    align-items: center;
    gap: 20px;
}

.like {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 0;
    border: 0;
    background: none;
    font-size: 12.5px;
    letter-spacing: .08em;
    color: var(--ink-3);
    transition: color .35s var(--ease);
}

.like svg {
    width: 15px;
    height: 15px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.6;
    transition: all .35s var(--ease);
}

.like:hover {
    color: var(--rose);
}

.like.is-on {
    color: var(--rose);
}

.like.is-on svg {
    fill: rgba(185, 132, 144, .8);
    stroke: rgba(185, 132, 144, .9);
}

.more {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 12px;
    letter-spacing: .16em;
    color: var(--ink-3);
    transition: color .4s var(--ease), gap .4s var(--ease);
}

.more::after {
    content: "→";
    font-size: 13px;
    opacity: .7;
}

.more:hover {
    color: var(--gold);
    gap: 16px;
}

/* ---- 图片网格 ---- */

.gallery {
    margin: 22px 0 0;
    display: grid;
    gap: 6px;
    border-radius: 14px;
    overflow: hidden;
}

.gallery img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    background: #14141a;
    transition: transform .7s var(--ease), filter .7s var(--ease);
}

.gallery a {
    display: block;
    overflow: hidden;
    position: relative;
}

.gallery a:hover img {
    transform: scale(1.035);
    filter: brightness(1.06);
}

.gallery[data-n="1"] {
    grid-template-columns: 1fr;
}

.gallery[data-n="1"] a {
    aspect-ratio: 16 / 10;
}

.gallery[data-n="2"] {
    grid-template-columns: 1fr 1fr;
}

.gallery[data-n="2"] a {
    aspect-ratio: 1 / 1;
}

.gallery[data-n="3"] {
    grid-template-columns: repeat(3, 1fr);
}

.gallery[data-n="3"] a {
    aspect-ratio: 1 / 1;
}

.gallery[data-n="4"] {
    grid-template-columns: 1fr 1fr;
}

.gallery[data-n="4"] a {
    aspect-ratio: 4 / 3;
}

.gallery[data-n="5"],
.gallery[data-n="6"] {
    grid-template-columns: repeat(3, 1fr);
}

.gallery[data-n="5"] a,
.gallery[data-n="6"] a {
    aspect-ratio: 1 / 1;
}

.gallery[data-n="more"] {
    grid-template-columns: repeat(3, 1fr);
}

.gallery[data-n="more"] a {
    aspect-ratio: 1 / 1;
}

.gallery .count-more {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(6, 6, 9, .62);
    font-family: var(--serif);
    font-size: 26px;
    letter-spacing: .1em;
    color: #f2ece1;
    backdrop-filter: blur(2px);
}

/* =========================================================
   Load more
   ========================================================= */

.pager {
    display: flex;
    justify-content: center;
    padding: 10px 0 70px;
}

.btn-ghost {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 15px 40px;
    border: 1px solid var(--line-strong);
    border-radius: 999px;
    font-size: 13px;
    letter-spacing: .2em;
    color: var(--ink-2);
    background: transparent;
    transition: all .45s var(--ease);
}

.btn-ghost:hover {
    border-color: rgba(201, 168, 106, .55);
    color: var(--ink);
    background: rgba(201, 168, 106, .06);
    box-shadow: 0 18px 40px -26px rgba(201, 168, 106, .5);
}

.btn-ghost[disabled] {
    opacity: .35;
    pointer-events: none;
}

.empty {
    padding: 90px 0 120px;
    text-align: center;
    color: var(--ink-3);
}

.empty strong {
    display: block;
    font-family: var(--serif);
    font-size: 22px;
    font-weight: 500;
    letter-spacing: .16em;
    color: var(--ink-2);
    margin-bottom: 12px;
}

/* =========================================================
   文章详情
   ========================================================= */

.read-progress {
    position: fixed;
    left: 0;
    top: 0;
    height: 2px;
    width: 0;
    z-index: 80;
    background: linear-gradient(90deg, var(--gold-dim), var(--gold));
}

.article {
    padding: 86px 0 40px;
}

.article-head {
    max-width: 760px;
    margin: 0 auto 52px;
    text-align: center;
}

.article-head .tag {
    margin-bottom: 26px;
}

.article-title {
    margin: 0 0 24px;
    font-family: var(--serif);
    font-size: clamp(30px, 4.4vw, 46px);
    font-weight: 500;
    line-height: 1.45;
    letter-spacing: .1em;
    color: var(--ink);
}

.article-sub {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 16px;
    font-size: 12px;
    letter-spacing: .14em;
    color: var(--ink-3);
}

.article-sub .sep {
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: var(--line-strong);
}

.article-body {
    max-width: 720px;
    margin: 0 auto;
    font-family: var(--serif);
    font-size: 17.5px;
    line-height: 2.15;
    color: #ddd7cd;
    letter-spacing: .04em;
}

.article-body p {
    margin: 0 0 30px;
}

.article-body p:first-of-type::first-letter {
    float: left;
    font-size: 3.05em;
    line-height: .92;
    padding: .08em .12em 0 0;
    color: var(--gold);
    font-weight: 500;
}

.article-body.is-html p:first-of-type::first-letter {
    float: none;
    font-size: inherit;
    line-height: inherit;
    padding: 0;
    color: inherit;
    font-weight: inherit;
}

.article-body.is-html img,
.article-body.is-html video {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
}

.article-videos {
    max-width: 900px;
    margin: 6px auto 56px;
    display: grid;
    gap: 18px;
}

.article-videos video {
    width: 100%;
    max-height: 78vh;
    border-radius: 14px;
    background: #000;
    box-shadow: 0 18px 46px -28px rgba(0, 0, 0, .8);
}

.article-media {
    max-width: 900px;
    margin: 12px auto 56px;
    display: grid;
    gap: 10px;
}

.article-media img {
    width: 100%;
    border-radius: 14px;
    background: #14141a;
}

.article-media[data-n="1"] {
    grid-template-columns: 1fr;
}

.article-media[data-n="2"] {
    grid-template-columns: 1fr 1fr;
}

.article-media[data-n="3"] {
    grid-template-columns: repeat(2, 1fr);
}

.article-media[data-n="3"] figure:first-child {
    grid-column: span 2;
}

.article-media[data-n="4"] {
    grid-template-columns: 1fr 1fr;
}

.article-media figure {
    margin: 0;
    overflow: hidden;
    border-radius: 14px;
    cursor: zoom-in;
}

.article-media figure:hover img {
    transform: scale(1.02);
}

.article-media img {
    transition: transform .8s var(--ease);
}

.article-foot {
    max-width: 720px;
    margin: 24px auto 0;
    padding-top: 34px;
    border-top: 1px solid var(--line);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

.article-foot .like {
    font-size: 13.5px;
    letter-spacing: .12em;
    padding: 10px 22px;
    border: 1px solid rgba(185, 132, 144, .28);
    border-radius: 999px;
}

.article-foot .like:hover {
    background: rgba(185, 132, 144, .08);
    border-color: rgba(185, 132, 144, .5);
}

.prev-next {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    max-width: 900px;
    margin: 70px auto 0;
}

.pn-card {
    padding: 26px 28px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: var(--panel);
    transition: border-color .4s var(--ease), background .4s var(--ease);
}

.pn-card:hover {
    border-color: rgba(201, 168, 106, .3);
    background: var(--panel-2);
}

.pn-card .k {
    display: block;
    font-size: 10.5px;
    letter-spacing: .24em;
    color: var(--ink-3);
    margin-bottom: 12px;
}

.pn-card .t {
    font-family: var(--serif);
    font-size: 16px;
    line-height: 1.6;
    color: var(--ink-2);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.pn-card.next {
    text-align: right;
}

/* =========================================================
   归档
   ========================================================= */

.archive {
    padding: 80px 0 90px;
}

.archive-head {
    text-align: center;
    margin-bottom: 64px;
}

.archive-head h1 {
    margin: 0 0 18px;
    font-family: var(--serif);
    font-size: clamp(30px, 4vw, 42px);
    font-weight: 500;
    letter-spacing: .18em;
}

.archive-head p {
    margin: 0;
    font-size: 12px;
    letter-spacing: .24em;
    color: var(--ink-3);
    text-transform: uppercase;
}

.month-block {
    display: grid;
    grid-template-columns: 200px minmax(0, 1fr);
    gap: 0 46px;
    padding: 34px 0;
    border-top: 1px solid var(--line);
}

.month-block .m-label {
    font-family: var(--serif);
    font-size: 20px;
    letter-spacing: .12em;
    color: var(--ink-2);
}

.month-block .m-label span {
    display: block;
    margin-top: 10px;
    font-family: var(--sans);
    font-size: 11px;
    letter-spacing: .2em;
    color: var(--ink-3);
}

.arc-item {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 18px;
    padding: 13px 0;
    border-bottom: 1px dashed rgba(233, 229, 220, .07);
    transition: color .35s var(--ease), padding-left .35s var(--ease);
}

.arc-item:last-child {
    border-bottom: 0;
}

.arc-item:hover {
    color: var(--gold);
    padding-left: 8px;
}

.arc-item .name {
    flex: 0 1 auto;
    min-width: 0;
    font-size: 15.5px;
    color: inherit;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.arc-main {
    display: flex;
    align-items: baseline;
    gap: 10px;
    min-width: 0;
    flex: 0 1 auto;
}

.arc-read {
    flex: none;
    font-size: 11px;
    letter-spacing: .04em;
    color: var(--ink-3);
    white-space: nowrap;
}

.arc-meta {
    flex: none;
    margin-left: auto;
    display: flex;
    align-items: baseline;
    justify-content: flex-end;
    gap: 14px;
    font-size: 11px;
    letter-spacing: .04em;
    color: var(--ink-3);
    white-space: nowrap;
}

.arc-meta .arc-author {
    color: var(--ink-2);
}

.arc-meta .arc-date {
    letter-spacing: .06em;
}

@media (max-width: 560px) {
    .arc-item {
        display: grid;
        grid-template-columns: minmax(0, 1fr);
        align-items: start;
        gap: 6px;
    }

    .arc-main {
        width: 100%;
    }

    .arc-meta {
        margin-left: 0;
        flex-wrap: wrap;
        justify-content: flex-end;
        white-space: normal;
        row-gap: 2px;
        text-align: right;
        font-size: 10.5px;
    }
}

/* =========================================================
   Footer
   ========================================================= */

.site-footer {
    padding: 64px 0 54px;
    border-top: 1px solid var(--line);
    margin-top: 40px;
}

.foot-inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 430px);
    align-items: start;
    gap: 30px 70px;
}

.foot-mark {
    font-family: var(--serif);
    font-size: 22px;
    letter-spacing: .24em;
    color: var(--ink-2);
}

.foot-note {
    max-width: 430px;
    margin: 14px 0 0;
    font-size: 12px;
    line-height: 1.9;
    letter-spacing: .08em;
    color: var(--ink-3);
}

.foot-left {
    width: 100%;
    max-width: 460px;
    min-width: 0;
    text-align: left;
}

.foot-legal {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    margin-top: 18px;
}

.foot-side {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 18px;
    width: 100%;
    min-width: 0;
}

.foot-disclaimer {
    max-width: 430px;
    margin: 0;
    font-size: 12px;
    line-height: 1.9;
    letter-spacing: .06em;
    color: var(--ink-3);
    text-align: right;
}

.foot-side .foot-links {
    margin-top: 0;
    justify-content: flex-end;
}

.foot-side-top {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 8px;
    width: 100%;
}

.foot-archive-link {
    display: inline-flex;
    align-items: center;
    padding: 4px 0;
    font-size: 12px;
    letter-spacing: .16em;
    color: var(--ink-3);
    border-bottom: 1px solid transparent;
    transition: color .35s var(--ease), border-color .35s var(--ease);
}

.foot-archive-link:hover {
    color: var(--gold);
    border-bottom-color: rgba(201, 168, 106, .4);
}

.foot-player {
    width: 100%;
    margin: 0;
}

.foot-sub {
    margin-top: 12px;
    font-size: 11px;
    letter-spacing: .22em;
    color: var(--ink-3);
    text-transform: uppercase;
}

.foot-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 20px;
    margin-top: 14px;
    font-size: 12px;
    letter-spacing: .12em;
    color: var(--ink-3);
}

.foot-links a:hover {
    color: var(--gold);
}

/* =========================================================
   灯箱
   ========================================================= */

.lightbox {
    position: fixed;
    inset: 0;
    z-index: 120;
    display: none;
    align-items: center;
    justify-content: center;
    background: rgba(4, 4, 7, .94);
    backdrop-filter: blur(10px);
    padding: 5vh 4vw;
}

.lightbox.is-open {
    display: flex;
}

.lightbox img {
    max-width: 100%;
    max-height: 90vh;
    border-radius: 8px;
    box-shadow: 0 40px 120px -40px #000;
}

.lb-close,
.lb-prev,
.lb-next {
    position: absolute;
    width: 52px;
    height: 52px;
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 50%;
    background: rgba(255, 255, 255, .04);
    color: #efeae2;
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all .3s var(--ease);
}

.lb-close:hover,
.lb-prev:hover,
.lb-next:hover {
    background: rgba(201, 168, 106, .16);
    border-color: rgba(201, 168, 106, .5);
}

.lb-close {
    top: 26px;
    right: 26px;
}

.lb-prev {
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
}

.lb-next {
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
}

.lb-count {
    position: absolute;
    bottom: 26px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 12px;
    letter-spacing: .2em;
    color: rgba(239, 234, 226, .5);
}

/* =========================================================
   Toast
   ========================================================= */

.toast {
    position: fixed;
    left: 50%;
    bottom: 40px;
    transform: translate(-50%, 16px);
    z-index: 130;
    padding: 12px 24px;
    border-radius: 999px;
    border: 1px solid rgba(201, 168, 106, .35);
    background: rgba(14, 13, 18, .92);
    color: var(--ink);
    font-size: 13px;
    letter-spacing: .1em;
    opacity: 0;
    pointer-events: none;
    transition: all .45s var(--ease);
}

.toast.is-on {
    opacity: 1;
    transform: translate(-50%, 0);
}

/* =========================================================
   响应式
   ========================================================= */

@media (max-width: 900px) {
    .wrap {
        padding: 0 22px;
    }

    .site-header .wrap {
        height: 62px;
    }

    .brand-en {
        display: none;
    }

    .nav {
        gap: 18px;
    }

    .nav a {
        font-size: 13px;
        letter-spacing: .06em;
    }

    .hero {
        padding: 64px 0 56px;
    }

    .hero::after {
        right: -46%;
        width: 380px;
        height: 380px;
        margin-top: -190px;
        opacity: .55;
    }

    .hero h1 {
        letter-spacing: .1em;
    }

    .hero-desc {
        font-size: 14.5px;
    }

    .entry {
        grid-template-columns: 1fr;
        gap: 14px;
        padding-bottom: 34px;
    }

    .entry::before {
        display: none;
    }

    .entry-date {
        display: flex;
        align-items: baseline;
        gap: 10px;
        padding: 0;
        text-align: left;
    }

    .entry-date::after {
        display: none;
    }

    .entry-date .d {
        font-size: 17px;
        color: var(--ink-3);
    }

    .entry-date .m {
        margin: 0;
        font-size: 10px;
    }

    .entry-date .w {
        margin: 0;
        font-size: 10px;
    }

    .card {
        padding: 22px 20px 20px;
        border-radius: 16px;
    }

    .card-text {
        font-size: 14.5px;
        line-height: 1.95;
    }

    .card-foot {
        margin-top: 18px;
        padding-top: 16px;
    }

    .section-head {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
        margin-bottom: 32px;
    }

    .article {
        padding: 52px 0 24px;
    }

    .article-head {
        margin-bottom: 36px;
    }

    .article-body {
        font-size: 16.5px;
        line-height: 2.05;
    }

    .prev-next {
        grid-template-columns: 1fr;
        gap: 12px;
        margin-top: 48px;
    }

    .pn-card.next {
        text-align: left;
    }

    .month-block {
        grid-template-columns: 1fr;
        gap: 6px;
        padding: 26px 0;
    }

    .archive {
        padding: 56px 0 70px;
    }

    .lb-prev,
    .lb-next {
        width: 42px;
        height: 42px;
        font-size: 16px;
    }

    .lb-prev {
        left: 10px;
    }

    .lb-next {
        right: 10px;
    }

    .foot-inner {
        grid-template-columns: minmax(0, 1fr);
        align-items: flex-start;
        gap: 36px;
    }
}

@media (max-width: 520px) {
    .hero h1 {
        font-size: 34px;
        letter-spacing: .08em;
    }

    .gallery[data-n="3"],
    .gallery[data-n="5"],
    .gallery[data-n="6"],
    .gallery[data-n="more"] {
        grid-template-columns: repeat(2, 1fr);
    }

    .article-media[data-n="3"] {
        grid-template-columns: 1fr;
    }

    .article-media[data-n="3"] figure:first-child {
        grid-column: span 1;
    }

    .hero-meta {
        gap: 16px;
        font-size: 11px;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: .001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .001ms !important;
    }

    .entry {
        opacity: 1;
        transform: none;
    }
}

/* =========================================================
   改版：顶部 / 幻灯片 / 时间线 / 评论
   ========================================================= */

/* ---- 顶部：站名在左，首页在右 ---- */
.site-header .wrap {
    justify-content: space-between;
}

/* ---- 首页两栏 ---- */
.hero {
    padding: 78px 0 60px;
}

.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, .72fr) minmax(0, 1.28fr);
    gap: 48px;
    align-items: center;
}

.hero-left {
    position: relative;
    z-index: 2;
    max-width: none;
}

.hero-left h1 {
    font-size: clamp(28px, 3.3vw, 46px);
    letter-spacing: .1em;
    margin-bottom: 20px;
}

.hero-desc {
    max-width: 24em;
    margin: 0 0 30px;
}

.hero-desc p {
    margin: 0 0 8px;
    font-size: 15px;
    line-height: 1.95;
    color: var(--ink-2);
    letter-spacing: .05em;
}

.hero-desc p:last-child {
    margin-bottom: 0;
}

/* ---- 幻灯片 ---- */
.hero-slider {
    position: relative;
    z-index: 2;
    aspect-ratio: 4 / 2.7;
    border: 1px solid var(--line);
    border-radius: 20px;
    overflow: hidden;
    background: #0b0b0f;
    box-shadow: 0 40px 90px -50px rgba(0, 0, 0, .9);
}

.hero-slider .slides {
    position: absolute;
    inset: 0;
}

.hero-slider .slide {
    position: absolute;
    inset: 0;
    margin: 0;
    opacity: 0;
    transform: scale(1.045);
    transition: opacity 1.1s var(--ease), transform 6s linear;
    pointer-events: none;
}

.hero-slider .slide.is-active {
    opacity: 1;
    transform: scale(1);
    pointer-events: auto;
}

.hero-slider .slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-slider figcaption {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 60px 26px 54px;
    font-size: 12px;
    letter-spacing: .16em;
    color: #ece6da;
    background: linear-gradient(180deg, transparent, rgba(6, 6, 9, .82));
}

.slider-ui {
    position: absolute;
    left: 24px;
    right: 24px;
    bottom: 18px;
    z-index: 4;
    display: flex;
    align-items: center;
    justify-content: space-between;
    pointer-events: none;
}

.slider-dots {
    display: flex;
    gap: 7px;
    pointer-events: auto;
}

.dot-btn {
    width: 20px;
    height: 2px;
    padding: 0;
    border: 0;
    background: rgba(238, 234, 227, .26);
    cursor: pointer;
    transition: width .45s var(--ease), background .45s var(--ease);
}

.dot-btn.is-active {
    width: 32px;
    background: var(--gold);
}

.slider-count {
    font-size: 10.5px;
    letter-spacing: .22em;
    color: rgba(238, 234, 227, .55);
}

.slider-count b {
    font-weight: 400;
    color: #f2ece1;
}

.slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 5;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid rgba(238, 234, 227, .16);
    background: rgba(8, 8, 11, .5);
    backdrop-filter: blur(6px);
    color: #eee;
    font-size: 17px;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    transition: opacity .35s var(--ease), border-color .35s var(--ease);
}

.slider-nav.prev { left: 16px; }
.slider-nav.next { right: 16px; }

.hero-slider:hover .slider-nav {
    opacity: 1;
}

.slider-nav:hover {
    border-color: rgba(201, 168, 106, .5);
}

/* ---- 时间线：年份 ---- */
.entry-date .y {
    display: block;
    margin-bottom: 9px;
    font-size: 10px;
    letter-spacing: .24em;
    color: var(--gold-dim);
    opacity: .85;
}

/* ---- 卡片顶部：时间 / 天气 / 阅读量 ---- */
.card-top {
    flex-wrap: wrap;
    gap: 8px 16px;
    margin-bottom: 14px;
}

.card-time {
    font-size: 11.5px;
    letter-spacing: .1em;
    color: var(--ink-3);
}

.card-views {
    margin-left: auto;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 11.5px;
    letter-spacing: .06em;
    color: var(--ink-3);
}

.card-views svg,
.sub-views svg {
    width: 14px;
    height: 14px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.5;
    opacity: .8;
}

/* ---- 详情页两栏：时间树 + 正文 ---- */
.article-page {
    padding: 44px 0 30px;
}

.article-wrap {
    display: grid;
    grid-template-columns: 286px minmax(0, 1fr);
    gap: 46px;
    align-items: start;
    max-width: 1180px;
}

.post-tree {
    position: sticky;
    top: 96px;
    align-self: start;
    max-height: calc(100vh - 150px);
    display: flex;
    flex-direction: column;
    padding-left: 26px;
    border-left: 1px solid rgba(233, 229, 220, .12);
}

.tree-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 18px;
}

.tree-title {
    font-family: var(--serif);
    font-size: 17px;
    letter-spacing: .2em;
    color: var(--ink);
}

.tree-count {
    font-size: 10px;
    letter-spacing: .14em;
    color: var(--ink-3);
}

.tree-scroll {
    overflow-y: auto;
    padding-right: 6px;
    scrollbar-width: thin;
    scrollbar-color: rgba(201, 168, 106, .3) transparent;
}

.tree-scroll::-webkit-scrollbar {
    width: 4px;
}

.tree-scroll::-webkit-scrollbar-thumb {
    background: rgba(201, 168, 106, .28);
    border-radius: 4px;
}

.tree-year {
    margin-bottom: 14px;
}

.year-label {
    position: relative;
    display: block;
    margin-bottom: 2px;
    font-family: var(--serif);
    font-size: 16px;
    letter-spacing: .18em;
    color: var(--gold);
}

.year-label::before {
    content: "";
    position: absolute;
    left: -26px;
    top: 50%;
    width: 18px;
    height: 1px;
    background: rgba(201, 168, 106, .5);
}

.tree-month {
    margin: 0 0 4px;
}

.month-label {
    position: relative;
    display: block;
    margin: 8px 0 2px;
    padding-left: 14px;
    font-size: 12.5px;
    letter-spacing: .16em;
    color: var(--gold-dim);
}

.month-label::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    width: 8px;
    height: 1px;
    background: rgba(201, 168, 106, .35);
}

.day-label {
    display: block;
    margin: 4px 0 3px;
    padding-left: 26px;
    font-size: 11px;
    letter-spacing: .08em;
    color: var(--ink-3);
    opacity: .9;
}

.tree-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.tree-node {
    position: relative;
    padding: 3px 0;
}

.tree-node a {
    position: relative;
    display: flex;
    align-items: baseline;
    gap: 9px;
    padding-left: 32px;
}

.tree-node a::before {
    content: "";
    position: absolute;
    left: 20px;
    top: 50%;
    width: 5px;
    height: 5px;
    margin-top: -2.5px;
    border-radius: 50%;
    background: rgba(238, 234, 227, .35);
    transition: background .35s var(--ease), box-shadow .35s var(--ease);
}

.tree-node.is-current a::before {
    background: var(--gold);
    box-shadow: 0 0 0 4px rgba(201, 168, 106, .16);
}

.node-time {
    flex: none;
    width: 34px;
    font-size: 10.5px;
    letter-spacing: .04em;
    color: var(--ink-3);
    font-variant-numeric: tabular-nums;
    opacity: .75;
}

.node-title {
    flex: 0 1 auto;
    min-width: 0;
    max-width: 100%;
    font-size: 12px;
    line-height: 1.5;
    color: var(--ink-2);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: color .3s var(--ease);
}

.tree-node.is-current .node-title {
    color: var(--gold);
}

.tree-node a:hover .node-title {
    color: var(--ink);
}

.article-single {
    padding: 0 0 20px;
}

.article-single .article-head {
    max-width: none;
    margin: 0 0 36px;
    text-align: left;
}

.article-single .article-sub {
    justify-content: flex-end;
    gap: 12px;
}

.article-single .article-body,
.article-single .article-media,
.article-single .article-foot,
.article-single .prev-next {
    max-width: none;
    margin-left: 0;
    margin-right: 0;
}

.sub-views {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

/* ---- 分享 ---- */
.share {
    display: flex;
    align-items: center;
    gap: 9px;
    flex-wrap: wrap;
    margin-left: auto;
}

.share-label {
    font-size: 11px;
    letter-spacing: .14em;
    color: var(--ink-3);
}

.share-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    height: 34px;
    padding: 0 14px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: transparent;
    font-family: var(--sans);
    font-size: 11.5px;
    letter-spacing: .06em;
    color: var(--ink-2);
    cursor: pointer;
    transition: all .35s var(--ease);
}

.share-btn svg {
    width: 14px;
    height: 14px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.5;
}

.share-btn:hover {
    border-color: rgba(201, 168, 106, .42);
    color: var(--ink);
}

.share-btn.wx:hover {
    color: #86c98a;
    border-color: rgba(134, 201, 138, .4);
}

.share-btn.qq:hover {
    color: #79b8e6;
    border-color: rgba(121, 184, 230, .4);
}

/* ---- 评论 ---- */
.comments {
    margin-top: 64px;
    padding-top: 40px;
    border-top: 1px solid var(--line);
}

.comments-head h2 {
    margin: 0;
    font-family: var(--serif);
    font-size: 24px;
    font-weight: 500;
    letter-spacing: .12em;
    color: var(--ink);
}

.comments-head h2 span {
    margin-left: 10px;
    font-family: var(--sans);
    font-size: 12px;
    letter-spacing: .1em;
    color: var(--gold);
    vertical-align: middle;
}

.comments-head p {
    margin: 0 0 26px;
    font-size: 12.5px;
    letter-spacing: .06em;
    color: var(--ink-3);
}

.comment-form {
    position: relative;
    padding: 22px 22px 18px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: linear-gradient(160deg, rgba(255, 255, 255, .04), rgba(255, 255, 255, .012));
    margin-bottom: 34px;
}

.comment-form .hp {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    opacity: 0;
}

.comment-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px 16px;
    margin-bottom: 18px;
}

.c-name {
    display: flex;
    align-items: center;
    gap: 10px;
    width: auto;
    max-width: 100%;
    margin-left: auto;
}

.c-name > span {
    margin-bottom: 0;
    font-size: 10.5px;
    letter-spacing: .16em;
    color: var(--ink-3);
    white-space: nowrap;
}

.c-text {
    display: block;
    width: 100%;
}

.c-text > span {
    display: block;
    margin-bottom: 8px;
    font-size: 10.5px;
    letter-spacing: .16em;
    color: var(--ink-3);
}

.comment-form input[type="text"],
.comment-form textarea {
    width: 100%;
    padding: 11px 14px;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: rgba(255, 255, 255, .03);
    color: var(--ink);
    font-family: var(--sans);
    font-size: 13.5px;
    line-height: 1.8;
    outline: none;
    transition: border-color .35s var(--ease);
}

.comment-form textarea {
    resize: vertical;
    min-height: 96px;
}

.comment-form .c-name input[type="text"] {
    width: 148px;
    flex: 0 0 auto;
}

.comment-form input[type="text"]:focus,
.comment-form textarea:focus {
    border-color: rgba(201, 168, 106, .45);
}

.comment-actions {
    margin-top: 14px;
    display: flex;
    justify-content: flex-end;
}

.btn-primary {
    height: 42px;
    padding: 0 30px;
    border: 1px solid rgba(201, 168, 106, .5);
    border-radius: 999px;
    background: linear-gradient(180deg, rgba(201, 168, 106, .92), rgba(176, 143, 84, .92));
    color: #17140f;
    font-family: var(--sans);
    font-size: 12.5px;
    letter-spacing: .14em;
    cursor: pointer;
    transition: all .35s var(--ease);
}

.btn-primary:hover {
    filter: brightness(1.08);
}

.comment-notice {
    margin-bottom: 22px;
    padding: 12px 16px;
    border: 1px solid rgba(201, 168, 106, .3);
    border-radius: 10px;
    background: rgba(201, 168, 106, .08);
    font-size: 12.5px;
    color: var(--gold);
}

.comment-notice.is-err {
    border-color: rgba(185, 132, 144, .35);
    background: rgba(185, 132, 144, .08);
    color: var(--rose);
}

.comment-divider {
    height: 1px;
    margin: 0 0 6px;
    background: var(--line);
}

.comment-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.comment {
    padding: 20px 0;
    border-bottom: 1px solid rgba(233, 229, 220, .07);
}

.comment:last-child {
    border-bottom: 0;
}

.comment-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px 10px;
    margin-bottom: 10px;
}

.c-name-wrap {
    display: inline-flex;
    align-items: center;
    gap: 2px;
    min-width: 0;
    max-width: min(260px, 58vw);
}

.c-name-box {
    display: inline-flex;
    align-items: center;
    min-width: 0;
    padding: 1px 7px;
    border: 1px solid var(--gold-dim);
    border-radius: 4px;
    background: var(--gold-glow);
}

.c-name-text {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 12px;
    font-weight: 500;
    line-height: 1.55;
    letter-spacing: .06em;
    color: var(--gold);
}

.c-name-colon {
    flex: none;
    font-size: 12.5px;
    font-weight: 500;
    line-height: 1.55;
    color: var(--gold);
}

.c-time {
    margin-left: auto;
    font-size: 10.5px;
    letter-spacing: .08em;
    color: var(--ink-3);
}

.comment-text {
    padding-left: 0;
    font-size: 14.5px;
    line-height: 1.9;
    color: var(--ink-2);
    white-space: pre-wrap;
    word-break: break-word;
}

.comment-empty {
    margin: 8px 0 0;
    font-size: 13px;
    color: var(--ink-3);
}

.reply-target {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin: -2px 0 14px;
    padding: 8px 12px 8px 14px;
    border-left: 2px solid rgba(201, 168, 106, .55);
    border-radius: 0 8px 8px 0;
    background: rgba(201, 168, 106, .06);
    font-size: 11.5px;
    letter-spacing: .06em;
    color: var(--ink-3);
}

.reply-target[hidden] {
    display: none;
}

.reply-target b {
    color: var(--gold);
    font-weight: 500;
}

.reply-target button {
    flex: 0 0 auto;
    padding: 2px 8px;
    border: 0;
    border-radius: 6px;
    background: transparent;
    color: var(--ink-3);
    font: inherit;
    cursor: pointer;
}

.reply-target button:hover {
    color: var(--gold);
}

.c-badge {
    padding: 1px 6px;
    border: 1px solid rgba(201, 168, 106, .35);
    border-radius: 999px;
    font-size: 9.5px;
    letter-spacing: .08em;
    color: var(--gold);
}

.c-reply-to {
    font-size: 10.5px;
    letter-spacing: .05em;
    color: var(--ink-3);
}

.comment-tools {
    margin: 5px 0 0;
}

.c-reply-btn {
    padding: 0;
    border: 0;
    background: transparent;
    font-family: var(--sans);
    font-size: 11px;
    letter-spacing: .08em;
    color: var(--ink-3);
    cursor: pointer;
    transition: color .3s var(--ease);
}

.c-reply-btn:hover {
    color: var(--gold);
}

.comment-replies {
    list-style: none;
    margin: 12px 0 0;
    padding: 0 0 0 16px;
    border-left: 1px solid rgba(201, 168, 106, .14);
}

.comment.is-reply {
    padding: 14px 0;
    border-bottom-style: dashed;
    border-bottom-color: rgba(233, 229, 220, .06);
}

.comment-replies .comment:last-child {
    border-bottom: 0;
}

.comment-replies .comment-text {
    font-size: 14px;
}

/* ---- 页脚：左侧备案 / 版权 ---- */
.foot-copy {
    font-size: 11.5px;
    letter-spacing: .12em;
    color: var(--ink-3);
    text-align: left;
}

.foot-icp {
    display: inline-flex;
    margin-left: 0;
    font-size: 11.5px;
    letter-spacing: .12em;
    color: var(--ink-3);
    text-decoration: none;
    white-space: nowrap;
    transition: color .35s var(--ease);
}

.foot-icp:hover {
    color: var(--gold);
}

.foot-icp a {
    color: var(--ink-3);
    transition: color .35s var(--ease);
}

.foot-icp a:hover {
    color: var(--gold);
}

.foot-sub a {
    color: var(--ink-3);
    transition: color .35s var(--ease);
}

.foot-sub a:hover {
    color: var(--gold);
}

.foot-dot {
    margin: 0 8px;
    opacity: .4;
}

/* ---- 响应式（改版） ---- */
@media (max-width: 1080px) {
    .article-wrap {
        grid-template-columns: 232px minmax(0, 1fr);
        gap: 34px;
    }
}

@media (max-width: 900px) {
    .hero {
        padding: 56px 0 46px;
    }

    .hero-grid {
        grid-template-columns: 1fr;
        gap: 34px;
    }

    .hero-left h1 {
        font-size: clamp(30px, 7vw, 44px);
    }

    .hero-slider {
        aspect-ratio: 16 / 10;
        border-radius: 16px;
    }

    .slider-nav {
        opacity: 1;
        width: 34px;
        height: 34px;
    }

    .article-page {
        padding-top: 10px;
    }

    .article-wrap {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .post-tree {
        display: none;
    }

    .article-single .article-head {
        margin-bottom: 28px;
    }

    .share {
        margin-left: 0;
        width: 100%;
        margin-top: 14px;
    }

    .comment-text {
        padding-left: 0;
    }

    .comment-tools {
        margin-left: 0;
    }

    .foot-inner {
        align-items: flex-start;
    }

    .foot-left {
        width: 100%;
    }

    .foot-side {
        width: 100%;
        align-items: flex-end;
    }

    .foot-side-top {
        align-items: flex-end;
    }

    .foot-copy {
        display: block;
        text-align: left;
    }

    .foot-icp {
        margin-left: 0;
    }
}

@media (max-width: 520px) {
    .hero-slider figcaption {
        padding: 46px 18px 46px;
    }

    .slider-ui {
        left: 18px;
        right: 18px;
    }

    .card-views {
        margin-left: 0;
    }

    .share-btn {
        height: 32px;
        padding: 0 12px;
    }
}

/* =========================================================
   v5 · 悬浮工具 / 换色 / 无标题卡片
   ========================================================= */

.float-tools {
    position: fixed;
    right: 24px;
    bottom: 28px;
    z-index: 45;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.ft-btn {
    width: 44px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 1px solid rgba(233, 229, 220, .14);
    border-radius: 50%;
    background: rgba(12, 12, 18, .74);
    backdrop-filter: blur(10px);
    color: var(--ink-2);
    cursor: pointer;
    transition: border-color .35s var(--ease), color .35s var(--ease), transform .35s var(--ease), background .35s var(--ease);
}

.ft-btn:hover {
    border-color: rgba(201, 168, 106, .42);
    color: var(--ink);
    transform: translateY(-2px);
}

.ft-btn svg {
    width: 17px;
    height: 17px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.6;
}

.theme-dot {
    width: 13px;
    height: 13px;
    border-radius: 50%;
    background: var(--gold);
    box-shadow: 0 0 0 3px rgba(201, 168, 106, .14);
    transition: background .35s var(--ease), box-shadow .35s var(--ease);
}

.theme-picker {
    position: relative;
}

/* 顶栏配色直选：三种颜色直接并排显示 */
.theme-inline {
    display: flex;
    align-items: center;
    gap: 5px;
    margin-right: 12px;
    flex: none;
}

.theme-option {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 30px;
    padding: 0 9px;
    border: 1px solid var(--line);
    border-radius: 9px;
    font-family: var(--sans);
    font-size: 11.5px;
    line-height: 1;
    letter-spacing: .08em;
    cursor: pointer;
    transition: border-color .28s var(--ease), box-shadow .28s var(--ease), transform .28s var(--ease);
}

.theme-option:hover,
.theme-option:focus-visible {
    border-color: rgba(201, 168, 106, .55);
    outline: none;
    transform: translateY(-1px);
}

.theme-option.is-active {
    border-color: var(--gold);
    box-shadow: 0 0 0 1px rgba(201, 168, 106, .35), 0 0 16px -8px rgba(201, 168, 106, .7);
}

.theme-dark {
    background: #08080b;
    color: #f4e9d6;
    border-color: rgba(255, 255, 255, .18);
}

.theme-beige {
    background: #f1e5cf;
    color: #4f3f2b;
    border-color: rgba(255, 255, 255, .5);
}

.theme-white {
    background: #fff;
    color: #333;
    border-color: rgba(0, 0, 0, .16);
}

.theme-short { display: none; }

/* 顶栏换色按钮：悬停或点击弹出三色选择 */
.theme-picker-top {
    margin-right: 18px;
}

.theme-trigger {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    height: 30px;
    padding: 0 11px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: rgba(255, 255, 255, .025);
    font-family: var(--sans);
    font-size: 12px;
    line-height: 1;
    letter-spacing: .12em;
    color: var(--ink-3);
    cursor: pointer;
    transition: color .28s var(--ease), border-color .28s var(--ease), background .28s var(--ease);
}

.theme-trigger-dot {
    width: 11px;
    height: 11px;
    border-radius: 50%;
    background: conic-gradient(#08080b 0 33%, #f1e5cf 33% 66%, #fff 66% 100%);
    box-shadow: 0 0 0 1px rgba(255, 255, 255, .22), 0 0 0 2px rgba(201, 168, 106, .1);
}

.theme-trigger:hover,
.theme-trigger:focus-visible,
.theme-picker.is-open .theme-trigger {
    color: var(--ink);
    border-color: rgba(201, 168, 106, .55);
    background: var(--gold-glow);
    outline: none;
}

.strip-dark { background: #08080b; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12); }
.strip-beige { background: #f1e5cf; }
.strip-white { background: #fff; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .16); }

.theme-picker-top .theme-palette {
    top: calc(100% + 12px);
    right: 0;
    bottom: auto;
    z-index: 80;
    transform-origin: top right;
}

.theme-picker-top .theme-palette::before {
    top: -14px;
    bottom: auto;
}

.theme-picker-top .theme-swatch {
    width: auto;
    min-width: 58px;
    height: 31px;
    padding: 0 10px;
    border-radius: 9px;
    font-family: var(--sans);
    font-size: 11.5px;
    line-height: 1;
    letter-spacing: .08em;
}

.theme-picker-top .swatch-dark { color: #f4e9d6; }
.theme-picker-top .swatch-beige { color: #4f3f2b; }
.theme-picker-top .swatch-white { color: #333; }

.theme-palette {
    position: absolute;
    right: 0;
    bottom: calc(100% + 12px);
    display: flex;
    gap: 9px;
    padding: 10px;
    border: 1px solid var(--line-strong);
    border-radius: 16px;
    background: var(--bg-soft);
    box-shadow: 0 16px 40px -18px rgba(0, 0, 0, .65);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(8px) scale(.94);
    transform-origin: bottom right;
    transition: opacity .28s var(--ease), transform .28s var(--ease), visibility .28s;
}

.theme-palette::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -14px;
    height: 14px;
}

.theme-picker:hover .theme-palette,
.theme-picker:focus-within .theme-palette,
.theme-picker.is-open .theme-palette {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0) scale(1);
}

.theme-picker.is-closed .theme-palette {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(8px) scale(.94);
}

.theme-swatch {
    width: 32px;
    height: 32px;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 50%;
    outline: none;
    transition: transform .22s var(--ease), box-shadow .22s var(--ease), border-color .22s var(--ease);
}

.theme-swatch:hover {
    transform: scale(1.09);
}

.theme-swatch:focus-visible {
    box-shadow: 0 0 0 2px var(--gold);
}

.theme-swatch.is-active {
    box-shadow: 0 0 0 2px var(--gold), 0 4px 12px -4px rgba(0, 0, 0, .45);
}

.swatch-dark {
    background: #08080b;
}

.swatch-beige {
    background: #f1e5cf;
}

.swatch-white {
    background: #ffffff;
    border-color: rgba(0, 0, 0, .16);
}

#backTop {
    opacity: .92;
}

#backTop:hover {
    opacity: 1;
}



/* ---- 文章页去掉大标题后的间距 ---- */
.article-single .article-head {
    margin: 0 0 24px;
}

.article-single .article-sub {
    font-size: 12.5px;
}

.article-single .article-body {
    margin-top: 4px;
}

/* ---- 卡片没有标题，正文就是主角 ---- */
.card .card-top {
    margin-bottom: 12px;
}

.card .card-text {
    font-size: 15.5px;
}

.card-foot {
    justify-content: flex-start;
}

@media (max-width: 900px) {
    .float-tools {
        right: 14px;
        bottom: 18px;
        gap: 8px;
    }

    .ft-btn {
        width: 40px;
        height: 40px;
    }
}

@media (max-width: 520px) {
    .float-tools {
        right: 12px;
        bottom: 14px;
    }

    .ft-btn {
        width: 38px;
        height: 38px;
    }
}
/* =========================================================
   v6 · 正文白框 / 浅色（白色）主题
   ========================================================= */

.article-box {
    position: relative;
    margin: 0 0 8px;
    padding: 30px 34px 14px;
    border: 1px solid var(--line);
    border-radius: 20px;
    background: linear-gradient(160deg, rgba(255, 255, 255, .04), rgba(255, 255, 255, .012) 55%, rgba(255, 255, 255, .028));
    backdrop-filter: blur(6px);
}

.article-box .article-media {
    max-width: none;
    margin: 0 0 34px;
}

.article-box .article-body {
    max-width: none;
    margin: 0;
}

/* 朋友圈导入：短句不做首字下沉 */
.article-box.is-wechat .article-body p:first-of-type::first-letter {
    float: none;
    font-size: inherit;
    line-height: inherit;
    padding: 0;
    color: inherit;
    font-weight: inherit;
}

/* =========================================================
   朋友圈导入占位图
   ========================================================= */

.media-placeholder {
    position: relative;
    z-index: 3;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px 12px;
    margin: 16px 0 0;
    padding: 12px 16px;
    border: 1px dashed var(--line-strong);
    border-radius: 10px;
    background: var(--bg-soft);
    color: var(--ink-3);
}

.media-placeholder .mp-title {
    font-family: var(--serif);
    font-size: 13px;
    line-height: 1.2;
    letter-spacing: .12em;
    color: var(--ink-2);
    white-space: nowrap;
}

.media-placeholder .mp-sub {
    font-size: 11px;
    line-height: 1.3;
    letter-spacing: .06em;
    color: var(--ink-3);
    opacity: .8;
}

.article-box .article-media-placeholder {
    max-width: 360px;
    margin: 0 auto 26px;
    padding: 11px 16px;
}

@media (max-width: 640px) {
    .media-placeholder {
        margin-top: 14px;
        padding: 10px 14px;
    }

    .article-box .article-media-placeholder {
        max-width: 100%;
        margin: 0 0 22px;
    }
}

.article-foot {
    margin-top: 28px;
}

/* =========================================================
   网页颜色：深色黑（默认） / 暖色米黄 / 浅色白
   ========================================================= */

html[data-theme="beige"],
html[data-theme="white"] {
    --panel: rgba(255, 255, 255, .76);
    --panel-2: rgba(255, 255, 255, .94);
    --rose: #a8626f;
}

html[data-theme="beige"] {
    --bg: #f2e7d3;
    --bg-soft: #eaddc7;
    --line: rgba(60, 46, 26, .14);
    --line-strong: rgba(60, 46, 26, .28);
    --ink: #2b2318;
    --ink-2: #554a3a;
    --ink-3: #8a7b65;
    --gold: #97712f;
    --gold-dim: #75551f;
    --gold-glow: rgba(151, 113, 47, .15);
}

html[data-theme="white"] {
    --bg: #ffffff;
    --bg-soft: #f7f7f5;
    --line: rgba(20, 20, 20, .11);
    --line-strong: rgba(20, 20, 20, .22);
    --ink: #191919;
    --ink-2: #4a4a48;
    --ink-3: #83817c;
    --gold: #a07f3d;
    --gold-dim: #7d6128;
    --gold-glow: rgba(160, 127, 61, .12);
}

html[data-theme="beige"] body,
html[data-theme="white"] body {
    background: var(--bg);
}

html[data-theme="beige"] body::before {
    background:
        radial-gradient(120% 75% at 8% -10%, rgba(214, 183, 132, .40), transparent 62%),
        radial-gradient(95% 60% at 92% 2%, rgba(196, 150, 110, .20), transparent 58%),
        linear-gradient(180deg, #faf0dd 0%, #f3e7d1 46%, #ecdcbf 100%);
}

html[data-theme="white"] body::before {
    background:
        radial-gradient(120% 75% at 8% -10%, rgba(0, 0, 0, .025), transparent 60%),
        radial-gradient(95% 60% at 92% 2%, rgba(0, 0, 0, .018), transparent 58%),
        linear-gradient(180deg, #ffffff 0%, #fdfdfc 46%, #f8f8f6 100%);
}

html[data-theme="beige"] body::after,
html[data-theme="white"] body::after {
    opacity: .03;
}

html[data-theme="beige"] .site-header {
    background: linear-gradient(180deg, rgba(249, 240, 224, .94), rgba(249, 240, 224, .68));
    border-bottom-color: var(--line);
}

html[data-theme="white"] .site-header {
    background: linear-gradient(180deg, rgba(255, 255, 255, .94), rgba(255, 255, 255, .7));
    border-bottom-color: var(--line);
}

html[data-theme="beige"] .card,
html[data-theme="white"] .card {
    border-color: var(--line);
    background: linear-gradient(160deg, rgba(255, 255, 255, .96), rgba(255, 255, 255, .8) 55%, rgba(255, 255, 255, .92));
    box-shadow: 0 22px 48px -38px rgba(64, 48, 28, .3);
}

html[data-theme="beige"] .card:hover,
html[data-theme="white"] .card:hover {
    border-color: rgba(151, 113, 47, .45);
    box-shadow: 0 28px 60px -40px rgba(64, 48, 28, .35), 0 0 0 1px rgba(151, 113, 47, .08) inset;
}

html[data-theme="beige"] .article-box,
html[data-theme="white"] .article-box,
html[data-theme="beige"] .comment-form,
html[data-theme="white"] .comment-form {
    border-color: var(--line);
    background: linear-gradient(160deg, rgba(255, 255, 255, .97), rgba(255, 255, 255, .86) 55%, rgba(255, 255, 255, .94));
    box-shadow: 0 24px 50px -42px rgba(64, 48, 28, .28);
}

html[data-theme="beige"] .article-body {
    color: #3c3325;
}

html[data-theme="white"] .article-body {
    color: #2e2e2c;
}

html[data-theme="beige"] .comment-form input[type="text"],
html[data-theme="white"] .comment-form input[type="text"],
html[data-theme="beige"] .comment-form textarea,
html[data-theme="white"] .comment-form textarea {
    border-color: var(--line-strong);
    background: #ffffff;
    color: var(--ink);
}

html[data-theme="beige"] .ft-btn,
html[data-theme="white"] .ft-btn {
    border-color: var(--line-strong);
    background: rgba(255, 255, 255, .92);
    color: #5c5348;
}

html[data-theme="beige"] .hero-slider {
    background: #e9dcc4;
    border-color: var(--line-strong);
    box-shadow: 0 40px 90px -55px rgba(90, 66, 34, .5);
}

html[data-theme="white"] .hero-slider {
    background: #f5f5f3;
    border-color: var(--line-strong);
    box-shadow: 0 40px 90px -55px rgba(0, 0, 0, .22);
}

html[data-theme="beige"] .gallery img,
html[data-theme="beige"] .article-media img {
    background: #e9dcc4;
}

html[data-theme="white"] .gallery img,
html[data-theme="white"] .article-media img {
    background: #f2f2f0;
}

html[data-theme="beige"] .btn-ghost,
html[data-theme="white"] .btn-ghost {
    border-color: var(--line-strong);
}

html[data-theme="beige"] .scroll-cue,
html[data-theme="white"] .scroll-cue {
    background: rgba(40, 34, 25, .22);
}

html[data-theme="beige"] .like:hover,
html[data-theme="white"] .like:hover,
html[data-theme="beige"] .like.is-on,
html[data-theme="white"] .like.is-on {
    color: #a8626f;
}

html[data-theme="beige"] .theme-palette,
html[data-theme="white"] .theme-palette {
    border-color: var(--line-strong);
    background: #ffffff;
    box-shadow: 0 18px 44px -20px rgba(60, 46, 26, .4);
}

@media (max-width: 520px) {
    .article-box {
        padding: 18px 18px 8px;
        border-radius: 16px;
    }

    .article-box .article-media {
        margin-bottom: 22px;
    }
}

html[data-theme="beige"] .hero h1,
html[data-theme="white"] .hero h1 {
    background: linear-gradient(102deg, #2b241c 6%, #5f4a25 48%, #9c7b3c 86%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

html[data-theme="beige"] .hero h1 .comma,
html[data-theme="white"] .hero h1 .comma {
    color: #8a6c34;
}
/* ------------------------------------------------------------
   首页 · 小 CD 转盘播放器
   ------------------------------------------------------------ */
.cd-player {
    position: relative;
    display: flex;
    align-items: center;
    gap: 15px;
    width: min(100%, 382px);
    margin-top: 22px;
    padding: 12px 16px 12px 12px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, .052), rgba(255, 255, 255, .012));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .04);
    transition: border-color .35s var(--ease), opacity .35s var(--ease);
}

.cd-player:hover {
    border-color: var(--line-strong);
}

.cd-player.is-empty {
    opacity: .6;
}

.cd-disc {
    position: relative;
    width: 60px;
    height: 60px;
    flex: 0 0 60px;
    border-radius: 50%;
    overflow: hidden;
    background:
        radial-gradient(circle at 35% 28%, rgba(255, 255, 255, .22), transparent 24%),
        repeating-radial-gradient(circle at center, rgba(255, 255, 255, .075) 0 1px, transparent 1px 3px),
        conic-gradient(from 210deg, #121215, #232328 18%, #121215 34%, #25252a 54%, #111114 72%, #222227 88%, #121215);
    box-shadow:
        0 7px 16px -8px rgba(0, 0, 0, .85),
        inset 0 0 0 1px rgba(255, 255, 255, .12);
    animation: cd-turn 9s linear infinite;
    animation-play-state: paused;
}

.cd-disc::before {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    width: 21px;
    height: 21px;
    margin: -10.5px 0 0 -10.5px;
    border-radius: 50%;
    background: linear-gradient(145deg, #e3cd9f, #b78f4a 58%, #8c6a30);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .28), 0 0 10px rgba(201, 168, 106, .24);
    z-index: 2;
}

.cd-disc::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: linear-gradient(128deg, rgba(255, 255, 255, .16), transparent 36%, rgba(255, 255, 255, .05) 62%, transparent 78%);
    z-index: 1;
}

.cd-hole {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 5px;
    height: 5px;
    margin: -2.5px 0 0 -2.5px;
    border-radius: 50%;
    background: #0a0a0c;
    box-shadow: 0 0 0 1px rgba(255, 255, 255, .18);
    z-index: 3;
}

.cd-player.is-playing .cd-disc {
    animation-play-state: running;
}

.cd-player.is-empty .cd-disc {
    animation: none;
    filter: saturate(.45) brightness(.85);
}

.cd-panel {
    flex: 1 1 auto;
    min-width: 0;
}

.cd-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 2px;
}

.cd-kicker {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 8.5px;
    line-height: 1.4;
    letter-spacing: .18em;
    color: var(--gold-dim);
}

.cd-index {
    flex: none;
    font-size: 9px;
    line-height: 1.4;
    letter-spacing: .1em;
    color: var(--ink-3);
}

.cd-title {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 12.5px;
    line-height: 1.6;
    letter-spacing: .055em;
    color: var(--ink);
}

.cd-controls {
    display: flex;
    align-items: center;
    gap: 4px;
    margin: 4px 0 0 -4px;
}

.cd-btn {
    display: grid;
    place-items: center;
    width: 28px;
    height: 28px;
    padding: 0;
    border: 1px solid transparent;
    border-radius: 50%;
    background: transparent;
    color: var(--ink-3);
    cursor: pointer;
    transition: color .25s var(--ease), border-color .25s var(--ease), background .25s var(--ease), transform .25s var(--ease);
}

.cd-btn:hover {
    color: var(--gold);
    border-color: rgba(201, 168, 106, .28);
    background: rgba(201, 168, 106, .06);
}

.cd-btn:active {
    transform: scale(.94);
}

.cd-btn:focus-visible {
    outline: 1px solid rgba(201, 168, 106, .6);
    outline-offset: 2px;
}

.cd-btn:disabled {
    opacity: .3;
    cursor: default;
    transform: none;
}

.cd-btn svg {
    width: 15px;
    height: 15px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.cd-btn-play {
    width: 31px;
    height: 31px;
    margin: 0 2px;
    border-color: rgba(201, 168, 106, .28);
    color: var(--gold);
}

.cd-btn-play:hover {
    border-color: rgba(201, 168, 106, .55);
    background: rgba(201, 168, 106, .1);
}

.cd-ico-play path {
    fill: currentColor;
    stroke: none;
}

.cd-ico-pause {
    display: none;
}

.cd-player.is-playing .cd-ico-play {
    display: none;
}

.cd-player.is-playing .cd-ico-pause {
    display: block;
}

@keyframes cd-turn {
    to {
        transform: rotate(360deg);
    }
}

@media (max-width: 520px) {
    .cd-player {
        width: 100%;
        max-width: 360px;
        gap: 12px;
        padding: 10px 13px 10px 10px;
    }

    .cd-disc {
        width: 52px;
        height: 52px;
        flex-basis: 52px;
    }

    .cd-title {
        font-size: 11px;
        letter-spacing: 0;
    }

    .cd-btn {
        width: 26px;
        height: 26px;
    }

    .cd-btn-play {
        width: 29px;
        height: 29px;
    }
}

html[data-theme="beige"] .cd-player,
html[data-theme="white"] .cd-player {
    background: linear-gradient(135deg, rgba(255, 255, 255, .88), rgba(255, 255, 255, .58));
    box-shadow: 0 12px 28px -22px rgba(50, 36, 18, .55), inset 0 1px 0 rgba(255, 255, 255, .8);
}

/* ------------------------------------------------------------
   页脚 · 扁平单排播放器（2026-11-30）
   ------------------------------------------------------------ */
.foot-player {
    width: 100%;
    margin: 0;
}

.cd-player {
    display: flex;
    align-items: center;
    gap: 10px;
    width: min(100%, 430px);
    min-height: 54px;
    margin-top: 0;
    padding: 8px 12px 9px 10px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(255, 255, 255, .055), rgba(255, 255, 255, .012));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .045), 0 14px 30px -26px rgba(0, 0, 0, .9);
    overflow: hidden;
}

.cd-player:hover {
    border-color: var(--line-strong);
}

.cd-disc {
    position: relative;
    width: 40px;
    height: 40px;
    flex: 0 0 40px;
    border-radius: 50%;
    overflow: hidden;
    background:
        radial-gradient(circle at 35% 28%, rgba(255, 255, 255, .2), transparent 24%),
        repeating-radial-gradient(circle at center, rgba(255, 255, 255, .07) 0 1px, transparent 1px 3px),
        conic-gradient(from 210deg, #121215, #232328 18%, #121215 34%, #25252a 54%, #111114 72%, #222227 88%, #121215);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12), 0 6px 14px -9px rgba(0, 0, 0, .9);
    animation: cd-turn 11s linear infinite;
    animation-play-state: paused;
}

.cd-disc::before {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    width: 14px;
    height: 14px;
    margin: -7px 0 0 -7px;
    border-radius: 50%;
    background: linear-gradient(145deg, #e3cd9f, #b78f4a 58%, #8c6a30);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .28);
    z-index: 2;
}

.cd-disc::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: linear-gradient(128deg, rgba(255, 255, 255, .16), transparent 36%, rgba(255, 255, 255, .05) 62%, transparent 78%);
    z-index: 1;
}

.cd-hole {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 4px;
    height: 4px;
    margin: -2px 0 0 -2px;
    border-radius: 50%;
    background: #0a0a0c;
    box-shadow: 0 0 0 1px rgba(255, 255, 255, .18);
    z-index: 3;
}

.cd-player.is-playing .cd-disc {
    animation-play-state: running;
}

.cd-main {
    flex: 1 1 auto;
    min-width: 0;
}

.cd-line {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
}

.cd-title {
    flex: 0 1 auto;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 13.5px;
    font-weight: 500;
    line-height: 1.35;
    letter-spacing: .04em;
    color: var(--ink);
}

.cd-index {
    flex: none;
    font-size: 9px;
    line-height: 1.3;
    letter-spacing: .08em;
    color: var(--ink-3);
}

.cd-sub {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-top: 1px;
    min-width: 0;
}

.cd-kicker {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 8.5px;
    line-height: 1.35;
    letter-spacing: .14em;
    color: var(--gold-dim);
}

.cd-time {
    flex: none;
    font-size: 9px;
    line-height: 1.3;
    letter-spacing: .04em;
    color: var(--ink-3);
    font-variant-numeric: tabular-nums;
}

.cd-controls {
    display: flex;
    align-items: center;
    gap: 1px;
    flex: none;
    margin: 0;
}

.cd-btn {
    display: grid;
    place-items: center;
    width: 27px;
    height: 27px;
    padding: 0;
    border: 1px solid transparent;
    border-radius: 50%;
    background: transparent;
    color: var(--ink-3);
    cursor: pointer;
    transition: color .25s var(--ease), border-color .25s var(--ease), background .25s var(--ease), transform .25s var(--ease);
}

.cd-btn:hover {
    color: var(--gold);
    border-color: rgba(201, 168, 106, .24);
    background: rgba(201, 168, 106, .06);
}

.cd-btn:active {
    transform: scale(.94);
}

.cd-btn:focus-visible,
.cd-vol-btn:focus-visible {
    outline: 1px solid rgba(201, 168, 106, .6);
    outline-offset: 2px;
}

.cd-btn:disabled {
    opacity: .3;
    cursor: default;
    transform: none;
}

.cd-btn svg {
    width: 14px;
    height: 14px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.cd-btn-play {
    width: 30px;
    height: 30px;
    margin: 0 1px;
    border-color: rgba(201, 168, 106, .28);
    color: var(--gold);
}

.cd-btn-play:hover {
    border-color: rgba(201, 168, 106, .55);
    background: rgba(201, 168, 106, .1);
}

.cd-ico-play path {
    fill: currentColor;
    stroke: none;
}

.cd-ico-pause {
    display: none;
}

.cd-player.is-playing .cd-ico-play {
    display: none;
}

.cd-player.is-playing .cd-ico-pause {
    display: block;
}

.cd-volume {
    display: flex;
    align-items: center;
    gap: 3px;
    flex: none;
    padding-left: 7px;
    border-left: 1px solid var(--line);
}

.cd-vol-btn {
    display: grid;
    place-items: center;
    width: 22px;
    height: 24px;
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--ink-3);
    cursor: pointer;
    transition: color .2s var(--ease);
}

.cd-vol-btn:hover {
    color: var(--gold);
}

.cd-vol-btn svg {
    width: 16px;
    height: 16px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.5;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.cd-vol-btn .cd-slash {
    display: none;
}

.cd-vol-btn.is-muted {
    color: var(--gold-dim);
}

.cd-vol-btn.is-muted .cd-wave {
    display: none;
}

.cd-vol-btn.is-muted .cd-slash {
    display: block;
}

.cd-volume-range {
    width: 58px;
    height: 16px;
    margin: 0;
    padding: 0;
    appearance: none;
    -webkit-appearance: none;
    background: transparent;
    cursor: pointer;
}

.cd-volume-range::-webkit-slider-runnable-track {
    height: 3px;
    border-radius: 99px;
    background: rgba(255, 255, 255, .13);
}

.cd-volume-range::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 9px;
    height: 9px;
    margin-top: -3px;
    border: 0;
    border-radius: 50%;
    background: var(--gold);
    box-shadow: 0 0 0 3px rgba(201, 168, 106, .16);
}

.cd-volume-range::-moz-range-track {
    height: 3px;
    border-radius: 99px;
    background: rgba(255, 255, 255, .13);
}

.cd-volume-range::-moz-range-thumb {
    width: 9px;
    height: 9px;
    border: 0;
    border-radius: 50%;
    background: var(--gold);
    box-shadow: 0 0 0 3px rgba(201, 168, 106, .16);
}

.cd-progress {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 12px;
    cursor: pointer;
    z-index: 3;
}

.cd-progress::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 2px;
    background: rgba(255, 255, 255, .09);
    transition: height .2s var(--ease);
}

.cd-progress:hover::before {
    height: 3px;
}

.cd-progress span {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--gold-dim), var(--gold));
    transition: height .2s var(--ease);
}

.cd-progress:hover span {
    height: 3px;
}

html[data-theme="beige"] .cd-player,
html[data-theme="white"] .cd-player {
    background: linear-gradient(135deg, rgba(255, 255, 255, .9), rgba(255, 255, 255, .6));
    box-shadow: 0 14px 30px -26px rgba(50, 36, 18, .5), inset 0 1px 0 rgba(255, 255, 255, .85);
}

html[data-theme="beige"] .cd-volume-range::-webkit-slider-runnable-track,
html[data-theme="white"] .cd-volume-range::-webkit-slider-runnable-track {
    background: rgba(40, 32, 20, .16);
}

html[data-theme="beige"] .cd-volume-range::-moz-range-track,
html[data-theme="white"] .cd-volume-range::-moz-range-track {
    background: rgba(40, 32, 20, .16);
}

html[data-theme="beige"] .cd-progress::before,
html[data-theme="white"] .cd-progress::before {
    background: rgba(40, 32, 20, .12);
}

@media (max-width: 520px) {
    .foot-player {
        width: 100%;
    }

    .cd-player {
        gap: 7px;
        width: 100%;
        max-width: 430px;
        min-height: 50px;
        padding: 7px 9px 8px 8px;
        border-radius: 11px;
    }

    .cd-disc {
        width: 34px;
        height: 34px;
        flex-basis: 34px;
    }

    .cd-disc::before {
        width: 12px;
        height: 12px;
        margin: -6px 0 0 -6px;
    }

    .cd-title {
        font-size: 11px;
        letter-spacing: 0;
    }

    .cd-kicker {
        font-size: 8px;
        letter-spacing: .1em;
    }

    .cd-time {
        font-size: 8.5px;
    }

    .cd-btn {
        width: 24px;
        height: 24px;
    }

    .cd-btn-play {
        width: 27px;
        height: 27px;
    }

    .cd-btn svg {
        width: 13px;
        height: 13px;
    }

    .cd-volume {
        gap: 2px;
        padding-left: 4px;
    }

    .cd-vol-btn {
        width: 19px;
    }

    .cd-volume-range {
        width: 42px;
    }
}

/* ------------------------------------------------------------
   PJAX 顶部细进度条
   ------------------------------------------------------------ */
.pjax-bar {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 9999;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--gold), var(--gold));
    opacity: 0;
    transition: width .45s ease, opacity .25s ease;
    pointer-events: none;
}

.pjax-bar.is-on {
    width: 72%;
    opacity: 1;
}

.pjax-bar.is-done {
    width: 100%;
    opacity: 0;
}

.cd-player.is-blocked .cd-btn-play {
    animation: cd-pulse 1.9s ease-in-out infinite;
}

@keyframes cd-pulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(201, 168, 106, 0); }
    50% { box-shadow: 0 0 0 6px rgba(201, 168, 106, .1); }
}

/* 窄屏：先让出音量滑块，再让出曲目号/电台字样，保证完整歌名 */
@media (max-width: 380px) {
    .cd-volume-range {
        display: none;
    }
}

@media (max-width: 340px) {
    .cd-index,
    .cd-kicker {
        display: none;
    }

    .cd-sub {
        justify-content: flex-end;
    }
}

/* =========================================================
   首页待审核投稿占位
   ========================================================= */

.card.is-pending {
    border-color: rgba(201, 168, 106, .24);
    background: linear-gradient(160deg, rgba(201, 168, 106, .075), rgba(255, 255, 255, .015) 55%, rgba(201, 168, 106, .035));
}

.card.is-pending:hover {
    transform: none;
    box-shadow: none;
    border-color: rgba(201, 168, 106, .34);
}

.card-tag {
    display: inline-flex;
    align-items: center;
    height: 24px;
    padding: 0 10px;
    border: 1px solid rgba(201, 168, 106, .4);
    border-radius: 999px;
    background: rgba(201, 168, 106, .09);
    font-size: 10.5px;
    letter-spacing: .12em;
    color: var(--gold);
    white-space: nowrap;
}

.card-author {
    font-size: 11.5px;
    letter-spacing: .04em;
    color: var(--ink-3);
}

.pending-mask {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top: 4px;
    padding: 22px 22px;
    border: 1px dashed rgba(201, 168, 106, .3);
    border-radius: 14px;
    background: rgba(255, 255, 255, .018);
}

.pending-mask svg {
    width: 28px;
    height: 28px;
    flex: none;
    fill: none;
    stroke: var(--gold);
    stroke-width: 1.4;
    stroke-linecap: round;
    stroke-linejoin: round;
    opacity: .9;
}

.pending-mask strong {
    display: block;
    margin-bottom: 5px;
    font-family: var(--serif);
    font-size: 16.5px;
    font-weight: 500;
    letter-spacing: .08em;
    color: var(--ink);
}

.pending-mask span {
    display: block;
    font-size: 12.5px;
    line-height: 1.8;
    color: var(--ink-3);
}

@media (max-width: 560px) {
    .pending-mask {
        gap: 12px;
        padding: 17px 16px;
    }

    .pending-mask svg {
        width: 24px;
        height: 24px;
    }

    .pending-mask strong {
        font-size: 15px;
    }
}

/* =========================================================
   投稿 / 审核 / 上下篇 / 版权标签
   ========================================================= */

.submit-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-right: 12px;
    padding: 7px 15px;
    border: 1px solid rgba(201, 168, 106, .4);
    border-radius: 999px;
    background: var(--gold-glow);
    font-size: 12.5px;
    letter-spacing: .16em;
    color: var(--gold);
    transition: all .35s var(--ease);
}

.submit-btn:hover,
.submit-btn.is-active {
    color: var(--ink);
    border-color: rgba(201, 168, 106, .7);
    background: rgba(201, 168, 106, .16);
}

.sub-author {
    color: var(--ink-2);
}

.review-banner {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 8px 12px;
    margin: 0 0 22px;
    padding: 14px 18px;
    border: 1px solid rgba(201, 168, 106, .35);
    border-radius: 12px;
    background: rgba(201, 168, 106, .07);
    color: var(--ink-2);
    font-size: 12.5px;
    line-height: 1.8;
}

.review-banner strong {
    flex: none;
    padding: 2px 9px;
    border: 1px solid rgba(201, 168, 106, .6);
    border-radius: 4px;
    color: var(--gold);
    font-size: 11px;
    letter-spacing: .16em;
}

.review-banner.is-rejected {
    border-color: rgba(194, 104, 95, .35);
    background: rgba(194, 104, 95, .07);
}

.review-banner.is-rejected strong {
    border-color: rgba(194, 104, 95, .55);
    color: #d28a82;
}

.review-tag {
    flex: none;
    display: inline-flex;
    align-items: center;
    padding: 1px 7px;
    border: 1px solid rgba(201, 168, 106, .55);
    border-radius: 4px;
    background: var(--gold-glow);
    color: var(--gold);
    font-size: 10.5px;
    letter-spacing: .12em;
}

.review-tag.is-rejected {
    border-color: rgba(194, 104, 95, .5);
    background: rgba(194, 104, 95, .08);
    color: #d28a82;
}

.review-lock {
    margin: 34px 0 6px;
    padding: 30px 22px;
    border: 1px dashed var(--line-strong);
    border-radius: 16px;
    text-align: center;
    color: var(--ink-3);
}

.review-lock strong {
    display: block;
    margin-bottom: 10px;
    color: var(--ink-2);
    font-family: var(--serif);
    font-size: 19px;
    font-weight: 500;
    letter-spacing: .12em;
}

.review-lock p {
    margin: 0 0 20px;
    font-size: 12.5px;
    line-height: 1.9;
}

.article-copy {
    margin: 30px 0 0;
    color: var(--ink-3);
    font-size: 11px;
    letter-spacing: .08em;
    line-height: 1.8;
}

.post-nav {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 14px;
    margin-top: 14px;
}

.pn-card {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
    padding: 15px 18px;
    border: 1px solid var(--line);
    border-radius: 12px;
    color: var(--ink-2);
    transition: all .35s var(--ease);
}

.pn-card:hover {
    border-color: rgba(201, 168, 106, .45);
    background: var(--gold-glow);
    color: var(--ink);
}

.pn-card.next {
    justify-content: flex-end;
    text-align: right;
}

.pn-card.is-empty {
    border-color: transparent;
    pointer-events: none;
}

.pn-arrow {
    flex: none;
    color: var(--gold);
    font-size: 15px;
    line-height: 1;
    transition: transform .35s var(--ease);
}

.pn-card.prev:hover .pn-arrow { transform: translateX(-3px); }
.pn-card.next:hover .pn-arrow { transform: translateX(3px); }

.pn-text {
    display: flex;
    flex-direction: column;
    min-width: 0;
    gap: 4px;
}

.pn-card.next .pn-text { align-items: flex-end; }

.pn-text b {
    font-size: 10.5px;
    font-weight: 500;
    letter-spacing: .18em;
    color: var(--ink-3);
}

.pn-text em {
    overflow: hidden;
    max-width: 100%;
    font-family: var(--serif);
    font-style: normal;
    font-size: 13.5px;
    letter-spacing: .04em;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* ---- 投稿页 ---- */

.submit-page {
    padding: 86px 0 40px;
}

.submit-wrap {
    max-width: 760px;
}

.submit-head {
    margin-bottom: 30px;
    text-align: center;
}

.submit-head h1 {
    margin: 16px 0 12px;
    font-family: var(--serif);
    font-size: clamp(26px, 4vw, 38px);
    font-weight: 500;
    letter-spacing: .08em;
    color: var(--ink);
}

.submit-head p {
    margin: 0 auto;
    max-width: 560px;
    color: var(--ink-3);
    font-size: 12.5px;
    line-height: 1.9;
}

@media (max-width: 480px) {
    .submit-head h1 {
        font-size: 22px;
        letter-spacing: .04em;
        line-height: 1.55;
    }
}

.submit-notice {
    color: #d28a82;
    font-weight: 500;
}

html[data-theme="beige"] .submit-notice,
html[data-theme="white"] .submit-notice {
    color: #a8413a;
}

.submit-form {
    padding: 26px 24px 22px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: linear-gradient(160deg, rgba(255, 255, 255, .04), rgba(255, 255, 255, .012));
}

.submit-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr);
    gap: 18px;
}

.submit-field {
    display: block;
    margin-bottom: 18px;
}

.submit-field > span {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 8px;
    margin-bottom: 8px;
    color: var(--ink-3);
    font-size: 10.5px;
    letter-spacing: .16em;
}

.submit-field > span em {
    color: var(--ink-3);
    font-style: normal;
    letter-spacing: .06em;
    opacity: .72;
}

.submit-form input[type="text"],
.submit-form textarea {
    display: block;
    width: 100%;
    padding: 12px 14px;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: rgba(0, 0, 0, .14);
    color: var(--ink);
    font-size: 13px;
    line-height: 1.8;
    outline: none;
    transition: border-color .3s var(--ease), background .3s var(--ease);
}

.submit-form textarea {
    resize: vertical;
    min-height: 190px;
}

.submit-form input[type="text"]:focus,
.submit-form textarea:focus {
    border-color: rgba(201, 168, 106, .55);
    background: rgba(0, 0, 0, .2);
}

.submit-form input[type="file"] {
    width: 100%;
    padding: 10px 0;
    color: var(--ink-2);
    font-size: 12px;
}

.submit-form .hp {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    opacity: 0;
}

.submit-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-top: 4px;
}

.submit-actions p {
    flex: 1 1 260px;
    margin: 0;
    color: var(--ink-3);
    font-size: 11.5px;
    line-height: 1.8;
}

.submit-errors {
    margin-bottom: 20px;
    padding: 16px 20px;
    border: 1px solid rgba(194, 104, 95, .4);
    border-radius: 12px;
    background: rgba(194, 104, 95, .08);
    color: #d9a29b;
    font-size: 12.5px;
    line-height: 1.9;
}

.submit-errors strong {
    display: block;
    margin-bottom: 6px;
    color: #e2b1aa;
}

.submit-errors ul {
    margin: 0;
    padding-left: 18px;
}

.submit-done {
    padding: 30px 26px;
    border: 1px solid rgba(201, 168, 106, .35);
    border-radius: 18px;
    background: rgba(201, 168, 106, .06);
}

.submit-done strong {
    display: block;
    margin-bottom: 12px;
    color: var(--ink);
    font-family: var(--serif);
    font-size: 20px;
    font-weight: 500;
    letter-spacing: .1em;
}

.submit-done p {
    margin: 0 0 12px;
    color: var(--ink-2);
    font-size: 12.5px;
    line-height: 1.9;
}

.submit-preview a {
    color: var(--gold);
    word-break: break-all;
    text-decoration: underline;
    text-underline-offset: 4px;
}

.submit-done-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 20px;
}

.submit-done-actions .btn-ghost {
    padding: 11px 22px;
    font-size: 12px;
}

@media (max-width: 560px) {
    .theme-picker-top {
        margin-right: 10px;
    }

    .theme-trigger {
        height: 28px;
        padding: 0 9px;
        gap: 5px;
        font-size: 11px;
    }

    .theme-trigger-dot {
        width: 10px;
        height: 10px;
    }

    .theme-picker-top .theme-palette {
        left: 0;
        right: auto;
        top: calc(100% + 10px);
        gap: 6px;
        padding: 8px;
    }

    .theme-picker-top .theme-swatch {
        min-width: 48px;
        height: 30px;
        padding: 0 8px;
        font-size: 10.5px;
    }

    .archive-btn {
        margin-right: 5px;
    }

    .submit-btn {
        margin-right: 8px;
        padding: 6px 12px;
        font-size: 12px;
    }

    .submit-page { padding-top: 68px; }

    .submit-row { grid-template-columns: minmax(0, 1fr); gap: 0; }

    .submit-form { padding: 20px 16px 18px; }

    .post-nav { gap: 10px; }

    .pn-card { padding: 12px 13px; gap: 8px; }

    .pn-text em { font-size: 12.5px; }

    .article-sub { justify-content: flex-end; }
}

@media (max-width: 480px) {
    .site-header .wrap {
        gap: 10px;
        padding-left: 18px;
        padding-right: 18px;
    }

    .brand-mark {
        font-size: 16px;
        letter-spacing: .1em;
    }

    .theme-picker-top {
        margin-right: 8px;
    }

    .theme-trigger {
        height: 27px;
        padding: 0 8px;
        gap: 4px;
        font-size: 10.5px;
    }

    .theme-trigger-dot {
        width: 9px;
        height: 9px;
    }

    .submit-btn {
        margin-right: 7px;
        padding: 6px 10px;
        font-size: 11.5px;
    }

    .home-btn,
    .archive-btn {
        padding: 6px 12px;
        font-size: 12.5px;
    }

    .archive-btn {
        margin-left: 0;
        margin-right: 4px;
    }

    .nav-more {
        margin-left: 9px;
        font-size: 11.5px;
    }
}

@media (max-width: 380px) {
    .site-header .wrap {
        gap: 8px;
        padding-left: 16px;
        padding-right: 16px;
    }

    .brand-mark {
        font-size: 14px;
        letter-spacing: .04em;
    }

    .brand-en {
        display: none;
    }

    .brand {
        gap: 4px;
    }

    .submit-btn {
        margin-right: 6px;
        padding: 5px 7px;
        font-size: 11px;
    }

    .theme-picker-top {
        margin-right: 6px;
    }

    .theme-trigger {
        height: 26px;
        padding: 0 7px;
        gap: 4px;
        font-size: 10px;
    }

    .theme-trigger-dot {
        width: 9px;
        height: 9px;
    }

    .home-btn,
    .archive-btn {
        padding: 6px 9px;
        font-size: 11.5px;
    }

    .archive-btn {
        margin-left: 0;
        margin-right: 3px;
    }

    .nav-more {
        margin-left: 8px;
        font-size: 11.5px;
    }
}
