/* 쇼부카지노 골드 버전 메인 - 칠흑 옻칠 위에 금박. 금색은 재질(금박 그림)로 쓰고 평평한 노랑은 쓰지 않는다. */
:root {
  color-scheme: dark;
  --lacquer: #0b0806;
  --ink: #130f0a;
  --ink-2: #1b150e;
  --ink-3: #251c12;
  --line: rgba(217, 177, 101, .18);
  --line-2: rgba(217, 177, 101, .36);
  --gold: #d8b064;
  --gold-hi: #f6e2a4;
  --gold-lo: #8d6428;
  --champagne: #ead09a;
  --ivory: #f3e9d6;
  --ivory-2: #c4b597;
  --ivory-3: #8d7f67;
  --seal: #c8402a;
  --banker: #e0503b;
  --player: #4a86ec;
  --tie: #3fae72;
  --serif: "Noto Serif KR", "Nanum Myeongjo", serif;
  --sans: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Malgun Gothic", system-ui, sans-serif;
  --wrap: 1320px;
  --gut: max(clamp(16px, 4vw, 40px), env(safe-area-inset-left, 0px), env(safe-area-inset-right, 0px));
  --hd-h: 76px;
  --leaf: url("/assets/img/goldleaf.webp");
  --ease: cubic-bezier(.16, 1, .3, 1);
  --leaf-soft: url("/assets/img/goldleaf-soft.webp");
  --gold-btn: linear-gradient(180deg, rgba(250, 233, 180, .9) 0%, rgba(229, 196, 124, .86) 42%, rgba(198, 154, 78, .88) 70%, rgba(160, 114, 44, .92) 100%), var(--leaf-soft) 50% 50% / 720px auto;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--hd-h) + 12px); }
body {
  margin: 0;
  background: linear-gradient(rgba(11, 8, 6, .8), rgba(11, 8, 6, .8)), var(--lacquer) url("../img/lacquer.webp") 0 0 / 1024px repeat;
  color: var(--ivory);
  font: 400 16px/1.6 var(--sans);
  letter-spacing: -.01em;
  word-break: keep-all;
  overflow-wrap: break-word;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, video { display: block; max-width: 100%; }
button { font: inherit; color: inherit; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--gold-hi); outline-offset: 3px; border-radius: 4px; }
[hidden] { display: none !important; }

.wrap { width: min(100% - 2 * var(--gut), var(--wrap)); margin-inline: auto; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 100; padding: 10px 16px; border-radius: 6px; background: var(--gold); color: #1b1309; font-weight: 700; text-decoration: none; }
.skip:focus { top: 16px; }

/* 금박 글씨: 실제 금박 그림을 글자 모양으로 오려 쓴다 */
.gilt {
  background-image:
    linear-gradient(100deg, rgba(255, 251, 236, 0) 42%, rgba(255, 251, 236, .85) 50%, rgba(255, 251, 236, 0) 58%),
    linear-gradient(180deg, rgba(255, 244, 205, .45) 0%, rgba(255, 236, 170, 0) 42%, rgba(96, 60, 14, .38) 100%),
    var(--leaf);
  background-size: 260% 100%, 100% 100%, 520px auto;
  background-position: 160% 0, 0 0, 30% 40%;
  background-repeat: no-repeat, no-repeat, repeat;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: var(--gold);
}

/* 단추 */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 46px; padding: 0 22px; border-radius: 4px; border: 1px solid transparent;
  font: 600 15px/1 var(--sans); letter-spacing: -.01em; white-space: nowrap; text-decoration: none; cursor: pointer;
  transition: filter .2s, background-color .2s, border-color .2s, color .2s;
}
.btn-gold {
  color: #1d1408; background: var(--gold-btn); border-color: rgba(122, 84, 28, .9);
  box-shadow: inset 0 1px 0 rgba(255, 250, 230, .75), inset 0 -1px 0 rgba(80, 50, 10, .45), 0 8px 22px -12px rgba(217, 177, 101, .7);
  text-shadow: 0 1px 0 rgba(255, 240, 200, .45);
}
.btn-gold:hover { filter: brightness(1.08) saturate(1.05); }
.btn-line { color: var(--ivory); border-color: rgba(217, 177, 101, .55); background: rgba(11, 8, 6, .42); }
.btn-line:hover { border-color: var(--gold-hi); background: rgba(217, 177, 101, .1); color: var(--gold-hi); }
.btn-lg { height: 58px; padding: 0 32px; font-size: 17px; }
.btn-sm { height: 40px; padding: 0 16px; font-size: 14px; }
.btn-block { width: 100%; }

/* 머리띠 */
.hd { position: fixed; inset: 0 0 auto; z-index: 50; height: var(--hd-h); border-bottom: 1px solid transparent; transition: background-color .35s, border-color .35s; }
.hd::before { content: ""; position: absolute; inset: 0 0 -28px; background: linear-gradient(180deg, rgba(8, 6, 4, .78), rgba(8, 6, 4, 0)); pointer-events: none; transition: opacity .35s; }
.hd.is-solid { background: rgba(11, 8, 6, .88); border-bottom-color: var(--line); -webkit-backdrop-filter: blur(14px) saturate(1.2); backdrop-filter: blur(14px) saturate(1.2); }
.hd.is-solid::before { opacity: 0; }
.hd-in { position: relative; height: 100%; display: flex; align-items: center; gap: 28px; }
.brand { flex: none; display: block; }
.brand img { height: 44px; width: auto; }
.gnb { display: flex; gap: 2px; margin-left: 8px; }
.gnb a { position: relative; padding: 10px 13px; font: 600 15px/1 var(--sans); color: var(--ivory); text-decoration: none; opacity: .86; transition: opacity .2s, color .2s; }
.gnb a::after { content: ""; position: absolute; left: 13px; right: 13px; bottom: 2px; height: 1px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.gnb a:hover { opacity: 1; color: var(--gold-hi); }
.gnb a:hover::after { transform: scaleX(1); }
.hd-act { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.menu-btn { display: none; width: 42px; height: 42px; align-items: center; justify-content: center; border: 1px solid var(--line-2); border-radius: 4px; background: rgba(11, 8, 6, .42); cursor: pointer; }
.menu-btn svg, .drawer-x svg, .dlg-x svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; }

/* 전체 메뉴(휴대폰) */
.drawer { position: fixed; inset: 0; z-index: 70; overflow: hidden; visibility: hidden; transition: visibility 0s .4s; } /* overflow: 닫힌 판이 화면 오른쪽 밖에 대기하는데, 아이폰 사파리는 고정 상자 밖으로 나간 내용 때문에 화면을 옆으로 밀 수 있게 된다(가로 스크롤 버그, 2026-10-12) */
.drawer.open { visibility: visible; transition: none; }
.drawer-bg { position: absolute; inset: 0; background: rgba(0, 0, 0, .62); opacity: 0; transition: opacity .3s; }
.drawer.open .drawer-bg { opacity: 1; }
.drawer-panel { position: absolute; top: 0; right: 0; bottom: 0; width: min(86vw, 360px); display: flex; flex-direction: column; gap: 6px; padding: 18px 20px calc(24px + env(safe-area-inset-bottom)); overflow-y: auto; background: linear-gradient(180deg, #1a140d, #0f0b07); border-left: 1px solid var(--line); transform: translateX(100%); transition: transform .4s var(--ease); }
.drawer.open .drawer-panel { transform: none; }
.drawer-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.drawer-top img { height: 34px; width: auto; }
.drawer-x { width: 42px; height: 42px; display: inline-flex; align-items: center; justify-content: center; border: 0; background: transparent; color: var(--ivory-2); cursor: pointer; }
.drawer-nav { display: flex; flex-direction: column; }
.drawer-nav a { padding: 14px 4px; border-bottom: 1px solid rgba(217, 177, 101, .1); font: 600 17px/1.3 var(--sans); text-decoration: none; }
.drawer-act { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 22px; }
.drawer-act .btn-lg { height: 52px; padding: 0 12px; font-size: 16px; }

/* 첫 화면 */
.hero { position: relative; height: clamp(660px, 100svh, 960px); overflow: hidden; isolation: isolate; background: #060403; }
.hero-media { position: absolute; inset: 0; z-index: -1; }
.hero-media img, .hero-media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 62% 50%; }
.hero-video::-webkit-media-controls-start-playback-button { display: none !important; -webkit-appearance: none; }
.hero-shade {
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(8, 6, 4, .9) 0%, rgba(8, 6, 4, .72) 24%, rgba(8, 6, 4, .22) 52%, rgba(8, 6, 4, 0) 68%),
    linear-gradient(0deg, rgba(8, 6, 4, .97) 0%, rgba(8, 6, 4, .55) 15%, rgba(8, 6, 4, 0) 34%);
}
.hero-copy { position: relative; height: 100%; display: flex; flex-direction: column; justify-content: center; padding-top: var(--hd-h); padding-bottom: 112px; }
.hero-title {
  margin: 0; font: 900 clamp(54px, 6.6vw, 112px)/1.06 var(--serif); letter-spacing: -.04em;
  filter: drop-shadow(0 2px 0 rgba(40, 24, 6, .55)) drop-shadow(0 14px 34px rgba(0, 0, 0, .6));
}
.hero-title .ln { display: block; padding-bottom: .04em; }
.hero-sub { margin: 30px 0 0; max-width: 31em; font-size: clamp(16px, 1.25vw, 19px); line-height: 1.75; color: var(--ivory-2); text-shadow: 0 1px 2px rgba(0, 0, 0, .55), 0 0 18px rgba(0, 0, 0, .5); }
.hero-cta { margin-top: 38px; display: flex; gap: 12px; flex-wrap: wrap; }

/* 첫 화면 등장: 한 번만, 줄마다 올라오고 금빛이 한 번 훑고 지나간다 */
.js .hero-title .ln, .js .hero-sub, .js .hero-cta { opacity: 0; transform: translateY(28px); }
.is-ready .hero-title .ln, .is-ready .hero-sub, .is-ready .hero-cta { animation: rise 1.1s var(--ease) forwards; }
.is-ready .hero-sub { animation-delay: .42s; }
.is-ready .hero-cta { animation-delay: .56s; }
.is-ready .hero-title .ln { animation: rise 1.1s var(--ease) forwards, sheen 2.4s .7s var(--ease) both; }
.is-ready .hero-title .ln:nth-child(2) { animation-delay: .14s, .9s; }
@keyframes rise { to { opacity: 1; transform: none; } }
@keyframes sheen { from { background-position: 160% 0, 0 0, 30% 40%; } to { background-position: -60% 0, 0 0, 30% 40%; } }

.hero-bar { position: absolute; left: 0; right: 0; bottom: 0; border-top: 1px solid var(--line); background: linear-gradient(180deg, rgba(11, 8, 6, .3), rgba(11, 8, 6, .82)); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.hero-bar-in { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 36px; min-height: 94px; }
.jp { display: flex; align-items: center; gap: 18px; }
.jp-label { font: 600 14px/1.35 var(--sans); color: var(--ivory-2); white-space: nowrap; }
.jp-amt { display: inline-flex; align-items: baseline; gap: .18em; font: 900 clamp(30px, 3vw, 46px)/1 var(--serif); color: var(--gold); letter-spacing: -.01em; }
.jp-won { font-size: .62em; color: var(--champagne); }
.odo { display: inline-flex; align-items: flex-start; height: 1.08em; overflow: hidden; }
.odo .d { display: inline-block; height: 1.08em; overflow: hidden; }
.odo .s { display: block; transition: transform .8s var(--ease); }
.odo .s > span { display: block; height: 1.08em; line-height: 1.08em; text-align: center; }
.odo .c { display: inline-block; line-height: 1.08em; color: var(--champagne); opacity: .9; }
.odo .gilt { background-size: 260% 100%, 100% 100%, 260px auto; }

.wins { display: flex; align-items: center; gap: 18px; min-width: 0; height: 46px; padding-left: 32px; border-left: 1px solid var(--line); }
.wins-label { flex: none; display: inline-flex; align-items: center; gap: 9px; font: 600 14px/1 var(--sans); color: var(--ivory); }
.dot { flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--seal); box-shadow: 0 0 0 0 rgba(200, 64, 42, .7); animation: pulse 1.8s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 8px rgba(200, 64, 42, 0); } 100% { box-shadow: 0 0 0 0 rgba(200, 64, 42, 0); } }
.wins-track { position: relative; flex: 1; min-width: 0; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent); mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent); }
.wins-list { display: flex; gap: 44px; width: max-content; margin: 0; padding: 0 44px 0 0; list-style: none; animation: marquee 70s linear infinite; }
@media (hover: hover) and (pointer: fine) { .wins-track:hover .wins-list { animation-play-state: paused; } }
.wins-list li { white-space: nowrap; font-size: 14.5px; color: var(--ivory-2); }
.wins-list span { margin: 0 6px 0 4px; }
.wins-list b { color: var(--ivory); font-weight: 600; }
.wins-list em { font-style: normal; font-weight: 700; color: var(--champagne); font-variant-numeric: tabular-nums; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* 구획 공통 */
.sec { padding-top: clamp(76px, 8vw, 120px); }
.sec-end { padding-bottom: clamp(76px, 8vw, 120px); }
.sec-hd { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 30px; }
.sec-t { margin: 0; font: 700 clamp(27px, 2.5vw, 38px)/1.25 var(--serif); letter-spacing: -.035em; color: var(--champagne); }
.sec-d { margin: 10px 0 0; max-width: 46em; font-size: 15.5px; color: var(--ivory-2); }
.more { flex: none; padding: 8px 0; border: 0; border-bottom: 1px solid rgba(217, 177, 101, .45); background: none; font: 600 14px/1.2 var(--sans); color: var(--gold); cursor: pointer; }
.more:hover { color: var(--gold-hi); border-bottom-color: var(--gold-hi); }

/* 게임 고르기 */
.cats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: clamp(300px, 26vw, 390px); gap: 14px; }
.cat { position: relative; overflow: hidden; isolation: isolate; border-radius: 12px; background: var(--ink); text-decoration: none; color: inherit; box-shadow: inset 0 0 0 1px var(--line); }
.cat.wide { grid-column: span 2; }
.cat.full { grid-column: 1 / -1; }
.cat img, .cat video { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: var(--pos, 50% 30%); transition: transform 1.4s var(--ease); }
.cat video { opacity: 0; transition: opacity .5s ease, transform 1.4s var(--ease); }
.cat.playing video { opacity: 1; }
.cat::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(8, 6, 4, .95) 0%, rgba(8, 6, 4, .62) 30%, rgba(8, 6, 4, 0) 60%); }
.cat::before { content: ""; position: absolute; inset: 0; z-index: 2; border-radius: inherit; pointer-events: none; box-shadow: inset 0 0 0 1px rgba(246, 226, 164, 0); transition: box-shadow .4s; }
.cat:hover::before, .cat:focus-visible::before { box-shadow: inset 0 0 0 1px rgba(246, 226, 164, .62); }
.cat:hover img, .cat:hover video { transform: scale(1.04); }
.cat-tx { position: absolute; left: 26px; right: 26px; bottom: 24px; display: flex; flex-direction: column; align-items: flex-start; }
.cat-t { font: 700 clamp(25px, 2.2vw, 32px)/1.2 var(--serif); letter-spacing: -.035em; color: var(--ivory); text-shadow: 0 2px 14px rgba(0, 0, 0, .6); }
.cat-d { max-width: 100%; margin-top: 8px; font-size: 15px; color: var(--ivory-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cat-go { display: inline-flex; align-items: center; height: 40px; margin-top: 16px; padding: 0 18px; border-radius: 4px; border: 1px solid rgba(122, 84, 28, .9); background: var(--gold-btn); color: #1d1408; font: 700 14px/1 var(--sans); box-shadow: inset 0 1px 0 rgba(255, 250, 230, .7); }
.cat-live { position: absolute; top: 16px; right: 16px; display: inline-flex; align-items: center; gap: 7px; height: 30px; padding: 0 12px; border-radius: 999px; background: rgba(8, 6, 4, .62); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); box-shadow: inset 0 0 0 1px var(--line); font: 500 13px/1 var(--sans); color: var(--ivory-2); }
.cat-live b { color: var(--ivory); font-weight: 700; font-variant-numeric: tabular-nums; }

/* 라이브 바카라 */
.tables { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.tbl { display: flex; flex-direction: column; overflow: hidden; border-radius: 12px; background: linear-gradient(180deg, var(--ink-2), var(--ink)); box-shadow: inset 0 0 0 1px var(--line); }
.tbl-media { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: #000; }
.tbl-media img, .tbl-media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.tbl-media video { opacity: 0; transition: opacity .6s; }
.tbl-media.playing video { opacity: 1; }
.tag-live { position: absolute; left: 12px; top: 12px; display: inline-flex; align-items: center; gap: 6px; height: 24px; padding: 0 9px; border-radius: 4px; background: var(--seal); font: 700 12px/1 var(--sans); color: #fff; }
.tag-live i { width: 6px; height: 6px; border-radius: 50%; background: #fff; animation: blink 1.4s infinite; }
@keyframes blink { 50% { opacity: .25; } }
.tbl-users { position: absolute; right: 12px; top: 12px; height: 24px; padding: 0 9px; border-radius: 4px; background: rgba(8, 6, 4, .66); font: 500 12.5px/24px var(--sans); color: var(--ivory-2); }
.tbl-users b { color: var(--ivory); font-weight: 700; }
.tbl-body { flex: 1; display: flex; flex-direction: column; gap: 14px; padding: 16px 16px 18px; }
.tbl-hd { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.tbl-hd h3 { margin: 0; font: 700 19px/1.3 var(--serif); letter-spacing: -.03em; color: var(--ivory); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lim { flex: none; font-size: 13px; color: var(--ivory-2); }
.road {
  display: grid; grid-template-columns: repeat(20, minmax(0, 1fr)); grid-template-rows: repeat(6, minmax(0, 1fr)); aspect-ratio: 20 / 6;
  border-radius: 6px; background-color: #0d0a07;
  background-image: linear-gradient(rgba(217, 177, 101, .1) 1px, transparent 1px), linear-gradient(90deg, rgba(217, 177, 101, .1) 1px, transparent 1px);
  background-size: 5% 16.6667%; box-shadow: inset 0 0 0 1px rgba(217, 177, 101, .2);
}
.road i { position: relative; margin: 16%; border-radius: 50%; border: 2px solid currentColor; }
.road i.b { color: var(--banker); }
.road i.p { color: var(--player); }
.road i.t::after { content: ""; position: absolute; left: 50%; top: -18%; bottom: -18%; width: 2px; margin-left: -1px; background: var(--tie); transform: rotate(45deg); }
.road i[data-n]::before { content: attr(data-n); position: absolute; inset: 0; display: grid; place-items: center; font: 700 8px/1 var(--sans); color: var(--tie); }
.road i.new { animation: pop 1.1s var(--ease); }
@keyframes pop { 0% { transform: scale(0); background: currentColor; } 40% { transform: scale(1.3); background: currentColor; } 100% { transform: none; background: transparent; } }
.tbl-ft { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: auto; }
.stat { display: flex; gap: 12px; margin: 0; font-size: 13px; }
.stat div { display: flex; align-items: baseline; gap: 5px; }
.stat dt { color: var(--ivory-3); }
.stat dd { margin: 0; font-weight: 700; font-variant-numeric: tabular-nums; }
.stat .b { color: var(--banker); }
.stat .p { color: var(--player); }
.stat .t { color: var(--tie); }

/* 슬롯 */
.tabs { flex: none; display: inline-flex; padding: 4px; border-radius: 999px; background: var(--ink-2); box-shadow: inset 0 0 0 1px var(--line); }
.tabs button { height: 38px; padding: 0 20px; border: 0; border-radius: 999px; background: transparent; color: var(--ivory-2); font: 600 14.5px/1 var(--sans); cursor: pointer; transition: color .2s; }
.tabs button:hover { color: var(--ivory); }
.tabs button[aria-selected="true"] { background: var(--gold-btn); color: #1d1408; box-shadow: inset 0 1px 0 rgba(255, 250, 230, .7); }
.slots { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 22px 14px; margin: 0; padding: 0; list-style: none; }
.slot a { display: block; text-decoration: none; color: inherit; border-radius: 10px; }
.slot-img { position: relative; display: block; aspect-ratio: 1; overflow: hidden; border-radius: 10px; background: var(--ink); box-shadow: inset 0 0 0 1px var(--line); }
.slot-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.slot-img::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1px rgba(246, 226, 164, 0); transition: box-shadow .3s; }
.slot a:hover .slot-img img { transform: scale(1.06); }
.slot a:hover .slot-img::after, .slot a:focus-visible .slot-img::after { box-shadow: inset 0 0 0 1px rgba(246, 226, 164, .7); }
.slot-badge { position: absolute; left: 8px; top: 8px; z-index: 1; height: 24px; padding: 0 8px; border-radius: 4px; background: rgba(8, 6, 4, .74); box-shadow: inset 0 0 0 1px var(--line-2); font: 700 12px/24px var(--sans); color: var(--gold-hi); }
.slot-badge.new { background: var(--seal); box-shadow: none; color: #fff; }
.slot-play { position: absolute; left: 10px; right: 10px; bottom: 10px; z-index: 1; height: 36px; display: flex; align-items: center; justify-content: center; border-radius: 4px; background: var(--gold-btn); color: #1d1408; font: 700 13.5px/1 var(--sans); opacity: 0; transform: translateY(8px); transition: opacity .3s, transform .4s var(--ease); }
.slot a:hover .slot-play, .slot a:focus-visible .slot-play { opacity: 1; transform: none; }
.slot-name { display: block; margin: 11px 2px 0; font: 600 15px/1.35 var(--sans); color: var(--ivory); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.slot-meta { display: block; margin: 3px 2px 0; font-size: 13px; color: var(--ivory-3); }

/* 슬롯 자리 카드와 불러오기 실패 안내 */
.slot.is-skel .slot-img { background: linear-gradient(110deg, var(--ink-2) 30%, var(--ink-3) 50%, var(--ink-2) 70%) 0 0 / 220% 100%; animation: skel 1.6s linear infinite; }
.slot.is-skel .slot-name, .slot.is-skel .slot-meta { height: 14px; border-radius: 4px; background: var(--ink-2); }
.slot.is-skel .slot-name { width: 72%; }
.slot.is-skel .slot-meta { width: 40%; height: 12px; }
@keyframes skel { to { background-position: -120% 0; } }
.slots-err { margin: 0; padding: 40px 16px; border-radius: 12px; background: var(--ink-2); box-shadow: inset 0 0 0 1px var(--line); text-align: center; color: var(--ivory-2); }
.slots-err .more { margin-left: 8px; }
.zx-ph { position: absolute; inset: 0; display: grid; place-items: center; padding: 8px; overflow: hidden; background: linear-gradient(180deg, #2a2015, #0d0a07); text-align: center; }
.zx-ph b { font: 700 14px/1.35 var(--serif); color: var(--ivory); text-shadow: 0 2px 8px rgba(0, 0, 0, .6); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
img.zx-broken { visibility: hidden; }

/* 혜택: 대표 이벤트 5종. 그림(16:9)에 글씨가 들어 있으므로 그 위에 글자를 겹치지 않고 아래에 이름·한 줄 설명을 둔다 */
.pcar { position: relative; }
.promos { display: flex; gap: 16px; margin: 0; padding: 4px 2px 8px; list-style: none; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; overscroll-behavior-x: contain; }
.promos::-webkit-scrollbar { display: none; }
.promo { flex: 0 0 calc((100% - 48px) / 4); min-width: 0; scroll-snap-align: start; }
.promo a { display: flex; flex-direction: column; height: 100%; overflow: hidden; border-radius: 12px; background: linear-gradient(180deg, var(--ink-2), var(--ink)); box-shadow: inset 0 0 0 1px var(--line); color: inherit; text-decoration: none; transition: box-shadow .3s; }
.promo a:hover, .promo a:focus-visible { box-shadow: inset 0 0 0 1px rgba(246, 226, 164, .62); }
.promo-img { display: block; aspect-ratio: 941 / 1672; overflow: hidden; background: var(--ink); }
.promo-img img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); -webkit-user-drag: none; }
.promo a:hover .promo-img img { transform: scale(1.03); }
.promo-cap { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 64px; padding: 12px 16px; }
.promo-cap > span:first-child { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.promo-t { font: 700 17px/1.3 var(--serif); letter-spacing: -.03em; color: var(--ivory); }
.promo-d { font-size: 13.5px; line-height: 1.4; color: var(--ivory-2); }
.promo-go { flex: none; display: inline-flex; align-items: center; height: 36px; padding: 0 14px; border-radius: 4px; border: 1px solid rgba(217, 177, 101, .5); font: 600 13.5px/1 var(--sans); color: var(--gold); transition: color .2s, border-color .2s; }
.promo a:hover .promo-go, .promo a:focus-visible .promo-go { color: var(--gold-hi); border-color: var(--gold-hi); }
.pcar-ar { position: absolute; top: 38%; z-index: 2; display: grid; place-items: center; width: 48px; height: 48px; margin-top: -24px; padding: 0; border: 0; border-radius: 50%; color: var(--gold-hi); background: rgba(14, 10, 7, .78); box-shadow: inset 0 0 0 1px var(--line-2), 0 8px 24px rgba(0, 0, 0, .55); cursor: pointer; transition: background .2s, opacity .2s; }
.pcar-ar:hover { background: rgba(14, 10, 7, .96); }
.pcar-ar:disabled { opacity: 0; pointer-events: none; }
.pcar-ar svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.pcar-prev { left: -14px; }
.pcar-next { right: -14px; }

/* VIP */
.vip { position: relative; margin-top: clamp(76px, 8vw, 120px); padding: clamp(84px, 9vw, 136px) 0; overflow: hidden; isolation: isolate; border-block: 1px solid var(--line); }
.vip-media { position: absolute; inset: 0; z-index: -1; }
.vip-media img, .vip-media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 70% 50%; }
.vip-media video { opacity: 0; transition: opacity 1s; }
.vip-media video.on { opacity: 1; }
.vip-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(8, 6, 4, .95) 0%, rgba(8, 6, 4, .82) 38%, rgba(8, 6, 4, .4) 100%); }
.vip-in { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 56px; align-items: center; }
.vip-t { margin: 0; font: 900 clamp(36px, 3.8vw, 58px)/1.15 var(--serif); letter-spacing: -.04em; filter: drop-shadow(0 2px 0 rgba(40, 24, 6, .5)); }
.vip-copy p { margin: 20px 0 32px; max-width: 30em; color: var(--ivory-2); }
.vip-copy p.vip-fine { margin: -14px 0 30px; font-size: 13.5px; line-height: 1.7; color: var(--ivory-3); } /* 페이백 정산·한도·지급 조건 — 솔루션 실제 값(member_payback_*) */
.tiers { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; margin: 0; padding: 0; list-style: none; }
.tier { display: flex; flex-direction: column; align-items: center; padding: 20px 8px 18px; border-radius: 12px; text-align: center; background: rgba(19, 15, 10, .66); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); box-shadow: inset 0 0 0 1px var(--line); }
.tier img { width: min(100%, 108px); height: auto; aspect-ratio: 1; filter: drop-shadow(0 12px 18px rgba(0, 0, 0, .55)); }
.tier b { margin-top: 12px; font: 700 17px/1.3 var(--serif); color: var(--ivory); }
.tier span { margin-top: 4px; font-size: 13.5px; color: var(--ivory-2); }
.tier.top { box-shadow: inset 0 0 0 1px var(--line-2), 0 0 44px -12px rgba(217, 177, 101, .55); }
.tier.top b { color: var(--gold-hi); }

/* 입출금 · 공지 · 고객센터 */
.info { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr) minmax(0, .9fr); gap: 14px; }
.panel { display: flex; flex-direction: column; min-width: 0; padding: 22px 22px 20px; border-radius: 12px; background: linear-gradient(180deg, var(--ink-2), var(--ink)); box-shadow: inset 0 0 0 1px var(--line); }
.panel-hd { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 36px; margin-bottom: 10px; }
.panel h2 { margin: 0; font: 700 21px/1.3 var(--serif); letter-spacing: -.03em; color: var(--champagne); }
.seg { display: inline-flex; padding: 3px; border-radius: 999px; background: var(--ink-3); }
.seg button { height: 34px; padding: 0 14px; border: 0; border-radius: 999px; background: transparent; color: var(--ivory-2); font: 600 13.5px/1 var(--sans); cursor: pointer; }
.seg button[aria-selected="true"] { background: var(--gold-btn); color: #1d1408; }
/* 목록은 칸의 남는 높이를 채운다(contain: size 로 목록 자체는 칸 높이를 키우지 않음). 줄 수는 home.js 가 높이에 맞춘다 */
.feed, .notice { display: flex; flex-direction: column; flex: 1 1 0; min-height: 252px; margin: 0; padding: 0; overflow: hidden; list-style: none; contain: size; }
.feed li, .notice li { flex: 1 1 0; min-height: 46px; }
.feed li { display: grid; grid-template-columns: auto minmax(0, 1fr) auto auto; align-items: center; gap: 12px; border-bottom: 1px solid rgba(217, 177, 101, .08); font-size: 14px; }
.feed li.new { animation: slide .7s var(--ease); }
@keyframes slide { from { opacity: 0; transform: translateY(-14px); background: rgba(217, 177, 101, .1); } }
.feed .st { padding: 4px 8px; border-radius: 4px; font: 700 12px/1 var(--sans); }
.feed .st.in { color: #a6dcb9; background: rgba(63, 174, 114, .14); }
.feed .st.out { color: var(--gold-hi); background: rgba(217, 177, 101, .14); }
.feed .nm { color: var(--ivory); }
.feed .am { font-weight: 700; color: var(--ivory); text-align: right; font-variant-numeric: tabular-nums; }
.feed .tm { font-size: 13px; color: var(--ivory-3); font-variant-numeric: tabular-nums; }
.notice li { min-height: 46px; border-bottom: 1px solid rgba(217, 177, 101, .08); font-size: 14.5px; }
.notice .k { font: 700 12.5px/1 var(--sans); color: var(--gold); }
.notice .tt { color: var(--ivory); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.notice time { font-size: 13px; color: var(--ivory-3); font-variant-numeric: tabular-nums; }
.cs-big { margin: 6px 0 0; font: 900 34px/1.2 var(--serif); letter-spacing: -.04em; }
.cs-d { margin: 10px 0 18px; font-size: 14.5px; color: var(--ivory-2); }
.cs-btns { display: grid; gap: 8px; }
.cs-info { display: grid; gap: 6px; margin: 18px 0 0; padding-top: 14px; border-top: 1px solid rgba(217, 177, 101, .12); font-size: 13.5px; }
.cs-info div { display: flex; justify-content: space-between; gap: 10px; }
.cs-info dt { color: var(--ivory-3); }
.cs-info dd { margin: 0; color: var(--ivory); }

/* 바닥 */
.ft { border-top: 1px solid var(--line); background: #080604; padding: 52px 0 calc(44px + env(safe-area-inset-bottom)); }
.ft-in { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 56px; align-items: start; }
.ft-brand { display: flex; align-items: center; gap: 18px; }
.ft-logo { height: 58px; width: auto; }
.ft-seal { width: 46px; height: 46px; opacity: .9; }
.ft-links { display: flex; flex-wrap: wrap; gap: 6px 24px; }
.ft-links a { font-size: 14px; color: var(--ivory-2); text-decoration: none; }
.ft-links a:hover { color: var(--gold-hi); }
.ft-note { display: flex; align-items: flex-start; gap: 14px; margin-top: 20px; }
.ft-note p { margin: 0; max-width: 46em; font-size: 13.5px; line-height: 1.7; color: var(--ivory-3); }
.age { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; border-radius: 50%; border: 2px solid var(--seal); font: 800 14px/1 var(--sans); color: #e0705c; }
.ft-copy { margin: 18px 0 0; font-size: 13px; color: var(--ivory-3); }

/* 휴대폰 아래 메뉴 */
.tabbar { display: none; }
.tabbar svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

/* 로그인 · 가입 창 */
.dlg { width: min(440px, calc(100vw - 32px)); max-height: calc(100dvh - 32px); padding: 0; border: 0; background: transparent; color: inherit; overflow: visible; }
.dlg::backdrop { background: rgba(4, 3, 2, .74); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.dlg[open] { animation: dlgIn .45s var(--ease); }
@keyframes dlgIn { from { opacity: 0; transform: translateY(16px) scale(.98); } }
.dlg-in { position: relative; max-height: calc(100dvh - 32px); overflow-y: auto; padding: 34px 28px 26px; border-radius: 14px; background: linear-gradient(180deg, #1d160e, #120e09); box-shadow: inset 0 0 0 1px var(--line-2), 0 30px 80px rgba(0, 0, 0, .65); }
.dlg-x { position: absolute; top: 12px; right: 12px; width: 40px; height: 40px; display: inline-flex; align-items: center; justify-content: center; border: 0; border-radius: 50%; background: transparent; color: var(--ivory-2); cursor: pointer; }
.dlg-x:hover { color: var(--ivory); background: rgba(217, 177, 101, .1); }
.dlg-logo { height: 46px; width: auto; margin: 0 auto 16px; }
.dlg h2 { margin: 0 0 18px; text-align: center; font: 700 23px/1.3 var(--serif); color: var(--ivory); }
.dlg-note { margin: -6px 0 16px; padding: 10px 12px; border-radius: 6px; background: rgba(217, 177, 101, .1); text-align: center; font-size: 14px; color: var(--gold-hi); }
.fld { display: block; margin-bottom: 12px; }
.fld span { display: block; margin-bottom: 6px; font-size: 13.5px; color: var(--ivory-2); }
.fld input { width: 100%; height: 50px; padding: 0 14px; border-radius: 6px; border: 1px solid rgba(217, 177, 101, .28); background: #0c0907; color: var(--ivory); font: 500 16px/1 var(--sans); }
.fld input:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(217, 177, 101, .2); }
.dlg-msg { min-height: 22px; margin: 4px 0 12px; text-align: center; font-size: 14px; color: var(--gold-hi); }
.dlg-switch { margin: 16px 0 0; text-align: center; font-size: 14px; color: var(--ivory-2); }
.dlg-switch button { border: 0; background: none; color: var(--gold); font-weight: 700; cursor: pointer; padding: 4px; }

.toast { position: fixed; left: 50%; width: max-content; text-align: center; bottom: calc(28px + env(safe-area-inset-bottom)); z-index: 90; max-width: calc(100vw - 32px); padding: 13px 20px; border-radius: 999px; background: rgba(27, 21, 14, .96); box-shadow: inset 0 0 0 1px var(--line-2), 0 16px 40px rgba(0, 0, 0, .5); border-radius: 14px; font-size: 14.5px; color: var(--ivory); opacity: 0; transform: translate(-50%, 12px); pointer-events: none; transition: opacity .3s, transform .4s var(--ease); }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* 터치 화면(태블릿·휴대폰)에서 누르는 곳은 높이 40px 이상 */
@media (max-width: 1024px) {
  .seg button { height: 40px; padding: 0 18px; }
  .tabs button { height: 40px; }
  .more { display: inline-flex; align-items: center; min-height: 40px; padding: 0; border-bottom: 0; position: relative; }
  .more::after { content: ""; position: absolute; left: 0; right: 0; bottom: 8px; height: 1px; background: rgba(217, 177, 101, .45); }
  .dlg-switch button { min-height: 40px; padding: 4px 8px; }
}

/* 반응형 */
@media (max-width: 1240px) {
  .tables { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .slots { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .info { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .info .cs { grid-column: span 2; }
  .vip-in { grid-template-columns: minmax(0, 1fr); gap: 40px; }
}
@media (max-width: 1100px) {
  .gnb { display: none; }
  .menu-btn { display: inline-flex; }
}
@media (max-width: 980px) {
  .cats { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: clamp(280px, 44vw, 380px); }
  .promo { flex-basis: calc((100% - 32px) / 3); }
  .hero-bar-in { grid-template-columns: minmax(0, 1fr); gap: 0; padding: 14px 0; }
  .wins { padding-left: 0; border-left: 0; height: 40px; }
}
@media (max-width: 760px) {
  :root { --hd-h: 62px; }
  .brand img { height: 34px; }
  .hd-act { gap: 6px; }
  .hd-act .btn-sm { height: 36px; padding: 0 12px; font-size: 13.5px; }
  .menu-btn { width: 38px; height: 38px; }

  .hero { display: flex; flex-direction: column; height: auto; min-height: calc(min(100svh, 880px) - 62px - env(safe-area-inset-bottom)); }
  .hero-bar { position: relative; }
  .hero-media img, .hero-media video { object-position: 64% 50%; }
  .hero-shade { background: linear-gradient(180deg, rgba(8, 6, 4, .72) 0%, rgba(8, 6, 4, .25) 12%, rgba(8, 6, 4, 0) 22%), linear-gradient(0deg, rgba(8, 6, 4, .97) 0%, rgba(8, 6, 4, .9) 28%, rgba(8, 6, 4, .74) 46%, rgba(8, 6, 4, .5) 58%, rgba(8, 6, 4, .2) 68%, rgba(8, 6, 4, 0) 76%); }
  .hero-copy { flex: 1 0 auto; height: auto; justify-content: flex-end; padding-top: calc(var(--hd-h) + 30px); padding-bottom: 22px; }
  .hero-title { font-size: clamp(40px, 11.6vw, 56px); }
  .hero-sub { margin-top: 18px; font-size: 15px; line-height: 1.7; }
  .hero-cta { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 24px; }
  .hero-cta .btn-lg { height: 52px; padding: 0 10px; font-size: 15.5px; }
  .jp { justify-content: space-between; gap: 12px; }
  .jp-label { font-size: 13px; }
  .jp-amt { font-size: clamp(26px, 7.6vw, 34px); }
  .wins-list li { font-size: 13.5px; }
  .wins-label { font-size: 13px; }

  .sec-hd { flex-wrap: wrap; align-items: flex-start; margin-bottom: 22px; }
  .sec-d { font-size: 14.5px; }
  .cats { grid-auto-rows: 214px; gap: 10px; }
  .cat-tx { left: 16px; right: 16px; bottom: 16px; }
  .cat-t { font-size: 22px; }
  .cat:not(.wide) .cat-d, .cat:not(.wide) .cat-go { display: none; }
  .cat.wide .cat-go { height: 34px; margin-top: 12px; padding: 0 14px; font-size: 13px; }
  .cat-d { font-size: 13.5px; margin-top: 6px; }
  .cat-live { top: 10px; right: 10px; height: 26px; padding: 0 10px; font-size: 12px; }

  .tables { display: flex; gap: 10px; margin-inline: calc(-1 * var(--gut)); padding: 0 var(--gut) 6px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gut); scrollbar-width: none; }
  .tables::-webkit-scrollbar { display: none; }
  .tbl { flex: 0 0 82%; scroll-snap-align: start; }

  .slots { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px 10px; }
  .slot-name { font-size: 13.5px; margin-top: 8px; }
  .slot-meta { font-size: 12px; }
  .slot-badge { left: 6px; top: 6px; height: 21px; padding: 0 6px; font-size: 11px; line-height: 21px; }

  .promos { gap: 10px; margin-inline: calc(-1 * var(--gut)); padding: 4px var(--gut) 6px; scroll-padding-inline: var(--gut); }
  .promo { flex: 0 0 68%; }
  .promo-cap { min-height: 64px; padding: 12px 14px; }
  .promo-d { font-size: 13px; }
  .pcar-ar { display: none; }

  .vip { padding: 72px 0; }
  .vip-media::after { background: linear-gradient(180deg, rgba(8, 6, 4, .9) 0%, rgba(8, 6, 4, .78) 50%, rgba(8, 6, 4, .9) 100%); }
  .tiers { gap: 6px; }
  .tier { padding: 12px 2px 10px; border-radius: 10px; }
  .tier b { margin-top: 8px; font-size: 13.5px; }
  .tier span { font-size: 11.5px; }

  .info { grid-template-columns: minmax(0, 1fr); }
  .info .cs { grid-column: auto; }
  .panel { padding: 18px 16px; }
  .feed li { gap: 10px; font-size: 13.5px; }

  .ft { padding-bottom: calc(96px + env(safe-area-inset-bottom)); }
  .ft-in { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .ft-logo { height: 48px; }

  .tabbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); height: calc(62px + env(safe-area-inset-bottom)); padding-bottom: env(safe-area-inset-bottom); background: rgba(11, 8, 6, .95); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border-top: 1px solid var(--line); }
  .tabbar a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; font: 600 11px/1 var(--sans); color: var(--ivory-2); text-decoration: none; }
  .tabbar a[aria-current="page"] { color: var(--gold-hi); }
  .toast { bottom: calc(78px + env(safe-area-inset-bottom)); }
}
/* 세로가 짧은 휴대폰은 글이 영상 위쪽까지 올라오므로 글 뒤 그늘을 더 높게 */
@media (max-width: 760px) and (max-height: 760px) {
  .hero-shade { background: linear-gradient(180deg, rgba(8, 6, 4, .72) 0%, rgba(8, 6, 4, .25) 12%, rgba(8, 6, 4, 0) 22%), linear-gradient(0deg, rgba(8, 6, 4, .97) 0%, rgba(8, 6, 4, .9) 34%, rgba(8, 6, 4, .76) 56%, rgba(8, 6, 4, .52) 70%, rgba(8, 6, 4, .22) 80%, rgba(8, 6, 4, 0) 88%); }
}
@media (max-width: 760px) and (max-height: 620px) {
  .hero-copy { padding-top: calc(var(--hd-h) + 16px); padding-bottom: 14px; }
  .hero-title { font-size: clamp(34px, 10.4vw, 44px); }
  .hero-sub { margin-top: 12px; font-size: 14px; line-height: 1.6; }
  .hero-cta { margin-top: 16px; }
  .hero-cta .btn-lg { height: 48px; }
}
@media (max-width: 380px) {
  .jp-x { display: none; }
  .hero-cta { grid-template-columns: minmax(0, 1fr); }
}
/* 휴대폰 첫 화면 영상(2026-10-16 형님 "모바일에서 영상 짤리는 거 fit 되게"): 세로 화면을 꽉 채우려고 확대하면 딜러 머리·양옆이 잘리고 제목이 얼굴을 덮었다.
   머리띠 바로 아래에 16:9 화면 전체를 그대로(자르지 않고) 두고, 제목·단추는 영상 아래에 놓는다. 영상 아래 끝만 바탕색으로 녹인다. */
@media (max-width: 760px) {
  .hero-media { position: relative; inset: auto; z-index: 0; flex: none; width: 100%; aspect-ratio: 16 / 9; margin-top: var(--hd-h); }
  .hero-media img, .hero-media video { object-fit: cover; object-position: 50% 50%; }
  /* 아래쪽을 길게 녹여 제목이 영상에 자연스럽게 겹치게(10/16 형님 "자연스럽게 겹치게") — 끝 줄(0%)은 첫 화면 바탕 #060403 과 같은 색 */
  .hero-shade { background: linear-gradient(0deg, rgba(6, 4, 3, 1) 0%, rgba(6, 4, 3, .94) 10%, rgba(6, 4, 3, .78) 22%, rgba(6, 4, 3, .5) 36%, rgba(6, 4, 3, .22) 50%, rgba(6, 4, 3, .06) 62%, rgba(6, 4, 3, 0) 72%); }
  .hero { min-height: 0; }
  /* 제목을 영상 아래 끝(바탕색으로 녹는 곳)에 살짝 걸쳐 올린다(10/16 형님 "글자 살짝 올려") */
  .hero-copy { z-index: 1; flex: none; justify-content: flex-start; margin-top: clamp(-64px, -14vw, -46px); padding-top: 0; padding-bottom: 24px; }
}


/* 이벤트 팝업(첫 화면): 포스터 한 장씩 따로 뜬다. PC 는 화면 폭에 들어가는 만큼 나란히, 휴대폰은 한 장씩(닫으면 다음 장) */
.pops { width: 100%; max-width: none; height: 100%; max-height: none; margin: 0; padding: max(16px, env(safe-area-inset-top)) max(16px, env(safe-area-inset-right)) max(16px, env(safe-area-inset-bottom)) max(16px, env(safe-area-inset-left)); border: 0; background: transparent; color: var(--ivory); overflow: auto; }
.pops[open] { display: flex; }
.pops::backdrop { background: rgba(5, 3, 2, .74); }
.pops-row { margin: auto; display: flex; align-items: flex-start; justify-content: center; gap: 14px; }
.pw { flex: none; width: var(--pw, 320px); display: flex; flex-direction: column; overflow: hidden; border-radius: 14px; background: linear-gradient(180deg, #1c1610, #0e0a07); box-shadow: inset 0 0 0 1px var(--line-2), 0 0 0 1px rgba(217, 177, 101, .38), 0 24px 70px rgba(0, 0, 0, .7); animation: pwIn .5s var(--ease) both; }
.pw[hidden] { display: none; }
.pw:nth-child(2) { animation-delay: .07s; }
.pw:nth-child(3) { animation-delay: .14s; }
.pw:nth-child(4) { animation-delay: .21s; }
.pw:nth-child(5) { animation-delay: .28s; }
@keyframes pwIn { from { opacity: 0; transform: translateY(14px) scale(.98); } to { opacity: 1; transform: none; } }
.pw-hd { display: flex; align-items: center; justify-content: space-between; gap: 8px; height: 36px; padding: 0 12px; }
.pw-hd b { font: 900 15px/1 var(--serif); letter-spacing: -.02em; }
.pw-n { font: 600 12.5px/1 var(--sans); color: var(--ivory-3); font-variant-numeric: tabular-nums; }
.pw-img { display: block; aspect-ratio: 941 / 1672; background: #000; box-shadow: 0 0 0 1px var(--line-2); }
.pw-img img { display: block; width: 100%; height: 100%; object-fit: cover; -webkit-user-drag: none; user-select: none; }
/* 포스터 받침 띠: 금가루 박힌 옻칠 위에 금박 가는 선을 박은 받침. 띠 높이(--ft-h)와 단추 크기는 모든 장이 같다.
   위쪽 금선은 가운데가 밝고 양 끝이 번져 사라지며, 그 밑에 가는 어두운 홈을 둬 박아 넣은 듯 보이게 한다 */
.pw { --ft-h: 68px; container-type: inline-size; }
.pw:focus { outline: 0; }
.pw-ft {
  position: relative; isolation: isolate; display: flex; align-items: center; justify-content: space-between; gap: 10px;
  height: var(--ft-h); padding: 3px 14px 0; border-radius: 0 0 13px 13px;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, .7) 0, rgba(0, 0, 0, .34) 10px, rgba(0, 0, 0, 0) 30px),
    linear-gradient(112deg, rgba(255, 236, 190, 0) 36%, rgba(255, 236, 190, .07) 50%, rgba(255, 236, 190, 0) 64%),
    linear-gradient(180deg, rgba(23, 16, 10, .55), rgba(7, 5, 3, .8)),
    var(--lacquer) url("../img/lacquer.webp") 0 0 / 520px;
  box-shadow: inset 1px 0 0 var(--line-2), inset -1px 0 0 var(--line-2), inset 0 -1px 0 var(--line-2);
}
.pw-ft::before {
  content: ""; position: absolute; z-index: 1; left: 0; right: 0; top: 0; height: 2px; pointer-events: none;
  background: linear-gradient(90deg, rgba(255, 244, 205, 0), rgba(255, 244, 205, .85) 50%, rgba(255, 244, 205, 0)), var(--leaf) 30% 40% / 520px auto;
  -webkit-mask: linear-gradient(90deg, transparent, #000 18%, #000 82%, transparent);
  mask: linear-gradient(90deg, transparent, #000 18%, #000 82%, transparent);
  animation: pwLine .9s .3s var(--ease) both;
}
.pw-ft::after { content: ""; position: absolute; left: 0; right: 0; top: 2px; height: 1px; pointer-events: none; background: rgba(0, 0, 0, .55); }
@keyframes pwLine { from { transform: scaleX(.2); opacity: 0; } }
@keyframes pwOut { to { opacity: 0; transform: translateY(8px) scale(.98); } }
/* 사라지는 동안에도 눌림은 받는다(pointer-events 를 끄면 빠르게 두 번 눌렀을 때 뒤의 배경을 눌러 전부 닫힌다. 단추는 data-out 으로 무시) */
.pw.is-out { animation: pwOut .19s ease-in both; }

/* 보조 동작 "오늘 하루 보지 않기": 금테 체크 상자 + 글씨. 누르면 금빛 체크가 그려지고 잠깐 뒤 닫힌다 */
.pw-skip { display: inline-flex; align-items: center; gap: 10px; min-height: 46px; margin-left: -8px; padding: 0 10px 0 8px; border: 0; border-radius: 6px; background: none; color: var(--ivory-2); font: 500 13.5px/1 var(--sans); letter-spacing: -.005em; white-space: nowrap; cursor: pointer; -webkit-tap-highlight-color: transparent; touch-action: manipulation; transition: color .2s; }
.pw-ck { position: relative; flex: none; width: 20px; height: 20px; border-radius: 4px; background: linear-gradient(180deg, #050302, #130e08); box-shadow: inset 0 0 0 1px rgba(216, 176, 100, .6), inset 0 2px 3px rgba(0, 0, 0, .85), 0 1px 0 rgba(255, 232, 170, .1); transition: box-shadow .3s, transform .2s var(--ease); }
.pw-ck svg { position: absolute; inset: 0; width: 100%; height: 100%; fill: none; stroke: var(--gold-hi); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; filter: drop-shadow(0 0 3px rgba(246, 226, 164, .55)); }
.pw-ck path { stroke-dasharray: 15; stroke-dashoffset: 15; transition: stroke-dashoffset .22s .02s var(--ease); }
.pw-skip:active .pw-ck { transform: scale(.9); }
.pw-skip:focus-visible { outline: 2px solid rgba(246, 226, 164, .92); outline-offset: 0; }
.pw-img:focus-visible { outline-offset: -4px; border-radius: 6px; }
.pw-skip.is-on { color: var(--gold-hi); }
.pw-skip.is-on .pw-ck { box-shadow: inset 0 0 0 1px var(--gold-hi), inset 0 0 8px rgba(216, 176, 100, .35), 0 0 14px -2px rgba(216, 176, 100, .6); }
.pw-skip.is-on .pw-ck path { stroke-dashoffset: 0; }

/* 주 동작 "닫기": 금박 단추 - 위는 밝고 아래는 깊은 금, 안쪽 가는 테와 윗면 하이라이트, 마우스를 올리면 빛이 한 번 지나가고 누르면 눌린다 */
.pw-x {
  position: relative; isolation: isolate; overflow: hidden; flex: none; display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 46px; min-width: 104px; padding: 0 20px; border: 1px solid #4f3410; border-radius: 5px;
  color: #261805; font: 800 15px/1 var(--sans); cursor: pointer; -webkit-tap-highlight-color: transparent; touch-action: manipulation;
  background: radial-gradient(120% 80% at 50% 0%, rgba(255, 246, 214, .3), rgba(255, 246, 214, 0) 62%), linear-gradient(180deg, rgba(255, 244, 200, .95) 0%, rgba(240, 208, 130, .9) 40%, rgba(208, 160, 76, .92) 66%, rgba(150, 104, 36, .96) 100%), var(--leaf-soft) 50% 50% / 720px auto;
  --glow: 0 0 22px -8px rgba(216, 176, 100, .6);
  box-shadow: inset 0 1px 0 rgba(255, 252, 232, .95), inset 0 -1px 0 rgba(96, 60, 10, .6), 0 1px 0 rgba(255, 226, 150, .2), 0 12px 22px -12px rgba(0, 0, 0, .95), var(--glow);
  text-shadow: 0 1px 0 rgba(255, 244, 205, .6);
  transition: filter .2s, transform .12s, box-shadow .2s;
}
.pw-x::before { content: ""; position: absolute; z-index: -1; inset: 2px; border: 1px solid; border-color: rgba(255, 248, 222, .55) rgba(255, 244, 205, .3) rgba(120, 80, 16, .28); border-radius: 3px; pointer-events: none; }
.pw-x::after { content: ""; position: absolute; z-index: -1; top: -20%; bottom: -20%; left: 0; width: 34%; pointer-events: none; background: linear-gradient(90deg, rgba(255, 255, 255, 0), rgba(255, 252, 238, .66) 50%, rgba(255, 255, 255, 0)); transform: translateX(-170%) skewX(-20deg); }
.pw-x-i { flex: none; width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; }
.pw-x-t { letter-spacing: .16em; margin-right: -.16em; }
.pw-x:focus-visible { outline: 2px solid rgba(246, 226, 164, .92); outline-offset: 3px; }
@media (hover: hover) {
  .pw-skip:hover { color: var(--ivory); }
  .pw-skip:hover .pw-ck { box-shadow: inset 0 0 0 1px var(--gold-hi), inset 0 2px 3px rgba(0, 0, 0, .85), 0 0 12px -2px rgba(216, 176, 100, .5); }
  .pw-x:hover { --glow: 0 0 26px -6px rgba(232, 192, 112, .8); filter: brightness(1.06) saturate(1.08); }
  .pw-x:hover::after { transform: translateX(400%) skewX(-20deg); transition: transform .75s cubic-bezier(.45, 0, .25, 1); }
}
.pw-x:focus-visible::after { transform: translateX(400%) skewX(-20deg); transition: transform .75s cubic-bezier(.45, 0, .25, 1); }
.pw-x:active { transform: translateY(1px) scale(.985); filter: brightness(.92) saturate(1.05); box-shadow: inset 0 3px 8px rgba(70, 42, 4, .62), inset 0 -1px 0 rgba(255, 238, 178, .28), 0 3px 8px -6px rgba(0, 0, 0, .9); }
@media (max-width: 720px) {
  .pops { padding: max(10px, env(safe-area-inset-top)) max(10px, env(safe-area-inset-right)) max(10px, env(safe-area-inset-bottom)) max(10px, env(safe-area-inset-left)); }
  .pw-ft { padding: 3px 12px 0; }
}
/* 창 폭이 좁을 때(작은 휴대폰·가로로 눕힌 화면)는 단추를 한 단계씩 줄이고, 아주 좁으면 위아래로 쌓는다 */
@container (max-width: 289px) {
  .pw-ft { padding: 3px 10px 0; gap: 6px; }
  .pw-skip { gap: 8px; padding-right: 4px; font-size: 13px; }
  .pw-x { min-width: 88px; padding: 0 16px; }
}
@container (max-width: 249px) {
  .pw-skip { gap: 7px; font-size: 12.5px; }
  .pw-ck { width: 18px; height: 18px; }
  .pw-x { min-width: 80px; padding: 0 12px; gap: 6px; }
}
@container (max-width: 229px) {
  .pw-ft { height: auto; flex-direction: column-reverse; justify-content: center; align-items: stretch; gap: 0; padding: 14px 10px 6px; }
  .pw-skip { justify-content: center; margin: 0; }
  .pw-x { min-width: 0; }
}

/* ───────── 실연동 보조(common.js·home.js) ─────────
   .sb-sim-hold/.sb-sim-off : 실제 데이터가 없는 시안 값(접속자 수·잭팟·당첨 띠 등)을 판정 전에는 가리고(자리 유지), 실연동이면 치운다.
   .sb-menu-hold/.sb-menu-off: 솔루션 메뉴 설정(GET /api/settings/member-menu-access)으로 꺼진 메뉴 링크·화면.
   .sb-note                  : 꺼 둔 메뉴·로그인 필요 안내 상자. */
.sb-sim-hold, .sb-menu-hold { visibility: hidden !important; }
.sb-sim-off, .sb-menu-off { display: none !important; }
.hero-bar-in.is-wins-only { grid-template-columns: minmax(0, 1fr); }
.hero-bar-in.is-wins-only .wins { padding-left: 0; border-left: 0; }
.info.is-2 { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); } /* 첫 화면: 꾸민 "실시간 입출금" 칸을 빼면 공지사항·고객센터 두 칸 */
@media (max-width: 1240px) { .info.is-2 .cs { grid-column: auto; } }
@media (max-width: 760px) { .info.is-2 { grid-template-columns: minmax(0, 1fr); } }
.lv-bottom:has(> .sb-sim-off), .sl-bottom:has(> .sb-sim-off) { grid-template-columns: minmax(0, 1fr); } /* /casino·/slots 아래 두 칸 중 꾸민 당첨 칸이 빠지면 남은 칸이 한 줄을 쓴다 */
.sb-live-only { display: none; }
html.api-live .sb-live-only { display: block; } /* 실연동에서만 보이는 안내(api.js 가 판정하면 html.api-live) */
.cs-chs .g3:has(> .sb-sim-off) { grid-template-columns: repeat(2, minmax(0, 1fr)); } /* 고객센터: 1:1 문의 카드가 빠지면 두 칸 */
.sb-note-wrap { padding: 28px 0 64px; }
.sb-note { max-width: 720px; margin: 0 auto; padding: 40px 32px 34px; text-align: center; border-radius: 14px; background: linear-gradient(180deg, #1d160e, #120e09); box-shadow: inset 0 0 0 1px var(--line-2), 0 30px 80px rgba(0, 0, 0, .55); }
.sb-note-seal { width: 72px; height: 72px; margin: 0 auto 16px; }
section.sb-note h2 { margin: 0 0 14px; font: 700 clamp(20px, 3.2vw, 26px)/1.45 var(--serif); color: var(--ivory); word-break: keep-all; text-wrap: balance; }
section.sb-note p { margin: 0 0 26px; font-size: 15px; line-height: 1.7; color: var(--ivory-2); }
.sb-note-act { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.sb-note-act .btn { min-width: 140px; padding: 0 22px; }
/* 원화 전용 게임 안내(common.js SB.krwOnly — zxc KrwOnlyGameNotice): .sb-note 상자에 원화·테더 이용 가능액 두 칸 */
.sb-krw .sb-krw-k { display: block; margin: 0 0 12px; font: 700 12px/1 var(--sans); letter-spacing: .18em; color: var(--gold); }
section.sb-note.sb-krw p.sb-krw-d { margin-bottom: 22px; }
.sb-krw-bal { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 0 0 20px; text-align: left; }
.sb-krw-bal > div { padding: 14px; border-radius: 10px; background: rgba(0, 0, 0, .28); box-shadow: inset 0 0 0 1px var(--line); }
.sb-krw-bal dt { font-size: 12.5px; color: var(--ivory-3); }
.sb-krw-bal dd { margin: 6px 0 0; font: 700 18px/1.3 var(--sans); color: var(--gold-hi); font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.sb-krw-bal > div[data-empty] dd { color: var(--ivory-3); }
section.sb-note .sb-krw-f { margin: 0 0 22px; font-size: 13.5px; }
section.sb-note .sb-krw-f b { color: var(--ivory); font-variant-numeric: tabular-nums; }
@media (max-width: 560px) {
  .sb-krw-bal { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 560px) {
  .sb-note { padding: 32px 20px 26px; }
  .sb-note-act { flex-direction: column; }
  .sb-note-act .btn { width: 100%; height: 52px; font-size: 16px; }
}

/* ───────── 첫 화면 공지사항 칸 실연동(home.js): 서버 공지가 0건이거나 못 받았을 때의 안내 ───────── */
.notice#noticeLive li { max-height: 58px; } /* 서버 공지가 몇 건 안 될 때 줄이 칸 높이로 늘어나 휑해지지 않게(칸이 다 차면 정적 목록처럼 칸을 채운다) */
.notice#noticeLive li.notice-none { max-height: none; }
.notice li.notice-none { flex: 1 1 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; padding: 12px 0; border-bottom: 0; text-align: center; font-size: 14.5px; color: var(--ivory-2); }
.notice li.notice-none p { margin: 0; }
.panel.is-empty > .panel-hd .more { display: none; }
.notice li.notice-none .btn { display: inline-flex; height: 40px; padding: 0 18px; color: var(--ivory); } /* sub.css 의 ".notice li a"(공지 줄 격자·높이 100%·글자색 inherit)가 단추에 번지지 않게 */
.notice li.notice-none .btn:hover { color: var(--gold-hi); }

/* ───────── 라이브챗 단추(모든 쪽 · build.py 의 #lcFab · common.js 가 실연동에서 켠다) ─────────
   금박 단추(.btn-gold) 결에 맞춘 둥근 단추. PC 는 오른쪽 아래, 휴대폰(≤760px)은 아래 메뉴(62px) 위의 동그라미.
   아래에 붙는 막대(스포츠 슬립 .slip-fab · 미니게임 .mg-fab · 폴리마켓 주문 .pm-tkbar)가 떠 있으면 그 위로 올려 겹치지 않게 한다.
   게임 창(.pl-stage)·카드 테이블(.ht, 홀덤·카드게임)·빠칭코(.pch-pg)·선물 거래판(body.fx-page)은 조작부·채팅 입력·주문 단추가 오른쪽 아래에 있어 단추가 가리므로 두지 않는다(common.js memberShell 의 noFab 이 같은 쪽에서 조회도 하지 않는다. 고객센터도 거기서 뺀다).
   z-index 49: 머리띠(50) 밑 — 머리띠 안의 내 메뉴·주 메뉴 펼침(안에서만 z 5)이 단추 위에 와야 한다(짧은 화면에서 펼친 메뉴의 아래 끝이 단추 자리에 걸린다). 본문 위, 아래 메뉴(60)·서랍(70)·토스트(90) 밑.
   창(dialog)이 열리면 브라우저가 뒤를 막으므로 팝업과도 겹치지 않는다. */
.lc-fab {
  position: fixed; z-index: 49; right: max(20px, env(safe-area-inset-right)); bottom: max(20px, env(safe-area-inset-bottom));
  display: inline-flex; align-items: center; justify-content: center; gap: 9px; height: 52px; padding: 0 20px 0 16px; border-radius: 999px;
  border: 1px solid rgba(122, 84, 28, .9); background: var(--gold-btn); color: #1d1408;
  font: 700 15px/1 var(--sans); letter-spacing: -.01em; text-decoration: none; white-space: nowrap; text-shadow: 0 1px 0 rgba(255, 240, 200, .45);
  box-shadow: inset 0 1px 0 rgba(255, 250, 230, .75), inset 0 -1px 0 rgba(80, 50, 10, .45), 0 14px 34px rgba(0, 0, 0, .55), 0 0 30px -8px rgba(217, 177, 101, .6);
  transition: filter .2s, opacity .25s, transform .35s var(--ease), bottom .35s var(--ease), visibility 0s;
}
.lc-fab.is-early { opacity: 0; visibility: hidden; transform: translateY(12px); pointer-events: none; transition: opacity .25s, transform .35s var(--ease), visibility 0s .25s; } /* 첫 화면 맨 위(영상·큰 문구·입금 단추 구간)에서는 단추가 휴대폰의 입금·혜택 단추를 가리므로 반 화면쯤 내려간 뒤에 나타난다(common.js 가 .is-early 를 붙이고 뗀다) */
.lc-fab:hover { filter: brightness(1.08) saturate(1.05); }
@media (hover: hover) { .lc-fab:hover { transform: translateY(-2px); } }
.lc-fab:active { transform: translateY(1px); }
.lc-fab svg { flex: none; width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.lc-fab-n { position: absolute; top: -6px; right: -3px; min-width: 22px; height: 22px; padding: 0 6px; display: grid; place-items: center; border-radius: 999px; background: var(--seal); border: 2px solid var(--lacquer); color: #fff; font: 700 11.5px/1 var(--sans); text-shadow: none; }
body.fx-page .lc-fab { display: none; }
body:has(.pl-stage, .ht, .pch-pg) .lc-fab { display: none; } /* :has 를 못 읽는 오래된 브라우저가 위 줄까지 버리지 않게 따로 쓴다 */
@media (max-width: 1100px) {
  body:has(.slip-fab.on, .mg-fab.on, .pm-tkbar:not([hidden])) .lc-fab { bottom: calc(92px + env(safe-area-inset-bottom)); }
}
@media (max-width: 760px) {
  .lc-fab { right: max(12px, env(safe-area-inset-right)); bottom: calc(78px + env(safe-area-inset-bottom)); width: 54px; height: 54px; padding: 0; }
  .lc-fab-t { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  body:has(.slip-fab.on, .mg-fab.on, .pm-tkbar:not([hidden])) .lc-fab { bottom: calc(144px + env(safe-area-inset-bottom)); }
}

/* 관리자 배너 띠(home.js 끝, 관리자 → 사이트 이미지 관리의 메인 대배너) — 올린 배너가 있을 때만 생긴다 */
.adm-bnr { padding: 22px 0 4px; }
.adm-bnr .wrap { position: relative; }
.adm-bnr-track { overflow: hidden; border: 1px solid var(--line); border-radius: 12px; background: #0b0806; aspect-ratio: 1920 / 475; }
.adm-bnr-slide { margin: 0; width: 100%; height: 100%; }
.adm-bnr-slide[hidden] { display: none; }
.adm-bnr-slide img { display: block; width: 100%; height: 100%; object-fit: cover; }
.adm-bnr-slide img.is-contain { object-fit: contain; }
.adm-bnr-dots { position: absolute; right: 18px; bottom: 6px; display: flex; gap: 2px; }
.adm-bnr-dots button { position: relative; width: 28px; height: 28px; padding: 0; border: 0; background: none; cursor: pointer; }
.adm-bnr-dots button::after { position: absolute; inset: 11px 6px; border-radius: 3px; background: rgba(246, 226, 164, .35); content: ""; transition: background .2s; }
.adm-bnr-dots button[aria-current="true"]::after { background: var(--gold-hi); }
@media (max-width: 760px) {
  .adm-bnr { padding: 14px 0 0; }
  .adm-bnr-track { aspect-ratio: 900 / 506; border-radius: 10px; }
  .adm-bnr-track.is-wide { aspect-ratio: 1920 / 475; }
  .adm-bnr-dots { right: 8px; bottom: 2px; }
  .adm-bnr-dots button { width: 44px; height: 44px; }
  .adm-bnr-dots button::after { inset: 19px 12px; }
}

/* ───────── 가입머니 미션 다음 미션 전환 안내(2026-10-17, assets/js/mission-advance.js · 로그인 창 .dlg 틀을 그대로 쓴다) ─────────
   zxc 서버가 조회 때 단계를 넘기지 않게 바뀌어, 스포츠·선물 목표를 채운 회원에게 지금 금액·바뀔 금액·환율을 보여 주고 눌러서 시작하게 한다. */
.mav .dlg-in { padding: 30px 24px 22px; }
.mav h2 { margin-bottom: 10px; }
.mav-kicker { display: block; width: max-content; margin: 0 auto 10px; padding: 4px 12px; border-radius: 999px; background: rgba(217, 177, 101, .14); color: var(--gold-hi); font-size: 12.5px; font-weight: 700; }
.mav-lead { margin: 0 0 14px; text-align: center; font-size: 14.5px; line-height: 1.6; color: var(--ivory-2); }
.mav-note { margin: 14px 0 16px; text-align: center; font-size: 13px; line-height: 1.6; color: var(--ivory-2); }
.mav-rows { margin: 0; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.mav-rows > div { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 14px; background: rgba(11, 8, 6, .55); }
.mav-rows > div + div { border-top: 1px solid var(--line); }
.mav-rows dt { color: var(--ivory-2); font-size: 13.5px; }
.mav-rows dd { margin: 0; color: var(--ivory); font-weight: 700; font-variant-numeric: tabular-nums; text-align: right; overflow-wrap: anywhere; }
.mav-rows dd.is-strong { color: var(--gold-hi); font-size: 17px; }
.mav-err { margin: 0 0 12px; padding: 10px 12px; border-radius: 8px; background: rgba(200, 64, 42, .16); color: var(--ivory); font-size: 13.5px; }
.mav-actions { display: grid; gap: 8px; }
.mav-actions .btn { height: 52px; }
.mav-more { display: block; width: max-content; margin: 14px auto 0; color: var(--ivory-2); font-size: 13.5px; text-decoration: underline; text-underline-offset: 3px; }
.mav-more:hover { color: var(--gold-hi); }
