*{box-sizing:border-box;margin:0;padding:0}
html,body{height:100%;overflow:hidden;background:#1a1208;font-family:Verdana,Arial,sans-serif;color:#fff}
#app{position:fixed;inset:0}
#game{position:absolute;inset:0;width:100%;height:100%;display:block}
.hidden{display:none!important}
.screen{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;background:linear-gradient(180deg,rgba(10,8,4,.55),rgba(20,12,2,.82));z-index:40}
/* Start screen: low-poly sunset photo (game/textures/start-screen-sunset.jpg,
   2000x1000, golden sun-disc gateway, no flags) under the same dark gradient
   so the menu text stays readable; cover crops, never stretches. */
#start-screen{background:linear-gradient(180deg,rgba(10,8,4,.55),rgba(20,12,2,.82)),url('./textures/start-screen-sunset.jpg') center/cover no-repeat}
/* Title logo: the ENYE EASY emblem-badge lockup as one inline SVG
   (game/textures/logo-enye-easy.svg is the same art as a file). No frame,
   no background — the panel behind it is the frame. The <h1> stays in the
   DOM, visually hidden, for screen readers and search. */
.logo-wrap{width:100%;max-width:520px;margin:2px auto 4px;filter:drop-shadow(0 6px 18px rgba(0,0,0,.55))}
.title-logo-svg{display:block;width:100%;height:auto}
.visually-hidden{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
#start-screen h1{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.screen-inner{max-width:760px;width:92%;text-align:center;padding:28px;background:rgba(20,14,6,.72);border:2px solid #f2c200;border-radius:14px;box-shadow:0 12px 60px rgba(0,0,0,.6)}
.kicker{letter-spacing:.45em;color:#ffd23e;font-weight:700;font-size:13px}
h1{font-size:64px;letter-spacing:.04em;color:#ffd23e;text-shadow:0 4px 0 #a31621,0 8px 24px rgba(0,0,0,.7);margin:6px 0}
h2{font-size:34px;color:#ffd23e;letter-spacing:.08em;margin-bottom:12px}
.tagline{font-size:19px;color:#ffe9a8;font-style:italic;margin-bottom:12px}
.blurb{font-size:15px;line-height:1.55;color:#f5f0e6;margin-bottom:18px}
.menu-buttons{display:flex;flex-direction:column;gap:10px;align-items:center;margin-top:10px}
.menu-buttons.row{flex-direction:row;justify-content:center;flex-wrap:wrap}
button{font-family:inherit;font-weight:700;font-size:16px;letter-spacing:.05em;color:#1a1208;background:#ffd23e;border:none;border-radius:8px;padding:12px 26px;cursor:pointer;box-shadow:0 3px 0 #a31621}
button:hover{background:#ffe066;transform:translateY(-1px)}
button:active{transform:translateY(2px);box-shadow:none}
.foot{margin-top:18px;font-size:11px;color:#cbb98f}
#howto,#settings-panel{margin:14px auto;text-align:left;background:rgba(0,0,0,.35);border:1px solid #6b5a2e;border-radius:8px;padding:14px 18px;font-size:14px;line-height:1.7}
#howto h3,#settings-panel h3{color:#ffd23e;margin-bottom:6px}
label{display:block;margin:8px 0;font-size:14px}
input[type=range]{width:220px;vertical-align:middle}
select{font-size:14px;padding:4px}
/* HUD */
/* Kente strip: one crisp 5px band in the game's own kente palette
   (city.js kenteTexture: gold / red / green / black / bright gold),
   the same stripe on every panel — the HUD's Ghanaian identity.
   Deliberate and aligned; no other decoration on the panels. */
.kente{position:relative}
.kente::before{content:'';position:absolute;top:0;left:0;right:0;height:5px;border-radius:6px 6px 0 0;background:repeating-linear-gradient(90deg,#E8A800 0 12px,#A31621 12px 24px,#1E7A34 24px 36px,#141414 36px 48px,#F5C400 48px 60px)}
#hud{position:absolute;inset:0;pointer-events:none;z-index:20;font-size:14px}
#hud-topleft{position:absolute;top:14px;left:14px;width:340px}
#mission-panel{background:rgba(12,10,4,.62);border-left:5px solid #ffd23e;border-radius:6px;padding:10px 12px}
#mission-title{color:#ffd23e;font-weight:800;letter-spacing:.12em;font-size:13px}
#mission-objective{font-size:15px;line-height:1.4;margin-top:4px}
#mission-objective::before{content:'◆ ';color:#f2c200}
#mission-timer-label{font-size:11px;letter-spacing:.3em;color:#cbb98f;font-weight:700;margin-top:6px}
#mission-timer{font-size:24px;font-weight:800;color:#ffe9a8;margin-top:2px}
#respect-wrap{margin-top:8px;background:rgba(12,10,4,.62);border-radius:6px;padding:8px 10px;display:flex;gap:8px;align-items:center;font-size:12px;font-weight:700}
.bar{flex:1;height:10px;background:#222;border-radius:5px;overflow:hidden}
.bar>div{height:100%;background:#37c24a;width:100%}
#respect-fill{background:linear-gradient(90deg,#f2c200,#e86a1a)}
#respect-rank{color:#ffd23e}
#hud-topright{position:absolute;top:14px;right:14px;text-align:right;width:340px}
#wanted-label{color:#ff3b30;font-weight:800;font-size:12px;letter-spacing:.35em;text-shadow:0 2px 4px #000}
#wanted-stars{font-size:32px;letter-spacing:4px;color:#ffd23e;text-shadow:0 0 8px rgba(0,0,0,.8)}
#wanted-stars.calm{opacity:.55}
#wanted-stars.hot{color:#ff3b30;animation:blink .5s steps(2) infinite}
@keyframes blink{50%{opacity:.35}}
#money{font-size:24px;font-weight:800;color:#7dff8a;text-shadow:0 2px 4px #000;margin-top:2px}
#day-clock{font-size:13px;color:#ffe9a8;margin-top:2px}
#health-wrap{margin-top:6px;background:rgba(12,10,4,.62);border-radius:6px;padding:7px 9px;display:flex;gap:8px;align-items:center;font-size:12px;font-weight:700}
#health-num{color:#fff;font-weight:800;font-size:13px;min-width:30px;text-align:right}
#stars-line{font-size:11px;letter-spacing:.18em;color:#ffe9a8;margin-top:4px;text-align:center}
#stars-count{color:#ffd23e;font-weight:800}
#minimap{margin-top:8px;width:320px;height:320px;border:4px solid #f2c200;border-radius:50%;background:#e3d6b8;box-shadow:0 4px 18px rgba(0,0,0,.6)}
#minimap-label{font-size:14px;font-weight:800;letter-spacing:.3em;color:#ffe9a8;margin-top:4px;text-align:center}
#hud-bottomleft{position:absolute;left:14px;bottom:14px}
#prompt{font-size:16px;font-weight:800;color:#fff;background:rgba(12,10,4,.7);border:1px solid #ffd23e;border-radius:6px;padding:8px 12px;margin-bottom:8px;display:none}
#weapon-slots{display:flex;gap:6px}
.slot{background:rgba(12,10,4,.62);border:1px solid #888;border-radius:6px;padding:6px 9px;font-size:12px;font-weight:700;color:#ddd}
.slot.active{border-color:#ffd23e;color:#ffd23e}
.slot.locked{opacity:.45}
#ammo{color:#ffd23e;font-size:14px}
#hud-bottomright{position:absolute;right:14px;bottom:14px;text-align:right}
#vehicle-panel{background:rgba(12,10,4,.72);border:1px solid #ffd23e;border-radius:8px;padding:10px 12px;width:230px;margin-bottom:8px;text-align:left}
#veh-name{font-weight:800;color:#ffd23e;font-size:13px}
#veh-speed{font-size:34px;font-weight:800;line-height:1.1}
#veh-speed-unit{font-size:13px;color:#cbb98f;font-weight:700;letter-spacing:.1em}
.veh-row{display:flex;gap:8px;align-items:center;margin-top:6px;font-size:11px;font-weight:700}
.veh-label{color:#ffe9a8;letter-spacing:.08em}
#veh-cond-num{min-width:38px;text-align:right;font-size:12px}
#veh-cond{background:#37c24a}
#veh-stolen{color:#ff8a80;font-weight:800;font-size:12px;margin-top:4px}
#radio-panel{background:rgba(12,10,4,.62);border-radius:6px;padding:7px 10px;font-size:12px;color:#ffe9a8}
#crosshair{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);font-size:26px;color:#fff;text-shadow:0 0 6px #000}
#vignette{position:absolute;inset:0;pointer-events:none;box-shadow:inset 0 0 120px 40px rgba(200,0,0,0);transition:box-shadow .2s}
#vignette.hurt{box-shadow:inset 0 0 140px 50px rgba(200,0,0,.55)}
#banner{position:absolute;left:50%;top:22%;transform:translateX(-50%);background:rgba(12,10,4,.85);border:2px solid #ffd23e;border-radius:10px;padding:16px 30px;font-size:22px;font-weight:800;color:#ffd23e;text-align:center;box-shadow:0 8px 30px rgba(0,0,0,.6)}
#dialogue{position:absolute;left:50%;bottom:90px;transform:translateX(-50%);width:min(640px,92%);background:rgba(10,8,4,.88);border:2px solid #f2c200;border-radius:10px;padding:14px 18px;overflow:hidden}
/* Dialogue portrait: 765x1024 cartoon, shown ~90px wide, floated beside the
   speaker name; hidden (display:none) for speakers with no portrait. */
#dialogue-portrait{float:left;width:90px;height:auto;margin:2px 14px 6px 0;border:2px solid #f2c200;border-radius:8px}
#dialogue-speaker{color:#ffd23e;font-weight:800;letter-spacing:.08em;margin-bottom:4px}
#dialogue-text{font-size:16px;line-height:1.5}
#dialogue-hint{font-size:11px;color:#cbb98f;margin-top:6px;text-align:right}
#toast{position:absolute;left:50%;top:64px;transform:translateX(-50%);background:rgba(12,10,4,.8);border-radius:6px;padding:8px 16px;font-weight:700;color:#ffe9a8}
.tabs{display:flex;gap:6px;justify-content:center;margin:10px 0}
.tab{background:#3a2f14;color:#ffe9a8;box-shadow:none;padding:8px 14px;font-size:13px}
.tab.active{background:#ffd23e;color:#1a1208}
.tabpage{margin:10px 0;text-align:left;font-size:14px;line-height:1.8}
.tabpage p{margin:6px 0}
#bigmap{width:100%;max-width:640px;border:2px solid #f2c200;border-radius:8px;background:#e3d6b8}
.legend{font-size:12px;color:#ffe9a8;text-align:center}
.legend .lg{white-space:nowrap}
#loading{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;background:#1a1208;color:#ffd23e;font-size:20px;font-weight:700;z-index:60}
#fail-screen h1{color:#ff3b30;text-shadow:0 4px 0 #600,0 8px 24px rgba(0,0,0,.7)}
#end-screen h1{color:#7dff8a;text-shadow:0 4px 0 #145a1e,0 8px 24px rgba(0,0,0,.7)}

/* ---- ENYE EASY title screen (logo round, Part F/G) ---- */
/* Kente-inspired trim band: woven diagonal stripes in the logo palette. */
.kente-trim{height:10px;border-radius:5px;margin:-8px 0 14px;background:repeating-linear-gradient(45deg,#e86a1a 0 10px,#ffd23e 10px 20px,#a31621 20px 30px,#2e5a6b 30px 40px)}
/* Warm vignette over the sunset photo so the logo reads clearly. */
#start-screen::after{content:"";position:absolute;inset:0;pointer-events:none;background:radial-gradient(ellipse at 50% 42%,transparent 55%,rgba(20,12,2,.38) 100%)}
/* Slow parallax drift of the sunset background (paused for reduced motion). */
#start-screen{animation:title-drift 40s ease-in-out infinite alternate}
@keyframes title-drift{from{background-position:48% center}to{background-position:52% center}}
/* Intro: the logo drops in like a stamped sticker, tiny bounce, then settles.
   The shine sweeps once across the lettering. Total intro under 2 s. */
.logo-wrap{animation:logo-stamp .55s cubic-bezier(.2,1.4,.4,1) .08s both}
@keyframes logo-stamp{from{transform:translateY(-46px) scale(1.12);opacity:0}60%{transform:translateY(4px) scale(.985);opacity:1}to{transform:translateY(0) scale(1);opacity:1}}
.logo-shine{animation:logo-shine 1.1s ease-in-out .55s both}
@keyframes logo-shine{from{transform:translateX(-420px)}to{transform:translateX(920px)}}
/* Skipped intro: any key/click on the start screen adds .intro-done and the
   logo sits still immediately. */
#start-screen.intro-done .logo-wrap,#start-screen.intro-done .logo-shine{animation:none}
/* Menu buttons as painted trotro stickers: bold yellow, red offset shadow,
   slight tilt on hover, pressed state, clear focus ring. */
.menu-buttons button{transition:transform .12s ease,background .12s ease}
.menu-buttons button:hover{transform:rotate(-1deg) translateY(-1px)}
.menu-buttons button:active{transform:rotate(-1deg) translateY(2px);box-shadow:none}
button:focus-visible{outline:3px solid #fff;outline-offset:3px}
/* Drifting birds and floating dust over the sunset (decorative only). */
.title-birds,.title-dust{position:absolute;inset:0;pointer-events:none;overflow:hidden;z-index:1}
.title-bird{position:absolute;color:rgba(245,240,230,.75);font-size:22px;animation:bird-drift 26s linear infinite}
.title-bird.b1{top:16%;animation-delay:0s}
.title-bird.b2{top:24%;animation-delay:-9s;font-size:17px}
.title-bird.b3{top:11%;animation-delay:-17s;font-size:14px}
@keyframes bird-drift{from{left:-4%;transform:translateY(0)}50%{transform:translateY(-14px)}to{left:104%;transform:translateY(0)}}
.dust{position:absolute;width:5px;height:5px;border-radius:50%;background:rgba(255,233,168,.55);animation:dust-float 9s ease-in-out infinite alternate}
.dust.d1{left:12%;top:62%}
.dust.d2{left:28%;top:74%;animation-delay:-3s;width:4px;height:4px}
.dust.d3{left:68%;top:58%;animation-delay:-6s}
.dust.d4{left:84%;top:70%;animation-delay:-2s;width:4px;height:4px}
.dust.d5{left:52%;top:82%;animation-delay:-5s;width:3px;height:3px}
@keyframes dust-float{from{transform:translateY(0);opacity:.25}to{transform:translateY(-18px);opacity:.7}}
/* Loading + pause emblems. */
#loading{flex-direction:column;gap:18px}
.loading-logo{width:120px;height:120px}
.pause-logo{display:block;width:84px;height:84px;margin:0 auto 4px}
/* Small screens: keep the logo, blurb and buttons readable, no overflow. */
.screen-inner{max-height:96vh;overflow-y:auto}
@media (max-width:560px){
  .logo-wrap{max-width:340px}
  .screen-inner{padding:18px 14px}
  .kicker{font-size:11px;letter-spacing:.32em}
  .tagline{font-size:16px}
  .blurb{font-size:13px}
  button{font-size:14px;padding:10px 20px}
  .loading-logo{width:88px;height:88px}
  .pause-logo{width:64px;height:64px}
}
@media (max-height:960px){
  /* Short screens (720p laptops included): the full title card is ~920px
     tall and the bottom buttons fall below the fold inside the scrolling
     card, where a mouse click cannot reach them (probe 22 Nov: How to
     Play, Settings and Save & Quit all missed their clicks while New
     Game, the first button, worked). Compact layout so the whole card
     fits in 96vh with no inner scroll at 720p and up. */
  .logo-wrap{max-width:280px}
  .screen-inner{padding:16px}
  .blurb{margin-bottom:10px}
  .foot{margin-top:10px}
  button{padding:10px 22px}
  .pause-logo{width:64px;height:64px}
  #bigmap{max-width:480px}
}
/* Reduced motion: no drift, no birds, no dust, no stamp, no shine. */
@media (prefers-reduced-motion:reduce){
  #start-screen{animation:none}
  .logo-wrap,.logo-shine,.title-bird,.dust{animation:none}
  .title-birds,.title-dust{display:none}
}
/* ENYE EASY submitted build — make.fun gta6-01. */
