*{box-sizing:border-box}html,body,#root{color:#f5f0df;background:#030303;width:100%;min-height:100%;margin:0;font-family:Arial,Helvetica,sans-serif}body{overflow-x:hidden}button{cursor:pointer;font-family:inherit}.app,.page{color:#f5f0df;background:radial-gradient(circle at 50% 20%,#c49b4029,#0000 32%),radial-gradient(circle at 50% 65%,#ffffff0f,#0000 34%),linear-gradient(#090909 0%,#020202 100%);width:100%;min-height:100vh}.home-page{justify-content:center;align-items:center;min-height:100vh;padding:32px 20px;display:flex}.home-inner{flex-direction:column;justify-content:center;align-items:center;width:min(720px,100%);display:flex}.logo,.home-logo{object-fit:contain;filter:drop-shadow(0 24px 40px #000000bf);width:min(520px,88vw);max-height:58vh;margin:0 auto 32px;display:block}.home-actions,.menu-actions{flex-direction:column;gap:14px;width:min(420px,92vw);margin:0 auto;display:flex}.home-actions button,.menu-actions button,.primary-button,.action-button,button.primary{color:#f7e7b0;letter-spacing:.3px;background:linear-gradient(#ffdc7e2e,#a1701c24),#0c0c0ceb;border:1px solid #e1b44f8c;border-radius:16px;width:100%;min-height:52px;font-size:17px;font-weight:700;transition:transform .15s,border-color .15s,box-shadow .15s;box-shadow:0 14px 32px #0000008c,inset 0 1px #ffffff1f}.home-actions button:hover,.menu-actions button:hover,.primary-button:hover,.action-button:hover,button.primary:hover{border-color:#ffd778e6;transform:translateY(-1px);box-shadow:0 18px 40px #000000a6,0 0 24px #d9a7412e}.home-actions small,.menu-actions small,.button-subtitle{color:#f5f0df99;margin-top:4px;font-size:12px;font-weight:400;display:block}.top-bar{background:#0a0a0ab8;border:1px solid #ffd7781f;border-radius:0 0 18px 18px;justify-content:space-between;align-items:center;width:min(900px,96vw);height:56px;margin:0 auto 28px;padding:0 14px;display:flex;box-shadow:0 18px 32px #00000059}.page-title{color:#77e66f;letter-spacing:1px;font-size:18px;font-weight:800}.back-button,.exit-button{color:#f4d28a;background:#121212e6;border:1px solid #ffd77840;border-radius:10px;width:auto;min-width:72px;height:36px;font-size:16px}.game-page,.money-page,.help-page{min-height:100vh;padding:0 16px 40px}.game-shell,.money-card,.help-content{background:linear-gradient(#ffffff0e,#ffffff06),#07090ed6;border:1px solid #ffd7781f;border-radius:24px;width:min(760px,96vw);margin:0 auto;padding:24px;box-shadow:0 24px 70px #0000008c}input{color:#f5f0df;background:#00000073;border:1px solid #ffd77859;border-radius:12px;outline:none;padding:12px 14px;font-size:18px}input:focus{border-color:#ffd778e6;box-shadow:0 0 0 3px #ffd7781f}@media (width<=600px){.home-page{padding:22px 14px}.logo,.home-logo{width:92vw;margin-bottom:26px}.home-actions,.menu-actions{width:94vw}.home-actions button,.menu-actions button,.primary-button,.action-button,button.primary{min-height:50px;font-size:16px}}.home-page{min-height:100vh;position:relative;overflow:hidden}.home-header{z-index:5;position:absolute;top:22px;right:26px}.help-link{color:#f5e6b4db;background:#0a0a0ab8;border:1px solid #ffd77859;border-radius:999px;padding:8px 15px;font-size:14px;font-weight:700;box-shadow:0 10px 28px #00000073}.help-link:hover{color:#ffe2a0;border-color:#ffd778cc}.home-logo{flex:none;justify-content:center;align-items:center;width:min(520px,46vw);display:flex}.home-logo img{filter:drop-shadow(0 28px 44px #000000bf)drop-shadow(0 0 18px #daa53e29);width:100%;height:auto;display:block}.home-menu{flex-direction:column;flex:none;gap:16px;width:min(420px,38vw);margin-left:44px;display:flex}.home-page{justify-content:center;align-items:center;gap:26px;padding:24px 52px;display:flex}.menu-btn{color:#f8e7b5;text-align:left;background:linear-gradient(135deg,#ffdf8b2e,#9760161f),linear-gradient(#141414f5,#050505f5);border:1px solid #e5b8568c;border-radius:18px;grid-template-rows:auto auto;grid-template-columns:34px 1fr;align-items:center;column-gap:10px;width:100%;min-height:74px;padding:14px 18px;display:grid;box-shadow:0 18px 40px #0000009e,inset 0 1px #ffffff1a}.menu-btn:hover{border-color:#ffdb84f2;transform:translateY(-2px);box-shadow:0 24px 54px #000000b8,0 0 28px #d4a0373d}.menu-btn:active{transform:translateY(0)}.menu-icon{text-align:center;grid-row:1/span 2;font-size:22px}.menu-label{letter-spacing:.2px;color:#fff2c8;font-size:20px;font-weight:800;line-height:1.1;display:block}.menu-desc{color:#f5ebcd9e;margin-top:6px;font-size:13px;font-weight:500;line-height:1.25;display:block}.menu-btn.solo .menu-label{color:#f1f1f1}.menu-btn.exam .menu-label{color:#8fff8a}.menu-btn.money .menu-label{color:#ffd36a}@media (width<=900px){.home-page{flex-direction:column;gap:24px;padding:72px 18px 30px;overflow-y:auto}.home-logo{width:min(560px,92vw)}.home-menu{width:min(430px,92vw);margin-left:0}.home-header{top:14px;right:14px}}@media (width<=520px){.menu-btn{min-height:68px;padding:13px 15px}.menu-label{font-size:18px}.menu-desc{font-size:12px}}.game-page{color:#f7eed4;background:radial-gradient(circle at 50% 20%,#d4a43d21,#0000 34%),radial-gradient(circle at 50% 70%,#ffffff0b,#0000 36%),linear-gradient(#090909 0%,#010101 100%);min-height:100vh;padding:0 18px 36px;overflow-x:hidden}.game-header{background:#0a0a0ac7;border:1px solid #e6b95029;border-radius:0 0 18px 18px;grid-template-columns:80px 1fr 110px 80px;align-items:center;gap:10px;width:min(980px,96vw);height:58px;margin:0 auto 22px;padding:0 14px;display:grid;box-shadow:0 18px 44px #0000008c}.btn-icon,.btn-exit,.btn-logout{color:#f5d98a;background:#121212eb;border:1px solid #e6b95047;border-radius:10px;height:36px;font-size:18px;font-weight:800}.btn-logout{font-size:14px}.game-title{justify-content:center;align-items:center;gap:18px;display:flex}.mode-tag{color:#7fff72;letter-spacing:1.2px;text-transform:capitalize;text-shadow:0 0 16px #7fff7240;font-size:18px;font-weight:900}.guess-counter{align-items:baseline;gap:5px;font-weight:900;display:inline-flex}.remaining-num{font-size:22px}.remaining-word{opacity:.75;font-size:13px}.guesses-list{background:linear-gradient(#ffffff0e,#ffffff05),#05070cb8;border:1px solid #e6b9501f;border-radius:22px;width:min(780px,96vw);max-height:43vh;margin:0 auto 20px;padding:18px;overflow-y:auto;box-shadow:0 22px 58px #00000080}.empty-state{color:#f7eed4e0;text-align:center;flex-direction:column;justify-content:center;align-items:center;min-height:120px;display:flex}.empty-state p{margin:6px 0;font-size:18px;font-weight:700}.empty-state .hint{color:#f7eed48c;font-size:13px;font-weight:500}.guess-row{background:#ffffff09;border:1px solid #ffffff0e;border-radius:16px;grid-template-columns:54px 1fr 110px;align-items:center;gap:12px;min-height:56px;margin-bottom:10px;padding:8px 12px;display:grid}.guess-row.win{background:linear-gradient(90deg,#ffb94638,#3c82ff24);border-color:#ffd26e52}.guess-num{color:#f7eed47a;font-size:16px;font-weight:800}.guess-digits{justify-content:center;gap:8px;display:flex}.digit-box{color:#fff4cf;background:linear-gradient(#ffffff1f,#ffffff09),#080a10eb;border:1px solid #ffffff1f;border-radius:12px;justify-content:center;align-items:center;width:44px;height:44px;font-size:24px;font-weight:900;display:inline-flex;box-shadow:inset 0 1px #ffffff1f}.guess-result{justify-content:flex-end;gap:10px;font-size:18px;font-weight:900;display:flex}.bulls{color:#ff6d6d}.cows{color:#60e389}.input-area{background:linear-gradient(#ffffff0f,#ffffff06),#080c14b8;border:1px solid #e6b95024;border-radius:24px;width:min(560px,96vw);margin:0 auto;padding:20px;box-shadow:0 26px 72px #0000008c}.game-error{color:#ff7a7a;text-align:center;margin-bottom:12px;font-weight:800}.digit-input{justify-content:center;gap:10px;margin-bottom:14px;display:flex}.input-slot{color:#fff2c8;background:#060a12e6;border:1px solid #ffd7785c;border-radius:14px;justify-content:center;align-items:center;width:54px;height:54px;font-size:28px;font-weight:900;display:flex;box-shadow:inset 0 1px #ffffff1f,0 12px 28px #00000059}.input-slot.filled{border-color:#ffd778d9;box-shadow:0 0 20px #dcaa3c2e,inset 0 1px #ffffff24}.elimination-bar{justify-content:center;gap:7px;margin-bottom:13px;display:flex}.elim-digit,.elim-clear{color:#f7eed46b;background:0 0;border:1px solid #ffffff14;border-radius:9px;width:33px;height:30px;font-weight:800}.elim-digit.out{color:#ffffff61;background:#000000db;border-color:#ffffff17}.elim-digit.sure{color:#76ff9d;background:#2bb45e38;border-color:#55ff8c7a;box-shadow:0 0 14px #55ff8c29}.numpad{grid-template-columns:repeat(12,1fr);gap:7px;margin-bottom:14px;display:grid}.num-btn{color:#fff1c6;background:linear-gradient(#ffffff1a,#ffffff08),#141822eb;border:1px solid #e6b95042;border-radius:11px;height:42px;font-size:18px;font-weight:900;box-shadow:inset 0 1px #ffffff14}.num-btn:hover:not(:disabled){border-color:#ffd778d9;transform:translateY(-1px)}.num-btn:disabled{opacity:.35;cursor:not-allowed}.num-btn.fn{color:#f5d98a;background:linear-gradient(#ffd25a24,#ffd25a0a),#121212f2}.num-btn.used-before{box-shadow:inset 0 -3px #ffd7782e}.num-btn.dimmed{opacity:.45}.btn-send{color:#f7eed46b;letter-spacing:2px;background:#1c1c1cd9;border:1px solid #ffd77842;border-radius:15px;width:100%;height:50px;font-size:16px;font-weight:900}.btn-send.ready{color:#eaffef;background:linear-gradient(#5fff8747,#23965047),#0a2314eb;border-color:#64ff96a6;box-shadow:0 0 28px #46ff822e}.game-result{text-align:center;background:#00000057;border:1px solid #ffd7782e;border-radius:22px;margin:20px auto 0;padding:24px}.result-icon{margin-bottom:12px;font-size:48px}.result-text,.qualified-title{color:#fff1c6;margin-bottom:12px;font-size:22px;font-weight:900}.qualified-subtitle,.cert-note{color:#f7eed4a3;margin-bottom:14px}.cert-token{color:#ffd36a;letter-spacing:1px;word-break:break-all;background:#00000073;border:1px solid #ffd77842;border-radius:14px;margin:10px 0 14px;padding:14px;font-size:18px;font-weight:900}.btn-primary,.btn-secondary{color:#f8e7b5;background:#141414e6;border:1px solid #ffd77870;border-radius:13px;min-height:42px;margin:6px;padding:0 18px;font-weight:900}@media (width<=700px){.game-header{grid-template-columns:48px 1fr 78px;height:auto;min-height:58px}.btn-logout{display:none}.help-link{padding:7px 11px;font-size:12px}.numpad{grid-template-columns:repeat(6,1fr)}.num-btn{height:44px}.guess-row{grid-template-columns:42px 1fr 76px}.digit-box{width:38px;height:38px;font-size:21px}}.guess-row,.guess-digits,.digit-input,.digit-box,.numpad,.num-btn,.access-code-input{direction:ltr;unicode-bidi:isolate}.helper-num-btn{box-sizing:border-box!important;background-color:#ffffff24!important;border:.9px solid #000!important}.helper-num-btn.dimmed,.helper-num-btn.used,.helper-num-btn.used-before{border:.9px solid #000!important}
