*{box-sizing:border-box;margin:0;padding:0}body{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;background:linear-gradient(135deg,#667eea,#764ba2);font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Fira Sans,Droid Sans,Helvetica Neue,sans-serif;min-height:100vh}code{font-family:source-code-pro,Menlo,Monaco,Consolas,Courier New,monospace}.home-page{align-items:center;background:linear-gradient(135deg,#0f0c29,#302b63 50%,#24243e);flex-direction:column;min-height:100vh;overflow-x:hidden;padding:0}.home-container,.home-page{display:flex;justify-content:center}.home-container{box-sizing:border-box;flex:1 1;flex-direction:column;gap:24px;max-width:460px;padding:20px 16px;text-align:center;width:100%}@media (min-width:768px){.home-container{align-items:flex-start;flex-direction:row;flex-wrap:wrap;gap:24px;justify-content:center;max-width:800px;padding:40px 24px}.home-profile{flex-basis:100%}.home-buttons,.home-logo{flex-basis:100%;margin-bottom:0}.home-buttons{flex-direction:row;gap:16px}.home-buttons .home-button{flex:1 1}.home-features,.home-stats-group{flex-basis:100%;margin-bottom:0}.home-features{flex-direction:row}.feature-card{flex:1 1}.demo-block{flex-basis:100%;margin:0}.feedback-link,.rules-link{flex-basis:calc(50% - 12px);flex-grow:0;flex-shrink:1}.home-title{font-size:3rem}}.home-profile{align-items:center;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#ffffff1a;border-radius:12px;display:flex;justify-content:space-between;margin-bottom:20px;padding:10px 16px}.profile-greeting{color:#ffffffd9;font-size:.9rem}.profile-link{background:none;border:none;color:#a78bfa;cursor:pointer;font-size:.9rem;font-weight:600}.profile-link:hover{text-decoration:underline}.home-logo{align-items:center;display:flex;flex-direction:column;margin-bottom:24px}.logo-img{border-radius:24px;box-shadow:0 4px 20px #a78bfa66;height:100px;margin-bottom:12px;width:100px}.home-title{color:#fff;font-size:2.6rem;font-weight:800;letter-spacing:-.5px;margin:0;text-shadow:0 2px 20px #667eea80}.home-tagline{color:#fff9;font-size:1rem;line-height:1.5;margin-top:10px}.home-buttons{display:flex;flex-direction:column;gap:14px;margin-bottom:24px}.home-button{align-items:center;border:none;border-radius:16px;cursor:pointer;display:flex;gap:16px;padding:18px 24px;text-align:left;transition:transform .15s,box-shadow .15s;width:100%}.home-button:hover{transform:translateY(-2px)}.home-button:active{transform:translateY(0)}.home-button.solo{background:linear-gradient(135deg,#667eea,#764ba2);box-shadow:0 8px 24px #667eea59}.home-button.solo:hover{box-shadow:0 12px 32px #667eea80}.home-button.duel{background:linear-gradient(135deg,#f093fb,#f5576c);box-shadow:0 8px 24px #f5576c59}.home-button.duel:hover{box-shadow:0 12px 32px #f5576c80}.leaderboard-link{-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);background:#ffffff0f;border:1px solid #ffffff1a;box-shadow:none}.leaderboard-link:hover{background:#ffffff1f}.rules-link{-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);background:#ffffff0f;border:1px solid #ffffff1a}.rules-link:hover{background:#ffffff1f}.button-icon{flex-shrink:0;font-size:1.8rem}.button-text{color:#fff;display:flex;flex-direction:column}.button-title{font-size:1.15rem;font-weight:700}.button-desc{font-size:.8rem;margin-top:2px;opacity:.8}.home-stats{display:flex;gap:32px;justify-content:center;padding:16px 20px}.home-stats-group{-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);background:#ffffff0f;border:1px solid #ffffff14;border-radius:16px;display:flex;flex-direction:column;gap:14px;padding:8px}.home-stats-group .leaderboard-link{background:#ffffff0d;border:1px solid #ffffff0f;margin:0}.stat-item{align-items:center;display:flex;flex-direction:column}.stat-value{font-size:1.3rem;font-weight:700}.stat-label{font-size:.75rem;margin-top:4px}@media (max-width:480px){.home-title{font-size:2rem}.home-button{padding:14px 18px}.home-stats{gap:20px}}.feedback-link{-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);background:#ffffff0f;border:1px solid #ffffff1a;margin-top:0}.feedback-link:hover{background:#ffffff1f}.home-features{gap:10px;margin-bottom:24px}.feature-card,.home-features{display:flex;flex-direction:column}.feature-card{align-items:center;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);background:#ffffff0d;border:1px solid #ffffff14;border-radius:16px;gap:6px;padding:16px;text-align:center}.feature-icon{font-size:28px}.feature-title{color:#fff;font-size:17px;font-weight:700}.feature-desc{color:#fff9;font-size:14px;line-height:1.5}.demo-block{-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);background:#ffffff0d;border:1px solid #ffffff14;border-radius:20px;box-sizing:border-box;margin:0;max-width:100%;overflow:hidden;padding:20px;text-align:center}.demo-title{color:#fff;font-size:20px;font-weight:700;letter-spacing:.5px;margin:0 0 16px;text-transform:none}.demo-situation-loading{color:#fff9;font-size:14px;padding:20px}.demo-spinner{animation:demospin 1s linear infinite;display:inline-block}@keyframes demospin{0%{transform:rotate(0deg)}to{transform:rotate(1turn)}}.demo-situation{background:#0003;border-left:3px solid #a78bfa66;border-radius:14px;margin-bottom:16px;padding:16px;text-align:left}.demo-situation-label{color:#a78bfae6;display:block;font-size:13px;font-weight:600;letter-spacing:.5px;margin-bottom:8px;text-transform:uppercase}.demo-situation-text{color:#ffffffe6;font-size:16px;line-height:1.5;margin:0}.demo-input-wrap{margin-bottom:12px;position:relative}.demo-input{background:#ffffff14;border:1px solid #ffffff26;border-radius:14px;box-sizing:border-box;color:#fff;font-family:inherit;font-size:16px;line-height:1.4;max-width:100%;outline:none;padding:12px 50px 12px 16px;resize:none;transition:border-color .2s,box-shadow .2s;width:100%}.demo-input::placeholder{color:#fff6}.demo-input:focus{border-color:#a78bfa99;box-shadow:0 0 20px #a78bfa26}.demo-btn-spinner{animation:demo-spin .6s linear infinite;border:2px solid #ffffff4d;border-radius:50%;border-top-color:#fff;display:inline-block;height:16px;width:16px}@keyframes demo-spin{to{transform:rotate(1turn)}}.demo-submit{display:none}.demo-submit:hover:not(:disabled){transform:scale(1.02)}.demo-submit:disabled{cursor:not-allowed;opacity:.4}.demo-submit-small{align-items:center;background:linear-gradient(135deg,#667eea,#a78bfa);border:none;border-radius:50%;bottom:8px;color:#fff;cursor:pointer;display:flex;font-size:18px;height:36px;justify-content:center;padding:0;position:absolute;right:8px;transition:transform .15s,opacity .2s;width:36px}.demo-submit-small:hover:not(:disabled){transform:scale(1.1)}.demo-submit-small:disabled{cursor:not-allowed;opacity:.3}.demo-result{padding:8px 0;text-align:center}.demo-score{margin-bottom:12px}.demo-score-value{-webkit-text-fill-color:#0000;background:linear-gradient(135deg,#a78bfa,gold);-webkit-background-clip:text;background-clip:text;font-size:52px;font-weight:800}.demo-score-label{color:#ffffff80;font-size:18px;margin-left:4px}.demo-comment{color:#ffffffb3;font-size:15px;line-height:1.4;margin-bottom:16px}.demo-actions{display:flex;flex-wrap:wrap;gap:10px;justify-content:center}.demo-duel,.demo-play,.demo-retry{font-weight:700}.demo-play{background:linear-gradient(135deg,#667eea,#764ba2);border:none;border-radius:14px;color:#fff;cursor:pointer;font-size:1rem;padding:12px 28px;transition:transform .15s}.demo-play:hover{transform:translateY(-2px)}.demo-duel{background:linear-gradient(135deg,#a78bfa,#ec4899);border:none;border-radius:14px;color:#fff;cursor:pointer;font-size:1rem;padding:12px 28px;transition:transform .15s}.demo-duel:hover{transform:translateY(-2px)}.app-footer{align-items:center;background:#ffffff05;border-top:1px solid #ffffff0f;box-sizing:border-box;display:flex;flex-direction:column;gap:16px;padding:16px 24px;width:100%}.footer-link{background:none;border:none;color:#ffffff59;cursor:pointer;font-size:.8rem;padding:4px 8px;transition:color .15s}.footer-link:hover{color:#fff9}.footer-links{display:flex;flex-wrap:wrap;gap:24px;justify-content:center}@media (max-width:480px){.app-footer{gap:16px;padding:12px 16px}}.login-page{align-items:center;background:linear-gradient(135deg,#0f0c29,#302b63 50%,#24243e);display:flex;justify-content:center;min-height:100vh;padding:20px}.login-container{max-width:400px;text-align:center;width:100%}.login-container .home-logo{margin-bottom:32px}.login-title{color:#fff;font-size:1.8rem;font-weight:700;margin:0 0 8px}.login-subtitle{color:#ffffff80;font-size:.95rem;margin:0 0 28px}.login-error{background:#f5576c26;border-radius:12px;color:#f5576c;font-size:.9rem;margin-bottom:16px;padding:12px 16px}.login-form{display:flex;flex-direction:column;gap:14px;margin-bottom:20px}.yandex-login-button{align-items:center;background:linear-gradient(135deg,#667eea,#764ba2);border:none;border-radius:14px;box-shadow:0 8px 24px #667eea59;color:#fff;cursor:pointer;display:flex;font-size:1.05rem;font-weight:600;gap:12px;justify-content:center;padding:16px 24px;transition:transform .15s,box-shadow .15s;width:100%}.yandex-login-button:hover{box-shadow:0 12px 32px #667eea80;transform:translateY(-2px)}.yandex-login-button:active{transform:translateY(0)}.yandex-login-button:disabled{cursor:default;opacity:.6;transform:none}.yandex-icon{height:20px;width:20px}.login-back-button{background:none;border:none;color:#fff6;cursor:pointer;font-size:.85rem;margin-top:12px;transition:color .15s}.login-back-button:hover{color:#ffffffb3}@media (max-width:480px){.login-title{font-size:1.5rem}}.login-divider{margin:20px 0;position:relative;text-align:center}.login-divider:after,.login-divider:before{background:#ffffff1a;content:"";height:1px;position:absolute;top:50%;width:40%}.login-divider:before{left:0}.login-divider:after{right:0}.login-divider span{color:#ffffff4d;font-size:.8rem;padding:0 12px}.otp-section{text-align:center}.otp-hint{color:#ffffffa6;font-size:.85rem;line-height:1.5;margin:0 0 16px}.otp-form{display:flex;gap:8px;justify-content:center}.otp-input{background:#ffffff0f;border:1px solid #ffffff26;border-radius:14px;color:#fff;font-size:1.6rem;letter-spacing:8px;outline:none;padding:16px 20px;text-align:center;width:200px}.otp-input:focus{border-color:#a78bfa80}.otp-input::placeholder{color:#ffffff26;letter-spacing:6px}.otp-button{background:#a78bfa33;border:1px solid #a78bfa66;border-radius:12px;color:#a78bfa;cursor:pointer;font-size:1.2rem;font-weight:700;padding:12px 18px}.otp-button:hover{background:#a78bfa4d}.otp-button:disabled{cursor:not-allowed;opacity:.4}.login-buttons{display:flex;flex-direction:column;gap:12px;margin-top:20px;width:100%}.otp-login-button{align-items:center;background:linear-gradient(135deg,#a78bfa,#7c3aed);border:none;border-radius:14px;box-shadow:0 8px 24px #a78bfa59;color:#fff;cursor:pointer;display:flex;font-size:1.05rem;font-weight:600;gap:12px;justify-content:center;padding:16px 24px;transition:transform .15s,box-shadow .15s;width:100%}.otp-login-button:hover{box-shadow:0 12px 32px #a78bfa80;transform:translateY(-2px)}.otp-login-icon{font-size:1.3rem}.otp-back-button{background:none;border:none;color:#ffffff59;cursor:pointer;font-size:.8rem;margin-top:12px;padding:4px}.otp-back-button:hover{color:#fff9}.otp-subtitle{color:#fff;font-size:1rem;font-weight:700;margin:0 0 8px;text-align:center}.alice-badge{margin-top:32px;text-align:center}.alice-badge img{height:36px}.app-header{align-items:center;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);background:#ffffff0f;border-bottom:1px solid #ffffff14;display:flex;justify-content:space-between;padding:16px 24px;position:relative}.app-header-back{background:#ffffff14;border:1px solid #ffffff1f;border-radius:10px;color:#ffffffb3;cursor:pointer;font-size:.85rem;font-weight:600;left:24px;padding:8px 14px;position:absolute;transition:all .15s;z-index:2}.app-header-back:hover{background:#ffffff26}.app-header-center{align-items:center;display:flex;gap:8px;margin:0 auto;pointer-events:none}.app-header-logo{border-radius:6px;height:32px;object-fit:contain;width:32px}.app-header-title{color:#ffffffb3;font-size:.85rem;font-weight:600;white-space:nowrap}.app-header-right{align-items:center;display:flex;gap:8px;position:absolute;right:24px;z-index:2}.app-header-btn{background:#ffffff14;border:1px solid #ffffff1f;border-radius:10px;color:#ffffffb3;cursor:pointer;font-size:.85rem;font-weight:600;padding:8px 14px;transition:all .15s}.app-header-btn:hover{background:#ffffff26}@media (max-width:480px){.app-header{padding:12px 16px}.app-header-back{left:16px;padding:6px 10px}.app-header-right{right:16px}}.app-header-feedback{font-size:.75rem;padding:6px 10px}.game-page{background:linear-gradient(135deg,#0f0c29,#302b63 50%,#24243e);display:flex;flex-direction:column;height:100vh;height:100dvh;overflow:hidden}.game-header{align-items:center;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);background:#ffffff0f;border-bottom:1px solid #ffffff14;display:flex;padding:16px 24px}.game-title{color:#fff;font-size:1.4rem;font-weight:700}.game-content{gap:20px;margin:0 auto;max-width:1400px;padding:24px;width:100%}.game-chat-container,.game-content{display:flex;flex:1 1;min-height:0;overflow:hidden}.game-chat-container{-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);background:#ffffff0f;border:1px solid #ffffff1a;border-radius:20px;flex-direction:column;max-height:none;position:relative}.game-chat-container:before{background:linear-gradient(180deg,#0f0c29cc 0,#0000);border-radius:20px 20px 0 0;content:"";height:60px;left:0;pointer-events:none;position:absolute;right:0;top:0;z-index:10}.game-chat{-webkit-overflow-scrolling:touch;display:flex;flex:1 1;flex-direction:column;gap:16px;justify-content:flex-end;min-height:0;overflow-x:hidden;overflow-y:auto;padding:24px}.loading-message{color:#fff6;font-size:1rem;padding:40px;text-align:center}.message-wrapper{align-items:flex-end;display:flex;flex-direction:row;gap:10px;margin-bottom:4px}.message-wrapper.user-message{justify-content:flex-end}.message-wrapper.game-message{justify-content:flex-start}.message-avatar{align-items:center;border-radius:50%;display:flex;flex-shrink:0;font-size:18px;height:40px;justify-content:center;width:40px}.user-avatar{background:linear-gradient(135deg,#667eea,#764ba2);order:2}.game-avatar{background:linear-gradient(135deg,#f093fb,#f5576c);order:0}.message-container{display:flex;flex-direction:column;gap:10px;max-width:75%;order:1}.user-message-bubble{word-wrap:break-word;background:linear-gradient(135deg,#667eea,#764ba2);border-radius:16px 16px 4px 16px;box-shadow:0 4px 16px #667eea4d;color:#fff;font-size:.95rem;line-height:1.5;max-width:70%;order:1;padding:10px 14px;white-space:pre-line}.grade-card{animation:gradePopIn .5s cubic-bezier(.175,.885,.32,1.275);-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);background:linear-gradient(135deg,#a78bfa1f,#f5576c14);border:1px solid #a78bfa40;border-radius:20px;margin-bottom:10px;max-width:85%;overflow:hidden;padding:16px 18px;position:relative}.grade-card:before{animation:gradeGlow 2s ease infinite;background:radial-gradient(circle,#a78bfa14 0,#0000 70%);content:"";height:200%;left:-50%;position:absolute;top:-50%;width:200%}.grade-card-fire{border-color:#ffa50066;box-shadow:0 0 20px #ffa5001a}@keyframes gradePopIn{0%{opacity:0;transform:scale(.5) rotate(-5deg)}60%{transform:scale(1.05) rotate(1deg)}to{opacity:1;transform:scale(1) rotate(0deg)}}@keyframes gradeGlow{0%,to{opacity:.5}50%{opacity:1}}.grade-emoji{animation:emojiBounce .6s ease .3s both;font-size:2.2rem;margin-bottom:6px}@keyframes emojiBounce{0%{transform:scale(0)}50%{transform:scale(1.3)}to{transform:scale(1)}}.grade-score-row{align-items:center;display:flex;gap:14px;position:relative}.grade-score{align-items:baseline;display:flex;gap:2px}.grade-number{font-size:3rem;font-weight:900;line-height:1}.grade-number.grade-high{-webkit-text-fill-color:#0000;background:linear-gradient(135deg,gold,orange);-webkit-background-clip:text;background-clip:text;filter:drop-shadow(0 0 8px rgba(255,215,0,.4))}.grade-number.grade-mid{-webkit-text-fill-color:#0000;background:linear-gradient(135deg,#667eea,#a78bfa);-webkit-background-clip:text;background-clip:text}.grade-number.grade-low{-webkit-text-fill-color:#0000;background:linear-gradient(135deg,#f5576c,#ff6b6b);-webkit-background-clip:text;background-clip:text}.grade-of{color:#ffffff59;font-size:1.1rem;font-weight:700}.grade-reaction{color:#fff9;font-size:.85rem;font-weight:700;letter-spacing:.3px}.grade-cringe-row{align-items:center;display:flex;gap:8px;margin-top:10px;position:relative}.cringe-emoji{flex-shrink:0;font-size:1rem}.cringe-bar{background:#ffffff0f;border-radius:4px;flex:1 1;height:8px;overflow:hidden}.cringe-fill{background:linear-gradient(90deg,#a78bfa,#f5576c);border-radius:4px;height:100%;transition:width .8s cubic-bezier(.25,.46,.45,.94)}.cringe-value{color:#ffffff73;font-size:.8rem;font-weight:600;min-width:32px;text-align:right}.grade-comment{border-top:1px solid #ffffff14;color:#ffffffb3;font-size:.85rem;margin-top:10px;padding-top:10px}.game-message-bubble{word-wrap:break-word;background:#ffffff14;border-left:3px solid #a78bfa;border-radius:16px 16px 16px 4px;color:#ffffffe6;font-size:.95rem;line-height:1.5;max-width:70%;padding:10px 14px;white-space:pre-line}.message-image{border-radius:12px;box-shadow:0 4px 16px #0000004d;margin-bottom:8px;max-width:100%;overflow:hidden;width:100%}.message-image img{display:block;height:auto;width:100%}.loading-bubble{min-height:40px}.loading-bubble,.loading-dots{align-items:center;display:flex;justify-content:center}.loading-dots{gap:6px}.loading-dots span{animation:loading-bounce 1.4s ease-in-out infinite both;background-color:#a78bfa;border-radius:50%;height:8px;width:8px}.loading-dots span:first-child{animation-delay:-.32s}.loading-dots span:nth-child(2){animation-delay:-.16s}.loading-dots span:nth-child(3){animation-delay:0s}@keyframes loading-bounce{0%,80%,to{opacity:.4;transform:scale(.8)}40%{opacity:1;transform:scale(1.2)}}.chat-input-form{align-items:flex-end;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);background:#0003;border-top:1px solid #ffffff14;bottom:0;display:flex;flex-shrink:0;gap:8px;padding:8px 10px;position:-webkit-sticky;position:sticky;z-index:10}.chat-input{background:#ffffff0f;border:1px solid #ffffff1f;border-radius:14px;color:#fff;flex:1 1;font-family:inherit;font-size:1rem;line-height:1.4;max-height:120px;overflow-y:auto;padding:14px;resize:none;transition:border-color .2s}.chat-input::placeholder{color:#ffffff4d}.chat-input:focus{border-color:#a78bfa;outline:none}.chat-send-button{align-items:center;background:linear-gradient(135deg,#667eea,#a78bfa);border:none;border-radius:50%;color:#fff;cursor:pointer;display:flex;flex-shrink:0;font-size:20px;height:48px;justify-content:center;padding:0;transition:opacity .2s,transform .15s;width:48px}.chat-send-button:hover:not(:disabled){transform:scale(1.08)}.chat-send-button:disabled{cursor:not-allowed;opacity:.3}.suggestion-buttons{background:#0000001a;border-top:1px solid #ffffff0f;display:flex;flex-direction:column;gap:8px;min-height:80px;padding:12px 20px}.suggestion-title{color:#ffffff59;font-size:.75rem;font-weight:600;letter-spacing:.5px;margin:0;text-transform:uppercase}.suggestion-buttons-container{align-items:flex-start;display:flex;flex-wrap:wrap;gap:8px;min-height:40px}.suggestion-empty{color:#ffffff40;font-size:.85rem;font-style:italic;padding:8px 0}.suggestion-button{background:#ffffff14;border:1px solid #ffffff26;border-radius:10px;color:#a78bfa;cursor:pointer;font-size:.85rem;font-weight:600;padding:8px 16px;transition:all .15s}.suggestion-button:hover:not(:disabled){background:#a78bfa26;border-color:#a78bfa;transform:translateY(-1px)}.suggestion-button:disabled{cursor:not-allowed;opacity:.4}.score-panel{-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);background:#ffffff0f;border:1px solid #ffffff1a;border-radius:16px;height:-webkit-fit-content;height:fit-content;padding:10px;width:280px}.score-title{color:#fff6;font-size:.7rem;font-weight:600;letter-spacing:1px;margin-bottom:10px;text-align:center;text-transform:uppercase}.score-content{grid-gap:6px;display:grid;gap:6px;grid-template-columns:1fr 1fr}.score-item{background:#ffffff0a;border:1px solid #ffffff0f;border-radius:10px;display:flex;flex-direction:column;gap:1px;padding:6px 8px;transition:background .2s}.score-item:hover{background:#ffffff14}.score-label{color:#ffffff59;font-size:.65rem;font-weight:500;letter-spacing:.5px;text-transform:uppercase}.score-value{color:#fff;font-size:1rem;font-weight:700;line-height:1.2}.score-value.stress{color:#f5576c}.score-loading{color:#ffffff4d;padding:20px;text-align:center}@media (max-width:1024px){.game-content{flex-direction:column}.game-chat-container{max-height:none}.score-panel{box-sizing:border-box;margin:0 10px;width:100%;width:calc(100% - 20px)}}@media (max-width:768px){.game-header{padding:8px 10px}.game-title{font-size:1rem}.header-button{font-size:.75rem;padding:5px 10px}.game-content{padding:0}.game-chat{padding:10px}.game-chat-container{-webkit-backdrop-filter:none;backdrop-filter:none;background:#0000;border:none;border-radius:0;max-height:none}.game-chat-container:before,.message-avatar{display:none}.user-message-bubble:before{background:#667eea}.game-message-bubble:before,.user-message-bubble:before{border-radius:50%;content:"";display:inline-block;height:8px;margin-right:6px;vertical-align:middle;width:8px}.game-message-bubble:before{background:#f093fb}.game-message-bubble,.user-message-bubble{font-size:1.08rem;max-width:95%}.message-container{max-width:90%}}.message-buttons{display:flex;flex-wrap:wrap;gap:8px;margin-top:10px}.message-action-btn{background:#a78bfa26;border:1px solid #a78bfa4d;border-radius:12px;color:#a78bfa;cursor:pointer;font-size:.85rem;font-weight:600;padding:10px 18px;transition:all .15s}.message-action-btn:hover{background:#a78bfa4d;border-color:#a78bfa80}.message-action-btn:disabled{cursor:not-allowed;opacity:.4}.inline-buttons{display:flex;flex-wrap:wrap;gap:6px;margin-top:10px}.inline-button{background:#a78bfa33;border:1px solid #a78bfa66;border-radius:16px;color:#a78bfa;cursor:pointer;font-size:.8rem;font-weight:600;padding:6px 14px;transition:all .15s}.inline-button:hover{background:#a78bfa59}.inline-button:disabled{cursor:not-allowed;opacity:.4}.exit-modal-overlay{align-items:center;background:#000000b3;display:flex;inset:0;justify-content:center;position:fixed;z-index:1000}.exit-modal{background:linear-gradient(135deg,#1e1b4b,#312e81);border:1px solid #ffffff1a;border-radius:20px;max-width:340px;padding:28px;text-align:center;width:90%}.exit-modal-title{color:#fff;font-size:1.1rem;font-weight:700;margin-bottom:8px}.exit-modal-text{color:#ffffff80;font-size:.85rem;line-height:1.4;margin-bottom:20px}.exit-modal-btn{border:none;border-radius:12px;cursor:pointer;display:block;font-size:.9rem;font-weight:600;margin-bottom:8px;padding:12px;width:100%}.exit-modal-btn.save{background:linear-gradient(135deg,#667eea,#764ba2);color:#fff}.exit-modal-btn.discard{background:#ffffff14;color:#fff9}.exit-modal-btn.cancel{background:none;color:#ffffff4d;font-size:.8rem}.game-guest-buttons{display:flex;gap:8px;margin-top:6px}.game-guest-btn{border:none;border-radius:10px;cursor:pointer;flex:1 1;font-size:.75rem;font-weight:700;padding:10px 8px;transition:transform .15s;white-space:nowrap}.game-guest-btn:hover{transform:translateY(-2px)}.game-guest-btn.register{background:linear-gradient(135deg,#667eea,#764ba2);box-shadow:0 6px 18px #667eea4d;color:#fff}.game-guest-btn.duel{background:linear-gradient(135deg,#a78bfa,#7c3aed);box-shadow:0 6px 18px #a78bfa4d;color:#fff}.stats-overlay{align-items:flex-start;background:#00000080;bottom:0;display:flex;justify-content:flex-end;left:0;padding:60px 10px 10px;position:fixed;right:0;top:0;z-index:100}.stats-drawer{-webkit-backdrop-filter:blur(20px);backdrop-filter:blur(20px);background:#1e1c3cf2;border:1px solid #ffffff1a;border-radius:16px;box-shadow:0 8px 32px #0006;padding:16px;width:300px}.drawer-nav{border-top:1px solid #ffffff14;display:flex;flex-direction:column;gap:8px;margin-top:12px;padding-top:12px}.drawer-nav a{border-radius:8px;color:#fff9;font-size:.85rem;padding:6px 10px;text-decoration:none;transition:background .15s,color .15s}.drawer-nav a:hover{background:#ffffff14;color:#fff}.stats-toggle{display:none}.stats-toggle:hover{background:#ffffff26}.stats-bar{align-items:center;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);background:#a78bfa1f;border-bottom:1px solid #a78bfa33;color:#fffc;cursor:pointer;display:flex;flex-shrink:0;font-size:.8rem;justify-content:space-around;padding:5px 16px;position:-webkit-sticky;position:sticky;top:0;transition:background .2s;z-index:50}.stats-bar:hover{background:#ffffff1a}.guest-badge{font-size:.7rem;opacity:.6}.stats-bar b{color:#fff;display:inline-block;font-size:.9rem;font-weight:800;transition:transform .2s}.stats-bar b.pulse{animation:stats-pulse .4s ease}@keyframes stats-pulse{0%{transform:scale(1)}50%{color:#f5576c;transform:scale(1.4)}to{transform:scale(1)}}.profile-page{align-items:center;background:linear-gradient(135deg,#0f0c29,#302b63 50%,#24243e);color:#fff;display:flex;justify-content:center;min-height:100vh;padding:20px}.profile-container{gap:24px;max-width:420px;width:100%}.profile-container,.profile-page .home-logo{align-items:center;display:flex;flex-direction:column}.profile-page .home-logo{gap:8px}.profile-page .logo-img{border-radius:16px;box-shadow:0 8px 24px #a78bfa4d;height:80px;width:80px}.profile-title{color:#fff;font-size:1.4rem;font-weight:700;margin:0}.profile-nickname{color:#ffffff80;font-size:.9rem;margin:0}.profile-stats{grid-gap:10px;display:grid;gap:10px;grid-template-columns:1fr 1fr;width:100%}.profile-stat-card{-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);background:#ffffff0f;border:1px solid #ffffff14;border-radius:14px;padding:16px;text-align:center}.profile-stat-value{color:#a78bfa;font-size:1.8rem;font-weight:800;margin-bottom:4px}.profile-stat-value.stress{color:#f59e0b}.profile-stat-label{color:#ffffff80;font-size:.8rem}.profile-buttons{display:flex;flex-wrap:wrap;gap:10px;width:100%}.profile-btn{align-items:center;border:none;border-radius:14px;color:#fff;cursor:pointer;display:flex;flex-basis:calc(50% - 10px);flex-direction:column;flex-grow:1;flex-shrink:1;font-size:.8rem;font-weight:600;gap:4px;min-width:100px;padding:14px 8px;transition:opacity .2s,transform .2s}.profile-btn:hover{transform:translateY(-2px)}.profile-btn.solo{background:linear-gradient(135deg,#4facfe,#00f2fe);box-shadow:0 6px 20px #4facfe4d}.profile-btn.duel{background:linear-gradient(135deg,#f093fb,#f5576c);box-shadow:0 6px 20px #f5576c4d}.profile-btn.leaderboard{background:linear-gradient(135deg,#a78bfa,#7c3aed);box-shadow:0 6px 20px #a78bfa4d}.profile-btn-icon{font-size:1.4rem}.profile-btn-text,.profile-logout{font-size:.75rem}.profile-logout{-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);background:#ffffff0f;border:1px solid #ffffff1a;border-radius:10px;color:#fff6;cursor:pointer;font-size:.85rem;padding:6px 14px;transition:all .2s}.profile-logout:hover{border-color:#fff3;color:#ffffffb3}.profile-loading{color:#ffffff80;padding:20px;text-align:center}.profile-home{background:none;border:none;color:#fff9;cursor:pointer;font-size:1rem;padding:6px}.profile-home:hover{color:#ffffffb3}.challenge-page{background:linear-gradient(135deg,#0f0c29,#302b63 50%,#24243e);display:flex;flex-direction:column;min-height:100vh}.challenge-header{align-items:center;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);background:#ffffff0f;border-bottom:1px solid #ffffff14;display:flex;padding:16px 24px;position:relative}.challenge-title{color:#fff;font-size:1.3rem;font-weight:700}.header-nick{font-size:.9rem;min-width:60px;text-align:right}.header-button,.header-nick{color:#ffffffb3;font-weight:600}.header-button{background:#ffffff14;border:1px solid #ffffff1f;border-radius:10px;font-size:.85rem;padding:8px 18px;transition:all .15s}.header-button:hover{background:#ffffff26;color:#fff}.header-button.leave-btn{border-color:#f5576c33;color:#f5576ccc}.header-button.leave-btn:hover{background:#f5576c26;color:#f5576c}.leave-duel-btn{background:none;border:1px solid #f5576c33;border-radius:10px;color:#f5576c80;cursor:pointer;font-size:.85rem;margin-top:16px;padding:10px 20px;transition:all .15s}.leave-duel-btn:hover{background:#f5576c1a;border-color:#f5576c66;color:#f5576c}.challenge-menu{align-items:center;display:flex;flex-direction:column;gap:20px;padding:40px 20px}.challenge-menu .challenge-card{min-width:340px}.answer-sent,.challenge-card,.eval-card,.lobby-card,.players-status,.result-card,.round-scoreboard,.task-card,.waiting-card{-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);background:#ffffff0f;border:1px solid #ffffff1a;border-radius:20px;max-width:420px;padding:30px;text-align:center;width:100%}.result-card{max-width:560px;text-align:left}.result-card.final{max-width:500px}.challenge-card h2,.lobby-card h2{color:#fff;margin:10px 0}.challenge-card p{color:#ffffff80;margin-bottom:16px}.card-icon{font-size:3rem;margin-bottom:10px}.challenge-divider{color:#ffffff40;font-size:1rem;font-weight:600}.join-form{display:flex;gap:10px}.code-input{background:#ffffff0f;border:1px solid #ffffff1f;border-radius:12px;color:#fff;flex:1 1;font-size:1.5rem;letter-spacing:8px;outline:none;padding:12px 18px;text-align:center;transition:border-color .2s}.code-input::placeholder{color:#ffffff40}.code-input:focus{border-color:#a78bfa}.code-input-small{font-size:1.2rem;letter-spacing:6px;max-width:160px}.challenge-btn{border:none;border-radius:12px;cursor:pointer;font-size:.95rem;font-weight:600;padding:14px 28px;transition:all .15s}.challenge-btn.primary{background:linear-gradient(135deg,#667eea,#764ba2);box-shadow:0 4px 16px #667eea4d;color:#fff}.challenge-btn.primary:hover:not(:disabled){box-shadow:0 6px 20px #667eea73;transform:translateY(-2px)}.challenge-btn.secondary{background:#ffffff14;border:1px solid #a78bfa4d;color:#a78bfa}.challenge-btn.secondary:hover:not(:disabled){background:#a78bfa26}.challenge-btn.duel{background:linear-gradient(135deg,#f093fb,#f5576c);box-shadow:0 4px 16px #f5576c59;color:#fff}.challenge-btn.duel:hover:not(:disabled){box-shadow:0 6px 20px #f5576c80;transform:translateY(-2px)}.challenge-btn:disabled{cursor:not-allowed;opacity:.4}.challenge-content{align-items:center;display:flex;flex-direction:column;gap:20px;padding:30px 20px}.big-code{background:#a78bfa1a;border:1px solid #a78bfa33;border-radius:16px;color:#a78bfa;cursor:pointer;font-size:4rem;font-weight:800;letter-spacing:12px;margin:15px 0;padding:15px;transition:background .2s}.big-code:hover{background:#a78bfa2e}.hint{color:#ffffff59;font-size:.85rem}.waiting-dots{display:flex;gap:8px;justify-content:center;margin:20px 0}.waiting-dots span{animation:pulse 1.4s ease-in-out infinite;background:#a78bfa;border-radius:50%;height:10px;width:10px}.waiting-dots span:nth-child(2){animation-delay:.2s}.waiting-dots span:nth-child(3){animation-delay:.4s}@keyframes pulse{0%,80%,to{opacity:.3;transform:scale(.8)}40%{opacity:1;transform:scale(1)}}.task-card{max-width:500px}.task-preview{background:#ffffff0a;border-radius:12px;max-width:400px;padding:16px 20px;width:100%}.task-preview h3{color:#a78bfa;margin-bottom:8px}.task-preview p{color:#ffffffb3;line-height:1.5}.task-label{color:#a78bfa;font-size:.8rem;font-weight:600;letter-spacing:1px;margin-bottom:10px;text-transform:uppercase}.task-text{color:#ffffffe6;font-size:1.1rem;line-height:1.6;margin-bottom:20px}.vs-badge{align-items:center;border-top:1px solid #ffffff14;color:#ffffff80;display:flex;font-weight:600;gap:15px;justify-content:center;padding-top:15px}.vs{color:#a78bfa;font-size:1.2rem}.answer-form{display:flex;flex-direction:column;gap:15px;max-width:500px;width:100%}.answer-input{background:#ffffff0f;border:1px solid #ffffff1f;border-radius:14px;box-sizing:border-box;color:#fff;font-family:inherit;font-size:1rem;outline:none;padding:16px 20px;resize:vertical;transition:border-color .2s;width:100%}.answer-input::placeholder{color:#ffffff40}.answer-input:focus{border-color:#a78bfa}.your-grade h3{color:#a78bfa;font-size:1.5rem;margin-bottom:10px}.grade-comment{color:#ffffff80;font-style:italic}.result-card h2,.result-card h3{color:#fff;font-size:1.3rem}.result-banner{border-radius:14px;font-size:1.8rem;font-weight:800;margin-bottom:20px;padding:14px;text-align:center}.result-banner.win{background:linear-gradient(135deg,gold,#fa0);color:#333}.result-banner.lose{background:linear-gradient(135deg,#555,#444);color:#fffc}.result-scores{align-items:center;display:flex;gap:20px;justify-content:center;margin-bottom:20px}.result-player{background:#ffffff0d;border-radius:14px;flex:1 1;padding:14px}.result-player.winner{background:#ffd7001a;border:1px solid #ffd7004d}.player-name{color:#ffffffb3;margin-bottom:6px}.player-grade{color:#a78bfa;font-size:2rem;font-weight:800}.player-answer{color:#fff6;font-size:.85rem;line-height:1.4;margin-top:6px}.result-vs{color:#fff3;font-size:1.5rem;font-weight:800}.challenge-error{background:#f5576c26;border-radius:12px;color:#f5576c;max-width:400px;padding:12px 20px;text-align:center}.nickname-field{display:flex;flex-direction:column;gap:6px;max-width:400px;width:100%}.nickname-field label{color:#fff9;font-size:.85rem;font-weight:600}.nickname-field .code-input{box-sizing:border-box;font-size:1rem;letter-spacing:normal;text-align:left}.players-selector{align-items:center;display:flex;gap:10px;justify-content:center;margin-bottom:15px}.players-selector label{color:#fff9;font-weight:600}.players-selector select{background:#ffffff0f;border:1px solid #ffffff1f;border-radius:10px;color:#fff;cursor:pointer;font-size:1rem;outline:none;padding:8px 14px}.lobby-card h2{color:#a78bfa;margin-bottom:14px}.invite-section{display:flex;flex-direction:column;gap:8px;margin-bottom:20px}.invite-link-input{background:#ffffff0a;border:1px solid #ffffff1a;border-radius:10px;color:#ffffff80;font-size:.8rem;margin-top:4px;outline:none;padding:8px 12px;width:100%}.players-list{margin:14px 0;text-align:left}.players-list h3{color:#a78bfa;font-size:.9rem;margin-bottom:10px}.player-row{border-bottom:1px solid #ffffff0f;gap:10px;padding:8px 0}.player-number,.player-row{align-items:center;display:flex}.player-number{background:linear-gradient(135deg,#667eea,#764ba2);border-radius:50%;color:#fff;font-size:.8rem;font-weight:700;height:26px;justify-content:center;width:26px}.player-name{color:#fffc;font-weight:600}.creator-badge{font-size:1.2rem}.scoreboard-mini{border-top:1px solid #ffffff0f;display:flex;flex-wrap:wrap;gap:8px;margin-top:14px;padding-top:14px}.score-chip{background:#a78bfa1f;border-radius:10px;color:#a78bfa;font-size:.8rem;font-weight:600;padding:4px 10px}.players-status{max-width:500px}.players-status h3{color:#a78bfa;font-size:.9rem;margin-bottom:10px}.player-status{align-items:center;display:flex;font-size:.95rem;gap:10px;padding:8px 0}.player-status .status-name{font-weight:600}.player-status .status-label{font-size:.85rem;margin-left:auto}.player-status.done,.player-status.done .status-label{color:#4caf50}.player-status.waiting,.player-status.waiting .status-label{color:#ffffff59}.answer-result{background:#ffffff0a;border:1px solid #ffffff14;border-radius:14px;margin-bottom:12px;padding:16px 18px}.answer-result.winner{background:#a78bfa1a;border-color:#a78bfa40}.answer-result-header{align-items:center;display:flex;gap:10px;margin-bottom:8px}.answer-result-place{font-size:1.2rem}.answer-result-name{color:#ffffffd9;flex:1 1;font-weight:700}.answer-result-grade{color:#a78bfa;font-size:1.1rem;font-weight:800}.answer-result-text{color:#ffffffa6;font-size:.95rem;font-style:italic;line-height:1.5;margin:0}.answer-result-comment{color:#fff6;font-size:.85rem;margin:8px 0 0}.final-scoreboard,.total-scoreboard{margin:14px 0}.score-row{align-items:center;border-bottom:1px solid #ffffff0f;display:flex;gap:10px;padding:10px}.score-row.first{background:#ffd70014;border-radius:10px}.score-place{color:#a78bfa;font-weight:800;min-width:24px}.score-name{color:#fffc;flex:1 1;font-weight:600;text-align:left}.score-total{color:#a78bfa;font-weight:800}.result-actions{display:flex;flex-direction:column;gap:10px;margin-top:14px}.all-ready{color:#4caf50;font-size:1.1rem;font-weight:700;margin:10px 0}.room-code-badge{background:#a78bfa26;border-radius:8px;color:#a78bfa;font-size:.8rem;margin-left:6px;padding:2px 8px;vertical-align:middle}.rounds-history{margin:14px 0;text-align:left}.rounds-history h3{color:#a78bfa;margin-bottom:10px}.history-round{background:#ffffff0a;border-radius:10px;margin-bottom:8px;padding:10px 14px}.history-round-header{color:#a78bfa;font-weight:700;margin-bottom:5px}.history-answer{color:#fff9;font-size:.9rem;padding:3px 0}.chat-bell{background:none;border:none;cursor:pointer;font-size:1.4rem;padding:4px;position:relative}.chat-badge{align-items:center;background:#e53935;border-radius:9px;color:#fff;display:flex;font-size:.7rem;font-weight:700;height:18px;justify-content:center;min-width:18px;position:absolute;right:-6px;top:-4px}.chat-overlay-bg{background:#0006;bottom:0;left:0;position:fixed;right:0;top:0;z-index:998}.chat-panel{animation:slideInRight .25s ease-out;background:#1a1640;box-shadow:-4px 0 24px #0006;display:flex;flex-direction:column;height:100vh;max-width:85vw;position:fixed;right:0;top:0;width:320px;z-index:999}@keyframes slideInRight{0%{transform:translateX(100%)}to{transform:translateX(0)}}.chat-panel-header{align-items:center;border-bottom:1px solid #ffffff14;color:#fff;display:flex;font-weight:700;justify-content:space-between;padding:14px 18px}.chat-close{background:none;border:none;color:#fff6;cursor:pointer;font-size:1.2rem}.chat-panel-messages{flex:1 1;max-height:45vh;overflow-y:auto;padding:12px 18px}.chat-msg{margin-bottom:10px}.chat-msg.mine{text-align:right}.chat-msg-nick{color:#a78bfa;display:block;font-size:.75rem;font-weight:700}.chat-msg.mine .chat-msg-nick{color:#764ba2}.chat-msg-text{word-wrap:break-word;background:#a78bfa1a;border-radius:12px;color:#ffffffd9;display:inline-block;font-size:.9rem;max-width:80%;padding:6px 12px}.chat-msg.mine .chat-msg-text{background:linear-gradient(135deg,#667eea,#764ba2);color:#fff}.chat-msg-time{color:#ffffff4d;font-size:.65rem;margin-left:6px}.chat-msg.mine .chat-msg-time{margin-left:0;margin-right:6px}.chat-empty{color:#ffffff40;padding:30px 0;text-align:center}.chat-panel-input{border-top:1px solid #ffffff14;display:flex;gap:8px;padding:12px 18px}.chat-panel-input input{background:#ffffff0f;border:1px solid #ffffff1f;border-radius:12px;color:#fff;flex:1 1;font-size:.9rem;outline:none;padding:8px 14px}.chat-panel-input input:focus{border-color:#a78bfa}.chat-panel-input button{background:linear-gradient(135deg,#667eea,#764ba2);border:none;border-radius:12px;color:#fff;cursor:pointer;font-size:1.1rem;width:40px}.chat-panel-input button:disabled{opacity:.4}.join-duel-screen{align-items:center;display:flex;flex-direction:column;gap:16px;max-width:340px;width:100%}.join-vs{animation:float 2s ease-in-out infinite;font-size:3rem}@keyframes float{0%,to{transform:translateY(0)}50%{transform:translateY(-8px)}}.join-title{color:#fff;font-size:1.6rem;font-weight:800;line-height:1.3;margin:0;text-align:center}.join-code-badge{background:#a78bfa1f;border:1px solid #a78bfa40;border-radius:14px;color:#a78bfa;font-size:2.2rem;font-weight:800;letter-spacing:6px;padding:10px 28px}.join-nick-input{background:#ffffff0f;border:1px solid #ffffff1f;border-radius:14px;box-sizing:border-box;color:#fff;font-size:1rem;outline:none;padding:14px 18px;text-align:center;transition:border-color .2s;width:100%}.join-nick-input::placeholder{color:#ffffff40}.join-nick-input:focus{border-color:#a78bfa}@media (max-width:600px){.challenge-header{padding:10px 12px}.challenge-title{font-size:1rem}.big-code{font-size:2.5rem}.result-scores{flex-direction:column}.result-vs{transform:rotate(90deg)}.challenge-card{min-width:0!important;min-width:auto!important;padding:16px;width:100%}.challenge-menu{gap:12px;padding:20px 12px}.challenge-menu .challenge-card{min-width:0;min-width:auto;width:100%}.challenge-desc{font-size:.8rem;margin:0 8px 12px;padding:10px 12px}.card-icon{font-size:28px}.challenge-card h2{font-size:1rem}.join-form{flex-direction:column}.code-input-small{max-width:100%}.code-input,.nickname-field .code-input{font-size:1rem;letter-spacing:normal}.players-selector{justify-content:center}.challenge-btn{font-size:.9rem;padding:12px 20px;width:100%}.challenge-divider{margin:8px 0}.challenge-content{padding:0 8px}.join-duel-screen{padding:20px 16px}.join-title{font-size:1.3rem}.join-nick-input{font-size:1rem;padding:12px 16px}}.header-right{align-items:center;display:flex;gap:8px;margin-left:auto}.challenge-desc{background:#ffffff0a;border-radius:12px;color:#fff9;font-size:.85rem;line-height:1.6;margin:0 24px 16px;padding:12px 16px;text-align:center}.leaderboard-page{background:linear-gradient(135deg,#0f0c29,#302b63 50%,#24243e);color:#fff;display:flex;flex-direction:column;min-height:100vh}.leaderboard-header{align-items:center;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);background:#ffffff0f;border-bottom:1px solid #ffffff14;display:flex;justify-content:space-between;padding:16px 24px;position:relative}.header-logo-centered{border-radius:8px;height:40px;margin:0 auto;object-fit:contain;width:40px}.header-button{left:24px;position:absolute}.leaderboard-title{color:#fff;font-size:1.1rem;font-weight:600;margin:0 0 16px;text-align:center}.leaderboard-content{box-sizing:border-box;flex:1 1;margin:0 auto;max-width:600px;padding:20px;width:100%}.leaderboard-empty,.leaderboard-loading{color:#ffffff80;font-size:1rem;margin-top:60px;text-align:center}.leaderboard-table{border-collapse:initial;border-spacing:0 6px;width:100%}.leaderboard-table thead th{color:#ffffff80;font-size:.75rem;font-weight:500;letter-spacing:.5px;padding:8px 12px;text-align:left;text-transform:uppercase}.leaderboard-table tbody tr{background:#ffffff0f;border-radius:10px}.leaderboard-table tbody td{font-size:.9rem;padding:12px}.leaderboard-table tbody tr td:first-child{border-radius:10px 0 0 10px}.leaderboard-table tbody tr td:last-child{border-radius:0 10px 10px 0}.top-1 td{background:#ffd7001f}.top-2 td{background:#c0c0c01a}.top-3 td{background:#cd7f321a}.rank{font-weight:600;text-align:center;width:40px}.nickname{font-weight:500}.score{color:#a78bfa;font-weight:700}.avg{color:#fff9}.avg,.games{font-size:.85rem}.games{color:#fff6}.nickname-link{color:#fff;text-decoration:none}.nickname-link:hover{color:#a78bfa}.leaderboard-actions{grid-gap:10px;display:grid;gap:10px;grid-template-columns:1fr 1fr;margin-top:20px;padding:0 16px 20px}.lb-action-btn{border:none;border-radius:14px;cursor:pointer;font-size:.9rem;font-weight:700;padding:14px 16px;transition:transform .15s}.lb-action-btn:hover{transform:translateY(-2px)}.lb-action-btn.play{background:linear-gradient(135deg,#667eea,#764ba2);box-shadow:0 6px 20px #667eea4d;color:#fff}.lb-action-btn.duel{background:linear-gradient(135deg,#a78bfa,#7c3aed);box-shadow:0 6px 20px #a78bfa4d;color:#fff}.user-page{background:linear-gradient(135deg,#0f0c29,#302b63 50%,#24243e);color:#fff;display:flex;flex-direction:column;min-height:100vh}.user-header{align-items:center;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);background:#ffffff0f;border-bottom:1px solid #ffffff14;display:flex;justify-content:space-between;padding:16px 24px;position:relative}.header-title{font-size:1.1rem;font-weight:600}.header-button{background:#ffffff1a;border:none;border-radius:8px;color:#fff;cursor:pointer;font-size:1.2rem;padding:6px 12px}.header-logo{border-radius:6px;height:32px;left:50%;object-fit:contain;pointer-events:none;position:absolute;transform:translateX(-50%);width:32px}.user-loading{color:#ffffff80;margin-top:60px;text-align:center}.user-content{box-sizing:border-box;flex:1 1;flex-direction:column;margin:0 auto;max-width:400px;padding:30px 20px;width:100%}.profile-avatar,.user-content{align-items:center;display:flex}.profile-avatar{background:linear-gradient(135deg,#a78bfa,#7c3aed);border-radius:50%;box-shadow:0 8px 24px #a78bfa4d;height:80px;justify-content:center;margin-bottom:16px;width:80px}.avatar-emoji{font-size:2.5rem}.user-name{font-size:1.4rem;font-weight:700;margin-bottom:4px}.user-rank{color:#a78bfa;font-size:.9rem;font-weight:500;margin-bottom:30px}.user-stats{grid-gap:12px;display:grid;gap:12px;grid-template-columns:1fr 1fr;width:100%}.stat-card{-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);background:#ffffff0f;border:1px solid #ffffff14;border-radius:14px;padding:20px 16px;text-align:center}.stat-value{color:#a78bfa;font-size:1.8rem;font-weight:800;margin-bottom:4px}.stat-label{color:#ffffff80;font-size:.8rem;text-transform:lowercase}.share-section{margin-top:24px;text-align:center}.share-title{color:#ffffff59;font-size:.75rem;letter-spacing:1px;margin-bottom:12px;text-transform:uppercase}.share-buttons{display:flex;gap:10px;justify-content:center}.share-btn{border:none;border-radius:10px;cursor:pointer;font-size:.85rem;font-weight:700;padding:10px 20px;transition:transform .1s}.share-btn:hover{transform:translateY(-1px)}.share-btn.telegram{background:#2aabee;color:#fff}.share-btn.vk{background:#07f;color:#fff}.share-btn.copy{background:#ffffff14;color:#fff9}.best-answer{background:#facc150f;border:1px solid #facc1526;border-radius:16px;margin-top:20px;padding:18px;text-align:left}.best-answer-label{color:#fbbf24;font-size:.8rem;font-weight:700;margin-bottom:10px}.best-answer-task{color:#ffffff80;font-size:.8rem;line-height:1.5;margin-bottom:10px}.best-answer-text{color:#ffffffd9;font-size:.9rem;font-style:italic;line-height:1.5}.user-action-buttons{grid-gap:10px;display:grid;gap:10px;grid-template-columns:1fr 1fr;margin-top:20px}.user-action-btn{border:none;border-radius:14px;cursor:pointer;font-size:.9rem;font-weight:700;padding:14px 16px;transition:transform .15s}.user-action-btn:hover{transform:translateY(-2px)}.user-action-btn.play{background:linear-gradient(135deg,#667eea,#764ba2);box-shadow:0 6px 20px #667eea4d;color:#fff}.user-action-btn.duel{background:linear-gradient(135deg,#a78bfa,#7c3aed);box-shadow:0 6px 20px #a78bfa4d;color:#fff}.rules-page{background:linear-gradient(135deg,#0f0c29,#302b63 50%,#24243e);display:flex;flex-direction:column;min-height:100vh}.rules-content{box-sizing:border-box;flex:1 1;margin:0 auto;max-width:600px;padding:24px;width:100%}.rules-intro{margin-bottom:24px}.rules-intro-text{-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);background:#ffffff0f;border:1px solid #ffffff1a;border-radius:16px;color:#ffffffd9;font-size:1rem;line-height:1.7;padding:20px}.rules-section{margin-bottom:24px}.rules-section-title{color:#fff;font-size:1.1rem;font-weight:700;margin-bottom:12px}.rules-card{-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);background:#ffffff0f;border:1px solid #ffffff1a;border-radius:16px;color:#ffffffbf;font-size:.9rem;line-height:1.6;padding:20px}.rules-card p{margin:0 0 12px}.rules-list{list-style:none;margin:0;padding:0}.rules-list li{color:#ffffffb3;padding:8px 0 8px 24px;position:relative}.rules-list li:before{color:#a78bfa;content:"•";font-weight:700;left:8px;position:absolute}.rules-list strong{color:#ffffffe6}.rules-card a{color:#a78bfa;text-decoration:none}.rules-card a:hover{text-decoration:underline}@media (max-width:480px){.rules-card,.rules-content,.rules-intro-text{padding:16px}}.feedback-page{background:linear-gradient(135deg,#0f0c29,#302b63 50%,#24243e);display:flex;flex-direction:column;min-height:100vh}.feedback-content{box-sizing:border-box;flex:1 1;margin:0 auto;max-width:480px;padding:24px;width:100%}.feedback-form{-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);background:#ffffff0f;border:1px solid #ffffff1a;border-radius:20px;display:flex;flex-direction:column;gap:16px;padding:24px}.feedback-type{display:flex;gap:8px}.type-btn{background:#ffffff0a;border:1px solid #ffffff14;border-radius:12px;color:#ffffff80;cursor:pointer;flex:1 1;font-size:.8rem;font-weight:600;padding:10px 8px;transition:all .15s}.type-btn.active{background:#a78bfa26;border-color:#a78bfa66;color:#a78bfa}.type-btn:hover{background:#ffffff14}.feedback-input,.feedback-textarea{background:#ffffff0a;border:1px solid #ffffff1a;border-radius:12px;color:#fff;font-family:inherit;font-size:.9rem;outline:none;padding:14px 16px;resize:vertical;transition:border-color .15s}.feedback-input::placeholder,.feedback-textarea::placeholder{color:#ffffff4d}.feedback-input:focus,.feedback-textarea:focus{border-color:#a78bfa80}.feedback-btn{background:#ffffff14;border:1px solid #ffffff1f;border-radius:12px;color:#ffffffb3;cursor:pointer;font-size:.9rem;font-weight:600;padding:14px;transition:all .15s}.feedback-btn:hover{background:#ffffff1f}.feedback-btn.primary{background:#a78bfa33;border-color:#a78bfa66;color:#a78bfa}.feedback-btn.primary:hover{background:#a78bfa4d}.feedback-btn:disabled{cursor:not-allowed;opacity:.5}.feedback-error{color:#f5576c;font-size:.85rem;margin:0}.feedback-success{-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);background:#ffffff0f;border:1px solid #ffffff1a;border-radius:20px;padding:48px 24px;text-align:center}.success-icon{font-size:3rem;margin-bottom:16px}.feedback-success h2{color:#fff;margin:0 0 8px}.feedback-success p{color:#fff9;line-height:1.5;margin:0 0 24px}@media (max-width:480px){.feedback-content,.feedback-form{padding:16px}}.install-page{background:linear-gradient(135deg,#0f0c29,#302b63 50%,#24243e);display:flex;flex-direction:column;min-height:100vh}.install-content{box-sizing:border-box;flex:1 1;margin:0 auto;max-width:500px;padding:24px;width:100%}.install-card{-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);background:#ffffff0f;border:1px solid #ffffff1a;border-radius:20px;margin-bottom:24px;padding:24px;text-align:center}.install-icon{font-size:2.5rem;margin-bottom:12px}.install-card h2{color:#fff;font-size:1.2rem;margin:0 0 8px}.install-card p{color:#ffffff80;font-size:.9rem;margin:0}.install-section{-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);background:#ffffff0f;border:1px solid #ffffff1a;border-radius:16px;margin-bottom:16px;padding:20px}.install-section h3{color:#a78bfa;font-size:.95rem;margin:0 0 12px}.install-steps{color:#ffffffb3;font-size:.85rem;line-height:1.8;margin:0;padding-left:20px}.install-steps strong{color:#ffffffe6}.share-icon{background:#a78bfa33;border-radius:4px;display:inline-block;padding:0 4px}@media (max-width:480px){.install-card,.install-content,.install-section{padding:16px}}.myduels-page{background:linear-gradient(135deg,#0f0c29,#302b63 50%,#24243e);display:flex;flex-direction:column;min-height:100vh}.myduels-content{box-sizing:border-box;flex:1 1;margin:0 auto;max-width:500px;padding:24px;width:100%}.myduels-loading{color:#fff6;padding:40px;text-align:center}.myduels-empty{padding:48px 24px;text-align:center}.empty-icon{font-size:3rem;margin-bottom:16px}.myduels-empty p{color:#ffffff80;margin:0 0 20px}.myduels-btn{background:#a78bfa33;border:1px solid #a78bfa66;border-radius:12px;color:#a78bfa;cursor:pointer;font-size:.9rem;font-weight:600;padding:12px 28px}.myduels-btn:hover{background:#a78bfa4d}.myduels-list{display:flex;flex-direction:column;gap:12px}.duel-card{-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);background:#ffffff0f;border:1px solid #ffffff1a;border-left:3px solid #fff3;border-radius:16px;padding:16px}.duel-card.playing{border-left-color:#a78bfa}.duel-card.finished{border-left-color:#ffffff26}.duel-card.waiting{border-left-color:#fbbf24}.duel-card-header{align-items:center;display:flex;justify-content:space-between;margin-bottom:10px}.duel-status{color:#ffffffb3;font-size:.8rem;font-weight:600}.duel-date{color:#ffffff59;font-size:.75rem}.duel-card-body{align-items:center;display:flex;justify-content:space-between;margin-bottom:10px}.duel-info{display:flex;gap:12px}.duel-score{color:#fff;font-size:.95rem;font-weight:600}.duel-rank{color:#fff6;font-size:.8rem}.duel-badge.win{background:#facc1526;border-radius:8px;color:#fbbf24;font-size:.75rem;font-weight:700;padding:4px 10px}.duel-winner{color:#fff6;font-size:.75rem}.duel-card-footer{color:#ffffff4d;display:flex;font-size:.75rem;justify-content:space-between}@media (max-width:480px){.myduels-content{padding:16px}.duel-card{padding:14px}}.app{min-height:100vh}
/*# sourceMappingURL=main.65824dfa.css.map*/