/* ============ The Burn Book — article design system (BurnFrost Journal) ============ */

:root {
  --paper: #f4f5f4;
  --card: #fbfbfa;
  --ink: #121516;
  --ink-soft: #4c5557;
  --ink-body: #2a3438;
  --accent: #6fa8b8;
  --glacial: #1d3a42;
  --ice: #9bbfe5;
  --ice-wash: #e7eef1;
  --navy: #0f2343;
  --ember: #b8511c;
  --ember-wash: rgba(184, 81, 28, .055);
  --ok: #41695a;
  --line: rgba(18, 21, 22, .14);
  --line-soft: rgba(18, 21, 22, .08);
  --display: "Newsreader", serif;
  --sans: "Archivo", sans-serif;
  --mono: "Spline Sans Mono", monospace;
  --ease-lux: cubic-bezier(.22, 1, .36, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background: var(--paper); color: var(--ink);
  font-family: var(--sans); line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
::selection { background: var(--ice); color: var(--navy); }
img { max-width: 100%; height: auto; }
a { color: inherit; }

.wrap { max-width: 740px; margin: 0 auto; padding: 0 clamp(22px, 5vw, 40px); }

/* ---------- reading progress ---------- */
.progress {
  position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 90;
  background: transparent;
}
.progress .bar {
  height: 100%; width: 0;
  background: linear-gradient(90deg, var(--accent), var(--glacial));
}

/* ---------- chrome ---------- */
.brandmark {
  position: fixed; top: 26px; left: 36px; z-index: 60;
  font-family: var(--display); font-size: 19px;
  mix-blend-mode: difference; color: #fff; text-decoration: none;
}
.brandmark .j { font-style: italic; }
.pagenav {
  position: fixed; top: 28px; right: 36px; z-index: 60;
  display: flex; gap: 24px; mix-blend-mode: difference;
}
.pagenav a {
  font-family: var(--mono); font-size: 10px; letter-spacing: .18em;
  text-transform: uppercase; color: #fff; text-decoration: none;
  opacity: .75; transition: opacity .3s; position: relative;
  padding-bottom: 3px; border-bottom: 1px solid transparent;
}
.pagenav a:hover { opacity: 1; border-bottom-color: #fff; }
.pagenav a.here { opacity: 1; border-bottom-color: #fff; }
.pagenav a::after { content: ""; position: absolute; inset: -12px -8px; }

/* ---------- reveals ---------- */
.rv { opacity: 0; transform: translateY(22px); transition: opacity .9s var(--ease-lux), transform 1s var(--ease-lux); }
.rv.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .rv { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
  * { animation-duration: .01s !important; }
}

/* ---------- article hero ---------- */
.art-hero { padding: 130px 0 10px; }
.crumb {
  font-family: var(--mono); font-size: 10px; letter-spacing: .14em;
  text-transform: uppercase; color: var(--ink-soft); margin-bottom: 34px;
}
.crumb a { text-decoration: none; color: var(--glacial); }
.crumb a:hover { text-decoration: underline; text-underline-offset: 3px; }
.crumb .sep { margin: 0 8px; opacity: .4; }

.hero-grid { display: grid; grid-template-columns: 1fr 120px; gap: 30px; align-items: start; }
@media (max-width: 640px) {
  .hero-grid { display: flex; flex-direction: column; gap: 0; }
  .picto {
    order: -1; width: 88px; height: 88px; margin-bottom: 26px;
  }
  .picto svg { width: 46px; height: 46px; }
}

article h1 {
  font-family: var(--display); font-weight: 300;
  font-size: clamp(34px, 4.6vw, 54px);
  line-height: 1.06; letter-spacing: -.018em; text-wrap: balance;
}
article h1 em { font-style: italic; color: var(--glacial); }

.artmeta {
  display: flex; gap: 18px; flex-wrap: wrap; align-items: center;
  margin-top: 22px;
  font-family: var(--mono); font-size: 10px; letter-spacing: .12em;
  text-transform: uppercase; color: var(--ink-soft);
}
.artmeta .rev { display: flex; align-items: center; gap: 8px; }
.artmeta .rev .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--ok); }

/* pictograph */
.picto {
  width: 120px; height: 120px;
  border: 1px solid var(--line); border-radius: 50%;
  display: grid; place-items: center;
  color: var(--glacial); cursor: pointer;
  transition: border-color .4s, transform .6s var(--ease-lux);
  position: relative;
}
.picto:hover { border-color: var(--accent); transform: rotate(-4deg); }
.picto svg { width: 64px; height: 64px; overflow: visible; }
.picto svg * {
  fill: none; stroke: currentColor; stroke-width: 1.6;
  stroke-linecap: round; stroke-linejoin: round;
}
.picto .flake-burst {
  position: absolute; inset: 0; pointer-events: none; overflow: visible;
}

/* picto micro-animations */
.picto .drop { animation: dropfall 2.4s ease-in infinite; }
.picto .drop:nth-of-type(2) { animation-delay: .8s; }
.picto .drop:nth-of-type(3) { animation-delay: 1.6s; }
@keyframes dropfall {
  0% { transform: translateY(0); opacity: 0; }
  18% { opacity: 1; }
  78% { transform: translateY(15px); opacity: 1; }
  100% { transform: translateY(20px); opacity: 0; }
}
.picto .steamline { animation: steamrise 3.2s ease-in-out infinite; }
.picto .steamline:nth-of-type(2) { animation-delay: 1.05s; }
.picto .steamline:nth-of-type(3) { animation-delay: 2.1s; }
@keyframes steamrise {
  0% { transform: translateY(3px); opacity: 0; }
  35% { opacity: .9; }
  100% { transform: translateY(-7px); opacity: 0; }
}
.picto .slash {
  stroke: var(--ember); stroke-width: 2;
  stroke-dasharray: 70; stroke-dashoffset: 70;
}
.picto.in .slash { animation: drawslash 1s var(--ease-lux) .6s forwards; }
@keyframes drawslash { to { stroke-dashoffset: 0; } }
.picto .flame { transform-origin: 50% 80%; animation: flicker 2.6s ease-in-out infinite; }
@keyframes flicker {
  0%, 100% { transform: scale(1) rotate(0deg); }
  30% { transform: scale(1.06) rotate(-2deg); }
  65% { transform: scale(.96) rotate(2deg); }
}
.picto .pulse { animation: pictopulse 3s ease-in-out infinite; transform-origin: center; }
@keyframes pictopulse { 0%, 100% { transform: scale(1); opacity: 1; } 50% { transform: scale(1.08); opacity: .7; } }

/* ---------- answer block (AI-extraction core) ---------- */
.answer {
  margin: 40px 0; padding: 30px 32px;
  background: var(--navy); color: #e9eef2;
  border-radius: 8px; position: relative; overflow: hidden;
}
.answer::before {
  content: ""; position: absolute; top: 0; left: 0;
  width: 3px; height: 100%;
  background: linear-gradient(180deg, var(--ice), var(--accent));
}
.answer::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(115deg, transparent 30%, rgba(155,191,229,.14) 48%, transparent 62%);
  transform: translateX(-130%);
  transition: transform 1.6s var(--ease-lux);
  pointer-events: none;
}
.answer:hover::after { transform: translateX(130%); }
.answer .lab {
  font-family: var(--mono); font-size: 10px; letter-spacing: .22em;
  text-transform: uppercase; color: var(--ice); margin-bottom: 14px;
}
.answer p {
  font-family: var(--display); font-weight: 300;
  font-size: clamp(19px, 2.2vw, 24px); line-height: 1.42;
}
.answer p b { color: #fff; font-weight: 500; }

/* ---------- body content ---------- */
article { padding-bottom: 80px; }
section.block { margin: 46px 0; }
section.block > h2 {
  font-family: var(--display); font-weight: 300;
  font-size: clamp(24px, 3vw, 32px); letter-spacing: -.012em;
  margin-bottom: 10px; scroll-margin-top: 90px;
}
section.block > .h2sub { color: var(--ink-soft); font-size: 14.5px; margin-bottom: 22px; }
article p.body {
  font-size: clamp(16px, 1.5vw, 17.5px); line-height: 1.75;
  color: var(--ink-body); margin: 18px 0; text-wrap: pretty;
}
article p.body b { font-weight: 600; color: var(--ink); }

/* ---------- steps ---------- */
.steps {
  counter-reset: s; display: grid; gap: 1px;
  background: var(--line-soft); border: 1px solid var(--line);
  border-radius: 10px; overflow: hidden; margin: 24px 0;
}
.step { background: var(--card); padding: 22px 24px 22px 70px; position: relative; }
.step::before {
  counter-increment: s; content: counter(s);
  position: absolute; left: 22px; top: 22px;
  width: 30px; height: 30px;
  border: 1px solid var(--glacial); border-radius: 50%;
  display: grid; place-items: center;
  font-family: var(--display); font-style: italic; font-size: 15px; color: var(--glacial);
}
.step h4 { font-weight: 600; font-size: 15.5px; margin-bottom: 4px; letter-spacing: .01em; }
.step p { font-size: 14.5px; color: var(--ink-soft); text-wrap: pretty; }
.step .t {
  display: inline-flex; align-items: center; gap: 8px;
  margin-top: 10px; padding: 5px 12px; border-radius: 99px;
  border: 1px solid rgba(111,168,184,.4); background: rgba(111,168,184,.08);
  font-family: var(--mono); font-size: 10px; letter-spacing: .1em;
  text-transform: uppercase; color: var(--glacial);
}
.step .t::before {
  content: ""; width: 10px; height: 10px; border-radius: 50%;
  border: 1.4px solid var(--glacial);
  background: conic-gradient(var(--glacial) var(--tprog, 0%), transparent 0);
}
.step:hover .t::before { animation: tfill 2.2s linear forwards; }
@keyframes tfill { from { --tprog: 0%; } }

/* ---------- do / don't ---------- */
.dd { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 24px 0; }
@media (max-width: 600px) { .dd { grid-template-columns: 1fr; } }
.dd .col {
  border: 1px solid var(--line); border-radius: 10px;
  padding: 22px 22px 14px; background: var(--card);
}
.dd .col.no { background: var(--ember-wash); border-color: rgba(184,81,28,.25); }
.dd .col h4 {
  font-family: var(--mono); font-size: 10.5px; letter-spacing: .16em;
  text-transform: uppercase; margin-bottom: 14px;
}
.dd .col.yes h4 { color: var(--ok); }
.dd .col.no h4 { color: var(--ember); }
.dd ul { list-style: none; }
.dd li {
  font-size: 14px; padding: 8px 0 8px 24px; position: relative;
  border-top: 1px solid var(--line-soft); color: var(--ink-body); text-wrap: pretty;
}
.dd li:first-child { border-top: none; }
.dd .yes li::before { content: "✓"; position: absolute; left: 2px; color: var(--ok); font-weight: 600; }
.dd .no li::before { content: "✕"; position: absolute; left: 2px; color: var(--ember); }

/* ---------- callout / evidence ---------- */
.callout {
  margin: 28px 0; padding: 24px 26px; border-radius: 10px;
  border: 1px solid var(--line); background: var(--ice-wash);
}
.callout .lab {
  font-family: var(--mono); font-size: 10px; letter-spacing: .18em;
  text-transform: uppercase; color: var(--glacial); margin-bottom: 10px;
}
.callout p { font-size: 15px; color: var(--ink-body); line-height: 1.66; text-wrap: pretty; }
.callout cite {
  display: block; margin-top: 14px;
  font-family: var(--mono); font-size: 11px; font-style: normal;
  color: var(--ink-soft); letter-spacing: .01em; line-height: 1.7;
}
.callout cite a { color: var(--glacial); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- see-a-doctor flag ---------- */
.flag { margin: 30px 0; border: 1px solid rgba(184,81,28,.3); border-radius: 10px; overflow: hidden; }
.flag .head {
  background: rgba(184,81,28,.08); padding: 15px 24px;
  font-family: var(--mono); font-size: 11px; letter-spacing: .16em;
  text-transform: uppercase; color: var(--ember);
  display: flex; align-items: center; gap: 10px;
}
.flag .head::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--ember); animation: pictopulse 2.4s ease-in-out infinite; }
.flag ul { list-style: none; padding: 8px 24px 16px; background: var(--card); }
.flag li {
  font-size: 14.5px; padding: 10px 0 10px 22px; position: relative;
  border-top: 1px solid var(--line-soft); color: var(--ink-body); text-wrap: pretty;
}
.flag li:first-child { border-top: none; }
.flag li::before { content: "→"; position: absolute; left: 0; color: var(--ember); }

/* ---------- thermo bars ---------- */
.thermo {
  margin: 30px 0; border: 1px solid var(--line); border-radius: 10px;
  overflow: hidden; background: var(--card);
}
.thermo .cap {
  padding: 18px 24px 0;
  font-family: var(--mono); font-size: 10px; letter-spacing: .14em;
  text-transform: uppercase; color: var(--ink-soft); line-height: 1.8;
}
.thermo .bars { padding: 18px 24px 26px; display: grid; gap: 14px; }
.tbar { display: grid; grid-template-columns: 150px 1fr; gap: 14px; align-items: center; }
@media (max-width: 540px) { .tbar { grid-template-columns: 1fr; gap: 5px; } }
.tbar .nm { font-size: 13.5px; color: var(--ink-body); }
.tbar .track { height: 30px; border-radius: 5px; background: rgba(18,21,22,.06); position: relative; overflow: hidden; }
.tbar .fill {
  position: absolute; left: 0; top: 0; height: 100%; width: 0;
  border-radius: 5px;
  transition: width 1.6s var(--ease-lux);
  display: flex; align-items: center; padding-left: 10px;
  font-family: var(--mono); font-size: 11px; color: #fff; white-space: nowrap;
}

/* ---------- timeline ---------- */
.timeline {
  margin: 34px 0; border: 1px solid var(--line); border-radius: 10px;
  background: var(--card); padding: 26px 26px 30px;
}
.timeline .cap {
  font-family: var(--mono); font-size: 10px; letter-spacing: .14em;
  text-transform: uppercase; color: var(--ink-soft); margin-bottom: 30px;
}
.tl-track {
  position: relative; height: 5px; border-radius: 3px;
  background: linear-gradient(90deg, #e0a584, var(--ice) 75%);
  margin: 42px 16px 34px;
}
.tl-pt {
  position: absolute; top: 50%; transform: translate(-50%, -50%) scale(0);
  width: 13px; height: 13px; border-radius: 50%;
  background: var(--paper); border: 2px solid var(--glacial);
  transition: transform .6s var(--ease-lux);
}
.timeline.in .tl-pt { transform: translate(-50%, -50%) scale(1); }
.timeline.in .tl-pt:nth-child(2) { transition-delay: .15s; }
.timeline.in .tl-pt:nth-child(3) { transition-delay: .3s; }
.timeline.in .tl-pt:nth-child(4) { transition-delay: .45s; }
.timeline.in .tl-pt:nth-child(5) { transition-delay: .6s; }
.tl-pt .lbl {
  position: absolute; bottom: 22px; left: 50%; transform: translateX(-50%);
  white-space: nowrap; font-family: var(--mono); font-size: 10px;
  letter-spacing: .04em; color: var(--ink);
}
.tl-pt .sub {
  position: absolute; top: 22px; left: 50%; transform: translateX(-50%);
  white-space: nowrap; font-size: 11px; color: var(--ink-soft);
}
@media (max-width: 600px) {
  .tl-pt:nth-child(odd) .sub { top: 38px; }
}

/* ---------- soft product mention ---------- */
.soft {
  margin: 34px 0; padding: 22px 26px;
  border: 1px solid var(--line); border-radius: 12px;
  display: flex; gap: 20px; align-items: center;
  background: linear-gradient(150deg, #eceeed 0%, #dde2e1 55%, #eef0ef 100%);
  text-decoration: none;
  transition: box-shadow .5s var(--ease-lux), transform .5s var(--ease-lux);
}
a.soft:hover { box-shadow: 0 16px 38px rgba(18,40,46,.14); transform: translateY(-2px); }
.soft .ic {
  flex: none; width: 56px; display: grid; place-items: center;
}
.soft .ic img { width: 100%; filter: drop-shadow(0 6px 8px rgba(18,40,46,.25)); }
.soft p { font-size: 14px; color: var(--ink-soft); line-height: 1.65; text-wrap: pretty; }
.soft p b { color: var(--ink); font-weight: 600; }
.soft .go {
  flex: none; font-family: var(--mono); font-size: 10px; letter-spacing: .14em;
  text-transform: uppercase; color: var(--glacial); white-space: nowrap;
}

/* ---------- related questions ---------- */
.related { margin-top: 52px; border-top: 1px solid var(--line); padding-top: 32px; }
.related h3 { font-family: var(--display); font-weight: 300; font-size: 24px; margin-bottom: 16px; }
.qa { border-bottom: 1px solid var(--line-soft); }
.qa summary {
  cursor: pointer; padding: 17px 0; font-weight: 500; font-size: 15.5px;
  list-style: none; display: flex; justify-content: space-between;
  align-items: center; gap: 16px;
}
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after {
  content: "+"; font-family: var(--display); font-weight: 300;
  font-size: 22px; color: var(--glacial); transition: transform .4s var(--ease-lux);
  flex: none;
}
.qa[open] summary::after { transform: rotate(45deg); }
.qa p { padding: 0 0 18px; font-size: 14.5px; color: var(--ink-soft); line-height: 1.7; text-wrap: pretty; }

/* ---------- next-article + footer ---------- */
.next-read {
  margin-top: 56px; padding: 26px 28px;
  border: 1px solid var(--line); border-radius: 12px;
  display: flex; justify-content: space-between; align-items: center; gap: 20px;
  text-decoration: none; background: var(--card);
  transition: background .4s;
}
.next-read:hover { background: #fff; }
.next-read .k {
  font-family: var(--mono); font-size: 10px; letter-spacing: .18em;
  text-transform: uppercase; color: var(--ink-soft);
}
.next-read .ttl {
  font-family: var(--display); font-weight: 300; font-size: 21px;
  letter-spacing: -.01em; margin-top: 6px;
}
.next-read .arr { font-size: 20px; color: var(--glacial); }

.bb-footer {
  border-top: 1px solid var(--line);
  padding: 44px 0 56px; margin-top: 30px;
}
.bb-footer .wrap { display: grid; gap: 18px; }
.bb-footer .links { display: flex; gap: 22px; flex-wrap: wrap; }
.bb-footer .links a {
  font-family: var(--mono); font-size: 10px; letter-spacing: .16em;
  text-transform: uppercase; color: var(--ink); text-decoration: none;
  border-bottom: 1px solid transparent; transition: border-color .3s;
  position: relative;
}
.bb-footer .links a::after { content: ""; position: absolute; inset: -12px -8px; }
.bb-footer .links a:hover { border-bottom-color: var(--ink); }
.bb-footer .disc {
  font-size: 12px; color: var(--ink-soft); line-height: 1.8; max-width: 64ch; text-wrap: pretty;
}
.bb-footer .disc b { color: var(--ink); font-weight: 600; }

/* ---------- emergency strip (hub + articles) ---------- */
.emerg {
  border: 1px solid rgba(184,81,28,.28); border-radius: 10px;
  background: var(--ember-wash);
  padding: 16px 22px; margin: 34px 0 0;
  display: flex; gap: 16px; align-items: baseline; flex-wrap: wrap;
}
.emerg b {
  font-family: var(--mono); font-size: 10px; letter-spacing: .16em;
  text-transform: uppercase; color: var(--ember); flex: none;
}
.emerg p { font-size: 13.5px; color: var(--ink-body); line-height: 1.6; flex: 1; min-width: 240px; text-wrap: pretty; }

/* ---------- edit mode ---------- */
[data-bf-hidden] { display: none !important; }
body.et-editing [data-bf-hidden] { display: revert !important; opacity: .22; filter: grayscale(1); }
body.et-editing [data-tid] { outline: 1px dashed transparent; outline-offset: 4px; cursor: text; }
body.et-editing [data-tid]:hover { outline-color: rgba(111,168,184,.8); }
body.et-editing [data-tid]:focus { outline: 1.5px solid var(--accent); }
.et-pill {
  position: fixed; left: 36px; bottom: 26px; z-index: 70;
  padding: 11px 20px; border-radius: 99px; cursor: pointer;
  border: 1px solid rgba(18,21,22,.3); background: var(--paper); color: var(--ink);
  font-family: var(--mono); font-size: 10px; letter-spacing: .16em; text-transform: uppercase;
  white-space: nowrap;
}
.et-pill:hover, .et-pill.active { background: var(--ink); color: var(--paper); }
.et-reset { display: none; left: 36px; bottom: 74px; }
body.et-editing .et-reset { display: block; }
.et-x {
  position: fixed; z-index: 95; width: 28px; height: 28px; border-radius: 50%;
  border: 1px solid rgba(18,21,22,.3); background: var(--paper); color: var(--ink);
  font: 14px/1 var(--sans); cursor: pointer; display: none;
  align-items: center; justify-content: center; padding: 0;
  box-shadow: 0 4px 14px rgba(0,0,0,.18);
}
body.et-editing .et-x.on { display: flex; }

@media (max-width: 700px) {
  .brandmark { left: 20px; top: 20px; font-size: 17px; }
  .pagenav { right: 16px; top: 22px; gap: 14px; }
  .pagenav a { font-size: 9px; letter-spacing: .12em; }
  .art-hero { padding-top: 96px; }
  .crumb { margin-bottom: 26px; line-height: 2; }
  article h1 { font-size: 31px; line-height: 1.14; }
  .artmeta { gap: 8px 16px; margin-top: 16px; }
  .answer { padding: 22px 20px; margin: 30px 0; }
  .answer p { font-size: 17.5px; line-height: 1.5; }
  article p.body { font-size: 16px; line-height: 1.72; }
  section.block { margin: 38px 0; }
  section.block > h2 { font-size: 23px; }
  .step { padding: 18px 18px 18px 58px; }
  .step::before { left: 16px; top: 18px; width: 26px; height: 26px; font-size: 13px; }
  .step h4 { font-size: 15px; }
  .step p { font-size: 14px; }
  .callout { padding: 20px 18px; }
  .flag .head { padding: 13px 18px; }
  .flag ul { padding: 6px 18px 14px; }
  .thermo .cap { padding: 16px 18px 0; }
  .thermo .bars { padding: 16px 18px 22px; }
  .soft { padding: 18px 18px; gap: 14px; flex-wrap: wrap; }
  .soft .ic { width: 40px; }
  .soft .go { margin-left: 54px; }
  .next-read { padding: 20px 20px; }
  .next-read .ttl { font-size: 18px; }
  .related h3 { font-size: 21px; }
  .qa summary { font-size: 14.5px; }
  .et-pill { left: 20px; bottom: 20px; }
  .et-reset { left: 20px; bottom: 66px; }
  .bf-timer { width: 200px; padding: 20px 16px 16px; }
}

/* vertical timeline on phones (set via JS) */
.timeline.vert .tl-track {
  width: 4px; height: 300px;
  margin: 14px 0 14px 108px;
  background: linear-gradient(180deg, #e0a584, var(--ice) 75%);
}
.timeline.vert .tl-pt { left: 50% !important; }
.timeline.vert .tl-pt .lbl {
  bottom: auto; left: auto; right: 24px; top: 50%;
  transform: translateY(-50%); text-align: right;
}
.timeline.vert .tl-pt .sub {
  top: 50%; left: 24px; transform: translateY(-50%);
}

/* ---------- the 20-minute cooling timer ---------- */
.t.timer-launch { cursor: pointer; transition: background .3s, border-color .3s, transform .3s var(--ease-lux); }
.t.timer-launch:hover { background: rgba(111,168,184,.2); border-color: var(--glacial); transform: translateY(-1px); }
.t.timer-launch::after {
  content: "start"; margin-left: 4px; padding-left: 10px;
  border-left: 1px solid rgba(29,58,66,.3); color: var(--glacial);
}
.bf-timer {
  position: fixed; z-index: 95;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  width: 224px;
  background: var(--navy); color: #e9eef2;
  border-radius: 18px;
  box-shadow: 0 30px 70px rgba(15, 35, 67, .4);
  padding: 24px 20px 18px;
  text-align: center;
  transition: left .9s var(--ease-lux), right .9s var(--ease-lux), top .9s var(--ease-lux),
              transform .9s var(--ease-lux), width .9s var(--ease-lux), padding .9s var(--ease-lux),
              opacity .5s, background 1s;
  opacity: 0;
}
.bf-timer.show { opacity: 1; }
.bf-timer.docked {
  left: auto; right: 26px;
  transform: translate(0, -50%);
  width: 136px; padding: 16px 12px 12px;
  border-radius: 14px;
  box-shadow: 0 16px 40px rgba(15, 35, 67, .35);
}
.bf-timer svg { width: 122px; height: 122px; display: block; margin: 0 auto; transition: width .9s var(--ease-lux), height .9s var(--ease-lux); }
.bf-timer.docked svg { width: 78px; height: 78px; }
.bf-timer .face { fill: none; stroke: rgba(233,238,242,.22); stroke-width: 2; }
.bf-timer .tick { stroke: rgba(233,238,242,.38); stroke-width: 1.3; }
.bf-timer .arc { fill: none; stroke: var(--ice); stroke-width: 3; stroke-linecap: round; }
.bf-timer .hand {
  stroke: #fff; stroke-width: 1.6; stroke-linecap: round;
  transform-origin: 60px 60px;
  transition: transform .2s cubic-bezier(.3, 1.5, .4, 1);
}
.bf-timer .readout {
  font-family: var(--mono); font-size: 21px; letter-spacing: .04em;
  margin-top: 10px; font-variant-numeric: tabular-nums;
}
.bf-timer.docked .readout { font-size: 15px; margin-top: 6px; }
.bf-timer .tlbl {
  font-family: var(--mono); font-size: 9px; letter-spacing: .16em;
  text-transform: uppercase; color: var(--ice); margin-top: 6px; line-height: 1.6;
}
.bf-timer .tx {
  position: absolute; top: 5px; right: 9px;
  background: none; border: 0; color: rgba(233,238,242,.55);
  font-size: 16px; cursor: pointer; padding: 5px 7px;
}
.bf-timer .tx:hover { color: #fff; }
.bf-timer.done { background: #10303f; }
.bf-timer.done .arc { stroke: #bfeaf2; }
.bf-timer.done .readout { color: #bfeaf2; }
@media (max-width: 700px) {
  .bf-timer.docked { right: 14px; top: auto; bottom: 92px; transform: none; }
}
