/* Quick Copy: a clear provider rail, one primary action, and a readable output area. */
:root { color-scheme: dark; --bg: #0b0f17; --text: #edf3fc; --muted: #98abc3; --blue: #a7c9fa; --border: #2c3a4e; --panel: #151e2c; }
* { box-sizing: border-box; }
body { margin: 0; background: radial-gradient(ellipse at 85% 5%, #293c561c, transparent 45%), var(--bg); color: var(--text); line-height: 1.5; }
a { color: inherit; text-decoration: none; }
.shell .hero { display: grid; grid-template-columns: minmax(0, 1fr) 210px; grid-template-areas: 'intro artwork' 'providers providers'; align-items: center; gap: 22px 42px; padding: 38px 0 26px; }
.hero > div:first-child { grid-area: intro; }
.hero .eyebrow, .results-heading .eyebrow { margin: 0 0 13px; color: #8eafd9; font-size: 10px; font-weight: 600; letter-spacing: .15em; }
.hero h1 { margin: 0; font-size: clamp(36px, 4.3vw, 54px); line-height: 1.08; letter-spacing: -.05em; font-weight: 600; }
.hero h1 em { font-style: normal; color: #accbf4; }
.hero .intro { margin: 19px 0 0; color: #97abc5; font-size: 14px; line-height: 1.8; }
.shell .hero-side { display: contents; }
.hero-art { grid-area: artwork; justify-self: end; position: relative; width: 194px; padding: 0 5px; }
.hero-art::before { content: ''; position: absolute; inset: 22px -5px; background: #528ad015; filter: blur(34px); border-radius: 50%; z-index: -1; }
.hero-art svg { display: block; width: 100%; filter: drop-shadow(0 16px 23px #0003); }
.hero-art span { display: block; margin-top: 6px; color: #8097b9; text-align: center; font-size: 9px; letter-spacing: .16em; }
.shell .provider-switch { grid-area: providers; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 5px; width: 100%; margin-top: 3px; padding: 5px; border: 1px solid #2d3a4e; border-radius: 12px; background: #0f1723; box-shadow: inset 0 1px #d6e7ff08; }
.shell .provider-tab { position: relative; display: block; min-height: 44px; min-width: 0; padding: 10px 16px; appearance: none; border: 1px solid transparent; border-radius: 8px; background: transparent; color: #95a9c5; font: 500 13px var(--font-family, 'DM Sans', sans-serif); letter-spacing: 0; cursor: pointer; transition: background .16s, border-color .16s, color .16s; }
.provider-tab:hover { background: #1b283b; color: #e0ecfc; }
.shell .provider-tab.active, .shell .provider-tab[aria-selected='true'] { color: #e2eeff; border-color: #4a6287; background: linear-gradient(180deg, #4c6e99, #2f4c71 48%, #263f5f 50%, #213652); box-shadow: inset 0 1px #dbeaff55, 0 3px 9px #0003; }
.provider-tab:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
.input-card { padding: 28px 30px; border: 1px solid #36455c; border-radius: 18px; background: radial-gradient(ellipse at 0 0, #a5c9f61a, transparent 68%), linear-gradient(135deg, #29405f, #14243a 80%); box-shadow: inset 0 1px #e1edff40, inset 0 -1px #06142777, 0 16px 45px #0003; }
.card-heading { display: flex; align-items: center; gap: 14px; margin-bottom: 24px; }
.step { display: grid; place-items: center; flex: none; width: 36px; height: 36px; border: 1px solid #435d81; border-radius: 10px; background: radial-gradient(ellipse at 20% 0, #d7efff35, transparent 70%), linear-gradient(145deg, #486b95, #263f61); box-shadow: inset 0 1px #d0e5ff55, 0 3px 9px #0002; font-size: 11px; color: #b8d3f8; }
.card-heading h2, .results-heading h2 { margin: 0; font-size: 23px; letter-spacing: -.035em; font-weight: 600; }
.card-heading p { margin: 5px 0 0; color: #97abc5; font-size: 12px; line-height: 1.65; }
.window { flex: none; margin-left: auto; padding: 7px 10px; border: 1px solid #354860; border-radius: 7px; background: #152438; color: #a6c2e6; font-size: 10px; letter-spacing: .05em; white-space: nowrap; }
.input-card label { display: block; margin-bottom: 9px; color: #a2b5cf; font-size: 11px; font-weight: 500; letter-spacing: .07em; }
.input-row { display: flex; align-items: stretch; gap: 12px; }
#quick-league-presets { display:flex; flex-wrap:wrap; gap:8px; margin:12px 0 4px; }
#quick-league-presets .chip { min-height:38px; min-width:64px; padding:8px 17px; border:1px solid #38516e; border-radius:10px; color:#c4daf8; font:inherit; font-size:13px; font-weight:600; cursor:pointer; background:linear-gradient(180deg,#23364f,#132136); box-shadow:inset 0 1px 0 #aacfff18; transition:border-color .15s,background .15s; }
#quick-league-presets .chip:hover { border-color:#80a8db; background:linear-gradient(180deg,#2c4769,#192d46); }
#quick-league-presets .chip:focus-visible { outline:2px solid #98beff; outline-offset:3px; }
.input-card input { min-width: 0; flex: 1; height: 52px; border: 1px solid #3c506d; border-radius: 10px; background: #0c1522; padding: 0 15px; color: #dce9fa; font: 13px var(--font-family, 'DM Sans', sans-serif); box-shadow: inset 0 2px 5px #0002; }
.input-card input::placeholder { color: #758ba9; }
.input-card input:focus { outline: 2px solid #8bb7f4; outline-offset: 2px; }
button { font-family: var(--font-family, 'DM Sans', sans-serif); cursor: pointer; }
button:focus-visible, a:focus-visible { outline: 2px solid var(--blue); outline-offset: 4px; }
.shell .primary { display: flex; align-items: center; justify-content: center; gap: 12px; min-height: 46px; padding: 14px 24px; border: 1px solid #bad2f6; border-radius: 10px; background: linear-gradient(180deg, #d9e9ff, #afcffb 48%, #9ec2f3 50%, #85afe7); color: #14243f; font-size: 13px; font-weight: 600; white-space: nowrap; box-shadow: inset 0 1px #ffffffbb, inset 0 -1px #375b8d55, 0 5px 18px #497cc329; transition: background .16s, border-color .16s; }
.shell .primary:hover:not(:disabled) { background: linear-gradient(180deg, #edf5ff, #c5deff 48%, #b4d3fa 50%, #9ac0ee); }
.primary:disabled { opacity: .55; cursor: wait; }
.input-footer { display: flex; justify-content: space-between; align-items: center; gap: 15px; margin-top: 14px; }
.input-footer p { margin: 0; color: #91a5c0; font-size: 11px; line-height: 1.7; }
.input-footer strong { color: #b1c7e5; font-weight: 500; }
.speed { flex: none; color: #89b9b0; font-size: 11px; white-space: nowrap; }
.status { margin: 18px 0 0; color: #bad3f6; font-size: 12px; line-height: 1.7; }
.error { margin: 18px 0 0; padding: 12px 14px; border: 1px solid #6c444d; border-radius: 9px; background: #39262a44; color: #efb7bb; font-size: 12px; line-height: 1.7; }
.results { margin-top: 36px; }
.results-heading { display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.results-heading .eyebrow { margin-bottom: 10px; }
.results-heading p:last-child { color: #97abc5; font-size: 12px; line-height: 1.7; margin: 7px 0 0; }
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin: 22px 0; }
.stats > div { min-width: 0; padding: 19px 20px; border: 1px solid #2e3d52; border-radius: 12px; background: radial-gradient(ellipse at 0 0, #9abfea12, transparent 75%), linear-gradient(145deg, #263c57, #16273d); box-shadow: inset 0 1px #d2e4ff30, 0 7px 20px #0002; }
.stats span { display: block; margin-bottom: 9px; color: #8fa6c6; font-size: 10px; letter-spacing: .08em; }
.stats strong { color: #e7effc; font-size: 25px; font-weight: 500; letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.stats > div:last-child strong { font-size: 22px; }
.coverage { padding: 15px 18px; border: 1px solid #645034; border-radius: 10px; background: #28211666; color: #d8bb8a; font-size: 12px; line-height: 1.7; }
#copy-text { display: block; width: 100%; min-height: 400px; height: 520px; resize: vertical; border: 1px solid #35445c; border-radius: 14px; background: #0c1421; color: #bdcee7; padding: 24px; font: 12px/1.9 Consolas, 'Courier New', monospace; tab-size: 2; box-shadow: inset 0 1px #deedff22, inset 0 4px 12px #0002; scrollbar-width: thin; scrollbar-color: #405777 transparent; }
#copy-text:focus { outline: 2px solid #8bb7f4; outline-offset: 2px; }
.copy-status { min-height: 20px; margin: 10px 0 0; color: #9ad6be; font-size: 12px; }
.footnote { color: #859cb9; font-size: 11px; line-height: 1.75; margin: 8px 0; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
[hidden] { display: none !important; }
@media (max-width: 760px) {
  .shell .hero { grid-template-columns: 1fr; grid-template-areas: 'intro' 'providers'; gap: 24px; padding: 30px 0 23px; }
  .hero h1 { font-size: 40px; }
  .hero .intro { font-size: 13px; }
  .hero-art { display: none; }
  .shell .provider-switch { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 3px; padding: 4px; }
  .shell .provider-tab { padding: 10px 4px; min-height: 44px; font-size: 11px; }
  .input-card { padding: 23px 21px; }
  .card-heading { align-items: flex-start; gap: 12px; }
  .window { display: none; }
  .card-heading h2, .results-heading h2 { font-size: 21px; }
  .input-row { flex-direction: column; }
  .input-card input { flex: auto; width: 100%; font-size: 13px; }
  .input-footer { flex-direction: column; align-items: flex-start; gap: 8px; }
  .results-heading { flex-direction: column; align-items: flex-start; }
  .results-heading .primary { width: 100%; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stats > div { padding: 17px; }
  #copy-text { padding: 17px; font-size: 11px; min-height: 350px; }
}
@media (max-width: 380px) {
  .shell .provider-switch { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .shell .provider-tab { font-size: 12px; }
  .card-heading .step { width: 30px; height: 30px; }
  .input-card { padding: 20px 18px; }
}
@media (prefers-reduced-motion: reduce) {
  .shell .primary, .shell .provider-tab { transition: none; }
}
