.auth-page{box-sizing:border-box;width:100%;max-width:440px;min-height:100svh;margin:0 auto;padding:48px 24px;display:flex;flex-direction:column;justify-content:center;text-align:center;color:#ede5d6}.auth-page header{text-align:center;margin-bottom:40px}.auth-page h1{font:36px Georgia,serif;margin:0 0 12px}.auth-page header span{font-size:11px;text-transform:uppercase;letter-spacing:2px;color:#b7a382}.auth-page h2{font:28px/1.2 Georgia,serif;margin:0 0 14px}.auth-page p{color:#b5ab9b;line-height:1.7;font-size:14px}.auth-page label{display:flex;flex-direction:column;gap:8px;margin:20px 0;font-size:13px}.auth-page input{font:inherit;font-size:16px;background:#ffffff06;color:inherit;border:1px solid #c5a47244;border-radius:5px;padding:12px}.auth-page input:focus-visible,.auth-page button:focus-visible{outline:2px solid #d6b37a;outline-offset:3px}.auth-page small{color:#998f7b}.auth-page .start-button{width:100%;margin-top:12px;cursor:pointer}.auth-page [role=alert],.auth-notice{color:#d9a88f}.home-header .account-signout{position:absolute;right:0;top:14px;background:transparent;border:0;color:#b4a68f;font-size:12px;cursor:pointer;padding:8px}.home-header:has(.account-signout){position:relative}@media(max-width:600px){.home-header:has(.account-signout){padding-top:65px!important}.home-header .account-signout{top:12px}}.auth-providers{display:grid;gap:12px;margin-top:28px}.auth-provider{display:flex;align-items:center;justify-content:center;gap:12px;min-height:52px;padding:12px 20px;border:1px solid #b99b6659;border-radius:10px;background:#201e19;color:#eee8dc;font:600 16px/24px Arial,sans-serif;cursor:pointer;transition:background .2s,border-color .2s,opacity .2s}.auth-provider:hover:enabled{background:#302a20;border-color:#d5b279}.auth-provider:disabled{opacity:.45;cursor:default}.auth-provider img{display:block;width:24px;height:24px;flex:none}.auth-page header{position:relative;isolation:isolate}.auth-page header:before{content:"";position:absolute;z-index:-1;pointer-events:none;left:50%;top:50%;width:min(680px,calc(100vw - 32px));height:300px;transform:translate(-50%,-50%);background:radial-gradient(ellipse at center,#69502a45 0%,#69502a18 40%,transparent 72%)}.adventure-audio{display:flex;flex-direction:column;align-items:stretch;gap:16px;width:100%;color:#a3aca7;font-size:.72rem}.adventure-audio-volume{display:grid;grid-template-columns:90px minmax(0,1fr);align-items:center;gap:16px}.adventure-audio-volume span{font-size:.8rem;color:#b6beb7}.adventure-audio-volume input{width:100%;min-width:0;height:24px;margin:0;accent-color:#bca779;cursor:pointer}.adventure-audio-volume input:focus-visible{outline:2px solid #d9c493;outline-offset:3px}.adventure-audio-status{font-size:.68rem}.adventure-audio-credits{align-self:flex-start;font-size:.6rem;color:#88968d;text-underline-offset:2px}.generated-media{display:block;width:100%;height:auto;border-radius:8px;margin:12px 0;max-height:75vh;object-fit:contain;background:#171710}.media-state{padding:22px 0;font-size:.85rem;color:var(--muted);line-height:1.6}.media-state p{margin:0 0 8px}.portrait-setup{margin:14px 0}.hero-portrait{width:116px;height:116px;border-radius:50%;object-fit:cover;display:block;margin-bottom:12px;border:1px solid #c5a47250}.character-portrait{width:100px;height:100px;object-fit:cover;border-radius:50%;margin:12px 0;border:1px solid #c5a47250}.hero-description-editor{display:grid;gap:8px;margin:16px 0 20px;font-size:.8rem;color:var(--muted)}.hero-description-editor textarea{width:100%;box-sizing:border-box;resize:vertical;min-height:90px;padding:12px 14px;border:1px solid #c5a47235;border-radius:8px;background:#ffffff03;color:var(--text,#e9e3d5);font:inherit;line-height:1.6}.hero-description-editor textarea:focus{outline:1px solid #c5a472;outline-offset:2px}.portrait-description{white-space:pre-wrap;line-height:1.6;color:var(--muted);font-size:.9rem}.preview-identity .portrait-setup{margin:0;flex:0 0 88px;position:relative;align-self:flex-start;text-align:center}.preview-identity .portrait-avatar.hero-initials{position:relative;width:88px;height:88px;margin:0;padding:0;overflow:hidden;border-radius:50%;font-size:1.8rem;background:#24241b;isolation:isolate}.portrait-avatar .hero-portrait{width:100%;height:100%;margin:0;border:0;object-fit:cover;border-radius:inherit}.portrait-edit{position:absolute;bottom:0;inset-inline:0;padding:2px;background:#171710ab;color:#e3c087;font:14px Georgia,serif;line-height:20px}.portrait-avatar:not(:disabled):hover{box-shadow:0 0 0 3px #c5a47225}.portrait-generating{position:absolute;inset:0;overflow:hidden;border-radius:inherit;pointer-events:none;background:#17150e28;isolation:isolate}.portrait-generating:before{content:"";position:absolute;inset:-35%;background:radial-gradient(ellipse at 30% 35%,#f5d28a70,transparent 45%),radial-gradient(ellipse at 65% 70%,#ca974044,transparent 50%);mix-blend-mode:screen;animation:portrait-glow 4.5s ease-in-out infinite alternate}.portrait-generating:after{content:"";position:absolute;inset:-60%;background:linear-gradient(115deg,transparent 40%,#ffe7a920 49%,#ffe7a955 50%,transparent 60%);animation:portrait-light-pass 5s ease-in-out infinite}.portrait-spark{position:absolute;z-index:1;width:12px;height:12px;background:#ffe6b3;clip-path:polygon(50% 0,62% 38%,100% 50%,62% 62%,50% 100%,38% 62%,0 50%,38% 38%);animation:portrait-sparkle 3.6s ease-in-out infinite;opacity:0}.portrait-spark-one{left:22%;top:29%;animation-delay:-.5s}.portrait-spark-two{right:20%;top:48%;width:9px;height:9px;animation-delay:-1.7s}.portrait-spark-three{left:40%;bottom:19%;width:7px;height:7px;animation-delay:-2.9s}@keyframes portrait-glow{0%{opacity:.4;transform:translate(-6%,-4%) scale(.95)}to{opacity:.9;transform:translate(6%,4%) scale(1.08)}}@keyframes portrait-light-pass{0%,15%{transform:translate(-45%);opacity:0}35%{opacity:.7}70%,to{transform:translate(45%);opacity:0}}@keyframes portrait-sparkle{0%,to{opacity:0;transform:translateY(3px) scale(.45)}40%,55%{opacity:.85;transform:translateY(-2px) scale(1)}}.portrait-error{width:160px;font-size:.7rem;line-height:1.4;text-align:left;margin-top:8px;color:#dbb39c}.portrait-error button{display:block;margin-top:6px;font-size:inherit}.character-avatar .character-portrait{display:block;width:100%;height:100%;margin:0;border:0;border-radius:inherit;object-fit:cover}@media(prefers-reduced-motion:reduce){.portrait-generating:before,.portrait-generating:after,.portrait-spark{animation:none}.portrait-generating:before{opacity:.5}.portrait-generating:after{display:none}.portrait-spark{opacity:.7}}.scene-image-frame{position:relative;width:100%;aspect-ratio:3/2;max-height:75vh;margin:12px 0;overflow:hidden;border-radius:8px;background:#191a14;isolation:isolate}.scene-image-frame .generated-media{position:absolute;inset:0;width:100%;height:100%;max-height:none;margin:0;object-fit:contain;opacity:0;transition:opacity .65s ease}.scene-image-frame .generated-media.loaded{opacity:1}.scene-image-loader{position:absolute;inset:0;overflow:hidden;background:radial-gradient(ellipse at 35% 65%,#74603b20,transparent 65%),linear-gradient(135deg,#22241c,#181a15 60%,#26261c)}.scene-image-loader:before{content:"";position:absolute;inset:-50%;background:linear-gradient(105deg,transparent 38%,#dcc18b0c 48%,#dcc18b15 50%,transparent 62%);animation:scene-image-shimmer 4s ease-in-out infinite}@keyframes scene-image-shimmer{0%{transform:translate(-45%)}to{transform:translate(45%)}}@media(prefers-reduced-motion:reduce){.scene-image-loader:before{animation:none}.scene-image-frame .generated-media{transition:none}}.portrait-actions{display:flex;align-items:center;flex-wrap:wrap;gap:8px 16px;margin:0 0 22px}.portrait-setup .portrait-avatar .portrait-generate{position:absolute;inset:auto 0 0;z-index:1;display:flex;align-items:center;justify-content:center;width:100%;height:30px;min-height:30px;border:0;border-radius:0;background:linear-gradient(transparent,#10120ed9);padding:2px 0 7px;color:#e4d3ae;cursor:pointer;transition:background .2s ease,color .2s ease}.portrait-setup .portrait-avatar .portrait-generate svg{display:block;flex:none;filter:drop-shadow(0 1px 2px #0008);transition:transform .2s ease}.portrait-setup .portrait-avatar .portrait-generate:hover:not(:disabled){background:linear-gradient(#161a1040,#10120ef0);color:#fff0cc}.portrait-setup .portrait-avatar .portrait-generate:hover:not(:disabled) svg{transform:translateY(-1px)}.portrait-setup .portrait-avatar .portrait-generate:focus-visible{outline:2px solid #edc77e;outline-offset:-4px}.portrait-setup .portrait-avatar .portrait-generate:disabled{cursor:default;opacity:.45}.portrait-avatar[aria-busy=true] .portrait-generate{visibility:hidden}.portrait-hint{position:absolute;z-index:3;top:calc(100% + 8px);left:50%;transform:translate(-50%,-3px);padding:6px 10px;border:1px solid #c5a47230;border-radius:6px;background:#24241ef5;color:#e7d9bf;box-shadow:0 3px 12px #0003;font:12px/1.4 system-ui,sans-serif;white-space:nowrap;opacity:0;visibility:hidden;pointer-events:none;transition:opacity .15s ease,transform .15s ease,visibility .15s}.portrait-setup:has(.portrait-generate:hover:not(:disabled),.portrait-generate:focus-visible) .portrait-hint{opacity:1;visibility:visible;transform:translate(-50%)}@media(prefers-reduced-motion:reduce){.portrait-setup .portrait-avatar .portrait-generate,.portrait-setup .portrait-avatar .portrait-generate svg,.portrait-hint{transition:none}}.portrait-actions button:disabled{opacity:.45;cursor:default}.portrait-actions .portrait-error{width:100%;margin:0}.preview-identity .portrait-avatar.hero-initials{cursor:default}.preview-identity .portrait-avatar:hover{box-shadow:none}.setup-shell .hero-description-editor textarea{resize:none;field-sizing:content;min-height:calc(3lh + 24px);max-height:calc(6lh + 24px);padding:11px 13px;overflow-y:auto}.illustrated-map{position:relative;overflow:hidden;border-radius:8px;background:#25261c;isolation:isolate}.illustrated-map>img{display:block;width:100%;height:auto;min-height:160px}.map-markers{position:absolute;inset:0}.world-map .map-pin{position:absolute;display:flex;align-items:center;flex-direction:column;gap:3px;transform:translate(-50%,-50%);padding:6px;border:0!important;background:none!important;min-width:36px;min-height:36px;color:#f9edca;cursor:pointer;font:inherit}.map-pin-label{padding:4px 7px;border-radius:4px;background:#211e18df;box-shadow:0 2px 7px #0006;white-space:nowrap;font-size:clamp(.55rem,1.6vw,.78rem);line-height:1.2}.map-pin:focus-visible{outline:2px solid #fff4c2;outline-offset:3px;border-radius:5px}.map-place-detail{padding:16px 2px 6px;font-size:.9rem}.map-place-detail p{font-size:.8rem;color:var(--muted);margin:6px 0;line-height:1.6}.map-image-error{padding:40px 20px;min-height:160px;display:grid;place-content:center;gap:16px}.adventure-dialog:has(.illustrated-map){max-width:1000px;width:min(1000px,calc(100vw - 32px))}.world-map .map-pin-static{cursor:default;pointer-events:none}.world-map .map-pin{width:36px;height:36px;justify-content:center;overflow:visible}.map-pin-caption{position:absolute;top:calc(100% + 8px);left:50%;transform:translate(-50%);display:flex;flex-direction:column;align-items:center;gap:3px;width:max-content}.map-pin[data-label-side=above] .map-pin-caption{top:auto;bottom:calc(100% + 8px)}.world-map .map-pin.current .map-pin-label{background:#4b3820;color:#ffe8ad;outline:1px solid #d4b374;box-shadow:0 0 16px #d4b37440}@media(max-width:520px){.world-map .map-pin{padding:3px}.map-pin-label{max-width:94px;white-space:normal;text-align:center}.map-place-detail{font-size:.8rem}}body:has(.home-shell.home-redesign){background:#111310;background-image:radial-gradient(ellipse 85% 650px at 50% -180px,#69502a45,transparent)}body:has(.home-shell.home-redesign):before{content:"";position:fixed;inset:0;pointer-events:none;opacity:.045;z-index:5;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Cpath fill='%23fff' filter='url(%23n)' d='M0 0h160v160H0z'/%3E%3C/svg%3E")}.home-shell.home-redesign{max-width:1140px;padding:0 40px 74px;color:#ede5d6}.home-shell.home-redesign .home-header{display:block;text-align:center;padding:48px 0 42px;margin:0;border:0}.home-shell.home-redesign .home-header h1{font:normal clamp(31px,4vw,43px)/1.2 Georgia,serif;letter-spacing:-1px;margin:0}.home-ornament{display:flex;align-items:center;justify-content:center;gap:14px;color:#b8955e;margin:25px auto 0;width:200px;font-size:8px}.home-ornament:before,.home-ornament:after{content:"";flex:1;height:1px;background:linear-gradient(90deg,transparent,#b8955e60)}.home-ornament:after{transform:rotate(180deg)}.home-shell.home-redesign .home-current{isolation:isolate;min-height:355px;padding:27px 34px 64px;margin:0;border:1px solid #d6b37a45;border-radius:var(--current-radius);display:flex;flex-direction:column;justify-content:space-between;box-shadow:0 18px 50px #0003}.home-shell.home-redesign .current-scene{border-radius:var(--current-inner-radius);clip-path:none}.home-shell.home-redesign .home-current{overflow:clip}.home-shell.home-redesign .home-current:has(.adventure-actions-popover){overflow:visible}.home-shell.home-redesign .featured-frame:is(:hover,:focus-within){transform:scale(1.012)}.home-shell.home-redesign .home-current .current-scene{transform:none}.home-shell.home-redesign .home-current:before{border-radius:var(--current-inner-radius);background:linear-gradient(90deg,#10130fe8,#10130f80 58%,#10130f10),linear-gradient(0deg,#10130fc9,transparent 90%)}.home-shell.home-redesign .current-adventure-header{margin:0 0 30px;min-height:24px}.home-shell.home-redesign .current-adventure-header .eyebrow{font-size:10px;font-weight:600;letter-spacing:2.3px;color:#d5c39e}.home-shell.home-redesign .journey-live-dot{background:#ccbd95;width:5px;height:5px;box-shadow:0 0 12px #d7b98088}.home-shell.home-redesign .home-current .journey-row{display:block}.home-shell.home-redesign .home-current .journey-row h3{font:normal clamp(28px,3.2vw,39px)/1.15 Georgia,serif;max-width:600px;margin:0 0 12px;color:#ede5d6}.home-shell.home-redesign .journey-featured .journey-heading{margin:0}.home-shell.home-redesign .home-current .journey-description{max-width:570px;font-size:14px;line-height:1.75;color:#cec7b9;margin:0}.home-shell.home-redesign .journey-featured .journey-actions{align-items:flex-start;margin-top:23px}.home-shell.home-redesign .start-button{background:linear-gradient(#debd85,#c7a36a);color:#241d13;border:1px solid #efd4a660;border-radius:5px;box-shadow:0 2px 8px #0003;font-size:13px;font-weight:650;min-height:43px;padding:10px 25px;transition:filter .2s}.home-shell.home-redesign .start-button:hover{filter:brightness(1.08)}.home-shell.home-redesign .journey-featured .start-button{position:relative;isolation:isolate;min-width:0;padding:10px 25px}.home-shell.home-redesign .home-saved-lists{margin:24px 0 45px}.home-shell.home-redesign .home-saved-lists summary{padding:15px 2px;font-size:13px;color:#c5beaf;gap:11px;list-style:none}.home-shell.home-redesign .home-saved-lists summary::-webkit-details-marker{display:none}.home-shell.home-redesign .saved-count{color:#897d68;font-size:11px}.home-shell.home-redesign .saved-chevron{font-size:0;transform:none!important;transition:none;display:grid;place-items:center;width:22px;height:22px;flex-shrink:0;margin-left:auto;color:#ae9872}.home-shell.home-redesign .saved-chevron:after{content:"+";font:300 22px/1 system-ui,sans-serif}.home-shell.home-redesign details[open] .saved-chevron:after{content:"−"}.home-shell.home-redesign .archive-body{overflow:hidden;display:flow-root}.home-shell.home-redesign .home-saved-lists .journey-row{padding:14px 12px 18px}.home-shell.home-redesign .home-saved-lists .journey-heading h3{font: 19px Georgia,serif!important}.home-shell.home-redesign .home-saved-lists .journey-description{font-size:12px;color:#a59c8d}.home-shell.home-redesign .home-section-title{display:flex;align-items:center;gap:20px;margin-bottom:24px}.home-shell.home-redesign .home-section-title h2{margin:0;font: 28px Georgia,serif}.home-shell.home-redesign .home-section-title:after{content:"";height:1px;background:linear-gradient(90deg,#c9aa7030,transparent);flex:1}.home-shell.home-redesign .stories-ornament{width:22px;height:22px;color:#b39360}.home-shell.home-redesign .stories-grid{display:grid;grid-template-columns:1fr 1fr;gap:24px}.home-shell.home-redesign .home-packages .adventure-open{display:flex;align-items:flex-end;min-height:350px;margin:0;padding:25px;border:1px solid #c9aa7038;border-radius:8px;background:#181c16;transition:border-color .25s,box-shadow .25s}.home-shell.home-redesign .home-packages .adventure-open:before{background:linear-gradient(0deg,#10130ffb,#10130fed 15%,#10130fb0 38%,#10130f06 78%)}.home-shell.home-redesign .story-cover{object-position:50% 40%;transition:transform .6s}.home-shell.home-redesign .story-cover[data-story=medicines]{object-position:25% 15%}.home-shell.home-redesign .adventure-open:hover{border-color:#d6b37a8c;box-shadow:0 8px 30px #0004}.home-shell.home-redesign .adventure-open:hover .story-cover{transform:scale(1.035)}.home-shell.home-redesign .adventure-open .adventure-copy{display:flex;flex-direction:column;gap:10px}.home-shell.home-redesign .adventure-open .adventure-copy>strong{font: 27px/1.18 Georgia,serif;color:#f0e5d2}.home-shell.home-redesign .adventure-open .adventure-copy>span:not(.story-metadata){font-size:12px;line-height:1.75;color:#c0b8a9}.home-shell.home-redesign .adventure-open .story-metadata{display:flex;gap:8px 17px;font-size:10px;color:#baa789;margin-top:3px}@media(max-width:700px){.home-shell.home-redesign{padding:0 20px 45px}.home-shell.home-redesign .home-header{padding:34px 0 30px}.home-shell.home-redesign .home-header h1{font-size:33px}.home-shell.home-redesign .stories-grid{grid-template-columns:1fr;gap:20px}.home-shell.home-redesign .home-current{padding:23px 23px 64px;min-height:380px}.home-shell.home-redesign .current-adventure-header{margin-bottom:55px}.home-shell.home-redesign .home-current:before{border-radius:var(--current-inner-radius);background:linear-gradient(0deg,#10130ff5,#10130f70 75%,#10130f50)}.home-shell.home-redesign .home-current .journey-row h3{font-size:30px}.home-shell.home-redesign .home-current .journey-description{font-size:13px}.home-shell.home-redesign .home-packages .adventure-open{min-height:350px;padding:24px;justify-content:flex-end}.home-shell.home-redesign .adventure-open .adventure-copy>strong{font-size:26px}.home-shell.home-redesign .home-saved-lists{margin-bottom:35px}.home-shell.home-redesign .home-saved-lists .journey-row{padding-inline:0}}.home-shell.home-redesign .featured-frame{--current-radius:10px;--current-inner-radius:calc(var(--current-radius) - 1px);position:relative;isolation:isolate;transition:transform .5s cubic-bezier(.2,.65,.3,1);transform-origin:center}.home-shell.home-redesign .featured-frame:before{content:"";position:absolute;inset:-7px;border-radius:calc(var(--current-radius) + 7px);z-index:-1;pointer-events:none;background:linear-gradient(110deg,#a86c3510,#efc379a0,#ffe6b38a,#bc90502b,#f4d49a9c);filter:blur(28px);opacity:0;transition:opacity .35s ease;will-change:transform,opacity;animation:card-shimmer 1.8s ease-in-out infinite alternate}.home-shell.home-redesign .featured-frame:is(:hover,:focus-within):before{opacity:.8}.home-shell.home-redesign .button-sparks{position:absolute;inset:0;pointer-events:none;border-radius:inherit}.home-shell.home-redesign .button-sparks i{position:absolute;left:var(--x);top:var(--y);width:var(--size);height:var(--size);will-change:transform}.home-shell.home-redesign .button-sparks b{display:block;width:100%;height:100%;background:#ffe4af;border-radius:50%;box-shadow:0 0 5px #efc47c9c;opacity:0;will-change:transform,opacity}.home-shell.home-redesign .start-button:is(:hover,:focus-visible) .button-sparks i{animation:spark-drift var(--duration) linear var(--delay) infinite}.home-shell.home-redesign .start-button:is(:hover,:focus-visible) .button-sparks b{animation:spark-fall var(--duration) cubic-bezier(.333333,0,.666667,.333333) var(--delay) infinite,spark-fade var(--duration) linear var(--delay) infinite}@keyframes card-shimmer{0%{transform:translate3d(-5px,0,0) scale(1.01,1.025)}to{transform:translate3d(5px,0,0) scale(1.02,1.045)}}@keyframes spark-drift{0%{transform:translateZ(0)}to{transform:translate3d(var(--drift),0,0)}}@keyframes spark-fall{0%{transform:translateZ(0)}to{transform:translate3d(0,48px,0)}}@keyframes spark-fade{0%,to{opacity:0}12%{opacity:.75}55%{opacity:.55}85%{opacity:.15}}@media(prefers-reduced-motion:reduce){.home-shell.home-redesign .featured-frame:is(:hover,:focus-within):before{animation:none;opacity:.35}.home-shell.home-redesign .start-button .button-sparks{display:none}}@media(prefers-reduced-motion:reduce){.home-shell.home-redesign *,.home-shell.home-redesign *:before{transition:none!important}.home-shell.home-redesign .home-current:hover .current-scene,.home-shell.home-redesign .adventure-open:hover .story-cover{transform:none}}@media(prefers-reduced-motion:reduce){.home-shell.home-redesign .featured-frame:is(:hover,:focus-within){transform:none}.home-shell.home-redesign .featured-frame:before{animation:none}}.home-shell.home-redesign .home-saved-lists{border-top:0}.home-shell.home-redesign .home-saved-lists>details{border-bottom:1px solid #c9aa7030}.home-shell.home-redesign .home-saved-lists .journey-row{border-top:1px solid #ffffff09}.home-shell.home-redesign .home-packages{margin-top:44px}.home-shell.home-redesign .home-header{position:relative}.home-shell.home-redesign .home-header .account-signout{position:absolute;top:73px;right:0;transform:translateY(-50%);padding:8px 12px;min-height:36px;background:transparent;border:0;box-shadow:none;color:#aaa594;font-size:13px;cursor:pointer}.home-shell.home-redesign .home-header .account-signout:hover{color:#ede5d6;background:#ffffff06}@media(max-width:700px){.home-shell.home-redesign .home-packages{margin-top:32px}.home-shell.home-redesign .home-header:has(.account-signout){padding-top:34px!important}.home-shell.home-redesign .home-header .account-signout{position:static;display:block;transform:none;margin:14px auto 0}}.product-shell{max-width:960px;margin:0 auto;padding:48px 28px 90px;color:var(--text,#eee8da)}.product-intro{padding:24px 0 38px}.product-intro h1{font-family:Georgia,serif;font-size:clamp(2.4rem,6vw,4rem);font-weight:400;letter-spacing:-.04em;margin:10px 0 20px}.product-intro p,.setup-teaser{line-height:1.8;max-width:680px}.product-shell h2{font-family:Georgia,serif;font-weight:400;font-size:1.8rem}.product-shell h3{font-size:1.08rem}.product-shell section{margin-bottom:42px}.product-shell button{cursor:pointer}.product-shell button:focus-visible,.product-shell input:focus-visible,.product-shell textarea:focus-visible,.product-shell summary:focus-visible{outline:2px solid #d2b27b;outline-offset:4px}.journey-list{list-style:none;margin:0;padding:0}.journey-row{display:flex;justify-content:space-between;gap:24px;align-items:center;border-top:1px solid #ffffff22;padding:20px 0}.journey-row h3{margin:0 0 8px}.journey-row p{margin:6px 0}.journey-last{opacity:.7;max-width:620px;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}.journey-row button{flex-shrink:0}.adventure-feature{border-block:1px solid #ffffff22;padding:20px 0 32px}.adventure-feature p{line-height:1.8;max-width:650px;margin-bottom:24px}.finished-stories{margin-top:38px}.finished-stories summary{cursor:pointer;padding:16px 0}.setup-steps{display:flex;list-style:none;padding:0 0 18px;gap:24px;border-bottom:1px solid #ffffff22;margin:0 0 38px;flex-wrap:wrap}.setup-steps li{opacity:.45}.setup-steps li[aria-current]{opacity:1;color:#dec49a}.setup-steps span{font-variant-numeric:tabular-nums}.setup-shell fieldset{border:0;padding:16px 0;margin:18px 0;min-width:0}.setup-shell legend{font-family:Georgia,serif;font-size:1.3rem}.setup-shell label{display:flex;flex-direction:column;gap:8px;margin-bottom:18px}.setup-shell input:not([type=checkbox]),.setup-shell textarea{width:100%;box-sizing:border-box;background:#ffffff08;border:1px solid #ffffff30;border-radius:3px;padding:12px;color:inherit;font:inherit}.setup-shell textarea{min-height:90px;resize:vertical}.setup-shell input:disabled,.setup-shell textarea:disabled{opacity:.7}.score-fields{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.score-fields small{opacity:.65}.vital-fields{display:flex;gap:24px}.hero-mode{display:flex;gap:14px;flex-wrap:wrap}.hero-mode button[aria-pressed=true]{border-color:#c5a472;color:#dec49a}.catalog-row{display:flex;align-items:start;gap:20px;border-top:1px solid #ffffff22;padding:18px 0}.catalog-row label,.setup-shell label.catalog-row{display:flex;flex-direction:row;align-items:baseline;flex-wrap:wrap;gap:10px}.catalog-row span{font-size:.9rem;opacity:.7}.catalog-row input{accent-color:#c5a472}.hero-initials{display:grid;place-items:center;width:140px;height:140px;border:1px solid #b8a88c;border-radius:50%;font:2.8rem Georgia,serif;color:#d8c7a8;margin:28px 0}.confirm-scores{display:grid;grid-template-columns:repeat(4,1fr);gap:20px}.confirm-scores dt{opacity:.65;font-size:.85rem}.confirm-scores dd{margin:8px 0;font-size:1.2rem}.setup-actions{display:flex;justify-content:space-between;gap:18px;border-top:1px solid #ffffff22;padding-top:24px}.setup-map{border-block:1px solid #ffffff22;padding:12px 0}.setup-map ul{padding-left:20px;line-height:2}.setup-map span{opacity:.7}.setup-shell .text-button{margin-bottom:12px}@media(max-width:600px){.product-shell{padding:24px 20px 60px}.journey-row{align-items:start;flex-direction:column;gap:10px}.setup-steps{gap:12px;font-size:.8rem}.score-fields{grid-template-columns:repeat(2,minmax(0,1fr))}.confirm-scores{grid-template-columns:repeat(2,1fr)}.catalog-row{flex-direction:column;gap:0}.product-intro{padding-bottom:20px}}.product-shell button:not(.start-button){background:transparent;color:var(--ink,#e9e3d5);border:1px solid var(--line,#ffffff22);padding:10px 14px;border-radius:3px}.product-shell button:not(.start-button):hover{background:#ffffff08}.product-shell .hero-mode button[aria-pressed=true]{border-color:#c5a472;color:#dec49a}.product-shell .text-button{border-color:transparent!important;padding-left:0!important}.catalog-mechanics{display:block;flex-basis:100%;color:var(--ink,#e9e3d5);font-size:.84rem;line-height:1.7}.setup-shell select{width:100%;padding:12px;color:var(--ink);background:#191915;border:1px solid var(--line);border-radius:4px;font:inherit}.setup-shell select:focus-visible{outline:2px solid #d2b27b;outline-offset:3px}.setup-note{color:var(--muted);font-size:.9rem;line-height:1.7}.loadout-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}.setup-shell .loadout-option{display:grid;grid-template-columns:auto 1fr;gap:8px 12px;border:1px solid var(--line);padding:20px;cursor:pointer;border-radius:6px}.loadout-option.is-selected{border-color:var(--accent,#c5a472);background:#b9905020}.loadout-option>span,.loadout-option>ul{grid-column:2;margin:0}.loadout-option>span{color:var(--muted);font-size:.85rem}.loadout-option input[type=radio]{width:auto;padding:0;accent-color:#c5a472}.loadout-option ul{padding:0;list-style:none}.loadout-option li{margin-top:12px;font-size:.9rem;line-height:1.5}.loadout-option small{display:block;color:var(--muted);font-size:.8rem}.score-rolls ol{padding-left:24px;line-height:2}.score-rolls li{padding:5px 0}.score-rolls .combat-dice{justify-content:flex-start}.dropped-die{opacity:.4;text-decoration:line-through}.ability-setup{border-top:1px solid var(--line)!important}@media(max-width:600px){.loadout-grid{grid-template-columns:1fr}}.home-shell{padding-top:28px}.home-header{display:flex;align-items:baseline;justify-content:space-between;gap:16px;border-bottom:1px solid var(--line);padding-bottom:18px;margin-bottom:28px}.home-header h1{font:400 1.7rem Georgia,serif;margin:0;letter-spacing:-.025em}.home-header p{font-size:.85rem;color:var(--muted);margin:0}.home-shell .home-current{margin-bottom:26px}.home-current>.eyebrow{margin:0}.home-current>.journey-list>.journey-row{border-top:0;padding:14px 0}.home-other{border-top:1px solid var(--line);font-size:.88rem}.home-other summary{cursor:pointer;color:var(--muted);padding:12px 0}.home-other .journey-row{padding:12px 0}.home-shell .home-packages{margin-bottom:24px}.home-packages>h2{font-size:1.35rem;margin:0 0 14px}.home-packages .adventure-feature{display:flex;align-items:center;justify-content:space-between;gap:22px;border-bottom:0;padding:18px 0}.home-packages .adventure-feature h3{font:400 1.35rem Georgia,serif;margin:0 0 8px}.home-packages .adventure-feature p{font-size:.9rem;line-height:1.6;margin:0;max-width:580px;color:var(--muted)}.home-packages .adventure-feature button{flex-shrink:0;font-size:.9rem}.home-shell .finished-stories{margin-top:20px;border-top:1px solid var(--line);font-size:.9rem}.home-shell .home-legacy{margin:12px 0 22px}@media(max-width:600px){.home-header{align-items:start;flex-direction:column;gap:8px}.home-packages .adventure-feature{align-items:start;flex-direction:column;gap:14px}.home-header h1{font-size:1.5rem}.home-shell .journey-row{gap:8px}.home-current>.journey-list>.journey-row{padding-bottom:18px}}.product-shell{--shell-border:#ffffff18;--shell-soft:#ffffff04;--shell-gold:#d9b783;max-width:1120px;padding:32px 40px 72px;color:#e9e3d5}.product-shell .eyebrow{font-size:.66rem;letter-spacing:.19em;color:#c5a472}.product-shell button{transition:background-color .18s,border-color .18s,box-shadow .18s;min-height:42px}.product-shell button:not(.start-button){border-radius:7px;border-color:#ffffff25;padding:10px 16px;font-size:.88rem}.product-shell .start-button{border-radius:7px;padding:13px 24px;box-shadow:0 3px 16px #0003;font-size:.92rem}.setup-shell .product-intro{padding:20px 0 24px}.setup-shell .product-intro h1{font-size:clamp(1.8rem,3.8vw,2.7rem);line-height:1.15;margin:8px 0 0;letter-spacing:-.035em}.setup-shell .product-intro .eyebrow{margin:0}.setup-shell h2{font-size:1.55rem;line-height:1.25;margin:0 0 16px;letter-spacing:-.025em}.setup-shell h3{font-size:1rem}.setup-steps{display:grid;grid-template-columns:repeat(4,1fr);gap:0;margin-bottom:32px;padding:0;border:0}.setup-steps li{display:flex;align-items:center;gap:10px;opacity:1;color:#918e85;font-size:.8rem;border-bottom:1px solid var(--shell-border);padding:14px 8px 14px 0}.setup-steps span{display:grid;place-items:center;flex:0 0 25px;height:25px;border:1px solid #ffffff20;border-radius:50%;font-size:.72rem}.setup-steps li[aria-current]{border-bottom-color:var(--shell-gold);color:#f0dbb5}.setup-steps li[aria-current] span{background:var(--shell-gold);color:#272016;border-color:var(--shell-gold)}.setup-steps li.step-complete{color:#c1b9a6}.setup-section-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin:0 0 26px}.setup-section-heading h2{margin:5px 0 0}.setup-section-heading .eyebrow{margin:0}.hero-mode{gap:4px;flex-wrap:nowrap;background:#ffffff05;padding:4px;border-radius:9px;width:fit-content}.product-shell .hero-mode button{border-color:transparent;padding:9px 13px;min-height:36px;white-space:nowrap;font-size:.8rem}.product-shell .hero-mode button[aria-pressed=true]{background:#c5a47220;border-color:#c5a47255;color:#f0d7ad;box-shadow:0 1px 5px #0002}.hero-builder{display:grid;grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr);gap:44px;align-items:start}.setup-shell fieldset{margin:0;padding:0;min-width:0}.setup-shell legend{font:600 .78rem/1.4 system-ui,sans-serif;letter-spacing:.04em;color:#c6beac;margin-bottom:18px;padding:0}.setup-shell .ability-setup{border:0!important;border-left:1px solid var(--shell-border)!important;padding-left:32px}.setup-shell label{font-size:.82rem;color:#c6c1b5;margin-bottom:18px;gap:8px}.setup-shell input:not([type=checkbox]):not([type=radio]),.setup-shell textarea{padding:11px 13px;border-radius:7px;border-color:#ffffff20;background:#ffffff05;color:#e9e3d5;line-height:1.5;font-size:.93rem}.setup-shell input:disabled,.setup-shell textarea:disabled{opacity:1;border-color:#ffffff0c;background:#ffffff02;color:#b5b0a3}.setup-shell textarea{min-height:112px}.vital-fields{display:grid;grid-template-columns:1fr 1fr;gap:14px}.vital-fields label{margin:0}.vital-fields input{font-variant-numeric:tabular-nums}.setup-note{font-size:.8rem;color:#aaa594;line-height:1.65;margin:12px 0 18px}.score-fields{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.setup-shell .score-fields label{position:relative;gap:5px;margin:0;padding:12px 10px 10px;border:1px solid #ffffff15;border-radius:8px;background:linear-gradient(160deg,#ffffff06,#ffffff01);font-size:.72rem;text-align:center}.setup-shell .score-fields select{appearance:auto;text-align:center;font:1.65rem/1.25 Georgia,serif;color:#f1e7d4;background:transparent;border:0;padding:4px 0;border-radius:3px;cursor:pointer;min-width:0}.setup-shell .score-fields select option{background:#22221c;color:#eee8da;font:1rem system-ui,sans-serif}.score-fields small{font-size:.65rem;opacity:1;color:#a8a18e;white-space:nowrap}.setup-shell .loadout-fieldset{border-top:1px solid var(--shell-border);margin-top:32px;padding-top:26px}.loadout-fieldset legend{float:left;width:100%;font:1.35rem Georgia,serif;letter-spacing:-.02em;color:#e9e3d5;margin:0 0 2px}.loadout-fieldset>.setup-note{clear:both;margin-top:0;margin-bottom:18px}.loadout-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.setup-shell .loadout-option{position:relative;grid-template-columns:1fr auto;align-content:start;border:1px solid #ffffff1b;border-radius:9px;padding:18px 16px;margin:0;gap:8px;background:#ffffff02;transition:background .18s,border-color .18s,box-shadow .18s}.setup-shell .loadout-option:hover{border-color:#c5a47277;background:#c5a47208}.setup-shell .loadout-option.is-selected{background:linear-gradient(145deg,#c5a47219,#c5a47205);border-color:#c5a472a0;box-shadow:inset 0 2px #c5a472}.loadout-option input[type=radio]{grid-column:2;grid-row:1;width:15px;height:15px;margin:2px 0 0}.loadout-option>strong{grid-column:1;grid-row:1;color:#e9e3d5;font:1.16rem Georgia,serif}.loadout-option>span,.loadout-option>ul{grid-column:1/-1}.loadout-option>span{font-size:.75rem;line-height:1.5;min-height:2.9em;color:#aaa594}.loadout-option ul{border-top:1px solid #ffffff12;margin-top:4px;padding-top:2px}.loadout-option li{font-size:.77rem;line-height:1.5;color:#d8d2c3;margin-top:10px}.loadout-option small{font-size:.71rem;color:#b4a386;line-height:1.55;margin-top:3px}.setup-shell section{margin-bottom:30px}.setup-actions{padding-top:18px;margin-top:30px;align-items:center}.setup-actions .start-button{margin-left:auto}.score-rolls ol{list-style-position:inside;padding:0;margin:14px 0;border-block:1px solid var(--shell-border)}.score-rolls li{font-size:.82rem;padding:7px 0;border-bottom:1px solid #ffffff08;font-variant-numeric:tabular-nums}.score-rolls li:last-child{border:0}.score-rolls strong{color:#e5c38f}.score-rolls .combat-dice{gap:0;justify-content:flex-start}.confirm-scores{gap:0;border-block:1px solid var(--shell-border);padding:12px 0;margin:24px 0}.confirm-scores>div{padding:12px 16px}.confirm-scores dd{font:1.5rem Georgia,serif;color:#e5cda4}.home-header{padding:0 0 23px;margin-bottom:36px}.home-header h1{font-size:1.65rem}.home-shell .home-current{margin-bottom:34px}.home-current>.journey-list>.journey-row{padding:20px 0 24px}.home-current .journey-row h3{font:1.65rem Georgia,serif;margin-bottom:10px}.home-current .journey-row p{font-size:.86rem;color:#aaa594}.home-packages .adventure-feature{padding:26px 0}.home-packages .adventure-feature h3{font-size:1.55rem}.home-packages .adventure-feature p{line-height:1.8}.home-other summary,.finished-stories summary{color:#aaa594}@media(max-width:900px){.product-shell{padding-inline:26px}.hero-builder{gap:24px}.setup-shell .ability-setup{padding-left:24px}.loadout-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.setup-section-heading{align-items:flex-start;flex-direction:column;gap:16px}}@media(max-width:640px){.product-shell{padding:20px 20px 48px}.setup-shell .product-intro{padding:12px 0 20px}.setup-shell .product-intro h1{font-size:1.9rem}.setup-steps li{flex-direction:column;align-items:flex-start;gap:8px;font-size:.63rem;padding-bottom:12px}.hero-builder{grid-template-columns:1fr;gap:28px}.setup-shell .ability-setup{padding:24px 0 0;border-left:0!important;border-top:1px solid var(--shell-border)!important}.setup-section-heading h2{font-size:1.45rem}.setup-shell textarea{min-height:88px}.loadout-grid{gap:10px}.setup-shell .loadout-option{padding:16px 12px}.loadout-option>strong{font-size:1.06rem}.loadout-option>span{font-size:.71rem}.setup-shell .loadout-fieldset{margin-top:26px}.hero-mode{max-width:100%}.product-shell .hero-mode button{padding:9px 10px;font-size:.75rem}.score-fields{gap:10px}.score-fields small{font-size:.62rem}.home-header h1{font-size:1.5rem}.home-current .journey-row h3{font-size:1.4rem}}@media(prefers-reduced-motion:reduce){.product-shell button,.loadout-option{transition:none}}.loadout-option input[type=radio]{appearance:none;border:1px solid #a69b82;border-radius:50%;background:transparent;display:grid;place-content:center}.loadout-option input[type=radio]:before{content:"";width:7px;height:7px;border-radius:50%;background:var(--shell-gold);transform:scale(0)}.loadout-option input[type=radio]:checked:before{transform:scale(1)}.creator-shell .setup-steps{grid-template-columns:repeat(3,1fr)}.creator-layout{display:grid;grid-template-columns:minmax(0,1fr) 280px;gap:44px;align-items:start}.creator-main{min-width:0}.creator-main>section{margin:0}.creator-main h2{margin-bottom:20px}.creator-main .ability-setup{padding:0;border:0!important}.creator-main .ability-setup>legend{display:none}.identity-editor{margin-top:26px}.identity-editor textarea{min-height:140px}.adventure-context{border-top:1px solid var(--shell-border);padding-top:18px;margin-top:26px;color:#aaa594;font-size:.85rem}.adventure-context summary{cursor:pointer}.adventure-context p{line-height:1.7}.adventure-context .world-map{margin-top:20px}.hero-preview{position:sticky;top:28px;border-left:1px solid #d9b78335;padding:8px 0 12px 28px}.preview-identity{display:flex;gap:14px;align-items:center;margin-bottom:26px}.preview-identity .hero-initials{width:50px;height:50px;flex:0 0 50px;font-size:1.2rem;margin:0;background:radial-gradient(circle at 30% 20%,#b99c5b26,transparent);border-color:#e0b87470}.preview-identity .eyebrow{margin:0 0 6px}.preview-identity h2{font-size:1.5rem!important;margin:0;overflow-wrap:anywhere}.preview-vitals{display:grid;grid-template-columns:1fr 1fr;gap:20px}.preview-vitals>div{display:flex;flex-direction:column;gap:6px}.preview-vitals span{font-size:.76rem;color:#aaa594}.preview-vitals strong{font:2.25rem Georgia,serif;color:#ead4ad}.vital-explanation{font-size:.7rem;color:#a49b88;margin:14px 0 24px;line-height:1.7}.vital-explanation summary{cursor:pointer}.vital-explanation p{margin:7px 0}.preview-scores{margin:0 0 24px;padding:14px 0;border-block:1px solid #ffffff15;display:grid;gap:10px}.preview-scores>div{display:flex;justify-content:space-between;align-items:center;font-size:.78rem;color:#bdb5a5}.preview-scores dd{margin:0;color:#ece1cb;font-variant-numeric:tabular-nums}.preview-equipment h3{font:600 .7rem system-ui,sans-serif;text-transform:uppercase;letter-spacing:.13em;color:#aaa594;margin:0 0 16px}.preview-equipment>div{margin-top:14px}.preview-equipment strong{font-size:.83rem;font-weight:500}.preview-equipment p{font-size:.73rem;color:#bba780;margin:6px 0;line-height:1.6}.preview-equipment p span{margin-left:12px}.score-token-bank{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:8px;margin:20px 0 12px}.product-shell .score-token{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;padding:12px 3px!important;border-color:#b59b6d55!important;background:linear-gradient(145deg,#c5a47218,#ffffff02)!important;cursor:grab;border-radius:9px!important}.score-token strong{font:1.65rem Georgia,serif;color:#ead3a8}.score-token span{font-size:.56rem;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#ada18b}.product-shell .score-token[aria-pressed=true]{background:#c5a47232!important;outline:2px solid #c5a472;outline-offset:2px}.score-token:disabled{opacity:.55;cursor:default}.token-instruction{font-size:.78rem;color:#ccb995;line-height:1.6;margin:18px 0}.score-destinations{display:grid;grid-template-columns:1fr;gap:8px}.product-shell .score-destination{display:grid;grid-template-columns:minmax(0,1fr) 34px 26px;align-items:center;gap:12px;padding:12px 14px!important;text-align:left;background:#ffffff02!important;border:1px solid #ffffff15!important}.product-shell .score-destination:hover:not(:disabled){border-color:#c5a47288!important;background:#c5a47209!important}.score-destination>span{display:flex;flex-direction:column;gap:5px}.score-destination strong{font-size:.85rem;font-weight:500}.score-destination small{font-size:.7rem;color:#a49e90;line-height:1.4}.score-destination b{font:1.45rem Georgia,serif;text-align:center;color:#ead3a8}.score-destination em{font-size:.76rem;font-style:normal;color:#bbaa8a;text-align:right}.score-destination:disabled{opacity:.65}.product-shell .auto-assign{margin-top:16px;font-size:.8rem;color:#ddc49c;border-style:dashed}.creator-loadouts .loadout-grid{grid-template-columns:1fr 1fr}.creator-loadouts .loadout-option{padding:18px 16px}.creator-loadouts legend.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:900px){.creator-layout{grid-template-columns:minmax(0,1fr) 235px;gap:26px}.hero-preview{padding-left:20px}.score-token-bank{gap:6px}.score-token span{display:none}.product-shell .score-token{min-height:62px}.creator-loadouts .loadout-grid{grid-template-columns:1fr}}@media(max-width:700px){.creator-layout{grid-template-columns:1fr;gap:28px}.hero-preview{position:static;border-left:0;border-top:1px solid #d9b78335;padding:24px 0 0}.preview-scores{grid-template-columns:1fr 1fr;gap:12px 28px}.preview-equipment{display:grid;grid-template-columns:1fr 1fr;gap:0 20px}.preview-equipment h3{grid-column:1/-1}.preview-identity{margin-bottom:20px}.preview-vitals{max-width:280px}.creator-loadouts .loadout-grid{grid-template-columns:1fr 1fr}.creator-shell .setup-steps li{flex-direction:row;align-items:center;font-size:.72rem}.score-token-bank{gap:8px}.score-token span{display:block;font-size:.53rem}.creator-main .ability-setup{border:0!important;padding:0}}@media(max-width:360px){.score-token span{display:none}.creator-loadouts .loadout-grid{grid-template-columns:1fr}}.creator-shell .setup-steps{grid-template-columns:repeat(4,minmax(0,1fr))}.adventure-intro-layout{grid-template-columns:1fr}.adventure-opening{max-width:840px}.adventure-opening .setup-teaser{font-size:1.12rem;line-height:1.9;color:#d8d0be;margin:16px 0 30px}.adventure-route{border-block:1px solid #ffffff18;padding:22px 0;margin:20px 0}.adventure-route h3{font:1.2rem Georgia,serif;margin:0 0 16px}.adventure-route .world-map{margin:0}.score-guidance{padding:15px 18px;border-left:2px solid #c5a47270;background:linear-gradient(90deg,#c5a4720e,transparent);margin:0 0 24px}.score-guidance strong{font-size:.86rem;color:#e4cba3}.score-guidance p{font-size:.82rem;line-height:1.65;margin:8px 0;color:#c8c0ae}.score-guidance>span{font-size:.73rem;color:#a39d8f;line-height:1.6;display:block}.score-editor-lock{padding:0!important;border:0!important;margin:0!important}.score-editor-lock:disabled{opacity:.7}@media(max-width:640px){.creator-shell .setup-steps li{flex-direction:column;align-items:flex-start;font-size:.64rem;gap:8px}.adventure-opening .setup-teaser{font-size:1rem}.score-guidance{padding:12px 14px}}.creator-shell .setup-steps li{padding:0;display:block}.creator-shell .setup-steps li>button{width:100%;display:flex;align-items:center;gap:10px;padding:14px 8px 14px 0;border:0;border-radius:0;background:transparent;text-align:left;color:inherit;font-size:inherit;min-height:54px}.creator-shell .setup-steps li>button:hover:not(:disabled){background:#c5a4720b;color:#eddbb9}.creator-shell .setup-steps li>button:focus-visible{outline-offset:-3px}.creator-shell .setup-steps button:disabled{cursor:default;opacity:.55}.preview-description{font-size:.79rem;line-height:1.7;color:#b3ac9d;margin:0 0 22px;white-space:pre-wrap;overflow-wrap:anywhere}.hero-preview .preview-vitals,.hero-preview .preview-scores,.hero-preview .preview-equipment{animation:preview-reveal .24s ease-out both}@keyframes preview-reveal{0%{opacity:0;transform:translateY(5px)}to{opacity:1;transform:translateY(0)}}@media(max-width:640px){.creator-shell .setup-steps li>button{flex-direction:column;align-items:flex-start;gap:8px;font-size:.64rem;padding:12px 4px 12px 0}}@media(prefers-reduced-motion:reduce){.hero-preview .preview-vitals,.hero-preview .preview-scores,.hero-preview .preview-equipment{animation:none}}.concise-scores .hero-mode{margin:0;display:flex;width:fit-content}.distribution-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:24px 0 8px}.product-shell .concise-scores .auto-assign{margin:0;padding:6px 0;border:0;background:transparent;font-size:.8rem;color:#d6bd91}.distribution-toolbar>span{font-size:.67rem;color:#948d7e;white-space:nowrap}.score-rows{border-top:1px solid var(--shell-border)}.score-row{border-bottom:1px solid var(--shell-border)}.product-shell .concise-scores .score-row-toggle{display:grid;grid-template-columns:minmax(0,1fr) 64px 34px;gap:16px;align-items:center;width:100%;padding:8px 0;border:0;border-radius:0;background:transparent;text-align:left}.score-row-toggle>span{font-size:.92rem;color:#d7cfbe}.score-row-toggle b{display:flex;align-items:center;justify-content:center;gap:10px;font:1.3rem Georgia,serif;color:#eed8af;background:#c5a4720c;border:1px solid #c5a47230;border-radius:5px;padding:5px 7px}.score-row-toggle small{font:.75rem system-ui;color:#bba780}.score-row-toggle em{font:.85rem system-ui;color:#b4a58b;text-align:right}.product-shell .score-row-toggle:hover:not(:disabled) b,.score-row-toggle[aria-expanded=true] b{border-color:#c5a472;background:#c5a4721c}.score-row-toggle:disabled{opacity:.5}.score-options{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:8px;padding:2px 0 14px;animation:preview-reveal .15s ease-out both}.product-shell .score-options button{padding:10px 2px;font-variant-numeric:tabular-nums;background:#c5a47208;border:1px solid #c5a47230;color:#e8d1a7}.product-shell .score-options button[aria-pressed=true]{border-color:#c5a472;background:#c5a47224}.score-help,.preview-story{font-size:.78rem;line-height:1.65;color:#a49d8d;margin:20px 0}.score-help summary,.preview-story summary{cursor:pointer;width:fit-content}.score-help p{margin:12px 0}.score-help dl{margin:18px 0 0}.score-help dl>div{margin:10px 0}.score-help dt{color:#d4c6ac}.score-help dd{margin:0}.preview-story{margin:-10px 0 24px;font-size:.74rem}.preview-story .preview-description{margin:10px 0 0}.roll-progress{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:8px;margin:22px 0 14px}.roll-progress>span{padding:10px 0;text-align:center;font:1.3rem Georgia,serif;color:#e3cba4;border-bottom:1px solid #c5a47240}.concise-scores .score-rolls .score-help{margin:12px 0}.adventure-opening .setup-teaser{margin-top:0}@media(max-width:450px){.score-row-toggle{gap:10px!important}.distribution-toolbar>span{font-size:.6rem}.score-options{gap:5px}}@media(prefers-reduced-motion:reduce){.score-options{animation:none}}.class-setup .sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}.class-options{display:grid;grid-template-columns:1fr 1fr;gap:10px}.setup-shell .class-options label{display:flex;flex-direction:row;align-items:center;gap:12px;margin:0;padding:14px;border:1px solid var(--shell-border);border-radius:6px;cursor:pointer}.class-options label.is-selected{border-color:#c5a472;background:#c5a47213}.setup-shell .class-options input[type=radio]{width:16px;height:16px;padding:0;accent-color:#c5a472;flex-shrink:0}.class-options span{display:grid;gap:6px}.class-options strong{font-size:.95rem;color:#e9deca;font-weight:500}.class-options small{font-size:.72rem;color:#a8a090;line-height:1.5}.class-details{margin-top:26px;border-top:1px solid var(--shell-border);padding-top:22px;display:grid;grid-template-columns:1fr 1fr;gap:24px}.class-details h3{font:600 .7rem system-ui;text-transform:uppercase;letter-spacing:.1em;color:#9f9788;margin:0 0 16px}.class-details section{margin:0}.class-details section>div{margin-bottom:16px}.class-details strong{font-size:.85rem;font-weight:500;color:#ddd1b9}.class-details p{font-size:.76rem;line-height:1.65;color:#a99f8b;margin:5px 0 0}.preview-class{font-size:.78rem;color:#c8ac7d;margin:6px 0 0}.preview-abilities{margin-top:24px}.preview-abilities details{margin:10px 0;font-size:.8rem;color:#c4baa7}.preview-abilities summary{cursor:pointer}@media(max-width:450px){.class-options{gap:8px}.setup-shell .class-options label{padding:11px 9px;gap:8px}.class-options small{font-size:.67rem}.class-details{grid-template-columns:1fr;gap:12px}}.setup-shell .class-options input[type=radio]{appearance:none;display:grid;place-content:center;background:transparent;border:1px solid #a69b82;border-radius:50%}.class-options input[type=radio]:before{content:"";width:8px;height:8px;border-radius:50%;background:#d9b783;transform:scale(0)}.class-options input[type=radio]:checked:before{transform:scale(1)}.creator-shell .setup-steps{grid-template-columns:repeat(3,minmax(0,1fr))}.combined-hero-shell .setup-steps{grid-template-columns:repeat(2,minmax(0,1fr))}.combined-hero-shell .creator-layout{grid-template-columns:minmax(240px,.8fr) minmax(0,1.2fr);gap:36px}.combined-hero-shell .adventure-intro-layout{grid-template-columns:1fr}.combined-hero-shell .class-options{grid-template-columns:1fr;gap:8px}.combined-hero-shell .class-options label{padding:15px 16px}.combined-hero-shell .hero-preview{position:static;border:1px solid #d9b78330;border-radius:10px;padding:24px;background:linear-gradient(140deg,#c5a47209,transparent 60%)}.combined-hero-shell .preview-identity{align-items:center;margin-bottom:24px}.hero-name-editor{flex:1;min-width:0}.setup-shell .hero-name-editor label{margin:0;gap:4px;font-size:.67rem;color:#a99f8e}.setup-shell.combined-hero-shell .hero-name-editor input{font:1.5rem/1.3 Georgia,serif;padding:5px 0;border:0;border-bottom:1px solid #c5a47255;border-radius:0;background:transparent;width:100%}.combined-hero-shell .preview-scores{grid-template-columns:1fr 1fr;gap:12px 24px}.combined-hero-shell .preview-equipment{display:block}.combined-hero-shell .preview-abilities{padding-top:22px;border-top:1px solid var(--shell-border)}.combined-hero-shell .preview-vitals strong{font-size:1.8rem}.combined-hero-shell .setup-actions{margin-top:28px}@media(max-width:700px){.combined-hero-shell .creator-layout{grid-template-columns:1fr;gap:24px}.combined-hero-shell .hero-preview{padding:20px}.combined-hero-shell .class-options label{padding:12px 14px}}.home-shell .home-packages .adventure-open{width:100%;text-align:left;border:0;border-top:1px solid var(--shell-border);border-radius:0;background:transparent;padding:22px 0;color:#e9e3d5}.adventure-open>span:first-child{display:grid;gap:8px}.adventure-open strong{font:1.35rem Georgia,serif}.adventure-open>span>span{font-size:.85rem;line-height:1.6;color:#aaa594}.adventure-open>span:last-child{color:#d9b783;font-size:1.3rem}.adventure-dialog{box-sizing:border-box;width:min(680px,calc(100vw - 32px));max-height:calc(100dvh - 40px);overflow-y:auto;padding:30px;border:1px solid #c5a47250;border-radius:12px;background:#171713;color:#e9e3d5;box-shadow:0 24px 100px #0009}.adventure-dialog::backdrop{background:#000a;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px)}.adventure-dialog h2{margin:0 32px 16px 0;font:1.8rem Georgia,serif}.adventure-dialog>p{font-size:.9rem;line-height:1.8;color:#bfb7a6}.product-shell .adventure-dialog .dialog-close{position:absolute;right:12px;top:10px;border:0;background:transparent;padding:4px 10px;font-size:1.5rem}.adventure-dialog .world-map{margin:24px 0}.adventure-dialog .start-button{display:block;width:100%;margin-top:24px}.combined-hero-shell .creator-layout{margin-top:16px}.preview-score-mod{display:inline-block;min-width:24px;margin-left:12px;font-size:.75rem;color:#bda67f;text-align:right}.combined-hero-shell .character-summary{margin:0 0 24px}.combined-hero-shell .setup-actions{justify-content:flex-end}@media(max-width:600px){.adventure-dialog{padding:24px 18px}.adventure-dialog h2{font-size:1.5rem}.home-shell .home-packages .adventure-open{flex-direction:row;align-items:center}}.home-shell{max-width:1080px;padding-top:32px}.home-shell .home-header{padding-bottom:24px;margin-bottom:36px;align-items:center}.home-header h1{font-size:1.7rem;letter-spacing:-.03em}.home-header p{font-size:.7rem;letter-spacing:.09em;color:#8f887a}.home-shell .home-current{position:relative;padding:28px 30px 0;border:1px solid #c5a47240;border-radius:12px;background:radial-gradient(ellipse at 90% 0%,#c5a47214,transparent 65%),#ffffff02;margin-bottom:42px;overflow:hidden}.home-current>.eyebrow{display:flex;align-items:center;gap:9px}.journey-live-dot{width:6px;height:6px;border-radius:50%;background:#b4c29c;box-shadow:0 0 12px #b4c29c40}.home-current>.journey-list>.journey-row{padding:16px 0 28px;gap:24px}.home-current .journey-list:first-of-type>.journey-row h3{font:clamp(1.5rem,3.2vw,2.1rem)/1.2 Georgia,serif;margin-bottom:12px;color:#ede0c8}.home-current .journey-row p{font-size:.8rem;color:#a69f90}.home-current .home-other{margin-top:0;border-color:#c5a47225}.home-current .home-other summary{padding:16px 0;font-size:.75rem;color:#9a9283}.home-other .journey-row h3{font:1.1rem Georgia,serif!important}.home-other .journey-row p{font-size:.75rem}.home-section-title{display:flex;align-items:center;gap:12px;margin-bottom:18px}.home-section-title h2{font:1.45rem Georgia,serif;margin:0}.home-section-title>span{font-size:.72rem;color:#a09682;border:1px solid #ffffff18;border-radius:20px;min-width:24px;text-align:center;padding:3px}.home-shell .home-packages .adventure-open{padding:26px 28px;margin:0 0 12px;border:1px solid #ffffff18;border-radius:10px;background:linear-gradient(115deg,#c5a47208,transparent 70%);gap:30px;transition:background .2s,border-color .2s}.home-shell .home-packages .adventure-open:hover{border-color:#c5a47270;background:#c5a47210}.home-shell .adventure-copy{gap:10px;max-width:650px}.home-shell .adventure-copy .adventure-kicker{font-size:.61rem;letter-spacing:.15em;text-transform:uppercase;color:#af966f}.home-shell .adventure-copy strong{font:1.55rem Georgia,serif;color:#e6d6bb}.home-shell .adventure-copy>span:last-child{font-size:.83rem;line-height:1.75;color:#aaa293}.home-shell .finished-stories{margin-top:32px;color:#a39a89;border-top:1px solid #ffffff15}.finished-stories>summary{font-size:.8rem}.setup-shell .hero-page-heading{position:sticky;top:0;z-index:3;display:flex;align-items:center;justify-content:space-between;gap:24px;padding:18px 0 22px;margin-bottom:20px;border-bottom:1px solid #c5a47225;background:#11120fed;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px)}.setup-shell .hero-page-heading h1{margin:0;font-size:clamp(1.8rem,3.6vw,2.5rem)}.setup-shell .hero-page-heading p{margin:8px 0 0;color:#aa9f8b;font-size:.85rem;line-height:1.4}.hero-page-heading .start-button{flex-shrink:0}.setup-top-error{position:relative;margin:0 0 20px}@media(max-width:700px){.home-shell .home-current{padding:22px 20px 0}.home-current>.journey-list>.journey-row{align-items:flex-start;flex-direction:column}.home-current .start-button{width:100%}.home-shell .home-packages .adventure-open{padding:20px}.home-header p{letter-spacing:0}.setup-shell .hero-page-heading{gap:12px}.setup-shell .hero-page-heading .start-button{padding:12px 16px;font-size:.8rem}}@media(max-width:450px){.setup-shell .hero-page-heading{flex-wrap:wrap;padding-top:12px}.hero-page-heading>div{width:100%}.setup-shell .hero-page-heading .start-button{width:100%}.home-shell .home-header{align-items:flex-start;gap:8px}}.journey-actions{display:flex;flex-direction:column;align-items:flex-end;gap:8px;flex-shrink:0}.home-shell .journey-actions .delete-game{padding:4px 8px;min-height:30px;border:0;background:transparent;color:#a18b80;font-size:.72rem}.home-shell .journey-actions .delete-game:hover{color:#e4a590;background:#af504016}.home-shell .journey-row .journey-description{font-size:.95rem;line-height:1.7;color:#d2c6b1;max-width:650px;margin:0 0 12px}.journey-description:empty{display:none}.home-shell .home-current{padding-bottom:0;margin-bottom:18px}.home-saved-lists{margin:0 0 36px}.home-saved-lists:empty{display:none}.home-saved-lists .home-other,.home-saved-lists .finished-stories{margin:0;border:0;border-bottom:1px solid var(--shell-border)}.home-saved-lists summary{padding:14px 0;cursor:pointer;color:#a39a89;font-size:.8rem}.home-saved-lists .journey-description{font-size:.82rem}.delete-dialog{max-width:440px}.delete-dialog-actions{display:flex;justify-content:flex-end;gap:12px;margin-top:24px}.delete-dialog-actions .start-button{margin:0;width:auto}@media(max-width:700px){.journey-actions{align-items:stretch;width:100%}.home-shell .journey-actions .delete-game{align-self:flex-end}.home-saved-lists .journey-row{align-items:stretch;flex-direction:column}}.home-shell .journey-row{display:block;position:relative;overflow:visible}.home-shell .journey-copy{min-width:0;padding:0}.home-shell .journey-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:12px}.home-shell .journey-heading h3{margin:0!important;min-width:0}.home-shell .journey-heading .adventure-actions-menu{flex-shrink:0}.home-shell .journey-actions{padding:0;margin-top:16px;align-items:flex-start}.home-shell .journey-featured .journey-actions{padding-right:0}.home-shell .adventure-actions-menu{position:relative;z-index:3}.home-shell .adventure-actions-menu .adventure-actions-trigger{display:grid;place-items:center;width:36px;height:36px;padding:0;border:0;border-radius:7px;background:transparent;color:#b2a999;line-height:1;box-shadow:none;transition:background .18s,color .18s;cursor:pointer}.home-shell .adventure-actions-menu .adventure-actions-trigger:hover,.home-shell .adventure-actions-menu .adventure-actions-trigger[aria-expanded=true]{background:#c5a47214;color:#f0dfc2}.home-shell .adventure-actions-menu .adventure-actions-trigger:focus-visible,.home-saved-lists summary:focus-visible{outline:2px solid #c5a472;outline-offset:3px}.adventure-actions-popover{position:absolute;top:42px;right:0;min-width:220px;padding:6px;background:#24211c;border:1px solid #c5a47238;border-radius:8px;box-shadow:0 12px 32px #0007}.home-shell .adventure-actions-popover button{width:100%;padding:11px 13px;border:0;background:transparent;text-align:left;color:#dfa993;font-size:.86rem;border-radius:4px}.home-shell .adventure-actions-popover button:hover,.home-shell .adventure-actions-popover button:focus-visible{background:#b45e4420;outline:none}.home-shell .home-saved-lists{margin:26px 0 46px;border-top:1px solid #c5a47222}.home-shell .home-saved-lists:empty{display:none}.home-shell .home-saved-lists>details{margin:0;border-bottom:1px solid #c5a47222}.home-shell .home-saved-lists summary{display:flex;align-items:center;gap:14px;list-style:none;padding:22px 2px;color:#dfd3bf;font-size:1.05rem;transition:color .2s}.home-saved-lists summary::-webkit-details-marker{display:none}.home-saved-lists summary:hover{color:#f3e2c4}.saved-count{color:#9c9384;font-size:.78rem;font-variant-numeric:tabular-nums}.saved-chevron{margin-left:auto;font:22px/1 sans-serif;color:#bba889;transition:transform .22s}.home-saved-lists details[open]>summary .saved-chevron{transform:rotate(180deg)}.home-shell .home-saved-lists .journey-list{margin:0;padding:0 0 10px}.home-shell .home-saved-lists .journey-row{padding:22px 0;border-top:1px solid #ffffff0c}.home-shell .home-saved-lists .journey-row h3{font:1.2rem/1.35 Georgia,serif!important;color:#e2d7c4;margin:0 0 9px}.home-shell .home-saved-lists .journey-description{font-size:.88rem;line-height:1.65;color:#b6ad9d;margin:0}.home-shell .home-saved-lists .journey-actions>button{white-space:nowrap;font-size:.83rem;border:0;background:transparent;color:#d8bd92;padding:10px 0}@media(max-width:700px){.home-shell .journey-copy{padding-right:0}.home-shell .journey-actions{padding-right:0;align-self:stretch;width:auto;align-items:flex-start}.home-shell .home-saved-lists summary{font-size:.96rem;padding-block:20px}.home-shell .home-saved-lists .journey-row{gap:12px}}.home-shell .home-current{padding:20px 28px 24px;overflow:visible;background:linear-gradient(125deg,#c5a4720b,transparent 75%);border-color:#c5a47230}.current-adventure-header{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:8px;min-height:36px}.current-adventure-header .eyebrow{display:flex;align-items:center;gap:9px;margin:0;color:#b8a987}.home-shell .home-current>.journey-list>.journey-row{padding:0;border:0}.home-shell .journey-featured .journey-heading{margin-bottom:14px}.home-shell .journey-featured .journey-actions{margin-top:20px}.home-shell .journey-featured .start-button{padding:12px 22px;min-width:150px;width:auto}.home-shell .journey-row .journey-description{max-width:70ch;margin-bottom:0}.home-shell .home-saved-lists .journey-heading{margin-bottom:6px}.home-shell .home-saved-lists .journey-actions{margin-top:8px}.home-shell .home-saved-lists .journey-actions>button{padding:6px 0}.home-shell .home-saved-lists .journey-actions>button:after{content:" →";margin-left:8px}.home-shell .home-saved-lists .journey-row{padding:18px 0}.home-shell .home-saved-lists{margin-top:24px;margin-bottom:36px}@media(max-width:700px){.home-shell .home-current{padding:16px 20px 22px}.home-shell .journey-featured .start-button{width:auto}.current-adventure-header .eyebrow{font-size:.6rem}}.story-metadata,.home-shell .adventure-copy>.story-metadata{display:flex;flex-wrap:wrap;gap:8px 20px;align-items:center;color:#baa989;font-size:.76rem;line-height:1.5;margin-top:4px;font-variant-numeric:tabular-nums}.story-metadata>span{white-space:nowrap}.adventure-dialog>.story-metadata{margin-top:14px}.hero-preview section.preview-equipment+section.preview-equipment{margin-top:1.5rem}.home-shell .home-packages .adventure-open{position:relative;isolation:isolate;overflow:hidden;min-height:280px;padding:32px;margin-bottom:20px;align-items:flex-end;border:1px solid #c5a47238;border-radius:12px;background:#191d1a;text-align:left}.story-cover,.current-scene{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;pointer-events:none;z-index:-2}.home-shell .home-packages .adventure-open:before{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(0deg,#10120ff5,#10120fbc 35%,#10120f10)}.home-shell .adventure-open .adventure-copy{display:flex;flex-direction:column;max-width:680px;gap:10px}.home-shell .adventure-open .adventure-copy>strong{color:#f6ebd7;font:clamp(1.6rem,3vw,2.1rem)/1.2 Georgia,serif}.home-shell .adventure-open .adventure-copy>span:not(.story-metadata){color:#ded8cb;line-height:1.6}.home-shell .adventure-open .story-metadata{color:#d1bea0}.home-shell .adventure-open:hover{border-color:#c5a4728a}.home-shell .home-current{isolation:isolate;min-height:320px;display:flex;flex-direction:column;justify-content:space-between;background:#171b18;padding:24px 32px 32px}.current-scene{border-radius:11px}.home-shell .home-current:before{content:"";position:absolute;inset:0;border-radius:11px;z-index:-1;background:linear-gradient(0deg,#10120ff5,#10120fcc 34%,#10120f25 70%,#10120f90)}.home-shell .home-current .journey-description{color:#e1d8c7;text-shadow:0 1px 4px #0008}.current-adventure-header{align-items:center;margin-bottom:48px}.current-adventure-header .eyebrow{color:#e9d8b9}@media(max-width:600px){.home-shell .home-packages .adventure-open{min-height:300px;padding:22px;justify-content:flex-end}.home-shell .home-current{padding:18px 22px 24px;min-height:340px}.home-shell .adventure-open .story-metadata{gap:6px 14px}.home-shell .adventure-open .adventure-copy>strong{font-size:1.65rem}}.story-cover[data-story=medicines]{object-position:25% 15%}:root{color:#e9e3d5;background:#11110f;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;font-synthesis:none;--ink: #e9e3d5;--muted: #a89e8c;--ember: #d88a4d;--ember-bright: #f0af69;--moss: #7f9a76;--panel: rgba(30, 29, 25, .92);--line: rgba(233, 227, 213, .13)}*{box-sizing:border-box}.sr-only{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}body{width:100%;margin:0;min-width:0;min-height:100vh;background:#11110f}button,textarea{font:inherit}button{border:0;cursor:pointer}button:disabled{cursor:wait;opacity:.6}.welcome-shell,.status-panel{min-height:100vh;display:grid;place-items:center;padding:2rem}.welcome-card{width:min(42rem,100%);padding:clamp(2rem,7vw,5rem);border:1px solid var(--line);background:linear-gradient(155deg,#2e2a22eb,#131412f5);box-shadow:0 2rem 8rem #0006}.eyebrow{color:var(--ember-bright);font-size:.74rem;font-weight:700;letter-spacing:.18em;text-transform:uppercase}h1,h2,p{margin-top:0}h1{margin-bottom:.6rem;font-family:Georgia,Times New Roman,serif;font-size:clamp(2rem,5vw,4.6rem);font-weight:500;line-height:.98}.welcome-copy{max-width:33rem;margin:1.5rem 0 2rem;color:var(--muted);font-size:1.08rem;line-height:1.7}.start-button{padding:.9rem 1.2rem;color:#1b120b;background:var(--ember-bright);font-weight:800;transition:background .16s ease,transform .16s ease}.start-button:hover:not(:disabled){background:#ffc07d;transform:translateY(-1px)}.game-shell{width:100%;min-height:100vh;margin:0 auto;padding:0}.story-header{position:fixed;top:0;right:0;left:0;z-index:3;width:100%;border-bottom:1px solid var(--line);background:#11110fb8;-webkit-backdrop-filter:blur(14px) saturate(.92);backdrop-filter:blur(14px) saturate(.92);transition:background-color .18s ease,backdrop-filter .18s ease}.story-header-inner{display:flex;min-width:0;max-width:100%;align-items:center;justify-content:space-between;gap:2rem;width:min(70rem,100%);margin:0 auto;padding:.9rem 0 1rem;padding-right:clamp(1.2rem,4vw,3rem);padding-left:clamp(1.2rem,4vw,3rem)}.story-header.scrolled{background:#11110fe6;-webkit-backdrop-filter:blur(18px) saturate(.95);backdrop-filter:blur(18px) saturate(.95)}.story-header h1{min-width:0;max-width:100%;margin:0;overflow:hidden;font-size:clamp(1.2rem,2.4vw,1.65rem);line-height:1.2;text-overflow:ellipsis;white-space:nowrap}.header-actions{display:flex;min-width:0;max-width:100%;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:.75rem}.header-actions>.error-message{flex-basis:100%;margin:0;text-align:right}.current-location{display:flex;align-items:center;gap:.55rem;padding:.55rem .7rem;border:1px solid var(--line);border-radius:999px;color:var(--muted);background:#ffffff06;font-size:.82rem;font-weight:700}.current-location,.character-trigger{min-width:0;max-width:100%}.current-location>strong{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.character-trigger>strong{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.current-location>span{color:var(--ember-bright)}.character-trigger{display:inline-flex;align-items:center;gap:.15rem;padding:.55rem .75rem;border:1px solid rgba(127,154,118,.35);border-radius:999px;color:#dbe4d4;background:#7f9a7614;font-size:.82rem;transition:border-color .16s ease,background-color .16s ease}.character-trigger>span:last-child{min-width:0;overflow:hidden;flex:0 1 auto;text-overflow:ellipsis;white-space:nowrap}.character-trigger:hover,.character-trigger[aria-expanded=true]{border-color:#9ac293b3;background:#7f9a7629}.character-trigger:focus-visible,.character-close:focus-visible{outline:2px solid #9ac293;outline-offset:2px}.character-drawer-overlay{position:fixed;inset:0;z-index:20;display:flex;justify-content:flex-end;background:#0000009e;-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px);animation:character-overlay-enter .18s ease-out both}.character-drawer{min-width:0;max-width:100%;width:min(30rem,100vw);height:100dvh;overflow-x:hidden;overflow-y:auto;border-left:1px solid rgba(224,184,116,.2);color:var(--ink);background:radial-gradient(circle at 100% 0%,rgba(154,194,147,.055),transparent 18rem),#10110e;box-shadow:-1.5rem 0 4rem #00000094;animation:character-drawer-enter .22s ease-out both}.character-drawer-header{position:sticky;top:0;z-index:1;display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:1.35rem 1.5rem;border-bottom:1px solid var(--line);background:#10110ee6;-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px)}.character-identity{display:flex;align-items:center;gap:.9rem;min-width:0}.character-identity>div{min-width:0}.character-avatar{display:grid;flex:0 0 2.75rem;width:2.75rem;height:2.75rem;place-items:center;border:1px solid rgba(224,184,116,.44);border-radius:50%;color:#f0c986;background:radial-gradient(circle at 35% 28%,#e0b87433,#e0b8740a 62%);font-family:Georgia,Times New Roman,serif;font-size:1.1rem;font-weight:700}.character-drawer-header h2{margin:0;overflow-wrap:anywhere;font-family:Georgia,Times New Roman,serif;font-size:1.35rem}.character-drawer-header p{margin:.22rem 0 0;overflow:hidden;color:var(--muted);font-size:.72rem;line-height:1.35;text-overflow:ellipsis;white-space:nowrap}.character-close{display:grid;flex:0 0 2.25rem;width:2.25rem;height:2.25rem;padding:0;place-items:center;border:1px solid var(--line);border-radius:50%;color:var(--muted);background:transparent;font-size:1.4rem}.character-close:hover{border-color:#9ac293;color:var(--ink)}.character-drawer-content{display:grid;min-width:0;max-width:100%;gap:1.65rem;padding:1.4rem 1.5rem 2.5rem;overflow-wrap:anywhere}.character-drawer-content h3{margin:0 0 .8rem;color:#e9e3d5a6;font-size:.68rem;letter-spacing:.14em;text-transform:uppercase}.character-summary{display:grid;grid-template-columns:minmax(0,1fr) 4.15rem;align-items:center;gap:.8rem}.hp-thermometer{position:relative;isolation:isolate;display:flex;align-items:center;justify-content:space-between;min-width:0;min-height:3.25rem;padding:0 1.05rem;overflow:hidden;border:1px solid rgba(151,190,137,.68);border-radius:999px;background:#7e97731a;box-shadow:inset 0 0 0 1px #ffffff06,0 .5rem 1.5rem #00000029}.hp-thermometer-fill{position:absolute;z-index:-1;inset:0 auto 0 0;border-radius:inherit;background:linear-gradient(180deg,rgba(255,255,255,.12),transparent 48%),linear-gradient(90deg,#567351,#779a6d);box-shadow:inset -.8rem 0 1.25rem #1622142e;transition:width .32s ease-out}.hp-thermometer-label,.hp-thermometer strong{position:relative;z-index:1;color:#f3eee2;text-shadow:0 1px 2px rgba(8,13,7,.48)}.hp-thermometer-label{font-size:.7rem;font-weight:800;letter-spacing:.11em}.hp-thermometer strong{font-family:Georgia,Times New Roman,serif;font-size:1rem}.defense-shield{position:relative;display:grid;place-items:center;width:4.15rem;height:4.35rem;filter:drop-shadow(0 .4rem .65rem rgba(0,0,0,.28))}.defense-shield svg{position:absolute;inset:0;width:100%;height:100%;overflow:visible}.defense-shield-surface{fill:#181a15;stroke:#98764a;stroke-linejoin:round;stroke-width:1.7px}.defense-shield-highlight{fill:none;stroke:#dfb87e5c;stroke-linecap:round;stroke-width:1.1px}.defense-shield strong{position:relative;font-family:Georgia,Times New Roman,serif;font-size:1.4rem;transform:translateY(-.12rem)}.character-stats{display:grid;min-width:0;grid-template-columns:repeat(3,minmax(0,1fr));gap:.55rem}.stat-card{display:flex;flex-direction:column;min-width:0;min-height:4.7rem;padding:.72rem .78rem;border:1px solid var(--line);border-radius:.7rem;background:#ffffff06}.stat-card.modified{border-color:#9ac29357;background:linear-gradient(145deg,#7f9a761a,#ffffff05)}.stat-label{color:#b9cbb3;font-size:.6rem;font-weight:800;letter-spacing:.14em}.stat-value{display:flex;align-items:center;justify-content:space-between;gap:.5rem;margin-top:.35rem}.stat-value strong{font-family:Georgia,Times New Roman,serif;font-size:1.55rem;line-height:1}.stat-total{display:inline-flex;padding:.17rem .35rem;border-radius:999px;color:#e9e3d5bd;background:#ffffff0e;font-size:.66rem;font-weight:700}.modified .stat-total{color:#dbe4d4;background:#7f9a7633}.material-modifiers{margin:.55rem 0 0;padding-left:.85rem}.character-bonuses:empty{display:none}.character-bonuses{display:grid;gap:.45rem;margin-top:.65rem}.character-bonus{display:grid;grid-template-columns:2.5rem minmax(0,1fr);gap:.55rem;padding:.55rem .7rem;border-left:2px solid rgba(154,194,147,.3);color:var(--muted);background:#7f9a760b;font-size:.67rem;line-height:1.45}.character-bonus>span{color:#b9cbb3;font-size:.61rem;font-weight:800;letter-spacing:.12em}.character-bonus ul{margin:0;padding-left:.9rem}.material-section+.material-section{padding-top:1.5rem;border-top:1px solid var(--line)}.material-list{display:grid;min-width:0;gap:.7rem}.material-card{min-width:0;max-width:100%;padding:1rem;border:1px solid var(--line);border-radius:.75rem;background:#ffffff06}.material-card.equipped{border-color:#e0b87461;background:linear-gradient(135deg,#e0b87413,#7f9a760e)}.material-card header{display:flex;align-items:center;justify-content:space-between;gap:.75rem}.material-card h4{min-width:0;margin:0;overflow-wrap:anywhere;font-size:.92rem}.material-card p,.material-card li,.empty-materials{overflow-wrap:anywhere;color:var(--muted);font-size:.76rem;line-height:1.55}.material-card p{margin:.45rem 0 0}.equipped-badge{flex:0 0 auto;padding:.2rem .42rem;border-radius:999px;border:1px solid rgba(224,184,116,.22);color:#efd09b;background:#e0b8741c;font-size:.62rem;font-weight:750}.abilities-section .material-list{gap:0}.ability-card{padding:.2rem 0 .2rem .9rem;border:0;border-left:2px solid rgba(154,194,147,.28);border-radius:0;background:transparent}.empty-materials{margin:0}@keyframes character-overlay-enter{0%{opacity:0}to{opacity:1}}@keyframes character-drawer-enter{0%{transform:translate(1.5rem)}to{transform:translate(0)}}.restart-button{padding:.55rem .65rem;border:1px solid transparent;border-radius:999px;color:var(--muted);background:transparent;font-size:.78rem;font-weight:700;transition:border-color .16s ease,color .16s ease}.restart-button:hover:not(:disabled){border-color:var(--ember);color:var(--ink)}.restart-button:focus-visible{outline:2px solid var(--ember-bright);outline-offset:2px}.debug-toggle{padding:.45rem .56rem;border:1px solid rgba(233,227,213,.12);border-radius:999px;color:#a89e8cad;background:transparent;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;font-size:.61rem;font-weight:700;letter-spacing:.1em;transition:border-color .16s ease,background-color .16s ease}.debug-toggle:hover,.debug-toggle[aria-expanded=true]{border-color:#f0af696b;color:#f0af69d1;background:#d88a4d0e}.debug-drawer{position:fixed;inset:0 0 0 auto;z-index:10;width:min(42rem,100vw);height:100dvh;overflow-y:auto;border-left:1px solid rgba(216,138,77,.28);color:var(--ink);background:#0d0d0bf5;box-shadow:-1.5rem 0 4rem #0000006b;-webkit-backdrop-filter:blur(18px) saturate(.9);backdrop-filter:blur(18px) saturate(.9);animation:debug-drawer-enter .18s ease-out both}.debug-drawer-header{position:sticky;top:0;z-index:1;display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:1.2rem 1.35rem;border-bottom:1px solid var(--line);background:#0d0d0bdb;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px)}.debug-drawer-header h2{margin:.2rem 0 0;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;font-size:1rem}.debug-eyebrow{color:var(--ember-bright);font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;font-size:.65rem;font-weight:700;letter-spacing:.14em}.debug-close{display:grid;flex:0 0 auto;width:2rem;height:2rem;padding:0;place-items:center;border:1px solid var(--line);border-radius:999px;color:var(--muted);background:transparent;font-size:1.3rem;line-height:1}.debug-close:hover{border-color:var(--ember);color:var(--ink)}.debug-status{margin:1.5rem;color:var(--muted);font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;font-size:.8rem}.debug-tabs{display:flex;gap:.35rem;padding:.75rem 1rem;border-bottom:1px solid var(--line)}.debug-tab{padding:.6rem 1rem;border:1px solid transparent;border-radius:.45rem;color:var(--muted);background:transparent;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;font-size:.78rem}.debug-tab:hover{color:var(--ink);background:#d88a4d0f}.debug-tab[aria-selected=true]{border-color:#d88a4d52;color:var(--ember-bright);background:#d88a4d1a}.debug-tab:focus-visible{outline:2px solid var(--ember-bright);outline-offset:2px}.debug-trace-list{display:grid;gap:1rem;padding:1rem}.debug-call{overflow:hidden;border:1px solid var(--line);border-radius:.8rem;background:#ffffff05}.debug-call-header{display:flex;align-items:baseline;justify-content:space-between;gap:1rem;padding:.85rem 1rem;border-bottom:1px solid var(--line)}.debug-call-header h3{margin:0;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;font-size:.8rem}.debug-call-header code{overflow:hidden;color:var(--muted);font-size:.68rem;text-overflow:ellipsis;white-space:nowrap}.debug-call-metadata{display:grid;gap:.55rem;margin:0;padding:.85rem 1rem;border-bottom:1px solid var(--line);font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;font-size:.68rem}.debug-call-metadata>div{display:grid;grid-template-columns:6rem minmax(0,1fr);gap:.85rem}.debug-call-metadata dt{color:var(--muted)}.debug-call-metadata dd{margin:0;overflow-wrap:anywhere}.debug-message-list{display:grid}.debug-message{display:grid;grid-template-columns:5rem minmax(0,1fr);gap:.85rem;padding:1rem}.debug-message+.debug-message{border-top:1px solid rgba(255,255,255,.055)}.debug-message-body{display:grid;min-width:0;gap:.8rem}.debug-message-field{display:grid;min-width:0;gap:.3rem}.debug-field-label{color:var(--muted);font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;font-size:.62rem;font-weight:700;letter-spacing:.08em}.debug-role{align-self:start;padding:.24rem .35rem;border:1px solid var(--line);border-radius:.3rem;color:var(--muted);font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;font-size:.65rem;line-height:1;text-align:center}.debug-role.role-system{border-color:#d88a4d52;color:var(--ember-bright)}.debug-role.role-user{border-color:#769bc452;color:#abc6df}.debug-role.role-assistant,.debug-role.role-tool{border-color:#78b07d4d;color:#a9caaa}.debug-message pre{min-width:0;margin:0;color:#d4cec1;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;font-size:.72rem;line-height:1.65;overflow-wrap:anywhere;white-space:pre-wrap}@keyframes debug-drawer-enter{0%{opacity:0;transform:translate(1rem)}to{opacity:1;transform:translate(0)}}.story-stage{width:min(70rem,100%);margin:0 auto;padding:clamp(7rem,10vw,8.5rem) clamp(1.2rem,4vw,3rem) 7rem}.game-shell.composer-error-visible .story-stage{padding-bottom:15rem}.narrative-block{max-width:48rem;font-family:Georgia,Times New Roman,serif;font-size:clamp(1.06rem,2.2vw,1.28rem);line-height:1.65}.turn-log{display:grid;gap:1.25rem;margin-top:1rem}.message-row{display:flex;align-items:flex-start;gap:.8rem;width:min(52rem,100%)}.message-row.entering{animation:message-arrive .28s ease-out both}.message-content{min-width:0}.gm-row,.npc-row{justify-self:start}.player-row{justify-self:end;justify-content:flex-end;width:min(42rem,100%)}.player-row .message-content{display:grid;justify-items:end}.game-event{position:relative;display:block;min-width:0;width:min(45rem,calc(100% - 3.35rem));margin-left:3.35rem;padding-left:1.7rem;color:#efeadfe0}.game-event:before{position:absolute;top:.48rem;bottom:-1.25rem;left:.3rem;width:1px;background:linear-gradient(#d88a4d61,#d88a4d0f);content:""}.game-event-node{position:absolute;top:.34rem;left:0;z-index:1;width:.68rem;height:.68rem;border:1px solid rgba(240,175,105,.72);border-radius:50%;background:#151512;box-shadow:0 0 0 .24rem #d88a4d12}.game-event-content{min-width:0}.material-event-row{max-width:100%}.event-kicker,.check-kicker{display:block;margin-bottom:.32rem;color:#f0af69a8;font-size:.66rem;font-weight:800;letter-spacing:.14em}.event-title{display:block;color:#efeadff5;font-family:Georgia,Times New Roman,serif;font-size:1.1rem;font-weight:600;line-height:1.35}.event-summary,.event-expanded,.material-event-row p{margin:0;overflow-wrap:anywhere;line-height:1.5}.event-summary{margin-top:.35rem;color:#e9e3d5a8;font-size:.78rem}.event-summary p,.event-expanded p{margin:0}.event-summary p+p,.event-expanded p+p{margin-top:.25rem}.event-expanded{max-height:12rem;margin-top:.7rem;padding:.62rem 0 .05rem .8rem;overflow:hidden;border-top:1px solid rgba(218,204,177,.1);border-left:1px solid rgba(216,138,77,.24);color:#e9e3d5b3;font-size:.76rem;opacity:1}.game-event.compact .event-expanded{max-height:0;margin:0;padding:0;border:0;opacity:0}.game-event.expanded .event-summary{max-height:0;margin:0;overflow:hidden;opacity:0}.material-event-row.entering{animation:material-event-lifecycle 1.52s ease both}.material-event-row.entering .event-expanded{animation:event-expanded-cycle 1.52s ease both}.material-event-row.entering .event-summary{animation:event-summary-cycle 1.52s ease both}.location-change-row.entering{animation:location-event-lifecycle 1.28s ease both}.location-change-row.entering .event-expanded{animation:event-expanded-cycle 1.28s ease both}.location-change-row.entering .event-summary{animation:event-summary-cycle 1.28s ease both}.location-change-row .event-expanded{display:flex;align-items:center;gap:.55rem}.location-arrow{color:var(--ember-bright)}.location-to{color:var(--ink);font-weight:700}.sender-label{display:block;margin:0 0 .45rem;color:#e9e3d57a;font-size:.64rem;font-weight:800;letter-spacing:.14em}.avatar{display:grid;flex:0 0 2.55rem;width:2.55rem;height:2.55rem;place-items:center;overflow:hidden;border:1px solid rgba(240,175,105,.34);border-radius:50%;color:#f4cf9c;background:radial-gradient(circle at 32% 25%,rgba(240,175,105,.32),transparent 38%),linear-gradient(145deg,#33271e,#151512);box-shadow:0 .55rem 1.4rem #00000047;font-family:Georgia,Times New Roman,serif;font-size:.66rem;font-weight:700;letter-spacing:.05em}.player-avatar{border-color:#e0b87470;color:#dbe4d4;background:radial-gradient(circle at 32% 25%,rgba(127,154,118,.42),transparent 40%),linear-gradient(145deg,#263126,#141713);font-family:Inter,sans-serif;font-size:.85rem}.npc-avatar{border-color:#e0b87470;color:#dbe7eb;background:radial-gradient(circle at 32% 25%,rgba(112,151,168,.4),transparent 40%),linear-gradient(145deg,#253139,#131719)}.player-block{max-width:38rem;margin:0;padding:.85rem 1.05rem;border:1px solid rgba(216,138,77,.16);border-radius:1rem .25rem 1rem 1rem;background:linear-gradient(145deg,#d88a4d21,#d88a4d0f);color:#f0ddc9;line-height:1.55}.check-card{position:relative;display:block;width:min(45rem,calc(100% - 3.35rem));margin-left:3.35rem;padding:0 0 0 1.7rem;overflow:visible;border:0;background:transparent;box-shadow:none}.check-card:after{content:none}.check-header,.check-duel,.check-outcome-row{position:relative;z-index:1}.check-header{min-height:0;padding:0;border:0}.check-kicker-row{display:flex;align-items:center;gap:.55rem}.check-kicker{margin-bottom:.32rem}.check-roll-mode-badge{margin-bottom:.32rem;padding:.14rem .42rem;border:1px solid rgba(232,189,112,.3);border-radius:999px;color:#f4cf9ce6;background:#7c3f2029;font-size:.57rem;font-weight:750;line-height:1;letter-spacing:.08em;text-transform:uppercase}.check-expanded{max-height:15rem;margin-top:.72rem;overflow:hidden;border-top:1px solid rgba(218,204,177,.1);opacity:1}.check-card.compact .check-expanded{max-height:0;margin:0;border-color:transparent;opacity:0}.check-compact-summary{display:flex;max-height:0;margin:0;align-items:center;gap:.48rem;overflow:hidden;color:#e9e3d5b3;font-size:.9rem;line-height:1.4;opacity:0}.check-card.compact .check-compact-summary{max-height:3rem;margin-top:.36rem;opacity:1}.check-compact-outcome{color:#9ac293;font-size:.75rem;letter-spacing:.08em;text-transform:uppercase}.failure .check-compact-outcome{color:#e08376}.check-compact-separator{color:#e9e3d547}.check-compact-d20{flex:0 0 3rem;width:3rem;height:3rem;transform:translateY(-1px)}.check-card .check-compact-d20 .d20-roll{width:3rem;height:3rem;filter:drop-shadow(0 .32rem .38rem rgba(0,0,0,.38));transform:none}.check-dice-roll{display:flex;width:max-content;align-items:center;justify-content:center;gap:.4rem;transform:translate(0);transition:transform .42s cubic-bezier(.2,.8,.2,1)}.check-die{position:relative;display:grid;place-items:center;transition:filter .22s ease,opacity .22s ease}.check-dice-roll:not(.compact) .d20-roll{width:4.7rem;height:4.7rem;transform:none}.check-die.ignored{filter:saturate(.32);opacity:.42}.check-die.selected{filter:drop-shadow(0 0 .45rem rgba(232,189,112,.28))}.check-die-choice{position:absolute;top:calc(100% - .2rem);color:#e9e3d599;font-size:.48rem;font-weight:750;line-height:1;letter-spacing:.06em;text-transform:uppercase;white-space:nowrap}.check-die.selected .check-die-choice{color:#e8bd70}.check-dice-roll.compact{flex:0 0 5rem;width:5rem;height:3rem;gap:.15rem;transform:translateY(-1px)}.check-dice-roll.compact .d20-roll{width:2.35rem;height:2.35rem;filter:drop-shadow(0 .24rem .3rem rgba(0,0,0,.36));transform:none}.check-dice-roll.compact .check-die-choice{top:calc(100% - .08rem);font-size:.44rem;letter-spacing:.03em}.check-compact-equation{color:#efe7d8d6;font-variant-numeric:tabular-nums;white-space:nowrap}.check-card.collapsing .check-expanded{animation:check-expanded-collapse .3s ease both}.check-card.collapsing .check-compact-summary{animation:check-summary-arrive .3s ease both}.check-duel{display:grid;grid-template-columns:minmax(0,1.35fr) 4.125rem minmax(0,.65fr);align-items:start;min-height:9rem;padding:1rem .8rem 0}.check-side{display:grid;grid-template-rows:1rem 5.6rem .65rem;min-width:0;align-items:center;justify-items:center;row-gap:.4rem}.check-side-label,.check-side-caption{color:#e9e3d578;font-size:.58rem;font-weight:750;line-height:1;letter-spacing:.12em;white-space:nowrap}.check-side-caption{letter-spacing:.1em}.check-value-slot{display:grid;width:100%;height:5.6rem;place-items:center}.check-player-value{position:relative}.check-player-value>.d20-roll,.check-player-value>.check-dice-roll,.check-player-value>.check-equation{grid-area:1 / 1}.d20-roll{position:relative;width:5.6rem;height:5.6rem;flex:0 0 auto;filter:drop-shadow(0 .55rem .65rem rgba(0,0,0,.42));transform:translate(0);transition:transform .42s cubic-bezier(.2,.8,.2,1)}.d20-loading{background:radial-gradient(circle,rgba(216,138,77,.08),transparent 68%)}.d20-webgl-mount,.d20-fallback,.d20-still,.d20-canvas{display:block;width:100%;height:100%}.d20-webgl-mount,.d20-fallback,.d20-still{position:absolute;inset:0}.d20-still{opacity:0}.d20-still.ready{opacity:1}.d20-still.ready.crossfading{animation:d20-still-arrive .14s ease-out both}.check-card.rolling{animation:widget-arrive .32s ease-out both}.check-card h2{margin:0;font-size:1.1rem}.check-equation{display:flex;align-items:center;gap:.42rem;margin:0;color:#efe7d8e0;font-size:1.65rem;font-weight:650;line-height:1;transform:translate(3rem);-webkit-mask-image:linear-gradient(to right,#000 0,#000 calc(100% - .75rem),transparent 100%);mask-image:linear-gradient(to right,#000 0,#000 calc(100% - .75rem),transparent 100%);-webkit-mask-position:left center;mask-position:left center;-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;-webkit-mask-size:0% 100%;mask-size:0% 100%;opacity:0;visibility:hidden;white-space:nowrap}.stage-equation .check-player-value>.d20-roll,.stage-outcome .check-player-value>.d20-roll,.stage-settled .check-player-value>.d20-roll,.stage-collapsing .check-player-value>.d20-roll,.stage-complete .check-player-value>.d20-roll{transform:translate(-3.35rem)}.stage-equation .check-player-value>.check-dice-roll,.stage-outcome .check-player-value>.check-dice-roll,.stage-settled .check-player-value>.check-dice-roll,.stage-collapsing .check-player-value>.check-dice-roll,.stage-complete .check-player-value>.check-dice-roll{transform:translate(-4.8rem)}.check-duel-value{color:#e8bd70;font-family:Georgia,Times New Roman,serif;font-size:3.25rem;font-weight:500;line-height:1}.check-comparison{display:grid;height:7.4rem;padding-top:1.4rem;place-items:center;align-content:center;color:#e9e3d5b3}.check-comparison>*{grid-area:1 / 1;transition:opacity .26s ease,transform .32s ease}.check-comparison-vs{font-family:Georgia,Times New Roman,serif;font-size:.88rem;font-style:italic;letter-spacing:.08em;opacity:1}.check-comparison-sign{color:#9ac293;font-family:Georgia,Times New Roman,serif;font-size:2.65rem;line-height:1;opacity:0;transform:translateY(-.375rem) scale(.72)}.failure .check-comparison-sign{color:#e08376}.outcome-visible .check-comparison-vs{opacity:0;transform:scale(.75)}.outcome-visible .check-comparison-sign{opacity:1;transform:translateY(-.375rem) scale(1)}.check-equation.revealing{visibility:visible;animation:check-equation-reveal .56s linear both}.check-equation.revealed{-webkit-mask-size:calc(100% + .75rem) 100%;mask-size:calc(100% + .75rem) 100%;opacity:1;visibility:visible}.check-outcome-row{display:flex;min-height:2.1rem;align-items:flex-start;justify-content:center;padding:0 1.15rem .35rem}.outcome{color:#9ac293;font-size:.68rem;font-weight:800;letter-spacing:.2em;opacity:0;text-transform:uppercase;transform:translateY(.3rem);visibility:hidden}.outcome.revealing{visibility:visible;animation:check-outcome-reveal .32s ease-in-out both}.outcome.revealed{opacity:1;transform:translateY(0);visibility:visible}.failure .outcome{color:#e08376}.narrative-block{margin:0;padding:.15rem 0 0;border:0;color:#efeadff2}.gm-block{white-space:pre-wrap}.narrative-block.typing{min-height:2.2rem;outline:none;cursor:pointer}.narrative-block.typing:focus-visible{border-radius:.25rem;box-shadow:0 0 0 2px #f0af6973}.npc-block .typing-caret{background:#91b4c2}.typing-caret{display:inline-block;width:.5rem;height:1em;margin-left:.16rem;border-radius:.08rem;background:var(--ember-bright);vertical-align:-.1em;animation:caret-blink .72s steps(1,end) infinite}.pending-row{align-items:center;min-height:2.7rem}.typing-indicator{display:inline-flex;align-items:center;gap:.28rem;min-width:3.5rem;min-height:2.1rem;padding:.65rem 0}.typing-indicator i{width:.34rem;height:.34rem;border-radius:50%;background:#f0af69bf;animation:pending-dot 1.15s ease-in-out infinite}.typing-indicator i:nth-child(2){animation-delay:.14s}.typing-indicator i:nth-child(3){animation-delay:.28s}.composer{position:fixed;display:grid;right:0;bottom:0;left:0;z-index:2;width:min(70rem,calc(100% - 2rem));margin:0 auto .8rem;gap:.55rem}.composer:before{position:absolute;z-index:-1;inset:-2.5rem -1rem -.8rem;background:linear-gradient(to bottom,transparent,rgba(17,17,15,.9) 58%);content:"";pointer-events:none}.composer label{margin:0}.composer-row{display:flex;align-items:flex-end;gap:.35rem;padding:.28rem;border:1px solid rgba(216,138,77,.32);border-radius:.85rem;background:#11110f47;box-shadow:none;-webkit-backdrop-filter:blur(8px) saturate(.95);backdrop-filter:blur(8px) saturate(.95);transition:border-color .16s ease,box-shadow .16s ease}.composer-row:focus-within{border-color:#f0af69b8;box-shadow:0 0 0 1px #d88a4d24,0 0 1.8rem #d88a4d14}.composer textarea{display:block;min-width:0;min-height:42px;max-height:116px;width:100%;resize:none;padding:.62rem .7rem;border:0;outline:none;color:var(--ink);background:transparent;line-height:1.45;scrollbar-color:rgba(216,138,77,.45) transparent;scrollbar-width:thin}.composer textarea:focus{outline:none}.composer textarea::placeholder{color:#a89e8ca3}.composer textarea:disabled{color:#e9e3d58f}.composer textarea:disabled::placeholder{color:#a89e8c5c}.composer-submit{display:grid;flex:0 0 auto;width:2.625rem;height:2.625rem;padding:0;place-items:center;border-radius:.62rem;background:linear-gradient(145deg,#a78154,#7d603f);color:#17130e;font-size:1.2rem;font-weight:800;line-height:1;box-shadow:inset 0 1px #ffffff29;transition:background .14s ease,opacity .14s ease,transform .14s ease}.composer-submit:not(:disabled):hover{background:linear-gradient(145deg,#bd9562,#916e47);transform:translateY(-1px)}.composer-submit:not(:disabled):active{transform:translateY(0)}.composer-submit:focus-visible{outline:2px solid var(--ember-bright);outline-offset:2px}.composer-submit:disabled{cursor:default;opacity:.38}.composer>.error-message{margin:0 .4rem;padding:.65rem .8rem;border:1px solid rgba(229,139,127,.24);border-radius:.65rem;background:#221412f0;box-shadow:0 .75rem 2rem #00000047;font-size:.78rem}.error-message{margin:.75rem 0 0;color:#e58b7f}@keyframes message-arrive{0%{opacity:0;transform:translateY(.45rem)}to{opacity:1;transform:translateY(0)}}@keyframes widget-arrive{0%{opacity:0;transform:translateY(.8rem) scale(.98)}to{opacity:1;transform:translateY(0) scale(1)}}@keyframes material-event-lifecycle{0%{opacity:0;transform:translateY(.5rem)}18%,to{opacity:1;transform:translateY(0)}}@keyframes location-event-lifecycle{0%{opacity:0;transform:translateY(.45rem)}20%,to{opacity:1;transform:translateY(0)}}@keyframes event-expanded-cycle{0%,72%{max-height:12rem;margin-top:.7rem;padding-top:.62rem;opacity:1}to{max-height:0;margin-top:0;padding-top:0;opacity:0}}@keyframes event-summary-cycle{0%,72%{max-height:0;margin-top:0;opacity:0}to{max-height:3rem;margin-top:.35rem;opacity:1}}@keyframes check-expanded-collapse{0%{max-height:15rem;margin-top:.72rem;opacity:1}to{max-height:0;margin-top:0;border-color:transparent;opacity:0}}@keyframes check-summary-arrive{0%{max-height:0;margin-top:0;opacity:0;transform:translateY(.25rem)}to{max-height:3rem;margin-top:.36rem;opacity:1;transform:translateY(0)}}@keyframes check-equation-reveal{0%{-webkit-mask-size:0% 100%;mask-size:0% 100%;opacity:0}to{-webkit-mask-size:calc(100% + .75rem) 100%;mask-size:calc(100% + .75rem) 100%;opacity:1}}@keyframes check-outcome-reveal{0%{opacity:0;transform:translateY(.3rem)}to{opacity:1;transform:translateY(0)}}@keyframes d20-still-arrive{0%{opacity:0}to{opacity:1}}@keyframes pending-dot{0%,70%,to{opacity:.28;transform:translateY(0)}35%{opacity:1;transform:translateY(-.2rem)}}@keyframes caret-blink{0%,50%{opacity:1}51%,to{opacity:0}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}.material-event-row.entering,.location-change-row.entering{animation:none}}@media(max-width:700px){.character-drawer-overlay{align-items:flex-end}.character-drawer{width:100%;height:min(84dvh,46rem);border-top:1px solid rgba(127,154,118,.34);border-left:0;border-radius:1rem 1rem 0 0;animation-name:character-sheet-enter}@keyframes character-sheet-enter{0%{transform:translateY(1.5rem)}to{transform:translateY(0)}}}@media(max-width:640px){.story-header-inner{align-items:flex-start;flex-direction:column;gap:.6rem;padding-block:.75rem}.header-actions{display:grid;grid-template-columns:minmax(0,1fr) 2.1rem auto;justify-content:stretch;width:100%;gap:.35rem}.current-location{grid-column:1 / -1;justify-content:center;width:100%}.current-location,.character-trigger{padding-inline:.55rem}.current-location>strong,.character-trigger>strong,.character-trigger>span:last-child{overflow:visible;text-overflow:clip}.character-trigger{grid-column:1;justify-content:center;width:100%}.debug-toggle{grid-column:2;width:2.1rem;overflow:hidden;font-size:0}.debug-toggle:before{content:"•••";font-size:.58rem;letter-spacing:.05em}.restart-button{grid-column:3;padding-inline:.35rem;border-color:#e9e3d51f;color:#e9e3d5c7;background:#ffffff06;font-size:.68rem;white-space:nowrap}.restart-button:disabled{opacity:.72}.header-actions>.error-message{text-align:left}.game-event,.check-card{width:100%;margin-left:0}.location-change-row{overflow-wrap:anywhere}.story-stage{padding-top:11.25rem;padding-bottom:5.5rem}.check-duel{grid-template-columns:minmax(0,1.4fr) 2.4rem minmax(0,.6fr);min-height:8.25rem;padding-top:.85rem;padding-inline:.65rem}.check-side{grid-template-rows:1rem 4.6rem 1rem}.check-value-slot,.d20-roll{width:4.6rem;height:4.6rem}.check-player-value{width:100%}.check-equation{gap:.25rem;font-size:1.2rem;transform:translate(2.35rem)}.check-dice-roll:not(.compact) .d20-roll{width:3.7rem;height:3.7rem}.stage-equation .check-player-value>.d20-roll,.stage-outcome .check-player-value>.d20-roll,.stage-settled .check-player-value>.d20-roll,.stage-collapsing .check-player-value>.d20-roll,.stage-complete .check-player-value>.d20-roll{transform:translate(-2.7rem)}.stage-equation .check-player-value>.check-dice-roll,.stage-outcome .check-player-value>.check-dice-roll,.stage-settled .check-player-value>.check-dice-roll,.stage-collapsing .check-player-value>.check-dice-roll,.stage-complete .check-player-value>.check-dice-roll{transform:translate(-3.7rem)}.check-duel-value{font-size:2.5rem}.check-comparison{height:6.4rem}}.event-disclosure{margin-block:0;padding-left:1.7rem;background:none;border:0;border-radius:0;box-shadow:none}.event-disclosure .event-toggle{display:block;width:100%;padding:0;text-align:left;border:0;background:none;color:var(--muted);font:inherit;font-size:.85rem;line-height:1.6;cursor:default}.event-disclosure button.event-toggle{cursor:pointer}.event-disclosure button.event-toggle:hover{color:var(--ink)}.event-disclosure button.event-toggle:focus-visible{outline:1px solid var(--ember);outline-offset:5px}.event-disclosure button.event-toggle:disabled{opacity:1;cursor:default}.event-disclosure.expanded .event-toggle{font-family:Georgia,serif;font-size:1.2rem;color:var(--ink);line-height:1.4}.event-disclosure.expanded .game-event-node{background:#b48d56}.event-disclosure .event-body{padding:.65rem 0 .4rem}.event-disclosure .event-body[hidden]{display:none}.event-source{color:var(--muted);font-size:.8rem;margin:0 0 .9rem;line-height:1.5}.event-mechanics{display:grid;gap:.3rem}.event-mechanic-row{display:grid;grid-template-columns:5rem max-content minmax(7rem,1fr) minmax(6rem,1fr);gap:.4rem;align-items:center;min-height:3.4rem;font-size:.75rem;color:var(--muted)}.event-formula{color:var(--ink);font-size:.9rem;font-variant-numeric:tabular-nums}.event-disclosure .d20-roll,.event-disclosure .check-dice-roll:not(.compact) .d20-roll,.event-disclosure .damage-die .d20-roll{width:3rem;height:3rem}.combat-dice{display:flex;align-items:center;flex-wrap:wrap;gap:.25rem}.combat-die{display:flex;align-items:center}.damage-die{display:grid;justify-items:center}.damage-die small{display:none}.event-disclosure .check-dice-roll{gap:.3rem;margin:0}.event-disclosure .check-die-choice{font-size:.6rem}.event-initiative{list-style:none;padding:0;margin:0;display:grid;gap:.3rem}.event-initiative li{display:grid;grid-template-columns:1.2rem minmax(5rem,1fr) 3rem minmax(6rem,1fr);align-items:center;gap:.4rem;font-size:.85rem;min-height:3.4rem}.initiative-rank{font-family:Georgia,serif;color:var(--ember)}.material-actions{display:grid;gap:.75rem;margin:.75rem 0}.material-action{display:grid;gap:.3rem;padding-left:.75rem;border-left:2px solid var(--ember);font-variant-numeric:tabular-nums}.material-action small{color:var(--muted)}@media(max-width:600px){.event-mechanic-row{grid-template-columns:4rem max-content minmax(0,1fr);column-gap:.4rem}.event-mechanic-row>:last-child:not(.event-formula){grid-column:3;margin-top:-.3rem}.event-initiative li{grid-template-columns:1rem minmax(3rem,1fr) 2.5rem minmax(5rem,1fr);gap:.4rem}.event-formula{font-size:.8rem}}.event-disclosure .event-reveal{display:grid;grid-template-rows:0fr;opacity:0;visibility:hidden;transform:translateY(-5px);transition:grid-template-rows .44s cubic-bezier(.22,.61,.36,1),opacity .24s ease,transform .38s ease,visibility 0s .44s}.event-disclosure.expanded .event-reveal{grid-template-rows:1fr;opacity:1;visibility:visible;transform:translateY(0);transition:grid-template-rows .44s cubic-bezier(.22,.61,.36,1),opacity .32s 70ms ease,transform .38s ease,visibility 0s}.event-reveal-clip{min-height:0;overflow:hidden}.event-disclosure.expanded .event-reveal-clip{animation:event-unclip .44s step-end forwards}@keyframes event-unclip{0%{overflow:hidden}to{overflow:visible}}@media(prefers-reduced-motion:reduce){.event-disclosure.expanded .event-reveal-clip{overflow:visible}}.event-disclosure .event-toggle{transition:font-size .38s ease,line-height .38s ease,color .26s ease}.event-disclosure .game-event-node{transition:background-color .3s ease,box-shadow .3s ease}.event-arriving{animation:event-arrival .46s cubic-bezier(.22,.61,.36,1) both}.expanded .event-body .event-source,.expanded .event-body .event-mechanic-row,.expanded .event-body .event-initiative li{animation:event-detail-arrival .38s ease both}.event-body .event-mechanic-row:nth-child(2),.event-body .event-initiative li:nth-child(2){animation-delay:70ms}.event-body .event-initiative li:nth-child(3){animation-delay:.12s}@keyframes event-arrival{0%{opacity:0;transform:translateY(9px)}to{opacity:1;transform:translateY(0)}}@keyframes event-detail-arrival{0%{opacity:0;transform:translateY(4px)}to{opacity:1;transform:translateY(0)}}@media(prefers-reduced-motion:reduce){.event-disclosure,.event-disclosure *{animation:none!important;transition:none!important;transform:none!important}.event-disclosure .event-reveal{visibility:hidden}.event-disclosure.expanded .event-reveal{visibility:visible}}.event-disclosure.expanded .event-formula.formula-ready{animation:formula-reveal .52s cubic-bezier(.22,.61,.36,1) both}@keyframes formula-reveal{0%{clip-path:inset(0 100% 0 0);opacity:0;transform:translate(-4px)}to{clip-path:inset(0 0 0 0);opacity:1;transform:translate(0)}}@media(prefers-reduced-motion:reduce){.event-disclosure.expanded .event-formula{animation:none}}.combat-die{flex-direction:column}.damage-dice,.dice-trigger-group.damage-dice{gap:1rem}.damage-dice>.combat-die{position:relative}.dice-sum{position:absolute;left:-.7rem;top:50%;translate:0 -50%;color:var(--muted);font-size:.85rem;line-height:1;pointer-events:none}.outcome-success{--outcome-color:#91e4b0;--outcome-glow:#35d58b}.outcome-critical{--outcome-color:#ffe3a0;--outcome-glow:#ffbc43}.outcome-failure{--outcome-color:#eeb1a5;--outcome-glow:#de715e}.event-body,.event-mechanics{position:relative}.die-visual{position:relative;display:flex;align-items:center;justify-content:center}.event-disclosure.has-outcome{position:relative;isolation:isolate}.event-outcome-label{color:var(--outcome-color)}.event-outcome-label{font-size:.8rem;font-weight:650;margin:0 0 .45rem}.outcome-feedback{position:absolute;inset:-.3rem -.8rem;pointer-events:none;z-index:-1;overflow:hidden;-webkit-mask-image:linear-gradient(90deg,transparent,#000 2%,#000 85%,transparent),linear-gradient(180deg,transparent,#000 12px,#000 calc(100% - 12px),transparent);mask-image:linear-gradient(90deg,transparent,#000 2%,#000 85%,transparent),linear-gradient(180deg,transparent,#000 12px,#000 calc(100% - 12px),transparent);-webkit-mask-composite:source-in;mask-composite:intersect;background:linear-gradient(90deg,color-mix(in srgb,var(--outcome-glow) 9%,transparent),transparent 90%)}.outcome-wave:after{content:"";position:absolute;inset:0;background:linear-gradient(105deg,transparent 15%,color-mix(in srgb,var(--outcome-glow) 28%,transparent) 45%,transparent 75%);animation:event-outcome-wave 1.6s cubic-bezier(.2,.6,.3,1) both}@keyframes event-outcome-wave{0%{transform:translate(-100%);opacity:0}20%{opacity:1}to{transform:translate(100%);opacity:0}}@media(prefers-reduced-motion:reduce){.outcome-wave:after{display:none}}.dice-trigger{appearance:none;border:0;background:none;color:#e9c694;padding:0;cursor:pointer;text-align:center;border-radius:12px;position:relative}.dice-trigger-group{display:flex;align-items:center;justify-content:center;gap:.25rem}.dice-awaiting{position:relative;isolation:isolate;display:flex;flex-direction:column;align-items:center;width:3rem;height:3rem;transition:transform .18s ease,filter .18s ease;filter:drop-shadow(0 0 7px #d09a4450)}.dice-awaiting:before{content:"";position:absolute;inset:-50%;z-index:-1;border-radius:50%;pointer-events:none;background:radial-gradient(circle,#ffc36a70 0%,#df912c35 35%,transparent 68%);animation:dice-awaiting-glow 2.4s ease-in-out infinite}@keyframes dice-awaiting-glow{0%,to{opacity:.25;transform:scale(.8)}50%{opacity:.9;transform:scale(1.1)}}.dice-trigger:hover .dice-awaiting,.dice-trigger:focus-visible .dice-awaiting{transform:translateY(-4px) rotate(-4deg);filter:drop-shadow(0 0 12px #f0b45eaa)}.dice-trigger:focus-visible{outline:2px solid #e6b66f;outline-offset:5px}.dice-trigger:active .dice-awaiting{transform:scale(.94)}@media(prefers-reduced-motion:reduce){.dice-awaiting:before{animation:none;opacity:.45}.dice-awaiting{transition:none}.dice-trigger:hover .dice-awaiting,.dice-trigger:focus-visible .dice-awaiting{transform:none}}.turn-recovery{display:flex;align-items:center;justify-content:space-between;gap:1rem;margin-bottom:.6rem;color:var(--muted);font-size:.8rem}.turn-recovery button{background:none;border:0;color:var(--ember);font:inherit;text-decoration:underline;cursor:pointer;flex-shrink:0}.ending-narration{white-space:pre-wrap;line-height:1.65;color:var(--ink)}.finished-composer{color:var(--muted);text-align:center;font-size:.9rem}.home-button{background:transparent;border:1px solid var(--line);border-radius:999px;color:var(--ink);padding:.5rem .8rem;cursor:pointer;white-space:nowrap}.home-button:focus-visible,.map-place-list button:focus-visible{outline:2px solid var(--ember-bright);outline-offset:3px}.map-dialog{border:1px solid var(--line);border-radius:16px;background:#171713;color:var(--ink);width:min(850px,calc(100vw - 28px));max-height:85dvh;padding:0}.map-dialog::backdrop{background:#000000a6}.map-dialog-content{padding:1.5rem}.map-dialog header{display:flex;justify-content:space-between;align-items:center}.map-dialog h2{font:1.7rem Georgia,serif;margin:0}.map-dialog header button{border:0;background:none;color:var(--ink);font-size:2rem;cursor:pointer}.map-drawing{display:block;width:100%;max-height:380px}.map-path{stroke:var(--line);stroke-width:2}.map-drawing circle{fill:#27261f;stroke:var(--ember);stroke-width:2}.map-drawing text{fill:var(--ink);font-size:15px;font-family:Georgia,serif;paint-order:stroke;stroke:#171713;stroke-width:5px;stroke-linejoin:round}.map-current circle{fill:var(--ember-bright)}.map-selected circle{stroke:var(--ember-bright)}.map-region-names,.map-hint,.map-connections{color:var(--muted);font-size:.85rem;line-height:1.6}.map-place-list{display:flex;gap:.6rem;flex-wrap:wrap}.map-place-list button{border:1px solid var(--line);border-radius:999px;background:transparent;color:var(--ink);padding:.5rem .8rem;cursor:pointer}.map-place-list button[aria-pressed=true]{border-color:var(--ember)}.map-place-list span{display:inline-block;margin-left:.5rem;color:var(--ember-bright);font-size:.75rem}@media(max-width:600px){.story-header-inner{flex-wrap:wrap}.header-actions{flex-wrap:wrap;gap:.45rem}.map-dialog-content{padding:1rem}.map-drawing{display:none}.map-place-list{display:grid}.map-place-list button{text-align:left}}@media(max-width:640px){.story-header{position:sticky}.story-header-inner{display:grid;grid-template-columns:auto minmax(0,1fr);align-items:center}.header-actions{grid-column:1 / -1}.current-location{grid-column:1 / 3}.map-button{grid-column:3;grid-row:1;padding-inline:.6rem}.story-stage{padding-top:1.5rem}}button.current-location{background:transparent;border:0;font:inherit;text-align:left;cursor:pointer;padding:6px 0}button.current-location:hover:not(:disabled) strong{text-decoration:underline;text-underline-offset:4px}button.current-location:focus-visible{outline:2px solid var(--ember-bright);outline-offset:4px;border-radius:4px}button.current-location:disabled{cursor:default;opacity:1}.gm-row{padding-left:3.35rem}.opening-illustration{display:block;width:100%;height:auto;margin-bottom:1.2rem;border-radius:.8rem}.npc-avatar{position:relative}.npc-portrait{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;opacity:0}.npc-portrait.loaded{opacity:1}.story-header .header-actions{flex-wrap:nowrap;gap:8px;flex-shrink:0}.story-header .session-nav-button{border:0;border-radius:8px;background:transparent;padding:10px 12px;color:var(--muted);font:inherit;font-size:.85rem;white-space:nowrap}.story-header .session-nav-button strong{font-weight:500}.story-header .session-nav-button:hover,.story-header .session-nav-button[aria-expanded=true]{background:#c5a47212;color:var(--text)}.story-header-inner h1{min-width:0}.session-settings{box-sizing:border-box;width:min(440px,calc(100vw - 32px));padding:28px;border:1px solid #c5a47235;border-radius:16px;background:#181914;color:var(--text,#e9e3d5);box-shadow:0 24px 100px #0007}.session-settings::backdrop{background:#0008;-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px)}.session-settings header{display:flex;align-items:center;justify-content:space-between;gap:24px;margin-bottom:28px}.session-settings h2{font:1.5rem Georgia,serif;margin:0}.session-settings header button{background:none;border:0;color:var(--muted);font-size:26px;padding:0 6px}.session-settings section+section{border-top:1px solid #c5a47220;margin-top:24px;padding-top:24px}.session-settings h3{font-size:.75rem;color:var(--muted);font-weight:500;margin:0 0 14px}.session-settings .adventure-audio{flex-direction:column;flex-wrap:nowrap;align-items:stretch;gap:16px}.settings-debug{display:flex;justify-content:space-between;gap:20px;width:100%;background:none;border:0;color:inherit;font:inherit;font-size:.85rem;padding:6px 0;text-align:left}@media(max-width:600px){.story-header .header-actions{gap:0}.story-header .session-nav-button{font-size:.75rem;padding:10px 7px}.story-header-inner{gap:8px}.story-header-inner h1{font-size:1rem}.story-header .home-button{width:32px;height:32px;flex-shrink:0}}.player-avatar .chat-player-portrait{display:block;width:100%;height:100%;border-radius:inherit;object-fit:cover}.turn-timeline-block{position:relative;display:grid;min-width:0}.turn-timeline-block .game-event:before{display:none}.turn-timeline-block.timeline-lined:before{content:"";position:absolute;pointer-events:none;left:3.65rem;top:var(--turn-line-start,0px);bottom:0;width:1px;background-image:linear-gradient(to bottom,#d88a4d52,#d88a4d05);background-size:1px var(--turn-line-height,100%);background-position:0 var(--turn-line-offset,0px);background-repeat:no-repeat}.turn-timeline-block.timeline-continues:before{bottom:-1.25rem}.turn-log .gm-row{position:relative;padding-left:1.7rem;font-size:clamp(1.06rem,2.2vw,1.28rem)}.turn-log .game-event{margin-left:0;width:min(48rem,100%);padding-left:1.7rem}.turn-timeline-block.timeline-lined:before{left:.3rem}.turn-log .npc-row{position:relative;padding-left:2.35rem;width:min(44rem,100%);min-height:2.55rem}.turn-log .npc-row .npc-avatar{position:absolute;left:.3rem;top:0;transform:translate(-50%);z-index:1}.turn-log .npc-row .message-content{display:grid;justify-items:start;padding-left:0}.npc-row .npc-block{max-width:38rem;margin:0;padding:.85rem 1.05rem;border:1px solid rgba(136,170,174,.19);border-radius:.25rem 1rem 1rem;background:linear-gradient(145deg,#70979e21,#70979e0d);color:#e2e9e6;font-family:inherit;font-size:1rem;line-height:1.55;white-space:pre-wrap}.story-header-inner{display:grid;grid-template-columns:minmax(16rem,1fr) minmax(0,2fr) minmax(16rem,1fr);gap:1rem}.story-header-inner>.home-button{grid-column:1;grid-row:1;justify-self:start}.story-header-inner>h1{grid-column:2;grid-row:1;text-align:center}.story-header-inner>.header-actions{grid-column:3;grid-row:1;justify-self:end}@media(max-width:640px){.story-header-inner{grid-template-columns:2rem minmax(0,1fr) 2rem;gap:.5rem}.story-header-inner>.header-actions{grid-column:1 / -1;grid-row:2;display:flex;justify-content:center}}@media(min-width:1200px){.character-drawer-overlay{left:auto;width:24rem;background:transparent;backdrop-filter:none;-webkit-backdrop-filter:none}.character-drawer{width:100%;box-shadow:-8px 0 24px #0003}body:has(.character-drawer-overlay) .game-shell{width:calc(100% - 24rem);margin-left:0}body:has(.character-drawer-overlay) .story-header{right:24rem;width:auto}body:has(.character-drawer-overlay) .composer{right:24rem;width:min(70rem,calc(100% - 26rem))}}.character-drawer .character-stats{grid-template-columns:repeat(6,minmax(0,1fr));gap:.2rem}.hero-stat{min-width:0;text-align:center;font-size:.6rem;color:var(--muted)}.hero-stat strong{display:block;margin-top:.2rem;color:var(--ink);font-size:.9rem;font-weight:500;font-variant-numeric:tabular-nums}.character-drawer .material-list{gap:0}.character-drawer .material-section+.material-section{border-top:0;padding-top:0}.hero-material{min-width:0;border-bottom:1px solid var(--line)}.hero-material summary{list-style:none;cursor:pointer;padding:.75rem 0}.hero-material summary::-webkit-details-marker{display:none}.hero-material summary:focus-visible{outline:2px solid var(--ember);outline-offset:3px}.hero-material-heading{display:flex;align-items:baseline;justify-content:space-between;gap:.65rem}.hero-material-name{font-size:.9rem;font-weight:600;overflow-wrap:anywhere;min-width:0}.hero-material-equipped,.hero-material-uses{font-size:.6rem;white-space:nowrap;color:var(--muted)}.hero-material-equipped{color:#d5b379}.hero-material-metrics,.hero-material-action{display:flex;align-items:baseline;flex-wrap:wrap;gap:.2rem 1.2rem}.hero-material-metrics{margin-top:.2rem;color:var(--muted);font-size:.72rem;font-variant-numeric:tabular-nums}.hero-material-metrics:empty{display:none}.hero-material-action{width:100%}.hero-material-metrics b{font-weight:500;color:var(--ink)}.hero-material-description{padding:0 0 .85rem;color:var(--muted);font-size:.74rem;line-height:1.6;white-space:pre-wrap;overflow-wrap:anywhere}@media(prefers-reduced-motion:no-preference){.hero-material[open] .hero-material-description{animation:hero-detail-in .18s ease-out}}@keyframes hero-detail-in{0%{opacity:0;transform:translateY(-3px)}to{opacity:1;transform:translateY(0)}}.character-drawer .character-summary{grid-template-columns:minmax(0,1fr) 2.75rem;gap:.65rem;width:100%}.character-drawer .hp-thermometer{min-height:2rem;padding:0 .7rem;box-shadow:none}.character-drawer .hp-thermometer strong{font-family:inherit;font-size:.8rem;font-weight:600;font-variant-numeric:tabular-nums}.character-drawer .hp-thermometer-label{font-size:.6rem;font-weight:600;letter-spacing:.05em}.character-drawer .defense-shield{width:2.75rem;height:2.9rem;filter:none}.character-drawer .defense-shield strong{font-family:inherit;font-size:.95rem;font-weight:600;transform:translateY(-.05rem)}.multi-attack-step{position:relative;isolation:isolate;padding:.6rem .8rem;margin:.5rem -.8rem}.multi-attack-step>.outcome-feedback{inset:0}.attack-step-heading{margin:0 0 .3rem;font-size:.85rem;color:var(--ink)}.attack-step-result.hit{color:#97c7a2}.attack-step-result.miss{color:#cf9d8c}.scroll-to-latest{position:absolute;left:50%;transform:translate(-50%);bottom:calc(100% + .65rem);display:grid;place-items:center;width:2.6rem;height:2.6rem;padding:0;border:1px solid #d6b57766;border-radius:50%;background:#1b1c1759;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);color:#e6cb99;box-shadow:0 3px 16px #0003;cursor:pointer;transition:background .2s,transform .2s}.scroll-to-latest:hover{background:#302c2280;transform:translate(-50%,2px)}.scroll-to-latest:focus-visible{outline:2px solid #e6cb99;outline-offset:3px}@media(prefers-reduced-motion:reduce){.scroll-to-latest{transition:none}}
