#combat-hotbar{position:fixed;bottom:105px;left:50%;transform:translate(-50%);display:flex;gap:4px;max-width:calc(100vw - 24px);padding:4px;background:#101015df;border:1px solid #635643;z-index:4}.combat-slot{width:82px;min-width:58px;height:59px;padding:3px 5px;display:flex;flex-direction:column;justify-content:space-between;align-items:center;border:1px solid #544d47;background:linear-gradient(#2b2630,#131216);color:#eee4d3;cursor:pointer;font:12px/1.15 Georgia,serif;position:relative}.combat-slot .skill-key{font:10px/1.1 sans-serif;color:#b8aca0;white-space:nowrap}.combat-slot .skill-name{font-weight:700;text-align:center}.combat-slot .skill-cost{font:11px/1.1 sans-serif;color:#92c2f2}.combat-slot[data-element=fire]{border-top:3px solid #f79356}.combat-slot[data-element=cold]{border-top:3px solid #82dcec}.combat-slot[data-element=magic]{border-top:3px solid #b5a0ff}.combat-slot.selected{box-shadow:inset 0 0 0 1px #e0c985}.combat-slot[aria-disabled=true]{background:#131217;color:#a3989a}.combat-slot[aria-disabled=true] .skill-cost{color:#f2a19a}#combat-hotbar .basic-slot{border-top:3px solid #aaa391}#combat-hotbar .evade-slot{border-top:3px solid #9bc6b3}#readied{display:none}#belt{max-height:42px;overflow-y:auto;overflow-x:hidden;scrollbar-width:thin}#combat-map{position:fixed;right:12px;top:44px;width:142px;height:142px;background:#080b10cb;border:1px solid #635b4d;image-rendering:pixelated;pointer-events:none}#combat-map-caption{position:fixed;right:12px;top:188px;width:144px;text-align:center;font:10px/1.3 sans-serif;color:#bdb3a1;text-shadow:0 1px 3px #000;pointer-events:none}#boss-status{position:fixed;top:34px;left:50%;transform:translate(-50%);width:min(390px,43vw);background:#101015e8;border:1px solid #75603e;padding:5px 8px;text-align:center;pointer-events:none}#boss-status[hidden]{display:none}#boss-name{color:#ebd1a0;font-size:14px}#boss-health{margin-top:3px;height:8px;border:1px solid #322724;background:#1b080b}#boss-health-fill{height:100%;background:linear-gradient(90deg,#682326,#cf5145)}#boss-mods{color:#d0c1ad;font:10px/1.2 sans-serif;margin-top:3px}#boss-mods:empty{display:none}#enemy-bars{position:fixed;inset:0;pointer-events:none}.enemy-health{position:absolute;width:38px;height:4px;transform:translate(-50%,-100%);border:1px solid #140909;background:#240d12;box-shadow:0 1px 3px #000}.enemy-health div{height:100%;background:#ba5048}.enemy-health[data-rank=boss]{border-color:#c0a165;width:46px}.enemy-health[data-rank=champion] div{background:#809bcf}#loot-labels{z-index:3}#loot-labels .loot-label{transform:none;pointer-events:auto;height:24px;max-width:220px;overflow:hidden;text-overflow:ellipsis;box-sizing:border-box;text-align:center;cursor:pointer;padding:2px 7px;background:#090a0deb;font:12px/18px Georgia,serif}#loot-labels .loot-label:hover{border-color:#fff1b9;background:#25202a}#panel,#shop,#map{z-index:8}#menu,#end{z-index:20}#messages{max-width:27vw}@media(max-width:1100px){.combat-slot{width:73px;min-width:48px;font-size:11px}#combat-hotbar{gap:3px}#combat-map{width:118px;height:118px}#combat-map-caption{top:164px;width:120px}}@media(max-height:600px){#combat-hotbar{bottom:102px}.combat-slot{height:53px}}#panel,#shop,#settings-dialog,.item-detail{border:18px solid transparent;border-image:url(art/ui/panel_border.webp) 120 fill / 18px / 0 stretch;background:#101014f5;padding:12px;box-sizing:border-box;box-shadow:0 12px 40px #0009}#panel h3,#shop h3,#settings-dialog h2,.item-detail h3{font-family:Georgia,Times New Roman,serif;letter-spacing:.03em;color:#d6c6a5}button,.tab,.quest{border-image:url(art/ui/button_frame.webp) 80 / 8px / 0 stretch}#bar,#combat-hotbar{border:12px solid transparent;border-image:url(art/ui/hotbar_frame.webp) 100 / 12px / 0 stretch;background:#111014e8}#bar{left:50%;right:auto;transform:translate(-50%);width:min(900px,100%)}.combat-slot,.slot,.bslot,.node{border-image:url(art/ui/button_frame.webp) 92 / 7px / 0 stretch}#combat-map,#map{border:8px solid transparent;border-image:url(art/ui/panel_border.webp) 90 / 8px / 0 stretch;box-sizing:border-box}.orb{overflow:visible;border:0;width:82px;height:82px;flex-shrink:0;isolation:isolate}.orb:after{content:"";position:absolute;inset:-3px;border:3px solid #8c7957;border-radius:50%;box-shadow:inset 0 0 0 1px #d2bd87,0 0 0 2px #24292a,0 3px 10px #0009;pointer-events:none;z-index:2}.orb .fill{border-radius:0 0 50% 50%;clip-path:circle(41px at 41px calc(100% - 41px))}.orb .num{z-index:3}#panel,#shop{max-height:calc(100dvh - 200px);overflow:auto;scrollbar-width:thin}#panel-close,#shop-close,.detail-close{min-width:32px;min-height:32px;margin-top:-6px}#hover,.item-detail{border:10px solid transparent;border-image:url(art/ui/panel_border.webp) 90 / 10px / 0 stretch;background:#101015ed;padding:8px}.item-detail{position:fixed;left:50%;top:20%;width:290px;max-width:calc(100vw - 20px);max-height:65dvh;overflow:auto;transform:translate(-50%);z-index:14;box-sizing:border-box}.item-detail img{float:left;width:48px;height:48px;margin:0 10px 8px 0}.item-detail .detail-close{float:right}.item-detail .stat-line{margin:4px 0;color:#bbb2a2}.item-detail button{margin:6px 4px 0 0}.comparison{color:#a9c6a5;clear:both;margin:8px 0}.item-cards{display:grid;gap:5px;margin-top:10px}.item-card{display:grid;grid-template-columns:36px 1fr;text-align:left;align-items:center;background:#17171a}.item-card img{width:32px;height:32px;grid-row:span 2}.item-card small{color:#b8c4a6}.gitem,.bslot,.slot{touch-action:none;user-select:none}#drag-ghost{position:fixed;z-index:100;width:52px;height:52px;object-fit:contain;transform:translate(-50%,-70%);pointer-events:none;filter:drop-shadow(0 4px 5px #000);opacity:.9}#drag-ghost[data-valid=false]{filter:drop-shadow(0 0 5px #e65a42)}.drop-valid{outline:2px solid #b9d79b;box-shadow:inset 0 0 15px #aad99b70!important}.item-dragging{cursor:grabbing}#loading{position:fixed;inset:0;z-index:1000;background:linear-gradient(0deg,#050508c9,transparent 80%),url(art/splash.jpg) center/cover no-repeat #080a0d;display:grid;place-items:end center;text-align:center}#loading[hidden]{display:none}.loading-copy{margin-bottom:12vh;width:min(520px,82vw);color:#e7d8ba;text-shadow:0 2px 5px #000}.loading-copy p{font-size:28px;letter-spacing:.09em}#loading-bar{height:25px;position:relative;border:8px solid transparent;border-image:url(art/ui/hotbar_frame.webp) 80 / 12px / 0 stretch;background:#09090d;box-sizing:content-box;overflow:hidden}#loading-fill{height:100%;width:0;background:linear-gradient(0deg,#68381d,#d9a45d,#8b562c);box-shadow:0 0 18px #e7a66380}#loading-status{margin-top:16px;font-size:14px}body:not(.assets-ready) #menu{visibility:hidden;opacity:0}.assets-ready #menu{animation:title-arrive .7s ease-out}@keyframes title-arrive{0%{opacity:0}to{opacity:1}}#setting-performance{display:block;color:#d3c396;margin:12px 0;font-variant-numeric:tabular-nums}#touch-controls{display:none}#c{touch-action:none}@media(pointer:coarse),(max-width:600px){button,[role=button],.tab{min-height:44px;min-width:44px;box-sizing:border-box}#touch-controls{display:block;position:fixed;inset:0;pointer-events:none;z-index:5}#joystick{position:absolute;left:max(18px,env(safe-area-inset-left));bottom:104px;width:118px;height:118px;border:2px solid #bbaa7966;border-radius:50%;background:radial-gradient(circle,#5d554944,#15141877);touch-action:none;pointer-events:auto}#joystick-knob{position:absolute;left:35px;top:35px;width:48px;height:48px;border:1px solid #d8c59788;border-radius:50%;background:radial-gradient(circle at 35% 30%,#817768bb,#302c28ee);pointer-events:none}#touch-actions{position:absolute;right:max(12px,env(safe-area-inset-right));bottom:100px;display:grid;grid-template-columns:60px 60px;gap:10px;pointer-events:auto}#touch-actions button{border:2px solid #958060;border-image:none;border-radius:50%;width:60px;height:60px;background:radial-gradient(circle at 35% 25%,#544536,#151219 80%);font-size:11px;padding:5px;color:#ecdfc6;touch-action:manipulation;box-shadow:0 3px 12px #0008}#touch-actions button[data-affordable=false]{color:#a39aaa;background:#1b1922}#combat-hotbar{display:none}#bar{height:94px;padding:3px 8px;gap:8px;border-width:5px}#mid{min-width:0;flex:1;gap:1px}#buttons{flex-wrap:nowrap;gap:0;max-width:100%;width:100%;overflow-x:auto;scrollbar-width:none}#buttons button{font-size:10px;padding:2px 4px;flex:1;white-space:nowrap}#belt{max-height:44px;gap:0}.slot,.orb{width:44px;height:44px}.orb .fill{clip-path:circle(22px at 22px calc(100% - 22px))}.orb:after{inset:-3px}.orb .num{font-size:10px}#stam{display:none}#exp{bottom:94px}#status{top:5px;left:8px;font-size:11px;max-width:70vw}#messages{top:57px;left:8px;font-size:11px;max-width:52vw}#system-controls{top:20px;right:6px;gap:4px}#system-controls button{font-size:11px;padding:4px}#combat-map{width:85px;height:85px;right:7px;top:70px}#combat-map-caption{top:156px;right:7px;width:85px;font-size:9px}#panel,#shop{inset:70px 6px auto;width:auto;max-height:calc(100dvh - 310px);padding:8px;border-width:12px;font-size:13px}#panel h3,#shop h3{min-height:44px;align-items:center}.inv-wrap{overflow-x:auto}.body-slots{gap:4px}.bslot{width:44px;height:48px;flex-shrink:0}.grid{grid-template-columns:repeat(10,44px)!important;grid-template-rows:repeat(4,44px)!important;gap:0}.gitem{min-width:44px;min-height:44px}.item-card{min-height:50px}.shop-row{gap:5px;min-height:50px}.shop-row img{width:32px;height:32px}.shop-row .p{width:32px}#shop-line{font-size:12px}#settings-dialog{max-width:calc(100vw - 12px);max-height:90dvh;margin:3dvh auto;padding:10px;border-width:12px}#settings-dialog label{min-height:44px;display:flex;align-items:center;gap:8px}#settings-dialog select{min-height:44px;max-width:55vw}#loot-labels .loot-label{height:44px;line-height:38px}#boss-status{top:66px;width:42vw;left:35%}#menu{padding:15px;gap:12px;overflow:auto}#menu h1{font-size:34px}.classes{gap:8px;max-width:100%;margin:0}.classes button{width:50%;padding:10px;font-size:12px}#menu .sub{font-size:13px}#menu .controls{font-size:11px}}@media(pointer:coarse)and (orientation:landscape){#joystick{bottom:24px;left:24px;width:106px;height:106px}#joystick-knob{left:29px;top:29px}#touch-actions{bottom:20px;right:20px}#bar{width:calc(100% - 310px);height:92px}#panel,#shop{left:150px;right:160px;max-height:calc(100dvh - 165px);top:62px}#combat-map{top:65px;width:80px;height:80px}#combat-map-caption{top:146px}#messages{max-width:28vw}#exp{left:155px;right:155px}#menu .sub{max-width:630px;font-size:12px}#menu{gap:6px}#menu h1{font-size:28px}}@media(prefers-reduced-motion:reduce){.assets-ready #menu{animation:none}}.orb:after{width:auto;height:auto;inset:-3px}.orb .fill{border-radius:0;clip-path:circle(41px at 41px calc(100% - 41px))}@media(pointer:coarse),(max-width:600px){.orb .fill{clip-path:circle(22px at 22px calc(100% - 22px))}}.stock-stat,.skill-description{display:block;font-size:11px;color:#a7a491;font-weight:400;margin-top:3px}.grid{background:repeating-linear-gradient(90deg,transparent 0 34px,#48433c66 34px 35px),repeating-linear-gradient(0deg,#121216 0 34px,#48433c66 34px 35px)}@media(pointer:coarse),(max-width:600px){#belt{grid-template-columns:repeat(4,44px)!important}.grid{background:repeating-linear-gradient(90deg,transparent 0 43px,#48433c66 43px 44px),repeating-linear-gradient(0deg,#121216 0 43px,#48433c66 43px 44px)}}button,[role=button],.tab{touch-action:manipulation}.gitem,.bslot,.slot{touch-action:none}#floats,#enemy-bars,#loot-labels{contain:layout style}#combat-hotbar,#messages,#combat-map{contain:layout paint style}.set-item{color:#9ed58b}:focus-visible{outline:2px solid #eac883;outline-offset:3px}.item-preview{position:fixed;right:24px;top:100px;max-width:320px;white-space:pre-line;background:#15171af2;border:1px solid #a78c62;padding:14px;color:#eee1c8;pointer-events:none;z-index:80;font-size:14px;line-height:1.45}.waypoint-route{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.waypoint-act{min-width:0}.waypoint-node{display:block;width:100%;margin:8px 0;white-space:normal;text-align:left;min-height:48px}.waypoint-node.current{outline:2px solid #deb467}.waypoint-node:disabled{opacity:.65}.stash-tabs{display:flex;gap:6px}.stash-tabs [aria-pressed=true]{outline:2px solid #deb467}#stash-search{width:100%;padding:10px;margin:10px 0}.gambling-odds{display:block;grid-column:1/-1;font-size:12px;color:#d9cba6}#end-body{max-width:760px;line-height:1.55}@media(max-width:650px){.waypoint-route{grid-template-columns:1fr}.item-preview{right:8px;top:65px;max-width:250px}}.enemy-health[data-rally=true]{outline:1px solid #ffd487}.enemy-health[data-rally=true]:after{content:"+";color:#ffe5a9;position:absolute;right:-10px;top:-6px}#onboarding{position:fixed;left:50%;top:126px;transform:translate(-50%);max-width:min(640px,80vw);padding:10px 14px;background:#14151aed;border:1px solid #bca575;font-size:calc(14px * var(--text-scale,1));pointer-events:auto;z-index:8}#onboarding[hidden]{display:none}#onboarding button{margin-left:12px}#objective-tracker{position:fixed;left:16px;top:42px;max-width:65vw;color:#ffe3a4;text-shadow:0 2px 3px #000;font-size:calc(13px * var(--text-scale,1));pointer-events:none}.save-sheet{padding:10px;border:1px solid #766750;margin:8px 0;color:#e9dcc2}.save-sheet p{margin:4px 0}@media(pointer:coarse),(max-width:760px){#onboarding{top:180px}}.skill-bindings{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.5rem;margin:.5rem 0 1rem;padding:.75rem;border:1px solid #655b49}.skill-bindings p,.skill-bindings>button{grid-column:1/-1}.skill-bindings label{display:grid;grid-template-columns:4rem minmax(0,1fr);align-items:center;gap:.35rem}.skill-bindings select{width:100%;min-width:0}@media(max-width:600px){.skill-bindings{grid-template-columns:1fr}}

/* Opening screen only. The original game HUD keeps its own styling. */
#loading { background: linear-gradient(0deg, #050a0ef5, #07101430), url('art/splash.jpg') 58% center / cover no-repeat #080e11; }
#loading-bar { height: 4px; border: 1px solid #9c855966; border-image: none; background: #080f14; }
#loading-fill { background: linear-gradient(90deg, #647e70, #d9bd82); }
.loading-copy p { color: #e4deca; font-size: 24px; }
.loading-copy { margin-bottom: 15vh; }
#menu {
  --menu-gold: #d9bd82;
  --menu-muted: #a6b3af;
  box-sizing: border-box;
  display: flex;
  align-items: stretch;
  justify-content: flex-start;
  text-align: left;
  gap: 0;
  padding: 0;
  overflow: auto;
  background: linear-gradient(90deg, #060e13ad 0%, #07101238 42%, #060c10a8 100%), linear-gradient(0deg, #050a0ef5, #07101400 70%), url('art/splash.jpg') 58% center / cover no-repeat #080e11;
  color: #eee9dc;
  font-family: Georgia, 'Times New Roman', serif;
  scrollbar-width: thin;
  scrollbar-color: #75664b #0b1317;
}
#menu *, #menu *::before, #menu *::after { box-sizing: border-box; }
.menu-topline { width: 100%; max-width: 1440px; margin: 0 auto; padding: 28px 5%; display: flex; align-items: center; gap: 12px; color: #c3ccc6; font: 10px/1.5 Arial, sans-serif; letter-spacing: .24em; text-transform: uppercase; }
.menu-sigil { width: 26px; height: 26px; color: var(--menu-gold); flex: 0 0 auto; }
.menu-layout { width: 100%; max-width: 1440px; margin: auto; padding: 38px 5% 54px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 540px); align-items: center; gap: clamp(30px, 6vw, 100px); }
.menu-story { align-self: center; padding-bottom: 36px; }
.menu-eyebrow, .menu-step, .field-label { color: var(--menu-gold); font: 10px/1.5 Arial, sans-serif; letter-spacing: .2em; text-transform: uppercase; }
.menu-eyebrow { display: flex; align-items: center; gap: 13px; margin: 0 0 23px; }
.menu-eyebrow::before { content: ''; height: 1px; width: 32px; background: #ba9e68; }
#menu h1 { font-size: clamp(42px, 5.3vw, 80px); letter-spacing: .065em; line-height: 1; color: #ece8d9; font-weight: normal; text-shadow: 0 2px 25px #0008; margin: 0 0 23px; }
.menu-tagline { color: #dfc99f; font-size: clamp(19px, 2vw, 27px); font-style: italic; line-height: 1.4; margin: 0 0 25px; }
#menu .sub { color: #c4cec7; font-size: 15px; line-height: 1.85; max-width: 390px; text-shadow: 0 2px 8px #000; }
.menu-chapter { margin-top: 42px; display: flex; align-items: center; gap: 14px; color: #b7c6bc; font: 10px/1.7 Arial, sans-serif; letter-spacing: .19em; text-transform: uppercase; }
.menu-chapter span:first-child { border: 1px solid #9c8b625c; width: 33px; height: 33px; display: grid; place-items: center; color: var(--menu-gold); transform: rotate(45deg); }
.menu-chapter i { transform: rotate(-45deg); font: normal 14px Georgia, serif; }
.menu-setup { padding: 28px; background: linear-gradient(145deg, #142023ed, #0a1116f5); border: 1px solid #78807555; box-shadow: 0 25px 70px #0006, inset 0 1px #cabc8520; position: relative; }
.menu-setup::before, .menu-setup::after { content: ''; position: absolute; top: -1px; width: 35px; height: 1px; background: var(--menu-gold); }
.menu-setup::before { left: 0; } .menu-setup::after { right: 0; }
.menu-section-title { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.menu-section-title h2 { margin: 0; color: #eee8d8; font-weight: normal; font-size: 23px; }
.menu-step { color: #7f958b; font-size: 11px; }
#menu .classes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 9px; margin: 0; max-width: none; }
#menu button, #menu select, #menu summary { -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
#menu button { border-image: none; font-family: inherit; }
#menu .classes button { width: 100%; min-width: 0; min-height: 147px; padding: 15px 5px 13px; text-align: center; border: 1px solid #5568636b; background: #0b151aa8; color: #c1c9c0; transition: border-color .18s, background .18s; position: relative; cursor: pointer; }
#menu .classes button:hover { border-color: #c4ae79; background: #263632; }
#menu .classes button[aria-pressed=true] { border-color: #d6b879; background: linear-gradient(145deg, #49534755, #28392c55); box-shadow: inset 0 0 25px #c5a3600b; }
.class-icon { width: 48px; height: 48px; object-fit: contain; display: block; margin: 0 auto 9px; filter: drop-shadow(0 3px 8px #000); }
#menu .classes b { font-size: 18px; font-weight: normal; color: #eee7d6; margin-bottom: 6px; display: block; }
#menu .classes small { color: #a5b5ab; font: 10px/1.3 Arial, sans-serif; }
.class-check { position: absolute; right: 7px; top: 5px; color: #dabe83; font: 11px Arial, sans-serif; opacity: 0; }
[aria-pressed=true] .class-check { opacity: 1; }
.class-description { min-height: 57px; color: #b8c4bb; font-size: 13px; line-height: 1.65; padding: 13px 0 17px; margin: 0; }
.class-description strong { color: #e0cfab; font-weight: normal; }
.journey-options { border-top: 1px solid #66786a3d; padding-top: 19px; }
.journey-options .menu-section-title { margin-bottom: 13px; }
.journey-options h2 { font-size: 19px; }
.menu-fields { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 12px; }
.field-label { display: block; color: #9caf9f; font-size: 9px; margin-bottom: 6px; letter-spacing: .14em; }
#menu select { display: block; width: 100%; min-width: 0; height: 43px; border: 1px solid #6f7b6266; border-radius: 0; color: #e5e5d5; background: #0a1318; color-scheme: dark; padding: 0 10px; font: 13px Georgia, serif; cursor: pointer; text-overflow: ellipsis; }
#menu select:disabled { opacity: .55; cursor: not-allowed; }
#menu .hardcore-option { display: flex; gap: 9px; align-items: center; cursor: pointer; min-height: 44px; font: 12px/1.5 Arial, sans-serif; color: #aab7ae; margin: 7px 0 9px; }
#menu #hardcore { accent-color: #c6aa6b; width: 15px; height: 15px; margin: 0; flex-shrink: 0; }
.hardcore-option strong { color: #d6dbce; font-weight: normal; }
#menu #begin-journey { width: 100%; min-height: 53px; display: flex; justify-content: space-between; align-items: center; padding: 14px 20px; color: #1b211d; background: linear-gradient(110deg, #d8c392, #bba06a); border: 1px solid #e2cf9e; font-size: 16px; letter-spacing: .03em; box-shadow: 0 3px 15px #0003; cursor: pointer; }
#menu #begin-journey:hover { background: #e0cba0; box-shadow: 0 0 24px #d4b87120; }
#menu #begin-journey span:last-child { font: 22px/1 Arial, sans-serif; }
.start-hint { margin: 9px 0 0; text-align: center; color: #8fa497; font: 10px/1.5 Arial, sans-serif; }
.menu-secondary { border-top: 1px solid #66786a3d; margin-top: 20px; padding-top: 14px; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px; }
#menu .quiet-button { background: transparent; border: 0; padding: 0; color: #bfcabb; min-height: 32px; font: 12px Georgia, serif; cursor: pointer; }
#menu .quiet-button:hover { color: #ecd2a0; }
.save-drawer { width: 100%; }
.save-drawer summary { cursor: pointer; color: #d5c49f; font-size: 13px; min-height: 30px; line-height: 30px; }
.save-content { display: grid; gap: 10px; padding: 10px 0; }
#menu [hidden] { display: none; }
#menu .save-sheet { margin: 0; font-size: 12px; border-color: #66786a3d; line-height: 1.6; }
#menu .resume-button { padding: 10px; background: #273931; border: 1px solid #738972; color: #e0ddc9; cursor: pointer; }
#menu .resume-button:disabled { opacity: .4; cursor: default; }
#menu-note:empty, #local-records:empty { display: none; }
#menu-note, #local-records { font-size: 12px; line-height: 1.6; color: #dbc89f; margin-top: 12px; max-width: 100%; overflow-wrap: anywhere; }
.menu-footer { padding: 0 5% 25px; width: 100%; max-width: 1440px; margin: 0 auto; display: flex; justify-content: space-between; gap: 20px; color: #9db0a6; font: 10px/1.6 Arial, sans-serif; }
#menu .controls { max-width: none; color: inherit; font: inherit; }
.menu-footer .touch-copy { display: none; }
.menu-footer kbd { font: inherit; color: #d7d4be; }
.menu-footer-label { letter-spacing: .15em; text-transform: uppercase; }
body.menu-visible #system-controls { top: 19px; right: 5%; }
body.menu-visible #telemetry { display: none; }
body.menu-visible #settings-open { min-height: 38px; border-image: none; background: #0e191999; color: #c6d0c5; border: 1px solid #8b977349; padding: 8px 13px; font: 11px Arial, sans-serif; }
#menu :focus-visible { outline: 2px solid #e9d39d; outline-offset: 4px; }
@media (min-width: 1600px) { .menu-layout { gap: 140px; } }
@media (max-width: 1000px) { .menu-layout { gap: 32px; grid-template-columns: minmax(0, 1fr) minmax(0, 460px); padding-left: 4%; padding-right: 4%; } .menu-setup { padding: 22px; } #menu h1 { font-size: clamp(37px, 5.3vw, 60px); } }
@media (max-width: 900px) {
  #menu { background-position: 65% top; background-attachment: fixed; }
  .menu-topline { padding: 21px 22px; font-size: 9px; letter-spacing: .17em; }
  .menu-layout { grid-template-columns: minmax(0, 1fr); gap: 24px; padding: 26px 22px 25px; max-width: 570px; margin: 0 auto; }
  .menu-story { padding: 0; }
  .menu-eyebrow { font-size: 9px; margin-bottom: 15px; }
  #menu h1 { font-size: clamp(32px, 9.6vw, 55px); letter-spacing: .055em; margin-bottom: 13px; }
  .menu-tagline { font-size: 20px; margin-bottom: 13px; }
  #menu .sub { font-size: 13px; line-height: 1.75; max-width: 440px; }
  .menu-chapter { display: none; }
  .menu-setup { padding: 21px; }
  .menu-section-title { margin-bottom: 15px; }
  .menu-section-title h2 { font-size: 21px; }
  #menu .classes { gap: 7px; }
  #menu .classes button { min-height: 125px; padding: 12px 3px; }
  .class-icon { width: 39px; height: 39px; margin-bottom: 8px; }
  #menu .classes b { font-size: 16px; }
  #menu .classes small { font-size: 9px; }
  .class-description { font-size: 12px; min-height: 64px; }
  .journey-options { padding-top: 16px; }
  .journey-options h2 { font-size: 18px; }
  .menu-fields { gap: 9px; }
  #menu select { font-size: 12px; padding: 0 6px; min-height: 44px; }
  #menu .hardcore-option { font-size: 11px; }
  .menu-footer { flex-direction: column; padding: 0 24px 25px; gap: 8px; max-width: 570px; }
  body.menu-visible #system-controls { top: 14px; right: 20px; }
  #menu .quiet-button { min-height: 44px; }
}
@media (pointer: coarse) { .menu-footer .desktop-copy { display: none; } .menu-footer .touch-copy { display: inline; } }
@media (max-width: 360px) { .menu-topline { padding-left: 14px; } .menu-topline > span { max-width: 100px; } .menu-layout { padding-left: 12px; padding-right: 12px; } .menu-setup { padding: 15px; } .menu-fields { grid-template-columns: minmax(0, 1fr); } body.menu-visible #system-controls { right: 12px; } }
@media (max-height: 650px) and (min-width: 761px) { .menu-topline { padding-top: 17px; padding-bottom: 10px; } .menu-layout { padding-top: 15px; padding-bottom: 25px; } .menu-setup { padding: 20px; } }
@media (prefers-reduced-motion: reduce) { #menu .classes button { transition: none; } }
