:root {
    --ink: #10222b;
    --ink-2: #1c343d;
    --paper: #fbf7ee;
    --paper-2: #f4ecdf;
    --white: #fffdf8;
    --coral: #ff9878;
    --coral-soft: #ffd8ca;
    --mint: #67d8cf;
    --mint-soft: #d8f7f3;
    --gold: #efc96a;
    --muted: #637078;
    --line: #d9cfc0;
    --danger: #bc4c3c;
    --success: #23765e;
    --radius: 22px;
    --shadow: 0 24px 70px rgba(16, 34, 43, .12);
    --shell: 1240px;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--ink);
    background:
        radial-gradient(circle at 8% 4%, rgba(255, 216, 202, .42), transparent 26rem),
        var(--paper);
    font-family: "Noto Sans SC", "Source Han Sans SC", "Microsoft YaHei", sans-serif;
    font-size: 16px;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}

body::before {
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    content: "";
    opacity: .24;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.82' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.08'/%3E%3C/svg%3E");
}

img {
    max-width: 100%;
    height: auto;
}

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

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

button,
a {
    -webkit-tap-highlight-color: transparent;
}

::selection {
    color: var(--ink);
    background: var(--mint);
}

.shell {
    width: min(calc(100% - 48px), var(--shell));
    margin-inline: auto;
}

.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;
}

.skip-link {
    position: fixed;
    top: 10px;
    left: 10px;
    z-index: 200;
    padding: 10px 16px;
    color: var(--white);
    background: var(--ink);
    border-radius: 10px;
    transform: translateY(-160%);
}

.skip-link:focus {
    transform: translateY(0);
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 80;
    border-bottom: 1px solid rgba(16, 34, 43, .12);
    background: rgba(251, 247, 238, .9);
    backdrop-filter: blur(18px);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 82px;
    gap: 32px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    flex: 0 0 auto;
}

.brand-mark {
    width: 52px;
    height: 52px;
    object-fit: contain;
    transform: rotate(-4deg);
}

.brand-copy {
    display: flex;
    flex-direction: column;
    line-height: 1;
}

.brand-copy strong {
    font-size: 21px;
    font-weight: 800;
    letter-spacing: -.7px;
}

.brand-copy strong span {
    color: #e46f53;
}

.brand-copy small {
    margin-top: 6px;
    color: var(--muted);
    font-size: 10px;
    letter-spacing: .22em;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 6px;
}

.site-nav a {
    position: relative;
    padding: 11px 15px;
    color: var(--ink-2);
    font-size: 14px;
    font-weight: 650;
    border-radius: 999px;
    transition: background .2s ease, color .2s ease;
}

.site-nav a:hover,
.site-nav a.active {
    background: var(--ink);
    color: var(--white);
}

.site-nav .nav-admin,
.site-nav .nav-forum-login {
    margin-left: 6px;
    border: 1px solid var(--ink);
}

.site-nav .nav-admin {
    color: var(--ink);
    background: var(--mint);
}

.site-nav .nav-admin:hover {
    color: var(--white);
}

.menu-toggle {
    display: none;
    width: 44px;
    height: 44px;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 50%;
    background: transparent;
}

.menu-toggle span:not(.sr-only) {
    display: block;
    width: 100%;
    height: 2px;
    margin: 4px 0;
    background: var(--ink);
}

.flash-wrap {
    padding-top: 18px;
}

.flash {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 14px 18px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: var(--white);
    box-shadow: 0 10px 28px rgba(16, 34, 43, .08);
}

.flash-success {
    border-color: #a8dacc;
    background: #f0fbf8;
}

.flash-error {
    border-color: #edbbb3;
    background: #fff5f2;
}

.flash button {
    border: 0;
    color: inherit;
    background: none;
    font-size: 24px;
    cursor: pointer;
}

.hero {
    position: relative;
    overflow: hidden;
    padding: 54px 0 72px;
}

.hero::after {
    position: absolute;
    right: -10%;
    bottom: -40%;
    width: 68vw;
    height: 68vw;
    max-width: 940px;
    max-height: 940px;
    content: "";
    border: 1px solid rgba(16, 34, 43, .08);
    border-radius: 50%;
}

.hero-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(2px);
}

.hero-orb-a {
    top: 5%;
    right: 36%;
    width: 160px;
    height: 160px;
    background: rgba(103, 216, 207, .24);
}

.hero-orb-b {
    right: 4%;
    bottom: 9%;
    width: 90px;
    height: 90px;
    background: rgba(255, 152, 120, .28);
}

.hero-grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1.02fr .98fr;
    align-items: center;
    gap: 56px;
    min-height: 660px;
}

.eyebrow,
.side-kicker {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 18px;
    color: var(--muted);
    font-size: 11px;
    font-weight: 750;
    letter-spacing: .2em;
    text-transform: uppercase;
}

.eyebrow span {
    width: 35px;
    height: 2px;
    background: var(--coral);
}

.hero h1,
.page-hero h1,
.service-intro h2,
.ticket-intro h2,
.closing-band h2 {
    margin: 0;
    font-family: "Noto Serif SC", "Source Han Serif SC", "Songti SC", serif;
    font-weight: 900;
    letter-spacing: -.055em;
    line-height: 1.08;
}

.hero h1 {
    max-width: 680px;
    font-size: clamp(62px, 7.5vw, 112px);
}

.hero h1 em,
.page-hero h1 em {
    color: var(--coral);
    font-style: normal;
}

.hero-lead {
    max-width: 570px;
    margin: 30px 0;
    color: #4e5d64;
    font-size: 18px;
    line-height: 1.9;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    min-height: 52px;
    padding: 13px 24px;
    border: 1px solid transparent;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 750;
    line-height: 1.2;
    cursor: pointer;
    transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

.button:hover {
    transform: translateY(-2px);
}

.button-primary {
    color: var(--white);
    background: var(--ink);
    box-shadow: 0 12px 28px rgba(16, 34, 43, .18);
}

.button-primary:hover {
    background: #071a22;
    box-shadow: 0 16px 34px rgba(16, 34, 43, .24);
}

.button-quiet {
    border-color: var(--line);
    background: rgba(255, 253, 248, .6);
}

.button-light {
    color: var(--ink);
    background: var(--white);
}

.button-full {
    width: 100%;
}

.hero-note {
    display: flex;
    align-items: center;
    gap: 9px;
    margin-top: 24px;
    color: var(--muted);
    font-size: 12px;
}

.status-dot {
    width: 8px;
    height: 8px;
    background: #45a98e;
    border-radius: 50%;
    box-shadow: 0 0 0 5px rgba(69, 169, 142, .13);
}

.hero-visual {
    position: relative;
    display: grid;
    place-items: center;
    min-height: 610px;
}

.hero-mark-wrap {
    position: relative;
    width: min(98%, 590px);
    aspect-ratio: 1;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: rgba(255, 253, 248, .56);
}

.hero-mark-wrap::before {
    position: absolute;
    inset: 8%;
    content: "";
    border: 1px dashed rgba(16, 34, 43, .22);
    border-radius: 50%;
    animation: slow-spin 40s linear infinite;
}

.hero-mark-wrap img {
    position: relative;
    z-index: 2;
    width: 90%;
    filter: drop-shadow(0 28px 28px rgba(16, 34, 43, .12));
    animation: float 6s ease-in-out infinite;
}

.hero-stamp {
    position: absolute;
    top: 6%;
    right: 3%;
    z-index: 4;
    display: grid;
    place-items: center;
    width: 102px;
    height: 102px;
    color: var(--ink);
    background: var(--gold);
    border-radius: 50%;
    font-size: 11px;
    font-weight: 900;
    line-height: 1.25;
    letter-spacing: .15em;
    text-align: center;
    transform: rotate(9deg);
}

.hero-card {
    position: absolute;
    z-index: 5;
    padding: 14px 17px;
    border: 1px solid rgba(16, 34, 43, .14);
    background: rgba(255, 253, 248, .88);
    border-radius: 14px;
    box-shadow: 0 16px 38px rgba(16, 34, 43, .12);
    backdrop-filter: blur(10px);
}

.hero-card strong,
.hero-card span {
    display: block;
}

.hero-card strong {
    font-size: 13px;
}

.hero-card span {
    margin-top: 3px;
    color: var(--muted);
    font-size: 10px;
}

.hero-card-top {
    top: 22%;
    left: -2%;
    transform: rotate(-4deg);
}

.hero-card-bottom {
    right: -2%;
    bottom: 15%;
    display: flex;
    align-items: center;
    gap: 10px;
    transform: rotate(3deg);
}

.hero-card-icon {
    display: grid !important;
    place-items: center;
    width: 33px;
    height: 33px;
    margin: 0 !important;
    color: var(--ink) !important;
    background: var(--mint);
    border-radius: 50%;
    font-size: 18px !important;
}

.marquee-band {
    overflow: hidden;
    padding: 18px 0;
    color: var(--white);
    background: var(--ink);
    transform: rotate(-1deg) scale(1.02);
}

.marquee-track {
    display: flex;
    align-items: center;
    gap: 30px;
    width: max-content;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: .18em;
    animation: marquee 28s linear infinite;
}

.marquee-track i {
    color: var(--coral);
    font-style: normal;
}

.section {
    padding: 108px 0;
}

.stats-section {
    padding: 82px 0 54px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 28px 16px;
}

.stat + .stat {
    border-left: 1px solid var(--line);
}

.stat-value {
    font-family: "Noto Serif SC", "Songti SC", serif;
    font-size: clamp(34px, 4vw, 54px);
    font-weight: 900;
    line-height: 1;
}

.stat-label {
    margin-top: 9px;
    color: var(--muted);
    font-size: 11px;
    letter-spacing: .16em;
}

.section-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 30px;
    margin-bottom: 42px;
}

.section-heading h2,
.comment-wall h2,
.ticket-form-panel h2,
.admin-head h1 {
    margin: 0;
    font-family: "Noto Serif SC", "Songti SC", serif;
    font-size: clamp(36px, 4.5vw, 60px);
    font-weight: 900;
    letter-spacing: -.04em;
    line-height: 1.15;
}

.section-heading.compact {
    margin-bottom: 26px;
}

.section-heading.compact h2 {
    font-size: clamp(30px, 3vw, 44px);
}

.text-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding-bottom: 4px;
    border-bottom: 1px solid var(--ink);
    font-size: 13px;
    font-weight: 750;
}

.text-link span {
    transition: transform .2s ease;
}

.text-link:hover span {
    transform: translateX(4px);
}

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

.board-card {
    position: relative;
    min-height: 300px;
    padding: 28px;
    overflow: hidden;
    border: 1px solid rgba(16, 34, 43, .13);
    border-radius: var(--radius);
    background: var(--white);
    transition: transform .25s ease, box-shadow .25s ease;
}

.board-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

.board-card::after {
    position: absolute;
    right: -48px;
    bottom: -70px;
    width: 210px;
    height: 210px;
    content: "";
    border: 1px solid rgba(16, 34, 43, .12);
    border-radius: 50%;
    transition: transform .3s ease;
}

.board-card:hover::after {
    transform: scale(1.08);
}

.board-coral {
    background: #ffe9e0;
}

.board-mint {
    background: #dcf8f4;
}

.board-ink {
    color: var(--white);
    background: var(--ink);
}

.board-gold {
    background: #f7e6b8;
}

.board-number {
    color: currentColor;
    font-family: "Times New Roman", serif;
    font-size: 13px;
    opacity: .55;
}

.board-arrow {
    position: absolute;
    top: 25px;
    right: 27px;
    z-index: 2;
    font-size: 22px;
}

.board-icon {
    width: 58px;
    height: 58px;
    margin: 28px 0 22px;
    padding: 11px;
    border: 1px solid currentColor;
    border-radius: 50%;
}

.board-icon svg {
    width: 100%;
    height: 100%;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.board-card h3 {
    margin: 0 0 7px;
    font-size: 23px;
    letter-spacing: -.03em;
}

.board-card p {
    max-width: 82%;
    min-height: 45px;
    margin: 0;
    color: inherit;
    font-size: 13px;
    opacity: .68;
}

.board-meta {
    display: flex;
    gap: 18px;
    margin-top: 20px;
    font-size: 11px;
    opacity: .56;
}

.pulse-section {
    color: var(--white);
    background: var(--ink);
}

.pulse-grid {
    display: grid;
    grid-template-columns: 1.2fr .8fr;
    gap: 66px;
}

.pulse-section .eyebrow {
    color: rgba(255, 255, 255, .55);
}

.round-link {
    display: grid;
    place-items: center;
    width: 50px;
    height: 50px;
    border: 1px solid rgba(255, 255, 255, .3);
    border-radius: 50%;
    transition: background .2s ease, color .2s ease;
}

.round-link:hover {
    color: var(--ink);
    background: var(--mint);
}

.thread-list {
    border-top: 1px solid rgba(255, 255, 255, .14);
}

.thread-row {
    display: grid;
    grid-template-columns: 46px 1fr auto;
    align-items: center;
    gap: 16px;
    padding: 22px 4px;
    border-bottom: 1px solid rgba(255, 255, 255, .14);
    transition: padding .2s ease, background .2s ease;
}

.thread-row:hover {
    padding-inline: 14px;
    background: rgba(255, 255, 255, .05);
}

.thread-index {
    color: var(--mint);
    font-family: "Times New Roman", serif;
    font-size: 12px;
}

.thread-copy {
    min-width: 0;
}

.thread-copy strong,
.thread-copy small {
    display: block;
}

.thread-copy strong {
    overflow: hidden;
    font-size: 16px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.thread-copy small {
    margin-top: 5px;
    color: rgba(255, 255, 255, .46);
    font-size: 11px;
}

.thread-arrow {
    color: rgba(255, 255, 255, .5);
}

.pulse-side {
    padding: 38px;
    color: var(--ink);
    background: var(--mint);
    border-radius: 28px 28px 120px 28px;
}

.pulse-side h2 {
    margin: 0;
    font-family: "Noto Serif SC", "Songti SC", serif;
    font-size: clamp(35px, 4vw, 50px);
    line-height: 1.15;
}

.pulse-side > p:not(.side-kicker) {
    margin: 18px 0 24px;
    color: #38535c;
    font-size: 13px;
}

.mini-comments {
    display: grid;
    gap: 11px;
    margin-bottom: 22px;
}

.mini-comments blockquote {
    margin: 0;
    padding: 14px 14px 12px;
    background: rgba(255, 253, 248, .66);
    border-radius: 12px;
}

.mini-comments p {
    margin: 0;
    font-size: 13px;
    line-height: 1.65;
}

.mini-comments footer {
    margin-top: 6px;
    color: #597078;
    font-size: 10px;
}

.quote-placeholder {
    padding: 28px 14px;
    font-family: "Noto Serif SC", "Songti SC", serif;
    font-size: 20px;
    text-align: center;
}

.service-section {
    background: var(--paper);
}

.service-grid {
    display: grid;
    grid-template-columns: .85fr 1.15fr;
    align-items: center;
    gap: 90px;
}

.service-intro h2 {
    font-size: clamp(46px, 5vw, 76px);
}

.service-intro > p:not(.eyebrow) {
    max-width: 480px;
    margin: 25px 0 30px;
    color: var(--muted);
    font-size: 16px;
}

.service-steps {
    border-top: 1px solid var(--line);
}

.service-step {
    display: grid;
    grid-template-columns: 58px 1fr;
    gap: 22px;
    padding: 26px 0;
    border-bottom: 1px solid var(--line);
}

.service-step > span {
    color: var(--coral);
    font-family: "Times New Roman", serif;
    font-size: 13px;
}

.service-step h3 {
    margin: 0 0 5px;
    font-size: 19px;
}

.service-step p {
    margin: 0;
    color: var(--muted);
    font-size: 13px;
}

.closing-band {
    padding: 100px 0;
    color: var(--white);
    background:
        radial-gradient(circle at 16% 100%, rgba(103, 216, 207, .22), transparent 28rem),
        var(--ink);
}

.closing-band .shell {
    position: relative;
}

.closing-band p {
    color: rgba(255, 255, 255, .5);
    font-size: 11px;
    letter-spacing: .2em;
}

.closing-band h2 {
    max-width: 800px;
    font-size: clamp(55px, 7vw, 108px);
}

.closing-band h2 span {
    color: var(--coral);
}

.circle-cta {
    position: absolute;
    right: 2%;
    bottom: 8%;
    display: grid;
    place-items: center;
    width: 92px;
    height: 92px;
    color: var(--ink);
    background: var(--mint);
    border-radius: 50%;
    font-size: 28px;
    transition: transform .25s ease;
}

.circle-cta:hover {
    transform: rotate(12deg) scale(1.06);
}

.site-footer {
    padding: 62px 0 22px;
    border-top: 1px solid rgba(16, 34, 43, .14);
    background: var(--paper-2);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr repeat(3, 1fr);
    gap: 50px;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 16px;
}

.footer-brand img {
    width: 66px;
}

.footer-brand strong {
    font-size: 24px;
    letter-spacing: -.05em;
}

.footer-brand p {
    margin: 4px 0 0;
    color: var(--muted);
    font-size: 12px;
}

.footer-grid h2 {
    margin: 7px 0 16px;
    font-size: 12px;
    letter-spacing: .14em;
}

.footer-grid > div:not(.footer-brand) {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.footer-grid > div:not(.footer-brand) a,
.footer-grid > div:not(.footer-brand) span {
    margin: 5px 0;
    color: var(--muted);
    font-size: 12px;
}

.footer-grid a:hover {
    color: var(--ink);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin-top: 55px;
    padding-top: 18px;
    border-top: 1px solid var(--line);
    color: var(--muted);
    font-size: 10px;
    letter-spacing: .05em;
}

.page-hero {
    padding: 86px 0 70px;
    border-bottom: 1px solid var(--line);
}

.page-hero-grid {
    display: grid;
    grid-template-columns: 1.25fr .75fr;
    align-items: end;
    gap: 80px;
}

.page-hero h1 {
    font-size: clamp(58px, 7vw, 98px);
}

.page-hero-side {
    max-width: 460px;
    padding-bottom: 8px;
}

.page-hero-side > p {
    margin: 0 0 22px;
    color: #53636b;
    font-size: 15px;
}

.page-count {
    display: inline-block;
    padding: 8px 14px;
    border: 1px solid var(--line);
    border-radius: 999px;
    font-size: 11px;
}

.comments-hero {
    background: linear-gradient(120deg, transparent 50%, rgba(255, 152, 120, .13));
}

.comment-layout {
    display: grid;
    grid-template-columns: 390px 1fr;
    align-items: start;
    gap: 58px;
}

.comment-compose {
    position: sticky;
    top: 110px;
    padding: 30px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--white);
    box-shadow: 0 18px 48px rgba(16, 34, 43, .06);
}

.comment-compose h2,
.ticket-form-panel h2 {
    margin: 0;
    font-family: "Noto Serif SC", "Songti SC", serif;
    font-size: 34px;
    line-height: 1.25;
}

.muted {
    color: var(--muted);
}

.comment-compose .muted {
    margin: 10px 0 22px;
    font-size: 12px;
}

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

.stack-form label {
    display: grid;
    gap: 7px;
    font-size: 12px;
    font-weight: 700;
}

.stack-form label > span {
    display: flex;
    justify-content: space-between;
    gap: 12px;
}

.stack-form label small {
    color: var(--muted);
    font-weight: 400;
}

.stack-form input,
.stack-form textarea,
.stack-form select,
.ticket-reply-form textarea,
.admin-action-form textarea,
.admin-action-form select {
    width: 100%;
    padding: 13px 14px;
    color: var(--ink);
    border: 1px solid #d7ccbd;
    border-radius: 10px;
    outline: none;
    background: #fffefb;
    font-size: 14px;
    line-height: 1.5;
    transition: border .2s ease, box-shadow .2s ease;
}

.stack-form textarea,
.ticket-reply-form textarea,
.admin-action-form textarea {
    resize: vertical;
}

.stack-form input:focus,
.stack-form textarea:focus,
.stack-form select:focus,
.ticket-reply-form textarea:focus,
.admin-action-form textarea:focus,
.admin-action-form select:focus {
    border-color: var(--ink);
    box-shadow: 0 0 0 3px rgba(103, 216, 207, .25);
}

.form-hint {
    margin: -7px 0 0;
    color: var(--muted);
    font-size: 10px;
    text-align: center;
}

.form-hint-left {
    text-align: left;
}

.form-errors {
    margin-bottom: 18px;
    padding: 12px 14px;
    color: #7b2c22;
    border: 1px solid #efb9af;
    border-radius: 10px;
    background: #fff1ee;
    font-size: 12px;
}

.form-errors p {
    margin: 3px 0;
}

.honeypot {
    position: absolute !important;
    left: -10000px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
}

.comment-wall-head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 26px;
}

.comment-wall-head > span {
    color: var(--muted);
    font-size: 11px;
}

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

.comment-card {
    min-height: 190px;
    padding: 22px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: var(--white);
}

.comment-card-accent {
    background: var(--mint-soft);
}

.comment-card header {
    display: flex;
    align-items: center;
    gap: 11px;
}

.avatar-letter {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    color: var(--white);
    background: var(--ink);
    border-radius: 50%;
    font-size: 14px;
    font-weight: 800;
}

.comment-card header strong,
.comment-card header time {
    display: block;
}

.comment-card header strong {
    font-size: 13px;
}

.comment-card header time {
    margin-top: 2px;
    color: var(--muted);
    font-size: 9px;
}

.comment-card > p {
    margin: 18px 0 0;
    color: #42545c;
    font-size: 13px;
    line-height: 1.8;
}

.pagination {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin-top: 26px;
}

.pagination a {
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    border: 1px solid var(--line);
    border-radius: 50%;
    font-size: 12px;
}

.pagination a.active,
.pagination a:hover {
    color: var(--white);
    background: var(--ink);
}

.empty-panel {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 7px;
    min-height: 170px;
    padding: 28px;
    border: 1px dashed rgba(16, 34, 43, .3);
    border-radius: 18px;
    background: rgba(255, 253, 248, .45);
}

.empty-panel strong {
    font-family: "Noto Serif SC", "Songti SC", serif;
    font-size: 20px;
}

.empty-panel span {
    color: var(--muted);
    font-size: 12px;
}

.empty-panel.lighter {
    color: var(--white);
    background: rgba(255, 255, 255, .04);
    border-color: rgba(255, 255, 255, .2);
}

.empty-panel.lighter span {
    color: rgba(255, 255, 255, .5);
}

.empty-panel.lighter .text-link {
    margin-top: 10px;
    border-color: var(--mint);
}

.full-span {
    grid-column: 1 / -1;
}

.ticket-hero {
    color: var(--white);
    background:
        radial-gradient(circle at 85% 10%, rgba(103, 216, 207, .24), transparent 22rem),
        var(--ink);
}

.ticket-hero .eyebrow,
.ticket-hero .page-hero-side > p {
    color: rgba(255, 255, 255, .6);
}

.support-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.support-badges span {
    padding: 7px 12px;
    border: 1px solid rgba(255, 255, 255, .22);
    border-radius: 999px;
    font-size: 10px;
}

.ticket-create-grid {
    display: grid;
    grid-template-columns: .70fr 1.30fr;
    align-items: start;
    gap: 74px;
}

.ticket-intro {
    position: sticky;
    top: 112px;
}

.ticket-intro h2 {
    font-size: clamp(50px, 6vw, 78px);
}

.ticket-intro > p:not(.eyebrow) {
    margin: 24px 0 28px;
    color: var(--muted);
    font-size: 14px;
}

.ticket-quick {
    display: grid;
    gap: 10px;
}

.ticket-quick a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 14px 0;
    border-top: 1px solid var(--line);
}

.ticket-quick a:last-child {
    border-bottom: 1px solid var(--line);
}

.ticket-quick span {
    color: var(--muted);
    font-size: 11px;
}

.ticket-quick strong {
    font-size: 13px;
}

.ticket-form-panel {
    padding: 38px;
    border: 1px solid var(--line);
    border-radius: 26px;
    background: var(--white);
    box-shadow: 0 24px 60px rgba(16, 34, 43, .08);
}

.ticket-form-panel > h2 {
    margin-bottom: 24px;
}

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

.checkbox-label {
    display: flex !important;
    grid-template-columns: none !important;
    align-items: flex-start;
    gap: 10px !important;
    font-weight: 400 !important;
}

.checkbox-label input {
    width: 18px;
    height: 18px;
    margin: 3px 0 0;
    accent-color: var(--ink);
}

.ticket-layout {
    display: grid;
    grid-template-columns: 1fr 330px;
    align-items: start;
    gap: 42px;
}

.ticket-detail {
    padding: 34px;
    border: 1px solid var(--line);
    border-radius: 24px;
    background: var(--white);
}

.ticket-detail-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
}

.ticket-detail-head h2 {
    max-width: 720px;
    margin: 0;
    font-family: "Noto Serif SC", "Songti SC", serif;
    font-size: clamp(28px, 3vw, 42px);
    line-height: 1.25;
}

.status {
    display: inline-flex;
    align-items: center;
    flex: 0 0 auto;
    padding: 6px 11px;
    border-radius: 999px;
    font-size: 10px;
    font-weight: 700;
}

.status-open {
    color: #85492e;
    background: #ffe4d8;
}

.status-processing {
    color: #295c64;
    background: #dff6f3;
}

.status-resolved {
    color: #275c4b;
    background: #dff3e9;
}

.status-closed {
    color: #5f6365;
    background: #ecebe8;
}

.ticket-facts {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    margin: 28px 0;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: var(--line);
}

.ticket-facts span {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 13px;
    background: var(--paper);
    font-size: 12px;
}

.ticket-facts b {
    color: var(--muted);
    font-size: 9px;
    font-weight: 500;
    letter-spacing: .1em;
}

.timeline {
    position: relative;
    display: grid;
    gap: 0;
    margin-top: 30px;
}

.timeline-item {
    position: relative;
    display: grid;
    grid-template-columns: 20px 1fr;
    gap: 16px;
    padding-bottom: 24px;
}

.timeline-item::before {
    position: absolute;
    top: 17px;
    bottom: 0;
    left: 5px;
    width: 1px;
    content: "";
    background: var(--line);
}

.timeline-item:last-child::before {
    display: none;
}

.timeline-dot {
    position: relative;
    z-index: 2;
    width: 11px;
    height: 11px;
    margin-top: 5px;
    background: var(--ink);
    border: 2px solid var(--white);
    border-radius: 50%;
    box-shadow: 0 0 0 1px var(--ink);
}

.timeline-admin .timeline-dot {
    background: var(--mint);
    box-shadow: 0 0 0 1px #269a8d;
}

.timeline-item > div {
    padding: 16px 18px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: var(--paper);
}

.timeline-admin > div {
    background: var(--mint-soft);
}

.timeline-item header {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    font-size: 11px;
}

.timeline-item header time {
    color: var(--muted);
    font-size: 9px;
}

.timeline-item p {
    margin: 10px 0 0;
    color: #43545c;
    font-size: 13px;
    line-height: 1.8;
}

.ticket-reply-form {
    display: grid;
    gap: 14px;
    margin-top: 20px;
    padding-top: 24px;
    border-top: 1px solid var(--line);
}

.ticket-reply-form label {
    display: grid;
    gap: 7px;
    font-size: 12px;
    font-weight: 700;
}

.ticket-reply-form .button {
    justify-self: end;
}

.ticket-closed-note {
    margin-top: 22px;
    padding: 14px;
    color: var(--muted);
    background: var(--paper);
    border-radius: 10px;
    font-size: 12px;
}

.ticket-side {
    position: sticky;
    top: 112px;
    padding: 26px;
    color: var(--white);
    background: var(--ink);
    border-radius: 22px;
}

.ticket-side .side-kicker {
    color: var(--mint);
}

.ticket-side h2 {
    margin: 0;
    font-family: "Noto Serif SC", "Songti SC", serif;
    font-size: 32px;
}

.ticket-side > p:not(.side-kicker) {
    color: rgba(255, 255, 255, .6);
    font-size: 12px;
}

.ticket-side .button-primary {
    margin-top: 5px;
    color: var(--ink);
    background: var(--mint);
}

.ticket-security {
    margin-top: 18px;
    padding-top: 18px;
    border-top: 1px solid rgba(255, 255, 255, .15);
}

.ticket-security strong {
    font-size: 12px;
}

.ticket-security p {
    margin: 6px 0 0;
    color: rgba(255, 255, 255, .5);
    font-size: 10px;
}

.center-panel {
    max-width: 530px;
    margin: 0 auto;
    padding: 38px;
    border: 1px solid var(--line);
    border-radius: 24px;
    background: var(--white);
    box-shadow: var(--shadow);
    text-align: center;
}

.center-panel h2 {
    margin: 0;
    font-family: "Noto Serif SC", "Songti SC", serif;
    font-size: 38px;
}

.center-panel > p {
    color: var(--muted);
    font-size: 13px;
}

.lookup-form {
    margin: 24px 0 20px;
    text-align: left;
}

.admin-login-page {
    display: grid;
    place-items: center;
    min-height: 75vh;
    padding: 60px 20px;
}

.admin-login-card {
    width: min(100%, 440px);
    padding: 38px;
    border: 1px solid var(--line);
    border-radius: 26px;
    background: var(--white);
    box-shadow: var(--shadow);
    text-align: center;
}

.admin-login-card > img {
    width: 92px;
    margin-bottom: 10px;
}

.admin-login-card .side-kicker {
    justify-content: center;
}

.admin-login-card h1 {
    margin: 0;
    font-family: "Noto Serif SC", "Songti SC", serif;
    font-size: 40px;
}

.admin-login-card > p:not(.side-kicker) {
    color: var(--muted);
    font-size: 12px;
}

.admin-login-card .stack-form {
    margin: 24px 0 20px;
    text-align: left;
}

.admin-section {
    padding: 60px 0 100px;
}

.admin-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 30px;
    margin-bottom: 34px;
}

.admin-head p:last-child {
    color: var(--muted);
    font-size: 12px;
}

.admin-stats {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin-bottom: 28px;
}

.admin-stats a {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 4px 20px;
    padding: 24px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: var(--white);
}

.admin-stats a.active {
    color: var(--white);
    background: var(--ink);
}

.admin-stats span,
.admin-stats small {
    font-size: 11px;
    opacity: .65;
}

.admin-stats strong {
    grid-row: span 2;
    align-self: center;
    font-family: "Times New Roman", serif;
    font-size: 44px;
}

.admin-tabs {
    display: flex;
    gap: 6px;
    margin-bottom: 18px;
}

.admin-tabs a {
    padding: 9px 16px;
    border: 1px solid var(--line);
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
}

.admin-tabs a.active {
    color: var(--white);
    background: var(--ink);
}

.admin-list,
.admin-comments {
    display: grid;
    gap: 12px;
}

.admin-ticket {
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: var(--white);
}

.admin-ticket summary {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 16px;
    padding: 18px 20px;
    cursor: pointer;
    list-style: none;
}

.admin-ticket summary::-webkit-details-marker {
    display: none;
}

.admin-summary-copy strong,
.admin-summary-copy small {
    display: block;
}

.admin-summary-copy strong {
    font-size: 14px;
}

.admin-summary-copy small,
.admin-summary-meta {
    margin-top: 3px;
    color: var(--muted);
    font-size: 10px;
}

.admin-ticket-body {
    display: grid;
    gap: 15px;
    padding: 0 20px 22px;
    border-top: 1px solid var(--line);
}

.admin-ticket-facts {
    display: flex;
    flex-wrap: wrap;
    gap: 16px 28px;
    padding-top: 17px;
    font-size: 11px;
}

.admin-ticket-facts b {
    margin-right: 8px;
    color: var(--muted);
    font-weight: 500;
}

.admin-message {
    padding: 14px 16px;
    background: var(--paper);
    border-radius: 10px;
}

.admin-message-staff {
    background: var(--mint-soft);
}

.admin-message strong {
    font-size: 11px;
}

.admin-message p {
    margin: 7px 0 0;
    color: #405158;
    font-size: 12px;
}

.admin-action-form {
    display: grid;
    grid-template-columns: 170px 1fr auto;
    align-items: end;
    gap: 12px;
}

.admin-action-form label {
    display: grid;
    gap: 6px;
    font-size: 10px;
    font-weight: 700;
}

.admin-comment-card {
    padding: 20px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: var(--white);
}

.admin-comment-card header,
.admin-comment-card footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.admin-comment-card header strong,
.admin-comment-card header time {
    display: block;
}

.admin-comment-card header strong {
    font-size: 13px;
}

.admin-comment-card header time {
    color: var(--muted);
    font-size: 9px;
}

.admin-comment-card > p {
    margin: 16px 0;
    color: #43545b;
    font-size: 13px;
}

.admin-comment-card footer {
    justify-content: flex-start;
    border-top: 1px solid var(--line);
    padding-top: 12px;
}

.text-button {
    padding: 0;
    color: var(--ink);
    border: 0;
    background: none;
    font-size: 11px;
    text-decoration: underline;
    cursor: pointer;
}

.text-button.danger {
    color: var(--danger);
}

.reveal {
    opacity: 1;
    transform: none;
}

.js .reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity .7s ease, transform .7s ease;
}

.js .reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

@keyframes float {
    0%, 100% { transform: translateY(0) rotate(-1deg); }
    50% { transform: translateY(-14px) rotate(1deg); }
}

@keyframes slow-spin {
    to { transform: rotate(360deg); }
}

@keyframes marquee {
    to { transform: translateX(-50%); }
}

@media (max-width: 1080px) {
    .hero-grid {
        gap: 20px;
    }

    .hero-visual {
        min-height: 520px;
    }

    .pulse-grid,
    .service-grid {
        gap: 45px;
    }

    .comment-layout {
        grid-template-columns: 340px 1fr;
        gap: 30px;
    }

    .ticket-create-grid {
        gap: 38px;
    }

    .footer-grid {
        grid-template-columns: 1.5fr repeat(3, 1fr);
        gap: 30px;
    }
}

@media (max-width: 860px) {
    .shell {
        width: min(calc(100% - 32px), var(--shell));
    }

    .header-inner {
        min-height: 70px;
    }

    .menu-toggle {
        display: block;
    }

    .site-nav {
        position: absolute;
        top: 70px;
        right: 16px;
        left: 16px;
        display: none;
        flex-direction: column;
        align-items: stretch;
        padding: 14px;
        border: 1px solid var(--line);
        border-radius: 18px;
        background: var(--white);
        box-shadow: var(--shadow);
    }

    .site-nav.is-open {
        display: flex;
    }

    .site-nav a {
        padding: 13px 15px;
    }

    .site-nav .nav-admin,
    .site-nav .nav-forum-login {
        margin-left: 0;
    }

    .hero {
        padding-top: 42px;
    }

    .hero-grid,
    .page-hero-grid,
    .pulse-grid,
    .service-grid,
    .comment-layout,
    .ticket-create-grid,
    .ticket-layout {
        grid-template-columns: 1fr;
    }

    .hero-grid {
        min-height: 0;
    }

    .hero h1 {
        font-size: clamp(60px, 15vw, 92px);
    }

    .hero-visual {
        min-height: auto;
        margin-top: 20px;
    }

    .hero-mark-wrap {
        width: min(100%, 540px);
    }

    .hero-stamp {
        width: 82px;
        height: 82px;
        font-size: 9px;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .stat:nth-child(3) {
        border-left: 0;
        border-top: 1px solid var(--line);
    }

    .stat:nth-child(4) {
        border-top: 1px solid var(--line);
    }

    .section {
        padding: 78px 0;
    }

    .board-grid {
        grid-template-columns: 1fr;
    }

    .pulse-side {
        border-radius: 24px 24px 80px 24px;
    }

    .service-intro {
        max-width: 620px;
    }

    .page-hero {
        padding: 62px 0 50px;
    }

    .page-hero-grid {
        gap: 34px;
    }

    .comment-compose,
    .ticket-intro,
    .ticket-side {
        position: static;
    }

    .comment-compose {
        order: 0;
    }

    .ticket-form-panel,
    .ticket-detail {
        padding: 26px;
    }

    .ticket-facts {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-brand {
        grid-column: 1 / -1;
    }

    .admin-action-form {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 560px) {
    body {
        font-size: 15px;
    }

    .shell {
        width: calc(100% - 26px);
    }

    .brand-copy small {
        display: none;
    }

    .brand-mark {
        width: 45px;
        height: 45px;
    }

    .hero {
        padding-bottom: 45px;
    }

    .hero h1,
    .page-hero h1 {
        font-size: clamp(48px, 16vw, 70px);
    }

    .hero-lead {
        margin: 22px 0;
        font-size: 15px;
    }

    .hero-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .hero-actions .button {
        width: 100%;
    }

    .hero-mark-wrap {
        width: 106%;
        margin-left: -3%;
    }

    .hero-card-top {
        top: 16%;
    }

    .hero-card-bottom {
        right: 0;
        bottom: 10%;
    }

    .hero-stamp {
        top: 2%;
        right: 0;
    }

    .stats-section {
        padding-top: 54px;
    }

    .stat {
        padding: 21px 8px;
    }

    .section-heading {
        align-items: flex-start;
        flex-direction: column;
        gap: 16px;
    }

    .board-card {
        min-height: 280px;
    }

    .comment-grid,
    .form-row,
    .ticket-facts,
    .admin-stats {
        grid-template-columns: 1fr;
    }

    .ticket-form-panel,
    .ticket-detail,
    .comment-compose,
    .center-panel {
        padding: 22px;
        border-radius: 18px;
    }

    .ticket-detail-head {
        flex-direction: column;
    }

    .timeline-item header {
        flex-direction: column;
        gap: 3px;
    }

    .closing-band {
        padding: 72px 0 110px;
    }

    .circle-cta {
        right: auto;
        bottom: 15%;
        left: 0;
        width: 70px;
        height: 70px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .footer-brand {
        grid-column: auto;
    }

    .footer-bottom {
        flex-direction: column;
    }

    .admin-head {
        align-items: flex-start;
        flex-direction: column;
    }

    .admin-ticket summary {
        grid-template-columns: auto 1fr;
    }

    .admin-summary-meta {
        display: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
    }

    .js .reveal {
        opacity: 1;
        transform: none;
    }
}
