/* En stunds frid – stil
   Varma, låga kontraster. Inget skarpt vitt, inga blinkningar,
   långsamma rörelser. Byggt med tanke på yrsel och migrän. */

:root {
  --bg0: #10162a;
  --bg1: #1a2240;
  --bg2: #27305a;
  --ink: #f2e9d8;
  --ink-2: rgba(242, 233, 216, .74);
  --ink-3: rgba(242, 233, 216, .52);
  --line: rgba(242, 233, 216, .13);
  --card: rgba(255, 248, 235, .045);
  --card-2: rgba(255, 248, 235, .085);
  --candle: #f3c77f;
  --candle-2: #e7a95c;
  --ember: #e8794a;
  --berry: #b0334c;
  --gold: #d8b26a;
  --sage: #a3bba9;
  --paper: #f5eedf;
  --paper-ink: #2c3a66;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, Roboto, "Helvetica Neue", Arial, sans-serif;
  --hand: "Noteworthy", "Bradley Hand", "Segoe Print", "Marker Felt", cursive;
  --r: 18px;
  --ease: cubic-bezier(.33, .0, .2, 1);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }

html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
html, body { margin: 0; overflow-x: clip; }
body {
  min-height: 100dvh;
  background: var(--bg0);
  color: var(--ink);
  font: 17px/1.55 var(--sans);
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
}
body::before {
  content: "";
  position: fixed; inset: 0; z-index: -1;
  background:
    radial-gradient(120% 70% at 50% -10%, #2d3866 0%, rgba(45, 56, 102, 0) 60%),
    radial-gradient(90% 60% at 50% 110%, #2a1f3a 0%, rgba(42, 31, 58, 0) 70%),
    linear-gradient(#1a2240, #10162a);
  transition: filter 1.6s var(--ease);
}
body.dusk::before { filter: brightness(.55); transition-duration: 2.8s; }
body.modal-open { overflow: hidden; }

#sky { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; transition: opacity 1s; }
#app { position: relative; z-index: 1; }
#fx { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 50; pointer-events: none; }

.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.1; margin: 0; letter-spacing: -.01em; }
h2 { font-size: clamp(30px, 8vw, 38px); margin-bottom: 10px; }
h3 { font-size: 22px; margin: 28px 0 12px; }
p { margin: 0 0 12px; }
a { color: inherit; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--candle); outline-offset: 3px; border-radius: 8px; }

svg { stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Vyer ---------- */
.view { display: none; min-height: 100dvh; padding: env(safe-area-inset-top) 0 calc(40px + env(safe-area-inset-bottom)); }
.view.active { display: block; animation: viewIn .7s var(--ease) both; }
.calm .view.active { animation: fadeIn .4s ease both; }
@keyframes viewIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

.wrap { max-width: 560px; margin: 0 auto; padding: 8px 20px 0; }
.wrap.center { text-align: center; }
.sub { color: var(--ink-2); margin-bottom: 22px; }
.kicker { font: 600 12px/1 var(--sans); letter-spacing: .22em; text-transform: uppercase; color: var(--candle); margin: 0 0 14px; }

.bar { display: flex; align-items: center; justify-content: space-between; max-width: 560px; margin: 0 auto; padding: 14px 12px 4px; }
.back { display: inline-flex; align-items: center; min-height: 44px; padding: 0 10px; text-decoration: none; color: var(--ink-2); font-size: 16px; border-radius: 22px; }
.back:hover { color: var(--ink); }
.bar-action { background: none; border: 1px solid var(--line); border-radius: 22px; padding: 8px 14px; color: var(--ink-2); font-size: 14px; cursor: pointer; }

.science { font-size: 14px; line-height: 1.5; color: var(--ink-3); margin-top: 22px; }
.science cite { font-style: normal; white-space: nowrap; color: var(--ink-3); opacity: .85; }
.science cite::before { content: "· "; }

/* ---------- Knappar och chips ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 0 26px; border-radius: 999px;
  border: 1px solid transparent; cursor: pointer; text-decoration: none;
  font-size: 17px; font-weight: 500; letter-spacing: .01em;
  transition: transform .25s var(--ease), background .3s, box-shadow .3s, opacity .3s;
}
.btn:active { transform: scale(.97); }
.btn-primary { background: var(--candle); color: #2a1f12; box-shadow: 0 6px 28px rgba(243, 199, 127, .25); }
.btn-primary:hover { background: #f6d293; }
.btn-ghost { background: var(--card); border-color: var(--line); color: var(--ink); }
.btn-ghost:hover { background: var(--card-2); }
.btn-quiet { background: none; color: var(--ink-2); padding: 0 14px; }
.btn-quiet:hover { color: var(--ink); }
.btn.danger { color: #e8a2a2; }
.btn[disabled] { opacity: .6; cursor: progress; }
.btn svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.7; }

.row { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-top: 18px; }
.row-center { justify-content: center; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0 4px; }
.chips-center { justify-content: center; }
.chip {
  min-height: 40px; padding: 0 15px; border-radius: 999px; cursor: pointer;
  background: var(--card); border: 1px solid var(--line); color: var(--ink-2); font-size: 15px;
  transition: background .25s, color .25s, border-color .25s;
}
.chip:hover { color: var(--ink); }
.chip.on { background: rgba(243, 199, 127, .16); border-color: rgba(243, 199, 127, .5); color: var(--ink); }

.field { display: block; margin: 0 0 16px; }
.field > span { display: block; font-size: 15px; color: var(--ink-2); margin-bottom: 8px; }
.field input {
  width: 100%; min-height: 50px; padding: 12px 16px; border-radius: 14px;
  background: rgba(255, 255, 255, .06); border: 1px solid var(--line); color: var(--ink);
  font: 17px var(--sans);
}
.field input:focus { outline: none; border-color: rgba(243, 199, 127, .6); background: rgba(255, 255, 255, .08); }
.err { color: #f0a9a0; font-size: 15px; min-height: 1em; margin: 0; }

.step-label { display: block; font-family: var(--serif); font-size: 20px; margin: 22px 0 6px; }

/* ---------- Julklappen ---------- */
.intro { place-items: center; padding-left: 16px; padding-right: 16px; text-align: center; }
.view.intro.active { display: grid; }
.intro-stage { display: grid; place-items: center; width: 100%; max-width: 520px; min-height: 92dvh; }
.intro-stage > * { grid-area: 1 / 1; }
.intro-gift { display: flex; flex-direction: column; align-items: center; transition: opacity .8s; }
.intro-gift.gone { opacity: 0; pointer-events: none; }
.gift-holder { position: relative; width: min(74vw, 330px); margin: 6px 0 22px; }
.gift { display: block; width: 100%; height: auto; overflow: visible; cursor: pointer; }
.gift .piece { transform-box: fill-box; transform-origin: 50% 50%; }
.tag-text { font: 12.5px var(--hand); fill: #5a3b2a; }
.fuse-hint { transform-box: fill-box; transform-origin: center; animation: hint 2.2s ease-out infinite; }
@keyframes hint { 0% { transform: scale(.7); opacity: .9; } 100% { transform: scale(2.3); opacity: 0; } }
.lit .fuse-hint { display: none; }
.spark-glow { transform-box: fill-box; transform-origin: center; animation: flick .22s ease-in-out infinite alternate; }
@keyframes flick { from { transform: scale(.85); } to { transform: scale(1.12); } }

.gift.swell { animation: swell .32s ease-in-out; }
@keyframes swell { 50% { transform: scale(1.04); } }
.gift.boom #giftLid { transition: transform 1.6s cubic-bezier(.12, .75, .3, 1), opacity .9s ease .7s; transform: translate(-30px, -360px) rotate(-30deg); opacity: 0; }
.gift.boom #giftLeft { transition: transform 1.8s cubic-bezier(.25, .6, .35, 1), opacity 1s ease .6s; transform: translate(-140px, 120px) rotate(-34deg); opacity: 0; }
.gift.boom #giftRight { transition: transform 1.8s cubic-bezier(.25, .6, .35, 1), opacity 1s ease .6s; transform: translate(140px, 120px) rotate(34deg); opacity: 0; }
.gift.boom .gift-shadow { transition: opacity .6s; opacity: 0; }
.calm .gift.boom .piece { transform: none !important; transition: opacity .9s ease !important; }

.intro-glow {
  position: absolute; left: 50%; top: 62%; width: 260px; height: 260px; margin: -130px 0 0 -130px;
  border-radius: 50%; pointer-events: none; opacity: 0;
  background: radial-gradient(circle, rgba(255, 226, 160, .8) 0%, rgba(255, 190, 110, .32) 38%, rgba(255, 170, 90, 0) 70%);
}
.intro-glow.on { animation: glow 2.2s var(--ease) forwards; }
@keyframes glow { 0% { opacity: 0; transform: scale(.2); } 18% { opacity: .75; } 100% { opacity: 0; transform: scale(3.4); } }

.btn-light { transition: opacity .6s, transform .25s; }
.lit .btn-light, .lit .intro-hint { opacity: 0; pointer-events: none; }
.intro-hint { color: var(--ink-3); font-size: 14px; margin-top: 14px; transition: opacity .6s; }

.welcome { max-width: 420px; padding: 0 8px; animation: rise 1.4s var(--ease) both; position: relative; }
.welcome::before {
  content: ""; position: absolute; left: 50%; top: 40%; width: 520px; height: 520px; margin: -260px 0 0 -260px; z-index: -1;
  background: radial-gradient(circle, rgba(243, 199, 127, .16), rgba(243, 199, 127, 0) 62%);
  pointer-events: none;
}
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.welcome-title { font-size: clamp(48px, 15vw, 72px); line-height: .98; margin-bottom: 22px; }
.welcome-msg { color: var(--ink-2); font-size: 18px; line-height: 1.6; margin-bottom: 30px; }
.welcome-from { font-family: var(--hand); color: var(--ink-3); margin-top: 26px; font-size: 18px; }

/* ---------- Hem ---------- */
.home { max-width: 560px; margin: 0 auto; padding-left: 20px; padding-right: 20px; }
.home-top { display: flex; align-items: center; justify-content: space-between; padding-top: 14px; }
.greet { margin: 0; color: var(--ink-2); font-family: var(--serif); font-size: 19px; font-style: italic; }
.top-actions { display: flex; gap: 6px; }
.icon-btn {
  width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; cursor: pointer;
  background: var(--card); border: 1px solid var(--line); color: var(--ink-2);
}
.icon-btn svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.7; }
.icon-btn[aria-pressed="true"] { color: var(--candle); border-color: rgba(243, 199, 127, .4); }
.icon-btn .snd-off { display: none; }
.icon-btn[data-toggle="sound"][aria-pressed="false"] .snd-on { display: none; }
.icon-btn[data-toggle="sound"][aria-pressed="false"] .snd-off { display: inline; }
.icon-btn[data-toggle="sound"][aria-pressed="true"] { color: var(--ink-2); border-color: var(--line); }

.home-title { font-size: clamp(50px, 15vw, 76px); line-height: .96; margin: 34px 0 12px; }
.home-sub { color: var(--ink-2); font-size: 19px; margin-bottom: 28px; }

.note-cta {
  display: block; position: relative; text-decoration: none; margin-bottom: 26px;
  background: var(--paper); color: var(--paper-ink); border-radius: 6px; padding: 22px 22px 20px 46px;
  background-image:
    linear-gradient(90deg, transparent 32px, rgba(200, 90, 90, .28) 32px, rgba(200, 90, 90, .28) 33px, transparent 33px),
    repeating-linear-gradient(transparent 0 29px, rgba(110, 140, 190, .28) 29px 30px);
  background-position: 0 0, 0 14px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, .35), 0 2px 0 rgba(0, 0, 0, .1);
  transform: rotate(-.8deg);
  transition: transform .4s var(--ease), box-shadow .4s;
}
.note-cta:hover { transform: rotate(0) translateY(-2px); }
.note-cta-paper { display: block; font: 25px/1.25 var(--hand); margin-bottom: 8px; }
.note-cta-hint { display: block; font-size: 14.5px; line-height: 1.45; color: rgba(44, 58, 102, .72); }

.tools { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.tool {
  display: flex; flex-direction: column; gap: 2px; min-height: 128px; padding: 18px 16px 16px;
  border-radius: var(--r); text-decoration: none; background: var(--card); border: 1px solid var(--line);
  transition: background .3s, transform .3s var(--ease);
}
.tool:hover { background: var(--card-2); }
.tool:active { transform: scale(.98); }
.tool svg { width: 30px; height: 30px; fill: none; stroke: var(--candle); stroke-width: 1.5; }
.tool-name { font-family: var(--serif); font-size: 20px; margin-top: 18px; }
.tool-desc { font-size: 14px; color: var(--ink-3); line-height: 1.35; }

.daily {
  display: block; text-decoration: none; margin-top: 26px; padding: 18px 18px 16px; border-radius: var(--r);
  background: linear-gradient(135deg, rgba(163, 187, 169, .12), rgba(163, 187, 169, .03));
  border: 1px solid rgba(163, 187, 169, .22);
}
.daily-label { display: block; font: 600 11.5px/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--sage); margin-bottom: 10px; }
.daily-title { display: block; font-family: var(--serif); font-size: 21px; margin-bottom: 4px; }
.daily-text { display: block; font-size: 15px; color: var(--ink-2); }

.privacy-line { display: flex; gap: 12px; align-items: flex-start; margin: 30px 0 10px; text-decoration: none; color: var(--ink-3); font-size: 14px; line-height: 1.5; }
.privacy-line svg { flex: none; width: 20px; height: 20px; fill: none; stroke: var(--sage); stroke-width: 1.6; margin-top: 1px; }
.privacy-line u { text-decoration-color: rgba(242, 233, 216, .3); text-underline-offset: 3px; color: var(--ink-2); }

/* ---------- Papper ---------- */
.paper {
  position: relative; border-radius: 6px; background-color: var(--paper);
  background-image:
    linear-gradient(90deg, transparent 32px, rgba(200, 90, 90, .28) 32px, rgba(200, 90, 90, .28) 33px, transparent 33px),
    repeating-linear-gradient(transparent 0 29px, rgba(110, 140, 190, .3) 29px 30px);
  background-position: 0 0, 0 15px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, .35);
}
.paper textarea {
  display: block; width: 100%; resize: none; border: 0; background: transparent; outline: none;
  padding: 16px 18px 16px 44px; min-height: 226px;
  font: 21px/30px var(--hand); color: var(--paper-ink);
}
.paper textarea::placeholder { color: rgba(44, 58, 102, .38); }
.paper-list textarea { min-height: 166px; }

/* ---------- Slipp ---------- */
.fates-title { margin-top: 30px; }
.fates { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.fate {
  display: flex; flex-direction: column; align-items: flex-start; text-align: left; gap: 2px; cursor: pointer;
  padding: 16px 14px 14px; border-radius: var(--r); background: var(--card); border: 1px solid var(--line);
  transition: background .3s, border-color .3s, transform .25s var(--ease), opacity .4s;
}
.fate:hover { background: var(--card-2); }
.fate:active { transform: scale(.97); }
.fate svg { width: 28px; height: 28px; fill: none; stroke: var(--candle); stroke-width: 1.5; margin-bottom: 10px; }
.fate[data-fate="burn"] svg { stroke: var(--ember); }
.fate[data-fate="fade"] svg { stroke: #b9c6ea; }
.fate[data-fate="hit"] svg { stroke: var(--sage); }
.fate b { font-family: var(--serif); font-weight: 400; font-size: 20px; }
.fate span { font-size: 13.5px; color: var(--ink-3); line-height: 1.35; }
.fates:not(.ready) .fate { opacity: .55; }
.fates-empty { color: var(--candle); font-size: 15px; margin-top: 12px; }

.stage { position: relative; display: grid; place-items: center; min-height: 62dvh; padding: 20px 0; touch-action: manipulation; }
.stage > * { grid-area: 1 / 1; }
#stageCanvas { display: block; border-radius: 4px; box-shadow: 0 18px 40px rgba(0, 0, 0, .35); }
#stageCanvas.bare { box-shadow: none; }
#stageCanvas.crumple { transition: transform .6s cubic-bezier(.5, 0, .7, .4), border-radius .6s, opacity .3s .45s, filter .6s; transform: scale(.22) rotate(28deg); border-radius: 50%; filter: brightness(.9); opacity: 0; }
.stage-hint { align-self: end; margin: 0 0 4px; color: var(--ink-2); font-family: var(--serif); font-style: italic; font-size: 18px; text-align: center; transition: opacity .6s; pointer-events: none; }

.fold-wrap { position: relative; transition: transform 1s cubic-bezier(.55, 0, .75, .3), opacity 1s ease-in; }
.fold-top, .fold-bot { position: absolute; left: 0; width: 100%; height: 50%; }
.fold-top { top: 0; box-shadow: 0 18px 40px rgba(0, 0, 0, .35); border-radius: 4px 4px 0 0; }
.fold-bot { top: 50%; transform-origin: 50% 0; transform-style: preserve-3d; transition: transform .95s cubic-bezier(.5, 0, .3, 1); }
.fold-bot canvas, .fold-bot .back { position: absolute; inset: 0; width: 100%; height: 100%; backface-visibility: hidden; -webkit-backface-visibility: hidden; border-radius: 0 0 4px 4px; }
.fold-bot .back { transform: rotateX(180deg); background: linear-gradient(#eadfc6, #e0d1b2); border-radius: 4px 4px 0 0; box-shadow: inset 0 -12px 18px rgba(120, 90, 50, .15); }
.fold-wrap.folded .fold-bot { transform: perspective(900px) rotateX(180deg); }
.fold-wrap.away { transform: translateY(-38dvh) scale(.18); opacity: 0; }
.calm .fold-wrap.away { transform: scale(.8); }

.ball { position: absolute; left: 0; top: 0; width: 96px; height: 96px; margin: -48px 0 0 -48px; z-index: 5; cursor: grab; will-change: transform; touch-action: none; }
.ball svg { width: 100%; height: 100%; display: block; filter: drop-shadow(0 10px 16px rgba(0, 0, 0, .35)); }
.ball.idle svg { animation: bob 3.2s ease-in-out infinite; }
.ball.pop svg { animation: pop .5s cubic-bezier(.3, 1.6, .5, 1) both, bob 3.2s ease-in-out .5s infinite; }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-7px); } }
@keyframes pop { from { transform: scale(.3); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.calm .ball svg { animation: none !important; }

.racket { position: fixed; left: 0; top: 0; width: 60px; height: 140px; margin: -38px 0 0 -30px; z-index: 55; pointer-events: none; transform-origin: 30px 38px; opacity: .92; }

.done { text-align: center; padding: 30px 0; animation: rise 1s var(--ease) both; }
.done .row { justify-content: center; }
.done-title { font-family: var(--serif); font-size: clamp(32px, 9vw, 42px); line-height: 1.1; margin-bottom: 12px; }
.done-text { color: var(--ink-2); max-width: 400px; margin-left: auto; margin-right: auto; }

/* ---------- Hyllan ---------- */
.shelf { margin: 10px 0 18px; }
.shelf-row {
  position: relative; display: flex; align-items: flex-end; justify-content: center; gap: 14px;
  min-height: 104px; padding: 0 10px; margin-bottom: 34px;
}
.shelf-row::after {
  content: ""; position: absolute; left: -6px; right: -6px; bottom: -14px; height: 14px; border-radius: 3px;
  background: linear-gradient(#93643f, #6c4429 70%, #5a3820);
  box-shadow: 0 10px 18px rgba(0, 0, 0, .35);
}
.item {
  position: relative; display: flex; flex-direction: column; align-items: center; gap: 6px;
  width: 30%; max-width: 120px; padding: 0; border: 0; background: none; cursor: pointer;
  transform: rotate(var(--rot, 0deg));
  transition: transform .35s var(--ease);
}
.item:hover { transform: rotate(var(--rot, 0deg)) translateY(-3px); }
.env {
  position: relative; width: 100%; aspect-ratio: 1.45; border-radius: 3px;
  background: linear-gradient(#f1e7d2, #e2d4b7); box-shadow: 0 2px 0 rgba(0, 0, 0, .18), 0 8px 14px rgba(0, 0, 0, .25);
}
.env::before { content: ""; position: absolute; inset: 0; clip-path: polygon(0 0, 100% 0, 50% 58%); background: linear-gradient(#e7dbc0, #d8c7a4); border-radius: 3px 3px 0 0; }
.env::after {
  content: ""; position: absolute; left: 50%; top: 52%; width: 22%; aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 50%;
  background: radial-gradient(circle at 40% 35%, #d65a6f, #8d2236 70%); box-shadow: 0 1px 2px rgba(0, 0, 0, .3);
}
.item.jobb .env { background: linear-gradient(#d9bd85, #c4a467); }
.item.jobb .env::before { clip-path: polygon(0 0, 38% 0, 44% 16%, 100% 16%, 100% 0, 100% 0); background: #cfb276; }
.item.jobb .env::after { background: none; box-shadow: none; content: "Jobbet"; width: auto; aspect-ratio: auto; top: 58%; font: 600 10px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: rgba(70, 50, 20, .7); border-radius: 0; }
.item.open .env::after { opacity: .35; }
.item-label { font: 14px/1.25 var(--hand); color: var(--ink-2); max-width: 100%; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; text-align: center; }
.item-date { font-size: 11.5px; color: var(--ink-3); }
.deco { width: 26%; max-width: 90px; display: flex; align-items: flex-end; justify-content: center; }
.deco svg { width: 100%; height: auto; display: block; }

.shelf-msg { text-align: center; color: var(--ink-2); margin: 6px 0 20px; }
.unlock { margin-top: 8px; padding: 18px; border-radius: var(--r); background: var(--card); border: 1px solid var(--line); }

/* ---------- Läs-lapp (modal) ---------- */
.read-paper {
  margin: 8px 0 18px; padding: 18px 18px 18px 44px; border-radius: 6px; color: var(--paper-ink);
  font: 21px/30px var(--hand); white-space: pre-wrap; word-wrap: break-word;
  background-color: var(--paper);
  background-image:
    linear-gradient(90deg, transparent 32px, rgba(200, 90, 90, .28) 32px, rgba(200, 90, 90, .28) 33px, transparent 33px),
    repeating-linear-gradient(transparent 0 29px, rgba(110, 140, 190, .3) 29px 30px);
  background-position: 0 0, 0 17px;
}
.read-meta { color: var(--ink-3); font-size: 14px; margin: 0; }

/* ---------- Stäng jobbet ---------- */
.steps { list-style: none; padding: 0; margin: 0; counter-reset: s; }
.steps li { counter-increment: s; position: relative; padding-left: 38px; margin-bottom: 8px; }
.steps li::before {
  content: counter(s); position: absolute; left: 0; top: 22px; width: 26px; height: 26px; border-radius: 50%;
  display: grid; place-items: center; font: 600 13px/1 var(--sans); color: #2a1f12; background: var(--candle);
}
.steps .step-label { margin-top: 20px; }

.lamp-stage { text-align: center; padding-top: 4px; }
.lamp { display: block; width: 100%; max-width: 420px; margin: 0 auto 4px; padding: 0; border: 0; background: none; cursor: pointer; border-radius: 24px; }
.lamp canvas { display: block; width: 100%; height: auto; aspect-ratio: 360 / 320; }
.lamp.off { cursor: default; }
.lamp-hint { color: var(--ink-2); font-family: var(--serif); font-style: italic; transition: opacity 1.2s; }
.lamp.off + .lamp-hint { opacity: 0; }
.lamp-msg { animation: rise 1.2s var(--ease) both; }
.lamp-msg .row { justify-content: center; }

/* ---------- Andas ---------- */
.orb-wrap { position: relative; width: min(80vw, 320px); aspect-ratio: 1; margin: 18px auto 6px; display: grid; place-items: center; }
.orb {
  position: absolute; inset: 0; border-radius: 50%; transform: scale(.55);
  background: radial-gradient(circle at 50% 46%, #fff1d2 0%, #f8d596 22%, rgba(243, 186, 110, .55) 46%, rgba(243, 186, 110, .12) 62%, rgba(243, 186, 110, 0) 72%);
  transition-property: transform; transition-timing-function: cubic-bezier(.45, 0, .55, 1); transition-duration: 1.2s;
}
.orb-ring { position: absolute; inset: 9%; border-radius: 50%; border: 1px solid rgba(243, 199, 127, .22); }
.orb-ring.r2 { inset: -4%; border-color: rgba(243, 199, 127, .1); }
.orb-label { margin: 0 auto; min-height: 2.6em; max-width: 300px; font-family: var(--serif); font-size: 24px; line-height: 1.25; color: var(--ink); transition: opacity .5s; }
.orb-label.fading { opacity: 0; }
.breath-left { color: var(--ink-3); font-size: 15px; min-height: 1.5em; margin-bottom: 4px; font-variant-numeric: tabular-nums; }
#breathGo { margin-top: 16px; min-width: 150px; }

/* ---------- Snöglob ---------- */
.globe-wrap { position: relative; width: min(82vw, 330px); margin: 8px auto 0; }
.globe {
  position: relative; width: 100%; aspect-ratio: 1; border-radius: 50%; overflow: hidden; touch-action: none; cursor: grab;
  background: radial-gradient(circle at 50% 38%, #3a4778 0%, #232c55 55%, #1a2142 100%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12), inset 0 0 50px rgba(160, 190, 255, .12), inset -14px -22px 50px rgba(0, 0, 0, .35), 0 24px 50px rgba(0, 0, 0, .45);
  -webkit-mask-image: -webkit-radial-gradient(white, black);
}
.globe::after {
  content: ""; position: absolute; inset: 0; border-radius: 50%; pointer-events: none;
  background: radial-gradient(ellipse 34% 22% at 32% 22%, rgba(255, 255, 255, .22), rgba(255, 255, 255, 0) 70%),
              radial-gradient(ellipse 60% 60% at 70% 80%, rgba(255, 255, 255, .05), rgba(255, 255, 255, 0) 70%);
}
.globe-scene { position: absolute; inset: 0; width: 100%; height: 100%; }
.globe-window { animation: windowGlow 6s ease-in-out infinite; }
@keyframes windowGlow { 50% { fill: #ffe4a8; } }
#globeCanvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.globe-base { position: relative; width: 76%; height: 54px; margin: -16px auto 0; z-index: -1; }
.globe-base span {
  position: absolute; inset: 0; clip-path: polygon(8% 0, 92% 0, 100% 100%, 0 100%); border-radius: 4px;
  background: linear-gradient(#7c5134, #57361f);
}
.globe-base::after { content: ""; position: absolute; left: 6%; right: 6%; top: 18px; height: 5px; background: linear-gradient(90deg, #a77d3c, #f0d18c, #a77d3c); opacity: .8; }
.globe-status { color: var(--ink-2); font-family: var(--serif); font-style: italic; margin-top: 18px; min-height: 1.6em; }

/* ---------- Ledigt intyg ---------- */
#intygGo { margin-top: 22px; }
.cert {
  position: relative; margin: 10px auto 0; max-width: 420px; padding: 34px 26px 30px; text-align: center;
  background: #f7f0df; color: #3d3124; border-radius: 4px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, .4);
  background-image: radial-gradient(circle at 20% 10%, rgba(255, 255, 255, .5), rgba(255, 255, 255, 0) 40%);
}
.cert::before { content: ""; position: absolute; inset: 10px; border: 1px solid rgba(176, 140, 80, .55); pointer-events: none; }
.cert::after { content: ""; position: absolute; inset: 14px; border: 1px solid rgba(176, 140, 80, .3); pointer-events: none; }
.cert-no { font: 600 11px/1 var(--sans); letter-spacing: .2em; color: rgba(61, 49, 36, .55); margin-bottom: 14px; }
.cert-title { font-size: clamp(19px, 6vw, 26px); letter-spacing: .1em; text-transform: uppercase; margin-bottom: 18px; color: #5a3f22; }
.cert-line { font-family: var(--serif); font-style: italic; color: rgba(61, 49, 36, .75); margin: 0 0 4px; }
.cert-name { font: 34px/1.2 var(--hand); color: #2c3a66; margin: 2px 0 10px; }
.cert-what { font-family: var(--serif); font-size: 21px; margin: 2px 0 10px; }
.cert-body { font-size: 14px; line-height: 1.55; color: rgba(61, 49, 36, .78); margin: 16px 6px 22px; }
.cert-sign { display: flex; flex-direction: column; justify-content: flex-end; align-items: flex-start; gap: 6px; min-height: 96px; font-size: 12px; color: rgba(61, 49, 36, .6); text-align: left; padding: 0 4px; }
.cert-sig { font: 17px var(--hand); color: #2c3a66; border-bottom: 1px solid rgba(61, 49, 36, .3); padding-bottom: 2px; }
.stamp {
  position: absolute; right: 22px; bottom: 26px; width: 104px; height: 104px; border-radius: 50%;
  display: grid; place-items: center; color: #b02a42; border: 4px double rgba(176, 42, 66, .85);
  font: 700 15px/1 var(--sans); letter-spacing: .16em; text-transform: uppercase;
  transform: rotate(-14deg); opacity: 0; mix-blend-mode: multiply;
}
.stamp::before { content: ""; position: absolute; inset: 8px; border-radius: 50%; border: 1px solid rgba(176, 42, 66, .55); }
.stamp.down { animation: stampDown .55s cubic-bezier(.2, .9, .3, 1.2) forwards; }
@keyframes stampDown { 0% { opacity: 0; transform: rotate(-20deg) scale(1.9); } 60% { opacity: .9; transform: rotate(-14deg) scale(.94); } 100% { opacity: .82; transform: rotate(-14deg) scale(1); } }
.calm .stamp.down { animation: fadeStamp .4s forwards; }
@keyframes fadeStamp { to { opacity: .82; } }
.cert-timer { text-align: center; color: var(--ink-2); font-family: var(--serif); font-size: 20px; margin: 22px 0 0; font-variant-numeric: tabular-nums; }

/* ---------- Tips ---------- */
.tips {
  display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch;
  padding: 6px max(20px, calc(50vw - 260px)) 18px; scrollbar-width: none; outline: none;
}
.tips::-webkit-scrollbar { display: none; }
.tip {
  flex: 0 0 min(84vw, 420px); scroll-snap-align: center; display: flex; flex-direction: column;
  padding: 24px 22px 20px; border-radius: 22px; min-height: 400px;
  background: linear-gradient(160deg, rgba(255, 248, 235, .09), rgba(255, 248, 235, .03));
  border: 1px solid var(--line);
}
.tip-cat { font: 600 11.5px/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--sage); margin-bottom: 16px; }
.tip h3 { font-size: 27px; margin: 0 0 14px; }
.tip-text { font-size: 17px; color: var(--ink); }
.tip-why { font-size: 15px; color: var(--ink-2); padding-top: 14px; margin-top: auto; border-top: 1px solid var(--line); }
.tip-why b { color: var(--candle); font-weight: 600; }
.tip-src { font-size: 12.5px; color: var(--ink-3); margin: 8px 0 0; }
.tip-try { align-self: flex-start; margin-top: 14px; min-height: 42px; font-size: 15px; padding: 0 18px; }
.tips-count { text-align: center; color: var(--ink-3); font-size: 14px; }

/* ---------- Om ---------- */
.promises { list-style: none; padding: 0; margin: 10px 0 8px; }
.promises li { position: relative; padding: 0 0 16px 30px; color: var(--ink-2); }
.promises li::before {
  content: ""; position: absolute; left: 2px; top: 7px; width: 14px; height: 14px; border-radius: 50%;
  background: radial-gradient(circle, var(--sage) 35%, rgba(163, 187, 169, .2) 40%);
}
.promises b { color: var(--ink); font-weight: 600; }
.settings { display: grid; gap: 10px; }
.setting {
  display: flex; align-items: center; justify-content: space-between; gap: 16px; text-align: left; cursor: pointer;
  padding: 14px 16px; border-radius: var(--r); background: var(--card); border: 1px solid var(--line);
}
.setting b { display: block; font-weight: 600; }
.setting small { display: block; color: var(--ink-3); font-size: 14px; line-height: 1.4; }
.switch { flex: none; position: relative; width: 48px; height: 28px; border-radius: 14px; background: rgba(255, 255, 255, .14); transition: background .3s; }
.switch::after { content: ""; position: absolute; left: 3px; top: 3px; width: 22px; height: 22px; border-radius: 50%; background: var(--ink); transition: transform .3s var(--ease); }
.setting[aria-pressed="true"] .switch { background: var(--candle-2); }
.setting[aria-pressed="true"] .switch::after { transform: translateX(20px); }
.tech { margin-top: 26px; padding: 14px 16px; border-radius: var(--r); background: var(--card); border: 1px solid var(--line); color: var(--ink-2); font-size: 15px; }
.tech summary { cursor: pointer; color: var(--ink); }
.tech p { margin: 12px 0 0; }
.tech code { font-size: 13px; background: rgba(255, 255, 255, .08); padding: 1px 5px; border-radius: 4px; }
.care { margin-top: 24px; color: var(--ink-3); font-size: 14.5px; font-style: italic; font-family: var(--serif); }

/* ---------- Modal ---------- */
.modal { position: fixed; inset: 0; z-index: 60; display: flex; align-items: flex-end; justify-content: center; }
.modal-back { position: absolute; inset: 0; background: rgba(8, 10, 22, .62); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); animation: fadeIn .3s both; }
.sheet {
  position: relative; width: min(560px, 100%); max-height: 90dvh; overflow: auto;
  background: linear-gradient(#232b50, #1c2345); border: 1px solid var(--line); border-bottom: 0;
  border-radius: 24px 24px 0 0; padding: 26px 22px calc(26px + env(safe-area-inset-bottom));
  animation: sheetUp .45s var(--ease) both; box-shadow: 0 -20px 60px rgba(0, 0, 0, .4);
}
.sheet h3 { margin-top: 0; font-size: 26px; }
.sheet p { color: var(--ink-2); }
@keyframes sheetUp { from { transform: translateY(40px); opacity: 0; } to { transform: none; opacity: 1; } }
@media (min-width: 640px) {
  .modal { align-items: center; }
  .sheet { border-radius: 24px; border-bottom: 1px solid var(--line); }
}
.warn { padding: 12px 14px; border-radius: 12px; background: rgba(232, 121, 74, .1); border: 1px solid rgba(232, 121, 74, .3); color: var(--ink-2); font-size: 14.5px; margin: 4px 0 14px; }
.warn b { color: var(--ink); }
.show-pass { display: flex; gap: 8px; align-items: center; color: var(--ink-3); font-size: 14px; margin: -6px 0 14px; cursor: pointer; }
.show-pass input { width: 18px; height: 18px; accent-color: var(--candle); }

/* ---------- Större skärmar ---------- */
@media (min-width: 720px) {
  .tools { grid-template-columns: 1fr 1fr 1fr; }
  .home-title { margin-top: 56px; }
}

/* ---------- Mindre rörelse ---------- */
@media (prefers-reduced-motion: reduce) {
  .fuse-hint, .spark-glow, .globe-window { animation: none; }
}
.calm .fuse-hint, .calm .spark-glow, .calm .globe-window { animation: none; }

/* ---------- Steg 1: släppa eller spara ---------- */
.paths { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.path {
  display: flex; flex-direction: column; align-items: flex-start; text-align: left; gap: 2px; cursor: pointer;
  padding: 18px 16px 16px; border-radius: var(--r); background: var(--card); border: 1px solid var(--line);
  transition: background .3s, border-color .3s, transform .25s var(--ease), opacity .4s;
}
.path:hover { background: var(--card-2); }
.path:active { transform: scale(.97); }
.path svg { width: 30px; height: 30px; fill: none; stroke: var(--candle); stroke-width: 1.5; margin-bottom: 10px; }
.path b { font-family: var(--serif); font-weight: 400; font-size: 21px; line-height: 1.15; }
.path span { font-size: 13.5px; color: var(--ink-3); line-height: 1.35; }
.path.on { background: rgba(243, 199, 127, .12); border-color: rgba(243, 199, 127, .45); }
.paths:not(.ready) .path { opacity: .55; }
#methodsWrap { scroll-margin-top: 16px; animation: rise .6s var(--ease) both; }
.calm #methodsWrap { animation: fadeIn .3s both; }
.fate[data-fate="zen"] svg { stroke: #f1902e; }
.fate[data-fate="maffia"] svg { stroke: #d9a3a5; }
.fate[data-fate="jonas"] svg { stroke: #b9c6ea; }
.fate[data-fate="brannboll"] svg { stroke: #d9e36a; }
.fate[data-fate="skruva"] svg { stroke: #f08a7a; }

/* ---------- Helskärmsscen för temametoderna ---------- */
body.theater-open { overflow: hidden; }
.theater {
  position: fixed; inset: 0; z-index: 45; overflow: hidden; background: #0d1226;
  touch-action: none; -webkit-user-select: none; user-select: none; animation: fadeIn .7s ease both;
}
#thCanvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.theater::after {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    linear-gradient(rgba(5, 8, 20, .5), rgba(5, 8, 20, 0) 120px),
    linear-gradient(to top, rgba(5, 8, 20, .55), rgba(5, 8, 20, 0) 220px);
}
.th-scene { position: absolute; inset: 0; display: grid; place-items: center; pointer-events: none; }
.th-title {
  position: absolute; z-index: 2; top: calc(22px + env(safe-area-inset-top)); left: 20px; right: 72px; margin: 0; pointer-events: none;
  font: 600 12px/1.2 var(--sans); letter-spacing: .22em; text-transform: uppercase; color: var(--candle);
  text-shadow: 0 1px 8px rgba(0, 0, 0, .6);
}
.th-close {
  position: absolute; z-index: 3; top: calc(10px + env(safe-area-inset-top)); right: 12px; width: 44px; height: 44px;
  border-radius: 50%; border: 1px solid rgba(255, 255, 255, .2); background: rgba(10, 14, 30, .45); color: var(--ink);
  font: 26px/1 var(--sans); cursor: pointer; -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px);
}
.th-hint {
  position: absolute; z-index: 2; left: 24px; right: 24px; bottom: calc(100px + env(safe-area-inset-bottom)); margin: 0; pointer-events: none;
  text-align: center; font-family: var(--serif); font-style: italic; font-size: 19px; line-height: 1.35; color: var(--ink);
  text-shadow: 0 1px 12px rgba(0, 0, 0, .8), 0 0 2px rgba(0, 0, 0, .6);
}
.th-done { position: absolute; z-index: 3; left: 50%; bottom: calc(30px + env(safe-area-inset-bottom)); transform: translateX(-50%); min-width: 140px; animation: rise .8s var(--ease) both; }
.th-done:active { transform: translateX(-50%) scale(.97); }
.th-brannboll .th-hint, .th-skruva .th-hint, .th-maffia .th-hint { bottom: auto; top: calc(56px + env(safe-area-inset-top)); }
.th-big {
  position: absolute; left: 24px; right: 24px; top: 22%; margin: 0; text-align: center;
  font-family: var(--serif); font-size: clamp(30px, 9vw, 44px); line-height: 1.1; color: var(--ink);
  text-shadow: 0 2px 20px rgba(0, 0, 0, .7); animation: rise 1.2s var(--ease) both;
}

/* Maffiametoden */
.th-maffia { background: linear-gradient(#090c19 0%, #131833 55%, #15161d 100%); }
.th-maffia .th-big { top: 30%; }

/* ---------- Säkerhetskopia ---------- */
.backup { margin-top: 26px; padding: 4px 18px 18px; border-radius: var(--r); background: var(--card); border: 1px solid var(--line); }
.backup h3 { margin-top: 16px; font-size: 21px; }
.backup-text { font-size: 15px; color: var(--ink-2); }
.backup-when { font-size: 14px; color: var(--ink-3); margin: 0; }
.backup .row { margin-top: 12px; }
.backup-msg { font-size: 15px; color: var(--sage); margin: 10px 0 0; min-height: 1em; }
.backup-msg:empty { display: none; }
.replace-line { margin: 18px 0 0; }
.replace-line .btn { padding: 0; min-height: 44px; font-size: 15px; }

/* ---------- Bläddra bland knepen ---------- */
.tips-nav { display: flex; align-items: center; justify-content: center; gap: 18px; margin-top: 4px; }
.tips-nav .tips-count { margin: 0; min-width: 64px; }
.tips-nav .icon-btn { width: 48px; height: 48px; cursor: pointer; transition: opacity .3s, background .3s; }
.tips-nav .icon-btn:hover:not(:disabled) { background: var(--card-2); color: var(--ink); }
.tips-nav .icon-btn:disabled { opacity: .3; cursor: default; }

/* ---------- Ändra sig efteråt ---------- */
.keep-line { margin: 18px 0 0; }
.keep-line .btn { font-size: 15px; text-decoration: underline; text-decoration-color: rgba(242, 233, 216, .3); text-underline-offset: 4px; }

/* ---------- Stämplar: forskning eller på kul ---------- */
.methods-note { font-size: 14px; line-height: 1.5; color: var(--ink-3); margin: -2px 0 14px; }
.fate .mark {
  display: inline-block; margin-top: auto; padding: 4px 6px 3px; transform: rotate(-3deg); transform-origin: left center;
  font: 700 9.5px/1 var(--sans); font-style: normal; letter-spacing: .08em; text-transform: uppercase;
  border: 1.5px solid currentColor; border-radius: 4px; opacity: .9;
}
.fate > span { margin-bottom: 10px; }
.mark-sci { color: var(--sage); }
.mark-fun { color: #e0a9ab; }

/* ---------- Bred ruta på hem: basen som de sex rutorna står på ---------- */
.tool-base {
  grid-column: 1 / -1; min-height: 0; padding: 20px 18px 18px;
  background: linear-gradient(160deg, rgba(243, 199, 127, .15), rgba(243, 199, 127, .04));
  border-color: rgba(243, 199, 127, .3); border-bottom: 3px solid rgba(243, 199, 127, .32);
  box-shadow: 0 18px 34px rgba(0, 0, 0, .25);
}
.tool-base-icons { display: flex; gap: 14px; }
.tool-base-icons svg { width: 24px; height: 24px; fill: none; stroke: var(--candle); stroke-width: 1.5; }
.tool-base .tool-name { margin-top: 14px; font-size: 23px; }
.tool-base .tool-desc { font-size: 14.5px; }

/* ---------- Frågetecknet om forskningen ---------- */
.fates-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.q-btn {
  flex: none; width: 36px; height: 36px; margin-top: 18px; border-radius: 50%; cursor: pointer;
  border: 1px solid var(--line); background: var(--card); color: var(--ink-3); font: 600 16px/1 var(--serif);
}
.q-btn:hover { color: var(--ink); background: var(--card-2); }
.sci-list { margin: 4px 0; }
.sci-list dt { font-family: var(--serif); font-size: 18px; color: var(--ink); margin-top: 14px; }
.sci-list dd { margin: 4px 0 0; font-size: 15px; line-height: 1.5; color: var(--ink-2); }
.sci-list cite { font-style: normal; font-size: 13px; color: var(--ink-3); }

/* ---------- Håll i lappen, släpp när du är klar ---------- */
.stage { -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; }
#stageCanvas { transition: transform .9s var(--ease), box-shadow .9s var(--ease); }
#stageCanvas.held { transform: scale(1.025); box-shadow: 0 0 0 1px rgba(243, 199, 127, .4), 0 0 50px rgba(243, 199, 127, .3), 0 22px 46px rgba(0, 0, 0, .4); }
.calm #stageCanvas.held { transform: none; }

/* ---------- Hyllan: hur länge en jobbsak kan vänta ---------- */
.item .item-date { display: block; text-align: center; color: var(--sage); }
/* Ledtexten står under lappen, aldrig över den */
.stage { grid-template-rows: auto auto; align-content: center; }
.stage-hint { grid-area: 2 / 1; align-self: start; margin: 16px 0 0; }

/* ---------- Inställningar och nyckelfält ---------- */
a.icon-btn { text-decoration: none; }
.secret { -webkit-text-security: disc; text-security: disc; }
.key-text { color: var(--ink-2); }
[data-view="installningar"] .settings { margin-bottom: 8px; }
[data-view="installningar"] .backup { margin-top: 22px; }
[data-view="installningar"] .privacy-line { margin-top: 28px; }

/* ---------- Spara på hemskärmen ---------- */
.install-card {
  display: flex; gap: 14px; align-items: flex-start; margin: -8px 0 24px; padding: 16px;
  border-radius: var(--r); background: linear-gradient(160deg, rgba(163, 187, 169, .16), rgba(163, 187, 169, .05));
  border: 1px solid rgba(163, 187, 169, .3);
}
.install-card img { flex: none; width: 54px; height: 54px; border-radius: 13px; box-shadow: 0 6px 16px rgba(0, 0, 0, .3); }
.install-card b { display: block; font-family: var(--serif); font-weight: 400; font-size: 20px; }
.install-card span { display: block; font-size: 15px; color: var(--ink-2); line-height: 1.4; }
.install-card .row { margin-top: 10px; gap: 6px; }
.btn-small { min-height: 42px; padding: 0 18px; font-size: 15px; }
.install-steps { list-style: none; padding: 0; margin: 14px 0 16px; counter-reset: st; }
.install-steps li { counter-increment: st; display: flex; gap: 14px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 17px; line-height: 1.4; color: var(--ink); }
.install-steps li:last-child { border-bottom: 0; }
.install-steps .ico { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: rgba(243, 199, 127, .14); }
.install-steps .ico svg { width: 26px; height: 26px; fill: none; stroke: var(--candle); stroke-width: 1.8; }
.install-steps b { font-weight: 600; }

/* ---------- Hyllan: skriv en ny lapp direkt ---------- */
.shelf-add { display: flex; flex-direction: column; gap: 10px; margin: 6px 0 4px; }
.shelf-add .paper { flex: 1; }
.paper-small textarea { min-height: 72px; padding: 10px 14px 10px 44px; font-size: 19px; }
.shelf-add .btn { align-self: flex-end; }
.item.new { animation: pop .6s cubic-bezier(.3, 1.6, .5, 1) both; }
.calm .item.new { animation: fadeIn .4s both; }
/* Stämplarna håller sig på en rad */
.fate .mark { white-space: nowrap; font-size: 9px; letter-spacing: .04em; }
