@font-face {
  font-family: "Noto Sans Telugu";
  src: url(/assets/noto-sans-telugu.ttf) format("truetype");
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: Barlow;
  src: url(/assets/barlow-regular.ttf) format("truetype");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: Barlow;
  src: url(/assets/barlow-semibold.ttf) format("truetype");
  font-weight: 500 800;
  font-display: swap;
}
:root {
  color-scheme: light dark;
  --bg:#f8f9f7;
  --surface:#fff;
  --text:#222b25;
  --muted:#626e65;
  --line:#dce2db;
  --accent:#30624a;
  --accent-soft:#e6eee8;
  --button-text:#fff;
  --focus:#306b4f;
  --bulma-family-primary:Barlow,sans-serif;
  --bulma-primary-h:149deg;
  --bulma-primary-s:34%;
  --bulma-primary-l:29%;
  --bulma-primary-invert-l:100%;
  font-family: Barlow, sans-serif;
  background: var(--bg);
  color: var(--text);
  font-size: 16px;
}
@media (prefers-color-scheme:dark) {
  :root {
    --bg:#171a18;
    --surface:#202521;
    --text:#e5ebe6;
    --muted:#a7b3aa;
    --line:#39433b;
    --accent:#a8d3b9;
    --accent-soft:#2b3c31;
    --button-text:#172a20;
    --focus:#b3d7bd;
  }
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  min-height: 100dvh;
}
a {
  color: inherit;
  text-decoration: none;
}
a:hover {
  color: var(--accent);
}
button,
input,
select {
  font: inherit;
}
button,
a,
input,
select {
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}
button {
  cursor: pointer;
}
input {
  caret-color: var(--accent);
}
::selection {
  background: var(--accent);
  color: var(--bg);
}
:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 4px;
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1,
h2,
h3 {
  color: var(--text);
  text-wrap: balance;
  font-weight: 600;
  letter-spacing: -.025em;
}
button {
  color: var(--text);
}
.skip {
  position: fixed;
  left: 16px;
  top: -80px;
  z-index: 100;
  background: var(--surface);
  padding: 12px;
}
.skip:focus {
  top: 8px;
}
.site-header {
  display: flex;
  align-items: center;
  gap: 38px;
  max-width: 1184px;
  padding: 26px 32px;
  margin: auto;
}
.brand {
  font-size: 26px;
  font-weight: 600;
  letter-spacing: -.035em;
  white-space: nowrap;
}
.brand > span {
  color: var(--accent);
}
.site-nav {
  display: flex;
  gap: 26px;
}
.site-nav > a {
  font-size: 14px;
  color: var(--muted);
  padding: 8px 0;
}
.site-nav > a[aria-current=page] {
  color: var(--text);
  text-decoration: underline;
  text-underline-offset: 7px;
  text-decoration-thickness: 2px;
}
.button {
  border-radius: 8px;
  box-shadow: none;
  font-size: 14px;
  min-height: 44px;
  border-color: var(--line);
  background: var(--surface);
  color: var(--text);
  font-weight: 500;
}
.button:hover {
  border-color: var(--accent);
  background: var(--accent-soft);
  color: var(--text);
}
.button.is-primary {
  background: var(--accent);
  color: var(--button-text);
  border-color: transparent;
}
.button.is-primary:hover {
  filter: brightness(1.07);
}
.button.is-text {
  background: transparent;
  border-color: transparent;
  color: var(--muted);
  text-decoration: none;
}
.button.is-text:hover {
  background: var(--accent-soft);
  color: var(--text);
}
.player-button {
  margin-left: auto;
  max-width: 180px;
  overflow: hidden;
  text-overflow: ellipsis;
  background: transparent;
  font-size: 13px;
  min-height: 38px;
}
.input,
.select select {
  background: var(--surface);
  border-color: var(--line);
  color: var(--text);
  box-shadow: none;
  border-radius: 8px;
  min-height: 46px;
  font-size: 15px;
}
.input::placeholder {
  color: var(--muted);
  opacity: 1;
}
.input:focus {
  border-color: var(--accent);
  box-shadow: none;
}
.select:not(.is-multiple):not(.is-loading)::after {
  border-color: var(--muted);
}
main {
  max-width: 1184px;
  margin: 0 auto;
  padding: 55px 32px 48px;
  min-height: calc(100dvh - 185px);
}
.browse-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 32px;
}
.browse-heading h1 {
  font-size: 38px;
  line-height: 1.15;
}
.browse-heading p {
  color: var(--muted);
  margin-top: 10px;
  font-size: 16px;
}
.search-field {
  max-width: 300px;
  width: 100%;
}
.search-field input {
  padding-inline: 16px;
}
.catalogue-tools {
  display: flex;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}
.category-list {
  display: flex;
  gap: 6px;
  overflow: auto;
  scrollbar-width: none;
  padding: 3px 0;
}
.category-button {
  font-size: 14px;
  border: 0;
  border-radius: 7px;
  padding: 10px 14px;
  background: transparent;
  color: var(--muted);
  white-space: nowrap;
  min-height: 42px;
}
.category-button[aria-pressed=true] {
  background: var(--accent-soft);
  color: var(--accent);
  font-weight: 600;
}
.category-button:hover {
  color: var(--text);
}
.sort-field select {
  background: transparent;
  border: 0;
  color: var(--muted);
  font-size: 13px;
  padding: 10px 4px;
  min-height: 44px;
  max-width: 130px;
}
.game-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px 24px;
}
.game-card {
  position: relative;
  min-width: 0;
}
.game-preview {
  aspect-ratio: 1.5;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 14px;
  background: var(--preview-bg,#dde8e4);
  isolation: isolate;
  transition: filter .18s;
}
.game-preview:hover {
  filter: brightness(.96);
}
.game-preview img {
  max-width: 70%;
  max-height: 78%;
  object-fit: contain;
  pointer-events: none;
  transition: transform .25s cubic-bezier(.16, 1, .3, 1);
}
.game-preview:hover img {
  transform: translateY(-4px);
}
.game-preview.racer {
  background: #d2e3df;
}
.game-preview.racer img {
  width: 78%;
  max-width: 85%;
  max-height: 90%;
  filter: drop-shadow(0 14px 11px #15342c20);
}
.game-preview.orbital {
  background: #222e48;
}
.game-preview.orbital img {
  width: 32%;
  transform: rotate(-12deg);
  filter: drop-shadow(0 12px 16px #080f22a0);
}
.game-preview.orbital:hover img {
  transform: rotate(-12deg) translateY(-4px);
}
.game-preview.mosslight {
  background: #d4e9bf;
}
.game-preview.mosslight img {
  width: 34%;
  position: relative;
  z-index: 2;
  align-self: center;
}
.preview-land {
  position: absolute;
  inset: auto 0 0;
  height: 34%;
  background: #abc98a;
}
.game-preview.mosslight .preview-tile {
  position: absolute;
  width: 64%;
  max-width: 64%;
  height: 64px;
  max-height: 64px;
  object-fit: fill;
  bottom: 13%;
  left: 18%;
  z-index: 1;
}
.game-preview.prism {
  background: #e7def2;
}
.brick-preview {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 7px;
  width: 70%;
  transform: rotate(-8deg);
}
.brick-preview > span {
  height: 22px;
  background: #a99bcd;
  border-radius: 5px;
}
.brick-preview > span:nth-child(n+5) {
  background: #d09db7;
}
.brick-preview > span:nth-child(n+9) {
  background: #e0ba85;
}
.brick-preview > span:nth-child(4) {
  opacity: 0;
}
.brick-preview > span:nth-child(8) {
  opacity: .6;
}
.preview-paddle {
  position: absolute;
  width: 27%;
  height: 10px;
  bottom: 17%;
  background: #7c64a3;
  border-radius: 6px;
}
.preview-ball {
  position: absolute;
  width: 14px;
  height: 14px;
  background: #fff;
  border-radius: 50%;
  right: 24%;
  bottom: 28%;
}
.game-preview.merge {
  background: #eee7d9;
}
.tile-preview {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 7px;
  transform: rotate(-7deg);
  width: 55%;
}
.tile-preview > span {
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  background: #dbcaab;
  color: #685b42;
  border-radius: 7px;
  font-size: clamp(20px, 2.5vw, 31px);
  font-weight: 600;
}
.tile-preview > span:nth-child(2) {
  background: #c2a56b;
  color: #fff;
}
.tile-preview > span:nth-child(5) {
  background: #e2d6bf;
}
.tile-preview > span:nth-child(6) {
  background: #aa7f4d;
  color: #fff;
}
.game-card-content {
  padding: 17px 0 0;
  display: flex;
  align-items: flex-start;
  gap: 8px;
}
.game-card-content h2 {
  font-size: 19px;
  line-height: 1.3;
}
.game-card-content p {
  font-size: 14px;
  color: var(--muted);
  margin-top: 6px;
  line-height: 1.5;
}
.game-card-content > div {
  flex: 1;
}
.save-game {
  border: 0;
  padding: 6px 0 6px 10px;
  min-height: 38px;
  font-size: 12px;
  color: var(--muted);
  background: transparent;
}
.save-game[aria-pressed=true] {
  color: var(--accent);
  font-weight: 600;
}
.save-game:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}
.browse-bottom {
  margin-top: 43px;
  padding-top: 27px;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  gap: 18px;
  color: var(--muted);
  font-size: 14px;
}
.browse-bottom .button {
  margin-left: auto;
}
.site-footer {
  max-width: 1184px;
  margin: 0 auto;
  padding: 22px 32px 30px;
  display: flex;
  gap: 24px;
  font-size: 13px;
  color: var(--muted);
}
.site-footer > span {
  margin-right: auto;
}
.empty-state,
.loading-state {
  padding: 60px 20px;
  text-align: center;
  color: var(--muted);
  grid-column: 1/-1;
}
.empty-state h2 {
  font-size: 26px;
  margin-bottom: 12px;
}
.empty-state p {
  margin-bottom: 20px;
}
.empty-state .button {
  margin-top: 14px;
}
.error-message {
  padding: 25px;
  background: var(--surface);
  border-radius: 12px;
  color: var(--text);
}
#toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  transform: translate(-50%, 12px);
  opacity: 0;
  transition: opacity .15s, transform .15s;
  z-index: 100;
  background: var(--text);
  color: var(--bg);
  padding: 13px 20px;
  border-radius: 9px;
  font-size: 14px;
  max-width: calc(100vw - 32px);
  text-align: center;
  pointer-events: none;
}
#toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
}
dialog {
  background: var(--surface);
  color: var(--text);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 28px;
  width: calc(100% - 32px);
  max-width: 400px;
}
dialog::backdrop {
  background: #101a1659;
}
dialog h2 {
  font-size: 23px;
  margin-bottom: 24px;
}
dialog label {
  font-size: 14px;
  display: block;
  margin-bottom: 8px;
}
.dialog-actions {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  margin-top: 24px;
}
.score-tabs {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin: 26px 0;
}
.score-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
}
.score-table th {
  color: var(--muted);
  font-weight: 400;
  text-align: left;
}
.score-table th,
.score-table td {
  padding: 17px 10px;
  border-bottom: 1px solid var(--line);
}
.score-table td:last-child,
.score-table th:last-child {
  text-align: right;
  font-variant-numeric: tabular-nums;
}
.score-note {
  color: var(--muted);
  font-size: 13px;
  margin-top: 20px;
}
.about-copy {
  max-width: 640px;
}
.about-copy h1 {
  font-size: 34px;
  margin-bottom: 25px;
}
.about-copy p {
  font-size: 17px;
  line-height: 1.8;
  color: var(--muted);
  margin-bottom: 20px;
}
.about-copy .button {
  margin-top: 20px;
}
.about-copy h2 {
  font-size: 22px;
  font-weight: 600;
  margin: 30px 0 12px;
}
.page-guide {
  max-width: 1184px;
  margin: 0 auto;
  padding: 12px 32px 48px;
}
.page-guide[hidden] {
  display: none;
}
.guide-copy {
  border-top: 1px solid var(--line);
  padding-top: 28px;
  line-height: 1.75;
}
.guide-copy > p {
  max-width: 72ch;
  color: var(--muted);
  margin: 0 0 16px;
}
.guide-copy h2 {
  font-size: 24px;
  font-weight: 600;
  margin: 0 0 14px;
  letter-spacing: -.02em;
}
.guide-copy h3 {
  font-size: 17px;
  font-weight: 600;
  margin: 24px 0 8px;
}
.genre-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  margin: 22px 0;
  font-size: 14px;
  color: var(--accent);
}
.genre-links a,
.breadcrumbs a,
.seo-game-list a {
  text-decoration: underline;
  text-underline-offset: 4px;
}
.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 25px;
}
.seo-game-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px 40px;
  list-style: none;
  padding: 0;
  margin: 22px 0;
}
.seo-game-list > li {
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
  min-width: 0;
}
.seo-game-list a {
  font-size: 17px;
  font-weight: 600;
}
.seo-game-list p {
  font-size: 14px;
  line-height: 1.65;
  color: var(--muted);
  margin: 6px 0 0;
  max-width: 65ch;
}
.seo-initial h1 {
  font-size: 36px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -.03em;
  margin-bottom: 15px;
}
.seo-initial > p {
  max-width: 72ch;
  line-height: 1.75;
  color: var(--muted);
  margin-bottom: 20px;
}
.seo-unavailable {
  font-size: 12px;
  color: var(--muted);
  display: block;
  margin-top: 6px;
}
@media (max-width:600px) {
  .page-guide {
    padding: 12px 20px 32px;
  }
  .seo-game-list {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .guide-copy h2 {
    font-size: 22px;
  }
  .seo-initial h1 {
    font-size: 30px;
  }
  .genre-links {
    gap: 12px 20px;
  }
}
body[data-playing=true] .site-header,
body[data-playing=true] .site-footer {
  display: none;
}
body[data-playing=true] main {
  padding: 20px 28px;
  max-width: 1260px;
  min-height: 100dvh;
}
.player-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 16px;
}
.player-header h1 {
  font-size: 22px;
}
.player-header > a {
  font-size: 14px;
  color: var(--muted);
  min-width: 80px;
}
.player-scores {
  display: flex;
  gap: 22px;
  justify-content: flex-end;
  min-width: 150px;
  font-size: 12px;
  color: var(--muted);
  align-items: center;
}
.player-scores b {
  display: block;
  font-size: 20px;
  color: var(--text);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}
.stage {
  position: relative;
  aspect-ratio: 16/10;
  border-radius: 12px;
  overflow: hidden;
  background: #142330;
  isolation: isolate;
  max-height: calc(100dvh - 170px);
  width: 100%;
  touch-action: none;
}
.canvas-mount {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.canvas-mount canvas {
  display: block;
  width: 100%;
  height: 100%;
  outline: 0;
  touch-action: none;
}
.game-overlay {
  position: absolute;
  inset: 0;
  z-index: 5;
  display: grid;
  place-items: center;
  padding: 26px;
  background: #14222bbd;
  color: #fff;
  text-align: center;
}
.game-overlay[hidden] {
  display: none;
}
.overlay-content {
  max-width: 420px;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.overlay-content h2 {
  color: #fff;
  font-size: 34px;
  line-height: 1.15;
  margin-bottom: 14px;
}
.overlay-content p {
  font-size: 15px;
  line-height: 1.6;
  color: #e6eef1;
  margin-bottom: 22px;
  max-width: 360px;
}
.overlay-content .button.is-primary {
  background: #e8f0e7;
  color: #263f2c;
  min-width: 150px;
}
.overlay-content .button {
  background: transparent;
  color: #fff;
  border-color: #ffffff80;
}
.overlay-content small {
  margin-top: 14px;
  font-size: 13px;
  color: #d5e4dd;
}
.end-score {
  font-size: 52px;
  font-weight: 600;
  line-height: 1;
  margin: 3px 0 24px;
  font-variant-numeric: tabular-nums;
}
.end-actions {
  display: flex;
  gap: 10px;
}
.score-submit {
  display: flex;
  gap: 8px;
  margin-top: 24px;
  flex-wrap: wrap;
  justify-content: center;
}
.score-submit .input {
  max-width: 170px;
  color: #fff;
  border-color: #ffffff70;
  background: #10251f90;
}
.score-submit .button {
  min-width: 0;
}
.player-controls {
  display: flex;
  gap: 8px;
  align-items: center;
  justify-content: flex-end;
  padding-top: 12px;
}
.player-controls .button {
  font-size: 13px;
  min-height: 40px;
}
.control-help {
  margin-right: auto;
  color: var(--muted);
  font-size: 13px;
  max-width: 620px;
}
.touch-controls {
  position: absolute;
  inset: auto 18px 18px;
  display: none;
  z-index: 3;
  align-items: center;
  justify-content: space-between;
  pointer-events: none;
}
.touch-group {
  display: flex;
  gap: 10px;
}
.touch-controls button {
  pointer-events: auto;
  touch-action: none;
  -webkit-user-select: none;
  user-select: none;
  min-width: 58px;
  height: 56px;
  background: #f9fcf0cf;
  color: #1b3028;
  border: 1px solid #ffffff60;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 600;
}
.touch-controls button:active {
  background: #fff;
}
.touch-controls button[data-key=action] {
  padding-inline: 16px;
  font-size: 13px;
}
.stage:fullscreen {
  width: 100vw;
  height: 100dvh;
  max-height: none;
  aspect-ratio: auto;
  border-radius: 0;
}
.game-loading {
  color: #e6eef1;
  font-size: 14px;
  margin-top: 16px;
}
.player-error {
  max-width: 480px;
  margin: 80px auto;
  text-align: center;
}
.player-error p {
  margin: 18px 0;
  color: var(--muted);
}
@media (pointer:coarse) {
  .touch-controls {
    display: flex;
  }
  .keyboard-hint {
    display: none;
  }
}
@media (min-width:1500px) {
  body[data-playing=true] main {
    max-width: 1380px;
  }
  .stage {
    max-height: calc(100dvh - 165px);
  }
}
@media (max-width:900px) {
  .game-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .browse-heading h1 {
    font-size: 34px;
  }
  .site-header {
    gap: 28px;
  }
  .search-field {
    max-width: 250px;
  }
  .control-help {
    max-width: 440px;
  }
  .brick-preview > span {
    height: 25px;
  }
  .tile-preview > span {
    font-size: 30px;
  }
}
@media (max-width:600px) {
  .site-header {
    padding: 20px;
    gap: 18px;
    flex-wrap: wrap;
  }
  .brand {
    font-size: 25px;
  }
  .player-button {
    font-size: 12px;
    max-width: 120px;
    order: 1;
  }
  .site-nav {
    order: 2;
    width: 100%;
    gap: 24px;
    padding-top: 5px;
  }
  .site-nav > a {
    font-size: 15px;
  }
  .site-header > .brand {
    order: 0;
  }
  main {
    padding: 30px 20px 32px;
    min-height: calc(100dvh - 210px);
  }
  .browse-heading {
    display: block;
    margin-bottom: 20px;
  }
  .browse-heading h1 {
    font-size: 32px;
  }
  .browse-heading p {
    font-size: 15px;
    margin-top: 9px;
  }
  .search-field {
    max-width: none;
    margin-top: 25px;
  }
  .catalogue-tools {
    margin-bottom: 20px;
    gap: 0;
  }
  .category-list {
    margin-right: -20px;
    padding-right: 20px;
    max-width: calc(100% + 20px);
  }
  .category-button {
    font-size: 13px;
    padding: 10px 12px;
    min-height: 44px;
  }
  .sort-field {
    display: none;
  }
  .game-grid {
    gap: 27px 15px;
  }
  .game-preview {
    aspect-ratio: 1.12;
    border-radius: 12px;
  }
  .game-card-content {
    padding-top: 13px;
    display: block;
  }
  .game-card-content h2 {
    font-size: 17px;
  }
  .game-card-content p {
    font-size: 13px;
    line-height: 1.5;
    min-height: 39px;
    margin-top: 5px;
  }
  .save-game {
    padding: 5px 0;
    font-size: 12px;
    min-height: 32px;
  }
  .game-preview.racer img {
    max-width: 100%;
    width: 100%;
  }
  .game-preview.orbital img {
    width: 47%;
  }
  .game-preview.mosslight img {
    width: 48%;
  }
  .game-preview.mosslight .preview-tile {
    height: 47px;
    bottom: 13%;
  }
  .brick-preview {
    gap: 4px;
    width: 76%;
  }
  .brick-preview > span {
    height: 15px;
    border-radius: 3px;
  }
  .preview-paddle {
    height: 8px;
    bottom: 15%;
  }
  .preview-ball {
    width: 10px;
    height: 10px;
  }
  .tile-preview {
    width: 72%;
    gap: 5px;
  }
  .tile-preview > span {
    font-size: 24px;
    border-radius: 5px;
  }
  .browse-bottom {
    margin-top: 25px;
    gap: 15px;
    font-size: 13px;
  }
  .browse-bottom > .button {
    font-size: 13px;
    padding-inline: 12px;
  }
  .site-footer {
    padding: 20px;
    gap: 20px;
    font-size: 12px;
  }
  .score-tabs {
    gap: 3px;
  }
  .score-tabs button {
    font-size: 12px;
    padding: 9px;
  }
  .score-table {
    font-size: 14px;
  }
  .score-table td,
  .score-table th {
    padding: 15px 6px;
  }
  body[data-playing=true] main {
    padding: 15px 12px;
  }
  .player-header {
    gap: 10px;
    margin-bottom: 14px;
  }
  .player-header h1 {
    font-size: 18px;
    text-align: center;
  }
  .player-header > a {
    min-width: 62px;
    font-size: 13px;
  }
  .player-scores {
    min-width: 100px;
    gap: 13px;
    font-size: 11px;
  }
  .player-scores b {
    font-size: 17px;
  }
  .stage {
    aspect-ratio: 3/4;
    max-height: none;
    border-radius: 10px;
  }
  .player-controls {
    gap: 7px;
    flex-wrap: wrap;
    padding-top: 10px;
  }
  .player-controls .button {
    font-size: 12px;
    min-height: 42px;
    padding-inline: 11px;
  }
  .control-help {
    order: 5;
    flex-basis: 100%;
    font-size: 13px;
    line-height: 1.55;
    margin-top: 7px;
    max-width: none;
  }
  .overlay-content h2 {
    font-size: 30px;
  }
  .overlay-content p {
    font-size: 14px;
    max-width: 290px;
  }
  .overlay-content small {
    font-size: 12px;
  }
  .end-score {
    font-size: 42px;
  }
  .game-overlay {
    padding: 20px;
  }
  .about-copy h1 {
    font-size: 30px;
  }
  .about-copy p {
    font-size: 16px;
  }
  .touch-controls {
    inset: auto 13px 15px;
  }
  .touch-controls button {
    min-width: 53px;
    height: 53px;
  }
}
@media (max-height:600px) and (orientation:landscape) {
  body[data-playing=true] main {
    padding: 8px 16px;
  }
  .player-header {
    margin-bottom: 7px;
  }
  .player-header h1 {
    font-size: 18px;
  }
  .player-scores b {
    font-size: 16px;
  }
  .stage {
    aspect-ratio: auto;
    height: calc(100dvh - 112px);
    max-height: none;
  }
  .control-help {
    display: none;
  }
  .player-controls {
    padding-top: 6px;
  }
  .player-controls .button {
    min-height: 34px;
  }
  .touch-controls {
    inset: auto 16px 14px;
  }
}
@media (prefers-reduced-motion:reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
.race-hud {
  position: absolute;
  inset: 18px 20px auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  z-index: 2;
  color: #fff;
  font-size: 14px;
  pointer-events: none;
  text-shadow: 0 2px 5px #0008;
}
.race-hud > span:first-child {
  display: flex;
  gap: 5px;
  align-items: baseline;
}
.race-hud b {
  font-size: 30px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}
.race-hud small {
  font-size: 12px;
}
.nitro-gauge {
  width: 110px;
}
.nitro-gauge label {
  display: block;
  font-size: 12px;
  margin-bottom: 5px;
}
.nitro-gauge progress {
  appearance: none;
  display: block;
  border: 0;
  border-radius: 4px;
  height: 5px;
  width: 100%;
  background: #ffffff50;
}
.nitro-gauge progress::-webkit-progress-bar {
  background: #ffffff50;
  border-radius: 4px;
}
.nitro-gauge progress::-webkit-progress-value {
  background: #c3f5ef;
  border-radius: 4px;
}
.nitro-gauge progress::-moz-progress-bar {
  background: #c3f5ef;
  border-radius: 4px;
}
.touch-controls[hidden] {
  display: none;
}
.advanced-hud {
  position: absolute;
  inset: 16px 18px auto;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  z-index: 2;
  pointer-events: none;
  color: #fff;
}
.advanced-hud > span {
  background: #142b36bf;
  border-radius: 9px;
  padding: 8px 12px;
  min-width: 85px;
}
.advanced-hud small {
  display: block;
  color: #dce8e6;
  font-size: 12px;
  line-height: 1.3;
  margin-bottom: 3px;
}
.advanced-hud b {
  font-weight: 600;
  font-size: 19px;
  line-height: 1.2;
  font-variant-numeric: tabular-nums;
}
.game-notice {
  position: absolute;
  top: 27%;
  left: 50%;
  transform: translateX(-50%);
  font-size: 23px;
  line-height: 1.3;
  font-weight: 600;
  color: white;
  text-shadow: 0 2px 5px #000b;
  text-align: center;
  pointer-events: none;
  z-index: 2;
  width: 80%;
}
.touch-stick {
  width: 94px;
  height: 94px;
  position: relative;
  border-radius: 50%;
  background: #192f3f57;
  border: 1px solid #ffffffa0;
  pointer-events: auto;
  touch-action: none;
  user-select: none;
  -webkit-user-select: none;
}
.touch-stick > i {
  position: absolute;
  left: 29px;
  top: 29px;
  width: 34px;
  height: 34px;
  background: #f4f9e9de;
  border-radius: 50%;
  transform: translate(var(--x,0px), var(--y,0px));
  pointer-events: none;
}
.touch-stick > span {
  position: absolute;
  bottom: -19px;
  width: 100%;
  text-align: center;
  color: white;
  font-size: 11px;
  text-shadow: 0 1px 3px #000b;
}
.touch-buttons {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-left: auto;
}
.touch-buttons:has(+ .touch-stick) {
  margin-left: 0;
}
.touch-buttons > button {
  height: 43px;
  min-width: 62px;
  font-size: 12px;
}
.game-crosshair {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 3px;
  height: 3px;
  z-index: 2;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 0 0 1px #23384480;
  pointer-events: none;
}
.game-crosshair::before,
.game-crosshair::after {
  content: "";
  position: absolute;
  background: #fff9;
}
.game-crosshair::before {
  width: 1px;
  height: 15px;
  top: -6px;
  left: 1px;
}
.game-crosshair::after {
  height: 1px;
  width: 15px;
  left: -6px;
  top: 1px;
}
.game-hurt {
  position: absolute;
  inset: 0;
  box-shadow: inset 0 0 85px #bd554a;
  opacity: 0;
  z-index: 2;
  pointer-events: none;
}
.community-stage iframe {
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
  border: 0;
  background: var(--surface);
}
.community-credits {
  font-size: 12px !important;
  text-align: right;
}
.community-loading {
  color: var(--muted);
  padding: 40px;
  text-align: center;
}
.community-stage {
  background: var(--surface);
}
.game-preview.apex {
  background: #d5e0dd;
}
.game-preview.apex img {
  width: 85%;
  max-width: 85%;
  max-height: 90%;
  image-rendering: auto;
}
.game-preview.flight {
  background: #d0dce1;
}
.game-preview.flight img {
  width: 80%;
  max-width: 90%;
  max-height: 90%;
}
.game-preview.breach {
  background: #d8d5c5;
}
.game-preview.breach img,
.game-preview.parkour img {
  height: 80%;
  max-height: 85%;
  width: auto;
  max-width: 80%;
}
.game-preview.parkour {
  background: #d9e8cd;
}
.game-preview.marble {
  background: #d9e4e2;
}
.marble-preview {
  width: 66%;
  aspect-ratio: 1;
  border: 9px solid #9b9279;
  border-radius: 11px;
  position: relative;
  transform: rotate(-12deg);
  background: #ece9d8;
}
.marble-preview > i {
  position: absolute;
  background: #b1b8a4;
  height: 8px;
  border-radius: 3px;
  width: 60%;
  top: 25%;
  left: 15%;
}
.marble-preview > i:nth-child(2) {
  top: 53%;
  left: 35%;
  width: 8px;
  height: 38%;
}
.marble-preview > i:nth-child(3) {
  top: 68%;
  left: 4%;
  width: 28%;
}
.marble-preview > b {
  position: absolute;
  width: 24px;
  height: 24px;
  background: #629baf;
  border-radius: 50%;
  left: 14%;
  bottom: 15%;
  box-shadow: 1px 5px 8px #607a6450;
}
.game-preview.q1k3 {
  background: #322d42;
  color: #e0cfbc;
}
.game-preview.underrun {
  background: #192937;
  color: #e9b274;
}
.game-preview.darkroom {
  background: #e8e3d9;
  color: #49453c;
}
.game-preview.city,
.game-preview.hextris {
  background: #d4e4dc;
}
.game-wordmark {
  font-size: 50px;
  font-weight: 600;
  letter-spacing: -.03em;
}
.underrun-wordmark {
  font-size: 32px;
  letter-spacing: .03em;
}
.darkroom-wordmark {
  font-size: 39px;
  line-height: .95;
  font-weight: 400;
}
.game-preview img.full-preview {
  max-width: 100%;
  width: 100%;
  height: 100%;
  max-height: 100%;
  object-fit: cover;
}
@media (max-width:600px) {
  .advanced-hud {
    inset: 12px 12px auto;
    gap: 7px;
  }
  .advanced-hud > span {
    padding: 7px 8px;
    min-width: 0;
    flex: 1;
  }
  .advanced-hud small {
    font-size: 10px;
  }
  .advanced-hud b {
    font-size: 15px;
  }
  .game-notice {
    font-size: 20px;
  }
  .touch-stick {
    width: 85px;
    height: 85px;
    margin-bottom: 13px;
  }
  .touch-stick > i {
    left: 25px;
    top: 25px;
  }
  .touch-controls:has(.touch-stick) {
    inset: auto 12px 20px;
    align-items: flex-end;
  }
  .touch-buttons {
    margin-bottom: 13px;
  }
  .touch-buttons > button {
    min-width: 58px;
    height: 42px;
    font-size: 11px;
  }
  .game-wordmark {
    font-size: 36px;
  }
  .underrun-wordmark {
    font-size: 21px;
  }
  .darkroom-wordmark {
    font-size: 31px;
  }
  .marble-preview {
    width: 75%;
    border-width: 6px;
  }
  .marble-preview > b {
    width: 17px;
    height: 17px;
  }
  .community-credits {
    font-size: 11px !important;
    max-width: 90px;
  }
  .community-stage {
    min-height: 500px;
  }
  .community-stage:fullscreen {
    min-height: 0;
  }
}
.site-nav > a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}
.player-button,
.save-game {
  min-height: 44px;
}
.touch-buttons > button {
  min-height: 44px;
}
.advanced-hud small {
  font-size: 11px;
}
.tfi-collection {
  display: flex;
  align-items: center;
  gap: 24px;
  background: var(--accent-soft);
  border-radius: 16px;
  padding: 22px 26px;
  margin: 0 0 36px;
}
.tfi-ticket {
  display: grid;
  place-items: center;
  width: 96px;
  height: 70px;
  flex-shrink: 0;
  border: 1px solid currentColor;
  border-radius: 10px;
  font-size: 34px;
  font-weight: 600;
  letter-spacing: -.035em;
  color: var(--accent);
}
.tfi-collection-copy {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 5px;
}
.tfi-collection-copy strong {
  font-size: 23px;
  font-weight: 600;
  letter-spacing: -.02em;
}
.tfi-collection-copy > span {
  color: var(--muted);
  font-size: 15px;
}
.tfi-collection-action {
  font-size: 15px;
  text-decoration: underline;
  text-underline-offset: 5px;
  white-space: nowrap;
}
.tfi-page {
  font-family:
    Barlow,
    "Noto Sans Telugu",
    sans-serif;
}
.tfi-page-heading {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 24px;
  margin-bottom: 30px;
}
.tfi-back {
  width: 100%;
  color: var(--muted);
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  text-decoration: underline;
  text-underline-offset: 5px;
  font-size: 14px;
}
.tfi-page-heading h1 {
  font-size: clamp(36px, 6vw, 58px);
  line-height: 1.1;
}
.tfi-page-heading p {
  color: var(--muted);
  margin-top: 10px;
  line-height: 1.8;
}
.tfi-heading-name {
  margin-left: auto;
  color: var(--muted);
}
.tfi-tabs {
  display: flex;
  gap: 30px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 36px;
}
.tfi-tabs a {
  padding: 12px 2px;
  min-height: 48px;
}
.tfi-tabs a[aria-current] {
  border-bottom: 2px solid var(--accent);
  color: var(--accent);
  font-weight: 600;
}
.tfi-feature-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 64px;
  align-items: center;
  margin-bottom: 54px;
}
.tfi-game-art {
  position: relative;
  display: block;
  min-height: 350px;
  overflow: hidden;
  border-radius: 16px;
  background: #17243b;
  color: #fff;
}
.tfi-game-art:hover {
  color: #fff;
}
.tfi-art-score {
  position: absolute;
  top: 24px;
  left: 45%;
  font-size: 44px;
  line-height: 1;
  font-weight: 600;
}
.tfi-art-token {
  position: absolute;
  display: grid;
  place-items: center;
  width: 68px;
  height: 68px;
  border-radius: 50%;
  left: 24%;
  top: 43%;
  background: #f5c86a;
  color: #392515;
  font-size: 24px;
  font-weight: 600;
  transform: rotate(-12deg);
}
.tfi-art-bottle {
  position: absolute;
  right: 20%;
  width: 48px;
  height: 150px;
  background: #b96b25;
  border-radius: 9px;
}
.tfi-art-bottle::before {
  content: "";
  position: absolute;
  top: -28px;
  left: 15px;
  width: 18px;
  height: 28px;
  background: #c88b3e;
  border-radius: 3px 3px 0 0;
}
.tfi-art-bottle::after {
  content: "TFI";
  position: absolute;
  background: #253a59;
  color: #f5d48b;
  inset: 45px 4px 30px;
  display: grid;
  place-items: center;
  border-radius: 4px;
  font-size: 14px;
}
.tfi-art-bottle-top {
  top: -20px;
  transform: rotate(180deg);
}
.tfi-art-bottle-bottom {
  bottom: -20px;
}
.tfi-art-play {
  position: absolute;
  bottom: 22px;
  left: 22px;
  background: #fff;
  color: #24344f;
  border-radius: 7px;
  padding: 12px 18px;
  font-weight: 600;
}
.tfi-feature-copy h2,
.tfi-meme-link h2 {
  font-size: 32px;
  line-height: 1.15;
}
.tfi-feature-copy p {
  max-width: 35ch;
  color: var(--muted);
  line-height: 1.7;
  margin: 18px 0;
  font-size: 18px;
}
.tfi-telugu {
  font-family: "Noto Sans Telugu", sans-serif;
}
.tfi-feature-copy .tfi-telugu {
  color: var(--accent);
  font-size: 20px;
}
.tfi-feature-copy small {
  display: block;
  color: var(--muted);
  max-width: 36ch;
  margin-top: 14px;
  line-height: 1.6;
}
.tfi-meme-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
  padding: 28px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.tfi-meme-link p {
  color: var(--muted);
  margin-top: 10px;
  line-height: 1.6;
}
.tfi-meme-link > span {
  white-space: nowrap;
  text-decoration: underline;
  text-underline-offset: 5px;
}
.tfi-media {
  margin-top: 42px;
  border-top: 1px solid var(--line);
  padding-top: 24px;
}
.tfi-media summary {
  cursor: pointer;
  min-height: 44px;
  font-size: 19px;
  font-weight: 600;
}
.tfi-media > p {
  color: var(--muted);
  margin: 12px 0 24px;
  line-height: 1.6;
}
.tfi-media-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 30px;
  margin-top: 26px;
}
.tfi-file {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 9px;
  min-width: 0;
}
.tfi-file > span,
.tfi-file small {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
  overflow-wrap: anywhere;
}
.tfi-file input {
  max-width: 100%;
  font-size: 12px;
  color: var(--muted);
}
.tfi-file input::file-selector-button {
  font: inherit;
  padding: 10px;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--text);
  border-radius: 6px;
  cursor: pointer;
  margin-right: 8px;
  min-height: 44px;
}
.tfi-file input:focus-visible {
  outline: 3px solid var(--focus);
}
.tfi-file .button {
  padding: 6px 0;
  font-size: 13px;
}
.tfi-playing {
  max-width: 1000px;
  margin: auto;
}
.tfi-playing .tfi-page-heading {
  margin-bottom: 20px;
}
.tfi-playing .tfi-page-heading h1 {
  font-size: 30px;
}
.tfi-game-layout {
  display: grid;
  grid-template-columns: minmax(0, 480px) minmax(0, 1fr);
  gap: 40px;
  align-items: start;
}
.tfi-stage {
  position: relative;
  width: 100%;
  aspect-ratio: 480/680;
  background: #17243b;
  border-radius: 18px;
  overflow: hidden;
  isolation: isolate;
  touch-action: none;
}
#tfi-canvas {
  position: absolute;
  inset: 0;
}
#tfi-canvas canvas {
  display: block;
  max-width: 100%;
  touch-action: none;
}
.tfi-game-overlay {
  position: absolute;
  inset: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 22px;
  background: #0c1428d9;
}
.tfi-game-overlay[hidden] {
  display: none;
}
.tfi-game-overlay > div {
  width: 100%;
  max-width: 380px;
  background: #17243b;
  border: 1px solid #3d4d66;
  border-radius: 16px;
  padding: 28px 22px;
  text-align: center;
  color: #fff;
}
.tfi-game-overlay h2 {
  color: #ffd58a;
  font-size: 32px;
  line-height: 1.15;
}
.tfi-game-overlay p {
  color: #d9e0ef;
  line-height: 1.6;
  margin: 12px 0 20px;
}
.tfi-game-overlay .tfi-telugu {
  font-size: 16px;
}
.tfi-game-overlay .button {
  display: flex;
  width: 100%;
  background: #f5c86a;
  color: #392515;
  border: 0;
  font-size: 18px;
  font-weight: 600;
  min-height: 52px;
}
.tfi-game-overlay .tfi-text-link {
  color: #e1e8f4;
  margin-top: 18px;
  font-size: 14px;
}
.tfi-preview-note {
  display: block;
  color: #c4ccdc;
  margin: 0 0 20px;
  font-size: 12px;
}
.tfi-reaction {
  width: 100%;
  height: 170px;
  object-fit: contain;
  border-radius: 10px;
  background: #101b30;
  margin-bottom: 16px;
}
.tfi-reaction-type {
  font-size: 20px;
  line-height: 1.1;
  letter-spacing: -.02em;
  color: #d5ddeb;
  padding: 24px 12px;
  margin-bottom: 16px;
  background: #23344e;
  border-radius: 10px;
}
.tfi-reaction-type b {
  font-size: 38px;
  font-weight: 600;
}
.tfi-result {
  display: flex;
  justify-content: center;
  gap: 60px;
  background: #23344e;
  padding: 16px;
  border-radius: 10px;
  margin-bottom: 20px;
}
.tfi-result span {
  display: flex;
  flex-direction: column;
  gap: 5px;
  color: #c4ccdc;
  font-size: 13px;
}
.tfi-result b {
  font-size: 30px;
  color: #fff;
  font-variant-numeric: tabular-nums;
  line-height: 1;
}
.tfi-game-info {
  padding-top: 20px;
}
.tfi-best span {
  color: var(--muted);
  font-size: 14px;
}
.tfi-best b {
  display: block;
  font-variant-numeric: tabular-nums;
  font-size: 54px;
  line-height: 1.2;
  font-weight: 600;
  margin: 8px 0 30px;
}
.tfi-game-info > p {
  color: var(--muted);
  line-height: 1.7;
  max-width: 35ch;
}
.tfi-game-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 25px 0;
}
.tfi-game-info .tfi-asset-note {
  font-size: 13px;
}
.tfi-text-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 5px;
}
.tfi-meme-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 48px;
  align-items: start;
}
.tfi-meme-preview {
  border-radius: 14px;
  overflow: hidden;
  background: #24344f;
}
.tfi-meme-preview canvas {
  display: block;
  width: 100%;
  height: auto;
}
.tfi-meme-controls h2 {
  font-size: 30px;
}
.tfi-meme-controls p {
  color: var(--muted);
  line-height: 1.6;
  margin: 12px 0 20px;
}
.tfi-presets {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 26px;
}
.tfi-presets .button {
  font-size: 13px;
}
.tfi-presets [aria-pressed=true] {
  background: var(--accent-soft);
  border-color: var(--accent);
}
.tfi-meme-controls label {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 20px 0;
}
.tfi-meme-controls textarea {
  font-family:
    "Noto Sans Telugu",
    Barlow,
    sans-serif;
  padding: 14px;
  resize: vertical;
  line-height: 1.8;
  min-height: 110px;
}
.tfi-meme-controls .tfi-asset-note {
  font-size: 13px;
}
@media (max-width:700px) {
  .tfi-collection {
    gap: 16px;
    padding: 20px;
    flex-wrap: wrap;
    margin-bottom: 28px;
  }
  .tfi-ticket {
    width: 68px;
    height: 62px;
    font-size: 28px;
  }
  .tfi-collection-copy {
    min-width: 160px;
  }
  .tfi-collection-copy strong {
    font-size: 19px;
  }
  .tfi-collection-action {
    margin-left: 84px;
  }
  .tfi-heading-name {
    width: 100%;
    margin: 0;
    font-size: 14px;
  }
  .tfi-page-heading {
    gap: 12px;
  }
  .tfi-page-heading p {
    font-size: 14px;
  }
  .tfi-feature-layout {
    grid-template-columns: 1fr;
    gap: 28px;
    margin-bottom: 32px;
  }
  .tfi-game-art {
    min-height: 300px;
  }
  .tfi-meme-link {
    align-items: flex-start;
    flex-direction: column;
  }
  .tfi-media-grid {
    grid-template-columns: 1fr 1fr;
    gap: 24px 18px;
  }
  .tfi-game-layout {
    grid-template-columns: minmax(0, 420px);
    justify-content: center;
    gap: 20px;
  }
  .tfi-game-info {
    padding: 0;
  }
  .tfi-best {
    display: flex;
    align-items: center;
    gap: 20px;
  }
  .tfi-best b {
    font-size: 32px;
    margin: 0;
  }
  .tfi-game-info > p {
    max-width: none;
    margin-top: 14px;
  }
  .tfi-game-actions {
    margin: 18px 0;
  }
  .tfi-meme-layout {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .tfi-game-overlay {
    padding: 14px;
  }
  .tfi-game-overlay > div {
    padding: 20px 16px;
  }
  .tfi-game-overlay h2 {
    font-size: 26px;
  }
  .tfi-reaction {
    height: 135px;
  }
  .tfi-reaction-type {
    padding: 18px 10px;
  }
  .tfi-reaction-type b {
    font-size: 30px;
  }
}
@media (max-width:390px) {
  .tfi-media-grid {
    grid-template-columns: 1fr;
  }
  .tfi-game-overlay > div {
    padding: 16px 12px;
  }
  .tfi-game-overlay h2 {
    font-size: 23px;
  }
  .tfi-result {
    padding: 12px;
    margin-bottom: 14px;
  }
  .tfi-reaction {
    height: 100px;
  }
  .tfi-reaction-type {
    padding: 12px;
  }
  .tfi-game-overlay .tfi-telugu {
    margin: 10px 0;
    font-size: 13px;
  }
}
.tfi-editions {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 36px 25px;
  margin-bottom: 48px;
}
.tfi-edition {
  min-width: 0;
}
.tfi-edition-art {
  display: block;
  position: relative;
  aspect-ratio: 1.18;
  border-radius: 14px;
  overflow: hidden;
  isolation: isolate;
}
.tfi-edition-world {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 55%;
  transition: transform .5s cubic-bezier(.16, 1, .3, 1);
}
.tfi-edition-art:hover .tfi-edition-world {
  transform: scale(1.035);
}
.tfi-edition-hero {
  position: absolute;
  left: 6%;
  bottom: 5%;
  width: 61%;
  height: 81%;
  object-fit: contain;
  object-position: bottom;
  filter: drop-shadow(1px 5px 5px #0004);
}
.tfi-edition-obstacle {
  position: absolute;
  right: 10%;
  top: -15%;
  width: 16%;
  height: 65%;
  object-fit: fill;
  transform: rotate(180deg);
}
.tfi-edition-art > span {
  position: absolute;
  right: 15px;
  bottom: 15px;
  padding: 9px 20px;
  min-height: 44px;
  border-radius: 7px;
  background: var(--edition-accent);
  color: #20251f;
  display: grid;
  place-items: center;
  font-size: 15px;
  font-weight: 600;
}
.tfi-edition-copy {
  margin-top: 16px;
}
.tfi-edition-copy h2 {
  font-size: 23px;
  line-height: 1.2;
}
.tfi-edition-copy p {
  font-size: 14px;
  line-height: 1.55;
  color: var(--muted);
  margin-top: 8px;
}
.tfi-edition-copy .tfi-edition-movie {
  color: var(--text);
  font-size: 13px;
  margin-top: 7px;
}
.tfi-game-info > h2 {
  font-size: 24px;
  line-height: 1.2;
}
.tfi-game-info > .tfi-telugu {
  color: var(--accent);
  font-size: 18px;
  margin: 20px 0;
}
.tfi-ready-hero {
  display: block;
  width: 130px;
  height: 138px;
  object-fit: contain;
  margin: 0 auto 20px;
}
.tfi-game-overlay h2 {
  color: var(--tfi-accent,#ffd58a);
}
.tfi-game-overlay .button {
  background: var(--tfi-accent,#f5c86a);
  color: #20251f;
}
.tfi-reaction-cutout {
  background: #23344e;
  object-fit: contain;
  padding: 4px;
}
video.tfi-reaction {
  object-fit: contain;
  background: #101b30;
}
.tfi-version-links {
  display: flex;
  gap: 5px 14px;
  flex-wrap: wrap;
  margin: 24px 0 12px;
}
.tfi-version-links a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  font-size: 13px;
  color: var(--muted);
  text-decoration: underline;
  text-underline-offset: 5px;
}
.tfi-version-links [aria-current] {
  color: var(--accent);
  font-weight: 600;
  text-decoration-thickness: 2px;
}
.tfi-game-info .tfi-audio-status {
  font-size: 13px;
  margin-top: 12px;
}
.tfi-game-info .tfi-audio-status:empty {
  display: none;
}
.tfi-stage:fullscreen {
  width: 100vw;
  height: 100dvh;
  border-radius: 0;
  aspect-ratio: auto;
}
.tfi-game-overlay > div {
  max-height: 100%;
  overflow: auto;
  scrollbar-width: thin;
}
.tfi-meme-controls select {
  height: 48px;
  padding: 8px 12px;
}
.tfi-meme-upload {
  font-size: 14px;
}
.tfi-meme-upload input {
  font-size: 13px;
  max-width: 100%;
}
.tfi-meme-upload input::file-selector-button {
  font: inherit;
  min-height: 44px;
  padding: 8px 12px;
  background: var(--surface);
  color: var(--text);
  border: 1px solid var(--line);
  border-radius: 7px;
  margin-right: 10px;
  cursor: pointer;
}
.tfi-meme-upload span {
  font-size: 12px;
  color: var(--muted);
  overflow-wrap: anywhere;
}
.tfi-home-faces {
  display: flex;
  width: 126px;
  min-width: 126px;
  align-self: stretch;
  align-items: flex-end;
  overflow: hidden;
}
.tfi-home-faces img {
  width: 58px;
  height: 78px;
  object-fit: contain;
  object-position: bottom;
  margin-left: -17px;
}
.tfi-home-faces img:first-child {
  margin-left: 0;
}
@media (max-width:900px) {
  .tfi-editions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width:700px) {
  .tfi-editions {
    gap: 28px 18px;
  }
  .tfi-edition-copy h2 {
    font-size: 21px;
  }
  .tfi-home-faces {
    display: none;
  }
  .tfi-game-info > .tfi-telugu {
    margin: 15px 0;
  }
  .tfi-ready-hero {
    width: 95px;
    height: 105px;
    margin-bottom: 14px;
  }
}
@media (max-width:480px) {
  .tfi-editions {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .tfi-edition-art {
    aspect-ratio: 1.36;
  }
  .tfi-edition-hero {
    width: 55%;
    height: 86%;
    left: 8%;
  }
  .tfi-edition-copy h2 {
    font-size: 24px;
  }
  .tfi-edition-copy p {
    max-width: 38ch;
  }
}
@media (prefers-reduced-motion:reduce) {
  .tfi-edition-world {
    transition: none;
  }
  .tfi-edition-art:hover .tfi-edition-world {
    transform: none;
  }
}
.game-overlay {
  overflow-y: auto;
}
.overlay-content {
  width: 100%;
  max-height: 100%;
  min-height: 0;
  overflow-y: auto;
  padding: 3px;
}
.player-header {
  min-width: 0;
  flex-wrap: wrap;
}
.player-header h1 {
  min-width: 0;
  flex: 1;
  overflow-wrap: anywhere;
}
.community-stage {
  aspect-ratio: auto;
  height: min(72dvh, 760px);
  max-height: none;
  min-height: 420px;
}
@media (pointer:coarse) {
  .input,
  select,
  textarea {
    font-size: 16px;
  }
}
@media (max-height:600px) and (orientation:landscape) {
  .community-stage {
    height: calc(100dvh - 125px);
    min-height: 220px;
  }
}
.is-unavailable .game-preview,
.is-unavailable .tfi-edition-art {
  filter: grayscale(1);
  opacity: .55;
}
.availability-label {
  position: absolute;
  bottom: 12px;
  left: 12px;
  background: var(--surface);
  color: var(--text);
  padding: 8px 12px;
  border-radius: 6px;
  font-size: 13px;
}
.game-preview {
  position: relative;
}
[aria-disabled=true] {
  cursor: not-allowed;
}
.contact-copy label {
  display: block;
  font-size: 15px;
  margin: 20px 0 8px;
}
.contact-copy textarea {
  font-family: inherit;
  font-size: 16px;
  line-height: 1.7;
  resize: vertical;
  min-height: 180px;
  background: var(--surface);
  color: var(--text);
  border: 1px solid var(--line);
  border-radius: 6px;
}
.contact-copy input {
  font-size: 16px;
}
.contact-copy #contact-status {
  font-size: 15px;
  line-height: 1.6;
  margin-top: 18px;
}
.contact-copy .contact-note {
  font-size: 14px;
  margin-top: 30px;
  max-width: 62ch;
}
.contact-copy .contact-note a {
  text-decoration: underline;
  text-underline-offset: 4px;
}
.tfi-notice {
  position: fixed;
  inset: 0;
  width: min(480px, calc(100vw - 32px));
  max-height: calc(100dvh - 48px);
  margin: auto;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface);
  color: var(--text);
  overflow: auto;
  box-shadow: 0 16px 48px rgb(0 0 0 / .14);
}
.tfi-notice::backdrop {
  background: rgb(0 0 0 / .46);
}
.tfi-notice h2 {
  font-family: Barlow, sans-serif;
  font-size: 26px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -.025em;
  margin: 0 0 18px;
}
.tfi-notice p {
  font-size: 15px;
  line-height: 1.7;
  color: var(--text);
  margin: 0 0 18px;
}
.tfi-notice [lang=te] {
  font-family: "Noto Sans Telugu", sans-serif;
  line-height: 1.9;
}
.tfi-notice .button {
  width: 100%;
  min-height: 46px;
  margin-top: 4px;
  gap: 7px;
}
.tfi-notice .button span {
  font-size: 14px;
}
.tfi-notice > a {
  display: block;
  text-align: center;
  margin-top: 17px;
  font-size: 13px;
  color: var(--muted);
  text-decoration: underline;
  text-underline-offset: 4px;
}
@media (max-width:480px) {
  .tfi-notice {
    padding: 24px;
  }
  .tfi-notice p {
    font-size: 14px;
  }
  .tfi-notice .button {
    flex-wrap: wrap;
    padding: 10px 12px;
  }
}
.tfi-banner-card {
  display: block;
  position: relative;
  overflow: hidden;
  padding: 0;
  border-radius: 14px;
  aspect-ratio: 3 / 1;
  background: #102019;
  isolation: isolate;
}
.tfi-discovery-banner {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 3 / 1;
}
.tfi-banner-copy {
  position: absolute;
  inset: 0 auto 0 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  width: 30%;
  padding: 22px 0 22px 28px;
  gap: 12px;
  color: #fff;
}
.tfi-banner-copy strong {
  font-size: clamp(23px, 2.5vw, 30px);
  line-height: 1.12;
  letter-spacing: -.025em;
  max-width: 9ch;
  font-weight: 600;
  text-wrap: balance;
}
.tfi-banner-copy > span {
  font-size: 14px;
  line-height: 1.5;
  max-width: 22ch;
}
.tfi-banner-action {
  margin-top: 4px;
  text-decoration: underline;
  text-underline-offset: 5px;
  font-weight: 600;
}
.tfi-banner-card:hover .tfi-banner-action {
  text-decoration-thickness: 2px;
}
.contact-sent-dialog {
  width: min(410px, calc(100vw - 36px));
  border-radius: 14px;
  padding: 30px;
  background: var(--surface);
  color: var(--text);
  border: 1px solid var(--line);
}
.contact-sent-dialog::backdrop {
  background: rgb(0 0 0 / .4);
}
.contact-sent-dialog h2 {
  font-size: 27px;
  font-weight: 600;
  margin: 0 0 14px;
  letter-spacing: -.025em;
}
.contact-sent-dialog p {
  font-size: 16px;
  line-height: 1.6;
  color: var(--muted);
  margin: 0 0 23px;
}
.contact-sent-dialog .button {
  width: 100%;
}
@media (max-width:700px) {
  .tfi-banner-card {
    aspect-ratio: auto;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0;
  }
  .tfi-discovery-banner {
    height: auto;
    aspect-ratio: 3 / 1;
    object-fit: contain;
  }
  .tfi-banner-copy {
    position: static;
    width: 100%;
    padding: 18px 20px 20px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 8px 18px;
    background: #102019;
  }
  .tfi-banner-copy strong {
    font-size: 22px;
    line-height: 1.15;
    max-width: none;
    grid-column: 1 / -1;
  }
  .tfi-banner-copy > span {
    font-size: 13px;
    max-width: none;
  }
  .tfi-banner-copy .tfi-banner-action {
    margin: 0;
    white-space: nowrap;
  }
}
.discovery-ad {
  grid-column: 1 / -1;
  max-width: 100%;
  min-width: 0;
  margin: 30px 0 36px;
  padding: 18px 0 0;
  min-height: 115px;
  border-top: 1px solid var(--line);
}
.ad-label {
  display: block;
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 12px;
  text-align: center;
}
.discovery-ad .adsbygoogle {
  display: block;
  min-height: 90px;
  max-width: 100%;
}
@media (min-width:900px) {
  .discovery-ad {
    min-height: 145px;
  }
}
.discovery-ad[hidden] {
  display: none !important;
}
.terms-copy {
  max-width: 72ch;
}
.terms-copy a {
  text-decoration: underline;
  text-underline-offset: 4px;
}
.terms-copy ul {
  list-style: disc;
  padding-left: 24px;
  margin: 18px 0;
  line-height: 1.8;
}
.terms-copy li + li {
  margin-top: 8px;
}
.terms-contents {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  border-block: 1px solid var(--line);
  padding: 16px 0;
  margin: 28px 0;
}
.terms-contents a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}
.tfi-notice p {
  font-size: 16px;
}
.tfi-notice-links {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 20px;
  margin-bottom: 12px;
}
.tfi-notice-links a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.tfi-notice .tfi-notice-agreement {
  color: var(--muted);
  font-size: 14px;
}
.tfi-notice > a {
  min-height: 44px;
  display: grid;
  place-items: center;
  font-size: 15px;
}
.lost-page {
  display: flex;
  flex-direction: column;
  min-height: 100dvh;
}
.lost-header {
  width: min(1120px, 100%);
  padding: 28px 32px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.lost-header > a:last-child {
  color: var(--muted);
  font-size: 15px;
  min-height: 44px;
  display: flex;
  align-items: center;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.lost-main {
  width: min(800px, 100%);
  margin: auto;
  padding: 24px 24px 12px;
  text-align: center;
}
.lost-level {
  font-family: monospace;
  font-size: 15px;
  letter-spacing: .08em;
  color: var(--muted);
  margin-bottom: 18px;
}
.lost-main h1 {
  font-size: clamp(36px, 6vw, 60px);
  line-height: 1.08;
}
.lost-description {
  font-size: 18px;
  line-height: 1.6;
  color: var(--muted);
  margin-top: 20px;
}
.lost-scene {
  position: relative;
  margin: 12px -8px 28px;
  overflow: hidden;
}
.lost-scene svg {
  display: block;
  width: 100%;
  height: auto;
  position: relative;
  z-index: 1;
}
.lost-cloud {
  color: #d9e7e6;
}
.lost-number {
  position: absolute;
  font-family: monospace;
  font-weight: 700;
  font-size: clamp(76px, 18vw, 164px);
  line-height: 1;
  letter-spacing: -.08em;
  left: 50%;
  top: 28%;
  transform: translateX(-50%);
  color: var(--text);
  opacity: .09;
}
.lost-hopper {
  animation: lost-hop 3.6s steps(12, end) 2;
  transform-origin: 356px 278px;
}
.lost-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}
.lost-actions .button {
  min-height: 48px;
  padding-inline: 24px;
  gap: 12px;
}
.lost-caption {
  color: var(--muted);
  font-size: 15px;
  margin-top: 20px;
}
.lost-footer {
  display: flex;
  justify-content: center;
  gap: 28px;
  padding: 28px 24px;
  margin-top: auto;
}
.lost-footer a {
  min-height: 44px;
  display: flex;
  align-items: center;
  color: var(--muted);
  font-size: 14px;
  text-decoration: underline;
  text-underline-offset: 4px;
}
@keyframes lost-hop {
  0%, 18%, 42%, 100% {
    transform: translateY(0);
  }
  30% {
    transform: translateY(-38px);
  }
}
@media (prefers-color-scheme:dark) {
  .lost-cloud {
    color: #30413c;
  }
  .lost-scene svg > path:nth-of-type(1) {
    opacity: .65;
  }
}
@media (prefers-reduced-motion:reduce) {
  .lost-hopper {
    animation: none;
  }
}
@media (max-width:480px) {
  .lost-header {
    padding: 16px 20px;
    gap: 16px;
  }
  .lost-header > a:last-child {
    font-size: 14px;
    max-width: 120px;
  }
  .lost-main {
    padding: 32px 20px 16px;
  }
  .lost-description {
    font-size: 16px;
  }
  .lost-scene {
    margin: 30px -12px;
  }
  .lost-actions .button {
    padding-inline: 18px;
  }
  .tfi-notice p {
    font-size: 16px;
  }
}
.lost-actions .button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  line-height: 1.4;
  text-decoration: none;
}
.arena-player {
  max-width: 1200px;
  margin: auto;
}
.arena-header {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 20px;
  margin-bottom: 16px;
}
.arena-header > a {
  font-size: 15px;
  text-decoration: underline;
  text-underline-offset: 4px;
  min-height: 44px;
  display: flex;
  align-items: center;
}
.arena-header > div {
  text-align: center;
}
.arena-header h1 {
  font-size: 25px;
}
.arena-header p {
  font-size: 14px;
  line-height: 1.5;
  color: var(--muted);
  margin-top: 3px;
}
.arena-header > .button {
  justify-self: end;
}
.arena-stage {
  position: relative;
  isolation: isolate;
  background: #122731;
  color: #edf4ed;
  border-radius: 14px;
  height: clamp(520px, 72svh, 740px);
  overflow: hidden;
  touch-action: none;
  user-select: none;
  -webkit-user-select: none;
}
.arena-canvas {
  position: absolute;
  inset: 0;
}
.arena-canvas canvas {
  display: block;
  touch-action: none;
}
.arena-lobby {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 48px;
  align-items: center;
  padding: clamp(24px, 5vw, 66px);
  background: #172f38 url(/assets/pulse-arena.svg?v=21) center/cover;
}
.arena-lobby:before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      90deg,
      #142b34fa 25%,
      #142b34eb 75%);
  z-index: -1;
}
.arena-lobby {
  z-index: 3;
  isolation: isolate;
}
.arena-intro h2 {
  color: #edf4ed;
  font-size: clamp(34px, 4.5vw, 54px);
  line-height: 1.06;
  max-width: 8ch;
  margin-bottom: 24px;
}
.arena-intro p {
  color: #c0d4d4;
  font-size: 18px;
  line-height: 1.6;
  max-width: 30ch;
  margin-top: 14px;
}
.arena-rules {
  display: flex;
  gap: 28px;
  margin-top: 30px;
}
.arena-rules span {
  font-size: 13px;
  color: #c0d4d4;
  line-height: 1.4;
}
.arena-rules b {
  display: block;
  font-size: 24px;
  font-weight: 600;
  color: #edf4ed;
  margin-bottom: 4px;
}
.arena-how {
  font-size: 15px;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  text-decoration: underline;
  text-underline-offset: 4px;
  margin-top: 18px;
  color: #a2deca;
}
.arena-join {
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: #203a44;
  padding: 26px;
  border-radius: 12px;
}
.arena-join label {
  font-size: 16px;
  color: #edf4ed;
}
.arena-join .input {
  background: #102731;
  color: #edf4ed;
  border-color: #66837f;
  box-shadow: none;
  font-size: 16px;
  min-height: 46px;
}
.arena-join .input::placeholder {
  color: #a8bfbd;
}
.arena-join > .button {
  min-height: 48px;
  font-size: 16px;
}
.arena-join .button.is-primary {
  background: #92dbc5;
  color: #102e2b;
}
.arena-join .button:not(.is-primary) {
  background: #2d4952;
  color: #edf4ed;
  border-color: #66837f;
}
.arena-join .button:hover {
  filter: brightness(1.1);
}
.arena-join .button:disabled {
  opacity: .55;
  cursor: wait;
}
.arena-code-row {
  border-top: 1px solid #49636a;
  padding-top: 18px;
  margin-top: 6px;
}
.arena-code-row > div {
  display: flex;
  gap: 8px;
  margin-top: 10px;
}
.arena-code-row input {
  min-width: 0;
  width: 100%;
  text-transform: uppercase;
  letter-spacing: .08em;
}
.arena-code-row button {
  min-height: 46px;
  flex-shrink: 0;
}
.arena-form-note {
  font-size: 13px;
  color: #c0d4d4;
  line-height: 1.6;
}
.arena-form-error {
  font-size: 14px;
  color: #ffe0b8;
  line-height: 1.5;
  min-height: 0;
}
.arena-form-error:empty {
  display: none;
}
.arena-hud {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 5;
  padding: 18px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}
.arena-vitals {
  width: 116px;
  background: #102731e8;
  border-radius: 7px;
  padding: 10px 12px;
}
.arena-vitals span {
  font-size: 13px;
  display: block;
  margin-bottom: 7px;
}
.arena-vitals progress {
  appearance: none;
  -webkit-appearance: none;
  width: 100%;
  height: 5px;
  border: 0;
  border-radius: 3px;
  display: block;
  background: #39565b;
}
.arena-vitals progress::-webkit-progress-bar {
  background: #39565b;
  border-radius: 3px;
}
.arena-vitals progress::-webkit-progress-value {
  background: #99dcc6;
  border-radius: 3px;
  transition: width .12s;
}
.arena-vitals progress::-moz-progress-bar {
  background: #99dcc6;
  border-radius: 3px;
}
.arena-clock {
  text-align: center;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  padding: 7px 16px;
  border-radius: 7px;
  background: #102731e8;
}
.arena-clock b {
  display: block;
  font-size: 25px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  line-height: 1.1;
}
.arena-clock span {
  display: block;
  font-size: 13px;
  margin-top: 5px;
  color: #c0d4d4;
}
.arena-board {
  pointer-events: auto;
  position: absolute;
  right: 18px;
  top: 18px;
  min-width: 114px;
  max-width: 260px;
  background: #102731f5;
  border-radius: 7px;
  font-size: 14px;
}
.arena-board summary {
  padding: 12px 16px;
  cursor: pointer;
  min-height: 44px;
  list-style: none;
  text-align: right;
}
.arena-board summary:after {
  content: " +";
  color: #a2deca;
}
.arena-board[open] summary:after {
  content: " −";
}
.arena-board ol {
  list-style: decimal inside;
  padding: 0 16px 12px;
}
.arena-board li {
  display: flex;
  gap: 20px;
  justify-content: space-between;
  margin-top: 9px;
}
.arena-board li span {
  max-width: 170px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.arena-board li b {
  font-variant-numeric: tabular-nums;
}
.arena-announcement {
  position: absolute;
  left: 50%;
  top: 100px;
  transform: translateX(-50%);
  max-width: min(430px, calc(100% - 32px));
  width: max-content;
  padding: 10px 16px;
  border-radius: 7px;
  z-index: 4;
  text-align: center;
  font-size: 15px;
  line-height: 1.5;
  color: #e9f3e9;
  background: #102731ef;
  pointer-events: none;
}
.arena-announcement:empty {
  display: none;
}
.arena-results {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  z-index: 6;
  background: #102731bf;
  padding: 24px;
}
.arena-results > div {
  width: min(400px, 100%);
  padding: 28px;
  background: #203a44;
  border-radius: 12px;
}
.arena-results h2 {
  font-size: 30px;
  line-height: 1.1;
  color: #edf4ed;
  margin-bottom: 14px;
}
.arena-results p {
  font-size: 15px;
  color: #c0d4d4;
  line-height: 1.6;
}
.arena-results ol {
  list-style: none;
  margin: 20px 0;
  padding: 0;
}
.arena-results li {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 8px 0;
  border-bottom: 1px solid #466069;
}
.arena-results .arena-next {
  margin-top: 18px;
  color: #9fdec9;
}
.arena-touch {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 4;
  display: none;
}
.arena-stick {
  position: absolute;
  bottom: max(22px, env(safe-area-inset-bottom));
  width: 132px;
  height: 132px;
  border: 1px solid #b3ded340;
  border-radius: 50%;
  background: #b3ded314;
  pointer-events: auto;
  touch-action: none;
  display: grid;
  place-items: center;
}
.arena-stick[data-arena-stick=move] {
  left: max(20px, env(safe-area-inset-left));
}
.arena-stick[data-arena-stick=aim] {
  right: max(20px, env(safe-area-inset-right));
}
.arena-stick i {
  display: block;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #beded450;
  border: 1px solid #ccead77a;
  pointer-events: none;
  will-change: transform;
}
.arena-stick span {
  position: absolute;
  bottom: 12px;
  font-size: 12px;
  color: #e4eee9;
  pointer-events: none;
}
.arena-dash {
  position: absolute;
  bottom: max(26px, env(safe-area-inset-bottom));
  left: 50%;
  transform: translateX(-50%);
  width: 72px;
  min-height: 48px;
  border: 1px solid #b3ded380;
  border-radius: 8px;
  background: #1c4448e8;
  color: #e4eee9;
  pointer-events: auto;
  font-weight: 600;
  font-size: 15px;
  touch-action: none;
  font-variant-numeric: tabular-nums;
}
.arena-dash:disabled {
  color: #aecac4;
  background: #17343cbd;
  border-color: #b3ded340;
}
.arena-tools {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 12px;
}
.arena-tools > p {
  font-size: 14px;
  color: var(--muted);
}
.arena-tools > div {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.arena-help {
  font-size: 15px;
  line-height: 1.8;
  max-width: 85ch;
  color: var(--muted);
  margin-top: 24px;
  scroll-margin-top: 24px;
}
.arena-help b {
  color: var(--text);
  font-weight: 600;
}
.arena-exit-fullscreen {
  position: absolute;
  pointer-events: auto;
  left: 18px;
  bottom: 18px;
  min-height: 44px;
  background: #203a44;
  color: #edf4ed;
  border: 1px solid #66837f;
  border-radius: 7px;
  padding: 8px 14px;
}
.arena-stage:fullscreen {
  width: 100vw;
  height: 100dvh !important;
  max-height: none;
  border-radius: 0;
}
#arena-minimap {
  position: absolute;
  right: 18px;
  top: 84px;
  width: 100px;
  height: 75px;
  background: #102731e8;
  border: 1px solid #63817c;
  border-radius: 4px;
  padding: 3px;
}
body.arena-active #page-guide {
  display: none;
}
body.arena-active main {
  padding: 12px 24px;
}
body.arena-active .arena-stage {
  height: calc(100svh - 142px);
  min-height: 340px;
  max-height: 900px;
}
.arena-stage [hidden] {
  display: none !important;
}
.arena-header [hidden],
.arena-tools [hidden] {
  display: none !important;
}
@media (pointer:coarse) {
  .arena-touch {
    display: block;
  }
  .arena-exit-fullscreen {
    bottom: auto;
    top: 86px;
  }
  .arena-hud .arena-vitals {
    width: 102px;
  }
}
@media (max-width:850px) {
  .arena-lobby {
    grid-template-columns: 1fr 310px;
    gap: 28px;
    padding: 30px;
  }
  .arena-rules {
    gap: 18px;
  }
  .arena-join {
    padding: 22px;
  }
  .arena-intro p {
    font-size: 16px;
  }
  .arena-intro h2 {
    font-size: 40px;
  }
}
@media (max-width:600px) {
  body[data-playing=true] main:has(.arena-player) {
    padding: 14px 12px;
  }
  .arena-header {
    grid-template-columns: 64px 1fr 58px;
    gap: 8px;
    margin-bottom: 12px;
  }
  .arena-header h1 {
    font-size: 22px;
  }
  .arena-header p {
    font-size: 12px;
    line-height: 1.35;
    max-width: 210px;
    margin: 4px auto 0;
  }
  .arena-header > a {
    font-size: 14px;
  }
  .arena-header > .button {
    font-size: 14px;
    padding: 6px 12px;
  }
  .arena-stage {
    height: auto;
    min-height: 720px;
    border-radius: 12px;
  }
  .arena-lobby {
    position: relative;
    grid-template-columns: 1fr;
    gap: 25px;
    padding: 28px 22px;
    min-height: 720px;
  }
  .arena-intro h2 {
    max-width: none;
    font-size: 36px;
    margin-bottom: 14px;
  }
  .arena-intro p {
    max-width: 40ch;
    margin-top: 9px;
  }
  .arena-rules {
    gap: 24px;
    margin-top: 20px;
  }
  .arena-rules b {
    font-size: 21px;
  }
  .arena-how {
    margin-top: 8px;
  }
  .arena-join {
    padding: 20px;
  }
  .arena-tools {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }
  .arena-tools > div {
    width: 100%;
  }
  .arena-tools .button {
    font-size: 13px;
    min-height: 44px;
    padding-inline: 12px;
  }
  .arena-help {
    font-size: 14px;
    margin-top: 18px;
  }
  body.arena-active .arena-stage {
    height: calc(100svh - 182px);
    min-height: 360px;
  }
  .arena-hud {
    padding: 10px;
  }
  .arena-board {
    right: 10px;
    top: 10px;
    min-width: 100px;
    font-size: 12px;
  }
  .arena-board summary {
    padding: 12px 9px;
  }
  .arena-clock {
    padding: 8px 12px;
  }
  .arena-clock b {
    font-size: 22px;
  }
  .arena-clock span {
    font-size: 12px;
  }
  .arena-vitals {
    width: 90px;
    padding: 10px;
  }
  .arena-vitals span {
    font-size: 11px;
  }
  .arena-announcement {
    top: 84px;
    font-size: 13px;
    padding: 8px 12px;
  }
  #arena-minimap {
    display: none;
  }
  .arena-stick {
    width: 116px;
    height: 116px;
    bottom: max(22px, env(safe-area-inset-bottom));
  }
  .arena-stick[data-arena-stick=move] {
    left: 12px;
  }
  .arena-stick[data-arena-stick=aim] {
    right: 12px;
  }
  .arena-stick i {
    width: 42px;
    height: 42px;
  }
  .arena-dash {
    width: 62px;
    bottom: 34px;
  }
  .arena-results > div {
    padding: 24px;
  }
  .arena-results h2 {
    font-size: 27px;
  }
}
@media (orientation:landscape) and (max-height:600px) {
  body.arena-active main {
    padding: 8px 16px;
  }
  .arena-header {
    margin-bottom: 8px;
  }
  .arena-header h1 {
    font-size: 20px;
  }
  .arena-header p {
    font-size: 12px;
  }
  .arena-header > a,
  .arena-header > .button {
    min-height: 36px;
  }
  .arena-tools {
    margin-top: 8px;
  }
  .arena-tools .button {
    min-height: 36px;
  }
  .arena-tools > p {
    font-size: 12px;
  }
  body.arena-active .arena-stage {
    height: calc(100svh - 116px);
    min-height: 220px;
  }
  .arena-stick {
    width: 96px;
    height: 96px;
    bottom: 12px;
  }
  .arena-stick i {
    width: 34px;
    height: 34px;
  }
  .arena-stick span {
    bottom: 7px;
    font-size: 11px;
  }
  .arena-dash {
    bottom: 16px;
    min-height: 44px;
  }
  .arena-hud {
    padding: 8px;
  }
  .arena-vitals {
    padding: 7px 10px;
  }
  .arena-clock b {
    font-size: 20px;
  }
  .arena-board {
    top: 8px;
    right: 10px;
  }
  .arena-announcement {
    top: 70px;
  }
  .arena-results > div {
    padding: 18px;
    max-height: calc(100% - 16px);
    overflow: auto;
  }
  .arena-results h2 {
    font-size: 24px;
  }
  .arena-results ol {
    margin: 10px 0;
  }
  .arena-results li {
    padding: 4px 0;
  }
  .arena-help {
    display: none;
  }
  #arena-minimap {
    display: none;
  }
}
@media (prefers-reduced-motion:reduce) {
  .arena-vitals progress::-webkit-progress-value {
    transition: none;
  }
}
@media (max-width:600px) and (orientation:portrait) {
  #arena-minimap {
    display: block;
    left: 10px;
    right: auto;
    top: 82px;
    width: 72px;
    height: 54px;
    opacity: .85;
  }
}
@media (max-width:360px) {
  .arena-stick {
    width: 104px;
    height: 104px;
  }
  .arena-dash {
    width: 56px;
  }
  .arena-vitals,
  .arena-hud .arena-vitals {
    width: 78px;
    padding: 9px 8px;
  }
  .arena-board {
    min-width: 92px;
  }
  .arena-board summary {
    font-size: 11px;
  }
  .arena-clock {
    padding-inline: 10px;
  }
  .arena-clock b {
    font-size: 20px;
  }
  .arena-header {
    grid-template-columns: 60px 1fr 56px;
  }
  .arena-header p {
    font-size: 11px;
  }
}
.maintenance-page {
  display: flex;
  flex-direction: column;
  min-height: 100dvh;
}
.maintenance-header {
  width: min(1184px, 100%);
  margin: 0 auto;
  padding: 28px 32px;
}
.maintenance-main {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  max-width: 760px;
  width: 100%;
  margin: auto;
  padding: 56px 24px;
}
.maintenance-symbol {
  width: 88px;
  height: 88px;
  color: var(--accent);
  margin-bottom: 32px;
}
.maintenance-main h1 {
  font-size: clamp(32px, 5vw, 48px);
  line-height: 1.12;
  max-width: 18ch;
}
.maintenance-message {
  font-size: 18px;
  line-height: 1.75;
  max-width: 60ch;
  color: var(--muted);
  white-space: pre-line;
  overflow-wrap: anywhere;
  margin: 24px 0 30px;
}
.maintenance-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px 26px;
}
.maintenance-actions .button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 24px;
  font-size: 16px;
  border: 1px solid transparent;
  line-height: 1.4;
}
.maintenance-actions > a:not(.button) {
  display: flex;
  min-height: 44px;
  align-items: center;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.maintenance-footer {
  width: min(1184px, 100%);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 24px 32px;
  color: var(--muted);
  font-size: 14px;
}
.maintenance-footer nav {
  display: flex;
  gap: 26px;
}
.maintenance-footer a {
  display: flex;
  align-items: center;
  min-height: 44px;
  text-decoration: underline;
  text-underline-offset: 4px;
}
@media (max-width:480px) {
  .maintenance-header {
    padding: 20px;
  }
  .maintenance-main {
    padding: 44px 24px;
  }
  .maintenance-message {
    font-size: 16px;
  }
  .maintenance-symbol {
    width: 72px;
    height: 72px;
    margin-bottom: 28px;
  }
  .maintenance-footer {
    padding: 20px;
    flex-direction: column;
    gap: 4px;
  }
}
[x-cloak] {
  display: none !important;
}
.ui-icon {
  width: 18px;
  height: 18px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
  vertical-align: middle;
}
.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}
.letter-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
  color: #fff;
  font-size: 17px;
  font-weight: 600;
  line-height: 1;
}
.letter-avatar.is-small {
  width: 26px;
  height: 26px;
  font-size: 13px;
}
.avatar-color-0 {
  background: #375f85;
}
.avatar-color-1 {
  background: #25716c;
}
.avatar-color-2 {
  background: #715b95;
}
.avatar-color-3 {
  background: #805d46;
}
.avatar-color-4 {
  background: #3b704d;
}
.avatar-color-5 {
  background: #904a65;
}
.avatar-color-6 {
  background: #53677f;
}
.avatar-color-7 {
  background: #565c9b;
}
.avatar-color-8 {
  background: #a65727;
}
.avatar-color-9 {
  background: #667133;
}
.avatar-color-10 {
  background: #267d8a;
}
.avatar-color-11 {
  background: #a64b50;
}
.player-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  max-width: 220px;
}
.player-button > span:last-child {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.social-slot:not([hidden]) {
  margin-top: 14px;
  padding-top: 8px;
  border-top: 1px solid var(--line);
}
.game-social-metrics {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 3px;
  min-height: 40px;
  color: var(--muted);
  font-size: 13px;
  font-variant-numeric: tabular-nums;
}
.social-number,
.social-reaction {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-height: 40px;
  position: relative;
  white-space: nowrap;
}
.social-reaction {
  background: transparent;
  border: 0;
  border-radius: 6px;
  padding: 8px 5px;
  color: inherit;
  font: inherit;
  cursor: pointer;
}
.social-reaction:hover {
  color: var(--accent);
  background: var(--accent-soft);
}
.social-reaction[aria-pressed=true] {
  color: var(--accent);
  background: var(--accent-soft);
  font-weight: 600;
}
.social-reaction:disabled {
  cursor: wait;
  opacity: .6;
}
.social-live-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
  position: absolute;
  left: 12px;
  top: 9px;
}
.game-social-metrics .ui-icon {
  width: 16px;
  height: 16px;
}
.game-community {
  max-width: 1184px;
  margin: 0 auto;
  padding: 32px 32px 48px;
}
.game-community-top {
  border-top: 1px solid var(--line);
  padding-top: 28px;
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.game-community-top h2 {
  font-size: 22px;
  margin: 0 auto 0 0;
}
.game-social-metrics.is-large {
  justify-content: flex-start;
  gap: 20px;
  font-size: 16px;
}
.game-social-metrics.is-large .ui-icon {
  width: 20px;
  height: 20px;
}
.is-large .social-reaction,
.is-large .social-number {
  min-height: 44px;
  padding: 10px 8px;
}
.counts-info {
  width: 100%;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.7;
}
.counts-info summary {
  min-height: 36px;
  cursor: pointer;
  width: fit-content;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.counts-info p {
  max-width: 75ch;
  margin: 10px 0 0;
}
.game-comments {
  max-width: 880px;
  margin-top: 38px;
  scroll-margin-top: 20px;
}
.comments-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 24px;
}
.comments-heading h2 {
  font-size: 25px;
}
.text-button {
  background: transparent;
  border: 0;
  border-radius: 5px;
  color: var(--accent);
  font: inherit;
  font-size: 14px;
  min-height: 44px;
  padding: 8px 6px;
  text-decoration: underline;
  text-underline-offset: 4px;
  cursor: pointer;
}
.text-button:disabled {
  opacity: .5;
  cursor: default;
}
.comment-composer {
  padding-bottom: 24px;
  margin-bottom: 10px;
  border-bottom: 1px solid var(--line);
}
.composer-identity {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  font-size: 15px;
  font-weight: 600;
}
.composer-identity .text-button {
  margin-left: auto;
  font-weight: 400;
}
.comment-composer textarea {
  font: inherit;
  font-size: 16px;
  line-height: 1.7;
  width: 100%;
  min-height: 120px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface);
  color: var(--text);
  resize: vertical;
  caret-color: var(--accent);
}
.comment-composer textarea::placeholder {
  color: var(--muted);
}
.composer-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 10px;
}
.composer-footer small {
  font-size: 12px;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}
.composer-footer .button {
  min-height: 44px;
}
.comment-policy {
  font-size: 12px;
  line-height: 1.7;
  color: var(--muted);
  margin-top: 12px;
  max-width: 70ch;
}
.community-message {
  font-size: 14px;
  color: var(--accent);
  line-height: 1.6;
}
.community-message:empty {
  display: none;
}
.community-error {
  margin: 20px 0;
  padding: 16px;
  background: var(--accent-soft);
  border-radius: 8px;
  font-size: 15px;
  line-height: 1.6;
}
.community-error .button {
  margin-top: 12px;
}
.community-note,
.comment-empty {
  font-size: 16px;
  line-height: 1.8;
  color: var(--muted);
  padding: 22px 0;
}
.comment-error {
  font-size: 14px;
  color: var(--text);
  margin-top: 12px;
}
.game-comment {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
}
.comment-content {
  min-width: 0;
  flex: 1;
}
.comment-content header {
  display: flex;
  align-items: center;
  gap: 9px;
  flex-wrap: wrap;
  font-size: 15px;
  line-height: 1.5;
}
.comment-content header strong {
  font-weight: 600;
  overflow-wrap: anywhere;
}
.comment-content time {
  font-size: 12px;
  color: var(--muted);
  margin-left: auto;
}
.comment-you {
  font-size: 11px;
  color: var(--accent);
}
.comment-body {
  font-size: 16px;
  line-height: 1.8;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  max-width: 75ch;
  margin: 10px 0;
}
.comment-actions {
  display: flex;
  gap: 14px;
  align-items: center;
  font-size: 13px;
  color: var(--muted);
}
.comment-actions .text-button {
  font-size: 12px;
}
.comments-more {
  margin-top: 24px;
}
.ui-skeleton {
  padding: 14px 0;
  pointer-events: none;
}
.skeleton-row {
  display: flex;
  gap: 16px;
  align-items: center;
  padding: 16px 0;
}
.skeleton-row > div {
  flex: 1;
}
.ui-placeholder {
  display: block;
  background: var(--line);
  position: relative;
  overflow: hidden;
  border-radius: 5px;
}
.ui-placeholder:after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      90deg,
      transparent,
      var(--surface),
      transparent);
  transform: translateX(-100%);
  animation: skeleton-pass 1.5s ease-in-out infinite;
  opacity: .65;
}
.skeleton-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  flex: none;
}
.skeleton-line {
  height: 13px;
  width: 85%;
  max-width: 520px;
  margin: 6px 0 12px;
}
.skeleton-line.is-short {
  width: 45%;
  margin-bottom: 0;
}
.ui-skeleton.metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}
.ui-empty {
  padding: 40px 20px;
  text-align: center;
}
.ui-empty h2 {
  font-size: 22px;
  margin-bottom: 12px;
}
.ui-empty p {
  font-size: 15px;
  line-height: 1.7;
  color: var(--muted);
  max-width: 65ch;
  margin: auto;
}
.ui-empty .button {
  margin-top: 20px;
}
#profile-status {
  font-size: 14px;
  line-height: 1.6;
  max-width: 40ch;
  margin-top: 12px;
  color: var(--muted);
}
@keyframes skeleton-pass {
  to {
    transform: translateX(100%);
  }
}
@media (max-width:600px) {
  .game-community {
    padding: 24px 20px 36px;
  }
  .game-community-top {
    gap: 14px;
  }
  .game-community-top h2 {
    font-size: 21px;
    width: 100%;
  }
  .game-social-metrics.is-large {
    gap: 14px;
    width: 100%;
    justify-content: space-between;
    font-size: 14px;
  }
  .is-large .social-number,
  .is-large .social-reaction {
    padding: 8px 3px;
  }
  .game-comments {
    margin-top: 30px;
  }
  .comments-heading h2 {
    font-size: 23px;
  }
  .game-comment {
    gap: 10px;
    padding: 20px 0;
  }
  .game-comment .letter-avatar {
    width: 32px;
    height: 32px;
    font-size: 14px;
  }
  .comment-content time {
    width: 100%;
    margin-left: 0;
  }
  .comment-body {
    font-size: 15px;
  }
  .comment-actions {
    gap: 12px;
  }
  .ui-skeleton.metrics {
    grid-template-columns: 1fr 1fr;
  }
  .player-button {
    max-width: 145px;
  }
  .game-social-metrics {
    font-size: 12px;
  }
  .comment-composer textarea {
    font-size: 16px;
  }
}
@media (prefers-reduced-motion:reduce) {
  .ui-placeholder:after {
    animation: none;
    display: none;
  }
}
.app-loading-mark {
  display: block;
  width: 26px;
  height: 26px;
  border: 3px solid var(--line);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: app-loading-turn .9s linear infinite;
  margin: 0 auto 14px;
  flex: none;
}
@keyframes app-loading-turn {
  to {
    transform: rotate(360deg);
  }
}
.game-arrival {
  max-width: 960px;
  margin: auto;
}
.game-arrival h1 {
  font-size: 28px;
  margin: 12px 0 24px;
}
.game-arrival-stage {
  min-height: 320px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: var(--surface);
  border-radius: 14px;
  color: var(--muted);
  font-size: 14px;
}
.load-recovery {
  display: flex;
  gap: 14px;
  align-items: center;
  justify-content: space-between;
  font-size: 14px;
  background: var(--accent-soft);
  padding: 14px 18px;
  border-radius: 8px;
  margin-bottom: 20px;
}
.tfi-page-heading {
  gap: 10px;
  margin-bottom: 24px;
}
.tfi-page-heading h1 {
  font-size: 32px;
  font-weight: 600;
  letter-spacing: -.025em;
}
.tfi-page-heading p {
  font-size: 14px;
  line-height: 1.5;
  margin-top: 6px;
}
.tfi-page-heading .tfi-back {
  min-height: 32px;
  font-size: 13px;
  padding: 0;
}
.tfi-playing {
  max-width: 480px;
}
.tfi-playing .tfi-page-heading {
  margin-bottom: 16px;
}
.tfi-playing .tfi-page-heading h1 {
  font-size: 25px;
}
.tfi-game-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 14px;
}
.tfi-stage {
  border-radius: 14px;
}
.tfi-game-info {
  padding: 0;
  margin: 0;
}
.tfi-play-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}
.tfi-play-meta > p {
  font-size: 13px;
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}
.tfi-game-info .tfi-best {
  display: flex;
  align-items: baseline;
  gap: 8px;
  background: none;
  padding: 0;
  margin: 0;
  white-space: nowrap;
}
.tfi-game-info .tfi-best span {
  font-size: 12px;
  color: var(--muted);
}
.tfi-game-info .tfi-best b {
  font-size: 18px;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.tfi-game-actions {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 7px;
  margin: 0;
}
.tfi-game-actions .button {
  padding: 8px 5px;
  min-height: 42px;
  font-size: 13px;
}
.tfi-audio-status:empty {
  display: none;
}
.tfi-audio-status {
  font-size: 12px;
  line-height: 1.5;
  margin: 10px 0 0;
}
.tfi-edition-copy > p:not(.tfi-edition-movie) {
  display: none;
}
.tfi-edition-copy h2 {
  font-size: 20px;
}
.tfi-edition-movie {
  font-size: 14px;
}
.tfi-arrival-stage {
  position: relative;
  display: grid;
  place-items: center;
  color: #fff;
}
.tfi-arrival-stage > img {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .25;
}
.tfi-arrival-stage > div {
  position: relative;
  text-align: center;
  font-size: 14px;
}
.tfi-arrival-stage .app-loading-mark {
  border-color: #ffffff40;
  border-top-color: #fff;
}
.tfi-notice {
  width: min(420px, calc(100vw - 32px));
  max-height: calc(100dvh - 32px);
  padding: 24px;
  border: 0;
  box-shadow: 0 16px 48px rgb(0 0 0 / .18);
}
.tfi-notice h2 {
  font-size: 23px;
  margin: 0 0 17px;
}
.tfi-notice .tfi-notice-copy p {
  font-size: 14px;
  line-height: 1.6;
  margin: 0 0 14px;
}
.tfi-notice .tfi-notice-copy [lang=te] {
  font-size: 13px;
  line-height: 1.85;
  margin-bottom: 18px;
}
.tfi-notice .tfi-notice-agreement {
  font-size: 12px;
  line-height: 1.5;
  margin: 0 0 16px;
}
.tfi-notice .tfi-notice-agreement a {
  color: var(--text);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.tfi-notice .button {
  min-height: 46px;
  font-size: 14px;
  margin: 0;
  gap: 6px;
}
.tfi-notice .button span {
  font-size: 12px;
}
.tfi-notice > a {
  margin-top: 9px;
  min-height: 36px;
  font-size: 12px;
}
.game-guide-details > summary {
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  padding: 10px 0;
}
.game-guide-details .guide-copy {
  padding-top: 20px;
}
#page-guide:has(.game-guide-details) {
  padding-top: 14px;
  margin-top: 34px;
}
body[data-playing=true] .site-footer {
  margin-top: 38px;
}
body[data-playing=true] .game-community {
  max-width: 900px;
}
@media (min-width:900px) {
  .tfi-playing {
    max-width: 440px;
  }
}
@media (max-width:600px) {
  .tfi-playing .tfi-page-heading h1 {
    font-size: 23px;
  }
  .tfi-game-actions .button {
    min-height: 44px;
    font-size: 12px;
  }
  .tfi-notice {
    padding: 22px;
    width: calc(100vw - 28px);
  }
  .tfi-notice .tfi-notice-copy p {
    font-size: 13px;
  }
  .tfi-notice .tfi-notice-copy [lang=te] {
    font-size: 12px;
  }
  .tfi-notice .button {
    flex-wrap: nowrap;
    font-size: 13px;
  }
  .tfi-notice .button span {
    font-size: 11px;
  }
  .load-recovery {
    align-items: flex-start;
  }
}
@media (prefers-reduced-motion:reduce) {
  .app-loading-mark {
    animation: none;
  }
}
.tfi-comments-fold > summary {
  cursor: pointer;
  font-size: 15px;
  font-weight: 600;
  padding: 16px 0;
  min-height: 44px;
}
.tfi-comments-fold .game-comments {
  border-top: 0;
  margin-top: 0;
  padding-top: 12px;
}
body[data-playing=true] .game-community-top {
  gap: 12px;
  flex-wrap: wrap;
}
