/* Taco's Coconuts: shared styles. Uses logical properties (inline-start/end)
   so the layout flips cleanly for right-to-left languages like Arabic. */

:root {
  --ink: #14281D;
  --mut: #4E6656;
  --line: #DDE9DF;
  --leaf: #2E8650;
  --leaf-dark: #154A2E;
  --side: #F4F8F0;
  --on: #E3F2D8;
  --taco: #FFC72C;
  --orange: #FF8A1F;
  --hibiscus: #E8505B;
  --husk: #7A4A36;
  --hero: linear-gradient(160deg, #2E8650 0%, #1F6B42 50%, #154A2E 100%);
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: #fff;
  color: var(--ink);
  font-family: 'DM Sans', 'Cairo', system-ui, sans-serif;
  font-weight: 500;
  font-size: 16px;
  line-height: 1.45;
  overflow-wrap: break-word;
}

a { color: inherit; }

.d {
  font-family: 'Outfit', 'Cairo', system-ui, sans-serif;
  font-weight: 600;
  letter-spacing: -.01em;
}

.ic {
  width: 24px; height: 24px; flex: none;
  fill: none; stroke: currentColor; stroke-width: 2;
  stroke-linecap: round; stroke-linejoin: round;
}

.skip {
  position: absolute; inset-inline-start: -999px; top: 8px;
  background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 999px; z-index: 50;
}
.skip:focus { inset-inline-start: 8px; }

/* ---------- Layout: sidebar on desktop, slide-out drawer on phone ---------- */

.layout { display: flex; min-height: 100vh; }

.side {
  flex: 0 0 272px;
  background: var(--side);
  padding: 24px 16px;
  display: flex; flex-direction: column; gap: 2px;
  position: sticky; top: 0; height: 100vh; overflow-y: auto;
}

.side-brand {
  display: flex; align-items: center; gap: 10px;
  font-size: 22px; padding: 0 8px 18px; text-decoration: none;
}
.side-brand img { height: 46px; width: auto; }

.nav {
  display: flex; align-items: center; gap: 12px;
  min-height: 48px; padding: 0 14px; border-radius: 16px;
  text-decoration: none; color: var(--ink); font-weight: 700;
}
.nav:hover { background: #EAF3E2; }
.nav.on { background: var(--on); }
.nav.sub { min-height: 40px; padding-inline-start: 36px; font-weight: 500; font-size: 15px; }

.sec {
  font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: var(--mut); padding: 0 14px; margin: 18px 0 4px;
}

.dot { width: 10px; height: 10px; border-radius: 50%; flex: none; }

.main { flex: 1; min-width: 0; position: relative; padding-bottom: 110px; }

.menu-btn, .close-btn {
  display: none;
  width: 44px; height: 44px; border-radius: 50%; border: 0; padding: 0;
  background: rgba(255,255,255,.55); color: var(--ink);
  align-items: center; justify-content: center; cursor: pointer;
}

.scrim { display: none; }

@media (max-width: 860px) {
  .side {
    position: fixed; top: 0; bottom: 0; inset-inline-start: 0; z-index: 30;
    width: min(312px, 86vw); height: auto;
    background: #fff; padding: 0 10px 20px;
    border-start-end-radius: 32px; border-end-end-radius: 32px;
    box-shadow: 0 0 50px rgba(20,40,29,.4);
    transform: translateX(-110%); transition: transform .25s ease;
    visibility: hidden;
  }
  [dir="rtl"] .side { transform: translateX(110%); }
  body.menu-open .side { transform: none; visibility: visible; }

  .side-head {
    position: relative; overflow: hidden;
    background: var(--hero); color: #fff;
    margin: 0 -10px 12px; padding: 14px 16px 18px; min-height: 150px;
    display: flex; flex-direction: column; justify-content: space-between;
  }
  .side-brand { padding: 0; color: #fff; }
  .close-btn { display: flex; }

  .scrim {
    display: block; position: fixed; inset: 0; z-index: 20;
    background: rgba(20,40,29,.5); opacity: 0; pointer-events: none; transition: opacity .25s;
  }
  body.menu-open .scrim { opacity: 1; pointer-events: auto; }
  body.menu-open { overflow: hidden; }

  .menu-btn { display: flex; }
}

@media (min-width: 861px) {
  .side-head .palm { display: none; }
}

/* ---------- Green hero header ---------- */

.top {
  position: relative; overflow: hidden;
  background: var(--hero); color: #fff;
  border-end-start-radius: 36px; border-end-end-radius: 36px;
  padding: 12px 16px 24px;
}
@media (min-width: 861px) {
  .top { padding: 28px 48px 40px; border-end-start-radius: 48px; border-end-end-radius: 48px; }
}

.palm { position: absolute; color: #fff; opacity: .25; pointer-events: none; }
.top > .palm { inset-inline-end: -34px; top: -14px; width: 200px; height: 270px; }
.side-head > .palm { inset-inline-end: -30px; top: -10px; width: 150px; height: 200px; }
@media (min-width: 861px) {
  .top > .palm { inset-inline-end: 40px; top: -30px; width: 300px; height: 400px; }
}

.hrow { display: flex; align-items: center; gap: 12px; position: relative; }
.hrow .brand { display: flex; align-items: center; gap: 8px; font-size: 19px; text-decoration: none; }
.hrow .brand img { height: 34px; width: auto; }
@media (min-width: 861px) { .hrow { display: none; } }

.crumb {
  position: relative; display: inline-flex; align-items: center; gap: 2px;
  min-height: 44px; margin-top: 10px; color: #fff; text-decoration: none;
  font-weight: 700; font-size: 15px; opacity: .85;
}
.crumb .ic { width: 20px; height: 20px; transform: rotate(180deg); }
[dir="rtl"] .crumb .ic { transform: none; }
@media (min-width: 861px) { .crumb { margin-top: 0; } }

.title-row {
  position: relative; display: flex; align-items: flex-end; justify-content: space-between; gap: 8px;
  margin-top: 4px;
}
.title-row h1 { margin: 0; font-size: clamp(32px, 9vw, 56px); line-height: 1.05; }
.title-row .aka { font-size: 15px; font-weight: 700; opacity: .75; margin-top: 2px; }
.title-row img { height: 108px; width: auto; flex: none; margin-bottom: -6px; }
@media (min-width: 861px) { .title-row img { height: 150px; } }

.pills { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 16px; position: relative; }
.pill {
  min-height: 44px; padding: 0 16px; border-radius: 999px;
  border: 1.5px solid rgba(20,40,29,.25); background: rgba(255,255,255,.9);
  display: inline-flex; align-items: center; gap: 6px;
  font-weight: 700; font-size: 15px; color: var(--ink); text-decoration: none;
}
.pill.on { background: var(--ink); border-color: var(--ink); color: #fff; }

/* ---------- Page body ---------- */

.content {
  padding: 20px 16px 0; max-width: 1100px;
  display: flex; flex-direction: column; gap: 22px;
}
@media (min-width: 861px) { .content { padding: 32px 48px 0; gap: 28px; } }

.content h2 { margin: 0 0 8px; font-size: 22px; }
@media (min-width: 861px) { .content h2 { font-size: 28px; } }

.card {
  border-radius: 24px; padding: 16px 18px;
  background: #F1F8EC;
}
.card.req { background: #FFF4D6; }
.card.walk { background: #fff; box-shadow: 0 14px 30px -14px rgba(20,40,29,.45); }
.card p { margin: 0; color: var(--mut); }

.soon {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 13px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
  color: #8A5A00; background: #FFE88F; border-radius: 999px; padding: 4px 10px; margin-bottom: 8px;
}

.coming {
  display: flex; align-items: center; gap: 14px;
  border-radius: 24px; padding: 16px 18px; background: #F3F6EF; color: var(--mut);
}
.coming img { height: 72px; width: auto; flex: none; }
.coming strong { display: block; color: var(--ink); font-family: 'Outfit','Cairo',sans-serif; font-size: 19px; font-weight: 600; }

.btn {
  min-height: 54px; padding: 0 28px; border-radius: 999px; border: 0;
  background: var(--ink); color: #fff;
  font-family: 'Outfit','Cairo',sans-serif; font-weight: 600; font-size: 18px;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  text-decoration: none; box-shadow: 0 14px 24px -12px rgba(20,40,29,.7);
  align-self: flex-start;
}
.btn .ic { width: 20px; height: 20px; }
[dir="rtl"] .btn .ic { transform: rotate(180deg); }

/* Event cards (grid) */
.grid {
  display: grid; gap: 14px;
  grid-template-columns: repeat(auto-fill, minmax(min(160px, 100%), 1fr));
}
@media (min-width: 861px) { .grid { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); } }

.tile {
  display: flex; flex-direction: column; justify-content: space-between; gap: 14px;
  min-height: 170px; padding: 16px; border-radius: 26px;
  box-shadow: 0 14px 24px -12px rgba(20,40,29,.5);
  text-decoration: none; color: var(--ink);
}
.tile .name { font-size: 21px; line-height: 1.15; }
.tile .teaser { font-size: 13px; opacity: .8; margin-top: 2px; }
.badge {
  width: 52px; height: 52px; border-radius: 18px;
  background: rgba(255,255,255,.55);
  display: flex; align-items: center; justify-content: center;
}
.badge .ic { width: 28px; height: 28px; }

.t-tin { background: linear-gradient(150deg, #B4E88A, #6CC04A); }
.t-oly { background: linear-gradient(150deg, #FFE88F, #FFC72C); }
.t-dark { background: linear-gradient(150deg, #8A5A44, #4E2E22); color: #fff; box-shadow: 0 14px 24px -12px rgba(78,46,34,.7); }
.t-dark .badge { background: rgba(255,255,255,.18); }
.t-rag { background: linear-gradient(150deg, #FFB65C, #FF8A1F); }
.t-basic { background: linear-gradient(150deg, #E3F2D8, #BFE3A8); }

/* Day list (Olympus) */
.days { display: flex; flex-direction: column; gap: 12px; }
.day {
  display: flex; align-items: center; gap: 14px;
  padding: 14px 16px; border-radius: 22px;
  background: linear-gradient(120deg, #FFF4D6, #FFE88F);
  box-shadow: 0 12px 22px -12px rgba(20,40,29,.45);
  text-decoration: none; color: var(--ink);
}
.day .num {
  width: 44px; height: 44px; border-radius: 50%; background: var(--ink); color: #fff;
  display: flex; align-items: center; justify-content: center; flex: none;
  font-family: 'Outfit','Cairo',sans-serif; font-weight: 600; font-size: 18px;
}
.day .grow { flex: 1; min-width: 0; }
.day .sub { font-size: 13px; opacity: .75; }
.day > .ic { opacity: .6; }
[dir="rtl"] .day > .ic { transform: rotate(180deg); }

/* Prev / next */
.pager { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.pager .pill { border-color: var(--line); background: #fff; }

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

.zone {
  position: relative; display: flex; align-items: center; gap: 8px;
  margin-top: 14px; min-height: 44px; padding: 0 14px; border-radius: 999px;
  background: rgba(255,255,255,.16); color: #fff; max-width: 100%;
}
.zone select {
  flex: 1; min-width: 0; appearance: none; -webkit-appearance: none;
  background: transparent; border: 0; color: #fff; font: inherit; font-weight: 700; font-size: 15px;
  min-height: 44px; cursor: pointer; text-overflow: ellipsis;
}
.zone select option { color: var(--ink); }
.zone::after { content: "▾"; font-size: 14px; opacity: .8; pointer-events: none; }
@media (min-width: 861px) { .zone { max-width: 520px; } }

.week {
  position: relative; display: flex; align-items: center; justify-content: space-between;
  margin: 14px 0 8px; font-weight: 700; font-size: 15px;
}
.wbtn {
  width: 44px; height: 44px; border-radius: 50%; border: 0; padding: 0; cursor: pointer;
  background: rgba(255,255,255,.16); color: #fff; display: flex; align-items: center; justify-content: center;
}
.wbtn .ic { width: 20px; height: 20px; }
#cal-prev .ic { transform: rotate(180deg); }
[dir="rtl"] #cal-prev .ic { transform: none; }
[dir="rtl"] #cal-next .ic { transform: rotate(180deg); }

.strip {
  position: relative; display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px;
}
@media (min-width: 861px) { .strip, .week { max-width: 640px; } }
.dbtn {
  min-height: 60px; border-radius: 18px; border: 0; padding: 0; cursor: pointer;
  background: rgba(255,255,255,.16); color: #fff;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  font-family: 'Outfit','Cairo',sans-serif; font-weight: 600; font-size: 18px; line-height: 1.15;
}
.dbtn small { font-family: 'DM Sans','Cairo',sans-serif; font-weight: 700; font-size: 12px; opacity: .75; }
.dbtn.today { box-shadow: inset 0 0 0 2px var(--taco); }
.dbtn.on { color: var(--ink); background: #fff; box-shadow: 0 8px 16px -8px rgba(20,40,29,.5); }

.evs { display: flex; flex-direction: column; gap: 12px; }
.ev {
  display: flex; align-items: center; gap: 14px;
  padding: 14px 16px; border-radius: 22px;
  box-shadow: 0 12px 22px -12px rgba(20,40,29,.45);
  text-decoration: none; color: var(--ink);
}
.ev .badge { width: 48px; height: 48px; border-radius: 16px; flex: none; }
.ev .badge .ic { width: 24px; height: 24px; }
.ev .grow { flex: 1; min-width: 0; }
.ev .name { font-size: 18px; line-height: 1.2; }
.ev .sub { font-size: 13px; opacity: .8; }
.ev .when { font-size: 16px; white-space: nowrap; }
.t-plain { background: #F3F6EF; box-shadow: none; }
.ev.t-tin { background: linear-gradient(120deg, #B4E88A, #6CC04A); }
.ev.t-oly { background: linear-gradient(120deg, #FFE88F, #FFC72C); }
.ev.t-dark { background: linear-gradient(120deg, #8A5A44, #4E2E22); color: #fff; }
.ev.t-rag { background: linear-gradient(120deg, #FFB65C, #FF8A1F); }

h2.add { display: flex; align-items: center; gap: 8px; font-size: 18px !important; }
.pill { border-color: var(--line); }
.top .pill { border-color: rgba(20,40,29,.25); }
.btn.alt { background: #fff; color: var(--ink); border: 1.5px solid var(--line); box-shadow: none; font-size: 16px; min-height: 48px; }

.row { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.muted { color: var(--mut); font-size: 14px; margin: 0; }

/* ---------- The bouncing coconut ---------- */
/* It hops along the bottom of the page (js/coconut.js walks it left and right).
   Tap it and it goes nuts around the whole screen, then hops home. */

.buddy { position: absolute; left: 16px; right: 16px; bottom: 12px; height: 74px; pointer-events: none; }
.coco {
  position: absolute; left: 0; bottom: 0; width: 46px; height: 74px; padding: 0; border: 0; background: none;
  pointer-events: auto; cursor: pointer; -webkit-tap-highlight-color: transparent; touch-action: manipulation;
}
.coco .bounce {
  position: absolute; left: 0; bottom: 8px; width: 46px; height: 50px; pointer-events: none;
  animation: bn .9s cubic-bezier(.35,0,.45,1) infinite;
}
/* All three faces sit stacked and preloaded; only the "on" one shows. Swapping an img's src mid-animation tore the
   picture on iPhone Safari (half old face, half new), so faces are switched by showing a different img instead. */
.coco .face {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; object-position: 50% 100%; /* same box for every face */
  visibility: hidden;
}
.coco .face.on { visibility: visible; }
.coco.flip .bounce { scale: -1 1; }
.coco .shadow {
  position: absolute; left: 4px; bottom: 2px; width: 38px; height: 7px; border-radius: 50%;
  background: rgba(20,40,29,.18); animation: sh .9s cubic-bezier(.35,0,.45,1) infinite;
}
.coco { transform-origin: 23px 41px; } /* spin around the coconut itself */
.coco.crazy { position: fixed; z-index: 60; } /* same box as at rest, so nothing jumps when it lands */
.coco.crazy .bounce { animation: none; }
.coco.crazy .shadow { display: none; }
@keyframes bn { 0%,20%,100% { transform: translateY(0) scale(1); } 10% { transform: translateY(0) scale(1.06,.94); } 60% { transform: translateY(-20px) scale(1); } }
@keyframes sh { 0%,100% { transform: scale(1); opacity: 1; } 50% { transform: scale(.6); opacity: .5; } }
@media (prefers-reduced-motion: reduce) {
  .bounce, .shadow { animation: none; }
  .side, .scrim { transition: none; }
}

/* Pages without a back link need a little breathing room under the header row. */
.hrow + .title-row { margin-top: 22px; }
@media (min-width: 861px) { .hrow + .title-row { margin-top: 4px; } }
.evh { font-size: 15px !important; text-transform: uppercase; letter-spacing: .06em; color: var(--mut); margin: 6px 0 0 !important; }
.evh:first-child { margin-top: 0 !important; }

/* Calendar: view switch + month grid */
.calbar { position: relative; display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-top: 14px; }
.calbar .zone { margin-top: 0; flex: 1 1 220px; }
@media (min-width: 861px) { .calbar { max-width: 640px; } }
.views { display: flex; padding: 4px; border-radius: 999px; background: rgba(255,255,255,.16); flex: none; }
.vbtn {
  min-height: 36px; padding: 0 16px; border: 0; border-radius: 999px; cursor: pointer;
  background: transparent; color: #fff; font: inherit; font-weight: 700; font-size: 14px;
}
.vbtn.on { background: #fff; color: var(--ink); }

.mgrid {
  position: relative; display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px;
}
@media (min-width: 861px) { .mgrid { max-width: 640px; } }
.mwd { text-align: center; font-size: 12px; font-weight: 700; opacity: .7; padding-bottom: 2px; }
.mday {
  min-height: 46px; border: 0; border-radius: 14px; padding: 4px 0; cursor: pointer;
  background: rgba(255,255,255,.12); color: #fff;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px;
  font-family: 'Outfit','Cairo',sans-serif; font-weight: 600; font-size: 15px; line-height: 1;
  font-variant-numeric: tabular-nums;
}
.mday.today { box-shadow: inset 0 0 0 2px var(--taco); }
.mday.on { background: #fff; color: var(--ink); }
.mdots { display: flex; gap: 2px; min-height: 6px; }
.mdot { width: 6px; height: 6px; border-radius: 50%; box-shadow: 0 0 0 1px rgba(255,255,255,.7); }
.mday.on .mdot { box-shadow: none; }
.mdot.t-plain { background: rgba(255,255,255,.55); }
.mday.on .mdot.t-plain { background: #C9D6CC; }
.mdot.t-tin { background: #6CC04A; }
.mdot.t-oly { background: #FFC72C; }
.mdot.t-dark { background: #8A5A44; }
.mdot.t-rag { background: #FF8A1F; }

/* ---------- Password screen ---------- */
.gate-page { background: #154A2E; }
.gate {
  position: relative; overflow: hidden; min-height: 100vh; min-height: 100dvh;
  background: var(--hero); color: #fff;
  display: flex; align-items: center; justify-content: center; padding: 32px 16px;
}
.gate .palm { opacity: .22; }
.sway { transform-origin: 50% 100%; animation: sw 5s ease-in-out infinite; }
@keyframes sw { 0%,100% { transform: rotate(-1.2deg); } 50% { transform: rotate(1.2deg); } }
.gate-inner { position: relative; width: 100%; max-width: 380px; display: flex; flex-direction: column; align-items: center; gap: 16px; }
.gate-hero { height: 140px; width: auto; animation: bn 1.4s cubic-bezier(.35,0,.45,1) infinite; }
.gate-title { text-align: center; }
.gate-title h1 { margin: 0; font-size: clamp(32px, 10vw, 44px); line-height: 1.05; }
.gate-title p { margin: 4px 0 0; font-weight: 700; opacity: .8; }
.gate-card {
  width: 100%; display: flex; flex-direction: column; gap: 12px;
  background: #fff; color: var(--ink); border-radius: 28px; padding: 20px;
  box-shadow: 0 24px 40px -20px rgba(0,0,0,.55);
}
.gate-card label { font-size: 14px; font-weight: 700; color: var(--mut); }
.field {
  width: 100%; min-height: 54px; border-radius: 16px; border: 1.5px solid #CBDCC8; background: #fff;
  padding: 0 16px; font: inherit; font-size: 17px; color: var(--ink);
}
.field:focus { outline: 3px solid var(--taco); outline-offset: 1px; border-color: var(--leaf); }
.gate-btn { width: 100%; align-self: stretch; cursor: pointer; }
.gate-btn:focus-visible { outline: 3px solid var(--taco); outline-offset: 2px; }
[dir="rtl"] .gate-btn .ic { transform: rotate(180deg); }
.gate-err { margin: 0; color: #B3261E; font-weight: 700; font-size: 14px; }
.gate-help { margin: 0; font-size: 14px; font-weight: 700; opacity: .8; }
.shake { animation: shake .35s; }
@keyframes shake { 20%,60% { transform: translateX(-6px); } 40%,80% { transform: translateX(6px); } }
@media (prefers-reduced-motion: reduce) { .sway, .gate-hero, .shake { animation: none; } }

/* ---------- Event content: overview, rules, Taco's tips ---------- */

.card.tips { background: #FFF1E3; }
.content h3 { margin: 2px 0 12px; font-size: 18px; color: var(--mut); }
.plain p { margin: 0; color: var(--mut); }

.dchips { display: flex; gap: 10px; flex-wrap: wrap; margin: 4px 0 12px; }
.dchip {
  flex: 1 1 140px; border: 1.5px solid var(--line); border-radius: 18px; padding: 10px 14px;
}
.dchip .dlabel { display: block; font-size: 12px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--orange); }
.dchip b { display: block; font-size: 17px; }

.rules { list-style: none; margin: 0; padding: 0; counter-reset: r; display: grid; gap: 14px; }
.rules li { counter-increment: r; display: flex; gap: 12px; }
.rules li::before {
  content: counter(r); flex: none; width: 30px; height: 30px; border-radius: 50%;
  display: grid; place-items: center; background: var(--orange); color: #fff; font-weight: 700;
}
.rhead { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.rhead strong { font-size: 17px; margin-inline-end: 2px; }
.rules p, .vault p { margin: 2px 0 0; color: var(--mut); font-size: 15px; }

.tag {
  font-size: 12px; font-weight: 700; border-radius: 999px; padding: 2px 9px;
  background: rgba(20,40,29,.08); color: var(--ink); white-space: nowrap;
}
.tag.must { background: var(--hibiscus); color: #fff; }
.tag.warn { background: #FFE88F; color: #6B4700; }

.vaults { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
@media (min-width: 861px) { .vaults { grid-template-columns: 1fr 1fr; } }
.vault {
  display: flex; gap: 14px; align-items: flex-start;
  border: 1.5px solid var(--line); border-radius: 20px; padding: 12px 14px;
}
.vault .lvl {
  flex: none; min-width: 64px; padding: 6px 8px; border-radius: 16px; text-align: center;
  font-size: 18px; line-height: 1.1;
}
.vault .lvl small { display: block; font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: .05em; opacity: .75; }
/* Badges get darker as vaults get bigger; 40+ wears the taco gold. */
.vault:nth-child(1) .lvl { background: var(--on); color: var(--leaf-dark); }
.vault:nth-child(2) .lvl { background: var(--leaf); color: #fff; }
.vault:nth-child(3) .lvl { background: var(--leaf-dark); color: #fff; }
.vault:nth-child(4) .lvl { background: var(--taco); color: var(--ink); }

.quote { margin: 14px 0 0; background: var(--ink); color: #fff; border-radius: 20px; padding: 14px 16px; }
.quote blockquote { margin: 0; font-size: 16px; font-weight: 700; letter-spacing: .02em; }
.quote figcaption { margin-top: 6px; color: var(--taco); font-weight: 700; }
.quote figcaption::before { content: "🌮 "; }

/* Dark Omens: Taco's tips as a timeline, in the order things happen */
.shout { margin: 0 0 12px !important; color: var(--orange) !important; font-size: 18px; letter-spacing: .02em; }
.phases { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.phase { display: flex; gap: 12px; border: 1.5px solid var(--line); border-radius: 20px; padding: 12px 14px; }
.phase .pnum {
  flex: none; width: 34px; height: 34px; border-radius: 50%;
  display: grid; place-items: center; background: var(--leaf-dark); color: var(--taco); font-size: 17px;
}
.phase .dlabel { display: block; font-size: 12px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--orange); }
.phase strong { display: block; font-size: 17px; }
.phase ul { margin: 6px 0 0; padding-inline-start: 18px; color: var(--mut); font-size: 15px; display: grid; gap: 4px; }
.phase ul li::marker { color: var(--leaf); }

/* Ragnarok: Taco's tips as titled cards */
.tips-list { display: grid; gap: 10px; }
.tip { border: 1.5px solid var(--line); border-radius: 20px; padding: 12px 14px; }
.tip h3 { margin: 0 0 6px !important; color: var(--ink) !important; font-size: 17px !important; }
.tip p { margin: 6px 0 0; color: var(--mut); font-size: 15px; }
.buy { list-style: none; margin: 8px 0 0; padding: 0; counter-reset: b; display: grid; gap: 6px; }
.buy li { counter-increment: b; display: flex; gap: 10px; align-items: flex-start; color: var(--ink); font-size: 15px; }
.buy li::before {
  content: counter(b); flex: none; width: 24px; height: 24px; border-radius: 50%;
  display: grid; place-items: center; background: var(--taco); color: var(--ink); font-size: 13px; font-weight: 700;
}
.tip .fen { margin-top: 10px; color: var(--ink); }
