.account-shell{max-width:1180px;padding:24px;margin:auto}.account-shell main{padding:25px 0;min-height:75vh}.account-header{display:flex;gap:20px;align-items:center;justify-content:space-between;flex-wrap:wrap}.account-header nav{display:flex;gap:8px;flex-wrap:wrap}.account-header nav .active{border-color:var(--amber);color:var(--amber)}.account-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(270px,1fr));gap:20px;margin-top:24px}.account-grid .panel{padding:24px}.account-grid h2{font-size:21px}.account-auth{max-width:440px;margin:20px auto}.account-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:15px}.account-playlist{display:flex;flex-direction:column;gap:12px}.account-playlist h2,.account-playlist p{margin:0}.account-playlist .account-actions{margin-top:auto}.account-shell .check-row{cursor:pointer}.account-shell .check-row input{width:auto}.account-shell table{width:100%}.account-shell th,.account-shell td{text-align:left;padding:12px}.account-shell .table-wrap{overflow:auto}.account-dialog-images{display:grid;grid-template-columns:repeat(auto-fill,minmax(180px,1fr));gap:10px}.account-dialog-images img{width:100%;height:auto}.account-tick{display:flex;gap:10px;align-items:center;margin:14px 0;font-size:13px}.account-tick input{width:auto}.account-role{font-size:12px;color:var(--amber)}#account-dialog{width:min(720px,95vw)}.account-shell .muted{line-height:1.6}
@media(max-width:600px){.account-shell{padding:16px}.account-header nav{width:100%;margin-left:0}.account-grid{grid-template-columns:1fr}.account-header .brand{font-size:25px}}

.history-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap}.history-heading h1,.history-heading h2{margin-bottom:8px}.history-filters .active{border-color:var(--amber);color:var(--amber)}.history-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin:24px 0}.history-stats .panel{padding:20px;display:flex;flex-direction:column;gap:8px}.history-stats strong{font-size:30px;color:var(--amber)}.history-stats span{font-size:13px}.history-list{display:grid;gap:16px;margin:24px 0}.history-game{padding:24px;min-width:0;overflow-wrap:anywhere}.history-game h2{font-size:21px}.history-rank{color:var(--amber);font-size:22px}.history-score{display:flex;gap:30px;flex-wrap:wrap;margin:20px 0}.history-score dt{font-size:12px;color:var(--muted)}.history-score dd{margin:8px 0;font-weight:600}.history-game summary{cursor:pointer;color:var(--amber);padding:8px 0}.history-rounds{list-style:none;padding:0;display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:10px}.history-rounds li{display:flex;justify-content:space-between;gap:10px;padding:12px;background:var(--bg);border-radius:8px;font-size:13px}
@media(max-width:600px){.history-stats{gap:8px}.history-stats .panel{padding:14px 10px}.history-stats span{font-size:11px}.history-stats strong{font-size:25px}.history-game{padding:18px}.history-filters{gap:6px}.history-score{gap:20px}}
