.player-games{background:#f5f6ff;flex-direction:column;min-height:100vh;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,sans-serif;display:flex}.masthead{color:#fff;background:linear-gradient(135deg,#667eea,#764ba2);padding:2.5rem 1.25rem 2rem}.masthead h1,.player-heading h2{text-overflow:ellipsis;white-space:nowrap;margin:.3rem 0 .8rem;font-size:clamp(1.5rem,8vw,3.4rem);line-height:.95;overflow:hidden}.masthead p:not(.eyebrow){color:#ece9ff;text-overflow:ellipsis;white-space:nowrap;margin:0;overflow:hidden}.masthead-profile-link{color:inherit;font-weight:800}.eyebrow{color:#ddd8ff;letter-spacing:.12em;text-transform:uppercase;margin:0;font-family:inherit;font-size:.7rem;font-weight:800}.lookup,.game-history,.status,.error{margin:1.25rem}.lookup{background:#fff;border:1px solid #dce0f5;padding:1rem;box-shadow:4px 4px #d9dcf0}.player-matches{background:#fff;border:1px solid #dce0f5;margin:-.5rem 1.25rem 1.25rem;padding:.75rem}.player-matches p{color:#5d6259;margin:0 0 .6rem;font-size:.85rem}.player-matches button{color:#252653;text-align:left;background:0 0;border-color:#c5c8e5;justify-content:space-between;align-items:center;width:100%;margin-top:.4rem;display:flex}.player-matches button small{color:#5d6259;font-weight:400}.lookup label,.year-filter{letter-spacing:.05em;text-transform:uppercase;font-family:inherit;font-size:.78rem;font-weight:800;display:block}.lookup-row{gap:.5rem;margin-top:.45rem;display:flex}.lookup input,.year-filter select{color:#252653;background:#fff;border:1px solid #afb4d5;border-radius:0;min-width:0;padding:.7rem}.lookup input{flex:1}button{color:#fff;cursor:pointer;background:#5b4bb7;border:1px solid #46358f;padding:.7rem .85rem;font-family:inherit;font-weight:800}button:disabled{cursor:wait;opacity:.6}.player-heading{border-bottom:3px solid #5b4bb7;justify-content:space-between;align-items:end;padding-bottom:.8rem;display:flex}.player-heading h2{margin-bottom:0;font-size:clamp(1.8rem,7vw,2.8rem)}.player-heading>span{font-family:Inter,ui-sans-serif,system-ui,sans-serif;font-size:.8rem}.profile-link,.opponent-profile-link{color:#5b4bb7;font-family:inherit;font-size:.8rem;text-decoration:none}.profile-link{font-weight:800}.opponent-profile-link{margin-left:.45rem;font-size:.72rem;font-weight:700}.opponent-club{font-weight:400}.type-tabs{margin:1.25rem 0;display:flex}.type-tabs button{color:#30324d;border:1px solid;flex:1}.type-tabs button+button{border-left:0}.type-tabs button.standard{background:#e0f1e7;border-color:#78ad8c}.type-tabs button.rapid{background:#dceeff;border-color:#8fb9e5}.type-tabs button.blitz{background:#fff0df;border-color:#e7aa65}.type-tabs button.standard.active{color:#fff;background:#237a46;border-color:#237a46}.type-tabs button.rapid.active{color:#fff;background:#5b4bb7;border-color:#5b4bb7}.type-tabs button.blitz.active{color:#fff;background:#c2410c;border-color:#c2410c}.summary-controls{justify-content:space-between;align-items:end;margin-bottom:1rem;display:flex}.record{gap:.7rem;display:flex}.record strong{font-family:inherit;font-size:1.5rem}.record small{color:#747367;margin-left:.08rem;font-size:.65rem}.record .wins{color:#237a46}.record .draws{color:#b77900}.record .losses{color:#c2410c}.year-filter{color:#536052}.year-filter select{max-width:145px;margin-top:.25rem;padding:.4rem;font-size:.8rem;display:block}.month{background:#fff;border:1px solid #dce0f5;border-radius:12px;margin-bottom:.75rem;overflow:hidden}.month summary{cursor:pointer;justify-content:space-between;align-items:center;padding:1rem;list-style:none;display:flex}.month summary::-webkit-details-marker{display:none}.month summary strong,.month summary small{display:block}.month summary small{color:#6d7066;margin-top:.3rem;font-family:inherit;font-size:.75rem}.month summary b,.game-topline,.game-card h3,.game-card dl{font-family:inherit}.game-list{border-top:1px solid #dce0f5;padding:.75rem}.load-current-ratings{margin:0 0 .75rem auto;font-size:.8rem;display:block}.game-card{background:#fff;border-left:5px solid #8c91b6;padding:.85rem .9rem}.game-card+.game-card{border-top:1px solid #e5e7f4}.game-card.win{background:linear-gradient(90deg,#dff3e6,#fff 25%);border-left-color:#28a745}.game-card.loss{background:linear-gradient(90deg,#fbe2e6,#fff 25%);border-left-color:#dc3545}.game-card.draw{background:linear-gradient(90deg,#fff2cf,#fff 25%);border-left-color:#d69e00}.game-topline{text-transform:capitalize;justify-content:space-between;display:flex}.game-card h3{margin:.55rem 0;font-size:1rem}.game-card dl{color:#5a5f54;margin:0;font-size:.78rem}.game-card dl div{grid-template-columns:6.5rem 1fr;gap:.75rem;padding:.15rem 0;display:grid}.game-card dt{font-weight:700}.game-card dd{margin:0}.rating-label{align-items:center;gap:.3rem;display:inline-flex;position:relative}.rating-help{color:#414775;background:#eef0fb;border-color:#9ba2cc;border-radius:50%;width:1.1rem;height:1.1rem;padding:0;font-size:.7rem;line-height:1}.rating-tooltip{color:#fff;z-index:1;background:#30324d;border-radius:5px;width:15rem;padding:.55rem .65rem;font-size:.72rem;font-weight:400;line-height:1.35;display:none;position:absolute;top:calc(100% + .35rem);left:0}.rating-help:hover+.rating-tooltip,.rating-help:focus+.rating-tooltip,.rating-tooltip.visible{display:block}.positive{color:#247044}.negative{color:#b33f24}.rating-comparison-change{font-weight:800}.empty-state,.status{color:#5d6259;font-style:italic}.error{color:#782916;background:#f7ded4;border-left:4px solid #c44b2c;padding:.85rem}.site-footer{color:#6d7066;text-align:center;margin-top:auto;padding:1rem 1.25rem;font-size:.72rem}.masthead{min-height:12.25rem}.month summary{gap:.65rem}.month summary>span{margin-right:auto}.month-triangle{font-style:normal;transition:transform .2s}.month[open] .month-triangle{transform:rotate(90deg)}.load-current-ratings{color:#365f91;background:#edf5ff;border-color:#9fc2e7;margin:0;padding:.45rem .55rem;font-size:.72rem}.load-current-ratings:hover{background:#dbeeff}.month:not([open]) .load-current-ratings{display:none}.month-triangle{color:#aeb5dd}.game-card{border-radius:10px;margin-bottom:.65rem}.game-card.win .result{color:#28a745}.game-card.loss .result{color:#dc3545}.game-card.draw .result{color:#d69e00}@media (width>=721px){.masthead{padding:3.5rem 2.5rem 2.75rem}.lookup,.player-matches,.game-history,.status,.error{margin-left:2.5rem;margin-right:2.5rem}}:root{color:#17231d;background:#e8e4d5;font-family:Georgia,Times New Roman,serif}html{scrollbar-gutter:stable}*{box-sizing:border-box}body{min-width:320px;margin:0}button,input,select{font:inherit}.app-shell{max-width:720px;min-height:100vh;margin:0 auto}
