@font-face{font-family:DM Sans;font-style:normal;font-display:swap;font-weight:400;src:url(/assets/dm-sans-latin-400-normal-CW0RaeGs.woff2) format("woff2"),url(/assets/dm-sans-latin-400-normal-BwCSEQnW.woff) format("woff")}@font-face{font-family:DM Sans;font-style:normal;font-display:swap;font-weight:500;src:url(/assets/dm-sans-latin-500-normal-B9HHJjqV.woff2) format("woff2"),url(/assets/dm-sans-latin-500-normal-Dr3UlScf.woff) format("woff")}@font-face{font-family:DM Sans;font-style:normal;font-display:swap;font-weight:600;src:url(/assets/dm-sans-latin-600-normal-Aqo67rzb.woff2) format("woff2"),url(/assets/dm-sans-latin-600-normal-BmdmIIQ2.woff) format("woff")}@font-face{font-family:Space Mono;font-style:normal;font-display:swap;font-weight:400;src:url(/assets/space-mono-latin-400-normal-Rg4St2Dn.woff2) format("woff2"),url(/assets/space-mono-latin-400-normal-_3DlpgIW.woff) format("woff")}@font-face{font-family:Space Mono;font-style:normal;font-display:swap;font-weight:700;src:url(/assets/space-mono-latin-700-normal-mWgeinG7.woff2) format("woff2"),url(/assets/space-mono-latin-700-normal-D7A851RN.woff) format("woff")}:root{font-family:DM Sans,sans-serif;color:#211f1d;background:#f2f0ec;font-synthesis:none;text-rendering:optimizeLegibility;--page: #f2f0ec;--surface: #faf9f6;--surface-2: #e9e6e0;--ink: #211f1d;--muted: #68635d;--faint: #918b83;--line: #d2cec7;--accent: #a43e31;--accent-strong: #7e2e25;--accent-ink: #fff9f5;--danger: #993c33;--radius: 14px}@media(prefers-color-scheme:dark){:root{color:#eeeae4;background:#171615;--page: #171615;--surface: #201e1c;--surface-2: #2a2724;--ink: #eeeae4;--muted: #b1aaa2;--faint: #807970;--line: #3b3733;--accent: #c95e4e;--accent-strong: #dc705f;--accent-ink: #1b0d0a;--danger: #eb7767}}*{box-sizing:border-box}html{background:var(--page)}body{margin:0;min-width:320px;min-height:100dvh;background:var(--page)}button,input{font:inherit}button,a{-webkit-tap-highlight-color:transparent}button:focus-visible,a:focus-visible,input:focus-visible{outline:3px solid color-mix(in srgb,var(--accent) 58%,transparent);outline-offset:3px}button{cursor:pointer}.app-shell{width:min(100% - 40px,1380px);min-height:100dvh;margin-inline:auto}.site-header{height:72px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line)}.brand{display:inline-flex;align-items:center;gap:10px;color:var(--ink);font-weight:600;letter-spacing:-.03em;text-decoration:none}.brand svg{width:21px;height:21px;color:var(--accent)}.age-note{color:var(--muted);font:400 11px/1 Space Mono,monospace;letter-spacing:.08em;text-transform:uppercase}.search-hero{display:grid;grid-template-columns:minmax(0,.9fr) minmax(420px,1.1fr);align-items:end;gap:clamp(40px,8vw,130px);padding:clamp(52px,8vh,84px) 0 48px}.eyebrow,.result-code{margin:0 0 16px;color:var(--accent);font:700 11px/1.4 Space Mono,monospace;letter-spacing:.12em;text-transform:uppercase}h1{margin:0;max-width:780px;color:var(--ink);font-size:clamp(48px,5.35vw,76px);font-weight:500;letter-spacing:-.065em;line-height:.92}.hero-description{max-width:38ch;margin:26px 0 0;color:var(--muted);font-size:17px;line-height:1.55}.search-form{padding-bottom:4px}.search-form>label{display:block;margin-bottom:10px;color:var(--ink);font-size:13px;font-weight:600}.search-control{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:12px;padding:8px 8px 8px 16px;border:1px solid var(--line);border-radius:var(--radius);background:var(--surface);box-shadow:0 16px 48px color-mix(in srgb,var(--accent) 7%,transparent);transition:border-color .18s ease,box-shadow .18s ease}.search-control:focus-within{border-color:var(--accent);box-shadow:0 0 0 4px color-mix(in srgb,var(--accent) 12%,transparent)}.search-control>svg{width:20px;color:var(--faint)}.search-control input{width:100%;min-width:0;border:0;outline:0;color:var(--ink);background:transparent;font:700 clamp(16px,2vw,21px)/1 "Space Mono",monospace;letter-spacing:.02em;text-transform:uppercase}.search-control input::placeholder{color:var(--faint);opacity:1}.search-control button,.error-state button{min-height:48px;padding:0 22px;border:0;border-radius:calc(var(--radius) - 4px);color:var(--accent-ink);background:var(--accent);font-size:14px;font-weight:600;white-space:nowrap;transition:background .18s ease,transform .12s ease}.search-control button:hover,.error-state button:hover{background:var(--accent-strong)}.search-control button:active,.error-state button:active,.copy-button:active,.language-switch button:active{transform:translateY(1px)}.search-control button:disabled{cursor:wait;opacity:.7}.form-helper{margin:10px 2px 0;color:var(--muted);font-size:12px}.result-stage{display:grid;grid-template-columns:minmax(280px,.75fr) minmax(0,1.25fr);min-height:500px;overflow:hidden;border-radius:var(--radius);background:var(--surface);box-shadow:0 28px 90px color-mix(in srgb,var(--accent) 8%,transparent)}.artwork{position:relative;min-height:100%;padding:0;overflow:hidden;border:0;background:#1b1715;text-align:left}.artwork:after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,transparent 64%,color-mix(in srgb,var(--surface) 32%,transparent));pointer-events:none}.artwork img{width:100%;height:100%;min-height:500px;display:block;object-fit:cover;object-position:66% center;transition:transform .32s ease,filter .32s ease}.artwork.interactive:hover img{filter:brightness(.88);transform:scale(1.015)}.artwork-open{position:absolute;inset:0;z-index:1;width:100%;padding:0;border:0;color:inherit;background:transparent;text-align:left}.artwork-hint{position:absolute;right:16px;bottom:16px;z-index:1;display:inline-flex;align-items:center;gap:7px;padding:8px 11px;border:1px solid rgb(255 255 255 / .2);border-radius:calc(var(--radius) - 6px);color:#fff;background:#12100fb8;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);font-size:11px;font-weight:600}.artwork-hint svg{width:15px;height:15px}.result-panel{min-width:0;display:flex;align-items:center;padding:clamp(34px,5vw,76px)}.story-result,.loading-state,.error-state{width:100%}.result-heading{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:start;gap:24px}.result-code{margin-bottom:12px;font-size:13px}.result-heading h2{display:-webkit-box;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:2;margin:0;color:var(--ink);font-size:clamp(20px,2.4vw,31px);font-weight:500;letter-spacing:-.035em;line-height:1.25}.source-link{display:inline-flex;align-items:center;gap:6px;color:var(--muted);font-size:12px;text-decoration:none;transition:color .16s ease}.source-link:hover{color:var(--accent)}.source-link svg{width:15px;height:15px}.metadata{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px;margin:30px 0 0;padding:22px 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}.metadata div{min-width:0}.metadata dt{margin-bottom:5px;color:var(--faint);font:400 10px/1.4 Space Mono,monospace;letter-spacing:.08em;text-transform:uppercase}.metadata dd{overflow:hidden;margin:0;color:var(--ink);font-size:13px;line-height:1.35;text-overflow:ellipsis;white-space:nowrap}.story-toolbar{display:flex;align-items:center;justify-content:space-between;margin:26px 0 20px}.language-switch{display:flex;gap:4px}.language-switch button,.copy-button{min-height:36px;border:0;border-radius:calc(var(--radius) - 6px);color:var(--muted);background:transparent;font-size:12px;font-weight:600;transition:color .16s ease,background .16s ease,transform .12s ease}.story-actions{display:flex;align-items:center;gap:8px}.gallery-button{min-height:36px;display:inline-flex;align-items:center;gap:7px;padding:0 11px;border:1px solid var(--line);border-radius:calc(var(--radius) - 6px);color:var(--ink);background:var(--surface);font-size:12px;font-weight:600;white-space:nowrap;transition:color .16s ease,border-color .16s ease,transform .12s ease}.gallery-button:hover{color:var(--accent);border-color:var(--accent)}.gallery-button svg{width:16px;height:16px}.gallery-button span{min-width:20px;padding:2px 5px;border-radius:5px;color:var(--muted);background:var(--surface-2);font:700 10px/1.4 Space Mono,monospace;text-align:center}.language-switch button{padding:0 12px}.language-switch button.active{color:var(--ink);background:var(--surface-2)}.copy-button{display:inline-flex;align-items:center;gap:7px;padding:0 8px}.copy-button:hover{color:var(--accent)}.copy-button svg{width:16px;height:16px}.story-text{margin:0;color:var(--ink);font-size:clamp(16px,1.3vw,19px);line-height:1.78}.story-text.japanese{line-height:1.9}.font-size-control{display:none}.translation-note{margin:16px 0 0;color:var(--faint);font-size:11px}.loading-state{display:grid;gap:16px}.skeleton{height:16px;border-radius:5px;background:var(--surface-2)}.skeleton.short{width:18%;height:11px}.skeleton.title{width:82%;height:38px;margin-bottom:24px}.skeleton.meta{width:100%;height:64px;margin-bottom:26px}.skeleton.line{width:100%}.skeleton.final{width:68%}@media(prefers-reduced-motion:no-preference){.skeleton{background:linear-gradient(90deg,var(--surface-2),color-mix(in srgb,var(--surface-2) 55%,var(--surface)),var(--surface-2));background-size:200% 100%;animation:shimmer 1.5s ease-in-out infinite}}@keyframes shimmer{to{background-position:-200% 0}}.error-state{max-width:480px}.error-state>svg{width:30px;height:30px;color:var(--danger)}.error-state h2{margin:18px 0 8px;color:var(--ink);font-size:28px;letter-spacing:-.04em}.error-state p{margin:0 0 24px;color:var(--muted);line-height:1.6}.error-state button{min-height:44px}footer{display:flex;justify-content:flex-end;padding:24px 0 36px}footer p{margin:0;color:var(--faint);font-size:11px}.gallery-backdrop{position:fixed;inset:0;z-index:20;display:grid;place-items:center;padding:24px;background:#0c0b0aeb;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}.gallery-modal{width:min(1120px,100%);max-height:calc(100dvh - 48px);display:grid;grid-template-rows:auto minmax(0,1fr) auto;overflow:hidden;border:1px solid #45403b;border-radius:var(--radius);color:#eeeae4;background:#1b1917;box-shadow:0 32px 100px #00000080}.gallery-header{display:grid;grid-template-columns:1fr auto auto;align-items:center;gap:24px;padding:18px 20px;border-bottom:1px solid #393531}.gallery-header p{margin:0 0 4px;color:#d66b5b;font:700 10px/1.3 Space Mono,monospace;letter-spacing:.1em}.gallery-header h2{margin:0;font-size:18px;font-weight:600}.gallery-counter{color:#aaa39a;font:400 11px/1 Space Mono,monospace}.gallery-close,.gallery-nav{display:grid;place-items:center;border:1px solid #45403b;border-radius:calc(var(--radius) - 6px);color:#eeeae4;background:#25221f;transition:color .16s ease,border-color .16s ease,transform .12s ease}.gallery-close{width:38px;height:38px}.gallery-close:hover,.gallery-nav:hover{color:#df7464;border-color:#b45346}.gallery-close:active,.gallery-nav:active,.gallery-button:active{transform:translateY(1px)}.gallery-close svg,.gallery-nav svg{width:20px;height:20px}.gallery-viewer{position:relative;min-height:0;display:grid;place-items:center;padding:20px 68px;overflow:hidden;background:#12110f}.gallery-viewer>img{width:100%;height:100%;max-height:calc(100dvh - 245px);display:block;object-fit:contain}.gallery-nav{position:absolute;top:50%;z-index:1;width:42px;height:52px;transform:translateY(-50%)}.gallery-nav:active{transform:translateY(calc(-50% + 1px))}.gallery-nav.previous{left:14px}.gallery-nav.next{right:14px}.gallery-thumbnails{display:flex;gap:8px;padding:12px 14px 14px;overflow-x:auto;scrollbar-color:#655e56 transparent;background:#1b1917}.gallery-thumbnails button{flex:0 0 82px;height:54px;padding:2px;overflow:hidden;border:1px solid transparent;border-radius:calc(var(--radius) - 8px);background:transparent;opacity:.56;transition:opacity .16s ease,border-color .16s ease}.gallery-thumbnails button:hover,.gallery-thumbnails button.active{opacity:1}.gallery-thumbnails button.active{border-color:#d66b5b}.gallery-thumbnails img{width:100%;height:100%;display:block;border-radius:calc(var(--radius) - 10px);object-fit:cover}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}@media(max-width:960px){.app-shell{width:min(100% - 28px,720px)}.search-hero{grid-template-columns:1fr;gap:42px;padding-top:44px}.result-stage{grid-template-columns:1fr}.artwork{min-height:190px;max-height:240px}.artwork:after{background:linear-gradient(180deg,transparent 62%,color-mix(in srgb,var(--surface) 24%,transparent))}.artwork img{min-height:240px;object-position:70% 46%}.result-panel{padding:34px 28px 40px}.story-toolbar{align-items:stretch;flex-direction:column;gap:12px;margin-top:22px}.story-actions{justify-content:space-between}.language-switch button{white-space:nowrap}.story-text{font-size:var(--story-font-size, 18px)}.font-size-control{display:grid;grid-template-columns:auto auto minmax(90px,1fr) auto auto;align-items:center;gap:9px;margin:-2px 0 20px;padding:12px 14px;border:1px solid var(--line);border-radius:calc(var(--radius) - 4px);background:var(--surface-2)}.font-size-control label{margin-right:3px;color:var(--muted);font-size:12px;font-weight:600}.font-size-control span{color:var(--muted);line-height:1}.font-size-small{font-size:12px}.font-size-large{font-size:22px}.font-size-control input{width:100%;accent-color:var(--accent)}.font-size-control output{min-width:36px;color:var(--faint);font:400 10px/1 Space Mono,monospace;text-align:right}.gallery-backdrop{padding:0}.gallery-modal{width:100%;height:100dvh;max-height:none;border:0;border-radius:0}.gallery-header{gap:14px;padding:14px}.gallery-viewer{padding:12px 48px}.gallery-viewer>img{max-height:calc(100dvh - 150px)}.gallery-nav{width:36px;height:48px}.gallery-nav.previous{left:7px}.gallery-nav.next{right:7px}}@media(max-width:600px){.app-shell{width:min(100% - 24px,520px)}.site-header{height:64px}.search-hero{gap:34px;padding:40px 0}h1{font-size:clamp(44px,15vw,64px)}.hero-description{font-size:15px}.search-control{grid-template-columns:auto 1fr;padding:14px}.search-control button{grid-column:1 / -1;width:100%;margin-top:2px}.result-heading{grid-template-columns:1fr;gap:14px}.source-link{width:fit-content}.metadata{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px 14px}footer{justify-content:flex-start}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}}@media(prefers-reduced-transparency:reduce){.gallery-backdrop{-webkit-backdrop-filter:none;backdrop-filter:none}}
