body[data-page=history]{--history-bg: oklch(97.05915% .0034437 174.4833);--history-surface: oklch(99.3% .002 174.4833);--history-fg: oklch(41.35114% .0230161 208.78862);--history-muted: oklch(48% .019 208.78862);--history-border: oklch(85% .012 208.78862);--history-accent: oklch(57.97414% .0898638 221.57184);--history-font-display: "Avenir Next", "Trebuchet MS", "PingFang SC", "Microsoft YaHei", sans-serif;--history-font-body: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;--history-font-mono: "SFMono-Regular", Consolas, "Liberation Mono", monospace;--history-hover: oklch(91% .009 208.78862);--history-hover-fg: oklch(30% .023 208.78862);--history-focus: oklch(48% .1 221.57184);--history-primary-bg: oklch(54% .0898638 221.57184);--history-primary-fg: oklch(100% 0 0);--history-primary-hover: oklch(46% .0898638 221.57184);--history-error-fg: oklch(44% .13 28);--history-error-bg: oklch(96% .015 28);--history-success-fg: oklch(39% .06 166);--history-success-bg: oklch(95% .015 166);color-scheme:light}html[data-night-background="1"] body[data-page=history]{--history-bg: oklch(22% .014 208.78862);--history-surface: oklch(26% .015 208.78862);--history-fg: oklch(93% .008 208.78862);--history-muted: oklch(75% .015 208.78862);--history-border: oklch(44% .019 208.78862);--history-accent: oklch(75% .09 221.57184);--history-hover: oklch(20% .016 208.78862);--history-hover-fg: oklch(99% .002 208.78862);--history-focus: oklch(80% .095 221.57184);--history-primary-bg: var(--history-accent);--history-primary-fg: oklch(19% .025 221.57184);--history-primary-hover: oklch(83% .08 221.57184);--history-error-fg: oklch(85% .07 28);--history-error-bg: oklch(30% .03 28);--history-success-fg: oklch(86% .055 166);--history-success-bg: oklch(30% .025 166);color-scheme:dark}body[data-page=history] .history-shell *{box-sizing:border-box}body[data-page=history] .history-shell [hidden]{display:none!important}body[data-page=history]{margin:0;background:var(--history-bg);color:var(--history-fg);font:14px/1.75 var(--history-font-body);-webkit-font-smoothing:antialiased}body[data-page=history] .history-shell h1,body[data-page=history] .history-shell h2,body[data-page=history] .history-shell h3,body[data-page=history] .history-shell p,body[data-page=history] .history-shell dl,body[data-page=history] .history-shell dd,body[data-page=history] .history-shell figure{margin:0}body[data-page=history] .history-shell h1,body[data-page=history] .history-shell h2,body[data-page=history] .history-shell h3{font-family:var(--history-font-body);font-weight:600;letter-spacing:0;line-height:1.35;text-wrap:pretty}body[data-page=history] .history-shell h1{font-size:32px}body[data-page=history] .history-shell h2{font-size:20px}body[data-page=history] .history-shell h3{font-size:14px}body[data-page=history] .history-shell p,body[data-page=history] .history-shell span,body[data-page=history] .history-shell h1,body[data-page=history] .history-shell h2,body[data-page=history] .history-shell h3,body[data-page=history] .history-shell dd,body[data-page=history] .history-shell dt,body[data-page=history] .history-shell button,body[data-page=history] .history-shell label,body[data-page=history] .history-shell time,body[data-page=history] .history-shell code{overflow-wrap:anywhere}body[data-page=history] .history-shell p{text-wrap:pretty}body[data-page=history] .history-shell button,body[data-page=history] .history-shell select,body[data-page=history] .history-shell input{font:inherit;color:var(--history-fg);min-width:0;min-height:44px;border:1px solid var(--history-border);border-radius:7px;padding:8px 12px;background:var(--history-surface)}body[data-page=history] .history-shell button,body[data-page=history] .history-shell select{letter-spacing:.02em;cursor:pointer;touch-action:manipulation}body[data-page=history] .history-shell button{min-width:44px;font-weight:500}body[data-page=history] .history-shell button:hover,body[data-page=history] .history-shell select:hover{background:var(--history-hover);color:var(--history-hover-fg);border-color:var(--history-fg)}body[data-page=history] .history-shell button:active{background:var(--history-hover);color:var(--history-hover-fg);box-shadow:inset 0 -2px currentColor}body[data-page=history] .history-shell button:disabled{opacity:.42;cursor:not-allowed;box-shadow:none}body[data-page=history] .history-shell input:hover{border-color:var(--history-fg)}body[data-page=history] .history-shell input::placeholder{color:var(--history-muted);opacity:1}body[data-page=history] .history-shell :where(button,select,input,summary,[tabindex]):focus-visible{outline:3px solid var(--history-focus);outline-offset:3px}body[data-page=history] .history-shell select,body[data-page=history] .history-shell input{width:100%}body[data-page=history] .history-shell svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}body[data-page=history] .history-shell{width:min(1160px,calc(100% - 64px));margin-inline:auto}body[data-page=history] .history-small,body[data-page=history] .history-field-label,body[data-page=history] .history-shell dt,body[data-page=history] .history-meta{font-size:12px;line-height:1.5;letter-spacing:.01em;color:var(--history-muted)}body[data-page=history] .history-topbar{min-height:80px;display:flex;align-items:center;gap:28px;border-bottom:1px solid var(--history-border)}body[data-page=history] .history-wordmark{font:600 24px/1.3 var(--history-font-display);letter-spacing:-.02em;margin-right:auto}body[data-page=history] .history-wordmark span{font-size:12px;letter-spacing:.1em;margin-left:5px}body[data-page=history] .history-navigation{display:flex;flex-wrap:wrap;gap:4px}body[data-page=history] .history-ghost{background:transparent;border-color:transparent}body[data-page=history] .history-intro{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;padding:32px 0 24px}body[data-page=history] .history-intro p{color:var(--history-muted);margin-top:8px;max-width:65ch}body[data-page=history] .history-filters{display:grid;grid-template-columns:minmax(172px,.95fr) minmax(0,1.15fr) minmax(0,1fr) minmax(0,1.65fr);gap:20px;padding:20px 0;border-block:1px solid var(--history-border)}body[data-page=history] .history-field{min-width:0;display:grid;align-content:start;gap:6px}body[data-page=history] .history-shell fieldset{margin:0;padding:0;border:0;min-width:0}body[data-page=history] .history-shell legend{padding:0;margin-bottom:6px}body[data-page=history] .history-segment{display:grid;grid-template-columns:1fr 1fr;gap:2px;padding:3px;border-radius:7px;background:color-mix(in oklch,var(--history-border) 25%,var(--history-bg))}body[data-page=history] .history-filters select,body[data-page=history] .history-filters input[type=search]{min-height:50px}body[data-page=history] .history-toolbar{display:flex;justify-content:space-between;flex-wrap:wrap;gap:12px 24px;align-items:center;padding:18px 0 12px}body[data-page=history] .history-actions{display:flex;align-items:center;flex-wrap:wrap;gap:6px}body[data-page=history] .history-primary{background:var(--history-primary-bg);color:var(--history-primary-fg);border-color:var(--history-primary-bg);font-weight:600}body[data-page=history] .history-primary:hover,body[data-page=history] .history-primary:active{background:var(--history-primary-hover);color:var(--history-primary-fg);border-color:var(--history-primary-hover)}body[data-page=history] .history-sort{display:flex;align-items:center;gap:10px}body[data-page=history] .history-sort select{width:auto;max-width:100%}body[data-page=history] .history-scope{display:flex;justify-content:space-between;flex-wrap:wrap;gap:6px 20px;padding-bottom:14px}body[data-page=history] .history-pagination{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:12px 0;border-block:1px solid var(--history-border)}body[data-page=history] .history-page-buttons{display:flex;align-items:center;gap:10px}body[data-page=history] .history-page-label{text-align:center;min-width:76px;font-variant-numeric:tabular-nums}body[data-page=history] .history-list-heading{display:grid;grid-template-columns:106px minmax(0,1.25fr) minmax(0,1fr) minmax(0,1.1fr) 156px;gap:24px;padding:12px 0}body[data-page=history] .history-item{border-top:1px solid var(--history-border);padding:16px 0}body[data-page=history] .history-record-main{display:grid;grid-template-columns:106px minmax(0,1.25fr) minmax(0,1fr) minmax(0,1.1fr) 156px;gap:24px;align-items:start}body[data-page=history] .history-record-main>*{min-width:0}body[data-page=history] .history-record-meta{margin-top:5px}body[data-page=history] .history-record-time{display:block;margin-top:9px;font-variant-numeric:tabular-nums}body[data-page=history] .history-record-id{display:block;margin-top:3px}body[data-page=history] .history-score{font-size:20px;font-weight:600;line-height:1.35;font-variant-numeric:tabular-nums;margin-top:2px}body[data-page=history] .history-submetrics{display:flex;flex-wrap:wrap;gap:3px 14px;margin-top:7px}body[data-page=history] .history-submetrics div{display:flex;flex-wrap:wrap;gap:3px 5px}body[data-page=history] .history-submetrics dd{font-size:12px;line-height:1.5;font-variant-numeric:tabular-nums}body[data-page=history] .history-owner-tag{font-weight:500;line-height:1.5}body[data-page=history] .history-sync-badge{display:flex;align-items:center;gap:6px;margin-top:9px;font-size:12px;line-height:1.5}body[data-page=history] .history-sync-badge:before{content:"";width:5px;height:5px;border-radius:50%;background:currentColor;flex-shrink:0}body[data-page=history] .history-eligibility{display:block;margin-top:4px}body[data-page=history] .history-item-actions{display:grid;grid-template-columns:1fr 1fr;gap:2px}body[data-page=history] .history-item-actions button{font-size:12px;padding:6px}body[data-page=history] .history-danger:hover,body[data-page=history] .history-danger:active{color:var(--history-error-fg);background:var(--history-error-bg);border-color:var(--history-error-fg)}body[data-page=history] .history-empty-state{padding:64px 20px;text-align:center;border-top:1px solid var(--history-border)}body[data-page=history] .history-empty-state p{max-width:48ch;margin:12px auto 20px;color:var(--history-muted)}body[data-page=history] .history-footer{display:flex;flex-wrap:wrap;justify-content:space-between;gap:8px 24px;margin-top:24px;padding:16px 0 32px}body[data-page=history]{background:var(--history-bg)!important;color:var(--history-fg)!important;margin:0;padding:0}body[data-page=history] .history-shell{max-width:1160px;padding:0}body[data-page=history] .history-intro p{color:var(--history-muted)!important;font-size:14px}body[data-page=history] .history-shell h1{float:none;font-size:32px;color:var(--history-fg)!important}body[data-page=history] .history-navigation a{display:inline-flex;align-items:center;justify-content:center;min-width:44px;min-height:44px;padding:8px 12px;font-size:14px;color:var(--history-fg);text-decoration:none;border-radius:7px}body[data-page=history] .history-navigation a:hover{background:var(--history-hover)}body[data-page=history] .history-field>label,body[data-page=history] .history-sort label{font-size:12px;color:var(--history-muted)}body[data-page=history] .history-segment button{background:transparent;border-color:transparent;padding-inline:6px}body[data-page=history] .history-segment button[aria-pressed=true]{background:var(--history-surface);border-color:var(--history-border);font-weight:600}body[data-page=history] .history-item{background:transparent;border:0;border-top:1px solid var(--history-border);border-radius:0;margin:0;padding:16px 0}body[data-page=history] .history-item-head{display:block;margin:0}body[data-page=history] .history-owner-tag{display:block;padding:0;border:0;border-radius:0;background:transparent;color:var(--history-fg);font-size:14px}body[data-page=history] .history-sync-badge{padding:0;border:0;background:transparent;border-radius:0;color:var(--history-muted);font-weight:400}body[data-page=history] .history-sync-badge[data-status=synced]{color:var(--history-success-fg)}body[data-page=history] .history-sync-badge[data-status=invalid],body[data-page=history] .history-sync-badge[data-status=needs_action]{color:var(--history-error-fg)}body[data-page=history] .history-item-actions{margin:0}body[data-page=history] .history-item-actions button{display:block;height:auto;min-height:44px;margin:0;box-shadow:none;line-height:1.5;letter-spacing:0;white-space:normal;background:transparent;color:var(--history-fg);border:1px solid transparent}body[data-page=history] .history-item-actions .history-replay-btn{border-color:var(--history-border);background:var(--history-surface)}body[data-page=history] .history-item-actions button:hover{background:var(--history-hover);border-color:var(--history-fg)}body[data-page=history] .history-delete-btn:hover{color:var(--history-error-fg);background:var(--history-error-bg)}body[data-page=history] .history-sync-detail,body[data-page=history] .history-item-diagnostics,body[data-page=history] .history-item-diagnostics-samples{color:var(--history-muted);font-size:12px;overflow-wrap:anywhere}body[data-page=history] #history-status:empty{display:none}body[data-page=history] #history-status{padding:10px 0;color:var(--history-muted);overflow-wrap:anywhere}body[data-page=history] #history-status[data-error=true]{color:var(--history-error-fg)}body[data-page=history] .history-visually-hidden{position:absolute;width:1px;height:1px;min-height:0;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);border:0}body[data-page=history] .history-mini-board-wrap{width:100%;max-width:106px;display:block;overflow:visible;container-type:inline-size}body[data-page=history] .history-mini-game{display:grid;gap:2px;padding:3px;border:1px solid var(--history-border);border-radius:5px;width:100%}body[data-page=history] .history-mini-cell{position:relative;aspect-ratio:1;min-width:0;background:var(--app-surface-empty-tile);border-radius:2px}body[data-page=history] .history-mini-game .tile{position:absolute;inset:0;width:100%;height:100%;transform:none}body[data-page=history] .history-mini-game .tile .tile-inner{display:flex;align-items:center;justify-content:center;width:100%;height:100%;line-height:1;white-space:nowrap;overflow-wrap:normal;letter-spacing:-.3px;font-variant-numeric:tabular-nums}body[data-page=history] .history-shell :is(button,a,select,input,summary,[tabindex]):focus-visible{outline:3px solid var(--history-focus);outline-offset:3px}@media(max-width:1050px){body[data-page=history] .history-shell{width:calc(100% - 48px)}body[data-page=history] .history-filters{grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}body[data-page=history] .history-search-field{grid-column:1 / -1}body[data-page=history] :is(.history-record-main,.history-list-heading){grid-template-columns:96px minmax(0,1.1fr) minmax(0,1fr) minmax(0,1fr);gap:20px}body[data-page=history] .history-list-heading>:last-child{display:none}body[data-page=history] .history-item-actions{grid-column:2 / -1;display:flex;flex-wrap:wrap;gap:6px}body[data-page=history] .history-item-actions button{padding-inline:12px}body[data-page=history] .history-record-main{row-gap:8px}}@media(max-width:650px){body[data-page=history] .history-shell{width:calc(100% - 32px)}body[data-page=history] .history-topbar{flex-wrap:wrap;gap:4px 12px;padding:16px 0 8px}body[data-page=history] .history-navigation{width:100%;justify-content:space-between}body[data-page=history] .history-intro{padding:24px 0 20px;flex-direction:column;gap:10px}body[data-page=history] .history-filters{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px 12px}body[data-page=history] :is(.history-undo-field,.history-search-field){grid-column:1 / -1}body[data-page=history] .history-toolbar{align-items:stretch;gap:12px}body[data-page=history] .history-toolbar>.history-actions{width:100%;display:grid;grid-template-columns:1fr 1fr;gap:8px}body[data-page=history] .history-sort{width:100%;justify-content:space-between}body[data-page=history] .history-sort select{max-width:75%}body[data-page=history] .history-pagination{flex-direction:column;align-items:stretch;gap:8px}body[data-page=history] .history-page-buttons{justify-content:space-between;gap:8px}body[data-page=history] .history-page-buttons button{flex:1;padding-inline:8px}body[data-page=history] .history-page-label{min-width:60px;font-size:12px}body[data-page=history] .history-list-heading{display:none}body[data-page=history] .history-item{padding-block:18px}body[data-page=history] .history-record-main{grid-template-columns:96px minmax(0,1fr);gap:12px 16px}body[data-page=history] .history-item-head{grid-column:2}body[data-page=history] .history-record-score{grid-column:2;grid-row:2}body[data-page=history] .history-record-owner{grid-column:1 / -1;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:4px 16px;align-items:start}body[data-page=history] .history-sync-badge{margin-top:0}body[data-page=history] .history-eligibility{grid-column:2;margin:0}body[data-page=history] .history-item-actions{grid-column:1 / -1;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:4px}body[data-page=history] .history-item-actions button{padding-inline:4px}body[data-page=history] .history-empty-state{padding:44px 8px}}
