@font-face {
  font-family: "Noto Sans KR";
  src: url("/assets/noto-kr.woff2?v=a29-1") format("woff2");
  font-weight: 400 900;
  font-display: swap;
}
@font-face {
  font-family: Inter;
  src: url("/assets/inter.woff2") format("woff2");
  font-weight: 400 900;
  font-display: swap;
}

:root {
  color-scheme: dark;
  font-family: "Noto Sans KR", sans-serif;
  background: #100c15;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
*, *::before, *::after { box-sizing: border-box; }
body, p, h1, h2, figure { margin: 0; }
body { min-width: 0; }
img { display: block; vertical-align: middle; max-width: 100%; height: auto; }
[hidden] { display: none !important; }
input, button { font: inherit; }
.viewport { width: 100%; overflow-x: auto; }
.sheet { min-width: 1200px; }
.canvas { width: min(100%, var(--design-width)); margin-inline: auto; }
.frame-navigation, .banner-row, .section-title, .card-rail, .provider-carousel { display: contents; }
.replacement { width: 100%; height: 100%; object-fit: cover; }
.canvas .scroll-body { overflow: hidden auto; scrollbar-width: none; overscroll-behavior-y: contain; }
.scroll-body::-webkit-scrollbar { display: none; }
.flow-content { position: relative; width: 1317px; height: 1580px; overflow: clip; }
.flow-records { position: absolute; top: 705px; width: 1317px; height: 875px; }

.canvas .frame-navigation > p {
  color: #d1cad9;
  font-size: 14px;
}
.canvas [data-name="왼쪽 메뉴"] > p:not(.layer-57, .layer-65, .layer-72) {
  font-size: 14px;
}
.canvas :is(.layer-58, .layer-59, .layer-60, .layer-66, .layer-67, .layer-73, .layer-74) {
  color: #c3bdca;
  font-weight: 500;
}
.canvas :is(.layer-28, .layer-33, .layer-38) {
  inset-inline: 0;
  text-align: center;
  font-size: 12px;
}
.referral-icon {
  display: block;
  position: relative;
  width: 22px;
  height: 20px;
  margin: 2px auto;
  color: #dbc0ff;
}
.referral-icon > span {
  position: absolute;
  top: 2px;
  left: 0;
  width: 13px;
  height: 17px;
}
.referral-icon > span::before,
.referral-icon > span::after {
  position: absolute;
  content: "";
  border: 1px solid currentColor;
}
.referral-icon > span::before { left: 3px; width: 7px; height: 7px; border-radius: 50%; }
.referral-icon > span::after { top: 9px; left: 0; width: 13px; height: 7px; border-radius: 6px 6px 2px 2px; }
.referral-icon > span + span { left: 10px; top: 3px; color: #b680f4; }
.referral-icon > span:first-child { z-index: 1; background: #1c1921; }

.telegram-banner {
  display: block;
  overflow: hidden;
  border-radius: 6px;
  text-decoration: none;
}
.telegram-banner::before {
  content: "";
  position: absolute;
  inset: 2px;
  z-index: 1;
  border-radius: 5px;
  background: linear-gradient(90deg, #080415 0 43%, rgb(8 4 21 / .82) 49%, transparent 65%);
}
.telegram-banner-copy {
  position: absolute;
  z-index: 2;
  top: 22px;
  left: 16px;
  color: #f5f2fb;
}
.telegram-banner-copy strong {
  display: block;
  font-size: 22px;
  font-weight: 900;
  letter-spacing: -.04em;
  line-height: 1.12;
}
.telegram-banner-copy strong span { display: block; color: #b369ff; }
.telegram-banner-copy small { display: block; margin-top: 6px; font-size: 9px; color: #c8bcd4; }
.canvas :is(.layer-91, .layer-118, .layer-135, .layer-141, .layer-145, .layer-146, .layer-147, .layer-235) {
  color: #beb5c7;
  font-size: 12px;
}
.canvas :is(.layer-95, .layer-102) { color: #96909b; }
.canvas .layer-154 { font-size: 13px; }
.canvas :is(.layer-186, .layer-193, .layer-211, .layer-212, .layer-213, .layer-214, .layer-215, .layer-217) {
  color: #b8afc4;
  font-size: 12px;
}
@media (max-width: 1500px) {
  .canvas .frame-navigation > p,
  .canvas [data-name="왼쪽 메뉴"] > p:not(.layer-57, .layer-65, .layer-72) {
    font-size: 15px;
  }
  .canvas :is(.layer-28, .layer-33, .layer-38) { font-size: 13px; }
}

[data-route], [data-dialog], [data-amount], [data-slip-action], [data-odds-toggle] { cursor: pointer; }
:focus-visible { outline: 2px solid #d4a0ff; outline-offset: 3px; }
[data-stake] {
  border: 0; padding: 0; margin: 0; width: 176px; min-height: 15px;
  background: transparent; outline-offset: 1px;
}
[data-stake]::placeholder { color: inherit; opacity: 1; }
[data-stake]:not(:placeholder-shown) { color: #eeeaf3; }
[data-odds-toggle][aria-pressed="false"] { transform: translateX(0); color: #e4d8eb; }
.canvas .odds-inactive { background: #48275d; }
#preview-dialog {
  width: min(425px, calc(100vw - 32px));
  border: 1px solid #a03ff1; border-radius: 9px; color: #f4f1f6;
  background: #1c1327; padding: 23px; box-shadow: 0 17px 70px #090410af;
}
#preview-dialog::backdrop { background: #07040ccd; }
#preview-dialog h2 { font-size: 20px; margin-bottom: 12px; }
#preview-dialog p { color: #bcb0c7; font-size: 14px; }
#preview-dialog form { display: flex; justify-content: end; margin-top: 18px; }
#preview-dialog button {
  background: #9536da; color: #fff; padding: 7px 15px; border: 0;
  border-radius: 4px; cursor: pointer;
}
