:root {
  --bg: #F2F2F7;
  --card: #FFFFFF;
  --label: #000000;
  --label2: rgba(60, 60, 67, .6);
  --label3: rgba(60, 60, 67, .3);
  --sep: rgba(60, 60, 67, .18);
  --fill: rgba(118, 118, 128, .12);
  --fill2: rgba(118, 118, 128, .2);
  --blue: #007AFF;
  --green: #34C759;
  --red: #FF3B30;
  --orange: #FF9500;
  --bar: rgba(242, 242, 247, .82);
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", Inter, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --mono: "SF Mono", ui-monospace, Menlo, "Cascadia Mono", Consolas, monospace;
  --term: "Cascadia Mono", "Cascadia Code", Consolas, "SF Mono", Menlo, monospace;
  --ease: cubic-bezier(.32, .72, 0, 1);
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #000000;
    --card: #1C1C1E;
    --label: #FFFFFF;
    --label2: rgba(235, 235, 245, .6);
    --label3: rgba(235, 235, 245, .3);
    --sep: rgba(84, 84, 88, .55);
    --fill: rgba(118, 118, 128, .24);
    --fill2: rgba(118, 118, 128, .32);
    --blue: #0A84FF;
    --green: #30D158;
    --red: #FF453A;
    --orange: #FF9F0A;
    --bar: rgba(0, 0, 0, .78);
  }
}

* { box-sizing: border-box; margin: 0; padding: 0 }
html { -webkit-text-size-adjust: 100% }
body {
  background: var(--bg);
  color: var(--label);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.35;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer }
a { color: var(--blue); text-decoration: none }
.hidden { display: none !important }

/* Navigation bar */
.nav {
  position: sticky; top: 0; z-index: 20;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  height: 52px; padding: 0 12px;
  background: var(--bar);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
}
.nav-btn { display: inline-flex; align-items: center; gap: 4px; color: var(--blue); height: 44px; padding: 0 6px; border-radius: 10px }
.nav-btn:active { opacity: .4 }
.nav-back { justify-self: start }
.nav-list { justify-self: end }
.nav-title { font-size: 15px; font-weight: 600; font-variant-numeric: tabular-nums }
.nav.bare .nav-back, .nav.bare .nav-title, .nav.bare .progress { visibility: hidden }
.progress { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--fill) }
.progress i { display: block; height: 100%; width: 0; background: var(--blue); border-radius: 0 3px 3px 0; transition: width .5s var(--ease) }

/* Screens */
main { max-width: 1120px; margin: 0 auto; padding: 22px 20px 120px }
.screen-enter { animation: enter .45s var(--ease) both }
@keyframes enter { from { opacity: 0; transform: translateY(10px) } to { opacity: 1; transform: none } }

.caption { font-size: 13px; font-weight: 600; color: var(--label2); letter-spacing: .01em }
h1 { font-size: 34px; line-height: 1.12; font-weight: 700; letter-spacing: -.022em; margin-top: 2px }
.hint { font-size: 17px; color: var(--label2); margin-top: 8px }
.hint code, .note code { font-family: var(--mono); font-size: .88em; background: var(--fill); padding: 1px 6px; border-radius: 6px; color: var(--label) }
.stage { margin-top: 22px }

/* Cards and rows */
.card { background: var(--card); border-radius: 14px }
.cmd { display: flex; align-items: center; gap: 12px; padding: 12px 12px 12px 16px; margin-top: 12px }
.cmd + .cmd { margin-top: 8px }
.cmd code { flex: 1; min-width: 0; font-family: var(--mono); font-size: 14px; overflow-x: auto; white-space: nowrap; scrollbar-width: none }
.cmd code::-webkit-scrollbar { display: none }
.cmd.done code { color: var(--label3) }
.cmd .tick { color: var(--green); display: none }
.cmd.done .tick { display: inline-flex }
.cmd.done .pill { display: none }
.pill { flex: none; font-size: 15px; font-weight: 600; color: var(--blue); background: var(--fill); padding: 6px 14px; border-radius: 999px }
.pill:active { opacity: .5 }

.row-list { margin-top: 12px; overflow: hidden }
.row { display: flex; align-items: center; gap: 12px; width: 100%; padding: 12px 16px; text-align: left; min-height: 48px; position: relative }
.row + .row::before { content: ""; position: absolute; top: 0; left: 16px; right: 0; height: .5px; background: var(--sep) }
.row .grow { flex: 1; min-width: 0 }
.row .sub { font-size: 13px; color: var(--label2); margin-top: 1px }
.row .chev { color: var(--label3) }
.row:active { background: var(--fill) }

.done-banner {
  display: flex; align-items: center; gap: 10px;
  margin-top: 12px; padding: 12px 16px; font-size: 15px;
  animation: enter .45s var(--ease) both;
}
.done-banner .ok { flex: none; width: 24px; height: 24px; border-radius: 50%; background: var(--green); color: #fff; display: grid; place-items: center }

.chips { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 12px }
.chip { font-size: 15px; padding: 8px 14px; border-radius: 999px; background: var(--card); color: var(--label) }
.chip.on { background: var(--blue); color: #fff }
.chip-note { font-size: 15px; color: var(--label2); margin-top: 10px; min-height: 20px }

/* Buttons */
.btn { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; height: 50px; border-radius: 14px; font-size: 17px; font-weight: 600; transition: background .25s, color .25s, transform .15s }
.btn:active { transform: scale(.98) }
.btn-primary { background: var(--blue); color: #fff }
.btn-primary.wait { background: var(--fill); color: var(--label3); cursor: default }
.btn-primary.wait:active { transform: none }
.btn-plain { color: var(--blue); background: transparent }
.link { color: var(--blue); font-size: 17px }

.dock {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 15;
  background: var(--bar);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  padding: 12px 20px calc(12px + env(safe-area-inset-bottom));
}
.dock-inner { max-width: 420px; margin: 0 auto }

/* Welcome and finish */
.hero { max-width: 560px; margin: 4vh auto 0; text-align: center }
.app-icon { width: 92px; height: 92px; border-radius: 22px; margin: 0 auto 22px; display: block }
.hero h1 { font-size: 40px }
.hero .hint { margin-top: 10px }
.features { text-align: left; margin-top: 34px; display: grid; gap: 22px }
.feature { display: flex; gap: 16px; align-items: flex-start }
.feature .ic { flex: none; width: 40px; height: 40px; color: var(--blue); display: grid; place-items: center }
.feature b { font-size: 17px; font-weight: 600; display: block }
.feature span { font-size: 15px; color: var(--label2) }
.seg { display: grid; grid-template-columns: 1fr 1fr; background: var(--fill); border-radius: 9px; padding: 2px; margin-top: 8px }
.seg button { padding: 7px; border-radius: 7px; font-size: 14px; font-weight: 600 }
.seg button.on { background: var(--card); box-shadow: 0 3px 8px rgba(0, 0, 0, .12), 0 3px 1px rgba(0, 0, 0, .04) }
.os-pick { margin-top: 34px; text-align: left }
.os-pick .caption { padding-left: 4px }
.hero-actions { margin-top: 28px; display: grid; gap: 6px }
.big-check { width: 92px; height: 92px; border-radius: 50%; background: var(--green); color: #fff; display: grid; place-items: center; margin: 0 auto 22px }
.recap { margin-top: 28px; text-align: left }
.recap .row { cursor: default }
.recap .row:active { background: none }
.recap .ok { color: var(--green); flex: none }

.quiz-card { margin-top: 14px; padding: 18px 20px; border-radius: 14px; background: var(--card); display: grid; gap: 6px; text-align: center; animation: enter .45s var(--ease) both }
.quiz-card b { font-size: 17px; font-weight: 600 }
.quiz-card span { font-size: 15px; color: var(--label2); line-height: 1.35 }
.quiz-card .btn { margin-top: 6px; height: 44px }
.quiz-card.ready { padding: 22px 20px 16px }
.quiz-code { font-family: var(--mono); font-size: 40px; font-weight: 700; letter-spacing: .18em; padding-left: .18em; margin: 4px 0 2px; color: var(--label); font-variant-numeric: tabular-nums; user-select: all }

/* Sheet */
.sheet-backdrop { position: fixed; inset: 0; background: rgba(0, 0, 0, .25); opacity: 0; pointer-events: none; transition: opacity .35s var(--ease); z-index: 40 }
.sheet-backdrop.show { opacity: 1; pointer-events: auto }
.sheet {
  position: fixed; left: 50%; bottom: 0; z-index: 41;
  width: min(560px, 100%); max-height: 86vh;
  transform: translate(-50%, 105%); transition: transform .45s var(--ease);
  background: var(--bg); border-radius: 14px 14px 0 0;
  display: flex; flex-direction: column;
}
.sheet.show { transform: translate(-50%, 0) }
.grabber { width: 36px; height: 5px; border-radius: 3px; background: var(--label3); margin: 6px auto 0 }
.sheet-head { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; padding: 10px 16px 6px }
.sheet-head h2 { font-size: 17px; font-weight: 600 }
.sheet-head .link { justify-self: end; font-weight: 600 }
.sheet-body { overflow-y: auto; padding: 8px 16px calc(24px + env(safe-area-inset-bottom)) }
.group-title { font-size: 13px; color: var(--label2); padding: 18px 16px 7px; text-transform: uppercase; letter-spacing: .02em }
.num { flex: none; width: 26px; height: 26px; border-radius: 50%; background: var(--fill); color: var(--label2); font-size: 13px; font-weight: 600; display: grid; place-items: center; font-variant-numeric: tabular-nums }
.num.ok { background: var(--green); color: #fff }
.row.current .grow { color: var(--blue); font-weight: 600 }

/* Help sheet content */
.help-body { padding: 4px 4px 8px }
.help-body h3 { font-size: 22px; font-weight: 700; letter-spacing: -.01em }
.help-body p { color: var(--label2); margin-top: 6px; font-size: 15px }
.help-body pre { font-family: var(--mono); font-size: 13px; background: var(--card); border-radius: 12px; padding: 12px 14px; margin-top: 14px; white-space: pre-wrap; word-break: break-word; color: var(--label) }
.help-body .cmd { background: var(--card) }

/* Server log under the browser */
.peek-head { text-transform: uppercase; letter-spacing: .04em }
.peek { margin-top: 12px; background: #0C0C0C; color: #CCCCCC; border-radius: 12px; font-family: var(--term); font-size: 12.5px; line-height: 1.6; padding: 10px 14px; overflow: hidden }
.peek-head { display: flex; align-items: center; gap: 6px; color: #8A8A8A; font-family: var(--font); font-size: 12px; margin-bottom: 4px }
.peek-lines div { white-space: pre; overflow: hidden; text-overflow: ellipsis }
.peek.mac { background: #FFFFFF; color: #000; box-shadow: inset 0 0 0 .5px var(--sep) }

/* Shared window frame */
.win { border-radius: 10px; overflow: hidden; box-shadow: 0 0 0 .5px rgba(0, 0, 0, .18), 0 12px 32px rgba(0, 0, 0, .14) }
@media (prefers-color-scheme: dark) { .win { box-shadow: 0 0 0 .5px rgba(255, 255, 255, .16), 0 12px 32px rgba(0, 0, 0, .5) } }
.lights { display: flex; gap: 8px; padding: 0 4px }
.lights i { width: 12px; height: 12px; border-radius: 50%; background: #FF5F57 }
.lights i:nth-child(2) { background: #FEBC2E }
.lights i:nth-child(3) { background: #28C840 }
.wctl { display: flex; align-self: stretch }
.wctl span { width: 46px; display: grid; place-items: center }
.wctl svg { width: 10px; height: 10px }

/* Terminal */
.term { background: #0C0C0C; color: #CCCCCC; display: flex; flex-direction: column; height: 440px }
.term-bar { display: flex; align-items: stretch; height: 40px; background: #202020; flex: none; user-select: none }
.term-tabs { display: flex; align-items: flex-end; gap: 2px; padding: 0 0 0 8px; min-width: 0 }
.term-tab { display: flex; align-items: center; gap: 8px; height: 32px; padding: 0 10px; border-radius: 8px 8px 0 0; font-family: "Segoe UI", var(--font); font-size: 12px; color: #9D9D9D; white-space: nowrap; min-width: 0 }
.term-tab.on { background: #0C0C0C; color: #FFFFFF }
.term-tab .x { opacity: .7; font-size: 11px }
.term-tab .ps { width: 16px; height: 16px; flex: none }
.term-add { display: flex; align-items: center; gap: 2px; padding: 0 6px; color: #CCCCCC }
.term-add button { width: 30px; height: 28px; border-radius: 6px; display: grid; place-items: center; color: #CCCCCC; align-self: center }
.term-add button:hover { background: #2D2D2D }
.term-add button.pulse { animation: pulse 1.6s ease-in-out infinite }
@keyframes pulse { 0%, 100% { background: transparent } 50% { background: #3A3A3A } }
.term-drag { flex: 1 }
.term-bar .wctl { color: #CCCCCC }
.term-body { flex: 1; overflow-y: auto; padding: 10px 12px 14px; font-family: var(--term); font-size: 14px; line-height: 1.38; cursor: text; scrollbar-color: #4A4A4A transparent }
.term-lines div, .term-input { white-space: pre-wrap; word-break: break-all; min-height: 1.38em }
.term-input { position: relative }
.term-cursor { display: inline-block; width: 2px; height: 1.15em; vertical-align: text-bottom; background: #FFFFFF; animation: blink 1.06s steps(1) infinite; margin-right: -2px }
.term:not(.focus) .term-cursor { animation: none; opacity: .4 }
@keyframes blink { 50% { opacity: 0 } }
.term-hidden { position: absolute; opacity: 0; pointer-events: none; left: 0; top: 0; width: 1px; height: 1px }
.ansi .b { font-weight: 700 }
.ansi .c-green { color: #13A10E }
.ansi .c-red { color: #E74856 }
.ansi .c-dred { color: #C50F1F }
.ansi .c-cyan { color: #3A96DD }
.ansi .c-blue { color: #0037DA }
.ansi .c-yellow { color: #F9F1A5 }
.ansi .c-dyellow { color: #C19C00 }
.ansi .c-mag { color: #881798 }
.ansi .c-gray { color: #767676 }
.ansi .c-white { color: #F2F2F2 }
.ansi .c-inv { background: #CCCCCC; color: #0C0C0C }
.ansi .c-pink { color: #F92672 }
.ansi .c-lime { color: #729C1F }
.ansi .c-back { color: #3A3A3A }
.ansi.mac .c-green { color: #00A600 }
.ansi.mac .c-red, .ansi.mac .c-dred { color: #C23621 }
.ansi.mac .c-cyan { color: #00A6B2 }
.ansi.mac .c-blue { color: #0000B2 }
.ansi.mac .c-dyellow { color: #999900 }
.ansi.mac .c-mag { color: #B200B2 }
.ansi.mac .c-white { color: #000 }
.ansi.mac .c-gray { color: #808080 }
.ansi.mac .c-inv { background: #000; color: #FFF }
.ansi.mac .c-back { color: #D0D0D0 }

.term.mac { background: #FFFFFF; color: #000000 }
.term.mac .term-bar { background: #E8E6E8; height: 30px; align-items: center; justify-content: center; position: relative; border-bottom: .5px solid #C8C6C8 }
.term.mac .term-bar .lights { position: absolute; left: 10px; top: 9px }
.term.mac .mac-title { font-family: var(--font); font-size: 13px; font-weight: 600; color: #4D4D4D }
.term.mac .mac-tabs { display: flex; background: #D9D7D9; height: 26px; flex: none; border-bottom: .5px solid #C0BEC0 }
.term.mac .mac-tabs > div { flex: 1; display: grid; place-items: center; font-family: var(--font); font-size: 12px; color: #555; border-right: .5px solid #C0BEC0 }
.term.mac .mac-tabs > div.on { background: #ECEAEC; color: #222; font-weight: 500 }
.term.mac .mac-tabs > button { width: 30px; color: #555 }
.term.mac .mac-tabs > button.pulse { animation: pulseMac 1.6s ease-in-out infinite }
@keyframes pulseMac { 0%, 100% { background: transparent } 50% { background: #C9C7C9 } }
.term.mac .term-body { font-family: "SF Mono", Menlo, var(--mono); font-size: 13px; line-height: 1.4; scrollbar-color: #C1C1C1 transparent }
.term.mac .term-cursor { width: .62em; background: rgba(0, 0, 0, .55); margin-right: -.62em }

/* Browser */
.browser { background: #FFFFFF; display: flex; flex-direction: column; height: 620px; color: #1F1F1F }
.br-tabs { display: flex; align-items: flex-end; height: 40px; background: #DFE3E8; padding-left: 8px; flex: none; user-select: none }
.br-tab { position: relative; display: flex; align-items: center; gap: 8px; height: 34px; width: 240px; padding: 0 12px; background: #FFFFFF; border-radius: 10px 10px 0 0; font-family: "Segoe UI", var(--font); font-size: 12px }
.br-tab .t { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis }
.br-tab img, .br-tab .fav { width: 16px; height: 16px; flex: none }
.br-plus { width: 28px; height: 28px; display: grid; place-items: center; color: #444; margin: 0 0 3px 6px }
.br-tabs .grow { flex: 1 }
.br-tabs .wctl { color: #1F1F1F; height: 40px; align-self: flex-start }
.browser.mac .br-tabs { padding-left: 76px; position: relative }
.browser.mac .br-tabs .lights { position: absolute; left: 12px; top: 14px }
.br-bar { display: flex; align-items: center; gap: 4px; height: 44px; padding: 0 8px; background: #FFFFFF; border-bottom: 1px solid #E3E3E3; flex: none }
.br-bar .ico { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; color: #444 }
.br-bar .ico.off { color: #B5B5B5 }
.omni { flex: 1; display: flex; align-items: center; gap: 8px; height: 34px; border-radius: 17px; background: #E9EEF6; padding: 0 14px; margin: 0 6px; font-family: "Segoe UI", var(--font); font-size: 14px }
.omni:focus-within { background: #FFFFFF; box-shadow: 0 0 0 2px #0B57D0 }
.omni input { all: unset; flex: 1; min-width: 0; color: #1F1F1F }
.omni .lock { color: #5F6368; flex: none; display: grid; place-items: center }
.br-view { flex: 1; position: relative; background: #FFFFFF; overflow: hidden }
.br-view iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; background: #FFFFFF }
.br-blank { position: absolute; inset: 0; display: grid; place-items: center; color: #5F6368; font-family: "Segoe UI", var(--font); font-size: 14px }
.br-json { position: absolute; inset: 0; overflow: auto; font-family: monospace; font-size: 13px; color: #000 }
.br-json label { display: flex; align-items: center; gap: 6px; padding: 8px 10px; font-family: "Segoe UI", var(--font); font-size: 13px; color: #1F1F1F; user-select: none }
.br-json pre { padding: 0 10px 10px; white-space: pre-wrap; word-break: break-word; font-family: monospace }
.br-error { position: absolute; inset: 0; overflow: auto; padding: 72px 10% 0; font-family: "Segoe UI", var(--font); color: #202124 }
.br-error h2 { font-size: 24px; font-weight: 400; margin-top: 28px }
.br-error p { font-size: 15px; color: #5F6368; margin-top: 14px }
.br-error .code { font-size: 12px; color: #5F6368; margin-top: 28px; letter-spacing: .02em }
.br-load { position: absolute; left: 0; top: 0; height: 2px; width: 0; background: #0B57D0; z-index: 2 }
.br-load.run { animation: load .6s ease-out forwards }
@keyframes load { from { width: 0; opacity: 1 } 80% { width: 90%; opacity: 1 } to { width: 100%; opacity: 0 } }

/* VS Code */
.vsc { background: #1F1F1F; color: #CCCCCC; height: 540px; display: grid; grid-template-rows: 35px minmax(0, 1fr) 22px; font-family: "Segoe UI", var(--font); font-size: 13px; user-select: none }
.vsc-title { display: grid; grid-template-columns: 1fr minmax(0, 420px) 1fr; align-items: center; background: #181818; border-bottom: 1px solid #2B2B2B }
.vsc-menu { display: flex; align-items: center; gap: 2px; padding-left: 8px; color: #CCCCCC; font-size: 13px; white-space: nowrap; overflow: hidden }
.vsc-menu img, .vsc-menu .logo { width: 16px; height: 16px; margin-right: 8px; flex: none }
.vsc-menu span { padding: 4px 6px; border-radius: 4px }
.vsc-search { height: 24px; border-radius: 6px; background: #2A2A2A; border: 1px solid #3C3C3C; display: flex; align-items: center; justify-content: center; gap: 6px; font-size: 12px; color: #9D9D9D }
.vsc-title .wctl { justify-self: end; height: 35px; color: #CCCCCC }
.vsc.mac .vsc-title .lights { padding-left: 12px }
.vsc-main { display: grid; grid-template-columns: 48px 230px minmax(0, 1fr); min-height: 0 }
.vsc-act { background: #181818; border-right: 1px solid #2B2B2B; display: flex; flex-direction: column; align-items: center; padding-top: 4px }
.vsc-act i { font-size: 24px; color: #868686; height: 48px; width: 48px; display: grid; place-items: center; position: relative }
.vsc-act i.on { color: #FFFFFF }
.vsc-act i.on::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 2px; background: #0078D4 }
.vsc-side { background: #181818; border-right: 1px solid #2B2B2B; overflow-y: auto; min-height: 0; scrollbar-color: #424242 transparent }
.vsc-side-head { height: 35px; display: flex; align-items: center; padding: 0 20px; font-size: 11px; letter-spacing: .04em; color: #CCCCCC }
.vsc-root { height: 22px; display: flex; align-items: center; gap: 2px; padding-left: 4px; font-size: 11px; font-weight: 700; letter-spacing: .02em }
.vsc-item { height: 22px; display: flex; align-items: center; gap: 6px; cursor: pointer; white-space: nowrap; color: #CCCCCC }
.vsc-item:hover { background: #2A2D2E }
.vsc-item.on { background: #37373D }
.vsc-item.focus { background: #04395E; outline: 1px solid #0078D4; outline-offset: -1px }
.vsc-item.ignored { color: #8C8C8C }
.vsc-item .codicon { font-size: 16px; flex: none }
.vsc-item .fi { width: 16px; text-align: center; font-size: 11px; font-weight: 700; flex: none }
.vsc-item.pulse { animation: vpulse 1.6s ease-in-out infinite }
@keyframes vpulse { 0%, 100% { background: transparent } 50% { background: #094771 } }
.vsc-editor { display: grid; grid-template-rows: 35px 22px minmax(0, 1fr); min-width: 0; min-height: 0; background: #1F1F1F }
.vsc-editor.empty { grid-template-rows: 1fr }
.vsc-tabs { display: flex; background: #181818; overflow: hidden }
.vsc-tab { display: flex; align-items: center; gap: 6px; padding: 0 10px 0 12px; border-right: 1px solid #2B2B2B; color: #9D9D9D; white-space: nowrap; cursor: pointer; position: relative }
.vsc-tab.on { background: #1F1F1F; color: #FFFFFF }
.vsc-tab.on::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: #0078D4 }
.vsc-tab .codicon-close { font-size: 14px; opacity: 0; border-radius: 4px }
.vsc-tab.on .codicon-close, .vsc-tab:hover .codicon-close { opacity: 1 }
.vsc-crumbs { display: flex; align-items: center; gap: 4px; padding-left: 16px; color: #A9A9A9; font-size: 12.5px }
.vsc-code { position: relative; overflow: auto; font-family: Consolas, "Cascadia Mono", "SF Mono", Menlo, monospace; font-size: 14px; line-height: 19px; padding: 0 0 30px; user-select: text; scrollbar-color: #424242 transparent }
.vsc-line { display: flex; white-space: pre }
.vsc-line .n { flex: none; width: 56px; text-align: right; padding-right: 26px; color: #6E7681 }
.vsc-line.hl { background: rgba(38, 79, 120, .55) }
.vsc-line.hl .n { color: #CCCCCC }
.vsc-welcome { display: grid; place-items: center; color: #6E7681; font-size: 14px; text-align: center; gap: 10px }
.vsc-welcome .codicon { font-size: 120px; color: #2B2B2B }
.vsc-binary { padding: 24px; color: #CCCCCC; font-size: 13px; line-height: 1.6 }
.vsc-binary a { color: #4DAAFC }
.vsc-status { background: #181818; border-top: 1px solid #2B2B2B; display: flex; align-items: center; justify-content: space-between; font-size: 12px; color: #CCCCCC; padding: 0 0 0 0 }
.vsc-status .l, .vsc-status .r { display: flex; align-items: center; height: 100%; white-space: nowrap; overflow: hidden }
.vsc-status span { padding: 0 8px; display: flex; align-items: center; gap: 4px }
.vsc-status .remote { background: #0078D4; color: #FFFFFF; height: 100%; padding: 0 10px }
.t-kw { color: #C586C0 } .t-st { color: #569CD6 } .t-str { color: #CE9178 } .t-num { color: #B5CEA8 }
.t-com { color: #6A9955 } .t-fn { color: #DCDCAA } .t-cls { color: #4EC9B0 } .t-var { color: #9CDCFE } .t-dec { color: #DCDCAA }
.t-key { color: #9CDCFE } .t-tag { color: #569CD6 } .t-attr { color: #9CDCFE } .t-p { color: #CCCCCC }
.t-md-h { color: #569CD6; font-weight: 700 } .t-md-li { color: #6796E6 } .t-md-b { font-weight: 700 }

@media (max-width: 760px) {
  main { padding: 16px 14px 120px }
  h1 { font-size: 28px }
  .term { height: 380px }
  .term-body { font-size: 12.5px }
  .browser { height: 560px }
  .br-tab { width: 170px }
  .vsc { height: 480px }
  .vsc-main { grid-template-columns: 0 0 minmax(0, 1fr) }
  .vsc-act, .vsc-side { display: none }
  .vsc-menu span, .vsc-search { display: none }
  .wctl span { width: 36px }
}

/* Added pieces */
.apps { display: inline-grid; grid-template-columns: repeat(3, auto); margin: 0 0 12px }
.apps button { padding: 6px 16px }
.toast {
  position: fixed; left: 50%; bottom: calc(96px + env(safe-area-inset-bottom)); z-index: 60;
  transform: translate(-50%, 12px); opacity: 0; pointer-events: none;
  max-width: min(520px, calc(100% - 32px)); text-align: center;
  background: rgba(28, 28, 30, .92); color: #fff; font-size: 15px; padding: 11px 18px; border-radius: 16px;
  -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px);
  transition: opacity .3s var(--ease), transform .3s var(--ease);
}
.toast.show { opacity: 1; transform: translate(-50%, 0) }
.done-banner.still { animation: none }
.help-ic { color: var(--blue); display: inline-flex; flex: none }
.marks .chips { margin-top: 14px }
.vsc-empty { padding: 10px 20px; color: #9D9D9D; font-size: 13px; line-height: 1.5 }
.vsc .lights, .br-tabs .lights, .term .term-bar .lights { display: none }
.vsc.mac .lights, .browser.mac .br-tabs .lights, .term.mac .term-bar .lights { display: flex }
.vsc.mac .wctl, .browser.mac .wctl { display: none }
.vsc.mac .vsc-menu > span, .vsc.mac .vsc-menu .logo { display: none }
.t-pun { color: #808080 }
.t-sel { color: #D7BA7D }
.br-reload { margin-top: 26px; background: #0B57D0; color: #fff; border-radius: 18px; padding: 9px 22px; font-size: 14px; font-weight: 500 }
.br-tab svg:last-child { flex: none; opacity: .8 }
.br-tab .ic { display: grid; place-items: center; width: 16px; height: 16px; flex: none }
.br-tab .ic img { width: 16px; height: 16px }
.vsc-code .fi, .vsc-crumbs .fi, .vsc-tab .fi { width: 16px; text-align: center; font-size: 11px; font-weight: 700; display: inline-grid; place-items: center }
.vsc-crumbs .codicon { font-size: 14px }
#desk { margin-top: 22px }
#foot { max-width: 1120px }
@media (max-width: 760px) { .apps button { padding: 6px 10px } }
@media (prefers-color-scheme: dark) { .seg button.on { background: #636366 } }
@media (prefers-color-scheme: dark) {
  .sheet { background: #1C1C1E }
  .sheet .card { background: #2C2C2E }
  .sheet .seg button.on { background: #636366 }
  .sheet-backdrop { background: rgba(0, 0, 0, .55) }
}
@media (max-width: 760px) {
  .term .term-body, .term.mac .term-body { font-size: 11px }
  .term-tab { padding: 0 8px }
  .peek { font-size: 10.5px }
}
