#dlgTroph.trophyHall {
  box-sizing:border-box; width:min(97vw,171dvh,1672px); max-width:97vw; max-height:97dvh;
  height:auto; margin:auto; padding:0; border:0; border-radius:clamp(12px,1.6vw,28px);
  color:#fff1b6; background:#0b0620; overflow:auto; overscroll-behavior:contain;
  box-shadow:0 12px 64px #010013dd; scrollbar-color:#8c6abb #130c2a;
}
#dlgTroph.trophyHall::backdrop {background:#08041aca;backdrop-filter:blur(4px);}
#dlgTroph .thStage {
  width:100%; min-height:0; aspect-ratio:1672/941; container-type:inline-size;
  background:#100722 url("observatory.webp") center center/100% 100% no-repeat;
  isolation:isolate; display:flow-root;
}
#dlgTroph .thHead {display:flex;align-items:center;justify-content:space-between;margin:0 17.45% 0 27.9%;height:7.6cqi;gap:1cqi;}
#dlgTroph .thHead h2 {
  margin:0;padding:0;display:flex;align-items:center;justify-content:center;gap:.45cqi;white-space:nowrap;
  font:700 4.35cqi/1.05 Georgia,'Times New Roman',serif;color:#ffdb8d;letter-spacing:0;
  text-shadow:0 .12cqi .1cqi #4e1b06,0 0 .58cqi #ed7d25,0 0 1.15cqi #902155;
}
#dlgTroph .thHead h2 img {display:block;width:10.9cqi;height:7.2cqi;object-fit:contain;}
#dlgTroph .thHead h2 img:last-child {width:4.7cqi;height:5.7cqi;}
#dlgTroph .thClose {
  flex:none;display:inline-grid;place-items:center;box-sizing:border-box;padding:.38em .74em;min-height:32px;
  font:700 1.55cqi/1.1 Georgia,serif;color:#fff4ec;cursor:pointer;border:2px solid #ffc86d;border-radius:4em;
  background:linear-gradient(#2c3b9a,#111742 39%,#0a0a23 71%,#291336);
  box-shadow:inset 0 1px 3px #cfdaff,0 0 0 2px #78301e,0 0 .8cqi #ff9949;text-shadow:0 1px 3px #000;
}
#dlgTroph .thClose:hover {filter:brightness(1.17);}
#dlgTroph .thClose:focus-visible {outline:2px solid #bfefff;outline-offset:3px;}
#dlgTroph #trophBody {margin:0;padding:1.75cqi 0 .65cqi;}
#dlgTroph .thShelf {
  margin:0 20.48%;padding:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));
  gap:.77cqi 1.16cqi;list-style:none;
}
#dlgTroph .thCard {
  box-sizing:border-box;display:flex;flex-flow:column;align-items:center;justify-content:center;min-height:12.18cqi;
  margin:0;padding:.24cqi .45cqi .48cqi;text-align:center;border-radius:1.86cqi;border:1.5px solid #ac8af3;
  background:radial-gradient(ellipse at 50% 30%,#28103e 0%,#140927 54%,#120c31 86%);
  box-shadow:inset 0 1px 2px #edd6ff,inset 0 -.28cqi .9cqi #6742ba68,0 .08cqi .28cqi #080416;
}
#dlgTroph .thCard img {display:block;width:93%;height:6.62cqi;object-fit:contain;mix-blend-mode:screen;flex:none;}
#dlgTroph .thCard b {margin:.10cqi 0 .20cqi;font:700 1.85cqi/1.02 Georgia,'Times New Roman',serif;color:#ffe1a1;text-shadow:0 1px 2px #5a240d,0 0 .36cqi #872b12;}
#dlgTroph .thCard small {font:500 1.28cqi/1.15 system-ui,sans-serif;color:#f7d585;max-width:100%;overflow-wrap:anywhere;}
#dlgTroph .thCard.thEarned {border-color:#ffe69a;background:radial-gradient(ellipse at 50% 28%,#332046,#28101c 57%,#3c210c);box-shadow:inset 0 0 .45cqi #ffb13b,0 0 .38cqi #ffad2a,0 0 .72cqi #e971167a;}
#dlgTroph .thEarned small {color:#fff3dc;}
#dlgTroph .thRecord {display:flex;justify-content:center;align-items:center;flex-wrap:wrap;gap:.12em 1.4em;
  width:fit-content;max-width:83%;margin:2.9cqi auto 0;padding:.18em 1em;color:#e4d1f6;
  font:500 clamp(11px,.88cqi,16px)/1.3 system-ui,sans-serif;background:#160925e8;border:1px solid #96723f;border-radius:1.4em;}
#dlgTroph .thRecord b {color:#ffdc94;}
@media (max-width:730px) and (orientation:portrait) {
  #dlgTroph.trophyHall {width:96vw;max-height:95dvh;border:1px solid #e6ac5d;}
  #dlgTroph .thStage {aspect-ratio:auto;background-size:auto 100%;background-position:center;padding-bottom:14px;}
  #dlgTroph .thHead {position:sticky;z-index:2;top:0;height:auto;min-height:66px;margin:0;padding:5px 10px;
    background:linear-gradient(180deg,#1d0d39fa,#100a26fa);box-shadow:0 1px #b38a50;}
  #dlgTroph .thHead h2 {font-size:clamp(21px,6.1vw,33px);gap:4px;}
  #dlgTroph .thHead h2 img {width:40px;height:40px;}
  #dlgTroph .thHead h2 img:last-child {display:none;}
  #dlgTroph .thClose {min-height:42px;font-size:15px;}
  #dlgTroph #trophBody {padding:10px 0 0;}
  #dlgTroph .thShelf {margin:0 3%;gap:8px;grid-template-columns:repeat(2,minmax(0,1fr));}
  #dlgTroph .thCard {min-height:118px;padding:4px 4px 7px;border-radius:17px;}
  #dlgTroph .thCard img {width:95%;height:64px;}
  #dlgTroph .thCard b {font-size:clamp(16px,4.4vw,23px);line-height:1.08;margin:1px 0 3px;}
  #dlgTroph .thCard small {font-size:clamp(13px,3.55vw,16px);}
  #dlgTroph .thRecord {margin:12px auto 0;max-width:90%;font-size:12px;}
}
@media (orientation:landscape) and (max-height:540px) {
  #dlgTroph.trophyHall {width:97vw;max-height:97dvh;}
  #dlgTroph .thClose {min-height:35px;font-size:max(14px,1.55cqi);}
  #dlgTroph .thCard b {font-size:max(15px,1.85cqi);}
  #dlgTroph .thCard small {font-size:max(12px,1.28cqi);}
}
@layer diskilayControls {
  @media (forced-colors:none) {
    #dlgTroph button.thClose {
      background:linear-gradient(180deg,#7665bb 0%,#28275c 13%,#0a1039 50%,#100721 86%,#5d286f 100%)!important;
      border:2px solid #ffc96a!important;
      box-shadow:inset 0 1px 3px #e8e2ff,inset 0 -2px 3px #b15bd1,0 0 0 2px #8a4828,0 0 .58cqi #fd9d4e!important;
    }
  }
}
@media (max-width:730px) and (orientation:portrait) {
  #dlgTroph .thCard:last-child {grid-column:1/-1;width:calc((100% - 8px)/2);justify-self:center;}
}
