/* Ask Sports History: self-contained styles that respect the site's theme. */
.ah-shell{--ah-primary:var(--primary-color,var(--primary,var(--site-primary,var(--psh-primary,#960000))));--ah-secondary:var(--secondary-color,var(--secondary,#262b33));max-width:1120px;margin:0 auto;padding:28px 20px 70px;color:#18202b}
.ah-head{padding:10px 2px 24px}
.ah-back{display:inline-flex;color:#536173;font-size:13px;font-weight:700;text-decoration:none;margin-bottom:22px}
.ah-back:hover{text-decoration:underline}
.ah-eyebrow{display:flex;align-items:center;gap:7px;text-transform:uppercase;font-size:11px;letter-spacing:.13em;font-weight:800;color:var(--ah-primary);margin-bottom:7px}
.ah-spark{font-size:19px;line-height:1}
.ah-head h1{font-weight:850;letter-spacing:-.045em;font-size:clamp(2.1rem,4vw,3.3rem);line-height:1.12;margin:0 0 11px;color:#162131}
.ah-head p{color:#576477;line-height:1.55;max-width:790px;font-size:15px;margin:0}
.ah-search-card{border:1px solid #dbe1e8;background:#fff;border-radius:17px;box-shadow:0 8px 30px rgba(15,23,42,.065);padding:24px}
.ah-search-card label{display:block;color:#344256;font-size:13px;font-weight:800;margin-bottom:11px}
.ah-input-row{display:flex;gap:13px;align-items:stretch}
.ah-input-row textarea{flex:1;resize:vertical;min-height:84px;min-width:0;font-family:inherit;font-size:16px;font-weight:500;line-height:1.55;color:#182638;border:1px solid #cbd5e1;border-radius:11px;padding:15px;outline:none;background:#fcfdff}
.ah-input-row textarea:focus{border-color:var(--ah-primary);box-shadow:0 0 0 3px color-mix(in srgb,var(--ah-primary) 12%,transparent)}
.ah-input-row textarea::placeholder{color:#8390a2;font-weight:400}
.ah-submit{appearance:none;border:0;border-radius:11px;background:var(--ah-primary);color:#fff;cursor:pointer;padding:13px 23px;font-size:14px;font-weight:800;white-space:nowrap;align-self:stretch;transition:filter .15s,transform .15s}
.ah-submit:hover{filter:brightness(.87)}
.ah-submit:active{transform:translateY(1px)}
.ah-submit:disabled{opacity:.65;cursor:wait}
.ah-hint{margin:10px 0 0;color:#728092;font-size:12px;line-height:1.5}
.ah-alert{background:#fff4f3;border:1px solid #f1c4c1;color:#8b2525;border-radius:10px;margin-top:18px;padding:14px 16px}
.ah-answer{border:1px solid #dbe1e8;background:#fff;border-radius:15px;margin-top:24px;padding:22px 22px 18px;box-shadow:0 8px 25px rgba(15,23,42,.045)}
.ah-answer-head{display:flex;justify-content:space-between;align-items:flex-start;gap:16px;margin-bottom:16px}
.ah-kicker{display:block;text-transform:uppercase;font-size:11px;letter-spacing:.13em;font-weight:800;color:var(--ah-primary);margin-bottom:5px}
.ah-answer h2{font-size:21px;line-height:1.3;color:#1d2939;margin:0;font-weight:800}
.ah-verified{flex-shrink:0;border:1px solid #cbd5e1;border-radius:999px;color:#425066;background:#f8fafc;padding:5px 10px;font-size:11px;font-weight:700}
.ah-table-scroll{overflow-x:auto;-webkit-overflow-scrolling:touch}
.ah-table{border-collapse:collapse;width:100%;min-width:540px;text-align:left}
.ah-table th{background:#f3f6f9;color:#526176;text-transform:uppercase;letter-spacing:.04em;font-size:11px;font-weight:800}
.ah-table th,.ah-table td{padding:12px 13px;border-bottom:1px solid #e6ebf0}
.ah-table tbody tr:last-child td{border-bottom:0}
.ah-table td{color:#263449;font-size:13px;font-variant-numeric:tabular-nums}
.ah-table td strong{font-weight:800;color:#17243a}
.ah-table a{color:var(--ah-primary);font-weight:700;text-decoration:none}
.ah-table a:hover{text-decoration:underline}
.ah-source,.ah-notice{font-size:12px;line-height:1.5;color:#66778c;margin:14px 3px 0}
.ah-message{color:#526176;font-size:14px;margin:12px 0 16px;line-height:1.6}
.ah-notice{color:#8a6622}
.ah-samples{margin-top:34px}
.ah-samples-head{display:flex;align-items:baseline;justify-content:space-between;gap:12px;margin:0 2px 15px}
.ah-samples-head h2{font-size:19px;font-weight:850;letter-spacing:-.025em;color:#182536;margin:0}
.ah-samples-head span{color:#718196;font-size:12px}
.ah-question-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:11px}
.ah-suggestion{appearance:none;text-align:left;display:flex;align-items:center;gap:13px;width:100%;min-width:0;border:1px solid #dfe5ec;border-radius:12px;background:#fff;padding:16px;color:#243348;cursor:pointer;font-family:inherit;font-size:13px;font-weight:600;line-height:1.5;transition:border-color .16s,box-shadow .16s,transform .16s}
.ah-suggestion:hover{border-color:var(--ah-primary);box-shadow:0 4px 16px rgba(15,23,42,.055);transform:translateY(-1px)}
.ah-suggestion>span:nth-child(2){flex:1}
.ah-suggestion>span:last-child{color:var(--ah-primary);font-size:18px;font-weight:800}
.ah-mini-icon{background:#f0f3f6;color:#647487;width:32px;height:32px;border-radius:9px;display:grid;place-items:center;font:800 11px/1 Arial,sans-serif;flex-shrink:0}
@media(max-width:710px){.ah-shell{padding:20px 13px 45px}.ah-search-card{padding:16px}.ah-input-row{flex-direction:column}.ah-input-row textarea{min-height:105px}.ah-submit{min-height:48px}.ah-question-grid{grid-template-columns:minmax(0,1fr)}.ah-answer{padding:17px 12px}.ah-answer-head{flex-direction:column;gap:9px}.ah-samples-head{align-items:flex-start;flex-direction:column;gap:4px}}

/* Strong selector weights to override global brand-colored button rules. */
.ah-shell .ah-samples{margin-top:34px}
.ah-shell .ah-samples-head{align-items:center;margin-bottom:19px}
.ah-shell .ah-samples-head h2{font-size:21px;font-weight:850}
.ah-shell .ah-samples-head p{font-size:13px;margin:5px 0 0;color:#61728a}
.ah-shell .ah-category{background:#fff;border:1px solid #dae3ee;border-radius:14px;margin:11px 0;overflow:hidden;box-shadow:0 2px 10px rgba(20,34,55,.035)}
.ah-shell .ah-category>summary{display:flex;gap:12px;align-items:center;justify-content:space-between;list-style:none;cursor:pointer;background:#f8fafc;padding:16px 18px;color:#192a40;font-size:15px;font-weight:850}
.ah-shell .ah-category>summary::-webkit-details-marker{display:none}
.ah-shell .ah-category[open]>summary{background:#f1f5f9;border-bottom:1px solid #e0e7ef}
.ah-shell .ah-category-toggle{color:#61718a;font-size:12px;font-weight:650;white-space:nowrap}
.ah-shell .ah-category-toggle span{display:inline-block;margin-left:6px;transition:transform .18s}
.ah-shell .ah-category[open] .ah-category-toggle span{transform:rotate(180deg)}
.ah-shell .ah-category .ah-question-grid{padding:13px;gap:10px}
.ah-shell .ah-category button.ah-suggestion,
.ah-shell .ah-category button.ah-suggestion:visited{background:#f8fafc!important;color:#14243b!important;border:1px solid #d8e1ec!important;border-radius:11px!important;padding:15px 15px!important;min-height:67px!important;box-shadow:none!important;font-size:13.5px!important;font-weight:700!important;text-decoration:none!important;text-align:left!important;line-height:1.45!important}
.ah-shell .ah-category button.ah-suggestion:hover,
.ah-shell .ah-category button.ah-suggestion:focus-visible{background:#edf3fa!important;color:#0f1f36!important;border-color:var(--ah-primary)!important;box-shadow:0 3px 14px rgba(15,23,42,.08)!important;transform:translateY(-1px)}
.ah-shell .ah-category button.ah-suggestion:focus-visible{outline:3px solid var(--ah-primary)!important;outline-offset:2px}
.ah-shell .ah-category .ah-question-text{color:#14243b!important;line-height:1.5!important;font-size:13.5px!important;font-weight:700!important}
.ah-shell .ah-category .ah-mini-icon{background:#e8eef6!important;color:#1f416a!important;border:1px solid #d3dfef!important}
.ah-shell .ah-category .ah-arrow{color:var(--ah-primary)!important}
@media(max-width:710px){.ah-shell .ah-samples-head{align-items:flex-start}.ah-shell .ah-category>summary{padding:14px}.ah-shell .ah-category .ah-question-grid{padding:9px;gap:8px}.ah-shell .ah-category button.ah-suggestion{padding:13px!important;min-height:62px!important}}

.ah-review-note{font-size:12px;color:#345b48;background:#eff8f2;border:1px solid #d8eadc;border-radius:8px;margin:16px 0 0;padding:11px 13px;line-height:1.6}

/* Theme-linked controls with legible dark text on pale backgrounds. */
.ah-shell{--ah-primary:var(--psh-primary,#960000);--ah-secondary:var(--psh-secondary,#152238)}
.ah-shell .ah-category button.ah-suggestion,
.ah-shell .ah-category button.ah-suggestion:hover,
.ah-shell .ah-category button.ah-suggestion:focus-visible{color:#14243b!important}
.ah-shell .ah-category .ah-question-text{color:#14243b!important}
.ah-shell .ah-submit{background:var(--psh-primary,#960000)!important;color:#fff!important}
@media(max-width:600px){.ah-shell .ah-category .ah-question-grid{grid-template-columns:1fr}}


/* Ask Mike: larger mascot, hover-to-thinking swap and compact question form. */
.ah-shell .ah-search-card{padding:20px 22px}
.ah-shell .ah-search-layout{display:grid;grid-template-columns:minmax(210px,270px) minmax(0,1fr);gap:24px;align-items:center}
.ah-shell .ah-brand-panel{display:flex;align-items:center;justify-content:center;min-width:0;background:#f7f9fc;border:1px solid #dce4ee;border-radius:15px;padding:10px;min-height:245px}
.ah-shell .ah-brand-art{position:relative;width:100%;height:235px;max-width:270px;outline-offset:4px;border-radius:12px}
.ah-shell .ah-brand-logo{position:absolute;inset:0;display:block;width:100%;height:100%;max-width:none;max-height:none;object-fit:contain;object-position:center;transition:opacity .2s ease}
.ah-shell .ah-brand-logo-default{opacity:1}
.ah-shell .ah-brand-logo-thinking{opacity:0}
.ah-shell .ah-brand-art:not(.ah-thinking-missing):is(:hover,:focus-visible) .ah-brand-logo-default{opacity:0}
.ah-shell .ah-brand-art:not(.ah-thinking-missing):is(:hover,:focus-visible) .ah-brand-logo-thinking{opacity:1}
.ah-shell .ah-brand-art img[hidden]{display:none!important}
.ah-shell .ah-brand-fallback{display:none;position:absolute;inset:18px;border-radius:20px;background:var(--ah-primary);color:#fff;place-content:center;text-align:center;line-height:1.1}
.ah-shell .ah-brand-art.ah-main-missing .ah-brand-fallback{display:grid}
.ah-shell .ah-brand-fallback span{font-size:28px;font-weight:700}
.ah-shell .ah-brand-fallback strong{font-size:42px;font-weight:850}
.ah-shell .ah-brand-art:not(.ah-thinking-missing):is(:hover,:focus-visible) .ah-brand-fallback{opacity:0}
.ah-shell .ah-form-wrap{min-width:0}
.ah-shell .ah-form-wrap .ah-input-row textarea{min-height:82px}
.ah-shell .ah-form-wrap .ah-submit{min-width:148px}
@media(max-width:850px){
 .ah-shell .ah-search-layout{grid-template-columns:minmax(160px,220px) minmax(0,1fr);gap:18px}
 .ah-shell .ah-brand-panel{min-height:204px}
 .ah-shell .ah-brand-art{height:196px}
}
@media(max-width:710px){
 .ah-shell .ah-search-card{padding:14px}
 .ah-shell .ah-search-layout{grid-template-columns:1fr;gap:14px}
 .ah-shell .ah-brand-panel{min-height:0;padding:8px;background:#f7f9fc}
 .ah-shell .ah-brand-art{width:100%;max-width:240px;height:165px}
 .ah-shell .ah-form-wrap .ah-input-row textarea{min-height:90px}
}
@media(prefers-reduced-motion:reduce){
 .ah-shell .ah-brand-logo{transition:none}
}

/* Display the stumped portrait for unsupported questions and zero-row answers.
   Successful answers and the initial form retain the normal/hover portraits. */
.ah-shell .ah-brand-logo-stumped{opacity:0;pointer-events:none}
.ah-shell .ah-brand-art.ah-is-stumped:not(.ah-stumped-missing) .ah-brand-logo-stumped{opacity:1;z-index:3}
.ah-shell .ah-brand-art.ah-is-stumped:not(.ah-stumped-missing):is(:hover,:focus-visible) .ah-brand-logo-stumped{opacity:1}
.ah-shell .ah-brand-art.ah-is-stumped:not(.ah-stumped-missing) .ah-brand-logo-default,
.ah-shell .ah-brand-art.ah-is-stumped:not(.ah-stumped-missing) .ah-brand-logo-thinking{opacity:0}
