/* Course play (The Aerie, Red Mesa) — landscape-first HUD.
   Top: hole card (left), tools (right), corner map under the tools. Bottom left: where to play.
   Bottom centre: Hit kept just under the ball, aim arrows and club chip beside it.
   Bottom right: compact readout. Club fly-out on the left. */
:root {
  color-scheme: dark;
  --ink: #101c22;
  --glass: rgba(14, 26, 32, 0.72);
  --glass-hi: rgba(26, 42, 50, 0.88);
  --line: rgba(214, 228, 232, 0.15);
  --bone: #f2efe6;
  --mist: #a9bcc2;
  --sage: var(--mist);
  --flag: #f5c542;
  --flag-ink: #2a2206;
  --ok: #8fdc8a; --warn: #f5c542; --bad: #ff7b6b; --sand: #e8d29a;
  --left: #8fc3ff; --right: #ffad7a;
  --f-title: "Cormorant SC", "Cormorant Garamond", Georgia, serif;
  --f-data: "Saira Semi Condensed", "Arial Narrow", "Roboto Condensed", sans-serif;
  --f-body: "Hanken Grotesk", "Segoe UI", system-ui, sans-serif;
}
html, body { height: 100%; }
[hidden] { display: none !important; }
body { margin: 0; background: #101c22; color: var(--bone); font-family: var(--f-body); overflow: hidden; -webkit-font-smoothing: antialiased; -webkit-user-select: none; user-select: none; -webkit-tap-highlight-color: transparent; }
#stage { position: fixed; inset: 0; }
#stage canvas { display: block; width: 100%; height: 100%; touch-action: none; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--flag); outline-offset: 2px; }
.glass { background: var(--glass); border: 1px solid var(--line); border-radius: 10px; backdrop-filter: blur(10px) saturate(1.2); -webkit-backdrop-filter: blur(10px) saturate(1.2); }
.lbl { font-family: var(--f-data); font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--mist); font-weight: 500; }
.num { font-family: var(--f-data); font-variant-numeric: tabular-nums; font-weight: 600; }
.L { color: var(--left); } .R { color: var(--right); }

/* ---------- top ---------- */
#top { position: fixed; top: calc(env(safe-area-inset-top, 0px) + 8px); left: max(12px, env(safe-area-inset-left, 0px)); right: max(12px, env(safe-area-inset-right, 0px)); display: flex; gap: 8px; align-items: flex-start; justify-content: space-between; pointer-events: none; z-index: 5; }
#top > * { pointer-events: auto; }
#holeCard { padding: 5px 10px 6px; display: flex; gap: 14px; align-items: flex-end; }
.hcMain { display: flex; flex-direction: column; gap: 0; min-width: 0; }
.course { font-family: var(--f-data); font-size: 10.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--mist); white-space: nowrap; }
.holeName { font-family: var(--f-title); font-weight: 700; font-size: 20px; line-height: 1.05; letter-spacing: 0.02em; white-space: nowrap; }
.stat { display: flex; flex-direction: column; align-items: flex-end; }
.stat .num { font-size: 19px; line-height: 1; }
.stat .num small { font-size: 11px; color: var(--mist); font-weight: 500; margin-left: 2px; }
.tools { display: flex; gap: 2px; align-items: center; padding: 3px; }
.seg { display: flex; gap: 2px; }
.tbtn { appearance: none; border: 0; background: transparent; padding: 6px 8px; border-radius: 7px; cursor: pointer; font-family: var(--f-data); font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--mist); white-space: nowrap; }
.tbtn:hover { color: var(--bone); background: rgba(255,255,255,0.06); }
.tbtn[aria-pressed="true"] { background: var(--bone); color: var(--ink); }
.tools .lm-btn span { font-family: var(--f-data); font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--mist); }

/* corner map */
.minimap { position: fixed; right: max(12px, env(safe-area-inset-right, 0px)); top: calc(env(safe-area-inset-top, 0px) + 50px); width: 96px; height: 136px; padding: 3px; z-index: 4; cursor: pointer; opacity: 0.88; }
.minimap:hover { opacity: 1; }
.minimap.active { border-color: var(--flag); opacity: 1; }
.minimap canvas { display: block; width: 100%; height: 100%; }
.mm-expand { position: absolute; right: 3px; top: 3px; width: 24px; height: 24px; padding: 0; border-radius: 6px; border: 1px solid var(--line); background: rgba(10,14,12,0.7); color: var(--bone); font-size: 14px; line-height: 1; cursor: pointer; }
.mm-expand:hover { border-color: var(--flag); }
#sound[aria-pressed="true"] { background: transparent; color: inherit; }
#sound.off { opacity: 0.5; text-decoration: line-through; }

/* ---------- bottom HUD ---------- */
#dock { position: fixed; inset: 0; pointer-events: none; z-index: 5; }
#dock > * { pointer-events: auto; }

/* where to play: under the hole card */
#targetsBox { position: fixed; left: max(12px, env(safe-area-inset-left, 0px)); top: calc(env(safe-area-inset-top, 0px) + 62px); display: flex; flex-direction: column; gap: 5px; max-width: 34vw; }
#targetsBox > .lbl { text-shadow: 0 1px 3px rgba(0,0,0,0.6); color: var(--bone); padding-left: 2px; }
.targets { display: flex; flex-direction: column; gap: 4px; align-items: flex-start; }
.tgt { appearance: none; border: 1px solid var(--line); background: var(--glass); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-radius: 9px; padding: 4px 10px 5px; cursor: pointer; display: flex; align-items: baseline; gap: 8px; text-align: left; max-width: 100%; }
.tgt b { font-family: var(--f-data); font-weight: 600; font-size: 13px; white-space: nowrap; }
.tgt span { font-family: var(--f-data); font-size: 11px; color: var(--mist); font-variant-numeric: tabular-nums; white-space: nowrap; }
.tgt:hover { background: var(--glass-hi); }
.tgt[aria-pressed="true"] { border-color: var(--flag); background: rgba(40, 36, 14, 0.78); }
.tgt[aria-pressed="true"] b { color: var(--flag); }
.tgt.drop { border-style: dashed; }
.tgt.drop b { color: var(--right); }

/* bottom-left controls: the ball owns the bottom centre */
#hitbar { position: fixed; left: max(12px, env(safe-area-inset-left, 0px)); bottom: calc(env(safe-area-inset-bottom, 0px) + 10px); width: 196px; }
#swingUI, #putt { display: flex; flex-direction: column; align-items: stretch; gap: 6px; }
.preview { display: flex; align-items: center; gap: 7px; font-family: var(--f-data); font-size: 12.5px; letter-spacing: 0.02em; padding: 4px 10px; border-radius: 9px; white-space: nowrap; align-self: flex-start; width: max-content; max-width: 44vw; }
.preview i { width: 8px; height: 8px; border-radius: 50%; flex: none; background: var(--mist); }
.preview small { font-size: 11px; color: var(--mist); margin-left: 1px; }
.aimrow { display: flex; align-items: center; }
#simMount { display: flex; justify-self: start; }
#simMount .st-panel { left: 0; }
.chip { appearance: none; border: 1px solid var(--line); background: var(--glass); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-radius: 10px; cursor: pointer; color: var(--bone); font-family: var(--f-data); display: inline-flex; flex-direction: column; align-items: center; justify-content: center; padding: 3px 8px; min-height: 44px; }
.chip b { font-size: 17px; font-weight: 700; line-height: 1; color: var(--flag); }
.chip span { font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--mist); }
.chip:hover { background: var(--glass-hi); }
.chip[aria-expanded="true"] { border-color: var(--flag); }
.chip.wide { flex-direction: row; min-height: 36px; font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; padding: 0 14px; }
.ab { appearance: none; border: 1px solid var(--line); background: var(--glass); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-radius: 10px; min-height: 44px; cursor: pointer; font-size: 15px; color: var(--bone); touch-action: none; }
.ab:hover { background: var(--glass-hi); }
#hit, #puttBtn { appearance: none; border: 0; border-radius: 12px; min-height: 52px; width: 100%; background: var(--flag); color: var(--flag-ink); cursor: pointer; font-family: var(--f-data); font-weight: 700; font-size: 19px; letter-spacing: 0.18em; text-transform: uppercase; box-shadow: 0 6px 20px rgba(0,0,0,0.35); }
#hit:active, #puttBtn:active { transform: translateY(1px) scale(0.98); }
#hit[disabled], #puttBtn[disabled] { opacity: 0.35; cursor: default; }
.gimme { display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--mist); padding: 6px 10px; cursor: pointer; white-space: nowrap; }
.gimme input { accent-color: var(--flag); width: 15px; height: 15px; margin: 0; }

#readout { position: fixed; right: max(12px, env(safe-area-inset-right, 0px)); bottom: calc(env(safe-area-inset-bottom, 0px) + 10px); width: 220px; padding: 8px 10px 9px; display: flex; flex-direction: column; gap: 6px; cursor: pointer; }
.carryRow { display: flex; align-items: flex-end; gap: 8px; }
.carryNum { font-size: 30px; line-height: 0.85; }
.carryNum small { font-size: 12px; color: var(--mist); font-weight: 500; margin-left: 2px; }
.carryMeta { display: flex; flex-direction: column; min-width: 0; padding-bottom: 1px; }
.clubName { font-family: var(--f-data); font-size: 11.5px; color: var(--flag); letter-spacing: 0.06em; text-transform: uppercase; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.result { margin-left: auto; font-size: 14px; padding-bottom: 1px; white-space: nowrap; }
.metrics { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 5px 8px; border-top: 1px solid var(--line); padding-top: 6px; }
.m { display: flex; flex-direction: column; min-width: 0; }
.m .num { font-size: 14.5px; line-height: 1.1; white-space: nowrap; }
.m .num small { font-size: 10px; color: var(--mist); font-weight: 500; margin-left: 1px; }
#readout:not(.more) .m.x { display: none; }

/* ---------- club fly-out ---------- */
.sheet { position: fixed; top: calc(env(safe-area-inset-top, 0px) + 52px); bottom: calc(env(safe-area-inset-bottom, 0px) + 10px); overflow-y: auto; padding: 10px 14px 14px; z-index: 8; display: flex; flex-direction: column; gap: 12px; overscroll-behavior: contain; }
.sheet.left { left: max(12px, env(safe-area-inset-left, 0px)); width: min(300px, 42vw); }
.sheet h2 { margin: 0; font-family: var(--f-data); font-weight: 600; font-size: 14px; letter-spacing: 0.1em; text-transform: uppercase; display: flex; justify-content: space-between; align-items: center; }
.sheet .x { appearance: none; border: 0; background: transparent; color: var(--mist); cursor: pointer; font-size: 22px; line-height: 1; padding: 2px 6px; }
.group { display: flex; flex-direction: column; gap: 8px; }
.group + .group { border-top: 1px solid var(--line); padding-top: 12px; }
.note { font-size: 12px; color: var(--mist); line-height: 1.4; margin: 0; }
.clubs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 4px; }
.club { appearance: none; border: 1px solid var(--line); padding: 9px 0; border-radius: 8px; background: rgba(255,255,255,0.03); cursor: pointer; font-family: var(--f-data); font-weight: 600; font-size: 15px; color: var(--bone); }
.club:hover { background: rgba(255,255,255,0.08); }
.club[aria-pressed="true"] { background: var(--flag); border-color: var(--flag); color: var(--flag-ink); }
.club.sugg:not([aria-pressed="true"]) { box-shadow: inset 0 -3px 0 var(--flag); }
.power { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 4px; }
.pw { appearance: none; border: 1px solid var(--line); background: rgba(255,255,255,0.03); border-radius: 8px; padding: 8px 0; cursor: pointer; font-family: var(--f-data); font-weight: 600; font-size: 13.5px; color: var(--bone); }
.pw[aria-pressed="true"] { background: var(--bone); border-color: var(--bone); color: var(--ink); }
.ghost { appearance: none; border: 1px solid var(--line); background: rgba(255,255,255,0.04); border-radius: 9px; padding: 0 14px; min-height: 40px; cursor: pointer; font-family: var(--f-data); font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--bone); }

.switch { display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: 13.5px; cursor: pointer; font-family: var(--f-body); }
.soundRow { appearance: none; width: 100%; background: transparent; border: 0; padding: 4px 0; color: var(--bone); }
.tog { width: 36px; height: 20px; border-radius: 10px; background: rgba(255,255,255,0.18); position: relative; flex: none; transition: background .15s ease; }
.tog::after { content: ""; position: absolute; left: 2px; top: 2px; width: 16px; height: 16px; border-radius: 50%; background: var(--bone); transition: transform .15s ease; }
.soundRow[aria-pressed="true"] .tog { background: var(--flag); }
.soundRow[aria-pressed="true"] .tog::after { transform: translateX(16px); background: var(--flag-ink); }

/* ---------- labels, toast, intro ---------- */
.tag { position: fixed; left: 0; top: 0; pointer-events: none; z-index: 3; font-family: var(--f-data); font-weight: 600; font-size: 12px; letter-spacing: 0.04em; padding: 2px 6px; border-radius: 5px; background: rgba(14,26,32,0.8); color: var(--bone); white-space: nowrap; border: 1px solid var(--line); }
.tag b { color: var(--flag); }
#toast { position: fixed; left: 50%; top: calc(env(safe-area-inset-top, 0px) + 56px); transform: translateX(-50%); padding: 7px 14px; font-size: 13px; z-index: 7; opacity: 0; transition: opacity .25s ease; pointer-events: none; text-align: center; max-width: calc(100% - 32px); }
#toast.on { opacity: 1; }
#toast b { font-family: var(--f-data); font-size: 16px; letter-spacing: 0.06em; text-transform: uppercase; display: block; color: var(--flag); }
#intro { position: fixed; left: max(12px, env(safe-area-inset-left, 0px)); bottom: calc(env(safe-area-inset-bottom, 0px) + 10px); width: min(380px, 50vw); padding: 10px 14px 12px; z-index: 6; display: flex; flex-direction: column; gap: 3px; }
#intro .holeName { font-size: 24px; }
#intro p { margin: 2px 0 0; font-size: 12.5px; line-height: 1.45; color: #d8e1e3; }
#skip { position: fixed; right: max(12px, env(safe-area-inset-right, 0px)); bottom: calc(env(safe-area-inset-bottom, 0px) + 10px); z-index: 6; }

/* ---------- scorecard ---------- */
#card { position: fixed; inset: 0; display: grid; place-items: center; z-index: 9; background: rgba(8, 14, 18, 0.35); padding: 12px max(16px, env(safe-area-inset-right, 0px)) 12px max(16px, env(safe-area-inset-left, 0px)); }
#card .glass { width: min(460px, 100%); max-height: calc(100vh - 24px); overflow-y: auto; padding: 14px 16px; display: flex; flex-direction: column; gap: 10px; }
#card h2 { margin: 0; font-family: var(--f-title); font-size: 26px; font-weight: 700; letter-spacing: 0.03em; line-height: 1.05; text-wrap: balance; }
#card .sub { font-family: var(--f-data); color: var(--flag); letter-spacing: 0.1em; text-transform: uppercase; font-size: 13px; }
table.sc { width: 100%; border-collapse: collapse; font-family: var(--f-data); font-variant-numeric: tabular-nums; }
table.sc th { font-weight: 500; font-size: 10.5px; letter-spacing: 0.12em; color: var(--mist); text-transform: uppercase; text-align: right; padding: 0 0 4px; }
table.sc td { text-align: right; padding: 5px 0; border-top: 1px solid var(--line); font-size: 15px; }
table.sc th:first-child, table.sc td:first-child { text-align: left; }
table.sc td.nm { color: var(--mist); font-size: 13px; text-align: left; padding-left: 8px; }
.sc .u { color: var(--ok); } .sc .o { color: var(--right); }
.cardBtns { display: flex; gap: 8px; justify-content: flex-end; }
.cardBtns button { min-height: 42px; }
.primary { appearance: none; border: 0; border-radius: 9px; background: var(--flag); color: var(--flag-ink); padding: 0 18px; cursor: pointer; font-family: var(--f-data); font-weight: 700; font-size: 15px; letter-spacing: 0.1em; text-transform: uppercase; }

/* ---------- bigger screens ---------- */
@media (min-height: 560px) and (min-width: 900px) {
  .holeName { font-size: 26px; }
  .course { font-size: 12px; }
  .stat .num { font-size: 24px; }
  .tbtn, .tools .lm-btn span { font-size: 13px; padding: 7px 10px; }
  .minimap { width: 132px; height: 188px; top: calc(env(safe-area-inset-top, 0px) + 66px); }
  #readout { width: 280px; padding: 12px 14px; }
  .carryNum { font-size: 42px; }
  .m .num { font-size: 18px; }
  .lbl { font-size: 11px; }
  .tgt b { font-size: 15px; } .tgt span { font-size: 12.5px; }
  #targetsBox { top: calc(env(safe-area-inset-top, 0px) + 74px); }
  #hitbar { width: 240px; }
  .preview { font-size: 14px; }
  #hit, #puttBtn { min-height: 58px; font-size: 21px; }
  .chip, .ab { min-height: 52px; }
  #intro { width: 440px; } #intro p { font-size: 14px; } #intro .holeName { font-size: 30px; }
  .sheet { top: calc(env(safe-area-inset-top, 0px) + 66px); }
}

/* ---------- small landscape phones (iPhone SE/mini class) ---------- */
@media (max-width: 760px) and (orientation: landscape) {
  .course { font-size: 9.5px; } .holeName { font-size: 17px; } .stat .num { font-size: 16px; }
  #holeCard { gap: 10px; padding: 4px 8px 5px; }
  .tbtn, .tools .lm-btn span { padding: 6px 6px; font-size: 11px; }
  .tools .menu-link .mlong { display: none; } .tools .menu-link .mshort { display: inline; }
  #readout { width: 168px; padding: 6px 8px 7px; }
  .carryNum { font-size: 26px; }
  #targetsBox { max-width: 30vw; top: calc(env(safe-area-inset-top, 0px) + 56px); }
  .tgt { padding: 3px 8px 4px; gap: 6px; } .tgt b { font-size: 12px; } .tgt span { font-size: 10.5px; }
  #hitbar { width: 176px; }
  #hit, #puttBtn { min-height: 48px; font-size: 17px; }
  .minimap { width: 84px; height: 118px; }
}

/* ---------- portrait phones ---------- */
@media (orientation: portrait) {
  #top { flex-direction: column; align-items: stretch; gap: 6px; }
  .tools { justify-content: space-between; }
  .minimap { top: calc(env(safe-area-inset-top, 0px) + 100px); }
  #readout { left: max(12px, env(safe-area-inset-left, 0px)); right: auto; top: calc(env(safe-area-inset-top, 0px) + 100px); bottom: auto; }
  #targetsBox { top: calc(env(safe-area-inset-top, 0px) + 200px); max-width: 60vw; }
  .sheet.left { right: max(12px, env(safe-area-inset-right, 0px)); width: auto; top: 30%; }
  #intro { width: auto; right: max(12px, env(safe-area-inset-right, 0px)); bottom: calc(env(safe-area-inset-bottom, 0px) + 64px); }
}
#rotate { position: fixed; left: 50%; top: 50%; transform: translate(-50%, -50%); width: min(300px, calc(100% - 32px)); z-index: 30; padding: 18px; display: flex; flex-direction: column; gap: 8px; text-align: center; }
#rotate b { font-family: var(--f-data); font-size: 18px; letter-spacing: 0.06em; text-transform: uppercase; }
#rotate span { font-size: 13.5px; color: var(--mist); line-height: 1.45; }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }
.m .lbl { white-space: nowrap; }

/* ---------- wind on the hole card, the blind-shot pin tag ---------- */
#windStat .num { display: flex; align-items: baseline; gap: 3px; }
.warrow { display: inline-block; font-style: normal; color: var(--flag); font-size: 0.95em; line-height: 1; transform-origin: 50% 55%; }
.tag.pin { border-color: rgba(245,197,66,0.6); }

/* ---------- round setup: tees and conditions ---------- */
#setup { position: fixed; inset: 0; z-index: 9; display: grid; place-items: center; padding: max(10px, env(safe-area-inset-top, 0px)) max(14px, env(safe-area-inset-right, 0px)) max(10px, env(safe-area-inset-bottom, 0px)) max(14px, env(safe-area-inset-left, 0px)); background: linear-gradient(90deg, rgba(8,12,14,0.55), rgba(8,12,14,0.1) 70%); }
.setupBox { width: min(760px, 100%); max-height: 100%; overflow-y: auto; padding: 14px 16px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 10px 22px; align-content: start; }
.suHead { grid-column: 1; display: flex; flex-direction: column; gap: 4px; }
.suHead .sub { font-family: var(--f-data); color: var(--flag); letter-spacing: 0.1em; text-transform: uppercase; font-size: 12px; }
.suHead h2 { margin: 0; font-family: var(--f-title); font-size: 30px; line-height: 1; }
.suHead p { margin: 0; font-size: 13px; line-height: 1.45; color: #d8e1e3; }
#suTeeRow { grid-column: 1; }
.suConds { grid-column: 2; grid-row: 1 / span 2; display: flex; flex-direction: column; gap: 10px; }
.setupBox .cardBtns { grid-column: 1 / -1; }
.suRow { display: flex; flex-direction: column; gap: 5px; }
.suTees { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 5px; }
.suTee { appearance: none; border: 1px solid var(--line); background: rgba(255,255,255,0.04); border-radius: 9px; padding: 6px 9px; cursor: pointer; color: var(--bone); display: grid; grid-template-columns: auto 1fr; grid-template-areas: "dot name" "dot yd" "dot sug"; column-gap: 8px; text-align: left; align-items: center; }
.suTee i { grid-area: dot; width: 12px; height: 12px; border-radius: 50%; box-shadow: 0 0 0 1px rgba(0,0,0,0.4); }
.suTee b { grid-area: name; font-family: var(--f-data); font-size: 14px; font-weight: 600; }
.suTee span { grid-area: yd; font-family: var(--f-data); font-size: 12px; color: var(--mist); font-variant-numeric: tabular-nums; }
.suTee em { grid-area: sug; font-style: normal; font-family: var(--f-data); font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--flag); }
.suTee[aria-pressed="true"] { border-color: var(--flag); background: rgba(40, 36, 14, 0.78); }
.segs { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 3px; }
.segs button { appearance: none; border: 1px solid var(--line); background: rgba(255,255,255,0.04); border-radius: 8px; padding: 7px 4px; cursor: pointer; font-family: var(--f-data); font-size: 12.5px; color: var(--bone); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.segs button[aria-pressed="true"] { background: var(--bone); color: var(--ink); border-color: var(--bone); }
#suFrom { appearance: none; border: 1px solid var(--line); background: rgba(255,255,255,0.06); color: var(--bone); border-radius: 8px; padding: 6px 10px; font-family: var(--f-data); font-size: 12.5px; }
#suFrom:disabled { opacity: 0.4; }
#suFrom option { background: #1a262c; }
@media (max-width: 760px) and (orientation: landscape) {
  .setupBox { padding: 10px 12px; gap: 8px 14px; }
  .suHead h2 { font-size: 24px; } .suHead p { font-size: 12px; } #suBlurb { display: none; }
  .suTee { padding: 4px 8px; } .suTee b { font-size: 13px; }
  .segs button { padding: 6px 2px; font-size: 11.5px; }
  .suConds { gap: 7px; }
}
@media (orientation: portrait) {
  .setupBox { grid-template-columns: 1fr; }
  .suConds { grid-column: 1; grid-row: auto; }
}
