/* The original two skins share geometry; only their brand artwork/palette differ. */
/* Archived mobile home: three 35px quick actions and the welcome notice strip. */
body.legacy-player .legacy-auth-form input{height:46px;width:210px;border:1px solid var(--legacy-border);border-radius:25px;text-align:center;font-size:18px;background:#111}
body.legacy-player .legacy-auth-form input::placeholder{color:#fff;opacity:1}
body.legacy-player:not(.legacy-mobile)[data-legacy-page=login] .legacy-auth-wrap{position:fixed;left:50%;top:50%;transform:translate(-50%,-50%);margin:0;padding-bottom:20px}
body.legacy-player:not(.legacy-mobile)[data-legacy-page=login] .legacy-auth-back{position:absolute;top:100%;left:0;right:0;margin:20px 0}
body.legacy-player .legacy-auth-form .legacy-error:empty{display:none}
body.legacy-player.legacy-mobile .legacy-mobile-home-boards{margin-top:10px}
body.legacy-player.legacy-mobile .legacy-mobile-board{padding:3px}
body.legacy-player.legacy-mobile .legacy-mobile-board h3{height:45px;margin:0;padding-left:20px;line-height:45px;font-size:15px;background:var(--legacy-mobile-board-art,var(--legacy-gradient)) center/100% 100% no-repeat;color:#fff}
body.legacy-player.legacy-mobile .legacy-mobile-board h3 img{height:12px;width:auto;margin-right:5px}
body.legacy-player.legacy-mobile .legacy-mobile-board ul{margin:5px}
body.legacy-player.legacy-mobile .legacy-mobile-board li a{display:flex;align-items:center;gap:5px;padding:8px;border-bottom:1px solid #3d403f;color:#fff;font-size:12px;min-width:0}
body.legacy-player.legacy-mobile .legacy-mobile-board li a img{height:12px;width:12px;flex:none}
body.legacy-player.legacy-mobile .legacy-mobile-board li a span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
body.legacy-player.legacy-mobile .legacy-mobile-home-actions{height:35px;padding:0;background:#000}
body.legacy-player.legacy-mobile .legacy-mobile-home-actions>a,body.legacy-player.legacy-mobile .legacy-mobile-home-actions>button{display:block;flex:1;min-width:0;height:35px;padding:0;border:0;border-radius:0;background:none;color:#fff;text-align:center;font-size:14px;line-height:35px;white-space:nowrap}
body.legacy-player.legacy-mobile .legacy-mobile-home-actions>:nth-child(2){border-left:1px solid #16191f;border-right:1px solid #16191f}
body.legacy-player.legacy-mobile .legacy-mobile-home-actions img{height:14px;width:auto;margin-right:10px;vertical-align:middle}
body.legacy-player.legacy-mobile .legacy-mobile-home-actions span{line-height:1;vertical-align:middle}
body.legacy-player.legacy-mobile .legacy-mobile-marquee{position:relative;width:100%;height:30px;padding:0 15px 0 70px;margin:10px auto;font-size:14px;line-height:30px;color:#fff;overflow:hidden}
body.legacy-player.legacy-mobile .legacy-marquee-label{position:absolute;left:8px;top:6px;padding:2px 5px;border-radius:2px;font-size:12px;line-height:normal;background:var(--legacy-gradient);color:#fff}
body.legacy-player.legacy-mobile .legacy-marquee-track{overflow:hidden;white-space:nowrap}
body.legacy-player.legacy-mobile .legacy-marquee-track>span{display:inline-block;white-space:pre;animation:legacy-home-marquee 24s linear 2s infinite}
body.legacy-player.legacy-mobile .legacy-mobile-marquee:hover span,body.legacy-player.legacy-mobile .legacy-mobile-marquee:focus-within span{animation-play-state:paused}
@keyframes legacy-home-marquee{0%,8%{transform:translateX(0)}92%,100%{transform:translateX(-100%)}}
@media(prefers-reduced-motion:reduce){body.legacy-player.legacy-mobile .legacy-marquee-track{overflow:auto}body.legacy-player.legacy-mobile .legacy-marquee-track>span{animation:none}}
:root{--legacy-accent:#ff252d;--legacy-border:#ff878c;--legacy-deep:#c80c12;--legacy-gradient:linear-gradient(#ff343b,#a60b12);--legacy-surface:#0e1013;--legacy-muted:#a2a5ab;--ink:#f3f3f3;--muted:#a2a5ab;--line:#494949;--card:#151719;--soft:#1e2126;--brand:var(--legacy-accent)}
body.legacy-player[data-legacy-brand="gogo"]{--legacy-accent:#009cfD;--legacy-border:#67b6f5;--legacy-deep:#022599;--legacy-gradient:linear-gradient(#009cfd,#022599)}
html:has(body.legacy-player){background:#000}body.legacy-player{margin:0;background:#000;color:#fff;font:13px Arial,"Noto Sans KR","Malgun Gothic",sans-serif;min-width:1480px;min-height:100vh}body.legacy-player *{box-sizing:border-box}body.legacy-player a{color:inherit;text-decoration:none}body.legacy-player button,body.legacy-player input,body.legacy-player select,body.legacy-player textarea{font:inherit}body.legacy-player button,body.legacy-player a{touch-action:manipulation}body.legacy-player button{cursor:pointer}body.legacy-player button:disabled{cursor:not-allowed;opacity:.5}body.legacy-player button:focus-visible,body.legacy-player a:focus-visible{outline:2px solid #fff;outline-offset:3px}body.legacy-player img{max-width:100%;vertical-align:middle}body.legacy-player [hidden]{display:none!important}body.legacy-player input,body.legacy-player select,body.legacy-player textarea{background:#111;color:#fff;border:1px solid #62676f;border-radius:2px;padding:9px 10px;min-width:0}body.legacy-player input:focus,body.legacy-player textarea:focus{outline:1px solid var(--legacy-border)}body.legacy-player input::placeholder{color:#8d8d8d}body.legacy-player h1,body.legacy-player h2,body.legacy-player h3,body.legacy-player p{margin-top:0}body.legacy-player ul{list-style:none;margin:0;padding:0}.legacy-loading,.legacy-empty{padding:45px 20px;text-align:center;color:#a4a9b0}.legacy-error{color:#ff9c9c;white-space:pre-line;line-height:1.7}.legacy-button{border:1px solid var(--legacy-border);background:var(--legacy-gradient);color:#fff;padding:9px 15px;border-radius:2px}.legacy-button.secondary{background:#333;border-color:#555}.legacy-header{height:100px;background:#000;border-bottom:1px solid var(--legacy-accent);display:flex;align-items:center;min-width:1480px}.legacy-logo{width:300px;flex:none;padding-left:50px}.legacy-logo img{height:70px;max-width:220px;object-fit:contain}.legacy-top-nav{display:flex;align-items:center;height:100%;white-space:nowrap;flex:1}.legacy-top-nav>a,.legacy-top-nav>details>summary{display:flex;align-items:center;justify-content:center;height:100px;padding:0 15px;font-size:17px;font-weight:700;letter-spacing:.5px;cursor:pointer}.legacy-top-nav>a:hover,.legacy-top-nav>details:hover{color:var(--legacy-border);text-shadow:0 0 6px var(--legacy-accent)}.legacy-top-nav details{position:relative}.legacy-top-nav summary{list-style:none}.legacy-top-nav details>div{position:absolute;z-index:30;top:99px;left:0;min-width:180px;background:#111;border:1px solid var(--legacy-border)}.legacy-top-nav details>div a{display:block;padding:15px}.legacy-mobile-header,.legacy-mobile-money,.legacy-mobile-nav,.legacy-mobile-only{display:none}.legacy-layout{display:flex;gap:10px;padding:10px;align-items:flex-start;min-width:1480px}.legacy-sidebar{width:270px;flex:none;position:sticky;top:10px;max-height:calc(100vh - 20px);overflow:auto;scrollbar-width:thin;scrollbar-color:#444 #111}.legacy-main{min-width:0;flex:1;order:2}.legacy-left{order:1}.legacy-right{order:3}.legacy-left-notice{display:block;margin-bottom:10px}.legacy-left-notice img{width:100%}.legacy-quick-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:1px;background:#333;border:1px solid #424242;margin-bottom:10px}.legacy-quick-grid a{padding:9px 0 7px;text-align:center;background:#16181b;font-size:12px;min-height:70px}.legacy-quick-grid a:hover{background:#292d32}.legacy-quick-grid img{display:block;height:29px;max-width:40px;object-fit:contain;margin:0 auto 5px}.legacy-quick-grid .legacy-symbol{display:block;font-size:25px;margin-bottom:4px}.legacy-sport-title{padding:12px 10px;background:#17191c;border-top:2px solid var(--legacy-accent);display:flex;gap:15px;color:#d1d1d1;font-weight:700}.legacy-sport-title time{margin-left:auto;font-size:11px;color:#aaa}.legacy-sport-list a{height:43px;border:1px solid #373940;border-top:0;background:linear-gradient(#292b31,#202126);display:flex;align-items:center;gap:8px;padding:0 12px;font-weight:700}.legacy-sport-list img{width:17px;height:17px;object-fit:contain}.legacy-sport-list small{margin-left:auto;color:#aaa}.legacy-side-section{margin-top:10px}.legacy-side-section h3{margin:0;padding:11px 10px;background:var(--legacy-gradient);font-size:14px}.legacy-side-section a{display:block;padding:11px 14px;border-bottom:1px solid #333;background:#1c1e22}.legacy-clock{text-align:center;padding:24px 0;color:#999;font-size:23px;letter-spacing:2px}.legacy-user-box{border:1px solid var(--legacy-border);border-radius:4px;background:var(--legacy-surface);padding:10px;margin-bottom:10px}.legacy-user-heading{height:46px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #333;font-size:12px}.legacy-user-heading b{font-size:14px}.legacy-user-heading button{background:#35444f;border:0;color:white;font-size:12px;padding:5px 7px;border-radius:2px}.legacy-user-stat{height:32px;display:flex;align-items:center;justify-content:space-between;padding:0 4px;font-size:12px}.legacy-user-stat strong{color:#ffe485}.legacy-user-stat button{padding:5px;background:var(--legacy-accent);border:0;color:#fff;font-size:11px;margin-left:4px}.legacy-casino-balance{height:30px;line-height:30px;background:#ffffff15;padding-left:10px;margin:10px 0}.legacy-user-actions{display:flex;gap:10px}.legacy-user-actions button{flex:1;height:34px;background:var(--legacy-gradient);color:white;border:0}.legacy-side-banner{display:block;margin:10px 0}.legacy-side-banner img{display:block;width:100%}.legacy-side-login{display:grid;gap:7px}.legacy-side-login .legacy-user-actions{gap:5px}.legacy-home-banner{width:100%;display:block;position:relative;background:#000;overflow:hidden}.legacy-home-banner img,.legacy-home-banner video{display:block;width:100%;height:auto;aspect-ratio:1180/320;object-fit:cover}.legacy-banner-dots{position:absolute;bottom:9px;left:0;right:0;display:flex;justify-content:center;gap:7px}.legacy-banner-dots button{border:0;background:#888;border-radius:50%;width:9px;height:9px;padding:0}.legacy-banner-dots button.on{background:var(--legacy-accent)}.legacy-home-boards{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:10px 0}.legacy-home-board{border:1px solid var(--legacy-border);background:#101216;min-width:0}.legacy-home-board h2{font-size:15px;font-weight:700;padding:13px 15px;border-bottom:1px solid #383a3d;margin:0;display:flex;gap:10px;align-items:center}.legacy-home-board h2 img{height:18px;max-width:25px}.legacy-home-board h2 a{font-size:11px;color:var(--legacy-border);margin-left:auto}.legacy-home-board li{display:flex;align-items:center;gap:8px;border-bottom:1px solid #25272a;padding:8px 11px;height:34px}.legacy-home-board li:last-child{border-bottom:0}.legacy-home-board li>a:first-of-type{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;flex:1}.legacy-home-board li>span{color:var(--legacy-border);font-size:11px}.legacy-home-board .legacy-post-icon{height:15px;width:15px;object-fit:contain}.legacy-home-tiles{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:10px 0}.legacy-home-tile{display:block;transition:filter .2s}.legacy-home-tile img{display:block;width:100%;height:auto}.legacy-home-tile:hover{filter:brightness(1.12)}.legacy-footer{padding:25px 10px;text-align:center;color:#747474;background:#070707;margin-top:10px}.legacy-footer-links{display:flex;justify-content:center;gap:20px;flex-wrap:wrap;padding-bottom:15px}.legacy-footer p{font-size:11px;margin:0}.legacy-footer-art{display:block;width:100%;margin:0 auto 20px;max-height:100px;object-fit:contain}.legacy-heading{display:flex;align-items:center;gap:15px;min-height:56px;border-bottom:1px solid var(--legacy-border);margin:0 0 15px;padding:10px 16px;background:#101216;font-size:20px;font-weight:700}.legacy-heading small{font-size:12px;font-weight:400;color:#aaa}.legacy-heading a,.legacy-heading button{margin-left:auto;font-size:12px}.legacy-content-panel{background:#111316;border:1px solid #3a3c40;padding:18px;min-height:230px}.legacy-content-panel table{width:100%;border-collapse:collapse;color:#ddd}.legacy-content-panel th{background:var(--legacy-gradient);padding:12px;font-weight:400}.legacy-content-panel td{padding:12px;border-bottom:1px solid #373940;text-align:center}.legacy-content-panel td.title{text-align:left}.legacy-post-body{white-space:pre-wrap;line-height:1.9;padding:20px 5px;color:#ddd;overflow-wrap:anywhere}.legacy-post-body img{display:block;max-width:100%;height:auto;margin:12px auto}.legacy-auth-screen{position:fixed;inset:0;overflow:auto;display:flex;align-items:center;justify-content:center;background:#030303 var(--legacy-login-bg) center/cover no-repeat}.legacy-auth-wrap{width:825px;position:relative;margin:35px auto}.legacy-auth-logo{text-align:center;margin-bottom:60px}.legacy-auth-logo img{height:120px;max-width:90%;object-fit:contain}.legacy-auth-form{display:flex;gap:5px;align-items:center;flex-wrap:wrap}.legacy-auth-form input{height:46px;width:210px;border:1px solid var(--legacy-border);border-radius:25px;text-align:center;font-size:18px;background:#111}.legacy-auth-form input::placeholder{color:#fff}.legacy-auth-form button,.legacy-auth-form a{display:grid;place-items:center;height:46px;background:var(--legacy-accent);border:0;border-radius:25px;font-weight:700;color:#fff;width:108px;padding:0 8px}.legacy-auth-form a:last-of-type{width:168px}.legacy-auth-form .legacy-error{width:100%;text-align:center;margin:14px 0 0}.legacy-auth-back{display:block;text-align:center;margin:20px;color:#aaa;font-size:12px}.legacy-join-card{background:#141617eF;border:1px solid var(--legacy-border);padding:30px 35px;width:620px;max-width:100%;margin:auto;border-radius:5px}.legacy-join-card h1{text-align:center;font-size:24px;margin:0 0 24px}.legacy-join-card label{display:grid;grid-template-columns:140px 1fr;align-items:center;gap:10px;margin-bottom:12px}.legacy-join-card input,.legacy-join-card select{width:100%;height:42px}.legacy-join-card .legacy-form-actions{display:flex;gap:10px;justify-content:center;margin-top:25px}.legacy-join-card .legacy-form-actions>*{flex:1;text-align:center}.legacy-sms-row{display:flex;gap:7px;grid-column:2}.legacy-sms-row input{width:120px;flex:1}.legacy-sms-row button{white-space:nowrap}.legacy-join-card .legacy-phone-note{grid-column:2;font-size:12px;margin:0;color:#bbb}.legacy-join-card label.legacy-agreement{display:flex;font-size:12px}.legacy-agreement input{width:16px;height:16px}.legacy-popup-layer{position:fixed;inset:0;z-index:100;pointer-events:none}.legacy-popup{position:absolute;width:370px;max-width:calc(100vw - 24px);background:#111;border:1px solid #555;box-shadow:0 12px 45px #0008;pointer-events:auto}.legacy-popup img{width:100%;max-height:75vh;object-fit:contain;display:block}.legacy-popup h3{padding:14px;margin:0;background:var(--legacy-gradient)}.legacy-popup p{padding:15px;white-space:pre-wrap}.legacy-popup footer{display:flex;justify-content:space-between;padding:8px 10px;background:#292929}.legacy-popup footer button{border:0;background:none;color:#ddd;font-size:12px}.legacy-popup footer button:last-child{color:var(--legacy-border)}.legacy-toasts{position:fixed;bottom:25px;left:50%;transform:translateX(-50%);z-index:300;display:grid;gap:7px;pointer-events:none}.legacy-toast{padding:13px 22px;background:#25292e;color:white;border:1px solid #666;border-radius:3px;box-shadow:0 5px 30px #0008;max-width:90vw;text-align:center}.legacy-dialog-backdrop{position:fixed;inset:0;background:#000a;display:grid;place-items:center;z-index:120;padding:15px}.legacy-dialog{width:520px;max-width:100%;max-height:90vh;overflow:auto;background:#17191d;border:1px solid var(--legacy-border);box-shadow:0 15px 60px #000c}.legacy-dialog>header{display:flex;align-items:center;justify-content:space-between;padding:15px;background:var(--legacy-gradient);font-size:16px}.legacy-dialog>header button{background:none;border:0;color:white;font-size:22px}.legacy-dialog-body{padding:20px}.legacy-money-row{display:flex;gap:8px;margin:15px 0}.legacy-money-row input{flex:1}.legacy-money-row button{white-space:nowrap}.legacy-catalog-toolbar{display:flex;gap:10px;margin-bottom:15px;align-items:center}.legacy-catalog-toolbar input{flex:1;min-height:40px}.legacy-catalog-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.legacy-provider,.legacy-catalog-game{border:1px solid var(--legacy-border);background:#111;padding:0;overflow:hidden;text-align:center;color:#fff}.legacy-provider img{width:100%;aspect-ratio:320/180;object-fit:cover;display:block}.legacy-provider>span,.legacy-catalog-game>span{display:block;padding:12px 5px;background:var(--legacy-deep);font-size:13px}.legacy-catalog-game img{width:100%;aspect-ratio:4/3;object-fit:cover;display:block}.legacy-provider .legacy-image-missing,.legacy-catalog-game .legacy-image-missing{aspect-ratio:16/9;display:grid;place-items:center;font-size:22px;color:#ddd;background:radial-gradient(at top,#414141,#111);padding:15px}.legacy-catalog-tabs{display:flex;gap:7px;overflow:auto;margin:0 0 15px}.legacy-catalog-tabs button{background:#282b31;color:#ddd;border:1px solid #47494e;padding:9px 16px;white-space:nowrap}.legacy-catalog-tabs button.on{background:var(--legacy-gradient);border-color:var(--legacy-border)}.legacy-roulette{text-align:center}.legacy-wheel-wrap{position:relative;width:360px;height:360px;max-width:80vw;max-height:80vw;margin:25px auto}.legacy-wheel{width:100%;height:100%;border-radius:50%;border:10px solid #d8a536;box-shadow:0 0 0 5px #714314,0 0 35px #bb7c2744;position:relative;transition:transform 4s cubic-bezier(.12,.65,.12,1);background:conic-gradient(#ac1622 0deg 60deg,#da9b23 60deg 120deg,#ac1622 120deg 180deg,#da9b23 180deg 240deg,#ac1622 240deg 300deg,#da9b23 300deg)}.legacy-wheel-label{position:absolute;left:50%;top:50%;width:44%;height:30px;transform-origin:left center;font-size:13px;text-shadow:0 1px 2px #000;overflow:hidden}.legacy-wheel-pointer{position:absolute;top:-12px;left:calc(50% - 13px);z-index:2;border-left:13px solid transparent;border-right:13px solid transparent;border-top:30px solid #fff}.legacy-wheel-center{position:absolute;inset:calc(50% - 42px);border-radius:50%;background:#151515;border:5px solid #dab348;display:grid;place-items:center;font-size:19px;font-weight:700;z-index:1}.legacy-drawer-shade{display:none}.legacy-drawer-close{display:none}
/* Keep source wheel artwork, while prize text always reflects backend policy. */
.legacy-roulette-title-art{display:block;width:60%;margin:30px auto;max-width:500px}.legacy-wheel-wrap{width:419px;height:419px;background:var(--roulette-frame) center/100% 100% no-repeat}.legacy-wheel{border:0;box-shadow:none;background:var(--roulette-face) center/100% 100% no-repeat}.legacy-wheel-label{top:0;left:32.7%;width:35.3%;height:50%;transform-origin:50% 100%;padding:28px 5px 0;white-space:normal;line-height:1.4;text-shadow:0 1px 2px #000;overflow:hidden}.legacy-wheel-label img{width:100px;height:120px;object-fit:contain}.legacy-wheel-center{inset:auto;left:50%;top:50%;transform:translate(-50%,-50%);width:111px;height:126px;border:0;border-radius:0;background:var(--roulette-button) center/contain no-repeat;text-indent:-9999px;pointer-events:none}.legacy-wheel-pointer{display:none}
/* Existing audited member controllers render inside this skin. */
/* Source form geometry: 600px two-column registration, 110px cashier
   labels/500px controls on desktop, 90px/remaining-space on mobile. */
.legacy-original-icon{font-family:LegacyMobileIcons!important;font-style:normal;font-weight:400;line-height:1}
body.legacy-player[data-legacy-page=signup]{min-width:0}
body.legacy-player[data-legacy-page=signup] .legacy-auth-screen{position:relative;min-height:100vh;align-items:flex-start;background-attachment:fixed}
body.legacy-player[data-legacy-page=signup] .legacy-auth-wrap{width:600px;max-width:calc(100% - 36px);margin:100px auto 50px;padding:0}
body.legacy-player[data-legacy-page=signup] .legacy-auth-logo{margin-bottom:50px}
body.legacy-player[data-legacy-page=signup] .legacy-auth-logo img{width:250px;height:auto;max-height:none}
body.legacy-player[data-legacy-page=signup] .legacy-join-card{width:100%;padding:0;border:0;border-radius:0;background:transparent;display:grid;grid-template-columns:minmax(0,45%) minmax(0,45%);justify-content:space-between;gap:0 10%}
body.legacy-player[data-legacy-page=signup] .legacy-join-card h1{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
body.legacy-player[data-legacy-page=signup] .legacy-join-card>label{display:flex;flex-direction:column;align-items:stretch;justify-content:flex-end;gap:0;margin:10px 0 0;min-height:74px;font-size:12px;line-height:35px}
body.legacy-player[data-legacy-page=signup] .legacy-join-card :is(input,select){height:38px;padding:0 6px;border-radius:4px;border:1px solid var(--legacy-border);background:#0e1013;font-size:13px}
body.legacy-player[data-legacy-page=signup] [data-join-field=login_id]{grid-column:1;grid-row:1}
body.legacy-player[data-legacy-page=signup] [data-join-field=password]{grid-column:1;grid-row:2}
body.legacy-player[data-legacy-page=signup] [data-join-field=confirm]{grid-column:1;grid-row:3}
body.legacy-player[data-legacy-page=signup] [data-join-field=display_name]{grid-column:1;grid-row:4}
body.legacy-player[data-legacy-page=signup] [data-join-field=bank_name]{grid-column:2;grid-row:1}
body.legacy-player[data-legacy-page=signup] [data-join-field=bank_account]{grid-column:2;grid-row:2}
body.legacy-player[data-legacy-page=signup] [data-join-field=account_holder]{grid-column:2;grid-row:3}
body.legacy-player[data-legacy-page=signup] [data-join-field=withdrawal_pin]{grid-column:2;grid-row:4}
body.legacy-player[data-legacy-page=signup] [data-join-field=withdrawal_pin_confirm]{grid-column:2;grid-row:5}
body.legacy-player[data-legacy-page=signup] [data-join-field=invite]{grid-column:1;grid-row:5}
body.legacy-player[data-legacy-page=signup] .has-phone-verification [data-join-field=phone]{grid-column:1;grid-row:5/7;align-self:start}
body.legacy-player[data-legacy-page=signup] .has-phone-verification [data-join-field=invite]{grid-column:2;grid-row:6}
body.legacy-player[data-legacy-page=signup] .legacy-join-card>label.legacy-agreement{grid-column:1/-1;min-height:0;display:flex;flex-direction:row;align-items:center;justify-content:flex-start;gap:8px;line-height:1.6;margin-top:22px}
body.legacy-player[data-legacy-page=signup] .legacy-agreement input{width:16px;height:16px}
body.legacy-player[data-legacy-page=signup] .legacy-agreement a{color:var(--legacy-border);text-decoration:underline}
body.legacy-player[data-legacy-page=signup] .legacy-join-card>.legacy-error{grid-column:1/-1;margin:10px 0 0}
body.legacy-player[data-legacy-page=signup] .legacy-form-actions{grid-column:1/-1;display:grid;grid-template-columns:45% 45%;justify-content:space-between;gap:10%;margin-top:20px}
body.legacy-player[data-legacy-page=signup] .legacy-form-actions>*{height:40px;display:grid;place-items:center;padding:0;border-radius:4px;border:0;background:var(--legacy-gradient);font-size:14px;font-weight:600;letter-spacing:4px}
body.legacy-player[data-legacy-page=signup] .legacy-form-actions>.secondary{background:linear-gradient(#9a9a9a,#454545)}
body.legacy-player[data-legacy-page=signup] .legacy-sms-row{display:grid;grid-template-columns:1fr 1fr;gap:6px;margin-top:8px;line-height:1.4}
body.legacy-player[data-legacy-page=signup] .legacy-sms-row [data-sms-send]{grid-column:1/-1}
body.legacy-player[data-legacy-page=signup] .legacy-sms-row input{width:100%}
body.legacy-player[data-legacy-page=signup] .legacy-phone-note{line-height:1.5;margin-top:8px}
body.legacy-player[data-legacy-page=signup] .is-anonymous{max-width:360px;display:flex;flex-direction:column}
body.legacy-player #portal[data-legacy-section] .sub-hero{position:relative;display:flex;align-items:center;height:50px;padding:0 10px;background:linear-gradient(#26282d,#15171b);border:0;margin-bottom:10px}
body.legacy-player #portal[data-legacy-section] .sub-hero h1{font-size:18px;margin:0}
body.legacy-player #portal[data-legacy-section] .sub-hero p{display:none}
body.legacy-player #portal [data-cashier-history]{margin-left:auto;font-size:12px;border:1px solid var(--legacy-border);border-radius:3px;padding:7px 10px}
body.legacy-player #portal:is([data-legacy-section=deposit],[data-legacy-section=withdraw]) .account-content{padding:0;border:0;background:#14161b;display:flex;flex-direction:column}
body.legacy-player #portal .legacy-cashier-guide.deposit-rules{order:0;border:0;margin:10px 0 0;padding:20px;color:#fff;background:transparent}
body.legacy-player #portal .legacy-cashier-guide h2{font-size:20px;margin:15px 0}
body.legacy-player #portal .legacy-cashier-guide .rules-scroll{border:0;border-radius:0;background:transparent;color:#fff;font-size:14px;line-height:2;max-height:none;padding:0;min-height:0}
body.legacy-player #portal .legacy-cashier-guide .rules-scroll h3{font-size:14px}
body.legacy-player #portal form[data-source-skin]{order:1;border:0;background:transparent;display:flex;flex-direction:column;gap:0;margin:10px 0;padding:20px 10px}
body.legacy-player #portal form[data-source-skin] .deposit-info{display:contents}
body.legacy-player #portal form[data-source-skin] :is(.deposit-info dl,.withdraw-row,.deposit-label){display:grid;grid-template-columns:110px minmax(0,500px);align-items:center;justify-content:start;gap:0;min-height:50px;margin:0 0 10px;padding:0;border:0}
body.legacy-player #portal form[data-source-skin] :is(dt,.deposit-label>strong,.withdraw-amount>label){font-size:14px;font-weight:600;color:#fff}
body.legacy-player #portal form[data-source-skin] :is(dd,.amount-input,.password-box){width:100%;max-width:none;min-width:0;text-align:left}
body.legacy-player #portal form[data-source-skin] :is(input,.account-ready){height:45px;padding:0 22px;border:1px solid var(--legacy-border);border-radius:4px;background:#0e1013;color:#fff;font-size:14px}
body.legacy-player #portal form[data-source-skin] .account-ready{height:auto;padding:12px 22px;line-height:1.8}
body.legacy-player #portal form[data-source-skin] .account-ready p{margin:0}
body.legacy-player #portal form[data-source-skin] .account-request{width:100%;height:40px;font-size:14px;font-weight:600;letter-spacing:2px;border:0;border-radius:4px}
body.legacy-player #portal form[data-source-skin] .account-result{display:block;font-size:12px;color:#a8b0bc;line-height:1.6;margin-top:6px}
body.legacy-player #portal form[data-source-skin] .legacy-account-row dt{visibility:hidden}
body.legacy-player #portal form[data-source-skin] :is(.deposit-section,.withdraw-amount){padding:0;border:0;margin:0 0 10px}
body.legacy-player #portal form[data-source-skin] .withdraw-amount{display:grid;grid-template-columns:110px minmax(0,500px);gap:0;align-items:center}
body.legacy-player #portal form[data-source-skin] .withdraw-amount .withdraw-note{grid-column:2;margin:8px 0 0}
body.legacy-player #portal form[data-source-skin] .withdraw-input{border:0}
body.legacy-player #portal form[data-source-skin] .withdraw-input input{text-align:left}
body.legacy-player #portal form[data-source-skin] .amount-input span,body.legacy-player #portal form[data-source-skin] .withdraw-input span{display:none}
body.legacy-player #portal form[data-source-skin] .password-box{position:relative}
body.legacy-player #portal form[data-source-skin] .password-toggle{position:absolute;right:1px;top:1px;height:43px;padding:0 12px;background:transparent;border:0;color:#bbc1cb}
body.legacy-player #portal form[data-source-skin] .pin-field{padding-right:55px}
body.legacy-player #portal form[data-source-skin] .deposit-min{margin-left:110px}
body.legacy-player #portal form[data-source-skin] .bonus-section{display:grid;grid-template-columns:110px minmax(0,500px);align-items:center;gap:0}
body.legacy-player #portal form[data-source-skin] .bonus-section>h3{font-size:14px;line-height:1.5;margin:0}
body.legacy-player #portal form[data-source-skin] [data-source-bonus]{height:45px;width:100%;background:#0e1013;border:1px solid var(--legacy-border);border-radius:4px;font-size:13px}
body.legacy-player #portal .legacy-native-bonuses{position:absolute!important;width:1px!important;height:1px!important;overflow:hidden!important;clip-path:inset(50%);pointer-events:none;margin:0!important;padding:0!important}
body.legacy-player #portal form[data-source-skin] .legacy-cashier-presets{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:6px;width:87%;max-width:1160px;order:3;margin:15px 0 10px}
body.legacy-player #portal form[data-source-skin] .legacy-cashier-presets button{width:100%;height:45px;padding:0;border:1px solid #7b8898;border-radius:4px;background:#2a343c;font-size:14px;color:#fff}
body.legacy-player #portal form[data-source-skin] .rolling-info{order:4;justify-content:flex-start;padding:10px 0;gap:20px;font-size:12px;color:#b8c0cc}
body.legacy-player #portal form[data-source-skin] .legacy-cashier-actions{order:5;display:flex;gap:1%;width:87%;max-width:1160px;margin:0 0 12px}
body.legacy-player #portal form[data-source-skin] .legacy-cashier-actions button{flex:1;height:45px;min-height:0;width:auto;margin:0;border:0;border-radius:4px;background:var(--legacy-gradient);color:#fff;font-size:14px;font-weight:600}
body.legacy-player #portal form[data-source-skin]>.portal-message{order:6;margin:5px 0}
body.legacy-player #portal .legacy-cashier-tabs{width:400px;max-width:100%;display:flex;gap:20px;margin:10px 0}
body.legacy-player #portal .legacy-cashier-tabs a{flex:1;display:grid;place-items:center;height:50px;min-width:0;padding:0;border-radius:50px;color:#fff;font-size:16px;font-weight:700;border:1px solid #03df2f;border-bottom:3px solid transparent;background:#03df2f radial-gradient(75% 50% at 50% 0%,#f4feff,transparent);box-shadow:inset 0 -4px 4px #8dfc8f;text-shadow:0 1px 1px #1fe711}
body.legacy-player #portal .legacy-cashier-tabs a:nth-child(2){border-color:#df9203;background:#df9203 radial-gradient(75% 50% at 50% 0%,#f4feff,transparent);box-shadow:inset 0 -4px 4px #fccc8d;text-shadow:0 1px 1px #e77c11}
body.legacy-player #portal .legacy-cashier-tabs a.on{border-bottom-color:#fff}
body.legacy-player #portal .legacy-cashier-tabs a.on:first-child{background:#03df2f radial-gradient(75% 50% at 50% 0%,#f4feff,transparent);border-color:#03df2f;border-bottom-color:#fff}
body.legacy-player #portal .legacy-cashier-tabs a.on:nth-child(2){background:#df9203 radial-gradient(75% 50% at 50% 0%,#f4feff,transparent);border-color:#df9203;border-bottom-color:#fff}
body.legacy-player #portal[data-legacy-section=mypage] .account-content{background:#14161b;border:0;padding:30px 0}
body.legacy-player #portal[data-legacy-section=mypage] .mypage{gap:0;margin:0}
body.legacy-player #portal[data-legacy-section=mypage] .mypage-top{display:block;width:97%;margin:0 auto}
body.legacy-player #portal[data-legacy-section=mypage] .my-info{padding:20px;background:#232e3c;border:0;margin:0}
body.legacy-player #portal[data-legacy-section=mypage] .my-info>h2{display:none}
body.legacy-player #portal[data-legacy-section=mypage] [data-my-info]{display:grid;grid-template-columns:1fr 1fr;gap:0;margin-top:20px}
body.legacy-player #portal[data-legacy-section=mypage] [data-my-info] dl{display:grid;grid-template-columns:100px minmax(0,1fr);min-height:60px;margin:0;padding:10px 0;border-bottom:1px solid #ffffff33;font-size:14px}
body.legacy-player #portal[data-legacy-section=mypage] [data-my-info] dd{text-align:left;padding:10px 20px}
body.legacy-player #portal[data-legacy-section=mypage] .legacy-profile-identity{display:grid;grid-template-columns:100px minmax(0,1fr);align-items:center;justify-items:center;gap:10px 20px;padding-bottom:50px}
body.legacy-player #portal[data-legacy-section=mypage] .legacy-profile-identity>img,body.legacy-player #portal[data-legacy-section=mypage] .legacy-profile-avatar{width:80px;height:80px;object-fit:cover;border-radius:50%;display:grid;place-items:center;background:#18202b;color:#eee;font-size:40px}
body.legacy-player #portal[data-legacy-section=mypage] .legacy-profile-identity>strong{font-size:18px;grid-column:1;grid-row:2}
body.legacy-player #portal[data-legacy-section=mypage] .legacy-profile-identity>nav{display:flex;grid-column:2;grid-row:1/3;gap:18px;margin-left:auto;color:#fff;font-size:12px}
body.legacy-player #portal[data-legacy-section=mypage] .legacy-profile-password{width:80%;margin:20px auto 30px}
body.legacy-player #portal[data-legacy-section=mypage] .legacy-profile-password h2{height:50px;display:flex;align-items:center;margin:0;font-size:24px;letter-spacing:2px}
body.legacy-player #portal[data-legacy-section=mypage] .legacy-profile-password label{display:grid;grid-template-columns:150px minmax(0,1fr);align-items:center;min-height:76px;font-size:16px}
body.legacy-player #portal[data-legacy-section=mypage] .legacy-profile-password input{justify-self:center;width:90%;height:45px;background:#232e3c;border:0;border-radius:0;padding:0 8px}
body.legacy-player #portal[data-legacy-section=mypage] .legacy-profile-password>button{display:block;width:200px;height:45px;border:0;border-radius:4px;background:var(--legacy-gradient);color:#fff;margin:20px auto 0}
body.legacy-player #portal[data-legacy-section=mypage] .legacy-profile-extra{width:97%;margin:10px auto 0;border:1px solid #3c4654;background:#171d26}
body.legacy-player #portal[data-legacy-section=mypage] .legacy-profile-extra>summary{padding:16px;cursor:pointer;color:#d3d9e2;font-size:14px}
body.legacy-player #portal[data-legacy-section=mypage] .legacy-profile-extra>section,body.legacy-player #portal[data-legacy-section=mypage] .legacy-profile-extra>article{margin:0;border:0}
body.legacy-player.legacy-mobile[data-legacy-page=signup] .legacy-auth-wrap{width:600px;max-width:calc(100% - 36px);margin:60px auto 35px;padding:0}
body.legacy-player.legacy-mobile[data-legacy-page=signup] .legacy-auth-logo{margin-bottom:30px}
body.legacy-player.legacy-mobile[data-legacy-page=signup] .legacy-auth-logo img{width:220px}
body.legacy-player.legacy-mobile[data-legacy-page=signup] .legacy-join-card{padding:0}
body.legacy-player.legacy-mobile[data-legacy-page=signup] .legacy-join-card>label{font-size:12px}
body.legacy-player.legacy-mobile[data-legacy-page=signup] .legacy-join-card .legacy-sms-row{grid-template-columns:1fr;gap:5px}
body.legacy-player.legacy-mobile[data-legacy-page=signup] .legacy-join-card .legacy-sms-row>*{grid-column:1}
body.legacy-player.legacy-mobile #portal:is([data-legacy-section=deposit],[data-legacy-section=withdraw]) .sub-hero{height:50px;margin-bottom:0}
body.legacy-player.legacy-mobile #portal .legacy-cashier-tabs{width:100%;gap:15px}
body.legacy-player.legacy-mobile #portal .legacy-cashier-tabs a{height:40px;font-size:14px}
body.legacy-player.legacy-mobile #portal .legacy-cashier-guide{order:2;margin:10px 0 0;padding:16px 8px;border:1px solid #353e4a}
body.legacy-player.legacy-mobile #portal .legacy-cashier-guide h2{font-size:18px;color:var(--legacy-border);margin:0 0 15px}
body.legacy-player.legacy-mobile #portal .legacy-cashier-guide .rules-scroll{font-size:12px;line-height:1.9}
body.legacy-player.legacy-mobile #portal form[data-source-skin]{order:1;padding:10px 8px;margin:0}
body.legacy-player.legacy-mobile #portal form[data-source-skin] :is(.deposit-info dl,.withdraw-row,.deposit-label,.withdraw-amount,.bonus-section){display:grid;grid-template-columns:90px minmax(0,1fr);align-items:center;min-height:40px;gap:0;margin:0 0 12px}
body.legacy-player.legacy-mobile #portal form[data-source-skin] :is(input,[data-source-bonus]){height:40px;padding:0 10px;font-size:13px}
body.legacy-player.legacy-mobile #portal form[data-source-skin] :is(dt,.deposit-label>strong,.withdraw-amount>label,.bonus-section>h3){font-size:13px;font-weight:400}
body.legacy-player.legacy-mobile #portal form[data-source-skin] .deposit-min{margin-left:90px}
body.legacy-player.legacy-mobile #portal form[data-source-skin] .legacy-account-row{order:5;grid-template-columns:1fr}
body.legacy-player.legacy-mobile #portal form[data-source-skin] .legacy-account-row dt{display:none}
body.legacy-player.legacy-mobile #portal form[data-source-skin] .legacy-account-row dd{grid-column:1/-1}
body.legacy-player.legacy-mobile #portal form[data-source-skin] .legacy-cashier-presets{grid-template-columns:repeat(3,minmax(0,1fr));width:100%;gap:6px;margin:8px 0 10px}
body.legacy-player.legacy-mobile #portal form[data-source-skin] .legacy-cashier-presets button{height:40px;font-size:13px}
body.legacy-player.legacy-mobile #portal form[data-source-skin] .legacy-cashier-actions{width:100%;gap:6px;order:4}
body.legacy-player.legacy-mobile #portal form[data-source-skin] .legacy-cashier-actions button{height:40px;font-size:13px}
body.legacy-player.legacy-mobile #portal form[data-source-skin] .rolling-info{order:3;padding:8px 0;margin:0;font-size:11px}
body.legacy-player.legacy-mobile #portal[data-legacy-section=mypage] .account-content{padding:10px 0}
body.legacy-player.legacy-mobile #portal[data-legacy-section=mypage] .mypage-top{width:100%}
body.legacy-player.legacy-mobile #portal[data-legacy-section=mypage] .my-info{padding:15px 10px;background:#14161b}
body.legacy-player.legacy-mobile #portal[data-legacy-section=mypage] .legacy-profile-identity{display:flex;flex-direction:column;padding-bottom:0;gap:12px}
body.legacy-player.legacy-mobile #portal[data-legacy-section=mypage] .legacy-profile-identity>img,body.legacy-player.legacy-mobile #portal[data-legacy-section=mypage] .legacy-profile-avatar{width:80px;height:80px}
body.legacy-player.legacy-mobile #portal[data-legacy-section=mypage] .legacy-profile-identity>strong{font-size:19px}
body.legacy-player.legacy-mobile #portal[data-legacy-section=mypage] .legacy-profile-identity>nav{width:100%;justify-content:space-around;margin:8px 0 0;padding:16px 0;border-top:1px solid #37414d;border-bottom:1px solid #37414d}
body.legacy-player.legacy-mobile #portal[data-legacy-section=mypage] [data-my-info]{grid-template-columns:1fr;margin-top:0}
body.legacy-player.legacy-mobile #portal[data-legacy-section=mypage] [data-my-info] dl{grid-template-columns:90px minmax(0,1fr);min-height:48px;padding:5px 0;font-size:13px}
body.legacy-player.legacy-mobile #portal[data-legacy-section=mypage] [data-my-info] dd{text-align:right;padding:5px 0}
body.legacy-player.legacy-mobile #portal[data-legacy-section=mypage] .legacy-profile-password{width:100%;margin:15px 0 25px;padding:0 10px}
body.legacy-player.legacy-mobile #portal[data-legacy-section=mypage] .legacy-profile-password h2{font-size:24px;letter-spacing:0}
body.legacy-player.legacy-mobile #portal[data-legacy-section=mypage] .legacy-profile-password label{grid-template-columns:30% 70%;min-height:50px;font-size:12px}
body.legacy-player.legacy-mobile #portal[data-legacy-section=mypage] .legacy-profile-password input{width:100%;height:40px;border-radius:3px;margin:5px 0}
body.legacy-player.legacy-mobile #portal[data-legacy-section=mypage] .legacy-profile-extra{width:100%}
body.legacy-player.legacy-mobile .legacy-auth-screen{align-items:flex-start}
body.legacy-player.legacy-mobile .legacy-auth-wrap{margin:0;padding-top:160px}
body.legacy-player.legacy-mobile .legacy-auth-logo{margin-bottom:28px}
body.legacy-player.legacy-mobile .legacy-auth-logo img{width:250px;height:auto;max-height:none}
body.legacy-player.legacy-mobile .legacy-auth-form{grid-template-columns:minmax(0,1fr) 90px;gap:10px;max-width:430px}
body.legacy-player.legacy-mobile .legacy-auth-form input{grid-column:1;height:50px;border-radius:25px;font-size:15px}
body.legacy-player.legacy-mobile .legacy-auth-form input[name=login_id]{grid-row:1}
body.legacy-player.legacy-mobile .legacy-auth-form input[name=password]{grid-row:2}
body.legacy-player.legacy-mobile .legacy-auth-form button{grid-column:2;grid-row:1;height:50px;border-radius:25px;font-size:14px}
body.legacy-player.legacy-mobile .legacy-auth-form a{grid-column:2;grid-row:2;height:50px;border-radius:25px;font-size:14px}
body.legacy-player.legacy-mobile .legacy-auth-form a:last-of-type{grid-column:1/-1;grid-row:3;height:50px;border-radius:25px;font-size:14px}
body.legacy-player.legacy-mobile .legacy-home-banner img,body.legacy-player.legacy-mobile .legacy-home-banner video{aspect-ratio:auto;object-fit:contain}
body.legacy-player{--text:#eee;--text-2:#bbc0c8;--dim:#a2a5ab;--bg:#111316;--accent:var(--legacy-accent);--deep:var(--legacy-border)}
/* Shared member forms keep the existing controller/validation and use this
   skin's compact dark tables. No Holland-specific blue CSS is loaded. */
body.legacy-player #portal[data-legacy-preparing=true]{visibility:hidden;min-height:380px}
body.legacy-player .legacy-catalog-game img.legacy-catalog-cover-fallback{object-fit:contain;background:#111316}
body.legacy-player #portal .mypage{display:grid;gap:15px}
body.legacy-player #portal .mypage-top,body.legacy-player #portal .my-security>div{display:grid;grid-template-columns:1fr 1fr;gap:15px}
body.legacy-player #portal :is(.my-summary,.my-info,.my-security,.my-ledger,.deposit-card,.withdraw-card,.deposit-rules,.money-history,.point-guide,.point-form,.point-history,.coupon-page,.attendance-page,.referrals-page,.messages-page,.inquiry-page,.bet-history){padding:18px;background:#111316;border:1px solid #42474e;margin-bottom:15px}
body.legacy-player #portal :is(h2,h3){color:#eee;font-weight:600}body.legacy-player #portal h2{font-size:17px}body.legacy-player #portal h3{font-size:14px}
body.legacy-player #portal :is(.my-id,.my-summary dl,.my-points>div,.my-points p,.my-points p span,.my-info dl,.deposit-info dl,.deposit-label,.withdraw-row,.point-form dl){display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0;padding:14px 0;border-bottom:1px solid #363a40}
body.legacy-player #portal dd{margin:0}body.legacy-player #portal dt{color:#b9bec6}body.legacy-player #portal :is(.my-info>div,.my-security article,.my-points){margin-top:12px}body.legacy-player #portal .my-summary h3{margin:15px 0 8px}
body.legacy-player #portal :is(.my-info>p,.my-security article p,.withdraw-note,.point-guide p,.ref-notice,.coupon-notice,.attendance-notice,.inquiry-page>aside){color:#b9bec6;line-height:1.8;font-size:12px}
body.legacy-player #portal :is(.my-id-value,.my-ledger header,.point-history header,.money-history-head,.messages-page>header,.inquiry-page>header,.attendance-page>header,.coupon-page>header,.referrals-page>header){display:flex;gap:12px;align-items:center;justify-content:space-between}
body.legacy-player #portal :is(.member-level-pill,.level-badge){display:inline-block;padding:5px 9px;border:1px solid var(--legacy-border);color:var(--legacy-border)}
body.legacy-player #portal :is(.my-security button,.my-points a,.account-request,.deposit-submit,.point-submit,.attendance-hero button,.ref-code button,.ref-filter button,.inquiry-page>header button){border:1px solid var(--legacy-border);background:var(--legacy-gradient);color:#fff;padding:10px 16px;cursor:pointer}
body.legacy-player #portal :is(.my-security button,.deposit-submit,.point-submit){width:100%;min-height:42px;margin-top:14px}
body.legacy-player #portal :is(.my-ledger-scroll,.money-table-wrap,.point-history>div,.messages-table,.inquiry-table,.ref-table,.bet-table-wrap){overflow:auto;margin-top:14px}
body.legacy-player #portal table:not(:where(.sports-history-table)){width:100%;border-collapse:collapse;font-size:12px}body.legacy-player #portal th:not(:where(.sports-history-table th)),body.legacy-player #portal td:not(:where(.sports-history-table td)){padding:13px 10px;text-align:center;border-bottom:1px solid #343a42}body.legacy-player #portal :is(.money-table,.my-ledger table){min-width:620px}
body.legacy-player #portal :is(.money-history-head select,.ref-filter select){min-width:130px}
body.legacy-player #portal :is(.money-pagination,.my-ledger-pagination){display:flex;justify-content:center;align-items:center;gap:8px;margin:18px 0 0}
body.legacy-player #portal :is(.money-pagination button,.my-ledger-pagination button,.my-ledger header button,.point-history header button,.messages-page nav button,.inquiry-page nav button,.coupon-tabs button){background:#282d35;color:#ddd;border:1px solid #505863;padding:8px 13px}
body.legacy-player #portal :is(.my-ledger header button.on,.point-history header button.on,.messages-page nav button.on,.inquiry-page nav button.on,.coupon-tabs button.on){background:var(--legacy-gradient);border-color:var(--legacy-border)}
/* 쪽지함 (11/15 디아블로 5144): 툴바·제목·삭제 버튼을 브라우저 기본 모양 대신 사이트 버튼 규칙으로. */
body.legacy-player #portal .messages-page>header>div:last-child{display:flex;gap:6px;flex:none;align-items:center}
body.legacy-player #portal .messages-page>header button{min-height:36px;padding:8px 14px;border:1px solid var(--legacy-border);border-radius:3px;background:var(--legacy-gradient);color:#fff;font-size:12px;line-height:18px;white-space:nowrap}
body.legacy-player #portal .messages-page>header button[data-delete-selected]{background:#282d35;border-color:#505863;color:#ddd}
body.legacy-player #portal .messages-page>header button:hover{filter:brightness(1.12)}
body.legacy-player #portal .messages-table input[type=checkbox]{width:16px;height:16px;margin:0;padding:0;accent-color:var(--legacy-accent);vertical-align:middle;cursor:pointer}
body.legacy-player #portal .messages-table td>button:not(.message-delete){display:inline;max-width:100%;padding:0;border:0;border-radius:0;background:none;color:#d3d7dd;font:inherit;line-height:1.5;text-align:inherit;white-space:normal;overflow-wrap:anywhere;cursor:pointer}
body.legacy-player #portal .messages-table tr.is-unread td>button:not(.message-delete){color:#fff;font-weight:700}
body.legacy-player #portal .messages-table td>button:not(.message-delete):hover{color:var(--legacy-border);text-decoration:underline}
body.legacy-player #portal .messages-table tr.is-unread .message-state{color:var(--legacy-border)}
body.legacy-player #portal .messages-table .message-delete{min-height:30px;padding:5px 11px;border:1px solid #505863;border-radius:3px;background:#282d35;color:#ddd;font-size:12px;line-height:18px;white-space:nowrap}
body.legacy-player #portal .messages-table .message-delete:hover{border-color:var(--legacy-border);color:var(--legacy-border)}
body.legacy-mobile #portal .messages-page>header{flex-wrap:wrap}
body.legacy-mobile #portal .messages-page>header>div:last-child{width:100%;margin:2px 0 12px}
body.legacy-mobile #portal .messages-page>header button{flex:1;padding:8px 6px}
body.legacy-mobile #portal .messages-table .message-delete{padding:5px 8px}
body.legacy-player #portal :is(.deposit-section,.withdraw-amount,.point-form>section){padding:18px 0;border-bottom:1px solid #363a40}
body.legacy-player #portal :is(.amount-input,.withdraw-input,.password-box,.usdt-address){display:flex;gap:8px;align-items:center;min-width:0}
body.legacy-player #portal :is(.amount-input,.password-box){width:min(100%,400px)}body.legacy-player #portal :is(.amount-input input,.withdraw-input input,.password-box input){flex:1;min-width:0;height:43px}
body.legacy-player #portal :is(.amount-buttons,.withdraw-buttons,.point-buttons){display:flex;flex-wrap:wrap;gap:8px;margin-top:12px}
body.legacy-player[data-legacy-brand="bbr"] #portal .point-direct-entry{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin-top:12px;color:#ddd;font-size:13px}
body.legacy-player[data-legacy-brand="bbr"] #portal .point-direct-entry input{width:min(100%,300px);height:42px;padding:0 12px;border:1px solid #555c65;background:#191d22;color:#fff;font-size:15px}
body.legacy-player #portal :is(.amount-buttons button,.withdraw-buttons button,.point-buttons button,.password-box button,.usdt-address button){padding:9px 14px;border:1px solid #555c65;background:#292f37;color:#eee}
body.legacy-player #portal .bonus-list{display:flex;flex-wrap:wrap;gap:10px;margin:12px 0}body.legacy-player #portal .bonus-list label{border:1px solid #454c57;padding:12px;display:flex;gap:8px}
body.legacy-player #portal :is(.rolling-info,.point-form header,.attendance-hero,.ref-code,.ref-filter){display:flex;justify-content:space-between;align-items:center;gap:15px;padding:16px 0}
body.legacy-player #portal .rules-scroll{max-height:260px;overflow:auto;line-height:1.8;color:#bbb;background:#171b20;border-color:#404852}
body.legacy-player #portal :is(.usdt-warning,.inquiry-page>aside,.coupon-notice,.attendance-notice,.ref-notice){padding:15px;border:1px solid #57503b;background:#27251e;color:#dacb9c;margin:15px 0}
body.legacy-player #portal :is(.point-form strong,.ref-code strong,.attendance-hero strong){color:var(--legacy-border);font-size:21px;font-style:normal}
body.legacy-player #portal :is(.attendance-stats,.ref-stats,.coupon-summary){display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin:15px 0}
body.legacy-player #portal :is(.attendance-stats article,.ref-stats article,.coupon-summary article){padding:16px 10px;border:1px solid #424852;background:#1b2027;text-align:center}
body.legacy-player #portal :is(.attendance-stats strong,.ref-stats strong,.coupon-summary strong){display:block;color:var(--legacy-border);font-size:19px;margin-top:10px}
body.legacy-player #portal .attendance-calendar{border:1px solid #444c57;margin:18px 0}body.legacy-player #portal .attendance-calendar header{display:flex;justify-content:center;align-items:center;gap:22px;padding:15px}body.legacy-player #portal .attendance-calendar h3{margin:0}
body.legacy-player #portal :is(.weekdays,.calendar-grid){display:grid;grid-template-columns:repeat(7,minmax(0,1fr))}body.legacy-player #portal .weekdays span{text-align:center;padding:12px;background:#292e36}body.legacy-player #portal .calendar-grid>div{min-height:85px;padding:9px;border-top:1px solid #343b44;border-right:1px solid #343b44}body.legacy-player #portal .calendar-grid .checked{background:#25382b}body.legacy-player #portal .calendar-grid .today{outline:1px solid var(--legacy-border);outline-offset:-1px}body.legacy-player #portal .calendar-grid small{display:block;font-size:10px;margin-top:10px}
body.legacy-player #portal .coupon-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin:16px 0}body.legacy-player #portal .coupon-grid>article{border:1px solid #626976;background:#1a2027;padding:18px}body.legacy-player #portal .coupon-ticket strong{display:block;font-size:20px;color:var(--legacy-border);margin:15px 0}body.legacy-player #portal .coupon-action{display:flex;gap:12px;justify-content:space-between;margin-top:14px}
body.legacy-player :is(.pw-modal-backdrop,.message-modal-backdrop,.inquiry-modal-backdrop){position:fixed;inset:0;background:#000b;z-index:150;display:grid;place-items:center;padding:15px}
body.legacy-player :is(.pw-modal,.message-modal,.inquiry-modal){width:min(720px,100%);max-height:90vh;overflow:auto;padding:22px;background:#151a20;border:1px solid var(--legacy-border);color:#eee}
body.legacy-player :is(.pw-modal,.message-modal,.inquiry-modal)>header{display:flex;justify-content:space-between;align-items:center;gap:15px;border-bottom:1px solid #4a515d;margin-bottom:18px;padding-bottom:12px}body.legacy-player :is(.pw-modal,.message-modal,.inquiry-modal) h2{font-size:20px;margin:0}body.legacy-player :is(.pw-modal,.message-modal,.inquiry-modal) header>button{background:transparent;border:0;color:#eee;font-size:24px}
body.legacy-player :is(.pw-modal,.inquiry-modal) form{display:grid;gap:15px}body.legacy-player :is(.pw-modal,.inquiry-modal) label{display:grid;gap:8px;margin:10px 0}body.legacy-player :is(.pw-input,.phone-auth,.pw-new){display:flex;gap:8px}body.legacy-player :is(.pw-input,.phone-auth) input{flex:1;min-width:0}body.legacy-player :is(.pw-input,.phone-auth) button{border:1px solid var(--legacy-border);background:var(--legacy-gradient);color:#fff;padding:8px 12px}
body.legacy-player :is(.pw-submit,.inquiry-modal [type=submit],.message-modal footer button){padding:12px;border:1px solid var(--legacy-border);background:var(--legacy-gradient);color:#fff}
body.legacy-player :is(.message-meta,.inquiry-meta){display:flex;justify-content:space-between;gap:15px;margin-bottom:20px;color:#aaa}body.legacy-player .message-modal section{white-space:pre-wrap;line-height:1.8}body.legacy-player .inquiry-modal textarea{width:100%;resize:vertical}body.legacy-player .inquiry-answer{border:1px solid #454d59;padding:16px;margin:14px 0}
body.legacy-mobile #portal :is(.mypage-top,.my-security>div){grid-template-columns:1fr}
body.legacy-mobile #portal :is(.my-summary,.my-info,.my-security,.my-ledger,.deposit-card,.withdraw-card,.deposit-rules,.money-history,.point-guide,.point-form,.point-history,.coupon-page,.attendance-page,.referrals-page,.messages-page,.inquiry-page,.bet-history){padding:12px}
body.legacy-mobile #portal :is(.deposit-info dl,.deposit-label,.withdraw-row,.ref-code,.ref-filter,.rolling-info){align-items:stretch;flex-direction:column}
body.legacy-mobile #portal :is(.amount-input,.password-box){width:100%}body.legacy-mobile #portal :is(.attendance-stats,.ref-stats,.coupon-summary,.coupon-grid){grid-template-columns:repeat(2,minmax(0,1fr))}body.legacy-mobile #portal .calendar-grid>div{min-height:68px;padding:7px 3px}
body.legacy-mobile .pw-new{flex-direction:column}body.legacy-mobile :is(.pw-modal,.message-modal,.inquiry-modal){padding:15px}
body.legacy-player.legacy-mobile #portal :is(.account-wrap,.account-content,.mypage,.mypage-top,.my-summary,.my-info,.my-security,.my-ledger,.my-ledger-scroll,.my-points,.my-info>div,.my-security>div,.my-security article){width:100%;max-width:100%;min-width:0}
body.legacy-player.legacy-mobile #portal :is(.my-info dl,.my-id,.my-points p,.my-ledger header){flex-wrap:wrap;overflow-wrap:anywhere}
body.legacy-player.legacy-mobile .legacy-popup>img{height:auto!important;max-height:none;object-fit:contain}
/* Optional birthday and private member-uploaded avatar. Never put a bearer
   token into an image URL; legacy.js uses an authenticated Blob URL. */
body.legacy-player[data-legacy-page=signup] [data-join-field=birth_date]{grid-column:1;grid-row:5;position:relative;padding-bottom:18px}
body.legacy-player[data-legacy-page=signup] [data-join-field=birth_date] small{position:absolute;bottom:0;left:0;line-height:16px;font-size:10px;color:#aab3c3}
body.legacy-player[data-legacy-page=signup] [data-join-field=invite]{grid-column:1;grid-row:6}
body.legacy-player[data-legacy-page=signup] .has-phone-verification [data-join-field=phone]{grid-column:1;grid-row:6/8}
body.legacy-player[data-legacy-page=signup] .has-phone-verification [data-join-field=invite]{grid-column:2;grid-row:6}
body.legacy-player #portal .legacy-avatar-upload{position:relative;display:block;width:80px;height:80px;overflow:hidden;border-radius:50%;cursor:pointer;grid-column:1;grid-row:1;margin:0;padding:0}
body.legacy-player #portal .legacy-avatar-upload img{width:80px;height:80px;object-fit:cover;border-radius:50%;background:#18202b}
body.legacy-player #portal .legacy-avatar-upload input{position:absolute;inset:0;width:100%;height:100%;opacity:0;cursor:pointer;z-index:2}
body.legacy-player #portal .legacy-avatar-upload span{position:absolute;bottom:0;left:0;right:0;padding:4px 0 7px;text-align:center;background:#000b;color:#fff;font-size:10px;opacity:0;transition:opacity .15s}
body.legacy-player #portal .legacy-avatar-upload:hover span,body.legacy-player #portal .legacy-avatar-upload:focus-within span,body.legacy-player.legacy-mobile #portal .legacy-avatar-upload span{opacity:1}
body.legacy-player #portal .legacy-profile-identity>[data-avatar-note]{grid-column:1/-1;justify-self:start;max-width:100%;font-size:11px;color:#b5bfcc;line-height:1.6;overflow-wrap:anywhere}
body.legacy-player #portal .legacy-profile-identity.is-uploading .legacy-avatar-upload{opacity:.6}
body.legacy-player #portal [data-my-info] .legacy-birth-row dd{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
body.legacy-player #portal [data-birth-edit]{padding:5px 9px;border:1px solid var(--legacy-border);background:var(--legacy-gradient);color:#fff;font-size:11px}
.legacy-profile-edit{display:grid;gap:15px}.legacy-profile-edit label{display:grid;gap:10px}.legacy-profile-edit input{width:100%;height:42px}.legacy-profile-edit p{font-size:12px;color:#bdc5d0;line-height:1.6}
.legacy-account-confirm>p:first-child{text-align:center;font-size:18px;margin:10px 0 20px}.legacy-account-confirm .legacy-confirm-hint{font-size:12px;color:#b4becc;line-height:1.7}.legacy-account-confirm>div{display:flex;gap:10px;justify-content:center}.legacy-account-confirm>div button{min-width:105px;height:40px}
/* Source chat: centred 500px card, 80px branded title, scrollable conversation
   and a fixed composer; reply payloads remain plain text. */
body.legacy-player .legacy-dialog-backdrop{grid-template-columns:minmax(0,1fr)}
body.legacy-player .legacy-dialog{width:min(520px,calc(100vw - 30px));min-width:0}
body.legacy-player .legacy-chat-dialog{width:min(500px,calc(100vw - 30px));max-width:100%;border-radius:14px 14px 0 0;overflow:hidden;display:flex;flex-direction:column;max-height:92dvh;background:#0e1013}
body.legacy-player .legacy-chat-dialog>header{height:80px;min-height:80px;position:relative;justify-content:center;border-radius:14px 14px 0 0;padding:0 60px 0 15px}
body.legacy-player .legacy-chat-dialog>header img{height:60px;max-width:100%;object-fit:contain}
body.legacy-player .legacy-chat-dialog>header button{position:absolute;right:18px;top:15px;font-size:30px;padding:5px;background:none;border:0}
body.legacy-player .legacy-chat-dialog>.legacy-dialog-body{display:flex;min-height:0;padding:0;overflow:hidden}
.legacy-support-chat{display:flex;flex-direction:column;width:100%;min-width:0;min-height:0}.legacy-chat-meta{display:flex;align-items:center;gap:8px;padding:10px 15px;border-bottom:1px solid #353c47;font-size:11px;flex-wrap:wrap}.legacy-chat-meta>[data-chat-subject]{flex:1;min-width:100px;overflow-wrap:anywhere}.legacy-chat-meta>[data-chat-status]{color:var(--legacy-border)}.legacy-chat-meta button,.legacy-chat-tools button{background:var(--legacy-gradient);color:#fff;border:0;border-radius:3px;padding:6px 9px;font-size:11px}
.legacy-chat-thread{height:600px;min-height:140px;overflow-y:auto;overscroll-behavior:contain;padding:15px 10px;scrollbar-width:thin;scrollbar-color:#485060 #0e1013}.legacy-chat-post{display:flex;flex-direction:column;align-items:flex-start;margin:0 0 14px;padding:0 6px;color:#fff}.legacy-chat-post>small{font-size:11px;margin:0 0 5px;color:#bcc5d2}.legacy-chat-post>p{max-width:85%;padding:12px 23px;border-radius:0 28px 28px 28px;margin:0 0 5px;white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.7;background:#3c4759;font-size:13px;text-align:left}.legacy-chat-post.from-player{align-items:flex-end}.legacy-chat-post.from-player>p{border-radius:28px 0 28px 28px;background:linear-gradient(91deg,#7f8ca7,var(--legacy-deep))}.legacy-chat-post>time{font-size:10px;color:#929ca9}.legacy-chat-attachments{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.legacy-chat-attachments img{width:100%;max-height:220px;object-fit:contain;background:#171d26}
.legacy-chat-new-reply{flex:none;padding:8px;border:0;border-bottom:1px solid var(--legacy-border);background:#263348;color:#fff;font-size:11px;text-align:center}
.legacy-chat-reply{flex:none;padding:12px 15px 15px;border-top:1px solid #333c4a;background:#0e1013}.legacy-chat-tools{text-align:right;padding:0 0 9px}.legacy-chat-compose{position:relative}.legacy-chat-compose textarea{display:block;width:100%;height:60px;max-height:160px;resize:vertical;padding:10px 55px 10px 10px;background:#3c4759!important;border:0!important;border-radius:4px;font-size:14px;line-height:1.5}.legacy-chat-compose textarea:focus{background:#fff!important;color:#222!important;outline:1px solid var(--legacy-border)}.legacy-chat-compose button{position:absolute;right:5px;top:5px;width:40px;height:40px;border:0;border-radius:50%;background:#fff;color:var(--legacy-deep);padding:8px;font-size:22px}.legacy-chat-compose button img{width:100%;height:100%;object-fit:contain}.legacy-chat-reply>.legacy-error{font-size:11px;max-height:75px;overflow:auto;margin:5px 0}.legacy-chat-reply>small{font-size:10px;line-height:1.6;color:#aab4c3}
/* Keep the audited SMS/PIN flows, matching source input geometry and palette
   instead of inventing unsupported source account-edit endpoints. */
body.legacy-player .pw-modal-backdrop{grid-template-columns:minmax(0,1fr)}
body.legacy-player .pw-modal{width:min(600px,calc(100vw - 30px));max-width:100%;min-width:0;padding:0;background:#14161b;border:1px solid var(--legacy-border);border-radius:4px}
body.legacy-player .pw-modal>header{min-height:62px;margin:0;padding:15px 20px;background:var(--legacy-gradient);border:0}
body.legacy-player .pw-modal>header h2{font-size:18px;color:#fff}
body.legacy-player .pw-modal>header p{margin:7px 0 0;font-size:11px;line-height:1.5;color:#fff;opacity:.85}
body.legacy-player .pw-modal>header>div{min-width:0;white-space:normal;overflow-wrap:anywhere}
body.legacy-player .pw-modal>header>button{flex:none}
body.legacy-player .pw-modal>form{padding:20px;gap:12px;min-width:0}
body.legacy-player .pw-modal form>section{margin:0;padding:15px;background:#232e3c;border:1px solid #3c4654;border-radius:0}
/* Catalog controls and transfer dialog are scoped so source-faithful home,
   member and chat layouts retain their own spacing. */
body.legacy-player .legacy-catalog-page{min-width:0}
body.legacy-player .legacy-catalog-page[data-cover-filtered="true"] .legacy-provider img{aspect-ratio:4/3;object-fit:contain}
body.legacy-player .legacy-catalog-page[data-copied-covers="true"] .legacy-provider img{aspect-ratio:4/3;object-fit:contain}
body.legacy-player .legacy-catalog-page[data-copied-covers="true"] .legacy-provider .legacy-image-missing{aspect-ratio:4/3}
body.legacy-player .legacy-catalog-page[data-catalog-category="live"] .legacy-provider img{width:100%;aspect-ratio:320/250;object-fit:cover;display:block}
body.legacy-player .legacy-catalog-page[data-catalog-category="live"] .legacy-provider .legacy-image-missing{aspect-ratio:320/250}
body.legacy-player .legacy-catalog-page .legacy-catalog-toolbar{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;align-items:center;margin-bottom:15px}
body.legacy-player .legacy-catalog-toolbar>input{width:100%;min-width:0;height:42px}
body.legacy-player .legacy-catalog-controls{display:flex;align-items:center;gap:10px;min-width:0}
body.legacy-player .legacy-catalog-controls>button{flex:none;min-height:42px;white-space:nowrap}
body.legacy-player .legacy-selected-provider{display:block;min-width:0;max-width:250px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;border:1px solid var(--legacy-border);background:var(--legacy-gradient);padding:11px 14px;line-height:18px}
body.legacy-player .legacy-catalog-origin{display:block;margin-top:5px;color:#c3cfdf;font-size:11px;overflow-wrap:anywhere}
body.legacy-player .legacy-catalog-page [data-catalog-error]{margin:12px 0 0}
body.legacy-player .legacy-catalog-page [data-catalog-error]:empty{display:none}
body.legacy-player .legacy-catalog-page .legacy-provider-return{margin-left:auto}
body.legacy-player .legacy-catalog-page .legacy-provider-return:not([hidden])+[data-money-modal]{margin-left:0}
body.legacy-player .legacy-money-dialog>.legacy-dialog-body{display:grid;gap:16px;padding:22px}
body.legacy-player .legacy-money-dialog .legacy-money-balance{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 16px;border:1px solid var(--legacy-border);background:var(--legacy-deep)}
body.legacy-player .legacy-money-dialog .legacy-money-balance strong{min-width:0;overflow-wrap:anywhere;font-size:21px;text-align:right;color:#ffe485}
body.legacy-player .legacy-money-dialog .legacy-money-balance small{margin-left:5px;font-size:12px;font-weight:400;color:#ddd}
body.legacy-player .legacy-money-dialog .legacy-money-provider,body.legacy-player .legacy-money-dialog .legacy-money-entry{display:grid;gap:8px;min-width:0;font-size:13px}
body.legacy-player .legacy-money-dialog [data-money-game]{width:100%;min-width:0;height:44px;padding:0 10px}
body.legacy-player .legacy-money-dialog .legacy-money-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;margin:0}
body.legacy-player .legacy-money-dialog .legacy-money-quick{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:8px;margin:0;min-width:0}
body.legacy-player .legacy-money-dialog [data-money-quick]{min-width:0;min-height:38px;padding:8px 3px;border:1px solid #4c535d;border-radius:3px;background:#252c35;color:#edf0f4;font-size:12px;line-height:18px;white-space:nowrap}
body.legacy-player .legacy-money-dialog [data-money-quick]:not(:disabled):hover{border-color:var(--legacy-border);background:var(--legacy-deep);color:#fff}
body.legacy-player .legacy-money-dialog [data-money-quick=reset]{background:#393b40;border-color:#60636b;color:#dedfe3}
body.legacy-player .legacy-money-dialog [data-money-amount]{width:100%;min-width:0;height:44px}
body.legacy-player .legacy-money-dialog [data-enter]{min-height:44px;padding:0 16px}
body.legacy-player .legacy-money-dialog [data-exit],body.legacy-player .legacy-money-dialog [data-check-transfer]{width:100%;min-height:42px;padding:10px}
body.legacy-player .legacy-money-dialog [data-money-error],body.legacy-player .legacy-money-dialog [data-money-availability]{margin:0;font-size:12px;line-height:1.7;overflow-wrap:anywhere}
body.legacy-player .legacy-money-dialog [data-money-error]:empty{display:none}
body.legacy-player .legacy-money-dialog .legacy-money-note{margin:0;padding-top:14px;border-top:1px solid #373b42;color:#aeb7c5;font-size:12px;line-height:1.7;overflow-wrap:anywhere}
body.legacy-player.legacy-mobile .legacy-catalog-page{padding:10px 12px 0}
body.legacy-player.legacy-mobile .legacy-catalog-page .legacy-catalog-toolbar{grid-template-columns:minmax(0,1fr);gap:8px;margin-bottom:12px}
body.legacy-player.legacy-mobile .legacy-catalog-controls{width:100%;gap:8px}
body.legacy-player.legacy-mobile .legacy-selected-provider{flex:1;max-width:none;padding-left:10px;padding-right:10px}
body.legacy-player.legacy-mobile .legacy-catalog-page .legacy-heading{gap:8px;padding:10px 0;background:transparent;flex-wrap:wrap}
body.legacy-player.legacy-mobile .legacy-catalog-page .legacy-heading [data-money-modal]{flex:none;padding:8px 10px}
body.legacy-player.legacy-mobile .legacy-money-dialog>.legacy-dialog-body{padding:16px;gap:14px}
body.legacy-player.legacy-mobile .legacy-money-dialog .legacy-money-balance{padding:12px}
body.legacy-player.legacy-mobile .legacy-money-dialog .legacy-money-balance strong{font-size:19px}
body.legacy-player.legacy-mobile .legacy-money-dialog [data-enter]{padding:0 12px}
body.legacy-player.legacy-mobile .legacy-money-dialog .legacy-money-quick{grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}
body.legacy-player.legacy-mobile .legacy-money-dialog [data-money-quick]{min-height:40px}
/* Betting filters use the existing controller's inputs and buttons. Keep the
   page's controls inside its panel; only the results table may scroll. */
body.legacy-player #portal .bet-history{min-width:0;max-width:100%}
body.legacy-player #portal .bet-history>header{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:18px}
body.legacy-player #portal .bet-history>header>div{min-width:0}
body.legacy-player #portal .bet-history>header h2{margin:0 0 6px}
body.legacy-player #portal .bet-history>header p{margin:0;color:#aeb7c4;font-size:12px;line-height:1.6}
body.legacy-player #portal .bet-history button{min-height:40px;border:1px solid #46515f;border-radius:4px;background:#252c35;color:#e5e9f0;padding:9px 14px;font-size:12px;line-height:20px;white-space:nowrap}
body.legacy-player #portal .bet-history button:not(:disabled):hover{border-color:var(--legacy-border);color:#fff}
body.legacy-player #portal .bet-history button.on,body.legacy-player #portal .bet-history [data-bet-search]{border-color:var(--legacy-border);background:var(--legacy-gradient);color:#fff}
body.legacy-player #portal .bet-history [data-bet-refresh]{flex:none}
body.legacy-player #portal .bet-types{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:14px}
body.legacy-player #portal .bet-types button{min-width:76px}
body.legacy-player #portal .bet-period{display:grid;grid-template-columns:minmax(150px,1fr) 16px minmax(150px,1fr) auto;gap:10px;align-items:end;min-width:0;padding:16px;border:1px solid #36414d;border-radius:5px;background:#1a2028}
body.legacy-player #portal .bet-period>label{display:grid;gap:8px;min-width:0;margin:0;color:#bdc7d4;font-size:12px;line-height:18px}
body.legacy-player #portal .bet-period>span{align-self:end;padding-bottom:12px;text-align:center;color:#8794a5}
body.legacy-player #portal .bet-period input{display:block;width:100%;min-width:0;max-width:100%;height:42px;padding:8px 10px;border:1px solid #4c5867;border-radius:4px;background:#101720;color:#f3f6fb;font-size:13px;line-height:24px;color-scheme:dark}
body.legacy-player #portal .bet-period>div{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px;min-width:0}
body.legacy-player #portal .bet-period button{height:42px;min-width:0;padding:8px 12px}
body.legacy-player #portal .bet-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-top:16px}
body.legacy-player #portal .bet-summary>span{display:flex;align-items:center;justify-content:space-between;gap:10px;min-width:0;padding:12px;border:1px solid #36414d;border-radius:4px;background:#191e25;color:#aeb9c7;font-size:12px;line-height:20px}
body.legacy-player #portal .bet-summary b{min-width:0;color:#f5df9e;text-align:right;overflow-wrap:anywhere}
body.legacy-player #portal .bet-table-wrap{min-width:0;max-width:100%}
body.legacy-player #portal .bet-table-wrap table{min-width:720px}
/* The support controller's footer actions are type=button, not submit inputs. */
body.legacy-player .inquiry-modal>footer{display:flex;justify-content:flex-end;gap:10px;margin-top:20px;padding-top:18px;border-top:1px solid #3c4653}
body.legacy-player .inquiry-modal>footer button{display:inline-flex;align-items:center;justify-content:center;min-width:120px;min-height:44px;margin:0;padding:10px 22px;border:1px solid #596473;border-radius:4px;background:#2c333d;color:#e5e9ef;font-size:14px;line-height:22px;font-weight:600}
body.legacy-player .inquiry-modal>footer [data-inquiry-submit]{border-color:var(--legacy-border);background:var(--legacy-gradient);color:#fff}
body.legacy-player .inquiry-modal>footer button:not(:disabled):hover{filter:brightness(1.12)}
@media(max-width:1600px){
  body.legacy-player #portal .bet-period{grid-template-columns:minmax(0,1fr) 16px minmax(0,1fr)}
  body.legacy-player #portal .bet-period>div{grid-column:1/-1;justify-self:end;min-width:300px}
}
body.legacy-player.legacy-mobile #portal .bet-history>header{gap:10px;align-items:flex-start;margin-bottom:14px}
body.legacy-player.legacy-mobile #portal .bet-history>header p{font-size:11px}
body.legacy-player.legacy-mobile #portal .bet-history [data-bet-refresh]{min-height:36px;padding:7px 9px;font-size:11px;line-height:20px}
body.legacy-player.legacy-mobile #portal .bet-types{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:6px}
body.legacy-player.legacy-mobile #portal .bet-types button{grid-column:span 2;min-width:0;padding:8px 10px}
body.legacy-player.legacy-mobile #portal .bet-types button:nth-child(n+4){grid-column:span 3}
body.legacy-player.legacy-mobile #portal .bet-period{grid-template-columns:minmax(0,1fr) 12px minmax(0,1fr);gap:10px 6px;padding:12px}
body.legacy-player.legacy-mobile #portal .bet-period>div{grid-column:1/-1;justify-self:stretch;min-width:0;gap:5px}
body.legacy-player.legacy-mobile #portal .bet-period input{padding:8px 5px;font-size:12px}
body.legacy-player.legacy-mobile #portal .bet-period button{padding:8px 3px}
body.legacy-player.legacy-mobile #portal .bet-summary{grid-template-columns:minmax(0,1fr);gap:7px;margin-top:12px}
body.legacy-player.legacy-mobile .inquiry-modal>footer{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;padding-top:15px;margin-top:16px}
body.legacy-player.legacy-mobile .inquiry-modal>footer button{width:100%;min-width:0;padding:10px 12px}
body.legacy-player .pw-modal form>section h3{font-size:14px;margin:0 0 8px;color:#fff}
body.legacy-player .pw-modal form>section p{font-size:11px;line-height:1.7;color:#b9c4d4}
body.legacy-player .pw-modal label{font-size:12px;line-height:1.6;color:#eee;min-width:0;margin:0;gap:7px}
body.legacy-player .pw-modal :is(input,select){height:45px;width:100%;min-width:0;border:1px solid var(--legacy-border);background:#0e1013;color:#fff;border-radius:4px;padding:0 12px;font-size:13px}
body.legacy-player .pw-modal .pw-input{width:100%;border:0;background:transparent;padding:0}
body.legacy-player .pw-modal .pw-input button{font-size:11px;white-space:nowrap;flex:none}
body.legacy-player .pw-modal .pw-new>label{flex:1;min-width:0}
body.legacy-player .pw-modal .phone-auth{margin:8px 0;min-width:0}
body.legacy-player .pw-modal .phone-auth button{min-width:95px;white-space:nowrap;font-size:12px}
body.legacy-player .pw-modal small{font-size:11px;color:#abb8ca;line-height:1.7}
body.legacy-player .pw-modal small.error{color:#ff9c9c}
body.legacy-player .pw-modal .pw-submit{width:200px;height:45px;justify-self:center;margin-top:5px;border:0;border-radius:4px}
body.legacy-player.legacy-mobile .pw-modal>header{padding:12px 15px}
body.legacy-player.legacy-mobile .pw-modal>form{padding:15px;gap:12px}
body.legacy-player.legacy-mobile .pw-modal :is(input,select){height:40px}
body.legacy-player.legacy-mobile .pw-modal form>section{padding:10px}
body.legacy-player.legacy-mobile .legacy-chat-backdrop{padding:8px}
body.legacy-player.legacy-mobile .legacy-chat-dialog{width:calc(100vw - 16px);max-height:calc(100dvh - 16px)}
body.legacy-player.legacy-mobile .legacy-chat-dialog>header{height:65px;min-height:65px}
body.legacy-player.legacy-mobile .legacy-chat-dialog>header img{height:48px}
body.legacy-player.legacy-mobile .legacy-chat-thread{height:calc(100dvh - 285px)}
body.legacy-player.legacy-mobile .legacy-chat-post>p{max-width:90%;padding:10px 16px;font-size:12px}
body.legacy-player #portal{width:100%;max-width:none;padding:0;margin:0;color:#eee;background:transparent;--ink:#eee;--muted:#aaa;--line:#42474e;--card:#171a1e;--soft:#20242a;--brand:var(--legacy-accent)}
body.legacy-player #portal .sub-hero,body.legacy-player #portal .portal-hero{padding:15px;background:#101216;border-bottom:1px solid var(--legacy-border);margin:0 0 15px;border-radius:0}body.legacy-player #portal .sub-hero h1{font-size:22px;margin:0 0 7px}body.legacy-player #portal .sub-hero p{font-size:12px;color:#aaa;margin:0}body.legacy-player #portal .account-content{padding:15px;background:#111316;border:1px solid #40444b}body.legacy-player #portal input,body.legacy-player #portal select,body.legacy-player #portal textarea{background:#0e1013;color:#fff;border-color:#535760}body.legacy-player #portal button{border-radius:2px}body.legacy-player #portal .tabs{display:flex;flex-wrap:wrap;gap:4px;margin-bottom:15px}body.legacy-player #portal .tabs a{padding:12px;background:#25282e;border:1px solid #42474e}body.legacy-player #portal .tabs a.on{background:var(--legacy-gradient);border-color:var(--legacy-border)}body.legacy-player .portal-modal{background:#000b}body.legacy-player .portal-modal>article{background:#191c21;color:#eee;border:1px solid var(--legacy-border)}body.legacy-player .portal-modal>article>header{background:var(--legacy-gradient)}body.legacy-player .portal-modal label{color:#ddd}body.legacy-player .portal-modal input,body.legacy-player .portal-modal textarea,body.legacy-player .portal-modal select{background:#101216;color:#eee}body.legacy-player #portal table:not(:where(.sports-history-table)){color:#ddd}body.legacy-player #portal th:not(:where(.sports-history-table th)){background:#252a32;color:#fff}body.legacy-player #portal td:not(:where(.sports-history-table td)){border-color:#3c424b}body.legacy-player #portal .deposit-rules,body.legacy-player #portal .deposit-account,body.legacy-player #portal .portal-card{background:#171b20;color:#ddd;border-color:#454b54}body.legacy-player #portal .portal-empty{color:#aeb4bd;background:transparent}body.legacy-player .portal-rich-body{color:#ddd}body.legacy-player .portal-button{background:var(--legacy-gradient);color:white}
body.legacy-player.legacy-mobile{min-width:0}body.legacy-mobile .legacy-header{display:none}body.legacy-mobile .legacy-mobile-header{display:flex;align-items:center;justify-content:space-between;height:65px;padding:0 13px;background:#000;border-bottom:1px solid var(--legacy-accent);position:sticky;top:0;z-index:40}body.legacy-mobile .legacy-mobile-header>a img{height:47px;max-width:200px;object-fit:contain}body.legacy-mobile .legacy-mobile-header>button{background:none;border:0;color:white;width:35px;height:40px;padding:0;font-size:26px}body.legacy-mobile .legacy-mobile-money{display:flex;gap:15px;justify-content:center;padding:9px 6px;font-size:11px;background:#14171c;border-bottom:1px solid #333}body.legacy-mobile .legacy-mobile-money b{color:#ffd162}body.legacy-mobile .legacy-mobile-nav{display:flex;background:var(--legacy-gradient);padding:10px 0}body.legacy-mobile .legacy-mobile-nav a{flex:1;text-align:center;font-size:12px;border-right:1px solid #ffffff44}body.legacy-mobile .legacy-mobile-nav a:last-child{border:0}body.legacy-mobile .legacy-layout{display:block;min-width:0;padding:0}body.legacy-mobile .legacy-main{padding:8px}body.legacy-mobile .legacy-sidebar{position:fixed;top:0!important;height:100vh;max-height:100vh;z-index:80;background:#111;overflow:auto;transition:transform .2s;width:280px}body.legacy-mobile .legacy-left{left:0;transform:translateX(-100%);padding:10px}body.legacy-mobile .legacy-right{right:0;transform:translateX(100%);padding:10px}body.legacy-mobile .legacy-left.is-open,body.legacy-mobile .legacy-right.is-open{transform:translateX(0)}body.legacy-mobile .legacy-drawer-close{display:block;border:0;background:var(--legacy-gradient);color:white;width:100%;text-align:left;padding:14px;margin-bottom:10px}body.legacy-mobile .legacy-drawer-shade.is-open{display:block;position:fixed;inset:0;background:#0009;z-index:75}body.legacy-mobile .legacy-home-boards{display:none}body.legacy-mobile .legacy-home-banner img,body.legacy-mobile .legacy-home-banner video{aspect-ratio:750/280;object-fit:cover}body.legacy-mobile .legacy-home-tiles{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;margin:8px 0}body.legacy-mobile .legacy-mobile-only{display:block}body.legacy-mobile .legacy-mobile-notice{display:flex;align-items:center;gap:10px;padding:10px 2px;font-size:12px;overflow:hidden;white-space:nowrap}body.legacy-mobile .legacy-mobile-notice img{height:18px}body.legacy-mobile .legacy-mobile-notice a{overflow:hidden;text-overflow:ellipsis}body.legacy-mobile .legacy-content-panel{padding:10px;overflow-x:auto}body.legacy-mobile .legacy-heading{font-size:17px;min-height:49px;padding:11px;margin-bottom:10px}body.legacy-mobile .legacy-heading small{display:none}body.legacy-mobile .legacy-content-panel th,body.legacy-mobile .legacy-content-panel td{font-size:12px;padding:10px 6px}body.legacy-mobile .legacy-footer{font-size:12px}body.legacy-mobile .legacy-footer-links{gap:12px}body.legacy-mobile .legacy-auth-screen{position:relative;min-height:100vh;background-position:center}body.legacy-mobile .legacy-auth-wrap{width:100%;padding:25px 20px}body.legacy-mobile .legacy-auth-logo{margin-bottom:35px}body.legacy-mobile .legacy-auth-logo img{height:auto;width:260px;max-height:135px}body.legacy-mobile .legacy-auth-form{display:grid;grid-template-columns:1fr 1fr;gap:10px;max-width:380px;margin:auto}body.legacy-mobile .legacy-auth-form input{width:100%;grid-column:1/-1;border-radius:3px;height:46px;font-size:16px}body.legacy-mobile .legacy-auth-form button{width:100%;grid-column:1/-1;border-radius:3px}body.legacy-mobile .legacy-auth-form a,body.legacy-mobile .legacy-auth-form a:last-of-type{width:100%;border-radius:3px;font-size:12px}body.legacy-mobile .legacy-auth-form .legacy-error{grid-column:1/-1}body.legacy-mobile .legacy-join-card{padding:20px 15px}body.legacy-mobile .legacy-join-card label{grid-template-columns:100px 1fr;font-size:12px;gap:6px}body.legacy-mobile .legacy-join-card input{height:40px}body.legacy-mobile .legacy-join-card .legacy-form-actions{flex-direction:column}body.legacy-mobile .legacy-join-card .legacy-phone-note,body.legacy-mobile .legacy-sms-row{grid-column:1/-1}body.legacy-mobile .legacy-popup{left:12px!important;top:85px!important;right:12px!important;margin:auto;max-height:calc(100vh - 100px);overflow:auto}body.legacy-mobile .legacy-popup img{max-height:calc(100vh - 155px)}body.legacy-mobile .legacy-catalog-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}body.legacy-mobile .legacy-catalog-toolbar{flex-wrap:wrap}body.legacy-mobile .legacy-catalog-toolbar input{width:100%;flex-basis:100%}body.legacy-mobile .legacy-catalog-game>span,body.legacy-mobile .legacy-provider>span{font-size:12px;padding:10px 4px}body.legacy-mobile .legacy-wheel-wrap{width:300px;height:300px}body.legacy-mobile .legacy-wheel-label{font-size:11px}body.legacy-player.legacy-mobile #portal .account-content{padding:9px}body.legacy-player.legacy-mobile #portal .sub-hero{padding:12px}body.legacy-player.legacy-mobile #portal .sub-hero h1{font-size:19px}body.legacy-player.legacy-mobile #portal .tabs a{padding:9px;font-size:12px}

/* 11/07 디아블로: 모바일 포인트 전환 — 제목 아래 탭 한 줄, 표 대신 한 건씩 카드로 정렬. */
body.legacy-player.legacy-mobile #portal .point-exchange-page:has([data-point-rows]) .point-history header{flex-direction:column;align-items:stretch;gap:10px}
body.legacy-player.legacy-mobile #portal .point-exchange-page:has([data-point-rows]) .point-history header h2{margin:0;font-size:17px;white-space:nowrap}
body.legacy-player.legacy-mobile #portal .point-exchange-page:has([data-point-rows]) .point-history [data-point-filters]{display:flex;flex-wrap:nowrap;gap:5px;overflow-x:auto;scrollbar-width:none;-webkit-overflow-scrolling:touch}
body.legacy-player.legacy-mobile #portal .point-exchange-page:has([data-point-rows]) .point-history [data-point-filters]::-webkit-scrollbar{display:none}
body.legacy-player.legacy-mobile #portal .point-exchange-page:has([data-point-rows]) .point-history [data-point-filters] button{flex:0 0 auto;padding:7px 11px;font-size:12px;white-space:nowrap}
body.legacy-player.legacy-mobile #portal .point-exchange-page:has([data-point-rows]) .point-history>div{overflow:visible;margin-top:10px}
body.legacy-player.legacy-mobile #portal .point-exchange-page:has([data-point-rows]) .point-history table{display:block;width:100%}
body.legacy-player.legacy-mobile #portal .point-exchange-page:has([data-point-rows]) .point-history thead{display:none}
body.legacy-player.legacy-mobile #portal .point-exchange-page:has([data-point-rows]) .point-history tbody{display:grid;gap:7px}
body.legacy-player.legacy-mobile #portal .point-exchange-page:has([data-point-rows]) .point-history tbody tr{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:5px 10px;align-items:center;padding:10px 12px;background:#181b20;border:1px solid #33373e;border-radius:4px}
body.legacy-player.legacy-mobile #portal .point-exchange-page:has([data-point-rows]) .point-history tbody td{display:block;padding:0!important;border:0!important;text-align:left;font-size:13px;line-height:1.45;overflow-wrap:anywhere}
body.legacy-player.legacy-mobile #portal .point-exchange-page:has([data-point-rows]) .point-history tbody td:only-child{grid-column:1/-1;text-align:center;color:#aaa}
body.legacy-player.legacy-mobile #portal .point-exchange-page:has([data-point-rows]) .point-history [data-point-rows] td:nth-child(1){grid-column:2;grid-row:1;text-align:right;color:#999;font-size:11px;white-space:nowrap}
body.legacy-player.legacy-mobile #portal .point-exchange-page:has([data-point-rows]) .point-history [data-point-rows] td:nth-child(2){grid-column:1;grid-row:1;justify-self:start;padding:2px 8px!important;border-radius:3px;background:var(--legacy-gradient);color:#fff;font-size:12px;font-weight:700;white-space:nowrap}
body.legacy-player.legacy-mobile #portal .point-exchange-page:has([data-point-rows]) .point-history [data-point-rows] td:nth-child(3){grid-column:1/-1;grid-row:2;color:#ddd}
body.legacy-player.legacy-mobile #portal .point-exchange-page:has([data-point-rows]) .point-history [data-point-rows] td:nth-child(4){grid-column:1;grid-row:3;font-size:15px;font-weight:700}
body.legacy-player.legacy-mobile #portal .point-exchange-page:has([data-point-rows]) .point-history [data-point-rows] td:nth-child(5){grid-column:2;grid-row:3;text-align:right;color:#aaa;font-size:12px;white-space:nowrap}
body.legacy-player.legacy-mobile #portal .point-exchange-page:has([data-point-rows]) .point-history [data-point-rows] td:nth-child(5)::before{content:'잔여 '}
body.legacy-player.legacy-mobile #portal .point-exchange-page:has([data-point-rows]) .point-history [data-point-rows] td.plus{color:#ffd162}
body.legacy-player.legacy-mobile #portal .point-exchange-page:has([data-point-rows]) .point-history [data-point-rows] td.minus{color:#ff8a8a}
body.legacy-player.legacy-mobile #portal .point-exchange-page:has([data-point-rows]) .point-history [data-convert-requests] td:nth-child(1){grid-column:2;grid-row:1;text-align:right;color:#999;font-size:11px;white-space:nowrap}
body.legacy-player.legacy-mobile #portal .point-exchange-page:has([data-point-rows]) .point-history [data-convert-requests] td:nth-child(4){grid-column:1;grid-row:1;font-weight:700;color:#ffd162}
body.legacy-player.legacy-mobile #portal .point-exchange-page:has([data-point-rows]) .point-history [data-convert-requests] td:nth-child(2){grid-column:1;grid-row:2}
body.legacy-player.legacy-mobile #portal .point-exchange-page:has([data-point-rows]) .point-history [data-convert-requests] td:nth-child(3){grid-column:2;grid-row:2;text-align:right;font-weight:700;white-space:nowrap}
body.legacy-player.legacy-mobile #portal .point-exchange-page:has([data-point-rows]) .point-history [data-convert-requests] td:nth-child(2)::before{content:'신청 ';color:#999}
body.legacy-player.legacy-mobile #portal .point-exchange-page:has([data-point-rows]) .point-history [data-convert-requests] td:nth-child(3)::before{content:'전환 ';color:#999;font-weight:400}
body.legacy-player.legacy-mobile #portal .point-exchange-page:has([data-point-rows]) .point-buttons{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px}
body.legacy-player.legacy-mobile #portal .point-exchange-page:has([data-point-rows]) .point-buttons button{min-width:0;padding:9px 2px;font-size:12px;white-space:nowrap}
body.legacy-player.legacy-mobile #portal .point-exchange-page:has([data-point-rows]) .point-direct-entry input{width:100%}
body.legacy-player.legacy-mobile #portal .point-exchange-page:has([data-point-rows]) .point-history [data-convert-requests] td:only-child,body.legacy-player.legacy-mobile #portal .point-exchange-page:has([data-point-rows]) .point-history [data-point-rows] td:only-child{grid-column:1/-1;grid-row:auto;text-align:center;color:#aaa;font-size:13px;font-weight:400;white-space:normal}
