body dialog#dlgObs.obDlg {
  --ob-gold:#ffe29b;
  --ob-ice:#93e7ff;
  --ob-serif:Georgia,"Times New Roman",serif;
  box-sizing:border-box;
  container-type:inline-size;
  width:min(1060px,132dvh,calc(100vw - 16px)) !important;
  max-width:calc(100vw - 10px) !important;
  height:fit-content;max-height:calc(100dvh - 12px) !important;
  margin:auto;padding:clamp(7px,1vh,14px) clamp(10px,1.4vw,22px);
  border:2px solid #efbd68 !important;border-radius:clamp(18px,3vw,45px);overflow:hidden;
  background:linear-gradient(180deg,#0606231a,#0607262b 68%,#06042148),url('observatory.webp') center / cover no-repeat #080723 !important;
  color:#f7f1ff;box-shadow:inset 0 0 0 2px #684018,inset 0 0 0 4px #ffdb8c,0 0 1px 1px #9d5b24,0 14px 62px #020019c9;
}
#dlgObs.obDlg[open] {display:flex;flex-direction:column;}
#dlgObs::backdrop {background:#07051aba;backdrop-filter:blur(4px);}
#dlgObs .dlgHead {
  flex:none;isolation:isolate;position:relative;display:grid;grid-template-columns:minmax(0,1fr);justify-content:stretch;place-items:end center;
  min-height:0;height:clamp(70px,9cqw,98px);margin:0;padding:0 0 3px;
  border:0;background:none;box-shadow:none;
}
#dlgObs .dlgHead::before {
  content:"";position:absolute;top:-6px;left:50%;transform:translateX(-50%);width:29%;height:75%;
  background:url('dome.webp') center top / contain no-repeat;
  mask-image:radial-gradient(ellipse at 50% 55%,black 30%,#000d 58%,transparent 75%);pointer-events:none;
}
#dlgObs #obT {
  position:relative;isolation:isolate;z-index:1;box-sizing:border-box;display:grid;place-items:center;
  margin:0;padding:.08em 1.05em .14em;max-width:68%;min-width:46%;
  border:1px solid #f4c76b;border-radius:100px;
  background:linear-gradient(180deg,#66509e,#2a1454 10%,#170c3b 47%,#10091f 66%,#321839 94%,#c37d2b);
  color:#ffe4a5;font:700 clamp(25px,4.7cqw,51px)/1.13 var(--ob-serif);
  text-align:center;white-space:nowrap;text-shadow:0 2px #482011,0 0 10px #ffb34266;
  box-shadow:inset 0 2px 1px #ffedbd,0 0 10px #3e57df99;
}
#dlgObs #obT::before,#dlgObs #obT::after {
  content:"";position:absolute;top:-2%;height:105%;width:12%;background:center / 100% 100% no-repeat;pointer-events:none;
}
#dlgObs #obT::before {left:-2%;background-image:url('title-left.webp');mask-image:linear-gradient(90deg,transparent,black 12%,black 60%,transparent);}
#dlgObs #obT::after {right:-2%;background-image:url('title-right.webp');mask-image:linear-gradient(270deg,transparent,black 12%,black 60%,transparent);}
#dlgObs .dlgHead [data-pclose]{position:absolute;right:1%;top:12%;z-index:2;}
#dlgObs #obsBody {
  box-sizing:border-box;display:flex;flex-direction:column;align-items:center;gap:clamp(5px,1cqw,11px);
  min-height:0;max-height:none;overflow-y:auto;overflow-x:hidden;overscroll-behavior:contain;
  margin:0;padding:clamp(3px,.8cqw,9px) 0 clamp(8px,1.1cqw,16px);
  color:#f6f2ff;text-shadow:0 1px 3px #07041d;scrollbar-width:thin;scrollbar-color:#8c76b5 #0b0927;
}
#dlgObs .obTop {
  width:88%;box-sizing:border-box;display:grid;grid-template-columns:1.12fr 1fr;gap:0;
  border:1px solid #31c9ff;border-radius:clamp(14px,2.3cqw,25px);padding:clamp(3px,.48cqw,6px);
  background:linear-gradient(165deg,#123956ee,#090a26f2 40%,#111332de 74%,#142854ec);
  box-shadow:inset 0 0 0 2px #183a64,inset 0 0 10px #2c8de4,0 0 9px #1042b0;
}
#dlgObs .obSf,#dlgObs .obBase {
  box-sizing:border-box;min-width:0;min-height:clamp(69px,8.55cqw,95px);
  border:0;animation:none;border-radius:13px;justify-content:center;align-items:flex-start;
  background:none;box-shadow:none;line-height:1.25;
}
#dlgObs .obSf {position:relative;padding:5px 4px 5px 23%;color:#fff2da;font-size:clamp(13px,1.6cqw,17px);}
#dlgObs .obSf::before {
  content:"";position:absolute;left:2%;top:9%;width:21%;height:82%;
  background:url('comet.webp') center / contain no-repeat;mask-image:radial-gradient(ellipse,#000 43%,transparent 76%);
}
#dlgObs .obSf b {color:#8df4ff;font-weight:800;font-size:clamp(15px,2.2cqw,24px);}
#dlgObs .obSf.on b {color:#ffe68a;}
#dlgObs .obSf small,#dlgObs .obBase span {font-size:clamp(12px,1.45cqw,16px);color:#eae7ff;}
#dlgObs .obBase {align-items:center;padding:3px 5px;border-left:1px solid #3399c58c;text-align:center;}
#dlgObs .obBase b {font-size:clamp(16px,2.2cqw,23px);color:#ffe9ad;}
#dlgObs .obLabHead {width:75%;display:flex;align-items:center;justify-content:flex-start;gap:clamp(9px,2.5cqw,28px);}
#dlgObs .obLabHead h3,#dlgObs .obWeek {
  font:700 clamp(18px,2.7cqw,30px)/1.12 var(--ob-serif);color:#ffe2a1;text-shadow:0 2px 3px #2e1424;margin:0;
}
#dlgObs .obLabHead h3 {display:flex;align-items:center;gap:.22em;}
#dlgObs .obLabHead h3::before {
  content:"";width:1.6em;height:1.45em;flex:none;background:url('telescope.webp') center / contain no-repeat;
  mask-image:radial-gradient(ellipse,black 46%,transparent 78%);
}
#dlgObs .obX4 {font-size:clamp(12px,1.55cqw,17px);color:#95eaff;}
#dlgObs .obSlots {display:grid;width:75%;grid-template-columns:repeat(3,minmax(0,1fr));gap:clamp(6px,1.55cqw,18px);}
#dlgObs .obSlots[data-count="4"] {width:92%;grid-template-columns:repeat(4,minmax(0,1fr));}
#dlgObs .obSlot {
  --ob-aura:#00bafa;position:relative;isolation:isolate;box-sizing:border-box;display:flex;flex-direction:column;align-items:center;justify-content:center;
  min-width:0;min-height:clamp(137px,19.2cqw,206px);gap:clamp(2px,.38cqw,5px);padding:clamp(25px,3.2cqw,36px) 6px clamp(20px,2.7cqw,30px);
  border:1px solid #e5bd77;border-radius:clamp(12px,1.8cqw,20px);overflow:hidden;
  background:linear-gradient(102deg,#071329d9 3%,#14315a9e 6%,transparent 10%,transparent 88%,#3672a65c 93%,#08182eee 98%),
    radial-gradient(ellipse at 50% 30%,#0f3c64ab,transparent 70%),linear-gradient(170deg,#071127e8 30%,#0b1730e8 72%,#0a3352);
  box-shadow:inset 0 0 0 2px #162e54,inset 0 0 11px #206bbf9c,0 2px 6px #020618;animation:none;text-align:center;
}
#dlgObs .obSlot::before,#dlgObs .obSlot::after {content:"";position:absolute;z-index:-1;left:0;right:0;pointer-events:none;background:center / 100% 100% no-repeat;}
#dlgObs .obSlot::before {top:0;height:18%;background-image:url('chamber-cap.webp');mask-image:linear-gradient(black 84%,transparent);}
#dlgObs .obSlot::after {bottom:0;height:15%;background-image:url('chamber-base.webp');mask-image:linear-gradient(transparent,black 18%);}
#dlgObs .obSlot.gold {--ob-aura:#ffc654;}
#dlgObs .obSlot.ice {--ob-aura:#7efaff;}
#dlgObs .obSlot.ready {border-color:#ffe9a3;box-shadow:inset 0 0 15px #d78b3980,0 0 9px #ffbb4b99;}
#dlgObs .obSlot b {font:700 clamp(15px,1.95cqw,22px)/1.15 var(--ob-serif);color:#fff5e0;}
#dlgObs .obSlot small {font-size:clamp(11px,1.43cqw,16px);line-height:1.16;color:#deebff;}
#dlgObs .obSlot.empty small {max-width:18ch;}
#dlgObs .obHologram {width:53%;height:clamp(35px,5.6cqw,61px);background:url('spectral-rock.webp') center / contain no-repeat;mask-image:radial-gradient(ellipse,black 43%,transparent 78%);}
.obRockArt {object-fit:contain;display:block;width:72px;height:66px;transform:rotate(-8deg);filter:drop-shadow(0 0 5px #ff98424a);}
.obRockArt.obRock-ice {filter:hue-rotate(166deg) saturate(.9) brightness(1.2) drop-shadow(0 0 4px #2ac8fd77);}
.obRockArt.obRock-gold {filter:sepia(.61) saturate(1.85) brightness(1.23) drop-shadow(0 0 6px #ffa82588);}
#dlgObs .obSlot .obRockArt {height:clamp(31px,4.8cqw,56px);width:30%;max-width:72px;margin-block:-3px;}
#dlgObs .obBar {display:block;flex:none;background:#060e20;border:1px solid #4d7792;width:76%;height:5px;margin:1px 0;border-radius:20px;overflow:hidden;}
#dlgObs .obBar i {display:block;height:100%;background:linear-gradient(90deg,#3172d7,var(--ob-aura));}
#dlgObs .obBtns {display:flex;align-items:center;justify-content:center;gap:4px;flex-wrap:wrap;}
#dlgObs .obOrbit {box-sizing:border-box;display:flex;align-items:center;flex-wrap:wrap;gap:3px 5px;width:74%;padding:1px 2px 4px;color:#eaf3ff;font-size:clamp(13px,1.65cqw,18px);line-height:1.25;background:none;border:0;}
#dlgObs .obOrbit::before {content:"";width:2em;height:1.45em;background:url('orbit.webp') center/contain no-repeat;mask-image:radial-gradient(ellipse,black 40%,transparent 78%);}
#dlgObs .obOrbit strong {font-weight:500;}
#dlgObs .obOrbit b {color:#ffeac5;}
#dlgObs .obOrbit small {color:#e2dcf0;font-size:.84em;}
#dlgObs .obQueue {display:inline-flex;align-items:center;flex-wrap:wrap;gap:3px;}
#dlgObs .obQueued {display:inline-grid;place-items:center;border-radius:50%;background:#11274e;border:1px solid #6796ba;}
#dlgObs .obQueued .obRockArt {height:24px;width:24px;}
#dlgObs .obWeek {box-sizing:border-box;display:flex;width:77%;align-items:center;justify-content:center;gap:.45em;text-align:center;}
#dlgObs .obWeek::before,#dlgObs .obWeek::after {content:"";flex:1;height:1px;min-width:6px;background:linear-gradient(90deg,transparent,#c28840,#ffe9a1);}
#dlgObs .obWeek::after {transform:scaleX(-1);}
#dlgObs .obConBox {
  position:relative;isolation:isolate;box-sizing:border-box;width:80%;display:grid;grid-template-columns:36% minmax(0,1fr);gap:2%;align-items:center;
  padding:clamp(7px,1cqw,12px) clamp(10px,2cqw,24px);border-radius:clamp(16px,2.6cqw,29px);border:2px solid #e6bc86;
  background:linear-gradient(90deg,#16092b42,#230e4f91 45%,#140a38bf),url('../leagues/sky.webp') center 74%/cover #1b0b40;
  box-shadow:inset 0 0 0 2px #884fa2,inset 0 0 20px #6d32c278,0 0 0 1px #5b3927,0 0 7px #c081d997;
}
#dlgObs .obConBox.complete {border-color:#fff09f;box-shadow:0 0 12px #ffbd5988,inset 0 0 17px #bc78b740;}
#dlgObs .obMap {display:block;width:100%;height:clamp(90px,14.1cqw,155px);overflow:visible;}
#dlgObs .obMapRings {fill:none;stroke:#d198ee;stroke-width:.6;opacity:.49;}
#dlgObs .obLink {stroke:#6da7ff;stroke-width:1.05;filter:drop-shadow(0 0 1px #558ffe);}
#dlgObs .obLink.lit {stroke:#ffce84;}
#dlgObs .obAura {fill:#b8a2ff;opacity:.22;}
#dlgObs .obSpark {fill:#d3e5ff;filter:drop-shadow(0 0 2px #a4bbff);}
#dlgObs .obCore {fill:#fff;}
#dlgObs .lit .obAura {fill:#ffc05b;opacity:.39;}
#dlgObs .lit .obSpark {fill:#ffdf91;filter:drop-shadow(0 0 3px #ffab4a);}
#dlgObs .obConCopy {min-width:0;display:grid;gap:5px;}
#dlgObs .obConCopy b {font:700 clamp(22px,3.5cqw,39px)/1.05 var(--ob-serif);color:#ffe28a;}
#dlgObs .obConCopy small {display:block;color:#f4eeff;font-size:clamp(12px,1.55cqw,17px);line-height:1.4;}
#dlgObs .obNote {box-sizing:border-box;width:76%;margin:0 0 1px;padding:4px .5em 4px 2.8em;position:relative;text-align:left;font-size:clamp(11px,1.32cqw,15px);line-height:1.38;color:#eeeaf5;background:linear-gradient(90deg,transparent,#070b25cf 7%,#070b25cf 93%,transparent);}
#dlgObs .obNote::before {content:"i";position:absolute;left:4px;top:.35em;width:1.4em;height:1.4em;border:1px solid #f6cc6d;border-radius:50%;text-align:center;font:bold 1.2em/1.4 Georgia,serif;color:#ffda89;}
#dlgObs .obReceipt,.mtCatch.obCapture {border:1px solid #ffcb73;border-radius:16px;background:radial-gradient(ellipse at 50% 0%,#483175,#100f31 72%);box-shadow:inset 0 0 9px #9e6da65e,0 0 8px #cea94766;}
#dlgObs .obReceipt {width:74%;padding:8px 12px;box-sizing:border-box;font-size:clamp(12px,1.4cqw,16px);}
#dlgObs .obReceipt b {color:#ffe6a3;}
#dlgObs .obReceipt div,#dlgObs .obReceipt span {display:inline-flex;align-items:center;gap:5px;flex-wrap:wrap;}
#dlgObs .obReceipt div {margin-left:.5em;column-gap:12px;}
#dlgObs .obReceipt img {width:20px;height:20px;object-fit:contain;}
.mtCatch.obCapture {padding:10px 22px;color:#ffedbd;}
.mtCatch.obCapture .obRockArt {width:90px;height:90px;}
@layer diskilayControls {
  @media (forced-colors:none) {
    #dlgObs button.obAction,#dlgObs button[data-pclose] {
      box-sizing:border-box;border:1px solid #68d9ff !important;border-radius:999px !important;
      background:linear-gradient(180deg,#3586cf 0%,#183f82 14%,#091b4d 49%,#081536 68%,#145c92) !important;
      box-shadow:inset 0 1px 2px #e9ffff,inset 0 -2px 4px #27bcff,0 0 4px #2178eb !important;
      color:#fff7ec !important;filter:none !important;text-shadow:0 1px 3px #050419 !important;
      font:700 clamp(12px,1.6cqw,18px)/1.16 "Golos Text",system-ui,sans-serif !important;
      min-height:34px !important;max-width:100%;white-space:normal;overflow-wrap:break-word;padding:5px 12px !important;
    }
    #dlgObs .obAction::before,#dlgObs .obAction::after {display:none !important;}
    #dlgObs .obAction.obCollect,#dlgObs .obAction.obOpen {
      color:#fff7de !important;border-color:#ffe281 !important;
      background:linear-gradient(180deg,#fdc85d,#db8016 13%,#975205 38%,#673103 67%,#96520d 85%,#f4a528) !important;
      box-shadow:inset 0 1px 3px #fff3b2,inset 0 -2px 7px #ffbc3b,0 0 6px #ffb01d !important;
    }
    #dlgObs .obAction.obCollect {min-height:clamp(50px,6.4cqw,72px) !important;width:100%;position:relative;isolation:isolate;padding-inline:21% 6% !important;font-size:clamp(14px,1.85cqw,20px) !important;}
    #dlgObs .obAction.obCollect::before {content:"" !important;display:block !important;position:absolute;inset:0 auto 0 2% !important;width:23% !important;height:100% !important;opacity:1 !important;background:url('../meteor/board-meteor.webp') center / contain no-repeat !important;border:0 !important;box-shadow:none !important;}
    #dlgObs .obAction.obExtra {min-height:clamp(34px,4.15cqw,46px) !important;}
    #dlgObs .obBtns button {min-height:28px !important;padding:3px 8px !important;font-size:clamp(11px,1.15cqw,13px) !important;}
    #dlgObs button[data-pclose] {border-color:#fed779 !important;background:linear-gradient(#533566,#160d35 40%,#0e1027 70%,#5c365a) !important;box-shadow:inset 0 0 5px #ffab5d,0 0 5px #eda549 !important;}
    #dlgObs button:focus-visible {outline:2px solid #fff5be !important;outline-offset:2px;}
  }
}
@media (max-width:620px) {
  body dialog#dlgObs.obDlg {width:calc(100vw - 8px) !important;padding:5px 7px;max-height:calc(100dvh - 6px) !important;}
  #dlgObs .dlgHead {height:72px;place-items:end start;padding:0 2px 6px;}
  #dlgObs .dlgHead::before {width:45%;inset:0 auto auto 33%;}
  #dlgObs #obT {font-size:clamp(21px,6.4vw,32px);min-width:63%;max-width:72%;padding:.15em .55em;}
  #dlgObs .dlgHead [data-pclose] {right:3px;top:20px;}
  #dlgObs .obTop,#dlgObs .obLabHead,#dlgObs .obSlots,#dlgObs .obSlots[data-count="4"],#dlgObs .obOrbit,#dlgObs .obReceipt,#dlgObs .obConBox,#dlgObs .obWeek,#dlgObs .obNote {width:96%;}
  #dlgObs .obLabHead {justify-content:space-between;gap:6px;}
  #dlgObs .obTop {grid-template-columns:1fr;}
  #dlgObs .obSf {min-height:58px;padding-left:23%;}
  #dlgObs .obBase {min-height:32px;border:none;border-top:1px solid #519bc355;}
  #dlgObs .obSlots,#dlgObs .obSlots[data-count="4"] {grid-template-columns:repeat(4,minmax(0,1fr));}
  #dlgObs .obSlot {grid-column:span 2;min-height:136px;padding-block:22px 17px;}
  #dlgObs .obSlots[data-count="3"] .obSlot:last-child {grid-column:2 / span 2;}
  #dlgObs .obConBox {grid-template-columns:31% 1fr;gap:4%;padding:8px;}
  #dlgObs .obConCopy small {line-height:1.27;}
  #dlgObs .obWeek {font-size:19px;margin-top:3px;}
  #dlgObs .obNote {line-height:1.33;}
}
@media (max-height:490px) and (min-width:621px) {
  body dialog#dlgObs.obDlg {width:min(790px,calc(100vw - 12px)) !important;}
  #dlgObs .dlgHead {height:51px;}
  #dlgObs #obT {font-size:25px;}
}
@media (prefers-reduced-motion:reduce) {#dlgObs *,#dlgObs *::before,#dlgObs *::after {animation:none !important;}}

#dlgBrave .meteorActions .meteorObs {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .33em;
  max-width: 100%;
  min-width: 0;
  min-height: max(44px, 2.35em);
  padding: .19em 1.12em .2em .86em;
}
#dlgBrave .meteorObs .gameTelescope {
  width: 1.9em;
  height: 1.9em;
  object-fit: contain;
  flex: none;
}
#dlgBrave .meteorObs span {overflow-wrap: anywhere;}
@layer diskilayControls {
  #dlgBrave .meteorActions button.meteorObs {
    background:
      url('observatory-button.webp') center / 100% 100% no-repeat,
      radial-gradient(ellipse at 71% 100%, #363cca 0%, transparent 38%),
      radial-gradient(ellipse at 19% 0%, #aa37ed, transparent 48%),
      linear-gradient(#8d30bf, #360e64 29%, #170b38 65%, #280a51 85%, #8222a7) !important;
    background-clip: border-box !important;
    border: 0 !important;
    border-radius: 100vmax;
    box-shadow: 0 0 5px #ec8b4f, 0 0 13px #bd30dc85 !important;
    color: #fff5dc !important;
    text-shadow: 0 1px 3px #140719, 0 2px 5px #210321 !important;
  }
}
#dlgObs .obLabHead h3::before {
  mask-image: none;
}
#toast .gameTelescope, #dlgObs .obReceipt b .gameTelescope {
  display: inline-block; width: 1.5em; height: 1.5em;
  object-fit: contain; vertical-align: -.36em;
}
@media(max-width:660px){
  #dlgBrave .meteorActions .meteorObs {padding-inline: .85em; gap: .24em;}
  #dlgBrave .meteorObs .gameTelescope {width: 1.65em; height: 1.65em;}
}
