/* Memorial — 雲端版 */
*, *::before, *::after { box-sizing: border-box; }

html {
  background: oklch(0.98 0.012 230);
}

body {
  margin: 0;
  background: oklch(0.98 0.012 230);
  overflow-x: clip;
}

@keyframes myd-glow-pulse {
  0%, 100% { opacity: 0.55; }
  50% { opacity: 0.9; }
}
@keyframes myd-cloud-drift {
  0% { transform: translateX(-8%); }
  100% { transform: translateX(8%); }
}
@keyframes myd-cloud-drift-2 {
  0% { transform: translateX(6%); }
  100% { transform: translateX(-6%); }
}
@keyframes myd-feather-fall {
  0% { transform: translateY(-6vh) translateX(0) rotate(-10deg); opacity: 0; }
  12% { opacity: 0.85; }
  50% { transform: translateY(45vh) translateX(40px) rotate(20deg); }
  88% { opacity: 0.85; }
  100% { transform: translateY(106vh) translateX(-20px) rotate(-16deg); opacity: 0; }
}
@keyframes myd-ray-shift {
  0%, 100% { opacity: 0.5; }
  50% { opacity: 0.85; }
}
@keyframes myd-flicker {
  0%, 100% { transform: translateX(-50%) scale(1); opacity: 0.92; }
  45% { transform: translateX(-50%) scaleY(1.12) scaleX(0.94); opacity: 1; }
  70% { transform: translateX(-50%) scaleY(0.96) scaleX(1.03); opacity: 0.96; }
}

.myd-page {
  --ink: oklch(0.40 0.030 250);
  --ink2: oklch(0.52 0.032 250);
  --ink3: oklch(0.64 0.028 250);
  --line: oklch(0.90 0.018 245);
  --sky: oklch(0.72 0.066 240);
  --sky2: oklch(0.80 0.050 220);
  --halo: oklch(0.86 0.060 90);
  --accent: oklch(0.68 0.070 244);
  --hl: oklch(0.68 0.070 244 / 0.10);
  --card: oklch(1 0 0 / 0.62);
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  overflow-x: clip;
  font-family: 'Noto Serif TC', serif;
  color: var(--ink);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  background: linear-gradient(180deg, oklch(0.98 0.012 230) 0%, oklch(0.95 0.024 235) 40%, oklch(0.91 0.040 240) 78%, oklch(0.88 0.052 244) 100%);
}

/* Ambient */
.myd-ambient {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}
.myd-ambient__rays {
  position: absolute;
  top: -60px;
  left: 50%;
  transform: translateX(-50%);
  width: 150%;
  height: 80vh;
  background: conic-gradient(
    from 180deg at 50% 0%,
    transparent 0deg,
    oklch(0.97 0.05 92 / 0.18) 5deg,
    transparent 11deg,
    transparent 22deg,
    oklch(0.97 0.05 92 / 0.14) 27deg,
    transparent 33deg,
    transparent 46deg,
    oklch(0.97 0.05 92 / 0.16) 51deg,
    transparent 57deg
  );
  opacity: 0.7;
  animation: myd-ray-shift 14s ease-in-out infinite;
}
.myd-ambient__halo {
  position: absolute;
  top: -120px;
  left: 50%;
  transform: translateX(-50%);
  width: 460px;
  height: 380px;
  background: radial-gradient(ellipse at center, oklch(0.99 0.04 92 / 0.7) 0%, transparent 64%);
  animation: myd-glow-pulse 10s ease-in-out infinite;
}
.myd-ambient__cloud {
  position: absolute;
  border-radius: 100px;
  background: radial-gradient(ellipse, oklch(1 0 0 / 0.85), oklch(1 0 0 / 0) 70%);
  filter: blur(6px);
}
.myd-ambient__cloud--1 {
  top: 14%;
  left: 8%;
  width: 260px;
  height: 80px;
  animation: myd-cloud-drift 26s ease-in-out infinite alternate;
}
.myd-ambient__cloud--2 {
  top: 30%;
  right: 6%;
  width: 320px;
  height: 96px;
  filter: blur(8px);
  background: radial-gradient(ellipse, oklch(1 0 0 / 0.78), oklch(1 0 0 / 0) 70%);
  animation: myd-cloud-drift-2 32s ease-in-out infinite alternate;
}
.myd-ambient__cloud--3 {
  bottom: 16%;
  left: 14%;
  width: 300px;
  height: 90px;
  filter: blur(8px);
  background: radial-gradient(ellipse, oklch(1 0 0 / 0.7), oklch(1 0 0 / 0) 72%);
  animation: myd-cloud-drift 30s ease-in-out infinite alternate;
}
.myd-ambient__cloud--4 {
  bottom: -4%;
  right: 10%;
  width: 360px;
  height: 110px;
  border-radius: 140px;
  filter: blur(10px);
  background: radial-gradient(ellipse, oklch(1 0 0 / 0.66), oklch(1 0 0 / 0) 72%);
  animation: myd-cloud-drift-2 36s ease-in-out infinite alternate;
}
.myd-ambient__feather {
  position: absolute;
  top: 0;
  border-radius: 60% 60% 60% 0;
  animation: myd-feather-fall linear infinite;
}
.myd-ambient__feather--1 {
  left: 18%;
  width: 12px;
  height: 30px;
  background: linear-gradient(160deg, oklch(1 0 0 / 0.9), oklch(0.85 0.04 240 / 0.5));
  animation-duration: 18s;
}
.myd-ambient__feather--2 {
  left: 46%;
  width: 10px;
  height: 26px;
  background: linear-gradient(160deg, oklch(1 0 0 / 0.85), oklch(0.86 0.05 90 / 0.5));
  animation-duration: 24s;
  animation-delay: 5s;
}
.myd-ambient__feather--3 {
  left: 72%;
  width: 11px;
  height: 28px;
  background: linear-gradient(160deg, oklch(1 0 0 / 0.88), oklch(0.85 0.04 240 / 0.5));
  animation-duration: 21s;
  animation-delay: 9s;
}

.myd-preview-banner,
.myd-flash {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 10px 16px;
  font-size: 14px;
  letter-spacing: 0.08em;
}
.myd-preview-banner { background: oklch(0.92 0.04 84 / 0.9); }
.myd-flash--success { background: oklch(0.92 0.04 158 / 0.5); }
.myd-flash--error { background: oklch(0.92 0.06 25 / 0.4); }

/* Topbar */
.myd-topbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 52px;
  padding: 14px 56px 14px 20px;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background 0.4s, border-color 0.4s, backdrop-filter 0.4s;
  pointer-events: none;
}
.myd-topbar.is-scrolled {
  background: oklch(0.98 0.012 235 / 0.82);
  backdrop-filter: blur(14px);
  border-bottom-color: var(--line);
}
.myd-topbar__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  opacity: 0;
  transition: opacity 0.45s;
}
.myd-topbar__dot--sky { background: var(--sky); }
.myd-topbar__dot--halo { background: var(--halo); }
.myd-topbar.is-scrolled .myd-topbar__dot { opacity: 1; }
.myd-topbar__name {
  font-size: 16px;
  letter-spacing: 0.2em;
  color: var(--ink2);
  font-weight: 500;
  opacity: 0;
  transition: opacity 0.45s;
}
.myd-topbar.is-scrolled .myd-topbar__name { opacity: 1; }
.myd-topbar__share {
  position: absolute;
  right: clamp(16px, 4vw, 48px);
  top: 50%;
  transform: translateY(-50%);
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: oklch(1 0 0 / 0.92);
  color: var(--ink2);
  cursor: pointer;
  pointer-events: auto;
  transition: all 0.25s;
}
.myd-topbar__share:hover {
  border-color: var(--sky);
  color: #fff;
  background: var(--sky);
}
.myd-topbar__share svg {
  width: 14px;
  height: 14px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.myd-main {
  position: relative;
  z-index: 1;
  max-width: 880px;
  margin: 0 auto;
  padding: clamp(80px, 13vw, 130px) clamp(20px, 5vw, 44px) 128px;
}

.myd-main > section + section,
.myd-main > .myd-separator + section {
  margin-top: clamp(56px, 9vw, 90px);
}

/* Separator */
.myd-separator {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin: clamp(56px, 9vw, 90px) 0;
}
.myd-separator__line {
  width: 66px;
  height: 1px;
}
.myd-separator__line--left {
  background: linear-gradient(90deg, transparent, var(--line));
}
.myd-separator__line--right {
  background: linear-gradient(90deg, var(--line), transparent);
}
.myd-separator__orb {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, var(--halo), var(--sky));
  flex-shrink: 0;
}

/* Section head */
.myd-section-head {
  text-align: center;
  margin-bottom: 34px;
}
.myd-section-head__eyebrow {
  font-size: 13px;
  letter-spacing: 0.34em;
  color: var(--sky);
  margin: 0 0 12px;
  padding-left: 0.34em;
}
.myd-section-head__title {
  margin: 0;
  font-weight: 500;
  font-size: clamp(26px, 4.5vw, 36px);
  letter-spacing: 0.1em;
}

/* Candle (decorative) */
.myd-candle {
  position: relative;
  width: 62px;
  height: 62px;
  margin: 0 auto 16px;
}
.myd-candle__glow {
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: radial-gradient(circle, oklch(0.86 0.10 70 / 0.6), transparent 70%);
  animation: myd-glow-pulse 2.5s ease-in-out infinite;
}
.myd-candle__flame {
  position: absolute;
  top: 6px;
  left: 50%;
  width: 11px;
  height: 17px;
  border-radius: 50% 50% 50% 50% / 65% 65% 35% 35%;
  background: linear-gradient(to top, oklch(0.78 0.10 50), oklch(0.92 0.07 88));
  animation: myd-flicker 1.6s ease-in-out infinite;
}
.myd-candle__body {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 17px;
  height: 32px;
  border-radius: 6px;
  background: linear-gradient(to right, oklch(0.9 0.02 30), oklch(0.97 0.01 60), oklch(0.9 0.02 30));
}

/* Hero */
.myd-hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 22px;
}
.myd-hero__eyebrow {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 17px;
  letter-spacing: 0.34em;
  color: var(--sky);
  margin: 0;
  padding-left: 0.34em;
}
.myd-hero__portrait-shell {
  position: relative;
  padding: 12px;
  margin-top: 8px;
  border-radius: 50% 50% 48% 52% / 46% 46% 54% 54%;
  background: oklch(0.99 0.006 60 / 0.8);
  box-shadow: 0 28px 64px -34px oklch(0.5 0.05 18 / 0.45);
}
.myd-hero__portrait {
  width: clamp(220px, 56vw, 280px);
  aspect-ratio: 4 / 5;
  margin: 0;
  border-radius: 50% 50% 48% 52% / 46% 46% 54% 54%;
  overflow: hidden;
  background: oklch(0.97 0.008 60);
}
.myd-hero__portrait img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.myd-hero__portrait-bloom {
  position: absolute;
  bottom: 6px;
  right: 2px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: radial-gradient(circle, oklch(0.84 0.05 18 / 0.7), oklch(0.86 0.08 78 / 0.5) 45%, transparent 72%);
  animation: myd-bloom-breath 11s ease-in-out infinite;
}
.myd-hero__title {
  margin: 0;
  font-weight: 500;
  font-size: clamp(36px, 8vw, 60px);
  letter-spacing: 0.12em;
  line-height: 1.1;
  padding-left: 0.12em;
}
.myd-hero__subtitle {
  font-size: 0.4em;
  letter-spacing: 0.2em;
  color: var(--ink2);
  margin-left: 0.25em;
  vertical-align: 0.35em;
}
.myd-hero__dates-row {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 2px;
}
.myd-hero__dates-line {
  width: 26px;
  height: 1px;
  background: var(--line);
}
.myd-hero__dates {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(22px, 4.5vw, 30px);
  letter-spacing: 0.2em;
  color: var(--ink2);
  margin: 0;
}
.myd-hero__age {
  font-size: 14px;
  letter-spacing: 0.22em;
  color: var(--ink3);
  margin: 0;
}
.myd-hero__intro {
  max-width: 520px;
  margin: 18px auto 0;
  text-align: center;
  font-size: clamp(16px, 2.5vw, 19px);
  line-height: 2.1;
  color: var(--ink2);
  font-weight: 300;
}

/* Carousel */
.myd-carousel {
  max-width: 760px;
  margin: 0 auto;
}
.myd-carousel__viewport {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 24px;
  overflow: hidden;
  background: oklch(0.96 0.01 235);
  box-shadow: 0 28px 64px -36px oklch(0.5 0.05 245 / 0.5);
}
.myd-carousel__track {
  display: flex;
  width: 100%;
  height: 100%;
  transition: transform 0.65s cubic-bezier(0.4, 0, 0.2, 1);
}
.myd-carousel__slide { flex: 0 0 100%; height: 100%; }
.myd-carousel__slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  cursor: zoom-in;
}
.myd-carousel__btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: none;
  background: oklch(1 0 0 / 0.85);
  backdrop-filter: blur(6px);
  cursor: pointer;
  color: var(--ink2);
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.25s;
  box-shadow: 0 6px 16px -8px oklch(0.5 0.05 245 / 0.5);
}
.myd-carousel__btn:hover {
  background: var(--sky);
  color: #fff;
  transform: translateY(-50%) scale(1.06);
}
.myd-carousel__btn--prev { left: 14px; }
.myd-carousel__btn--next { right: 14px; }
.myd-carousel__dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  margin-top: 20px;
}
.myd-carousel__dot {
  height: 7px;
  width: 7px;
  border-radius: 999px;
  background: var(--line);
  border: none;
  padding: 0;
  cursor: pointer;
  transition: all 0.35s;
}
.myd-carousel__dot.is-active {
  width: 24px;
  background: var(--sky);
}
.myd-carousel__hint {
  text-align: center;
  margin: 14px 0 0;
  font-size: 13px;
  color: var(--ink3);
  letter-spacing: 0.08em;
}

/* Prose & quote */
.myd-prose {
  max-width: 620px;
  margin: 0 auto;
  font-size: clamp(16px, 2.4vw, 18px);
  line-height: 2.2;
  color: var(--ink2);
  font-weight: 300;
  text-align: center;
  text-wrap: pretty;
  white-space: pre-wrap;
}
.myd-quote {
  max-width: 580px;
  margin: 0 auto;
  padding: 36px clamp(28px, 5vw, 48px);
  border-radius: 24px;
  background: var(--card);
  box-shadow: 0 22px 52px -42px oklch(0.5 0.05 245 / 0.5);
  text-align: center;
}
.myd-quote p {
  margin: 0;
  font-size: clamp(20px, 3.4vw, 26px);
  line-height: 1.9;
  color: var(--ink);
  font-weight: 400;
  letter-spacing: 0.04em;
  white-space: pre-wrap;
}
.myd-quote--after-bio {
  margin-top: 46px;
}

/* Video */
.myd-video {
  position: relative;
  width: 100%;
  max-width: 760px;
  margin: 0 auto;
  aspect-ratio: 16 / 10;
  border-radius: 28px;
  overflow: hidden;
  background: oklch(0.97 0.008 60);
  box-shadow: 0 28px 64px -36px oklch(0.5 0.05 18 / 0.45);
}
.myd-video iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

/* Banner */
.myd-banner {
  max-width: 720px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
.myd-banner--pair {
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
@media (max-width: 520px) {
  .myd-banner--pair { grid-template-columns: 1fr; max-width: 360px; }
}
.myd-banner:not(.myd-banner--pair) { max-width: 400px; }
.myd-banner__item {
  margin: 0;
  border-radius: 20px;
  overflow: hidden;
  background: oklch(0.97 0.008 60);
  box-shadow: 0 22px 52px -42px oklch(0.5 0.05 18 / 0.45);
}
.myd-banner__item img {
  display: block;
  width: 100%;
  height: auto;
  cursor: zoom-in;
}

/* Schedule */
#sec-time { scroll-margin-top: 80px; }
.myd-schedule-card {
  background: var(--card);
  border-radius: 26px;
  padding: clamp(26px, 4vw, 38px);
  box-shadow: 0 22px 52px -44px oklch(0.5 0.05 18 / 0.5);
  max-width: 520px;
  margin: 0 auto;
  text-align: center;
}
.myd-schedule-card__label {
  font-size: 14px;
  letter-spacing: 0.18em;
  color: var(--ink3);
  margin: 0 0 16px;
}
.myd-schedule-card__date {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(30px, 5vw, 34px);
  letter-spacing: 0.06em;
  color: var(--sky);
  margin: 0 0 4px;
  line-height: 1;
}
.myd-schedule-card__weekday {
  font-size: 15px;
  color: var(--ink2);
  margin: 0 0 22px;
}
.myd-timeline {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.myd-timeline__item {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: center;
  gap: 6px 14px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}
.myd-timeline__item:first-child { padding-top: 0; border-top: none; }
.myd-timeline__label {
  font-size: 13px;
  letter-spacing: 0.15em;
  color: var(--sky);
  white-space: nowrap;
}
.myd-timeline__time {
  font-size: 17px;
  color: var(--ink);
}
.myd-timeline__desc {
  flex: 1 1 100%;
  font-size: 14px;
  color: var(--ink3);
  margin: 0;
  line-height: 1.7;
}

/* Locations */
#sec-place { scroll-margin-top: 80px; }
.myd-locations {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}
.myd-location-card {
  background: var(--card);
  border-radius: 26px;
  padding: clamp(26px, 4vw, 38px);
  box-shadow: 0 22px 52px -44px oklch(0.5 0.05 18 / 0.5);
}
.myd-location-card__label {
  font-size: 14px;
  letter-spacing: 0.18em;
  color: var(--ink3);
  margin: 0 0 16px;
}
.myd-location-card__name {
  font-size: clamp(19px, 3vw, 21px);
  color: var(--ink);
  margin: 0 0 6px;
  letter-spacing: 0.04em;
}
.myd-location-card__address {
  font-size: 15px;
  color: var(--ink2);
  margin: 0 0 18px;
  line-height: 1.7;
}
.myd-location-card__map-btn {
  display: inline-flex;
  align-items: center;
  margin-bottom: 16px;
  padding: 10px 20px;
  border: 1px solid var(--sky);
  border-radius: 999px;
  background: transparent;
  color: var(--sky);
  font-size: 13px;
  letter-spacing: 0.12em;
  text-decoration: none;
  transition: all 0.25s;
}
.myd-location-card__map-btn:hover {
  background: var(--sky);
  color: #fff;
}
.myd-location-card__traffic {
  font-size: 14px;
  line-height: 1.9;
  color: var(--ink2);
  margin: 0;
  white-space: pre-wrap;
}

/* Flowers */
#sec-flowers { scroll-margin-top: 80px; }
.myd-flowers {
  max-width: 560px;
  margin: 0 auto;
  background: var(--card);
  border-radius: 26px;
  padding: clamp(32px, 5vw, 44px);
  box-shadow: 0 22px 52px -44px oklch(0.5 0.05 18 / 0.5);
  text-align: center;
}
.myd-flowers__lead {
  margin: 0 0 24px;
  font-size: 16px;
  line-height: 2;
  color: var(--ink2);
  font-weight: 300;
}
.myd-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: none;
  background: var(--sky);
  color: #fff;
  border-radius: 999px;
  padding: 12px 30px;
  font-family: inherit;
  font-size: 15px;
  letter-spacing: 0.1em;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.25s;
  box-shadow: 0 10px 22px -12px oklch(0.72 0.066 240 / 0.45);
}
.myd-btn:hover {
  transform: translateY(-2px);
}
.myd-btn--outline {
  background: transparent;
  color: var(--sky);
  border: 1px solid var(--sky);
  box-shadow: none;
}
.myd-btn--outline:hover {
  background: var(--sky);
  color: #fff;
}

/* Messages */
#sec-words { scroll-margin-top: 80px; }
.myd-messages__layout { display: grid; gap: 26px; }
.myd-message-form {
  order: 1;
  background: var(--card);
  border-radius: 26px;
  padding: clamp(22px, 4vw, 32px);
  box-shadow: 0 22px 52px -44px oklch(0.5 0.05 18 / 0.5);
}
.myd-messages__list { order: 2; }
@media (min-width: 900px) {
  .myd-messages__layout {
    grid-template-columns: 1fr 1fr;
    align-items: start;
  }
  .myd-message-form { order: 2; }
  .myd-messages__list { order: 1; }
}
.myd-message-form__lead {
  margin: 0 0 14px;
  font-size: 14px;
  line-height: 1.8;
  color: var(--ink3);
}
.myd-message-form input,
.myd-message-form textarea {
  width: 100%;
  background: oklch(0.99 0.006 60 / 0.8);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 13px 16px;
  font-family: inherit;
  font-size: 16px;
  color: var(--ink);
  margin-bottom: 14px;
}
.myd-message-form input:focus,
.myd-message-form textarea:focus {
  border-color: var(--sky);
  outline: none;
}
.myd-message-form textarea {
  line-height: 1.8;
  resize: vertical;
}
.myd-message-form__error {
  margin: -10px 0 10px;
  font-size: 13px;
  color: oklch(0.55 0.12 25);
}
.myd-message-form__actions {
  display: flex;
  justify-content: center;
  margin-top: 12px;
}
.myd-messages__stack {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.myd-message-card {
  background: oklch(0.99 0.006 60 / 0.6);
  border-radius: 20px;
  padding: 20px 24px;
  box-shadow: 0 14px 36px -34px oklch(0.5 0.05 18 / 0.5);
}
.myd-message-card__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}
.myd-message-card__name {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 16px;
  color: var(--ink);
  letter-spacing: 0.06em;
}
.myd-message-card__name::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--sky);
  flex-shrink: 0;
}
.myd-message-card__date {
  font-family: 'Cormorant Garamond', serif;
  font-size: 14px;
  color: var(--ink3);
  letter-spacing: 0.08em;
}
.myd-message-card__text {
  margin: 0;
  font-size: 16px;
  line-height: 1.9;
  color: var(--ink2);
  font-weight: 300;
  white-space: pre-wrap;
}
.myd-messages__empty {
  text-align: center;
  color: var(--ink3);
  font-size: 15px;
  padding: 24px;
  border-radius: 20px;
  background: var(--card);
}

/* Handler */
.myd-handler {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px;
  background: var(--card);
  border-radius: 26px;
  padding: clamp(26px, 4vw, 38px);
  box-shadow: 0 22px 52px -44px oklch(0.5 0.05 18 / 0.5);
}
.myd-handler__avatar {
  width: 72px;
  height: 72px;
  object-fit: cover;
  border-radius: 50%;
  border: 2px solid var(--line);
}
.myd-handler__info { flex: 1; min-width: 160px; }
.myd-handler__name {
  margin: 0 0 6px;
  font-size: 19px;
  letter-spacing: 0.06em;
}
.myd-handler__company {
  margin: 0 0 8px;
  font-size: 13px;
  color: var(--ink3);
  letter-spacing: 0.06em;
}
.myd-handler__meta {
  margin: 0;
  font-size: 15px;
  color: var(--ink2);
}
.myd-handler__meta a { color: inherit; text-decoration: none; }
.myd-handler__meta a:hover { color: var(--accent); }
.myd-handler__qr {
  width: 88px;
  height: 88px;
  border-radius: 14px;
  border: 1px solid var(--line);
}

/* Footer */
.myd-footer {
  text-align: center;
  margin-top: clamp(70px, 11vw, 110px);
  padding-top: 48px;
  border-top: 1px solid var(--line);
}
.myd-footer__dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 28px;
}
.myd-footer__dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
}
.myd-footer__dot--halo { background: var(--halo); }
.myd-footer__dot--sky2 { background: var(--sky2); }
.myd-footer__dot--sky { background: var(--sky); }
.myd-footer__closing {
  margin: 0;
  font-size: clamp(18px, 3vw, 22px);
  letter-spacing: 0.1em;
  color: var(--ink);
}

/* Dock */
.myd-dock {
  position: fixed;
  left: 50%;
  bottom: clamp(12px, 3vw, 22px);
  transform: translateX(-50%);
  z-index: 30;
  display: flex;
  align-items: stretch;
  gap: 2px;
  padding: 6px;
  border-radius: 999px;
  background: oklch(1 0 0 / 0.88);
  backdrop-filter: blur(16px);
  border: 1px solid var(--line);
  box-shadow: 0 18px 46px -20px oklch(0.5 0.05 245 / 0.4);
  max-width: calc(100vw - 24px);
}
.myd-dock__btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  padding: 8px clamp(10px, 3.4vw, 22px);
  border: none;
  border-radius: 999px;
  cursor: pointer;
  background: transparent;
  font-family: inherit;
  text-decoration: none;
  color: var(--ink2);
  transition: background 0.3s;
}
.myd-dock__btn:hover,
.myd-dock__btn.is-active { background: var(--hl); }
.myd-dock__btn svg {
  width: 21px;
  height: 21px;
  stroke: var(--ink3);
  fill: none;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: stroke 0.3s;
}
.myd-dock__btn.is-active svg { stroke: var(--accent); }
.myd-dock__btn span {
  font-size: 12px;
  letter-spacing: 0.12em;
  white-space: nowrap;
  transition: color 0.3s;
}
.myd-dock__btn.is-active span { color: var(--accent); }

/* Lightbox */
.myd-lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(20, 24, 32, 0.92);
  align-items: center;
  justify-content: center;
  padding: 48px clamp(56px, 14vw, 88px);
}
.myd-lightbox.is-open { display: flex; }
.myd-lightbox__img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 12px;
}
.myd-lightbox__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border: none;
  border-radius: 50%;
  background: oklch(0.99 0.006 60 / 0.2);
  color: #fff;
  font-size: 22px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}
.myd-lightbox__nav--prev { left: clamp(12px, 4vw, 28px); }
.myd-lightbox__nav--next { right: clamp(12px, 4vw, 28px); }
.myd-lightbox__nav[hidden] { display: none; }
.myd-lightbox__close {
  position: absolute;
  top: 20px;
  right: 20px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border-radius: 999px;
  padding: 8px 18px;
  font-family: inherit;
  font-size: 14px;
  cursor: pointer;
  letter-spacing: 0.1em;
}

/* Share sheet */
.myd-share-sheet[hidden] { display: none; }
.myd-share-sheet { position: fixed; inset: 0; z-index: 110; }
.myd-share-sheet.is-open { display: block; }
.myd-share-sheet__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(20, 24, 32, 0.45);
  opacity: 0;
  transition: opacity 0.3s;
}
.myd-share-sheet.is-open .myd-share-sheet__backdrop { opacity: 1; }
.myd-share-sheet__panel {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 12px 20px calc(20px + env(safe-area-inset-bottom));
  background: oklch(0.99 0.006 60);
  border-top: 1px solid var(--line);
  border-radius: 24px 24px 0 0;
  transform: translateY(100%);
  transition: transform 0.35s cubic-bezier(0.32, 0.72, 0, 1);
}
.myd-share-sheet.is-open .myd-share-sheet__panel { transform: translateY(0); }
.myd-share-sheet__handle {
  width: 40px;
  height: 4px;
  margin: 0 auto 16px;
  background: var(--line);
  border-radius: 999px;
}
.myd-share-sheet__title {
  margin: 0 0 20px;
  text-align: center;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.12em;
  color: var(--ink2);
}
.myd-share-sheet__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px 12px;
  margin-bottom: 20px;
}
@media (min-width: 480px) {
  .myd-share-sheet__grid { grid-template-columns: repeat(4, 1fr); }
}
.myd-share-sheet__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  border: none;
  background: none;
  padding: 0;
  cursor: pointer;
  font-family: inherit;
}
.myd-share-sheet__icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 600;
  color: #fff;
}
.myd-share-sheet__icon--line { background: #06c755; font-size: 11px; }
.myd-share-sheet__icon--facebook { background: #1877f2; font-size: 20px; font-family: serif; }
.myd-share-sheet__icon--instagram { background: linear-gradient(135deg, #f9ce34, #ee2a7b 50%, #6228d7); font-size: 12px; }
.myd-share-sheet__icon--whatsapp { background: #25d366; font-size: 11px; }
.myd-share-sheet__icon--copy,
.myd-share-sheet__icon--more {
  background: oklch(0.96 0.01 60);
  color: var(--ink2);
  border: 1px solid var(--line);
}
.myd-share-sheet__icon--copy svg,
.myd-share-sheet__icon--more svg {
  width: 22px;
  height: 22px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.8;
}
.myd-share-sheet__label {
  font-size: 11px;
  color: var(--ink3);
  letter-spacing: 0.04em;
}
.myd-share-sheet__cancel {
  width: 100%;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--ink2);
  border-radius: 999px;
  padding: 14px;
  font-family: inherit;
  font-size: 15px;
  letter-spacing: 0.08em;
  cursor: pointer;
}
