:root { color-scheme: light; --ink: #30272a; --muted: #82767a; --red: #791f2b; --gold: #ecd5a3; --line: #eee5df; --paper: #fbf8f3; }
* { box-sizing: border-box; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif; font-size: 14px; line-height: 1.65; }
button, select { font: inherit; }
button, a, select { -webkit-tap-highlight-color: transparent; }
button, select, a { touch-action: manipulation; }
button { cursor: pointer; }
button:disabled { cursor: wait; opacity: .5; }
a { color: var(--red); text-decoration: none; }
a:focus-visible, button:focus-visible, select:focus-visible { outline: 3px solid #bd964c; outline-offset: 4px; }
[hidden] { display: none !important; }
.page { width: min(100%, 560px); margin: auto; padding: 16px 16px max(16px, env(safe-area-inset-bottom)); }
.hero { position: relative; overflow: hidden; padding: 26px 26px 20px; min-height: 355px; border-radius: 20px; background: radial-gradient(ellipse at 105% 80%, #a05150 0, transparent 55%), #791f2b; color: #fff7e9; }
.hero::after { content: ""; position: absolute; border: 1px solid #d3ac6b55; width: 270px; height: 270px; border-radius: 50%; right: -105px; bottom: 48px; pointer-events: none; }
.hero-top, .hero-bottom { display: flex; align-items: center; justify-content: space-between; gap: 10px; position: relative; z-index: 1; }
.eyebrow { color: var(--gold); font-size: 9px; letter-spacing: 1.8px; }
.environment { font-size: 10px; background: #ffffff12; padding: 4px 8px; border-radius: 20px; white-space: nowrap; }
.year { position: absolute; right: 12px; top: 65px; font-size: 120px; line-height: 1; font-family: Georgia, serif; letter-spacing: -10px; color: #ffffff0a; }
.hero-kicker { color: var(--gold); letter-spacing: 5px; font-size: 12px; margin: 32px 0 10px; }
h1 { font-family: "Songti SC", "Noto Serif CJK SC", serif; font-size: clamp(37px, 9vw, 47px); font-weight: 500; line-height: 1.45; letter-spacing: 3px; margin: 0; position: relative; }
.hero-description { color: #edcfcc; font-size: 12px; margin: 16px 0 30px; }
.hero-bottom { border-top: 1px solid #ffffff20; padding-top: 14px; font-size: 10px; color: #dec0b4; letter-spacing: 1px; }
.sparkle { color: var(--gold); font-size: 22px; line-height: 1; }
.panel { margin-top: 14px; padding: 23px; background: #fff; border: 1px solid var(--line); border-radius: 16px; }
.section-heading { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 18px; }
.section-label { margin: 0 0 5px; color: #a18563; font-size: 10px; letter-spacing: 1.4px; }
h2 { font-size: 18px; font-weight: 600; margin: 0 0 12px; letter-spacing: .5px; }
.section-heading h2 { margin: 0; }
.muted { color: var(--muted); }
.small { font-size: 11px; }
.connection { margin: 0 0 18px; }
.connection > div { display: flex; gap: 14px; margin-top: 7px; }
.connection dt { color: var(--muted); width: 32px; flex-shrink: 0; font-size: 12px; }
.connection dd { margin: 0; overflow-wrap: anywhere; min-width: 0; font-size: 12px; }
code { font-family: ui-monospace, "SFMono-Regular", Consolas, monospace; font-size: 11px; }
.checks { padding: 0; margin: 0 0 12px; list-style: none; }
.checks li { display: flex; justify-content: space-between; align-items: center; padding: 12px 0; gap: 12px; border-top: 1px solid var(--line); font-size: 12px; }
.status { color: #8c8580; font-size: 11px; text-align: right; }
.status::before { content: ""; display: inline-block; width: 5px; height: 5px; margin-right: 6px; border-radius: 50%; background: currentColor; vertical-align: middle; }
.status[data-state="success"] { color: #387559; }
.status[data-state="error"] { color: #a3323f; }
.status[data-state="pending"], .status[data-state="warning"] { color: #a07931; }
.button { min-height: 48px; width: 100%; border-radius: 10px; font-size: 14px; font-weight: 600; letter-spacing: 1px; padding: 12px 16px; }
.button-primary { border: 1px solid var(--red); background: var(--red); color: #fff8ee; }
.button-outline { border: 1px solid #d7bdbe; color: var(--red); background: #fff; margin-top: 13px; }
.small-button { border: 1px solid #e7dbd2; color: var(--red); border-radius: 8px; background: #fcf9f5; padding: 7px 11px; font-size: 11px; white-space: nowrap; }
.text-button { background: transparent; border: 0; color: var(--muted); font-size: 11px; padding: 8px; }
.text-link { display: inline-block; padding: 4px 0; }
.share-preview { display: flex; gap: 16px; align-items: center; background: #faf8f5; padding: 16px; border-radius: 10px; margin: 2px 0 18px; }
.share-copy { flex: 1; min-width: 0; }
.share-preview h3 { font-size: 14px; margin: 5px 0; }
.share-preview p { margin: 4px 0; font-size: 11px; color: var(--muted); }
.share-preview img { object-fit: cover; border-radius: 7px; width: 74px; height: 74px; flex-shrink: 0; }
.preview-label { color: #9d876b; font-size: 9px; }
.scope-label { display: block; font-size: 11px; color: var(--muted); margin-bottom: 7px; }
select { width: 100%; min-height: 44px; padding: 10px; border: 1px solid var(--line); border-radius: 8px; color: var(--ink); background: #faf8f5; }
.callback { border-color: #d7bc84; background: #fffdf7; }
.ticket { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px; border: 1px solid var(--line); border-radius: 8px; }
.notice { margin: 0; padding: 12px; background: #faf8f5; border-radius: 8px; font-size: 12px; overflow-wrap: anywhere; }
.notice[data-state="error"] { color: #a3323f; background: #fff4f4; }
.notice[data-state="success"] { color: #387559; }
.logs { max-height: 330px; overflow-y: auto; }
.log-entry { margin-top: 12px; border: 1px solid var(--line); border-radius: 8px; }
.log-entry summary { padding: 10px; cursor: pointer; font-size: 11px; overflow-wrap: anywhere; }
.log-entry pre { margin: 0; padding: 0 10px 12px; white-space: pre-wrap; overflow-wrap: anywhere; color: #726567; font-size: 10px; line-height: 1.6; }
footer { color: #a89a92; text-align: center; font-size: 10px; padding: 28px 0 12px; }
footer span { margin: 0 8px; color: #bd965d; }
@media (min-width: 600px) { .page { padding-top: 32px; padding-bottom: 32px; } .hero { padding: 30px; } .panel { padding: 26px; } }
@media (prefers-reduced-motion: no-preference) { .button, .small-button { transition: opacity .15s, transform .15s; } .button:active, .small-button:active { transform: translateY(1px); } }
