@import "https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@500;600;700&family=Space+Grotesk:wght@400;500;700&display=swap";@layer components;@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-rotate-x:initial;--tw-rotate-y:initial;--tw-rotate-z:initial;--tw-skew-x:initial;--tw-skew-y:initial;--tw-shadow:0 0 #0000;--tw-shadow-color:initial;--tw-shadow-alpha:100%;--tw-inset-shadow:0 0 #0000;--tw-inset-shadow-color:initial;--tw-inset-shadow-alpha:100%;--tw-ring-color:initial;--tw-ring-shadow:0 0 #0000;--tw-inset-ring-color:initial;--tw-inset-ring-shadow:0 0 #0000;--tw-ring-inset:initial;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-offset-shadow:0 0 #0000;--tw-blur:initial;--tw-brightness:initial;--tw-contrast:initial;--tw-grayscale:initial;--tw-hue-rotate:initial;--tw-invert:initial;--tw-opacity:initial;--tw-saturate:initial;--tw-sepia:initial;--tw-drop-shadow:initial;--tw-drop-shadow-color:initial;--tw-drop-shadow-alpha:100%;--tw-drop-shadow-size:initial}}}@layer theme{:root,:host{--font-sans:ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";--font-mono:ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;--spacing:.25rem;--default-transition-duration:.15s;--default-transition-timing-function:cubic-bezier(.4, 0, .2, 1);--default-font-family:var(--font-sans);--default-mono-font-family:var(--font-mono)}}@layer base{*,:after,:before,::backdrop{box-sizing:border-box;border:0 solid;margin:0;padding:0}::file-selector-button{box-sizing:border-box;border:0 solid;margin:0;padding:0}html,:host{-webkit-text-size-adjust:100%;tab-size:4;line-height:1.5;font-family:var(--default-font-family,ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji");font-feature-settings:var(--default-font-feature-settings,normal);font-variation-settings:var(--default-font-variation-settings,normal);-webkit-tap-highlight-color:transparent}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:var(--default-mono-font-family,ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace);font-feature-settings:var(--default-mono-font-feature-settings,normal);font-variation-settings:var(--default-mono-font-variation-settings,normal);font-size:1em}small{font-size:80%}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}:-moz-focusring{outline:auto}progress{vertical-align:baseline}summary{display:list-item}ol,ul,menu{list-style:none}img,svg,video,canvas,audio,iframe,embed,object{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}button,input,select,optgroup,textarea{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::file-selector-button{margin-inline-end:4px}::placeholder{opacity:1}@supports (not ((-webkit-appearance:-apple-pay-button))) or (contain-intrinsic-size:1px){::placeholder{color:currentColor}@supports (color:color-mix(in lab, red, red)){::placeholder{color:color-mix(in oklab, currentcolor 50%, transparent)}}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit{padding-block:0}::-webkit-datetime-edit-year-field{padding-block:0}::-webkit-datetime-edit-month-field{padding-block:0}::-webkit-datetime-edit-day-field{padding-block:0}::-webkit-datetime-edit-hour-field{padding-block:0}::-webkit-datetime-edit-minute-field{padding-block:0}::-webkit-datetime-edit-second-field{padding-block:0}::-webkit-datetime-edit-millisecond-field{padding-block:0}::-webkit-datetime-edit-meridiem-field{padding-block:0}::-webkit-calendar-picker-indicator{line-height:1}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]){appearance:button}::file-selector-button{appearance:button}::-webkit-inner-spin-button{height:auto}::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}}@layer utilities{.visible{visibility:visible}.fixed{position:fixed}.relative{position:relative}.static{position:static}.start{inset-inline-start:var(--spacing)}.end{inset-inline-end:var(--spacing)}.isolate{isolation:isolate}.container{width:100%}@media (width>=40rem){.container{max-width:40rem}}@media (width>=48rem){.container{max-width:48rem}}@media (width>=64rem){.container{max-width:64rem}}@media (width>=80rem){.container{max-width:80rem}}@media (width>=96rem){.container{max-width:96rem}}.block{display:block}.contents{display:contents}.hidden{display:none}.inline{display:inline}.table{display:table}.grow{flex-grow:1}.transform{transform:var(--tw-rotate-x,) var(--tw-rotate-y,) var(--tw-rotate-z,) var(--tw-skew-x,) var(--tw-skew-y,)}.ps-1{padding-inline-start:calc(var(--spacing) * 1)}.ps-2{padding-inline-start:calc(var(--spacing) * 2)}.ps-3{padding-inline-start:calc(var(--spacing) * 3)}.shadow{--tw-shadow:0 1px 3px 0 var(--tw-shadow-color,#0000001a), 0 1px 2px -1px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.blur{--tw-blur:blur(8px);filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}.invert{--tw-invert:invert(100%);filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}.filter{filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}.transition{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to,opacity,box-shadow,transform,translate,scale,rotate,filter,-webkit-backdrop-filter,backdrop-filter,display,content-visibility,overlay,pointer-events;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}}:root{--bg:#0f0c0f;--panel:#1c1115d1;--panel-strong:#2b181ef0;--panel-soft:#351f26a3;--border:#dec28f3d;--text:#f5efe2;--muted:#c6b9a4;--accent:#d06a3a;--accent-soft:#d06a3a2e;--accent-cold:#93a8a2;--gold:#e5c17b;--hp:#d86a61;--gems:#72c7b7;--banked:#d8b56a;--error:#ff9a74;--shadow:0 28px 80px #00000059}*{box-sizing:border-box}html{min-height:100%}body{min-height:100%;color:var(--text);background:radial-gradient(circle at top,#d06a3a33,#0000 28%),radial-gradient(circle at 20% 20%,#93a8a21f,#0000 24%),linear-gradient(#130f13,#0b090c 62%,#120b0d);margin:0;font-family:Space Grotesk,sans-serif}a,button,input{font:inherit}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.6}#root{min-height:100vh}.app-shell{min-height:100vh;position:relative;overflow:hidden}.app-backdrop{pointer-events:none;background-color:#0000;background-image:linear-gradient(90deg,#ffffff08 1px,#0000 1px),linear-gradient(#ffffff08 1px,#0000 1px);background-position:0 0,0 0;background-repeat:repeat,repeat;background-size:44px 44px;background-attachment:scroll,scroll;background-origin:padding-box,padding-box;background-clip:border-box,border-box;position:fixed;inset:0;-webkit-mask-image:linear-gradient(#000000d9,#0000);mask-image:linear-gradient(#000000d9,#0000)}.topbar{z-index:2;-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);background:#0a080a85;border-bottom:1px solid #ffffff0f;justify-content:space-between;align-items:center;gap:1rem;padding:.8rem clamp(1rem,2vw,2rem);display:flex;position:sticky;top:0}.floating-brand,.floating-actions{z-index:5;position:fixed;top:1rem}.floating-brand{color:var(--text);text-shadow:0 8px 24px #0000004d;font-family:Cormorant Garamond,serif;font-size:clamp(1.5rem,2vw,2.2rem);font-weight:700;line-height:1;left:1.25rem}.floating-actions{right:1.25rem}.topbar h1,.hero-panel h2,.card h3,.summary-entry h4{margin:0;font-family:Cormorant Garamond,serif;font-weight:700}.topbar h1{font-size:clamp(1.55rem,3vw,2.35rem);line-height:.9}.eyebrow{text-transform:uppercase;letter-spacing:.24em;color:var(--accent-cold);margin:0 0 .4rem;font-size:.68rem}.page-grid{z-index:1;grid-template-columns:minmax(0,1.1fr) minmax(0,1.6fr);gap:1.75rem;width:100%;max-width:1360px;margin:0 auto;padding:clamp(.85rem,2vw,1.6rem);display:grid;position:relative}.page-grid.without-hero{max-width:1320px;padding-top:3.9rem;padding-bottom:8rem;display:block}.hero-panel,.card{border:1px solid var(--border);box-shadow:var(--shadow);border-radius:32px}.hero-panel{background:radial-gradient(circle at 100% 0,#d06a3a38,#0000 32%),linear-gradient(145deg,#221519eb,#120c11f2);min-height:24rem;padding:clamp(2rem,4vw,3.25rem);position:relative;overflow:hidden}.hero-panel:after{content:"";background:radial-gradient(circle,#ffffff1a,#0000 70%);border:1px solid #ffffff14;border-radius:999px;width:12rem;height:12rem;position:absolute;inset:auto -3rem -3rem auto}.hero-kicker{max-width:28rem;color:var(--accent-cold);margin:0;font-size:1rem}.hero-panel h2{max-width:12ch;margin-top:.8rem;font-size:clamp(2.4rem,5vw,4.8rem);line-height:.92}.hero-copy,.muted,.choice-card span,.token-badge span,.outcome-row p{color:var(--muted)}.hero-copy{max-width:40rem;margin:1.5rem 0 0;font-size:1.04rem;line-height:1.7}.hero-pills,.modifier-row,.status-cluster{flex-wrap:wrap;gap:.65rem;display:flex}.hero-pills{margin-top:2rem}.hero-pills span,.status-pill,.modifier-row span{background:#ffffff0a;border:1px solid #ffffff17;border-radius:999px;padding:.5rem .85rem;font-size:.84rem}.game-layout{grid-template-columns:1fr;gap:1rem;max-width:1520px;margin:0 auto;display:grid}.room-toolbar{justify-content:space-between;align-items:center;gap:.85rem;width:min(100%,1040px);margin:0 auto;display:flex}.room-toolbar-block,.room-toolbar-actions,.player-dock-badges,.player-dock-footer-left{align-items:center;gap:.5rem;display:flex}.room-toolbar-block,.room-toolbar-actions{flex-wrap:wrap}.room-code-chip,.player-role-badge,.dock-vote-pill,.dock-action-button{background:#ffffff0a;border:1px solid #ffffff17;border-radius:999px;justify-content:center;align-items:center;display:inline-flex}.room-code-chip{color:var(--gold);padding:.3rem .7rem;font-size:.78rem}.room-owner-copy{font-size:.86rem}.room-card{max-width:36rem}.room-join-form{max-width:22rem}.stage-frame{display:block}.stage-card-shell{width:min(100%,1040px);min-height:31rem;margin:0 auto;position:relative}.stage-card,.summary-card{min-height:100%}.stage-card{width:100%;position:relative;overflow:hidden}.stage-card.is-table-hovered{box-shadow:inset 0 0 0 1px #efc98b24, var(--shadow)}.card{background:var(--panel);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);padding:1.75rem}.auth-card,.loading-card{grid-column:2;align-self:start}.hud-bar{grid-template-columns:1fr;align-items:stretch;gap:.45rem;display:grid}.door-track,.banked-bar,.player-dock-card{box-shadow:var(--shadow);background:#1e1216d6;border:1px solid #ffffff14}.door-track,.banked-bar{-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);border-radius:18px;width:fit-content;min-width:100%;padding:.55rem .75rem}.door-track-header{justify-content:space-between;align-items:baseline;gap:.75rem;margin-bottom:.38rem;display:flex}.door-track-header strong{color:var(--gold);font-size:.8rem}.door-timeline{grid-auto-columns:4.4rem;grid-auto-flow:column;justify-content:start;gap:.3rem;display:grid}.door-node{min-height:1.55rem;color:var(--muted);background:#ffffff08;border:1px solid #ffffff12;border-radius:999px;justify-content:center;align-items:center;font-size:.68rem;display:flex;position:relative}.door-node.active{color:#1e1214;background:linear-gradient(135deg,#efc98b,#d06a3a);border-color:#efc98b59}.door-node.past{color:var(--text);background:#93a8a21f}.ghost-button,.primary-button,.secondary-button,.text-button,.choice-card{transition:transform .18s,border-color .18s,background .18s,opacity .18s,box-shadow .18s,filter .18s}.ghost-button,.secondary-button,.primary-button{border:1px solid #0000;border-radius:999px;padding:.55rem .95rem}.ghost-button{color:var(--text);background:#ffffff0a;border-color:#ffffff14}.primary-button{color:#1a1012;background:linear-gradient(135deg,#edc486,#d06a3a);box-shadow:0 14px 34px #d06a3a33}.secondary-button{color:var(--text);background:#ffffff0f;border-color:#ffffff14}.text-button{color:var(--accent-cold);text-align:left;background:0 0;border:0;padding:0}.ghost-button:hover,.primary-button:hover,.secondary-button:hover,.text-button:hover,.choice-card:hover{transform:translateY(-1px)}.auth-card,.auth-form,.phase-panel,.summary-entry,.outcome-list,.leaderboard-list,.roster-list{flex-direction:column;gap:1.15rem;display:flex}.divider{color:var(--muted);align-items:center;gap:1rem;font-size:.85rem;display:flex}.divider:before,.divider:after{content:"";background:#ffffff1a;flex:1;height:1px}.auth-form label{flex-direction:column;gap:.45rem;display:flex}.checkbox-field{align-items:center;flex-direction:row!important}.checkbox-field input{width:1rem;height:1rem}.auth-form input{color:var(--text);background:#ffffff0a;border:1px solid #ffffff17;border-radius:16px;padding:.9rem 1rem}.auth-form input::placeholder{color:#c6b9a4b3}.error-banner{color:var(--error);background:#ff9a741f;border:1px solid #ff9a743d;border-radius:16px;margin:0;padding:.9rem 1rem}.stage-header,.section-header,.roster-row,.leaderboard-row,.outcome-row{justify-content:space-between;gap:1.2rem;display:flex}.stage-header,.section-header{align-items:start}.phase-title{margin:0;font-size:1.16rem}.compact-stage-header{align-items:flex-start;gap:.95rem;margin-bottom:1rem}.stage-title-block{min-width:0}.encounter-title-row{justify-content:space-between;align-items:center;gap:1.15rem;display:flex}.encounter-title-row h3{max-width:28rem;font-size:clamp(1.65rem,2.4vw,2.2rem);line-height:.95}.inline-tags{justify-content:flex-end;gap:.28rem}.small-pill{letter-spacing:.1em;color:#f5e8d6bd;background:#ffffff04;border-color:#ffffff0d;padding:.12rem .34rem;font-size:.5rem;line-height:1.1}.progress-pill{color:var(--gold)}.compact-status-cluster{flex-direction:column;flex-shrink:0;align-items:flex-end;gap:.35rem;display:flex}.table-cursor-pill{text-align:right;color:#f5e8d6e0;max-width:15rem}.table-cursor-pill.is-live{color:#1e1214;background:linear-gradient(135deg,#efc98beb,#d06a3aeb);border-color:#efc98b6b}.table-cursor-layer{pointer-events:none;z-index:2;position:absolute;inset:0}.table-cursor-ghost{flex-direction:column;align-items:flex-start;gap:.28rem;display:flex;position:absolute;transform:translate(-10%,-10%)}.table-cursor-pointer{background:linear-gradient(#f8e7bf,#d06a3a);border-radius:.16rem .16rem .16rem .62rem;width:.95rem;height:.95rem;transform:rotate(-24deg);box-shadow:0 0 0 1px #140c0e73,0 10px 20px #00000047}.table-cursor-label{color:#1a1012;white-space:nowrap;background:#efc98beb;border-radius:999px;align-items:center;max-width:12.5rem;padding:.22rem .48rem;font-size:.68rem;line-height:1.2;display:inline-flex;box-shadow:0 8px 18px #0000003d}.encounter-flavor-block{flex-direction:column;gap:.22rem;margin-top:.55rem;display:flex}.compact-flavor{font-size:.98rem;line-height:1.24}.compact-support-copy{margin:.65rem 0 0}.stage-body{grid-template-columns:13rem minmax(0,1fr);align-items:start;gap:.7rem;display:grid}.centered-stage-body{display:block}.stage-side-rail{min-width:0}.floating-activity-rail{width:15rem;height:100%;position:absolute;top:0;right:calc(100% + .18rem)}.rail-card{box-shadow:var(--shadow);background:#201419d1;border:1px solid #ffffff14;border-radius:16px;flex-direction:column;height:100%;padding:.9rem;display:flex}.compact-section-header{margin-bottom:.65rem}.compact-section-header h3{font-size:.92rem}.rail-scroll-area{flex-direction:column;flex:1;gap:.55rem;min-height:0;padding-right:.22rem;display:flex;overflow-y:auto}.rail-summary-entry{padding:.75rem}.activity-entry{flex-direction:column;gap:.35rem;display:flex}.activity-entry h4{font-size:.94rem}.activity-entry-head{align-items:center;gap:.35rem;display:flex}.activity-entry-dot{background:var(--accent);border-radius:999px;width:.38rem;height:.38rem;box-shadow:0 0 8px #d06a3a66}.activity-body{-webkit-line-clamp:3;-webkit-box-orient:vertical;font-size:.84rem;line-height:1.3;display:-webkit-box;overflow:hidden}.activity-meta{flex-wrap:wrap;align-items:center;gap:.3rem;margin:0;font-size:.76rem;line-height:1.2;display:flex}.activity-meta-item{color:#d7cab4;font-style:italic;font-weight:600}.activity-meta-separator{opacity:.55}.stage-main-panel{min-width:0}.token-badge,.choice-card,.summary-entry,.leaderboard-row,.roster-row{background:#ffffff09;border:1px solid #ffffff14}.stat-grid,.choice-grid{gap:1rem;display:grid}.phase-panel{background:var(--panel-strong);border:1px solid #ffffff0d;border-radius:16px;margin-top:0;padding:.9rem}.lobby-actions{flex-wrap:wrap;align-items:center;gap:.7rem;display:flex}.lobby-room-settings{margin-top:.2rem}.lobby-room-settings select{color:var(--text);background:#ffffff0a;border:1px solid #ffffff17;border-radius:16px;padding:.9rem 1rem}.room-settings-summary,.room-list-meta{margin:0;font-size:.84rem}.join-requests-panel{margin-top:.25rem}.join-request-list{flex-direction:column;gap:.75rem;display:flex}.join-request-card{background:#ffffff09;border:1px solid #ffffff14;border-radius:16px;justify-content:space-between;align-items:center;gap:.85rem;padding:.8rem;display:flex}.join-request-card p{margin:.25rem 0 0}.token-draft-panel{gap:.8rem;display:grid}.token-draft-copy{margin:0}.token-draft-options{gap:.7rem;display:grid}.token-draft-option{width:100%;color:var(--text);text-align:left;background:#ffffff0a;border:1px solid #ffffff14;border-radius:16px;align-items:center;gap:.85rem;padding:.8rem .9rem;display:flex}.token-draft-option small{color:var(--muted);margin-top:.15rem;display:block}.token-draft-option.selected{background:#e6c58e17;border-color:#e6c58e80}.lobby-ready-copy{letter-spacing:.03em;margin:0;font-size:.86rem}.flavor{color:#e7d7c0;margin:0;font-style:italic}.choice-grid{grid-template-columns:repeat(3,minmax(0,1fr));align-items:stretch;gap:1.15rem;margin-top:.35rem}.choice-panel-bare{background:0 0;border:0;padding:0}.encounter-panel{box-shadow:none;background:0 0;border:0;margin-top:.85rem;padding:0}.choice-card{text-align:center;transform-origin:bottom;background:linear-gradient(#ffffff0a,#ffffff05),#ffffff08;border-radius:16px;flex-direction:column;gap:1.15rem;width:100%;min-height:16.75rem;padding:1.2rem 1.15rem 1.25rem;display:flex;box-shadow:inset 0 1px #ffffff0a,0 8px 22px #0000002e}.choice-card:hover{filter:saturate(1.04);border-color:#efc98b4d;transform:translateY(-4px)scale(1.012);box-shadow:inset 0 1px #ffffff14,0 18px 40px #00000057,0 0 0 1px #d06a3a14}.choice-card-header{flex-direction:column;justify-content:center;align-items:center;gap:.75rem;display:flex}.choice-card-header strong{font-size:1.34rem;line-height:1.05}.choice-copy{flex-direction:column;align-items:center;gap:.75rem;display:flex}.choice-clause{color:var(--muted);text-align:center;margin:0;font-size:1rem;line-height:1.5}.choice-card em{color:var(--accent-cold);letter-spacing:.08em;text-transform:uppercase;background:#93a8a21f;border:1px solid #93a8a233;border-radius:999px;flex-shrink:0;padding:.35rem .6rem;font-size:.74rem;font-style:normal}.choice-card.selected{background:linear-gradient(180deg, #d06a3a24, #d06a3a12), var(--accent-soft);border-color:#d06a3ab3;box-shadow:inset 0 0 0 1px #d06a3a24,0 14px 30px #00000038}.inline-strong{color:var(--text);font-weight:700}.inline-value{white-space:nowrap;border-radius:999px;align-items:center;gap:.38rem;margin:0 .12rem;padding:.18rem .52rem;font-weight:700;display:inline-flex}.inline-value:before{content:"";flex-shrink:0;width:.52rem;height:.52rem}.inline-value.hp{color:#ffd6d1;background:#d86a612e;border:1px solid #d86a613d}.inline-value.hp:before{background:var(--hp);border-radius:.12rem;transform:rotate(45deg)}.inline-value.gems{color:#d6fff7;background:#72c7b724;border:1px solid #72c7b733}.inline-value.gems:before{background:var(--gems);border-radius:.08rem;transform:rotate(45deg)}.roster-list,.summary-list,.leaderboard-list{margin-top:1.15rem}.roster-row,.leaderboard-row{border-radius:22px;align-items:center;padding:1rem 1.15rem}.roster-metrics{text-align:right;color:var(--muted);flex-direction:column;gap:.25rem;display:flex}.summary-entry{border-radius:14px;padding:.9rem}.player-dock{z-index:4;grid-auto-columns:12.25rem;grid-auto-flow:column;gap:.55rem;max-width:min(1280px,100vw - 1.5rem);padding:.15rem .2rem .3rem;display:grid;position:fixed;bottom:.7rem;left:50%;overflow-x:auto;transform:translate(-50%)}.player-dock-card{-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);border-radius:14px;min-height:6.1rem;padding:.65rem .7rem}.player-dock-card.is-viewer{box-shadow:inset 0 0 0 1px #efc98b1f, var(--shadow);border-color:#efc98b59}.player-dock-header,.player-dock-footer,.player-dock-stats{justify-content:space-between;align-items:center;gap:.75rem;display:flex}.player-dock-header{align-items:flex-start}.player-rank{color:var(--accent-cold);font-size:.76rem}.player-role-badge{letter-spacing:.09em;text-transform:uppercase;color:var(--gold);padding:.18rem .45rem;font-size:.54rem}.ready-badge{color:#c7f0e8;background:#72c7b71f;border-color:#72c7b738}.player-dock-stats{flex-wrap:wrap;margin-top:.45rem}.dock-stat,.icon-slot{background:#ffffff0a;border:1px solid #ffffff17;border-radius:999px;justify-content:center;align-items:center;padding:.24rem .52rem;font-size:.72rem;display:inline-flex}.dock-stat.hp{color:#ffd6d1}.dock-stat.gems{color:#d6fff7}.player-dock-footer{justify-content:space-between;margin-top:.45rem}.dock-vote-pill{color:var(--muted);padding:.2rem .48rem;font-size:.68rem}.dock-action-button{color:var(--text);cursor:pointer;padding:.3rem .62rem;font-size:.7rem}.icon-slot{width:1.85rem;height:1.85rem;color:var(--gold);cursor:help;padding:0;font-weight:700}.token-icon{background:#e5c17b14}.banked-inline{color:var(--gold)}.compact-row{gap:.45rem}.outcome-row{flex-wrap:wrap;align-items:baseline;row-gap:.45rem}.outcome-row p{flex-basis:100%;margin:0;font-size:.88rem}.leaderboard-row{grid-template-columns:auto 1fr auto}.leader-index{width:2.4rem;color:var(--accent-cold);font-size:1.2rem}.topbar-links,.floating-nav-group{align-items:center;gap:.55rem;display:flex}.codex-shell{z-index:1;max-width:1360px;margin:0 auto;padding:4.4rem clamp(1rem,2vw,1.75rem) 4rem;position:relative}.codex-hero,.codex-section,.codex-empty-state{z-index:1;position:relative}.codex-hero{gap:1.25rem;margin-bottom:1.25rem;display:grid}.codex-hero-copy{max-width:48rem}.codex-hero h1,.codex-section-header h2,.codex-entry-card h3,.codex-card-entry h3,.codex-encounter-card h3,.codex-card-entry h4,.codex-empty-state h2{margin:0;font-family:Cormorant Garamond,serif;font-weight:700}.codex-hero h1{font-size:clamp(2.7rem,7vw,5rem);line-height:.92}.codex-lead{max-width:44rem;color:var(--muted);margin:.85rem 0 0;font-size:1.02rem;line-height:1.7}.codex-hero-actions{justify-content:flex-start;display:flex}.codex-overview-grid,.codex-grid{gap:1rem;display:grid}.codex-overview-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.codex-overview-card,.codex-entry-card,.codex-card-entry{box-shadow:var(--shadow);background:#1b1116d1;border:1px solid #ffffff14;border-radius:22px}.codex-overview-card{flex-direction:column;gap:.28rem;padding:1rem 1.1rem;display:flex}.codex-overview-card-header,.codex-heading-with-icon,.codex-entry-head,.codex-entry-title-row,.codex-encounter-actions{align-items:center;gap:.75rem;display:flex}.codex-overview-card-header{justify-content:space-between;align-items:flex-start}.codex-heading-with-icon,.codex-entry-title-row{align-items:flex-start}.codex-entry-head,.codex-encounter-actions{justify-content:space-between}.codex-icon-badge,.codex-sigil{background:#ffffff0a;border:1px solid #ffffff1a;border-radius:999px;flex-shrink:0;justify-content:center;align-items:center;display:inline-flex}.codex-icon-badge{width:2.4rem;height:2.4rem;color:var(--gold)}.codex-icon-badge.large{width:2.8rem;height:2.8rem}.codex-icon-badge svg{width:1.2rem;height:1.2rem}.codex-icon-badge.large svg{width:1.35rem;height:1.35rem}.codex-icon-badge.ember{color:#f0c58a;background:#d06a3a29}.codex-icon-badge.moss{color:#d2fff7;background:#72c7b71f}.codex-icon-badge.pale{color:#e9dfcf;background:#ffffff0d}.codex-icon-badge.accent{color:#ffd6c4;background:#d06a3a1f}.codex-icon-badge.subtle{width:2.1rem;height:2.1rem}.codex-sigil{width:2.5rem;height:2.5rem;color:var(--gold);letter-spacing:.12em;background:radial-gradient(circle at top,#d06a3a29,#0000 70%),#ffffff0a;font-size:.74rem;font-weight:700}.codex-sigil.small{width:2rem;height:2rem;font-size:.62rem}.codex-overview-card strong{color:var(--gold);font-size:clamp(1.7rem,3vw,2.6rem)}.codex-overview-card span,.codex-section-header span,.codex-card-meta a,.codex-jump-links a{color:var(--muted)}.codex-toolbar{gap:1rem;margin-bottom:1.4rem;display:grid}.codex-search-field{flex-direction:column;gap:.45rem;display:flex}.codex-search-field input{color:var(--text);background:#ffffff0a;border:1px solid #ffffff17;border-radius:18px;padding:.9rem 1rem}.codex-filter-cluster,.codex-jump-links{flex-wrap:wrap;gap:.65rem;display:flex}.codex-filter-pill{color:var(--text);background:#ffffff0a;border:1px solid #ffffff17;border-radius:999px;justify-content:center;align-items:center;padding:.55rem .9rem;text-decoration:none;display:inline-flex}.codex-filter-pill.active{color:#1a1012;background:linear-gradient(135deg,#edc486,#d06a3a);border-color:#efc98b47}.codex-jump-links a,.codex-card-meta a{text-decoration:none}.codex-permalink{color:var(--muted);white-space:nowrap;align-items:center;gap:.4rem;font-size:.82rem;text-decoration:none;display:inline-flex}.codex-permalink svg{width:.95rem;height:.95rem}.codex-layout,.codex-encounter-list{gap:1.4rem;display:grid}.codex-section{gap:.95rem;display:grid}.codex-section-header,.codex-encounter-header,.codex-card-meta{justify-content:space-between;align-items:flex-start;gap:1rem;display:flex}.codex-grid-compact,.codex-card-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.codex-entry-card,.codex-card-entry{padding:1.15rem}.codex-entry-card,.codex-card-entry,.codex-encounter-card,.codex-section{scroll-margin-top:5.5rem}.codex-entry-card:target,.codex-card-entry:target,.codex-encounter-card:target{box-shadow:inset 0 0 0 1px #efc98b29, var(--shadow);border-color:#efc98b5c}.codex-entry-card p,.codex-card-entry p{margin:0;line-height:1.55}.codex-entry-type{text-transform:uppercase;letter-spacing:.14em;color:var(--accent-cold);margin:0 0 .45rem;font-size:.68rem}.codex-entry-card h3,.codex-card-entry h3,.codex-card-entry h4,.codex-encounter-card h3{margin-bottom:.55rem;font-size:1.5rem;line-height:.98}.codex-encounter-card{padding:1.25rem}.codex-encounter-actions{flex-wrap:wrap;justify-content:flex-end}.codex-flavor-pair{gap:.35rem;margin:.9rem 0 1.05rem;display:grid}.codex-empty-state{margin-bottom:1.35rem}.codex-empty-state h2{font-size:clamp(1.8rem,3.4vw,2.5rem)}.codex-card-entry.standalone{gap:.65rem;display:grid}@media (width<=1100px){.codex-overview-grid,.codex-grid-compact,.codex-card-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.page-grid,.game-layout{grid-template-columns:1fr}.room-toolbar{width:100%}.stage-frame{gap:.85rem;display:grid}.stage-card-shell{flex-direction:column;width:100%;min-height:0;display:flex}.stage-card{width:100%}.floating-activity-rail{order:2;width:auto;height:auto;margin-top:.65rem;margin-bottom:0;position:static}.stage-card{order:1}.stage-body{grid-template-columns:1fr}.rail-scroll-area{max-height:12rem}.choice-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.player-dock{grid-auto-columns:minmax(12rem,18rem);max-width:100%;margin-top:.35rem;padding:0;position:static;bottom:auto;left:auto;transform:none}.page-grid.without-hero{display:block}.auth-card,.loading-card,.game-layout .stage-card,.game-layout .summary-card,.game-layout .roster-card,.game-layout .leaderboard-card{grid-area:auto}}@media (width<=720px){.topbar,.room-toolbar,.door-track-header,.stage-header,.encounter-title-row,.section-header,.roster-row,.leaderboard-row,.outcome-row{flex-direction:column;align-items:stretch}.stat-grid,.choice-grid{grid-template-columns:1fr}.lobby-actions{flex-direction:column;align-items:stretch}.player-dock-footer{align-items:flex-start}.floating-activity-rail{margin-top:.55rem}.player-dock{grid-auto-columns:minmax(11rem,80vw)}.door-timeline{grid-template-columns:repeat(4,minmax(0,1fr))}.hero-panel h2{max-width:none}.topbar-links,.floating-nav-group,.codex-section-header,.codex-encounter-header,.codex-card-meta,.codex-entry-head,.codex-overview-card-header,.codex-encounter-actions{flex-direction:column;align-items:stretch}.codex-entry-title-row{align-items:flex-start}.codex-overview-grid,.codex-grid-compact,.codex-card-grid{grid-template-columns:1fr}}@property --tw-rotate-x{syntax:"*";inherits:false}@property --tw-rotate-y{syntax:"*";inherits:false}@property --tw-rotate-z{syntax:"*";inherits:false}@property --tw-skew-x{syntax:"*";inherits:false}@property --tw-skew-y{syntax:"*";inherits:false}@property --tw-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-shadow-color{syntax:"*";inherits:false}@property --tw-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-inset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-shadow-color{syntax:"*";inherits:false}@property --tw-inset-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-ring-color{syntax:"*";inherits:false}@property --tw-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-ring-color{syntax:"*";inherits:false}@property --tw-inset-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-ring-inset{syntax:"*";inherits:false}@property --tw-ring-offset-width{syntax:"<length>";inherits:false;initial-value:0}@property --tw-ring-offset-color{syntax:"*";inherits:false;initial-value:#fff}@property --tw-ring-offset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-blur{syntax:"*";inherits:false}@property --tw-brightness{syntax:"*";inherits:false}@property --tw-contrast{syntax:"*";inherits:false}@property --tw-grayscale{syntax:"*";inherits:false}@property --tw-hue-rotate{syntax:"*";inherits:false}@property --tw-invert{syntax:"*";inherits:false}@property --tw-opacity{syntax:"*";inherits:false}@property --tw-saturate{syntax:"*";inherits:false}@property --tw-sepia{syntax:"*";inherits:false}@property --tw-drop-shadow{syntax:"*";inherits:false}@property --tw-drop-shadow-color{syntax:"*";inherits:false}@property --tw-drop-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-drop-shadow-size{syntax:"*";inherits:false}
