/* Screen overlay 4 ack */
#ack-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #f5f0e8;
  display: flex;
  flex-direction: column;
  align-items: center;
  overflow-y: auto;
  z-index: 1000;
  font-family: Arial, sans-serif;
}

/* Brown header block (perhaps change the colour slightly) */
#ack-header {
  width: 100%;
  background: #6e310e;
  text-align: center;
  padding: 3.5rem 1.5rem 2.5rem;
  box-sizing: border-box;
}

#ack-header .est {
  color: #d4a078;
  font-size: 12px;
  letter-spacing: 0.15em;
  margin: 0 0 0.5rem;
}

#ack-header h1 {
  color: #ffffff;
  font-family: Georgia, serif;
  font-size: clamp(2.5rem, 10vw, 3.5rem);
  font-weight: 700;
  margin: 0 0 0.75rem;
  line-height: 1.1;
}

#ack-header .museum {
  color: #d4a078;
  font-size: 1rem;
  margin: 0 0 0.2rem;
}

#ack-header .location {
  color: #c49060;
  font-size: 0.85rem;
  margin: 0;
}

/* Cream content block */
#ack-body {
  width: 100%;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 2.5rem 2rem 2rem;
  box-sizing: border-box;
}

/* Ibis icon circle!!! */
#ack-body .dodo-circle {
  width: 120px;
  height: 120px;
  background: #ede8de;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 58px;
  margin-bottom: 1.5rem;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

#ack-body h2 {
  font-family: Georgia, serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: #1a1208;
  margin: 0 0 0.75rem;
  line-height: 1.35;
}

#ack-body .subtitle {
  font-size: 0.95rem;
  color: #5a4a35;
  margin: 0 0 2rem;
  line-height: 1.5;
}

#ack-overlay button {
  width: 100%;
  max-width: 380px;
  background: #c17952;
  color: #ffffff;
  border: none;
  border-radius: 50px;
  padding: 1rem;
  font-size: 1rem;
  font-weight: 600;
  font-family: Arial, sans-serif;
  cursor: pointer;
  margin-bottom: 1.5rem;
  box-shadow: 0 0 18px 4px rgba(160, 87, 42, 0.55), 0 0 30px 8px rgba(160, 87, 42, 0.25);
}

#ack-overlay button:active {
  background: #8B3E10;
}

.ack-footnote {
  font-size: 0.75rem;
  color: #7a6a55;
  line-height: 1.6;
  margin: 0 0 0.75rem;
  max-width: 340px;
}

.ack-wifi {
  font-size: 0.75rem;
  color: #9a8a75;
  margin: 0;
}

/* Before u begin screen */
#byb-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #f5f0e8;
  display: none;
  flex-direction: column;
  align-items: center;
  overflow-y: auto;
  z-index: 1000;
  font-family: Arial, sans-serif;
  box-sizing: border-box;
  padding: 2.5rem 1.75rem 2rem;
}

#byb-overlay h1 {
  font-family: Georgia, serif;
  font-size: clamp(1.8rem, 8vw, 2.2rem);
  font-weight: 700;
  color: #1a1208;
  margin: 0 0 0.6rem;
  text-align: center;
}

#byb-overlay .byb-sub {
  font-size: 0.9rem;
  color: #7a6a55;
  margin: 0 0 1.75rem;
  text-align: center;
  line-height: 1.5;
}

/* How-to cards */
.byb-steps {
  width: 100%;
  max-width: 420px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 1.5rem;
}

.byb-step {
  background: #ffffff;
  border-radius: 16px;
  padding: 1rem 1.1rem;
  display: flex;
  align-items: center;
  gap: 14px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.byb-step-icon {
  width: 44px;
  height: 44px;
  background: #ede8de;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  flex-shrink: 0;
}

.byb-step-text h3 {
  font-size: 0.95rem;
  font-weight: 700;
  color: #1a1208;
  margin: 0 0 2px;
}

.byb-step-text p {
  font-size: 0.8rem;
  color: #7a6a55;
  margin: 0;
}

/* Div line */
.byb-divider {
  width: 40px;
  height: 2px;
  background: #c49060;
  border-radius: 2px;
  margin: 0 auto 1.5rem;
}

/* Please remember box!!! */
.byb-remember {
  width: 100%;
  max-width: 420px;
  background: #ede8de;
  border-radius: 16px;
  padding: 1.1rem 1.2rem;
  margin-bottom: 1.75rem;
  box-sizing: border-box;
}

.byb-remember h4 {
  font-family: Georgia, serif;
  font-style: italic;
  font-size: 1rem;
  color: #a0572a;
  text-align: center;
  margin: 0 0 0.75rem;
  font-weight: 400;
}

.byb-remember ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.byb-remember ul li {
  font-size: 0.82rem;
  color: #3a2a1a;
}

/* I Understand button :3 */
#byb-overlay .byb-btn {
  width: 100%;
  max-width: 420px;
  background: #c17952;
  color: #ffffff;
  border: none;
  border-radius: 50px;
  padding: 1rem;
  font-size: 1rem;
  font-weight: 600;
  font-family: Arial, sans-serif;
  cursor: pointer;
  margin-bottom: 1rem;
  box-shadow: 0 0 18px 4px rgba(160, 87, 42, 0.55), 0 0 30px 8px rgba(160, 87, 42, 0.25);
}

#byb-overlay .byb-btn:active {
  background: #8B3E10;
}

.byb-wifi {
  font-size: 0.72rem;
  color: #9a8a75;
  text-align: center;
  margin: 0;
}

/* Explore scween */
#explore-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #f5f0e8;
  display: none;
  flex-direction: column;
  z-index: 1000;
  font-family: Arial, sans-serif;
  box-sizing: border-box;
}

/* Explore header (dis is fixed inside scween) */
#explore-header {
  padding: 2.5rem 1.75rem 0.75rem;
  flex-shrink: 0;
}

#explore-header h1 {
  font-family: Georgia, serif;
  font-size: 2rem;
  font-weight: 700;
  color: #1a1208;
  margin: 0 0 0.2rem;
}

#explore-header .explore-sub {
  font-size: 0.85rem;
  color: #7a6a55;
  margin: 0 0 1rem;
}

/* All/Visited tab pillz */
.explore-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 1rem;
}

.explore-tab {
  background: transparent;
  color: #1a1208;
  border: none;
  border-radius: 50px;
  padding: 6px 18px;
  font-size: 0.85rem;
  font-weight: 600;
  font-family: Arial, sans-serif;
  cursor: pointer;
}

.explore-tab.active {
  background: #1a1208;
  color: #ffffff;
}

/* Scrollable body */
#explore-body {
  flex: 1;
  overflow-y: auto;
  padding: 0 1.75rem 2rem;
}

/* Era section */
.era-section {
  margin-bottom: 1.75rem;
}

.era-label {
  font-size: 0.72rem;
  font-weight: 700;
  color: #a0572a;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin: 0 0 0.6rem;
}

/* Horiz card row */
.era-row {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 6px;
  scrollbar-width: none;
}

.era-row::-webkit-scrollbar {
  display: none;
}

/* Exhibit card */
.exhibit-card {
  min-width: 140px;
  border-radius: 14px;
  overflow: hidden;
  flex-shrink: 0;
  background: #ffffff;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.exhibit-card.visited {
  opacity: 0.5;
}

.exhibit-card-img {
  background: #ede8de;
  height: 90px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 38px;
}

.exhibit-card-body {
  padding: 0.6rem 0.75rem;
}

.exhibit-card-body h3 {
  font-size: 0.82rem;
  font-weight: 700;
  color: #1a1208;
  margin: 0 0 2px;
}

.exhibit-card-body p {
  font-size: 0.72rem;
  color: #a0572a;
  margin: 0;
}

/* Exhibit detail scween */
#detail-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #f5f0e8;
  display: none;
  flex-direction: column;
  z-index: 1001;
  font-family: Arial, sans-serif;
  overflow-y: auto;
}

/* Dark hero top bit */
.detail-hero {
  background: #3b2a1a;
  width: 100%;
  min-height: 280px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 2rem 1.5rem 2.5rem;
  box-sizing: border-box;
  flex-shrink: 0;
}

/* Back arrow */
.detail-back {
  position: absolute;
  top: 1.25rem;
  left: 1.25rem;
  width: 38px;
  height: 38px;
  background: rgba(255, 255, 255, 0.15);
  border: none;
  border-radius: 50%;
  color: #fff;
  font-size: 1.1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.detail-hero-emoji {
  font-size: 72px;
  margin-bottom: 0.75rem;
}

.detail-hero-hint {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.5);
  letter-spacing: 0.05em;
  margin: 0;
}

/* Drag pill */
.detail-pill {
  width: 36px;
  height: 4px;
  background: #c49060;
  border-radius: 2px;
  margin: 1.25rem auto 0;
  flex-shrink: 0;
}

/* Detail content sheet */
.detail-sheet {
  background: #f5f0e8;
  flex: 1;
  padding: 1.5rem 1.75rem 6rem;
  box-sizing: border-box;
}

.detail-era-line {
  font-size: 0.72rem;
  font-weight: 700;
  color: #a0572a;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin: 0 0 0.4rem;
}

.detail-title {
  font-family: Georgia, serif;
  font-size: 1.9rem;
  font-weight: 700;
  color: #1a1208;
  margin: 0 0 0.5rem;
  line-height: 1.15;
}

/* Audio player bar (currently fucked up and needs fixing) */
.detail-audio {
  background: #ede8de;
  border-radius: 50px;
  padding: 0.75rem 1rem;
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 1.25rem;
}

.detail-audio-play {
  width: 36px;
  height: 36px;
  background: #c17952;
  border: none;
  border-radius: 50%;
  color: #fff;
  font-size: 0.85rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.detail-audio-wave {
  flex: 1;
  font-size: 0.75rem;
  color: #c17952;
  letter-spacing: 0.05em;
}

.detail-audio-time {
  font-size: 0.78rem;
  color: #7a6a55;
  flex-shrink: 0;
}

.detail-description {
  font-size: 0.93rem;
  color: #3a2a1a;
  line-height: 1.65;
  margin: 0 0 0.75rem;
}

.detail-readmore {
  font-size: 0.88rem;
  color: #c17952;
  font-weight: 600;
  cursor: pointer;
  margin: 0 0 2rem;
  display: inline-block;
}

/* View in AR button (also sorta fucked up) */
.detail-ar-btn {
  width: 100%;
  max-width: 380px;
  background: #c17952;
  color: #ffffff;
  border: none;
  border-radius: 50px;
  padding: 1rem;
  font-size: 1rem;
  font-weight: 600;
  font-family: Arial, sans-serif;
  cursor: pointer;
  display: block;
  margin: 0 auto;
  box-shadow: 0 0 18px 4px rgba(160, 87, 42, 0.45), 0 0 30px 8px rgba(160, 87, 42, 0.2);
}

.detail-ar-btn:active {
  background: #8B3E10;
}

/* Score display lad */
#score-ui {
  position: fixed;
  top: 10px;
  left: 10px;
  background: rgba(0,0,0,0.6);
  color: white;
  padding: 10px 14px;
  border-radius: 8px;
  font-family: Arial, sans-serif;
  font-size: 18px;
  z-index: 999;
  display: none;
}

/* Audio toggle UI */
#audio-toggle {
  position: fixed;
  top: 60px;
  left: 10px;
  background: rgba(0,0,0,0.6);
  color: white;
  padding: 8px 12px;
  border-radius: 8px;
  font-family: Arial;
  font-size: 14px;
  z-index: 999;
  display: none;
  cursor: pointer;
}