/* Extensions use the original camp's cream, sage and gold UI. */
.meta-bar{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:0 13px 4px;min-height:25px;font-size:12px;color:#7a886b;flex:none}.meta-bar button{background:transparent;display:flex;align-items:center;gap:4px;color:#637451}.gem-balance svg{height:21px;width:21px}.gem-balance b{font-size:16px;color:#496a58}.gem-balance span{background:#e1e8d1;border-radius:50%;width:18px;height:18px}.test-marker{color:#ae793e!important}.squad-bar{padding-top:0}.squad-slots .squad-slot{min-height:49px}.squad-slot svg{width:23px;height:23px;margin:auto}.squad-slot b{font-size:12px}.squad-slot small{font-size:11px}.squad-slot{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;border-radius:11px;background:#f5f4e7;border:1px dashed #d3d8bc;color:#7d8b6b;gap:2px;padding:4px 2px}.squad-slot.is-draft{background:#eaf0d7;border:2px solid #8e9e65;color:#3d5b39}.squad-slot.is-active{background:#e9efdc;border:1px solid #b9c79b;color:#506d42}.squad-slot.locked{opacity:.45}.bottom-nav button{gap:5px}.bottom-nav strong{font-size:14px}.view{scrollbar-width:thin;scrollbar-color:#ccd6ba transparent}.forge-view .scene-shell{min-height:150px}.tile>img{height:78%;width:78%;object-fit:contain}.choice-art img{width:100%;height:100%;object-fit:contain}.choice-art{background:#e1e8cc}.choice small{font-size:13px;min-height:40px;margin-top:12px;color:#586d4b;padding:0 3px}.choice b{font-size:16px}.choice{min-height:182px;justify-content:flex-start;padding-top:17px}.buff-white{border:2px solid #e2e5d7}.buff-blue{border:2px solid #8cbbd1;box-shadow:0 4px 0 #b4cbd2;background:linear-gradient(#f6fbf5,#e6edf0)}.buff-gold{border:2px solid #e0b85f;box-shadow:0 4px 0 #d6bd7b;background:linear-gradient(#fff9df,#efe3b6)}.refresh-button:not(.mother-btn){margin:19px auto 0;display:block;padding:10px 18px;min-height:40px}.draft-panel{justify-content:flex-start;padding-top:9px}.draft-title{margin-bottom:13px}.scene-feedback{pointer-events:none}.scene-head,.scene-foot{pointer-events:none}.adventure-scene{position:relative;min-height:320px;height:clamp(330px,51dvh,490px)}.adventure-overlay{pointer-events:none}.adventure-overlay button{pointer-events:auto}.speed-button{position:absolute;bottom:13px;right:13px;background:#f7e5b4f5;border:2px solid #c4a76a;box-shadow:0 3px 0 #a98f56;border-radius:13px;min-height:42px;min-width:49px;font-size:25px;color:#6f653f}.scene-shell canvas{display:block;width:100%;height:100%}.launch-view .scene-shell{flex:1;min-height:220px}.launch-heading{padding-top:13px}.launch-heading h2{font-size:28px}.departure-heading{padding-top:8px}.building-icon img,.building-tip-icon img{width:100%;height:100%;object-fit:contain}.building-header{position:relative;display:flex;align-items:center;gap:9px;width:100%;padding:0;background:none;text-align:left}.building-header h3{font-size:18px}.building-header small{font-size:13px;color:#82916d}.building:not(.camp-building-card){position:relative;min-width:0}.building:not(.camp-building-card) p{font-size:13px;line-height:1.5;min-height:39px;margin:9px 0}.building:not(.camp-building-card)>.primary:not(.mother-btn),.building:not(.camp-building-card)>.secondary:not(.mother-btn){width:100%;min-height:40px;margin-top:11px;border-radius:11px;font-size:14px}.building:not(.camp-building-card) .loot-values{gap:4px}.building:not(.camp-building-card) .loot-value{gap:2px;font-size:12px}.building:not(.camp-building-card) .loot-value svg{width:17px;height:17px}.seven-camp{padding:0 10px 15px}.seven-map{position:relative;aspect-ratio:760/930;height:auto!important;border-radius:24px;overflow:hidden;margin-bottom:13px;min-height:400px}.seven-map canvas{position:absolute;inset:0;width:100%;height:100%}.seven-map .map-squads{position:absolute;bottom:8px;left:10px;right:10px;z-index:3;gap:14px}.seven-map .map-squad{width:100%;background:transparent;min-width:0}.seven-map .map-squad>span{width:47px;height:47px;border:2px solid #fffae1;background:#f2cd79e6;box-shadow:0 3px 0 #8d7f4d;border-radius:50%;margin:auto;display:grid;place-items:center}.seven-map .map-squad svg{width:29px;height:29px}.seven-map .map-squad b{display:block;font-size:12px;margin-top:4px;text-shadow:0 1px #fff7df}.seven-map .map-squad.locked{opacity:.45}.camp-building-hit:focus-visible{outline:2px dashed #a98e49!important;border-radius:20px}.camp-mode .hud{background:#e4e8ce}.camp-mode .meta-bar{background:#e4e8ce}.builder-strip{display:flex;align-items:center;justify-content:space-between;gap:8px;font-size:14px;margin:8px 2px 13px}.builder-strip button{font-size:12px;color:#7a815d;background:#ecebd6;border-radius:10px;padding:9px}.build-progress{height:6px;background:#e5e7d6;border-radius:4px;overflow:hidden}.build-progress i{display:block;height:100%;background:#a0b979}.patrol-claim{display:flex;align-items:center;justify-content:space-between;gap:5px;background:#f3e8be;border:1px solid #dccc9d;width:100%;border-radius:14px;padding:10px;margin-bottom:12px;font-weight:700;font-size:13px}.patrol-claim .loot-values{gap:6px}.patrol-claim .loot-value{font-size:13px}.patrol-claim .loot-value svg{width:18px;height:18px}.building-benefits .benefit-head{grid-template-columns:1fr 1fr}.building-benefits .benefit-row{grid-template-columns:1fr 1fr;gap:12px;min-height:65px}.building-benefits b,.building-benefits strong{font-size:14px;line-height:1.6}.construction-big{text-align:center;padding:18px}.construction-big b{font-size:32px;display:block}.construction-big span{font-size:13px;color:#7a8868}.speed-actions,.rest-options{display:grid;gap:10px;margin-top:17px}.speed-actions button,.rest-options button{min-height:44px;padding:9px;font-size:14px}.building-tip-note{margin:12px 0}.deck-heading,.collection-heading{display:flex;align-items:center;justify-content:space-between;margin:4px 0 12px}.deck-heading h2{font-size:20px}.deck-heading small,.collection-heading small{color:#81906f}.deck-slots{display:grid;grid-template-columns:repeat(3,1fr);gap:9px;margin-bottom:17px}.deck-slot{position:relative;border:2px solid #bac89d;background:linear-gradient(#e9efd8,#d8e4bb);border-radius:15px;min-height:120px;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:3px;touch-action:none}.deck-slot img{width:87px;height:87px;object-fit:contain;filter:drop-shadow(0 2px 0 #516b3a20)}.deck-slot b{font-size:12px;line-height:1.3;padding:3px}.deck-slot>svg{width:30px}.chest-row{display:grid;grid-template-columns:repeat(3,1fr);gap:6px;margin-bottom:14px}.chest-chip{display:flex;align-items:center;flex-direction:column;background:#f3f1dd;border:1px solid #d8d9bd;box-shadow:0 3px 0 #d8dbc3;border-radius:12px;padding:10px 3px 8px}.chest-chip svg{width:45px;height:39px}.chest-chip strong{font-size:12px;margin:5px 0}.chest-chip small{font-size:11px;color:#81916d;font-variant-numeric:tabular-nums}.boss-chest{display:flex;gap:12px;align-items:center;justify-content:center;padding:8px;width:100%;border-radius:12px;background:#f5e4ae;font-size:15px;font-weight:bold;margin-bottom:14px}.boss-chest svg{width:33px;height:29px}.collection-heading{margin-top:23px}.collection-heading h3{font-size:18px}.unit-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.unit-card{border:1px solid #cfd7b9;border-radius:16px;background:#fffdf1;overflow:hidden;box-shadow:0 3px 0 #dce1c9;padding:8px}.unit-show{padding:0;width:100%;background:none;position:relative;touch-action:pan-y}.unit-portrait{display:block;border-radius:12px;background:radial-gradient(ellipse at center,#e2ecd1,#f1f3e3 75%);overflow:hidden}.unit-portrait img{width:100%;aspect-ratio:1;object-fit:contain;animation:portrait-breathe 3.8s ease-in-out infinite}.unit-card.rarity-rare{border-color:#9cbfc8}.unit-card.rarity-epic{border-color:#bba9d2}.rarity-rare .unit-portrait{background:radial-gradient(ellipse,#cde3e6,#eaf2ed 75%)}.rarity-epic .unit-portrait{background:radial-gradient(ellipse,#e3d9ee,#f2edf4 75%)}.unit-card h3{font-size:15px;margin:8px 0 4px;line-height:1.3}.unit-card small{font-size:12px;color:#85916f}.unit-card.is-locked .unit-portrait img{filter:brightness(.3) grayscale(1);opacity:.35;animation:none}.unit-card.is-locked{background:#f0f0e2}.unit-card>button{width:100%;position:relative;min-height:37px;border-radius:9px;font-size:13px;margin-top:7px}.shard-meter{height:20px;border-radius:6px;background:#e9edd9;margin-top:8px;position:relative;overflow:hidden}.shard-meter i{height:100%;display:block;background:#bbce99}.shard-meter span{position:absolute;inset:0;text-align:center;font-size:12px;line-height:20px;color:#587042;font-weight:bold}.unit-detail-art{height:175px;background:radial-gradient(ellipse,#e4eacf,transparent 72%);display:grid;place-items:center;margin:-10px 0 5px}.unit-detail-art img{height:180px;width:180px;object-fit:contain;animation:portrait-breathe 3.5s infinite ease-in-out}.unit-stats{display:grid;grid-template-columns:1fr 1fr;gap:1px;background:#dbe1c9;border-radius:12px;overflow:hidden;margin:16px 0}.unit-stats>span{background:#eff1e2;padding:11px;font-size:12px;color:#82916e}.unit-stats b{display:block;color:#3f5c43;margin-top:5px;font-size:15px}.unit-skill{font-size:14px;line-height:1.75;margin:9px 0}.spawn-rank{color:#947b3d;background:#f8edc9;border-radius:10px;padding:10px;font-size:13px;margin:12px 0}.assign-row{display:grid;grid-template-columns:repeat(3,1fr);gap:7px;margin:12px 0}.assign-row button{padding:10px 3px;border-radius:10px;font-size:12px}.report-cards{display:flex;gap:5px;justify-content:center;flex-wrap:wrap;margin:15px 0}.report-cards span{position:relative;width:48px;height:58px;background:#edf0d8;border-radius:9px}.report-cards img{width:45px;height:45px;object-fit:contain}.report-cards b{font-size:12px;position:absolute;bottom:0;right:4px}.report-row{position:relative;width:100%;background:#f0f1df;border-radius:12px;padding:12px;margin:5px 0;text-align:left}.report-row .loot-values{margin-top:8px}.shop-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:12px;margin-top:18px}.shop-product{border:1px solid #d2d9bc;border-radius:14px;display:flex;align-items:center;flex-direction:column;gap:8px;background:#f1f3e3;padding:15px 7px}.shop-product svg{width:35px;height:35px}.shop-product b{font-size:15px}.shop-product small{font-size:11px;line-height:1.4}.shop-product strong{color:#5c774c;background:#dbe6bd;border-radius:9px;padding:7px 20px}.prototype-note{font-size:12px;color:#80906f;margin:10px 0;line-height:1.6}.reward-card{margin:15px auto;display:flex;flex-direction:column;align-items:center;background:radial-gradient(ellipse,#e8e3bc,transparent 70%);animation:reward-reveal .7s cubic-bezier(.2,1.3,.3,1)}.reward-card img{width:210px;height:210px;object-fit:contain}.reward-card strong{font-size:21px;margin:7px}.reward-card b{font-size:30px;color:#8b824a}.reward-card.new-unit{background:radial-gradient(ellipse,#fff1a5,#f4e8c580,transparent 72%)}.ad-demo{display:flex;flex-direction:column;align-items:center;gap:10px;padding:35px}.ad-demo svg{width:65px;height:65px}.ad-demo strong{font-size:48px}.demo-tools{margin-top:20px;border-top:1px solid #dde2cb;padding-top:13px}.demo-tools summary{font-size:13px;color:#85916f;cursor:pointer}.demo-tools p{font-size:12px;margin:10px 0;line-height:1.6}.demo-links{display:grid;grid-template-columns:1fr 1fr;gap:8px}.demo-links a{border-radius:10px;background:#e8edd7;padding:11px;color:#526b43;text-decoration:none;font-size:13px;text-align:center}.recommend{display:inline-block;color:#9a7935;background:#f3e1a8;padding:2px 5px;margin-top:4px;font-size:10px;border-radius:5px}.seven-camp .buildings{gap:11px}.cards-view:not(.mother-view){padding:12px 13px 20px}#dragGhost{position:fixed;pointer-events:none;z-index:99;width:85px;height:85px;transform:translate(-50%,-50%);border:2px solid #e0bc5f;border-radius:15px;background:#f0ecd4db;box-shadow:0 8px 20px #38503455}#dragGhost img{height:100%;width:100%;object-fit:contain}#dialog:not(.mother-modal){max-height:90dvh}#dialogBody:not(.mother-body)>h2{font-size:22px;line-height:1.3;margin-right:20px}#dialogBody:not(.mother-body)>p{line-height:1.7;margin:10px 0}#dialogBody:not(.mother-body)>.wide{margin-top:14px}#dialog:not(.mother-modal) .close{z-index:3}.language-options{margin:16px 0}.toast{z-index:1000}.launch-heading .launch-banner svg{width:40px;height:40px}.scene-shell{background:#dce6c1}.camp-mode .view.seven-camp{padding-top:0}.app:lang(en) .unit-card h3{font-size:13px;min-height:33px}.app:lang(en) .choice b{font-size:13px}.app:lang(en) .choice small{font-size:11px}.app:lang(en) .deck-slot b{font-size:11px}.app:lang(en) .building-header h3{font-size:16px}@keyframes portrait-breathe{0%,100%{transform:translateY(0) rotate(-.6deg) scale(.995)}50%{transform:translateY(-2px) rotate(.6deg) scale(1.01)}}@keyframes reward-reveal{0%{transform:scale(.65);opacity:0}100%{transform:scale(1);opacity:1}}@media(max-height:740px){.forge-view .scene-shell{min-height:135px}.meta-bar{min-height:21px}.board{--tile:clamp(45px,calc((100dvh - 210px)/8),63px)}.choice{min-height:158px;padding-top:11px}.choice small{font-size:12px;margin-top:8px}.choice-art{width:43px;height:43px}.refresh-button:not(.mother-btn){margin-top:12px}.draft-title h2{font-size:21px}.seven-map{min-height:375px}}@media(max-width:350px){.deck-slot{min-height:103px}.deck-slot img{width:70px;height:70px}.unit-grid{gap:9px}.unit-card h3{font-size:13px}.building-header{gap:5px}.building-header h3{font-size:16px}.building-icon{width:40px;height:40px}.choice small{font-size:11px}.resource b{font-size:14px}.resource small{font-size:9px}.chest-chip strong{font-size:11px}.unit-stats b{font-size:13px}}@media(prefers-reduced-motion:reduce){.unit-portrait img,.unit-detail-art img{animation:none}}

#dialog:not(.mother-modal).new-unit-reveal{width:min(100vw,460px);height:100dvh;max-height:100dvh;max-width:100vw;border-radius:0;background:radial-gradient(ellipse at 50% 42%,#fff5bd,#f7f7e8 70%);padding:38px 26px}#dialog:not(.mother-modal).new-unit-reveal #dialogBody:not(.mother-body){min-height:85dvh;display:flex;flex-direction:column;justify-content:center;text-align:center}#dialog:not(.mother-modal).new-unit-reveal .reward-card img{width:min(70vw,300px);height:min(70vw,300px)}.loading-dots{text-align:center;font-size:35px;letter-spacing:10px;padding:25px;color:#78945f;animation:portrait-breathe 1s infinite}
