/* STARGATE / Midnight & Violet */
:root { color-scheme:dark; --bg:#0b1020; --bg-2:#10182b; --panel:#131b2f; --panel-2:#19233b; --line:#2d3955; --text:#f5f6fc; --muted:#aeb9d0; --accent:#8568ff; --accent-2:#c1b2ff; --accent-ink:#ffffff; --tint:#282347; --red:#f19ca7; --green:#76e4d0; --radius:14px; --shadow:0 12px 40px #0000001f; font-family:"Pretendard","Apple SD Gothic Neo","Malgun Gothic","맑은 고딕",sans-serif; }
* { box-sizing:border-box; }
html { scroll-behavior:smooth; scroll-padding-top:110px; }
body { margin:0; min-height:100vh; background:var(--bg); color:var(--text); font-size:15px; line-height:1.7; letter-spacing:-.2px; }
::selection { background:#8568ff55; color:#fff; }
a { color:inherit; }
h1,h2,h3,p { overflow-wrap:break-word; }
h1,h2,h3 { margin:0 0 .55em; line-height:1.3; font-weight:650; letter-spacing:-.7px; }
h2 { font-size:25px; } h3 { font-size:18px; }
button,input,select,textarea { font:inherit; color:inherit; }
button,a,input,select,textarea { -webkit-tap-highlight-color:transparent; }
button:focus-visible,a:focus-visible { outline:2px solid var(--accent); outline-offset:4px; }
button { touch-action:manipulation; }
.topbar { position:sticky; top:0; z-index:20; display:flex; align-items:center; gap:32px; padding:18px max(24px,calc((100vw - 1200px)/2)); min-height:80px; background:#0b1020ed; border-bottom:1px solid var(--line); backdrop-filter:blur(14px); }
.brand { display:flex; align-items:center; gap:12px; flex-shrink:0; white-space:nowrap; font-weight:650; font-size:18px; text-decoration:none; letter-spacing:2.4px; }
.logo { display:inline-flex; align-items:center; justify-content:center; width:27px; height:32px; color:var(--accent); font-size:0; }
.brand small { color:var(--muted); font-size:10px; font-weight:500; letter-spacing:0; border-left:1px solid var(--line); padding-left:12px; }
.brand-symbol { display:block; color:var(--accent); margin:auto; flex-shrink:0; }
.nav { display:flex; gap:7px; flex-wrap:wrap; }
.nav a { text-decoration:none; white-space:nowrap; padding:8px 13px; font-size:13px; font-weight:550; color:var(--muted); border-bottom:1px solid transparent; }
.nav a:hover,.nav a.on { color:var(--text); }
.nav a.on { border-color:var(--accent); }
.spacer { flex:1; }
.coinpill { display:inline-flex; align-items:center; gap:8px; padding:6px 12px; background:var(--bg-2); color:var(--accent-2); border-radius:5px; font-weight:600; border:1px solid var(--line); font-variant-numeric:tabular-nums; }
.wrap { max-width:1240px; margin:0 auto; padding:36px 24px 64px; }
.grid { display:grid; gap:18px; }
.g2 { grid-template-columns:repeat(auto-fit,minmax(min(300px,100%),1fr)); }
.g3 { grid-template-columns:repeat(auto-fit,minmax(min(220px,100%),1fr)); }
.g4 { grid-template-columns:repeat(auto-fit,minmax(min(180px,100%),1fr)); }
.row { display:flex; gap:12px; align-items:center; flex-wrap:wrap; }
.muted { color:var(--muted); } .small { font-size:13px; } .center { text-align:center; } .mt { margin-top:20px; }
.card { background:var(--panel); border:1px solid var(--line); border-radius:var(--radius); padding:24px; box-shadow:var(--shadow); min-width:0; }
.stat { font-size:32px; font-weight:600; font-variant-numeric:tabular-nums; letter-spacing:-1px; line-height:1.4; }
.stat-label { color:var(--muted); font-size:12px; font-weight:500; margin-bottom:7px; }
.btn { display:inline-flex; align-items:center; justify-content:center; gap:9px; padding:11px 20px; min-height:44px; border-radius:5px; border:1px solid transparent; background:var(--accent); color:var(--accent-ink); font-weight:650; font-size:14px; cursor:pointer; text-decoration:none; transition:background .15s,border-color .15s; }
.btn:hover { background:var(--accent-2); }
.btn:disabled,.btn[aria-disabled="true"] { opacity:.4; cursor:not-allowed; }
.btn.ghost { background:transparent; border-color:var(--line); color:var(--text); }
.btn.ghost:hover { background:var(--panel-2); border-color:#627097; }
.btn.dark { background:var(--accent); color:var(--accent-ink); }
.btn.dark:hover { background:var(--accent-2); }
.btn.red { background:#57362f; border-color:#855045; color:#f2c2b9; }
.btn.red:hover { background:#704239; }
.btn.green { background:#34473a; border-color:#526b58; color:#d3e7d6; }
.btn.green:hover { background:#435a48; }
.btn.sm { min-height:32px; padding:5px 12px; font-size:12px; border-radius:4px; }
.btn.block { width:100%; }
label { display:block; font-weight:550; font-size:13px; margin:18px 0 7px; }
.input,select.input,textarea.input { width:100%; padding:11px 13px; border:1px solid var(--line); border-radius:5px; background:var(--bg-2); outline:none; transition:border-color .15s; }
.input:focus { border-color:var(--accent); box-shadow:0 0 0 2px #8568ff15; }
.input:disabled { color:var(--muted); } .input::placeholder { color:#99a7c0; }
input[type=checkbox],input[type=radio] { accent-color:var(--accent); }
.badge { display:inline-block; padding:3px 9px; border-radius:4px; font-size:11px; font-weight:550; background:var(--tint); color:var(--accent-2); border:1px solid #8568ff22; }
.badge.pending { background:#a88a4520; color:#d8be82; border-color:#a88a453b; }
.badge.approved,.badge.active,.badge.done { background:#82a88b17; color:#b1d2b8; border-color:#82a88b30; }
.badge.rejected,.badge.blocked,.badge.refunded { background:#f19ca715; color:#e0a49b; border-color:#f19ca730; }
.badge.cancelled { background:var(--panel-2); color:var(--muted); border-color:var(--line); }
.badge.new { background:#8568ff20; color:var(--accent-2); }
.plus { color:#b1d2b8; font-weight:600; } .minus { color:#e0a49b; font-weight:600; }
.table-wrap { overflow-x:auto; }
table { width:100%; border-collapse:collapse; color:var(--text); }
th,td { padding:14px; text-align:left; vertical-align:middle; border-bottom:1px solid var(--line); white-space:nowrap; font-size:14px; font-variant-numeric:tabular-nums; }
th { background:var(--bg-2); color:var(--muted); font-size:11px; font-weight:550; }
tr:nth-child(even) td { background:#ffffff02; } tr:hover td { background:#8568ff06; }
td .small,td.small { color:var(--muted); }
.tabs { display:flex; gap:7px; flex-wrap:wrap; margin-bottom:24px; }
.tab { padding:7px 15px; border-radius:4px; background:transparent; color:var(--muted); border:1px solid var(--line); font-weight:550; font-size:13px; cursor:pointer; text-decoration:none; }
.tab:hover { background:var(--panel); color:var(--text); }
.tab.on { background:var(--tint); color:var(--accent-2); border-color:#8568ff; }
.modal-bg { position:fixed; inset:0; background:#060909c9; display:flex; align-items:center; justify-content:center; z-index:50; padding:20px; backdrop-filter:blur(4px); }
.modal { background:var(--panel); border-radius:10px; padding:28px; width:100%; max-width:460px; border:1px solid var(--line); box-shadow:0 24px 80px #0008; max-height:90vh; overflow:auto; }
.toast { position:fixed; left:50%; bottom:28px; transform:translateX(-50%); background:#272d28; color:var(--text); border:1px solid #746c51; padding:12px 20px; border-radius:6px; font-size:13px; z-index:60; box-shadow:var(--shadow); max-width:calc(100vw - 32px); width:max-content; }
.toast.err { border-color:var(--red); color:#efbbb1; }
/* Game collection / line illustrations */
.game-catalog,#game-grid { grid-template-columns:repeat(4,minmax(0,1fr)); gap:24px; }
.game { display:block; text-decoration:none; color:var(--text); min-width:0; }
.game .art { position:relative; aspect-ratio:1.28; border-radius:6px; overflow:hidden; background:linear-gradient(145deg,#272e29,#171b18); border:1px solid var(--line); display:flex; align-items:center; justify-content:center; color:#cec0a0; transition:border-color .2s; }
.game[data-category="스포츠"] .art { background:linear-gradient(145deg,#23302c,#171d1b); color:#a5b8ab; }
.game[data-category="주사위"] .art { background:linear-gradient(145deg,#302922,#1e1b17); color:#c6b09a; }
.game[data-category="순발력"] .art { background:linear-gradient(145deg,#303127,#1b1e18); color:#b7bd98; }
.game .art::before { content:""; position:absolute; inset:15px; border:1px solid currentColor; opacity:.12; border-radius:50%; transform:scale(.75); }
.game:hover .art { border-color:var(--accent); }
.game .game-glyph { width:43%; height:43%; position:relative; stroke-width:1.1; }
.game .tile-category { position:absolute; left:16px; top:12px; color:var(--muted); font-size:10px; }
.game .tile-arrow { position:absolute; right:16px; top:10px; font-size:17px; opacity:.65; }
.game .title { position:absolute; left:16px; bottom:13px; font-family:Consolas,monospace; font-size:10px; font-weight:500; letter-spacing:2px; color:var(--muted); text-transform:uppercase; }
.game .game-caption { display:flex; justify-content:space-between; gap:10px; align-items:center; margin-top:13px; }
.game .name { font-weight:550; font-size:15px; }
.game .state { font-size:10px; color:var(--muted); white-space:nowrap; }
.game .state::before { content:""; display:inline-block; width:4px; height:4px; border-radius:50%; background:#6e776f; margin-right:6px; vertical-align:2px; }
.game .state.live { color:var(--accent-2); } .game .state.live::before { background:var(--accent); }
.game.is-preparing .art { opacity:.65; }
/* Intro / quiet gaming lounge */
.eyebrow,.section-kicker { color:var(--accent); font-family:Consolas,monospace; font-size:11px; letter-spacing:2px; font-weight:500; }
.hero { display:grid; grid-template-columns:1.1fr 1fr; align-items:center; gap:64px; padding:62px 0 68px; }
.hero h1 { font-size:clamp(36px,4vw,57px); font-weight:550; line-height:1.3; letter-spacing:-2.1px; margin:24px 0; word-break:keep-all; }
.hero h1 span { color:var(--accent); }
.hero-copy > .muted { font-size:15px; max-width:440px; line-height:1.9; }
.hero-actions { margin-top:32px; }
.hero-note { color:var(--muted); font-size:11px; margin-top:26px; padding-left:13px; border-left:2px solid var(--accent); }
.gateway-art { position:relative; aspect-ratio:1.1; display:grid; place-items:center; background:radial-gradient(ellipse at 50% 65%,#8568ff0b,transparent 70%); border:1px solid var(--line); border-radius:6px; }
.gateway-art svg { width:90%; height:auto; }
.art-caption { position:absolute; left:23px; bottom:18px; display:flex; justify-content:space-between; gap:12px; width:calc(100% - 46px); color:#8c958b; font:10px Consolas,monospace; letter-spacing:2px; }
.art-corner { position:absolute; top:18px; left:23px; color:var(--accent); font:10px Consolas,monospace; letter-spacing:1.8px; }
#stats { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); border-block:1px solid var(--line); padding:25px 0; gap:0; }
#stats .card { background:none; border:0; border-right:1px solid var(--line); border-radius:0; box-shadow:none; text-align:left; padding:4px 30px; }
#stats .card:first-child { padding-left:0; } #stats .card:last-child { border:0; }
#stats .stat { font-size:28px; margin-bottom:5px; }
.intro-section { padding-top:74px; scroll-margin-top:20px; }
.section-head { display:flex; justify-content:space-between; align-items:flex-end; gap:28px; margin-bottom:30px; }
.section-head h2 { margin:7px 0 0; font-size:29px; font-weight:550; }
.section-head p { max-width:500px; font-size:13px; color:var(--muted); margin:0; }
.flow-grid { grid-template-columns:repeat(4,minmax(0,1fr)); gap:0; }
.flow-grid .card { border-radius:0; border-width:0 0 0 1px; background:none; box-shadow:none; padding:8px 24px; }
.flow-grid .card:first-child { padding-left:0; border:0; }
.flow-grid .step-number { font:13px Consolas,monospace; color:var(--accent); display:block; margin-bottom:22px; }
.flow-grid b { font-weight:550; } .flow-grid p { margin-bottom:0; line-height:1.8; }
.faq-list { border-top:1px solid var(--line); }
.faq-item { border-bottom:1px solid var(--line); display:grid; grid-template-columns:1fr 1.8fr; gap:42px; padding:27px 0; }
.faq-item b { font-size:15px; font-weight:550; } .faq-item p { font-size:13px; margin:0; color:var(--muted); }
.contact-layout { display:grid; grid-template-columns:1fr 1.2fr; gap:80px; padding-top:72px; margin-top:74px; border-top:1px solid var(--line); }
.contact-layout h2 { margin-top:12px; font-size:32px; font-weight:550; }
.contact-layout p { color:var(--muted); max-width:360px; }
.contact-layout form { background:none; padding:0; border:0; box-shadow:none; }
.contact-layout form label:first-child { margin-top:0; }
.foot { border-top:1px solid var(--line); max-width:1192px; margin:auto; padding:28px 24px; color:#aeb9d0; font-size:11px; }
.footer-row { display:flex; justify-content:space-between; align-items:center; gap:22px; flex-wrap:wrap; }
.foot a { text-decoration:none; } .foot a:hover { color:var(--text); }
.footer-brand { color:var(--text); font-size:13px; letter-spacing:2px; }
.notice { background:#8568ff0a; border:1px solid #8568ff30; border-left:2px solid #8568ff; border-radius:4px; padding:12px 15px; font-size:12px; color:#c7cce3; line-height:1.8; }
.bar { background:var(--accent); border-radius:2px 2px 0 0; min-height:2px; }
.chart { display:flex; align-items:flex-end; gap:7px; height:180px; padding-top:10px; }
.chart .col { flex:1; display:flex; flex-direction:column; align-items:center; justify-content:flex-end; height:100%; font-size:10px; color:var(--muted); }
.chart .col .bar { width:100%; }
.coin { display:inline-block; width:1em; height:1em; border-radius:50%; vertical-align:-.12em; border:1px solid var(--accent); background:transparent; position:relative; }
.coin::after { content:""; position:absolute; inset:3px; border:1px solid #8568ff77; border-radius:50%; }
/* Account & play surfaces */
.auth-box { max-width:420px; margin:48px auto; padding:32px; }
.auth-box .brand-symbol { width:44px; height:44px; margin:0 auto 28px; } .auth-box h2 { font-size:25px; }
.signup-layout { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr); gap:100px; padding-top:70px; max-width:1080px; align-items:start; }
.signup-intro h1 { font-size:43px; font-weight:550; letter-spacing:-1.5px; margin:20px 0 24px; word-break:keep-all; }
.signup-intro > .muted { max-width:360px; }
.signup-intro .gateway-art { aspect-ratio:1.65; margin:30px 0; overflow:hidden; }
.signup-intro .gateway-art svg { width:66%; } .signup-intro .gateway-art .art-caption { font-size:9px; }
.welcome-credit { display:flex; justify-content:space-between; align-items:center; gap:20px; padding:20px 0; border-block:1px solid var(--line); }
.welcome-credit .stat { color:var(--accent-2); font-size:28px; white-space:nowrap; }
.welcome-credit p { font-size:12px; margin:0; max-width:160px; }
.signup-benefits { list-style:none; padding:0; color:var(--muted); font-size:12px; line-height:2.4; }
.signup-benefits li::before { content:"—"; color:var(--accent); margin-right:12px; }
.signup-form { padding:30px; } .signup-form h2 { font-size:26px; }
.signup-inline { max-width:480px; margin:32px auto; }
.field-help { margin:7px 0 0; font-size:11px; color:var(--muted); }
.signup-success { padding:38px 24px; } .signup-success .brand-symbol { width:48px; height:48px; margin-bottom:24px; }
.page-heading { display:flex; justify-content:space-between; align-items:flex-end; padding:8px 0 28px; margin-bottom:28px; border-bottom:1px solid var(--line); gap:20px; }
.page-heading h1 { font-size:32px; font-weight:550; margin:8px 0 0; } .page-heading p { margin:0; font-size:13px; color:var(--muted); }
.wallet-packages .card { text-align:left; padding:24px; border-top:2px solid #8568ff; }
.wallet-packages .package-label { font:10px Consolas,monospace; color:var(--muted); letter-spacing:1.5px; margin-bottom:18px; }
.wallet-packages .stat { margin:14px 0 7px; font-size:30px; } .wallet-packages .btn { margin-top:22px; }
.shop-symbol { font-size:36px; margin:6px 0 16px; }
.profile-avatar { width:68px; height:68px; margin:0 auto 20px; display:grid; place-items:center; font-size:35px; border:1px solid var(--line); background:var(--bg-2); border-radius:50%; }
.shop-symbol,.profile-avatar,#rp-me,#rp-cpu { filter:grayscale(1); }
#rp-me,#rp-cpu { font-size:46px; }
#rp-hands .btn { font-size:14px!important; padding:12px 16px!important; filter:grayscale(1); }
.game-detail-grid { display:grid; grid-template-columns:minmax(0,2fr) minmax(220px,1fr); gap:24px; }
.game-title { display:flex; align-items:center; gap:12px; } .game-title .game-glyph { width:28px; height:28px; color:var(--accent); } .game-title h2 { margin:0; }
.preparing-stage { padding:64px 0; } .preparing-stage .game-glyph { width:90px; height:90px; color:var(--accent); margin:0 auto 24px; display:block; }
#stage { padding:20px 0 0; } #sw-board button { font-weight:600; }
.mole-target { display:flex; flex-direction:column; align-items:center; justify-content:center; color:#aeb9d0; }
.mole-target .game-glyph { width:54px; height:54px; }
.bonus-target { color:var(--accent-2); }
.mole-bonus { font:9px Consolas,monospace; letter-spacing:1px; }
@media(max-width:1100px) { .topbar { flex-wrap:wrap; gap:14px 24px; padding:16px 24px; } .topbar #me-box { margin-left:auto; } .topbar .nav { order:3; width:100%; min-width:0; flex-wrap:nowrap; overflow-x:auto; } .topbar .nav a { flex-shrink:0; } .hero { gap:36px; } .signup-layout { gap:48px; } .game-catalog,#game-grid { grid-template-columns:repeat(3,minmax(0,1fr)); } }
@media(max-width:760px) {
  .wrap { padding:28px 20px 48px; } .hero { grid-template-columns:1fr; gap:36px; padding:28px 0 42px; } .hero h1 { font-size:43px; }
  .gateway-art { max-width:540px; width:100%; aspect-ratio:1.5; } .gateway-art svg { max-width:360px; } .hero-copy > .muted { font-size:14px; }
  .section-head { display:block; } .section-head p { margin-top:14px; }
  #stats { grid-template-columns:repeat(2,minmax(0,1fr)); row-gap:24px; } #stats .card { padding:0 18px; } #stats .card:nth-child(3) { padding-left:0; } #stats .card:nth-child(2) { border:0; } #stats .stat { font-size:25px; }
  .flow-grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:30px 0; } .flow-grid .card:nth-child(3) { padding-left:0; border:0; }
  .faq-item { grid-template-columns:1fr; gap:15px; } .contact-layout { grid-template-columns:1fr; gap:30px; padding-top:42px; margin-top:48px; } .intro-section { padding-top:50px; }
  .signup-layout { grid-template-columns:1fr; gap:34px; max-width:560px; } .signup-intro h1 { font-size:36px; } .signup-intro .gateway-art { display:none; } .signup-benefits { display:none; } .signup-form { padding:24px; }
  .game-detail-grid { grid-template-columns:minmax(0,1fr); } .page-heading { display:block; } .page-heading p { margin-top:15px; }
  .game-catalog,#game-grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:22px 14px; }
}
@media(max-width:420px) {
  .topbar { padding:13px 16px; gap:12px; } .brand { font-size:15px; gap:8px; letter-spacing:1.8px; } .brand small { display:none; } .topbar .nav a { padding:7px 9px; font-size:12px; }
  .topbar > .btn { font-size:11px; padding:7px 12px; min-height:34px; } .wrap { padding-left:16px; padding-right:16px; }
  .hero h1 { font-size:35px; letter-spacing:-1.3px; } .hero-actions { gap:10px; } .hero-actions .btn { font-size:12px; padding:10px 14px; }
  .game .game-caption { display:block; } .game .state { margin-top:3px; } .game .tile-category { left:12px; } .game .title { left:12px; font-size:8px; letter-spacing:1px; } .game .art::before { inset:10px; } .game .name { font-size:14px; }
  .signup-form,.auth-box { padding:22px 18px; } .signup-form .btn { font-size:12px; } .wallet-packages { grid-template-columns:1fr; }
  .signup-intro h1 { font-size:30px; letter-spacing:-1px; }
  .flow-grid .card { padding-right:12px; padding-left:16px; } .foot { padding:24px 16px; }
}
@media(prefers-reduced-motion:reduce) { html { scroll-behavior:auto; } *,*::before,*::after { animation:none!important; transition:none!important; } }

/* 한 테마의 공통 신청·확인 컴포넌트 */
.request-filters { margin:16px 0; }
.request-statuses { display:grid; grid-template-columns:repeat(auto-fit,minmax(115px,1fr)); gap:8px; margin-bottom:22px; }
.request-status { border:1px solid var(--line); background:var(--tint); color:var(--text); padding:14px; text-align:left; cursor:pointer; border-radius:4px; display:grid; gap:7px; font:inherit; }
.request-status.on { border-color:var(--accent); background:rgba(196,181,139,.12); }
.request-status b { font-size:18px; } .request-status small { color:var(--muted); }
.request-search { display:flex; flex-wrap:wrap; gap:12px; align-items:flex-end; }
.request-field { flex:1 1 145px; } .request-field:first-child { flex:2 1 240px; }
.request-field label { margin:0 0 7px; font-size:12px; }
.request-period { flex-wrap:wrap; margin-top:16px; }
.request-pager { display:flex; align-items:center; justify-content:space-between; gap:12px; padding:18px 0; }
.request-review { display:grid; grid-template-columns:130px minmax(0,1fr); gap:14px; border-top:1px solid var(--line); border-bottom:1px solid var(--line); padding:20px 0; margin:20px 0; }
.request-review dt { color:var(--muted); } .request-review dd { margin:0; font-weight:600; overflow-wrap:anywhere; }
.form-error { color:#f3aaaa; background:rgba(195,84,84,.12); border:1px solid rgba(195,84,84,.5); border-radius:4px; padding:12px 14px; margin:16px 0 0; overflow-wrap:anywhere; }
.toast { display:flex; align-items:center; gap:18px; max-width:min(600px,calc(100vw - 32px)); }
.toast button { border:0; background:transparent; color:inherit; cursor:pointer; font-size:24px; padding:4px 8px; }
.modal { max-height:calc(100dvh - 40px); overflow:auto; }
.memo-cell { white-space:normal; min-width:140px; max-width:260px; overflow-wrap:anywhere; }
[aria-busy="true"] button[type="submit"] { cursor:wait; }
:focus-visible { outline:2px solid var(--accent); outline-offset:3px; }
@media(max-width:760px) { .request-review { grid-template-columns:100px minmax(0,1fr); font-size:13px; } .request-search .request-field { flex-basis:calc(50% - 12px); min-width:0; } .request-search .request-field:first-child { flex-basis:100%; } .request-statuses { grid-template-columns:repeat(2,minmax(0,1fr)); } }

.round-id{font-family:Consolas,monospace;font-size:10px;color:var(--muted);white-space:normal;overflow-wrap:anywhere}

/* Brand controls shared by public, member and operations views */
.btn{background:#6342de;color:white;border-radius:8px;border-color:#8568ff;transition:background .15s,border-color .15s}.btn:hover,.btn.dark:hover{background:#7752ec;border-color:#a28aff}.btn.dark{background:#6342de;color:white}.btn.ghost{background:transparent;border-color:var(--line);color:var(--text)}.btn.ghost:hover{background:var(--panel-2);border-color:var(--accent)}.btn.sm{border-radius:6px;min-height:36px}.input{border-radius:8px}.input:focus{box-shadow:0 0 0 3px #8568ff22}.badge{border-radius:5px}.badge.pending{background:#593b152f;color:#f4cc8f;border-color:#b58b4a66}.badge.approved,.badge.active,.badge.done{background:#173d3b;color:#a8eadb;border-color:#3d7b7066}.badge.rejected,.badge.blocked,.badge.refunded{background:#432537;color:#f5b3bf;border-color:#94495e66}.plus{color:#76e4d0}.minus{color:#f5a5b5}.toast{background:var(--panel-2);border-color:var(--accent)}.toast.err{color:var(--red)}.notice{background:#8568ff0e;color:var(--muted);border-color:#8568ff44;border-left-color:var(--accent)}.logo,.brand-star{display:inline-grid;place-items:center;width:34px;height:36px;border-radius:9px;background:linear-gradient(140deg,#a28aff,#6342de);font:700 22px 'Segoe UI',sans-serif;color:#fff}.menu-toggle{display:none}.menu-backdrop{display:none}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}.table-wrap{max-width:100%}

/* Overflow stays inside the table and is keyboard accessible */
.table-wrap.has-table-overflow:focus-visible{outline:2px solid var(--accent,#8568ff);outline-offset:3px}
.table-wrap.has-table-overflow::before{content:"표를 좌우로 넘겨 전체 내용을 확인하세요";display:block;font-size:12px;color:var(--muted);padding-bottom:10px}
.member-link{border:0;background:none;color:var(--accent,#6342de);text-align:left;padding:4px 0;font:inherit;cursor:pointer;min-height:44px}
.member-link:hover .member-name{text-decoration:underline}
