/* Work-ID 20261111-identity-gacha-5b9e (zenux 11-10 19:55, "Novo visual Gacha", g_1.jpeg + g_2.gif). The Gacha window under the identity: data-identity="gacha" on the dialog, the sheet of ui_scale WINDOWS.gacha (1586 x 992).
   Left: the kinds list; centre: the night scene of g_1 with the glass-globe machine; right: tickets, the REAL rates, VER POKEMON POSSIVEIS; bottom: the quantity, SORTEAR, the skip switch and CLOSE in one bar.
   The animation is the existing one (the machine rumbles while the draw is on, one rarity-coloured ball comes out and opens the card); the world still rolls everything. Hover / focus only repaint (AGENTS.md hover geometry). */
@media screen and (min-width:901px){
 body.identity-v2:not(.mobile-web) #modal#modal#modal#modal#modal#modal#modal[data-identity="gacha"]>#modal-body{zoom:var(--win-s,1);flex:1 1 auto!important;position:relative!important;inset:auto!important;width:auto!important;height:auto!important;min-height:0!important;margin:0!important;display:block!important;padding:10px 24px 100px!important;overflow:hidden!important;max-height:none!important;box-sizing:border-box!important;border:0!important;border-image:none!important;
  background:radial-gradient(ellipse at 50% 0%,#0d2c46 0%,transparent 62%),linear-gradient(180deg,#0a1a2d,#07121f)!important}
 body.identity-v2:not(.mobile-web) #modal#modal#modal#modal#modal#modal#modal[data-identity="gacha"]>#modal-body::before,body.identity-v2:not(.mobile-web) #modal#modal#modal#modal#modal#modal#modal[data-identity="gacha"]>#modal-body::after{content:none!important;display:none!important}
 /* the header: the gold title plate of rl_1 (the same art as the Relearner) */
 body.identity-v2:not(.mobile-web) #modal#modal#modal#modal#modal#modal#modal#modal[data-identity="gacha"]>.modal-header{justify-content:center!important;padding:0 120px!important;height:126px!important;min-height:126px!important;
  background:url("../../assets/ui/identity/rl_title_clean.png?v=1") center 8px/auto 112px no-repeat,url("../../assets/ui/identity/header_scenery.png?v=1") right 0 center/auto 100% no-repeat,linear-gradient(90deg,#081a2c 0%,#0a2238 55%,#0a2a44 100%)!important}
 body.identity-v2:not(.mobile-web) #modal#modal[data-identity="gacha"]>.modal-header>div:first-child{display:grid;justify-items:center;margin-top:12px}
 body.identity-v2:not(.mobile-web) #modal#modal#modal#modal#modal#modal#modal#modal#modal[data-identity="gacha"] #modal-eyebrow{display:none!important}
 body.identity-v2:not(.mobile-web) #modal#modal#modal#modal#modal#modal#modal#modal[data-identity="gacha"] #modal-title{font-size:31px!important;line-height:36px!important;letter-spacing:.03em!important;text-align:center!important;text-transform:uppercase!important}
 /* the grid of the machine panel */
 body.identity-v2:not(.mobile-web) #modal#modal#modal[data-identity="gacha"] .gx-machine-panel{position:relative!important;inset:auto!important;width:100%!important;height:100%!important;max-width:none!important;margin:0!important;padding:0!important;display:grid!important;grid-template-columns:268px minmax(0,1fr) 292px;grid-template-rows:minmax(0,1fr) 54px 62px 96px;gap:10px 18px;background:none!important;border:0!important;box-shadow:none!important;overflow:hidden}
 body.identity-v2:not(.mobile-web) #modal#modal#modal[data-identity="gacha"] .gx-machine-panel :is(.gx-top,.gx-bottom,.gx-actions,.gx-lower,.gx-options,.gacha-footer,.gx-pool-group){display:contents!important}
 body.identity-v2:not(.mobile-web) #modal#modal#modal[data-identity="gacha"] .gx-id-kinds{grid-column:1;grid-row:1 / 4;display:grid;align-content:start;gap:10px}
 body.identity-v2:not(.mobile-web) #modal#modal#modal[data-identity="gacha"] .gacha-stage{grid-column:2;grid-row:1;position:relative!important;inset:auto!important;width:100%!important;height:100%!important;min-height:0!important;margin:0!important;border:1px solid #1f6f90!important;border-radius:14px!important;overflow:hidden!important;
  background:url("../../assets/ui/identity/gc_scene.jpg?v=1") center/cover no-repeat,#06101c!important;box-shadow:inset 0 0 0 1px #07182a,0 0 16px #0a8fbf55!important}
 body.identity-v2:not(.mobile-web) #modal#modal#modal[data-identity="gacha"] .gacha-region{grid-column:2;grid-row:1;align-self:start;justify-self:center;z-index:6;margin-top:12px;padding:7px 26px;border:1px solid #2ddc9a;border-radius:18px;background:#06241f;color:#d8ffe9;font:800 17px/1 Arial,sans-serif;letter-spacing:.05em;text-transform:uppercase}
 body.identity-v2:not(.mobile-web) #modal#modal#modal[data-identity="gacha"] .gacha-summary{grid-column:2;grid-row:1}
 body.identity-v2:not(.mobile-web) #modal#modal#modal[data-identity="gacha"] .gacha-rolls{grid-column:2;grid-row:2;align-self:stretch;display:flex;align-items:center;justify-content:space-around;margin:0!important;padding:0 14px!important;border:1px solid #1f6f90!important;border-radius:12px!important;background:linear-gradient(180deg,#0b2036,#07121f)!important;color:#fff;font:600 15px/1 Arial,sans-serif}
 body.identity-v2:not(.mobile-web) #modal#modal#modal[data-identity="gacha"] .gx-pity{grid-column:2;grid-row:3;position:relative!important;inset:auto!important;width:auto!important;height:auto!important;margin:0!important;display:grid!important;align-content:center;justify-items:center;gap:6px;padding:4px 70px;border:1px solid #1f6f90!important;border-radius:12px!important;background:linear-gradient(180deg,#0b2036,#07121f)!important}
 body.identity-v2:not(.mobile-web) #modal#modal#modal[data-identity="gacha"] .gx-pity .gacha-pity{order:-1;margin:0;color:#ffd978;font:800 18px/1 Arial,sans-serif;text-align:center}
 body.identity-v2:not(.mobile-web) #modal#modal#modal[data-identity="gacha"] .gx-pity::after{content:attr(data-count);position:absolute;right:16px;bottom:8px;color:#fff;font:700 15px/1 Arial,sans-serif}
 body.identity-v2:not(.mobile-web) #modal#modal#modal[data-identity="gacha"] .gx-pity-bar{display:block!important;position:relative!important;width:100%!important;height:12px!important;border:1px solid #f4c35a;border-radius:6px;background:#06121f;overflow:hidden}
 body.identity-v2:not(.mobile-web) #modal#modal#modal[data-identity="gacha"] .gx-pity-fill{display:block;height:100%;background:linear-gradient(90deg,#f4c35a,#fff0a8);border-radius:6px}
 body.identity-v2:not(.mobile-web) #modal#modal#modal[data-identity="gacha"] .gx-crowns{display:none!important}
 /* the machine: g_1's glass globe (gc_machine.png) over the scene; its old layers are off */
 body.identity-v2:not(.mobile-web) #modal#modal#modal[data-identity="gacha"] .gx-machine-wrap{position:absolute!important;left:50%!important;bottom:3%!important;width:min(88%,640px)!important;height:auto!important;aspect-ratio:728/400;margin:0 0 0 calc(min(88%,640px) / -2)!important;z-index:1}
 body.identity-v2:not(.mobile-web) #modal#modal#modal[data-identity="gacha"] .gx-machine-wrap>.gx-machine{display:block!important;position:absolute!important;inset:0!important;width:100%!important;height:100%!important;object-fit:contain;filter:drop-shadow(0 0 18px #2aa7d688)}
 body.identity-v2:not(.mobile-web) #modal#modal#modal[data-identity="gacha"] .gx-machine-wrap>:is(.gx-sprite,.gx-globe,.gx-slot){display:none!important}
 body.identity-v2:not(.mobile-web) #modal#modal#modal[data-identity="gacha"] .gacha-stage:is([data-phase="waiting"],[data-step="churn"],[data-step="pause"]) .gx-machine-wrap>.gx-machine{animation:gx-id-tumble .42s ease-in-out infinite!important}
 body.identity-v2:not(.mobile-web) #modal#modal#modal[data-identity="gacha"] .gacha-stage:is([data-step="drop"],[data-step="shake"],[data-step="flash"]) .gx-machine-wrap>.gx-machine{animation:gx-id-settle 1.2s ease-out both!important}
 @keyframes gx-id-tumble{0%{transform:translate(0,0) rotate(0);filter:drop-shadow(0 0 18px #2aa7d688)}25%{transform:translate(-5px,2px) rotate(-.9deg);filter:drop-shadow(0 0 28px #ffd35caa) brightness(1.12)}50%{transform:translate(4px,-3px) rotate(.8deg)}75%{transform:translate(-3px,-1px) rotate(-.5deg);filter:drop-shadow(0 0 26px #ff7ad0aa) brightness(1.1)}100%{transform:translate(0,0) rotate(0)}}
 @keyframes gx-id-settle{0%{filter:drop-shadow(0 0 30px #ffd35ccc) brightness(1.18)}100%{filter:drop-shadow(0 0 18px #2aa7d688)}}
 /* the left list */
 body.identity-v2:not(.mobile-web) #modal .gx-id-kind{position:relative;display:grid;align-content:center;justify-items:start;gap:3px;box-sizing:border-box;height:78px;padding:0 100px 0 86px;color:#fff;background-size:100% 100%;background-repeat:no-repeat}
 body.identity-v2:not(.mobile-web) #modal .gx-id-kind>b{font:800 18px/1.1 Arial,sans-serif;letter-spacing:.02em;text-transform:uppercase}
 body.identity-v2:not(.mobile-web) #modal .gx-id-kind>small{font:700 13px/1 Arial,sans-serif;color:#ffd978;text-transform:uppercase}
 body.identity-v2:not(.mobile-web) #modal .gx-id-kind.reg{background-image:url("../../assets/ui/identity/gc_kind_reg.png?v=1");box-shadow:0 0 16px #f4c35a66}
 body.identity-v2:not(.mobile-web) #modal .gx-id-kind.leg{background-image:url("../../assets/ui/identity/gc_kind_leg.png?v=1")}
 body.identity-v2:not(.mobile-web) #modal .gx-id-kind.shi{background-image:url("../../assets/ui/identity/gc_kind_shi.png?v=1")}
 body.identity-v2:not(.mobile-web) #modal .gx-id-kind.epi{background-image:url("../../assets/ui/identity/gc_kind_epi.png?v=1")}
 body.identity-v2:not(.mobile-web) #modal .gx-id-kind.tem{background-image:url("../../assets/ui/identity/gc_kind_tem.png?v=1")}
 body.identity-v2:not(.mobile-web) #modal .gx-id-kind.soon{height:72px;opacity:.72;filter:saturate(.8)}
 body.identity-v2:not(.mobile-web) #modal .gx-id-kind.soon>small{color:#bcd4e8}
 body.identity-v2:not(.mobile-web) #modal .gx-id-kind-art{position:absolute;right:6px;bottom:2px;height:96px;width:auto;max-width:110px;object-fit:contain;filter:drop-shadow(0 3px 5px #000a)}
 /* the right column */
 body.identity-v2:not(.mobile-web) #modal#modal#modal[data-identity="gacha"] .gx-id-right{grid-column:3;grid-row:1 / 4;display:flex;flex-direction:column;gap:12px;min-height:0}
 body.identity-v2:not(.mobile-web) #modal#modal#modal[data-identity="gacha"] .gx-wallet{position:relative!important;inset:auto!important;width:auto!important;height:auto!important;margin:0!important;display:flex!important;align-items:center;justify-content:center;gap:16px;padding:12px 16px;border:1px solid #1f8fb8!important;border-radius:14px!important;background:linear-gradient(180deg,#0b2036,#07121f)!important;box-shadow:0 0 12px #0a8fbf55!important}
 body.identity-v2:not(.mobile-web) #modal#modal#modal[data-identity="gacha"] .gx-wallet .gacha-left{display:block;color:#ffd978;font:800 34px/1 Arial,sans-serif}
 body.identity-v2:not(.mobile-web) #modal#modal#modal[data-identity="gacha"] .gx-wallet-label{color:#fff;font:700 15px/1 Arial,sans-serif;letter-spacing:.04em}
 body.identity-v2:not(.mobile-web) #modal .gx-id-rates{flex:0 0 auto;padding:12px 12px 14px;border:1px solid #1f6f90;border-radius:14px;background:linear-gradient(180deg,#0b2036,#07121f);box-shadow:inset 0 0 0 1px #07182a}
 body.identity-v2:not(.mobile-web) #modal .gx-id-rates>h3{display:flex;align-items:center;justify-content:center;gap:10px;margin:0 0 10px;color:#fff;font:800 17px/1 Arial,sans-serif;letter-spacing:.03em;text-transform:uppercase}
 body.identity-v2:not(.mobile-web) #modal .gx-id-rates>h3>i{display:grid;place-items:center;width:20px;height:20px;border:2px solid #cfe8f5;border-radius:50%;font:700 12px/1 Georgia,serif;font-style:normal}
 body.identity-v2:not(.mobile-web) #modal .gx-id-rate-list{display:grid;gap:6px;margin:0;padding:0;list-style:none}
 body.identity-v2:not(.mobile-web) #modal .gx-id-rate{display:flex;align-items:center;gap:10px;height:38px;padding:0 12px;border:1px solid #1d3a52;border-radius:9px;background:#071626;font:700 16px/1 Arial,sans-serif}
 body.identity-v2:not(.mobile-web) #modal .gx-id-rate>i{flex:0 0 22px;font-style:normal;text-align:center}
 body.identity-v2:not(.mobile-web) #modal .gx-id-rate>span{flex:1 1 auto}
 body.identity-v2:not(.mobile-web) #modal .gx-id-rate>b{color:#fff;font-weight:700}
 body.identity-v2:not(.mobile-web) #modal .gx-id-rate-legendary{border-color:#f4c35a;color:#ffd978;background:linear-gradient(90deg,#2a2410,#071626)}
 body.identity-v2:not(.mobile-web) #modal .gx-id-rate-epic{color:#c78cff}
 body.identity-v2:not(.mobile-web) #modal .gx-id-rate-rare{color:#4fc3ff}
 body.identity-v2:not(.mobile-web) #modal .gx-id-rate-uncommon{color:#58e07a}
 body.identity-v2:not(.mobile-web) #modal .gx-id-rate-common{color:#d8e4ee}
 body.identity-v2:not(.mobile-web) #modal#modal#modal[data-identity="gacha"] .gacha-pool{position:relative!important;inset:auto!important;flex:0 0 auto;width:auto!important;height:56px!important;margin:0!important;display:flex!important;align-items:center;justify-content:center;gap:10px;border:1px solid #2aa7d6!important;border-radius:12px!important;background:linear-gradient(180deg,#0f2b44,#071626)!important;color:#fff!important;font:800 15px/1 Arial,sans-serif!important;text-transform:uppercase}
 /* the bottom bar */
 body.identity-v2:not(.mobile-web) #modal#modal#modal[data-identity="gacha"] .gx-id-bar{grid-column:1 / 4;grid-row:4;display:flex;align-items:center;justify-content:space-between;gap:18px;padding:0 18px;border:1px solid #1f6f90;border-radius:14px;background:linear-gradient(180deg,#0b2036,#07121f)}
 body.identity-v2:not(.mobile-web) #modal#modal#modal[data-identity="gacha"] .gx-id-bar>*{position:relative!important;inset:auto!important;margin:0!important}
 body.identity-v2:not(.mobile-web) #modal#modal#modal[data-identity="gacha"] .gx-qty{display:flex!important;align-items:center;gap:10px;width:auto!important;height:auto!important;border:0!important;background:none!important;box-shadow:none!important}
 body.identity-v2:not(.mobile-web) #modal#modal#modal[data-identity="gacha"] .gx-qty-title{color:#fff;font:700 14px/1.1 Arial,sans-serif;text-transform:uppercase;max-width:110px}
 body.identity-v2:not(.mobile-web) #modal#modal#modal[data-identity="gacha"] .gacha-qty{width:84px!important;height:52px!important;border:1px solid #1f8fb8!important;border-radius:10px!important;background:#06182a!important;color:#fff!important;font:800 22px/1 Arial,sans-serif!important}
 body.identity-v2:not(.mobile-web) #modal#modal#modal[data-identity="gacha"] .gacha-qty[aria-pressed="true"]{border-color:#f4c35a!important;background:#2a2410!important;box-shadow:inset 0 0 0 1px #f4c35a!important;color:#ffd978!important}
 body.identity-v2:not(.mobile-web) #modal#modal#modal[data-identity="gacha"] .gacha-main{flex:0 0 auto;width:330px!important;height:70px!important;display:flex!important;align-items:center;justify-content:center;gap:12px;border:2px solid #f4c35a!important;border-radius:14px!important;background:linear-gradient(180deg,#a3182f,#5a0c1a)!important;color:#fff!important;box-shadow:inset 0 0 0 1px #ff8a8a55,0 0 16px #ff5a6488!important;clip-path:none!important}
 body.identity-v2:not(.mobile-web) #modal#modal#modal[data-identity="gacha"] .gacha-main .gx-gem{display:none!important}
 body.identity-v2:not(.mobile-web) #modal#modal#modal[data-identity="gacha"] .gacha-main .gx-main-label{font:900 28px/1 Arial,sans-serif!important;letter-spacing:.04em;text-transform:uppercase}
 body.identity-v2:not(.mobile-web) #modal#modal#modal[data-identity="gacha"] .gacha-main .gx-main-cost{font:700 14px/1 Arial,sans-serif;text-transform:uppercase}
 body.identity-v2:not(.mobile-web) #modal#modal#modal[data-identity="gacha"] .gacha-skip-toggle{width:auto!important;height:44px!important;display:flex!important;align-items:center;gap:10px;padding:0 16px!important;border:1px solid #1f8fb8!important;border-radius:22px!important;background:#06182a!important;color:#fff!important;font:700 14px/1 Arial,sans-serif!important;text-transform:uppercase}
 body.identity-v2:not(.mobile-web) #modal#modal#modal[data-identity="gacha"] .gacha-skip{width:auto!important;height:44px!important;padding:0 16px!important;border:1px solid #1f8fb8!important;border-radius:10px!important;background:#06182a!important;color:#fff!important;font:700 14px/1 Arial,sans-serif!important}
 body.identity-v2:not(.mobile-web) #modal#modal#modal[data-identity="gacha"] .gacha-close{width:170px!important;height:52px!important;border:2px solid #2aa7d6!important;border-radius:10px!important;background:linear-gradient(180deg,#0f2b44,#071626)!important;color:#fff!important;font:800 20px/1 Arial,sans-serif!important;text-transform:uppercase}
 body.identity-v2:not(.mobile-web) #modal#modal#modal[data-identity="gacha"] .gacha-note{display:none!important}
 body.identity-v2:not(.mobile-web) #modal#modal#modal[data-identity="gacha"] :is(.gacha-qty,.gacha-main,.gacha-skip-toggle,.gacha-skip,.gacha-close,.gacha-pool):is(:hover:not(:disabled),:focus-visible){filter:brightness(1.2);outline:0}
 /* the pool list keeps its own panel, in the identity's colours */
 body.identity-v2:not(.mobile-web) #modal#modal#modal[data-identity="gacha"] .gx-pool-panel{position:relative!important;width:100%!important;height:100%!important;overflow:auto;background:none!important}
}
/* round 2: beat the old sheet's !important (columns, hidden machine) and centre the title in its plate */
@media screen and (min-width:901px){
 body.identity-v2:not(.mobile-web) #modal#modal#modal#modal[data-identity="gacha"] .gx-machine-panel{grid-template-columns:268px minmax(0,1fr) 292px!important;grid-template-rows:minmax(0,1fr) 54px 62px 96px!important;gap:10px 18px!important;padding:0!important;justify-items:stretch!important}
 body.identity-v2:not(.mobile-web) #modal#modal#modal#modal[data-identity="gacha"] .gx-machine-wrap>.gx-machine{visibility:visible!important;display:block!important;opacity:1!important}
 body.identity-v2:not(.mobile-web) #modal#modal#modal#modal#modal#modal#modal#modal#modal[data-identity="gacha"] #modal-title{align-self:center!important;height:auto!important}
}
/* round 3: the panel stops above the foot band, the old absolute pieces are made static, the region pill centred on the scene */
@media screen and (min-width:901px){
 body.identity-v2:not(.mobile-web) #modal#modal#modal#modal#modal#modal[data-identity="gacha"] .gx-machine-panel{height:calc(var(--win-hpx,992px) / var(--win-s,1) - 240px)!important}
 body.identity-v2:not(.mobile-web) #modal#modal#modal#modal#modal#modal[data-identity="gacha"] .gacha-region{position:absolute!important;left:calc(268px + 18px + (100% - 268px - 292px - 36px) / 2)!important;top:22px!important;transform:translateX(-50%);margin:0!important}
 body.identity-v2:not(.mobile-web) #modal#modal#modal#modal#modal#modal[data-identity="gacha"] .gx-wallet{height:90px!important;min-height:90px}
 body.identity-v2:not(.mobile-web) #modal#modal#modal#modal#modal#modal[data-identity="gacha"] .gx-wallet :is(img,div,strong,span){position:static!important;inset:auto!important;transform:none!important}
 body.identity-v2:not(.mobile-web) #modal#modal#modal#modal#modal#modal[data-identity="gacha"] .gx-wallet img{width:70px!important;height:auto!important}
 body.identity-v2:not(.mobile-web) #modal#modal#modal#modal#modal#modal[data-identity="gacha"] .gx-wallet div{display:grid;justify-items:center;gap:4px}
 body.identity-v2:not(.mobile-web) #modal#modal#modal#modal#modal#modal[data-identity="gacha"] .gacha-rolls{position:relative!important;inset:auto!important;width:auto!important;height:auto!important;display:flex!important;visibility:visible!important;opacity:1!important}
 body.identity-v2:not(.mobile-web) #modal#modal#modal#modal#modal#modal[data-identity="gacha"] .gacha-rolls :is(.gx-roll,.gx-sep){position:static!important;color:#fff;font:600 15px/1 Arial,sans-serif}
 body.identity-v2:not(.mobile-web) #modal#modal#modal#modal#modal#modal[data-identity="gacha"] .gx-pity{display:grid!important;grid-template-columns:minmax(0,1fr)!important;position:relative!important}
 body.identity-v2:not(.mobile-web) #modal#modal#modal#modal#modal#modal[data-identity="gacha"] .gx-pity>*{position:static!important;inset:auto!important}
 body.identity-v2:not(.mobile-web) #modal#modal#modal#modal#modal#modal[data-identity="gacha"] .gx-pity-bar{width:100%!important;height:12px!important}
 body.identity-v2:not(.mobile-web) #modal#modal#modal#modal#modal#modal[data-identity="gacha"] .gx-pity .gacha-pity{position:static!important;width:auto!important;transform:none!important;text-align:center!important;display:block!important}
}
/* round 4: the quantity buttons, the draw plate, the skip switch, the pity bar and the ticket icon */
@media screen and (min-width:901px){
 body.identity-v2:not(.mobile-web) #modal#modal#modal#modal#modal#modal#modal[data-identity="gacha"] .gx-id-bar .gx-qty{display:flex!important;visibility:visible!important;opacity:1!important;position:relative!important;flex:0 0 auto}
 body.identity-v2:not(.mobile-web) #modal#modal#modal#modal#modal#modal#modal[data-identity="gacha"] .gx-id-bar .gacha-qty{display:grid!important;place-items:center;visibility:visible!important;opacity:1!important;position:relative!important;color:#fff!important}
 body.identity-v2:not(.mobile-web) #modal#modal#modal#modal#modal#modal#modal[data-identity="gacha"] .gx-id-bar .gx-qty-title{display:block!important;visibility:visible!important;position:static!important}
 body.identity-v2:not(.mobile-web) #modal#modal#modal#modal#modal#modal#modal[data-identity="gacha"] .gx-pity{justify-self:stretch!important;width:auto!important;padding:6px 90px 8px!important}
 body.identity-v2:not(.mobile-web) #modal#modal#modal#modal#modal#modal#modal[data-identity="gacha"] .gx-pity-bar{display:block!important;visibility:visible!important;grid-row:2}
 body.identity-v2:not(.mobile-web) #modal#modal#modal#modal#modal#modal#modal[data-identity="gacha"] .gx-wallet img.gx-ticket{display:block!important;visibility:visible!important;opacity:1!important;width:64px!important;height:auto!important;transform:rotate(-8deg)!important}
 body.identity-v2:not(.mobile-web) #modal#modal#modal#modal#modal#modal#modal[data-identity="gacha"] .gacha-main{display:grid!important;grid-template-columns:auto 1fr;grid-template-areas:"tk label" "tk cost";column-gap:14px;row-gap:3px;align-content:center;justify-items:start;padding:0 26px!important;text-align:left}
 body.identity-v2:not(.mobile-web) #modal#modal#modal#modal#modal#modal#modal[data-identity="gacha"] .gacha-main .gx-main-ticket{grid-area:tk;display:block!important;visibility:visible!important;position:static!important;width:48px!important;height:auto!important;transform:rotate(-10deg)}
 body.identity-v2:not(.mobile-web) #modal#modal#modal#modal#modal#modal#modal[data-identity="gacha"] .gacha-main .gx-main-label{grid-area:label;position:static!important;align-self:end}
 body.identity-v2:not(.mobile-web) #modal#modal#modal#modal#modal#modal#modal[data-identity="gacha"] .gacha-main .gx-main-cost{grid-area:cost;position:static!important;align-self:start;color:#ffe9a8}
 body.identity-v2:not(.mobile-web) #modal#modal#modal#modal#modal#modal#modal[data-identity="gacha"] .gacha-skip-toggle .gx-glyph{display:inline-block!important;position:relative!important;flex:0 0 46px;width:46px!important;height:24px!important;border:1px solid #cfe8f5;border-radius:12px;background:#0b1c2e;font-size:0!important;color:transparent}
 body.identity-v2:not(.mobile-web) #modal#modal#modal#modal#modal#modal#modal[data-identity="gacha"] .gacha-skip-toggle .gx-glyph::after{content:"";position:absolute;left:3px;top:2px;width:18px;height:18px;border-radius:50%;background:#e8f2fb}
 body.identity-v2:not(.mobile-web) #modal#modal#modal#modal#modal#modal#modal[data-identity="gacha"] .gacha-skip-toggle[aria-pressed="true"] .gx-glyph{background:#2a2410;border-color:#f4c35a}
 body.identity-v2:not(.mobile-web) #modal#modal#modal#modal#modal#modal#modal[data-identity="gacha"] .gacha-skip-toggle[aria-pressed="true"] .gx-glyph::after{left:25px;background:#ffd978}
}
/* round 5: the quantity buttons lose the old sheet's offsets */
@media screen and (min-width:901px){
 body.identity-v2:not(.mobile-web) #modal#modal#modal#modal#modal#modal#modal#modal[data-identity="gacha"] .gx-id-bar .gacha-qty{inset:auto!important;top:auto!important;left:auto!important;right:auto!important;bottom:auto!important;margin:0!important;transform:none!important}
 body.identity-v2:not(.mobile-web) #modal#modal#modal#modal#modal#modal#modal#modal[data-identity="gacha"] .gx-id-bar .gx-qty{inset:auto!important;top:auto!important;left:auto!important;margin:0!important;transform:none!important}
}
/* review round (coordinator 11-10): pity medallion + counter, no extra PULAR, the ball grows out of the globe, one title plate over the scene */
@media screen and (min-width:901px){
 /* 5. the header is the scene itself: only the gold plate sits on it */
 body.identity-v2:not(.mobile-web) #modal#modal#modal#modal#modal#modal#modal#modal#modal#modal[data-identity="gacha"]>.modal-header{border:0!important;box-shadow:none!important;
  background:url("../../assets/ui/identity/rl_title_clean.png?v=1") center 8px/auto 112px no-repeat,url("../../assets/ui/identity/gc_scene.jpg?v=1") center top/cover no-repeat,#07121f!important}
 body.identity-v2:not(.mobile-web) #modal#modal#modal#modal#modal#modal#modal#modal#modal#modal[data-identity="gacha"]>.modal-header::before,body.identity-v2:not(.mobile-web) #modal#modal#modal#modal#modal#modal#modal#modal#modal#modal[data-identity="gacha"]>.modal-header::after{content:none!important;display:none!important}
 /* 3. only the switch: a skip during a reveal is the stage's own tap */
 body.identity-v2:not(.mobile-web) #modal#modal#modal#modal#modal#modal#modal[data-identity="gacha"] .gacha-skip{display:none!important}
 /* 2. the pity plate: the crown medallion on the left, the gold fill, the counter on the right */
 body.identity-v2:not(.mobile-web) #modal#modal#modal#modal#modal#modal#modal#modal[data-identity="gacha"] .gx-pity{padding:6px 110px 8px 96px!important}
 body.identity-v2:not(.mobile-web) #modal#modal#modal#modal#modal#modal#modal#modal[data-identity="gacha"] .gx-pity::before{content:"♛";position:absolute;left:30px;top:50%;width:46px;height:46px;margin-top:-23px;display:grid;place-items:center;border:2px solid #f4c35a;border-radius:50%;background:radial-gradient(circle at 50% 35%,#2a2410,#07121f);color:#ffd978;font:700 24px/1 Arial,sans-serif;box-shadow:0 0 12px #f4c35a66}
 body.identity-v2:not(.mobile-web) #modal#modal#modal#modal#modal#modal#modal#modal[data-identity="gacha"] .gx-pity::after{right:28px!important;bottom:auto!important;top:50%;margin-top:-4px;font:800 16px/1 Arial,sans-serif!important}
 body.identity-v2:not(.mobile-web) #modal#modal#modal#modal#modal#modal#modal#modal[data-identity="gacha"] .gx-pity-bar{height:14px!important;border-width:2px!important;box-shadow:inset 0 0 6px #000a,0 0 8px #f4c35a44}
 body.identity-v2:not(.mobile-web) #modal#modal#modal#modal#modal#modal#modal#modal[data-identity="gacha"] .gx-pity-fill{min-width:10px;background:linear-gradient(180deg,#fff0a8,#f4c35a 55%,#a56a10)!important}
 /* 4. the ball rises from inside the globe, grows in front of it and glows */
 body.identity-v2:not(.mobile-web) #modal#modal#modal#modal#modal#modal#modal#modal#modal#modal[data-identity="gacha"] .gacha-stage[data-phase][data-step] .gx-machine-wrap>.gacha-ball{left:50%!important;top:44%!important;width:21%!important;margin:-10.5% 0 0 -10.5%!important;z-index:4!important;transform-origin:50% 50%;filter:drop-shadow(0 0 calc(var(--gx-glow,1.1) * 1rem) var(--gacha-color,#ffd35c))}
 body.identity-v2:not(.mobile-web) #modal#modal#modal#modal#modal#modal#modal#modal#modal#modal[data-identity="gacha"] .gacha-stage[data-phase="reveal"][data-step="drop"] .gx-machine-wrap>.gacha-ball{animation:gx-id-grow var(--gx-drop-ms,2600ms) cubic-bezier(.3,.1,.2,1) both!important}
 body.identity-v2:not(.mobile-web) #modal#modal#modal#modal#modal#modal#modal#modal#modal#modal[data-identity="gacha"] .gacha-stage[data-phase="reveal"]:is([data-step="shake"],[data-step="flash"],[data-step="open"]) .gx-machine-wrap>.gacha-ball{transform:translateY(34%) scale(1.75)}
 body.identity-v2:not(.mobile-web) #modal#modal#modal#modal#modal#modal#modal#modal#modal#modal[data-identity="gacha"] .gx-machine-wrap>.gx-chute-ball{display:none!important}
 @keyframes gx-id-grow{0%{opacity:0;transform:translateY(0) scale(.22)}14%{opacity:1;transform:translateY(-4%) scale(.3)}45%{opacity:1;transform:translateY(6%) scale(.9)}100%{opacity:1;transform:translateY(34%) scale(1.75)}}
}
/* review round 2: pity medallion and counter, the long draw label, a smaller grown ball */
@media screen and (min-width:901px){
 body.identity-v2:not(.mobile-web) #modal#modal#modal#modal#modal#modal#modal#modal#modal[data-identity="gacha"] .gx-pity::before{display:grid!important;visibility:visible!important;z-index:2}
 body.identity-v2:not(.mobile-web) #modal#modal#modal#modal#modal#modal#modal#modal#modal[data-identity="gacha"] .gx-pity::after{display:block!important;visibility:visible!important;content:attr(data-count)!important;position:absolute!important;z-index:2;color:#fff}
 body.identity-v2:not(.mobile-web) #modal#modal#modal#modal#modal#modal#modal#modal#modal[data-identity="gacha"] .gx-pity-bar{width:100%!important;min-width:0}
 body.identity-v2:not(.mobile-width) #modal#modal#modal#modal#modal#modal#modal#modal#modal[data-identity="gacha"] .gacha-main[data-long] .gx-main-label{font-size:21px!important;white-space:nowrap}
 body.identity-v2:not(.mobile-web) #modal#modal#modal#modal#modal#modal#modal#modal#modal[data-identity="gacha"] .gacha-main[data-long] .gx-main-label{font-size:21px!important;white-space:nowrap;overflow:visible!important;text-overflow:clip!important}
 body.identity-v2:not(.mobile-web) #modal#modal#modal#modal#modal#modal#modal#modal#modal#modal[data-identity="gacha"] .gacha-stage[data-phase="reveal"]:is([data-step="shake"],[data-step="flash"],[data-step="open"]) .gx-machine-wrap>.gacha-ball{transform:translateY(26%) scale(1.3)}
 @keyframes gx-id-grow{0%{opacity:0;transform:translateY(0) scale(.22)}14%{opacity:1;transform:translateY(-4%) scale(.3)}45%{opacity:1;transform:translateY(6%) scale(.8)}100%{opacity:1;transform:translateY(26%) scale(1.3)}}
}
/* review round 3: the medallion and the plain bar ends */
@media screen and (min-width:901px){
 body.identity-v2:not(.mobile-web) #modal#modal#modal#modal#modal#modal#modal#modal#modal#modal[data-identity="gacha"] .gx-pity::before{content:"♛"!important;position:absolute!important;left:30px!important;top:50%!important;width:46px!important;height:46px!important;margin-top:-23px!important;display:grid!important;place-items:center;border:2px solid #f4c35a!important;border-radius:50%!important;background:radial-gradient(circle at 50% 35%,#2a2410,#07121f)!important;color:#ffd978!important;font:700 24px/1 Arial,sans-serif!important}
 body.identity-v2:not(.mobile-web) #modal#modal#modal#modal#modal#modal#modal#modal#modal#modal[data-identity="gacha"] .gx-pity-bar::before,body.identity-v2:not(.mobile-web) #modal#modal#modal#modal#modal#modal#modal#modal#modal#modal[data-identity="gacha"] .gx-pity-bar::after{content:none!important;display:none!important}
 body.identity-v2:not(.mobile-web) #modal#modal#modal#modal#modal#modal#modal#modal#modal#modal[data-identity="gacha"] .gx-pity-bar{border-radius:7px!important;clip-path:none!important;background:#06121f!important}
}
/* Work-ID 20261111-gacha-anim-2e7a (zenux 11-10 23:11): the whole night scene of g_1 behind every panel (gc_bg.jpg: the castle, the moon, the waterfalls, the banners, the cherry trees, the Pikachu, the blue-flame pedestals; the panels and the
   machine wiped from it), no foot band (g_1 has none), the balls moving inside the empty globe (gacha_globe.js, the canvas), the chosen ball falling out of the BASE's medallion, then growing forward and glowing. */
@media screen and (min-width:901px){
 body.identity-v2:not(.mobile-web) #modal#modal#modal#modal#modal#modal#modal#modal#modal#modal[data-identity="gacha"]{background:url("../../assets/ui/identity/gc_bg.jpg?v=1") center/cover no-repeat,#07121f!important}
 body.identity-v2:not(.mobile-web) #modal#modal#modal#modal#modal#modal#modal#modal#modal#modal[data-identity="gacha"]::after{display:none!important;content:none!important}
 body.identity-v2:not(.mobile-web) #modal#modal#modal#modal#modal#modal#modal#modal#modal#modal[data-identity="gacha"]>.modal-header{background:url("../../assets/ui/identity/rl_title_clean.png?v=1") center 8px/auto 112px no-repeat!important}
 body.identity-v2:not(.mobile-web) #modal#modal#modal#modal#modal#modal#modal#modal#modal#modal[data-identity="gacha"]>#modal-body{background:none!important;padding:10px 24px 22px!important}
 body.identity-v2:not(.mobile-web) #modal#modal#modal#modal#modal#modal#modal#modal#modal#modal[data-identity="gacha"] .gx-machine-panel{height:calc(var(--win-hpx,992px) / var(--win-s,1) - 164px)!important}
 body.identity-v2:not(.mobile-web) #modal#modal#modal#modal#modal#modal#modal#modal#modal#modal[data-identity="gacha"] .gacha-stage{background:none!important;border:0!important;box-shadow:none!important;border-radius:0!important;overflow:visible!important}
 body.identity-v2:not(.mobile-web) #modal#modal#modal#modal#modal#modal#modal#modal#modal#modal[data-identity="gacha"] .gx-machine-wrap{left:11.5%!important;width:81.4%!important;top:17.7%!important;bottom:auto!important;margin:0!important}
 body.identity-v2:not(.mobile-web) #modal#modal#modal#modal#modal#modal#modal#modal#modal#modal[data-identity="gacha"] .gx-machine-wrap>.gx-machine{animation:none!important}
 body.identity-v2:not(.mobile-web) #modal#modal#modal#modal#modal#modal#modal#modal#modal#modal[data-identity="gacha"] .gacha-stage:is([data-phase="waiting"],[data-step="churn"],[data-step="pause"]) .gx-machine-wrap>.gx-machine{animation:gx-id-glow .9s ease-in-out infinite!important}
 body.identity-v2:not(.mobile-web) #modal#modal#modal#modal#modal#modal#modal#modal#modal#modal[data-identity="gacha"] .gacha-stage:is([data-step="drop"],[data-step="shake"],[data-step="flash"]) .gx-machine-wrap>.gx-machine{animation:none!important}
 @keyframes gx-id-glow{0%,100%{filter:drop-shadow(0 0 18px #2aa7d688)}50%{filter:drop-shadow(0 0 30px #ffd35caa) brightness(1.1)}}
 /* the balls of the pile and the glass's shine: two canvases over the empty globe (the globe's square in the machine picture) */
 body.identity-v2:not(.mobile-web) #modal#modal#modal#modal#modal#modal#modal#modal#modal#modal[data-identity="gacha"] .gx-machine-wrap>canvas{position:absolute!important;left:28.16%;top:4.25%;width:41.2%;height:75%;display:block;pointer-events:none}
 body.identity-v2:not(.mobile-web) #modal#modal#modal#modal#modal#modal#modal#modal#modal#modal[data-identity="gacha"] .gx-machine-wrap>canvas.gx-globe-fx{z-index:2}
 body.identity-v2:not(.mobile-web) #modal#modal#modal#modal#modal#modal#modal#modal#modal#modal[data-identity="gacha"] .gx-machine-wrap>canvas.gx-globe-glass{z-index:3}
 body.identity-v2:not(.mobile-web) #modal#modal#modal#modal#modal#modal#modal#modal#modal#modal[data-identity="gacha"] .gx-machine-wrap>:is(.gx-sprite,.gx-globe,.gx-gsparks){display:none!important}
 /* the medallion of the base glows in the colour of the ball while it is chosen */
 body.identity-v2:not(.mobile-web) #modal#modal#modal#modal#modal#modal#modal#modal#modal#modal[data-identity="gacha"] .gx-machine-wrap>.gx-slot{display:block!important;position:absolute!important;inset:auto!important;left:48.8%!important;top:75.5%!important;width:15%!important;height:auto!important;aspect-ratio:1;margin:-7.5% 0 0 -7.5%!important;border-radius:50%;background:radial-gradient(circle,var(--gacha-color,#ffd35c) 0,transparent 68%)!important;opacity:0;z-index:2;pointer-events:none;transform:none!important;animation:none!important}
 body.identity-v2:not(.mobile-web) #modal#modal#modal#modal#modal#modal#modal#modal#modal#modal[data-identity="gacha"] .gacha-stage:is([data-step="pause"],[data-step="drop"]) .gx-machine-wrap>.gx-slot{opacity:.85;animation:gx-id-pulse 1s ease-in-out infinite!important}
 @keyframes gx-id-pulse{0%,100%{opacity:.5}50%{opacity:.95}}
 /* the drawn ball: out of the base (drop), forward and glowing (shake), then the flash */
 body.identity-v2:not(.mobile-web) #modal#modal#modal#modal#modal#modal#modal#modal#modal#modal[data-identity="gacha"][data-win-mode] .gacha-stage[data-phase][data-step] .gx-machine-wrap>.gacha-ball{position:absolute!important;left:48.8%!important;top:75.5%!important;width:25.4%!important;height:auto!important;margin:-12.7% 0 0 -12.7%!important;z-index:5!important;opacity:0;transform:translateY(0) scale(.18);transform-origin:50% 50%;animation:none!important;filter:drop-shadow(0 0 .4rem var(--gacha-color,#ffd35c));pointer-events:none}
 body.identity-v2:not(.mobile-web) #modal#modal#modal#modal#modal#modal#modal#modal#modal#modal[data-identity="gacha"][data-win-mode] .gacha-stage[data-phase="reveal"][data-step="drop"] .gx-machine-wrap>.gacha-ball{animation:gx-id-out var(--gx-drop-ms,1500ms) cubic-bezier(.4,0,.6,1) both!important}
 body.identity-v2:not(.mobile-web) #modal#modal#modal#modal#modal#modal#modal#modal#modal#modal[data-identity="gacha"][data-win-mode] .gacha-stage[data-phase="reveal"][data-step="shake"] .gx-machine-wrap>.gacha-ball{animation:gx-id-grow var(--gx-shake-ms,1500ms) ease-in-out both!important}
 body.identity-v2:not(.mobile-web) #modal#modal#modal#modal#modal#modal#modal#modal#modal#modal[data-identity="gacha"][data-win-mode] .gacha-stage[data-phase="reveal"]:is([data-step="flash"],[data-step="open"]) .gx-machine-wrap>.gacha-ball{opacity:1;transform:translateY(-23%) scale(1);filter:drop-shadow(0 0 calc(var(--gx-glow,1.1) * 1.6rem) var(--gacha-color,#ffd35c))}
 @keyframes gx-id-out{0%{opacity:0;transform:translateY(-6%) scale(.14)}14%{opacity:1;transform:translateY(0) scale(.2)}62%{opacity:1;transform:translateY(34%) scale(.4)}78%{opacity:1;transform:translateY(28%) scale(.4)}100%{opacity:1;transform:translateY(40%) scale(.42)}}
 @keyframes gx-id-grow{0%{opacity:1;transform:translateY(40%) scale(.42) rotate(0);filter:drop-shadow(0 0 .5rem var(--gacha-color,#ffd35c))}50%{opacity:1;transform:translateY(-4%) scale(.8) rotate(0)}62%{opacity:1;transform:translateY(-23%) scale(1) rotate(0);filter:drop-shadow(0 0 calc(var(--gx-glow,1.1) * 1.4rem) var(--gacha-color,#ffd35c))}72%{transform:translateY(-23%) scale(1) rotate(-9deg)}82%{transform:translateY(-23%) scale(1) rotate(8deg)}91%{transform:translateY(-23%) scale(1) rotate(-5deg)}100%{opacity:1;transform:translateY(-23%) scale(1) rotate(0);filter:drop-shadow(0 0 calc(var(--gx-glow,1.1) * 1.8rem) var(--gacha-color,#ffd35c))}}
 /* the panels let the scene show through; the bottom bar leaves the Pikachu its corner */
 body.identity-v2:not(.mobile-web) #modal#modal#modal#modal#modal#modal#modal#modal#modal#modal[data-identity="gacha"] :is(.gx-wallet,.gx-id-rates,.gacha-rolls,.gx-pity,.gx-id-bar){background:linear-gradient(180deg,rgba(11,32,54,.84),rgba(7,18,31,.88))!important}
 body.identity-v2:not(.mobile-web) #modal#modal#modal#modal#modal#modal#modal#modal#modal#modal[data-identity="gacha"] .gx-id-bar{margin-left:200px!important}
}
@media screen and (min-width:901px){ body.identity-v2:not(.mobile-web) #modal#modal#modal#modal#modal#modal#modal#modal#modal#modal[data-identity="gacha"] .gacha-stage>.gx-ring{display:none!important} }
