*{margin:0;padding:0;box-sizing:border-box}html,body{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,sans-serif;font-size:16px;line-height:1.5;color:#333;background-color:#f5f5f5;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}#root{min-height:100vh}a{text-decoration:none;color:inherit}button,input{font-family:inherit}ul,ol{list-style:none}.host-page{min-height:100vh;background:linear-gradient(135deg,#667eea,#764ba2);padding:20px}.host-page__header{display:flex;justify-content:center;align-items:center;flex-direction:column;margin-bottom:30px;color:#fff}.host-page__title{font-size:28px;font-weight:700;margin-bottom:12px;text-shadow:0 2px 4px rgba(0,0,0,.2)}.host-page__info{display:flex;gap:20px}.host-page__round,.host-page__players,.host-page__status{background:#fff3;padding:8px 16px;border-radius:20px;font-size:14px}.host-page__round--waiting,.host-page__players--waiting,.host-page__status--waiting{background:#faad144d}.host-page__round--voting,.host-page__players--voting,.host-page__status--voting{background:#52c41a4d}.host-page__round--result,.host-page__players--result,.host-page__status--result{background:#1890ff4d}.host-page__error-banner{background:#ff4d4fe6;color:#fff;padding:12px 20px;border-radius:8px;text-align:center;margin-bottom:20px;max-width:1200px;margin-left:auto;margin-right:auto}.host-page__success-banner{background:#52c41ae6;color:#fff;padding:12px 20px;border-radius:8px;text-align:center;margin-bottom:20px;max-width:1200px;margin-left:auto;margin-right:auto}.host-page__preset-info{margin-bottom:16px}.host-page__preset-badge{display:flex;align-items:center;justify-content:space-between;padding:12px 16px;border-radius:8px;font-size:14px}.host-page__preset-badge--has{background:#e6f7ff;color:#1890ff;border:1px solid #1890ff}.host-page__preset-badge--none{background:#fffbe6;color:#d48806;border:1px solid #ffe58f}.host-page__preset-btn{padding:6px 12px;background:#1890ff;color:#fff;border:none;border-radius:4px;font-size:12px;cursor:pointer;transition:background .2s ease}.host-page__preset-btn:hover:not(:disabled){background:#096dd9}.host-page__preset-btn:disabled{opacity:.6;cursor:not-allowed}.host-page__content{display:flex;flex-direction:column;gap:24px;max-width:1400px;margin:0 auto}.host-page__top-row{display:grid;grid-template-columns:1fr 1fr 1fr;gap:24px}.host-page__right-column{display:flex;flex-direction:column;gap:24px}.host-page__qrcode{background:#fff;border-radius:12px;box-shadow:0 4px 16px #0000001f;padding:24px;text-align:center}.host-page__qrcode h2{font-size:18px;color:#333;margin-bottom:20px}.host-page__qrcode-wrapper{display:flex;justify-content:center;align-items:center;padding:20px;background:#fff;border-radius:8px;margin-bottom:16px}.host-page__url{font-size:12px;color:#666;word-break:break-all;margin-bottom:12px}.host-page__session-hint{font-size:12px;color:#999;margin-top:8px}.host-page__options{background:#fff;border-radius:12px;box-shadow:0 4px 16px #0000001f;padding:24px}.host-page__options h2{font-size:18px;color:#333;margin-bottom:20px}.host-page__options-list{display:flex;flex-direction:column;gap:12px}.host-page__option-item{display:flex;gap:12px;align-items:center}.host-page__option-input{flex:1;padding:12px 16px;border:2px solid #e8e8e8;border-radius:8px;font-size:16px;transition:border-color .2s ease}.host-page__option-input:focus{outline:none;border-color:#1890ff}.host-page__option-input:disabled{background:#f5f5f5;cursor:not-allowed}.host-page__option-remove{display:inline-flex;align-items:center;justify-content:center;padding:12px 24px;border:none;border-radius:8px;font-size:16px;font-weight:500;cursor:pointer;transition:all .3s ease}.host-page__option-remove:disabled{opacity:.6;cursor:not-allowed}.host-page__option-remove{background:#ff4d4f;color:#fff}.host-page__option-remove:hover:not(:disabled){background:#cf1322;transform:translateY(-2px)}.host-page__option-remove{padding:10px 16px;font-size:14px}.host-page__add-option{display:inline-flex;align-items:center;justify-content:center;padding:12px 24px;border:none;border-radius:8px;font-size:16px;font-weight:500;cursor:pointer;transition:all .3s ease}.host-page__add-option:disabled{opacity:.6;cursor:not-allowed}.host-page__add-option{width:100%;margin-top:12px;background:#f5f5f5;color:#666;border:2px dashed #e8e8e8}.host-page__add-option:hover{background:#e8e8e8;border-color:#666}.host-page__controls{background:#fff;border-radius:12px;box-shadow:0 4px 16px #0000001f;padding:24px}.host-page__controls h2{font-size:18px;color:#333;margin-bottom:20px}.host-page__buttons{display:flex;flex-direction:column;gap:12px}.host-page__btn{display:inline-flex;align-items:center;justify-content:center;padding:12px 24px;border:none;border-radius:8px;font-size:16px;font-weight:500;cursor:pointer;transition:all .3s ease}.host-page__btn:disabled{opacity:.6;cursor:not-allowed}.host-page__btn{width:100%}.host-page__btn--primary{display:inline-flex;align-items:center;justify-content:center;padding:12px 24px;border:none;border-radius:8px;font-size:16px;font-weight:500;cursor:pointer;transition:all .3s ease}.host-page__btn--primary:disabled{opacity:.6;cursor:not-allowed}.host-page__btn--primary{background:#1890ff;color:#fff}.host-page__btn--primary:hover:not(:disabled){background:#096dd9;transform:translateY(-2px)}.host-page__btn--primary{width:100%}.host-page__btn--success{display:inline-flex;align-items:center;justify-content:center;padding:12px 24px;border:none;border-radius:8px;font-size:16px;font-weight:500;cursor:pointer;transition:all .3s ease}.host-page__btn--success:disabled{opacity:.6;cursor:not-allowed}.host-page__btn--success{background:#52c41a;color:#fff}.host-page__btn--success:hover:not(:disabled){background:#389e0d;transform:translateY(-2px)}.host-page__btn--success{width:100%}.host-page__btn--danger{display:inline-flex;align-items:center;justify-content:center;padding:12px 24px;border:none;border-radius:8px;font-size:16px;font-weight:500;cursor:pointer;transition:all .3s ease}.host-page__btn--danger:disabled{opacity:.6;cursor:not-allowed}.host-page__btn--danger{background:#ff4d4f;color:#fff}.host-page__btn--danger:hover:not(:disabled){background:#cf1322;transform:translateY(-2px)}.host-page__btn--danger{width:100%}.host-page__btn--refresh{background:#f5f5f5;color:#333;border:1px solid #e8e8e8;padding:8px 16px;font-size:14px}.host-page__btn--refresh:hover:not(:disabled){background:#e8e8e8}.host-page__results{background:#fff;border-radius:12px;box-shadow:0 4px 16px #0000001f;padding:24px}.host-page__results h2{font-size:18px;color:#333;margin-bottom:20px}.host-page__results-chart{display:flex;flex-direction:column;gap:16px}.host-page__result-item{display:flex;flex-direction:column;gap:8px}.host-page__result-label{display:flex;justify-content:space-between;font-size:14px;color:#333}.host-page__result-bar{height:24px;background:#f5f5f5;border-radius:12px;overflow:hidden}.host-page__result-fill{height:100%;background:linear-gradient(90deg,#1890ff,#69c0ff);border-radius:12px;transition:width .3s ease}.host-page__players-list{background:#fff;border-radius:12px;box-shadow:0 4px 16px #0000001f;padding:24px}.host-page__players-list h2{font-size:18px;color:#333;margin-bottom:20px}.host-page__players-grid{display:grid;grid-template-columns:repeat(6,1fr);gap:12px}.host-page__player-card{display:flex;flex-direction:column;align-items:center;padding:12px;background:#f5f5f5;border-radius:8px;border:2px solid transparent;transition:all .2s ease}.host-page__player-card--voted{background:#e6f7ff;border:3px solid #1890ff;box-shadow:0 0 8px #1890ff66}.host-page__player-card--eliminated{background:#fff1f0;border:2px solid #ff4d4f;opacity:.6}.host-page__player-name{font-size:14px;font-weight:500;color:#333;margin-bottom:4px}.host-page__player-vote{font-size:12px;color:#1890ff}.host-page__player-status{font-size:12px;color:#ff4d4f}.host-page__no-data{color:#999;font-size:14px;text-align:center;padding:20px}.host-page__history{background:#fff;border-radius:12px;box-shadow:0 4px 16px #0000001f;padding:24px}.host-page__history h2{font-size:18px;color:#333;margin-bottom:20px}.host-page__history-list{display:flex;flex-direction:column;gap:16px}.host-page__history-item{background:#f5f5f5;border-radius:8px;padding:16px;border-left:4px solid #1890ff}.host-page__history-header{display:flex;align-items:center;gap:12px;margin-bottom:12px;flex-wrap:wrap}.host-page__history-round{font-weight:600;color:#1890ff;font-size:16px}.host-page__history-tie{background:#fff7e6;color:#d46b08;padding:2px 8px;border-radius:4px;font-size:12px;border:1px solid #ffd591}.host-page__history-options{font-size:14px;color:#666}.host-page__history-details{display:flex;gap:24px;flex-wrap:wrap}.host-page__history-survivors,.host-page__history-eliminated{display:flex;align-items:flex-start;gap:8px}.host-page__history-label{font-size:14px;color:#666;white-space:nowrap}.host-page__history-names{font-size:14px;font-weight:500}.host-page__history-names--success{color:#52c41a}.host-page__history-names--danger{color:#ff4d4f}@media(max-width:1200px){.host-page__top-row{grid-template-columns:1fr 1fr}.host-page__right-column{grid-column:span 2;flex-direction:row}.host-page__controls,.host-page__results{flex:1}}@media(max-width:768px){.host-page__top-row{grid-template-columns:1fr}.host-page__right-column{grid-column:span 1;flex-direction:column}.host-page__players-grid{grid-template-columns:repeat(3,1fr)}.host-page__history-details{flex-direction:column;gap:8px}}.vote-page{min-height:100vh;background:linear-gradient(135deg,#667eea,#764ba2);padding:20px;display:flex;justify-content:center;align-items:center}.vote-page--eliminated{background:linear-gradient(135deg,#ff6b6b,#ee5a5a)}.vote-page__join{background:#fff;border-radius:12px;box-shadow:0 4px 16px #0000001f;padding:24px;width:100%;max-width:400px;text-align:center}.vote-page__title{font-size:24px;font-weight:700;color:#333;margin-bottom:30px}.vote-page__join-form{display:flex;flex-direction:column;gap:16px}.vote-page__input{padding:16px 20px;border:2px solid #e8e8e8;border-radius:8px;font-size:18px;text-align:center;transition:border-color .2s ease}.vote-page__input:focus{outline:none;border-color:#1890ff}.vote-page__input::placeholder{color:#999}.vote-page__btn{display:inline-flex;align-items:center;justify-content:center;padding:12px 24px;border:none;border-radius:8px;font-size:16px;font-weight:500;cursor:pointer;transition:all .3s ease}.vote-page__btn:disabled{opacity:.6;cursor:not-allowed}.vote-page__btn{width:100%;font-size:18px;padding:16px 24px}.vote-page__btn--primary{display:inline-flex;align-items:center;justify-content:center;padding:12px 24px;border:none;border-radius:8px;font-size:16px;font-weight:500;cursor:pointer;transition:all .3s ease}.vote-page__btn--primary:disabled{opacity:.6;cursor:not-allowed}.vote-page__btn--primary{background:#1890ff;color:#fff}.vote-page__btn--primary:hover:not(:disabled){background:#096dd9;transform:translateY(-2px)}.vote-page__btn--primary{width:100%;font-size:18px;padding:16px 24px}.vote-page__waiting{background:#fff;border-radius:12px;box-shadow:0 4px 16px #0000001f;padding:24px;width:100%;max-width:400px;text-align:center}.vote-page__player-info{display:flex;align-items:center;justify-content:center;gap:12px;padding:16px;background:#f5f5f5;border-radius:8px;margin-bottom:24px}.vote-page__player-avatar{font-size:24px}.vote-page__player-name{font-size:18px;font-weight:600;color:#333}.vote-page__round{padding:4px 12px;background:#1890ff;color:#fff;border-radius:12px;font-size:12px}.vote-page__waiting-content{padding:40px 20px}.vote-page__waiting-content p{color:#666;font-size:16px;margin-top:20px}.vote-page__loader{width:50px;height:50px;border:4px solid #e8e8e8;border-top-color:#1890ff;border-radius:50%;animation:spin 1s linear infinite;margin:0 auto}@keyframes spin{to{transform:rotate(360deg)}}.vote-page__voting{background:#fff;border-radius:12px;box-shadow:0 4px 16px #0000001f;padding:24px;width:100%;max-width:500px}.vote-page__options{text-align:center}.vote-page__options h2{font-size:20px;color:#333;margin-bottom:24px}.vote-page__options-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:16px}.vote-page__option-btn{padding:30px 20px;background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;border:none;border-radius:12px;font-size:20px;font-weight:600;cursor:pointer;transition:all .3s ease;box-shadow:0 4px 16px #0000001f}.vote-page__option-btn:hover{transform:scale(1.05);box-shadow:0 8px 24px #00000029}.vote-page__option-btn:active{transform:scale(.98)}.vote-page__voted{text-align:center;padding:20px}.vote-page__voted h2{font-size:20px;color:#333;margin-bottom:12px}.vote-page__voted p{color:#666;font-size:16px}.vote-page__voted p strong{color:#1890ff}.vote-page__voted-icon{width:80px;height:80px;background:linear-gradient(135deg,#52c41a,#73d13d);border-radius:50%;display:flex;justify-content:center;align-items:center;font-size:40px;color:#fff;margin:0 auto 20px;box-shadow:0 4px 16px #0000001f}.vote-page__result{margin-top:24px}.vote-page__result-badge{display:inline-block;padding:12px 24px;border-radius:24px;font-size:18px;font-weight:600}.vote-page__result-badge--success{background:linear-gradient(135deg,#52c41a,#73d13d);color:#fff}.vote-page__result-badge--fail{background:linear-gradient(135deg,#ff4d4f,#ff7875);color:#fff}.vote-page__status{background:#fff;border-radius:12px;box-shadow:0 4px 16px #0000001f;width:100%;max-width:400px;text-align:center;padding:40px}.vote-page__status h2{font-size:24px;color:#ff4d4f;margin-bottom:12px}.vote-page__status p{color:#666;font-size:16px}.vote-page__status-icon{font-size:80px;margin-bottom:20px}.vote-page__error{color:#ff4d4f;font-size:14px;text-align:center;margin:-8px 0 8px}.vote-page__modal-overlay{position:fixed;inset:0;background:#00000080;display:flex;justify-content:center;align-items:center;z-index:1000;animation:fadeIn .3s ease}.vote-page__modal{background:#fff;border-radius:12px;box-shadow:0 4px 16px #0000001f;text-align:center;padding:40px;max-width:320px;animation:slideUp .3s ease}.vote-page__modal h3{font-size:20px;color:#333;margin-bottom:12px}.vote-page__modal p{font-size:14px;color:#666}.vote-page__modal-icon{font-size:60px;margin-bottom:16px}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}@keyframes slideUp{0%{transform:translateY(20px);opacity:0}to{transform:translateY(0);opacity:1}}@media(max-width:480px){.vote-page{padding:16px}.vote-page__options-grid{grid-template-columns:1fr}.vote-page__option-btn{padding:24px 16px;font-size:18px}}.home-page{min-height:100vh;background:linear-gradient(135deg,#667eea,#764ba2);display:flex;justify-content:center;align-items:center;padding:20px}.home-page__container{background:#fff;border-radius:12px;box-shadow:0 4px 16px #0000001f;padding:24px;max-width:600px;width:100%;text-align:center}.home-page__title{font-size:32px;font-weight:700;color:#333;margin-bottom:16px;background:linear-gradient(135deg,#667eea,#764ba2);-webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text}.home-page__description{font-size:16px;color:#666;margin-bottom:32px;line-height:1.6}.home-page__buttons{display:flex;gap:16px;justify-content:center;margin-bottom:40px}.home-page__btn{display:inline-flex;align-items:center;justify-content:center;padding:12px 24px;border:none;border-radius:8px;font-size:16px;font-weight:500;cursor:pointer;transition:all .3s ease}.home-page__btn:disabled{opacity:.6;cursor:not-allowed}.home-page__btn{padding:16px 32px;font-size:18px;text-decoration:none;min-width:160px}.home-page__btn--primary{background:linear-gradient(135deg,#667eea,#764ba2);color:#fff}.home-page__btn--primary:hover{transform:translateY(-2px);box-shadow:0 8px 24px #00000029}.home-page__btn--secondary{background:#fff;color:#667eea;border:2px solid #667eea}.home-page__btn--secondary:hover{background:#667eea;color:#fff;transform:translateY(-2px)}.home-page__rules{text-align:left;padding:24px;background:#f5f5f5;border-radius:12px}.home-page__rules h2{font-size:18px;color:#333;margin-bottom:16px;text-align:center}.home-page__rules ol{padding-left:24px;margin:0}.home-page__rules ol li{font-size:14px;color:#666;line-height:2}.home-page__rules ol li::marker{color:#667eea;font-weight:600}@media(max-width:640px){.home-page__title{font-size:24px}.home-page__buttons{flex-direction:column}.home-page__btn{width:100%}}
