/* ==========================================================================
   T1X2 Leti i sleti (t1x2_leti.tpl, js/t1x2_leti.js, php/leti/)
   Its own file, loaded only on /leti. The flight is drawn on the canvas with its own colors
   (sunset over the sea, the same in light and night mode); the panel, the boxes and the
   administration use the site's tokens (--gv-*), so they follow the theme and night mode.
   ========================================================================== */

.t1x2-theme .lt {
  --lt-r: 18px;
  --lt-ink-on-dark: #fff;
  --lt-sky: #241a5c;
  --lt-accent: #18a556;
  --lt-accent-2: #ffcf3f;
  display: grid;
  gap: 16px;
  min-width: 0;
}

/* menu title */
.t1x2-theme .lt-menu-title .lt-logo {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  border-radius: 12px;
  background: linear-gradient(135deg, #5b2a86 0%, #d94f70 60%, #ff9a5a 100%);
  color: #fff;
  font-size: 17px;
  box-shadow: 0 6px 14px rgba(91, 42, 134, .3);
}

/* ---------------------------------------------------------------- the game */

.t1x2-theme .lt-game {
  display: grid;
  gap: 10px;
  padding: 10px;
  border-radius: calc(var(--lt-r) + 6px);
  background: linear-gradient(160deg, #1d1648 0%, #2a1856 55%, #3a1747 100%);
  box-shadow: 0 18px 40px rgba(27, 20, 80, .28);
  color: #fff;
  min-width: 0;
}

.t1x2-theme .lt-loading {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 320px;
  font-weight: 700;
  color: rgba(255, 255, 255, .8);
}

.t1x2-theme .lt-stage {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  max-height: 560px;
  border-radius: var(--lt-r);
  overflow: hidden;
  background: #241a5c;
  isolation: isolate;
  touch-action: manipulation;
}

.t1x2-theme .lt-canvas {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
}

/* HUD over the canvas */
.t1x2-theme .lt-hud {
  position: absolute;
  inset: 10px 10px auto 10px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
  pointer-events: none;
  z-index: 2;
}

.t1x2-theme .lt-hud-stats {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.t1x2-theme .lt-hud-stats span {
  display: grid;
  min-width: 70px;
  padding: 5px 10px 6px;
  border-radius: 12px;
  background: rgba(12, 10, 40, .45);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  line-height: 1.15;
}

.t1x2-theme .lt-hud-stats small {
  font-size: 9.5px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .62);
}

.t1x2-theme .lt-hud-stats b {
  font-size: 14px;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  color: #fff;
}

.t1x2-theme .lt-hud-stats [data-mult] {
  color: #ffe066;
}

.t1x2-theme .lt-hud-btns {
  display: flex;
  gap: 6px;
  pointer-events: auto;
}

.t1x2-theme .lt-icon {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  background: rgba(12, 10, 40, .45);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  color: rgba(255, 255, 255, .85);
  font-size: 14px;
  cursor: pointer;
  transition: background .15s ease, color .15s ease;
}

.t1x2-theme .lt-icon:hover {
  background: rgba(12, 10, 40, .7);
  color: #fff;
}

.t1x2-theme .lt-icon[aria-pressed="true"] {
  background: rgba(255, 207, 63, .9);
  color: #3a2600;
}

/* result over the canvas */
.t1x2-theme .lt-banner {
  position: absolute;
  left: 50%;
  top: 46%;
  z-index: 3;
  display: grid;
  justify-items: center;
  gap: 2px;
  min-width: 210px;
  max-width: calc(100% - 32px);
  padding: 14px 26px 16px;
  border-radius: 20px;
  transform: translate(-50%, -50%);
  text-align: center;
  pointer-events: none;
  animation: lt-pop .45s cubic-bezier(.2, 1.4, .4, 1) both;
}

.t1x2-theme .lt-banner[hidden] {
  display: none;
}

.t1x2-theme .lt-banner small {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.t1x2-theme .lt-banner b {
  font-size: clamp(28px, 6vw, 48px);
  font-weight: 900;
  line-height: 1.05;
  font-variant-numeric: tabular-nums;
}

.t1x2-theme .lt-banner span {
  font-size: 13px;
  font-weight: 700;
  opacity: .85;
}

.t1x2-theme .lt-banner.is-win {
  background: linear-gradient(160deg, rgba(14, 122, 63, .92), rgba(9, 84, 44, .92));
  box-shadow: 0 0 0 3px rgba(255, 224, 102, .7), 0 18px 40px rgba(0, 0, 0, .35);
  color: #fff;
}

.t1x2-theme .lt-banner.is-win b {
  color: #ffe066;
  text-shadow: 0 3px 0 rgba(0, 0, 0, .25);
}

.t1x2-theme .lt-banner.is-big {
  background: linear-gradient(160deg, rgba(120, 40, 160, .94), rgba(217, 79, 112, .94));
  box-shadow: 0 0 0 4px #ffe066, 0 0 40px rgba(255, 224, 102, .6), 0 18px 40px rgba(0, 0, 0, .35);
}

.t1x2-theme .lt-banner.is-loss {
  background: rgba(15, 25, 60, .88);
  box-shadow: 0 0 0 2px rgba(255, 255, 255, .25), 0 18px 40px rgba(0, 0, 0, .35);
  color: #fff;
}

.t1x2-theme .lt-banner.is-loss b {
  color: #ff8a92;
}

@keyframes lt-pop {
  from { opacity: 0; transform: translate(-50%, -50%) scale(.6); }
  to { opacity: 1; transform: translate(-50%, -50%) scale(1); }
}

.t1x2-theme .lt-toast {
  position: absolute;
  left: 50%;
  bottom: 12px;
  z-index: 4;
  max-width: calc(100% - 24px);
  padding: 8px 14px;
  border-radius: 12px;
  transform: translateX(-50%);
  background: rgba(12, 10, 40, .85);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  text-align: center;
  box-shadow: 0 8px 20px rgba(0, 0, 0, .3);
}

.t1x2-theme .lt-toast.is-ok {
  background: rgba(14, 122, 63, .95);
}

.t1x2-theme .lt-toast.is-err {
  background: rgba(190, 30, 45, .95);
}

.t1x2-theme .lt-sr {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* ---------------------------------------------------------------- the panel */

.t1x2-theme .lt-panel {
  display: grid;
  grid-template-columns: auto auto 1fr auto;
  align-items: center;
  gap: 10px 14px;
  padding: 4px 4px 0;
}

.t1x2-theme .lt-bal,
.t1x2-theme .lt-bet {
  display: grid;
  gap: 2px;
  min-width: 0;
  line-height: 1.1;
}

.t1x2-theme .lt-bal small,
.t1x2-theme .lt-bet small {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .55);
}

.t1x2-theme .lt-bal b {
  font-size: 22px;
  font-weight: 900;
  font-variant-numeric: tabular-nums;
  color: #fff;
}

.t1x2-theme .lt-bal span {
  font-size: 11px;
  font-weight: 700;
  color: rgba(255, 255, 255, .55);
}

.t1x2-theme .lt-bet-ctrl {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .08);
}

.t1x2-theme .lt-bet-ctrl b {
  min-width: 58px;
  font-size: 18px;
  font-weight: 900;
  text-align: center;
  font-variant-numeric: tabular-nums;
}

.t1x2-theme .lt-step {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, .14);
  color: #fff;
  font-size: 12px;
  cursor: pointer;
}

.t1x2-theme .lt-step:hover {
  background: rgba(255, 255, 255, .26);
}

.t1x2-theme .lt-modes {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 4px;
  padding: 4px;
  border-radius: 14px;
  background: rgba(255, 255, 255, .07);
  min-width: 0;
}

.t1x2-theme .lt-mode {
  display: grid;
  justify-items: center;
  gap: 2px;
  padding: 7px 4px 6px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: rgba(255, 255, 255, .7);
  font-size: 11px;
  font-weight: 800;
  cursor: pointer;
  transition: background .15s ease, color .15s ease;
}

.t1x2-theme .lt-mode i {
  font-size: 15px;
}

.t1x2-theme .lt-mode:hover {
  color: #fff;
  background: rgba(255, 255, 255, .08);
}

.t1x2-theme .lt-mode.is-on {
  background: #fff;
  color: #2a1856;
  box-shadow: 0 4px 10px rgba(0, 0, 0, .2);
}

.t1x2-theme .lt-mode[data-mode="3"].is-on {
  background: linear-gradient(135deg, #ffcf3f, #ff8a3d);
  color: #3a1500;
}

.t1x2-theme .lt-go {
  display: grid;
  grid-template-columns: auto auto;
  align-items: center;
  column-gap: 10px;
  min-width: 150px;
  padding: 12px 24px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, #2fd174 0%, #14a356 55%, #0e7a3f 100%);
  color: #fff;
  font-size: 20px;
  font-weight: 900;
  letter-spacing: .02em;
  text-align: left;
  cursor: pointer;
  box-shadow: 0 10px 22px rgba(20, 163, 86, .4), inset 0 -3px 0 rgba(0, 0, 0, .18);
  transition: transform .12s ease, filter .12s ease, box-shadow .12s ease;
}

.t1x2-theme .lt-go i {
  grid-row: span 2;
  font-size: 22px;
}

.t1x2-theme .lt-go small {
  font-size: 11px;
  font-weight: 700;
  opacity: .85;
}

.t1x2-theme .lt-go:hover {
  filter: brightness(1.08);
  transform: translateY(-1px);
}

.t1x2-theme .lt-go:active {
  transform: translateY(1px);
}

.t1x2-theme .lt-go:disabled {
  filter: grayscale(.6) brightness(.8);
  cursor: wait;
  transform: none;
  box-shadow: none;
}

.t1x2-theme .lt-game.is-busy .lt-step,
.t1x2-theme .lt-game.is-busy .lt-mode,
.t1x2-theme .lt-game.is-busy .lt-chip-bet {
  opacity: .5;
  pointer-events: none;
}

.t1x2-theme .lt-chips-row {
  overflow-x: auto;
  scrollbar-width: none;
}

.t1x2-theme .lt-chips-row::-webkit-scrollbar {
  display: none;
}

.t1x2-theme .lt-chips {
  display: flex;
  gap: 6px;
  padding: 0 4px;
}

.t1x2-theme .lt-chip-bet {
  flex: none;
  padding: 5px 12px;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 999px;
  background: transparent;
  color: rgba(255, 255, 255, .8);
  font-size: 12px;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  cursor: pointer;
}

.t1x2-theme .lt-chip-bet:hover {
  border-color: rgba(255, 255, 255, .45);
  color: #fff;
}

.t1x2-theme .lt-chip-bet.is-on {
  border-color: #ffcf3f;
  background: rgba(255, 207, 63, .16);
  color: #ffe066;
}

.t1x2-theme .lt-hist {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 5px;
  padding: 0 4px 4px;
}

.t1x2-theme .lt-hist:empty {
  display: none;
}

.t1x2-theme .lt-hist small {
  margin-right: 4px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .5);
}

.t1x2-theme .lt-h {
  display: inline-grid;
  place-items: center;
  min-width: 34px;
  padding: 2px 7px;
  border-radius: 8px;
  font-size: 11px;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}

.t1x2-theme .lt-h.is-win {
  background: rgba(47, 209, 116, .18);
  color: #7dffb5;
}

.t1x2-theme .lt-h.is-loss {
  background: rgba(255, 255, 255, .07);
  color: rgba(255, 255, 255, .45);
}

/* ---------------------------------------------------------------- boxes, lists, rules */

.t1x2-theme .lt-head {
  display: grid;
  gap: 4px;
}

.t1x2-theme .lt-kicker {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #d94f70;
}

.t1x2-theme .lt-head h1 {
  margin: 0;
  font-size: clamp(22px, 3vw, 28px);
  font-weight: 900;
  color: var(--gv-ink);
}

.t1x2-theme .lt-head p {
  margin: 0;
  color: var(--gv-muted);
  font-size: 14px;
}

.t1x2-theme .lt-box {
  min-width: 0;
  padding: 16px 18px 18px;
  border: 1px solid var(--gv-line);
  border-radius: var(--lt-r);
  background: var(--gv-surface);
  box-shadow: var(--gv-shadow-sm, 0 1px 2px rgba(0, 0, 0, .05));
  color: var(--gv-body);
}

.t1x2-theme .lt-box-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 6px 12px;
  margin-bottom: 12px;
}

.t1x2-theme .lt-box-head h2 {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0;
  font-size: 16px;
  font-weight: 800;
  color: var(--gv-ink);
}

.t1x2-theme .lt-box-head h2 i {
  display: inline-grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 10px;
  background: linear-gradient(135deg, #5b2a86, #d94f70);
  color: #fff;
  font-size: 13px;
}

.t1x2-theme .lt-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 700;
  color: var(--gv-coral-dark, #c00f1f);
  text-decoration: none;
}

.t1x2-theme .lt-cols {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.t1x2-theme .lt-list {
  display: grid;
  gap: 4px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.t1x2-theme .lt-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  padding: 7px 8px;
  border-radius: 12px;
}

.t1x2-theme .lt-list li:nth-child(odd) {
  background: var(--gv-sunken);
}

.t1x2-theme .lt-list li.is-me {
  box-shadow: inset 0 0 0 2px rgba(24, 165, 86, .45);
}

.t1x2-theme .lt-pos {
  flex: none;
  width: 24px;
  font-size: 13px;
  font-weight: 900;
  text-align: center;
  color: var(--gv-muted);
}

.t1x2-theme .lt-list.is-ranked li:nth-child(1) .lt-pos { color: #d4a000; }
.t1x2-theme .lt-list.is-ranked li:nth-child(2) .lt-pos { color: #8b96a8; }
.t1x2-theme .lt-list.is-ranked li:nth-child(3) .lt-pos { color: #c27a45; }

.t1x2-theme .lt-person {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex: 1 1 auto;
  min-width: 0;
}

.t1x2-theme .lt-person a,
.t1x2-theme .lt-person > b {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: var(--gv-ink);
  text-decoration: none;
}

.t1x2-theme .lt-person b {
  font-weight: 700;
  font-size: 14px;
}

.t1x2-theme .lt-av {
  position: relative;
  display: inline-grid;
  place-items: center;
  flex: none;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  overflow: hidden;
  background: linear-gradient(135deg, #5b2a86, #d94f70);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
}

.t1x2-theme .lt-av img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.t1x2-theme .lt-list-val {
  display: grid;
  justify-items: end;
  flex: none;
  line-height: 1.1;
}

.t1x2-theme .lt-list-val b {
  font-size: 15px;
  font-weight: 900;
  color: #14a356;
  font-variant-numeric: tabular-nums;
}

.t1x2-theme .lt-list-val small {
  font-size: 11px;
  color: var(--gv-muted);
  font-variant-numeric: tabular-nums;
}

.t1x2-theme .lt-empty,
.t1x2-theme .lt-note {
  margin: 0;
  font-size: 13px;
  color: var(--gv-muted);
}

.t1x2-theme .lt-note {
  margin-top: 10px;
}

.t1x2-theme .lt-rules {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0 0 0 18px;
  font-size: 14px;
  line-height: 1.5;
}

.t1x2-theme .lt-chip {
  display: inline-block;
  padding: 0 7px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.6;
}

.t1x2-theme .lt-chip.is-add { background: #dff7e9; color: #0b6e37; }
.t1x2-theme .lt-chip.is-mult { background: #fff2c4; color: #7a5200; }
.t1x2-theme .lt-chip.is-rocket { background: #ffe1e4; color: #b3192a; }
.t1x2-theme .lt-chip.is-magnet { background: #ffe1e8; color: #b3193f; }
.t1x2-theme .lt-chip.is-laser { background: #d9f8ff; color: #04697f; }

/* alerts */
.t1x2-theme .lt-alert {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 12px 14px;
  border-radius: 14px;
  font-size: 14px;
  line-height: 1.45;
}

.t1x2-theme .lt-alert > i {
  margin-top: 3px;
}

.t1x2-theme .lt-alert.is-info { background: #eef0ff; color: #2c2f7a; }
.t1x2-theme .lt-alert.is-warning { background: var(--gv-gold-tint, #fff3dc); color: #7a4a00; }
.t1x2-theme .lt-alert.is-danger { background: var(--gv-red-tint, #fdebec); color: #9b1c25; }
.t1x2-theme .lt-alert a { color: inherit; font-weight: 800; }

/* ---------------------------------------------------------------- administration */

.t1x2-theme .lt-form {
  display: grid;
  gap: 16px;
}

.t1x2-theme .lt-form.is-inline {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 14px;
  margin-top: 10px;
}

.t1x2-theme .lt-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 16px;
}

.t1x2-theme .lt-field {
  display: grid;
  gap: 5px;
  align-content: start;
  min-width: 0;
}

.t1x2-theme .lt-field.is-wide {
  grid-column: 1 / -1;
}

.t1x2-theme .lt-field label {
  font-size: 13px;
  font-weight: 700;
  color: var(--gv-ink);
}

.t1x2-theme .lt-field input,
.t1x2-theme .lt-field select {
  box-sizing: border-box;
  width: 100%;
  min-height: 40px;
  padding: 8px 12px;
  border: 1px solid var(--gv-line-strong);
  border-radius: 10px;
  background: var(--gv-input, #f0f2f5);
  color: var(--gv-ink);
  font-size: 14px;
}

.t1x2-theme .lt-field small {
  font-size: 12px;
  line-height: 1.4;
  color: var(--gv-muted);
}

.t1x2-theme .lt-form-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 10px 14px;
}

.t1x2-theme .lt-msg {
  margin: 0;
  font-size: 13px;
  font-weight: 700;
  color: var(--gv-muted);
}

.t1x2-theme .lt-msg.is-ok { color: #0e8a46; }
.t1x2-theme .lt-msg.is-err { color: var(--gv-red, #e5484d); }

.t1x2-theme .lt-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 8px 18px;
  border: 1px solid var(--gv-line-strong);
  border-radius: 999px;
  background: var(--gv-surface);
  color: var(--gv-ink);
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
}

.t1x2-theme .lt-btn.is-accent {
  border-color: transparent;
  background: linear-gradient(135deg, #5b2a86, #d94f70);
  color: #fff;
}

.t1x2-theme .lt-btn:disabled {
  opacity: .6;
  cursor: wait;
}

.t1x2-theme .lt-tablewrap {
  overflow-x: auto;
  margin-top: 14px;
}

.t1x2-theme .lt-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
  font-variant-numeric: tabular-nums;
}

.t1x2-theme .lt-table th,
.t1x2-theme .lt-table td {
  padding: 8px 10px;
  border-bottom: 1px solid var(--gv-line);
  text-align: right;
  white-space: nowrap;
}

.t1x2-theme .lt-table th:first-child,
.t1x2-theme .lt-table thead th {
  text-align: left;
}

.t1x2-theme .lt-table thead th {
  font-size: 11px;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--gv-muted);
}

.t1x2-theme .lt-table tbody th {
  font-weight: 800;
  color: var(--gv-ink);
}

.t1x2-theme .lt-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 10px;
}

.t1x2-theme .lt-stats div {
  display: grid;
  gap: 2px;
  padding: 10px 12px;
  border-radius: 12px;
  background: var(--gv-sunken);
}

.t1x2-theme .lt-stats small {
  font-size: 11px;
  font-weight: 700;
  color: var(--gv-muted);
}

.t1x2-theme .lt-stats b {
  font-size: 18px;
  font-weight: 900;
  color: var(--gv-ink);
  font-variant-numeric: tabular-nums;
}

.t1x2-theme .lt-sub {
  margin: 18px 0 0;
  font-size: 14px;
  font-weight: 800;
  color: var(--gv-ink);
}

.t1x2-theme .lt-log {
  display: grid;
  gap: 6px;
  margin: 10px 0 0;
  padding: 0;
  list-style: none;
}

.t1x2-theme .lt-log li {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 10px;
  padding: 7px 10px;
  border-radius: 12px;
  background: var(--gv-sunken);
}

.t1x2-theme .lt-log li .lt-person {
  flex: 0 1 auto;
}

.t1x2-theme .lt-log small {
  flex: 1 1 200px;
  font-size: 12px;
  color: var(--gv-muted);
}

.t1x2-theme .lt-log .is-plus { color: #0e8a46; }
.t1x2-theme .lt-log .is-minus { color: var(--gv-red, #e5484d); }

/* ---------------------------------------------------------------- night mode */

body.t1x2-theme.night-mode .lt-game {
  background: linear-gradient(160deg, #151033 0%, #1d1240 55%, #2a1034 100%);
  box-shadow: 0 18px 40px rgba(0, 0, 0, .45);
}

body.t1x2-theme.night-mode .lt-list-val b { color: #3ee07f; }
body.t1x2-theme.night-mode .lt-chip.is-add { background: rgba(47, 209, 116, .16); color: #7dffb5; }
body.t1x2-theme.night-mode .lt-chip.is-mult { background: rgba(255, 207, 63, .16); color: #ffe066; }
body.t1x2-theme.night-mode .lt-chip.is-rocket { background: rgba(232, 54, 79, .18); color: #ff8a92; }
body.t1x2-theme.night-mode .lt-chip.is-magnet { background: rgba(232, 54, 79, .18); color: #ff9fb2; }
body.t1x2-theme.night-mode .lt-chip.is-laser { background: rgba(37, 208, 240, .16); color: #8ff0ff; }
body.t1x2-theme.night-mode .lt-alert.is-info { background: rgba(108, 92, 231, .16); color: #cfc9ff; }
body.t1x2-theme.night-mode .lt-alert.is-warning { background: rgba(245, 165, 36, .14); color: #ffd58a; }
body.t1x2-theme.night-mode .lt-alert.is-danger { background: rgba(229, 72, 77, .16); color: #ff9da1; }
body.t1x2-theme.night-mode .lt-msg.is-ok,
body.t1x2-theme.night-mode .lt-log .is-plus { color: #3ee07f; }
body.t1x2-theme.night-mode .lt-kicker { color: #ff8aa2; }

/* ---------------------------------------------------------------- phones and tablets */

@media (max-width: 1199.98px) {
  .t1x2-theme .lt-panel {
    grid-template-columns: auto 1fr auto;
  }

  .t1x2-theme .lt-modes {
    grid-column: 1 / -1;
    grid-row: 2;
  }
}

@media (max-width: 767.98px) {
  .t1x2-theme .lt-cols,
  .t1x2-theme .lt-fields {
    grid-template-columns: minmax(0, 1fr);
  }

  .t1x2-theme .lt-game {
    margin: 0 -6px;
    padding: 8px;
    border-radius: 20px;
  }

  .t1x2-theme .lt-stage {
    aspect-ratio: 4 / 5;
    max-height: 64vh;
    border-radius: 14px;
  }

  .t1x2-theme .lt-hud {
    inset: 8px 8px auto 8px;
  }

  .t1x2-theme .lt-hud-stats span {
    min-width: 0;
    padding: 4px 8px 5px;
  }

  .t1x2-theme .lt-hud-stats b {
    font-size: 12.5px;
  }

  .t1x2-theme .lt-icon {
    width: 32px;
    height: 32px;
  }

  .t1x2-theme .lt-panel {
    grid-template-columns: 1fr auto;
    gap: 10px;
  }

  .t1x2-theme .lt-bal b {
    font-size: 19px;
  }

  .t1x2-theme .lt-modes {
    grid-column: 1 / -1;
    grid-row: 2;
  }

  .t1x2-theme .lt-go {
    grid-column: 1 / -1;
    grid-row: 3;
    justify-content: center;
    width: 100%;
    padding: 13px 20px;
  }

  .t1x2-theme .lt-box {
    padding: 14px 14px 16px;
  }
}

@media (max-width: 380px) {
  .t1x2-theme .lt-hud-stats span:nth-child(2) {
    display: none;
  }

  .t1x2-theme .lt-mode span {
    font-size: 10px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .t1x2-theme .lt-banner {
    animation: none;
  }
}
