:root{--tg-theme-bg-color: #ffffff;--tg-theme-text-color: #111111;--tg-theme-hint-color: #707579;--tg-theme-link-color: #3390ec;--tg-theme-button-color: #3390ec;--tg-theme-button-text-color: #ffffff;--tg-theme-secondary-bg-color: #f4f4f5;--tg-theme-header-bg-color: #ffffff;--tg-theme-destructive-text-color: #e53935;--accent-warm: #ff6b6b;--accent-gold: #ffd43b;--radius-lg: 20px;--radius-md: 14px;--radius-sm: 10px;color-scheme:light dark}*{box-sizing:border-box}html,body,#root{height:100%}body{margin:0;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,sans-serif;background:var(--tg-theme-bg-color);color:var(--tg-theme-text-color);-webkit-tap-highlight-color:transparent}button,input,textarea{font-family:inherit}.app-shell{min-height:100vh;min-height:100dvh;display:flex;flex-direction:column;padding:20px 16px calc(20px + env(safe-area-inset-bottom));max-width:480px;margin:0 auto;width:100%}.dev-banner{position:sticky;top:0;z-index:50;background:#f59f00;color:#111;font-size:12px;font-weight:600;text-align:center;padding:4px 8px;border-radius:var(--radius-sm);margin-bottom:8px}.screen{display:flex;flex-direction:column;flex:1;gap:16px;animation:fade-in .25s ease}@keyframes fade-in{0%{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}.title{font-size:24px;font-weight:700;margin:0;line-height:1.25}.subtitle{font-size:15px;color:var(--tg-theme-hint-color);margin:0;line-height:1.4}.field{display:flex;flex-direction:column;gap:6px}.field label{font-size:13px;font-weight:600;color:var(--tg-theme-hint-color)}.text-input{width:100%;padding:14px 16px;border-radius:var(--radius-md);border:1.5px solid rgba(127,127,127,.25);background:var(--tg-theme-secondary-bg-color);color:var(--tg-theme-text-color);font-size:16px;outline:none;transition:border-color .15s ease}.text-input:focus{border-color:var(--tg-theme-button-color)}.text-input.has-error{border-color:var(--tg-theme-destructive-text-color)}.field-error{font-size:12px;color:var(--tg-theme-destructive-text-color)}.consent-row{display:flex;align-items:flex-start;gap:10px;padding:4px 2px}.consent-row input[type=checkbox]{width:20px;height:20px;flex-shrink:0;accent-color:var(--tg-theme-button-color);margin-top:1px}.consent-row label{font-size:13px;line-height:1.4;color:var(--tg-theme-text-color)}.consent-row .required{color:var(--tg-theme-destructive-text-color)}.primary-button{width:100%;padding:15px 20px;border-radius:var(--radius-md);border:none;background:var(--tg-theme-button-color);color:var(--tg-theme-button-text-color);font-size:16px;font-weight:700;cursor:pointer;transition:transform .1s ease,opacity .15s ease;box-shadow:0 6px 18px #3390ec40}.primary-button:disabled{opacity:.45;cursor:not-allowed;box-shadow:none}.primary-button:not(:disabled):active{transform:scale(.98)}.secondary-button{width:100%;padding:13px 20px;border-radius:var(--radius-md);border:1.5px solid rgba(127,127,127,.3);background:transparent;color:var(--tg-theme-text-color);font-size:15px;font-weight:600;cursor:pointer}.secondary-button:not(:disabled):active{transform:scale(.98)}.text-link-button{border:none;background:none;color:var(--tg-theme-link-color);font-size:14px;font-weight:600;cursor:pointer;padding:8px 0}.center-column{display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;flex:1;gap:14px}.spinner{width:32px;height:32px;border-radius:50%;border:3px solid rgba(127,127,127,.25);border-top-color:var(--tg-theme-button-color);animation:spin .8s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.alert-error{background:#e539351a;color:var(--tg-theme-destructive-text-color);padding:10px 14px;border-radius:var(--radius-sm);font-size:13.5px;line-height:1.4}.alert-success{background:#69db7c26;color:#2f9e44;padding:10px 14px;border-radius:var(--radius-sm);font-size:13.5px;line-height:1.4}.result-emoji{font-size:48px;line-height:1}.result-prize-card{width:100%;padding:20px;border-radius:var(--radius-lg);background:var(--tg-theme-secondary-bg-color);text-align:center}.result-prize-label{font-size:22px;font-weight:800}.footer-note{font-size:12.5px;color:var(--tg-theme-hint-color);text-align:center;line-height:1.4}.feedback-textarea{width:100%;min-height:140px;padding:14px 16px;border-radius:var(--radius-md);border:1.5px solid rgba(127,127,127,.25);background:var(--tg-theme-secondary-bg-color);color:var(--tg-theme-text-color);font-size:15px;resize:vertical;outline:none}.feedback-textarea:focus{border-color:var(--tg-theme-button-color)}.char-count{font-size:11.5px;color:var(--tg-theme-hint-color);text-align:right}.top-actions{display:flex;justify-content:flex-end}.wheel-screen{align-items:center;justify-content:center}.wheel-wrap{position:relative;width:min(88vw,320px);height:min(88vw,320px);margin:12px auto 0;-webkit-user-select:none;user-select:none;touch-action:manipulation}.wheel-svg{display:block;width:100%;height:100%;will-change:transform}.wheel-idle{animation:wheel-idle-spin 22s linear infinite}@keyframes wheel-idle-spin{to{transform:rotate(360deg)}}.wheel-legend{list-style:none;margin:10px 0 0;padding:12px 14px;border-radius:var(--radius-md);background:var(--tg-theme-secondary-bg-color);display:flex;flex-direction:column;gap:7px}.wheel-legend li{display:flex;align-items:baseline;gap:8px;font-size:12.5px;line-height:1.35;color:var(--tg-theme-text-color)}.wheel-legend-number{flex-shrink:0;width:18px;height:18px;border-radius:50%;background:var(--tg-theme-button-color);color:var(--tg-theme-button-text-color);font-size:10.5px;font-weight:700;display:flex;align-items:center;justify-content:center}.wheel-pointer{position:absolute;top:-6px;left:50%;transform:translate(-50%);width:0;height:0;border-left:14px solid transparent;border-right:14px solid transparent;border-top:26px solid #e64980;filter:drop-shadow(0 3px 3px rgba(0,0,0,.35));z-index:2}.wheel-hint{font-size:13px;color:var(--tg-theme-hint-color);text-align:center}.icon-button{border:none;background:var(--tg-theme-secondary-bg-color);color:var(--tg-theme-text-color);border-radius:999px;width:40px;height:40px;font-size:18px;display:flex;align-items:center;justify-content:center;cursor:pointer}
