@font-face {
  font-family: "Orbitron";
  src: url("../assets/fonts/Orbitron.ttf") format("truetype");
  font-weight: 400 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Chakra Petch";
  src: url("../assets/fonts/ChakraPetch-Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --cyan: #3df5ff;
  --cyan-soft: rgba(61, 245, 255, 0.62);
  --magenta: #ff2d95;
  --lime: #c6ff3d;
  --gold: #ffd24a;
  --ink: #05070d;
  --paper: #eaf9ff;
  --display: "Orbitron", "Arial Black", "Helvetica Neue", system-ui, sans-serif;
  --num: "Chakra Petch", "Orbitron", "Arial Black", system-ui, sans-serif;
  --ui: -apple-system, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html, body {
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: #000;
  color: var(--paper);
  font-family: var(--ui);
  -webkit-user-select: none;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
  touch-action: none;
  overscroll-behavior: none;
}

#viewport {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  overflow: hidden;
  background: #000;
}

#stage {
  position: absolute;
  left: 0;
  top: 0;
  width: 1920px;
  height: 1080px;
  transform-origin: 0 0;
  background: var(--ink);
  overflow: hidden;
  box-shadow: 0 0 160px rgba(0, 0, 0, 0.9);
}

#game {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  width: 1920px;
  height: 1080px;
  display: block;
}

body.play,
body.play * {
  cursor: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAQAAAC1HAwCAAAAC0lEQVR42mNkYAAAAAYAAjCB0C8AAAAASUVORK5CYII=") 0 0, none !important;
}

.hidden { display: none !important; }

.hud-score,
.hud-best {
  position: absolute;
  top: 52px;
  display: flex;
  flex-direction: column;
  pointer-events: none;
  z-index: 6;
}

.hud-score { left: 64px; }
.hud-best { right: 64px; text-align: right; }

.lab {
  font-family: var(--display);
  font-size: 20px;
  font-weight: 600;
  letter-spacing: 7px;
  color: rgba(150, 225, 245, 0.55);
}

#score,
#best {
  font-family: var(--num);
  font-size: 78px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 2px;
  font-variant-numeric: tabular-nums;
  color: #fff;
  text-shadow:
    0 0 10px rgba(61, 245, 255, 0.6);
}

#best { font-size: 40px; font-weight: 700; color: rgba(220, 245, 255, 0.72); text-shadow: 0 0 18px rgba(61, 245, 255, 0.35); }

.combo {
  position: absolute;
  top: 56px;
  left: 50%;
  transform: translateX(-50%);
  padding: 10px 26px;
  border: 1px solid rgba(255, 45, 149, 0.55);
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(255, 45, 149, 0.2), rgba(255, 45, 149, 0.05));
  box-shadow: 0 0 24px rgba(255, 45, 149, 0.28), inset 0 0 18px rgba(255, 45, 149, 0.14);
  font-family: var(--display);
  font-size: 20px;
  font-weight: 600;
  letter-spacing: 5px;
  color: #ffd7ea;
  z-index: 6;
  pointer-events: none;
}

.combo b {
  font-family: var(--num);
  font-size: 30px;
  color: var(--gold);
  text-shadow: 0 0 14px rgba(255, 210, 74, 0.8);
  letter-spacing: 1px;
}

.combo.pop { animation: comboPop 0.28s ease-out; }

@keyframes comboPop {
  0% { transform: translateX(-50%) scale(1); }
  40% { transform: translateX(-50%) scale(1.18); }
  100% { transform: translateX(-50%) scale(1); }
}

.lives {
  position: absolute;
  left: 64px;
  bottom: 52px;
  display: flex;
  z-index: 6;
  pointer-events: none;
}

.lives i {
  width: 42px;
  height: 52px;
  display: block;
  clip-path: polygon(50% 0, 100% 26%, 100% 72%, 50% 100%, 0 72%, 0 26%);
  background: linear-gradient(180deg, rgba(61, 245, 255, 0.95), rgba(20, 130, 190, 0.35));
  box-shadow: 0 0 22px rgba(61, 245, 255, 0.55);
  opacity: 1;
  transition: opacity 0.25s, filter 0.25s;
}

.lives i.lost { opacity: 0.13; filter: grayscale(1); box-shadow: none; }
.lives i.hit { animation: lifeHit 0.42s ease-out; }

@keyframes lifeHit {
  0% { transform: scale(1); filter: brightness(3); }
  35% { transform: scale(1.5) rotate(-8deg); }
  100% { transform: scale(1); }
}

.pause-btn {
  position: absolute;
  right: 64px;
  bottom: 44px;
  min-height: 75px;
  padding: 0 30px;
  border: 1px solid rgba(61, 245, 255, 0.45);
  border-radius: 14px;
  background: rgba(4, 10, 18, 0.55);
  font-family: var(--display);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 4px;
  color: rgba(220, 250, 255, 0.85);
  z-index: 7;
  pointer-events: auto;
  cursor: pointer;
}

.pause-btn:hover, .pause-btn:focus { border-color: var(--gold); color: #fff; background: rgba(255, 210, 74, 0.16); outline: none; }

/* sık değişen/animasyonlu HUD öğeleri kendi katmanında: değişince yalnız kendisi yeniden çizilir */
.combo, .level-banner, .toast, .reward { will-change: transform, opacity; }

.overlay {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 70px;
  background:
    radial-gradient(ellipse at 50% 34%, rgba(10, 24, 46, 0.6) 0%, rgba(4, 7, 14, 0.9) 58%, rgba(2, 4, 8, 0.97) 100%);
  animation: overlayIn 0.35s ease-out;
}

@keyframes overlayIn {
  from { opacity: 0; transform: scale(1.03); }
  to { opacity: 1; transform: scale(1); }
}

.badge {
  font-family: var(--display);
  font-size: 20px;
  font-weight: 600;
  letter-spacing: 8px;
  color: rgba(61, 245, 255, 0.7);
  border: 1px solid rgba(61, 245, 255, 0.24);
  border-radius: 999px;
  padding: 10px 24px 10px 30px;
  margin-bottom: 34px;
  background: rgba(61, 245, 255, 0.04);
  box-shadow: inset 0 0 20px rgba(61, 245, 255, 0.08);
}

.logo {
  display: flex;
  font-family: var(--display);
  font-size: 136px;
  font-weight: 900;
  line-height: 0.9;
  letter-spacing: 0.03em;
  margin-bottom: 28px;
}

.logo .lz {
  color: #f4feff;
  text-shadow:
    0 0 8px #fff,
    0 0 30px rgba(61, 245, 255, 0.85),
    0 0 90px rgba(61, 245, 255, 0.45);
}

.logo .mv {
  background: linear-gradient(180deg, #ffd0e6 0%, #ff2d95 55%, #a4116a 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  /* filter: drop-shadow her karede 4K'da yeniden hesaplanıyordu (menü 20 FPS) → bir kez çizilen text-shadow */
  text-shadow: 0 0 18px rgba(255, 45, 149, 0.7), 0 0 44px rgba(255, 45, 149, 0.3);
}

.tagline {
  max-width: 840px;
  font-size: 26px;
  line-height: 1.45;
  font-weight: 500;
  color: rgba(214, 240, 250, 0.72);
  margin-bottom: 48px;
  text-wrap: balance;
}

.cta {
  position: relative;
  min-width: 320px;
  padding: 24px 54px;
  border: 2px solid rgba(61, 245, 255, 0.75);
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(61, 245, 255, 0.22), rgba(61, 245, 255, 0.05));
  color: #f2feff;
  font-family: var(--display);
  font-size: 30px;
  font-weight: 700;
  letter-spacing: 10px;
  text-indent: 10px;
  cursor: pointer;
  box-shadow:
    0 0 32px rgba(61, 245, 255, 0.22),
    inset 0 0 26px rgba(61, 245, 255, 0.12);
  transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.cta::before {
  content: "";
  position: absolute;
  top: 6px;
  right: 6px;
  bottom: 6px;
  left: 6px;
  border-radius: 9px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  pointer-events: none;
}

.cta:disabled {
  opacity: 0.35;
  cursor: default;
  transform: none;
}

.cta:hover,
.cta:focus {
  outline: none;
  transform: scale(1.05);
  background: linear-gradient(180deg, rgba(61, 245, 255, 0.34), rgba(61, 245, 255, 0.08));
  box-shadow:
    0 0 60px rgba(61, 245, 255, 0.42),
    inset 0 0 34px rgba(61, 245, 255, 0.2);
}

.ghost {
  margin-top: 20px;
  padding: 16px 40px;
  border: 1px solid rgba(220, 245, 255, 0.22);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  color: rgba(214, 240, 250, 0.7);
  font-family: var(--display);
  font-size: 20px;
  font-weight: 600;
  letter-spacing: 6px;
  text-indent: 6px;
  cursor: pointer;
  transition: all 0.18s ease;
}

.ghost:hover,
.ghost:focus {
  outline: none;
  color: #fff;
  border-color: rgba(61, 245, 255, 0.6);
  box-shadow: 0 0 28px rgba(61, 245, 255, 0.18);
}

.bestline {
  margin-top: 34px;
  font-family: var(--display);
  font-size: 20px;
  font-weight: 600;
  letter-spacing: 6px;
  color: rgba(160, 220, 240, 0.45);
}

.bestline b {
  font-family: var(--num);
  color: var(--gold);
  font-size: 24px;
  letter-spacing: 2px;
  text-shadow: 0 0 18px rgba(255, 210, 74, 0.55);
}

.hint {
  margin-top: 30px;
  font-size: 20px;
  font-weight: 500;
  letter-spacing: 2px;
  color: rgba(170, 220, 235, 0.4);
}

h2 {
  font-family: var(--display);
  font-size: 76px;
  font-weight: 800;
  letter-spacing: 12px;
  text-indent: 12px;
  color: #f4feff;
  text-shadow: 0 0 12px rgba(255, 255, 255, 0.7), 0 0 46px rgba(61, 245, 255, 0.55);
  margin-bottom: 16px;
}

.over-title {
  color: #ffd7e9;
  text-shadow: 0 0 12px rgba(255, 255, 255, 0.6), 0 0 46px rgba(255, 45, 149, 0.65);
}

.final {
  display: flex;
  align-items: baseline;
  margin-top: 20px;
  font-family: var(--display);
  letter-spacing: 6px;
  color: rgba(170, 225, 240, 0.6);
  font-size: 20px;
}

.final b {
  font-family: var(--num);
  font-size: 72px;
  letter-spacing: 2px;
  color: #fff;
  text-shadow: 0 0 24px rgba(61, 245, 255, 0.6);
}

.final.dim b {
  font-size: 38px;
  color: rgba(255, 210, 74, 0.9);
  text-shadow: 0 0 20px rgba(255, 210, 74, 0.4);
}

#over .cta { margin-top: 42px; }

.overlay.over {
  flex-direction: row;
  padding: 60px 90px;
}

.over-side {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 520px;
}

.over-side h2 { font-size: 64px; letter-spacing: 9px; text-indent: 9px; }

.over-stats {
  padding: 30px 36px 26px;
  border: 1px solid rgba(61, 245, 255, 0.22);
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(61, 245, 255, 0.07), rgba(61, 245, 255, 0.015));
  box-shadow: 0 0 60px rgba(61, 245, 255, 0.1), inset 0 0 40px rgba(61, 245, 255, 0.05);
}

.stats-head {
  font-family: var(--display);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 8px;
  color: var(--cyan-soft);
  margin-bottom: 16px;
  text-align: left;
}

.stats {
  border-collapse: collapse;
  font-family: var(--num);
  font-size: 26px;
  color: #eaffff;
}

.stats th {
  font-family: var(--display);
  font-size: 20px;
  font-weight: 600;
  letter-spacing: 4px;
  color: rgba(150, 225, 245, 0.5);
  padding: 0 18px 10px;
  text-align: right;
  border-bottom: 1px solid rgba(61, 245, 255, 0.18);
}

.stats th:first-child { text-align: left; }

.stats td {
  padding: 7px 18px;
  text-align: right;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

.stats tbody tr {
  opacity: 0;
  animation: rowIn 0.38s ease-out forwards;
}

.stats tbody tr:nth-child(even) td { background: rgba(61, 245, 255, 0.035); }

@keyframes rowIn {
  from { opacity: 0; transform: translateX(-40px); }
  to { opacity: 1; transform: translateX(0); }
}

.stats .fruit {
  display: flex;
  align-items: center;
  text-align: left;
  font-family: var(--display);
  font-size: 20px;
  font-weight: 600;
  letter-spacing: 2px;
}

.stats .fruit img { width: 44px; height: 44px; }
.stats .gold .fruit { color: var(--gold); }
.stats .gold .fruit img { filter: sepia(1) saturate(4) hue-rotate(-12deg) brightness(1.15); }
.stats .calc { color: rgba(214, 240, 250, 0.62); font-size: 22px; }
.stats .bonus { color: var(--magenta); }
.stats .pts { color: #fff; font-weight: 700; text-shadow: 0 0 14px rgba(61, 245, 255, 0.55); }

.stats tfoot td {
  padding-top: 14px;
  border-top: 1px solid rgba(61, 245, 255, 0.24);
  font-size: 28px;
}

.stats tfoot td:first-child {
  text-align: left;
  font-family: var(--display);
  font-size: 20px;
  letter-spacing: 2px;
  color: rgba(255, 140, 160, 0.75);
}

#statsTotal { color: var(--gold); font-weight: 800; text-shadow: 0 0 18px rgba(255, 210, 74, 0.55); }
#statsBonus { color: var(--magenta); }

.stats .empty td { text-align: center; color: rgba(214, 240, 250, 0.5); font-family: var(--display); font-size: 20px; letter-spacing: 3px; padding: 30px; }

.newbest {
  margin-top: 18px;
  font-family: var(--display);
  font-size: 22px;
  font-weight: 800;
  letter-spacing: 8px;
  color: var(--gold);
  text-shadow: 0 0 20px rgba(255, 210, 74, 0.8);
  animation: bestPulse 0.9s ease-in-out infinite alternate;
}

@keyframes bestPulse {
  from { opacity: 0.6; transform: scale(0.96); }
  to { opacity: 1; transform: scale(1.06); }
}

.toast {
  position: absolute;
  left: 50%;
  bottom: 152px;
  transform: translate(-50%, 18px);
  z-index: 20;
  padding: 14px 34px;
  border: 1px solid rgba(61, 245, 255, 0.4);
  border-radius: 999px;
  background: rgba(4, 10, 18, 0.82);
  box-shadow: 0 0 30px rgba(61, 245, 255, 0.18);
  font-family: var(--display);
  font-size: 20px;
  font-weight: 600;
  letter-spacing: 4px;
  color: rgba(220, 250, 255, 0.9);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
  white-space: nowrap;
}

.toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
}

#startBtn { margin-top: 4px; }

.debug {
  position: absolute;
  top: 150px;
  left: 64px;
  z-index: 30;
  padding: 10px 16px;
  border: 1px solid rgba(61, 245, 255, 0.3);
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.7);
  font: 600 18px/1.5 ui-monospace, Menlo, monospace;
  color: #9ff;
  white-space: pre;
  pointer-events: none;
}

/* webOS 6 = Chromium 79: flex "gap" ve "inset" desteklenmiyor; boşluklar margin ile. */
.hud-score > * + *,
.hud-best > * + * { margin-top: 2px; }
.lives i + i { margin-left: 16px; }
.logo .mv { margin-left: 0.12em; }
.final b { margin-left: 22px; }
.over-side { margin-left: 90px; }
.stats .fruit img { margin-right: 14px; }

.hud-level {
  position: absolute;
  top: 150px;
  left: 64px;
  font-family: var(--display);
  font-size: 20px;
  font-weight: 600;
  letter-spacing: 6px;
  color: rgba(150, 225, 245, 0.55);
  z-index: 6;
  pointer-events: none;
}

.hud-level b {
  font-family: var(--num);
  font-size: 30px;
  color: var(--lime);
  margin-left: 8px;
  text-shadow: 0 0 14px rgba(198, 255, 61, 0.6);
}

.hud-level b small {
  text-shadow: none;
  font-size: 20px;
  margin-left: 10px;
  color: rgba(198, 255, 61, 0.75);
}

.level-banner {
  position: absolute;
  left: 0;
  right: 0;
  top: 380px;
  text-align: center;
  font-family: var(--display);
  font-size: 40px;
  font-weight: 800;
  letter-spacing: 16px;
  color: #f4feff;
  text-shadow: 0 0 14px rgba(198, 255, 61, 0.6);
  opacity: 0;
  z-index: 7;
  pointer-events: none;
}

.level-banner b {
  font-family: var(--num);
  font-size: 110px;
  letter-spacing: 4px;
  color: var(--lime);
  vertical-align: middle;
  margin-left: 18px;
}

.level-banner i {
  display: block;
  font-style: normal;
  font-size: 22px;
  letter-spacing: 10px;
  color: #ff5d7a;
  margin-top: 6px;
}

.level-banner.show { animation: levelIn 1.9s ease-out forwards; }

@keyframes levelIn {
  0% { opacity: 0; transform: scale(1.15); }
  12% { opacity: 1; transform: scale(1); }
  70% { opacity: 1; transform: scale(1); }
  100% { opacity: 0; transform: scale(1); }
}

.quests {
  position: absolute;
  top: 132px;
  right: 64px;
  width: 300px;
  z-index: 6;
  pointer-events: none;
}

.quest-head {
  font-family: var(--display);
  font-size: 20px;
  font-weight: 600;
  letter-spacing: 4px;
  color: rgba(198, 255, 61, 0.6);
  text-align: right;
  margin-bottom: 8px;
}

.quest {
  display: flex;
  align-items: center;
  height: 46px;
}

.quest img { width: 40px; height: 40px; margin-right: 12px; }
.quest.gold img { filter: sepia(1) saturate(4) hue-rotate(-12deg) brightness(1.15); }

.quest .bar {
  flex: 1;
  height: 8px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
  margin-right: 12px;
}

.quest .bar span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, #7dff3d, var(--lime));
}

.quest b {
  width: 56px;
  text-align: right;
  font-family: var(--num);
  font-size: 22px;
  color: #eaffd0;
}

.reward {
  position: absolute;
  left: 0;
  right: 0;
  top: 250px;
  text-align: center;
  font-family: var(--num);
  font-size: 84px;
  font-weight: 800;
  color: var(--lime);
  text-shadow: 0 0 24px rgba(198, 255, 61, 0.8), 0 0 70px rgba(198, 255, 61, 0.35);
  opacity: 0;
  z-index: 7;
  pointer-events: none;
}

.reward i {
  display: block;
  font-style: normal;
  font-family: var(--display);
  font-size: 22px;
  letter-spacing: 8px;
  color: #eaffd0;
  margin-top: 4px;
}

.reward.show { animation: levelIn 1.7s ease-out forwards; }

.stats .rew { color: var(--lime); }
#statsRew { color: var(--lime); }

.board {
  position: absolute;
  right: 80px;
  top: 50%;
  width: 380px;
  transform: translateY(-50%);
  padding: 26px 30px;
  text-align: left;
  border: 1px solid rgba(255, 210, 74, 0.25);
  border-radius: 18px;
  background: rgba(4, 10, 18, 0.55);
  box-shadow: 0 0 40px rgba(255, 210, 74, 0.08);
}

.board-head {
  font-family: var(--display);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 6px;
  color: var(--gold);
  margin-bottom: 14px;
}

.board-head span { color: rgba(214, 240, 250, 0.45); font-size: 20px; letter-spacing: 3px; }

.board-list { list-style: none; margin: 0; padding: 0; }

.board-list li {
  display: flex;
  align-items: baseline;
  padding: 6px 0;
  font-family: var(--num);
  font-size: 22px;
  color: #eaffff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.board-list li .rk { width: 38px; color: rgba(150, 225, 245, 0.5); }
.board-list li .nm { flex: 1; font-family: var(--display); font-size: 20px; letter-spacing: 2px; }
.board-list li .lv { width: 50px; text-align: right; font-size: 20px; color: var(--lime); margin-right: 14px; }
.board-list li .sc { min-width: 90px; text-align: right; font-weight: 700; }
.board-list li:first-child .sc, .board-list li:first-child .nm { color: var(--gold); }
.board-list li.me { background: rgba(198, 255, 61, 0.08); }
.board-list li.muted { color: rgba(214, 240, 250, 0.45); font-family: var(--display); font-size: 20px; letter-spacing: 3px; border: 0; }

.sendbox { margin-top: 22px; text-align: center; }
.send-row { display: flex; align-items: center; justify-content: center; }

.name-input {
  width: 300px;
  padding: 14px 18px;
  border: 2px solid rgba(255, 210, 74, 0.45);
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.35);
  color: #fff;
  font-family: var(--display);
  font-size: 24px;
  letter-spacing: 4px;
  text-transform: uppercase;
  outline: none;
}

.name-input:focus { border-color: var(--gold); box-shadow: 0 0 24px rgba(255, 210, 74, 0.35); }
.name-input::placeholder { color: rgba(255, 255, 255, 0.3); }

.send-btn { margin: 0 0 0 14px; border-color: rgba(255, 210, 74, 0.45); color: var(--gold); }
.send-btn:focus, .send-btn:hover { border-color: var(--gold); box-shadow: 0 0 26px rgba(255, 210, 74, 0.35); color: #fff; }
.send-btn:disabled { opacity: 0.4; }

.send-status {
  margin-top: 10px;
  min-height: 22px;
  font-family: var(--display);
  font-size: 20px;
  letter-spacing: 3px;
  color: rgba(214, 240, 250, 0.55);
}

.send-status.ok { color: var(--lime); }
.send-status.err { color: #ff5d7a; }
#over .cta { margin-top: 26px; }

.power-badge {
  position: absolute;
  top: 128px;
  left: 0;
  right: 0;
  text-align: center;
  font-family: var(--display);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 5px;
  color: #fff;
  text-shadow: 0 0 14px rgba(140, 210, 255, 0.9);
  z-index: 6;
  pointer-events: none;
}

.level-banner i { color: var(--lime); }

.board { width: 470px; right: 60px; }
.board-list li { align-items: center; }
.board-list li .flag { width: 30px; height: 20px; margin-right: 12px; border-radius: 3px; box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.15); }
.board-list li span.flag { display: inline-block; box-shadow: none; }
.board-list li .who { flex: 1; display: flex; flex-direction: column; min-width: 0; }
.board-list li .who .nm { flex: none; }
.board-list li .ct { font-family: var(--display); font-size: 20px; letter-spacing: 2px; color: rgba(214, 240, 250, 0.45); margin-top: 2px; }
.send-status { line-height: 1.6; }

#menu { padding-right: 600px; }

/* LG webOS self-checklist: en küçük düğme 75x75 px, en küçük yazı 20 px (1920x1080). */
.ghost, .send-btn { min-height: 75px; min-width: 75px; padding-top: 0; padding-bottom: 0; }
.cta { min-height: 80px; }
.name-input { height: 75px; }
.stats th { letter-spacing: 2px; padding: 0 14px 10px; }
.stats td { padding: 7px 14px; }
.board { width: 520px; }
.board-list li .lv { width: 56px; }
.quests { width: 340px; }
.hud-hint, .hint, .badge, .bestline, .toast { letter-spacing: 3px; }

.diff-head { font-family: var(--display); font-size: 20px; letter-spacing: 6px; color: rgba(150, 225, 245, 0.6); margin-bottom: 14px; }
.diff-row { display: flex; justify-content: center; }
.diff-row .cta { min-width: 230px; padding: 22px 26px; font-size: 26px; letter-spacing: 6px; text-indent: 6px; }
.diff-row .cta + .cta { margin-left: 22px; }
.cta.easy { border-color: rgba(198, 255, 61, 0.7); }
.cta.hard { border-color: rgba(255, 45, 149, 0.75); }

.board-list li .lv { width: 84px; }
.board-list li .md { font-style: normal; display: inline-block; width: 24px; margin-right: 6px; border-radius: 4px; text-align: center; color: #05070d; font-weight: 700; }
.board-list li .md.easy { background: var(--lime); }
.board-list li .md.normal { background: var(--cyan); }
.board-list li .md.hard { background: var(--magenta); color: #fff; }

.diff-row .cta small { display: block; margin-top: 6px; font-family: var(--num); font-size: 20px; letter-spacing: 2px; color: rgba(214, 240, 250, 0.7); text-indent: 0; }
.level-banner i.piece { color: #ffd7ea; font-size: 22px; letter-spacing: 4px; margin-top: 10px; }

body.saver .overlay, body.saver #hud, body.saver .toast { display: none !important; }

/* Web ve Playables: kumanda ipuçları gizli, Playables'ta skor gönderme yok */
body.web #pause .hint,
body.web #over .hint { display: none; }
body.playables #sendBox { display: none !important; }

/* Web: menüde dil seçici (sol üst) */
.lang-sel {
  position: absolute;
  top: 40px;
  left: 40px;
  height: 64px;
  padding: 0 22px;
  font: 700 24px/1 var(--ui);
  color: var(--paper);
  background: rgba(5, 7, 13, 0.85);
  border: 2px solid var(--cyan-soft);
  border-radius: 14px;
  cursor: pointer;
}
.lang-sel:focus { outline: 3px solid var(--magenta); outline-offset: 3px; }

/* CrazyGames: ödüllü reklamla devam düğmesi */
.cta.revive {
  border-color: var(--magenta);
  color: #fff;
  background: rgba(255, 45, 149, 0.18);
  margin-bottom: 18px;
}
.cta.revive:disabled { opacity: 0.5; }

/* Web: tam ekran düğmesi (dil seçicinin yanında) ve iPhone ipucu */
.fs-btn {
  position: absolute;
  top: 40px;
  left: 300px;
  height: 64px;
  padding: 0 24px;
  font: 700 24px/1 var(--ui);
  letter-spacing: 2px;
  color: var(--paper);
  background: rgba(5, 7, 13, 0.85);
  border: 2px solid var(--cyan-soft);
  border-radius: 14px;
  cursor: pointer;
}
.fs-btn:focus { outline: 3px solid var(--magenta); outline-offset: 3px; }
.fs-tip {
  position: absolute;
  top: 52px;
  left: 300px;
  font: 700 22px/1.3 var(--ui);
  color: var(--lime);
}
