/* HGNICE 2026: smooth ruby anniversary artwork and accessible live typography. */
.hgnice-boot-splash,
.start-page[data-v-5eb72be7] {
  --splash-ink: #fff1dc;
  --splash-accent: #ebc98a;
  position: fixed;
  z-index: 10000;
  inset-block: 0;
  left: 50%;
  width: min(100vw, 400px) !important;
  height: 100vh;
  height: 100dvh;
  min-height: 0;
  box-sizing: border-box;
  overflow: hidden;
  box-shadow: 0 0 0 100vmax #751c30;
  transform: translateX(-50%);
  background-color: #8e2035 !important;
  background-image: url('/assets/brand/hgnice-splash-v5.webp'), linear-gradient(180deg, #8e2035, #ab2e42, #751c30) !important;
  background-repeat: no-repeat !important;
  background-position: center !important;
  background-size: cover !important;
}

.hgnice-splash-content,
.start-page[data-v-5eb72be7] > div {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start !important;
  width: 100%;
  height: 100%;
  box-sizing: border-box;
  padding: max(32px, 7vh) 24px max(30px, 6vh);
  padding: max(calc(env(safe-area-inset-top) + 20px), 7dvh) 24px max(calc(env(safe-area-inset-bottom) + 20px), 6dvh);
}

.hgnice-anniversary-heading {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  color: var(--splash-ink);
  text-align: center;
  animation: hgnice-title-arrive 650ms ease-out both;
}

.hgnice-splash-country {
  display: block;
  margin: 0 0 10px;
  color: #f5d5b4;
  font: 600 10px/1.5 -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  letter-spacing: 0.3em;
  text-indent: 0.3em;
  text-transform: uppercase;
}

.hgnice-anniversary-title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin: 0;
  padding: 0;
  width: 100%;
  color: #ffe7b0;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  line-height: 1;
  white-space: nowrap;
}

.hgnice-anniversary-brand {
  display: block;
  width: clamp(164px, 57vw, 224px);
  height: 48px;
  flex: 0 1 auto;
  color: transparent;
  font-size: 0;
  background: linear-gradient(110deg, #edc68c 15%, #ffedbb 35%, #fffdf0 48%, #edc68c 65%, #ffedbb 85%);
  background-size: 240% 100%;
  -webkit-mask: url('/assets/brand/hgnice-splash-logo-v3.png') center / 100% auto no-repeat;
  mask: url('/assets/brand/hgnice-splash-logo-v3.png') center / 100% auto no-repeat;
  animation: hgnice-title-shimmer 3.8s ease-in-out infinite alternate;
}

.hgnice-anniversary-year {
  display: block;
  color: #ffedbb;
  font-size: clamp(22px, 6.8vw, 27px);
  font-weight: 400;
  letter-spacing: 0.01em;
}

.hgnice-anniversary-subtitle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin: 10px 0 0;
  padding: 0;
  color: #ffedcc;
  font: 400 clamp(17px, 4.8vw, 21px)/1.4 Georgia, 'Times New Roman', serif;
  white-space: nowrap;
}
.hgnice-anniversary-subtitle::before,
.hgnice-anniversary-subtitle::after {
  content: '';
  width: 20px;
  height: 1px;
  background: #e0b978;
  opacity: 0.65;
}

.hgnice-splash-status,
.start-page[data-v-5eb72be7] > div > p[data-v-5eb72be7] {
  position: relative;
  width: min(100%, 260px);
  margin: auto 0 0 !important;
  padding: 20px 0 0 !important;
  border: 0;
  background: none;
  color: var(--splash-ink) !important;
  font: 500 13px/1.5 -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif !important;
  text-align: center;
  text-shadow: 0 1px 3px rgba(58, 8, 20, 0.4);
}
.hgnice-splash-status::before,
.start-page[data-v-5eb72be7] > div > p[data-v-5eb72be7]::before {
  content: '';
  position: absolute;
  top: 0;
  left: calc(50% - 80px);
  width: 160px;
  height: 2px;
  border-radius: 3px;
  background: rgba(255, 237, 187, 0.25);
}
.hgnice-splash-status::after,
.start-page[data-v-5eb72be7] > div > p[data-v-5eb72be7]::after {
  content: '';
  position: absolute;
  top: 0;
  left: calc(50% - 80px);
  width: 40px;
  height: 2px;
  border-radius: 3px;
  background: var(--splash-accent);
  animation: hgnice-splash-progress 1.6s ease-in-out infinite alternate;
}

.start-page[data-v-5eb72be7] > div > .dice[data-v-5eb72be7],
.start-page[data-v-5eb72be7] > div > .logo[data-v-5eb72be7] {
  display: none !important;
}

@keyframes hgnice-title-arrive {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes hgnice-title-shimmer {
  from { background-position: 0% 50%; }
  to { background-position: 100% 50%; }
}
@keyframes hgnice-splash-progress {
  from { transform: translateX(0); }
  to { transform: translateX(120px); }
}

@media (max-width: 500px) {
  .hgnice-boot-splash,
  .start-page[data-v-5eb72be7] { left: 0; width: 100% !important; transform: none; }
}
@media (max-height: 540px) {
  .hgnice-boot-splash,
  .start-page[data-v-5eb72be7] {
    background-image: url('/assets/brand/hgnice-splash-compact-v5.webp'), linear-gradient(180deg, #8e2035, #ab2e42, #751c30) !important;
  }
  .hgnice-splash-content,
  .start-page[data-v-5eb72be7] > div {
    padding-top: max(env(safe-area-inset-top), 12px);
    padding-bottom: max(env(safe-area-inset-bottom), 14px);
  }
  .hgnice-splash-country { font-size: 8px; margin-bottom: 2px; }
  .hgnice-anniversary-title { gap: 8px; }
  .hgnice-anniversary-brand { width: 150px; height: 32px; }
  .hgnice-anniversary-year { font-size: 20px; }
  .hgnice-anniversary-subtitle { font-size: 14px; margin-top: 3px; gap: 8px; }
  .hgnice-anniversary-subtitle::before,
  .hgnice-anniversary-subtitle::after { width: 16px; }
  .hgnice-splash-status,
  .start-page[data-v-5eb72be7] > div > p[data-v-5eb72be7] {
    font-size: 11px !important;
    padding-top: 12px !important;
  }
}
@media (prefers-reduced-motion: reduce) {
  .hgnice-anniversary-heading,
  .hgnice-anniversary-brand,
  .hgnice-splash-status::after,
  .start-page[data-v-5eb72be7] > div > p[data-v-5eb72be7]::after { animation: none; }
  .hgnice-splash-status::after,
  .start-page[data-v-5eb72be7] > div > p[data-v-5eb72be7]::after { left: calc(50% - 20px); }
}
