/* Themes. «Кристалл» is crystal.css itself; every other theme sets <html data-theme> and only swaps colours here.
   The colour rules also run under any non-crystal style (data-style), which brings the crystal palette as variables.
   --t-a/b/c are "r g b" triplets: accent, second accent, warm rim. --t-s1..3 are the card gradient stops.
   --t-rot/--t-sat recolour the painted crystal pictures, which are violet in the files. */
html[data-theme="ocean"] {
  --t-page: #0a1822;
  --t-a: 96 200 228;
  --t-b: 120 168 255;
  --t-c: 86 214 186;
  --t-hi: 214 246 255;
  --t-text: #eef8fb;
  --t-muted: #b5d0da;
  --t-s1: 18 48 68;
  --t-s2: 12 31 46;
  --t-s3: 10 38 50;
  --t-btn1: #2e9cc2;
  --t-btn2: #1e7ca3;
  --t-bg: linear-gradient(160deg, #10395a 0%, #0b2438 38%, #0a1822 66%, #0b3036 100%);
  --t-rot: -80deg;
  --t-sat: 1;
}

html[data-theme="sunset"] {
  --t-page: #1d0f15;
  --t-a: 255 156 118;
  --t-b: 255 196 128;
  --t-c: 232 112 152;
  --t-hi: 255 234 218;
  --t-text: #fdf2ec;
  --t-muted: #e0c5b9;
  --t-s1: 64 30 38;
  --t-s2: 42 20 28;
  --t-s3: 56 26 30;
  --t-btn1: #e0805c;
  --t-btn2: #c26045;
  --t-bg: linear-gradient(160deg, #4d2134 0%, #2b1421 40%, #1d0f15 64%, #4b2b1d 100%);
  --t-rot: 115deg;
  --t-sat: 1.05;
}

html[data-theme="forest"] {
  --t-page: #0c1611;
  --t-a: 122 212 162;
  --t-b: 168 222 124;
  --t-c: 92 192 172;
  --t-hi: 222 250 232;
  --t-text: #eef8f1;
  --t-muted: #b9d3c3;
  --t-s1: 24 52 40;
  --t-s2: 15 34 26;
  --t-s3: 18 42 34;
  --t-btn1: #3fa878;
  --t-btn2: #2c875e;
  --t-bg: linear-gradient(160deg, #183d2c 0%, #10271d 40%, #0c1611 66%, #1d3527 100%);
  --t-rot: -120deg;
  --t-sat: 0.9;
}

html[data-theme="graphite"] {
  --t-page: #111214;
  --t-a: 196 202 214;
  --t-b: 168 178 200;
  --t-c: 150 156 168;
  --t-hi: 246 247 250;
  --t-text: #f2f3f5;
  --t-muted: #b4b8c0;
  --t-s1: 36 38 43;
  --t-s2: 25 26 29;
  --t-s3: 29 30 34;
  --t-btn1: #5d6272;
  --t-btn2: #474b58;
  --t-bg: linear-gradient(160deg, #26282e 0%, #18191c 50%, #111214 100%);
  --t-rot: 0deg;
  --t-sat: 0.12;
}

html:is([data-theme], [data-style]) {
  --page: var(--t-page);
  --text: var(--t-text);
  --text-muted: var(--t-muted);
  --violet: rgb(var(--t-a));
  --blue: rgb(var(--t-b));
  --pink: rgb(var(--t-c));
  --glow: rgb(var(--t-a) / 0.4);
  --line: rgb(var(--t-a) / 0.16);
  --line-strong: rgb(var(--t-a) / 0.32);
  --elev: rgb(var(--t-a) / 0.08);
  --card: rgb(var(--t-s2) / 0.92);
  --rim-hi: rgb(var(--t-hi) / 0.46);
  --rim-side: rgb(var(--t-a) / 0.3);
  --rim: rgb(var(--t-a) / 0.2);
  --rim-lo: rgb(var(--t-c) / 0.3);
  background-color: var(--t-page);
}

html:is([data-theme], [data-style]) body { background-color: var(--t-page); }

/* ---------- the scene behind the app ---------- */
html:is([data-theme], [data-style]) .page-bg,
html:is([data-theme], [data-style]) body .device.device,
html:is([data-theme], [data-style]) .loader {
  background: var(--t-bg);
}

html:is([data-theme], [data-style]) .orb-a { background: radial-gradient(circle, rgb(var(--t-b) / 0.34) 0%, rgb(var(--t-b) / 0.1) 40%, transparent 68%); }
html:is([data-theme], [data-style]) .orb-b { background: radial-gradient(circle, rgb(var(--t-a) / 0.34) 0%, rgb(var(--t-a) / 0.1) 40%, transparent 68%); }
html:is([data-theme], [data-style]) .orb-c { background: radial-gradient(circle, rgb(var(--t-c) / 0.3) 0%, rgb(var(--t-c) / 0.09) 40%, transparent 68%); }
html:is([data-theme], [data-style]) .orb-d { background: radial-gradient(circle, rgb(var(--t-a) / 0.2) 0%, rgb(var(--t-a) / 0.06) 40%, transparent 68%); }

html:is([data-theme], [data-style]) .shard,
html:is([data-theme], [data-style]) .hero-card::after,
html:is([data-theme], [data-style]) .empty::before,
html:is([data-theme], [data-style]) .gate__card::after,
html:is([data-theme], [data-style]) .loader::before,
html:is([data-theme], [data-style]) .loader::after {
  filter: hue-rotate(var(--t-rot)) saturate(var(--t-sat));
}

/* ---------- surfaces ---------- */
html:is([data-theme], [data-style]) .glass.glass {
  background:
    linear-gradient(200deg, rgb(var(--t-b) / 0.08) 0%, transparent 38%),
    linear-gradient(158deg, rgb(var(--t-s1) / 0.94) 0%, rgb(var(--t-s2) / 0.95) 46%, rgb(var(--t-s3) / 0.96) 100%);
}

html:is([data-theme], [data-style]) .hero-card.glass {
  background:
    linear-gradient(116deg, transparent 0 52%, rgb(var(--t-a) / 0.07) 52% 70%, transparent 70%),
    linear-gradient(200deg, rgb(var(--t-b) / 0.12) 0%, transparent 38%),
    linear-gradient(158deg, rgb(var(--t-s1) / 0.96) 0%, rgb(var(--t-s2) / 0.96) 46%, rgb(var(--t-s3) / 0.97) 100%);
}

html:is([data-theme], [data-style]) .sheet__card.glass {
  background:
    linear-gradient(200deg, rgb(var(--t-b) / 0.1) 0%, transparent 38%),
    linear-gradient(158deg, rgb(var(--t-s1)) 0%, rgb(var(--t-s2)) 50%, rgb(var(--t-s3)) 100%);
}

html:is([data-theme], [data-style]) .tabbar {
  background: linear-gradient(180deg, rgb(var(--t-s2) / 0.97), rgb(var(--t-s2) / 0.99));
  border-top-color: rgb(var(--t-a) / 0.16);
}

html:is([data-theme], [data-style]) .toast {
  background: linear-gradient(160deg, rgb(var(--t-s1)), rgb(var(--t-s2)));
  border-color: rgb(var(--t-a) / 0.28);
}

html:is([data-theme], [data-style]) .seg { background: rgb(var(--t-s2) / 0.8); border-color: rgb(var(--t-a) / 0.16); }
html:is([data-theme], [data-style]) .sheet__dim { background: rgb(var(--t-s2) / 0.6); }

/* ---------- type ---------- */
html:is([data-theme], [data-style]) .wordmark {
  background: linear-gradient(180deg, #fff 0%, rgb(var(--t-hi)) 38%, rgb(var(--t-a)) 56%, rgb(var(--t-hi)) 100%);
  -webkit-background-clip: text;
  background-clip: text;
}
html:is([data-theme], [data-style]) .eyebrow,
html:is([data-theme], [data-style]) .kicker { color: rgb(var(--t-hi) / 0.85); }
html:is([data-theme], [data-style]) .lesson time span { color: rgb(var(--t-b)); }
html:is([data-theme], [data-style]) .now { background: rgb(var(--t-a) / 0.1); }
html:is([data-theme], [data-style]) .now--live { background: linear-gradient(135deg, rgb(var(--t-b) / 0.42), rgb(var(--t-c) / 0.3)); }
html:is([data-theme], [data-style]) .now--next { background: linear-gradient(135deg, rgb(var(--t-b) / 0.24), rgb(var(--t-a) / 0.16)); }
html:is([data-theme], [data-style]) .now-tag { color: rgb(var(--t-hi)); background: rgb(var(--t-a) / 0.14); }
html:is([data-theme], [data-style]) .now-tag i { background: rgb(var(--t-c)); }
html:is([data-theme], [data-style]) .chip--go { background: rgb(var(--t-a) / 0.2); color: rgb(var(--t-hi)); }

/* ---------- controls ---------- */
html:is([data-theme], [data-style]) .top__bot,
html:is([data-theme], [data-style]) .chip-btn,
html:is([data-theme], [data-style]) .pick,
html:is([data-theme], [data-style]) .sheet-chip,
html:is([data-theme], [data-style]) .hw-clip,
html:is([data-theme], [data-style]) .attach-file,
html:is([data-theme], [data-style]) .hero-act,
html:is([data-theme], [data-style]) .idea-up,
html:is([data-theme], [data-style]) .btn:not(.btn--primary):not(.btn--ghost) {
  background: linear-gradient(180deg, rgb(var(--t-a) / 0.18), rgb(var(--t-a) / 0.1));
}
html:is([data-theme], [data-style]) .top__bot.is-on,
html:is([data-theme], [data-style]) .pick.is-on,
html:is([data-theme], [data-style]) .idea-up.is-on,
html:is([data-theme], [data-style]) .idea-cats .chip-btn.is-on,
html:is([data-theme], [data-style]) .top__gear.is-on {
  background: linear-gradient(180deg, rgb(var(--t-a) / 0.4), rgb(var(--t-a) / 0.28));
}
html:is([data-theme], [data-style]) .btn--ghost { background: rgb(var(--t-a) / 0.06); }
html:is([data-theme], [data-style]) .btn--primary { background: linear-gradient(180deg, var(--t-btn1) 0%, var(--t-btn2) 100%); }
html:is([data-theme], [data-style]) .mark-btn.none,
html:is([data-theme], [data-style]) .switch { background: rgb(var(--t-a) / 0.14); }
html:is([data-theme], [data-style]) .switch.is-on { background: var(--t-btn1); }
html:is([data-theme], [data-style]) .switch::after { background: linear-gradient(135deg, #fff 0%, rgb(var(--t-hi)) 100%); }

html:is([data-theme], [data-style]) .tabbar button.is-on,
html:is([data-theme], [data-style]) .seg button.is-on {
  background: linear-gradient(180deg, rgb(var(--t-a) / 0.34), rgb(var(--t-a) / 0.22));
}
html:is([data-theme], [data-style]) .day {
  border-color: rgb(var(--t-a) / 0.14);
  background: linear-gradient(160deg, rgb(var(--t-a) / 0.08), rgb(var(--t-s2) / 0.3));
}
html:is([data-theme], [data-style]) .day.is-on {
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.26) 0%, rgba(255, 255, 255, 0) 48%),
    linear-gradient(135deg, rgb(var(--t-b) / 0.62) 0%, rgb(var(--t-a) / 0.52) 55%, rgb(var(--t-c) / 0.5) 100%);
}
html:is([data-theme], [data-style]) .day.is-on small { color: rgb(var(--t-hi)); }

html:is([data-theme], [data-style]) .field input:focus,
html:is([data-theme], [data-style]) .field textarea:focus,
html:is([data-theme], [data-style]) .field select:focus {
  border-color: rgb(var(--t-a) / 0.55);
  box-shadow: 0 0 0 4px rgb(var(--t-a) / 0.18);
}
html:is([data-theme], [data-style]) .check-row input { accent-color: var(--t-btn1); }

html:is([data-theme], [data-style]) .progress { background: linear-gradient(90deg, rgb(var(--t-a) / 0.1), rgb(var(--t-a) / 0.22) 50%, rgb(var(--t-a) / 0.1)); }
html:is([data-theme], [data-style]) .progress i {
  background: linear-gradient(90deg, rgb(var(--t-b)), rgb(var(--t-a)) 55%, rgb(var(--t-c)));
  box-shadow: 0 0 8px rgb(var(--t-a) / 0.5);
}
html:is([data-theme], [data-style]) .progress i::after { background: rgb(var(--t-hi)); box-shadow: 0 0 8px rgb(var(--t-a) / 0.8); }

html:is([data-theme], [data-style]) .idea-promo__icon,
html:is([data-theme], [data-style]) .poll__badge { background: rgb(var(--t-a) / 0.14); }
html:is([data-theme], [data-style]) .idea-card__reply { background: rgb(var(--t-a) / 0.12); }
html:is([data-theme], [data-style]) .loader-ecg path { stroke: rgb(var(--t-hi)); filter: drop-shadow(0 0 5px rgb(var(--t-a) / 0.9)); }

/* ---------- the picker in the «Оформление» sheet ---------- */
.look-blocks { padding: 2px 12px; margin-bottom: 14px; }
.look-block { display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 8px; padding: 10px 0; }
.look-block + .look-block { border-top: 1px solid var(--line); }
.look-block > span:first-child { display: grid; gap: 2px; font-size: 14.5px; }
.look-block small { font-size: 12px; color: var(--text-muted); }
.look-block.is-off > span:first-child { color: var(--text-muted); }
.look-move { display: flex; gap: 4px; }
.look-move button {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  color: var(--text-muted);
  background: rgb(255 255 255 / 0.06);
}
.look-move button:disabled { opacity: 0.3; }
.look-move svg { width: 16px; height: 16px; }
.look-hint { margin: -4px 0 10px; font-size: 12.5px; }

/* ---------- tabs: any count from one to four ---------- */
.tabbar { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 1fr; }
.one-tab .tabbar { display: none !important; }
.one-tab .app { grid-template-rows: auto 1fr; }


/* ---------- the «Оформление» sheet: numbered steps ---------- */
.look-walls {
  display: grid;
  gap: 8px;
  margin: 0 0 8px;
}
.look-wall {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: start;
  gap: 10px;
  padding: 12px 12px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgb(255 255 255 / 0.04);
  cursor: pointer;
}
.look-wall input {
  margin-top: 3px;
  accent-color: rgb(var(--t-hi, 140 120 255));
}
.look-wall span {
  display: grid;
  gap: 2px;
  min-width: 0;
}
.look-wall strong {
  font-size: 14.5px;
  font-weight: 650;
}
.look-wall small {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.35;
}
.look-wall.is-on {
  background: rgb(255 255 255 / 0.1);
  box-shadow: inset 0 0 0 1px var(--line-strong);
}
.look-step { display: flex; align-items: center; gap: 8px; margin: 20px 0 10px; font-size: 15px; }
.look-step b {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  font-size: 12px;
  color: var(--page, #111);
  background: rgb(var(--t-hi) / 0.9);
}
.look-sub { margin: 4px 0 8px; font-size: 12.5px; color: var(--text-muted); }
.look-note { margin: 0 0 14px; padding: 10px 12px; font-size: 13px; color: var(--text-muted); background: rgb(255 255 255 / 0.05); border-radius: 10px; }

/* ---------- block drawings ---------- */
.th { display: block; width: 56px; height: 40px; flex-shrink: 0; color: var(--text); }
.th .s { fill: currentColor; opacity: 0.14; }
.th .m { fill: currentColor; opacity: 0.38; }
.th .t { fill: currentColor; opacity: 0.75; }
.th .a { fill: rgb(var(--t-a)); }
.th [fill="none"] { fill: none; }

/* ---------- a pocket phone with a layout ---------- */
.mini-phone {
  display: grid;
  grid-template-rows: 1fr auto;
  width: 62px;
  height: 104px;
  padding: 5px 4px 4px;
  border-radius: 12px;
  background: rgb(0 0 0 / 0.35);
  box-shadow: inset 0 0 0 1.5px rgb(255 255 255 / 0.16);
  flex-shrink: 0;
  overflow: hidden;
}
.mini-phone__screen { display: grid; align-content: start; gap: 2px; overflow: hidden; }
.mini-phone__screen .th { width: 100%; height: 14px; }
.mini-phone__plus { display: grid; place-items: center; height: 100%; font-size: 22px; font-weight: 300; color: var(--text-muted); }
.mini-phone__bar { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 2px; padding-top: 3px; border-top: 1px solid rgb(255 255 255 / 0.12); }
.mini-phone__bar i { display: grid; place-items: center; color: var(--text-muted); }
.mini-phone__bar i.is-on { color: rgb(var(--t-a)); }
.mini-phone__bar svg { width: 10px; height: 10px; }

.look-build {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  padding: 12px;
  margin-bottom: 4px;
  text-align: left;
}
.look-build__t { display: grid; gap: 4px; min-width: 0; }
.look-build__t strong { font-size: 15.5px; }
.look-build__t small { font-size: 12px; color: var(--text-muted); }
.look-build__t em { font-style: normal; font-size: 13px; font-weight: 600; color: rgb(var(--t-a)); }
.look-presets { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; margin-bottom: 10px; }
.look-preset {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px;
  text-align: left;
  font-size: 13.5px;
  color: var(--text);
  background: rgb(255 255 255 / 0.05);
  border-radius: 12px;
}
.look-preset .mini-phone { width: 46px; height: 78px; border-radius: 9px; }
.look-preset .mini-phone__screen .th { height: 10px; }
.look-preset > span:last-child { display: grid; gap: 2px; min-width: 0; }
.look-preset small { font-size: 11.5px; color: var(--text-muted); line-height: 1.3; }
.look-preset.is-on { background: rgb(255 255 255 / 0.14); box-shadow: inset 0 0 0 1px var(--line-strong); }
.look-share { margin-bottom: 10px; }
.look-paste { display: grid; grid-template-columns: 1fr auto; gap: 8px; margin-bottom: 14px; }
.look-paste input { min-width: 0; font-family: Consolas, Menlo, monospace; font-size: 13px; }

/* ---------- the tab constructor: a phone with the tab bar at its bottom ---------- */
.cb-how { margin: 0 0 14px; padding-left: 20px; display: grid; gap: 4px; font-size: 12.5px; color: var(--text-muted); }
.cb-device {
  display: grid;
  grid-template-rows: auto 1fr auto;
  margin: 0 auto 12px;
  max-width: 360px;
  min-height: 380px;
  padding: 8px;
  border-radius: 28px;
  background: rgb(0 0 0 / 0.38);
  box-shadow: inset 0 0 0 2px rgb(255 255 255 / 0.14), 0 18px 40px rgb(0 0 0 / 0.3);
}
.cb-device__top { display: flex; justify-content: space-between; align-items: baseline; padding: 6px 12px 10px; font-weight: 700; font-size: 15px; }
.cb-device__top small { font-weight: 600; font-size: 11.5px; color: var(--text-muted); }
.cb-screen { display: grid; gap: 8px; align-content: start; padding: 0 2px 10px; }
.cb-list { display: grid; gap: 6px; }
.cb-list:empty { display: none; }
.cb-block {
  display: grid;
  grid-template-columns: auto auto 1fr auto;
  align-items: center;
  gap: 8px;
  padding: 6px 6px 6px 2px;
  background: rgb(255 255 255 / 0.07);
  border: 1px solid var(--line);
  border-radius: 14px;
  position: relative;
}
.cb-block .th { width: 50px; height: 36px; padding: 3px; border-radius: 8px; background: rgb(0 0 0 / 0.25); }
.cb-block.is-drag {
  z-index: 5;
  background: rgb(var(--t-s1));
  border-color: rgb(var(--t-hi) / 0.6);
  box-shadow: 0 14px 34px rgb(0 0 0 / 0.5);
  transition: none;
}
.cb-block__t { display: grid; gap: 1px; min-width: 0; font-size: 13.5px; line-height: 1.25; }
.cb-block__t small { font-size: 11px; color: var(--text-muted); }
.cb-block__acts { display: grid; grid-template-columns: repeat(3, 28px); gap: 3px; }
.cb-block__acts button { display: grid; place-items: center; height: 28px; border-radius: 8px; color: var(--text-muted); background: rgb(255 255 255 / 0.06); }
.cb-block__acts button:disabled { opacity: 0.3; }
.cb-block__acts svg { width: 14px; height: 14px; }
.cb-x { font-size: 18px; line-height: 1; }
.cb-grip { display: grid; gap: 3px; padding: 12px 12px 12px 8px; touch-action: none; cursor: grab; }
.cb-grip i { display: block; width: 4px; height: 4px; border-radius: 50%; background: var(--text-muted); box-shadow: 6px 0 0 var(--text-muted); }
.cb-block.is-drag .cb-grip { cursor: grabbing; }
.cb-plus {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 10px;
  font-size: 13.5px;
  color: var(--text-muted);
  border: 1.5px dashed var(--line-strong);
  border-radius: 14px;
}
.cb-plus i,
.page-plus i {
  display: grid;
  place-items: center;
  font-style: normal;
  font-weight: 300;
  line-height: 1;
  color: var(--text);
  border: 1.5px dashed var(--line-strong);
  border-radius: 50%;
}
.cb-plus i { width: 30px; height: 30px; font-size: 22px; }
.cb-plus.is-on { border-style: solid; }
.cb-plus--big { flex-direction: column; min-height: 230px; border: none; }
.cb-plus--big i { width: 76px; height: 76px; font-size: 44px; border-width: 2px; }
.cb-tabs { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 4px; padding: 6px 4px 2px; border-top: 1px solid rgb(255 255 255 / 0.1); }
.cb-tab {
  display: grid;
  justify-items: center;
  gap: 2px;
  min-width: 0;
  padding: 7px 2px;
  font-size: 11px;
  color: var(--text-muted);
  border: 1px solid transparent;
  border-radius: 12px;
  transition: background var(--dur) var(--ease), border-color var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.cb-tab span { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cb-tab svg { width: 20px; height: 20px; }
.cb-tab.is-on { color: var(--text); background: rgb(255 255 255 / 0.12); }
.cb-tab.is-drop { border-color: rgb(var(--t-hi)); background: rgb(var(--t-a) / 0.28); transform: scale(1.06); }
.cb-tab--add i { font-size: 20px; font-weight: 300; line-height: 20px; font-style: normal; }
.cb-pick-wrap { margin: 0 0 12px; }
.cb-pick { display: grid; grid-template-columns: repeat(2, 1fr); gap: 6px; }
.cb-opt {
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-rows: auto auto;
  column-gap: 8px;
  align-items: center;
  padding: 8px;
  text-align: left;
  font-size: 13px;
  color: var(--text);
  background: rgb(255 255 255 / 0.07);
  border: 1px solid var(--line);
  border-radius: 12px;
}
.cb-opt .th { grid-row: span 2; width: 44px; height: 32px; }
.cb-opt small { font-size: 10.5px; color: var(--text-muted); line-height: 1.25; }
.cb-opt.is-used { opacity: 0.75; }
.cb-warn { margin: 0 0 12px; padding: 8px 10px; font-size: 12.5px; color: #ffd9a0; background: rgb(255 170 60 / 0.1); border: 1px solid rgb(255 170 60 / 0.3); border-radius: 10px; }
.cb-peek { margin-bottom: 4px; }
.cb-icons { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 12px; }
.cb-icon { display: grid; place-items: center; width: 40px; height: 40px; color: var(--text-muted); background: rgb(255 255 255 / 0.06); border: 1px solid transparent; border-radius: 10px; }
.cb-icon svg { width: 20px; height: 20px; }
.cb-icon.is-on { color: var(--text); border-color: var(--line-strong); background: rgb(255 255 255 / 0.14); }

.page-plus {
  display: grid;
  justify-items: center;
  gap: 12px;
  margin: 12vh auto 0;
  padding: 26px 22px;
  max-width: 300px;
  color: var(--text-muted);
  font-size: 13.5px;
  text-align: center;
}
.page-plus i { width: 72px; height: 72px; font-size: 42px; border-width: 2px; }
.page-plus:active i { transform: scale(0.94); }

/* «Посмотреть вживую»: the way back to the constructor */
.build-peek {
  position: absolute;
  left: 50%;
  bottom: calc(84px + var(--safe-b));
  z-index: 40;
  transform: translateX(-50%);
  padding: 11px 18px;
  font-size: 14px;
  font-weight: 700;
  color: #111;
  background: rgb(var(--t-hi));
  border-radius: 999px;
  box-shadow: 0 10px 28px rgb(0 0 0 / 0.45);
  white-space: nowrap;
}
.one-tab .build-peek { bottom: calc(24px + var(--safe-b)); }
