@font-face {
  font-family: SG;
  src: url(../../fonts/SpaceGrotesk.ttf);
  font-weight: 300 700;
  font-display: swap;
}
@font-face {
  font-family: IN;
  src: url(../../fonts/Inter.ttf);
  font-weight: 100 900;
  font-display: swap;
}
:root {
  --gold1:#f8e3a6;
  --gold2:#d9ab55;
  --gold3:#9b6a1f;
  --ink:#f7f0e1;
  --mut:#b2a794;
  --pan:rgba(16,11,17,.82);
  --line:rgba(236,200,120,.3);
  --safe:env(safe-area-inset-top,0px);
  --safeb:env(safe-area-inset-bottom,0px);
}
* {
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}
html,
body {
  margin: 0;
  height: 100%;
  overflow: hidden;
  background: #07060b;
  color: var(--ink);
  font-family:
    IN,
    system-ui,
    sans-serif;
  user-select: none;
  -webkit-user-select: none;
  touch-action: none;
  overscroll-behavior: none;
}
#gl {
  position: fixed;
  inset: 0;
  display: block;
}
#hit {
  position: fixed;
  inset: 0;
  touch-action: none;
}
#ui {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 5;
}
.gold {
  background:
    linear-gradient(
      180deg,
      var(--gold1),
      var(--gold2) 55%,
      var(--gold3));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
h1,
h2,
h3,
.sg {
  font-family:
    SG,
    IN,
    sans-serif;
  margin: 0;
}
svg {
  display: block;
}
button {
  font: inherit;
  color: inherit;
  cursor: pointer;
  touch-action: manipulation;
}
.btn {
  position: relative;
  border: 1px solid rgba(255, 238, 190, .7);
  border-radius: 15px;
  padding: 14px 18px;
  font: 700 15px SG, sans-serif;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: #2a1a05;
  background:
    linear-gradient(
      180deg,
      #fbe9b0,
      #e2b45a 52%,
      #b57c24);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, .7) inset,
    0 -3px 0 rgba(90, 50, 5, .35) inset,
    0 10px 24px -8px rgba(240, 180, 70, .7);
  text-shadow: 0 1px 0 rgba(255, 255, 255, .4);
  width: 100%;
}
.btn:active {
  transform: translateY(1px) scale(.99);
  filter: brightness(.95);
}
.btn.ghost {
  background: rgba(255, 255, 255, .06);
  color: var(--ink);
  border: 1px solid var(--line);
  box-shadow: none;
  text-shadow: none;
}
.btn.sm {
  padding: 10px 14px;
  font-size: 13px;
  width: auto;
}
.btn[disabled] {
  opacity: .45;
  filter: grayscale(.6);
}
.ib {
  pointer-events: auto;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(12, 9, 14, .62);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: var(--gold1);
  display: grid;
  place-items: center;
  box-shadow: 0 6px 18px -8px #000;
}
.ib:active {
  transform: scale(.94);
}
.ib.on {
  background:
    linear-gradient(
      180deg,
      #f6dc9a,
      #c8923a);
  color: #2a1a05;
}
.ib svg {
  width: 22px;
  height: 22px;
}
.ib.pulse {
  animation: pls 1.1s infinite;
}
@keyframes pls {
  50% {
    box-shadow: 0 0 0 6px rgba(246, 220, 154, .28), 0 0 22px rgba(246, 220, 154, .6);
  }
}
.scr {
  z-index: 1;
  position: absolute;
  inset: 0;
  pointer-events: auto;
  display: flex;
  flex-direction: column;
  animation: fin .35s ease-out;
}
@keyframes fin {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
  }
}
.scr.title {
  justify-content: space-between;
  padding: calc(var(--safe) + 40px) 26px calc(var(--safeb) + 54px);
  background:
    radial-gradient(
      ellipse at 50% 30%,
      rgba(10, 6, 12, .1),
      rgba(6, 4, 9, .82) 78%),
    linear-gradient(
      180deg,
      rgba(5, 3, 8, .55),
      rgba(5, 3, 8, 0) 36%,
      rgba(5, 3, 8, .75));
}
.logo {
  text-align: center;
}
.logo small {
  font: 600 11px SG;
  letter-spacing: .42em;
  color: var(--mut);
}
.logo h1 {
  font-size: 58px;
  line-height: .92;
  letter-spacing: .02em;
  text-transform: uppercase;
  margin: 12px 0 10px;
  filter: drop-shadow(0 4px 18px rgba(240, 180, 70, .45));
}
.logo p {
  margin: 0;
  color: var(--gold1);
  font: 500 13px SG;
  letter-spacing: .34em;
  text-transform: uppercase;
  opacity: .9;
}
.rule {
  width: 150px;
  height: 1px;
  margin: 14px auto 0;
  background:
    linear-gradient(
      90deg,
      transparent,
      var(--gold2),
      transparent);
}
.menu {
  display: flex;
  flex-direction: column;
  gap: 9px;
  margin-top: auto;
}
.menu .btn {
  padding: 11px 16px;
}
.foot {
  margin-top: 12px;
}
.menu .btn small {
  display: block;
  font: 500 11px IN;
  letter-spacing: .04em;
  text-transform: none;
  opacity: .75;
  margin-top: 2px;
}
.badge {
  position: absolute;
  top: -7px;
  right: -4px;
  background: #ff4a5e;
  color: #fff;
  font: 700 11px SG;
  border-radius: 10px;
  padding: 2px 7px;
  box-shadow: 0 2px 8px rgba(255, 74, 94, .6);
  letter-spacing: 0;
}
.foot {
  text-align: center;
  font-size: 12px;
  color: var(--mut);
  line-height: 1.5;
}
.topbar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: calc(var(--safe) + 12px) 14px 8px;
}
.topbar h2 {
  flex: 1;
  font-size: 20px;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 12px;
  background: rgba(12, 9, 14, .6);
  font: 600 13px SG;
  color: var(--gold1);
}
.pill svg {
  width: 15px;
  height: 15px;
}
.mapbg {
  background:
    linear-gradient(
      180deg,
      rgba(7, 5, 10, .94),
      rgba(10, 7, 13, .97));
}
.scroll {
  flex: 1;
  overflow-y: auto;
  overflow-x: hidden;
  padding: 4px 14px calc(var(--safeb) + 70px);
  touch-action: pan-y;
  -webkit-overflow-scrolling: touch;
}
.chap {
  margin: 14px 0 22px;
  position: relative;
}
.chap .hd {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 10px;
  gap: 10px;
}
.chap h3 {
  font-size: 19px;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.chap .bl {
  color: var(--mut);
  font-size: 12px;
  margin-top: 2px;
}
.chap .cnt {
  font: 600 12px SG;
  color: var(--gold2);
  white-space: nowrap;
}
.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 9px;
}
.cell {
  position: relative;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 10px 6px 9px;
  text-align: center;
  background:
    linear-gradient(
      165deg,
      rgba(40, 27, 34, .9),
      rgba(18, 12, 18, .94));
  box-shadow: 0 8px 20px -12px #000, 0 1px 0 rgba(255, 240, 200, .08) inset;
  min-height: 92px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
}
.cell:active {
  transform: scale(.97);
}
.cell .no {
  font: 700 20px SG;
  color: var(--gold1);
}
.cell .nm {
  font-size: 11px;
  line-height: 1.15;
  color: var(--ink);
  opacity: .9;
  margin: 2px 0 4px;
  min-height: 25px;
  display: flex;
  align-items: center;
}
.cell.done {
  border-color: rgba(246, 220, 154, .55);
  background:
    linear-gradient(
      165deg,
      rgba(66, 48, 30, .9),
      rgba(26, 17, 16, .94));
}
.stars {
  display: flex;
  gap: 2px;
  justify-content: center;
}
.stars svg {
  width: 15px;
  height: 15px;
}
.st-off {
  fill: rgba(255, 255, 255, .12);
  stroke: none;
}
.st-on {
  fill: url(#sg);
  filter: drop-shadow(0 0 3px rgba(255, 200, 80, .7));
}
.gift {
  position: absolute;
  top: 5px;
  right: 6px;
  width: 14px;
  height: 14px;
  color: var(--gold2);
}
.lockwrap {
  position: relative;
}
.lockov {
  position: absolute;
  inset: -4px;
  border-radius: 18px;
  background: rgba(6, 4, 9, .72);
  backdrop-filter: blur(2.5px);
  -webkit-backdrop-filter: blur(2.5px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  text-align: center;
  z-index: 1;
  color: var(--mut);
  font: 600 13px SG;
}
.lockov svg {
  width: 26px;
  height: 26px;
  color: var(--gold2);
}
.next {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: calc(var(--safeb) + 54px);
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(14, 10, 16, .9);
  backdrop-filter: blur(10px);
  padding: 9px 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  pointer-events: auto;
}
.next .ic {
  width: 44px;
  height: 30px;
  border-radius: 8px;
  flex: none;
  background-size: cover;
  background-position: center;
}
.bar {
  height: 6px;
  border-radius: 5px;
  background: rgba(255, 255, 255, .1);
  overflow: hidden;
  margin-top: 5px;
}
.bar i {
  display: block;
  height: 100%;
  background:
    linear-gradient(
      90deg,
      var(--gold3),
      var(--gold1));
  border-radius: 5px;
  box-shadow: 0 0 10px rgba(246, 220, 154, .6);
}
.sheet {
  pointer-events: auto;
  z-index: 21;
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    linear-gradient(
      180deg,
      rgba(26, 18, 24, .97),
      rgba(11, 8, 13, .99));
  border-top: 1px solid var(--line);
  border-radius: 26px 26px 0 0;
  padding: 20px 20px calc(var(--safeb) + 22px);
  box-shadow: 0 -20px 50px -10px #000;
  animation: up .38s cubic-bezier(.2, .9, .3, 1);
}
@keyframes up {
  from {
    transform: translateY(60%);
    opacity: 0;
  }
  to {
    transform: none;
    opacity: 1;
  }
}
.sheet:before {
  content: "";
  position: absolute;
  top: 8px;
  left: 50%;
  width: 44px;
  height: 4px;
  margin-left: -22px;
  border-radius: 3px;
  background: rgba(255, 255, 255, .18);
}
.sheet h2 {
  font-size: 26px;
  letter-spacing: .03em;
  text-transform: uppercase;
  margin: 8px 0 2px;
}
.sheet .sub {
  font: 600 11px SG;
  letter-spacing: .28em;
  color: var(--gold2);
  text-transform: uppercase;
}
.sheet .tip {
  color: var(--mut);
  font-size: 13px;
  line-height: 1.45;
  margin: 8px 0 12px;
}
.goal {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 8px 0;
  border-top: 1px solid rgba(255, 255, 255, .07);
  font-size: 13px;
  line-height: 1.35;
}
.goal .stars {
  flex: none;
  width: 52px;
  justify-content: flex-start;
}
.goal .stars svg {
  width: 13px;
  height: 13px;
}
.goal.ok {
  color: var(--gold1);
}
.row {
  display: flex;
  gap: 10px;
  margin-top: 14px;
}
.dim {
  z-index: 20;
  position: absolute;
  inset: 0;
  background: rgba(4, 3, 7, .55);
  pointer-events: auto;
  animation: fin .25s;
}
.card {
  pointer-events: auto;
  z-index: 22;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: min(340px, 90vw);
  background:
    linear-gradient(
      165deg,
      rgba(34, 24, 30, .98),
      rgba(13, 9, 15, .99));
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 22px;
  box-shadow: 0 30px 70px -10px #000;
  animation: pop .3s cubic-bezier(.2, .9, .3, 1);
}
@keyframes pop {
  from {
    transform: translate(-50%, -46%) scale(.94);
    opacity: 0;
  }
}
.card h2 {
  font-size: 22px;
  text-transform: uppercase;
  letter-spacing: .05em;
  margin-bottom: 12px;
}
.opt {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
  border-top: 1px solid rgba(255, 255, 255, .07);
  font-size: 14px;
}
.seg {
  display: flex;
  border: 1px solid var(--line);
  border-radius: 11px;
  overflow: hidden;
}
.seg button {
  border: 0;
  background: transparent;
  padding: 7px 11px;
  font: 600 12px SG;
  color: var(--mut);
}
.seg button.on {
  background:
    linear-gradient(
      180deg,
      var(--gold1),
      var(--gold2));
  color: #2a1a05;
}
.hud {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.hud .tl {
  position: absolute;
  left: 12px;
  top: calc(var(--safe) + 12px);
}
.hud .tr {
  position: absolute;
  right: 12px;
  top: calc(var(--safe) + 12px);
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.goalpill {
  position: absolute;
  left: 62px;
  right: 66px;
  top: calc(var(--safe) + 12px);
  min-height: 42px;
  pointer-events: auto;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(12, 9, 14, .66);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 6px 11px;
  box-shadow: 0 8px 20px -10px #000;
}
.goalpill b {
  display: block;
  font: 700 10px SG;
  letter-spacing: .2em;
  color: var(--gold2);
  text-transform: uppercase;
}
.goalpill span {
  display: block;
  font-size: 12px;
  line-height: 1.25;
  margin-top: 1px;
  color: var(--ink);
}
.shotpill {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top: calc(var(--safe) + 62px);
  font: 600 11px SG;
  letter-spacing: .18em;
  color: var(--ink);
  text-shadow: 0 1px 6px #000;
  text-transform: uppercase;
  opacity: .9;
  white-space: nowrap;
}
.power {
  position: absolute;
  right: 14px;
  top: 30%;
  bottom: 154px;
  width: 50px;
  pointer-events: auto;
  touch-action: none;
}
.power .trk {
  position: absolute;
  left: 17px;
  top: 6px;
  bottom: 6px;
  width: 16px;
  border-radius: 9px;
  background:
    linear-gradient(
      180deg,
      #2a1a06,
      #0d0a0c);
  border: 1px solid var(--line);
  box-shadow: 0 0 0 1px #000 inset, 0 8px 20px -8px #000;
  overflow: hidden;
}
.power .fill {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 0;
  background:
    linear-gradient(
      180deg,
      #7dffd1,
      #ffe27a 55%,
      #ff6a4a);
  box-shadow: 0 0 12px rgba(255, 200, 100, .5);
}
.power .tick {
  position: absolute;
  left: 0;
  right: 0;
  height: 1px;
  background: rgba(255, 255, 255, .18);
}
.power .knob {
  position: absolute;
  left: 3px;
  width: 44px;
  height: 30px;
  margin-top: -15px;
  border-radius: 12px;
  border: 1px solid #fff0b8;
  background:
    linear-gradient(
      180deg,
      #fbe9b0,
      #d9a84f 55%,
      #a9751f);
  box-shadow: 0 6px 14px -4px #000, 0 1px 0 #fff8 inset;
  display: grid;
  place-items: center;
  font: 700 11px SG;
  color: #2a1a05;
}
.power .hint {
  position: absolute;
  left: 8px;
  width: 34px;
  height: 3px;
  border-radius: 2px;
  background: #7affc8;
  box-shadow: 0 0 8px #7affc8;
  display: none;
}
.power .lbl {
  position: absolute;
  bottom: -18px;
  left: 0;
  right: 0;
  text-align: center;
  font: 700 9px SG;
  letter-spacing: .2em;
  color: var(--mut);
}
.spin {
  position: absolute;
  left: 14px;
  bottom: calc(var(--safeb) + 112px);
  width: 84px;
  height: 84px;
  pointer-events: auto;
  touch-action: none;
}
.spin .face {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background:
    radial-gradient(
      circle at 36% 30%,
      #fff,
      #e9e4d8 45%,
      #a8a094 100%);
  box-shadow:
    0 8px 20px -6px #000,
    0 0 0 2px rgba(246, 220, 154, .7),
    0 0 0 4px rgba(0, 0, 0, .45);
}
.spin .face:before,
.spin .face:after {
  content: "";
  position: absolute;
  background: rgba(0, 0, 0, .18);
}
.spin .face:before {
  left: 50%;
  top: 10%;
  bottom: 10%;
  width: 1px;
}
.spin .face:after {
  top: 50%;
  left: 10%;
  right: 10%;
  height: 1px;
}
.spin .dot {
  position: absolute;
  width: 16px;
  height: 16px;
  margin: -8px;
  border-radius: 50%;
  background:
    radial-gradient(
      circle at 35% 30%,
      #ff9a8a,
      #d41c2b 70%);
  box-shadow: 0 2px 6px rgba(0, 0, 0, .5);
  left: 50%;
  top: 50%;
}
.spin .lbl,
.lift .lbl {
  position: absolute;
  top: -16px;
  left: 0;
  right: 0;
  text-align: center;
  font: 700 9px SG;
  letter-spacing: .2em;
  color: var(--mut);
}
.lift {
  position: absolute;
  left: 112px;
  bottom: calc(var(--safeb) + 112px);
  width: 34px;
  height: 84px;
  pointer-events: auto;
  touch-action: none;
}
.lift .trk {
  position: absolute;
  left: 12px;
  top: 0;
  bottom: 0;
  width: 10px;
  border-radius: 6px;
  background: #120d10;
  border: 1px solid var(--line);
}
.lift .fill {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    linear-gradient(
      0deg,
      #9bd7ff,
      #d8b4ff);
  border-radius: 6px;
}
.lift .knob {
  position: absolute;
  left: 5px;
  width: 24px;
  height: 12px;
  margin-top: -6px;
  border-radius: 6px;
  background:
    linear-gradient(
      180deg,
      #fbe9b0,
      #c8923a);
  border: 1px solid #fff0b8;
}
.hud.lefty .power {
  right: auto;
  left: 14px;
}
.hud.lefty .spin {
  left: auto;
  right: 14px;
}
.hud.lefty .lift {
  left: auto;
  right: 112px;
}
.dial {
  position: absolute;
  left: 96px;
  right: 84px;
  bottom: calc(var(--safeb) + 56px);
  height: 38px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(12, 9, 14, .55);
  backdrop-filter: blur(8px);
  overflow: hidden;
  pointer-events: auto;
  touch-action: none;
}
.dial i {
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(
      90deg,
      rgba(246, 220, 154, .55) 0 1px,
      transparent 1px 12px);
  background-size: 12px 100%;
  mask:
    linear-gradient(
      90deg,
      transparent,
      #000 22%,
      #000 78%,
      transparent);
  -webkit-mask:
    linear-gradient(
      90deg,
      transparent,
      #000 22%,
      #000 78%,
      transparent);
  top: 58%;
}
.dial u {
  position: absolute;
  left: 50%;
  top: 5px;
  bottom: 5px;
  width: 2px;
  margin-left: -1px;
  background: var(--gold1);
  border-radius: 2px;
  box-shadow: 0 0 8px var(--gold2);
}
.dial span {
  position: absolute;
  top: 3px;
  left: 0;
  right: 0;
  text-align: center;
  font: 700 9px SG;
  letter-spacing: .24em;
  color: var(--mut);
  transform: translateX(18px);
}
.toast {
  position: fixed;
  left: 50%;
  bottom: calc(var(--safeb) + 200px);
  transform: translateX(-50%) translateY(10px);
  background: rgba(14, 10, 16, .92);
  border: 1px solid var(--line);
  color: var(--ink);
  padding: 10px 16px;
  border-radius: 14px;
  font-size: 13px;
  opacity: 0;
  transition: .25s;
  pointer-events: none;
  z-index: 20;
  max-width: 84vw;
  text-align: center;
}
#toast.on {
  opacity: 1;
  transform: translateX(-50%);
}
.failbar {
  z-index: 12;
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: calc(var(--safeb) + 54px);
  pointer-events: auto;
  border: 1px solid rgba(255, 120, 110, .4);
  border-radius: 18px;
  background:
    linear-gradient(
      180deg,
      rgba(32, 16, 20, .94),
      rgba(14, 8, 12, .97));
  padding: 14px;
  animation: up .3s;
}
.failbar h3 {
  font-size: 16px;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: #ffb3a8;
}
.failbar p {
  margin: 4px 0 10px;
  font-size: 13px;
  color: var(--mut);
}
.bigstars {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin: 12px 0 6px;
}
.bigstars svg {
  width: 62px;
  height: 62px;
  transform: scale(0);
  opacity: 0;
}
.bigstars svg.in {
  animation: starin .55s cubic-bezier(.2, 1.6, .3, 1) forwards;
}
@keyframes starin {
  from {
    transform: scale(0) rotate(-40deg);
    opacity: 0;
  }
  to {
    transform: scale(1) rotate(0);
    opacity: 1;
  }
}
.winh {
  text-align: center;
}
.winh h2 {
  font-size: 30px;
}
.reward {
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px solid rgba(246, 220, 154, .5);
  border-radius: 16px;
  padding: 10px 12px;
  margin-top: 10px;
  background:
    linear-gradient(
      120deg,
      rgba(80, 56, 24, .55),
      rgba(30, 20, 16, .6));
  box-shadow: 0 0 24px -6px rgba(246, 200, 100, .45);
  animation: pop2 .6s .5s both;
}
@keyframes pop2 {
  from {
    opacity: 0;
    transform: scale(.9);
  }
}
.reward img {
  width: 84px;
  height: 46px;
  border-radius: 9px;
  object-fit: cover;
  background: #120d10;
}
.reward b {
  display: block;
  font: 700 10px SG;
  letter-spacing: .24em;
  color: var(--gold2);
  text-transform: uppercase;
}
.reward span {
  font-size: 14px;
  font-weight: 600;
}
.checks {
  margin-top: 8px;
}
.checks .goal {
  padding: 6px 0;
}
.chk {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, .25);
  flex: none;
  display: grid;
  place-items: center;
}
.goal.ok .chk {
  background: var(--gold2);
  border-color: var(--gold1);
}
.goal.ok .chk:after {
  content: "";
  width: 5px;
  height: 9px;
  border: solid #2a1a05;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg) translate(-1px, -1px);
}
.lk {
  pointer-events: auto;
  z-index: 2;
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 49%;
  display: flex;
  flex-direction: column;
  background:
    linear-gradient(
      180deg,
      rgba(24, 17, 22, .94),
      rgba(9, 6, 11, .99));
  border-top: 1px solid var(--line);
  border-radius: 26px 26px 0 0;
  box-shadow: 0 -20px 50px -10px #000;
  animation: up .4s cubic-bezier(.2, .9, .3, 1);
}
.tabs {
  display: flex;
  gap: 4px;
  padding: 12px 12px 4px;
}
.tabs button {
  flex: 1;
  border: 0;
  background: transparent;
  font: 700 12px SG;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--mut);
  padding: 9px 0;
  border-bottom: 2px solid transparent;
  position: relative;
}
.tabs button.on {
  color: var(--gold1);
  border-color: var(--gold2);
}
.items {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding: 10px 14px;
  touch-action: pan-x;
  scrollbar-width: none;
}
.items::-webkit-scrollbar {
  display: none;
}
.it {
  flex: none;
  width: 108px;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 8px;
  background:
    linear-gradient(
      165deg,
      rgba(40, 28, 34, .9),
      rgba(17, 12, 18, .95));
  position: relative;
  text-align: center;
}
.it canvas {
  width: 100%;
  height: 56px;
  border-radius: 10px;
  display: block;
  background: #0e0a10;
}
.it.sel {
  border-color: var(--gold1);
  box-shadow: 0 0 0 1px var(--gold2), 0 0 22px -4px rgba(246, 200, 100, .6);
}
.it .n {
  font-size: 11px;
  font-weight: 600;
  margin-top: 6px;
  line-height: 1.1;
  min-height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.it.lk2 canvas {
  filter: brightness(.55) saturate(.7);
}
.it .lkic {
  position: absolute;
  top: 14px;
  left: 50%;
  margin-left: -11px;
  width: 22px;
  height: 22px;
  color: var(--gold1);
  filter: drop-shadow(0 2px 4px #000);
}
.it .eqd {
  position: absolute;
  top: 6px;
  right: 6px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--gold2);
  display: grid;
  place-items: center;
}
.it .eqd:after {
  content: "";
  width: 4px;
  height: 8px;
  border: solid #2a1a05;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg) translate(-1px, -1px);
}
.detail {
  padding: 0 16px calc(var(--safeb) + 14px);
  margin-top: auto;
}
.detail h3 {
  font-size: 18px;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.detail p {
  margin: 3px 0 8px;
  font-size: 12.5px;
  color: var(--mut);
  line-height: 1.4;
}
.lkhead {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
}
.vh {
  pointer-events: none;
}
.vh > * {
  pointer-events: auto;
}
@media (min-width:700px) {
  .scr.title,
  .scroll,
  .sheet,
  .lk,
  .hud {
    max-width: 520px;
    margin: 0 auto;
    left: 0;
    right: 0;
  }
  .hud {
    border-left: 0;
  }
  .next {
    max-width: 496px;
    margin: 0 auto;
  }
  .toast {
    bottom: 120px;
  }
}
.pread {
  position: absolute;
  right: 74px;
  top: calc(30% + 2px);
  min-width: 92px;
  text-align: right;
  pointer-events: none;
  text-shadow: 0 2px 10px #000, 0 0 3px #000;
}
.pread b {
  display: block;
  font: 700 54px/0.95 SG;
  letter-spacing: -.02em;
  font-variant-numeric: tabular-nums;
  color: #fff4d0;
  opacity: .55;
}
.pread span {
  display: block;
  font: 700 10px SG;
  letter-spacing: .26em;
  color: var(--gold2);
  margin-top: 2px;
}
.pread .pg {
  margin: 6px 0 0 auto;
  width: 84px;
  height: 7px;
  border-radius: 5px;
  background: rgba(12, 9, 14, .7);
  border: 1px solid var(--line);
  overflow: hidden;
}
.pread .pg i {
  display: block;
  height: 100%;
  width: 0;
  background:
    linear-gradient(
      90deg,
      #7dffd1,
      #ffe27a 55%,
      #ff6a4a);
}
.pread.live b {
  opacity: 1;
  color: #fff;
  text-shadow: 0 0 16px rgba(255, 214, 120, .65), 0 2px 10px #000;
}
.hud.lefty .pread {
  right: auto;
  left: 74px;
  text-align: left;
}
.hud.lefty .pread .pg {
  margin: 6px auto 0 0;
}
.zoom {
  position: absolute;
  left: 12px;
  top: calc(var(--safe) + 120px);
  width: 40px;
  height: 150px;
  pointer-events: auto;
  touch-action: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}
.zoom button {
  width: 34px;
  height: 26px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: rgba(12, 9, 14, .62);
  color: var(--gold1);
  font: 700 17px/1 SG;
  padding: 0;
}
.zoom .ztrk {
  position: relative;
  flex: 1;
  width: 34px;
  touch-action: none;
}
.zoom .ztrk:before {
  content: "";
  position: absolute;
  left: 15px;
  top: 4px;
  bottom: 4px;
  width: 4px;
  border-radius: 3px;
  background: rgba(246, 220, 154, .35);
  box-shadow: 0 0 0 1px rgba(0, 0, 0, .4);
}
.zoom .zk {
  position: absolute;
  left: 7px;
  width: 20px;
  height: 20px;
  margin-top: -10px;
  border-radius: 50%;
  background:
    radial-gradient(
      circle at 35% 30%,
      #fff3c4,
      #d9a84f 70%);
  border: 1px solid #fff0b8;
  box-shadow: 0 3px 8px #000;
}
.zoom .lbl {
  font: 700 8px SG;
  letter-spacing: .18em;
  color: var(--mut);
}
.hud.lefty .zoom {
  left: auto;
  right: 12px;
}
.hud.lefty .tl {
  left: auto;
  right: auto;
}
.chalkb {
  position: relative;
  overflow: hidden;
}
.chalkb u {
  position: absolute;
  left: 5px;
  right: 5px;
  bottom: 3px;
  height: 0;
  max-height: 3px;
  background: var(--ch,#6fb);
  border-radius: 2px;
  display: none;
}
.chalkb svg {
  color: var(--ch,var(--gold1));
}
.chalkb:after {
  content: "";
  position: absolute;
  left: 8px;
  right: 8px;
  bottom: 4px;
  height: 3px;
  border-radius: 2px;
  background:
    linear-gradient(
      90deg,
      var(--ch,#6fb) var(--lv,100%),
      rgba(255, 255, 255, .12) 0);
}
.vsbar {
  position: absolute;
  left: 60px;
  right: 64px;
  top: calc(var(--safe) + 12px);
  display: flex;
  gap: 6px;
  pointer-events: none;
}
.chip {
  flex: 1;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: rgba(12, 9, 14, .68);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 5px 7px 6px;
  transition: .25s;
}
.chip.on {
  border-color: #ffe08a;
  background:
    linear-gradient(
      180deg,
      rgba(90, 64, 24, .78),
      rgba(26, 17, 16, .78));
  box-shadow: 0 0 0 1px rgba(255, 224, 138, .55), 0 0 18px rgba(255, 200, 90, .35);
}
.chip .who {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 4px;
}
.chip .who b {
  font: 700 11px SG;
  letter-spacing: .14em;
  color: var(--ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.chip .who span {
  font: 700 8.5px SG;
  letter-spacing: .14em;
  color: var(--gold2);
}
.chip .mbs {
  display: flex;
  gap: 1.5px;
  margin-top: 4px;
  align-items: center;
  min-height: 11px;
}
.mb {
  display: block;
  width: 10.5px;
  height: 10.5px;
  border-radius: 50%;
  box-shadow: 0 0 0 .5px rgba(0, 0, 0, .6) inset, 0 1px 2px rgba(0, 0, 0, .6);
}
.mb.dim {
  opacity: .18;
  filter: grayscale(1);
}
.mb.glow {
  box-shadow: 0 0 0 1.5px #fff, 0 0 8px #ffe08a;
}
.opn {
  font: 600 9px SG;
  letter-spacing: .16em;
  color: var(--mut);
  margin-left: 4px;
  text-transform: uppercase;
}
.vsstat {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top: calc(var(--safe) + 62px);
  max-width: calc(100% - 140px);
  text-align: center;
  font: 600 12px/1.25 IN;
  color: var(--ink);
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(12, 9, 14, .62);
  border: 1px solid var(--line);
  backdrop-filter: blur(8px);
  pointer-events: none;
}
.vsstat.bih {
  color: #2a1a05;
  background:
    linear-gradient(
      180deg,
      #fbe9b0,
      #d9a84f);
  border-color: #fff0b8;
}
.vsstat.cpu {
  color: var(--gold1);
}
.vsstat:empty {
  display: none;
}
.placebar {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: calc(var(--safeb) + 150px);
  width: 210px;
  pointer-events: auto;
}
.banner {
  position: absolute;
  left: 0;
  right: 0;
  top: 24%;
  display: flex;
  justify-content: center;
  pointer-events: none;
  z-index: 15;
  animation: bn .35s cubic-bezier(.2, 1.4, .4, 1);
}
.banner > div {
  max-width: 84%;
  text-align: center;
  font: 700 18px/1.25 SG;
  letter-spacing: .03em;
  padding: 12px 20px;
  border-radius: 16px;
  background: rgba(14, 10, 16, .84);
  border: 1px solid var(--line);
  color: var(--ink);
  backdrop-filter: blur(10px);
  box-shadow: 0 14px 34px -10px #000;
}
.banner.foul > div {
  border-color: #ff6a5e;
  color: #ffd6d0;
  background: rgba(60, 12, 14, .88);
}
.banner.good > div,
.banner.assign > div {
  border-color: #ffe08a;
  color: var(--gold1);
}
.banner.out {
  opacity: 0;
  transition: opacity .4s;
}
@keyframes bn {
  from {
    opacity: 0;
    transform: translateY(12px) scale(.94);
  }
}
.lvls {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.lv {
  position: relative;
  text-align: left;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, .05);
  color: var(--ink);
  padding: 10px 90px 10px 14px;
}
.lv b {
  display: block;
  font: 700 15px SG;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.lv span {
  display: block;
  font-size: 12px;
  color: var(--mut);
  margin-top: 2px;
  line-height: 1.3;
}
.lv i {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  font: 700 12px SG;
  font-style: normal;
  color: var(--gold2);
}
.lv.on {
  border-color: #ffe08a;
  background:
    linear-gradient(
      120deg,
      rgba(90, 64, 24, .6),
      rgba(30, 20, 16, .6));
  box-shadow: 0 0 0 1px rgba(255, 224, 138, .5);
}
.lv.on b {
  color: var(--gold1);
}
.mstats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
  margin: 10px 0;
}
.mstats div {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 8px 4px;
  text-align: center;
  background: rgba(255, 255, 255, .04);
}
.mstats b {
  display: block;
  font: 700 18px SG;
  color: var(--gold1);
}
.mstats span {
  font-size: 9.5px;
  color: var(--mut);
  letter-spacing: .06em;
}
.ptsrow {
  display: flex;
  align-items: center;
  margin: 6px 0 2px;
}
.tabs button {
  letter-spacing: .06em;
  font-size: 11px;
}
@media (orientation:landscape) and (max-height:520px) {
  .scr.title {
    padding: calc(var(--safe) + 10px) 22px calc(var(--safeb) + 12px);
    justify-content: flex-start;
    overflow-y: auto;
    touch-action: pan-y;
  }
  .scr.title .menu {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-top: auto;
  }
  .scr.title .menu .btn {
    padding: 8px 12px;
  }
  .scr.title .foot {
    margin-top: 6px;
  }
}
