/* ==========================================================================
   A Merry Little Secret — "Midnight pine, turned up"
   Deep evergreen, warm gold, cherry red and mint. Elegant bones, playful
   details: big serif headlines, glowing lights, sticker badges and a
   properly dramatic reveal. Loaded after style.css.
   ========================================================================== */

:root {
  --cream: #fbf2df;
  --cream-dim: #e8dcc3;
  --gold: #f0c169;
  --gold-bright: #ffdd97;
  --gold-deep: #b9832d;
  --red: #e26057;
  --red-deep: #a83539;
  --green: #0d352c;
  --green-2: #124238;
  --green-3: #1b5445;
  --muted: #a9c0b0;
  --mint: #a9d8b8;
  --line: #f4e6c221;
  --line-strong: #f4e6c23d;
  color: var(--cream);
  background: var(--green);
}

body {
  color: var(--cream);
  background:
    radial-gradient(1000px 640px at 82% 4%, #2c664944, transparent 62%),
    radial-gradient(760px 540px at 4% 58%, #7d3a3526, transparent 60%),
    radial-gradient(900px 700px at 96% 96%, #2b5b4433, transparent 62%),
    linear-gradient(180deg, #0d352c 0%, #0a2c25 55%, #08251f 100%);
  background-attachment: fixed;
}

/* Sparse midnight starfield */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.55;
  background-image:
    radial-gradient(1.4px 1.4px at 18% 22%, #fff5dc99, transparent 60%),
    radial-gradient(1.2px 1.2px at 74% 12%, #fff5dc77, transparent 60%),
    radial-gradient(1px 1px at 42% 68%, #fff5dc66, transparent 60%),
    radial-gradient(1.6px 1.6px at 88% 54%, #fff5dc88, transparent 60%),
    radial-gradient(1px 1px at 8% 82%, #fff5dc66, transparent 60%),
    radial-gradient(1.2px 1.2px at 62% 92%, #fff5dc55, transparent 60%),
    radial-gradient(1px 1px at 30% 44%, #fff5dc55, transparent 60%);
  background-size: 520px 520px;
}

.shell {
  max-width: 1240px;
  padding: 0 44px;
  position: relative;
  z-index: 1;
}

/* --------------------------------------------------------------------------
   Header
   -------------------------------------------------------------------------- */

.topbar {
  position: relative;
  margin-top: 26px;
  min-height: 98px;
  border-bottom: 1px solid var(--line-strong);
  gap: 22px;
}

.brand {
  gap: 13px;
}

.brand img {
  width: 48px;
  height: 48px;
  border-radius: 15px;
  box-shadow: 0 6px 20px #00140f66, 0 0 0 1px #f0c16933;
  transform: rotate(-3deg);
}

.brand strong {
  font-size: 25px;
  letter-spacing: -0.02em;
  color: var(--cream);
}

.brand small {
  font-size: 9px;
  letter-spacing: 2.4px;
  color: var(--gold);
  font-weight: 700;
}

.top-note {
  font-size: 10px;
  letter-spacing: 1.6px;
  color: var(--muted);
}

.link-button {
  font-size: 13px;
  color: inherit;
  padding: 8px 10px;
  border-radius: 9px;
  text-decoration-color: var(--gold);
  text-decoration-thickness: 1.5px;
}

.link-button:hover {
  color: var(--gold-bright);
}

.topbar .link-button {
  padding: 8px 14px;
  border: 1px solid var(--line-strong);
  text-decoration: none;
  background: #ffffff06;
}

.topbar .link-button:hover {
  border-color: #f0c16977;
  background: #f0c1690f;
}

/* Fairy lights */
.holiday-lights {
  position: absolute;
  display: flex;
  justify-content: space-around;
  pointer-events: none;
  top: -20px;
  left: -10px;
  right: -10px;
  height: 24px;
  border-top: 1px solid #f4e6c22e;
}

.holiday-lights i {
  width: 7px;
  height: 11px;
  background: var(--gold);
  box-shadow: 0 0 12px 2px #f0c16977;
}

.holiday-lights i:before {
  background: #7d8a68;
}

.holiday-lights i:nth-child(3n) {
  background: var(--red);
  box-shadow: 0 0 12px 2px #e2605766;
}

.holiday-lights i:nth-child(4n) {
  background: var(--mint);
  box-shadow: 0 0 10px 2px #a9d8b855;
}

/* Strapline */
.chaos-ticker {
  display: flex;
  align-items: center;
  justify-content: center;
  width: max-content;
  max-width: 100%;
  margin: 20px auto 0;
  padding: 8px 22px;
  background: #f0c1690a;
  border: 1px solid #f0c16933;
  border-radius: 999px;
  color: var(--cream-dim);
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 1.5px;
  overflow: hidden;
}

.chaos-ticker span {
  margin: 0 14px;
}

.chaos-ticker b {
  color: var(--red);
  font-weight: 700;
}

.chaos-ticker .desktop-ticker {
  font-size: 8.5px;
  color: var(--muted);
  letter-spacing: 1.2px;
}

/* Cleaner backdrop; the starfield does the decorating */
.unnecessary-decor {
  display: none;
}

.snow {
  display: none;
}

/* --------------------------------------------------------------------------
   Typography
   -------------------------------------------------------------------------- */

h1, h2, .serif {
  color: var(--cream);
}

h1 {
  font-size: clamp(58px, 6.8vw, 98px);
  line-height: 0.95;
  letter-spacing: -0.045em;
}

h2 {
  font-size: 35px;
  line-height: 1.1;
  letter-spacing: -0.025em;
}

.eyebrow {
  font-size: 10.5px;
  letter-spacing: 2.2px;
  color: var(--gold);
  font-weight: 750;
  margin-bottom: 18px;
}

.lead {
  color: #c6d6c8;
  font-size: 16.5px;
  max-width: 44ch;
  line-height: 1.65;
}

.fine {
  font-size: 11.5px;
  line-height: 1.8;
  color: var(--muted);
}

.warm {
  color: var(--gold);
}

/* --------------------------------------------------------------------------
   Home hero
   -------------------------------------------------------------------------- */

.hero {
  grid-template-columns: 1.04fr 0.96fr;
  gap: 66px;
  min-height: 0;
  padding: 62px 0 52px;
  align-items: center;
}

.hero h1 {
  margin-bottom: 24px;
}

.hero h1 em {
  color: var(--gold);
  font-weight: 400;
  letter-spacing: -0.05em;
  text-shadow: 0 0 45px #f0c16933;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 8px 14px;
  margin-bottom: 26px;
  background: #f0c1690d;
  border: 1px solid #f0c16966;
  border-radius: 999px;
  color: var(--gold-bright);
  font-size: 9.5px;
  font-weight: 750;
  letter-spacing: 1.5px;
  box-shadow: 0 0 30px #f0c16912 inset;
}

.pill:before {
  content: "✦";
  color: var(--gold);
  font-size: 12px;
}

.hero .lead {
  margin-bottom: 0;
}

.login-card {
  position: relative;
  max-width: 455px;
  margin-top: 30px;
  padding: 24px;
  background: linear-gradient(150deg, #17483b 0%, #0f372e 100%);
  border: 1px solid #f0c1693d;
  border-radius: 20px;
  box-shadow: 0 24px 60px #00140f66, inset 0 1px 0 #ffffff0d;
}

.login-card label {
  font-size: 12px;
  font-weight: 650;
  color: var(--cream-dim);
  margin-bottom: 0;
}

.login-card:before {
  content: "SANTA'S MAIL";
  position: absolute;
  top: -12px;
  right: 20px;
  padding: 4px 10px;
  border-radius: 4px;
  background: var(--red-deep);
  border: 1px solid #f0c16977;
  color: #ffe9d2;
  font-size: 7px;
  font-weight: 800;
  letter-spacing: 1.6px;
  transform: rotate(3deg);
  box-shadow: 0 3px 10px #00140f55;
}

.login-card .fine {
  margin-top: 13px;
}

.input-row {
  flex-direction: column;
  gap: 10px;
}

.input-row input {
  width: 100%;
}

.input-row .button {
  width: 100%;
}

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */

.button {
  min-height: 50px;
  padding: 13px 22px;
  border: 1px solid #ffdf9f;
  border-radius: 11px;
  background: linear-gradient(180deg, #f7cf7e, #eab654);
  color: #153a2e;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.01em;
  box-shadow: 0 4px 14px #00140f55, inset 0 1px 0 #fff4d7;
  transition: transform 0.16s ease, box-shadow 0.16s ease, background 0.16s ease;
}

.button:hover {
  background: linear-gradient(180deg, #ffe2a2, #f3c468);
  color: #113328;
  transform: translateY(-2px);
  box-shadow: 0 7px 20px #00140f66, inset 0 1px 0 #fff8e6;
}

.button:active {
  transform: translateY(0);
  box-shadow: 0 2px 8px #00140f66, inset 0 1px 0 #fff4d7;
}

.button.secondary {
  background: #ffffff07;
  color: var(--cream);
  border: 1px solid var(--line-strong);
  box-shadow: none;
}

.button.secondary:hover {
  background: #f0c16912;
  color: var(--cream);
  border-color: #f0c16977;
  box-shadow: 0 4px 14px #00140f33;
}

.button.danger {
  background: linear-gradient(180deg, #c74a4c, #a83539);
  border-color: #e07a76;
  color: #fff7ef;
  box-shadow: 0 4px 14px #00140f55;
}

.button.small {
  min-height: 38px;
  padding: 8px 14px;
  font-size: 12px;
}

/* --------------------------------------------------------------------------
   Hero poster
   -------------------------------------------------------------------------- */

.poster {
  position: relative;
  min-height: 590px;
  border: 1px solid #f0c16980;
  border-radius: 190px 190px 20px 20px;
  background: #0e352d;
  box-shadow: 0 34px 90px #00140f99, inset 0 0 90px #f0c1690f;
  overflow: hidden;
  display: block;
  isolation: isolate;
}

.poster:before {
  content: "";
  position: absolute;
  inset: 12px;
  border: 1px solid #f0c16938;
  border-radius: 178px 178px 14px 14px;
  z-index: 5;
  pointer-events: none;
}

.poster:after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, #08251fbb 0%, #08251f33 20%, transparent 46%, #08251f66 66%, #08251fee 100%);
  z-index: 2;
  pointer-events: none;
}

.elf-hero {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 34%;
  z-index: 1;
  filter: saturate(1.06) contrast(1.02);
}

.poster-heading {
  top: 44px;
  left: 66px;
  right: 66px;
  text-align: center;
  font: italic 21px/1.25 Georgia, serif;
  color: var(--cream);
  transform: none;
  z-index: 4;
  text-shadow: 0 2px 14px #041a14cc;
}

.poster-caption {
  left: 30px;
  right: 30px;
  bottom: 28px;
  text-align: center;
  font-size: 8.5px;
  letter-spacing: 2px;
  color: #f3e2bf;
  z-index: 4;
  text-shadow: 0 2px 10px #041a14;
}

.chaos-sticker {
  position: absolute;
  right: 28px;
  top: 126px;
  width: 64px;
  height: 64px;
  border: 1px solid #f0c16999;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--gold-bright);
  background: #0b2d25cc;
  backdrop-filter: blur(4px);
  font: italic 22px Georgia, serif;
  z-index: 4;
  transform: rotate(9deg);
}

.chaos-sticker small {
  font: 700 5.5px system-ui, sans-serif;
  letter-spacing: 0.8px;
  margin-top: 3px;
  text-transform: uppercase;
  color: #e9d3a8;
}

.elf-report {
  position: absolute;
  bottom: 58px;
  left: 42px;
  right: 42px;
  text-align: center;
  color: #f8ecd1;
  background: #08251fb3;
  border: 1px solid #f0c1692e;
  padding: 8px;
  border-radius: 7px;
  font-size: 7.5px;
  letter-spacing: 1.3px;
  line-height: 1.8;
  z-index: 4;
  backdrop-filter: blur(3px);
}

.elf-report span {
  color: #bfd2bf;
  font-size: 6.5px;
}

.star {
  z-index: 4;
  color: var(--gold-bright);
  text-shadow: 0 0 18px #f0c169cc;
}

.s1 { left: 34px; font-size: 22px; top: 26%; }
.s2 { right: 34px; font-size: 32px; top: 58%; }
.s3 { left: 44px; font-size: 15px; bottom: 26%; }
.s4 { display: none; }

/* --------------------------------------------------------------------------
   How it works
   -------------------------------------------------------------------------- */

.steps {
  gap: 18px;
  padding: 32px 0 38px;
  border-top: 1px solid var(--line-strong);
}

.step {
  display: flex;
  gap: 15px;
  align-items: flex-start;
  padding: 18px;
  background: #f4e6c206;
  border: 1px solid var(--line);
  border-radius: 16px;
  transition: border-color 0.18s ease, background 0.18s ease, transform 0.18s ease;
}

.step:hover {
  border-color: #f0c16944;
  background: #f0c1690b;
  transform: translateY(-2px);
}

.step-number {
  display: grid;
  place-items: center;
  flex: none;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid #f0c16966;
  background: #f0c16912;
  color: var(--gold);
  font-family: Georgia, serif;
  font-size: 16px;
  line-height: 1;
}

.step h3 {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin: 2px 0 5px;
  color: var(--cream);
}

.step p {
  font-size: 12.5px;
  color: var(--muted);
  margin: 0;
}

/* --------------------------------------------------------------------------
   Workshop banner
   -------------------------------------------------------------------------- */

.workshop-banner {
  display: grid;
  position: relative;
  align-items: center;
  overflow: hidden;
  grid-template-columns: 180px 1fr 88px;
  gap: 26px;
  margin: 30px 0 0;
  padding: 13px 26px 13px 13px;
  min-height: 156px;
  background: linear-gradient(140deg, #17483b 0%, #103a30 62%, #143c2e 100%);
  border: 1px solid #f0c16930;
  border-radius: 18px;
  box-shadow: 0 22px 50px #00140f44;
}

.workshop-banner img {
  width: 180px;
  height: 130px;
  object-fit: cover;
  border-radius: 12px;
  border: 1px solid #f0c16933;
  filter: saturate(1.05);
}

.workshop-banner p {
  color: var(--gold);
  font-size: 8.5px;
  font-weight: 750;
  letter-spacing: 2px;
  margin: 0 0 10px;
}

.workshop-banner h2 {
  font: 400 34px/1.06 Georgia, serif;
  letter-spacing: -0.025em;
  margin: 0;
  color: var(--cream);
}

.workshop-banner .elf-stamp {
  width: 78px;
  height: 78px;
  border: 1px dashed #f0c16988;
  color: var(--gold);
  border-radius: 50%;
  display: grid;
  place-content: center;
  text-align: center;
  font-size: 8px;
  font-weight: 650;
  letter-spacing: 1px;
  line-height: 1.65;
  transform: rotate(9deg);
  padding: 8px;
}

/* --------------------------------------------------------------------------
   Page shell, tabs, dashboard
   -------------------------------------------------------------------------- */

.page {
  padding: 38px 0 64px;
}

.page-head {
  margin-bottom: 26px;
  align-items: flex-end;
}

.page-head h1 {
  font-size: clamp(42px, 5vw, 58px);
  letter-spacing: -0.035em;
  margin-bottom: 6px;
}

.page-head .lead {
  font-size: 14.5px;
  margin-bottom: 0;
}

.page-head .eyebrow {
  font-size: 10px;
  margin-bottom: 14px;
}

.tabs {
  gap: 4px;
  padding: 4px;
  background: #08272080;
  border: 1px solid var(--line-strong);
  border-radius: 13px;
}

.tab {
  padding: 10px 16px;
  border-radius: 9px;
  font-size: 12.5px;
  font-weight: 650;
  color: var(--muted);
  border: 0;
}

.tab:hover {
  color: var(--cream);
  background: #ffffff08;
}

.tab.active {
  background: var(--gold);
  color: #12372c;
  font-weight: 800;
  box-shadow: 0 3px 10px #00140f44;
}

.dashboard {
  grid-template-columns: 250px minmax(0, 1fr);
  gap: 26px;
}

.sidebar .eyebrow {
  margin: 4px 8px 10px;
}

.event-link {
  padding: 14px 15px;
  margin: 0 0 9px;
  background: #f4e6c205;
  border: 1px solid var(--line);
  border-radius: 13px;
  color: var(--cream);
  transition: border-color 0.18s ease, background 0.18s ease, transform 0.18s ease;
}

.event-link:hover {
  border-color: #f0c16940;
  background: #f0c16909;
}

.event-link.active {
  background: #f0c1690f;
  border: 1px solid #f0c16977;
  box-shadow: inset 3px 0 0 var(--gold);
}

.event-link strong {
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 8px;
}

.sidebar .button.small {
  margin-top: 4px;
}

/* --------------------------------------------------------------------------
   Cards & forms
   -------------------------------------------------------------------------- */

.panel {
  padding: 26px;
  margin-bottom: 20px;
  background: linear-gradient(150deg, #f4e6c209 0%, #f4e6c202 100%);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: 0 18px 44px #00140f2e;
  color: var(--cream);
}

.panel h2 {
  color: var(--cream);
  font-size: 29px;
  margin-bottom: 9px;
}

.panel h3 {
  color: var(--cream);
}

.panel p {
  color: var(--muted);
  font-size: 13.5px;
}

.section-head {
  margin-bottom: 18px;
}

.section-head .eyebrow {
  margin-bottom: 6px;
}

label {
  font-size: 12.5px;
  font-weight: 650;
  color: var(--cream-dim);
  margin-bottom: 15px;
}

input, select {
  min-height: 50px;
  padding: 12px 14px;
  margin-top: 7px;
  border: 1px solid #f4e6c22e;
  border-radius: 9px;
  background: #082b24;
  color: var(--cream);
  color-scheme: dark;
  font-size: 15px;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

input:hover, select:hover {
  border-color: #f4e6c255;
}

input:focus, select:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px #f0c16926;
}

input::placeholder {
  color: #8fa99a;
}

input[type=checkbox] {
  width: 19px;
  min-height: 19px;
  accent-color: var(--gold);
}

select {
  cursor: pointer;
}

option {
  background: #0d352c;
  color: var(--cream);
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
}

.checklist {
  gap: 9px;
  margin: 18px 0;
}

.check {
  align-items: center;
  gap: 11px;
  padding: 12px 13px;
  background: #f4e6c204;
  border: 1px solid var(--line);
  border-radius: 10px;
  font-weight: 600;
  margin: 0;
  color: var(--cream);
  cursor: pointer;
}

.check:hover {
  border-color: #f0c16944;
  background: #f0c16909;
}

.check input {
  margin-top: 0;
  flex: none;
}

.check small {
  color: var(--muted);
  font-size: 10.5px;
  margin-top: 4px;
}

.actions {
  gap: 10px;
}

.notice {
  padding: 14px 17px;
  background: #f0c1690d;
  border: 1px solid #f0c16940;
  border-left: 4px solid var(--gold);
  border-radius: 9px;
  color: #e7d6b2;
  font-size: 13px;
}

.notice strong {
  color: var(--cream);
}

/* --------------------------------------------------------------------------
   Badges & lists
   -------------------------------------------------------------------------- */

.badge {
  font-size: 9px;
  font-weight: 750;
  letter-spacing: 0.9px;
  padding: 5px 9px;
  background: #ffffff08;
  border: 1px solid var(--line-strong);
  color: var(--muted);
  border-radius: 999px;
}

.badge.released {
  background: #a9d8b81f;
  border-color: #a9d8b866;
  color: #c4e6cd;
}

.badge.drawn {
  background: #f0c1691f;
  border-color: #f0c16966;
  color: #f6d99e;
}

.avatar {
  width: 42px;
  height: 42px;
  background: #f0c16914;
  border: 1px solid #f0c1694d;
  color: var(--gold);
  font-size: 19px;
  flex: none;
}

.person {
  padding: 15px 0;
  border-bottom: 1px solid var(--line);
}

.person-detail strong {
  font-size: 13.5px;
}

.person-detail small {
  color: var(--muted);
  font-size: 11.5px;
}

.person .link-button {
  padding: 6px 7px;
}

.exclusion {
  border-bottom: 1px solid var(--line);
}

.metrics {
  gap: 14px;
  margin: 20px 0 22px;
}

.metric {
  flex: 1;
  min-width: 130px;
  padding: 13px 16px;
  background: #f4e6c205;
  border: 1px solid var(--line);
  border-radius: 11px;
}

.metric strong {
  color: var(--gold);
  font-size: 25px;
}

.metric small {
  font-size: 9.5px;
  font-weight: 650;
  letter-spacing: 1px;
  color: var(--muted);
}

table {
  font-size: 13px;
}

td, th {
  padding: 13px 10px;
  border-bottom: 1px solid var(--line);
}

th {
  font-size: 9.5px;
  letter-spacing: 1px;
  color: var(--muted);
}

.empty {
  color: var(--muted);
}

.empty .icon {
  font-size: 48px;
}

/* --------------------------------------------------------------------------
   The big reveal
   -------------------------------------------------------------------------- */

.reveal {
  position: relative;
  padding: 70px 30px 50px;
  min-height: 470px;
  margin-bottom: 24px;
  border: 1px solid #f0c1698a;
  border-radius: 22px;
  background:
    radial-gradient(ellipse at 50% 12%, #32775a 0%, transparent 55%),
    radial-gradient(ellipse at 50% 120%, #0b2b24 0%, transparent 60%),
    linear-gradient(160deg, #175040 0%, #114036 50%, #0d352c 100%);
  box-shadow: 0 32px 80px #00140f88, inset 0 0 100px #f0c16910;
  overflow: hidden;
  color: var(--cream);
}

.reveal:before {
  content: "";
  position: absolute;
  inset: 12px;
  border: 1px solid #f0c16938;
  border-radius: 15px;
  z-index: 3;
  pointer-events: none;
}

.reveal:after {
  content: none;
  position: absolute;
  top: 22px;
  right: 26px;
  left: auto;
  transform: rotate(3deg);
  padding: 5px 14px;
  border-radius: 5px;
  background: var(--red-deep);
  border: 1px solid #f0c16977;
  color: #ffe9d2;
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 2px;
  box-shadow: 0 3px 12px #00140f55;
  z-index: 5;
  pointer-events: none;
}

.reveal:has(.recipient):after {
  content: "TOP SECRET";
}

.reveal .eyebrow {
  font-size: 11px;
  letter-spacing: 2.6px;
  color: var(--gold);
  margin: 10px 0 22px;
  position: relative;
  z-index: 4;
}

.recipient {
  font: 700 clamp(66px, 9vw, 124px)/1.1 'Mountains of Christmas', Georgia, serif;
  color: var(--gold);
  letter-spacing: -0.045em;
  margin: 0 0 32px;
  position: relative;
  z-index: 4;
  text-shadow: 0 0 44px #f0c16938, 0 2px 0 #7c5a1e;
}

.recipient-meta {
  gap: 16px;
  position: relative;
  z-index: 4;
}

.recipient-meta div {
  padding: 11px 20px;
  background: #082a231f;
  border: 1px solid #f0c16930;
  border-radius: 10px;
  backdrop-filter: blur(3px);
}

.recipient-meta small {
  font-size: 9px;
  font-weight: 650;
  letter-spacing: 1.5px;
  color: var(--muted);
  margin-bottom: 6px;
}

.recipient-meta strong {
  font-size: 20px;
  color: var(--cream);
}

.gift-icon {
  font-size: 44px;
  animation: float 3s ease-in-out infinite;
  position: relative;
  z-index: 4;
}

.elf-seal {
  display: flex;
  align-items: center;
  gap: 10px;
  animation: none;
  margin-bottom: 4px;
}

.elf-seal img {
  width: 84px;
  height: 56px;
  object-fit: cover;
  border-radius: 50% / 40%;
  border: 1px solid #f0c16966;
  transform: rotate(-3deg);
  filter: none;
}

.elf-seal span {
  font-size: 8px;
  font-weight: 650;
  letter-spacing: 1.4px;
  color: var(--gold);
}

.reveal .lead {
  color: #c6d6c8;
}

.my-note {
  color: var(--muted);
  font-size: 12px;
  margin-top: 22px;
}

/* Participation card gets a warm gold wash */
.participation {
  background: linear-gradient(150deg, #f0c1690f, #f4e6c203 70%);
  border-color: #f0c16930;
}

/* --------------------------------------------------------------------------
   Confetti & animation
   -------------------------------------------------------------------------- */

.confetti i {
  color: var(--gold);
  top: -15%;
  opacity: 0;
  --drift: 20px;
  --turn: 300deg;
  text-shadow: 0 0 8px #f0c16940;
  animation: star-shower 4s linear both;
}

/* Each star has its own timing and path, overriding the original nth-child delays. */
.confetti i:nth-child(1) { left: 73.87%; animation-delay: 1.271s; animation-duration: 4.058s; --drift: -1.3px; --turn: 159.8deg; font-size: 24px; }
.confetti i:nth-child(2) { left: 85.01%; animation-delay: 1.046s; animation-duration: 4.472s; --drift: 47.0px; --turn: -128.4deg; font-size: 16px; }
.confetti i:nth-child(3) { left: 38.19%; animation-delay: 0.932s; animation-duration: 4.648s; --drift: 12.2px; --turn: -217.1deg; font-size: 19px; }
.confetti i:nth-child(4) { left: 27.73%; animation-delay: 1.619s; animation-duration: 4.591s; --drift: -1.2px; --turn: 79.5deg; font-size: 25px; }
.confetti i:nth-child(5) { left: 3.89%; animation-delay: 1.236s; animation-duration: 4.053s; --drift: 45.9px; --turn: 252.1deg; font-size: 27px; }
.confetti i:nth-child(6) { left: 9.07%; animation-delay: 0.457s; animation-duration: 3.770s; --drift: -13.7px; --turn: 181.0deg; font-size: 14px; }
.confetti i:nth-child(7) { left: 27.89%; animation-delay: 2.103s; animation-duration: 3.606s; --drift: 24.0px; --turn: 237.3deg; font-size: 21px; }
.confetti i:nth-child(8) { left: 44.57%; animation-delay: 1.426s; animation-duration: 3.236s; --drift: 19.9px; --turn: 114.4deg; font-size: 23px; }
.confetti i:nth-child(9) { left: 93.30%; animation-delay: 2.226s; animation-duration: 3.331s; --drift: -18.6px; --turn: 315.4deg; font-size: 20px; }
.confetti i:nth-child(10) { left: 95.10%; animation-delay: 2.319s; animation-duration: 3.964s; --drift: -7.7px; --turn: 302.2deg; font-size: 28px; }
.confetti i:nth-child(11) { left: 55.29%; animation-delay: 1.466s; animation-duration: 4.179s; --drift: -42.2px; --turn: -340.9deg; font-size: 27px; }
.confetti i:nth-child(12) { left: 67.81%; animation-delay: 0.395s; animation-duration: 3.492s; --drift: -32.6px; --turn: 84.8deg; font-size: 19px; }
.confetti i:nth-child(13) { left: 46.20%; animation-delay: 0.784s; animation-duration: 4.646s; --drift: 7.5px; --turn: 49.6deg; font-size: 22px; }
.confetti i:nth-child(14) { left: 29.33%; animation-delay: 2.898s; animation-duration: 4.381s; --drift: 37.9px; --turn: 98.5deg; font-size: 14px; }
.confetti i:nth-child(15) { left: 84.05%; animation-delay: 2.160s; animation-duration: 3.390s; --drift: 34.5px; --turn: -302.1deg; font-size: 16px; }
.confetti i:nth-child(16) { left: 11.89%; animation-delay: 0.140s; animation-duration: 3.127s; --drift: 24.1px; --turn: 170.8deg; font-size: 16px; }
.confetti i:nth-child(17) { left: 53.33%; animation-delay: 2.558s; animation-duration: 3.917s; --drift: -39.8px; --turn: -142.6deg; font-size: 12px; }
.confetti i:nth-child(18) { left: 64.78%; animation-delay: 0.352s; animation-duration: 2.899s; --drift: -24.7px; --turn: 326.9deg; font-size: 18px; }
.confetti i:nth-child(19) { left: 2.23%; animation-delay: 2.712s; animation-duration: 3.950s; --drift: -13.0px; --turn: -126.7deg; font-size: 13px; }
.confetti i:nth-child(20) { left: 75.58%; animation-delay: 0.801s; animation-duration: 3.933s; --drift: 41.6px; --turn: -278.3deg; font-size: 26px; }
.confetti i:nth-child(21) { left: 53.09%; animation-delay: 1.394s; animation-duration: 4.556s; --drift: -18.3px; --turn: -310.1deg; font-size: 13px; }
.confetti i:nth-child(22) { left: 61.86%; animation-delay: 2.935s; animation-duration: 3.922s; --drift: -37.6px; --turn: 9.9deg; font-size: 17px; }
.confetti i:nth-child(23) { left: 14.34%; animation-delay: 0.979s; animation-duration: 4.643s; --drift: -3.4px; --turn: 222.9deg; font-size: 23px; }
.confetti i:nth-child(24) { left: 25.58%; animation-delay: 0.579s; animation-duration: 3.265s; --drift: -15.9px; --turn: -310.3deg; font-size: 20px; }
.confetti i:nth-child(25) { left: 54.62%; animation-delay: 1.867s; animation-duration: 2.910s; --drift: 16.2px; --turn: 96.9deg; font-size: 26px; }
.confetti i:nth-child(26) { left: 22.94%; animation-delay: 0.660s; animation-duration: 4.489s; --drift: -11.5px; --turn: -28.1deg; font-size: 28px; }
.confetti i:nth-child(27) { left: 79.43%; animation-delay: 1.921s; animation-duration: 3.841s; --drift: 13.9px; --turn: -324.9deg; font-size: 22px; }
.confetti i:nth-child(28) { left: 70.04%; animation-delay: 1.183s; animation-duration: 3.716s; --drift: 20.2px; --turn: -290.4deg; font-size: 16px; }
.confetti i:nth-child(29) { left: 82.89%; animation-delay: 1.356s; animation-duration: 2.845s; --drift: 0.6px; --turn: -277.7deg; font-size: 27px; }
.confetti i:nth-child(30) { left: 8.87%; animation-delay: 2.782s; animation-duration: 4.502s; --drift: 38.2px; --turn: 301.5deg; font-size: 18px; }
.confetti i:nth-child(31) { left: 27.13%; animation-delay: 1.753s; animation-duration: 4.136s; --drift: -5.7px; --turn: 227.1deg; font-size: 16px; }
.confetti i:nth-child(32) { left: 58.17%; animation-delay: 2.423s; animation-duration: 2.901s; --drift: 45.3px; --turn: -97.1deg; font-size: 23px; }
.confetti i:nth-child(33) { left: 33.70%; animation-delay: 0.093s; animation-duration: 3.436s; --drift: -20.7px; --turn: 44.9deg; font-size: 23px; }
.confetti i:nth-child(34) { left: 13.60%; animation-delay: 0.253s; animation-duration: 3.084s; --drift: 16.4px; --turn: -342.2deg; font-size: 23px; }
.confetti i:nth-child(35) { left: 63.69%; animation-delay: 0.521s; animation-duration: 4.106s; --drift: -52.7px; --turn: -352.1deg; font-size: 27px; }
.confetti i:nth-child(36) { left: 77.78%; animation-delay: 2.581s; animation-duration: 3.381s; --drift: -46.8px; --turn: 206.6deg; font-size: 18px; }
.confetti i:nth-child(37) { left: 14.80%; animation-delay: 0.514s; animation-duration: 3.797s; --drift: 33.9px; --turn: 83.5deg; font-size: 14px; }
.confetti i:nth-child(38) { left: 84.68%; animation-delay: 2.957s; animation-duration: 3.059s; --drift: -18.3px; --turn: 22.0deg; font-size: 15px; }
.confetti i:nth-child(39) { left: 36.12%; animation-delay: 1.940s; animation-duration: 3.202s; --drift: 20.5px; --turn: 66.4deg; font-size: 12px; }
.confetti i:nth-child(40) { left: 50.82%; animation-delay: 2.502s; animation-duration: 4.707s; --drift: -3.9px; --turn: 107.9deg; font-size: 21px; }
.confetti i:nth-child(41) { left: 20.92%; animation-delay: 0.185s; animation-duration: 3.028s; --drift: 26.4px; --turn: -212.4deg; font-size: 27px; }
.confetti i:nth-child(42) { left: 17.87%; animation-delay: 0.876s; animation-duration: 3.555s; --drift: 28.7px; --turn: 334.5deg; font-size: 20px; }
.confetti i:nth-child(43) { left: 46.14%; animation-delay: 2.849s; animation-duration: 3.755s; --drift: -41.6px; --turn: 44.1deg; font-size: 26px; }
.confetti i:nth-child(44) { left: 54.99%; animation-delay: 0.225s; animation-duration: 3.581s; --drift: 25.4px; --turn: 223.4deg; font-size: 19px; }
.confetti i:nth-child(45) { left: 94.85%; animation-delay: 2.005s; animation-duration: 3.291s; --drift: 37.5px; --turn: -127.2deg; font-size: 15px; }
.confetti i:nth-child(46) { left: 65.67%; animation-delay: 0.282s; animation-duration: 4.738s; --drift: 41.3px; --turn: -103.4deg; font-size: 22px; }
.confetti i:nth-child(47) { left: 14.36%; animation-delay: 2.351s; animation-duration: 4.117s; --drift: 24.6px; --turn: -346.8deg; font-size: 19px; }
.confetti i:nth-child(48) { left: 27.26%; animation-delay: 0.729s; animation-duration: 4.157s; --drift: 30.9px; --turn: -37.0deg; font-size: 12px; }
.confetti i:nth-child(49) { left: 14.48%; animation-delay: 1.116s; animation-duration: 4.006s; --drift: -40.8px; --turn: 261.2deg; font-size: 27px; }
.confetti i:nth-child(50) { left: 67.93%; animation-delay: 1.666s; animation-duration: 4.664s; --drift: -26.8px; --turn: 16.7deg; font-size: 28px; }
.confetti i:nth-child(51) { left: 18.25%; animation-delay: 2.040s; animation-duration: 2.921s; --drift: -20.7px; --turn: -160.4deg; font-size: 24px; }
.confetti i:nth-child(52) { left: 97.46%; animation-delay: 0.612s; animation-duration: 4.453s; --drift: -0.6px; --turn: -80.6deg; font-size: 16px; }
.confetti i:nth-child(53) { left: 41.89%; animation-delay: 2.733s; animation-duration: 3.178s; --drift: 1.2px; --turn: 7.1deg; font-size: 27px; }
.confetti i:nth-child(54) { left: 76.35%; animation-delay: 1.502s; animation-duration: 4.263s; --drift: -0.0px; --turn: 302.6deg; font-size: 19px; }
.confetti i:nth-child(55) { left: 60.25%; animation-delay: 2.648s; animation-duration: 4.469s; --drift: -39.2px; --turn: -328.9deg; font-size: 18px; }
.confetti i:nth-child(56) { left: 15.81%; animation-delay: 1.801s; animation-duration: 2.898s; --drift: -26.5px; --turn: 342.1deg; font-size: 18px; }
.confetti i:nth-child(57) { left: 46.41%; animation-delay: 2.471s; animation-duration: 3.845s; --drift: 22.6px; --turn: 147.1deg; font-size: 26px; }
.confetti i:nth-child(58) { left: 73.08%; animation-delay: 1.005s; animation-duration: 4.441s; --drift: -11.1px; --turn: -321.8deg; font-size: 22px; }
.confetti i:nth-child(59) { left: 33.83%; animation-delay: 1.585s; animation-duration: 3.242s; --drift: -28.8px; --turn: 109.6deg; font-size: 18px; }
.confetti i:nth-child(60) { left: 74.55%; animation-delay: 2.261s; animation-duration: 2.997s; --drift: -21.5px; --turn: 16.9deg; font-size: 28px; }
.confetti i:nth-child(61) { left: 73.65%; animation-delay: 0.031s; animation-duration: 3.653s; --drift: -3.0px; --turn: 116.0deg; font-size: 15px; }
.confetti i:nth-child(62) { left: 31.29%; animation-delay: 1.691s; animation-duration: 3.313s; --drift: 48.8px; --turn: -35.5deg; font-size: 18px; }
.confetti i:nth-child(63) { left: 79.54%; animation-delay: 1.150s; animation-duration: 3.537s; --drift: -53.5px; --turn: -90.0deg; font-size: 15px; }
.confetti i:nth-child(64) { left: 67.41%; animation-delay: 2.144s; animation-duration: 4.125s; --drift: 40.1px; --turn: -130.2deg; font-size: 24px; }
.confetti i:nth-child(2n) { color: var(--red); }
.confetti i:nth-child(3n) { color: var(--mint); }
.confetti i:nth-child(4n) { color: var(--cream); }
.confetti i:nth-child(5n) { color: var(--gold-bright); }

@keyframes star-shower {
  0% { top: -15%; opacity: 0; transform: translateX(0) rotate(0deg); }
  8% { opacity: .8; }
  80% { opacity: .65; }
  100% { top: 110%; opacity: 0; transform: translateX(var(--drift)) rotate(var(--turn)); }
}

@media (prefers-reduced-motion: reduce) {
  .confetti { display: none; }
}

@keyframes float {
  50% { transform: translateY(-8px) rotate(5deg); }
}

@keyframes ember {
  from { opacity: 0.6; }
  to { opacity: 1; }
}

/* --------------------------------------------------------------------------
   Login link / messages
   -------------------------------------------------------------------------- */

.message-card {
  max-width: 560px;
  margin: 70px auto;
  padding: 38px 40px;
  text-align: center;
  background: linear-gradient(150deg, #17483b 0%, #0f372e 100%);
  border: 1px solid #f0c1694d;
  border-radius: 22px;
  box-shadow: 0 30px 70px #00140f77;
}

.message-card h1 {
  font-size: 54px;
  letter-spacing: -0.035em;
  color: var(--cream);
}

.message-card .lead {
  margin-left: auto;
  margin-right: auto;
  font-size: 15px;
}

.message-card .fine {
  margin-top: 18px;
}

.success-mark {
  font-size: 52px;
  margin-bottom: 18px;
}

.loading {
  color: var(--cream);
}

.spinner {
  border: 3px solid #ffffff24;
  border-top-color: var(--gold);
}

/* --------------------------------------------------------------------------
   Toasts & dialogs
   -------------------------------------------------------------------------- */

#toast {
  bottom: 24px;
  padding: 15px 22px;
  background: var(--gold);
  color: #12372c;
  border-radius: 11px;
  box-shadow: 0 12px 36px #00140f77;
  font-size: 13px;
  font-weight: 750;
}

#toast.error {
  background: var(--red-deep);
  color: #fff4e8;
}

dialog {
  padding: 32px;
  background: linear-gradient(150deg, #17483b 0%, #0e352c 100%);
  border: 1px solid #f0c16977;
  border-radius: 18px;
  color: var(--cream);
  box-shadow: 0 30px 80px #00140faa;
  max-width: 510px;
}

dialog::backdrop {
  background: #02120dcc;
  backdrop-filter: blur(5px);
}

dialog h2 {
  color: var(--cream);
  font-size: 34px;
}

dialog p {
  color: var(--muted);
  font-size: 14px;
}

dialog label {
  color: var(--cream-dim);
}

dialog .link-button {
  color: var(--cream);
}

.dev-box {
  border: 1px dashed #f0c16988;
  border-radius: 10px;
  padding: 14px;
  margin: 20px 0;
  font-size: 12px;
  background: #f0c16908;
  text-align: left;
}

.dev-box a {
  color: var(--gold);
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */

.footer {
  margin-top: 10px;
  padding: 22px 0 30px;
  border-top: 1px solid var(--line-strong);
  color: var(--muted);
  font-size: 10.5px;
  letter-spacing: 0.4px;
}

.footer span:last-child {
  color: var(--gold);
  font-weight: 650;
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */

@media (max-width: 1080px) {
  .shell { padding: 0 30px; }
  .hero { gap: 40px; }
  .hero h1 { font-size: clamp(54px, 7.2vw, 80px); }
  .poster { min-height: 525px; }
  .brand strong { font-size: 23px; }
  .top-note { display: none; }
  .workshop-banner { grid-template-columns: 160px 1fr 74px; gap: 20px; }
  .workshop-banner img { width: 160px; height: 124px; }
  .workshop-banner h2 { font-size: 29px; }
  .workshop-banner .elf-stamp { width: 68px; height: 68px; }
  .page-head h1 { font-size: 46px; }
}

@media (max-width: 760px) {
  .shell { padding: 0 21px; }

  .topbar {
    margin-top: 20px;
    min-height: 86px;
    gap: 10px;
  }

  .brand img { width: 37px; height: 37px; border-radius: 11px; }
  .brand strong { font-size: 19px; }
  .brand small { font-size: 6.5px; letter-spacing: 1.4px; }

  .topbar .link-button { font-size: 10.5px; padding: 7px 10px; }

  .holiday-lights { top: -16px; left: 0; right: 0; height: 18px; }
  .holiday-lights i { width: 4px; height: 8px; }
  .holiday-lights i:nth-child(2n) { visibility: hidden; }

  .chaos-ticker {
    margin-top: 14px;
    padding: 7px 8px;
    font-size: 7.5px;
    letter-spacing: 0.9px;
  }

  .chaos-ticker span { margin: 0 7px; }
  .chaos-ticker .desktop-ticker { display: none; }
  .chaos-ticker b { display: none; }

  .hero {
    grid-template-columns: 1fr;
    gap: 44px;
    padding: 38px 0 44px;
  }

  .hero h1 {
    font-size: clamp(60px, 15.5vw, 86px);
    letter-spacing: -0.05em;
  }

  .hero .lead { font-size: 15px; }

  .pill {
    font-size: 8px;
    letter-spacing: 1px;
    padding: 7px 11px;
    margin-bottom: 20px;
  }

  .login-card {
    margin-top: 24px;
    padding: 18px;
    border-radius: 16px;
  }

  .button { font-size: 12px; padding: 12px 16px; }

  .poster {
    min-height: 440px;
    margin: 0 2px;
    border-radius: 150px 150px 18px 18px;
  }

  .poster:before { inset: 9px; border-radius: 141px 141px 13px 13px; }
  .poster-heading { top: 32px; font-size: 14px; left: 32px; right: 32px; }
  .chaos-sticker { width: 50px; height: 50px; top: 100px; right: 18px; font-size: 18px; }
  .chaos-sticker small { font-size: 4.5px; }
  .elf-report { bottom: 50px; left: 26px; right: 26px; font-size: 6px; }
  .elf-report span { font-size: 5.5px; }
  .poster-caption { bottom: 22px; font-size: 6.5px; letter-spacing: 1.3px; }
  .s1 { left: 22px; font-size: 18px; }
  .s2 { right: 22px; font-size: 24px; }
  .s3 { font-size: 12px; }

  .steps {
    grid-template-columns: 1fr;
    gap: 11px;
    padding: 26px 0 32px;
  }

  .step { padding: 15px; }
  .step-number { width: 38px; height: 38px; font-size: 14px; }

  .workshop-banner {
    grid-template-columns: 96px 1fr;
    gap: 13px;
    min-height: 120px;
    padding: 10px 12px 10px 9px;
    margin-top: 22px;
    border-radius: 15px;
  }

  .workshop-banner img { width: 96px; height: 100px; }
  .workshop-banner h2 { font-size: 24px; }
  .workshop-banner p { font-size: 7px; letter-spacing: 1.1px; margin-bottom: 8px; }
  .workshop-banner .elf-stamp { display: none; }

  .page { padding: 28px 0 48px; }

  .page-head {
    align-items: flex-start;
    margin-bottom: 20px;
  }

  .page-head h1 { font-size: 38px; letter-spacing: -0.03em; }
  .page-head .lead { font-size: 13px; }
  .page-head .eyebrow { font-size: 8.5px; letter-spacing: 1.6px; }

  .tabs { width: 100%; }
  .tab { flex: 1; font-size: 11px; padding: 9px 8px; }

  .dashboard { grid-template-columns: 1fr; gap: 18px; }

  .sidebar {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
  }

  .sidebar .eyebrow { width: 100%; margin-bottom: 0; }
  .sidebar .event-link { width: auto; flex: 1; min-width: 140px; margin: 0; }
  .sidebar > .button { width: auto; align-self: center; }
  .sidebar > .fine { width: 100%; }

  .panel {
    padding: 20px 17px;
    border-radius: 16px;
  }

  .panel h2 { font-size: 26px; }
  .grid { grid-template-columns: 1fr; }
  .checklist { grid-template-columns: 1fr; }
  .section-head { align-items: flex-start; flex-wrap: wrap; }

  .metrics { gap: 9px; }
  .metric { flex: 1 1 calc(50% - 5px); min-width: 0; padding: 11px 13px; }
  .metric:last-child { flex-basis: 100%; }
  .metric strong { font-size: 21px; }

  .reveal {
    padding: 58px 18px 40px;
    min-height: 420px;
    border-radius: 18px;
  }

  .reveal:before { inset: 8px; border-radius: 13px; }

  .reveal:after {
    top: 16px;
    right: 16px;
    font-size: 7px;
    padding: 4px 10px;
    letter-spacing: 1.5px;
  }

  .reveal .eyebrow { font-size: 9px; letter-spacing: 1.8px; margin-bottom: 16px; }

  .recipient {
    font-size: clamp(56px, 16vw, 86px);
    letter-spacing: -0.05em;
    margin-bottom: 24px;
  }

  .recipient-meta { gap: 9px; }
  .recipient-meta div { padding: 9px 14px; }
  .recipient-meta strong { font-size: 17px; }
  .recipient-meta small { font-size: 8px; }

  .elf-seal img { width: 70px; height: 47px; }
  .elf-seal span { font-size: 6.5px; }

  .message-card {
    padding: 28px 20px;
    margin: 44px auto;
    border-radius: 18px;
  }

  .message-card h1 { font-size: 42px; letter-spacing: -0.035em; }
  .message-card .lead { font-size: 14px; }

  .person .actions { width: 100%; margin-left: 55px; }

  td, th { padding: 11px 5px; }

  .footer {
    flex-direction: column;
    gap: 8px;
    font-size: 9px;
    line-height: 1.7;
  }
}

@media (max-width: 420px) {
  .shell { padding: 0 16px; }
  .hero h1 { font-size: 58px; }
  .brand strong { font-size: 17px; }
  .brand small { font-size: 5.8px; letter-spacing: 1px; }
  .topbar .link-button { font-size: 9.5px; padding: 6px 7px; }
  .poster { min-height: 380px; }
  .workshop-banner h2 { font-size: 21px; }
  .page-head h1 { font-size: 34px; }
  .recipient { font-size: 52px; }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *:before,
  *:after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}

/* Storybook display lettering; controls and supporting copy keep the system font. */
h1, h2, .brand strong, .poster-heading {
  font-family: 'Mountains of Christmas', Georgia, serif;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.15;
}
.recipient { letter-spacing: 0; }

.wishlist-scroll { overflow-x: auto; }
.wishlist-table { width: 100%; }
.wishlist-table td { vertical-align: top; }
.wishlist-table input { width: 100%; min-width: 150px; }
.wishlist-table td:first-child { width: 50%; }
.wish-ideas li { margin: 14px 0; overflow-wrap: anywhere; }
.wish-ideas a { color: var(--gold); margin-left: 12px; }
.household-member { padding: 16px 0; border-bottom: 1px solid var(--line); margin-bottom: 12px; }
.household-member summary { cursor: pointer; margin-bottom: 12px; }
.household-member summary .fine { display: block; }
.household-link-form { width: 100%; display: flex; align-items: end; gap: 12px; }
.household-link-form label { flex: 1; min-width: 0; }
.household-link-form select { width: 100%; }
.tabs { flex-wrap: wrap; }
