/* Collectible shopping powers: one held slot, one use button. */
.power-slot{position:absolute;right:var(--edge);top:calc(var(--safe-top) + 63px);width:218px;z-index:5;pointer-events:none;display:grid;grid-template-columns:34px 1fr;gap:2px 7px;padding:8px 10px;border:2px solid var(--power-color,#d9e7c6);border-radius:9px;background:#153a35f2;color:#fff6d4;box-shadow:3px 4px 0 #08251d40}
.power-slot #power-icon{grid-row:1/4;align-self:center;font-size:26px;font-weight:900;color:var(--power-color)}.power-slot #power-name{font-size:11px;letter-spacing:.4px}.power-slot #power-detail{font-size:9px;line-height:1.3;color:#d3e3cb}.power-slot #power-key{font-size:8px;font-weight:900;color:var(--power-color);letter-spacing:.8px}.power-slot[data-held=true]{background:#17322fee;border-width:3px}.power-slot[data-held=true] #power-name{color:var(--power-color)}main:not(.in-match) .power-slot{display:none!important}
#touch-use{width:62px;height:62px;border:2px solid #b7d3af;border-radius:18px;background:#29483d;color:#e7f4d7;box-shadow:0 3px #152e28;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;touch-action:none;font-size:9px;padding:3px;letter-spacing:0;pointer-events:auto}#touch-use b{font-size:10px}#touch-use span{font-size:8px}#touch-use.power-ready{background:#edc86f;color:#403820;border-color:#fff1bd}#touch-use[data-power=wrap].power-ready{background:#8adce5;color:#174e60;border-color:#d5ffff}#touch-use[data-power=coupon].power-ready{background:#efa6d1;color:#6b2e50;border-color:#ffdaef}.power-lobby-note{padding:7px 9px;border:1px solid #8ca989;border-radius:6px;background:#e5edca;color:#355840;font-size:10px;line-height:1.3;text-align:left;margin:8px 0}.power-lobby-note b{color:#304b35}.power-lobby-note span{display:block;margin-top:2px}
@media(min-width:601px){.touch-device .action-buttons{position:relative;width:150px;height:100px;align-items:flex-end;justify-content:flex-end}.touch-device #touch-use{position:absolute;left:0;top:-12px}.touch-device #touch-brace{position:absolute;left:0;bottom:-5px}.touch-device #touch-ram{position:absolute;right:0;bottom:0}.touch-device .power-slot{max-width:200px}}
@media(min-width:601px) and (max-width:999px){.power-slot{top:calc(var(--safe-top) + 101px);width:180px;padding:5px 7px;grid-template-columns:25px 1fr}.power-slot #power-name{font-size:9px}.power-slot #power-detail{font-size:8px}.power-slot #power-icon{font-size:23px}}
@media(max-width:600px){.power-slot{top:calc(var(--safe-top) + 87px);left:var(--edge);right:var(--edge);width:auto;min-height:31px;padding:3px 7px;grid-template-columns:22px auto 1fr;gap:1px 5px;border-width:1px;border-radius:5px;box-shadow:none}.power-slot #power-icon{grid-column:1;grid-row:1/3;font-size:20px}.power-slot #power-name{grid-column:2;font-size:8px;white-space:nowrap;align-self:center}.power-slot #power-key{grid-column:2;font-size:7px;letter-spacing:.1px}.power-slot #power-detail{grid-column:3;grid-row:1/3;font-size:8px;align-self:center;line-height:1.25}.power-slot[data-held=true]{border-width:2px}.action-buttons{position:relative;width:125px;height:70px;display:block!important}.action-buttons #touch-use{position:absolute;left:0;top:-35px;width:55px;height:49px;border-radius:14px}.action-buttons #touch-brace{position:absolute;left:0;bottom:0;width:49px;height:49px}.action-buttons #touch-ram{position:absolute;right:0;bottom:0}.feedback-row{left:85px;width:calc(100% - 230px);font-size:7px}.power-lobby-note{font-size:9px}}
@media(max-width:360px){.power-slot #power-detail{font-size:7px}.power-slot #power-name{font-size:7.5px}.action-buttons{width:117px}.action-buttons #touch-use{width:51px}.action-buttons #touch-ram{width:58px;height:58px}.feedback-row{display:none!important}}
@media(min-width:601px) and (max-height:450px){.power-slot{top:calc(var(--safe-top) + 53px);width:173px;padding:4px 6px}.power-slot #power-detail{font-size:7px}.power-slot #power-name{font-size:9px}}

.rally-guide{grid-column:1/-1;font-size:9px;font-weight:900;color:#ddf5ac;line-height:1.25;padding:3px 0 5px;letter-spacing:.2px}.final-score b>small{display:block;font-size:10px;font-weight:700;letter-spacing:0}@media(max-width:600px){.rally-guide{font-size:7px;letter-spacing:0;padding:2px 0 4px}.cargo-tray:has(.rally-guide:not([hidden])) #hot-list{display:none}}

/* Three distinct actions stay below cargo, never over the inventory. */
@media(max-width:600px){.action-buttons{width:176px;height:66px;display:flex!important;align-items:center;justify-content:flex-end;gap:5px}.action-buttons #touch-use,.action-buttons #touch-brace,.action-buttons #touch-ram{position:static;flex:none}.action-buttons #touch-use{width:51px;height:51px}.action-buttons #touch-brace{width:49px;height:49px}.action-buttons #touch-ram{width:61px;height:61px}.feedback-row{position:absolute!important;left:-10000px!important;width:1px!important;height:1px!important;overflow:hidden!important;display:block!important}.power-slot #power-detail{font-size:7.5px}}

/* Two coupon identities remain readable without animation, audio or color. */
.power-slot[data-power=coupon] #power-icon{font-size:17px;letter-spacing:-1px}
#touch-use[data-power=goldCoupon].power-ready{background:#ffe173;color:#593700;border-color:#fff2b8}
#touch-use[data-power=goldCoupon] b,#touch-use[data-power=coupon] b{font-size:8px;white-space:nowrap}
.cargo-item[data-shopping=half]{box-shadow:inset 0 0 0 1px #ff98b1}.cargo-item[data-shopping=half] i{color:#ffb3c6}
.cargo-item[data-shopping=double]{box-shadow:inset 0 0 0 1px #fbd367}.cargo-item[data-shopping=double] i{color:#ffe391}
.storefront-build .power-mini i:nth-child(3){font-size:16px;background:#ff9baa}.storefront-build .power-mini i:nth-child(4){font-size:18px;background:#ffdb60;transform:rotate(-6deg)}
@media(max-width:600px){.power-slot[data-power=coupon] #power-icon{font-size:12px;letter-spacing:-.7px}}
