#decade-game #player-profile{margin:8px 0;font-size:12px}
#player-profile summary{cursor:pointer;min-height:30px;line-height:30px}
.profile-fields{display:flex;gap:12px;flex-wrap:wrap;margin:8px 0}.profile-fields label{flex:1;min-width:120px}.profile-fields input,.profile-fields select{display:block;width:100%;box-sizing:border-box;font:inherit;padding:8px;color:inherit;background:#fffef8;border:1px solid #ccd6c2;border-radius:5px}
#player-context{font-size:13px;margin:8px 0}#human-rights-note{display:block;font-size:11px;max-width:240px}
#score-history{margin:24px 0;padding:16px;border:1px solid #ccd6c2;border-radius:10px;background:#fffef8}#score-history[hidden]{display:none}
#score-history h2{font-size:24px}#score-history h3{font:16px Arial,sans-serif;margin:12px 0}
.trend-tabs,.trend-legend{display:flex;flex-wrap:wrap;gap:6px}.trend-tabs button,.trend-legend button{font:12px/1.3 Arial,sans-serif;padding:8px;min-height:44px;background:#f6f5ee;color:#183e32;border:1px solid #ccd6c2;border-radius:5px;cursor:pointer}
.trend-tabs button[aria-pressed=true]{background:#183e32;color:white}.trend-legend button{border-left:5px solid var(--series-color)}.trend-legend button[aria-pressed=false]{opacity:.55;text-decoration:line-through}
.trend-panel svg{display:block;width:100%;height:auto;overflow:visible;color:#183e32}.trend-panel[hidden]{display:none}.trend-data{margin-top:12px;font-size:12px}.trend-table-scroll{overflow:auto;max-height:260px}.trend-table-scroll td,.trend-table-scroll th{padding:5px;text-align:right;white-space:nowrap}
#omm-animation .an-symbols{min-height:32px}#omm-animation .an-symbol{min-height:28px}
@media print{#player-profile,#player-context,#human-rights-note,.trend-tabs,.trend-data{display:none!important}#decade-game>section#score-history{display:block!important;break-before:page}.trend-panel[hidden]{display:block!important}#score-history .trend-panel{display:block!important;break-inside:avoid}.trend-panel polyline{display:block!important}.trend-legend button{opacity:1!important;text-decoration:none!important}.trend-legend{margin-bottom:18px}}

#instructions-panel{margin:8px 0}#instructions-panel summary{font:16px/1.5 Arial,sans-serif;cursor:pointer;padding:6px 0}@media print{#instructions-panel{display:none!important}}

/* Compact introduction; preserve the 44px instruction touch target. */
#decade-game{padding-top:8px}
#decade-game>header{margin:0}
#decade-game #instructions-panel{margin:4px 0 0}
#decade-game #instructions-panel summary{margin:0;padding:0;min-height:44px}
#decade-game #player-profile{margin:0 0 4px}
#decade-game .project-status.sr{margin:0;padding:0}

/* Keep the five paired dashboard categories aligned as text wraps. */
#decade-game .dashboard{grid-template-rows:auto repeat(5,auto);align-items:stretch}
#decade-game .dashboard-group{display:grid;grid-template-rows:subgrid;grid-row:span 6}
#decade-game .dashboard-rows{display:contents}

#decade-game .result-table th:first-child{width:70%}

/* Integrated column animations: one heading per side, with less empty space. */
#game-animation{margin:0}
#omm-animation{padding:0}
#decade-game .dashboard{grid-template-rows:auto auto repeat(5,auto)}
#decade-game .dashboard-group{grid-row:span 7}
#omm-animation .an-scene{height:120px}
#omm-animation .an-symbols{margin:0}
#decade-game .journey{margin-top:6px}
#decade-game .playback{margin:6px 0}
#decade-game .taskbar,#decade-game .headline-metrics{margin:8px 0}
#decade-game .intro{margin-bottom:12px}

/* Three equally sized, compact navigation rows with generous touch targets. */
#decade-game #instructions-panel summary,#decade-game #player-profile summary,#decade-game #graph-link{font:14px/1.4 Arial,sans-serif;min-height:44px;padding:0;margin:0;display:flex;align-items:center;color:var(--ink);text-decoration:none}
#decade-game #player-profile{margin:0}
#graph-link>span:first-child{margin-right:6px}
#graph-link:focus-visible{outline:2px solid var(--green);outline-offset:2px}
#score-history{scroll-margin-top:16px}
#score-history .trend-legend{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:4px}
#score-history .trend-legend button{font-size:11px;padding:4px 2px;min-width:0;min-height:44px;border-left-width:3px;overflow-wrap:anywhere}
.trend-baseline{font:11px/1.4 Arial,sans-serif;color:var(--muted);margin:2px 0 4px}
#decade-game .metric-baseline{margin:0;text-align:center;font-size:10px}
@media(min-width:700px){#score-history .trend-legend{grid-template-columns:repeat(5,minmax(0,1fr))}#score-history .trend-legend button{font-size:12px}}
@media print{#graph-link{display:none!important}}
