/* =========================================================
   WASSUP 페이지별 스타일
   ========================================================= */

/* ---------- 게임 카드 줄 · 그리드 ---------- */
.rail { display: flex; gap: 12px; overflow-x: auto; padding-bottom: 6px; scroll-snap-type: x proximity; }
.rail > .ws-game { flex: 0 0 var(--game-card-w); width: var(--game-card-w); scroll-snap-align: start; }
.game-grid { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 12px; }
.game-grid > .ws-game { width: 100%; }
a.ws-game { text-decoration: none; }

/* ---------- 홈 ---------- */
.home-hero { display: flex; flex-wrap: wrap; gap: 20px; align-items: stretch; }
.home-ev { flex: 2 1 560px; min-width: 0; display: flex; flex-direction: column; gap: 8px; }
.banner { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) 300px; align-items: center; gap: 16px; height: 272px; padding: 28px 20px 28px 36px; border-radius: var(--radius-xl); overflow: hidden; background: radial-gradient(120% 140% at 85% 30%, var(--violet-600) 0%, var(--space-600) 46%, var(--space-700) 100%); border: 1px solid var(--line); }
.banner-copy { min-width: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.banner-eyebrow { font-size: 12px; line-height: 18px; font-weight: 700; letter-spacing: .04em; color: var(--yellow-400); }
.banner-title { font-size: 30px; line-height: 38px; font-weight: 900; letter-spacing: -0.02em; text-wrap: balance; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.banner-desc { font-size: 14px; line-height: 22px; color: var(--ink-2); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.banner-ctl { display: flex; align-items: center; gap: 14px; margin-top: 10px; }
.banner-pager { display: flex; align-items: center; gap: 6px; }
.banner-pager button { width: 32px; height: 32px; display: grid; place-items: center; border-radius: 999px; border: 1px solid var(--line-strong); background: var(--space-700); color: var(--ink); font-size: 16px; cursor: pointer; }
.banner-index { min-width: 40px; text-align: center; font-size: 13px; font-weight: 700; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.banner-index b { color: var(--ink); }
.banner-visual { width: 300px; height: 244px; object-fit: contain; display: block; }
.ev-chips { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; }
.ev-chip { min-width: 0; height: 36px; padding: 0 6px; border-radius: 999px; border: 1px solid var(--line); background: var(--space-700); color: var(--ink-2); font-size: 12px; font-weight: 600; cursor: pointer; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ev-chip[aria-pressed="true"] { border-color: var(--yellow-400); background: var(--yellow-400); color: var(--on-bright); font-weight: 700; }

.home-side { flex: 1 1 300px; min-width: 0; padding: 20px; border-radius: var(--radius-xl); background: var(--space-700); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 12px; }
.home-side-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.home-side-head h2 { font-size: 18px; line-height: 26px; font-weight: 800; }
.home-side-head a { font-size: 12px; font-weight: 600; color: var(--ink-2); }
.home-side .ws-reward { width: 100%; }
.home-side .btn2 { margin-top: auto; }
.welcome { display: flex; align-items: center; gap: 12px; }
.welcome img { width: 52px; height: 74px; object-fit: contain; flex: 0 0 auto; }
.welcome-text { font-size: 13px; line-height: 20px; color: var(--ink-2); }
.perk { display: flex; align-items: center; gap: 10px; padding: 8px 12px 8px 8px; border-radius: 14px; background: var(--space-800); border: 1px solid var(--line); font-size: 13px; font-weight: 600; }
.perk b { color: var(--yellow-400); }

.pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pill .c-yellow { background: var(--yellow-400); }
.pill .c-blue { background: var(--blue-400); }

.quick { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.quick a { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 10px 4px; border-radius: 14px; background: var(--space-700); border: 1px solid var(--line); color: var(--ink); font-size: 12px; font-weight: 700; }

.cats { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.cat { display: flex; flex-direction: column; border-radius: 16px; overflow: hidden; background: var(--space-700); border: 1px solid var(--line); color: var(--ink); }
.cat-visual { aspect-ratio: 4 / 3; background: radial-gradient(80% 80% at 50% 60%, var(--space-600), var(--space-800)); display: grid; place-items: center; }
.cat-visual img { width: 100%; height: 100%; object-fit: contain; display: block; }
.cat-body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 6px; flex: 1 1 auto; }
.cat-label { font-size: 12px; font-weight: 700; color: var(--yellow-400); }
.cat-head { font-size: 18px; line-height: 25px; font-weight: 800; }
.cat-desc { font-size: 13px; line-height: 20px; color: var(--ink-2); margin-bottom: 8px; }
.cat-body .ws-btn { margin-top: auto; align-self: flex-start; }

.books { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 16px; }
.book { display: flex; align-items: center; gap: 18px; padding: 16px 20px 16px 12px; border-radius: 16px; background: var(--space-700); border: 1px solid var(--line); }
.book img { width: 132px; height: 99px; object-fit: contain; flex: 0 0 auto; }
.book-text { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.book-text strong { font-size: 18px; line-height: 26px; font-weight: 800; }
.book-text span { font-size: 13px; color: var(--ink-2); }

.provs { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.prov { height: 60px; min-width: 0; display: flex; align-items: center; gap: 10px; padding: 0 12px; border-radius: 12px; border: 1px solid var(--line); background: var(--space-800); color: var(--ink-2); font-size: 13px; font-weight: 600; cursor: pointer; text-align: left; }
.prov-logo { flex: 0 0 auto; width: 40px; height: 28px; border-radius: 6px; border: 1px dashed var(--line-strong); display: grid; place-items: center; font-size: 10px; color: var(--ink-3); overflow: hidden; }
.prov-logo img { width: 100%; height: 100%; object-fit: contain; }
/* 게임사 로고: 받은 로고 파일은 밝은 바탕용이라 흰 칩 위에 올려요 */
.prov-logo.is-img { width: 64px; height: 32px; padding: 3px 6px; box-sizing: border-box; border: 0; background: var(--on-blue); }
.prov span:last-child { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.help-m { display: flex; flex-direction: column; gap: 12px; padding: 16px; border-radius: 16px; background: var(--space-700); border: 1px solid var(--line); }
.help-m-head { display: flex; align-items: center; gap: 10px; }
.help-m-head div { display: flex; flex-direction: column; }
.help-m-head strong { font-size: 14px; }
.help-m-head span { font-size: 12px; color: var(--ink-2); }

@media (max-width: 1023px) {
  .rail { margin-right: -16px; padding-right: 16px; gap: 10px; }
  .rail > .ws-game { flex-basis: 112px; width: 112px; }
  .game-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
  .game-grid.is-cap6 > .ws-game:nth-child(n+7) { display: none; }
  .rail.m-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-right: 0; padding-right: 0; overflow: visible; }
  .rail.m-grid > .ws-game { width: 100%; }
  .rail.m-grid > .ws-game:nth-child(n+7) { display: none; }
  .home-hero { gap: 16px; }
  .home-ev { flex-basis: 100%; gap: 10px; }
  .banner { grid-template-columns: minmax(0, 1fr) 128px; gap: 8px; height: 184px; padding: 18px 10px 18px 18px; }
  .banner-copy { gap: 4px; }
  .banner-eyebrow { font-size: 11px; line-height: 16px; }
  .banner-title { font-size: 20px; line-height: 26px; }
  .banner-desc { font-size: 12px; line-height: 18px; }
  .banner-ctl { margin-top: 6px; }
  .banner-pager button { display: none; }
  .banner-index { position: absolute; top: 12px; right: 12px; height: 22px; min-width: 0; padding: 0 9px; border-radius: 999px; background: var(--scrim); font-size: 11px; line-height: 22px; }
  .banner-visual { width: 128px; height: 148px; }
  .ev-chips { display: flex; overflow-x: auto; margin-right: -16px; padding-right: 16px; padding-bottom: 2px; }
  .ev-chip { flex: 0 0 auto; padding: 0 14px; }
  .home-side { flex-basis: 100%; padding: 16px; border-radius: 16px; }
  .home-side .perks { display: none; }
  .cats { display: none; }
  .books { grid-template-columns: 1fr; gap: 10px; }
  .book { gap: 12px; padding: 12px; }
  .book img { width: 84px; height: 64px; }
  .book-text strong { font-size: 16px; line-height: 22px; }
  .provs { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .provs > .prov:nth-child(n+9) { display: none; }
  .prov { height: 52px; font-size: 12px; }
}

/* ---------- 카지노 · 슬롯 ---------- */
.search { display: flex; align-items: center; gap: 8px; width: 320px; max-width: 100%; height: 44px; padding: 0 14px; border-radius: var(--radius-md); border: 1px solid var(--line-strong); background: var(--space-600); color: var(--ink-2); }
.search input { flex: 1 1 auto; min-width: 0; height: 100%; border: 0; background: transparent; color: var(--ink); font: inherit; font-size: 14px; font-weight: 600; outline: none; }
.search:focus-within { outline: 2px solid var(--focus); outline-offset: 1px; }
.tabs-area { display: flex; flex-direction: column; gap: 28px; }
.cat-bar { position: sticky; top: var(--header-h); z-index: 20; margin: -8px -32px 0; padding: 10px 32px; background: var(--space-900); border-bottom: 1px solid var(--line); }
.cat-tabs { display: grid; grid-template-columns: repeat(var(--cols), minmax(0, 1fr)); gap: 8px; }
.cat-tab { min-width: 0; height: 64px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; padding: 0 4px; border-radius: 12px; border: 1px solid var(--line); background: var(--space-700); color: var(--ink-2); font-size: 12px; line-height: 16px; font-weight: 600; cursor: pointer; }
.cat-tab span { max-width: 100%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cat-tab .cat-tab-m { display: none; }
.cat-tab.is-active { border-color: var(--blue-500); background: var(--blue-500); color: var(--on-blue); font-weight: 700; }
.lobbies { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.lobby { position: relative; aspect-ratio: 4 / 5; border-radius: var(--radius-card); overflow: hidden; border: 1px solid var(--line); background: var(--space-700); color: var(--ink); }
.lobby img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .2s; }
.lobby:hover img { transform: scale(1.04); }
.lobby::after { content: ""; position: absolute; inset: 62% 0 0; background: linear-gradient(to top, rgba(6, 8, 32, .9), rgba(6, 8, 32, 0)); }
.lobby-cap { position: absolute; left: 4px; right: 4px; bottom: 12px; z-index: 1; display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center; }
.lobby-cap strong { max-width: 100%; font-size: 16px; line-height: 20px; font-weight: 900; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lobby-cap span { height: 22px; padding: 0 10px; border-radius: 999px; background: var(--scrim); font-size: 11px; font-weight: 700; line-height: 22px; color: var(--ink-2); }
.empty { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 28px 16px; border-radius: 14px; border: 1px dashed var(--line-strong); background: var(--space-800); text-align: center; }
.empty img { width: 64px; height: 90px; object-fit: contain; }
.empty strong { font-size: 14px; }
.empty span { font-size: 12px; color: var(--ink-2); }
.provs-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.provs-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
[data-prov-more] { display: none; }
[data-panel][hidden] { display: none !important; }
.ws-game[hidden] { display: none !important; }

/* ---------- 스포츠북 ---------- */
.sb-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.sb-card { min-width: 0; display: flex; flex-direction: column; border-radius: 20px; overflow: hidden; background: var(--space-700); border: 1px solid var(--line); }
.sb-visual { position: relative; aspect-ratio: 16 / 9; }
.sb-visual > img { position: absolute; left: 0; top: 4%; width: 100%; height: 92%; object-fit: contain; }
.sb-logo { position: absolute; left: 16px; top: 16px; height: 40px; padding: 4px 12px; box-sizing: border-box; border-radius: 10px; background: var(--on-blue); display: flex; align-items: center; }
.sb-logo img { display: block; height: 100%; width: auto; max-width: 120px; object-fit: contain; }
.sb-body { display: flex; flex-direction: column; gap: 10px; padding: 20px 22px 22px; }
.sb-body strong { font-size: 24px; line-height: 30px; font-weight: 900; }
.sb-body > span { font-size: 14px; color: var(--ink-2); }
.sb-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 4px; }
.sb-tags span { height: 24px; padding: 0 10px; border-radius: 999px; background: var(--space-800); border: 1px solid var(--line); font-size: 12px; font-weight: 600; line-height: 22px; color: var(--ink-2); }
.card-title { font-size: 17px; line-height: 24px; font-weight: 800; }
.bullets { margin: 0; padding-left: 18px; display: flex; flex-direction: column; gap: 6px; font-size: 13px; line-height: 21px; color: var(--ink-2); }
.bullets b { color: var(--ink); }
.link-strong { align-self: flex-start; font-size: 13px; font-weight: 700; }
.seo { max-width: 820px; display: flex; flex-direction: column; gap: 8px; padding-top: 20px; border-top: 1px solid var(--line); }
.seo h2 { font-size: 17px; line-height: 24px; font-weight: 800; }
.seo p { font-size: 13px; line-height: 22px; color: var(--ink-3); }

/* ---------- 게임 화면 ---------- */
.game-body { background: var(--space-900); }
.gm-hd { position: sticky; top: 0; z-index: 40; height: 64px; display: flex; align-items: center; gap: 12px; padding: 0 20px; background: var(--space-800); border-bottom: 1px solid var(--line); }
.gm-back { height: 40px; display: flex; align-items: center; gap: 6px; padding: 0 12px 0 8px; border-radius: 10px; border: 1px solid var(--line); background: var(--space-700); color: var(--ink-2); font-size: 13px; font-weight: 700; }
.gm-back span:first-child { font-size: 18px; line-height: 1; }
.gm-title { min-width: 0; display: flex; flex-direction: column; padding-left: 12px; border-left: 1px solid var(--line); }
.gm-title strong { font-size: 15px; line-height: 20px; font-weight: 800; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gm-title > span { display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--ink-2); }
.gm-actions { display: flex; align-items: center; gap: 8px; }
.gm-bal { padding-right: 10px; }
.gm-stage { position: relative; display: grid; place-items: center; height: calc(100vh - 64px); padding: 20px; }
.gm-frame { width: min(100%, calc((100vh - 104px) * 16 / 9)); aspect-ratio: 16 / 9; border: 0; border-radius: 14px; background: #000; }
.gm-empty { width: min(100%, calc((100vh - 104px) * 16 / 9)); aspect-ratio: 16 / 9; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; padding: 24px; border-radius: 14px; border: 1px dashed var(--line-strong); background: radial-gradient(70% 70% at 50% 45%, #14365a 0%, var(--space-800) 70%); text-align: center; }
.gm-empty strong { font-size: 20px; }
.gm-empty span { max-width: 480px; font-size: 13px; line-height: 20px; color: var(--ink-2); }
.gm-frame:not([hidden]) + .gm-empty { display: none; }

@media (max-width: 1023px) {
  .page-head .search { width: 100%; }
  .cat-bar { position: static; margin: 0; padding: 0; background: none; border: 0; }
  .cat-tabs { grid-template-columns: repeat(var(--cols-m), minmax(0, 1fr)); gap: 6px; }
  .cat-tab { height: 60px; font-size: 11px; line-height: 14px; gap: 3px; }
  .cat-tab .ws-icon { width: 24px; height: 24px; }
  .cat-tab > span:nth-of-type(1) { display: none; }
  .cat-tab .cat-tab-m { display: block; }
  .tabs-area { gap: 24px; }
  .game-grid.is-cap9 > .ws-game:nth-child(n+10) { display: none; }
  .lobbies { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .lobby-cap { bottom: 8px; gap: 4px; }
  .lobby-cap strong { font-size: 13px; line-height: 17px; }
  .lobby-cap span { height: 20px; padding: 0 8px; font-size: 10px; line-height: 20px; }
  .provs-5, .provs-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .provs-5:not(.is-all) > .prov:nth-child(n+9) { display: none; }
  .provs-5:not(.is-all) + [data-prov-more] { display: inline-flex; }
  .sb-grid { grid-template-columns: 1fr; gap: 14px; }
  .sb-visual { aspect-ratio: 16 / 10; }
  .sb-body { padding: 16px; }
  .sb-body strong { font-size: 20px; }
  .card { padding: 16px; }
  .gm-hd { height: auto; flex-wrap: wrap; gap: 8px; padding: 8px 12px; }
  .gm-back { width: 40px; padding: 0; justify-content: center; }
  .gm-title { flex: 1 1 0; border: 0; padding-left: 0; }
  .gm-full { order: 3; }
  .gm-actions { order: 4; flex: 1 1 100%; }
  .gm-bal { flex: 1 1 auto; height: 40px; }
  .gm-actions .ws-btn { flex: 0 0 auto; }
  .gm-stage { height: auto; min-height: calc(100vh - 112px); padding: 0; }
  .gm-frame, .gm-empty { width: 100%; height: calc(100vh - 112px); aspect-ratio: auto; border-radius: 0; }
}
@media (max-width: 1023px) and (orientation: landscape) { .gm-hd { display: none; } .gm-frame, .gm-empty { height: 100vh; } }

/* ---------- 공통 조각 ---------- */
.t-mute { color: var(--ink-3); font-size: 12px; }
.t-sub { color: var(--ink-2); font-size: 13px; }
.t-strong { font-weight: 800; }
.t-gold { color: var(--yellow-400); }
.t-num { text-align: right; font-variant-numeric: tabular-nums; }
.t-body { font-size: 14px; line-height: 23px; color: var(--ink-2); }
.card-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.back-link { align-self: flex-start; height: 36px; display: inline-flex; align-items: center; gap: 6px; padding: 0 12px 0 8px; border-radius: 10px; border: 1px solid var(--line); background: var(--space-700); color: var(--ink-2); font-size: 13px; font-weight: 700; }
.back-link span { font-size: 18px; line-height: 1; }
.bar { height: 8px; border-radius: 999px; background: var(--space-600); overflow: hidden; }
.bar.lg { height: 12px; }
.bar i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--blue-500), var(--yellow-400)); }
.seg { display: flex; gap: 4px; padding: 4px; border-radius: 12px; background: var(--space-800); border: 1px solid var(--line); }
.seg-btn { flex: 1 1 0; min-width: 0; height: 36px; padding: 0 10px; display: inline-flex; align-items: center; justify-content: center; gap: 6px; border: 0; border-radius: 9px; background: transparent; color: var(--ink-2); font-size: 13px; font-weight: 700; cursor: pointer; white-space: nowrap; }
.seg-btn.sm { height: 30px; font-size: 12px; }
.seg-btn.is-active { background: var(--blue-500); color: var(--on-blue); }
.seg-size .seg-btn.is-active { background: var(--space-600); color: var(--ink); }
.seg-btn .cnt { min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--pink-500); color: var(--on-bright); font-size: 11px; font-weight: 800; line-height: 18px; }
.seg-btn .cnt[hidden] { display: none; }
.table-wrap { overflow-x: auto; border-radius: 12px; border: 1px solid var(--line); background: var(--space-800); }
.tbl { width: 100%; border-collapse: collapse; }
.tbl th { padding: 10px 12px; font-size: 12px; font-weight: 700; color: var(--ink-2); text-align: left; border-bottom: 1px solid var(--line); white-space: nowrap; }
.tbl td { padding: 12px; font-size: 13px; border-bottom: 1px solid var(--line); font-variant-numeric: tabular-nums; white-space: nowrap; }
.tbl tr:last-child td { border-bottom: 0; }
.acc { border-radius: 12px; background: var(--space-800); border: 1px solid var(--line); }
.acc:has(.acc-btn[aria-expanded="true"]) { border-color: var(--line-strong); }
.accs { display: flex; flex-direction: column; gap: 8px; }
.acc-btn { width: 100%; display: flex; align-items: center; gap: 10px; padding: 12px 14px; border: 0; background: transparent; color: var(--ink); font-size: 14px; font-weight: 700; text-align: left; cursor: pointer; }
.acc-q { flex: 0 0 auto; font-size: 15px; font-weight: 900; color: var(--blue-400); }
.acc-text { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; }
.acc-cat { font-size: 11px; font-weight: 700; color: var(--ink-3); }
.acc-sign::before { content: "+"; font-size: 18px; color: var(--ink-2); }
.acc-btn[aria-expanded="true"] .acc-sign::before { content: "−"; }
.acc-panel { display: flex; gap: 10px; padding: 0 14px 14px; }
.acc-panel[hidden] { display: none; }
.acc-a { flex: 0 0 auto; font-size: 15px; font-weight: 900; color: var(--yellow-400); }
.acc-panel p { font-size: 13px; line-height: 21px; color: var(--ink-2); }
.tg-mini { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 12px; background: var(--space-800); border: 1px solid var(--line); font-size: 13px; color: var(--ink-2); }
.tg-mini > span { flex: 1 1 auto; }
.tg-mini b { color: var(--ink); }
.empty.sm { padding: 14px; font-size: 13px; color: var(--ink-2); }

/* ---------- 이벤트 ---------- */
.ev-filters { display: flex; flex-wrap: wrap; gap: 8px; }
.ev-filter { height: 40px; display: inline-flex; align-items: center; gap: 6px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line); background: var(--space-700); color: var(--ink-2); font-size: 13px; font-weight: 600; cursor: pointer; }
.ev-filter span { font-size: 11px; font-weight: 700; opacity: .8; }
.ev-filter.is-active { border-color: var(--blue-500); background: var(--blue-500); color: var(--on-blue); font-weight: 700; }
.ev-feat { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) 300px; align-items: center; gap: 16px; height: 260px; padding: 28px 24px 28px 36px; border-radius: 20px; overflow: hidden; border: 1px solid var(--line); color: var(--ink); }
.ev-feat-copy { min-width: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.ev-feat-tags { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 12px; color: var(--ink-2); }
.ev-feat-badge { height: 22px; padding: 0 9px; border-radius: 999px; background: var(--yellow-400); color: var(--on-bright); font-size: 11px; font-weight: 800; line-height: 22px; }
.ev-feat strong { font-size: 30px; line-height: 38px; font-weight: 900; letter-spacing: -0.02em; }
.ev-feat-desc { font-size: 14px; color: var(--ink-2); }
.ev-more { margin-top: 6px; font-size: 13px; font-weight: 800; color: var(--yellow-400); }
.ev-feat img { width: 300px; height: 230px; object-fit: contain; }
.ev-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.ev-card { display: flex; flex-direction: column; border-radius: 16px; overflow: hidden; background: var(--space-700); border: 1px solid var(--line); color: var(--ink); }
.ev-card[hidden] { display: none; }
.ev-thumb { position: relative; aspect-ratio: 16 / 9; display: grid; place-items: center; }
.ev-thumb { overflow: hidden; }
.ev-thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.ev-live { position: absolute; left: 12px; top: 12px; display: inline-flex; align-items: center; gap: 5px; height: 22px; padding: 0 9px; border-radius: 999px; background: var(--scrim); font-size: 11px; font-weight: 700; }
.ev-live i, .ev-on i { width: 6px; height: 6px; border-radius: 50%; background: var(--mint-500); }
.ev-on { display: inline-flex; align-items: center; gap: 5px; height: 22px; padding: 0 9px; border-radius: 999px; background: var(--scrim); font-size: 11px; font-weight: 700; color: var(--ink); }
.ev-body { display: flex; flex-direction: column; gap: 4px; padding: 14px 16px 16px; flex: 1 1 auto; }
.ev-cat { font-size: 12px; font-weight: 700; }
.ev-body strong { font-size: 16px; line-height: 22px; font-weight: 800; }
.ev-desc { font-size: 13px; line-height: 20px; color: var(--ink-2); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.ev-foot { margin-top: auto; padding-top: 8px; display: flex; justify-content: space-between; font-size: 12px; color: var(--ink-3); }
.ev-foot span { font-weight: 700; color: var(--blue-400); }
.detail { width: 100%; max-width: 880px; display: flex; flex-direction: column; gap: 20px; }
.ev-hero { display: grid; grid-template-columns: minmax(0, 1fr) 320px; align-items: center; gap: 16px; height: 300px; padding: 32px 28px 32px 40px; border-radius: 20px; overflow: hidden; border: 1px solid var(--line); }
.ev-hero-copy { min-width: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.ev-hero h1 { font-size: 34px; line-height: 42px; font-weight: 900; letter-spacing: -0.02em; text-wrap: balance; }
.ev-hero img { width: 320px; height: 236px; object-fit: contain; }
.num-steps { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 12px; }
.num-steps li { display: flex; gap: 12px; align-items: flex-start; }
.num-steps li > span { flex: 0 0 auto; width: 26px; height: 26px; display: grid; place-items: center; border-radius: 999px; background: var(--blue-500); color: var(--on-blue); font-size: 12px; font-weight: 800; }
.num-steps p { padding-top: 2px; font-size: 14px; line-height: 22px; color: var(--ink-2); }
.num-steps b { color: var(--ink); }
.detail-cta { max-width: 520px; }

/* ---------- 마이페이지 ---------- */
.mp-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 24px; border-radius: 20px; background: radial-gradient(120% 140% at 90% 0%, rgba(116, 66, 232, .35), transparent 60%), var(--space-700); border: 1px solid var(--line); }
.mp-me { display: flex; align-items: center; gap: 14px; }
.mp-ava { width: 64px; height: 64px; display: grid; place-items: center; border-radius: 18px; background: var(--space-600); }
.mp-me > div { display: flex; flex-direction: column; gap: 2px; }
.mp-name { display: flex; align-items: center; gap: 8px; font-size: 18px; }
.mp-cash { font-size: 26px; line-height: 32px; font-weight: 900; }
.mp-cash small { margin-left: 3px; font-size: 14px; font-weight: 600; color: var(--ink-2); }
.mp-pay { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; width: min(100%, 420px); }
.mp-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.mp-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.mp-rewards { display: flex; flex-direction: column; gap: 8px; }
.mp-rewards .ws-reward { width: 100%; }
.mp-links { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.roll { display: flex; flex-direction: column; gap: 10px; padding: 14px; border-radius: 12px; background: var(--space-800); border: 1px solid var(--line); }
.roll-top, .roll-bot { display: flex; justify-content: space-between; align-items: center; gap: 8px; font-size: 13px; }
.goal { display: flex; flex-direction: column; gap: 6px; }
.goal-top { display: flex; justify-content: space-between; font-size: 12px; color: var(--ink-2); }
.goal-top b { color: var(--ink); }
.cal { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px; text-align: center; }
.cal-w { font-size: 11px; font-weight: 700; color: var(--ink-3); padding: 2px 0; }
.cal-d { height: 34px; display: grid; place-items: center; border-radius: 8px; border: 1px solid var(--line); background: var(--space-800); font-size: 12px; font-weight: 700; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.cal-d.is-done { background: var(--yellow-400); border-color: var(--yellow-400); color: var(--on-bright); }
.cal-d.is-today { border-color: var(--blue-400); color: var(--ink); }
.cal-d.is-out { border-color: transparent; background: transparent; }
.cal-legend { display: flex; gap: 14px; font-size: 11px; color: var(--ink-2); }
.cal-legend span { display: inline-flex; align-items: center; gap: 6px; }
.cal-legend i { width: 10px; height: 10px; border-radius: 3px; }
.lg-done { background: var(--yellow-400); }
.lg-today { border: 2px solid var(--blue-400); }
.mp-quicks { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.mp-quick { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; height: 88px; border-radius: 14px; border: 1px solid var(--line); background: var(--space-800); color: var(--ink); font-size: 12px; font-weight: 700; cursor: pointer; }
.mp-quick:hover { background: var(--space-600); color: var(--ink); }

/* ---------- 마블 주사위 ---------- */
.mb { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 20px; align-items: start; }
.mb-stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.mb-stat { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 12px; background: var(--space-800); border: 1px solid var(--line); }
.mb-stat > span:nth-child(2) { display: flex; flex-direction: column; flex: 1 1 auto; font-size: 12px; color: var(--ink-2); }
.mb-stat b { font-size: 18px; color: var(--ink); }
.mb-stat small { margin-left: 2px; font-size: 12px; color: var(--ink-2); }
.mb-board { position: relative; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); grid-template-rows: repeat(6, minmax(0, 1fr)); gap: 6px; aspect-ratio: 1; }
.mb-cell { position: relative; min-width: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1px; padding: 4px; border-radius: 12px; border: 2px solid transparent; text-align: center; overflow: hidden; }
.mb-cell img { width: 58%; height: auto; aspect-ratio: 1; object-fit: contain; }
.mb-cell b { font-size: 11px; line-height: 14px; font-weight: 800; white-space: nowrap; }
.mb-cell > span:not(.mb-me) { font-size: 10px; line-height: 12px; color: rgba(243, 244, 255, .75); white-space: nowrap; }
.mb-me { display: none; position: absolute; top: 4px; right: 4px; height: 18px; padding: 0 6px; border-radius: 999px; background: var(--ink); color: var(--on-bright); font-size: 10px; font-weight: 900; line-height: 18px; }
.mb-cell.is-here { border-color: #fff; box-shadow: 0 0 18px rgba(255, 255, 255, .35); }
.mb-cell.is-here .mb-me { display: block; }
.mb-center { grid-row: 2 / 6; grid-column: 2 / 6; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; padding: 12px; border-radius: 16px; background: radial-gradient(80% 80% at 50% 40%, #2b3a8f 0%, var(--space-800) 75%); border: 1px solid var(--line); text-align: center; }
.mb-die { width: 38%; max-width: 140px; aspect-ratio: 1; object-fit: contain; }
.is-rolling .mb-die { animation: mbShake .5s ease-in-out infinite; }
@keyframes mbShake { 0%, 100% { transform: rotate(0); } 25% { transform: rotate(-12deg); } 75% { transform: rotate(12deg); } }
.mb-center strong { font-size: 18px; line-height: 24px; font-weight: 900; }
.mb-center > span { font-size: 13px; color: var(--ink-2); }
.mb-actions { display: flex; gap: 8px; margin-top: 4px; }
.mb-roll { height: 48px; padding: 0 22px; border: 0; border-radius: 14px; background: var(--yellow-400); color: var(--on-bright); font-size: 15px; font-weight: 900; cursor: pointer; }
.mb-roll:disabled { opacity: .6; }
.mb-log { height: 48px; padding: 0 16px; border-radius: 14px; border: 1px solid var(--line-strong); background: var(--space-600); color: var(--ink); font-size: 14px; font-weight: 700; cursor: pointer; }
.mb-side { display: flex; flex-direction: column; gap: 16px; }
.mb-box { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 12px; background: var(--space-800); border: 1px solid var(--line); }
.mb-box img { width: 40px; height: 40px; object-fit: contain; }
.mb-box-text { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; font-size: 12px; color: var(--ink-2); }
.mb-box-text > b { font-size: 14px; color: var(--ink); }
.mb-use { flex: 0 0 auto; height: 32px; padding: 0 12px; border-radius: 9px; border: 1px solid var(--yellow-400); background: var(--yellow-400); color: var(--on-bright); font-size: 12px; font-weight: 800; cursor: pointer; }
.mb-use:disabled { border-color: var(--line); background: transparent; color: var(--ink-3); cursor: default; }
.mb-vouchers { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.mb-v { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 12px 8px; border-radius: 12px; background: var(--space-800); border: 1px solid var(--line); }
.mb-v img { width: 32px; height: 32px; }
.mb-v b { font-size: 16px; font-weight: 900; }
.mb-v b small { margin-left: 2px; font-size: 11px; color: var(--ink-2); }
.mb-v span { font-size: 12px; color: var(--ink-2); }
.mb-take { height: 30px; padding: 0 12px; border-radius: 8px; border: 1px solid var(--line-strong); background: var(--space-600); color: var(--ink); font-size: 12px; font-weight: 700; cursor: pointer; }
.mb-vsum { display: flex; align-items: center; justify-content: space-between; padding-top: 4px; font-size: 13px; color: var(--ink-2); }
.mb-vsum b { color: var(--yellow-400); }
.mb-vsum[hidden] { display: none; }

/* ---------- 알림 · 쪽지 ---------- */
.nt { width: 100%; max-width: 820px; display: flex; flex-direction: column; gap: 14px; }
.nt-bar { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.nt-tabs { width: 380px; }
.nt-only { flex: 0 0 auto; height: 36px; padding: 0 12px; border-radius: 10px; border: 1px solid var(--line); background: var(--space-800); font-size: 12px; font-weight: 700; }
.nt-list { display: flex; flex-direction: column; gap: 8px; }
.nt-item { border-radius: 14px; border: 1px solid var(--line-strong); background: var(--space-700); overflow: hidden; }
.nt-item.is-read { border-color: var(--line); background: var(--space-800); }
.nt-item.is-open { border-color: var(--blue-500); background: var(--space-700); }
.nt-item[hidden] { display: none; }
.nt-head { width: 100%; display: flex; align-items: flex-start; gap: 12px; padding: 14px; border: 0; background: transparent; color: var(--ink); text-align: left; cursor: pointer; }
.nt-ic { flex: 0 0 auto; width: 44px; height: 44px; display: grid; place-items: center; border-radius: 12px; background: var(--space-800); }
.nt-ic img { width: 34px; height: 34px; object-fit: contain; }
.nt-main { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.nt-line { display: flex; align-items: center; gap: 6px; min-width: 0; }
.nt-line b { min-width: 0; font-size: 14px; font-weight: 800; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.nt-prev { font-size: 13px; line-height: 20px; color: var(--ink-2); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.nt-more { font-size: 12px; font-weight: 700; color: var(--blue-400); }
.is-open .nt-prev, .is-open .nt-more { display: none; }
.nt-chev { flex: 0 0 auto; width: 28px; height: 28px; display: grid; place-items: center; border-radius: 8px; background: var(--space-800); color: var(--ink-2); transition: transform .2s; }
.is-open .nt-chev { transform: rotate(180deg); }
.nt-body { margin: 0 14px 14px; padding: 16px 18px; border-radius: 12px; background: var(--space-800); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 12px; }
.nt-body[hidden] { display: none; }
.nt-from { padding-bottom: 10px; border-bottom: 1px solid var(--line); font-size: 12px; color: var(--ink-3); }
.nt-from b { color: var(--ink); }
.nt-text { font-size: 14px; line-height: 24px; white-space: pre-line; }
.nt-gift { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 10px; border: 1px solid var(--mint-500); background: var(--space-700); }
.nt-gift img { width: 36px; height: 36px; }
.nt-gift > span { flex: 1 1 auto; display: flex; flex-direction: column; font-size: 11px; color: var(--ink-2); }
.nt-gift b { font-size: 14px; color: var(--ink); }
.nt-gift a { font-size: 12px; font-weight: 700; }
.nt-actions { display: flex; justify-content: flex-end; gap: 8px; }
.nt-del, .nt-fold { height: 34px; padding: 0 14px; border-radius: 9px; border: 1px solid var(--line); background: transparent; color: var(--ink-2); font-size: 12px; font-weight: 700; cursor: pointer; }
.nt-fold { border-color: var(--line-strong); background: var(--space-600); color: var(--ink); }
.nt-note { font-size: 11px; line-height: 16px; color: var(--ink-3); }

/* ---------- 이용규정 ---------- */
.tm { display: flex; flex-direction: column; gap: 20px; }
.tm-groups { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 8px; }
.tm-group { min-width: 0; height: 48px; padding: 0 6px; border-radius: 12px; border: 1px solid var(--line); background: var(--space-700); color: var(--ink-2); font-size: 13px; font-weight: 700; cursor: pointer; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tm-group.is-active { border-color: var(--blue-500); background: var(--blue-500); color: var(--on-blue); }
.tm-panel { display: flex; flex-direction: column; gap: 12px; max-width: 920px; }
.tm-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.tm-head h2 { font-size: 18px; line-height: 26px; font-weight: 800; }
.tm-acc { background: var(--space-700); border-radius: 14px; }
.tm-acc .acc-btn { padding: 14px 16px; font-size: 15px; }
.tm-acc .acc-panel { display: block; padding: 0 16px 16px; border-top: 1px solid var(--line); }
.tm-acc .acc-panel[hidden] { display: none; }
.tm-text { margin-top: 12px; font-size: 14px; line-height: 23px; color: var(--ink-2); white-space: pre-line; }

/* ---------- 도메인 ---------- */
.dm { width: 100%; max-width: 720px; align-self: center; gap: 18px; padding: 28px; border-radius: 20px; }
.dm-hero { display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; }
.dm-hero img { width: 96px; height: 136px; object-fit: contain; }
.dm-hero h1 { font-size: 24px; line-height: 32px; font-weight: 900; }
.dm-hero p { max-width: 520px; font-size: 14px; line-height: 23px; color: var(--ink-2); }
.dm-list { display: flex; flex-direction: column; gap: 8px; }
.dm-row { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 12px; background: var(--space-800); border: 1px solid var(--line); }
.dm-ok { flex: 0 0 auto; display: inline-flex; align-items: center; gap: 5px; height: 22px; padding: 0 8px; border-radius: 999px; border: 1px solid var(--mint-500); font-size: 11px; font-weight: 800; color: var(--mint-500); }
.dm-ok i { width: 6px; height: 6px; border-radius: 50%; background: var(--mint-500); }
.dm-addr { flex: 1 1 auto; min-width: 0; font-size: 15px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* ---------- 팝업: 룰렛 · 베팅내역 · 쿠폰 · 문의 · FAQ ---------- */
.rl { display: grid; grid-template-columns: minmax(0, 1fr) 240px; gap: 16px; }
.rl-machine { min-width: 0; display: flex; flex-direction: column; align-items: center; gap: 14px; padding: 18px 16px 20px; border-radius: 16px; background: radial-gradient(90% 80% at 50% 20%, #3b2a8f 0%, var(--space-800) 70%); border: 1px solid var(--line); }
.rl-jackpot { display: flex; align-items: baseline; gap: 10px; height: 44px; padding: 0 18px; border-radius: 999px; background: var(--space-900); border: 1px solid var(--yellow-600); line-height: 42px; }
.rl-jackpot span { font-size: 12px; font-weight: 800; letter-spacing: .12em; color: var(--yellow-400); }
.rl-jackpot b { font-size: 22px; font-weight: 900; color: var(--yellow-400); }
.rl-window { position: relative; width: 100%; max-width: 300px; height: 220px; padding: 8px 10px; border-radius: 16px; background: var(--space-900); border: 1px solid var(--line); overflow: hidden; }
.rl-hit { position: absolute; left: 8px; right: 8px; top: 76px; height: 68px; border-radius: 12px; border: 2px solid var(--yellow-400); background: var(--space-700); box-shadow: 0 0 24px rgba(255, 204, 26, .25); }
.is-pop .rl-hit { animation: rlPop .7s ease-out; }
@keyframes rlPop { 0% { transform: scale(1); } 35% { transform: scale(1.05); box-shadow: 0 0 40px rgba(255, 204, 26, .7); } 100% { transform: scale(1); } }
.rl-strip { position: relative; }
.rl-row { height: 68px; display: flex; align-items: center; gap: 12px; padding: 0 12px; }
.rl-row strong { font-size: 16px; font-weight: 900; }
.rl-row b { margin-left: auto; font-size: 16px; font-weight: 900; color: var(--yellow-400); }
.rl-ani { flex: 0 0 auto; width: 52px; height: 52px; display: grid; place-items: center; border-radius: 15px; box-shadow: inset 0 -4px 0 rgba(0, 0, 0, .18); overflow: hidden; }
.rl-ani img { width: 108%; height: 108%; object-fit: contain; margin-top: 6%; }
.rl-ani.sm { width: 30px; height: 30px; border-radius: 9px; }
.rl-fade { position: absolute; left: 0; right: 0; height: 68px; pointer-events: none; }
.rl-fade.top { top: 0; background: linear-gradient(to bottom, rgba(10, 13, 38, .92), rgba(10, 13, 38, 0)); }
.rl-fade.bottom { bottom: 0; background: linear-gradient(to top, rgba(10, 13, 38, .92), rgba(10, 13, 38, 0)); }
.rl-arrow { position: absolute; top: 50%; transform: translateY(-50%); color: var(--yellow-400); font-size: 14px; }
.rl-arrow.l { left: 0; } .rl-arrow.r { right: 0; }
.rl-result { min-height: 22px; font-size: 14px; font-weight: 800; color: var(--ink-2); }
.rl-result.is-win { color: var(--yellow-400); }
.rl-spin { width: 96px; height: 96px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; border-radius: 999px; border: 0; background: radial-gradient(circle at 35% 28%, #fff3a0, #ffcc1a 50%, #d98e00); box-shadow: 0 6px 0 #9a6a00, 0 10px 24px rgba(255, 204, 26, .35); color: #141033; cursor: pointer; }
.rl-spin strong { font-size: 17px; font-weight: 900; }
.rl-spin span { font-size: 11px; font-weight: 700; }
.rl-spin:disabled { opacity: .6; cursor: default; }
.rl-left { font-size: 12px; color: var(--ink-2); }
.rl-left b { color: var(--yellow-400); }
.rl-table { min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.rl-h { font-size: 13px; font-weight: 700; }
.rl-tier { display: flex; align-items: center; gap: 8px; padding: 6px 8px; border-radius: 10px; background: var(--space-800); border: 1px solid var(--line); }
.rl-tier > span:last-child { display: flex; flex-direction: column; line-height: 1.2; }
.rl-tier b { font-size: 13px; font-weight: 800; }
.rl-tier span span { font-size: 11px; color: var(--ink-2); }
.rl-hist { display: flex; flex-direction: column; gap: 8px; }
.bets { display: flex; flex-direction: column; gap: 14px; }
.bets-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.bets-bar .seg:first-child { width: 340px; }
.seg-size { width: 180px; }
.sum3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-bottom: 12px; }
.sum3 div { display: flex; flex-direction: column; gap: 2px; padding: 10px 12px; border-radius: 12px; background: var(--space-800); border: 1px solid var(--line); }
.sum3 span { font-size: 11px; color: var(--ink-2); }
.sum3 b { font-size: 16px; font-weight: 800; }
.res { display: inline-block; height: 22px; padding: 0 9px; border-radius: 999px; font-size: 11px; font-weight: 800; line-height: 22px; }
.r-win { background: var(--mint-500); color: var(--on-bright); }
.r-lose { color: var(--coral-500); border: 1px solid var(--coral-500); line-height: 20px; }
.r-wait { background: var(--space-600); color: var(--ink-2); }
.bet-cards { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 8px; }
.bet-card { display: flex; flex-direction: column; gap: 6px; padding: 12px; border-radius: 12px; background: var(--space-800); border: 1px solid var(--line); }
.bet-top { display: flex; align-items: center; gap: 8px; }
.bet-top b { flex: 1 1 auto; min-width: 0; font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bet-bot { display: flex; justify-content: space-between; font-size: 12px; color: var(--ink-2); }
.bet-bot b { color: var(--ink); }
.pager { display: flex; align-items: center; justify-content: center; gap: 6px; }
.pager button { min-width: 36px; height: 36px; padding: 0 8px; border-radius: 8px; border: 1px solid var(--line); background: var(--space-800); color: var(--ink-2); font-size: 13px; font-weight: 700; cursor: pointer; }
.pager button.is-active { border-color: var(--blue-500); background: var(--blue-500); color: var(--on-blue); }
.coupon-input { height: 52px; font-size: 18px; font-weight: 800; letter-spacing: .08em; text-align: center; text-transform: uppercase; }
.cp-hist { display: flex; flex-direction: column; gap: 8px; }
.cp-list { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 8px; }
.cp-item { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 12px; background: var(--space-800); border: 1px solid var(--line); }
.cp-item img { width: 30px; height: 30px; }
.cp-item span { flex: 1 1 auto; min-width: 0; font-size: 13px; font-weight: 700; letter-spacing: .04em; }
.cp-item b { font-size: 13px; color: var(--mint-500); }
.quick-titles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.quick-title { min-width: 0; height: 40px; padding: 0 8px; border-radius: 10px; border: 1px solid var(--line-strong); background: var(--space-600); color: var(--ink); font-size: 13px; font-weight: 700; cursor: pointer; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.quick-title.is-active { border-color: var(--blue-500); background: var(--blue-500); color: var(--on-blue); }
.textarea { height: auto; padding: 12px 14px; line-height: 22px; resize: vertical; font-weight: 500; }
.faq { display: flex; flex-direction: column; gap: 12px; }
.seg-5 { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); }
.faq .acc[hidden] { display: none; }

@media (max-width: 1023px) {
  .ev-filters { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
  .ev-filter { height: 40px; padding: 0 4px; justify-content: center; font-size: 12px; }
  .ev-feat { grid-template-columns: minmax(0, 1fr) 120px; height: 184px; padding: 18px 10px 18px 18px; gap: 8px; }
  .ev-feat strong { font-size: 19px; line-height: 25px; }
  .ev-feat-desc { font-size: 12px; line-height: 18px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
  .ev-feat-tags > span:last-child, .ev-more { display: none; }
  .ev-feat img { width: 120px; height: 148px; }
  .ev-grid { grid-template-columns: 1fr; gap: 10px; }
  .ev-card { flex-direction: row; align-items: center; gap: 12px; padding: 10px; }
  .ev-thumb { flex: 0 0 104px; width: 104px; height: 78px; aspect-ratio: auto; border-radius: 11px; overflow: hidden; }
  .ev-live { display: none; }
  .ev-body { padding: 0; gap: 3px; }
  .ev-body strong { font-size: 14px; line-height: 20px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .ev-desc { font-size: 12px; line-height: 17px; }
  .ev-hero { grid-template-columns: minmax(0, 1fr) 120px; height: 200px; padding: 20px 10px 20px 18px; }
  .ev-hero h1 { font-size: 22px; line-height: 29px; }
  .ev-hero img { width: 120px; height: 160px; }
  .mp-top { padding: 16px; }
  .mp-pay { width: 100%; }
  .mp-stats { gap: 8px; }
  .mp-stats .ws-stat { min-width: 0; padding: 12px; }
  .mp-stats .ws-stat-value b { font-size: 18px; }
  .mp-2 { grid-template-columns: 1fr; gap: 16px; }
  .mp-quicks { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .mp-quick { height: 76px; font-size: 11px; }
  .mb { grid-template-columns: 1fr; }
  .mb-board { gap: 4px; }
  .mb-cell { border-radius: 9px; padding: 2px; }
  .mb-cell b { font-size: 9px; line-height: 12px; }
  .mb-cell > span:not(.mb-me) { display: none; }
  .mb-me { top: 2px; right: 2px; height: 14px; padding: 0 4px; font-size: 9px; line-height: 14px; }
  .mb-center strong { font-size: 15px; line-height: 20px; }
  .mb-center > span { font-size: 11px; }
  .mb-roll { height: 40px; padding: 0 14px; font-size: 13px; }
  .mb-log { height: 40px; padding: 0 10px; font-size: 12px; }
  .nt-bar { flex-direction: column; align-items: stretch; }
  .nt-tabs { width: auto; }
  .nt-only { align-self: flex-end; }
  .tm-groups { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .tm-group { height: 44px; font-size: 12px; }
  .dm { padding: 18px; }
  .dm-row { flex-wrap: wrap; }
  .dm-addr { flex-basis: calc(100% - 90px); }
  .rl { grid-template-columns: 1fr; }
  .rl-table { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rl-table .rl-h { grid-column: 1 / -1; }
  .bets-bar { flex-direction: column; align-items: stretch; }
  .bets-bar .seg:first-child, .seg-size { width: auto; }
  .seg-size { align-self: flex-end; width: 170px; }
  .quick-titles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .seg-5 .seg-btn { padding: 0 2px; font-size: 12px; }
}

/* ---------- 게임사 상세 (provider.html) ---------- */
a.prov { text-decoration: none; }
a.prov:hover, a.prov:focus-visible { border-color: var(--blue-500); color: var(--ink); }
.pv { display: flex; flex-direction: column; gap: 16px; }
.pv-back { align-self: flex-start; display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 12px 0 8px; border-radius: 999px; border: 1px solid var(--line); background: var(--space-800); color: var(--ink-2); font-size: 13px; font-weight: 700; text-decoration: none; }
.pv-back:hover { color: var(--ink); border-color: var(--line-strong); }
.pv-back span:first-child { font-size: 18px; line-height: 1; }
.pv-hero { display: flex; align-items: center; gap: 20px; padding: 20px 24px; border-radius: 20px; background: var(--space-700); border: 1px solid var(--line); }
.pv-logo { flex: 0 0 auto; width: 168px; height: 84px; box-sizing: border-box; padding: 10px 16px; border-radius: 14px; background: var(--on-blue); display: grid; place-items: center; }
.pv-logo img { display: block; max-width: 100%; max-height: 100%; object-fit: contain; }
.pv-meta { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 8px; }
.pv-meta h1 { font-size: 24px; line-height: 31px; font-weight: 900; letter-spacing: -0.02em; text-wrap: balance; }
.pv-facts { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.pv-kind { height: 26px; padding: 0 10px; border-radius: 999px; background: var(--space-800); border: 1px solid var(--line); font-size: 12px; font-weight: 700; line-height: 24px; color: var(--ink-2); }
.pv-search { flex: 0 0 auto; width: 300px; }
.pv-types { display: flex; flex-wrap: wrap; gap: 8px; }
.pv-type { height: 36px; padding: 0 14px; border-radius: 10px; border: 1px solid var(--line); background: var(--space-800); color: var(--ink-2); font: inherit; font-size: 13px; font-weight: 700; cursor: pointer; white-space: nowrap; }
.pv-type:hover { color: var(--ink); }
.pv-type.is-active { border-color: var(--blue-500); background: var(--blue-500); color: var(--on-blue); }
.pv-count { font-size: 13px; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.pv-grid[aria-busy="true"] { opacity: .55; transition: opacity .15s; }
.pager button:disabled { opacity: .4; cursor: default; }
.pager-gap { min-width: 20px; text-align: center; color: var(--ink-3); }
.pv-others { margin-top: 16px; }
@media (max-width: 1023px) {
  .pv { gap: 12px; }
  .pv-hero { flex-wrap: wrap; gap: 14px; padding: 16px; }
  .pv-logo { width: 120px; height: 60px; padding: 8px 12px; }
  .pv-meta h1 { font-size: 20px; line-height: 28px; }
  .pv-search { width: 100%; }
  .pv-types { flex-wrap: nowrap; overflow-x: auto; margin-right: -16px; padding-right: 16px; padding-bottom: 2px; scrollbar-width: none; }
  .pv-types::-webkit-scrollbar { display: none; }
  .pv-type { flex: 0 0 auto; height: 34px; padding: 0 12px; }
  .pager button { min-width: 34px; }
}
