/* PIXEL FRONT — visual retrô em moldura de madeira/pedra, totalmente fluido */
:root {
  --ink: #1b1424;
  --panel: #3a2b3c;
  --panel2: #2c2030;
  --hi: #6b5268;
  --parch: #f0dfb4;
  --parch2: #d9c08a;
  --gold: #ffd84a;
  --green: #5ee05a;
  --red: #ff4f6a;
  --cyan: #7ff3ff;
  --blue: #3fa7ff;
  --fs: clamp(12px, 0.55vw + 8px, 16px);
  --gap: clamp(4px, 0.6vw, 8px);
  --side: clamp(210px, 19vw, 300px);
  font-size: var(--fs);
}
* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; background: #120e18; color: var(--parch); overflow: hidden; }
body {
  font-family: 'Pixelify Sans', 'Courier New', monospace;
  -webkit-user-select: none; user-select: none; -webkit-tap-highlight-color: transparent;
  overscroll-behavior: none;
}
button { font: inherit; color: inherit; }
button:focus-visible, summary:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
img { image-rendering: pixelated; }

/* ---------- layout ---------- */
#app {
  display: grid; height: 100vh; height: 100dvh; width: 100%;
  grid-template-columns: minmax(0, 1fr) var(--side);
  grid-template-rows: auto minmax(0, 1fr);
  grid-template-areas: "top top" "stage side";
}
/* não deixa a barra do app/entalhe do celular cobrir o jogo */
#app { padding: env(safe-area-inset-top, 0px) env(safe-area-inset-right, 0px) env(safe-area-inset-bottom, 0px) env(safe-area-inset-left, 0px); }
#top {
  grid-area: top; display: flex; flex-wrap: wrap; align-items: center; gap: var(--gap) clamp(6px, 1vw, 16px);
  padding: clamp(3px, 0.6vh, 7px) clamp(6px, 1vw, 12px);
  background: linear-gradient(#4a3749, var(--panel));
  border-bottom: 3px solid var(--ink); box-shadow: inset 0 -2px 0 var(--hi);
  min-width: 0; z-index: 3;
}
.brand { font-weight: 700; letter-spacing: 1px; font-size: 1.1em; color: var(--parch); text-shadow: 2px 2px 0 var(--ink); white-space: nowrap; }
.brand b { color: var(--gold); margin-left: 2px; }
.stat {
  display: flex; align-items: center; gap: 5px; padding: 2px 8px; min-height: 28px;
  background: var(--panel2); box-shadow: 0 0 0 2px var(--ink), inset 0 0 0 1px var(--hi); white-space: nowrap;
}
.stat img { width: clamp(14px, 1.3em, 20px); height: auto; }
.stat span { font-weight: 600; font-variant-numeric: tabular-nums; }
.money span { color: var(--gold); min-width: 3.5ch; }
.stat i { display: block; width: clamp(28px, 4vw, 60px); height: 6px; background: #1b1424; box-shadow: 0 0 0 1px #000; }
.stat i u { display: block; height: 100%; width: 0; background: var(--green); transition: width .3s; }
.power.low { animation: blink 0.8s steps(2) infinite; }
.power.low i u { background: var(--red); }
#xpbar u { background: var(--cyan); }
.pts { color: var(--gold); }
.tbtns { margin-left: auto; display: flex; gap: 6px; }
.ib {
  min-width: 40px; min-height: 32px; padding: 0 8px; cursor: pointer; font-weight: 700; font-size: .85em;
  background: var(--parch2); color: var(--ink); border: 0; box-shadow: 0 0 0 2px var(--ink), inset 0 -3px 0 #b69a62;
}
.ib:active { transform: translateY(1px); }
.ib.off { background: #8a7a62; text-decoration: line-through; }
.ib.on { background: var(--green); }
.ib svg { display: block; margin: auto; }
.ib[hidden] { display: none; }
.prow { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.prow button, #pFull { min-height: 44px; border: 0; cursor: pointer; font-weight: 600; background: var(--parch2); color: var(--ink); box-shadow: 0 0 0 2px var(--ink), inset 0 -3px 0 #b69a62; }
.prow button[aria-pressed=false] { background: #8a7a62; }
#pFull[hidden] { display: none; }

#stage { grid-area: stage; position: relative; overflow: hidden; min-width: 0; min-height: 0; background: #120e18; box-shadow: inset 0 0 0 3px var(--ink); }
#game { position: absolute; left: 0; top: 0; image-rendering: pixelated; image-rendering: crisp-edges; touch-action: none; display: block; }

#side {
  grid-area: side; min-height: 0; min-width: 0;
  display: grid; grid-template-rows: auto auto auto minmax(0, 1fr); gap: var(--gap);
  padding: var(--gap); background: var(--panel);
  border-left: 3px solid var(--ink); box-shadow: inset 2px 0 0 var(--hi);
}
#mmwrap { background: var(--ink); padding: 3px; box-shadow: 0 0 0 2px #5a4357; display: flex; justify-content: center; min-height: 0; }
#minimap { width: 100%; height: auto; max-height: 26vh; aspect-ratio: 4 / 3; object-fit: contain; image-rendering: pixelated; display: block; cursor: pointer; touch-action: none; }
#selbox { min-height: 0; display: grid; gap: 4px; }
#sel { background: var(--parch); color: var(--ink); padding: 6px; box-shadow: 0 0 0 2px var(--ink), inset 0 0 0 2px #fff6d8; min-height: 3.6em; max-height: 22vh; overflow: auto; }
#sel .hint { margin: 0; font-size: .85em; line-height: 1.25; }
#sel .one { display: flex; gap: 8px; align-items: center; }
#sel .por { flex: 0 0 auto; width: clamp(36px, 3.4vw, 48px); aspect-ratio: 1; display: grid; place-items: center; background: #d9c08a; box-shadow: 0 0 0 2px var(--ink); }
#sel .por img { max-width: 90%; max-height: 90%; width: 90%; height: auto; }
#sel .inf { min-width: 0; flex: 1; font-size: .9em; line-height: 1.2; }
#sel .inf b { overflow-wrap: anywhere; }
.tag { font-size: .75em; padding: 0 4px; color: #fff; }
.tag.e { background: var(--red); } .tag.n { background: #8b826f; }
.vet { display: block; color: #b07a00; font-size: .85em; }
#sel .hp { height: 7px; background: #3a2a3e; margin: 3px 0; box-shadow: 0 0 0 1px var(--ink); }
#sel .hp i { display: block; height: 100%; background: var(--green); }
#sel .hp i.mid { background: var(--gold); } #sel .hp i.low { background: var(--red); }
#sel .st { font-size: .8em; color: #5a4357; }
.queue { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 6px; }
.qi { position: relative; width: 30px; height: 30px; padding: 2px; border: 0; background: #d9c08a; box-shadow: 0 0 0 2px var(--ink); cursor: pointer; overflow: hidden; }
.qi img { width: 100%; height: 100%; object-fit: contain; }
.qi i { position: absolute; left: 0; bottom: 0; height: 3px; width: calc(var(--p) * 100%); background: var(--green); }
.many { display: flex; flex-wrap: wrap; gap: 5px; }
.grp { position: relative; width: 40px; height: 36px; border: 0; background: #d9c08a; box-shadow: 0 0 0 2px var(--ink); cursor: pointer; padding: 2px; }
.grp img { max-width: 100%; max-height: 100%; }
.grp span { position: absolute; right: -4px; bottom: -4px; background: var(--ink); color: var(--gold); font-size: .75em; padding: 0 3px; }
#cmds { display: grid; grid-template-columns: repeat(auto-fit, minmax(62px, 1fr)); gap: 4px; }
#cmds button {
  min-height: 34px; padding: 2px 4px; border: 0; cursor: pointer; font-size: .82em; font-weight: 600;
  background: #5a4357; color: var(--parch); box-shadow: 0 0 0 2px var(--ink), inset 0 -3px 0 #3a2b3c, inset 0 2px 0 #7d6379;
}
#cmds button:disabled { opacity: .4; cursor: default; }
#cmds button.on { background: var(--green); color: var(--ink); }
#cmds button.desk { display: none; }
#tabs { display: flex; align-items: center; gap: 6px; min-width: 0; }
#cardTitle {
  flex: 1 1 auto; min-width: 0; font-weight: 700; color: var(--gold); text-shadow: 0 2px 0 var(--ink);
  font-size: .95em; line-height: 1.1; overflow-wrap: anywhere;
}
#tabs button {
  flex: 0 0 auto; min-height: 34px; border: 0; cursor: pointer; font-weight: 700; font-size: .85em; padding: 2px 10px;
  background: var(--panel2); color: #c9b48a; box-shadow: 0 0 0 2px var(--ink); position: relative;
}
#tabs button.on { background: var(--parch2); color: var(--ink); box-shadow: 0 0 0 2px var(--ink), inset 0 -3px 0 #b69a62; }
#items .hint {
  grid-column: 1 / -1; margin: 2px; padding: 8px 10px; background: var(--parch); color: var(--ink); font-size: .9em; line-height: 1.35;
  box-shadow: 0 0 0 2px var(--ink), inset 0 -3px 0 #c9b07a;
}
#items .hint b { color: #8a3b14; }
#tabs button.alert::after { content: ''; position: absolute; top: 3px; right: 3px; width: 7px; height: 7px; background: var(--gold); box-shadow: 0 0 0 1px var(--ink); animation: blink 0.8s steps(2) infinite; }
#items {
  min-height: 0; overflow-y: auto; overflow-x: hidden; display: grid; align-content: start; grid-auto-rows: max-content;
  grid-template-columns: repeat(auto-fill, minmax(clamp(68px, 5.6vw, 92px), 1fr)); gap: 6px; padding: 3px;
  scrollbar-width: thin; scrollbar-color: #6b5268 var(--panel2);
}
.it {
  position: relative; display: grid; grid-template-rows: auto auto auto; justify-items: center; gap: 1px;
  padding: 5px 3px 4px; border: 0; cursor: pointer; overflow: hidden; min-height: 44px;
  background: var(--parch); color: var(--ink); box-shadow: 0 0 0 2px var(--ink), inset 0 -3px 0 #c9b07a, inset 0 2px 0 #fff6d8;
}
.it:hover { filter: brightness(1.07); }
.it:active { transform: translateY(1px); }
.it .ic { width: 100%; aspect-ratio: 4 / 3; display: grid; place-items: center; }
.it .ic img { max-width: 80%; max-height: 100%; width: auto; height: auto; min-width: 50%; object-fit: contain; }
.it .nm { font-size: .75em; font-weight: 600; line-height: 1.05; text-align: center; overflow-wrap: break-word; hyphens: auto; -webkit-hyphens: auto; max-width: 100%; }
.it .co { font-size: .72em; font-weight: 700; color: #3a7a2a; }
.it .badge:not(:empty) { position: absolute; top: 2px; right: 2px; background: var(--ink); color: var(--gold); font-size: .75em; padding: 0 4px; }
.it .pg { position: absolute; inset: 0; background: rgba(27, 20, 36, .45); transform-origin: right; transform: scaleX(calc(1 - var(--p, 0))); pointer-events: none; opacity: 0; }
.it.prog .pg { opacity: 1; }
.it .cdt { position: absolute; top: 30%; left: 0; right: 0; text-align: center; font-weight: 700; color: #fff; text-shadow: 1px 1px 0 var(--ink), -1px -1px 0 var(--ink); pointer-events: none; }
.it .lk { position: absolute; top: 4px; left: 4px; width: 12px; display: none; }
.it.locked { filter: grayscale(1) brightness(.7); }
.it.locked .lk { display: block; }
.it.poor .co { color: var(--red); }
.it.active { box-shadow: 0 0 0 2px var(--gold), 0 0 0 4px var(--ink); }
.it.ready { animation: glow 1s steps(2) infinite; }
.it.ready .co { color: #b07a00; }

/* ---------- palco: missões, anúncios, feed ---------- */
.quests {
  position: absolute; left: 8px; top: 8px; max-width: min(70%, 420px); z-index: 2; cursor: pointer; text-align: left;
  border: 0; padding: 5px 9px; font-size: .85em; font-weight: 600;
  background: rgba(240, 223, 180, .93); color: var(--ink); box-shadow: 0 0 0 2px var(--ink), 3px 3px 0 rgba(0, 0, 0, .35);
}
.quests::before { content: '!'; display: inline-block; width: 1.3em; text-align: center; margin-right: 5px; background: var(--gold); box-shadow: 0 0 0 2px var(--ink); }
.quests.min span { display: inline-block; max-width: 0; overflow: hidden; vertical-align: bottom; }
#announce { position: absolute; left: 0; right: 0; top: 18%; display: grid; justify-items: center; gap: 6px; pointer-events: none; z-index: 2; padding: 0 8px; }
.ann {
  font-weight: 700; font-size: clamp(18px, 3.4vw, 44px); letter-spacing: 2px; text-align: center;
  color: var(--gold); text-shadow: 3px 3px 0 var(--ink), -2px -2px 0 var(--ink), 2px -2px 0 var(--ink), -2px 2px 0 var(--ink);
  animation: pop 2.3s ease-out forwards;
}
.ann.red { color: var(--red); } .ann.green { color: var(--green); }
.ann.rainbow { background: linear-gradient(90deg, #ff4f6a, #ffd84a, #5ee05a, #3fa7ff, #c88bff); -webkit-background-clip: text; background-clip: text; color: transparent; text-shadow: none; filter: drop-shadow(3px 3px 0 var(--ink)); }
#feed { position: absolute; left: 8px; bottom: 8px; display: grid; gap: 4px; max-width: min(85%, 460px); pointer-events: none; z-index: 2; }
#feed p {
  margin: 0; padding: 3px 8px; font-size: .85em; background: rgba(27, 20, 36, .82); color: var(--parch);
  box-shadow: 0 0 0 1px #000; transition: opacity .6s;
}
#feed p.ok { color: var(--green); } #feed p.bad { color: #ff8f9f; } #feed p.gold { color: var(--gold); }
#feed p.out { opacity: 0; }
#tip {
  position: fixed; z-index: 30; max-width: min(280px, 80vw); padding: 8px 10px; pointer-events: none;
  background: var(--parch); color: var(--ink); box-shadow: 0 0 0 2px var(--ink), 4px 4px 0 rgba(0, 0, 0, .4); font-size: .85em;
}
#tip b { display: block; font-size: 1.1em; }
#tip .c { display: block; color: #6b5268; }
#tip p { margin: 4px 0 0; line-height: 1.25; }
#tip .r { color: #c0203e; font-weight: 600; } #tip .h { color: #8b826f; font-size: .9em; }

/* ---------- overlays ---------- */
.overlay {
  position: fixed; inset: 0; z-index: 20; display: grid; place-items: center; overflow: auto;
  padding: calc(clamp(8px, 3vh, 32px) + env(safe-area-inset-top, 0px)) calc(clamp(8px, 3vw, 32px) + env(safe-area-inset-right, 0px))
    calc(clamp(8px, 3vh, 32px) + env(safe-area-inset-bottom, 0px)) calc(clamp(8px, 3vw, 32px) + env(safe-area-inset-left, 0px));
  background: radial-gradient(ellipse at center, rgba(18, 14, 24, .35), rgba(18, 14, 24, .82));
}
.overlay[hidden] { display: none; }
.panel {
  width: min(980px, 100%); padding: clamp(12px, 2.5vw, 28px);
  background: var(--panel); color: var(--parch);
  box-shadow: 0 0 0 3px var(--ink), inset 0 0 0 3px var(--hi), 0 0 0 7px #5a4357, 0 0 0 10px var(--ink), 10px 14px 0 10px rgba(0, 0, 0, .35);
  margin: 10px;
}
.panel.small { width: min(460px, 100%); display: grid; gap: 10px; text-align: center; }
.logo { margin: 0; text-align: center; font-size: clamp(34px, 7vw, 76px); line-height: 1; letter-spacing: 3px; color: var(--parch); text-shadow: 4px 4px 0 var(--ink), 0 -3px 0 #fff6d8; }
.logo span { color: var(--gold); margin-left: .15em; }
.sub { text-align: center; margin: 6px 0 12px; color: var(--parch2); }
.panel h2 { margin: 14px 0 8px; font-size: 1.15em; color: var(--gold); text-shadow: 2px 2px 0 var(--ink); }
.gens { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); gap: 12px; }
.gen {
  display: flex; gap: 10px; align-items: flex-start; text-align: left; padding: 10px; border: 0; cursor: pointer; min-height: 44px;
  background: var(--parch); color: var(--ink); box-shadow: 0 0 0 2px var(--ink), inset 0 -4px 0 #c9b07a;
}
.gen img { width: clamp(48px, 6vw, 72px); height: auto; flex: 0 0 auto; background: #d9c08a; box-shadow: 0 0 0 2px var(--ink); }
.gen b { display: block; font-size: 1.1em; }
.gen i { display: block; font-style: normal; color: #6b5268; font-size: .85em; }
.gen ul { margin: 5px 0 0; padding-left: 1.1em; font-size: .8em; line-height: 1.25; }
.gen.on { background: #fff4c4; box-shadow: 0 0 0 3px var(--gold), 0 0 0 5px var(--ink), inset 0 -4px 0 #e0b64a; transform: translateY(-2px); }
.diffs { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 160px), 1fr)); gap: 10px; }
.diff { padding: 8px; border: 0; cursor: pointer; text-align: left; min-height: 44px; background: var(--panel2); color: var(--parch); box-shadow: 0 0 0 2px var(--ink), inset 0 0 0 1px var(--hi); }
.diff b { display: block; } .diff i { font-style: normal; font-size: .8em; color: var(--parch2); }
.diff.on { background: var(--parch2); color: var(--ink); } .diff.on i { color: #5a4357; }
.big {
  display: block; width: 100%; margin-top: 16px; min-height: 52px; border: 0; cursor: pointer;
  font-size: clamp(20px, 2.4vw, 28px); font-weight: 700; letter-spacing: 2px;
  background: var(--green); color: var(--ink); box-shadow: 0 0 0 3px var(--ink), inset 0 -5px 0 #33a83a, inset 0 3px 0 #b6ffb0;
  animation: bounce 1.4s ease-in-out infinite;
}
.big:active { transform: translateY(2px); }
.panel.small > button:not(.big) { min-height: 44px; border: 0; cursor: pointer; font-weight: 600; background: var(--parch2); color: var(--ink); box-shadow: 0 0 0 2px var(--ink), inset 0 -3px 0 #b69a62; }
.help { margin-top: 14px; background: var(--panel2); padding: 8px 12px; box-shadow: 0 0 0 2px var(--ink); }
.help summary { cursor: pointer; font-weight: 700; color: var(--gold); min-height: 28px; }
.help ul { margin: 6px 0 0; padding-left: 1.2em; line-height: 1.35; font-size: .9em; }
.help li { margin-bottom: 4px; }
.ptitle { font-size: 2em !important; margin: 0 !important; }
#endTitle { font-size: clamp(32px, 6vw, 56px); margin: 0; }
#endTitle.win { color: var(--gold); } #endTitle.lose { color: var(--red); }
#endSub { margin: 0; }
.stats { display: grid; gap: 4px; text-align: left; background: var(--panel2); padding: 8px 12px; box-shadow: 0 0 0 2px var(--ink); }
.stats div { display: flex; justify-content: space-between; gap: 10px; }
.stats b { color: var(--gold); }
body.attract #app { filter: saturate(1.05); }

/* ---------- animações ---------- */
@keyframes blink { 50% { opacity: .55; } }
@keyframes glow { 50% { box-shadow: 0 0 0 2px var(--gold), 0 0 0 4px var(--ink); } }
@keyframes pop {
  0% { transform: scale(.3); opacity: 0; } 12% { transform: scale(1.18); opacity: 1; } 22% { transform: scale(1); }
  80% { opacity: 1; transform: translateY(0); } 100% { opacity: 0; transform: translateY(-14px); }
}
@keyframes bounce { 50% { transform: translateY(-3px); } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition: none !important; }
  .ann { animation: none; }
}

/* ---------- celular em pé / telas estreitas: barra de comando embaixo ---------- */
@media (orientation: portrait) and (max-width: 1100px), (max-width: 760px) and (min-height: 501px) {
  :root { --fs: clamp(12px, 3.3vw, 15px); }
  #app {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto minmax(0, 1fr) auto;
    grid-template-areas: "top" "stage" "side";
  }
  #top { flex-wrap: nowrap; gap: 5px; padding: 4px 6px; }
  .brand, .rl { display: none; }
  .stat { padding: 1px 5px; min-height: 32px; gap: 3px; }
  .stat i { width: clamp(12px, 4vw, 30px); }
  .tbtns { gap: 5px; }
  #bSound, #bMusic { display: none; } /* ficam no menu de pausa (botão II) */
  .ib { min-width: 42px; min-height: 42px; padding: 0 6px; }
  #side {
    border-left: 0; border-top: 3px solid var(--ink); box-shadow: inset 0 2px 0 var(--hi);
    grid-template-columns: clamp(84px, 27vw, 170px) minmax(0, 1fr);
    grid-template-rows: auto auto auto auto;
    grid-template-areas: "mm sel" "cmds cmds" "tabs tabs" "items items";
    gap: 6px; padding: 6px;
  }
  #mmwrap { grid-area: mm; align-items: center; }
  #minimap { max-height: clamp(64px, 11dvh, 120px); }
  #selbox { display: contents; }
  #sel { grid-area: sel; min-height: 0; max-height: clamp(64px, 11dvh, 120px); overflow: auto; padding: 5px; }
  #sel .por { width: 36px; }
  #cmds { grid-area: cmds; grid-template-columns: repeat(auto-fit, minmax(48px, 1fr)); gap: 5px; }
  #cmds button { min-height: 44px; font-size: 11px; padding: 0 2px; }
  #tabs { grid-area: tabs; }
  #tabs button { min-height: 40px; }
  /* cartas de produção numa fileira que arrasta para o lado */
  #items {
    grid-area: items; display: flex; gap: 6px; overflow-x: auto; overflow-y: hidden; padding: 3px 3px 6px;
    overscroll-behavior-x: contain; scroll-snap-type: x proximity; min-height: 0;
  }
  .it { flex: 0 0 clamp(78px, 23vw, 108px); scroll-snap-align: start; }
  #items .hint { flex: 1 0 100%; margin: 2px; }
  .quests { font-size: .78em; max-width: calc(100% - 16px); min-height: 32px; }
  #feed { max-width: calc(100% - 16px); }
}
/* ---------- celular deitado ---------- */
@media (max-height: 500px) and (orientation: landscape) {
  :root { --side: clamp(220px, 33vw, 300px); --fs: 12px; }
  #top { flex-wrap: nowrap; padding: 2px 6px; gap: 6px; }
  .stat { min-height: 28px; }
  .ib { min-height: 34px; min-width: 40px; }
  #side {
    grid-template-columns: minmax(0, 42%) minmax(0, 1fr);
    grid-template-rows: auto auto auto minmax(0, 1fr);
    grid-template-areas: "mm sel" "cmds cmds" "tabs tabs" "items items";
    padding: 4px; gap: 5px;
  }
  #mmwrap { grid-area: mm; align-items: center; }
  #minimap { max-height: 22dvh; }
  #selbox { display: contents; }
  #sel { grid-area: sel; min-height: 0; max-height: 22dvh; overflow: auto; padding: 4px; }
  #sel .por { width: 28px; }
  #sel .inf { font-size: .85em; }
  #cmds { grid-area: cmds; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4px; }
  #cmds button { min-height: 36px; font-size: 11px; padding: 0 2px; }
  #tabs { grid-area: tabs; }
  #tabs button { min-height: 36px; }
  #items { grid-area: items; grid-template-columns: repeat(auto-fill, minmax(70px, 1fr)); gap: 5px; }
  .it { min-height: 40px; padding: 3px 2px; }
  .it .ic { aspect-ratio: auto; height: clamp(24px, 9dvh, 46px); }
  .it .ic img { min-width: 0; height: clamp(22px, 8dvh, 42px); max-height: none; width: auto; max-width: 90%; object-fit: contain; }
  .it .nm { font-size: 10px; }
  .it .co { font-size: 10px; }
  .quests { font-size: .75em; }
}
@media (max-height: 500px) and (orientation: landscape) and (max-width: 900px) { .brand { display: none; } }
@media (min-width: 2000px) { :root { --fs: 18px; } }
