/* ALULA V6 — visual refinement. Progressive CSS only: the V5 Flask and audio logic remain intact. */
:root { --v6-gold:#e9c77f; --v6-ivory:#fff2d6; }
/* The memorial name stays legible while a slow soft highlight moves across the lettering. */
.memorial-hero .luminous-name {
  position:relative; width:fit-content; max-width:100%;
  padding-inline:.12em;
  background-image:linear-gradient(108deg,#cf9e50 2%,#f5d998 22%,#fff9da 36%,#d8aa58 51%,#fff9e6 66%,#e9bf71 81%,#c38f45 100%);
  background-size:225% 100%;
  filter:drop-shadow(0 0 9px rgba(244,193,96,.42));
  text-shadow:0 0 12px rgba(255,228,166,.42),0 0 35px rgba(239,183,77,.5);
  animation:name-enter 1s ease-out both, v6-name-glow 9s ease-in-out 1.3s infinite;
}
@keyframes v6-name-glow {
  0%,100% { background-position:0% 50%;filter:drop-shadow(0 0 8px rgba(238,190,97,.33)); }
  50% { background-position:100% 50%;filter:drop-shadow(0 0 17px rgba(255,213,125,.55)); }
}
.memorial-hero {border-color:rgba(236,198,121,.59); box-shadow:0 23px 72px rgba(0,0,0,.36),0 0 0 1px rgba(239,198,112,.1),inset 0 0 45px rgba(244,192,97,.05);}
.memorial-hero::after {border-color:rgba(242,208,139,.45)}
.welcome-fatiha-button {min-height:44px;border-color:rgba(242,204,131,.8);background:linear-gradient(120deg,#204d39,#122b22);font-weight:700}
.welcome-fatiha-button:hover {box-shadow:0 0 28px rgba(230,182,92,.27),inset 0 0 15px rgba(233,195,111,.09)}
/* A clear but restrained chapter heading. */
.chapter-intro h2 { text-shadow:0 3px 20px rgba(220,177,93,.20); }
.fatiha-card {border-color:rgba(236,191,106,.76);box-shadow:0 19px 55px rgba(0,0,0,.31),0 0 0 4px rgba(225,183,103,.065),inset 0 0 52px rgba(224,190,116,.06);}
.fatiha-card::before {border-color:rgba(233,190,107,.32)}
.fatiha-text {color:#fff7e9;line-height:2.48;letter-spacing:0;max-width:800px;text-rendering:optimizeLegibility;}
.fatiha-text p { margin-block:.22rem; }
.fatiha-text .bismillah {margin-bottom:.38rem;}
.fatiha-text .verse-number {color:#eac982;text-shadow:none;}
/* A framed, readable remembrance instead of a flat rectangular box. */
.memorial-v2 > .dedication {position:relative;max-width:970px;overflow:hidden;min-height:150px;padding:25px clamp(20px,4vw,46px);border:1px solid rgba(234,195,114,.65);border-radius:22px;background:radial-gradient(ellipse at 50% 0%,rgba(67,119,87,.45),transparent 72%),linear-gradient(128deg,#173d2f,#0a291f 75%);box-shadow:0 18px 42px rgba(0,0,0,.26),inset 0 0 20px rgba(232,197,116,.06);}
.memorial-v2 > .dedication::before {content:"";pointer-events:none;position:absolute;inset:9px;border:1px solid rgba(232,191,112,.24);border-radius:15px;}
.dedication-eyebrow {font-size:.87rem;font-weight:700;color:#f0cf84;}
.dedication p {color:#fff4df;font-size:clamp(1.12rem,2vw,1.4rem);line-height:2.15;}
.dedication-symbol {text-shadow:0 0 14px rgba(234,191,106,.45);}
.bridge-floral .bridge-flower, .bridge-arch-icon {filter:drop-shadow(0 0 11px rgba(234,192,105,.45));}
.listen-invite {border-color:rgba(229,188,106,.55);box-shadow:0 19px 40px rgba(0,0,0,.25);}
/* Listening directory: never use pale text on the pale selected row. */
.listening .sura-row {color:#f8ead1;border-color:rgba(220,193,133,.17);border-radius:9px;transition:background .2s ease,color .2s ease,transform .2s ease;}
.listening .sura-row:hover,.listening .sura-row[aria-current="true"] {background:#e6e9da;color:#12372a;}
.listening .sura-row:hover .sura-number,.listening .sura-row[aria-current="true"] .sura-number {color:#315545;border-color:#a6b8a6;}
.listening .sura-row:hover .row-play,.listening .sura-row[aria-current="true"] .row-play {color:#1b513a;}
.listening .sura-row[aria-current="true"] {font-weight:800;box-shadow:inset 3px 0 #c49946;}
.listening .sura-row:focus-visible {outline-offset:-3px;}
.player .audio-controls {border-radius:16px;background:linear-gradient(135deg,#0d2c22,#08231b);}
.player .play-button {min-height:48px;box-shadow:0 6px 22px rgba(221,179,93,.16);}
.player .timeline #seek,.player .volume-controls #volume {accent-color:var(--v6-gold);cursor:pointer;}
.player .times {font-variant-numeric:tabular-nums;}
.player .fields select {min-height:50px;border-radius:10px;color:#123329;background:#fcf5e6;}
.player .volume-controls .icon-button {min-height:37px;border-radius:9px;}
.directory .search-label input {min-height:49px;border:1px solid #d7c59d;border-radius:10px;background:#fffaf0;color:#173c2b;}
@media(max-width:760px) {
  .memorial-hero .luminous-name {padding-inline:.05em;}
  .fatiha-text {line-height:2.38;}
  .memorial-v2 > .dedication {padding:25px 19px;}
  .dedication p {line-height:2.0;}
}
@media(prefers-reduced-motion:reduce) { .memorial-hero .luminous-name {animation:none;background-position:50% 50%;} .listening .sura-row {transition:none;} }
