/* Gold reward cards match the Emperor case; reward logic stays on the server. */
.gx-case .gx-case__prize--weapon,
.gx-case .gx-case__prize--knife {
  background:linear-gradient(135deg,rgba(245,197,24,.14),rgba(245,197,24,.04));
  border-color:rgba(245,197,24,.28);
}
.gx-case .gx-case__prize--weapon i,
.gx-case .gx-case__prize--knife i {color:#ffe08a;}
#gxProfile .gx-profile__avatar-wrap[data-gx-zoom] {cursor:zoom-in;}
#gxProfile .gx-profile__avatar-wrap[data-gx-zoom]:focus-visible {outline:2px solid #f5c518;outline-offset:6px;border-radius:50%;}
.gx-photo-dialog {position:fixed;inset:0;box-sizing:border-box;width:min(94vw,1100px);max-width:94vw;max-height:94dvh;margin:auto;padding:42px 12px 12px;background:#101116;border:1px solid #a98b20;border-radius:16px;color:#fff;box-shadow:0 20px 80px #0009;}
.gx-photo-dialog::backdrop {background:#000d;}
.gx-photo-dialog > img {display:block;width:auto;height:auto;max-width:100%;max-height:calc(94dvh - 60px);margin:auto;object-fit:contain;border-radius:6px;}
.gx-photo-dialog__close {position:absolute;right:8px;top:6px;width:32px;height:32px;border:0;border-radius:8px;background:#292a30;color:#fff;font-size:26px;line-height:1;cursor:pointer;}
.gx-weapon-showcase {box-sizing:border-box;position:relative;overflow:hidden;width:100%;min-width:0;margin:22px 0 4px;padding:18px 12px 12px;border:1px solid #a88a1f;border-radius:16px;background:radial-gradient(ellipse at 50% 40%,#6f561d70,transparent 70%),linear-gradient(135deg,#272316,#101116 65%);color:#fff;text-align:center;}
.gx-weapon-showcase__title {display:block;color:#f5c518;font-size:16px;line-height:1.4;}
.gx-weapon-showcase__stage {position:relative;height:155px;margin:12px 0;border-radius:12px;background:radial-gradient(ellipse at 50% 30%,#ffe9ac,#cfab58 75%,#97702e);box-shadow:inset 0 0 24px #6b481c66;}
.gx-weapon-showcase__slide {position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;border-radius:inherit;background:inherit;opacity:0;transform:translateX(20px);transition:opacity .55s ease,transform .55s ease;pointer-events:none;}
.gx-weapon-showcase__slide.is-active {opacity:1;transform:translateX(0);}
.gx-weapon-showcase__slide img {display:block;box-sizing:border-box;width:min(100%,204px);height:90px;padding:0 10px;object-fit:contain;mix-blend-mode:multiply;}
.gx-weapon-showcase__slide span {color:#211a0c;font-size:17px;font-weight:800;}
.gx-weapon-showcase__controls {display:flex;align-items:center;justify-content:center;gap:8px;}
.gx-weapon-showcase__controls button {display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;min-width:38px;height:34px;margin:0;padding:0 10px;border:1px solid #91751b;border-radius:9px;background:#17171c;color:#f5c518;font-size:19px;cursor:pointer;}
.gx-weapon-showcase__controls button:hover {background:#3d3216;}
.gx-weapon-showcase__controls button:focus-visible,.gx-photo-dialog__close:focus-visible {outline:2px solid #f5c518;outline-offset:2px;}
.gx-weapon-showcase__controls > span {min-width:40px;color:#c9c5b9;font-size:12px;}
@media(prefers-reduced-motion:reduce){.gx-weapon-showcase__slide {transition:none;transform:none;}}

.gx-weapon-showcase.gx-weapon-showcase--custom {width:100%;max-width:720px;margin:12px auto 0;padding:0;border:0;border-radius:0;background:transparent;box-shadow:none;}
.gx-weapon-showcase--custom .gx-weapon-showcase__title,
.gx-weapon-showcase--custom .gx-weapon-showcase__controls,
.gx-weapon-showcase--custom .gx-weapon-showcase__slide span {display:none;}
.gx-weapon-showcase--custom .gx-weapon-showcase__stage {height:auto;margin:0;padding:0;border:0;border-radius:6px;background:transparent;box-shadow:none;overflow:hidden;}
.gx-weapon-showcase--custom .gx-weapon-showcase__slide {position:relative;inset:auto;display:none;gap:0;padding:0;background:transparent;opacity:1;transform:none;transition:none;}
.gx-weapon-showcase--custom .gx-weapon-showcase__slide.is-active {display:block;}
.gx-weapon-showcase--custom .gx-weapon-showcase__slide img,
.gx-weapon-showcase--custom .gx-weapon-showcase__slide video {display:block;box-sizing:border-box;width:100%;max-width:100%;height:auto;margin:0;padding:0;border:0;object-fit:contain;mix-blend-mode:normal;border-radius:6px;box-shadow:none;}
.gx-weapon-manage {display:block;box-sizing:border-box;width:100%;padding:12px;margin:16px 0;border:1px solid #c5a323;border-radius:10px;background:#25200f;color:#f5c518;font:inherit;font-weight:700;cursor:pointer;}
.gx-weapon-settings::backdrop {background:#000c;}
.gx-weapon-settings .gx-weapon-editor__item input,.gx-weapon-settings .gx-weapon-editor > input[type=url] {box-sizing:border-box;max-width:100%;padding:9px;border:1px solid #70643b;border-radius:6px;background:#0f1014;color:#fff;}
.gx-weapon-settings button {padding:8px 12px;border:1px solid #9e822c;border-radius:8px;background:#252119;color:#ffe08a;}
.gx-weapon-settings input[type=checkbox] {accent-color:#f5c518;}
