/* Chosen Armor v5.0 · Junior Friends & Money Games · Poppins / premium non-neon glass */
#caa2-root .caa2-b11-hall-actions{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:17px 0}
#caa2-root .caa2-b11-hall-actions button{border:1px solid #d7e9ff;border-radius:20px;min-height:78px;background:linear-gradient(135deg,#e5f5ff,#d8e4ff);color:#153e82;font:700 16px Poppins,sans-serif;box-shadow:0 7px 20px #10275530;cursor:pointer;padding:10px}
#caa2-root .caa2-b11-hall-actions button:nth-child(2){background:linear-gradient(130deg,#dbf6e3,#a9e2cb);color:#125b43}
#caa2-root .caa2-b11-hall-actions button:nth-child(3){background:linear-gradient(130deg,#fff4d4,#ffd999);color:#70410f}
#caa2-root .caa2-unlock-intro{display:flex;gap:16px;align-items:center;border-radius:25px;padding:16px 20px;background:linear-gradient(135deg,#edf7ffdf,#ebdeffbc)}
#caa2-root .caa2-unlock-intro>div{flex:1;min-width:0}#caa2-root .caa2-unlock-intro h2{font-size:clamp(21px,4vw,35px);margin:5px 0;color:#0e316c}
#caa2-root .caa2-unlock-intro span{font-weight:800;color:#3162b1;font-size:12px}#caa2-root .caa2-unlock-intro p{font-size:14px;color:#304e78}
#caa2-root .caa2-unlock-intro>img{width:clamp(62px,11vw,135px);height:145px;object-fit:contain;flex:0 0 auto}
#caa2-root .caa2-unlock-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(185px,1fr));gap:14px;margin:16px 0}
#caa2-root .caa2-unlock-card{border:2px solid #ffffffa3;border-radius:23px;background:linear-gradient(150deg,#f7fcffea,#d9eaffdd);padding:14px;text-align:center;box-shadow:0 12px 27px #123d7433;min-width:0;display:flex;flex-direction:column;align-items:center;gap:7px}
#caa2-root .caa2-unlock-card:nth-child(3n+2){background:linear-gradient(150deg,#fff9e4,#fce2b5)}#caa2-root .caa2-unlock-card:nth-child(3n+3){background:linear-gradient(150deg,#f8f0ff,#e4d1fb)}
#caa2-root .caa2-unlock-card.selected{border-color:#2e86d9;box-shadow:0 0 0 4px #bce8ff,0 12px 25px #123d742b}
#caa2-root .caa2-unlock-picture{width:100%;min-height:102px;display:grid;place-items:center;border-radius:17px;background:radial-gradient(circle at 50% 30%,#fff 0,#f3f9ff88 50%,#d9eeff44 100%)}
#caa2-root .caa2-unlock-picture img{height:98px!important;width:100%!important;object-fit:contain!important;position:static!important;max-width:130px}
#caa2-root .caa2-friend-emoji{font-size:72px;line-height:1.3;filter:drop-shadow(0 7px 6px #183e6b26)}
#caa2-root .caa2-unlock-card h3{font:bold 17px Poppins,sans-serif;color:#102d67;margin:0}#caa2-root .caa2-unlock-card p{margin:0;font-size:12px;line-height:1.45;color:#516a87;flex:1}
#caa2-root .caa2-unlock-card>span{font-weight:700;color:#205aa0;font-size:13px}#caa2-root .caa2-unlock-card button{min-height:43px!important;font-size:13px!important;margin:4px 0 0;width:100%;border-radius:14px!important}
#caa2-root .caa2-friend-choices{display:flex;gap:10px;flex-wrap:wrap;padding:6px 0 18px}#caa2-root .caa2-friend-choices button{background:#113b79;color:white;font:700 13px Poppins;border:0;border-radius:15px;padding:14px;min-height:45px}
#caa2-root .caa2-unlock-parent{padding:20px;margin:16px 0;border:1px solid #cbdcf9;border-radius:25px;background:linear-gradient(150deg,#fff,#eaf1ff)}
#caa2-root .caa2-unlock-parent h2,#caa2-root .caa2-unlock-parent h3{color:#0e306b}#caa2-root .caa2-unlock-parent>header p{color:#516785}
#caa2-root .caa2-unlock-request{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:12px;border-radius:14px;background:#f3eaff;margin:8px 0}
#caa2-root .caa2-unlock-request div{display:flex;gap:6px}#caa2-root .caa2-unlock-request button{border:0;border-radius:12px;padding:9px;background:#1a7b59;color:white;font:bold 12px Poppins;min-height:42px}#caa2-root .caa2-unlock-request button:last-child{background:#f3d4d4;color:#80303c}
#caa2-root .caa2-unlock-manage-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(225px,1fr));gap:10px}
#caa2-root .caa2-unlock-price-form{display:grid;grid-template-columns:38px minmax(0,1fr) auto;gap:7px;align-items:center;padding:10px;background:white;border:1px solid #dbe6f8;border-radius:17px;font-size:13px}
#caa2-root .caa2-unlock-manage-icon{font-size:27px;grid-row:span 2}#caa2-root .caa2-unlock-price-form strong{color:#123467;overflow-wrap:anywhere}
#caa2-root .caa2-unlock-price-form label{font-size:12px;display:flex;align-items:center;gap:4px}#caa2-root .caa2-unlock-price-form input[type=number]{width:60px;padding:4px;border-radius:8px;border:1px solid #9ebae5;font:600 13px Poppins;color:#173a7a}
#caa2-root .caa2-unlock-price-form button{grid-column:2/4;min-height:36px;border:0;border-radius:11px;background:#2278ce;color:white;font:700 12px Poppins}
/* A completely fixed gameplay viewport, with an always accessible exit. */
body.caa2-playing #caa2-root .caa2-world>.caa2-money-focus{display:flex!important}
#caa2-root .caa2-money-focus{display:flex;flex-direction:column;gap:10px;width:100%;height:100%;min-height:0;color:#102f65;font-family:Poppins,sans-serif}
#caa2-root .caa2-money-top{display:flex;align-items:center;justify-content:space-between;gap:8px;flex:0 0 auto;padding:4px 5px;color:white}
#caa2-root .caa2-money-top button{border-radius:14px;background:#154a94;color:white;border:2px solid #deeeff;min-height:50px;padding:7px 15px;font:700 clamp(12px,1.7vw,19px) Poppins,sans-serif}
#caa2-root .caa2-money-top strong{font-size:clamp(13px,2.4vw,25px);color:#fff;text-shadow:0 2px 8px #061e53}
#caa2-root .caa2-money-top span{font-weight:800;font-size:15px;color:white}
#caa2-root .caa2-money-stage{flex:1 1 auto;min-height:0;background:linear-gradient(145deg,#fbfdfff0,#eaf5ffed);border:2px solid white;border-radius:25px;padding:clamp(10px,2vh,20px);display:flex;flex-direction:column;align-items:center;justify-content:space-around;gap:8px;overflow:hidden;box-shadow:0 10px 26px #183c7240}
#caa2-root .caa2-money-score{width:100%;display:flex;justify-content:space-between;gap:5px;font-weight:900;font-size:clamp(12px,2vw,20px);color:#1c5fad}#caa2-root .caa2-money-score span{font-weight:500;font-size:clamp(10px,1.5vw,13px);color:#62759b}
#caa2-root .caa2-vending-machine{width:min(640px,100%);flex:1;min-height:0;display:flex;flex-direction:column;justify-content:space-around;gap:10px;align-items:stretch;background:linear-gradient(145deg,#276fc0,#0d4288);border-radius:25px;padding:clamp(12px,2vw,22px);border:5px solid #c2eaff;box-shadow:inset 0 0 0 2px #9fd4ff,0 9px 15px #12245b47;color:white}
#caa2-root .caa2-vending-display{display:flex;gap:15px;align-items:center;padding:12px;background:#e9faff;border:3px solid #8dc5fa;border-radius:18px;color:#123a78;min-height:0;flex:1}
#caa2-root .caa2-vending-display .caa2-vend-emoji{font-size:clamp(52px,11vh,105px)}#caa2-root .caa2-vending-display div{display:flex;flex-direction:column;gap:4px}#caa2-root .caa2-vending-display strong{font-size:clamp(18px,4vw,29px)}
#caa2-root .caa2-vend-meter{display:flex;align-items:center;justify-content:space-between;font-size:clamp(14px,2vw,20px);font-weight:700}#caa2-root .caa2-vend-meter strong{font-size:clamp(20px,4vw,32px);color:#ffdb78}
#caa2-root .caa2-vend-coins{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}#caa2-root .caa2-vend-coins button{min-height:clamp(64px,12vh,116px);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:1px;background:linear-gradient(130deg,#ffeeb6,#efb64c);color:#65410b;border:3px solid #fff3d4;border-radius:50%;font-weight:900;font-size:clamp(20px,3vw,31px);box-shadow:0 5px 9px #041c5d33}
#caa2-root .caa2-vend-coins button small{font-size:clamp(9px,1.5vw,13px)}#caa2-root .caa2-vend-buttons{display:grid;grid-template-columns:1fr 1fr;gap:10px}#caa2-root .caa2-vend-buttons button,#caa2-root .caa2-money-result button{min-height:clamp(48px,9vh,78px);border:0;border-radius:16px;background:white;color:#144789;font:800 clamp(13px,2vw,20px) Poppins;box-shadow:0 4px 7px #00194444}
#caa2-root .caa2-vend-buttons .caa2-money-submit{background:linear-gradient(115deg,#44bf7c,#18865a);color:white}
#caa2-root .caa2-cashier-puzzle{width:min(750px,100%);flex:1;min-height:0;display:flex;flex-direction:column;align-items:center;justify-content:space-around;gap:8px}
#caa2-root .caa2-cashier-item{display:flex;align-items:center;justify-content:center;flex-direction:column;gap:8px;font-size:clamp(50px,13vh,108px);width:100%;background:#e0f6ff;border-radius:19px;padding:12px;flex:1;min-height:0}#caa2-root .caa2-cashier-item strong{font-size:clamp(15px,2.3vw,24px)}
#caa2-root .caa2-cashier-paid{font-size:clamp(17px,2vw,26px);font-weight:700}#caa2-root .caa2-cashier-paid b{color:#0e8b57}#caa2-root .caa2-cashier-puzzle h2{font-size:clamp(16px,2.4vw,24px);margin:0;text-align:center}
#caa2-root .caa2-cashier-answers{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px;width:100%}#caa2-root .caa2-cashier-answers button{min-height:clamp(64px,11vh,99px);background:linear-gradient(155deg,#fce59c,#f8bb52);color:#543904;border:2px solid white;border-radius:18px;font:900 clamp(12px,2.1vw,23px) Poppins}
#caa2-root .caa2-money-feedback{font:700 13px Poppins;color:#284d83;min-height:21px;margin:0}
#caa2-root .caa2-money-bottom{display:flex;align-items:center;justify-content:space-between;gap:10px;flex:0 0 auto;color:#fff;text-shadow:0 1px 5px #102753}
#caa2-root .caa2-money-bottom button{border:1px solid white;border-radius:12px;color:#193d80;background:white;min-height:45px;padding:6px 15px;font:800 14px Poppins}
#caa2-root .caa2-money-result{display:flex;flex-direction:column;align-items:center;gap:10px}#caa2-root .caa2-money-result img{max-height:25vh;object-fit:contain}#caa2-root .caa2-money-result button{padding:8px 22px}
#caa2-root .caa2-costume-royal{border-color:#f8cf67!important;box-shadow:inset 0 0 0 3px #e9b445!important}#caa2-root .caa2-costume-forest{border-color:#64c18e!important}#caa2-root .caa2-costume-starlight{border-color:#9a85f3!important}
@media(max-width:600px){#caa2-root .caa2-b11-hall-actions{grid-template-columns:1fr}#caa2-root .caa2-b11-hall-actions button{min-height:57px}#caa2-root .caa2-unlock-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}#caa2-root .caa2-unlock-card{padding:8px}#caa2-root .caa2-unlock-picture{min-height:80px}#caa2-root .caa2-unlock-intro>img{width:65px;height:88px}#caa2-root .caa2-unlock-intro p{font-size:12px}#caa2-root .caa2-unlock-request{flex-direction:column;align-items:stretch}#caa2-root .caa2-money-top strong{font-size:12px}#caa2-root .caa2-money-stage{border-radius:16px}#caa2-root .caa2-cashier-answers{grid-template-columns:repeat(2,1fr)}#caa2-root .caa2-cashier-answers button{min-height:56px}#caa2-root .caa2-money-bottom span{font-size:11px}}
@media(max-height:570px){#caa2-root .caa2-money-stage{padding:6px}#caa2-root .caa2-vending-machine{padding:6px;border-width:3px;gap:4px}#caa2-root .caa2-vend-coins button{min-height:48px}#caa2-root .caa2-vending-display .caa2-vend-emoji{font-size:37px}#caa2-root .caa2-vend-buttons button{min-height:40px}#caa2-root .caa2-money-score{font-size:12px}#caa2-root .caa2-cashier-item{font-size:44px;padding:3px}#caa2-root .caa2-money-top button{min-height:38px}#caa2-root .caa2-money-bottom button{min-height:35px}}
/* Keep the focused game fully inside iOS Safari/PWA safe viewport. */
body.caa2-playing #caa2-root .caa2-money-focus{box-sizing:border-box!important;width:100%!important;max-width:calc(100vw - 16px)!important;max-height:calc(100dvh - 24px)!important;margin:0 auto!important;overflow:hidden!important}
@media(max-width:600px),(max-height:800px){body.caa2-playing #caa2-root .caa2-money-bottom{display:none!important}}
