/* DSE V7.7 — National Moment & Event Automation
   Seluruh aturan di file ini bersifat terisolasi. Desain normal V7.6.2 kembali utuh ketika tidak ada momen aktif. */

:root {
  --v77-primary: #075c45;
  --v77-primary-deep: #043b2f;
  --v77-accent: #e5bd43;
  --v77-accent-soft: #fff1b8;
  --v77-surface: #fffdf6;
  --v77-text: #103d32;
}

.v77-moment[hidden],
.v77-dashboard-moment[hidden],
.v77-login-moment[hidden] { display: none !important; }

.v77-moment-card {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(circle at 85% 12%, color-mix(in srgb, var(--v77-accent) 52%, transparent), transparent 25%),
    linear-gradient(135deg, var(--v77-primary-deep), var(--v77-primary) 58%, color-mix(in srgb, var(--v77-primary) 70%, #0c8b67));
  border: 1px solid color-mix(in srgb, var(--v77-accent) 52%, transparent);
  box-shadow: 0 24px 60px rgba(3, 58, 44, .24);
}

.v77-moment-card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(118deg, transparent 0 34%, rgba(255,255,255,.09) 35% 36%, transparent 37% 100%),
    repeating-linear-gradient(135deg, rgba(255,255,255,.025) 0 1px, transparent 1px 14px);
  z-index: -1;
}

.v77-moment-card::after {
  content: "";
  position: absolute;
  width: 280px;
  height: 280px;
  border: 1px solid rgba(255,255,255,.13);
  border-radius: 50%;
  right: -120px;
  bottom: -170px;
  box-shadow: 0 0 0 34px rgba(255,255,255,.035), 0 0 0 70px rgba(255,255,255,.025);
  z-index: -1;
}

.v77-moment-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.v77-moment-brand img {
  width: 38px;
  height: 38px;
  object-fit: contain;
  filter: drop-shadow(0 5px 12px rgba(0,0,0,.18));
}

.v77-moment-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 18px 0 8px;
  font-size: .74rem;
  font-weight: 800;
  letter-spacing: .17em;
  text-transform: uppercase;
  color: var(--v77-accent-soft);
}

.v77-moment-label::before {
  content: "";
  width: 32px;
  height: 2px;
  border-radius: 999px;
  background: var(--v77-accent);
}

.v77-moment-title {
  margin: 0;
  max-width: 760px;
  color: #fff;
  font-weight: 900;
  line-height: .98;
  letter-spacing: -.045em;
  text-wrap: balance;
}

.v77-moment-title span { color: var(--v77-accent); }

.v77-moment-date {
  display: inline-flex;
  align-items: center;
  margin-top: 14px;
  padding: 7px 14px;
  border-radius: 999px;
  color: var(--v77-primary-deep);
  background: linear-gradient(135deg, #fff4be, var(--v77-accent));
  box-shadow: 0 8px 20px rgba(0,0,0,.15);
  font-weight: 900;
  font-size: .78rem;
  letter-spacing: .04em;
}

.v77-moment-tagline {
  margin: 16px 0 0;
  max-width: 720px;
  color: rgba(255,255,255,.92);
  font-size: 1rem;
  line-height: 1.7;
}

.v77-moment-message {
  margin: 8px 0 0;
  max-width: 720px;
  color: rgba(255,255,255,.7);
  font-size: .84rem;
  line-height: 1.65;
}

.v77-moment-scene {
  position: absolute;
  right: 2%;
  bottom: -2px;
  width: min(41%, 420px);
  height: auto;
  opacity: .98;
  filter: drop-shadow(0 25px 25px rgba(0,0,0,.22));
  pointer-events: none;
}

.v77-moment-icon-disc {
  position: absolute;
  right: 8%;
  top: 12%;
  width: 92px;
  height: 92px;
  display: grid;
  place-items: center;
  border-radius: 30px;
  color: var(--v77-primary-deep);
  background: linear-gradient(145deg, #fff6c8, var(--v77-accent));
  border: 1px solid rgba(255,255,255,.62);
  box-shadow: 0 18px 34px rgba(0,0,0,.2), inset 0 1px 0 rgba(255,255,255,.8);
  transform: rotate(3deg);
  animation: v77IconFloat 4.8s ease-in-out infinite;
}

.v77-moment-icon-disc svg { width: 56px; height: 56px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.v77-particles { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 2; }
.v77-particle {
  position: absolute;
  top: -18px;
  width: 8px;
  height: 15px;
  border-radius: 3px;
  background: var(--v77-accent);
  opacity: .82;
  animation: v77ParticleFall var(--duration, 6s) linear infinite;
  animation-delay: var(--delay, 0s);
  transform: translate3d(0,0,0) rotate(var(--rotate, 0deg));
}
.v77-particle:nth-child(3n) { background: #fff; width: 5px; height: 10px; }
.v77-particle:nth-child(4n) { background: #ef4444; }
.v77-particle:nth-child(5n) { border-radius: 50%; height: 8px; }

.v77-flag-ribbon {
  position: absolute;
  z-index: 1;
  width: 260px;
  height: 55px;
  opacity: .9;
  filter: blur(.1px) drop-shadow(0 8px 12px rgba(0,0,0,.12));
  pointer-events: none;
}
.v77-flag-ribbon.top { top: 0; left: -42px; transform: rotate(-14deg); }
.v77-flag-ribbon.bottom { bottom: 2px; right: -64px; transform: rotate(9deg) scaleX(-1); }
.v77-flag-ribbon::before,
.v77-flag-ribbon::after { content: ""; display: block; height: 50%; border-radius: 55% 30% 55% 35%; }
.v77-flag-ribbon::before { background: #ef3340; }
.v77-flag-ribbon::after { background: rgba(255,255,255,.96); }

/* Splash event: only replaces visible splash copy while active. Progress and version stay untouched. */
#v77SplashMoment {
  width: min(920px, calc(100vw - 34px));
  min-height: 430px;
  padding: clamp(24px, 5vw, 52px);
  border-radius: 34px;
  text-align: left;
}
#v77SplashMoment .v77-moment-title { font-size: clamp(2.45rem, 8vw, 5.35rem); max-width: 70%; }
#v77SplashMoment .v77-moment-tagline { max-width: 61%; }
#v77SplashMoment .v77-moment-message { max-width: 56%; }
body.v77-splash-theme #appSplash .splash-shell { width: min(980px, 100%); max-width: 980px; }
body.v77-splash-theme #appSplash .splash-shell > :not(#v77SplashMoment):not(.splash-progress-wrap):not(.splash-version) { display: none !important; }
body.v77-splash-theme #appSplash .splash-progress-wrap { width: min(720px, calc(100vw - 60px)); margin: 20px auto 0; }
body.v77-splash-theme #appSplash .splash-version { margin-top: 13px; color: rgba(255,255,255,.75); }

/* Login event banner */
#v77LoginMoment {
  width: 100%;
  margin: -2px 0 18px;
  padding: 22px 22px 24px;
  border-radius: 26px;
  text-align: left;
}
#v77LoginMoment .v77-moment-brand img { width: 30px; height: 30px; }
#v77LoginMoment .v77-moment-title { font-size: clamp(1.65rem, 5vw, 2.35rem); max-width: 76%; }
#v77LoginMoment .v77-moment-label { margin-top: 12px; }
#v77LoginMoment .v77-moment-tagline { max-width: 75%; margin-top: 11px; font-size: .86rem; line-height: 1.55; }
#v77LoginMoment .v77-moment-message { display: none; }
#v77LoginMoment .v77-moment-scene { width: 38%; right: -2%; }
#v77LoginMoment .v77-moment-icon-disc { width: 58px; height: 58px; border-radius: 20px; right: 5%; top: 12%; }
#v77LoginMoment .v77-moment-icon-disc svg { width: 34px; height: 34px; }
body.v77-login-theme #loginPage .login-container { max-width: 560px; }

/* Dashboard hero replaces the normal dashboard hero only while active. */
#v77DashboardMoment {
  min-height: 440px;
  padding: clamp(30px, 5vw, 62px);
  border-radius: 34px;
  margin-bottom: 28px;
  display: flex;
  align-items: center;
}
#v77DashboardMoment .v77-moment-copy { position: relative; z-index: 3; width: 63%; }
#v77DashboardMoment .v77-moment-title { font-size: clamp(2.5rem, 6vw, 5.25rem); }
#v77DashboardMoment .v77-moment-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
#v77DashboardMoment .v77-moment-action {
  border: 0;
  border-radius: 16px;
  padding: 13px 18px;
  font-family: inherit;
  font-weight: 800;
  cursor: pointer;
  color: var(--v77-primary-deep);
  background: linear-gradient(135deg, #fff4be, var(--v77-accent));
  box-shadow: 0 12px 24px rgba(0,0,0,.13);
}
#v77DashboardMoment .v77-moment-action.secondary { color: #fff; background: rgba(255,255,255,.11); border: 1px solid rgba(255,255,255,.25); box-shadow: none; }
body.v77-dashboard-theme #dashboardPage > .hero-dashboard { display: none !important; }

/* Event management page */
.v77-page .v77-status-grid,
.v77-page .v77-calendar-grid { display: grid; gap: 16px; }
.v77-page .v77-status-grid { grid-template-columns: repeat(3, minmax(0,1fr)); margin-bottom: 20px; }
.v77-page .v77-status-card {
  padding: 20px;
  border-radius: 22px;
  border: 1px solid rgba(7,92,69,.12);
  background: rgba(255,255,255,.82);
  box-shadow: 0 12px 30px rgba(16,61,50,.08);
}
.v77-page .v77-status-card span { display: block; color: #71857e; font-size: .72rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.v77-page .v77-status-card strong { display: block; margin-top: 8px; color: #123f34; font-size: 1.25rem; }
.v77-page .v77-status-card small { display: block; margin-top: 6px; color: #74847e; line-height: 1.5; }
.v77-current-preview { min-height: 320px; padding: 30px; border-radius: 28px; margin-bottom: 20px; }
.v77-current-preview .v77-moment-title { font-size: clamp(2rem,5vw,4rem); max-width: 70%; }
.v77-current-preview .v77-moment-tagline { max-width: 62%; }
.v77-empty-state {
  padding: 28px;
  border: 1px dashed rgba(7,92,69,.24);
  border-radius: 22px;
  text-align: center;
  color: #6b7f78;
  background: rgba(255,255,255,.66);
}
.v77-calendar-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
.v77-calendar-card {
  display: grid;
  grid-template-columns: 64px minmax(0,1fr) auto;
  align-items: center;
  gap: 14px;
  padding: 17px;
  border-radius: 20px;
  border: 1px solid rgba(7,92,69,.11);
  background: rgba(255,255,255,.82);
}
.v77-calendar-card.is-active { border-color: color-mix(in srgb, var(--v77-accent) 78%, #fff); box-shadow: 0 0 0 3px color-mix(in srgb, var(--v77-accent) 17%, transparent); }
.v77-calendar-date {
  display: grid;
  place-items: center;
  min-height: 58px;
  padding: 6px;
  border-radius: 17px;
  color: #fff;
  text-align: center;
  background: linear-gradient(145deg, #075c45, #0b8060);
}
.v77-calendar-date strong { font-size: 1.25rem; line-height: 1; }
.v77-calendar-date small { margin-top: 4px; font-size: .65rem; text-transform: uppercase; }
.v77-calendar-copy strong { display: block; color: #163f35; }
.v77-calendar-copy small { display: block; margin-top: 4px; color: #72827c; line-height: 1.45; }
.v77-calendar-badge { padding: 6px 10px; border-radius: 999px; color: #075c45; background: #e8f7f1; font-size: .68rem; font-weight: 800; }

.v77-editor-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 15px; }
.v77-editor-grid .v77-span-2 { grid-column: 1 / -1; }
.v77-check-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 10px; }
.v77-check-item {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 46px;
  padding: 10px 12px;
  border-radius: 14px;
  background: #f2f8f5;
  color: #234c40;
  font-size: .82rem;
  font-weight: 700;
}
.v77-check-item input { width: 18px; height: 18px; accent-color: #08795b; }
.v77-custom-list { display: grid; gap: 12px; }
.v77-custom-card {
  display: grid;
  grid-template-columns: minmax(0,1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 17px;
  border-radius: 18px;
  border: 1px solid rgba(7,92,69,.12);
  background: rgba(255,255,255,.86);
}
.v77-custom-card strong { color: #173f35; }
.v77-custom-card small { display: block; color: #71827b; margin-top: 4px; }
.v77-custom-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 7px; }
.v77-mini-btn {
  border: 1px solid rgba(7,92,69,.15);
  border-radius: 11px;
  padding: 8px 10px;
  color: #075c45;
  background: #f5fbf8;
  font: 700 .72rem/1 inherit;
  cursor: pointer;
}
.v77-mini-btn.danger { color: #9f2020; background: #fff3f3; border-color: #f3c7c7; }
.v77-preview-bar {
  position: fixed;
  z-index: 10050;
  left: 50%;
  bottom: 92px;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 12px;
  width: min(560px, calc(100vw - 32px));
  padding: 13px 15px;
  border-radius: 17px;
  color: #fff;
  background: #102f28;
  box-shadow: 0 20px 45px rgba(0,0,0,.28);
}
.v77-preview-bar strong { flex: 1; font-size: .82rem; }
.v77-preview-bar button { border: 0; border-radius: 10px; padding: 8px 11px; font-weight: 800; cursor: pointer; }

@keyframes v77ParticleFall {
  0% { transform: translate3d(0,-20px,0) rotate(0deg); opacity: 0; }
  12% { opacity: .9; }
  100% { transform: translate3d(var(--drift, 28px), 620px,0) rotate(440deg); opacity: 0; }
}
@keyframes v77IconFloat {
  0%,100% { transform: translateY(0) rotate(3deg); }
  50% { transform: translateY(-10px) rotate(-2deg); }
}

@media (max-width: 860px) {
  #v77SplashMoment { min-height: 480px; padding: 26px 22px; }
  #v77SplashMoment .v77-moment-title { max-width: 88%; font-size: clamp(2.25rem,12vw,4.3rem); }
  #v77SplashMoment .v77-moment-tagline, #v77SplashMoment .v77-moment-message { max-width: 78%; }
  #v77DashboardMoment { min-height: 500px; padding: 28px 24px; align-items: flex-start; }
  #v77DashboardMoment .v77-moment-copy { width: 100%; }
  #v77DashboardMoment .v77-moment-title { max-width: 90%; font-size: clamp(2.35rem,11vw,4.2rem); }
  #v77DashboardMoment .v77-moment-tagline { max-width: 82%; }
  #v77DashboardMoment .v77-moment-message { max-width: 78%; }
  #v77DashboardMoment .v77-moment-scene { width: 58%; opacity: .72; right: -10%; }
  #v77DashboardMoment .v77-moment-icon-disc { width: 72px; height: 72px; right: 6%; top: auto; bottom: 20%; }
  #v77DashboardMoment .v77-moment-icon-disc svg { width: 42px; height: 42px; }
  .v77-page .v77-status-grid { grid-template-columns: 1fr; }
  .v77-calendar-grid { grid-template-columns: 1fr; }
  .v77-check-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}

@media (max-width: 560px) {
  #v77LoginMoment { padding: 18px; border-radius: 22px; }
  #v77LoginMoment .v77-moment-title { max-width: 78%; font-size: 1.65rem; }
  #v77LoginMoment .v77-moment-tagline { max-width: 84%; }
  #v77LoginMoment .v77-moment-date { font-size: .68rem; padding: 6px 10px; }
  #v77DashboardMoment { min-height: 530px; border-radius: 28px; }
  #v77DashboardMoment .v77-moment-title { max-width: 100%; }
  #v77DashboardMoment .v77-moment-tagline, #v77DashboardMoment .v77-moment-message { max-width: 100%; }
  #v77DashboardMoment .v77-moment-actions { margin-top: 18px; }
  #v77DashboardMoment .v77-moment-action { width: 100%; }
  #v77DashboardMoment .v77-moment-scene { width: 72%; opacity: .43; }
  #v77DashboardMoment .v77-moment-icon-disc { display: none; }
  .v77-moment-icon-disc { width: 68px; height: 68px; }
  .v77-moment-icon-disc svg { width: 40px; height: 40px; }
  .v77-editor-grid { grid-template-columns: 1fr; }
  .v77-editor-grid .v77-span-2 { grid-column: auto; }
  .v77-check-grid { grid-template-columns: 1fr; }
  .v77-calendar-card { grid-template-columns: 54px minmax(0,1fr); }
  .v77-calendar-card .v77-calendar-badge { grid-column: 1 / -1; justify-self: start; }
  .v77-custom-card { grid-template-columns: 1fr; }
  .v77-custom-actions { justify-content: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  .v77-particle, .v77-moment-icon-disc { animation: none !important; }
}


/* =========================================================
   DSE V7.8.5 — MULTI-DAY EVENT & RESPONSIVE STABILITY
   Lapisan ini hanya menstabilkan momen aktif; desain normal tetap utuh.
   ========================================================= */
.v77-moment-card,
.v77-moment-card * { box-sizing: border-box; }

.v77-moment-card { max-width: 100%; min-width: 0; }
.v77-moment-copy { position: relative; z-index: 4; width: 100%; min-width: 0; }
.v77-moment-brand,
.v77-moment-label,
.v77-moment-date { max-width: 100%; }
.v77-moment-brand span,
.v77-moment-title,
.v77-moment-tagline,
.v77-moment-message { overflow-wrap: anywhere; word-break: normal; }
.v77-moment-title { max-width: none; line-height: 1.04; letter-spacing: -.035em; }
.v77-moment-tagline,
.v77-moment-message { max-width: 720px; }
.v77-moment-scene { max-width: 100%; }

#v77SplashMoment,
#v77DashboardMoment,
.v77-current-preview {
  display: grid;
  grid-template-columns: minmax(0, 1.22fr) minmax(230px, .78fr);
  align-items: center;
  gap: clamp(18px, 4vw, 48px);
}

#v77SplashMoment .v77-moment-copy,
#v77DashboardMoment .v77-moment-copy,
.v77-current-preview .v77-moment-copy { width: 100%; }

#v77SplashMoment .v77-moment-title,
#v77DashboardMoment .v77-moment-title,
.v77-current-preview .v77-moment-title { max-width: 100%; }

#v77SplashMoment .v77-moment-tagline,
#v77SplashMoment .v77-moment-message,
#v77DashboardMoment .v77-moment-tagline,
#v77DashboardMoment .v77-moment-message,
.v77-current-preview .v77-moment-tagline,
.v77-current-preview .v77-moment-message { max-width: 100%; }

#v77SplashMoment .v77-moment-scene,
#v77DashboardMoment .v77-moment-scene,
.v77-current-preview .v77-moment-scene {
  position: relative;
  right: auto;
  bottom: auto;
  width: min(100%, 430px);
  justify-self: end;
  align-self: end;
  z-index: 1;
}

#v77SplashMoment .v77-moment-title { font-size: clamp(2.25rem, 5.7vw, 5.1rem); }
#v77DashboardMoment .v77-moment-title { font-size: clamp(2.2rem, 5vw, 4.9rem); }
.v77-current-preview .v77-moment-title { font-size: clamp(1.9rem, 4.3vw, 3.8rem); }

#v77LoginMoment {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(105px, 145px);
  align-items: center;
  gap: 10px;
}
#v77LoginMoment .v77-moment-copy { width: 100%; }
#v77LoginMoment .v77-moment-title,
#v77LoginMoment .v77-moment-tagline { max-width: 100%; }
#v77LoginMoment .v77-moment-scene {
  position: relative;
  right: auto;
  bottom: auto;
  width: 100%;
  max-height: 190px;
  justify-self: end;
  z-index: 1;
}
#v77LoginMoment .v77-moment-icon-disc { display: none; }

#v77DashboardMoment .v77-moment-actions { min-width: 0; }
#v77DashboardMoment .v77-moment-action {
  min-width: 0;
  max-width: 100%;
  white-space: normal;
  text-align: center;
  line-height: 1.3;
}

body.v77-splash-theme #appSplash,
body.v77-login-theme #loginPage {
  overflow-x: hidden !important;
  overflow-y: auto !important;
}
body.v77-splash-theme #appSplash .splash-shell { margin: auto; }

.v77-date-range {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 15px;
  padding: 14px;
  border: 1px solid rgba(7,92,69,.12);
  border-radius: 16px;
  background: rgba(242,248,245,.78);
}
.v77-date-range[hidden] { display: none !important; }
.v77-date-range .form-group { margin-bottom: 0 !important; }
.v77-field-help {
  display: block;
  margin-top: 6px;
  color: #73867f;
  font-size: .7rem;
  line-height: 1.45;
}
.v77-duration-preview {
  padding: 12px 14px;
  border-radius: 14px;
  color: #275247;
  background: #eef8f4;
  border: 1px solid rgba(7,92,69,.11);
  font-size: .78rem;
  line-height: 1.55;
}
.v77-duration-preview strong { color: #075c45; }
.v77-calendar-range { color: #0a7156 !important; font-weight: 800; }
.v77-calendar-copy { min-width: 0; }
.v77-calendar-copy strong,
.v77-calendar-copy small { overflow-wrap: anywhere; }
.v77-calendar-badge { white-space: nowrap; }

@media (max-width: 980px) {
  #v77SplashMoment,
  #v77DashboardMoment,
  .v77-current-preview { grid-template-columns: minmax(0, 1fr) minmax(190px, .58fr); gap: 20px; }
  .v77-moment-icon-disc { width: 70px; height: 70px; right: 4%; top: 8%; }
  .v77-moment-icon-disc svg { width: 40px; height: 40px; }
}

@media (max-width: 760px) {
  #v77SplashMoment,
  #v77DashboardMoment,
  .v77-current-preview {
    grid-template-columns: 1fr;
    align-items: start;
    gap: 12px;
  }
  #v77SplashMoment,
  #v77DashboardMoment { min-height: 0; padding: 24px 20px; border-radius: 26px; }
  .v77-current-preview { min-height: 0; padding: 22px 18px; border-radius: 24px; }
  #v77SplashMoment .v77-moment-title,
  #v77DashboardMoment .v77-moment-title,
  .v77-current-preview .v77-moment-title { max-width: 100%; font-size: clamp(2rem, 10vw, 3.55rem); }
  #v77SplashMoment .v77-moment-scene,
  #v77DashboardMoment .v77-moment-scene,
  .v77-current-preview .v77-moment-scene {
    width: min(78%, 330px);
    max-height: 220px;
    justify-self: end;
    opacity: .72;
  }
  #v77SplashMoment .v77-moment-icon-disc,
  #v77DashboardMoment .v77-moment-icon-disc,
  .v77-current-preview .v77-moment-icon-disc { display: none; }
  .v77-moment-label { margin-top: 14px; letter-spacing: .12em; }
  .v77-moment-tagline { font-size: .92rem; line-height: 1.6; }
  .v77-moment-message { font-size: .78rem; line-height: 1.55; }
  .v77-date-range { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  #v77SplashMoment { width: calc(100vw - 24px); padding: 21px 17px; }
  body.v77-splash-theme #appSplash { padding: 12px; }
  body.v77-splash-theme #appSplash .splash-shell { width: 100%; padding: 12px 0 16px; border-radius: 24px; }
  body.v77-splash-theme #appSplash .splash-progress-wrap { width: calc(100% - 34px); margin-top: 14px; }
  #v77SplashMoment .v77-moment-brand span { font-size: .65rem; letter-spacing: .08em; }
  #v77SplashMoment .v77-moment-title { font-size: clamp(1.85rem, 10.5vw, 3rem); }
  #v77SplashMoment .v77-moment-scene { width: min(72%, 260px); max-height: 155px; }
  #v77DashboardMoment { margin-bottom: 18px; }
  #v77DashboardMoment .v77-moment-title { font-size: clamp(1.9rem, 10vw, 3.1rem); }
  #v77DashboardMoment .v77-moment-scene { width: min(76%, 280px); max-height: 175px; }
  #v77DashboardMoment .v77-moment-actions { display: grid; grid-template-columns: 1fr; gap: 9px; }
  #v77DashboardMoment .v77-moment-action { width: 100%; padding: 12px 13px; }

  #v77LoginMoment {
    grid-template-columns: 1fr;
    min-height: 0;
    padding: 17px;
    overflow: hidden;
  }
  #v77LoginMoment .v77-moment-copy { z-index: 3; }
  #v77LoginMoment .v77-moment-title { font-size: clamp(1.45rem, 7.5vw, 2rem); }
  #v77LoginMoment .v77-moment-tagline { padding-right: 0; font-size: .8rem; }
  #v77LoginMoment .v77-moment-scene {
    position: absolute;
    right: -42px;
    bottom: -18px;
    width: 190px;
    opacity: .18;
  }
  .v77-calendar-card { grid-template-columns: 54px minmax(0, 1fr); align-items: start; gap: 11px; padding: 14px; }
  .v77-calendar-card .v77-calendar-badge { grid-column: 2; justify-self: start; }
  .v77-calendar-copy small { line-height: 1.4; }
  .v77-preview-bar { align-items: stretch; flex-direction: column; bottom: 78px; }
  .v77-preview-bar button { width: 100%; }
}

@media (max-height: 720px) and (max-width: 760px) {
  #v77SplashMoment .v77-moment-message { display: none; }
  #v77SplashMoment .v77-moment-scene { max-height: 110px; }
  #v77SplashMoment .v77-moment-label { margin-top: 9px; }
  #v77SplashMoment .v77-moment-tagline { margin-top: 10px; line-height: 1.45; }
}
