@font-face {
  font-family: "GameFont";
  src: url("assets/fonts/game-font.ttf") format("truetype");
  font-display: swap;
}

:root {
  --paper: #fff8e8;
  --paper-soft: #fffdf6;
  --paper-deep: #edd7ad;
  --ink: #241d1a;
  --sumi: #342621;
  --muted-ink: #725d4a;
  --red: #d64f45;
  --red-deep: #982f2d;
  --red-dark: #6f2020;
  --gold: #d6a84c;
  --gold-soft: #f1d27b;
  --leaf: #6f8b68;
  --shadow: rgba(36, 29, 26, 0.22);
  --card-border: #2a211e;
  --title-card-ratio: 0.72;
  --game-font: "GameFont", "Hiragino Maru Gothic ProN", "Yu Gothic", "Meiryo", sans-serif;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  color: var(--ink);
  font-family: var(--game-font);
  background:
    url("assets/title/gold-flakes.png?v=20260505g") 0 0 / 1200px auto repeat fixed,
    url("assets/title/washi-texture.png?v=20260505") center / cover fixed,
    repeating-linear-gradient(90deg, rgba(36, 29, 26, 0.025) 0 1px, transparent 1px 9px),
    linear-gradient(135deg, #f6dfcf 0%, #fff9ea 42%, #ead4aa 100%);
  background-blend-mode: normal, multiply, normal, normal;
  background-size: 1200px auto, cover, 100% 100%, 100% 100%;
  overflow-x: hidden;
}

body:has(.game-screen.is-active) {
  overflow: hidden;
}

body:has(.title-screen.is-active) {
  overflow: hidden;
}

body:has(.result-screen.is-active) {
  height: 100vh;
  height: 100svh;
  height: 100dvh;
  overflow: hidden;
  overscroll-behavior: none;
}

button {
  font: inherit;
}

.app-shell {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: 18px;
}

.site-credit {
  position: fixed;
  left: 50%;
  bottom: 6px;
  bottom: max(6px, env(safe-area-inset-bottom));
  z-index: 30;
  margin: 0;
  transform: translateX(-50%);
  color: rgba(88, 69, 51, 0.72);
  font-size: 0.68rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0;
  text-shadow: 0 1px 0 rgba(255, 248, 232, 0.72);
  pointer-events: none;
  user-select: none;
  white-space: nowrap;
}

.audio-toggle {
  position: absolute;
  top: -10px;
  right: -10px;
  z-index: 50;
  display: grid;
  place-items: center;
  width: 42px;
  aspect-ratio: 1;
  padding: 8px;
  border: 2px solid var(--card-border);
  border-radius: 50%;
  background:
    linear-gradient(rgba(255, 255, 255, 0.68), rgba(255, 248, 232, 0.78)),
    var(--paper);
  box-shadow:
    inset 0 0 0 2px rgba(255, 248, 232, 0.62),
    0 5px 12px rgba(36, 29, 26, 0.22);
  cursor: pointer;
}

.audio-toggle img {
  display: block;
  width: 100%;
  height: auto;
}

.audio-toggle.is-muted {
  opacity: 0.74;
  border-color: var(--card-border);
}

.audio-toggle.is-muted::after {
  content: "";
  position: absolute;
  width: 72%;
  height: 3px;
  border-radius: 999px;
  background: var(--red-deep);
  transform: rotate(-45deg);
  box-shadow: 0 1px 0 rgba(255, 248, 232, 0.72);
}

.screen-card-frame .audio-toggle {
  top: -46px;
  right: 36px;
}

.language-toggle {
  position: absolute;
  top: -42px;
  right: 88px;
  z-index: 50;
  min-width: 124px;
  min-height: 34px;
  padding: 4px 12px;
  border: 2px solid var(--card-border);
  border-radius: 999px;
  color: var(--red-deep);
  background:
    linear-gradient(rgba(255, 255, 255, 0.68), rgba(255, 248, 232, 0.78)),
    var(--paper);
  box-shadow:
    inset 0 0 0 2px rgba(255, 248, 232, 0.56),
    0 5px 12px rgba(36, 29, 26, 0.18);
  cursor: pointer;
  font-size: 0.66rem;
  font-weight: 800;
  line-height: 1;
  white-space: nowrap;
}

.audio-toggle:focus-visible,
.language-toggle:focus-visible {
  outline: 2px solid var(--card-border);
  outline-offset: 1px;
}

.is-lang-en .title-panel .eyebrow {
  font-size: clamp(0.7rem, 3.15vw, 0.86rem);
}

.is-lang-en .title-panel .lead {
  max-width: 21rem;
  font-size: clamp(0.82rem, 2.2vw, 1rem);
  line-height: 1.55;
}

.kasumi-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.kasumi-image {
  position: absolute;
  width: clamp(235px, 28vw, 400px);
  height: auto;
  opacity: 0.52;
  filter: drop-shadow(0 1px 8px rgba(214, 168, 76, 0.1));
  user-select: none;
}

.kasumi-image-left {
  left: clamp(-72px, -16vw, -36px);
  top: clamp(140px, 23svh, 210px);
  transform: scale(0.88);
  transform-origin: left center;
}

.kasumi-image-left-top {
  left: clamp(-20px, -4vw, 2px);
  top: clamp(-18px, 0svh, 14px);
  transform: scale(0.78);
  transform-origin: left center;
}

.kasumi-image-right {
  right: clamp(-88px, -19vw, -48px);
  top: clamp(52px, 9svh, 96px);
  transform: scale(0.96);
  transform-origin: right center;
}

.app-shell:has(.game-screen.is-active) {
  padding: 18px;
  align-items: center;
  overflow: hidden;
}

.app-shell:has(.result-screen.is-active) {
  align-items: center;
  height: 100vh;
  height: 100svh;
  height: 100dvh;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior-y: contain;
  -webkit-overflow-scrolling: touch;
}

.app-shell:has(.result-screen.is-active) .site-credit {
  display: none;
}

.screen {
  position: relative;
  z-index: 1;
  display: none;
  width: min(100%, 760px);
}

.screen.is-active {
  display: block;
}

.screen-card-frame {
  position: relative;
  width: 100%;
}

.title-screen {
  width: min(calc(100vw - 36px), clamp(340px, 34vw, 620px), calc((100vh - 36px) * var(--title-card-ratio)));
  width: min(calc(100vw - 36px), clamp(340px, 34vw, 620px), calc((100svh - 36px) * var(--title-card-ratio)));
  width: min(calc(100vw - 36px), clamp(340px, 34vw, 620px), calc((100dvh - 36px) * var(--title-card-ratio)));
}

.paper-panel,
.paper-strip {
  position: relative;
  border: 3px solid var(--card-border);
  border-radius: 20px;
  background:
    linear-gradient(rgba(255, 255, 255, 0.58), rgba(255, 255, 255, 0.1)),
    repeating-linear-gradient(0deg, rgba(36, 29, 26, 0.035) 0 1px, transparent 1px 7px),
    var(--paper);
  box-shadow:
    inset 0 0 0 3px rgba(214, 168, 76, 0.54),
    inset 0 0 0 8px rgba(255, 248, 232, 0.78),
    0 18px 50px var(--shadow);
}

.paper-panel > *,
.paper-strip > * {
  position: relative;
  z-index: 1;
}

.paper-panel::before {
  content: "";
  position: absolute;
  inset: 12px;
  border: 1px solid rgba(152, 47, 45, 0.32);
  border-radius: 14px;
  pointer-events: none;
}

.title-panel,
.result-panel {
  padding: clamp(26px, 6vw, 54px);
  text-align: center;
}

.title-panel {
  overflow: hidden;
  width: 100%;
  min-width: 0;
  aspect-ratio: 0.72 / 1;
  min-height: 0;
  max-height: calc(100vh - 36px);
  max-height: calc(100svh - 36px);
  max-height: calc(100dvh - 36px);
  padding: clamp(22px, 5.2vw, 36px) clamp(22px, 5vw, 34px);
  display: grid;
  align-content: start;
  justify-items: center;
  border-width: 7px;
  border-radius: 7px;
  color: #fff5dc;
  background:
    url("assets/title/washi-texture1.png?v=20260505") center / cover,
    linear-gradient(rgba(176, 52, 46, 0.86), rgba(176, 52, 46, 0.9)),
    url("assets/title/washi-texture.png?v=20260505") center / cover,
    radial-gradient(circle at 50% 24%, rgba(255, 236, 180, 0.08) 0 92px, transparent 93px),
    radial-gradient(circle at 18% 61%, rgba(255, 217, 158, 0.12) 0 2px, transparent 3px),
    radial-gradient(circle at 74% 54%, rgba(255, 217, 158, 0.14) 0 2px, transparent 3px),
    repeating-linear-gradient(0deg, rgba(255, 250, 226, 0.025) 0 1px, transparent 1px 8px),
    linear-gradient(180deg, #b93632 0%, #c8493e 48%, #aa332f 100%);
  background-blend-mode: multiply, normal, multiply, normal, normal, normal, normal, normal;
  box-shadow: 0 18px 38px rgba(36, 29, 26, 0.36);
}

.title-panel::after {
  content: "";
  position: absolute;
  inset: auto -10% -34px -10%;
  z-index: 0;
  height: 34%;
  border-radius: 0;
  background:
    url("assets/title/silver-grass.png?v=20260505b") center 76% / cover no-repeat,
    linear-gradient(180deg, #0c0d0d, #020303);
  background-blend-mode: normal, normal;
  clip-path: ellipse(62% 96% at 50% 100%);
  opacity: 1;
  pointer-events: none;
}

.title-panel::before {
  inset: 12px;
  z-index: 1;
  border: 2px solid rgba(241, 210, 123, 0.88);
  border-radius: 4px;
  box-shadow:
    inset 0 0 0 1px rgba(36, 29, 26, 0.42),
    0 0 0 1px rgba(255, 248, 232, 0.16);
}

.title-frame-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  border-radius: inherit;
  box-shadow:
    inset 0 0 0 3px rgba(20, 15, 14, 0.58),
    inset 0 0 0 6px rgba(214, 168, 76, 0.82),
    inset 0 0 0 9px rgba(255, 239, 169, 0.18);
  pointer-events: none;
}

.title-decor,
.title-decor > * {
  pointer-events: none;
}

.title-decor {
  position: absolute;
  inset: 0;
  z-index: 2;
  overflow: hidden;
}

.title-decor::after {
  content: "";
  position: absolute;
  z-index: 4;
  width: 102%;
  aspect-ratio: 1448 / 1086;
  left: 50%;
  top: -11%;
  transform: translateX(-50%);
  background: url("assets/title/washi-texture1.png?v=20260505") center / cover;
  mix-blend-mode: multiply;
  opacity: 0.42;
  mask: url("assets/title/cherry-blossoms.png?v=20260505c") center / 100% 100% no-repeat;
  -webkit-mask: url("assets/title/cherry-blossoms.png?v=20260505c") center / 100% 100% no-repeat;
  pointer-events: none;
}

.title-sakura {
  position: absolute;
  z-index: 3;
  width: 102%;
  max-width: none;
  left: 50%;
  top: -11%;
  transform: translateX(-50%);
  filter: drop-shadow(0 4px 3px rgba(61, 35, 23, 0.2));
}

.title-moon {
  position: absolute;
  z-index: 1;
  width: 31%;
  aspect-ratio: 1;
  left: 50%;
  top: 12%;
  transform: translateX(-50%);
  border: 2px solid rgba(214, 168, 76, 0.84);
  border-radius: 50%;
  background:
    linear-gradient(rgba(255, 245, 216, 0.78), rgba(255, 245, 216, 0.78)),
    url("assets/title/washi-texture1.png?v=20260505") center / cover,
    repeating-linear-gradient(120deg, rgba(152, 47, 45, 0.035) 0 1px, transparent 1px 8px),
    radial-gradient(circle at 35% 30%, #fff7dc, #f7e2aa 74%);
  background-blend-mode: normal, multiply, normal, normal;
  box-shadow:
    inset 0 0 18px rgba(214, 168, 76, 0.22),
    0 8px 18px rgba(75, 29, 24, 0.18);
}

.title-butterfly {
  position: absolute;
  z-index: 2;
  width: 13%;
  height: auto;
  opacity: 0.9;
  mix-blend-mode: screen;
  filter: sepia(0.08) saturate(1.02) drop-shadow(0 3px 2px rgba(61, 35, 23, 0.18));
}

.butterfly-1 {
  left: 11.5%;
  top: 21.5%;
  transform: rotate(-18deg) scale(0.88);
}

.butterfly-2 {
  right: 18.5%;
  top: 16%;
  transform: rotate(18deg) scale(0.9);
}

.butterfly-3 {
  right: 11.5%;
  top: 66.5%;
  transform: rotate(-24deg) scale(0.92);
}

.butterfly-4 {
  left: 13%;
  top: 64%;
  transform: rotate(14deg) scale(0.92);
}

.butterfly-5 {
  left: 4%;
  top: 81%;
  z-index: 4;
  transform: rotate(-24deg) scale(0.77);
}

.butterfly-6 {
  right: 8%;
  top: 84.5%;
  z-index: 4;
  transform: rotate(18deg) scale(0.77);
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--red-deep);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0;
}

.title-panel .eyebrow,
.result-panel .eyebrow {
  display: inline-flex;
  justify-self: center;
  padding: 5px 13px;
  border: 1px solid rgba(214, 168, 76, 0.62);
  border-radius: 999px;
  background: rgba(255, 253, 246, 0.72);
  color: var(--red-deep);
}

.title-panel .eyebrow {
  z-index: 4;
  top: 8px;
  margin-top: 38%;
  margin-bottom: clamp(10px, 2svh, 14px);
  width: min(96%, 23.5rem);
  justify-content: center;
  padding: 5px 12px;
  border-color: rgba(214, 168, 76, 0.88);
  background: linear-gradient(180deg, #fff9e8, #f5dfb9);
  box-shadow: 0 3px 7px rgba(75, 29, 24, 0.18);
  font-size: clamp(0.72rem, 3.35vw, 0.85rem);
  white-space: nowrap;
}

h1,
h2 {
  margin: 0;
  color: var(--sumi);
  line-height: 1.14;
  letter-spacing: 0;
}

h1 {
  font-size: clamp(2.1rem, 9vw, 4.6rem);
  text-shadow: 0 3px 0 rgba(214, 168, 76, 0.26);
}

.title-panel h1 {
  z-index: 4;
  top: 18px;
  display: grid;
  justify-self: center;
  justify-items: center;
  gap: 0.12em;
  width: max-content;
  color: #ffe9b8;
  font-size: clamp(2.62rem, 10.48vw, 4.38rem);
  line-height: 1.02;
  text-align: center;
  text-shadow:
    0 3px 0 rgba(97, 38, 26, 0.98),
    0 6px 12px rgba(36, 29, 26, 0.46);
}

.title-panel h1 span {
  display: block;
  white-space: nowrap;
}

.title-panel h1 .tight-kana {
  display: inline-block;
  margin-inline: -0.14em -0.1em;
}

.title-panel h1::after {
  content: "──── ✿ ────";
  justify-self: center;
  margin-top: clamp(16px, 2.8svh, 24px);
  color: var(--gold-soft);
  font-size: clamp(0.72rem, 2vw, 0.95rem);
  line-height: 1;
  text-shadow: 0 1px 4px rgba(36, 29, 26, 0.42);
}

h2 {
  font-size: clamp(1.9rem, 7vw, 3.4rem);
}

.lead {
  max-width: 30rem;
  margin: 20px auto 28px;
  color: var(--muted-ink);
  font-size: clamp(1rem, 3vw, 1.18rem);
  line-height: 1.8;
}

.title-panel .lead {
  z-index: 4;
  top: 36px;
  max-width: 19.5rem;
  margin: clamp(14px, 2.4svh, 19px) auto 0;
  color: #fff7df;
  font-size: clamp(0.82rem, 2.3vw, 1.02rem);
  line-height: 1.72;
  text-shadow: 0 2px 4px rgba(36, 29, 26, 0.46);
}

.primary-button {
  min-width: 170px;
  min-height: 52px;
  border: 2px solid var(--card-border);
  border-radius: 16px;
  color: #fffaf0;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.16), transparent 28%),
    linear-gradient(180deg, #df5f51, var(--red-deep));
  box-shadow:
    inset 0 0 0 2px rgba(241, 210, 123, 0.32),
    0 7px 0 var(--red-dark),
    0 16px 30px rgba(111, 32, 32, 0.28);
  cursor: pointer;
  font-weight: 800;
}

.primary-button:active {
  transform: translateY(4px);
  box-shadow:
    inset 0 0 0 2px rgba(241, 210, 123, 0.32),
    0 3px 0 var(--red-dark),
    0 10px 20px rgba(111, 32, 32, 0.25);
}

.title-panel .primary-button {
  z-index: 4;
  top: 36px;
  align-self: end;
  width: clamp(154px, 40vw, 212px);
  min-width: 0;
  min-height: 0;
  aspect-ratio: 3 / 1;
  padding: 0 18px;
  margin-top: auto;
  margin-bottom: clamp(9px, 2.2svh, 20px);
  border: 0;
  border-radius: 0;
  color: var(--red-deep);
  background: url("assets/title/button.png?v=20260505") center / 100% 100% no-repeat;
  box-shadow: none;
  text-shadow: 0 1px 0 rgba(255, 253, 246, 0.74);
}

.title-panel .primary-button:hover {
  transform: translateY(-2px);
  filter: brightness(1.06);
}

.title-panel .primary-button:active {
  transform: translateY(2px);
  box-shadow: none;
}

.result-screen {
  width: min(calc(100vw - 36px), clamp(340px, 34vw, 620px), calc((100vh - 36px) * var(--title-card-ratio)));
  width: min(calc(100vw - 36px), clamp(340px, 34vw, 620px), calc((100svh - 36px) * var(--title-card-ratio)));
  width: min(calc(100vw - 36px), clamp(340px, 34vw, 620px), calc((100dvh - 36px) * var(--title-card-ratio)));
  aspect-ratio: 0.72 / 1;
  min-height: 0;
  height: auto;
}

.result-panel {
  position: relative;
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 0.72 / 1;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: none;
  box-shadow: none;
  text-align: center;
}

.result-panel::before {
  display: none;
}

.result-panel .eyebrow {
  display: none;
}

.result-panel h2 {
  position: absolute;
  left: 50%;
  bottom: calc(100% + 4px);
  z-index: 10;
  display: grid;
  place-items: center;
  width: clamp(194px, 52vw, 262px);
  aspect-ratio: 3 / 1;
  margin: 0;
  padding: 0 18px;
  color: var(--red-deep);
  background: url("assets/title/button.png?v=20260505") center / 100% 100% no-repeat;
  font-size: clamp(1.32rem, 5.4vw, 2rem);
  line-height: 1;
  text-shadow: 0 1px 0 rgba(255, 253, 246, 0.74);
  transform: translateX(-50%);
}

.result-panel .primary-button {
  position: absolute;
  z-index: 20;
  left: 50%;
  top: calc(100% - 6px);
  width: clamp(154px, 40vw, 212px);
  min-width: 0;
  min-height: 0;
  aspect-ratio: 3 / 1;
  padding: 0 18px;
  border: 0;
  border-radius: 0;
  color: var(--red-deep);
  background: url("assets/title/button.png?v=20260505") center / 100% 100% no-repeat;
  box-shadow: none;
  text-shadow: 0 1px 0 rgba(255, 253, 246, 0.74);
  transform: translateX(-50%);
}

.result-panel .primary-button:hover {
  transform: translateX(-50%) translateY(-2px);
  filter: brightness(1.06);
}

.result-panel .primary-button:active {
  transform: translateX(-50%) translateY(2px);
  box-shadow: none;
}

.game-screen {
  width: min(calc(100vw - 36px), clamp(340px, 34vw, 620px), calc((100vh - 36px) * var(--title-card-ratio)));
  width: min(calc(100vw - 36px), clamp(340px, 34vw, 620px), calc((100svh - 36px) * var(--title-card-ratio)));
  width: min(calc(100vw - 36px), clamp(340px, 34vw, 620px), calc((100dvh - 36px) * var(--title-card-ratio)));
  aspect-ratio: 0.72 / 1;
  min-height: 0;
  top: 0;
}

.game-screen.is-active {
  display: block;
  min-height: 0;
}

.hud {
  position: absolute;
  left: 50%;
  bottom: calc(100% + 5px);
  display: grid;
  gap: 2px;
  justify-self: center;
  width: 100%;
  padding: 16px 44px 10px;
  border: 0;
  border-radius: 0;
  margin-bottom: 0;
  background: none;
  box-shadow: none;
  z-index: 2;
  transform: translateX(-50%);
}

.hud::before {
  content: "";
  position: absolute;
  z-index: 0;
  left: 50%;
  top: -26px;
  width: 124.5%;
  height: calc(100% + 54px);
  transform: translateX(-50%);
  background: url("assets/title/button.png?v=20260505") center / 100% 100% no-repeat;
  pointer-events: none;
}

.hud-row {
  display: grid;
  gap: 2px;
  align-items: center;
}

.hud-row-primary {
  grid-template-columns: minmax(72px, 0.72fr) minmax(0, 2fr);
}

.hud-row-secondary {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.hud-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-width: 0;
  padding: 1px 8px;
  border: 1px solid rgba(214, 168, 76, 0.55);
  border-radius: 12px;
  color: #fffaf0;
  background: linear-gradient(180deg, var(--sumi), #1e1715);
  box-shadow: inset 0 0 0 1px rgba(255, 248, 232, 0.08);
}

.hud-label {
  display: block;
  font-size: 0.56rem;
}

#timeLabel {
  display: block;
  font-size: 1rem;
  line-height: 1;
}

.hud-stats {
  display: grid;
  gap: 2px;
}

.hud-stats-primary {
  grid-template-columns: repeat(2, minmax(66px, 1fr));
}

.stat-pill {
  min-width: 0;
  min-height: 19px;
  padding: 2px 5px;
  border: 1px solid rgba(214, 168, 76, 0.66);
  border-radius: 10px;
  background:
    linear-gradient(180deg, rgba(255, 253, 246, 0.94), rgba(247, 224, 184, 0.74));
  color: var(--ink);
  font-size: 0.64rem;
  font-weight: 700;
  text-align: center;
  white-space: nowrap;
}

.canvas-wrap {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  width: 100%;
  height: 100%;
  min-height: 0;
  aspect-ratio: 0.72 / 1;
  border: 7px solid var(--card-border);
  border-radius: 7px;
  color: #fff5dc;
  background:
    url("assets/title/washi-texture1.png?v=20260505") center / cover,
    linear-gradient(rgba(176, 52, 46, 0.86), rgba(176, 52, 46, 0.9)),
    url("assets/title/washi-texture.png?v=20260505") center / cover,
    radial-gradient(circle at 50% 24%, rgba(255, 236, 180, 0.08) 0 92px, transparent 93px),
    radial-gradient(circle at 18% 61%, rgba(255, 217, 158, 0.12) 0 2px, transparent 3px),
    radial-gradient(circle at 74% 54%, rgba(255, 217, 158, 0.14) 0 2px, transparent 3px),
    repeating-linear-gradient(0deg, rgba(255, 250, 226, 0.025) 0 1px, transparent 1px 8px),
    linear-gradient(180deg, #b93632 0%, #c8493e 48%, #aa332f 100%);
  background-blend-mode: multiply, normal, multiply, normal, normal, normal, normal, normal;
  box-shadow: 0 18px 38px rgba(36, 29, 26, 0.32);
  touch-action: none;
}

.game-board-curve,
.game-moon,
.game-board-wash,
.game-sakura,
.game-sakura-washi {
  position: absolute;
  pointer-events: none;
}

.game-board-curve {
  inset: auto -10% -34px -10%;
  z-index: 0;
  height: 34%;
  background:
    url("assets/title/silver-grass.png?v=20260505b") center 76% / cover no-repeat,
    linear-gradient(180deg, #0c0d0d, #020303);
  background-blend-mode: normal, normal;
  clip-path: ellipse(62% 96% at 50% 100%);
}

.game-moon {
  z-index: 0;
  width: 31%;
  aspect-ratio: 1;
  left: 50%;
  top: 12%;
  transform: translateX(-50%);
  border: 2px solid rgba(214, 168, 76, 0.84);
  border-radius: 50%;
  background:
    linear-gradient(rgba(255, 245, 216, 0.78), rgba(255, 245, 216, 0.78)),
    url("assets/title/washi-texture1.png?v=20260505") center / cover,
    repeating-linear-gradient(120deg, rgba(152, 47, 45, 0.035) 0 1px, transparent 1px 8px),
    radial-gradient(circle at 35% 30%, #fff7dc, #f7e2aa 74%);
  background-blend-mode: normal, multiply, normal, normal;
  box-shadow:
    inset 0 0 18px rgba(214, 168, 76, 0.22),
    0 8px 18px rgba(75, 29, 24, 0.18);
}

.game-board-wash {
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(
      180deg,
      transparent 0%,
      transparent 62%,
      rgba(255, 248, 232, 0.12) 74%,
      rgba(255, 248, 232, 0.24) 100%
    ),
    linear-gradient(
      180deg,
      rgba(255, 248, 232, 0.28) 0%,
      rgba(255, 248, 232, 0.52) 54%,
      rgba(255, 248, 232, 0.34) 100%
    );
}

.game-sakura,
.game-sakura-washi {
  width: 102%;
  aspect-ratio: 1448 / 1086;
  left: 50%;
  top: -11%;
  max-width: none;
  transform: translateX(-50%);
}

.game-sakura {
  z-index: 3;
  height: auto;
  filter: drop-shadow(0 4px 3px rgba(61, 35, 23, 0.2));
}

.game-sakura-washi {
  z-index: 4;
  background: url("assets/title/washi-texture1.png?v=20260505") center / cover;
  mix-blend-mode: multiply;
  opacity: 0.42;
  mask: url("assets/title/cherry-blossoms.png?v=20260505c") center / 100% 100% no-repeat;
  -webkit-mask: url("assets/title/cherry-blossoms.png?v=20260505c") center / 100% 100% no-repeat;
}

#gameCanvas {
  position: relative;
  z-index: 2;
  display: block;
  width: 100%;
  height: 100%;
}

.character-stage {
  position: absolute;
  pointer-events: none;
  transform-origin: center center;
}

.character-stage img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.character-stage img.is-hidden {
  display: none;
}

.game-character-stage {
  z-index: 5;
  width: var(--character-width, 58px);
  height: var(--character-height, 72px);
  left: var(--character-left, 50%);
  top: var(--character-top, 50%);
  display: none;
  transform: translate(-50%, -50%) scale(var(--character-scale, 1));
}

.game-character-stage.is-visible {
  display: block;
}

.game-character-stage .character-part-ride {
  transform: scale(var(--ride-counter-scale, 1));
  transform-origin: center center;
}

.control-help {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  margin: 0;
  color: rgba(36, 29, 26, 0.7);
  font-size: 0.74rem;
  line-height: 1.35;
  text-align: center;
}

.is-lang-en .game-screen .hud-label,
.is-lang-en .game-screen .stat-pill {
  font-size: 0.52rem;
}

.is-lang-en .game-screen .control-help {
  line-height: 1.4;
}

.result-layout {
  position: relative;
  display: block;
  z-index: 1;
  width: 100%;
  height: auto;
  aspect-ratio: 0.72 / 1;
  margin: 0;
}

.result-character-frame {
  position: relative;
  width: 100%;
  height: auto;
  aspect-ratio: 0.72 / 1;
  border: 7px solid var(--card-border);
  border-radius: 7px;
  background:
    url("assets/title/washi-texture1.png?v=20260505") center / cover,
    linear-gradient(rgba(176, 52, 46, 0.86), rgba(176, 52, 46, 0.9)),
    url("assets/title/washi-texture.png?v=20260505") center / cover,
    radial-gradient(circle at 50% 24%, rgba(255, 236, 180, 0.08) 0 92px, transparent 93px),
    radial-gradient(circle at 18% 61%, rgba(255, 217, 158, 0.12) 0 2px, transparent 3px),
    radial-gradient(circle at 74% 54%, rgba(255, 217, 158, 0.14) 0 2px, transparent 3px),
    repeating-linear-gradient(0deg, rgba(255, 250, 226, 0.025) 0 1px, transparent 1px 8px),
    linear-gradient(180deg, #b93632 0%, #c8493e 48%, #aa332f 100%);
  background-blend-mode: multiply, normal, multiply, normal, normal, normal, normal, normal;
  box-shadow: 0 18px 38px rgba(36, 29, 26, 0.32);
  overflow: hidden;
  isolation: isolate;
}

.result-character-frame::before {
  content: "";
  position: absolute;
  inset: 12px;
  z-index: 7;
  border: 2px solid rgba(241, 210, 123, 0.88);
  border-radius: 4px;
  box-shadow:
    inset 0 0 0 1px rgba(36, 29, 26, 0.42),
    0 0 0 1px rgba(255, 248, 232, 0.16);
  pointer-events: none;
}

.result-frame-overlay {
  position: absolute;
  inset: 0;
  z-index: 9;
  border-radius: inherit;
  box-shadow:
    inset 0 0 0 3px rgba(20, 15, 14, 0.58),
    inset 0 0 0 6px rgba(214, 168, 76, 0.82),
    inset 0 0 0 9px rgba(255, 239, 169, 0.18);
  pointer-events: none;
}

.result-card-decor,
.result-card-decor > * {
  pointer-events: none;
}

.result-card-decor {
  position: absolute;
  inset: 0;
  z-index: auto;
}

.result-moon,
.result-sakura,
.result-sakura-washi,
.result-butterfly,
.result-board-curve {
  position: absolute;
}

.result-moon {
  z-index: 1;
  width: 31%;
  aspect-ratio: 1;
  left: 50%;
  top: 12%;
  transform: translateX(-50%);
  border: 2px solid rgba(214, 168, 76, 0.84);
  border-radius: 50%;
  background:
    linear-gradient(rgba(255, 245, 216, 0.78), rgba(255, 245, 216, 0.78)),
    url("assets/title/washi-texture1.png?v=20260505") center / cover,
    repeating-linear-gradient(120deg, rgba(152, 47, 45, 0.035) 0 1px, transparent 1px 8px),
    radial-gradient(circle at 35% 30%, #fff7dc, #f7e2aa 74%);
  background-blend-mode: normal, multiply, normal, normal;
  box-shadow:
    inset 0 0 18px rgba(214, 168, 76, 0.22),
    0 8px 18px rgba(75, 29, 24, 0.18);
}

.result-sakura,
.result-sakura-washi {
  width: 102%;
  aspect-ratio: 1448 / 1086;
  left: 50%;
  top: -11%;
  max-width: none;
  transform: translateX(-50%);
}

.result-sakura {
  z-index: 8;
  height: auto;
  filter: drop-shadow(0 4px 3px rgba(61, 35, 23, 0.2));
}

.result-sakura-washi {
  z-index: 8;
  background: url("assets/title/washi-texture1.png?v=20260505") center / cover;
  mix-blend-mode: multiply;
  opacity: 0.42;
  mask: url("assets/result/cherry-blossoms1.png?v=20260510") center / 100% 100% no-repeat;
  -webkit-mask: url("assets/result/cherry-blossoms1.png?v=20260510") center / 100% 100% no-repeat;
}

.result-butterfly {
  z-index: 4;
  width: 13%;
  height: auto;
  opacity: 0.9;
  mix-blend-mode: screen;
  filter: sepia(0.08) saturate(1.02) drop-shadow(0 3px 2px rgba(61, 35, 23, 0.18));
}

.result-butterfly-1 {
  left: 11.5%;
  top: 21.5%;
  transform: rotate(-18deg) scale(0.88);
}

.result-butterfly-2 {
  right: 18.5%;
  top: 16%;
  transform: rotate(18deg) scale(0.9);
}

.result-butterfly-3 {
  right: 11.5%;
  top: 66.5%;
  transform: rotate(-24deg) scale(0.92);
}

.result-butterfly-4 {
  left: 13%;
  top: 64%;
  transform: rotate(14deg) scale(0.92);
}

.result-butterfly-5 {
  left: 4%;
  top: 81%;
  z-index: 4;
  transform: rotate(-24deg) scale(0.77);
}

.result-butterfly-6 {
  right: 8%;
  top: 84.5%;
  z-index: 4;
  transform: rotate(18deg) scale(0.77);
}

.result-board-curve {
  inset: auto -10% -34px -10%;
  z-index: 0;
  height: 34%;
  background:
    url("assets/title/silver-grass.png?v=20260505b") center 76% / cover no-repeat,
    linear-gradient(180deg, #0c0d0d, #020303);
  background-blend-mode: normal, normal;
  clip-path: ellipse(62% 96% at 50% 100%);
}

#resultCanvas {
  position: absolute;
  inset: 0;
  z-index: 5;
  display: block;
  width: 100%;
  height: 100%;
}

.result-character-stage {
  z-index: 6;
  display: none;
  width: 100%;
  height: 100%;
  left: 50%;
  top: auto;
  bottom: -6%;
  transform: translateX(-50%) scale(var(--character-scale, 1));
}

.result-character-stage.is-visible {
  display: block;
}

.result-list {
  position: absolute;
  top: calc(100% + 60px);
  left: 0;
  right: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px 5px;
  width: 100%;
  margin: 0;
  text-align: center;
}

.result-list::after {
  content: "© 2026 Kaeru Ochi";
  grid-column: 1 / -1;
  justify-self: center;
  margin: 2px 0 calc(10px + env(safe-area-inset-bottom));
  color: rgba(88, 69, 51, 0.72);
  font-size: 0.68rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0;
  text-shadow: 0 1px 0 rgba(255, 248, 232, 0.72);
  pointer-events: none;
  user-select: none;
  white-space: nowrap;
}

.result-row {
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: auto auto 1fr;
  gap: 3px;
  align-items: start;
  min-width: 0;
  aspect-ratio: 1169 / 1345;
  padding: 10% 8% 13%;
  border: 0;
  border-radius: 0;
  background: url("assets/result/score_card.png?v=20260510") center / 100% 100% no-repeat;
}

.result-row dt {
  overflow-wrap: anywhere;
  color: #6d5747;
  font-size: clamp(0.86rem, 3.1vw, 1.08rem);
  line-height: 1.12;
  text-shadow: 0 1px 0 rgba(255, 253, 246, 0.76);
}

.result-row dt::after {
  content: "── ✿ ──";
  display: block;
  width: 100%;
  height: auto;
  margin: 4px auto 0;
  color: var(--gold-soft);
  font-size: 0.72em;
  line-height: 1;
  letter-spacing: 0;
}

.result-row dd {
  margin: 0;
  font-weight: 800;
}

.result-chip-row {
  grid-template-columns: 1fr;
  gap: 4px;
  align-items: start;
}

.result-chips {
  display: grid;
  justify-items: center;
  align-content: center;
  gap: 3px;
  min-height: 0;
}

.result-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: min(100%, 68px);
  min-height: 25px;
  padding: 3px 8px;
  border-radius: 999px;
  border: 1px solid rgba(36, 29, 26, 0.14);
  background: rgba(255, 253, 246, 0.62);
  color: var(--muted-ink);
  font-size: clamp(0.78rem, 2.85vw, 0.96rem);
  font-weight: 800;
  white-space: nowrap;
}

.result-chip.active {
  border-color: rgba(214, 168, 76, 0.95);
  color: var(--red-deep);
  background: linear-gradient(180deg, rgba(255, 241, 195, 0.98), rgba(232, 151, 122, 0.66));
  box-shadow: inset 0 0 0 1px rgba(255, 250, 240, 0.85);
}

.result-chip.inactive {
  opacity: 0.78;
}

.result-row.is-score {
  grid-template-rows: auto 1fr;
  padding-bottom: 14%;
  background: url("assets/result/score_card.png?v=20260510") center / 100% 100% no-repeat;
}

.result-row.is-score dd {
  display: inline-flex;
  align-items: baseline;
  justify-content: center;
  align-self: center;
  justify-self: center;
  grid-row: 2;
  margin-top: -8%;
  font-size: clamp(1.48rem, 5.3vw, 2.08rem);
  line-height: 1;
}

.result-score-unit {
  font-size: 0.68em;
}

.result-score-unit.has-gap {
  margin-left: 0.14em;
}

.result-row.is-score dt::after {
  margin-top: 5px;
}

.result-row.is-score.is-hanafuda-score dd {
  color: var(--red-deep);
}

.is-lang-en .result-chip {
  min-width: min(100%, 78px);
  padding-right: 5px;
  padding-left: 5px;
  font-size: clamp(0.68rem, 2.4vw, 0.88rem);
}

@media (max-width: 620px) {
  .app-shell {
    padding: 8px;
    align-items: stretch;
  }

  .audio-toggle {
    width: 36px;
    padding: 7px;
  }

  .screen-card-frame .audio-toggle {
    top: -42px;
    right: 28px;
  }

  .language-toggle {
    top: -38px;
    right: 72px;
    min-width: 106px;
    min-height: 30px;
    padding: 4px 9px;
    font-size: 0.58rem;
  }

  .app-shell:has(.game-screen.is-active) {
    padding: 8px;
    align-items: center;
  }

  .app-shell:has(.result-screen.is-active) {
    padding: 8px;
    align-items: center;
  }

  .screen.is-active {
    display: grid;
    align-content: center;
    min-height: calc(100vh - 16px);
    min-height: calc(100svh - 16px);
    min-height: calc(100dvh - 16px);
  }

  .title-screen {
    width: min(calc(100vw - 16px), calc((100vh - 32px) * var(--title-card-ratio)));
    width: min(calc(100vw - 16px), calc((100svh - 32px) * var(--title-card-ratio)));
    width: min(calc(100vw - 16px), calc((100dvh - 32px) * var(--title-card-ratio)));
  }

  .result-screen {
    width: min(calc(100vw - 16px), calc((100vh - 32px) * var(--title-card-ratio)));
    width: min(calc(100vw - 16px), calc((100svh - 32px) * var(--title-card-ratio)));
    width: min(calc(100vw - 16px), calc((100dvh - 32px) * var(--title-card-ratio)));
    min-height: 0;
    height: auto;
  }

  .game-screen {
    width: min(calc(100vw - 16px), calc((100vh - 32px) * var(--title-card-ratio)));
    width: min(calc(100vw - 16px), calc((100svh - 32px) * var(--title-card-ratio)));
    width: min(calc(100vw - 16px), calc((100dvh - 32px) * var(--title-card-ratio)));
    min-height: 0;
  }

  .game-screen.is-active {
    display: block;
    min-height: 0;
  }

  .title-panel,
  .result-panel {
    padding: 24px 18px;
  }

  .result-screen.is-active {
    display: block;
    align-content: center;
    min-height: 0;
    height: auto;
    padding-top: 0;
    padding-bottom: 0;
  }

  .result-panel {
    padding: 0;
  }

  .result-panel h2 {
    width: min(66%, 238px);
    font-size: clamp(1.16rem, 5.3vw, 1.5rem);
  }

  .hud {
    gap: 2px;
    padding: 16px 44px 10px;
    margin-bottom: 0;
  }

  .hud-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .hud-row-primary {
    grid-template-columns: minmax(72px, 0.72fr) minmax(0, 2fr);
  }

  .stat-pill {
    min-height: 19px;
    padding: 2px 5px;
    font-size: 0.64rem;
  }

  .control-help {
    margin-top: 2px;
    font-size: 0.82rem;
    line-height: 1.25;
  }

  .is-lang-en .game-screen .stat-pill {
    font-size: 0.53rem;
  }

  .is-lang-en .game-screen .control-help {
    font-size: 0.76rem;
    line-height: 1.35;
  }

  .result-layout {
    margin: 0;
  }

  .result-character-frame {
    justify-self: center;
  }

  .result-list {
    gap: 5px 4px;
  }

  .result-row {
    padding: 10% 8% 13%;
  }

  .result-chip {
    min-height: 25px;
    padding: 3px 6px;
  }

  .is-lang-en .result-chip {
    font-size: clamp(0.62rem, 2.6vw, 0.8rem);
  }
}

@media (orientation: landscape) and (max-height: 500px) and (max-width: 900px) {
  body {
    overflow: hidden;
  }

  .kasumi-bg,
  .app-shell > .screen {
    display: none;
  }

  .app-shell {
    min-height: 100vh;
    min-height: 100svh;
    min-height: 100dvh;
    padding: 24px;
    place-items: center;
  }

  .app-shell::before {
    content: "縦画面で遊んでください";
    display: grid;
    place-items: center;
    width: min(calc(100vw - 48px), 420px);
    min-height: 92px;
    padding: 22px 28px;
    border: 3px solid rgba(214, 168, 76, 0.82);
    border-radius: 16px;
    color: var(--red-deep);
    background:
      linear-gradient(rgba(255, 255, 255, 0.64), rgba(255, 255, 255, 0.14)),
      repeating-linear-gradient(0deg, rgba(36, 29, 26, 0.035) 0 1px, transparent 1px 7px),
      var(--paper);
    box-shadow:
      inset 0 0 0 3px rgba(255, 248, 232, 0.72),
      0 18px 40px var(--shadow);
    font-size: clamp(1.2rem, 4.6vw, 1.7rem);
    font-weight: 800;
    text-align: center;
  }
}

@media (min-width: 621px) and (max-width: 899px) and (orientation: portrait) {
  .app-shell {
    padding: 8px;
  }

  .title-screen,
  .result-screen,
  .game-screen {
    width: min(414px, calc(100vw - 16px), calc((100vh - 32px) * var(--title-card-ratio)));
    width: min(414px, calc(100vw - 16px), calc((100svh - 32px) * var(--title-card-ratio)));
    width: min(414px, calc(100vw - 16px), calc((100dvh - 32px) * var(--title-card-ratio)));
  }

  .title-panel {
    padding: 24px 18px;
  }

  .title-panel .eyebrow {
    margin-top: 38%;
    margin-bottom: 12px;
    font-size: 0.82rem;
  }

  .title-panel h1 {
    font-size: 2.82rem;
  }

  .title-panel h1::after {
    margin-top: 18px;
    font-size: 0.82rem;
  }

  .title-panel .lead {
    margin-top: 16px;
    font-size: 0.95rem;
  }

  .title-panel .primary-button,
  .result-panel .primary-button {
    width: 172px;
  }

  .result-panel h2 {
    width: 238px;
    font-size: 1.5rem;
  }
}

@media (min-width: 900px) and (max-height: 760px) {
  .title-screen,
  .result-screen,
  .game-screen {
    width: min(360px, calc(100vw - 36px), calc((100vh - 128px) * var(--title-card-ratio)));
    width: min(360px, calc(100vw - 36px), calc((100svh - 128px) * var(--title-card-ratio)));
    width: min(360px, calc(100vw - 36px), calc((100dvh - 128px) * var(--title-card-ratio)));
  }

  .title-panel {
    padding: 20px 15px;
  }

  .title-panel .eyebrow {
    top: 4px;
    margin-top: 34%;
    margin-bottom: 8px;
    padding: 4px 8px;
    font-size: 0.72rem;
  }

  .title-panel h1 {
    top: 8px;
    gap: 0.08em;
    font-size: 2.28rem;
  }

  .title-panel h1::after {
    margin-top: 11px;
    font-size: 0.68rem;
  }

  .title-panel .lead {
    top: 14px;
    margin-top: 10px;
    font-size: 0.74rem;
    line-height: 1.5;
  }

  .title-panel .primary-button {
    top: 8px;
    width: 150px;
    margin-bottom: 8px;
    padding: 0 14px;
  }

  .game-screen {
    width: min(360px, calc(100vw - 36px), calc((100vh - 132px) * var(--title-card-ratio)));
    width: min(360px, calc(100vw - 36px), calc((100svh - 132px) * var(--title-card-ratio)));
    width: min(360px, calc(100vw - 36px), calc((100dvh - 132px) * var(--title-card-ratio)));
  }

  .result-screen {
    width: min(360px, calc(100vw - 36px), calc((100vh - 144px) * var(--title-card-ratio)));
    width: min(360px, calc(100vw - 36px), calc((100svh - 144px) * var(--title-card-ratio)));
    width: min(360px, calc(100vw - 36px), calc((100dvh - 144px) * var(--title-card-ratio)));
  }

  .result-panel h2 {
    width: 210px;
    font-size: 1.35rem;
  }

  .result-panel .primary-button {
    width: 164px;
  }

  .result-list {
    top: calc(100% + 50px);
  }

  .result-row {
    gap: 2px;
    padding: 9% 7% 12%;
  }

  .result-row dt {
    font-size: 0.86rem;
    line-height: 1.08;
  }

  .result-row dt::after {
    margin-top: 3px;
    font-size: 0.68em;
  }

  .result-chips {
    gap: 2px;
  }

  .result-chip {
    min-height: 22px;
    padding: 2px 5px;
    font-size: 0.76rem;
  }

  .result-row.is-score dd {
    font-size: 1.72rem;
  }

  .hud {
    padding: 14px 39px 9px;
  }
}

@media (min-width: 621px) {
  .title-screen,
  .result-screen,
  .game-screen {
    width: min(430px, calc(100vw - 36px), calc((100vh - 170px) * var(--title-card-ratio)));
    width: min(430px, calc(100vw - 36px), calc((100svh - 170px) * var(--title-card-ratio)));
    width: min(430px, calc(100vw - 36px), calc((100dvh - 170px) * var(--title-card-ratio)));
  }

  .title-panel {
    padding: 20px 15px;
  }

  .title-panel .eyebrow {
    top: 4px;
    margin-top: 34%;
    margin-bottom: 8px;
    padding: 4px 8px;
    font-size: 0.72rem;
  }

  .title-panel h1 {
    top: 8px;
    gap: 0.08em;
    font-size: 2.28rem;
  }

  .title-panel h1::after {
    margin-top: 11px;
    font-size: 0.68rem;
  }

  .title-panel .lead {
    top: 14px;
    margin-top: 10px;
    font-size: 0.74rem;
    line-height: 1.5;
  }

  .title-panel .primary-button {
    top: 8px;
    width: 150px;
    margin-bottom: 8px;
    padding: 0 14px;
  }

  .result-panel h2 {
    width: min(238px, 66%);
    font-size: 1.5rem;
  }

  .result-panel .primary-button {
    width: min(172px, 48%);
  }

  .result-list {
    top: calc(100% + 60px);
    gap: 5px 4px;
  }

  .result-row {
    gap: 2px;
    padding: 9% 7% 12%;
  }

  .result-row dt {
    font-size: 0.86rem;
    line-height: 1.08;
  }

  .result-row dt::after {
    margin-top: 3px;
    font-size: 0.68em;
  }

  .result-chips {
    gap: 2px;
  }

  .result-chip {
    min-height: 22px;
    padding: 2px 5px;
    font-size: 0.76rem;
  }

  .result-row.is-score dd {
    font-size: 1.72rem;
  }
}

@media (min-width: 621px) and (max-height: 700px) {
  .result-row dt {
    font-size: 0.78rem;
  }

  .result-chip {
    min-height: 20px;
    font-size: 0.68rem;
  }

  .result-row.is-score dd {
    font-size: 1.5rem;
  }
}

@media (max-width: 374px) {
  .title-panel {
    padding: 16px 12px;
  }

  .title-panel .eyebrow {
    top: 0;
    margin-top: 32%;
    margin-bottom: 6px;
    padding: 4px 8px;
    font-size: 0.66rem;
  }

  .title-panel h1 {
    top: 2px;
    gap: 0.08em;
    font-size: 1.92rem;
  }

  .title-panel h1::after {
    margin-top: 9px;
    font-size: 0.64rem;
  }

  .title-panel .lead {
    top: 8px;
    margin-top: 8px;
    font-size: 0.72rem;
    line-height: 1.46;
  }

  .title-panel .primary-button {
    top: 0;
    width: 138px;
    margin-bottom: 8px;
    padding: 0 14px;
  }

  .result-list {
    gap: 4px 3px;
  }

  .result-row {
    gap: 2px;
    padding: 9% 7% 12%;
  }

  .result-row dt {
    font-size: 0.76rem;
    line-height: 1.08;
  }

  .result-row dt::after {
    margin-top: 2px;
    font-size: 0.62em;
  }

  .result-chips {
    gap: 2px;
  }

  .result-chip {
    min-height: 21px;
    padding: 2px 5px;
    font-size: 0.66rem;
  }

  .is-lang-en .result-chip {
    padding-right: 3px;
    padding-left: 3px;
    font-size: 0.59rem;
  }

  .result-row.is-score dd {
    font-size: 1.36rem;
  }
}
