.kadmin{position:fixed;inset:0;z-index:10000;background:#1d1029bb;backdrop-filter:blur(8px);display:flex;align-items:center;justify-content:center;padding:20px;color:#513c58;font:15px system-ui}.kadmin[hidden]{display:none}.kadmin section{position:relative;width:min(720px,100%);max-height:90dvh;overflow:auto;background:#fff7e9;border:2px solid #c4afd4;border-radius:24px;padding:30px;box-shadow:0 20px 80px #160a3380}.kadmin h2{font-size:26px;color:#664b79;margin:0 0 16px}.kadmin p{line-height:1.7}.kadmin input,.kadmin select,.kadmin button,.new-filters select{font:inherit;border-radius:10px;padding:10px 14px;border:1px solid #bd9aca;background:#fffaf0;color:#634a72}.kadmin button{background:#79548e;color:white;cursor:pointer}.kadmin button:disabled{opacity:.5;cursor:default}.kadmin label{display:flex;flex-direction:column;gap:7px;margin:12px 0}.kadmin .new-close{position:absolute;right:12px;top:12px;z-index:2;border:0;background:#fff8edda;color:#694775;font-size:24px;padding:3px 12px}.kadmin .err,#newError{color:#a2314d;white-space:pre-wrap}.new-filters{display:flex;align-items:center;flex-wrap:wrap;gap:14px;padding:14px 24px}.new-filters img{width:45px;height:45px;object-fit:contain}.new-filters label{display:flex;align-items:center;gap:8px}.heading-icon{width:58px;height:58px;object-fit:contain;vertical-align:middle;margin-right:12px}#walletButton{display:inline-flex;gap:5px;align-items:center}#walletButton img{width:27px;height:27px;object-fit:contain}.ledger article{display:flex;gap:16px;align-items:center;border-top:1px solid #dfcee6;padding:16px 0}.ledger article img{width:45px;height:45px;object-fit:contain}.ledger article div{flex:1;min-width:0;overflow-wrap:anywhere}.ledger small{display:block;margin-top:6px;color:#84718b}.ledger strong{white-space:nowrap}.muted{font-size:13px;color:#84718b}.booth-hero{background:url(title/ui/new/booth.webp) center/cover;margin:-30px -30px 20px;padding:40px 30px;height:245px;box-sizing:border-box}.booth-hero h2{max-width:48%;font-size:26px}.booth-hero p{max-width:42%;font-size:16px}.grant-fields{display:grid;grid-template-columns:1fr 1fr;gap:0 18px}.grant-fields input,.grant-fields select{min-width:0;width:100%;box-sizing:border-box}.used-stamp{position:absolute;bottom:10px;right:8px;width:70px;z-index:6;transform:rotate(-12deg)}.dcard .cd{position:relative}.dcard button.status{cursor:pointer;padding:8px 12px;background:#493452;font:inherit}.dcard button:disabled{cursor:default}.dcard small{font-size:11px}.avatar{flex-shrink:0}.tpanel #resetButton{margin-top:12px;display:block;padding:8px;background:#5e354e;color:#fff;border:1px solid #997285;border-radius:8px;cursor:pointer}@media(max-width:600px){.kadmin{padding:10px}.kadmin section{padding:22px}.grant-fields{grid-template-columns:1fr}.booth-hero{margin:-22px -22px 14px;height:220px;padding:34px 22px}.booth-hero h2{font-size:22px}.new-filters{padding:12px;gap:8px}.new-filters select{padding:7px}.pill{flex-wrap:wrap}.top{flex-wrap:wrap}}
#grantButton{position:absolute;left:0;bottom:calc(100% + .8cqw);white-space:nowrap}.pill #walletButton img{width:1.8cqw;height:1.8cqw}.pill #walletButton{gap:.3cqw}.new-filters select{max-width:145px}
/* 2026-10-21 polish: keep functional controls clear of decoration. */
.top #grantButton{position:static;bottom:auto;left:auto;height:2.8cqw;min-height:30px;padding:0 1.6cqw;font-size:1.15cqw;white-space:nowrap;flex-shrink:0}.app>.tst{position:absolute;left:3cqw;top:2.2cqw;z-index:15}.app>.tst .tpanel{left:0;right:auto}.top{justify-content:flex-end}.sheet{padding-bottom:58px;box-sizing:border-box;grid-template-rows:auto minmax(0,1fr)}.sheet::before,.sheet::after{width:64px;bottom:6px}.sheet>.body{min-height:0;overflow:auto}.dtrack{align-items:flex-start;padding:12px 12px 24px}.dcard .cd{overflow:hidden}.dcard .cd img.used-stamp{position:absolute;inset:auto 10px 10px auto;width:clamp(36px,20%,62px);height:auto;max-width:23%;max-height:23%;object-fit:contain;display:block;transform:rotate(-10deg);pointer-events:none}.dcard .info{padding:10px 5px 18px}.dcard .info small{display:block;margin-top:8px}.album-filters{padding:0 0 16px}.tile .sub{min-height:2em}.pill #walletButton{white-space:nowrap}.new-filters{color:#e9d9f2}
.kadmin.grant-panel section{width:min(850px,100%);padding:0;border:2px solid #d2b77c;background:linear-gradient(135deg,#2f2344,#1d172e);color:#f6e6cc;box-shadow:0 0 0 5px #382746,0 28px 90px #11091bd9}.grant-panel .booth-hero{height:280px;margin:0;padding:0;position:relative;border-bottom:3px solid #c8a26a;background-position:center 46%}.grant-panel .booth-hero h2{position:absolute;left:3%;top:35%;margin:0;width:50%;max-width:none}.grant-title{display:block;width:100%;height:auto;filter:drop-shadow(0 3px 3px #412c44aa)}.grant-panel #grantForm{padding:24px 30px 30px}.grant-panel .grant-fields{gap:10px 24px}.grant-panel label{font-weight:600;color:#e7cf9c;letter-spacing:.03em}.grant-panel input{background:#171127;color:#f7ecd6;border:1px solid #9d7aab;border-radius:9px;box-shadow:inset 0 2px 8px #0004;padding:13px 15px}.grant-panel input::placeholder{color:#9d8ba8;font-weight:400}.grant-panel #grantSubmit{display:block;width:250px;max-width:100%;margin:24px auto 0;padding:14px;border:2px solid #d9b772;border-radius:14px;background:linear-gradient(#8d6a9c,#593d70);box-shadow:inset 0 0 0 2px #bb96ca,0 5px 0 #140e23;color:#fff1cc;font-weight:700;font-size:18px}.grant-panel #newError{padding:0 30px;margin:0 0 20px;color:#ffbac4}.game-select{position:relative;display:inline-block;min-width:150px;max-width:100%}.native-source{position:absolute!important;width:1px!important;height:1px!important;opacity:0;pointer-events:none;overflow:hidden;padding:0!important;border:0!important}.game-select .game-select-trigger,.kadmin .game-select-trigger{width:100%;box-sizing:border-box;text-align:left;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;border:1px solid #d3b780;border-radius:10px;padding:11px 16px;background:linear-gradient(120deg,#483456,#2a203d);box-shadow:inset 0 0 0 3px #ffffff0b,0 3px 0 #160e26;color:#f8ebd3;font:inherit;cursor:pointer;min-height:44px}.game-select-trigger:focus-visible,.game-options button:focus-visible{outline:2px solid #f6cf72;outline-offset:3px}.game-options{position:fixed;overflow:auto;z-index:20000;background:linear-gradient(#392a4a,#221a32);border:2px solid #c7a471;border-radius:12px;padding:6px;box-sizing:border-box;box-shadow:0 12px 36px #0009}.game-options button{display:block;width:100%;border:0;background:none;text-align:left;color:#f4e4ce;font:15px 'Gowun Dodum',system-ui;padding:12px 14px;border-radius:7px;cursor:pointer}.game-options button:hover,.game-options button:focus,.game-options button[aria-selected=true]{background:#76558b;color:#fff1c2}.game-options button:disabled{opacity:.4}.grant-fields .game-select{width:100%}.grant-panel .muted{color:#cbb6d7}.kadmin label .game-select{margin-top:2px}.new-filters label{flex-wrap:wrap}.new-filters .game-select{min-width:155px}
@media(hover:hover) and (pointer:fine){html,body,.app,.ov,.kadmin{cursor:url('title/ui/new/cursor.png') 4 3,auto}button,a,[role=option],.game-options button,.game-select-trigger,.kadmin button{cursor:url('title/ui/new/cursor.png') 4 3,pointer}input,textarea{cursor:text}}
@media(max-width:600px){.top #grantButton{font-size:12px;height:30px;padding:0 12px}.grant-panel .booth-hero{height:210px}.grant-panel .booth-hero h2{width:57%;top:31%;left:2%}.grant-panel #grantForm{padding:18px 20px 24px}.grant-panel .grant-fields{gap:0}.sheet{padding-bottom:50px}.new-filters .game-select{min-width:130px}.game-select .game-select-trigger{font-size:13px}.sheet header{padding:14px}.sheet::before,.sheet::after{width:52px}.app>.tst{top:auto;bottom:8cqw;left:auto;right:3cqw}.app>.tst .tpanel{left:auto;right:0}}
/* v3: readable status, balanced icons, in-site dialogs */
.dcard .info .status{margin-top:14px}.dcard .info .gchip{color:#2a1a36;text-shadow:0 0 .3em #ffffffb3}.dcard .info .gchip.r,.dcard .info .gchip.sec{color:#fff;text-shadow:0 0 .3em #1e0a3299}.avatar{background-size:contain!important;background-position:center!important}.game-notice[hidden]{display:none}.game-notice{position:fixed;inset:0;z-index:30000;display:grid;place-items:center;padding:22px;background:#120c22bb;backdrop-filter:blur(7px);color:#f5e8cc}.game-notice section{box-sizing:border-box;width:min(460px,100%);border:2px solid #d4af6b;border-radius:22px;padding:26px 28px 32px;text-align:center;background:linear-gradient(145deg,#493255,#231b36);box-shadow:inset 0 0 0 5px #ffffff08,0 25px 70px #0008}.game-notice section>img{width:65px;height:65px;object-fit:contain}.game-notice h2{margin:12px 0;font:26px var(--display),system-ui;color:#fff0cd}.game-notice p{white-space:pre-wrap;line-height:1.8;overflow-wrap:anywhere;margin:16px 0 26px}.game-notice section>div{display:flex;justify-content:center;gap:12px}.game-notice button{font:inherit;min-width:100px;padding:11px 20px;border-radius:12px;border:1px solid #b292c1;background:#493855;color:#eee0f3;cursor:pointer}.game-notice #noticeOK{border:2px solid #dfbc77;background:linear-gradient(#9773aa,#614774);color:#fff2ce}.game-notice button:focus-visible{outline:3px solid #f6cf72;outline-offset:4px}.game-notice button[hidden]{display:none}#hint{display:none!important}

/* v8: title clearance, shared skip option, viewport-contained test panel */
.banner{top:3.5cqw}
.wishbtns{bottom:3.2cqw}
.wishbtns>.skipopt{top:calc(100% + .3cqw);bottom:auto;left:50%;min-height:1.5cqw}
#tPanel{position:fixed;z-index:21000;right:auto;bottom:auto;width:min(330px,calc(100vw - 24px));max-height:calc(100dvh - 24px);box-sizing:border-box;overflow:auto;gap:9px;padding:18px;border-radius:16px;font-size:14px}
#tPanel b{font-size:18px}#tPanel p,#tPanel .sub{font-size:13px}#tPanel input{width:16px;height:16px}#tPanel label{gap:8px}#tPanel button{min-height:34px}

/* v9 shared ticket frames: overlap slice joins; clip stray edge pixels. */
.top{gap:.8cqw;align-items:center}
.top .pill{border:0;background:none;backdrop-filter:none;padding:0;height:auto;gap:.65cqw}
.top #grantButton,.top #walletButton,.ticket-balance{--ticket-height:2.8cqw;display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;height:var(--ticket-height);min-height:0;gap:.45cqw;padding:0 1.8cqw;color:#fff0d5;border:0;border-radius:99px;overflow:hidden;background:url(title/ui/bs_l.png) left center/var(--ticket-height) 100% no-repeat,url(title/ui/bs_r.png) right center/var(--ticket-height) 100% no-repeat,url(title/ui/bs_m.png) center/calc(100% - var(--ticket-height) * 2 + 2px) 100% no-repeat;filter:drop-shadow(0 .15cqw .3cqw #150b2944);font:1.1cqw var(--display);white-space:nowrap}
.top #grantButton:hover,.top #walletButton:hover{filter:brightness(1.12)}
.top #grantButton img,.top #walletButton img,.ticket-balance .tk{width:1.8cqw;height:1.8cqw;margin:0;object-fit:contain}
.ticket-balance{padding:0 1.65cqw;min-width:7.7cqw}
.ticket-balance b{font-size:1.35cqw;min-width:2ch;text-align:center}
#b1 .wi{height:3.20625cqw;width:auto;max-width:none;object-fit:contain}
#b10 .wi{height:3.261228540772532cqw;width:auto;max-width:none;object-fit:contain}
.sort-direction{width:44px;height:42px;padding:0;border:1px solid #cfb176;border-radius:12px;background:linear-gradient(#5d416c,#2f2341);color:#ffe7ac;font:28px Georgia;cursor:pointer}
.sort-direction:hover{filter:brightness(1.15)}
.new-filters .ticket-holder-filter{display:flex;align-items:center;gap:8px;white-space:nowrap}
.ticket-holder-filter input{width:18px;height:18px;accent-color:#b28bdc}
.member-empty{grid-column:1/-1;text-align:center;padding:40px 12px;color:var(--dim)}
.admin-tools-overlay{position:fixed;inset:0;z-index:19000;display:grid;place-items:center;padding:20px;background:#0c081bc9;backdrop-filter:blur(6px)}
.admin-tools-overlay[hidden]{display:none}
.admin-tools-overlay #tPanel{position:relative;left:auto;top:auto;right:auto;width:min(520px,100%);max-height:calc(100dvh - 40px);margin:0;z-index:auto;background:linear-gradient(145deg,#392b50,#1d172e);border:1px solid #c8a96b;box-shadow:inset 0 0 0 4px #f4d8a314,0 20px 60px #0008}
.admin-tools-header{display:flex;justify-content:space-between;align-items:center;gap:16px}
.admin-tools-header h2{font:24px var(--display);margin:0;color:#ffe7b6}
#adminClose{width:36px;height:36px;border:1px solid #d7b77d88;border-radius:50%;background:#ffffff0d;color:#fff1d4;font-size:24px}
.admin-tools-extra{display:grid;gap:16px;margin-top:12px;padding-top:16px;border-top:1px solid #d9b97a40}
.admin-tools-extra>label{display:grid;gap:8px!important}.admin-tools-extra .game-select{width:100%}
.admin-tools-actions{display:flex;flex-wrap:wrap;gap:8px}.admin-tools-actions button{padding:8px 12px;border:1px solid #c7a67488;border-radius:10px;background:#6e507044;color:#fff0d4}
#adminSummary{padding-bottom:12px;border-bottom:1px solid #d9b97a40}

#b10 .wi{transform:translateX(-.154cqw)}
