/* ==========================================================================
   theme.css — Teppan Hinoko, theme "kuro-teppan". Iron-black, one warm lamp.
   Calm, flat, hairlines, light Fraunces at large size, small letter-spaced
   Inter labels, square-ish corners, one readable column (40rem).
   The one decoration is the "sauce and mayo" drizzle: two fine parallel
   wavy lines (sauce brown + cream) used as every divider.

   Contrast (WCAG): text #F3E9D8 on #141210 15:1, on #2B2724 12:1;
   muted #B8AC9A on #141210 8.4:1, on #2B2724 6.5:1;
   accent #C8742B as text only on #141210 (5.5:1); on surfaces the tint
   #E09A5A (6.3:1 on #2B2724). Buttons: #141210 on #C8742B 5.5:1.

   1. Variables  2. Base  3. Pieces  4. Sections  5. Wider screens  6. Motion
   ========================================================================== */

/* ---- 1. Variables -------------------------------------------------------- */

:root {
  color-scheme: dark;

  --bg: #141210;
  --surface: #2B2724;
  --surface-2: #34302C;
  --text: #F3E9D8;
  --muted: #B8AC9A;
  --accent: #C8742B;
  --accent-text: #E09A5A;
  --line: #3D3732;
  --line-strong: #5A5148;

  --font-head: 'Fraunces', 'Shippori Mincho', 'Hiragino Mincho ProN', 'Yu Mincho', serif;
  --font-ja-head: 'Shippori Mincho', 'Hiragino Mincho ProN', 'Yu Mincho', serif;
  --font-body: 'Inter', 'Hiragino Sans', 'Yu Gothic', 'Noto Sans JP', Meiryo, system-ui, sans-serif;

  --gutter: 1.25rem;
  --column: 40rem;
  --radius: 2px;
  --space-section: 3.25rem;

  --drizzle: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='96' height='12' viewBox='0 0 96 12' fill='none'%3E%3Cpath d='M0 4Q12-1 24 4T48 4T72 4T96 4' stroke='%23C8742B' stroke-width='1.5'/%3E%3Cpath d='M0 8Q12 3 24 8T48 8T72 8T96 8' stroke='%23F3E9D8' stroke-opacity='.7' stroke-width='1.2'/%3E%3C/svg%3E");

  /* Variables read by base.css */
  --focus-color: #E09A5A;
  --focus-width: 2px;
  --focus-offset: 3px;
  --tap-min: 44px;
  --actionbar-height: 3.5rem;
  --ja-line-height: 1.8;
  --ja-letter-spacing: 0.02em;
  --demo-bg: #2B2724;
  --demo-fg: #F3E9D8;
  --demo-font: var(--font-body);
  --demo-font-size: 0.75rem;
  --demo-radius: 2px;
}

/* ---- 2. Base ------------------------------------------------------------- */

html {
  background: var(--bg);
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
}

p,
ul,
ol,
dl {
  margin: 0;
}

ul,
ol {
  padding: 0;
  list-style: none;
}

.wrap {
  width: min(100% - 2 * var(--gutter), var(--column));
  margin-inline: auto;
}

.demo-badge__label {
  border: 1px solid var(--line-strong);
}

/* ---- 3. Pieces ----------------------------------------------------------- */

/* Titles */
.title,
.today__title {
  margin: 0 0 1.5rem;
  font-family: var(--font-head);
  font-weight: 300;
  font-size: clamp(1.875rem, 7vw, 2.5rem);
  line-height: 1.15;
  letter-spacing: -0.005em;
  color: var(--text);
}

html[lang="ja"] .title,
html[lang="ja"] .today__title {
  font-family: var(--font-ja-head);
  font-weight: 500;
  font-size: clamp(1.625rem, 6.4vw, 2.125rem);
  line-height: 1.4;
  letter-spacing: 0.04em;
}

.subtitle {
  margin: 2.5rem 0 0.75rem;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent-text);
}

.lead {
  margin: -0.5rem 0 1.5rem;
  max-width: 34rem;
  color: var(--muted);
}

/* Buttons */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  min-height: 3rem;
  padding: 0.5rem 1.75rem;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: transparent;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  text-align: center;
}

.button:hover {
  border-color: var(--accent-text);
  color: var(--accent-text);
}

.button--primary {
  border-color: var(--accent);
  background: var(--accent);
  color: #141210;
}

.button--primary:hover {
  border-color: var(--accent-text);
  background: var(--accent-text);
  color: #141210;
}

html[lang="ja"] .button {
  letter-spacing: 0.08em;
}

/* Drizzle dividers: two fine parallel wavy lines, sauce and mayo */
.header::after,
.band::before,
.today::before,
.card::before {
  content: "";
  display: block;
  height: 12px;
  background: var(--drizzle) repeat-x center / 96px 12px;
}

/* Hours-style rows */
.hours__row,
.lastorders__row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.625rem 0.75rem;
  border-bottom: 1px solid var(--line);
}

/* Letter marks on menu items */
.marks {
  display: inline-flex;
  gap: 0.25rem;
  margin-left: 0.5rem;
  vertical-align: 0.1em;
}

.mark {
  display: inline-block;
  min-width: 1.25rem;
  padding: 0 0.25rem;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  color: var(--muted);
  font-family: var(--font-body);
  font-size: 0.6875rem;
  font-weight: 600;
  line-height: 1.2rem;
  letter-spacing: 0;
  text-align: center;
}

.mark[data-mark="V"] {
  border-color: var(--accent);
  color: var(--accent-text);
}

/* ---- 4. Sections in page order ------------------------------------------- */

/* header */
.header__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: min(100% - 2 * var(--gutter), var(--column));
  margin-inline: auto;
  padding-top: 0.5rem;
}

.brand {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  column-gap: 0.75rem;
  min-height: var(--tap-min);
  align-content: center;
  text-decoration: none;
}

.brand__name {
  font-family: var(--font-head);
  font-weight: 300;
  font-size: 1.25rem;
  letter-spacing: 0.01em;
}

.brand__ja {
  font-family: var(--font-ja-head);
  font-weight: 500;
  font-size: 0.8125rem;
  letter-spacing: 0.16em;
  color: var(--accent-text);
}

.lang {
  display: flex;
  gap: 0;
}

.lang__button {
  min-width: var(--tap-min);
  min-height: var(--tap-min);
  padding: 0 0.25rem;
  border: 0;
  border-bottom: 2px solid transparent;
  background: transparent;
  color: var(--muted);
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  cursor: pointer;
}

.lang__button:hover {
  color: var(--text);
}

.lang__button[aria-pressed="true"] {
  color: var(--text);
  border-bottom-color: var(--accent);
}

.nav {
  width: min(100% - 2 * var(--gutter), var(--column));
  margin-inline: auto;
}

.nav__list {
  display: flex;
  justify-content: space-between;
  gap: 0.5rem;
  border-top: 1px solid var(--line);
}

.nav__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: var(--tap-min);
  min-height: var(--tap-min);
  color: var(--muted);
  font-size: 0.8125rem;
  letter-spacing: 0.01em;
  white-space: nowrap;
  text-decoration: none;
}

.nav__link:hover {
  color: var(--text);
}

html[lang="ja"] .nav__link {
  letter-spacing: 0.04em;
}

/* hero */
.hero {
  padding: 2.75rem 0 var(--space-section);
}

.hero__headline {
  margin: 0;
  font-family: var(--font-head);
  font-weight: 300;
  font-size: clamp(2.5rem, 11.5vw, 5rem);
  line-height: 1.05;
  letter-spacing: -0.01em;
}

.hero__latin {
  display: block;
}

.hero__ja {
  display: block;
  margin-top: 0.75rem;
  font-family: var(--font-ja-head);
  font-weight: 500;
  font-size: clamp(1rem, 4vw, 1.375rem);
  letter-spacing: 0.4em;
  line-height: 1.4;
  color: var(--accent-text);
}

.hero__sub {
  margin-top: 1.5rem;
  max-width: 30rem;
  color: var(--muted);
  font-size: 1.0625rem;
}

.hero__actions {
  margin-top: 1.75rem;
}

.hero__plate {
  display: block;
  width: 100%;
  height: auto;
  margin-top: 2.5rem;
  border-radius: var(--radius);
}

/* shared band */
.band {
  padding-bottom: var(--space-section);
}

.band::before {
  margin-bottom: var(--space-section);
}

/* visit */
.status {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  margin: -0.25rem 0 1rem;
  font-size: 0.9375rem;
}

.status__dot {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  border: 1px solid var(--muted);
}

.status[data-state="open"] .status__dot {
  background: var(--accent-text);
  border-color: var(--accent-text);
}

.status__label {
  font-weight: 600;
}

.status__detail {
  color: var(--muted);
}

.hours__row {
  box-shadow: inset 0 0 0 transparent;
}

.hours__row[data-closed="true"] {
  color: var(--muted);
}

.hours__row[data-today="true"] {
  background: var(--surface);
  box-shadow: inset 2px 0 0 var(--accent-text);
}

.hours__time {
  margin: 0;
  text-align: right;
  font-variant-numeric: tabular-nums;
}

.hours__period {
  display: block;
}

.lastorders__row {
  flex-direction: column;
  gap: 0.125rem;
}

.lastorders dt {
  font-weight: 600;
  font-size: 0.9375rem;
}

.lastorders dd {
  margin: 0;
  color: var(--muted);
  font-size: 0.9375rem;
}

.address {
  display: block;
  font-style: normal;
  padding-inline: 0.75rem;
  line-height: 1.7;
}

.address span {
  display: block;
}

.address__area {
  color: var(--muted);
}

/* course: the numbered menu card */
.course .wrap {
  width: min(100% - 2 * var(--gutter), 34rem);
}

.card {
  padding: 0 0 0.5rem;
  text-align: center;
  counter-reset: serving;
}

.card::before {
  margin-bottom: 2.25rem;
}

.title--card {
  margin-bottom: 0.5rem;
}

.course__price {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.course__amount {
  font-family: var(--font-head);
  font-weight: 300;
  font-size: 2rem;
  line-height: 1.2;
  color: var(--accent-text);
}

.course__per {
  color: var(--muted);
  font-size: 0.8125rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.course__intro {
  max-width: 28rem;
  margin: 0 auto 2.25rem;
  color: var(--muted);
}

.servings {
  margin: 0 auto;
  border-top: 1px solid var(--line);
}

.serving {
  display: grid;
  gap: 0.25rem;
  padding: 1.25rem 0 1.25rem;
  border-bottom: 1px solid var(--line);
  counter-increment: serving;
}

.serving::before {
  content: counter(serving, decimal-leading-zero);
  font-family: var(--font-head);
  font-weight: 300;
  font-size: 0.9375rem;
  letter-spacing: 0.12em;
  color: var(--accent-text);
}

.serving__name {
  font-family: var(--font-head);
  font-weight: 300;
  font-size: 1.3125rem;
  line-height: 1.3;
}

html[lang="ja"] .serving__name {
  font-family: var(--font-ja-head);
  font-weight: 500;
  font-size: 1.1875rem;
  line-height: 1.5;
}

.serving__desc {
  color: var(--muted);
  font-size: 0.9375rem;
}

.pairing {
  display: grid;
  gap: 0.125rem;
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--line);
}

.pairing__label {
  font-weight: 600;
}

.pairing__note {
  color: var(--muted);
  font-size: 0.9375rem;
}

.pairing__price {
  color: var(--accent-text);
  font-variant-numeric: tabular-nums;
}

.course__note {
  max-width: 28rem;
  margin: 1.5rem auto 0;
  color: var(--muted);
  font-size: 0.9375rem;
}

.card__actions {
  margin-top: 1.75rem;
}

/* booking */
.rules {
  border-top: 1px solid var(--line);
  counter-reset: rule;
}

.rule {
  position: relative;
  padding: 1.25rem 0 1.25rem 2.5rem;
  border-bottom: 1px solid var(--line);
  counter-increment: rule;
}

.rule::before {
  content: counter(rule);
  position: absolute;
  left: 0;
  top: 1.15rem;
  font-family: var(--font-head);
  font-weight: 300;
  font-size: 1.375rem;
  line-height: 1.3;
  color: var(--accent-text);
}

.rule__label {
  margin: 0 0 0.25rem;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.5;
}

.rule__text {
  color: var(--muted);
  font-size: 0.9375rem;
}

.channels {
  display: grid;
  gap: 0.75rem;
  margin-top: 1.75rem;
}

.channel {
  flex-direction: column;
  gap: 0.125rem;
  min-height: 3.5rem;
}

.channel__value {
  font-size: 0.9375rem;
  font-weight: 400;
  letter-spacing: 0.02em;
  text-transform: none;
}

.channel[data-channel="phone"] {
  border-color: var(--accent);
}

/* menu */
.menu__key {
  margin: 0 0 0.5rem;
  padding: 0.625rem 0.75rem;
  background: var(--surface);
  border-radius: var(--radius);
  color: var(--text);
  font-size: 0.8125rem;
  letter-spacing: 0.04em;
}

.cat {
  margin-top: 3rem;
  scroll-margin-top: 1rem;
}

.cat__head {
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--line-strong);
}

.cat__name {
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
  margin: 0;
  font-family: var(--font-head);
  font-weight: 300;
  font-size: 1.5rem;
  line-height: 1.3;
}

html[lang="ja"] .cat__name {
  font-family: var(--font-ja-head);
  font-weight: 500;
  font-size: 1.375rem;
}

.cat__kanji {
  font-family: var(--font-ja-head);
  font-weight: 500;
  font-size: 0.875rem;
  letter-spacing: 0.2em;
  color: var(--accent-text);
}

html[data-lang="ja"] .cat__kanji {
  display: none;
}

.cat__note {
  margin-top: 0.25rem;
  color: var(--muted);
  font-size: 0.875rem;
}

.item {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1rem;
  padding: 0.875rem 0;
  border-bottom: 1px solid var(--line);
}

.item__name {
  font-weight: 600;
  font-size: 0.9688rem;
  line-height: 1.5;
}

.item__desc {
  margin-top: 0.125rem;
  color: var(--muted);
  font-size: 0.875rem;
  line-height: 1.55;
}

.item__price {
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  color: var(--text);
}

.item:has([data-tag="signature"]) .item__name {
  color: var(--text);
}

/* sake */
.sake__head,
.label {
  display: grid;
  grid-template-columns: 1fr 4.25rem 4.25rem;
  column-gap: 0.5rem;
}

.sake__head {
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--line-strong);
  color: var(--accent-text);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.sake__col {
  grid-column: auto;
  text-align: right;
}

.sake__col:first-child {
  grid-column: 2;
}

.label {
  padding: 0.875rem 0;
  border-bottom: 1px solid var(--line);
  align-items: baseline;
}

.label__name {
  grid-column: 1;
  grid-row: 1;
  font-weight: 600;
}

.label__ja {
  margin-left: 0.625rem;
  font-family: var(--font-ja-head);
  font-weight: 500;
  font-size: 0.9375rem;
  letter-spacing: 0.1em;
  color: var(--accent-text);
}

.label__desc {
  grid-column: 1;
  grid-row: 2;
  margin-top: 0.125rem;
  color: var(--muted);
  font-size: 0.875rem;
  line-height: 1.55;
}

.label__price {
  grid-row: 1;
  text-align: right;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  font-size: 0.9375rem;
}

.label__price:nth-of-type(3) {
  grid-column: 2;
}

.label__price:nth-of-type(4) {
  grid-column: 3;
}

.sake__note {
  margin-bottom: 2rem;
}

/* dietary */
.legend {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.625rem 1rem;
  margin-bottom: 1.5rem;
  font-size: 0.9375rem;
}

.legend__item {
  display: flex;
  align-items: center;
  gap: 0.625rem;
}

.notes {
  display: grid;
  gap: 0.875rem;
  color: var(--muted);
  font-size: 0.9375rem;
}

.notes li {
  position: relative;
  padding-left: 1.25rem;
}

.notes li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.8em;
  width: 0.5rem;
  height: 1px;
  background: var(--accent-text);
}

.dietary__closing {
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  font-weight: 600;
}

/* counter */
.counter__image {
  display: block;
  width: 100%;
  height: auto;
  margin: 0 0 1.75rem;
  border-radius: var(--radius);
}

.counter__text + .counter__text {
  margin-top: 1rem;
}

.counter__text {
  color: var(--muted);
}

.counter__text:first-of-type {
  color: var(--text);
}

/* today: a noticeboard box, self-contained */
.today {
  width: min(100% - 2 * var(--gutter), var(--column));
  margin: 0 auto var(--space-section);
  padding: 1.5rem 1.25rem 1.5rem;
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-top: 3px solid var(--accent);
  border-radius: var(--radius);
}

.today::before {
  display: none;
}

.today__title {
  margin: 0 0 1rem;
  padding-bottom: 0.625rem;
  border-bottom: 1px dashed var(--line-strong);
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent-text);
}

html[lang="ja"] .today__title {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.875rem;
  line-height: 1.6;
  letter-spacing: 0.12em;
}

.today__list {
  display: grid;
  gap: 0.75rem;
}

.today__item {
  position: relative;
  padding-left: 1rem;
  line-height: 1.55;
}

.today__item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.65em;
  width: 0.375rem;
  height: 0.375rem;
  background: var(--accent-text);
}

/* contact */
.contact__map {
  display: block;
  width: 100%;
  height: auto;
  margin-bottom: 1.5rem;
  border-radius: var(--radius);
}

.directions {
  display: grid;
  gap: 0.375rem;
  margin-bottom: 1.25rem;
  color: var(--muted);
}

.contact .address {
  padding-inline: 0;
  margin-bottom: 1.5rem;
}

.contact__actions {
  margin-bottom: 1.5rem;
}

.contact__list {
  border-top: 1px solid var(--line);
}

.contact__list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 3.25rem;
  border-bottom: 1px solid var(--line);
}

.contact__label {
  color: var(--muted);
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.contact__link {
  display: inline-flex;
  align-items: center;
  min-height: var(--tap-min);
  font-size: 1.0625rem;
  text-decoration-color: var(--accent);
  text-underline-offset: 0.25em;
}

/* footer */
.footer {
  padding: 0 0 2.5rem;
  text-align: center;
}

.footer::before {
  content: "";
  display: block;
  height: 12px;
  margin-bottom: 2rem;
  background: var(--drizzle) repeat-x center / 96px 12px;
}

.footer__name {
  margin-bottom: 0.5rem;
}

.footer__latin {
  font-family: var(--font-head);
  font-weight: 300;
  font-size: 1.125rem;
}

.footer__ja {
  margin-left: 0.75rem;
  font-family: var(--font-ja-head);
  font-weight: 500;
  font-size: 0.8125rem;
  letter-spacing: 0.16em;
  color: var(--accent-text);
}

.footer__legal {
  color: var(--muted);
  font-size: 0.8125rem;
}

/* action bar (mobile) */
.actionbar {
  display: flex;
  background: var(--surface);
  border-top: 1px solid var(--line-strong);
}

.actionbar__item {
  flex: 1 1 0;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: var(--actionbar-height);
  padding: 0 0.5rem;
  color: var(--text);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  order: 0;
}

.actionbar__item + .actionbar__item {
  border-left: 1px solid var(--line-strong);
}

.actionbar__item[data-primary] {
  order: -1;
  background: var(--accent);
  color: #141210;
}

/* ---- 5. Wider screens ---------------------------------------------------- */

@media (min-width: 48em) {
  :root {
    --gutter: 2rem;
    --space-section: 4.5rem;
  }

  .header__bar {
    padding-top: 0.75rem;
  }

  .hero {
    padding-top: 4.5rem;
  }

  .hero__sub {
    font-size: 1.125rem;
  }

  .channels {
    grid-template-columns: 1fr 1fr;
  }

  .legend {
    grid-template-columns: repeat(4, auto);
    justify-content: space-between;
  }

  .serving {
    padding-block: 1.5rem;
  }
}

/* ---- 6. Motion ----------------------------------------------------------- */

@media (prefers-reduced-motion: no-preference) {
  .button,
  .nav__link,
  .lang__button {
    transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
  }
}

/* The course card draws its own drizzle at the top, so the band's is dropped. */
.course.band::before {
  display: none;
}

html[lang="ja"] .menu__key {
  padding-inline: 0.625rem;
  font-size: 0.75rem;
  letter-spacing: 0;
}

.channel {
  width: 100%;
}

/* ---- Fix round 1 ---- */
.lang__full,
.lang__button[lang="ja"] .lang__short {
  display: none;
}

.lang__button[lang="ja"] .lang__full {
  display: inline;
}

.menu__key {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  margin: 0 0 0.5rem;
  padding: 0.625rem 0.75rem;
  background: var(--surface);
  border-radius: var(--radius);
  font-size: 0.8125rem;
}

.legend__item {
  white-space: nowrap;
}

.tag {
  margin-left: 0.5rem;
  color: var(--accent-text);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  white-space: nowrap;
}

.actionbar {
  box-sizing: border-box;
  height: calc(var(--actionbar-height) + env(safe-area-inset-bottom, 0px));
}

:root {
  --actionbar-height: 3.5rem;
  --demo-font-size: 0.6875rem;
  --demo-gap: 0.25rem;
}

.demo-badge__label {
  padding: 0.15rem 0.5rem;
  opacity: 0.92;
}

@media (min-width: 48em) {
  .channels {
    grid-template-columns: repeat(2, max-content);
    gap: 0.75rem;
    justify-content: start;
  }

  .channel {
    width: auto;
  }
}

.actionbar__item {
  min-height: calc(var(--actionbar-height) - 1px);
}

.lang__button {
  white-space: nowrap;
  padding-inline: 0.5rem;
}

/* ---- Fix round 2: no system CJK font on the sv/en pages ---- */
:root {
  --font-body-latin: 'Inter', 'Shippori Mincho', 'Hiragino Sans', 'Yu Gothic', 'Noto Sans JP', Meiryo, system-ui, sans-serif;
}

html[data-lang="sv"] body,
html[data-lang="en"] body,
html[data-lang="sv"] button,
html[data-lang="en"] button {
  font-family: var(--font-body-latin);
}

.lang__full {
  font-family: var(--font-ja-head);
  font-weight: 500;
  letter-spacing: 0.08em;
}
