
/* Fureesia Dopamine Menu: styled to match the quiz, contact and challenge pages. */
:root {
  --cream: #F5EFE6;
  --card: #FFFCF6;
  --field: #F4ECE2;
  --cocoa: #4E3427;
  --ink: #45302A;
  --muted: #8A6E60;
  --line: #EADFD2;
  --red: #B3242A;
  --plum: #9C3A6B;
  --blue: #3F6FB5;
  --orange: #C8562E;
  --green: #5E7F3A;
  --pink: #F5CDCF;
  --lav: #DCC8EA;
  --butter: #FBE8A8;
  --sage: #C5D8A6;
  --sky: #CDDEF7;
  --serif: 'Playfair Display', Georgia, serif;
  --sans: 'Manrope', system-ui, sans-serif;
  --hand: 'Caveat', 'Bradley Hand', cursive;
  --shadow: 0 1px 2px rgba(78, 52, 39, .05), 0 18px 40px -22px rgba(78, 52, 39, .35);
  --btn: #4E3427;
  --on-btn: #FFF8EF;
  --footer: #4E3427;
  --sticker-edge: #fff;
  --title-font: var(--serif);
}
html[data-theme="blush"] { --cream: #F8E7E6; --card: #FFFBFA; --field: #F7E9E7; --line: #F0DADA; }
html[data-theme="lavender"] { --cream: #EFE8F5; --card: #FDFBFF; --field: #F2ECF7; --line: #E6DDEF; }
html[data-theme="night"] {
  --cream: #2A201B; --card: #372A24; --field: #45352D; --cocoa: #F6EFE6; --ink: #EADFD2; --muted: #BBA99C; --line: #54423A;
  --btn: #F5CDCF; --on-btn: #4E3427; --footer: #1E1612; --sticker-edge: #372A24;
  --shadow: 0 1px 2px rgba(0, 0, 0, .2), 0 18px 40px -20px rgba(0, 0, 0, .6);
  color-scheme: dark;
}
html[data-theme="night"] .feeling { background: #4A3A55; }
html[data-theme="night"] .feeling h3, html[data-theme="night"] .feeling .eyebrow.plum, html[data-theme="night"] .suggest p { color: #F1E4F7; }
html[data-theme="night"] .mood { background: rgba(255, 255, 255, .1); color: #F6EFE6; }
html[data-theme="night"] .feeling .chip { background: #372A24; }
html[data-theme="night"] .specials, html[data-theme="night"] .scallop { --pink: #5A3A3E; }
html[data-theme="night"] .specials .eyebrow { color: #F5CDCF; }
html[data-theme="night"] em.r { color: #F08A8F; }
html[data-theme="night"] em.p { color: #E79BC4; }
html[data-theme="night"] .menu-head .script, html[data-theme="night"] .sheet-title { color: #E79BC4; }
html[data-theme="night"] .heart-btn { color: #7B6559; }
* { box-sizing: border-box; }
html { overflow-x: clip; }
body { margin: 0; background: var(--cream); color: var(--ink); font-family: var(--sans); font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: clip; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; margin: 0; letter-spacing: -.02em; color: var(--cocoa); }
p { margin: 0; }
em.r { color: var(--red); } em.p { color: var(--plum); } em.b { color: var(--blue); } em.o { color: var(--orange); } em.g { color: var(--green); }
.wrap { max-width: 1130px; margin: 0 auto; padding: 0 44px; position: relative; }
.eyebrow { font-size: .66rem; font-weight: 600; letter-spacing: .24em; text-transform: uppercase; color: var(--red); }
.eyebrow.plum { color: var(--plum); }
.center { text-align: center; }

.pill.small { min-height: 36px; padding: 6px 16px; font-size: .66rem; }
.pill.wide { width: 100%; }
.pill.danger { border-color: rgba(179, 36, 42, .5); color: var(--red); }
.pill:active { transform: scale(.98); }
.pill { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 10px 24px; border-radius: 999px; font-family: var(--sans); font-size: .72rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; text-decoration: none; border: 1.5px solid transparent; white-space: nowrap; cursor: pointer; }
.pill.outline { border-color: var(--cocoa); color: var(--cocoa); background: transparent; }
.pill.pink { background: var(--pink); color: var(--red); }
.pill.dark { background: var(--btn); color: var(--on-btn); }
.pill.red { background: var(--red); color: #fff; }
.pill.big { min-height: 54px; padding: 14px 32px; font-size: .8rem; }
.pill svg { width: 17px; height: 17px; }

/* stickers */
.sticker { position: absolute; z-index: 2; padding: 5px 15px; border-radius: 999px; border: 3px solid var(--sticker-edge); box-shadow: 0 6px 14px -6px rgba(78, 52, 39, .35); font-size: .72rem; font-weight: 600; white-space: nowrap; }
.s-lav { background: var(--lav); color: var(--plum); }
.s-butter { background: var(--butter); color: var(--orange); }
.s-sage { background: var(--sage); color: var(--green); }
.s-sky { background: var(--sky); color: var(--blue); }
.s-pink { background: var(--pink); color: var(--red); }

/* hero */
.hero { padding: 70px 0 24px; text-align: center; position: relative; }
h1 { font-size: clamp(2.6rem, 6.6vw, 5.2rem); line-height: 1.02; letter-spacing: -.04em; margin: 22px 0 26px; }
h1 em { font-style: italic; letter-spacing: -.03em; }
.lead { max-width: 540px; margin: 0 auto; font-size: .97rem; line-height: 1.95; color: var(--ink); text-align: center; }
.sparkle { position: absolute; color: #F2D9A0; font-size: 1.4rem; }

/* controls row */
.controls { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 12px; margin: 40px 0 10px; }
.segmented { display: inline-flex; padding: 4px; border: 1.5px solid var(--cocoa); border-radius: 999px; }
.segmented button { display: inline-flex; align-items: center; gap: 8px; min-height: 38px; padding: 6px 20px; border-radius: 999px; font-size: .7rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--cocoa); transition: background .2s, color .2s; }
.segmented button.on { background: var(--btn); color: var(--on-btn); }
.segmented .icon { width: 16px; height: 16px; }
.segmented svg { width: 16px; height: 16px; }
.icon-pill { width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid var(--cocoa); display: grid; place-items: center; color: var(--cocoa); transition: background .2s, color .2s; }
.icon-pill.on { background: var(--pink); border-color: var(--pink); color: var(--red); }
.icon-pill.on svg { fill: currentColor; }
.icon-pill svg { width: 18px; height: 18px; }

/* feeling box (the "little reminder" box) */
.feeling { position: relative; max-width: 640px; margin: 54px auto 0; background: var(--lav); border-radius: 22px; padding: 40px 32px 28px; text-align: center; }
.feeling .badge { position: absolute; top: -24px; left: 50%; transform: translateX(-50%); width: 48px; height: 48px; border-radius: 50%; background: var(--plum); color: #fff; display: grid; place-items: center; border: 4px solid var(--cream); font-size: 1.1rem; }
.feeling h3 { font-style: italic; font-size: 1.6rem; margin: 8px 0 18px; }
.moods { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.mood { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 8px 18px; border-radius: 999px; background: rgba(255, 252, 246, .75); font-size: .9rem; font-weight: 600; color: var(--ink); }
.mood.on { background: var(--plum); color: #fff; }
.suggest { margin-top: 20px; padding-top: 18px; border-top: 1.5px dashed rgba(156, 58, 107, .3); }
.suggest p { font-family: var(--serif); font-style: italic; color: var(--plum); margin-bottom: 12px; }
.chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.chip { display: inline-flex; align-items: center; gap: 7px; min-height: 40px; padding: 6px 16px; border-radius: 999px; background: var(--card); font-size: .86rem; font-weight: 600; color: var(--ink); box-shadow: 0 2px 6px -3px rgba(78, 52, 39, .3); }

/* the menu card */
.menu-card { position: relative; margin: 80px auto 0; background: var(--card); border-radius: 22px; box-shadow: var(--shadow); padding: 14px; }
.menu-card .inner { border: 1px solid var(--line); border-radius: 14px; padding: 46px 52px 40px; }
.menu-head { text-align: center; margin-bottom: 40px; }
.menu-head .script { font-family: var(--serif); font-style: italic; font-size: 2.4rem; color: var(--plum); line-height: 1; }
.menu-head p { color: var(--muted); font-size: .92rem; margin-top: 10px; }
.cols { display: grid; grid-template-columns: 1fr 1fr; gap: 54px; }
.cat + .cat { margin-top: 44px; }
.cat-top { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 4px; }
.cat h2 { font-size: 2.1rem; line-height: 1.1; }
.cat h2 em { font-style: italic; }
.tag { position: static; }
.cat .tag, .cat-top .tag { position: static; display: inline-block; transform: rotate(-3deg); font-size: .68rem; padding: 4px 12px; border-width: 2.5px; flex: none; }
.cat .sub { font-size: .86rem; color: var(--muted); margin-bottom: 14px; }
.item { display: grid; grid-template-columns: 38px 1fr auto; gap: 14px; align-items: center; padding: 12px 0; border-bottom: 1px dashed var(--line); }
.dot { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; font-size: 1.05rem; }
.item h4 { margin: 0; font-family: var(--serif); font-weight: 400; font-size: 1.16rem; color: var(--cocoa); line-height: 1.3; }
.item .desc { font-size: .84rem; color: var(--muted); line-height: 1.45; }
.meta { display: flex; align-items: center; gap: 12px; font-size: .74rem; font-weight: 700; letter-spacing: .08em; color: var(--muted); white-space: nowrap; }
.energy { display: inline-flex; gap: 3px; }
.energy i { width: 6px; height: 6px; border-radius: 50%; background: currentColor; opacity: .25; }
.energy i.f { opacity: 1; }
.heart { width: 20px; height: 20px; color: #D6B9AE; }
.heart.on { color: var(--red); }
.heart.on path { fill: currentColor; }
.add { display: flex; align-items: center; gap: 10px; margin-top: 10px; padding: 12px 16px; border-radius: 14px; background: var(--field); color: var(--muted); font-size: .9rem; }
.add b { font-size: 1.1rem; color: var(--cocoa); font-weight: 500; }
.c-red { color: var(--red); } .c-plum { color: var(--plum); } .c-blue { color: var(--blue); } .c-orange { color: var(--orange); }
.bg-pink { background: var(--pink); } .bg-lav { background: var(--lav); } .bg-sky { background: var(--sky); } .bg-butter { background: var(--butter); } .bg-sage { background: var(--sage); }
.notes { margin-top: 44px; padding-top: 30px; border-top: 1px solid var(--line); text-align: center; }
.notes .lines { margin-top: 14px; height: 96px; text-align: left; background: repeating-linear-gradient(transparent 0 31px, var(--line) 31px 32px); font-family: var(--hand); font-size: 1.55rem; color: var(--plum); line-height: 32px; padding: 0 6px; }

/* scalloped specials section */
.scallop { height: 26px; background: radial-gradient(circle at 18px 26px, var(--pink) 18px, transparent 18.5px) 0 0 / 36px 26px repeat-x; margin-top: 96px; }
.specials { background: var(--pink); padding: 46px 0 96px; position: relative; }
.specials h2 { font-size: clamp(2.6rem, 5vw, 3.6rem); text-align: center; margin: 14px 0 10px; }
.specials h2 em { font-style: italic; }
.specials .lead { text-align: center; max-width: 480px; margin: 0 auto 44px; }
.special-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.special { position: relative; background: var(--card); border-radius: 22px; padding: 40px 24px 26px; text-align: center; box-shadow: var(--shadow); }
.special .sticker { top: -16px; left: 50%; transform: translateX(-50%) rotate(-3deg); font-size: .66rem; letter-spacing: .14em; text-transform: uppercase; }
.special .em { font-size: 2.4rem; }
.special h3 { font-size: 1.55rem; margin: 6px 0 6px; }
.special h3 em { font-style: italic; }
.special p { font-size: .9rem; color: var(--ink); }
.special small { display: block; margin-top: 10px; font-size: .78rem; color: var(--muted); }
.special .add-btn { margin-top: 16px; }

/* picker */
.picker, .customize { padding: 46px 44px 100px; }
.picker-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 34px; margin-top: 46px; align-items: center; }
.filters { background: var(--card); border-radius: 22px; padding: 30px; box-shadow: var(--shadow); display: grid; gap: 22px; }
.filters h5 { margin: 0 0 10px; font-family: var(--serif); font-weight: 400; font-size: 1.15rem; color: var(--cocoa); }
.opt { display: flex; flex-wrap: wrap; gap: 8px; }
.opt span { min-height: 40px; display: inline-flex; align-items: center; gap: 6px; padding: 7px 16px; border-radius: 999px; border: 1.5px solid var(--line); font-size: .86rem; font-weight: 600; color: var(--ink); background: var(--card); }
.opt span.on { background: var(--btn); border-color: var(--btn); color: var(--on-btn); }
.opt span.on-red { background: var(--red); border-color: var(--red); color: #fff; }
/* Open envelope, drawn back to front: back panel, open flap, letter, front pocket.
   The letter sits between the back and the pocket, so its lower half is tucked inside. */
.reveal { --ew: 400px; --eh: 250px; position: relative; height: 520px; }
.env-back, .env-flap, .env-front-wrap { position: absolute; left: 50%; width: var(--ew); transform: translateX(-50%); }
.env-back { bottom: 0; height: var(--eh); border-radius: 12px; background: #EBCB78; box-shadow: var(--shadow); }
.env-flap { bottom: calc(var(--eh) - 2px); height: calc(var(--eh) * .52); background: linear-gradient(#F6DF95, #EED082); clip-path: polygon(0 100%, 50% 0, 100% 100%); transform-origin: 50% 100%; z-index: 1; transition: transform .55s ease, z-index 0s .27s; }
/* Closed: the flap folds down over the pocket, hiding the letter. */
.reveal.closed .env-flap { transform: translateX(-50%) rotateX(180deg); z-index: 5; background: linear-gradient(#EFD283, #F7E3A0); }
.env-front-wrap { bottom: 0; height: var(--eh); z-index: 3; filter: drop-shadow(0 -2px 3px rgba(150, 105, 30, .22)); }
.env-front { position: absolute; inset: 0; border-radius: 0 0 12px 12px; background: #F8E5A6; clip-path: polygon(0 0, 50% 56%, 100% 0, 100% 100%, 0 100%); }
.env-front::before { content: ''; position: absolute; inset: 0; background: #FBEDC0; clip-path: polygon(0 100%, 50% 50%, 100% 100%); }
.env-front::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(235, 200, 110, .35), transparent 30%, transparent 70%, rgba(235, 200, 110, .35)); clip-path: polygon(0 0, 50% 56%, 100% 0, 100% 100%, 0 100%); }
.letter-window { position: absolute; left: 0; right: 0; top: -40px; bottom: 14px; z-index: 2; overflow: hidden; pointer-events: none; }
.letter-window .letter { pointer-events: auto; }
.letter { position: absolute; left: 50%; bottom: 32px; z-index: 2; transform: translateX(-50%); width: calc(var(--ew) - 56px); min-height: 330px; background: var(--card); border-radius: 14px 14px 4px 4px; padding: 34px 26px 150px; text-align: center; box-shadow: 0 -10px 30px -18px rgba(78, 52, 39, .4); transition: transform 1s cubic-bezier(.2, .8, .25, 1) .35s; }
.reveal.closed .letter, .reveal.tucking .letter { transform: translate(-50%, calc(var(--eh) - 40px)); }
.reveal.closed .letter { visibility: hidden; }
.reveal.closed .env-flap { height: calc(var(--eh) * .6); }
.reveal.tucking .letter { transition: transform .45s ease-in; }
.letter .eyebrow { margin-top: 4px; }
.letter-ink { width: 100%; margin: 10px 0; }
.letter::before { content: ''; position: absolute; left: 22px; right: 22px; top: 14px; height: 3px; border-radius: 3px; background: var(--accent, var(--plum)); opacity: .8; }
.letter .em { font-size: 2.6rem; line-height: 1.1; }
.letter h3 { font-size: 1.8rem; margin: 8px 0 6px; }
.letter h3 em { font-style: italic; }
.letter p { font-size: .88rem; color: var(--muted); }
.letter .meta { justify-content: center; margin-top: 12px; }
.reveal.closed .seal { z-index: 6; }
.seal:hover { filter: brightness(1.06); }
.seal { position: absolute; z-index: 4; cursor: pointer; left: 50%; bottom: calc(var(--eh) * .44 - 30px); transform: translateX(-50%); width: 60px; height: 60px; border-radius: 50%; background: radial-gradient(circle at 40% 35%, #D9683C, #B8471F); border: 5px solid #EFC27A; display: grid; place-items: center; font-family: var(--serif); font-style: italic; color: #FBE3C8; font-size: 1.05rem; box-shadow: 0 6px 12px -4px rgba(120, 50, 20, .5); }
.reveal-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 26px; }
.or { width: 44px; height: 44px; border-radius: 50%; background: var(--red); color: #fff; display: grid; place-items: center; font-family: var(--serif); font-style: italic; }


@media (max-width: 900px) {
  .cols, .picker-grid, .write-grid { grid-template-columns: minmax(0, 1fr); }
  .special-grid { grid-template-columns: 1fr; max-width: 420px; margin: 0 auto; gap: 34px; }
  .menu-card .inner { padding: 36px 26px 30px; }
  .envs { gap: 18px; }
}
@media (max-width: 600px) {
  .wrap { padding: 0 16px; }
  .sticker.hide-sm, .hero .sticker, .menu-card > .sticker, .signin .sticker, .picker .sticker { display: none; }
  .toolbar { border-radius: 26px; }
  .reveal { --ew: 310px; --eh: 200px; height: 470px; }
  .envs { flex-direction: column; align-items: center; }
  .form-card .inner { padding: 28px 22px; }
  .pill.big { white-space: normal; text-align: center; }
  .filters { padding: 22px; }
}

/* ================================================================ interactive pieces */
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
:focus-visible { outline: 2px solid var(--plum); outline-offset: 3px; border-radius: 10px; }
#view { min-height: 60vh; }
.icon { display: inline-flex; width: 18px; height: 18px; flex: none; }
.icon svg { width: 100%; height: 100%; }
.small-note { font-size: .84rem; color: var(--muted); }
.muted { color: var(--muted); }
.small { font-size: .85rem; }
.back { display: inline-flex; margin-bottom: 26px; font-size: .66rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--cocoa); border-bottom: 1px solid var(--cocoa); padding-bottom: 4px; }

/* feeling box chips (white, like the mockup) */
.feeling .chip { border: 0; background: var(--card); box-shadow: 0 2px 6px -3px rgba(78, 52, 39, .3); }
.feeling .chip .ink-pad { width: 140px; }
.feeling .pill.outline { border-color: var(--plum); color: var(--plum); }

/* category titles are buttons that open their settings */
.cat-title { text-align: left; border-radius: 10px; }
.cat-title:hover h2 { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 6px; text-decoration-color: var(--line); }
.center-title { display: block; margin: 14px auto 10px; text-align: center; }
.specials .cat-title h2 { font-size: clamp(2.6rem, 5vw, 3.6rem); text-align: center; }
.specials .cat-title h2 em { font-style: italic; }
.cat-top { cursor: grab; }

/* activities */
.item { cursor: pointer; border-radius: 10px; transition: background .18s; -webkit-user-select: none; user-select: none; }
.item:hover { background: rgba(245, 205, 207, .14); }
.item-main { min-width: 0; }
.item h4 { overflow-wrap: anywhere; }
.no-desc .desc { display: none; }
.heart-btn { display: grid; place-items: center; width: 34px; height: 34px; margin: -6px -6px -6px 0; border-radius: 50%; color: #D6B9AE; transition: transform .15s, color .2s; }
.heart-btn .icon { width: 20px; height: 20px; }
.heart-btn.on { color: var(--red); }
.heart-btn.on svg { fill: currentColor; }
.heart-btn:active { transform: scale(.85); }
.heart-btn.corner { position: absolute; top: 14px; right: 16px; margin: 0; }
.special { cursor: pointer; transition: transform .2s; }
.special:hover { transform: translateY(-2px); }
.special-ink { width: 100%; margin: 8px 0; }
.has-ink .item-main { align-self: center; }

/* quick add */
.add { cursor: text; }
.add input { flex: 1; min-width: 0; border: 0; background: transparent; font: inherit; font-size: 16px; color: var(--ink); padding: 0; outline: none; }
.add input::placeholder { color: var(--muted); }
.add:focus-within { box-shadow: 0 0 0 2px var(--pink); }

/* notes */
.notes textarea.lines { display: block; width: 100%; height: auto; min-height: 96px; border: 0; resize: vertical; outline: none; background-color: transparent; background-attachment: local; }
.notes-ink { margin-top: 10px; }
.notes-ink .ink-pad { background: repeating-linear-gradient(transparent 0 31px, var(--line) 31px 32px); border-radius: 8px; }
html:not(.mode-write) .notes-ink:has(.ink-pad.empty) { display: none; }

/* drag & drop */
.drag-ghost { opacity: .35; background: var(--pink) !important; }
.drag-chosen { background: var(--card) !important; box-shadow: 0 14px 30px -14px rgba(78, 52, 39, .45); }

/* ================================================================ handwriting */
.ink-pad { position: relative; width: 100%; aspect-ratio: 7; }
.ink-pad canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; touch-action: auto; }
.ink-pad.editable canvas { touch-action: none; cursor: crosshair; -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; }
html.pen-only .ink-pad.editable canvas { touch-action: pan-x pan-y; }
.mode-write .item .ink-pad.editable { border-bottom: 1.5px solid #E6CFD3; background: rgba(245, 205, 207, .1); border-radius: 8px 8px 0 0; }
.blank-line { display: grid; grid-template-columns: 38px 1fr; gap: 14px; align-items: end; padding: 10px 0 4px; }
.blank-line .ink-pad { border-bottom: 1.5px dashed #E6CFD3; background: rgba(245, 205, 207, .18); border-radius: 8px 8px 0 0; }
.blank-line .ink-pad.empty::after { content: 'write a new one here'; position: absolute; left: 12px; bottom: 10px; pointer-events: none; font-family: var(--serif); font-style: italic; font-size: .92rem; color: #B9A096; }
.mode-write .item { cursor: default; }
.mode-write .item:hover { background: none; }
.mode-write, .mode-write body { -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; }
.ink-frame { padding: 8px 12px; border-radius: 14px; background: var(--field); }

.ink-toolbar {
  position: fixed; z-index: 40; left: 0; right: 0; margin: 0 auto; width: max-content; max-width: calc(100vw - 24px);
  bottom: max(16px, env(safe-area-inset-bottom));
  display: flex; align-items: center; flex-wrap: wrap; justify-content: center; gap: 2px; padding: 8px 10px;
  border-radius: 999px; background: var(--card); border: 3px solid #fff; box-shadow: 0 16px 34px -12px rgba(78, 52, 39, .45);
  -webkit-user-select: none; user-select: none;
}
.tool-group { display: flex; align-items: center; gap: 2px; padding: 0 6px; }
.tool-group + .tool-group { border-left: 1px solid var(--line); }
.tool { display: inline-flex; align-items: center; gap: 4px; justify-content: center; min-width: 44px; width: auto; padding: 0 8px; }
.tool:disabled { opacity: .3; cursor: default; }
.tool .icon { width: 20px; height: 20px; }
.tool-text { font-size: .62rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.swatch { width: 26px; height: 26px; margin: 0 3px; border-radius: 50%; background: var(--sw); transition: box-shadow .15s; }
.swatch.on { box-shadow: 0 0 0 3px var(--card), 0 0 0 5px var(--sw); }
.size { width: 34px; height: 44px; display: grid; place-items: center; border-radius: 12px; }
.size .dot { width: auto; height: auto; display: block; border-radius: 50%; background: var(--cocoa); }
.size.on { background: var(--pink); }
.mode-write .toasts { bottom: calc(110px + env(safe-area-inset-bottom)); }

/* ================================================================ picker extras */
.filters .chips { justify-content: flex-start; }
.count { text-align: center; font-size: .84rem; color: var(--muted); margin-top: -8px; }

/* chips used in filters and panels */
.chip { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 7px 16px; border-radius: 999px; border: 1.5px solid var(--line); background: var(--card); font-size: .86rem; font-weight: 600; color: var(--ink); transition: background .15s, color .15s, border-color .15s; }
.chip.on { background: var(--btn); border-color: var(--btn); color: var(--on-btn); }
.swatch-dot { width: 16px; height: 16px; border-radius: 50%; display: inline-block; }

/* ================================================================ make it yours */
.custom-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 46px; align-items: start; }
.panel { background: var(--card); border-radius: 22px; padding: 30px; box-shadow: var(--shadow); }
.panel h5, .filters h5 { margin: 0 0 12px; font-family: var(--serif); font-weight: 400; font-size: 1.15rem; color: var(--cocoa); }
.panel .small-note { margin-bottom: 14px; }
.stack { display: grid; gap: 10px; justify-items: start; }
.toggle-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px dashed var(--line); cursor: pointer; }
.toggle-row:last-child { border-bottom: 0; }
.toggle-label { display: block; font-size: .92rem; font-weight: 500; }
.toggle-row small { display: block; color: var(--muted); font-size: .78rem; }
.switch { position: relative; width: 48px; height: 28px; flex: none; }
.switch-input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.switch-track { position: absolute; inset: 0; border-radius: 999px; background: var(--line); transition: background .2s; pointer-events: none; }
.switch-track::after { content: ''; position: absolute; top: 3px; left: 3px; width: 22px; height: 22px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, .2); transition: transform .2s; }
.switch-input:checked + .switch-track { background: var(--plum); }
.switch-input:checked + .switch-track::after { transform: translateX(20px); }

/* ================================================================ forms + side panels */
.field { width: 100%; min-height: 50px; padding: 12px 18px; border: 0; border-radius: 14px; background: var(--field); font: inherit; font-size: 16px; color: var(--ink); outline: none; transition: box-shadow .2s; }
.field:focus { box-shadow: 0 0 0 2px var(--pink); }
textarea.field { resize: vertical; line-height: 1.5; }
select.field { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: calc(100% - 22px) 50%, calc(100% - 17px) 50%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 40px; }
.field-mini { width: 96px; min-height: 40px; padding: 8px 14px; }
.field-title { font-family: var(--serif); font-size: 1.3rem; min-height: 56px; }
.form { display: grid; gap: 22px; }
.field-group { display: grid; gap: 8px; }
.field-group.two { grid-template-columns: 1fr 1fr; gap: 16px; }
.label { display: flex; align-items: baseline; gap: 8px; font-family: var(--serif); font-size: 1.05rem; color: var(--cocoa); margin-bottom: 2px; }
.optional { font-family: var(--sans); font-size: .74rem; color: var(--muted); font-style: normal; }
.hint { display: block; font-size: .8rem; color: var(--muted); }
.inline { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.form .chips { justify-content: flex-start; }
.title-row { display: flex; gap: 12px; align-items: center; }
.emoji-trigger { flex: none; width: 56px; height: 56px; border-radius: 16px; background: var(--field); font-size: 1.6rem; color: var(--muted); }
.emoji-picker { border-radius: 16px; padding: 14px; background: var(--field); display: grid; gap: 12px; }
.emoji-group { display: grid; gap: 6px; }
.emoji-group .eyebrow { color: var(--muted); }
.emoji-grid { display: grid; grid-template-columns: repeat(8, 1fr); gap: 4px; }
.emoji-btn { aspect-ratio: 1; border-radius: 10px; font-size: 1.35rem; display: grid; place-items: center; }
.emoji-btn:hover, .emoji-btn.on { background: var(--card); }
.emoji-foot { display: flex; gap: 10px; align-items: center; }
.emoji-custom { min-height: 40px; background: var(--card); }
.fav-toggle { display: inline-flex; align-items: center; gap: 8px; min-height: 50px; padding: 0 18px; border-radius: 14px; background: var(--field); font-weight: 600; font-size: .9rem; color: var(--ink); width: 100%; }
.fav-toggle .icon { width: 18px; height: 18px; color: #C9AFA4; }
.fav-toggle.on { background: var(--pink); color: var(--red); }
.fav-toggle.on .icon { color: var(--red); }
.fav-toggle.on svg { fill: currentColor; }
.cat-preview { font-size: 2rem; text-align: center; padding: 6px 0 2px; }
.cat-preview em { font-style: italic; }

.sheet-backdrop { position: fixed; inset: 0; z-index: 50; background: rgba(78, 52, 39, .28); opacity: 0; transition: opacity .25s; }
.sheet-backdrop.in { opacity: 1; }
.sheet {
  position: fixed; z-index: 51; top: 12px; right: 12px; bottom: 12px; width: min(470px, calc(100vw - 24px));
  display: flex; flex-direction: column; background: var(--card); border-radius: 22px; box-shadow: -20px 0 50px -24px rgba(78, 52, 39, .45);
  transform: translateX(110%); transition: transform .3s cubic-bezier(.2, .8, .2, 1);
}
.sheet.in { transform: none; }
.sheet-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; padding: 26px 26px 14px; }
.sheet-title { font-family: var(--serif); font-style: italic; font-weight: 400; font-size: 1.9rem; color: var(--plum); line-height: 1.15; overflow-wrap: anywhere; }
.sheet-sub { color: var(--muted); font-size: .88rem; margin-top: 6px; }
.icon-btn { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; color: var(--cocoa); flex: none; }
.icon-btn:hover { background: var(--field); }
.sheet-body { flex: 1; overflow-y: auto; -webkit-overflow-scrolling: touch; overscroll-behavior: contain; padding: 8px 26px 26px; }
.sheet-foot { display: flex; justify-content: space-between; gap: 12px; padding: 16px 26px max(18px, env(safe-area-inset-bottom)); border-top: 1px solid var(--line); }
.sheet-small { top: 50%; left: 50%; right: auto; bottom: auto; width: min(430px, calc(100vw - 32px)); transform: translate(-50%, -46%); opacity: 0; transition: transform .22s, opacity .22s; }
.sheet-small.in { transform: translate(-50%, -50%); opacity: 1; }
.sheet-small .sheet-foot { justify-content: flex-end; }
.sheet-small .sheet-title { font-size: 1.6rem; }

.toasts { position: fixed; z-index: 60; left: 0; right: 0; margin: 0 auto; width: max-content; max-width: calc(100vw - 32px); bottom: calc(28px + env(safe-area-inset-bottom)); display: grid; gap: 8px; justify-items: center; pointer-events: none; }
.toast { pointer-events: auto; display: flex; align-items: center; gap: 14px; padding: 12px 22px; border-radius: 999px; background: var(--btn); color: var(--on-btn); font-size: .88rem; font-weight: 600; box-shadow: var(--shadow); opacity: 0; transform: translateY(8px); transition: opacity .25s, transform .25s; }
.toast.in { opacity: 1; transform: none; }
.toast-action { color: var(--pink); font-weight: 800; letter-spacing: .1em; text-transform: uppercase; font-size: .72rem; }

@media (max-width: 900px) {
  .custom-grid { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .wrap { padding: 0 16px; }
  .hero { padding-top: 46px; }
  .picker, .customize { padding: 30px 16px 80px; }
  .customize .sticker { display: none; }
  .field-group.two { grid-template-columns: 1fr; }
  .emoji-grid { grid-template-columns: repeat(6, 1fr); }
  .sheet { top: auto; left: 0; right: 0; bottom: 0; width: 100%; max-height: 90vh; max-height: 90dvh; border-radius: 22px 22px 0 0; transform: translateY(105%); }
  .sheet.in { transform: none; }
  .sheet-small { left: 50%; bottom: auto; top: 50%; width: calc(100vw - 32px); border-radius: 22px; }
  .ink-toolbar { border-radius: 26px; }
  .tool { min-width: 40px; padding: 0 6px; }
  .swatch { width: 24px; height: 24px; margin: 0 2px; }
  .controls .pill.big { order: -1; width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
@media print {
  body { background: #fff; }
  .menu-card { box-shadow: none; margin-top: 0; }
  .item, .cat, .special { break-inside: avoid; }
}

/* picker filter options */
.filter-groups { display: grid; gap: 22px; }
.chip-count { display: inline-grid; place-items: center; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px; background: var(--field); color: var(--muted); font-size: .7rem; font-weight: 700; }
.chip.on .chip-count { background: rgba(255, 248, 239, .2); color: #FFF8EF; }
.chip.empty { opacity: .4; cursor: not-allowed; }
.link-btn { font-size: .78rem; color: var(--muted); text-decoration: underline; text-underline-offset: 3px; }
.items { list-style: none; margin: 0; padding: 0; }
[hidden] { display: none !important; }

/* ================================================================ tabs under the header */
#tabs { display: flex; justify-content: center; padding: 30px 16px 0; }
.tabs { display: inline-flex; gap: 2px; padding: 4px; border: 1.2px solid var(--cocoa); border-radius: 999px; background: var(--card); }
.tab { min-height: 38px; padding: 6px 20px; border-radius: 999px; font-size: .64rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--cocoa); white-space: nowrap; transition: background .2s, color .2s; }
.tab:hover { background: var(--field); }
.tab.on { background: var(--btn); color: var(--on-btn); }
.hero { padding-top: 46px; }
.picker, .customize, .ideas { padding-top: 46px; }

/* activity names follow the chosen font */
.item h4, .special h3, .letter h3, .idea h4, .feeling .chip { font-family: var(--title-font); }
html[data-font="handwritten"] .item h4, html[data-font="handwritten"] .idea h4 { font-size: 1.5rem; line-height: 1.1; }
html[data-font="handwritten"] .special h3, html[data-font="handwritten"] .letter h3 { font-size: 2.1rem; }
html[data-font="script"] .item h4, html[data-font="script"] .idea h4 { font-size: 1.32rem; }
html[data-font="clean"] .item h4, html[data-font="clean"] .idea h4 { font-size: 1.02rem; font-weight: 600; letter-spacing: 0; }
.feeling .chip { font-family: var(--sans); }

/* ================================================================ ideas library */
.ideas { padding-bottom: 100px; }
.idea-filters { display: grid; gap: 12px; justify-items: center; margin: 36px 0 30px; }
.idea-filters .chips { justify-content: center; }
.idea-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.idea { display: grid; grid-template-columns: 38px minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 14px 18px; border-radius: 18px; background: var(--card); box-shadow: 0 1px 2px rgba(78, 52, 39, .05), 0 10px 24px -18px rgba(78, 52, 39, .35); }
.idea h4 { margin: 0; font-family: var(--title-font); font-weight: 400; font-size: 1.1rem; color: var(--cocoa); line-height: 1.3; }
.idea .meta { margin-top: 3px; flex-wrap: wrap; row-gap: 2px; }
.idea-where { font-weight: 600; letter-spacing: .02em; color: var(--muted); opacity: .8; }
.pill.added { background: var(--sage); color: var(--green); border-color: transparent; cursor: default; }

/* ================================================================ make it yours: looks */
.wide-panel { grid-column: 1 / -1; }
.theme-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.theme-card, .font-card { display: grid; gap: 10px; justify-items: start; text-align: left; padding: 14px 16px; border-radius: 16px; border: 1.5px solid var(--line); background: var(--card); font-size: .86rem; font-weight: 600; color: var(--ink); }
.theme-card.on, .font-card.on { border-color: var(--plum); box-shadow: 0 0 0 3px rgba(156, 58, 107, .14); }
.theme-swatch { display: flex; }
.theme-swatch span { width: 26px; height: 26px; border-radius: 50%; border: 2px solid var(--card); margin-right: -7px; box-shadow: 0 0 0 1px var(--line); }
.font-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.font-sample { font-size: 1.2rem; font-weight: 400; color: var(--cocoa); line-height: 1.25; }
.font-card small { color: var(--muted); font-weight: 600; font-size: .74rem; letter-spacing: .08em; text-transform: uppercase; }

/* ================================================================ timer + feelings */
.overlay-backdrop { position: fixed; inset: 0; z-index: 70; background: rgba(78, 52, 39, .32); opacity: 0; transition: opacity .25s; }
.overlay-backdrop.in { opacity: 1; }
.overlay-card { position: fixed; z-index: 71; left: 50%; top: 50%; width: min(480px, calc(100vw - 32px)); max-height: calc(100vh - 32px); overflow-y: auto; transform: translate(-50%, -46%); opacity: 0; transition: transform .25s, opacity .25s; background: var(--card); border-radius: 26px; padding: 30px 30px 28px; text-align: center; box-shadow: var(--shadow); }
.overlay-card.in { transform: translate(-50%, -50%); opacity: 1; }
.timer-head { position: relative; padding: 0 30px; }
.timer-head h3 { font-family: var(--title-font); font-size: 1.7rem; margin-top: 6px; line-height: 1.2; }
.icon-x { position: absolute; top: -12px; right: -14px; width: 40px; height: 40px; border-radius: 50%; font-size: 1.6rem; line-height: 1; color: var(--muted); }
.icon-x:hover { background: var(--field); }
.ring { position: relative; width: 220px; height: 220px; margin: 22px auto 10px; }
.ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.ring circle { fill: none; stroke-width: 10; }
.ring .track { stroke: var(--field); }
.ring .bar { stroke: var(--c); stroke-linecap: round; transition: stroke-dashoffset .3s linear; }
.ring-time { position: absolute; inset: 0; display: grid; place-items: center; font-family: var(--serif); font-size: 2.8rem; color: var(--cocoa); letter-spacing: -.02em; }
.timer-note { color: var(--muted); font-size: .9rem; margin: 6px 0 16px; }
.center-chips { justify-content: center; }
.timer-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 20px; }
.feel-form { display: grid; gap: 14px; margin-top: 10px; }
.feel-q { font-family: var(--serif); font-style: italic; color: var(--plum); font-size: 1.35rem; }
.overlay-card.feel .feel-form { margin-top: 18px; }
.helped { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.helped li { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 12px; padding: 10px 14px; border-radius: 12px; background: var(--field); font-size: .88rem; }
.helped-date { font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.helped-note { font-style: italic; color: var(--ink); }

/* ================================================================ print */
.print-head { display: none; }
@media print {
  @page { margin: 12mm; }
  html, body { background: #fff !important; }
  #tabs, .nav, .site-footer, .hero, .feeling, .menu-head p, .scallop, .specials .sticker, .specials .center, .notes:has(textarea:placeholder-shown) { display: none !important; }
  .wrap { padding: 0; max-width: none; }
  .print-head { display: flex; align-items: center; gap: 16px; margin-bottom: 18px; }
  .print-head img { width: 54px; }
  .print-head h2 { font-size: 2rem; }
  .print-head h2 em { font-style: italic; color: var(--red); }
  .menu-card { margin: 0; padding: 0; box-shadow: none; }
  .menu-card .inner { border: 1px solid var(--line); padding: 26px 30px; }
  .menu-head { margin-bottom: 20px; }
  .cols { gap: 34px; }
  .specials { background: none; padding: 26px 0 0; }
  .special-grid { grid-template-columns: repeat(3, 1fr); gap: 12px; }
  .special { box-shadow: none; border: 1px solid var(--line); padding: 18px 14px; }
  .special .em { font-size: 1.6rem; }
  .item, .special, .cat { break-inside: avoid; }
  * { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
}

@media (max-width: 900px) {
  .idea-grid { grid-template-columns: 1fr; }
  .theme-grid, .font-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  #tabs { justify-content: flex-start; overflow-x: auto; padding: 20px 16px 0; scrollbar-width: none; }
  .tab { padding: 6px 14px; font-size: .6rem; }
  .picker, .customize, .ideas { padding: 30px 16px 80px; }
  .idea { grid-template-columns: 38px minmax(0, 1fr); }
  .idea .pill { grid-column: 2; justify-self: start; }
  .ring { width: 190px; height: 190px; }
}
html[data-theme="night"] .eyebrow { color: #F08A8F; }
html[data-theme="night"] .eyebrow.plum { color: #E79BC4; }

/* ================================================================ welcome / license key */
.welcome { padding: 46px 44px 100px; }
.welcome-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 26px; margin-top: 46px; align-items: start; }
.key-card { background: var(--card); border-radius: 22px; box-shadow: var(--shadow); padding: 14px; }
.key-card .inner { border: 1px solid var(--line); border-radius: 14px; padding: 36px 38px 30px; }
.key-form { display: grid; gap: 12px; }
.key-form .script { font-family: var(--serif); font-style: italic; font-size: 2.3rem; color: var(--plum); line-height: 1; margin-bottom: 14px; }
.key-label { font-family: var(--serif); font-size: 1.15rem; color: var(--cocoa); }
.key-label b { color: var(--red); font-weight: 400; }
.key-input { min-height: 58px; font-family: ui-monospace, 'SF Mono', Menlo, monospace; font-size: 16px; letter-spacing: .06em; text-transform: uppercase; }
.key-input::placeholder { color: #B9A79A; letter-spacing: 0; text-transform: none; font-family: var(--sans); }
.key-error { min-height: 1.3em; font-size: .86rem; color: var(--red); }
.key-form .pill.wide { margin-top: 4px; }
.shake { animation: shake .4s; }
@keyframes shake { 20%, 60% { transform: translateX(-6px); } 40%, 80% { transform: translateX(6px); } }
.help-card { background: var(--card); border-radius: 22px; box-shadow: var(--shadow); padding: 32px 32px 26px; display: grid; gap: 14px; }
.help-card h3 { font-size: 1.75rem; line-height: 1.2; }
.help-card h3 em { font-style: italic; color: var(--plum); }
.steps { list-style: none; margin: 4px 0 0; padding: 0; display: grid; gap: 14px; }
.steps li { display: grid; grid-template-columns: 34px 1fr; gap: 14px; align-items: start; }
.step-num { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; font-family: var(--serif); font-style: italic; font-size: 1.05rem; }
.steps h4 { margin: 4px 0 2px; font-family: var(--serif); font-weight: 400; font-size: 1.08rem; color: var(--cocoa); }
.steps p { font-size: .86rem; color: var(--muted); line-height: 1.5; }
.key-mock { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 14px; border-radius: 12px; border: 1.5px dashed var(--line); background: var(--field); }
.key-mock small { display: block; font-size: .64rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.key-mock code { font-family: ui-monospace, 'SF Mono', Menlo, monospace; font-size: .8rem; color: var(--ink); letter-spacing: .04em; }
.mock-copy { flex: none; padding: 5px 12px; border-radius: 8px; background: var(--card); font-size: .72rem; font-weight: 700; color: var(--cocoa); box-shadow: 0 1px 3px rgba(78, 52, 39, .15); }
.help-card .pill.wide { margin-top: 4px; }
.welcome-faq { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px; margin-top: 46px; text-align: center; }
.welcome-faq h5 { margin: 0 0 6px; font-family: var(--serif); font-weight: 400; font-size: 1.12rem; color: var(--cocoa); }
.welcome-faq p { font-size: .88rem; color: var(--muted); }
.welcome-faq a { color: var(--plum); text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 900px) {
  .welcome-grid, .welcome-faq { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 600px) {
  .welcome { padding: 30px 16px 70px; }
  .welcome .sticker { display: none; }
  .key-card .inner { padding: 28px 22px 24px; }
  .help-card { padding: 26px 22px 22px; }
  .key-mock code { font-size: .7rem; }
}

/* ================================================================ header + footer
   Copied from the Fureesia dice page so they look identical across all Fureesia pages. */
    /* Top bar */
    /* top bar: same sizes as the quiz page */
    .nav { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 12px; max-width: 1100px; margin: 0 auto; padding: 18px 20px 6px; }
    .nav-shop {
      justify-self: start; padding-bottom: 3px; border-bottom: 1.5px solid #4E3327;
      font: 600 .72rem/1.55 "Afacad Flux", "Segoe UI", system-ui, -apple-system, sans-serif; letter-spacing: .18em; text-transform: uppercase; text-decoration: none;
      transition: color .2s ease, border-color .2s ease;
    }
    .nav-shop:hover { color: #B32424; border-color: #B32424; }
    .nav-right { justify-self: end; display: flex; align-items: center; gap: 10px; }
    .nav-support {
      padding: 11px 20px; border-radius: 999px; box-shadow: inset 0 0 0 1.5px #4E3327; white-space: nowrap;
      font: 600 .7rem/1.55 "Afacad Flux", "Segoe UI", system-ui, -apple-system, sans-serif; letter-spacing: .18em; text-transform: uppercase; text-decoration: none;
      transition: background .2s ease, color .2s ease;
    }
    .nav-support:hover { background: #4E3327; color: #F5EFE6; }
    .nav-logo img { display: block; width: 96px; height: 96px; object-fit: contain; }
    .nav-contact {
      padding: 11px 20px; border-radius: 999px; background: #F5CDCE; color: #B32424; white-space: nowrap;
      font: 600 .7rem/1.55 "Afacad Flux", "Segoe UI", system-ui, -apple-system, sans-serif; letter-spacing: .18em; text-transform: uppercase; text-decoration: none;
      transition: background .2s ease, color .2s ease;
    }
    .nav-contact:hover { background: #B32424; color: #F5EFE6; }

    /* Footer: same as fureesiaplanners.com */
    /* the shadow paints a little extra brown below, so no cream hairline shows at the very bottom */
    .site-footer { background: #4E3327; color: #F5EFE6; overflow: hidden; text-align: center; padding: 64px 20px 0; box-shadow: 0 3px 0 #4E3327; }
    .site-footer a { color: #F5EFE6; }
    .ft-brand { display: none; }
    /* the links line up with the edges of the big name */
    .ft-inner { width: fit-content; margin: 0 auto; }
    .ft-top { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 56px; }
    /* links sit close to the mascot on both sides */
    .ft-links { display: flex; flex-wrap: wrap; gap: 10px 48px; margin: 0; padding: 0; list-style: none; }
    .ft-links:first-child { justify-content: flex-start; }
    .ft-links:last-child { justify-content: flex-end; }
    .ft-links a { font: 600 13px/1 "Afacad Flux", "Segoe UI", system-ui, -apple-system, sans-serif; letter-spacing: .16em; text-transform: uppercase; text-decoration: none; }
    .ft-links a:hover { color: #F5CDCE; }
    .ft-logo img { width: 96px; height: 96px; object-fit: contain; }
    .ft-socials { display: flex; justify-content: center; flex-wrap: wrap; gap: 22px; margin: 30px 0 0; padding: 0; list-style: none; }
    .ft-socials a { display: block; transition: transform .2s ease, opacity .2s ease; }
    .ft-socials a:hover { transform: translateY(-2px); opacity: .8; }
    .ft-socials img { width: 26px; height: 26px; }
    .ft-name {
      margin: 34px 0 -.12em; font: 400 clamp(40px, 6.6vw, 118px)/.9 "Instrument Serif", "Fraunces", Georgia, serif; letter-spacing: .01em;
      text-transform: uppercase; white-space: nowrap;
    }
    @media (max-width: 1099px) {
      .ft-name { font-size: 10.6vw; }
    }

    /* Phones */
    @media (max-width: 759px) {
      /* phones: mascot, Visit the shop, then the two buttons, all on one row (same as the quiz) */
      .nav { display: flex; align-items: center; gap: 12px; padding-top: 16px; padding-bottom: 14px; border-bottom: 1px solid #E8DDD0; }
      .nav-logo { order: -1; flex: none; }
      .nav-logo img { width: 56px; height: 56px; }
      .nav-shop { font-size: .6rem; letter-spacing: .14em; white-space: nowrap; }
      .nav-right { margin-left: auto; gap: 6px; }
      .nav-support, .nav-contact { padding: 8px 11px; font-size: .58rem; letter-spacing: .12em; }
      .site-footer { text-align: left; padding: 40px 20px 26px; }
      .ft-brand { display: flex; align-items: center; gap: 12px; margin: 0 0 22px; text-decoration: none; font: 600 22px/1.1 "Fraunces", Georgia, "Times New Roman", serif; }
      .ft-brand img { width: 72px; height: 72px; object-fit: contain; }
      .ft-top { display: block; }
      .ft-logo { display: none; }
      .ft-inner { width: auto; }
      .ft-links { display: block; }
      .ft-links:first-child { border-top: 1px solid rgba(245, 239, 230, .2); }
      .ft-links li { border-bottom: 1px solid rgba(245, 239, 230, .2); }
      .ft-links a { display: flex; align-items: center; justify-content: space-between; padding: 17px 2px; font-size: 12.5px; }
      .ft-links a::after {
        content: ""; width: 7px; height: 7px; margin-right: 4px; border: solid currentColor; border-width: 1.5px 1.5px 0 0;
        transform: rotate(45deg); opacity: .8;
      }
      .ft-socials { justify-content: flex-start; gap: 12px; margin-top: 28px; }
      .ft-socials a { display: flex; align-items: center; justify-content: center; width: 46px; height: 46px; border-radius: 50%; border: 1.5px solid rgba(245, 239, 230, .55); }
      .ft-socials img { width: 20px; height: 20px; }
      .ft-name { display: none; }
    }
    /* very small phones: a little tighter so everything still fits on one row */
    @media (max-width: 370px) {
      .nav { gap: 8px; padding-left: 12px; padding-right: 12px; }
      .nav-logo img { width: 46px; height: 46px; }
      .nav-shop, .nav-support, .nav-contact { letter-spacing: .08em; }
      .nav-support, .nav-contact { padding: 8px 9px; }
      .nav-right { gap: 5px; }
    }
/* the dice page's body text is 17px and espresso; keep the same here */
.nav, .site-footer { font-size: 17px; line-height: 1.55; }
.nav { color: #4E3327; }
:where(.nav) a { color: inherit; }
.site-footer img { display: block; max-width: 100%; }
html[data-theme="night"] .nav-shop { color: #F5EFE6; border-color: #F5EFE6; }
html[data-theme="night"] .nav-support { color: #F5EFE6; box-shadow: inset 0 0 0 1.5px #F5EFE6; }
html[data-theme="night"] .nav { border-bottom-color: #54423A; }
.welcome-faq a.highlight-link { color: var(--red); font-weight: 700; text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
.welcome-faq a.highlight-link:hover { color: var(--plum); }
.title-sparkle { display: inline-block; margin-left: .06em; font-size: .3em; vertical-align: top; color: #EFC6CC; letter-spacing: 0; transform: translateY(.15em); }
