:root{color:#d9e2dd;font-synthesis:none;background:#111b19;font-family:Inter,system-ui,-apple-system,Segoe UI,sans-serif;font-weight:400}*{box-sizing:border-box}html{scroll-behavior:smooth}body{min-width:320px;margin:0}button,input{font:inherit}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.48}button:focus-visible,input:focus-visible{outline-offset:3px;outline:2px solid #a5cbb3}img{max-width:100%;display:block}h1,h2,h3,p{margin-top:0}.sr-only{clip:rect(0,0,0,0);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.app-shell{color:#e9ebe7;background:radial-gradient(90% 60% at 50% 0,#20322b 0%,#111a19 60%,#101716 100%);flex-direction:column;min-height:100vh;display:flex}.site-header,.reader-topbar{-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);z-index:20;background:#111a19e8;border-bottom:1px solid #bcd1c323;justify-content:space-between;align-items:center;gap:1rem;height:68px;padding:0 clamp(1rem,4vw,3.5rem);display:flex;position:sticky;top:0}.site-brand{cursor:pointer;align-items:center;gap:.9rem;display:flex}.brand-symbol{color:#d7c8a5;letter-spacing:-.07em;background:linear-gradient(145deg,#30463b,#18251f);border:1px solid #a4b6a273;border-radius:11px;place-items:center;width:40px;height:40px;font-family:Georgia,serif;font-size:1.12rem;font-weight:700;display:grid}.site-brand strong{letter-spacing:.17em;color:#f1e8d8;font-family:Georgia,serif;font-size:.95rem;display:block}.site-brand small{color:#a6b8ac;letter-spacing:.035em;margin-top:.16rem;font-size:.72rem;display:block}.site-actions button,.reader-topbar button{color:#d2dfd7;background:#ffffff09;border:1px solid #d8e4d82b;border-radius:9px;align-items:center;gap:.5rem;padding:.57rem .8rem;font-size:.84rem;display:inline-flex}.site-actions button:hover,.reader-topbar button:hover:enabled{background:#ffffff16}.site-main{flex:1;width:min(1250px,100% - 2.5rem);margin:0 auto;padding:3.6rem 0 5rem}.hero-heading{max-width:770px;margin:0 0 3rem}.eyebrow{text-transform:uppercase;letter-spacing:.16em;color:#b6c9b2;align-items:center;gap:.55rem;margin-bottom:1.1rem;font-size:.69rem;font-weight:700;display:flex}.hero-heading h1{letter-spacing:-.034em;color:#f3f1e7;margin:0 0 1rem;font-family:Georgia,Times New Roman,serif;font-size:clamp(2.45rem,5.8vw,4.4rem);font-weight:500;line-height:1.07}.hero-heading p{color:#a7b5ac;max-width:620px;font-size:1.08rem;line-height:1.65}.catalog-toolbar{color:#aabbb1;border-bottom:1px solid #d4e4d323;justify-content:space-between;align-items:center;gap:1rem;margin-bottom:1.4rem;padding:0 0 1rem;font-size:.83rem;display:flex}.search-box{width:100%;max-width:370px}.search-box input{color:#ecf2eb;background:#d5f1e10c;border:1px solid #8caaa34c;border-radius:10px;width:100%;padding:.85rem 1.05rem}.search-box input::placeholder{color:#97aaa1}.adventure-grid{grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:1.45rem;display:grid}.adventure-card{text-align:left;color:#edf0e8;background:#202d28;border:1px solid #a2b6a133;border-radius:15px;flex-direction:column;min-width:0;padding:0;transition:transform .16s,border-color .16s,box-shadow .16s;display:flex;overflow:hidden}.adventure-card:hover{border-color:#a0c5ae7d;transform:translateY(-3px);box-shadow:0 12px 35px #050b086b}.library-art{color:#9db8aa;aspect-ratio:2/3;background:#28392f;place-items:center;width:100%;min-height:0;display:grid;position:relative;overflow:hidden}.library-art img{object-fit:cover;width:100%;height:100%}.adventure-card>.library-art{aspect-ratio:auto;background:#263932;height:320px}.adventure-card-body{flex-direction:column;flex:1;padding:1.15rem 1.15rem 1.05rem;display:flex}.card-chips{flex-wrap:wrap;gap:.4rem;min-height:1.2rem;margin-bottom:.8rem;display:flex}.card-chips span{color:#c4d7c8;background:#a6cfaa0e;border:1px solid #c6d4c22a;border-radius:99px;align-items:center;gap:.25rem;padding:.22rem .55rem;font-size:.65rem;display:inline-flex}.card-chips .saved-chip{color:#e0d0a7;border-color:#d5b57a47}.adventure-card h2{color:#f6eee1;margin:0 0 .6rem;font:500 1.42rem/1.25 Georgia,serif}.adventure-card p{color:#aabbb0;-webkit-line-clamp:3;-webkit-box-orient:vertical;margin:0 0 1rem;font-size:.84rem;line-height:1.5;display:-webkit-box;overflow:hidden}.card-footer{color:#c1d0c2;border-top:1px solid #d8e9d020;justify-content:space-between;align-items:center;margin-top:auto;padding-top:1rem;display:flex}.card-footer small{font-size:.75rem}.loading,.empty{text-align:center;color:#b4c9b7;justify-items:center;gap:1rem;padding:4rem 1rem;display:grid}.empty h2{margin:0;font:500 1.4rem Georgia,serif}.empty p{max-width:490px;line-height:1.6}.site-footer{color:#819b8e;border-top:1px solid #d4e4d323;justify-content:space-between;gap:1rem;padding:1.3rem clamp(1rem,4vw,3.5rem);font-size:.75rem;display:flex}.status-notice{color:#c6d4c8;background:#ffffff0c;border:1px solid #a0b8ac43;border-radius:10px;align-items:center;gap:.7rem;margin:0 0 1.2rem;padding:.9rem 1rem;font-size:.87rem;line-height:1.4;display:flex}.status-notice.error{color:#ffd1bb;background:#8f382b1b;border-color:#ce846559}.spin{animation:1.15s linear infinite spin}@keyframes spin{to{transform:rotate(360deg)}}.detail-view{padding:.2rem 0 1rem}.back-link{color:#b5caba;background:0 0;border:0;align-items:center;gap:.5rem;margin-bottom:2rem;padding:.6rem 0;display:inline-flex}.back-link:hover{color:#fff}.detail-content{grid-template-columns:minmax(200px,350px) minmax(0,1fr);align-items:start;gap:clamp(2rem,5vw,5.5rem);display:grid}.detail-cover{border:1px solid #d2e2d03d;border-radius:14px;max-width:350px;overflow:hidden;box-shadow:0 20px 50px #050c095e}.detail-text{padding-top:2rem}.detail-text h1{color:#f6eee1;letter-spacing:-.035em;margin:0 0 1rem;font:500 clamp(2.5rem,5vw,4.3rem)/1.1 Georgia,serif}.detail-author{color:#d6c6a4;font-size:.96rem}.detail-description{color:#b5c6b7;max-width:650px;margin-top:2rem;font-size:1.08rem;line-height:1.8}.detail-meta{border-block:1px solid #d4e4d326;flex-wrap:wrap;gap:1.2rem;margin:2rem 0;padding:1.15rem 0;display:flex}.detail-meta span{color:#afc1b4;align-items:center;gap:.4rem;font-size:.82rem;display:inline-flex}.detail-actions{flex-wrap:wrap;gap:.75rem;display:flex}.primary-button,.secondary-button,.action-button{border:1px solid #b6c9ba4c;border-radius:9px;justify-content:center;align-items:center;gap:.65rem;min-height:45px;padding:.83rem 1.23rem;font-size:.92rem;font-weight:650;display:inline-flex}.primary-button,.action-button{color:#222a23;background:#d5bd8d;border-color:#d5bd8d}.primary-button:hover:enabled,.action-button:hover:enabled{background:#e4d0ac}.secondary-button{color:#d8e7d8;background:#f1f6ed0e}.secondary-button:hover:enabled{background:#f1f6ed1c}.detail-text .status-notice{margin-top:1.3rem}.reader-page{color:#e4e6de;background:#111916;min-height:100vh}.reader-topbar{height:58px;padding:0 clamp(.6rem,3vw,2rem)}.reader-topbar>strong{white-space:nowrap;text-overflow:ellipsis;text-align:center;color:#efe6d4;flex:1;font:500 clamp(.85rem,2vw,1.13rem) Georgia,serif;overflow:hidden}.reader-top-actions{gap:.5rem;display:flex}.reader-topbar button{background:0 0;border-color:#0000;padding:.5rem .62rem;font-size:.8rem}.reader-body{width:min(100%,1360px);margin:0 auto;padding:0 0 3rem}.leaf{isolation:isolate;width:100%;min-height:620px;margin:0 auto;display:flow-root;position:relative;overflow:hidden;container-type:inline-size}.leaf--cover{max-width:1360px;min-height:0}.leaf--scene{min-height:580px}.leaf-background{pointer-events:none;z-index:0;background-position:top;background-repeat:no-repeat;background-size:100% 100%;position:absolute;inset:0}.leaf-content{z-index:1;position:relative}.leaf--cover .leaf-content{width:100%}.cover-canvas{background:#3c4237;width:100%;display:flow-root;position:relative;overflow:hidden}.cover-canvas:before{content:"";float:left;width:0;padding-top:150%}.cover-canvas--landscape:before{padding-top:56.25%}.cover-canvas:after{content:"";clear:both;display:block}.cover-original{object-fit:cover;width:100%;height:100%;position:absolute;inset:0}.cover-title{z-index:2;overflow-wrap:break-word;pointer-events:none;-webkit-hyphens:auto;hyphens:auto;width:90%;max-width:85%;margin:0;font-weight:700;line-height:1.12;position:absolute;transform:translate(-50%,-50%)}.cover-begin{z-index:3;pointer-events:none;justify-content:center;display:flex;position:absolute;bottom:clamp(.6rem,2vw,1.6rem);left:0;right:0}.cover-begin .action-button{pointer-events:auto;color:#efdfbf;background:#19251fef;border:1px solid #dfc99b;font-size:clamp(.8rem,1.8vw,1rem);box-shadow:0 2px 18px #0008}.cover-begin .action-button:hover:enabled{background:#26352b}.reading-area{padding:clamp(1.4rem,3.8vw,3.5rem) 0 3rem}.leaf-reading-title{text-align:center;margin:0 0 1.1em;font-weight:650;line-height:1.25}.reading-textbox{overflow-wrap:break-word;min-width:0}.reading-textbox .narrative{padding:0}.narrative{overflow-wrap:anywhere;line-height:inherit}.narrative p{margin:0 0 1.12em}.narrative p:last-child{margin-bottom:0}.narrative strong{font-weight:700}.narrative ul,.narrative ol{padding-inline-start:1.5em}.narrative blockquote{opacity:.85;border-left:3px solid;margin:1.5em 0;padding-left:1.15em}.reading-continue{justify-content:center;padding:2.5rem 1rem 0;display:flex}.reading-continue .action-button,.character-sheet .action-button,.combat-screen .action-button{color:#fff;background:#3b5548;border-color:#3b5548}.reading-continue .action-button:hover:enabled,.character-sheet .action-button:hover:enabled,.combat-screen .action-button:hover:enabled{background:#4c6b57}.scene-illustration{width:100%;margin:0;position:relative}.scene-illustration img{object-fit:contain;width:100%;height:auto;max-height:none;display:block}.scene-reading{padding-top:clamp(.25rem,1vw,.8rem)}.scene-reading .reading-textbox{margin-bottom:2.2rem}.decisions{flex-direction:column;gap:.7em;margin:0 5% 1.5rem;display:flex}.decisions--compact{gap:.4em}.decisions--wide{gap:1.1em}.reader-decision{text-align:left;width:100%;min-height:65px;line-height:1.48;font:inherit;color:inherit;border:1px solid;border-radius:10px;align-items:center;gap:1em;padding:.78rem 1.05rem;transition:transform .14s,box-shadow .14s,filter .14s;display:flex}.reader-decision:hover:enabled{filter:brightness(1.025);transform:translateY(-1px)}.reader-decision:disabled{opacity:.48}.reader-decision.relief-soft{box-shadow:0 2px 6px #100b081c,inset 0 1px #ffffff40}.reader-decision.relief-strong{box-shadow:0 5px 15px #100b082e,inset 0 2px #ffffff4d}.decision-icon{background:#ffffff18;border:1.5px solid;border-radius:50%;flex:none;justify-content:center;align-items:center;width:44px;height:44px;display:flex}.decision-icon svg{stroke-width:1.8px;width:22px;height:22px}.decision-label{flex:1;font-size:.97em}.decision-label small{opacity:.88;margin-top:.15em;font-size:.78em;display:block}.ending-message{text-align:center;border-top:1px solid;justify-items:center;gap:1rem;padding:1.75rem;display:grid}.ending-message button{color:inherit;background:0 0;border:1px solid;border-radius:8px;padding:.75rem 1rem}.reader-utility{border:1px solid var(--utility-border);color:var(--utility-ink);background:linear-gradient(145deg,color-mix(in srgb,var(--utility-base) 75%,var(--utility-surface)),var(--utility-base) 55%,color-mix(in srgb,var(--utility-base) 91%,var(--utility-border)));border-top:0;border-radius:0 0 14px 14px;grid-template-columns:minmax(0,2fr) minmax(0,3fr);align-items:stretch;gap:1rem;padding:.85rem 1rem;display:grid}.utility-person{border-right:1px solid var(--utility-border);align-items:center;gap:.85rem;min-width:0;padding-right:1rem;display:flex}.utility-photo{width:62px;height:70px;color:var(--utility-accent);border:1px solid var(--utility-border);background:#ffffff18;border-radius:9px;flex:none;place-items:center;display:grid;overflow:hidden}.utility-photo img{object-fit:cover;width:100%;height:100%}.reader-utility small{opacity:.77;letter-spacing:.1em;margin-bottom:.35rem;font-size:.68rem;font-weight:650;display:block}.utility-person strong{font:500 1.1rem Georgia,serif}.utility-items{min-width:0}.utility-item-row{flex-wrap:wrap;align-items:center;gap:.55rem;display:flex}.utility-item{cursor:pointer;width:54px;height:54px;color:var(--utility-accent);background:0 0;border:0;border-radius:8px;place-items:center;padding:0;display:grid;overflow:hidden}.utility-item img{object-fit:contain;width:100%;height:100%}.utility-empty{opacity:.7;align-items:center;gap:.45rem;font-size:.78rem;display:flex}.inventory-inspection{color:#a6b8ae;flex-wrap:wrap;align-items:center;gap:.4rem;padding:1rem;font-size:.77rem;display:flex}.inventory-inspection button{color:#d9e7d8;background:#ffffff0f;border:1px solid #b7c7b748;border-radius:6px;padding:.35rem .55rem;font-size:.76rem}.item-popover{z-index:40;background:#050905b8;place-items:center;padding:1rem;display:grid;position:fixed;inset:0}.item-popover>div{color:#e9e8dc;background:#1c2b25;border:1px solid #aebfb37d;border-radius:12px;width:min(420px,100%);padding:2rem;position:relative;box-shadow:0 20px 50px #0009}.item-popover h3{font-family:Georgia,serif;font-size:1.45rem}.item-popover p{color:#bccbc0;line-height:1.65}.item-close{color:#dae8da;background:0 0;border:0;font-size:1.6rem;position:absolute;top:.65rem;right:.65rem}.character-sheet{width:min(850px,100%);margin:0 auto;padding-inline:clamp(1rem,5vw,4rem);line-height:1.7}.attribute-list{gap:.6rem;margin:1.5rem 0;display:grid}.attribute{border:1px solid #8c9c8581;border-radius:8px;justify-content:space-between;align-items:center;gap:1rem;padding:.8rem;display:flex}.attribute button{color:inherit;background:#f7ffff23;border:1px solid #5d795e;border-radius:7px;padding:.5rem .7rem}.combat-screen{color:#292f28;background:#fbf8efbf;border:1px solid #7f8d7f70;border-radius:11px;margin:1rem 5% 2rem;padding:1.4rem;box-shadow:0 7px 16px #0a130d26}.combat-screen h3{align-items:center;gap:.6rem;margin:0 0 1.1rem;font:600 1.25rem Georgia,serif;display:flex}.combat-screen small{opacity:.68;font:.76rem system-ui,sans-serif}.combat-bars{grid-template-columns:1fr 1fr;gap:1.2rem;margin:0 0 1.15rem;display:grid}.life-text{justify-content:space-between;align-items:center;gap:.5rem;margin:0 0 .4rem;font:500 .8rem system-ui,sans-serif;display:flex}.life-text span{align-items:center;gap:.2rem;display:flex}.life-track{background:#b7bba6;border-radius:99px;height:9px;overflow:hidden}.life-track>div{background:#668d6c;border-radius:99px;height:100%;transition:width .2s}.combat-history{margin-top:1.2rem;font-size:.81rem}.combat-history summary{cursor:pointer;color:#394b3c}.combat-history h4{margin:.9rem 0 .3rem}.combat-log{gap:.45rem;padding-left:1.5rem;display:grid}.combat-log li{line-height:1.55}.combat-screen .result{color:#7d2424;flex-wrap:wrap;align-items:center;gap:.7rem;display:flex}.victory-banner{color:#314835;background:#dfe9d7d9;border:1px solid #7b956f;border-radius:10px;margin:0 5% 1rem;padding:1.2rem}.victory-banner h3{gap:.6rem;font-size:1.05rem;display:flex}.victory-banner p{font-size:.9rem;line-height:1.4}.victory-banner button{color:#fff;background:#466c4e;border:1px solid #55755a;border-radius:8px;padding:.55rem 1rem}.reader-error{text-align:center;padding:4rem}.reader-toast{z-index:50;color:#fff;background:#6b2821;border:1px solid #ffbc9d;border-radius:10px;align-items:center;gap:.7rem;max-width:min(94vw,620px);padding:1rem 1.2rem;font-size:.84rem;display:flex;position:fixed;bottom:1.2rem;left:50%;transform:translate(-50%);box-shadow:0 4px 25px #0008}.reader-toast button{color:inherit;background:0 0;border:0;font-size:1.5rem}@media (width>=1024px){.reader-body{padding-inline:min(4vw,35px)}.reader-body>.leaf--cover{max-width:1350px}.reader-body>.leaf:not(.leaf--cover),.reader-body>.reader-utility{max-width:1000px;margin:auto}.reader-topbar>strong{max-width:50%}}@media (width<=800px){.detail-content{grid-template-columns:230px minmax(0,1fr);gap:2rem}.detail-text{padding-top:.5rem}.detail-text h1{font-size:2.6rem}.site-main{padding-top:2.4rem}.reader-topbar>strong{font-size:.9rem}.reader-topbar button span{display:none}.cover-begin{bottom:.7rem}.reader-utility{grid-template-columns:1fr 1.5fr}}@media (width<=560px){.site-header{height:60px}.site-brand strong{letter-spacing:.1em;font-size:.77rem}.site-brand small{font-size:.65rem}.site-actions button span{display:none}.site-main{width:calc(100% - 2rem);padding:2.1rem 0 3rem}.hero-heading{margin-bottom:2.3rem}.hero-heading h1{font-size:2.55rem}.hero-heading p{font-size:.95rem}.adventure-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:.75rem}.adventure-card>.library-art{height:210px}.adventure-card-body{padding:.8rem}.adventure-card h2{font-size:1.13rem}.adventure-card p{-webkit-line-clamp:2;font-size:.74rem}.card-footer small{font-size:.64rem}.card-chips span{font-size:.58rem}.catalog-toolbar{align-items:center}.detail-content{flex-direction:column;gap:1.5rem;display:flex}.detail-cover{width:min(230px,70vw);margin:0 auto}.detail-text{padding:0}.detail-text h1{font-size:2.5rem}.detail-description{margin-top:1.2rem;font-size:.97rem}.detail-meta{margin:1.3rem 0}.detail-actions{flex-direction:column}.detail-actions button{width:100%}.reader-topbar{gap:.2rem;height:52px;padding:0 .3rem}.reader-topbar button{padding:.45rem}.reader-top-actions{gap:0}.reader-topbar>strong{font-size:.77rem}.reader-body{padding-bottom:1rem}.leaf{min-height:0}.reading-area{padding:1.1rem 0 2rem}.reading-textbox{font-size:inherit}.scene-reading{padding-top:.25rem}.cover-begin .action-button{min-height:37px;padding:.45rem .65rem;font-size:.72rem}.reader-decision{gap:.6rem;min-height:54px;padding:.7rem}.decision-icon{width:38px;height:38px}.decision-icon svg{width:19px;height:19px}.decisions{margin-inline:3%}.combat-screen{margin-inline:3%;padding:.8rem}.combat-bars{gap:.55rem}.reader-utility{gap:.6rem;padding:.55rem .5rem}.utility-person{gap:.4rem;padding-right:.4rem}.utility-photo{width:42px;height:48px}.utility-person strong{font-size:.8rem}.reader-utility small{font-size:.53rem}.utility-item{width:40px;height:40px}.character-sheet{padding-inline:.9rem}.attribute{flex-wrap:wrap}.cover-title{max-width:89%}}@media (width<=400px){.adventure-grid{grid-template-columns:1fr}.adventure-card>.library-art{height:260px}.adventure-card-body{padding:1rem}.site-brand small{display:none}.brand-symbol{width:32px;height:32px;font-size:.86rem}.reader-topbar>strong{font-size:.72rem}}@media (prefers-reduced-motion:reduce){html{scroll-behavior:auto}*{transition:none!important;animation:none!important}}
