/* Gobbomon cards: the frame is the type, a gem on the name banner is the rarity, and the numbers sit on the art */
.gcard { --gw: 230px; --fr: #b8b4a4; --fr2: #6e6a60; position: relative; width: var(--gw); aspect-ratio: 5 / 7; flex: none; border-radius: calc(var(--gw) * 0.06); padding: calc(var(--gw) * 0.045); display: flex; flex-direction: column; gap: calc(var(--gw) * 0.025);
  background: linear-gradient(160deg, var(--fr), var(--fr2)); box-shadow: 0 6px 18px rgba(0, 0, 0, 0.5), inset 0 0 0 2px rgba(0, 0, 0, 0.4); color: #1a1e26; font-size: calc(var(--gw) * 0.056); text-align: left; cursor: default; }
.gcard.t-bog { --fr: #86d65a; --fr2: #24521a; --tc: #3f9a2a; }
.gcard.t-ember { --fr: #ffa060; --fr2: #8a2410; --tc: #d9542a; }
.gcard.t-fungus { --fr: #cda2ee; --fr2: #45196a; --tc: #8a4ac0; }
.gcard.r-rare { box-shadow: 0 6px 18px rgba(0, 0, 0, 0.5), inset 0 0 0 calc(var(--gw) * 0.014) #e4eef8, inset 0 0 0 calc(var(--gw) * 0.022) rgba(0, 0, 0, 0.35); }
.gcard.r-legendary { box-shadow: 0 0 calc(var(--gw) * 0.09) rgba(255, 210, 60, 0.75), 0 6px 18px rgba(0, 0, 0, 0.5), inset 0 0 0 calc(var(--gw) * 0.016) #ffd23c, inset 0 0 0 calc(var(--gw) * 0.026) rgba(90, 50, 0, 0.5); }
.gcard .gpic { position: relative; }
.gcard .gartbox { position: relative; border-radius: calc(var(--gw) * 0.04); overflow: hidden; background: #000; aspect-ratio: 60 / 46; box-shadow: 0 0 0 calc(var(--gw) * 0.01) rgba(0, 0, 0, 0.6); }
.gcard .gart { display: block; width: 100%; height: 100%; }
.gcard .gstat { position: absolute; z-index: 2; width: calc(var(--gw) * 0.2); height: calc(var(--gw) * 0.2); border-radius: 50%; display: flex; align-items: center; justify-content: center;
  border: calc(var(--gw) * 0.012) solid #1a1e26; box-shadow: 0 2px 5px rgba(0, 0, 0, 0.6), inset 0 calc(var(--gw) * 0.01) 0 rgba(255, 255, 255, 0.35); color: #fff; }
.gcard .gstat b { font-family: var(--f-ui); font-size: calc(var(--gw) * 0.105); line-height: 1; text-shadow: 0 calc(var(--gw) * 0.008) 0 #000, 0 0 calc(var(--gw) * 0.02) rgba(0, 0, 0, 0.8); }
.gcard .gstat i { position: absolute; top: calc(var(--gw) * -0.05); font-style: normal; font-size: calc(var(--gw) * 0.06); filter: drop-shadow(0 1px 1px #000); }
.gcard .gstat.pow { left: -3%; bottom: -9%; background: radial-gradient(circle at 35% 30%, #ffe48a, #d98a14 65%, #8a4a04); }
.gcard .gstat.hp { right: -3%; bottom: -9%; background: radial-gradient(circle at 35% 30%, #ff9a8a, #c0262f 65%, #5a0a10); }
.gcard .gstat.hp.hurt { background: radial-gradient(circle at 35% 30%, #ffb0b0, #ff3a2a 60%, #7a0a10); }
.gcard .gstat.hp.hurt b { color: #ffe0e0; }
.gcard .gstat.spd { left: -3%; top: -6%; width: calc(var(--gw) * 0.17); height: calc(var(--gw) * 0.17); background: radial-gradient(circle at 35% 30%, #c8ecff, #2f7ab0 65%, #0f3050); }
.gcard .gstat.spd b { font-size: calc(var(--gw) * 0.085); }
.gcard .gtype { position: absolute; z-index: 2; right: -3%; top: -6%; width: calc(var(--gw) * 0.17); height: calc(var(--gw) * 0.17); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: calc(var(--gw) * 0.085);
  background: radial-gradient(circle at 35% 30%, #fff, var(--tc) 70%); border: calc(var(--gw) * 0.012) solid #1a1e26; box-shadow: 0 2px 5px rgba(0, 0, 0, 0.6); }
.gcard .gname { position: relative; margin-top: calc(var(--gw) * 0.035); padding: 0.35em 0.4em 0.2em; border-radius: 0.35em; background: linear-gradient(#fffbea, #e2d4ac); border: calc(var(--gw) * 0.01) solid #1a1e26; text-align: center; }
.gcard .gname b { display: block; font-family: var(--f-ui); font-size: 1.05em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gcard .grar { position: absolute; left: 50%; top: 0; transform: translate(-50%, -60%); padding: 0 0.7em; border-radius: 999px; font-family: var(--f-ui); font-size: 0.55em; letter-spacing: 0.08em; text-transform: uppercase; white-space: nowrap; border: 1px solid #1a1e26; }
.gcard.r-common .grar { background: linear-gradient(#b0aca0, #6e6a60); color: #fff; }
.gcard.r-rare .grar { background: linear-gradient(#7fd0ff, #1f6aa8); color: #fff; }
.gcard.r-legendary .grar { background: linear-gradient(#ffe48a, #c98a0b); color: #3a2002; box-shadow: 0 0 calc(var(--gw) * 0.04) rgba(255, 210, 60, 0.9); }
.gcard .gab { flex: 1; padding: 3px 5px; border-radius: 4px; background: rgba(255, 250, 235, 0.82); font-family: var(--f-ui); font-size: 0.92em; line-height: 1.15; overflow: hidden; }
.gcard .gab p { margin: 0 0 2px; } .gcard .gab .plain { font-style: italic; opacity: 0.75; }
.gcard .gflav { font-family: var(--f-ui); font-style: italic; font-size: 0.78em; opacity: 0.85; padding: 0 3px; line-height: 1.1; color: #fff; text-shadow: 0 1px 1px rgba(0, 0, 0, 0.6); }
.gcard .gfoot { display: flex; justify-content: space-between; align-items: center; font-family: var(--f-ui); font-size: 0.75em; padding: 0 3px; color: #fff; text-shadow: 0 1px 1px rgba(0, 0, 0, 0.6); }
.gcard .gcount { position: absolute; left: 50%; top: calc(var(--gw) * 0.04); transform: translateX(-50%); z-index: 3; padding: 1px 8px; border-radius: 999px; background: #1a1e26; color: #fff3b0; font-family: var(--f-ui); font-size: 0.95em; box-shadow: 0 0 0 2px var(--fr); }
/* small cards: picture, numbers and name, all big enough to read */
.gcard.mini { --gw: 132px; cursor: pointer; font-size: calc(var(--gw) * 0.085); gap: calc(var(--gw) * 0.02); }
.gcard.mini .gartbox { aspect-ratio: 60 / 52; }
.gcard.mini .gstat { width: calc(var(--gw) * 0.27); height: calc(var(--gw) * 0.27); }
.gcard.mini .gstat b { font-size: calc(var(--gw) * 0.15); }
.gcard.mini .gstat i { display: none; }
.gcard.mini .gstat.spd, .gcard.mini .gtype { width: calc(var(--gw) * 0.22); height: calc(var(--gw) * 0.22); }
.gcard.mini .gstat.spd b { font-size: calc(var(--gw) * 0.12); } .gcard.mini .gtype { font-size: calc(var(--gw) * 0.11); }
.gcard.mini .gname { margin-top: calc(var(--gw) * 0.07); padding: 0.4em 0.2em 0.15em; }
.gcard.mini .grar { font-size: 1em; padding: 0 0.5em; line-height: 1.2; } .gcard.mini .grar .t { display: none; }
.gcard .gabmini { padding: 0.15em 0.3em; border-radius: 4px; background: rgba(255, 250, 235, 0.82); font-family: var(--f-ui); font-size: 0.68em; text-align: center; line-height: 1.2; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gcard .gabmini.plain { font-family: var(--f-ui); font-style: italic; opacity: 0.75; }
/* holographic: a rainbow sheen that sweeps across, and a scatter of sparkles */
.gcard.holo::after { content: ""; position: absolute; inset: 0; pointer-events: none; border-radius: inherit; mix-blend-mode: color-dodge; opacity: 0.75;
  background: linear-gradient(115deg, transparent 15%, rgba(255, 60, 180, 0.45) 28%, rgba(60, 220, 255, 0.45) 40%, rgba(255, 240, 80, 0.45) 52%, rgba(80, 255, 140, 0.45) 64%, transparent 78%), radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.8) 0 1px, transparent 2px), radial-gradient(circle at 70% 60%, rgba(255, 255, 255, 0.8) 0 1px, transparent 2px), radial-gradient(circle at 40% 80%, rgba(255, 255, 255, 0.7) 0 1px, transparent 2px);
  background-size: 300% 300%, 37px 41px, 53px 47px, 29px 31px; animation: gholo 3.5s linear infinite; }
.gcard.holo::before { content: "✦ HOLO"; position: absolute; left: 50%; top: calc(var(--gw) * 0.05); transform: translateX(-50%); z-index: 3; padding: 0 5px; border-radius: 4px; font-family: var(--f-ui); font-size: 0.6em; letter-spacing: 0.05em; color: #fff; background: linear-gradient(90deg, #ff3cb4, #3cdcff, #ffe050); }
@keyframes gholo { 0% { background-position: 100% 100%, 0 0, 0 0, 0 0; } 100% { background-position: 0% 0%, 37px 41px, -53px 47px, 29px -31px; } }
/* one-off moves (dealing, flipping pages, popping up) always finish, idle or not */
body.idle .gcard.holo::after, body.idle .gpo-card, body.idle .gdin .gcard, body.idle .gcard.hit, body.idle .gbinder .gpage, body.idle #ginvite, body.idle #gpackopen, body.idle .gpo-pack { animation-play-state: running !important; }
.gcard.hit { animation: ghit 0.45s ease-out; }
@keyframes ghit { 0%, 100% { transform: none; } 20% { transform: translateX(-8px) rotate(-2deg); filter: brightness(2) sepia(1) hue-rotate(-40deg); } 50% { transform: translateX(6px) rotate(1.5deg); } }

/* the collection */
#gobbo .shopcard { max-width: 860px; }
#gtabs { margin: 8px 0 12px; }
.gbinder { padding: 16px; border-radius: 16px; background: linear-gradient(135deg, #5a3a1e, #3a2412); box-shadow: inset 0 0 0 3px #2a1a0a, inset 0 0 30px rgba(0, 0, 0, 0.6), 0 8px 24px rgba(0, 0, 0, 0.5); perspective: 1200px; }
.gpage { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; padding: 14px; border-radius: 10px; background: repeating-linear-gradient(0deg, #e8dcc0 0 28px, #e2d4b4 28px 29px); box-shadow: inset 0 0 12px rgba(0, 0, 0, 0.35); transform-origin: left center; }
.gbinder.flip-next .gpage { animation: gflipn 0.4s ease-out; } .gbinder.flip-prev .gpage { animation: gflipp 0.4s ease-out; transform-origin: right center; }
@keyframes gflipn { from { transform: rotateY(-35deg) translateX(40px); opacity: 0.2; } }
@keyframes gflipp { from { transform: rotateY(35deg) translateX(-40px); opacity: 0.2; } }
.gslot { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; min-width: 0; }
.gslot .gcard.mini { --gw: min(150px, 22vw); }
.gslot.empty { aspect-ratio: 5 / 7; border: 2px dashed rgba(90, 60, 30, 0.5); border-radius: 10px; background: rgba(90, 60, 30, 0.08); color: rgba(70, 45, 20, 0.7); font-family: var(--f-ui); width: min(150px, 22vw); justify-self: center; }
@media (max-width: 560px) { .gbinder { padding: 8px; } .gpage { padding: 8px; gap: 6px; } .gslot.empty .gq { font-size: 24px; } .gslot.empty .gnum { font-size: 13px; } }
.gslot.empty .gnum { font-family: var(--f-ui); font-size: 16px; }
.gslot.empty .gq { font-family: var(--f-ui); font-size: 34px; opacity: 0.5; }
.gslot.empty .gr { font-size: 13px; text-transform: uppercase; letter-spacing: 0.1em; }
.gslot .gholo { margin-top: 3px; font-family: var(--f-ui); font-size: 12px; color: #6b3fa0; font-weight: 700; }
.gnav { display: flex; justify-content: center; align-items: center; gap: 12px; margin-top: 12px; }
.gpn { font-family: var(--f-ui); font-size: 17px; }
#gdetail { position: fixed; inset: 0; z-index: 90; display: none; align-items: center; justify-content: center; padding: 16px; background: rgba(0, 0, 0, 0.75); backdrop-filter: blur(4px); }
#gdetail.open { display: flex; }
.gdin { display: flex; gap: 20px; align-items: center; flex-wrap: wrap; justify-content: center; }
.gdin .gcard { --gw: min(300px, calc(100vw - 48px)); animation: cardpop 0.5s cubic-bezier(.2, 1.6, .4, 1); }
.gdinfo { display: flex; flex-direction: column; gap: 8px; max-width: 260px; font-family: var(--f-ui); font-size: 17px; color: var(--ink); }
.gdinfo .grar { font-family: var(--f-ui); text-transform: uppercase; letter-spacing: 0.1em; }
.gpacks { display: flex; gap: 20px; align-items: center; flex-wrap: wrap; }
.gpackart { width: 160px; flex: none; filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.6)); }
.gpackinfo { flex: 1; min-width: 220px; display: flex; flex-direction: column; gap: 8px; align-items: flex-start; }
.gpackinfo p { margin: 0; font-family: var(--f-ui); font-size: 16px; }
.scrate.gobbopack .art svg { max-height: 180px; }
.grules { font-family: var(--f-ui); font-size: 16px; }
.grules ul { margin: 4px 0 10px; padding-left: 20px; } .grules li { margin-bottom: 3px; }
.gplayers { display: flex; flex-direction: column; gap: 6px; }
.gpractice { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; margin: 4px 0 12px; padding: 10px 12px; border-radius: 12px; background: rgba(0, 0, 0, 0.25); border: 1px solid rgba(242, 182, 50, 0.3); }
.gpractice .gob { margin: 0; } .gpractice p { margin: 4px 0 0; }
.gprow { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 6px 8px; border-radius: 8px; background: rgba(255, 255, 255, 0.05); }
.gprow > span:last-child { display: flex; gap: 6px; }

/* opening a pack */
#gpackopen { position: fixed; inset: 0; z-index: 88; display: none; flex-direction: column; align-items: center; justify-content: center; gap: 18px; padding: 16px; background: radial-gradient(ellipse at 50% 40%, #3a2056, #07040b 70%); overflow-y: auto; }
#gpackopen.open { display: flex; }
#gpackopen.quake { animation: quake 0.5s linear 2; }
.gpo-pack { width: 180px; filter: drop-shadow(0 0 30px rgba(242, 182, 50, 0.6)); }
#gpackopen.tearing .gpo-pack { animation: crateshake 0.08s linear infinite; }
#gpackopen.dealt .gpo-pack { display: none; }
.gpo-row { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; max-width: 1240px; }
.gpo-card { position: relative; width: 210px; aspect-ratio: 5 / 7; perspective: 900px; cursor: pointer; animation: gdeal 0.45s cubic-bezier(.2, 1.4, .4, 1) both; }
@keyframes gdeal { from { transform: translateY(80px) scale(0.6) rotate(-8deg); opacity: 0; } }
.gpo-card .gback, .gpo-card .gcard { position: absolute; inset: 0; backface-visibility: hidden; -webkit-backface-visibility: hidden; transition: transform 0.55s cubic-bezier(.3, 1.3, .5, 1); }
.gpo-card .gcard { --gw: 210px; transform: rotateY(180deg); }
.gpo-card .gback { display: flex; align-items: center; justify-content: center; border-radius: 11px; background: repeating-linear-gradient(45deg, #3a1f5a 0 10px, #4a2a70 10px 20px); border: 6px solid #f2b632; box-shadow: 0 6px 18px rgba(0, 0, 0, 0.6); }
.gpo-card .gback span { font-family: var(--f-ui); font-size: 70px; color: #f2b632; text-shadow: 0 3px 0 #1a1e26; }
.gpo-card:not(.up):hover .gback { transform: translateY(-6px); }
.gpo-card.up .gback { transform: rotateY(-180deg); }
.gpo-card.up .gcard { transform: rotateY(0); }
/* once it's turned over, flatten it: a 3D card stays drawn at the size it was dealt at (blurry), until something repaints it */
.gpo-card.settled { perspective: none; }
.gpo-card.settled .gback { display: none; }
.gpo-card.settled .gcard { transform: none; transition: none; backface-visibility: visible; -webkit-backface-visibility: visible; }
.gpo-card.up.r-rare .gcard { box-shadow: 0 0 28px rgba(79, 182, 255, 0.8); } .gpo-card.up.r-legendary .gcard { box-shadow: 0 0 50px rgba(255, 210, 60, 1); }
.gpo-card .gnew { position: absolute; top: -10px; right: -6px; z-index: 3; padding: 2px 10px; border-radius: 999px; background: #7aff2a; color: #1a1e26; font-family: var(--f-ui); font-size: 12px; opacity: 0; transition: opacity 0.3s 0.4s; }
.gpo-card.up .gnew { opacity: 1; }
.gpo-acts { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; justify-content: center; }
.gpo-tip { font-family: var(--f-ui); font-size: 18px; color: var(--ink-dim); }
@media (max-width: 700px) { .gpo-card, .gpo-card .gcard { width: 150px; --gw: 150px; } .gpo-card .gback span { font-size: 50px; } .gpo-card .gcard .gflav { display: none; } }

/* battles */
#gbattle .shopcard { max-width: 760px; }
#ginvite { position: fixed; right: 16px; bottom: 16px; z-index: 95; display: none; max-width: min(320px, calc(100vw - 32px)); padding: 14px; border-radius: 14px; background: #1b2412; border: 2px solid var(--gold); box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6); font-family: var(--f-ui); font-size: 17px; color: var(--ink); }
#ginvite.show { display: block; animation: cardpop 0.4s cubic-bezier(.2, 1.6, .4, 1); }
#ginvite .acts { display: flex; gap: 8px; align-items: center; margin-top: 10px; }
.gbline { font-family: var(--f-ui); font-size: 17px; text-align: center; margin: 6px 0; }
.gbfield { display: flex; flex-direction: column; gap: 12px; }
.gbside { display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; gap: 4px 12px; align-items: start; padding: 8px; border-radius: 12px; background: rgba(255, 255, 255, 0.04); }
.gbside.theirs { background: rgba(179, 32, 44, 0.08); } .gbside.mine { background: rgba(122, 255, 42, 0.07); }
.gbname { grid-column: 1 / -1; font-family: var(--f-ui); font-size: 15px; color: var(--skin); }
.gbactive { display: flex; flex-direction: column; gap: 4px; }
.gbactive .gcard { --gw: min(180px, 42vw); }
.gbbench { display: flex; gap: 8px; flex-wrap: wrap; align-content: flex-start; }
.gbbench { flex-direction: column; } .gbbench .gcard.mini { --gw: min(100px, 22vw); }
.gbbench .gcard.can { cursor: pointer; outline: 2px dashed var(--gold); outline-offset: 2px; }
.gbbench .gcard.can:hover { transform: translateY(-4px); }
.gbbench .gcard.ko { filter: grayscale(1) brightness(0.5); }
.gbhp { position: relative; height: 14px; border-radius: 7px; background: rgba(0, 0, 0, 0.6); overflow: hidden; }
.gbhp i { position: absolute; left: 0; top: 0; bottom: 0; background: linear-gradient(#7ee07a, #2e8a2a); transition: width 0.4s; }
.gbhp span { position: absolute; left: 6px; top: 0; font-size: 11px; line-height: 14px; color: #fff; white-space: nowrap; font-family: var(--f-ui); }
.gbhp.small { height: 6px; margin-top: 3px; }
.gbbar { display: flex; justify-content: center; gap: 14px; margin: 8px 0; font-family: var(--f-ui); }
.gbclock.hurry { color: #ff8a7a; }
.gbmatch { color: var(--ink-dim); }
.gbacts { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.gbtip { font-family: var(--f-ui); color: var(--ink-dim); }
.gblog { margin: 10px 0; padding: 8px 10px; border-radius: 8px; background: rgba(0, 0, 0, 0.35); font-family: var(--f-ui); font-size: 15px; }
.gbl.mine { color: #7aff2a; } .gbl.theirs { color: #ff9a8a; }
.gpickgrid { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin: 8px 0; max-height: 52vh; overflow-y: auto; padding: 4px; }
.gpickgrid .gcard.mini { --gw: min(120px, 27vw); }
.gpickgrid .gcard.picked { outline: 3px solid var(--gold); outline-offset: 2px; }
.gpicknum { position: absolute; left: 50%; top: 40%; transform: translate(-50%, -50%); width: 34px; height: 34px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: var(--gold); color: #2b1d02; font-family: var(--f-ui); font-size: 18px; box-shadow: 0 2px 8px rgba(0, 0, 0, 0.6); }
.gbres { text-align: center; } .gbres.won { color: #7aff2a; } .gbres.lost { color: #ff8a7a; }
/* the opponent's card a little smaller, so yer own and the buttons stay in view */
.gbside.theirs .gbactive .gcard { --gw: min(150px, 36vw); } .gbside.theirs .gbbench .gcard.mini { --gw: min(84px, 19vw); }
.gbside { grid-template-columns: auto auto; justify-content: center; }
/* ---- the Gobbomon arena: full screen */
#garena { position: fixed; inset: 0; z-index: 86; display: none; overflow: hidden; color: var(--ink); user-select: none; -webkit-user-select: none;
  background: radial-gradient(ellipse 70% 55% at 50% 50%, #3a2a1a 0%, #20160d 55%, #0b0805 100%); }
#garena.open { display: block; }
body.inarena { overflow: hidden; }
#garena::before { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0.35;
  background: repeating-linear-gradient(90deg, rgba(0, 0, 0, 0.18) 0 2px, transparent 2px 120px), repeating-linear-gradient(0deg, rgba(0, 0, 0, 0.18) 0 2px, transparent 2px 80px); }
#garena::after { content: ""; position: absolute; left: 50%; top: 50%; width: min(90vw, 900px); height: min(90vw, 900px); transform: translate(-50%, -50%); pointer-events: none; border-radius: 50%;
  background: radial-gradient(circle, rgba(242, 182, 50, 0.12), transparent 60%); animation: gaglow 6s ease-in-out infinite alternate; }
@keyframes gaglow { to { opacity: 0.5; transform: translate(-50%, -50%) scale(1.15); } }
.ga-stage { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; padding: 12px 16px; }
.ga-fx { position: absolute; inset: 0; pointer-events: none; z-index: 20; }
.ga-coin { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); display: flex; flex-direction: column; align-items: center; gap: 12px; perspective: 600px; }
.ga-coin .gcn { position: relative; width: 96px; height: 96px; transform-style: preserve-3d; }
.ga-coin .gcf { position: absolute; inset: 0; display: grid; place-items: center; border-radius: 50%; backface-visibility: hidden; -webkit-backface-visibility: hidden; padding: 8px; text-align: center;
  font-family: var(--f-ui); font-size: 15px; line-height: 1.1; color: #2b1d02; box-shadow: inset 0 0 0 4px rgba(0, 0, 0, 0.25), 0 10px 24px rgba(0, 0, 0, 0.6); overflow: hidden; white-space: nowrap; }
.ga-coin .gcf.mine { background: radial-gradient(circle at 35% 30%, #fff3b0, #f2b632 50%, #a8791a); }
.ga-coin .gcf.theirs { background: radial-gradient(circle at 35% 30%, #ffffff, #c9ced6 50%, #6e747c); transform: rotateY(180deg); }
.ga-coin .gccap { padding: 4px 14px; border-radius: 999px; background: rgba(0, 0, 0, 0.75); font-family: var(--f-ui); font-size: 16px; color: #fff3b0; white-space: nowrap; }
.ga-coin .gccap.win { color: #7ee07a; } .ga-coin .gccap.lose { color: #ff9a8a; }
.ga-stage.dealing .ga-slot, .ga-stage.dealing .ga-bench { visibility: hidden; }
.ga-close { position: absolute; top: 10px; right: 12px; z-index: 30; }
.ga-flee { position: absolute; top: 10px; left: 12px; z-index: 30; }
#garena:not(.s-fight) .ga-flee { display: none; }

/* one-of-a-kind gift cards (js/gobbomon/cards.js): a candlelit pumpkin glow, and their shelf under the binder */
.gcard.one { box-shadow: 0 0 calc(var(--gw) * 0.11) rgba(255, 154, 42, 0.85), 0 6px 18px rgba(0, 0, 0, 0.5), inset 0 0 0 calc(var(--gw) * 0.016) #ffb04a, inset 0 0 0 calc(var(--gw) * 0.026) rgba(58, 42, 74, 0.8); }
.gcard.one .grar { background: linear-gradient(#ffc070, #c9580b); color: #2a1206; }
.gone-shelf { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: center; margin-top: 14px; padding: 12px; border: 3px solid var(--wk-ink, #0a0612); border-radius: 10px; background: linear-gradient(170deg, #3a2a4a, #1e1628); }
.gone-shelf h4 { flex-basis: 100%; margin: 0; text-align: center; font-family: var(--f-head); color: #ffb04a; letter-spacing: 0.04em; }
.gone-shelf .gcard.mini { --gw: min(150px, 40vw); cursor: pointer; }
