/* Shared premium My Picks controls and read-only reference sheet. */
[data-my-picks][hidden], [data-my-picks] [hidden] { display: none !important; }
.pick-card { scroll-margin-top: calc(var(--sticky-header-height, 180px) + 16px); }
.my-pick-select { display: flex; align-items: center; gap: 9px; margin-top: 16px; padding: 12px 13px; border: 1px solid var(--line); border-radius: 8px; background: #f6f9f5; color: var(--teal-dark); font-size: 12px; line-height: 1.4; cursor: pointer; }
.my-pick-select input[type="checkbox"] { flex-shrink: 0; width: 18px; height: 18px; margin: 0; }
.my-pick-select:has(input:disabled) { cursor: not-allowed; color: var(--muted); }
.pick-card.is-saved { border-color: var(--teal); box-shadow: 0 0 0 1px var(--teal), var(--shadow); }
.pick-card.is-saved .my-pick-select { border-color: #acd8ca; background: #e6f6ef; }
.my-picks-intro { display: flex; align-items: center; flex-wrap: wrap; gap: 14px 24px; margin: 20px 0 24px; padding: 12px 0 12px 16px; border-left: 2px solid #b8d5c8; color: #52675e; font-family: "Segoe UI", Inter, "Helvetica Neue", Arial, sans-serif; font-size: 14px; font-weight: 500; line-height: 1.7; letter-spacing: .005em; }
.my-picks-intro > span { flex: 1 1 420px; }
.my-picks-intro strong { color: #214f40; font-weight: 650; }
.my-picks-intro > a { display: inline-flex; align-items: center; justify-content: center; gap: 14px; flex: 0 0 auto; min-height: 44px; padding: 9px 15px; border: 1px solid #b5cebf; border-radius: 8px; background: #f5f9f5; color: #185b46; font-size: 13px; font-weight: 600; line-height: 1.5; text-decoration: none; white-space: nowrap; }
.my-picks-intro > a:hover { color: #104733; border-color: #80af98; background: #eaf4ec; }
.my-picks-intro > a:focus-visible { outline: 2px solid #148777; outline-offset: 3px; }
@media (max-width: 700px) {
    .my-picks-intro { gap: 12px; padding-left: 13px; font-size: 13px; }
    .my-picks-intro > span { flex-basis: 100%; }
}
/* The compact control lives in the utility strip, outside the navigation grid. */
.utility-bar:has(.my-picks-tools) { position: relative; z-index: 80; }
.utility-inner:has(.my-picks-tools:not([hidden])) { min-height: 40px; }
[data-my-picks][data-mode="browse"] { position: relative; flex: 0 0 auto; margin-left: auto; color: #184e40; letter-spacing: normal; }
.my-picks-bar { display: flex; align-items: center; gap: 2px; }
.my-picks-toggle { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 30px; padding: 4px 10px; border: 1px solid #aed9ca; border-radius: 7px; background: #e8f6ef; color: #185745; font: inherit; font-size: 11px; font-weight: 700; white-space: nowrap; cursor: pointer; }
.my-picks-toggle:hover, .my-picks-toggle[aria-expanded="true"] { background: #d5eee2; }
.my-picks-toggle svg { transition: transform .15s; }
.my-picks-toggle[aria-expanded="true"] svg { transform: rotate(180deg); }
.my-picks-badge { display: inline-grid; place-items: center; min-width: 19px; height: 19px; padding-inline: 4px; border-radius: 5px; background: #106b56; color: #fff; font-size: 10px; font-variant-numeric: tabular-nums; }
.my-picks-close { display: grid; place-items: center; width: 30px; min-height: 30px; padding: 0; border: 0; border-radius: 6px; background: transparent; color: #c7e5dc; font-size: 21px; line-height: 1; cursor: pointer; }
.my-picks-close:hover { background: #26464c; color: #fff; }
.my-picks-panel { position: absolute; top: calc(100% + 8px); right: 0; width: 280px; max-width: calc(100vw - 28px); padding: 18px; border: 1px solid #c6ddd1; border-radius: 12px; background: #fff; color: #184e40; box-shadow: 0 12px 32px rgb(18 44 52 / 16%); font-size: 12px; line-height: 1.5; }
.my-picks-panel-heading { display: grid; gap: 4px; margin-bottom: 14px; }
.my-picks-panel-heading strong { font-size: 14px; }
[data-my-picks-count] { font-weight: 650; font-variant-numeric: tabular-nums; }
[data-mode="browse"] [data-my-picks-count] { color: #61756d; font-size: 12px; }
[data-mode="browse"] [data-my-picks-generate] { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 44px; margin: 0; padding: 10px 14px; border-radius: 8px; color: #fff; border-color: #106b56; background: #106b56; font-size: 12px; line-height: 1.4; }
[data-mode="browse"] [data-my-picks-generate]:hover { color: #fff; border-color: #08513f; background: #08513f; }
[data-my-picks-generate][aria-disabled="true"] { opacity: .5; cursor: default; box-shadow: none; }
[data-my-picks-clear] { min-height: 44px; padding: 8px 4px; border: 0; background: transparent; color: inherit; font-size: 12px; font-weight: 600; text-decoration: underline; text-underline-offset: 4px; }
[data-my-picks-clear]:hover { color: #075344; }
[data-mode="browse"] [data-my-picks-clear] { display: block; margin: 4px auto -6px; }
.my-picks-toggle:focus-visible, .my-picks-close:focus-visible { outline: 2px solid #71d9c3; outline-offset: 2px; }
[data-mode="summary"] [data-my-picks-clear] { padding: 11px 20px; border: 1px solid #cbd4ce; color: var(--ink); background: #fff; text-decoration: none; }
[data-mode="summary"] [data-my-picks-recover] { margin-bottom: 20px; }
[data-my-picks-notice] { margin: 0 0 12px; padding: 13px 15px; border: 1px solid #ead8b9; border-radius: 9px; background: #fff6e8; color: #704413; font-size: 13px; line-height: 1.65; overflow-wrap: anywhere; }
[data-my-picks-notice] a { color: inherit; font-weight: 700; }
[data-mode="browse"] [data-my-picks-notice] { margin: 12px 0 0; padding: 9px 10px; max-height: min(180px, 35dvh); overflow-y: auto; font-size: 12px; line-height: 1.5; }
@media (max-width: 700px), (pointer: coarse) {
    .utility-inner:has(.my-picks-tools:not([hidden])) { min-height: 48px; }
    .my-picks-toggle { min-height: 44px; }
    .my-picks-close { width: 44px; min-height: 44px; }
}
@media (max-width: 700px) {
    .utility-inner:has(.my-picks-tools:not([hidden])) > .engine-label { display: none; }
    .utility-inner:has(.my-picks-tools:not([hidden])) { gap: 8px; }
    .my-picks-panel { top: calc(100% + 4px); }
}

/* Membership entry keeps the two next steps clear at every screen size. */
.premium-gateway { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(300px, .8fr); gap: clamp(30px, 5vw, 80px); align-items: center; padding: clamp(28px, 4vw, 56px) 0 40px; }
.premium-gateway-copy > h1, .premium-gateway-copy > h2 { margin-bottom: 20px; font-size: clamp(40px, 4.5vw, 62px); line-height: 1.08; letter-spacing: -.045em; }
.premium-gateway-copy > h1 span, .premium-gateway-copy > h2 span { color: var(--teal); }
.premium-gateway-lead { max-width: 520px; font-size: 17px; line-height: 1.75; color: var(--muted); }
.premium-gateway-features { display: grid; gap: 22px; margin-top: 30px; }
.premium-gateway-features > div { padding-top: 16px; border-top: 1px solid #dce5dd; }

.premium-gateway-features h3 { margin: 1px 0 6px; font-size: 17px; letter-spacing: -.015em; }
.premium-gateway-features p { max-width: 470px; margin: 0; color: var(--muted); font-size: 14px; line-height: 1.65; }
.premium-gateway-access { padding: clamp(26px, 3vw, 40px); border: 1px solid #c6ddce; border-radius: 22px; background: linear-gradient(145deg, #fff, #eff7ef); box-shadow: 0 14px 40px rgb(18 44 52 / 5%); }
.premium-gateway-access > h2 { margin: 22px 0 16px; font-size: 31px; line-height: 1.2; }
.premium-gateway-access > p { color: var(--muted); font-size: 14px; line-height: 1.7; }
.premium-gateway-access .button { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 48px; margin: 0; padding: 13px 18px; font-size: 13px; border-radius: 10px; }
.premium-gateway-divider { display: flex; align-items: center; gap: 12px; margin: 22px 0 16px; color: var(--muted); font-size: 11px; }
.premium-gateway-divider::before, .premium-gateway-divider::after { content: ''; flex: 1; height: 1px; background: #d6e2d8; }
.premium-gateway-access > .premium-gateway-note { margin-top: 22px; margin-bottom: 0; font-size: 11px; line-height: 1.65; }
@media (max-width: 800px) {
    .premium-gateway { grid-template-columns: minmax(0, 1fr); gap: 20px; padding-top: 20px; }
    .premium-gateway-copy { display: contents; }
    .premium-gateway-copy > .kicker { grid-row: 1; margin: 0; }
    .premium-gateway-copy > h1, .premium-gateway-copy > h2 { grid-row: 2; margin: 0; }
    .premium-gateway-lead { grid-row: 3; margin: 0; }
    .premium-gateway-access { grid-row: 4; max-width: 560px; width: 100%; }
    .premium-gateway-features { grid-row: 5; }
}
@media (max-width: 700px) {
    body:not(.admin-body) .site-main .premium-gateway-copy > h1, body:not(.admin-body) .site-main .premium-gateway-copy > h2 { font-size: clamp(36px, 9vw, 48px); line-height: 1.12; }
    .premium-gateway-lead { font-size: 15px; }
    .premium-gateway-features { gap: 20px; margin-top: 24px; }
    .premium-gateway-features h3 { font-size: 16px; }
    .premium-gateway-features p { font-size: 13px; }
    .premium-gateway-access { padding: 26px 22px; border-radius: 18px; }
    body:not(.admin-body) .site-main .premium-gateway-access > h2 { font-size: 28px; }
}
.my-picks-group + .my-picks-group { margin-top: 36px; }
.my-picks-sheet-heading { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 18px; }
.my-picks-sheet-heading p { margin: 0; }
.my-picks-source-links, .my-picks-done-note { margin-top: 28px; }
.my-picks-group > h2 { margin-bottom: 18px; font-size: clamp(23px, 3vw, 29px); }
.my-picks-summary-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.my-picks-summary-card { overflow-wrap: anywhere; }
.my-picks-summary-card h3 { margin-bottom: 20px; font-size: 19px; line-height: 1.4; }
.my-picks-summary-meta { margin-bottom: 10px; color: var(--muted); font-size: 11px; }
.my-picks-summary-card dl { display: grid; gap: 10px; margin: 0; }
.my-picks-summary-card dl > div { display: grid; grid-template-columns: 84px minmax(0, 1fr); gap: 10px; align-items: baseline; }
.my-picks-summary-card dt { color: var(--muted); font-size: 11px; }
.my-picks-summary-card dd { margin: 0; color: var(--navy); font-size: 13px; font-weight: 600; }
[data-mode="summary"] [data-my-picks-content] > .button-row { margin-top: 28px; }
@media (max-width: 600px) {
    .my-picks-summary-grid { grid-template-columns: minmax(0, 1fr); }
    .my-picks-summary-card { padding: 22px; }
}
@media print {
    [data-my-picks][data-mode="browse"], [data-my-picks-clear], [data-my-picks-done], .my-pick-select { display: none !important; }
    .my-picks-summary-card { break-inside: avoid; box-shadow: none; }
}

.premium-gateway { max-width: 1120px; margin-inline: auto; }
.premium-gateway-access { align-self: start; }

/* Compact saved cards share the site-wide reference style. */
.my-picks-summary-card .compact-pick-teams{margin:0}
.my-picks-summary-card .compact-pick-meta{margin:0}
.compact-pick-card .my-pick-select{margin:12px 0 0;padding:0;border:0;background:transparent}

.compact-pick-card.is-saved .my-pick-select{background:transparent}

/* Match the shared three-column prediction layout. */
.my-picks-summary-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
@media(max-width:1000px){.my-picks-summary-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){.my-picks-summary-grid{grid-template-columns:minmax(0,1fr)}}

/* Keep Save to My Picks beside confidence at the far right with comfortable spacing. */
.compact-pick-save-group{display:flex;align-items:center;gap:14px;flex-shrink:0;margin-left:auto;max-width:100%}
.compact-pick-card .compact-pick-save-group .my-pick-select{display:inline-flex;flex-shrink:0;white-space:nowrap;margin:0;padding:4px 8px;min-height:32px;border-radius:6px;background:transparent}
.compact-pick-card:has(.my-pick-select) .compact-pick-actions{flex:1 0 100%;width:100%;flex-wrap:wrap;justify-content:space-between;row-gap:10px}

/* Preserve the fixed selection rows when the save control is present. */
.compact-pick-card:has(.my-pick-select) .compact-pick-actions{display:grid;grid-template-columns:minmax(0,1fr) auto;grid-template-rows:52px;gap:10px;flex:initial;justify-content:stretch}

.compact-pick-card .compact-pick-save-group .my-pick-select{min-height:30px}
