/* Compact browser-only fan identity. The full catalog lives inside a native dialog. */
[data-fan-zone] { position: relative; }
.fan-zone-card { padding: clamp(21px,3vw,33px); color: #f7edf3; background: radial-gradient(ellipse at 3% 0,#a247783d,transparent 60%),linear-gradient(120deg,#2c1e2a,#1b151e); border: 1px solid #745365; border-left: 4px solid #e4ba6b; border-radius: 14px; box-shadow: inset 0 1px 0 #fff1,0 5px 0 #110a13; }
.fan-zone-content { display: flex; align-items: center; gap: 25px; }
.fan-zone-main { flex: 1; min-width: 0; }
.fan-eyebrow { margin: 0 0 6px; color: #edc989; font-size: 9px; font-weight: 800; line-height: 1.6; letter-spacing: .12em; }
.fan-zone-card h2 { margin: 0 0 8px; color: #fff1f8; font: 700 clamp(20px,2.1vw,28px)/1.25 var(--font-body); letter-spacing: -.04em; }
.fan-zone-welcome { justify-content: space-between; }
.fan-zone-welcome p:not(.fan-eyebrow) { margin: 0; color: #d2bfcD; font-size: 13px; line-height: 1.7; max-width: 600px; }
.fan-primary { display: inline-flex; align-items: center; justify-content: center; gap: 20px; min-height: 46px; padding: 11px 18px; border: 1px solid #f0d294; border-radius: 7px; background: #efd08d; color: #2d1927; font: 800 11px/1.4 var(--font-body); text-decoration: none; cursor: pointer; }
.fan-primary:disabled { opacity: .6; cursor: default; }
.fan-featured-mark { display: grid; place-items: center; flex: 0 0 88px; width: 88px; height: 83px; border: 1px solid #f7e6f3; border-radius: 18px; background: linear-gradient(145deg,#fff,#bdafc4); box-shadow: inset 0 2px 0 #fff,0 5px 0 #76607a,0 9px 15px #0006; transform: perspective(500px) rotateY(-8deg) rotateX(5deg); }
.fan-featured-mark img { width: 75px; height: 75px; object-fit: contain; filter: drop-shadow(0 6px 2px #35213966); }
.fan-next-game { margin: 0; color: #ecdeE8; font-size: 12px; line-height: 1.75; }
.fan-next-game > b { margin-right: 8px; color: #f0bfda; font-size: 9px; letter-spacing: .07em; }
.fan-next-game > span { display: block; color: #dcc6d5; }
.fan-snapshot { margin: 6px 0 0; color: #d1b9ca; font-size: 10px; line-height: 1.7; }
.fan-local-note { margin: 7px 0 0; color: #bfa5b7; font-size: 10px; line-height: 1.65; }
.fan-zone-actions { flex-shrink: 0; }
.fan-secondary-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 7px; }
.fan-secondary-actions button,.fan-clear { min-height: 44px; padding: 7px 6px; border: 0; background: transparent; color: #e7c8dB; font: 700 10px/1.4 var(--font-body); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.fan-zone-message { margin: 10px 0 0; color: #e9c788; font-size: 11px; line-height: 1.65; }
.fan-zone-message:empty { display: none; }
.fan-copy-fallback { margin-top: 16px; padding-top: 15px; border-top: 1px solid #69495d; }
.fan-copy-fallback label { display: block; font-size: 11px; color: #efdce8; margin-bottom: 6px; }
.fan-copy-fallback textarea { display: block; width: 100%; border: 1px solid #a57391; border-radius: 6px; background: #171119; color: #f3e7f0; padding: 12px; font: 12px/1.6 var(--font-body); }
.fan-copy-fallback p { color: #cdb7c6; font-size: 10px; margin: 7px 0 0; }
.fan-team-dialog { width: min(840px,calc(100vw - 28px)); max-height: min(820px,calc(100dvh - 32px)); padding: clamp(22px,4vw,35px); margin: auto; overflow-y: auto; color: #f4e9f0; background: #211923; border: 1px solid #a37691; border-top: 4px solid #e7c279; border-radius: 17px; box-shadow: 0 24px 90px #0009; }
.fan-team-dialog::backdrop { background: #09040dd9; backdrop-filter: blur(8px); }
.fan-dialog-header { display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; }
.fan-dialog-header h2 { color: #fff1f9; margin: 0; font: clamp(29px,4vw,40px)/1.1 var(--font-display); letter-spacing: -.03em; }
.fan-dialog-close { display: grid; place-items: center; min-width: 44px; min-height: 44px; padding: 3px; color: #f3d5e6; background: #332030; border: 1px solid #8c607a; border-radius: 8px; font-size: 27px; cursor: pointer; }
#fan-dialog-note { color: #d0b9c9; font-size: 12px; line-height: 1.75; margin: 15px 0 19px; }
.fan-search-label { display: block; color: #f0d9e8; font-size: 11px; font-weight: 800; margin-bottom: 7px; }
#fan-team-search { width: 100%; min-height: 48px; padding: 12px 14px; border: 1px solid #9c708a; border-radius: 7px; background: #130f18; color: #fff0f9; font: 14px/1.4 var(--font-body); }
#fan-team-search::placeholder { color: #bfa7b9; opacity: 1; }
.fan-search-status { color: #d9bdce; font-size: 10px; line-height: 1.7; margin: 10px 0 14px; }
.fan-team-options { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 9px; margin: 0; padding: 0; list-style: none; }
.fan-team-options li { min-width: 0; }
.fan-team-option { display: flex; align-items: center; gap: 9px; width: 100%; height: 100%; min-height: 86px; padding: 11px 9px; border: 1px solid #745064; border-radius: 9px; background: #302230; color: #f0e1eb; font: 700 10px/1.45 var(--font-body); text-align: left; cursor: pointer; }
.fan-team-option:hover { border-color: #d694b8; background: #402639; }
.fan-team-option[aria-pressed=true] { border-color: #e9c579; background: #45302a; box-shadow: inset 0 0 0 1px #e9c579; }
.fan-team-option small { display: block; color: #cab0c1; font-size: 8px; letter-spacing: .05em; margin-top: 4px; }
.fan-option-mark { display: grid; place-items: center; width: 43px; height: 43px; flex: 0 0 43px; border-radius: 8px; background: linear-gradient(145deg,#fcf8ff,#c1b1c9); box-shadow: 0 3px 0 #75617c; }
.fan-option-mark img { width: 39px; height: 39px; object-fit: contain; filter: drop-shadow(0 3px 1px #34243f55); }
.fan-dialog-footer { display: flex; align-items: center; justify-content: space-between; gap: 18px; border-top: 1px solid #674656; padding-top: 13px; margin-top: 21px; }
.fan-dialog-footer > span { color: #bca5b5; font-size: 10px; line-height: 1.6; }
.fan-clear:disabled { color: #897383; cursor: default; }
.fan-zone-card button:focus-visible,.fan-zone-card a:focus-visible,.fan-team-dialog button:focus-visible,.fan-team-dialog input:focus-visible,.fan-copy-fallback textarea:focus-visible { outline: 2px solid #f5d68e; outline-offset: 3px; }
.favorite-team-filter { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; gap: 9px; border-radius: 6px; border: 1px solid #ad7295; padding: 9px 13px; background: #2c1e2a; color: #ecdfE8; font: 700 11px/1.2 var(--font-body); cursor: pointer; }
.favorite-team-filter[hidden] { display: none; }
.favorite-team-filter span { color: #f0bfda; font-size: 9px; }
.favorite-team-filter[aria-pressed=true] { background: #602e4c; color: #fff2f9; border-color: #dc8ab5; }
.game-center-grid .matchup-card.is-favorite-team { box-shadow: inset 3px 0 0 #e6a5c6,inset 0 1px 0 #f5cfdf24,0 6px 0 #0f0a10,0 16px 28px #0003; }
@media (max-width:950px) { .fan-zone-content { flex-wrap: wrap; gap: 21px; } .fan-zone-main { flex-basis: calc(100% - 116px); } .fan-zone-actions { margin-left: 109px; } .fan-team-options { grid-template-columns: repeat(3,minmax(0,1fr)); } }
@media (max-width:600px) { .fan-zone-card { padding: 22px 19px; } .fan-zone-content { gap: 17px; } .fan-featured-mark { width: 65px; height: 63px; flex-basis: 65px; border-radius: 14px; } .fan-featured-mark img { width: 59px; height: 59px; } .fan-zone-main { flex-basis: calc(100% - 86px); } .fan-zone-actions { margin-left: 0; width: 100%; } .fan-zone-actions .fan-primary { width: 100%; } .fan-secondary-actions { justify-content: flex-start; } .fan-team-options { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px; } .fan-team-dialog { padding: 22px 17px; } .fan-dialog-footer { align-items: flex-start; gap: 12px; } }
@media (prefers-reduced-motion:reduce) { .fan-featured-mark { transform: none; } }
.motion-off .fan-featured-mark { transform: none; }
/* Keep the native chooser readable without a horizontal scroll track on small phones. */
.fan-team-dialog { overflow-x: hidden; scrollbar-width: thin; scrollbar-color: #795168 #211923; }
.fan-team-dialog::-webkit-scrollbar { width: 8px; height: 8px; }
.fan-team-dialog::-webkit-scrollbar-track { background: #211923; }
.fan-team-dialog::-webkit-scrollbar-thumb { background: #795168; border: 2px solid #211923; border-radius: 8px; }
.fan-team-option > span:last-child { min-width: 0; overflow-wrap: anywhere; }
@media (max-width:480px) {
  .fan-team-options { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .fan-team-option { min-width: 0; min-height: 124px; flex-direction: column; align-items: center; justify-content: flex-start; gap: 11px; padding: 13px 8px; text-align: center; font-size: 12px; line-height: 1.4; }
  .fan-team-option > span:last-child { width: 100%; }
  .fan-team-option small { font-size: 9px; }
  .fan-option-mark { flex: 0 0 43px; }
}
