/* Между кадрами / Monogatari. Cinema-only; typography is live text. */
body.mode-screen.theme-monogatari {
  --mn-black:#151414; --mn-paper:#f3f0e8; --mn-red:#c82d29; --mn-rule:#d4cec4;
  --ink:#f3f0e8; --cream:#f3f0e8; --mut:#cbc4ba; --faint:#aca59b;
  --lime:#e45e53; --teal:#b7c9c4; --pink:#e45e53; --purple:#6d525f;
  --gold:#eec478; --glass:#211f1f; --glass2:#302c2c; --brd:#524b47; --line:#524b47;
  background:var(--mn-black)!important; color:var(--ink)!important; color-scheme:dark; padding-bottom:0!important;
}
body.mode-screen.theme-monogatari, body.mode-screen.theme-monogatari *:not(i) {font-family:'IBM Plex Sans','Segoe UI',sans-serif!important}
body.mode-screen.theme-monogatari :is(.bg,.bg-theme,.bg-glow,.grain,.scanline,#ps3WaveCanvas,.new-day-vigil) {display:none!important}
body.mode-screen.theme-monogatari::before, body.mode-screen.theme-monogatari::after,
body.mode-screen.theme-monogatari .app-main::before, body.mode-screen.theme-monogatari .app-main::after {display:none!important}
body.mode-screen.theme-monogatari ::selection {background:var(--mn-red);color:#fff}
body.mode-screen.theme-monogatari :is(button,a,input,select,textarea):focus-visible {outline:3px solid #e45e53!important;outline-offset:4px}
body.mode-screen.theme-monogatari .mode-toggle:focus-within {outline:3px solid #e45e53;outline-offset:4px}
body.mode-screen.theme-monogatari button:disabled {opacity:.55;cursor:not-allowed}
body.mode-screen.theme-monogatari .app-shell {grid-template-columns:232px minmax(0,1fr);position:relative;background:transparent}
body.mode-screen.theme-monogatari .app-nav {width:232px;padding:28px 20px 20px;background:#151414!important;border-right:1px solid #48413d;box-shadow:none;backdrop-filter:none;overflow-y:auto}
body.mode-screen.theme-monogatari .screen-brand {display:flex;flex-direction:row;gap:12px;align-items:center;padding:0 0 27px}
body.mode-screen.theme-monogatari .frame-mark {border-radius:0;border-color:#e7ded0;width:39px;height:49px;flex-basis:39px;box-shadow:none}
body.mode-screen.theme-monogatari .frame-mark::before {content:'物';clip-path:none;inset:0;display:grid;place-items:center;border:0;font:30px 'Yu Mincho','MS Mincho',serif;color:#e7ded0}
body.mode-screen.theme-monogatari .frame-mark::after,body.mode-screen.theme-monogatari .frame-mark i {display:none}
body.mode-screen.theme-monogatari .screen-brand-copy {font-family:'Literata',Georgia,serif!important;font-size:21px;letter-spacing:-.06em;line-height:1}
body.mode-screen.theme-monogatari .screen-brand small {font-size:8px;color:#aca59b;letter-spacing:.12em}
body.mode-screen.theme-monogatari .mode-portal {position:static!important;border:1px solid #56504b;border-radius:0;background:transparent;margin:0 0 28px;padding:3px}
body.mode-screen.theme-monogatari .mode-toggle {height:40px;min-height:40px}
body.mode-screen.theme-monogatari .mode-toggle-track {background:#242121;border-radius:0}
body.mode-screen.theme-monogatari .mode-toggle-track::after {background:var(--mn-paper);border-radius:0;box-shadow:none}
body.mode-screen.theme-monogatari .mode-choice {font-size:12px!important;letter-spacing:.035em;color:#bdb4ac}
body.mode-screen.theme-monogatari .mode-toggle input:checked~.mode-choice.games {color:#c1b9af}
body.mode-screen.theme-monogatari .mode-toggle input:checked~.mode-choice.screen {color:#161414}
body.mode-screen.theme-monogatari .nav-label {font-size:11px!important;color:#bdb4aa;letter-spacing:.2em;margin-bottom:14px}
body.mode-screen.theme-monogatari .app-nav-items {gap:5px;transform:none}
body.mode-screen.theme-monogatari .app-nav-btn {height:auto!important;min-height:46px;padding:11px 10px;gap:12px;border:0!important;border-radius:0!important;background:none!important;color:#cfc8be!important;font-size:14px!important;font-weight:500!important;box-shadow:none!important;white-space:normal;line-height:1.25;transition:background .18s,color .18s,transform .18s}
body.mode-screen.theme-monogatari .app-nav-btn::before {content:attr(data-mn-number);font-family:'Space Mono',monospace!important;font-size:11px;color:#b0a399;width:18px;flex:0 0 18px}
body.mode-screen.theme-monogatari .app-nav-btn i,body.mode-screen.theme-monogatari .app-nav-btn::after {display:none!important}
body.mode-screen.theme-monogatari .app-nav-btn:hover {background:#2b2524!important;color:#fff!important;transform:translateX(3px)}
body.mode-screen.theme-monogatari .app-nav-btn.on {background:var(--mn-red)!important;color:#fff!important;box-shadow:none!important}
body.mode-screen.theme-monogatari .app-nav-btn.on::before {color:#fff}
body.mode-screen.theme-monogatari .nav-account {border-color:#48413d;margin-top:24px;padding-top:20px}
body.mode-screen.theme-monogatari .nav-avatar {border-radius:0;border:1px solid #8a7269;background:#312523;color:#f3e9dd}
body.mode-screen.theme-monogatari .nav-user b {color:#f3f0e8;font-size:14px}
body.mode-screen.theme-monogatari .nav-user span {color:#c8bfb4;font-size:12px}
body.mode-screen.theme-monogatari .app-main {min-width:0;background:transparent!important}
body.mode-screen.theme-monogatari .wrap {width:100%;max-width:1560px;padding:28px 32px 80px;margin:0 auto}
body.mode-screen.theme-monogatari header {display:block;min-height:0;padding:0;margin:0 0 28px;border:0}
body.mode-screen.theme-monogatari header>div:not(.mn-masthead),body.mode-screen.theme-monogatari header::after {display:none!important}
.mn-masthead,.mn-cut,.mn-dialog {display:none}
.mn-masthead[hidden],.mn-cut[hidden],.mn-dialog[hidden] {display:none!important}
body.mode-screen.theme-monogatari .mn-masthead {display:grid;grid-template-columns:minmax(290px,.8fr) minmax(0,1.2fr);position:relative;isolation:isolate;border:1px solid #5c5149}
body.mode-screen.theme-monogatari .mn-title-block {position:relative;min-height:272px;background:var(--mn-red);color:#fff7ed;padding:25px 27px 32px;overflow:hidden}
body.mode-screen.theme-monogatari .mn-eyebrow {display:block;font-size:10px;font-weight:600;letter-spacing:.13em;line-height:1.5}
body.mode-screen.theme-monogatari .mn-title {position:relative;z-index:1;margin:27px 0 0;font-family:'Literata',Georgia,serif!important;font-size:clamp(40px,4.8vw,73px);font-weight:500;line-height:1.07;letter-spacing:-.065em}
body.mode-screen.theme-monogatari .mn-title span,body.mode-screen.theme-monogatari .mn-title em {display:block;font-family:inherit!important}
body.mode-screen.theme-monogatari .mn-title em {font-weight:500}
body.mode-screen.theme-monogatari .mn-signature {position:absolute;right:15px;bottom:-24px;color:#64171355;font-family:'Yu Mincho','MS Mincho',serif!important;font-size:143px;line-height:1;pointer-events:none}
body.mode-screen.theme-monogatari .mn-still {position:relative;overflow:hidden;background:#37312b;min-width:0}
body.mode-screen.theme-monogatari .mn-still::before {content:'';position:absolute;inset:0;background:url('./monogatari-between-frames-v1.png') 79% 55%/cover no-repeat;animation:mn-still-drift 26s ease-in-out infinite alternate;transform-origin:75% 55%}
body.mode-screen.theme-monogatari .mn-still::after {content:'';position:absolute;inset:0;box-shadow:inset 0 -50px 40px -30px #000b;pointer-events:none}
body.mode-screen.theme-monogatari .mn-still-label {position:absolute;right:17px;top:15px;z-index:1;font-family:'Yu Mincho','MS Mincho',serif!important;font-size:30px;writing-mode:vertical-rl;color:#fff8e9;text-shadow:0 1px 5px #0007}
body.mode-screen.theme-monogatari .mn-still-credit {position:absolute;bottom:15px;left:19px;z-index:1;font-size:9px;letter-spacing:.21em;color:#f9edde}
body.mode-screen.theme-monogatari .mn-chapter-strip {grid-column:1/-1;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 16px;background:#f3f0e8;color:#211b19}
body.mode-screen.theme-monogatari .mn-chapter {display:flex;align-items:center;gap:10px;font-size:13px;min-width:0}
body.mode-screen.theme-monogatari .mn-chapter b {padding-right:12px;border-right:1px solid #c7bdb2;font:600 18px 'Space Mono',monospace!important;color:#ae241f}
body.mode-screen.theme-monogatari .mn-chapter-prefix {font-size:9px;letter-spacing:.15em;color:#70665e}
body.mode-screen.theme-monogatari .mn-controls {display:flex;gap:14px;flex-shrink:0}
body.mode-screen.theme-monogatari .mn-controls button {background:none;border:0;color:#453b34;padding:3px 0;font-size:12px;font-weight:500;cursor:pointer}
body.mode-screen.theme-monogatari .mn-controls button:hover {color:#a9211b;text-decoration:underline;text-underline-offset:5px}
body.mode-screen.theme-monogatari :is(.showcase,.hero808,.profile-hero,.profile-panel,.friend-card,.quest-panel,.quest-create,.wait-form,.wait-game,.avatar-product,.theme-product,.section-head,.admin-bank) {background:#f3f0e8!important;color:#211d1b!important;border:1px solid #c7bdb2!important;border-radius:0!important;box-shadow:none!important;backdrop-filter:none!important;--ink:#211d1b;--mut:#665a52;--faint:#796e64;--cream:#211d1b;--lime:#ad2823;--teal:#376758;--brd:#cec4b8;--glass:#e7e0d6;--glass2:#e4dbcf;--line:#cec4b8}
body.mode-screen.theme-monogatari .showcase {padding:20px 22px 22px;position:relative}
body.mode-screen.theme-monogatari .sc-head {padding:0 0 15px;margin-bottom:0;border-bottom:1px solid #c9bfb4}
body.mode-screen.theme-monogatari :is(.sc-title,.section-head h1,.profile-id,.sh-head h2,.theme-section h2,.wait-month-title) {color:#241e1a!important;font-family:'Literata',Georgia,serif!important;font-weight:500!important;letter-spacing:-.035em!important}
body.mode-screen.theme-monogatari .sc-head h2 {font-size:21px!important;color:#241e1a!important}
body.mode-screen.theme-monogatari .sc-hint {font-size:10px;color:#695f57;letter-spacing:.1em}
body.mode-screen.theme-monogatari .shelf-row {gap:17px;padding:19px 0 3px}
body.mode-screen.theme-monogatari .cover {border:1px solid #7f7164;border-radius:0!important;box-shadow:none!important;transition:transform .25s}
body.mode-screen.theme-monogatari .cover:hover {transform:translateY(-6px)!important;box-shadow:5px 6px 0 #bf2c28!important}
body.mode-screen.theme-monogatari .shelf-ledge {display:none}
body.mode-screen.theme-monogatari .sh-score {color:#fff3d9!important;text-shadow:none!important}
body.mode-screen.theme-monogatari .rank {color:#fff!important;background:#b62a25;border-radius:0!important}
body.mode-screen.theme-monogatari .sh-arrow {background:#151414!important;border:1px solid #f3f0e8!important;color:#fff!important;border-radius:0!important;box-shadow:none!important}
body.mode-screen.theme-monogatari .site-help {background:#f3f0e8!important;color:#151414!important;border:1px solid #c2b7ab;border-radius:0!important;box-shadow:none}
body.mode-screen.theme-monogatari .hero808 {margin-top:20px;padding:20px 24px;border-left:5px solid #c82d29!important}
body.mode-screen.theme-monogatari .hero808::before,body.mode-screen.theme-monogatari .hero808::after {display:none!important}
body.mode-screen.theme-monogatari .h-stats {color:#5f544c}
body.mode-screen.theme-monogatari .h-stats b {color:#211b17!important;font-family:'Literata',Georgia,serif!important}
body.mode-screen.theme-monogatari .h-title {color:#a42622!important;letter-spacing:.14em}
body.mode-screen.theme-monogatari .h-sub,body.mode-screen.theme-monogatari .h-line {color:#665a52!important}
.theme-preview-monogatari {background:#221d1a url('./monogatari-between-frames-v1.png') right center/cover!important;position:relative;overflow:hidden}
.theme-preview-monogatari::before {content:'物語';position:absolute;inset:0 auto 0 0;width:43%;display:grid;place-items:center;background:#c82d29;color:#fff5e8;font:64px 'Yu Mincho','MS Mincho',serif!important}
.theme-preview-monogatari::after {content:'МЕЖДУ КАДРАМИ';position:absolute;left:16px;bottom:12px;color:#fff;font:600 10px 'IBM Plex Sans',sans-serif;letter-spacing:.15em}
body.mode-screen.theme-monogatari .mn-cut {display:flex;position:fixed;inset:0 0 0 232px;z-index:2000;background:#181414;color:#fff3e7;flex-direction:column;align-items:center;justify-content:center;gap:10px;pointer-events:none}
body.mode-screen.theme-monogatari .mn-cut-mark {position:absolute;left:25px;top:25px;color:#ed6a5a;font-family:'Yu Mincho','MS Mincho',serif!important;font-size:20px}
body.mode-screen.theme-monogatari .mn-cut-index {font:500 clamp(32px,6vw,80px) 'Yu Mincho','MS Mincho',serif!important;letter-spacing:.12em}
body.mode-screen.theme-monogatari .mn-cut-title {font:400 clamp(18px,2vw,28px) 'Literata',Georgia,serif!important}
body.mode-screen.theme-monogatari .mn-cut-running {animation:mn-cut .46s ease both}
body.mode-screen.theme-monogatari .mn-dialog[open] {display:grid;grid-template-columns:1fr 1fr;position:fixed;margin:auto;width:min(1020px,92vw);max-height:90vh;padding:0;border:1px solid #6d5f51;background:#151414;color:#f3f0e8;overflow:auto}
body.mode-screen.theme-monogatari .mn-dialog::backdrop {background:#090708e8;backdrop-filter:blur(8px)}
body.mode-screen.theme-monogatari .mn-dialog-art {min-height:440px;background:url('./monogatari-between-frames-v1.png') 85% center/cover}
body.mode-screen.theme-monogatari .mn-dialog-copy {padding:70px 42px 45px;display:flex;flex-direction:column;align-items:flex-start;justify-content:center}
body.mode-screen.theme-monogatari .mn-dialog-copy h2 {font:500 clamp(30px,4vw,52px)/1.12 'Literata',Georgia,serif!important;letter-spacing:-.045em;margin:30px 0 22px;color:#f3f0e8}
body.mode-screen.theme-monogatari .mn-dialog-copy p {font-size:16px;line-height:1.65;color:#c6b8aa;max-width:29em}
body.mode-screen.theme-monogatari .mn-dialog-close {position:absolute;top:14px;right:17px;background:#151414;color:#f3f0e8;border:1px solid #938276;padding:10px 14px;font-size:14px;cursor:pointer;z-index:1}
body.mode-screen.theme-monogatari .mn-dialog-resume {margin-top:35px;background:#c82d29;color:#fff;border:0;padding:13px 17px;font-size:14px;cursor:pointer}
body.mode-screen.theme-monogatari.mn-paused *,body.mode-screen.theme-monogatari.mn-paused *::before,body.mode-screen.theme-monogatari.mn-paused *::after,
body.mode-screen.theme-monogatari.mn-suspended *,body.mode-screen.theme-monogatari.mn-suspended *::before,body.mode-screen.theme-monogatari.mn-suspended *::after {animation-play-state:paused!important}
body.mode-screen.theme-monogatari.mn-paused :is(.app-page.on,.sheet) {animation:none!important;opacity:1!important;transform:none!important}
body.mode-screen.theme-monogatari.mn-paused * {transition:none!important;scroll-behavior:auto!important}
/* The archive: quiet paper surfaces between expressive title cards. */
body.mode-screen.theme-monogatari .hero808 .h-metrics {color:#685c52;font-size:12px;letter-spacing:.045em;gap:22px}
body.mode-screen.theme-monogatari .hero808 .h-metrics b {color:#251d18!important;font-size:17px!important;font-family:'Literata',Georgia,serif!important}
body.mode-screen.theme-monogatari .hero808 .h-desc {color:#706258!important;font-size:10px;letter-spacing:.07em}
body.mode-screen.theme-monogatari .dot-matrix {background:#e6ddd0;border-color:#cbbdaf;border-radius:0!important;gap:4px;padding:5px}
body.mode-screen.theme-monogatari .dot-matrix i {background:#cfc4b5;border-radius:0}
body.mode-screen.theme-monogatari .dot-matrix i.fill {background:#b12d27!important;box-shadow:none}
body.mode-screen.theme-monogatari .sc-head .ico {color:#a72a23}
body.mode-screen.theme-monogatari .cover {background:linear-gradient(135deg,#443730,#181616 65%,#665142)!important;filter:none!important}
body.mode-screen.theme-monogatari .cover .rank {color:#fff!important;background:#ad2823!important;border-radius:0!important}
body.mode-screen.theme-monogatari .toolbar {padding:14px 0;background:#151414!important;backdrop-filter:none;grid-template-columns:minmax(180px,1fr) auto auto auto}
body.mode-screen.theme-monogatari .search {background:#f3f0e8!important;border:0!important;border-radius:0!important}
body.mode-screen.theme-monogatari .search input {background:#f3f0e8!important;color:#251f1a!important;border:1px solid #b9a999!important;border-radius:0!important;box-shadow:none;font-size:14px;backdrop-filter:none}
body.mode-screen.theme-monogatari .search input::placeholder,body.mode-screen.theme-monogatari .search i {color:#6b5e53!important}
body.mode-screen.theme-monogatari .flt {background:#272321!important;color:#f3f0e8!important;border:1px solid #76665c!important;border-radius:0!important;font-size:13px}
body.mode-screen.theme-monogatari :is(.add-btn,.quest-submit,.save-btn,.award-save,.avatar-buy,.marathon-action) {background:#b92b26!important;color:#fff!important;border:1px solid #d65648!important;border-radius:0!important;box-shadow:none!important;font-size:14px;font-weight:600}
body.mode-screen.theme-monogatari .list {gap:0;border:1px solid #c6bbae}
body.mode-screen.theme-monogatari :is(.row,.game-card) {background:#f3f0e8!important;color:#241d18!important;border:0!important;border-bottom:1px solid #cfc4b5!important;border-radius:0!important;box-shadow:none!important;backdrop-filter:none;animation:none!important;opacity:1!important;transform:none;--ink:#241d18;--mut:#6b5e53;--faint:#736458;--brd:#cfc4b5;--glass:#e4dbce;--cream:#241d18;padding:20px 22px}
body.mode-screen.theme-monogatari .row:last-child {border-bottom:0!important}
body.mode-screen.theme-monogatari .row:hover {background:#e9e0d4!important;border-color:#bba695!important}
body.mode-screen.theme-monogatari :is(.row,.game-card)::before {background:#b42a24!important;width:4px}
body.mode-screen.theme-monogatari :is(.row h3,.game-title) {color:#211b17!important;font-family:'Literata',Georgia,serif!important;font-weight:500!important;font-size:20px!important;line-height:1.35;text-transform:none!important;letter-spacing:-.025em!important}
body.mode-screen.theme-monogatari .row .rnk {color:#9d4436!important;font-family:'Space Mono',monospace!important;font-size:17px!important;-webkit-text-fill-color:#9d4436!important}
body.mode-screen.theme-monogatari :is(.meta-row,.sc-sub) {color:#706256!important;font-size:12px}
body.mode-screen.theme-monogatari :is(.sc-cell b,.sc-cell.hi b,.stat b,.big-num,.score3 .c b,.score3 .c.fin b,.calc .c b) {background:none!important;color:#932c25!important;-webkit-text-fill-color:#932c25!important;text-shadow:none!important;font-family:'Literata',Georgia,serif!important}
body.mode-screen.theme-monogatari :is(.sc-cell small,.sc-cell .sc-sub,.stat small) {color:#6b5c51!important;-webkit-text-fill-color:#6b5c51!important}
body.mode-screen.theme-monogatari .sc-cell b {font-size:25px!important}
body.mode-screen.theme-monogatari .sc-cell small {font-size:10px!important;letter-spacing:.08em}
body.mode-screen.theme-monogatari .badge {background:#e5dacb!important;border:1px solid #bb9f89!important;border-radius:0;color:#664934!important;font-size:11px}
body.mode-screen.theme-monogatari .chip {border-radius:0;font-size:11px}
body.mode-screen.theme-monogatari .chip.cons {color:#2f624b!important;border-color:#95ad9b!important;background:#e4ebe0}
body.mode-screen.theme-monogatari .chip.hot {color:#9d3426!important;border-color:#c89b8d!important;background:#f1dfd4}
body.mode-screen.theme-monogatari .credit {color:#b4a397!important;font-size:11px;line-height:1.6;text-shadow:none}
body.mode-screen.theme-monogatari .credit a {color:#f3e8dc!important}
body.mode-screen.theme-monogatari .section-head {border-left:5px solid #c82d29!important;min-height:125px;padding:22px 26px;margin-bottom:22px}
body.mode-screen.theme-monogatari .section-head h1 {font-size:clamp(29px,3.5vw,45px)!important}
body.mode-screen.theme-monogatari :is(.section-head p,.theme-section-head p) {color:#6c5e52!important;font-size:14px;line-height:1.6}
body.mode-screen.theme-monogatari .page-kicker {color:#9b3a2b!important;font-size:10px!important;letter-spacing:.16em}
body.mode-screen.theme-monogatari :is(.section-tools,.profile-action,.theme-preview-btn,.edit-btn,.del-btn,.feature-toggle,.award-row button) {border-radius:0!important;box-shadow:none!important}

/* Viewers and recommendations. */
body.mode-screen.theme-monogatari .friends-grid {gap:15px}
body.mode-screen.theme-monogatari .friend-card {border-top:4px solid #b8352a!important;padding:22px;transition:transform .2s}
body.mode-screen.theme-monogatari .friend-card:nth-child(3n+2) {border-top-color:#527367!important}
body.mode-screen.theme-monogatari .friend-card:nth-child(3n+3) {border-top-color:#93743f!important}
body.mode-screen.theme-monogatari .friend-name {color:#2a211b!important;font-size:22px!important;overflow-wrap:anywhere}
body.mode-screen.theme-monogatari .friend-av {border-radius:0;background:#d8c8b6!important;color:#413126;border-color:#bfa78e}
body.mode-screen.theme-monogatari .friend-state {color:#39634c!important;font-size:12px}
body.mode-screen.theme-monogatari .friend-metrics {border-color:#cdbfb0}
body.mode-screen.theme-monogatari .friend-metrics b {color:#2d211a!important;font-family:'Literata',Georgia,serif!important}
body.mode-screen.theme-monogatari .friend-metrics span {color:#6b5a4b!important;font-size:11px}
body.mode-screen.theme-monogatari .quest-board {background:#25201d!important;border:1px solid #7a6250!important;border-radius:0!important;box-shadow:none!important;padding:55px 26px 26px;min-height:240px}
body.mode-screen.theme-monogatari .quest-board::before {content:'К истории прилагается';color:#e7d5c0!important;font-family:'Literata',Georgia,serif!important;font-size:17px!important;letter-spacing:0}
body.mode-screen.theme-monogatari .quest-board::after {border-color:#78614e33}
body.mode-screen.theme-monogatari .quest-paper,body.mode-screen.theme-monogatari .quest-paper:nth-child(n) {background:#f3f0e8!important;border:1px solid #d2bfaa!important;border-top:5px solid #b42c25!important;border-radius:0!important;box-shadow:5px 7px 0 #110e0b70!important;transform:rotate(-1deg);padding:24px 20px 18px;min-height:185px}
body.mode-screen.theme-monogatari .quest-paper:nth-child(2n) {transform:rotate(1deg);border-top-color:#547766!important}
body.mode-screen.theme-monogatari .quest-paper h3 {font-size:20px!important;font-weight:500;line-height:1.35}
body.mode-screen.theme-monogatari .quest-paper :is(.route,.paper-meta) {font-size:12px!important}
body.mode-screen.theme-monogatari .quest-create {padding:23px}
body.mode-screen.theme-monogatari :is(.quest-create h2,.quest-panel h2,.admin-bank h2,.wait-form h2) {color:#251d17!important;font-family:'Literata',Georgia,serif!important;font-size:22px!important;font-weight:500}
body.mode-screen.theme-monogatari .quest-item {background:#e9dfd1!important;border:1px solid #c8b6a2!important;border-radius:0!important;color:#302319!important;padding:16px}
body.mode-screen.theme-monogatari .quest-item :is(h3,b) {color:#2f221a!important}
body.mode-screen.theme-monogatari .quest-item :is(p,small,.meta,.quest-meta) {color:#6e5948!important;font-size:12px}
body.mode-screen.theme-monogatari .quest-item button {background:#f3f0e8;border:1px solid #a8826a;color:#802c23;border-radius:0}
body.mode-screen.theme-monogatari .wait-month {border-left:1px solid #a88063}
body.mode-screen.theme-monogatari .wait-month-title {color:#f3e9da!important;font-size:31px!important}
body.mode-screen.theme-monogatari .wait-game {padding:18px}
body.mode-screen.theme-monogatari .wait-game h3 {color:#261e18;font-family:'Literata',Georgia,serif!important;font-size:20px}
body.mode-screen.theme-monogatari .wait-game p {color:#6a5849;font-size:13px}
body.mode-screen.theme-monogatari .wait-date {background:#ad2c26!important;color:#fff!important;border-radius:0!important}
body.mode-screen.theme-monogatari .wait-remove {color:#8f372a;border-radius:0}

/* Profiles and the shop use paper, ink and small colored catalogue tabs. */
body.mode-screen.theme-monogatari .profile-hero {padding:26px;gap:22px;border-top:5px solid #b32c25!important}
body.mode-screen.theme-monogatari .profile-avatar {border-radius:0!important;background:#d8c2a7!important;color:#432f20;box-shadow:none!important;border:1px solid #8d6b51}
body.mode-screen.theme-monogatari .profile-id {font-size:clamp(28px,4vw,48px)!important;overflow-wrap:anywhere}
body.mode-screen.theme-monogatari .profile-handle {color:#9e3d2c!important;font-size:11px!important}
body.mode-screen.theme-monogatari .profile-bio {color:#5e5044!important;font-size:15px!important;line-height:1.75}
body.mode-screen.theme-monogatari .profile-level {border-color:#bd9d81}
body.mode-screen.theme-monogatari .profile-level b {color:#a53126!important;font-family:'Literata',Georgia,serif!important}
body.mode-screen.theme-monogatari .profile-level span {color:#6e5948!important}
body.mode-screen.theme-monogatari .profile-panel-title {color:#85392d!important;font-size:12px;letter-spacing:.1em}
body.mode-screen.theme-monogatari .showcase-edit {color:#802a22;background:#f8f3eb;border:1px solid #bba18a;border-radius:0;padding:7px 12px;font-size:12px}
body.mode-screen.theme-monogatari .profile-stat {background:#e6dacb;border-radius:0}
body.mode-screen.theme-monogatari .profile-stat b {font-family:'Literata',Georgia,serif!important;color:#38271c;font-size:27px}
body.mode-screen.theme-monogatari .profile-stat span {color:#6e5948;font-size:11px}
body.mode-screen.theme-monogatari .trophy-medal {background:#e9dfd1!important;border:1px solid #c8b69f!important;border-radius:0!important;color:#5b4434}
body.mode-screen.theme-monogatari .trophy-medal i {color:#a13729}
body.mode-screen.theme-monogatari .trophy-medal b {font-size:12px!important}
body.mode-screen.theme-monogatari .ach .ic {background:#d8c8b0!important;color:#802a22!important}
body.mode-screen.theme-monogatari .ach .ic i {color:#802a22!important;-webkit-text-fill-color:#802a22;background:none}
body.mode-screen.theme-monogatari .trophy-medal.r-special {border-color:#a13729!important;box-shadow:none}
body.mode-screen.theme-monogatari .trophy-medal.r-special :is(i,b) {background:none;color:#802a22!important;-webkit-text-fill-color:#802a22}
body.mode-screen.theme-monogatari .profile-action {background:#28201c!important;border:1px solid #8a6953!important;color:#f3e7d8!important;min-height:76px;transition:background .2s}
body.mode-screen.theme-monogatari .profile-action:hover {background:#3c2721!important}
body.mode-screen.theme-monogatari .profile-action i {color:#ed7762!important}
body.mode-screen.theme-monogatari .profile-action small {color:#c9b09a!important;font-size:12px}
body.mode-screen.theme-monogatari .theme-section-head {border-bottom:1px solid #6a5241;padding-bottom:18px}
body.mode-screen.theme-monogatari .theme-section h2 {color:#f3e9da!important;font-size:29px}
body.mode-screen.theme-monogatari .theme-section-head p {color:#c9b6a3!important}
body.mode-screen.theme-monogatari :is(.theme-product h3,.avatar-product h2) {font-family:'Literata',Georgia,serif!important;font-size:21px!important;font-weight:500!important;color:#2c2018!important;line-height:1.3}
body.mode-screen.theme-monogatari :is(.theme-product p,.avatar-product p,.admin-bank p) {color:#6d5948!important;font-size:13px!important;line-height:1.7}
body.mode-screen.theme-monogatari :is(.theme-product-body,.avatar-product-body) {padding:19px!important}
body.mode-screen.theme-monogatari .theme-preview-btn {background:#f3f0e8!important;border:1px solid #98745a!important;color:#5d3321!important;font-size:13px}
body.mode-screen.theme-monogatari .avatar-buy.equipped {background:#ded6c7!important;border-color:#b9a98f!important;color:#66533e!important}
body.mode-screen.theme-monogatari .avatar-buy.owned {background:#294b3c!important;border-color:#446d57!important;color:#fff!important}
body.mode-screen.theme-monogatari .theme-preview-bar {background:#f3f0e8!important;border:1px solid #a33226!important;border-radius:0!important;color:#41271c!important;box-shadow:0 6px 30px #0005}
body.mode-screen.theme-monogatari .theme-preview-bar button {background:#a92b23!important;color:#fff!important;border:0;border-radius:0;font-size:13px}

/* Every modal, score, form and achievement uses the same explicit ink colors. */
body.mode-screen.theme-monogatari .overlay {background:#0e0c0be6;backdrop-filter:blur(8px)}
body.mode-screen.theme-monogatari .sheet {background:#f3f0e8!important;border:1px solid #9c7d65!important;border-radius:0!important;color:#33241a!important;box-shadow:0 25px 100px #0009;backdrop-filter:none;--ink:#33241a;--cream:#33241a;--mut:#6b5848;--faint:#7b6653;--glass:#e7ddcf;--glass2:#e3d7c6;--brd:#c8b7a1;--line:#c8b7a1;--lime:#9f2e24;--pink:#ac3727;--purple:#875f52;--peach:#ad3827;--teal:#3f7159;--gold:#986d27;color-scheme:light}
body.mode-screen.theme-monogatari .sh-head {background:#211916!important;border-bottom:4px solid #bf3128;padding:20px 24px}
body.mode-screen.theme-monogatari .sh-head h2 {color:#fff0de!important;font-size:26px!important;line-height:1.25}
body.mode-screen.theme-monogatari .sh-head .x {color:#fff0de!important;background:none;border:1px solid #99775b;border-radius:0!important;width:36px;height:36px}
body.mode-screen.theme-monogatari :is(.sh-body,.sh-foot) {background:#f3f0e8!important;color:#33241a;border-color:#c8b7a1;padding:23px}
body.mode-screen.theme-monogatari :is(.field label,.trow>label,.sw .lb,.sl span,.sl b,.calc .c small,.score3 .c small,.ins-label,.info-top) {color:#675140!important;-webkit-text-fill-color:#675140!important;font-size:13px}
body.mode-screen.theme-monogatari :is(.sheet,.quest-create,.wait-form,.admin-bank,.marathon-admin) :is(input:not([type=range]):not([type=checkbox]),select,textarea),
body.mode-screen.theme-monogatari .field :is(input,select,textarea) {background:#fffaf2!important;color:#322116!important;border:1px solid #b39a80!important;border-radius:0!important;box-shadow:none!important;font-size:14px!important;color-scheme:light}
body.mode-screen.theme-monogatari :is(input,textarea)::placeholder {color:#7d6855!important;opacity:1}
body.mode-screen.theme-monogatari .field select option {background:#fffaf2;color:#322116}
body.mode-screen.theme-monogatari :is(.ac-drop,.ac-item) {background:#f9f2e7!important;color:#322116!important;border-color:#b39a80!important;border-radius:0!important}
body.mode-screen.theme-monogatari .ac-item:hover {background:#e9dac6!important}
body.mode-screen.theme-monogatari :is(.crit-edit,.crit-view,.note-box,.calc,.score3) {background:#e9dfd0!important;border:1px solid #cab79d!important;border-radius:0!important;color:#3d2a1c!important}
body.mode-screen.theme-monogatari .crit-edit {padding:17px}
body.mode-screen.theme-monogatari .cv-line .track {background:#c7b49a!important}
body.mode-screen.theme-monogatari .cv-line .track i {background:#a23227!important}
body.mode-screen.theme-monogatari :is(.calc .c,.score3 .c) {border-color:#c2aa8f!important}
body.mode-screen.theme-monogatari :is(.note-box b,.voter b,.duel-row b) {color:#382517!important;-webkit-text-fill-color:#382517!important}
body.mode-screen.theme-monogatari .sheet svg text {fill:#584432!important}
body.mode-screen.theme-monogatari input[type=range] {background:#c2ad92!important;border:0!important}
body.mode-screen.theme-monogatari input[type=range]::-webkit-slider-thumb {background:#b53127!important;border-color:#fff4e5!important}
body.mode-screen.theme-monogatari input[type=range]::-moz-range-thumb {background:#b53127!important;border-color:#fff4e5!important}
body.mode-screen.theme-monogatari .sw {background:#d9c8b2!important;border-color:#9b8167!important;border-radius:0!important}
body.mode-screen.theme-monogatari .sw.on {background:#b73226!important;border-color:#9f281e!important}
body.mode-screen.theme-monogatari .sw.on .lb {color:#fff!important;-webkit-text-fill-color:#fff!important}
body.mode-screen.theme-monogatari .voter {border-color:#bda184!important;color:#674a34!important;background:#f4eadb!important;border-radius:0}
body.mode-screen.theme-monogatari .review-card {position:relative;background:#e8decd!important;border:1px solid #c6ae90!important;border-left:4px solid #b13a2a!important;border-radius:0;padding:18px 20px}
body.mode-screen.theme-monogatari .review-head b {color:#3e2918!important;font-family:'Literata',Georgia,serif!important;font-size:18px}
body.mode-screen.theme-monogatari .review-head span {color:#9f3324!important}
body.mode-screen.theme-monogatari .review-card p {color:#57402b!important;font-size:15px;line-height:1.75}
body.mode-screen.theme-monogatari :is(.edit-btn,.del-btn,.award-row button) {background:#f8f0e4!important;border:1px solid #a78364!important;color:#763420!important}
body.mode-screen.theme-monogatari .ach,body.mode-screen.theme-monogatari .ach.locked {opacity:1!important;background:#e9e0d2!important;border:1px solid #c5b399!important;border-radius:0!important;color:#4f3b26!important;animation:none!important}
body.mode-screen.theme-monogatari .ach.unlocked {background:#fff9ec!important;border-color:#b63d29!important;border-left:4px solid #b63d29!important;box-shadow:none!important}
body.mode-screen.theme-monogatari :is(.ach .nm,.ach .ds,.ach .pgt,.ach .lock,.ach-pct,.ach-pct b) {color:#55412c!important;-webkit-text-fill-color:#55412c!important;background:none!important}
body.mode-screen.theme-monogatari .ach .nm {font-family:'Literata',Georgia,serif!important;font-size:17px!important;line-height:1.3}
body.mode-screen.theme-monogatari .ach .ds {color:#76604a!important;font-size:12px;line-height:1.5}
body.mode-screen.theme-monogatari .ach .ic {border-radius:0;background:#dfccb0;color:#745132}
body.mode-screen.theme-monogatari :is(.ach .pg,.ach-bar) {background:#c5b397!important;border-radius:0}
body.mode-screen.theme-monogatari :is(.ach .pg i,.ach-bar i) {background:#ae3426!important;border-radius:0}
body.mode-screen.theme-monogatari .tchip {background:#f9f1e2!important;border-color:#bda37f!important;border-radius:0!important;color:#65482b!important;font-size:11px}
body.mode-screen.theme-monogatari .award-row {background:#e7dac4!important;border-color:#bda37f!important;border-radius:0!important;color:#50391f!important}
body.mode-screen.theme-monogatari .ach-toast {background:#271b16;color:#f5e4cd;border:1px solid #c07f55;border-radius:0}

/* Film trains retain their routes and progress, with vermilion carriage accents. */
body.mode-screen.theme-monogatari :is(.marathon-card,.marathon-admin,.marathon-empty) {background:#f3f0e8!important;color:#332116!important;border:1px solid #bba082!important;border-radius:0!important;box-shadow:none!important;--ink:#332116;--mut:#765c46;--faint:#826b53;--brd:#c5ac8e;--line:#c5ac8e}
body.mode-screen.theme-monogatari .marathon-card-head {background:#e9dfcf!important;border-color:#c0a587!important}
body.mode-screen.theme-monogatari .marathon-card-head h2 {font-family:'Literata',Georgia,serif!important;font-size:28px!important;font-weight:500!important;color:#352216!important}
body.mode-screen.theme-monogatari .marathon-admin-head h2 {color:#352216!important}
body.mode-screen.theme-monogatari .marathon-admin-head p {color:#705b46!important}
body.mode-screen.theme-monogatari .marathon-card-head p {color:#73573e!important;font-size:14px;line-height:1.7}
body.mode-screen.theme-monogatari .marathon-kicker {color:#a43725!important;font-size:11px}
body.mode-screen.theme-monogatari .marathon-number {background:#dcc6a8!important;border-color:#b29670!important;border-radius:0!important;color:#5d3b21!important}
body.mode-screen.theme-monogatari .marathon-number b {color:#753b23!important;font-family:'Literata',Georgia,serif!important}
body.mode-screen.theme-monogatari .marathon-number span {color:#755333!important}
body.mode-screen.theme-monogatari .marathon-collective {background:#211915!important;color:#f5e7d0!important;border-radius:0;border-color:#7e5b40}
body.mode-screen.theme-monogatari .marathon-collective :is(b,span) {color:#f5e7d0!important}
body.mode-screen.theme-monogatari .marathon-meter {background:#61442c!important}
body.mode-screen.theme-monogatari .marathon-meter span {background:#df5a3f!important;box-shadow:none}
body.mode-screen.theme-monogatari .marathon-route {background:#eee5d7!important}
body.mode-screen.theme-monogatari .marathon-stop {background:#fff9ee!important;color:#4a2c17!important;border:1px solid #b89973!important;border-radius:0!important;box-shadow:none!important}
body.mode-screen.theme-monogatari .marathon-stop :is(b,h3) {color:#4a2c17!important;font-size:15px!important;line-height:1.4}
body.mode-screen.theme-monogatari .marathon-stop :is(span,small) {color:#886242!important;font-size:11px!important}
body.mode-screen.theme-monogatari .marathon-stop::before {background:#9c6b45!important}
body.mode-screen.theme-monogatari .marathon-stop .stop-dot {background:#b53a25;border-color:#fff1d9}
body.mode-screen.theme-monogatari .marathon-stop.engine {background:#e8d6bf!important;border-color:#ab7b50!important;border-right-color:#b63121!important;border-radius:0 22px 22px 0!important}
body.mode-screen.theme-monogatari .engine-cab {background:#b23424!important;border-color:#d4774b!important}
body.mode-screen.theme-monogatari .engine-cab i {border-color:#ffedc9;background:#362216}
body.mode-screen.theme-monogatari .engine-cab i::after {background:#f6d59d;box-shadow:-8px 18px 0 1px #54301d,8px 18px 0 1px #54301d}
body.mode-screen.theme-monogatari .marathon-stop .engine-cab span {color:#843d24!important;font-size:7px!important;line-height:1.3}
body.mode-screen.theme-monogatari .marathon-route-break {color:#96704e;font-size:9px}
body.mode-screen.theme-monogatari .marathon-route-break b {color:#a53521}
body.mode-screen.theme-monogatari .marathon-route-break::before,body.mode-screen.theme-monogatari .marathon-route-break::after {background:repeating-linear-gradient(90deg,#aa7a50 0 12px,transparent 12px 19px)}
body.mode-screen.theme-monogatari .marathon-card-foot {background:#e4d5bd!important;border-color:#bda17b!important;color:#624122!important}
body.mode-screen.theme-monogatari .marathon-member {background:#fcf3e4!important;border-color:#b7956d!important;border-radius:0!important;color:#65401e!important}
body.mode-screen.theme-monogatari .marathon-member :is(b,span) {color:#65401e!important}
body.mode-screen.theme-monogatari .marathon-reward-note {color:#865c35!important;font-size:12px}
body.mode-screen.theme-monogatari .marathon-preset {background:#e8d5b8!important;color:#784426!important;border-color:#b7956d!important;border-radius:0!important}

@keyframes mn-still-drift {from{transform:scale(1.01) translateX(-.2%)}to{transform:scale(1.065) translateX(-1%)}}
@keyframes mn-cut {0%,35%{opacity:1;clip-path:inset(0)}100%{opacity:1;clip-path:inset(0 0 100% 0)}}
@media(max-width:1100px) {
  body.mode-screen.theme-monogatari .app-shell {grid-template-columns:204px minmax(0,1fr)}
  body.mode-screen.theme-monogatari .app-nav {width:204px;padding:24px 14px}
  body.mode-screen.theme-monogatari .wrap {padding:22px 24px 70px}
  body.mode-screen.theme-monogatari .mn-cut {left:204px}
  body.mode-screen.theme-monogatari .mn-masthead {grid-template-columns:minmax(260px,1fr) 1fr}
  body.mode-screen.theme-monogatari .mn-title-block {min-height:250px;padding:24px}
  body.mode-screen.theme-monogatari .mn-title {font-size:49px}
  body.mode-screen.theme-monogatari .toolbar {grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important}
  body.mode-screen.theme-monogatari .toolbar .search {grid-column:1/-1}
}
@media(max-width:900px) {
  body.mode-screen.theme-monogatari .app-shell {display:block}
  body.mode-screen.theme-monogatari .app-nav {position:relative;inset:auto;width:100%;height:auto!important;min-height:0;padding:17px 20px!important;border:0;border-bottom:1px solid #5e5149;border-radius:0!important;display:grid;grid-template-columns:1fr auto;grid-template-rows:auto auto auto;gap:14px;overflow:visible}
  body.mode-screen.theme-monogatari .screen-brand {display:flex!important;padding:0;gap:10px}
  body.mode-screen.theme-monogatari .screen-brand-copy {font-size:18px}
  body.mode-screen.theme-monogatari .screen-brand small,body.mode-screen.theme-monogatari .nav-label {display:none}
  body.mode-screen.theme-monogatari .frame-mark {width:30px;height:38px;flex-basis:30px}
  body.mode-screen.theme-monogatari .frame-mark::before {font-size:24px}
  body.mode-screen.theme-monogatari .mode-portal {margin:0;align-self:center;width:180px}
  body.mode-screen.theme-monogatari .app-nav-items {display:grid;grid-column:1/-1;height:auto;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:5px;overflow:visible;margin:0}
  body.mode-screen.theme-monogatari .app-nav-btn {display:flex!important;flex-direction:row;justify-content:flex-start;align-items:center;min-width:0;min-height:42px;height:auto!important;font-size:13px!important;padding:9px;gap:7px}
  body.mode-screen.theme-monogatari .nav-account {display:flex!important;grid-column:1/-1;border:0;margin:0!important;padding:0!important;min-width:0;width:auto!important;max-width:100%}
  body.mode-screen.theme-monogatari .nav-avatar {width:26px;height:26px}
  body.mode-screen.theme-monogatari .nav-user {display:flex;gap:12px;align-items:baseline}
  body.mode-screen.theme-monogatari .nav-user span {font-size:11px}
  body.mode-screen.theme-monogatari .mn-cut {left:0}
  body.mode-screen.theme-monogatari .mn-chapter-prefix {display:none}
}
@media(max-width:600px) {
  body.mode-screen.theme-monogatari .app-nav {padding:14px!important;gap:12px}
  body.mode-screen.theme-monogatari .mode-portal {width:161px}
  body.mode-screen.theme-monogatari .app-nav-items {grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:4px}
  body.mode-screen.theme-monogatari .app-nav-btn {min-height:39px;font-size:14px!important}
  body.mode-screen.theme-monogatari .wrap {padding:16px 14px 60px}
  body.mode-screen.theme-monogatari header {margin-bottom:18px}
  body.mode-screen.theme-monogatari .mn-masthead {grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
  body.mode-screen.theme-monogatari .mn-title-block {min-height:220px;padding:19px 15px}
  body.mode-screen.theme-monogatari .mn-eyebrow {font-size:8px;letter-spacing:.06em}
  body.mode-screen.theme-monogatari .mn-title {font-size:clamp(28px,7.4vw,43px);margin-top:32px;line-height:1.1}
  body.mode-screen.theme-monogatari .mn-signature {font-size:95px;bottom:0;right:-10px}
  body.mode-screen.theme-monogatari .mn-still::before {background-position:85% center}
  body.mode-screen.theme-monogatari .mn-still-label {font-size:23px;right:9px;top:10px}
  body.mode-screen.theme-monogatari .mn-still-credit {display:none}
  body.mode-screen.theme-monogatari .mn-chapter-strip {display:block;padding:11px 13px}
  body.mode-screen.theme-monogatari .mn-controls {border-top:1px solid #c8bfb2;margin-top:9px;padding-top:9px;justify-content:space-between}
  body.mode-screen.theme-monogatari .mn-controls button {font-size:13px;min-height:28px}
  body.mode-screen.theme-monogatari .showcase {padding:16px 13px}
  body.mode-screen.theme-monogatari .sc-head h2 {font-size:18px!important}
  body.mode-screen.theme-monogatari .mn-dialog[open] {grid-template-columns:1fr;width:calc(100% - 24px);max-height:92vh}
  body.mode-screen.theme-monogatari .mn-dialog-art {min-height:230px;background-position:85% 58%}
  body.mode-screen.theme-monogatari .mn-dialog-copy {padding:28px 25px}
  body.mode-screen.theme-monogatari .mn-dialog-copy h2 {font-size:35px;margin:15px 0}
  body.mode-screen.theme-monogatari .mn-dialog-resume {margin-top:24px}
  body.mode-screen.theme-monogatari :is(.section-head,.profile-hero,.profile-panel,.quest-create,.quest-panel,.admin-bank) {padding:18px!important}
  body.mode-screen.theme-monogatari .section-head {display:block;min-height:0}
  body.mode-screen.theme-monogatari .section-head h1 {font-size:30px!important;line-height:1.2!important}
  body.mode-screen.theme-monogatari .section-tools {margin-top:14px;flex-wrap:wrap}
  body.mode-screen.theme-monogatari .row {grid-template-columns:24px minmax(0,1fr) auto;gap:9px;padding:16px 12px}
  body.mode-screen.theme-monogatari .row h3 {font-size:17px!important}
  body.mode-screen.theme-monogatari .row .rnk {font-size:12px!important}
  body.mode-screen.theme-monogatari .row .meta-row {font-size:11px;gap:5px}
  body.mode-screen.theme-monogatari .sc-cell b {font-size:23px!important}
  body.mode-screen.theme-monogatari .sc-cell small {font-size:9px!important}
  body.mode-screen.theme-monogatari .hero808 {padding:18px!important}
  body.mode-screen.theme-monogatari .hero808 .h-metrics {gap:12px;font-size:11px}
  body.mode-screen.theme-monogatari .hero808 .h-metrics b {font-size:15px!important}
  body.mode-screen.theme-monogatari .hero808 .h-desc {letter-spacing:.02em}
  body.mode-screen.theme-monogatari .dot-matrix {gap:2px}
  body.mode-screen.theme-monogatari .dot-matrix i {height:10px}
  body.mode-screen.theme-monogatari .toolbar {grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;gap:8px!important}
  body.mode-screen.theme-monogatari .toolbar .add-btn {grid-column:1/-1}
  body.mode-screen.theme-monogatari .flt {min-width:0;max-width:100%;font-size:12px}
  body.mode-screen.theme-monogatari #themeShop {grid-template-columns:minmax(0,1fr)!important}
  body.mode-screen.theme-monogatari .theme-actions {grid-template-columns:1fr}
  body.mode-screen.theme-monogatari .profile-hero {grid-template-columns:65px minmax(0,1fr)!important;gap:14px}
  body.mode-screen.theme-monogatari .profile-avatar {width:65px!important;height:65px!important}
  body.mode-screen.theme-monogatari .profile-id {font-size:29px!important}
  body.mode-screen.theme-monogatari .profile-level {grid-column:1/-1;padding-top:12px;border-top:1px solid #bea78c}
  body.mode-screen.theme-monogatari .profile-showcase {grid-template-columns:1fr!important}
  body.mode-screen.theme-monogatari .profile-bio {font-size:14px!important}
  body.mode-screen.theme-monogatari .friends-grid {grid-template-columns:1fr}
  body.mode-screen.theme-monogatari .quest-board {padding:52px 16px 22px}
  body.mode-screen.theme-monogatari .quest-papers {grid-template-columns:1fr!important;gap:22px}
  body.mode-screen.theme-monogatari .quest-columns {grid-template-columns:1fr}
  body.mode-screen.theme-monogatari .sh-body,body.mode-screen.theme-monogatari .sh-foot {padding:17px}
  body.mode-screen.theme-monogatari .sh-head {padding:17px}
  body.mode-screen.theme-monogatari .sh-head h2 {font-size:23px!important}
  body.mode-screen.theme-monogatari .cv-line {grid-template-columns:85px minmax(0,1fr) 27px;gap:8px}
  body.mode-screen.theme-monogatari .score3 .c {padding:12px 9px}
  body.mode-screen.theme-monogatari .score3 .c small {font-size:10px}
  body.mode-screen.theme-monogatari .marathon-card-head {padding:18px}
  body.mode-screen.theme-monogatari .marathon-card-head h2 {font-size:25px!important}
  body.mode-screen.theme-monogatari .marathon-route {padding:20px!important}
  body.mode-screen.theme-monogatari .theme-preview-bar {width:calc(100% - 24px);max-width:calc(100% - 24px);flex-wrap:wrap;justify-content:center;padding:12px;gap:10px;bottom:12px}
}
@media(max-width:360px) {
  body.mode-screen.theme-monogatari .app-nav {grid-template-columns:minmax(0,1fr) 135px!important;gap:10px}
  body.mode-screen.theme-monogatari .mode-portal {width:135px}
  body.mode-screen.theme-monogatari .screen-brand {min-width:0;gap:7px}
  body.mode-screen.theme-monogatari .screen-brand-copy {font-size:17px}
  body.mode-screen.theme-monogatari .mode-choice {font-size:10px!important}
}
@media(prefers-reduced-motion:reduce) {
  body.mode-screen.theme-monogatari *,body.mode-screen.theme-monogatari *::before,body.mode-screen.theme-monogatari *::after {animation:none!important;transition:none!important;scroll-behavior:auto!important}
  body.mode-screen.theme-monogatari :is(.app-page.on,.sheet) {opacity:1!important;transform:none!important}
  body.mode-screen.theme-monogatari .mn-cut {display:none!important}
}
