:root {
  --ink: #f3f5f8;
  --muted: #9299a6;
  --paper: #0d1016;
  --white: #171c25;
  --green: #111827;
  --team-primary: #f3f4f6;
  --team-secondary: #8b929e;
  --team-tertiary: #b9bdc4;
  --team-on-primary: #0b0f15;
  --team-on-secondary: #0b0f15;
  --green-2: var(--team-primary);
  --lime: var(--team-secondary);
  --gold: var(--team-tertiary);
  --line: #2a313d;
  --shadow: 0 14px 40px rgba(0, 0, 0, .32);
}
* { box-sizing: border-box; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: "DM Sans", sans-serif; }
button, input, select { font: inherit; }
button { cursor: pointer; }
.topbar { height: 72px; padding: 0 32px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; background: #090c11; color: white; border-bottom: 1px solid rgba(255,255,255,.1); }
.brand { color: white; text-decoration: none; display: flex; align-items: center; gap: 11px; font: 800 20px "Barlow Condensed"; letter-spacing: 1.5px; }
.brand-mark { display: grid; place-items: center; width: 34px; height: 34px; border: 2px solid var(--lime); color: var(--lime); transform: skew(-7deg); font-size: 16px; }
.game-switch { background: #161c25; border-radius: 8px; padding: 4px; display: flex; }
.game-tab { border: 0; color: #aeb6b2; background: transparent; padding: 10px 18px; border-radius: 6px; font-weight: 700; font-size: 13px; }
.game-tab.active { background: #303b4b; color: white; }
.save-button { justify-self: end; border: 1px solid var(--lime); color: var(--lime); background: transparent; border-radius: 6px; padding: 10px 18px; font-weight: 700; }
.save-button:hover { background: var(--lime); color: var(--ink); }
.top-actions { justify-self: end; display: flex; align-items: center; gap: 9px; }
.theme-button { height: 39px; display: flex; align-items: center; gap: 8px; border: 1px solid #333d4d; color: #dbe2ec; background: #161c25; border-radius: 6px; padding: 0 12px; font-size: 11px; font-weight: 800; }
.theme-dot { width: 15px; height: 15px; flex: 0 0 auto; border: 1px solid rgba(255,255,255,.45); border-radius: 50%; background: linear-gradient(135deg, var(--team-primary) 0 50%, var(--team-secondary) 50%); }
.account-button { height: 39px; display: flex; align-items: center; gap: 8px; border: 1px solid #333d4d; color: #dbe2ec; background: #161c25; border-radius: 6px; padding: 0 12px; font-size: 11px; font-weight: 800; }
.account-button.signed-in { border-color: color-mix(in srgb, var(--team-primary) 45%, #333d4d); }
.account-dot { width: 8px; height: 8px; border-radius: 50%; background: #697385; box-shadow: 0 0 0 3px rgba(105,115,133,.15); }
.account-button.signed-in .account-dot { background: var(--team-primary); box-shadow: 0 0 0 3px color-mix(in srgb, var(--team-primary) 18%, transparent); }
.hero { min-height: 250px; padding: 42px max(32px, calc((100vw - 1500px)/2)); display: flex; justify-content: space-between; align-items: end; gap: 60px; color: white; background-color: #101620; background-image: radial-gradient(circle at 78% 20%, rgba(62,105,194,.28), transparent 34%), linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px); background-size: auto, 100% 32px; }
.eyebrow { margin: 0 0 7px; color: var(--gold); font: 700 12px "DM Sans"; letter-spacing: 2px; }
h1, h2 { font-family: "Barlow Condensed"; text-transform: uppercase; margin: 0; }
h1 { max-width: 720px; font-size: clamp(44px, 5vw, 72px); line-height: .9; letter-spacing: -.5px; }
h1 span { color: var(--lime); }
.hero-copy { color: #c5d0cb; max-width: 610px; margin: 19px 0 0; }
.scoreboard { width: min(690px, 49vw); display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.score-card { background: rgba(4,14,11,.3); border: 1px solid rgba(255,255,255,.12); padding: 17px; border-radius: 8px; }
.score-head { display: flex; justify-content: space-between; align-items: baseline; font: 700 12px "DM Sans"; letter-spacing: 1px; }
.score-head strong { font: 800 28px "Barlow Condensed"; color: var(--lime); }
.score-head em { font-style: normal; color: #87968f; font-size: 17px; }
.meter { height: 5px; margin: 10px 0 8px; background: rgba(255,255,255,.12); overflow: hidden; }
.meter span { display: block; height: 100%; width: 0; background: var(--lime); transition: width .3s; }
.meter.gold span { background: var(--gold); }
.meter.blue span { background: var(--green-2); }
.score-card small { color: #91a099; font-size: 11px; }
.playbook-manager { max-width: 1600px; margin: auto; min-height: 88px; padding: 15px 28px; display: grid; grid-template-columns: minmax(210px,1fr) minmax(240px,360px) auto; align-items: center; gap: 18px; background: #10151d; border-bottom: 1px solid var(--line); }
.playbook-manager-copy strong, .playbook-manager-copy small { display: block; }
.playbook-manager-copy strong { font: 800 22px "Barlow Condensed"; text-transform: uppercase; }
.playbook-manager-copy small { margin-top: 2px; color: var(--muted); font-size: 10px; }
.playbook-picker { display: grid; gap: 5px; }
.playbook-picker span { color: var(--muted); font-size: 8px; font-weight: 800; letter-spacing: 1.2px; }
.playbook-picker select { min-height: 38px; }
.playbook-manager-actions { display: flex; gap: 7px; }
.playbook-manager-actions button, .playbook-dialog-actions button { min-height: 38px; padding: 0 13px; border: 1px solid #3a4557; border-radius: 6px; color: #dce3ec; background: #1a212c; font-size: 11px; font-weight: 800; }
.playbook-manager-actions .primary, .playbook-dialog-actions .primary { border-color: var(--team-primary); color: var(--team-on-primary); background: var(--team-primary); }
.playbook-manager-actions .danger { color: #e89a9a; }
.workspace { max-width: 1600px; min-height: calc(100vh - 410px); margin: auto; display: grid; grid-template-columns: 210px minmax(520px, 1fr) 300px; }
.filters, .book-panel { background: #121720; padding: 28px 22px; }
.filters { border-right: 1px solid var(--line); }
.book-panel { border-left: 1px solid var(--line); background: #11161e; position: relative; }
.aside-heading { display: flex; justify-content: space-between; font-size: 11px; font-weight: 800; letter-spacing: 1.3px; }
.aside-heading button { border: 0; color: var(--green-2); background: transparent; font-size: 11px; font-weight: 700; }
.family-list { display: grid; gap: 6px; margin-top: 18px; }
.family-button { display: flex; justify-content: space-between; border: 0; border-radius: 5px; padding: 10px 11px; background: transparent; text-align: left; color: #a2a9b4; font-weight: 600; font-size: 13px; }
.family-button:hover, .family-button.active { background: var(--green); color: white; }
.family-button.unloaded { color: #626a77; }
.family-button.unloaded small { color: var(--gold); }
.family-button small { opacity: .65; }
.source-note { margin-top: 35px; padding-top: 20px; border-top: 1px solid var(--line); display: flex; gap: 9px; align-items: flex-start; }
.source-note strong, .source-note small { display: block; font-size: 11px; }
.source-note small { color: var(--muted); margin-top: 3px; }
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--lime); margin-top: 3px; box-shadow: 0 0 0 4px rgba(186,218,85,.2); }
.catalog { padding: 28px; }
.catalog-tools { display: grid; grid-template-columns: auto minmax(220px, 1fr) 160px auto; gap: 10px; }
.side-switch { display: flex; padding: 3px; border: 1px solid var(--line); background: #11161e; border-radius: 6px; }
.side-tab { border: 0; border-radius: 4px; padding: 0 13px; color: var(--muted); background: transparent; font-size: 11px; font-weight: 800; text-transform: uppercase; }
.side-tab.active { background: var(--green-2); color: var(--team-on-primary); }
.search { height: 43px; background: var(--white); border: 1px solid var(--line); border-radius: 6px; display: flex; align-items: center; padding: 0 13px; gap: 9px; }
.search span { font-size: 24px; color: var(--muted); transform: rotate(-20deg); }
.search input { width: 100%; border: 0; outline: 0; background: transparent; color: var(--ink); }
.search input::placeholder { color: #747c89; }
select { border: 1px solid var(--line); border-radius: 6px; background: var(--white); padding: 0 10px; color: var(--ink); color-scheme: dark; }
.selected-toggle { display: flex; align-items: center; gap: 7px; font-size: 12px; font-weight: 700; white-space: nowrap; }
.selected-toggle input { accent-color: var(--green); }
.catalog-heading { margin: 30px 0 17px; display: flex; align-items: end; justify-content: space-between; }
.catalog-heading h2 { font-size: 27px; }
.catalog-heading > span { color: var(--muted); font-size: 12px; }
.formation-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 13px; }
.formation-card { background: var(--white); border: 1px solid var(--line); border-radius: 8px; overflow: hidden; box-shadow: 0 2px 0 rgba(0,0,0,.02); transition: transform .15s, box-shadow .15s, border-color .15s; }
.formation-card:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.formation-card.selected { border-color: var(--green-2); }
.play-art { height: 125px; position: relative; background-color: #1c2330; background-image: linear-gradient(90deg, transparent 49.7%, #303947 50%, transparent 50.3%), repeating-linear-gradient(0deg, transparent 0 30px, rgba(255,255,255,.035) 31px 32px); border-bottom: 1px solid var(--line); overflow: hidden; }
.play-art svg { width: 100%; height: 100%; }
.play-art > img, .formation-board > img { width: 100%; height: 100%; object-fit: contain; display: block; }
.personnel-diagram { width: 100%; height: 100%; }
.personnel-diagram .line-scrimmage { stroke: #475366; stroke-width: 1; stroke-dasharray: 4 4; }
.personnel-diagram .personnel-count { fill: var(--team-tertiary); font: 700 7px "DM Sans"; letter-spacing: .7px; }
.personnel-node circle { fill: color-mix(in srgb, var(--team-primary) 24%, #182333); stroke: var(--team-primary); stroke-width: 1.5; }
.personnel-node rect { fill: color-mix(in srgb, var(--team-secondary) 19%, #273447); stroke: var(--team-secondary); stroke-width: 1.1; }
.personnel-node text { fill: #f5f7fb; font: 800 5.5px "DM Sans"; pointer-events: none; }
.alignment-pending { height: 100%; display: grid; place-content: center; gap: 5px; padding: 25px; text-align: center; color: #687386; }
.alignment-pending strong { color: #98a4b7; font: 800 16px "Barlow Condensed"; text-transform: uppercase; }
.alignment-pending span { font-size: 8px; font-weight: 700; letter-spacing: 1px; }
.family-tag { position: absolute; top: 10px; left: 10px; color: #b9c6dc; background: rgba(9,13,19,.78); border-radius: 3px; padding: 4px 7px; font-size: 9px; font-weight: 800; letter-spacing: 1px; }
.reference-play { position: absolute; right: 9px; top: 28px; max-width: 62%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: #aeb8c8; background: rgba(9,13,19,.82); border-radius: 3px; padding: 3px 6px; font-size: 8px; font-weight: 700; letter-spacing: .5px; text-transform: uppercase; }
.card-body { padding: 14px; }
.card-title { display: flex; justify-content: space-between; gap: 10px; }
.card-title h3 { margin: 0; font: 800 20px "Barlow Condensed"; text-transform: uppercase; }
.card-title span { color: var(--muted); font-size: 10px; white-space: nowrap; }
.card-meta { color: var(--muted); font-size: 11px; margin: 5px 0 13px; }
.add-button { width: 100%; border: 1px solid var(--team-primary); color: var(--team-primary); background: color-mix(in srgb, var(--team-primary) 7%, transparent); border-radius: 5px; padding: 8px; font-weight: 800; font-size: 11px; text-transform: uppercase; letter-spacing: .7px; }
.add-button:hover { background: color-mix(in srgb, var(--team-primary) 16%, transparent); }
.selected .add-button { color: var(--team-on-primary); background: var(--team-primary); }
.book-head { display: flex; justify-content: space-between; align-items: start; border-bottom: 1px solid var(--line); padding-bottom: 17px; }
.book-head h2 { font-size: 25px; }
.book-head button { border: 1px solid var(--line); background: #1d2430; color: var(--ink); width: 31px; height: 31px; border-radius: 5px; }
.empty-book { text-align: center; padding: 60px 20px; color: var(--muted); }
.empty-book .empty-icon { margin: auto auto 14px; width: 42px; height: 42px; display: grid; place-items: center; border: 1px dashed #aab2ae; border-radius: 50%; color: var(--green); }
.empty-book strong { display: block; color: var(--ink); font-size: 13px; }
.empty-book p { font-size: 11px; line-height: 1.5; }
.selected-list { display: grid; gap: 8px; margin-top: 15px; max-height: 510px; overflow: auto; }
.selected-item { border: 1px solid var(--line); padding: 11px; border-radius: 6px; display: grid; grid-template-columns: 1fr auto; align-items: center; }
.selected-item strong { font: 800 16px "Barlow Condensed"; text-transform: uppercase; }
.selected-item small { display: block; color: var(--muted); margin-top: 2px; }
.selected-item button { border: 0; background: transparent; color: #9b493c; font-size: 16px; }
.book-footer { position: absolute; bottom: 22px; left: 22px; right: 22px; display: flex; justify-content: space-between; border-top: 1px solid var(--line); padding-top: 14px; }
.book-footer span, .book-footer strong { display: block; font-size: 9px; letter-spacing: 1px; }
.book-footer strong { margin-top: 4px; font-size: 11px; color: var(--green); }
.toast { position: fixed; right: 24px; bottom: 24px; color: white; background: var(--ink); padding: 13px 18px; border-radius: 7px; opacity: 0; transform: translateY(10px); pointer-events: none; transition: .25s; box-shadow: var(--shadow); font-size: 13px; }
.toast.show { opacity: 1; transform: translateY(0); }
.playbook-dialog { width: min(470px, calc(100vw - 30px)); padding: 0; color: var(--ink); background: #11161e; border: 1px solid #374254; border-radius: 12px; box-shadow: 0 28px 80px rgba(0,0,0,.7); }
.playbook-dialog::backdrop { background: rgba(3,6,10,.76); backdrop-filter: blur(5px); }
.playbook-dialog form { padding: 24px; }
.playbook-dialog-head { display: flex; justify-content: space-between; gap: 18px; align-items: start; }
.playbook-dialog-head h2 { font-size: 30px; }
.playbook-dialog-head > button { width: 36px; height: 36px; flex: 0 0 auto; border: 1px solid var(--line); border-radius: 6px; color: white; background: #1d2430; font-size: 22px; }
.playbook-dialog form > p { margin: 12px 0 20px; color: var(--muted); font-size: 12px; line-height: 1.55; }
.playbook-dialog form > label { display: block; margin-bottom: 7px; color: #c7d0dc; font-size: 10px; font-weight: 800; letter-spacing: 1px; text-transform: uppercase; }
.playbook-dialog input { width: 100%; min-height: 46px; padding: 0 13px; border: 1px solid #3a4557; border-radius: 6px; outline: none; color: var(--ink); background: #171e28; }
.playbook-dialog input:focus { border-color: var(--team-primary); box-shadow: 0 0 0 3px color-mix(in srgb, var(--team-primary) 18%, transparent); }
.playbook-dialog-actions { display: flex; justify-content: flex-end; gap: 8px; margin-top: 20px; }
.no-results { grid-column: 1/-1; text-align: center; padding: 60px; color: var(--muted); }
.play-drawer { position: fixed; inset: 0; z-index: 20; pointer-events: none; visibility: hidden; }
.play-drawer.open { pointer-events: auto; visibility: visible; }
.drawer-scrim { position: absolute; inset: 0; border: 0; background: rgba(10,13,18,.58); opacity: 0; transition: opacity .2s; }
.open .drawer-scrim { opacity: 1; }
.drawer-panel { position: absolute; top: 0; right: 0; bottom: 0; width: min(720px, 94vw); background: #11161e; padding: 26px; overflow: auto; transform: translateX(100%); transition: transform .25s ease; box-shadow: -20px 0 60px rgba(0,0,0,.45); }
.open .drawer-panel { transform: translateX(0); }
.drawer-head { display: flex; justify-content: space-between; align-items: start; }
.drawer-head h2 { font-size: 34px; }
.drawer-head p:last-child { margin: 4px 0 0; color: var(--muted); font-size: 12px; }
.drawer-close { border: 1px solid var(--line); background: #1d2430; color: white; border-radius: 6px; width: 38px; height: 38px; font-size: 23px; }
.formation-board { position: relative; margin: 22px 0; height: 260px; overflow: hidden; border: 1px solid #313a48; border-radius: 8px; background: #1b222d; background-image: linear-gradient(90deg, transparent 49.8%, rgba(255,255,255,.09) 50%, transparent 50.2%), repeating-linear-gradient(0deg, transparent 0 37px, rgba(255,255,255,.045) 38px 39px); }
.formation-board svg { width: 100%; height: 100%; }
.drawer-tools { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; font-size: 11px; letter-spacing: 1px; }
.drawer-tools button { border: 0; color: var(--green-2); background: transparent; font-weight: 700; }
.play-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.play-tile { position: relative; border: 1px solid var(--line); border-radius: 7px; background: #1a202a; color: var(--ink); padding: 0; overflow: hidden; text-align: left; }
.play-tile.selected { border: 2px solid var(--green-2); }
.play-diagram { height: 112px; background: #0d131c; }
.play-diagram svg { width: 100%; height: 100%; }
.play-diagram img { width: 100%; height: 100%; object-fit: contain; display: block; }
.play-label { padding: 10px; display: flex; justify-content: space-between; align-items: center; }
.play-label strong { font: 800 15px "Barlow Condensed"; text-transform: uppercase; }
.play-check { width: 18px; height: 18px; border: 1px solid #bfc3ca; border-radius: 50%; display: grid; place-items: center; color: white; font-size: 11px; }
.selected .play-check { color: var(--team-on-primary); background: var(--green-2); border-color: var(--green-2); }
body.drawer-open { overflow: hidden; }
body:has(.theme-dialog[open]), body:has(.account-dialog[open]) { overflow: hidden; }
.theme-dialog { width: min(900px, calc(100vw - 30px)); max-height: min(760px, calc(100vh - 30px)); padding: 0; color: var(--ink); background: #11161e; border: 1px solid #374254; border-radius: 12px; box-shadow: 0 28px 80px rgba(0,0,0,.7); }
.theme-dialog::backdrop { background: rgba(3,6,10,.76); backdrop-filter: blur(5px); }
.theme-dialog-head { position: sticky; top: 0; z-index: 2; display: flex; justify-content: space-between; gap: 24px; padding: 25px 27px 20px; background: #11161e; border-bottom: 1px solid var(--line); }
.theme-dialog-head h2 { font-size: 31px; }
.theme-dialog-head p:last-child { max-width: 620px; margin: 6px 0 0; color: var(--muted); font-size: 12px; }
.theme-dialog-head > button { width: 36px; height: 36px; flex: 0 0 auto; border: 1px solid var(--line); border-radius: 6px; color: white; background: #1d2430; font-size: 22px; }
.theme-toolbar { position: sticky; top: 112px; z-index: 2; display: grid; grid-template-columns: auto 1fr auto; gap: 10px; padding: 15px 27px; background: #11161e; border-bottom: 1px solid var(--line); }
.theme-scope { min-height: 38px; display: flex; align-items: center; padding: 0 15px; border: 1px solid var(--team-primary); border-radius: 6px; color: var(--team-primary); background: color-mix(in srgb, var(--team-primary) 8%, #0e131a); font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; white-space: nowrap; }
.theme-search { min-width: 180px; display: flex; align-items: center; gap: 8px; padding: 0 12px; border: 1px solid var(--line); border-radius: 6px; background: #171d27; }
.theme-search span { color: var(--muted); font-size: 20px; transform: rotate(-20deg); }
.theme-search input { min-width: 0; width: 100%; color: var(--ink); background: transparent; border: 0; outline: 0; }
.theme-reset { border: 1px solid var(--team-secondary); border-radius: 6px; padding: 0 13px; color: var(--team-secondary); background: transparent; font-size: 10px; font-weight: 800; text-transform: uppercase; }
.theme-team-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 9px; padding: 20px 27px 28px; }
.team-theme-card { min-height: 61px; display: grid; grid-template-columns: 43px 1fr 18px; gap: 10px; align-items: center; padding: 9px 11px; color: var(--ink); background: #181e28; border: 1px solid var(--line); border-radius: 7px; text-align: left; }
.team-theme-card:hover { border-color: #59667a; transform: translateY(-1px); }
.team-theme-card.active { border-color: var(--team-primary); box-shadow: inset 3px 0 var(--team-primary); }
.default-theme-card { grid-column: 1/-1; background: linear-gradient(100deg, #11161e, #242b36); }
.team-swatches { width: 39px; height: 39px; overflow: hidden; display: grid; grid-template-columns: 1fr 1fr; border: 1px solid #4a5362; border-radius: 50%; }
.team-swatches i { display: block; }
.team-theme-card strong { font-size: 11px; line-height: 1.25; }
.team-theme-card small { color: var(--team-primary); font-size: 13px; font-weight: 900; }
.theme-empty { grid-column: 1/-1; padding: 60px 20px; color: var(--muted); text-align: center; }
.account-dialog { width: min(560px, calc(100vw - 26px)); max-height: min(780px, calc(100vh - 26px)); padding: 0; overflow: auto; color: var(--ink); background: #11161e; border: 1px solid #374254; border-radius: 12px; box-shadow: 0 28px 80px rgba(0,0,0,.72); }
.account-dialog::backdrop { background: rgba(3,6,10,.78); backdrop-filter: blur(5px); }
.account-dialog-head { position: sticky; top: 0; z-index: 2; display: flex; align-items: start; justify-content: space-between; gap: 22px; padding: 24px 25px 20px; background: #11161e; border-bottom: 1px solid var(--line); }
.account-dialog-head h2 { font-size: 31px; }
.account-dialog-head > button { width: 36px; height: 36px; flex: 0 0 auto; border: 1px solid var(--line); border-radius: 6px; color: white; background: #1d2430; font-size: 22px; }
.account-signed-out, .account-signed-in { padding: 23px 25px 26px; }
.account-promise { display: grid; grid-template-columns: 42px 1fr; gap: 13px; align-items: start; padding: 15px; border: 1px solid #2e3949; border-radius: 8px; background: #171e28; }
.account-promise > span { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; color: var(--team-on-primary); background: var(--team-primary); font-size: 22px; }
.account-promise strong, .account-cloud-copy strong { display: block; font-size: 13px; }
.account-promise p, .account-cloud-copy p { margin: 5px 0 0; color: var(--muted); font-size: 11px; line-height: 1.55; }
.account-support { min-height: 18px; margin: 13px 0; color: #d1a874; font-size: 11px; }
.account-support.supported { color: #93bca8; }
.account-signed-out form { display: grid; gap: 7px; }
.account-signed-out label { margin-top: 5px; color: #c7d0dc; font-size: 9px; font-weight: 800; letter-spacing: 1px; text-transform: uppercase; }
.account-signed-out input { width: 100%; min-height: 45px; padding: 0 13px; border: 1px solid #3a4557; border-radius: 6px; outline: none; color: var(--ink); background: #171e28; }
.account-signed-out input:focus { border-color: var(--team-primary); box-shadow: 0 0 0 3px color-mix(in srgb, var(--team-primary) 18%, transparent); }
.account-primary, .account-secondary, .account-signout { width: 100%; min-height: 45px; border-radius: 6px; font-size: 11px; font-weight: 800; }
.account-primary { margin-top: 8px; border: 1px solid var(--team-primary); color: var(--team-on-primary); background: var(--team-primary); }
.account-secondary { border: 1px solid var(--team-primary); color: var(--team-primary); background: color-mix(in srgb, var(--team-primary) 7%, transparent); }
.account-primary:disabled, .account-secondary:disabled, .account-signout:disabled, #addPasskeyButton:disabled { cursor: wait; opacity: .55; }
.account-divider { display: flex; align-items: center; gap: 10px; margin: 19px 0; color: #6f7887; font-size: 9px; font-weight: 700; letter-spacing: .7px; text-transform: uppercase; }
.account-divider::before, .account-divider::after { content: ''; height: 1px; flex: 1; background: var(--line); }
.account-footnote { display: block; margin-top: 10px; color: #7f8998; font-size: 9px; line-height: 1.5; }
.account-profile { display: grid; grid-template-columns: 46px 1fr auto; gap: 11px; align-items: center; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.account-avatar { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; color: var(--team-on-primary); background: var(--team-primary); font: 800 20px "Barlow Condensed"; }
.account-profile strong, .account-profile small { display: block; }
.account-profile strong { font-size: 13px; }
.account-profile small { margin-top: 2px; color: var(--muted); font-size: 10px; }
.sync-badge { padding: 5px 8px; border-radius: 999px; color: #9ed2b7; background: rgba(57,133,94,.18); font-size: 9px; font-weight: 800; text-transform: uppercase; }
.sync-badge.syncing { color: #d8bd84; background: rgba(145,107,42,.18); }
.sync-badge.offline { color: #db9999; background: rgba(150,65,65,.18); }
.account-cloud-copy { margin: 17px 0; padding: 14px; border: 1px solid #2e3949; border-radius: 7px; background: #171e28; }
.passkey-heading { display: flex; align-items: end; justify-content: space-between; gap: 14px; margin: 19px 0 10px; }
.passkey-heading strong, .passkey-heading small { display: block; }
.passkey-heading strong { font-size: 10px; letter-spacing: 1px; }
.passkey-heading small { margin-top: 3px; color: var(--muted); font-size: 9px; }
.passkey-heading button { min-height: 34px; border: 1px solid var(--team-primary); border-radius: 5px; color: var(--team-primary); background: transparent; font-size: 10px; font-weight: 800; }
.passkey-list { display: grid; gap: 7px; }
.passkey-row { display: grid; grid-template-columns: 34px 1fr auto; gap: 10px; align-items: center; padding: 10px; border: 1px solid var(--line); border-radius: 6px; background: #171e28; }
.passkey-icon { width: 32px; height: 32px; display: grid; place-items: center; border-radius: 50%; color: var(--team-primary); background: color-mix(in srgb, var(--team-primary) 10%, #121720); font-size: 16px; }
.passkey-row strong, .passkey-row small { display: block; }
.passkey-row strong { font-size: 11px; }
.passkey-row small { margin-top: 2px; color: var(--muted); font-size: 9px; }
.passkey-row button { border: 0; color: #d08c8c; background: transparent; font-size: 9px; font-weight: 800; text-transform: uppercase; }
.passkey-row button:disabled { color: #596273; cursor: not-allowed; }
.account-signout { margin-top: 20px; border: 1px solid #4a3440; color: #d79b9b; background: transparent; }
@media (max-width: 1150px) { .workspace { grid-template-columns: 180px 1fr 260px; } .formation-grid { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 850px) { .topbar { grid-template-columns: 1fr auto; padding: 0 16px; } .game-switch { order: 3; grid-column: 1/-1; margin-bottom: -52px; z-index: 3; } .save-button { display: none; } .theme-button span:last-child { display: none; } .theme-button { padding: 0 10px; } .hero { padding: 85px 20px 30px; display: block; } .scoreboard { width: 100%; margin-top: 28px; } .playbook-manager { grid-template-columns: 1fr auto; padding: 16px 20px; } .playbook-picker { grid-column: 1/-1; grid-row: 2; } .playbook-manager-actions { grid-column: 1/-1; grid-row: 3; justify-content: flex-end; } .workspace { display: block; } .filters { display: none; } .catalog { padding: 20px; } .book-panel { border: 0; min-height: 260px; } .book-footer { position: static; margin-top: 35px; } .theme-team-grid { grid-template-columns: repeat(2,minmax(0,1fr)); } }
@media (max-width: 560px) { .brand > span:last-child { display: none; } .top-actions { gap: 6px; } .account-button { padding: 0 10px; } .account-button span:last-child { max-width: 84px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .formation-grid { grid-template-columns: 1fr; } .catalog-tools { grid-template-columns: 1fr; } .scoreboard { grid-template-columns: 1fr; } .game-tab { padding: 9px 11px; font-size: 11px; } .playbook-manager { grid-template-columns: minmax(0,1fr) auto; gap: 12px; } .playbook-manager-copy strong { font-size: 20px; } .playbook-manager-actions .primary { padding: 0 11px; } .play-grid { grid-template-columns: repeat(2,1fr); } .drawer-panel { padding: 18px; } .theme-dialog-head { padding: 20px 18px 16px; } .theme-dialog-head h2 { font-size: 26px; } .theme-dialog-head p:last-child { display: none; } .theme-toolbar { top: 88px; grid-template-columns: 1fr 1fr; padding: 12px 18px; } .theme-search { grid-column: 1/-1; height: 40px; order: 3; } .theme-reset { min-height: 38px; } .theme-team-grid { grid-template-columns: 1fr; padding: 15px 18px 22px; } .account-dialog-head, .account-signed-out, .account-signed-in { padding-left: 18px; padding-right: 18px; } .account-profile { grid-template-columns: 42px 1fr; } .sync-badge { grid-column: 2; justify-self: start; } .passkey-heading { align-items: start; } }
