/* ============================================================
   FALCON FLIGHT — monochrome luxe
   ============================================================ */

:root{
  --ink:#0B0B0C;
  --slate:#16181A;
  --mid:#4A4D50;
  --ash:#9AA0A4;
  --ivory:#F4EFE4;
  --champ:#C9A96A;
  --champ-hi:#EFD9A6;

  --r-sm:10px;
  --r-md:16px;
  --r-lg:22px;

  --line:rgba(201,169,106,.22);
  --line-soft:rgba(244,239,228,.12);
}

*{box-sizing:border-box}

html,body{
  height:100%;
  margin:0;
  padding:0;
  overflow:hidden;
  background:var(--ink);
}

body{
  font-family:'Inter',system-ui,-apple-system,'Segoe UI',Roboto,sans-serif;
  color:var(--ivory);
  -webkit-font-smoothing:antialiased;
  text-rendering:optimizeLegibility;
  overscroll-behavior:none;
  -webkit-tap-highlight-color:transparent;
  -webkit-user-select:none;
  user-select:none;
}

button,input{
  font-family:inherit;
  color:inherit;
}

button{
  background:none;
  border:0;
  padding:0;
  cursor:pointer;
  touch-action:manipulation;
  -webkit-user-select:none;
  user-select:none;
}

button:focus-visible,
input:focus-visible{
  outline:2px solid var(--champ-hi);
  outline-offset:2px;
}

/* ---------------- root ---------------- */

.game-root{
  position:relative;
  display:flex;
  flex-direction:column;
  width:100%;
  height:100vh;
  height:100dvh;
  overflow:hidden;
  background:var(--ink);
}

/* ---------------- HUD ---------------- */

.hud{
  flex:0 0 auto;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:8px;
  padding:8px 12px;
  background:linear-gradient(180deg,#0B0B0C 0%,#0B0B0C 100%);
  border-bottom:1px solid rgba(201,169,106,.14);
  min-height:46px;
  padding:6px 12px;
  z-index:4;
}

.hud-left{
  display:flex;
  flex-direction:column;
  justify-content:center;
  min-width:0;
}

.hud-cap{
  font-size:9px;
  letter-spacing:.20em;
  text-transform:uppercase;
  color:rgba(244,239,228,.45);
  line-height:1;
  margin-bottom:3px;
}

.hud-score{
  font-family:'Cormorant Garamond',Georgia,serif;
  font-weight:700;
  font-size:22px;
  line-height:1;
  letter-spacing:.01em;
  color:var(--ivory);
  font-variant-numeric:tabular-nums;
}

.hud-right{
  display:flex;
  align-items:center;
  gap:6px;
  flex:0 0 auto;
}

.hud-chip{
  display:inline-flex;
  align-items:center;
  gap:5px;
  height:30px;
  padding:0 10px;
  border-radius:999px;
  border:1px solid var(--line-soft);
  background:rgba(244,239,228,.05);
  color:var(--ivory);
  font-size:12px;
  font-weight:600;
  font-variant-numeric:tabular-nums;
  white-space:nowrap;
}

.hud-chip .ico{
  width:13px;
  height:13px;
  fill:none;
  stroke:var(--champ);
  stroke-width:1.7;
  stroke-linecap:round;
  stroke-linejoin:round;
}

.hud-mult{
  color:var(--champ-hi);
  border-color:rgba(201,169,106,.45);
  background:rgba(201,169,106,.12);
  transition:transform .18s ease, background .18s ease, color .18s ease;
}

.hud-mult.hot{
  background:var(--champ);
  color:var(--ink);
  transform:scale(1.06);
}

.hud-pause{
  width:44px;
  height:44px;
  margin-right:-6px;
  display:flex;
  align-items:center;
  justify-content:center;
  border-radius:12px;
  color:rgba(244,239,228,.75);
  transition:background .15s ease, color .15s ease, opacity .15s ease;
}

.hud-pause svg{width:20px;height:20px;fill:currentColor}
.hud-pause:active{background:rgba(244,239,228,.10);color:var(--ivory)}
.hud-pause[disabled]{opacity:.28;pointer-events:none}

/* ---------------- stage ---------------- */

.stage{
  position:relative;
  flex:1 1 auto;
  min-height:0;
  overflow:hidden;
  background:#0B0B0C;
}

.stage canvas{
  display:block;
  position:absolute;
  inset:0;
  width:100% !important;
  height:100% !important;
  max-width:100% !important;
  max-height:100% !important;
  touch-action:none;
}

/* ---------------- dock ---------------- */

.dock{
  flex:0 0 auto;
  padding:6px 12px 8px;
  background:#0B0B0C;
  border-top:1px solid rgba(201,169,106,.14);
  z-index:4;
}

.dock-inner{
  max-width:760px;
  margin:0 auto;
  display:flex;
  gap:10px;
}

.flap-btn{
  flex:1 1 auto;
  min-height:52px;
  height:52px;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  border-radius:var(--r-md);
  background:linear-gradient(180deg,#EFD9A6 0%,#C9A96A 100%);
  color:#0B0B0C;
  font-weight:700;
  font-size:15px;
  letter-spacing:.14em;
  text-transform:uppercase;
  box-shadow:0 6px 18px rgba(201,169,106,.16);
  transition:transform .08s ease, filter .12s ease;
}

.flap-btn .flap-ico{
  width:22px;
  height:22px;
  fill:rgba(11,11,12,.85);
}

.flap-btn em{
  font-style:normal;
  font-size:10px;
  letter-spacing:.10em;
  font-weight:600;
  opacity:.62;
  text-transform:none;
}

.flap-btn:active{
  transform:scale(.985);
  filter:brightness(1.07);
}

.flap-btn[disabled]{
  opacity:.35;
  pointer-events:none;
  box-shadow:none;
}

/* ---------------- overlays ---------------- */

.overlay{
  position:absolute;
  inset:0;
  z-index:20;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:16px;
  overflow-y:auto;
  overscroll-behavior:contain;
  background:rgba(11,11,12,.72);
  -webkit-backdrop-filter:blur(14px) saturate(120%);
  backdrop-filter:blur(14px) saturate(120%);
  animation:overlayIn .22s ease-out both;
}

.overlay.hidden{display:none !important}

@keyframes overlayIn{
  from{opacity:0}
  to{opacity:1}
}

.panel{
  position:relative;
  width:100%;
  max-width:420px;
  margin:auto;
  padding:24px 22px;
  border-radius:var(--r-lg);
  background:linear-gradient(180deg,rgba(22,24,26,.96) 0%,rgba(11,11,12,.97) 100%);
  border:1px solid rgba(201,169,106,.30);
  box-shadow:0 24px 60px rgba(0,0,0,.65), inset 0 1px 0 rgba(244,239,228,.06);
  animation:panelIn .28s cubic-bezier(.2,.8,.3,1) both;
}

@keyframes panelIn{
  from{opacity:0;transform:translateY(14px) scale(.985)}
  to{opacity:1;transform:none}
}

.panel-wide{max-width:480px}
.panel-narrow{max-width:360px}

.panel-over{
  max-width:400px;
  padding-top:20px;
  margin-top:112px;
}

/* title panel */
.panel-title{text-align:center}

.brand-kicker{
  display:block;
  font-size:10px;
  letter-spacing:.30em;
  text-transform:uppercase;
  color:rgba(201,169,106,.85);
  margin-bottom:10px;
}

.wordmark{
  margin:0;
  font-family:'Cormorant Garamond',Georgia,serif;
  font-weight:600;
  font-size:clamp(38px,11vw,58px);
  line-height:.92;
  letter-spacing:.01em;
  color:var(--ivory);
}

.wordmark span{
  display:block;
  font-style:italic;
  font-weight:500;
  color:var(--champ);
  letter-spacing:.02em;
}

.best-line{
  display:flex;
  align-items:baseline;
  justify-content:center;
  gap:10px;
  margin:22px 0 20px;
  padding-top:16px;
  border-top:1px solid rgba(244,239,228,.10);
}

.best-line span{
  font-size:10px;
  letter-spacing:.20em;
  text-transform:uppercase;
  color:rgba(244,239,228,.45);
}

.best-line strong{
  font-family:'Cormorant Garamond',Georgia,serif;
  font-size:26px;
  font-weight:700;
  color:var(--champ-hi);
  font-variant-numeric:tabular-nums;
}

/* buttons */
.btn-stack{
  display:flex;
  flex-direction:column;
  gap:10px;
  margin-top:4px;
}

.btn-row{
  display:flex;
  gap:10px;
}

.btn-row .btn{flex:1 1 0;min-width:0}

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:50px;
  padding:0 20px;
  border-radius:999px;
  font-size:14px;
  font-weight:600;
  letter-spacing:.10em;
  text-transform:uppercase;
  transition:transform .09s ease, background .15s ease, border-color .15s ease, color .15s ease;
  white-space:nowrap;
}

.btn:active{transform:scale(.972)}

.btn-primary{
  background:linear-gradient(180deg,#EFD9A6 0%,#C9A96A 100%);
  color:#0B0B0C;
  box-shadow:0 8px 22px rgba(201,169,106,.20);
}
.btn-primary:active{filter:brightness(1.06)}

.btn-ghost{
  background:rgba(244,239,228,.04);
  color:var(--ivory);
  border:1px solid rgba(244,239,228,.20);
}

.btn-ghost:active{
  background:rgba(244,239,228,.10);
  border-color:rgba(201,169,106,.5);
}

.btn-full{width:100%;margin-top:18px}

.hint{
  margin:18px 0 0;
  font-size:11px;
  line-height:1.6;
  color:rgba(244,239,228,.42);
  letter-spacing:.02em;
}

/* panel head */
.panel-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  margin-bottom:16px;
}

.panel-head h2{
  margin:0;
  font-family:'Cormorant Garamond',Georgia,serif;
  font-size:28px;
  font-weight:600;
  letter-spacing:.01em;
  color:var(--ivory);
}

.icon-x{
  flex:0 0 auto;
  width:44px;
  height:44px;
  margin-right:-8px;
  display:flex;
  align-items:center;
  justify-content:center;
  border-radius:12px;
  color:rgba(244,239,228,.6);
  transition:background .15s ease, color .15s ease;
}

.icon-x svg{
  width:18px;height:18px;
  fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;
}

.icon-x:active{background:rgba(244,239,228,.10);color:var(--ivory)}

/* aviary */
.preview-wrap{
  position:relative;
  width:100%;
  aspect-ratio:2 / 1;
  border-radius:var(--r-md);
  overflow:hidden;
  border:1px solid rgba(201,169,106,.24);
  background:#16181A;
  margin-bottom:16px;
}

.preview-wrap canvas{
  display:block;
  width:100%;
  height:100%;
}

.field{
  display:block;
  margin-bottom:18px;
}

.field span{
  display:block;
  font-size:10px;
  letter-spacing:.20em;
  text-transform:uppercase;
  color:rgba(244,239,228,.45);
  margin-bottom:7px;
}

.field input{
  width:100%;
  min-height:48px;
  padding:0 14px;
  border-radius:12px;
  background:rgba(244,239,228,.04);
  border:1px solid rgba(244,239,228,.16);
  color:var(--ivory);
  font-size:16px;
  font-weight:500;
  letter-spacing:.01em;
  -webkit-user-select:text;
  user-select:text;
}

.field input::placeholder{color:rgba(244,239,228,.28)}

.section-label{
  font-size:10px;
  letter-spacing:.20em;
  text-transform:uppercase;
  color:rgba(244,239,228,.45);
  margin:0 0 8px;
}

.species-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:8px;
  margin-bottom:18px;
}

.species-card{
  display:flex;
  flex-direction:column;
  align-items:stretch;
  gap:0;
  padding:8px 6px 10px;
  border-radius:14px;
  border:1px solid rgba(244,239,228,.13);
  background:rgba(244,239,228,.03);
  transition:border-color .16s ease, background .16s ease, transform .1s ease;
  text-align:center;
  min-height:88px;
}

.species-card:active{transform:scale(.97)}

.species-card canvas{
  display:block;
  width:100%;
  height:44px;
  margin-bottom:4px;
}

.species-card b{
  display:block;
  font-size:11px;
  font-weight:600;
  letter-spacing:.04em;
  color:var(--ivory);
  line-height:1.2;
}

.species-card i{
  display:block;
  font-style:normal;
  font-size:9px;
  letter-spacing:.06em;
  color:rgba(244,239,228,.40);
  margin-top:2px;
  line-height:1.3;
}

.species-card.on{
  border-color:rgba(201,169,106,.75);
  background:rgba(201,169,106,.13);
}

.species-card.on b{color:var(--champ-hi)}

.swatch-row{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  margin-bottom:6px;
}

.swatch{
  width:44px;
  height:44px;
  border-radius:999px;
  border:2px solid rgba(244,239,228,.14);
  position:relative;
  transition:transform .12s ease, border-color .16s ease;
  box-shadow:inset 0 -6px 10px rgba(0,0,0,.22);
}

.swatch:active{transform:scale(.93)}

.swatch.on{
  border-color:var(--champ-hi);
  box-shadow:0 0 0 3px rgba(201,169,106,.22), inset 0 -6px 10px rgba(0,0,0,.22);
}

/* leaderboard */
.board-body{min-height:160px}

.board-list{
  display:flex;
  flex-direction:column;
  gap:2px;
  margin:0 0 6px;
  padding:0;
  list-style:none;
}

.board-row{
  display:flex;
  align-items:center;
  gap:12px;
  padding:11px 12px;
  border-radius:12px;
  background:rgba(244,239,228,.028);
  font-size:14px;
}

.board-row.me{
  background:rgba(201,169,106,.14);
  border:1px solid rgba(201,169,106,.35);
}

.board-rank{
  flex:0 0 28px;
  font-family:'Cormorant Garamond',Georgia,serif;
  font-size:17px;
  font-weight:700;
  color:rgba(201,169,106,.9);
  font-variant-numeric:tabular-nums;
}

.board-handle{
  flex:1 1 auto;
  min-width:0;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
  color:var(--ivory);
  font-weight:500;
}

.board-score{
  flex:0 0 auto;
  font-weight:700;
  font-variant-numeric:tabular-nums;
  color:var(--champ-hi);
}

.board-note{
  margin:14px 0 0;
  font-size:11px;
  line-height:1.6;
  color:rgba(244,239,228,.38);
}

.empty{
  text-align:center;
  padding:26px 8px 18px;
  color:rgba(244,239,228,.55);
  font-size:13px;
  line-height:1.65;
}

.empty .big{
  font-family:'Cormorant Garamond',Georgia,serif;
  font-size:22px;
  color:var(--ivory);
  display:block;
  margin-bottom:8px;
}

.empty .btn{margin-top:16px}

.muted{color:rgba(244,239,228,.42)}
.small{font-size:11px}

/* pause */
.panel-title-text{
  margin:6px 0 18px;
  font-family:'Cormorant Garamond',Georgia,serif;
  font-size:34px;
  font-weight:600;
  color:var(--ivory);
}

.pause-stats{
  display:flex;
  gap:10px;
  margin-bottom:20px;
}

.pause-stats div{
  flex:1 1 0;
  padding:12px;
  border-radius:12px;
  background:rgba(244,239,228,.04);
  border:1px solid rgba(244,239,228,.09);
  text-align:center;
}

.pause-stats span{
  display:block;
  font-size:9px;
  letter-spacing:.20em;
  text-transform:uppercase;
  color:rgba(244,239,228,.42);
  margin-bottom:5px;
}

.pause-stats strong{
  font-family:'Cormorant Garamond',Georgia,serif;
  font-size:24px;
  font-weight:700;
  color:var(--champ-hi);
  font-variant-numeric:tabular-nums;
}

/* game over */
.panel-over{text-align:center}

.over-badge{
  display:inline-block;
  font-size:9px;
  letter-spacing:.26em;
  text-transform:uppercase;
  color:rgba(201,169,106,.9);
  border:1px solid rgba(201,169,106,.35);
  border-radius:999px;
  padding:6px 14px;
  margin-bottom:14px;
}

.over-badge.new{
  background:var(--champ);
  color:#0B0B0C;
  border-color:var(--champ);
  font-weight:700;
}

.over-score{
  font-family:'Cormorant Garamond',Georgia,serif;
  font-size:clamp(52px,16vw,74px);
  font-weight:700;
  line-height:.9;
  color:var(--ivory);
  font-variant-numeric:tabular-nums;
  letter-spacing:.01em;
}

.over-unit{
  font-size:10px;
  letter-spacing:.28em;
  text-transform:uppercase;
  color:rgba(244,239,228,.42);
  margin-top:8px;
}

.over-stats{
  display:flex;
  gap:8px;
  margin:20px 0 4px;
  padding-top:18px;
  border-top:1px solid rgba(244,239,228,.10);
}

.over-stats div{
  flex:1 1 0;
  min-width:0;
}

.over-stats span{
  display:block;
  font-size:9px;
  letter-spacing:.14em;
  text-transform:uppercase;
  color:rgba(244,239,228,.42);
  margin-bottom:5px;
}

.over-stats strong{
  font-size:15px;
  font-weight:600;
  color:var(--ivory);
  font-variant-numeric:tabular-nums;
}

.over-note{
  margin:12px 0 0;
  font-size:11px;
  line-height:1.6;
  color:rgba(201,169,106,.85);
  min-height:0;
}

.over-note:empty{display:none}

.challenge-banner{
  margin:12px 0 0;
  padding:10px 14px;
  border-radius:12px;
  background:rgba(201,169,106,.14);
  border:1px solid rgba(201,169,106,.45);
  color:var(--champ-hi);
  font-size:13px;
  font-weight:600;
  line-height:1.45;
  letter-spacing:.03em;
}
.challenge-banner.hidden{display:none}
.btn[disabled]{opacity:.5;pointer-events:none}

/* ---------------- short screens ---------------- */

@media (max-height:520px){
  .panel{padding:18px 18px}
  .panel-over{margin-top:96px;padding-top:16px}
  .wordmark{font-size:clamp(30px,8vw,42px)}
  .best-line{margin:14px 0 14px;padding-top:12px}
  .hint{display:none}
  .preview-wrap{aspect-ratio:2.6 / 1}
  .over-score{font-size:clamp(40px,11vw,56px)}
  .over-stats{margin:14px 0 4px;padding-top:12px}
  .flap-btn{min-height:48px}
  .dock{padding:6px 12px 8px}
}

/* ---------- visual pass ---------- */
#screenTitle{
  background:
    linear-gradient(180deg,
      rgba(244,239,228,.62) 0%,
      rgba(200,198,190,.46) 26%,
      rgba(154,160,164,.34) 52%,
      rgba(154,160,164,.18) 66%,
      rgba(239,217,166,.55) 71.6%,
      rgba(201,169,106,.30) 72%,
      rgba(11,11,12,.86) 72.6%,
      #0B0B0C 100%);
  -webkit-backdrop-filter:blur(1.5px);
  backdrop-filter:blur(1.5px);
}

#bird3d{
  filter:drop-shadow(0 0 22px rgba(239,217,166,.50)) drop-shadow(0 6px 10px rgba(11,11,12,.45));
}

.panel-title{
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .5 0'/%3E%3C/filter%3E%3Crect width='120' height='120' filter='url(%23n)' opacity='.07'/%3E%3C/svg%3E"),
    linear-gradient(180deg,rgba(30,33,36,.90) 0%,rgba(11,11,12,.93) 100%) padding-box,
    linear-gradient(160deg,rgba(239,217,166,.65),rgba(201,169,106,.12) 45%,rgba(239,217,166,.35)) border-box;
  border:1px solid transparent;
  -webkit-backdrop-filter:blur(22px) saturate(130%);
  backdrop-filter:blur(22px) saturate(130%);
  box-shadow:0 30px 80px rgba(0,0,0,.55), 0 8px 24px rgba(0,0,0,.35), inset 0 1px 0 rgba(239,217,166,.18);
}

.brand-kicker{color:#D9BE85}
.panel-title .wordmark{line-height:.84}
.panel-title .wordmark span{line-height:.9}

.best-line span{color:var(--ash);font-size:11px}
.best-line strong{
  font-size:24px;
  letter-spacing:.04em;
  color:var(--champ-hi);
  font-variant-numeric:tabular-nums lining-nums;
  text-shadow:0 0 14px rgba(239,217,166,.30);
}

@media (min-height:521px){
  .best-line{margin-top:30px;padding-top:22px}
}

.btn-primary{
  box-shadow:0 8px 22px rgba(201,169,106,.24), inset 0 1px 0 rgba(255,255,255,.55), inset 0 -2px 0 rgba(120,92,40,.25);
}
#btnPlay{animation:breathe 3.2s ease-in-out infinite}

@keyframes breathe{
  0%,100%{box-shadow:0 8px 22px rgba(201,169,106,.22), 0 0 0 0 rgba(239,217,166,.0), inset 0 1px 0 rgba(255,255,255,.55), inset 0 -2px 0 rgba(120,92,40,.25)}
  50%{box-shadow:0 10px 30px rgba(201,169,106,.42), 0 0 26px 2px rgba(239,217,166,.28), inset 0 1px 0 rgba(255,255,255,.65), inset 0 -2px 0 rgba(120,92,40,.25)}
}

.btn-ghost{
  background:#1E2124;
  border:1px solid rgba(201,169,106,.35);
  box-shadow:inset 0 1px 0 rgba(244,239,228,.07);
}
@media (hover:hover){
  .btn-ghost:hover{
    border-color:rgba(239,217,166,.65);
    box-shadow:0 0 18px rgba(201,169,106,.25), inset 0 1px 0 rgba(244,239,228,.10);
  }
}
.btn-ghost:active{
  background:#262A2E;
  border-color:rgba(239,217,166,.8);
  box-shadow:0 0 18px rgba(201,169,106,.30);
  transform:translateY(1px) scale(.98);
}
.btn-primary:active{transform:translateY(1px) scale(.98)}

.hint{
  font-size:12.5px;
  color:var(--ash);
  letter-spacing:.06em;
}

@media (prefers-reduced-motion: reduce){
  #btnPlay{animation:none}
}

/* ---------- art director pass ---------- */
.hud{background:linear-gradient(180deg,rgba(11,11,12,.8) 0%,rgba(11,11,12,0) 100%);border-bottom:0}
.hud-cap{color:#EFD9A6;opacity:.9;text-shadow:0 1px 6px rgba(0,0,0,.8)}
.hud-score{color:#EFD9A6;text-shadow:0 1px 8px rgba(0,0,0,.85),0 0 14px rgba(201,169,106,.35)}
.hud-chip{background:rgba(11,11,12,.55);border:1px solid #C9A96A;color:#EFD9A6;text-shadow:0 1px 4px rgba(0,0,0,.7)}
.hud-mult.hot{background:#C9A96A;color:#0B0B0C;text-shadow:none}
.hud-pause{color:#EFD9A6;background:rgba(11,11,12,.55);border:1px solid rgba(201,169,106,.6)}

#screenTitle{
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)' opacity='.04'/%3E%3C/svg%3E"),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1000 200' preserveAspectRatio='none'%3E%3Cpath d='M0 200V120L70 70 150 100 250 40 330 90 430 60 520 110 620 50 720 95 820 45 900 85 1000 55V200Z' fill='rgba(40,43,46,.55)' stroke='rgba(201,169,106,.45)' stroke-width='2' vector-effect='non-scaling-stroke'/%3E%3Cpath d='M0 200V160L90 120 200 150 310 100 440 145 560 105 690 150 800 115 920 150 1000 125V200Z' fill='rgba(22,24,26,.85)' stroke='rgba(239,217,166,.3)' stroke-width='1.5' vector-effect='non-scaling-stroke'/%3E%3C/svg%3E") bottom/100% 27% no-repeat,
    linear-gradient(180deg,
      rgba(244,239,228,.62) 0%,
      rgba(200,198,190,.46) 26%,
      rgba(154,160,164,.34) 52%,
      rgba(154,160,164,.18) 62%,
      rgba(239,217,166,.50) 70%,
      rgba(201,169,106,.30) 72%,
      rgba(11,11,12,.80) 72.6%,
      #0B0B0C 100%);
  -webkit-backdrop-filter:blur(1px);
  backdrop-filter:blur(1px);
}

.panel-title{
  -webkit-backdrop-filter:blur(12px) saturate(130%);
  backdrop-filter:blur(12px) saturate(130%);
  box-shadow:0 30px 80px rgba(0,0,0,.5),0 10px 28px rgba(0,0,0,.35),0 0 120px rgba(201,169,106,.20),inset 0 1px 0 rgba(239,217,166,.25);
}
.panel-title .brand-kicker{letter-spacing:.4em;color:#E3C98F}
.panel-title .brand-kicker::before,.panel-title .brand-kicker::after{
  content:"";display:inline-block;vertical-align:middle;width:22px;height:1px;
  background:linear-gradient(90deg,transparent,#C9A96A);margin:0 10px 0 0;
}
.panel-title .brand-kicker::after{background:linear-gradient(270deg,transparent,#C9A96A);margin:0 0 0 6px}
.panel-title .wordmark{font-size:clamp(44px,12.6vw,67px);line-height:.8}
.panel-title .wordmark span{
  background:linear-gradient(180deg,#F6E4B4 0%,#C9A96A 100%);
  -webkit-background-clip:text;background-clip:text;
  -webkit-text-fill-color:transparent;color:transparent;
  filter:drop-shadow(0 0 14px rgba(239,217,166,.35));
}

.panel-title .best-line{
  padding:8px 20px;border:1px solid rgba(201,169,106,.3);border-radius:999px;
  background:rgba(0,0,0,.38);box-shadow:inset 0 2px 8px rgba(0,0,0,.5);
  align-items:center;
}
.panel-title .best-line strong{font-size:32px;line-height:1;color:#EFD9A6}
.panel-title .hint{color:#B8B4A8}

.btn-ghost{background:#1c2024;border:1px solid rgba(201,169,106,.4)}
.btn-ghost:active{border-color:#C9A96A;transform:scale(.98)}
.btn-primary:active{box-shadow:0 2px 6px rgba(120,92,40,.45),inset 0 2px 6px rgba(120,92,40,.35);transform:scale(.98)}

/* ---------- art director v2 ---------- */
.hud{background:rgba(20,18,16,.55);border-bottom:1px solid rgba(214,178,106,.55)}
.hud-cap,.hud-score,.hud-chip,.hud-chip b{color:#f3e9d2;opacity:1;font-variant-numeric:tabular-nums}
.hud-cap{font-size:11px}
.hud-score{font-size:24px}
.hud-chip{font-size:15px;border-color:rgba(214,178,106,.7)}
.hud-chip .ico{stroke:#f3e9d2}
.hud-pause{color:#f3e9d2}
.panel-title{
  background:linear-gradient(180deg,#2d2c2a 0%,#1b1b1a 100%) padding-box,linear-gradient(160deg,rgba(239,217,166,.65),rgba(201,169,106,.12) 45%,rgba(239,217,166,.35)) border-box;
  -webkit-backdrop-filter:blur(20px) saturate(130%);
  backdrop-filter:blur(20px) saturate(130%);
  box-shadow:0 30px 80px rgba(0,0,0,.45),inset 0 1px 0 rgba(255,235,190,.25);
}
.btn-ghost{background:#23262b;border:1px solid rgba(214,178,106,.45);color:#f3e9d2}
.btn-ghost::before{color:#E2BE78;margin-right:8px;font-size:15px;letter-spacing:0}
#btnAviary::before{content:"✒"}
#btnBoard::before{content:"♛"}
#btnSkies::before{content:"⚙"}
@media (hover:hover){.btn-ghost:hover{background:#2c2a26;border-color:rgba(226,190,120,.8)}}
.btn-ghost:active{background:#34302a;border-color:#E2BE78}
.btn-primary{
  color:#3a2a10;letter-spacing:.2em;
  background:linear-gradient(180deg,rgba(255,255,255,.35) 0%,rgba(255,255,255,0) 48%),linear-gradient(180deg,#F3DDA8 0%,#C9A96A 100%);
  box-shadow:0 0 28px rgba(226,190,120,.45),0 8px 22px rgba(201,169,106,.24),inset 0 1px 0 rgba(255,255,255,.6);
}
.btn-primary:active{
  background:linear-gradient(180deg,#C9A96A 0%,#A98A4E 100%);
  box-shadow:0 1px 4px rgba(120,92,40,.4),inset 0 2px 6px rgba(80,58,24,.4);
}
.panel-title .brand-kicker{font-size:12px;color:#F0D79A}
.panel-title .wordmark{text-shadow:0 0 30px rgba(226,190,120,.35)}
.panel-title .wordmark{color:#fffaf0}
.panel-title .brand::after{
  content:"———— ◆ ————";display:block;margin-top:16px;text-align:center;
  font-size:10px;letter-spacing:.2em;color:#C9A96A;opacity:.85;
}
#screenTitle{
  background:
    linear-gradient(180deg,rgba(230,160,90,0) 55%,rgba(230,160,90,.35) 71%,rgba(230,160,90,0) 72%),
    linear-gradient(180deg,rgba(45,36,30,0) 70%,rgba(52,40,32,.55) 100%),
    linear-gradient(180deg,rgba(244,239,228,.55) 0%,rgba(200,198,190,.4) 30%,rgba(154,160,164,.2) 62%,rgba(239,217,166,.45) 70%,rgba(11,11,12,.80) 72.6%,#0B0B0C 100%);
}
@media (prefers-reduced-motion: reduce){
  .overlay,.panel{animation:none}
  .flap-btn,.btn,.swatch,.species-card{transition:none}
}