/* ---------- Goblin Arena ---------- */
#scopes { position: fixed; inset: 0; z-index: 75; display: none; background: radial-gradient(ellipse at 50% 30%, #1f2416, #050403 75%); }
#scopes.open { display: block; }
#scopes .gsback { position: absolute; top: 10px; right: 12px; z-index: 7; padding: 7px 14px; border-radius: 99px; border: 1px solid rgba(242, 182, 50, 0.55); background: rgba(10, 10, 6, 0.75); color: #fff3b0; font: bold 14px var(--f-ui); cursor: pointer; }
#scopes .gsback:hover { background: rgba(242, 182, 50, 0.2); }
#scopes.locked .gsback { display: none; }
#gslobwrap { position: absolute; inset: 0; overflow-y: auto; padding: 40px 16px; display: flex; justify-content: center; align-items: flex-start; }
#scopes.playing #gslobwrap { display: none; }
#gslobby { max-width: 760px; width: 100%; }
#gslobby h2 { margin: 0 0 4px; }
#gslobby h3 { margin: 0 0 8px; font-family: var(--f-ui); font-size: 20px; color: var(--skin); }
.gscard { margin-top: 14px; padding: 12px 14px; border-radius: 12px; background: rgba(0, 0, 0, 0.25); border: 1px solid rgba(154, 168, 184, 0.25); }
.gswarn { color: #ffd23c; }
.gsplayers { display: flex; flex-wrap: wrap; gap: 8px; margin: 6px 0 4px; }
.gsprow { display: flex; align-items: center; gap: 6px; padding: 3px 10px 3px 4px; border-radius: 99px; background: rgba(154, 168, 184, 0.12); }
.gsprow b { color: #ffd23c; font-size: 12px; }
.gskeys { margin: 0; padding-left: 18px; line-height: 1.7; }
.gskeys b { color: #ffd23c; }
#gsplay { position: absolute; inset: 0; display: none; overflow: hidden; user-select: none; }
#scopes.playing #gsplay { display: block; }
#gsview, #gsview canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
#gsview canvas { cursor: crosshair; }
/* the crosshair, which flashes when you hit someone */
#gscross { position: absolute; left: 50%; top: 50%; width: 22px; height: 22px; margin: -11px 0 0 -11px; pointer-events: none;
  background: linear-gradient(#fff3b0, #fff3b0) center / 2px 8px no-repeat, linear-gradient(#fff3b0, #fff3b0) center / 8px 2px no-repeat; filter: drop-shadow(0 0 2px #000); }
#gscross::before { content: ""; position: absolute; inset: 0; border: 2px solid #fff3b0; border-radius: 50%; opacity: 0.55; }
/* (inked like everything else: it pops out big and snaps back; a head's gold, a kill's red, bigger, and lingers) */
#gscross.hit::after { content: "✕"; position: absolute; inset: -8px; display: grid; place-items: center; font: 900 28px sans-serif; color: #fff;
  text-shadow: 2px 0 #0a0612, -2px 0 #0a0612, 0 2px #0a0612, 0 -2px #0a0612; animation: gshit 0.32s cubic-bezier(.2, 1.6, .4, 1) forwards; }
#gscross.head::after { color: #ffd23c; font-size: 32px; }
#gscross.kill::after { color: #ff5a3a; font-size: 40px; animation: gskill 0.6s cubic-bezier(.2, 1.6, .4, 1) forwards; }
@keyframes gshit { 0% { opacity: 1; transform: scale(1.7); } 35% { opacity: 1; transform: scale(1); } 100% { opacity: 0; transform: scale(0.95); } }
@keyframes gskill { 0% { opacity: 1; transform: scale(2) rotate(-12deg); } 30% { opacity: 1; transform: scale(1.05) rotate(0); } 70% { opacity: 1; } 100% { opacity: 0; transform: scale(1); } }
/* looking down the scope: the world through a circle, with fine cross hairs */
#gsscopeview { position: absolute; inset: 0; pointer-events: none; display: none;
  background: radial-gradient(circle at center, transparent 0 min(36vh, 36vw), rgba(0, 0, 0, 0.92) calc(min(36vh, 36vw) + 2px)),
    linear-gradient(#000, #000) center / 100% 1px no-repeat, linear-gradient(#000, #000) center / 1px 100% no-repeat; }
#scopes.scoped #gsscopeview { display: block; }
#scopes.scoped #gscross { display: none; }
#gshurt { position: absolute; inset: 0; pointer-events: none; opacity: 0; box-shadow: inset 0 0 120px 30px rgba(255, 30, 20, 0.75); }
#gshurt.on { animation: gshurt 0.5s ease-out; }
@keyframes gshurt { from { opacity: 1; } to { opacity: 0; } }
/* yer own blood splashed across the screen when you're hit (see gore.js) */
#gsgorescreen { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.gsgoresplat { position: absolute; border-radius: 47% 53% 44% 56% / 52% 45% 55% 48%; transform: translate(-50%, -50%); animation: gsgoresplat 1.8s ease-in forwards; }
@keyframes gsgoresplat { 0% { opacity: 0.95; transform: translate(-50%, -50%) scale(0.85); } 15% { transform: translate(-50%, -50%) scale(1); } 100% { opacity: 0; transform: translate(-50%, -46%) scale(1.04); } }
#gshitdir { position: absolute; left: 50%; top: 50%; width: 0; height: 0; pointer-events: none; }
#gshitdir i { position: absolute; left: -60px; top: -110px; width: 120px; height: 220px; transform-origin: 60px 110px; pointer-events: none; }
#gshitdir i::before { content: ""; position: absolute; left: 22px; top: 0; width: 76px; height: 76px; border-radius: 50%; border-top: 7px solid rgba(255, 40, 30, 0.9); filter: drop-shadow(0 0 6px rgba(255, 20, 10, 0.8)); }
#gsmap.show { display: block; }
#gsscore { position: absolute; top: 12px; left: 50%; transform: translateX(-50%); padding: 5px 14px; border-radius: 99px; background: rgba(0, 0, 0, 0.55); color: #fff3b0; font-weight: bold; pointer-events: none; white-space: nowrap; max-width: calc(100% - 120px); overflow: hidden; text-overflow: ellipsis; }
#gsfeed { position: absolute; top: 52px; right: 14px; display: flex; flex-direction: column; align-items: flex-end; gap: 4px; pointer-events: none; }
.gsfrow { padding: 3px 10px; border-radius: 8px; background: rgba(0, 0, 0, 0.55); font-size: 14px; }
.gsfrow b.mine { color: #ffd23c; }
#gsmsg { position: absolute; left: 50%; top: 34%; transform: translateX(-50%); padding: 10px 20px; border-radius: 14px; background: rgba(0, 0, 0, 0.6); font: 24px var(--f-ui); color: #fff3b0; text-align: center; pointer-events: none; display: none; }
#gsmsg.show { display: block; }
#gsboard { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); min-width: 300px; max-width: calc(100% - 32px); padding: 14px 18px; border-radius: 14px; background: rgba(10, 12, 6, 0.9); border: 1px solid rgba(242, 182, 50, 0.5); display: none; pointer-events: none; }
#gsboard.show { display: block; }
#gsboard h2 { margin: 0 0 8px; text-align: center; }
.gstable { width: 100%; border-collapse: collapse; }
.gstable th, .gstable td { padding: 4px 8px; text-align: left; }
.gstable th { color: #a8b98a; font-size: 12px; text-transform: uppercase; }
.gstable tr.me td { color: #ffd23c; font-weight: bold; }
body:has(#scopes.playing) #guidebtn, body:has(#scopes.playing) #bellbtn { display: none; }
#gslobby .gscard { text-align: left; }
.gsprow svg { flex: none; }
@media (min-width: 701px) and (min-height: 641px) { body:has(#navrail.show) #gslobwrap { left: 76px; } }
/* Goblin Arena: the gun, breath, aiming, and the loadout */
#gsbreath { position: absolute; left: 50%; bottom: 22%; transform: translateX(-50%); width: 180px; height: 8px; border-radius: 99px; background: rgba(0, 0, 0, 0.55); display: none; pointer-events: none; }
#gsbreath.show { display: block; }
#gsbreath i { position: absolute; inset: 0 auto 0 0; border-radius: 99px; background: #8fd0ff; }
#gsbreath.held i { background: #ffffff; }
#gsbreath.out i { background: #ff6a4a; }
#gsbreath span { position: absolute; top: 12px; left: 0; right: 0; text-align: center; font-size: 11px; color: rgba(255, 255, 255, 0.7); text-shadow: 0 1px 2px #000; }
#scopes.ads #gscross { width: 6px; height: 6px; margin: -3px 0 0 -3px; background: #ff3a2a; border-radius: 50%; }
#scopes.ads #gscross::before { display: none; }
#gsscopeview { background:
  radial-gradient(circle at center, transparent 0 min(38vh, 38vw), rgba(0, 0, 0, 0.6) calc(min(38vh, 38vw) + 1px), #000 calc(min(38vh, 38vw) + 6px)),
  linear-gradient(#000, #000) center / 100% 1px no-repeat, linear-gradient(#000, #000) center / 1px 100% no-repeat,
  linear-gradient(#000, #000) center / 40% 3px no-repeat, linear-gradient(#000, #000) center / 3px 40% no-repeat; }
#gsscopeview::after { content: ""; position: absolute; left: 50%; top: 50%; width: 4px; height: 4px; margin: -2px 0 0 -2px; border-radius: 50%; background: #ff2a1a; }
.gsloadhead { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.gsbucks { font: bold 16px var(--f-ui); color: #9be27a; }
.gsload h4 { margin: 10px 0 6px; color: #a8b98a; text-transform: uppercase; font-size: 12px; letter-spacing: 0.05em; }
.gsguns { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 8px; }
.gsgun { padding: 9px 10px; border-radius: 10px; background: rgba(0, 0, 0, 0.3); border: 1px solid rgba(255, 255, 255, 0.08); display: flex; flex-direction: column; gap: 5px; }
.gsgun.on { border-color: #f2b632; box-shadow: inset 0 0 0 1px rgba(242, 182, 50, 0.4); }
.gsgun.locked { opacity: 0.85; }
.gsgname { font-weight: bold; color: #fff3b0; }
.gsgtext, .gsgmeta { font-size: 12px; color: #c8d0b0; }
.gsstats { display: grid; gap: 2px; }
.gsstat { display: grid; grid-template-columns: 72px 1fr; align-items: center; gap: 6px; font-size: 11px; color: #a8b98a; }
.gsstat i { height: 5px; border-radius: 99px; background: rgba(255, 255, 255, 0.1); overflow: hidden; }
.gsstat b { display: block; height: 100%; background: linear-gradient(90deg, #8fbf3a, #f2b632); }
.gsmapsel { padding: 5px 8px; border-radius: 8px; background: rgba(0, 0, 0, 0.4); color: #fff3b0; border: 1px solid rgba(154, 168, 184, 0.4); }
/* the hip-fire crosshair: four ticks round a circle as wide as the spread */
#scopes:not(.ads) #gscross { --r: 12px; width: calc(var(--r) * 2); height: calc(var(--r) * 2); margin: calc(var(--r) * -1) 0 0 calc(var(--r) * -1); transition: width 0.08s, height 0.08s, margin 0.08s;
  background: linear-gradient(#fff3b0, #fff3b0) top center / 2px 7px no-repeat, linear-gradient(#fff3b0, #fff3b0) bottom center / 2px 7px no-repeat,
    linear-gradient(#fff3b0, #fff3b0) left center / 7px 2px no-repeat, linear-gradient(#fff3b0, #fff3b0) right center / 7px 2px no-repeat,
    radial-gradient(circle, #fff3b0 0 1.5px, transparent 2px) center / 6px 6px no-repeat; }
#scopes:not(.ads) #gscross::before { inset: 0; border: 1px solid rgba(255, 243, 176, 0.35); }
/* Goblin Arena lobby: the match and yer goblin side by side, then the armoury */
#gslobby { max-width: 980px; }
.gstop { display: grid; grid-template-columns: 1fr 240px; gap: 12px; align-items: stretch; }
.gstop .gscard { margin-top: 14px; }
@media (max-width: 720px){ .gstop { grid-template-columns: 1fr; } }
.gspreview { display: flex; flex-direction: column; padding: 8px; background: radial-gradient(ellipse at 50% 70%, rgba(154, 168, 184, 0.18), rgba(0, 0, 0, 0.3)); }
.gsprevlabel { font-size: 11px; text-transform: uppercase; letter-spacing: 0.06em; color: #a8b98a; text-align: center; }
.gsprevview { flex: 1; min-height: 240px; display: grid; place-items: center; }
.gsprevview canvas { display: block; width: 100% !important; height: 100% !important; }
.gsarmtabs { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 6px; margin: 8px 0 10px; }
.gsarmtab { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; padding: 8px 10px; border-radius: 10px; border: 1px solid rgba(255, 255, 255, 0.1); background: rgba(0, 0, 0, 0.3); color: #fff3b0; cursor: pointer; text-align: left; font: inherit; }
.gsarmtab small { font-size: 10px; text-transform: uppercase; letter-spacing: 0.06em; color: #a8b98a; }
.gsarmtab b { display: flex; align-items: center; gap: 6px; font-size: 13px; }
.gsarmtab:hover { border-color: rgba(242, 182, 50, 0.5); }
.gsarmtab.on { border-color: #f2b632; background: rgba(242, 182, 50, 0.14); }
.gsgunpick { display: grid; grid-template-columns: 1fr 300px; gap: 12px; }
@media (max-width: 760px){ .gsgunpick { grid-template-columns: 1fr; } }
.gsgungrid h4 { margin: 8px 0 5px; color: #a8b98a; text-transform: uppercase; font-size: 11px; letter-spacing: 0.06em; }
.gsgunrow { display: grid; grid-template-columns: repeat(auto-fill, minmax(118px, 1fr)); gap: 6px; }
.gsgcard { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 6px 4px; border-radius: 10px; border: 1px solid rgba(255, 255, 255, 0.08); background: rgba(0, 0, 0, 0.3); color: #fff3b0; cursor: pointer; font: inherit; }
.gsgcard:hover { border-color: rgba(242, 182, 50, 0.5); }
.gsgcard.sel { border-color: #f2b632; box-shadow: 0 0 0 2px rgba(242, 182, 50, 0.35); background: rgba(242, 182, 50, 0.1); }
.gsgcard.locked .gsgunsvg { opacity: 0.55; }
.gsgcname { font-size: 12px; font-weight: bold; text-align: center; }
.gsgctag { font-size: 10px; color: #a8b98a; }
.gsgcard.on .gsgctag { color: #9be27a; }
.gsgundetail { padding: 10px 12px; border-radius: 12px; background: rgba(0, 0, 0, 0.35); border: 1px solid rgba(242, 182, 50, 0.3); align-self: start; position: sticky; top: 0; }
.gsgundetail h3 { margin: 0; }
.gsgcls { font-size: 12px; color: #a8b98a; margin-bottom: 6px; }
.gsgundetail .gsstat { grid-template-columns: 78px 1fr 64px; }
.gsstat em { font-style: normal; font-size: 11px; color: #d8e0c0; text-align: right; }
.gsact { width: 100%; margin-top: 8px; justify-content: center; }
.gsgunsvg { display: block; }
.gsskins { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 8px; }
.gsskin { --rar: #888; display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 7px 4px; border-radius: 10px; border: 1px solid rgba(255, 255, 255, 0.08); border-bottom: 3px solid var(--rar); background: rgba(0, 0, 0, 0.3); color: #fff3b0; cursor: pointer; font: inherit; }
.gsskin span { font-size: 12px; font-weight: bold; text-align: center; }
.gsskin small { font-size: 10px; color: var(--rar); text-transform: capitalize; }
.gsskin.on { border-color: #f2b632; box-shadow: 0 0 0 2px rgba(242, 182, 50, 0.35); }
.gsskin.locked { opacity: 0.45; filter: grayscale(0.6); }
.gsskinlook { width: 54px; height: 54px; display: grid; place-items: center; font-size: 34px; border-radius: 8px; overflow: hidden; background: rgba(255, 255, 255, 0.05); }
.gsswatch { display: block; border-radius: 6px; }
.gsarmtab .gsswatch { border-radius: 4px; }
.gscrate h3 { margin: 0 0 4px; }
.gsodds { display: flex; gap: 12px; flex-wrap: wrap; font-size: 12px; font-weight: bold; text-transform: capitalize; margin-bottom: 8px; }
.gsreel { position: relative; height: 80px; overflow: hidden; border-radius: 10px; background: rgba(0, 0, 0, 0.45); border: 1px solid rgba(255, 255, 255, 0.1); }
.gsstrip { display: flex; gap: 6px; padding: 5px 0 5px 6px; will-change: transform; }
.gsrtile { --rar: #888; flex: none; width: 70px; height: 70px; display: grid; place-items: center; font-size: 36px; border-radius: 8px; background: rgba(255, 255, 255, 0.05); border-bottom: 3px solid var(--rar); overflow: hidden; }
.gsreelmark { position: absolute; left: 50%; top: 0; bottom: 0; width: 2px; margin-left: -1px; background: #f2b632; box-shadow: 0 0 8px #f2b632; }
.gswon { --rar: #888; display: flex; align-items: center; gap: 10px; margin-top: 10px; padding: 8px 10px; border-radius: 10px; border: 1px solid var(--rar); background: rgba(0, 0, 0, 0.3); }
.gswon b { color: #fff3b0; }
.gswon small { color: var(--rar); text-transform: capitalize; flex: 1; }
.gshelp summary { cursor: pointer; font: 18px var(--f-ui); color: var(--skin); }
.gsnadeicon { font-size: 30px; line-height: 27px; }
/* Gobucks in the wallet, beside gold and rubies */
#whoami .cur.gobuck .cv { color: #8fdf6a; }
#whoami .cur.gobuck .ci svg { filter: drop-shadow(0 0 4px rgba(120, 220, 90, 0.45)); }
#whoami .cur.gobuck:hover { border-color: rgba(140, 220, 100, 0.6); background: rgba(120, 220, 90, 0.08); }
.scrate .gobnote { color: #8fdf6a; }
.gsskinsvg { display: block; }
.gsskinlook .gsskinsvg { width: 54px; height: 54px; }
.gsarmtab .gsskinsvg { flex: none; }
.gscrate { display: flex; gap: 14px; align-items: flex-start; flex-wrap: wrap; }
.gscrateart { width: 120px; flex: none; }
.gscrateart svg { width: 100%; height: auto; }
.scrate.scopes { --cg: 122, 224, 255; }
/* ★ knives: gold, like the rarest things should be */
:root { --r-knife: #ffd23c; }
.r-knife { --rc: #ffd23c; color: #ffd23c; }
.itile.r-knife { box-shadow: inset 0 0 0 1px rgba(255, 210, 60, 0.6), 0 0 14px rgba(255, 210, 60, 0.25); }
.knifesvg { display: block; width: 100%; height: auto; }
.ipv .knifesvg { max-width: 92%; }
.ipv.kmystery { display: grid; place-items: center; font-size: 46px; color: #ffd23c; text-shadow: 0 0 14px rgba(255, 210, 60, 0.8); background: radial-gradient(circle, rgba(255, 210, 60, 0.25), transparent 70%); }
.kfloat { position: absolute; left: 6px; top: 4px; font-size: 10px; font-family: ui-monospace, monospace; color: #ffd23c; opacity: 0.85; }
.kdetail { display: grid; gap: 3px; margin: 6px 0 4px; font-size: 13px; text-align: left; }
.kdrow { display: flex; justify-content: space-between; gap: 10px; }
.kdrow span { color: #a8b98a; }
.kdrow b { color: #fff3b0; font-family: ui-monospace, monospace; font-size: 12px; }
.kwear { position: relative; display: flex; height: 7px; margin: 6px 0 8px; border-radius: 99px; overflow: visible; }
.kwear i { display: block; height: 100%; }
.kw-fn { background: #3aa0ff; border-radius: 99px 0 0 99px; } .kw-mw { background: #6ac04a; } .kw-ft { background: #e0c03a; } .kw-ww { background: #e0803a; } .kw-bs { background: #c03a3a; border-radius: 0 99px 99px 0; }
.kwmark { position: absolute; top: -4px; width: 2px; height: 15px; margin-left: -1px; background: #fff; box-shadow: 0 0 4px #000; }
.gsknives { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 8px; }
.gsknife { display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 8px; border-radius: 10px; border: 1px solid rgba(255, 255, 255, 0.08); background: rgba(0, 0, 0, 0.3); color: #fff3b0; cursor: pointer; font: inherit; }
.gsknife.r-knife { border-color: rgba(255, 210, 60, 0.35); }
.gsknife.on { border-color: #f2b632; box-shadow: 0 0 0 2px rgba(242, 182, 50, 0.35); }
.gsknife b { font-size: 13px; text-align: center; }
.gsknife small { font-size: 11px; color: #c8d0b0; text-align: center; }
.gsarmtab .knifesvg { width: 44px; height: auto; flex: none; }
/* ★ capes: the same gold as knives */
.r-cape { --rc: #ffd23c; color: #ffd23c; }
.scrate.scopeso { --cg: 255, 106, 138; }
.capeimg { display: block; max-width: 100%; height: auto; }
.ipv .capeimg { margin: 0 auto; max-height: 92%; width: auto; }
.gsknife .capeimg { max-height: 130px; width: auto; }
.gsloslot .capeimg { flex: none; }
/* the Halloween gift screen */
#giftwin { position: fixed; inset: 0; z-index: 9500; display: grid; place-items: center; padding: 20px 16px; overflow-y: auto; background: radial-gradient(ellipse at 50% 30%, rgba(90, 30, 110, 0.97), rgba(14, 4, 20, 0.98) 70%); animation: gwin 0.5s ease-out; }
#giftwin.gone { opacity: 0; transition: opacity 0.4s; }
@keyframes gwin { from { opacity: 0; } to { opacity: 1; } }
.gw-sky { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.gw-moon { position: absolute; right: 9%; top: 7%; width: 110px; height: 110px; border-radius: 50%; background: radial-gradient(circle at 40% 40%, #fffbe0, #f2d27a 60%, #c8a040); box-shadow: 0 0 80px 20px rgba(255, 220, 120, 0.25); }
.gw-bat { position: absolute; width: 46px; animation: gwbat 9s linear infinite; }
.gw-bat.b0 { top: 12%; animation-delay: 0s; } .gw-bat.b1 { top: 22%; animation-delay: -2s; width: 30px; } .gw-bat.b2 { top: 8%; animation-delay: -4.5s; width: 36px; }
.gw-bat.b3 { top: 30%; animation-delay: -6s; width: 26px; } .gw-bat.b4 { top: 16%; animation-delay: -7.5s; } .gw-bat.b5 { top: 26%; animation-delay: -3.3s; width: 22px; }
@keyframes gwbat { from { transform: translate(-10vw, 0) scale(1, 1); } 25% { transform: translate(25vw, 3vh) scale(1, 0.7); } 50% { transform: translate(55vw, -2vh) scale(1, 1); } 75% { transform: translate(85vw, 2vh) scale(1, 0.7); } to { transform: translate(115vw, 0) scale(1, 1); } }
.gw-card { position: relative; max-width: 680px; width: 100%; text-align: center; padding: 26px 22px 22px; border-radius: 22px; background: linear-gradient(180deg, rgba(40, 14, 50, 0.92), rgba(20, 8, 24, 0.95)); border: 2px solid #ff8a24; box-shadow: 0 0 60px rgba(255, 138, 36, 0.35), inset 0 0 40px rgba(140, 40, 200, 0.25); animation: gwcard 0.6s cubic-bezier(.2, 1.4, .4, 1); }
@keyframes gwcard { from { transform: scale(0.8) translateY(30px); opacity: 0; } to { transform: none; opacity: 1; } }
.gw-pumpkin { width: 84px; height: 84px; margin: -66px auto 4px; display: block; filter: drop-shadow(0 0 16px rgba(255, 138, 36, 0.7)); }
.gw-title { margin: 0; font: 46px var(--f-ui); color: #ff8a24; text-shadow: 0 3px 0 #5a1a04, 0 0 24px rgba(255, 138, 36, 0.6); }
.gw-thanks { margin: 8px auto 4px; max-width: 540px; color: #f4e2c8; font-size: 15px; line-height: 1.5; }
.gw-knife { position: relative; margin: 6px auto 0; max-width: 520px; filter: drop-shadow(0 0 22px rgba(255, 138, 36, 0.55)); animation: gwfloat 3.4s ease-in-out infinite; }
.gw-knife .knifesvg { width: 100%; height: auto; }
@keyframes gwfloat { 0%, 100% { transform: translateY(0) rotate(-1deg); } 50% { transform: translateY(-8px) rotate(1deg); } }
.gw-name { font: 28px var(--f-ui); color: #ffd23c; text-shadow: 0 2px 0 #3a1a04; }
.gw-stats { margin-top: 4px; font-family: ui-monospace, monospace; font-size: 13px; color: #e8c8ff; }
.gw-note { margin: 10px auto 12px; max-width: 520px; font-size: 13px; color: #c8b8d8; }
.gw-acts { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.gw-collect { font-size: 18px; padding-inline: 26px; }
body.idle #giftwin, body.idle #giftwin * { animation-play-state: running !important; }
/* the name of whoever you're pointing at, if you can see them */
#gstarget { position: absolute; left: 50%; top: calc(50% + 26px); transform: translateX(-50%); padding: 2px 9px; border-radius: 8px; background: rgba(0, 0, 0, 0.5); color: #ff8a7a; font: bold 13px var(--f-ui); pointer-events: none; display: none; white-space: nowrap; }
#gstarget.show { display: block; }
/* the waiting room: the range underneath, the lobby over it whenever the mouse is free */
#scopes.playing.warmup #gslobwrap { display: flex; background: rgba(8, 10, 6, 0.55); backdrop-filter: blur(2px); z-index: 4; }
#scopes.playing.warmup.locked #gslobwrap { display: none; }
.gsbackrange { display: flex; margin: 0 auto 10px; font-size: 18px; padding: 10px 26px; }
.gspop { position: absolute; left: 0; top: 0; font: bold 18px var(--f-ui); text-shadow: 0 2px 3px #000, 0 0 2px #000; pointer-events: none; white-space: nowrap; }
/* the gunsmith: a gun's level, and its attachments slot by slot */
.gssmith { margin-top: 10px; padding-top: 8px; border-top: 1px solid rgba(242, 182, 50, 0.25); }
.gslvhead { display: flex; justify-content: space-between; align-items: baseline; }
.gslvhead b { font: 18px var(--f-ui); color: #ffd23c; }
.gslvhead span { font-size: 12px; color: #a8b98a; }
.gslvbar { height: 6px; border-radius: 99px; background: rgba(255, 255, 255, 0.1); overflow: hidden; margin: 4px 0; }
.gslvbar i { display: block; height: 100%; background: linear-gradient(90deg, #8fbf3a, #ffd23c); }
.gslvnext { font-size: 11px; color: #c8d0b0; margin-bottom: 6px; }
.gsatrow { display: grid; grid-template-columns: 84px 1fr; gap: 6px; align-items: start; margin: 5px 0; }
.gsatslot { font-size: 11px; text-transform: uppercase; letter-spacing: 0.05em; color: #a8b98a; padding-top: 4px; }
.gsatchips { display: flex; flex-wrap: wrap; gap: 4px; }
.gsat { font: inherit; font-size: 11px; padding: 3px 8px; border-radius: 99px; border: 1px solid rgba(255, 255, 255, 0.15); background: rgba(0, 0, 0, 0.3); color: #fff3b0; cursor: pointer; }
.gsat.on { border-color: #ffd23c; background: rgba(242, 182, 50, 0.2); }
.gsat.locked { opacity: 0.5; }

