/* Shared Oddyssey layout; edition-specific colors only. */
:root{--gold:#dab5ff;--gold-light:#eedcff;--gold-dark:#8c61b4;--accent:#b896e9;--cyan:#9893ed}
body{--edition-glow:rgba(143,101,220,.2)}
.site-header,header.header{border-bottom-color:rgba(179,140,230,.35)}
.button-primary,.btn-primary{background:linear-gradient(120deg,#6251a6,#b38edf)!important;color:#fff!important;border-color:#d5b6ff!important}
.edition-local-note{position:relative;z-index:10;background:#201b30;color:#e9d9ff;text-align:center;padding:9px 16px;font:12px/1.6 Arial,sans-serif;border-bottom:1px solid #786196}
.edition-local-note a{color:#fff;text-decoration:underline;margin-inline-start:15px}
.anubis-home,[href^="anubis"],.royal-pass-fab{display:none!important}

/* All 6609 pages: use the same background framing as Home. */
body .ambient-bg{background:#02070d url('assets/background.png') center/cover no-repeat}
body .ambient-bg::before{display:block;content:"";position:absolute;inset:-60px;z-index:0;background:url('assets/background.png') center top/cover no-repeat;filter:blur(36px) brightness(.6) saturate(1.1);transform:scale(1.08)}
body .animated-background-video{
 position:absolute;top:0;left:50%;right:auto;bottom:auto;z-index:1;
 height:100%;width:auto;aspect-ratio:1/1;max-width:none;max-height:none;
 transform:translateX(-50%);
 object-fit:cover;object-position:center top;
 clip-path:none;opacity:1;
 -webkit-mask-image:linear-gradient(to right,transparent 0,#000 10%,#000 90%,transparent 100%),linear-gradient(to bottom,#000 68%,transparent 99%);
 -webkit-mask-composite:source-in;
 mask-image:linear-gradient(to right,transparent 0,#000 10%,#000 90%,transparent 100%),linear-gradient(to bottom,#000 68%,transparent 99%);
 mask-composite:intersect;
}
body .background-overlay{
 z-index:2;
 background:
  radial-gradient(ellipse at 50% 30%,rgba(2,7,13,0) 0%,rgba(2,7,13,.25) 55%,rgba(2,7,13,.75) 100%),
  linear-gradient(180deg,rgba(2,7,13,.45) 0%,rgba(2,7,13,0) 18%,rgba(2,7,13,0) 60%,#02070d 99%),
  linear-gradient(90deg,rgba(2,7,13,.6) 0%,rgba(2,7,13,0) 18%,rgba(2,7,13,0) 82%,rgba(2,7,13,.6) 100%);
}
@media (max-width:680px){
 body .animated-background-video{top:0;height:100%;width:auto;max-width:none;object-position:center top;opacity:.9}
}

.edition-switch-6159{position:fixed;right:12px;top:48%;z-index:1000;display:flex;flex-direction:column;align-items:center;gap:5px;padding:12px 14px;border:1px solid rgba(224,189,111,.65);border-radius:12px;background:linear-gradient(140deg,rgba(26,22,14,.97),rgba(4,11,18,.97));color:#f1d389;text-decoration:none;box-shadow:0 5px 24px rgba(0,0,0,.5);font-family:Arial,sans-serif;direction:rtl;transition:transform .18s,border-color .18s}
.edition-switch-6159 strong{font-size:23px;letter-spacing:2px;line-height:1.1}
.edition-switch-6159 span{font-size:11px;white-space:nowrap}
.edition-switch-6159:hover,.edition-switch-6159:focus-visible{transform:translateX(-3px);border-color:#ffe4a2;color:#ffe4a2;outline:2px solid #ffe4a2;outline-offset:3px}
@media(max-width:680px){.edition-switch-6159{top:auto;bottom:88px;right:9px;padding:9px 10px;gap:3px}.edition-switch-6159 strong{font-size:19px}.edition-switch-6159 span{font-size:10px}}

/* Classic realm entrance: antique gold frame and bronze engraved face. */
.edition-switch-6159{right:14px;padding:17px 19px;gap:9px;border:3px double #c5a461;border-radius:3px;background:linear-gradient(180deg,#30291b 0%,#17130e 48%,#2c2418 100%);color:#ead49c;box-shadow:inset 0 0 0 2px #100e09,inset 0 0 20px rgba(188,146,69,.12),0 0 0 1px #47391f,0 8px 25px rgba(0,0,0,.65);text-align:center;text-shadow:0 2px 2px #000}
.edition-switch-6159::before{content:"ODDYSSEY CLASSIC";font:10px Georgia,serif;letter-spacing:2px;color:#bfa16a;border-bottom:1px solid rgba(197,164,97,.35);padding-bottom:7px;width:100%}
.edition-switch-6159 strong{font-family:Tahoma,Arial,sans-serif;font-size:16px;letter-spacing:0;line-height:1.5;color:#f4dfac}
.edition-switch-6159 span{font-size:11px;color:#cbb583}
.edition-switch-6159:hover,.edition-switch-6159:focus-visible{border-color:#f2d797;background:linear-gradient(180deg,#443722,#21190f 48%,#3d301c);color:#fff0c6;box-shadow:inset 0 0 0 2px #100e09,0 0 18px rgba(201,157,70,.22),0 8px 25px rgba(0,0,0,.65)}
@media(max-width:680px){.edition-switch-6159{right:8px;bottom:88px;padding:10px 12px;gap:4px}.edition-switch-6159 strong{font-size:13px}.edition-switch-6159 span{font-size:10px}.edition-switch-6159::before{font-size:8px;letter-spacing:1px;padding-bottom:4px}}

/* Match Oddyssey-Dev primary buttons: cyan-to-gold gradient and gold border. */
.edition-switch-6159{overflow:hidden;isolation:isolate;border:1px solid rgba(255,225,150,.52);border-radius:9px;background:linear-gradient(135deg,#155c7a,#2f89a8 52%,#d8b45a);box-shadow:0 12px 30px rgba(18,105,139,.34);color:#fff;text-shadow:0 1px 3px rgba(0,0,0,.55);animation:classic-invite-glow 3.6s ease-in-out infinite}
.edition-switch-6159 strong{color:#fff}.edition-switch-6159 span,.edition-switch-6159::before{color:#fff1c9}.edition-switch-6159::before{border-bottom-color:rgba(255,225,150,.4)}
.edition-switch-6159::after{content:"";position:absolute;inset:-50% auto -50% -70%;width:45%;background:linear-gradient(90deg,transparent,rgba(255,255,255,.45),transparent);transform:skewX(-20deg);pointer-events:none;animation:classic-invite-shine 5s ease-in-out infinite;z-index:-1}
.edition-switch-6159:hover,.edition-switch-6159:focus-visible{background:linear-gradient(135deg,#1b6f91,#3699b8 52%,#ead080);box-shadow:0 16px 36px rgba(47,137,168,.4),0 0 20px rgba(216,180,90,.16)}
@keyframes classic-invite-glow{0%,100%{box-shadow:0 12px 30px rgba(18,105,139,.34)}50%{box-shadow:0 12px 34px rgba(47,137,168,.48),0 0 17px rgba(216,180,90,.3)}}
@keyframes classic-invite-shine{0%,58%{left:-70%;opacity:0}62%{opacity:1}88%{left:140%;opacity:0}100%{left:140%;opacity:0}}
@media(prefers-reduced-motion:reduce){.edition-switch-6159,.edition-switch-6159::after{animation:none}.edition-switch-6159::after{display:none}}

/* Promotional realm card: artwork above its localized caption. */
.edition-switch-6159{width:180px;padding:0;gap:0;top:42%;border:2px solid #d8b45a;border-radius:5px;background:#07141e;box-shadow:0 6px 24px rgba(0,0,0,.65),0 0 0 3px rgba(216,180,90,.12);text-transform:none}
.edition-switch-6159::before{display:none}
.classic-realm-art{display:block;width:100%;height:120px;object-fit:cover;object-position:center 36%;border-bottom:1px solid #d8b45a;transition:filter .2s}
.classic-realm-caption{display:flex;flex-direction:column;gap:7px;width:100%;padding:11px 7px 12px;box-sizing:border-box;text-align:center;background:linear-gradient(180deg,#122d3a,#08131c)}
.edition-switch-6159 strong{font-size:14px;line-height:1.4;white-space:normal}
.edition-switch-6159 span{font-size:10px;white-space:normal;line-height:1.5;color:#e6ca87}
.edition-switch-6159:hover .classic-realm-art{filter:brightness(1.12)}
.edition-switch-6159::after{z-index:1;opacity:.5}
@media(max-width:680px){.edition-switch-6159{width:112px;top:auto;bottom:88px;padding:0;right:8px}.classic-realm-art{height:76px}.classic-realm-caption{padding:7px 4px;gap:4px}.edition-switch-6159 strong{font-size:11px}.edition-switch-6159 span{font-size:9px}}

.edition-switch-6159{width:180px;top:35%;border:0;background:transparent;box-shadow:none;overflow:visible;animation:none;padding:0}
.edition-switch-6159::after{display:none}
.edition-switch-6159 .classic-realm-art{width:100%;height:auto;aspect-ratio:212/231;object-fit:contain;border:0;clip-path:polygon(23% 0,100% 0,100% 100%,0 100%,0 40%,23% 40%);filter:drop-shadow(0 0 8px rgba(235,165,42,.3))}
.edition-switch-6159 .classic-realm-caption{border:1px solid #d8b45a;border-radius:9px;background:linear-gradient(135deg,#155c7a,#2f89a8 52%,#d8b45a);box-shadow:0 8px 24px rgba(18,105,139,.34);margin-top:-8px;position:relative}
.edition-switch-6159:hover{background:transparent;transform:translateY(-3px);box-shadow:none}
.edition-switch-6159 .classic-realm-caption span{color:#fff4d2}
@media(max-width:700px){.edition-switch-6159{width:112px;top:auto;bottom:88px;right:8px}.edition-switch-6159 .classic-realm-art{height:auto}.edition-switch-6159 .classic-realm-caption{padding:8px 5px}.edition-switch-6159 strong{font-size:11px}}
.edition-switch-6159 .classic-realm-art{max-width:100%;flex:none;align-self:center}

/* Larger launcher character with a feathered lantern exclusion, preserving animated frames. */
.edition-switch-6159{width:240px;top:30%}
.edition-switch-6159 .classic-realm-art{clip-path:none;-webkit-mask-image:linear-gradient(to right,transparent 23%,#000 31%),linear-gradient(to bottom,transparent 40%,#000 48%);mask-image:linear-gradient(to right,transparent 23%,#000 31%),linear-gradient(to bottom,transparent 40%,#000 48%);-webkit-mask-composite:source-over;mask-composite:add}
@media(max-width:700px){.edition-switch-6159{width:140px;top:auto;bottom:88px;right:8px}}

/* Match the launcher ninja's dark armor and the dragon's molten gold. */
.edition-switch-6159 .classic-realm-caption{width:92%;align-self:center;margin-top:-5px;padding:12px 10px 13px;border:1px solid #c18a39;border-radius:3px 12px 3px 12px;background:linear-gradient(135deg,rgba(66,30,13,.97),rgba(17,15,17,.98) 45%,rgba(46,23,13,.97));box-shadow:inset 0 1px 0 rgba(255,210,119,.2),inset 0 -2px 8px rgba(0,0,0,.65),0 0 14px rgba(238,115,20,.18),0 7px 19px rgba(0,0,0,.55);transition:border-color .2s,box-shadow .2s,background .2s}
.edition-switch-6159 .classic-realm-caption::before,.edition-switch-6159 .classic-realm-caption::after{content:'';position:absolute;left:20%;right:20%;height:1px;background:linear-gradient(90deg,transparent,#ffc56b,transparent);pointer-events:none}
.edition-switch-6159 .classic-realm-caption::before{top:3px}
.edition-switch-6159 .classic-realm-caption::after{bottom:3px}
.edition-switch-6159 .classic-realm-caption strong{color:#ffe2a0;text-shadow:0 1px 2px #000,0 0 10px rgba(255,142,35,.3);font-family:Georgia,'Times New Roman',serif;font-size:15px;letter-spacing:.3px}
.edition-switch-6159 .classic-realm-caption span{color:#d9b485;text-shadow:0 1px 2px #000}
.edition-switch-6159:hover .classic-realm-caption{border-color:#f0b75b;background:linear-gradient(135deg,rgba(84,37,13,.98),rgba(23,16,17,.98) 45%,rgba(66,29,13,.98));box-shadow:inset 0 1px 0 rgba(255,210,119,.3),0 0 22px rgba(238,115,20,.35),0 7px 19px rgba(0,0,0,.55)}
.edition-switch-6159:focus-visible{outline:2px solid #ffc56b;outline-offset:5px}
@media(max-width:700px){.edition-switch-6159 .classic-realm-caption{padding:10px 6px}.edition-switch-6159 .classic-realm-caption strong{font-size:12px}}

/* Molten gold pulse and traveling highlight accompany the launcher dragon. */
.edition-switch-6159 .classic-realm-caption{overflow:hidden;isolation:isolate;animation:classic-dragon-button-pulse 2.4s ease-in-out infinite}
.edition-switch-6159 .classic-realm-caption strong,.edition-switch-6159 .classic-realm-caption span{position:relative;z-index:1}
.edition-switch-6159 .classic-realm-caption::before{inset:0;left:0;right:auto;width:40%;height:100%;background:linear-gradient(105deg,transparent,rgba(255,186,74,.06) 25%,rgba(255,215,139,.24) 50%,rgba(255,186,74,.06) 75%,transparent);transform:translateX(-180%) skewX(-18deg);animation:classic-dragon-button-shine 3.2s ease-in-out infinite;z-index:0}
.edition-switch-6159 .classic-realm-caption::after{bottom:3px;left:12%;right:12%;height:1px;background:linear-gradient(90deg,transparent,#ffd083,transparent)}
@keyframes classic-dragon-button-pulse{0%,100%{border-color:#b77c30;box-shadow:inset 0 1px 0 rgba(255,210,119,.18),inset 0 -2px 8px rgba(0,0,0,.65),0 0 10px rgba(238,115,20,.16),0 7px 19px rgba(0,0,0,.55)}50%{border-color:#f3bf6a;box-shadow:inset 0 1px 0 rgba(255,210,119,.35),inset 0 -2px 8px rgba(0,0,0,.65),0 0 23px rgba(238,115,20,.4),0 0 5px rgba(255,185,65,.25),0 7px 19px rgba(0,0,0,.55)}}
@keyframes classic-dragon-button-shine{0%,15%{transform:translateX(-180%) skewX(-18deg);opacity:0}25%{opacity:1}65%{transform:translateX(400%) skewX(-18deg);opacity:1}75%,100%{transform:translateX(400%) skewX(-18deg);opacity:0}}
@media(prefers-reduced-motion:reduce){.edition-switch-6159 .classic-realm-caption,.edition-switch-6159 .classic-realm-caption::before{animation:none}.edition-switch-6159 .classic-realm-caption::before{display:none}}

/* Keep patch controls accessible above the floating realm artwork. */
[data-patches-tab]{position:relative;z-index:1100}.patch-modal{z-index:1200}
