/* Settings · Theme: Dark / Light / System. Each card shows a tiny window in that theme (sidebar with the flame, a frosted
   panel with the RUN/NER wordmark, a Live pill and the primary button). The previews are hard-coded so the Dark card stays
   dark in light mode and vice versa. */
html:root .theme-pick.th3 { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
@media (max-width: 900px) { html:root .theme-pick.th3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { html:root .theme-pick.th3 { grid-template-columns: 1fr; } }
.theme-pick.th3 .theme-opt { gap: 12px; padding: 12px 12px 14px; }
.theme-pick.th3 .theme-opt > span:last-child { padding: 0 4px; }

.thp-box { position: relative; display: block; height: 118px; border-radius: 12px; overflow: hidden; isolation: isolate; }
.thp-split { position: absolute; inset: 0; }
.thp { position: absolute; inset: 0; display: grid; grid-template-columns: 30px minmax(0, 1fr); font-family: 'Inter', system-ui, sans-serif; }
.thp-split .thp-light { clip-path: polygon(64% 0, 100% 0, 100% 100%, 36% 100%); }
.thp-sb { display: flex; flex-direction: column; align-items: center; gap: 7px; padding-top: 10px; }
.thp-sb .thp-f { width: 9px; height: 16px; margin-bottom: 4px; }
.thp-sb i { width: 12px; height: 3px; border-radius: 2px; }
.thp-pn { align-self: center; justify-self: center; display: grid; gap: 12px; width: calc(100% - 22px); padding: 12px 12px 11px; border-radius: 11px; }
.thp-wm { display: inline-flex; align-items: center; font-weight: 700; font-size: 15px; letter-spacing: .02em; line-height: 1; }
.thp-wm b { font-weight: 700; -webkit-background-clip: text; background-clip: text; color: transparent; }
.thp-wm .thp-f { width: 8px; height: 15px; margin: 0 3px 0 2px; }
.thp-row { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.thp-pill { display: inline-flex; align-items: center; gap: 5px; height: 20px; padding: 0 9px; border-radius: 999px; font-size: 10.5px; font-weight: 600; }
.thp-pill i { width: 5px; height: 5px; border-radius: 50%; background: #34d39a; box-shadow: 0 0 6px rgba(52, 211, 154, .7); }
.thp-btn { display: inline-flex; align-items: center; height: 22px; padding: 0 11px; border-radius: 7px; font-size: 10.5px; font-weight: 600; }

/* dark: graphite, chrome glow, frosted panel, silver primary */
.thp-dark { background: radial-gradient(160px 110px at 85% 30%, rgba(201, 220, 242, .16), transparent 70%), linear-gradient(180deg, #151a21, #0d1015); }
.thp-dark .thp-sb { background: rgba(30, 34, 40, .7); box-shadow: inset -1px 0 0 rgba(255, 255, 255, .08); }
.thp-dark .thp-sb i { background: rgba(201, 220, 242, .16); }
.thp-dark .thp-pn { background: linear-gradient(180deg, rgba(255, 255, 255, .08), rgba(255, 255, 255, .02) 45%), rgba(22, 27, 35, .7);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .16), inset 0 0 0 1px rgba(255, 255, 255, .08), 0 12px 24px -12px rgba(0, 0, 0, .8); }
.thp-dark .thp-wm b:first-child { background-image: linear-gradient(180deg, #f8fbff 0%, #e0ebf7 45%, #b2c6dd 78%, #8aa3c1 100%); }
.thp-dark .thp-wm b:last-child { background-image: linear-gradient(180deg, #a9c3e2, #5f7ea6); }
.thp-dark stop:nth-child(1) { stop-color: #5a7aa5; } .thp-dark stop:nth-child(2) { stop-color: #a9c6ea; } .thp-dark stop:nth-child(3) { stop-color: #fff; }
.thp-dark .thp-pill { color: #dfe9f5; background: rgba(255, 255, 255, .06); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1); }
.thp-dark .thp-btn { color: #10141a; background: linear-gradient(180deg, #fff, #dfe9f5 55%, #c9dcf2); box-shadow: inset 0 -1px 0 rgba(169, 191, 216, .6), 0 4px 12px -6px rgba(201, 220, 242, .5); }

/* light: soft off-white, frosted white panel, steel-blue wordmark, dark glass primary */
.thp-light { background: radial-gradient(160px 110px at 85% 30%, rgba(91, 143, 208, .14), transparent 70%), linear-gradient(180deg, #f1f4f9, #e4e9f1); }
.thp-light .thp-sb { background: rgba(255, 255, 255, .55); box-shadow: inset -1px 0 0 rgba(20, 40, 70, .08); }
.thp-light .thp-sb i { background: rgba(20, 40, 70, .14); }
.thp-light .thp-pn { background: linear-gradient(180deg, rgba(255, 255, 255, .9), rgba(255, 255, 255, .62)); box-shadow: inset 0 0 0 1px rgba(20, 40, 70, .1), 0 10px 22px -12px rgba(20, 35, 60, .35); }
.thp-light .thp-wm b:first-child { background-image: linear-gradient(180deg, #1f3350 0%, #2f4a6e 50%, #4e6f98 100%); }
.thp-light .thp-wm b:last-child { background-image: linear-gradient(180deg, #4f86c6, #2f6fb5); }
.thp-light stop:nth-child(1) { stop-color: #1f3d66; } .thp-light stop:nth-child(2) { stop-color: #2f6fb5; } .thp-light stop:nth-child(3) { stop-color: #8fb6e4; }
.thp-light .thp-pill { color: #3b4657; background: rgba(20, 40, 70, .05); box-shadow: inset 0 0 0 1px rgba(20, 40, 70, .1); }
.thp-light .thp-pill i { background: #13a46c; box-shadow: none; }
.thp-light .thp-btn { color: #f3f7fc; background: linear-gradient(180deg, #2a3546, #141c28); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .16), 0 4px 12px -6px rgba(15, 23, 36, .6); }
