:root {
  --dark:#0c2724;
  --deep:#071d1a;
  --green:#173a34;
  --gold:#d7b777;
  --cream:#f6f3ec;
  --ink:#1b2c28;
  --muted:#6d7973
}
* {
  box-sizing:border-box
}
html {
  scroll-behavior:smooth
}
body {
  margin:0;
  font-family:'DM Sans',sans-serif;
  color:var(--ink);
  background:var(--cream)
}
a {
  text-decoration:none;
  color:inherit
}
button {
  font:inherit;
  cursor:pointer
}
img {
  max-width:100%
}
.shell {
  width:min(1180px,calc(100% - 56px));
  margin:auto
}
.site-header {
  background:var(--deep);
  color:white;
  border-bottom:1px solid #ffffff18;
  position:relative;
  z-index:20
}
.nav {
  min-height:88px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:24px
}
.brand,.nav-actions {
  display:flex;
  align-items:center;
  gap:13px
}
.logo-frame,.project-logo {
  height:44px;
  width:44px;
  border:1px solid #c4aa754f;
  border-radius:9px;
  display:grid;
  place-items:center;
  color:var(--gold);
  font-weight:700
}
.logo-frame img,.project-logo img {
  max-height:38px;
  max-width:38px;
  object-fit:contain
}
.brand-copy {
  display:grid;
  gap:4px
}
.brand-copy strong {
  font-size:12px;
  letter-spacing:1.6px
}
.brand-copy small {
  font-size:9px;
  letter-spacing:2px;
  color:#b8c6c0
}
.primary-nav {
  display:flex;
  gap:34px;
  align-items:center
}
.primary-nav a {
  font-size:13px;
  color:#c3d0c9;
  transition:color .2s
}
.primary-nav a:hover,.primary-nav a.active {
  color:var(--gold)
}
.menu-toggle {
  display:none;
  border:0;
  background:transparent;
  padding:10px
}
.menu-toggle span {
  display:block;
  background:white;
  width:23px;
  height:2px;
  margin:5px
}
.hero {
  background:radial-gradient(ellipse at 78% 32%,#21483d 0%,transparent 44%),var(--dark);
  color:white;
  position:relative;
  overflow:hidden
}
.hero-glow {
  position:absolute;
  inset:0;
  pointer-events:none;
  background:linear-gradient(115deg,transparent 0 60%,#d7b77708 100%)
}
.hero-grid {
  position:relative;
  display:grid;
  grid-template-columns:1fr 1.08fr;
  gap:52px;
  align-items:center;
  padding:92px 0 65px
}
.eyebrow,.section-eyebrow {
  color:var(--gold);
  font-size:10px;
  font-weight:700;
  letter-spacing:2.6px
}
.eyebrow {
  display:flex;
  align-items:center;
  gap:12px
}
.eyebrow-line {
  width:28px;
  height:1px;
  background:var(--gold)
}
h1,h2 {
  font-family:'Playfair Display',Georgia,serif;
  font-weight:500;
  letter-spacing:-1.4px
}
h1 {
  font-size:clamp(42px,4.6vw,69px);
  line-height:1.16;
  margin:27px 0
}
h1 em,h2 em {
  font-weight:500;
  color:var(--gold)
}
.hero-copy>p {
  font-size:15px;
  line-height:1.95;
  color:#b9c9c2;
  max-width:480px
}
.hero-buttons,.cta-actions {
  display:flex;
  flex-wrap:wrap;
  gap:12px;
  margin-top:33px
}
.btn {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:18px;
  padding:15px 21px;
  font-size:12px;
  font-weight:700;
  border-radius:4px;
  transition:transform .2s,background .2s
}
.btn:hover {
  transform:translateY(-2px)
}
.btn-gold {
  background:var(--gold);
  color:#10251f
}
.btn-outline {
  border:1px solid #819b8f;
  color:#f7f5ed
}
.hero-note {
  margin-top:55px;
  display:flex;
  align-items:center;
  gap:10px;
  font-size:10px;
  letter-spacing:1.6px;
  color:#b3c1b9
}
.dot {
  height:7px;
  width:7px;
  background:#d7b777;
  border-radius:50%;
  display:inline-block
}
.viewer-panel {
  border:1px solid #79908150;
  border-radius:12px;
  background:linear-gradient(140deg,#21453b,#102e29 60%,#0b221f);
  overflow:hidden;
  box-shadow:0 24px 80px #0004
}
.viewer-top,.viewer-bottom {
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:19px 21px;
  gap:10px
}
.viewer-kicker {
  font-size:10px;
  letter-spacing:1.5px;
  color:#d3dcd5
}
.live-pill {
  font-size:9px;
  letter-spacing:1px;
  color:#d9c38f;
  display:flex;
  align-items:center;
  gap:8px
}
.viewer-panel model-viewer {
  width:100%;
  height:400px;
  --poster-color:transparent
}
.model-placeholder {
  height:100%;
  display:flex;
  align-items:center;
  justify-content:center;
  flex-direction:column;
  gap:10px;
  color:#f1e5ca;
  background:radial-gradient(circle,#2d5b4b 0%,transparent 60%)
}
.model-symbol {
  font-size:125px;
  line-height:1;
  color:#c6ab6b;
  opacity:.8
}
.model-placeholder strong {
  font-family:Georgia,serif;
  font-size:22px
}
.model-placeholder span {
  font-size:12px;
  color:#bdc9c1
}
.model-placeholder code {
  color:#e3c581
}
.progress {
  height:3px;
  background:#ffffff22
}
.progress-fill {
  height:100%;
  width:0;
  background:var(--gold)
}
.model-error {
  padding:8px 20px;
  color:#e9cba0;
  font-size:11px;
  text-align:center
}
.viewer-bottom {
  border-top:1px solid #ffffff20;
  color:#b5c6bc;
  font-size:11px
}
.viewer-bottom button {
  border:0;
  background:none;
  color:var(--gold);
  font-size:11px
}
.hero-footer {
  display:flex;
  justify-content:space-between;
  padding:20px 0 28px;
  border-top:1px solid #ffffff1d;
  font-size:10px;
  letter-spacing:1.7px;
  color:#98aea4
}
.prayer-section {
  padding:95px 0;
  background:#f6f3ec
}
.section-heading {
  display:flex;
  justify-content:space-between;
  align-items:end;
  gap:20px;
  margin-bottom:35px
}
.section-eyebrow {
  color:#8e784b
}
.section-heading h2,.about-copy h2,.cta-inner h2 {
  font-size:clamp(35px,3.7vw,52px);
  line-height:1.2;
  margin:15px 0
}
.section-heading h2 em,.about-copy h2 em {
  color:#a1844c
}
.section-heading p {
  font-size:14px;
  color:var(--muted);
  margin:0
}
.prayer-meta {
  display:grid;
  justify-items:end;
  gap:10px;
  font-size:12px;
  color:var(--muted)
}
.zone-tag {
  background:#e5e8dd;
  color:#31554a;
  border-radius:50px;
  padding:9px 13px;
  font-size:10px;
  letter-spacing:1px;
  font-weight:700
}
.prayer-grid {
  display:grid;
  grid-template-columns:repeat(5,minmax(0,1fr));
  gap:14px
}
.prayer-card {
  background:#fff;
  border:1px solid #e5e3db;
  border-radius:9px;
  min-height:212px;
  padding:21px;
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  box-shadow:0 6px 20px #162c1a06;
  transition:transform .2s
}
.prayer-card:hover {
  transform:translateY(-4px)
}
.prayer-card.next {
  background:var(--green);
  color:white;
  border-color:var(--green)
}
.prayer-index {
  font-size:10px;
  color:#9b9f98;
  letter-spacing:1px
}
.prayer-icon {
  font-size:26px;
  margin:14px 0 8px;
  color:#b69b62
}
.prayer-card h3 {
  font-size:13px;
  font-weight:600;
  margin:0 0 9px
}
.prayer-card strong {
  font-size:29px;
  letter-spacing:-1px;
  font-weight:700;
  font-variant-numeric:tabular-nums
}
.prayer-en {
  font-size:11px;
  color:#9b9f98;
  margin-top:5px
}
.prayer-card.next .prayer-en {
  color:#b6c8be
}
.prayer-footer {
  display:flex;
  justify-content:space-between;
  gap:15px;
  margin-top:17px;
  font-size:11px;
  color:#758079
}
.text-button {
  border:0;
  background:none;
  color:#567265;
  font-weight:700
}
.about-section {
  padding:105px 0;
  background:#fff
}
.about-grid {
  display:grid;
  grid-template-columns:.85fr 1fr;
  gap:100px;
  align-items:center
}
.about-graphic {
  height:480px;
  background:radial-gradient(circle at 50% 60%,#345a4c,#133a33 65%,#102d28);
  position:relative;
  padding:35px
}
.graphic-border {
  height:100%;
  border:1px solid #c5a96b80;
  display:flex;
  align-items:end;
  justify-content:center
}
.arch {
  width:73%;
  height:85%;
  border:2px solid #d2b77b;
  border-bottom:0;
  border-radius:180px 180px 0 0;
  display:flex;
  align-items:center;
  justify-content:center;
  flex-direction:column;
  gap:18px;
  color:#d7b777
}
.arch span {
  font-family:Georgia,serif;
  font-size:65px;
  letter-spacing:9px
}
.arch small {
  font-size:9px;
  letter-spacing:2px;
  text-align:center
}
.graphic-caption {
  position:absolute;
  bottom:14px;
  right:35px;
  color:#d6c7a4;
  font-size:9px;
  letter-spacing:2px
}
.about-copy h2 {
  margin:18px 0 24px
}
.about-copy p {
  font-size:14px;
  line-height:1.95;
  color:#6d7973
}
.feature-list {
  margin:27px 0;
  border-top:1px solid #e6e8e2
}
.feature-list>div {
  display:flex;
  gap:22px;
  padding:17px 0;
  border-bottom:1px solid #e6e8e2
}
.feature-list>div>span {
  color:#a58c59;
  font-size:12px
}
.feature-list>div>div {
  display:grid;
  gap:6px
}
.feature-list strong {
  font-size:13px
}
.feature-list small {
  font-size:12px;
  color:#78827b
}
.inline-link {
  display:inline-flex;
  gap:30px;
  color:#305b4b;
  font-size:12px;
  font-weight:700;
  margin-top:12px
}
.cta-section {
  background:#153c34;
  color:#fff;
  padding:65px 0
}
.cta-inner {
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:25px
}
.cta-inner h2 {
  margin-bottom:0
}
.cta-actions {
  margin-top:0
}
.footer {
  background:#0b231f;
  color:#e6ece6
}
.footer-inner {
  display:flex;
  justify-content:space-between;
  gap:20px;
  align-items:center;
  padding:32px 0
}
.footer-inner>div {
  display:grid;
  gap:8px
}
.footer-inner strong {
  font-size:11px;
  letter-spacing:1.4px
}
.footer-inner small,.footer-inner>span {
  font-size:11px;
  color:#a2b5aa
}
@media(max-width:980px) {
  .hero-grid {
    grid-template-columns:1fr;
    gap:35px;
    padding-top:65px
  }
  .hero-copy {
    max-width:720px
  }
  .hero-note {
    margin-top:32px
  }
  .about-grid {
    gap:35px
  }
  .prayer-grid {
    gap:8px
  }
  .prayer-card {
    padding:14px
  }
  .prayer-card strong {
    font-size:23px
  }
}
@media(max-width:650px) {
  .shell {
    width:min(100% - 32px,1180px)
  }
  .nav {
    min-height:73px
  }
  .brand-copy strong {
    font-size:10px;
    letter-spacing:.8px
  }
  .brand-copy small {
    font-size:8px;
    letter-spacing:1px
  }
  .logo-frame,.project-logo {
    width:36px;
    height:36px
  }
  .project-logo {
    display:none
  }
  .menu-toggle {
    display:block
  }
  .primary-nav {
    display:none;
    position:absolute;
    top:100%;
    left:0;
    right:0;
    background:#0b231f;
    padding:20px 25px;
    flex-direction:column;
    align-items:stretch;
    gap:20px;
    border-top:1px solid #ffffff22
  }
  .primary-nav.open {
    display:flex
  }
  .hero-grid {
    padding:55px 0 42px
  }
  h1 {
    font-size:43px
  }
  .hero-copy>p {
    font-size:14px
  }
  .viewer-panel model-viewer {
    height:320px
  }
  .viewer-top,.viewer-bottom {
    padding:15px 12px
  }
  .viewer-bottom {
    font-size:10px
  }
  .hero-footer {
    font-size:9px
  }
  .prayer-section,.about-section {
    padding:65px 0
  }
  .section-heading {
    align-items:start;
    flex-direction:column
  }
  .prayer-meta {
    justify-items:start
  }
  .prayer-grid {
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:10px
  }
  .prayer-card {
    min-height:170px
  }
  .prayer-card:last-child {
    grid-column:span 2
  }
  .prayer-footer {
    align-items:flex-start
  }
  .about-grid {
    grid-template-columns:1fr
  }
  .about-graphic {
    height:340px
  }
  .cta-inner,.footer-inner {
    align-items:flex-start;
    flex-direction:column
  }
  .cta-actions {
    margin-top:10px
  }
}
@media(prefers-reduced-motion:reduce) {
  *,*:before,*:after {
    scroll-behavior:auto!important;
    transition:none!important
  }
}
/* ===== Brand logos: sized for legibility, without cropping ===== */ .nav {
  min-height: 104px;
}
.logo-frame, .project-logo {
  width: 76px;
  height: 76px;
  border: none;
  background: rgba(255,255,255,.06);
  border-radius: 14px;
  padding: 7px;
  flex-shrink: 0;
}
.logo-frame img, .project-logo img {
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  object-fit: contain;
}
.project-logo {
  width: 76px;
  height: 76px;
}
/* ===== 3D presentation and annotations ===== */ .viewer-panel {
  position: relative;
  background: linear-gradient(155deg, #294c49 0%, #152e2c 48%, #0b201e 100%);
  box-shadow: 0 30px 85px rgba(0,0,0,.28), inset 0 0 0 1px rgba(255,255,255,.12);
}
.viewer-panel model-viewer {
  width: 100%;
  background: radial-gradient(ellipse at 50% 62%, rgba(214,189,130,.17), transparent 58%),               linear-gradient(180deg, #47635f 0%, #213d39 52%, #102c29 100%);
}
.hotspot {
  display: flex;
  align-items: center;
  gap: 7px;
  border: 0;
  background: none;
  color: #fff;
  padding: 6px;
  white-space: nowrap;
}
.hotspot-pin {
  display: grid;
  place-items: center;
  width: 29px;
  height: 29px;
  border-radius: 50%;
  background: #e1bd78;
  color: #17342f;
  font-weight: 700;
  border: 3px solid white;
  box-shadow: 0 3px 20px #0008;
}
.hotspot-label {
  background: rgba(10,35,31,.9);
  padding: 7px 10px;
  border-radius: 7px;
  font-size: 11px;
  box-shadow: 0 3px 16px #0005;
}
.hotspot[hidden], .annotation-detail[hidden] {
  display: none !important;
}
.annotation-detail {
  position: absolute;
  bottom: 67px;
  left: 20px;
  right: 20px;
  z-index: 4;
  padding: 18px 45px 18px 20px;
  border: 1px solid rgba(225,189,120,.4);
  border-radius: 12px;
  background: rgba(8,32,29,.95);
  color: #fff;
  backdrop-filter: blur(12px);
}
.annotation-detail strong {
  color: #e1bd78;
}
.annotation-detail p {
  margin: 8px 0 0;
  font-size: 12px;
  line-height: 1.6;
  color: #d6e1dc;
}
#close-annotation {
  position: absolute;
  right: 12px;
  top: 10px;
  background: transparent;
  border: 0;
  color: #fff;
  font-size: 24px;
}
.viewer-bottom {
  flex-wrap: wrap;
  gap: 10px;
}
/* ===== About section: real mosque photography ===== */ .about-grid {
  align-items: center;
}
.about-media {
  min-width: 0;
}
.photo-carousel {
  height: 490px;
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  background: linear-gradient(135deg, #264a42, #102a25);
  box-shadow: 0 28px 65px rgba(12,39,36,.16);
}
.mosque-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity .55s ease;
}
.mosque-photo.active:not(.missing-photo) {
  opacity: 1;
}
.photo-placeholder {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  text-align: center;
  padding: 30px;
  color: #e8d7ac;
}
.photo-placeholder span {
  font: 72px Georgia, serif;
}
.photo-placeholder p {
  font-size: 13px;
  max-width: 250px;
  line-height: 1.6;
}
.photo-carousel.has-photo .photo-placeholder {
  display: none;
}
.photo-overlay {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 75px 25px 65px;
  background: linear-gradient(transparent, rgba(4,22,19,.87));
  color: white;
  display: grid;
  gap: 7px;
  pointer-events: none;
}
.photo-overlay span {
  color: #e5c488;
  font-size: 10px;
  letter-spacing: 2px;
}
.photo-overlay strong {
  font: 29px 'Playfair Display', Georgia, serif;
}
.photo-controls {
  position: absolute;
  bottom: 16px;
  right: 18px;
  display: flex;
  gap: 14px;
  align-items: center;
  color: white;
  font-size: 11px;
}
.photo-controls button {
  background: #ffffff27;
  border: 1px solid #ffffff55;
  border-radius: 50%;
  width: 34px;
  height: 34px;
  color: white;
}
.photo-controls button:hover {
  background: #d7b777;
  color: #102a25;
}
.media-caption {
  margin-top: 19px;
  display: flex;
  align-items: center;
  gap: 12px;
  color: #718078;
  font-size: 10px;
  letter-spacing: 2px;
}
.caption-line {
  width: 35px;
  height: 1px;
  background: #b39a64;
}
.about-copy .about-lead {
  font-size: 17px;
  color: #263e35;
  font-weight: 600;
}
@media (max-width: 650px) {
  .nav {
    min-height: 82px;
  }
  .logo-frame {
    width: 58px;
    height: 58px;
  }
  .project-logo {
    display: grid;
    width: 58px;
    height: 58px;
  }
  .brand-copy {
    display: none;
  }
  .photo-carousel {
    height: 360px;
  }
  .hotspot-label {
    font-size: 9px;
    padding: 5px;
  }
  .hotspot-pin {
    width: 24px;
    height: 24px;
  }
}

/* ===== Model presentation: calibrated for the supplied mosque.glb ===== */
.viewer-panel model-viewer {
  background: radial-gradient(ellipse at 50% 75%, rgba(205, 185, 138, .24), transparent 55%),
              linear-gradient(165deg, #36564f 0%, #1a3933 55%, #102720 100%);
}
#pick-hotspots[aria-pressed="true"] {
  color: #e1bd78;
  border-color: #e1bd78;
}


/* ==========================================
   3D MODEL HOTSPOTS
   ========================================== */

.hotspot {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;

  background: transparent;
  border: none;
  cursor: pointer;
}

.hotspot-pin {
  display: grid;
  place-items: center;

  width: 36px;
  height: 36px;

  border-radius: 50%;
  background: #d7b477;
  color: #12372f;

  font-size: 22px;
  font-weight: 700;

  border: 2px solid #fff;
  box-shadow:
    0 4px 12px rgba(0, 0, 0, 0.25),
    0 0 0 5px rgba(215, 180, 119, 0.2);

  transition: transform 0.2s ease;
}

.hotspot:hover .hotspot-pin {
  transform: scale(1.15);
}

.hotspot-label {
  padding: 6px 12px;
  border-radius: 8px;

  background: rgba(12, 39, 36, 0.92);
  color: #fff;

  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;

  pointer-events: none;
}

/* Let model-viewer own the hotspot's projected screen position. */
#mosque-model > .hotspot {
  position: static;
  top: auto;
  left: auto;
  right: auto;
  bottom: auto;
  transform: none;
  margin: 0;
}

/* Only inner hotspot elements may animate or offset. */
#mosque-model > .hotspot .hotspot-pin {
  transform-origin: center;
}

/* Hide slotted elements until the model-viewer custom element is ready. */
model-viewer:not(:defined) > * {
  display: none;
}

/* Respect hidden hotspot states */
.hotspot[hidden] {
  display: none;
}

/* Keep the 3D model and annotations inside the viewer */

#mosque-model {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 380px;
  position: relative;
  overflow: hidden;
}

/* Prevent the viewer panel from overflowing */
.viewer-panel {
  overflow: hidden;
}

/* Keep hotspot labels compact */
.hotspot {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  border: none;
  background: transparent;
  cursor: pointer;
}

.hotspot-pin {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #d7b477;
  color: #12372f;
  font-size: 20px;
  font-weight: bold;
}

.hotspot-label {
  padding: 5px 8px;
  border-radius: 6px;
  background: rgba(12, 39, 36, 0.9);
  color: white;
  font-size: 11px;
  white-space: nowrap;
}

/* ===== Viewer actions, enlarged framing, and fullscreen ===== */
.viewer-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 8px 14px;
  margin-left: auto;
}
.viewer-bottom .viewer-actions button {
  white-space: nowrap;
  padding: 7px 4px;
  border-radius: 5px;
}
.viewer-bottom .viewer-actions button:hover,
.viewer-bottom .viewer-actions button:focus-visible {
  color: #fff;
  background: rgba(215, 183, 119, .13);
}
.viewer-panel:fullscreen {
  width: 100%;
  height: 100%;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  border: 0;
  border-radius: 0;
  background: #102c29;
}
.viewer-panel:fullscreen #mosque-model {
  flex: 1 1 auto;
  min-height: 0;
  height: auto;
}
.viewer-panel:fullscreen .viewer-top,
.viewer-panel:fullscreen .viewer-bottom {
  flex: 0 0 auto;
}
.viewer-panel:fullscreen .annotation-detail {
  bottom: 75px;
}
@media (max-width: 650px) {
  .viewer-bottom { justify-content: center; }
  .viewer-actions { width: 100%; justify-content: space-between; margin-left: 0; }
  .viewer-bottom .viewer-actions button { font-size: 10px; }
  .viewer-panel:fullscreen .viewer-bottom { padding-bottom: max(12px, env(safe-area-inset-bottom)); }
}



/* ===== 3D Viewer Toolbar ===== */

.viewer-bottom {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 14px;
    padding: 18px 16px;
}

/* Action buttons */
.viewer-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    width: 100%;
    margin-left: 0;
}

.viewer-bottom .viewer-actions button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    min-height: 36px;
    padding: 8px 11px;
    border: 1px solid rgba(215, 183, 119, 0.22);
    border-radius: 7px;
    background: rgba(255, 255, 255, 0.04);
    color: #e4d2a8;
    font-size: 11px;
    font-weight: 600;
    white-space: nowrap;
    transition: background .2s, border-color .2s, color .2s;
}

.viewer-bottom .viewer-actions button:hover,
.viewer-bottom .viewer-actions button:focus-visible {
    background: rgba(215, 183, 119, 0.14);
    border-color: #d7b777;
    color: #fff;
}

.action-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 16px;
    font-size: 15px;
    line-height: 1;
}

/* Viewer instructions */
.viewer-hints {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    width: 100%;
    color: #b5c6bc;
    font-size: 11px;
    text-align: center;
}

/* Mobile */
@media (max-width: 650px) {
    .viewer-bottom {
        padding: 14px 12px;
        gap: 12px;
    }

    .viewer-actions {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
    }

    .viewer-bottom .viewer-actions button {
        width: 100%;
        min-height: 40px;
        padding: 9px 7px;
        font-size: 10px;
    }

    .viewer-hints {
        gap: 12px;
        font-size: 10px;
    }
}
