/* Kaiten belt (Inicio) — styles for public/kaiten.js, dark mode, Sushiko colors.
   Belt colors follow the original component's dark tokens, mixed from the theme's --ink/--bg/--muted. */
.kt {
  --belt: color-mix(in oklab, var(--ink) 16%, var(--bg));
  --belt-side: color-mix(in oklab, var(--ink) 7%, var(--bg));
  --rail: color-mix(in oklab, var(--muted) 72%, var(--bg));
  --island: color-mix(in oklab, var(--brand-red) 14%, color-mix(in oklab, var(--ink) 10%, var(--bg)));
  --island-low: color-mix(in oklab, var(--ink) 7%, var(--bg));
  --island-wall: color-mix(in oklab, var(--ink) 4%, var(--bg));
  position: relative; isolation: isolate; overflow: hidden; width: 100%;
  padding: calc(10px + env(safe-area-inset-top)) 16px 22px;
  background:
    radial-gradient(64% 52% at 50% 58%, color-mix(in oklab, var(--ink) 6%, transparent), transparent 72%),
    radial-gradient(90% 40% at 50% 0%, rgba(236, 76, 44, .16), transparent 70%),
    var(--bg);
  color: var(--ink);
}
.kt-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.kt-logo { width: 64px; height: 64px; border-radius: 16px; object-fit: cover; background: #000; box-shadow: 0 6px 18px rgba(0,0,0,.45); }
.kt-cartbox { display: flex; align-items: center; gap: 8px; }
.kt-flash {
  border-radius: 99px; background: var(--ink); color: #111; font-size: 11px; font-weight: 800; padding: 4px 10px;
  opacity: 0; transform: translateX(4px); transition: opacity .3s, transform .3s; pointer-events: none;
}
.kt-flash.on { opacity: 1; transform: none; }
.kt-cart {
  display: inline-flex; align-items: center; gap: 7px; height: 40px; padding: 0 14px; border-radius: 99px;
  border: 1px solid var(--line); background: var(--surface); color: var(--ink); font-weight: 800; font-size: 14px;
  box-shadow: 0 4px 14px rgba(0,0,0,.35);
}
.kt-cart svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linejoin: round; }
.kt-cart b { font-variant-numeric: tabular-nums; min-width: 1ch; }
.kt-cart.has { background: var(--brand-red); border-color: var(--brand-red); color: #fff; }

.kt-head { display: flex; flex-direction: column; align-items: center; gap: 6px; margin-top: 14px; text-align: center; }
.kt-eyebrow { font-size: 11px; font-weight: 700; letter-spacing: .26em; text-transform: uppercase; color: var(--muted); }
.kt-title { font-family: var(--display); font-weight: 600; font-size: clamp(26px, 7.4vw, 34px); line-height: 1.08; letter-spacing: .01em; text-wrap: balance; max-width: 18ch; }
.kt-legend { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 14px; margin-top: 4px; font-size: 11.5px; color: var(--muted); font-variant-numeric: tabular-nums; max-width: 20rem; }
.kt-legend li { display: inline-flex; align-items: center; gap: 6px; }
.kt-legend span { width: 11px; height: 11px; border-radius: 50%; border: 3px solid; }

.kt-stage { position: relative; width: 100%; height: 260px; margin-top: 8px; touch-action: pan-y; user-select: none; -webkit-user-select: none; overflow-x: clip; }
.kt-counter {
  position: absolute; inset-inline: 0; pointer-events: none;
  background: linear-gradient(to bottom, color-mix(in oklab, var(--ink) 9%, transparent) 0 1px, transparent 1px, color-mix(in oklab, var(--ink) 5%, transparent) 40%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, #000 18%, #000 82%, transparent);
  mask-image: linear-gradient(to right, transparent, #000 18%, #000 82%, transparent);
}
.kt-belt { position: absolute; inset: 0; pointer-events: none; }
.kt-belt svg { position: absolute; left: 0; top: 0; overflow: visible; }

/* Plate: an ellipse (tilted) with a kaiten-colored rim by price and the dish photo cropped round. */
.kt-plate { position: absolute; left: 0; top: 0; border-radius: 50%; cursor: pointer; outline: none; will-change: transform; -webkit-touch-callout: none; transition: none !important; }
.kt-plate:active { transform: none; } /* the premium theme's tap shrink would fight the per-frame transform */
.kt-plate:focus-visible { outline: 2px solid var(--ink); outline-offset: 4px; }
.kt-shadow-wrap { position: absolute; inset: 0; pointer-events: none; opacity: .9; }
.kt-shadow { position: absolute; inset: 16% 5% -9%; border-radius: 50%; background: #000; }
.kt-lift { position: absolute; inset: 0; }
.kt-dish {
  position: absolute; inset: 0; border-radius: 50%;
  background: radial-gradient(circle at 50% 40%, #fbf8f3, #e7e1d8 70%);
  border: max(3px, calc(var(--d, 100px) * .07)) solid var(--tier);
  box-shadow: inset 0 0 0 max(1px, calc(var(--d, 100px) * .012)) rgba(255,255,255,.55), 0 1px 0 rgba(255,255,255,.25);
}
.kt-plate img { position: absolute; inset: 13%; width: 74%; height: 74%; border-radius: 50%; object-fit: cover; pointer-events: none; user-select: none; -webkit-user-drag: none; }
.kt-plate.broken .kt-dish::after { content: ""; position: absolute; inset: 30%; border-radius: 50%; background: rgba(0,0,0,.12); }
.kt-shade { position: absolute; inset: 0; border-radius: 50%; background: #000; opacity: 0; pointer-events: none; }
.kt-anchor { position: absolute; left: 50%; top: 0; width: 0; height: 0; pointer-events: none; }
.kt-chip {
  position: absolute; bottom: 7px; left: 0; display: flex; align-items: center; gap: 6px; white-space: nowrap;
  transform: translate(-50%, 4px); opacity: 0; transition: opacity .3s, transform .3s;
  border-radius: 99px; border: 1px solid var(--line); background: var(--surface); color: var(--ink);
  padding: 5px 10px 5px 8px; font-size: 11.5px; font-weight: 800; line-height: 1;
  box-shadow: 0 6px 16px -6px rgba(0,0,0,.7);
}
.kt-chip i { width: 7px; height: 7px; border-radius: 50%; background: var(--tier); }
.kt-chip span { color: var(--muted); font-weight: 700; font-variant-numeric: tabular-nums; }
.kt-chip.on { opacity: 1; transform: translate(-50%, 0); }

.kt-controls { position: relative; z-index: 10; display: flex; justify-content: center; gap: 8px; margin-top: 2px; }
.kt-ctl {
  display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 50%;
  border: 1px solid var(--line); background: var(--surface); color: var(--muted); box-shadow: 0 2px 8px rgba(0,0,0,.3);
}
.kt-ctl svg { width: 15px; height: 15px; }
.kt-ctl:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.kt-caption { max-width: 28rem; margin: 10px auto 0; min-height: 3.9rem; text-align: center; font-size: 14px; color: var(--muted); }
.kt-caption p.on { color: var(--ink); font-weight: 800; }
.kt-caption p.on span { color: var(--muted); font-weight: 600; font-variant-numeric: tabular-nums; }
.kt-caption .desc { margin-top: 3px; font-size: 13px; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.kt-action { display: flex; justify-content: center; margin-top: 12px; }
.kt-more { min-width: 220px; height: 50px; box-shadow: 0 10px 26px rgba(236, 76, 44, .3); }

/* Dish card. */
.kt-dialog { position: fixed; inset: 0; z-index: 95; display: flex; align-items: center; justify-content: center; padding: 16px; overflow-y: auto; }
.kt-backdrop { position: absolute; inset: 0; background: rgba(8, 7, 7, .8); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); opacity: 0; transition: opacity .3s; }
.kt-card { position: relative; display: grid; gap: 18px; width: 100%; max-width: 420px; padding: 22px 20px 20px; }
.kt-card-bg { position: absolute; inset: 0; border-radius: 28px; border: 1px solid var(--line); background: var(--surface); box-shadow: 0 30px 80px rgba(0,0,0,.6); opacity: 0; transform: scale(.97); transition: opacity .3s, transform .3s; }
.kt-close { position: absolute; right: 10px; top: 10px; z-index: 2; display: inline-flex; align-items: center; gap: 6px; padding: 8px 12px; border-radius: 99px; font-size: 13px; font-weight: 700; color: var(--muted); opacity: 0; transition: opacity .3s; }
.kt-close svg { width: 14px; height: 14px; }
.kt-figure { position: relative; width: min(64vw, 40vh, 260px); aspect-ratio: 1; margin: 18px auto 0; }
.kt-fig-shadow { position: absolute; inset: 14% 8% -4%; border-radius: 50%; background: #000; opacity: .7; filter: blur(22px); }
.kt-fig-dish { position: absolute; inset: 0; border-radius: 50%; background: radial-gradient(circle at 50% 40%, #fbf8f3, #e7e1d8 70%); border: 12px solid var(--tier); }
.kt-figure img { position: absolute; inset: 12%; width: 76%; height: 76%; border-radius: 50%; object-fit: cover; }
.kt-info { position: relative; display: flex; flex-direction: column; gap: 10px; text-align: center; opacity: 0; transform: translateY(8px); transition: opacity .5s .15s, transform .5s .15s; }
.kt-index { display: flex; align-items: center; justify-content: center; gap: 8px; font: 600 11px/1 ui-monospace, Menlo, monospace; letter-spacing: .2em; color: var(--muted); }
.kt-index i { width: 8px; height: 8px; border-radius: 50%; background: var(--tier); }
.kt-info h3 { font-family: var(--display); font-weight: 600; font-size: 30px; line-height: 1.05; letter-spacing: .01em; }
.kt-desc { font-size: 14px; line-height: 1.5; color: var(--muted); }
.kt-details { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; }
.kt-details li { border: 1px solid var(--line); border-radius: 99px; padding: 4px 11px; font-size: 12px; color: var(--muted); }
.kt-buy { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 14px; margin-top: 4px; }
.kt-price { font-size: 26px; font-weight: 900; font-variant-numeric: tabular-nums; }
.kt-add { display: inline-flex; align-items: center; gap: 8px; height: 48px; padding: 0 22px; border-radius: 99px; background: var(--brand-red); color: #fff; font-weight: 900; font-size: 15px; box-shadow: 0 10px 24px rgba(236, 76, 44, .35); }
.kt-add svg { width: 16px; height: 16px; }
.kt-add:disabled { opacity: .5; }
.kt-dialog.shown .kt-backdrop, .kt-dialog.shown .kt-close, .kt-dialog.shown .kt-card-bg { opacity: 1; }
.kt-dialog.shown .kt-card-bg { transform: none; }
.kt-dialog.shown .kt-info { opacity: 1; transform: none; }

/* Inicio of Sushiko: the belt is the cover, so the photo banner and the second logo go away. */
#v-home .hero { display: none; }
#v-home .logo-card { margin-top: 6px; }
#v-home .logo-card .logo, #v-home .logo-card .order-now, #v-home .logo-card .tagline { display: none; }

@media (prefers-reduced-motion: reduce) {
  .kt-chip, .kt-flash, .kt-backdrop, .kt-card-bg, .kt-close, .kt-info { transition: none; }
}
