:root {
  --text: #fff8f0;
  --muted: rgba(255, 248, 240, 0.92);
  --glass: rgba(8, 10, 14, 0.14);
  --glass-strong: rgba(8, 10, 14, 0.22);
  --chip: rgba(6, 8, 12, 0.94);
  --line: rgba(255, 255, 255, 0.22);
  --today: rgba(255, 255, 255, 0.2);
  --hadley: #ff7ac8;
  --kelsey: #3da9ff;
  --aiden: #2ee06a;
  --derek: #ffb347;
  --work: #3da9ff;
  --family: #ff9500;
  --birthday: #ff7ac8;
  --sports: #2ee06a;
  --holiday: #efe6d6;
  --kids: #cb30e0;
  --kwork: #40e0d0;
  --dwork: #d2b48c;
  --danger: #ffb4a2;
  --shadow: 0 2px 10px rgba(0, 0, 0, 0.88), 0 0 2px rgba(0, 0, 0, 0.95);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  height: 100%;
  overflow: hidden;
  color: var(--text);
  font-family: Outfit, "Avenir Next", "Segoe UI", sans-serif;
  background: #000;
}

.photos {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #000;
  overflow: hidden;
}

.photo-stage {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #000;
  opacity: 0;
  transition: opacity 1.8s ease;
  pointer-events: none;
}

.photo-stage.is-on {
  opacity: 1;
}

.photo-slot {
  position: relative;
  margin: 0;
  min-width: 0;
  min-height: 0;
  overflow: hidden;
  background: #000;
}

.photo-slot.is-off {
  display: none;
}

.photo-fill {
  display: none;
}

.photo-main {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  object-position: center;
}

.photo-stage[data-layout="solo"][data-shape="portrait"],
.photo-stage[data-layout="solo"][data-shape="square"] {
  display: grid;
  align-items: center;
  justify-items: center;
}

.photo-stage[data-layout="solo"][data-shape="portrait"] .photo-slot:first-child,
.photo-stage[data-layout="solo"][data-shape="square"] .photo-slot:first-child,
.photo-stage[data-layout="solo"][data-shape="landscape"] .photo-slot:first-child {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  width: auto;
  height: auto;
}

.photo-stage[data-layout="solo"][data-shape="landscape"] {
  display: block;
}

.photo-stage[data-layout="solo"][data-shape="landscape"] .photo-main {
  object-fit: contain;
}

.photo-stage[data-layout="pair"] {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  padding: 7vh 5vw;
  align-items: center;
}

.photo-stage[data-layout="pair"] .photo-slot {
  height: 78vh;
}

.photo-stage[data-layout="pair"][data-align="right"] .photo-slot:first-child {
  grid-column: 2;
}

.photo-slot.is-library {
  background: #24160f;
  border-radius: 22px;
}

.photo-slot.is-library .photo-main {
  object-fit: contain;
  padding: 5%;
}

.photo-slot.is-garbage {
  background: #141814;
  border-radius: 22px;
}

.photo-slot.is-garbage .photo-main {
  object-fit: contain;
  padding: 5%;
}

.photo-stage[data-layout="stack"] {
  display: grid;
  grid-template-rows: 1fr 1fr;
  gap: 14px;
  padding: 8vh 5vw;
}

.photo-stage[data-layout="stack"] .photo-main {
  object-fit: contain;
}

.scrim {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background:
    linear-gradient(
      180deg,
      rgba(8, 10, 14, 0.5) 0%,
      rgba(8, 10, 14, 0.12) 16%,
      rgba(8, 10, 14, 0.06) 50%,
      rgba(8, 10, 14, 0.16) 78%,
      rgba(8, 10, 14, 0.58) 100%
    );
  pointer-events: none;
}

.board {
  position: relative;
  z-index: 1;
  height: 100%;
  padding: 28px 36px 22px;
  display: grid;
  grid-template-rows: auto auto 1fr auto;
  gap: 14px;
}

.top {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: flex-start;
  gap: 24px;
}

.top-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
  justify-self: end;
}

/* Wall brand → /phone#list (Mac flip). Date stays plain. */
a.board-title-link {
  color: inherit;
  text-decoration: none;
  cursor: pointer;
  font-size: clamp(22px, 2.6vw, 34px);
  font-weight: 700;
  letter-spacing: -0.03em;
  text-shadow: var(--shadow);
  text-align: center;
  padding-top: 0.15em;
  white-space: nowrap;
  justify-self: center;
}

.und-badge {
  display: flex;
  align-items: center;
  gap: 12px;
}

.und-badge[hidden] {
  display: none;
}

.und-mark {
  width: 72px;
  height: auto;
  border-radius: 8px;
  background: #000;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.5);
}

.und-copy {
  text-align: right;
  text-shadow: var(--shadow);
}

.und-kicker {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #2ee06a;
}

.und-sub {
  margin-top: 2px;
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.noschool-badge {
  display: flex;
  align-items: center;
  gap: 12px;
}

.noschool-badge[hidden] {
  display: none;
}

.noschool-mark {
  width: 72px;
  height: 72px;
  border-radius: 12px;
  background: #2a1810;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.5);
}

.noschool-copy {
  text-align: right;
  text-shadow: var(--shadow);
}

.noschool-kicker {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #ffb4a2;
  line-height: 1.15;
}

.noschool-sub {
  margin-top: 2px;
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.noschool-sub:empty {
  display: none;
}

.library-badge {
  display: flex;
  align-items: center;
  gap: 12px;
}

.library-badge[hidden] {
  display: none;
}

.library-mark {
  width: 72px;
  height: 72px;
  border-radius: 12px;
  background: #1a120c;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.5);
}

.library-copy {
  text-align: right;
  text-shadow: var(--shadow);
}

.library-kicker {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--hadley);
}

.library-sub {
  margin-top: 2px;
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.garbage-badge {
  display: flex;
  align-items: center;
  gap: 12px;
}

.garbage-badge {
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.garbage-badge.is-out .garbage-mark {
  background: #1d3550;
  outline: 3px solid rgba(159, 211, 154, 0.85);
  outline-offset: 2px;
}

.garbage-badge.is-out .garbage-kicker {
  color: #9fd39a;
}

.garbage-badge[hidden] {
  display: none;
}

.garbage-mark {
  width: 72px;
  height: 72px;
  border-radius: 12px;
  background: #1a1c16;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.5);
}

.garbage-copy {
  text-align: right;
  text-shadow: var(--shadow);
}

.garbage-kicker {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #cfe3a8;
}

.garbage-sub {
  margin-top: 2px;
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.clock {
  font-size: clamp(52px, 6.8vw, 88px);
  font-weight: 600;
  letter-spacing: -0.045em;
  line-height: 0.9;
  font-variant-numeric: tabular-nums;
  text-shadow: var(--shadow);
}

.clock-sec {
  font-size: 0.42em;
  font-weight: 500;
  letter-spacing: -0.02em;
  opacity: 0.55;
  vertical-align: super;
}

.clock-ap {
  font-size: 0.32em;
  font-weight: 600;
  letter-spacing: 0.08em;
  opacity: 0.72;
  margin-left: 6px;
}

.up-next {
  margin-top: 12px;
  max-width: 720px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.up-kicker {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 248, 240, 0.62);
  text-shadow: var(--shadow);
}

.up-body {
  font-size: 22px;
  font-weight: 600;
  color: var(--muted);
  text-shadow: var(--shadow);
}

.up-body[data-kind="hadley"],
.up-body[data-kind="family"],
.up-body[data-kind="birthday"],
.up-body[data-kind="lunch"],
.up-body[data-kind="breakfast"] {
  color: var(--hadley);
}

.up-body[data-kind="kelsey"],
.up-body[data-kind="work"] {
  color: var(--kelsey);
}

.up-body[data-kind="aiden"],
.up-body[data-kind="sports"] {
  color: var(--aiden);
}

.up-body[data-kind="derek"] {
  color: var(--derek);
}

.up-body[data-kind="holiday"] {
  color: var(--holiday);
}

.up-body[data-source="kids"] {
  color: var(--kids);
}

.date-line {
  font-size: clamp(20px, 2.8vw, 36px);
  font-weight: 600;
  text-align: right;
  white-space: nowrap;
  text-shadow: var(--shadow);
  letter-spacing: -0.02em;
}

.alerts {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.alert {
  background: rgba(160, 48, 32, 0.72);
  border: 1px solid rgba(255, 180, 160, 0.35);
  border-radius: 999px;
  padding: 6px 14px;
  font-size: 16px;
  font-weight: 600;
}

.calendar {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  /* Each week row is at least as tall as its busiest day; quiet weeks share the rest. */
  grid-template-rows: auto repeat(3, minmax(min-content, 1fr));
  column-gap: 16px;
  row-gap: 8px;
  min-height: 0;
}

.dow {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 248, 240, 0.7);
  padding: 0 2px 8px;
  text-shadow: var(--shadow);
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.day {
  min-height: 0;
  padding: 4px 2px 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  display: flex;
  flex-direction: column;
  gap: 4px;
  overflow: visible;
}

.day.is-weekend .day-num {
  color: rgba(255, 248, 240, 0.62);
}

.day.is-today {
  background: linear-gradient(180deg, rgba(255, 248, 240, 0.1) 0%, rgba(255, 248, 240, 0.02) 42%, transparent 100%);
  border-radius: 14px;
  padding-left: 8px;
  padding-right: 8px;
  box-shadow: none;
  border: 0;
}

.day-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 8px;
  min-height: 22px;
  min-width: 0;
  flex: none;
}

.day-flags {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 8px;
  min-width: 0;
}

.day-flag {
  appearance: none;
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  color: #efe6d6;
  font: inherit;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 1.1;
  text-align: left;
  text-shadow: var(--shadow);
  cursor: pointer;
  white-space: nowrap;
}

.day-flag[data-kind="hadley"],
.day-flag[data-kind="family"],
.day-flag[data-kind="birthday"],
.day-flag[data-kind="school"] {
  color: var(--hadley);
}

.day-flag[data-source="work"],
.up-body[data-source="work"] {
  color: var(--kwork);
}

.day-flag[data-source="dwork"],
.up-body[data-source="dwork"] {
  color: var(--dwork);
}

.day-flag[data-source="kids"] {
  color: var(--kids);
}

.day-flag[data-source="plan"],
.up-body[data-source="plan"] {
  color: var(--family);
}

.day-num {
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1;
  text-shadow: var(--shadow);
}

.day-rot {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 1.15;
  color: var(--hadley);
  text-shadow: var(--shadow);
  min-width: 0;
  white-space: nowrap;
}

.day.is-today .day-num {
  width: auto;
  height: 26px;
  padding: 0 9px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: #fff8f0;
  color: #141414;
  text-shadow: none;
  font-size: 14px;
  font-weight: 700;
}

.day-name {
  display: none;
}

.events {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-height: 0;
  flex: 1;
  overflow: visible;
}

.event {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 1px;
  padding: 4px 8px 4px 9px;
  border-radius: 7px;
  background: rgba(8, 10, 14, 0.18);
  border: 0;
  border-left: 3px solid rgba(255, 255, 255, 0.55);
  font-size: 13px;
  line-height: 1.2;
  color: #fff;
  appearance: none;
  width: 100%;
  text-align: left;
  cursor: pointer;
  box-shadow: none;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.95), 0 0 8px rgba(0, 0, 0, 0.75);
  flex: 0 0 auto;
}

.event.is-allday {
  padding-top: 4px;
  padding-bottom: 4px;
}

.event[data-kind="hadley"],
.event[data-kind="family"] {
  border-left-color: var(--hadley);
  background: rgba(42, 10, 28, 0.2);
}
.event[data-kind="lunch"],
.event[data-kind="breakfast"] {
  border-left-color: var(--hadley);
  background: #14161a;
  color: #fff;
  text-shadow: none;
}
.event[data-kind="lunch"] .event-title,
.event[data-kind="lunch"] .event-meta,
.event[data-kind="breakfast"] .event-title,
.event[data-kind="breakfast"] .event-meta {
  overflow: visible;
  white-space: normal;
  text-overflow: unset;
  color: #fff;
}
.event[data-kind="lunch"] .event-meta,
.event[data-kind="breakfast"] .event-meta {
  font-size: 12px;
  font-weight: 600;
  line-height: 1.15;
  color: #fff;
}
.event[data-kind="library"] {
  border-left-color: var(--hadley);
  background: #14161a;
  color: var(--hadley);
  text-shadow: none;
}
.event[data-kind="garbage"] {
  border-left-color: #cfe3a8;
  background: #14161a;
  color: #cfe3a8;
  text-shadow: none;
}
.event[data-kind="kelsey"],
.event[data-kind="work"] {
  border-left-color: var(--kelsey);
  background: rgba(8, 28, 48, 0.2);
}
.event[data-kind="aiden"],
.event[data-kind="sports"] {
  border-left-color: var(--aiden);
  background: rgba(6, 36, 18, 0.2);
}
.event[data-kind="derek"] {
  border-left-color: var(--derek);
  background: rgba(42, 24, 6, 0.2);
}
.event[data-kind="birthday"] {
  border-left-color: var(--birthday);
  background: rgba(42, 10, 28, 0.2);
}
.event[data-kind="holiday"] {
  border-left-color: var(--holiday);
  background: rgba(28, 24, 16, 0.16);
}
.event[data-source="kids"] {
  border-left-color: var(--kids);
  background: rgba(48, 12, 56, 0.28);
}
.event[data-source="work"] {
  border-left-color: var(--kwork);
  background: rgba(6, 44, 44, 0.3);
}
.event[data-source="dwork"] {
  border-left-color: var(--dwork);
  background: rgba(44, 32, 16, 0.3);
}
.event[data-source="plan"] {
  border-left-color: var(--family);
  background: rgba(60, 14, 40, 0.3);
}

.event-title {
  min-width: 0;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  font-weight: 600;
}

.event-note {
  font-size: 0.78em;
  font-weight: 500;
  opacity: 0.82;
}

.event-meta {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: rgba(255, 248, 240, 0.78);
  font-variant-numeric: tabular-nums;
}

.badge-cost {
  display: inline-block;
  border-radius: 999px;
  padding: 0.05rem 0.45rem;
  font-size: 11px;
  font-weight: 650;
  line-height: 1.3;
  background: rgba(255, 248, 240, 0.16);
  color: rgba(255, 248, 240, 0.92);
}

.detail-cost {
  margin: 0.2rem 0 0;
  font-size: 0.95rem;
  font-weight: 650;
  color: rgba(40, 28, 18, 0.72);
}

.detail-cost[hidden] {
  display: none;
}

.detail-source {
  margin: 0.15rem 0 0;
  font-size: 0.9rem;
  color: rgba(40, 28, 18, 0.65);
}

.detail-source a {
  color: #2f6fed;
  font-weight: 650;
  text-decoration: none;
}

.detail-source[hidden] {
  display: none;
}

.day[data-count="4"] .event,
.day[data-count="5"] .event,
.day[data-count="6"] .event,
.day[data-count="7"] .event,
.day[data-count="8"] .event {
  padding-top: 2px;
  padding-bottom: 2px;
  font-size: 12px;
}

.more {
  font-size: 12px;
  font-weight: 600;
  color: rgba(255, 248, 240, 0.78);
  padding-left: 8px;
  text-shadow: var(--shadow);
}

.weather {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 48px;
  background: none;
  border: 0;
}

.wx-now {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 0;
  flex: none;
}

.wx-now-copy {
  min-width: 0;
}

.wx-now-row {
  display: flex;
  align-items: baseline;
  gap: 12px;
}

.wx-temp {
  font-size: 56px;
  font-weight: 600;
  line-height: 0.9;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.04em;
  text-shadow: var(--shadow);
}

.wx-condition {
  font-size: 20px;
  font-weight: 600;
  text-shadow: var(--shadow);
}

.wx-meta {
  margin-top: 8px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 18px;
  color: rgba(255, 248, 240, 0.88);
  font-size: 15px;
  font-weight: 600;
  text-shadow: var(--shadow);
}

.wx-fact {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.wx-fact svg {
  width: 18px;
  height: 18px;
  flex: none;
  filter: drop-shadow(0 1px 4px rgba(0, 0, 0, 0.7));
}

.wx-fact.is-rise {
  color: #ffd56a;
}

.wx-fact.is-set {
  color: #ff9a62;
}

.wx-fact.is-wind {
  color: #c9e4ff;
}

.wx-fact.is-place {
  color: rgba(255, 248, 240, 0.9);
}

.wx-days {
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  gap: 36px;
  min-width: 0;
}

.wx-day {
  padding: 0;
  background: none;
  border: 0;
  display: flex;
  flex-direction: column;
  min-width: 88px;
}

.wx-day.is-now {
  background: none;
}

.wx-day-name {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 248, 240, 0.72);
  text-shadow: var(--shadow);
}

.wx-day-icon {
  margin-top: 6px;
  width: 32px;
  height: 32px;
  color: #fff;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.7));
}

.wx-day-icon svg {
  width: 32px;
  height: 32px;
  display: block;
}

.wx-day-temps {
  margin-top: 6px;
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.wx-hi {
  font-size: 26px;
  font-weight: 600;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
  text-shadow: var(--shadow);
}

.wx-lo {
  font-size: 16px;
  font-weight: 500;
  color: rgba(255, 248, 240, 0.58);
  font-variant-numeric: tabular-nums;
  text-shadow: var(--shadow);
}

.wx-day-fc {
  margin-top: 3px;
  color: rgba(255, 248, 240, 0.82);
  font-size: 13px;
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-shadow: var(--shadow);
}

.wx-precip {
  margin-top: 4px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 13px;
  font-weight: 600;
  color: #9cdcff;
  letter-spacing: 0.02em;
  text-shadow: var(--shadow);
}

.wx-precip svg {
  width: 12px;
  height: 12px;
}

.wx-precip.is-empty {
  visibility: hidden;
}

.wx-icon {
  width: 64px;
  height: 64px;
  flex: none;
  filter: drop-shadow(0 3px 10px rgba(0, 0, 0, 0.55));
}

.wx-icon svg {
  width: 64px;
  height: 64px;
  display: block;
}

.detail {
  border: 0;
  padding: 0;
  background: transparent;
  color: inherit;
}

.detail::backdrop {
  background: rgba(0, 0, 0, 0.55);
}

.detail-card {
  width: min(560px, 92vw);
  margin: auto;
  padding: 28px;
  border-radius: 18px;
  background: #1c1f24;
  border: 1px solid var(--line);
}

.detail-kicker {
  margin: 0 0 6px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 12px;
  color: var(--muted);
}

.detail-card h2 {
  margin: 0 0 10px;
  font-size: 28px;
}

.detail-card p {
  margin: 0 0 8px;
  color: var(--muted);
}

.detail-card .lunch h3 {
  margin: 8px 0;
  font-size: 16px;
  color: #f7f4ef;
}

.detail-card .lunch ul {
  margin: 0 0 8px;
  padding-left: 1.1rem;
}

.detail-card .lunch-photos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin: 8px 0 12px;
}

.detail-card .lunch-photos figure {
  margin: 0;
}

.detail-card .lunch-photos img {
  display: block;
  width: 100%;
  height: 120px;
  object-fit: cover;
  border-radius: 10px;
  background: #111;
}

.detail-card .lunch-photos figcaption {
  margin-top: 4px;
  font-size: 12px;
  line-height: 1.2;
  color: var(--muted);
}

.detail-hint {
  font-size: 13px;
}

.detail-card button {
  margin-top: 12px;
  border: 0;
  border-radius: 999px;
  padding: 8px 16px;
  background: #f7f4ef;
  color: #111;
  font: inherit;
  font-weight: 600;
}

@media (max-width: 1200px) {
  .clock {
    font-size: 64px;
  }
  .date-line {
    font-size: 28px;
  }
  .wx-temp {
    font-size: 52px;
  }
}

#netlify-badge,
a[href*="netlify.com"]:not(.keep),
iframe[title*="Netlify"] {
  display: none !important;
}

/* "We're in" (Derek or Kelsey tapped I'm in): iOS orange, same as the subscribed iPhone calendar. */
.event[data-source="plan"],
.event[data-in="1"] {
  border-left-color: var(--family);
  background: rgba(70, 36, 0, 0.34);
}
.day-flag[data-in="1"],
.up-body[data-in="1"] {
  color: var(--family);
}

/* Maybe only (Derek or Kelsey said Maybe, nobody In): gray dashed and lighter, like /phone. Tentative. */
.event[data-maybe="1"] {
  border-left: 3px dashed rgba(200, 200, 210, 0.75);
  background: rgba(120, 120, 130, 0.12);
  outline: 1px dashed rgba(200, 200, 210, 0.45);
  outline-offset: -1px;
  opacity: 0.78;
}
.event[data-maybe="1"] .event-title::before,
.day-flag[data-maybe="1"]::before,
.up-body[data-maybe="1"]::before {
  content: "Maybe · ";
  font-weight: 500;
  color: rgba(220, 220, 230, 0.85);
}
.day-flag[data-maybe="1"],
.up-body[data-maybe="1"] {
  color: rgba(220, 220, 230, 0.8);
  font-style: italic;
}

/* UND final: greenish W / muted L on the game-day badge. */
.und-badge[data-result="W"] { box-shadow: inset 0 0 0 1.5px rgba(90, 200, 90, 0.55); }
.und-badge[data-result="L"] { box-shadow: inset 0 0 0 1.5px rgba(200, 120, 90, 0.45); opacity: 0.95; }
.event[data-kind="aiden"] .event-meta { font-variant-numeric: tabular-nums; }
