/* Harbor City: a painted world, a compact HUD and tactile game controls. */
:root {
  --paper:#f7f8f1; --wash:#e8efe8; --ink:#203f48; --muted:#657e81;
  --line:#ccd9cf; --blue:#287d75; --blue-light:#dceee5;
  --green:#4b9975; --orange:#c18349; --gold:#f1c369; --deep:#173a44;
  font-family:'Microsoft YaHei UI','PingFang SC','Segoe UI',sans-serif;
  color:var(--ink); background:#183e49;
}
body {
  min-height:100vh;
  background:radial-gradient(ellipse at 50% 0,#386460 0,transparent 65%),linear-gradient(155deg,#183e49,#102d38);
  background-attachment:fixed;
}
button,input,textarea,select { font-family:inherit; }
h1,h2,h3 { font-family:inherit; letter-spacing:0; }
.game-icon { width:22px; height:22px; flex:none; vertical-align:middle; }
.topbar { max-width:1180px; height:90px; padding:0 24px; border:0; }
.brand { display:flex; align-items:center; gap:13px; color:#f4efd9; font:800 27px/1.2 'Microsoft YaHei UI',sans-serif; letter-spacing:2px; }
.brand>span:last-child { display:grid; gap:6px; text-align:left; }
.brand small { color:#a6c2b9; font:600 9px/1.2 'Segoe UI',sans-serif; letter-spacing:4.1px; }
.brand-emblem { display:grid; place-items:center; width:42px; height:42px; border:2px solid #e0bc73; border-radius:13px; background:#254d53; color:var(--gold); transform:rotate(-7deg); box-shadow:0 3px 0 #0b2731; }
.brand-emblem .game-icon { width:30px; height:30px; transform:rotate(7deg); }
.top-actions { gap:25px; }
.top-actions>.text-button { color:#d8e5d9; }
.top-actions .saved-games { color:#f3eedb; background:#31545b; border-color:#66817d; box-shadow:0 3px 0 #102d35; font-size:12px; gap:9px; }
.saved-games .game-icon { width:16px; height:16px; }
.primary,.secondary { border-radius:10px; transition:background .15s,transform .15s,box-shadow .15s; }
.primary { background:var(--gold); color:#473b25; border:1px solid #f9dd9b; box-shadow:0 4px 0 #a9783f,0 6px 13px #112d3820; font-size:14px; font-weight:700; }
.primary:hover:not(:disabled) { background:#f8d184; transform:translateY(-1px); }
.primary:active:not(:disabled) { transform:translateY(3px); box-shadow:0 1px 0 #a9783f; }
.secondary { background:#fffef6; color:var(--ink); border:1px solid #c7d4c7; box-shadow:0 3px 0 #c0cfc0; font-size:13px; }
.secondary:hover:not(:disabled) { background:#edf4e9; border-color:#83aca0; transform:translateY(-1px); }
.secondary:active:not(:disabled) { transform:translateY(2px); box-shadow:0 1px 0 #c0cfc0; }
button:focus-visible,a:focus-visible,summary:focus-visible { outline:3px solid #e5ae4d; outline-offset:4px; }
.primary.danger { background:#d68c73; border-color:#e5b49e; box-shadow:0 4px 0 #9b5c49; color:#3f251d; }
.footer { max-width:1132px; border:0; margin:0 auto; padding:25px 24px; color:#a8c2be; font-size:10px; }
.text-button { color:#426c69; }
.error { color:#aa3c32; }
