:root{font-family:system-ui,Avenir,Helvetica,Arial,sans-serif;line-height:1.5;font-weight:400;color-scheme:light dark;color:#ffffffde;background-color:#242424;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}:root{font-family:Pretendard,Inter,system-ui,-apple-system,Segoe UI,sans-serif;color-scheme:light dark}*,*:before,*:after{box-sizing:border-box}body{margin:0;min-height:100vh;background:linear-gradient(160deg,#0d1b2a,#1b263b);color:#f4f9ff}#root{min-height:100vh}.app{display:flex;flex-direction:column;align-items:center;min-height:100vh;width:100%;padding:0 2rem}.app--game{padding:0}.app--game.app--game-result{padding:0 2rem;background:#2563eb}.game-screen{width:100%;min-height:100vh;display:flex;flex-direction:column}.game-screen__row{flex:1;display:flex;gap:0}.game-screen--with-ads .game-screen__row{gap:1.5rem;padding-inline:2rem;align-items:stretch}.game-surface{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;cursor:pointer;user-select:none;-webkit-user-select:none;-ms-user-select:none}.game-surface:focus{outline:none}.game-surface__content{max-width:640px;padding:1.5rem;display:flex;flex-direction:column;gap:1rem}.game-surface__nickname{margin:0 auto;padding:.4rem .9rem;border-radius:999px;font-size:.9rem;font-weight:600;background-color:#0f172a47;color:inherit}.game-surface__headline{margin:0;font-size:clamp(2.4rem,7vw,3.8rem);font-weight:800;letter-spacing:.04em;text-transform:uppercase}.game-surface__secondary{margin:0;font-size:clamp(.95rem,2.5vw,1.1rem);font-weight:600;opacity:.75;letter-spacing:.06em}.game-surface__subline{margin:0;font-size:clamp(1rem,3vw,1.25rem);font-weight:500;opacity:.9}.game-surface__hint{margin:1rem 0 0;font-size:.9rem;opacity:.75}.result-screen__badge{align-self:center;margin:0;padding:.4rem 1rem;border-radius:999px;font-size:.95rem;font-weight:700;letter-spacing:.12em;text-transform:uppercase;background-color:#0f172a33;color:inherit}.result-screen__best{margin:0;font-size:clamp(.95rem,2.5vw,1.1rem);font-weight:600;opacity:.85}.game-surface--waiting-dark{background-color:#0f172a;color:#e2e8f0}.game-surface--waiting-light{background-color:#f8fafc;color:#1e293b}.game-surface--ready{background-color:#dc2626;color:#fef3c7}.game-surface--playing{background-color:#16a34a;color:#022c22}.game-surface--result{background-color:#2563eb;color:#eff6ff}.game-surface--fail{background-color:#facc15;color:#78350f}.game-surface--waiting-dark .game-surface__nickname{background-color:#f8fafc29}.game-surface--waiting-light .game-surface__nickname{background-color:#0f172a1f}.game-surface--result .game-surface__nickname,.game-surface--fail .game-surface__nickname{background-color:#fff3}.game-surface--ready .game-surface__nickname{background-color:#fef3c733}.game-surface--playing .game-surface__nickname{background-color:#022c2233}.game-screen__ad{align-self:stretch}.game-screen__ad-bottom{margin:1rem 2rem 0}.game-screen--result{background-color:#2563eb}.game-screen--fail{background-color:#facc15}.game-screen--result .game-surface,.game-screen--fail .game-surface{border-radius:24px}.initial-screen{flex:1;width:100%;display:flex;justify-content:center;align-items:center;padding:3rem 0}.initial-content{display:flex;flex-direction:column;align-items:center;gap:2rem;width:min(100%,540px);margin:0;padding:3rem 2.5rem;border-radius:24px;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px)}.initial-title{font-size:clamp(2.25rem,3vw,3rem);margin:0;text-align:center;letter-spacing:.04em}.initial-form{width:100%;display:flex;flex-direction:column;gap:1.5rem}.form-label{font-size:.95rem;letter-spacing:.02em}.nickname-input{width:100%;padding:.95rem 1.1rem;border-radius:9999px;border:1px solid rgba(148,163,184,.4);background:#0f172a99;color:inherit;font-size:1rem;transition:border-color .15s ease,box-shadow .15s ease}.nickname-input:focus{outline:none;border-color:#38bdf8;box-shadow:0 0 0 3px #38bdf833}.start-button{padding:.95rem 1.1rem;border-radius:9999px;border:none;background:linear-gradient(135deg,#38bdf8,#818cf8);color:#0f172a;font-weight:700;font-size:1.05rem;cursor:pointer;transition:transform .15s ease,box-shadow .15s ease,opacity .15s ease}.start-button:hover:not(:disabled){transform:translateY(-2px);box-shadow:0 18px 28px #38bdf840}.start-button:active:not(:disabled){transform:translateY(0);box-shadow:0 8px 18px #38bdf840}.start-button:disabled{cursor:not-allowed;opacity:.5}@media(max-width:1100px){.app--game{padding:0}.app--game.app--game-result{padding:0 1.5rem;background:#2563eb}.game-screen__row{flex-direction:column}.game-screen--with-ads .game-screen__row{gap:1rem;padding-inline:1.5rem}.game-screen__ad-bottom{margin:0}.initial-content{margin:0;padding:2.5rem 1.75rem}}@media(max-width:600px){.app{padding:0 1.5rem}.initial-content{padding:2rem 1.5rem;gap:1.5rem}.initial-title{font-size:clamp(1.75rem,8vw,2.5rem)}}.share-button{margin-top:1rem;padding:.8rem 1.5rem;border-radius:12px;border:none;background:#ffffffe6;color:#1e40af;font-weight:700;font-size:1rem;cursor:pointer;transition:transform .15s ease,background-color .15s ease}.share-button:hover{background:#fff;transform:translateY(-2px)}.share-button:active{transform:translateY(0)}.modal-backdrop{position:fixed;inset:0;background-color:#0a1428cc;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);display:flex;align-items:center;justify-content:center;z-index:1000}.modal-content{background-color:#1e293b;color:#e2e8f0;padding:2rem;border-radius:16px;width:min(100% - 2rem,480px);display:flex;flex-direction:column;gap:1.25rem;box-shadow:0 20px 40px #0000004d}.modal-title{margin:0;font-size:1.5rem;font-weight:700}.modal-description{margin:0;opacity:.9}.modal-url-container{display:flex;gap:.5rem}.modal-url-input{flex:1;padding:.75rem 1rem;border-radius:8px;border:1px solid #475569;background-color:#334155;color:inherit;font-size:1rem}.modal-url-input:focus{outline:none;border-color:#38bdf8;box-shadow:0 0 0 3px #38bdf833}.modal-copy-button{padding:.75rem 1.25rem;border:none;border-radius:8px;background-color:#38bdf8;color:#0f172a;font-weight:600;cursor:pointer;transition:background-color .15s ease}.modal-copy-button:hover{background-color:#7dd3fc}.modal-close-button{align-self:flex-end;padding:.6rem 1.25rem;border:none;border-radius:8px;background-color:#475569;color:#e2e8f0;font-weight:600;cursor:pointer;transition:background-color .15s ease}.modal-close-button:hover{background-color:#64748b}.result-screen__stats{display:flex;flex-direction:column;gap:.5rem;align-items:center;margin:.5rem 0}.result-screen__percentile{margin:0;font-size:clamp(1rem,3vw,1.2rem);font-weight:500;opacity:.95}.result-screen__percentile p{margin:0}.result-screen__percentile strong{color:#facc15;font-weight:700}.app-header{width:100%;display:flex;align-items:center;justify-content:space-between;padding:1rem 1.5rem;margin-bottom:1.5rem;color:inherit;background:transparent;border-bottom:1px solid rgba(148,163,184,.25)}.app-header__logo{display:inline-flex;align-items:center;justify-content:center;padding:.4rem .9rem;border:none;border-radius:999px;background:none;color:inherit;cursor:pointer;transition:transform .15s ease}.app-header__logo:hover{transform:translateY(-1px)}.app-header__logo:active{transform:translateY(0)}.app-header__logo-image{height:36px;width:auto;display:block}.app-header__stats-button{display:inline-flex;align-items:center;justify-content:center;width:44px;height:44px;border-radius:50%;text-decoration:none;color:#e2e8f0e6;border:none;background:transparent;transition:transform .15s ease,background-color .15s ease,border-color .15s ease}.app-header__stats-button:hover{transform:translateY(-1px);background:#38bdf81f}.app-header__stats-button:active{transform:translateY(0)}.app-header__stats-icon{width:22px;height:22px}@media(max-width:600px){.app-header{padding:.75rem 1rem;margin-bottom:1rem}.app-header__stats-button{width:40px;height:40px}}.policy-modal{width:min(100% - 2rem,720px);max-height:85vh;display:flex;flex-direction:column}.policy-modal__header{display:flex;justify-content:space-between;align-items:center;gap:1rem;padding-bottom:1rem;border-bottom:1px solid #475569}.policy-modal__version-selector{padding:.4rem .6rem;border-radius:8px;border:1px solid #475569;background-color:#334155;color:inherit;font-size:.9rem}.policy-modal__content{flex:1;overflow-y:auto;margin:1.25rem 0;padding-right:1rem}.policy-modal__content::-webkit-scrollbar{width:8px}.policy-modal__content::-webkit-scrollbar-track{background:#334155;border-radius:4px}.policy-modal__content::-webkit-scrollbar-thumb{background:#64748b;border-radius:4px}.policy-modal__content::-webkit-scrollbar-thumb:hover{background:#94a3b8}.policy-modal__content h3{font-size:1.2rem;margin-top:1.5rem;margin-bottom:.75rem;padding-bottom:.5rem;border-bottom:1px solid #475569}.policy-modal__content p{line-height:1.7;margin-bottom:1rem}.policy-modal__content ul,.policy-modal__content ol{padding-left:1.5rem}.policy-modal__content li{margin-bottom:.5rem}.policy-modal__content strong{color:#a5b4fc}.app-footer{width:100%;display:flex;flex-direction:column;align-items:center;gap:.5rem;padding:1rem;margin-top:auto;font-size:.85rem;color:#f4f9ff99;z-index:10;border-top:1px solid rgba(244,249,255,.1)}.app-footer__links{display:flex;align-items:center;gap:.75rem;flex-wrap:wrap;justify-content:center}.app-footer__links a{color:inherit;text-decoration:none;transition:color .15s ease}.app-footer__links a:hover{color:#f4f9fff2;text-decoration:underline;text-underline-offset:4px}.app-footer__link-button{background:none;border:none;padding:0;margin:0;font-family:inherit;font-size:inherit;color:inherit;cursor:pointer;text-decoration:none;transition:color .15s ease}.app-footer__link-button:hover{color:#f4f9fff2;text-decoration:underline;text-underline-offset:4px}.app-footer__separator{opacity:.3;font-size:.7rem}.app-footer__copyright{margin:0;opacity:.7;font-family:sans-serif}@media(max-width:600px){.app-footer{padding-bottom:6rem}}.initial-description{color:#888;margin:1.75rem 0 0;text-align:center;line-height:1.5}
