:root {
  --bg: #0b0b0d;
  --bg-2: #131316;
  --bg-3: #1b1b20;
  --line: #26262c;
  --line-2: #33333b;
  --ink: #f4f2ec;
  --ink-2: #b9b6ad;
  --ink-3: #7d7a72;
  --gold: #c08a2c;
  --gold-2: #f5c542;
  --gold-soft: rgba(245, 197, 66, 0.14);
  --danger: #ff5c5c;
  --ok: #4ade80;
  --radius: 12px;
  --font: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 14px;
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
}
button, input, select { font: inherit; color: inherit; }
button { cursor: pointer; }
a { color: var(--gold-2); text-decoration: none; }
[hidden] { display: none !important; }

/* ---------- header */
.top {
  height: 56px;
  display: flex; align-items: center; gap: 14px;
  padding: 0 16px;
  border-bottom: 1px solid var(--line);
  background: var(--bg-2);
}
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; letter-spacing: -0.01em; font-size: 17px; color: var(--ink); }
.brand .mark { width: 28px; height: 28px; border-radius: 8px; background: linear-gradient(135deg, var(--gold-2), var(--gold)); display: grid; place-items: center; color: #111; font-weight: 900; font-size: 14px; }
.brand small { font-weight: 600; color: var(--gold-2); }
.project-name { flex: 1; min-width: 0; color: var(--ink-2); font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.quota { color: var(--ink-3); font-size: 12px; white-space: nowrap; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 36px; padding: 0 14px; border-radius: 10px;
  border: 1px solid var(--line-2); background: var(--bg-3); color: var(--ink);
  font-weight: 600; font-size: 13px; transition: background .15s, border-color .15s, transform .05s;
  white-space: nowrap; min-width: 0; overflow: hidden; text-overflow: ellipsis; line-height: 1;
}
.btn:hover { background: #24242a; border-color: #44444d; }
.btn:active { transform: translateY(1px); }
.btn:disabled { opacity: .45; cursor: not-allowed; }
.btn.primary { background: var(--gold-2); border-color: var(--gold-2); color: #111; }
.btn.primary:hover { background: #ffd35a; }
.btn.ghost { background: transparent; border-color: transparent; color: var(--ink-2); }
.btn.ghost:hover { background: var(--bg-3); color: var(--ink); }
.btn.sm { height: 30px; padding: 0 10px; font-size: 12px; border-radius: 8px; }
.btn-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.btn-grid .wide { grid-column: 1 / -1; }
.btn.ghost.wide { border-color: var(--line); color: var(--ink-2); }
.btn.icon { width: 36px; padding: 0; }
/* Drawn, not typed: the rotate-arrow characters are missing from most fonts
   and fell back to a mismatched glyph. */
.btn.icon svg { width: 17px; height: 17px; display: block; flex: none; }

/* ---------- layout */
.editor {
  display: grid;
  grid-template-columns: 330px 1fr 320px;
  height: calc(100vh - 56px);
  min-height: 0;
}
.panel {
  overflow-y: auto; overflow-x: hidden;
  border-right: 1px solid var(--line);
  background: var(--bg-2);
  padding: 14px;
  display: flex; flex-direction: column; gap: 12px;
}
.panel.right { border-right: 0; border-left: 1px solid var(--line); width: 100%; }
.stage { display: flex; flex-direction: column; min-width: 0; min-height: 0; background: var(--bg); }

.card { background: var(--bg-3); border: 1px solid var(--line); border-radius: var(--radius); padding: 12px; display: flex; flex-direction: column; gap: 10px; }
.card h3 { margin: 0; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); font-weight: 700; }
.row { display: flex; align-items: center; gap: 8px; }
.row.between { justify-content: space-between; }
.label { font-size: 12px; color: var(--ink-2); }
.hint { font-size: 11.5px; color: var(--ink-3); line-height: 1.4; }
.field { display: flex; flex-direction: column; gap: 6px; }
select, input[type="text"], input[type="email"], input[type="password"] {
  height: 36px; padding: 0 10px; border-radius: 10px;
  border: 1px solid var(--line-2); background: var(--bg-2); color: var(--ink); width: 100%;
  outline: none; -webkit-appearance: none; appearance: none; font-size: 15px;
}
select:focus, input[type="text"]:focus, input[type="email"]:focus, input[type="password"]:focus { border-color: var(--gold); }
input::placeholder { color: var(--ink-3); }
input[type="range"] { width: 100%; accent-color: var(--gold-2); }
input[type="color"] { width: 36px; height: 28px; border: 1px solid var(--line-2); border-radius: 8px; background: var(--bg-2); padding: 2px; }

.seg { display: flex; gap: 4px; padding: 4px; background: var(--bg-2); border: 1px solid var(--line); border-radius: 10px; }
.seg button { flex: 1; height: 28px; border-radius: 7px; border: 0; background: transparent; color: var(--ink-2); font-weight: 600; font-size: 12px; }
.seg button.on { background: var(--gold-soft); color: var(--gold-2); }
.seg button:disabled { opacity: .35; cursor: not-allowed; }
.seg button .sub { display: block; font-size: 9px; font-weight: 600; opacity: .75; line-height: 1; margin-top: 1px; }
.seg button.locked { opacity: .5; }
.seg button.locked::after { content: " 🔒"; font-size: 9px; }

.stepper { display: inline-flex; align-items: center; gap: 6px; }
.stepper button { width: 26px; height: 26px; border-radius: 7px; border: 1px solid var(--line-2); background: var(--bg-2); color: var(--ink); font-weight: 700; }
.stepper span { min-width: 22px; text-align: center; font-weight: 700; font-variant-numeric: tabular-nums; }

.toggle { position: relative; width: 38px; height: 22px; border-radius: 11px; background: var(--line-2); border: 0; padding: 0; flex-shrink: 0; transition: background .15s; }
.toggle::after { content: ""; position: absolute; top: 3px; left: 3px; width: 16px; height: 16px; border-radius: 50%; background: #fff; transition: left .15s; }
.toggle.on { background: var(--gold-2); }
.toggle.on::after { left: 19px; }

.progress { height: 6px; border-radius: 3px; background: var(--bg-2); overflow: hidden; }
.progress > div { height: 100%; background: var(--gold-2); width: 0; transition: width .2s; }
.status { font-size: 12px; color: var(--ink-2); min-height: 16px; }
.status.err { color: var(--danger); }
.status.ok { color: var(--ok); }

/* ---------- lines list */
.lines { display: flex; flex-direction: column; gap: 6px; }
.line {
  border: 1px solid var(--line); border-radius: 10px; padding: 8px 10px; background: var(--bg-2);
  cursor: pointer; transition: border-color .12s, background .12s;
}
.line:hover { border-color: var(--line-2); }
.line.active { border-color: var(--gold); background: rgba(192, 138, 44, 0.08); }
.line.sel { box-shadow: 0 0 0 1px var(--gold-2) inset; }
.line .meta .ov { color: var(--gold-2); font-weight: 700; }
.linesCard-rel { position: relative; }
.wordtools { position: absolute; z-index: 20; display: flex; gap: 2px; padding: 4px; background: var(--bg-3); border: 1px solid var(--line-2); border-radius: 9px; box-shadow: 0 10px 30px rgba(0,0,0,.5); }
.wordtools button, .wordtools .swatch { width: 28px; height: 26px; border-radius: 6px; border: 0; background: transparent; color: var(--ink-2); font-size: 12px; font-weight: 700; display: grid; place-items: center; cursor: pointer; }
.wordtools button:hover, .wordtools .swatch:hover { background: var(--bg-2); color: var(--ink); }
.wordtools button.on { color: var(--gold-2); }
.wordtools button.danger:hover { color: var(--danger); }
.wordtools .swatch { position: relative; }
.wordtools .swatch input { position: absolute; inset: 0; opacity: 0; width: 100%; height: 100%; cursor: pointer; }
.wordtools .swatch span { width: 14px; height: 14px; border-radius: 50%; background: conic-gradient(#f5c542, #ff5c5c, #a78bfa, #4ade80, #f5c542); border: 1px solid #fff3; }
.word.styled { text-decoration: underline dotted var(--ink-3); text-underline-offset: 3px; }
.line .meta { display: flex; justify-content: space-between; font-size: 10.5px; color: var(--ink-3); font-variant-numeric: tabular-nums; margin-bottom: 4px; }
.words { display: flex; flex-wrap: wrap; align-items: center; row-gap: 4px; }
.word {
  padding: 2px 5px; border-radius: 6px; font-size: 13.5px; line-height: 1.3; color: var(--ink);
  border: 1px solid transparent; outline: none; min-width: 8px;
}
.word:hover { background: var(--bg-3); border-color: var(--line-2); }
.word.now { background: var(--gold-soft); color: var(--gold-2); }
.word:focus { background: var(--bg-3); border-color: var(--gold); }
.gap { width: 8px; height: 18px; border-radius: 4px; margin: 0 -1px; cursor: pointer; position: relative; }
.gap:hover { background: var(--line-2); }
.gap.split { width: 14px; background: var(--gold-soft); }
.gap.split::after { content: "↵"; position: absolute; inset: 0; display: grid; place-items: center; color: var(--gold-2); font-size: 11px; }
.empty { color: var(--ink-3); font-size: 13px; padding: 14px 6px; text-align: center; line-height: 1.5; }

/* ---------- stage */
.drop {
  flex: 1; margin: 24px; border: 1.5px dashed var(--line-2); border-radius: 18px;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px;
  color: var(--ink-2); text-align: center; padding: 24px; transition: border-color .15s, background .15s;
}
.drop.over { border-color: var(--gold-2); background: var(--gold-soft); }
.drop h2 { margin: 0; font-size: 22px; color: var(--ink); letter-spacing: -0.01em; }
.drop p { margin: 0; max-width: 420px; }
.preview-wrap { flex: 1; min-height: 0; display: grid; place-items: center; padding: 16px; }
.preview { position: relative; max-width: 100%; max-height: 100%; aspect-ratio: var(--ar, 9 / 16); height: 100%; border-radius: 12px; overflow: hidden; background: #000; box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5); }
.preview video, .preview canvas { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.preview canvas { cursor: default; touch-action: none; }
.preview canvas.grab { cursor: grab; }
.preview canvas.grabbing { cursor: grabbing; }
.controls { display: flex; align-items: center; gap: 12px; padding: 10px 16px; border-top: 1px solid var(--line); background: var(--bg-2); }
.controls .time { font-variant-numeric: tabular-nums; font-size: 12px; color: var(--ink-2); min-width: 92px; }
.controls input[type="range"] { flex: 1; }
.strip { position: relative; height: 34px; margin: 0 16px 12px; background: var(--bg-3); border: 1px solid var(--line); border-radius: 8px; overflow: hidden; }
.strip .blk { position: absolute; top: 6px; height: 22px; border-radius: 4px; background: #2d2a22; border: 1px solid #4a4432; font-size: 10px; line-height: 20px; padding: 0 5px; white-space: nowrap; overflow: hidden; color: var(--ink-2); cursor: pointer; }
.strip .blk.active { background: var(--gold-soft); border-color: var(--gold); color: var(--gold-2); }
.strip .head { position: absolute; top: 0; bottom: 0; width: 2px; background: var(--gold-2); pointer-events: none; }

/* ---------- templates */
.tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--line); }
.tabs button { flex: 1; height: 36px; background: none; border: 0; border-bottom: 2px solid transparent; color: var(--ink-2); font-weight: 600; }
.tabs button.on { color: var(--ink); border-bottom-color: var(--gold-2); }
.tgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(138px, 1fr)); gap: 10px; }
.tcard { border: 1px solid var(--line); border-radius: 12px; overflow: hidden; background: #0e0e11; transition: border-color .12s, box-shadow .12s; }
.tcard:hover { border-color: var(--line-2); }
.tcard.on { border-color: var(--gold-2); box-shadow: 0 0 0 1px var(--gold-2) inset; }
.tcard canvas { width: 100%; display: block; aspect-ratio: 16 / 9; cursor: pointer; background: radial-gradient(120% 100% at 50% 100%, #2b2836, #0e0e11); }
.tcard .n { display: flex; justify-content: space-between; align-items: center; padding: 6px 8px 5px; font-size: 11.5px; font-weight: 600; cursor: pointer; }
.tcard .vars { display: flex; flex-wrap: wrap; gap: 4px; padding: 0 6px 7px; }
.vchip { font-size: 10px; line-height: 1; padding: 4px 7px; border-radius: 99px; border: 1px solid var(--line-2); background: var(--bg-2); color: var(--ink-3); font-weight: 600; }
.vchip:hover { color: var(--ink); border-color: #4a4a55; }
.vchip.on { background: var(--gold-soft); color: var(--gold-2); border-color: var(--gold); }
.badge { font-size: 9.5px; padding: 1px 6px; border-radius: 99px; background: var(--gold-soft); color: var(--gold-2); text-transform: uppercase; letter-spacing: .06em; font-weight: 700; }
.word.hl { box-shadow: inset 0 -2px 0 var(--gold-2); }
.word.hl::before { content: "★"; font-size: 9px; color: var(--gold-2); margin-right: 3px; vertical-align: 2px; }

/* ---------- modal */
.modal-bg { position: fixed; inset: 0; background: rgba(0, 0, 0, 0.6); display: grid; place-items: center; z-index: 50; backdrop-filter: blur(4px); }
.modal { width: min(460px, 92vw); max-height: 88vh; overflow-y: auto; background: var(--bg-2); border: 1px solid var(--line-2); border-radius: 16px; padding: 20px; display: flex; flex-direction: column; gap: 12px; }
/* On a short screen the option list scrolls, never the buttons: Export must
   always be reachable. */
#exportModal .modal { overflow: hidden; }
#exportChoose, #exportRun { display: flex; flex-direction: column; gap: 12px; min-height: 0; }
#exportChoose .opts { flex: 1 1 auto; min-height: 0; overflow-y: auto; }
.modal h2 { margin: 0; font-size: 18px; }
.modal .actions { display: flex; gap: 8px; justify-content: flex-end; }

/* ---------- account + plans */
.btn.acct { max-width: 150px; }
.btn.acct.on { border-color: var(--gold); color: var(--gold-2); }
.modal.wide { width: min(640px, 94vw); }
#authForm { display: flex; flex-direction: column; gap: 10px; }
.switch { display: flex; flex-wrap: wrap; gap: 10px; }
.switch button { background: none; border: 0; padding: 0; color: var(--gold-2); font-size: 12px; font-weight: 600; }
.switch button:hover { text-decoration: underline; }
.plans { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
@media (min-width: 900px) { .plans { grid-template-columns: repeat(4, 1fr); } }
.plan { border: 1px solid var(--line); border-radius: 10px; padding: 10px; background: var(--bg-2); display: flex; flex-direction: column; gap: 8px; }
.plan.on { border-color: var(--gold-2); background: rgba(245,197,66,.06); }
.plan .ph { display: flex; flex-direction: column; gap: 2px; }
.plan .ph b { font-size: 13px; }
.plan .ph span { font-size: 16px; font-weight: 800; color: var(--gold-2); }
.plan .ph small { font-size: 10px; color: var(--ink-3); font-weight: 600; }
.plan .tag { font-size: 10.5px; color: var(--gold-2); font-weight: 600; line-height: 1.3; }
.plan ul { margin: 0; padding-left: 16px; display: flex; flex-direction: column; gap: 4px; }
.plan li { font-size: 11.5px; color: var(--ink-2); line-height: 1.35; }
.plan .cur { font-size: 11px; color: var(--ink-3); font-weight: 600; text-align: center; }
.plan .btn { width: 100%; margin-top: auto; }
.cloudlist { display: flex; flex-direction: column; gap: 4px; max-height: 30vh; overflow-y: auto; }
.crow { display: grid; grid-template-columns: 1fr auto auto; gap: 8px; align-items: center; padding: 6px 8px; border-radius: 8px; background: var(--bg-2); border: 1px solid var(--line); }
.crow .n { font-size: 12.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.crow .t { font-size: 10.5px; color: var(--ink-3); }

/* ---------- review */
.review { border: 1px solid var(--line-2); border-radius: 10px; padding: 8px 10px; background: var(--bg-2); display: flex; flex-direction: column; gap: 8px; }
.issues { display: flex; flex-direction: column; gap: 6px; max-height: 40vh; overflow-y: auto; }
.issue { display: grid; grid-template-columns: 1fr auto; gap: 6px 10px; align-items: center; padding: 7px 9px; border-radius: 8px; background: var(--bg-3); border: 1px solid var(--line); }
.issue .chg { font-size: 13px; }
.issue .chg s { color: var(--ink-3); }
.issue .chg b { color: var(--gold-2); font-weight: 700; }
.issue .why { grid-column: 1 / -1; font-size: 11px; color: var(--ink-3); }
.issue .acts { display: flex; gap: 4px; }
.issue .cap { font-size: 10.5px; color: var(--ink-3); margin-right: 6px; }
.word.flag { text-decoration: underline wavy var(--danger); text-underline-offset: 3px; }
.line .meta .joined { color: var(--ink-3); }

/* ---------- auto trim */
select.inline { width: auto; height: 30px; padding: 0 8px; font-size: 12px; }
.trimsum { font-size: 12px; color: var(--ink-2); }
.trimsum b { color: var(--ink); font-weight: 700; }
.cuts { display: flex; flex-direction: column; gap: 4px; max-height: 36vh; overflow-y: auto; padding-right: 2px; }
.cut { display: grid; grid-template-columns: auto 1fr auto auto; gap: 8px; align-items: center; padding: 6px 8px; border-radius: 8px; background: var(--bg-2); border: 1px solid var(--line); cursor: pointer; }
.cut:hover { border-color: var(--line-2); }
.cut .k { font-size: 10px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: 2px 6px; border-radius: 99px; background: rgba(255,92,92,.14); color: #ff8080; }
.cut.k-filler .k { background: rgba(167,139,250,.16); color: #c4b5fd; }
.cut.k-repeat .k { background: rgba(245,197,66,.14); color: var(--gold-2); }
.cut .d { display: flex; flex-direction: column; min-width: 0; }
.cut .lbl { font-size: 12.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cut .t { font-size: 10.5px; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.cut.off { opacity: .55; }
.cut.off .k { background: var(--bg-3); color: var(--ink-3); }
.cut .btn.sm { height: 26px; padding: 0 8px; }
.strip .cutblk { position: absolute; top: 0; bottom: 0; background: repeating-linear-gradient(135deg, rgba(255,92,92,.35) 0 4px, rgba(255,92,92,.12) 4px 8px); border-left: 1px solid rgba(255,92,92,.8); border-right: 1px solid rgba(255,92,92,.8); cursor: pointer; z-index: 1; }
.strip .cutblk.off { background: repeating-linear-gradient(135deg, rgba(255,255,255,.12) 0 4px, transparent 4px 8px); border-color: var(--line-2); }

/* ---------- apply-to + fonts */
.applyto { display: flex; align-items: center; gap: 10px; }
.applyto .seg { flex: 1; }
.fontbtn { width: 100%; justify-content: space-between; font-weight: 600; }
.fontbtn .chev { color: var(--ink-3); }
.fontpop { margin-top: 8px; border: 1px solid var(--line-2); border-radius: 10px; padding: 8px; background: var(--bg-2); }
.fontpop input[type=text] { height: 32px; margin-bottom: 8px; }
.chips { display: flex; flex-wrap: wrap; gap: 4px; margin-bottom: 8px; }
.chips button { font-size: 10.5px; padding: 4px 8px; border-radius: 99px; border: 1px solid var(--line-2); background: var(--bg-3); color: var(--ink-3); font-weight: 600; }
.chips button.on { color: var(--gold-2); border-color: var(--gold); background: var(--gold-soft); }
.fontlist { max-height: 240px; overflow-y: auto; display: flex; flex-direction: column; gap: 2px; }
.fontlist button { text-align: left; padding: 7px 9px; border-radius: 7px; border: 0; background: transparent; color: var(--ink); font-size: 14px; display: flex; justify-content: space-between; align-items: center; }
.fontlist button:hover { background: var(--bg-3); }
.fontlist button.on { background: var(--gold-soft); color: var(--gold-2); }
.fontlist button small { color: var(--ink-3); font-size: 10px; font-family: var(--font); }
.fontlist .rm { color: var(--ink-3); font-size: 11px; padding: 2px 6px; border-radius: 4px; }
.fontlist .rm:hover { color: var(--danger); }

/* ---------- export options */
.opts { display: flex; flex-direction: column; gap: 8px; }
.opt { display: grid; grid-template-columns: 18px 1fr; column-gap: 10px; align-items: start; padding: 10px 12px; border: 1px solid var(--line-2); border-radius: 10px; background: var(--bg-3); cursor: pointer; }
.opt.on { border-color: var(--gold-2); background: rgba(245, 197, 66, 0.06); }
.opt input { margin: 3px 0 0; accent-color: var(--gold-2); grid-row: span 2; }
.opt .t { font-weight: 700; font-size: 13.5px; }
.opt .t em { font-style: normal; font-weight: 600; color: var(--ink-3); font-size: 11px; margin-left: 6px; }
.opt .d { font-size: 12px; color: var(--ink-2); line-height: 1.4; }
.opt .d b { color: var(--ink); font-weight: 700; }
.opt-split { font-size: 10px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); margin: 4px 0 -2px; }
.opt .pill { display: inline-block; margin-left: 6px; font-size: 9.5px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; padding: 2px 6px; border-radius: 99px; background: var(--gold-soft); color: var(--gold-2); vertical-align: 1px; }

/* ---------- responsive */
@media (max-width: 1100px) {
  .editor { grid-template-columns: 300px 1fr; }
  .panel.right { grid-column: 1 / -1; border-left: 0; border-top: 1px solid var(--line); max-height: 40vh; }
}
@media (max-width: 760px) {
  /* The bar holds eight things; on a phone width they were being squeezed
     until their labels clipped. Drop what is not needed and stop the rest
     from shrinking. */
  .top { gap: 8px; padding: 0 10px; }
  .top .btn { flex-shrink: 0; }
  .top .project-name { display: none; }
  .btn.icon { width: 32px; }
  .btn.acct { max-width: 104px; }
  .wide-only { display: none; }

  .editor { display: flex; flex-direction: column; height: auto; }
  /* Video first and pinned; panels scroll underneath it. */
  .stage { order: -1; position: sticky; top: 0; z-index: 5; min-height: 0; background: var(--bg); box-shadow: 0 8px 24px rgba(0,0,0,.5); }
  .stage .drop { min-height: 60vh; margin: 16px; }
  .preview-wrap { padding: 10px 12px 6px; flex: 0 0 48vh; height: 48vh; }
  .preview { height: 100%; }
  .controls { padding: 8px 12px; }
  .controls .time { min-width: 0; font-size: 11px; }
  .strip { margin: 0 12px 10px; height: 26px; }
  .strip .blk { top: 4px; height: 18px; line-height: 16px; }
  .panel { border: 0; border-top: 1px solid var(--line); max-height: none; overflow: visible; }
  .panel.left { order: 1; }
  .panel.right { order: 2; }
  .lines { max-height: 42vh; overflow-y: auto; padding-right: 2px; }
  .cuts { max-height: 30vh; }
  .quota { display: none; }
  .plans { grid-template-columns: 1fr; }
  .top .project-name { font-size: 12px; }
}

/* Narrow phones: the logo mark carries the brand on its own. */
@media (max-width: 480px) {
  .brand .word { display: none; }
  .btn.acct { max-width: 88px; }
  .btn.sm, .top .btn:not(.icon) { padding: 0 10px; }
}
