/* LENTERA - ikon SVG & perapian antarmuka. Dimuat paling akhir. */

/* ---------- Ikon ---------- */
.icon {
  width: 1em;
  height: 1em;
  flex: none;
  vertical-align: -.14em;
  stroke-width: 2;
}
.icon-inline { margin-right: 2px; }
.h-icon { width: .85em; height: .85em; vertical-align: -.1em; margin-right: 4px; color: #0D47A1; }

/* Tombol/tautan yang berisi ikon + teks */
button, .button, .nav-button, .nav-cta,
.site-card-link, .explore-hero-button, .explore-search-button,
.site-detail-back, .site-detail-feedback-button, .site-detail-map-button,
.site-detail-favorite {
  gap: 8px;
}
.button, .nav-button, .site-detail-back, .site-detail-feedback-button, .site-detail-map-button,
.explore-hero-button, .explore-search-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.button .icon, button .icon, .site-card-link .icon, .site-detail-map-button .icon,
.site-detail-feedback-button .icon, .explore-hero-button .icon, .explore-search-button .icon { width: 1.1em; height: 1.1em; vertical-align: 0; }
.site-card-link:hover .icon, .explore-hero-button:hover .icon { transform: translateX(2px); transition: transform .2s; }
.explore-hero-button:hover .icon-arrow-down { transform: translateY(2px); }

/* ---------- Header ---------- */
.brand-mark .icon { width: 24px; height: 24px; stroke-width: 2.2; }
.nav-toggle .icon { width: 22px; height: 22px; }
.nav-toggle .i-close { display: none; }
.nav-open .nav-toggle .i-open { display: none; }
.nav-open .nav-toggle .i-close { display: block; }

/* ---------- Sidebar admin ---------- */
.admin-sidebar a .icon { width: 18px; height: 18px; opacity: .92; }
.admin-sidebar a { font-weight: 500; }
.admin-sidebar a.active { font-weight: 700; box-shadow: inset 4px 0 0 #fff; }
.admin-user .icon { width: 18px; height: 18px; vertical-align: -3px; }
.admin-topbar { box-shadow: 0 2px 8px rgba(13,71,161,.05); }
.admin-content { max-width: 1400px; }

/* ---------- Kartu situs ---------- */
.site-card-placeholder-icon { color: #7fa6d6; }
.site-card-placeholder-icon .icon { width: 44px; height: 44px; stroke-width: 1.5; }
.site-card-location { display: flex; align-items: flex-start; gap: 8px; }
.site-card-location-icon { color: #1565C0; margin-top: 2px; }
.site-card-location-icon .icon { width: 17px; height: 17px; vertical-align: 0; }
.site-card-favorites { display: flex; align-items: center; gap: 6px; color: #c62828; }
.site-card-favorites .icon { width: 15px; height: 15px; }

/* ---------- Jelajahi ---------- */
.explore-hero-icon { color: rgba(255,255,255,.9); }
.explore-hero-icon .icon { stroke-width: 1.1; }
.explore-empty > div .icon { width: 48px; height: 48px; stroke-width: 1.4; color: #7fa6d6; }

/* ---------- Detail situs ---------- */
.site-detail-back { gap: 8px; }
.site-detail-hero-tags span { display: inline-flex; align-items: center; gap: 8px; }
.site-detail-hero-tags .icon { width: 16px; height: 16px; vertical-align: 0; }
.site-detail-hero-address { display: flex; align-items: center; gap: 8px; }
.site-detail-hero-address .icon { width: 18px; height: 18px; vertical-align: 0; }
.site-detail-hero-decoration span:first-child .icon { width: 2rem; height: 2rem; stroke-width: 1.5; }
.site-detail-hero-decoration span:last-child .icon { width: 5rem; height: 5rem; stroke-width: 1.1; }
.site-detail-favorite { display: inline-flex; align-items: center; }
.site-detail-favorite .icon { color: #e53935; }
.favorite-count .icon { color: #ff8a80; width: 16px; height: 16px; }
.site-detail-subsection h3 { display: flex; align-items: center; gap: 10px; }
.site-detail-subsection h3 span { display: inline-grid; place-items: center; color: #0D47A1; }
.history-event-time { display: inline-flex; align-items: center; gap: 6px; }
.history-event-time .icon { width: 15px; height: 15px; vertical-align: 0; }
.history-event-icon, .site-detail-info-icon, .site-detail-quiz-icon { color: #0D47A1; }
.history-event-icon .icon, .site-detail-info-icon .icon { width: 18px; height: 18px; vertical-align: 0; }
.site-detail-quiz-icon .icon { width: 22px; height: 22px; vertical-align: 0; }
.site-detail-side-note-icon { display: inline-grid; place-items: center; width: 52px; height: 52px; border-radius: 16px; background: #fff; color: #0D47A1; box-shadow: 0 4px 12px rgba(13,71,161,.10); }
.site-detail-side-note-icon .icon { width: 28px; height: 28px; vertical-align: 0; }
.site-detail-map-button .icon { width: 16px; height: 16px; }

/* ---------- Badge ---------- */
.badge-card { transition: transform .2s, box-shadow .2s; }
.badge-card.earned:hover { transform: translateY(-3px); box-shadow: 0 10px 24px rgba(13,71,161,.14); }
.badge-icon, .badge-image { display: grid; place-items: center; width: 72px; height: 72px; margin: 0 auto 6px; border-radius: 50%; }
.badge-icon { background: linear-gradient(135deg, #0D47A1, #4FC3F7); color: #fff; box-shadow: 0 6px 16px rgba(13,71,161,.25); }
.badge-icon .icon { width: 34px; height: 34px; vertical-align: 0; stroke-width: 1.8; }
.badge-image { object-fit: cover; }
.badge-card.locked .badge-icon, .badge-card.locked .badge-image { filter: grayscale(.85); box-shadow: none; }
.badge-status { display: flex; align-items: center; justify-content: center; gap: 6px; }
.badge-status .icon { width: 16px; height: 16px; vertical-align: 0; }

/* ---------- History Hunter ---------- */
.hunter-ico { color: #047857; }
.hunter-ico .icon { width: 26px; height: 26px; vertical-align: 0; }
.hunter-item small { display: inline-flex; align-items: center; gap: 5px; }
.hunter-item small .icon { width: 14px; height: 14px; vertical-align: 0; color: #059669; }
.hunter-radar strong { display: inline-flex; align-items: center; gap: 8px; }
#hunter-status .icon { width: 16px; height: 16px; }
.hunter-toast-icon { display: grid; place-items: center; flex: none; width: 40px; height: 40px; border-radius: 50%; background: #d1fae5; color: #047857; font-size: 0; }
.hunter-toast-icon .icon { width: 22px; height: 22px; vertical-align: 0; }
.hunter-toast a .icon { width: 14px; height: 14px; }
.hunter-toast button { display: grid; place-items: center; }
.hunter-toast button .icon { width: 16px; height: 16px; vertical-align: 0; }

/* ---------- Peta ---------- */
.peta-detail-addr { display: flex; gap: 8px; align-items: flex-start; }
.peta-detail-addr .icon { width: 17px; height: 17px; margin-top: 3px; color: #1565C0; vertical-align: 0; }
.peta-detail-actions .button .icon { width: 16px; height: 16px; }
.adm-ok, .adm-warn { display: inline-flex; align-items: center; gap: 6px; }
.adm-ok .icon, .adm-warn .icon { width: 15px; height: 15px; vertical-align: 0; }

/* ---------- Admin: tabel & editor ---------- */
.table-wrap tbody tr:hover { background: #f7fbff; }
.table-wrap td .icon { width: 14px; height: 14px; color: #c62828; }
.qb .opt button .icon, .qb .qtools button .icon { width: 16px; height: 16px; vertical-align: 0; }
.qb .qtools button { display: inline-flex; align-items: center; gap: 6px; }
.qb .opt button { display: inline-grid; place-items: center; }

/* ---------- Kerapian umum ---------- */
:focus-visible { outline: 3px solid #4FC3F7; outline-offset: 2px; border-radius: 6px; }
input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 0; }
.card, .badge-card, .hunter-item, .table-wrap { transition: box-shadow .2s, border-color .2s, transform .2s; }
h1 .icon { color: #0D47A1; }
::selection { background: #bfe8fb; }

/* ---------- Perbaikan kartu tanpa foto ---------- */
.site-card-placeholder > span:not(.site-card-placeholder-icon) {
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
  text-align: center;
  padding: 0 14px;
}
.site-card-placeholder-icon { font-size: 44px; line-height: 1; }

/* ---------- Foto kontribusi pengguna (galeri) ---------- */
.photo-contribute { margin: 0 0 20px; padding: 18px; border: 1px dashed #9db9d9; border-radius: 16px; background: #f6faff; }
.photo-contribute-guest { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.photo-contribute-guest > div { flex: 1 1 200px; }
.photo-contribute p { margin: 2px 0 0; color: #52657C; font-size: .9rem; }
.photo-contribute-head { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 14px; }
.photo-contribute-icon { display: inline-grid; place-items: center; flex: none; width: 44px; height: 44px; border-radius: 12px; background: #dceeff; color: #0D47A1; }
.photo-contribute-icon .icon { width: 22px; height: 22px; vertical-align: 0; }
.photo-picker { display: grid; place-items: center; min-height: 170px; margin: 0 0 14px; overflow: hidden; border: 2px dashed #b7cfec; border-radius: 14px; background: #fff; color: #0D47A1; text-align: center; cursor: pointer; transition: border-color .2s, background .2s; }
.photo-picker:hover { border-color: #1565C0; background: #f0f7ff; }
.photo-picker.has-photo { border-style: solid; padding: 0; }
.photo-picker img { display: block; width: 100%; max-height: 320px; object-fit: contain; background: #eef4fb; }
.photo-picker-empty { display: grid; gap: 6px; justify-items: center; padding: 22px 14px; font-weight: 700; }
.photo-picker-empty .icon { width: 34px; height: 34px; vertical-align: 0; stroke-width: 1.6; }
.photo-picker-empty small { color: #6b7f99; font-weight: 500; }
.photo-input { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.photo-input:focus-visible + .field, .photo-picker:focus-within { outline: 3px solid #4FC3F7; outline-offset: 2px; }
.photo-contribute-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.my-photos { margin: 0 0 20px; }
.my-photos h3 { margin: 0 0 10px; font-size: 1rem; color: #174A89; }
.my-photos-list { display: grid; gap: 12px; }
.my-photo { display: flex; gap: 12px; padding: 10px; border: 1px solid #e3ebf5; border-radius: 14px; background: #fff; }
.my-photo img { flex: none; width: 96px; height: 76px; object-fit: cover; border-radius: 10px; }
.my-photo-body { min-width: 0; flex: 1; display: grid; gap: 6px; justify-items: start; align-content: start; }
.my-photo-body p { margin: 0; }
.my-photo-body form { margin: 0; }
.photo-delete { padding: 6px 12px; font-size: 13px; min-height: 0; }
.photo-chip { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; font-size: 12px; font-weight: 700; }
.photo-chip .icon { width: 14px; height: 14px; vertical-align: 0; }
.photo-chip.pending { background: #fff4d6; color: #8a5a00; }
.photo-chip.rejected { background: #ffe5e5; color: #a12c2c; }
.gallery-credit { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; margin-top: 4px; font-size: .78rem; color: #6b7f99; }
.gallery-credit .icon { width: 13px; height: 13px; vertical-align: 0; }
.gallery-own-delete { display: inline; margin: 0; }
.gallery-own-delete button { min-height: 0; padding: 0; border: 0; background: none; color: #c62828; font-size: .78rem; font-weight: 600; text-decoration: underline; box-shadow: none; transform: none; }
.gallery-own-delete button:hover { background: none; color: #8e1b1b; box-shadow: none; transform: none; }

/* ---------- Admin: moderasi foto ---------- */
.admin-thumb { display: block; width: 110px; height: 80px; margin-bottom: 8px; object-fit: cover; border-radius: 10px; border: 1px solid #dce6f3; }
.nav-badge { margin-left: auto; min-width: 22px; padding: 1px 8px; border-radius: 999px; background: #fff; color: #0D47A1; font-size: 12px; font-weight: 800; text-align: center; }
.admin-sidebar a.active .nav-badge, .admin-sidebar a:hover .nav-badge { background: #0D47A1; color: #fff; }

@media (max-width: 576px) {
  .photo-contribute { padding: 14px; }
  .photo-picker { min-height: 150px; }
  .photo-contribute-actions > button { flex: 1 1 100%; }
  .my-photo img { width: 80px; height: 64px; }
}

/* ---------- Menu Dashboard pengguna ---------- */
.tabs { overflow-x: auto; flex-wrap: nowrap; scrollbar-width: thin; -webkit-overflow-scrolling: touch; }
.tabs a { display: inline-flex; align-items: center; gap: 7px; flex: none; white-space: nowrap; }
.tabs a .icon { width: 16px; height: 16px; vertical-align: 0; }
.tabs a.active { background: #0D47A1; border-color: #0D47A1; color: #fff; }

/* ---------- Arsip Perjuangan (gabungan Mengenal Tetenger + Peristiwa) ---------- */
.site-detail-subtitle { margin: 18px 0 6px; font-size: .95rem; font-weight: 800; color: #174A89; }
#peristiwa-sejarah .site-detail-subsection + .site-detail-subsection { margin-top: 28px; padding-top: 22px; border-top: 1px solid #e3ebf5; }

/* ---------- Penyegaran visual TETENGER ---------- */
.hero.hero-image {
  background-image: linear-gradient(115deg, rgba(5, 34, 78, .91), rgba(13, 71, 161, .78) 55%, rgba(9, 68, 130, .58)), var(--hero-image);
  background-size: cover;
  background-position: center 48%;
  min-height: 560px;
  justify-content: center;
}
.hero.hero-image h1 { max-width: 900px; }
.hero.hero-image .hero-lead { font-size: clamp(16px, 2vw, 20px); font-weight: 650; }
.section-heading-row { display: flex; justify-content: space-between; align-items: end; gap: 16px; margin: 34px 0 18px; }
.section-heading-row h2 { margin: 0; color: #123e78; font-size: clamp(22px, 3vw, 30px); }
.section-kicker { margin: 0 0 7px; color: #2674c8; font-size: 11px; font-weight: 850; letter-spacing: 1.5px; }
.text-link { display: inline-flex; align-items: center; gap: 7px; color: #0d47a1; font-weight: 750; text-decoration: none; }
.text-link:hover { color: #1976d2; }
.how-it-works { margin: 44px 0 28px; }
.how-card { border: 1px solid #dce9f8; box-shadow: 0 8px 24px rgba(13,71,161,.055); }

/* Detail tetenger menggunakan foto dokumentasi sebagai visual judul. */
.site-detail-hero.has-photo {
  background-image: linear-gradient(100deg, rgba(4, 27, 62, .94), rgba(9, 55, 113, .82) 58%, rgba(13, 71, 161, .48)), var(--detail-image);
  background-size: cover;
  background-position: center;
}
.site-detail-hero.has-photo .site-detail-hero-decoration { background: rgba(255,255,255,.08); backdrop-filter: blur(4px); }
.site-detail-hero-tags { display: none; }
.gallery-section-heading { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 16px; }
.gallery-section-heading h2 { margin: 0 0 4px; }
.gallery-section-heading .site-detail-muted { margin: 0; }
.gallery-count { flex: none; padding: 7px 12px; border-radius: 999px; background: #eaf4ff; color: #0d47a1; font-size: 12px; font-weight: 800; }
.site-detail-gallery { grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); }
.site-detail-gallery-item { box-shadow: 0 6px 18px rgba(13,71,161,.06); }
.site-detail-gallery-item img { height: 190px; }
.site-detail-gallery-item figcaption { min-height: 54px; }
.photo-account-note { display: flex; align-items: center; gap: 7px; margin: 0 0 12px !important; padding: 9px 11px; border-radius: 10px; background: #eaf4ff; color: #174a89 !important; }
.field-optional { color: #718198; font-size: .82em; font-weight: 500; }
.field-error { display: block; margin-top: 6px; color: #b42318; font-weight: 650; }
.field-hint { margin: 6px 0 0; color: #718198; font-size: 12px; line-height: 1.55; }
.photo-honeypot { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }

/* Ajakan registrasi setelah scan QR. */
body.modal-open { overflow: hidden; }
.register-prompt-backdrop { position: fixed; inset: 0; z-index: 1000; display: grid; place-items: center; padding: 18px; background: rgba(5, 20, 42, .68); backdrop-filter: blur(7px); }
.register-prompt-card { position: relative; width: min(100%, 460px); padding: 34px 30px 26px; border: 1px solid rgba(255,255,255,.7); border-radius: 25px; background: #fff; box-shadow: 0 24px 80px rgba(0,20,55,.28); text-align: center; animation: prompt-in .24s ease-out; }
.register-prompt-close { position: absolute; top: 12px; right: 14px; width: 36px; height: 36px; min-height: 36px; padding: 0; border-radius: 50%; background: #eff5fc; color: #34516f; font-size: 25px; line-height: 1; box-shadow: none; }
.register-prompt-icon { display: grid; place-items: center; width: 62px; height: 62px; margin: 0 auto 16px; border-radius: 20px; background: linear-gradient(145deg,#dff2ff,#b9e2ff); color: #0d47a1; }
.register-prompt-icon .icon { width: 31px; height: 31px; }
.register-prompt-kicker { margin: 0 0 8px; color: #2674c8; font-size: 11px; font-weight: 850; letter-spacing: 1.4px; }
.register-prompt-card h2 { margin: 0 0 12px; color: #103c76; font-size: clamp(23px, 5vw, 29px); line-height: 1.2; }
.register-prompt-card > p:not(.register-prompt-kicker) { margin: 0 0 20px; color: #52657c; font-size: 14px; line-height: 1.7; }
.register-prompt-primary { display: flex !important; justify-content: center; width: 100%; min-height: 48px; border-radius: 12px !important; background: #0d47a1 !important; color: #fff !important; }
.register-prompt-login { display: block; margin: 14px 0 8px; color: #0d47a1; font-size: 13px; font-weight: 700; text-decoration: none; }
.register-prompt-later { width: 100%; padding: 10px; background: transparent; color: #718198; font-size: 13px; box-shadow: none; }
.register-prompt-later:hover, .register-prompt-close:hover { background: #eaf4ff; color: #0d47a1; box-shadow: none; transform: none; }
@keyframes prompt-in { from { opacity: 0; transform: translateY(12px) scale(.98); } to { opacity: 1; transform: none; } }

/* Form admin: panduan, susunan dan pratinjau. */
.admin-form-page { max-width: 1180px; margin: 0 auto; }
.admin-form-heading { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin: 0 0 20px; }
.admin-form-heading h1 { margin: 0; color: #103c76; font-size: clamp(24px,3vw,32px); }
.admin-form-heading p.muted { margin: 7px 0 0; }
.form-guide-card { display: flex; align-items: flex-start; gap: 13px; margin-bottom: 18px; padding: 16px 18px; border: 1px solid #c9e2fb; border-radius: 15px; background: linear-gradient(110deg,#eff8ff,#f8fbff); color: #234566; }
.form-guide-card p { margin: 5px 0 0; color: #526b86; font-size: 13px; line-height: 1.6; }
.form-guide-icon { display: grid; place-items: center; flex: none; width: 38px; height: 38px; border-radius: 12px; background: #d9edff; color: #0d47a1; }
.admin-data-form { padding: clamp(18px,3vw,30px); border: 1px solid #dce8f6; border-radius: 18px; box-shadow: 0 8px 28px rgba(13,71,161,.06); }
.admin-form-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 0 22px; }
.admin-form-grid .field-wide { grid-column: 1 / -1; }
.admin-data-form .field { min-width: 0; margin-bottom: 18px; }
.admin-data-form label { color: #234566; font-size: 13px; font-weight: 750; }
.admin-data-form input, .admin-data-form select, .admin-data-form textarea { border-color: #cfdeee; border-radius: 10px; background: #fbfdff; }
.admin-data-form textarea { min-height: 130px; }
.admin-data-form input:focus, .admin-data-form select:focus, .admin-data-form textarea:focus { border-color: #4b9be5; outline: 3px solid rgba(79,195,247,.18); }
.admin-form-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 10px; padding-top: 20px; border-top: 1px solid #e5edf7; }
.admin-form-actions button { display: inline-flex; align-items: center; gap: 8px; }
.setting-image-preview { display: block; width: min(100%, 560px); max-height: 240px; margin: 8px 0 14px; border: 1px solid #dce8f6; border-radius: 14px; object-fit: cover; }
.admin-setting-description { color: #60758d; font-size: 13px; }

/* Kartu QR Code menyerupai galeri dokumentasi. */
.admin-qr-gallery { display: grid; grid-template-columns: repeat(auto-fill,minmax(260px,1fr)); gap: 18px; }
.admin-qr-card { display: grid; grid-template-columns: 126px minmax(0,1fr); gap: 16px; align-items: center; padding: 16px; border: 1px solid #dce8f6; border-radius: 18px; background: #fff; box-shadow: 0 6px 20px rgba(13,71,161,.055); }
.admin-qr-card-image { display: grid; place-items: center; min-height: 126px; border-radius: 14px; background: #f2f7fd; }
.admin-qr-card-image img { width: 116px; height: 116px; object-fit: contain; }
.admin-qr-card-content { min-width: 0; }
.admin-qr-card-content h2 { margin: 9px 0 5px; color: #103c76; font-size: 16px; line-height: 1.3; }
.admin-qr-card-content p { margin: 0 0 12px; color: #718198; font-size: 12px; overflow-wrap: anywhere; }
.admin-qr-status { display: inline-flex; padding: 4px 9px; border-radius: 999px; font-size: 11px; font-weight: 800; }
.admin-qr-status.is-active { background: #e4f7ed; color: #167044; }
.admin-qr-status.is-inactive { background: #fff0e8; color: #a34c1c; }
.admin-qr-actions { display: flex; flex-wrap: wrap; gap: 7px; }
.admin-qr-actions .button { min-height: 34px; padding: 7px 10px; font-size: 12px; }

/* Dashboard admin: visual lebih kuat, tetap biru dan responsif. */
.admin-welcome-banner { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 210px; margin-bottom: 26px; padding: clamp(24px,4vw,38px); overflow: hidden; border-radius: 22px; color: #fff; background: linear-gradient(115deg,#062e69 0%,#0d47a1 55%,#2386d1 100%); box-shadow: 0 16px 36px rgba(13,71,161,.18); }
.admin-welcome-copy { position: relative; z-index: 2; max-width: 720px; }
.admin-welcome-kicker { margin: 0 0 9px; color: #bde7ff; font-size: 11px; font-weight: 850; letter-spacing: 1.6px; }
.admin-welcome-copy h1 { margin: 0 0 10px; color: #fff; font-size: clamp(25px,3.5vw,36px); line-height: 1.15; }
.admin-welcome-copy > p:not(.admin-welcome-kicker) { max-width: 600px; margin: 0; color: rgba(255,255,255,.82); font-size: 14px; line-height: 1.7; }
.admin-welcome-actions { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 20px; }
.admin-welcome-actions a { display: inline-flex; align-items: center; gap: 7px; padding: 9px 13px; border: 1px solid rgba(255,255,255,.35); border-radius: 10px; background: rgba(255,255,255,.12); color: #fff; font-size: 12px; font-weight: 750; text-decoration: none; backdrop-filter: blur(5px); }
.admin-welcome-actions a:hover { background: rgba(255,255,255,.22); }
.admin-welcome-art { position: relative; flex: none; width: 190px; height: 160px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.22); border-radius: 40px; background: rgba(255,255,255,.08); transform: rotate(5deg); }
.admin-welcome-art span { display: grid; place-items: center; width: 100px; height: 100px; border-radius: 32px; background: rgba(255,255,255,.16); color: #d5f1ff; }
.admin-welcome-art .icon { width: 60px; height: 60px; }
.admin-welcome-art i,.admin-welcome-art b { position: absolute; width: 22px; height: 22px; border: 3px solid rgba(255,255,255,.45); border-radius: 50%; }
.admin-welcome-art i { top: 13px; right: 18px; }
.admin-welcome-art b { bottom: 13px; left: 18px; width: 13px; height: 13px; }
.admin-metric { border-radius: 18px; }
.admin-metric-icon { display: grid; place-items: center; width: 38px; height: 38px; margin-bottom: 13px; border-radius: 12px; background: #e8f4ff; color: #0d47a1; }
.admin-metric-icon .icon { width: 20px; height: 20px; }
.admin-metric.is-attention { border-color: #f3d49a; background: linear-gradient(145deg,#fff,#fffaf0); }
.admin-metric.is-attention .admin-metric-icon { background: #fff0cf; color: #9a5a00; }
.admin-pending-panel { margin: 24px 0; }
.admin-panel-link { display: inline-flex; align-items: center; gap: 6px; color: #0d47a1; font-size: 13px; font-weight: 750; text-decoration: none; }
.admin-pending-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 14px; }
.admin-pending-photo { overflow: hidden; border: 1px solid #e0eaf6; border-radius: 14px; background: #fbfdff; }
.admin-pending-photo img { display: block; width: 100%; height: 132px; object-fit: cover; }
.admin-pending-photo-body { display: grid; gap: 4px; padding: 12px; }
.admin-pending-photo-body strong { color: #234566; font-size: 13px; }
.admin-pending-photo-body span,.admin-pending-photo-body small { color: #718198; font-size: 11px; }
.admin-empty-state { display: grid; justify-items: center; padding: 25px 12px; color: #718198; text-align: center; }
.admin-empty-state > span { display: grid; place-items: center; width: 44px; height: 44px; margin-bottom: 9px; border-radius: 14px; background: #e6f7ed; color: #16804c; }
.admin-empty-state strong { color: #234566; }
.admin-empty-state p { margin: 5px 0 0; font-size: 13px; }

@media (max-width: 800px) {
  .admin-welcome-art { width: 130px; height: 125px; }
  .admin-welcome-art span { width: 78px; height: 78px; border-radius: 25px; }
  .admin-welcome-art .icon { width: 45px; height: 45px; }
  .admin-pending-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 600px) {
  .hero.hero-image { min-height: 0; padding: 46px 20px 28px; background-position: center; }
  .section-heading-row { align-items: flex-start; }
  .gallery-section-heading { align-items: flex-start; }
  .register-prompt-card { padding: 30px 20px 22px; }
  .admin-form-heading { align-items: flex-start; flex-direction: column; }
  .admin-form-grid { grid-template-columns: 1fr; }
  .admin-form-grid .field-wide { grid-column: auto; }
  .admin-welcome-banner { min-height: 0; padding: 23px 19px; }
  .admin-welcome-art { display: none; }
  .admin-welcome-actions a { flex: 1 1 auto; justify-content: center; }
  .admin-pending-grid { grid-template-columns: 1fr 1fr; gap: 9px; }
  .admin-pending-photo img { height: 100px; }
  .admin-qr-card { grid-template-columns: 92px minmax(0,1fr); gap: 11px; padding: 12px; }
  .admin-qr-card-image { min-height: 92px; }
  .admin-qr-card-image img { width: 86px; height: 86px; }
  .admin-qr-actions .button { flex: 1 1 100%; justify-content: center; }
}
.admin-metrics { grid-template-columns: repeat(3,minmax(0,1fr)); }
.register-page { max-width: 560px; padding: 28px; border: 1px solid #dce8f6; border-radius: 20px; box-shadow: 0 10px 32px rgba(13,71,161,.07); }
.register-page h1 { margin: 0 0 8px; color: #103c76; }
.register-page > .muted { margin: 0 0 18px; line-height: 1.6; }
.register-benefits { display: grid; gap: 10px; margin: 18px 0 24px; }
.register-benefits > div { display: flex; align-items: center; gap: 12px; padding: 11px 13px; border: 1px solid #e1edf9; border-radius: 12px; background: #f7fbff; color: #0d47a1; }
.register-benefits .icon { flex: none; width: 21px; height: 21px; }
.register-benefits span { display: grid; gap: 2px; }
.register-benefits strong { color: #234566; font-size: 13px; }
.register-benefits small { color: #718198; font-size: 12px; }
.register-note { padding: 11px 13px; border-radius: 10px; background: #f1f7fd; color: #61758d; font-size: 12px; line-height: 1.6; }
@media (max-width: 900px) { .admin-metrics { grid-template-columns: repeat(2,minmax(0,1fr)); } }
.photo-toggle-button { display: inline-flex; align-items: center; gap: 9px; min-height: 44px; margin: 0 0 16px; padding: 0 18px; border: 1px solid #c4e5fb; border-radius: 999px; background: #dff5ff; color: #075985; font-weight: 800; box-shadow: none; }
.photo-toggle-button:hover { background: #c9edff; color: #064b70; box-shadow: none; transform: translateY(-1px); }
.photo-contribute[hidden] { display: none !important; }
.site-detail-gallery { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(220px, 28%); grid-template-columns: none; overflow-x: auto; scroll-snap-type: x mandatory; padding: 0 2px 12px; }
.site-detail-gallery-item { scroll-snap-align: start; }
@media (max-width: 700px) { .site-detail-gallery { grid-auto-columns: minmax(190px, 78%); } }
