.game-layout { grid-template-columns: minmax(0, 1fr); }
.history-drawer-panel { position: static; padding: 0; box-shadow: var(--shadow-sm); }
.history-drawer { width: 100%; }
.history-drawer summary { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1rem 1.25rem; cursor: pointer; list-style: none; }
.history-drawer summary::-webkit-details-marker { display: none; }
.history-drawer summary > span:first-child { display: grid; gap: .15rem; }
.history-drawer summary strong { font-size: 1rem; }
.history-summary-meta { display: flex; align-items: center; gap: .7rem; }
.history-toggle-copy { color: var(--sea); font-size: .78rem; font-weight: 850; }
.history-drawer[open] .history-toggle-copy { font-size: 0; }
.history-drawer[open] .history-toggle-copy::after { font-size: .78rem; content: "Hide"; }
.history-drawer-content { padding: 0 1.25rem 1.25rem; border-top: 1px solid var(--line); }
.history-drawer-content .trait-legend { margin: .9rem 0; }
.history-drawer-content .empty-state { min-height: 160px; }
@media (max-width: 640px) { .history-drawer summary { padding: .9rem 1rem; } .history-drawer-content { padding: 0 1rem 1rem; } }
