/* Heat Check: the studio. Silverpress inks only: carbon, cool white, gray and silver.
   Teal is used in four small places: the playhead, a switch that is on, the dot beside "Recording", and the focus ring. */

/* ---------- intro ---------- */
.hc-intro { position: relative; background-color: var(--stock); background-image: var(--bay-img, none); background-size: cover; background-position: center; }
.hc-intro .wrap { padding-top: clamp(4px, 1.2vh, 12px); padding-bottom: clamp(12px, 2vh, 20px); }
.hc-intro__row { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px clamp(14px, 2vw, 28px); margin-top: 2px; }
.hc-intro h1 { font-size: clamp(2.1rem, 4vw, 3.2rem); }
.hc-intro .lede { font-size: clamp(1.05rem, 1.5vw, 1.3rem); }
.hc-intro__help { margin-top: 8px; color: var(--ink-2); font-size: .94rem; max-width: 62em; }

/* ---------- the studio shell ---------- */
/* The studio changes height each time a step or a panel changes. A browser left to itself then moves the page to hold
   still whatever it had picked out, and on a phone that throws the step off the screen. The studio places itself
   (heat-check.js, stepToTop), so the browser is told not to. This stylesheet is the Card Studio page's alone. */
body { overflow-anchor: none; }
.hc-shell { max-width: 1720px; margin: 0 auto; padding: 0 clamp(0px, 1.1vw, 18px); }
.hc {
  --edge: rgba(174, 182, 188, .56); --mono: ui-monospace, "Cascadia Mono", Consolas, monospace;
  position: relative; color: var(--ink); font-size: .86rem; line-height: 1.45; background: var(--stock-2);
  border-top: 1px solid var(--line-2); border-bottom: 1px solid var(--line-2); scroll-margin-top: 8px;
}
:root[data-theme="light"] .hc { --edge: rgba(8, 11, 13, .56); }
.hc:focus { outline: none; }
.hc.is-drop::after { content: "Drop the photo to make it the card"; position: absolute; inset: 0; z-index: 40; display: grid; place-items: center; background: var(--stock-2); border: 3px dashed var(--ink); color: var(--ink); font: 700 1.4rem/1.2 var(--display); text-align: center; padding: 20px; pointer-events: none; opacity: .94; }
/* a sound file is dropped on its track, so the tracks are outlined, and say so, in place of the message above */
.hc.is-drop-sound .tl__lane--a, .hc.is-drop-sound .snd { outline: 2px dashed var(--ink); outline-offset: 2px; }
.hc.is-drop-sound .tl__lane--a::after { content: "Drop the sound here"; position: absolute; inset: 0; z-index: 2; display: flex; align-items: center; padding: 0 8px; border-radius: 5px; background: var(--stock-2); color: var(--ink); font: 800 .6rem/1 var(--sans); letter-spacing: .1em; text-transform: uppercase; white-space: nowrap; pointer-events: none; }
.hc-h { font: 800 .66rem/1.2 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--ink-3); margin: 0; }
.hc-note { color: var(--ink-2); font-size: .8rem; line-height: 1.45; margin: 0; }
.hc-noscript { padding: 14px; font-weight: 600; }

/* controls */
.hc-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em; min-height: 32px; padding: 0 12px;
  border: 1px solid var(--edge); border-radius: 8px; background: var(--stock); color: var(--ink);
  font: 800 .64rem/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; white-space: nowrap; text-decoration: none;
}
.hc-btn:hover { border-color: var(--ink); }
.hc-btn[disabled] { opacity: .38; cursor: default; }
.hc-btn[disabled]:hover { border-color: var(--edge); }
.hc-btn svg { width: 16px; height: 16px; flex: 0 0 auto; }
.hc-btn--icon { width: 34px; padding: 0; }
/* a switch: the small teal dot says it is on */
.hc-tog::before { content: ""; width: 7px; height: 7px; border-radius: 50%; border: 1.5px solid var(--ink-3); }
.hc-tog[aria-pressed="true"]::before { background: var(--teal); border-color: var(--teal); }
.hc-seg { display: inline-flex; border: 1px solid var(--edge); border-radius: 9px; padding: 2px; gap: 2px; background: var(--stock); margin: 0; min-width: 0; }
.hc-seg > button, .hc-seg > label > span {
  display: inline-flex; align-items: center; justify-content: center; min-height: 28px; padding: 0 12px; border: 0; border-radius: 6px; background: none; color: var(--ink-2);
  font: 800 .64rem/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; white-space: nowrap; cursor: pointer;
}
.hc-seg > button[aria-pressed="true"], .hc-seg > label > input:checked + span { background: var(--ink); color: var(--stock); }
/* The label holds its own hidden input (position: relative). Left to the studio's frame, the input sat where the
   panel's top was, however far the panel had been scrolled: a press then gave it the focus, and the browser scrolled
   the whole frame up to bring it into view, which left a gray gap under the studio. */
.hc-seg > label { position: relative; display: inline-flex; margin: 0; }
.hc-seg > label > input { position: absolute; left: 0; top: 0; opacity: 0; width: 1px; height: 1px; }
.hc-seg > label > input:focus-visible + span { outline: 2px solid var(--focus); outline-offset: 2px; }

.hc label, .hc .hc-l { display: block; font: 800 .62rem/1.3 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); margin: 0 0 4px; }
.hc input[type="text"], .hc input[type="url"], .hc input[type="number"], .hc textarea, .hc select {
  width: 100%; background-color: var(--stock); color: var(--ink); border: 1px solid var(--edge); border-radius: 7px;
  font: 500 .9rem/1.3 var(--sans); padding: 7px 9px; box-shadow: none;
}
.hc select { padding-right: 1.9em; background-position: right .7em center; }
:root[data-theme="light"] .hc select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%23555B60' stroke-width='2'/%3E%3C/svg%3E"); }
.hc textarea { display: block; min-height: 9.5em; resize: vertical; line-height: 1.45; }
.hc input[type="text"]:focus-visible, .hc input[type="url"]:focus-visible, .hc input[type="number"]:focus-visible, .hc textarea:focus-visible, .hc select:focus-visible { outline: 2px solid var(--focus); outline-offset: 1px; border-color: var(--ink); box-shadow: none; }
.hc input[type="checkbox"] { width: 18px; height: 18px; margin: 0; accent-color: var(--teal); flex: 0 0 auto; }
.hc input[type="range"] { -webkit-appearance: none; appearance: none; display: block; width: 100%; height: 24px; margin: 0; padding: 0; border: 0; background: transparent; cursor: pointer; }
.hc input[type="range"]::-webkit-slider-runnable-track { height: 4px; border-radius: 2px; background: var(--edge); }
.hc input[type="range"]::-moz-range-track { height: 4px; border-radius: 2px; background: var(--edge); }
.hc input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 16px; height: 16px; margin-top: -6px; border-radius: 50%; background: var(--ink); border: 2px solid var(--stock-2); box-shadow: 0 0 0 1px var(--ink); }
.hc input[type="range"]::-moz-range-thumb { width: 12px; height: 12px; border-radius: 50%; background: var(--ink); border: 2px solid var(--stock-2); box-shadow: 0 0 0 1px var(--ink); }
.hc input[type="range"]:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; border-radius: 6px; }

/* ---------- app bar ---------- */
.hc-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; padding: 9px 12px; }
.hc-bar__name { flex: 0 1 290px; min-width: 150px; }
.hc .hc-bar__name input { font-weight: 700; }
.hc-status { flex: 1 1 160px; min-width: 0; margin: 0; color: var(--ink-2); font-size: .8rem; line-height: 1.3; text-align: right; min-height: 1.3em; }
.hc-bar .btn { min-height: 38px; }

/* ---------- viewer ---------- */
/* one column that never grows past the viewer (minmax(0, 1fr)): left to size itself, the row of sizes on top, which
   scrolls sideways, would push the whole viewer wider than a phone's screen */
.hc-view { display: grid; grid-template-columns: minmax(0, 1fr); grid-template-rows: auto minmax(0, 1fr) auto; min-width: 0; }
.hc-view__top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0 8px; padding: 6px 10px; border-bottom: 1px solid var(--line); }
/* The sizes: the ticked ones are tabs, and every other size stands beside them, one press away (a dashed box with a
   plus). A size the template in use cannot make is struck through, and a press says why. The row scrolls sideways on
   a narrow screen. Before, only the ticked sizes were here, and the rest were a tab or a step away. */
.hc-fbar { display: flex; align-items: center; gap: 6px; flex: 1 1 0; min-width: 0; overflow-x: auto; scrollbar-width: none; }
.hc-fbar::-webkit-scrollbar { display: none; }
.hc-ftabs { display: flex; gap: 4px; flex: none; }
.hc-fadd { display: flex; gap: 6px; flex: none; padding: 2px; }
.hc-fadd[hidden] { display: none; }
.hc-fadd__b { display: inline-flex; align-items: center; gap: .5em; min-height: 26px; padding: 0 9px; border: 1px dashed var(--edge); border-radius: 7px; background: none; color: var(--ink-2); font: 800 .64rem/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; white-space: nowrap; }
.hc-fadd__b i { font: 700 .95rem/1 var(--sans); font-style: normal; letter-spacing: 0; }
.hc-fadd__b span { font: 600 .68rem/1 var(--mono); letter-spacing: 0; }
.hc-fadd__b:hover { color: var(--ink); border-color: var(--ink); }
.hc-fadd__b.is-off { border-style: solid; border-color: var(--line); color: var(--ink-3); text-decoration: line-through; cursor: default; }
.hc-fadd__b.is-off:hover { color: var(--ink-3); border-color: var(--line); }
.hc-fwhy { flex: 1 1 100%; margin: 2px 0 4px; color: var(--ink-2); font-size: .8rem; line-height: 1.4; }
.hc-fwhy[hidden] { display: none; }
.hc-ftabs [role="tab"] { display: inline-flex; align-items: center; gap: .6em; min-height: 30px; padding: 0 10px; border: 0; border-bottom: 2px solid transparent; background: none; color: var(--ink-3); font: 800 .64rem/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; white-space: nowrap; }
.hc-ftabs [role="tab"] span { font: 600 .68rem/1 var(--mono); letter-spacing: 0; }
.hc-ftabs [role="tab"][aria-selected="true"] { color: var(--ink); border-bottom-color: var(--ink); }
.hc-stage { display: grid; place-items: center; min-height: 0; overflow: hidden; background: var(--stock); }
.hc-frame { position: relative; width: 240px; height: 300px; background: var(--stock-3); box-shadow: 0 0 0 1px var(--line-2); }
.hc-frame canvas { width: 100%; height: 100%; }
.hc-safe { position: absolute; inset: 0; pointer-events: none; }
.hc-safe i { display: none; position: absolute; left: 0; right: 0; font-style: normal; background: repeating-linear-gradient(-45deg, rgba(242, 244, 243, .38) 0 2px, rgba(8, 11, 13, .5) 2px 9px); }
.hc-safe b { position: absolute; left: 6px; font: 800 9px/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: #F2F4F3; background: #080B0D; padding: 4px 5px; }
.hc-safe[data-kind="tall"] .a { display: block; top: 0; height: 13.02%; border-bottom: 1px solid #F2F4F3; }
.hc-safe[data-kind="tall"] .b { display: block; bottom: 0; height: 17.71%; border-top: 1px solid #F2F4F3; }
.hc-safe .a b { bottom: 6px; } .hc-safe .b b { top: 6px; }
.hc-safe:not([data-kind="tall"]) .m { display: block; inset: 4.5%; background: none; border: 1px dashed #F2F4F3; outline: 1px dashed #080B0D; outline-offset: 1px; }
.hc-safe .m b { left: 6px; top: 6px; }
/* a microphone take: the count of three over the frame, then a small "Recording" label while it runs.
   Fixed inks, like the safe-area marks, because the post under them can be any colour. */
.hc-take { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; pointer-events: none; color: #F2F4F3; }
.hc-take[data-phase="count"] { background: rgba(8, 11, 13, .86); }
.hc-take b { font: 700 clamp(4rem, 15vh, 7.5rem)/1 var(--display); animation: hc-count .3s var(--ease-out) both; }
.hc-take span { margin-top: 12px; font: 800 .66rem/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; }
.hc-take[data-phase="rec"] { place-content: start; justify-items: start; }
.hc-take[data-phase="rec"] b { display: none; }
.hc-take[data-phase="rec"] span { display: inline-flex; align-items: center; gap: 7px; margin: 8px; padding: 6px 8px; background: #080B0D; letter-spacing: .12em; }
.hc-take[data-phase="rec"] span::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--teal); }
@keyframes hc-count { from { opacity: 0; transform: scale(1.3); } }
@media (prefers-reduced-motion: reduce) { .hc-take b { animation: none; } }
.hc-transport { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; padding: 8px 12px; border-top: 1px solid var(--line); }
.hc-play { width: 38px; height: 38px; flex: 0 0 auto; border-radius: 50%; border: 2px solid var(--ink); background: var(--ink); color: var(--stock); display: grid; place-items: center; padding: 0; }
.hc-play svg { width: 16px; height: 16px; }
.hc-play .i-pause, .hc-play[aria-pressed="true"] .i-play { display: none; }
.hc-play[aria-pressed="true"] .i-pause { display: block; }
.hc-tc { flex: 0 0 auto; font: 600 .84rem/1 var(--mono); letter-spacing: .04em; color: var(--ink); white-space: nowrap; }
.hc .hc-scrub { flex: 1 1 70px; min-width: 60px; }
.hc input.hc-scrub::-webkit-slider-thumb { background: var(--teal); box-shadow: 0 0 0 1px var(--teal); }
.hc input.hc-scrub::-moz-range-thumb { background: var(--teal); box-shadow: 0 0 0 1px var(--teal); }
/* the speaker: waves when the sound is on, a cross when it is muted */
.hc-quiet .off, .tl__mute .off, .hc-quiet[aria-pressed="true"] .on, .tl__mute[aria-pressed="true"] .on { display: none; }
.hc-quiet[aria-pressed="true"] .off, .tl__mute[aria-pressed="true"] .off { display: block; }
.hc-quiet[aria-pressed="true"] { color: var(--ink-3); }

/* ---------- panels ---------- */
.hc-tabs { display: flex; border-bottom: 1px solid var(--line); }
.hc-tabs [role="tab"], .hc-ptabs [role="tab"] {
  flex: 1 1 0; min-width: 0; min-height: 40px; padding: 0 4px; border: 0; border-bottom: 2px solid transparent; background: none; color: var(--ink-3);
  font: 800 .64rem/1 var(--sans); letter-spacing: .16em; text-transform: uppercase;
}
.hc-tabs [role="tab"][aria-selected="true"], .hc-ptabs [role="tab"][aria-selected="true"] { color: var(--ink); border-bottom-color: var(--ink); }
.hc-ptabs { display: none; }
.hc-sec { padding: 14px 14px 16px; }
.hc-sec + .hc-sec { border-top: 1px solid var(--line); }
.hc-sec > .hc-h { margin-bottom: 10px; }
.hc-sec > .hc-h + .hc-note { margin: -4px 0 10px; }

/* media bin */
.hc-bin { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px 8px; margin: 0 0 12px; padding: 0; list-style: none; }
.hc-tile { display: block; width: 100%; padding: 0; border: 0; background: none; color: var(--ink-2); text-align: left; }
.hc-tile img { width: 100%; height: auto; aspect-ratio: 5 / 7; object-fit: cover; background: var(--stock-3); outline: 2px solid transparent; outline-offset: 2px; }
.hc-tile[aria-pressed="true"] img { outline-color: var(--ink); }
.hc-tile span { display: block; margin-top: 6px; font: 700 .68rem/1.25 var(--sans); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hc-tile[aria-pressed="true"] span { color: var(--ink); }
.hc-add { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-bottom: 10px; }
/* the same button at the top of Your cards (November 20, 2026): before, the only one was under the whole list, about
   1,480 px down the panel on a phone */
.st-addtop { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; margin: 0 0 14px; }
.st-addtop .btn { min-height: 44px; }
.st-addtop .hc-note { flex: 1 1 12em; margin: 0; }

/* looks */
.hc-looks { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 10px; }
.hc-look { display: block; width: 100%; padding: 0; border: 0; background: none; color: var(--ink-2); text-align: left; }
.hc-look__name { display: block; margin-top: 7px; font: 800 .62rem/1.2 var(--sans); letter-spacing: .14em; text-transform: uppercase; }
.hc-look[aria-pressed="true"] .hc-look__name { color: var(--ink); }

/* sizes */
.hc-fmts { display: grid; gap: 4px; margin: 0 0 10px; padding: 0; list-style: none; }
.hc .hc-fmt { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 2px 10px; align-items: center; margin: 0; padding: 9px 10px; border: 1px solid var(--line); border-radius: 9px; letter-spacing: 0; text-transform: none; cursor: pointer; }
.hc .hc-fmt:has(input:checked) { border-color: var(--edge); background: var(--stock); }
.hc-fmt b { font: 700 .86rem/1.25 var(--sans); color: var(--ink); }
.hc-fmt small { grid-column: 2; font: 600 .72rem/1.3 var(--mono); color: var(--ink-3); }

/* inspector */
.hc-fields { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 10px; }
.hc-fields .wide { grid-column: 1 / -1; }
.hc-slide { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: baseline; gap: 0 8px; margin-bottom: 6px; }
.hc-slide label { margin: 0; }
.hc-slide .hc-val { font: 600 .72rem/1 var(--mono); color: var(--ink-2); }
.hc-slide input { grid-column: 1 / -1; }
.hc-sub { margin: 12px 0 8px; padding-top: 12px; border-top: 1px dashed var(--line-2); }
.hc .hc-check { display: flex; align-items: center; gap: 10px; min-height: 30px; margin: 0; letter-spacing: .06em; text-transform: none; font: 600 .84rem/1.3 var(--sans); color: var(--ink); cursor: pointer; }
.hc-rowbtns { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.hc-swatches { display: grid; grid-template-columns: repeat(auto-fill, 30px); gap: 8px; max-width: 228px; margin: 0 0 12px; padding: 0; border: 0; min-width: 0; }
.hc .hc-sw { position: relative; display: block; width: 30px; height: 30px; margin: 0; cursor: pointer; }
.hc-sw input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.hc-sw i { display: block; width: 100%; height: 100%; border-radius: 7px; background: var(--c); box-shadow: inset 0 0 0 1px var(--edge); }
.hc-sw input:checked + i { outline: 2px solid var(--ink); outline-offset: 2px; }
.hc-sw input:focus-visible + i { outline: 2px solid var(--focus); outline-offset: 4px; }
.hc-custom { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.hc-custom label { margin: 0; }
.hc-custom input[type="color"] { width: 44px; height: 30px; padding: 0; border: 1px solid var(--edge); border-radius: 7px; background: var(--stock); cursor: pointer; }
.hc-opts { margin: 0 0 14px; padding: 0; border: 0; min-width: 0; }
.hc-opts .hc-seg { display: flex; flex-wrap: wrap; }
.hc-opts .hc-seg > label { flex: 1 1 auto; }
.hc-opts .hc-seg > label > span { flex: 1; padding: 0 8px; }
.hc-count { margin: 6px 0 0; font: 600 .74rem/1.3 var(--mono); color: var(--ink-2); }
.hc-count.is-over { color: var(--ink); font-weight: 800; }
.hc-count.is-over::before { content: "Too long: "; }
.hc-hist { width: 100%; height: 56px; background: var(--stock); box-shadow: 0 0 0 1px var(--line); }

/* sound: a voice track and a music track, for video posts only */
.hc[data-mode="picture"] .snd__vid, .hc[data-mode="video"] .snd__pic { display: none; }
.snd { margin-top: 12px; padding-top: 12px; border-top: 1px dashed var(--line-2); }
.snd__top { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 32px; }
.snd__file { margin: 2px 0 0; color: var(--ink-2); font-size: .84rem; line-height: 1.4; overflow-wrap: anywhere; }
.snd.is-on .snd__file { color: var(--ink); font-weight: 700; }
.snd__msg { margin-top: 10px; }
.snd__set { margin-top: 14px; }
.snd__pair { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0 16px; }
/* while a take is being counted in or recorded, its button is the way to stop: inked in, with a square */
.snd__rec.is-live { background: var(--ink); border-color: var(--ink); color: var(--stock); }
.snd__rec.is-live::before { content: ""; width: 8px; height: 8px; background: currentColor; }
.snd__vid .hc-check:not([hidden]) + .hc-note { margin-top: 8px; }

/* last night: standout performances to fill the text from, above the fields they fill. Words only: no pictures or marks. */
.feed-open { margin: 0 0 12px; }
.feed { margin: 0 0 14px; padding-bottom: 14px; border-bottom: 1px dashed var(--line-2); }
.feed > .hc-h { margin-bottom: 8px; }
/* the sports, five across, each with its day under its name */
.feed__sports { display: flex; }
.feed__sports > label { flex: 1 1 0; min-width: 0; margin: 0; }
.feed__sports > label > span { display: flex; flex-direction: column; gap: 3px; min-height: 40px; padding: 4px 2px; }
.feed__sports small { font: 600 .58rem/1 var(--mono); letter-spacing: 0; text-transform: none; }
.feed__day { margin: 10px 0 0; font: 700 .86rem/1.3 var(--sans); color: var(--ink); }
.feed__msg { margin-top: 6px; }
.feed__again { margin-top: 8px; }
.feed__src { margin-top: 10px; }
/* each performance is a button laid out like a line of a box score: who, the big number, what they did, the game */
.feed__list { display: grid; gap: 4px; margin: 8px 0 0; padding: 0; list-style: none; }
.feed__row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 1px 10px; align-items: start; width: 100%; padding: 9px 10px; border: 1px solid var(--line); border-radius: 9px; background: none; color: var(--ink); text-align: left; }
.feed__row:hover { border-color: var(--edge); }
.feed__row:focus-visible { outline-offset: 1px; }
.feed__who { font: 700 .86rem/1.25 var(--sans); overflow-wrap: anywhere; }
.feed__num { grid-row: span 2; text-align: right; font: 700 1.2rem/1 var(--display); white-space: nowrap; }
.feed__num small { display: block; margin-top: 4px; font: 800 .54rem/1.2 var(--sans); letter-spacing: .12em; color: var(--ink-2); }
.feed__sum { color: var(--ink-2); font-size: .78rem; line-height: 1.35; overflow-wrap: anywhere; text-wrap: balance; }
.feed__game { grid-column: 1 / -1; margin-top: 3px; font: 600 .68rem/1.3 var(--mono); color: var(--ink-3); overflow-wrap: anywhere; }
/* the row whose words are in the post: a heavier edge and three words, not a colour */
.feed__row[aria-pressed="true"] { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); background: var(--stock); }
.feed__in { display: none; grid-column: 1 / -1; margin-top: 5px; font: 800 .58rem/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; }
.feed__row[aria-pressed="true"] .feed__in { display: block; }

/* ---------- timeline ---------- */
.hc-time { padding: 10px 14px 12px; }
.tl__top { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; min-height: 34px; }
.tl__still { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; margin: 0; color: var(--ink-2); font-size: .8rem; }
.hc[data-mode="video"] .tl__still { display: none; }
.tl__sel { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; margin-left: auto; font-size: .8rem; color: var(--ink-2); }
.tl__sel b { font: 800 .64rem/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--ink); margin-right: 4px; }
.tl__sel label { margin: 0; letter-spacing: .06em; text-transform: none; font: 600 .78rem/1 var(--sans); color: var(--ink-2); }
.hc .tl__sel input { width: 4.6em; padding: 4px 6px; font: 600 .8rem/1.2 var(--mono); }
.tl { --lane: 22px; display: grid; grid-template-columns: 132px minmax(0, 1fr); gap: 0 8px; margin-top: 6px; }
/* the ruler, then one row for each lane: five for the picture and, in a video, two for the sound */
.tl__heads, .tl__area { display: grid; grid-template-rows: 20px; grid-auto-rows: var(--lane); row-gap: 3px; }
.hc[data-mode="picture"] .tl__head--a, .hc[data-mode="picture"] .tl__lane--a { display: none; }
.tl__head { display: flex; align-items: center; gap: 6px; padding: 0 6px 0 2px; border-radius: 6px; background: var(--stock-3); color: var(--ink-2); font: 700 .68rem/1 var(--sans); white-space: nowrap; overflow: hidden; }
.tl__head b { font: 800 .6rem/1 var(--mono); color: var(--ink-3); }
.tl__head--3 { grid-row: span 3; }
.tl__head.is-off span { text-decoration: line-through; }
.tl__eye, .tl__mute { width: 26px; height: 24px; flex: 0 0 auto; display: grid; place-items: center; padding: 0; border: 0; border-radius: 5px; background: none; color: var(--ink); }
.tl__eye svg, .tl__mute svg { width: 16px; height: 16px; }
.tl__eye:focus-visible, .tl__mute:focus-visible { outline-offset: -2px; }      /* inside the button: the track's name plate clips anything outside it */
.tl__mute[aria-pressed="true"] { color: var(--ink-3); }
.tl__mute[disabled] { visibility: hidden; }             /* nothing on the track to mute yet; the space is kept so the names line up */
.tl__head--a:not(:has(.tl__mute))::before { content: ""; flex: 0 0 26px; }      /* and kept until the switch itself arrives with the sound panel */
.tl__eye .off, .tl__eye[aria-pressed="false"] .on { display: none; }
.tl__eye[aria-pressed="false"] .off { display: block; }
.tl__eye[aria-pressed="false"] { color: var(--ink-3); }
.tl__area { position: relative; touch-action: pan-y; -webkit-user-select: none; user-select: none; }
.tl__ruler { position: relative; border-bottom: 1px solid var(--edge); cursor: ew-resize; touch-action: none; background: linear-gradient(90deg, var(--edge) 1px, transparent 1px) 0 100% / var(--half, 8.3333%) 5px repeat-x; }
.tl__ruler i { position: absolute; top: 0; bottom: 0; padding: 3px 0 0 4px; border-left: 1px solid var(--ink-3); font: 600 .62rem/1 var(--mono); font-style: normal; color: var(--ink-3); }
.tl__ruler i.last { transform: translateX(-100%); padding: 3px 4px 0 0; border-left: 0; border-right: 1px solid var(--ink-3); }
.tl__lane { position: relative; border-radius: 5px; background: var(--stock-3); }
.tl__clip { position: absolute; top: 0; bottom: 0; display: flex; align-items: center; padding: 0 16px 0 8px; overflow: hidden; border-radius: 5px; background: var(--ink-3); color: var(--stock-2); font: 800 .6rem/1 var(--sans); letter-spacing: .1em; text-transform: uppercase; white-space: nowrap; cursor: grab; touch-action: none; }
.tl__clip:active { cursor: grabbing; }
.tl__clip[aria-pressed="true"] { background: var(--ink); }
.tl__clip.is-off { opacity: .42; }
.tl__clip:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
.tl__grip { position: absolute; top: 0; right: 0; bottom: 0; width: 13px; cursor: ew-resize; background: linear-gradient(90deg, transparent 4px, var(--stock-2) 4px 5.5px, transparent 5.5px 7.5px, var(--stock-2) 7.5px 9px, transparent 9px); }
/* a sound clip: its waveform in gray ink, and the file's name on a plate so the bars do not run through it */
.tl__clip--a { padding: 0; background: var(--stock-4); box-shadow: inset 0 0 0 1px var(--edge); color: var(--ink); }
.tl__clip--a canvas { position: absolute; inset: 0; width: 100%; height: 100%; color: var(--ink-3); pointer-events: none; }
.tl__clip--a span { position: relative; max-width: min(calc(100% - 8px), 11em); margin-left: 4px; padding: 2px 5px; overflow: hidden; text-overflow: ellipsis; border-radius: 3px; background: var(--stock-4); font: 700 .64rem/1.2 var(--sans); letter-spacing: .02em; text-transform: none; }
/* a muted track: the waveform fades and the name is struck out, but stays as easy to read */
.tl__clip--a.is-off { opacity: 1; }
.tl__clip--a.is-off canvas { opacity: .3; }
.tl__clip--a.is-off span { text-decoration: line-through; }
/* an empty sound track is a button that opens that track's controls */
.tl__add { position: absolute; inset: 0; width: 100%; display: flex; align-items: center; padding: 0 8px; overflow: hidden; border: 1px dashed var(--edge); border-radius: 5px; background: none; color: var(--ink-2); font: 800 .6rem/1 var(--sans); letter-spacing: .1em; text-transform: uppercase; white-space: nowrap; }
.tl__add:hover { border-color: var(--ink); color: var(--ink); }
.tl__add:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
.tl__playhead { position: absolute; top: 0; bottom: 0; left: 0; z-index: 3; width: 2px; margin-left: -1px; background: var(--teal); pointer-events: none; }
.tl__playhead::before { content: ""; position: absolute; left: -5px; top: 0; border: 6px solid transparent; border-top-color: var(--teal); }
.tl__help { margin: 8px 0 0; color: var(--ink-2); font-size: .76rem; line-height: 1.4; }

/* ---------- export dialog ---------- */
.hc-dlg { width: min(580px, calc(100vw - 24px)); max-height: calc(100vh - 24px); max-height: calc(100dvh - 24px); overflow: auto; padding: 22px; border: 2px solid var(--ink); border-radius: 16px; background: var(--stock-2); color: var(--ink); }
.hc-dlg::backdrop { background: rgba(8, 11, 13, .8); }
.hc-dlg h2 { font: 700 1.6rem/1.1 var(--display); margin-bottom: 8px; }
.hc-dlg__what { color: var(--ink-2); margin-bottom: 14px; }
.hc-dlg__status { font-weight: 700; min-height: 2.9em; margin-bottom: 10px; }
.hc-dlg progress { display: block; width: 100%; height: 10px; margin-bottom: 14px; border: 0; border-radius: 99px; overflow: hidden; background: var(--stock-4); accent-color: var(--ink); }
.hc-dlg progress::-webkit-progress-bar { background: var(--stock-4); }
.hc-dlg progress::-webkit-progress-value { background: var(--ink); }
.hc-dlg progress::-moz-progress-bar { background: var(--ink); }
.hc-preview { display: grid; place-items: center; margin-bottom: 14px; background: var(--stock); padding: 10px; }
.hc-preview img, .hc-preview video { max-width: 100%; max-height: min(42vh, 360px); width: auto; height: auto; box-shadow: 0 0 0 1px var(--line-2); }
.hc-files { display: grid; gap: 8px; margin: 0 0 14px; padding: 0; list-style: none; }
.hc-files li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2px 12px; align-items: center; padding: 10px 12px; border: 1px solid var(--line-2); border-radius: 10px; }
.hc-file__name { font-weight: 700; overflow-wrap: anywhere; }
.hc-file__meta { grid-column: 1; font: 600 .76rem/1.3 ui-monospace, "Cascadia Mono", Consolas, monospace; color: var(--ink-2); }
.hc-files .hc-btn { grid-column: 2; grid-row: 1 / span 2; min-height: 40px; }
.hc-dlg .hc-btn { border-color: var(--line-2); }
.hc-dlg__acts { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 14px; }
.hc-dlg__acts .hc-btn { min-height: 44px; }
/* exporting needs a free account: the short sheet, and the post found from before */
.hc-gate__ways { display: grid; gap: 10px; margin: 16px 0 8px; }
.hc-gate__ways .btn { width: 100%; justify-content: center; min-height: 48px; }
.hc-gate__say:empty { display: none; }
.hc-gate__say { margin: 4px 0 10px; color: var(--ink); font-weight: 600; }
.hc-gate .hc-dlg__acts, .hc-found .hc-dlg__acts { margin: 12px 0 0; }
.hc-gate .hc-dlg__acts .hc-btn, .hc-found .hc-dlg__acts .hc-btn, .hc-found .hc-dlg__acts .btn { min-height: 48px; }
@media (max-width: 640px) {
  .hc-dlg.hc-gate, .hc-dlg.hc-found { width: 100%; max-width: none; margin: auto 0 0; border-width: 2px 0 0; border-radius: 16px 16px 0 0; padding-bottom: calc(22px + env(safe-area-inset-bottom, 0px)); }
}
.hc-dlg .fine { margin: 0; max-width: none; }
/* how a video was made: plain facts, closed until somebody needs them */
.hc-how { margin: 0 0 14px; border-top: 1px solid var(--line-2); border-bottom: 1px solid var(--line-2); }
.hc-how summary { cursor: pointer; padding: 12px 0; font-weight: 700; font-size: .9rem; color: var(--ink-2); }
.hc-how summary:hover { color: var(--ink); }
.hc-how p { margin: 0 0 10px; font-size: .84rem; line-height: 1.5; color: var(--ink-2); overflow-wrap: anywhere; }
.hc-how p:last-child { margin-bottom: 14px; font: 600 .74rem/1.45 ui-monospace, "Cascadia Mono", Consolas, monospace; }

/* ---------- what it is, for readers ---------- */
.hc-more { padding-top: clamp(34px, 5vw, 64px); }   /* top only: the sides are the wrap's gutter */
.hc-more h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); margin-bottom: .55em; }
.hc-more section + section { margin-top: clamp(34px, 5vw, 60px); }
/* "Make it yours": a real post (drawn by the studio with a brand kit) with what was changed on it marked */
.hc-yours { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(24px, 4vw, 64px); align-items: center; }
.hc-yours__post { position: relative; margin: 0; width: min(100%, 460px); justify-self: center; box-shadow: 0 0 0 1px var(--line-2), 11px 11px 0 var(--offset); }
.hc-yours__post img { display: block; width: 100%; height: auto; }
.hc-yours__sel { position: absolute; left: 53.5%; top: 3.2%; width: 38%; height: 26%; border: 1.5px dashed #16A7B8; pointer-events: none; }
.hc-yours__sel i { position: absolute; width: 9px; height: 9px; background: #080B0D; border: 1.5px solid #16A7B8; }
.hc-yours__sel i:nth-child(1) { left: -5px; top: -5px; } .hc-yours__sel i:nth-child(2) { right: -5px; top: -5px; }
.hc-yours__sel i:nth-child(3) { left: -5px; bottom: -5px; } .hc-yours__sel i:nth-child(4) { right: -5px; bottom: -5px; }
.hc-yours__strip { position: absolute; left: 3.5%; right: 3.5%; top: 92.2%; height: 6.3%; border: 1.5px dashed #16A7B8; pointer-events: none; }
.hc-yours__tag { position: absolute; background: #16A7B8; color: #041316; font: 800 clamp(.55rem, 1vw, .66rem)/1 var(--sans); letter-spacing: .04em; padding: .5em .7em; border-radius: 3px; white-space: nowrap; }
.hc-yours__tag--move { right: 8%; top: 30.5%; }
.hc-yours__tag--grad { left: 4.5%; top: 75.6%; }
.hc-yours__tag--brand { right: 3.5%; top: 87.3%; }
.hc-yours__list { list-style: none; margin: 1em 0 0; padding: 0; display: grid; gap: 14px; }
.hc-yours__list li { padding-left: 16px; border-left: 3px solid var(--ink); color: var(--ink-2); }
.hc-yours__list b { display: block; color: var(--ink); font: 700 1.08rem/1.25 var(--display); margin-bottom: .2em; }
@media (max-width: 760px) { .hc-yours { grid-template-columns: 1fr; } }
.hc-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px clamp(18px, 3vw, 40px); margin: 0; padding: 0; list-style: none; counter-reset: step; }
.hc-steps li { counter-increment: step; padding-top: 16px; border-top: 3px solid var(--ink); }
.hc-steps li::before { content: counter(step); display: block; font: 700 2rem/1 var(--display); margin-bottom: 10px; }
.hc-steps h3 { font: 700 1.2rem/1.2 var(--display); margin-bottom: .4em; }
.hc-steps p { color: var(--ink-2); }
.hc-table { overflow-x: auto; }
.hc-table table { width: 100%; min-width: 560px; border-collapse: collapse; text-align: left; }
.hc-table th, .hc-table td { padding: 12px 14px 12px 0; border-bottom: 1px solid var(--line-2); vertical-align: top; }
.hc-table thead th { font: 800 .68rem/1.3 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--ink-3); border-bottom: 3px solid var(--ink); }
.hc-table tbody th { font: 700 1.02rem/1.3 var(--display); }
.hc-table td.px { font: 600 .9rem/1.4 ui-monospace, "Cascadia Mono", Consolas, monospace; white-space: nowrap; }
.hc-table + p { margin-top: 14px; color: var(--ink-2); max-width: 48em; }

/* ---------- two ways of showing one studio ----------
   data-ui on #hc says which. Pro is the dense editor (a computer only: heat-check.js never gives a narrow screen Pro).
   Simple is a guided path: the viewer, the step names, one step's panels, and Back and Next. Every panel says which
   step it belongs to (data-ph); a control marked data-fine is Pro's alone, and this one rule hides them all in Simple. */
.hc[data-ui="simple"] [data-fine] { display: none !important; }
.hc-stepnav, .hc-ptabs { display: none; }
.hc-ui { display: none; }

/* ---------- Pro: a dense editor, panels separated by thin gutters ---------- */
@media (min-width: 1100px) {
  .hc-ui { display: inline-flex; }
  /* overflow: clip, where a browser has it: the frame cuts off what runs past it and can never be scrolled itself
     (overflow: hidden alone still lets a script, or a control taking the focus, scroll it) */
  .hc[data-ui="pro"] {
    display: grid; gap: 1px; background: var(--line-2); border: 1px solid var(--line-2); border-radius: 12px; overflow: hidden; overflow: clip;
    grid-template-columns: 304px minmax(0, 1fr) 344px; grid-template-rows: auto minmax(0, 1fr) auto;
    grid-template-areas: "bar bar bar" "left view insp" "time time insp";
    height: clamp(700px, calc(100vh - 20px), 980px);
  }
  .hc[data-ui="pro"] > *, .hc[data-ui="pro"] .hc-pin > *, .hc[data-ui="pro"] .hc-work > * { background: var(--stock-2); min-width: 0; min-height: 0; }
  .hc[data-ui="pro"] .hc-pin, .hc[data-ui="pro"] .hc-work { display: contents; }
  .hc[data-ui="pro"] .hc-bar { grid-area: bar; }
  .hc[data-ui="pro"] .hc-left { grid-area: left; display: flex; flex-direction: column; }
  /* each panel that scrolls is the frame of reference for what is inside it (position: relative), so anything placed
     out of the flow in there (a hidden input, words for a screen reader) moves with the panel as it scrolls */
  .hc[data-ui="pro"] .hc-left .hc-sec { position: relative; flex: 1 1 auto; overflow: auto; border-top: 0; }
  .hc[data-ui="pro"] .hc-view { grid-area: view; }
  .hc[data-ui="pro"] .hc-insp { position: relative; grid-area: insp; overflow: auto; }
  .hc[data-ui="pro"] .hc-time { grid-area: time; }
  .hc[data-ui="pro"] #pane-post, .hc[data-ui="pro"] .hc-stepnav { display: none; }
  .hc[data-ui="pro"][data-ltab="media"] [data-lt]:not([data-lt="media"]), .hc[data-ui="pro"][data-ltab="looks"] [data-lt]:not([data-lt="looks"]), .hc[data-ui="pro"][data-ltab="formats"] [data-lt]:not([data-lt="formats"]) { display: none; }
  .hc[data-ui="pro"] [data-phone] { display: none; }
  .hc[data-ui="pro"] .hc-left .hc-h, .hc[data-ui="pro"] .hc-left .hc-h + .hc-note { margin-top: 0; }
  /* the Last night list scrolls inside the inspector, so the first of the fields it fills stay in view under it */
  .hc[data-ui="pro"] .feed__list { max-height: min(44vh, 420px); overflow-y: auto; margin: 4px -4px 0; padding: 4px; }
}
@media (min-width: 1100px) and (max-width: 1299px) {
  .hc[data-ui="pro"] { grid-template-columns: 264px minmax(0, 1fr) 318px; }
}
/* a short screen: the timeline tightens so the viewer keeps its room */
@media (min-width: 1100px) and (max-height: 860px) {
  .hc-bar { padding: 6px 12px; }
  .hc-view__top { padding: 3px 10px; }
  .hc-transport { padding: 5px 12px; }
  .hc[data-ui="pro"] .hc-play { width: 34px; height: 34px; }
  .hc-time { padding: 6px 14px 8px; }
  .tl__top { min-height: 30px; }
  .tl { --lane: 19px; margin-top: 4px; }
  .tl__heads, .tl__area { grid-template-rows: 18px; row-gap: 2px; }
  .tl__help { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
}

/* ---------- Simple: the viewer, the steps under it, one step at a time ---------- */
.hc[data-ui="simple"] .hc-ptabs { display: flex; border-top: 1px solid var(--line); }
.hc[data-ui="simple"] .hc-ptabs [role="tab"] { min-height: 46px; letter-spacing: .1em; }
.hc[data-ui="simple"] .hc-tabs { display: none; }
/* data-ph names the step a panel belongs to */
.hc[data-ui="simple"][data-tab="post"] [data-ph]:not([data-ph~="post"]), .hc[data-ui="simple"][data-tab="cards"] [data-ph]:not([data-ph~="cards"]),
.hc[data-ui="simple"][data-tab="look"] [data-ph]:not([data-ph~="look"]), .hc[data-ui="simple"][data-tab="text"] [data-ph]:not([data-ph~="text"]),
.hc[data-ui="simple"][data-tab="sound"] [data-ph]:not([data-ph~="sound"]), .hc[data-ui="simple"][data-tab="share"] [data-ph]:not([data-ph~="share"]),
.hc[data-ui="simple"][data-tab="edit"] [data-ph]:not([data-ph~="edit"]) { display: none; }
.hc[data-ui="simple"] .hc-sec, .hc[data-ui="simple"] .hc-time { padding: 16px 16px 18px; }
.hc[data-ui="simple"] .hc-insp, .hc[data-ui="simple"] .hc-left { border: 0; }
.hc[data-ui="simple"] .hc-stepnav { display: flex; align-items: center; justify-content: space-between; gap: 10px; position: sticky; bottom: 0; z-index: 15; padding: 10px 16px; padding-bottom: max(10px, env(safe-area-inset-bottom)); border-top: 1px solid var(--line-2); background: var(--stock-2); }
.hc-stepnav__at { flex: 1 1 auto; min-width: 0; margin: 0; font: 800 .62rem/1.3 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); text-align: center; }
.hc-stepnav button[disabled] { visibility: hidden; }
/* a step's heading takes the focus when the step changes, so a screen reader starts there; it is not a control, so no ring */
.hc [tabindex="-1"]:focus, .st-dlg [tabindex="-1"]:focus { outline: none; }
.hc-stepnav .btn { min-height: 44px; }
/* fingers and beginners: 44 pixel targets, and 16 pixel type in fields so a phone does not zoom */
.hc[data-ui="simple"] .hc-btn, .hc[data-ui="simple"] .hc-seg > button, .hc[data-ui="simple"] .hc-seg > label > span, .hc[data-ui="simple"] .hc-type { min-height: 44px; }
.hc[data-ui="simple"] .hc-btn--icon { width: 44px; }
.hc[data-ui="simple"] .hc-ftabs [role="tab"] { min-height: 44px; }
.hc[data-ui="simple"] .hc-fadd__b { min-height: 44px; }
.hc[data-ui="simple"] .hc-play { width: 44px; height: 44px; }
.hc[data-ui="simple"] input[type="text"], .hc[data-ui="simple"] input[type="url"], .hc[data-ui="simple"] input[type="number"], .hc[data-ui="simple"] textarea, .hc[data-ui="simple"] select { font-size: 1rem; padding: 11px 12px; min-height: 44px; }
.hc[data-ui="simple"] input[type="range"] { height: 44px; }
.hc[data-ui="simple"] input[type="range"]::-webkit-slider-thumb { width: 24px; height: 24px; margin-top: -10px; }
.hc[data-ui="simple"] input[type="range"]::-moz-range-thumb { width: 20px; height: 20px; }
.hc[data-ui="simple"] input[type="checkbox"] { width: 22px; height: 22px; }
.hc[data-ui="simple"] .hc-check { min-height: 44px; }
.hc[data-ui="simple"] .hc-swatches { grid-template-columns: repeat(auto-fill, 44px); max-width: 312px; }
.hc[data-ui="simple"] .hc-sw { width: 44px; height: 44px; }
.hc[data-ui="simple"] .hc-custom input[type="color"] { width: 64px; height: 44px; }
.hc[data-ui="simple"] .hc-fmt { min-height: 56px; }
.hc[data-ui="simple"] .hc-bin { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px 10px; }
.hc[data-ui="simple"] .hc-mine__find input { font-size: 1rem; padding: 11px 12px; min-height: 44px; }
.hc[data-ui="simple"] .hc-mine__more:not([hidden]) { min-height: 44px; }

/* on a phone or a tablet: the viewer and the step names pinned on top, the step under them */
@media (max-width: 1099px) {
  .hc-shell { padding: 0; }
  .hc-bar { padding: 10px 14px; }
  .hc-status { flex: 1 1 100%; order: 9; text-align: left; }
  .hc-bar .hc-export { margin-left: auto; min-height: 44px; }
  .hc-pin { position: sticky; top: 0; z-index: 20; background: var(--stock-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line-2); }
  .hc-stage { height: min(38vh, 370px); height: min(38dvh, 370px); }
  .hc-view__top { padding: 3px 8px; }
  .hc-transport { padding: 3px 10px; gap: 8px; }
  .hc-work > .hc-sec, .hc-left > .hc-sec, .hc-insp > .hc-sec, .hc-time { max-width: 760px; margin: 0 auto; }
  /* a phone choosing what to post sees the choices first, right under the bar; the preview comes with the next step */
  .hc[data-ui="simple"][data-tab="post"] .hc-view { display: none; }
  .hc-steps { grid-template-columns: 1fr; }
}
@media (max-width: 400px) { .hc[data-ui="simple"] .hc-ptabs [role="tab"] { padding: 0 2px; letter-spacing: .04em; font-size: .6rem; } }      /* six steps across a phone */
/* seven steps (a video, with Customize): on a narrow phone the row of steps scrolls sideways rather than squeeze a name */
@media (max-width: 460px) {
  .hc[data-ui="simple"] .hc-ptabs { overflow-x: auto; scrollbar-width: none; }
  .hc[data-ui="simple"] .hc-ptabs::-webkit-scrollbar { display: none; }
  .hc[data-ui="simple"] .hc-ptabs [role="tab"] { flex: 1 0 auto; min-width: 48px; padding: 0 7px; letter-spacing: .04em; }
}
@media (max-width: 340px) { .hc[data-ui="simple"] .hc-ptabs [role="tab"] { font-size: .56rem; letter-spacing: .01em; } }
/* 360 to 389 px wide (an iPhone SE or mini, most Android phones): Export fits on the row with Picture, Video, Undo and
   Redo. It had a row to itself there, which made the bar three rows tall (seen November 20, 2026; the same on the live
   site before it). Under 372 px the Picture and Video buttons give up a little of their side room for it. */
@media (min-width: 360px) and (max-width: 389px) { .hc-bar { padding-left: 12px; padding-right: 12px; column-gap: 6px; } }
@media (min-width: 360px) and (max-width: 371px) { .hc-bar > .hc-seg > button { padding: 0 6px; } }
@media (min-width: 620px) and (max-width: 1099px) {
  .hc-stage { height: min(44vh, 470px); height: min(44dvh, 470px); }
  .hc[data-ui="simple"] .hc-bin { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .hc-looks { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
/* a phone on its side: too short to pin anything */
@media (max-width: 1099px) and (max-height: 520px) {
  .hc-pin { position: static; }
  .hc-stage { height: 72vh; }
}
/* on a computer: the viewer on the left, the step names and the step on the right */
@media (min-width: 1100px) {
  .hc[data-ui="simple"] {
    display: grid; gap: 1px; background: var(--line-2); border: 1px solid var(--line-2); border-radius: 12px; overflow: hidden; overflow: clip;
    grid-template-columns: minmax(0, 1fr) clamp(420px, 34vw, 520px); grid-template-rows: auto auto minmax(0, 1fr);
    grid-template-areas: "bar bar" "view tabs" "view work";
    height: clamp(700px, calc(100vh - 20px), 980px);
  }
  .hc[data-ui="simple"] > *, .hc[data-ui="simple"] .hc-pin > * { background: var(--stock-2); min-width: 0; min-height: 0; }
  .hc[data-ui="simple"] .hc-pin { display: contents; }
  .hc[data-ui="simple"] .hc-bar { grid-area: bar; }
  .hc[data-ui="simple"] .hc-view { grid-area: view; }
  .hc[data-ui="simple"] .hc-ptabs { grid-area: tabs; border-top: 0; }
  .hc[data-ui="simple"] .hc-work { position: relative; grid-area: work; display: flex; flex-direction: column; overflow: auto; }
  .hc[data-ui="simple"] .hc-stepnav { margin-top: auto; }
  .hc[data-ui="simple"] .hc-bin { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

/* ---------- what are you posting? ---------- */
.st-post__top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.st-post__h { font: 700 clamp(1.35rem, 2.2vw, 1.8rem)/1.15 var(--display); outline: none; }
.st-post .st-post__note { margin-top: 6px; }
.st-types { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 10px; margin: 14px 0 0; padding: 0; list-style: none; }
.st-type { display: grid; grid-template-columns: 46px minmax(0, 1fr); gap: 2px 12px; align-items: center; width: 100%; height: 100%; min-height: 72px; padding: 11px 12px; border: 1.5px solid var(--line-2); border-radius: 12px; background: var(--stock); color: var(--ink); text-align: left; font: inherit; }
.st-type svg { grid-row: span 2; width: 44px; height: 44px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linejoin: miter; }
.st-type svg .on { fill: var(--stock); }
.st-type b { font: 700 1rem/1.2 var(--display); align-self: end; }
.st-type b small { margin-left: .5em; font: 800 .54rem/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); vertical-align: .2em; white-space: nowrap; }
.st-type > span { align-self: start; color: var(--ink-2); font-size: .82rem; line-height: 1.35; }
.st-type:hover { border-color: var(--ink); }
.st-type[aria-pressed="true"] { border-color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink); }
/* in Pro, the same choices in a window of their own */
.st-dlg { width: min(720px, calc(100vw - 24px)); }
.st-dlg .st-post { padding: 0; }
.st-dlg .st-types { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.st-dlg .st-post__x { min-height: 40px; }
.st-dlg .hc-note { color: var(--ink-2); font-size: .86rem; }

/* the post's kind, in the bar: always one press from the choice */
.hc-type { display: inline-flex; align-items: center; gap: .55em; min-height: 34px; padding: 0 12px; border: 1px solid var(--edge); border-radius: 8px; background: var(--stock); color: var(--ink); font: 800 .64rem/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; white-space: nowrap; }
.hc-type:hover { border-color: var(--ink); }
.hc-type__k { color: var(--ink-3); }
.hc-type__go { color: var(--ink-2); text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 3px; }

/* ---------- the cards in the post: a row of places, then the card chosen ---------- */
.st-places { display: grid; grid-template-columns: repeat(auto-fill, minmax(66px, 1fr)); gap: 10px 8px; margin: 0 0 12px; padding: 0; list-style: none; }
.st-place { display: flex; flex-direction: column; gap: 5px; width: 100%; padding: 0; border: 0; background: none; color: var(--ink-2); font: 700 .66rem/1.2 var(--sans); text-align: center; touch-action: manipulation; }
.st-place__pic { position: relative; display: grid; place-items: center; aspect-ratio: 5 / 7; background: var(--stock-3); box-shadow: 0 0 0 1px var(--line-2); outline: 2px solid transparent; outline-offset: 3px; }
.st-place__pic canvas { display: block; width: 100%; height: 100%; }
.st-place__no { position: absolute; left: 0; top: 0; min-width: 18px; padding: 3px 4px; background: var(--ink); color: var(--stock); font: 800 .6rem/1 var(--sans); }
.st-place__name { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.st-place.is-empty .st-place__pic { background: none; box-shadow: none; border: 1.5px dashed var(--edge); color: var(--ink-2); font: 800 .56rem/1.25 var(--sans); letter-spacing: .08em; text-transform: uppercase; padding: 4px; text-align: center; }
.st-place[aria-pressed="true"] .st-place__pic { outline-color: var(--ink); }
.st-place[aria-pressed="true"] .st-place__name { color: var(--ink); }
.st-place.is-drag { opacity: .45; }
.st-place.is-over .st-place__pic { outline: 2px dashed var(--ink); }
.st-left { margin: 0 0 12px; }
.st-left:empty { display: none; }
.st-card { margin: 0 0 18px; padding: 12px; border: 1px solid var(--line-2); border-radius: 10px; background: var(--stock); }
.st-card__top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 10px; margin-bottom: 10px; }
.st-card__acts { display: flex; flex-wrap: wrap; gap: 6px; }
.st-card .hc-sub { margin-bottom: 0; }
.st-card.is-empty .st-card__in, .st-card:not(.is-empty) .st-card__empty, .st-card.is-empty [data-place="left"], .st-card.is-empty [data-place="right"] { display: none; }
.st-card:not(.is-slab) .st-slabonly, .st-card:not(.is-sale) .st-saleonly, .st-card.is-grade .st-slab, .st-card.is-game .st-details, .st-card.is-game .st-slab, .st-card.is-fixed [data-place="left"], .st-card.is-fixed [data-place="right"] { display: none; }
.st-crop__note { margin: 4px 0 10px; }
.st-checks { display: flex; flex-wrap: wrap; gap: 0 18px; }
.st-read { margin: 4px 0 12px; }
.st-read .hc-note { margin-top: 6px; }
.hc .st-unsure { margin-left: .5em; color: var(--ink); letter-spacing: .08em; }
.hc input[data-unsure] { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.st-choose { margin: 4px 0 10px; outline: none; }
.st-nosample { display: none; margin: 0 0 10px; }
.hc[data-type="want"] .st-nosample { display: block; }
.hc[data-type="want"] #hc-bin [data-card^="sample:"] { display: none; }
.hc-store-h { margin: 2px 0 10px; }
.st-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: -4px; }
.st-link { margin-top: 6px; }
.st-link.is-bad { color: var(--ink); font-weight: 700; }
.hc input.is-bad { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.st-game__note { margin: -4px 0 10px; }
.hc .hc-tile__price { display: block; margin-top: 2px; color: var(--ink); font: 800 .62rem/1.2 var(--sans); letter-spacing: .06em; }


/* ---------- the template gallery: this post, drawn small in every template that suits it ---------- */
.st-group { grid-column: 1 / -1; margin: 8px 0 -2px; }
.st-group:first-child { margin-top: 0; }
/* the category chips over a long gallery: one row that scrolls sideways; a press shows that group alone */
.st-cats { grid-column: 1 / -1; display: flex; gap: 6px; min-width: 0; overflow-x: auto; padding: 2px 2px 8px; scrollbar-width: thin; }
.hc .st-cat { flex: none; min-height: 48px; padding: 0 14px; border: 1px solid var(--edge); border-radius: 99px; background: var(--stock); color: var(--ink); font: 800 .62rem/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; white-space: nowrap; cursor: pointer; }
.hc .st-cat:hover { border-color: var(--ink); }
.hc .st-cat[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--stock); }
.hc .st-cat:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
.st-cats + .st-group { margin-top: 0; }
/* the plan a template comes with, on its tile (a build with plans) */
.hc-look__plan { position: absolute; top: 6px; right: 6px; z-index: 1; padding: 4px 7px; background: rgba(8, 11, 13, .82); color: #F2F4F3; font: 800 .52rem/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; }
.hc-look__pic { position: relative; display: block; background: var(--stock-3); box-shadow: 0 0 0 1px var(--line-2); outline: 2px solid transparent; outline-offset: 2px; }
.hc-look__pic canvas { display: block; width: 100%; height: auto; }
.hc-look__pic img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hc-look[aria-pressed="true"] .hc-look__pic { outline-color: var(--ink); }
.st-none { grid-column: 1 / -1; }

/* three AI captions to choose from */
.hc-aicaps { margin-top: 12px; display: grid; gap: 8px; }
.hc-aicaps ol { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.hc-aicap { display: block; width: 100%; text-align: left; white-space: pre-wrap; background: var(--stock); color: var(--ink); border: 1.5px solid var(--line-2); border-radius: 10px; padding: 10px 12px; font: 500 .84rem/1.45 var(--sans); min-height: 44px; }
.hc-aicap:hover { border-color: var(--ink); }

/* ---------- the edit bay (a set built in Blender): the finished post plays on its monitor ----------
   The room picture is a 16:9 plate whose screen sits at 27% to 73% across and 19% to 65% down. */
.hc-bay { margin: 0; }
.hc-bay__room { position: relative; aspect-ratio: 16 / 9; background: var(--stock-3) center / 100% 100% no-repeat; }
.hc-bay__screen { position: absolute; left: 27%; top: 19%; width: 46%; height: 46%; object-fit: cover; }
.hc-bay figcaption { margin-top: 10px; padding: 0 var(--gut); color: var(--ink-3); font-size: .62rem; }
.hc-bay--below { display: none; margin-bottom: clamp(30px, 6vw, 60px); }
.hc-bay--top { display: none; }
@media (min-width: 1100px) {
  /* wide screens: the bay sits at the right of the intro, cropped a little at the bottom, fading into the page on its left */
  .hc-intro { overflow: hidden; min-height: 300px; display: flex; align-items: center; }
  .hc-intro > .wrap { position: relative; z-index: 1; width: 100%; }
  .hc-intro .hc-intro__row { display: block; }
  .hc-intro h1 { font-size: clamp(3rem, 5.4vw, 4.6rem); margin: .1em 0 .12em; }
  .hc-intro .lede, .hc-intro__help { max-width: 26rem; }
  .hc-bay--top { display: block; position: absolute; right: max(0px, calc((100vw - 1320px) / 2)); top: -14px; width: min(52vw, 640px); }
  .hc-bay--top::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--stock) 0%, transparent 16%, transparent 92%, var(--stock) 100%), linear-gradient(0deg, var(--stock) 9%, transparent 26%); pointer-events: none; }
}
@media (max-width: 1099px) { .hc-bay--below { display: block; } }

/* ---------- "From your binder": a signed-in person's own cards, first in the Card bin (accounts only) ----------
   The group shows by the browser's sign-in flag (html[data-acct="in"]), so nothing moves at first paint and a sign-out
   in another tab takes it away at once. data-state on #hc-mine says which part is on: wait, none, fail or list. */
.hc-mine { margin: 0 0 12px; }
.hc-mine__in, .hc-mine__store { display: none; }
:root[data-acct="in"] .hc-mine__out { display: none; }
:root[data-acct="in"] .hc-mine__in, :root[data-acct="in"] .hc-mine__store { display: block; }
.hc-mine__out a, .hc-mine__none a { color: var(--ink); font-weight: 700; text-decoration: underline; text-underline-offset: 2px; display: inline-block; padding: 4px 0; }
/* in Simple, a 44 pixel target for the finger without moving the sentence around it */
.hc[data-ui="simple"] .hc-mine__out a, .hc[data-ui="simple"] .hc-mine__none a { padding: 12.5px 0; margin: -8.5px 0; }
.hc-mine__h { margin: 0 0 10px; }
.hc-mine__h span { letter-spacing: .08em; color: var(--ink-3); }
.hc-mine__wait, .hc-mine__none, .hc-mine__fail, .hc-mine__find, .hc-bin--mine, .hc-mine__count { display: none; }
.hc-mine[data-state="wait"] .hc-mine__wait, .hc-mine[data-state="none"] .hc-mine__none { display: block; margin-bottom: 12px; }
.hc-mine[data-state="fail"] .hc-mine__fail { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin-bottom: 12px; }
.hc-mine[data-state="list"] .hc-bin--mine { display: grid; }
.hc-mine[data-state="list"] .hc-mine__count:not(:empty) { display: block; margin: 2px 0 10px; }
.hc-mine.has-many[data-state="list"] .hc-mine__find { display: block; margin-bottom: 12px; }
.hc .hc-mine__find input { width: 100%; background-color: var(--stock); color: var(--ink); border: 1px solid var(--edge); border-radius: 7px; font: 500 .9rem/1.3 var(--sans); padding: 7px 9px; }
.hc .hc-mine__find input::placeholder { color: var(--ink-3); opacity: 1; }
.hc-mine__more:not([hidden]) { display: flex; width: 100%; margin: 0 0 14px; }
.hc-mine__store { margin: 2px 0 10px; padding-top: 12px; border-top: 1px solid var(--line); }
/* binder tiles: the photo sits in a card-shaped window, square cut. A sideways photo turns a quarter to fill it upright,
   the way the studio uses it. */
.hc-tile__pic { position: relative; display: block; aspect-ratio: 5 / 7; overflow: hidden; background: var(--stock-3); outline: 2px solid transparent; outline-offset: 2px; }
.hc-tile--mine img { display: block; width: 100%; height: 100%; object-fit: cover; outline: 0; background: none; }
.hc-tile--mine.is-land img { position: absolute; left: 50%; top: 50%; width: 140%; height: 71.4286%; max-width: none; transform: translate(-50%, -50%) rotate(90deg); }
.hc-tile--mine[aria-pressed="true"] .hc-tile__pic { outline-color: var(--ink); }
.hc-tile--mine[aria-busy="true"] .hc-tile__pic { opacity: .55; }

/* A photographed scene keeps its own colors, and its card stands where the photograph has it: the controls that would
   change those are put away while such a template is on, with a line that says why. */
#hc-style-photo { display: none; }
.hc[data-photo] #hc-style-photo { display: block; }
.hc[data-photo] #hc-pals, .hc[data-photo] #l-accent, .hc[data-photo] #pane-style .hc-swatches, .hc[data-photo] #pane-style .hc-custom,
.hc[data-photo] #l-bg, .hc[data-photo] #pane-style .hc-opts, .hc[data-photo] #pane-card { display: none; }
/* a size the template in use doesn't make */
.hc .hc-fmt.is-off { opacity: .5; cursor: default; }
/* "Show the whole photo": only for a photo of the person's own */
.hc .hc-check[hidden] { display: none; }

/* ---------- the editor: every part of the post (studio/editor.js) ----------
   A layer over the viewer picks a part, outlines it, and holds its four corners for sizing. Its marks are drawn in
   fixed inks (a teal line with a carbon edge, white corners), like the safe-area marks, because the post under them
   can be any color. In Simple the layer works only in the Customize step; everywhere else it lets every press through. */
.ed-layer { position: absolute; inset: 0; z-index: 3; pointer-events: none; }
.ed-layer.is-on { pointer-events: auto; touch-action: pan-y; }
.hc[data-ui="pro"] .ed-layer.is-on { cursor: pointer; }
.ed-sel { position: absolute; display: block; margin: 0; padding: 0; border: 0; border-radius: 0; background: none; outline: 2px solid #16A7B8; outline-offset: 1px; box-shadow: 0 0 0 4px rgba(8, 11, 13, .55); cursor: move; touch-action: none; }
.ed-sel[hidden] { display: none; }
.ed-sel:focus-visible { outline: 3px solid #16A7B8; outline-offset: 2px; box-shadow: 0 0 0 6px #080B0D; }
.ed-sel.is-locked { cursor: default; outline-style: dashed; }
.ed-sel.is-locked .ed-h { display: none; }
.ed-h { position: absolute; width: 10px; height: 10px; background: #F2F4F3; border: 2px solid #080B0D; box-shadow: 0 0 0 1px #16A7B8; }
.ed-h--nw { left: -7px; top: -7px; cursor: nwse-resize; } .ed-h--ne { right: -7px; top: -7px; cursor: nesw-resize; }
.ed-h--sw { left: -7px; bottom: -7px; cursor: nesw-resize; } .ed-h--se { right: -7px; bottom: -7px; cursor: nwse-resize; }
/* a finger gets a corner larger than it looks */
.ed-h::after { content: ""; position: absolute; inset: -6px; }
@media (pointer: coarse) { .ed-h::after { inset: -12px; } }
.hc .ed-move svg { width: 18px; height: 18px; }
.hc[data-ui="simple"] .ed-move svg { width: 22px; height: 22px; }
.ed-hov { position: absolute; pointer-events: none; outline: 1px dashed rgba(242, 244, 243, .9); box-shadow: 0 0 0 1px rgba(8, 11, 13, .6); }
.ed-g { position: absolute; pointer-events: none; }
.ed-g--v { top: 0; bottom: 0; width: 0; border-left: 1px solid #16A7B8; box-shadow: 1px 0 0 rgba(8, 11, 13, .5); }
.ed-g--h { left: 0; right: 0; height: 0; border-top: 1px solid #16A7B8; box-shadow: 0 1px 0 rgba(8, 11, 13, .5); }
.ed-hov[hidden], .ed-g[hidden] { display: none; }

/* the Customize section: the parts, then the chosen part's controls */
.ed-lead__simple { display: none; }
.hc[data-ui="simple"] .ed-lead__simple { display: inline; }
.hc[data-ui="simple"] .ed-lead__pro { display: none; }
.ed-parts { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 12px; }
/* Card size and Other cards size, at the top */
.ed-sizes { margin: 0 0 14px; padding: 0 0 10px; border-bottom: 1px solid var(--line); }
.ed-sizes[hidden], .ed-sizes [hidden] { display: none; }
.ed-csize { margin-bottom: 10px; }
.hc .ed-cs-note { grid-column: 1 / -1; margin: 4px 0 0; }
.hc .ed-cs-note:empty { display: none; }
.hc[data-ui="simple"] .ed-csize input[type="range"] { min-height: 44px; }
.hc .ed-part { min-height: 32px; padding: 0 10px; border: 1px solid var(--edge); border-radius: 8px; background: var(--stock); color: var(--ink); font: 700 .74rem/1.2 var(--sans); cursor: pointer; }
.hc .ed-part:hover { border-color: var(--ink); }
.hc .ed-part[aria-pressed="true"] { background: var(--ink); color: var(--stock); border-color: var(--ink); }
.hc .ed-part.is-hidden { color: var(--ink-3); text-decoration: line-through; }
.ed-insp { margin: 0 0 12px; padding: 12px 0 0; border-top: 1px solid var(--line); }
.ed-insp[hidden] { display: none; }
.hc .ed-name { margin: 0 0 12px; color: var(--ink); }
.ed-row { margin: 0 0 14px; }
.ed-pad { display: grid; grid-template-columns: repeat(3, 40px); grid-template-rows: repeat(3, 34px); grid-template-areas: ". up ." "left . right" ". down ."; gap: 2px; }
.hc .ed-move { width: 100%; height: 100%; min-height: 0; padding: 0; font-size: .95rem; letter-spacing: 0; }
.ed-move--up { grid-area: up; } .ed-move--down { grid-area: down; } .ed-move--left { grid-area: left; } .ed-move--right { grid-area: right; }
.ed-sws { display: grid; grid-template-columns: repeat(auto-fill, 28px); gap: 6px; max-width: 290px; }
.hc .ed-sw { width: 28px; height: 28px; padding: 0; border: 0; border-radius: 7px; background: var(--c); box-shadow: inset 0 0 0 1px var(--edge); cursor: pointer; }
.hc .ed-sw--auto { grid-column: span 2; width: auto; background: var(--stock); color: var(--ink); font: 800 .56rem/1 var(--sans); letter-spacing: .1em; text-transform: uppercase; }
.hc .ed-sw[aria-pressed="true"] { outline: 2px solid var(--ink); outline-offset: 2px; }
.hc .ed-sw:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; }
.hc .ed-custom, .hc .ed-well { display: inline-flex; align-items: center; gap: 8px; margin: 10px 14px 0 0; font: 700 .72rem/1.2 var(--sans); letter-spacing: .02em; text-transform: none; color: var(--ink-2); }
.ed-custom input[type="color"], .ed-well input[type="color"] { width: 44px; height: 30px; padding: 0; border: 1px solid var(--edge); border-radius: 7px; background: var(--stock); cursor: pointer; }
.ed-grad { margin-top: 8px; }
.ed-wells { display: flex; flex-wrap: wrap; }
.ed-third { margin: 10px 0 8px; }
.ed-pre { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.hc .ed-pre .hc-btn[aria-pressed="true"] { background: var(--ink); color: var(--stock); border-color: var(--ink); }
.ed-note:empty { display: none; }
.ed-note { margin-top: 10px; color: var(--ink); }
.hc .ed-all { margin-top: 4px; }
.hc[data-ui="simple"] .ed-part { min-height: 48px; padding: 0 14px; font-size: .9rem; }
.hc[data-ui="simple"] .ed-pad { grid-template-columns: repeat(3, 56px); grid-template-rows: repeat(3, 52px); gap: 4px; }
.hc[data-ui="simple"] .ed-move { font-size: 1.2rem; }
.hc[data-ui="simple"] .ed-sws { grid-template-columns: repeat(auto-fill, 44px); gap: 8px; max-width: 340px; }
.hc[data-ui="simple"] .ed-sw { width: 44px; height: 44px; }
.hc[data-ui="simple"] .ed-sw--auto { width: auto; }
.hc[data-ui="simple"] .ed-custom input[type="color"], .hc[data-ui="simple"] .ed-well input[type="color"] { width: 64px; height: 44px; }
.hc[data-ui="simple"] .ed-custom, .hc[data-ui="simple"] .ed-well { min-height: 48px; }

/* Add to the post (studio/editor.js): the button, its group of things to add, and an added part's own controls */
.ed-add { margin: 0 0 14px; }
.hc .ed-add__open { min-height: 44px; padding: 0 16px; gap: 8px; }
.hc .ed-add__open svg { width: 14px; height: 14px; }
.hc .ed-add__open[aria-expanded="true"] { background: var(--ink); color: var(--stock); border-color: var(--ink); }
.ed-add__menu { margin: 10px 0 0; padding: 12px; border: 1px solid var(--line-2); border-radius: 8px; background: var(--stock); }
.ed-add__menu[hidden] { display: none; }
.ed-add__g + .ed-add__g { margin-top: 10px; }
.ed-add__g .hc-l { margin: 0 0 6px; }
.ed-add__row { display: flex; flex-wrap: wrap; gap: 6px; }
.hc .ed-add__b { min-height: 40px; gap: 7px; padding: 0 12px; }
.hc .ed-add__b svg { width: 16px; height: 16px; }
.hc .ed-add__badge { min-width: 48px; background: var(--teal); color: #080B0D; border-color: var(--teal); border-radius: 0; letter-spacing: .12em; }
.hc .ed-add__badge:hover { border-color: var(--ink); }
.hc .ed-add__b[disabled], .hc .ed-add__pic.is-off { opacity: .4; cursor: default; }
.ed-add__pic { position: relative; cursor: pointer; }
.ed-add__file { position: absolute; left: 0; top: 0; width: 1px; height: 1px; opacity: 0; }
.ed-add__pic:focus-within { outline: 2px solid var(--focus); outline-offset: 2px; }
.ed-add__fine { margin: 8px 0 0; }
.ed-add__note:empty { display: none; }
.ed-add__note { margin: 8px 0 0; color: var(--ink); font-weight: 600; }
.hc .ed-add__text { width: 100%; resize: vertical; font: 600 1rem/1.35 var(--sans); }
.ed-add__tick { margin: -4px 0 14px; }
.ed-seg { flex-wrap: wrap; }
.ed-add__where { margin: 6px 0 0; }
.ed-stack .hc-rowbtns { margin-top: 8px; }
.hc .ed-add__del { color: var(--ink); }
.ed-add__gone { margin: 0 0 12px; color: var(--ink); font-weight: 600; }
.hc[data-ui="simple"] .ed-add__b, .hc[data-ui="simple"] .ed-add__open { min-height: 48px; }

/* The font dropdown (studio/font-pick.js) brings its own styles, so it looks the same in Show Case */

/* Your brand (studio/brand-panel.js): the logo is shown on a check of light and dark, square-cornered, as it is drawn */
.br-on { margin: 0 0 10px; }
.br-fields { margin: 0 0 12px; }
.br-at { display: flex; align-items: center; gap: 6px; }
.br-at > span { font: 800 .95rem/1 var(--sans); color: var(--ink-2); }
.br-logo { margin: 0 0 12px; }
.br-logo[hidden], .br-logo [hidden], .br-sure[hidden] { display: none; }
.br-logo__img { display: block; max-width: 180px; max-height: 90px; width: auto; height: auto; padding: 6px; border: 1px solid var(--line-2); border-radius: 0; background: repeating-conic-gradient(#AEB6BC 0 25%, #F2F4F3 0 50%) 0 0 / 14px 14px; }
.br-logo__add .hc-rowbtns { margin-top: 0; }
.br-logo__add .hc-note { margin-top: 8px; }
.br-logo__plan .hc-btn { margin-top: 8px; }
.br-auto { margin: 4px 0 0; }
.br-sure { margin: 10px 0 0; padding: 12px; border: 1px solid var(--line-2); border-radius: 8px; background: var(--stock); }
.br-sure p { margin: 0; font-size: .84rem; }
.br-say:empty { display: none; }
.br-say { margin-top: 10px; }
.hc[data-ui="simple"] .br-logo__img { max-width: 220px; }

/* ---------- Start with AI: the ways in, and its place on the page ----------
   Its screens' own styles are css/studio-ai.css, fetched with studio/ai-start.js the first time it is pressed. What is
   here is on the page from the start: the bar's button, the choice under the kinds of post, the way back from a post of
   a batch that is open in the studio, and the arrangement itself (data-ui="ai": the studio's panels step aside), so a
   page opened on #ai never shows the studio first. */
.hc-ai svg { color: var(--teal); }
.hc[data-aiedit] .hc-new, .hc[data-aiedit] .hc-ai { display: none; }
.hc-bar .hc-aiback { min-height: 34px; }
/* The bar keeps the rows it had before the button was in it. On a laptop (1300 to 1535 wide) the post's name and the
   status give way, so everything is still on one row, the Simple and Pro switch beside Export; wider, nothing changes.
   On a phone or a small tablet the button goes on the bar's last row, beside the status, so the rows above are as
   they were (the bar is 27 pixels taller, not a whole row). */
@media (min-width: 1300px) and (max-width: 1535px) {
  .hc-ai ~ .hc-bar__name { flex: 1 1 150px; max-width: 290px; }
  .hc-ai ~ .hc-status { flex-basis: 90px; }
}
@media (max-width: 939px) {
  .hc:not([data-aiedit]) .hc-bar > .hc-ai { order: 8; }
  .hc:not([data-aiedit]) .hc-bar > .hc-ai ~ .hc-status { flex: 1 1 120px; }
}
.st-ai { display: grid; grid-template-columns: 46px minmax(0, 1fr); gap: 2px 12px; align-items: center; width: 100%; min-height: 72px; margin: 10px 0 0; padding: 11px 12px; border: 1.5px dashed var(--line-2); border-radius: 12px; background: var(--stock); color: var(--ink); text-align: left; font: inherit; cursor: pointer; }
.st-ai svg { grid-row: span 2; width: 44px; height: 44px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linejoin: miter; }
.st-ai svg .on { fill: var(--stock); }
.st-ai b { font: 700 1rem/1.2 var(--display); align-self: end; }
.st-ai > span { align-self: start; color: var(--ink-2); font-size: .82rem; line-height: 1.35; }
.st-ai:hover { border-color: var(--ink); border-style: solid; }
.hc[data-ui="guide"] .st-ai { min-height: 76px; margin-top: 12px; padding: 14px 16px; gap: 3px 14px; grid-template-columns: 44px minmax(0, 1fr); }
.hc[data-ui="guide"] .st-ai b { font-size: 1.0625rem; }
.hc[data-ui="guide"] .st-ai > span { font-size: 1.0625rem; }
.ai-screen { display: none; }
.hc[data-ui="ai"] { font-size: 1.0625rem; line-height: 1.5; background: var(--stock-2); }
.hc[data-ui="ai"] > :not(.hc-bar):not(.hc-work) { display: none; }
.hc[data-ui="ai"] .hc-bar { display: contents; }
.hc[data-ui="ai"] .hc-bar > * { display: none; }
.hc[data-ui="ai"] .hc-bar > .hc-status { display: block; position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.hc[data-ui="ai"] .hc-work { display: block; min-width: 0; }
.hc[data-ui="ai"] .hc-work > :not(.ai-screen) { display: none; }
.hc[data-ui="ai"] .ai-screen { display: block; min-height: 460px; }
.ai-screen:empty::before { content: "Opening Start with AI…"; display: block; padding: 56px 20px; color: var(--ink-2); text-align: center; }
@media (min-width: 1100px) { .hc[data-ui="ai"] { border: 1px solid var(--line-2); border-radius: 12px; } }
