.steam-recording-picker { width: min(1080px, calc(100vw - 40px)); max-width: none; max-height: calc(100dvh - 40px); padding: 0; border: 1px solid #444; border-radius: 10px; background: #202020; color: #eee; font: 14px/1.5 system-ui, sans-serif; box-shadow: 0 24px 90px #0009; color-scheme: dark; }
.steam-recording-picker[open] { display: flex; flex-direction: column; }
.steam-recording-picker::backdrop { background: #000b; }
.steam-recording-picker * { box-sizing: border-box; }
.steam-recording-picker button { font: inherit; cursor: pointer; }
.steam-recording-picker button:focus-visible { outline: 2px solid #39d5e9; outline-offset: 3px; }
.steam-recording-picker .steam-picker-card:focus-visible { outline-offset: -2px; }
.steam-picker-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 22px 26px 15px; }
.steam-picker-head p { margin: 0 0 4px; color: #39d5e9; font-size: 11px; letter-spacing: .13em; }
.steam-picker-head h2 { margin: 0; color: #f3f3f3; font-size: 23px; font-weight: 650; text-wrap: balance; }
.steam-picker-actions { display: flex; align-items: center; flex-shrink: 0; gap: 12px; }
.steam-picker-actions button { white-space: nowrap; }
.steam-picker-actions button, .steam-picker-foot button { padding: 7px 14px; border: 1px solid #555; border-radius: 7px; background: #292929; color: #eee; }
.steam-picker-actions .steam-picker-close { padding: 2px 10px; font-size: 25px; border: none; background: transparent; }
.steam-picker-info { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px 12px; padding: 0 26px; overflow-wrap: anywhere; }
.steam-picker-info b { color: #ccc; font-weight: 500; }
.steam-picker-count { display: inline-block; color: #ccc; font-variant-numeric: tabular-nums; transform-origin: right center; }
.steam-picker-count.is-capacity-updated { background-image: linear-gradient(90deg, #ccc 32%, #39d5e9 42%, #a5f6ff 47%, #fff 50%, #a5f6ff 53%, #39d5e9 58%, #ccc 68%); background-size: 300% 100%; background-clip: text; -webkit-background-clip: text; color: transparent; animation: steam-picker-capacity-sweep 950ms linear 1; }
@keyframes steam-picker-capacity-sweep {
  0% { background-position: 100% 0; filter: drop-shadow(0 0 0 transparent); transform: scale(1); }
  35% { filter: drop-shadow(0 0 3px #39d5e9) drop-shadow(0 0 10px #39d5e9); transform: scale(1.06); }
  65% { filter: drop-shadow(0 0 3px #39d5e9) drop-shadow(0 0 10px #39d5e9); transform: scale(1.06); }
  100% { background-position: 0% 0; filter: drop-shadow(0 0 0 transparent); transform: scale(1); }
}
@media (prefers-reduced-motion: reduce) { .steam-picker-count.is-capacity-updated { background-image: none; color: #39d5e9; filter: none; transform: none; animation: steam-picker-capacity-fade 200ms ease-out 1; } }
@keyframes steam-picker-capacity-fade { from { color: #39d5e9; } to { color: #ccc; } }
.steam-picker-guide { margin: 7px 26px 15px; color: #aaa; font-size: 12px; }
.steam-picker-status { padding: 10px 26px; margin: 0; color: #ccc; }
.steam-picker-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-rows: max-content; align-content: start; gap: 16px; overflow-y: auto; min-height: 0; padding: 6px 26px 24px; }
.steam-recording-picker .steam-picker-card { padding: 0; min-width: 0; border: 1px solid #454545; border-radius: 9px; background: #292929; color: #eee; text-align: left; overflow: hidden; transition: border-color .15s; }
.steam-recording-picker .steam-picker-card:hover:not(:disabled) { border-color: #39d5e9; }
.steam-recording-picker .steam-picker-card:disabled { cursor: default; opacity: 1; }
.steam-picker-thumbnail { position: relative; display: grid; place-items: center; aspect-ratio: 16 / 9; width: 100%; overflow: hidden; background: #181818; color: #aaa; }
.steam-picker-thumbnail img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.steam-picker-card-body { padding: 12px 13px; }
.steam-picker-meta { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; font-variant-numeric: tabular-nums; }
.steam-picker-meta b { font-size: 14px; font-weight: 600; }
.steam-picker-meta > span { flex-shrink: 0; color: #ccc; font-size: 13px; }
.steam-picker-name { margin: 8px 0; font-size: 11px; color: #aaa; overflow-wrap: anywhere; }
.steam-picker-card-action { color: #39d5e9; font-size: 12px; }
.steam-picker-card:disabled .steam-picker-card-action { color: #e5b181; }
.steam-picker-foot { display: flex; align-items: center; justify-content: space-between; flex-shrink: 0; gap: 15px; padding: 14px 26px; border-top: 1px solid #444; color: #aaa; font-size: 12px; }
@media (max-width: 800px) { .steam-picker-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .steam-recording-picker { width: calc(100vw - 20px); max-height: calc(100dvh - 20px); } .steam-picker-head, .steam-picker-info, .steam-picker-foot { padding-left: 16px; padding-right: 16px; } .steam-picker-guide { margin-left: 16px; margin-right: 16px; } .steam-picker-list { grid-template-columns: 1fr; padding-left: 16px; padding-right: 16px; } .steam-picker-head h2 { font-size: 19px; } }
.steam-recording-picker [hidden] { display: none !important; }
.steam-picker-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 10px 26px 16px; }
.steam-picker-toolbar .steam-picker-guide { margin: 0; }
.steam-picker-sort { font: inherit; font-size: 12px; padding: 5px 9px; max-width: 100%; border: 1px solid #555; border-radius: 5px; background: #292929; color: #eee; }
.steam-picker-sort:focus-visible { outline: 2px solid #39d5e9; outline-offset: 3px; }
.steam-picker-entry { min-width: 0; border: 1px solid #454545; border-radius: 7px; background: #292929; overflow: hidden; }
.steam-recording-picker .steam-picker-card { display: block; width: 100%; border: 0; border-radius: 0; background: transparent; }
.steam-recording-picker .steam-picker-card:hover:not(:disabled) { background: #333; }
.steam-picker-card-action { display: block; margin-top: 6px; }
.steam-picker-name { margin-bottom: 0; }
.steam-picker-controls { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 4px 13px 12px; }
.steam-picker-size { color: #ccc; font-size: 12px; font-variant-numeric: tabular-nums; }
.steam-picker-controls button, .steam-picker-confirmation button { padding: 4px 8px; border: 1px solid #666; border-radius: 4px; background: transparent; color: #ddd; font-size: 12px; }
.steam-picker-controls .steam-picker-delete { color: #e7aaa0; border-color: #73524d; }
.steam-picker-controls button:hover:not(:disabled) { background: #393939; }
.steam-picker-controls button:disabled { opacity: .45; }
.steam-picker-confirmation { border-top: 1px solid #73524d; padding: 12px 13px; background: #322b29; }
.steam-picker-confirmation p { margin: 0 0 10px; font-size: 12px; color: #f0d4ce; overflow-wrap: anywhere; }
.steam-picker-confirmation > div { display: flex; gap: 8px; }
.steam-picker-confirmation .steam-picker-confirm-delete { background: #91483b; border-color: #b76858; color: #fff; }
.steam-picker-status { overflow-wrap: anywhere; }
@media (max-width: 520px) { .steam-picker-toolbar { padding-left: 16px; padding-right: 16px; align-items: start; flex-direction: column; } }
.steam-picker-result { width: min(480px, calc(100vw - 32px)); max-height: calc(100dvh - 32px); box-sizing: border-box; overflow: auto; padding: 26px; border: 1px solid #555; border-radius: 10px; background: #202020; color: #eee; font: 14px/1.6 system-ui, sans-serif; color-scheme: dark; box-shadow: 0 18px 60px #0008; }
.steam-picker-result::backdrop { background: #0009; }
.steam-picker-result h2 { margin: 0 0 14px; color: #eee; font-size: 22px; font-weight: 650; }
.steam-picker-result p { margin: 0; color: #ccc; overflow-wrap: anywhere; }
.steam-picker-result footer { display: flex; justify-content: flex-end; margin-top: 24px; }
.steam-picker-result button { min-width: 96px; min-height: 42px; padding: 8px 20px; border: 1px solid #39d5e9; border-radius: 5px; background: #39d5e9; color: #111; font: inherit; font-weight: 650; cursor: pointer; }
.steam-picker-result button:focus-visible { outline: 2px solid #39d5e9; outline-offset: 3px; }
