.start-actions { display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr); gap: 9px; margin-top: 20px; flex-shrink: 0; }
.start-actions .primary-button, .start-actions .log-entry { margin-top: 0; padding: 13px 10px; letter-spacing: 0; }
.start-actions .primary-button { font-size: 13px; }
.start-actions .log-entry { font-size: 10px; }
.touch-ui .start-actions { margin-top: 12px; }
.dialog { max-height: 100%; overflow-y: auto; }
.log-entry { display: flex; justify-content: space-between; align-items: center; width: 100%; min-height: 44px; border: 1px solid #526779; background: #20303d; padding: 10px 13px; font-size: 11px; letter-spacing: 1px; margin-top: 13px; flex-shrink: 0; }
.log-entry:hover { background: #2c4050; border-color: var(--blue); }
.log-entry span { color: var(--blue); font-size: 18px; }
.log-dialog { width: min(900px, calc(100% - 32px - var(--safe-left) - var(--safe-right))); max-height: calc(100dvh - 32px - var(--safe-top) - var(--safe-bottom)); padding: 0; margin: auto; overflow: auto; overscroll-behavior: contain; touch-action: pan-y; color: var(--cream); background: #121e28; border: 2px solid #b9cdd9; box-shadow: 0 0 0 4px #17212c, 0 24px 100px #07172280; }
.log-dialog::backdrop { background: #071523b8; }
.log-dialog [hidden] { display: none !important; }
.log-header { position: sticky; top: 0; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 25px; background: #172733; border-bottom: 1px solid #516b7d; z-index: 2; }
.log-eyebrow { color: #91abba; font-size: 10px; letter-spacing: 1.7px; }
.log-header h2 { margin: 7px 0 0; font: italic 36px/1 Impact, 'Arial Narrow', sans-serif; letter-spacing: .6px; }
.log-header h2 span { color: var(--blue); }
.log-close { align-self: flex-start; min-width: 70px; min-height: 44px; padding: 8px 10px; background: #253d4e; border: 1px solid #7c97a9; font-size: 11px; }
.log-content { padding: 20px 25px 24px; }
.log-intro { display: flex; align-items: center; gap: 16px; margin: 0 0 20px; }
.log-intro p { margin: 6px 0 0; color: #aabfcc; line-height: 1.6; font-size: 12px; }
.log-intro b { font-size: 15px; color: #d6fca4; }
.log-yeti { flex: 0 0 76px; height: 82px; border-bottom: 2px dashed #5c7d96; }
.log-sprite { display: block; width: 56px; height: 75px; flex-shrink: 0; background-repeat: no-repeat; image-rendering: pixelated; }
.log-yeti-sprite { width: 76px; height: 76px; }
.log-totals { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; margin: 0 0 12px; border-top: 1px solid #3c5363; border-left: 1px solid #3c5363; }
.log-stat { padding: 17px 16px; border-bottom: 1px solid #3c5363; border-right: 1px solid #3c5363; min-width: 0; background: #192b38; }
.log-stat:first-child { background: #26382e; }
.log-stat dt { font-size: 10px; letter-spacing: .6px; color: #b5c8d3; }
.log-stat dd { margin: 9px 0 8px; color: #f0f6f8; font-weight: bold; font-size: clamp(20px, 3vw, 29px); overflow-wrap: anywhere; }
.log-stat:first-child dd { color: var(--lime); }
.log-stat small { color: #9ab0be; font-size: 10px; line-height: 1.5; display: block; }
.log-legacy { font-size: 11px; line-height: 1.5; color: #b1c4d0; }
.log-section-title { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 26px 0 12px; }
.log-section-title h3 { margin: 0; font-size: 12px; letter-spacing: 1.3px; }
.log-section-title > span { color: #91adbf; font-size: 10px; text-align: right; }
.log-tricks { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; padding: 0; margin: 0; list-style: none; }
.log-trick { display: flex; align-items: center; gap: 9px; min-width: 0; padding: 6px 9px; border-bottom: 2px solid #46728b; background: #203341; }
.log-trick > div { min-width: 0; }
.log-trick b { display: block; font-size: 10px; color: #c1d5e3; }
.log-trick strong { display: block; color: var(--lime); font-size: 15px; margin: 7px 0; overflow-wrap: anywhere; }
.log-trick small { font-size: 10px; letter-spacing: 1px; color: #92aeba; }
.log-runs { list-style: none; padding: 0; margin: 0; }
.log-run { border-top: 1px solid #3a5364; }
.log-runs > li:last-child { border-bottom: 1px solid #3a5364; }
.log-run summary { display: grid; grid-template-columns: minmax(0, 1.8fr) minmax(0, 1fr) minmax(0, 1fr) 16px; gap: 12px; align-items: center; min-height: 78px; padding: 12px 4px; list-style: none; cursor: pointer; }
.log-run summary::-webkit-details-marker { display: none; }
.log-run summary:hover { background: #1f3442; }
.log-run summary:focus-visible { outline: 2px solid var(--lime); outline-offset: -2px; }
.log-run-label b { display: block; font-size: 13px; }
.log-run-label time { display: block; color: #9ab0bf; font-size: 10px; line-height: 1.5; margin-top: 7px; }
.log-run-value { text-align: right; min-width: 0; overflow-wrap: anywhere; }
.log-run-value b { display: block; font-size: 16px; }
.log-run-value small { display: block; color: #9ab0bf; font-size: 9px; margin-top: 7px; }
.log-expand { color: var(--blue); text-align: right; font-size: 22px; }
.log-run[open] .log-expand { transform: rotate(45deg); }
.log-run-detail { padding: 1px 14px 9px; background: #1d303e; border-left: 2px solid var(--blue); font-size: 11px; line-height: 1.7; overflow-wrap: anywhere; }
.log-run-detail p:first-child { color: #cfe6f3; }
.log-run-detail p:last-child { color: #b3cc9c; }
.log-empty { padding: 25px 20px; text-align: center; border: 1px dashed #526f83; background: #1a2c39; }
.log-empty b { display: block; font-size: 17px; color: #d5e9f5; }
.log-empty p { margin-bottom: 0; font-size: 12px; color: #a0b8c7; line-height: 1.7; }
.log-more { width: 100%; margin-top: 12px; min-height: 44px; background: #223b4b; border: 1px solid #658396; font-size: 11px; }
.log-storage { padding-top: 18px; margin: 20px 0 0; border-top: 1px dashed #475d6d; font-size: 10px; line-height: 1.6; color: #9bb6c8; }
.log-save-warning { color: #ffd793; }
@media (max-width: 600px) {
  .log-dialog { width: calc(100% - 20px - var(--safe-left) - var(--safe-right)); max-height: calc(100dvh - 20px - var(--safe-top) - var(--safe-bottom)); }
  .log-header { padding: 14px; gap: 8px; }
  .log-header h2 { font-size: 28px; }
  .log-eyebrow { font-size: 8px; letter-spacing: 1px; }
  .log-content { padding: 16px 14px; }
  .log-intro { gap: 10px; }
  .log-intro b { font-size: 13px; }
  .log-intro p { font-size: 11px; }
  .log-totals { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .log-stat { padding: 13px 10px; }
  .log-stat dt { font-size: 9px; }
  .log-stat small { font-size: 9px; }
  .log-tricks { grid-template-columns: 1fr; gap: 7px; }
  .log-trick { gap: 17px; padding: 0 10px; }
  .log-trick > div { flex: 1; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 5px; }
  .log-trick strong { grid-column: 2; grid-row: span 2; font-size: 17px; }
  .log-trick small { grid-row: 2; }
  .log-trick .log-sprite { width: 45px; height: 60px; }
  .log-run summary { gap: 7px; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr) minmax(0, 1fr) 12px; }
  .log-run-label b { font-size: 11px; }
  .log-run-value b { font-size: 13px; }
  .log-run-value small { font-size: 8px; }
}
