:root{--bg:#090b0d;--panel:#11161a;--panel2:#151c21;--line:#2b3338;--gold:#d7a63a;--gold2:#f0cc72;--text:#f6f3e9;--muted:#9fa7aa;--ok:#53b778;--danger:#d76161;--blue:#4e8bd8;--radius:16px;--shadow:0 18px 55px rgba(0,0,0,.35)}
*{box-sizing:border-box}html,body{margin:0;background:var(--bg);color:var(--text);font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}body{min-height:100vh}a{color:inherit;text-decoration:none}button,input,select,textarea{font:inherit}.wrap{width:min(1180px,calc(100% - 32px));margin:auto}.topbar{position:sticky;top:0;z-index:30;background:rgba(9,11,13,.92);backdrop-filter:blur(12px);border-bottom:1px solid rgba(255,255,255,.07)}.nav{height:72px;display:flex;align-items:center;gap:22px}.brand{display:flex;align-items:center;gap:12px;font-weight:800;letter-spacing:.04em}.brand img{width:46px;height:46px;object-fit:contain}.navlinks{margin-left:auto;display:flex;gap:18px;align-items:center}.btn{border:1px solid var(--line);background:#171d21;color:#fff;padding:11px 16px;border-radius:11px;cursor:pointer;font-weight:700}.btn:hover{border-color:#49555c}.btn.gold{background:linear-gradient(135deg,#b77f17,#e3b84d);color:#14100a;border:none}.btn.danger{background:#3a1818;border-color:#6d2a2a}.hero{min-height:690px;background:linear-gradient(90deg,rgba(7,8,9,.96) 0%,rgba(7,8,9,.78) 42%,rgba(7,8,9,.18) 75%),url('/media.php?img=start-bg-desktop') center/cover no-repeat;display:flex;align-items:center;border-bottom:1px solid rgba(255,255,255,.06)}.hero-copy{max-width:640px;padding:80px 0}.eyebrow{color:var(--gold2);font-size:13px;font-weight:800;letter-spacing:.16em;text-transform:uppercase}.hero h1{font-size:clamp(44px,7vw,84px);line-height:.95;margin:14px 0 20px;letter-spacing:-.045em}.hero p{font-size:20px;line-height:1.65;color:#d4d7d8;max-width:590px}.actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:28px}.section{padding:78px 0}.section h2{font-size:36px;margin:0 0 12px}.section-lead{color:var(--muted);font-size:18px;max-width:760px;line-height:1.65}.cards{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;margin-top:32px}.card{background:linear-gradient(180deg,var(--panel2),var(--panel));border:1px solid var(--line);border-radius:var(--radius);padding:24px;box-shadow:var(--shadow)}.card h3{margin:8px 0 8px}.card p{color:var(--muted);line-height:1.6}.auth-page{min-height:100vh;display:grid;grid-template-columns:1.15fr .85fr}.auth-visual{background:linear-gradient(rgba(6,7,8,.22),rgba(6,7,8,.78)),url('/media.php?img=start-bg-desktop') center/cover no-repeat;padding:38px;display:flex;flex-direction:column;justify-content:space-between}.auth-panel{display:flex;align-items:center;justify-content:center;padding:38px;background:#0d1114}.auth-box{width:min(470px,100%)}.auth-box h1{font-size:38px;margin:0 0 8px}.muted{color:var(--muted)}.field{margin:15px 0}.field label{display:block;font-size:13px;font-weight:700;color:#c6ccce;margin-bottom:7px}.field input,.field select,.field textarea{width:100%;background:#12181c;border:1px solid #2c363c;color:#fff;border-radius:10px;padding:13px 14px;outline:none}.field input:focus,.field select:focus{border-color:var(--gold)}.flash{padding:12px 14px;border-radius:10px;margin:12px 0;border:1px solid #3a444a;background:#151b1f}.flash.success{border-color:#2e6843;background:#11291b}.flash.error{border-color:#6c3030;background:#2a1515}.game{display:grid;grid-template-columns:250px 1fr;min-height:100vh}.sidebar{background:#0c1013;border-right:1px solid #262d32;padding:18px;position:sticky;top:0;height:100vh}.game-brand img{width:62px}.game-brand strong{display:block;font-size:18px}.menu{margin-top:28px;display:grid;gap:7px}.menu a{padding:12px 13px;border-radius:10px;color:#ccd1d3}.menu a.active{background:#1c252a;color:#fff;border:1px solid #303a40}.menu a.disabled{opacity:.42;pointer-events:none}.game-main{min-width:0}.statusbar{height:72px;border-bottom:1px solid #262d32;background:#0e1316;display:flex;align-items:center;padding:0 22px;gap:22px;position:sticky;top:0;z-index:20}.status-spacer{flex:1}.stat{display:flex;gap:7px;align-items:baseline}.stat b{color:var(--gold2)}.content{padding:22px}.map-shell{background:radial-gradient(circle at 55% 35%,#273126,#121714 55%,#0c100e);border:1px solid #29322c;border-radius:18px;min-height:620px;position:relative;overflow:hidden;box-shadow:var(--shadow)}.map-grid{position:absolute;inset:0;background-image:linear-gradient(rgba(255,255,255,.025) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.025) 1px,transparent 1px);background-size:42px 42px}.building{position:absolute;text-align:center}.building img{width:190px;max-width:24vw;filter:drop-shadow(0 18px 14px rgba(0,0,0,.42))}.building span{display:inline-block;background:rgba(10,12,13,.82);border:1px solid #3d474c;padding:6px 10px;border-radius:9px;font-size:13px}.b-hq{left:8%;top:18%}.b-ex{right:10%;top:15%}.b-vault{left:39%;bottom:10%}.claim-slot{position:absolute;width:120px;height:76px;border:1px dashed #6a603e;border-radius:50%;background:rgba(196,158,68,.05);display:flex;align-items:center;justify-content:center;color:#b9aa77;font-size:12px}.c1{left:30%;top:20%}.c2{right:29%;top:41%}.c3{left:18%;bottom:19%}.c4{right:13%;bottom:17%}.panel-grid{display:grid;grid-template-columns:1.2fr .8fr;gap:18px;margin-top:18px}.panel{background:#11171a;border:1px solid #293238;border-radius:14px;padding:18px}.panel h3{margin:0 0 12px}.kpi-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:12px}.kpi{background:#151c20;border:1px solid #2b3439;border-radius:12px;padding:14px}.kpi small{color:var(--muted)}.kpi strong{display:block;font-size:22px;margin-top:4px}.admin-shell{display:grid;grid-template-columns:240px 1fr;min-height:100vh}.admin-nav{background:#0c1013;border-right:1px solid #252c31;padding:20px}.admin-main{padding:26px}.table{width:100%;border-collapse:collapse;background:#11171a;border-radius:12px;overflow:hidden}.table th,.table td{padding:12px 14px;border-bottom:1px solid #263036;text-align:left;font-size:14px}.badge{display:inline-block;border-radius:999px;padding:4px 8px;font-size:12px;border:1px solid #39434a}.badge.active{border-color:#2c6a43;color:#82d49f}.badge.pending{border-color:#6c5a2a;color:#e5c974}.badge.suspended,.badge.rejected{border-color:#6a3030;color:#e48e8e}.inline{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.footer{border-top:1px solid #222a2f;color:#7f898e;padding:28px 0;margin-top:20px}
@media(max-width:900px){.cards{grid-template-columns:1fr}.auth-page{grid-template-columns:1fr}.auth-visual{min-height:300px}.game,.admin-shell{grid-template-columns:1fr}.sidebar,.admin-nav{display:none}.statusbar{height:auto;min-height:64px;flex-wrap:wrap;padding:12px 16px}.map-shell{min-height:520px}.panel-grid,.kpi-grid{grid-template-columns:1fr 1fr}.hero{min-height:620px;background-image:linear-gradient(rgba(7,8,9,.72),rgba(7,8,9,.9)),url('/media.php?img=start-bg-mobile')}.navlinks a:not(.btn){display:none}.building img{width:140px}.b-hq{left:4%;top:15%}.b-ex{right:4%;top:15%}.b-vault{left:33%;bottom:10%}}
@media(max-width:560px){.wrap{width:min(100% - 20px,1180px)}.nav{height:64px}.brand span{display:none}.hero-copy{padding:52px 0}.hero p{font-size:17px}.auth-visual{display:none}.content{padding:12px}.map-shell{min-height:470px}.building img{width:110px}.claim-slot{width:88px;height:56px}.kpi-grid,.panel-grid{grid-template-columns:1fr}.stat{font-size:13px}.statusbar .stat:nth-of-type(n+4){display:none}}
.deploy-grid{display:grid;grid-template-columns:1.25fr .75fr;gap:18px;margin-top:18px}.grow{flex:1;min-width:220px}.small{width:120px}.panel code{font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;color:#d9c88e;font-size:12px}.admin-main h1{margin-bottom:8px}.admin-main .panel>h3{font-size:18px}.admin-main input[type=file]{padding:10px;background:#0e1417;border:1px dashed #4a555b}@media(max-width:900px){.deploy-grid{grid-template-columns:1fr}}

/* GoldDistrict public website 0.1.3 */
.public-site{background:#090b0d}.public-nav{background:rgba(7,9,10,.84);box-shadow:0 10px 30px rgba(0,0,0,.16)}
.lang-switch{display:flex;align-items:center;gap:6px;padding:7px 9px;border:1px solid rgba(255,255,255,.1);border-radius:10px;background:rgba(255,255,255,.025);font-size:12px;font-weight:800;letter-spacing:.08em}.lang-switch a{color:#7f898d}.lang-switch a.active,.lang-switch a:hover{color:var(--gold2)}.lang-switch span{color:#3d474c}
.hero-final{min-height:760px;position:relative;background:linear-gradient(90deg,rgba(6,7,8,.98) 0%,rgba(6,7,8,.84) 39%,rgba(6,7,8,.34) 68%,rgba(6,7,8,.16) 100%),linear-gradient(0deg,rgba(9,11,13,.55),transparent 30%),url('/media.php?img=start-bg-desktop-xl') center 47%/cover no-repeat}.hero-final:after{content:"";position:absolute;left:0;right:0;bottom:0;height:160px;background:linear-gradient(transparent,#090b0d);pointer-events:none}.hero-layout{position:relative;z-index:2}.hero-final .hero-copy{max-width:720px;padding:120px 0 150px}.hero-final h1{font-size:clamp(52px,7vw,92px);max-width:900px}.hero-final p{max-width:660px}.btn-lg{padding:14px 19px;font-size:15px}.hero-note{display:flex;align-items:center;gap:10px;margin-top:28px;color:#8f999d;font-size:13px;max-width:620px;line-height:1.5}.status-dot{width:8px;height:8px;border-radius:50%;background:#d4a63c;box-shadow:0 0 0 5px rgba(212,166,60,.11);flex:none}
.section-dark{padding-top:92px;background:linear-gradient(180deg,#090b0d,#0c1012)}.section-head{display:grid;grid-template-columns:.9fr 1.1fr;gap:60px;align-items:end}.section-head h2{font-size:clamp(34px,4vw,54px);line-height:1.05;letter-spacing:-.03em;margin:12px 0 0}.section-head .section-lead{margin:0}.loop-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin-top:46px}.loop-card{position:relative;min-height:280px;padding:24px;background:linear-gradient(155deg,rgba(28,35,38,.96),rgba(14,18,20,.98));border:1px solid #293238;border-radius:18px;overflow:hidden}.loop-card:after{content:"";position:absolute;inset:auto -35px -65px auto;width:150px;height:150px;border:1px solid rgba(215,166,58,.14);border-radius:50%}.loop-card .step{font-size:11px;font-weight:900;letter-spacing:.15em;color:#768085}.loop-icon{font-size:32px;color:var(--gold2);height:70px;display:flex;align-items:center}.loop-card h3{font-size:20px;margin:8px 0 10px}.loop-card p{color:#9ca5a9;line-height:1.65;margin:0;font-size:14px}
.world-section{padding:110px 0;background:radial-gradient(circle at 0% 45%,rgba(167,123,39,.11),transparent 34%),#0a0d0f}.world-grid{display:grid;grid-template-columns:.8fr 1.2fr;gap:70px;align-items:center}.world-copy h2{font-size:clamp(38px,5vw,62px);line-height:1.04;letter-spacing:-.035em;margin:12px 0 20px}.world-copy p{color:#a4adb0;font-size:18px;line-height:1.7}.feature-stack{display:grid;gap:14px}.feature-panel{display:grid;grid-template-columns:58px 1fr;gap:18px;padding:22px;border:1px solid #293238;border-radius:16px;background:rgba(18,24,27,.83)}.feature-mark{width:44px;height:44px;border:1px solid rgba(215,166,58,.35);border-radius:12px;display:flex;align-items:center;justify-content:center;color:var(--gold2);font-size:12px;font-weight:900}.feature-panel h3{margin:0 0 8px;font-size:18px}.feature-panel p{margin:0;color:#969fa3;line-height:1.6}
.public-footer{margin:0;background:#07090a;padding:42px 0}.footer-grid{display:flex;justify-content:space-between;gap:24px;align-items:flex-end}.footer-brand img{width:40px;height:40px}.footer-grid p{font-size:12px;margin:12px 0 0}.footer-grid nav{display:flex;gap:20px;font-size:13px}.footer-grid nav a:hover{color:var(--gold2)}
.auth-final{background:#090b0d}.auth-final .auth-visual{position:relative;background:linear-gradient(180deg,rgba(5,6,7,.14),rgba(5,6,7,.84)),linear-gradient(90deg,rgba(5,6,7,.05),rgba(5,6,7,.42)),url('/media.php?img=start-bg-desktop') center/cover no-repeat;min-height:100vh}.auth-final .auth-visual:after{content:"";position:absolute;inset:0;border-right:1px solid rgba(255,255,255,.07);pointer-events:none}.auth-visual-copy{position:relative;z-index:2;max-width:570px;padding-bottom:24px}.auth-visual-copy h2{font-size:clamp(38px,5vw,62px);line-height:1.02;letter-spacing:-.035em;margin:12px 0}.auth-visual-copy p{color:#c5cbcd;font-size:17px;line-height:1.65}.auth-panel{background:radial-gradient(circle at 100% 0%,rgba(186,139,45,.08),transparent 34%),#0c1012}.auth-box{width:min(500px,100%)}.register-box{width:min(640px,100%)}.auth-top{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:54px}.back-link{color:#8f999c;font-size:13px}.back-link:hover{color:#fff}.auth-box h1{font-size:44px;letter-spacing:-.035em;margin:8px 0}.auth-lead{margin:0 0 26px}.auth-submit{width:100%;padding:14px;margin-top:8px}.auth-foot{font-size:13px;margin-top:20px}.auth-foot a{color:var(--gold2)}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:0 14px}.form-grid .full{grid-column:1/-1}.closed-registration{border:1px solid #3e3930;background:linear-gradient(145deg,#181713,#111416);border-radius:16px;padding:28px;margin-top:24px}.closed-registration .closed-symbol{color:var(--gold2);font-size:24px}.closed-registration h3{font-size:22px;margin:12px 0 8px}.closed-registration p{color:#9da5a8;line-height:1.6}.closed-registration .btn{display:inline-block;margin-top:8px}
.legal-page{min-height:100vh;background:radial-gradient(circle at 50% 0%,rgba(177,132,43,.12),transparent 34%),#090b0d;display:flex;align-items:center;justify-content:center;padding:28px}.legal-card{width:min(760px,100%);padding:36px;border-radius:20px;border:1px solid #2a3236;background:#101518;box-shadow:var(--shadow)}.legal-card .brand{margin-bottom:52px}.legal-card h1{font-size:42px;margin:12px 0}.legal-card p{color:#9fa7aa;line-height:1.7;margin-bottom:28px}
@media(max-width:1000px){.loop-grid{grid-template-columns:1fr 1fr}.section-head,.world-grid{grid-template-columns:1fr;gap:28px}.world-grid{gap:50px}.hero-final{min-height:680px}.auth-final .auth-visual{min-height:100vh}}
@media(max-width:900px){.public-nav .navlinks>a:not(.btn){display:none}.hero-final{background-image:linear-gradient(rgba(6,7,8,.58),rgba(6,7,8,.92)),url('/media.php?img=start-bg-mobile');background-position:center}.hero-final .hero-copy{padding:100px 0 120px}.footer-grid{align-items:flex-start}.auth-final .auth-visual{min-height:330px}.auth-visual-copy{padding-top:100px}.auth-final .auth-page{display:block}.auth-panel{padding:34px 20px}.auth-top{margin-bottom:36px}}
@media(max-width:620px){.loop-grid{grid-template-columns:1fr}.loop-card{min-height:220px}.form-grid{grid-template-columns:1fr}.form-grid .full{grid-column:auto}.footer-grid{display:grid}.footer-grid nav{flex-wrap:wrap}.hero-final h1{font-size:49px}.section-dark,.world-section{padding:72px 0}.auth-box h1{font-size:38px}.auth-top{margin-bottom:30px}}

/* ============================================================
   GoldDistrict Game UI 0.2.8
   Map-first full-width layout — visual-only Phase 3
   ============================================================ */

.game-body{margin:0;overflow:hidden;background:#061722;color:#edf4f6}
.gd-game{min-height:100vh;background:#061722}
.gd-topbar{
  position:fixed;z-index:80;left:0;right:0;top:0;height:66px;
  display:flex;align-items:center;gap:9px;padding:0 14px;
  background:rgba(5,25,37,.97);border-bottom:1px solid #315267;
  box-shadow:0 7px 24px rgba(0,0,0,.24);backdrop-filter:blur(16px)
}
.gd-top-brand{display:flex;align-items:center;gap:8px;min-width:190px;color:#f2d17a}
.gd-top-brand img{width:46px;height:46px;object-fit:contain}
.gd-top-brand strong{font-size:20px;letter-spacing:.01em}
.gd-company-static{
  height:43px;min-width:190px;display:flex;align-items:center;gap:8px;
  padding:4px 9px;border:1px solid #315267;border-radius:7px;background:#0c2a3b
}
.gd-company-mark,.gd-account-avatar{
  display:grid;place-items:center;flex:none;border-radius:7px;
  background:linear-gradient(145deg,#d39a28,#8b5b0e);color:#fff;font-weight:900
}
.gd-company-mark{width:32px;height:32px;font-size:11px}
.gd-company-static strong{display:block;max-width:130px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:9px}
.gd-company-static small{display:block;margin-top:2px;color:#708a98;font-size:5px;letter-spacing:.07em;text-transform:uppercase}
.gd-level-box{width:130px}
.gd-level-line{display:flex;justify-content:space-between;align-items:center;color:#dfe9ed;font-size:7px;font-weight:900}
.gd-level-line small{font-size:6px}
.gd-xp{height:7px;margin-top:4px;border:1px solid #3a5e72;border-radius:4px;background:#123145;overflow:hidden}
.gd-xp i{display:block;height:100%;background:linear-gradient(90deg,#f4aa21,#ffd365)}
.gd-topstats{margin-left:auto;display:flex;align-items:center;gap:6px}
.gd-topstat{
  height:40px;min-width:101px;display:flex;align-items:center;gap:7px;
  padding:0 9px;border:1px solid #315267;border-radius:7px;background:#0c2a3b
}
.gd-topstat strong{font-size:9px;white-space:nowrap}
.gd-stat-symbol{width:23px;height:23px;display:grid;place-items:center;color:#ffc03a}
.gd-stat-symbol svg,.gd-top-icon svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:2}
.gd-stat-symbol.cash{border-radius:5px;background:#20a66d;color:white;font-weight:900}
.gd-top-icon{appearance:none;width:40px;height:40px;display:grid;place-items:center;border:1px solid #315267;border-radius:7px;background:#0c2a3b;color:#d4e0e5;cursor:pointer}
.gd-account-menu{position:relative}
.gd-account-menu summary{
  list-style:none;height:40px;min-width:126px;display:flex;align-items:center;gap:7px;
  padding:0 8px;border:1px solid #315267;border-radius:7px;background:#0c2a3b;cursor:pointer
}
.gd-account-menu summary::-webkit-details-marker{display:none}
.gd-account-avatar{width:29px;height:29px;font-size:10px}
.gd-account-menu summary span:nth-child(2){max-width:75px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:8px;font-weight:900}
.gd-account-menu summary i{margin-left:auto;color:#7d96a3;font-style:normal}
.gd-account-popover{
  position:absolute;right:0;top:47px;width:180px;padding:6px;border:1px solid #3a5d72;border-radius:8px;
  background:#0a2637;box-shadow:0 18px 40px rgba(0,0,0,.42)
}
.gd-account-company{padding:7px;color:#7d96a3;font-size:6px;border-bottom:1px solid rgba(135,170,188,.16)}
.gd-account-popover a{display:block;padding:9px 7px;border-radius:6px;color:#d4e0e5;font-size:8px}
.gd-account-popover a:hover{background:#12364a}
.gd-lang-mini{height:36px;display:flex;align-items:center;padding:3px;border:1px solid #315267;border-radius:7px;background:#0c2a3b}
.gd-lang-mini a{padding:6px 7px;color:#6e8896;font-size:6px;font-weight:900}
.gd-lang-mini a.active{color:#ffc03a}

/* Map consumes the complete center */
.gd-map-stage{position:fixed;left:0;right:0;top:66px;bottom:62px;background:#071923}
.gd-map-viewport{width:100%;height:100%;overflow:hidden;background:#071923}
.gd-map-canvas{
  position:relative;isolation:isolate;width:100%;height:100%;min-height:640px;overflow:hidden;
  background:
    radial-gradient(circle at 50% 43%,rgba(221,183,94,.10),transparent 29%),
    linear-gradient(180deg,#274936 0%,#193525 48%,#10271d 100%);
}
.gd-terrain{
  position:absolute;z-index:-5;inset:0;
  background:
    radial-gradient(ellipse at 10% 16%,rgba(86,108,72,.65) 0 5%,transparent 7%),
    radial-gradient(ellipse at 87% 14%,rgba(73,97,66,.60) 0 6%,transparent 8%),
    radial-gradient(ellipse at 15% 82%,rgba(61,81,55,.62) 0 7%,transparent 9%),
    radial-gradient(ellipse at 87% 82%,rgba(63,84,57,.64) 0 8%,transparent 10%),
    repeating-linear-gradient(28deg,rgba(255,255,255,.018) 0 1px,transparent 1px 70px),
    repeating-linear-gradient(-28deg,rgba(255,255,255,.014) 0 1px,transparent 1px 70px),
    linear-gradient(145deg,#3c563a,#203b29 50%,#173122)
}
.gd-terrain:after{
  content:"";position:absolute;inset:2%;border:1px solid rgba(226,186,91,.18);
  border-radius:24px;box-shadow:inset 0 0 130px rgba(0,0,0,.38)
}

/* Sand / gravel paths */
.gd-road-network{position:absolute;z-index:-2;inset:3% 2%;width:96%;height:94%;overflow:visible}
.gd-road-network path{fill:none;stroke-linecap:round;stroke-linejoin:round}
.gd-road-network .road-base path{stroke:#3d3427;stroke-width:25;opacity:.56}
.gd-road-network .road-sand path{stroke:#a88a55;stroke-width:14;opacity:.83;filter:drop-shadow(0 2px 1px rgba(0,0,0,.25))}

/* Translatable decorative text — never baked into the background image */
.gd-map-title{
  position:absolute;z-index:11;left:2.2%;top:2.2%;max-width:340px;padding:9px 12px;
  border:1px solid rgba(74,103,116,.46);border-radius:8px;background:rgba(5,23,32,.77);
  box-shadow:0 10px 24px rgba(0,0,0,.22);backdrop-filter:blur(9px)
}
.gd-map-title span{display:block;color:#d7a438;font-size:5px;font-weight:900;letter-spacing:.15em;text-transform:uppercase}
.gd-map-title strong{display:block;margin-top:2px;font-size:13px}
.gd-map-title small{display:block;margin-top:3px;color:#8298a3;font-size:6px}
.gd-map-sign{
  position:absolute;z-index:1;max-width:155px;padding:8px 10px;border:1px solid rgba(195,155,72,.26);
  background:linear-gradient(145deg,rgba(65,48,24,.84),rgba(27,25,19,.90));
  color:#d8b56a;font-size:6px;font-weight:900;letter-spacing:.08em;text-align:center;
  box-shadow:0 8px 20px rgba(0,0,0,.28);transform:rotate(-3deg)
}
.gd-map-sign:before,.gd-map-sign:after{content:"";position:absolute;bottom:-20px;width:3px;height:21px;background:#473821}
.gd-map-sign:before{left:18%}.gd-map-sign:after{right:18%}
.sign-a{left:2%;top:21%}.sign-b{right:2%;top:18%;transform:rotate(3deg)}.sign-c{right:2.5%;bottom:12%;transform:rotate(-2deg)}

/* 11 permanent map places */
.gd-map-node{
  appearance:none;position:absolute;z-index:8;width:160px;border:0;background:transparent;color:inherit;
  padding:0;text-align:center;cursor:pointer;transition:transform .16s ease,filter .16s ease
}
.gd-map-node:hover{transform:translateY(-5px);filter:brightness(1.055)}
.gd-map-node:focus-visible{outline:2px solid #ffc13b;outline-offset:4px;border-radius:12px}
.gd-node-art{position:relative;display:block}
.gd-node-art img{
  display:block;width:100%;aspect-ratio:1;object-fit:cover;
  filter:drop-shadow(0 15px 12px rgba(0,0,0,.34));
  -webkit-mask-image:radial-gradient(ellipse at 50% 48%,#000 65%,rgba(0,0,0,.92) 78%,transparent 96%);
  mask-image:radial-gradient(ellipse at 50% 48%,#000 65%,rgba(0,0,0,.92) 78%,transparent 96%)
}
.gd-core-node{width:190px}
.gd-core-node .gd-node-art img{filter:drop-shadow(0 18px 14px rgba(0,0,0,.40))}
.gd-node-label{
  position:relative;z-index:5;width:82%;min-height:38px;margin:-28px auto 0;padding:6px 7px;
  display:flex;flex-direction:column;justify-content:center;gap:2px;border:1px solid #38596c;border-radius:7px;
  background:rgba(5,23,32,.95);box-shadow:0 7px 17px rgba(0,0,0,.30)
}
.gd-node-label b{font-size:9px}.gd-node-label small{font-size:5px;color:#8297a1}
.gd-node-label.core{border-color:#95742a}.gd-node-label.core small{color:#d3a441;text-transform:uppercase;letter-spacing:.07em}
.state-free .gd-node-label small{color:#73ca87}
.state-level .gd-node-art img{filter:grayscale(.72) brightness(.60) drop-shadow(0 15px 12px rgba(0,0,0,.34))}
.state-coins .gd-node-art img{filter:saturate(.82) brightness(.84) drop-shadow(0 15px 12px rgba(0,0,0,.34))}
.state-coins .gd-node-label{border-color:#987221}.state-coins .gd-node-label small{color:#e5b53f}
.gd-node-badge{
  position:absolute;z-index:7;right:7%;top:12%;display:flex;align-items:center;gap:4px;padding:5px 7px;
  border-radius:999px;box-shadow:0 7px 16px rgba(0,0,0,.38);backdrop-filter:blur(8px)
}
.gd-node-badge svg{width:13px;height:13px;fill:none;stroke:currentColor;stroke-width:2}
.gd-node-badge b{font-size:5px;letter-spacing:.08em}
.gd-node-badge.level{border:1px solid rgba(207,219,224,.25);background:rgba(5,17,23,.92);color:#bcc8ce}
.gd-node-badge.coin{border:1px solid #e6b13a;background:rgba(52,38,7,.94);color:#ffc23e}

/* Fixed node positions on a 1450x760 logical composition */
.claim-1{left:7%;top:8%}.claim-2{left:29%;top:5%}.claim-3{left:58%;top:5%}.claim-4{left:80%;top:9%}
.node-hq{left:28%;top:34%}.node-exchange{left:46%;top:31%}.node-vault{left:65%;top:36%}
.claim-5{left:7%;top:61%}.claim-6{left:30%;top:66%}.claim-7{left:59%;top:66%}.claim-8{left:81%;top:60%}

/* Info bubble */
.gd-map-info{
  position:absolute;z-index:30;right:16px;bottom:16px;width:300px;padding:13px 36px 13px 13px;
  border:1px solid #46687a;border-radius:8px;background:rgba(6,27,38,.96);
  box-shadow:0 16px 38px rgba(0,0,0,.40);transform:translateY(12px);opacity:0;pointer-events:none;transition:.16s
}
.gd-map-info.show{transform:none;opacity:1;pointer-events:auto}
.gd-map-info h3{margin:0 0 4px;font-size:10px}.gd-map-info p{margin:0;color:#8fa4ae;font-size:7px;line-height:1.45}
.gd-map-info>button{position:absolute;right:7px;top:7px;width:23px;height:23px;border:0;border-radius:6px;background:#123448;color:#8ea4ae;cursor:pointer}

/* Desktop navigation replaces the former left/right/bottom dashboards */
.gd-desktop-dock{
  position:fixed;z-index:85;left:0;right:0;bottom:0;height:62px;display:grid;
  grid-template-columns:repeat(10,minmax(70px,1fr));padding:0 max(18px,4vw);
  background:rgba(5,24,36,.98);border-top:1px solid #315267;box-shadow:0 -7px 24px rgba(0,0,0,.24)
}
.gd-desktop-dock a,.gd-desktop-dock button{
  appearance:none;position:relative;border:0;border-left:1px solid rgba(119,155,174,.10);background:transparent;
  color:#91a6b0;display:flex;align-items:center;justify-content:center;gap:8px;cursor:pointer
}
.gd-desktop-dock>*:last-child{border-right:1px solid rgba(119,155,174,.10)}
.gd-desktop-dock a.active{color:#ffc13f;background:linear-gradient(180deg,rgba(230,174,50,.10),rgba(230,174,50,.025))}
.gd-desktop-dock a.active:before{content:"";position:absolute;left:15%;right:15%;top:0;height:2px;background:#ffc13f;box-shadow:0 0 9px rgba(255,193,63,.45)}
.gd-desktop-dock span{width:22px;height:22px;display:grid;place-items:center}
.gd-desktop-dock svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:2}
.gd-desktop-dock small{font-size:7px;font-weight:800}
.gd-desktop-dock i{position:absolute;right:6px;top:7px;padding:2px 3px;border:1px solid #86651d;border-radius:3px;color:#c99a29;font-size:4px;font-style:normal}

/* PWA/mobile */
.gd-bottom-nav,.gd-mobile-sheet,.gd-sheet-backdrop{display:none}
.gd-toast{
  position:fixed;z-index:150;left:50%;bottom:76px;transform:translate(-50%,12px);opacity:0;pointer-events:none;
  padding:8px 11px;border:1px solid #46687a;border-radius:7px;background:#09283a;color:#dbe7eb;font-size:7px;transition:.16s
}
.gd-toast.show{opacity:1;transform:translate(-50%,0)}
.gd-pwa-install[hidden]{display:none!important}
.gd-pwa-install{
  position:fixed;z-index:170;right:12px;bottom:74px;width:min(380px,calc(100vw - 24px));
  display:grid;grid-template-columns:44px 1fr auto auto;gap:8px;align-items:center;padding:9px;
  border:1px solid #46687a;border-radius:10px;background:rgba(8,28,40,.97);box-shadow:0 17px 40px rgba(0,0,0,.5)
}
.gd-pwa-appmark img{width:42px;height:42px;border-radius:8px}.gd-pwa-copy strong,.gd-pwa-copy span{display:block}
.gd-pwa-copy strong{font-size:9px}.gd-pwa-copy span{margin-top:2px;color:#9bb0ba;font-size:7px}
.gd-pwa-primary,.gd-pwa-later{appearance:none;border-radius:6px;padding:7px 8px;font-size:7px;font-weight:900;cursor:pointer}
.gd-pwa-primary{border:1px solid #f1b83f;background:#f2b940;color:#152734}.gd-pwa-later{border:1px solid #365266;background:#102a3b;color:#b8c6cc}

@media(max-width:1220px){
  .gd-top-brand{min-width:160px}.gd-top-brand strong{font-size:17px}
  .gd-company-static{min-width:160px}.gd-level-box{width:110px}
  .gd-topstat{min-width:82px}
  .gd-map-node{width:145px}.gd-core-node{width:172px}
}

/* PWA: map keeps its desktop-like composition and becomes horizontally scrollable */
@media(max-width:980px){
  .game-body{overflow:hidden}
  .gd-topbar{height:60px;padding:0 7px;gap:5px}
  .gd-top-brand{min-width:auto}.gd-top-brand img{width:39px;height:39px}.gd-top-brand strong{display:none}
  .gd-company-static{min-width:0;max-width:170px;flex:1;height:39px}
  .gd-company-mark{width:29px;height:29px}.gd-company-static strong{max-width:105px;font-size:8px}.gd-company-static small{display:none}
  .gd-level-box{display:none}
  .gd-topstats{margin-left:auto}.gd-topstat{height:38px;min-width:62px;padding:0 6px}.gd-topstat strong{font-size:7px}
  .gd-topstat:nth-child(2),.gd-coins{display:none}
  .gd-top-icon{width:37px;height:37px}
  .gd-account-menu summary{height:38px;min-width:42px;padding:0 4px}.gd-account-menu summary span:nth-child(2),.gd-account-menu summary i{display:none}
  .gd-account-avatar{width:28px;height:28px}
  .gd-lang-mini{display:none}

  .gd-map-stage{top:60px;bottom:58px}
  .gd-map-viewport{
    overflow-x:auto;overflow-y:auto;-webkit-overflow-scrolling:touch;overscroll-behavior:contain;
    scrollbar-width:thin;scrollbar-color:#35586d #071923
  }
  .gd-map-canvas{width:1180px;height:700px;min-width:1180px;min-height:700px}
  .gd-map-node{width:145px}.gd-core-node{width:172px}
  .gd-map-title{left:18px;top:16px}.gd-map-sign{max-width:130px;font-size:5px}
  .gd-map-info{position:fixed;left:7px;right:7px;bottom:66px;width:auto}

  .gd-desktop-dock{display:none}
  .gd-bottom-nav{
    position:fixed;z-index:100;left:0;right:0;bottom:0;height:58px;display:grid;
    grid-template-columns:repeat(5,1fr);padding:3px 5px max(3px,env(safe-area-inset-bottom));
    background:rgba(5,24,36,.98);border-top:1px solid #315267;box-shadow:0 -6px 20px rgba(0,0,0,.28)
  }
  .gd-bottom-nav a,.gd-bottom-nav button{
    appearance:none;border:0;background:transparent;color:#879da8;display:flex;flex-direction:column;
    align-items:center;justify-content:center;gap:2px;border-radius:7px
  }
  .gd-bottom-nav a.active{color:#ffc13e;background:rgba(224,171,50,.07)}
  .gd-bottom-nav svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:2}
  .gd-bottom-nav small{font-size:6px;font-weight:850}
  .gd-mobile-sheet{
    display:grid;position:fixed;z-index:130;left:7px;right:7px;bottom:max(7px,env(safe-area-inset-bottom));
    padding:10px 12px 15px;border:1px solid #3c5d71;border-radius:14px;background:#0d2839;
    box-shadow:0 20px 55px rgba(0,0,0,.6);transform:translateY(calc(100% + 30px));transition:.2s
  }
  .gd-mobile-sheet.show{transform:none}.gd-sheet-handle{width:36px;height:4px;border-radius:99px;background:#496677;margin:0 auto 9px}
  .gd-mobile-sheet>strong{padding:7px}.gd-mobile-sheet a,.gd-mobile-sheet button{
    appearance:none;border:0;border-top:1px solid rgba(140,169,184,.15);background:transparent;color:#c5d2d8;
    padding:10px 7px;text-align:left;font:inherit;font-size:10px
  }
  .gd-sheet-backdrop{display:block;position:fixed;z-index:120;inset:0;background:rgba(2,8,12,.7);opacity:0;pointer-events:none;transition:.17s}
  .gd-sheet-backdrop.show{opacity:1;pointer-events:auto}.gd-sheet-open{overflow:hidden}
  .gd-toast{bottom:67px}
  .gd-pwa-install{left:7px;right:7px;bottom:66px;width:auto}
}
@media(max-width:430px){
  .gd-company-static{max-width:135px}
  .gd-topstat:first-child{min-width:56px}
  .gd-pwa-install{grid-template-columns:38px 1fr auto;padding:7px}
  .gd-pwa-appmark img{width:36px;height:36px}
  .gd-pwa-later{position:absolute;right:3px;top:3px;border:0;background:transparent;font-size:0}
  .gd-pwa-later:after{content:"×";font-size:14px}.gd-pwa-primary{grid-column:3}
}

/* GoldDistrict 0.2.9 - Harmony & Readability Rework */
.gd-v029{--gd-header-h:78px;--gd-dock-h:78px;--gd-panel-bg:rgba(5,22,33,.86);--gd-panel-line:rgba(143,179,198,.18)}
.gd-v029 .gd-topbar{height:var(--gd-header-h);padding:0 18px;gap:14px;border-bottom:1px solid rgba(120,156,174,.18);background:linear-gradient(180deg,rgba(5,24,36,.98),rgba(7,27,40,.95));backdrop-filter:blur(10px)}
.gd-v029 .gd-top-brand{min-width:220px;gap:12px}.gd-v029 .gd-top-brand img{width:46px;height:46px}.gd-v029 .gd-top-brand strong{font-size:18px;letter-spacing:.01em}
.gd-v029 .gd-company-static{height:52px;min-width:240px;padding:0 14px;border-radius:14px;background:rgba(10,33,48,.78);border-color:rgba(137,173,191,.18);box-shadow:none}
.gd-v029 .gd-company-mark{width:36px;height:36px;font-size:14px}.gd-v029 .gd-company-static strong{font-size:14px;line-height:1.1}.gd-v029 .gd-company-static small{font-size:11px}
.gd-v029 .gd-level-box{width:170px;height:52px;padding:10px 12px;border-radius:14px;background:rgba(10,33,48,.72);border:1px solid rgba(137,173,191,.18)}
.gd-v029 .gd-level-line{font-size:12px}.gd-v029 .gd-level-line span{font-weight:800}.gd-v029 .gd-level-line small{font-size:11px}.gd-v029 .gd-xp{height:10px;margin-top:8px;border-radius:999px;background:rgba(255,255,255,.08)}.gd-v029 .gd-xp i{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,#cf9b29,#f0cb6b)}
.gd-v029 .gd-topstats{gap:10px;margin-left:auto}.gd-v029 .gd-topstat{height:52px;min-width:128px;padding:0 14px;border-radius:14px;background:rgba(10,33,48,.72);border:1px solid rgba(137,173,191,.18)}
.gd-v029 .gd-topstat .gd-stat-symbol{width:28px;height:28px}.gd-v029 .gd-topstat label{display:block;font-size:10px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:#88a1ad}.gd-v029 .gd-topstat strong{font-size:18px}
.gd-v029 .gd-top-icon{width:52px;height:52px;border-radius:14px;border:1px solid rgba(137,173,191,.18);background:rgba(10,33,48,.72)}
.gd-v029 .gd-account-menu summary{min-width:138px;height:52px;padding:0 12px;border-radius:14px;font-size:14px;background:rgba(10,33,48,.78);border:1px solid rgba(137,173,191,.18)}.gd-v029 .gd-account-avatar{width:34px;height:34px;font-size:14px}
.gd-v029 .gd-account-popover{top:calc(100% + 10px);right:0;padding:10px;border-radius:14px;background:#0b2536;border:1px solid rgba(137,173,191,.2)}.gd-v029 .gd-account-popover a{font-size:14px;padding:10px 12px;border-radius:10px}
.gd-v029 .gd-lang-switch{display:flex;align-items:center;gap:8px}.gd-v029 .gd-lang-switch a{display:flex;align-items:center;gap:8px;height:52px;padding:0 12px;border-radius:14px;border:1px solid rgba(137,173,191,.18);background:rgba(10,33,48,.72);color:#aebcc4}.gd-v029 .gd-lang-switch a.active{border-color:rgba(230,181,67,.55);color:#fff;box-shadow:inset 0 0 0 1px rgba(230,181,67,.15)}.gd-v029 .gd-lang-switch span{font-size:18px}.gd-v029 .gd-lang-switch b{font-size:13px}.gd-v029 .gd-lang-switch small{font-size:11px;color:#8ea6b2}

.gd-v029 .gd-map-stage{top:var(--gd-header-h);bottom:var(--gd-dock-h);background:#091723}
.gd-v029 .gd-map-viewport{padding:18px 16px 0;overflow:auto}
.gd-v029 .gd-map-canvas{width:1400px;height:880px;min-width:1400px;min-height:880px;border-radius:28px;border:1px solid rgba(108,141,156,.22);background:linear-gradient(180deg,rgba(6,17,23,.35),rgba(6,17,23,.52));box-shadow:inset 0 0 0 1px rgba(255,255,255,.02),0 25px 50px rgba(0,0,0,.32)}
.gd-v029 .gd-map-canvas:before{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(9,15,18,.38),rgba(9,15,18,.55)),url('/media.php?img=start-bg-desktop-xl') center center/cover no-repeat;filter:blur(3px) saturate(.85) brightness(.72);transform:scale(1.035);opacity:.98}
.gd-v029 .gd-map-canvas:after{content:"";position:absolute;inset:0;background:radial-gradient(circle at 50% 40%,rgba(164,204,105,.12),transparent 44%),linear-gradient(180deg,rgba(255,255,255,.03),rgba(255,255,255,0) 24%,rgba(0,0,0,.22));pointer-events:none}
.gd-v029 .gd-terrain{display:none}
.gd-v029 .gd-map-title{left:26px;top:22px;z-index:12;max-width:370px;padding:16px 18px;border-radius:20px;background:rgba(8,23,33,.74);border:1px solid rgba(255,255,255,.08);backdrop-filter:blur(8px);box-shadow:0 14px 30px rgba(0,0,0,.24)}
.gd-v029 .gd-map-title span{font-size:14px;color:#ffd468}.gd-v029 .gd-map-title strong{font-size:34px;line-height:1.02;margin:6px 0 8px}.gd-v029 .gd-map-title small{font-size:16px;line-height:1.4;color:#dbe5ea}
.gd-v029 .gd-map-note{position:absolute;z-index:12;right:24px;top:22px;padding:10px 14px;border-radius:999px;background:rgba(8,23,33,.76);border:1px solid rgba(255,255,255,.08);font-size:13px;color:#dbe5ea;backdrop-filter:blur(8px)}
.gd-v029 .gd-map-sign{z-index:7;max-width:170px;padding:9px 11px;font-size:12px;letter-spacing:.09em;opacity:.84;background:#5c451d;color:#f4d78a}.gd-v029 .gd-map-sign:before,.gd-v029 .gd-map-sign:after{display:none}.gd-v029 .sign-a{left:5%;top:24%}.gd-v029 .sign-b{right:3%;top:22%}.gd-v029 .sign-c{right:4%;bottom:10%}
.gd-v029 .gd-road-network{z-index:3;opacity:.94}.gd-v029 .gd-road-network .road-base{fill:none;stroke:rgba(27,16,5,.52);stroke-linecap:round;stroke-width:22}.gd-v029 .gd-road-network .road-sand{fill:none;stroke:rgba(198,162,94,.7);stroke-linecap:round;stroke-width:15}

.gd-v029 .gd-map-node{width:176px;z-index:10}.gd-v029 .gd-core-node{width:198px;z-index:11}.gd-v029 .gd-node-art img{filter:drop-shadow(0 20px 20px rgba(0,0,0,.38));-webkit-mask-image:radial-gradient(ellipse at 50% 48%,#000 67%,rgba(0,0,0,.92) 80%,transparent 98%);mask-image:radial-gradient(ellipse at 50% 48%,#000 67%,rgba(0,0,0,.92) 80%,transparent 98%)}
.gd-v029 .gd-node-label{width:auto;min-width:120px;max-width:100%;margin:-18px auto 0;padding:8px 12px 10px;display:inline-flex;align-items:center;justify-content:center;border:0;border-radius:14px;background:rgba(8,14,18,.82);box-shadow:0 10px 20px rgba(0,0,0,.28)}
.gd-v029 .gd-node-label b{font-size:18px;line-height:1.05;letter-spacing:-.01em}.gd-v029 .gd-node-label small{font-size:12px;line-height:1.15;color:#9cc7d0}.gd-v029 .gd-node-label.core{background:rgba(7,12,16,.86)}.gd-v029 .gd-node-label.core b{color:#fff}.gd-v029 .gd-node-label.core small{color:#e3b24b}
.gd-v029 .state-free .gd-node-label small{color:#70d285}.gd-v029 .state-level .gd-node-label small{color:#cfd6da}.gd-v029 .state-coins .gd-node-label small{color:#efbd49}
.gd-v029 .gd-node-badge{right:10px;top:14px;padding:7px 10px;gap:6px;border-radius:999px}.gd-v029 .gd-node-badge svg{width:15px;height:15px}.gd-v029 .gd-node-badge b{font-size:11px;letter-spacing:.08em}

.gd-v029 .claim-1{left:7%;top:13%}.gd-v029 .claim-2{left:28%;top:6%}.gd-v029 .claim-3{left:58%;top:8%}.gd-v029 .claim-4{left:80%;top:15%}
.gd-v029 .node-hq{left:30%;top:36%}.gd-v029 .node-exchange{left:46%;top:33%}.gd-v029 .node-vault{left:63%;top:42%}
.gd-v029 .claim-5{left:6%;top:63%}.gd-v029 .claim-6{left:28%;top:72%}.gd-v029 .claim-7{left:58%;top:73%}.gd-v029 .claim-8{left:81%;top:64%}

.gd-v029 .gd-map-info{right:20px;bottom:20px;width:320px;padding:16px 44px 16px 16px;border-radius:18px;background:rgba(7,22,31,.94);border:1px solid rgba(132,169,186,.2)}.gd-v029 .gd-map-info h3{font-size:18px;margin:0 0 6px}.gd-v029 .gd-map-info p{font-size:14px;line-height:1.5;color:#b0c1c9}.gd-v029 .gd-map-info>button{top:10px;right:10px;width:28px;height:28px}

.gd-v029 .gd-desktop-dock{grid-template-columns:1.2fr 1fr 1fr 1fr;height:var(--gd-dock-h);padding:0 22px;background:linear-gradient(180deg,rgba(6,20,30,.97),rgba(4,16,24,.98));border-top:1px solid rgba(120,156,174,.18)}
.gd-v029 .gd-desktop-dock>a,.gd-v029 .gd-dock-group>summary{appearance:none;list-style:none;height:100%;display:flex;align-items:center;justify-content:center;gap:10px;color:#d6e2e8;cursor:pointer;border-left:1px solid rgba(119,155,174,.08);position:relative}.gd-v029 .gd-desktop-dock>a::-webkit-details-marker,.gd-v029 .gd-dock-group>summary::-webkit-details-marker{display:none}
.gd-v029 .gd-desktop-dock>*:last-child{border-right:1px solid rgba(119,155,174,.08)}.gd-v029 .gd-desktop-dock a.active{color:#ffc13f;background:linear-gradient(180deg,rgba(230,174,50,.12),rgba(230,174,50,.03))}.gd-v029 .gd-desktop-dock a.active:before{content:"";position:absolute;left:14%;right:14%;top:0;height:3px;background:#ffc13f;box-shadow:0 0 12px rgba(255,193,63,.45)}
.gd-v029 .gd-desktop-dock span,.gd-v029 .gd-dock-group>summary span{width:24px;height:24px;display:grid;place-items:center}.gd-v029 .gd-desktop-dock svg,.gd-v029 .gd-dock-group>summary svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:2}
.gd-v029 .gd-desktop-dock small,.gd-v029 .gd-dock-group>summary small{font-size:14px;font-weight:800}.gd-v029 .gd-dock-group{position:relative}.gd-v029 .gd-dock-group[open]>summary{color:#ffc13f;background:rgba(230,174,50,.05)}
.gd-v029 .gd-dock-popover{position:absolute;left:50%;bottom:calc(100% + 14px);transform:translateX(-50%);min-width:240px;padding:10px;border-radius:18px;background:rgba(9,26,38,.97);border:1px solid rgba(132,169,186,.18);box-shadow:0 22px 40px rgba(0,0,0,.44)}
.gd-v029 .gd-dock-popover button,.gd-v029 .gd-dock-popover a{appearance:none;width:100%;border:0;background:transparent;color:#d8e2e8;display:flex;align-items:center;gap:10px;padding:12px 12px;border-radius:12px;text-align:left;font-size:15px;cursor:pointer}.gd-v029 .gd-dock-popover button:hover,.gd-v029 .gd-dock-popover a:hover{background:rgba(255,255,255,.04)}.gd-v029 .gd-dock-popover svg{width:18px;height:18px;flex:none}

.gd-v029 .gd-toast{bottom:90px;font-size:13px;padding:10px 14px;border-radius:10px}
.gd-v029 .gd-pwa-install{bottom:92px;padding:12px;grid-template-columns:48px 1fr auto auto}.gd-v029 .gd-pwa-copy strong{font-size:15px}.gd-v029 .gd-pwa-copy span{font-size:13px}.gd-v029 .gd-pwa-primary,.gd-v029 .gd-pwa-later{font-size:13px;padding:9px 12px}

@media(max-width:1180px){
  .gd-v029 .gd-company-static{min-width:210px}.gd-v029 .gd-level-box{width:144px}.gd-v029 .gd-topstat{min-width:110px;padding:0 10px}.gd-v029 .gd-topstat strong{font-size:16px}.gd-v029 .gd-lang-switch small{display:none}
}

@media(max-width:980px){
  .gd-v029{--gd-header-h:66px;--gd-dock-h:66px}
  .gd-v029 .gd-topbar{padding:0 8px;gap:8px}.gd-v029 .gd-top-brand{min-width:auto}.gd-v029 .gd-top-brand strong{display:none}.gd-v029 .gd-top-brand img{width:38px;height:38px}
  .gd-v029 .gd-company-static{flex:1;min-width:0;max-width:170px;height:44px;padding:0 10px}.gd-v029 .gd-company-mark{width:30px;height:30px;font-size:12px}.gd-v029 .gd-company-static strong{font-size:12px;max-width:80px;display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.gd-v029 .gd-company-static small{display:none}
  .gd-v029 .gd-level-box{display:none}
  .gd-v029 .gd-topstats{gap:6px}.gd-v029 .gd-topstat{min-width:76px;height:44px;padding:0 8px}.gd-v029 .gd-topstat label{display:none}.gd-v029 .gd-topstat strong{font-size:13px}.gd-v029 .gd-topstat:nth-child(2),.gd-v029 .gd-coins{display:none}
  .gd-v029 .gd-top-icon{width:44px;height:44px}.gd-v029 .gd-account-menu summary{min-width:48px;height:44px;padding:0 8px}.gd-v029 .gd-account-menu summary span:nth-child(2),.gd-v029 .gd-account-menu summary i{display:none}.gd-v029 .gd-account-avatar{width:30px;height:30px}
  .gd-v029 .gd-lang-switch a{height:44px;padding:0 9px;gap:5px}.gd-v029 .gd-lang-switch small{display:none}.gd-v029 .gd-lang-switch b{font-size:12px}
  .gd-v029 .gd-map-stage{top:var(--gd-header-h);bottom:var(--gd-dock-h)}.gd-v029 .gd-map-viewport{padding:12px 10px 0}.gd-v029 .gd-map-canvas{width:1280px;height:820px;min-width:1280px;min-height:820px}
  .gd-v029 .gd-map-title{max-width:310px;padding:14px 15px}.gd-v029 .gd-map-title strong{font-size:28px}.gd-v029 .gd-map-title small{font-size:14px}.gd-v029 .gd-map-note{font-size:12px}
  .gd-v029 .gd-map-node{width:160px}.gd-v029 .gd-core-node{width:184px}.gd-v029 .gd-node-label b{font-size:16px}.gd-v029 .gd-node-label small{font-size:11px}
  .gd-v029 .gd-desktop-dock{display:none}
  .gd-v029 .gd-bottom-nav{position:fixed;z-index:100;left:0;right:0;bottom:0;height:var(--gd-dock-h);display:grid;grid-template-columns:repeat(5,1fr);padding:4px 6px max(4px,env(safe-area-inset-bottom));background:linear-gradient(180deg,rgba(6,20,30,.97),rgba(4,16,24,.98));border-top:1px solid rgba(120,156,174,.18)}
  .gd-v029 .gd-bottom-nav a,.gd-v029 .gd-bottom-nav button{appearance:none;border:0;background:transparent;color:#c8d8df;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;border-radius:10px;padding:4px 2px}.gd-v029 .gd-bottom-nav a.active{color:#ffc13f;background:rgba(230,174,50,.08)}.gd-v029 .gd-bottom-nav svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:2}.gd-v029 .gd-bottom-nav small{font-size:11px;font-weight:800;line-height:1.15;text-align:center}
  .gd-v029 .gd-mobile-sheet{display:grid;position:fixed;z-index:130;left:10px;right:10px;bottom:max(10px,env(safe-area-inset-bottom));padding:12px 14px 16px;border:1px solid #3c5d71;border-radius:16px;background:#0d2839;box-shadow:0 20px 55px rgba(0,0,0,.6);transform:translateY(calc(100% + 30px));transition:.2s}.gd-v029 .gd-mobile-sheet.show{transform:none}.gd-v029 .gd-sheet-handle{width:38px;height:4px;border-radius:99px;background:#496677;margin:0 auto 10px}.gd-v029 .gd-mobile-sheet>strong{padding:7px;font-size:16px}.gd-v029 .gd-mobile-sheet a,.gd-v029 .gd-mobile-sheet button{appearance:none;border:0;border-top:1px solid rgba(140,169,184,.15);background:transparent;color:#c5d2d8;padding:12px 7px;text-align:left;font:inherit;font-size:15px}
  .gd-v029 .gd-sheet-backdrop{display:block;position:fixed;z-index:120;inset:0;background:rgba(2,8,12,.7);opacity:0;pointer-events:none;transition:.17s}.gd-v029 .gd-sheet-backdrop.show{opacity:1;pointer-events:auto}.gd-v029.gd-sheet-open,.gd-v029 .game-body.gd-sheet-open{overflow:hidden}
  .gd-v029 .gd-toast{bottom:78px}.gd-v029 .gd-pwa-install{left:10px;right:10px;bottom:78px;width:auto;grid-template-columns:40px 1fr auto}
}

@media(max-width:480px){
  .gd-v029 .gd-company-static{max-width:135px}.gd-v029 .gd-topstat:first-child{min-width:66px}.gd-v029 .gd-map-title{left:14px;right:14px;max-width:none}.gd-v029 .gd-map-note{display:none}.gd-v029 .gd-map-info{left:10px;right:10px;bottom:78px;width:auto}.gd-v029 .gd-pwa-later{position:absolute;right:4px;top:4px;border:0;background:transparent;font-size:0}.gd-v029 .gd-pwa-later:after{content:"×";font-size:18px}
}

/* GoldDistrict 0.3.0 — UI Shell Cleanup (Map unchanged) */
.gd-v030{--gd-header-h:74px;--gd-dock-h:72px}
.gd-v030 .gd-topbar{
  height:var(--gd-header-h);padding:0 12px;gap:10px;display:flex;align-items:center;
  background:linear-gradient(180deg,#0b2230 0%,#081b27 100%);
  border-bottom:1px solid rgba(126,164,184,.22);box-shadow:0 5px 18px rgba(0,0,0,.20);overflow:hidden
}
.gd-v030 .gd-top-brand{min-width:170px;display:flex;align-items:center;gap:9px;flex:none}
.gd-v030 .gd-top-brand img{width:42px;height:42px;object-fit:contain}.gd-v030 .gd-top-brand strong{font-size:18px;letter-spacing:.01em;color:#f2c55b;white-space:nowrap}
.gd-v030 .gd-company-static{height:48px;min-width:185px;max-width:210px;padding:0 10px;gap:8px;flex:none;border:1px solid rgba(130,168,188,.22);border-radius:10px;background:#0d2a3a}
.gd-v030 .gd-company-mark{width:32px;height:32px;border-radius:8px;font-size:12px;flex:none}.gd-v030 .gd-company-static strong{display:block;max-width:132px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:12px}.gd-v030 .gd-company-static small{display:block;margin-top:2px;font-size:8px;color:#78919d}
.gd-v030 .gd-level-box{width:138px;height:48px;padding:7px 9px;flex:none;border:1px solid rgba(130,168,188,.22);border-radius:10px;background:#0d2a3a}
.gd-v030 .gd-level-line{font-size:10px;line-height:1}.gd-v030 .gd-level-line span{font-weight:850}.gd-v030 .gd-level-line small{font-size:9px}.gd-v030 .gd-xp{height:8px;margin-top:8px;border-radius:999px;background:#244253;border:0}.gd-v030 .gd-xp i{display:block;height:100%;border-radius:999px;background:linear-gradient(90deg,#e6a828,#f0c861)}
.gd-v030 .gd-topstats{margin-left:auto;display:flex;align-items:center;gap:7px;min-width:0}
.gd-v030 .gd-topstat{height:48px;min-width:92px;padding:0 9px;gap:7px;display:flex;align-items:center;border:1px solid rgba(130,168,188,.22);border-radius:10px;background:#0d2a3a}
.gd-v030 .gd-stat-symbol{width:26px;height:26px;display:grid;place-items:center;flex:none}.gd-v030 .gd-stat-symbol svg{width:18px;height:18px}.gd-v030 .gd-stat-symbol.cash{border-radius:7px;background:#2eb878;color:#fff;font-size:16px;font-weight:900}
.gd-v030 .gd-topstat label{display:block;margin-bottom:2px;font-size:7px;line-height:1;text-transform:uppercase;letter-spacing:.08em;color:#76909d;font-weight:800}.gd-v030 .gd-topstat strong{display:block;font-size:13px;line-height:1.05;white-space:nowrap;color:#f1f5f6}
.gd-v030 .gd-top-icon{width:44px;height:44px;flex:none;border:1px solid rgba(130,168,188,.22);border-radius:10px;background:#0d2a3a;color:#dce7ec}.gd-v030 .gd-top-icon svg{width:20px;height:20px}
.gd-v030 .gd-account-menu{flex:none}.gd-v030 .gd-account-menu summary{height:48px;min-width:112px;padding:0 8px;gap:7px;border:1px solid rgba(130,168,188,.22);border-radius:10px;background:#0d2a3a;color:#eff4f6;font-size:11px}.gd-v030 .gd-account-avatar{width:30px;height:30px;font-size:12px}.gd-v030 .gd-account-menu summary i{margin-left:auto;color:#6e8997}
.gd-v030 .gd-account-popover{top:calc(100% + 7px);right:0;min-width:190px;padding:8px;border-radius:10px;background:#0c2838;border:1px solid rgba(130,168,188,.23)}.gd-v030 .gd-account-popover a{font-size:12px;padding:9px 10px;border-radius:8px}
.gd-v030 .gd-lang-switch{display:flex;gap:5px;flex:none}
.gd-v030 .gd-lang-switch a{height:48px;min-width:82px;padding:0 8px;display:flex;align-items:center;gap:6px;border:1px solid rgba(130,168,188,.22);border-radius:10px;background:#0d2a3a;color:#adc0ca;transition:.15s}
.gd-v030 .gd-lang-switch a.active{border-color:#c89b36;background:#112d3c;color:#fff;box-shadow:inset 0 -2px #d5a63b}.gd-v030 .gd-flag{width:24px;height:16px;display:block;flex:none;border-radius:2px;box-shadow:0 0 0 1px rgba(255,255,255,.18)}
.gd-v030 .gd-lang-copy{display:flex;flex-direction:column;line-height:1}.gd-v030 .gd-lang-copy b{font-size:10px}.gd-v030 .gd-lang-copy small{margin-top:3px;font-size:8px;color:#8fa5b0}.gd-v030 .gd-lang-switch a.active .gd-lang-copy small{color:#dbe5ea}

/* Do not redesign the map in this build; only reserve clean shell space. */
.gd-v030 .gd-map-stage{top:var(--gd-header-h);bottom:var(--gd-dock-h)}

/* Direct, readable navigation — no grouped popovers. */
.gd-v030 .gd-direct-dock{
  position:fixed;z-index:90;left:0;right:0;bottom:0;height:var(--gd-dock-h);display:flex!important;
  align-items:stretch;justify-content:flex-start;overflow-x:auto;overflow-y:hidden;padding:0 8px;
  scrollbar-width:thin;scrollbar-color:#46667a #071923;background:linear-gradient(180deg,#0b2230,#071923);
  border-top:1px solid rgba(130,168,188,.22);box-shadow:0 -5px 18px rgba(0,0,0,.22)
}
.gd-v030 .gd-direct-dock a,.gd-v030 .gd-direct-dock button{
  appearance:none;position:relative;flex:1 0 118px;min-width:118px;height:100%;border:0;border-left:1px solid rgba(119,155,174,.09);
  background:transparent;color:#b5c7d0;display:flex;align-items:center;justify-content:center;gap:8px;cursor:pointer;padding:0 8px
}
.gd-v030 .gd-direct-dock>*:last-child{border-right:1px solid rgba(119,155,174,.09)}
.gd-v030 .gd-direct-dock a.active{color:#ffc440;background:linear-gradient(180deg,rgba(229,174,49,.11),rgba(229,174,49,.03))}.gd-v030 .gd-direct-dock a.active:before{content:"";position:absolute;top:0;left:12%;right:12%;height:3px;background:#ffc440;box-shadow:0 0 10px rgba(255,196,64,.4)}
.gd-v030 .gd-direct-dock span{width:23px;height:23px;display:grid;place-items:center;flex:none}.gd-v030 .gd-direct-dock svg{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:2}.gd-v030 .gd-direct-dock small{font-size:11px;line-height:1.1;font-weight:800;white-space:nowrap}
.gd-v030 .gd-bottom-nav,.gd-v030 .gd-mobile-sheet,.gd-v030 .gd-sheet-backdrop{display:none!important}
.gd-v030 .gd-toast{bottom:82px;font-size:11px;padding:9px 12px}
.gd-v030 .gd-pwa-install{bottom:84px}

@media(max-width:1220px){
  .gd-v030 .gd-top-brand{min-width:138px}.gd-v030 .gd-top-brand strong{font-size:15px}.gd-v030 .gd-company-static{min-width:158px;max-width:170px}.gd-v030 .gd-level-box{width:116px}.gd-v030 .gd-topstat{min-width:78px}.gd-v030 .gd-topstat label{display:none}.gd-v030 .gd-lang-switch a{min-width:66px}.gd-v030 .gd-lang-copy small{display:none}
}
@media(max-width:980px){
  .gd-v030{--gd-header-h:62px;--gd-dock-h:64px}
  .gd-v030 .gd-topbar{height:var(--gd-header-h);padding:0 6px;gap:5px;overflow:hidden}
  .gd-v030 .gd-top-brand{min-width:auto}.gd-v030 .gd-top-brand img{width:38px;height:38px}.gd-v030 .gd-top-brand strong{display:none}
  .gd-v030 .gd-company-static{height:42px;min-width:0;max-width:145px;flex:1}.gd-v030 .gd-company-mark{width:28px;height:28px}.gd-v030 .gd-company-static strong{max-width:90px;font-size:10px}.gd-v030 .gd-company-static small{display:none}
  .gd-v030 .gd-level-box{display:none}
  .gd-v030 .gd-topstats{margin-left:auto;gap:4px}.gd-v030 .gd-topstat{height:42px;min-width:65px;padding:0 6px}.gd-v030 .gd-topstat strong{font-size:10px}.gd-v030 .gd-topstat:nth-child(2),.gd-v030 .gd-coins{display:none}
  .gd-v030 .gd-top-icon{width:40px;height:40px}.gd-v030 .gd-account-menu summary{height:42px;min-width:42px;padding:0 5px}.gd-v030 .gd-account-menu summary span:nth-child(2),.gd-v030 .gd-account-menu summary i{display:none}.gd-v030 .gd-account-avatar{width:29px;height:29px}
  .gd-v030 .gd-lang-switch{gap:3px}.gd-v030 .gd-lang-switch a{height:42px;min-width:48px;padding:0 6px;gap:4px}.gd-v030 .gd-flag{width:20px;height:13px}.gd-v030 .gd-lang-copy b{font-size:9px}.gd-v030 .gd-lang-copy small{display:none}
  .gd-v030 .gd-direct-dock{height:var(--gd-dock-h);padding:0 4px}.gd-v030 .gd-direct-dock a,.gd-v030 .gd-direct-dock button{flex:0 0 105px;min-width:105px;gap:5px;padding:0 5px}.gd-v030 .gd-direct-dock small{font-size:10px}.gd-v030 .gd-direct-dock svg{width:20px;height:20px}
  .gd-v030 .gd-toast{bottom:74px}.gd-v030 .gd-pwa-install{bottom:76px}
}
@media(max-width:520px){
  .gd-v030 .gd-company-static{max-width:120px}.gd-v030 .gd-topstat:first-child{min-width:58px}.gd-v030 .gd-lang-switch a{min-width:43px;padding:0 4px}.gd-v030 .gd-flag{width:18px;height:12px}.gd-v030 .gd-lang-copy b{font-size:8px}
}

/* GoldDistrict 0.3.1 — Navigation Cleanup (Map unchanged) */
.gd-v031{--gd-header-h:74px;--gd-dock-h:76px}

/* UI layers always sit above the game map. */
.gd-v031 .gd-map-stage{z-index:1;top:var(--gd-header-h);bottom:var(--gd-dock-h)}
.gd-v031 .gd-topbar{z-index:700;overflow:visible}
.gd-v031 .gd-account-menu{position:relative;z-index:730}
.gd-v031 .gd-account-menu[open]{z-index:760}
.gd-v031 .gd-account-popover{z-index:770;box-shadow:0 22px 55px rgba(0,0,0,.62)}

/* The mail icon is intentionally gone; Chat will later contain rooms + private messages. */
.gd-v031 .gd-topstats{margin-left:auto}

/* Five clear main navigation destinations only. */
.gd-v031 .gd-primary-nav{
  position:fixed;z-index:650;left:0;right:0;bottom:0;height:var(--gd-dock-h);
  display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr));align-items:stretch;
  overflow:visible;padding:0 max(14px,3vw);background:linear-gradient(180deg,#0b2230,#071923);
  border-top:1px solid rgba(130,168,188,.24);box-shadow:0 -6px 22px rgba(0,0,0,.28)
}
.gd-v031 .gd-primary-nav a,.gd-v031 .gd-primary-nav button{
  appearance:none;position:relative;min-width:0!important;width:auto;height:100%;padding:0 10px;
  border:0;border-left:1px solid rgba(119,155,174,.10);background:transparent;color:#b8cad3;
  display:flex;flex-direction:row;align-items:center;justify-content:center;gap:10px;cursor:pointer
}
.gd-v031 .gd-primary-nav>*:last-child{border-right:1px solid rgba(119,155,174,.10)}
.gd-v031 .gd-primary-nav a.active{color:#ffc440;background:linear-gradient(180deg,rgba(229,174,49,.12),rgba(229,174,49,.03))}
.gd-v031 .gd-primary-nav a.active:before{content:"";position:absolute;top:0;left:15%;right:15%;height:3px;background:#ffc440;box-shadow:0 0 10px rgba(255,196,64,.42)}
.gd-v031 .gd-primary-nav span{width:27px;height:27px;display:grid;place-items:center;flex:none}
.gd-v031 .gd-primary-nav svg{width:25px;height:25px;fill:none;stroke:currentColor;stroke-width:2}
.gd-v031 .gd-primary-nav small{font-size:14px;line-height:1.1;font-weight:850;white-space:nowrap}
.gd-v031 .gd-nav-menu-trigger.is-open{color:#ffc440;background:rgba(229,174,49,.08)}

/* "Menü" opens upward and is guaranteed to be above the map. */
.gd-v031 .gd-nav-menu{
  position:fixed;z-index:680;right:max(18px,3vw);bottom:calc(var(--gd-dock-h) + 12px);width:285px;
  padding:10px;border:1px solid rgba(135,173,193,.28);border-radius:15px;background:#0b2738;
  box-shadow:0 24px 60px rgba(0,0,0,.58);opacity:0;transform:translateY(12px) scale(.98);
  transform-origin:bottom right;pointer-events:none;transition:opacity .16s ease,transform .16s ease
}
.gd-v031 .gd-nav-menu.show{opacity:1;transform:none;pointer-events:auto}
.gd-v031 .gd-nav-menu button,.gd-v031 .gd-nav-menu a{
  appearance:none;width:100%;min-height:52px;border:0;border-bottom:1px solid rgba(139,172,188,.13);
  border-radius:9px;background:transparent;color:#d8e4e9;display:flex;align-items:center;gap:12px;
  padding:10px 12px;text-align:left;font-size:15px;font-weight:800;cursor:pointer;text-decoration:none
}
.gd-v031 .gd-nav-menu>*:last-child{border-bottom:0}
.gd-v031 .gd-nav-menu button:hover,.gd-v031 .gd-nav-menu a:hover{background:rgba(255,255,255,.05)}
.gd-v031 .gd-nav-menu svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:2;flex:none}
.gd-v031 .gd-nav-menu-backdrop{
  position:fixed;z-index:620;left:0;right:0;top:var(--gd-header-h);bottom:var(--gd-dock-h);
  background:rgba(2,9,14,.34);backdrop-filter:blur(1px);opacity:0;pointer-events:none;transition:opacity .16s ease
}
.gd-v031 .gd-nav-menu-backdrop.show{opacity:1;pointer-events:auto}

/* Keep feedback/install UI above menu and map. */
.gd-v031 .gd-toast{z-index:800;bottom:calc(var(--gd-dock-h) + 10px);font-size:12px}
.gd-v031 .gd-pwa-install{z-index:820;bottom:calc(var(--gd-dock-h) + 12px)}

@media(max-width:980px){
  .gd-v031{--gd-header-h:62px;--gd-dock-h:70px}
  .gd-v031 .gd-primary-nav{padding:0 4px;grid-template-columns:repeat(5,minmax(0,1fr))}
  .gd-v031 .gd-primary-nav a,.gd-v031 .gd-primary-nav button{padding:0 3px;gap:4px;flex-direction:column}
  .gd-v031 .gd-primary-nav span{width:23px;height:23px}.gd-v031 .gd-primary-nav svg{width:22px;height:22px}
  .gd-v031 .gd-primary-nav small{font-size:11px;text-align:center;white-space:normal}
  .gd-v031 .gd-nav-menu{right:8px;bottom:calc(var(--gd-dock-h) + 8px);width:min(310px,calc(100vw - 16px))}
  .gd-v031 .gd-nav-menu button,.gd-v031 .gd-nav-menu a{min-height:50px;font-size:14px}
}

@media(max-width:520px){
  .gd-v031 .gd-primary-nav small{font-size:10px}
  .gd-v031 .gd-primary-nav svg{width:21px;height:21px}
}

/* GoldDistrict 0.3.2 — Compact Status Header + Lager terminology */
.gd-v032{--gd-header-h:62px;--gd-dock-h:62px}

/* Compact top bar: brand left, player status + account on the right. */
.gd-v032 .gd-topbar{
  z-index:700;height:var(--gd-header-h);padding:0 16px;gap:9px;overflow:visible;
  display:flex;align-items:center;background:linear-gradient(180deg,#071d2a,#061923);
  border-bottom:1px solid rgba(130,168,188,.20);box-shadow:0 4px 15px rgba(0,0,0,.18)
}
.gd-v032 .gd-top-brand{min-width:auto;display:flex;align-items:center;gap:10px;flex:none}
.gd-v032 .gd-top-brand img{width:40px;height:40px;object-fit:contain}
.gd-v032 .gd-top-brand strong{display:block!important;font-size:19px;line-height:1;font-weight:850;letter-spacing:.01em;color:#f5c84f}
.gd-v032 .gd-header-spacer{flex:1;min-width:16px}

.gd-v032 .gd-compact-status{
  flex:none;height:40px;display:flex;align-items:stretch;overflow:hidden;border-radius:10px;
  border:1px solid rgba(132,168,186,.18);background:#0a2635;box-shadow:inset 0 1px rgba(255,255,255,.02)
}
.gd-v032 .gd-compact-status>div{
  position:relative;min-width:92px;padding:5px 11px;display:flex;align-items:center;gap:8px;
  border-right:1px solid rgba(132,168,186,.15)
}
.gd-v032 .gd-compact-status>div:last-child{border-right:0}
.gd-v032 .gd-status-level{min-width:126px!important;display:block!important;padding:5px 11px 7px!important;background:linear-gradient(180deg,rgba(86,55,104,.72),rgba(53,39,67,.74))}
.gd-v032 .gd-status-label{display:block;font-size:8px;line-height:1;text-transform:uppercase;letter-spacing:.08em;font-weight:800;color:#94aab5}
.gd-v032 .gd-status-level .gd-status-label{color:#c5b8d0}
.gd-v032 .gd-status-level strong{display:block;margin-top:3px;font-size:12px;line-height:1;font-weight:900;color:#fff;white-space:nowrap}
.gd-v032 .gd-status-level strong small{font-size:10px;color:#d4c7dd}
.gd-v032 .gd-level-progress{position:absolute;left:0;right:0;bottom:0;height:3px;background:rgba(0,0,0,.28)}
.gd-v032 .gd-level-progress b{display:block;height:100%;background:#dfb648}
.gd-v032 .gd-status-icon,.gd-v032 .gd-status-symbol{width:25px;height:25px;display:grid;place-items:center;flex:none;border-radius:7px;background:rgba(255,255,255,.055);color:#f6bd37}
.gd-v032 .gd-status-icon svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:2}
.gd-v032 .gd-status-symbol{background:#1da76f;color:#fff;font-size:16px;font-weight:950}
.gd-v032 .gd-status-coins strong,.gd-v032 .gd-status-cash strong{display:block;margin-top:2px;font-size:14px;line-height:1;font-weight:900;color:#eef4f6;white-space:nowrap}
.gd-v032 .gd-status-cash{min-width:132px!important}

/* Username dropdown only; popover is always above the map. */
.gd-v032 .gd-account-menu{position:relative;z-index:740;flex:none}
.gd-v032 .gd-account-menu[open]{z-index:780}
.gd-v032 .gd-account-menu summary{
  height:40px;min-width:118px;max-width:176px;padding:0 11px;display:flex;align-items:center;gap:8px;
  border:1px solid rgba(132,168,186,.20);border-radius:10px;background:#0a2635;color:#eff5f7;
  font-size:12px;font-weight:800;cursor:pointer;list-style:none
}
.gd-v032 .gd-account-menu summary::-webkit-details-marker{display:none}
.gd-v032 .gd-account-menu summary span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.gd-v032 .gd-account-menu summary i{margin-left:auto;color:#77919e;font-size:13px;font-style:normal}
.gd-v032 .gd-account-popover{
  z-index:790;top:calc(100% + 7px);right:0;min-width:190px;padding:8px;border-radius:11px;
  background:#0a2635;border:1px solid rgba(132,168,186,.24);box-shadow:0 22px 55px rgba(0,0,0,.62)
}
.gd-v032 .gd-account-popover a{display:block;padding:10px 11px;border-radius:8px;font-size:13px;font-weight:750;color:#dce7eb}
.gd-v032 .gd-account-popover a:hover{background:rgba(255,255,255,.055)}

/* Profile image slot: upload comes in a later profile phase. */
.gd-v032 .gd-profile-photo{
  appearance:none;flex:none;width:42px;height:42px;padding:0;border-radius:50%;overflow:hidden;cursor:pointer;
  border:2px solid rgba(218,175,72,.72);background:linear-gradient(145deg,#c78f22,#7a5616);
  box-shadow:0 0 0 2px rgba(255,255,255,.045);color:#fff
}
.gd-v032 .gd-profile-photo span{display:grid;place-items:center;width:100%;height:100%;font-size:15px;font-weight:950}

/* Map itself stays untouched; only shell dimensions change. */
.gd-v032 .gd-map-stage{top:var(--gd-header-h);bottom:var(--gd-dock-h)}

/* Same five navigation entries, same readable type, less vertical empty space. */
.gd-v032 .gd-primary-nav{height:var(--gd-dock-h);padding:0 max(14px,3vw)}
.gd-v032 .gd-primary-nav a,.gd-v032 .gd-primary-nav button{gap:9px;padding:0 9px}
.gd-v032 .gd-primary-nav span{width:24px;height:24px}
.gd-v032 .gd-primary-nav svg{width:23px;height:23px}
.gd-v032 .gd-primary-nav small{font-size:14px}
.gd-v032 .gd-nav-menu{bottom:calc(var(--gd-dock-h) + 10px)}
.gd-v032 .gd-nav-menu-backdrop{top:var(--gd-header-h);bottom:var(--gd-dock-h)}
.gd-v032 .gd-toast{bottom:calc(var(--gd-dock-h) + 10px)}
.gd-v032 .gd-pwa-install{bottom:calc(var(--gd-dock-h) + 12px)}

@media(max-width:1100px){
  .gd-v032 .gd-topbar{padding:0 9px;gap:6px}
  .gd-v032 .gd-top-brand strong{font-size:17px}
  .gd-v032 .gd-compact-status>div{min-width:78px;padding-left:8px;padding-right:8px}
  .gd-v032 .gd-status-level{min-width:110px!important}
  .gd-v032 .gd-status-cash{min-width:110px!important}
  .gd-v032 .gd-account-menu summary{min-width:100px;max-width:135px}
}

@media(max-width:820px){
  .gd-v032{--gd-header-h:58px;--gd-dock-h:58px}
  .gd-v032 .gd-topbar{height:var(--gd-header-h);padding:0 6px;gap:5px}
  .gd-v032 .gd-top-brand{gap:6px}.gd-v032 .gd-top-brand img{width:35px;height:35px}.gd-v032 .gd-top-brand strong{font-size:14px}
  .gd-v032 .gd-header-spacer{min-width:2px}
  .gd-v032 .gd-compact-status{height:36px}
  .gd-v032 .gd-compact-status>div{min-width:60px;padding:4px 6px;gap:4px}
  .gd-v032 .gd-status-level{min-width:80px!important;padding:4px 6px 6px!important}
  .gd-v032 .gd-status-label{display:none}
  .gd-v032 .gd-status-level strong{margin-top:5px;font-size:10px}.gd-v032 .gd-status-level strong small{font-size:8px}
  .gd-v032 .gd-status-icon,.gd-v032 .gd-status-symbol{width:21px;height:21px;border-radius:6px}.gd-v032 .gd-status-icon svg{width:14px;height:14px}.gd-v032 .gd-status-symbol{font-size:13px}
  .gd-v032 .gd-status-coins strong,.gd-v032 .gd-status-cash strong{margin:0;font-size:11px}
  .gd-v032 .gd-status-cash{min-width:78px!important}
  .gd-v032 .gd-account-menu summary{height:36px;min-width:75px;max-width:100px;padding:0 7px;font-size:10px}
  .gd-v032 .gd-profile-photo{width:37px;height:37px}.gd-v032 .gd-profile-photo span{font-size:13px}
  .gd-v032 .gd-primary-nav a,.gd-v032 .gd-primary-nav button{gap:5px;padding:0 3px;flex-direction:column}
  .gd-v032 .gd-primary-nav span{width:20px;height:20px}.gd-v032 .gd-primary-nav svg{width:20px;height:20px}
  .gd-v032 .gd-primary-nav small{font-size:11px}
}

@media(max-width:560px){
  .gd-v032 .gd-top-brand strong{display:none!important}
  .gd-v032 .gd-status-level{min-width:68px!important}
  .gd-v032 .gd-status-coins{min-width:48px!important}
  .gd-v032 .gd-status-cash{min-width:66px!important}
  .gd-v032 .gd-status-coins .gd-status-icon{display:none}
  .gd-v032 .gd-account-menu summary{min-width:65px;max-width:78px}
  .gd-v032 .gd-profile-photo{width:35px;height:35px}
  .gd-v032 .gd-primary-nav small{font-size:10px}
}

/* GoldDistrict 0.3.3 — header order, profile access, unified blue shell */
.gd-v033 .gd-topbar{
  background:linear-gradient(180deg,#0b2230,#071923);
  border-bottom:1px solid rgba(130,168,188,.24);
  box-shadow:0 4px 15px rgba(0,0,0,.18)
}
.gd-v033 .gd-compact-status{background:#0a2635}
.gd-v033 .gd-status-cash{min-width:142px!important}
.gd-v033 .gd-status-level{min-width:126px!important}
.gd-v033 .gd-profile-photo{display:grid;place-items:center;text-decoration:none}
.gd-v033 .gd-account-popover a:first-child{color:#f2c95a}

@media(max-width:1100px){
  .gd-v033 .gd-status-cash{min-width:120px!important}
  .gd-v033 .gd-status-level{min-width:108px!important}
}
@media(max-width:820px){
  .gd-v033 .gd-status-cash{min-width:82px!important}
  .gd-v033 .gd-status-level{min-width:80px!important}
}
@media(max-width:560px){
  .gd-v033 .gd-status-cash{min-width:70px!important}
  .gd-v033 .gd-status-level{min-width:68px!important}
}

/* Basic profile screen for account access and persistent language selection. */
.gd-profile-page{min-height:100vh;background:linear-gradient(180deg,#071923,#091f2c);color:#eef4f6}
.gd-profile-topbar{height:62px;padding:0 18px;display:flex;align-items:center;gap:16px;background:linear-gradient(180deg,#0b2230,#071923);border-bottom:1px solid rgba(130,168,188,.24)}
.gd-profile-brand{display:flex;align-items:center;gap:10px;color:#f5c84f;font-weight:850}.gd-profile-brand img{width:40px;height:40px;object-fit:contain}.gd-profile-back{margin-left:auto;color:#c7d7df;font-size:14px;font-weight:750}
.gd-profile-wrap{width:min(760px,calc(100% - 28px));margin:42px auto}.gd-profile-card{padding:28px;border:1px solid rgba(130,168,188,.2);border-radius:18px;background:#0a2635;box-shadow:0 24px 55px rgba(0,0,0,.28)}
.gd-profile-avatar-large{width:74px;height:74px;border-radius:50%;display:grid;place-items:center;float:left;margin-right:18px;background:linear-gradient(145deg,#c78f22,#7a5616);border:2px solid rgba(218,175,72,.72);font-size:25px;font-weight:950}.gd-profile-heading span{color:#e8bd4f;font-size:12px;font-weight:850;text-transform:uppercase;letter-spacing:.08em}.gd-profile-heading h1{margin:5px 0 3px;font-size:30px}.gd-profile-heading p{margin:0;color:#9fb2bc}.gd-profile-grid{clear:both;padding-top:26px;display:grid;grid-template-columns:1fr 1fr;gap:12px}.gd-profile-grid>div{padding:14px;border-radius:12px;background:#071e2b;border:1px solid rgba(130,168,188,.13)}.gd-profile-grid small,.gd-profile-grid strong{display:block}.gd-profile-grid small{font-size:11px;color:#8fa6b1;text-transform:uppercase;letter-spacing:.06em}.gd-profile-grid strong{margin-top:4px;font-size:16px}.gd-profile-form{margin-top:18px;display:grid;gap:8px}.gd-profile-form label{font-size:13px;font-weight:800}.gd-profile-form select{width:100%;padding:11px 12px;border-radius:10px;border:1px solid rgba(130,168,188,.22);background:#071e2b;color:#eef4f6}.gd-profile-form small{color:#8fa6b1}.gd-profile-form .btn{justify-self:start;margin-top:5px}.gd-profile-note{margin:22px 0 0;color:#7f98a5;font-size:12px}
@media(max-width:560px){.gd-profile-grid{grid-template-columns:1fr}.gd-profile-card{padding:20px}.gd-profile-heading h1{font-size:24px}.gd-profile-topbar{padding:0 10px}.gd-profile-brand strong{display:none}}

/* GoldDistrict 0.3.4 — dual map build, contextual skins, iPhone/PWA safe-area shell */
.gd-v034{
  --gd-safe-top:env(safe-area-inset-top,0px);
  --gd-safe-bottom:env(safe-area-inset-bottom,0px);
  --gd-safe-left:env(safe-area-inset-left,0px);
  --gd-safe-right:env(safe-area-inset-right,0px)
}
.gd-v034 .gd-topbar{
  height:calc(var(--gd-header-h) + var(--gd-safe-top));
  padding-top:var(--gd-safe-top);
  padding-left:max(16px,var(--gd-safe-left));
  padding-right:max(16px,var(--gd-safe-right));
}
.gd-v034 .gd-map-stage{top:calc(var(--gd-header-h) + var(--gd-safe-top));bottom:calc(var(--gd-dock-h) + var(--gd-safe-bottom))}
.gd-v034 .gd-primary-nav{height:calc(var(--gd-dock-h) + var(--gd-safe-bottom));padding-bottom:var(--gd-safe-bottom);padding-left:max(14px,var(--gd-safe-left));padding-right:max(14px,var(--gd-safe-right))}
.gd-v034 .gd-nav-menu{bottom:calc(var(--gd-dock-h) + var(--gd-safe-bottom) + 10px)}
.gd-v034 .gd-nav-menu-backdrop{top:calc(var(--gd-header-h) + var(--gd-safe-top));bottom:calc(var(--gd-dock-h) + var(--gd-safe-bottom))}
.gd-v034 .gd-toast,.gd-v034 .gd-pwa-install{bottom:calc(var(--gd-dock-h) + var(--gd-safe-bottom) + 12px)}
.gd-v034 .gd-map-context{display:flex;align-items:center;height:30px;padding:0 10px;border-radius:8px;font-size:10px;font-weight:900;letter-spacing:.1em;text-transform:uppercase;white-space:nowrap}

/* Same shell dimensions, distinct map skins. */
.gd-v034.gd-skin-district .gd-topbar,.gd-v034.gd-skin-district .gd-primary-nav{background:linear-gradient(180deg,#0b2230,#071923);border-color:rgba(130,168,188,.24)}
.gd-v034.gd-skin-district .gd-map-context{color:#e9c15a;background:rgba(215,166,58,.08);border:1px solid rgba(215,166,58,.18)}
.gd-v034.gd-skin-mining .gd-topbar,.gd-v034.gd-skin-mining .gd-primary-nav{background:linear-gradient(180deg,#26302a,#151d1a);border-color:rgba(176,151,92,.22)}
.gd-v034.gd-skin-mining .gd-compact-status,.gd-v034.gd-skin-mining .gd-account-menu summary,.gd-v034.gd-skin-mining .gd-account-popover{background:#202a25;border-color:rgba(176,151,92,.20)}
.gd-v034.gd-skin-mining .gd-map-context{color:#e6c676;background:rgba(175,142,73,.10);border:1px solid rgba(190,160,90,.22)}
.gd-v034.gd-skin-mining .gd-primary-nav a.active{color:#e8c66d;background:linear-gradient(180deg,rgba(206,174,92,.14),rgba(206,174,92,.025))}
.gd-v034.gd-skin-mining .gd-primary-nav a.active:before{background:#e8c66d;box-shadow:0 0 10px rgba(232,198,109,.36)}

/* New static map canvas. */
.gd-v034 .gd-map-viewport{position:absolute;inset:0;overflow:auto;padding:0;background:#0b1113;-webkit-overflow-scrolling:touch;overscroll-behavior:contain}
.gd-v034 .gd-v034-map{position:relative;width:100%;height:100%;min-width:1180px;min-height:660px;overflow:hidden;background:#111}
.gd-v034 .gd-v034-map-bg{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center;user-select:none;-webkit-user-drag:none}
.gd-v034 .gd-v034-map-shade{position:absolute;inset:0;pointer-events:none;background:linear-gradient(180deg,rgba(4,8,10,.04),rgba(4,8,10,.08) 55%,rgba(4,8,10,.20))}
.gd-v034 .gd-v034-map-caption{position:absolute;z-index:5;left:18px;top:18px;display:grid;gap:2px;padding:9px 12px;border-radius:11px;backdrop-filter:blur(8px);box-shadow:0 8px 24px rgba(0,0,0,.22)}
.gd-v034 .gd-v034-map-caption strong{font-size:15px;letter-spacing:.02em}.gd-v034 .gd-v034-map-caption small{font-size:10px;color:#c4ced1}
.gd-v034.gd-skin-district .gd-v034-map-caption{background:rgba(7,25,35,.80);border:1px solid rgba(144,178,196,.22)}
.gd-v034.gd-skin-mining .gd-v034-map-caption{background:rgba(28,37,32,.82);border:1px solid rgba(184,157,91,.22)}

/* District hotspots sit on top of the composed static city map. */
.gd-v034 .gd-map-hotspot{position:absolute;z-index:8;display:flex;align-items:flex-end;justify-content:center;border:1px solid transparent;border-radius:18px;background:transparent;color:#fff;cursor:pointer;transition:.16s;appearance:none;text-decoration:none}
.gd-v034 .gd-map-hotspot span{opacity:0;transform:translateY(5px);transition:.16s;background:rgba(5,19,27,.90);border:1px solid rgba(224,185,85,.32);border-radius:9px;padding:6px 9px;margin-bottom:8px;font-size:11px;font-weight:850;white-space:nowrap}
.gd-v034 .gd-map-hotspot:hover,.gd-v034 .gd-map-hotspot:focus-visible{outline:none;border-color:rgba(233,192,85,.72);background:rgba(232,189,78,.06);box-shadow:inset 0 0 0 1px rgba(255,255,255,.04)}
.gd-v034 .gd-map-hotspot:hover span,.gd-v034 .gd-map-hotspot:focus-visible span{opacity:1;transform:none}
.gd-v034 .hs-exchange{left:7%;top:17%;width:27%;height:34%}.gd-v034 .hs-hq{left:39%;top:16%;width:24%;height:37%}.gd-v034 .hs-storage{left:67%;top:18%;width:25%;height:35%}.gd-v034 .hs-claims{left:3%;top:53%;width:34%;height:37%}.gd-v034 .hs-boost1{left:47%;top:70%;width:21%;height:20%}.gd-v034 .hs-boost2{left:73%;top:67%;width:21%;height:18%}

/* Mining hotspots: static geography, interactive state layer. */
.gd-v034 .gd-claim-hotspot{position:absolute;z-index:8;left:var(--x);top:var(--y);width:34px;height:34px;transform:translate(-50%,-50%);border-radius:50%;display:grid;place-items:center;appearance:none;cursor:pointer;font-size:11px;font-weight:950;color:#fff;background:rgba(31,33,30,.72);border:2px solid rgba(235,223,187,.55);box-shadow:0 5px 16px rgba(0,0,0,.30);backdrop-filter:blur(2px);transition:.15s}
.gd-v034 .gd-claim-hotspot:hover,.gd-v034 .gd-claim-hotspot:focus-visible{transform:translate(-50%,-50%) scale(1.14);outline:none;box-shadow:0 0 0 4px rgba(255,255,255,.12),0 6px 18px rgba(0,0,0,.38)}
.gd-v034 .gd-claim-hotspot.state-exploration{background:#365f6c;border-color:#7fc8dc}.gd-v034 .gd-claim-hotspot.state-mining{background:#7a5a18;border-color:#e7bd4f}.gd-v034 .gd-claim-hotspot.state-exhausted{background:#55524b;border-color:#8b857b;color:#d4d0c8}
.gd-v034 .gd-mining-legend{position:absolute;z-index:7;right:16px;top:16px;display:flex;gap:6px;flex-wrap:wrap;justify-content:flex-end;max-width:410px;padding:7px;border-radius:10px;background:rgba(28,37,32,.78);border:1px solid rgba(184,157,91,.20);backdrop-filter:blur(7px)}
.gd-v034 .gd-mining-legend span{padding:5px 7px;border-radius:7px;font-size:9px;font-weight:850;border:1px solid rgba(255,255,255,.12)}
.gd-v034 .gd-mining-legend .state-exploration{color:#a8e5f1}.gd-v034 .gd-mining-legend .state-mining{color:#f0cc72}.gd-v034 .gd-mining-legend .state-exhausted{color:#aaa59c}
.gd-v034 .gd-map-back{position:absolute;z-index:10;left:18px;bottom:18px;padding:8px 10px;border-radius:9px;background:rgba(28,37,32,.84);border:1px solid rgba(184,157,91,.23);color:#ead39a;font-size:11px;font-weight:850;backdrop-filter:blur(7px)}

/* Shared information card, with state/building preview art. */
.gd-v034 .gd-v034-info{z-index:20;right:18px;bottom:18px;width:min(320px,calc(100% - 36px));padding:12px;border-radius:14px;overflow:hidden}
.gd-v034 .gd-v034-info img{display:block;width:92px;height:92px;object-fit:cover;float:left;margin:0 11px 8px 0;border-radius:10px;border:1px solid rgba(255,255,255,.12)}
.gd-v034 .gd-v034-info h3{margin:4px 28px 5px 0;font-size:16px}.gd-v034 .gd-v034-info p{margin:0;color:#c6d0d4;font-size:11px;line-height:1.45}.gd-v034 .gd-v034-info button{z-index:2}
.gd-v034.gd-skin-district .gd-v034-info{background:rgba(7,25,35,.92);border-color:rgba(144,178,196,.24)}
.gd-v034.gd-skin-mining .gd-v034-info{background:rgba(28,37,32,.94);border-color:rgba(184,157,91,.25)}

@media(max-width:820px){
  .gd-v034 .gd-topbar{padding-left:max(6px,var(--gd-safe-left));padding-right:max(6px,var(--gd-safe-right))}
  .gd-v034 .gd-map-context{display:none}
  .gd-v034 .gd-v034-map{width:1280px;height:720px;min-width:1280px;min-height:720px}
  .gd-v034 .gd-v034-map-caption{left:12px;top:12px}.gd-v034 .gd-mining-legend{right:12px;top:12px;max-width:320px}
  .gd-v034 .gd-claim-hotspot{width:38px;height:38px;font-size:12px}
  .gd-v034 .gd-v034-info{position:fixed;right:10px;bottom:calc(var(--gd-dock-h) + var(--gd-safe-bottom) + 10px);width:min(330px,calc(100vw - 20px))}
  .gd-v034 .gd-map-back{bottom:12px}
}
@media(max-width:560px){
  .gd-v034 .gd-topbar{padding-top:var(--gd-safe-top)}
  .gd-v034 .gd-v034-map{width:1180px;height:665px;min-width:1180px;min-height:665px}
  .gd-v034 .gd-mining-legend{display:none}
  .gd-v034 .gd-v034-map-caption small{display:none}
}


/* GoldDistrict 0.3.5 — bugfixes, claim overview routing, bilingual market ticker */
.gd-v035{--gd-ticker-h:28px}
.gd-v035.gd-skin-district .gd-map-stage{top:calc(var(--gd-header-h) + var(--gd-safe-top) + var(--gd-ticker-h))}
.gd-v035 .gd-market-ticker{position:absolute;z-index:45;left:0;right:0;top:calc(var(--gd-header-h) + var(--gd-safe-top));height:var(--gd-ticker-h);display:flex;align-items:center;overflow:hidden;border-bottom:1px solid rgba(210,176,82,.22);background:linear-gradient(180deg,rgba(8,28,40,.98),rgba(6,23,34,.98));box-shadow:0 5px 14px rgba(0,0,0,.18)}
.gd-v035 .gd-market-ticker-label{height:100%;display:flex;align-items:center;flex:none;padding:0 11px 0 max(12px,var(--gd-safe-left));font-size:9px;font-weight:950;letter-spacing:.12em;text-transform:uppercase;color:#e7c363;border-right:1px solid rgba(255,255,255,.08);background:rgba(255,255,255,.018)}
.gd-v035 .gd-market-ticker-window{min-width:0;flex:1;overflow:hidden;mask-image:linear-gradient(90deg,transparent,#000 2%,#000 98%,transparent);-webkit-mask-image:linear-gradient(90deg,transparent,#000 2%,#000 98%,transparent)}
.gd-v035 .gd-market-ticker-track{width:max-content;display:flex;align-items:center;gap:26px;padding-left:28px;white-space:nowrap;animation:gd-market-ticker 34s linear infinite;will-change:transform}
.gd-v035 .gd-market-ticker-item{display:inline-flex;align-items:center;gap:7px;font-size:10px;color:#dce6ea}.gd-v035 .gd-market-ticker-item b{font-size:10px;color:#fff}.gd-v035 .gd-market-ticker-item .up{color:#65d68a;font-weight:950}.gd-v035 .gd-market-ticker-item .down{color:#f26e6e;font-weight:950}.gd-v035 .gd-market-ticker-item .flat{color:#a9b4b9;font-weight:950}
@keyframes gd-market-ticker{from{transform:translateX(0)}to{transform:translateX(-50%)}}
@media(prefers-reduced-motion:reduce){.gd-v035 .gd-market-ticker-track{animation:none}}

/* The generated Mining map already contains the 1–16 labels. Keep the interactive layer invisible at rest to avoid duplicate numbers. */
.gd-v035 .gd-claim-hotspot{width:48px;height:48px;background:transparent!important;border:2px solid transparent!important;box-shadow:none!important;color:transparent!important;backdrop-filter:none}
.gd-v035 .gd-claim-hotspot span{visibility:hidden}
.gd-v035 .gd-claim-hotspot:hover,.gd-v035 .gd-claim-hotspot:focus-visible{background:rgba(232,198,109,.08)!important;border-color:rgba(232,198,109,.75)!important;box-shadow:0 0 0 4px rgba(232,198,109,.10)!important}

/* Claims overview is intentionally a clean management page, not the Mining map itself. */
.gd-v035 .gd-claims-overview{min-height:100%;padding:26px;background:radial-gradient(circle at 50% 0%,rgba(27,62,79,.24),transparent 42%),#081720;color:#edf4f7;overflow:auto}
.gd-v035 .gd-claims-overview-inner{width:min(980px,100%);margin:0 auto}.gd-v035 .gd-claims-overview-head{display:flex;align-items:flex-end;justify-content:space-between;gap:18px;margin-bottom:18px}.gd-v035 .gd-claims-overview-head span{display:block;color:#e4bd58;font-size:10px;font-weight:900;letter-spacing:.12em;text-transform:uppercase}.gd-v035 .gd-claims-overview-head h1{margin:5px 0 0;font-size:30px}.gd-v035 .gd-claims-overview-head p{margin:7px 0 0;color:#9fb2bc;font-size:13px;max-width:620px;line-height:1.5}
.gd-v035 .gd-claims-open-map{display:inline-flex;align-items:center;justify-content:center;padding:10px 14px;border-radius:10px;border:1px solid rgba(224,184,78,.34);background:linear-gradient(180deg,rgba(210,164,55,.18),rgba(210,164,55,.08));color:#f0cf76;font-size:12px;font-weight:900;white-space:nowrap}.gd-v035 .gd-claims-open-map:hover{border-color:rgba(224,184,78,.62);background:rgba(210,164,55,.16)}
.gd-v035 .gd-claims-kpis{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin:18px 0}.gd-v035 .gd-claims-kpi{padding:15px;border-radius:13px;background:#0b2533;border:1px solid rgba(135,171,189,.15)}.gd-v035 .gd-claims-kpi small{display:block;color:#8fa6b1;font-size:10px;text-transform:uppercase;letter-spacing:.08em}.gd-v035 .gd-claims-kpi strong{display:block;margin-top:5px;font-size:21px}.gd-v035 .gd-claims-panel{padding:18px;border-radius:14px;background:#0a202c;border:1px solid rgba(135,171,189,.16)}.gd-v035 .gd-claims-panel h2{margin:0 0 8px;font-size:17px}.gd-v035 .gd-claims-panel p{margin:0;color:#9fb2bc;font-size:12px;line-height:1.55}.gd-v035 .gd-claims-empty{margin-top:14px;padding:24px;border:1px dashed rgba(144,178,196,.20);border-radius:12px;text-align:center;color:#7f98a5;font-size:12px}
@media(max-width:820px){.gd-v035 .gd-market-ticker-label{display:none}.gd-v035 .gd-market-ticker-track{gap:22px;animation-duration:28s}.gd-v035 .gd-claims-overview{padding:18px 14px}.gd-v035 .gd-claims-overview-head{align-items:flex-start;flex-direction:column}.gd-v035 .gd-claims-kpis{grid-template-columns:1fr 1fr}}

/* GoldDistrict 0.3.7 — clean Mining map, Claim overlays and static status legend */
.gd-v036{--gd-claim-legend-h:30px}
.gd-v036.gd-skin-mining .gd-map-stage{top:calc(var(--gd-header-h) + var(--gd-safe-top) + var(--gd-claim-legend-h))}
.gd-v036 .gd-claim-legend-bar{position:absolute;z-index:45;left:0;right:0;top:calc(var(--gd-header-h) + var(--gd-safe-top));height:var(--gd-claim-legend-h);display:flex;align-items:center;overflow:hidden;border-bottom:1px solid rgba(190,160,90,.22);background:linear-gradient(180deg,rgba(31,41,35,.985),rgba(22,30,26,.985));box-shadow:0 5px 14px rgba(0,0,0,.16);color:#dce3df}
.gd-v036 .gd-claim-legend-label{height:100%;display:flex;align-items:center;flex:none;padding:0 12px 0 max(12px,var(--gd-safe-left));font-size:9px;font-weight:950;letter-spacing:.11em;text-transform:uppercase;color:#e5c46f;border-right:1px solid rgba(255,255,255,.07);background:rgba(255,255,255,.018)}
.gd-v036 .gd-claim-legend-items{min-width:0;flex:1;height:100%;display:flex;align-items:center;justify-content:center;gap:clamp(14px,4vw,46px);padding:0 max(12px,var(--gd-safe-right));white-space:nowrap;overflow:hidden}
.gd-v036 .gd-claim-legend-items span{display:inline-flex;align-items:center;gap:7px;font-size:10px;font-weight:850;color:#dce3df}
.gd-v036 .gd-claim-legend-items i{position:relative;width:13px;height:13px;flex:0 0 13px;border-radius:50%;box-sizing:border-box;background:rgba(255,255,255,.04);border:2px solid #c7cbc8;box-shadow:0 0 0 2px rgba(255,255,255,.03)}
.gd-v036 .gd-claim-legend-items .state-exploration i{border-color:#6bbbd5;background:rgba(62,145,177,.24);box-shadow:0 0 0 2px rgba(107,187,213,.10)}
.gd-v036 .gd-claim-legend-items .state-mining i{border-color:#dfb94e;background:rgba(190,145,31,.27);box-shadow:0 0 0 2px rgba(223,185,78,.10)}
.gd-v036 .gd-claim-legend-items .state-exhausted i{border-color:#8d8378;background:rgba(90,83,76,.30);box-shadow:0 0 0 2px rgba(141,131,120,.08)}

/* Claim labels are real UI overlays again; the Mining background no longer carries baked-in numbers. */
.gd-v036 .gd-claim-hotspot{width:auto!important;min-width:62px;height:28px!important;padding:0 9px!important;border-radius:999px!important;background:rgba(29,33,30,.80)!important;border:1px solid rgba(229,211,162,.58)!important;box-shadow:0 4px 13px rgba(0,0,0,.28)!important;color:#fff!important;backdrop-filter:blur(3px)!important;font-size:10px!important;letter-spacing:.01em}
.gd-v036 .gd-claim-hotspot span{visibility:visible!important;white-space:nowrap}
.gd-v036 .gd-claim-hotspot:hover,.gd-v036 .gd-claim-hotspot:focus-visible{background:rgba(43,47,41,.94)!important;border-color:#e6c66f!important;box-shadow:0 0 0 3px rgba(230,198,111,.12),0 5px 16px rgba(0,0,0,.34)!important}
.gd-v036 .gd-claim-hotspot.state-exploration{background:rgba(43,88,103,.91)!important;border-color:#78c6dc!important}
.gd-v036 .gd-claim-hotspot.state-mining{background:rgba(111,82,22,.92)!important;border-color:#e5bb4d!important}
.gd-v036 .gd-claim-hotspot.state-exhausted{background:rgba(70,67,62,.90)!important;border-color:#8d877d!important;color:#d3cfc8!important}

@media(max-width:820px){
  .gd-v036 .gd-claim-legend-label{display:none}
  .gd-v036 .gd-claim-legend-items{justify-content:flex-start;gap:20px;padding-left:max(12px,var(--gd-safe-left));overflow-x:auto;scrollbar-width:none}
  .gd-v036 .gd-claim-legend-items::-webkit-scrollbar{display:none}
  .gd-v036 .gd-claim-hotspot{min-width:66px;height:30px!important;font-size:10px!important}
}
@media(max-width:560px){
  .gd-v036 .gd-claim-legend-bar{display:flex}
}

/* GoldDistrict 0.4.3 — playable Claim/Mining core, storage and gameplay dialogs */
.gd-v040 .gd-status-cash strong,.gd-v040 .gd-status-coins strong{font-variant-numeric:tabular-nums}
.gd-v040 .gd-claim-hotspot.state-open{background:rgba(29,33,30,.80)!important;border-color:rgba(229,211,162,.58)!important}
.gd-v040 .gd-claim-hotspot.state-exploration{box-shadow:0 0 0 3px rgba(120,198,220,.12),0 4px 13px rgba(0,0,0,.28)!important}
.gd-v040 .gd-claim-hotspot.state-mining{box-shadow:0 0 0 3px rgba(229,187,77,.12),0 4px 13px rgba(0,0,0,.28)!important}
.gd-v040 .gd-claim-hotspot.state-exhausted{box-shadow:0 0 0 3px rgba(141,135,125,.10),0 4px 13px rgba(0,0,0,.28)!important}
.gd-v040 .gd-v040-slot-counter{position:absolute;z-index:9;right:18px;bottom:18px;display:flex;align-items:center;gap:9px;padding:8px 11px;border-radius:10px;background:rgba(28,37,32,.90);border:1px solid rgba(184,157,91,.24);color:#dce3df;box-shadow:0 8px 22px rgba(0,0,0,.24);backdrop-filter:blur(8px)}
.gd-v040 .gd-v040-slot-counter span{font-size:9px;text-transform:uppercase;letter-spacing:.09em;color:#a8b4ad}.gd-v040 .gd-v040-slot-counter strong{font-size:12px;color:#e8c66d}

.gd-v040 .gd-v040-nugget{position:absolute;z-index:15;left:var(--x);top:var(--y);transform:translate(-50%,-185%) scale(.78);display:none;align-items:center;gap:5px;border:0;background:transparent;color:#ffe291;cursor:pointer;filter:drop-shadow(0 4px 5px rgba(0,0,0,.50));appearance:none;padding:0}
.gd-v040 .gd-v040-nugget.is-visible{display:flex;animation:gd-nugget-float 2.2s ease-in-out infinite}
.gd-v040 .gd-v040-nugget i{width:24px;height:18px;display:block;background:linear-gradient(145deg,#fff0a0 0%,#e4b642 42%,#9f6d14 100%);clip-path:polygon(16% 20%,44% 0,79% 15%,100% 50%,80% 89%,42% 100%,7% 72%,0 43%);box-shadow:inset 4px 3px 5px rgba(255,255,255,.28),inset -4px -3px 5px rgba(87,49,4,.28)}
.gd-v040 .gd-v040-nugget b{padding:3px 6px;border-radius:7px;background:rgba(25,24,17,.88);border:1px solid rgba(234,194,85,.38);font-size:9px;white-space:nowrap}
.gd-v040 .gd-v040-nugget:hover{filter:drop-shadow(0 0 8px rgba(240,194,73,.55)) drop-shadow(0 4px 5px rgba(0,0,0,.5))}
@keyframes gd-nugget-float{0%,100%{transform:translate(-50%,-185%) translateY(0)}50%{transform:translate(-50%,-185%) translateY(-5px)}}
@media(prefers-reduced-motion:reduce){.gd-v040 .gd-v040-nugget.is-visible{animation:none}}

.gd-v040-modal{position:fixed;z-index:200;inset:0;display:none;align-items:center;justify-content:center;padding:20px max(20px,var(--gd-safe-right)) max(20px,var(--gd-safe-bottom)) max(20px,var(--gd-safe-left))}
.gd-v040-modal.is-open{display:flex}.gd-v040-modal-backdrop{position:absolute;inset:0;background:rgba(2,6,7,.72);backdrop-filter:blur(5px)}
.gd-v040-dialog{position:relative;z-index:1;width:min(620px,100%);max-height:min(760px,calc(100vh - 38px));overflow:auto;border:1px solid rgba(215,180,88,.28);border-radius:18px;background:linear-gradient(180deg,#17201c,#101713);box-shadow:0 28px 80px rgba(0,0,0,.60);color:#eef2ef;padding:20px}
.gd-v040-dialog-close{position:absolute;right:12px;top:11px;width:34px;height:34px;border-radius:9px;border:1px solid rgba(255,255,255,.11);background:#202a25;color:#cfd7d2;font-size:22px;line-height:1;cursor:pointer}
.gd-v040-dialog>header{padding-right:42px;margin-bottom:16px}.gd-v040-dialog>header small{display:block;color:#dcb95a;font-size:9px;font-weight:950;letter-spacing:.12em;text-transform:uppercase}.gd-v040-dialog>header h2{margin:4px 0 8px;font-size:25px}.gd-v040-state-pill{display:inline-flex;padding:5px 8px;border-radius:999px;border:1px solid rgba(255,255,255,.13);background:rgba(255,255,255,.05);font-size:10px;font-weight:850;color:#d9e0dc}
.gd-v040-state-pill[data-state="exploration"]{color:#9fe0f0;border-color:rgba(120,198,220,.35);background:rgba(52,112,132,.18)}.gd-v040-state-pill[data-state="mining"],.gd-v040-state-pill[data-state="idle"]{color:#f0cf75;border-color:rgba(229,187,77,.35);background:rgba(122,90,24,.18)}.gd-v040-state-pill[data-state="exhausted"]{color:#c0b9ae;border-color:rgba(141,135,125,.30)}
.gd-v040-dialog-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:9px;margin:12px 0}.gd-v040-dialog-grid.preview{margin:15px 0 0}.gd-v040-dialog-metric{min-width:0;padding:11px;border-radius:11px;background:#1b2520;border:1px solid rgba(255,255,255,.075)}.gd-v040-dialog-metric span{display:block;color:#8fa29a;font-size:9px;text-transform:uppercase;letter-spacing:.07em}.gd-v040-dialog-metric strong{display:block;margin-top:5px;font-size:14px;color:#f3f6f4;word-break:break-word}
.gd-v040-dialog-note{padding:11px 12px;border-radius:10px;background:rgba(69,108,91,.12);border:1px solid rgba(119,169,145,.18);color:#aec4ba;font-size:11px;line-height:1.5}.gd-v040-dialog-note.warning{background:rgba(154,105,36,.10);border-color:rgba(212,162,73,.20);color:#d7c293}
.gd-v040-dialog-actions{display:flex;justify-content:flex-end;gap:8px;flex-wrap:wrap;margin-top:16px}.gd-v040-btn{border:1px solid rgba(255,255,255,.13);border-radius:10px;background:#26302b;color:#eef2ef;padding:10px 13px;font-size:11px;font-weight:900;cursor:pointer}.gd-v040-btn:disabled{opacity:.48;cursor:wait}.gd-v040-btn.primary{border-color:#d3aa43;background:linear-gradient(180deg,#d7ae45,#b88520);color:#171207}.gd-v040-btn.danger{border-color:rgba(202,95,84,.40);background:#3d211d;color:#f0b1aa}.gd-v040-btn.nugget{border-color:rgba(223,185,78,.45);background:#433616;color:#f4d77f}.gd-v040-btn.ghost{background:transparent}
.gd-v040-running{display:flex;justify-content:space-between;align-items:center;gap:14px;margin:10px 0 14px;padding:13px 14px;border-radius:12px;background:rgba(50,109,130,.18);border:1px solid rgba(120,198,220,.25)}.gd-v040-running.mining{background:rgba(122,90,24,.17);border-color:rgba(229,187,77,.25)}.gd-v040-running span{font-size:11px;color:#bdd0c8}.gd-v040-running strong{font-size:20px;font-variant-numeric:tabular-nums;color:#fff}
.gd-v040-deposit-head,.gd-v040-detail-head{display:flex;align-items:center;justify-content:space-between;gap:14px}.gd-v040-deposit-head small,.gd-v040-detail-head small{font-size:9px;color:#8fa29a;text-transform:uppercase;letter-spacing:.08em}.gd-v040-deposit-head h3,.gd-v040-detail-head h2{margin:3px 0 0;font-size:18px}.gd-v040-gold-chip{width:42px;height:42px;border-radius:12px;display:grid;place-items:center;background:linear-gradient(145deg,#f4d773,#aa751b);box-shadow:inset 0 0 0 1px rgba(255,255,255,.30),0 8px 18px rgba(0,0,0,.25);color:#211707;font-weight:950}
.gd-v040-quality{margin:14px 0}.gd-v040-quality>div:first-child{display:flex;justify-content:space-between;align-items:center;margin-bottom:6px}.gd-v040-quality span{font-size:10px;color:#a5b4ad}.gd-v040-quality strong{font-size:13px;color:#fff}.gd-v040-quality-track{position:relative;height:10px;border-radius:999px;background:linear-gradient(90deg,#bf4338 0%,#d8902d 50%,#5aa557 100%);box-shadow:inset 0 1px 3px rgba(0,0,0,.42)}.gd-v040-quality-track i{position:absolute;left:0;top:0;bottom:0;border-radius:999px;background:rgba(255,255,255,.08)}.gd-v040-quality-track b{position:absolute;top:50%;width:16px;height:16px;transform:translate(-50%,-50%);border-radius:50%;background:#f5f0da;border:3px solid #1a211d;box-shadow:0 1px 5px rgba(0,0,0,.5)}
.gd-v040-mining-plan{margin-top:15px;padding:14px;border-radius:13px;background:#131b17;border:1px solid rgba(215,180,88,.16)}.gd-v040-plan-title{display:flex;justify-content:space-between;gap:12px;align-items:center}.gd-v040-plan-title span{font-size:11px;color:#a8b6af}.gd-v040-plan-title strong{font-size:15px;color:#e9cb75}.gd-v040-presets{display:flex;gap:6px;flex-wrap:wrap}.gd-v040-presets button{flex:1;min-width:70px;border:1px solid rgba(255,255,255,.10);background:#202923;color:#bcc8c1;border-radius:8px;padding:7px;font-size:9px;font-weight:850;cursor:pointer}.gd-v040-presets button.is-active{border-color:rgba(218,179,75,.48);background:rgba(183,133,31,.20);color:#efd078}.gd-v040-mining-plan>p{margin:11px 0 0;color:#82948b;font-size:10px;line-height:1.4}
.gd-v040-result-card{padding:17px;border-radius:13px;background:#17221d;border:1px solid rgba(215,180,88,.18)}.gd-v040-result-card strong{font-size:9px;color:#d7b75c;text-transform:uppercase;letter-spacing:.1em}.gd-v040-result-card h3{margin:6px 0;font-size:20px}.gd-v040-result-card p{margin:0;color:#a8b7af;line-height:1.5;font-size:11px}.gd-v040-result-card.depleted{border-color:rgba(141,135,125,.22)}
body.gd-v040-modal-open{overflow:hidden}

.gd-v040-claim-list{display:grid;gap:8px;margin-top:14px}.gd-v040-claim-row{display:grid;grid-template-columns:1fr auto minmax(120px,auto);gap:12px;align-items:center;padding:11px 12px;border:1px solid rgba(135,171,189,.14);border-radius:10px;background:#0b2533}.gd-v040-claim-row strong{font-size:12px}.gd-v040-claim-row span{font-size:10px;color:#e2c46d}.gd-v040-claim-row small{font-size:10px;color:#8fa6b1;text-align:right}

.gd-v040-storage{min-height:100%;padding:25px;background:radial-gradient(circle at 50% 0%,rgba(27,62,79,.24),transparent 42%),#081720;color:#edf4f7;overflow:auto}.gd-v040-storage-inner{width:min(1060px,100%);margin:0 auto;padding-bottom:24px}.gd-v040-page-head{display:flex;align-items:flex-end;justify-content:space-between;gap:18px;margin-bottom:18px}.gd-v040-page-head>div>span,.gd-v040-section-head small{display:block;color:#e4bd58;font-size:10px;font-weight:900;letter-spacing:.12em;text-transform:uppercase}.gd-v040-page-head h1{margin:5px 0 0;font-size:30px}.gd-v040-page-head p{margin:7px 0 0;color:#9fb2bc;font-size:13px;max-width:650px;line-height:1.5}.gd-v040-page-head>a{padding:9px 12px;border-radius:9px;border:1px solid rgba(224,184,78,.25);color:#e7c76e;font-size:11px;font-weight:850}
.gd-v040-storage-grid{display:grid;grid-template-columns:1.35fr .65fr;gap:12px}.gd-v040-storage-card{display:flex;align-items:center;gap:16px;padding:17px;border-radius:15px;background:linear-gradient(145deg,#102d3c,#0c222e);border:1px solid rgba(142,177,194,.17);box-shadow:0 12px 32px rgba(0,0,0,.16);cursor:pointer;outline:none}.gd-v040-storage-card:focus-visible{border-color:rgba(229,190,83,.7)}.gd-v040-gold-mark{position:relative;width:76px;height:66px;flex:0 0 76px;display:grid;place-items:center}.gd-v040-gold-mark i{position:absolute;width:64px;height:43px;border-radius:8px 8px 5px 5px;transform:skewX(-8deg);background:linear-gradient(150deg,#ffeca0,#d6a839 52%,#8c5e11);box-shadow:inset 6px 5px 7px rgba(255,255,255,.22),0 8px 15px rgba(0,0,0,.28)}.gd-v040-gold-mark b{position:relative;color:#4e3306;font-size:15px;text-shadow:0 1px rgba(255,255,255,.35)}.gd-v040-storage-card-copy{flex:1;min-width:0}.gd-v040-storage-card-copy>small{font-size:9px;color:#85a2b0;text-transform:uppercase;letter-spacing:.1em}.gd-v040-storage-card-copy h2{margin:3px 0 12px;font-size:21px}.gd-v040-storage-quick{display:grid;grid-template-columns:1fr 1fr;gap:12px}.gd-v040-storage-quick span,.gd-v040-storage-summary span,.gd-v040-detail-metrics span{display:block;font-size:9px;color:#849ba7;text-transform:uppercase;letter-spacing:.06em}.gd-v040-storage-quick strong{display:block;margin-top:3px;font-size:15px}.gd-v040-chevron{font-size:18px;color:#c5d1d6}.gd-v040-storage-summary{display:grid;gap:8px}.gd-v040-storage-summary>div{padding:12px 13px;border-radius:11px;background:#0b2533;border:1px solid rgba(135,171,189,.14)}.gd-v040-storage-summary strong{display:block;margin-top:4px;font-size:17px;color:#eef4f6}
.gd-v040-storage-detail,.gd-v040-storage-stats{margin-top:12px;padding:18px;border-radius:15px;background:#0a202c;border:1px solid rgba(135,171,189,.16);transition:.18s}.gd-v040-storage-detail.is-collapsed{display:none}.gd-v040-detail-metrics{display:grid;grid-template-columns:repeat(3,1fr);gap:9px;margin:15px 0}.gd-v040-detail-metrics>div{padding:12px;border-radius:10px;background:#0d2835;border:1px solid rgba(135,171,189,.10)}.gd-v040-detail-metrics strong{display:block;margin-top:5px;font-size:15px}.gd-v040-storage-detail>p{margin:0;color:#91a8b4;font-size:11px;line-height:1.5}.gd-v040-section-head h2{margin:4px 0 0;font-size:18px}
.gd-v040-chart{height:190px;display:grid;grid-template-columns:repeat(7,1fr);align-items:end;gap:10px;margin-top:18px;padding:16px 14px 6px;border-radius:12px;background:#081a24;border:1px solid rgba(135,171,189,.10)}.gd-v040-bar{height:100%;display:flex;flex-direction:column;justify-content:flex-end;align-items:center;gap:7px}.gd-v040-bar b{display:block;width:min(34px,80%);min-height:3px;border-radius:5px 5px 2px 2px;background:linear-gradient(180deg,#e4bd58,#916614);box-shadow:0 0 14px rgba(205,161,48,.12)}.gd-v040-bar span{font-size:9px;color:#8299a4}.gd-v040-recent{margin-top:17px}.gd-v040-recent h3{font-size:14px;margin:0 0 9px}.gd-v040-recent>p{font-size:11px;color:#8299a4}.gd-v040-history{display:grid;gap:5px}.gd-v040-history>div{display:grid;grid-template-columns:1fr auto auto;gap:12px;padding:8px 10px;border-radius:8px;background:#0c2633;border:1px solid rgba(135,171,189,.08);font-size:10px}.gd-v040-history span{color:#879ca7}.gd-v040-history strong{color:#e7c76e}.gd-v040-history small{color:#9db0ba}
.gd-toast.is-error{border-color:rgba(218,94,83,.45)!important;background:#3c1d1a!important;color:#ffd4cf!important}

@media(max-width:820px){
 .gd-v040 .gd-v040-slot-counter{position:fixed;right:10px;bottom:calc(var(--gd-dock-h) + var(--gd-safe-bottom) + 10px)}
 .gd-v040-dialog{max-height:calc(100vh - var(--gd-safe-top) - var(--gd-safe-bottom) - 24px);padding:16px}.gd-v040-dialog-grid{grid-template-columns:1fr 1fr}.gd-v040-dialog-grid.preview{grid-template-columns:1fr}.gd-v040-dialog-actions .gd-v040-btn{flex:1}
 .gd-v040-claim-row{grid-template-columns:1fr auto}.gd-v040-claim-row small{grid-column:1/-1;text-align:left}
 .gd-v040-storage{padding:18px 14px}.gd-v040-page-head{align-items:flex-start;flex-direction:column}.gd-v040-storage-grid{grid-template-columns:1fr}.gd-v040-detail-metrics{grid-template-columns:1fr}.gd-v040-storage-summary{grid-template-columns:repeat(3,1fr)}
}
@media(max-width:560px){
 .gd-v040-modal{padding:8px max(8px,var(--gd-safe-right)) max(8px,var(--gd-safe-bottom)) max(8px,var(--gd-safe-left));align-items:flex-end}.gd-v040-dialog{width:100%;max-height:88vh;border-radius:17px 17px 10px 10px}.gd-v040-dialog-grid{grid-template-columns:1fr 1fr}.gd-v040-dialog-metric{padding:9px}.gd-v040-running strong{font-size:17px}.gd-v040-presets button{min-width:55px}
 .gd-v040-storage-card{gap:10px;padding:14px}.gd-v040-gold-mark{width:58px;flex-basis:58px}.gd-v040-gold-mark i{width:52px;height:36px}.gd-v040-storage-quick{grid-template-columns:1fr}.gd-v040-storage-summary{grid-template-columns:1fr 1fr}.gd-v040-storage-summary>div:last-child{grid-column:1/-1}.gd-v040-chart{gap:5px;padding-left:7px;padding-right:7px}.gd-v040-history>div{grid-template-columns:1fr auto}.gd-v040-history small{grid-column:1/-1}
}

/* GoldDistrict 0.4.3 — player wiki / internal dev documentation */
.gd-wiki-body{background:#07131a;color:#edf3f5}.gd-wiki-top{position:sticky;top:0;z-index:40;height:62px;display:flex;align-items:center;justify-content:space-between;padding:0 max(18px,calc((100vw - 1180px)/2));background:rgba(7,20,27,.94);border-bottom:1px solid rgba(139,172,189,.15);backdrop-filter:blur(12px)}.gd-wiki-brand{display:flex;align-items:center;gap:10px;font-weight:900}.gd-wiki-brand img{width:38px;height:38px;object-fit:contain}.gd-wiki-back{font-size:11px;font-weight:850;color:#dfc06c}.gd-wiki{width:min(1180px,calc(100% - 28px));margin:0 auto;padding:22px 0 60px}.gd-wiki-hero{position:relative;min-height:390px;overflow:hidden;border-radius:20px;border:1px solid rgba(142,177,194,.18);box-shadow:0 24px 60px rgba(0,0,0,.25)}.gd-wiki-hero>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}.gd-wiki-hero:after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(5,17,23,.95),rgba(5,17,23,.72) 48%,rgba(5,17,23,.10))}.gd-wiki-hero>div{position:relative;z-index:1;width:min(620px,90%);padding:70px 54px}.gd-wiki-hero span,.gd-wiki-feature>div>span{font-size:10px;font-weight:950;letter-spacing:.14em;color:#e0bd5c}.gd-wiki-hero h1{font-size:clamp(38px,6vw,66px);margin:8px 0 14px;letter-spacing:-.04em}.gd-wiki-hero p,.gd-wiki p{color:#9fb1ba;line-height:1.65}.gd-wiki-intro{padding:42px 10px 26px;max-width:820px}.gd-wiki-intro h2,.gd-wiki-section h2{font-size:28px;margin:0 0 10px}.gd-wiki-cards{display:grid;grid-template-columns:repeat(2,1fr);gap:14px}.gd-wiki-cards article{display:grid;grid-template-columns:190px 1fr;min-height:178px;overflow:hidden;border-radius:16px;background:#0b202b;border:1px solid rgba(142,177,194,.14)}.gd-wiki-cards article img{width:100%;height:100%;object-fit:cover}.gd-wiki-cards article>div{padding:20px}.gd-wiki-cards h2{font-size:18px;margin:0 0 8px}.gd-wiki-cards p{font-size:12px;margin:0}.gd-wiki-feature{display:grid;grid-template-columns:1.2fr .8fr;gap:0;margin-top:18px;overflow:hidden;border-radius:18px;background:#17211c;border:1px solid rgba(206,173,87,.17)}.gd-wiki-feature-image{min-height:410px}.gd-wiki-feature-image img{width:100%;height:100%;object-fit:cover}.gd-wiki-feature>div:last-child{padding:34px}.gd-wiki-feature h2{font-size:28px;margin:7px 0 10px}.gd-wiki-feature h3{font-size:16px;margin:26px 0 7px;color:#e1c36e}.gd-wiki-feature p{font-size:12px}.gd-wiki-section{margin-top:18px;padding:28px;border-radius:17px;background:#0b202b;border:1px solid rgba(142,177,194,.14)}.gd-wiki-section>p{max-width:850px;font-size:13px}.gd-wiki-steps{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin-top:22px}.gd-wiki-steps>div{padding:17px;border-radius:12px;background:#0d2835;border:1px solid rgba(142,177,194,.10)}.gd-wiki-steps b{color:#d8b755;font-size:10px}.gd-wiki-steps h3{font-size:14px;margin:7px 0}.gd-wiki-steps p{font-size:11px;margin:0}.gd-wiki-section.two{display:grid;grid-template-columns:repeat(2,1fr);gap:13px;background:transparent;border:0;padding:0}.gd-wiki-section.two>div{padding:22px;border-radius:14px;background:#0b202b;border:1px solid rgba(142,177,194,.14)}.gd-wiki-section.two h2{font-size:18px}.gd-wiki-section.two p{font-size:11px;margin-bottom:0}.gd-wiki-table{margin-top:16px;border:1px solid rgba(142,177,194,.12);border-radius:12px;overflow:hidden}.gd-wiki-table>div{display:grid;grid-template-columns:1fr 1fr;padding:11px 14px;background:#0d2835;border-bottom:1px solid rgba(142,177,194,.08)}.gd-wiki-table>div:last-child{border:0}.gd-wiki-table .head{background:#122f3c;color:#8fa8b4;font-size:10px;text-transform:uppercase;letter-spacing:.08em}.gd-wiki-table strong{color:#e4c46c}.gd-wiki-current{margin-top:18px;padding:30px;border-radius:17px;background:linear-gradient(135deg,#17211c,#0c1d19);border:1px solid rgba(213,177,77,.20)}.gd-wiki-current>span{font-size:10px;color:#e1bf60;font-weight:950}.gd-wiki-current h2{font-size:24px;margin:6px 0 8px}.gd-wiki-current p{margin:0;font-size:12px}.gd-devwiki{max-width:1200px}.gd-devwiki .panel{margin-top:14px}.gd-devwiki .panel h2{margin:0 0 10px;font-size:20px}.gd-devwiki .panel p,.gd-devwiki .panel li{color:#aab5ba;line-height:1.55;font-size:13px}.gd-devwiki .panel code{color:#e4c46c;background:#0a1013;padding:2px 5px;border-radius:5px}.gd-devwiki pre{white-space:pre-wrap;overflow:auto;background:#091014;border:1px solid #283238;border-radius:10px;padding:14px;color:#cad6db;line-height:1.55}
@media(max-width:860px){.gd-wiki-cards{grid-template-columns:1fr}.gd-wiki-feature{grid-template-columns:1fr}.gd-wiki-feature-image{min-height:300px}.gd-wiki-steps{grid-template-columns:1fr 1fr}.gd-wiki-hero>div{padding:55px 30px}.gd-wiki-section.two{grid-template-columns:1fr}}
@media(max-width:560px){.gd-wiki-top{padding:0 12px}.gd-wiki{width:min(100% - 18px,1180px);padding-top:10px}.gd-wiki-hero{min-height:330px}.gd-wiki-hero>div{padding:46px 20px}.gd-wiki-cards article{grid-template-columns:110px 1fr}.gd-wiki-cards article>div{padding:14px}.gd-wiki-feature>div:last-child{padding:22px}.gd-wiki-section{padding:20px}.gd-wiki-steps{grid-template-columns:1fr}.gd-wiki-section.two{grid-template-columns:1fr}}

/* GoldDistrict 0.4.4 — secondary menu links match buttons; storage labels clarified */
.gd-v040 .gd-nav-menu a{box-sizing:border-box}


/* 0.4.6 — claim-state artwork + storage/list cleanup */
.gd-v046 .gd-claim-legend-items .state-ready i{background:#d7ad42;border-color:#f1d47b;box-shadow:0 0 0 3px rgba(215,173,66,.12)}
.gd-v046 .gd-claim-hotspot{width:68px!important;min-width:68px!important;height:72px!important;padding:0!important;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;backdrop-filter:none!important;overflow:visible;color:#fff!important;display:block!important}
.gd-v046 .gd-claim-hotspot:hover,.gd-v046 .gd-claim-hotspot:focus-visible{background:transparent!important;border:0!important;box-shadow:none!important;transform:translate(-50%,-50%) scale(1.08)!important;outline:none}
.gd-v046 .gd-v046-claim-art{position:absolute;left:50%;top:50%;width:50px;height:50px;transform:translate(-50%,-50%);display:block;object-fit:cover;border-radius:13px;border:2px solid rgba(228,214,174,.68);box-shadow:0 7px 16px rgba(0,0,0,.42);background:#17221d}
.gd-v046 .gd-claim-hotspot>span{position:absolute;left:50%;bottom:-4px;transform:translateX(-50%);visibility:visible!important;display:block!important;min-width:58px;padding:3px 7px;border-radius:999px;background:rgba(20,27,24,.92);border:1px solid rgba(229,211,162,.52);box-shadow:0 3px 9px rgba(0,0,0,.35);font-size:9px!important;font-weight:900;line-height:1;white-space:nowrap;color:#f4f2e8}
.gd-v046 .gd-v046-deposit-badge{position:absolute;z-index:2;left:50%;top:-8px;transform:translateX(-50%);max-width:74px;padding:2px 6px;border-radius:999px;background:#13231c;border:1px solid rgba(233,198,93,.64);color:#f0d46f;font-size:7px;line-height:1.1;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;box-shadow:0 3px 8px rgba(0,0,0,.35)}
.gd-v046 .gd-claim-hotspot.state-open .gd-v046-claim-art{filter:saturate(.78) brightness(.90);border-color:rgba(220,208,170,.58)}
.gd-v046 .gd-claim-hotspot.state-exploration .gd-v046-claim-art{border-color:#79c6db;box-shadow:0 0 0 3px rgba(74,160,188,.16),0 7px 16px rgba(0,0,0,.42)}
.gd-v046 .gd-claim-hotspot.state-ready .gd-v046-claim-art{border-color:#e5c052;box-shadow:0 0 0 3px rgba(229,192,82,.15),0 7px 16px rgba(0,0,0,.42)}
.gd-v046 .gd-claim-hotspot.state-mining .gd-v046-claim-art{border-color:#f0c54d;box-shadow:0 0 0 4px rgba(240,197,77,.18),0 7px 17px rgba(0,0,0,.46)}
.gd-v046 .gd-claim-hotspot.state-exhausted .gd-v046-claim-art{filter:grayscale(.82) brightness(.70);border-color:#918a80;box-shadow:0 0 0 3px rgba(145,138,128,.12),0 7px 16px rgba(0,0,0,.40)}
.gd-v046 .gd-claim-hotspot.deposit-small .gd-v046-deposit-badge{border-color:#a4b36b;color:#dce8a0}.gd-v046 .gd-claim-hotspot.deposit-medium .gd-v046-deposit-badge{border-color:#d3b553;color:#ead277}.gd-v046 .gd-claim-hotspot.deposit-large .gd-v046-deposit-badge{border-color:#e6a23f;color:#ffc36c}.gd-v046 .gd-claim-hotspot.deposit-rich .gd-v046-deposit-badge{border-color:#f3d65e;color:#ffe98d;box-shadow:0 0 10px rgba(243,214,94,.25)}
.gd-v046 .gd-v040-storage-grid{grid-template-columns:1fr}
.gd-v046 .gd-v040-storage-card{max-width:none}
.gd-v046 .gd-v040-claim-row{grid-template-columns:minmax(110px,1fr) auto minmax(230px,1.6fr);border-left:3px solid transparent}
.gd-v046 .gd-v040-claim-row.state-exploration{border-left-color:#69bad1}.gd-v046 .gd-v040-claim-row.state-ready{border-left-color:#d8b64c}.gd-v046 .gd-v040-claim-row.state-mining{border-left-color:#e9bd44}.gd-v046 .gd-v040-claim-row.state-exhausted{border-left-color:#837e76}
.gd-v046 .gd-v040-claim-row small b{color:#d9e7ec;font-weight:800}
@media(max-width:760px){
  .gd-v046 .gd-claim-hotspot{width:58px!important;min-width:58px!important;height:63px!important}
  .gd-v046 .gd-v046-claim-art{width:43px;height:43px;border-radius:11px}
  .gd-v046 .gd-claim-hotspot>span{min-width:52px;font-size:8px!important;padding:3px 5px}
  .gd-v046 .gd-v046-deposit-badge{top:-7px;max-width:62px;font-size:6px}
  .gd-v046 .gd-v040-claim-row{grid-template-columns:1fr auto}.gd-v046 .gd-v040-claim-row small{grid-column:1/-1;text-align:left}
}

/* GoldDistrict 0.4.7 — map-integrated claim artwork, unified Au emblem, precise mining time control */
.gd-v047 .gd-claim-hotspot{width:136px!important;min-width:136px!important;height:132px!important;padding:0!important;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;overflow:visible!important;backdrop-filter:none!important}
.gd-v047 .gd-claim-hotspot:hover,.gd-v047 .gd-claim-hotspot:focus-visible{transform:translate(-50%,-50%) scale(1.045)!important;box-shadow:none!important;outline:none}
.gd-v047 .gd-v046-claim-art{position:absolute;left:50%;top:46%;width:122px;height:122px;transform:translate(-50%,-50%);object-fit:cover;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;mix-blend-mode:multiply;filter:brightness(1.16) saturate(1.02) contrast(1.02) drop-shadow(0 11px 10px rgba(0,0,0,.30));-webkit-mask-image:radial-gradient(ellipse 58% 53% at 50% 53%,#000 0 59%,rgba(0,0,0,.92) 67%,rgba(0,0,0,.35) 79%,transparent 100%);mask-image:radial-gradient(ellipse 58% 53% at 50% 53%,#000 0 59%,rgba(0,0,0,.92) 67%,rgba(0,0,0,.35) 79%,transparent 100%)}
.gd-v047 .gd-claim-hotspot.state-open .gd-v046-claim-art{filter:brightness(1.20) saturate(.90) contrast(1.00) drop-shadow(0 10px 9px rgba(0,0,0,.28))}
.gd-v047 .gd-claim-hotspot.state-ready .gd-v046-claim-art{filter:brightness(1.17) saturate(1.03) contrast(1.03) drop-shadow(0 11px 10px rgba(0,0,0,.31))}
.gd-v047 .gd-claim-hotspot.state-mining .gd-v046-claim-art{filter:brightness(1.18) saturate(1.12) contrast(1.04) drop-shadow(0 0 10px rgba(223,181,63,.18)) drop-shadow(0 11px 10px rgba(0,0,0,.32))}
.gd-v047 .gd-claim-hotspot.state-exhausted .gd-v046-claim-art{filter:grayscale(.86) saturate(.30) brightness(.90) contrast(1.05) drop-shadow(0 10px 8px rgba(0,0,0,.28))}
.gd-v047 .gd-v047-state-overlay{position:absolute;z-index:3;left:50%;top:45%;width:72px;height:55px;transform:translate(-50%,-50%);pointer-events:none;border-radius:50%;opacity:0}
.gd-v047 .gd-claim-hotspot.state-exploration .gd-v047-state-overlay{opacity:1;border:2px solid rgba(93,199,226,.82);box-shadow:0 0 0 7px rgba(80,177,204,.13),0 0 18px rgba(80,177,204,.32);animation:gd-v047-scan 2.1s ease-in-out infinite}
.gd-v047 .gd-claim-hotspot.state-exploration .gd-v047-state-overlay:before,.gd-v047 .gd-claim-hotspot.state-exploration .gd-v047-state-overlay:after{content:"";position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);border-radius:50%;border:1px solid rgba(137,224,246,.58)}
.gd-v047 .gd-claim-hotspot.state-exploration .gd-v047-state-overlay:before{width:43px;height:32px}.gd-v047 .gd-claim-hotspot.state-exploration .gd-v047-state-overlay:after{width:20px;height:15px;background:rgba(107,211,235,.15)}
.gd-v047 .gd-claim-hotspot.state-mining .gd-v047-state-overlay{opacity:1;width:80px;height:61px;border:1px solid rgba(236,193,66,.62);box-shadow:0 0 0 6px rgba(236,193,66,.08),0 0 18px rgba(236,193,66,.18);animation:gd-v047-mining-pulse 2.6s ease-in-out infinite}
.gd-v047 .gd-claim-hotspot.state-exhausted .gd-v047-state-overlay{opacity:1;width:78px;height:58px;border:1px solid rgba(184,102,89,.42);background:linear-gradient(35deg,transparent 47%,rgba(196,111,95,.62) 48%,rgba(196,111,95,.62) 52%,transparent 53%),linear-gradient(-35deg,transparent 47%,rgba(196,111,95,.62) 48%,rgba(196,111,95,.62) 52%,transparent 53%)}
@keyframes gd-v047-scan{0%,100%{transform:translate(-50%,-50%) scale(.92);opacity:.65}50%{transform:translate(-50%,-50%) scale(1.08);opacity:1}}
@keyframes gd-v047-mining-pulse{0%,100%{opacity:.55}50%{opacity:1}}
.gd-v047 .gd-claim-hotspot>span{z-index:5;bottom:6px!important;min-width:64px;padding:3px 8px!important;border-radius:999px!important;background:rgba(17,25,21,.88)!important;border:1px solid rgba(231,211,151,.42)!important;box-shadow:0 4px 12px rgba(0,0,0,.35)!important;font-size:9px!important;line-height:1.05!important}
.gd-v047 .gd-v047-map-meta{position:absolute;z-index:5;left:50%;bottom:-12px;transform:translateX(-50%);min-width:92px;max-width:146px;padding:3px 7px;border-radius:7px;background:rgba(11,19,16,.86);border:1px solid rgba(255,255,255,.10);color:#dbe4df;font-size:7.5px;font-weight:800;line-height:1.1;white-space:nowrap;box-shadow:0 4px 10px rgba(0,0,0,.28);font-variant-numeric:tabular-nums}
.gd-v047 .gd-v047-map-meta:empty{display:none}
.gd-v047 .gd-v046-deposit-badge{z-index:6;top:0!important;max-width:86px;padding:3px 7px!important;font-size:7px!important}
.gd-v047 .gd-v040-nugget{transform:translate(-50%,-350%) scale(.9)}
.gd-v047 .gd-v040-nugget.is-visible{animation:gd-v047-nugget-float 2.2s ease-in-out infinite}
@keyframes gd-v047-nugget-float{0%,100%{transform:translate(-50%,-350%) translateY(0) scale(.9)}50%{transform:translate(-50%,-350%) translateY(-6px) scale(.94)}}
@media(prefers-reduced-motion:reduce){.gd-v047 .gd-claim-hotspot.state-exploration .gd-v047-state-overlay,.gd-v047 .gd-claim-hotspot.state-mining .gd-v047-state-overlay,.gd-v047 .gd-v040-nugget.is-visible{animation:none}}

.gd-gold-emblem{position:relative;width:76px;height:62px;flex:0 0 76px;display:grid;place-items:center;isolation:isolate;filter:drop-shadow(0 9px 12px rgba(0,0,0,.30))}
.gd-gold-emblem i{position:absolute;inset:11px 7px 8px;clip-path:polygon(12% 17%,75% 6%,94% 35%,82% 84%,20% 93%,3% 62%);background:linear-gradient(145deg,#fff1a8 0%,#e6bb47 30%,#c68b22 67%,#75480c 100%);box-shadow:inset 8px 7px 10px rgba(255,255,255,.23),inset -8px -7px 11px rgba(83,44,3,.26)}
.gd-gold-emblem i:after{content:"";position:absolute;inset:5px 10px 12px 8px;clip-path:polygon(0 0,100% 8%,78% 29%,12% 24%);background:linear-gradient(90deg,rgba(255,255,255,.48),rgba(255,255,255,.03))}
.gd-gold-emblem b{position:relative;z-index:2;color:#4a2f05;font-size:15px;font-weight:950;text-shadow:0 1px rgba(255,255,255,.42)}
.gd-gold-emblem.compact{width:48px;height:44px;flex-basis:48px}.gd-gold-emblem.compact i{inset:7px 4px 5px}.gd-gold-emblem.compact b{font-size:11px}

.gd-v047 .gd-v040-dialog{width:min(720px,100%)}
.gd-v047 .gd-v047-mining-plan{padding:16px}
.gd-v047 .gd-v047-time-head,.gd-v047 .gd-v047-end-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:15px 0 8px}.gd-v047 .gd-v047-time-head b,.gd-v047 .gd-v047-end-head b{font-size:10px;color:#d9e3dd;text-transform:uppercase;letter-spacing:.06em}
.gd-v047 .gd-v047-max{border:1px solid rgba(222,181,69,.48);border-radius:9px;background:linear-gradient(180deg,rgba(213,171,57,.23),rgba(133,91,14,.18));color:#efd27c;padding:7px 10px;font-size:9px;font-weight:950;cursor:pointer}
.gd-v047 .gd-v047-time-fields{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}.gd-v047 .gd-v047-time-fields.end{grid-template-columns:1.4fr .8fr .8fr}.gd-v047 .gd-v047-time-fields label{display:block;padding:9px;border-radius:10px;background:#1b2520;border:1px solid rgba(255,255,255,.075)}.gd-v047 .gd-v047-time-fields label span{display:block;margin-bottom:5px;color:#8fa29a;font-size:8px;text-transform:uppercase;letter-spacing:.06em}.gd-v047 .gd-v047-time-fields input{width:100%;height:34px;border:1px solid rgba(255,255,255,.10);border-radius:7px;background:#101814;color:#f1f5f2;padding:0 8px;font-size:13px;font-weight:800;outline:none}.gd-v047 .gd-v047-time-fields input:focus{border-color:rgba(222,181,69,.58);box-shadow:0 0 0 2px rgba(222,181,69,.08)}
.gd-v047 .gd-v047-presets{align-items:center;margin-top:9px}.gd-v047 .gd-v047-presets>span{flex:0 0 auto;color:#7f9288;font-size:8px;text-transform:uppercase;letter-spacing:.06em;margin-right:2px}.gd-v047 .gd-v047-presets button{flex:0 0 auto;min-width:54px;padding:7px 10px}
.gd-v047 .gd-v047-level-limit{display:block;margin-top:10px;color:#91a49a;font-size:9px;line-height:1.4}.gd-v047 .gd-v047-time-error{display:block;margin-top:7px;padding:8px 9px;border-radius:8px;background:rgba(146,62,52,.18);border:1px solid rgba(205,103,89,.25);color:#e4a49a;font-size:9px}.gd-v047 .gd-v047-time-error[hidden]{display:none}

@media(max-width:760px){
 .gd-v047 .gd-claim-hotspot{width:110px!important;min-width:110px!important;height:112px!important}
 .gd-v047 .gd-v046-claim-art{width:100px;height:100px}
 .gd-v047 .gd-claim-hotspot>span{bottom:5px!important;font-size:8px!important}.gd-v047 .gd-v047-map-meta{bottom:-11px;font-size:7px;min-width:82px;max-width:124px}.gd-v047 .gd-v046-deposit-badge{top:-1px!important}
 .gd-v047 .gd-v040-nugget{transform:translate(-50%,-305%) scale(.82)}.gd-v047 .gd-v040-nugget.is-visible{animation:none}
 .gd-v047 .gd-v047-time-fields{grid-template-columns:repeat(3,1fr)}.gd-v047 .gd-v047-time-fields.end{grid-template-columns:1.3fr .75fr .75fr}
}
@media(max-width:520px){
 .gd-v047 .gd-v047-time-fields.end{grid-template-columns:1fr 1fr}.gd-v047 .gd-v047-time-fields.end label:first-child{grid-column:1/-1}
 .gd-v047 .gd-v047-presets>span{width:100%}.gd-v047 .gd-v047-presets button{flex:1;min-width:58px}
}
.gd-wiki-table.gd-wiki-table-three>div{grid-template-columns:1fr 1fr 1fr}.gd-wiki-table.gd-wiki-table-three strong:last-child{text-align:right}
/* Deposit class remains visible on the map without changing the fixed Claim coordinates. */
.gd-v047 .gd-claim-hotspot.deposit-small .gd-v046-claim-art{width:110px;height:110px}
.gd-v047 .gd-claim-hotspot.deposit-medium .gd-v046-claim-art{width:118px;height:118px}
.gd-v047 .gd-claim-hotspot.deposit-large .gd-v046-claim-art{width:126px;height:126px}
.gd-v047 .gd-claim-hotspot.deposit-rich .gd-v046-claim-art{width:134px;height:134px}
.gd-v047 .gd-claim-hotspot.deposit-rich .gd-v047-state-overlay{box-shadow:0 0 0 7px rgba(239,194,65,.10),0 0 22px rgba(239,194,65,.24)}
@media(max-width:760px){
 .gd-v047 .gd-claim-hotspot.deposit-small .gd-v046-claim-art{width:90px;height:90px}
 .gd-v047 .gd-claim-hotspot.deposit-medium .gd-v046-claim-art{width:96px;height:96px}
 .gd-v047 .gd-claim-hotspot.deposit-large .gd-v046-claim-art{width:102px;height:102px}
 .gd-v047 .gd-claim-hotspot.deposit-rich .gd-v046-claim-art{width:108px;height:108px}
}

/* GoldDistrict 0.4.8 — calmer open claims, mining info bar, compact presets, richer claim overview */
.gd-v048{--gd-mining-info-h:34px}
.gd-v048.gd-skin-mining .gd-map-stage{top:calc(var(--gd-header-h) + var(--gd-safe-top) + var(--gd-claim-legend-h) + var(--gd-mining-info-h))}
.gd-v048 .gd-v048-mining-info-bar{position:absolute;z-index:44;left:0;right:0;top:calc(var(--gd-header-h) + var(--gd-safe-top) + var(--gd-claim-legend-h));height:var(--gd-mining-info-h);display:flex;align-items:center;gap:12px;padding:0 max(14px,var(--gd-safe-right)) 0 max(14px,var(--gd-safe-left));background:linear-gradient(180deg,rgba(19,28,24,.97),rgba(15,23,20,.97));border-bottom:1px solid rgba(195,164,91,.18);box-shadow:0 4px 12px rgba(0,0,0,.14);color:#d8e0dc;white-space:nowrap;overflow:hidden}
.gd-v048 .gd-v048-mining-info-bar strong{font-size:11px;color:#f0ca69;letter-spacing:.02em}.gd-v048 .gd-v048-mining-info-bar span{min-width:0;overflow:hidden;text-overflow:ellipsis;color:#aebbb4;font-size:9px}.gd-v048 .gd-v048-mining-info-bar i{margin-left:auto;font-style:normal;font-size:9px;font-weight:850;color:#7f9489;text-transform:uppercase;letter-spacing:.06em}
.gd-v048.gd-skin-mining .gd-v034-map-caption{display:none!important}

/* Open areas stay discoverable without dominating the landscape. */
.gd-v048 .gd-claim-hotspot.state-open .gd-v046-claim-art{opacity:.22;filter:brightness(1.03) saturate(.55) contrast(.96) drop-shadow(0 7px 7px rgba(0,0,0,.16))}
.gd-v048 .gd-claim-hotspot.state-open>span{opacity:.72;background:rgba(17,25,21,.63)!important}
.gd-v048 .gd-claim-hotspot.state-open:hover .gd-v046-claim-art,.gd-v048 .gd-claim-hotspot.state-open:focus-visible .gd-v046-claim-art{opacity:.42}
.gd-v048 .gd-claim-hotspot:not(.state-open) .gd-v046-claim-art{opacity:1}

/* Claim overview: existing layout, now with small state artwork and deposit badge. */
.gd-v048 .gd-v040-claim-list{gap:9px}
.gd-v048 .gd-v040-claim-row.gd-v048-claim-row{appearance:none;width:100%;position:relative;grid-template-columns:50px minmax(125px,.8fr) minmax(260px,1.8fr) auto;gap:12px;min-height:62px;padding:7px 11px 7px 8px;text-align:left;color:#eef4f6;cursor:pointer;font-family:inherit}
.gd-v048 .gd-v048-claim-row:hover,.gd-v048 .gd-v048-claim-row:focus-visible{border-color:rgba(225,190,91,.30);background:#0d2a39;outline:none;box-shadow:0 0 0 2px rgba(224,184,78,.05)}
.gd-v048 .gd-v048-claim-row>img{width:48px;height:48px;object-fit:cover;border-radius:10px;mix-blend-mode:screen;opacity:.92;-webkit-mask-image:radial-gradient(circle,#000 58%,rgba(0,0,0,.8) 74%,transparent 100%);mask-image:radial-gradient(circle,#000 58%,rgba(0,0,0,.8) 74%,transparent 100%)}
.gd-v048 .gd-v048-claim-row.state-exploration>img{filter:saturate(1.1) brightness(1.08)}.gd-v048 .gd-v048-claim-row.state-mining>img{filter:saturate(1.15) brightness(1.08)}.gd-v048 .gd-v048-claim-row.state-exhausted>img{filter:grayscale(.8) brightness(.75)}
.gd-v048 .gd-v048-claim-main{display:flex!important;flex-direction:column;align-items:flex-start;justify-content:center;gap:3px;color:inherit!important}.gd-v048 .gd-v048-claim-main strong{font-size:12px;color:#f3f6f7}.gd-v048 .gd-v048-claim-main em{font-size:9px;font-style:normal;font-weight:850;color:#e4bd58}
.gd-v048 .gd-v048-claim-row>small{align-self:center;font-size:10px;line-height:1.35;color:#91afbd;text-align:right}.gd-v048 .gd-v048-claim-row>small b{color:#e8f0f3;font-variant-numeric:tabular-nums}
.gd-v048 .gd-v048-row-deposit{align-self:center;justify-self:end;padding:4px 7px;border:1px solid rgba(226,187,73,.28);border-radius:999px;background:rgba(195,143,25,.10);color:#e9c65f;font-size:8px;text-transform:uppercase;letter-spacing:.05em;white-space:nowrap}

/* All claim/exploration/mining details use the same focused overlay dialog. */
@media(min-width:1000px){.gd-v048 .gd-v040-dialog{width:min(640px,calc(100vw - 40px));max-width:50vw}}
.gd-v048 .gd-v040-modal-backdrop{background:rgba(2,7,7,.58);backdrop-filter:blur(3px)}

/* Six compact, editable time presets: three finish-at, two duration, one MAX. */
.gd-v048 .gd-v048-mining-plan{padding:14px}.gd-v048 .gd-v048-preset-group{margin-top:13px}.gd-v048 .gd-v048-preset-group>b{display:block;margin-bottom:7px;color:#93a69c;font-size:8px;text-transform:uppercase;letter-spacing:.09em}
.gd-v048 .gd-v048-preset-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}.gd-v048 .gd-v048-preset-editable{min-width:0;display:grid;grid-template-columns:minmax(0,1fr) 31px;gap:4px}.gd-v048 .gd-v048-preset-editable>[data-preset-choice],.gd-v048 .gd-v048-max-choice{appearance:none;height:38px;border:1px solid rgba(255,255,255,.12);border-radius:8px;background:#e8ecec;color:#25292a;font-size:12px;font-weight:850;cursor:pointer;box-shadow:inset 0 1px rgba(255,255,255,.8)}
.gd-v048 .gd-v048-preset-editable>[data-preset-choice]:hover,.gd-v048 .gd-v048-max-choice:hover{border-color:rgba(225,183,68,.62);background:#f3f1e8}.gd-v048 [data-preset-choice].is-active{border-color:#e1b947!important;background:linear-gradient(180deg,#f0d374,#d8ae3f)!important;color:#201907!important;box-shadow:0 0 0 2px rgba(225,185,71,.10)}.gd-v048 [data-preset-choice].is-unavailable{opacity:.45}
.gd-v048 .gd-v048-edit{appearance:none;width:31px;height:38px;border:1px solid rgba(255,255,255,.12);border-radius:8px;background:#26312c;color:#aab9b1;font-size:13px;cursor:pointer}.gd-v048 .gd-v048-edit:hover{color:#e6c867;border-color:rgba(225,185,71,.35)}
.gd-v048 .gd-v048-preset-editable>[data-preset-input]{grid-column:1/3;width:100%;height:38px;border:1px solid rgba(225,185,71,.42);border-radius:8px;background:#111a16;color:#eef2ef;padding:0 9px;font:800 12px inherit;outline:none}.gd-v048 .gd-v048-preset-editable>[data-preset-input][hidden]{display:none!important}
.gd-v048 .gd-v048-max-choice{display:flex;align-items:center;justify-content:center;gap:6px;background:linear-gradient(180deg,rgba(221,180,65,.26),rgba(124,88,20,.22));color:#efd276;border-color:rgba(225,185,71,.40)}.gd-v048 .gd-v048-max-choice small{font-size:8px;color:inherit;opacity:.72}
.gd-v048 .gd-v040-dialog-grid.preview{margin-top:12px}.gd-v048 .gd-v047-level-limit{margin-top:9px}

@media(max-width:820px){
 .gd-v048{--gd-mining-info-h:32px}.gd-v048 .gd-v048-mining-info-bar{gap:8px;padding-left:max(10px,var(--gd-safe-left));padding-right:max(10px,var(--gd-safe-right))}.gd-v048 .gd-v048-mining-info-bar span{font-size:8px}.gd-v048 .gd-v048-mining-info-bar i{display:none}
 .gd-v048 .gd-v040-claim-row.gd-v048-claim-row{grid-template-columns:44px minmax(110px,1fr) auto;gap:9px}.gd-v048 .gd-v048-claim-row>img{width:42px;height:42px}.gd-v048 .gd-v048-claim-row>small{grid-column:2/4;text-align:left}.gd-v048 .gd-v048-row-deposit{grid-column:3;grid-row:1}
}
@media(max-width:520px){
 .gd-v048 .gd-v048-mining-info-bar strong{font-size:10px}.gd-v048 .gd-v048-mining-info-bar span{display:none}
 .gd-v048 .gd-v048-preset-grid{grid-template-columns:1fr 1fr 1fr}.gd-v048 .gd-v048-preset-editable{grid-template-columns:minmax(0,1fr) 28px}.gd-v048 .gd-v048-edit{width:28px}.gd-v048 .gd-v048-preset-editable>[data-preset-choice],.gd-v048 .gd-v048-max-choice{font-size:11px}
 .gd-v048 .gd-v040-claim-row.gd-v048-claim-row{grid-template-columns:42px 1fr auto}.gd-v048 .gd-v048-claim-row>small{grid-column:1/-1;padding-left:51px}.gd-v048 .gd-v048-row-deposit{font-size:7px}
}


/* GoldDistrict 0.4.9 — transparent open claims, compact wide dialogs, storage value overview */
.gd-v049 .gd-claim-hotspot.state-open .gd-v046-claim-art{
  mix-blend-mode:multiply!important;opacity:.13!important;
  filter:grayscale(.10) brightness(1.10) contrast(.92) saturate(.60) drop-shadow(0 3px 4px rgba(0,0,0,.06))!important;
  -webkit-mask-image:radial-gradient(ellipse 46% 42% at 50% 54%,#000 0 52%,rgba(0,0,0,.78) 62%,rgba(0,0,0,.22) 72%,transparent 82%)!important;
  mask-image:radial-gradient(ellipse 46% 42% at 50% 54%,#000 0 52%,rgba(0,0,0,.78) 62%,rgba(0,0,0,.22) 72%,transparent 82%)!important;
}
.gd-v049 .gd-claim-hotspot.state-open:hover .gd-v046-claim-art,.gd-v049 .gd-claim-hotspot.state-open:focus-visible .gd-v046-claim-art{opacity:.28!important}
.gd-v049 .gd-claim-hotspot.state-open>span{background:rgba(17,25,21,.48)!important;opacity:.72}
.gd-v049 .gd-claim-hotspot.state-open .gd-v047-state-overlay{display:none!important}

/* Desktop gameplay dialogs always leave visible game world at both sides. */
@media(min-width:900px){
 .gd-v049 .gd-v040-modal{padding-left:60px;padding-right:60px}
 .gd-v049 .gd-v040-dialog{width:min(900px,calc(100vw - 120px));max-width:none;max-height:calc(100vh - 56px);padding:17px 19px;overflow:auto}
 .gd-v049 .gd-v040-dialog>header{margin-bottom:11px}
 .gd-v049 .gd-v040-dialog>header h2{font-size:24px;margin-bottom:6px}
 .gd-v049 .gd-v040-dialog-grid{grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:8px;margin:9px 0}
 .gd-v049 .gd-v040-dialog-grid.preview{grid-template-columns:repeat(3,minmax(0,1fr));margin-top:9px}
 .gd-v049 .gd-v040-dialog-metric{padding:9px 10px}
 .gd-v049 .gd-v040-dialog-metric strong{font-size:13px;margin-top:4px}
 .gd-v049 .gd-v040-quality{margin:8px 0}
 .gd-v049 .gd-v040-mining-plan{margin-top:10px!important;padding:11px 13px!important}
 .gd-v049 .gd-v048-preset-group{margin-top:9px}
 .gd-v049 .gd-v048-preset-group>b{margin-bottom:5px}
 .gd-v049 .gd-v040-dialog-actions{margin-top:11px}
}
.gd-v049 .gd-v048-preset-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
.gd-v049 .gd-v048-preset-editable>[data-preset-input]{font-size:11px}

/* Compact SC-inspired storage total/value summary. */
.gd-v049-storage-value{margin-top:12px;padding:16px 18px;border-radius:15px;background:#0a202c;border:1px solid rgba(135,171,189,.16)}
.gd-v049-storage-value-head{display:flex;align-items:center;justify-content:space-between;gap:18px;padding-bottom:12px;border-bottom:1px solid rgba(135,171,189,.13)}
.gd-v049-storage-value-head small{display:block;color:#e4bd58;font-size:9px;font-weight:900;letter-spacing:.12em;text-transform:uppercase}
.gd-v049-storage-value-head h2{margin:3px 0 0;font-size:18px}
.gd-v049-storage-value-head>strong{font-size:23px;color:#f2f5f6;font-variant-numeric:tabular-nums}
.gd-v049-storage-value-group{margin-top:10px;border-radius:11px;overflow:hidden;border:1px solid rgba(135,171,189,.12)}
.gd-v049-storage-value-group-head{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:9px 11px;background:#102a37}
.gd-v049-storage-value-group-head>span{display:flex;align-items:center;gap:8px}.gd-v049-storage-value-group-head strong{font-size:13px}.gd-v049-storage-value-group-head>b{font-size:15px;font-variant-numeric:tabular-nums}
.gd-v049-storage-value-row{display:grid;grid-template-columns:minmax(120px,1.2fr) .7fr .9fr .9fr;gap:10px;align-items:center;padding:9px 12px;background:#0c2430;color:#9eb2bc;font-size:11px}
.gd-v049-storage-value-row strong{color:#edf3f5;text-align:right;font-variant-numeric:tabular-nums;font-size:11px}
.gd-v049-storage-value>p{margin:10px 0 0;color:#819aa6;font-size:10px;line-height:1.45}
.gd-gold-emblem.tiny{width:25px;height:22px;flex:0 0 25px}.gd-gold-emblem.tiny i{width:22px;height:15px;border-radius:4px}.gd-gold-emblem.tiny b{font-size:7px}
@media(max-width:700px){
 .gd-v049-storage-value-head{align-items:flex-end}.gd-v049-storage-value-head>strong{font-size:19px}
 .gd-v049-storage-value-row{grid-template-columns:1fr 1fr}.gd-v049-storage-value-row span{grid-column:1/-1}.gd-v049-storage-value-row strong{text-align:left}
}


/* GoldDistrict 0.4.11 — clean claim rings, storage navigation, compact overlay surfaces */
.gd-v0411 .gd-claim-hotspot .gd-v046-claim-art{
  border-radius:50%!important;mix-blend-mode:normal!important;opacity:1!important;
  -webkit-mask-image:radial-gradient(circle at 50% 50%,#000 0 54%,rgba(0,0,0,.98) 61%,rgba(0,0,0,.62) 69%,rgba(0,0,0,.10) 77%,transparent 82%)!important;
  mask-image:radial-gradient(circle at 50% 50%,#000 0 54%,rgba(0,0,0,.98) 61%,rgba(0,0,0,.62) 69%,rgba(0,0,0,.10) 77%,transparent 82%)!important;
  filter:brightness(1.08) saturate(1.02) contrast(1.03) drop-shadow(0 8px 8px rgba(0,0,0,.22))!important;
}
.gd-v0411 .gd-claim-hotspot.state-open .gd-v046-claim-art{opacity:.62!important;filter:brightness(1.16) saturate(.72) contrast(.94) drop-shadow(0 5px 5px rgba(0,0,0,.12))!important}
.gd-v0411 .gd-claim-hotspot.state-open:hover .gd-v046-claim-art,.gd-v0411 .gd-claim-hotspot.state-open:focus-visible .gd-v046-claim-art{opacity:.82!important}
.gd-v0411 .gd-claim-hotspot .gd-v047-state-overlay{z-index:4!important;left:50%!important;top:46%!important;width:88px!important;height:88px!important;border-radius:50%!important;background:transparent!important}
.gd-v0411 .gd-claim-hotspot.state-open .gd-v047-state-overlay,.gd-v0411 .gd-claim-hotspot.state-ready .gd-v047-state-overlay{display:none!important}
.gd-v0411 .gd-claim-hotspot.state-exploration .gd-v047-state-overlay{display:block!important;opacity:1!important;border:2px solid rgba(94,204,235,.92)!important;box-shadow:0 0 0 5px rgba(76,181,211,.10),0 0 20px rgba(76,181,211,.42)!important;animation:gd-v0411-blue-ring 1.9s ease-in-out infinite!important}
.gd-v0411 .gd-claim-hotspot.state-exploration .gd-v047-state-overlay:before,.gd-v0411 .gd-claim-hotspot.state-exploration .gd-v047-state-overlay:after{display:none!important}
.gd-v0411 .gd-claim-hotspot.state-mining .gd-v047-state-overlay{display:block!important;opacity:1!important;border:2px solid rgba(241,194,58,.96)!important;box-shadow:0 0 0 5px rgba(241,194,58,.10),0 0 21px rgba(241,194,58,.38)!important;animation:gd-v0411-gold-ring 2.1s ease-in-out infinite!important}
.gd-v0411 .gd-claim-hotspot.state-exhausted .gd-v047-state-overlay{display:block!important;opacity:.88!important;border:3px solid rgba(17,19,19,.92)!important;box-shadow:0 0 0 5px rgba(8,9,9,.14),0 0 16px rgba(0,0,0,.36)!important;background:transparent!important}
@keyframes gd-v0411-blue-ring{0%,100%{transform:translate(-50%,-50%) scale(.88);opacity:.52}50%{transform:translate(-50%,-50%) scale(1.04);opacity:1}}
@keyframes gd-v0411-gold-ring{0%,100%{transform:translate(-50%,-50%) scale(.94);opacity:.62}50%{transform:translate(-50%,-50%) scale(1.03);opacity:1}}
.gd-v0411 .gd-v047-map-meta{min-width:0!important;max-width:72px!important;padding:2px 6px!important;bottom:-9px!important;border-radius:999px!important;background:rgba(10,17,15,.82)!important;font-size:7px!important;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.gd-v0411 .gd-claim-hotspot.state-ready .gd-v047-map-meta,.gd-v0411 .gd-claim-hotspot.state-open .gd-v047-map-meta{display:none!important}
.gd-v0411 .gd-v046-deposit-badge{top:4px!important}
@media(prefers-reduced-motion:reduce){.gd-v0411 .gd-claim-hotspot.state-exploration .gd-v047-state-overlay,.gd-v0411 .gd-claim-hotspot.state-mining .gd-v047-state-overlay{animation:none!important}}

/* Storage behaves like a focused game panel: world remains visible around it. */
.gd-v0411-storage-scene{position:absolute;inset:0;overflow:auto;background:#09171d}
.gd-v0411-storage-bg{position:fixed;z-index:0;inset:var(--gd-header-h) 0 var(--gd-nav-h);width:100%;height:calc(100vh - var(--gd-header-h) - var(--gd-nav-h));object-fit:cover;filter:blur(1.5px) saturate(.72) brightness(.54);transform:scale(1.015)}
.gd-v0411-storage-shade{position:fixed;z-index:1;inset:var(--gd-header-h) 0 var(--gd-nav-h);background:rgba(3,15,21,.42);backdrop-filter:blur(2px)}
.gd-v0411-storage-shell{position:relative;z-index:2;display:grid;grid-template-columns:190px minmax(0,1fr);width:min(1120px,calc(100% - 120px));min-height:min(650px,calc(100vh - var(--gd-header-h) - var(--gd-nav-h) - 44px));margin:22px auto 34px;border:1px solid rgba(138,177,195,.20);border-radius:20px;overflow:hidden;background:rgba(5,23,32,.95);box-shadow:0 24px 60px rgba(0,0,0,.42);backdrop-filter:blur(13px)}
.gd-v0411-storage-nav{display:flex;flex-direction:column;gap:6px;padding:20px 12px;border-right:1px solid rgba(138,177,195,.14);background:rgba(6,26,36,.88)}
.gd-v0411-storage-nav-title{padding:4px 10px 15px}.gd-v0411-storage-nav-title small{display:block;color:#e4bd58;font-size:8px;font-weight:900;letter-spacing:.12em;text-transform:uppercase}.gd-v0411-storage-nav-title strong{display:block;margin-top:4px;font-size:18px}
.gd-v0411-storage-nav>a{display:flex;align-items:center;gap:10px;min-height:44px;padding:0 11px;border:1px solid transparent;border-radius:11px;color:#96aab4;font-size:12px;font-weight:800}.gd-v0411-storage-nav>a svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.8}.gd-v0411-storage-nav>a.active{color:#f1ca5f;background:#0d2d3b;border-color:rgba(227,186,72,.22)}.gd-v0411-storage-nav>a:hover{background:#0c2936;color:#eaf1f3}.gd-v0411-storage-nav .gd-v0411-storage-back{margin-top:auto;color:#d7bc6a}
.gd-v0411-storage-content{min-width:0;padding:24px 26px 30px;overflow:auto;max-height:calc(100vh - var(--gd-header-h) - var(--gd-nav-h) - 48px)}
.gd-v0411-storage-head{display:flex;align-items:flex-start;justify-content:space-between;gap:22px;margin-bottom:18px}.gd-v0411-storage-head small{display:block;color:#e4bd58;font-size:8px;font-weight:900;letter-spacing:.11em;text-transform:uppercase}.gd-v0411-storage-head h1{margin:4px 0 6px;font-size:27px}.gd-v0411-storage-head p{max-width:650px;margin:0;color:#9bb0ba;font-size:11px;line-height:1.55}.gd-v0411-storage-head>strong{font-size:26px;font-variant-numeric:tabular-nums}.gd-v0411-storage-head>a{padding:8px 11px;border:1px solid rgba(226,187,73,.27);border-radius:9px;color:#e7c868;font-size:10px;font-weight:850}
.gd-v0411-goods-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:12px}.gd-v0411-goods-card{display:grid;grid-template-columns:78px 1fr 24px;align-items:center;gap:13px;padding:16px;border-radius:15px;background:#0c2a38;border:1px solid rgba(137,174,191,.16);color:#eef4f5}.gd-v0411-goods-card:hover{border-color:rgba(226,187,73,.30);transform:translateY(-1px)}.gd-v0411-goods-card small{color:#88a5b2;font-size:8px;text-transform:uppercase;letter-spacing:.08em}.gd-v0411-goods-card h2{margin:3px 0 11px;font-size:19px}.gd-v0411-goods-card dl{display:grid;grid-template-columns:1fr 1.2fr;gap:12px;margin:0}.gd-v0411-goods-card dt{color:#7e9aa7;font-size:8px;text-transform:uppercase}.gd-v0411-goods-card dd{margin:3px 0 0;color:#f0f5f6;font-size:13px;font-weight:850}.gd-v0411-goods-card>span{font-size:27px;color:#d9bd63}
.gd-v0411-gold-detail,.gd-v0411-refinery,.gd-v0411-total-stats,.gd-v0411-storage-content .gd-v040-storage-stats{margin-top:12px;padding:16px 18px;border-radius:15px;background:#0a202c;border:1px solid rgba(135,171,189,.16)}
.gd-v0411-refinery-head{display:flex;justify-content:space-between;align-items:flex-start;gap:18px}.gd-v0411-refinery-head small{color:#e4bd58;font-size:8px;font-weight:900;text-transform:uppercase;letter-spacing:.1em}.gd-v0411-refinery-head h2{margin:4px 0 5px;font-size:18px}.gd-v0411-refinery-head p{max-width:650px;margin:0;color:#8fa5af;font-size:10px;line-height:1.5}.gd-v0411-refinery-head>strong{font-size:18px;color:#edd070;white-space:nowrap}
.gd-v0411-refinery-form{display:grid;grid-template-columns:minmax(220px,1.2fr) minmax(150px,.7fr) auto;gap:10px;align-items:end;margin-top:14px}.gd-v0411-refinery-form label>span,.gd-v0411-refinery-form>div>span{display:block;margin-bottom:5px;color:#829aa5;font-size:8px;text-transform:uppercase;letter-spacing:.08em}.gd-v0411-refinery-form label>div{display:grid;grid-template-columns:1fr auto;gap:6px}.gd-v0411-refinery-form input{height:39px;border:1px solid rgba(255,255,255,.12);border-radius:8px;background:#101d23;color:#f0f4f5;padding:0 10px;font-size:13px;font-weight:800}.gd-v0411-refinery-form [data-refinery-all]{border:1px solid rgba(226,187,73,.25);border-radius:8px;background:#17313a;color:#e1c66d;padding:0 11px;font-weight:850}.gd-v0411-refinery-form>div>strong{display:flex;align-items:center;height:39px;font-size:16px}.gd-v0411-refinery-form>.gd-v040-btn{height:39px;margin:0}
.gd-v0411-total-stats{padding:0;overflow:hidden}.gd-v0411-total-row{display:grid;grid-template-columns:1.5fr .7fr .9fr .9fr;gap:14px;align-items:center;padding:10px 14px;font-size:11px}.gd-v0411-total-row.head{color:#7593a0;background:#0c2835;text-transform:uppercase;font-size:8px;letter-spacing:.07em}.gd-v0411-total-group .group-head{display:flex;align-items:center;justify-content:space-between;padding:10px 14px;background:#102f3d}.gd-v0411-total-group .group-head>span{display:flex;align-items:center;gap:8px;font-weight:850}.gd-v0411-total-group .group-head>strong{font-size:16px}.gd-v0411-total-row:not(.head){background:#0a222e;color:#9bb0ba}.gd-v0411-total-row:not(.head)>b,.gd-v0411-total-row:not(.head)>span:last-child{text-align:right;color:#edf3f5}.gd-v0411-total-row:not(.head)>strong{color:#eef3f5}

/* Desktop dialog rule: never consume the full viewport width. */
@media(min-width:900px){.gd-v0411 .gd-v040-modal{padding-left:max(72px,7vw);padding-right:max(72px,7vw)}.gd-v0411 .gd-v040-dialog{width:min(940px,86vw)!important;max-width:940px!important;max-height:calc(100vh - 64px)!important}.gd-v0411 .gd-v040-dialog-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.gd-v0411 .gd-v040-dialog-grid.preview{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:899px){.gd-v0411-storage-shell{grid-template-columns:1fr;width:min(100% - 20px,760px);margin:10px auto 24px}.gd-v0411-storage-nav{flex-direction:row;align-items:center;overflow:auto;border-right:0;border-bottom:1px solid rgba(138,177,195,.14);padding:9px}.gd-v0411-storage-nav-title{display:none}.gd-v0411-storage-nav .gd-v0411-storage-back{margin:0 0 0 auto}.gd-v0411-storage-content{padding:16px;max-height:none}.gd-v0411-storage-head{flex-direction:column}.gd-v0411-refinery-form{grid-template-columns:1fr 1fr}.gd-v0411-refinery-form>.gd-v040-btn{grid-column:1/-1}.gd-v0411-total-row{grid-template-columns:1fr 1fr}.gd-v0411-total-row.head{display:none}.gd-v0411-total-row:not(.head)>span,.gd-v0411-total-row:not(.head)>b{text-align:left!important}}
@media(max-width:560px){.gd-v0411-storage-nav>a{min-width:max-content}.gd-v0411-storage-nav .gd-v0411-storage-back span{display:none}.gd-v0411-goods-card{grid-template-columns:58px 1fr 18px}.gd-v0411-goods-card dl{grid-template-columns:1fr}.gd-v0411-refinery-form{grid-template-columns:1fr}.gd-v0411-refinery-form>.gd-v040-btn{grid-column:auto}.gd-v0411 .gd-v040-dialog-grid{grid-template-columns:1fr 1fr}}

.gd-v0411 .gd-claim-hotspot.deposit-small .gd-v047-state-overlay{width:94px!important;height:94px!important}
.gd-v0411 .gd-claim-hotspot.deposit-medium .gd-v047-state-overlay{width:102px!important;height:102px!important}
.gd-v0411 .gd-claim-hotspot.deposit-large .gd-v047-state-overlay{width:110px!important;height:110px!important}
.gd-v0411 .gd-claim-hotspot.deposit-rich .gd-v047-state-overlay{width:118px!important;height:118px!important}
.gd-v0411 .gd-claim-hotspot.state-open>span{background:rgba(14,22,19,.56)!important;border-color:rgba(227,211,160,.25)!important;box-shadow:0 2px 6px rgba(0,0,0,.16)!important;opacity:.82!important}
