:root{color:#fff;background:#111113;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}*{box-sizing:border-box}body{margin:0;min-width:320px;min-height:100vh;background:#111113}button,input,textarea{font:inherit}.app-shell{min-height:100vh;background:radial-gradient(circle at 20% 0%,rgba(230,41,55,.36),transparent 36%),linear-gradient(180deg,#18181b,#0d0d0f);padding:24px}.rules-hero{max-width:980px;margin:0 auto}.eyebrow{color:#ff4a58;font-size:.78rem;font-weight:800;letter-spacing:.08em;text-transform:uppercase}h1{margin:0;font-size:clamp(2.25rem,8vw,5.5rem);line-height:.96}.hero-copy{max-width:560px;color:#f0f0f1;font-size:1.05rem;line-height:1.55}.brand-row,.hero-actions{display:flex;align-items:center;gap:12px}.brand-mark{width:34px;height:34px;border-radius:8px;display:grid;place-items:center;background:#e62937;color:#fff;font-weight:900}.rules-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:28px 0}.rule-card,.entry-panel,.resume-panel,.balance-card{border:1px solid rgba(255,255,255,.11);border-radius:8px;background:#ffffff12;padding:16px}.rule-icon{width:34px;height:34px;border-radius:8px;display:grid;place-items:center;background:#e62937}.rule-card h2{margin:12px 0 6px;font-size:1rem}.rule-card p{margin:0;color:#d7d7da;line-height:1.45}.hero-actions{flex-wrap:wrap}.resume-panel{max-width:560px;margin:-8px 0 18px;display:flex;align-items:center;justify-content:space-between;gap:14px}.resume-panel h2,.resume-panel p{margin:0}.resume-panel h2{margin-top:4px;font-size:1.1rem}.resume-panel p{color:#d7d7da;line-height:1.45}.resume-meta{display:flex;flex-wrap:wrap;gap:6px 12px}.primary-button,.secondary-button,.icon-button{min-height:44px;border:0;border-radius:7px;padding:0 16px;display:inline-flex;align-items:center;justify-content:center;gap:8px;cursor:pointer;font-weight:850}.primary-button{color:#fff;background:#e62937}.secondary-button{color:#fff;background:#ffffff1f}.icon-button{width:44px;padding:0;color:#fff;background:#ffffff1f}.danger-button{background:#e629372e}.primary-button:disabled,.secondary-button:disabled,.icon-button:disabled,input:disabled,textarea:disabled{cursor:not-allowed;opacity:.65}.entry-panel{display:grid;gap:12px;max-width:420px;margin-bottom:18px}.entry-heading,.entry-actions,.room-actions{display:flex;align-items:center;gap:10px}.entry-heading{justify-content:space-between}.entry-heading h2,.entry-heading p{margin:0}.entry-heading h2{font-size:1.1rem}.entry-heading p,.field-help{color:#d7d7da;font-size:.9rem;line-height:1.4}.entry-actions{justify-content:flex-end}.entry-actions .primary-button,.entry-actions .secondary-button{width:auto}label{display:grid;gap:7px;color:#f3f3f4;font-weight:750}input{min-height:44px;border:1px solid rgba(255,255,255,.18);border-radius:7px;background:#fff;color:#111113;padding:0 12px}.field-help{margin:-4px 0 0}.error{margin:0;color:#ff9ca4}.room-shell{max-width:980px;margin:0 auto;display:flex;align-items:start;justify-content:space-between;gap:18px}.room-title-block{min-width:0}.room-actions{flex-wrap:wrap;margin-top:18px}.room-actions .secondary-button{min-height:38px}.balance-card{min-width:190px;text-align:right}.balance-card span{display:block;color:#d7d7da}.balance-card strong{display:block;font-size:1.7rem}.balance-card small{color:#ffb8be;font-weight:750}.room-alert{margin-top:18px;display:flex;align-items:center;flex-wrap:wrap;gap:12px}.room-alert p{margin:0;color:#ff9ca4}.room-alert .secondary-button{min-height:36px}.dashboard-grid{max-width:1180px;margin:24px auto;display:grid;grid-template-columns:240px minmax(0,1fr) 300px;gap:16px;align-items:start}.side-panel,.market-panel,.ticket-panel,.creation-panel,.history-panel{border:1px solid rgba(255,255,255,.11);border-radius:8px;background:#ffffff12;padding:16px}.ticket-panel{position:sticky;top:18px}.creation-panel,.history-panel{max-width:1180px;margin:16px auto}.creation-panel,.ticket-form{display:grid;gap:12px}.panel-header,.bet-title-row,.leader-row,.ticket-choice,.history-row{display:flex;align-items:center;justify-content:space-between;gap:12px}.panel-header{margin-bottom:12px}.panel-header h2,.bet-title-row h3{margin:0}.panel-header h2{font-size:1.06rem}.panel-header span,.bet-title-row>span,.status-open,.status-closed{flex:none;border-radius:7px;padding:6px 8px;color:#fff;background:#e629372e;font-size:.75rem;font-weight:850;text-transform:uppercase}.panel-header p,.bet-title-row p{margin:5px 0 0}.leader-row,.history-row{padding:10px 0;border-top:1px solid rgba(255,255,255,.1)}.leader-row span,.history-row span,.ticket-choice span,.odd-button span,.bet-title-row h3{min-width:0;overflow-wrap:anywhere}.leader-row strong,.history-row strong,.ticket-choice strong{flex:none}.bet-card{border-radius:8px;background:#0000003d;padding:14px;margin-top:12px}.odds-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-top:12px}.odd-button{min-height:70px;border:1px solid transparent;border-radius:7px;display:grid;gap:4px;align-content:center;background:#f6f6f7;color:#111113;cursor:pointer;font-weight:800;padding:9px;text-align:left}.odd-button:hover:not(:disabled),.odd-button.is-selected{border-color:#ff4a58;box-shadow:0 0 0 2px #ff4a5838}.odd-button:disabled{cursor:not-allowed;opacity:.6}.odd-button strong{color:#e62937;font-size:1.18rem}.odd-button small{color:#4a4a50;font-size:.73rem;line-height:1.25}.bet-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px}.bet-actions .secondary-button{min-height:38px}.muted{color:#c8c8cc;line-height:1.45}.message{margin:12px 0 0;font-weight:800}.message.success{color:#9cffb3}.message.error{color:#ff9ca4}.potential{color:#fff;font-weight:850}.ticket-choice{border-radius:8px;background:#f6f6f7;color:#111113;padding:12px}.ticket-choice strong{color:#e62937;font-size:1.18rem}textarea{min-height:110px;border:1px solid rgba(255,255,255,.18);border-radius:7px;background:#fff;color:#111113;padding:12px;resize:vertical}@media(max-width:820px){.app-shell{padding:18px}.rules-grid{grid-template-columns:1fr}.hero-actions,.resume-panel,.room-shell{align-items:stretch;flex-direction:column}.primary-button,.secondary-button{width:100%}.entry-actions,.room-actions{align-items:stretch;flex-direction:column}.entry-actions .primary-button,.entry-actions .secondary-button{width:100%}.balance-card{text-align:left}}@media(max-width:1050px){.dashboard-grid{grid-template-columns:1fr}.ticket-panel{position:static}}@media(max-width:620px){.panel-header,.bet-title-row,.leader-row,.history-row{align-items:stretch;flex-direction:column}.odds-grid{grid-template-columns:1fr}}
