@font-face {
  font-family: "IBM Plex Sans";
  src: url("/fonts/IBMPlexSans-Regular.woff2") format("woff2");
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "IBM Plex Sans";
  src: url("/fonts/IBMPlexSans-Medium.woff2") format("woff2");
  font-weight: 500; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "IBM Plex Sans";
  src: url("/fonts/IBMPlexSans-SemiBold.woff2") format("woff2");
  font-weight: 600; font-style: normal; font-display: swap;
}

:root {
  --bg: #000000;
  --fg: #f2f2f2;
  --mut: #8a8a8a;
  --acc: #00e676;
  --acc-2: #69f0ae;
  --acc-dim: rgba(0, 230, 118, 0.14);
  --bd: rgba(255, 255, 255, 0.08);
  --bd-2: rgba(255, 255, 255, 0.14);
  --danger: #f87171;
  --glass: #000000;
  --r: 8px;
  --safe-t: env(safe-area-inset-top, 0px);
  --safe-b: env(safe-area-inset-bottom, 0px);
  --orange: #ff7900;
  --sfr: #e4002b;
  --bouygues: #00a0e1;
}

*, *::before, *::after { box-sizing: border-box; }
html { color-scheme: dark; -webkit-text-size-adjust: 100%; overflow-x: hidden; }
html, body { margin: 0; min-height: 100%; min-height: 100dvh; max-width: 100%; }
body.share {
  background: var(--bg);
  color: var(--fg);
  font-family: "IBM Plex Sans", ui-sans-serif, system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  letter-spacing: -0.015em;
  min-height: 100dvh;
  display: grid;
  place-items: center;
  padding: calc(20px + var(--safe-t)) 16px calc(28px + var(--safe-b));
  overflow-x: hidden;
}
button, input { font: inherit; color: inherit; }
a { color: var(--acc); text-decoration: none; }
:focus-visible { outline: 2px solid var(--acc); outline-offset: 3px; }
::selection { background: var(--acc-dim); color: var(--fg); }

#share-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  display: block;
  pointer-events: none;
}
.share-glow {
  position: fixed;
  width: 55vw;
  height: 55vw;
  max-width: 520px;
  max-height: 520px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 230, 118, 0.10), transparent 68%);
  filter: blur(8px);
  z-index: 0;
  pointer-events: none;
  transform: translate(-50%, -50%);
  left: 50%;
  top: 42%;
  transition: left 0.6s ease, top 0.6s ease;
}

.share-wrap {
  position: relative;
  z-index: 1;
  width: min(440px, 100%);
  max-width: 100%;
  min-width: 0;
}
.share-brand {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 0 0 14px 6px;
  color: var(--mut);
  font-size: 13px;
  font-weight: 500;
}
.share-brand .logo {
  color: var(--fg);
  font-weight: 600;
  letter-spacing: -0.05em;
  font-size: 17px;
  text-transform: lowercase;
}
.share-who {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 10px 5px 5px;
  border: 1px solid var(--bd);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.03);
  color: var(--fg);
  font-size: 12.5px;
  max-width: 140px;
  overflow: hidden;
}
.share-who i {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--acc);
  color: #18181b;
  display: grid;
  place-items: center;
  font-style: normal;
  font-weight: 600;
  font-size: 11px;
}

.share-card {
  background: var(--glass);
  backdrop-filter: blur(22px) saturate(1.2);
  -webkit-backdrop-filter: blur(22px) saturate(1.2);
  border: 1px solid var(--bd);
  border-radius: var(--r);
  padding: 24px 22px 22px;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.04) inset, 0 18px 50px rgba(0, 0, 0, 0.35);
}

.share-prog {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 6px;
  margin: 0 0 18px;
}
.share-prog button {
  appearance: none;
  border: 0;
  background: transparent;
  padding: 0;
  cursor: pointer;
  text-align: left;
  min-width: 0;
}
.share-prog i {
  display: block;
  height: 4px;
  border-radius: 8px;
  background: var(--bd-2);
  margin-bottom: 6px;
}
.share-prog span {
  display: block;
  font-size: 10px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--mut);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.share-prog button.on i,
.share-prog button.done i { background: var(--acc); }
.share-prog button.on span { color: var(--acc); }
.share-prog button:disabled { cursor: default; opacity: 0.55; }

.share-step { display: none; animation: rise 0.35s ease; }
.share-step.on { display: block; }
@keyframes rise {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: none; }
}

.kicker {
  color: var(--acc);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin: 0 0 8px;
  font-weight: 500;
}
h1 {
  margin: 0 0 8px;
  font-size: clamp(26px, 7vw, 32px);
  font-weight: 600;
  letter-spacing: -0.045em;
  line-height: 1.12;
}
.lead { margin: 0 0 18px; color: #c8c8c8; font-size: 15.5px; }
.lead strong { color: var(--fg); font-weight: 600; }
.choice span:not(.ico):not(.go) { min-width: 0; overflow: hidden; }
.choice strong,
.choice em,
h1,
.lbl,
.chip,
.tag,
.btn,
.home-kpi em,
.home-kpi strong,
.home-live em,
.home-live strong,
.use-who strong,
.use-who em,
.use-dev b,
.share-who,
.home-now-rate em,
.home-spark-lab,
.kicker,
.home-tabs button,
#home-lead {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  min-width: 0;
}
.lead,
.share-home .fine,
.share-card .fine {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  white-space: normal;
  text-overflow: ellipsis;
}
#home-lead {
  display: block;
  -webkit-line-clamp: unset;
  -webkit-box-orient: unset;
}
.hello-points,
.hello-points p,
.hello-points span,
.howto,
.howto li,
.howto li > span,
.sheet-card p,
.keep-link p {
  white-space: normal;
  overflow: visible;
  text-overflow: unset;
}

.pick { display: grid; gap: 10px; margin: 4px 0 16px; }
.torrent-pick { margin: 0 0 14px; }
.choice {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 12px;
  align-items: center;
  width: 100%;
  text-align: left;
  background: rgba(255, 255, 255, 0.03);
  color: var(--fg);
  border: 1px solid var(--bd);
  border-radius: 8px;
  padding: 13px 14px;
  cursor: pointer;
  min-height: 64px;
  transition: border-color 0.15s ease, background 0.15s ease, transform 0.15s ease;
  -webkit-tap-highlight-color: transparent;
}
.choice:hover { border-color: var(--bd-2); background: rgba(255, 255, 255, 0.05); }
.choice:active { transform: scale(0.99); }
.choice.on {
  border-color: var(--tint, var(--acc));
  background: var(--acc-dim);
}
.choice[data-op="orange"].on { background: rgba(255, 121, 0, 0.14); }
.choice[data-op="sfr"].on { background: rgba(228, 0, 43, 0.14); }
.choice[data-op="bouygues"].on { background: rgba(0, 160, 225, 0.14); }
.choice .ico {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.05);
  color: var(--tint, var(--acc));
  flex-shrink: 0;
}
.choice.on .ico { background: var(--acc-dim); }
.choice[data-op="orange"].on .ico { background: rgba(255, 121, 0, 0.22); }
.choice[data-op="sfr"].on .ico { background: rgba(228, 0, 43, 0.22); }
.choice[data-op="bouygues"].on .ico { background: rgba(0, 160, 225, 0.22); }
.choice .ico svg { width: 22px; height: 22px; }
.choice .ico { font-size: 18px; line-height: 1; }
.dns-btn[data-dns="off"] { --tint: var(--mut); }
.dns-btn[data-dns="ads"] { --tint: #fb923c; }
.dns-btn[data-dns="privacy"] { --tint: #a78bfa; }
.dns-btn[data-dns="family"] { --tint: #f472b6; }
.dns-btn .ico { color: var(--tint, var(--acc)); opacity: 0.9; }
.dns-btn.on .ico { opacity: 1; }
.choice strong { display: block; font-size: 15.5px; font-weight: 600; letter-spacing: -0.03em; }
.choice em {
  display: block;
  font-style: normal;
  color: var(--mut);
  font-size: 12.5px;
  margin-top: 2px;
}
.choice .go { color: var(--mut); font-size: 18px; }
.choice[data-op="orange"] { --tint: var(--orange); }
.choice[data-op="sfr"] { --tint: var(--sfr); }
.choice[data-op="bouygues"] { --tint: var(--bouygues); }
.choice[data-op="wg"] { --tint: var(--acc); }

.dev-row { display: grid; grid-template-columns: 1fr auto; gap: 8px; align-items: stretch; }
.dev-row .choice { min-width: 0; }
.dev-del {
  width: 48px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.220);
  background: rgba(255, 255, 255, 0.060);
  color: var(--danger);
  cursor: pointer;
  font-size: 18px;
  line-height: 1;
}
.dev-del:hover { background: rgba(255, 255, 255, 0.140); }

.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 12px; }
.chip {
  appearance: none;
  border: 1px solid var(--bd);
  background: rgba(255, 255, 255, 0.03);
  color: var(--fg);
  border-radius: 8px;
  padding: 8px 12px;
  font-size: 13px;
  cursor: pointer;
  min-height: 40px;
}
.chip:hover, .chip.sug { border-color: var(--acc); color: var(--acc); }

label.field {
  display: block;
  font-size: 12px;
  color: var(--mut);
  margin: 4px 0 6px;
}
#join-form { margin-top: 4px; }
input[type="text"] {
  width: 100%;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--bd);
  border-radius: 8px;
  padding: 13px 14px;
  min-height: 48px;
  margin: 0 0 12px;
}
input[type="text"]:focus { border-color: var(--acc); outline: none; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid var(--bd-2);
  background: rgba(255, 255, 255, 0.06);
  color: var(--fg);
  padding: 12px 16px;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
  min-height: 48px;
  max-width: 100%;
  letter-spacing: -0.02em;
  -webkit-tap-highlight-color: transparent;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.btn.primary {
  background: var(--acc);
  color: #04140b;
  border-color: transparent;
  box-shadow: 0 8px 22px rgba(0, 230, 118, 0.22);
}
.btn.primary:hover { filter: brightness(1.05); color: #18181b; }
.btn.block { width: 100%; }
.btn.ghost { background: transparent; border-color: transparent; color: var(--mut); min-height: 40px; font-weight: 500; }
.btn:disabled { opacity: 0.45; cursor: not-allowed; }
.btn-row { display: grid; gap: 6px; margin-top: 4px; }
.err { color: var(--danger); min-height: 1.2em; font-size: 13px; margin: 0 0 8px; }
.fine { color: var(--mut); font-size: 13px; margin: 0 0 12px; }

.hello-points {
  display: grid;
  gap: 10px;
  margin: 0 0 20px;
}
.hello-points p {
  margin: 0;
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 10px;
  align-items: start;
  color: #d0d0d0;
  font-size: 14.5px;
}
.hello-points b {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: var(--acc-dim);
  color: var(--acc);
  display: grid;
  place-items: center;
  font-size: 13px;
}

.qr-box {
  background: transparent;
  border-radius: 8px;
  padding: 0;
  width: min(220px, 68%);
  margin: 8px auto 16px;
  box-shadow: none;
  overflow: hidden;
}
.qr-box img { width: 100%; height: auto; display: block; border-radius: 8px; }
.ready-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: center;
  margin: 0 0 8px;
}
.tag {
  font-size: 12px;
  padding: 5px 10px;
  border-radius: 8px;
  border: 1px solid var(--bd);
  color: var(--mut);
}
.howto { margin: 14px 0 0; padding: 0; list-style: none; counter-reset: n; }
.howto li {
  counter-increment: n;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 0 0 10px;
  color: #d4d4d4;
  font-size: 14px;
}
.howto li > span { flex: 1; min-width: 0; }
.howto li::before {
  content: counter(n);
  width: 26px;
  height: 26px;
  flex: 0 0 26px;
  border-radius: 50%;
  background: var(--acc-dim);
  color: var(--acc);
  display: grid;
  place-items: center;
  font-size: 12px;
  font-weight: 600;
}
.stores { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin: 12px 0 8px; }
.stores a {
  font-size: 12.5px;
  color: var(--fg);
  border: 1px solid var(--bd);
  border-radius: 8px;
  padding: 8px 12px;
  background: rgba(255, 255, 255, 0.03);
}

.sheet {
  position: fixed;
  inset: 0;
  z-index: 20;
  background: rgba(0, 0, 0, 0.55);
  display: grid;
  place-items: end center;
  padding: 16px;
}
.sheet[hidden] { display: none; }
.sheet-card {
  width: min(400px, 100%);
  background: #111;
  border: 1px solid var(--bd);
  border-radius: 8px;
  padding: 20px;
  margin-bottom: var(--safe-b);
}
.sheet-card h2 { margin: 0 0 8px; font-size: 20px; }
.sheet-card p { margin: 0 0 16px; color: var(--mut); }
.sheet-card .btn { margin-top: 6px; }

.ops-sub { margin-top: 4px; }
.ops-sub[hidden] { display: none; }

body.mode-home,
body.mode-invite {
  align-items: start;
}
body.mode-home .share-wrap,
body.mode-invite .share-wrap { width: min(560px, 100%); }
.share-brand-end {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  flex-wrap: wrap;
  min-width: 0;
}
.brand-link {
  appearance: none;
  border: 0;
  background: transparent;
  color: var(--acc);
  font-size: 12.5px;
  font-weight: 600;
  cursor: pointer;
  padding: 6px 8px;
  min-height: 32px;
}
.brand-link[hidden] { display: none; }
.btn-invite {
  appearance: none;
  border: 1px solid rgba(0, 230, 118, 0.35);
  background: var(--acc-dim);
  color: var(--acc);
  font-size: 12.5px;
  font-weight: 600;
  padding: 6px 10px;
  min-height: 32px;
  border-radius: 8px;
  cursor: pointer;
  flex-shrink: 0;
}
.btn-invite:hover { filter: brightness(1.08); }
.btn-invite:disabled { opacity: 0.55; cursor: wait; }
.btn-invite.ok { color: var(--acc); }
.btn-invite.on {
  background: var(--acc);
  color: #04140b;
  border-color: transparent;
}
#invite-url { font-size: 13px; margin: 0 0 10px; }
#invite-card .keep-link .btn { margin-top: 0; }
#invite-card .keep-link .btn + .btn { margin-top: 8px; }

.share-home {
  position: relative;
  background: var(--glass);
  backdrop-filter: blur(22px) saturate(1.2);
  -webkit-backdrop-filter: blur(22px) saturate(1.2);
  border: 1px solid var(--bd);
  border-radius: var(--r);
  padding: 24px 22px 22px;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.04) inset, 0 18px 50px rgba(0, 0, 0, 0.35);
}
.share-home[hidden], .share-card[hidden] { display: none; }

.home-now {
  margin: 0 0 10px;
  padding: 12px 14px 8px;
  border: 1px solid var(--bd);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
}
.home-now-h {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin: 0 0 8px;
}
.home-live {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  overflow: hidden;
}
.home-live > span { min-width: 0; overflow: hidden; }
.home-live strong { font-size: 14px; }
.home-live em {
  color: var(--mut);
  font-style: normal;
  font-size: 12px;
  margin-left: 0;
  display: block;
}
.home-now-rate { text-align: right; flex-shrink: 0; }
.home-now-rate strong {
  display: block;
  font-size: 22px;
  letter-spacing: -0.04em;
  font-variant-numeric: tabular-nums;
  color: var(--acc);
  line-height: 1.1;
}
.home-now-rate em {
  display: block;
  color: var(--mut);
  font-style: normal;
  font-size: 12px;
  margin-top: 4px;
}
.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #5c6370;
  flex-shrink: 0;
}
.dot.on {
  background: var(--acc);
  box-shadow: 0 0 0 4px var(--acc-dim);
}

.home-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin: 0 0 14px;
  padding: 0 2px;
}
.home-fact { min-width: 0; }
.home-fact span {
  display: block;
  color: var(--mut);
  font-size: 11px;
}
.home-fact strong {
  display: block;
  margin-top: 2px;
  font-size: 15px;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
  font-weight: 600;
}
.home-week { margin: 0 0 18px; }
.home-week-h {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin: 0 0 8px;
}
.home-week-h .lbl { margin: 0; }
.home-week-h .chips { margin: 0; }
.home-week .fine { margin: 8px 0 0; }

.home-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  margin: 0 0 16px;
  padding: 4px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--bd);
  border-radius: 10px;
}
.home-tabs button {
  appearance: none;
  border: 0;
  background: transparent;
  color: var(--mut);
  min-height: 40px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 13px;
  cursor: pointer;
}
.home-tabs button.on {
  background: var(--acc-dim);
  color: var(--acc);
}
.home-pane { display: none; }
.home-pane.on { display: block; }
.home-block { margin: 0 0 16px; }
.home-block .lbl {
  color: var(--mut);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 500;
  margin: 0 0 8px;
}
.home-foot { margin-top: 16px; }
.keep-link {
  margin: 0 0 14px;
  padding: 12px 14px;
  border: 1px solid var(--bd);
  border-radius: 8px;
  background: rgba(0, 230, 118, 0.06);
}
.keep-link p {
  margin: 0 0 10px;
  color: #d0d0d0;
  font-size: 13.5px;
  line-height: 1.4;
}
.keep-link .btn {
  width: 100%;
  min-height: 42px;
  font-size: 14px;
}
.keep-link .btn.ok {
  color: var(--acc);
  border-color: rgba(0, 230, 118, 0.35);
}
.keep-link.compact {
  margin: 0 0 10px;
  padding: 10px 12px;
}
.keep-link.compact p { margin: 0 0 8px; font-size: 13px; }
#pending-url {
  width: 100%;
  margin: 0 0 10px;
  padding: 10px 12px;
  border: 1px solid var(--bd);
  border-radius: 8px;
  background: #000;
  color: var(--fg);
  font: 13px/1.3 "IBM Plex Mono", ui-monospace, monospace;
}
.home-dns .go { display: none; }

.home-spark {
  display: block;
  margin: 0;
  position: relative;
}
.home-spark-svg {
  width: 100%;
  height: 44px;
  display: block;
}
.home-spark-svg path {
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.home-spark-svg .sp-rx { fill: none; stroke: var(--acc); }
.home-spark-svg .sp-tx { fill: none; stroke: #7dd3fc; }
.home-spark-svg .sp-rx-fill { fill: url(#hs-rx); stroke: none; }
.home-spark-svg .sp-tx-fill { fill: url(#hs-tx); stroke: none; }
.home-spark-svg .sp-end-rx { fill: var(--acc); stroke: var(--bg); stroke-width: 1.5; }
.home-spark-svg .sp-end-tx { fill: #7dd3fc; stroke: var(--bg); stroke-width: 1.5; }
.home-spark-lab {
  display: block;
  color: var(--mut);
  font-size: 11px;
  margin-top: 4px;
}

.home-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 14px;
}
.home-toolbar .chips { margin: 0; }
.chip.on { color: var(--acc); background: var(--acc-dim); border-color: transparent; }

.home-chart { touch-action: none; -webkit-user-select: none; user-select: none; }
.home-tip {
  position: absolute;
  z-index: 8;
  transform: translate(-50%, calc(-100% - 10px));
  min-width: 160px;
  max-width: 240px;
  padding: 8px 10px;
  border: 1px solid var(--bd);
  border-radius: 10px;
  background: var(--glass, #18181b);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.45);
  pointer-events: none;
  color: var(--fg);
}
.home-tip[hidden] { display: none; }
.home-tip strong {
  display: block;
  font-size: 15px;
  margin: 0 0 4px;
}
.home-tip span {
  display: block;
  color: var(--mut);
  font-size: 12.5px;
  line-height: 1.4;
}
.home-tip::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -5px;
  width: 8px;
  height: 8px;
  background: var(--glass, #18181b);
  border-right: 1px solid var(--bd);
  border-bottom: 1px solid var(--bd);
  transform: translateX(-50%) rotate(45deg);
}

.habit-hours button.habit-h,
.habit-days button.habit-d {
  appearance: none;
  border: 0;
  background: transparent;
  padding: 0;
  cursor: pointer;
  color: inherit;
}
.habit-h.on i, .habit-d.on i {
  background: #fff;
  box-shadow: 0 0 0 1px var(--acc);
}
.habit-days {
  display: flex;
  align-items: flex-end;
  gap: 4px;
  height: 88px;
  overflow-x: auto;
  padding-bottom: 2px;
}
.habit-d {
  flex: 0 0 18px;
  min-width: 16px;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  gap: 4px;
}
.habit-d i {
  display: block;
  width: 100%;
  max-width: 14px;
  border-radius: 4px 4px 2px 2px;
  background: linear-gradient(180deg, var(--acc), rgba(0, 230, 118, 0.28));
}
.habit-d span { font-size: 8px; color: var(--mut); line-height: 1; }

.use-dev {
  appearance: none;
  width: 100%;
  display: grid;
  grid-template-columns: 10px minmax(0, 1fr) 72px auto;
  gap: 8px;
  align-items: center;
  text-align: left;
  border: 1px solid var(--bd);
  background: rgba(255, 255, 255, 0.03);
  color: var(--fg);
  border-radius: 10px;
  padding: 10px 12px;
  margin: 0 0 8px;
  cursor: pointer;
}
.use-dev.live { border-color: rgba(0, 230, 118, 0.35); }
.use-dev.open { border-color: var(--acc); }
.use-who { min-width: 0; }
.use-who strong { display: block; font-size: 14px; }
.use-who em { display: block; color: var(--mut); font-style: normal; font-size: 12px; }
.use-bar {
  height: 6px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
}
.use-bar i { display: block; height: 100%; background: var(--acc); border-radius: inherit; }
.use-dev b { font-size: 12px; font-weight: 600; color: var(--mut); }
.use-more {
  grid-column: 1 / -1;
  font-size: 12px;
  color: var(--mut);
  padding-top: 4px;
}

.home-dev .choice {
  grid-template-columns: 18px 1fr auto;
}
.home-dev.live .choice { border-color: rgba(34, 211, 122, 0.28); }

.habit-hours {
  display: flex;
  align-items: flex-end;
  gap: 3px;
  height: 112px;
  margin: 8px 0 8px;
}
.habit-h {
  flex: 1;
  min-width: 0;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  gap: 4px;
}
.habit-h i {
  display: block;
  width: 100%;
  max-width: 14px;
  border-radius: 4px 4px 2px 2px;
  background: linear-gradient(180deg, var(--acc), rgba(34, 211, 122, 0.28));
}
.habit-h span { font-size: 9px; color: var(--mut); line-height: 1; }
.habit-top {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.habit-top li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 13px;
  min-width: 0;
}
.habit-top span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 12px;
}
.habit-top em { color: var(--mut); font-style: normal; flex-shrink: 0; }

@media (max-width: 560px) {
  .home-now-h { gap: 8px; }
  .home-now-rate strong { font-size: 20px; }
}
@media (max-width: 420px) {
  .share-prog span { display: none; }
  .share-card, .share-home { padding: 18px 16px 16px; border-radius: 4px; }
  h1 { font-size: 26px; }
}
.lost-card {
  text-align: center;
  overflow: visible;
}
.lost-card h1,
.lost-card .lead,
.lost-card .kicker {
  white-space: normal;
  overflow: visible;
  text-overflow: unset;
  -webkit-line-clamp: unset;
}
.lost-num {
  display: block;
  width: 100%;
  appearance: none;
  border: 0;
  background: transparent;
  color: var(--fg);
  font-size: clamp(72px, 22vw, 112px);
  font-weight: 600;
  letter-spacing: -0.08em;
  line-height: 0.9;
  cursor: pointer;
  user-select: none;
  margin: 0 0 8px;
  padding: 8px 0;
  transform: translate3d(var(--dx, 0px), var(--dy, 0px), 0) rotate(var(--rot, 0deg)) scale(var(--sc, 1));
  transition: transform 0.5s cubic-bezier(0.2, 1.6, 0.3, 1);
  text-shadow: 0 0 48px rgba(0, 230, 118, 0.28);
  -webkit-tap-highlight-color: transparent;
}
.lost-num:focus-visible { outline-offset: 6px; }
.lost-num.pop { animation: lostPop 0.42s cubic-bezier(0.2, 1.6, 0.3, 1); }
@keyframes lostPop {
  0% { transform: translate3d(var(--dx, 0px), var(--dy, 0px), 0) rotate(var(--rot, 0deg)) scale(0.86); }
  55% { transform: translate3d(var(--dx, 0px), var(--dy, 0px), 0) rotate(calc(var(--rot, 0deg) * -1)) scale(1.08); }
  100% { transform: translate3d(var(--dx, 0px), var(--dy, 0px), 0) rotate(var(--rot, 0deg)) scale(var(--sc, 1)); }
}
.lost-actions { display: grid; gap: 6px; margin-top: 6px; }
.user-home-form { display: grid; gap: 10px; margin: 4px 0 8px; text-align: left; }
.user-console {
  color: var(--mut);
  font-size: 12px;
  font-weight: 500;
  opacity: 0.55;
}
.user-console:hover { color: var(--fg); opacity: 1; }

@media (prefers-reduced-motion: reduce) {
  .share-step, .share-glow, .lost-num, .lost-num.pop { animation: none; transition: none; }
}
