:root {
  color-scheme: light;
  --ink: #1d2623;
  --muted: #626a64;
  --paper: #f4f4ef;
  --line: #dedfd7;
  --light-line: #e9e9e2;
  --accent: #a94728;
  --apricot: #ff956b;
  --panel: #fffefa;
  --radius: 13px;
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-padding-top: 90px; }
body { margin: 0; color: var(--ink); background: var(--paper); font: 15px/1.6 Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif; -webkit-font-smoothing: antialiased; }
button, input, select, textarea { font: inherit; color: inherit; }
button, select { cursor: pointer; }
button { background: none; border: none; padding: 0; }
a { color: inherit; text-decoration: none; }
button, a, input, textarea, select { -webkit-tap-highlight-color: transparent; }
button:focus-visible, a:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible { outline: 3px solid #c96840; outline-offset: 3px; }
button:disabled { cursor: wait; opacity: .55; }
::selection { background: #fbd6c3; color: #1e2420; }
svg { width: 19px; height: 19px; display: inline-block; flex: none; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.symbols { position: absolute; width: 0; height: 0; pointer-events: none; }
.skip { position: fixed; z-index: 20; left: 12px; top: -100px; background: white; padding: 10px 16px; border-radius: 6px; }
.skip:focus { top: 8px; }
.topbar { position: sticky; z-index: 8; top: 0; background: #19211f; color: #f9f8f1; border-bottom: 1px solid #111a16; }
.topinner, .layout, .site-foot { max-width: 1576px; margin-inline: auto; padding-inline: clamp(24px, 3vw, 54px); }
.topinner { display: flex; align-items: center; height: 72px; gap: 23px; }
.brand { display: inline-flex; gap: 11px; align-items: center; flex: none; margin-right: clamp(8px, 2.2vw, 42px); }
.brand img { display: block; width: 40px; height: 40px; }
.brand > span { display: flex; align-items: baseline; gap: 9px; font-size: 25px; line-height: 1; font-weight: 800; letter-spacing: -.8px; }
.brand small { font-size: 14px; color: #d2d4c7; letter-spacing: -.3px; font-weight: 600; }
.toplink { position: relative; display: flex; align-items: center; height: 100%; white-space: nowrap; font-size: 14px; font-weight: 600; color: #c1c8c0; }
.toplink:hover { color: white; }
a.toplink { color: #fbf7ec; }
a.toplink::after { content: ""; position: absolute; height: 3px; width: 26px; background: var(--apricot); bottom: 0; left: calc(50% - 13px); border-radius: 2px 2px 0 0; }
.global-search { padding: 0 10px 0 13px; height: 38px; margin-left: auto; display: flex; align-items: center; gap: 9px; width: clamp(185px, 23vw, 355px); background: #2a3330; color: #b3bbb5; border: 1px solid #434b46; border-radius: 7px; }
.global-search:focus-within { border-color: var(--apricot); }
.global-search svg { width: 16px; height: 16px; }
.global-search input { flex: 1; min-width: 0; width: 100%; background: transparent; color: white; border: 0; outline: none; font-size: 13px; }
.global-search input::placeholder { color: #bec4bd; }
.global-search input:focus-visible { outline: none; }
.global-search kbd { line-height: 17px; text-align: center; width: 18px; color: #c0c6be; border: 1px solid #566059; border-radius: 3px; font-size: 12px; }
.primary { display: inline-flex; align-items: center; justify-content: center; gap: 7px; min-height: 38px; padding: 8px 15px; border-radius: 7px; background: var(--apricot); color: #221b17; font-size: 14px; line-height: 1.45; font-weight: 730; }
.primary:hover { background: #ffad89; }
.primary svg { width: 16px; height: 16px; }
.compose { flex: none; }
.layout { display: grid; grid-template-columns: clamp(156px, 13.8vw, 208px) minmax(0, 1fr) clamp(218px, 18vw, 278px); column-gap: clamp(19px, 1.7vw, 28px); align-items: start; padding-top: 25px; }
.left { position: sticky; top: 93px; min-width: 0; padding: 3px 5px 0 0; }
.rail-label { margin: 0 0 11px 11px; font-size: 12px; font-weight: 660; color: #6a7068; letter-spacing: 1.15px; }
.boards-label { padding-top: 20px; margin: 18px 0 8px 11px; border-top: 1px solid var(--line); }
.navitem { display: flex; gap: 10px; align-items: center; min-height: 42px; padding: 8px 11px; color: #4d5850; margin: 2px 0; border-radius: 7px; }
.navitem > span { font-size: 14px; font-weight: 560; white-space: nowrap; }
.navitem:hover, .rank-link:hover { background: #eeeee7; color: var(--ink); }
.navitem[aria-current="page"] { color: #9c3d20; background: #f6ded0; }
.navitem > svg { width: 18px; height: 18px; }
.navitem small { font: 550 11px/1 Inter, sans-serif; color: #747b72; margin-left: auto; padding: 4px 6px; background: #e9ebe3; border-radius: 5px; }
.navitem[aria-current="page"] small { color: #97391e; background: #f3ceba; }
.side-bottom { margin: 20px 8px 0; padding: 17px 3px 0; border-top: 1px solid var(--line); }
.side-bottom button { display: flex; align-items: center; gap: 8px; color: #535f55; width: 100%; font-size: 13px; }
.side-bottom button svg { width: 15px; height: 15px; }
.side-bottom .end { margin-left: auto; width: 13px; height: 13px; }
.side-bottom p { color: #6a716a; font-size: 12px; margin: 15px 0 0; line-height: 1.8; }
.center, .right { min-width: 0; }
.hero { position: relative; isolation: isolate; overflow: hidden; display: flex; align-items: center; min-height: clamp(202px, 16vw, 236px); border-radius: var(--radius); background: #202824; color: #fff8e9; }
.hero-image { position: absolute; inset: 0 0 0 43%; z-index: -1; background: #202824 url("./hero.webp") no-repeat center right/cover; }
.hero-image::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, #202824 0%, rgba(32,40,36,.82) 9%, rgba(32,40,36,0) 29%); }
.hero-copy { padding: 24px clamp(22px, 2.3vw, 38px) 25px; max-width: 69%; }
.hero-label { display: inline-flex; gap: 7px; align-items: center; color: #f7c9a9; font-size: 12px; font-weight: 610; letter-spacing: 1.4px; }
.hero-label i { height: 7px; width: 7px; background: #fa966e; border-radius: 50%; box-shadow: 0 0 0 3px #ffffff0e; }
.hero h1 { margin: 11px 0 10px; font-size: clamp(30px, 2.75vw, 45px); font-weight: 760; letter-spacing: -1.8px; line-height: 1.17; }
.hero h1 span { color: #ffa378; white-space: nowrap; }
.hero p { font-size: 15px; line-height: 1.65; color: #eee9da; margin: 0; }
.panel { border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel); }
.discussion, .detail { margin-top: 16px; scroll-margin-top: 16px; }
.discussion:focus, .detail:focus { outline: none; }
.feed-heading { display: flex; gap: 12px; align-items: center; justify-content: space-between; padding: 17px 23px 11px; }
.heading-title { display: flex; align-items: baseline; gap: 10px; }
.heading-title h2 { margin: 0; font-size: clamp(21px, 1.7vw, 27px); line-height: 1.4; letter-spacing: -.6px; font-weight: 750; }
.feed-count { color: var(--muted); font-size: 12px; }
.sort { display: flex; gap: 3px; align-items: center; color: #536054; }
.sort svg { width: 15px; height: 15px; }
.sort select { font-size: 13px; border: 0; background: transparent; }
.feed-tabs { display: flex; align-items: center; gap: 7px; padding: 0 23px 14px; border-bottom: 1px solid var(--light-line); }
.feed-tabs button { color: #59615a; font-size: 13px; font-weight: 580; padding: 5px 12px; border-radius: 6px; }
.feed-tabs button[aria-pressed="true"] { color: #fff; background: #303c34; }
.feed-tabs button:hover:not([aria-pressed="true"]) { background: #eeeFE8; }
#search-info { display: flex; align-items: center; gap: 10px; padding: 10px 23px; background: #f4f4ed; color: #5b655a; font-size: 13px; overflow-wrap: anywhere; }
#search-info button { color: var(--accent); margin-left: auto; flex: none; font-weight: 600; }
.thread { display: grid; grid-template-columns: 42px minmax(0,1fr) auto; align-items: start; column-gap: 13px; padding: 20px 23px 18px; }
.thread + .thread { border-top: 1px solid var(--light-line); }
.board-glyph { background: var(--board-bg, #f2e3d9); color: var(--board-ink, #934b35); display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; }
.board-glyph svg { width: 22px; height: 22px; }
[data-board="account"] { --board-bg: #f6e3d9; --board-ink: #a5432c; }
[data-board="verify"] { --board-bg: #eae4f2; --board-ink: #70588b; }
[data-board="payment"] { --board-bg: #dfecee; --board-ink: #386c73; }
[data-board="refund"] { --board-bg: #e4ebde; --board-ink: #546f40; }
[data-board="practice"] { --board-bg: #e3e9f3; --board-ink: #4e638b; }
[data-board="lounge"] { --board-bg: #f5eaca; --board-ink: #896226; }
.thread h3 { font-size: clamp(16px, 1.2vw, 19px); letter-spacing: -.2px; margin: -2px 0 5px; font-weight: 710; line-height: 1.5; overflow-wrap: anywhere; }
.thread h3 a:hover, .official a:hover, .source-link:hover { color: var(--accent); }
.excerpt { margin: 0; color: #5e685f; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; font-size: 14px; line-height: 1.65; overflow-wrap: anywhere; }
.meta { display: flex; align-items: center; gap: 5px 9px; flex-wrap: wrap; color: #6b726a; font-size: 11.5px; margin-top: 9px; }
.pill { background: var(--board-bg); color: var(--board-ink); border-radius: 4px; padding: 1px 7px; font-size: 11px; font-weight: 650; }
.meta .sep::before { content: "·"; margin-right: 8px; }
.reply-count { display: inline-flex; gap: 4px; align-items: center; justify-self: end; color: #6b756c; font-size: 12px; font-variant-numeric: tabular-nums; margin-top: 2px; }
.reply-count svg { width: 15px; height: 15px; }
.empty { padding: 28px 20px; color: var(--muted); text-align: center; margin: 0; }
.empty button { margin: 8px; color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.right { display: grid; gap: 13px; }
.rail-panel { padding: 17px 18px; }
.rail-panel h2 { display: flex; align-items: center; gap: 8px; margin: 0 0 14px; font-size: 16px; font-weight: 730; letter-spacing: -.1px; }
.rail-panel h2 svg { width: 17px; height: 17px; color: #a84d2f; }
.stats { display: grid; grid-template-columns: 1fr 1fr; }
.stats > div { display: flex; flex-direction: column; gap: 2px; }
.stats > div + div { border-left: 1px solid var(--line); padding-left: 18px; }
.stats strong { font: 680 29px/1.08 Inter, "Segoe UI", sans-serif; letter-spacing: -1.2px; }
.stats span { font-size: 12px; color: var(--muted); }
#ranking { list-style: none; padding: 0; margin: -3px 0 -5px; }
.rank-link { display: flex; gap: 9px; align-items: center; padding: 6px 0; font-size: 13px; border-radius: 4px; }
.rank-link .place { width: 20px; font: 650 12px/1.5 "Courier New", monospace; color: #7b8177; }
.rank-link .rank-count { color: #777f75; font-size: 11px; margin-left: auto; }
#ranking li:nth-child(-n+3) .place { color: var(--accent); }
.tags { display: flex; gap: 7px 6px; flex-wrap: wrap; }
.tag { background: #f1f2ea; color: #526052; font-size: 12px; padding: 3px 8px; border-radius: 5px; }
.tag:hover, .tag[aria-pressed="true"] { background: #f5dfd2; color: #994627; }
.motto { position: relative; overflow: hidden; padding: 18px 19px; border-radius: var(--radius); color: #613b2d; background: #f4decf; border: 1px solid #ecd2c2; }
.motto .quote { font: bold 54px/.72 Georgia, serif; height: 22px; color: #aa542e; }
.motto p { margin: 3px 0 8px; font-size: clamp(16px, 1.2vw, 19px); line-height: 1.5; font-weight: 670; letter-spacing: -.3px; }
.motto span { font-size: 12px; color: #805b47; }
.official a { display: flex; align-items: center; justify-content: space-between; font-size: 13px; padding: 5px 0; }
.official h2 { margin-bottom: 8px; }
.official a svg { width: 14px; height: 14px; color: #738071; }
.site-foot { display: flex; gap: 18px; align-items: center; justify-content: flex-end; padding-block: 25px; font-size: 12px; color: #626e64; }
.site-foot b { font-family: Inter, sans-serif; }
.site-foot button { text-decoration: underline; text-underline-offset: 3px; }
.detail { margin: 0; padding: clamp(20px, 2.4vw, 36px); }
.back-link, .source-link { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: var(--accent); font-weight: 600; }
.back-link svg, .source-link svg { width: 15px; height: 15px; }
.detail .detail-heading { font-size: clamp(25px, 2.3vw, 36px); line-height: 1.38; margin: 17px 0 8px; letter-spacing: -.8px; overflow-wrap: anywhere; }
.detail-meta { font-size: 13px; }
.article-body { line-height: 1.9; padding-block: 8px; font-size: 16px; overflow-wrap: anywhere; }
.article-body p, .reply p { white-space: pre-wrap; }
.question { color: #594839; border-left: 3px solid #d48358; padding: 8px 15px; background: #f6efe5; margin: 13px 0 17px; }
.source-link { overflow-wrap: anywhere; }
.reply-area { border-top: 1px solid var(--line); margin-top: 24px; padding-top: 20px; }
.reply-area h2 { font-size: 20px; margin: 0; }
.reply { margin-top: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.reply strong { overflow-wrap: anywhere; }
.reply time { color: var(--muted); margin-left: 10px; font-size: 12px; }
.reply p { margin: 5px 0 0; overflow-wrap: anywhere; }
.reply-form { border: 1px solid var(--line); padding: 18px; border-radius: 9px; background: #f7f7ef; margin-top: 20px; }
.reply-form h3 { margin: 0; }
dialog { position: fixed; max-width: min(500px, calc(100% - 30px)); max-height: calc(100dvh - 40px); width: 100%; margin: auto; border: 1px solid #d4d8cd; background: var(--panel); color: var(--ink); padding: 24px; border-radius: 14px; box-shadow: 0 12px 72px #10191144; overflow: auto; }
dialog::backdrop { background: #18211e80; }
.dialog-heading { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.dialog-heading h2 { margin: 0; font-size: 24px; }
.icon-button { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 6px; background: #f1f2ea; }
.icon-button:hover { background: #e8eade; }
.form-note { font-size: 13px; color: var(--muted); margin: 7px 0 12px; overflow-wrap: anywhere; }
.paired { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; }
form label { display: block; font-size: 13px; font-weight: 650; margin-top: 10px; }
form :is(input, select, textarea) { width: 100%; border: 1px solid #c9d0c5; background: white; border-radius: 6px; padding: 8px 10px; margin-top: 4px; font-size: 15px; font-weight: 400; }
form textarea { resize: vertical; min-height: 75px; display: block; }
.form-error { font-size: 13px; color: #a23824; margin: 6px 0; }
.form-error:empty { display: none; }
.form-actions { display: flex; gap: 10px; justify-content: flex-end; margin-top: 16px; }
.plain-button { padding: 7px 13px; border: 1px solid var(--line); border-radius: 6px; }
.rules-list { padding-left: 1.3em; }
.rules-list li { margin: 9px 0; }
@media(max-width:1190px) {
  .topinner, .layout, .site-foot { padding-inline: 20px; }
  .layout { grid-template-columns: 152px minmax(0,1fr) 202px; gap: 17px; }
  .rail-panel { padding: 15px; }
  .hero-copy { max-width: 72%; padding-inline: 23px; }
  .thread { padding: 18px; grid-template-columns: 38px minmax(0,1fr) auto; gap: 10px; }
  .board-glyph { width: 38px; height: 38px; }
}
@media(max-width:1000px) {
  .layout { grid-template-columns: 147px minmax(0,1fr); }
  .right { grid-column: 2; grid-template-columns: repeat(2,minmax(0,1fr)); }
  .hero { min-height: 195px; }
  .topinner { gap: 17px; }
  .brand { margin-right: 5px; }
  .toplink { font-size: 13px; }
}
@media(max-width:720px) {
  html { scroll-padding-top: 72px; }
  .topinner, .layout, .site-foot { padding-inline: 14px; }
  .topinner { height: 62px; gap: 11px; }
  .brand { margin: 0; gap: 7px; }
  .brand img { width: 34px; height: 34px; }
  .brand > span { font-size: 21px; }
  .brand small { display: none; }
  .toplink, .global-search kbd { display: none; }
  .global-search { height: 35px; flex: 1; min-width: 45px; width: auto; padding-inline: 8px; gap: 5px; }
  .global-search input { font-size: 12px; }
  .primary { padding: 8px 10px; font-size: 13px; gap: 4px; }
  .layout { display: block; padding-top: 8px; }
  .left { position: static; padding: 0; }
  .left nav { display: flex; gap: 5px; align-items: center; overflow-x: auto; padding: 3px 1px 10px; scrollbar-width: thin; }
  .left .rail-label, .left .side-bottom { display: none; }
  #board-nav { display: contents; }
  .navitem { flex: none; padding: 6px 9px; gap: 4px; border: 1px solid var(--line); min-height: 32px; background: #f9faf4; }
  .navitem[aria-current="page"] { border-color: #edcdb9; }
  .navitem span { font-size: 12px; }
  .navitem svg { width: 14px; height: 14px; }
  .navitem small { display: none; }
  .hero { min-height: 165px; }
  .hero-copy { max-width: 74%; padding: 17px 18px; }
  .hero h1 { font-size: clamp(23px, 5.1vw, 34px); letter-spacing: -1px; margin-block: 8px; }
  .hero-image { left: 43%; }
  .hero p { font-size: 13px; }
  .hero-label { font-size: 11px; }
  .discussion { margin-top: 12px; }
  .feed-heading { padding: 14px 15px 9px; }
  .feed-tabs { padding: 0 15px 11px; gap: 3px; }
  .feed-tabs button { padding: 5px 10px; }
  .thread { padding: 16px 13px; grid-template-columns: 31px minmax(0,1fr); column-gap: 9px; position: relative; }
  .board-glyph { width: 31px; height: 31px; border-radius: 9px; }
  .board-glyph svg { width: 18px; height: 18px; }
  .thread h3 { font-size: 16px; margin-top: -1px; }
  .excerpt { font-size: 13px; }
  .reply-count { position: absolute; bottom: 17px; right: 13px; }
  .meta { padding-right: 27px; gap: 4px 6px; font-size: 11px; }
  .right { display: grid; margin-top: 14px; gap: 10px; }
  .site-foot { flex-wrap: wrap; gap: 8px; justify-content: center; }
  .detail { padding: 17px; }
  .detail .detail-heading { font-size: 24px; }
  .reply-form { padding: 13px; }
  dialog { padding: 18px; }
}
@media(max-width:399px) {
  .topinner, .layout, .site-foot { padding-inline: 10px; }
  .topinner { gap: 7px; }
  .compose svg { display: none; }
  .hero-copy { max-width: 80%; padding-inline: 14px; }
  .hero-image { left: 49%; }
  .right { grid-template-columns: 1fr; }
  .paired { grid-template-columns: 1fr; gap: 0; }
}
