/* PuckDrafts polish layer: transition continuity, responsive directory and portrait treatment. */
:root{--pd-ease:cubic-bezier(.22,1,.36,1);--pd-gold:#caa86f}
html{color-scheme:light}
html[data-theme="dark"]{color-scheme:dark}
html.theme-animating,html.theme-animating body,html.theme-animating .sidebar,
html.theme-animating .hero,html.theme-animating .hero *,html.theme-animating .topbar,
html.theme-animating .card,html.theme-animating .metric-card,html.theme-animating .player-card,
html.theme-animating .searchbar,html.theme-animating .input,html.theme-animating input,
html.theme-animating select,html.theme-animating .game-card,html.theme-animating .competition-hub-card,
html.theme-animating .home-competition-links button,html.theme-animating .live-pool-player,
html.theme-animating .navlink,html.theme-animating .btn,html.theme-animating .theme-switch,
html.theme-animating .account-link,html.theme-animating .league-button,html.theme-animating .source-row,
html.theme-animating .modal,html.theme-animating .modal-note,html.theme-animating .page-heading,
html.theme-animating .status-banner,html.theme-animating .brand,
html.theme-animating .competition-hub-note,html.theme-animating .site-legal-footer{
 transition:background-color .42s var(--pd-ease),color .42s var(--pd-ease),border-color .42s var(--pd-ease),box-shadow .42s var(--pd-ease)!important
}
@media(prefers-reduced-motion:reduce){
 html.theme-animating,html.theme-animating *{transition-duration:0ms!important;animation-duration:0ms!important;scroll-behavior:auto!important}
}
.searchbar{background:var(--white)!important;border:1px solid var(--line)!important;transition:border-color .2s,box-shadow .2s;min-width:0;color:var(--ink)!important}
.searchbar:focus-within{border-color:#ae9465!important;box-shadow:0 0 0 3px rgba(192,162,108,.15)}
.searchbar input,.searchbar input:not([type="checkbox"]){background:transparent!important;color:var(--ink)!important;border:0!important;outline:0!important;box-shadow:none!important;min-width:0}
.searchbar input::placeholder{color:var(--secondary);opacity:.9}
.searchbar .searchicon{color:var(--blue)}
.searchbar .shortcut{background:transparent;color:var(--secondary);font-size:9px;letter-spacing:.09em}
html[data-theme="dark"] .searchbar{background:#16263b!important;border-color:#496077!important;box-shadow:0 9px 25px rgba(0,0,0,.07)}
html[data-theme="dark"] .searchbar input:not([type="checkbox"]){background:transparent!important}
html[data-theme="dark"] .searchbar .shortcut{color:#9cacc2}
.directory-control{align-items:stretch}
.directory-control>select{min-width:0}
.directory-meta{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}
#player-count{font-weight:800;font-variant-numeric:tabular-nums}
#player-feed{font-weight:600}
.players-grid{gap:15px}
.player-card{position:relative;min-height:260px;overflow:hidden;isolation:isolate;transition:transform .24s var(--pd-ease),border-color .24s,box-shadow .24s}
.player-card:hover{transform:translateY(-4px);box-shadow:0 14px 40px rgba(17,33,56,.12);border-color:#b8a07a}
.player-card-top{margin-bottom:13px;min-height:145px;position:relative}
.player-card-top .avatar-lg{width:132px;height:145px;border-radius:15px;object-fit:cover;object-position:center 20%;background:#e7dfd1;box-shadow:0 4px 12px #050b1420}
.player-card .player-name{font-weight:850;letter-spacing:-.035em;font-size:16px;margin-bottom:12px}
.player-card-footer{padding-top:2px}
.player-card .pos-chip{z-index:2}
.player-card .photo-tag{display:inline-flex;align-items:center;position:absolute;bottom:0;right:0;border-radius:5px 0 0 0;background:rgba(9,17,29,.75);color:#fff;font-size:9px;padding:3px 6px;letter-spacing:.01em}
.player-card:has(.photo-tag){border-color:#b0a18a}
#player-more-wrap{display:flex;justify-content:center;align-items:center;padding:25px 0 16px;gap:12px}
#player-more-wrap[hidden]{display:none}
#players-show-more{min-width:190px}
#player-note{max-width:800px;font-size:11px;line-height:1.7}
.pd-league-mark{height:100%;width:100%;min-width:22px;display:block;color:var(--mark-accent,#d7b77a)}
.pd-mark-lines{stroke-linecap:round;stroke-linejoin:round}
.competition-hub-icon{overflow:hidden;padding:6px!important;flex-shrink:0}
.competition-hub-icon .pd-league-mark{height:100%;width:100%}
.home-competition-links button{display:grid;grid-template-columns:33px 1fr;grid-template-rows:auto auto;gap:0 8px;align-items:center}
.home-competition-links .pd-home-mark{position:static!important;display:block;grid-row:1/3;grid-column:1;width:31px;height:38px}
.home-competition-links .pd-home-mark .pd-league-mark{width:31px;height:38px}
.home-competition-links button strong{grid-column:2;grid-row:1}
.home-competition-links button small{grid-column:2;grid-row:2}
.home-competition-links button>span:last-child:not(.pd-home-mark){position:absolute;top:20px;right:11px}
.league-button{display:inline-flex;align-items:center;justify-content:center;gap:5px}
.pd-tab-mark{display:inline-block;position:static!important;width:18px;height:20px}
.pd-tab-mark .pd-league-mark{height:20px;width:18px}
html[data-theme="dark"] .player-card{background:linear-gradient(165deg,#192d45,#142238)!important}
html[data-theme="dark"] .player-card:hover{border-color:#d7b77a!important;box-shadow:0 17px 42px #0005}
html[data-theme="dark"] .player-card-top .avatar-lg{background:#263448}
html[data-theme="dark"] .player-card .photo-tag{background:rgba(4,12,23,.78)}
html[data-theme="dark"] .directory-meta{color:#a8b9cc}
html[data-theme="dark"] #view-players .directory-control .input{background:#16263b!important;border-color:#496077!important;color:#f5f6fa!important}
html[data-theme="dark"] .home-competition-links button:hover,html[data-theme="dark"] .competition-hub-card:hover{border-color:#d7b77a!important}
html[data-theme="dark"] .site-legal-footer{background:#0e1b2d;color:#b7c6d9;border-color:#34455d}
html[data-theme="dark"] .site-legal-footer a{color:#e0c58f}
html[data-theme="dark"] .headshot-sm{background:#263448}
@media(max-width:1100px){.player-card-top .avatar-lg{width:115px;height:130px}.player-card-top{min-height:130px}}
@media(max-width:750px){.player-card-top .avatar-lg{width:104px;height:117px}.player-card-top{min-height:117px}.player-card{min-height:230px}.home-competition-links button{grid-template-columns:28px 1fr;gap:0 7px}}
@media(max-width:490px){.player-card-top .avatar-lg{width:94px;height:102px}.player-card-top{min-height:102px}.player-card{min-height:210px}.player-card .player-name{font-size:14px}.directory-control{gap:10px}}
