:root{color-scheme:light;--paper:#f5f0e5;--ink:#393e38;--muted:#777d71;--line:#d6d5c8;--rust:#a74e37;--green:#4d6258}*{box-sizing:border-box}body{margin:0;background:#e8e8db;color:var(--ink);font:16px/1.85 system-ui,-apple-system,'PingFang SC',sans-serif}button,input,select{font:inherit}button,a{touch-action:manipulation}button{cursor:pointer;color:inherit}button:disabled{cursor:not-allowed;opacity:.55}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:1px dotted #397fa5;outline-offset:2px}button{border:1px solid var(--line);background:var(--paper);padding:8px 18px}a{color:inherit}.serif,h1,h2,h3{font-family:'Noto Serif SC','Songti SC',serif}h1,h2,h3,p{margin-top:0}.shell{max-width:1240px;margin:auto;padding:0 40px}.utility{display:flex;justify-content:space-between;border-bottom:1px solid var(--line);padding:13px 0;font-size:12px;letter-spacing:1.8px;color:var(--muted)}.masthead{position:relative;display:flex;justify-content:space-between;align-items:center;padding:44px 0 35px;gap:25px}.masthead h1{font-size:40px;letter-spacing:6px;margin:0 0 5px;font-weight:600}.masthead p{font-size:13px;letter-spacing:4px;color:var(--muted);margin:0}.stamp{border:1px solid #af6954;color:#af6954;width:75px;height:75px;border-radius:50%;display:grid;place-content:center;transform:rotate(-13deg);font-family:serif;text-align:center;line-height:1.5;font-size:14px;margin-right:20px}.nav{display:flex;align-items:center;gap:26px;border-top:2px solid var(--ink);border-bottom:1px solid var(--line);padding:13px 0;font-size:14px}.nav button{border:0;background:none;padding:0}.nav .active{color:var(--rust)}.nav span{margin-left:auto;color:var(--muted);font-size:12px}.layout{display:grid;grid-template-columns:205px minmax(0,1fr);gap:40px;padding-top:32px;padding-bottom:80px}.side-title{font-size:12px;letter-spacing:2px;color:var(--muted);margin:0 0 15px}.sea{height:133px;position:relative;overflow:hidden;background:linear-gradient(#d9d5bd 0 58%,#99aaa0 58%);margin-bottom:12px}.sea:before{content:'';position:absolute;width:40px;height:40px;background:#e9c9a4;border-radius:50%;top:30px;left:105px}.sea:after{content:'夕 浜';position:absolute;bottom:12px;left:15px;letter-spacing:5px;color:#edf0da}.side-copy{font-family:serif;font-size:14px;color:var(--muted);line-height:2.1}.side-rule{border-top:1px solid var(--line);margin:25px 0}.ad{font-size:12px;margin-bottom:20px;color:#7c8076;line-height:1.7}.broken{border:1px dashed #bec3b4;background:#dfe2d5;padding:5px 9px;font:12px monospace;margin-bottom:5px;color:#87907e}.notice{padding:14px 18px;border:1px solid #d9c7b4;background:#f1e8d7;font-size:14px;display:flex;gap:12px}.notice b{color:var(--rust);white-space:nowrap}.search{display:flex;margin:24px 0 9px;border-bottom:2px solid var(--green);background:#f8f5ee}.search input{width:100%;min-width:0;border:0;background:none;padding:14px 16px;color:var(--ink);outline-offset:0}.search button{background:var(--green);color:#fff;border:0;min-width:94px}.search-help{color:var(--muted);font-size:12px;margin-bottom:28px}.section-line{display:flex;align-items:center;justify-content:space-between;margin-bottom:14px}.section-line h2{font-size:22px;margin:0;letter-spacing:2px}.section-line span{font-size:12px;color:var(--muted)}.postlist{border-top:1px solid var(--ink)}.postrow{display:flex;align-items:center;gap:18px;padding:20px 12px;border-bottom:1px solid var(--line)}.postrow.pinned{background:#f5efdf;cursor:pointer}.postrow.pinned:hover{background:#fff9eb}.postrow .number{font-family:serif;color:#909589;font-size:14px}.postrow .rowtext{flex:1}.postrow h3{font-family:inherit;font-size:16px;font-weight:400;margin:0 0 5px}.postrow p{font-size:12px;color:var(--muted);margin:0}.tag{color:var(--rust);font-size:12px;margin-right:8px}.last{font-size:12px;text-align:right;color:var(--muted);white-space:nowrap}.last em{color:var(--rust);font-style:normal}.footnote{text-align:center;color:var(--muted);font-size:12px;margin:27px 0;letter-spacing:2px}.breadcrumb{font-size:13px;color:var(--muted);margin:0 0 15px}.breadcrumb button{border:0;padding:0;background:none}.thread-title{font-size:27px;line-height:1.6;margin:8px 0 20px}.entry{padding:26px 30px;background:var(--paper);border:1px solid var(--line);margin-bottom:15px}.entry header{display:flex;justify-content:space-between;margin-bottom:20px;font-size:14px}.entry time{font-size:12px;color:var(--muted)}.entry p{white-space:pre-wrap;margin-bottom:12px}.entry p:last-child{margin-bottom:0}.entry details{border-top:1px dashed var(--line);margin-top:20px;padding-top:12px;font-size:14px}.entry summary{cursor:pointer;color:var(--muted)}.reply{padding:13px 0 8px;border-bottom:1px solid var(--line)}.reply:last-child{border-bottom:0}.secret{font:inherit;color:inherit;background:none;border:0;padding:0;display:inline;text-align:left}.secret.found{color:var(--character)!important}.secret:hover{text-decoration:underline;text-decoration-style:dotted;text-underline-offset:5px}pre{font:12px/1.1 monospace;overflow:auto}.attachment{display:flex;align-items:center;justify-content:center;flex-direction:column;width:230px;max-width:100%;min-height:110px;background:#dfdfd8;border:1px solid #cbcfc4;color:#737d70;font-size:13px;gap:10px}.attachment span{font-size:25px}.chat-launch{position:fixed;bottom:26px;right:30px;width:62px;height:62px;border-radius:50%;border:3px solid #e9f4fc;background:#85c5fa;color:white;font-size:27px;box-shadow:0 4px 20px #43564d30;z-index:8}.chat-launch.unread:after{content:'';position:absolute;right:0;top:0;background:#efd080;border:3px solid #f5f0e5;width:10px;height:10px;border-radius:50%}.chat{position:fixed;right:28px;bottom:100px;width:360px;max-width:calc(100vw - 28px);height:480px;max-height:70vh;background:#f6f8f6;border:1px solid #a2b9c3;box-shadow:0 10px 60px #273a3330;z-index:9;display:flex;flex-direction:column;line-height:1.7}.chat header{display:flex;justify-content:space-between;padding:13px 16px;background:#e0edf2;font-size:14px}.chat header button{padding:0;border:0;background:none;font-size:22px}.messages{overflow:auto;flex:1;padding:17px;min-height:100px}.bubble{padding:11px 13px;background:#e5edf0;margin:0 25px 12px 0;font-size:14px;white-space:pre-wrap}.bubble.user{margin:0 0 12px 25px;background:#e8eddf}.choices{padding:12px;display:flex;gap:8px;flex-wrap:wrap;border-top:1px solid #d1dfe1}.choices button,.choices select{font-size:13px;background:white;padding:7px 10px;border:1px solid #ccd8dc}.choices button{width:100%;text-align:left}.choices select{flex:1;min-width:0}.collection{display:flex;flex-wrap:wrap;gap:8px}.token{width:39px;height:39px;border:1px solid var(--line);display:grid;place-content:center;border-radius:50%;font:13px monospace;color:var(--muted)}.token.collected{color:var(--character);background:#f5f2e8;border-color:var(--character)}dialog{border:1px solid #aaa998;background:var(--paper);color:var(--ink);width:500px;max-width:calc(100vw - 32px);padding:30px;max-height:85vh;overflow:auto;box-shadow:0 20px 100px #17282350}dialog::backdrop{background:#283c3260;backdrop-filter:blur(3px)}.modal-close{float:right;border:0;background:none;padding:0;font-size:22px}.modal-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:24px}.primary{background:var(--green);color:#fff;border-color:var(--green)}.character-art{height:170px;display:grid;place-content:center;font:50px monospace;color:var(--character);background:#e6e5db;margin:24px 0}.welcome h2{font-size:27px}.welcome .eyebrow{font-size:12px;letter-spacing:3px;color:var(--rust)}.welcome p{font-size:14px}.welcome .duration{border-top:1px solid var(--line);padding-top:13px;color:var(--muted)}.no-results{padding:45px 24px;text-align:center;border:1px dashed var(--line)}
.shop-mode{background:#171918;color:#dddcd2;--paper:#222523;--ink:#dddcd2;--line:#414640;--muted:#979d93;--green:#687969}.shop{max-width:1150px;margin:auto;padding:30px 40px 80px}.shopbar{display:flex;justify-content:space-between;border-bottom:1px solid #56594f;padding-bottom:25px;gap:15px;flex-wrap:wrap}.shopbar button{border:0;background:none;color:#c6c7bc;padding:0;margin-left:20px;font-size:14px}.shoplogo{font-family:serif;font-size:22px;letter-spacing:5px}.shopintro{padding:55px 0 35px;max-width:680px}.shopintro h1{font-size:40px;font-weight:400;letter-spacing:7px}.shopintro p{color:#969e93;font-size:15px}.goods{display:grid;grid-template-columns:repeat(3,1fr);gap:25px}.good{padding:0;text-align:left;background:none;border:0}.good-art{height:170px;background:#2c302c;display:grid;place-content:center;font:60px Georgia;color:#6f7668}.good h3{font-weight:400;font-size:17px;margin:12px 0 0}.good p{font-size:12px;color:#909788}.drawer{position:fixed;right:0;top:0;bottom:0;width:50%;padding:35px;background:#252925;border-left:1px solid #555c50;z-index:12;display:flex;flex-direction:column}.drawer button:last-child{margin-top:auto}.faq{max-width:780px;margin:40px auto}.faq details{border-bottom:1px solid #464d42;padding:22px 0}.faq summary{cursor:pointer}.faq p{color:#adb5a6;white-space:pre-wrap;padding:20px 0 0}.tvwall{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}.tv{background:#242a27;border:8px solid #393e38;border-radius:12px;color:#9ea99b;aspect-ratio:1.5;font-size:13px;box-shadow:inset 0 0 35px #000}.tv:last-child{border-color:#3b454c;color:#8ab6ce}.flowers{display:flex;justify-content:center;gap:15px;margin:30px 0}.flowers button{font-size:30px;border:0;background:none;color:#7a956a}.room-mode{background:#242728;color:#c6d0d1}.room{max-width:800px;margin:auto;padding:60px 30px;text-align:center}.room .lead{font-size:12px;letter-spacing:4px;color:#7f999d}.room p{opacity:0;animation:appear 1.5s forwards;text-align:left;line-height:2.2}.room p:nth-of-type(2){animation-delay:2s}.room p:nth-of-type(3){animation-delay:4s}.room p:nth-of-type(4){animation-delay:6s}@keyframes appear{to{opacity:1}}.monitor{width:400px;max-width:100%;margin:50px auto 25px;border:16px solid #393e41;border-bottom-width:30px;border-radius:8px;aspect-ratio:1.5;background:linear-gradient(165deg,#85bddd 0 60%,#81934f 60%);box-shadow:0 0 60px #85c5fa20;display:grid;place-content:center;color:white;font:30px monospace}.leds{font:12px monospace;color:#88b7a6;letter-spacing:7px}.ending-card{text-align:center}.ending-card .collection{justify-content:center}.toast{position:fixed;top:25px;left:50%;transform:translateX(-50%);background:#343e35;color:#f0f1e5;padding:15px 25px;z-index:20;font-size:14px;max-width:90vw;box-shadow:0 4px 30px #0003}.visited{display:block;padding:4px 0;border:0;background:none;font-size:13px;color:var(--green)}@media(max-width:760px){.shell{padding:0 20px}.masthead{padding:27px 0}.masthead h1{font-size:27px;letter-spacing:3px}.masthead p{font-size:11px;letter-spacing:2px}.stamp{display:none}.utility{font-size:10px;letter-spacing:.5px}.layout{grid-template-columns:1fr;padding-top:20px;gap:15px}.sidebar{display:none}.nav{gap:20px}.notice{font-size:13px}.postrow{gap:10px;padding:17px 5px}.postrow h3{font-size:14px}.last{font-size:11px}.entry{padding:20px 17px}.thread-title{font-size:23px}.shop{padding:25px 20px 90px}.goods,.tvwall{grid-template-columns:repeat(2,1fr);gap:15px}.good-art{height:130px}.shopintro h1{font-size:30px}.drawer{width:90%}.chat{right:14px}.chat-launch{right:20px}.section-line h2{font-size:20px}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation-duration:.01ms!important;animation-delay:0ms!important;scroll-behavior:auto!important}}

.character-image{display:block;width:100%;height:min(42vh,330px);object-fit:contain;background:#fff;border-radius:3px;margin:12px 0 20px}.flower{min-width:24px;min-height:24px;line-height:1;color:#526f44}.flower:hover{color:#a74e37;transform:translateY(-2px)}

.group-art{display:flex;flex-wrap:wrap;justify-content:center;background:white}.group-art img{width:25%;height:auto;object-fit:contain}.entry pre{font-size:13px;line-height:1.4}.entry .flower{font:inherit;min-width:0;min-height:0;border:0}.nav span[data-count]{margin-left:0;color:inherit;font-size:inherit}

.shopbar{position:relative;z-index:13;background:#171918}.drawer{padding-top:120px}

.secret.found .name-part{color:var(--part)}.aside-text{font-size:.5em;opacity:.5}

/* All interface and story text uses Source Han Sans. Only headings and
   manuscript-derived <strong> spans receive bold weight. */
@font-face{font-family:"Twilight Source Han Sans";src:url("assets/fonts/SourceHanSansCN-Regular.otf") format("opentype");font-weight:400;font-style:normal;font-display:swap}
@font-face{font-family:"Twilight Source Han Sans";src:url("assets/fonts/SourceHanSansCN-Bold.otf") format("opentype");font-weight:700;font-style:normal;font-display:swap}
html,body,body *,body *::before,body *::after{font-family:"Twilight Source Han Sans",sans-serif!important;font-weight:400;font-style:normal}
h1,h2,h3,h4,h5,h6,h1 *,h2 *,h3 *,h4 *,h5 *,h6 *{font-weight:700}
.entry strong,.entry strong *{font-weight:700}

/* UI reference: TwilightBayBBS-4.html. Narrative remains in content.js. */
body:not(.shop-mode):not(.room-mode){--paper:#edfaff;--ink:#183445;--muted:#66818e;--line:#93bed0;--green:#397fa5;background:repeating-linear-gradient(0deg,#c8edfa 0,#c8edfa 1px,#bfe8f7 1px,#bfe8f7 4px);color:#183445;font-size:14px;line-height:1.55}
.shell{width:min(980px,96vw);max-width:980px;margin:12px auto;padding:0;background:#edfaff;border:1px solid #397fa5;box-shadow:2px 2px 0 #7dbbd5}
.masthead{min-height:92px;padding:13px 16px;gap:15px;background:linear-gradient(#dff7ff,#9ddcf3);border-bottom:3px double #397fa5}
.masthead h1{font-size:27px;letter-spacing:2px;color:#185f88;text-shadow:1px 1px #fff;margin:0;line-height:1.5}
.brand-en{font-size:11px;letter-spacing:2px;color:#4b819b}
.utility{display:flex;flex-direction:column;flex-shrink:0;gap:0;text-align:right;font-size:12px;letter-spacing:0;line-height:1.6;background:#eefbff;border:1px solid #79b7d1;padding:6px 9px;color:#183445}
.nav{justify-content:center;gap:9px;background:#75c4e6;border:0;border-bottom:1px solid #397fa5;padding:5px 8px;font-size:13px;line-height:1.5}
.nav button{color:#0645ad;text-decoration:underline}
.nav .nav-separator{margin:0;color:#1e607d;font-size:13px}
.layout{gap:10px;padding:10px;align-items:start}
.home-layout{grid-template-columns:210px minmax(0,1fr)}
.thread-layout{display:block}
.bbs-panel,.home-layout main{border:1px solid #6ca7c0;background:#fff;min-width:0}
.bbs-panel+.bbs-panel{margin-top:10px}
.panel-title{padding:4px 7px;margin:0;font-size:14px;letter-spacing:0;line-height:1.55;background:#8fd2ed;color:#174f69;border-bottom:1px solid #6ca7c0;font-weight:700}
.panel-body{padding:8px}
.search{display:flex;gap:4px;margin:0;border:0;background:none}
.search input{width:100%;border:1px inset #aaa;background:#fff;padding:4px;line-height:1.5;font-size:13px;color:#183445}
.search button,.bbs-footer button{border:1px outset #aaa;background:#eee;color:#183445;min-width:0;padding:2px 9px;font-size:13px}
.thread-layout main>.search{max-width:340px;margin-bottom:10px}
.ad{display:flex;align-items:center;gap:5px;padding:7px 3px;border-bottom:1px dotted #aaa;font-size:13px;margin:0;line-height:1.55;color:#6d7d86}
.ad:last-child{border-bottom:0}.ad>span:last-child{text-decoration:underline;cursor:not-allowed}
.broken{display:inline-block;flex-shrink:0;width:34px;height:28px;border:1px solid #aaa;background:#f7f7f7;margin:0;padding:0;color:#c33;font-size:9px;text-align:center;line-height:13px}
.postlist{border-top:0;padding:0 8px 8px}
.postrow{padding:8px 5px;gap:8px;border-bottom:1px solid #c8dfe8;align-items:center;min-height:48px}
.postrow.pinned{background:#fffde4;border:0;border-bottom:1px solid #c8dfe8;box-shadow:none}
.postrow.pinned:hover{background:#fff9cc}.postrow:not(.pinned):hover{background:#f4fcff}
.postrow .number{display:none}.postrow .rowtext{min-width:0}.postrow h3{font-size:14px;line-height:1.6;margin:0;color:#6d7d86;font-weight:400}
.postrow.pinned h3{color:#0645ad;text-decoration:underline;font-weight:700}
.postrow p{font-size:12px;margin:3px 0 0;color:#66818e}
.tag{font-size:11px;border:1px solid #d7a82e;background:#fff4a5;color:#674f0d;padding:1px 3px;white-space:nowrap;margin:0}
.last{min-width:70px;flex-shrink:0;font-size:12px;color:#777;line-height:1.6}.last em{color:#183445}
.breadcrumb{font-size:12px;color:#668;margin:0 0 8px}.breadcrumb button{color:#0645ad;text-decoration:underline}
.thread-title{font-size:18px;line-height:1.6;margin:0 0 8px;color:#183445;letter-spacing:0}
.entry{display:grid;grid-template-columns:115px minmax(0,1fr);padding:0;background:#fff;border:1px solid #93bed0;margin:0 0 8px;line-height:1.55}
.entry>header{display:block;background:#e6f6fc;border-right:1px solid #b6d5e1;padding:8px;margin:0;font-size:14px;overflow-wrap:anywhere}
.post-body{padding:9px;min-width:0;min-height:70px}
.entry p{margin:0 0 7px;font-size:14px;overflow-wrap:anywhere}.entry p:last-child{margin:0}
.post-time{text-align:right;color:#888;font-size:12px;margin-top:8px}
.entry details{border:0;margin-top:9px;padding:0;font-size:13px}
.entry summary{display:list-item;list-style-position:inside;width:fit-content;border:1px outset #aaa;background:#eee;padding:2px 7px;color:#183445;font-size:12px}
.reply{padding:9px;border:1px solid #93bed0;border-bottom:0;background:#fff;margin:0;font-size:14px}
.reply:first-of-type{margin-top:8px}.reply:last-child{border-bottom:1px solid #93bed0}
.entry pre{margin:7px 0;font-size:12px;line-height:1.4;color:#183445}
.attachment{background:#ddd;border:1px solid #aaa;border-radius:0;min-height:100px;width:220px;box-shadow:none}
.bbs-footer{text-align:center;padding:12px;border-top:3px double #7eb4ca;background:#dff4fc;font-size:11px;color:#7092a2}
.bbs-footer button{margin:0 4px 9px}
body:not(.shop-mode):not(.room-mode) dialog{background:#e9f8fe;color:#183445;border:2px outset #b8dce9;box-shadow:5px 5px 0 #0003;padding:42px 15px 15px;line-height:1.55}
body:not(.shop-mode):not(.room-mode) dialog::before{content:'夕浜镇网络告示板';display:block;position:absolute;top:0;left:0;right:0;padding:4px 7px;background:#4c9fc5;color:#fff;font-size:13px;text-align:left}
dialog::backdrop{background:rgba(18,49,63,.48);backdrop-filter:none}
dialog h2,.welcome h2{font-size:18px}.welcome p{font-size:14px;line-height:1.55}
body:not(.shop-mode):not(.room-mode) .modal-close{position:absolute;right:6px;top:1px;color:white;font-size:20px;z-index:1;line-height:1.4}
body:not(.shop-mode):not(.room-mode) .modal-actions button{border:2px outset #aaa;background:#eee;padding:4px 18px;color:#183445;font-size:13px}
.chat{right:18px;bottom:90px;width:min(350px,calc(100vw - 24px));height:470px;background:#f4fbfe;border:2px outset #a9d4e4;box-shadow:4px 4px 0 #0003;line-height:1.55;color:#183445}
.chat header{background:#4c9fc5;color:#fff;padding:4px 7px;font-size:14px}.chat header b{font-weight:400}.chat header button{color:#fff;font-size:18px;line-height:1.2}
.messages{padding:9px;background:#eaf7fc}
.bubble{max-width:86%;margin:6px 0;padding:7px 9px;border:1px solid #a8cad8;background:#fff;border-radius:2px 10px 10px 10px;font-size:14px;line-height:1.55}
.bubble.user{margin:6px 0 6px auto;background:#d2effa;border-radius:10px 2px 10px 10px}
.choices{min-height:70px;border-top:1px solid #9fc4d3;background:white;padding:7px;gap:4px}
.choices button{border:1px outset #9aa;background:#eef8fc;padding:6px;font-size:13px;border-radius:0}
.choices select{border:1px inset #aaa;padding:3px;font-size:13px}
.chat-launch{right:18px;bottom:18px;width:62px;height:62px;border:3px solid white;background:#85c5fa;color:white;box-shadow:0 2px 8px #487b91;font-size:24px;font-weight:400;line-height:1;padding:0}
.toast{background:#ffffdc;color:#183445;border:1px solid #a78e39;padding:7px 12px;box-shadow:2px 2px #aaa;font-size:13px}
@media(max-width:650px){.shell{width:100%;margin:0;border-left:0;border-right:0}.masthead{padding:12px 10px;flex-wrap:wrap;gap:8px}.masthead h1{font-size:21px;letter-spacing:1px}.brand-en{font-size:10px;letter-spacing:1px}.utility{font-size:11px}.layout{padding:6px}.home-layout{grid-template-columns:minmax(0,1fr)}.home-layout .sidebar{display:block;order:2}.home-layout main{order:1}.entry{grid-template-columns:88px minmax(0,1fr)}.entry>header{font-size:13px;padding:7px}.post-body{padding:8px}.postrow h3{font-size:13px}.postrow{gap:5px}.last{min-width:58px;font-size:11px}.nav{gap:7px;flex-wrap:wrap}.chat{right:6px;bottom:78px}.chat-launch{right:10px;bottom:10px}.thread-title{font-size:17px}}

.search button{flex-shrink:0;white-space:nowrap}.reply{display:grid;grid-template-columns:115px minmax(0,1fr);padding:0}.reply-author{background:#e6f6fc;border-right:1px solid #b6d5e1;padding:8px;overflow-wrap:anywhere}.reply-body{padding:9px;min-width:0}.reply p{font-size:14px}.reply-body:empty{display:none}.reply:has(.reply-body:empty){grid-template-columns:1fr}
@media(max-width:650px){.reply{grid-template-columns:88px minmax(0,1fr)}}

.bbs-marquee{overflow:hidden;white-space:nowrap;background:#ffffc5;border-bottom:1px solid #8dbbd0;color:#315d73;height:26px;line-height:26px;font-size:13px}.bbs-marquee span{display:inline-block;padding-left:100%;animation:bbs-scroll 22s linear infinite}@keyframes bbs-scroll{to{transform:translateX(-100%)}}.board-heading{display:flex;justify-content:space-between;margin:8px 8px 0;padding:5px;background:#cbeefa;border:1px solid #8bbdd0;font-size:13px}.board-heading span:last-child{width:70px;text-align:right}@media(prefers-reduced-motion:reduce){.bbs-marquee span{animation:none;padding-left:9px}}

.attachment .image-open-label,.good-art .image-open-label,.tv .image-open-label{font-size:14px;font-weight:400;line-height:1.5;text-align:center}.good-art .image-open-label{color:#b7bdb1}.tv{display:grid;place-items:center}.attachment,.good-art{position:relative}

body .entry pre.garden-ascii,body .entry pre.garden-ascii *{font-family:"Helvetica Neue",Helvetica,sans-serif!important;font-weight:400;font-style:normal;white-space:pre}.garden-ascii{overflow-x:auto}.garden-ascii .flower{display:inline;padding:0;min-width:0;min-height:0}

.nav .nav-progress{margin:0;color:#1e607d;font-size:13px;text-decoration:none;cursor:default}

@keyframes qq-shake {
  0% { transform: translateY(0); }
  11% { transform: translateY(-6px); }
  22% { transform: translateY(5px); }
  34% { transform: translateY(-5px); }
  46% { transform: translateY(4px); }
  59% { transform: translateY(-3px); }
  72% { transform: translateY(2px); }
  85% { transform: translateY(-1px); }
  100% { transform: translateY(0); }
}
.chat-launch.shake { animation: qq-shake 310ms linear; }
@keyframes qq-attention {
  0.00000000% { transform: translateY(0px); }
  2.60305344% { transform: translateY(-6px); }
  5.20610687% { transform: translateY(5px); }
  8.04580153% { transform: translateY(-5px); }
  10.88549618% { transform: translateY(4px); }
  13.96183206% { transform: translateY(-3px); }
  17.03816794% { transform: translateY(2px); }
  20.11450382% { transform: translateY(-1px); }
  23.66412214% { transform: translateY(0px); }
  100% { transform: translateY(0); }
}
.chat-launch.attention { animation: qq-attention 1310ms linear infinite; }
@media(prefers-reduced-motion:reduce){.chat-launch.shake,.chat-launch.attention{animation:none}}

body .entry pre.repair-ascii,body .entry pre.repair-ascii *{font-family:Menlo,monospace!important;font-weight:400;white-space:pre}

.bbs-pagination{text-align:center;padding:15px 8px}.bbs-pagination button{border:1px outset #aaa;background:#eee;padding:2px 10px;color:#888;font-size:13px}.nav button[aria-disabled="true"]{color:#537888;opacity:1;cursor:not-allowed}

[data-unavailable]{cursor:not-allowed}.unavailable-tip{position:fixed;z-index:10000;padding:7px 12px;border:1px solid #7eb4ca;background:#f4fbff;color:#37586a;font-size:13px;font-weight:400;box-shadow:2px 3px 8px #0002;pointer-events:none;max-width:calc(100vw - 16px)}

/* Compact topic rows: text line + 6px top/bottom padding + 1px border. */
.entry{line-height:1.5}
.postrow{padding-top:6px;padding-bottom:6px;min-height:34px}
.postrow h3,.postrow .last{line-height:1.5}
@media(max-width:650px){.postrow{min-height:32.5px}}

.ad{font-size:12px;padding:5px 3px;line-height:1.55}

.home-layout{grid-template-columns:180px minmax(0,1fr)}
.ad{flex-direction:column;align-items:stretch;gap:5px}
.ad-image-placeholder{display:grid;place-items:center;width:100%;aspect-ratio:3 / 2;background:#d8d8d8;border:1px solid #bcbcbc;color:#666;text-align:center}
.ad-image-placeholder>span{font-size:10px;line-height:1.5;font-weight:400}
@media(max-width:650px){.home-layout{grid-template-columns:minmax(0,1fr)}.ad-image-placeholder{max-width:156px;align-self:center}}

.sidebar .bbs-panel:has(.ad){text-align:center}

.sidebar .bbs-panel:has(.ad)>.panel-title{text-align:left}
.ad-image-placeholder{width:100%;height:auto;aspect-ratio:3 / 2;align-self:center}

.utility{border:0;background:none}
.home-layout .panel-title{background:linear-gradient(#dff7ff,#9ddcf3)}
.nav{padding-top:3px;padding-bottom:3px}
.welcome-copy{font-size:12px;line-height:1.55;white-space:pre-wrap;font-weight:400}

.board-heading,.board-heading span{font-weight:700}

.welcome-copy>strong{font-weight:700}
body:not(.shop-mode):not(.room-mode) dialog:has(.welcome-copy) .modal-actions button{font-size:12px;border-width:1px;padding:2px 10px;line-height:1.5}

body:not(.shop-mode):not(.room-mode) dialog::before{font-weight:700}

.welcome-copy .keep-together{white-space:nowrap}

@media(max-width:650px){.welcome-copy .wide-only-break{display:none}}

/* Keep the sidebar visible between the legacy 760px and current 650px breakpoints. */
.home-layout .sidebar{display:block}

.chat header b,.chat-launch{font-weight:700}
.username-setup{align-items:center}
.username-label{width:100%;margin:0 0 4px;font-size:12px}
.username-actions{width:100%;display:flex;justify-content:flex-end;margin-top:4px}
.choices .username-actions button{width:auto;font-size:12px;line-height:1.5;padding:2px 10px;border-width:1px;text-align:center}

.choices:has([data-action="chat-back"]){justify-content:flex-end;align-items:flex-end}
.choices button[data-action="chat-back"]{width:auto;margin-left:auto;font-size:12px;line-height:1.5;padding:2px 10px;border-width:1px;text-align:center}

.test-controls{display:flex;justify-content:flex-end;padding:6px 8px 0}.test-controls button{font-size:12px;line-height:1.5;padding:2px 8px;border:1px outset #aaa;background:#eee}

.bbs-pagination button[data-action="navigate"]{color:#183445;cursor:pointer}

.welcome-copy{font-size:14px}
body:not(.shop-mode):not(.room-mode) dialog:has(.welcome-copy)::before,body:not(.shop-mode):not(.room-mode) dialog:has(.welcome-copy) .modal-actions button{font-size:14px}

.entry>header,.entry>header *,.reply-author,.reply-author *{font-weight:700}
.cafe-entry .aside-text{font-size:10px}
.choices{min-height:0;align-content:flex-start;align-items:flex-start}
.choices button[data-action="hint"]{padding-top:6px;padding-bottom:6px}
@keyframes qq-message {
 0.00000000%{transform:translateY(0px)}
 2.10493827%{transform:translateY(-6px)}
 4.20987654%{transform:translateY(5px)}
 6.50617284%{transform:translateY(-5px)}
 8.80246914%{transform:translateY(4px)}
 11.29012346%{transform:translateY(-3px)}
 13.77777778%{transform:translateY(2px)}
 16.26543210%{transform:translateY(-1px)}
 19.13580247%{transform:translateY(0px)}
 80.86419753%{transform:translateY(0px)}
 82.96913580%{transform:translateY(-6px)}
 85.07407407%{transform:translateY(5px)}
 87.37037037%{transform:translateY(-5px)}
 89.66666667%{transform:translateY(4px)}
 92.15432099%{transform:translateY(-3px)}
 94.64197531%{transform:translateY(2px)}
 97.12962963%{transform:translateY(-1px)}
 100.00000000%{transform:translateY(0px)}
}
.chat-launch.shake{animation:qq-message 1620ms linear}
@media(prefers-reduced-motion:reduce){.chat-launch.shake{animation:none}}





.entry .post-body,.entry .reply-body{line-height:1.5}
.entry .post-body p,.entry .reply-body p{line-height:1.5;margin-bottom:3px}
.entry .post-body p:last-child,.entry .reply-body p:last-child{margin-bottom:0}
