/* Royal treasury: exhibit styling is scoped to #yadigar; the hall continues into the ending. */
.hall { position: absolute; left: 0; right: 0; z-index: 1; pointer-events: none; overflow: hidden;
  background:
    radial-gradient(ellipse at 18% 26%, rgba(171, 133, 72, .065), transparent 38%),
    repeating-linear-gradient(0deg, transparent 0 119px, rgba(190, 166, 116, .025) 120px 121px),
    repeating-linear-gradient(90deg, transparent 0 159px, rgba(190, 166, 116, .02) 160px 161px),
    linear-gradient(90deg, #080b0e, #131416 30%, #131416 70%, #080b0e);
  -webkit-mask-image: linear-gradient(transparent, #000 var(--fade, 400px)); mask-image: linear-gradient(transparent, #000 var(--fade, 400px)); }
/* Yolun üstündeki altın şeritli kırmızı yolluk. */
.hall::before { content: ''; position: absolute; top: 0; bottom: 0; left: 50%; width: var(--road); transform: translateX(-50%);
  background:
    linear-gradient(90deg, #0a0709 0 3%, #c69f52 3% 5%, #4a0f18 5% 8%, #c69f52 8% 9.5%, transparent 9.5% 90.5%, #c69f52 90.5% 92%, #4a0f18 92% 95%, #c69f52 95% 97%, #0a0709 97%),
    repeating-linear-gradient(45deg, rgba(242, 217, 147, .1) 0 3px, transparent 3px 34px),
    repeating-linear-gradient(-45deg, rgba(242, 217, 147, .1) 0 3px, transparent 3px 34px),
    linear-gradient(90deg, #5d1220, #8a1c2c 50%, #5d1220);
  box-shadow: inset 0 0 44px rgba(0, 0, 0, .55), 0 0 44px 8px rgba(0, 0, 0, .75); }
.hall i { position: absolute; width: 3px; height: 3px; background: #f2d993; box-shadow: 0 0 7px 1px rgba(242, 217, 147, .8); opacity: 0;
  animation: mote var(--d, 7s) linear var(--w, 0s) infinite; }
@keyframes mote { 0% { opacity: 0; translate: 0 0; } 18% { opacity: .9; } 100% { opacity: 0; translate: var(--x, 20px) -190px; } }

/* An intimate treasury on both sides of the unchanged central carpet. */
#yadigar.royal-gallery { --relic-tone: #e0b45d; max-width: 1480px; column-gap: clamp(30px, 4vw, 65px); padding: 100px 64px 76px; }
#yadigar > .gallery-display { justify-self: stretch; width: 100%; }
.royal-display { width: 100%; max-width: 430px; margin: auto; }
.exhibit-heading { display: flex; justify-content: flex-end; align-items: center; padding: 0 2px 15px; color: #aaa391;
  font: 10px var(--body); letter-spacing: .19em; }
.exhibit-count { color: #d9c6a1; font-variant-numeric: tabular-nums; letter-spacing: .12em; }
.royal-exhibit { position: relative; height: clamp(290px, 40vh, 380px); display: grid; place-items: center; isolation: isolate; }
.exhibit-arch { position: absolute; inset: 0 17px 28px; border: 1px solid #b49b6533; border-radius: 48% 48% 3px 3px;
  background: radial-gradient(ellipse at 50% 25%, #b3a0820c, transparent 65%), linear-gradient(125deg, #ffffff04, transparent 46%, #ffffff02);
  box-shadow: inset 0 0 65px #0007, 0 20px 45px #0004; }
.exhibit-arch::before { content: ''; position: absolute; inset: 8px; border: 1px solid #b49b6514; border-radius: inherit; }
.exhibit-halo { position: absolute; inset: 9% 10% 17%; opacity: .3;
  background: radial-gradient(ellipse, color-mix(in srgb, var(--relic-tone) 23%, transparent), transparent 69%); transition: background .5s; }
.exhibit-star { position: absolute; left: calc(50% - 7px); top: 7%; width: 14px; height: 14px; color: #c8ac6d80; }
#yadigar .royal-artwork { position: relative; width: auto; height: clamp(160px, 23vh, 205px); max-width: 64%; max-height: none;
  margin: -34px 0 0; object-fit: contain; filter: drop-shadow(0 18px 15px #000b) drop-shadow(0 0 22px color-mix(in srgb, var(--relic-tone) 10%, transparent));
  animation: royal-breathe 7s ease-in-out infinite; }
.royal-plinth { position: absolute; left: 13%; right: 13%; bottom: 70px; height: 24px; z-index: -1;
  border: 1px solid #a68b573b; border-radius: 50%; background: linear-gradient(#2e2c28, #12181c); box-shadow: 0 12px 20px #0009; }
.royal-plinth::before { content: ''; position: absolute; left: 1%; right: 1%; top: -9px; height: 24px; border-radius: 50%;
  border: 1px solid #b8a37466; background: radial-gradient(ellipse, #3b3930, #20272b 65%); }
.royal-plinth i { position: absolute; left: 7%; right: 7%; top: 9px; height: 1px; background: #b8a3742b; }
.exhibit-caption { position: absolute; bottom: 0; left: 0; right: 0; display: grid; gap: 5px; text-align: center; }
.exhibit-caption > span { color: #8e9896; font: 9px var(--body); letter-spacing: .2em; text-transform: uppercase; }
.exhibit-caption b { color: #e4d4b4; font: 500 16px var(--display); }
.exhibit-controls { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 20px 0 13px; }
.exhibit-controls p { color: #89928f; text-align: center; font: 10px/1.5 var(--body); }
.exhibit-controls button { flex: none; width: 36px; height: 30px; border: 1px solid #b19b6330; border-radius: 2px;
  color: #cbb588; background: #11191b99; font: 18px var(--body); cursor: pointer; }
.exhibit-controls button:hover { border-color: #d5b975; color: #f1dbae; }
.relic-selection { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 7px; }
.relic-pick { position: relative; display: grid; justify-items: center; align-content: center; gap: 6px; min-width: 0; height: 76px; padding: 8px 3px 6px;
  border: 1px solid #8c80582e; border-radius: 2px; color: #72817f; background: #10171bcc; cursor: pointer;
  transition: border-color .2s, background .2s, color .2s; }
#yadigar .relic-pick img { width: auto; height: 37px; max-width: 100%; max-height: none; object-fit: contain; opacity: .72; transition: opacity .2s, translate .2s; }
.relic-pick span { font: 9px var(--body); letter-spacing: .12em; }
.relic-pick:hover { border-color: #b8a16f99; color: #d5c6a5; }
.relic-pick:hover img { opacity: 1; translate: 0 -2px; }
.relic-pick[aria-selected='true'] { color: #ead5a7; border-color: #baa06c; background: linear-gradient(#b79a5220, #161c21); box-shadow: inset 0 -2px #c4a66d; }
#yadigar .relic-pick[aria-selected='true'] img { opacity: 1; }
#yadigar > .gallery-story { justify-self: stretch; }
.relic-inspection {
  margin-top: 18px;
  padding: 14px;
  border: 1px solid var(--card-divider);
  border-radius: 10px;
  background: #0c1720;
}
.inspection-meta { display: flex; justify-content: space-between; align-items: center; color: var(--card-muted); font: 600 11px var(--body); letter-spacing: .1em; }
.inspection-meta svg { width: 13px; height: 13px; color: var(--relic-tone); transition: color .3s; }
.gallery-story .inspection-name { margin: 9px 0 7px; font: 650 clamp(19px, 1.7vw, 25px)/1.25 var(--display); letter-spacing: -.02em; text-transform: none; color: var(--parch); }
.inspection-description { min-height: 4.65em; color: #c1ccc6; font: 13px/1.55 var(--body); }
.relic-inspection dl { display: grid; gap: 7px; margin: 12px 0 0; padding-top: 10px; border-top: 1px solid var(--card-divider); }
.relic-inspection dl > div { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.2fr); gap: 10px; align-items: baseline; }
.relic-inspection dt { color: var(--card-muted); font: 650 10px/1.4 var(--body); letter-spacing: .06em; }
.relic-inspection dd { margin: 0; color: #cbd4ce; font: 12px/1.45 var(--body); }
.gallery-status { margin-top: 17px; }
.gallery-status > span { display: flex; align-items: center; gap: 8px; color: var(--card-hue); font: 650 10px/1.45 var(--body); letter-spacing: .07em; }
.gallery-status i { flex: none; width: 5px; height: 5px; rotate: 45deg; border: 1px solid currentColor; }
.gallery-status p { margin-top: 7px; color: var(--card-muted); font: 12px/1.55 var(--body); }
.gallery-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 18px; margin-top: 16px; }
.gallery-cta { display: inline-flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 40px; padding: 0 14px; border: 1px solid #b89b6277;
  border-radius: 8px; background: #baa16614; color: #e1cea4; font: 650 12px var(--body); text-decoration: none; transition: background .2s, border-color .2s; }
.gallery-cta:hover { border-color: #d2b77d; background: #baa16621; }
.gallery-roadmap { display: inline-flex; gap: 10px; align-items: center; min-height: 40px; color: var(--card-muted); font: 600 12px var(--body); text-decoration: none; }
.gallery-roadmap:hover { color: #dac59d; }
@keyframes royal-breathe { 50% { translate: 0 -4px; } }

@media (min-width: 901px) and (max-width: 1100px) {
  #yadigar.royal-gallery { padding-left: 68px; padding-right: 68px; column-gap: 26px; }
  .relic-selection { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .relic-pick { height: 62px; }
  #yadigar .relic-pick img { height: 30px; }
}
@media (max-width: 900px) {
  #yadigar.royal-gallery { padding: 80px 24px 60px; gap: 45px; }
  #yadigar > .gallery-display, #yadigar > .gallery-story { width: 100%; max-width: 440px; margin: 0 auto; }
  .royal-exhibit { height: 340px; }
  #yadigar .royal-artwork { height: 195px; }
  .inspection-description { min-height: 0; }
  .gallery-cta, .gallery-roadmap { min-height: 44px; }
}
