  * { box-sizing: border-box; margin: 0; padding: 0; }
  body { font-family: Georgia, 'Times New Roman', serif; background: #faf7f0; color: #2b2b2b; line-height: 1.6; }
  a { color: #16225c; }
  header { background: #16225c; color: #fff; padding: 14px 20px; position: sticky; top: 0; z-index: 10; }
  header .wrap { max-width: 1080px; margin: 0 auto; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 22px; }
  header .brand { font-size: 20px; letter-spacing: 1px; font-weight: bold; }
  header .brand span { color: #d4af37; }
  nav a { color: #e8e4d8; text-decoration: none; font-size: 14px; margin-right: 16px; }
  nav a:hover { color: #d4af37; }
  nav a.active { color: #d4af37; font-weight: bold; }
  .wrap { max-width: 1080px; margin: 0 auto; padding: 0 20px; }
  section { padding: 56px 0 8px; }
  h1, h2 { color: #16225c; }
  h2 { font-size: 30px; text-align: center; margin-bottom: 8px; }
  .sub { text-align: center; color: #6b6b6b; font-style: italic; margin-bottom: 28px; }
  .gold-rule { width: 90px; height: 3px; background: #d4af37; margin: 14px auto 22px; }

  .hero { background: linear-gradient(180deg, #16225c 0%, #1e3070 55%, #2a3f8f 100%); color: #fff; text-align: center; padding: 64px 20px 56px; }
  .hero .kicker { letter-spacing: 4px; font-size: 14px; color: #d4af37; text-transform: uppercase; }
  .hero h1 { color: #fff; font-size: 44px; line-height: 1.15; margin: 14px 0 6px; }
  .hero .dates { font-size: 26px; color: #d4af37; letter-spacing: 2px; }
  .hero .tagline { font-size: 22px; font-style: italic; margin-top: 10px; color: #f2ead8; }
  .hero img.portrait { width: 220px; height: 220px; object-fit: cover; object-position: top; border-radius: 50%; border: 5px solid #d4af37; margin: 22px auto 6px; display: block; box-shadow: 0 8px 30px rgba(0,0,0,.4); }
  .hero .glory { margin-top: 16px; font-size: 15px; letter-spacing: 2px; color: #cfd6f2; }

  .verse { background: #fff; border-left: 5px solid #d4af37; max-width: 760px; margin: 0 auto; padding: 22px 26px; font-style: italic; font-size: 18px; color: #444; box-shadow: 0 2px 10px rgba(0,0,0,.06); }
  .verse .ref { display: block; margin-top: 10px; font-style: normal; font-weight: bold; color: #16225c; font-size: 15px; }
  .story-note { max-width: 760px; margin: 26px auto 0; text-align: center; color: #6b6b6b; font-style: italic; }

  .program { background: #fff; border: 1px solid #e5ddc8; border-radius: 10px; padding: 28px; box-shadow: 0 2px 12px rgba(0,0,0,.05); }
  .program h3 { color: #16225c; font-size: 20px; margin: 18px 0 4px; }
  .program h3:first-child { margin-top: 0; }
  .program .day { color: #8a6d1b; font-weight: bold; }
  .program p { margin-bottom: 6px; }
  .program ul { margin: 4px 0 6px 20px; }
  .program li { margin-bottom: 4px; }
  .program .dl { display: inline-block; margin-top: 18px; background: #16225c; color: #fff; padding: 10px 18px; border-radius: 6px; text-decoration: none; font-family: Arial, sans-serif; font-size: 15px; }
  .program .dl:hover { background: #2a3f8f; }

  .gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
  .gallery figure { background: #fff; border: 1px solid #e5ddc8; border-radius: 10px; overflow: hidden; box-shadow: 0 2px 10px rgba(0,0,0,.05); }
  .gallery img { width: 100%; height: 340px; object-fit: cover; object-position: top; display: block; cursor: pointer; }
  .gallery figcaption { padding: 10px 14px; font-size: 14px; font-style: italic; color: #6b6b6b; text-align: center; }
  .gallery figure.tall img { height: 420px; }
  .gallery.small img { height: 220px; }
  .gallery.small figure.tall img { height: 220px; }

  .likers { font-size: 13px; color: #8a6d1b; margin-top: 6px; font-style: italic; }

  .scroll-strip { overflow: hidden; border: 1px solid #e5ddc8; border-radius: 10px; background: #fff; padding: 14px 0 12px; margin-top: 26px; box-shadow: 0 2px 10px rgba(0,0,0,.05); }
  .scroll-strip h2 { text-align: center; color: #16225c; font-size: 19px; margin-bottom: 10px; }
  .scroll-track { display: flex; gap: 12px; width: max-content; animation: scrollX 36s linear infinite; }
  .scroll-strip:hover .scroll-track { animation-play-state: paused; }
  .scroll-track img { height: 180px; width: auto; border-radius: 8px; object-fit: cover; }
  @keyframes scrollX { from { transform: translateX(0); } to { transform: translateX(-50%); } }
  .featured { background: #fff8e1; border: 2px solid #d4af37; border-radius: 10px; padding: 22px 24px; text-align: center; margin-bottom: 22px; box-shadow: 0 2px 10px rgba(0,0,0,.05); }
  .featured h2 { color: #8a6d1b; font-size: 20px; margin-bottom: 6px; }
  .featured p { color: #555; font-style: italic; }

  video.memorial { width: 100%; max-width: 860px; display: block; margin: 0 auto; border-radius: 10px; border: 1px solid #e5ddc8; box-shadow: 0 4px 20px rgba(0,0,0,.12); background: #000; }

  .stream-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 16px; }
  .stream-box { background: #fff; border: 1px solid #e5ddc8; border-radius: 10px; padding: 26px; text-align: center; box-shadow: 0 2px 10px rgba(0,0,0,.05); }
  .stream-box h2 { color: #16225c; font-size: 22px; margin-bottom: 8px; }
  .stream-box p { color: #555; margin-bottom: 14px; }
  .stream-box .live-note { display: inline-block; background: #f3e9c8; color: #8a6d1b; border-radius: 20px; padding: 5px 14px; font-size: 13px; font-family: Arial, sans-serif; }

  .wall { display: grid; gap: 14px; }
  .wall .empty { background: #fff; border: 1px dashed #c9b98a; border-radius: 10px; padding: 26px; text-align: center; color: #6b6b6b; font-style: italic; }
  .condolence { background: #fff; border: 1px solid #e5ddc8; border-left: 5px solid #d4af37; border-radius: 8px; padding: 18px 20px; box-shadow: 0 2px 8px rgba(0,0,0,.04); }
  .condolence .who { font-weight: bold; color: #16225c; }
  .condolence .rel { color: #8a6d1b; font-size: 14px; font-style: italic; }
  .condolence p { margin-top: 6px; }

  form.card { background: #fff; border: 1px solid #e5ddc8; border-radius: 10px; padding: 26px; box-shadow: 0 2px 12px rgba(0,0,0,.05); max-width: 760px; margin: 0 auto; }
  form.card label { display: block; font-family: Arial, sans-serif; font-size: 14px; font-weight: bold; color: #333; margin: 14px 0 4px; }
  form.card .hint { font-weight: normal; color: #777; font-size: 13px; }
  form.card input[type=text], form.card input[type=email], form.card input[type=tel], form.card select, form.card textarea { width: 100%; padding: 10px 12px; border: 1px solid #ccc; border-radius: 6px; font-size: 15px; font-family: Georgia, serif; background: #fffdf6; }
  form.card textarea { min-height: 110px; resize: vertical; }
  form.card button { margin-top: 20px; background: #16225c; color: #fff; border: none; padding: 12px 26px; border-radius: 6px; font-size: 16px; cursor: pointer; font-family: Arial, sans-serif; }
  form.card button:hover { background: #2a3f8f; }
  form.card .fine { font-size: 13px; color: #777; margin-top: 14px; font-family: Arial, sans-serif; }

  .admin-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 16px; }
  .admin-box { background: #fff; border: 1px solid #e5ddc8; border-radius: 10px; padding: 24px; box-shadow: 0 2px 10px rgba(0,0,0,.05); }
  .admin-box h2 { color: #16225c; font-size: 20px; margin-bottom: 8px; }
  .admin-box p, .admin-box li { color: #555; font-size: 15px; }
  .admin-box ul { margin: 8px 0 0 20px; }

  .info-lines { background: #16225c; color: #e8e4d8; border-radius: 10px; padding: 26px; }
  .info-lines h2 { color: #d4af37; text-align: center; margin-bottom: 12px; }
  .info-lines .cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 4px 30px; max-width: 720px; margin: 0 auto; }
  .info-lines p { font-family: Arial, sans-serif; font-size: 15px; }
  .info-lines b { color: #fff; }

  footer { background: #16225c; color: #cfd6f2; text-align: center; padding: 34px 20px; margin-top: 60px; }
  footer .big { font-size: 20px; font-style: italic; color: #f2ead8; }
  footer p { font-size: 14px; margin-top: 8px; }

  .lightbox { display: none; position: fixed; inset: 0; background: rgba(0,0,0,.88); z-index: 50; align-items: center; justify-content: center; padding: 20px; }
  .lightbox.open { display: flex; }
  .lightbox img { max-width: 92vw; max-height: 88vh; border-radius: 8px; }
  .lightbox .close { position: absolute; top: 18px; right: 26px; color: #fff; font-size: 40px; cursor: pointer; font-family: Arial, sans-serif; }
  .auth-card { background: #fff; border: 1px solid #e5ddc8; border-radius: 10px; padding: 22px 24px; box-shadow: 0 2px 10px rgba(0,0,0,.05); max-width: 760px; margin: 0 auto 26px; text-align: center; }
  .auth-card h2 { color: #16225c; font-size: 20px; margin-bottom: 6px; }
  .auth-card p { color: #555; font-size: 15px; margin-bottom: 12px; }
  .auth-btn { display: inline-block; margin: 6px 6px 0; background: #16225c; color: #fff; border: none; padding: 10px 18px; border-radius: 6px; font-size: 15px; cursor: pointer; font-family: Arial, sans-serif; }
  .auth-btn:hover { background: #2a3f8f; }
  .auth-btn.fb { background: #1877f2; }
  .auth-btn.fb:hover { background: #0f5fc0; }
  .auth-btn.ghost { background: #fff; color: #16225c; border: 1px solid #16225c; }
  .auth-row { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; margin-top: 10px; }
  .auth-row input { padding: 9px 11px; border: 1px solid #ccc; border-radius: 6px; font-size: 14px; font-family: Georgia, serif; background: #fffdf6; }
  .auth-status { margin-top: 10px; font-size: 14px; color: #8a6d1b; font-family: Arial, sans-serif; }
  .react { margin-top: 12px; display: flex; gap: 8px; flex-wrap: wrap; }
  .react button { background: #fff8e1; border: 1px solid #d4af37; color: #8a6d1b; border-radius: 20px; padding: 5px 14px; font-size: 14px; cursor: pointer; font-family: Arial, sans-serif; }
  .react button:hover { background: #f3e9c8; }
  .react button.mine { background: #d4af37; color: #fff; border-color: #d4af37; }
  .react button:disabled { opacity: .55; cursor: not-allowed; }
  .condolence .feel { color: #6b6b6b; font-size: 14px; font-style: italic; margin-top: 4px; }
  .condolence .imp { margin-top: 8px; }
  .form-status { margin-top: 12px; font-size: 14px; font-family: Arial, sans-serif; color: #2a6b2a; }
  .form-status.err { color: #a33; }
  @media (max-width: 640px) { .hero h1 { font-size: 32px; } h2 { font-size: 24px; } }
  .page-title { font-size: 30px; text-align: center; margin-bottom: 8px; }
  h2.sub { font-size: 16px; font-weight: normal; }
  form.card h2 { font-size: 20px; text-align: left; margin-bottom: 6px; }

