/* ============================================================
   REGRET — base
   ============================================================ */

:root{
  --bg: #0a0908;
  --bg-1: #100e0d;
  --bg-2: #161312;
  --line: rgba(236,231,224,.09);
  --line-strong: rgba(236,231,224,.16);
  --ink: #ece7e0;
  --ink-dim: #948d86;
  --ink-faint: #5c5751;
  --red: #8a1f2b;
  --red-bright: #c8323f;
  --red-dim: rgba(138,31,43,.35);
  --serif: "Fraunces", "Iowan Old Style", "Palatino Linotype", serif;
  --mono: "IBM Plex Mono", "SFMono-Regular", Menlo, monospace;
  --ease: cubic-bezier(.22,.61,.36,1);
  --safe-t: env(safe-area-inset-top, 0px);
  --safe-b: env(safe-area-inset-bottom, 0px);
}

*, *::before, *::after{ box-sizing: border-box; }
html{ -webkit-text-size-adjust: 100%; }

body{
  margin: 0;
  min-height: 100dvh;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--mono);
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3{
  font-family: var(--serif);
  font-weight: 500;
  margin: 0;
  letter-spacing: -0.01em;
}

p{ margin: 0; }

a{ color: inherit; text-decoration: none; }

button, input, textarea{
  font-family: inherit;
  color: inherit;
  background: none;
  border: none;
  outline: none;
  -webkit-appearance: none;
  appearance: none;
}

button{ cursor: pointer; }

::selection{ background: var(--red); color: var(--ink); }

::-webkit-scrollbar{ width: 10px; height: 10px; }
::-webkit-scrollbar-track{ background: var(--bg); }
::-webkit-scrollbar-thumb{ background: var(--bg-2); border: 2px solid var(--bg); border-radius: 10px; }

.upper{ text-transform: uppercase; }

.visually-hidden{
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

@media (prefers-reduced-motion: reduce){
  *, *::before, *::after{
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
}

/* ============================================================
   Atmosphere: grain + spotlight
   ============================================================ */

.grain{
  position: fixed; inset: -100px;
  z-index: 300;
  pointer-events: none;
  opacity: .05;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
  background-size: 180px 180px;
}

.spotlight{
  position: fixed; inset: 0;
  z-index: 1;
  pointer-events: none;
  background: radial-gradient(560px circle at var(--sx,50%) var(--sy,30%), var(--red-dim), transparent 60%);
  opacity: 0;
  transition: opacity .6s var(--ease);
}
.spotlight.is-active{ opacity: .5; }

body::before{
  content: "";
  position: fixed; inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(1100px 700px at 50% -10%, rgba(138,31,43,.10), transparent 60%),
    radial-gradient(900px 600px at 100% 110%, rgba(255,255,255,.03), transparent 60%);
}

/* ============================================================
   Nav
   ============================================================ */

.nav{
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: calc(20px + var(--safe-t)) 22px 16px;
  transition: transform .5s var(--ease), opacity .4s var(--ease);
}
.nav.nav--hidden{ transform: translateY(-120%); opacity: 0; pointer-events: none; }

.nav__mark{
  font-family: var(--serif);
  font-size: 15px;
  letter-spacing: .28em;
  font-weight: 500;
  color: var(--ink);
  opacity: .92;
}

.nav__toggle{
  width: 34px; height: 34px;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 6px;
}
.nav__toggle span{
  display: block; width: 22px; height: 1px;
  background: var(--ink);
  transition: transform .35s var(--ease), opacity .2s var(--ease);
}
.nav__toggle[aria-expanded="true"] span:first-child{ transform: translateY(3.5px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:last-child{ transform: translateY(-3.5px) rotate(-45deg); }

.nav-overlay{
  position: fixed; inset: 0;
  z-index: 250;
  background: rgba(8,7,6,.98);
  backdrop-filter: blur(6px);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: 0 32px;
  visibility: hidden;
  opacity: 0;
  transition: opacity .45s var(--ease), visibility 0s linear .45s;
}
.nav-overlay.is-open{
  visibility: visible;
  opacity: 1;
  transition: opacity .45s var(--ease);
}

.nav-overlay__list{
  list-style: none;
  margin: 0; padding: 0;
  display: flex; flex-direction: column;
  gap: 6px;
}
.nav-overlay__list li{
  overflow: hidden;
}
.nav-overlay__list a{
  display: inline-block;
  font-family: var(--serif);
  font-size: clamp(30px, 9vw, 52px);
  font-weight: 400;
  letter-spacing: -0.01em;
  color: var(--ink-dim);
  padding: 6px 0;
  transform: translateY(120%);
  opacity: 0;
  transition: color .3s var(--ease);
}
.nav-overlay.is-open .nav-overlay__list a{
  animation: navIn .6s var(--ease) forwards;
  animation-delay: calc(var(--i) * 60ms + 80ms);
}
.nav-overlay__list a:hover, .nav-overlay__list a:focus-visible{ color: var(--ink); }
.nav-overlay__list a.is-current{ color: var(--red-bright); }

@keyframes navIn{
  to{ transform: translateY(0); opacity: 1; }
}

.nav-overlay__close{
  position: absolute;
  top: calc(24px + var(--safe-t)); right: 24px;
  font-size: 12px;
  letter-spacing: .2em;
  color: var(--ink-dim);
}

body.nav-locked{ overflow: hidden; }

/* ============================================================
   App shell / transitions
   ============================================================ */

.app{
  position: relative;
  z-index: 2;
  min-height: 100dvh;
  opacity: 1;
  transition: opacity .28s var(--ease), transform .28s var(--ease);
}
.app.is-transitioning{
  opacity: 0;
  transform: translateY(8px);
}

.view{
  min-height: 100dvh;
  padding: 0 22px;
}

.container{
  max-width: 720px;
  margin: 0 auto;
}

/* ============================================================
   Buttons
   ============================================================ */

.btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 30px;
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: .16em;
  border: 1px solid var(--line-strong);
  color: var(--ink);
  transition: border-color .3s var(--ease), background-color .3s var(--ease), color .3s var(--ease), transform .2s var(--ease);
  text-align: center;
}
.btn:active{ transform: scale(.98); }

.btn--primary{
  background: var(--red);
  border-color: var(--red);
  color: #f3ece9;
}
.btn--primary:hover{ background: var(--red-bright); border-color: var(--red-bright); }

.btn--ghost:hover{ border-color: var(--ink-dim); }

.btn--text{
  border: none;
  padding: 8px 0;
  color: var(--ink-dim);
  letter-spacing: .14em;
}
.btn--text:hover{ color: var(--ink); }

.btn--block{ width: 100%; }
.btn[disabled]{ opacity: .35; pointer-events: none; }

/* ============================================================
   Landing
   ============================================================ */

.landing{
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 100px 24px 60px;
  position: relative;
}

.landing__title{
  font-size: clamp(58px, 20vw, 132px);
  letter-spacing: .01em;
  color: var(--ink);
  line-height: .95;
  opacity: 0;
  animation: riseIn 1.1s var(--ease) forwards;
  animation-delay: .15s;
}

.landing__title span{
  display: inline-block;
  position: relative;
}

.landing__subtitle{
  margin-top: 26px;
  max-width: 360px;
  font-size: 15px;
  color: var(--ink-dim);
  line-height: 1.7;
  opacity: 0;
  animation: riseIn 1s var(--ease) forwards;
  animation-delay: .55s;
}

.landing__actions{
  margin-top: 52px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  width: 100%;
  max-width: 320px;
  opacity: 0;
  animation: riseIn 1s var(--ease) forwards;
  animation-delay: .85s;
}

.landing__footnote{
  position: absolute;
  bottom: calc(28px + var(--safe-b));
  left: 0; right: 0;
  text-align: center;
  font-size: 11px;
  letter-spacing: .08em;
  color: var(--ink-faint);
  font-style: italic;
  opacity: 0;
  animation: fadeIn 1.4s var(--ease) forwards;
  animation-delay: 1.5s;
}

@keyframes riseIn{
  from{ opacity: 0; transform: translateY(18px); }
  to{ opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn{
  to{ opacity: 1; }
}

/* ============================================================
   Section headers (shared)
   ============================================================ */

.page{
  padding: calc(120px + var(--safe-t)) 0 100px;
}

.page__eyebrow{
  font-size: 11px;
  letter-spacing: .24em;
  color: var(--red-bright);
  margin-bottom: 14px;
  display: block;
}

.page__title{
  font-size: clamp(34px, 8vw, 54px);
  margin-bottom: 18px;
}

.page__lede{
  color: var(--ink-dim);
  font-size: 14.5px;
  line-height: 1.8;
  max-width: 520px;
}

/* ============================================================
   Decision flow
   ============================================================ */

.decide{
  position: fixed;
  inset: 0;
  z-index: 100;
  background: var(--bg);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.decide__bar{
  position: absolute;
  top: 0; left: 0;
  height: 2px;
  background: var(--red);
  transition: width .5s var(--ease);
  z-index: 3;
}

.decide__chrome{
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: calc(22px + var(--safe-t)) 22px 0;
}

.decide__count{
  font-size: 11px;
  letter-spacing: .18em;
  color: var(--ink-faint);
}

.decide__exit{
  font-size: 11px;
  letter-spacing: .18em;
  color: var(--ink-faint);
  padding: 6px;
}
.decide__exit:hover{ color: var(--ink); }

.decide__stage{
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px 24px calc(24px + var(--safe-b));
  overflow-y: auto;
}

.step{
  width: 100%;
  max-width: 620px;
  animation: stepIn .5s var(--ease) forwards;
}

@keyframes stepIn{
  from{ opacity: 0; transform: translateY(14px); }
  to{ opacity: 1; transform: translateY(0); }
}

.step__prompt{
  font-family: var(--serif);
  font-size: clamp(24px, 6.4vw, 38px);
  line-height: 1.2;
  margin-bottom: 34px;
  text-align: center;
}

.step__field{
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--line-strong);
  padding: 10px 4px 16px;
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(20px, 5vw, 26px);
  color: var(--ink);
  text-align: center;
  transition: border-color .3s var(--ease);
}
.step__field:focus{ border-color: var(--red-bright); }
.step__field::placeholder{ color: var(--ink-faint); }

textarea.step__field{
  min-height: 130px;
  resize: none;
  text-align: left;
  font-style: normal;
  font-family: var(--mono);
  font-size: 15px;
  line-height: 1.8;
  border: 1px solid var(--line);
  padding: 18px;
}
textarea.step__field:focus{ border-color: var(--red-bright); }

.step__actions{
  margin-top: 30px;
  display: flex;
  justify-content: center;
}

.choice-grid{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.choice-card{
  padding: 34px 16px;
  border: 1px solid var(--line);
  text-align: center;
  font-family: var(--serif);
  font-size: clamp(16px, 4.4vw, 21px);
  letter-spacing: .01em;
  transition: border-color .3s var(--ease), background-color .3s var(--ease), transform .2s var(--ease);
}
.choice-card:hover{ border-color: var(--ink-dim); }
.choice-card:active{ transform: scale(.98); }
.choice-card.is-selected{
  border-color: var(--red-bright);
  background: rgba(138,31,43,.14);
}

@media (max-width: 480px){
  .choice-grid{ grid-template-columns: 1fr; }
}

.slider-wrap{ text-align: center; }

.slider-value{
  font-family: var(--serif);
  font-size: clamp(58px, 18vw, 90px);
  line-height: 1;
  margin-bottom: 28px;
  font-variant-numeric: tabular-nums;
  transition: color .3s var(--ease), text-shadow .3s var(--ease);
}

.confidence-slider{
  width: 100%;
  height: 34px;
  display: flex;
  align-items: center;
}
.confidence-slider input[type="range"]{
  width: 100%;
  height: 2px;
  background: linear-gradient(to right, var(--red) 0%, var(--red) var(--val,50%), var(--line-strong) var(--val,50%), var(--line-strong) 100%);
  border-radius: 2px;
}
.confidence-slider input[type="range"]::-webkit-slider-thumb{
  -webkit-appearance: none;
  width: 20px; height: 20px;
  border-radius: 50%;
  background: var(--ink);
  border: 3px solid var(--bg);
  box-shadow: 0 0 0 1px var(--red-bright);
  cursor: pointer;
  transition: transform .15s var(--ease);
}
.confidence-slider input[type="range"]::-webkit-slider-thumb:active{ transform: scale(1.15); }
.confidence-slider input[type="range"]::-moz-range-thumb{
  width: 20px; height: 20px;
  border-radius: 50%;
  background: var(--ink);
  border: 3px solid var(--bg);
  box-shadow: 0 0 0 1px var(--red-bright);
  cursor: pointer;
}
.confidence-slider input[type="range"]::-moz-range-track{
  height: 2px;
  background: var(--line-strong);
}

.review-options{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.review-option{
  padding: 20px 10px;
  border: 1px solid var(--line);
  text-align: center;
  font-size: 13px;
  letter-spacing: .1em;
  transition: border-color .3s var(--ease), background-color .3s var(--ease);
}
.review-option:hover{ border-color: var(--ink-dim); }
.review-option.is-selected{ border-color: var(--red-bright); background: rgba(138,31,43,.14); }

.custom-date{
  margin-top: 18px;
  text-align: center;
}
.custom-date input[type="date"]{
  border: 1px solid var(--line-strong);
  padding: 12px 16px;
  font-size: 14px;
  color-scheme: dark;
}

/* Lock screen */

.lock{
  width: 100%;
  max-width: 560px;
  text-align: center;
}

.lock__title{
  font-size: clamp(30px, 8vw, 46px);
  letter-spacing: .04em;
  color: var(--red-bright);
  opacity: 0;
  animation: stampIn .7s var(--ease) forwards;
}

@keyframes stampIn{
  0%{ opacity: 0; transform: scale(1.5); letter-spacing: .3em; }
  60%{ opacity: 1; }
  100%{ opacity: 1; transform: scale(1); letter-spacing: .04em; }
}

.lock__summary{
  margin-top: 40px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 28px 0;
}

.lock__line{
  font-size: 13px;
  letter-spacing: .06em;
  color: var(--ink-dim);
  padding: 9px 0;
  opacity: 0;
  animation: lineIn .6s var(--ease) forwards;
  animation-delay: calc(var(--i) * 160ms + .5s);
}
.lock__line strong{
  color: var(--ink);
  font-weight: 500;
}
.lock__line--headline{
  font-family: var(--serif);
  font-size: clamp(19px, 4.6vw, 25px);
  color: var(--ink);
  letter-spacing: 0;
  text-transform: uppercase;
  margin-bottom: 6px;
}

@keyframes lineIn{
  from{ opacity: 0; transform: translateY(8px); }
  to{ opacity: 1; transform: translateY(0); }
}

.lock__notice{
  margin-top: 30px;
  font-style: italic;
  color: var(--ink-faint);
  font-size: 13px;
  opacity: 0;
  animation: fadeIn .8s var(--ease) forwards;
  animation-delay: 1.3s;
}

.lock__action{
  margin-top: 34px;
  opacity: 0;
  animation: fadeIn .8s var(--ease) forwards;
  animation-delay: 1.55s;
}

.farewell{
  position: fixed;
  inset: 0;
  z-index: 400;
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  animation: fadeIn .6s var(--ease) forwards;
}
.farewell span{
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(24px, 6vw, 34px);
  color: var(--ink-dim);
  letter-spacing: .02em;
}

/* ============================================================
   My Regrets — dashboard
   ============================================================ */

.regrets-grid{
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  margin-top: 40px;
}

@media (min-width: 640px){
  .regrets-grid{ grid-template-columns: 1fr 1fr; }
}

.regret-card{
  position: relative;
  border: 1px solid var(--line);
  padding: 24px 22px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: border-color .3s var(--ease), transform .25s var(--ease), background-color .3s var(--ease);
  overflow: hidden;
}
.regret-card:hover{ border-color: var(--ink-dim); transform: translateY(-2px); }
.regret-card:hover::after{ opacity: 1; }
.regret-card::after{
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(320px circle at 90% -10%, rgba(138,31,43,.16), transparent 60%);
  opacity: 0;
  transition: opacity .4s var(--ease);
  pointer-events: none;
}

.regret-card__status{
  align-self: flex-start;
  font-size: 10px;
  letter-spacing: .14em;
  padding: 5px 10px;
  border: 1px solid var(--line-strong);
  color: var(--ink-dim);
}
.regret-card__status[data-status="READY"]{
  color: var(--red-bright);
  border-color: var(--red-dim);
  animation: pulseGlow 2.4s ease-in-out infinite;
}
.regret-card__status[data-status="RESOLVED"]{
  color: var(--ink);
  border-color: var(--line-strong);
}

@keyframes pulseGlow{
  0%, 100%{ box-shadow: 0 0 0 rgba(200,50,63,0); }
  50%{ box-shadow: 0 0 14px rgba(200,50,63,.25); }
}

.regret-card__question{
  font-family: var(--serif);
  font-size: 19px;
  line-height: 1.35;
  text-transform: uppercase;
}

.regret-card__meta{
  display: flex;
  flex-wrap: wrap;
  gap: 6px 16px;
  font-size: 11.5px;
  color: var(--ink-faint);
  letter-spacing: .03em;
}
.regret-card__meta b{ color: var(--ink-dim); font-weight: 500; }

.empty-state{
  margin-top: 60px;
  text-align: center;
  padding: 60px 20px;
  border: 1px dashed var(--line);
}
.empty-state p{
  color: var(--ink-dim);
  font-size: 14px;
  margin-bottom: 22px;
}

/* ============================================================
   Decision detail
   ============================================================ */

.detail-back{
  display: inline-block;
  margin-bottom: 30px;
  color: var(--ink-faint);
  font-size: 12px;
  letter-spacing: .12em;
}
.detail-back:hover{ color: var(--ink); }

.detail-block{
  margin-bottom: 34px;
  padding-bottom: 30px;
  border-bottom: 1px solid var(--line);
}
.detail-block:last-child{ border-bottom: none; }

.detail-label{
  font-size: 11px;
  letter-spacing: .18em;
  color: var(--ink-faint);
  margin-bottom: 10px;
  display: block;
}

.detail-text{
  font-size: 15px;
  line-height: 1.85;
  color: var(--ink-dim);
  white-space: pre-wrap;
}

.detail-grid{
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.compare{
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
@media (min-width: 640px){
  .compare{ grid-template-columns: 1fr 1fr; }
}
.compare > div{
  padding: 20px;
  border: 1px solid var(--line);
}
.compare h4{
  font-size: 11px;
  letter-spacing: .14em;
  color: var(--red-bright);
  margin-bottom: 12px;
  font-family: var(--mono);
  font-weight: 500;
}

/* Review flow (inline) */

.review-flow{
  margin-top: 10px;
}

.recall{
  border: 1px solid var(--line);
  padding: 22px;
  margin-bottom: 30px;
}
.recall p + p{ margin-top: 14px; }

/* ============================================================
   Statistics
   ============================================================ */

.stats-grid{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  margin-top: 40px;
}
@media (min-width: 640px){
  .stats-grid{ grid-template-columns: repeat(3, 1fr); }
}

.stat-tile{
  background: var(--bg);
  padding: 30px 20px;
}
.stat-tile__value{
  font-family: var(--serif);
  font-size: clamp(36px, 8vw, 52px);
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}
.stat-tile__label{
  margin-top: 8px;
  font-size: 10.5px;
  letter-spacing: .1em;
  color: var(--ink-faint);
}

.timeline{
  margin-top: 70px;
}
.timeline__title{
  font-size: 11px;
  letter-spacing: .18em;
  color: var(--ink-faint);
  margin-bottom: 30px;
  display: block;
}
.timeline__track{
  position: relative;
  padding-left: 24px;
}
.timeline__track::before{
  content: "";
  position: absolute;
  left: 4px; top: 6px; bottom: 6px;
  width: 1px;
  background: var(--line-strong);
}
.timeline__item{
  position: relative;
  padding: 0 0 26px 20px;
}
.timeline__item::before{
  content: "";
  position: absolute;
  left: -20.5px; top: 4px;
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--bg);
  border: 1px solid var(--ink-faint);
}
.timeline__item[data-status="READY"]::before{ border-color: var(--red-bright); background: var(--red-bright); }
.timeline__item[data-status="RESOLVED"]::before{ border-color: var(--ink); background: var(--ink); }
.timeline__date{
  font-size: 10.5px;
  color: var(--ink-faint);
  letter-spacing: .06em;
  margin-bottom: 4px;
}
.timeline__question{
  font-size: 14px;
  color: var(--ink-dim);
}
.timeline__item a:hover .timeline__question{ color: var(--ink); }

/* ============================================================
   Archive
   ============================================================ */

.archive-search{
  margin-top: 30px;
  position: relative;
}
.archive-search input{
  width: 100%;
  border: 1px solid var(--line-strong);
  padding: 14px 18px;
  font-size: 14px;
  letter-spacing: .02em;
}
.archive-search input:focus{ border-color: var(--red-bright); }
.archive-search input::placeholder{ color: var(--ink-faint); }

.archive-note{
  margin-top: 16px;
  font-size: 12px;
  color: var(--ink-faint);
  line-height: 1.7;
}

.archive-list{
  margin-top: 34px;
  display: flex;
  flex-direction: column;
  gap: 1px;
  background: var(--line);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.archive-entry{
  background: var(--bg);
  padding: 26px 4px;
  position: relative;
}

.archive-entry__top{
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
  gap: 10px;
}

.archive-entry__tag{
  font-size: 10px;
  letter-spacing: .1em;
  color: var(--ink-faint);
  border: 1px solid var(--line-strong);
  padding: 3px 8px;
}
.archive-entry__tag--sample{ color: var(--ink-faint); }

.archive-entry__title{
  font-family: var(--serif);
  font-style: italic;
  font-size: 21px;
  margin-bottom: 12px;
}

.archive-entry__body{
  font-size: 14px;
  line-height: 1.85;
  color: var(--ink-dim);
  white-space: pre-line;
}

.archive-entry__foot{
  margin-top: 16px;
  display: flex;
  align-items: center;
  gap: 18px;
}

.report-btn{
  font-size: 11px;
  letter-spacing: .08em;
  color: var(--ink-faint);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.report-btn:hover{ color: var(--red-bright); }
.report-btn[data-reported="true"]{ color: var(--ink-faint); pointer-events: none; opacity: .6; }

.archive-empty{
  margin-top: 60px;
  text-align: center;
  color: var(--ink-faint);
  font-size: 13px;
}

/* Publish box inside detail */

.publish-box{
  border: 1px solid var(--line);
  padding: 22px;
}
.publish-box textarea{
  width: 100%;
  border: 1px solid var(--line);
  padding: 14px;
  font-size: 13.5px;
  line-height: 1.7;
  min-height: 110px;
  margin-top: 12px;
}
.publish-box input[type="text"]{
  width: 100%;
  border: 1px solid var(--line);
  padding: 12px 14px;
  font-family: var(--serif);
  font-style: italic;
  font-size: 15px;
  margin-top: 12px;
}
.publish-box .btn{ margin-top: 16px; }

.field-hint{
  font-size: 11.5px;
  color: var(--ink-faint);
  margin-top: 10px;
  line-height: 1.6;
}

.toast{
  position: fixed;
  bottom: calc(26px + var(--safe-b));
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: var(--bg-2);
  border: 1px solid var(--line-strong);
  padding: 13px 22px;
  font-size: 12.5px;
  letter-spacing: .06em;
  z-index: 500;
  opacity: 0;
  transition: opacity .35s var(--ease), transform .35s var(--ease);
  pointer-events: none;
}
.toast.is-visible{
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* ============================================================
   About
   ============================================================ */

.about-copy p{
  font-size: 16px;
  line-height: 1.9;
  color: var(--ink-dim);
  margin-bottom: 22px;
  max-width: 540px;
}
.about-copy p strong{ color: var(--ink); font-weight: 500; }

.about-steps{
  margin-top: 50px;
  border-top: 1px solid var(--line);
}
.about-steps li{
  list-style: none;
  display: flex;
  gap: 20px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
  align-items: baseline;
}
.about-steps i{
  font-style: normal;
  font-size: 12px;
  color: var(--red-bright);
  letter-spacing: .1em;
  min-width: 26px;
}
.about-steps span{
  font-family: var(--serif);
  font-size: 19px;
  color: var(--ink);
}
