:root{font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;line-height:1.5;font-weight:400;color:#111827;background-color:#f3f4f6;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}a{color:inherit}a:hover{text-decoration:underline}*{box-sizing:border-box}body{margin:0}button{font-family:inherit}strong{font-weight:600}:root{color:#0b0b0f;background-color:#f3f4f6}#root{min-height:100vh}.app-shell{max-width:1100px;margin:0 auto;padding:2.5rem 1.5rem 4rem;display:flex;flex-direction:column;gap:2rem}.app-content{display:flex;flex-direction:column;gap:2rem;position:relative}.app-content.blurred{filter:blur(4px);pointer-events:none;-webkit-user-select:none;user-select:none}.intro-section{display:flex;flex-direction:column;gap:1rem}.app-header{text-align:center;position:relative;display:flex;flex-direction:column;gap:.75rem;align-items:center}.app-header h1{margin-bottom:.5rem;font-size:2.4rem}.app-subtitle{margin:0;color:#4b5563}.options-bar{display:flex;justify-content:flex-end;gap:.75rem;align-items:center;align-self:flex-end}.options-toggle,.options-reset{padding:.55rem 1.1rem;border:none;border-radius:.75rem;font-weight:600;cursor:pointer;transition:transform .15s ease,box-shadow .15s ease}.options-toggle{background:linear-gradient(135deg,#2563eb,#0ea5e9);color:#fff}.options-reset{background:#e5e7eb;color:#1f2937;box-shadow:none}.options-toggle:disabled,.options-reset:disabled{opacity:.7;cursor:not-allowed;transform:none;box-shadow:none}.options-toggle:not(:disabled):hover,.options-reset:not(:disabled):hover{transform:translateY(-1px);box-shadow:0 8px 18px #2563eb59}.options-reset:not(:disabled):hover{box-shadow:0 6px 14px #37415140}.leaderboard-card{background:#fff;border-radius:1.25rem;padding:1.75rem 1.5rem;box-shadow:0 12px 30px #0f172a14;display:flex;flex-direction:column;gap:1rem}.leaderboard-header h2{margin:0 0 .25rem;font-size:1.5rem}.leaderboard-header p{margin:0;color:#6b7280;font-size:.95rem}.leaderboard-status{margin:0;color:#4b5563;font-size:.95rem}.leaderboard-status.error{color:#b91c1c}.leaderboard-list{margin:0;padding:0;list-style:none;display:flex;flex-direction:column;gap:.75rem}.leaderboard-row{display:flex;gap:1rem;align-items:center;padding:.65rem .85rem;border-radius:.85rem;background:#0f172a0a;transition:transform .15s ease,box-shadow .15s ease}.leaderboard-row.current{background:#2563eb1f;box-shadow:0 10px 24px #2563eb2e}.leaderboard-row:hover{transform:translateY(-2px);box-shadow:0 10px 20px #0f172a1f}.leaderboard-rank{width:2rem;height:2rem;border-radius:999px;background:#1f2937;color:#fff;display:flex;align-items:center;justify-content:center;font-weight:700;font-size:1rem;flex-shrink:0}.leaderboard-row.current .leaderboard-rank{background:linear-gradient(135deg,#2563eb,#0ea5e9)}.leaderboard-player{display:flex;flex-direction:column;gap:.15rem}.leaderboard-player strong{font-size:1.05rem;color:#111827}.leaderboard-player span{color:#4b5563;font-size:.9rem}.modal-overlay{position:fixed;inset:0;display:flex;align-items:center;justify-content:center;background:#0f172a73;-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);z-index:1000;padding:1.5rem}.modal-dialog{background:#fff;border-radius:1.25rem;padding:2.25rem 2rem 2rem;max-width:440px;width:100%;box-shadow:0 20px 40px #0f172a40;position:relative;text-align:center}.modal-dialog h2{margin-top:0;margin-bottom:.75rem}.modal-dialog h3{margin:1.5rem 0 .5rem;font-size:1.1rem;color:#1f2937}.modal-dialog p{margin:0 0 1.5rem;color:#374151}.modal-intro{font-weight:500}.modal-section{text-align:left}.modal-section-text{margin-bottom:.75rem}.modal-list{margin:0 0 1.25rem;padding-left:1.25rem;color:#1f2937}.modal-list li{margin-bottom:.35rem;list-style:disc}.game-over-stats{list-style:none;padding:0;margin:1.5rem 0;display:flex;flex-direction:column;gap:.75rem;text-align:left}.game-over-stats li{display:flex;flex-direction:column;gap:.25rem;background:#0f172a0a;border-radius:.75rem;padding:.75rem 1rem}.stat-label{font-size:.85rem;color:#6b7280;text-transform:uppercase;letter-spacing:.08em}.stat-value{font-size:1.1rem;color:#1f2937}.stat-note{display:block;font-size:.7rem;color:#9ca3af}.modal-item-row{display:flex;align-items:center;justify-content:space-between;gap:.5rem}.modal-expedite-hint{margin-top:.4rem}.modal-close{position:absolute;top:.75rem;right:.75rem;border:none;background:transparent;font-size:1.5rem;cursor:pointer;color:#6b7280}.modal-close:hover{color:#111827}.modal-primary{padding:.75rem 1.6rem;border-radius:.75rem;border:none;font-weight:600;cursor:pointer;background:linear-gradient(135deg,#2563eb,#0ea5e9);color:#fff;transition:transform .15s ease,box-shadow .15s ease}.modal-primary:hover{transform:translateY(-1px);box-shadow:0 8px 18px #2563eb59}.error-banner{background:#fee2e2;border:1px solid #fca5a5;color:#b91c1c;padding:.75rem 1rem;border-radius:.75rem;text-align:center}.start-panel,.dashboard{background:#fff;border-radius:1.25rem;padding:2rem;box-shadow:0 12px 30px #0f172a14}.budget-panel{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:1rem;background:#101223;color:#f8fafc;border-radius:1.25rem;padding:1.5rem;box-shadow:0 16px 34px #0f172a33}.budget-item{display:flex;flex-direction:column;gap:.35rem}.budget-label{margin:0;font-size:.9rem;text-transform:uppercase;letter-spacing:.08em;color:#f8fafcb3}.budget-value{margin:0;font-size:1.4rem;font-weight:700;letter-spacing:.03em}.budget-value.spent{color:#facc15}.budget-over{color:#f87171}.budget-subtext{margin:0;font-size:.8rem;color:#f8fafc99}.start-panel h2{margin-top:0}.welcome-hero{display:flex;flex-direction:column;gap:1.5rem;align-items:center;margin-bottom:2rem}.welcome-illustration{width:min(320px,100%);border-radius:1rem;box-shadow:0 18px 32px #0f172a40}.welcome-copy{display:flex;flex-direction:column;gap:.85rem;text-align:left}.welcome-copy h2{font-size:1.8rem;margin-bottom:.25rem;text-align:left}.welcome-note{font-style:italic;color:#1d4ed8;font-weight:600}.start-form{display:flex;flex-direction:column;gap:.75rem;margin-top:1rem}.start-form input{padding:.75rem 1rem;border-radius:.75rem;border:1px solid #d1d5db;font-size:1rem}.start-form button,.dashboard-actions button{padding:.85rem 1.2rem;border:none;border-radius:.75rem;font-weight:600;cursor:pointer;background:linear-gradient(135deg,#2563eb,#0ea5e9);color:#fff;transition:transform .15s ease,box-shadow .15s ease}.start-form button:disabled,.dashboard-actions button:disabled{cursor:not-allowed;opacity:.7;transform:none;box-shadow:none}.start-form button:not(:disabled):hover,.dashboard-actions button:not(:disabled):hover{transform:translateY(-1px);box-shadow:0 8px 18px #2563eb59}@media (min-width: 768px){.welcome-hero{flex-direction:row;align-items:flex-start}.welcome-copy{max-width:420px}.welcome-illustration{flex-shrink:0}}.dashboard-actions{display:flex;gap:.75rem;flex-wrap:wrap;justify-content:flex-end}.dashboard-actions .secondary{background:#e5e7eb;color:#1f2937;box-shadow:none}.dashboard-header{display:flex;flex-wrap:wrap;justify-content:space-between;gap:1rem;align-items:center;margin-bottom:1.5rem}.player-label,.day-label{margin:0;font-size:1.05rem}.loading-indicator{margin:0 0 1rem;color:#6b7280}.stages-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:1.25rem}.stage-card{border:2px solid #e5e7eb;border-radius:1rem;padding:1.25rem;background:linear-gradient(145deg,#f9fafb,#fff);min-height:200px;display:flex;flex-direction:column;gap:.5rem;box-shadow:inset 0 1px #fffc}.stage-card h3{margin:0}.team-label{margin:0;color:#6b7280;font-size:.95rem;display:flex;justify-content:space-between;align-items:center;gap:.5rem;flex-wrap:wrap}.team-capacity{color:#1f2937;font-weight:600}.team-actions{display:flex;gap:.5rem;flex-wrap:wrap;margin-bottom:.75rem}.team-action{padding:.45rem .95rem;border-radius:.65rem;border:none;font-weight:600;cursor:pointer;background:linear-gradient(135deg,#2563eb,#0ea5e9);color:#fff;transition:transform .15s ease,box-shadow .15s ease}.team-action.secondary{background:#e5e7eb;color:#1f2937;box-shadow:none}.team-action:disabled{opacity:.65;cursor:not-allowed;transform:none;box-shadow:none}.team-action:not(:disabled):hover{transform:translateY(-1px);box-shadow:0 6px 14px #2563eb47}.queue-list{list-style:none;padding:0;margin:0;display:flex;flex-direction:column;gap:.5rem}.queue-list li{padding:.45rem .65rem;border-radius:.65rem;background:#e5e7eb;color:#4b5563}.stage-card ul,.queue-list{list-style:none;padding:0;margin:0;display:flex;flex-direction:column;gap:.65rem}.item-card{display:flex;flex-direction:column;gap:.35rem;padding:.65rem .75rem;border-radius:.75rem;background:#3b82f614;transition:transform .35s ease,box-shadow .35s ease,background-color .35s ease}.item-card-enter{animation:item-slide-in .4s ease}@keyframes item-slide-in{0%{opacity:0;transform:translate(-18px) scale(.98)}to{opacity:1;transform:translate(0) scale(1)}}.item-card:hover{transform:translateY(-2px);box-shadow:0 10px 20px #2563eb26;background:#3b82f61f}.queue-card{display:flex;flex-direction:column;gap:.4rem;padding:.55rem .65rem;border-radius:.65rem;background:#e5e7eb;color:#4b5563}.item-header{display:flex;align-items:center;justify-content:space-between;gap:.5rem}.item-actions{display:inline-flex;align-items:center;gap:.35rem}.expedite-button{border:none;background:linear-gradient(135deg,#f59e0b,#fb923c);color:#fff;font-size:.75rem;font-weight:600;padding:.35rem .7rem;border-radius:.5rem;cursor:pointer;transition:transform .15s ease,box-shadow .15s ease}.expedite-button:disabled{opacity:.7;cursor:not-allowed;transform:none;box-shadow:none}.expedite-button:not(:disabled):hover{transform:translateY(-1px);box-shadow:0 6px 14px #fb923c59}.expedite-info{border:1px solid rgba(17,24,39,.2);background:#fff;color:#111827;width:1.4rem;height:1.4rem;border-radius:999px;font-weight:700;cursor:pointer;padding:0;line-height:1.2rem}.expedite-info:hover{background:#f3f4f6}.item-name{font-weight:600}.item-days{color:#374151;font-size:.9rem;display:inline-flex;align-items:center;gap:.35rem}.info-badge{border:1px solid rgba(17,24,39,.25);background:#fff;color:#111827;width:1.25rem;height:1.25rem;border-radius:999px;font-size:.75rem;font-weight:700;padding:0;line-height:1.1rem;cursor:pointer;transition:background .15s ease,box-shadow .15s ease,transform .15s ease}.info-badge:hover{background:#f3f4f6;transform:translateY(-1px);box-shadow:0 4px 10px #0f172a26}.info-popover{margin-top:.75rem;background:#3b82f614;color:#1f2937;border:1px solid rgba(37,99,235,.15);border-radius:.75rem;padding:.65rem .75rem;font-size:.85rem;line-height:1.3}.expedite-hint{margin:0;font-size:.8rem;color:#1f2937;background:#3b82f61f;padding:.45rem .55rem;border-radius:.5rem}.expedite-unavailable{font-size:.75rem;color:#6b7280}.queue-section{margin-top:auto;padding-top:.75rem;border-top:1px solid #e5e7eb}.queue-title{margin:0 0 .5rem;font-size:.85rem;text-transform:uppercase;letter-spacing:.08em;color:#9ca3af}.empty-state{color:#9ca3af;margin:auto 0}.dashboard-footer{margin-top:1.5rem;text-align:right;color:#111827;font-size:1.05rem}.options-panel{background:#fff;border-radius:1.25rem;padding:2rem;box-shadow:0 12px 30px #0f172a14;max-width:640px;margin:0 auto;display:flex;flex-direction:column;gap:1.5rem}.options-subtitle{margin:0;color:#4b5563}.options-form{display:flex;flex-direction:column;gap:1.5rem}.options-frequency{border:1px solid #e5e7eb;border-radius:1rem;padding:1rem 1.25rem;display:flex;flex-direction:column;gap:.75rem}.frequency-choice{display:flex;gap:.75rem;align-items:flex-start;color:#1f2937}.frequency-choice input{margin-top:.35rem}.frequency-description{display:block;color:#6b7280;font-size:.9rem;font-weight:400}.options-count{display:flex;flex-direction:column;gap:.5rem;font-weight:600;color:#1f2937}.options-count input{width:160px;padding:.6rem .75rem;border:1px solid #d1d5db;border-radius:.65rem;font-size:1rem}.options-actions{display:flex;justify-content:flex-end;gap:.75rem}.options-actions button{padding:.75rem 1.4rem;border-radius:.75rem;border:none;font-weight:600;cursor:pointer;background:linear-gradient(135deg,#2563eb,#0ea5e9);color:#fff;transition:transform .15s ease,box-shadow .15s ease}.options-actions button.secondary{background:#e5e7eb;color:#1f2937}.options-actions button:disabled{opacity:.65;cursor:not-allowed;transform:none;box-shadow:none}.options-actions button:not(:disabled):hover{transform:translateY(-1px);box-shadow:0 6px 14px #2563eb47}@media (min-width: 768px){.options-bar{align-self:flex-end}}@media (max-width: 640px){.app-shell{padding:2rem 1rem 3rem}.options-bar{width:100%;flex-direction:column;align-items:stretch;gap:.65rem}.options-bar button{width:100%}.dashboard-actions{justify-content:stretch}.dashboard-actions button{flex:1}}
