:root {
  color-scheme: dark;
  --bg: #071b16;
  --panel: #0d2820;
  --gold: #d7bd80;
  --muted: #9bb0a4;
  --white: #f4f2e9;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--white);
  font-family: "Noto Naskh Arabic", "Noto Sans Arabic", Tahoma, sans-serif;
}
.app {
  width: min(100% - 30px, 560px);
  margin: auto;
  padding: 25px 0 20px;
}
header {
  display: flex;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid #ffffff13;
  padding-bottom: 17px;
}
.symbol { color: var(--gold); font-size: 30px; }
.brand { font-size: 17px; font-weight: 800; letter-spacing: 2px; }
.brand span { color: var(--gold); }
.location { margin-right: auto; color: var(--muted); font-size: 12px; }
.welcome {
  text-align: center;
  padding: 34px 8px 28px;
}
.ornament { color: var(--gold); font-size: 22px; }
h1 { font-size: clamp(19px, 5vw, 25px); font-weight: 600; margin: 12px 0; }
.welcome p, .note { color: var(--muted); font-size: 13px; }
.prayer, .dhikr, .access {
  background: var(--panel);
  border: 1px solid #ffffff0d;
  border-radius: 15px;
  padding: 19px;
  margin-bottom: 13px;
}
.section-title { color: var(--gold); font-size: 14px; margin-bottom: 17px; }
.prayer-grid { display: grid; grid-template-columns: repeat(5,1fr); gap: 5px; text-align: center; }
.prayer-grid small { display: block; color: var(--muted); font-size: 11px; }
.prayer-grid b { display: block; margin-top: 9px; font-size: 14px; }
.note { margin: 17px 0 0; font-size: 11px; }
.dhikr { text-align: center; }
.dhikr p { line-height: 2; font-size: 17px; margin: 0; }
.access { text-align: center; padding: 18px; }
.pulse {
  width: 8px; height: 8px; border-radius: 50%;
  background: #76c99b; margin: 0 auto 12px;
}
#status { font-size: 13px; }
#timer { color: var(--gold); font-size: 34px; font-weight: 700; margin: 4px; }
#message { color: var(--muted); font-size: 11px; }
footer { text-align: center; color: var(--muted); font-size: 11px; padding: 12px; }

/* إضافات خفيفة لا تغيّر القالب الأساسي */
.dedication { margin-top: 0; }
.dedication p { font-size: 14px; }
.fatiha {
  color: var(--white);
  font-size: 15px;
  line-height: 2.15;
  margin-top: 14px;
}
.kufi-mark {
  color: var(--gold);
  font-size: 13px;
  line-height: 2;
  margin-top: 16px;
  padding-top: 10px;
  border-top: 1px solid #d7bd8030;
  letter-spacing: .2px;
}


/* Silver Zulfiqar */
.zulfiqar-scene {
  width: min(100%, 300px);
  height: 285px;
  margin: 12px auto 20px;
  display: grid;
  place-items: center;
  position: relative;
}
.zulfiqar-halo {
  position: absolute;
  width: 190px;
  height: 220px;
  border-radius: 50%;
  background: radial-gradient(ellipse, #dce8f522, transparent 72%);
  animation: swordHalo 4s ease-in-out infinite;
}
.zulfiqar-sword {
  width: 190px;
  height: 270px;
  position: relative;
  z-index: 1;
  overflow: visible;
  filter: drop-shadow(0 8px 14px #0009);
  transform-origin: center;
  animation: swordFloat 5s ease-in-out infinite;
}
@keyframes swordFloat {
  0%,100% { transform: rotate(-3deg) translateY(2px); }
  50% { transform: rotate(3deg) translateY(-5px); }
}
@keyframes swordHalo {
  0%,100% { opacity: .4; transform: scale(.94); }
  50% { opacity: .9; transform: scale(1.08); }
}
@media (prefers-reduced-motion: reduce) {
  .zulfiqar-sword, .zulfiqar-halo { animation: none; }
}


/* Transparent Kufa-to-Najaf route */
.zulfiqar-scene { isolation:isolate; }
.zulfiqar-inscription {
  position:absolute; z-index:0; inset:50% 0 auto;
  transform:translateY(-50%); text-align:center;
  color:#d7bd80; font-family:serif; font-weight:700;
  font-size:clamp(16px,4vw,21px); line-height:2;
  text-shadow:0 0 12px #d7bd8055; opacity:.82;
  white-space:nowrap;
}
.zulfiqar-inscription small { display:block; font-size:15px; }
.zulfiqar-halo { z-index:1; }
.zulfiqar-sword { z-index:2; }
.route-card,.nasheed-card {
  margin:0 0 13px; padding:15px;
  border:1px solid #d7bd8028; border-radius:15px;
  background:linear-gradient(145deg,#0d2820aa,#071b1688);
  backdrop-filter:blur(8px);
}
.route-heading { display:flex; justify-content:space-between; color:var(--gold); font-size:14px; }
.route-live { color:var(--muted); font-size:11px; }
.route-map { position:relative; margin-top:8px; }
.route-map svg { display:block; width:100%; height:auto; overflow:visible; }
.map-roads path { stroke:#9bb0a4; stroke-width:1.1; opacity:.19; stroke-dasharray:3 5; }
.route-glow { fill:none; stroke:#d7bd8055; stroke-width:9; stroke-linecap:round; filter:blur(5px); }
.route-line { fill:none; stroke:#d7bd80; stroke-width:2.7; stroke-linecap:round; stroke-dasharray:5 5; }
.route-start { fill:#76c99b; stroke:#e9fff2; stroke-width:1.5; }
.route-end { fill:#d7bd80; stroke:#fff1c8; stroke-width:1.5; }
.moving-star { fill:#fff0b5; filter:drop-shadow(0 0 5px #ffe39b); animation:starPulse 1s ease-in-out infinite; }
.map-label { position:absolute; font-size:10px; color:#f4f2e9; text-shadow:0 1px 5px #000; }
.start-label { left:2%; bottom:5%; }
.end-label { right:0; top:2%; }
.route-stats { display:flex; justify-content:space-between; gap:8px; padding-top:10px; border-top:1px solid #ffffff16; }
.route-stats div { display:flex; flex-direction:column; gap:5px; min-width:0; }
.route-stats small,.route-caption,.nasheed-card small { color:var(--muted); font-size:10px; }
.route-stats b { color:var(--white); font-size:11px; }
.route-caption { margin:9px 0 0; }
.nasheed-card { text-align:center; }
.nasheed-title { color:var(--gold); font-size:13px; }
.nasheed-name { margin:6px 0 10px; font-size:14px; }
.nasheed-card audio { width:100%; height:36px; }
@keyframes starPulse {
  0%,100% { opacity:.75; transform:scale(.85); }
  50% { opacity:1; transform:scale(1.3); }
}
@media(prefers-reduced-motion:reduce) {
  .moving-star { animation:none; }
}


/* NOOR WIFI - refined motion interface */
.clock-card {
  text-align:center; margin:14px 0 5px; padding:13px;
  border:1px solid #d7bd8030; border-radius:14px;
  background:linear-gradient(135deg,#102c23,#071b16);
}
.clock-label,.iraq-date { color:var(--muted); font-size:11px; }
.iraq-clock {
  color:#f4f2e9; font-family:Arial,sans-serif;
  font-size:clamp(30px,8vw,42px); font-weight:700;
  letter-spacing:3px; direction:ltr;
  font-variant-numeric:tabular-nums;
  text-shadow:0 0 18px #d7bd8050;
  margin:5px 0;
}
.iraq-date { letter-spacing:1px; }

.ali-welcome {
  color:#f5dfaa;
  text-shadow:0 0 7px #e5c77c90,0 0 19px #d7bd8070;
  animation:aliPulse 2.8s ease-in-out infinite;
  letter-spacing:.3px;
}
@keyframes aliPulse {
  0%,100% { opacity:.88; text-shadow:0 0 7px #e5c77c70; }
  50% { opacity:1; text-shadow:0 0 10px #ffe7a8,0 0 27px #d7bd80; }
}

.route-destination {
  text-align:center; padding:16px 5px;
}
.route-point {
  color:var(--white); font-size:14px; font-weight:700;
}
.route-arrow { color:var(--gold); font-size:22px; padding:4px; }
.route-options { display:grid; gap:9px; }
.route-option {
  display:flex; align-items:center; gap:12px;
  padding:13px; border:1px solid #d7bd8038;
  border-radius:12px; color:var(--white);
  text-decoration:none; background:#ffffff08;
  transition:background .2s,border-color .2s;
}
.route-option:active { background:#d7bd8020; }
.route-icon { font-size:23px; }
.route-option span:nth-child(2) { flex:1; text-align:right; }
.route-option b,.route-option small { display:block; }
.route-option b { color:var(--gold); font-size:13px; }
.route-option small { color:var(--muted); font-size:10px; margin-top:4px; }
.route-open { color:var(--gold); font-size:20px; }
.route-caption { line-height:1.8; }

.nasheed-card { padding:18px 14px; }
.audio-visualizer {
  height:82px; margin:14px 0 8px; position:relative;
  display:flex; align-items:center; justify-content:center;
  overflow:hidden; border-radius:12px;
  background:radial-gradient(ellipse,#d7bd801b,transparent 70%);
}
.audio-bars {
  height:64px; display:flex; align-items:center;
  justify-content:center; gap:4px; direction:ltr;
}
.audio-bars i {
  display:block; width:4px; height:10px; border-radius:8px;
  background:linear-gradient(to top,#76c99b,#e7d39c);
  box-shadow:0 0 8px #d7bd8050;
  transform-origin:center;
}
.audio-visualizer.playing .audio-bars i {
  animation:audioWave .72s ease-in-out infinite alternate;
}
.audio-bars i:nth-child(7n+1) { animation-delay:-.55s; }
.audio-bars i:nth-child(7n+2) { animation-delay:-.2s; }
.audio-bars i:nth-child(7n+3) { animation-delay:-.4s; }
.audio-bars i:nth-child(7n+4) { animation-delay:-.1s; }
.audio-bars i:nth-child(7n+5) { animation-delay:-.65s; }
.audio-bars i:nth-child(7n+6) { animation-delay:-.3s; }
@keyframes audioWave {
  from { height:7px; opacity:.65; }
  to { height:58px; opacity:1; }
}
.audio-light {
  position:absolute; width:75%; height:1px; bottom:8px;
  background:linear-gradient(90deg,transparent,#d7bd80,transparent);
  opacity:.65; filter:blur(1px);
}
.audio-state { color:var(--muted); font-size:11px; }
.nasheed-card audio { display:none !important; }

.fingerprint-wrap {
  width:118px; margin:0 auto 12px; color:#9de9c0;
  filter:drop-shadow(0 0 8px #69dba088);
  animation:fingerGlow 2.4s ease-in-out infinite;
}
.fingerprint-svg { width:100%; display:block; overflow:visible; }
.finger-scan {
  stroke:#e2ffe9; stroke-width:2.5;
  filter:drop-shadow(0 0 5px #7cffb5);
  stroke-dasharray:90; animation:fingerScan 2.8s linear infinite;
}
.fingerprint-caption {
  display:block; text-align:center; font:9px Arial,sans-serif;
  letter-spacing:2px; color:#9de9c0; margin-top:-4px;
}
@keyframes fingerScan {
  0% { transform:translateY(-32px); opacity:0; }
  15% { opacity:1; }
  85% { opacity:1; }
  100% { transform:translateY(32px); opacity:0; }
}
@keyframes fingerGlow {
  0%,100% { opacity:.75; }
  50% { opacity:1; }
}
@media(prefers-reduced-motion:reduce) {
  .ali-welcome,.audio-visualizer.playing .audio-bars i,
  .finger-scan,.fingerprint-wrap { animation:none; }
}


/* Ramadan integrated into the existing clock card */
.ramadan-inline {
  margin-top:14px;
  padding-top:12px;
  border-top:1px solid #d7bd8040;
  text-align:center;
}
.ramadan-heading {
  display:flex;
  align-items:center;
  justify-content:center;
  gap:9px;
  color:#f3d99c;
  font-size:14px;
  font-weight:700;
  text-shadow:0 0 10px #d7bd8060;
}
.ramadan-crescent {
  font-size:25px;
  color:#f6d98e;
  animation:moonGlow 3s ease-in-out infinite;
}
.ramadan-lantern {
  width:29px;
  height:42px;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  position:relative;
  filter:drop-shadow(0 0 7px #ffc75b);
  animation:lanternSwing 3s ease-in-out infinite;
  transform-origin:top center;
}
.lantern-cap {
  width:15px;
  height:5px;
  border-radius:5px 5px 1px 1px;
  background:#e3bd70;
}
.lantern-body {
  width:23px;
  height:27px;
  display:grid;
  place-items:center;
  color:#fff0b7;
  font-size:13px;
  border:1px solid #f1ca76;
  border-radius:7px 7px 9px 9px;
  background:radial-gradient(ellipse,#ffe5a0 0%,#d99a37 35%,#75451c 100%);
  box-shadow:inset 0 0 8px #fff2ad,0 0 13px #ffca64;
  animation:lanternLight 1.5s ease-in-out infinite alternate;
}
.lantern-base {
  width:12px;
  height:4px;
  background:#d7b36d;
  border-radius:0 0 5px 5px;
}
.ramadan-countdown {
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:7px;
  margin:13px 0;
}
.ramadan-countdown div {
  padding:9px 3px;
  border:1px solid #d7bd8038;
  border-radius:10px;
  background:#ffffff08;
}
.ramadan-countdown b {
  display:block;
  color:#f7dfaa;
  font:700 23px Arial,sans-serif;
  font-variant-numeric:tabular-nums;
  text-shadow:0 0 9px #d7bd8050;
}
.ramadan-countdown small {
  display:block;
  color:var(--muted);
  font-size:10px;
  margin-top:4px;
}
.ramadan-events-title {
  color:var(--gold);
  font-size:12px;
  margin:12px 0 7px;
}
.shia-events-list {
  display:grid;
  gap:5px;
  text-align:right;
}
.shia-event {
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:8px;
  padding:7px 9px;
  border-radius:8px;
  background:#ffffff08;
  color:var(--white);
  font-size:11px;
}
.shia-event span:last-child {
  color:#e4c987;
  white-space:nowrap;
  font-size:10px;
}
.ramadan-disclaimer {
  color:var(--muted);
  font-size:9px;
  line-height:1.8;
  margin-top:8px;
}
@keyframes lanternSwing {
  0%,100% { transform:rotate(-5deg); }
  50% { transform:rotate(5deg); }
}
@keyframes lanternLight {
  from { opacity:.7; filter:brightness(.85); }
  to { opacity:1; filter:brightness(1.35); }
}
@keyframes moonGlow {
  0%,100% { opacity:.75; text-shadow:0 0 5px #ffe3a0; }
  50% { opacity:1; text-shadow:0 0 15px #ffe3a0,0 0 23px #d7bd80; }
}
/* إخفاء عناوين مشغل النشيد وأي أزرار تحكم */
.nasheed-title,.nasheed-name,.nasheed-card audio {
  display:none !important;
}
.audio-state { display:none !important; }
@media(prefers-reduced-motion:reduce) {
  .ramadan-crescent,.ramadan-lantern,.lantern-body { animation:none; }
}


/* بطاقة النشيد - إظهار واضح دون أزرار المشغل */
.nasheed-card {
  display:block !important;
  visibility:visible !important;
  min-height:125px;
  margin:14px 0;
  padding:16px 14px !important;
  border:1px solid #d7bd8055;
  border-radius:16px;
  background:linear-gradient(145deg,#172b25,#101b19);
  box-shadow:0 0 18px #d7bd8018;
}
.nasheed-title,.nasheed-name,.nasheed-card audio {
  display:none !important;
}
.audio-visualizer {
  display:flex !important;
  min-height:82px;
  cursor:pointer;
  -webkit-tap-highlight-color:transparent;
}
.audio-visualizer::before {
  content:"♫";
  position:absolute;
  color:#f3d99c;
  font-size:25px;
  opacity:.8;
}
.audio-visualizer.playing::before {
  opacity:0;
}
.audio-state {
  display:block !important;
  color:#f3d99c;
  font-size:12px;
  text-align:center;
  padding:5px;
}


/* وضوح أكبر لمواقيت الصلاة والمناسبات */
.prayer-grid small {
  font-size: 13px;
  font-weight: 600;
}

.prayer-grid b {
  font-size: 16px;
  font-weight: 700;
}

.ramadan-events-title {
  font-size: 14px;
  font-weight: 700;
}

.shia-event {
  font-size: 13px;
  line-height: 1.7;
  padding: 9px 10px;
}

.shia-event span:last-child {
  font-size: 12px;
  font-weight: 700;
}

/* عبارة فاطمة أسفل علي ولي الله */
.fatima-welcome {
  color: #f5dfaa;
  font-size: clamp(16px, 4.5vw, 19px);
  font-weight: 700;
  line-height: 1.8;
  margin: -5px 0 10px;
  text-align: center;
  text-shadow: 0 0 7px #e5c77c90, 0 0 18px #d7bd8070;
  animation: fatimaGlow 3s ease-in-out infinite;
}

@keyframes fatimaGlow {
  0%, 100% {
    opacity: .88;
    text-shadow: 0 0 7px #e5c77c70;
  }
  50% {
    opacity: 1;
    text-shadow: 0 0 11px #ffe7a8, 0 0 24px #d7bd80;
  }
}


/* ساعة العراق والتاريخين */
.iraq-weekday {
  color: #f5dfaa;
  font-size: 14px;
  font-weight: 700;
  margin-top: 8px;
}
.iraq-hijri {
  color: var(--gold);
  font-size: 13px;
  font-weight: 600;
  margin-top: 5px;
}

/* إبراز الصلاة القادمة */
.prayer-next {
  text-align: center;
  padding: 13px 10px;
  margin: 0 0 14px;
  border: 1px solid #d7bd8050;
  border-radius: 12px;
  background: linear-gradient(135deg,#173b2d,#0a211a);
}
.prayer-next-label {
  color: var(--muted);
  font-size: 12px;
}
.prayer-next-name {
  color: #f5dfaa;
  font-size: 21px;
  font-weight: 800;
  margin-top: 5px;
  text-shadow: 0 0 12px #d7bd8070;
}
.prayer-countdown {
  color: #fff4d2;
  font-family: Arial,sans-serif;
  font-size: clamp(25px,7vw,34px);
  font-weight: 800;
  letter-spacing: 2px;
  font-variant-numeric: tabular-nums;
  margin: 7px 0;
}
.prayer-next-time {
  color: var(--muted);
  font-size: 11px;
}
.prayer-grid > div.is-next {
  border: 1px solid #d7bd80a0;
  border-radius: 9px;
  padding: 6px 1px;
  background: #d7bd8015;
}
.prayer-grid > div.is-next small,
.prayer-grid > div.is-next b {
  color: #f5dfaa;
}



/* NOOR WIFI - Quran radio */
.quran-card {
  text-align: center;
}
.quran-heading {
  color: #f5dfaa;
  font-size: 20px;
  font-weight: 800;
  text-shadow: 0 0 12px #d7bd8070;
  padding: 4px 0;
}
.quran-subtitle {
  color: var(--muted);
  font-size: 12px;
  margin: 5px 0 12px;
}
.quran-intro-label {
  color: var(--gold);
  font-size: 13px;
  font-weight: 800;
  margin-top: 8px;
}
.quran-intro-detail {
  color: var(--white);
  font-size: 12px;
  margin: 5px 0 14px;
}
.quran-card .audio-state {
  display: block !important;
  color: #f3d99c;
  font-size: 12px;
  text-align: center;
  padding: 7px 3px;
  line-height: 1.8;
  min-height: 28px;
}
.quran-reader {
  margin-top: 10px;
  border: 1px solid #d7bd8045;
  border-radius: 13px;
  overflow: hidden;
  background: linear-gradient(135deg,#17352a,#0b211a);
}
.quran-reader-toggle {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 15px 13px;
  border: 0;
  color: #f5dfaa;
  background: transparent;
  font: inherit;
  font-size: 13px;
  font-weight: 800;
  text-align: right;
  cursor: pointer;
}
.quran-chevron {
  color: var(--gold);
  font-size: 20px;
  transition: transform .2s ease;
}
.quran-reader-toggle[aria-expanded="true"] .quran-chevron {
  transform: rotate(180deg);
}
.quran-tracks {
  padding: 0 10px 10px;
}
.quran-tracks[hidden] {
  display: none !important;
}
.quran-track {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 10px 3px;
  border-top: 1px solid #ffffff16;
  color: var(--white);
  font-size: 12px;
}
.quran-track button {
  flex-shrink: 0;
  min-width: 82px;
  padding: 8px 10px;
  border: 1px solid #d7bd8070;
  border-radius: 9px;
  background: #d7bd8015;
  color: #f5dfaa;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}
.quran-track button.is-playing {
  background: #76c99b25;
  border-color: #76c99b;
  color: #a9edc7;
}


/* فوازير رمضان للصغار */
.ramadan-riddles {
  margin: 18px 0;
  padding: 17px 14px;
  border: 1px solid #d7bd8050;
  border-radius: 18px;
  background: linear-gradient(145deg, #123b30, #0b2923);
  box-shadow: 0 8px 24px #00000025;
  text-align: right;
}
.riddles-intro {
  margin: 8px 0 14px;
  color: #e8d6a8;
  text-align: center;
  line-height: 1.9;
  font-size: 13px;
}
.riddles-list {
  display: grid;
  gap: 11px;
}
.riddle-card {
  padding: 13px;
  border: 1px solid #d7bd8038;
  border-radius: 13px;
  background: #ffffff08;
}
.riddle-question {
  margin: 0 0 11px;
  color: #fff4d8;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.9;
}
.riddle-answer-button {
  padding: 8px 13px;
  border: 1px solid #d7bd8070;
  border-radius: 9px;
  background: #d7bd8018;
  color: #f5dfaa;
  font: inherit;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}
.riddle-answer {
  margin: 12px 0 0;
  padding: 9px 11px;
  border-right: 3px solid #d7bd80;
  border-radius: 7px;
  background: #d7bd8010;
  color: #bde8ca;
  font-size: 13px;
  line-height: 1.9;
}
.riddle-answer[hidden] {
  display: none !important;
}


/* زينة رمضان المصرية - فوانيس تقليدية وهلال مضيء */
.ramadan-greeting {
  position: relative;
  isolation: isolate;
  margin: 17px 0 12px;
  padding: 9px 4px 17px;
  text-align: center;
  overflow: hidden;
  border-bottom: 1px solid #d7bd8025;
}
.greeting-moon {
  display: block;
  width: 57px;
  height: 57px;
  margin: 0 auto 2px;
  overflow: visible;
  filter: drop-shadow(0 0 7px #ffe3a0) drop-shadow(0 0 17px #d7bd80aa);
  animation: greetingMoonGlow 3.4s ease-in-out infinite;
}
.greeting-lantern-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(7px, 3vw, 17px);
  min-height: 112px;
}
.egyptian-lantern {
  display: block;
  flex: 0 1 76px;
  width: clamp(58px, 17vw, 76px);
  height: 112px;
  overflow: visible;
  transform-origin: 50% 8%;
  filter: drop-shadow(0 0 7px #e6ad4d70);
  animation: egyptianLanternSwing 3.8s ease-in-out infinite;
}
.egyptian-lantern:last-child {
  animation-delay: -1.9s;
}
.lantern-flame-glow {
  transform-origin: center;
  animation: egyptianFlame 1.7s ease-in-out infinite alternate;
}
.greeting-text {
  flex: 0 1 auto;
  color: #f7dfaa;
  font-size: clamp(17px, 4.8vw, 23px);
  font-weight: 800;
  line-height: 1.8;
  white-space: nowrap;
  text-shadow: 0 0 7px #ffe5a0, 0 0 16px #d7bd80a8;
  animation: greetingTextGlow 3.2s ease-in-out infinite;
}
@keyframes egyptianLanternSwing {
  0%,100% { transform: rotate(-4deg) translateY(0); }
  50% { transform: rotate(4deg) translateY(3px); }
}
@keyframes egyptianFlame {
  from { opacity: .65; transform: scale(.88); }
  to { opacity: 1; transform: scale(1.12); }
}
@keyframes greetingMoonGlow {
  0%,100% { opacity: .82; filter: drop-shadow(0 0 6px #ffe3a0); }
  50% { opacity: 1; filter: drop-shadow(0 0 12px #ffe3a0) drop-shadow(0 0 22px #d7bd80); }
}
@keyframes greetingTextGlow {
  0%,100% { text-shadow: 0 0 6px #ffe5a080, 0 0 12px #d7bd8060; }
  50% { text-shadow: 0 0 10px #ffe5a0, 0 0 22px #d7bd80; }
}
@media (max-width: 360px) {
  .greeting-lantern-row { gap: 3px; }
  .egyptian-lantern { width: 55px; }
  .greeting-text { font-size: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  .greeting-moon, .egyptian-lantern, .lantern-flame-glow, .greeting-text {
    animation: none !important;
  }
}
