/* BETA: readable stats, consistent numeric alignment and screenshot composer. */
html body #view-players .player-tools{padding:18px!important;gap:16px!important}
html body #view-players .player-utility{gap:16px!important;margin-top:16px!important;align-items:center!important}
html body #view-players .score-legend{display:flex!important;flex-wrap:wrap!important;gap:10px 22px!important;padding:12px 16px!important;max-width:none!important;line-height:1.5!important;background:#f2f7f8!important;color:#294b61!important}
html body #view-players .score-legend :is(strong,span,em){font-size:14px!important;line-height:1.5!important;font-style:normal!important;color:#294b61!important}
html body #view-players .score-legend strong{font-weight:800!important}
html body #view-players .player-table{font-variant-numeric:tabular-nums!important}
html body #view-players .player-table th{background:#e3eef1!important;color:#153d55!important;padding:15px 12px!important;font-size:14px!important;line-height:1.4!important;font-weight:800!important}
html body #view-players .player-table th button{font-size:14px!important;line-height:1.4!important;font-weight:800!important;color:#153d55!important;min-height:32px!important;letter-spacing:0!important}
html body #view-players .player-table th :is(span,small,b){font-size:14px!important;line-height:1.4!important;color:#153d55!important}
html body #view-players .player-table td{font-size:16px!important;line-height:1.45!important;padding:15px 12px!important;color:#24465b!important}
html body #view-players .player-table td strong{font-size:16px!important;font-weight:800!important;color:#123d65!important}
html body #view-players .player-table :is(th,td):nth-child(n+4){text-align:center!important}
html body #view-players .player-table td.player-total{font-size:20px!important;font-weight:850!important;color:#006b55!important;background:#eaf7f1!important}
html body #view-players .player-table td.prov-cell{color:#815300!important;background:#fff4d6!important}
html body #view-players .player-table .owned-button{font-size:16px!important;font-weight:750!important;min-width:38px!important;min-height:32px!important;color:#17527a!important}
html body #view-players .player-table .price-cell span{font-size:16px!important;font-weight:750!important}
html body #view-players .player-table tbody tr:nth-child(even){background:#f7fafc!important}
html body #view-players .player-table tbody tr:hover{background:#eef7f5!important}
html body #view-players [class*="pa-legend"]{font-size:14px!important;line-height:1.6!important;gap:10px 18px!important;padding:12px 16px!important;flex-wrap:wrap!important;color:#294b61!important}
html body #view-players [class*="pa-legend"] :is(span,b,strong){font-size:14px!important;line-height:1.6!important}
html body #view-players .pa-badge{font-size:13px!important;line-height:1.35!important;padding:2px 7px!important}
html body #view-grades .ask-attachments{margin:0 0 12px;padding:14px 16px;border:1px solid #627b80;border-radius:14px;background:#f6f9fc;color:#203c52}
html body #view-grades .ask-attachment-toolbar{display:flex;flex-wrap:wrap;align-items:center;gap:12px}
html body #view-grades #askAddImage{padding:10px 14px;min-height:44px;border:1px solid #667787;border-radius:9px;background:#fff;color:#263c60;font-size:15px;font-weight:750;cursor:pointer}
html body #view-grades .ask-attachment-toolbar span,html body #view-grades .ask-attachments>small{font-size:13px;line-height:1.5;color:#395366}
html body #view-grades .ask-attachments>small{display:block;margin-top:8px}
html body #view-grades .ask-image-list{display:flex;flex-wrap:wrap;gap:12px}
html body #view-grades .ask-image-list figure{position:relative;margin:12px 0 0;width:160px;padding:8px;background:#fff;border:1px solid #c8d4df;border-radius:10px}
html body #view-grades .ask-image-list img{display:block;width:100%;height:94px;object-fit:contain;background:#e7eef3;border-radius:5px}
html body #view-grades .ask-image-list figcaption{font-size:12px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;margin-top:6px}
html body #view-grades .ask-image-list button{position:absolute;right:0;top:0;width:32px;height:32px;border-radius:50%;background:#fff;color:#9b2438;border:1px solid #b26a77;font-size:23px;cursor:pointer}
html body #view-grades .ask-image-note{display:block;color:inherit;font-size:13px;margin-top:10px}
html body #view-grades .ask-dasm-tools button{font-size:13px!important;min-height:40px!important;padding:9px 13px!important}
html body #view-grades .ask-dasm-tools>small,html body #view-grades .ask-stage-note{font-size:13px!important;line-height:1.5!important}
@media(min-width:761px){html body #view-players .player-table-wrap{overflow-x:auto!important}html body #view-players .player-table{min-width:940px!important}html body #view-players .player-table :is(th,td):first-child{width:25%!important}html body #view-players .player-table :is(th,td):nth-child(2){width:9%!important}html body #view-players .player-table :is(th,td):nth-child(3){width:7%!important}}
@media(max-width:760px){html body #view-players .player-tools{padding:12px!important}html body #view-players .player-table td{padding:10px!important;font-size:15px!important}html body #view-players .player-table td::before{font-size:12px!important;color:#365569!important}html body #view-grades .ask-attachments{padding:12px}html body #view-grades .ask-image-list figure{width:125px}}

/* Retire the legacy Month* pseudo-label, which hides the real sortable heading at 0px. */
html body #view-players #playerList.player-table-wrap .player-table thead tr th button[data-player-sort="month_points"]{font-size:14px!important;color:#153d55!important}
html body #view-players #playerList.player-table-wrap .player-table thead tr th button[data-player-sort="month_points"]::after{content:none!important;display:none!important}


/* R8.166 compact upload control beside the microphone. */
html body #view-grades .ask-dasm-ai .ask-dasm-panel .ask-dasm-entry{display:grid!important;grid-template-columns:minmax(0,1fr) 60px 80px 116px!important;gap:12px!important;align-items:center!important}
html body #view-grades .ask-dasm-ai .ask-dasm-panel .ask-dasm-entry #askDasmInput{grid-column:1!important;grid-row:1!important;width:100%!important;min-width:0!important;margin:0!important}
html body #view-grades .ask-dasm-ai .ask-dasm-panel .ask-dasm-entry #askAddImage{grid-column:2!important;grid-row:1!important;position:relative!important;display:flex!important;align-items:center!important;justify-content:center!important;width:56px!important;min-width:56px!important;height:56px!important;min-height:56px!important;padding:10px!important;margin:0!important;border:1px solid #b47be6!important;border-radius:16px!important;color:#f0e4ff!important;background:radial-gradient(circle at 35% 16%,#9551c9 0%,#593081 43%,#251c39 100%)!important;box-shadow:inset 0 1px 1px #e7caff66,0 0 16px #a64eff33!important;cursor:pointer!important}
html body #view-grades .ask-dasm-ai .ask-dasm-panel #askAddImage svg{display:block;width:32px;height:32px;filter:drop-shadow(0 1px 3px #0008)}
html body #view-grades .ask-dasm-ai .ask-dasm-panel #askAddImage:hover:not(:disabled){border-color:#e0b9ff!important;box-shadow:0 0 19px #ac65e766!important}
html body #view-grades .ask-dasm-ai .ask-dasm-panel #askAddImage:focus-visible{outline:3px solid #d9b4ff!important;outline-offset:4px!important}
html body #view-grades .ask-dasm-ai .ask-dasm-panel #askAddImage:disabled{opacity:.45!important;cursor:default!important}
html body #view-grades .ask-upload-count{position:absolute;right:-5px;top:-6px;display:grid;place-items:center;width:22px;height:22px;border-radius:50%;background:#b7ef35;color:#172930;font-size:12px;font-weight:800}
html body #view-grades .ask-dasm-ai .ask-dasm-panel .ask-dasm-entry #askDasmVoice{grid-column:3!important;grid-row:1!important;position:relative!important;margin:0!important;justify-self:center!important}
html body #view-grades .ask-dasm-ai .ask-dasm-panel .ask-dasm-entry #askDasmVoice{background:transparent url('/dasm-ai-mic-agreed-20260925.webp') center/contain no-repeat!important}
html body #view-grades .ask-dasm-ai .ask-dasm-panel .ask-dasm-entry #askDasmSend:not(.is-checking){min-height:56px!important;height:56px!important}
html body #view-grades .ask-dasm-ai .ask-dasm-panel .ask-dasm-entry #askDasmSend{grid-column:4!important;grid-row:1!important;margin:0!important;justify-self:end!important;align-self:center!important}
html body #view-grades .ask-dasm-ai .ask-dasm-panel .ask-attachments-compact{margin:0 0 12px!important;padding:0!important;border:0!important;background:transparent!important;box-shadow:none!important}
html body #view-grades .ask-attachments-compact .ask-image-list{align-items:center}
html body #view-grades .ask-attachments-compact .ask-image-list>span{color:#e1d2f2;font-size:14px}
html body #view-grades .ask-attachments-compact .ask-image-list figure{margin:0!important;width:112px!important;padding:6px!important;border-color:#9765b8!important;background:#241e32!important;color:#eee3ff!important}
html body #view-grades .ask-attachments-compact .ask-image-list img{height:60px!important;background:#e9e4ef!important}
@media(max-width:760px){
html body #view-grades .ask-dasm-ai .ask-dasm-panel .ask-dasm-entry{grid-template-columns:minmax(0,1fr) 52px 60px 96px!important;gap:10px!important}
html body #view-grades .ask-dasm-ai .ask-dasm-panel .ask-dasm-entry #askDasmInput{grid-column:1/-1!important;grid-row:1!important}
html body #view-grades .ask-dasm-ai .ask-dasm-panel .ask-dasm-entry #askAddImage{grid-row:2!important;width:48px!important;min-width:48px!important;height:48px!important;min-height:48px!important;border-radius:14px!important}
html body #view-grades .ask-dasm-ai .ask-dasm-panel .ask-dasm-entry #askDasmVoice,html body #view-grades .ask-dasm-ai .ask-dasm-panel .ask-dasm-entry #askDasmSend{grid-row:2!important}
}
