
#hoguera-new-days{position:fixed;inset:0;z-index:2147483400;display:none;overflow:auto;background:#142020;color:#fff;font-family:system-ui,-apple-system,Segoe UI,sans-serif}#hoguera-new-days *{box-sizing:border-box}#hoguera-new-days button{cursor:pointer;font:inherit}#hoguera-new-days .frame{position:relative;isolation:isolate;min-height:100dvh;max-width:640px;margin:auto;display:flex;flex-direction:column;overflow:hidden;background:#172027}#hoguera-new-days .photo{position:absolute;inset:0;z-index:-2;background-size:cover;background-position:center;filter:saturate(1.08) contrast(1.04)}#hoguera-new-days .veil{position:absolute;inset:0;z-index:-1;background:linear-gradient(180deg,rgba(8,15,17,.62),rgba(8,15,17,.12) 28%,rgba(8,15,17,.30) 60%,rgba(8,15,17,.73) 100%)}#hoguera-new-days .head{display:flex;justify-content:space-between;align-items:center;padding:15px 18px 0}#hoguera-new-days .head img{width:125px;max-height:86px;object-fit:contain;filter:drop-shadow(0 2px 4px #101617)}#hoguera-new-days .circle{border:1.5px solid #fff7e9;background:#142021a8;color:#fff;width:43px;height:43px;border-radius:50%;font-size:23px}#hoguera-new-days .music{position:absolute;right:18px;top:76px}#hoguera-new-days .heading{text-align:center;padding:28px 17px 0;text-shadow:0 2px 5px #0d1b1e}#hoguera-new-days h1{font-size:clamp(34px,8.3vw,53px);line-height:1.04;letter-spacing:-.045em;margin:0;color:#fff3dd;font-weight:850}#hoguera-new-days h1 b{display:block;font-size:1.12em;color:#ffca64;letter-spacing:-.035em}#hoguera-new-days .moment{font-size:clamp(17px,4.7vw,25px);font-weight:900;letter-spacing:.13em;margin-top:16px}#hoguera-new-days .subtitle{font-size:14px;font-weight:650;color:#ffdeac;margin-top:4px}#hoguera-new-days .copy{flex:1;display:flex;flex-direction:column;justify-content:center;gap:15px;padding:28px 25px 35px;text-align:center}#hoguera-new-days .copy p{margin:0;font-size:clamp(17px,4.2vw,22px);line-height:1.43;font-weight:610;color:#fffdf6;text-shadow:0 2px 5px #061215,0 0 3px #061215}#hoguera-new-days .frame[data-moment="2"] .copy p:not(:last-of-type){font-size:clamp(16px,3.7vw,19px);font-weight:550}#hoguera-new-days .copy p:last-of-type{font-size:clamp(22px,5.1vw,29px);font-weight:850;color:#ffd68a;line-height:1.29}#hoguera-new-days .frame[data-moment="0"] .copy p{font-size:clamp(18px,4.2vw,22px);font-weight:600}#hoguera-new-days .reading{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:8px}#hoguera-new-days .reading a,#hoguera-new-days .actions button{border:1px solid #e8bd7b;background:#142523d6;border-radius:12px;padding:12px 8px;color:#fff;text-decoration:none;font-size:12px;font-weight:750}#hoguera-new-days .notes{align-self:center;width:38px;height:38px;border-radius:50%;border:1px solid #e9c78d;background:#122321a8;color:#fff;font-size:20px}#hoguera-new-days .actions{display:grid;grid-template-columns:repeat(3,1fr);gap:7px}#hoguera-new-days .nav{display:grid;grid-template-columns:repeat(5,1fr);gap:2px;background:#0b1c1bbd;padding:12px 6px max(17px,env(safe-area-inset-bottom));border-top:1px solid #e9c78d66}#hoguera-new-days .nav button{border:0;background:none;color:#fff;font-size:9px;font-weight:700;padding:5px 0}#hoguera-new-days .nav button.active{color:#ffce69}#hoguera-new-days .nav svg{display:block;width:25px;height:25px;margin:0 auto 5px}#hoguera-new-days[data-profile="personal"] h1 b{color:#d7e8c4}#hoguera-new-days[data-profile="couple"] h1 b{color:#f3c69c}#hoguera-new-days[data-profile="young"] h1 b{color:#ffcd43}#hoguera-new-days[data-profile="kids"] h1 b{color:#ffd13c}#hoguera-new-days[data-profile="kids"] h1{font-family:system-ui,sans-serif}#hoguera-new-days[data-profile="family"] h1{font-family:Georgia,serif}#hoguera-new-days[data-profile="personal"] h1{font-family:Georgia,serif}#hoguera-new-days[data-profile="couple"] h1{font-family:Georgia,serif}#hoguera-new-days .note-cover{position:absolute;inset:0;background:#07100edb;display:flex;align-items:center;justify-content:center;padding:20px;z-index:10}#hoguera-new-days .note-dialog{background:#eae0d5;color:#172027;padding:22px;border-radius:15px;width:min(100%,460px)}#hoguera-new-days .note-dialog textarea{width:100%;height:150px;margin:12px 0;padding:10px;border:1px solid #76523c;border-radius:7px}#hoguera-new-days .note-dialog button{padding:10px;border:1px solid #76523c;border-radius:8px;margin:3px;background:#172027;color:white}


/* The paper and brush accents sit above the existing photography. */
#hoguera-new-days .frame {
  --paper: #fff1d6;
  --ink: #192a2d;
  --accent: #f4bf49;
  --wash: #f4dfb2;
  --wash-ink: #563816;
}
#hoguera-new-days .frame[data-moment="2"] {
  --accent: #bad184;
  --wash: #e1eac9;
  --wash-ink: #2b421d;
}
#hoguera-new-days .frame[data-moment="3"] {
  --accent: #9ed8df;
  --wash: #d5edf0;
  --wash-ink: #183e48;
}
#hoguera-new-days .frame[data-moment="4"] {
  --accent: #f4bf49;
  --wash: #145153;
  --wash-ink: #fff9e9;
}

#hoguera-new-days .frame :is(.shade,.veil) {
  background: linear-gradient(180deg,#0d1718bd 0%,#0d171857 32%,#0d171820 68%,#0d1718d9 100%) !important;
}
#hoguera-new-days .heading { padding: 10px 48px 0; }
#hoguera-new-days .frame h1 {
  display: table;
  position: relative;
  isolation: isolate;
  margin: 9px auto 5px !important;
  max-width: min(100%,26rem) !important;
  padding: 7px 17px 9px;
  font: italic 750 clamp(18px,4.9vw,28px)/1.15 Georgia,serif !important;
  color: var(--ink) !important;
  letter-spacing: -.025em !important;
  text-shadow: none !important;
  text-wrap: balance;
}
#hoguera-new-days .frame h1 b { display: inline; color: inherit; font: inherit; letter-spacing: inherit; }
#hoguera-new-days .frame h1::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--accent);
  clip-path: polygon(0 34%,6% 18%,3% 12%,22% 10%,36% 4%,57% 7%,79% 2%,94% 11%,100% 24%,96% 32%,100% 50%,97% 62%,98% 76%,88% 88%,69% 91%,55% 97%,40% 92%,19% 99%,6% 85%,2% 70%,4% 55%);
}
#hoguera-new-days .frame :is(.moment-label,.moment) {
  margin: 8px 0 0 !important;
  font-size: clamp(23px,6vw,36px) !important;
  letter-spacing: .055em !important;
  line-height: 1.1;
  color: #fffaf0 !important;
  text-shadow: 0 2px 8px #07181c !important;
}
#hoguera-new-days .frame :is(.moment-label,.moment)::after {
  content: "";
  display: block;
  width: min(36%,132px);
  height: 4px;
  border-radius: 72% 44% 33% 48%;
  background: var(--accent);
  margin: 6px auto 1px;
  transform: rotate(-1.6deg);
}
#hoguera-new-days .frame :is(.sub,.subtitle) {
  color: #fff7e6 !important;
  font-size: clamp(14px,3.8vw,18px) !important;
  text-shadow: 0 1px 6px #07181c !important;
}
#hoguera-new-days .frame .copy { padding: 18px clamp(17px,4.6vw,29px) 13px; gap: 0; }

#hoguera-new-days .reading-sheet {
  position: relative;
  isolation: isolate;
  width: min(100%,34rem);
  margin: 0 auto;
  padding: clamp(22px,6vw,33px) clamp(19px,6vw,35px);
  text-align: center;
}
#hoguera-new-days .reading-sheet::before,
#hoguera-new-days .reading-sheet::after {
  content: "";
  position: absolute;
  pointer-events: none;
  z-index: -1;
}
#hoguera-new-days .reading-sheet::before {
  inset: 0;
  background: linear-gradient(155deg,#fff9e8 12%,var(--paper) 70%,#f0ddb8);
  border-radius: 16% 10% 14% 9% / 12% 15% 11% 15%;
  clip-path: polygon(1% 15%,4% 13%,2% 10%,6% 9%,7% 6%,13% 7%,18% 3%,29% 4%,39% 1%,53% 2%,62% 0,74% 3%,84% 2%,89% 5%,96% 7%,95% 10%,99% 13%,97% 19%,100% 27%,98% 34%,99% 40%,98% 53%,100% 62%,98% 73%,99% 81%,97% 83%,98% 89%,94% 90%,94% 94%,86% 96%,77% 96%,70% 100%,58% 98%,45% 100%,33% 98%,21% 100%,15% 97%,8% 97%,9% 94%,3% 92%,4% 88%,1% 86%,3% 78%,0 70%,2% 62%,0 51%,2% 42%,0 36%,2% 29%,1% 21%);
}
#hoguera-new-days .reading-sheet::after {
  width: 38%;
  height: 4px;
  left: 31%;
  bottom: 12px;
  background: var(--accent);
  border-radius: 88% 56% 37% 29%;
  transform: rotate(-1.5deg);
}
#hoguera-new-days[id] .frame :is(.panel,.copy) .reading-sheet p {
  margin: 0 auto !important;
  font: 550 clamp(16px,3.9vw,20px)/1.45 system-ui,sans-serif !important;
  color: var(--ink) !important;
  text-shadow: none !important;
  letter-spacing: 0 !important;
  text-wrap: pretty !important;
}
#hoguera-new-days[id] .frame :is(.panel,.copy) .reading-sheet p + p { margin-top: .7em !important; }
#hoguera-new-days .frame .reading-sheet :is(h2,strong) { color: #63431d !important; text-shadow: none !important; }
#hoguera-new-days .frame .reading-sheet h2 {
  font: 750 clamp(19px,5vw,27px)/1.2 Georgia,serif !important;
  margin: 0 auto .55em !important;
}
#hoguera-new-days[id] .frame[data-moment="1"] :is(.panel,.copy) .reading-sheet p {
  font: italic 750 clamp(23px,6vw,34px)/1.2 Georgia,serif !important;
  text-wrap: balance !important;
}
#hoguera-new-days .frame[data-moment="2"] .reading-sheet p:last-of-type {
  color: var(--wash-ink) !important;
  font: italic 750 clamp(16px,4.15vw,22px)/1.35 Georgia,serif !important;
  padding: .55em .65em;
  background: var(--wash);
  border-radius: 9% 15% 12% 16% / 23% 32% 25% 20%;
  text-wrap: balance !important;
}
#hoguera-new-days[id] .frame :is(.panel,.copy) .reading-sheet p:last-of-type strong { color: inherit !important; }

#hoguera-new-days .frame .reading {
  grid-template-columns: repeat(2,minmax(0,1fr));
  width: min(100%,30rem);
  margin: 11px auto 0 !important;
  gap: 9px !important;
}
#hoguera-new-days .frame :is(.reading a,.actions button,.hg2-notes-launch,.notes) {
  background: var(--paper) !important;
  color: var(--ink) !important;
  border: 1.5px solid var(--accent) !important;
  border-radius: 15px 19px 15px 19px !important;
  text-shadow: none !important;
  box-shadow: 0 3px 12px #09191c63 !important;
}
#hoguera-new-days .frame .notes { margin: 10px auto 0; }
#hoguera-new-days .frame .actions { margin-top: 11px; }
#hoguera-new-days .frame .nav button.active { color: var(--accent) !important; }
#hoguera-new-days .frame .nav button.active { box-shadow: inset 0 -3px 0 var(--accent); }
@media (max-width: 360px) {
  #hoguera-new-days .heading { padding-inline: 34px; }
  #hoguera-new-days .reading-sheet { padding-inline: 17px; }
}


/* Upright profile typography keeps the approved colors and paper treatment. */
#hoguera-new-days[data-profile="family"] { --profile-display: "Palatino Linotype", "Book Antiqua", Palatino, P052, Georgia, serif; }
#hoguera-new-days[data-profile="personal"] { --profile-display: "Bitstream Charter", Charter, Georgia, serif; }
#hoguera-new-days[data-profile="young"] { --profile-display: "Arial Narrow", "Nimbus Sans Narrow", "Roboto Condensed", Arial, sans-serif; }
#hoguera-new-days[data-profile="couple"] { --profile-display: Georgia, "Nimbus Roman", "Times New Roman", serif; }
#hoguera-new-days[data-profile="kids"] { --profile-display: "Century Gothic", "URW Gothic", "Trebuchet MS", system-ui, sans-serif; }

#hoguera-new-days[id] .frame :is(h1,.moment-label,.moment,.sub,.subtitle),
#hoguera-new-days[id] .frame :is(.panel,.copy) .reading-sheet h2,
#hoguera-new-days[id] .frame[data-moment="1"] :is(.panel,.copy) .reading-sheet p,
#hoguera-new-days[id] .frame:is([data-moment="2"],[data-moment="3"],[data-moment="4"]) :is(.panel,.copy) .reading-sheet p:last-of-type {
  font-family: var(--profile-display,system-ui) !important;
  font-style: normal !important;
}

#hoguera-new-days .day-image{display:grid;place-items:center;border:1.5px solid var(--accent);border-radius:15px 19px 15px 19px;background:var(--paper);color:var(--ink);text-decoration:none;padding:12px 8px;font-size:12px;font-weight:750;box-shadow:0 3px 12px #09191c63}#hoguera-new-days .day-image:focus-visible{outline:2px solid #fff;outline-offset:2px}
#hoguera-new-days {
  overscroll-behavior: contain;
}
#hoguera-new-days .frame h1 {
  overflow-wrap: anywhere;
  text-wrap: balance;
}
#hoguera-new-days .frame h1 b {
  text-transform: uppercase;
}
#hoguera-new-days .feedback {
  margin-inline: auto;
  font-size: 0.875rem;
  color: #fff0ce;
  text-align: center;
}
#hoguera-new-days .feedback:not(:empty) {
  margin-top: 0.65rem;
}
#hoguera-new-days :is(button, a, textarea):focus-visible {
  outline: 2px solid #fff0ce;
  outline-offset: 3px;
}
#hoguera-new-days .note-dialog label {
  display: block;
  font-weight: 700;
}
button[data-hoguera-day] .day-title {
  display: block;
}

/* Day 1 has the original reading instructions in the family profile. */
#hoguera-new-days[data-day="1"] .reading a :is(strong, span, small) {
  display: block;
}
#hoguera-new-days[data-day="1"] .reading a span {
  margin-block: .4em;
  font-weight: 500;
}
#hoguera-new-days[data-day="1"] .reading a small {
  font-size: inherit;
}
