:root {
  --ink: #12312f;
  --muted: #4f6463;
  --line: #d8ece8;
  --mint: #e8fbf6;
  --mint-strong: #0e8b7d;
  --mint-deep: #08756c;
  --coral: #ff7f61;
  --yellow: #f9d65c;
  --blue: #4d7ff0;
  --paper: #ffffff;
  --shadow: 0 20px 50px rgba(31, 93, 87, .14);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 92% 22%, rgba(65, 214, 164, .18), transparent 28rem),
    radial-gradient(circle at 12% 70%, rgba(77, 127, 240, .08), transparent 24rem),
    #f7fffd;
  font-family: "Yu Gothic", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
  line-height: 1.7;
}

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 34px;
  min-height: 92px;
  padding: 18px clamp(22px, 5vw, 72px);
  background: rgba(255, 255, 255, .92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-right: auto;
  font-size: clamp(30px, 3vw, 44px);
  font-weight: 900;
  letter-spacing: 0;
}

.brand-mark {
  width: 58px;
  height: 58px;
}

.header-nav {
  display: flex;
  gap: clamp(14px, 2vw, 26px);
  align-items: center;
  font-weight: 800;
  font-size: 15px;
  color: #314946;
}

.header-actions {
  display: flex;
  gap: 16px;
}

.primary-button,
.secondary-button,
.ghost-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  padding: 0 32px;
  border-radius: 999px;
  font-size: 17px;
  font-weight: 900;
  box-shadow: 0 12px 28px rgba(8, 117, 108, .18);
}

.primary-button {
  color: #fff;
  background: linear-gradient(135deg, var(--mint-strong), var(--mint-deep));
}

.secondary-button,
.ghost-button {
  color: var(--ink);
  background: rgba(255, 255, 255, .82);
  border: 1px solid var(--line);
  box-shadow: none;
}

.small {
  min-height: 46px;
  padding: 0 24px;
  font-size: 15px;
}

.menu-button {
  display: none;
  width: 46px;
  height: 46px;
  padding: 9px;
  border: 0;
  background: transparent;
}

.menu-button span {
  display: block;
  height: 4px;
  margin: 5px 0;
  border-radius: 3px;
  background: var(--ink);
}

.hero {
  display: grid;
  grid-template-columns: minmax(420px, 48%) minmax(420px, 52%);
  min-height: 620px;
  overflow: hidden;
  background: linear-gradient(90deg, rgba(255,255,255,.96), rgba(232,251,246,.82));
}

.hero-copy {
  align-self: center;
  padding: clamp(42px, 6vw, 90px) clamp(24px, 5vw, 82px);
}

.pill {
  display: inline-flex;
  align-items: center;
  min-height: 46px;
  padding: 0 24px;
  border: 1px solid #9adfd4;
  border-radius: 999px;
  color: var(--mint-deep);
  background: #ddfaf3;
  font-weight: 900;
}

h1,
h2,
h3,
p {
  margin: 0;
}

h1 {
  margin-top: 28px;
  font-size: clamp(48px, 5vw, 68px);
  line-height: 1.16;
  font-weight: 900;
}

.lead {
  max-width: 620px;
  margin-top: 26px;
  color: #344946;
  font-size: clamp(18px, 1.8vw, 22px);
  font-weight: 700;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 36px;
}

.feature-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 560px;
  margin: 38px 0 0;
  padding: 18px 22px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(255,255,255,.82);
}

.feature-strip div {
  text-align: center;
  border-right: 1px solid #c7e2dd;
}

.feature-strip div:last-child {
  border-right: 0;
}

.feature-strip dt {
  color: var(--mint-deep);
  font-size: 22px;
  font-weight: 900;
}

.feature-strip dd {
  margin: 2px 0 0;
  color: var(--muted);
  font-weight: 800;
}

.hero-visual {
  position: relative;
  min-height: 520px;
}

.hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.tests-section {
  padding: 44px clamp(22px, 5vw, 78px) 70px;
  background:
    url("assets/top-page/pattern-dots.svg") 92% 16% / 92px auto no-repeat,
    linear-gradient(180deg, #eefcf9, #fbfffe);
}

.section-heading {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

.section-heading h2 {
  font-size: clamp(32px, 3vw, 44px);
  font-weight: 900;
}

.section-heading span {
  width: 44px;
  height: 8px;
  border-radius: 999px;
  background: radial-gradient(circle, #90dcd1 0 38%, transparent 40%);
  background-size: 14px 8px;
}

.section-lead {
  margin-top: 8px;
  text-align: center;
  color: var(--muted);
  font-size: 18px;
  font-weight: 700;
}

.test-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
  margin-top: 28px;
}

.test-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 330px;
  padding: 32px 24px 70px;
  border: 1px solid #e3f0ed;
  border-radius: 8px;
  background: rgba(255, 255, 255, .94);
  box-shadow: var(--shadow);
  transition: transform .18s ease, box-shadow .18s ease;
}

.test-card:hover,
.test-card:focus-visible {
  transform: translateY(-4px);
  box-shadow: 0 26px 58px rgba(31, 93, 87, .2);
  outline: none;
}

.test-card img {
  width: 108px;
  height: 108px;
}

.test-card h3 {
  margin-top: 16px;
  font-size: clamp(24px, 2vw, 30px);
  line-height: 1.3;
  font-weight: 900;
  text-align: center;
}

.test-card p {
  margin-top: 14px;
  color: #344946;
  font-size: 16px;
  font-weight: 700;
  text-align: center;
}

.arrow {
  position: absolute;
  right: 22px;
  bottom: 22px;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  color: var(--mint-deep);
  background: #d9f8ef;
  font-size: 26px;
  font-weight: 900;
}

.info-band {
  padding: 56px clamp(24px, 8vw, 120px);
  color: #fff;
  background: linear-gradient(135deg, #0e8b7d, #116b86);
}

.info-band h2 {
  font-size: clamp(30px, 3vw, 44px);
  line-height: 1.35;
  font-weight: 900;
}

.info-band p {
  max-width: 860px;
  margin-top: 14px;
  font-size: 18px;
  font-weight: 700;
}

.category-page {
  min-height: 100vh;
  background: #f8fffd;
}

.category-hero {
  display: block;
  padding: 54px clamp(22px, 6vw, 96px);
  background:
    url("../assets/top-page/pattern-dots.svg") 92% 24% / 90px auto no-repeat,
    linear-gradient(135deg, #ffffff, #e8fbf6);
}

.back-link {
  display: inline-flex;
  margin-bottom: 16px;
  color: var(--mint-deep);
  font-weight: 900;
}

.category-hero h1 {
  margin-top: 0;
  font-size: clamp(42px, 5vw, 66px);
}

.category-hero p {
  max-width: 760px;
  margin-top: 16px;
  color: #344946;
  font-size: 19px;
  font-weight: 700;
}

.wais-note {
  padding: 14px 18px;
  border: 1px solid #bfe8df;
  border-radius: 8px;
  background: rgba(255, 255, 255, .72);
  color: var(--muted);
  font-size: 16px;
}

.choice-section {
  padding: 46px clamp(22px, 6vw, 96px) 74px;
}

.choice-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  max-width: 1040px;
}

.single-choice-grid {
  grid-template-columns: minmax(0, 520px);
}

.choice-card {
  min-height: 260px;
  padding: 32px;
  border: 1px solid #dfeeea;
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}

.choice-card .label {
  display: inline-flex;
  padding: 6px 14px;
  border-radius: 999px;
  color: var(--mint-deep);
  background: var(--mint);
  font-weight: 900;
}

.choice-card h2 {
  margin-top: 18px;
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1.32;
}

.choice-card p {
  margin-top: 14px;
  color: var(--muted);
  font-size: 17px;
  font-weight: 700;
}

.choice-card .primary-button {
  margin-top: 26px;
}

.test-shell {
  width: min(100%, 1040px);
  margin: 0 auto;
  padding: 44px clamp(18px, 5vw, 64px) 72px;
}

.test-intro,
.test-panel,
.result-panel {
  border: 1px solid #dfeeea;
  border-radius: 8px;
  background: rgba(255, 255, 255, .94);
  box-shadow: var(--shadow);
}

.test-intro,
.result-panel {
  padding: clamp(28px, 5vw, 56px);
}

.test-intro h1,
.result-panel h1 {
  max-width: 780px;
}

.test-rule-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin: 34px 0;
}

.test-rule-grid div {
  min-height: 104px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f6fffc;
}

.test-rule-grid strong,
.test-rule-grid span {
  display: block;
}

.test-rule-grid strong {
  color: var(--mint-deep);
  font-size: 18px;
}

.test-rule-grid span {
  margin-top: 6px;
  color: var(--muted);
  font-weight: 800;
}

.test-start {
  border: 0;
  cursor: pointer;
}

.test-panel {
  padding: clamp(20px, 4vw, 40px);
}

.play-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 22px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
}

.play-header h1 {
  margin-top: 0;
  font-size: clamp(32px, 4vw, 52px);
}

.test-eyebrow {
  color: var(--mint-deep);
  font-weight: 900;
}

.play-stats {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.play-stats span {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 16px;
  border-radius: 999px;
  color: var(--mint-deep);
  background: var(--mint);
  font-weight: 900;
}

.timer-track {
  height: 8px;
  margin-top: 18px;
  overflow: hidden;
  border-radius: 999px;
  background: #dfeeea;
}

.timer-track span {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: inherit;
  background: var(--mint-strong);
  transition: width .2s linear, background .2s ease;
}

.timer-track span.warn {
  background: var(--yellow);
}

.timer-track span.danger {
  background: var(--coral);
}

.test-panel .progress-dots {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 20px;
}

.test-panel .progress-dots span {
  width: 18px;
  height: 5px;
  border-radius: 999px;
  background: #dfeeea;
}

.test-panel .progress-dots span.current {
  background: var(--blue);
}

.test-panel .progress-dots span.done {
  background: var(--mint-strong);
}

.test-panel .progress-dots span.wrong {
  background: var(--coral);
}

.task-area {
  display: grid;
  place-items: center;
  min-height: 420px;
  padding-top: 30px;
}

.symbol-test,
.cancel-test {
  width: 100%;
}

.task-instruction {
  color: var(--muted);
  font-size: 18px;
  font-weight: 800;
  text-align: center;
}

.symbol-targets {
  display: flex;
  justify-content: center;
  gap: 18px;
  width: min(100%, 520px);
  margin: 26px auto;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f6fffc;
}

.symbol-targets span,
.cancel-target strong {
  display: grid;
  place-items: center;
  width: 74px;
  height: 74px;
  border: 1px solid #bfe8df;
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  font-size: 38px;
  line-height: 1;
}

.symbol-options {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  width: min(100%, 640px);
  margin: 0 auto;
}

.symbol-options button,
.cancel-grid button {
  border: 1px solid #d6e8e4;
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-weight: 900;
  cursor: pointer;
  transition: transform .12s ease, border-color .12s ease, background .12s ease;
}

.symbol-options button {
  min-height: 78px;
  font-size: 34px;
}

.symbol-options .none-option {
  font-size: 18px;
}

.symbol-options button:hover,
.cancel-grid button:hover {
  transform: translateY(-2px);
  border-color: var(--mint-strong);
  background: #f6fffc;
}

.symbol-options button.correct,
.cancel-grid button.correct {
  border-color: var(--mint-strong);
  background: #dff9f1;
}

.symbol-options button.wrong,
.cancel-grid button.wrong {
  border-color: var(--coral);
  background: #fff1ec;
}

.cancel-target {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin: 24px auto;
  color: var(--mint-deep);
  font-weight: 900;
}

.cancel-grid {
  display: grid;
  grid-template-columns: repeat(10, minmax(0, 1fr));
  gap: 8px;
  width: min(100%, 720px);
  margin: 0 auto;
}

.cancel-grid button {
  aspect-ratio: 1;
  font-size: 25px;
}

.reaction-pad {
  display: grid;
  place-items: center;
  width: min(100%, 520px);
  min-height: 260px;
  border: 0;
  border-radius: 8px;
  background: #eff8f6;
  color: var(--ink);
  font: inherit;
  font-size: clamp(34px, 7vw, 72px);
  font-weight: 900;
  cursor: pointer;
  box-shadow: inset 0 0 0 1px var(--line);
}

.reaction-pad.go {
  color: #fff;
  background: var(--mint-strong);
  box-shadow: 0 20px 44px rgba(8, 117, 108, .25);
}

.reaction-test-wrap {
  display: grid;
  justify-items: center;
  gap: 22px;
  width: 100%;
}

.reaction-history {
  width: min(100%, 680px);
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8fffd;
}

.reaction-history-title,
.reaction-history-empty {
  color: var(--muted);
  font-weight: 900;
  text-align: center;
}

.reaction-history ol {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.reaction-history li {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  padding: 10px 12px;
  border-radius: 8px;
  background: #fff;
  color: var(--muted);
  font-weight: 800;
}

.reaction-history li strong {
  color: var(--mint-deep);
}

.reaction-rank,
.result-rank {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 10px 0;
  color: var(--mint-deep);
  font-weight: 900;
}

.reaction-rank strong,
.result-rank strong {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  color: #fff;
  background: var(--mint-strong);
  font-size: 30px;
}

.result-message > span {
  display: block;
}

.x-share-button {
  color: #fff;
  background: #111;
  border-color: #111;
}

.x-share-button:hover,
.x-share-button:focus-visible {
  color: #fff;
  background: #000;
}

.result-message .reaction-history {
  margin-top: 18px;
  font-size: 16px;
}

.reaction-chart {
  width: min(100%, 720px);
  margin-top: 20px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.reaction-chart svg {
  display: block;
  width: 100%;
  height: auto;
  overflow: visible;
}

.reaction-chart line {
  stroke: #cfe4df;
  stroke-width: 2;
}

.reaction-chart polyline {
  fill: none;
  stroke: var(--mint-strong);
  stroke-width: 4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.reaction-chart circle {
  fill: #fff;
  stroke: var(--mint-deep);
  stroke-width: 4;
}

.reaction-chart text {
  fill: var(--muted);
  font-size: 18px;
  font-weight: 900;
  text-anchor: middle;
}

.choice-reaction,
.noise-test {
  width: min(100%, 680px);
}

.color-cue {
  display: grid;
  place-items: center;
  min-height: 180px;
  border-radius: 8px;
  color: #fff;
  font-size: clamp(42px, 8vw, 86px);
  font-weight: 900;
  text-shadow: 0 2px 12px rgba(0,0,0,.25);
}

.color-buttons {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 18px;
}

.color-buttons button,
.memory-form button,
.target-grid button,
.noise-grid button,
.position-grid button {
  border: 1px solid #d6e8e4;
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}

.color-buttons button {
  min-height: 68px;
  font-size: 20px;
}

.memory-display {
  display: grid;
  place-items: center;
  width: min(100%, 560px);
  min-height: 220px;
  max-width: 100%;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--mint-deep);
  font-size: var(--memory-font-size, clamp(48px, 10vw, 98px));
  font-weight: 900;
  letter-spacing: var(--memory-letter-spacing, .08em);
  line-height: 1.12;
  overflow-wrap: anywhere;
  text-align: center;
}

.memory-stage {
  display: grid;
  justify-items: center;
  gap: 18px;
  width: min(100%, 620px);
}

.memory-timebar {
  width: min(100%, 560px);
  height: 9px;
  overflow: hidden;
  border-radius: 999px;
  background: #dfeeea;
}

.memory-timebar span {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: inherit;
  background: var(--mint-strong);
}

.memory-form {
  display: grid;
  gap: 16px;
  width: min(100%, 520px);
}

.memory-form label {
  color: var(--muted);
  font-size: 18px;
  font-weight: 900;
  text-align: center;
}

.memory-form input {
  min-height: 74px;
  padding: 0 20px;
  border: 1px solid #cfe4df;
  border-radius: 8px;
  color: var(--ink);
  background: #fff;
  font: inherit;
  font-size: var(--memory-font-size, 34px);
  font-weight: 900;
  text-align: center;
  letter-spacing: var(--memory-letter-spacing, .08em);
  max-width: 100%;
}

.memory-form button {
  border: 0;
}

.position-grid,
.target-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  width: min(100%, 430px);
}

.position-grid button,
.target-grid button {
  aspect-ratio: 1;
  font-size: 30px;
}

.position-grid button.active,
.position-grid button.selected {
  background: var(--mint-strong);
  box-shadow: 0 12px 26px rgba(8, 117, 108, .22);
}

.target-grid button[data-correct="true"] {
  color: var(--mint-deep);
}

.noise-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 10px;
  margin-top: 18px;
}

.noise-grid button {
  aspect-ratio: 1;
  font-size: 30px;
}

.noise-grid .red { color: #e4584f; }
.noise-grid .blue { color: #426fe8; }
.noise-grid .green { color: #08756c; }
.noise-grid .yellow { color: #d6a900; }

.cancel-grid button:disabled {
  cursor: default;
}

.cancel-status {
  margin-top: 18px;
  color: var(--muted);
  font-weight: 900;
  text-align: center;
}

.result-score {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin: 20px 0 8px;
  color: var(--mint-deep);
}

.result-score span {
  font-size: clamp(72px, 12vw, 128px);
  line-height: 1;
  font-weight: 900;
}

.result-score small {
  font-size: 28px;
  font-weight: 900;
}

.result-message {
  max-width: 720px;
  color: var(--muted);
  font-size: 20px;
  font-weight: 800;
}

.result-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.result-actions button {
  border: 0;
  cursor: pointer;
}

.feedback-flash {
  position: fixed;
  top: 50%;
  left: 50%;
  z-index: 50;
  display: grid;
  place-items: center;
  width: 96px;
  height: 96px;
  border-radius: 50%;
  color: #fff;
  font-size: 56px;
  font-weight: 900;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -50%) scale(.9);
}

.feedback-flash.show {
  animation: feedback-pop .26s ease-out forwards;
}

.feedback-flash.is-correct {
  background: var(--mint-strong);
}

.feedback-flash.is-wrong {
  background: var(--coral);
}

@keyframes feedback-pop {
  0% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(.85);
  }
  35% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
  }
  100% {
    opacity: 0;
    transform: translate(-50%, -62%) scale(1.12);
  }
}

@media (max-width: 1080px) {
  .header-nav,
  .header-actions {
    display: none;
  }

  .menu-button {
    display: block;
  }

  .hero {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    order: -1;
    min-height: 320px;
  }

  .hero-copy {
    padding-top: 32px;
  }

  .test-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}


@media (max-width: 680px) {
  .site-header {
    min-height: 78px;
    padding: 14px 22px;
  }

  .brand {
    gap: 12px;
    font-size: 32px;
  }

  .brand-mark {
    width: 48px;
    height: 48px;
  }

  .hero {
    min-height: 0;
  }

  .hero-visual {
    min-height: 230px;
  }

  .hero-copy {
    padding: 30px 22px 38px;
  }

  .pill {
    min-height: 40px;
    padding: 0 18px;
    font-size: 15px;
  }

  h1 {
    font-size: 46px;
  }

  .lead {
    font-size: 17px;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .feature-strip {
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 18px;
  }

  .feature-strip div {
    border-right: 0;
    border-bottom: 1px solid #c7e2dd;
    padding-bottom: 12px;
  }

  .feature-strip div:last-child {
    border-bottom: 0;
    padding-bottom: 0;
  }

  .tests-section {
    padding: 38px 18px 56px;
  }

  .test-grid,
  .choice-grid {
    grid-template-columns: 1fr;
  }

  .test-card {
    align-items: flex-start;
    min-height: 210px;
    padding: 24px 72px 24px 24px;
  }

  .test-card img {
    width: 80px;
    height: 80px;
  }

  .test-card h3,
  .test-card p {
    text-align: left;
  }

  .category-hero {
    padding: 34px 22px;
  }

  .choice-section {
    padding: 34px 22px 54px;
  }

  .test-shell {
    padding: 28px 16px 54px;
  }

  .test-rule-grid,
  .symbol-options {
    grid-template-columns: 1fr;
  }

  .play-header {
    display: block;
  }

  .play-stats {
    justify-content: flex-start;
    margin-top: 12px;
  }

  .task-area {
    min-height: 360px;
  }

  .symbol-targets span,
  .cancel-target strong {
    width: 64px;
    height: 64px;
    font-size: 32px;
  }

  .symbol-options button {
    min-height: 64px;
  }

  .cancel-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }

  .cancel-grid button {
    font-size: 22px;
  }

  .color-buttons,
  .noise-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .result-actions {
    display: grid;
  }
}
