/* The reference uses a continuous coral frame and flat white tab strip. */
.game-coral .account-panel-bg{padding:5vh 24px 24px;align-items:flex-start;z-index:52;background:#0008;backdrop-filter:none}
.game-coral .modal.account-panel{--panel-orange:#fc7555;--panel-coral:#ff5d58;width:1124px;max-width:100%;padding:0 10px 10px;border:0;border-radius:0;max-height:calc(95dvh - 24px);display:flex;flex-direction:column;overflow:hidden;background:linear-gradient(to right,var(--panel-orange) 50%,var(--panel-coral));box-shadow:none;clip-path:polygon(20px 0,calc(100% - 16px) 0,100% 16px,100% calc(100% - 16px),calc(100% - 16px) 100%,16px 100%,0 calc(100% - 16px),0 16px)}
.account-panel::before,.account-panel::after{content:none}
.account-panel-head{margin:0 -10px;min-height:92px;flex-shrink:0;padding:2px 42px 0 48px;display:flex;align-items:center;gap:10px;color:#fff}
.account-panel-head h2{margin:0;display:flex;align-items:baseline;gap:8px;font-size:32px;font-weight:600;letter-spacing:-.045em;color:#fff;line-height:1.2;min-width:0;background:none;-webkit-text-fill-color:currentColor}
.account-panel-head h2 small{font-size:14px;font-weight:400;letter-spacing:0;white-space:nowrap;color:#fff;-webkit-text-fill-color:currentColor}
.account-panel-brand{line-height:1;margin-right:0;margin-left:auto;display:flex;align-items:center;justify-content:flex-end;gap:7px;font-size:25px;font-weight:900;letter-spacing:-.04em;color:#fff;white-space:nowrap}
.account-panel-brand img{width:30px;height:30px;filter:brightness(0) invert(1)}
.account-panel-close{border:0;background:none;color:#fff;width:44px;height:44px;flex-shrink:0;display:grid;place-items:center;padding:6px;cursor:pointer}
.panel-close-mark{display:block;width:32px;height:32px;object-fit:contain}.panel-dialog-head>button{display:grid;place-items:center;padding:6px;line-height:1}.panel-dialog-head>button .panel-close-mark{width:28px;height:28px}
.account-panel-tabs{display:flex;gap:0;padding:0 40px;min-height:55px;flex-shrink:0;overflow-x:auto;background:#fff;border-bottom:1px solid #e8e8e8;scrollbar-width:thin;scroll-padding-inline:40px}
.account-panel-tabs button{flex:1 0 112px;position:relative;min-height:54px;padding:0 12px;border:0;border-left:1px solid #eee;border-right:1px solid #eee;border-radius:0;background:#fff;color:#747474;font-size:16px;font-weight:700;cursor:pointer;transition:color 200ms,background-color 200ms;white-space:nowrap;box-shadow:none}
.account-panel-tabs button::before{content:none}.account-panel-tabs button::after{content:"";position:absolute;left:0;right:0;bottom:0;height:4px;background:var(--panel-coral);opacity:0;transition:opacity 200ms}
.account-panel-tabs button[aria-selected=true]{color:#363636;font-weight:800}.account-panel-tabs button[aria-selected=true]::after{opacity:1}
.account-panel [data-panel-content]{background:#fff;padding:36px 44px 40px;overflow:auto;overscroll-behavior:contain;min-height:0;min-width:0;scrollbar-gutter:stable}
.account-panel [data-panel-content]>h3:not(.panel-section-title):not(.sr-only){font-size:22px;font-weight:600;margin:0 0 24px}
.account-panel .card{border-radius:0;box-shadow:none}.account-panel .table-wrap{border:0;border-radius:0;margin-top:24px}
.account-panel table{background:#fff;font-size:14px;border-collapse:collapse}.account-panel th{background:#f7f7f7;color:#585858;padding:16px;font-weight:700;border-block:1px solid #eee}.account-panel td{padding:16px;border-bottom:1px solid #eee}.account-panel .empty-row{text-align:center;height:110px;color:#686868}
.panel-subtabs{display:flex;align-items:stretch;gap:0;margin:0 0 0;border-bottom:1px solid #e8e8e8}
.panel-subtabs button{min-height:52px;padding:0 30px;border:1px solid #eee;border-bottom:2px solid transparent;background:#fbfbfb;color:#747474;font-size:16px;font-weight:700;cursor:pointer;border-radius:0}
.panel-subtabs button[aria-pressed=true]{background:#fff;color:#363636;border-bottom-color:var(--panel-coral)}
.panel-section-title{padding:20px 16px;margin:0;background:linear-gradient(to right,var(--panel-orange),var(--panel-coral));color:#fff;text-align:center;font-size:22px;font-weight:700;line-height:1.2}
.panel-guidance{padding:24px 40px;background:#fff7f7;border:1px solid #eee;font-size:14px;line-height:1.9;margin-bottom:8px;color:#313131}.panel-guidance p{margin:0 0 6px}.panel-guidance .emphasis{color:#c92e3e;font-weight:600}
.panel-event-links{padding:16px;border:16px solid var(--panel-orange);border-top:0;margin-bottom:8px}.panel-event-links>button{width:100%;display:flex;align-items:center;gap:16px;padding:14px 10px;border:0;border-bottom:1px solid var(--panel-coral);background:#fff;text-align:left;color:#222;font-size:15px;cursor:pointer}.panel-event-links>button:last-child{border-bottom:0}.panel-event-links strong{padding:9px 18px;background:#c94a32;color:#fff;border-radius:999px;min-width:158px;text-align:center;font-size:14px}.panel-event-links span{line-height:1.6}
.panel-form-surface{padding:30px 40px;background:#fbfbfb;border:1px solid #e1e1e1}.panel-form-logo{display:flex;align-items:center;justify-content:center;gap:8px;font-size:24px;font-weight:900;color:#d4433b;margin:0 0 36px}.panel-form-logo img{width:30px;height:30px}
.panel-form-logo>span{font-weight:900;letter-spacing:-.035em;background:linear-gradient(95deg,#ff4255 12%,#ff6f69 60%,#ffae82);background-clip:text;-webkit-background-clip:text;-webkit-text-fill-color:transparent;filter:drop-shadow(0 1px 1px #7e2b2129)}
.panel-form-logo>img{filter:drop-shadow(0 1px 1px #7e2b2129)}
@media(forced-colors:active){.panel-form-logo>span{background:none;-webkit-text-fill-color:CanvasText;filter:none}.panel-form-logo>img{filter:none}}
.panel-form-row{display:flex;align-items:center;gap:16px;margin-bottom:24px;min-width:0}.panel-form-field,.panel-form-row>label{display:flex;align-items:center;gap:24px;padding:0 24px;min-height:46px;flex:1;min-width:0;border-radius:999px;background:#fff;border:1px solid #ffe8e7;box-shadow:0 0 8px #ffc5c536;font-weight:400;color:#333;font-size:15px}
.panel-form-field>span,.panel-form-row>label>span{flex-shrink:0;min-width:100px}.panel-form-field .input,.panel-form-row>label .input{border:0;box-shadow:none;padding:8px 0;background:transparent;min-height:44px;font-size:16px;color:#222;min-width:0}.panel-form-field select{flex:1;max-width:100%;appearance:auto}.panel-form-field input[readonly]{color:#686868}.panel-form-field button{background:none;border:0;color:#b6323c;min-height:44px;font-size:13px;cursor:pointer;white-space:nowrap}
.panel-form-field:focus-within{border-color:var(--panel-coral)}
.panel-money-presets{display:flex;align-items:center;gap:4px;flex-wrap:wrap}.panel-money-presets button{padding:9px 15px;min-height:44px;border:0;border-radius:999px;background:var(--panel-orange);color:#fff;font-weight:600;cursor:pointer;white-space:nowrap}
.panel-package-options{display:flex;gap:6px;flex-wrap:wrap;margin:12px 0 24px}.panel-package-options .wallet-option{min-height:36px;display:block;flex:0 0 auto;padding:7px 13px;border-radius:999px;font-size:12px;background:#fff;border:1px solid #e5d5cb;box-shadow:none}.panel-package-options .wallet-option[aria-pressed=true]{color:#ac2937;border-color:var(--panel-coral)}
.panel-form-note{margin:12px 0 20px;color:#707070;font-size:13px;line-height:1.8}.panel-inline-actions{display:flex;align-items:center;justify-content:flex-end;gap:12px;flex-wrap:wrap;margin:0 0 24px}.panel-inline-actions button{min-height:36px;padding:6px 12px;background:none;border:1px solid var(--panel-orange);color:#b33e38;cursor:pointer;font-size:13px}.panel-inline-actions .panel-tip-link{border:0;text-decoration:underline}
.panel-bonus-options{display:flex;align-items:center;gap:24px;min-height:44px;flex-wrap:wrap}.panel-bonus-options label{display:flex;align-items:center;gap:8px;font-weight:400;color:#555;font-size:14px}.panel-leverage-controls{display:flex;gap:16px;align-items:center}.panel-leverage-controls button{border:0;background:none;color:#9f4b42;width:36px;height:36px;font-size:24px}.panel-leverage-controls strong{font-size:17px}
.panel-memo-field{padding:20px 24px;border:1px solid #ffe8e7;border-radius:24px;box-shadow:0 0 8px #ffc5c536;background:#fff}.panel-memo-heading{display:flex;justify-content:space-between;gap:16px;align-items:center;margin-bottom:16px;font-size:15px}.panel-memo-heading button{border:0;border-radius:999px;min-height:36px;padding:6px 16px;background:var(--panel-orange);color:#fff;cursor:pointer;font-size:13px}.panel-memo-field textarea{resize:vertical;border:0;box-shadow:none;background:#fff;padding:0;min-height:110px;font-size:16px}
.panel-bank-note{padding:20px 32px;background:var(--panel-orange);color:#fff;font-size:14px;font-weight:600;line-height:1.9;margin:0}.panel-bank-note p{margin:0}.panel-submit-row{text-align:center;padding:32px 0 8px}.panel-selection-quote{display:flex;align-items:center;justify-content:center;gap:20px;flex-wrap:wrap;margin:18px 0;color:#333;font-size:14px}.panel-selection-quote strong{font-size:18px;color:#c22d3b}
.panel-round-button{position:relative;isolation:isolate;min-height:44px;min-width:164px;padding:9px 26px;border:1px solid #ff6a53;border-radius:999px;background:linear-gradient(110deg,#ff4056,#ff8961);box-shadow:0 4px 0 #f13c4d,0 6px 10px #ff8f5d35;color:#461c1a;font-size:16px;font-weight:700;cursor:pointer;transition:box-shadow 150ms,background-color 150ms}.panel-round-button::before{content:"";position:absolute;inset:1px 5px 45%;border-radius:0 0 50% 50%;background:#ffffff20;pointer-events:none}.panel-round-button.ghost{background:#fff;box-shadow:none;color:#a1363b}.panel-round-button:disabled{opacity:.6;cursor:not-allowed;box-shadow:none}
.panel-service-note{color:#737373;line-height:1.8;font-size:13px;margin:20px 0}.panel-loading,.panel-empty{padding:50px 16px;text-align:center}.panel-empty h3{font-size:22px;font-weight:600}.panel-empty p{color:#686868;line-height:1.8;overflow-wrap:anywhere}
.panel-summary-strip{display:flex;margin:0 0 30px;border:1px solid #eee}.panel-summary-strip>div{flex:1;text-align:center;min-width:0}.panel-summary-strip dt{padding:14px;background:#fbfbfb;font-size:14px;color:#686868}.panel-summary-strip dd{padding:20px 12px;margin:0;font-size:24px;font-weight:600;color:#c3323d;overflow-wrap:anywhere}
.panel-profile{max-width:730px;margin:30px auto;display:block}.panel-profile>div{display:flex;justify-content:space-between;gap:24px;border-bottom:1px solid #eee;padding:18px 24px}.panel-profile dt{color:#686868;flex-shrink:0;white-space:nowrap;word-break:keep-all}.panel-profile dd{margin:0;color:#333;overflow-wrap:anywhere;text-align:right;min-width:0}.panel-password-form{padding:36px 40px;max-width:800px;margin:auto}.panel-password-form .panel-form-row{margin-bottom:22px}
.panel-coupon-entry{display:flex;align-items:center;gap:16px;max-width:700px;margin:0 auto 28px}.panel-coupon-entry .input{border-radius:999px;border:1px solid #ffe8e7;box-shadow:0 0 8px #ffc5c536}
.panel-board table{width:100%;table-layout:fixed}.panel-board th:first-child{width:80px}.panel-board td:first-child{text-align:center;color:#686868}.panel-board button{white-space:normal;overflow-wrap:anywhere;width:100%;border:0;background:#fff;color:#444;min-height:44px;padding:6px 0;display:flex;text-align:left;align-items:center;gap:16px;font-size:16px;cursor:pointer}.panel-board button>span{flex-shrink:0;margin-left:auto;color:#686868}.panel-board button>strong{min-width:0;flex:1;white-space:normal;font-weight:500;overflow-wrap:anywhere}
.panel-section-heading{display:flex;justify-content:space-between;gap:16px;align-items:center;margin-bottom:24px}.panel-section-heading h3{font-size:22px;font-weight:600;margin:0}
.panel-reward-banner{text-align:center;background:#fff7f4;padding:28px 24px;margin-bottom:30px}.panel-reward-banner strong{font-size:28px;font-weight:800;color:#cf3e3c}.panel-reward-banner p{margin:12px 0 0;font-size:14px;color:#686868}
.panel-roulette-preview{display:grid;grid-template-columns:340px 1fr;gap:48px;align-items:center;padding:20px 30px;text-align:center}.panel-roulette-preview svg{width:100%;max-width:340px}.panel-roulette-preview p{color:#6e5d56}.panel-roulette-preview p>strong{font-size:30px;color:#bd293d}.panel-roulette-tickets>div{padding:16px 0;border-bottom:1px solid #eed7cd;display:grid;grid-template-columns:1fr auto;gap:12px;align-items:center}.panel-roulette-tickets>div>span{text-align:left;font-weight:600}.panel-roulette-tickets>div>strong{color:#bd293d;font-size:28px}.panel-roulette-tickets small{font-size:14px;margin-left:6px}.panel-roulette-tickets>div>button{grid-column:1 / -1;justify-self:center}.panel-text-link{display:inline-flex;align-items:center;min-height:44px;color:#bd293d;text-decoration:underline}
.panel-calendar-heading{display:flex;justify-content:center;gap:40px;align-items:center;margin:4px 0 32px}.panel-calendar-heading strong{font-size:30px;font-weight:600}.panel-calendar-heading button{width:44px;height:44px;min-height:44px;background:none;border:1px solid #eee;color:#b24d43;font-size:28px;cursor:pointer}.panel-calendar table{width:100%;table-layout:fixed}.panel-calendar th{text-align:center;background:#fff1ed;border:1px solid #ececec}.panel-calendar td{border:1px solid #e9e9e9;height:100px;vertical-align:top;text-align:left}.panel-calendar th:first-child,.panel-calendar td:first-child{color:#c53240}.panel-calendar td.is-today{box-shadow:inset 0 0 0 2px #ff7457;background:#fff7f4}.panel-calendar small{display:block;color:#c6383c;margin-top:10px;font-size:12px}
.panel-lotto-picked{display:flex;gap:12px;justify-content:center;margin:28px 0}.panel-lotto-picked span{width:50px;height:50px;border-radius:50%;background:#fc7555;color:#fff;display:flex;align-items:center;justify-content:center;font-size:22px;font-weight:700}.panel-number-grid{display:grid;grid-template-columns:repeat(9,1fr);gap:10px;max-width:620px;margin:auto}.panel-number-grid button{width:100%;min-height:48px;border:1px solid #ddd;border-radius:50%;background:#fff;color:#686868;font-size:17px;cursor:pointer}.panel-number-grid button[aria-pressed=true]{background:#fa7555;border-color:#fa7555;color:#391c17;font-weight:700}.panel-lotto-actions{justify-content:center;gap:18px;margin:32px 0}
.game-coral .panel-dialog-bg{z-index:53;padding:24px;background:#0007;backdrop-filter:none}.game-coral .modal.panel-dialog{padding:0 8px 8px;border:0;border-radius:0;background:linear-gradient(to right,#fc7555,#ff6958);width:640px;max-width:100%;max-height:calc(100dvh - 48px);display:flex;flex-direction:column;overflow:hidden;box-shadow:none;clip-path:polygon(20px 0,100% 0,100% 100%,0 100%,0 20px)}.game-coral .modal.panel-dialog.is-wide{width:900px}.panel-dialog-head{display:flex;align-items:center;justify-content:center;position:relative;min-height:72px;flex-shrink:0;color:#fff;padding:12px 50px}.panel-dialog-head h3{font-size:24px;margin:0;font-weight:700;color:#fff}.panel-dialog-head>button{position:absolute;right:10px;top:14px;width:44px;height:44px;border:0;background:none;color:#fff;font-size:28px;cursor:pointer}.panel-dialog-body{padding:28px;background:#fff;min-height:0;overflow:auto;overscroll-behavior:contain}.panel-dialog-body>p{line-height:1.8}.panel-dialog-body .notice-full-text{white-space:pre-wrap;overflow-wrap:anywhere}.panel-rate-grid{display:grid;grid-template-columns:1fr 30px 1fr;gap:8px;align-items:end;margin-bottom:24px}.panel-rate-grid label{font-size:14px;color:#666;display:block}.panel-rate-grid input{border:1px solid #ffbcb8;border-radius:3px;box-shadow:none;color:#c33535;text-align:right;margin-top:10px;height:46px}.panel-rate-grid>span{padding-bottom:12px;text-align:center;color:#aaa;font-size:26px}.panel-wallet-address{display:grid;grid-template-columns:1fr 138px;gap:14px}.panel-wallet-address label{font-size:14px;color:#666;display:block}.panel-wallet-address input{margin-top:10px;border-radius:3px;border-color:#ffc4bd;height:46px}.panel-wallet-qr{border:1px solid #ffd4cd;display:flex;align-items:center;justify-content:center;text-align:center;color:#855047;font-size:12px;min-height:138px}.panel-rate-notes{font-size:13px;color:#737373;line-height:1.8;margin:16px 0 26px}.panel-rate-notes p{margin:0}.panel-rate-notes .emphasis{color:#cc3540}.panel-dialog-footer{border-top:1px solid #ffddd6;padding-top:20px;text-align:center;margin-top:24px}
@media(hover:hover) and (pointer:fine){.account-panel-tabs button:hover{background:#fff7f4;color:#363636}.panel-round-button:hover{box-shadow:0 4px 0 #de3444,0 7px 12px #ff8f5d55}.panel-board button:hover{color:#c73d42}}
@media(max-width:760px){.game-coral .account-panel-bg{padding:8px max(8px,env(safe-area-inset-right)) 8px max(8px,env(safe-area-inset-left))}.game-coral .modal.account-panel{padding:0 6px 6px;max-height:calc(100dvh - 16px);clip-path:polygon(12px 0,calc(100% - 12px) 0,100% 12px,100% calc(100% - 12px),calc(100% - 12px) 100%,12px 100%,0 calc(100% - 12px),0 12px)}.account-panel-head{margin:0 -6px;padding:4px 10px 0 18px;min-height:64px;gap:6px}.account-panel-head h2{font-size:22px;flex-wrap:wrap;gap:2px 6px}.account-panel-head h2 small{font-size:10px}.account-panel-brand{font-size:16px;gap:4px}.account-panel-brand img{width:22px;height:22px}.account-panel-close{padding:8px;width:40px;height:44px}.account-panel-close .panel-close-mark{width:32px;height:32px}.account-panel-tabs{padding:0 8px;scroll-padding-inline:8px;min-height:49px}.account-panel-tabs button{min-height:48px;flex-basis:102px;font-size:14px;padding:0 12px}.account-panel [data-panel-content]{padding:24px 14px calc(28px + env(safe-area-inset-bottom));min-height:0;scrollbar-gutter:auto}.panel-subtabs button{font-size:14px;padding:0 20px;min-height:46px}.panel-section-title{font-size:19px;padding:18px 12px}.panel-guidance{padding:18px 16px;font-size:13px}.panel-event-links{border-width:8px;padding:8px}.panel-event-links>button{padding:12px 4px;align-items:flex-start;gap:10px;font-size:13px}.panel-event-links strong{min-width:90px;padding:8px 10px;font-size:12px}.panel-form-surface{padding:24px 12px}.panel-form-logo{margin-bottom:26px;font-size:20px}.panel-form-row{gap:10px;flex-wrap:wrap;margin-bottom:20px}.panel-form-field,.panel-form-row>label{padding:0 16px;gap:12px;min-width:100%;font-size:13px}.panel-form-field>span,.panel-form-row>label>span{min-width:70px}.panel-form-field .input,.panel-form-row>label .input{font-size:16px;width:100%}.panel-money-presets{width:100%;justify-content:space-between}.panel-money-presets button{font-size:12px;padding:10px 12px;flex:1}.panel-package-options .wallet-option{font-size:12px;padding:8px 11px}.panel-bonus-options{gap:12px}.panel-bonus-options label{font-size:12px}.panel-memo-field{padding:16px;border-radius:22px}.panel-memo-heading{font-size:13px;gap:8px;flex-wrap:wrap}.panel-memo-heading button{font-size:12px}.panel-bank-note{padding:16px;font-size:12px}.panel-round-button{font-size:14px;min-width:130px;padding:10px 20px}.panel-submit-row{padding-top:24px}.panel-summary-strip dt{font-size:12px;padding:12px 6px}.panel-summary-strip dd{font-size:19px;padding:16px 6px}.panel-coupon-entry{gap:10px;flex-wrap:wrap}.panel-coupon-entry .input{flex:1;min-width:130px}.panel-board th:first-child{width:50px}.account-panel th,.account-panel td{padding:12px 10px}.panel-board button{font-size:14px}.panel-calendar-heading{gap:24px;margin-bottom:20px}.panel-calendar-heading strong{font-size:24px}.panel-calendar td{height:68px;padding:10px 6px}.panel-calendar th{padding:12px 3px}.panel-calendar small{font-size:10px}.panel-lotto-picked{gap:6px}.panel-lotto-picked span{width:36px;height:36px;font-size:17px}.panel-number-grid{grid-template-columns:repeat(7,1fr);gap:6px}.panel-number-grid button{font-size:14px;min-height:36px;border-radius:50%}.panel-lotto-actions{gap:12px}.panel-profile>div{padding:16px 8px;font-size:14px}.panel-password-form{padding:24px 0}.panel-reward-banner{padding:24px 12px}.panel-reward-banner strong{font-size:23px}.panel-roulette-preview{grid-template-columns:1fr;gap:24px;padding:0}.panel-roulette-preview svg{max-width:270px;margin:auto}.game-coral .panel-dialog-bg{padding:8px}.game-coral .modal.panel-dialog{max-height:calc(100dvh - 16px);padding:0 6px 6px}.panel-dialog-head{min-height:62px;padding:12px 42px}.panel-dialog-head h3{font-size:21px}.panel-dialog-head>button{top:9px;right:2px}.panel-dialog-body{padding:20px 14px}.panel-wallet-address{grid-template-columns:1fr 96px;gap:10px}.panel-wallet-qr{min-height:108px;font-size:11px}.panel-rate-grid{grid-template-columns:1fr 22px 1fr;gap:5px}.panel-rate-grid label{font-size:12px}.panel-rate-grid input{font-size:16px;padding:10px 8px}.panel-rate-notes{font-size:12px}.panel-dialog-body input,.panel-dialog-body select,.panel-dialog-body textarea,.account-panel input,.account-panel select,.account-panel textarea{font-size:16px}}
.panel-request-history{margin-top:36px;border-top:1px solid #eee;padding-top:24px}.panel-request-history>summary{min-height:44px;cursor:pointer;font-weight:600;color:#686868}.account-panel .wallet-update{padding-top:24px;font-size:12px;color:#686868}
@media(max-width:760px){.panel-number-grid{grid-template-columns:repeat(5,minmax(44px,1fr))}.panel-number-grid button{min-height:44px;aspect-ratio:1}.panel-lotto-picked span{min-width:36px}.panel-dialog-body .request-review{grid-template-columns:100px minmax(0,1fr)}}
@media(prefers-reduced-motion:reduce){.account-panel-tabs button,.account-panel-tabs button::after,.panel-round-button{transition:none}}
@media(forced-colors:active){.game-coral .modal.account-panel,.game-coral .modal.panel-dialog{clip-path:none;border:2px solid CanvasText;background:Canvas}.account-panel-head,.panel-section-title,.panel-dialog-head{color:CanvasText;background:Canvas}.account-panel-head h2,.account-panel-brand,.panel-dialog-head h3{color:CanvasText}.account-panel-tabs button[aria-selected=true]{border-bottom:3px solid Highlight}.panel-round-button::before{display:none}}

/* Keep Korean field labels intact; phone layouts put them above the input. */
.panel-form-field>span{flex-shrink:0;white-space:nowrap;word-break:keep-all}
.panel-password-form .panel-form-row{display:grid;grid-template-columns:144px minmax(0,1fr);align-items:center;gap:20px}
.panel-password-form .panel-form-row>span{font-size:16px;font-weight:400;color:#444;white-space:nowrap;word-break:keep-all;line-height:1.5}
.panel-password-form .panel-form-row .input{font-size:16px;width:100%;min-width:0;min-height:48px}
@media(max-width:760px){.panel-password-form .panel-form-row{grid-template-columns:minmax(0,1fr);gap:8px}.panel-password-form .panel-form-row>span{font-size:14px}}

.panel-event-links strong{white-space:nowrap;flex-shrink:0}
.account-panel :is(button,a),.panel-dialog :is(button,a){touch-action:manipulation}
.account-panel-head :focus-visible,.panel-dialog-head :focus-visible{outline-color:#fff;outline-offset:2px}
@media(max-width:760px){
 .account-panel-brand{margin-right:0}.account-panel-close{width:44px}
 .panel-form-field,.panel-form-row>label{flex-wrap:wrap;gap:8px 12px;padding:12px 16px;border-radius:22px}
 .panel-form-field>span,.panel-form-row>label>span{flex:0 0 100%;font-size:14px;min-width:0}
 .panel-form-field .input,.panel-form-row>label .input{flex:1 1 140px;min-width:0}
 .panel-bonus-options,.panel-leverage-controls{width:100%}
 .panel-package-options .wallet-option,.panel-money-presets button{min-height:44px}
}

/* Keep Korean words together while allowing long identifiers to wrap. */
.panel-guidance,.panel-event-links span,.panel-board button,.panel-board button>strong,.panel-dialog-body p,.panel-empty p{word-break:keep-all;overflow-wrap:anywhere}
