:root {
  --navy:#0c2231;
  --deep:#071a27;
  --ink:#edf4f5;
  --muted:#a8bec8;
  --cyan:#73dced;
  --gold:#e5bf83;
  --line:rgba(149,204,222,.22);
  --panel:rgba(9,29,43,.91);
  --radius:14px;
  font-family:Inter,"Segoe UI",Arial,sans-serif;
  color:var(--ink);
  color-scheme:dark;
  font-synthesis:none
}
* {
  box-sizing:border-box
}
html,body {
  width:100%;
  height:100%;
  margin:0;
  overflow:hidden;
  background:var(--deep)
}
button,input,select {
  font:inherit
}
button {
  cursor:pointer;
  color:inherit;
  touch-action:manipulation
}
button:disabled {
  cursor:wait;
  opacity:.55
}
button:focus-visible,input:focus-visible,select:focus-visible {
  outline:2px solid var(--cyan);
  outline-offset:4px
}
button {
  border:0
}
button svg {
  vertical-align:middle
}
button:hover {
  filter:brightness(1.13)
}
[hidden] {
  display:none!important
}
#world {
  position:fixed;
  inset:0;
  width:100%;
  height:100%;
  display:block;
  outline:0;
  touch-action:none
}
#vignette {
  position:fixed;
  inset:0;
  pointer-events:none;
  background:radial-gradient(ellipse at 50% 40%,transparent 45%,rgba(3,14,23,.2) 100%);
  z-index:3
}
.glass {
  background:linear-gradient(115deg,rgba(8,26,39,.91),rgba(16,44,61,.84));
  border:1px solid var(--line);
  box-shadow:0 7px 22px #00101a22,inset 0 1px 0 #cce7ef0a;
  backdrop-filter:blur(12px);
  border-radius:var(--radius)
}
.eyebrow {
  font-size:10px;
  letter-spacing:2.6px;
  line-height:1.6;
  color:var(--gold);
  font-weight:650
}
.eyebrow i,.live-dot {
  display:inline-block;
  width:6px;
  height:6px;
  border-radius:50%;
  background:var(--cyan);
  box-shadow:0 0 12px #6ad7ff88;
  margin-right:12px
}
.primary {
  border:1px solid #ecd19e;
  background:linear-gradient(120deg,#efd4a5,#cfa870);
  color:#102535;
  border-radius:8px;
  min-height:46px;
  padding:12px 18px;
  font-weight:700;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:24px;
  box-shadow:0 6px 22px #07161f33
}
.primary.large {
  font-size:15px;
  padding:18px 23px;
  min-width:230px
}
.primary.large span {
  font-size:25px;
  line-height:1
}
.full {
  width:100%;
  justify-content:center
}
.text-button {
  background:none;
  border-bottom:1px solid #a7c1cc6b;
  padding:9px 0;
  color:#d6e4e8;
  font-size:12px
}
.icon-button {
  display:grid;
  place-items:center;
  background:#203e50;
  border:1px solid var(--line);
  border-radius:9px;
  width:34px;
  height:34px;
  flex-shrink:0
}
.loading-screen,.error-screen {
  position:fixed;
  inset:0;
  z-index:30;
  background:radial-gradient(ellipse at 70% 25%,#213f4e,#081d2a 60%);
  display:flex;
  align-items:center;
  justify-content:center;
  flex-direction:column;
  text-align:center;
  padding:35px
}
.loading-mark {
  color:var(--gold);
  font-size:78px;
  line-height:1.1;
  margin-bottom:16px
}
.loading-screen h1 {
  font-size:clamp(28px,3vw,43px);
  font-weight:450;
  line-height:1.2;
  letter-spacing:-1px;
  margin:20px 0 30px
}
.load-track {
  width:240px;
  height:2px;
  background:#bfd3da22
}
.load-track i {
  display:block;
  width:8%;
  height:100%;
  background:var(--gold);
  transition:width .45s
}
.loading-screen p {
  font-size:12px;
  color:var(--muted);
  margin-top:18px
}
.loading-screen small {
  font-size:10px;
  color:#7d9ca9;
  margin-top:30px
}
.error-screen {
  z-index:50
}
.error-screen h1 {
  font-size:28px
}
.error-screen p {
  max-width:640px;
  line-height:1.7;
  color:#c8d9df
}
.error-screen pre {
  max-width:90%;
  max-height:35vh;
  overflow:auto;
  text-align:left;
  background:#05121a;
  padding:20px;
  border-radius:10px;
  font-size:12px;
  color:#f7cca1;
  white-space:pre-wrap
}
.error-screen button {
  background:var(--gold);
  color:var(--navy);
  padding:13px 25px;
  border-radius:8px
}
.intro-screen {
  position:fixed;
  inset:0;
  z-index:10;
  background:linear-gradient(90deg,rgba(5,20,31,.96) 0%,rgba(7,26,39,.87) 27%,rgba(5,22,32,.38) 60%,rgba(5,22,32,.04) 100%)
}
.intro-brand {
  position:absolute;
  top:6%;
  left:5%;
  display:flex;
  align-items:center;
  gap:12px;
  font-size:16px;
  font-weight:650;
  letter-spacing:4px
}
.brand-diamond {
  font-size:56px;
  font-weight:300;
  color:var(--gold);
  line-height:.9
}
.intro-brand small {
  display:block;
  margin-top:7px;
  font-size:7px;
  letter-spacing:2.25px;
  color:#9fbac8;
  font-weight:500
}
.intro-brand .edition {
  margin-left:20px;
  padding-left:28px;
  border-left:1px solid #749aa65c;
  letter-spacing:1.6px;
  font-size:8px;
  color:#c2d7df;
  font-weight:500
}
.intro-copy {
  position:absolute;
  top:28%;
  left:6%;
  max-width:580px
}
.intro-copy h1 {
  font-size:clamp(39px,4.7vw,78px);
  line-height:1.04;
  letter-spacing:-2.3px;
  font-weight:450;
  margin:22px 0 26px
}
.intro-copy h1 em {
  font-family:Georgia,"Times New Roman",serif;
  font-weight:400;
  color:#e6cda5;
  letter-spacing:-2px
}
.intro-copy>p {
  font-size:14px;
  line-height:1.85;
  color:#bcd0d8;
  letter-spacing:.1px
}
.intro-actions {
  display:flex;
  align-items:center;
  gap:28px;
  margin-top:30px
}
.intro-stats {
  display:flex;
  margin-top:36px;
  gap:38px
}
.intro-stats div {
  display:flex;
  align-items:center;
  gap:12px
}
.intro-stats div b {
  font-size:28px;
  font-weight:350;
  color:#ead5b3
}
.intro-stats div span {
  font-size:8px;
  letter-spacing:1.2px;
  max-width:86px;
  line-height:1.75;
  color:#adc7d2
}
.intro-bottom {
  position:absolute;
  bottom:30px;
  left:5%;
  right:5%;
  display:flex;
  justify-content:space-between;
  font-size:9px;
  letter-spacing:1.6px;
  color:#bad0d9;
  border-top:1px solid #a7cbd22b;
  padding-top:18px
}
.intro-bottom span:last-child {
  letter-spacing:.4px;
  font-size:10px
}
.intro-corner {
  position:absolute;
  bottom:16%;
  right:5%;
  font-size:9px;
  letter-spacing:2px;
  background:rgba(7,30,45,.75);
  border:1px solid #86bbcd2b;
  padding:16px 20px;
  border-radius:9px
}
.intro-corner small {
  display:block;
  font-size:9px;
  letter-spacing:.15px;
  margin-top:8px;
  color:#abc8d3
}
.hud {
  position:fixed;
  inset:0;
  z-index:5;
  pointer-events:none
}
.hud button,.hud a {
  pointer-events:auto
}
.player-card {
  position:absolute;
  top:18px;
  left:18px;
  width:267px;
  min-height:75px;
  display:flex;
  gap:12px;
  align-items:center;
  padding:11px 14px;
  border-top-color:#7fb1bb91
}
.avatar {
  width:48px;
  height:48px;
  border:1px solid #69c7df;
  box-shadow:0 0 0 4px #091f2d;
  border-radius:50%;
  display:grid;
  place-items:center;
  color:#e1f2f6;
  background:linear-gradient(145deg,#294558,#081f2f);
  flex-shrink:0
}
.avatar svg {
  width:29px;
  height:29px
}
.player-info {
  flex:1
}
.player-info strong {
  display:flex;
  justify-content:space-between;
  align-items:center;
  font-size:13px;
  font-weight:650
}
.player-info strong span {
  font-size:10px;
  color:var(--cyan);
  font-weight:550
}
.xp-track {
  height:4px;
  background:#6783994a;
  border-radius:3px;
  overflow:hidden;
  margin:9px 0 5px
}
.xp-track i {
  display:block;
  height:100%;
  background:linear-gradient(90deg,#49a7c5,#baf6f4);
  border-radius:3px;
  transition:width .6s
}
.player-info small {
  color:#a6c4d2;
  font-size:10px;
  letter-spacing:.4px
}
.compass {
  position:absolute;
  left:50%;
  top:18px;
  transform:translateX(-50%);
  padding:9px 24px 21px;
  width:235px;
  height:51px;
  display:flex;
  justify-content:space-between;
  align-items:center;
  border-radius:0 0 12px 12px;
  background:linear-gradient(180deg,#0c273be6,#0c273b80);
  border-top:0
}
.compass span {
  font-size:9px;
  color:#91bbc8
}
.compass b {
  font-size:12px;
  font-weight:600
}
.compass i {
  width:1px;
  height:6px;
  background:#a4c5d15e
}
.compass small {
  position:absolute;
  left:0;
  right:0;
  bottom:7px;
  text-align:center;
  font-size:7px;
  letter-spacing:1.55px;
  color:#adc8ce
}
.world-time {
  position:absolute;
  right:18px;
  top:18px;
  display:flex;
  align-items:center;
  gap:12px;
  padding:12px 16px;
  width:231px;
  border-top-color:#7fb1bb91
}
.weather-icon {
  color:#f2d088
}
.weather-icon svg {
  height:31px;
  width:31px
}
.world-time b {
  font-size:17px;
  letter-spacing:1px;
  font-weight:500
}
.world-time small {
  display:block;
  font-size:6.5px;
  letter-spacing:1.35px;
  color:#aec6d0;
  margin-top:4px
}
.quality-dot {
  width:5px;
  height:5px;
  border-radius:50%;
  background:#8cd9b1;
  margin-left:auto
}
.side-nav {
  position:absolute;
  left:18px;
  top:108px;
  display:flex;
  flex-direction:column;
  width:62px;
  padding:4px;
  border-radius:12px
}
.side-nav button {
  background:transparent;
  border:1px solid transparent;
  color:#a3bdc8;
  min-height:62px;
  padding:8px 1px;
  border-radius:8px;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:6px
}
.side-nav button svg {
  width:22px;
  height:22px
}
.side-nav button small {
  font-size:7.3px;
  letter-spacing:.1px
}
.side-nav button.active {
  color:#82e2fb;
  background:linear-gradient(145deg,#33708d4d,#1a557420);
  border-color:#85d9ec40
}
.side-nav button:hover {
  background:#4c869044;
  color:#f4fbfd
}
.quests {
  position:absolute;
  top:108px;
  left:92px;
  width:258px;
  padding:14px 14px 8px;
  border-radius:12px
}
.quests header {
  display:flex;
  align-items:center;
  justify-content:space-between;
  border-bottom:1px solid #9eced01f;
  padding-bottom:9px;
  margin-bottom:2px
}
.quests header strong {
  font-size:12px;
  font-weight:550
}
.quests header button {
  font-size:8px;
  background:none;
  color:#79c6db;
  padding:2px 0
}
.quests header button span {
  font-size:11px;
  margin-left:4px
}
.quest-row {
  display:flex;
  gap:9px;
  align-items:flex-start;
  font-size:10px;
  line-height:1.55;
  padding:10px 0;
  color:#d7e8ed;
  border-top:1px solid #a9cdcc0c
}
.quest-box {
  width:12px;
  height:12px;
  border:1px solid #79c5d8;
  border-radius:3px;
  flex-shrink:0;
  margin-top:2px
}
.quest-row em {
  margin-left:auto;
  white-space:nowrap;
  color:#a0bdc7;
  font-size:9px;
  font-style:normal
}
.quest-row.done {
  color:#85c3ad
}
.quest-row.done .quest-box {
  background:#79c5b6
}
.crosshair {
  position:absolute;
  left:50%;
  top:50%;
  transform:translate(-50%,-50%);
  height:15px;
  width:15px;
  border:1px solid #edfeff50;
  border-radius:50%;
  display:grid;
  place-items:center;
  transition:all .15s
}
.crosshair i {
  width:3px;
  height:3px;
  border-radius:50%;
  background:#effbfc;
  box-shadow:0 0 3px #03161f
}
.crosshair.target {
  border-color:#89e5f6;
  width:23px;
  height:23px;
  box-shadow:0 0 13px #3cc7ff38
}
.interaction {
  position:absolute;
  bottom:15.5%;
  left:50%;
  transform:translateX(-50%);
  display:flex;
  align-items:center;
  gap:13px;
  padding:11px 19px 11px 12px;
  min-width:275px;
  border-color:#84d2e997;
  box-shadow:0 0 25px #3bcae61e
}
.interaction kbd {
  font-size:21px;
  padding:7px 11px;
  border-color:#b6edff;
  background:#184057;
  min-width:41px;
  text-align:center;
  border-radius:5px
}
.interaction strong {
  display:block;
  font-size:13px;
  font-weight:550
}
.interaction small {
  display:block;
  color:#a5c2cd;
  font-size:8px;
  margin-top:5px
}
.toast-stack {
  position:absolute;
  right:18px;
  top:99px;
  width:300px;
  display:flex;
  flex-direction:column;
  gap:9px
}
.toast {
  display:flex;
  gap:12px;
  align-items:flex-start;
  padding:15px;
  animation:toast-in .35s ease-out;
  border-left:2px solid var(--gold)
}
.toast .toast-icon {
  color:var(--gold);
  padding:7px;
  background:#92c2c612;
  border-radius:8px
}
.toast small {
  display:block;
  font-size:8px;
  letter-spacing:1.25px;
  color:var(--gold);
  margin:0 0 5px
}
.toast strong {
  font-size:12px;
  font-weight:550
}
.toast p {
  font-size:9px;
  line-height:1.5;
  color:#a9c6d1;
  margin:5px 0 0
}
.toast .xp-badge {
  font-size:10px;
  color:var(--cyan);
  white-space:nowrap;
  margin-left:auto
}
.map-block {
  position:absolute;
  bottom:25px;
  left:18px;
  width:190px
}
.minimap-frame {
  position:relative;
  display:block;
  width:155px;
  height:155px;
  border-radius:50%;
  padding:0;
  background:#112d3caa;
  overflow:hidden;
  border:1px solid #9bbecdd9;
  box-shadow:0 0 0 6px #09253644
}
.minimap-frame canvas {
  width:100%;
  height:100%;
  display:block
}
.minimap-rim {
  position:absolute;
  inset:5px;
  border:1px solid #85aebe44;
  border-radius:50%;
  pointer-events:none
}
.area-label {
  display:flex;
  gap:9px;
  align-items:center;
  padding:11px 12px;
  margin-top:12px;
  min-width:195px;
  border-radius:9px
}
.area-label>span {
  color:#bcebf3
}
.area-label svg {
  width:17px;
  height:21px
}
.area-label small {
  font-size:6.8px;
  letter-spacing:1.6px;
  color:#8ab0c0;
  display:block;
  margin-bottom:5px
}
.area-label b {
  font-size:10px;
  font-weight:500;
  display:block
}
.keyboard-legend {
  position:absolute;
  right:18px;
  bottom:23px;
  padding:11px 13px;
  display:flex;
  gap:15px;
  align-items:center;
  border-radius:9px;
  font-size:9px;
  color:#c0d5de
}
.keyboard-legend button {
  background:none;
  font-size:9px;
  color:#c0d5de;
  padding:0
}
.keyboard-legend kbd {
  font-size:8px;
  letter-spacing:0;
  padding:3px 4px;
  margin-right:4px
}
kbd {
  font-family:inherit;
  font-size:10px;
  border:1px solid #a7cdd374;
  background:#0b2333b8;
  padding:3px 6px;
  border-radius:3px;
  color:#e3f2f6;
  box-shadow:0 2px 0 #04151b5c
}
.equipped {
  position:absolute;
  right:20px;
  bottom:86px;
  min-width:215px;
  padding:11px 14px;
  display:flex;
  gap:11px;
  align-items:center
}
.equipped svg {
  color:var(--gold);
  width:21px
}
.equipped small {
  font-size:7px;
  letter-spacing:1.4px;
  color:#8eb5c6;
  display:block;
  margin-bottom:5px
}
.equipped b {
  font-size:10px;
  font-weight:500
}
.equipped kbd {
  margin-left:auto
}
.free-mouse {
  position:absolute;
  bottom:20px;
  left:50%;
  transform:translateX(-50%);
  padding:10px 14px;
  font-size:9px;
  color:#b4d6df
}
.touch-controls {
  display:none
}
.panel {
  position:fixed;
  z-index:15;
  right:18px;
  top:101px;
  bottom:87px;
  width:398px;
  background:linear-gradient(150deg,#0c2739f7,#071c2bf7);
  border:1px solid #86c7d94d;
  border-top-color:#b5d7dc80;
  border-radius:15px;
  box-shadow:0 15px 60px #00132366;
  backdrop-filter:blur(22px);
  display:flex;
  flex-direction:column;
  overflow:hidden;
  pointer-events:auto;
  animation:panel-in .23s ease-out
}
.panel-header {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  padding:23px 22px 20px;
  border-bottom:1px solid #a4cbd62c
}
.panel-header .eyebrow {
  font-size:7px;
  letter-spacing:1.9px
}
.panel-header h2 {
  font-size:23px;
  letter-spacing:-.5px;
  font-weight:500;
  line-height:1.15;
  margin:9px 0 0
}
.panel-body {
  padding:20px 22px;
  overflow:auto;
  flex:1;
  overscroll-behavior:contain;
  scrollbar-color:#446a79 #102c3d;
  scrollbar-width:thin
}
.panel-body p {
  font-size:11px;
  line-height:1.75;
  color:#b9d0da;
  margin:0 0 17px
}
.panel-body h3 {
  font-size:13px;
  font-weight:600;
  margin:20px 0 12px;
  color:#e3edf0
}
.panel-body h3:first-child {
  margin-top:0
}
.panel-body .intro-text {
  font-size:13px;
  line-height:1.75;
  color:#d2e2e8
}
.panel-body .fineprint {
  font-size:9px;
  color:#8cafbe;
  margin:13px 0
}
.panel-body hr {
  border:0;
  border-top:1px solid #aac5d124;
  margin:22px 0
}
.panel-footer {
  padding:15px 22px;
  background:#071c29;
  border-top:1px solid #acc4ce22
}
.panel-footer>span {
  font-size:7px;
  letter-spacing:1.2px;
  color:#87aebe
}
.panel-footer button {
  background:transparent;
  padding:11px 0 0;
  display:flex;
  justify-content:space-between;
  width:100%;
  font-size:11px;
  color:#dbbf8e
}
.panel-footer button span {
  font-size:15px
}
.lab-panel .panel-header {
  border-top:2px solid var(--lab-accent,var(--cyan));
  padding-top:21px
}
.panel-open .toast-stack {
  right:434px;
  width:258px
}
.panel-open .keyboard-legend {
  opacity:.3;
  pointer-events:none
}
.panel-open .crosshair,.panel-open .interaction {
  display:none!important
}
.panel-open .equipped {
  display:none!important
}
.panel-open .free-mouse {
  display:none!important
}
.control {
  display:block;
  margin:0 0 19px
}
.control>span,.control .control-label {
  display:flex;
  justify-content:space-between;
  font-size:10px;
  color:#b9d2dc;
  margin-bottom:11px;
  line-height:1.5
}
.control output {
  color:var(--cyan);
  font-variant-numeric:tabular-nums;
  font-size:11px
}
input[type=range] {
  display:block;
  width:100%;
  height:4px;
  accent-color:#8bdddf;
  cursor:pointer;
  margin:8px 0 6px
}
input[type=number],select {
  width:100%;
  background:#173648;
  border:1px solid #7ba6b446;
  border-radius:7px;
  color:#deedf2;
  min-height:38px;
  padding:9px 11px;
  font-size:12px
}
select {
  margin:6px 0 19px
}
label.field-label {
  font-size:10px;
  color:#b0cbd6;
  display:block
}
.metric {
  padding:17px 18px;
  background:linear-gradient(115deg,#28566a75,#2544573d);
  border:1px solid #97d1d92e;
  border-radius:10px;
  margin:21px 0 13px
}
.metric small {
  display:block;
  font-size:7px;
  color:#94c2cf;
  letter-spacing:1.7px;
  margin-bottom:10px
}
.metric b {
  font-size:29px;
  letter-spacing:-.7px;
  font-weight:400;
  color:#dcf6f4;
  font-variant-numeric:tabular-nums
}
.formula {
  padding:11px 12px;
  border-left:2px solid var(--gold);
  background:#fff4cf06;
  font-family:Georgia,"Times New Roman",serif!important;
  font-size:14px!important;
  color:#e7cea5!important;
  line-height:1.55!important;
  margin-bottom:20px!important;
  word-wrap:break-word
}
.explanation,.explain {
  padding:15px;
  border:1px solid #759cac24;
  border-radius:9px;
  margin:17px 0;
  background:#537a8d08
}
.explanation strong,.explain strong {
  font-size:11px;
  font-weight:600;
  display:block;
  margin-bottom:8px
}
.explanation p,.explain p {
  font-size:10px;
  margin:0;
  color:#99bbc9;
  line-height:1.7
}
.task-callout {
  font-size:10px;
  line-height:1.8;
  color:#c8bd9a;
  padding:14px;
  border-radius:8px;
  background:#d5b26d0b;
  border:1px solid #dfbe872b;
  margin:15px 0
}
.two-col {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:20px
}
.two-col h3 {
  margin-top:0
}
.mint {
  color:#77ddb9!important
}
.gold {
  color:var(--gold)!important
}
.distribution {
  height:109px;
  display:flex;
  gap:6px;
  align-items:end;
  border-bottom:1px solid #77a4b346;
  padding-bottom:5px;
  margin:10px 0 20px
}
.dist-col {
  flex:1;
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:4px
}
.dist-col i {
  width:100%;
  background:linear-gradient(#92e4cb,#38715e);
  border-radius:3px 3px 0 0
}
.dist-col span {
  font-size:8px;
  color:#c8e6d9
}
.dist-col small {
  font-size:8px;
  color:#8cb4c2
}
.list-card {
  display:flex;
  align-items:center;
  gap:12px;
  padding:14px 13px;
  margin-bottom:10px;
  border:1px solid #86bacb2d;
  border-radius:9px;
  background:#90c1d509;
  text-align:left;
  width:100%;
  color:inherit
}
.list-card .card-icon {
  color:var(--gold);
  display:grid;
  place-items:center;
  width:37px;
  height:37px;
  background:#88c3d00b;
  border-radius:8px;
  flex-shrink:0
}
.list-card strong {
  display:block;
  font-size:11px;
  font-weight:550;
  line-height:1.5
}
.list-card small {
  display:block;
  font-size:9px;
  color:#94b4c3;
  margin-top:4px;
  line-height:1.5
}
.list-card>svg {
  margin-left:auto;
  width:16px;
  color:#a7c5d3
}
.list-card.done {
  border-color:#74c3a73c
}
.list-card.done .card-icon {
  color:#96dec2
}
.card-actions {
  display:flex;
  gap:8px;
  margin:9px 0 21px
}
.secondary {
  display:flex;
  align-items:center;
  justify-content:center;
  gap:9px;
  border:1px solid #8dbcca45;
  border-radius:7px;
  padding:10px 12px;
  background:#25485b4d;
  color:#c9e3eb;
  font-size:10px;
  min-height:37px
}
.danger {
  border-color:#e2a1a14d;
  color:#f0b5a5;
  background:#7e383814
}
.empty {
  padding:25px 8px;
  text-align:center
}
.empty svg {
  color:var(--gold);
  width:42px;
  height:42px
}
.empty h3 {
  margin-top:20px!important
}
.tip-row {
  display:flex;
  align-items:center;
  gap:12px;
  padding:10px 0;
  border-bottom:1px solid #b3d3d316;
  font-size:10px;
  color:#a9c7d3
}
.tip-row kbd {
  min-width:58px;
  text-align:center
}
.status-line {
  display:flex;
  justify-content:space-between;
  font-size:10px;
  padding:10px 0;
  border-bottom:1px solid #a5cbdb1c;
  color:#a9c9d2
}
.status-line b {
  font-weight:500;
  color:#e3eff2
}
.progress-track {
  height:5px;
  background:#9fbcc723;
  border-radius:4px;
  margin:15px 0 22px;
  overflow:hidden
}
.progress-track i {
  display:block;
  height:100%;
  background:linear-gradient(90deg,#c6a171,#f5dfac)
}
.settings-row {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
  padding:15px 0;
  border-bottom:1px solid #b4cdde1c;
  font-size:11px
}
.settings-row small {
  display:block;
  font-size:8px;
  color:#88aebb;
  line-height:1.6;
  margin-top:5px
}
.settings-row input[type=checkbox] {
  width:17px;
  height:17px;
  accent-color:#7bd8d8
}
.big-map {
  width:100%;
  border:1px solid #b6cfd64a;
  border-radius:10px;
  background:#193c47;
  margin-bottom:16px
}
.map-note {
  font-size:9px!important;
  color:#82b5c8!important
}
.lab-number {
  font-size:16px;
  color:var(--gold);
  width:28px;
  flex-shrink:0;
  font-weight:300
}
.map-link {
  display:flex;
  gap:9px;
  margin-top:7px
}
.map-link button {
  font-size:9px;
  background:none;
  color:#87d0e4;
  border:1px solid #7fbdcd35;
  border-radius:5px;
  padding:5px 8px
}
.result-success {
  padding:15px;
  background:#559b7b18;
  border:1px solid #87dcab63;
  border-radius:9px;
  font-size:11px;
  line-height:1.7;
  color:#b7ebce
}
.result-error {
  padding:13px;
  background:#9d5d4120;
  border:1px solid #c992625c;
  border-radius:9px;
  font-size:11px;
  line-height:1.7;
  color:#e7c298
}
.coordinate-table {
  width:100%;
  border-collapse:collapse;
  font-size:10px;
  color:#aecbd5
}
.coordinate-table td,.coordinate-table th {
  padding:9px 6px;
  text-align:left;
  border-bottom:1px solid #85b3c430
}
.coordinate-table th {
  font-size:8px;
  letter-spacing:1px;
  color:var(--gold)
}
@keyframes toast-in {
  from {
    transform:translateX(18px);
    opacity:0
  }
  to {
    transform:translateX(0);
    opacity:1
  }
}
@keyframes panel-in {
  from {
    transform:translateX(12px);
    opacity:0
  }
  to {
    transform:translateX(0);
    opacity:1
  }
}
@media(min-width:1600px) {
  .player-card {
    width:290px
  }
  .quests {
    width:280px
  }
  .side-nav {
    width:68px
  }
  .quests {
    left:100px
  }
  .side-nav button {
    min-height:68px
  }
  .world-time {
    width:245px
  }
  .panel {
    width:427px;
    bottom:85px
  }
  .panel-body {
    padding:24px 25px
  }
  .panel-open .toast-stack {
    right:465px
  }
  .minimap-frame {
    width:177px;
    height:177px
  }
  .map-block {
    width:220px
  }
  .area-label {
    width:220px
  }
  .keyboard-legend {
    font-size:10px;
    padding:13px 16px
  }
  .keyboard-legend button {
    font-size:10px
  }
  .quest-row {
    font-size:11px
  }
  .player-card {
    min-height:83px
  }
  .side-nav,.quests {
    top:116px
  }
}
@media(max-height:740px) {
  .intro-copy {
    top:24%
  }
  .intro-copy h1 {
    font-size:48px;
    margin:14px 0 15px
  }
  .intro-copy>p {
    font-size:12px
  }
  .intro-actions {
    margin-top:20px
  }
  .intro-stats {
    margin-top:22px
  }
  .intro-bottom {
    bottom:16px
  }
  .intro-brand {
    top:5%
  }
  .side-nav button {
    min-height:49px
  }
  .side-nav button svg {
    width:18px;
    height:18px
  }
  .side-nav button small {
    font-size:6.5px
  }
  .minimap-frame {
    width:122px;
    height:122px
  }
  .map-block {
    bottom:16px
  }
  .area-label {
    padding:9px;
    margin-top:8px
  }
  .panel {
    top:94px;
    bottom:73px
  }
  .panel-header {
    padding:16px 20px
  }
  .panel-header h2 {
    font-size:21px
  }
  .panel-body {
    padding:16px 20px
  }
  .panel-footer {
    padding:10px 20px
  }
  .quests {
    width:236px
  }
  .quest-row {
    font-size:9px;
    padding:8px 0
  }
  .keyboard-legend {
    bottom:16px
  }
  .world-time,.player-card {
    top:13px
  }
  .side-nav,.quests {
    top:99px
  }
}
@media(max-width:1000px) {
  .compass {
    width:170px
  }
  .world-time {
    width:185px
  }
  .world-time small {
    font-size:5.8px;
    letter-spacing:.9px
  }
  .player-card {
    width:226px
  }
  .quests {
    width:220px
  }
  .quest-row {
    font-size:9px
  }
  .keyboard-legend {
    gap:9px
  }
  .keyboard-legend>span:first-child {
    display:none
  }
  .panel {
    width:360px
  }
  .panel-open .toast-stack {
    right:390px;
    width:230px
  }
  .intro-brand .edition {
    display:none
  }
  .intro-corner {
    right:3%;
    bottom:19%;
    font-size:7px;
    padding:13px
  }
  .intro-corner small {
    font-size:8px
  }
  .intro-stats {
    gap:20px
  }
  .intro-stats div {
    gap:9px
  }
  .intro-stats div span {
    font-size:7px
  }
  .free-mouse {
    bottom:72px;
    left:auto;
    right:18px;
    transform:none
  }
}
@media(pointer:coarse) {
  .touch-controls {
    display:flex;
    position:absolute;
    bottom:35px;
    left:30px;
    right:30px;
    justify-content:space-between;
    align-items:end
  }
  .touch-pad {
    pointer-events:auto
  }
  .touch-pad>button {
    margin:0 auto 5px;
    display:block
  }
  .touch-pad button,#touch-interact {
    background:#0a293ad9;
    border:1px solid #93cad479;
    border-radius:13px;
    width:48px;
    height:48px;
    color:#b8e5ef;
    font-size:20px
  }
  .touch-pad div {
    display:flex;
    gap:5px
  }
  #touch-interact {
    width:62px;
    height:62px;
    font-size:24px
  }
  .map-block {
    bottom:135px;
    left:18px
  }
  .minimap-frame {
    display:none
  }
  .keyboard-legend,.free-mouse {
    display:none!important
  }
  .side-nav {
    flex-direction:row;
    width:auto;
    left:auto;
    right:18px;
    top:91px
  }
  .side-nav button {
    min-height:44px;
    min-width:43px
  }
  .side-nav button small {
    display:none
  }
  .side-nav button svg {
    width:20px;
    height:20px
  }
  .quests {
    left:18px;
    top:103px;
    width:214px
  }
  .interaction {
    bottom:115px
  }
  .panel {
    bottom:20px;
    top:145px
  }
  .panel-open .toast-stack {
    display:none
  }
  .equipped {
    bottom:116px
  }
  .compass {
    display:none
  }
  .intro-corner {
    display:none
  }
}
@media(max-width:600px) {
  .intro-brand {
    left:7%;
    top:5%
  }
  .intro-copy {
    left:7%;
    right:7%;
    top:24%
  }
  .intro-copy h1 {
    font-size:44px
  }
  .intro-copy>p {
    font-size:12px
  }
  .intro-screen {
    background:linear-gradient(90deg,#061c2af0,#071e2baa)
  }
  .intro-stats {
    gap:14px
  }
  .intro-stats div b {
    font-size:24px
  }
  .intro-stats div span {
    font-size:6px;
    max-width:60px
  }
  .intro-bottom span:last-child {
    display:none
  }
  .intro-bottom {
    left:7%;
    right:7%
  }
  .primary.large {
    min-width:203px
  }
  .intro-actions {
    gap:20px
  }
  .player-card {
    left:10px;
    top:10px;
    width:197px;
    min-height:63px;
    padding:8px 11px;
    gap:10px
  }
  .avatar {
    width:38px;
    height:38px
  }
  .avatar svg {
    width:23px;
    height:23px
  }
  .player-info strong {
    font-size:11px
  }
  .player-info strong span {
    font-size:8px
  }
  .xp-track {
    margin:7px 0 4px
  }
  .player-info small {
    font-size:8px
  }
  .world-time {
    right:10px;
    top:10px;
    width:145px;
    padding:11px 10px;
    gap:8px;
    min-height:63px
  }
  .weather-icon svg {
    width:23px;
    height:23px
  }
  .world-time b {
    font-size:14px
  }
  .world-time small {
    font-size:5px;
    letter-spacing:.4px
  }
  .quality-dot {
    display:none
  }
  .side-nav {
    top:83px;
    right:10px;
    left:10px;
    justify-content:space-around
  }
  .quests {
    top:141px;
    left:10px;
    width:222px;
    padding:10px 11px 5px
  }
  .quests header strong {
    font-size:10px
  }
  .quest-row {
    padding:8px 0;
    font-size:8.5px
  }
  .toast-stack {
    right:10px;
    left:10px;
    top:140px;
    width:auto
  }
  .panel {
    top:140px;
    right:10px;
    left:10px;
    bottom:15px;
    width:auto;
    max-height:none
  }
  .panel-open .quests {
    display:none
  }
  .panel-open .touch-controls {
    display:none
  }
  .map-block {
    left:12px;
    bottom:115px
  }
  .area-label {
    min-width:162px;
    padding:8px 9px;
    width:162px
  }
  .area-label b {
    font-size:9px
  }
  .interaction {
    min-width:0;
    max-width:96%;
    width:max-content;
    bottom:36%;
    padding:9px 12px;
    gap:10px
  }
  .interaction strong {
    font-size:11px
  }
  .interaction small {
    font-size:7px
  }
  .interaction kbd {
    font-size:18px
  }
  .equipped {
    right:12px;
    bottom:118px;
    min-width:155px;
    padding:9px;
    gap:7px
  }
  .equipped b {
    font-size:8px
  }
  .equipped small {
    font-size:5.5px
  }
  .equipped svg {
    width:17px
  }
  .equipped kbd {
    display:none
  }
  .touch-controls {
    left:15px;
    right:18px;
    bottom:24px
  }
  .touch-pad button {
    width:43px;
    height:39px;
    border-radius:10px
  }
  .touch-pad div {
    gap:4px
  }
  #touch-interact {
    width:55px;
    height:55px
  }
  .panel-body .intro-text {
    font-size:12px
  }
}
@media(prefers-reduced-motion:reduce) {
  * {
    animation:none!important;
    transition:none!important
  }
}
.coordinate-table>div {
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:8px;
  padding:10px 3px;
  border-bottom:1px solid #85b3c42d;
  font-size:10px
}
.coordinate-table>div b {
  color:var(--gold);
  font-weight:400
}
.coordinate-table>div span:last-child {
  color:var(--cyan)
}
/* Portrait sheets fade without translating beyond the viewport edge. */
@keyframes panel-fade {
  from {
    opacity:0
  }
  to {
    opacity:1
  }
}
@media(max-width:600px) {
  .panel {
    animation:panel-fade .18s ease-out
  }
}
