:root {
  color-scheme:dark;
  --background:#12101c;
  --surface:#1e1a2a;
  --container:#292438;
  --variant:#302a3f;
  --text:#f8f4ff;
  --muted:#d1c5df;
  --line:#4a415e;
  --primary:#ffb627;
  --on-primary:#2a1700;
  --secondary:#43d9b8;
  --action:#ff4d8d;
  --on-action:#240719;
  --error:#ffb4ab;
  --heading:ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif;
  --radius:20px;
  --stage:#1a1633;
  --shadow:0 18px 45px #0003;
  font-family:ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif;
  font-size:16px;
  line-height:1.55;
  scrollbar-color:var(--line) var(--background)
}

body[data-theme="ivory-editorial"] {
  color-scheme:light;
  --background:#fff8e9;
  --surface:#fffcf5;
  --container:#fff1d5;
  --variant:#ffebc4;
  --text:#2a211b;
  --muted:#6d5848;
  --line:#dfc79f;
  --primary:#bd3c1c;
  --on-primary:#fff;
  --secondary:#237a62;
  --action:#bd3c1c;
  --on-action:#fff;
  --error:#b3261e;
  --stage:#3b261f;
  --radius:22px
}

body[data-theme="mediterranean-luxe"] {
  color-scheme:light;
  --background:#fff2dd;
  --surface:#fffbf4;
  --container:#ffe9ce;
  --variant:#ffe3c4;
  --text:#342a24;
  --muted:#705b4c;
  --line:#d7ae8c;
  --primary:#b13b24;
  --on-primary:#fff;
  --secondary:#15745c;
  --action:#b13b24;
  --on-action:#fff;
  --error:#9f3d3d;
  --stage:#4a160c;
  --heading:Georgia,"Times New Roman",serif
}

body[data-theme="nordic-minimal"] {
  color-scheme:light;
  --background:#f1f8f5;
  --surface:#fff;
  --container:#e5f2ed;
  --variant:#ddefe9;
  --text:#232623;
  --muted:#496259;
  --line:#b3cfc5;
  --primary:#2f7d6c;
  --on-primary:#fff;
  --secondary:#426879;
  --action:#2f7d6c;
  --on-action:#fff;
  --error:#9f3d3d;
  --stage:#18383e;
  --radius:16px
}

body[data-theme="romantic-berry"] {
  --background:#210e1a;
  --surface:#351525;
  --container:#472033;
  --variant:#54233b;
  --text:#fff3f7;
  --muted:#f0c3d3;
  --line:#87506a;
  --primary:#ff8db3;
  --on-primary:#4a0822;
  --secondary:#c9a7ff;
  --action:#ff8db3;
  --on-action:#4a0822;
  --error:#ffb4ab;
  --stage:#351525;
  --heading:Georgia,"Times New Roman",serif;
  --radius:26px
}

body[data-theme="market-fresh"] {
  color-scheme:light;
  --background:#fff8df;
  --surface:#fffdf4;
  --container:#f0f0d5;
  --variant:#e6f1d8;
  --text:#262318;
  --muted:#4f6248;
  --line:#b7c9a9;
  --primary:#26734d;
  --on-primary:#fff;
  --secondary:#8b4e13;
  --action:#26734d;
  --on-action:#fff;
  --error:#b3261e;
  --stage:#143324;
  --radius:24px
}

* {
  box-sizing:border-box
}
html {
  scroll-behavior:smooth;
  scroll-padding-top:24px
}
body {
  margin:0;
  background:var(--background);
  color:var(--text);
  min-width:320px
}
body.motion-reduced {
  scroll-behavior:auto
}
::selection {
  background:var(--primary);
  color:var(--on-primary)
}
[hidden] {
  display:none!important
}
button,input,select,textarea {
  font:inherit
}
button,a,input,select,summary,textarea {
  -webkit-tap-highlight-color:transparent
}
button {
  cursor:pointer
}
button:disabled {
  cursor:wait;
  opacity:.55
}
a {
  color:var(--secondary);
  text-underline-offset:4px;
  overflow-wrap:anywhere
}
a:hover {
  text-decoration-thickness:2px
}
button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,summary:focus-visible,textarea:focus-visible,[tabindex]:focus-visible {
  outline:3px solid var(--secondary);
  outline-offset:4px
}
input,textarea,select {
  accent-color:var(--primary);
  caret-color:var(--primary)
}
h1,h2,h3 {
  font-family:var(--heading);
  line-height:1.13;
  letter-spacing:-.025em;
  text-wrap:balance;
  margin:0 0 16px
}
h1 {
  font-size:clamp(1.9rem,3.2vw,2.75rem);
  font-weight:800
}
h2 {
  font-size:1.45rem
}
h3 {
  font-size:1.2rem
}
p {
  margin:0 0 16px;
  max-width:72ch
}
svg {
  width:22px;
  height:22px;
  flex:none;
  fill:none;
  stroke:currentColor;
  stroke-width:2;
  stroke-linecap:round;
  stroke-linejoin:round
}
.muted,.privacy-note {
  color:var(--muted)
}
.privacy-note {
  font-size:.83rem;
  margin:24px 0 0
}
.skip-link {
  position:fixed;
  top:-100px;
  left:16px;
  z-index:10;
  background:var(--primary);
  color:var(--on-primary);
  padding:12px
}
.skip-link:focus {
  top:12px
}
.app-header {
  max-width:1344px;
  margin:auto;
  display:flex;
  align-items:center;
  gap:24px;
  padding:22px 32px;
  border-bottom:1px solid var(--line)
}
.header-actions { display:flex; align-items:center; gap:12px; margin-left:auto }
.language-picker { display:flex; flex-direction:column; gap:2px; font-size:.75rem; color:var(--muted) }
.language-picker select { width:auto; min-width:118px; min-height:44px; padding:8px; font-size:.9rem; margin:0 }
.brand {
  display:flex;
  align-items:center;
  gap:10px;
  color:var(--text);
  text-decoration:none;
  line-height:1.12;
  letter-spacing:-.035em
}
.brand span {
  font-size:1.05rem
}
.brand strong {
  font-size:1.3rem
}
.brand img {
  border-radius:12px
}
.app-header nav {
  display:flex;
  align-items:center;
  gap:4px;
  margin-left:auto
}
.app-header nav button {
  background:none;
  color:var(--muted);
  border:0;
  border-radius:10px;
  padding:10px 13px;
  min-height:44px;
  font-size:.92rem;
  font-weight:600;
  white-space:nowrap
}
.app-header nav button:hover,.app-header nav button[aria-current="page"] {
  background:var(--container);
  color:var(--text)
}
#favorite-count {
  font-size:.75rem;
  color:var(--secondary)
}
button.button-quiet {
  border:0;
  background:none;
  color:var(--muted);
  padding:10px 12px;
  min-height:44px;
  font-weight:600
}
.button-quiet:hover {
  background:var(--variant);
  border-radius:10px;
  color:var(--text)
}
.settings-button {
  font-size:.84rem
}
.connection-strip {
  max-width:1280px;
  margin:12px auto 0;
  padding:0 16px;
  display:flex;
  justify-content:space-between;
  gap:16px;
  color:var(--muted);
  font-size:.78rem;
  min-height:22px
}
.beta-label {
  color:var(--secondary);
  white-space:nowrap
}
.connection-strip .offline {
  color:var(--primary)
}
main {
  max-width:1280px;
  margin:auto;
  padding:28px 16px 64px;
  min-height:65vh
}
.play-layout {
  display:grid;
  grid-template-columns:minmax(320px,.85fr) minmax(0,1.2fr);
  gap:56px;
  align-items:start
}
.play-stage {
  text-align:center;
  min-width:0;
  padding:8px 4px
}
.stage-heading p {
  color:var(--muted);
  margin:0 auto 20px
}
.mode-picker {
  display:flex;
  flex-wrap:wrap;
  justify-content:center;
  gap:8px;
  margin:0 auto 16px;
  max-width:600px
}
.mode-button {
  min-height:42px;
  display:flex;
  align-items:center;
  gap:6px;
  border:1px solid var(--line);
  border-radius:12px;
  color:var(--muted);
  background:transparent;
  padding:8px 12px;
  font-size:.84rem;
  font-weight:600
}
.mode-button:hover {
  background:var(--container);
  color:var(--text)
}
.mode-button[aria-pressed="true"] {
  border-color:var(--primary);
  background:var(--container);
  color:var(--primary)
}
.dice-scene {
  display:grid;
  place-items:center;
  padding:22px 0 24px;
  perspective:1000px;
  min-height:254px
}
.food-dice {
  width:230px;
  aspect-ratio:1;
  overflow:hidden;
  border-radius:30px;
  box-shadow:0 16px 30px #0004;
  transform:rotate(-5deg);
  background:#fcf0df
}
.mascot {
  width:100%;
  height:100%;
  background-image:url('./assets/mode-mascots.png');
  background-size:300% 200%;
  background-repeat:no-repeat
}
.mascot--0 {
  background-position:0 0
}
.mascot--1 {
  background-position:50% 0
}
.mascot--2 {
  background-position:100% 0
}
.mascot--3 {
  background-position:0 100%
}
.mascot--4 {
  background-position:50% 100%
}
.mascot--5 {
  background-position:100% 100%
}
.stage-caption {
  display:flex;
  flex-direction:column;
  gap:3px;
  margin:0 auto 20px;
  max-width:420px
}
.stage-caption strong {
  font-family:var(--heading);
  font-size:1.25rem
}
.stage-caption span {
  font-size:.88rem;
  color:var(--muted)
}
.button-primary,.button-secondary {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:9px;
  min-height:46px;
  padding:11px 18px;
  border-radius:12px;
  font-weight:700;
  border:1px solid transparent;
  text-decoration:none;
  line-height:1.35
}
.button-primary {
  background:var(--primary);
  color:var(--on-primary)
}
.button-primary:hover {
  filter:brightness(1.07)
}
.button-secondary {
  background:var(--container);
  color:var(--text);
  border-color:var(--line)
}
.button-secondary:hover {
  background:var(--variant)
}
.roll-button {
  background:var(--action);
  color:var(--on-action);
  font-size:1.05rem;
  letter-spacing:.035em;
  min-height:56px;
  width:min(100%,380px)
}
.stage-footnote {
  font-size:.82rem;
  color:var(--muted);
  margin:12px auto 0
}
.full-width {
  width:100%
}
.search-panel {
  border:1px solid var(--line);
  border-radius:var(--radius);
  padding:28px;
  background:var(--surface)
}
.search-panel>h2 {
  margin-bottom:10px
}
.search-panel>.muted {
  font-size:.91rem
}
label:not(.checkbox) {
  display:block;
  font-size:.88rem;
  font-weight:600;
  margin:18px 0 7px
}
input:not([type="checkbox"]):not([type="range"]),select,textarea {
  width:100%;
  min-height:46px;
  border:1px solid var(--line);
  border-radius:10px;
  padding:10px 12px;
  background:var(--background);
  color:var(--text)
}
input::placeholder,textarea::placeholder {
  color:var(--muted);
  opacity:1
}
.input-action {
  display:flex;
  gap:8px
}
.input-action input {
  min-width:0
}
.input-action button {
  padding:10px 14px
}
.address-results {
  display:grid;
  gap:6px;
  margin-top:8px
}
.address-result {
  text-align:left;
  border:1px solid var(--line);
  background:var(--container);
  color:var(--text);
  padding:12px;
  border-radius:10px;
  font-size:.88rem;
  min-height:44px
}
.selected-location {
  color:var(--secondary);
  font-weight:600;
  font-size:.9rem;
  margin:18px 0 12px;
  overflow-wrap:anywhere
}
.radius-label {
  display:flex!important;
  align-items:center;
  justify-content:space-between
}
.radius-label output {
  font-variant-numeric:tabular-nums;
  font-size:.95rem;
  color:var(--primary)
}
input[type="range"] {
  width:100%;
  height:36px;
  margin:0;
  cursor:pointer
}
.range-ends {
  display:flex;
  justify-content:space-between;
  font-size:.75rem;
  color:var(--muted)
}
details {
  margin-top:20px;
  border-top:1px solid var(--line);
  padding-top:16px
}
summary {
  cursor:pointer;
  font-weight:700;
  min-height:36px
}
#filter-count {
  float:right;
  color:var(--primary);
  font-size:.8rem
}
.filter-body {
  padding-top:8px
}
fieldset {
  border:0;
  padding:0;
  margin:20px 0
}
legend {
  font-weight:600;
  font-size:.9rem;
  margin-bottom:10px
}
.check-grid {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:8px
}
.checkbox {
  display:flex;
  align-items:flex-start;
  gap:10px;
  min-height:38px;
  padding:6px 0;
  font-size:.87rem;
  cursor:pointer
}
.checkbox input {
  width:18px;
  height:18px;
  margin:3px 0 0;
  flex:none
}
.notice {
  max-width:1248px;
  margin:12px auto 0;
  padding:14px 18px;
  border:1px solid var(--primary);
  border-radius:12px;
  color:var(--text);
  background:var(--container);
  overflow-wrap:anywhere
}
.notice.error {
  border-color:var(--error)
}
.results-section {
  margin-top:48px;
  scroll-margin-top:20px
}
.section-heading {
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:16px;
  margin:0 0 20px
}
.section-heading h1,.section-heading h2 {
  margin:0
}
.section-heading p {
  margin:8px 0 0;
  font-size:.88rem
}
.round-counter {
  font-variant-numeric:tabular-nums;
  color:var(--primary);
  font-size:1.2rem;
  font-weight:700;
  white-space:nowrap
}
.restaurant-grid {
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(min(100%,290px),1fr));
  gap:20px;
  margin-top:24px
}
.restaurant-card {
  border:1px solid var(--line);
  border-radius:var(--radius);
  background:var(--surface);
  padding:24px;
  display:flex;
  flex-direction:column;
  min-width:0
}
.restaurant-card .card-top {
  display:flex;
  align-items:start;
  justify-content:space-between;
  gap:12px
}
.restaurant-card h3 {
  margin:4px 0 8px;
  overflow-wrap:anywhere
}
.restaurant-card .cuisine {
  color:var(--muted);
  font-size:.86rem
}
.restaurant-card .address {
  color:var(--muted);
  font-size:.87rem;
  margin:4px 0 16px;
  overflow-wrap:anywhere
}
.favorite-button {
  background:none;
  border:0;
  color:var(--secondary);
  min-width:44px;
  min-height:44px;
  padding:8px;
  flex:none
}
.favorite-button[aria-pressed="true"] svg {
  fill:var(--secondary)
}
.fact-row {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:12px;
  border-block:1px solid var(--line);
  padding:16px 0;
  margin:0 0 18px
}
.fact-row p {
  margin:0;
  font-size:.9rem
}
.fact-row small {
  display:block;
  font-size:.75rem;
  color:var(--muted);
  margin-bottom:4px
}
.restaurant-card .actions {
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin-top:auto
}
.restaurant-card .actions button,.restaurant-card .actions a {
  font-size:.85rem;
  min-height:42px;
  padding:9px 12px
}
.restaurant-card .source-note {
  color:var(--muted);
  font-size:.76rem;
  margin:16px 0 0
}
.restaurant-card .note-input {
  margin:16px 0
}
.restaurant-card .note-input textarea {
  font-size:.88rem;
  min-height:76px;
  resize:vertical
}
.how-it-works {
  margin-top:56px;
  border-top:1px solid var(--line);
  padding-top:32px
}
.how-it-works h2 {
  font-size:1.35rem
}
.steps {
  display:grid;
  grid-template-columns:1fr 1fr 1fr;
  gap:32px;
  margin-top:24px
}
.steps strong,.steps span {
  display:block
}
.steps strong {
  margin-bottom:7px
}
.steps span {
  font-size:.9rem;
  color:var(--muted)
}
.collection-view {
  max-width:1120px;
  margin:auto;
  padding:24px 0
}
.collection-view>h1 {
  max-width:820px
}
.collection-view>input {
  max-width:540px
}
.two-column {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:24px;
  margin-top:32px
}
.panel {
  padding:26px;
  border:1px solid var(--line);
  background:var(--surface);
  border-radius:var(--radius);
  margin:24px 0
}
.two-column .panel {
  margin:0;
  display:flex;
  flex-direction:column;
  align-items:start
}
.panel input:not([type="checkbox"]) {
  margin-bottom:8px
}
.panel button[type="submit"] {
  margin-top:18px
}
.panel .muted {
  font-size:.87rem
}
.button-row {
  display:flex;
  gap:10px;
  flex-wrap:wrap
}
.participants {
  list-style:none;
  padding:0;
  border-top:1px solid var(--line);
  margin:24px 0
}
.participants li {
  padding:14px 0;
  border-bottom:1px solid var(--line);
  display:flex;
  justify-content:space-between;
  gap:16px;
  align-items:center
}
.participant-status {
  font-size:.82rem;
  color:var(--secondary)
}
.group-draft .checkbox {
  font-size:1rem
}
.group-draft .button-row {
  margin-top:20px
}
.empty-state {
  padding:48px 16px;
  border-block:1px solid var(--line);
  margin-top:28px;
  color:var(--muted)
}
.empty-state h2 {
  color:var(--text);
  font-size:1.3rem
}
.empty-state button {
  margin-top:8px
}
dialog {
  color:var(--text);
  background:var(--surface);
  border:1px solid var(--line);
  border-radius:var(--radius);
  width:min(720px,calc(100% - 32px));
  max-height:90dvh;
  padding:0;
  box-shadow:none
}
dialog::backdrop {
  background:#090611bf
}
.dialog-body {
  padding:28px;
  overflow-wrap:anywhere
}
.dialog-body h2 {
  font-size:1.5rem
}
.dialog-body p {
  font-size:.92rem
}
.dialog-body .button-row {
  margin-top:24px
}
.dialog-body hr {
  border:0;
  border-top:1px solid var(--line);
  margin:24px 0
}
.dialog-body .detail-facts,.dialog-body .price-facts {
  display:grid;
  grid-template-columns:minmax(110px,.6fr) 1fr;
  gap:10px 18px;
  margin:24px 0;
  font-size:.9rem
}
.detail-facts dt,.price-facts dt {
  color:var(--muted)
}
.detail-facts dd,.price-facts dd {
  margin:0;
  overflow-wrap:anywhere
}
.detail-sources {
  padding-left:20px;
  font-size:.87rem
}
.detail-sources li {
  margin:10px 0
}

.fact-row .price-fact span,.fact-row .price-context {
  overflow-wrap:anywhere
}
.fact-row .price-context {
  margin-top:5px;
  font-size:.74rem;
  line-height:1.4
}
.price-details {
  margin:24px 0;
  padding:18px;
  border:1px solid var(--line);
  border-radius:var(--radius);
  background:var(--container)
}
.price-summary {
  font-size:1.15rem;
  font-weight:750;
  overflow-wrap:anywhere
}
.price-details .price-facts {
  margin-bottom:12px
}
.price-disclaimer,.filter-hint {
  font-size:.83rem;
  line-height:1.5
}
.price-details .price-disclaimer {
  margin-bottom:0
}
.price-warning {
  color:var(--error)
}
.menu-price-list {
  padding-left:20px
}
.menu-price-list li {
  display:flex;
  justify-content:space-between;
  align-items:baseline;
  gap:16px;
  padding:6px 0
}
.menu-price-list li span {
  min-width:0;
  overflow-wrap:anywhere
}
.menu-price-list li strong {
  flex:none
}
.danger {
  color:var(--error)!important
}
.share-field {
  margin:16px 0
}
.is-rolling .food-dice {
  animation:roll-dice .6s cubic-bezier(.2,.8,.2,1) 2
}
.is-rolling .roll-button svg {
  animation:spin 1s linear 2
}
@keyframes roll-dice {
  0%,100% {
  transform:rotate(-5deg) translateY(0)
}
40% {
  transform:rotate(12deg) translateY(-16px)
}
75% {
  transform:rotate(-12deg) translateY(4px)
}

}
@keyframes spin {
  to {
  transform:rotate(360deg)
}

}
body.motion-reduced .food-dice,body.motion-reduced .roll-button svg {
  animation:none
}

@media(min-width:1280px) {
  .food-dice {
  width:254px
}
.dice-scene {
  padding-top:26px;
  padding-bottom:30px
}
.play-layout {
  gap:64px
}
.play-stage {
  padding-top:14px
}

}

@media(max-width:1000px) {
  .app-header {
  gap:12px;
  padding:18px 20px;
  flex-wrap:wrap
}
.app-header nav {
  order:3;
  margin:4px 0 0;
  flex-basis:100%;
  overflow-x:auto
}
.settings-button {
  margin-left:auto
}
.play-layout {
  gap:24px;
  grid-template-columns:minmax(300px,.9fr) minmax(0,1fr)
}
.search-panel {
  padding:22px
}
.mode-picker {
  gap:6px
}
.mode-button {
  font-size:.78rem;
  padding:8px
}
.food-dice {
  width:206px
}
.dice-scene {
  min-height:238px
}
.connection-strip {
  padding-inline:20px
}
main {
  padding-top:24px
}

}

@media(max-width:700px) {
  .app-header {
  padding:14px 16px;
  gap:8px
}
.app-header nav {
  gap:2px;
  margin-top:6px;
  display:grid;
  grid-template-columns:repeat(5,minmax(0,1fr));
  overflow:visible
}
.app-header nav button {
  min-width:0;
  padding:9px 2px;
  font-size:.75rem
}
#favorite-count { display:none }
.brand img {
  width:38px;
  height:38px
}
.brand span {
  font-size:.88rem
}
.brand strong {
  font-size:1.1rem
}
.settings-button {
  font-size:.8rem;
  padding:9px!important
}
.header-actions { gap:6px; flex-wrap:wrap; justify-content:flex-end }
.language-picker select { font-size:.9rem }
.header-actions .settings-button { margin-left:0 }
@media(max-width:390px) { .header-actions { flex-basis:100%; } }
.play-layout {
  display:flex;
  flex-direction:column;
  gap:24px
}
.play-stage,.search-panel {
  width:100%
}
.play-stage {
  padding:0
}
.stage-heading h1 {
  font-size:1.9rem;
  margin-bottom:10px
}
.stage-heading p {
  font-size:.87rem;
  margin-bottom:16px
}
.mode-picker {
  max-width:430px
}
.mode-button {
  font-size:.79rem;
  min-height:40px;
  padding:8px 10px
}
.food-dice {
  width:190px;
  border-radius:24px
}
.dice-scene {
  padding:16px 0;
  min-height:224px
}
.stage-caption {
  margin-bottom:14px
}
.stage-caption strong {
  font-size:1.1rem
}
.stage-caption span {
  font-size:.82rem
}
.stage-footnote {
  font-size:.75rem
}
.roll-button {
  min-height:52px
}
.search-panel {
  padding:24px
}
.steps,.two-column {
  grid-template-columns:1fr;
  gap:12px
}
.steps p {
  margin:0 0 12px
}
.how-it-works {
  margin-top:36px
}
.restaurant-grid {
  grid-template-columns:1fr
}
.section-heading {
  align-items:flex-start
}
.collection-view {
  padding-top:8px
}
.collection-view h1 {
  font-size:1.85rem
}
.panel {
  padding:22px
}
.two-column .panel {
  margin:0
}
.dialog-body {
  padding:22px
}
.dialog-body .section-heading {
  gap:8px
}
.dialog-body .detail-facts,.dialog-body .price-facts {
  grid-template-columns:1fr;
  gap:4px
}
.detail-facts dd,.price-facts dd {
  margin-bottom:12px
}
.notice {
  margin:12px 16px 0;
  font-size:.88rem
}
.connection-strip {
  padding-inline:16px;
  font-size:.75rem
}
.button-row>* {
  flex:1 1 auto
}
.participant-status {
  text-align:right
}
.results-section {
  margin-top:36px
}

}

@media(prefers-reduced-motion:reduce) {
  html {
  scroll-behavior:auto
}
*,*::before,*::after {
  animation:none!important;
  transition:none!important
}

}
/* Private feedback form. */
#feedback-form{display:grid;gap:.65rem}
#feedback-form textarea{box-sizing:border-box;width:100%;min-height:8rem;resize:vertical;font:inherit;padding:.8rem;border:1px solid var(--line);border-radius:.75rem;color:var(--text);background:var(--surface)}
.feedback-honeypot{position:absolute;left:-10000px;width:1px;height:1px;overflow:hidden}
#feedback-status{min-height:1.4em;margin:.25rem 0}

@media(min-width:701px) and (max-width:1150px) {
  .app-header { flex-wrap:wrap }
  .app-header nav { order:3; flex-basis:100%; margin-top:4px }
}

.service-advisory {
  max-width:1280px;
  margin:16px auto;
  padding:14px 24px;
  border:1px solid var(--primary);
  border-left-width:4px;
  border-radius:12px;
  background:var(--container);
  color:var(--text);
  line-height:1.5
}
.service-advisory strong { display:block; font-size:1rem }
.service-advisory p { margin:4px 0 0; font-size:.9rem }
@media(max-width:1344px) { .service-advisory { margin-inline:24px } }
@media(max-width:700px) { .service-advisory { margin:12px 16px; padding:12px 16px } }

.restaurant-contacts { margin: 14px 0; gap: 10px; flex-wrap: wrap; }
.restaurant-information { border-top: 1px solid var(--line); padding-top: 16px; margin-top: 20px; }

.group-location { grid-column:1 / -1; }
.group-invitation { margin: 20px 0; }
.group-invitation .button-row { margin-top: 16px; flex-wrap: wrap; }
#group-invite-code { font-family: monospace; letter-spacing: .15em; }
.usage-statistics { margin: 32px 0 0; }
.usage-statistics h2 { font-size: 1.1rem; }
.usage-totals { display: flex; flex-wrap: wrap; gap: 24px; }
.usage-totals p { display: flex; align-items: baseline; gap: 9px; margin: 5px 0; }
.usage-totals strong { font-size: 1.8rem; }
#usage-country-list { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fit,minmax(180px,1fr)); gap: 8px 24px; }
#usage-country-list li { display: flex; justify-content: space-between; gap: 16px; }

/* The six classic themes keep their original, flat mascot. */
.dice-face { display:none; }
.dice-front { display:block; width:100%; height:100%; }
/* 3D is an explicit extra design, using the same local artwork. */
body[data-theme="3d"] .play-stage { position: relative; isolation: isolate; background: radial-gradient(ellipse at 50% 47%,color-mix(in srgb,var(--primary) 12%,transparent),transparent 66%); }
body[data-theme="3d"] .dice-scene { position:relative; perspective:1100px; padding-block:35px 40px; }
body[data-theme="3d"] .dice-scene::before { content:""; position:absolute; width:72%; max-width:260px; height:35px; bottom:9px; border-radius:50%; background:radial-gradient(ellipse,#0006,transparent 70%); transform:scaleY(.7); pointer-events:none; }
body[data-theme="3d"] .food-dice { --dice-size:230px; width:var(--dice-size); height:var(--dice-size); overflow:visible; border-radius:0; box-shadow:none; background:none; transform-style:preserve-3d; transform:rotateX(-17deg) rotateY(-25deg) rotateZ(-6deg); }
body[data-theme="3d"] .dice-face { display:block; position:absolute; inset:0; border-radius:8px; backface-visibility:hidden; border:1px solid #fff8; overflow:hidden; background:linear-gradient(145deg,#fff6d4,#e2b27a); box-shadow:inset 2px 3px 3px #fff9,inset -5px -6px 12px #70441b33; }
body[data-theme="3d"] .dice-face::after { content:""; position:absolute; inset:0; border-radius:inherit; background:linear-gradient(135deg,#ffffff66,transparent 40%,#00000018); pointer-events:none; }
body[data-theme="3d"] .dice-front { transform:translateZ(calc(var(--dice-size) / 2)); }
body[data-theme="3d"] .dice-right { transform:rotateY(90deg) translateZ(calc(var(--dice-size) / 2)); background:linear-gradient(135deg,#f4c77e,#c77d37); }
body[data-theme="3d"] .dice-top { transform:rotateX(90deg) translateZ(calc(var(--dice-size) / 2)); background:linear-gradient(145deg,#fff9e9,#f5d9a1); }
body[data-theme="3d"] .dice-back { transform:rotateY(180deg) translateZ(calc(var(--dice-size) / 2)); }
body[data-theme="3d"] .dice-left { transform:rotateY(-90deg) translateZ(calc(var(--dice-size) / 2)); }
body[data-theme="3d"] .dice-bottom { transform:rotateX(-90deg) translateZ(calc(var(--dice-size) / 2)); }
body[data-theme="3d"] .panel,body[data-theme="3d"] .search-panel,body[data-theme="3d"] .restaurant-card,body[data-theme="3d"] dialog { background:linear-gradient(145deg,color-mix(in srgb,var(--surface) 94%,white),var(--surface)); box-shadow:inset 0 1px 0 #ffffff18,0 2px 0 color-mix(in srgb,var(--line) 70%,transparent),0 16px 38px #00000018; }
body[data-theme="3d"] .button-primary,body[data-theme="3d"] .button-secondary { box-shadow:inset 0 1px 0 #ffffff40,0 4px 0 color-mix(in srgb,var(--line) 80%,#000),0 8px 18px #0002; transition:transform .14s ease,box-shadow .14s ease; }
body[data-theme="3d"] .roll-button { box-shadow:inset 0 2px 0 #ffffff55,0 6px 0 color-mix(in srgb,var(--action) 65%,#000),0 12px 28px color-mix(in srgb,var(--action) 18%,transparent); }
body[data-theme="3d"] .button-primary:active:not(:disabled),body[data-theme="3d"] .button-secondary:active:not(:disabled) { transform:translateY(3px);box-shadow:inset 0 1px 0 #ffffff40,0 1px 0 var(--line); }
@media(hover:hover) { body[data-theme="3d"] .button-primary:hover:not(:disabled),body[data-theme="3d"] .button-secondary:hover:not(:disabled) { transform:translateY(-1px); } }
@keyframes roll-dice-3d { 0%,100% { transform:rotateX(-17deg) rotateY(-25deg) rotateZ(-6deg) translateY(0); } 42% { transform:rotateX(-34deg) rotateY(155deg) rotateZ(13deg) translateY(-16px); } 75% { transform:rotateX(-17deg) rotateY(335deg) rotateZ(-10deg) translateY(3px); } }
@media(min-width:1280px) { body[data-theme="3d"] .food-dice { --dice-size:240px; } }
@media(max-width:700px) { body[data-theme="3d"] .food-dice { --dice-size:174px; } body[data-theme="3d"] .dice-scene { min-height:242px; padding-block:32px; } }
body.motion-reduced .food-dice { animation:none; }
body.motion-reduced .button-primary,body.motion-reduced .button-secondary { transition:none; }
@media(prefers-reduced-motion:reduce) { .food-dice { animation:none!important; } .button-primary,.button-secondary { transition:none; } }

body[data-theme="3d"] .is-rolling .food-dice { animation-name:roll-dice-3d; }
body[data-theme="3d"].motion-reduced .food-dice { animation:none; }

.sr-only { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0; }

body[data-theme="3d"] .dice-scene { padding-block:40px 60px; }
@media(max-width:700px) { body[data-theme="3d"] .dice-scene { padding-block:32px 48px; } }

/* Follow the decision order in both the DOM and the visible layout. */
.step-eyebrow { color:var(--secondary); font-size:.8rem; font-weight:700; letter-spacing:.04em; margin:0 0 10px; }
.play-stage .step-eyebrow { margin-bottom:10px; }
#start-discovering { margin-top:18px; }
.roll-location { color:var(--secondary); font-size:.85rem; max-width:34rem; margin:0 auto 18px; overflow-wrap:anywhere; }
.result-navigation { display:flex; flex-wrap:wrap; justify-content:center; align-items:center; gap:12px 20px; margin:24px 0 0; padding:20px 0; border-top:1px solid var(--line); }
.result-navigation p { margin:0; flex-basis:100%; text-align:center; }
.restaurant-card--compact h3 { font-size:1.4rem; margin-top:0; }
.restaurant-card--compact .cuisine { margin:4px 0 0; }
.restaurant-distance { color:var(--secondary); font-size:1.3rem; font-weight:650; margin:18px 0 22px; }
.restaurant-card--compact .actions { margin-top:auto; }
@media(max-width:700px) { .result-navigation>button { width:100%; } }

/* Design and language stay together; settings remains a separate action. */
.header-actions>label { display:flex; flex-direction:column; align-items:stretch; gap:2px; }
.design-picker { display:flex; flex-direction:column; gap:2px; font-size:.75rem; color:var(--muted); }
.design-picker select { width:190px; min-height:44px; padding:8px; font-size:.9rem; margin:0; }
@media(max-width:1240px) {
  .app-header { flex-wrap:wrap; gap:12px 20px; }
  .app-header nav { order:3; flex-basis:100%; margin:0; overflow-x:auto; }
}
@media(max-width:700px) {
  .header-actions { order:2; flex-basis:100%; margin-left:0; display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr); gap:12px; }
  .header-actions .language-picker,.header-actions .design-picker { flex-direction:column; align-items:stretch; gap:2px; }
  .header-actions select { width:100%; min-width:0; }
  .app-header>.settings-button { margin-left:auto; }
}

/* A single decision surface, with the next action always in reach. */
#decision-panel { overflow-anchor:none; scroll-margin-top:12px; }
.decision-location { display:flex; align-items:center; justify-content:center; gap:10px; margin-bottom:14px; }
.decision-location .roll-location { margin:0; }
.decision-location #edit-search { flex:none; font-size:.78rem; padding:8px; min-height:40px; }
.decision-status:empty { display:none; }
.decision-status { margin:6px 0 0; font-size:.82rem; text-align:center; }
.decision-status.error { color:var(--error); }
.has-results .play-layout { grid-template-columns:minmax(0,740px); justify-content:center; gap:0; }
.has-results #location-panel,.has-results .stage-heading,.has-results #mode-picker,.has-results #dice-scene,.has-results .stage-caption,.has-results #round-caption,.has-results .how-it-works { display:none; }
.has-results .play-stage { width:100%; padding:0; text-align:left; min-height:calc(100svh - 120px); }
.has-results .decision-location { justify-content:space-between; }
.has-results .results-section { margin:0; }
.has-results .section-heading { margin-bottom:10px; align-items:center; }
.has-results #results-heading { font-size:1.1rem; }
.has-results #result-cards { display:block; margin:0; }
.has-results .restaurant-card { padding:18px; }
.has-results .restaurant-card h3 { margin:0; font-size:1.45rem; line-height:1.25; }
.has-results .restaurant-card .address { margin:6px 0 12px; }
.decision-facts { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr); gap:12px 18px; margin:0 0 16px; }
.decision-facts>div { min-width:0; }
.decision-facts dt { color:var(--muted); font-size:.74rem; margin-bottom:3px; }
.decision-facts dd { margin:0; font-size:.97rem; font-weight:650; overflow-wrap:anywhere; }
.decision-facts .decision-price { grid-column:1/-1; }
.decision-price-note { display:block; margin-top:3px; font-size:.84rem; font-weight:400; color:var(--muted); }
.has-results .restaurant-card .actions { border-top:1px solid var(--line); padding-top:12px; }
.round-choices { display:flex; gap:6px; margin-top:10px; }
.round-choices button { min-width:0; flex:1; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; border:1px solid var(--line); border-radius:8px; font-size:.75rem; min-height:38px; padding:6px; }
.round-choices button[aria-pressed="true"] { background:var(--container); color:var(--primary); }
.has-results { padding-bottom:110px; }
.has-results .decision-actions { display:flex; flex-direction:column; position:fixed; z-index:20; bottom:0; left:50%; transform:translateX(-50%); width:min(100%,780px); padding:10px 20px calc(10px + env(safe-area-inset-bottom)); background:var(--background); border-top:1px solid var(--line); box-shadow:0 -8px 24px #0002; text-align:center; }
.has-results .decision-actions .roll-button { width:100%; min-height:48px; margin:0; }
.has-results #result-navigation-caption { margin:0 0 6px; font-size:.74rem; }
@media(max-width:700px) {
 .has-results .restaurant-card { padding:14px; }
 .has-results .restaurant-card h3 { font-size:1.25rem; }
 .has-results .decision-location { margin-bottom:10px; }
 .has-results .roll-location { font-size:.77rem; }
 .decision-facts { gap:9px 12px; margin-bottom:12px; }
 .decision-facts dd { font-size:.88rem; }
 .has-results .restaurant-card .actions { gap:6px; padding-top:10px; }
 .has-results .restaurant-card .actions button,.has-results .restaurant-card .actions a { min-height:36px; padding:7px 8px; font-size:.75rem; }
 .has-results .decision-actions { padding-inline:16px; }
}

/* Search complexity and the optional thumb control are independent of themes. */
.experience-switch { display:flex; gap:6px; margin:8px 0 18px; }
.experience-switch button { flex:1; min-height:44px; border:1px solid var(--line); border-radius:12px; background:var(--surface); color:var(--text); font:inherit; }
.experience-switch button[aria-pressed="true"] { border-color:var(--primary); background:var(--container); color:var(--primary); font-weight:700; }
.active-rules { margin:12px 0; padding:10px 12px; border:1px solid var(--line); border-radius:12px; }
.active-rules p { margin:0; font-size:.8rem; color:var(--muted); overflow-wrap:anywhere; }
#selection-control { width:100%; margin:6px 0 18px; }
#roulette-control { width:100%; text-align:center; }
.roulette-wheel { position:relative; display:block; width:100%; height:68px; overflow:hidden; border:2px solid var(--primary); border-radius:999px; background:var(--container); color:var(--text); touch-action:pan-y; cursor:grab; }
.roulette-wheel:active { cursor:grabbing; }
.roulette-reel { display:block; white-space:nowrap; font-size:30px; line-height:62px; transform:translateX(var(--roulette-drag,0px)); user-select:none; pointer-events:none; }
.roulette-pointer { position:absolute; left:50%; top:-8px; transform:translateX(-50%); font-size:32px; color:var(--primary); pointer-events:none; }
#roulette-hint { display:block; margin:2px 0 5px; font-size:.7rem; color:var(--muted); }
body[data-selection-control="roulette"] .has-results { padding-bottom:200px; }
.restaurant-photo { margin:12px 0 24px; }
.restaurant-photo img { display:block; width:100%; max-height:55svh; object-fit:contain; border-radius:12px; }
.restaurant-photo figcaption { margin-top:8px; font-size:.8rem; overflow-wrap:anywhere; }
@media(max-height:500px) and (orientation:landscape) {
  .roulette-wheel { height:44px; }
  .roulette-reel { font-size:22px; line-height:38px; }
  #roulette-hint { display:none; }
  .has-results .decision-actions { padding-block:6px; }
  .has-results .decision-actions .roll-button { min-height:44px; }
  .decision-facts { grid-template-columns:repeat(3,minmax(0,1fr)); gap:6px 12px; }
  .decision-facts .decision-price { grid-column:auto; }
}

/* Controls remain readable and operable at larger text sizes and with keyboard focus. */
button, .button-primary, .button-secondary, summary { min-height:44px; }
.has-results .restaurant-card .actions button,.has-results .restaurant-card .actions a { min-height:44px; }
.round-choices { flex-wrap:wrap; }
.round-choices button { min-height:44px; min-width:5rem; white-space:normal; overflow:visible; text-overflow:clip; }
button { overflow-wrap:anywhere; }
@media (forced-colors:active) {
  button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,summary:focus-visible { outline:3px solid Highlight; }
  .mode-button[aria-pressed="true"], .round-choices button[aria-pressed="true"] { border:3px solid Highlight; }
}

/* Let navigation wrap with larger text instead of overlapping five fixed columns. */
.app-header nav { display:flex; flex-wrap:wrap; }
.app-header nav button { flex:1 1 auto; max-width:100%; white-space:normal; padding:.5rem .65rem; }
.has-results { padding-bottom:calc(var(--decision-bar-height, 200px) + 16px); }
body[data-selection-control="roulette"] .has-results { padding-bottom:calc(var(--decision-bar-height, 200px) + 16px); }
.has-results .decision-actions { max-height:40svh; overflow-y:auto; }
html { scroll-padding-bottom:calc(var(--decision-bar-height, 0px) + 16px); }

.currency-settings,.currency-comparison{margin-block:1rem;padding-block:1rem;border-top:1px solid var(--border)}
.currency-selectors{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.75rem}.currency-selectors select{width:100%;min-width:0}.currency-result{font-weight:700;font-size:1.05rem;overflow-wrap:anywhere}#currency-dialog label{display:grid;gap:.4rem;margin-block:.75rem}#currency-dialog input,#currency-dialog select{min-height:44px}#currency-dialog{max-width:min(36rem,calc(100vw - 2rem));width:100%}
@media(max-width:350px){.currency-selectors{grid-template-columns:1fr}}

body.has-decision-actions .site-footer{padding-bottom:calc(var(--decision-bar-height,110px) + 2rem + env(safe-area-inset-bottom))}.currency-settings select{min-height:44px;width:100%}

/* Give feedback, app distribution and usage their own clear place. */
.feedback-shortcut { display:inline-flex; align-items:center; justify-content:center; gap:7px; flex:none; font-size:.85rem; padding:10px 13px; }
.feedback-shortcut svg { width:19px; height:19px; }
.settings-button { display:inline-flex; align-items:center; justify-content:center; gap:7px; }
.settings-button svg { width:20px; height:20px; }
.decision-data-note { margin:0 0 12px; padding:10px 12px; border-left:3px solid var(--line); color:var(--muted); font-size:.8rem; line-height:1.55; }
.connection-strip { flex-wrap:wrap; gap:8px 16px; }
.site-footer { margin:24px 0 0; padding:36px 32px 24px; border-top:1px solid var(--line); background:color-mix(in srgb,var(--surface) 45%,var(--background)); color:var(--text); }
.footer-inner { width:100%; max-width:1216px; margin-inline:auto; }
.footer-grid { display:grid; grid-template-columns:minmax(0,1.15fr) minmax(0,1fr) minmax(0,.9fr); gap:20px; align-items:stretch; }
.footer-card { min-width:0; padding:26px; border:1px solid var(--line); border-radius:var(--radius); background:var(--surface); }
.footer-card-heading { display:flex; align-items:center; gap:12px; margin-bottom:20px; }
.footer-icon { display:grid; place-items:center; flex:none; width:42px; height:42px; border-radius:13px; color:var(--secondary); background:var(--container); }
.footer-card .footer-kicker { margin:0; font-size:.72rem; font-weight:750; letter-spacing:.07em; text-transform:uppercase; color:var(--muted); }
.footer-card h3 { margin:0 0 12px; font-family:var(--heading); font-size:1.4rem; line-height:1.2; text-wrap:balance; }
.footer-card p { max-width:none; overflow-wrap:anywhere; }
.footer-card .footer-card-copy { margin:0 0 20px; color:var(--muted); font-size:.88rem; line-height:1.65; }
.footer-feedback { background:color-mix(in srgb,var(--primary) 6%,var(--surface)); border-color:color-mix(in srgb,var(--primary) 55%,var(--line)); }
.footer-feedback .footer-icon { color:var(--primary); }
.feedback-totals { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; margin:24px 0 20px; }
.feedback-totals p { display:flex; flex-direction:column; gap:4px; margin:0; padding:14px; background:var(--surface); border:1px solid var(--line); border-radius:14px; }
.feedback-totals strong { font-size:2.1rem; font-weight:800; line-height:1.1; font-variant-numeric:tabular-nums; }
.feedback-totals span { color:var(--muted); font-size:.8rem; }
.feedback-cta { display:flex; justify-content:space-between; align-items:center; gap:16px; width:100%; min-height:52px; padding:14px 18px; text-align:left; }
.footer-card .footer-footnote { margin:12px 0 0; font-size:.76rem; color:var(--muted); }
.footer-card details { margin:18px 0 0; padding:4px 0 0; border-top:1px solid var(--line); font-size:.78rem; }
.footer-card summary { min-height:44px; padding:11px 0; font-size:.78rem; color:var(--muted); }
.footer-card details p { margin:8px 0; font-size:.78rem; line-height:1.65; color:var(--muted); }
.footer-card [role="status"] { font-size:.8rem; color:var(--muted); margin:12px 0; }
.footer-card [role="status"]:empty { display:none; }
.footer-download { display:flex; justify-content:center; align-items:center; gap:10px; min-height:52px; padding:13px 14px; text-align:center; }
.footer-download span { min-width:0; overflow-wrap:anywhere; }
.footer-card .footer-version { margin:12px 0 0; color:var(--muted); }
.footer-version small { font-size:.76rem; }
.download-statistics { margin-top:24px; }
#download-total { display:flex; flex-wrap:wrap; align-items:baseline; gap:4px 8px; margin:0; }
#apk-download-count { font-size:1.6rem; font-weight:750; font-variant-numeric:tabular-nums; }
#download-total span { color:var(--muted); font-size:.8rem; }
.site-footer .usage-statistics { display:block; margin:0; box-shadow:none; }
.site-footer .usage-statistics>.section-heading { display:flex; align-items:flex-start; gap:8px; margin-bottom:8px; }
.site-footer .usage-refresh { display:inline-flex; justify-content:center; align-items:center; flex:none; margin:-9px -10px 0 auto; padding:11px; min-height:44px; min-width:44px; }
.usage-refresh svg { width:18px; height:18px; }
.site-footer .usage-totals { display:block; margin:24px 0; }
.site-footer .usage-totals p { display:flex; flex-direction:column; gap:4px; margin:0; }
.site-footer .usage-totals strong { font-size:2.4rem; font-weight:800; line-height:1.1; font-variant-numeric:tabular-nums; }
.site-footer .usage-totals span { font-size:.85rem; color:var(--muted); }
#usage-country-count { font-variant-numeric:tabular-nums; }
#usage-country-list { padding-left:20px; margin:8px 0; font-size:.8rem; }
.footer-bottom { display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:12px 24px; margin-top:28px; padding-top:20px; border-top:1px solid var(--line); font-size:.76rem; }
.footer-brand { display:flex; align-items:center; gap:9px; min-height:44px; color:var(--text); font-weight:750; text-decoration:none; }
.footer-bottom p { margin:0; color:var(--muted); }
.footer-bottom #privacy-link { display:inline-flex; align-items:center; min-height:44px; color:var(--secondary); }
@media(max-width:960px) {
  .footer-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .footer-feedback { grid-column:1/-1; }
  .footer-feedback .feedback-totals { max-width:28rem; }
  .footer-feedback .feedback-cta { max-width:28rem; }
}
@media(max-width:700px) {
  .app-header .feedback-shortcut { margin-left:auto; font-size:.8rem; padding:9px 11px; }
  .app-header>.settings-button { margin-left:0; min-width:44px; min-height:44px; }
  .settings-button span { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0; }
  .site-footer { margin-top:16px; padding:24px 16px 20px; }
  .footer-grid { gap:16px; }
  .footer-card { padding:22px; }
  .footer-bottom { align-items:flex-start; gap:8px; }
  .footer-bottom p { flex-basis:100%; }
}
@media(max-width:600px) {
  .footer-grid { grid-template-columns:minmax(0,1fr); }
  .footer-feedback { grid-column:auto; }
  .footer-card h3 { font-size:1.35rem; }
}

/* Regional release news follows the current source availability. */
.coverage-news{display:flex;align-items:flex-start;gap:1rem;padding:1.25rem 1.4rem;border-inline-start:4px solid var(--action);background:var(--surface);}
.coverage-globe{flex:0 0 2.6rem;color:var(--action);}
.coverage-globe svg{width:100%;fill:none;stroke:currentColor;stroke-width:1.6;}
.coverage-content{min-width:0;overflow-wrap:anywhere;}
.coverage-news .coverage-kicker{margin:0 0 .3rem;font-size:.72rem;text-transform:uppercase;letter-spacing:.13em;font-weight:700;color:var(--text);}
.coverage-news h2{margin:0 0 .5rem;font-size:1.12rem;line-height:1.35;}
.coverage-news p{margin:.35rem 0 0;line-height:1.6;}
.coverage-news .coverage-note{font-size:.8rem;color:var(--muted);}
@media(max-width:480px){.coverage-news{padding:1rem;gap:.7rem;}.coverage-globe{display:none;}.coverage-news h2{font-size:1rem;}}

/* Keep the first search in reach; secondary appearance controls stay available. */
.display-toggle{display:none;}
.coverage-news{padding:.8rem 1.1rem;gap:.8rem;}
.coverage-news h2{margin-bottom:.15rem;font-size:1rem;}
.coverage-news .coverage-kicker{margin-bottom:.1rem;}
.coverage-news summary{min-height:44px;display:list-item;padding:.5rem 0;color:var(--text);font-size:.8rem;}
.coverage-news details[open] summary{margin-bottom:.4rem;}
.input-action button{flex:none;min-width:82px;white-space:nowrap;overflow-wrap:normal;font-weight:650;}
.input-action input{flex:1;width:100%;}
.app-header nav button{font-weight:600;color:var(--text);}
.mode-picker button[aria-pressed="true"]{background:var(--container);border-color:var(--primary);color:var(--primary);font-weight:750;}
.closed-badge{display:inline-block;border:2px solid var(--error);border-radius:8px;padding:6px 10px;color:var(--text);background:var(--surface);font-size:.88rem;font-weight:750;}
@media(max-width:700px){
 .app-header{padding:12px;gap:6px;}
 .app-header .brand{font-size:.75rem;gap:6px;}
 .app-header .brand img{width:32px;height:32px;}
 .display-toggle{display:inline-flex;align-items:center;justify-content:center;min-width:44px;min-height:44px;padding:6px;}
 .app-header>.settings-button{margin-left:0;}
 .app-header>.feedback-shortcut{padding:6px 8px;min-height:44px;font-size:.75rem;}
 .app-header .header-actions{display:none;}
 .display-options-open .app-header .header-actions{display:grid;}
 .app-header nav{gap:4px;}
 .coverage-news{padding:.65rem .9rem;}
 .coverage-news h2{font-size:.95rem;}
 .coverage-news .coverage-globe{display:none;}
 .coverage-news summary{padding:.35rem 0;}
}
