body[data-arcade-page="name-10-in-60-seconds.html"] .ten-intro {
  margin-block-end: 20px;
}

.ten-board {
  --cabinet-ink: #fcf4ff;
  --cabinet-screen: #211b3c;
  --cabinet-metal: #7664db;
  --cabinet-edge: #c9aafa;
  container-type: inline-size;
  box-sizing: border-box;
  width: min(100%, 1140px);
  padding: clamp(15px, 2.7vw, 31px);
  border: 2px solid var(--cabinet-edge);
  border-radius: 23px;
  color: var(--cabinet-ink);
  background:
    radial-gradient(ellipse at 96% 12%, #d285d2 0, transparent 55%),
    linear-gradient(145deg, #6953c4 8%, #4c3a96 52%, #3e367e 76%, #456e9d);
  box-shadow: inset 0 2px 3px #f9deff96, inset 0 -7px 9px #241b63ad,
    0 10px 0 -2px #241e50, 0 24px 29px -19px #050219;
}

.ten-board [hidden] {
  display: none !important;
}

.ten-round {
  display: grid;
  grid-template-columns: minmax(0, 1fr) clamp(120px, 17%, 196px);
  gap: 14px;
  align-items: stretch;
}

.ten-prompt {
  min-width: 0;
  padding: clamp(13px, 2.4vw, 24px);
  border: 1px solid #2d244e;
  border-radius: 14px;
  background: radial-gradient(ellipse at 100% 10%, #362850, transparent 67%), var(--cabinet-screen);
  box-shadow: inset 0 4px 9px #0f0a24b8, 0 2px 0 #d4b1f272;
}

.ten-board h2, .ten-board h3, .ten-board p { margin: 0; }

.ten-board h2 {
  color: var(--cabinet-ink);
  font-size: clamp(20px, 3.2vw, 39px);
  font-weight: 780;
  line-height: 1.12;
  letter-spacing: -.033em;
  overflow-wrap: anywhere;
}

.ten-board h3 {
  color: #b0ffce;
  font-size: clamp(18px, 2.2vw, 28px);
  font-weight: 775;
}

.ten-prompt p {
  color: #e0cfea;
  line-height: 1.45;
}

.ten-prompt #ten-ready > p, .ten-prompt .ten-rule {
  margin-block: 8px 13px;
}

.ten-prompt .ten-rule {
  color: #ffe1a4;
  font-weight: 650;
}

.ten-ready-controls, .ten-entry {
  display: flex;
  gap: 9px;
  align-items: end;
}

.ten-board label {
  display: block;
  color: #f1e3fa;
  font-size: 14px;
  font-weight: 700;
}

.ten-ready-controls label {
  flex: 0 1 240px;
  min-width: 0;
}

.ten-board select, .ten-board input {
  display: block;
  width: 100%;
  min-width: 0;
  min-height: 46px;
  box-sizing: border-box;
  padding: 8px 11px;
  border: 1px solid #917abc;
  border-radius: 9px;
  background: #19142c;
  box-shadow: inset 0 3px 5px #0708148c;
  color: #fff6ff;
  font: inherit;
  font-size: 16px;
  caret-color: #fff0ac;
}

.ten-board select { margin-block-start: 6px; }
.ten-form { margin-block-start: 14px; }
.ten-form > label { margin-block-end: 6px; }
.ten-entry > input { flex: 1 1 0; }
.ten-board input::placeholder { color: #cec1e3; }

.ten-button {
  display: inline-flex;
  flex: none;
  justify-content: center;
  align-items: center;
  min-height: 46px;
  margin-block-end: 3px;
  border-radius: 10px;
  padding: 7px 16px;
  font: inherit;
  font-weight: 790;
  cursor: pointer;
  -webkit-tap-highlight-color: #ffcb8c44;
}

.ten-primary {
  border: 1px solid #ffefba;
  color: #3b2141;
  background: linear-gradient(#ffecae 0%, #ffc372 54%, #ffa365 100%);
  box-shadow: inset 0 2px 0 #fff4d2cc, 0 4px 0 #a6505d, 0 7px 11px #1009257d;
}

.ten-primary:hover { background: linear-gradient(#fff3c7, #ffb36a); }
.ten-primary:active { transform: translateY(3px); box-shadow: inset 0 2px 4px #c66b65, 0 1px 0 #a6505d; }

.ten-board .ten-feedback {
  min-block-size: 1.5em;
  margin-block-start: 9px;
  font-size: 14px;
  overflow-wrap: anywhere;
}

.ten-end-button {
  min-height: 34px;
  border: 0;
  padding: 4px 0;
  background: none;
  color: #ded0ed;
  font: inherit;
  font-size: 14px;
  text-decoration: underline;
  text-underline-offset: .2em;
  cursor: pointer;
}

.ten-clock-panel {
  align-self: start;
  min-width: 0;
  padding: 11px 9px 13px;
  border: 1px solid #fee0af;
  border-radius: 14px;
  color: #492a56;
  text-align: center;
  background: linear-gradient(155deg, #fff0c3, #f7a2a2 97%);
  box-shadow: inset 0 2px 1px #fff6da, inset 0 -3px 4px #c9738d87, 0 5px 0 #6f3c79,
    0 9px 17px #39235f85;
}

.ten-clock-label {
  display: block;
  margin-block-end: 5px;
  color: #4a2b5b;
  font-size: .75rem;
  font-weight: 780;
}

.ten-clock {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 3px;
  padding: 7px 3px 8px;
  border-radius: 8px;
  background: #312342;
  box-shadow: inset 0 3px 6px #1a102d, 0 1px 0 #fff3d2ac;
  color: #fff0bd;
  font-weight: 790;
  line-height: 1;
}

.ten-clock > span:first-child {
  font-size: clamp(29px, 6vw, 68px);
  font-variant-numeric: tabular-nums;
  letter-spacing: -.038em;
}

.ten-clock-unit { color: #ead6e4; font-size: 11px; }

.ten-clock-panel progress {
  appearance: none;
  display: block;
  width: 100%;
  height: 7px;
  margin: 10px 0 6px;
  border: 0;
  border-radius: 6px;
  background: #633e6b;
  accent-color: #367856;
}

.ten-clock-panel progress::-webkit-progress-bar { border-radius: 6px; background: #633e6b; }
.ten-clock-panel progress::-webkit-progress-value { border-radius: 6px; background: #346d57; }
.ten-clock-panel progress::-moz-progress-bar { border-radius: 6px; background: #346d57; }
.ten-low .ten-clock { color: #ff9eaa; }
.ten-low progress::-webkit-progress-value { background: #8b263c; }
.ten-low progress::-moz-progress-bar { background: #8b263c; }
.ten-board .ten-score { color: #492a56; font-size: 12px; font-weight: 640; }

.ten-answers {
  counter-reset: ten-slot;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
  margin: 18px 0 4px;
  padding: 0;
  list-style: none;
}

.ten-answers li {
  --key-face: #b6c3ff;
  --key-deep: #4c4f9c;
  display: flex;
  align-items: center;
  gap: 7px;
  min-width: 0;
  min-height: 42px;
  box-sizing: border-box;
  padding: 7px 9px;
  border: 1px solid #ffffff63;
  border-radius: 8px;
  color: #211644;
  background: linear-gradient(155deg, color-mix(in srgb, var(--key-face) 82%, white), var(--key-face));
  box-shadow: inset 0 2px 2px #ffffff73, 0 4px 0 var(--key-deep), 0 7px 8px #25184c66;
  font-size: 13px;
  line-height: 1.2;
  font-weight: 710;
  overflow-wrap: anywhere;
}

.ten-answers li:nth-child(5n+2) { --key-face: #e1b8f2; --key-deep: #7f4e9f; }
.ten-answers li:nth-child(5n+3) { --key-face: #ffa9bf; --key-deep: #a54d83; }
.ten-answers li:nth-child(5n+4) { --key-face: #ffcc99; --key-deep: #a96054; }
.ten-answers li:nth-child(5n+5) { --key-face: #9ee4e0; --key-deep: #3c728d; }

.ten-answers li::before {
  counter-increment: ten-slot;
  content: counter(ten-slot, decimal-leading-zero);
  flex: none;
  color: #50426d;
  font-size: 11px;
  font-variant-numeric: tabular-nums;
}

.ten-answers li.ten-found {
  --key-face: #9bf1b3;
  --key-deep: #327d75;
  color: #163a32;
  animation: ten-accept .25s cubic-bezier(.2,.8,.2,1);
}

@keyframes ten-accept {
  30% { transform: translateY(3px); }
  70% { transform: translateY(-2px); }
}

.ten-board[data-state="won"] {
  --cabinet-edge: #fce8ac;
  box-shadow: inset 0 2px 3px #fff3d3cc, inset 0 -7px 7px #494171af,
    0 10px 0 -2px #2d2856, 0 24px 32px -16px #14082e, 0 0 18px #ffc48750;
}

.ten-result { margin-block-start: 13px; }
.ten-result h3 { outline-offset: 2px; }
.ten-result p { margin-block: 5px 10px; }

.ten-review {
  margin-block-start: 17px;
  padding: 0 12px 9px;
  border-radius: 9px;
  background: #2e2457;
  color: #f4e9ff;
}

.ten-review summary {
  min-height: 36px;
  padding-block: 9px 0;
  cursor: pointer;
  font-weight: 680;
}

.ten-review ul {
  columns: 3 180px;
  column-gap: 22px;
  margin-block: 4px 0;
  padding-inline-start: 19px;
  line-height: 1.5;
}

.ten-review li { break-inside: avoid; }
.ten-guide { margin-block-start: 23px; max-width: 1140px; }
.ten-board :focus-visible { outline: 2px solid #fff19a; outline-offset: 3px; }

@container (max-width: 596px) {
  .ten-round { grid-template-columns: minmax(0, 1fr) 86px; gap: 8px; }
  .ten-answers { gap: 8px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ten-prompt { padding: 11px 9px; }
  .ten-clock-panel { padding: 8px 5px 9px; }
  .ten-clock-label { font-size: 11px; }
  .ten-ready-controls { flex-wrap: wrap; }
  .ten-ready-controls label { flex-basis: 100%; }
  .ten-button { padding-inline: 9px; }
  .ten-board h2 { font-size: clamp(19px, 4.6vw, 24px); }
}

@container (max-width: 235px) {
  .ten-round { grid-template-columns: minmax(0, 1fr); }
  .ten-clock-panel { grid-row: 1; }
  .ten-clock { padding-block: 3px; }
}

@media (prefers-reduced-motion: reduce) {
  .ten-answers li.ten-found { animation: none; }
}

@media (max-width: 520px) {
  body.arcade[data-arcade-page="name-10-in-60-seconds.html"] .arcade-sidebar .section-nav {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-block: 3px 7px;
    scrollbar-width: thin;
  }

  body.arcade[data-arcade-page="name-10-in-60-seconds.html"] .arcade-sidebar .section-nav > a {
    flex: 0 0 auto;
    white-space: nowrap;
  }

  body.arcade[data-arcade-page="name-10-in-60-seconds.html"] .arcade-sidebar .arcade-community-link,
  body.arcade[data-arcade-page="name-10-in-60-seconds.html"] .arcade-sidebar .gn-sound-control summary {
    box-sizing: border-box;
    display: grid;
    place-items: center;
    width: 44px;
    min-height: 44px;
    padding: 0;
  }

  body.arcade[data-arcade-page="name-10-in-60-seconds.html"] .arcade-sidebar .arcade-community-link span {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
  }
}
