@charset "UTF-8";
*,
*::before,
*::after {
  box-sizing: border-box;
}

body.tt {
  margin: 0;
  min-height: 100vh;
  background: linear-gradient(90deg, transparent 56px, rgba(229, 56, 79, 0.38) 56px 58px, transparent 58px), repeating-linear-gradient(180deg, #fdfcf7 0 31px, #cfe0f3 31px 32px);
  background-attachment: local;
  color: #2a2a3a;
  font-family: "Inter", "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

:where(.tt) :where(h1, h2, h3, p, ol, fieldset) {
  margin: 0;
}
:where(.tt) :where(ol) {
  padding: 0;
  list-style: none;
}
:where(.tt) :where(fieldset) {
  border: 0;
  padding: 0;
  min-width: 0;
}
:where(.tt) :where(button) {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
}
:where(.tt) :where(a) {
  color: inherit;
}
:where(.tt) :where(:focus-visible) {
  outline: 3px solid #2b6fd6;
  outline-offset: 3px;
  border-radius: 10px;
}

.tt [hidden] {
  display: none !important;
}

.tt:not(.is-setup) .tt-only-setup,
.tt:not(.is-waiting) .tt-only-waiting,
.tt:not(.is-join) .tt-only-join,
.tt:not(.is-play) .tt-only-play,
.tt:not(.is-gone) .tt-only-gone,
.tt.is-live-mode .tt-only-local {
  display: none !important;
}

.tt-ink-x {
  color: #e5384f;
}

.tt-ink-o {
  color: #2b6fd6;
}

.tt-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 22px clamp(16px, 5vw, 80px);
}

.tt-brand {
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
  text-decoration: none;
}

.tt-bar-link {
  font-size: 0.875rem;
  font-weight: 500;
  color: #5d5d72;
  text-decoration: none;
}
.tt-bar-link:hover {
  color: #2a2a3a;
}

.tt-eyebrow {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #5d5d72;
  margin-bottom: 12px;
}

.tt-title {
  font-family: "Poppins", sans-serif;
  font-weight: 900;
  font-size: clamp(2.8rem, 7.4vw, 6rem);
  line-height: 0.98;
  letter-spacing: -0.045em;
}
.tt-title span {
  display: block;
}

.tt-title-red {
  color: #e5384f;
  text-decoration: underline wavy #e5384f;
  text-decoration-thickness: 4px;
  text-underline-offset: 12px;
}

.tt-lede {
  margin-top: 20px;
  max-width: 540px;
  font-size: 1.1rem;
  color: #5d5d72;
}
.tt-lede b {
  font-weight: 800;
}

.tt-small {
  margin-top: 12px;
  font-size: 0.9rem;
  color: #5d5d72;
}

.tt-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 22px;
  border: 2.5px solid #2a2a3a;
  border-radius: 255px 15px 225px 15px/15px 225px 15px 255px;
  background: #fdfcf7;
  color: #2a2a3a;
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  box-shadow: 3px 3px 0 #2a2a3a;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.tt-btn:hover {
  transform: translate(-1px, -1px) rotate(-1deg);
  box-shadow: 5px 5px 0 #2a2a3a;
}
.tt-btn:active {
  transform: translate(2px, 2px);
  box-shadow: 0 0 0 #2a2a3a;
}
.tt-btn--marker {
  background: #e5384f;
  color: #fff;
  padding: 14px 30px;
  font-size: 1.05rem;
}

.tt-text-btn {
  font-weight: 600;
  color: #5d5d72;
}
.tt-text-btn:hover {
  color: #2a2a3a;
}

.tt-setup {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(28px, 5vw, 80px);
  align-items: center;
  padding: 16px clamp(16px, 5vw, 80px) 72px;
  padding-left: max(clamp(16px, 5vw, 80px), 84px);
}

.tt-form {
  margin-top: 28px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  max-width: 580px;
}
.tt-form--narrow {
  max-width: 360px;
}
.tt-form .tt-btn--marker {
  align-self: flex-start;
}

.tt-choice {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.tt-choice legend {
  grid-column: 1/-1;
  margin-bottom: 8px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #5d5d72;
}
.tt-choice input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
}
.tt-choice span {
  display: flex;
  flex-direction: column;
  padding: 12px 16px;
  border: 2.5px solid rgba(42, 42, 58, 0.14);
  border-radius: 255px 15px 225px 15px/15px 225px 15px 255px;
  background: rgba(255, 255, 255, 0.7);
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease, transform 0.15s ease;
}
.tt-choice span small {
  font-family: "Inter", "Helvetica Neue", Arial, sans-serif;
  font-weight: 500;
  font-size: 0.82rem;
  color: #5d5d72;
}
.tt-choice label:nth-of-type(2) span {
  border-radius: 15px 255px 15px 225px/225px 15px 255px 15px;
}
.tt-choice input:checked + span {
  border-color: #2a2a3a;
  background: rgba(255, 228, 92, 0.45);
  transform: rotate(-0.6deg);
}
.tt-choice input:focus-visible + span {
  outline: 3px solid #2b6fd6;
  outline-offset: 3px;
}

.tt-names {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.is-live-mode .tt-names {
  grid-template-columns: minmax(0, 1fr);
  max-width: 290px;
}

.tt-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.tt-field > span {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #5d5d72;
}
.tt-field > span em {
  font-style: normal;
  letter-spacing: 0;
  text-transform: none;
  font-weight: 800;
}
.tt-field input {
  width: 100%;
  border: 0;
  border-bottom: 3px solid #2a2a3a;
  background: transparent;
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  font-size: 1.4rem;
  color: #2a2a3a;
  padding: 4px 2px 6px;
  border-radius: 0;
}
.tt-field input::placeholder {
  color: rgba(42, 42, 58, 0.25);
}
.tt-field input:focus {
  outline: none;
  border-bottom-color: #2b6fd6;
  background: rgba(255, 228, 92, 0.25);
}

.tt-toggle {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  cursor: pointer;
  color: #5d5d72;
  font-size: 0.95rem;
}
.tt-toggle input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
}
.tt-toggle b {
  color: #2a2a3a;
}

.tt-toggle-box {
  flex: none;
  position: relative;
  width: 26px;
  height: 26px;
  margin-top: 1px;
  border: 2.5px solid #2a2a3a;
  border-radius: 6px 9px 5px 8px;
  background: #fff;
}
input:checked + .tt-toggle-box {
  background: #ffe45c;
}
input:checked + .tt-toggle-box::after {
  content: "✓";
  position: absolute;
  top: -4px;
  right: 0;
  bottom: 0;
  left: 2px;
  font-family: "Poppins", sans-serif;
  font-weight: 900;
  font-size: 1.3rem;
  color: #e5384f;
}
input:focus-visible + .tt-toggle-box {
  outline: 3px solid #2b6fd6;
  outline-offset: 3px;
}

.tt-form-error {
  color: #e5384f;
  font-weight: 700;
}
.tt-form-error:empty {
  display: none;
}

.tt-hero-board {
  position: relative;
  justify-self: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.tt-hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, clamp(76px, 9vw, 112px));
  grid-template-rows: repeat(3, clamp(76px, 9vw, 112px));
  transform: rotate(-3deg);
}
.tt-hero-grid span {
  display: grid;
  place-items: center;
  font-family: "Poppins", sans-serif;
  font-weight: 800;
  font-size: clamp(2.8rem, 5vw, 4rem);
  line-height: 1;
  border-color: #2a2a3a;
  border-style: solid;
  border-width: 0;
}
.tt-hero-grid span:nth-child(-n+6) {
  border-bottom-width: 4px;
}
.tt-hero-grid span:nth-child(3n+1), .tt-hero-grid span:nth-child(3n+2) {
  border-right-width: 4px;
}
.tt-hero-grid i {
  position: absolute;
  left: -6%;
  top: 50%;
  width: 112%;
  height: 26px;
  margin-top: -13px;
  border-radius: 8px;
  background: rgba(255, 228, 92, 0.7);
  mix-blend-mode: multiply;
  transform: rotate(45deg);
}

.tt-hero-note {
  margin-top: 34px;
  padding: 16px 20px;
  background: #ffe45c;
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  transform: rotate(3deg);
  box-shadow: 0 10px 20px -10px rgba(0, 0, 0, 0.35);
}

.tt-panel {
  max-width: 680px;
  margin: 0 auto;
  padding: 32px clamp(16px, 5vw, 80px) 80px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.tt-panel .tt-lede {
  margin-left: auto;
  margin-right: auto;
}
.tt-panel .tt-form {
  align-items: center;
  width: 100%;
  text-align: left;
}
.tt-panel .tt-form .tt-btn--marker {
  align-self: center;
}

.tt-panel-title {
  font-family: "Poppins", sans-serif;
  font-weight: 900;
  font-size: clamp(2rem, 5.4vw, 3.6rem);
  line-height: 1.05;
  letter-spacing: -0.035em;
  overflow-wrap: anywhere;
}

.tt-link-box {
  margin-top: 26px;
  display: flex;
  width: 100%;
  max-width: 520px;
  gap: 8px;
}
.tt-link-box input {
  flex: 1;
  min-width: 0;
  padding: 12px 14px;
  border: 2.5px dashed #2a2a3a;
  border-radius: 12px;
  background: #fff;
  font-family: "Poppins", sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  color: #2a2a3a;
}

.tt-send {
  margin-top: 16px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.tt-waiting {
  margin-top: 34px;
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  font-size: 1.15rem;
}

.tt-pencil {
  display: inline-block;
  animation: tt-scribble-pencil 0.9s ease-in-out infinite alternate;
}

.tt-dots i {
  font-style: normal;
  animation: tt-dot 1.2s steps(2, start) infinite;
}
.tt-dots i:nth-child(2) {
  animation-delay: 0.2s;
}
.tt-dots i:nth-child(3) {
  animation-delay: 0.4s;
}

.tt-play {
  max-width: 760px;
  margin: 0 auto;
  padding: 4px 16px 56px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.tt-score {
  width: 100%;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 12px;
}

.tt-player {
  --c: #e5384f;
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border: 2.5px solid var(--c);
  border-radius: 255px 15px 225px 15px/15px 225px 15px 255px;
  background: #fff;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.tt-player--o {
  --c: #2b6fd6;
  border-radius: 15px 255px 15px 225px/225px 15px 255px 15px;
}
.turn-x .tt-player--x, .turn-o .tt-player--o {
  transform: translateY(-3px) rotate(-1deg);
  box-shadow: 4px 4px 0 var(--c);
}

.tt-player-mark {
  font-family: "Poppins", sans-serif;
  font-weight: 900;
  font-size: 1.8rem;
  line-height: 1;
  color: var(--c);
}

.tt-player-name {
  min-width: 0;
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.tt-player-score {
  font-family: "Poppins", sans-serif;
  font-weight: 900;
  font-size: 2rem;
  line-height: 1;
  color: var(--c);
  font-variant-numeric: tabular-nums;
}

.tt-dot {
  display: none;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #c4c4cf;
  vertical-align: 2px;
}
.is-live .tt-dot {
  display: inline-block;
}
.tt-dot.is-online {
  background: #22b573;
  box-shadow: 0 0 0 3px rgba(34, 181, 115, 0.2);
}

.tt-vs {
  display: flex;
  flex-direction: column;
  align-items: center;
  font-family: "Poppins", sans-serif;
  line-height: 1.2;
}

.tt-round {
  font-weight: 800;
}

.tt-draws {
  font-size: 0.8rem;
  color: #5d5d72;
}

.tt-status {
  margin: 18px 0 14px;
  padding: 8px 18px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.85);
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  text-align: center;
  min-height: 2.6em;
}
.turn-x .tt-status {
  color: #e5384f;
}
.turn-o .tt-status {
  color: #2b6fd6;
}
.is-offline .tt-status::after {
  content: " · reconnecting…";
  color: #5d5d72;
  font-weight: 600;
}

.tt-board-wrap {
  position: relative;
  width: min(520px, 92vw);
}
.tt-board-wrap::before {
  content: "";
  display: block;
  padding-top: 100%;
}

.tt-grid {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  pointer-events: none;
}
.tt-grid path {
  fill: none;
  stroke: #2a2a3a;
  stroke-width: 1.05;
  stroke-linecap: round;
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  animation: tt-draw 0.45s ease-out forwards;
}

.tt-board {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  display: grid;
}
.tt-board--3 {
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(3, 1fr);
}
.tt-board--5 {
  grid-template-columns: repeat(5, 1fr);
  grid-template-rows: repeat(5, 1fr);
}

.tt-cell {
  position: relative;
  display: grid;
  place-items: center;
  cursor: default;
}
.tt-cell.can-play {
  cursor: pointer;
}
.tt-cell.can-play:hover::after {
  content: "";
  position: absolute;
  top: 26%;
  right: 26%;
  bottom: 26%;
  left: 26%;
  border-radius: 50%;
  border: 3px dashed rgba(42, 42, 58, 0.18);
}
.tt-cell.is-target {
  cursor: pointer;
}
.tt-cell.is-target::before {
  content: "";
  position: absolute;
  top: 10%;
  right: 10%;
  bottom: 10%;
  left: 10%;
  border-radius: 50%;
  border: 3px dashed #2a2a3a;
  animation: tt-target 0.9s ease-in-out infinite;
}

.tt-mark {
  width: 74%;
  height: 74%;
  overflow: visible;
}
.tt-mark path {
  fill: none;
  stroke-width: 10;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  animation: tt-draw 0.28s ease-out forwards;
}
.tt-mark path:nth-child(2) {
  animation-delay: 0.16s;
}
.tt-mark--x path {
  stroke: #e5384f;
}
.tt-mark--o path {
  stroke: #2b6fd6;
  animation-duration: 0.42s;
}
.tt-mark.is-erasing {
  animation: tt-erase 0.5s ease-in forwards;
}
.is-over .is-dim .tt-mark {
  opacity: 0.28;
  transition: opacity 0.4s ease;
}

.tt-scribble {
  position: absolute;
  top: 22%;
  right: 22%;
  bottom: 22%;
  left: 22%;
  background: repeating-linear-gradient(-35deg, rgba(42, 42, 58, 0.75) 0 3px, transparent 3px 9px);
  border-radius: 40%;
  animation: tt-scribble 0.5s ease-out forwards;
}

.tt-winline {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  pointer-events: none;
  mix-blend-mode: multiply;
}
.tt-winline path {
  fill: none;
  stroke: #ffe45c;
  stroke-width: 5.5;
  stroke-linecap: round;
  opacity: 0.8;
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
}
.tt-winline.is-drawn path {
  stroke-dashoffset: 0;
  transition: stroke-dashoffset 0.5s ease-in-out;
}

.tt-win {
  position: absolute;
  top: -4%;
  right: -4%;
  bottom: -4%;
  left: -4%;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 16px;
  border-radius: 24px;
  transition: background 0.4s ease;
}
.tt-win.is-shown {
  background: rgba(253, 252, 247, 0.84);
  -webkit-backdrop-filter: blur(2px);
  backdrop-filter: blur(2px);
}

.tt-win-note {
  padding: 10px 26px 12px;
  background: #fff;
  border: 3px solid currentColor;
  border-radius: 255px 15px 225px 15px/15px 225px 15px 255px;
  font-family: "Poppins", sans-serif;
  font-weight: 900;
  font-size: clamp(2rem, 7vw, 3.4rem);
  line-height: 1;
  letter-spacing: -0.03em;
  transform: rotate(-5deg);
  box-shadow: 6px 6px 0 currentColor;
  overflow-wrap: anywhere;
  text-align: center;
}
.win-x .tt-win-note {
  color: #e5384f;
}
.win-o .tt-win-note {
  color: #2b6fd6;
}
.win-draw .tt-win-note {
  color: #2a2a3a;
}

.tt-reward {
  width: min(340px, 90%);
  padding: 16px 20px 18px;
  text-align: center;
  background: linear-gradient(180deg, transparent 34px, rgba(229, 56, 79, 0.5) 34px 36px, transparent 36px), repeating-linear-gradient(180deg, #fff 0 25px, #cfe0f3 25px 26px);
  border: 2px solid #2a2a3a;
  border-radius: 6px;
  box-shadow: 0 16px 30px -14px rgba(0, 0, 0, 0.45);
  transform: rotate(1.5deg);
}

.tt-reward-kicker {
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #5d5d72;
  overflow-wrap: anywhere;
}

.tt-reward-emoji {
  display: block;
  margin-top: 10px;
  font-size: 2.6rem;
  line-height: 1.1;
}

.tt-reward-text {
  font-family: "Poppins", sans-serif;
  font-weight: 800;
  font-size: 1.2rem;
  line-height: 1.25;
}

.tt-powers {
  margin-top: 18px;
  display: flex;
  gap: 10px;
}

.tt-power {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 16px;
  border: 2.5px solid #e5384f;
  border-radius: 255px 15px 225px 15px/15px 225px 15px 255px;
  background: #fff;
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  transition: transform 0.15s ease, background 0.15s ease;
}
.turn-o .tt-power {
  border-color: #2b6fd6;
  border-radius: 15px 255px 15px 225px/225px 15px 255px 15px;
}
.tt-power small {
  display: grid;
  place-items: center;
  min-width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #2a2a3a;
  color: #fff;
  font-size: 0.75rem;
}
.tt-power.is-armed {
  background: #ffe45c;
  transform: rotate(-2deg) scale(1.05);
}
.tt-power:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.tt-scorecard {
  margin-top: 34px;
  width: 100%;
  max-width: 560px;
  padding: 22px 24px 20px;
  background: linear-gradient(180deg, transparent 52px, rgba(229, 56, 79, 0.45) 52px 54px, transparent 54px), repeating-linear-gradient(180deg, #fff 0 29px, #cfe0f3 29px 30px);
  border: 2px solid #2a2a3a;
  border-radius: 6px;
  box-shadow: 0 18px 34px -18px rgba(0, 0, 0, 0.4);
  transform: rotate(-0.6deg);
}

.tt-scorecard-title {
  font-family: "Poppins", sans-serif;
  font-weight: 900;
  font-size: 1.35rem;
  margin-bottom: 20px;
}

.tt-history {
  display: flex;
  flex-direction: column;
}

.tt-history-row {
  display: flex;
  align-items: baseline;
  gap: 12px;
  min-height: 30px;
  font-size: 0.95rem;
}
.tt-history-row b {
  font-family: "Poppins", sans-serif;
}
.tt-history-row--x b {
  color: #e5384f;
}
.tt-history-row--o b {
  color: #2b6fd6;
}

.tt-history-round {
  flex: none;
  width: 34px;
  font-family: "Poppins", sans-serif;
  font-weight: 800;
  color: #5d5d72;
}

.tt-history-empty {
  color: #5d5d72;
  min-height: 30px;
}

.tt-scorecard-actions {
  margin-top: 16px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 16px;
}

.tt-guide {
  padding: 8px clamp(16px, 5vw, 80px) 32px;
  padding-left: max(clamp(16px, 5vw, 80px), 84px);
}

.tt-row {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) 2fr;
  gap: 24px 64px;
  padding: 48px 0;
  border-top: 2px dashed rgba(42, 42, 58, 0.14);
}
.tt-row h2 {
  font-family: "Poppins", sans-serif;
  font-weight: 800;
  font-size: clamp(1.35rem, 2.4vw, 1.9rem);
  line-height: 1.2;
  letter-spacing: -0.02em;
}
.tt-row > div {
  max-width: 760px;
  color: #5d5d72;
  font-size: 1.02rem;
  line-height: 1.75;
}
.tt-row > div p + p {
  margin-top: 14px;
}
.tt-row strong {
  color: #2a2a3a;
}

.tt-faq details {
  border-bottom: 1px solid rgba(42, 42, 58, 0.14);
}
.tt-faq details:first-child summary {
  padding-top: 0;
}
.tt-faq summary {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  padding: 14px 0;
  cursor: pointer;
  list-style: none;
  font-weight: 600;
  color: #2a2a3a;
}
.tt-faq summary::-webkit-details-marker {
  display: none;
}
.tt-faq summary::after {
  content: "+";
  font-family: "Poppins", sans-serif;
  font-weight: 800;
  font-size: 1.3rem;
  line-height: 1;
  color: #e5384f;
  transition: transform 0.2s ease;
}
.tt-faq details[open] summary::after {
  transform: rotate(45deg);
}
.tt-faq details p {
  padding-bottom: 16px;
}

.tt-foot {
  padding: 40px clamp(16px, 5vw, 80px) 40px;
  text-align: center;
  color: #5d5d72;
  border-top: 2px dashed rgba(42, 42, 58, 0.14);
}
.tt-foot p + p {
  margin-top: 12px;
}
.tt-foot a {
  color: #2a2a3a;
  font-weight: 500;
}

.tt-foot-meta {
  font-size: 0.85rem;
}
.tt-foot-meta a {
  color: #5d5d72;
  text-decoration: none;
}

.tt-toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  z-index: 10;
  transform: translate(-50%, 16px);
  max-width: calc(100vw - 32px);
  padding: 11px 20px;
  border-radius: 99px;
  background: #2a2a3a;
  color: #fff;
  font-size: 0.875rem;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
}
.tt-toast.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

@keyframes tt-draw {
  to {
    stroke-dashoffset: 0;
  }
}
@keyframes tt-erase {
  to {
    opacity: 0;
    transform: scale(0.6) rotate(20deg);
  }
}
@keyframes tt-scribble {
  0% {
    clip-path: inset(0 100% 0 0);
    opacity: 1;
  }
  60% {
    clip-path: inset(0 0 0 0);
    opacity: 1;
  }
  100% {
    clip-path: inset(0 0 0 0);
    opacity: 0;
  }
}
@keyframes tt-target {
  50% {
    transform: scale(0.9);
    border-color: #e5384f;
  }
}
@keyframes tt-dot {
  to {
    visibility: hidden;
  }
}
@keyframes tt-scribble-pencil {
  from {
    transform: translateX(-4px) rotate(-8deg);
  }
  to {
    transform: translateX(4px) rotate(8deg);
  }
}
@media (max-width: 860px) {
  .tt-setup {
    grid-template-columns: minmax(0, 1fr);
  }
  .tt-hero-board {
    display: none;
  }
  .tt-row {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 600px) {
  body.tt {
    background: linear-gradient(90deg, transparent 22px, rgba(229, 56, 79, 0.38) 22px 24px, transparent 24px), repeating-linear-gradient(180deg, #fdfcf7 0 31px, #cfe0f3 31px 32px);
  }
  .tt-setup,
  .tt-guide {
    padding-left: 36px;
    padding-right: 16px;
  }
  .tt-choice,
  .tt-names {
    grid-template-columns: 1fr;
  }
  .tt-score {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }
  .tt-vs {
    grid-column: 1/-1;
    grid-row: 2;
    flex-direction: row;
    justify-content: center;
    gap: 10px;
  }
  .tt-player {
    gap: 6px;
    padding: 8px 10px;
  }
  .tt-player-mark {
    font-size: 1.3rem;
  }
  .tt-player-score {
    font-size: 1.6rem;
  }
  .tt-mark path {
    stroke-width: 11;
  }
  .tt-board--5 .tt-mark path {
    stroke-width: 13;
  }
}
@media (prefers-reduced-motion: reduce) {
  .tt-grid path,
  .tt-mark path {
    animation: none;
    stroke-dashoffset: 0;
  }
  .tt-pencil,
  .tt-dots i,
  .tt-cell.is-target::before,
  .tt-scribble {
    animation: none;
  }
  .tt-btn,
  .tt-player,
  .tt-power,
  .tt-choice span,
  .tt-winline.is-drawn path {
    transition: none;
  }
}
