.acggc{--ink:#18152b;--muted:#77718f;--line:rgba(88,67,145,.14);--glass:rgba(255,255,255,.8);font-family:Inter,"PingFang SC","Microsoft YaHei",sans-serif;color:var(--ink);max-width:1180px;margin:24px auto;padding:18px;background:radial-gradient(circle at 10% 0%,#efe8ff 0,transparent 36%),radial-gradient(circle at 100% 10%,#e2f3ff 0,transparent 38%),#faf9ff;border-radius:28px;box-sizing:border-box}.acggc *{box-sizing:border-box}.acggc-hero{min-height:350px;padding:56px;display:grid;grid-template-columns:1.5fr .7fr;align-items:center;gap:24px;background:linear-gradient(135deg,rgba(48,36,86,.96),rgba(104,79,173,.9));border-radius:24px;color:#fff;overflow:hidden;position:relative}.acggc-hero h1{font-size:clamp(42px,7vw,84px);line-height:1;margin:10px 0 20px}.acggc-hero p{max-width:660px;color:rgba(255,255,255,.8);font-size:17px}.acggc-kicker{font-size:11px;letter-spacing:.18em;text-transform:uppercase;font-weight:800;opacity:.75}.acggc-orb{width:220px;height:220px;border:1px solid rgba(255,255,255,.25);border-radius:50%;display:grid;place-items:center;margin:auto;box-shadow:0 0 0 28px rgba(255,255,255,.04),0 0 0 58px rgba(255,255,255,.025)}.acggc-orb span{font-size:88px;text-shadow:0 0 40px #fff}.acggc-actions,.acggc-card-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:20px}.acggc-btn{appearance:none;border:1px solid var(--line);border-radius:13px;padding:11px 17px;background:rgba(255,255,255,.9);color:var(--ink);font-weight:750;cursor:pointer;text-decoration:none;transition:.15s ease}.acggc-btn:hover{transform:translateY(-1px);box-shadow:0 7px 18px rgba(73,57,118,.08)}.acggc-btn-primary{background:linear-gradient(135deg,#7158c9,#8177ee);color:#fff;border-color:transparent;box-shadow:0 8px 24px rgba(91,69,171,.22)}.acggc-btn-small{padding:7px 11px;font-size:12px}.acggc-status{display:grid;grid-template-columns:repeat(5,1fr);gap:12px;margin:18px 0}.acggc-status>div,.acggc-panel{background:var(--glass);border:1px solid var(--line);box-shadow:0 16px 46px rgba(73,57,118,.08);backdrop-filter:blur(14px);border-radius:20px}.acggc-status>div{padding:15px 17px;display:flex;justify-content:space-between;align-items:end;gap:8px}.acggc-status small{color:var(--muted)}.acggc-status strong{font-size:19px;overflow:hidden;text-overflow:ellipsis}.acggc-grid{display:grid;grid-template-columns:1.25fr .75fr;gap:18px}.acggc-panel{padding:24px;margin-bottom:18px}.acggc-heading{display:flex;align-items:center;justify-content:space-between;gap:16px}.acggc-heading h2{margin:3px 0 12px}.acggc-pity{display:flex;flex-direction:column;text-align:right;gap:3px}.acggc-pity small{color:#b55a7c;font-weight:700}.acggc-field{display:flex;align-items:center;gap:8px;margin-bottom:12px;color:var(--muted);font-size:13px}.acggc-field select,.acggc-team-slots select{border:1px solid var(--line);border-radius:10px;background:#fff;padding:8px 10px;min-width:220px}.acggc-banner-card{min-height:220px;border-radius:18px;padding:30px;display:flex;align-items:end;color:#fff;background:radial-gradient(circle at 80% 20%,rgba(255,255,255,.3),transparent 20%),linear-gradient(135deg,#42316f,#8479e8);background-position:center;background-size:cover;overflow:hidden}.acggc-banner-card h2{font-size:29px;margin:6px 0}.acggc-banner-card p{margin:7px 0;color:rgba(255,255,255,.85)}.acggc-banner-card .acggc-up{font-weight:800;color:#fff}.acggc-packages{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.acggc-package{border:1px solid var(--line);background:#fff;border-radius:14px;padding:15px 8px;display:flex;flex-direction:column;gap:4px;cursor:pointer}.acggc-package b{font-size:19px}.acggc-package span{font-size:12px;color:var(--muted)}.acggc-package.active{outline:2px solid #7765dc;background:#f4f1ff}.acggc-paytypes{display:flex;gap:18px;margin:18px 0}.acggc-inline{display:flex;gap:8px}.acggc-inline input{flex:1;min-width:0;border:1px solid var(--line);border-radius:12px;padding:11px 12px}.acggc-note{font-size:12px;color:var(--muted)}.acggc-results{display:grid;grid-template-columns:repeat(auto-fit,minmax(120px,1fr));gap:10px;margin-top:18px}.acggc-result-card{padding:15px;border-radius:15px;border:1px solid var(--line);background:#fff;display:flex;flex-direction:column;gap:5px;min-height:105px}.acggc-result-card>span,.acggc-character-body>span{font-size:11px;font-weight:900;letter-spacing:.08em}.rarity-SSR{box-shadow:inset 0 3px 0 #e7a73f}.rarity-SR{box-shadow:inset 0 3px 0 #8a63d2}.rarity-R{box-shadow:inset 0 3px 0 #6c99c5}.acggc-character-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(255px,1fr));gap:12px;margin-top:18px}.acggc-character{border-radius:17px;border:1px solid var(--line);background:#fff;display:grid;grid-template-columns:86px 1fr;min-height:175px;overflow:hidden}.acggc-character img,.acggc-avatar-fallback{width:86px;height:100%;min-height:175px;object-fit:cover;background:linear-gradient(160deg,#ddd5ff,#b8dff2);display:grid;place-items:center;font-size:30px;font-weight:900}.acggc-character-body{padding:15px;display:flex;flex-direction:column;gap:5px;min-width:0}.acggc-character h2{margin:3px 0;font-size:20px}.acggc-character p{margin:0;color:var(--muted)}.acggc-character small{color:var(--muted);line-height:1.45}.acggc-stars{letter-spacing:1px;color:#be8a2d}.acggc-card-actions{margin-top:auto}.acggc-team-slots{display:grid;grid-template-columns:repeat(5,1fr);gap:10px;margin-top:18px}.acggc-team-slots label{display:flex;flex-direction:column;gap:7px;padding:12px;border:1px solid var(--line);background:#fff;border-radius:14px}.acggc-team-slots label>span{font-size:12px;color:var(--muted);font-weight:700}.acggc-team-slots select{width:100%;min-width:0}.acggc-team-summary{display:flex;gap:8px;flex-wrap:wrap;margin-top:14px}.acggc-team-summary span{padding:8px 10px;border-radius:10px;background:#fff;border:1px solid var(--line);font-size:12px}.acggc-success{color:#267a4c}.acggc-error{color:#b93a52}.acggc-login{text-align:center;padding:48px}.acggc hr{border:0;border-top:1px solid var(--line);margin:24px 0}@media(max-width:980px){.acggc-status{grid-template-columns:repeat(3,1fr)}.acggc-team-slots{grid-template-columns:repeat(2,1fr)}}@media(max-width:800px){.acggc{padding:10px;margin:0;border-radius:18px}.acggc-hero{grid-template-columns:1fr;padding:34px 24px;min-height:420px}.acggc-orb{position:absolute;right:-70px;bottom:-70px;opacity:.3}.acggc-grid{grid-template-columns:1fr}.acggc-status{grid-template-columns:1fr 1fr}.acggc-packages{grid-template-columns:repeat(2,1fr)}.acggc-character-grid{grid-template-columns:1fr}}@media(max-width:520px){.acggc-status{grid-template-columns:1fr}.acggc-team-slots{grid-template-columns:1fr}.acggc-character{grid-template-columns:72px 1fr}.acggc-character img,.acggc-avatar-fallback{width:72px}.acggc-panel{padding:18px}.acggc-heading{align-items:flex-start}.acggc-pity{font-size:12px}}
.acggc [hidden]{display:none!important}.acggc-stage-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(235px,1fr));gap:12px;margin-top:18px}.acggc-stage-card{display:flex;flex-direction:column;gap:8px;min-height:235px;padding:18px;border:1px solid var(--line);border-radius:17px;background:#fff;position:relative;overflow:hidden}.acggc-stage-card:before{content:"";position:absolute;inset:0 0 auto 0;height:3px;background:linear-gradient(90deg,#7765dc,#71b9d8)}.acggc-stage-card.is-locked{opacity:.58;filter:saturate(.65)}.acggc-stage-code{font-weight:900;font-size:12px;color:#7665bb;letter-spacing:.12em}.acggc-stage-card h2,.acggc-item-card h2{margin:0;font-size:20px}.acggc-stage-card p,.acggc-item-card p{margin:0;color:var(--muted);line-height:1.55}.acggc-stage-card small,.acggc-item-card small{color:var(--muted);line-height:1.5}.acggc-stage-footer{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-top:auto}.acggc-stage-footer>span{color:#ba8730;letter-spacing:1px}.acggc-battle-panel{background:linear-gradient(180deg,rgba(244,242,255,.94),rgba(250,252,255,.96))}.acggc-battle-meta{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.acggc-battle-meta>strong{color:#7158c9}.acggc-battle-meta>span{font-size:13px;color:var(--muted)}.acggc-battlefield{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin-top:18px}.acggc-battlefield>div{padding:16px;border-radius:17px;background:rgba(255,255,255,.62);border:1px solid var(--line)}.acggc-battlefield h2{margin:0 0 12px}.acggc-unit-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(145px,1fr));gap:9px}.acggc-unit{appearance:none;text-align:left;display:flex;flex-direction:column;gap:5px;padding:13px;border:1px solid var(--line);border-radius:14px;background:#fff;color:var(--ink);min-height:125px}.acggc-unit.enemy{cursor:pointer}.acggc-unit>span,.acggc-unit>small{font-size:11px;color:var(--muted)}.acggc-unit>strong{font-size:15px}.acggc-unit.is-target{outline:2px solid #dd708e;box-shadow:0 0 0 4px rgba(221,112,142,.08)}.acggc-unit.is-current{box-shadow:0 0 0 2px #7765dc inset}.acggc-unit.is-down{opacity:.38;filter:grayscale(1)}.acggc-hp{height:7px;background:#eeeaf6;border-radius:999px;overflow:hidden;margin-top:auto}.acggc-hp i{display:block;height:100%;background:linear-gradient(90deg,#73bb89,#88d3ac);border-radius:inherit;transition:width .2s ease}.acggc-turn-controls{display:flex;justify-content:space-between;align-items:center;gap:18px;margin:18px 0;padding:17px;border:1px solid var(--line);border-radius:16px;background:#fff}.acggc-turn-controls h2{margin:3px 0}.acggc-turn-controls .acggc-actions{margin-top:0}.acggc-battle-log{display:flex;flex-direction:column;gap:7px;max-height:260px;overflow:auto;padding:12px;border-radius:14px;background:#211b37;color:#f4efff}.acggc-battle-log>div{display:grid;grid-template-columns:44px 1fr;gap:8px;font-size:12px;line-height:1.5}.acggc-battle-log b{color:#a899ff}.acggc-battle-rewards{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin:12px 0}.acggc-battle-rewards strong{padding:8px 11px;border-radius:10px;background:#f1edff;color:#5f49b8}.acggc-battle-rewards span{font-size:13px;color:var(--muted)}.acggc-item-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(245px,1fr));gap:12px;margin-top:18px}.acggc-item-card{display:flex;flex-direction:column;gap:7px;min-height:180px;padding:17px;border:1px solid var(--line);border-radius:16px;background:#fff}.acggc-item-card>span{font-size:11px;font-weight:900;letter-spacing:.07em}.acggc-equip-controls{display:flex;gap:8px;margin-top:auto}.acggc-equip-controls select{flex:1;min-width:0;border:1px solid var(--line);border-radius:10px;padding:7px}.acggc-gear-row{display:flex;gap:5px;flex-wrap:wrap;margin-top:3px}.acggc-gear-pill{appearance:none;border:1px solid var(--line);border-radius:999px;background:#f8f6ff;padding:4px 7px;font-size:10px;cursor:pointer}.acggc-status{grid-template-columns:repeat(6,1fr)}@media(max-width:980px){.acggc-status{grid-template-columns:repeat(3,1fr)}.acggc-battlefield{grid-template-columns:1fr}.acggc-turn-controls{align-items:flex-start;flex-direction:column}}@media(max-width:520px){.acggc-stage-grid,.acggc-item-grid{grid-template-columns:1fr}.acggc-unit-grid{grid-template-columns:1fr 1fr}.acggc-battle-meta{align-items:flex-end;flex-direction:column}.acggc-turn-controls .acggc-actions{width:100%}.acggc-turn-controls .acggc-btn{flex:1;padding-left:8px;padding-right:8px}}
/* V0.4 live operations */
.acggc-event-list,.acggc-task-list,.acggc-mail-list,.acggc-story-list,.acggc-rank-list{display:flex;flex-direction:column;gap:10px;margin-top:14px}.acggc-event-card{display:grid;grid-template-columns:minmax(0,1fr);gap:14px;padding:18px;border:1px solid var(--line);border-radius:17px;background:linear-gradient(135deg,#f5f1ff,#eef8ff)}.acggc-event-card:has(img){grid-template-columns:190px 1fr}.acggc-event-card img{width:190px;height:110px;object-fit:cover;border-radius:13px}.acggc-event-card h2,.acggc-task-card h2,.acggc-mail-card h2,.acggc-shop-card h2,.acggc-story-card h2{margin:4px 0}.acggc-event-card p,.acggc-task-card p,.acggc-mail-card p,.acggc-shop-card p{margin:4px 0;color:var(--muted);line-height:1.5}.acggc-task-card,.acggc-mail-card,.acggc-story-card{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:15px;border:1px solid var(--line);border-radius:15px;background:#fff}.acggc-task-card>div:first-child,.acggc-mail-card>div:first-child,.acggc-story-card>div:first-child{min-width:0}.acggc-task-card span,.acggc-mail-card span,.acggc-story-card span,.acggc-shop-card>span{font-size:10px;font-weight:900;letter-spacing:.08em;color:#6f5bbb;text-transform:uppercase}.acggc-task-card.is-done{background:#f7fff9}.acggc-mail-card.is-unread{box-shadow:inset 3px 0 0 #7765dc}.acggc-signin-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;margin-top:14px}.acggc-signin-day{display:flex;flex-direction:column;gap:6px;min-height:78px;padding:12px;border:1px solid var(--line);border-radius:13px;background:#fff}.acggc-signin-day span{font-size:11px;color:var(--muted);line-height:1.4}.acggc-signin-day.is-next{outline:2px solid #7765dc;background:#f5f2ff}.acggc-shop-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(205px,1fr));gap:10px;margin-top:14px}.acggc-shop-card{display:flex;flex-direction:column;gap:7px;min-height:190px;padding:16px;border:1px solid var(--line);border-radius:15px;background:#fff}.acggc-shop-card small{color:var(--muted);line-height:1.45}.acggc-shop-price{display:flex;justify-content:space-between;align-items:center;gap:8px;margin-top:auto}.acggc-story-card.is-locked{opacity:.5}.acggc-story-reader{margin-top:14px;padding:20px;border-radius:16px;background:#211b37;color:#f5f1ff}.acggc-story-reader h2{margin-top:0}.acggc-story-reader div{white-space:pre-wrap;line-height:1.9;color:#ddd5ef}.acggc-rank-row{display:grid;grid-template-columns:52px 1fr auto;align-items:center;gap:10px;padding:11px 13px;border:1px solid var(--line);border-radius:12px;background:#fff}.acggc-rank-row>b{color:#7665bb}.acggc-rank-row>strong{font-size:12px}.acggc-rank-row.is-me{outline:2px solid #7765dc;background:#f5f2ff}.acggc-ops-grid select{border:1px solid var(--line);border-radius:10px;background:#fff;padding:8px 10px}.acggc-btn:disabled{cursor:not-allowed;opacity:.45;transform:none!important;box-shadow:none!important}@media(max-width:800px){.acggc-event-card:has(img){grid-template-columns:1fr}.acggc-event-card img{width:100%;height:150px}.acggc-signin-grid{grid-template-columns:repeat(2,1fr)}}@media(max-width:520px){.acggc-task-card,.acggc-mail-card,.acggc-story-card{align-items:flex-start;flex-direction:column}.acggc-task-card .acggc-card-actions,.acggc-mail-card .acggc-card-actions,.acggc-story-card .acggc-card-actions{margin-top:4px;width:100%}.acggc-shop-grid{grid-template-columns:1fr}.acggc-rank-row{grid-template-columns:42px 1fr}.acggc-rank-row>strong{grid-column:2}}
/* V0.5 multi-game platform */
.acggc-platform-home{margin-top:18px}.acggc-platform-banners{display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:12px;margin:15px 0 24px}.acggc-platform-banner{min-height:210px;padding:26px;border-radius:20px;background:linear-gradient(135deg,#251c47,#6652aa);background-size:cover;background-position:center;color:#fff;display:flex;align-items:flex-end;overflow:hidden}.acggc-platform-banner h2{font-size:28px;margin:4px 0}.acggc-platform-banner p{color:#e8e0ff;max-width:600px}.acggc-game-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:12px}.acggc-game-card{overflow:hidden;border:1px solid var(--line);border-radius:18px;background:#fff}.acggc-game-card.is-featured{box-shadow:0 12px 34px rgba(80,61,145,.12)}.acggc-game-card img,.acggc-game-cover{width:100%;height:150px;object-fit:cover}.acggc-game-cover{display:grid;place-items:center;font-size:44px;background:linear-gradient(135deg,#ded7ff,#dff5ff);color:#7765dc}.acggc-game-card>div:last-child{padding:16px}.acggc-game-card span{font-size:10px;font-weight:900;letter-spacing:.08em;color:#7765dc}.acggc-game-card h2{margin:5px 0;font-size:22px}.acggc-game-card p{min-height:44px;color:var(--muted);line-height:1.5}.acggc-platform-columns{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin-top:22px}.acggc-platform-list{display:flex;flex-direction:column;gap:8px}.acggc-platform-row{padding:13px;border:1px solid var(--line);border-radius:13px;background:#fff}.acggc-platform-row span{display:block;font-size:10px;font-weight:900;color:#7765dc;text-transform:uppercase}.acggc-platform-row strong{display:block;margin:3px 0}.acggc-platform-row p{margin:3px 0;color:var(--muted);font-size:12px;line-height:1.45}.acggc-game-anchor{margin:34px 4px 10px;padding:22px 24px;border-radius:18px;background:linear-gradient(120deg,#251d42,#5f4b9f);color:#fff}.acggc-game-anchor h2{font-size:30px;margin:3px 0}.acggc-game-anchor p{margin:0;color:#ded7f5}@media(max-width:800px){.acggc-platform-columns{grid-template-columns:1fr}.acggc-platform-banners{grid-template-columns:1fr}.acggc-platform-banner{min-height:180px}}
/* V0.6 platform progression */
.acggc-platform-level{display:grid;grid-template-columns:.65fr 1.4fr .65fr;gap:12px;margin:12px 0 22px}.acggc-platform-level>div,.acggc-demo-stats>div{padding:15px 17px;background:#fff;border:1px solid var(--line);border-radius:15px;display:flex;flex-direction:column;gap:5px}.acggc-platform-level span,.acggc-demo-stats small{font-size:12px;color:var(--muted)}.acggc-platform-level strong,.acggc-demo-stats strong{font-size:20px}.acggc-progress{height:7px;border-radius:99px;background:#ece9f7;overflow:hidden;margin-top:5px}.acggc-progress i{display:block;height:100%;width:0;background:linear-gradient(90deg,#7158c9,#71b9d8);border-radius:99px;transition:width .2s ease}.acggc-achievement-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:10px}.acggc-achievement-card{padding:16px;border:1px solid var(--line);background:#fff;border-radius:16px;display:flex;flex-direction:column;gap:6px}.acggc-achievement-card.is-done{box-shadow:inset 0 3px 0 #7d67da}.acggc-achievement-card h2,.acggc-platform-reward h2{margin:0}.acggc-achievement-card p,.acggc-platform-reward p{margin:0;color:var(--muted)}.acggc-achievement-card small,.acggc-platform-reward small{color:var(--muted)}.acggc-platform-reward{padding:14px;border:1px solid var(--line);background:#fff;border-radius:14px;margin-bottom:9px;display:flex;justify-content:space-between;gap:14px;align-items:center}.acggc-platform-reward>div{min-width:0}.acggc-demo-game{background:radial-gradient(circle at 100% 0%,rgba(125,103,218,.15),transparent 35%),var(--glass)}.acggc-demo-stats{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin:18px 0}.acggc-demo-stats>div{text-align:center}.acggc-growth-columns{align-items:start}@media(max-width:800px){.acggc-platform-level{grid-template-columns:1fr 1fr}.acggc-demo-stats{grid-template-columns:1fr 1fr}}@media(max-width:520px){.acggc-platform-level{grid-template-columns:1fr}.acggc-platform-reward{align-items:flex-start;flex-direction:column}}

/* V0.7 Cooperative PVE */
.acggc-coop-panel{overflow:hidden;position:relative}
.acggc-coop-panel:before{content:"";position:absolute;inset:0 auto auto 0;width:100%;height:3px;background:linear-gradient(90deg,#ff8fa3,#b08cff,#72d9ff)}
.acggc-coop-boss{display:grid;grid-template-columns:minmax(220px,.72fr) minmax(0,1.55fr);gap:24px;align-items:stretch;margin-top:18px}
.acggc-coop-boss-art{min-height:310px;border-radius:24px;border:1px solid rgba(255,255,255,.11);background:radial-gradient(circle at 50% 42%,rgba(255,124,160,.32),rgba(116,80,177,.15) 32%,rgba(21,15,37,.8) 72%);display:grid;place-items:center;overflow:hidden;background-size:cover;background-position:center;box-shadow:inset 0 0 55px rgba(8,5,18,.45)}
.acggc-coop-boss-art span{font-size:86px;filter:drop-shadow(0 0 24px rgba(255,126,176,.7))}
.acggc-coop-boss-art.has-image span{display:none}
.acggc-coop-boss-info{padding:8px 0;display:flex;flex-direction:column;justify-content:center}
.acggc-coop-boss-info h2{font-size:clamp(28px,4vw,48px);margin:6px 0 4px}
.acggc-coop-hp-head{display:flex;justify-content:space-between;gap:16px;align-items:center;margin-top:22px;font-variant-numeric:tabular-nums}
.acggc-coop-hp-head strong{font-size:20px}
.acggc-coop-hp-head span{font-weight:800;color:#ffb8c8}
.acggc-coop-hp{height:22px;margin-top:9px;border-radius:999px;background:rgba(255,255,255,.075);padding:3px;box-shadow:inset 0 1px 5px rgba(0,0,0,.38)}
.acggc-coop-hp i{display:block;height:100%;width:0;border-radius:999px;background:linear-gradient(90deg,#ff617f,#ff9b7d);box-shadow:0 0 18px rgba(255,93,128,.4);transition:width .45s ease}
.acggc-coop-meta{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:18px 0}
.acggc-coop-meta>div{padding:13px;border-radius:14px;background:rgba(255,255,255,.055);border:1px solid rgba(255,255,255,.08)}
.acggc-coop-meta small{display:block;opacity:.66;margin-bottom:4px}
.acggc-coop-meta strong{font-size:17px}
.acggc-coop-attack{min-width:190px}
.acggc-coop-result{min-height:24px;margin:10px 0 0;font-weight:700}
.acggc-coop-grid{margin-top:24px;align-items:start}
.acggc-coop-grid>div{min-width:0}
.acggc-coop-cleared{display:grid;gap:10px}
.acggc-coop-clear-card{display:flex;justify-content:space-between;gap:18px;align-items:center;padding:15px 16px;border:1px solid rgba(255,255,255,.09);background:rgba(255,255,255,.04);border-radius:16px}
.acggc-coop-clear-card strong,.acggc-coop-clear-card small{display:block}
.acggc-coop-clear-card small{opacity:.7;margin-top:4px}
@media(max-width:780px){.acggc-coop-boss{grid-template-columns:1fr}.acggc-coop-boss-art{min-height:240px}.acggc-coop-meta{grid-template-columns:repeat(2,minmax(0,1fr))}.acggc-coop-clear-card{align-items:flex-start;flex-direction:column}}
/* V0.8 co-op boss phases */
.acggc-coop-phase-row{display:flex;align-items:center;gap:10px;margin-top:12px}.acggc-coop-phase{display:inline-flex;padding:6px 10px;border-radius:999px;background:rgba(176,140,255,.16);border:1px solid rgba(176,140,255,.32);font-weight:900;letter-spacing:.08em}.acggc-coop-enrage{display:inline-flex;padding:6px 10px;border-radius:999px;background:rgba(255,75,100,.16);border:1px solid rgba(255,75,100,.42);font-weight:900;color:#ff9aaa;animation:acggcPulse 1.2s infinite alternate}.acggc-coop-shield-wrap{margin-top:10px}.acggc-coop-shield-head{display:flex;align-items:center;justify-content:space-between;font-size:13px;opacity:.9}.acggc-coop-shield{height:13px;margin-top:6px;border-radius:999px;background:rgba(255,255,255,.07);padding:2px}.acggc-coop-shield i{display:block;height:100%;width:0;border-radius:999px;background:linear-gradient(90deg,#75dfff,#a68fff);box-shadow:0 0 16px rgba(112,214,255,.45);transition:width .4s ease}.acggc-coop-boss-art.is-enraged{box-shadow:inset 0 0 70px rgba(255,48,84,.32),0 0 34px rgba(255,48,84,.18)}.acggc-coop-milestones{display:grid;gap:10px;margin-bottom:22px}.acggc-coop-milestone{padding:14px 15px;border:1px solid rgba(255,255,255,.09);background:rgba(255,255,255,.035);border-radius:15px}.acggc-coop-milestone-head{display:flex;align-items:center;justify-content:space-between;gap:15px}.acggc-coop-milestone-head strong,.acggc-coop-milestone-head small{display:block}.acggc-coop-milestone-head small{opacity:.7;margin-top:4px}.acggc-coop-milestone-bar{height:8px;border-radius:999px;background:rgba(255,255,255,.07);overflow:hidden;margin-top:10px}.acggc-coop-milestone-bar i{display:block;height:100%;background:linear-gradient(90deg,#b08cff,#72d9ff);border-radius:999px}.acggc-coop-rank-reward{margin-top:12px}@keyframes acggcPulse{from{opacity:.72}to{opacity:1;box-shadow:0 0 16px rgba(255,75,100,.22)}}
@media(max-width:600px){.acggc-coop-milestone-head{align-items:flex-start;flex-direction:column}.acggc-coop-phase-row{flex-wrap:wrap}}

/* V0.9 stability */
.acggc-maintenance{margin:0 0 16px;padding:13px 16px;border:1px solid rgba(255,171,82,.45);border-radius:14px;background:rgba(255,171,82,.12);display:flex;gap:12px;align-items:center}.acggc-maintenance strong{color:#ffb15c}.acggc-maintenance span{opacity:.9}


/* V1.0 release polish */
.acggc button,.acggc input,.acggc select,.acggc textarea{font:inherit}.acggc-btn:focus-visible,.acggc button:focus-visible,.acggc input:focus-visible,.acggc select:focus-visible,.acggc textarea:focus-visible{outline:3px solid rgba(103,91,221,.38);outline-offset:2px}.acggc-btn:disabled,.acggc button:disabled{cursor:not-allowed;opacity:.55;transform:none!important;box-shadow:none!important}.acggc img{max-width:100%}.acggc-panel,.acggc-stage-card,.acggc-character,.acggc-game-card{overflow-wrap:anywhere}.acggc-battle-log,.acggc-platform-row,.acggc-coop-clear-card{scrollbar-width:thin}.acggc-btn,.acggc-package,.acggc-unit{touch-action:manipulation}.acggc-message-area{min-height:1.4em}
@media(max-width:600px){.acggc-btn{min-height:44px;padding:11px 14px}.acggc-inline{flex-direction:column}.acggc-inline .acggc-btn{width:100%}.acggc-field{align-items:stretch;flex-direction:column}.acggc-field select,.acggc-team-slots select{min-width:0;width:100%}.acggc-actions,.acggc-card-actions{gap:8px}.acggc-actions>.acggc-btn{flex:1 1 auto}.acggc-battlefield{grid-template-columns:1fr}.acggc-turn-controls{align-items:stretch;flex-direction:column}.acggc-turn-controls .acggc-actions{width:100%}.acggc-coop-attack{width:100%;min-width:0}.acggc-hero h1{font-size:clamp(38px,14vw,62px)}}
@media(prefers-reduced-motion:reduce){.acggc *{scroll-behavior:auto!important;animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}}

/* V1.1 Invite rewards */
.acggc-invite-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin:14px 0}.acggc-invite-grid input{text-transform:uppercase}.acggc-invite-grid strong{word-break:break-word}@media(max-width:780px){.acggc-invite-grid{grid-template-columns:1fr}}


/* V1.6 launch footer */
.acggc-footer{margin:28px 0 8px;padding:18px 4px;display:flex;justify-content:space-between;gap:16px;align-items:center;border-top:1px solid rgba(128,128,160,.2);font-size:13px;opacity:.88}.acggc-footer>div{display:flex;gap:10px;flex-wrap:wrap}.acggc-footer nav{display:flex;gap:14px;flex-wrap:wrap}.acggc-footer a{text-decoration:none}.acggc-footer a:hover{text-decoration:underline}@media(max-width:700px){.acggc-footer{align-items:flex-start;flex-direction:column}}

/* V1.6.4 页面菜单：长页面改为分区切换 */
.acggc-section-nav{position:sticky;top:12px;z-index:30;display:flex;gap:8px;overflow-x:auto;padding:10px;margin:14px 0 18px;background:rgba(250,249,255,.94);border:1px solid var(--line);border-radius:16px;box-shadow:0 10px 32px rgba(73,57,118,.10);backdrop-filter:blur(14px);scrollbar-width:thin}
.acggc-section-nav button{flex:0 0 auto;border:1px solid var(--line);border-radius:999px;background:#fff;color:var(--ink);padding:9px 14px;font-weight:750;cursor:pointer;white-space:nowrap}
.acggc-section-nav button.is-active{background:linear-gradient(135deg,#7158c9,#8177ee);color:#fff;border-color:transparent}
.acggc [data-acggc-center-view][hidden],.acggc [data-acggc-game-view][hidden]{display:none!important}
.acggc-announcement-list .acggc-platform-row{max-width:none}
.acggc-announcement-list .acggc-platform-row p{white-space:pre-wrap;line-height:1.75}
@media(max-width:700px){.acggc-section-nav{top:6px;margin-left:-6px;margin-right:-6px;border-radius:13px}.acggc-section-nav button{padding:9px 12px;font-size:13px}}
.acggc-subnav{position:relative;top:auto;margin-top:0;background:rgba(245,242,255,.88);box-shadow:none}
.acggc-announcement{border:1px solid var(--line);background:#fff;border-radius:16px;margin-bottom:10px;overflow:hidden}
.acggc-announcement summary{display:grid;grid-template-columns:auto 1fr auto;gap:12px;align-items:center;padding:15px 17px;cursor:pointer;list-style:none}
.acggc-announcement summary::-webkit-details-marker{display:none}.acggc-announcement summary span{font-size:11px;font-weight:800;color:#7158c9}.acggc-announcement summary strong{font-size:15px}.acggc-announcement summary small{color:var(--muted);font-size:11px}.acggc-announcement>div{padding:0 17px 17px;line-height:1.75;color:#514b66;border-top:1px solid var(--line);padding-top:14px}
@media(max-width:700px){.acggc-announcement summary{grid-template-columns:1fr}.acggc-announcement summary small{display:none}}
.admin-bar .acggc-section-nav{top:44px}.admin-bar .acggc-subnav{top:auto}@media(max-width:782px){.admin-bar .acggc-section-nav{top:52px}.admin-bar .acggc-subnav{top:auto}}

/* =========================================================
 * V1.6.5 · Sakurairo-inspired ACG UI refresh
 * Visual language only: original plugin business logic stays intact.
 * ========================================================= */
.acggc-sakurairo{
  --acg-sakura:#ff9db8;
  --acg-sakura-deep:#f06f9b;
  --acg-violet:#8f79e8;
  --acg-sky:#7fcfe9;
  --acg-cream:#fff9fb;
  --acg-paper:rgba(255,255,255,.84);
  --acg-paper-strong:rgba(255,255,255,.96);
  --acg-ink:#4b415b;
  --acg-muted:#8f839a;
  --acg-line:rgba(240,111,155,.15);
  --acg-shadow:0 18px 54px rgba(105,77,126,.12);
  --acg-shadow-soft:0 10px 30px rgba(105,77,126,.08);
  --acg-radius:24px;
  --ink:var(--acg-ink);
  --muted:var(--acg-muted);
  --line:var(--acg-line);
  --glass:var(--acg-paper);
  position:relative;
  max-width:1240px;
  padding:22px;
  margin:28px auto;
  border-radius:34px;
  color:var(--acg-ink);
  background:
    radial-gradient(circle at 6% 4%,rgba(255,169,194,.26),transparent 24%),
    radial-gradient(circle at 96% 12%,rgba(139,203,236,.20),transparent 27%),
    linear-gradient(180deg,rgba(255,253,254,.95),rgba(251,248,255,.94));
  box-shadow:0 24px 80px rgba(107,77,132,.09);
  isolation:isolate;
  overflow:visible;
}
.acggc-sakurairo:before,.acggc-sakurairo:after{content:"";position:absolute;pointer-events:none;z-index:-1;border-radius:999px;filter:blur(1px)}
.acggc-sakurairo:before{width:180px;height:180px;left:-65px;top:31%;background:radial-gradient(circle,rgba(255,160,190,.16),transparent 67%)}
.acggc-sakurairo:after{width:230px;height:230px;right:-90px;bottom:13%;background:radial-gradient(circle,rgba(135,204,234,.14),transparent 68%)}
.acggc-sakurairo h1,.acggc-sakurairo h2,.acggc-sakurairo h2{letter-spacing:.01em}
.acggc-sakurairo h2{font-weight:800}
.acggc-sakurairo a{color:inherit}

/* Cover / hero: inspired by Sakurairo's illustration-first cover and airy wave separation */
.acggc-sakurairo .acggc-hero{min-height:430px;border-radius:30px;padding:64px 66px 82px;grid-template-columns:minmax(0,1.35fr) minmax(230px,.65fr);background:
  linear-gradient(118deg,rgba(76,61,111,.92),rgba(139,102,164,.76) 47%,rgba(244,143,177,.70)),
  radial-gradient(circle at 74% 34%,rgba(255,255,255,.30),transparent 26%);
  box-shadow:0 28px 70px rgba(94,66,123,.20);border:1px solid rgba(255,255,255,.42);overflow:hidden}
.acggc-sakurairo .acggc-sakura-cover:before,.acggc-sakurairo .acggc-star-cover:before{content:"";position:absolute;inset:0;background:
  radial-gradient(circle at 85% 15%,rgba(255,255,255,.17),transparent 14%),
  linear-gradient(115deg,transparent 48%,rgba(255,255,255,.08) 48.5%,transparent 49%);pointer-events:none}
.acggc-sakurairo .acggc-star-cover{background:
  linear-gradient(116deg,rgba(29,32,77,.94),rgba(83,73,144,.80) 50%,rgba(207,118,164,.74)),
  radial-gradient(circle at 80% 20%,rgba(146,205,255,.26),transparent 25%)}
.acggc-sakurairo .acggc-hero-copy{position:relative;z-index:3;max-width:730px}
.acggc-sakurairo .acggc-hero h1{font-size:clamp(48px,7vw,88px);font-weight:900;line-height:.98;margin:12px 0 20px;text-shadow:0 8px 30px rgba(40,25,70,.20)}
.acggc-sakurairo .acggc-hero p{max-width:680px;font-size:16px;line-height:1.8;color:rgba(255,255,255,.88)}
.acggc-sakurairo .acggc-kicker{letter-spacing:.16em;font-size:10px;font-weight:900}
.acggc-sakurairo .acggc-hero-chips{display:flex;gap:8px;flex-wrap:wrap;margin:22px 0 4px}
.acggc-sakurairo .acggc-hero-chips span{display:inline-flex;align-items:center;min-height:30px;padding:6px 11px;border:1px solid rgba(255,255,255,.24);border-radius:999px;background:rgba(255,255,255,.11);font-size:11px;font-weight:750;backdrop-filter:blur(8px)}
.acggc-sakurairo .acggc-hero-emblem{position:relative;z-index:2;display:grid;place-items:center;align-content:center;gap:15px;color:#fff;min-height:250px}
.acggc-sakurairo .acggc-hero-emblem small{font-weight:850;letter-spacing:.22em;opacity:.75;font-size:9px}
.acggc-sakurairo .acggc-emblem-ring{width:190px;height:190px;border-radius:50%;display:grid;place-items:center;border:1px solid rgba(255,255,255,.44);background:radial-gradient(circle,rgba(255,255,255,.22),rgba(255,255,255,.07) 58%,transparent 59%);box-shadow:0 0 0 18px rgba(255,255,255,.045),0 0 0 38px rgba(255,255,255,.025),inset 0 0 45px rgba(255,255,255,.12);backdrop-filter:blur(8px)}
.acggc-sakurairo .acggc-emblem-ring span{font-family:Georgia,"Times New Roman",serif;font-size:72px;font-weight:700;text-shadow:0 7px 28px rgba(40,25,70,.25)}
.acggc-sakurairo .acggc-star-emblem .acggc-emblem-ring span{font-family:inherit;font-size:78px}
.acggc-sakurairo .acggc-cover-wave{position:absolute;z-index:2;left:-3%;right:-3%;bottom:-1px;height:54px;background:var(--acg-cream);clip-path:polygon(0 67%,8% 52%,17% 60%,29% 39%,43% 54%,56% 36%,69% 58%,82% 43%,92% 55%,100% 39%,100% 100%,0 100%)}
.acggc-sakurairo .acggc-petal-field{position:absolute;inset:0;z-index:1;overflow:hidden;pointer-events:none}
.acggc-sakurairo .acggc-petal-field i{position:absolute;width:12px;height:8px;border-radius:80% 20% 75% 25%;background:linear-gradient(135deg,#ffd8e4,#ff9fbe);opacity:.64;transform:rotate(26deg);filter:drop-shadow(0 2px 3px rgba(100,40,70,.08));animation:acggcPetalFloat 8s ease-in-out infinite alternate}
.acggc-sakurairo .acggc-petal-field i:nth-child(1){left:8%;top:18%;animation-delay:-2s}.acggc-sakurairo .acggc-petal-field i:nth-child(2){left:32%;top:11%;width:9px;height:7px;animation-delay:-5s}.acggc-sakurairo .acggc-petal-field i:nth-child(3){left:58%;top:22%;animation-delay:-1s}.acggc-sakurairo .acggc-petal-field i:nth-child(4){left:76%;top:10%;width:15px;height:9px;animation-delay:-6s}.acggc-sakurairo .acggc-petal-field i:nth-child(5){left:88%;top:48%;animation-delay:-3s}.acggc-sakurairo .acggc-petal-field i:nth-child(6){left:47%;top:66%;width:8px;height:6px;animation-delay:-4s}
@keyframes acggcPetalFloat{from{transform:translate3d(0,-5px,0) rotate(18deg)}to{transform:translate3d(18px,18px,0) rotate(75deg)}}

/* Buttons */
.acggc-sakurairo .acggc-btn{border-radius:999px;padding:10px 18px;border:1px solid rgba(135,105,155,.16);background:rgba(255,255,255,.93);font-weight:800;box-shadow:0 7px 20px rgba(84,61,107,.07);transition:transform .22s ease,box-shadow .22s ease,border-color .22s ease,background .22s ease}
.acggc-sakurairo .acggc-btn:hover{transform:translateY(-2px);box-shadow:0 12px 28px rgba(84,61,107,.12);border-color:rgba(240,111,155,.30)}
.acggc-sakurairo .acggc-btn-primary{color:#fff;border-color:transparent;background:linear-gradient(135deg,var(--acg-sakura-deep),#aa78df 62%,#7faee8);box-shadow:0 10px 28px rgba(216,103,153,.25)}
.acggc-sakurairo .acggc-btn-primary:hover{box-shadow:0 14px 34px rgba(216,103,153,.32)}
.acggc-sakurairo .acggc-btn-ghost{background:rgba(255,255,255,.12);color:#fff;border-color:rgba(255,255,255,.26);box-shadow:none;backdrop-filter:blur(10px)}
.acggc-sakurairo .acggc-btn-ghost:hover{background:rgba(255,255,255,.19);border-color:rgba(255,255,255,.48)}

/* Floating-island navigation */
.acggc-sakurairo .acggc-section-nav{top:14px;margin:-13px auto 24px;width:max-content;max-width:calc(100% - 24px);padding:8px;border:1px solid rgba(255,255,255,.80);border-radius:999px;background:rgba(255,255,255,.82);box-shadow:0 14px 38px rgba(94,71,111,.13);backdrop-filter:blur(20px) saturate(1.2)}
.acggc-sakurairo .acggc-section-nav button{border:0;background:transparent;border-radius:999px;color:#776b80;padding:9px 15px;font-size:12px;font-weight:800;box-shadow:none}
.acggc-sakurairo .acggc-section-nav button:hover{background:rgba(255,157,184,.11);color:#e85f91}
.acggc-sakurairo .acggc-section-nav button.is-active{background:linear-gradient(135deg,#ff8fb0,#9b7de0);color:#fff;box-shadow:0 7px 18px rgba(210,103,156,.23)}
.acggc-sakurairo .acggc-subnav{top:auto;margin:0 auto 18px;background:rgba(255,249,252,.86);box-shadow:0 8px 24px rgba(100,75,115,.08)}
.admin-bar .acggc-sakurairo .acggc-section-nav{top:46px}.admin-bar .acggc-sakurairo .acggc-subnav{top:auto}

/* Paper panels */
.acggc-sakurairo .acggc-panel,.acggc-sakurairo .acggc-status>div{border:1px solid rgba(255,255,255,.92);background:linear-gradient(145deg,rgba(255,255,255,.94),rgba(255,250,253,.79));box-shadow:var(--acg-shadow-soft);backdrop-filter:blur(18px);border-radius:var(--acg-radius)}
.acggc-sakurairo .acggc-panel{padding:27px;margin-bottom:20px}
.acggc-sakurairo .acggc-panel:has(>.acggc-heading){position:relative}
.acggc-sakurairo .acggc-heading h2{font-size:clamp(23px,3vw,31px);margin:4px 0 10px}
.acggc-sakurairo .acggc-heading>.acggc-kicker,.acggc-sakurairo .acggc-heading .acggc-kicker{color:#d85f8d;opacity:.82}
.acggc-sakurairo .acggc-heading{padding-bottom:4px}
.acggc-sakurairo .acggc-note{color:#9b8fa2;line-height:1.7}
.acggc-sakurairo .acggc-game-anchor{position:relative;padding:24px 28px;margin:-12px 18px 18px;border-radius:24px;background:rgba(255,255,255,.88);border:1px solid rgba(255,255,255,.9);box-shadow:var(--acg-shadow-soft)}
.acggc-sakurairo .acggc-game-anchor h2{margin:4px 0 5px;font-size:28px}.acggc-sakurairo .acggc-game-anchor p{margin:0;color:var(--acg-muted)}

/* Platform banners */
.acggc-sakurairo .acggc-platform-banners{display:grid;grid-template-columns:1.55fr .85fr;gap:16px;margin:18px 0 28px}
.acggc-sakurairo .acggc-platform-banner{position:relative;min-height:300px;border-radius:28px;padding:34px;display:flex;align-items:flex-end;overflow:hidden;color:#fff;background:
  linear-gradient(118deg,rgba(46,38,72,.90),rgba(129,83,135,.58)),
  var(--acggc-banner-image,linear-gradient(135deg,#8572d3,#f297b5));background-size:cover;background-position:center;box-shadow:0 18px 42px rgba(96,65,122,.17);border:1px solid rgba(255,255,255,.28)}
.acggc-sakurairo .acggc-platform-banner:nth-child(n/**/+2){min-height:300px;background:
  linear-gradient(130deg,rgba(58,63,112,.88),rgba(83,167,191,.42)),
  var(--acggc-banner-image,linear-gradient(135deg,#89cde6,#9b83df))}
.acggc-sakurairo .acggc-platform-banner:before{content:"";position:absolute;inset:0;background:linear-gradient(180deg,transparent 25%,rgba(26,18,45,.35));pointer-events:none}
.acggc-sakurairo .acggc-banner-copy{position:relative;z-index:2;max-width:560px}.acggc-sakurairo .acggc-banner-copy h2{font-size:clamp(28px,4vw,46px);margin:5px 0 8px}.acggc-sakurairo .acggc-banner-copy p{line-height:1.65;color:rgba(255,255,255,.86);margin:0 0 18px}
.acggc-sakurairo .acggc-banner-sigil{position:absolute;z-index:1;right:26px;top:20px;font-size:76px;opacity:.18;filter:drop-shadow(0 8px 20px rgba(255,255,255,.15))}

/* Game cards */
.acggc-sakurairo .acggc-game-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;margin:14px 0 30px}
.acggc-sakurairo .acggc-game-card{position:relative;display:grid;grid-template-columns:minmax(170px,.9fr) minmax(0,1.1fr);min-height:260px;border-radius:26px;overflow:hidden;background:rgba(255,255,255,.94);border:1px solid rgba(255,255,255,.94);box-shadow:0 14px 38px rgba(92,68,108,.10);transition:transform .25s ease,box-shadow .25s ease}
.acggc-sakurairo .acggc-game-card:hover{transform:translateY(-4px);box-shadow:0 22px 48px rgba(92,68,108,.16)}
.acggc-sakurairo .acggc-game-card.is-featured:after{content:"FEATURED";position:absolute;right:15px;top:15px;padding:5px 9px;border-radius:999px;background:rgba(255,255,255,.88);color:#d75f8a;font-size:9px;font-weight:900;letter-spacing:.12em;box-shadow:0 5px 15px rgba(70,45,90,.10)}
.acggc-sakurairo .acggc-game-media{position:relative;min-height:260px;overflow:hidden;background:linear-gradient(145deg,#efd7e9,#d8e6ff)}
.acggc-sakurairo .acggc-game-media>img{width:100%;height:100%;object-fit:cover;transition:transform .45s ease}.acggc-sakurairo .acggc-game-card:hover .acggc-game-media>img{transform:scale(1.035)}
.acggc-sakurairo .acggc-game-cover{width:100%;height:100%;min-height:260px;display:grid;place-items:center;font-size:72px;color:#fff;background:radial-gradient(circle at 70% 20%,rgba(255,255,255,.45),transparent 24%),linear-gradient(145deg,#c88fc7,#82bfe0)}
.acggc-sakurairo .acggc-game-status{position:absolute;left:13px;bottom:13px;padding:5px 9px;border-radius:999px;background:rgba(44,39,61,.65);color:#fff;font-size:9px;font-weight:900;letter-spacing:.1em;backdrop-filter:blur(9px)}
.acggc-sakurairo .acggc-game-status.is-online{background:rgba(75,170,130,.75)}
.acggc-sakurairo .acggc-game-card-body{padding:28px 25px;display:flex;flex-direction:column;align-items:flex-start;min-width:0}
.acggc-sakurairo .acggc-game-meta{font-size:10px;font-weight:900;color:#cf6f93;letter-spacing:.09em;text-transform:uppercase}.acggc-sakurairo .acggc-game-card-body h2{font-size:28px;margin:8px 0 7px}.acggc-sakurairo .acggc-game-card-body p{margin:0;color:#8f8398;line-height:1.65}.acggc-sakurairo .acggc-game-card-body .acggc-btn{margin-top:auto}

/* Platform content rows */
.acggc-sakurairo .acggc-platform-row,.acggc-sakurairo .acggc-platform-reward{border:1px solid rgba(239,190,207,.42);background:rgba(255,255,255,.82);border-radius:19px;box-shadow:0 6px 20px rgba(95,67,105,.045);transition:transform .18s ease,border-color .18s ease}
.acggc-sakurairo .acggc-platform-row:hover,.acggc-sakurairo .acggc-platform-reward:hover{transform:translateY(-1px);border-color:rgba(234,122,162,.32)}
.acggc-sakurairo .acggc-platform-level>div{border:1px solid rgba(239,190,207,.42);background:rgba(255,255,255,.78);border-radius:18px}
.acggc-sakurairo .acggc-platform-level strong{color:#65546f}
.acggc-sakurairo .acggc-progress{height:8px;background:#f2e8ee}.acggc-sakurairo .acggc-progress i{background:linear-gradient(90deg,#ff8fb0,#a27ae0,#7bcbe5);box-shadow:0 0 12px rgba(242,115,165,.18)}

/* Announcements */
.acggc-sakurairo .acggc-announcement{border:1px solid rgba(239,190,207,.48);background:rgba(255,255,255,.88);border-radius:20px;box-shadow:0 7px 24px rgba(98,73,108,.055);transition:transform .18s ease,box-shadow .18s ease}
.acggc-sakurairo .acggc-announcement:hover{transform:translateY(-1px);box-shadow:0 12px 28px rgba(98,73,108,.08)}
.acggc-sakurairo .acggc-announcement summary{padding:17px 19px}.acggc-sakurairo .acggc-announcement summary span{display:inline-flex;width:max-content;padding:5px 9px;border-radius:999px;background:#fff0f5;color:#df6c98;font-size:9px;letter-spacing:.07em}.acggc-sakurairo .acggc-announcement summary strong{font-size:16px}.acggc-sakurairo .acggc-announcement>div{color:#766b7d;border-color:rgba(239,190,207,.34)}

/* Achievement cards */
.acggc-sakurairo .acggc-achievement-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
.acggc-sakurairo .acggc-achievement-card{position:relative;overflow:hidden;padding:21px;border:1px solid rgba(239,190,207,.44);border-radius:22px;background:linear-gradient(145deg,rgba(255,255,255,.94),rgba(255,247,251,.82));box-shadow:0 8px 25px rgba(92,65,102,.06)}
.acggc-sakurairo .acggc-achievement-card.is-done{background:linear-gradient(145deg,#fffaf1,#fff5fa);border-color:rgba(234,179,88,.32)}
.acggc-sakurairo .acggc-achievement-card h2{margin:8px 0 7px;font-size:19px}.acggc-sakurairo .acggc-achievement-card p{min-height:42px;color:#8c8190;line-height:1.55}.acggc-sakurairo .acggc-achievement-card small{display:block;margin:9px 0 13px;color:#9b8b9e}
.acggc-sakurairo .acggc-achievement-icon{position:absolute;right:15px;top:13px;width:38px;height:38px;display:grid;place-items:center;border-radius:50%;background:#fff2f7;color:#e4719a;font-size:20px}.acggc-sakurairo .is-done .acggc-achievement-icon{background:#fff6dc;color:#d6a33a}
.acggc-sakurairo .acggc-achievement-progress{height:6px;margin-top:13px;border-radius:999px;background:#f2e7ed;overflow:hidden}.acggc-sakurairo .acggc-achievement-progress i{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,#ff90b2,#9c7fe5)}

/* Game status / HUD */
.acggc-sakurairo .acggc-status{grid-template-columns:repeat(6,minmax(0,1fr));gap:10px;margin:17px 0 22px}
.acggc-sakurairo .acggc-status>div{position:relative;overflow:hidden;min-height:82px;padding:16px 16px;align-items:flex-start;flex-direction:column;justify-content:center}
.acggc-sakurairo .acggc-status>div:after{content:"";position:absolute;right:-16px;bottom:-23px;width:58px;height:58px;border-radius:50%;background:radial-gradient(circle,rgba(255,153,184,.14),transparent 65%)}
.acggc-sakurairo .acggc-status small{font-size:10px;font-weight:800;letter-spacing:.05em}.acggc-sakurairo .acggc-status strong{font-size:18px;color:#5a4d66}

/* Adventure / inventory / character cards */
.acggc-sakurairo .acggc-stage-grid{gap:14px}.acggc-sakurairo .acggc-stage-card{min-height:250px;padding:20px;border-radius:22px;border:1px solid rgba(237,190,209,.43);background:linear-gradient(150deg,#fff,#fff8fb);box-shadow:0 8px 24px rgba(93,67,104,.055);transition:transform .2s ease,box-shadow .2s ease}
.acggc-sakurairo .acggc-stage-card:hover{transform:translateY(-3px);box-shadow:0 14px 30px rgba(93,67,104,.09)}.acggc-sakurairo .acggc-stage-card:before{height:4px;background:linear-gradient(90deg,#ff91b2,#a47de3,#7ecde6)}.acggc-sakurairo .acggc-stage-code{color:#d7638e}
.acggc-sakurairo .acggc-character-grid{gap:14px}.acggc-sakurairo .acggc-character{border-radius:22px;border-color:rgba(237,190,209,.43);box-shadow:0 8px 24px rgba(93,67,104,.055);transition:transform .2s ease,box-shadow .2s ease}.acggc-sakurairo .acggc-character:hover{transform:translateY(-3px);box-shadow:0 14px 32px rgba(93,67,104,.10)}
.acggc-sakurairo .acggc-item-card,.acggc-sakurairo .acggc-shop-card,.acggc-sakurairo .acggc-event-card,.acggc-sakurairo .acggc-task-row,.acggc-sakurairo .acggc-mail-row,.acggc-sakurairo .acggc-story-row{border-radius:20px!important;border-color:rgba(237,190,209,.42)!important;box-shadow:0 7px 22px rgba(93,67,104,.05)}

/* Gacha */
.acggc-sakurairo .acggc-banner-card{min-height:300px;border-radius:25px;padding:32px;background-color:#8069bd;box-shadow:0 16px 40px rgba(92,61,123,.16);position:relative}.acggc-sakurairo .acggc-banner-card:after{content:"PICK UP";position:absolute;right:17px;top:16px;padding:5px 9px;border:1px solid rgba(255,255,255,.28);border-radius:999px;background:rgba(255,255,255,.12);font-size:9px;font-weight:900;letter-spacing:.1em;backdrop-filter:blur(8px)}
.acggc-sakurairo .acggc-package{border-radius:18px;border-color:rgba(237,190,209,.5);box-shadow:0 5px 18px rgba(94,67,104,.045)}.acggc-sakurairo .acggc-package.active{outline:0;border-color:#ee82a8;background:linear-gradient(145deg,#fff8fb,#f8f3ff);box-shadow:0 8px 24px rgba(220,107,155,.15)}

/* Battle */
.acggc-sakurairo .acggc-battle-panel{background:linear-gradient(145deg,rgba(248,245,255,.95),rgba(255,249,252,.96))}.acggc-sakurairo .acggc-battlefield>div{border-radius:22px;background:rgba(255,255,255,.74);border-color:rgba(229,205,236,.65)}.acggc-sakurairo .acggc-unit{border-radius:18px;border-color:rgba(225,198,234,.64);box-shadow:0 4px 16px rgba(82,61,100,.04)}.acggc-sakurairo .acggc-unit.is-target{outline:0;border-color:#ee80a8;box-shadow:0 0 0 3px rgba(238,128,168,.13)}.acggc-sakurairo .acggc-unit.is-current{box-shadow:0 0 0 2px #a482df inset}.acggc-sakurairo .acggc-battle-log{background:linear-gradient(145deg,#413655,#302943);border:1px solid rgba(255,255,255,.09);border-radius:18px}

/* Coop boss */
.acggc-sakurairo .acggc-coop-panel:before{height:4px;background:linear-gradient(90deg,#ff8fae,#a483e5,#79cfe5)}
.acggc-sakurairo .acggc-coop-boss-art{border-radius:26px;border-color:rgba(255,255,255,.35);box-shadow:inset 0 0 60px rgba(54,34,75,.24),0 12px 34px rgba(79,52,103,.10)}
.acggc-sakurairo .acggc-coop-meta>div{border-radius:17px;background:rgba(255,255,255,.70);border:1px solid rgba(236,201,215,.52)}
.acggc-sakurairo .acggc-coop-hp{height:20px;background:#f3e8ed}.acggc-sakurairo .acggc-coop-hp i{background:linear-gradient(90deg,#f35d83,#ff9f9a)}.acggc-sakurairo .acggc-coop-shield{background:#eeeaf5}.acggc-sakurairo .acggc-coop-shield i{background:linear-gradient(90deg,#78cdea,#a48be4)}

/* Inputs */
.acggc-sakurairo input,.acggc-sakurairo select,.acggc-sakurairo textarea{border-color:rgba(218,188,214,.68)!important;background:rgba(255,255,255,.90)!important;color:#5b5061;border-radius:14px!important;box-shadow:inset 0 1px 0 rgba(255,255,255,.75)}
.acggc-sakurairo input:focus,.acggc-sakurairo select:focus,.acggc-sakurairo textarea:focus{border-color:#e68bad!important;box-shadow:0 0 0 3px rgba(231,139,175,.12)!important;outline:0}

/* Footer */
.acggc-sakurairo .acggc-footer{margin:34px 8px 0;padding:23px 14px 8px;border-top:1px dashed rgba(222,157,184,.34);color:#918395}.acggc-sakurairo .acggc-footer strong{color:#6c5d74}.acggc-sakurairo .acggc-footer a{color:#d66e96}

/* Compatibility with Sakurairo-like dark modes + OS dark mode */
html.dark .acggc-sakurairo,html[data-theme="dark"] .acggc-sakurairo,body.dark .acggc-sakurairo,body.dark-mode .acggc-sakurairo,body.night .acggc-sakurairo{
  --acg-paper:rgba(45,39,56,.82);--acg-paper-strong:rgba(53,45,64,.95);--acg-ink:#f1e9f2;--acg-muted:#baaebe;--acg-line:rgba(255,177,203,.13);--ink:var(--acg-ink);--muted:var(--acg-muted);--line:var(--acg-line);--glass:var(--acg-paper);
  background:radial-gradient(circle at 6% 4%,rgba(170,80,119,.20),transparent 25%),radial-gradient(circle at 96% 12%,rgba(91,139,180,.16),transparent 27%),linear-gradient(180deg,rgba(38,32,48,.97),rgba(31,28,42,.97));box-shadow:0 24px 80px rgba(0,0,0,.18)}
html.dark .acggc-sakurairo .acggc-cover-wave,html[data-theme="dark"] .acggc-sakurairo .acggc-cover-wave,body.dark .acggc-sakurairo .acggc-cover-wave,body.dark-mode .acggc-sakurairo .acggc-cover-wave,body.night .acggc-sakurairo .acggc-cover-wave{background:#292333}
html.dark .acggc-sakurairo .acggc-panel,html.dark .acggc-sakurairo .acggc-status>div,html[data-theme="dark"] .acggc-sakurairo .acggc-panel,html[data-theme="dark"] .acggc-sakurairo .acggc-status>div,body.dark .acggc-sakurairo .acggc-panel,body.dark .acggc-sakurairo .acggc-status>div,body.dark-mode .acggc-sakurairo .acggc-panel,body.dark-mode .acggc-sakurairo .acggc-status>div,body.night .acggc-sakurairo .acggc-panel,body.night .acggc-sakurairo .acggc-status>div{background:linear-gradient(145deg,rgba(53,46,65,.92),rgba(42,36,52,.83));border-color:rgba(255,255,255,.07);box-shadow:0 12px 35px rgba(0,0,0,.14)}
html.dark .acggc-sakurairo .acggc-section-nav,html[data-theme="dark"] .acggc-sakurairo .acggc-section-nav,body.dark .acggc-sakurairo .acggc-section-nav,body.dark-mode .acggc-sakurairo .acggc-section-nav,body.night .acggc-sakurairo .acggc-section-nav{background:rgba(46,39,56,.88);border-color:rgba(255,255,255,.08)}
html.dark .acggc-sakurairo .acggc-section-nav button,html[data-theme="dark"] .acggc-sakurairo .acggc-section-nav button,body.dark .acggc-sakurairo .acggc-section-nav button,body.dark-mode .acggc-sakurairo .acggc-section-nav button,body.night .acggc-sakurairo .acggc-section-nav button{color:#cabfce}
html.dark .acggc-sakurairo .acggc-game-card,html.dark .acggc-sakurairo .acggc-platform-row,html.dark .acggc-sakurairo .acggc-platform-reward,html.dark .acggc-sakurairo .acggc-announcement,html.dark .acggc-sakurairo .acggc-achievement-card,html[data-theme="dark"] .acggc-sakurairo .acggc-game-card,html[data-theme="dark"] .acggc-sakurairo .acggc-platform-row,html[data-theme="dark"] .acggc-sakurairo .acggc-platform-reward,html[data-theme="dark"] .acggc-sakurairo .acggc-announcement,html[data-theme="dark"] .acggc-sakurairo .acggc-achievement-card,body.dark .acggc-sakurairo .acggc-game-card,body.dark .acggc-sakurairo .acggc-platform-row,body.dark .acggc-sakurairo .acggc-platform-reward,body.dark .acggc-sakurairo .acggc-announcement,body.dark .acggc-sakurairo .acggc-achievement-card,body.dark-mode .acggc-sakurairo .acggc-game-card,body.dark-mode .acggc-sakurairo .acggc-platform-row,body.dark-mode .acggc-sakurairo .acggc-platform-reward,body.dark-mode .acggc-sakurairo .acggc-announcement,body.dark-mode .acggc-sakurairo .acggc-achievement-card{background:rgba(50,43,60,.87);border-color:rgba(255,255,255,.07);color:#f1e9f2}

/* Responsive */
@media(max-width:1050px){
  .acggc-sakurairo .acggc-platform-banners{grid-template-columns:1fr 1fr}.acggc-sakurairo .acggc-game-card{grid-template-columns:1fr}.acggc-sakurairo .acggc-game-media{min-height:210px}.acggc-sakurairo .acggc-status{grid-template-columns:repeat(3,minmax(0,1fr))}.acggc-sakurairo .acggc-achievement-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:800px){
  .acggc-sakurairo{margin:8px auto;padding:10px;border-radius:24px}.acggc-sakurairo .acggc-hero{min-height:450px;padding:48px 28px 78px;grid-template-columns:1fr}.acggc-sakurairo .acggc-hero h1{font-size:clamp(44px,13vw,70px)}.acggc-sakurairo .acggc-hero-emblem{position:absolute;right:-58px;top:40px;opacity:.28}.acggc-sakurairo .acggc-emblem-ring{width:180px;height:180px}.acggc-sakurairo .acggc-platform-banners,.acggc-sakurairo .acggc-game-grid{grid-template-columns:1fr}.acggc-sakurairo .acggc-platform-banner{min-height:270px}.acggc-sakurairo .acggc-section-nav{margin:-8px auto 18px;max-width:calc(100% - 8px);border-radius:19px;justify-content:flex-start}.acggc-sakurairo .acggc-status{grid-template-columns:repeat(2,minmax(0,1fr))}.acggc-sakurairo .acggc-game-anchor{margin:-5px 7px 16px}.acggc-sakurairo .acggc-panel{padding:20px}
}
@media(max-width:560px){
  .acggc-sakurairo .acggc-hero{min-height:470px;padding:42px 21px 74px}.acggc-sakurairo .acggc-hero-copy p{font-size:14px}.acggc-sakurairo .acggc-hero-chips span:nth-child(n/**/+3){display:none}.acggc-sakurairo .acggc-actions{gap:8px}.acggc-sakurairo .acggc-actions .acggc-btn{flex:1 1 auto;text-align:center}.acggc-sakurairo .acggc-platform-banner{padding:25px;min-height:250px}.acggc-sakurairo .acggc-banner-copy h2{font-size:31px}.acggc-sakurairo .acggc-game-card-body{padding:22px 20px}.acggc-sakurairo .acggc-game-card-body h2{font-size:25px}.acggc-sakurairo .acggc-status{grid-template-columns:1fr 1fr}.acggc-sakurairo .acggc-status>div{min-height:76px;padding:13px}.acggc-sakurairo .acggc-achievement-grid{grid-template-columns:1fr}.acggc-sakurairo .acggc-section-nav button{padding:8px 12px;font-size:11px}.acggc-sakurairo .acggc-game-anchor{padding:19px 20px}.acggc-sakurairo .acggc-panel{border-radius:21px}
}
@media(prefers-reduced-motion:reduce){.acggc-sakurairo .acggc-petal-field i{animation:none!important}}

/* ========================================================================== */
/* V1.7 Star Echo Lord / Kingdom UI                                           */
/* ========================================================================== */
body.acggc-focus-page h1.entry-title,body.acggc-focus-page h1.post-title,body.acggc-focus-page h1.page-title,body.acggc-focus-page .entry-footer,body.acggc-focus-page .toc-container{display:none!important}
body.acggc-focus-page .entry-content{margin:0!important;padding-top:0!important}
body.acggc-focus-page #primary,body.acggc-focus-page .site-main{width:100%!important;max-width:none!important}
body.acggc-focus-page .post-content{padding-top:0}
.acggc-star-echo{--kingdom-gold:#e4b65f;--kingdom-ink:#54465c;--kingdom-soft:#fff9fb}
.acggc-star-echo .acggc-hero{min-height:360px;background:linear-gradient(125deg,rgba(55,39,77,.94),rgba(114,71,133,.84) 45%,rgba(235,151,183,.74)),radial-gradient(circle at 78% 18%,rgba(255,255,255,.3),transparent 26%)}
.acggc-star-echo .acggc-hero h1{font-size:clamp(48px,8vw,86px);letter-spacing:.04em}
.acggc-game-shell{display:grid;grid-template-columns:164px minmax(0,1fr);gap:18px;align-items:start}
.acggc-command-rail{position:sticky;top:76px;z-index:15;display:flex;flex-direction:column;gap:7px;padding:14px;border:1px solid rgba(222,176,202,.45);border-radius:24px;background:rgba(255,252,254,.86);box-shadow:0 14px 38px rgba(88,63,104,.11);backdrop-filter:blur(18px)}
.acggc-rail-brand{padding:8px 9px 13px;border-bottom:1px solid rgba(209,167,194,.26);margin-bottom:3px}
.acggc-rail-brand strong{display:block;font-size:16px;color:#5d4665}.acggc-rail-brand small{font-size:10px;letter-spacing:.16em;color:#a484a1}
.acggc-command-rail button{appearance:none;border:0;background:transparent;color:#766279;border-radius:15px;padding:10px 9px;display:grid;grid-template-columns:25px 1fr;align-items:center;gap:7px;text-align:left;font:inherit;cursor:pointer;transition:.2s ease}
.acggc-command-rail button b{display:grid;place-items:center;width:25px;height:25px;border-radius:9px;background:rgba(237,215,231,.55);font-size:13px}
.acggc-command-rail button span{font-size:12px;font-weight:700;white-space:nowrap}
.acggc-command-rail button:hover{transform:translateX(2px);background:rgba(249,225,238,.65)}
.acggc-command-rail button.is-active{color:#fff;background:linear-gradient(135deg,#d98bad,#9d80ce);box-shadow:0 9px 20px rgba(186,112,160,.2)}
.acggc-command-rail button.is-active b{background:rgba(255,255,255,.18)}
.acgse-command-icon-image-wrap{position:relative;display:grid;place-items:center;width:24px;height:24px}.acgse-command-icon-image{position:absolute;inset:0;width:24px!important;height:24px!important;object-fit:contain!important;border-radius:5px}.acgse-command-icon-fallback{display:grid;place-items:center;width:100%;height:100%}
.acggc-game-content{min-width:0}
.acggc-game-content>[data-acggc-game-view]{margin-top:0}
.acggc-kingdom-overview{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(250px,.75fr);gap:16px}
.acggc-lord-card,.acggc-power-card,.acggc-idle-card,.acggc-building-card,.acggc-soldier-card,.acggc-mine-card,.acggc-cosmetic-card,.acggc-title-card,.acggc-portal-card{border:1px solid rgba(225,187,211,.42);border-radius:20px;background:linear-gradient(145deg,rgba(255,255,255,.92),rgba(255,247,251,.82));box-shadow:0 12px 30px rgba(92,67,108,.08)}
.acggc-lord-card{padding:24px;position:relative;overflow:hidden}.acggc-lord-card:after{content:"✦";position:absolute;right:-8px;top:-34px;font-size:130px;color:rgba(213,144,183,.09);transform:rotate(18deg)}
.acggc-lord-card h2{font-size:27px;margin:5px 0}.acggc-lord-meta{display:flex;gap:10px;flex-wrap:wrap;color:#90788e;font-size:12px}
.acggc-power-card{padding:22px}.acggc-power-total{font-size:36px;font-weight:900;color:#9d6894}.acggc-power-breakdown{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:13px}.acggc-power-breakdown span{padding:9px;border-radius:12px;background:rgba(244,226,238,.55);font-size:11px}.acggc-power-breakdown b{display:block;font-size:15px;color:#674f69}
.acggc-kingdom-portals{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-top:16px}.acggc-portal-card{padding:17px;text-align:left;cursor:pointer;color:#68536c}.acggc-portal-card b{display:block;font-size:22px;margin-bottom:5px}.acggc-portal-card span{display:block;font-size:12px;font-weight:800}.acggc-portal-card small{font-size:10px;color:#a0849f}.acggc-portal-card:hover{transform:translateY(-2px);box-shadow:0 15px 34px rgba(111,79,128,.13)}
.acggc-soldier-grid,.acggc-building-grid,.acggc-mine-grid,.acggc-cosmetic-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:13px}.acggc-soldier-card,.acggc-building-card,.acggc-mine-card{padding:18px}.acggc-cosmetic-card{padding:0;overflow:hidden}.acggc-soldier-card h4,.acggc-building-card h4,.acggc-mine-card h4,.acggc-cosmetic-card h4{margin:4px 0 8px;font-size:17px}.acggc-soldier-card .acggc-inline,.acggc-building-card .acggc-inline{margin-top:12px}
.acggc-territory-tabs{display:flex;gap:7px;margin:0 0 14px;overflow:auto;padding-bottom:3px}.acggc-territory-tabs button{border:0;border-radius:999px;padding:8px 15px;background:rgba(239,218,232,.55);color:#745c76;font-weight:700;white-space:nowrap}.acggc-territory-tabs button.is-active{background:linear-gradient(135deg,#d98bad,#9d80ce);color:#fff}
.acggc-idle-hub{display:grid;grid-template-columns:1fr 1fr;gap:14px}.acggc-idle-card{padding:22px}.acggc-idle-number{font-size:30px;font-weight:900;color:#a36d98}.acggc-idle-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:12px}

.acggc-title-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(170px,1fr));gap:13px}.acggc-title-card{display:flex;flex-direction:column;align-items:stretch;gap:0;padding:0;overflow:hidden}.acggc-title-card.is-unlocked{border-color:rgba(213,167,82,.45);background:linear-gradient(135deg,rgba(255,252,240,.96),rgba(255,246,251,.88))}.acggc-title-card small{display:block;color:#9a8496;margin-top:3px}
.acggc-special-event{position:fixed;inset:0;z-index:99999;display:grid;place-items:center;padding:20px;background:rgba(46,35,53,.48);backdrop-filter:blur(9px)}.acggc-special-event[hidden]{display:none}.acggc-special-event-card{width:min(560px,100%);border:1px solid rgba(255,255,255,.45);border-radius:28px;padding:30px;background:linear-gradient(145deg,rgba(255,255,255,.98),rgba(255,244,251,.96));box-shadow:0 30px 100px rgba(45,28,56,.28)}.acggc-special-event-card h2{font-size:27px;margin:6px 0 10px}.acggc-special-event-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:18px}
.acggc-kingdom-rank-list .is-me{border-color:rgba(211,147,187,.65);background:rgba(255,239,248,.86)}
.acggc-star-echo [data-acggc-game-view="operations"] .acggc-ops-nav{position:sticky;top:74px;z-index:12}
html.dark .acggc-command-rail,body.dark .acggc-command-rail,body.dark-mode .acggc-command-rail,body.night .acggc-command-rail{background:rgba(47,40,55,.9);border-color:rgba(255,255,255,.07)}
html.dark .acggc-lord-card,html.dark .acggc-power-card,html.dark .acggc-idle-card,html.dark .acggc-building-card,html.dark .acggc-soldier-card,html.dark .acggc-mine-card,html.dark .acggc-cosmetic-card,html.dark .acggc-title-card,body.dark .acggc-lord-card,body.dark .acggc-power-card,body.dark .acggc-idle-card,body.dark .acggc-building-card,body.dark .acggc-soldier-card,body.dark .acggc-mine-card,body.dark .acggc-cosmetic-card,body.dark .acggc-title-card{background:rgba(50,43,60,.88);border-color:rgba(255,255,255,.07);color:#f5edf5}
@media(max-width:1050px){.acggc-game-shell{grid-template-columns:138px minmax(0,1fr)}.acggc-command-rail{padding:10px}.acggc-command-rail button{grid-template-columns:22px 1fr;padding:9px 7px}.acggc-command-rail button span{font-size:11px}.acggc-kingdom-portals{grid-template-columns:repeat(2,1fr)}.acggc-soldier-grid,.acggc-building-grid,.acggc-mine-grid,.acggc-cosmetic-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:780px){.acggc-game-shell{display:block}.acggc-command-rail{position:sticky;top:5px;display:flex;flex-direction:row;overflow-x:auto;border-radius:17px;padding:7px;margin-bottom:12px;scrollbar-width:none}.acggc-command-rail::-webkit-scrollbar{display:none}.acggc-rail-brand{display:none}.acggc-command-rail button{display:flex;flex:0 0 auto;padding:7px 10px}.acggc-command-rail button b{width:21px;height:21px}.acggc-kingdom-overview,.acggc-idle-hub{grid-template-columns:1fr}.acggc-soldier-grid,.acggc-building-grid,.acggc-mine-grid,.acggc-cosmetic-grid{grid-template-columns:1fr 1fr}}
@media(max-width:520px){.acggc-soldier-grid,.acggc-building-grid,.acggc-mine-grid,.acggc-cosmetic-grid{grid-template-columns:1fr}.acggc-special-event-actions{grid-template-columns:1fr}.acggc-kingdom-portals{grid-template-columns:1fr 1fr}.acggc-power-breakdown{grid-template-columns:1fr 1fr}}
/* V1.7 class alignment for the live Star Echo template */
.acggc-lord-dashboard{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(220px,.72fr) minmax(220px,.72fr);gap:14px}
.acggc-lord-dashboard>.acggc-idle-summary{padding:22px;border:1px solid rgba(225,187,211,.42);border-radius:20px;background:linear-gradient(145deg,rgba(255,255,255,.92),rgba(255,247,251,.82));box-shadow:0 12px 30px rgba(92,67,108,.08)}
.acggc-lord-dashboard>.acggc-idle-summary strong{font-size:24px;color:#a36d98}
.acggc-feature-portals{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-top:15px}
.acggc-feature-portals button{appearance:none;text-align:left;border:1px solid rgba(225,187,211,.42);border-radius:19px;padding:17px;background:linear-gradient(145deg,rgba(255,255,255,.92),rgba(255,247,251,.82));color:#68536c;box-shadow:0 10px 26px rgba(92,67,108,.07);cursor:pointer;transition:.2s ease}
.acggc-feature-portals button:hover{transform:translateY(-2px);box-shadow:0 15px 32px rgba(92,67,108,.12)}
.acggc-feature-portals button b{display:block;font-size:24px}.acggc-feature-portals button span{display:block;font-weight:800;margin:4px 0}.acggc-feature-portals button small{display:block;color:#9d859c}
.acggc-idle-hub>article{padding:22px;border:1px solid rgba(225,187,211,.42);border-radius:20px;background:linear-gradient(145deg,rgba(255,255,255,.92),rgba(255,247,251,.82));box-shadow:0 12px 30px rgba(92,67,108,.08)}
.acggc-idle-hub>article .acggc-btn{margin-top:12px}
.acggc-mining-current{margin-bottom:13px;padding:14px 16px;border-radius:16px;background:rgba(244,226,238,.55);color:#735e74}
.acggc-special-dialog{width:min(560px,100%);border:1px solid rgba(255,255,255,.45);border-radius:28px;padding:30px;background:linear-gradient(145deg,rgba(255,255,255,.98),rgba(255,244,251,.96));box-shadow:0 30px 100px rgba(45,28,56,.28)}
.acggc-special-dialog h2{font-size:27px;margin:6px 0 10px}.acggc-special-dialog .acggc-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:18px}
html.dark .acggc-lord-dashboard>.acggc-idle-summary,html.dark .acggc-feature-portals button,html.dark .acggc-idle-hub>article,html.dark .acggc-special-dialog,body.dark .acggc-lord-dashboard>.acggc-idle-summary,body.dark .acggc-feature-portals button,body.dark .acggc-idle-hub>article,body.dark .acggc-special-dialog{background:rgba(50,43,60,.9);border-color:rgba(255,255,255,.07);color:#f4edf4}
@media(max-width:1050px){.acggc-lord-dashboard{grid-template-columns:1fr 1fr}.acggc-lord-card{grid-column:1/-1}.acggc-feature-portals{grid-template-columns:1fr 1fr}}
@media(max-width:780px){.acggc-lord-dashboard{grid-template-columns:1fr}.acggc-lord-card{grid-column:auto}.acggc-feature-portals{grid-template-columns:1fr 1fr}}
@media(max-width:520px){.acggc-feature-portals{grid-template-columns:1fr 1fr}.acggc-special-dialog .acggc-actions{grid-template-columns:1fr}}

/* V1.7.1 · adventure formation + stage-based idle */
.acggc-idle-stage-picker{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(280px,.9fr);gap:18px;align-items:center;padding:20px;margin:0 0 18px;border:1px solid rgba(255,154,190,.22);border-radius:24px;background:linear-gradient(135deg,rgba(255,255,255,.82),rgba(244,239,255,.76));box-shadow:0 18px 45px rgba(107,84,154,.08)}
.acggc-idle-stage-picker h2{margin:3px 0 6px}.acggc-idle-stage-picker p{margin:0;opacity:.75}.acggc-idle-stage-picker select{min-width:220px;max-width:100%}
.acggc-idle-enemies{grid-column:1/-1;display:flex;flex-wrap:wrap;gap:8px}.acggc-idle-enemies span{display:inline-flex;align-items:center;padding:7px 11px;border-radius:999px;background:rgba(255,255,255,.75);font-size:12px;border:1px solid rgba(125,104,173,.12)}
.acggc-idle-enemies .tier-elite,.acggc-unit.tier-elite .acggc-unit-top em{color:#8b5cf6}.acggc-idle-enemies .tier-boss,.acggc-unit.tier-boss .acggc-unit-top em{color:#e94f7b;font-weight:700}.acggc-idle-enemies .tier-mob{color:#53708f}
.acggc-team-slots.acggc-hero-slots{grid-template-columns:repeat(2,minmax(0,1fr));margin-bottom:20px}.acggc-team-slots.acggc-soldier-slots{grid-template-columns:repeat(4,minmax(0,1fr))}.acggc-team-summary{display:flex;flex-wrap:wrap;gap:8px;margin-top:16px}.acggc-team-summary>span{padding:9px 13px;border-radius:14px;background:rgba(255,255,255,.72);border:1px solid rgba(133,110,173,.12)}
.acggc-unit.unit-soldier{background:linear-gradient(145deg,rgba(236,246,255,.9),rgba(244,239,255,.9));border-color:rgba(100,145,210,.18)}.acggc-unit.unit-hero{background:linear-gradient(145deg,rgba(255,246,250,.94),rgba(248,243,255,.9))}.acggc-unit.tier-boss{box-shadow:0 0 0 1px rgba(233,79,123,.22),0 14px 34px rgba(233,79,123,.12)}.acggc-unit.tier-elite{box-shadow:0 0 0 1px rgba(139,92,246,.18),0 12px 28px rgba(139,92,246,.08)}
@media(max-width:900px){.acggc-idle-stage-picker{grid-template-columns:1fr}.acggc-team-slots.acggc-soldier-slots{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:560px){.acggc-team-slots.acggc-hero-slots,.acggc-team-slots.acggc-soldier-slots{grid-template-columns:1fr}.acggc-idle-stage-picker .acggc-inline{align-items:stretch}.acggc-idle-stage-picker select,.acggc-idle-stage-picker button{width:100%}}

/* V1.8 · Season / mining / archive */
.acggc-resource-strip{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:10px;margin:14px 0 22px}.acggc-resource-strip span{padding:12px 14px;border:1px solid var(--acggc-border,#eadff0);border-radius:16px;background:rgba(255,255,255,.68);display:flex;flex-direction:column;gap:3px}.acggc-resource-strip small{opacity:.68}.acggc-resource-strip strong{font-size:1.15rem}.acggc-season-summary{margin-bottom:18px}.acggc-season-hero{padding:22px;border-radius:24px;background:linear-gradient(135deg,rgba(253,239,249,.92),rgba(235,242,255,.92));border:1px solid rgba(215,181,224,.65);box-shadow:0 14px 34px rgba(80,51,105,.08);display:grid;gap:7px}.acggc-season-hero h2{font-size:1.55rem;margin:0}.acggc-season-reward-grid,.acggc-archive-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin:12px 0 24px}.acggc-archive-card{position:relative;padding:18px;border-radius:20px;border:1px solid rgba(220,205,230,.9);background:rgba(255,255,255,.75);box-shadow:0 10px 30px rgba(65,38,84,.06);overflow:hidden}.acggc-archive-card::before{content:"";position:absolute;inset:0 auto 0 0;width:4px;background:#aaa}.acggc-archive-card.tier-t0::before{background:linear-gradient(#ff6f9f,#9d74ff)}.acggc-archive-card.tier-t1::before{background:#b678e6}.acggc-archive-card.tier-t2::before{background:#72a7dc}.acggc-archive-card.tier-t3::before{background:#7bb7a0}.acggc-archive-card.is-locked{filter:saturate(.55);opacity:.78}.acggc-archive-head{display:flex;justify-content:space-between;gap:10px;font-size:.82rem}.acggc-archive-card h2{margin:8px 0}.acggc-archive-card details{margin-top:10px;padding-top:10px;border-top:1px dashed rgba(120,100,140,.2)}.acggc-archive-card blockquote{margin:10px 0 0;padding:9px 12px;border-left:3px solid rgba(186,118,218,.7);background:rgba(250,245,255,.7);border-radius:8px}.acggc-group-count{font-weight:700;color:#8b5d99}.acggc-stage.is-hard{border-color:rgba(194,92,126,.45);background:linear-gradient(155deg,rgba(255,246,249,.95),rgba(245,238,255,.92))}.quality-legendary{box-shadow:inset 0 0 0 1px rgba(243,180,55,.45),0 10px 25px rgba(184,126,26,.09)}.quality-epic{box-shadow:inset 0 0 0 1px rgba(159,104,211,.35)}
@media(max-width:900px){.acggc-resource-strip{grid-template-columns:repeat(3,minmax(0,1fr))}.acggc-season-reward-grid,.acggc-archive-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){.acggc-resource-strip{grid-template-columns:repeat(2,minmax(0,1fr))}.acggc-season-reward-grid,.acggc-archive-grid{grid-template-columns:1fr}.acggc-archive-card{padding:15px}}


/* V1.9.0 · front-end asset/menu hardening and theme compatibility */
body.acggc-focus-page .site-content,body.acggc-focus-page .site-content-contain,body.acggc-focus-page .content-area,body.acggc-focus-page #content,body.acggc-focus-page #primary,body.acggc-focus-page .site-main,body.acggc-focus-page main#main{width:100%!important;max-width:none!important}
body.acggc-focus-page .content-area,body.acggc-focus-page #primary{float:none!important;margin-left:auto!important;margin-right:auto!important}
body.acggc-focus-page .acggc-game-nav,body.acggc-focus-page .acggc-command-rail{display:flex!important;visibility:visible!important;opacity:1!important}
body.acggc-focus-page .acggc-command-rail button{visibility:visible!important;opacity:1!important}
.acggc-battle-log .acggc-narrative-source{display:inline-flex;align-items:center;margin-left:7px;padding:1px 6px;border-radius:999px;font-size:9px;font-weight:800;letter-spacing:.06em;background:rgba(168,153,255,.16);color:#c8bcff;vertical-align:middle}
.acggc-battle-log .acggc-narrative-source.is-local{background:rgba(255,255,255,.09);color:#cfc8db}
@media(max-width:780px){body.acggc-focus-page .acggc-command-rail{display:none!important}}

/* V1.10.0 · character dossier + friends/support heroes */
/* Authoritative archive card layout: header → 2:3 artwork → body → footer. */
.acggc-archive-card{width:100%;height:100%;text-align:left;border:1px solid rgba(120,140,180,.25);background:linear-gradient(145deg,rgba(255,255,255,.94),rgba(244,248,255,.86));border-radius:18px;padding:0;cursor:pointer;color:inherit;overflow:hidden;display:grid;grid-template-rows:auto 1fr auto;align-self:stretch;transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease}
.acggc-archive-card:hover,.acggc-archive-card:focus-visible{transform:translateY(-2px);border-color:rgba(98,104,210,.55);box-shadow:0 14px 34px rgba(34,45,90,.12);outline:none}
.acggc-archive-card .acggc-archive-head{min-height:42px;padding:12px 14px 10px;align-items:center}
.acggc-archive-card-main{display:grid;grid-template-rows:auto 1fr;gap:0;min-width:0;margin:0}
.acggc-archive-card-main>img,.acggc-archive-avatar{width:100%;height:auto;aspect-ratio:2/3;border-radius:0;object-fit:cover;object-position:center top;background:rgba(43,52,88,.08);display:block}
.acggc-archive-card-main>div{display:flex;min-width:0;flex-direction:column;padding:13px 14px 8px}
.acggc-archive-card-main h2{margin:0 0 5px}.acggc-archive-card-main small{min-height:1.4em}.acggc-archive-card-main p{margin:8px 0 0;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden}.acggc-archive-bonds{margin-top:auto;padding-top:9px}.acggc-archive-more{display:block;align-self:end;margin:0;padding:4px 14px 14px;font-size:12px;font-weight:700;letter-spacing:.04em;opacity:.68}
html.acggc-modal-open{overflow:hidden}
.acggc-archive-modal{position:fixed;inset:0;z-index:999999;display:grid;place-items:center;padding:20px}
.acggc-archive-modal[hidden]{display:none!important}.acggc-archive-modal-backdrop{position:absolute;inset:0;background:rgba(10,14,28,.72);backdrop-filter:blur(8px)}
.acggc-archive-dossier{position:relative;z-index:1;width:min(980px,96vw);max-height:min(88vh,960px);overflow:auto;border-radius:20px;background:linear-gradient(145deg,#f8fafc,#eef2f8);box-shadow:0 30px 80px rgba(0,0,0,.35);padding:24px;color:#1d2333;border:1px solid rgba(255,255,255,.55)}
.acggc-archive-close{position:sticky;float:right;top:0;z-index:4;width:38px;height:38px;border:0;border-radius:50%;background:#222a3b;color:#fff;font-size:25px;cursor:pointer}
.acggc-dossier-header{display:grid;grid-template-columns:170px minmax(0,1fr);gap:24px;padding-bottom:20px;border-bottom:1px solid rgba(35,48,76,.14)}
.acggc-dossier-header img,.acggc-dossier-avatar{width:170px;height:220px;object-fit:cover;border-radius:14px;background:linear-gradient(160deg,#2d3953,#121725);color:#fff;display:grid;place-items:center;font-size:54px}
.acggc-dossier-header h2{font-size:34px;margin:6px 0}.acggc-dossier-header blockquote{margin:16px 0 0;padding:12px 16px;border-left:3px solid #6670d8;background:rgba(102,112,216,.08)}
.acggc-dossier-owned,.acggc-dossier-facts,.acggc-dossier-stats,.acggc-social-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:16px 0}
.acggc-dossier-owned span,.acggc-dossier-facts>div,.acggc-dossier-stats>div,.acggc-social-summary>div{border:1px solid rgba(31,42,70,.12);border-radius:12px;padding:11px 12px;background:rgba(255,255,255,.58)}
.acggc-dossier-facts small,.acggc-dossier-stats small,.acggc-social-summary small{display:block;opacity:.58;margin-bottom:3px}.acggc-dossier-facts strong,.acggc-dossier-stats strong,.acggc-social-summary strong{display:block}
.acggc-dossier-trust{margin:16px 0;padding:14px 16px;border-radius:14px;background:rgba(82,96,193,.09)}.acggc-dossier-trust>div:first-child{display:flex;justify-content:space-between}.acggc-dossier-trust .acggc-progress{margin:8px 0}
.acggc-dossier-lock-note{margin:16px 0;padding:13px 15px;border:1px dashed rgba(35,48,76,.28);border-radius:12px;background:rgba(35,48,76,.05)}
.acggc-dossier-section{margin-top:14px;border-left:3px solid rgba(86,98,187,.75);padding:12px 16px;background:rgba(255,255,255,.58);border-radius:0 12px 12px 0}.acggc-dossier-section h4{margin:0 0 8px}.acggc-dossier-section p{margin:0;line-height:1.75}.acggc-dossier-section.is-locked{opacity:.68;border-left-style:dashed}
.acggc-dossier-skills{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.acggc-dossier-skills article{display:flex;justify-content:space-between;gap:12px;padding:10px;border-radius:10px;background:rgba(55,65,100,.07)}
.acggc-social-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin:16px 0}.acggc-social-card{border:1px solid rgba(120,140,180,.2);border-radius:18px;padding:16px;background:rgba(255,255,255,.62)}
.acggc-social-list{display:grid;gap:9px;margin-top:10px}.acggc-social-list article{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px;border-radius:12px;background:rgba(59,70,108,.06)}.acggc-social-list article>div:first-child{display:grid;gap:2px}.acggc-social-list small{opacity:.65}
.acggc-friend-grid{display:grid;grid-template-columns:repeat(2,minmax(360px,1fr));gap:16px}.acggc-friend-card{border:1px solid rgba(120,140,180,.2);border-radius:14px;padding:13px;background:rgba(255,255,255,.65)}.acggc-friend-head{display:flex;justify-content:space-between;gap:10px}.acggc-friend-head>div{display:grid}.acggc-friend-supports{display:flex;gap:6px;flex-wrap:wrap;margin-top:10px}.acggc-friend-supports span{font-size:12px;padding:5px 8px;border-radius:999px;background:rgba(86,98,187,.08)}
.acggc-support-slots{display:grid;gap:10px}.acggc-support-slot{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:9px;padding:10px;border-radius:12px;background:rgba(59,70,108,.06)}.acggc-support-slot select{min-width:0;width:100%}.acggc-selected-support{padding:14px;border-radius:14px;background:linear-gradient(145deg,rgba(94,105,198,.12),rgba(255,255,255,.62))}.acggc-selected-support h2{margin:5px 0}
@media(max-width:780px){.acggc-dossier-header{grid-template-columns:1fr}.acggc-dossier-header img,.acggc-dossier-avatar{width:100%;height:min(48vh,360px)}.acggc-dossier-owned,.acggc-dossier-facts,.acggc-dossier-stats,.acggc-social-summary{grid-template-columns:repeat(2,minmax(0,1fr))}.acggc-dossier-skills,.acggc-social-grid{grid-template-columns:1fr}.acggc-support-slot{grid-template-columns:1fr}.acggc-archive-dossier{padding:16px}}

.acggc-adventure-support{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:12px 0;padding:12px 14px;border:1px solid var(--acggc-border,rgba(127,127,127,.18));border-radius:14px;background:rgba(127,127,127,.06)}
.acggc-adventure-support span{font-size:13px;line-height:1.55}.acggc-adventure-support b{font-weight:700}
@media (max-width:640px){.acggc-adventure-support{align-items:flex-start;flex-direction:column}}

/* V1.11 · Seasonal Abyss warfront */
.acggc-warfront{margin:18px 0 28px;padding:18px;border:1px solid rgba(139,92,246,.22);border-radius:20px;background:linear-gradient(135deg,rgba(21,18,38,.86),rgba(44,23,56,.72));box-shadow:0 16px 44px rgba(0,0,0,.12)}
.acggc-warfront-hero{padding:18px;border-radius:18px;background:linear-gradient(120deg,rgba(74,36,93,.42),rgba(20,26,49,.6));border:1px solid rgba(244,114,182,.18)}
.acggc-warfront-hero h2{margin:.25rem 0 .4rem;font-size:1.55rem}.acggc-warfront-hero p{margin:.45rem 0;color:var(--acggc-muted,#b9b6ca)}
.acggc-warfront-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:14px 0}.acggc-warfront-stats span{padding:10px 12px;border-radius:14px;background:rgba(255,255,255,.06)}.acggc-warfront-stats small,.acggc-warfront-stats strong{display:block}.acggc-warfront-stats strong{font-size:1.1rem;margin-top:3px}
.acggc-warfront-lock{margin-top:12px;padding:10px 12px;border-radius:12px;border:1px solid rgba(251,191,36,.35);background:rgba(251,191,36,.08);font-weight:700}
.acggc-warfront-rounds{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:14px 0 20px}.acggc-warfront-round{padding:12px;border-radius:15px;background:rgba(255,255,255,.055);border:1px solid rgba(255,255,255,.08)}.acggc-warfront-round>div:first-child{display:grid;gap:2px}.acggc-warfront-round span,.acggc-warfront-round small{font-size:.78rem;opacity:.78}.acggc-warfront-round b{font-size:.95rem}.acggc-warfront-round .acggc-progress{height:8px;margin:9px 0 5px}.acggc-warfront-round p{margin:0;font-size:.82rem}.acggc-warfront-round.is-completed{border-color:rgba(52,211,153,.32)}.acggc-warfront-round.is-locked{opacity:.55}.acggc-warfront-round.is-ready{border-color:rgba(251,191,36,.38)}
.acggc-warfront-zone.is-extreme{border-color:rgba(244,63,94,.5);box-shadow:0 0 0 1px rgba(244,63,94,.12),0 12px 32px rgba(83,18,39,.2)}.acggc-warfront-zone.is-extreme .acggc-stage-code{color:#fb7185}.acggc-warfront-zone.is-hard .acggc-stage-code{color:#f59e0b}
.acggc-warfront-timeline{display:grid;gap:10px}.acggc-warfront-story{padding:14px 16px;border-left:3px solid rgba(167,139,250,.65);border-radius:0 14px 14px 0;background:rgba(255,255,255,.045)}.acggc-warfront-story header{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.acggc-warfront-story header span{font-size:.72rem;text-transform:uppercase;opacity:.65}.acggc-warfront-story header b{font-size:1rem}.acggc-warfront-story p{line-height:1.75;margin:.6rem 0;color:var(--acggc-text,#f6f4ff)}.acggc-warfront-story small{opacity:.58}
@media(max-width:900px){.acggc-warfront-rounds{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:620px){.acggc-warfront{padding:12px}.acggc-warfront-stats,.acggc-warfront-rounds{grid-template-columns:1fr}.acggc-warfront-story{padding:12px}}

/* V1.12 · adventure map catalogue */
.acggc-map-tabs{display:flex;gap:8px;flex-wrap:wrap;margin:16px 0 10px;padding:6px;border:1px solid var(--line);border-radius:16px;background:rgba(255,255,255,.55)}
.acggc-map-tab{appearance:none;border:0;border-radius:12px;background:transparent;padding:10px 14px;color:var(--ink);font-weight:800;cursor:pointer}.acggc-map-tab small{display:inline-grid;place-items:center;min-width:20px;height:20px;margin-left:5px;border-radius:999px;background:rgba(113,88,201,.09);font-size:10px}.acggc-map-tab.is-active{background:#fff;box-shadow:0 7px 18px rgba(73,57,118,.08);color:#654fc2}
.acggc-map-catalog{display:grid;grid-template-columns:repeat(auto-fit,minmax(235px,1fr));gap:10px;margin:10px 0 16px}.acggc-map-card{display:flex;flex-direction:column;gap:6px;min-height:160px;padding:15px 16px;border:1px solid var(--line);border-radius:16px;background:rgba(255,255,255,.72);transition:.15s ease}.acggc-map-card.is-selected{border-color:rgba(113,88,201,.58);box-shadow:0 0 0 2px rgba(113,88,201,.08),0 10px 24px rgba(73,57,118,.08)}.acggc-map-card.is-closed{background:rgba(246,244,250,.65)}.acggc-map-card h2{margin:2px 0;font-size:18px}.acggc-map-card p,.acggc-map-card small{margin:0;color:var(--muted);line-height:1.45}.acggc-map-card-actions{display:flex;align-items:center;gap:7px;flex-wrap:wrap;margin-top:auto;padding-top:8px}.acggc-map-locked{grid-column:1/-1;padding:26px;border:1px dashed rgba(113,88,201,.28);border-radius:17px;background:rgba(255,255,255,.55);text-align:center}.acggc-map-locked h2{margin:0 0 8px}.acggc-map-locked p{margin:0;color:var(--muted)}
@media(max-width:640px){.acggc-map-tabs{display:grid;grid-template-columns:1fr 1fr 1fr}.acggc-map-tab{padding:9px 7px;font-size:12px}.acggc-map-catalog{grid-template-columns:1fr}}

/* V1.12.1 resource display catalog */
.acggc-resource-inline{display:inline-flex;align-items:center;gap:5px;vertical-align:middle;white-space:nowrap}
.acggc-resource-icon{width:18px;height:18px;object-fit:contain;display:inline-block;vertical-align:-3px;flex:0 0 auto}
.acggc-status small .acggc-resource-icon{width:16px;height:16px}
.acggc-resource-strip small{display:flex;align-items:center;gap:5px}
.acggc-resource-strip small .acggc-resource-icon{width:20px;height:20px}

/* ========================================================================== */
/* V1.13 · Sakurairo responsive UI / dedicated battle / unit collections      */
/* ========================================================================== */
.acggc-mobile-command{display:none;align-items:center;justify-content:space-between;gap:12px;margin:0 0 14px;padding:10px 12px;border:1px solid rgba(222,176,202,.45);border-radius:20px;background:rgba(255,252,254,.88);box-shadow:0 10px 28px rgba(88,63,104,.09);backdrop-filter:blur(18px)}
.acggc-mobile-command>span{font-weight:850;color:#6d526f;white-space:nowrap}.acggc-mobile-command label{margin:0;flex:1;max-width:260px}.acggc-mobile-command select{width:100%;min-height:40px;border:1px solid rgba(210,176,201,.58);border-radius:13px;background:rgba(255,255,255,.92);color:#66506a;padding:7px 34px 7px 11px}
.acggc-rail-group{display:block;margin:8px 7px 1px;font-size:9px;font-weight:900;letter-spacing:.16em;color:#b08fa8;text-transform:uppercase}.acggc-rail-brand+.acggc-rail-group{margin-top:1px}
.acggc-local-tabs{display:flex;align-items:center;gap:7px;overflow-x:auto;scrollbar-width:none;margin:2px 0 18px;padding:6px;border:1px solid rgba(222,176,202,.38);border-radius:18px;background:rgba(255,250,253,.7)}.acggc-local-tabs::-webkit-scrollbar{display:none}.acggc-local-tabs button{appearance:none;border:0;flex:0 0 auto;border-radius:13px;background:transparent;color:#7b657c;padding:8px 13px;font:inherit;font-size:12px;font-weight:800;cursor:pointer;white-space:nowrap}.acggc-local-tabs button.is-active{background:#fff;color:#9b668e;box-shadow:0 6px 18px rgba(102,72,111,.09)}
.acggc-hero-tabs{margin-bottom:12px}.acggc-module-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;margin-bottom:12px}.acggc-module-heading h2{margin:0 0 4px}.acggc-module-toolbar{display:flex;gap:8px;flex-wrap:wrap;margin:0 0 16px}
.acggc-game-content>.acggc-panel{margin-bottom:14px}.acggc-game-content>.acggc-panel>.acggc-heading{margin-bottom:14px}.acggc-game-content h2{margin-top:20px}.acggc-game-content .acggc-note{line-height:1.65}
.acggc-collection-unit{display:grid!important;grid-template-columns:92px minmax(0,1fr);gap:14px;align-items:start;padding:14px!important}.acggc-unit-art{width:92px;aspect-ratio:3/4;border-radius:15px;overflow:hidden;background:linear-gradient(145deg,#f1e5ef,#e6e3f7);display:grid;place-items:center;font-size:32px}.acggc-unit-art img{width:100%;height:100%;object-fit:cover}.acggc-unit-art.is-fallback{color:#9b76aa}.acggc-unit-copy{min-width:0}.acggc-unit-copy h2{margin:3px 0 7px!important}.acggc-unit-copy p{margin:0 0 8px}.acggc-unit-copy .acggc-statline{grid-template-columns:repeat(2,minmax(0,1fr));margin:8px 0}.acggc-unit-copy .acggc-card-actions{margin-top:10px}
.acggc-support-card{min-height:0}.acggc-support-relation{display:inline-flex;align-items:center;padding:2px 6px;margin-right:4px;border-radius:999px;font-size:9px;letter-spacing:.04em;background:rgba(103,91,221,.1);color:#675bdd}.acggc-support-relation.is-guest{background:rgba(224,133,173,.12);color:#b35c88}.acggc-search-supports{display:flex;gap:6px;flex-wrap:wrap;margin-top:7px}.acggc-support-chip{appearance:none;border:1px solid rgba(119,101,190,.22);border-radius:999px;background:rgba(255,255,255,.75);padding:5px 8px;color:#675c83;font-size:11px;cursor:pointer}.acggc-support-chip:hover{border-color:rgba(119,101,190,.48);background:#fff}.acggc-player-search-card{align-items:flex-start!important}.acggc-player-search-card>div:last-child{display:flex;gap:6px;flex-wrap:wrap}
.acggc-battle-resume{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:0 0 16px;padding:14px 16px;border:1px solid rgba(134,104,203,.28);border-radius:18px;background:linear-gradient(135deg,rgba(247,241,255,.92),rgba(255,246,251,.9));box-shadow:0 10px 25px rgba(92,67,108,.07)}.acggc-battle-resume>div{display:grid;gap:3px}.acggc-battle-resume strong{font-size:15px}.acggc-battle-resume small{color:var(--muted)}
.acggc-battle-page{max-width:1280px!important}.acggc-battle-page-head{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;margin:0 0 16px;padding:26px 28px;border:1px solid rgba(222,176,202,.42);border-radius:28px;background:radial-gradient(circle at 85% 15%,rgba(226,151,190,.24),transparent 28%),linear-gradient(135deg,rgba(255,251,253,.96),rgba(244,240,253,.94));box-shadow:0 18px 46px rgba(83,62,100,.09)}.acggc-battle-page-head h1{margin:4px 0 8px;font-size:clamp(30px,5vw,48px);color:#5f4966}.acggc-battle-page-head p{max-width:720px;margin:0;color:#8d778e}.acggc-battle-status-strip{grid-template-columns:repeat(4,minmax(0,1fr))!important}
.acggc-battle-panel.is-dedicated{padding:clamp(16px,3vw,28px);min-height:480px}.acggc-battle-empty{display:grid;place-items:center;align-content:center;min-height:420px;text-align:center;padding:30px}.acggc-battle-empty>span{display:grid;place-items:center;width:72px;height:72px;border-radius:50%;margin-bottom:16px;background:linear-gradient(135deg,#dd8fb0,#9a80ce);color:#fff;font-size:32px;box-shadow:0 12px 35px rgba(156,102,158,.24)}.acggc-battle-empty h2{margin:0 0 8px}.acggc-battle-empty p{color:var(--muted);max-width:520px}
.acggc-battle-outcome{display:grid;grid-template-columns:auto minmax(0,1fr);gap:18px;align-items:start;margin:18px 0;padding:20px;border:1px solid rgba(113,88,201,.22);border-radius:20px;background:linear-gradient(135deg,rgba(250,247,255,.96),rgba(255,248,251,.94))}.acggc-battle-settlement-transition{display:grid;grid-template-columns:auto minmax(0,1fr);gap:18px;align-items:start;min-height:260px;margin:18px 0;padding:24px;border:1px solid rgba(113,88,201,.24);border-radius:20px;background:linear-gradient(135deg,rgba(247,244,255,.98),rgba(255,248,251,.96));box-shadow:0 18px 45px rgba(45,35,78,.08)}.acggc-battle-settlement-transition[hidden]{display:none!important}.acggc-battle-settlement-transition h2{margin:3px 0 8px}.acggc-battle-settlement-transition p{max-width:720px}.acggc-battle-settlement-transition .acggc-actions{margin-top:14px}.acggc-battle-outcome-icon{display:grid;place-items:center;width:54px;height:54px;border-radius:16px;background:linear-gradient(135deg,#d98bad,#917fd1);color:#fff;font-size:23px}.acggc-battle-outcome h2{margin:3px 0 7px}.acggc-battle-outcome p{margin:0 0 8px;color:var(--muted)}.acggc-battle-log-section{margin-top:18px}.acggc-battle-log-section>h2{margin:0 0 10px}.acggc-battle-panel.is-dedicated .acggc-battle-log{max-height:340px}


@media(max-width:1050px){
 .acggc-game-shell{grid-template-columns:150px minmax(0,1fr)}
 .acggc-command-rail{padding:10px}.acggc-command-rail button{padding:8px 7px}.acggc-rail-group{margin-left:5px}
 .acggc-collection-unit{grid-template-columns:78px minmax(0,1fr)}.acggc-unit-art{width:78px}
}
@media(max-width:780px){
 .acggc-command-rail{display:none!important}.acggc-mobile-command{display:flex;position:sticky;top:8px;z-index:24}
 .acggc-game-content>.acggc-panel{padding:17px}.acggc-local-tabs{margin-left:-3px;margin-right:-3px}
 .acggc-module-heading{flex-direction:column}.acggc-module-heading .acggc-btn{width:100%}
 .acggc-battle-page-head{align-items:flex-start;flex-direction:column;padding:20px}.acggc-battle-status-strip{grid-template-columns:repeat(2,minmax(0,1fr))!important}.acggc-battle-outcome{grid-template-columns:1fr}.acggc-battle-outcome-icon{width:48px;height:48px}.acggc-battle-settlement-transition{grid-template-columns:1fr;min-height:220px}
 .acggc-battle-resume{align-items:stretch;flex-direction:column}.acggc-battle-resume .acggc-btn{text-align:center}
}
@media(max-width:560px){
 .acggc-mobile-command{padding:8px 9px;border-radius:16px}.acggc-mobile-command>span{font-size:11px}.acggc-mobile-command label{max-width:none}.acggc-mobile-command select{min-height:38px;font-size:12px}
 .acggc-local-tabs{padding:5px}.acggc-local-tabs button{padding:8px 10px;font-size:11px}
 .acggc-collection-unit{grid-template-columns:64px minmax(0,1fr);gap:10px;padding:11px!important}.acggc-unit-art{width:64px;border-radius:12px}.acggc-unit-copy .acggc-statline{grid-template-columns:1fr 1fr}.acggc-unit-copy .acggc-card-actions{display:grid;grid-template-columns:1fr 1fr}.acggc-unit-copy .acggc-card-actions .acggc-btn{width:100%}
 .acggc-battle-page-head{border-radius:20px}.acggc-battle-panel.is-dedicated{padding:12px}.acggc-battlefield>div{padding:12px}.acggc-unit-grid{grid-template-columns:1fr 1fr}.acggc-battle-outcome{padding:15px}.acggc-battle-outcome .acggc-actions{display:grid;grid-template-columns:1fr}.acggc-battle-outcome .acggc-btn{width:100%}
 .acggc-social-list article{align-items:flex-start;flex-direction:column}.acggc-player-search-card>div:last-child{width:100%}.acggc-player-search-card>div:last-child .acggc-btn{width:100%}
}
.acggc-team-support-slot{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 14px;margin-bottom:14px;border:1px solid rgba(125,105,189,.22);border-radius:15px;background:linear-gradient(135deg,rgba(246,242,255,.84),rgba(255,249,252,.82))}.acggc-team-support-slot span{font-size:13px;line-height:1.55}.acggc-team-support-slot b{color:#765dae}@media(max-width:600px){.acggc-team-support-slot{align-items:stretch;flex-direction:column}.acggc-team-support-slot .acggc-btn{width:100%}}

/* V1.14.0 · multi-formation / limited-headhunt inspired UI / season level / premium benefits */






#acggc-banner-rail{display:flex;flex-direction:column;gap:8px}
.acggc-headhunt-banner{width:100%;height:100%;min-height:430px;display:flex;align-items:flex-end;padding:38px;position:relative;background-size:cover;background-position:center}.acggc-banner-copy{position:relative;z-index:2;max-width:64%;color:#fff;text-shadow:0 2px 16px rgba(0,0,0,.28)}.acggc-banner-copy h2{font-size:clamp(28px,3.5vw,48px);line-height:1.05;margin:9px 0 12px}.acggc-banner-copy p{font-size:14px;line-height:1.65;color:rgba(255,255,255,.83);max-width:560px}.acggc-headhunt-tag{display:inline-flex;align-items:center;gap:7px;padding:6px 10px;border:1px solid rgba(255,255,255,.3);background:rgba(16,15,30,.4);backdrop-filter:blur(8px);font-size:10px;font-weight:900;letter-spacing:.14em}.acggc-headhunt-banner.is-limited .acggc-headhunt-tag{background:rgba(126,60,102,.64);border-color:rgba(255,220,236,.42)}.acggc-up-showcase{display:flex;gap:6px;flex-wrap:wrap;margin-top:16px}.acggc-up-showcase span{display:inline-flex;padding:6px 9px;background:rgba(255,255,255,.14);border:1px solid rgba(255,255,255,.2);font-size:11px;font-weight:800;backdrop-filter:blur(8px)}


.acggc-formation-panel{background:linear-gradient(145deg,rgba(252,252,255,.95),rgba(246,244,253,.94))}.acggc-team-preset-bar{display:flex;align-items:stretch;gap:12px;margin:18px 0}.acggc-team-presets{display:grid;grid-template-columns:repeat(3,minmax(150px,1fr));gap:10px;flex:1;min-width:0}.acggc-team-preset{appearance:none;text-align:left;border:1px solid rgba(89,72,145,.15);background:rgba(255,255,255,.92);border-radius:16px;padding:13px 14px;cursor:pointer;min-height:92px;position:relative;transition:.16s ease;color:var(--ink)}.acggc-team-preset:hover{transform:translateY(-1px);box-shadow:0 9px 22px rgba(66,53,112,.07)}.acggc-team-preset.is-selected{border-color:rgba(116,91,199,.52);box-shadow:0 0 0 2px rgba(116,91,199,.09)}.acggc-team-preset.is-active:after{content:"出战";position:absolute;right:9px;top:9px;padding:3px 7px;border-radius:999px;background:#6f59be;color:#fff;font-size:9px;font-weight:900;letter-spacing:.08em}.acggc-team-preset strong{display:block;padding-right:38px;font-size:14px}.acggc-team-preset small{display:block;color:var(--muted);line-height:1.45;margin-top:7px}.acggc-team-expand{flex:0 0 190px;border:1px dashed rgba(91,72,151,.26);border-radius:16px;padding:12px;background:rgba(244,241,252,.64);font-size:12px;display:flex;flex-direction:column;justify-content:center;gap:7px}.acggc-team-expand .acggc-btn{width:100%;padding:8px 9px}.acggc-team-editor-head{display:flex;align-items:end;justify-content:space-between;gap:12px;padding:14px 16px;border-radius:15px;background:linear-gradient(90deg,rgba(68,53,110,.96),rgba(104,82,161,.92));color:#fff}.acggc-team-editor-head label{display:flex;flex-direction:column;gap:6px;font-size:11px;font-weight:800;letter-spacing:.06em;flex:1}.acggc-team-editor-head input{max-width:330px;border:1px solid rgba(255,255,255,.2);border-radius:10px;background:rgba(255,255,255,.12);color:#fff;padding:9px 11px;outline:none}.acggc-team-editor-head input::placeholder{color:rgba(255,255,255,.58)}.acggc-team-editor-head .acggc-btn{background:#fff}.acggc-formation-board{display:grid;grid-template-columns:minmax(0,.7fr) minmax(0,1.3fr);gap:14px;margin-top:14px}.acggc-formation-column{padding:16px;border:1px solid rgba(89,72,145,.13);border-radius:18px;background:rgba(255,255,255,.75);min-width:0}.acggc-formation-column h2{font-size:13px;text-transform:uppercase;letter-spacing:.08em;color:#655d7d;margin:3px 0 10px}.acggc-formation-column .acggc-team-slots{margin-top:0}.acggc-formation-column .acggc-team-slots label{background:rgba(255,255,255,.96)}

.acggc-list-toolbar{display:flex;gap:9px;align-items:center;flex-wrap:wrap;margin:15px 0 2px}.acggc-list-toolbar input,.acggc-list-toolbar select{border:1px solid var(--line);border-radius:11px;background:#fff;padding:9px 11px;min-height:40px}.acggc-list-toolbar input{flex:1 1 280px;min-width:180px}.acggc-list-toolbar select{flex:0 0 150px}.acggc-list-toolbar .acggc-note{margin-left:auto}.acggc-pager{display:flex;justify-content:center;align-items:center;gap:8px;flex-wrap:wrap;margin-top:16px}.acggc-pager button{appearance:none;border:1px solid var(--line);background:#fff;border-radius:10px;padding:7px 11px;cursor:pointer}.acggc-pager button:disabled{opacity:.45;cursor:not-allowed}.acggc-pager span{font-size:12px;color:var(--muted)}

.acggc-season-level-track{margin:16px 0 20px;padding:16px;border:1px solid rgba(101,79,166,.15);border-radius:17px;background:linear-gradient(135deg,rgba(255,255,255,.92),rgba(242,238,252,.9))}.acggc-season-level-head{display:flex;justify-content:space-between;align-items:end;gap:14px;margin-bottom:10px}.acggc-season-level-head strong{font-size:24px}.acggc-season-level-head span{font-size:12px;color:var(--muted)}.acggc-season-level-track .acggc-progress{height:10px;border-radius:999px;background:rgba(86,69,133,.12);overflow:hidden}.acggc-season-level-track .acggc-progress>i{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,#6c58c0,#b482cf)}.acggc-season-reward-card{position:relative}.acggc-season-level-badge{display:inline-flex;align-items:center;padding:4px 8px;margin-bottom:7px;border-radius:999px;background:#eee9f8;color:#5b4a91;font-size:10px;font-weight:900}.acggc-season-level-badge.is-ready{background:#e5f6ec;color:#34734c}.acggc-season-level-badge.is-claimed{background:#ececf0;color:#757582}

.acggc-premium-hub{margin-top:20px;padding:18px;border-radius:17px;border:1px solid rgba(88,67,145,.13);background:linear-gradient(145deg,rgba(245,241,255,.78),rgba(255,248,251,.76))}.acggc-premium-hub .acggc-heading h2{margin:2px 0 8px}.acggc-premium-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:11px}.acggc-premium-card{border:1px solid rgba(87,70,139,.13);border-radius:16px;background:rgba(255,255,255,.94);padding:16px;min-height:170px;display:flex;flex-direction:column;gap:8px;position:relative;overflow:hidden}.acggc-premium-card:before{content:"";position:absolute;right:-35px;top:-35px;width:100px;height:100px;border-radius:50%;background:radial-gradient(circle,rgba(143,117,210,.2),rgba(143,117,210,0) 68%)}.acggc-premium-card h4{margin:0;font-size:19px}.acggc-premium-card p{margin:0;color:var(--muted);line-height:1.55;font-size:12px}.acggc-premium-card .acggc-actions{margin-top:auto}.acggc-premium-card .acggc-actions .acggc-btn{flex:1}.acggc-premium-card.is-active{border-color:rgba(74,147,103,.28);box-shadow:inset 0 3px 0 rgba(75,157,106,.65)}

@media(max-width:1100px){.acggc-banner-copy{max-width:74%}.acggc-team-presets{grid-template-columns:repeat(2,minmax(150px,1fr))}}
@media(max-width:900px){#acggc-banner-rail{display:grid;grid-auto-flow:column;grid-auto-columns:minmax(145px,42vw);overflow-x:auto;padding-bottom:4px}.acggc-headhunt-banner{min-height:360px}.acggc-team-preset-bar{flex-direction:column}.acggc-team-expand{flex-basis:auto}.acggc-formation-board{grid-template-columns:1fr}.acggc-premium-grid{grid-template-columns:1fr}}
@media(max-width:620px){.acggc-headhunt-banner{min-height:315px}.acggc-headhunt-banner{padding:24px 20px}.acggc-banner-copy{max-width:92%}.acggc-banner-copy h2{font-size:30px}.acggc-team-presets{grid-template-columns:1fr}.acggc-team-editor-head{align-items:stretch;flex-direction:column}.acggc-team-editor-head input{max-width:none;width:100%}.acggc-formation-column{padding:12px}.acggc-list-toolbar{align-items:stretch}.acggc-list-toolbar input,.acggc-list-toolbar select{width:100%;flex-basis:auto}.acggc-list-toolbar .acggc-note{margin-left:0}.acggc-season-level-head{align-items:flex-start;flex-direction:column;gap:4px}}
.acggc-up-showcase>small{width:100%;font-size:10px;letter-spacing:.08em;color:rgba(255,255,255,.68)}.acggc-up-showcase>strong{display:inline-flex;padding:6px 9px;background:rgba(255,255,255,.14);border:1px solid rgba(255,255,255,.2);font-size:11px;font-weight:800;backdrop-filter:blur(8px)}.acggc-premium-card h2{margin:0;font-size:20px}.acggc-premium-card>strong{font-size:15px}.acggc-premium-card>small{color:var(--muted)}

/* V1.14.0 paid-points polish */
.acggc-package small{display:block;margin-top:4px;font-size:10px;color:var(--muted);font-weight:700}.acggc-premium-card.is-points{background:linear-gradient(145deg,rgba(248,244,255,.98),rgba(243,250,255,.96));border-color:rgba(112,91,176,.22)}.acggc-premium-card.is-points>strong{font-size:28px;letter-spacing:.02em}.acggc-premium-card.is-points>strong:after{content:" PTS";font-size:10px;color:var(--muted);margin-left:4px}

/* V1.14.0 formation visual preview */
.acggc-team-summary{--se-summary-bg:linear-gradient(145deg,rgba(255,251,247,.92),rgba(242,235,255,.9));--se-summary-text:#2d2940;--se-summary-muted:#726a82;--se-summary-border:rgba(112,88,154,.18);--se-summary-unit-bg:rgba(255,255,255,.62);margin-top:14px;padding:15px;border:1px solid var(--se-summary-border);border-radius:18px;background:var(--se-summary-bg);color:var(--se-summary-text);box-shadow:0 12px 28px rgba(48,39,75,.10)}
.acggc-team-summary-head{display:flex;align-items:end;justify-content:space-between;gap:12px;margin-bottom:12px}.acggc-team-summary-head small{display:block;font-size:9px;letter-spacing:.14em;color:var(--se-summary-muted)}.acggc-team-summary-head strong{display:block;font-size:18px;margin-top:3px}.acggc-team-summary-head>b{font-size:14px;color:var(--se-summary-text)}
.acggc-formation-preview-heroes{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-bottom:8px}.acggc-formation-preview-soldiers{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:7px}
.acggc-formation-unit{min-width:0;display:flex;align-items:center;gap:9px;padding:9px 10px;border:1px solid var(--se-summary-border);border-radius:13px;background:var(--se-summary-unit-bg);color:var(--se-summary-text)}.acggc-formation-unit img,.acggc-formation-unit-fallback{width:38px;height:38px;flex:0 0 38px;border-radius:10px;object-fit:cover;display:grid;place-items:center;background:var(--se-summary-unit-bg);font-weight:900}.acggc-formation-unit div{min-width:0}.acggc-formation-unit small,.acggc-formation-unit span{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.acggc-formation-unit small{font-size:8px;letter-spacing:.08em;color:var(--se-summary-muted)}.acggc-formation-unit strong{display:block;font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin:2px 0}.acggc-formation-unit span{font-size:9px;color:var(--se-summary-muted)}.acggc-formation-unit.is-soldier{padding:8px}.acggc-formation-unit.is-soldier .acggc-formation-unit-fallback{width:31px;height:31px;flex-basis:31px;border-radius:9px}.acggc-formation-unit.is-empty{opacity:.62;border-style:dashed}.acggc-formation-unit.rarity-SSR{box-shadow:inset 3px 0 0 rgba(180,128,32,.92)}.acggc-formation-unit.rarity-SR{box-shadow:inset 3px 0 0 rgba(134,85,190,.88)}
body.dark .acggc-team-summary,[data-theme=dark] .acggc-team-summary{--se-summary-bg:linear-gradient(145deg,#25243b,#171c32);--se-summary-text:#f3efff;--se-summary-muted:#bdb5d1;--se-summary-border:rgba(203,190,236,.18);--se-summary-unit-bg:rgba(255,255,255,.07)}
@media(max-width:900px){.acggc-formation-preview-soldiers{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:560px){.acggc-formation-preview-heroes,.acggc-formation-preview-soldiers{grid-template-columns:1fr}.acggc-team-summary-head{align-items:flex-start;flex-direction:column}}

/* ========================================================================== */
/* V1.15 · exploration dispatch / imagery / support tickets / standalone craft */
/* ========================================================================== */
.acggc-stage-art,.acggc-region-art,.acggc-building-art{display:block;width:100%;height:150px;object-fit:cover;border-radius:14px;margin:0 0 10px;background:linear-gradient(145deg,#ece7f5,#f8edf4)}
.acggc-building-art{height:105px}.acggc-battle-unit-art{display:block;width:100%;height:72px;object-fit:cover;border-radius:10px 10px 6px 6px;margin-bottom:7px;background:rgba(255,255,255,.08)}
.acggc-exploration-panel,.acggc-crafting-panel{display:grid;gap:16px}.acggc-expedition-formation{padding:16px;border:1px solid rgba(94,76,151,.14);border-radius:18px;background:linear-gradient(145deg,rgba(255,255,255,.94),rgba(245,241,253,.88))}.acggc-expedition-formation h2{margin:0 0 5px}.acggc-expedition-selects{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-top:12px}.acggc-expedition-selects label{display:grid;gap:6px;font-size:11px;font-weight:800;color:#6c627d}.acggc-expedition-selects select{width:100%;min-height:42px;border:1px solid var(--line);border-radius:12px;background:#fff;padding:8px 10px}
.acggc-exploration-current{margin-bottom:14px}.acggc-exploration-job{display:grid;grid-template-columns:140px minmax(0,1fr);gap:14px;align-items:center;padding:14px;border:1px solid rgba(95,78,151,.14);border-radius:18px;background:rgba(255,255,255,.88)}.acggc-exploration-job-art{width:140px;height:100px;object-fit:cover;border-radius:13px;background:#eee}.acggc-exploration-job h2{margin:0 0 6px}.acggc-exploration-job p{margin:3px 0;color:var(--muted)}
.acggc-ticket-form{display:grid;gap:10px;margin-bottom:18px;padding:15px;border:1px solid rgba(94,76,151,.14);border-radius:17px;background:rgba(255,255,255,.8)}.acggc-ticket-form-row{display:grid;grid-template-columns:180px minmax(0,1fr);gap:10px}.acggc-ticket-form input,.acggc-ticket-form select,.acggc-ticket-form textarea,.acggc-ticket-reply textarea{width:100%;border:1px solid var(--line);border-radius:11px;background:#fff;padding:9px 11px}.acggc-ticket-layout{display:grid;grid-template-columns:minmax(220px,.72fr) minmax(0,1.28fr);gap:14px}.acggc-ticket-list{display:grid;align-content:start;gap:8px}.acggc-ticket-row{appearance:none;width:100%;text-align:left;border:1px solid rgba(94,76,151,.13);border-radius:13px;background:rgba(255,255,255,.92);padding:11px 12px;cursor:pointer}.acggc-ticket-row:hover,.acggc-ticket-row.is-active{border-color:rgba(104,82,171,.42);box-shadow:0 6px 18px rgba(78,63,114,.07)}.acggc-ticket-row strong,.acggc-ticket-row small{display:block}.acggc-ticket-row small{margin-top:4px;color:var(--muted)}.acggc-ticket-thread{min-height:250px;padding:14px;border:1px solid rgba(94,76,151,.13);border-radius:16px;background:rgba(255,255,255,.82)}.acggc-ticket-message{max-width:82%;margin:0 0 9px;padding:10px 12px;border-radius:13px;background:#f0edf8}.acggc-ticket-message.is-player{margin-left:auto;background:#efe7f2}.acggc-ticket-message small{display:block;margin-top:5px;color:var(--muted)}.acggc-ticket-reply{display:grid;gap:8px;margin-top:12px}
@media(max-width:780px){.acggc-expedition-selects{grid-template-columns:1fr}.acggc-ticket-layout{grid-template-columns:1fr}.acggc-ticket-form-row{grid-template-columns:1fr}.acggc-exploration-job{grid-template-columns:1fr}.acggc-exploration-job-art{width:100%;height:160px}.acggc-stage-art,.acggc-region-art{height:130px}.acggc-ticket-message{max-width:95%}}

/* ========================================================================== */
/* V1.16 · platform/game split / visuals / exclusive weapons */
/* ========================================================================== */
.acggc-lord-card{display:grid;grid-template-columns:minmax(120px,34%) minmax(0,1fr);gap:16px;align-items:stretch;overflow:hidden}
.acggc-lord-visual{min-height:190px;border-radius:16px;display:grid;place-items:center;background:radial-gradient(circle at 50% 32%,rgba(255,255,255,.62),transparent 28%),linear-gradient(150deg,#e7d7ec,#d9dcf3);font-size:44px;color:#8f6e9c;overflow:hidden}
.acggc-lord-visual img{width:100%;height:100%;min-height:190px;object-fit:cover;object-position:center top}.acggc-lord-copy{min-width:0;align-self:center}
.acggc-battlefield.has-scene{background-size:cover;background-position:center;border-radius:20px;padding:14px}.acggc-battlefield.has-scene>div{background:rgba(22,20,35,.62);backdrop-filter:blur(7px);border-radius:15px}
.acggc-stage-art,.acggc-region-art,.acggc-building-art{overflow:hidden}.acggc-stage-art img,.acggc-region-art img,.acggc-building-art img{display:block;width:100%;height:100%;object-fit:cover}
.acggc-result-art,.acggc-item-art{height:120px;border-radius:12px;overflow:hidden;margin:-4px -4px 8px;background:linear-gradient(145deg,#eee8f6,#e5e8f4)}.acggc-result-art img,.acggc-item-art img{display:block;width:100%;height:100%;object-fit:cover}
.acggc-game-paytype{display:flex;align-items:center;gap:10px;margin:0 0 12px;padding:10px 12px;border:1px solid rgba(87,70,139,.12);border-radius:13px;background:rgba(255,255,255,.72)}.acggc-game-paytype span{font-size:11px;font-weight:800;color:var(--muted)}.acggc-game-paytype select{min-height:36px;border:1px solid var(--line);border-radius:10px;background:#fff;padding:6px 30px 6px 9px}
.acggc-platform-exchange-hub .acggc-premium-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.acggc-platform-exchange-hub .acggc-inline input{max-width:110px}
@media(max-width:700px){.acggc-lord-card{grid-template-columns:1fr}.acggc-lord-visual{min-height:240px}.acggc-platform-exchange-hub .acggc-premium-grid{grid-template-columns:1fr}.acggc-game-paytype{align-items:stretch;flex-direction:column}.acggc-game-paytype select{width:100%}}

/* ========================================================================== */
/* V1.17 · expedition cards / lord combat / unified collection / theme polish */
/* ========================================================================== */
.acggc-sakurairo{
  --acggc-v117-surface:rgba(255,255,255,.88);--acggc-v117-surface-2:rgba(250,247,253,.78);--acggc-v117-line:rgba(103,82,146,.14);--acggc-v117-text:#5f5368;--acggc-v117-muted:#8b7d91;--acggc-v117-accent:#8667c7;--acggc-v117-accent-2:#c978a3;--acggc-v117-shadow:0 12px 34px rgba(77,59,94,.08)
}
.acggc-back-home{display:inline-flex!important;align-items:center;gap:8px;min-height:42px!important;padding:9px 16px!important;border:1px solid rgba(143,104,181,.2)!important;border-radius:999px!important;background:linear-gradient(135deg,rgba(255,255,255,.96),rgba(246,236,251,.94))!important;color:#6d5679!important;font-weight:850!important;box-shadow:0 9px 22px rgba(89,61,109,.09)!important;transition:transform .16s ease,box-shadow .16s ease!important}.acggc-back-home span{display:grid;place-items:center;width:23px;height:23px;border-radius:50%;background:linear-gradient(135deg,#a489d4,#d68bae);color:#fff;font-size:20px;line-height:1}.acggc-back-home:hover{transform:translateY(-1px);box-shadow:0 13px 28px rgba(89,61,109,.14)!important}
.acggc-lord-card-v117{grid-template-columns:minmax(240px,38%) minmax(0,1fr)!important;padding:16px!important;background:var(--acggc-v117-surface)!important;border:1px solid var(--acggc-v117-line)!important;box-shadow:var(--acggc-v117-shadow)}.acggc-lord-card-v117 .acggc-lord-visual{min-height:330px;border-radius:20px}.acggc-lord-card-v117 .acggc-lord-visual img{min-height:330px}.acggc-lord-card-v117 .acggc-lord-copy{align-self:stretch;display:flex;flex-direction:column;justify-content:center}.acggc-lord-stat-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:7px;margin:12px 0}.acggc-lord-stat-grid span{padding:8px 9px;border:1px solid var(--acggc-v117-line);border-radius:11px;background:var(--acggc-v117-surface-2);font-size:10px;color:var(--acggc-v117-muted)}.acggc-lord-stat-grid b{display:block;margin-top:2px;font-size:13px;color:var(--acggc-v117-text)}.acggc-lord-equipment{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:2px 0 12px}.acggc-lord-eq-slot{display:grid;gap:3px;min-height:83px;padding:9px;border:1px solid var(--acggc-v117-line);border-radius:12px;background:var(--acggc-v117-surface-2)}.acggc-lord-eq-slot small,.acggc-lord-eq-slot span{color:var(--acggc-v117-muted);font-size:9px}.acggc-lord-eq-slot strong{font-size:12px;color:var(--acggc-v117-text)}.acggc-lord-eq-slot .acggc-btn{justify-self:start;margin-top:auto}.acggc-lord-actions{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap}.acggc-switch{display:inline-flex;align-items:center;gap:8px;padding:8px 11px;border:1px solid var(--acggc-v117-line);border-radius:999px;background:var(--acggc-v117-surface-2);font-weight:800;color:var(--acggc-v117-text)}.acggc-switch input{accent-color:#8b6fd0}
.acggc-exploration-capacity{display:flex;justify-content:space-between;align-items:center;gap:14px;flex-wrap:wrap;padding:14px 16px;margin-bottom:10px;border:1px solid var(--acggc-v117-line);border-radius:16px;background:linear-gradient(135deg,var(--acggc-v117-surface),var(--acggc-v117-surface-2));box-shadow:var(--acggc-v117-shadow)}.acggc-exploration-capacity>div{display:grid;gap:3px}.acggc-exploration-capacity strong{font-size:22px;color:var(--acggc-v117-text)}.acggc-exploration-capacity small{color:var(--acggc-v117-muted)}.acggc-exploration-slots{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:7px;margin:10px 0 14px}.acggc-exp-slot{appearance:none;display:grid;gap:2px;min-height:68px;padding:9px;border:1px solid var(--acggc-v117-line);border-radius:13px;background:var(--acggc-v117-surface);color:var(--acggc-v117-text);cursor:pointer;text-align:left}.acggc-exp-slot b{font-size:13px}.acggc-exp-slot span{font-size:10px}.acggc-exp-slot small{font-size:8px;color:var(--acggc-v117-muted)}.acggc-exp-slot.is-selected{border-color:rgba(134,103,199,.6);box-shadow:0 0 0 2px rgba(134,103,199,.1)}.acggc-exp-slot.is-running{background:linear-gradient(145deg,rgba(242,237,252,.94),rgba(255,248,252,.9))}.acggc-exp-slot.is-locked{opacity:.45;cursor:not-allowed}
.acggc-expedition-formation{background:var(--acggc-v117-surface)!important;border-color:var(--acggc-v117-line)!important}.acggc-expedition-selection-summary{display:flex;gap:7px;flex-wrap:wrap;margin:10px 0}.acggc-expedition-selection-summary span{padding:6px 9px;border:1px solid var(--acggc-v117-line);border-radius:999px;background:var(--acggc-v117-surface-2);font-size:10px;color:var(--acggc-v117-muted)}.acggc-expedition-selection-summary b{color:var(--acggc-v117-text)}.acggc-expedition-selects.acggc-expedition-fallback-selects{position:absolute!important;width:1px!important;height:1px!important;overflow:hidden!important;clip:rect(0 0 0 0)!important;clip-path:inset(50%)!important;white-space:nowrap!important}.acggc-exploration-current{display:grid;gap:9px}.acggc-exploration-job{background:var(--acggc-v117-surface)!important;border-color:var(--acggc-v117-line)!important}.acggc-exploration-job.is-ready{border-color:rgba(116,180,136,.45)!important;box-shadow:0 0 0 2px rgba(116,180,136,.08)}.acggc-exploration-region{background:var(--acggc-v117-surface)!important;border-color:var(--acggc-v117-line)!important}.acggc-exploration-region.is-busy{opacity:.78}
.acggc-archive-tabs{background:var(--acggc-v117-surface-2)!important;border-color:var(--acggc-v117-line)!important}.acggc-archive-tabs button{color:var(--acggc-v117-muted)!important}.acggc-archive-tabs button.is-active{color:var(--acggc-v117-accent)!important;background:var(--acggc-v117-surface)!important}.acggc-archive-card{background:var(--acggc-v117-surface)!important;border-color:var(--acggc-v117-line)!important;color:var(--acggc-v117-text)!important}.acggc-archive-card p,.acggc-archive-card small{color:var(--acggc-v117-muted)!important}
.acggc-premium-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important}.acggc-premium-card{overflow:hidden;position:relative;background:var(--acggc-v117-surface)!important;border-color:var(--acggc-v117-line)!important;box-shadow:var(--acggc-v117-shadow)}.acggc-premium-card.is-monthly:before,.acggc-premium-card.is-double:before{content:"";position:absolute;inset:0 0 auto;height:4px;background:linear-gradient(90deg,#a98bd9,#d98dad)}.acggc-premium-card.is-double:before{background:linear-gradient(90deg,#d6a659,#f0c972)}.acggc-double-grid{display:flex;gap:6px;flex-wrap:wrap;margin:10px 0}.acggc-double-tag{display:inline-flex;padding:5px 8px;border-radius:999px;background:rgba(116,102,139,.08);font-size:9px;color:var(--acggc-v117-muted)}.acggc-double-tag.is-available{background:rgba(207,154,74,.14);color:#9b6c22;font-weight:800}.acggc-double-tag.is-used{opacity:.62}
/* Warfront used to stay dark in light mode. V1.17 gives it explicit theme surfaces. */
.acggc-warfront{color:var(--acggc-v117-text)!important;background:linear-gradient(135deg,rgba(255,250,253,.94),rgba(246,242,253,.92))!important;border-color:rgba(137,103,190,.18)!important;box-shadow:var(--acggc-v117-shadow)!important}.acggc-warfront-hero,.acggc-warfront-round,.acggc-warfront-story{background:var(--acggc-v117-surface)!important;border-color:var(--acggc-v117-line)!important}.acggc-warfront-hero p,.acggc-warfront-story p{color:var(--acggc-v117-muted)!important}.acggc-warfront-round span,.acggc-warfront-round small,.acggc-warfront-story small{color:var(--acggc-v117-muted)!important}.acggc-warfront-zone.is-extreme{box-shadow:0 0 0 1px rgba(211,96,130,.08),0 10px 26px rgba(100,70,100,.07)!important}
.acggc-pager{display:flex;justify-content:center;align-items:center;gap:7px;flex-wrap:wrap;margin:14px 0}.acggc-pager button,.acggc-pager span{min-width:36px;padding:7px 9px;border-radius:10px}
/* Unified form/card tone prevents Sakurairo light/dark inheritance from creating white-on-white cards. */
.acggc-sakurairo input,.acggc-sakurairo select,.acggc-sakurairo textarea{color:var(--acggc-v117-text)}
html.dark .acggc-sakurairo,html[data-theme="dark"] .acggc-sakurairo,body.dark .acggc-sakurairo,body.dark-mode .acggc-sakurairo,body.night .acggc-sakurairo{--acggc-v117-surface:rgba(48,42,57,.92);--acggc-v117-surface-2:rgba(39,34,47,.88);--acggc-v117-line:rgba(255,255,255,.09);--acggc-v117-text:#f4edf5;--acggc-v117-muted:#c7b9c9;--acggc-v117-accent:#c7aff4;--acggc-v117-accent-2:#efaccb;--acggc-v117-shadow:0 14px 38px rgba(0,0,0,.16)}
html.dark .acggc-sakurairo .acggc-back-home,html[data-theme="dark"] .acggc-sakurairo .acggc-back-home,body.dark .acggc-sakurairo .acggc-back-home,body.dark-mode .acggc-sakurairo .acggc-back-home,body.night .acggc-sakurairo .acggc-back-home{background:linear-gradient(135deg,rgba(66,56,75,.98),rgba(48,42,58,.96))!important;color:#f3eaf4!important;border-color:rgba(255,255,255,.1)!important}
html.dark .acggc-sakurairo .acggc-warfront,html[data-theme="dark"] .acggc-sakurairo .acggc-warfront,body.dark .acggc-sakurairo .acggc-warfront,body.dark-mode .acggc-sakurairo .acggc-warfront,body.night .acggc-sakurairo .acggc-warfront{background:linear-gradient(135deg,rgba(43,36,53,.96),rgba(34,30,43,.94))!important;border-color:rgba(198,169,236,.14)!important;color:var(--acggc-v117-text)!important}
html.dark .acggc-sakurairo .acggc-lord-card-v117,html.dark .acggc-sakurairo .acggc-expedition-formation,html.dark .acggc-sakurairo .acggc-exploration-capacity,html.dark .acggc-sakurairo .acggc-exp-slot,html.dark .acggc-sakurairo .acggc-unit-pick,html.dark .acggc-sakurairo .acggc-exploration-job,html.dark .acggc-sakurairo .acggc-exploration-region,html.dark .acggc-sakurairo .acggc-archive-card,html.dark .acggc-sakurairo .acggc-premium-card,html[data-theme="dark"] .acggc-sakurairo .acggc-lord-card-v117,html[data-theme="dark"] .acggc-sakurairo .acggc-expedition-formation,html[data-theme="dark"] .acggc-sakurairo .acggc-exploration-capacity,html[data-theme="dark"] .acggc-sakurairo .acggc-exp-slot,html[data-theme="dark"] .acggc-sakurairo .acggc-unit-pick,html[data-theme="dark"] .acggc-sakurairo .acggc-exploration-job,html[data-theme="dark"] .acggc-sakurairo .acggc-exploration-region,html[data-theme="dark"] .acggc-sakurairo .acggc-archive-card,html[data-theme="dark"] .acggc-sakurairo .acggc-premium-card,body.dark .acggc-sakurairo .acggc-lord-card-v117,body.dark .acggc-sakurairo .acggc-expedition-formation,body.dark .acggc-sakurairo .acggc-exploration-capacity,body.dark .acggc-sakurairo .acggc-exp-slot,body.dark .acggc-sakurairo .acggc-unit-pick,body.dark .acggc-sakurairo .acggc-exploration-job,body.dark .acggc-sakurairo .acggc-exploration-region,body.dark .acggc-sakurairo .acggc-archive-card,body.dark .acggc-sakurairo .acggc-premium-card,body.dark-mode .acggc-sakurairo .acggc-lord-card-v117,body.dark-mode .acggc-sakurairo .acggc-expedition-formation,body.dark-mode .acggc-sakurairo .acggc-exploration-capacity,body.dark-mode .acggc-sakurairo .acggc-exp-slot,body.dark-mode .acggc-sakurairo .acggc-unit-pick,body.dark-mode .acggc-sakurairo .acggc-exploration-job,body.dark-mode .acggc-sakurairo .acggc-exploration-region,body.dark-mode .acggc-sakurairo .acggc-archive-card,body.dark-mode .acggc-sakurairo .acggc-premium-card{background:var(--acggc-v117-surface)!important;border-color:var(--acggc-v117-line)!important;color:var(--acggc-v117-text)!important}
html.dark .acggc-sakurairo input,html.dark .acggc-sakurairo select,html.dark .acggc-sakurairo textarea,html[data-theme="dark"] .acggc-sakurairo input,html[data-theme="dark"] .acggc-sakurairo select,html[data-theme="dark"] .acggc-sakurairo textarea,body.dark .acggc-sakurairo input,body.dark .acggc-sakurairo select,body.dark .acggc-sakurairo textarea,body.dark-mode .acggc-sakurairo input,body.dark-mode .acggc-sakurairo select,body.dark-mode .acggc-sakurairo textarea{background:#352e3e!important;border-color:rgba(255,255,255,.1)!important;color:#f4edf5!important}
@media(max-width:920px){.acggc-lord-card-v117{grid-template-columns:1fr!important}.acggc-lord-card-v117 .acggc-lord-visual,.acggc-lord-card-v117 .acggc-lord-visual img{min-height:420px}.acggc-premium-grid{grid-template-columns:1fr 1fr!important}.acggc-lord-stat-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.acggc-exploration-slots{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:620px){.acggc-lord-card-v117 .acggc-lord-visual,.acggc-lord-card-v117 .acggc-lord-visual img{min-height:310px}.acggc-lord-equipment,.acggc-premium-grid{grid-template-columns:1fr!important}.acggc-exploration-slots{grid-template-columns:repeat(2,minmax(0,1fr))}.acggc-lord-actions{align-items:stretch;flex-direction:column}.acggc-lord-actions .acggc-inline{width:100%}.acggc-lord-actions .acggc-inline input{min-width:0;flex:1}}

/* V1.17.1 polish */
.acggc a,.acggc a:hover,.acggc a:focus,.acggc .acggc-btn,.acggc .acggc-back-home,.acggc .acggc-battle-page-head a,.acggc .acggc-story-back,.acggc .acggc-return-link{text-decoration:none!important}
#acggc-message{margin:14px 0 18px}
.acggc-toast{display:block;padding:12px 14px;border-radius:14px;border:1px solid rgba(94,76,151,.16);background:rgba(255,255,255,.9);box-shadow:0 10px 24px rgba(73,57,118,.08);font-weight:700}
.acggc-toast.acggc-success{color:#226843;border-color:rgba(56,147,95,.22);background:linear-gradient(135deg,rgba(240,255,246,.96),rgba(250,255,252,.92))}
.acggc-toast.acggc-error{color:#a33757;border-color:rgba(198,77,113,.22);background:linear-gradient(135deg,rgba(255,242,247,.96),rgba(255,251,252,.92))}
.acggc-lord-dashboard-refined{grid-template-columns:minmax(0,1.35fr) minmax(320px,.65fr);align-items:start}
.acggc-lord-side-stack{display:grid;gap:14px}
.acggc-lord-meta-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:16px}
.acggc-lord-meta-grid>div{padding:14px;border:1px solid rgba(93,73,145,.12);border-radius:16px;background:rgba(255,255,255,.72)}
.acggc-lord-signature-box{margin-top:14px;padding:14px 16px;border-radius:16px;border:1px solid rgba(93,73,145,.12);background:linear-gradient(145deg,rgba(255,255,255,.92),rgba(246,241,255,.78));display:grid;gap:10px}
.acggc-lord-signature-box strong{font-size:16px;line-height:1.6}
.acggc-lord-signature-box input{flex:1;min-width:0;border:1px solid var(--line);border-radius:12px;padding:10px 12px;background:#fff}
.acggc-balance-highlight{min-width:220px;padding:16px 18px;border-radius:18px;background:linear-gradient(135deg,#6f57c6,#8c7df0);color:#fff;display:grid;gap:6px;box-shadow:0 12px 28px rgba(88,67,145,.22)}
.acggc-balance-highlight small,.acggc-balance-highlight span{color:rgba(255,255,255,.82)}
.acggc-balance-highlight strong{font-size:34px;line-height:1}
.acggc-recharge-controls{padding:18px;border-radius:18px;background:linear-gradient(145deg,rgba(251,250,255,.9),rgba(244,241,252,.88));border:1px solid rgba(91,72,151,.14)}
.acggc-custom-amount{margin:14px 0 2px;padding:14px 15px;border-radius:16px;border:1px dashed rgba(111,87,198,.28);background:rgba(255,255,255,.72)}
.acggc-custom-amount label{display:grid;gap:8px;font-size:13px;font-weight:700;color:var(--muted)}
.acggc-custom-amount input{border:1px solid var(--line);border-radius:12px;padding:11px 12px;background:#fff;font:inherit;color:var(--ink)}
.acggc-support-signature{display:block;margin-top:6px;color:#8d6385;font-style:italic;line-height:1.5}
.acggc-friend-head{align-items:flex-start}
.acggc-battle-scene-panel{display:grid;grid-template-columns:220px 1fr;gap:16px;padding:16px;border:1px solid rgba(255,255,255,.12);border-radius:18px;background:linear-gradient(145deg,rgba(19,23,41,.92),rgba(31,38,67,.86));margin-bottom:16px;color:#fff}
.acggc-battle-scene-art img{display:block;width:100%;height:132px;object-fit:cover;border-radius:14px}
.acggc-battle-scene-copy{display:grid;align-content:center;gap:8px}
.acggc-battle-scene-copy small{color:rgba(255,255,255,.72)}
.acggc-ticket-row small{line-height:1.45}
html.dark .acggc,body.dark .acggc,body.night .acggc,.dark .acggc{--ink:#f4f2ff;--muted:#c7c3d9;--line:rgba(214,205,255,.16);--glass:rgba(25,27,42,.88);background:radial-gradient(circle at 10% 0%,rgba(83,61,132,.34) 0,transparent 36%),radial-gradient(circle at 100% 10%,rgba(54,96,142,.28) 0,transparent 38%),#10131f;color:var(--ink)}
html.dark .acggc .acggc-panel,html.dark .acggc .acggc-status>div,body.dark .acggc .acggc-panel,body.dark .acggc .acggc-status>div,body.night .acggc .acggc-panel,body.night .acggc .acggc-status>div,.dark .acggc .acggc-panel,.dark .acggc .acggc-status>div{background:rgba(26,29,45,.86);box-shadow:0 18px 40px rgba(0,0,0,.26)}
html.dark .acggc .acggc-package,html.dark .acggc .acggc-character,html.dark .acggc .acggc-ticket-thread,html.dark .acggc .acggc-ticket-row,body.dark .acggc .acggc-package,body.dark .acggc .acggc-character,body.dark .acggc .acggc-ticket-thread,body.dark .acggc .acggc-ticket-row,body.night .acggc .acggc-package,body.night .acggc .acggc-character,body.night .acggc .acggc-ticket-thread,body.night .acggc .acggc-ticket-row,.dark .acggc .acggc-package,.dark .acggc .acggc-character,.dark .acggc .acggc-ticket-thread,.dark .acggc .acggc-ticket-row{background:rgba(33,36,56,.94);color:var(--ink)}
html.dark .acggc input,html.dark .acggc select,html.dark .acggc textarea,body.dark .acggc input,body.dark .acggc select,body.dark .acggc textarea,body.night .acggc input,body.night .acggc select,body.night .acggc textarea,.dark .acggc input,.dark .acggc select,.dark .acggc textarea{background:rgba(16,19,31,.94);color:var(--ink);border-color:var(--line)}
@media(max-width:900px){.acggc-lord-dashboard-refined{grid-template-columns:1fr}.acggc-lord-meta-grid,.acggc-battle-scene-panel{grid-template-columns:1fr}.acggc-balance-highlight{width:100%}}
.acggc-soldier-card .acggc-unit-art img{object-position:center top}
.acggc-dossier-header>div:first-child{min-height:260px;max-height:420px;overflow:hidden;border-radius:18px;background:rgba(112,91,180,.08)}
.acggc-dossier-header>div:first-child img{width:100%;height:100%;min-height:260px;max-height:420px;object-fit:cover;object-position:center top}
.acggc-battle-unit-art img{object-position:center top}
.acggc-cosmetic-art{width:100%;aspect-ratio:3/4;overflow:hidden;background:rgba(113,88,201,.08)}
.acggc-cosmetic-art img{display:block;width:100%;height:100%;object-fit:cover;object-position:top center}.acggc-cosmetic-copy,.acggc-title-copy{display:grid;gap:6px;padding:13px 14px}.acggc-cosmetic-card>.acggc-btn,.acggc-title-card>.acggc-btn{margin:0 14px 14px;width:calc(100% - 28px)}

/* V1.17.4 fixes and polish */
.acggc-sakurairo .acggc-hero-copy .acggc-kicker,.acggc-sakurairo .acggc-game-anchor .acggc-kicker,.acggc-battle-page-head .acggc-kicker{display:inline-flex;align-items:center;gap:8px;padding:7px 12px;border-radius:999px;background:rgba(255,255,255,.85);border:1px solid rgba(108,90,170,.16);color:#5a4b83;box-shadow:0 8px 24px rgba(71,54,113,.08)}
html.dark .acggc-sakurairo .acggc-hero-copy .acggc-kicker,html.dark .acggc-sakurairo .acggc-game-anchor .acggc-kicker,html.dark .acggc-battle-page-head .acggc-kicker,html[data-theme="dark"] .acggc-sakurairo .acggc-hero-copy .acggc-kicker,html[data-theme="dark"] .acggc-sakurairo .acggc-game-anchor .acggc-kicker,html[data-theme="dark"] .acggc-battle-page-head .acggc-kicker,body.dark .acggc-sakurairo .acggc-hero-copy .acggc-kicker,body.dark .acggc-sakurairo .acggc-game-anchor .acggc-kicker,body.dark .acggc-battle-page-head .acggc-kicker,body.dark-mode .acggc-sakurairo .acggc-hero-copy .acggc-kicker,body.dark-mode .acggc-sakurairo .acggc-game-anchor .acggc-kicker,body.dark-mode .acggc-battle-page-head .acggc-kicker{background:rgba(24,26,40,.88);border-color:rgba(255,255,255,.08);color:#efe8ff}
html.dark .acggc-sakurairo .acggc-game-anchor,html[data-theme="dark"] .acggc-sakurairo .acggc-game-anchor,body.dark .acggc-sakurairo .acggc-game-anchor,body.dark-mode .acggc-sakurairo .acggc-game-anchor{background:rgba(24,26,40,.92);border-color:rgba(255,255,255,.08)}
html.dark .acggc-sakurairo .acggc-game-anchor h2,html.dark .acggc-sakurairo .acggc-game-anchor p,html[data-theme="dark"] .acggc-sakurairo .acggc-game-anchor h2,html[data-theme="dark"] .acggc-sakurairo .acggc-game-anchor p,body.dark .acggc-sakurairo .acggc-game-anchor h2,body.dark .acggc-sakurairo .acggc-game-anchor p,body.dark-mode .acggc-sakurairo .acggc-game-anchor h2,body.dark-mode .acggc-sakurairo .acggc-game-anchor p{color:#f1edf8}

.acggc-battle-page-head{position:relative;overflow:hidden}
.acggc-battle-scene-panel{grid-template-columns:minmax(320px,.95fr) minmax(0,1fr);padding:20px;border-radius:22px;box-shadow:inset 0 0 0 1px rgba(255,255,255,.08),0 20px 48px rgba(14,18,35,.28)}
.acggc-battle-scene-art img{height:240px;border-radius:18px}.acggc-battle-scene-copy strong{font-size:26px;line-height:1.2}
.acggc-battlefield>div{background:rgba(10,13,24,.42);backdrop-filter:blur(8px)}
.acggc-turn-controls{padding:18px 20px;border-radius:20px;background:linear-gradient(145deg,rgba(251,249,255,.96),rgba(239,245,255,.92));border:1px solid rgba(120,99,190,.12)}
html.dark .acggc-turn-controls,html[data-theme="dark"] .acggc-turn-controls,body.dark .acggc-turn-controls,body.dark-mode .acggc-turn-controls{background:linear-gradient(145deg,rgba(30,33,49,.96),rgba(20,26,40,.96));border-color:rgba(255,255,255,.08)}

.acggc-lord-dashboard-refined{grid-template-columns:minmax(0,1.4fr) minmax(340px,.72fr)}
.acggc-lord-card-v117{padding:20px 20px 18px!important}.acggc-lord-card-v117 .acggc-lord-visual,.acggc-lord-card-v117 .acggc-lord-visual img{min-height:420px!important}
.acggc-lord-meta-grid{grid-template-columns:1fr!important}.acggc-lord-meta-grid>div{padding:16px 18px;border-radius:18px;background:rgba(255,255,255,.78);border:1px solid rgba(98,84,152,.12)}
html.dark .acggc-lord-meta-grid>div,html[data-theme="dark"] .acggc-lord-meta-grid>div,body.dark .acggc-lord-meta-grid>div,body.dark-mode .acggc-lord-meta-grid>div{background:rgba(31,35,56,.88);border-color:rgba(255,255,255,.08)}
.acggc-lord-eq-slot{position:relative;padding-left:78px;min-height:94px}.acggc-lord-eq-art{position:absolute;left:10px;top:10px;width:56px;height:72px;border-radius:14px;overflow:hidden;background:rgba(85,96,160,.08)}.acggc-lord-eq-art img{width:100%;height:100%;object-fit:cover}

#acggc-banner-rail{max-height:460px;overflow:auto;padding-right:4px}
#acggc-banner-rail::-webkit-scrollbar{width:10px}#acggc-banner-rail::-webkit-scrollbar-thumb{background:rgba(255,255,255,.18);border-radius:999px}

.acggc-item-art,.acggc-building-art,.acggc-region-art,.acggc-stage-art,.acggc-exploration-job-art{overflow:hidden;border-radius:16px;background:linear-gradient(145deg,rgba(233,238,255,.78),rgba(247,241,252,.86))}
.acggc-item-art img,.acggc-building-art img,.acggc-region-art img,.acggc-stage-art img,.acggc-exploration-job-art img{display:block;width:100%;height:100%;object-fit:cover}
.acggc-shop-card .acggc-item-art{height:150px;margin:-6px -6px 12px}.acggc-item .acggc-item-art,.acggc-item-card .acggc-item-art{height:120px;margin-bottom:12px}.acggc-building-art,.acggc-region-art,.acggc-stage-art{height:165px;margin-bottom:12px}.acggc-exploration-job-art{width:120px;min-height:110px;flex:0 0 120px}
.acggc-exploration-job{display:grid;grid-template-columns:120px minmax(0,1fr) auto;gap:14px;align-items:stretch}

.acggc-archive-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;align-items:stretch}
.acggc-archive-dossier{width:min(1080px,96vw)}.acggc-dossier-header{grid-template-columns:minmax(290px,.95fr) minmax(0,1fr);gap:28px}.acggc-dossier-header>div:first-child,.acggc-dossier-header>div:first-child img{min-height:420px;max-height:620px}.acggc-dossier-header img,.acggc-dossier-avatar{height:100%;width:100%;border-radius:18px;object-fit:cover;object-position:center top}

@media(max-width:920px){.acggc-battle-scene-panel,.acggc-dossier-header{grid-template-columns:1fr}.acggc-exploration-job{grid-template-columns:1fr}.acggc-exploration-job-art{width:100%;min-height:180px}.acggc-lord-card-v117 .acggc-lord-visual,.acggc-lord-card-v117 .acggc-lord-visual img{min-height:360px!important}}
@media(max-width:780px){#acggc-banner-rail{max-height:none;overflow-x:auto;overflow-y:hidden}.acggc-archive-grid{grid-template-columns:1fr}.acggc-battle-scene-art img{height:180px}}

/* V1.17.5 · Sakurairo command-menu visibility guard */
@media(min-width:781px){
  .acggc-sakurairo .acggc-game-shell{display:grid!important;grid-template-columns:164px minmax(0,1fr)!important;align-items:start!important}
  .acggc-sakurairo .acggc-command-rail{display:flex!important;visibility:visible!important;opacity:1!important;min-width:0!important;max-height:calc(100vh - 96px);overflow-y:auto;overflow-x:hidden}
  .acggc-sakurairo .acggc-command-rail button,.acggc-sakurairo .acggc-command-rail .acggc-rail-group,.acggc-sakurairo .acggc-command-rail .acggc-rail-brand{visibility:visible!important;opacity:1!important}
}
@media(min-width:781px) and (max-width:1050px){.acggc-sakurairo .acggc-game-shell{grid-template-columns:150px minmax(0,1fr)!important}}

/* V1.17.7 · gacha / lord / archive / shop layout pass */




.acggc-lord-dashboard-refined{grid-template-columns:1fr!important}.acggc-lord-card-v117{grid-column:1/-1!important}.acggc-lord-side-stack{grid-column:1/-1;display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.acggc-lord-side-stack>.acggc-power-card,.acggc-lord-side-stack>.acggc-idle-summary{min-height:210px;display:flex;flex-direction:column;justify-content:center}.acggc-lord-card-v117{grid-template-columns:minmax(320px,.78fr) minmax(0,1.22fr)!important}.acggc-lord-card-v117 .acggc-lord-visual,.acggc-lord-card-v117 .acggc-lord-visual img{min-height:500px!important}

.acggc-shop-showcase{display:grid;grid-template-columns:minmax(0,1fr) minmax(230px,34%);gap:18px;align-items:center;min-height:260px;margin:0 0 18px;padding:22px 24px;border:1px solid rgba(96,78,151,.13);border-radius:22px;background:linear-gradient(135deg,rgba(248,245,255,.95),rgba(236,244,255,.92));overflow:hidden}.acggc-shop-showcase h2{font-size:30px;margin:6px 0 10px}.acggc-shop-showcase p{max-width:620px;color:var(--muted);line-height:1.7}.acggc-shop-showcase img{justify-self:end;width:min(100%,300px);height:250px;object-fit:cover;object-position:center top;border-radius:20px;background:rgba(91,74,145,.08)}
html.dark .acggc-shop-showcase,html[data-theme="dark"] .acggc-shop-showcase,body.dark .acggc-shop-showcase,body.dark-mode .acggc-shop-showcase{background:linear-gradient(135deg,rgba(31,34,54,.96),rgba(24,31,49,.94));border-color:rgba(255,255,255,.08)}

.acggc-combat-rules-note{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:14px 0;padding:12px;border:1px solid rgba(94,77,151,.12);border-radius:16px;background:rgba(249,247,255,.72)}.acggc-combat-rules-note span{padding:10px 12px;border-radius:12px;background:rgba(255,255,255,.76);font-size:11px;line-height:1.6;color:var(--muted)}.acggc-combat-rules-note b{display:block;margin-bottom:2px;color:var(--ink);font-size:12px}
html.dark .acggc-combat-rules-note,html[data-theme="dark"] .acggc-combat-rules-note,body.dark .acggc-combat-rules-note,body.dark-mode .acggc-combat-rules-note{background:rgba(31,34,54,.76);border-color:rgba(255,255,255,.07)}html.dark .acggc-combat-rules-note span,html[data-theme="dark"] .acggc-combat-rules-note span,body.dark .acggc-combat-rules-note span,body.dark-mode .acggc-combat-rules-note span{background:rgba(18,21,34,.66)}

.acggc-archive-page{max-width:1280px!important}.acggc-archive-dossier-page{width:100%!important;max-height:none!important;overflow:visible!important;margin:0!important;padding:28px!important}.acggc-archive-dossier-page .acggc-dossier-header{grid-template-columns:minmax(360px,.92fr) minmax(0,1.08fr);gap:34px}.acggc-archive-dossier-page .acggc-dossier-header>div:first-child,.acggc-archive-dossier-page .acggc-dossier-header>div:first-child img{min-height:560px;max-height:720px}.acggc-archive-dossier-page .acggc-dossier-header h2{font-size:clamp(34px,4vw,52px)}

@media(max-width:900px){
  .acggc-lord-side-stack{grid-template-columns:1fr}.acggc-lord-card-v117{grid-template-columns:1fr!important}.acggc-lord-card-v117 .acggc-lord-visual,.acggc-lord-card-v117 .acggc-lord-visual img{min-height:420px!important}
  .acggc-shop-showcase{grid-template-columns:1fr}.acggc-shop-showcase img{justify-self:stretch;width:100%;height:300px}
  .acggc-combat-rules-note{grid-template-columns:1fr}.acggc-archive-dossier-page .acggc-dossier-header{grid-template-columns:1fr}.acggc-archive-dossier-page .acggc-dossier-header>div:first-child,.acggc-archive-dossier-page .acggc-dossier-header>div:first-child img{min-height:420px;max-height:620px}
}
@media(max-width:620px){.acggc-archive-dossier-page{padding:16px!important}.acggc-shop-showcase img{height:240px}}
.acggc-bond-tags{display:flex;gap:7px;flex-wrap:wrap;margin-top:4px}.acggc-bond-tag{display:inline-flex;padding:5px 8px;border:1px solid rgba(255,255,255,.18);border-radius:999px;background:rgba(255,255,255,.09);font-size:10px;font-weight:800;color:#fff}

/* V1.17.8 · payment-safe navigation / lord build / full-body collections / operations polish */
.acggc-sakurairo.acggc-star-echo-page .acggc-game-intro,.acggc-sakurairo .acggc-game-intro{
  background:linear-gradient(135deg,rgba(255,255,255,.96),rgba(246,242,255,.95))!important;
  border:1px solid rgba(104,84,164,.16)!important;
  color:#241f35!important;
  box-shadow:0 14px 38px rgba(73,57,118,.08)!important;
}
.acggc-sakurairo .acggc-game-intro h2{color:#241f35!important;text-shadow:none!important}
.acggc-sakurairo .acggc-game-intro p{color:#706982!important}
.acggc-sakurairo .acggc-game-intro .acggc-kicker{color:#66539c!important;background:rgba(114,91,185,.08)!important;border-color:rgba(114,91,185,.16)!important;opacity:1!important}
html.dark .acggc-sakurairo .acggc-game-intro,html[data-theme="dark"] .acggc-sakurairo .acggc-game-intro,body.dark .acggc-sakurairo .acggc-game-intro,body.dark-mode .acggc-sakurairo .acggc-game-intro{
  background:linear-gradient(135deg,rgba(30,31,48,.97),rgba(24,28,44,.96))!important;border-color:rgba(255,255,255,.09)!important;color:#f4f1ff!important;box-shadow:0 18px 46px rgba(0,0,0,.18)!important
}
html.dark .acggc-sakurairo .acggc-game-intro h2,html[data-theme="dark"] .acggc-sakurairo .acggc-game-intro h2,body.dark .acggc-sakurairo .acggc-game-intro h2,body.dark-mode .acggc-sakurairo .acggc-game-intro h2{color:#f7f4ff!important}
html.dark .acggc-sakurairo .acggc-game-intro p,html[data-theme="dark"] .acggc-sakurairo .acggc-game-intro p,body.dark .acggc-sakurairo .acggc-game-intro p,body.dark-mode .acggc-sakurairo .acggc-game-intro p{color:#c7c2d8!important}
html.dark .acggc-sakurairo .acggc-game-intro .acggc-kicker,html[data-theme="dark"] .acggc-sakurairo .acggc-game-intro .acggc-kicker,body.dark .acggc-sakurairo .acggc-game-intro .acggc-kicker,body.dark-mode .acggc-sakurairo .acggc-game-intro .acggc-kicker{color:#e7dcff!important;background:rgba(185,160,255,.12)!important;border-color:rgba(215,200,255,.18)!important}

.acggc-lord-card-v118{grid-column:1/-1!important;display:grid!important;grid-template-columns:minmax(330px,.82fr) minmax(0,1.18fr)!important;gap:24px!important;padding:22px!important}
.acggc-lord-card-v118 .acggc-lord-visual,.acggc-lord-card-v118 .acggc-lord-visual img{min-height:520px!important;max-height:620px;object-fit:cover;object-position:center top}
.acggc-lord-management{grid-column:1/-1;display:grid;grid-template-columns:minmax(300px,.72fr) minmax(0,1.28fr);gap:14px;margin-top:0}
.acggc-lord-profile-control,.acggc-lord-build-panel{border:1px solid rgba(96,78,151,.14);border-radius:20px;background:rgba(255,255,255,.78);padding:18px;box-shadow:0 12px 34px rgba(73,57,118,.055)}
.acggc-lord-profile-control{display:grid;grid-template-columns:96px minmax(0,1fr);gap:16px;align-items:start}.acggc-lord-card-avatar{width:96px;height:118px;border-radius:18px;overflow:hidden;background:linear-gradient(145deg,#ebe3ff,#e2eff8);border:1px solid rgba(96,78,151,.15)}.acggc-lord-card-avatar img{width:100%;height:100%;object-fit:cover}.acggc-lord-profile-fields{display:grid;gap:10px;min-width:0}.acggc-lord-profile-fields>strong{font-size:15px;line-height:1.65}.acggc-lord-actions{display:grid;gap:12px;margin-top:7px;padding-top:12px;border-top:1px solid var(--line)}
.acggc-lord-build-panel{display:grid;gap:14px}.acggc-heading-compact h2{margin:3px 0}.acggc-lord-build-controls{display:grid;grid-template-columns:repeat(2,minmax(130px,1fr)) auto;gap:9px;align-items:end}.acggc-lord-build-controls label{display:grid;gap:5px;font-size:11px;color:var(--muted);font-weight:800}.acggc-lord-build-controls select,.acggc-skill-book-card select{border:1px solid var(--line);border-radius:10px;background:#fff;padding:9px 10px;min-width:0}.acggc-lord-build-controls>span{grid-column:1/-1}.acggc-lord-stat-points{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}.acggc-lord-stat-points article{display:flex;justify-content:space-between;align-items:center;gap:8px;padding:11px;border:1px solid var(--line);border-radius:14px;background:rgba(248,246,255,.78)}.acggc-lord-stat-points article div{display:grid;gap:2px}.acggc-lord-stat-points strong{font-size:16px}.acggc-lord-stat-points span{font-size:9px;color:var(--muted)}
.acggc-lord-skillbooks{display:grid;gap:11px;padding-top:13px;border-top:1px solid var(--line)}.acggc-lord-skillbooks h2{margin:3px 0}.acggc-lord-current-skills{display:flex;gap:8px;flex-wrap:wrap}.acggc-lord-current-skills span{padding:8px 10px;border-radius:11px;background:rgba(107,84,180,.07);border:1px solid rgba(107,84,180,.12);font-size:11px}.acggc-skill-book-list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}.acggc-skill-book-card{display:grid;grid-template-columns:64px minmax(0,1fr);gap:10px;padding:10px;border:1px solid var(--line);border-radius:15px;background:rgba(255,255,255,.82)}.acggc-skill-book-card>img{width:64px;height:88px;object-fit:cover;border-radius:11px;background:rgba(96,78,151,.08)}.acggc-skill-book-card h4{margin:3px 0}.acggc-skill-book-card p{font-size:10px;line-height:1.5;color:var(--muted);margin:3px 0}.acggc-skill-book-card small{display:block;color:var(--muted);line-height:1.45}.acggc-skill-book-card .acggc-inline{margin-top:7px}.acggc-skill-book-card .acggc-inline select{flex:1;max-width:100%}
.acggc-formation-status{margin-top:13px;padding-top:12px;border-top:1px solid var(--line)}.acggc-formation-status>small{display:block;margin-bottom:7px;color:var(--muted)}.acggc-formation-chips{display:flex;gap:7px;flex-wrap:wrap}.acggc-formation-chips span{display:inline-flex;align-items:center;gap:4px;padding:7px 9px;border:1px solid rgba(96,78,151,.14);border-radius:999px;background:rgba(247,244,255,.88);font-size:11px;color:#5d5570}.acggc-formation-chips span.is-on{background:rgba(74,154,106,.11);border-color:rgba(74,154,106,.23);color:#31704a}.acggc-formation-chips span.is-off{opacity:.68}

/* All hero-facing collection cards use full-body art. Lord avatar remains the only portrait/avatar UI. */
.acggc-character-grid{grid-template-columns:repeat(auto-fit,minmax(230px,1fr))!important;align-items:stretch}.acggc-character{display:flex!important;flex-direction:column!important;min-height:0!important}.acggc-character-art{width:100%;height:310px;overflow:hidden;background:linear-gradient(145deg,#e8e2f6,#e5eef7)}.acggc-character-art img,.acggc-character>img{width:100%!important;height:310px!important;min-height:0!important;object-fit:cover!important;object-position:center top!important}.acggc-character-body{flex:1}
.acggc-collection-unit{display:flex!important;flex-direction:column!important;padding:0!important;overflow:hidden}.acggc-unit-art{width:100%!important;height:270px!important;aspect-ratio:auto!important;border-radius:0!important}.acggc-unit-art img{object-position:center top}.acggc-unit-copy{padding:14px 15px 16px}.acggc-soldier-grid{grid-template-columns:repeat(auto-fit,minmax(230px,1fr))!important}
.acggc-archive-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important;align-items:stretch}

/* Gacha: the pool list stays left; banner and controls live together on the right. */



/* Shop is its own top-level page; operations tabs are only for events/tasks/sign-in/mail/story. */
.acggc-ops-grid{display:block!important}.acggc-ops-grid>.acggc-panel{width:100%!important;margin:0 0 18px!important}.acggc-subnav[data-acggc-game-view="operations"]{display:flex;gap:7px;flex-wrap:wrap;padding:9px;margin-bottom:12px;border:1px solid var(--line);border-radius:17px;background:rgba(255,255,255,.72)}.acggc-subnav[data-acggc-game-view="operations"] button{flex:1 1 110px;border-radius:12px;padding:10px 12px}.acggc-shop-page{width:100%;max-width:none}.acggc-premium-card{overflow:hidden}.acggc-premium-art{height:175px;margin:-16px -16px 14px;overflow:hidden;background:linear-gradient(145deg,#e9e4f6,#e5eff9)}.acggc-premium-art img{width:100%;height:100%;display:block;object-fit:cover;object-position:center top}

html.dark .acggc-lord-profile-control,html.dark .acggc-lord-build-panel,html[data-theme="dark"] .acggc-lord-profile-control,html[data-theme="dark"] .acggc-lord-build-panel,body.dark .acggc-lord-profile-control,body.dark .acggc-lord-build-panel,body.dark-mode .acggc-lord-profile-control,body.dark-mode .acggc-lord-build-panel{background:rgba(29,32,51,.9);border-color:rgba(255,255,255,.08)}
html.dark .acggc-lord-build-controls select,html.dark .acggc-skill-book-card select,html[data-theme="dark"] .acggc-lord-build-controls select,html[data-theme="dark"] .acggc-skill-book-card select,body.dark .acggc-lord-build-controls select,body.dark .acggc-skill-book-card select,body.dark-mode .acggc-lord-build-controls select,body.dark-mode .acggc-skill-book-card select{background:#20243a;color:#eee9ff;border-color:rgba(255,255,255,.1)}
html.dark .acggc-lord-stat-points article,html.dark .acggc-skill-book-card,html[data-theme="dark"] .acggc-lord-stat-points article,html[data-theme="dark"] .acggc-skill-book-card,body.dark .acggc-lord-stat-points article,body.dark .acggc-skill-book-card,body.dark-mode .acggc-lord-stat-points article,body.dark-mode .acggc-skill-book-card{background:rgba(17,20,34,.68);border-color:rgba(255,255,255,.07)}

@media(max-width:900px){.acggc-lord-card-v118{grid-template-columns:1fr!important}.acggc-lord-card-v118 .acggc-lord-visual,.acggc-lord-card-v118 .acggc-lord-visual img{min-height:420px!important}.acggc-lord-management{grid-template-columns:1fr}.acggc-lord-stat-points{grid-template-columns:repeat(2,minmax(0,1fr))}.acggc-skill-book-list{grid-template-columns:1fr}.acggc-archive-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media(max-width:620px){.acggc-lord-profile-control{grid-template-columns:72px minmax(0,1fr)}.acggc-lord-card-avatar{width:72px;height:92px}.acggc-lord-build-controls{grid-template-columns:1fr 1fr}.acggc-lord-build-controls .acggc-btn{grid-column:1/-1}.acggc-lord-stat-points{grid-template-columns:1fr 1fr}.acggc-character-art,.acggc-character-art img,.acggc-character>img{height:280px!important}.acggc-archive-grid{grid-template-columns:1fr!important}.acggc-premium-art{height:210px}.acggc-subnav[data-acggc-game-view="operations"] button{flex:1 1 44%}}

/* V1.18 · readable portrait collections, recovery facilities, payment choices and compact commerce. */
.acggc-character,.acggc-collection-unit{display:flex!important;flex-direction:column!important;overflow:hidden}
.acggc-character-art,.acggc-character-art img,.acggc-character>img,.acggc-collection-unit .acggc-unit-art{width:100%!important;height:auto!important;aspect-ratio:3/4!important;border-radius:0!important}
.acggc-character-art img,.acggc-character>img,.acggc-collection-unit .acggc-unit-art img{width:100%;height:100%!important;object-fit:cover!important;object-position:center top}
.acggc-character-body,.acggc-collection-unit .acggc-unit-copy{width:100%;padding:15px 16px 17px}
.acggc-stage-card{padding:0;min-height:0}.acggc-stage-card>:not(.acggc-stage-art){margin-left:16px;margin-right:16px}.acggc-stage-card .acggc-stage-footer{margin-bottom:16px}.acggc-stage-art{width:100%;height:auto!important;aspect-ratio:3/4;margin:0 0 14px!important}.acggc-stage-art img{width:100%;height:100%;object-fit:cover}
.acggc-skill-book-list{grid-template-columns:repeat(auto-fit,minmax(190px,1fr))}.acggc-skill-book-card{grid-template-columns:1fr;align-content:start;padding:0;overflow:hidden}.acggc-skill-book-card>img{width:100%;height:auto;aspect-ratio:1/1;border-radius:0;object-fit:cover}.acggc-skill-book-card>div{padding:12px 14px 15px}
.acggc-lord-meta-grid{grid-template-columns:1fr!important}.acggc-lord-meta-grid>div+div{margin-top:12px;padding-top:14px;border-top:1px solid var(--line)}
.acggc-lord-management{grid-template-columns:1fr!important}.acggc-lord-profile-fields>.acggc-kicker{display:block;width:100%;margin-bottom:2px}.acggc-lord-build-panel{margin-top:2px}
.acggc-namecard-preview{display:grid;grid-template-columns:150px minmax(0,1fr);gap:18px;align-items:center;padding:18px;border:1px solid rgba(96,78,151,.14);border-radius:20px;background:linear-gradient(135deg,rgba(46,40,75,.96),rgba(90,72,136,.9));color:#fff;overflow:hidden}.acggc-namecard-art{height:180px;border-radius:15px;overflow:hidden;background:rgba(255,255,255,.1)}.acggc-namecard-art img{width:100%;height:100%;object-fit:cover;object-position:center top}.acggc-namecard-preview h2{margin:6px 0}.acggc-namecard-preview p{font-size:16px}.acggc-namecard-preview small{color:rgba(255,255,255,.7)}
.acggc-ai-battle-profile{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px 18px;padding:18px;border:1px solid rgba(96,78,151,.14);border-radius:20px;background:rgba(255,255,255,.78)}.acggc-ai-battle-profile>label:not(.acggc-switch){grid-column:1/-1;display:grid;gap:7px;font-size:12px;font-weight:800}.acggc-ai-battle-profile textarea{width:100%;border:1px solid var(--line);border-radius:12px;padding:11px;background:#fff;color:var(--ink);resize:vertical}.acggc-ai-battle-profile>.acggc-btn{justify-self:start}.acggc-ai-battle-profile>#acggc-ai-preference-note{align-self:center}
.acggc-recovery-hub{margin-top:18px;padding:20px;border:1px solid rgba(96,78,151,.14);border-radius:21px;background:linear-gradient(145deg,rgba(248,246,255,.92),rgba(238,247,250,.9))}.acggc-recovery-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.acggc-recovery-grid>article{display:grid;gap:10px;padding:17px;border:1px solid var(--line);border-radius:17px;background:rgba(255,255,255,.88)}.acggc-recovery-grid h2{margin:0}.acggc-recovery-stats{display:flex;flex-wrap:wrap;gap:7px}.acggc-recovery-stats span{padding:7px 9px;border-radius:10px;background:rgba(105,86,166,.07);font-size:11px}
.acggc-subnav[data-acggc-game-view="operations"]{flex-wrap:nowrap!important;overflow-x:auto}.acggc-subnav[data-acggc-game-view="operations"] button{flex:1 0 max-content!important;white-space:nowrap}
.acggc-coop-boss{display:flex!important;flex-direction:column!important}.acggc-coop-boss-art{width:100%!important;height:auto!important;aspect-ratio:16/9!important;border-radius:18px!important;overflow:hidden}.acggc-coop-boss-art img{width:100%;height:100%!important;object-fit:cover}.acggc-coop-boss-info{width:100%}

.acggc-payment-options,.acggc-paytypes{display:flex;gap:10px;flex-wrap:wrap}.acggc-payment-options label,.acggc-paytypes label{position:relative;display:flex!important;align-items:center;gap:10px;min-width:180px;padding:11px 14px!important;border:1px solid var(--line);border-radius:15px;background:#fff;cursor:pointer}.acggc-payment-options input,.acggc-paytypes input{position:absolute;opacity:0}.acggc-payment-options label:has(input:checked),.acggc-paytypes label:has(input:checked){border-color:#8268d7;box-shadow:0 0 0 3px rgba(130,104,215,.12)}.acggc-pay-icon{display:grid;place-items:center;width:36px;height:36px;border-radius:10px;color:#fff;font-size:18px}.acggc-pay-icon.is-alipay{background:#1677ff}.acggc-pay-icon.is-usdt{background:#26a17b}.acggc-payment-options label>span,.acggc-paytypes label>span{display:grid;font-weight:900}.acggc-payment-options small,.acggc-paytypes small{font-weight:500;color:var(--muted);font-size:10px}
.acggc-shop-tools{display:flex;justify-content:space-between;align-items:center;gap:15px;margin:0 0 14px}.acggc-shop-tools label{display:flex;align-items:center;gap:8px;font-size:12px;font-weight:800}.acggc-shop-tools select{border:1px solid var(--line);border-radius:10px;padding:8px;background:#fff}.acggc-shop-summary{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.acggc-shop-card.is-gift{border-color:rgba(183,118,194,.3);background:linear-gradient(160deg,#fff,rgba(255,240,250,.78))}.acggc-shop-dialog{width:min(580px,calc(100vw - 28px));padding:0;border:0;border-radius:22px;background:#fff;color:var(--ink);box-shadow:0 28px 90px rgba(20,18,39,.38)}.acggc-shop-dialog::backdrop{background:rgba(16,14,28,.64);backdrop-filter:blur(5px)}.acggc-dialog-close{position:absolute;right:12px;top:12px;z-index:2;width:36px;height:36px;border:0;border-radius:50%;background:rgba(20,18,34,.72);color:#fff;font-size:22px;cursor:pointer}.acggc-shop-detail-art{height:260px}.acggc-shop-detail-art img{width:100%;height:100%;object-fit:cover;object-position:center top}.acggc-shop-detail-art~*{margin-left:24px;margin-right:24px}.acggc-shop-detail-body,.acggc-shop-dialog>#acggc-shop-detail-body{padding-bottom:25px}
@media(max-width:900px){.acggc-recovery-grid{grid-template-columns:1fr}}
@media(max-width:620px){.acggc-namecard-preview{grid-template-columns:92px minmax(0,1fr)}.acggc-namecard-art{height:128px}.acggc-ai-battle-profile{grid-template-columns:1fr}.acggc-ai-battle-profile>.acggc-switch{justify-self:start}.acggc-payment-options label,.acggc-paytypes label{width:100%}.acggc-shop-tools{align-items:flex-start;flex-direction:column}.acggc-stage-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.acggc-stage-card>:not(.acggc-stage-art){margin-left:10px;margin-right:10px}.acggc-stage-card p,.acggc-stage-card small{font-size:10px}.acggc-stage-card h2{font-size:16px}}
/* V1.19 · Lord command, accessible cards, gacha console and extraction */
.acggc-lord-card-v118{display:grid;grid-template-columns:minmax(240px,34%) 1fr;align-items:start;gap:28px;padding:22px;background:linear-gradient(145deg,var(--acggc-card,#fff),color-mix(in srgb,var(--acggc-accent,#8d6cff) 8%,var(--acggc-card,#fff)));border:1px solid color-mix(in srgb,var(--acggc-accent,#8d6cff) 22%,transparent)}
.acggc-lord-card-v118 .acggc-lord-visual{width:100%;aspect-ratio:3/4;min-height:0;border-radius:22px;overflow:hidden;background:linear-gradient(155deg,#191b3a,#6751b8)}
.acggc-lord-card-v118 .acggc-lord-visual img{width:100%;height:100%;object-fit:cover;object-position:center top}
.acggc-lord-copy{min-width:0}.acggc-lord-overview,.acggc-lord-equipped{margin-top:22px;padding-top:18px;border-top:1px solid color-mix(in srgb,currentColor 12%,transparent)}
.acggc-section-caption{display:flex;justify-content:space-between;align-items:end;margin-bottom:12px}.acggc-section-caption h4{margin:0;font-size:1.08rem}
.acggc-lord-stat-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.acggc-lord-stat-grid>span{padding:10px 12px;border-radius:12px;background:color-mix(in srgb,var(--acggc-accent,#8d6cff) 8%,transparent);display:flex;justify-content:space-between;gap:8px}
.acggc-lord-equipped{margin-top:28px}.acggc-lord-equipment{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.acggc-lord-eq-slot{min-height:138px;padding:12px;border-radius:16px;border:1px solid color-mix(in srgb,currentColor 12%,transparent);background:color-mix(in srgb,var(--acggc-card,#fff) 88%,transparent)}
.acggc-lord-profile-control{display:grid;grid-template-columns:72px 1fr;align-items:start}.acggc-lord-profile-fields>.acggc-kicker{display:block;width:100%;margin-bottom:8px}.acggc-lord-build-panel{margin-top:30px;clear:both}
.acggc-friends-namecard{margin:18px 0 24px;min-height:220px;background:linear-gradient(120deg,#fff 0%,#f4f0ff 60%,#e6ddff 100%);color:#27243d;box-shadow:0 18px 44px rgba(56,43,104,.13)}
.acggc-friends-namecard .acggc-namecard-art{aspect-ratio:3/4;align-self:stretch}.acggc-friends-namecard .acggc-namecard-art img{width:100%;height:100%;object-fit:cover;object-position:top}
@media(prefers-color-scheme:dark){.acggc-friends-namecard{background:linear-gradient(120deg,#17192a,#24203b 58%,#382f59);color:#f6f2ff;border-color:rgba(196,178,255,.25)}}
html.dark .acggc-friends-namecard,html[data-theme="dark"] .acggc-friends-namecard,body.dark .acggc-friends-namecard,body.dark-mode .acggc-friends-namecard,body.night .acggc-friends-namecard{background:linear-gradient(120deg,#17192a,#24203b 58%,#382f59);color:#f6f2ff;border-color:rgba(196,178,255,.25)}
.acggc-star-guide{margin:14px 0;padding:14px 18px;border-left:4px solid var(--acggc-accent,#8d6cff);border-radius:0 14px 14px 0;background:color-mix(in srgb,var(--acggc-accent,#8d6cff) 8%,transparent)}.acggc-star-guide h2{margin:3px 0}.acggc-star-guide p{margin:4px 0}
.acggc-quick-card-grid,.acggc-team-quick-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(120px,140px));gap:12px;align-items:start}.acgse-quick-pick-card{appearance:none;display:flex!important;flex-direction:column!important;width:100%;max-width:140px;min-width:0;overflow:hidden;padding:0!important;text-align:left;border:1px solid var(--acggc-v117-line,var(--line));border-radius:14px;background:var(--acggc-v117-surface,var(--glass));color:var(--acggc-v117-text,var(--ink));cursor:pointer;box-shadow:0 4px 12px rgba(77,59,94,.04)}.acgse-quick-pick-card>img{display:block;width:100%!important;height:auto!important;aspect-ratio:1/1!important;object-fit:cover!important;object-position:center!important;border-radius:0!important;background:linear-gradient(145deg,#eadfed,#e4e5f5)}.acgse-quick-pick-card>span{display:grid;gap:4px;padding:10px 11px 12px}.acgse-quick-pick-card>b,.acgse-quick-pick-card>small,.acgse-quick-pick-card>em{display:block;min-width:0;margin:0;padding-left:11px;padding-right:11px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.acgse-quick-pick-card>b{padding-top:9px}.acgse-quick-pick-card>small{padding-top:4px;color:var(--acggc-v117-muted,var(--muted))}.acgse-quick-pick-card>em{padding-top:4px;padding-bottom:10px;font-size:10px;font-style:normal;color:var(--acggc-v117-accent,#7d68cc)}.acgse-quick-pick-card>span>b,.acgse-quick-pick-card>span>small,.acgse-quick-pick-card>span>em{min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.acgse-quick-pick-card>span>small{color:var(--acggc-v117-muted,var(--muted))}.acgse-quick-pick-card>span>em{font-size:10px;font-style:normal;color:var(--acggc-v117-accent,#7d68cc)}.acgse-quick-pick-card.is-selected{border-color:rgba(134,103,199,.62);box-shadow:0 0 0 2px rgba(134,103,199,.1),0 9px 18px rgba(77,59,94,.07)}.acgse-quick-pick-card:disabled{opacity:.46;cursor:not-allowed}
.acggc-equip-quick{display:grid;gap:8px}.acggc-equip-targets{display:grid;grid-template-columns:repeat(auto-fill,minmax(82px,1fr));gap:7px}.acggc-equip-target{border:1px solid color-mix(in srgb,currentColor 14%,transparent);border-radius:12px;background:transparent;padding:6px;display:grid;justify-items:center;gap:4px;cursor:pointer}.acggc-equip-target img{width:42px;height:42px;border-radius:50%;object-fit:cover}.acggc-equip-target:hover{border-color:var(--acggc-accent,#8d6cff);transform:translateY(-1px)}
.acggc-hero-tabs{position:static!important;inset:auto!important;float:none!important;display:flex!important;width:100%!important;max-width:100%;margin:0 0 16px;overflow-x:auto;z-index:auto}.acggc-hero-tabs[hidden]{display:none!important}

.acggc-notice-modal{border:0;padding:0;background:transparent;max-width:min(92vw,460px)}.acggc-notice-modal::backdrop{background:rgba(10,9,20,.66);backdrop-filter:blur(5px)}.acggc-notice-modal .acggc-modal-card{padding:26px;border-radius:22px;background:var(--acggc-card,#fff);color:var(--acggc-text,#28243b);box-shadow:0 28px 90px rgba(0,0,0,.3)}.acggc-notice-modal.is-error .acggc-modal-card{border-top:4px solid #d84c67}

/* V1.20 · centered notices, readable command layouts and 4:3 zone media */
body>dialog.acggc-notice-modal[open]{position:fixed!important;inset:0!important;display:block!important;width:min(92vw,480px)!important;max-width:480px!important;height:max-content!important;max-height:min(86vh,620px)!important;margin:auto!important;padding:0!important;overflow:visible!important;z-index:2147483000!important;background:transparent!important;color:inherit!important}
body>dialog.acggc-notice-modal .acggc-modal-card{display:grid;grid-template-columns:56px minmax(0,1fr);gap:16px 18px;align-items:start;padding:27px;border:1px solid rgba(119,99,184,.2);border-radius:24px;background:#fff;color:#28243b;box-shadow:0 28px 90px rgba(10,7,25,.38)}
.acggc-notice-icon{display:grid;place-items:center;width:56px;height:56px;border-radius:18px;background:linear-gradient(145deg,#7363df,#ad79e8);color:#fff;font-size:25px;font-weight:900;box-shadow:0 10px 25px rgba(96,75,190,.28)}
.acggc-notice-copy{min-width:0}.acggc-notice-copy h2{margin:4px 0 8px;font-size:23px}.acggc-notice-copy p{margin:0;line-height:1.7;overflow-wrap:anywhere}.acggc-notice-modal .acggc-actions{grid-column:1/-1;justify-content:flex-end;margin-top:4px}.acggc-notice-modal.is-error .acggc-notice-icon{background:linear-gradient(145deg,#d94e69,#f18c79)}.acggc-notice-modal.is-payment .acggc-notice-icon{background:linear-gradient(145deg,#1677ff,#52a8ff)}
body.dark>dialog.acggc-notice-modal .acggc-modal-card,html.dark body>dialog.acggc-notice-modal .acggc-modal-card{background:#22202d;color:#f6f2ff;border-color:rgba(255,255,255,.13);box-shadow:0 30px 100px rgba(0,0,0,.62)}
@media(max-width:520px){body>dialog.acggc-notice-modal .acggc-modal-card{grid-template-columns:44px minmax(0,1fr);padding:21px;gap:13px}.acggc-notice-icon{width:44px;height:44px;border-radius:14px}.acggc-notice-copy h2{font-size:20px}.acggc-notice-modal .acggc-actions>*{flex:1}}

.acggc-subnav,.acggc-section-nav.acggc-subnav{display:flex!important;flex-wrap:nowrap!important;overflow-x:auto;scrollbar-width:thin;white-space:nowrap}.acggc-subnav>button{flex:1 0 auto}
.acggc-coop-empty{padding:22px;border:1px dashed rgba(113,94,196,.4);border-radius:18px;text-align:center;background:rgba(114,92,196,.07)}.acggc-coop-empty b{font-size:18px}.acggc-coop-empty p{margin:7px 0 0}

.acggc-lord-card-v118{grid-template-columns:minmax(260px,38%) minmax(0,1fr)!important;align-items:start}.acggc-lord-card-v118 .acggc-lord-visual{width:100%;aspect-ratio:3/4;min-height:0!important}.acggc-lord-overview,.acggc-lord-equipped{margin-top:24px;padding:19px;border:1px solid rgba(117,95,191,.14);border-radius:18px;background:rgba(112,92,184,.045)}.acggc-lord-equipped{margin-top:18px}.acggc-lord-profile-control{align-items:stretch}.acggc-lord-profile-fields{display:grid;align-content:center;gap:11px}.acggc-lord-profile-fields>.acggc-kicker{display:block;width:100%;padding-bottom:8px;border-bottom:1px solid rgba(116,96,185,.18)}.acggc-lord-signature-view{font-size:clamp(18px,2.3vw,25px);line-height:1.5}.acggc-lord-build-panel{margin-top:24px!important}.acggc-lord-current-skills{display:grid!important;grid-template-columns:1fr;gap:9px}.acggc-lord-current-skills>span{display:flex;justify-content:space-between;gap:14px;padding:12px 14px;border-radius:13px;background:rgba(112,92,184,.07)}
@media(max-width:780px){.acggc-lord-card-v118{grid-template-columns:1fr!important}.acggc-lord-card-v118 .acggc-lord-visual{max-width:390px;margin-inline:auto}}

.acggc-stage-card .acggc-stage-art,.acggc-warfront-zone .acggc-stage-art,.acggc-map-card img,.acggc-map-art{aspect-ratio:4/3!important;height:auto!important;min-height:0!important}.acggc-stage-card .acggc-stage-art img,.acggc-warfront-zone .acggc-stage-art img,.acggc-map-card img,.acggc-map-art img{width:100%;height:100%!important;object-fit:cover}
.acggc-warfront{padding:clamp(17px,3vw,28px);border:1px solid rgba(116,92,192,.16);border-radius:24px;background:linear-gradient(155deg,rgba(119,93,198,.06),rgba(78,159,193,.04))}.acggc-warfront-rounds{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.acggc-warfront-round{height:100%}.acggc-warfront>h2{margin:28px 0 12px;padding-left:12px;border-left:4px solid #8270df}
@media(max-width:800px){.acggc-warfront-rounds{grid-template-columns:1fr}}




.acggc-extraction-portal{display:flex;align-items:center;justify-content:space-between;gap:24px;margin-top:24px;padding:24px;border-radius:22px;border:1px solid rgba(111,91,190,.18);background:linear-gradient(135deg,rgba(111,91,190,.1),rgba(80,168,204,.07))}.acggc-extraction-portal h2{margin:5px 0 8px}.acggc-extraction-portal p{max-width:760px}.acggc-extraction-feature-list{display:flex;gap:8px;flex-wrap:wrap}.acggc-extraction-feature-list span{padding:6px 10px;border-radius:999px;background:rgba(116,95,190,.1);font-size:12px;font-weight:800}
.acggc-extraction-page{max-width:1180px}.acggc-extraction-page-hero{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(260px,.7fr);gap:28px;align-items:end;margin:24px 0;padding:clamp(24px,5vw,50px);border-radius:28px;color:#f7f4ff;background:radial-gradient(circle at 86% 10%,rgba(107,208,255,.25),transparent 35%),linear-gradient(145deg,#211b3c,#46356e 55%,#16495b);box-shadow:0 20px 55px rgba(31,23,59,.22)}.acggc-extraction-page-hero h1{font-size:clamp(34px,5vw,58px);margin:8px 0 13px;line-height:1.05}.acggc-extraction-page-hero p{max-width:760px;line-height:1.75}.acggc-back-link{display:inline-flex;margin-bottom:25px;color:inherit;text-decoration:none}.acggc-extraction-rules{display:grid;gap:9px}.acggc-extraction-rules span{display:flex;justify-content:space-between;gap:12px;padding:12px 14px;border:1px solid rgba(255,255,255,.17);border-radius:13px;background:rgba(255,255,255,.08)}
.acggc-extraction-standalone{padding:clamp(18px,3vw,30px)}.acggc-extraction-zone-picker{margin:12px 0 22px}.acggc-zone-choice-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.acggc-zone-choice{position:relative;display:grid!important;overflow:hidden;border:2px solid transparent;border-radius:18px;background:rgba(114,93,187,.06);cursor:pointer}.acggc-zone-choice input{position:absolute;opacity:0}.acggc-zone-choice img{width:100%;aspect-ratio:4/3;object-fit:cover}.acggc-zone-choice>span{display:grid;gap:5px;padding:14px}.acggc-zone-choice b{font-size:18px}.acggc-zone-choice small{font-weight:800;color:#6958bf}.acggc-zone-choice em{font-style:normal;font-size:13px;line-height:1.55;opacity:.76}.acggc-zone-choice:has(input:checked){border-color:#7764dc;box-shadow:0 12px 35px rgba(100,79,188,.2)}.acggc-zone-choice:has(input:checked):after{content:"已选择";position:absolute;top:10px;right:10px;padding:5px 9px;border-radius:999px;background:#6f5bd3;color:#fff;font-size:11px;font-weight:900}
.acggc-extraction-grid>article{background:rgba(255,255,255,.72)!important;color:#2c2840!important;border-color:rgba(110,91,184,.16)!important}.acggc-extraction-live{display:grid;grid-template-columns:minmax(240px,.75fr) minmax(0,1.25fr);gap:20px!important}.acggc-extraction-live-art img{width:100%;aspect-ratio:4/3;object-fit:cover;border-radius:15px}.acggc-extraction-live-art{position:relative}.acggc-extraction-live-art span{position:absolute;left:10px;bottom:10px;padding:6px 9px;border-radius:999px;background:rgba(20,15,39,.8);color:#fff;font-size:12px}.acggc-extraction-live-copy{display:grid;align-content:center;gap:10px}.acggc-extraction-exits{grid-column:1/-1;grid-template-columns:repeat(2,minmax(0,1fr))!important}.acggc-extraction-exits h4{grid-column:1/-1;margin:5px 0}.acggc-extraction-exit-card{display:grid;grid-template-columns:110px minmax(0,1fr);gap:12px;align-items:center;padding:0!important;overflow:hidden;text-align:left;border:1px solid rgba(112,92,183,.17)!important;border-radius:14px!important;background:rgba(255,255,255,.06)!important;color:inherit!important}.acggc-extraction-exit-card img{width:100%;aspect-ratio:4/3;object-fit:cover}.acggc-extraction-exit-card span{display:grid;gap:4px;padding-right:12px}.acggc-extraction-exit-card small{white-space:normal}
body.dark .acggc-extraction-grid>article,html.dark .acggc-extraction-grid>article{background:rgba(255,255,255,.075)!important;color:#f5f1ff!important;border-color:rgba(255,255,255,.14)!important}body.dark .acggc-zone-choice,html.dark .acggc-zone-choice{background:rgba(255,255,255,.07)}body.dark .acggc-zone-choice small,html.dark .acggc-zone-choice small{color:#c5b9ff}
@media(max-width:820px){.acggc-extraction-page-hero{grid-template-columns:1fr}.acggc-zone-choice-grid{grid-template-columns:1fr 1fr}.acggc-extraction-live{grid-template-columns:1fr}.acggc-extraction-portal{align-items:flex-start;flex-direction:column}}@media(max-width:560px){.acggc-zone-choice-grid,.acggc-extraction-exits{grid-template-columns:1fr!important}.acggc-extraction-exit-card{grid-template-columns:90px minmax(0,1fr)}}
.acggc-extraction-standalone{background:#fff!important;color:#2b273e!important}body.dark .acggc-extraction-standalone,html.dark .acggc-extraction-standalone{background:#211f2b!important;color:#f5f1ff!important}
.acggc-friend-namecard{display:grid!important;grid-template-columns:108px minmax(0,1fr);padding:0!important;overflow:hidden}.acggc-friend-namecard-art img{width:100%;height:100%;min-height:150px;object-fit:cover;object-position:center top}.acggc-friend-namecard-copy{padding:16px}.acggc-friend-namecard .acggc-friend-head{align-items:flex-start}.acggc-friend-namecard .acggc-friend-head strong{display:block;font-size:18px;margin:3px 0}.acggc-friend-namecard .acggc-support-signature{margin:8px 0 0}@media(max-width:520px){.acggc-friend-namecard{grid-template-columns:82px minmax(0,1fr)}.acggc-friend-namecard-art img{min-height:140px}}
.acggc-signature-helper{display:flex;justify-content:space-between;align-items:center;gap:10px;font-size:12px;opacity:.82}.acggc-signature-helper>div{display:flex;gap:6px;flex-wrap:wrap}.acggc-signature-helper button{padding:5px 9px;border:1px solid rgba(112,92,184,.18);border-radius:999px;background:rgba(112,92,184,.06);color:inherit;cursor:pointer}
.acggc-extraction{margin-top:26px;padding:20px;border-radius:22px;background:linear-gradient(150deg,color-mix(in srgb,#161b2d 92%,transparent),color-mix(in srgb,#503f82 58%,#15192b));color:#f4f1ff}.acggc-extraction-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.acggc-extraction-grid>article,.acggc-extraction-live{padding:18px;border:1px solid rgba(255,255,255,.14);border-radius:17px;background:rgba(255,255,255,.07);display:grid;gap:11px}.acggc-extraction-grid label{display:grid;gap:5px}.acggc-extraction-grid select,.acggc-extraction-grid input{width:100%}.acggc-extraction-rewards{grid-column:1/-1}.acggc-room-list{display:grid;gap:6px;max-height:170px;overflow:auto}.acggc-room-row{display:flex;justify-content:space-between;gap:10px;text-align:left;padding:9px;border-radius:10px;border:1px solid rgba(255,255,255,.12);background:rgba(0,0,0,.14);color:inherit}.acggc-extraction-exits{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.acggc-extraction-exits button{display:grid;text-align:left;gap:3px}.acggc-extraction-exits small{white-space:normal}
@media(max-width:900px){.acggc-lord-card-v118,.acggc-extraction-grid{grid-template-columns:1fr}.acggc-lord-card-v118 .acggc-lord-visual{max-width:420px;margin:auto}.acggc-lord-stat-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.acggc-extraction-rewards{grid-column:auto}}

/* Keep standalone extraction readable after legacy embedded-mode rules. */
.acggc-extraction.acggc-extraction-standalone{background:#fff!important;color:#2b273e!important;border:1px solid rgba(110,91,184,.14)}
body.dark .acggc-extraction.acggc-extraction-standalone,html.dark .acggc-extraction.acggc-extraction-standalone,html[data-theme="dark"] .acggc-extraction.acggc-extraction-standalone{background:#211f2b!important;color:#f5f1ff!important;border-color:rgba(255,255,255,.1)}
/* V1.21 · command status, lord layout, scalable quick battle, competitive and character-first inventory */
.acggc-sakurairo .acggc-command-status{display:grid;grid-template-columns:minmax(260px,.7fr) minmax(520px,1.3fr);gap:12px}
.acggc-sakurairo .acggc-command-status>div{min-height:88px;display:grid;align-items:stretch;padding:0;overflow:hidden}
.acggc-command-status>div>span{min-width:0;padding:15px 17px;display:flex;flex-direction:column;justify-content:center;gap:4px;border-right:1px solid var(--line)}
.acggc-command-status>div>span:last-child{border-right:0}.acggc-status-identity{grid-template-columns:1.5fr .7fr .7fr}.acggc-status-resources{grid-template-columns:repeat(4,1fr)}
.acggc-sakurairo .acggc-command-status>div:after{display:none}.acggc-command-status small{white-space:nowrap}.acggc-command-status strong{font-size:17px!important;white-space:nowrap}
.acggc-lord-card-v118{display:grid!important;grid-template-columns:minmax(250px,38%) 1fr;align-items:start}
.acggc-lord-card-v118 .acggc-lord-visual{aspect-ratio:3/4;min-height:0;height:auto;align-self:start}.acggc-lord-card-v118 .acggc-lord-visual img{width:100%;height:100%;object-fit:cover}
.acggc-lord-card-v118 .acggc-lord-copy{padding:28px 28px 18px}.acggc-lord-card-v118>.acggc-lord-overview,.acggc-lord-card-v118>.acggc-lord-equipped{grid-column:1/-1;margin:0;padding:22px 24px;border-top:1px solid var(--line);background:rgba(255,255,255,.42)}
.acggc-lord-card-v118>.acggc-lord-overview{margin-top:0}.acggc-lord-management{gap:18px}.acggc-lord-profile-control{display:grid;grid-template-columns:132px 1fr;gap:22px;align-items:stretch;padding:20px;border:1px solid var(--line);border-radius:20px;background:linear-gradient(135deg,rgba(255,255,255,.72),rgba(244,239,255,.55))}
.acggc-lord-card-avatar{width:132px!important;height:auto!important;aspect-ratio:3/4;border-radius:17px;overflow:hidden}.acggc-lord-card-avatar img{width:100%;height:100%;object-fit:cover}.acggc-lord-profile-fields{display:flex;flex-direction:column;gap:10px}.acggc-lord-profile-fields>.acggc-kicker{display:block}.acggc-lord-profile-fields>strong{font-size:20px;line-height:1.5;padding:13px 15px;border-radius:14px;background:rgba(255,255,255,.7)}
.acggc-lord-build-panel{margin-top:8px;padding:22px;border:1px solid var(--line);border-radius:20px;background:rgba(255,255,255,.48)}

.acggc-equipment-workbench{margin:18px 0;padding:19px;border:1px solid var(--line);border-radius:20px;background:linear-gradient(135deg,rgba(115,91,198,.09),rgba(98,181,207,.08))}.acggc-equipment-workbench select{min-width:220px;padding:9px;border:1px solid var(--line);border-radius:10px;background:var(--glass);color:var(--ink)}
.acggc-equipment-target-card{display:grid;grid-template-columns:.7fr 1.3fr;gap:18px;align-items:center}.acggc-equipment-target-card h4{font-size:22px;margin:5px 0}.acggc-equipment-slots{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}.acggc-equipment-slots span{display:flex;flex-direction:column;gap:5px;padding:13px;border:1px solid var(--line);border-radius:13px;background:var(--glass)}.acggc-equip-current{margin-top:auto}.acggc-equip-current .acggc-btn{width:100%}
.acggc-competitive-summary{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin:18px 0}.acggc-competitive-summary span{padding:15px;border:1px solid var(--line);border-radius:15px;background:var(--glass);display:flex;flex-direction:column;gap:4px}.acggc-competitive-summary small{color:var(--muted)}.acggc-competitive-summary b{font-size:21px}
.acggc-competitive-grid,.acggc-competitive-rankings{display:grid;grid-template-columns:1fr 1fr;gap:16px}.acggc-competitive-grid>section,.acggc-competitive-rankings>section,.acggc-guild-war{padding:20px;border:1px solid var(--line);border-radius:20px;background:rgba(255,255,255,.45)}.acggc-guild-war{margin:16px 0}
.acggc-guild-list-row,.acggc-arena-opponents button{width:100%;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:11px 12px;margin-top:7px;border:1px solid var(--line);border-radius:12px;background:var(--glass);color:var(--ink);cursor:pointer}.acggc-guild-create .acggc-inline input{min-width:90px}.acggc-arena-record{display:flex;align-items:end;justify-content:space-between;margin-bottom:12px}.acggc-arena-record b{font-size:25px}.acggc-guild-war-zones{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.acggc-guild-war-zones article{overflow:hidden;border:1px solid var(--line);border-radius:17px;background:var(--glass)}.acggc-guild-war-zones img{width:100%;aspect-ratio:4/3;object-fit:cover}.acggc-guild-war-zones article>div{padding:15px}.acggc-guild-war-zones h4{font-size:19px;margin:4px 0}.acggc-guild-war-zones p{color:var(--muted);min-height:44px}
.acggc-arena-defense{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:end;gap:10px;margin:12px 0 18px;padding:14px;border:1px solid var(--line);border-radius:14px;background:color-mix(in srgb,var(--glass) 90%,var(--accent) 10%)}.acggc-arena-defense label{display:grid;gap:6px}.acggc-arena-defense label>span{font-size:12px;font-weight:900;color:var(--muted)}.acggc-arena-defense select{width:100%;min-height:42px;border:1px solid var(--line);border-radius:10px;background:var(--glass);color:var(--ink)}.acggc-arena-defense>small{grid-column:1/-1;color:var(--muted)}.acggc-arena-defense-log{margin-top:14px;border-top:1px solid var(--line);padding-top:12px}.acggc-arena-defense-log summary{cursor:pointer;font-weight:900}.acggc-arena-defense-log>div{display:grid;grid-template-columns:140px 1fr auto;gap:9px;padding:9px 0;border-bottom:1px dashed var(--line);font-size:12px}.acggc-arena-defense-log .is-win{color:#18885f}.acggc-arena-defense-log .is-loss{color:#c7475c}@media(max-width:620px){.acggc-arena-defense{grid-template-columns:1fr}.acggc-arena-defense>button{width:100%}.acggc-arena-defense-log>div{grid-template-columns:1fr auto}.acggc-arena-defense-log>div>span{grid-column:1/-1}}
.acggc-extraction-portal{position:relative;overflow:hidden;background:linear-gradient(135deg,rgba(45,35,76,.96),rgba(83,67,135,.92))!important;color:#fff!important}.acggc-extraction-portal:after{content:"EXTRACTION";position:absolute;right:-10px;bottom:-25px;font-size:70px;font-weight:900;opacity:.055;pointer-events:none}.acggc-extraction-portal p,.acggc-extraction-portal .acggc-kicker{color:rgba(255,255,255,.75)!important}.acggc-extraction-feature-list span{background:rgba(255,255,255,.1)!important;border-color:rgba(255,255,255,.17)!important}
.acggc-extraction-page-hero{background:radial-gradient(circle at 82% 10%,rgba(142,113,232,.48),transparent 30%),linear-gradient(135deg,#201a37,#493a75)!important}.acggc-extraction-standalone{max-width:1180px;margin:-34px auto 30px;position:relative}.acggc-zone-choice img,.acggc-extraction-exits img{aspect-ratio:4/3!important;object-fit:cover}
.acggc-shop-categories{margin-bottom:14px;overflow-x:auto;flex-wrap:nowrap!important}.acggc-shop-categories button{white-space:nowrap}.acggc-subnav[data-acggc-game-view="operations"]{flex-wrap:nowrap;overflow-x:auto}.acggc-subnav[data-acggc-game-view="operations"] button{white-space:nowrap;flex:1}
html.dark .acggc-lord-card-v118>.acggc-lord-overview,html.dark .acggc-lord-card-v118>.acggc-lord-equipped,html.dark .acggc-lord-profile-control,html.dark .acggc-lord-build-panel,html.dark .acggc-equipment-workbench,html.dark .acggc-competitive-grid>section,html.dark .acggc-competitive-rankings>section,html.dark .acggc-guild-war,body.dark .acggc-lord-card-v118>.acggc-lord-overview,body.dark .acggc-lord-card-v118>.acggc-lord-equipped,body.dark .acggc-lord-profile-control,body.dark .acggc-lord-build-panel,body.dark .acggc-equipment-workbench,body.dark .acggc-competitive-grid>section,body.dark .acggc-competitive-rankings>section,body.dark .acggc-guild-war{background:rgba(24,27,43,.7);border-color:rgba(255,255,255,.09)}

html.dark .acggc-formation-panel,body.dark .acggc-formation-panel{background:linear-gradient(145deg,rgba(29,31,48,.96),rgba(23,25,39,.94))}html.dark .acggc-formation-column,html.dark .acggc-team-preset,html.dark .acggc-team-expand,body.dark .acggc-formation-column,body.dark .acggc-team-preset,body.dark .acggc-team-expand{background:rgba(38,40,58,.88);border-color:rgba(255,255,255,.09);color:var(--ink)}html.dark .acggc-formation-column .acggc-team-slots label,body.dark .acggc-formation-column .acggc-team-slots label{background:rgba(24,27,43,.92)}
@media(max-width:980px){.acggc-sakurairo .acggc-command-status{grid-template-columns:1fr}.acggc-guild-war-zones{grid-template-columns:1fr 1fr}}
@media(max-width:720px){.acggc-status-identity{grid-template-columns:1.4fr .8fr .8fr}.acggc-status-resources{grid-template-columns:1fr 1fr}.acggc-command-status>div>span:nth-child(2){border-right:0}.acggc-lord-card-v118{grid-template-columns:1fr}.acggc-lord-card-v118 .acggc-lord-visual{width:min(100%,360px);justify-self:center}.acggc-lord-card-v118 .acggc-lord-copy{padding:22px}.acggc-lord-profile-control{grid-template-columns:92px 1fr}.acggc-lord-card-avatar{width:92px!important}.acggc-equipment-target-card,.acggc-competitive-grid,.acggc-competitive-rankings{grid-template-columns:1fr}.acggc-competitive-summary{grid-template-columns:1fr 1fr}.acggc-guild-war-zones{grid-template-columns:1fr}.acggc-equipment-slots{grid-template-columns:1fr}}

/* V1.22 · character-first skills, calmer controls and extraction operations */
.acggc-lord-profile-control{grid-template-columns:minmax(150px,25%) minmax(0,1fr)!important}.acggc-lord-card-avatar{width:100%!important;aspect-ratio:3/4!important;height:auto!important}.acggc-lord-card-avatar img{width:100%;height:100%;object-fit:cover;object-position:center top}
.acggc-ai-switch{position:relative;display:grid!important;grid-template-columns:46px minmax(0,1fr);align-items:center;gap:11px;padding:11px 13px;border:1px solid color-mix(in srgb,#8069d8 24%,transparent);border-radius:15px;background:linear-gradient(135deg,color-mix(in srgb,#8069d8 10%,transparent),color-mix(in srgb,#65b7d2 7%,transparent));cursor:pointer}.acggc-ai-switch input{appearance:none!important;width:42px!important;height:24px!important;margin:0!important;border:0!important;border-radius:999px!important;background:#aaa4b8!important;box-shadow:inset 0 1px 4px rgba(0,0,0,.18);position:relative;cursor:pointer}.acggc-ai-switch input:after{content:"";position:absolute;width:18px;height:18px;left:3px;top:3px;border-radius:50%;background:#fff;box-shadow:0 2px 6px rgba(0,0,0,.25);transition:.2s}.acggc-ai-switch input:checked{background:linear-gradient(135deg,#775ed4,#50a9c8)!important}.acggc-ai-switch input:checked:after{transform:translateX(18px)}.acggc-ai-switch input:disabled{opacity:.45;cursor:not-allowed}.acggc-ai-switch>span{display:grid;gap:2px}.acggc-ai-switch b{font-size:13px}.acggc-ai-switch small{color:var(--muted);font-size:11px}
.acggc-skill-studio{background:linear-gradient(145deg,color-mix(in srgb,var(--glass) 94%,#836dd8 6%),var(--glass))}.acggc-skill-character-grid,.acggc-equipment-character-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(105px,1fr));gap:10px;margin:16px 0}.acggc-character-avatar-pick,.acggc-skill-character{appearance:none;display:flex;flex-direction:column;overflow:hidden;padding:0;border:1px solid var(--line);border-radius:15px;background:var(--glass);color:var(--ink);text-align:left;cursor:pointer;transition:.16s}.acggc-character-avatar-pick:hover,.acggc-skill-character:hover{transform:translateY(-2px)}.acggc-character-avatar-pick.is-selected,.acggc-skill-character.is-selected{border-color:#8068d8;box-shadow:0 0 0 3px rgba(128,104,216,.14)}.acggc-character-avatar-pick img,.acggc-skill-character img{width:100%;aspect-ratio:1/1;object-fit:cover;object-position:center top}.acggc-character-avatar-pick span,.acggc-skill-character span{display:grid;gap:2px;padding:9px}.acggc-character-avatar-pick small,.acggc-skill-character small{color:var(--muted);font-size:10px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.acggc-skill-target-summary{margin:14px 0;padding:17px;border:1px solid var(--line);border-radius:17px;background:var(--glass)}.acggc-skill-target-summary h2{margin:4px 0}.acggc-skill-target-summary>div{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;margin-top:10px}.acggc-skill-target-summary>div>span{display:grid;gap:3px;padding:11px;border:1px solid var(--line);border-radius:12px}.acggc-skill-book-list{display:grid;grid-template-columns:repeat(auto-fill,minmax(270px,1fr));gap:12px}.acggc-skill-book-card{display:grid;grid-template-columns:92px minmax(0,1fr);overflow:hidden;border:1px solid var(--line);border-radius:17px;background:var(--glass)}.acggc-skill-book-card>img{width:92px;height:100%;min-height:160px;object-fit:cover}.acggc-skill-book-card>div{display:flex;flex-direction:column;gap:5px;padding:14px}.acggc-skill-book-card h4,.acggc-skill-book-card p{margin:0}.acggc-skill-book-card p{color:var(--muted);line-height:1.55}.acggc-skill-book-card .acggc-btn{margin-top:auto}

.acggc-zone-choice{display:block!important;cursor:default!important;padding-bottom:10px}.acggc-zone-choice>label{position:relative;display:block;cursor:pointer}.acggc-zone-choice>label>img{display:block;width:100%;aspect-ratio:4/3;object-fit:cover}.acggc-zone-choice>label>span{display:grid;gap:4px;padding:13px}.acggc-zone-choice:has(>label>input:checked){border-color:#7764dc;box-shadow:0 12px 35px rgba(100,79,188,.16)}.acggc-zone-choice:has(>label>input:checked):after{content:"当前地图"}.acggc-zone-locations{display:grid;gap:6px;padding:0 10px}.acggc-zone-locations label{position:relative;display:block;padding:9px 10px;border:1px solid var(--line);border-radius:11px;background:var(--glass);cursor:pointer}.acggc-zone-locations label:has(input:checked){border-color:#7764dc;background:rgba(119,100,220,.1)}.acggc-zone-locations span{display:flex;justify-content:space-between;gap:8px}.acggc-zone-locations small{font-size:10px}
.acggc-extraction-live{grid-template-columns:minmax(240px,.72fr) minmax(0,1.28fr)!important;align-items:start}.acggc-extraction-run-summary{display:flex;gap:8px;flex-wrap:wrap}.acggc-extraction-run-summary span{padding:7px 9px;border:1px solid var(--line);border-radius:10px;background:var(--glass);font-size:11px}.acggc-extraction-location-panel,.acggc-extraction-live-report,.acggc-extraction-backpack,.acggc-extraction-exits{grid-column:1/-1}.acggc-extraction-location-panel{display:block;min-width:0;width:100%}.acggc-legacy-spatial-nodes{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}.acggc-extraction-location-panel h4{grid-column:1/-1}.acggc-location-card{display:grid;gap:5px;padding:13px;text-align:left;border:1px solid var(--line);border-radius:14px;background:var(--glass);color:inherit;cursor:pointer}.acggc-location-card:hover,.acggc-location-card.is-active{border-color:#7764dc;background:rgba(119,100,220,.09)}.acggc-location-card em{font-style:normal;color:var(--muted);font-size:11px;line-height:1.5}.acggc-extraction-live-report{display:grid;gap:7px;max-height:360px;overflow:auto;padding:14px;border:1px solid var(--line);border-radius:15px;background:color-mix(in srgb,var(--glass) 90%,transparent)}.acggc-extraction-live-report h4{position:sticky;top:-14px;z-index:1;margin:-14px -14px 4px;padding:14px;background:inherit}.acggc-extraction-live-report article{padding:10px 12px;border-left:3px solid #7b66d8;background:rgba(123,102,216,.06);border-radius:0 10px 10px 0}.acggc-extraction-live-report p{margin:4px 0;line-height:1.55}.acggc-extraction-backpack,.acggc-extraction-collection{display:grid;grid-template-columns:repeat(auto-fill,minmax(155px,1fr));gap:8px}.acggc-extraction-backpack h4{grid-column:1/-1}.acggc-extraction-backpack>span,.acggc-extraction-collection>span{display:grid;grid-template-columns:48px 1fr;grid-template-areas:"art name" "art meta";gap:3px 8px;align-items:center;padding:8px;border:1px solid var(--line);border-radius:12px;background:var(--glass)}.acggc-extraction-backpack img,.acggc-extraction-collection img{grid-area:art;width:48px;height:48px;border-radius:9px;object-fit:cover}.acggc-extraction-backpack b,.acggc-extraction-collection b{grid-area:name}.acggc-extraction-backpack small,.acggc-extraction-collection small{grid-area:meta;color:var(--muted);font-size:10px}.acggc-extraction-meta{display:grid;grid-template-columns:1fr 1.35fr;gap:13px;margin-top:16px}.acggc-extraction-meta>article{padding:17px;border:1px solid var(--line);border-radius:17px;background:var(--glass)}.acggc-extraction-stats{display:grid;grid-template-columns:1fr 1fr;gap:7px}.acggc-extraction-stats span{display:grid;padding:10px;border-radius:11px;background:rgba(119,100,220,.07)}.acggc-extraction-settlement{grid-column:1/-1}.acggc-extraction-settlement>strong{display:block;font-size:32px}.acggc-extraction-settlement i{display:inline-flex;margin:8px 6px 0 0;padding:5px 8px;border-radius:999px;font-style:normal}.acggc-room-team-options{display:grid;grid-template-columns:.65fr 1.35fr;gap:9px}
.rarity-SSR{border-color:rgba(225,165,55,.65)!important;box-shadow:inset 0 3px 0 #e8ad45,0 7px 22px rgba(225,165,55,.1)!important;background-image:linear-gradient(145deg,rgba(255,244,207,.22),transparent)!important}.rarity-SR{border-color:rgba(142,92,212,.52)!important;box-shadow:inset 0 3px 0 #9565d8,0 7px 20px rgba(135,92,201,.08)!important}.rarity-R{border-color:rgba(76,145,197,.38)!important;box-shadow:inset 0 3px 0 #599bc8!important}.rarity-LORD{border-color:rgba(211,87,141,.48)!important;box-shadow:inset 0 3px 0 #cf588e!important}.acggc-soldier-card,.acggc-building-card,.acggc-mine-card,.acggc-exploration-region,.acggc-workshop-card{overflow:hidden;transition:.18s}.acggc-soldier-card:hover,.acggc-building-card:hover,.acggc-mine-card:hover,.acggc-exploration-region:hover,.acggc-workshop-card:hover{transform:translateY(-2px);box-shadow:0 15px 34px rgba(74,57,111,.11)}
html.dark .acggc-zone-locations label,html.dark .acggc-location-card,html.dark .acggc-extraction-live-report,html.dark .acggc-extraction-meta>article,html.dark .acggc-character-avatar-pick,html.dark .acggc-skill-character,html.dark .acggc-skill-target-summary,html.dark .acggc-skill-book-card,body.dark .acggc-zone-locations label,body.dark .acggc-location-card,body.dark .acggc-extraction-live-report,body.dark .acggc-extraction-meta>article,body.dark .acggc-character-avatar-pick,body.dark .acggc-skill-character,body.dark .acggc-skill-target-summary,body.dark .acggc-skill-book-card{background:rgba(28,30,47,.88);border-color:rgba(255,255,255,.1);color:#f5f1ff}
@media(max-width:980px){.acggc-extraction-meta{grid-template-columns:1fr}.acggc-extraction-settlement{grid-column:auto}}
@media(max-width:720px){.acggc-lord-profile-control{grid-template-columns:96px minmax(0,1fr)!important}.acggc-skill-target-summary>div,.acggc-legacy-spatial-nodes,.acggc-room-team-options{grid-template-columns:1fr}.acggc-extraction-live{grid-template-columns:1fr!important}}
@media(max-width:520px){.acggc-lord-profile-control{grid-template-columns:1fr!important}.acggc-lord-card-avatar{max-width:180px}.acggc-skill-book-card{grid-template-columns:72px minmax(0,1fr)}.acggc-skill-book-card>img{width:72px}}
.acggc-guild-boss{margin:16px 0;padding:20px;border:1px solid var(--line);border-radius:20px;background:linear-gradient(135deg,rgba(105,78,175,.1),rgba(69,151,177,.07))}.acggc-guild-boss article{display:flex;align-items:center;justify-content:space-between;gap:20px}.acggc-guild-boss article>div{min-width:0;flex:1}.acggc-guild-boss h4{font-size:21px;margin:4px 0 10px}.acggc-guild-boss .acggc-progress{margin:8px 0}.acggc-guild-boss .acggc-btn{white-space:nowrap}@media(max-width:620px){.acggc-guild-boss article{align-items:stretch;flex-direction:column}}

/* V1.23 UI polish */
.acggc-compact-card{padding:12px!important;gap:8px!important}
.acggc-expedition-quick .acggc-card{max-width:260px;padding:12px}


.acggc-rarity-SSR{color:#d97706;border:2px solid #f59e0b!important;box-shadow:0 0 24px rgba(245,158,11,.25)}
.acggc-rarity-SR{color:#7c3aed}
.acggc-shop-tabs{display:flex;overflow-x:auto;white-space:nowrap;scrollbar-width:none}
.acggc-shop-tabs>*{flex:0 0 auto}
.acggc-battle-toast{border-radius:16px!important;backdrop-filter:blur(12px)}
.acggc-coop-boss-card{aspect-ratio:16/9}

/* V1.24 · compact support avatar picker */
.acggc-support-avatar-slot{display:block;padding:12px}.acggc-support-avatar-slot>header{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:9px}.acggc-support-avatar-slot>header div{min-width:0}.acggc-support-avatar-slot>header b,.acggc-support-avatar-slot>header small{display:block}.acggc-support-avatar-slot>header small{margin-top:2px;color:var(--muted);font-size:10px}.acggc-support-avatar-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(62px,1fr));gap:7px;max-height:228px;overflow:auto;padding:2px}.acggc-support-avatar-pick{position:relative;min-width:0;padding:5px;border:1px solid var(--line);border-radius:12px;background:rgba(255,255,255,.88);cursor:pointer;text-align:center;transition:.15s ease}.acggc-support-avatar-pick:hover{transform:translateY(-1px)}.acggc-support-avatar-pick.is-selected{outline:2px solid #7765dc;background:#f5f2ff}.acggc-support-avatar-pick img{display:block;width:100%;aspect-ratio:1/1;object-fit:cover;border-radius:9px}.acggc-support-avatar-pick small{display:block;margin-top:5px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:9px}.acggc-rarity-badge{position:absolute;left:7px;top:7px;z-index:1;padding:2px 5px;border-radius:7px;background:rgba(30,27,46,.82);color:#fff;font-size:8px;font-weight:900;letter-spacing:.04em}.acggc-rarity-badge.is-ssr{background:#a86b0e;box-shadow:0 0 0 1px rgba(255,222,133,.65),0 3px 10px rgba(157,101,13,.28)}.acggc-rarity-badge.is-sr{background:#7650aa}.acggc-rarity-badge.is-r{background:#4f7898}@media(max-width:620px){.acggc-support-avatar-grid{grid-template-columns:repeat(4,minmax(0,1fr));max-height:210px}}

/* V1.25 · extraction readability, fixed parties, gacha/archive/support/shop polish */
#acggc-message.acggc-message-toast{position:fixed;z-index:100050;top:max(18px,env(safe-area-inset-top));left:50%;width:min(560px,calc(100vw - 28px));margin:0!important;padding:13px 16px!important;transform:translate(-50%,0);border:1px solid rgba(104,88,179,.24);border-radius:16px;background:color-mix(in srgb,#fff 94%,#7564d8 6%);color:#242036;box-shadow:0 18px 50px rgba(28,22,55,.2);backdrop-filter:blur(18px);font-weight:700;line-height:1.55;opacity:1;transition:opacity .18s ease,transform .18s ease;pointer-events:auto}.acggc-message-toast.is-success{border-color:rgba(45,157,104,.28);background:color-mix(in srgb,#fff 94%,#37a96f 6%)}.acggc-message-toast.is-error{border-color:rgba(201,70,88,.32);background:color-mix(in srgb,#fff 93%,#d34f62 7%)}.acggc-message-toast.is-leaving{opacity:0;transform:translate(-50%,-8px);pointer-events:none}html.dark #acggc-message.acggc-message-toast,body.dark #acggc-message.acggc-message-toast,html[data-theme="dark"] #acggc-message.acggc-message-toast,body[data-theme="dark"] #acggc-message.acggc-message-toast,.dark-mode #acggc-message.acggc-message-toast{background:rgba(30,28,43,.94);color:#f7f4ff;border-color:rgba(190,178,255,.2);box-shadow:0 20px 55px rgba(0,0,0,.42)}

.acggc-extraction.acggc-extraction-standalone{--x-bg:#f8f8fc;--x-surface:#fff;--x-surface-2:#f2f0fa;--x-text:#262238;--x-muted:#6e687e;--x-line:rgba(73,62,115,.16);--x-accent:#6757c8;--x-accent-soft:rgba(103,87,200,.1);--x-good:#23865a;--x-warn:#a76813;background:var(--x-bg)!important;color:var(--x-text)!important;border-color:var(--x-line)!important}.acggc-extraction.acggc-extraction-standalone h2,.acggc-extraction.acggc-extraction-standalone h2,.acggc-extraction.acggc-extraction-standalone h4,.acggc-extraction.acggc-extraction-standalone b,.acggc-extraction.acggc-extraction-standalone strong{color:var(--x-text)}.acggc-extraction.acggc-extraction-standalone p,.acggc-extraction.acggc-extraction-standalone small,.acggc-extraction.acggc-extraction-standalone em{color:var(--x-muted)}.acggc-extraction.acggc-extraction-standalone .acggc-kicker{color:var(--x-accent)!important}.acggc-extraction.acggc-extraction-standalone article,.acggc-extraction.acggc-extraction-standalone .acggc-room-row,.acggc-extraction.acggc-extraction-standalone .acggc-note,.acggc-extraction.acggc-extraction-standalone .acggc-extraction-live-report,.acggc-extraction.acggc-extraction-standalone .acggc-extraction-meta>article{background:var(--x-surface)!important;color:var(--x-text)!important;border-color:var(--x-line)!important}.acggc-extraction.acggc-extraction-standalone select,.acggc-extraction.acggc-extraction-standalone input,.acggc-extraction.acggc-extraction-standalone textarea{background:var(--x-surface)!important;color:var(--x-text)!important;border:1px solid var(--x-line)!important}.acggc-extraction.acggc-extraction-standalone option{background:var(--x-surface);color:var(--x-text)}.acggc-extraction.acggc-extraction-standalone .acggc-btn:not(.acggc-btn-primary){background:var(--x-surface-2)!important;color:var(--x-text)!important;border-color:var(--x-line)!important}.acggc-extraction.acggc-extraction-standalone .acggc-btn-primary{background:linear-gradient(135deg,#6959cd,#5b49bd)!important;color:#fff!important;border-color:transparent!important}
html.dark .acggc-extraction.acggc-extraction-standalone,body.dark .acggc-extraction.acggc-extraction-standalone,html[data-theme="dark"] .acggc-extraction.acggc-extraction-standalone,body[data-theme="dark"] .acggc-extraction.acggc-extraction-standalone,.dark-mode .acggc-extraction.acggc-extraction-standalone{--x-bg:#171722;--x-surface:#222230;--x-surface-2:#2b2a3a;--x-text:#f5f3fb;--x-muted:#bbb5c9;--x-line:rgba(222,216,255,.14);--x-accent:#b9adff;--x-accent-soft:rgba(185,173,255,.12);--x-good:#73d8a7;--x-warn:#efbd6f;background:var(--x-bg)!important;color:var(--x-text)!important}.dark-mode .acggc-extraction.acggc-extraction-standalone article,.dark-mode .acggc-extraction.acggc-extraction-standalone .acggc-room-row{background:var(--x-surface)!important}

.acggc-extraction-action-grid,.acggc-room-lobbies{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin-top:16px}.acggc-extraction-action-grid>article,.acggc-room-lobbies>article{padding:18px;border:1px solid var(--x-line);border-radius:18px;background:var(--x-surface)}.acggc-public-action-card{box-shadow:inset 0 3px 0 #6d5bd1}.acggc-fixed-party-card{box-shadow:inset 0 3px 0 #3f91a8}.acggc-squad-choice{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;margin:10px 0 13px}.acggc-squad-choice button{display:grid;gap:2px;padding:10px 8px;border:1px solid var(--x-line);border-radius:12px;background:var(--x-surface-2);color:var(--x-text);cursor:pointer;text-align:left}.acggc-squad-choice button.is-active{outline:2px solid var(--x-accent);background:var(--x-accent-soft)}.acggc-squad-choice small{font-size:10px}.acggc-friend-team-list{margin:12px 0;max-height:180px;overflow:auto;padding:8px;border:1px solid var(--x-line);border-radius:13px;background:var(--x-surface-2)}.acggc-friend-team-list h4{margin:2px 0 8px}.acggc-friend-team-pick{display:flex!important;align-items:center;gap:8px;padding:8px;border-radius:10px;cursor:pointer}.acggc-friend-team-pick:hover{background:var(--x-accent-soft)}.acggc-friend-team-pick input{width:auto!important}.acggc-friend-team-pick span{display:grid}.acggc-room-lobbies .acggc-room-list{max-height:260px}.acggc-party-summary{display:flex;flex-wrap:wrap;gap:7px}.acggc-party-summary>span,.acggc-party-summary>div{padding:7px 9px;border:1px solid var(--x-line);border-radius:999px;background:var(--x-surface-2);font-size:11px}.acggc-extraction-run-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:7px}.acggc-extraction-run-summary>span{padding:9px;border:1px solid var(--x-line);border-radius:11px;background:var(--x-surface-2);font-size:11px}.acggc-anti-farm{display:grid;gap:3px;padding:10px 12px;border-radius:12px;border:1px solid var(--x-line);background:var(--x-surface-2)}.acggc-anti-farm.is-ready{border-color:color-mix(in srgb,var(--x-good) 45%,transparent);background:color-mix(in srgb,var(--x-good) 8%,var(--x-surface))}.acggc-anti-farm.is-ready b{color:var(--x-good)!important}.acggc-anti-farm.is-pending b{color:var(--x-warn)!important}.acggc-extraction-battle-alert{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:14px;border:1px solid color-mix(in srgb,var(--x-warn) 36%,transparent);border-radius:15px;background:color-mix(in srgb,var(--x-warn) 7%,var(--x-surface))}.acggc-extraction-battle-alert h4{margin:3px 0}.acggc-extraction-battle-alert p{margin:0}.acggc-extraction-battle-alert .acggc-actions{flex:0 0 auto}.acggc-extraction-rewards{margin-top:14px;padding:18px!important;border:1px solid var(--x-line)!important;border-radius:18px!important;background:var(--x-surface)!important}

.acggc-battle-unit.is-downed{outline:2px dashed #d18a36;opacity:.82}.acggc-battle-unit.is-eliminated{filter:grayscale(1);opacity:.48}.acggc-battle-unit[data-battle-ally-target]{cursor:pointer}.acggc-battle-unit[data-battle-ally-target].is-selected{outline:3px solid #6d5bd1;box-shadow:0 0 0 4px rgba(109,91,209,.14)}

#acggc-banner-rail{display:grid!important;grid-template-columns:1fr!important;gap:12px!important}

.acggc-dossier-rarity{display:inline-flex;align-items:center;justify-content:center;min-width:72px;margin:0 10px 8px 0;padding:8px 14px;border:2px solid currentColor;border-radius:13px;font-size:20px;font-weight:950;letter-spacing:.09em;line-height:1;vertical-align:middle;text-shadow:0 1px 0 rgba(255,255,255,.35)}.acggc-dossier-rarity.is-r{color:#3c789f;background:rgba(64,133,178,.1);box-shadow:0 7px 20px rgba(58,119,160,.13)}.acggc-dossier-rarity.is-sr{color:#8050b5;background:rgba(128,80,181,.11);box-shadow:0 7px 22px rgba(128,80,181,.15)}.acggc-dossier-rarity.is-ssr{color:#b8760c;background:linear-gradient(135deg,rgba(255,220,132,.24),rgba(245,170,52,.08));box-shadow:0 8px 25px rgba(184,118,12,.18)}.acggc-dossier-rarity.is-ur,.acggc-dossier-rarity.is-lord{color:#c34c83;background:linear-gradient(135deg,rgba(222,91,147,.15),rgba(136,83,200,.09));box-shadow:0 8px 25px rgba(195,76,131,.17)}html.dark .acggc-dossier-rarity,body.dark .acggc-dossier-rarity{filter:saturate(1.12) brightness(1.16);text-shadow:none}

.acggc-support-slot-strip{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;margin-bottom:12px}.acggc-support-slot-tab{display:grid;gap:2px;padding:9px 10px;border:1px solid var(--line);border-radius:11px;background:var(--glass);color:inherit;text-align:left;cursor:pointer}.acggc-support-slot-tab.is-active{outline:2px solid #7462d3;background:rgba(116,98,211,.09)}.acggc-support-slot-tab small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--muted)}.acggc-support-shared-head{display:flex;justify-content:space-between;align-items:end;gap:12px;margin-bottom:9px}.acggc-support-avatar-grid.is-shared{grid-template-columns:repeat(auto-fill,minmax(68px,1fr));max-height:310px;padding:6px;border:1px solid var(--line);border-radius:14px;background:color-mix(in srgb,var(--glass) 88%,transparent)}

.acggc-shop-catalog-layout{display:grid;grid-template-columns:190px minmax(0,1fr);gap:16px;align-items:start}.acggc-shop-catalog-layout .acggc-shop-categories{position:sticky;top:18px;display:flex!important;flex-direction:column!important;gap:6px!important;max-height:min(68vh,560px)!important;overflow-y:auto!important;overflow-x:hidden!important;padding:8px!important;border:1px solid var(--line);border-radius:15px;background:color-mix(in srgb,var(--glass) 90%,transparent);scrollbar-width:thin;white-space:normal!important}.acggc-shop-catalog-layout .acggc-shop-categories button{flex:0 0 auto!important;width:100%!important;min-width:0!important;margin:0!important;padding:10px 11px!important;text-align:left!important;white-space:normal!important;border-radius:10px!important}.acggc-shop-catalog-layout .acggc-shop-categories button.is-active{box-shadow:inset 3px 0 0 #7462d3;background:rgba(116,98,211,.1)}.acggc-shop-catalog-main{min-width:0}

@media(max-width:900px){.acggc-extraction-action-grid,.acggc-room-lobbies{grid-template-columns:1fr}.acggc-shop-catalog-layout{grid-template-columns:155px minmax(0,1fr)}}
@media(max-width:650px){.acggc-squad-choice{grid-template-columns:1fr}.acggc-extraction-run-summary{grid-template-columns:1fr 1fr}.acggc-extraction-battle-alert{align-items:stretch;flex-direction:column}.acggc-support-slot-strip{grid-template-columns:1fr}.acggc-support-shared-head{align-items:stretch;flex-direction:column}.acggc-shop-catalog-layout{grid-template-columns:1fr}.acggc-shop-catalog-layout .acggc-shop-categories{position:static;max-height:190px!important}.acggc-shop-catalog-layout .acggc-shop-categories button{text-align:center!important}}

/* V1.26 streamer / community extraction rooms */
.acggc-stream-safety-note{margin-top:14px;padding:18px!important;border:1px solid var(--x-line)!important;border-radius:18px!important;background:linear-gradient(135deg,var(--x-surface),var(--x-surface-2))!important;box-shadow:inset 0 3px 0 #5c8ec9}.acggc-stream-safety-note p{margin-bottom:0;line-height:1.7}
.acggc-community-command{grid-column:1/-1;display:grid;gap:14px;padding:16px;border:1px solid var(--x-line);border-radius:18px;background:var(--x-surface-2)}.acggc-community-command.is-stream-safe{box-shadow:inset 0 3px 0 #3da57a}.acggc-community-command>header{display:flex;align-items:flex-start;justify-content:space-between;gap:16px}.acggc-community-command>header h2{margin:4px 0}.acggc-community-command>header p{max-width:760px;margin:0}.acggc-room-security{display:flex;align-items:center;gap:8px;flex-wrap:wrap;justify-content:flex-end}.acggc-room-security>span{padding:7px 10px;border-radius:999px;background:color-mix(in srgb,var(--x-good) 12%,var(--x-surface));border:1px solid color-mix(in srgb,var(--x-good) 35%,transparent);color:var(--x-good);font-size:11px;font-weight:800}.acggc-room-host-controls{display:flex;gap:8px;flex-wrap:wrap;padding:10px;border:1px dashed var(--x-line);border-radius:13px;background:var(--x-surface)}.acggc-community-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.acggc-community-grid>div{padding:12px;border:1px solid var(--x-line);border-radius:14px;background:var(--x-surface)}.acggc-community-grid h4{margin:0 0 9px}.acggc-community-squad-list{display:grid;gap:7px}.acggc-community-squad-list>article{display:flex!important;align-items:center;justify-content:space-between;gap:10px;padding:9px 10px!important;border:1px solid var(--x-line)!important;border-radius:11px!important;background:var(--x-surface-2)!important}.acggc-community-squad-list>article>div{display:grid;gap:2px}.acggc-community-squad-list>article>span{font-size:11px;color:var(--x-accent);font-weight:800}.acggc-room-roster{padding:11px 12px;border:1px solid var(--x-line);border-radius:13px;background:var(--x-surface)}.acggc-room-roster summary{cursor:pointer;font-weight:800}.acggc-room-roster>div{display:grid;gap:7px;margin-top:10px}.acggc-community-roster-row{display:grid!important;grid-template-columns:minmax(140px,1fr) 110px auto auto auto;align-items:center;gap:7px;padding:8px!important;border:1px solid var(--x-line)!important;border-radius:10px!important;background:var(--x-surface-2)!important}.acggc-community-roster-row>div{display:grid}.acggc-community-roster-row select{min-width:0}.acggc-room-row .acggc-actions{display:flex;gap:6px;flex-wrap:wrap;justify-content:flex-end}.acggc-room-row>div:first-child{display:grid;gap:3px}.acggc-room-team-options{grid-template-columns:repeat(2,minmax(0,1fr))!important}.acggc-fixed-party-card>small{display:block;margin-top:10px;line-height:1.55}.acggc-extraction-setup .acggc-ai-switch{margin-top:8px}
html.dark .acggc-community-command,body.dark .acggc-community-command,html[data-theme="dark"] .acggc-community-command,body[data-theme="dark"] .acggc-community-command{background:var(--x-surface-2);border-color:var(--x-line)}
@media(max-width:900px){.acggc-community-grid{grid-template-columns:1fr}.acggc-community-roster-row{grid-template-columns:1fr 100px auto auto}.acggc-community-roster-row .acggc-btn:last-child{grid-column:1/-1}.acggc-community-command>header{flex-direction:column}.acggc-room-security{justify-content:flex-start}}
@media(max-width:650px){.acggc-room-team-options{grid-template-columns:1fr!important}.acggc-community-roster-row{grid-template-columns:1fr 1fr}.acggc-community-roster-row>div{grid-column:1/-1}.acggc-community-roster-row .acggc-btn{width:100%}.acggc-room-row{align-items:stretch;flex-direction:column}.acggc-room-row .acggc-actions{justify-content:flex-start}}

/* v1.27.0 refinement pack */
#acggc-message.acggc-message-toast{top:50%!important;transform:translate(-50%,-50%)!important;box-shadow:0 24px 70px rgba(28,22,55,.26)!important}#acggc-message.acggc-message-toast.is-leaving{transform:translate(-50%,-58%)!important}
.acggc-battle-page-head-upgraded{margin-bottom:14px}.acggc-battle-ai-panel{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(220px,.8fr);gap:14px;align-items:center}.acggc-battle-ai-panel .acggc-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap;grid-column:1/-1}
.acggc-extraction-page-hero{background:radial-gradient(circle at 82% 16%,rgba(110,221,255,.22),transparent 36%),linear-gradient(145deg,#241f43 0%,#4d3f82 54%,#18485d 100%)!important}.acggc-extraction-page-hero .acggc-back-link{padding:8px 12px;border-radius:999px;background:rgba(255,255,255,.08)}.acggc-extraction-rules span{display:grid!important;gap:3px;justify-content:stretch!important}.acggc-extraction-rules span small{opacity:.78;line-height:1.55}
html:not(.dark) .acggc-extraction-page-hero,body:not(.dark) .acggc-extraction-page-hero{box-shadow:0 22px 60px rgba(46,39,87,.14),inset 0 1px 0 rgba(255,255,255,.12)}
.acggc-zone-choice>label{display:grid}.acggc-zone-choice img{aspect-ratio:3/4!important;object-position:center top}.acggc-zone-choice .acggc-zone-locations{display:grid;gap:8px;padding:0 14px 14px}.acggc-zone-locations label{display:block;padding:10px 11px;border:1px solid var(--x-line,rgba(104,88,179,.14));border-radius:12px;background:rgba(255,255,255,.72)}.acggc-zone-locations label:has(input:checked){border-color:#7764dc;background:rgba(118,100,220,.1)}
.acggc-choice-section{display:grid;gap:10px;margin:12px 0}.acggc-choice-section>header{display:flex;justify-content:space-between;gap:10px;align-items:end;flex-wrap:wrap}.acggc-choice-section>header small{color:var(--x-muted,var(--muted));font-size:12px}.acggc-choice-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.acggc-choice-grid-compact{grid-template-columns:repeat(2,minmax(0,1fr))}.acggc-choice-card{display:grid;grid-template-rows:auto 1fr;gap:0;padding:0!important;border:1px solid var(--x-line,rgba(109,95,176,.16));border-radius:16px;background:var(--x-surface,#fff);overflow:hidden;text-align:left;cursor:pointer;transition:.18s ease;color:inherit}.acggc-choice-card:hover{transform:translateY(-2px);box-shadow:0 14px 28px rgba(60,48,110,.12)}.acggc-choice-card.is-active{border-color:#7764dc;box-shadow:0 0 0 2px rgba(118,100,220,.2),0 12px 26px rgba(86,71,166,.16)}.acggc-choice-card img{width:100%;aspect-ratio:3/4;object-fit:cover}.acggc-choice-card span{display:grid;gap:5px;padding:12px}.acggc-choice-card small{color:#7764dc;font-weight:800}.acggc-choice-card b{font-size:16px}.acggc-choice-card em{font-style:normal;font-size:12px;line-height:1.6;color:var(--x-muted,var(--muted))}.acggc-choice-card-compact img{max-height:180px}
.acggc-public-action-card,.acggc-fixed-party-card{display:grid;align-content:start}.acggc-room-team-options [hidden]{display:none!important}.acggc-room-team-options label{display:grid;gap:6px}
.acggc-extraction-live-report article,.acggc-extraction-career-list article{display:grid;gap:5px;padding:12px;border:1px solid var(--x-line,rgba(107,93,174,.16));border-radius:13px;background:var(--x-surface-2,rgba(255,255,255,.76))}.acggc-extraction-career-feed{display:grid;gap:12px}.acggc-extraction-career-list{display:grid;gap:10px}.acggc-extraction-career-list article>div{display:flex;justify-content:space-between;gap:10px;align-items:baseline;flex-wrap:wrap}.acggc-extraction-career-list p{margin:0;line-height:1.65}.acggc-extraction-career-list span{font-size:12px;color:var(--x-accent,#7764dc);font-weight:800}
.acggc-extraction-exits{grid-template-columns:repeat(3,minmax(0,1fr))!important}.acggc-extraction-exit-card{grid-template-columns:1fr!important;align-content:start!important}.acggc-extraction-exit-card img{aspect-ratio:3/4!important}.acggc-extraction-exit-card span{padding:0 12px 12px!important}

.acggc-dossier-rarity{min-width:86px!important;padding:10px 16px!important;border-width:2px!important;font-size:24px!important;box-shadow:0 10px 28px rgba(71,58,126,.14)!important}
@media(max-width:980px){.acggc-battle-ai-panel{grid-template-columns:1fr}.acggc-extraction-exits{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media(max-width:720px){.acggc-choice-grid,.acggc-choice-grid-compact,.acggc-extraction-exits{grid-template-columns:1fr!important}.acggc-zone-choice-grid{grid-template-columns:1fr!important}.acggc-zone-choice img,.acggc-choice-card img,.acggc-extraction-exit-card img{max-height:260px}.acggc-extraction-page-hero{padding:24px!important}}

/* v1.28.0 battle + Sakurairo theme hardening */
.acggc-battle-page .acggc-unit-grid{grid-template-columns:repeat(auto-fit,minmax(185px,1fr));gap:14px}.acggc-battle-page .acggc-unit{min-height:0;gap:7px;padding:12px}.acggc-battle-page .acggc-battle-unit-art{display:block;width:100%;height:auto!important;aspect-ratio:3/4!important;margin:0 0 8px;border-radius:14px;overflow:hidden;background:linear-gradient(150deg,rgba(117,98,211,.13),rgba(91,165,193,.08))}.acggc-battle-page .acggc-battle-unit-art img{display:block;width:100%;height:100%!important;aspect-ratio:3/4!important;object-fit:cover!important;object-position:center top!important}.acggc-battle-page .acggc-unit>strong{font-size:16px}.acggc-battle-page .acggc-unit>span:not(.acggc-battle-unit-art),.acggc-battle-page .acggc-unit>small{font-size:11px;line-height:1.5}.acggc-battle-page .acggc-hp{margin-top:4px}
.acggc-extraction-page{--xhero-bg:linear-gradient(145deg,#f7f4ff 0%,#edf6fb 55%,#f8f5ff 100%);--xhero-text:#292440;--xhero-muted:#6d6682;--xhero-line:rgba(93,77,155,.16);--xhero-chip:rgba(255,255,255,.7);--xhero-accent:#6652c7}.acggc-extraction-page .acggc-extraction-page-hero{background:radial-gradient(circle at 82% 14%,rgba(114,191,224,.22),transparent 34%),var(--xhero-bg)!important;color:var(--xhero-text)!important;border:1px solid var(--xhero-line);box-shadow:0 18px 52px rgba(56,47,96,.1)!important}.acggc-extraction-page .acggc-extraction-page-hero p,.acggc-extraction-page .acggc-extraction-page-hero small{color:var(--xhero-muted)!important}.acggc-extraction-page .acggc-extraction-page-hero .acggc-kicker{color:var(--xhero-accent)!important}.acggc-extraction-page .acggc-back-link{color:var(--xhero-text)!important;background:var(--xhero-chip)!important;border:1px solid var(--xhero-line)}.acggc-extraction-page .acggc-extraction-rules span{background:var(--xhero-chip)!important;border-color:var(--xhero-line)!important;color:var(--xhero-text)!important;box-shadow:0 8px 22px rgba(69,56,117,.06)}
html.dark .acggc-extraction-page,body.dark .acggc-extraction-page,html.darkmode .acggc-extraction-page,body.darkmode .acggc-extraction-page,html[data-theme="dark"] .acggc-extraction-page,body[data-theme="dark"] .acggc-extraction-page,.dark-mode .acggc-extraction-page{--xhero-bg:linear-gradient(145deg,#1d1b2e 0%,#30284d 56%,#163a4b 100%);--xhero-text:#f7f4ff;--xhero-muted:#c6bfd7;--xhero-line:rgba(218,210,255,.15);--xhero-chip:rgba(255,255,255,.075);--xhero-accent:#c1b5ff}.dark-mode .acggc-extraction-page .acggc-extraction-page-hero,html.dark .acggc-extraction-page .acggc-extraction-page-hero,body.dark .acggc-extraction-page .acggc-extraction-page-hero,html.darkmode .acggc-extraction-page .acggc-extraction-page-hero,body.darkmode .acggc-extraction-page .acggc-extraction-page-hero,html[data-theme="dark"] .acggc-extraction-page .acggc-extraction-page-hero,body[data-theme="dark"] .acggc-extraction-page .acggc-extraction-page-hero{box-shadow:0 22px 60px rgba(0,0,0,.32)!important}
html.darkmode .acggc-extraction.acggc-extraction-standalone,body.darkmode .acggc-extraction.acggc-extraction-standalone{--x-bg:#171722;--x-surface:#222230;--x-surface-2:#2b2a3a;--x-text:#f5f3fb;--x-muted:#bbb5c9;--x-line:rgba(222,216,255,.14);--x-accent:#b9adff;--x-accent-soft:rgba(185,173,255,.12);--x-good:#73d8a7;--x-warn:#efbd6f;background:var(--x-bg)!important;color:var(--x-text)!important}


@media(max-width:760px){.acggc-battle-page .acggc-unit-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.acggc-battle-page .acggc-unit{padding:9px}}

/* v1.29.0 CSP-safe bootstrap + runtime diagnostics */
.acggc{box-sizing:border-box;max-width:1180px;margin:24px auto}.acggc *{box-sizing:border-box}.acggc-game-shell{display:grid;grid-template-columns:172px minmax(0,1fr);gap:18px;align-items:start}.acggc-command-rail{display:flex!important;visibility:visible!important;opacity:1!important;flex-direction:column}.acggc-command-rail button{visibility:visible!important;opacity:1!important}.acggc [hidden]{display:none!important}
.acggc-diagnostics-toggle{position:fixed;right:18px;bottom:18px;z-index:100090;padding:10px 14px;border:1px solid rgba(112,94,190,.25);border-radius:999px;background:#2d2942;color:#fff;box-shadow:0 12px 34px rgba(25,22,42,.25);font:700 12px/1.2 system-ui,sans-serif;cursor:pointer}.acggc-diagnostics-panel{position:fixed;right:18px;bottom:68px;z-index:100091;width:min(560px,calc(100vw - 28px));max-height:min(78vh,760px);overflow:auto;padding:18px;border:1px solid rgba(111,94,185,.2);border-radius:20px;background:rgba(250,249,253,.98);color:#28243b;box-shadow:0 24px 70px rgba(25,21,48,.28);font:13px/1.55 system-ui,sans-serif}.acggc-diagnostics-panel[hidden]{display:none!important}.acggc-diagnostics-panel>header{display:flex;justify-content:space-between;align-items:flex-start;gap:14px;padding-bottom:12px;border-bottom:1px solid rgba(96,82,153,.14)}.acggc-diagnostics-panel>header span{font-size:10px;font-weight:900;letter-spacing:.12em;color:#725fc5}.acggc-diagnostics-panel>header h2{margin:4px 0 0;font-size:20px}.acggc-diagnostics-panel button{padding:8px 10px;border:1px solid rgba(101,84,169,.18);border-radius:10px;background:#fff;color:#322b4c;cursor:pointer}.acggc-diagnostics-summary{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:14px 0}.acggc-diagnostics-summary>div{display:grid;gap:2px;padding:10px;border:1px solid rgba(100,84,164,.12);border-radius:12px;background:#fff}.acggc-diagnostics-summary small{color:#756e83}.acggc-diagnostics-panel details{margin-top:10px;border:1px solid rgba(100,84,164,.12);border-radius:12px;background:#fff;overflow:hidden}.acggc-diagnostics-panel summary{padding:10px 12px;font-weight:800;cursor:pointer}.acggc-diagnostics-events{display:grid;gap:7px;padding:0 12px 12px}.acggc-diagnostics-events article{padding:9px 10px;border-left:3px solid #7664c9;border-radius:0 9px 9px 0;background:#f6f4fb}.acggc-diagnostics-events article.is-csp,.acggc-diagnostics-events article.is-error{border-left-color:#c24d6c;background:#fff4f7}.acggc-diagnostics-events article.is-ok{border-left-color:#3e9c6d;background:#f1fbf5}.acggc-diagnostics-events p,.acggc-diagnostics-events small{margin:3px 0 0}.acggc-diagnostics-panel pre{margin:0;padding:10px 12px;max-height:190px;overflow:auto;white-space:pre-wrap;overflow-wrap:anywhere;background:#f6f4fa}.acggc-diagnostics-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:12px}.acggc-diagnostics-note{margin:10px 0 0;color:#756e83;font-size:11px}
html.dark .acggc-diagnostics-panel,body.dark .acggc-diagnostics-panel,html[data-theme="dark"] .acggc-diagnostics-panel,.dark-mode .acggc-diagnostics-panel{background:rgba(29,28,40,.98);color:#f5f2ff;border-color:rgba(219,211,255,.14)}html.dark .acggc-diagnostics-panel button,body.dark .acggc-diagnostics-panel button,html[data-theme="dark"] .acggc-diagnostics-panel button,.dark-mode .acggc-diagnostics-panel button,html.dark .acggc-diagnostics-summary>div,body.dark .acggc-diagnostics-summary>div,html[data-theme="dark"] .acggc-diagnostics-summary>div,.dark-mode .acggc-diagnostics-summary>div,html.dark .acggc-diagnostics-panel details,body.dark .acggc-diagnostics-panel details,html[data-theme="dark"] .acggc-diagnostics-panel details,.dark-mode .acggc-diagnostics-panel details{background:#252433;color:#f5f2ff;border-color:rgba(219,211,255,.12)}html.dark .acggc-diagnostics-panel pre,body.dark .acggc-diagnostics-panel pre,html[data-theme="dark"] .acggc-diagnostics-panel pre,.dark-mode .acggc-diagnostics-panel pre{background:#1c1b27;color:#ddd7ec}
@media(max-width:780px){.acggc-game-shell{display:block}.acggc-command-rail{display:none!important}.acggc-mobile-command{display:flex!important}.acggc-diagnostics-panel{right:10px;bottom:62px;width:calc(100vw - 20px);max-height:74vh}.acggc-diagnostics-toggle{right:10px;bottom:10px}.acggc-diagnostics-summary{grid-template-columns:1fr 1fr}}

/* v1.30 lord/cooperation polish */
.acggc-lord-build-controls{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px!important;padding:16px;border-radius:18px;background:linear-gradient(135deg,rgba(118,100,220,.12),rgba(82,191,255,.08));border:1px solid rgba(118,100,220,.18)}
.acggc-lord-build-controls label{display:grid;gap:8px;font-weight:700}.acggc-lord-build-controls select{min-height:44px;border-radius:12px}
.acggc-guild-list-row{display:flex!important;justify-content:space-between;align-items:center;gap:10px;text-align:left;width:100%;margin-bottom:8px;padding:14px!important;border-radius:14px!important}
@media(max-width:720px){.acggc-lord-build-controls{grid-template-columns:1fr!important}}

/* V1.31.0 · alliance / payment-test / battle-log refinement */
.acggc-guild-card-upgraded{display:grid;gap:16px}.acggc-guild-card-upgraded>header{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;padding-bottom:14px;border-bottom:1px solid var(--line)}.acggc-guild-card-upgraded>header h4{font-size:24px;margin:4px 0}.acggc-guild-notice-box{display:grid;gap:9px;padding:14px;border:1px solid var(--line);border-radius:15px;background:var(--glass)}.acggc-guild-notice-box textarea{width:100%;min-height:86px;border:1px solid var(--line);border-radius:11px;padding:10px;background:var(--glass);color:var(--ink);resize:vertical}.acggc-guild-members{display:grid;gap:10px}.acggc-guild-member-list{display:grid;gap:8px;max-height:430px;overflow:auto;padding-right:3px;scrollbar-width:thin}.acggc-guild-member-row{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:11px 12px;border:1px solid var(--line);border-radius:12px;background:var(--glass)}.acggc-guild-member-row.is-me{border-color:rgba(111,91,211,.34);background:rgba(111,91,211,.07)}.acggc-guild-member-row>div:first-child{display:grid;gap:3px;min-width:0}.acggc-guild-member-row .acggc-actions{justify-content:flex-end}.acggc-guild-catalog{display:grid;grid-template-columns:minmax(260px,.72fr) minmax(0,1.28fr);gap:16px}.acggc-guild-catalog>section{padding:15px;border:1px solid var(--line);border-radius:16px;background:var(--glass)}.acggc-guild-catalog-list{display:grid;gap:8px;max-height:520px;overflow:auto;padding-right:3px;scrollbar-width:thin}.acggc-guild-catalog-list .acggc-guild-list-row{display:flex;width:100%;align-items:center;justify-content:space-between;gap:12px;padding:12px;border:1px solid var(--line);border-radius:12px;background:var(--glass);color:inherit;text-align:left}.acggc-guild-catalog-list .acggc-guild-list-row>div{display:grid;gap:3px;min-width:0}.acggc-guild-catalog-list .acggc-guild-list-row p{margin:3px 0 0;font-size:12px;color:var(--muted);line-height:1.55}
.acggc-battle-history-panel{margin-top:18px;padding:14px 16px;border:1px solid var(--line);border-radius:16px;background:var(--glass)}.acggc-battle-history-panel summary{cursor:pointer;font-size:15px;font-weight:900}.acggc-battle-history-panel>.acggc-actions{margin:12px 0}.acggc-battle-history{display:grid;gap:8px;max-height:420px;overflow:auto;scrollbar-width:thin}.acggc-battle-history article{padding:11px 12px;border:1px solid var(--line);border-radius:12px;background:rgba(255,255,255,.46)}.acggc-battle-history article header{display:flex;justify-content:space-between;gap:10px;align-items:center}.acggc-battle-history article p{margin:6px 0;line-height:1.65}.acggc-battle-history article small{color:var(--muted)}
.acggc-lord-build-panel{position:relative;overflow:hidden}.acggc-lord-build-panel:before{content:"LORD BUILD";position:absolute;right:16px;top:8px;font-size:44px;font-weight:950;letter-spacing:.04em;opacity:.035;pointer-events:none}.acggc-lord-build-controls label{position:relative;padding:12px;border:1px solid var(--line);border-radius:14px;background:var(--glass)}.acggc-lord-build-controls label:first-child:before{content:"CLASS";display:block;margin-bottom:2px;font-size:9px;letter-spacing:.16em;color:var(--muted)}.acggc-lord-build-controls label:nth-child(2):before{content:"ELEMENT";display:block;margin-bottom:2px;font-size:9px;letter-spacing:.16em;color:var(--muted)}
@media(max-width:800px){.acggc-guild-catalog{grid-template-columns:1fr}.acggc-guild-card-upgraded>header,.acggc-guild-member-row{align-items:stretch;flex-direction:column}.acggc-guild-member-row .acggc-actions{justify-content:flex-start}}

/* v1.33.0 battle report archive */
.acggc-battle-report-panel{grid-column:1/-1}.acggc-battle-report-filters{display:grid;grid-template-columns:minmax(180px,1.3fr) repeat(3,minmax(140px,.8fr)) auto;gap:8px;margin:12px 0 16px}.acggc-battle-report-filters input,.acggc-battle-report-filters select{width:100%}.acggc-battle-report-list{display:grid;gap:8px}.acggc-battle-report-row{display:grid;grid-template-columns:92px minmax(0,1.2fr) minmax(180px,.8fr);gap:12px;align-items:center;width:100%;padding:13px 14px;border:1px solid var(--line);border-radius:14px;background:var(--glass);color:var(--ink);text-align:left;cursor:pointer}.acggc-battle-report-row:hover{border-color:rgba(116,98,211,.42);box-shadow:0 8px 24px rgba(68,54,120,.08)}.acggc-battle-report-row>div{display:grid;gap:4px}.acggc-battle-report-row>div:last-child{text-align:right}.acggc-battle-report-result{display:inline-flex;align-items:center;justify-content:center;padding:7px 9px;border-radius:999px;font-size:11px;font-weight:900;background:rgba(97,87,137,.1)}.acggc-battle-report-result.is-victory{color:#23845a;background:rgba(48,165,110,.12)}.acggc-battle-report-result.is-defeat{color:#b3485c;background:rgba(204,73,95,.1)}.acggc-battle-report-result.is-active{color:#7a64d3;background:rgba(122,100,211,.12)}.acggc-battle-report-detail{margin-top:18px;padding:16px;border:1px solid var(--line);border-radius:18px;background:var(--glass)}.acggc-battle-report-reward{display:flex;gap:12px;align-items:center;flex-wrap:wrap;margin:10px 0 14px;padding:11px 13px;border-radius:12px;background:rgba(117,97,206,.08)}.acggc-battle-report-log{display:grid;gap:8px;max-height:620px;overflow:auto}.acggc-battle-report-log article{padding:11px 12px;border:1px solid var(--line);border-radius:12px;background:rgba(255,255,255,.5)}.acggc-battle-report-log article header{display:flex;justify-content:space-between;gap:10px}.acggc-battle-report-log article p{margin:6px 0}.acggc-battle-report-log article small{display:block;color:var(--muted)}html.dark .acggc-battle-report-log article,body.dark .acggc-battle-report-log article,.dark-mode .acggc-battle-report-log article{background:rgba(255,255,255,.045)}
@media(max-width:900px){.acggc-battle-report-filters{grid-template-columns:1fr 1fr}.acggc-battle-report-row{grid-template-columns:84px minmax(0,1fr)}.acggc-battle-report-row>div:last-child{grid-column:2;text-align:left}}@media(max-width:600px){.acggc-battle-report-filters{grid-template-columns:1fr}.acggc-battle-report-row{grid-template-columns:1fr}.acggc-battle-report-row>div:last-child{grid-column:1}.acggc-battle-report-result{justify-self:start}}

/* v1.35.0 · strategic front reports */
.acggc-strategic-report-list{display:grid;gap:10px;margin-top:14px}
.acggc-strategic-report-row{width:100%;display:grid;grid-template-columns:minmax(160px,.8fr) minmax(260px,1.8fr) minmax(150px,.7fr) auto;gap:14px;align-items:center;text-align:left;padding:14px 16px;border:1px solid var(--acggc-border,rgba(127,127,127,.2));border-radius:16px;background:var(--acggc-surface,#fff);color:inherit;cursor:pointer}
.acggc-strategic-report-row:hover{transform:translateY(-1px);box-shadow:0 12px 30px rgba(0,0,0,.08)}
.acggc-strategic-report-type{display:grid;gap:4px}.acggc-strategic-report-type span{font-size:12px;opacity:.72}.acggc-strategic-report-type b{font-size:15px}
.acggc-strategic-report-row p{margin:4px 0 0;font-size:13px;opacity:.78}.acggc-strategic-report-row>small{white-space:nowrap;opacity:.65}
.acggc-strategic-report-metric{display:grid;gap:3px}.acggc-strategic-report-metric b{font-size:20px}.acggc-strategic-report-metric small{opacity:.7}.acggc-strategic-report-metric span{font-size:12px;font-weight:700}
.acggc-strategic-report-detail{margin-top:18px;padding-top:18px;border-top:1px solid var(--acggc-border,rgba(127,127,127,.2))}
.acggc-strategic-report-summary{display:flex;gap:10px;flex-wrap:wrap;margin:12px 0 18px}.acggc-strategic-report-summary>span{display:grid;min-width:130px;gap:2px;padding:10px 12px;border-radius:12px;background:var(--acggc-soft,rgba(127,127,127,.08));border:1px solid var(--acggc-border,rgba(127,127,127,.15))}.acggc-strategic-report-summary small{opacity:.7}.acggc-strategic-report-summary b{font-size:18px}
.acggc-strategic-report-timeline{display:grid;gap:12px}.acggc-strategic-report-timeline article{padding:14px 16px;border-radius:14px;background:var(--acggc-surface,#fff);border:1px solid var(--acggc-border,rgba(127,127,127,.18))}.acggc-strategic-report-timeline header{display:flex;justify-content:space-between;gap:12px}.acggc-strategic-report-timeline header div{display:grid;gap:3px}.acggc-strategic-report-timeline header span{font-size:12px;opacity:.7}.acggc-strategic-report-timeline time{font-size:12px;opacity:.62;white-space:nowrap}.acggc-strategic-report-timeline p{margin:9px 0}.acggc-strategic-report-timeline footer{display:flex;gap:8px;flex-wrap:wrap}.acggc-strategic-report-timeline footer span{font-size:12px;padding:4px 8px;border-radius:999px;background:var(--acggc-soft,rgba(127,127,127,.08))}
@media(max-width:900px){.acggc-strategic-report-row{grid-template-columns:1fr 1fr}.acggc-strategic-report-row>small{white-space:normal}}
@media(max-width:620px){.acggc-strategic-report-row{grid-template-columns:1fr}.acggc-strategic-report-timeline header{display:grid}.acggc-strategic-report-timeline time{white-space:normal}}

/* v1.37.0 · guild leader succession */
.acggc-guild-succession{display:grid;gap:7px;padding:14px;border:1px solid var(--line);border-radius:15px;background:linear-gradient(135deg,rgba(91,111,211,.07),rgba(94,181,169,.05))}.acggc-guild-succession h4{margin:3px 0;font-size:17px}.acggc-guild-succession p{margin:0;color:var(--ink)}.acggc-guild-succession small{color:var(--muted);line-height:1.6}.acggc-guild-succession.is-warning{border-color:rgba(222,153,55,.38);background:linear-gradient(135deg,rgba(222,153,55,.12),rgba(210,91,91,.06))}
html.dark .acggc-guild-succession,body.dark .acggc-guild-succession{background:linear-gradient(135deg,rgba(91,111,211,.13),rgba(94,181,169,.08));border-color:rgba(255,255,255,.1)}html.dark .acggc-guild-succession.is-warning,body.dark .acggc-guild-succession.is-warning{background:linear-gradient(135deg,rgba(222,153,55,.16),rgba(210,91,91,.09));border-color:rgba(222,153,55,.33)}

/* v1.41.0 WordPress account / logged-out access gate */
.acggc-account-gate{position:relative;overflow:hidden;max-width:760px;margin:24px auto;text-align:center;padding:42px 34px}
.acggc-account-gate:before{content:"";position:absolute;inset:-40% 55% 45% -15%;background:radial-gradient(circle,rgba(124,96,220,.18),transparent 68%);pointer-events:none}
.acggc-account-gate>*{position:relative;z-index:1}
.acggc-account-gate-icon{width:68px;height:68px;margin:0 auto 12px;border-radius:22px;display:grid;place-items:center;font-size:30px;font-weight:900;background:linear-gradient(135deg,rgba(113,88,201,.16),rgba(107,181,231,.16));border:1px solid var(--line);box-shadow:0 12px 30px rgba(73,57,118,.1)}
.acggc-account-gate h2{margin:8px 0 10px;font-size:clamp(24px,4vw,34px)}
.acggc-account-gate-copy{max-width:620px;margin:0 auto;color:var(--muted);line-height:1.75}
.acggc-account-gate-note{display:inline-block;margin:14px auto 0;padding:7px 11px;border-radius:999px;border:1px solid var(--line);background:rgba(255,255,255,.55)}
.acggc-account-gate-actions{justify-content:center;margin-top:22px}
.acggc-account-gate-links{margin:15px 0 0;font-size:13px}.acggc-account-gate-links a{color:var(--muted);text-decoration:none}.acggc-account-gate-links a:hover{text-decoration:underline}
.acggc-account-gate.is-hero{max-width:none;min-height:300px;display:flex;flex-direction:column;justify-content:center;background:linear-gradient(135deg,rgba(62,46,111,.96),rgba(111,91,185,.92));color:#fff;border-color:rgba(255,255,255,.15)}
.acggc-account-gate.is-hero .acggc-account-gate-copy,.acggc-account-gate.is-hero .acggc-note,.acggc-account-gate.is-hero .acggc-account-gate-links a{color:rgba(255,255,255,.78)}
.acggc-account-gate.is-hero .acggc-account-gate-icon{border-color:rgba(255,255,255,.24);background:rgba(255,255,255,.1)}
.acggc-account-gate.is-hero .acggc-account-gate-note{background:rgba(255,255,255,.08);border-color:rgba(255,255,255,.18)}
@media(max-width:600px){.acggc-account-gate{padding:34px 18px}.acggc-account-gate-actions{flex-direction:column}.acggc-account-gate-actions .acggc-btn{width:100%;text-align:center}}

/* v1.43.0 payment / exchange history */
.acggc-history-page{max-width:1180px;margin:0 auto;padding:18px}
.acggc-history-hero{display:flex;justify-content:space-between;gap:20px;align-items:flex-end;margin-bottom:18px;padding:22px;border:1px solid var(--acggc-line,#dfe3ea);border-radius:22px;background:var(--acggc-panel,#fff)}
.acggc-history-hero h1{margin:.2em 0}.acggc-history-hero p{max-width:760px;margin:.35em 0 0}
.acggc-history-list{display:grid;gap:10px}
.acggc-history-row{display:grid;grid-template-columns:minmax(260px,1.6fr) repeat(3,minmax(130px,.7fr));gap:14px;align-items:center;padding:16px;border:1px solid var(--acggc-line,#e4e7ec);border-radius:16px;background:var(--acggc-card,#fff)}
.acggc-history-row>div:not(.acggc-history-main){display:grid;gap:4px}.acggc-history-row small{opacity:.72}.acggc-history-row strong{font-size:1rem}.acggc-history-main h2{margin:3px 0 5px}.acggc-history-main code{font-size:12px;word-break:break-all}
.acggc-history-pager{display:flex;justify-content:center;align-items:center;gap:12px;margin-top:18px}
.acggc-history-shortcuts{display:flex;gap:10px;flex-wrap:wrap;margin:14px 0 4px}
.acggc-empty-state{text-align:center;padding:32px 18px;border:1px dashed var(--acggc-line,#d7dce4);border-radius:16px}.acggc-empty-state p{margin:.4em 0 0;opacity:.72}
@media(max-width:760px){.acggc-history-hero{display:grid;align-items:start}.acggc-history-row{grid-template-columns:1fr 1fr}.acggc-history-main{grid-column:1/-1}.acggc-history-row>div:last-child{grid-column:1/-1}}


/* v1.45.0 · dedicated same-site payment cashier */
.acggc-payment-checkout-shell{max-width:880px;margin:clamp(28px,6vw,72px) auto;padding:0 18px}.acggc-payment-checkout-card{padding:clamp(24px,4vw,42px);border:1px solid var(--acggc-border,#d9d6e3);border-radius:28px;background:var(--acggc-surface,#fff);box-shadow:0 24px 70px rgba(37,30,60,.12)}.acggc-payment-checkout-card h1{margin:.35rem 0 1rem}.acggc-payment-checkout-meta{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:22px 0}.acggc-payment-checkout-meta>div{padding:14px 16px;border:1px solid var(--acggc-border,#e3dfeb);border-radius:16px;background:rgba(127,110,170,.055)}.acggc-payment-checkout-meta dt{font-size:12px;opacity:.65}.acggc-payment-checkout-meta dd{margin:4px 0 0;font-weight:700;word-break:break-all}.acggc-payment-checkout-state{margin:18px 0;padding:14px 16px;border-radius:16px;background:rgba(82,112,214,.08)}.acggc-payment-checkout-state p{margin:.35rem 0 0}.acggc-payment-checkout-state.is-error{background:rgba(190,61,74,.09)}.acggc-payment-checkout-state.is-success{background:rgba(46,146,95,.09)}.acggc-payment-checkout-note{margin-top:18px;font-size:13px;opacity:.7}@media(max-width:640px){.acggc-payment-checkout-meta{grid-template-columns:1fr}.acggc-payment-checkout-card{border-radius:20px}}

/* v1.46.0 payment checkout: exact SDK POST flow with a standalone, touch-friendly submit control. */
.acggc-payment-checkout-form{margin:24px 0 12px}
.acggc-payment-checkout-submit{width:100%;min-height:72px;border:0;border-radius:20px;padding:14px 22px;cursor:pointer;font:inherit;font-weight:800;box-shadow:0 18px 42px rgba(55,44,90,.18);background:linear-gradient(135deg,var(--acggc-accent,#7357d8),var(--acggc-accent-2,#a15ee5));color:#fff;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;transition:transform .16s ease,box-shadow .16s ease,opacity .16s ease}
.acggc-payment-checkout-submit:hover{transform:translateY(-2px);box-shadow:0 22px 48px rgba(55,44,90,.24)}
.acggc-payment-checkout-submit:focus-visible{outline:3px solid currentColor;outline-offset:3px}
.acggc-payment-checkout-submit:disabled{cursor:wait;opacity:.72;transform:none}
.acggc-payment-checkout-submit span{font-size:18px;letter-spacing:.02em}
.acggc-payment-checkout-submit small{font-size:12px;font-weight:600;opacity:.82}
.acggc-payment-checkout-cancel{display:block;width:max-content;max-width:100%;margin:10px auto 0;padding:8px 14px;text-decoration:none;opacity:.72}
.acggc-payment-checkout-cancel:hover{opacity:1}

/* v1.46.2 · recharge-history action polish */
.acggc-history-actions{display:flex;gap:10px;flex-wrap:wrap;justify-content:flex-end}
.acggc-history-action,.acggc-history-page-btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:42px;padding:10px 15px;border:1px solid var(--line,var(--acggc-line,#dfe3ea));border-radius:14px;background:color-mix(in srgb,var(--glass,var(--acggc-card,#fff)) 92%,transparent);color:var(--ink,#2d2940);font:inherit;font-size:13px;font-weight:800;text-decoration:none;box-shadow:0 7px 20px rgba(45,38,76,.07);transition:transform .16s ease,border-color .16s ease,box-shadow .16s ease,background .16s ease}
.acggc-history-action span{display:grid;place-items:center;width:26px;height:26px;border-radius:9px;background:color-mix(in srgb,var(--ink,#2d2940) 7%,transparent);font-size:15px}
.acggc-history-action:hover,.acggc-history-page-btn:hover{transform:translateY(-2px);border-color:color-mix(in srgb,var(--ink,#2d2940) 24%,var(--line,#dfe3ea));box-shadow:0 12px 26px rgba(45,38,76,.12)}
.acggc-history-action.is-primary{border-color:transparent;background:linear-gradient(135deg,var(--acggc-accent,#7357d8),var(--acggc-accent-2,#a15ee5));color:#fff;box-shadow:0 12px 28px rgba(91,70,164,.22)}
.acggc-history-action.is-primary span{background:rgba(255,255,255,.16)}
.acggc-history-pager>span{padding:8px 12px;border-radius:12px;background:color-mix(in srgb,var(--glass,var(--acggc-card,#fff)) 82%,transparent);border:1px solid var(--line,var(--acggc-line,#dfe3ea));font-size:13px;font-weight:700}
.acggc-history-shortcuts .acggc-btn{border-radius:14px;min-height:42px;padding:10px 15px;box-shadow:0 7px 18px rgba(45,38,76,.07)}
@media(max-width:760px){.acggc-history-actions{width:100%;justify-content:stretch}.acggc-history-action{flex:1;min-width:0}.acggc-history-pager{gap:8px}.acggc-history-page-btn{flex:1}.acggc-history-pager>span{white-space:nowrap}}


/* v1.46.4 · astral/anime payment gate + responsive light/dark polish */
.acggc-payment-checkout-shell{position:relative;max-width:1080px;margin:clamp(24px,5vw,68px) auto;padding:18px;isolation:isolate}
.acggc-payment-checkout-shell:before,.acggc-payment-checkout-shell:after{content:"";position:absolute;z-index:-2;border-radius:50%;filter:blur(4px);pointer-events:none}.acggc-payment-checkout-shell:before{width:360px;height:360px;left:-120px;top:-100px;background:radial-gradient(circle,rgba(171,116,255,.19),rgba(119,191,255,.07) 48%,transparent 70%)}.acggc-payment-checkout-shell:after{width:300px;height:300px;right:-90px;bottom:-80px;background:radial-gradient(circle,rgba(255,137,209,.16),rgba(154,128,255,.06) 52%,transparent 72%)}
.acggc-payment-checkout-orbit{position:absolute;inset:-16px;z-index:-1;overflow:hidden;pointer-events:none}.acggc-payment-checkout-orbit i{position:absolute;width:8px;height:8px;border-radius:50%;background:currentColor;opacity:.28;box-shadow:0 0 18px currentColor}.acggc-payment-checkout-orbit i:nth-child(1){left:8%;top:18%;animation:acggc-checkout-star 4.6s ease-in-out infinite}.acggc-payment-checkout-orbit i:nth-child(2){right:7%;top:24%;width:5px;height:5px;animation:acggc-checkout-star 3.7s ease-in-out .8s infinite}.acggc-payment-checkout-orbit i:nth-child(3){left:15%;bottom:9%;width:6px;height:6px;animation:acggc-checkout-star 5.2s ease-in-out 1.2s infinite}.acggc-payment-checkout-orbit i:nth-child(4){right:16%;bottom:13%;width:10px;height:10px;animation:acggc-checkout-star 4.1s ease-in-out .4s infinite}@keyframes acggc-checkout-star{0%,100%{transform:translateY(0) scale(.85);opacity:.18}50%{transform:translateY(-12px) scale(1.18);opacity:.62}}
.acggc-payment-checkout-card{display:grid;grid-template-columns:minmax(280px,.78fr) minmax(0,1.22fr);padding:0;overflow:hidden;border-radius:32px;border:1px solid color-mix(in srgb,var(--line,var(--acggc-border,#ddd8e8)) 80%,rgba(158,117,255,.35));background:color-mix(in srgb,var(--glass,var(--acggc-surface,#fff)) 94%,transparent);box-shadow:0 30px 90px rgba(48,34,78,.16),inset 0 1px rgba(255,255,255,.7);backdrop-filter:blur(22px);transition:transform .28s ease,opacity .28s ease,filter .28s ease}.acggc-payment-checkout-card.is-leaving{transform:scale(.992);opacity:.88;filter:saturate(1.08)}
.acggc-payment-checkout-visual{position:relative;min-height:600px;overflow:hidden;background:linear-gradient(160deg,#3e315c,#7560a4)}.acggc-payment-checkout-visual>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center 28%;filter:saturate(.94) contrast(1.02)}.acggc-payment-checkout-visual:before{content:"";position:absolute;inset:0;z-index:1;background:linear-gradient(180deg,rgba(30,18,52,.04) 20%,rgba(31,19,53,.23) 58%,rgba(25,16,43,.86) 100%),linear-gradient(115deg,rgba(222,177,255,.12),transparent 48%)}.acggc-payment-checkout-visual-glow{position:absolute;z-index:1;width:260px;height:260px;border-radius:50%;left:50%;top:18%;transform:translateX(-50%);background:radial-gradient(circle,rgba(255,220,252,.3),rgba(194,145,255,.09) 48%,transparent 70%);filter:blur(5px)}.acggc-payment-checkout-visual-copy{position:absolute;z-index:2;left:24px;right:24px;bottom:24px;padding:18px 20px;border:1px solid rgba(255,255,255,.2);border-radius:20px;background:rgba(32,20,51,.36);color:#fff;box-shadow:0 18px 44px rgba(18,10,33,.26);backdrop-filter:blur(14px)}.acggc-payment-checkout-visual-copy span{display:block;font-size:10px;font-weight:900;letter-spacing:.16em;opacity:.78}.acggc-payment-checkout-visual-copy strong{display:block;margin:5px 0 2px;font-size:25px;letter-spacing:.04em}.acggc-payment-checkout-visual-copy small{opacity:.78}
.acggc-payment-checkout-content{position:relative;padding:clamp(28px,4.6vw,54px);display:flex;flex-direction:column;justify-content:center;min-width:0}.acggc-payment-checkout-content:before{content:"✦";position:absolute;right:26px;top:24px;font-size:54px;line-height:1;color:color-mix(in srgb,var(--acggc-accent,#7357d8) 15%,transparent);transform:rotate(12deg)}.acggc-payment-checkout-statusmark{width:54px;height:54px;margin-bottom:14px;display:grid;place-items:center;border-radius:18px;background:linear-gradient(135deg,color-mix(in srgb,var(--acggc-accent,#7357d8) 16%,transparent),color-mix(in srgb,var(--acggc-accent-2,#a15ee5) 13%,transparent));border:1px solid color-mix(in srgb,var(--acggc-accent,#7357d8) 22%,var(--line,#ddd));box-shadow:0 12px 32px rgba(89,68,146,.12)}.acggc-payment-checkout-statusmark span{font-size:25px;animation:acggc-checkout-pulse 2.3s ease-in-out infinite}@keyframes acggc-checkout-pulse{0%,100%{transform:rotate(0) scale(1)}50%{transform:rotate(14deg) scale(1.12)}}
.acggc-payment-checkout-card h1{font-size:clamp(28px,4vw,42px);line-height:1.15;margin:.32rem 0 .7rem;letter-spacing:-.025em}.acggc-payment-checkout-lead{margin:0 0 8px;max-width:560px;color:var(--muted,#777083);line-height:1.75}.acggc-payment-checkout-meta{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:20px 0}.acggc-payment-checkout-meta>div{position:relative;padding:13px 15px;border:1px solid color-mix(in srgb,var(--line,var(--acggc-border,#e3dfeb)) 88%,transparent);border-radius:16px;background:color-mix(in srgb,var(--glass,var(--acggc-surface,#fff)) 82%,var(--acggc-accent,#7357d8) 3%);overflow:hidden}.acggc-payment-checkout-meta>div.is-money:after{content:"✧";position:absolute;right:12px;top:9px;opacity:.25}.acggc-payment-checkout-meta dt{font-size:11px;font-weight:800;letter-spacing:.08em;text-transform:uppercase;opacity:.58}.acggc-payment-checkout-meta dd{margin:5px 0 0;font-weight:850;word-break:break-all}.acggc-payment-checkout-meta .is-money dd{font-size:20px;color:var(--acggc-accent,#7357d8)}
.acggc-payment-checkout-channel{display:flex;align-items:center;gap:12px;margin:0 0 14px;padding:12px 14px;border-radius:15px;background:color-mix(in srgb,var(--acggc-accent,#7357d8) 7%,transparent);border:1px solid color-mix(in srgb,var(--acggc-accent,#7357d8) 14%,var(--line,#ddd))}.acggc-payment-checkout-channel-dot{width:12px;height:12px;border-radius:50%;background:linear-gradient(135deg,var(--acggc-accent,#7357d8),var(--acggc-accent-2,#a15ee5));box-shadow:0 0 0 5px color-mix(in srgb,var(--acggc-accent,#7357d8) 10%,transparent)}.acggc-payment-checkout-channel div{display:grid;gap:2px}.acggc-payment-checkout-channel small{font-size:11px;opacity:.66}
.acggc-payment-checkout-form{margin:0}.acggc-payment-checkout-submit{position:relative;isolation:isolate;overflow:hidden;width:100%;min-height:70px;border:0;border-radius:19px;padding:13px 22px;cursor:pointer;font:inherit;font-weight:850;box-shadow:0 17px 40px rgba(82,59,151,.2);background:linear-gradient(128deg,var(--acggc-accent,#7357d8),#9d68e7 52%,#c770d5);color:#fff;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;transition:transform .18s ease,box-shadow .18s ease,opacity .18s ease}.acggc-payment-checkout-submit:before{content:"";position:absolute;z-index:-1;top:-50%;left:-28%;width:36%;height:200%;transform:rotate(20deg);background:linear-gradient(90deg,transparent,rgba(255,255,255,.22),transparent);animation:acggc-checkout-shine 2.8s ease-in-out infinite}@keyframes acggc-checkout-shine{0%,28%{left:-38%;opacity:0}42%{opacity:1}65%,100%{left:115%;opacity:0}}.acggc-payment-checkout-submit:hover{transform:translateY(-2px);box-shadow:0 22px 48px rgba(82,59,151,.28)}.acggc-payment-checkout-submit span{font-size:18px;letter-spacing:.04em}.acggc-payment-checkout-submit small{font-size:11px;font-weight:650;opacity:.8}.acggc-payment-checkout-trust{display:flex;justify-content:center;gap:13px;flex-wrap:wrap;margin:14px 0 4px;color:var(--muted,#777083);font-size:10px;font-weight:750}.acggc-payment-checkout-cancel{display:block;width:max-content;max-width:100%;margin:9px auto 0;padding:8px 14px;text-decoration:none;color:var(--muted,#777083);font-size:12px}.acggc-payment-checkout-state{border:1px solid color-mix(in srgb,var(--line,#ddd) 85%,transparent)}
html.dark .acggc-payment-checkout-card,body.dark .acggc-payment-checkout-card,[data-theme="dark"] .acggc-payment-checkout-card{background:rgba(26,21,38,.88);box-shadow:0 32px 90px rgba(4,2,10,.38),inset 0 1px rgba(255,255,255,.05)}html.dark .acggc-payment-checkout-meta>div,body.dark .acggc-payment-checkout-meta>div,[data-theme="dark"] .acggc-payment-checkout-meta>div{background:rgba(255,255,255,.04);border-color:rgba(255,255,255,.08)}html.dark .acggc-payment-checkout-channel,body.dark .acggc-payment-checkout-channel,[data-theme="dark"] .acggc-payment-checkout-channel{background:rgba(132,98,215,.1);border-color:rgba(190,166,255,.12)}
@media(max-width:820px){.acggc-payment-checkout-card{grid-template-columns:1fr}.acggc-payment-checkout-visual{min-height:210px}.acggc-payment-checkout-visual>img{object-position:center 31%}.acggc-payment-checkout-visual-copy{left:16px;right:16px;bottom:14px;padding:12px 14px}.acggc-payment-checkout-visual-copy strong{font-size:19px}.acggc-payment-checkout-content{padding:26px 20px 28px}.acggc-payment-checkout-statusmark{width:46px;height:46px;border-radius:15px}.acggc-payment-checkout-content:before{font-size:42px;right:18px;top:18px}}
@media(max-width:540px){.acggc-payment-checkout-shell{padding:10px;margin:14px auto 28px}.acggc-payment-checkout-card{border-radius:24px}.acggc-payment-checkout-visual{min-height:175px}.acggc-payment-checkout-visual-copy span,.acggc-payment-checkout-visual-copy small{display:none}.acggc-payment-checkout-meta{grid-template-columns:1fr 1fr;gap:8px}.acggc-payment-checkout-meta>div{padding:11px 12px}.acggc-payment-checkout-meta>div:first-child{grid-column:1/-1}.acggc-payment-checkout-trust{gap:7px 10px}.acggc-payment-checkout-submit{min-height:64px;border-radius:17px}}
@media(prefers-reduced-motion:reduce){.acggc-payment-checkout-orbit i,.acggc-payment-checkout-statusmark span,.acggc-payment-checkout-submit:before{animation:none!important}.acggc-payment-checkout-card,.acggc-payment-checkout-submit{transition:none!important}}

/* V1.46.6 · center performance: low-end/mobile browsers avoid expensive live blur and continuous
   decorative compositing on the game-center landing page. Game pages keep their original visuals. */
@media (max-width:800px){
  .acggc-center-page .acggc-panel,.acggc-center-page .acggc-section-nav{backdrop-filter:none;-webkit-backdrop-filter:none}
  .acggc-center-page .acggc-petal-field i{animation:none;filter:none;opacity:.38}
  .acggc-center-page .acggc-emblem-ring{backdrop-filter:none;-webkit-backdrop-filter:none}
}
/* V1.46.8 Sakurairo navigation isolation: center tabs are page-local controls, not a second site nav. */
.acggc-center-page>.acggc-section-nav.acggc-center-tabs{position:relative;top:auto;z-index:2;isolation:isolate;margin-top:14px}
.acggc-center-page>.acggc-section-nav.acggc-center-tabs[role="tablist"]{overflow-x:auto;overscroll-behavior-inline:contain;-webkit-overflow-scrolling:touch}
.acggc-center-page>.acggc-section-nav.acggc-center-tabs button[role="tab"]{appearance:none;-webkit-appearance:none;line-height:1.2}
.admin-bar .acggc-center-page>.acggc-section-nav.acggc-center-tabs{top:auto}
@media(max-width:700px){.acggc-center-page>.acggc-section-nav.acggc-center-tabs{position:relative;top:auto;margin-top:10px}}


/* V2.5 星界召唤：工业科幻横幅布局（仅使用本站 Banner 素材） */










.acggc-headhunt-banner{min-height:520px!important;height:100%;border:0!important;border-radius:0!important;background-size:cover!important;background-position:center top!important}.acggc-headhunt-banner:after{content:"";position:absolute;inset:0;background:linear-gradient(115deg,rgba(10,11,15,.8),rgba(10,11,15,.14) 55%,rgba(255,206,0,.2));pointer-events:none}.acggc-banner-copy{position:relative;z-index:2;max-width:680px;padding:116px 8% 190px!important;color:#fff}.acggc-banner-copy h2{font-size:46px!important;line-height:1.05!important;text-shadow:0 4px 24px #000}.acggc-headhunt-tag{background:#e62b23!important;border-radius:0!important;clip-path:polygon(0 0,92% 0,100% 100%,8% 100%);padding:8px 25px!important}.acggc-up-showcase{border-left:5px solid #fff!important;background:rgba(0,0,0,.45)!important}



@media(max-width:620px){.acggc-banner-copy{padding:80px 56px 150px!important}.acggc-banner-copy h2{font-size:34px!important}}

/* V2.6 · Theme-Sakurairo container integration + responsive gacha hardening */
.acggc-star-echo-page{--se-sakura:var(--theme-skin-matching,#ff8eae);--se-sakura-soft:color-mix(in srgb,var(--se-sakura) 16%,#fff);width:min(1540px,calc(100vw - 32px));max-width:none!important;margin-left:50%!important;margin-right:0!important;transform:translateX(-50%);overflow:clip;border-radius:28px;background:linear-gradient(145deg,rgba(255,255,255,.72),rgba(255,246,251,.52));box-shadow:0 22px 70px rgba(86,65,105,.1)}
.entry-content .acggc-star-echo-page,.post-content .acggc-star-echo-page,.site-content .acggc-star-echo-page{font-family:inherit;line-height:1.6}.entry-content .acggc-star-echo-page img,.post-content .acggc-star-echo-page img{margin:0;max-width:100%;border:0;box-shadow:none}.entry-content .acggc-star-echo-page button,.entry-content .acggc-star-echo-page select,.entry-content .acggc-star-echo-page input,.post-content .acggc-star-echo-page button,.post-content .acggc-star-echo-page select,.post-content .acggc-star-echo-page input{font-family:inherit}.entry-content .acggc-star-echo-page h1,.entry-content .acggc-star-echo-page h2,.entry-content .acggc-star-echo-page h2,.post-content .acggc-star-echo-page h1,.post-content .acggc-star-echo-page h2,.post-content .acggc-star-echo-page h2{border:0;padding:0;text-transform:none}

.acggc-star-echo-page #acggc-next-ssr-rate{margin:7px 0;padding:7px 9px;border-left:3px solid #ffd415;background:rgba(255,212,21,.1);font-size:12px}.acggc-star-echo-page #acggc-next-ssr-rate b{color:#ffd415;font-size:15px}.acggc-ai-account-embed{margin-top:22px}.acggc-ai-account-embed .acgai-account{margin-bottom:0}
@media(max-width:1100px){.acggc-star-echo-page{width:min(100%,calc(100vw - 22px));border-radius:22px}.acggc-star-echo-page #acggc-banner-rail{grid-template-columns:repeat(2,minmax(260px,1fr))!important;max-height:none;overflow-x:auto;overflow-y:hidden;scroll-snap-type:x proximity}}
@media(max-width:720px){.acggc-star-echo-page{width:calc(100vw - 10px);border-radius:15px}.acggc-star-echo-page #acggc-banner-rail{grid-template-columns:none!important;grid-auto-flow:column;grid-auto-columns:minmax(250px,84vw)!important}.acggc-star-echo-page .acggc-headhunt-banner{min-height:390px!important}.acggc-star-echo-page .acggc-banner-copy{max-width:100%;padding:62px 52px 130px!important}.acggc-star-echo-page .acggc-banner-copy h2{font-size:clamp(28px,9vw,36px)!important}}
@media(max-width:460px){.acggc-star-echo-page .acggc-banner-copy{padding-inline:44px!important}.acggc-star-echo-page .acggc-up-showcase>strong{font-size:10px}}
@media(prefers-reduced-motion:reduce){.acggc-star-echo-page *{scroll-behavior:auto!important}}
/* V2.4 light-novel story library; scoped to avoid Sakurairo theme collisions. */
#acggc-star-echo .acggc-story-library{--story-paper:#fffaf3;--story-ink:#2e2930;background:linear-gradient(135deg,rgba(255,255,255,.97),rgba(247,241,247,.94));color:var(--story-ink);overflow:hidden}
#acggc-star-echo .acggc-story-hero{display:flex;justify-content:space-between;align-items:end;padding:28px;border-bottom:1px solid rgba(118,83,117,.16);background:radial-gradient(circle at 85% 20%,rgba(236,166,206,.28),transparent 34%)}
#acggc-star-echo .acggc-story-hero h2{font-family:Georgia,"Noto Serif SC",serif;font-size:clamp(28px,4vw,46px);margin:4px 0}
#acggc-star-echo .acggc-story-types{display:flex;gap:8px;padding:14px 22px;overflow:auto}.acggc-story-types button{border:0;border-radius:999px;padding:8px 16px;background:#eee7ee;color:#5c475d;white-space:nowrap}.acggc-story-types button.is-active{background:#8e557d;color:#fff}
#acggc-star-echo .acggc-story-layout{display:grid;grid-template-columns:minmax(250px,32%) 1fr;min-height:620px}.acggc-story-preview-note{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:18px 0 12px;padding:12px 16px;border:1px solid var(--acggc-border,var(--line,rgba(88,67,145,.14)));border-radius:14px;background:var(--acggc-soft,rgba(127,127,127,.06));color:var(--acggc-text,var(--ink,#18152b))}.acggc-story-preview-note span{color:var(--acggc-muted,var(--muted,#77718f))}.acggc-story-list{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;padding:0;overflow:visible}.acggc-story-card{display:flex;min-width:0;flex-direction:column;gap:0;overflow:hidden;border:1px solid var(--acggc-border,var(--line,rgba(88,67,145,.14)));border-radius:16px 28px 16px 28px;background:var(--acggc-card,var(--glass,#fff));color:var(--acggc-text,var(--ink,#18152b))}.acggc-story-card>img{width:100%;height:auto;aspect-ratio:4/3;object-fit:cover;border-radius:0}.acggc-story-card-copy{display:flex;min-height:230px;flex:1;flex-direction:column;padding:16px}.acggc-story-card-copy p{display:-webkit-box;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:2}.acggc-story-card-copy .acggc-card-actions{margin-top:auto}.acggc-story-card.is-current{border-color:#b45c91;box-shadow:0 0 0 2px rgba(180,92,145,.14)}
#acggc-star-echo .acggc-story-reader{display:grid;grid-template-columns:minmax(180px,28%) 1fr;background:var(--story-paper);min-width:0}.acggc-story-reader-cover{position:relative;background:#302c35;min-height:100%}.acggc-story-reader-cover img{width:100%;height:100%;object-fit:cover;opacity:.86}.acggc-story-reader-cover span{position:absolute;left:18px;bottom:18px;background:#fff;color:#6f3b65;padding:7px 13px;border-radius:999px;font-weight:700}.acggc-story-reader-body{padding:clamp(24px,5vw,64px);max-width:900px}.acggc-story-reader-body h2{font-family:Georgia,"Noto Serif SC",serif;font-size:clamp(30px,5vw,54px);margin:8px 0}.acggc-story-subtitle{color:#846f80}.acggc-story-reader figure{margin:28px 0}.acggc-story-reader figure img{width:100%;max-height:520px;object-fit:cover;border-radius:16px}.acggc-story-reader figcaption{text-align:center;color:#806f7d;margin-top:8px}.acggc-story-prose{font-family:Georgia,"Noto Serif SC",serif;font-size:18px;line-height:2;letter-spacing:.04em}.acggc-story-prose p{margin:1.25em 0}.acggc-story-audio{display:grid;gap:10px;margin-top:30px;padding:16px;border-radius:14px;background:#f0e7ef}.acggc-story-audio audio{width:100%}.acggc-story-reader footer{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:36px;padding-top:18px;border-top:1px solid #dfd3dd}
@media(max-width:1100px){.acggc-story-list{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:820px){#acggc-star-echo .acggc-story-layout{grid-template-columns:1fr}.acggc-story-preview-note{align-items:flex-start;flex-direction:column}.acggc-story-list{grid-template-columns:1fr}.acggc-story-card-copy{min-height:190px}#acggc-star-echo .acggc-story-reader{grid-template-columns:1fr}.acggc-story-reader-cover{height:220px}.acggc-story-reader-body{padding:24px 18px}.acggc-story-hero{align-items:start;gap:12px}.acggc-story-reader footer label{display:none}}

/* V3.7: in-game story is a preview grid; full reading lives on the story page. */
#acggc-star-echo .acggc-story-library .acggc-story-hero{display:flex;align-items:center;justify-content:space-between;gap:20px}
#acggc-star-echo .acggc-story-hero-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
#acggc-star-echo .acggc-story-list{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;max-height:none;overflow:visible;padding:18px 0;border:0;background:transparent}
#acggc-star-echo .acggc-story-card{display:flex;min-width:0;min-height:350px;padding:0;overflow:hidden;flex-direction:column;align-items:stretch;border:1px solid var(--line);border-radius:18px;background:var(--glass,#fff)}
#acggc-star-echo .acggc-story-card>img{width:100%;aspect-ratio:4/3;height:auto;object-fit:cover}
#acggc-star-echo .acggc-story-card-copy{display:flex;flex:1;min-width:0;padding:16px;flex-direction:column;align-items:stretch}
#acggc-star-echo .acggc-story-card-copy>span{font-size:11px;font-weight:900;letter-spacing:.05em;color:var(--muted)}
#acggc-star-echo .acggc-story-card-copy h2{margin:7px 0 6px;font-size:18px}
#acggc-star-echo .acggc-story-card-copy p{display:-webkit-box;min-height:3em;margin:0 0 9px;overflow:hidden;-webkit-line-clamp:2;-webkit-box-orient:vertical;color:var(--muted)}
#acggc-star-echo .acggc-story-card-copy small{margin-top:auto;color:var(--muted)}
#acggc-star-echo .acggc-story-card-copy .acggc-card-actions{width:100%;margin-top:14px}
#acggc-star-echo .acggc-story-card-copy .acggc-card-actions>a,#acggc-star-echo .acggc-story-card-copy .acggc-card-actions>button{flex:1;text-decoration:none!important}
@media(max-width:1200px){#acggc-star-echo .acggc-story-list{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:880px){#acggc-star-echo .acggc-story-list{grid-template-columns:repeat(2,minmax(0,1fr))}#acggc-star-echo .acggc-story-library .acggc-story-hero{align-items:flex-start;flex-direction:column}}
@media(max-width:560px){#acggc-star-echo .acggc-story-list{grid-template-columns:1fr}}
/* Standalone Sakurairo-friendly story library */
.acgse-story-page{max-width:1240px;margin:24px auto;padding:18px;color:var(--acgse-ink,#252535);font-family:inherit}.acgse-story-hero{padding:36px;border-radius:24px;background:linear-gradient(135deg,rgba(50,42,89,.96),rgba(167,83,121,.88));color:#fff;box-shadow:0 18px 60px rgba(42,29,68,.22)}.acgse-story-hero a{color:#fff}.acgse-story-hero p{letter-spacing:.18em;margin:22px 0 4px}.acgse-story-hero h1{font-size:clamp(30px,6vw,58px);margin:0}.acgse-story-tools{display:flex;gap:12px;margin:20px 0}.acgse-story-tools input,.acgse-story-tools select{padding:12px;border:1px solid #ddd;border-radius:12px;background:#fff}.acgse-story-tools input{flex:1}.acgse-story-shell{display:grid;grid-template-columns:minmax(250px,340px) 1fr;gap:22px}.acgse-story-shell aside,.acgse-story-shell article{background:rgba(255,255,255,.94);border-radius:20px;padding:16px;box-shadow:0 10px 35px rgba(42,29,68,.1)}[data-story-list]{display:grid;gap:8px}[data-story-list] button{text-align:left;border:0;border-left:4px solid #d193af;border-radius:10px;padding:12px;background:#f7f2f6;cursor:pointer}[data-story-list] button>*{display:block}[data-story-list] button strong{font-size:16px;margin:4px 0}[data-story-list] button:disabled{opacity:.55;cursor:not-allowed}[data-story-pages]{display:flex;justify-content:space-between;align-items:center;gap:8px;margin-top:14px}.acgse-story-shell article header{text-align:center;padding:15px}.acgse-story-shell figure{margin:12px 0}.acgse-story-shell figure img,.acgse-story-cover{display:block;max-width:100%;max-height:620px;margin:auto;border-radius:14px}.acgse-story-shell figcaption{text-align:center;color:#777;margin-top:6px}.acgse-story-audio{padding:14px;background:#f4edf3;border-radius:14px}.acgse-story-audio audio{width:100%;margin-top:8px}.acgse-story-content{font-size:17px;line-height:2;max-width:780px;margin:20px auto}.acgse-story-empty{text-align:center;padding:38px;color:#777}@media(max-width:760px){.acgse-story-page{padding:8px}.acgse-story-hero{padding:24px}.acgse-story-tools{flex-direction:column}.acgse-story-shell{grid-template-columns:1fr}.acgse-story-shell article{min-height:360px}}
.acgse-game-nav .acggc-game-nav-link{display:flex;align-items:center;gap:8px;color:inherit;text-decoration:none}

/* V2.7 Star Echo story catalog + dedicated novel reader, Sakurairo compatible. */
.acgse-story-page{--story-accent:var(--theme-skin-matching,#ff809f);--story-ink:var(--global-font-color,#302d38);max-width:1240px;margin:28px auto;padding:clamp(10px,2vw,22px);color:var(--story-ink);font-family:inherit}.acgse-story-command{position:relative;min-height:230px;padding:42px clamp(24px,6vw,72px);overflow:hidden;border-radius:6px 28px 6px 28px;background:linear-gradient(118deg,rgba(22,25,34,.97),rgba(58,46,69,.94) 58%,rgba(156,76,103,.86));color:#fff;box-shadow:0 24px 70px rgba(28,21,39,.24)}.acgse-story-command:after{content:"";position:absolute;right:-8%;top:-80%;width:48%;height:250%;transform:rotate(18deg);background:linear-gradient(90deg,transparent,rgba(255,255,255,.09),transparent)}.acgse-story-command>div{position:relative;z-index:1}.acgse-story-command span{font-size:11px;letter-spacing:.22em;opacity:.7}.acgse-story-command h1{margin:9px 0 5px;font-size:clamp(38px,7vw,72px);line-height:1}.acgse-story-command p{margin:0;opacity:.78}.acgse-story-command i{position:absolute;right:7%;bottom:-25px;font-size:170px;font-style:normal;font-weight:900;opacity:.08}.acgse-story-back-game{position:absolute;z-index:3;left:20px;top:18px;color:#fff!important;text-decoration:none}.acgse-story-catalog{margin-top:20px;padding:clamp(16px,3vw,30px);border-radius:22px;background:color-mix(in srgb,#fff 88%,transparent);box-shadow:0 16px 48px rgba(65,48,78,.1);backdrop-filter:blur(16px)}.acgse-story-tools{display:grid;grid-template-columns:1fr 210px;gap:12px;margin:0 0 18px}.acgse-story-tools input,.acgse-story-tools select{min-height:46px;padding:10px 14px;border:1px solid rgba(100,90,110,.2);border-radius:8px;background:rgba(255,255,255,.86);color:inherit}.acgse-story-catalog-meta{display:flex;align-items:end;justify-content:space-between;padding:14px 0;border-bottom:2px solid rgba(55,50,62,.13)}.acgse-story-catalog-meta strong{font-size:23px}.acgse-story-catalog-meta span{font-size:13px;opacity:.62}.acgse-story-card-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin-top:18px}.acgse-story-card{position:relative;display:grid;grid-template-columns:150px 1fr;min-height:168px;overflow:hidden;border:1px solid rgba(65,58,74,.14);border-left:5px solid var(--story-accent);border-radius:3px 16px 3px 16px;background:linear-gradient(135deg,rgba(255,255,255,.96),rgba(246,240,247,.9));color:inherit!important;text-decoration:none!important;transition:transform .18s ease,box-shadow .18s ease}.acgse-story-card:hover{transform:translateY(-3px);box-shadow:0 16px 35px rgba(58,42,70,.15)}.acgse-story-card img{width:100%;height:100%;min-height:168px;object-fit:cover}.acgse-story-card-symbol{display:grid;place-items:center;min-height:168px;background:linear-gradient(135deg,#282b34,#625368);color:#fff;font-size:65px;font-weight:900}.acgse-story-card-copy{padding:20px;min-width:0}.acgse-story-card-copy small{letter-spacing:.08em;opacity:.58}.acgse-story-card-copy h2{margin:8px 0;font-size:21px}.acgse-story-card-copy p{display:-webkit-box;overflow:hidden;margin:0 0 13px;opacity:.72;-webkit-line-clamp:2;-webkit-box-orient:vertical}.acgse-story-card-copy span{font-weight:800;color:var(--story-accent)}.acgse-story-card.is-locked{filter:grayscale(.65);opacity:.56}.acgse-story-pages{display:flex;justify-content:center;align-items:center;gap:14px;margin:24px 0 4px}.acgse-story-pages button,.acgse-novel-top button{padding:9px 15px;border:0;border-radius:7px;background:#34313b;color:#fff;cursor:pointer}.acgse-story-pages button:disabled{opacity:.35;cursor:not-allowed}.acgse-novel-shell{max-width:920px;margin:20px auto}.acgse-novel-top{position:sticky;z-index:8;top:12px;display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:12px;padding:10px 14px;border:1px solid rgba(100,90,110,.13);border-radius:12px;background:rgba(255,255,255,.9);box-shadow:0 8px 30px rgba(45,35,55,.09);backdrop-filter:blur(14px)}.acgse-novel-top a{color:inherit;text-decoration:none;font-weight:700}.acgse-novel-top>div{display:flex;gap:7px}.acgse-novel-reader{--reader-size:18px;min-height:620px;padding:clamp(28px,7vw,76px);border-radius:8px;background:#fffdf9;box-shadow:0 20px 65px rgba(55,41,62,.13);transition:background .2s,color .2s}.acgse-novel-title{text-align:center;margin-bottom:38px}.acgse-novel-title span{font-size:12px;letter-spacing:.12em;opacity:.55}.acgse-novel-title h2{margin:14px 0 8px;font-size:clamp(28px,5vw,44px)}.acgse-novel-title p{opacity:.62}.acgse-novel-cover{display:block;max-width:100%;max-height:620px;margin:0 auto 32px;border-radius:6px;object-fit:contain}.acgse-novel-audio{display:grid;grid-template-columns:1fr minmax(260px,1.4fr);align-items:center;gap:18px;margin:22px 0 34px;padding:15px 18px;border-left:4px solid var(--story-accent);background:#f5eff3}.acgse-novel-audio div{display:grid;gap:6px}.acgse-novel-audio select{max-width:260px}.acgse-novel-audio audio{width:100%}.acgse-novel-illustration{margin:34px 0}.acgse-novel-illustration img{display:block;max-width:100%;max-height:720px;margin:auto;border-radius:5px}.acgse-novel-illustration figcaption{text-align:center;margin-top:8px;font-size:13px;opacity:.58}.acgse-novel-reader .acgse-story-content{max-width:760px;margin:auto;font-size:var(--reader-size);line-height:2.05;letter-spacing:.02em}.acgse-novel-reader .acgse-story-content p{margin:0 0 1.3em}.acgse-novel-footer{text-align:center;padding:24px}.acgse-novel-footer a{color:inherit}.acgse-story-page.is-reader-night .acgse-novel-reader{background:#232228;color:#d8d2dd}.acgse-story-page.is-reader-night .acgse-novel-top{background:rgba(35,34,40,.94);color:#eee}.acgse-story-page.is-reader-night .acgse-novel-audio{background:#312d35}@media(max-width:760px){.acgse-story-page{margin:12px auto;padding:8px}.acgse-story-command{min-height:190px;padding:58px 22px 25px}.acgse-story-card-grid{grid-template-columns:1fr}.acgse-story-card{grid-template-columns:105px 1fr;min-height:145px}.acgse-story-card img,.acgse-story-card-symbol{min-height:145px}.acgse-story-card-copy{padding:15px}.acgse-story-tools{grid-template-columns:1fr}.acgse-story-catalog-meta span{display:none}.acgse-novel-top{top:5px;align-items:flex-start}.acgse-novel-top>div{flex-wrap:wrap;justify-content:flex-end}.acgse-novel-reader{padding:28px 20px}.acgse-novel-audio{grid-template-columns:1fr}.acgse-story-command i{font-size:120px}}
.acggc-command-rail .acggc-game-nav-link{visibility:visible!important;opacity:1!important;appearance:none;border:0;background:transparent;color:#766279;border-radius:15px;padding:10px 9px;display:grid;grid-template-columns:25px 1fr;align-items:center;gap:7px;text-align:left;font:inherit;cursor:pointer;transition:.2s ease;text-decoration:none}.acggc-command-rail .acggc-game-nav-link b{display:grid;place-items:center;width:25px;height:25px;border-radius:9px;background:rgba(237,215,231,.55);font-size:13px}.acggc-command-rail .acggc-game-nav-link span{font-size:12px;font-weight:700;white-space:nowrap}.acggc-command-rail .acggc-game-nav-link:hover{transform:translateX(2px);background:rgba(249,225,238,.65)}html.dark .acgse-story-catalog,body.dark .acgse-story-catalog,body.dark-mode .acgse-story-catalog,body.night .acgse-story-catalog{background:rgba(39,34,45,.9)}html.dark .acgse-story-card,body.dark .acgse-story-card,body.dark-mode .acgse-story-card,body.night .acgse-story-card{background:linear-gradient(135deg,rgba(53,47,58,.98),rgba(40,36,45,.96));color:#eee!important;border-color:rgba(255,255,255,.08)}.acggc-mobile-story-link{display:inline-flex;align-items:center;min-height:38px;padding:7px 12px;border-radius:10px;background:linear-gradient(135deg,#d98bad,#9d80ce);color:#fff!important;text-decoration:none!important;font-size:13px;font-weight:800}
.acgse-onboarding-card{display:grid;grid-template-columns:minmax(220px,.8fr) minmax(300px,1.4fr) minmax(220px,.8fr);gap:18px;align-items:center;margin:18px 0;padding:22px;border:1px solid color-mix(in srgb,var(--acggc-accent,#8b6bd6) 30%,transparent);border-radius:20px;background:linear-gradient(135deg,color-mix(in srgb,var(--acggc-surface,#fff) 92%,#f7d6e5),color-mix(in srgb,var(--acggc-surface,#fff) 90%,#dcd5ff));color:var(--acggc-text,#2e2935)}
.acgse-onboarding-card h2{margin:4px 0 8px}.acgse-onboarding-card p{margin:0;color:var(--acggc-muted,#706879)}.acgse-onboarding-card ol{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:0;padding:0;list-style:none}.acgse-onboarding-card li{display:flex;gap:8px;padding:8px 10px;border-radius:12px;background:color-mix(in srgb,var(--acggc-surface,#fff) 75%,transparent)}.acgse-onboarding-card li.is-done{color:#33875c}.acgse-onboarding-reward{display:grid;gap:8px}.acgse-onboarding-reward small{color:var(--acggc-muted,#706879)}
body.dark .acgse-onboarding-card,[data-theme=dark] .acgse-onboarding-card{background:linear-gradient(135deg,#24223a,#191c31);color:#f6f0ff;--acggc-muted:#c0b7d4;--acggc-surface:#282a43}
@media(max-width:900px){.acgse-onboarding-card{grid-template-columns:1fr}.acgse-onboarding-card ol{grid-template-columns:1fr 1fr}}@media(max-width:520px){.acgse-onboarding-card ol{grid-template-columns:1fr}}
.acgse-bank-card{margin:18px 0;padding:22px;border:1px solid var(--line);border-radius:20px;background:var(--glass);color:var(--ink)}.acgse-bank-card header{display:flex;align-items:center;justify-content:space-between;gap:18px}.acgse-bank-card h2{margin:4px 0}.acgse-bank-card p,.acgse-bank-card small{color:var(--muted)}.acgse-bank-card header>strong{font-size:20px}.acgse-bank-deposit{display:grid;grid-template-columns:1fr 1fr auto;gap:10px;margin:16px 0}.acgse-bank-deposit input,.acgse-bank-deposit select{min-width:0;padding:10px;border:1px solid var(--line);border-radius:12px;background:var(--glass);color:var(--ink)}.acgse-bank-card ul{display:grid;gap:8px;margin:0;padding:0;list-style:none}.acgse-bank-card li{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 12px;border-radius:12px;background:color-mix(in srgb,var(--glass) 80%,transparent)}.acgse-bank-card li span{display:grid}.acgse-bank-card li em{font-style:normal;color:var(--muted)}.acgse-bank-card aside{margin-top:16px;padding:16px;border-radius:16px;background:linear-gradient(135deg,rgba(122,91,197,.12),rgba(236,178,205,.13))}.acgse-bank-card aside h4{margin:0 0 5px}.acgse-bank-card aside div{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px}@media(max-width:700px){.acgse-bank-card header{align-items:flex-start;flex-direction:column}.acgse-bank-deposit{grid-template-columns:1fr}.acgse-bank-card li{align-items:flex-start;flex-direction:column}}

/* V3.3.1: bond visibility across collection, formation and archive. */
.acggc-card-bonds,.acggc-archive-bonds{display:flex;gap:6px;flex-wrap:wrap;margin-top:6px}.acggc-card-bonds span,.acggc-archive-bonds span{display:inline-flex;align-items:center;padding:4px 7px;border-radius:999px;border:1px solid var(--line);background:rgba(116,91,187,.08);font-size:10px;font-weight:800;color:var(--ink)}
.acggc-team-bonds{display:flex;gap:8px;align-items:center;flex-wrap:wrap;margin:12px 0 14px;padding:10px 12px;border-radius:14px;border:1px dashed var(--se-summary-border);background:var(--se-summary-unit-bg)}.acggc-team-bonds>small{font-size:9px;letter-spacing:.14em;color:var(--se-summary-muted);font-weight:900}.acggc-team-bonds .acggc-bond-tag{display:inline-flex;gap:7px;align-items:center;padding:6px 9px;border:1px solid var(--se-summary-border);border-radius:999px;background:rgba(124,96,197,.10);color:var(--se-summary-text)}.acggc-team-bonds .acggc-bond-tag b{font-size:11px}.acggc-team-bonds .acggc-bond-tag em{font-size:10px;font-style:normal;color:var(--se-summary-muted)}.acggc-team-bonds.is-empty>span{font-size:11px;color:var(--se-summary-muted)}
body.dark .acggc-card-bonds span,[data-theme=dark] .acggc-card-bonds span,body.dark .acggc-archive-bonds span,[data-theme=dark] .acggc-archive-bonds span{background:rgba(255,255,255,.08);color:#f2edff;border-color:rgba(255,255,255,.14)}
.acggc-dossier-bond-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:10px}.acggc-dossier-bond{padding:12px;border:1px solid var(--line);border-radius:12px;background:rgba(255,255,255,.48)}.acggc-dossier-bond b,.acggc-dossier-bond span,.acggc-dossier-bond small{display:block}.acggc-dossier-bond span{margin-top:4px;color:var(--muted);font-size:12px}.acggc-dossier-bond small{margin-top:6px;color:var(--muted);line-height:1.5}


/* V3.3.2 · first-view performance + unified compact cards + Sakurairo contrast */
#acggc-star-echo,.acggc-star-echo-page{
  --acgse-formation-thumb-w:56px;
  --acgse-formation-thumb-h:72px;
}
.acggc-lord-stat-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px}
.acggc-lord-identity-badge{grid-column:span 2;display:flex!important;align-items:center;gap:10px;min-height:58px;padding:10px 12px!important;border:1px solid color-mix(in srgb,var(--line) 76%,#9a78d8 24%);border-radius:14px;background:color-mix(in srgb,var(--glass) 92%,#8b72d6 8%);color:var(--ink)!important}
.acggc-lord-identity-badge>i{display:grid;place-items:center;width:34px;height:34px;border-radius:11px;background:rgba(124,95,193,.12);font-style:normal;font-size:18px}
.acggc-lord-identity-badge>span{display:grid;gap:2px}.acggc-lord-identity-badge small{font-size:11px;letter-spacing:.08em;color:var(--muted)}.acggc-lord-identity-badge strong{font-size:16px;line-height:1.15;color:var(--ink)}
.acggc-lord-stat{display:grid!important;gap:3px;padding:9px 10px!important;border:1px solid var(--line);border-radius:12px;background:var(--glass);color:var(--ink)!important}.acggc-lord-stat small{font-size:11px;color:var(--muted)}.acggc-lord-stat b{font-size:17px;line-height:1.1;color:var(--ink)}.acggc-lord-stat.is-power b{font-size:18px}

/* Active formation keeps its compact thumbnail token; quick selectors use independent collectible-card sizing. */
.acggc-formation-unit{display:grid!important;grid-template-columns:var(--acgse-formation-thumb-w) minmax(0,1fr)!important;align-items:center!important;gap:9px!important;min-height:calc(var(--acgse-formation-thumb-h) + 12px);padding:6px!important;overflow:hidden;text-align:left}
.acggc-formation-unit>img{width:var(--acgse-formation-thumb-w)!important;height:var(--acgse-formation-thumb-h)!important;aspect-ratio:auto!important;object-fit:cover!important;object-position:top center!important;border-radius:10px!important;margin:0!important}
.acggc-formation-unit>div{min-width:0;padding:0!important;display:grid;gap:3px}.acggc-formation-unit strong{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.acggc-formation-unit small,.acggc-formation-unit span{font-size:10px!important;color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.acggc-formation-preview-heroes{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}.acggc-formation-preview-soldiers{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}.acggc-team-bonds{margin:10px 0;padding:9px 10px;border:1px solid var(--line);border-radius:12px;background:color-mix(in srgb,var(--glass) 94%,#9c79d8 6%)}

/* Skill books: asset artwork is square (1:1), with copy/actions below. */
.acggc-skill-book-list{display:grid!important;grid-template-columns:repeat(auto-fill,minmax(190px,1fr))!important;gap:12px!important}
.acggc-skill-book-card{display:flex!important;flex-direction:column!important;min-height:100%;padding:0!important;overflow:hidden!important}
.acggc-skill-book-card>img{display:block!important;width:100%!important;height:auto!important;min-height:0!important;aspect-ratio:1/1!important;object-fit:cover!important;object-position:center!important;border-radius:0!important}
.acggc-skill-book-card>div{display:flex!important;flex:1;flex-direction:column!important;gap:6px!important;padding:12px 13px 14px!important}.acggc-skill-book-card .acggc-btn{margin-top:auto!important}

/* Cosmetics and title art use a stable 3:4 source ratio instead of fixed 180px heights. */
.acggc-cosmetic-art,.acggc-title-art{display:block;width:100%;aspect-ratio:3/4;overflow:hidden}.acggc-cosmetic-art img,.acggc-title-art img{display:block;width:100%!important;height:100%!important;object-fit:cover!important;object-position:top center!important}

/* Shop price and actions are separate rows. */
.acggc-shop-price{display:flex!important;align-items:center;justify-content:space-between;margin-top:10px;padding-top:10px;border-top:1px solid var(--line)}
.acgse-sale-price{display:flex;flex-wrap:wrap;align-items:baseline;gap:5px 8px}.acgse-sale-price del{font-size:12px;color:var(--muted)}.acgse-sale-price>b{font-size:17px}.acgse-sale-price>span{padding:3px 7px;border-radius:999px;background:rgba(206,79,126,.11);color:#b64672;font-size:10px;font-weight:900}.acgse-sale-price>small{width:100%;font-size:10px;color:var(--muted)}.acggc-shop-detail-price{margin:14px 24px;padding:12px 0;border-block:1px solid var(--line)}.acgse-travelling-merchant{margin:18px 0;padding:17px;border:1px solid rgba(220,164,91,.28);border-radius:20px;background:linear-gradient(145deg,rgba(255,250,237,.88),rgba(250,241,255,.75))}.acgse-travelling-merchant .acggc-heading{margin-bottom:5px}.acgse-travelling-merchant .acggc-heading>strong{font-size:12px;color:#8b6330}.acggc-shop-card.is-travelling{border-color:rgba(220,164,91,.34)!important;box-shadow:0 6px 18px rgba(130,91,34,.06)!important}html.dark .acgse-travelling-merchant,body.dark .acgse-travelling-merchant,body.dark-mode .acgse-travelling-merchant,body.night .acgse-travelling-merchant{background:linear-gradient(145deg,rgba(61,53,38,.9),rgba(47,39,57,.9));border-color:rgba(255,212,143,.18)}
.acggc-shop-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:9px}.acggc-shop-actions .acggc-btn{width:100%;justify-content:center}

/* Archive rarity is the hierarchy; card dimensions stay calm. */
.acggc-archive-head>span{display:inline-flex;align-items:center;gap:5px;width:max-content;padding:5px 8px;border-radius:999px;font-weight:900;letter-spacing:.04em}
.acggc-archive-card.rarity-SSR .acggc-archive-head>span{background:linear-gradient(135deg,#fff3bd,#e6bd55);color:#5b3a00;box-shadow:inset 0 0 0 1px rgba(121,82,0,.18)}
.acggc-archive-card.rarity-SSR .acggc-archive-head>span:before{content:"♛"}.acggc-archive-card.rarity-SR .acggc-archive-head>span{background:rgba(137,91,194,.16);color:#7548a7}.acggc-archive-card.rarity-R .acggc-archive-head>span{background:rgba(78,120,156,.14);color:#3f6f95}.acggc-archive-card:hover .acggc-archive-head>span{filter:brightness(1.04)}

/* Long list surfaces avoid expensive full-card backdrop blurs. Hero/modal visuals may keep them. */
.acggc-shop-card,.acggc-item-card,.acggc-archive-card,.acggc-skill-book-card,.acggc-quick-select-card,.acgse-quick-pick-card,.acggc-formation-unit,.acggc-task-row,.acggc-mail-row,.acggc-story-row,.acggc-building-card,.acggc-soldier-card,.acggc-mine-card{backdrop-filter:none!important;-webkit-backdrop-filter:none!important;box-shadow:0 5px 16px rgba(50,38,70,.06)!important}
.acggc-command-rail{backdrop-filter:none!important;-webkit-backdrop-filter:none!important;box-shadow:0 8px 24px rgba(50,38,70,.08)!important}
.acggc-shop-grid,.acggc-archive-grid,.acggc-skill-book-list,.acggc-quick-card-grid{content-visibility:auto;contain-intrinsic-size:720px}

.acgse-onboarding-lord{margin:14px 0 18px}.acgse-onboarding-lord[hidden]{display:none!important}
.acgse-story-page-size{display:flex;align-items:center;gap:7px;white-space:nowrap}.acgse-story-page-size select{min-width:72px}

html.dark .acggc-lord-identity-badge,html[data-theme="dark"] .acggc-lord-identity-badge,body.dark .acggc-lord-identity-badge,body.dark-mode .acggc-lord-identity-badge,html.dark .acggc-lord-stat,html[data-theme="dark"] .acggc-lord-stat,body.dark .acggc-lord-stat,body.dark-mode .acggc-lord-stat{color:#f3effa!important;background:rgba(255,255,255,.055);border-color:rgba(255,255,255,.12)}
html.dark .acggc-lord-identity-badge strong,html.dark .acggc-lord-stat b,html[data-theme="dark"] .acggc-lord-identity-badge strong,html[data-theme="dark"] .acggc-lord-stat b,body.dark .acggc-lord-identity-badge strong,body.dark .acggc-lord-stat b{color:#f5f1ff!important}
html.dark .acggc-archive-card.rarity-SR .acggc-archive-head>span,html[data-theme="dark"] .acggc-archive-card.rarity-SR .acggc-archive-head>span,body.dark .acggc-archive-card.rarity-SR .acggc-archive-head>span{color:#e0c3ff;background:rgba(159,105,221,.22)}
html.dark .acggc-archive-card.rarity-R .acggc-archive-head>span,html[data-theme="dark"] .acggc-archive-card.rarity-R .acggc-archive-head>span,body.dark .acggc-archive-card.rarity-R .acggc-archive-head>span{color:#b9dcff;background:rgba(87,140,184,.2)}

@media(max-width:780px){
  #acggc-star-echo,.acggc-star-echo-page{--acgse-formation-thumb-w:50px;--acgse-formation-thumb-h:64px}
  .acggc-lord-stat-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.acggc-lord-identity-badge{grid-column:span 1}.acggc-formation-preview-heroes{grid-template-columns:1fr}.acggc-formation-preview-soldiers{grid-template-columns:repeat(2,minmax(0,1fr))}.acggc-shop-actions{grid-template-columns:1fr}.acggc-shop-card,.acggc-archive-card,.acggc-skill-book-card,.acggc-command-rail{box-shadow:0 3px 11px rgba(50,38,70,.05)!important}
}
@media(prefers-reduced-motion:reduce){.acggc-star-echo-page *,.acggc-star-echo-page *::before,.acggc-star-echo-page *::after{animation:none!important;transition-duration:.001ms!important;scroll-behavior:auto!important}}

.acgse-story-tools{grid-template-columns:minmax(220px,1fr) minmax(130px,max-content) minmax(130px,max-content) minmax(90px,max-content)!important}
@media(max-width:760px){.acgse-story-tools{grid-template-columns:1fr!important}.acggc-quick-card-grid,.acggc-team-quick-grid{grid-template-columns:repeat(auto-fit,minmax(110px,1fr))}.acgse-quick-pick-card{max-width:none}}

/* V3.4.0 onboarding manager / bank demand + campaign */
.acgse-onboarding-card{grid-template-columns:minmax(220px,.75fr) minmax(0,1.7fr)}
.acgse-onboarding-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}
.acgse-onboarding-card ol{grid-template-columns:1fr 1fr;align-self:stretch}
.acgse-onboarding-card li{align-items:flex-start;justify-content:space-between}
.acgse-onboarding-card li>div:first-of-type{display:grid;gap:3px;flex:1;min-width:0}
.acgse-onboarding-card li small,.acgse-onboarding-card li em{font-size:11px;color:var(--acggc-muted,#706879);font-style:normal}
.acgse-onboarding-actions{display:flex;gap:6px;align-items:center;flex-wrap:wrap;justify-content:flex-end}
.acgse-onboarding-complete{grid-column:1/-1;padding:10px 12px;border-radius:12px;background:color-mix(in srgb,#4fb77a 14%,transparent);color:#2f8a58;font-weight:700}
.acgse-demand-bank{display:grid;grid-template-columns:minmax(240px,1fr) minmax(300px,.9fr);gap:16px;align-items:center;margin:16px 0;padding:16px;border:1px solid var(--line);border-radius:16px;background:color-mix(in srgb,var(--glass) 88%,transparent)}
.acgse-demand-bank h4{margin:3px 0 6px}.acgse-demand-bank p{margin:0}.acgse-demand-actions{display:grid;grid-template-columns:1fr auto auto;gap:8px}.acgse-demand-actions input{min-width:0;padding:10px;border:1px solid var(--line);border-radius:12px;background:var(--glass);color:var(--ink)}
.acgse-bank-campaign{display:grid!important;grid-template-columns:minmax(180px,.7fr) minmax(0,1.3fr);gap:18px!important;align-items:stretch}
.acgse-bank-campaign-art{margin:0!important;display:block!important;min-height:190px;border-radius:14px;overflow:hidden;background:color-mix(in srgb,var(--glass) 80%,transparent)}
.acgse-bank-campaign-art img{display:block;width:100%;height:100%;min-height:190px;object-fit:cover;object-position:center}
.acgse-bank-campaign-copy{display:grid!important;align-content:center;gap:6px!important;margin:0!important}.acgse-bank-campaign-copy h4{font-size:22px}.acgse-bank-campaign-copy>strong{font-size:14px}.acgse-bank-campaign-copy>p{margin:0}
.acgse-bank-campaign-tiers{display:grid!important;grid-template-columns:1fr;gap:8px!important;margin-top:8px!important}.acgse-bank-tier-row{display:grid!important;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:14px!important;margin:0!important;padding:12px 14px;border:1px solid var(--line);border-radius:14px;background:color-mix(in srgb,var(--glass) 84%,transparent)}.acgse-bank-tier-row>div{display:grid!important;gap:3px!important;margin:0!important}.acgse-bank-tier-row strong{font-size:14px}.acgse-bank-tier-row small,.acgse-bank-tier-row span{display:block;color:var(--muted);font-size:12px}.acgse-bank-tier-row .acggc-btn{min-width:92px;justify-content:center;white-space:nowrap}
#acgse-bank-deposits{margin:16px 0 0;padding-top:14px;border-top:1px solid var(--line)}.acgse-bank-deposit-history-head{display:flex;align-items:end;justify-content:space-between;gap:12px;margin-bottom:10px}.acgse-bank-deposit-history-head h4{margin:0 0 3px}.acgse-bank-deposit-history-head label{display:grid;gap:4px;color:var(--muted);font-size:12px}.acgse-bank-deposit-history-head select{padding:7px 9px;border:1px solid var(--line);border-radius:10px;background:var(--glass);color:var(--ink)}
#acgse-bank-ledger{margin-top:18px;padding-top:14px;border-top:1px solid var(--line)}#acgse-bank-ledger h4{margin:0 0 10px}.acgse-bank-ledger-list{gap:6px!important}.acgse-bank-ledger-list li strong{font-variant-numeric:tabular-nums}.acgse-bank-ledger-list li small{font-size:11px}.acgse-bank-card details{margin-top:3px}.acgse-bank-card summary{cursor:pointer;color:var(--muted);font-size:11px}.acgse-bank-card details code{display:inline-block;max-width:min(100%,520px);margin-top:4px;padding:4px 6px;overflow-wrap:anywhere;white-space:normal;border-radius:6px;background:color-mix(in srgb,var(--glass) 76%,transparent);font-size:10px}
body.dark .acgse-demand-bank,[data-theme=dark] .acgse-demand-bank{background:rgba(255,255,255,.035)}
@media(max-width:900px){.acgse-onboarding-card{grid-template-columns:1fr}.acgse-onboarding-card ol{grid-template-columns:1fr}.acgse-demand-bank{grid-template-columns:1fr}.acgse-bank-campaign{grid-template-columns:1fr}.acgse-bank-campaign-art{min-height:0;aspect-ratio:16/9}.acgse-bank-campaign-art img{min-height:0;aspect-ratio:16/9}.acgse-bank-campaign-tiers{grid-template-columns:1fr}}
@media(max-width:620px){.acgse-demand-actions{grid-template-columns:1fr}.acgse-onboarding-head{flex-direction:column}.acgse-bank-ledger-list li{width:100%}.acgse-bank-tier-row{grid-template-columns:1fr}.acgse-bank-tier-row .acggc-btn{width:100%}.acgse-bank-deposit-history-head{align-items:stretch;flex-direction:column}.acgse-bank-deposit-history-head select{width:100%}}

/* V3.5.0 special events / hazards. Kept lightweight: no long-list blur or permanent animation. */
.acgse-hazard-card{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(260px,.65fr);gap:16px;margin:14px 0 18px;padding:18px;border:1px solid color-mix(in srgb,var(--line) 78%,#d6a94a 22%);border-radius:18px;background:linear-gradient(135deg,color-mix(in srgb,var(--glass) 94%,#f2dca8 6%),var(--glass));box-shadow:0 8px 24px rgba(50,38,70,.07);color:var(--ink)}
.acgse-hazard-card h2,.acgse-hazard-card h4{margin:4px 0 8px;color:var(--ink)}.acgse-hazard-card p{margin:7px 0;color:var(--muted)}.acgse-hazard-card>aside{display:grid;align-content:start;gap:5px;padding:12px;border:1px solid var(--line);border-radius:14px;background:color-mix(in srgb,var(--glass) 96%,transparent)}.acgse-hazard-card>aside img{width:100%;aspect-ratio:16/9;object-fit:cover;border-radius:10px;margin-bottom:5px}
.acgse-hazard-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:10px 0}.acgse-hazard-stats span,.acgse-hazard-modal-facts span{display:grid;gap:3px;padding:9px 10px;border:1px solid var(--line);border-radius:11px;background:var(--glass)}.acgse-hazard-stats small,.acgse-hazard-modal-facts small{font-size:10px;letter-spacing:.06em;color:var(--muted)}.acgse-hazard-stats b,.acgse-hazard-modal-facts b{font-size:14px;color:var(--ink)}
.acgse-hazard-card.risk-low{border-color:color-mix(in srgb,var(--line) 70%,#4e9d76 30%)}.acgse-hazard-card.risk-medium{border-color:color-mix(in srgb,var(--line) 65%,#d19a45 35%)}.acgse-hazard-card.risk-high,.acgse-hazard-card.risk-critical{border-color:color-mix(in srgb,var(--line) 55%,#c75f63 45%)}
.acgse-hazard-modal-facts{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:12px 0}.acgse-hazard-card,.acgse-hazard-card>aside{backdrop-filter:none!important;-webkit-backdrop-filter:none!important}
html.dark .acgse-hazard-card,html[data-theme="dark"] .acgse-hazard-card,body.dark .acgse-hazard-card,body.dark-mode .acgse-hazard-card{background:linear-gradient(135deg,rgba(255,255,255,.055),rgba(255,255,255,.025));color:#f5f1ff;border-color:rgba(255,255,255,.13)}
html.dark .acgse-hazard-card h2,html.dark .acgse-hazard-card h4,html.dark .acgse-hazard-stats b,html.dark .acgse-hazard-modal-facts b,html[data-theme="dark"] .acgse-hazard-card h2,html[data-theme="dark"] .acgse-hazard-card h4{color:#f5f1ff}
@media(max-width:820px){.acgse-hazard-card{grid-template-columns:1fr}.acgse-hazard-card>aside{grid-template-columns:110px minmax(0,1fr);align-items:start}.acgse-hazard-card>aside img{grid-row:1/6;aspect-ratio:3/4}.acgse-hazard-stats{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:560px){.acgse-hazard-card{padding:14px}.acgse-hazard-stats,.acgse-hazard-modal-facts{grid-template-columns:1fr}.acgse-hazard-card>aside{grid-template-columns:1fr}.acgse-hazard-card>aside img{grid-row:auto;aspect-ratio:16/9}}
.acgse-hazard-card.risk-guarded{border-color:color-mix(in srgb,var(--line) 68%,#c8a34b 32%)}.acgse-hazard-card.risk-elevated{border-color:color-mix(in srgb,var(--line) 62%,#d88643 38%)}.acgse-hazard-card.risk-extreme{border-color:color-mix(in srgb,var(--line) 48%,#b84558 52%)}

/* Round2 3.9: fortune card reuses low-cost hazard visual language without backdrop blur. */
.acgse-fortune-card{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(250px,.65fr);gap:16px;margin:0 0 18px;padding:18px;border:1px solid color-mix(in srgb,var(--line) 72%,#b48ad8 28%);border-radius:18px;background:linear-gradient(135deg,color-mix(in srgb,var(--glass) 95%,#e8d8ff 5%),var(--glass));box-shadow:0 7px 20px rgba(50,38,70,.06);color:var(--ink);backdrop-filter:none!important;-webkit-backdrop-filter:none!important}
.acgse-fortune-card h2,.acgse-fortune-card h4{margin:4px 0 8px;color:var(--ink)}.acgse-fortune-card p{margin:7px 0;color:var(--muted)}.acgse-fortune-card>aside{padding:12px;border:1px solid var(--line);border-radius:14px;background:color-mix(in srgb,var(--glass) 96%,transparent)}.acgse-fortune-card>aside img{width:100%;aspect-ratio:16/9;object-fit:cover;border-radius:10px;margin-bottom:6px}.acgse-fortune-meter{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:10px 0}.acgse-fortune-meter span{padding:8px 10px;border:1px solid var(--line);border-radius:10px}.acgse-fortune-meter small{display:block;color:var(--muted)}.acgse-fortune-meter b{display:block;margin-top:3px}.acgse-fortune-prepare{display:flex;gap:8px;flex-wrap:wrap;margin:10px 0}.acgse-fortune-prepare .is-active{outline:2px solid color-mix(in srgb,currentColor 35%,transparent)}
html.dark .acgse-fortune-card,html[data-theme="dark"] .acgse-fortune-card,body.dark .acgse-fortune-card,body.dark-mode .acgse-fortune-card{background:linear-gradient(135deg,rgba(255,255,255,.055),rgba(255,255,255,.025));color:#f5f1ff;border-color:rgba(255,255,255,.13)}html.dark .acgse-fortune-card h2,html.dark .acgse-fortune-card h4,html[data-theme="dark"] .acgse-fortune-card h2,html[data-theme="dark"] .acgse-fortune-card h4{color:#f5f1ff}
@media(max-width:820px){.acgse-fortune-card{grid-template-columns:1fr}.acgse-fortune-card>aside{display:grid;grid-template-columns:110px minmax(0,1fr);gap:8px}.acgse-fortune-card>aside img{grid-row:1/5;aspect-ratio:3/4}}@media(max-width:560px){.acgse-fortune-card{padding:14px}.acgse-fortune-meter{grid-template-columns:1fr}.acgse-fortune-card>aside{display:block}.acgse-fortune-card>aside img{aspect-ratio:16/9}}
.acggc-special-image{width:100%;max-height:280px;aspect-ratio:16/9;object-fit:cover;border-radius:14px;margin:0 0 12px}


/* Round2 4.0.0: cold event history stays collapsed so it never adds a kingdom bootstrap request. */
.acgse-event-history-card{margin:14px 0;border:1px solid color-mix(in srgb,var(--acgse-border,#94a3b8) 48%,transparent);border-radius:16px;overflow:hidden;background:color-mix(in srgb,var(--acgse-surface,#fff) 92%,transparent);box-shadow:0 8px 24px rgba(15,23,42,.07)}
.acgse-event-history-toggle{width:100%;border:0;background:transparent;color:inherit;padding:14px 16px;display:flex;align-items:center;justify-content:space-between;gap:12px;text-align:left;cursor:pointer}.acgse-event-history-toggle small{display:block;font-size:10px;letter-spacing:.14em;opacity:.6}.acgse-event-history-toggle strong{display:block;margin-top:2px;font-size:15px}.acgse-event-history-card [hidden]{display:none!important}
#acgse-event-history-body{border-top:1px solid color-mix(in srgb,var(--acgse-border,#94a3b8) 38%,transparent);padding:12px 14px}.acgse-event-history-list{display:grid;gap:10px}.acgse-event-history-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px;align-items:center;padding:11px 12px;border-radius:12px;background:color-mix(in srgb,var(--acgse-surface,#fff) 86%,var(--acgse-accent,#7c3aed) 3%);border:1px solid color-mix(in srgb,var(--acgse-border,#94a3b8) 30%,transparent)}.acgse-event-history-row h4{margin:2px 0 4px}.acgse-event-history-row p{margin:0 0 4px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.acgse-event-history-row>strong{max-width:240px;text-align:right;font-size:12px}@media(max-width:640px){.acgse-event-history-row{grid-template-columns:1fr}.acgse-event-history-row>strong{text-align:left;max-width:none}}


/* Round3: deterministic story catalog matrix inside Sakurairo containers. */
.acgse-story-page .acgse-story-card-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;align-items:stretch}
.acgse-story-page .acgse-story-card{grid-template-columns:1fr;grid-template-rows:150px 1fr;min-width:0;min-height:0}
.acgse-story-page .acgse-story-card img,.acgse-story-page .acgse-story-card-symbol{width:100%;height:150px;min-height:150px}
.acgse-story-page .acgse-story-card-copy{padding:16px;min-width:0}
@media(max-width:1100px){.acgse-story-page .acgse-story-card-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:760px){.acgse-story-page .acgse-story-card-grid{grid-template-columns:1fr}.acgse-story-page .acgse-story-card{grid-template-columns:105px 1fr;grid-template-rows:1fr;min-height:145px}.acgse-story-page .acgse-story-card img,.acgse-story-page .acgse-story-card-symbol{height:100%;min-height:145px}.acgse-story-page .acgse-story-card-copy{padding:15px}}

.acggc-coop-story-events,.acggc-coop-drops{display:grid;gap:10px;margin-top:10px}.acggc-coop-story-card{display:grid;grid-template-columns:minmax(0,140px) 1fr;gap:14px;align-items:center;padding:12px;border:1px solid color-mix(in srgb,currentColor 16%,transparent);border-radius:14px;background:color-mix(in srgb,var(--acggc-surface,#fff) 88%,transparent)}.acggc-coop-story-card img{width:100%;aspect-ratio:16/9;object-fit:cover;border-radius:10px}.acggc-coop-story-card h2,.acggc-coop-story-card p{margin:4px 0}.acggc-coop-drop-banner{padding:12px 14px;border:1px solid color-mix(in srgb,#d99b24 42%,transparent);border-radius:12px;background:color-mix(in srgb,#f3c969 16%,transparent);display:flex;gap:12px;align-items:center;flex-wrap:wrap}@media(max-width:700px){.acggc-coop-story-card{grid-template-columns:1fr}}

/* Round5 · travelling merchant hero */
.acgse-travelling-showcase{display:grid;grid-template-columns:minmax(150px,220px) 1fr;gap:18px;align-items:stretch;margin-bottom:14px}.acgse-travelling-showcase>img{width:100%;aspect-ratio:3/4;object-fit:cover;object-position:center top;border-radius:16px;display:block}.acgse-travelling-showcase>.acggc-heading{align-self:center;margin:0}.acggc-map-card-art{aspect-ratio:16/9;border-radius:12px;overflow:hidden;margin:-2px -2px 10px}.acggc-map-card-art img{width:100%;height:100%;display:block;object-fit:cover}.acggc-map-card.is-selected .acggc-map-card-art{outline:2px solid rgba(125,108,255,.28)}
@media(max-width:720px){.acgse-travelling-showcase{grid-template-columns:1fr}.acgse-travelling-showcase>img{aspect-ratio:16/9;max-height:220px}.acgse-travelling-showcase>.acggc-heading{align-self:start}}

/* Round5 Batch4: archive portrait ratio, title text cards, compact main AI switch, shop search. */
.acggc-title-card-text{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:12px!important;min-height:78px!important;padding:14px 15px!important}.acggc-title-card-text .acggc-title-copy{display:grid;gap:4px;min-width:0}.acggc-title-card-text .acggc-title-copy strong{font-size:15px}.acggc-title-card-text .acggc-title-copy small{line-height:1.55;color:var(--muted)}
.acggc-ai-switch-compact{display:inline-flex!important;width:max-content!important;max-width:100%!important;grid-template-columns:none!important;justify-content:flex-start!important;align-items:center!important;gap:6px!important;padding:2px 4px!important;border:0!important;border-radius:8px!important;background:transparent!important;box-shadow:none!important}.acggc-ai-switch-compact input{width:32px!important;height:18px!important;flex:0 0 32px!important}.acggc-ai-switch-compact input:after{width:12px!important;height:12px!important;left:3px!important;top:3px!important}.acggc-ai-switch-compact input:checked:after{transform:translateX(14px)!important}.acggc-ai-switch-compact>span{display:grid!important;gap:0!important;line-height:1.2!important}.acggc-ai-switch-compact b{font-size:11px!important}.acggc-ai-switch-compact small{font-size:9px!important;opacity:.72}
.acggc-shop-search-label{flex:1 1 260px!important}.acggc-shop-search-label input{width:min(100%,420px);min-width:220px;border:1px solid var(--line);border-radius:10px;padding:9px 11px;background:var(--glass);color:inherit}.acggc-shop-tools>.acggc-note{margin-left:auto}
@media(max-width:620px){.acggc-title-card-text{align-items:stretch;flex-direction:column}.acggc-title-card-text .acggc-btn{align-self:flex-start}.acggc-ai-switch-compact{justify-content:flex-start!important}.acggc-shop-search-label,.acggc-shop-search-label input{width:100%!important;min-width:0!important}.acggc-shop-tools>.acggc-note{margin-left:0}}

/* Round7 Batch5: square asset utility + shared Master/Detail browser. Scoped to item/economy modules. */
.acgse-asset-square{display:block;width:100%;aspect-ratio:1/1;overflow:hidden;border-radius:14px;background:rgba(96,78,151,.08)}
.acgse-asset-square>img{display:block;width:100%;height:100%;object-fit:cover;object-position:center}
.acgse-asset-square-large{max-width:300px;border-radius:18px}
#acggc-material-list,#acggc-material-recipes,#acggc-equipment-recipes,#acggc-economy-equipment{display:block!important}
.acgse-asset-browser{display:grid;grid-template-columns:minmax(240px,320px) minmax(0,1fr);gap:18px;align-items:start}
.acgse-asset-browser-master{min-width:0;display:grid;gap:12px}
.acgse-asset-quick-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;max-height:660px;overflow:auto;padding:2px}
.acgse-asset-quick-card{appearance:none;border:1px solid var(--line);border-radius:15px;padding:8px;background:var(--glass);color:var(--ink);text-align:left;cursor:pointer;display:grid;gap:6px;min-width:0}
.acgse-asset-quick-card:hover{transform:translateY(-1px)}
.acgse-asset-quick-card.is-selected{border-color:#8068d8;box-shadow:0 0 0 3px rgba(128,104,216,.13)}
.acgse-asset-quick-card b,.acgse-asset-quick-card small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.acgse-asset-quick-card small{color:var(--muted)}
.acgse-asset-browser-detail{min-width:0;padding:18px;border:1px solid var(--line);border-radius:20px;background:var(--glass)}
.acgse-asset-detail-head{display:grid;grid-template-columns:minmax(180px,300px) minmax(0,1fr);gap:18px;align-items:start}
.acgse-asset-detail-head h2{margin:5px 0 8px}.acgse-asset-detail-head p{color:var(--muted);line-height:1.65}
.acgse-asset-detail-stats{display:grid;grid-template-columns:repeat(auto-fit,minmax(130px,1fr));gap:9px;margin:16px 0}
.acgse-asset-detail-stats>span,.acgse-requirements>span{display:grid;gap:3px;padding:10px 12px;border:1px solid var(--line);border-radius:12px;background:rgba(128,104,216,.045)}
.acgse-asset-detail-stats small,.acgse-requirements small{color:var(--muted)}
.acgse-requirements{display:grid;grid-template-columns:repeat(auto-fit,minmax(145px,1fr));gap:9px;margin:16px 0}
.acgse-requirements .is-missing{border-color:rgba(190,68,68,.4);background:rgba(190,68,68,.07)}
.acgse-asset-browser-pager{display:flex;align-items:center;justify-content:space-between;gap:8px;font-size:11px;color:var(--muted)}
/* Warehouse and skill books are asset cards too, but keep their existing interaction model. */
#acggc-items .acggc-item-art{height:auto!important;aspect-ratio:1/1!important;overflow:hidden}
#acggc-items .acggc-item-art img{width:100%!important;height:100%!important;object-fit:cover!important;object-position:center!important}
#acggc-skill-book-list .acggc-skill-book-card>img{width:100%!important;height:auto!important;min-height:0!important;aspect-ratio:1/1!important;object-fit:cover!important;object-position:center!important}
@media(max-width:760px){
  .acgse-asset-browser{grid-template-columns:1fr}
  .acgse-asset-quick-grid{display:flex;overflow-x:auto;overflow-y:hidden;max-height:none;padding-bottom:6px}
  .acgse-asset-quick-card{flex:0 0 128px}
  .acgse-asset-detail-head{grid-template-columns:1fr}.acgse-asset-square-large{max-width:none}
}

/* Round8: game-owned hero background/emblem positioning. */
.acggc-star-echo-page .acggc-star-cover.has-acgse-custom-background{background-image:linear-gradient(90deg,rgba(34,25,54,var(--acgse-hero-overlay,.38)),rgba(100,50,85,calc(var(--acgse-hero-overlay,.38)*.72))),var(--acgse-hero-bg)!important;background-position:center,var(--acgse-hero-bg-x,50%) var(--acgse-hero-bg-y,50%)!important;background-size:cover!important;background-repeat:no-repeat!important}
.acggc-star-echo-page .acgse-configurable-emblem{position:absolute!important;left:var(--acgse-emblem-x,82%)!important;top:var(--acgse-emblem-y,50%)!important;right:auto!important;transform:translate(-50%,-50%);opacity:var(--acgse-emblem-opacity,1)!important;min-height:0!important;z-index:3}
.acggc-star-echo-page .acgse-configurable-emblem .acggc-emblem-ring{width:var(--acgse-emblem-size,190px)!important;height:var(--acgse-emblem-size,190px)!important}
.acggc-star-echo-page .acgse-configurable-emblem .acggc-emblem-ring span{font-size:calc(var(--acgse-emblem-size,190px)*.41)!important}
@media(max-width:800px){.acggc-star-echo-page .acgse-configurable-emblem{left:var(--acgse-emblem-mobile-x,78%)!important;top:var(--acgse-emblem-mobile-y,30%)!important;right:auto!important;transform:translate(-50%,-50%)}}


/* Round8 Batch5: host-theme-safe asset ratios and town effect summary. */
.acggc-star-echo-page .acgse-asset-square{display:block!important;aspect-ratio:1/1!important;height:auto!important;overflow:hidden}
.acggc-star-echo-page .acgse-asset-square>img{display:block!important;width:100%!important;height:100%!important;min-height:0!important;max-height:none!important;aspect-ratio:auto!important;object-fit:cover!important;object-position:center!important}
.acggc-star-echo-page #acggc-skill-book-list .acggc-skill-book-card>img{display:block!important;width:100%!important;height:auto!important;aspect-ratio:1/1!important;object-fit:cover!important;object-position:center!important}
.acggc-star-echo-page #acggc-items .acggc-item-art{height:auto!important;aspect-ratio:1/1!important}
.acggc-star-echo-page #acggc-items .acggc-item-art>img{height:100%!important;max-height:none!important;object-fit:cover!important}
/* Product art only: keep promotional shop showcase / banners untouched. */
.acggc-star-echo-page #acggc-shop-list .acggc-shop-card .acggc-item-art,.acggc-star-echo-page #acgse-travelling-products .acggc-shop-card .acggc-item-art{height:auto!important;aspect-ratio:1/1!important;margin:-6px -6px 12px}
.acggc-star-echo-page #acggc-shop-list .acggc-shop-card .acggc-item-art>img,.acggc-star-echo-page #acgse-travelling-products .acggc-shop-card .acggc-item-art>img{width:100%!important;height:100%!important;max-height:none!important;object-fit:cover!important;object-position:center!important}
.acggc-star-echo-page .acggc-shop-dialog .acggc-shop-detail-art{height:auto!important;aspect-ratio:1/1!important;overflow:hidden}
.acggc-star-echo-page .acggc-shop-dialog .acggc-shop-detail-art>img{width:100%!important;height:100%!important;max-height:none!important;object-fit:cover!important;object-position:center!important}
/* Town building cards are 4:3; region/stage artwork retains its own rules. */
.acggc-star-echo-page #acggc-town-list .acggc-building-art{height:auto!important;aspect-ratio:4/3!important;overflow:hidden}
.acggc-star-echo-page #acggc-town-list .acggc-building-art>img{width:100%!important;height:100%!important;object-fit:cover!important;object-position:center!important}
.acgse-town-effect-summary{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:0 0 16px}
.acgse-town-effect-summary>article{display:grid;gap:4px;padding:14px 16px;border:1px solid var(--line);border-radius:16px;background:var(--glass)}
.acgse-town-effect-summary strong{font-size:15px}.acgse-town-effect-summary small{color:var(--muted)}
.acgse-town-special-effects{display:grid;gap:3px;margin:8px 0 12px}.acgse-town-special-effect{color:var(--muted)}
.acgse-archive-world{display:block!important;margin-top:3px;color:var(--muted)!important}
@media(max-width:620px){.acgse-town-effect-summary{grid-template-columns:1fr}}

/* Round9 Batch5: choice/random gift pack UI. */
.acggc-star-echo-page .acgse-gift-claims{margin:18px 0;padding:16px;border:1px solid var(--line);border-radius:20px;background:var(--glass)}
.acggc-star-echo-page .acgse-gift-claim-list{display:grid;gap:14px}
.acggc-star-echo-page .acgse-gift-claim{padding:14px;border:1px solid var(--line);border-radius:16px;background:rgba(255,255,255,.03)}
.acggc-star-echo-page .acgse-gift-options{display:grid;grid-template-columns:repeat(auto-fit,minmax(128px,1fr));gap:10px;margin:12px 0}
.acggc-star-echo-page .acgse-gift-option{appearance:none;display:grid;gap:7px;min-width:0;padding:8px;border:1px solid var(--line);border-radius:14px;background:var(--glass);color:var(--ink);text-align:left;cursor:pointer}
.acggc-star-echo-page .acgse-gift-option:hover{transform:translateY(-1px)}
.acggc-star-echo-page .acgse-gift-option.is-selected{border-color:#8068d8;box-shadow:0 0 0 3px rgba(128,104,216,.14)}
.acggc-star-echo-page .acgse-gift-option strong,.acggc-star-echo-page .acgse-gift-option small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.acggc-star-echo-page .acgse-gift-option small{color:var(--muted)}
.acggc-star-echo-page .acgse-shop-pack-preview{display:flex;flex-wrap:wrap;gap:6px;margin:8px 0 14px}
.acggc-star-echo-page .acgse-shop-pack-preview>span{padding:5px 8px;border:1px solid var(--line);border-radius:999px;background:var(--glass);font-size:12px}
@media(max-width:620px){.acggc-star-echo-page .acgse-gift-options{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* Round10 Batch5: bounded special-history search and town hierarchy. */
.acgse-event-history-toolbar{display:grid;gap:10px;margin:0 0 12px;padding:12px;border:1px solid color-mix(in srgb,var(--acgse-border,#94a3b8) 30%,transparent);border-radius:14px;background:color-mix(in srgb,var(--acgse-surface,#fff) 92%,transparent)}
.acgse-event-history-search{display:grid;grid-template-columns:minmax(130px,.35fr) minmax(0,1fr);gap:10px;align-items:center}.acgse-event-history-search>label{font-size:12px;font-weight:700}.acgse-event-history-search>div{display:flex;gap:8px;min-width:0}.acgse-event-history-search input{min-width:0;flex:1;border:1px solid var(--line);border-radius:10px;background:var(--glass);color:var(--ink);padding:8px 10px}
.acgse-event-history-filters{display:flex;flex-wrap:wrap;gap:7px}.acgse-event-history-filters button{appearance:none;border:1px solid var(--line);border-radius:999px;background:var(--glass);color:var(--ink);padding:6px 11px;font-size:12px;cursor:pointer}.acgse-event-history-filters button.is-active{border-color:color-mix(in srgb,var(--acgse-accent,#7c3aed) 72%,var(--line));background:color-mix(in srgb,var(--acgse-accent,#7c3aed) 13%,var(--glass));font-weight:700}
.acggc-star-echo-page #acggc-town-list .acggc-building-card{display:flex;flex-direction:column;min-height:100%}
.acgse-town-building-body{display:flex;flex-direction:column;flex:1;min-width:0}.acgse-town-building-body h2{margin:4px 0 7px}.acgse-town-building-body>p{margin:0 0 10px}
.acgse-town-building-stats{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:2px 0 10px}.acgse-town-building-stats>span{display:grid;gap:3px;padding:9px 10px;border:1px solid var(--line);border-radius:12px;background:color-mix(in srgb,var(--glass) 90%,transparent)}.acgse-town-building-stats small{color:var(--muted);font-size:11px}.acgse-town-building-stats b{font-size:13px;line-height:1.35}
.acgse-town-special-effects{display:flex!important;flex-wrap:wrap;gap:6px!important;margin:0 0 12px!important}.acgse-town-special-effect{display:inline-flex;align-items:center;padding:5px 8px;border:1px solid color-mix(in srgb,var(--acgse-accent,#7c3aed) 30%,var(--line));border-radius:999px;background:color-mix(in srgb,var(--acgse-accent,#7c3aed) 7%,var(--glass));color:var(--ink)!important;font-size:11px;line-height:1.3}
.acgse-town-building-footer{margin-top:auto;padding-top:12px;border-top:1px solid color-mix(in srgb,var(--line) 70%,transparent)}.acgse-town-building-footer>.acggc-btn{width:100%;justify-content:center}.acgse-town-building-footer>*{max-width:100%}
@media(max-width:620px){.acgse-event-history-search{grid-template-columns:1fr}.acgse-event-history-search>div{display:grid;grid-template-columns:minmax(0,1fr) auto auto}.acgse-town-building-stats{grid-template-columns:1fr 1fr}}

/* Round10 Batch6 · ASTRAL NET / 暗线委托 */
.acgse-darknet-page{overflow:hidden;background:linear-gradient(145deg,rgba(23,20,40,.96),rgba(39,25,47,.9));color:#f4efff}.acgse-darknet-page .acggc-note{color:rgba(244,239,255,.72)}
.acgse-darknet-hero{display:grid;grid-template-columns:minmax(0,220px) 1fr;gap:24px;align-items:center;padding:20px;border:1px solid rgba(214,164,255,.22);border-radius:22px;background:radial-gradient(circle at 12% 20%,rgba(177,91,255,.18),transparent 46%),rgba(10,8,20,.32)}
.acgse-darknet-operator-art img{display:block;width:100%;aspect-ratio:3/4;object-fit:cover;border-radius:18px;border:1px solid rgba(255,255,255,.16)}.acgse-darknet-balance{display:flex;gap:10px;flex-wrap:wrap;margin-top:14px}.acgse-darknet-balance span{padding:8px 12px;border-radius:999px;background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.12)}
.acgse-darknet-tabs{margin:18px 0}.acgse-darknet-tabs button{color:inherit}.acgse-darknet-compose{padding:18px;margin-bottom:18px;border:1px solid rgba(214,164,255,.22);border-radius:18px;background:rgba(255,255,255,.05)}.acgse-darknet-form-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.acgse-darknet-form-grid label{display:grid;gap:6px}.acgse-darknet-form-grid input,.acgse-darknet-form-grid select,.acgse-darknet-selector input{width:100%}
.acgse-darknet-selector{margin:14px 0}.acgse-darknet-search-results{display:flex;gap:8px;overflow:auto;padding:8px 0}.acgse-darknet-search-results button{min-width:150px;text-align:left;padding:10px;border:1px solid rgba(255,255,255,.14);border-radius:12px;background:rgba(255,255,255,.07);color:inherit}.acgse-darknet-search-results small{display:block;opacity:.7;margin-top:4px}
.acgse-darknet-list{display:grid;gap:12px}.acgse-darknet-card{padding:16px;border-radius:18px;border:1px solid rgba(214,164,255,.18);background:rgba(255,255,255,.055)}.acgse-darknet-card-head{display:flex;justify-content:space-between;gap:12px;align-items:flex-start}.acgse-darknet-card h2{margin:4px 0 8px}.acgse-darknet-npc,.acgse-darknet-status{font-size:12px;opacity:.78}.acgse-darknet-status{padding:5px 9px;border-radius:999px;background:rgba(255,255,255,.08)}.acgse-darknet-meta{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin-top:12px}.acgse-darknet-meta span{padding:8px;border-radius:10px;background:rgba(0,0,0,.16);font-size:12px}.acgse-darknet-meta strong{display:block;margin-top:3px}.acgse-darknet-actions{display:flex;gap:8px;justify-content:flex-end;margin-top:12px}
@media(max-width:780px){.acgse-darknet-hero{grid-template-columns:1fr}.acgse-darknet-operator-art{max-width:180px;margin:auto}.acgse-darknet-form-grid{grid-template-columns:1fr}.acgse-darknet-meta{grid-template-columns:1fr 1fr}.acgse-darknet-card-head{align-items:center}}
@media(prefers-color-scheme:light){.acgse-darknet-page{background:linear-gradient(145deg,#fbf8ff,#f5edf9);color:#33233e}.acgse-darknet-page .acggc-note{color:#6d6074}.acgse-darknet-hero,.acgse-darknet-compose,.acgse-darknet-card{background:rgba(255,255,255,.72);border-color:rgba(100,60,130,.15)}.acgse-darknet-search-results button{background:#fff;color:#33233e;border-color:rgba(100,60,130,.18)}.acgse-darknet-meta span{background:rgba(87,44,120,.06)}}

/* Round11 Batch B · monster discovery archive */
.acgse-enemy-archive-card{cursor:default!important}.acgse-enemy-archive-card:hover{transform:none!important}.acgse-enemy-archive-card .is-silhouette{filter:brightness(0) opacity(.72);background:linear-gradient(145deg,rgba(76,80,105,.16),rgba(40,44,72,.24))}.acgse-enemy-archive-card.is-seen .acggc-archive-head>span{background:rgba(92,132,190,.14);color:var(--acggc-v117-text,#344)}.acgse-enemy-archive-card.is-defeated .acggc-archive-head>span{background:rgba(174,78,103,.16);color:var(--acggc-v117-text,#623)}.acgse-enemy-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px;margin:8px 0}.acgse-enemy-stats span{padding:6px 8px;border:1px solid var(--acggc-v117-line,rgba(120,120,160,.2));border-radius:10px;font-size:12px}.acgse-enemy-stage-tags{display:flex;flex-wrap:wrap;gap:6px;margin:8px 0}.acgse-enemy-stage-tags strong{width:100%}.acgse-enemy-stage-tags span{padding:4px 7px;border-radius:999px;background:var(--acggc-v117-surface-2,rgba(100,110,150,.08));font-size:12px}.acgse-enemy-drop-list ul{margin:6px 0 0 18px}.acgse-enemy-lock-note{display:block;margin-top:10px;padding:8px 10px;border-radius:10px;background:var(--acggc-v117-surface-2,rgba(100,110,150,.08))}@media(max-width:620px){.acgse-enemy-stats{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* Round11 Batch C: lazy stage details. */
.acgse-stage-detail-row{display:flex;margin-top:10px}.acgse-stage-detail-row .acggc-btn{width:100%;justify-content:center}.acgse-stage-detail-dialog{position:fixed!important;inset:0!important;margin:auto!important;width:min(920px,calc(100vw - 28px));max-height:min(86vh,900px);overflow:auto;border:0;border-radius:22px;padding:24px;background:var(--acggc-card,#fff);color:inherit;box-shadow:0 24px 80px rgba(0,0,0,.35)}.acgse-stage-detail-dialog::backdrop{background:rgba(8,12,24,.62);backdrop-filter:blur(5px)}.acgse-dialog-close{position:sticky;float:right;top:0;z-index:2;width:36px;height:36px;border-radius:50%;border:1px solid rgba(127,127,127,.28);background:var(--acggc-card,#fff);color:inherit;font-size:24px;line-height:1;cursor:pointer}.acgse-stage-detail-dialog section{margin:20px 0}.acgse-stage-detail-asset{display:grid;grid-template-columns:76px 1fr;gap:14px;padding:12px;margin:10px 0;border:1px solid rgba(127,127,127,.18);border-radius:14px}.acgse-stage-detail-asset img{width:76px;height:76px;object-fit:cover;border-radius:12px}.acgse-stage-detail-asset div{display:flex;flex-direction:column;gap:5px}.acgse-stage-detail-asset p{margin:0}@media(max-width:600px){.acgse-stage-detail-dialog{width:calc(100vw - 16px);max-height:calc(100vh - 24px);padding:16px}.acgse-stage-detail-asset{grid-template-columns:58px 1fr}.acgse-stage-detail-asset img{width:58px;height:58px}}

/* Round12: Darknet player-bounty policy / difficulty presentation. */
.acgse-darknet-card-badges{display:flex;align-items:center;justify-content:flex-end;gap:8px;flex-wrap:wrap}
.acgse-darknet-difficulty{display:inline-flex;align-items:center;min-height:24px;padding:2px 9px;border:1px solid color-mix(in srgb,currentColor 24%,transparent);border-radius:999px;font-size:.78rem;font-weight:800;letter-spacing:.04em}
.acgse-darknet-number-unit{display:flex;align-items:center;gap:8px}.acgse-darknet-number-unit input{min-width:0;width:100%}.acgse-darknet-number-unit small{white-space:nowrap;opacity:.72}
@media (max-width:640px){.acgse-darknet-card-badges{justify-content:flex-start}.acgse-darknet-number-unit{width:100%}}

/* Round12 Batch D: standalone monster dossier, reusing the existing archive language. */
.acgse-enemy-archive-card.is-unknown{cursor:default}.acgse-enemy-archive-card.is-unknown:hover{transform:none;border-color:var(--acggc-v117-line,var(--line))!important;box-shadow:0 5px 16px rgba(50,38,70,.06)!important}.acgse-enemy-archive-card .is-silhouette{filter:grayscale(1) brightness(.28);opacity:.72}.acgse-enemy-lock-note{display:block;margin-top:auto;padding-top:10px;color:var(--muted)}
.acgse-enemy-type-badge{min-width:0}.acgse-enemy-type-badge.is-boss{color:#9b405f;background:rgba(190,73,112,.11)}.acgse-enemy-type-badge.is-elite{color:#8050b5;background:rgba(128,80,181,.11)}.acgse-enemy-type-badge.is-mob{color:#3c789f;background:rgba(64,133,178,.1)}.acgse-enemy-dossier-lock{border-style:dashed!important}.acgse-enemy-dossier-stage-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:10px}.acgse-enemy-dossier-stage-grid>article{display:grid;gap:4px;padding:12px 14px;border:1px solid rgba(35,48,76,.14);border-radius:13px;background:rgba(102,112,216,.05)}.acgse-enemy-dossier-stage-grid small{opacity:.68}.acgse-enemy-dossier-drop-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:10px}.acgse-enemy-dossier-drop-grid>article{display:grid;grid-template-columns:56px minmax(0,1fr);gap:11px;align-items:center;padding:10px 12px;border:1px solid rgba(35,48,76,.14);border-radius:13px;background:rgba(102,112,216,.05)}.acgse-enemy-dossier-drop-grid img{width:56px;height:56px;object-fit:cover;border-radius:11px}.acgse-enemy-dossier-drop-grid>article>div{display:grid;gap:4px;min-width:0}.acgse-enemy-dossier-drop-grid small{opacity:.72}
@media(max-width:620px){.acgse-enemy-dossier-stage-grid,.acgse-enemy-dossier-drop-grid{grid-template-columns:1fr}.acgse-enemy-dossier-facts{grid-template-columns:1fr!important}}
/* Round14 F1: bounded friend list uses a compact 1:1 avatar instead of loading full support art per row. */
.acggc-friend-namecard-art.is-avatar{padding:12px;display:flex;align-items:flex-start;justify-content:center;background:rgba(255,255,255,.18)}
.acggc-friend-namecard-art.is-avatar img{width:84px;height:84px;min-height:0;aspect-ratio:1/1;border-radius:16px;object-fit:cover;object-position:center}
.acgse-friend-list-heading{align-items:end;gap:12px}.acgse-friend-list-heading .acggc-inline{max-width:360px;width:100%}.acgse-friend-list-heading input{min-width:0;width:100%}
@media(max-width:640px){.acgse-friend-list-heading{align-items:stretch;flex-direction:column}.acggc-friend-namecard{grid-template-columns:80px minmax(0,1fr)!important}.acggc-friend-namecard-art.is-avatar{padding:8px}.acggc-friend-namecard-art.is-avatar img{width:64px;height:64px;border-radius:14px}}

/* Round14 F3: Astral Town hero + structured bounty presets + Darknet escort map. */
.acgse-town-hero{position:relative;display:grid;grid-template-columns:minmax(0,1.65fr) minmax(240px,.75fr);gap:18px;margin:0 0 18px;padding:14px;border:1px solid var(--acggc-border,rgba(255,255,255,.14));border-radius:22px;background:var(--acggc-card,rgba(14,20,35,.72));overflow:hidden}.acgse-town-hero[hidden]{display:none}.acgse-town-hero-art{aspect-ratio:16/9;min-height:0;border-radius:16px;overflow:hidden;background:rgba(0,0,0,.12)}.acgse-town-hero-art img{display:block;width:100%;height:100%;object-fit:cover}.acgse-town-hero-copy{align-self:end;padding:8px}.acgse-town-hero-copy h2{margin:.3rem 0 .55rem}.acgse-town-hero-copy p{margin:0;opacity:.78;line-height:1.7}
.acgse-darknet-presets{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin:12px 0 16px}.acgse-darknet-presets small{opacity:.72}
.acgse-darknet-escort-map{margin-top:18px;padding:16px;border:1px solid var(--acggc-border,rgba(255,255,255,.14));border-radius:22px;background:var(--acggc-card,rgba(14,20,35,.76));scroll-margin-top:92px}.acgse-darknet-escort-map[hidden]{display:none}.acgse-escort-map-hero{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(240px,.8fr);gap:18px;align-items:end}.acgse-escort-map-hero img{display:block;width:100%;aspect-ratio:16/9;object-fit:cover;border-radius:16px}.acgse-escort-map-hero h2{margin:.3rem 0 .5rem}.acgse-escort-map-hero p{margin:0;opacity:.8;line-height:1.7}.acgse-escort-route{display:grid;gap:10px;margin:18px 0}.acgse-escort-node{display:grid;grid-template-columns:42px minmax(0,1fr) auto;gap:12px;align-items:center;padding:12px 14px;border:1px solid var(--acggc-border,rgba(255,255,255,.12));border-radius:16px;background:rgba(127,127,127,.06)}.acgse-escort-node.is-current{box-shadow:inset 0 0 0 1px currentColor}.acgse-escort-node.is-cleared{opacity:.72}.acgse-escort-node.is-locked{opacity:.5}.acgse-escort-index{display:grid;place-items:center;width:36px;height:36px;border-radius:50%;background:rgba(127,127,127,.14);font-weight:800}.acgse-escort-node h4{margin:2px 0 3px}.acgse-escort-node p,.acgse-escort-node small{margin:0;opacity:.72}
@media (max-width:760px){.acgse-town-hero,.acgse-escort-map-hero{grid-template-columns:1fr}.acgse-town-hero-copy{padding:2px}.acgse-escort-node{grid-template-columns:38px minmax(0,1fr)}.acgse-escort-node .acggc-btn{grid-column:1/-1;width:100%}}

/* Round14 F4: roomy paged friend namecards. */
.acggc-friend-namecard-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:12px}.acggc-friend-namecard-copy{min-width:0}.acggc-friend-namecard-copy .acggc-support-signature{max-width:52ch}@media(max-width:980px){.acggc-friend-grid{grid-template-columns:1fr}}@media(max-width:640px){.acggc-friend-grid{gap:12px}.acggc-friend-namecard{grid-template-columns:80px minmax(0,1fr)!important}.acggc-friend-namecard-actions .acggc-btn{flex:1 1 120px}}

/* Round15 G4/G5: extensible skill effects, town-skin picker and gift-pack preview. */
.acgse-skill-effect-tags{display:flex;flex-wrap:wrap;gap:6px;margin:9px 0}.acgse-skill-effect-tags span{display:inline-flex;padding:4px 8px;border:1px solid var(--acggc-border,rgba(127,127,127,.2));border-radius:999px;background:rgba(127,127,127,.07);font-size:12px;line-height:1.35}
.acgse-town-skin-picker{margin:0 0 18px;padding:16px;border:1px solid var(--acggc-border,rgba(127,127,127,.18));border-radius:20px;background:var(--acggc-card,rgba(255,255,255,.06))}.acgse-town-skin-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:12px;margin-top:12px}.acgse-town-skin-card{display:grid;grid-template-columns:112px minmax(0,1fr);gap:12px;align-items:center;padding:10px;border:1px solid var(--acggc-border,rgba(127,127,127,.18));border-radius:16px;background:rgba(127,127,127,.05)}.acgse-town-skin-card>img{width:112px;aspect-ratio:16/9;object-fit:cover;border-radius:12px}.acgse-town-skin-card>div{min-width:0}.acgse-town-skin-card h4,.acgse-town-skin-card p{margin:.2rem 0}.acgse-town-skin-card small{opacity:.7}.acgse-town-skin-card.is-equipped{box-shadow:inset 0 0 0 1px currentColor}.acgse-town-skin-card .acggc-btn,.acgse-town-skin-card>.acggc-note{grid-column:1/-1}
.acgse-pack-preview-dialog{position:fixed!important;inset:0!important;margin:auto!important;width:min(940px,calc(100vw - 24px));max-height:min(88vh,900px);overflow:auto;border:0;border-radius:22px;padding:22px;background:var(--acggc-card,#fff);color:inherit;box-shadow:0 24px 80px rgba(0,0,0,.35)}.acgse-pack-preview-dialog::backdrop{background:rgba(8,12,24,.62);backdrop-filter:blur(5px)}.acgse-pack-preview-head{display:grid;grid-template-columns:112px minmax(0,1fr);gap:16px;align-items:center;padding-right:34px}.acgse-pack-preview-head>img{width:112px;aspect-ratio:1/1;object-fit:cover;border-radius:16px}.acgse-pack-preview-head h2,.acgse-pack-preview-head p{margin:.25rem 0}.acgse-pack-preview-tabs,.acgse-pack-preview-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin:16px 0}.acgse-pack-preview-actions{justify-content:flex-end}.acgse-pack-preview-actions small{margin-right:auto}.acgse-pack-preview-filters{display:grid;grid-template-columns:minmax(180px,1fr) 160px 140px;gap:8px;margin-bottom:12px}.acgse-pack-preview-filters input,.acgse-pack-preview-filters select{width:100%;min-width:0}.acgse-pack-preview-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.acgse-pack-preview-asset{display:grid;gap:7px;text-align:left;padding:10px;border:1px solid var(--acggc-border,rgba(127,127,127,.18));border-radius:14px;background:rgba(127,127,127,.05);color:inherit;cursor:pointer}.acgse-pack-preview-asset:disabled{opacity:1;cursor:default}.acgse-pack-preview-asset.is-selected{box-shadow:inset 0 0 0 2px currentColor}.acgse-pack-preview-asset .acgse-asset-square{aspect-ratio:1/1;border-radius:11px;overflow:hidden}.acgse-pack-preview-asset .acgse-asset-square img{width:100%;height:100%;object-fit:cover}.acgse-pack-preview-asset strong,.acgse-pack-preview-asset small{overflow-wrap:anywhere}.acgse-pack-result{display:grid;place-items:center;text-align:center;gap:12px;min-height:260px;padding:28px}.acgse-pack-result p{font-size:1.05rem;line-height:1.8}
@media(max-width:760px){.acgse-town-skin-list{grid-template-columns:1fr}.acgse-pack-preview-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.acgse-pack-preview-filters{grid-template-columns:1fr}.acgse-pack-preview-head{grid-template-columns:82px minmax(0,1fr)}.acgse-pack-preview-head>img{width:82px}.acgse-pack-preview-actions .acggc-btn{flex:1 1 120px}}
@media(max-width:520px){.acgse-town-skin-card{grid-template-columns:92px minmax(0,1fr)}.acgse-town-skin-card>img{width:92px}.acgse-pack-preview-dialog{width:calc(100vw - 12px);padding:16px}.acgse-pack-preview-grid{grid-template-columns:1fr 1fr;gap:8px}}


/* Round16 Batch B: namecard / visit privacy / compact support / one town-skin picker. */
.acgse-friend-city-privacy{display:grid;grid-template-columns:minmax(220px,.7fr) minmax(0,1.3fr);gap:16px;align-items:center;margin:14px 0;padding:14px 16px;border:1px solid var(--acgse-border,var(--acggc-border,rgba(80,90,120,.18)));border-radius:18px;background:var(--acgse-surface,var(--acggc-card,rgba(255,255,255,.68)));color:var(--acgse-text,var(--text,#283247))}.acgse-friend-city-privacy h2,.acgse-friend-city-privacy p{margin:.2rem 0}.acgse-privacy-options{display:flex;align-items:center;justify-content:flex-end;gap:10px;flex-wrap:wrap}.acgse-privacy-options label{display:inline-flex;align-items:center;gap:5px;padding:7px 9px;border-radius:999px;background:rgba(127,127,127,.08);font-size:12px}
.acggc-namecard-preview .acggc-namecard-art{position:relative;overflow:hidden;aspect-ratio:3/1}.acggc-namecard-preview .acggc-namecard-art>img:first-child{width:100%;height:100%;object-fit:cover}.acggc-namecard-avatar{position:absolute!important;left:12px!important;bottom:12px!important;width:64px!important;height:64px!important;min-height:0!important;aspect-ratio:1/1!important;object-fit:cover!important;object-position:center top!important;border:2px solid rgba(255,255,255,.8);border-radius:15px;box-shadow:0 6px 22px rgba(0,0,0,.25)}.acggc-namecard-mini-supports{display:flex;gap:7px;flex-wrap:wrap;margin:.55rem 0}.acggc-namecard-mini-supports span{display:grid;width:46px;gap:3px;text-align:center}.acggc-namecard-mini-supports img{width:46px;aspect-ratio:2/3;object-fit:cover;object-position:center top;border-radius:8px}.acggc-namecard-mini-supports small{font-size:9px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.acggc-friend-namecard{display:grid!important;grid-template-columns:minmax(190px,.7fr) minmax(0,1.3fr)!important;overflow:hidden}.acggc-friend-namecard-banner{position:relative;min-height:150px;overflow:hidden;background:rgba(127,127,127,.08)}.acggc-friend-namecard-bg{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}.acggc-friend-namecard-banner:after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(10,15,30,.55),rgba(10,15,30,.08))}.acggc-friend-namecard-avatar{position:absolute;z-index:2;left:12px;bottom:12px;width:62px;height:62px;object-fit:cover;object-position:center top;border-radius:14px;border:2px solid rgba(255,255,255,.78)}.acggc-friend-namecard-mini{position:absolute;z-index:2;right:10px;bottom:10px;display:flex;gap:6px}.acggc-friend-namecard-mini span{display:grid;width:40px;gap:2px;text-align:center;color:#fff}.acggc-friend-namecard-mini img{width:40px;aspect-ratio:2/3;object-fit:cover;border-radius:7px;border:1px solid rgba(255,255,255,.48)}.acggc-friend-namecard-mini small{font-size:8px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.acggc-friend-namecard-copy{padding:13px}
.acgse-support-catalog-heading{margin-top:18px}.acggc-support-catalog-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(140px,180px));gap:10px;align-items:start}.acggc-support-card-compact{overflow:hidden;border:1px solid var(--acggc-border,rgba(100,110,140,.18));border-radius:15px;background:var(--acggc-card,rgba(255,255,255,.62));min-width:0}.acggc-support-card-art{position:relative}.acggc-support-card-art>img{display:block;width:100%;height:auto!important;aspect-ratio:2/3!important;object-fit:cover!important;object-position:center top!important}.acggc-support-card-art .acggc-support-relation{position:absolute;left:7px;top:7px;background:rgba(248,248,255,.9)}.acggc-support-card-compact>div:last-child{display:grid;gap:5px;padding:8px}.acggc-support-card-compact strong,.acggc-support-card-compact small{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.acggc-support-card-compact small{color:var(--muted,#6d7280);font-size:10px}
.acggc-cosmetic-groups{display:grid;gap:18px}.acggc-cosmetic-group{display:grid;gap:10px}.acggc-cosmetic-group>.acggc-heading{margin:0}.acggc-cosmetic-card.type-namecard .acggc-cosmetic-art{aspect-ratio:3/1!important;height:auto!important}.acggc-cosmetic-card.type-town .acggc-cosmetic-art{aspect-ratio:8/5!important;height:auto!important}.acggc-cosmetic-card.type-namecard .acggc-cosmetic-art img,.acggc-cosmetic-card.type-town .acggc-cosmetic-art img{width:100%;height:100%;object-fit:cover}
.acgse-town-hero{--acgse-surface:rgba(255,255,255,.78);--acgse-text:#283247;--acgse-text-muted:#667085;--acgse-border:rgba(69,82,118,.18);grid-template-columns:minmax(0,1.45fr) minmax(240px,.8fr)!important;background:var(--acgse-surface)!important;border-color:var(--acgse-border)!important;color:var(--acgse-text)!important}.acgse-town-hero-art{aspect-ratio:8/5!important}.acgse-town-hero-copy p{color:var(--acgse-text-muted);opacity:1!important}.acgse-town-hero-copy .acggc-kicker{color:var(--acgse-text-muted)}
@media (prefers-color-scheme:dark){.acgse-town-hero{--acgse-surface:rgba(24,28,42,.9);--acgse-text:#f4f1f8;--acgse-text-muted:#c5bece;--acgse-border:rgba(255,255,255,.12)}}html.dark .acgse-town-hero,html[data-theme="dark"] .acgse-town-hero,body.dark .acgse-town-hero,body.dark-mode .acgse-town-hero,body.night .acgse-town-hero{--acgse-surface:rgba(24,28,42,.92);--acgse-text:#f4f1f8;--acgse-text-muted:#c8c1d1;--acgse-border:rgba(255,255,255,.12)}
@media(max-width:760px){.acgse-friend-city-privacy{grid-template-columns:1fr}.acgse-privacy-options{justify-content:flex-start}.acggc-friend-namecard{grid-template-columns:1fr!important}.acggc-friend-namecard-banner{aspect-ratio:3/1;min-height:120px}.acggc-support-catalog-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}


/* Round17 Batch C: paged compact cosmetics/titles + appearance detail + stronger namecard contrast. */
.acgse-cosmetic-studio-grid{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(260px,.65fr);gap:18px;align-items:start}.acgse-cosmetic-browser,.acgse-title-browser{min-width:0}.acgse-cosmetic-type-tabs{display:flex;gap:7px;flex-wrap:wrap;margin:0 0 10px}.acgse-cosmetic-type-tabs button{appearance:none;border:1px solid var(--acgse-border,var(--line));background:var(--acgse-surface-soft,var(--glass));color:var(--acgse-text,var(--ink));padding:7px 10px;border-radius:999px;cursor:pointer;font-size:12px}.acgse-cosmetic-type-tabs button.is-active{font-weight:800;box-shadow:inset 0 0 0 1px currentColor;background:color-mix(in srgb,var(--acgse-surface-soft,var(--glass)) 78%,currentColor 8%)}.acgse-cosmetic-toolbar{display:flex;gap:8px;flex-wrap:wrap;margin:0 0 12px}.acgse-cosmetic-toolbar input{min-width:180px;flex:1 1 180px}.acgse-cosmetic-toolbar select{flex:0 1 150px}.acggc-cosmetics-studio .acggc-cosmetic-grid{grid-template-columns:repeat(auto-fill,minmax(132px,1fr));gap:10px}.acgse-cosmetic-card-compact{border-radius:15px!important}.acgse-cosmetic-card-compact .acggc-cosmetic-copy{padding:9px 10px;gap:3px}.acgse-cosmetic-card-compact h4{font-size:13px!important;margin:0!important;line-height:1.35}.acgse-cosmetic-card-compact small{font-size:10px;line-height:1.35}.acgse-cosmetic-card-compact .acggc-kicker{font-size:9px}.acgse-cosmetic-card-actions{display:flex;gap:5px;padding:0 9px 9px;align-items:center;flex-wrap:wrap}.acgse-cosmetic-card-actions .acggc-btn{margin:0!important;width:auto!important;flex:1 1 58px;padding:6px 8px!important;font-size:11px}.acgse-cosmetic-detail-trigger{appearance:none;border:0;padding:0;background:transparent;cursor:pointer;text-align:inherit}.acggc-cosmetics-studio .acggc-title-list{grid-template-columns:repeat(6,minmax(0,1fr))}.acggc-cosmetics-studio .acggc-title-card-text{min-height:62px!important;padding:10px 11px!important;border-radius:14px}.acggc-cosmetics-studio .acggc-title-card-text .acggc-title-copy strong{font-size:13px}.acggc-cosmetics-studio .acggc-title-card-text small{font-size:10px}.acgse-appearance-detail{display:block}.acgse-appearance-detail[hidden]{display:none!important}.acgse-appearance-detail-grid{display:grid;grid-template-columns:minmax(280px,1.2fr) minmax(260px,.8fr);gap:22px;margin-top:14px}.acgse-appearance-detail-art{overflow:hidden;border-radius:22px;border:1px solid var(--acgse-border,var(--line));background:var(--acgse-surface-soft,var(--glass));min-height:280px}.acgse-appearance-detail-art img{display:block;width:100%;height:100%;min-height:280px;object-fit:cover;object-position:center top}.acgse-appearance-detail-art.type-namecard{aspect-ratio:3/1;min-height:0}.acgse-appearance-detail-art.type-town{aspect-ratio:8/5;min-height:0}.acgse-appearance-detail-art.type-namecard img,.acgse-appearance-detail-art.type-town img{min-height:0}.acgse-appearance-detail-copy{padding:8px 0}.acgse-appearance-detail-copy h2{margin:.25rem 0 .65rem}.acgse-appearance-detail-copy dl{display:grid;gap:8px;margin:14px 0}.acgse-appearance-detail-copy dl>div{display:grid;grid-template-columns:92px 1fr;gap:8px;padding:8px 0;border-bottom:1px solid var(--acgse-border,var(--line))}.acgse-appearance-detail-copy dt{color:var(--acgse-text-muted,var(--muted));font-size:12px}.acgse-appearance-detail-copy dd{margin:0;font-weight:700}.acgse-appearance-detail-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:14px}
.acggc-namecard-preview .acggc-namecard-art:after{content:"";position:absolute;left:0;right:0;bottom:0;height:46%;background:linear-gradient(180deg,transparent,rgba(8,12,24,.58));pointer-events:none}.acggc-namecard-preview .acggc-namecard-avatar{z-index:3!important;width:72px!important;height:72px!important;border:3px solid var(--acgse-surface,#fff)!important;outline:1px solid rgba(0,0,0,.28);box-shadow:0 10px 28px rgba(0,0,0,.34)!important;background:var(--acgse-surface,#fff)}.acggc-namecard-preview>div:last-child{position:relative;margin-top:-5px;padding:13px 14px 12px 94px;border-radius:0 0 18px 18px;background:color-mix(in srgb,var(--acgse-surface,var(--glass)) 88%,transparent);backdrop-filter:blur(8px);border:1px solid var(--acgse-border,var(--line));border-top:0;min-height:78px}.acggc-namecard-preview>div:last-child h2,.acggc-namecard-preview>div:last-child p{color:var(--acgse-text,var(--ink));text-shadow:none}
@media(max-width:900px){.acgse-cosmetic-studio-grid,.acgse-appearance-detail-grid{grid-template-columns:1fr}.acggc-cosmetics-studio .acggc-cosmetic-grid{grid-template-columns:repeat(auto-fill,minmax(120px,1fr))}}@media(max-width:520px){.acggc-cosmetics-studio .acggc-cosmetic-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.acggc-namecard-preview>div:last-child{padding-left:14px;padding-top:44px}.acggc-namecard-preview .acggc-namecard-avatar{width:64px!important;height:64px!important;bottom:-34px!important}.acgse-appearance-detail-copy dl>div{grid-template-columns:1fr}}

/* Round18 Batch A: unified LordNamecardCard + Friend City page states. */
.acgse-lord-namecard-host{margin:0 0 16px}.acgse-lord-namecard-card{position:relative;display:grid;grid-template-columns:minmax(0,38%) minmax(0,62%);width:100%;aspect-ratio:3/1;min-height:180px;overflow:hidden;border:1px solid var(--acgse-border,var(--line));border-radius:20px;background:var(--acgse-surface,var(--glass));box-shadow:0 14px 36px rgba(24,28,48,.12)}
.acgse-lord-namecard-town,.acgse-lord-namecard-face{position:relative;min-width:0;overflow:hidden}.acgse-lord-namecard-town-bg,.acgse-lord-namecard-bg{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center}.acgse-lord-namecard-town:after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(8,12,24,.03) 35%,rgba(8,12,24,.62) 100%);pointer-events:none}.acgse-lord-namecard-face{border-left:1px solid rgba(255,255,255,.22)}
.acgse-lord-namecard-scrim{position:absolute;z-index:1;inset:0;background:linear-gradient(90deg,rgba(12,15,28,.72) 0%,rgba(12,15,28,.48) 48%,rgba(12,15,28,.12) 100%);pointer-events:none}.acgse-lord-avatar-badge{position:absolute;z-index:2;left:14px;bottom:14px;display:flex;align-items:flex-end;gap:8px}.acgse-lord-avatar-badge img{width:74px;height:74px;aspect-ratio:1/1;object-fit:cover;object-position:center top;border-radius:18px;border:3px solid var(--acgse-surface,#fff);outline:1px solid rgba(0,0,0,.28);background:var(--acgse-surface,#fff);box-shadow:0 10px 28px rgba(0,0,0,.34)}.acgse-lord-avatar-badge span,.acgse-lord-town-label{padding:4px 7px;border-radius:999px;background:rgba(10,14,27,.72);color:#fff;font-size:10px;backdrop-filter:blur(6px)}.acgse-lord-town-label{position:absolute;z-index:2;top:12px;left:12px;max-width:calc(100% - 24px);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.acgse-lord-namecard-copy{position:relative;z-index:2;height:100%;display:grid;grid-template-columns:minmax(0,1fr) auto;grid-template-rows:auto auto auto auto;column-gap:12px;align-content:center;padding:18px;color:#fff}.acgse-lord-namecard-copy>.acggc-kicker,.acgse-lord-namecard-copy>h2,.acgse-lord-namecard-copy>p{grid-column:1}.acgse-lord-namecard-copy>.acggc-kicker{color:rgba(255,255,255,.72)}.acgse-lord-namecard-copy h2{margin:4px 0;font-size:clamp(17px,2vw,24px);line-height:1.1;color:#fff;text-shadow:0 2px 10px rgba(0,0,0,.45)}.acgse-lord-namecard-copy p{margin:3px 0 8px;max-width:42ch;color:rgba(255,255,255,.9);font-size:12px;text-shadow:0 2px 10px rgba(0,0,0,.45);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.acgse-lord-namecard-supports{grid-column:2;grid-row:1/5;display:flex;align-items:center;gap:7px}.acgse-lord-namecard-support{display:grid;width:48px;gap:3px;text-align:center;color:#fff}.acgse-lord-namecard-support img,.acgse-lord-namecard-support.is-empty{width:48px;aspect-ratio:2/3;border-radius:9px;border:1px solid rgba(255,255,255,.54);background:rgba(255,255,255,.12);box-shadow:0 6px 18px rgba(0,0,0,.2)}.acgse-lord-namecard-support img{display:block;object-fit:cover;object-position:center top}.acgse-lord-namecard-support small{font-size:8px;line-height:1.1;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:rgba(255,255,255,.9)}.acgse-lord-namecard-support.is-empty{display:grid;place-content:center;color:rgba(255,255,255,.72)}.acgse-lord-namecard-support.is-empty i{font-style:normal;font-weight:800}.acgse-lord-namecard-actions{grid-column:1;display:flex;gap:7px;align-items:center;flex-wrap:wrap}.acgse-lord-namecard-actions .acggc-btn{margin:0!important}.acgse-lord-namecard-self{display:inline-flex;padding:5px 8px;border-radius:999px;background:rgba(255,255,255,.16);font-size:10px;font-weight:700;color:#fff}
.acggc-friend-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,520px),1fr));gap:14px}.acggc-friend-grid>.acgse-lord-namecard-card{aspect-ratio:3/1}.acgse-friend-city-error-actions{display:flex;gap:9px;flex-wrap:wrap;margin-top:12px}.acgse-friend-city-error-actions button{font:inherit;cursor:pointer}
@media(max-width:760px){.acgse-lord-namecard-card{grid-template-columns:36% 64%;min-height:150px}.acgse-lord-avatar-badge{left:9px;bottom:9px}.acgse-lord-avatar-badge img{width:56px;height:56px;border-radius:14px}.acgse-lord-avatar-badge span{display:none}.acgse-lord-namecard-copy{padding:12px;column-gap:7px}.acgse-lord-namecard-copy p{display:none}.acgse-lord-namecard-supports{gap:4px}.acgse-lord-namecard-support,.acgse-lord-namecard-support img,.acgse-lord-namecard-support.is-empty{width:38px}.acgse-lord-namecard-support small{display:none}.acgse-lord-namecard-actions .acggc-btn{padding:5px 7px!important;font-size:10px!important}}
@media(max-width:520px){.acgse-lord-namecard-card{aspect-ratio:auto;min-height:156px;grid-template-columns:34% 66%;border-radius:16px}.acgse-lord-namecard-support,.acgse-lord-namecard-support img,.acgse-lord-namecard-support.is-empty{width:31px}.acgse-lord-namecard-copy h2{font-size:15px}.acgse-lord-namecard-actions{gap:4px}.acgse-lord-namecard-actions .acggc-btn{flex:0 1 auto}}

/* Round18 Batch B: gift claims canonical placement */
.acgse-shop-gift-claim-hint{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:16px 0;padding:14px 16px;border:1px solid color-mix(in srgb,currentColor 16%,transparent);border-radius:14px;background:color-mix(in srgb,currentColor 4%,transparent)}
.acgse-shop-gift-claim-hint[hidden]{display:none!important}.acgse-shop-gift-claim-hint>div{display:grid;gap:3px}.acgse-shop-gift-claim-hint span{font-size:.9em;opacity:.72}.acgse-inventory-gift-claims{margin-top:24px;padding-top:20px;border-top:1px solid color-mix(in srgb,currentColor 14%,transparent)}
@media(max-width:640px){.acgse-shop-gift-claim-hint{align-items:stretch;flex-direction:column}.acgse-shop-gift-claim-hint .acggc-btn{width:100%}}

/* Round18 Batch C: compact equal-height cosmetics + true appearance dialog. */
.acgse-cosmetic-studio-grid{grid-template-columns:minmax(0,1fr)!important}
.acggc-cosmetics-studio .acggc-cosmetic-grid,.acggc-cosmetics-studio .acggc-cosmetic-groups{min-width:0}
.acggc-cosmetics-studio .acggc-cosmetic-groups{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px;align-items:stretch}
.acggc-cosmetics-studio .acgse-cosmetic-compact{display:flex;min-width:0;height:100%;flex-direction:column;overflow:hidden;border:1px solid var(--acgse-border,var(--line));border-radius:15px;background:var(--acgse-surface-soft,var(--glass))}
.acggc-cosmetics-studio .acgse-cosmetic-detail-hit{display:flex;min-width:0;flex:1 1 auto;flex-direction:column;padding:0;border:0;background:transparent;color:inherit;text-align:left;cursor:pointer}
.acggc-cosmetics-studio .acggc-cosmetic-art{display:block;width:100%;height:auto!important;aspect-ratio:2/3!important;overflow:hidden;background:color-mix(in srgb,var(--acgse-surface-soft,var(--glass)) 88%,#7f7aa8 12%)}.acggc-cosmetics-studio .acggc-cosmetic-card.type-namecard .acggc-cosmetic-art{aspect-ratio:3/1!important}.acggc-cosmetics-studio .acggc-cosmetic-card.type-town .acggc-cosmetic-art{aspect-ratio:8/5!important}
.acggc-cosmetics-studio .acggc-cosmetic-art img,.acggc-cosmetics-studio .acggc-cosmetic-card.type-namecard .acggc-cosmetic-art img,.acggc-cosmetics-studio .acggc-cosmetic-card.type-town .acggc-cosmetic-art img{display:block;width:100%!important;height:100%!important;object-fit:cover!important;object-position:center top!important}
.acggc-cosmetics-studio .acggc-cosmetic-copy{display:grid;gap:5px;min-height:92px;padding:10px 11px}.acggc-cosmetics-studio .acggc-cosmetic-copy h4{display:-webkit-box;overflow:hidden;margin:0;font-size:13px;line-height:1.35;-webkit-box-orient:vertical;-webkit-line-clamp:2}.acggc-cosmetics-studio .acggc-cosmetic-copy .acggc-kicker{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:9px}
.acgse-cosmetic-badges{display:flex;align-items:center;justify-content:space-between;gap:6px;margin-top:auto}.acgse-cosmetic-badges span,.acgse-cosmetic-badges b{display:inline-flex;align-items:center;min-height:22px;padding:3px 7px;border:1px solid var(--acgse-border,var(--line));border-radius:999px;font-size:10px;line-height:1}.acgse-cosmetic-badges b{white-space:nowrap}
.acgse-cosmetic-card-actions{display:flex;padding:0 10px 10px}.acgse-cosmetic-card-actions .acggc-btn{width:100%;margin:0!important;padding:6px 8px!important;font-size:11px}
.acgse-appearance-dialog{width:min(92vw,820px);max-width:820px;max-height:84vh;margin:auto;padding:0;border:0;border-radius:22px;background:var(--acgse-surface,var(--glass));color:var(--acgse-text,var(--ink));box-shadow:0 24px 80px rgba(0,0,0,.34);overflow:auto}.acgse-appearance-dialog::backdrop{background:rgba(9,10,20,.58);backdrop-filter:blur(5px)}.acgse-appearance-dialog-shell{position:relative;padding:20px}.acgse-appearance-dialog-close{position:sticky;z-index:5;top:0;float:right;display:grid;place-items:center;width:38px;height:38px;margin:0 0 -38px auto;border:1px solid var(--acgse-border,var(--line));border-radius:50%;background:color-mix(in srgb,var(--acgse-surface,var(--glass)) 92%,transparent);color:inherit;font:700 25px/1 sans-serif;cursor:pointer;box-shadow:0 6px 20px rgba(0,0,0,.16)}
.acgse-appearance-dialog .acgse-appearance-detail-card{display:grid;grid-template-columns:minmax(0,1.12fr) minmax(260px,.88fr);gap:20px;align-items:start}.acgse-appearance-dialog .acgse-appearance-detail-art{display:grid;place-items:center;overflow:hidden;min-height:0;aspect-ratio:var(--acgse-detail-ratio,2/3);border:1px solid var(--acgse-border,var(--line));border-radius:18px;background:color-mix(in srgb,var(--acgse-surface-soft,var(--glass)) 90%,#7f7aa8 10%)}.acgse-appearance-dialog .acgse-appearance-detail-art img{display:block;width:100%;height:100%;max-height:52vh;object-fit:cover;object-position:center top}.acgse-appearance-dialog .acgse-appearance-detail-card.type-namecard .acgse-appearance-detail-art{aspect-ratio:3/1}.acgse-appearance-dialog .acgse-appearance-detail-card.type-town .acgse-appearance-detail-art{aspect-ratio:8/5}.acgse-appearance-dialog .acgse-appearance-detail-copy{min-width:0;padding:3px 4px 4px}.acgse-appearance-dialog .acgse-appearance-detail-copy h2{margin:.3rem 40px .65rem 0}.acgse-appearance-dialog .acgse-appearance-detail-copy>p{line-height:1.6}.acgse-appearance-dialog .acgse-appearance-detail-copy dl{display:grid;gap:0;margin:14px 0}.acgse-appearance-dialog .acgse-appearance-detail-copy dl>div{display:grid;grid-template-columns:76px minmax(0,1fr);gap:10px;padding:8px 0;border-bottom:1px solid var(--acgse-border,var(--line))}.acgse-appearance-dialog .acgse-appearance-detail-copy dt{color:var(--acgse-text-muted,var(--muted));font-size:12px}.acgse-appearance-dialog .acgse-appearance-detail-copy dd{min-width:0;margin:0;font-weight:700}.acgse-appearance-dialog .acgse-appearance-detail-actions{display:grid;grid-template-columns:auto minmax(110px,1fr) auto;gap:8px;align-items:center;margin-top:16px}.acgse-legacy-profile-note{padding:10px 12px;border:1px dashed var(--acgse-border,var(--line));border-radius:12px;background:color-mix(in srgb,var(--acgse-surface-soft,var(--glass)) 86%,#d8b365 14%);font-size:12px}
@media(max-width:1200px){.acggc-cosmetics-studio .acggc-cosmetic-groups{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:900px){.acggc-cosmetics-studio .acggc-cosmetic-groups{grid-template-columns:repeat(3,minmax(0,1fr))}.acgse-appearance-dialog .acgse-appearance-detail-card{grid-template-columns:1fr}.acgse-appearance-dialog .acgse-appearance-detail-art img{max-height:46vh}}
@media(max-width:620px){.acggc-cosmetics-studio .acggc-cosmetic-groups{grid-template-columns:repeat(2,minmax(0,1fr))}.acgse-appearance-dialog{width:min(94vw,820px);max-height:88vh}.acgse-appearance-dialog-shell{padding:14px}.acgse-appearance-dialog .acgse-appearance-detail-actions{grid-template-columns:1fr 1fr}.acgse-appearance-dialog .acgse-appearance-detail-actions .acggc-btn-primary,.acgse-appearance-dialog .acgse-appearance-detail-actions .acggc-unlock-action{grid-column:1/-1;grid-row:1}.acgse-appearance-dialog .acgse-appearance-detail-copy dl>div{grid-template-columns:1fr;gap:3px}}

/* Round19 Social V2: full 6:2 namecard background + independent 8:5 town viewport. */
.acgse-lord-namecard-card.is-v2{position:relative;display:block;width:100%;aspect-ratio:3/1;min-height:0;overflow:hidden;border:1px solid var(--acgse-border,var(--line));border-radius:22px;background:#17192b;box-shadow:0 16px 42px rgba(24,28,48,.15);isolation:isolate}
.acgse-lord-namecard-card.is-v2>.acgse-lord-namecard-skin{position:absolute;z-index:-3;inset:0;width:100%;height:100%;object-fit:cover;object-position:center}
.acgse-lord-namecard-v2-scrim{position:absolute;z-index:-2;inset:0;background:linear-gradient(90deg,rgba(10,12,28,.12) 0%,rgba(10,12,28,.20) 36%,rgba(10,12,28,.64) 100%);pointer-events:none}
.acgse-lord-namecard-v2-layout{height:100%;display:grid;grid-template-columns:minmax(0,37%) minmax(0,63%);gap:0;padding:12px}
.acgse-lord-town-pane{display:flex;flex-direction:column;justify-content:center;min-width:0}
.acgse-lord-town-media{position:relative;width:100%;aspect-ratio:8/5;overflow:hidden;border:1px solid rgba(255,255,255,.3);border-radius:17px;background:rgba(14,17,38,.4);box-shadow:0 10px 24px rgba(0,0,0,.22)}
.acgse-lord-town-media>img{display:block;width:100%;height:100%;object-fit:cover;object-position:center}.acgse-lord-town-media:after{content:"";position:absolute;inset:45% 0 0;background:linear-gradient(180deg,transparent,rgba(7,10,25,.68));pointer-events:none}
.acgse-lord-town-media>small{position:absolute;z-index:2;left:9px;top:9px;max-width:calc(100% - 18px);overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding:4px 7px;border-radius:999px;background:rgba(10,14,27,.62);color:#fff;font-size:9px;backdrop-filter:blur(6px)}
.acgse-lord-v2-profile{position:relative;z-index:3;display:flex;align-items:center;gap:9px;margin:-22px 8px 0;padding:7px 9px;border:1px solid rgba(255,255,255,.2);border-radius:15px;background:rgba(11,13,31,.62);color:#fff;backdrop-filter:blur(12px);box-shadow:0 8px 22px rgba(0,0,0,.2)}
.acgse-lord-v2-profile>img{width:52px;height:52px;flex:0 0 auto;border-radius:13px;object-fit:cover;object-position:center top;border:2px solid rgba(255,255,255,.72);background:rgba(255,255,255,.9)}
.acgse-lord-v2-profile>div{min-width:0;display:flex;flex-wrap:wrap;align-items:center;gap:3px 7px}.acgse-lord-v2-profile b{max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px}.acgse-lord-v2-profile span{font-size:9px;color:rgba(255,255,255,.76)}
.acgse-lord-equipped-title{display:inline-flex!important;max-width:100%;padding:2px 6px;border-radius:999px;background:rgba(255,255,255,.12);color:#fff!important;font-size:8px!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.acgse-lord-equipped-title.is-image{padding:0;background:transparent}.acgse-lord-equipped-title img{display:block;max-width:92px;max-height:18px;object-fit:contain}
.acgse-lord-v2-info{position:relative;z-index:2;isolation:isolate;min-width:0;display:grid;grid-template-columns:minmax(0,1fr) auto;grid-template-rows:auto auto auto auto;column-gap:12px;padding:9px 10px 5px 19px;color:#fff;align-content:center}.acgse-lord-v2-info>.acggc-kicker,.acgse-lord-v2-info>h2,.acgse-lord-v2-info>h2,.acgse-lord-v2-info>p{grid-column:1}.acgse-lord-v2-info>.acggc-kicker{color:rgba(255,255,255,.68)}.acgse-lord-v2-info h2,.acgse-lord-v2-info h2{margin:3px 0;font-size:clamp(16px,1.8vw,23px);line-height:1.05;color:#fff;text-shadow:0 2px 10px rgba(0,0,0,.45)}.acgse-lord-v2-info>p{display:block;width:auto;min-height:0;margin:3px 0 7px;max-width:42ch;overflow:visible;text-overflow:clip;white-space:normal;color:rgba(255,255,255,.86);font-size:11px;line-height:1.35;text-shadow:0 2px 10px rgba(0,0,0,.45)}
.acgse-lord-namecard-card.is-v2 .acgse-lord-namecard-supports{grid-column:2;grid-row:1/5;display:flex;align-items:center;justify-content:flex-end;gap:6px}.acgse-lord-namecard-card.is-v2 .acgse-lord-namecard-support{width:46px}.acgse-lord-namecard-card.is-v2 .acgse-lord-namecard-support img,.acgse-lord-namecard-card.is-v2 .acgse-lord-namecard-support.is-empty{width:46px;aspect-ratio:2/3}
.acgse-lord-namecard-card.is-v2 .acgse-lord-namecard-actions{grid-column:1;display:flex;align-items:center;gap:6px;flex-wrap:wrap;margin-top:auto}.acgse-friend-overflow{position:relative}.acgse-friend-overflow summary{list-style:none;display:grid;place-items:center;min-width:31px;height:31px;border:1px solid rgba(255,255,255,.22);border-radius:999px;background:rgba(9,12,30,.42);color:#fff;cursor:pointer}.acgse-friend-overflow summary::-webkit-details-marker{display:none}.acgse-friend-overflow>div{position:absolute;z-index:10;right:0;top:36px;min-width:126px;padding:7px;border:1px solid var(--acgse-border,var(--line));border-radius:12px;background:var(--acgse-surface,#fff);box-shadow:0 12px 30px rgba(0,0,0,.2)}
.acggc-friend-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.acggc-friend-grid>.acgse-lord-namecard-card.is-v2{width:100%}

/* Social dialogs and support overview. */
.acgse-social-dialog{width:min(92vw,780px);max-height:86vh;padding:0;border:1px solid var(--acgse-border,var(--line));border-radius:22px;background:var(--acgse-surface,#fff);color:var(--acgse-text,var(--ink));box-shadow:0 26px 70px rgba(0,0,0,.28)}.acgse-social-dialog::backdrop{background:rgba(10,12,25,.46);backdrop-filter:blur(4px)}.acgse-social-dialog-shell{padding:18px}.acgse-social-dialog-shell>header{display:flex;align-items:start;justify-content:space-between;gap:12px}.acgse-social-dialog-shell h2{margin:3px 0 0}.acgse-social-dialog-shell>footer{display:flex;justify-content:flex-end;margin-top:14px}.acgse-dialog-close{appearance:none;border:1px solid var(--acgse-border,var(--line));width:34px;height:34px;border-radius:999px;background:var(--acgse-surface-soft,var(--glass));color:inherit;font-size:22px;line-height:1;cursor:pointer}.acgse-privacy-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-top:12px}.acgse-privacy-options label{display:flex;gap:7px;align-items:center;padding:9px 10px;border:1px solid var(--acgse-border,var(--line));border-radius:12px;background:var(--acgse-surface-soft,var(--glass))}
.acgse-my-support-overview{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;margin-bottom:10px}.acgse-my-support-slot{appearance:none;display:grid;grid-template-columns:54px minmax(0,1fr);gap:9px;align-items:center;min-width:0;padding:8px;border:1px solid var(--acgse-border,var(--line));border-radius:14px;background:var(--acgse-surface-soft,var(--glass));color:var(--acgse-text,var(--ink));text-align:left;cursor:pointer}.acgse-my-support-slot img,.acgse-my-support-slot>i{width:54px;aspect-ratio:2/3;border-radius:10px;object-fit:cover;object-position:center top;background:var(--acgse-surface,var(--glass));border:1px solid var(--acgse-border,var(--line))}.acgse-my-support-slot>i{display:grid;place-content:center;font-style:normal;font-weight:800;color:var(--acgse-text-muted,var(--muted))}.acgse-my-support-slot span{min-width:0}.acgse-my-support-slot b,.acgse-my-support-slot small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.acgse-my-support-slot small{margin-top:3px;color:var(--acgse-text-muted,var(--muted));font-size:10px}
@media(max-width:1199px){.acggc-friend-grid{grid-template-columns:1fr}}
@media(max-width:760px){.acgse-lord-namecard-card.is-v2{aspect-ratio:auto;min-height:310px}.acgse-lord-namecard-v2-layout{grid-template-columns:42% 58%;padding:9px}.acgse-lord-v2-info{padding-left:11px}.acgse-lord-v2-profile{margin-top:-16px}.acgse-lord-namecard-card.is-v2 .acgse-lord-namecard-support,.acgse-lord-namecard-card.is-v2 .acgse-lord-namecard-support img,.acgse-lord-namecard-card.is-v2 .acgse-lord-namecard-support.is-empty{width:38px}.acgse-my-support-overview{grid-template-columns:1fr}}
@media(max-width:520px){.acgse-lord-namecard-card.is-v2{min-height:390px}.acgse-lord-namecard-v2-layout{grid-template-columns:1fr;grid-template-rows:auto 1fr}.acgse-lord-town-pane{max-width:62%;padding-bottom:4px}.acgse-lord-v2-info{padding:7px 4px;grid-template-columns:minmax(0,1fr) auto}.acgse-lord-namecard-card.is-v2 .acgse-lord-namecard-supports{align-items:end}.acgse-privacy-options{grid-template-columns:1fr}}

/* Round19 Batch C: formation-cost / barracks-slot UX. */
.acgse-formation-cost{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin:10px 0 12px;padding:9px 11px;border:1px solid var(--line);border-radius:13px;background:color-mix(in srgb,var(--glass) 94%,#7aa7ff 6%)}
.acgse-formation-cost strong{font-size:13px}.acgse-formation-cost span{padding:3px 7px;border-radius:999px;background:color-mix(in srgb,var(--glass) 82%,#9b7ee8 18%);font-size:11px}.acgse-formation-cost small{margin-left:auto;color:var(--muted)}
.acgse-formation-cost.is-over{border-color:color-mix(in srgb,#d94d6a 65%,var(--line));background:color-mix(in srgb,var(--glass) 88%,#d94d6a 12%)}.acgse-formation-cost.is-over em{font-style:normal;font-weight:800;color:#d94d6a}
.acggc-team-preset.is-invalid{border-color:color-mix(in srgb,#d94d6a 58%,var(--line));box-shadow:inset 0 0 0 1px color-mix(in srgb,#d94d6a 20%,transparent)!important}
.acggc-team-slots label.is-locked{opacity:.48}.acggc-team-slots label.is-locked span::after{content:" · 未解锁";font-size:10px;color:var(--muted)}.acggc-team-slots label.is-locked select{cursor:not-allowed}
@media(max-width:760px){.acgse-formation-cost{align-items:flex-start}.acgse-formation-cost small{width:100%;margin-left:0}}

/* Round19 Batch D: compact title gallery */
.acggc-cosmetics-studio .acggc-title-card-text{min-width:0}.acgse-title-art-wide{aspect-ratio:6/1!important;background:transparent!important}.acgse-title-art-wide img{object-fit:contain!important;object-position:center!important}.acgse-title-type-badge{display:inline-flex;width:max-content;max-width:100%;padding:2px 7px;border-radius:999px;border:1px solid var(--acgse-border,var(--line));font-size:9px;font-weight:800;color:var(--acgse-text-muted,var(--muted))}@media(max-width:1180px){.acggc-cosmetics-studio .acggc-title-list{grid-template-columns:repeat(4,minmax(0,1fr))}}@media(max-width:680px){.acggc-cosmetics-studio .acggc-title-list{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* Social dialogs, top-layer friend menu and Sakurairo-safe namecard text. */
.acgse-social-dialog{position:fixed!important;inset:0!important;margin:auto!important;width:min(92vw,880px)!important;max-width:880px!important;max-height:min(88vh,760px)!important;overflow:hidden!important;padding:0!important;overscroll-behavior:contain;color-scheme:light dark}
.acgse-social-dialog[open]{display:block}
.acgse-social-dialog-shell{display:flex;flex-direction:column;max-height:min(88vh,760px);overflow:hidden}
.acgse-social-dialog-shell>header{flex:0 0 auto}.acgse-social-dialog-shell>footer{flex:0 0 auto}
.acgse-my-support-slot img,.acgse-my-support-slot>i{aspect-ratio:2/3;object-fit:cover;object-position:center top}
.acgse-friend-overflow-toggle{appearance:none;display:grid;place-items:center;min-width:31px;height:31px;padding:0;border:1px solid var(--acgse-namecard-border,rgba(255,255,255,.25));border-radius:999px;background:var(--acgse-namecard-action-bg,rgba(9,12,30,.48));color:var(--acgse-namecard-ink,#fff);cursor:pointer}.acgse-friend-overflow-menu{min-width:132px;margin:0;padding:8px;border:1px solid var(--acgse-border,var(--line));border-radius:13px;background:var(--acgse-surface,#fff);color:var(--acgse-text,var(--ink));box-shadow:0 16px 36px rgba(0,0,0,.24)}.acgse-friend-overflow-menu:popover-open{position:fixed;inset:auto;margin:0}.acgse-friend-overflow-menu.is-fallback-open{display:block!important;position:fixed!important;z-index:99999!important;margin:0!important}.acgse-friend-overflow-menu .acggc-btn{width:100%;justify-content:center}
.acgse-lord-namecard-card.is-v2{--acgse-namecard-ink:#fbfbff;--acgse-namecard-muted:rgba(248,248,255,.82);--acgse-namecard-glass:rgba(12,15,34,.58);--acgse-namecard-border:rgba(255,255,255,.28);--acgse-namecard-action-bg:rgba(10,13,31,.54);border-color:color-mix(in srgb,var(--acgse-border,var(--line)) 70%,var(--theme-skin,#ef82b5) 30%)}
body.dark .acgse-lord-namecard-card.is-v2{--acgse-namecard-glass:rgba(7,9,24,.72);--acgse-namecard-border:rgba(255,255,255,.22);--acgse-namecard-action-bg:rgba(4,6,18,.68)}
.acgse-lord-v2-profile,.acgse-lord-namecard-card.is-v2 .acgse-lord-namecard-actions .acggc-btn{background:var(--acgse-namecard-glass)!important;border-color:var(--acgse-namecard-border)!important;color:var(--acgse-namecard-ink)!important;backdrop-filter:blur(12px)}
.acgse-lord-v2-info::before{content:"";position:absolute;z-index:-1;inset:0;border-radius:16px;background:linear-gradient(90deg,rgba(8,10,26,.10),rgba(8,10,26,.46));pointer-events:none}.acgse-lord-v2-info{color:var(--acgse-namecard-ink)}.acgse-lord-v2-info h2,.acgse-lord-v2-info h2{color:var(--acgse-namecard-ink)!important}.acgse-lord-v2-info>p,.acgse-lord-v2-info>.acggc-kicker,.acgse-lord-v2-profile span{color:var(--acgse-namecard-muted)!important}.acgse-lord-v2-info>h2,.acgse-lord-v2-info>h2,.acgse-lord-v2-info>p,.acgse-lord-v2-info>.acggc-kicker{width:max-content;max-width:100%;padding:2px 6px;border-radius:8px;background:color-mix(in srgb,var(--acgse-namecard-glass) 78%,transparent);backdrop-filter:blur(7px)}
@media(max-width:620px){.acgse-social-dialog{width:min(96vw,880px)!important;max-height:92vh!important}.acgse-social-dialog-shell{max-height:92vh}}

/* Round20 Batch E: formation information hierarchy, guild-war core panel, darknet affordance and title unlock presentation. */
.acggc-team-preset{display:flex;flex-direction:column;gap:6px;min-height:168px}.acggc-team-preset>strong{font-size:14px}.acgse-preset-title{display:flex;align-items:center;justify-content:space-between;gap:6px}.acgse-preset-title em{font-size:9px;font-style:normal;font-weight:800;padding:2px 6px;border-radius:999px;background:color-mix(in srgb,var(--theme-skin,#ef82b5) 16%,transparent);color:var(--theme-skin,#d65b9a)}.acgse-preset-line,.acgse-preset-cost,.acgse-preset-power{display:flex!important;align-items:center;justify-content:space-between;gap:8px;padding:5px 7px!important;border:1px solid var(--line)!important;border-radius:9px!important;background:color-mix(in srgb,var(--glass) 94%,transparent)!important}.acgse-preset-line i,.acgse-preset-cost i,.acgse-preset-power i{font-style:normal;color:var(--muted);font-size:10px}.acgse-preset-line b,.acgse-preset-cost b,.acgse-preset-power b{font-size:11px}.acgse-preset-cost{border-color:color-mix(in srgb,var(--theme-skin,#ef82b5) 36%,var(--line))!important}.acgse-preset-cost small{margin-left:auto;font-size:9px;color:var(--theme-skin,#d65b9a)}
.acgse-quick-rating-row{display:flex!important;align-items:center;gap:5px!important}.acgse-quick-rating-row>span{font-size:10px}.acgse-quick-cost-row{width:max-content;padding:3px 7px!important;border:1px solid color-mix(in srgb,var(--theme-skin,#ef82b5) 44%,var(--line));border-radius:999px;color:var(--theme-skin,#d65b9a)!important;font-weight:900!important}.acgse-rating-badge{display:inline-flex;align-items:center;justify-content:center;min-width:28px;padding:2px 7px;border:2px solid color-mix(in srgb,var(--theme-skin,#ef82b5) 58%,var(--line));border-radius:8px;background:color-mix(in srgb,var(--theme-skin,#ef82b5) 10%,var(--glass));font-weight:900!important;line-height:1.2}.acgse-cost-badge{display:inline-flex;padding:2px 6px;border-radius:999px;border:1px solid color-mix(in srgb,var(--theme-skin,#ef82b5) 42%,var(--line));color:var(--theme-skin,#d65b9a);font-weight:900}
.acggc-formation-preview-heroes,.acggc-formation-preview-soldiers{display:grid;grid-template-columns:repeat(auto-fit,minmax(92px,1fr));gap:9px}.acggc-formation-preview-heroes .acggc-formation-unit,.acggc-formation-preview-soldiers .acggc-formation-unit{display:flex!important;flex-direction:column!important;align-items:stretch!important;gap:0!important;padding:0!important;min-height:0!important;text-align:center;border-radius:14px;overflow:hidden}.acggc-formation-preview-heroes .acggc-formation-unit>img,.acggc-formation-preview-soldiers .acggc-formation-unit>img{display:block;width:100%!important;height:auto!important;aspect-ratio:1/1!important;object-fit:cover!important;object-position:center top!important;border-radius:0!important}.acggc-formation-preview-heroes .acggc-formation-unit>div,.acggc-formation-preview-soldiers .acggc-formation-unit>div{padding:8px!important;display:grid;gap:4px;text-align:center}.acggc-formation-unit>div>small{display:flex;justify-content:center;gap:4px;align-items:center}.acgse-formation-empty-art{display:grid;place-items:center;width:100%;aspect-ratio:1/1;background:color-mix(in srgb,var(--glass) 90%,var(--theme-skin,#ef82b5) 10%);font-size:24px;color:var(--muted)}
.acggc-team-support-slot{align-items:center}.acgse-team-support-card{display:grid;grid-template-columns:58px minmax(0,1fr);align-items:center;gap:9px;min-width:0}.acgse-team-support-card>img,.acgse-team-support-placeholder{width:58px;aspect-ratio:1/1;object-fit:cover;object-position:center top;border:1px solid var(--line);border-radius:12px;background:var(--glass)}.acgse-team-support-placeholder{display:grid;place-items:center;font-size:20px;color:var(--muted)}.acgse-team-support-card>span{display:grid;gap:2px}.acgse-team-support-card small,.acgse-team-support-card em{font-size:10px;color:var(--muted);font-style:normal}
.acgse-guild-war-zone{display:flex!important;flex-direction:column!important;overflow:hidden}.acgse-guild-war-zone>img{width:100%;aspect-ratio:4/3;object-fit:cover}.acgse-guild-war-zone-body{display:grid;gap:7px;padding:12px}.acgse-city-core-panel{display:grid;gap:6px;margin-top:4px;padding:10px 11px;border:1px solid color-mix(in srgb,var(--theme-skin,#ef82b5) 28%,var(--line));border-radius:12px;background:color-mix(in srgb,var(--glass) 92%,var(--theme-skin,#ef82b5) 8%)}.acgse-city-core-panel span{font-size:10px;color:var(--muted);font-weight:800}.acgse-city-core-panel strong{font-size:13px}.acgse-guild-war-zone>footer{margin-top:auto;padding:0 12px 12px}.acgse-guild-war-zone>footer .acggc-btn{width:100%;margin:0}
.acgse-darknet-credit-help{display:block;margin-top:8px;max-width:430px}.acgse-darknet-credit-help>summary{list-style:none;display:flex;align-items:center;justify-content:space-between;gap:10px;padding:8px 11px;border:1px solid color-mix(in srgb,var(--theme-skin,#ef82b5) 40%,var(--line));border-radius:11px;background:color-mix(in srgb,var(--glass) 90%,var(--theme-skin,#ef82b5) 10%);font-size:11px;font-weight:800;cursor:pointer}.acgse-darknet-credit-help>summary::-webkit-details-marker{display:none}.acgse-darknet-credit-help>summary::after{content:"▼";font-size:9px;transition:transform .16s ease}.acgse-darknet-credit-help[open]>summary::after{transform:rotate(180deg)}.acgse-darknet-credit-help>small{display:block;margin-top:6px;padding:9px 11px;border:1px solid var(--line);border-radius:11px;background:var(--glass);line-height:1.65}.acgse-darknet-credit-help>summary:hover,.acgse-darknet-credit-help>summary:focus-visible{outline:none;box-shadow:0 0 0 2px color-mix(in srgb,var(--theme-skin,#ef82b5) 18%,transparent)}
.acggc-cosmetics-studio .acggc-title-card-text.has-image{display:flex!important;flex-direction:column!important;align-items:stretch!important;justify-content:flex-start!important;padding:0!important;gap:0!important}.acggc-title-card-text.has-image .acgse-title-art-wide{width:100%;margin:0}.acggc-title-card-text.has-image .acggc-title-copy{padding:9px 10px}.acggc-title-card-text.has-image>.acggc-btn,.acggc-title-card-text.has-image>.acggc-unlock-action{margin:0 10px 10px!important;width:calc(100% - 20px)!important}.acgse-title-unlock-badge{display:inline-flex;width:max-content;max-width:100%;padding:4px 7px;border:1px solid color-mix(in srgb,var(--theme-skin,#ef82b5) 38%,var(--line));border-radius:9px;background:color-mix(in srgb,var(--glass) 92%,var(--theme-skin,#ef82b5) 8%);font-size:9px;font-weight:800;color:var(--ink);white-space:normal}.acggc-title-card-text .acggc-unlock-action small,.acggc-title-card-text .acggc-unlock-hint{font-size:9px;line-height:1.45}
@media(max-width:700px){.acggc-team-presets{grid-template-columns:1fr 1fr}.acggc-formation-preview-heroes,.acggc-formation-preview-soldiers{grid-template-columns:repeat(3,minmax(0,1fr))}.acgse-guild-war-zone>footer .acggc-btn{width:100%}}
@media(max-width:480px){.acggc-team-presets{grid-template-columns:1fr}.acggc-formation-preview-heroes,.acggc-formation-preview-soldiers{grid-template-columns:repeat(2,minmax(0,1fr))}.acgse-team-support-card{grid-template-columns:48px minmax(0,1fr)}.acgse-team-support-card>img,.acgse-team-support-placeholder{width:48px}}
@media(prefers-reduced-motion:reduce){.acgse-darknet-credit-help>summary::after{transition:none}}

/* Round21 A: canonical title unlock block + rarity-first quick selection. */
.acggc-cosmetics-studio .acgse-title-unlock-badge{display:grid;width:100%;gap:2px;padding:7px 9px;border-radius:10px;line-height:1.35;background:color-mix(in srgb,var(--glass) 88%,var(--theme-skin,#ef82b5) 12%);box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--theme-skin,#ef82b5) 14%,transparent)}
.acggc-cosmetics-studio .acgse-title-unlock-action{display:flex;padding:0 10px 10px;margin:0!important;width:100%!important}
.acggc-cosmetics-studio .acgse-title-unlock-action .acggc-btn{width:100%;margin:0!important}
.acgse-quick-pick-card .acgse-rating-badge{letter-spacing:.04em;min-width:34px;border-width:2px;box-shadow:0 3px 10px color-mix(in srgb,var(--theme-skin,#ef82b5) 12%,transparent)}
/* Round21 B: public trait / intrinsic-effect facts in Archive. */
.acgse-archive-trait-chips{display:flex;flex-wrap:wrap;gap:7px;margin-top:9px}.acgse-archive-trait-chips>span{display:inline-flex;align-items:center;min-height:28px;padding:4px 9px;border:1px solid rgba(86,98,187,.26);border-radius:999px;background:rgba(255,255,255,.7);font-size:12px;line-height:1.35}.dark .acgse-archive-trait-chips>span,body.dark .acgse-archive-trait-chips>span{background:rgba(20,24,45,.62);border-color:rgba(165,176,255,.28)}

/* Round21 D — bounded territory facility production / trade workspace. */
.acgse-facility-hub{display:grid;gap:16px;margin-top:16px}.acgse-facility-economy-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.acgse-facility-economy-summary>article,.acgse-facility-card{border:1px solid color-mix(in srgb,var(--acggc-border,#e7b7c6) 76%,transparent);border-radius:16px;background:color-mix(in srgb,var(--acggc-surface,#fff) 92%,transparent);padding:14px;box-shadow:0 8px 24px rgba(37,28,46,.06)}.acgse-facility-economy-summary article{display:grid;gap:5px}.acgse-facility-economy-summary strong{font-size:1.15rem}.acgse-facility-inline{display:flex;gap:8px;align-items:center}.acgse-facility-inline input{width:86px}.acgse-facility-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.acgse-facility-card{display:grid;gap:12px;min-width:0}.acgse-facility-card>header{display:flex;align-items:flex-start;justify-content:space-between;gap:10px}.acgse-facility-card h4{margin:2px 0 0}.acgse-facility-card select{max-width:100%;min-width:0}.acgse-facility-work,.acgse-facility-staff-list{display:grid;gap:8px;padding:10px;border:1px solid color-mix(in srgb,var(--acggc-border,#e7b7c6) 58%,transparent);border-radius:12px;background:color-mix(in srgb,var(--acggc-surface-2,#fff7fa) 86%,transparent)}.acgse-facility-staff{display:grid;grid-template-columns:42px minmax(0,1fr) auto;gap:8px;align-items:center}.acgse-facility-staff>img{width:42px;height:42px;border-radius:10px;object-fit:cover}.acgse-facility-staff>span{display:grid;min-width:0}.acgse-facility-staff small{white-space:normal}.acgse-facility-staff.is-empty{grid-template-columns:minmax(0,1fr) minmax(130px,1fr) auto}.acgse-facility-card.is-empty{align-content:start;min-height:210px;border-style:dashed}@media(max-width:900px){.acgse-facility-economy-summary{grid-template-columns:1fr}.acgse-facility-grid{grid-template-columns:1fr}}@media(max-width:560px){.acgse-facility-staff,.acgse-facility-staff.is-empty{grid-template-columns:1fr}.acgse-facility-staff>img{width:54px;height:54px}.acgse-facility-card>header{align-items:stretch;flex-direction:column}}


/* Round21 Batch E · Detective clue wall */
.acgse-clue-wall{margin:14px 0;padding:16px;border:1px solid var(--acggc-border,rgba(127,127,127,.25));border-radius:18px;background:var(--acggc-surface,rgba(255,255,255,.72));backdrop-filter:blur(10px)}
.acgse-clue-wall>header{display:flex;align-items:flex-end;justify-content:space-between;gap:12px;margin-bottom:12px}.acgse-clue-wall h4{margin:2px 0 0}
.acgse-clue-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px}.acgse-clue-tile{min-height:112px;padding:10px;border:1px dashed var(--acggc-border,rgba(127,127,127,.3));border-radius:14px;display:flex;flex-direction:column;gap:3px;justify-content:center}.acgse-clue-tile.is-owned{border-style:solid}.acgse-clue-tile.is-missing{opacity:.62}.acgse-clue-tile img{width:32px;height:32px;object-fit:cover;border-radius:8px}.acgse-clue-tile strong{font-size:1.1rem}.acgse-clue-tile small{font-size:.75rem}
.acgse-clue-actions{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin:12px 0}.acgse-clue-actions label{display:flex;align-items:center;gap:6px}.acgse-clue-actions input{width:110px}.acgse-clue-actions select{min-width:160px}
@media(max-width:900px){.acgse-clue-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:560px){.acgse-clue-grid{grid-template-columns:1fr}.acgse-clue-wall>header{align-items:flex-start;flex-direction:column}}

/* Round21 F · Tavern Public Recruitment */
.acgse-recruitment-hub{display:grid;gap:16px;margin-top:16px}.acgse-recruitment-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.acgse-recruitment-summary>article,.acgse-recruitment-slot,.acgse-recruitment-history-list>article{border:1px solid color-mix(in srgb,var(--acggc-border,#e7b7c6) 74%,transparent);background:color-mix(in srgb,var(--acggc-surface,#fff) 92%,transparent);border-radius:16px;padding:14px;box-shadow:0 8px 24px rgba(37,28,46,.06)}.acgse-recruitment-summary>article{display:grid;gap:5px}.acgse-recruitment-summary strong{font-size:1.18rem}.acgse-recruitment-slots{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.acgse-recruitment-slot{display:grid;gap:12px;align-content:start}.acgse-recruitment-slot>header{display:flex;justify-content:space-between;align-items:flex-start;gap:12px}.acgse-recruitment-slot h4{margin:2px 0 0}.acgse-recruitment-slot label{display:grid;gap:5px}.acgse-recruitment-tag-pickers{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.acgse-recruitment-slot.is-locked{opacity:.72;border-style:dashed}.acgse-recruitment-slot.is-ready{outline:2px solid color-mix(in srgb,var(--acggc-accent,#d85f8d) 48%,transparent)}.acgse-recruitment-timer{display:grid;gap:4px;padding:10px;border-radius:12px;background:color-mix(in srgb,var(--acggc-surface-2,#fff7fa) 90%,transparent)}.acgse-recruitment-timer b{font-size:1.12rem}.acgse-recruitment-history{display:grid;gap:10px}.acgse-recruitment-history-list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.acgse-recruitment-history-list>article{display:grid;gap:4px}@media(max-width:900px){.acgse-recruitment-summary,.acgse-recruitment-slots,.acgse-recruitment-history-list{grid-template-columns:1fr}}@media(max-width:620px){.acgse-recruitment-tag-pickers{grid-template-columns:1fr}}

/* Round21 Batch G · unified CollectionWorkbench / formation / social / recovery / home portal. */
.acgse-collection-workbench{display:grid;grid-template-columns:minmax(220px,31%) minmax(0,1fr);gap:18px;align-items:start}
.acgse-workbench-master{position:sticky;top:16px;min-width:0;max-height:72vh;overflow:auto;padding:3px}
.acgse-workbench-quick-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.acgse-workbench-quick{appearance:none;display:flex;flex-direction:column;min-width:0;padding:0;overflow:hidden;border:1px solid var(--line);border-radius:15px;background:var(--glass);color:var(--ink);text-align:left;cursor:pointer;transition:transform .16s ease,border-color .16s ease,box-shadow .16s ease}
.acgse-workbench-quick:hover{transform:translateY(-1px)}.acgse-workbench-quick.is-selected{border-color:color-mix(in srgb,var(--theme-skin,var(--acgse-accent,#ef82b5)) 74%,var(--line));box-shadow:0 0 0 3px color-mix(in srgb,var(--theme-skin,var(--acgse-accent,#ef82b5)) 15%,transparent)}
.acgse-workbench-quick>img{display:block;width:100%;aspect-ratio:2/3;object-fit:cover;object-position:center top;background:var(--glass)}
.acgse-workbench-quick>span{display:grid;gap:3px;padding:9px;min-width:0}.acgse-workbench-quick>span>b{justify-self:start;padding:2px 7px;border:1px solid var(--line);border-radius:999px;font-size:10px}.acgse-workbench-quick strong,.acgse-workbench-quick small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.acgse-workbench-quick strong{font-size:12px}.acgse-workbench-quick small{font-size:10px;color:var(--muted)}
.acgse-workbench-detail-pane{min-width:0}.acgse-workbench-detail{display:grid;gap:16px;padding:18px;border:1px solid var(--line);border-radius:20px;background:var(--glass)}
.acgse-workbench-detail>header{display:grid;grid-template-columns:minmax(150px,210px) minmax(0,1fr);gap:18px;align-items:start}.acgse-workbench-detail>header>img{display:block;width:100%;aspect-ratio:2/3;object-fit:cover;object-position:center top;border-radius:16px;border:1px solid var(--line);background:var(--glass)}.acgse-workbench-detail h2{margin:4px 0 8px}.acgse-workbench-detail p{margin:0 0 10px;color:var(--muted)}
.acgse-fact-chips,.acgse-stat-facts{display:flex;flex-wrap:wrap;gap:7px}.acgse-fact-chip{display:inline-grid;gap:2px;min-width:72px;padding:7px 9px;border:1px solid var(--line);border-radius:11px;background:color-mix(in srgb,var(--glass) 88%,transparent)}.acgse-fact-chip small{font-size:9px;color:var(--muted)}.acgse-fact-chip b{font-size:11px;line-height:1.35}.acgse-stat-facts{padding:12px;border:1px solid color-mix(in srgb,var(--line) 72%,transparent);border-radius:15px}
.acgse-detail-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.acgse-detail-item{display:grid;gap:4px;padding:11px 12px;border:1px solid var(--line);border-radius:13px;background:color-mix(in srgb,var(--glass) 92%,transparent)}.acgse-detail-item small{color:var(--muted);font-size:10px}.acgse-detail-item b{font-size:12px;overflow-wrap:anywhere}.acgse-detail-equipment{display:grid;gap:7px}
.acgse-skill-workbench-shell{display:grid;grid-template-columns:minmax(210px,28%) minmax(0,1fr);gap:18px;align-items:start}.acgse-skill-workbench-shell>aside{position:sticky;top:16px;max-height:72vh;overflow:auto}.acgse-skill-workbench-shell #acggc-skill-character-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.acgse-skill-workbench-shell #acggc-skill-character-grid .acgse-workbench-quick>img{aspect-ratio:2/3}.acgse-skill-selected{padding:14px;border:1px solid var(--line);border-radius:16px;background:var(--glass)}.acgse-skill-book-facts{margin:10px 0 12px}

/* Formation cards use a 2:3 presentation ratio. */
.acgse-formation-heading{display:flex;align-items:end;justify-content:space-between;gap:12px;margin-bottom:10px}.acgse-formation-heading h2{margin:3px 0 1px;font-size:20px}.acgse-power-badge{display:inline-grid;gap:2px;width:max-content;max-width:100%;padding:10px 14px;margin-bottom:12px;border:1px solid var(--line);border-radius:14px;background:var(--glass)}.acgse-power-badge small{color:var(--muted);font-size:10px}.acgse-power-badge strong{font-size:20px;line-height:1.1}.acgse-formation-cost-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin-bottom:14px}.acgse-formation-cost-grid>em{grid-column:1/-1;color:#b44359;font-style:normal;font-weight:700}.acgse-formation-cost-grid.is-over{border-color:#b44359}
.acggc-formation-preview-heroes{grid-template-columns:repeat(3,minmax(88px,1fr))!important}.acggc-formation-preview-soldiers{grid-template-columns:repeat(8,minmax(72px,1fr))!important}
.acggc-formation-preview-heroes .acggc-formation-unit>img,.acggc-formation-preview-soldiers .acggc-formation-unit>img{aspect-ratio:2/3!important}.acgse-formation-empty-art{aspect-ratio:2/3!important}.acggc-formation-preview-heroes .acggc-formation-unit>div,.acggc-formation-preview-soldiers .acggc-formation-unit>div{padding:7px!important}.acggc-formation-preview-soldiers .acggc-formation-unit strong{font-size:10px}.acggc-formation-preview-soldiers .acgse-cost-badge{font-size:8px}

.acgse-lord-namecard-supports.is-self{align-self:end!important;align-items:flex-end!important;justify-self:end!important}.acgse-lord-namecard-supports.is-self .acgse-lord-namecard-support,.acgse-lord-namecard-supports.is-self .acgse-lord-namecard-support img,.acgse-lord-namecard-supports.is-self .acgse-lord-namecard-support.is-empty{width:80px!important}.acgse-lord-v2-info h2{margin:4px 0;color:var(--acgse-namecard-ink)!important;font-size:clamp(20px,2.3vw,28px)}
.acggc-lord-signature-box input{field-sizing:content;width:auto;min-width:12ch;max-width:100%;flex:0 1 auto}
.acggc-recovery-stats{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:10px 0}.acggc-recovery-stats>span{display:grid;gap:3px;padding:9px 10px;border:1px solid var(--line);border-radius:11px;background:var(--glass)}.acggc-recovery-stats b{font-size:12px}.acgse-recovery-countdown{display:block;margin:10px 0;padding:9px 11px;border-left:3px solid var(--theme-skin,var(--acgse-accent,#ef82b5));background:var(--glass)}
.acggc-feature-portals button>b.is-image{display:block;width:100%;height:auto;margin:0 0 8px;overflow:hidden;border-radius:12px}.acggc-feature-portals button>b.is-image img{display:block;width:100%;aspect-ratio:16/7;object-fit:cover}

@media(max-width:1050px){.acggc-formation-preview-soldiers{grid-template-columns:repeat(4,minmax(76px,1fr))!important}.acgse-formation-cost-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:780px){.acgse-collection-workbench,.acgse-skill-workbench-shell{grid-template-columns:1fr}.acgse-workbench-master,.acgse-skill-workbench-shell>aside{position:static;max-height:none}.acgse-workbench-quick-list,.acgse-skill-workbench-shell #acggc-skill-character-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.acgse-workbench-detail>header{grid-template-columns:minmax(120px,32%) minmax(0,1fr)}.acgse-formation-cost-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.acgse-lord-namecard-supports.is-self .acgse-lord-namecard-support,.acgse-lord-namecard-supports.is-self .acgse-lord-namecard-support img,.acgse-lord-namecard-supports.is-self .acgse-lord-namecard-support.is-empty{width:64px!important}}
@media(max-width:520px){.acgse-workbench-quick-list,.acgse-skill-workbench-shell #acggc-skill-character-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.acgse-workbench-detail>header{grid-template-columns:1fr}.acgse-workbench-detail>header>img{max-width:190px;margin:auto}.acgse-detail-grid,.acggc-recovery-stats{grid-template-columns:1fr}.acggc-formation-preview-heroes{grid-template-columns:repeat(3,minmax(70px,1fr))!important}.acggc-formation-preview-soldiers{grid-template-columns:repeat(2,minmax(80px,1fr))!important}.acgse-formation-cost-grid{grid-template-columns:1fr 1fr}}

/* Round22 Batch K — Town workbench / Industry Park / Detective clue wall */
.acgse-town-workbench{margin-top:16px}.acgse-town-quick-list{grid-template-columns:repeat(2,minmax(0,1fr))!important}.acgse-town-quick-card{appearance:none;border:1px solid color-mix(in srgb,var(--acggc-border,#e7b7c6) 70%,transparent);border-radius:14px;background:color-mix(in srgb,var(--acggc-surface,#fff) 94%,transparent);padding:8px;display:grid;gap:5px;text-align:left;cursor:pointer;min-width:0}.acgse-town-quick-card:hover,.acgse-town-quick-card.is-selected{border-color:var(--acggc-accent,#e58aaa);box-shadow:0 8px 22px rgba(37,28,46,.08);transform:translateY(-1px)}.acgse-town-quick-card img{width:100%;aspect-ratio:3/2;object-fit:cover;border-radius:10px}.acgse-town-quick-card b,.acgse-town-quick-card small{min-width:0;overflow:hidden;text-overflow:ellipsis}.acgse-town-quick-card small{white-space:nowrap}.acgse-town-quick-card.is-locked{opacity:.72}.acgse-town-detail>header{grid-template-columns:minmax(180px,36%) minmax(0,1fr)}.acgse-town-detail>header>img{aspect-ratio:8/5;object-fit:cover;width:100%;border-radius:14px}.acgse-facility-staff.is-paused{opacity:.72;border:1px dashed color-mix(in srgb,#d98b49 58%,transparent);border-radius:10px;padding:7px}.acgse-clue-hub{display:grid;gap:14px;margin-top:16px}.acgse-clue-layout{display:grid;grid-template-columns:minmax(0,1.28fr) minmax(300px,.72fr);gap:16px;align-items:start}.acgse-clue-friends{border:1px solid var(--acggc-border,rgba(127,127,127,.25));border-radius:18px;background:var(--acggc-surface,rgba(255,255,255,.72));padding:14px;display:grid;gap:12px;position:sticky;top:16px}.acgse-clue-friends h4,.acgse-detective-card h4{margin:3px 0}.acgse-clue-friend-tools{display:grid;gap:8px}.acgse-clue-friend-tools input[type=search]{width:100%}.acgse-clue-friend-tools label{display:flex;gap:7px;align-items:center;font-size:.88rem}.acgse-clue-friend-card{border:1px solid color-mix(in srgb,var(--acggc-border,#e7b7c6) 68%,transparent);border-radius:14px;padding:11px;display:grid;gap:9px;background:color-mix(in srgb,var(--acggc-surface-2,#fff7fa) 82%,transparent);margin-bottom:10px}.acgse-clue-friend-card>header{display:grid;grid-template-columns:46px minmax(0,1fr);gap:9px;align-items:center}.acgse-clue-friend-card>header img{width:46px;height:46px;object-fit:cover;border-radius:12px}.acgse-clue-friend-card>header div{display:grid;min-width:0}.acgse-clue-friend-card p{margin:4px 0 0;font-size:.88rem}.acgse-clue-gift-buttons{display:flex;gap:6px;flex-wrap:wrap;margin-top:5px}.acgse-detective-card{margin-top:14px;border-top:1px solid var(--acggc-border,rgba(127,127,127,.2));padding-top:14px;display:grid;gap:10px}.acgse-detective-staff-list{display:grid;gap:8px}.acgse-detective-staff{display:grid;grid-template-columns:44px minmax(0,1fr) auto;gap:8px;align-items:center;border:1px solid color-mix(in srgb,var(--acggc-border,#e7b7c6) 60%,transparent);border-radius:12px;padding:8px}.acgse-detective-staff img{width:44px;height:44px;border-radius:10px;object-fit:cover}.acgse-detective-staff span{display:grid;min-width:0}.acgse-detective-staff.is-empty{grid-template-columns:minmax(0,1fr) minmax(150px,1fr) auto}.acgse-clue-friends .acggc-pagination{display:flex;justify-content:space-between;align-items:center;gap:8px}
@media(max-width:980px){.acgse-clue-layout{grid-template-columns:1fr}.acgse-clue-friends{position:static}.acgse-town-quick-list{grid-template-columns:repeat(3,minmax(0,1fr))!important}}
@media(max-width:620px){.acgse-town-quick-list{grid-template-columns:repeat(2,minmax(0,1fr))!important}.acgse-detective-staff,.acgse-detective-staff.is-empty{grid-template-columns:1fr}.acgse-detective-staff img{width:54px;height:54px}}

/* Round22 Batch L · work energy, manufacturing, leisure */
.acgse-manufacturing-panel{margin-top:18px;padding:16px;border:1px solid rgba(127,127,127,.22);border-radius:16px}.acgse-manufacturing-form{display:grid;grid-template-columns:2fr 2fr 1fr auto;gap:10px;align-items:end}.acgse-manufacturing-form label{display:grid;gap:5px}.acgse-manufacturing-recent{display:grid;gap:4px;margin-top:10px;opacity:.82}.acgse-leisure-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:14px}.acgse-leisure-card{padding:16px;border:1px solid rgba(127,127,127,.22);border-radius:16px}.acgse-leisure-slots{display:grid;gap:8px;margin-top:12px}.acgse-leisure-slot{display:grid;grid-template-columns:1fr auto;gap:8px;align-items:center;padding:8px;border:1px dashed rgba(127,127,127,.25);border-radius:10px}.acgse-leisure-slot.is-used small{grid-column:1/2}.acgse-auto-rest-toggle{display:inline-flex;align-items:center;gap:6px}@media(max-width:760px){.acgse-manufacturing-form{grid-template-columns:1fr}.acgse-leisure-slot{grid-template-columns:1fr}}

/* Round22 Batch M: ranking namecards + guild identity cards. */
.acgse-ranking-tabs{display:flex;gap:8px;flex-wrap:wrap;margin:10px 0 16px}.acgse-ranking-tabs button{appearance:none;border:1px solid var(--acgse-border,var(--line));border-radius:999px;padding:8px 14px;background:var(--acgse-surface-soft,var(--glass));color:var(--acgse-text,var(--ink));cursor:pointer;font-weight:700}.acgse-ranking-tabs button.is-active{border-color:var(--theme-skin,#ef82b5);background:color-mix(in srgb,var(--theme-skin,#ef82b5) 16%,var(--acgse-surface,var(--glass)))}.acgse-ranking-card-list,.acgse-guild-card-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.acgse-rank-namecard{position:relative;min-height:156px;overflow:hidden;border:1px solid var(--acgse-border,var(--line));border-radius:20px;padding:16px;display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:12px;align-items:center;background:linear-gradient(115deg,rgba(14,17,38,.88),rgba(42,45,77,.68)),var(--acgse-rank-bg);background-size:cover;background-position:center;color:#fff}.acgse-rank-namecard.is-me{outline:2px solid var(--theme-skin,#ef82b5)}.acgse-rank-number{display:inline-flex;align-items:center;justify-content:center;min-width:42px;height:32px;padding:0 9px;border-radius:999px;background:rgba(8,10,26,.64);color:#fff;font-weight:800}.acgse-rank-avatar{width:62px;height:62px;border-radius:16px;object-fit:cover;object-position:center top;border:2px solid rgba(255,255,255,.72);background:#fff}.acgse-rank-copy h2{margin:0 0 6px;color:#fff}.acgse-rank-copy p,.acgse-rank-copy small{margin:0;color:rgba(255,255,255,.84)}.acgse-rank-supports{display:flex;gap:4px}.acgse-rank-supports img,.acgse-rank-supports span{width:34px;aspect-ratio:2/3;border-radius:8px;object-fit:cover;background:rgba(255,255,255,.12);border:1px solid rgba(255,255,255,.24)}.acgse-guild-identity-card{position:relative;isolation:isolate;min-height:190px;overflow:hidden;border:1px solid var(--acgse-border,var(--line));border-radius:22px;padding:18px;display:grid;grid-template-columns:76px minmax(0,1fr) auto;gap:14px;align-items:center;background-image:var(--acgse-guild-card-bg);background-size:cover;background-position:center;color:#fff}.acgse-guild-card-scrim{position:absolute;z-index:-1;inset:0;background:linear-gradient(100deg,rgba(9,12,30,.9),rgba(9,12,30,.5) 60%,rgba(9,12,30,.72))}.acgse-guild-emblem{width:72px;height:72px;border-radius:18px;object-fit:cover;border:2px solid rgba(255,255,255,.7);background:#fff}.acgse-guild-card-copy h4{margin:4px 0 6px;color:#fff;font-size:20px}.acgse-guild-card-copy p{margin:0 0 8px;color:rgba(255,255,255,.86)}.acgse-guild-card-copy small{display:block;color:rgba(255,255,255,.76)}.acgse-guild-card-actions{display:flex;flex-direction:column;gap:7px;align-items:flex-end}.acgse-guild-role-badge{padding:5px 9px;border-radius:999px;background:rgba(255,255,255,.14);font-weight:800}.acgse-guild-identity-editor,.acgse-guild-permission-summary{margin-top:12px;padding:14px;border:1px solid var(--acgse-border,var(--line));border-radius:16px;background:var(--acgse-surface-soft,var(--glass))}.acgse-guild-identity-editor>label{display:grid;gap:6px}.acgse-guild-identity-fields{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:10px 0}.acgse-guild-identity-fields label{display:grid;gap:5px}.acgse-guild-permission-summary{display:flex;gap:10px;flex-wrap:wrap;align-items:center}@media(max-width:780px){.acgse-ranking-card-list,.acgse-guild-card-grid{grid-template-columns:1fr}.acgse-guild-identity-card{grid-template-columns:60px minmax(0,1fr)}.acgse-guild-emblem{width:56px;height:56px}.acgse-guild-card-actions{grid-column:1/-1;flex-direction:row}.acgse-guild-identity-fields{grid-template-columns:1fr}.acgse-rank-namecard{grid-template-columns:auto minmax(0,1fr)}.acgse-rank-number,.acgse-rank-supports{grid-column:1/-1}}


/* Round23 Batch B · Workbench selection stability / formation density / rarity / character filters. */
.acgse-character-filter-stack{display:grid;gap:9px;margin:15px 0 8px;padding:13px;border:1px solid var(--line);border-radius:16px;background:color-mix(in srgb,var(--glass) 90%,transparent)}
.acgse-character-filter-stack>section{display:grid;grid-template-columns:62px minmax(0,1fr);gap:10px;align-items:center}.acgse-character-filter-stack>section>strong{font-size:11px;color:var(--muted)}
.acgse-filter-chip-row{display:flex;gap:7px;overflow-x:auto;padding:2px 1px 5px;scrollbar-width:thin}.acgse-filter-chip-row button{appearance:none;flex:0 0 auto;min-height:34px;padding:6px 12px;border:1px solid var(--line);border-radius:999px;background:var(--glass);color:var(--ink);font-size:11px;font-weight:800;cursor:pointer}.acgse-filter-chip-row button.is-active{border-color:color-mix(in srgb,var(--theme-skin,var(--acgse-accent,#ef82b5)) 70%,var(--line));box-shadow:0 0 0 2px color-mix(in srgb,var(--theme-skin,var(--acgse-accent,#ef82b5)) 13%,transparent)}
.acgse-preset-pair{display:grid!important;grid-template-columns:1fr 1fr;gap:7px;margin-top:8px}.acgse-preset-pair .acgse-preset-line{display:flex;justify-content:space-between;align-items:center;gap:6px;padding:7px 8px;border:1px solid var(--line);border-radius:10px;background:color-mix(in srgb,var(--glass) 88%,transparent)}
.acgse-quick-pick-card.is-character>img,.acgse-quick-pick-card.is-soldier>img{aspect-ratio:2/3!important;object-position:center top!important}
.acgse-rating-badge{display:inline-flex;align-items:center;justify-content:center;border:2px solid var(--line);border-radius:999px;padding:2px 7px;font-size:10px;line-height:1.2}.acgse-rating-badge.rarity-R{color:#4e789b;border-color:rgba(89,155,200,.6)!important;background:rgba(89,155,200,.09)}.acgse-rating-badge.rarity-SR{color:#7b4fbd;border-color:rgba(149,101,216,.7)!important;background:rgba(149,101,216,.1);box-shadow:0 0 13px rgba(149,101,216,.12)}.acgse-rating-badge.rarity-SSR{color:#8b5a08;border-color:rgba(232,173,69,.86)!important;background:linear-gradient(135deg,rgba(255,243,198,.78),rgba(255,226,194,.58));box-shadow:0 0 17px rgba(232,173,69,.18)}
.acggc-formation-board{grid-template-columns:minmax(0,1fr) minmax(0,1.4fr)!important;align-items:start}.acggc-formation-board>section{min-width:0;padding:14px;border:1px solid var(--line);border-radius:16px;background:color-mix(in srgb,var(--glass) 90%,transparent)}.acggc-formation-board>section.acgse-formation-support{grid-column:1/-1}.acggc-formation-board h2{font-size:14px;margin:2px 0 8px}.acggc-formation-preview-heroes,.acggc-formation-preview-soldiers{display:grid;gap:8px}.acggc-formation-preview-heroes{grid-template-columns:repeat(auto-fit,minmax(68px,86px))!important;justify-content:start}.acggc-formation-preview-soldiers{grid-template-columns:repeat(auto-fit,minmax(62px,78px))!important;justify-content:start}.acggc-formation-preview-heroes .acggc-formation-unit,.acggc-formation-preview-soldiers .acggc-formation-unit{min-width:0}.acggc-formation-preview-heroes .acggc-formation-unit>img,.acggc-formation-preview-soldiers .acggc-formation-unit>img,.acgse-formation-empty-art{width:100%;aspect-ratio:2/3!important;object-fit:cover;object-position:center top}
.acggc-team-summary{display:block!important}.acggc-team-summary .acgse-formation-cost-grid{margin-top:8px}.acggc-team-summary .acggc-team-bonds{margin-top:10px}
.rarity-SSR{--acgse-rarity-color:#c98a20;--acgse-rarity-soft:rgba(232,173,69,.14);--acgse-rarity-line:rgba(232,173,69,.78)}.rarity-SR{--acgse-rarity-color:#8351c3;--acgse-rarity-soft:rgba(149,101,216,.13);--acgse-rarity-line:rgba(149,101,216,.68)}.rarity-R{--acgse-rarity-color:#4f7fa5;--acgse-rarity-soft:rgba(89,155,200,.12);--acgse-rarity-line:rgba(89,155,200,.55)}
@media(max-width:780px){.acgse-character-filter-stack>section{grid-template-columns:1fr;gap:5px}.acggc-formation-board{grid-template-columns:1fr!important}.acggc-formation-board>section.acgse-formation-support{grid-column:auto}.acggc-formation-preview-heroes{grid-template-columns:repeat(3,minmax(68px,1fr))!important}.acggc-formation-preview-soldiers{grid-template-columns:repeat(4,minmax(58px,1fr))!important}}
@media(max-width:480px){.acggc-formation-preview-soldiers{grid-template-columns:repeat(3,minmax(58px,1fr))!important}}

/* Round23 Batch E: town discoverability, facility workbench, 8:5 guild city and merged lord settings. */
.acgse-lord-initial-settings{display:grid;gap:16px;padding:20px;border:1px solid var(--acgse-border,var(--line));border-radius:22px;background:var(--acgse-surface,var(--glass));color:var(--acgse-text,var(--ink))}.acgse-lord-initial-settings>header h2{margin:.25rem 0 .45rem}.acgse-lord-settings-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.acgse-lord-settings-grid>label{display:grid;gap:7px;min-width:0;font-size:12px;font-weight:800}.acgse-lord-settings-grid input,.acgse-lord-settings-grid textarea{width:100%;min-width:0}.acgse-lord-settings-grid textarea{border:1px solid var(--acgse-border,var(--line));border-radius:12px;padding:11px;background:var(--acgse-surface-soft,var(--glass));color:inherit;resize:vertical}.acgse-lord-toggle-stack{display:grid;align-content:start;gap:10px}.acgse-lord-toggle-stack .acggc-switch{justify-content:flex-start}.acgse-lord-intro-field{grid-column:1/-1}.acgse-lord-settings-footer{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.acgse-lord-settings-footer small{flex:1 1 280px}.acgse-lord-initial-settings .acggc-signature-helper{display:flex;justify-content:space-between;gap:8px;flex-wrap:wrap}.acgse-lord-initial-settings .acggc-signature-helper>span:last-child{display:flex;gap:6px;flex-wrap:wrap}
.acgse-town-module-entry{display:grid;gap:8px;padding:13px;border:1px solid var(--acgse-border,var(--line));border-radius:14px;background:var(--acgse-surface-soft,var(--glass))}.acgse-town-module-entry p{margin:0!important}.acgse-town-module-entry strong{font-size:1rem}
.acgse-facility-grid.acgse-collection-workbench{display:grid;grid-template-columns:minmax(210px,28%) minmax(0,1fr);gap:18px;align-items:start}.acgse-facility-quick-list{grid-template-columns:repeat(2,minmax(0,1fr))!important}.acgse-facility-quick-card{appearance:none;display:grid;gap:6px;min-width:0;padding:8px;border:1px solid var(--acgse-border,var(--line));border-radius:15px;background:var(--acgse-surface,var(--glass));color:inherit;text-align:left;cursor:pointer;transition:transform .16s ease,border-color .16s ease,box-shadow .16s ease}.acgse-facility-quick-card:hover{transform:translateY(-1px)}.acgse-facility-quick-card.is-selected{border-color:var(--theme-skin,var(--acgse-accent,#ef82b5));box-shadow:0 0 0 3px color-mix(in srgb,var(--theme-skin,var(--acgse-accent,#ef82b5)) 15%,transparent)}.acgse-facility-quick-card.is-locked{opacity:.68}.acgse-facility-quick-card>img{display:block;width:100%;aspect-ratio:3/2;object-fit:cover;border-radius:10px;background:var(--acgse-surface-soft,var(--glass))}.acgse-facility-quick-card b,.acgse-facility-quick-card small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.acgse-facility-detail>header{grid-template-columns:minmax(190px,38%) minmax(0,1fr)}.acgse-facility-detail>header>img{aspect-ratio:3/2;object-fit:cover;object-position:center;border-radius:14px}.acgse-facility-build-panel{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;align-items:end;padding:14px;border:1px solid var(--acgse-border,var(--line));border-radius:14px;background:var(--acgse-surface-soft,var(--glass))}.acgse-facility-build-panel label{display:grid;gap:6px}.acgse-facility-detail .acgse-facility-staff-list,.acgse-facility-detail .acgse-facility-work{margin:0}.acgse-manufacturing-panel{scroll-margin-top:90px}
.acgse-guild-identity-card{grid-template-columns:minmax(190px,36%) 64px minmax(0,1fr) auto;min-height:0}.acgse-guild-city-art{margin:0;display:grid;gap:5px;align-self:stretch}.acgse-guild-city-art img{display:block;width:100%;aspect-ratio:8/5;object-fit:cover;border:1px solid rgba(255,255,255,.45);border-radius:15px;background:rgba(255,255,255,.08)}.acgse-guild-city-art figcaption{font-size:11px;color:rgba(255,255,255,.78)}.acgse-guild-emblem{width:60px;height:60px}.acgse-guild-card-copy{min-width:0}
.acgse-current-skill-card-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-top:12px}.acgse-current-skill-card{display:grid;gap:8px;min-width:0;padding:12px;border:1px solid var(--acgse-border,var(--line));border-radius:14px;background:var(--acgse-surface-soft,var(--glass))}.acgse-current-skill-card>strong{font-size:1rem}.acgse-current-skill-card .acgse-fact-chips{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}.acgse-current-skill-card .acgse-fact-chip{min-width:0}
@media(max-width:980px){.acgse-guild-identity-card{grid-template-columns:minmax(170px,42%) 56px minmax(0,1fr)}.acgse-guild-card-actions{grid-column:1/-1}.acgse-current-skill-card-grid{grid-template-columns:1fr}.acgse-facility-grid.acgse-collection-workbench{grid-template-columns:1fr}.acgse-facility-grid .acgse-workbench-master{position:static;max-height:none}.acgse-facility-quick-list{grid-template-columns:repeat(3,minmax(0,1fr))!important}}
@media(max-width:700px){.acgse-lord-settings-grid{grid-template-columns:1fr}.acgse-lord-intro-field{grid-column:auto}.acgse-guild-identity-card{grid-template-columns:1fr 56px minmax(0,1fr)}.acgse-guild-city-art{grid-column:1/-1}.acgse-facility-quick-list{grid-template-columns:repeat(2,minmax(0,1fr))!important}.acgse-facility-detail>header{grid-template-columns:1fr}.acgse-facility-detail>header>img{max-width:none}.acgse-facility-build-panel{grid-template-columns:1fr}}
.acgse-guild-identity-card.is-compact{grid-template-columns:64px minmax(0,1fr) auto;min-height:156px}.acgse-guild-identity-card.is-compact .acgse-guild-city-art{display:none}@media(max-width:780px){.acgse-guild-identity-card.is-compact{grid-template-columns:56px minmax(0,1fr)}}


/* Round24 Batch B · shared RarityBadge / SelectionState / QuickSelectWorkbench V4 */
.acggc{--acgse-rarity-r:#4f7fa5;--acgse-rarity-sr:#8351c3;--acgse-rarity-ssr:#c98a20;--acgse-select:#ef82b5;--acgse-select-ring:color-mix(in srgb,var(--theme-skin,var(--acgse-select)) 26%,transparent)}
.acgse-rarity-badge,.acgse-rating-badge{display:inline-flex;align-items:center;justify-content:center;min-width:34px;border:1px solid var(--acgse-rarity-line,var(--line));border-radius:999px;padding:3px 8px;background:var(--acgse-rarity-soft,rgba(127,127,127,.08));color:var(--acgse-rarity-color,var(--ink));font-size:10px;font-weight:950;line-height:1.15;letter-spacing:.06em;box-shadow:inset 0 1px 0 rgba(255,255,255,.42)}
.acgse-rarity-badge.rarity-SSR,.acgse-rating-badge.rarity-SSR{background:linear-gradient(135deg,rgba(255,245,205,.92),rgba(255,219,181,.7));box-shadow:inset 0 1px 0 rgba(255,255,255,.72),0 0 14px rgba(232,173,69,.18)}
.acgse-rarity-badge.rarity-SR,.acgse-rating-badge.rarity-SR{background:linear-gradient(135deg,rgba(232,220,255,.72),rgba(211,198,255,.46));box-shadow:0 0 11px rgba(149,101,216,.12)}
.acgse-rarity-badge.rarity-R,.acgse-rating-badge.rarity-R{background:linear-gradient(135deg,rgba(220,240,255,.66),rgba(210,231,247,.42))}
:is(.acggc-result-card,.acggc-character,.acggc-quick-select-card,.acgse-workbench-quick,.acggc-formation-unit,.acggc-archive-card,.acggc-support-card-compact).rarity-R,:is(.acggc-result-card,.acggc-character,.acggc-quick-select-card,.acgse-workbench-quick,.acggc-formation-unit,.acggc-archive-card,.acggc-support-card-compact).rarity-SR,:is(.acggc-result-card,.acggc-character,.acggc-quick-select-card,.acgse-workbench-quick,.acggc-formation-unit,.acggc-archive-card,.acggc-support-card-compact).rarity-SSR{border-color:var(--acgse-rarity-line,var(--line));box-shadow:inset 0 3px 0 var(--acgse-rarity-color,var(--line))}
.acgse-filter-chip-row button.rarity-R,.acgse-filter-chip-row button.rarity-SR,.acgse-filter-chip-row button.rarity-SSR{border-color:var(--acgse-rarity-line,var(--line));background:color-mix(in srgb,var(--acgse-rarity-soft,transparent) 62%,var(--glass));color:var(--acgse-rarity-color,var(--ink))}
.acgse-filter-chip-row button.is-active,.acgse-filter-chip-row button[aria-pressed="true"],:is(.acgse-quick-pick-card,.acgse-workbench-quick).is-selected,:is(.acgse-quick-pick-card,.acgse-workbench-quick)[aria-pressed="true"]{border-color:var(--theme-skin,var(--acgse-select))!important;background:color-mix(in srgb,var(--theme-skin,var(--acgse-select)) 13%,var(--glass))!important;outline:2px solid var(--acgse-select-ring);outline-offset:1px;box-shadow:0 10px 24px rgba(79,58,105,.1),0 0 0 4px var(--acgse-select-ring)!important}
.acgse-selection-mark{display:inline-flex!important;align-items:center;justify-content:center;min-height:18px;padding:2px 6px;border-radius:999px;background:var(--theme-skin,var(--acgse-select));color:#fff!important;font-size:9px!important;font-weight:950!important;line-height:1!important;white-space:nowrap;letter-spacing:.03em;box-shadow:none!important}
.acgse-quick-rating-row .acgse-selection-mark,.acgse-workbench-quick .acgse-selection-mark .acgse-selection-mark{margin-left:4px}
.acgse-filter-chip-row .acgse-selection-mark{margin-left:6px}
.acgse-workbench-state{display:flex;align-items:center;justify-content:center;gap:8px;min-height:88px;padding:16px;border:1px dashed var(--line);border-radius:14px;color:var(--muted);background:color-mix(in srgb,var(--glass) 84%,transparent)}.acgse-workbench-state.is-error{border-color:color-mix(in srgb,#c54861 40%,var(--line));color:#a83b51}.acgse-workbench-master[data-workbench-state="loading"]{opacity:.72;pointer-events:none}
html.dark .acgse-rarity-badge.rarity-SSR,body.dark .acgse-rarity-badge.rarity-SSR,html[data-theme="dark"] .acgse-rarity-badge.rarity-SSR{color:#ffe0a0;background:linear-gradient(135deg,rgba(129,91,24,.62),rgba(101,61,36,.52));border-color:rgba(243,194,94,.7)}
html.dark .acgse-rarity-badge.rarity-SR,body.dark .acgse-rarity-badge.rarity-SR,html[data-theme="dark"] .acgse-rarity-badge.rarity-SR{color:#e0c9ff;background:rgba(123,76,177,.32);border-color:rgba(184,133,240,.62)}
html.dark .acgse-rarity-badge.rarity-R,body.dark .acgse-rarity-badge.rarity-R,html[data-theme="dark"] .acgse-rarity-badge.rarity-R{color:#c5e5ff;background:rgba(55,101,135,.32);border-color:rgba(112,172,213,.55)}


/* Round24 Batch C · Skill / Inventory / Facility Template / Manufacturing Workbenches */
.acgse-current-skill-card-grid{grid-template-columns:1fr!important}
.acgse-current-skill-card{grid-template-columns:minmax(150px,.34fr) minmax(0,.66fr);align-items:start}
.acgse-current-skill-card>.acgse-fact-chips{grid-template-columns:repeat(auto-fit,minmax(92px,1fr))}
.acgse-current-skill-card>.acgse-skill-effect-tags,.acgse-current-skill-card>small{grid-column:1/-1}
#acggc-skill-book-list.acgse-collection-workbench{display:grid!important;grid-template-columns:minmax(220px,31%) minmax(0,1fr)!important;gap:18px!important;align-items:start;content-visibility:visible!important;contain-intrinsic-size:auto!important}
#acggc-skill-book-list .acgse-workbench-master{position:sticky;top:16px;max-height:72vh;overflow:auto}
#acggc-skill-book-list .acgse-workbench-quick-list{grid-template-columns:repeat(2,minmax(0,1fr))}
.acgse-media-item,.acgse-item-quick>img,.acgse-skill-book-quick>img,.acgse-recipe-quick>img,.acgse-inventory-detail>header>img,.acgse-skill-book-detail>header>img,.acgse-manufacturing-detail>header>img{aspect-ratio:1/1!important;object-fit:cover!important;object-position:center!important}
.acgse-inventory-toolbar{grid-template-columns:minmax(180px,1.5fr) repeat(3,minmax(120px,.8fr)) auto;align-items:center}
.acgse-inventory-toolbar input,.acgse-inventory-toolbar select{min-width:0}
.acgse-inventory-workbench .acgse-workbench-quick-list{grid-template-columns:repeat(2,minmax(0,1fr))}
.acgse-inventory-skill,.acgse-skill-book-detail>section{display:grid;gap:9px;padding:12px;border:1px solid var(--acgse-border,var(--line));border-radius:14px;background:var(--acgse-surface-soft,var(--glass))}
.acgse-inventory-skill.is-exclusive{border-style:double}
.acgse-facility-template-workbench{display:grid;grid-template-columns:minmax(200px,32%) minmax(0,1fr);gap:14px;align-items:start;margin-top:4px}
.acgse-facility-template-workbench>aside{display:grid;gap:9px;position:sticky;top:16px;max-height:58vh;overflow:auto}
.acgse-facility-template-list{display:grid;grid-template-columns:1fr;gap:8px}
.acgse-facility-template-card{appearance:none;display:grid;gap:5px;padding:7px;border:1px solid var(--acgse-border,var(--line));border-radius:13px;background:var(--acgse-surface,var(--glass));color:inherit;text-align:left;cursor:pointer}
.acgse-facility-template-card.is-selected{box-shadow:0 0 0 3px var(--acgse-selected-ring,color-mix(in srgb,var(--theme-skin,var(--acgse-accent,#ef82b5)) 22%,transparent));background:var(--acgse-selected-bg,color-mix(in srgb,var(--theme-skin,var(--acgse-accent,#ef82b5)) 10%,var(--acgse-surface,var(--glass))))}
.acgse-facility-template-card img,.acgse-facility-template-detail>img{display:block;width:100%;aspect-ratio:3/2;object-fit:cover;border-radius:9px}
.acgse-facility-template-detail{display:grid;grid-template-columns:minmax(170px,36%) minmax(0,1fr);gap:14px;align-items:start;padding:12px;border:1px solid var(--acgse-border,var(--line));border-radius:14px;background:var(--acgse-surface-soft,var(--glass))}
.acgse-facility-template-detail h2,.acgse-facility-template-detail p{margin-top:0}
.acgse-manufacturing-picker{display:grid;grid-template-columns:minmax(220px,31%) minmax(0,1fr);gap:16px;align-items:start}
.acgse-manufacturing-picker>div:first-child{position:sticky;top:16px;max-height:66vh;overflow:auto}
.acgse-manufacturing-recipe-list{grid-template-columns:repeat(2,minmax(0,1fr))}
.acgse-manufacturing-hero-picker{margin-top:16px;padding-top:14px;border-top:1px solid var(--acgse-border,var(--line))}
.acgse-manufacturing-hero-list{grid-template-columns:repeat(auto-fill,minmax(115px,1fr))}
.acgse-manufacturing-hero-list .acgse-workbench-quick>img{aspect-ratio:2/3!important}
.acgse-manufacturing-runbar{display:grid;grid-template-columns:minmax(120px,180px) auto;gap:10px;align-items:end}
.acgse-manufacturing-runbar label{display:grid;gap:5px}
@media(max-width:900px){.acgse-inventory-toolbar{grid-template-columns:1fr 1fr}.acgse-inventory-toolbar>span{grid-column:1/-1}.acgse-facility-template-workbench,.acgse-manufacturing-picker,#acggc-skill-book-list.acgse-collection-workbench{grid-template-columns:1fr!important}.acgse-facility-template-workbench>aside,.acgse-manufacturing-picker>div:first-child,#acggc-skill-book-list .acgse-workbench-master{position:static;max-height:none}.acgse-facility-template-list{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:620px){.acgse-current-skill-card{grid-template-columns:1fr}.acgse-inventory-toolbar{grid-template-columns:1fr}.acgse-facility-template-detail{grid-template-columns:1fr}.acgse-manufacturing-runbar{grid-template-columns:1fr}.acgse-manufacturing-recipe-list,.acgse-inventory-workbench .acgse-workbench-quick-list,#acggc-skill-book-list .acgse-workbench-quick-list{grid-template-columns:repeat(2,minmax(0,1fr))}}


/* Round24 Batch D: recruitment / staffing quick workbenches */
.acgse-recruitment-tag-menu{display:grid;gap:8px;padding:10px;border:1px solid var(--acgse-border);border-radius:12px;background:var(--acgse-surface-soft)}
.acgse-recruitment-tag-head{display:flex;justify-content:space-between;align-items:center;gap:10px}
.acgse-recruitment-tag-chips{display:flex;flex-wrap:wrap;gap:8px}
.acgse-recruitment-tag-chip{appearance:none;border:1px solid var(--acgse-border);border-radius:999px;padding:7px 11px;background:var(--acgse-surface);color:var(--acgse-text);cursor:pointer;font:inherit;line-height:1.2;transition:transform .15s ease,box-shadow .15s ease,background .15s ease}
.acgse-recruitment-tag-chip:hover:not(:disabled){transform:translateY(-1px)}
.acgse-recruitment-tag-chip.is-selected{background:color-mix(in srgb,var(--acgse-accent) 18%,var(--acgse-surface));box-shadow:0 0 0 2px color-mix(in srgb,var(--acgse-accent) 45%,transparent);font-weight:700}
.acgse-recruitment-tag-chip:disabled{opacity:.38;cursor:not-allowed}
.acgse-staff-quick-list{display:grid;grid-template-columns:repeat(auto-fill,minmax(92px,1fr));gap:9px;max-height:360px;overflow:auto;padding:3px;overscroll-behavior:contain}
.acgse-staff-quick-card{appearance:none;display:grid;grid-template-rows:auto auto;gap:6px;min-width:0;padding:6px;border:1px solid var(--acgse-border);border-radius:12px;background:var(--acgse-surface);color:var(--acgse-text);text-align:left;cursor:pointer;position:relative}
.acgse-staff-quick-card>img{width:100%;aspect-ratio:2/3;object-fit:cover;border-radius:9px;background:var(--acgse-surface-soft)}
.acgse-staff-quick-card>span{display:grid;gap:3px;min-width:0}
.acgse-staff-quick-card b,.acgse-staff-quick-card small{overflow:hidden;text-overflow:ellipsis}
.acgse-staff-quick-card small{color:var(--acgse-muted);font-size:11px;line-height:1.35}
.acgse-staff-quick-card.is-selected{box-shadow:0 0 0 3px color-mix(in srgb,var(--acgse-accent) 62%,transparent);background:color-mix(in srgb,var(--acgse-accent) 11%,var(--acgse-surface));transform:translateY(-1px)}
.acgse-leisure-building-list{display:grid;gap:10px}
.acgse-leisure-building-quick{appearance:none;display:grid;gap:5px;padding:7px;border:1px solid var(--acgse-border);border-radius:12px;background:var(--acgse-surface);color:var(--acgse-text);text-align:left;cursor:pointer}
.acgse-leisure-building-quick>img{width:100%;aspect-ratio:3/2;object-fit:cover;border-radius:9px;background:var(--acgse-surface-soft)}
.acgse-leisure-building-quick.is-selected{box-shadow:0 0 0 3px color-mix(in srgb,var(--acgse-accent) 58%,transparent);background:color-mix(in srgb,var(--acgse-accent) 10%,var(--acgse-surface))}
.acgse-detective-staff.is-picker,.acgse-leisure-slot.is-picker,.acgse-town-staff-slot.is-picker{display:grid;gap:10px;align-items:start;padding:10px;border:1px dashed var(--acgse-border);border-radius:12px;background:var(--acgse-surface-soft)}
.acgse-detective-staff.is-picker>header,.acgse-leisure-slot.is-picker>header,.acgse-town-staff-slot.is-picker>header{display:grid;gap:2px}
.acgse-detective-staff.is-picker>header small,.acgse-leisure-slot.is-picker>header small,.acgse-town-staff-slot.is-picker>header small{color:var(--acgse-muted)}
.acgse-town-staffing{display:grid;gap:10px;margin-top:14px;padding:12px;border:1px solid var(--acgse-border);border-radius:14px;background:var(--acgse-surface-soft)}
.acgse-town-staffing>p{margin:0;color:var(--acgse-muted)}
.acgse-town-staff-slots{display:grid;gap:10px}
.acgse-town-staff-slot.is-used{display:grid;grid-template-columns:72px minmax(0,1fr) auto;gap:10px;align-items:center;padding:8px;border:1px solid var(--acgse-border);border-radius:12px;background:var(--acgse-surface)}
.acgse-town-staff-slot.is-used>img{width:72px;aspect-ratio:2/3;object-fit:cover;border-radius:9px;background:var(--acgse-surface-soft)}
.acgse-town-staff-slot.is-used>span{display:grid;gap:3px;min-width:0}
.acgse-town-staff-slot.is-used small{color:var(--acgse-muted)}
@media(max-width:720px){.acgse-staff-quick-list{grid-template-columns:repeat(3,minmax(78px,1fr));max-height:320px}.acgse-town-staff-slot.is-used{grid-template-columns:58px minmax(0,1fr)}.acgse-town-staff-slot.is-used>img{width:58px}.acgse-town-staff-slot.is-used>.acggc-btn{grid-column:1/-1}}


/* Round24 Batch E · expedition/recovery/social UI contract */
.acgse-quick-pick-card.is-expedition>img{aspect-ratio:2/3!important;object-position:center top!important}
#acggc-explore-heroes,#acggc-explore-groups{align-items:start}
#acggc-explore-heroes .acgse-quick-pick-card,#acggc-explore-groups .acgse-quick-pick-card{max-width:132px}
.acgse-expedition-efficiency{display:block!important;padding-top:6px!important;font-weight:850;color:var(--acggc-v117-text,var(--ink))!important}
.acggc-expedition-selection-summary{display:grid!important;gap:10px!important;padding:12px;border:1px solid var(--line);border-radius:16px;background:var(--glass)}
.acgse-expedition-selected-head{display:flex;flex-wrap:wrap;gap:8px}.acgse-expedition-selected-head>span{padding:5px 8px;border:1px solid var(--line);border-radius:999px;background:var(--acgse-surface-soft,var(--glass));font-size:10px}
.acgse-expedition-selected-grid{display:grid;grid-template-columns:repeat(2,minmax(0,110px));gap:10px;align-items:start}
.acgse-expedition-selected-card{overflow:hidden;border:1px solid var(--acgse-rarity-line,var(--line));border-radius:13px;background:var(--glass);box-shadow:0 5px 14px rgba(49,38,69,.06)}
.acgse-expedition-selected-card>img{display:block;width:100%;aspect-ratio:2/3;object-fit:cover;object-position:center top}.acgse-expedition-selected-card>div{display:grid;gap:4px;padding:8px}.acgse-expedition-selected-card strong{font-size:11px}.acgse-expedition-selected-card small{font-size:9px;color:var(--muted)}
.acgse-expedition-selected-card.is-empty{display:grid;place-items:center;min-height:150px;border-style:dashed;color:var(--muted);text-align:center}.acgse-expedition-selected-card.is-empty>span{font-size:28px}
.acggc-recovery-grid{display:block!important}
.acgse-recovery-workbench{display:grid;grid-template-columns:minmax(170px,230px) minmax(0,1fr);gap:14px;align-items:start}
.acgse-recovery-quick-list{display:grid;gap:10px}.acgse-recovery-quick{appearance:none;overflow:hidden;padding:0;border:1px solid var(--line);border-radius:15px;background:var(--glass);color:var(--ink);cursor:pointer;text-align:left;transition:.15s ease}.acgse-recovery-quick:hover{transform:translateY(-1px)}.acgse-recovery-quick.is-selected{border-color:var(--theme-skin,var(--acgse-select));outline:2px solid var(--acgse-select-ring);box-shadow:0 0 0 4px var(--acgse-select-ring)}.acgse-recovery-quick>img{display:block;width:100%;aspect-ratio:3/2;object-fit:cover}.acgse-recovery-quick>span{display:grid;gap:3px;padding:9px 10px}.acgse-recovery-quick small,.acgse-recovery-quick em{font-size:9px;color:var(--muted);font-style:normal}.acgse-recovery-quick strong{font-size:12px}
.acgse-recovery-detail-pane{min-width:0}.acgse-recovery-detail{display:grid;gap:10px;padding:16px;border:1px solid var(--line);border-radius:17px;background:var(--glass)}.acgse-recovery-detail h2,.acgse-recovery-detail p{margin:0}.acgse-recovery-detail p{color:var(--muted)}
.acgse-my-city-button{min-width:96px!important;white-space:nowrap!important;justify-content:center;padding-left:14px!important;padding-right:14px!important;font-weight:850}
@media(max-width:760px){.acgse-recovery-workbench{grid-template-columns:1fr}.acgse-recovery-quick-list{grid-template-columns:repeat(2,minmax(0,1fr))}.acgse-expedition-selected-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}


/* Round24 Batch F · canonical namecard surface */
.acgse-namecard-surface{--acgse-namecard-ink:#fbfbff;--acgse-namecard-muted:rgba(248,248,255,.84);--acgse-namecard-glass:rgba(12,15,34,.60);--acgse-namecard-border:rgba(255,255,255,.28);--acgse-namecard-shadow:0 2px 10px rgba(0,0,0,.55);isolation:isolate}
html.dark .acgse-namecard-surface,body.dark .acgse-namecard-surface,html[data-theme="dark"] .acgse-namecard-surface,body[data-theme="dark"] .acgse-namecard-surface,.dark-mode .acgse-namecard-surface{--acgse-namecard-glass:rgba(5,7,20,.72);--acgse-namecard-border:rgba(255,255,255,.24);--acgse-namecard-muted:rgba(250,248,255,.86)}
.acgse-rank-namecard.acgse-namecard-surface{background:var(--acgse-surface,var(--glass));background-image:var(--acgse-rank-bg);background-size:cover;background-position:center;color:var(--acgse-namecard-ink);border-color:color-mix(in srgb,var(--acgse-border,var(--line)) 70%,var(--theme-skin,#ef82b5) 30%)}
.acgse-rank-namecard.acgse-namecard-surface::before{content:"";position:absolute;z-index:0;inset:0;background:linear-gradient(100deg,rgba(7,9,24,.82),rgba(7,9,24,.56) 58%,rgba(7,9,24,.72));pointer-events:none}
.acgse-rank-namecard.acgse-namecard-surface>*{position:relative;z-index:1}.acgse-rank-namecard.acgse-namecard-surface .acgse-rank-copy{padding:7px 9px;border-radius:11px;background:color-mix(in srgb,var(--acgse-namecard-glass) 82%,transparent);backdrop-filter:blur(8px)}
.acgse-rank-namecard.acgse-namecard-surface .acgse-rank-copy h2{color:var(--acgse-namecard-ink)!important;text-shadow:var(--acgse-namecard-shadow)}.acgse-rank-namecard.acgse-namecard-surface .acgse-rank-copy p,.acgse-rank-namecard.acgse-namecard-surface .acgse-rank-copy small{color:var(--acgse-namecard-muted)!important;text-shadow:var(--acgse-namecard-shadow)}
.acgse-rank-namecard.acgse-namecard-surface .acgse-rank-number{background:var(--acgse-namecard-glass);border:1px solid var(--acgse-namecard-border);color:var(--acgse-namecard-ink);backdrop-filter:blur(8px)}
.acgse-rank-namecard.acgse-namecard-surface .acgse-rank-avatar{border-color:var(--acgse-namecard-border);box-shadow:0 5px 16px rgba(0,0,0,.18)}
.acgse-rank-namecard.acgse-namecard-surface .acgse-rank-supports img,.acgse-rank-namecard.acgse-namecard-surface .acgse-rank-supports span{background:var(--acgse-namecard-glass);border-color:var(--acgse-namecard-border)}
@media(max-width:780px){.acgse-lord-namecard-supports.is-self .acgse-lord-namecard-support,.acgse-lord-namecard-supports.is-self .acgse-lord-namecard-support img,.acgse-lord-namecard-supports.is-self .acgse-lord-namecard-support.is-empty{width:64px!important}}

.acgse-friend-list-tools{max-width:none!important;flex-wrap:wrap}.acgse-friend-list-tools #acggc-visit-all-friends{white-space:nowrap}.acgse-lord-namecard-actions [data-friend-visit-credit]:disabled{opacity:.58}

.acgse-character-quote-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:10px}.acgse-character-quote-grid article{border:1px solid var(--acgse-border);border-radius:14px;padding:12px;background:var(--acgse-surface-soft)}.acgse-character-quote-grid article>div{display:flex;justify-content:space-between;gap:8px;align-items:center}.acgse-character-quote-grid blockquote{margin:10px 0;padding:10px 12px;border-left:3px solid var(--acgse-accent);background:var(--acgse-surface);border-radius:8px}.acgse-character-quote-grid audio{width:100%;height:34px}.acgse-character-quote-grid .is-locked{opacity:.72}

/* Round25 Batch A: resilient optional modules and SafeImage fallbacks. */
.acgse-image-unavailable{visibility:hidden!important}
.is-fallback-image{object-fit:cover}
.acgse-optional-module-error{display:flex;flex-direction:column;align-items:flex-start;justify-content:center;gap:8px;min-height:112px;padding:18px;border:1px dashed color-mix(in srgb,currentColor 18%,transparent);border-radius:16px;background:color-mix(in srgb,var(--acggc-surface,#fff) 88%,transparent)}
.acgse-optional-module-error strong{font-size:14px}
.acgse-optional-module-error p{margin:0;color:var(--acggc-muted,#7b7683);font-size:12px;line-height:1.65}
.acgse-optional-module-error small{opacity:.72;word-break:break-all}

/* Round25 Batch B · explicit formation SelectionState */
.acgse-quick-pick-card{position:relative}
.acgse-quick-pick-card[data-selection-state="available"]{border-color:color-mix(in srgb,var(--acggc-v117-line,var(--line)) 86%,transparent);outline:0;box-shadow:0 4px 12px rgba(77,59,94,.04)!important}
.acgse-quick-pick-card[data-selection-state="selected"],.acgse-quick-pick-card[aria-pressed="true"]{border-width:2px!important;border-color:var(--theme-skin,var(--acgse-select))!important;background:linear-gradient(180deg,color-mix(in srgb,var(--theme-skin,var(--acgse-select)) 14%,var(--glass)),var(--glass))!important;outline:2px solid color-mix(in srgb,var(--theme-skin,var(--acgse-select)) 28%,transparent)!important;outline-offset:2px!important;box-shadow:0 12px 28px rgba(79,58,105,.14),0 0 0 5px color-mix(in srgb,var(--theme-skin,var(--acgse-select)) 13%,transparent)!important}
.acgse-card-selected-badge{position:absolute;z-index:3;top:8px;right:8px;display:inline-flex;align-items:center;gap:4px;padding:5px 8px;border:1px solid rgba(255,255,255,.7);border-radius:999px;background:color-mix(in srgb,var(--theme-skin,var(--acgse-select)) 88%,#6e58c4);color:#fff;font-size:10px;font-weight:900;line-height:1;letter-spacing:.03em;box-shadow:0 5px 15px rgba(44,31,65,.24);text-shadow:0 1px 4px rgba(0,0,0,.22)}
.acgse-card-selected-badge b{font-size:12px;line-height:1}
.acgse-quick-pick-card[data-selection-state="selected"]>img{filter:saturate(1.05) contrast(1.02)}
.acgse-quick-pick-card:focus-visible{outline:3px solid color-mix(in srgb,var(--theme-skin,var(--acgse-select)) 46%,transparent)!important;outline-offset:3px!important}
html.dark .acgse-card-selected-badge,body.dark .acgse-card-selected-badge,[data-theme="dark"] .acgse-card-selected-badge{border-color:rgba(255,255,255,.28);box-shadow:0 7px 18px rgba(0,0,0,.34)}

/* Round25 Batch C · Lord Initial Settings / Skill Studio / Inventory filters */
.acgse-lord-settings-v25{position:relative;overflow:hidden;padding:26px 28px;border-radius:26px;background:linear-gradient(145deg,color-mix(in srgb,var(--acgse-surface,#fff) 94%,#f7edf5),color-mix(in srgb,var(--acgse-surface-soft,var(--glass)) 92%,#edf2ff));box-shadow:0 16px 42px rgba(91,72,112,.08)}
.acgse-lord-settings-v25:before{content:"";position:absolute;left:34px;right:34px;top:0;height:1px;background:linear-gradient(90deg,transparent,color-mix(in srgb,var(--theme-skin,var(--acgse-accent,#ef82b5)) 45%,transparent),color-mix(in srgb,#748de1 40%,transparent),transparent)}
.acgse-lord-settings-head{display:grid;gap:8px}.acgse-lord-settings-head h2{margin:3px 0;font-size:clamp(24px,2.2vw,32px)}.acgse-lord-settings-head p{margin:0;max-width:920px;line-height:1.75}
.acgse-lord-settings-v25 .acgse-lord-settings-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
.acgse-lord-settings-panel{min-width:0;padding:20px;border:1px solid color-mix(in srgb,var(--acgse-border,var(--line)) 78%,transparent);border-radius:22px;background:color-mix(in srgb,var(--acgse-surface,var(--glass)) 88%,transparent);box-shadow:inset 0 1px rgba(255,255,255,.5)}
.acgse-lord-panel-heading{margin-bottom:18px}.acgse-lord-panel-heading h2{margin:3px 0 4px;font-size:18px}.acgse-lord-panel-heading small{color:var(--acgse-muted,var(--muted));line-height:1.55}
.acgse-lord-field{display:grid;gap:8px;margin-bottom:18px;font-size:13px}.acgse-lord-field:last-child{margin-bottom:0}.acgse-lord-label-row{display:flex;justify-content:space-between;align-items:center;gap:12px}.acgse-lord-label-row b{font-size:14px}.acgse-lord-label-row small{color:var(--acgse-muted,var(--muted));font-weight:600}
.acgse-lord-settings-v25 input[type=text],.acgse-lord-settings-v25 input:not([type]),.acgse-lord-settings-v25 textarea{width:100%;min-width:0;border:1px solid color-mix(in srgb,var(--acgse-border,var(--line)) 92%,transparent);border-radius:15px;background:color-mix(in srgb,var(--acgse-surface,#fff) 88%,transparent);color:var(--acgse-text,var(--ink));padding:12px 14px;outline:0;transition:border-color .18s ease,box-shadow .18s ease,background .18s ease}.acgse-lord-settings-v25 textarea{min-height:120px;resize:vertical;line-height:1.7}.acgse-lord-settings-v25 input:focus,.acgse-lord-settings-v25 textarea:focus{border-color:var(--theme-skin,var(--acgse-accent,#ef82b5));background:var(--acgse-surface,#fff);box-shadow:0 0 0 4px color-mix(in srgb,var(--theme-skin,var(--acgse-accent,#ef82b5)) 10%,transparent)}
.acgse-lord-signature-preview{display:block;padding:8px 11px;border-left:3px solid color-mix(in srgb,var(--theme-skin,var(--acgse-accent,#ef82b5)) 64%,transparent);border-radius:8px;background:color-mix(in srgb,var(--theme-skin,var(--acgse-accent,#ef82b5)) 6%,transparent);font-size:12px;font-weight:700;color:var(--acgse-muted,var(--muted))}
.acgse-lord-settings-v25 .acggc-signature-helper{margin:-5px 0 16px;align-items:center}.acgse-lord-settings-v25 .acggc-signature-helper>small{font-size:11px;color:var(--acgse-muted,var(--muted))}.acgse-lord-settings-v25 .acggc-signature-helper button{appearance:none;border:1px solid var(--acgse-border,var(--line));border-radius:999px;padding:7px 11px;background:var(--acgse-surface-soft,var(--glass));color:inherit;font-size:11px;font-weight:700;cursor:pointer}.acgse-lord-settings-v25 .acggc-signature-helper button:hover{border-color:var(--theme-skin,var(--acgse-accent,#ef82b5));transform:translateY(-1px)}
.acgse-lord-settings-v25 .acgse-lord-toggle-stack{gap:10px}.acgse-lord-option{min-height:68px;padding:12px 14px!important;border:1px solid color-mix(in srgb,var(--acgse-border,var(--line)) 78%,transparent);border-radius:17px;background:color-mix(in srgb,var(--acgse-surface-soft,var(--glass)) 80%,transparent)}.acgse-lord-option span{min-width:0}.acgse-lord-option b{display:block}.acgse-lord-option small{display:block;margin-top:3px;line-height:1.45;color:var(--acgse-muted,var(--muted))}
.acgse-lord-settings-v25 .acgse-lord-settings-footer{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;padding:15px 17px;border:1px solid color-mix(in srgb,var(--acgse-border,var(--line)) 75%,transparent);border-radius:18px;background:linear-gradient(90deg,color-mix(in srgb,var(--theme-skin,var(--acgse-accent,#ef82b5)) 6%,var(--acgse-surface-soft,var(--glass))),color-mix(in srgb,#7f92df 5%,var(--acgse-surface-soft,var(--glass))))}.acgse-lord-settings-footer>div{display:grid;gap:3px}.acgse-lord-settings-footer>div>b{font-size:13px}.acgse-lord-settings-footer .acggc-btn{min-width:165px;margin:0}

.acgse-skill-studio-v25{display:grid;gap:16px}.acgse-skill-stage{display:grid;gap:12px;padding:17px;border:1px solid var(--acgse-border,var(--line));border-radius:20px;background:color-mix(in srgb,var(--acgse-surface,var(--glass)) 90%,transparent)}.acgse-skill-stage-head{display:flex;align-items:end;justify-content:space-between;gap:12px}.acgse-skill-stage-head h2{margin:3px 0;font-size:18px}.acgse-skill-stage-head>input{width:min(320px,100%);min-width:180px}.acgse-skill-character-filters{display:grid;gap:7px}.acgse-skill-character-filters .acgse-filter-chip-row{margin:0}
.acgse-skill-studio-v25 #acggc-skill-character-grid{display:grid!important;grid-auto-flow:column;grid-auto-columns:minmax(118px,142px);grid-template-columns:none!important;gap:10px;overflow-x:auto;overscroll-behavior-inline:contain;padding:3px 4px 10px;margin:0;scroll-snap-type:x proximity}.acgse-skill-studio-v25 #acggc-skill-character-grid .acgse-workbench-quick{scroll-snap-align:start;min-width:0}.acgse-skill-studio-v25 #acggc-skill-character-grid .acgse-workbench-quick>img{aspect-ratio:2/3;object-position:center top}
.acgse-skill-studio-v25 .acggc-skill-target-summary{margin:0;padding:0;border:0;background:transparent}.acgse-skill-studio-v25 .acgse-skill-selected{margin:0}.acgse-skill-book-tools{display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-end}.acgse-skill-book-tools input{min-width:220px}.acgse-skill-book-tools select{min-width:120px}.acgse-skill-studio-v25 #acggc-skill-book-list{margin:0}

.acgse-inventory-category-chips{margin:0 0 12px}.acgse-inventory-toolbar{grid-template-columns:minmax(180px,1.5fr) repeat(5,minmax(108px,.72fr)) auto}.acgse-inventory-toolbar>span{white-space:nowrap}.acgse-inventory-toolbar select{width:100%}
@media(max-width:1100px){.acgse-inventory-toolbar{grid-template-columns:repeat(3,minmax(0,1fr))}.acgse-inventory-toolbar>input{grid-column:span 2}.acgse-inventory-toolbar>span{grid-column:1/-1}.acgse-skill-stage-head{align-items:start;flex-direction:column}.acgse-skill-stage-head>input{width:100%}.acgse-skill-book-tools{width:100%;justify-content:flex-start}}
@media(max-width:760px){.acgse-lord-settings-v25{padding:20px 15px}.acgse-lord-settings-v25 .acgse-lord-settings-grid{grid-template-columns:1fr}.acgse-lord-settings-v25 .acgse-lord-settings-footer{grid-template-columns:1fr}.acgse-lord-settings-footer .acggc-btn{width:100%}.acgse-inventory-toolbar{grid-template-columns:1fr 1fr}.acgse-inventory-toolbar>input{grid-column:1/-1}.acgse-skill-book-tools{display:grid;grid-template-columns:1fr 1fr}.acgse-skill-book-tools input{grid-column:1/-1;min-width:0}.acgse-skill-book-tools select{min-width:0}}
@media(max-width:480px){.acgse-inventory-toolbar{grid-template-columns:1fr}.acgse-inventory-toolbar>input{grid-column:auto}.acgse-skill-book-tools{grid-template-columns:1fr}.acgse-skill-book-tools input{grid-column:auto}}
html.dark .acgse-lord-settings-panel,body.dark .acgse-lord-settings-panel,[data-theme="dark"] .acgse-lord-settings-panel{box-shadow:inset 0 1px rgba(255,255,255,.04)}

/* Round25 Batch D · Detective / Recruitment / Leisure / Idle */
.acgse-detective-staff.is-picker{grid-template-columns:1fr!important}
.acgse-detective-staff.is-picker>.acgse-staff-quick-list{grid-template-columns:repeat(auto-fill,minmax(104px,1fr));max-height:420px}
.acgse-detective-staff.is-picker .acgse-staff-quick-card>img{aspect-ratio:2/3;object-fit:cover}
.acgse-detective-staff.is-picker .acgse-staff-quick-card>span{align-content:start}

.acgse-recruitment-tag-chips{display:grid!important;gap:10px}
.acgse-recruitment-tag-group{display:grid;gap:7px;padding:9px;border:1px solid var(--acgse-border,rgba(127,127,127,.22));border-radius:12px;background:var(--acgse-surface-soft,rgba(255,255,255,.5))}
.acgse-recruitment-tag-group>header{display:flex;align-items:center;justify-content:space-between;gap:8px}
.acgse-recruitment-tag-group>header small{color:var(--acgse-muted,#8f8898);font-size:11px}
.acgse-recruitment-tag-group-options{display:flex;gap:7px;flex-wrap:wrap}

.acgse-leisure-card-v25{display:grid;gap:16px}
.acgse-leisure-building-quick{position:relative}
.acgse-leisure-selected,.acgse-leisure-hero-picker{display:grid;gap:10px;padding:13px;border:1px solid var(--acgse-border,rgba(127,127,127,.22));border-radius:15px;background:var(--acgse-surface-soft,rgba(255,255,255,.5))}
.acgse-leisure-section-head{display:flex;align-items:end;justify-content:space-between;gap:12px}
.acgse-leisure-section-head h2{margin:2px 0 0;font-size:1rem}
.acgse-leisure-section-head>small{max-width:360px;color:var(--acgse-muted,#8f8898);text-align:right}
.acgse-leisure-selected-slots{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}
.acgse-leisure-selected-slot{min-width:0;min-height:116px;padding:9px;border:1px dashed var(--acgse-border,rgba(127,127,127,.28));border-radius:13px;background:var(--acgse-surface,rgba(255,255,255,.72));display:grid;grid-template-columns:58px minmax(0,1fr);gap:9px;align-items:center}
.acgse-leisure-selected-slot>img{width:58px;aspect-ratio:2/3;object-fit:cover;border-radius:9px}
.acgse-leisure-selected-slot>span{display:grid;min-width:0;gap:3px}
.acgse-leisure-selected-slot small,.acgse-leisure-selected-slot em{color:var(--acgse-muted,#8f8898);font-size:11px;font-style:normal}
.acgse-leisure-selected-slot .acggc-btn{grid-column:1/-1}
.acgse-leisure-selected-slot.is-empty{grid-template-columns:1fr;place-items:center;text-align:center;opacity:.78}
.acgse-leisure-hero-list{grid-template-columns:repeat(auto-fill,minmax(96px,1fr));max-height:360px}
.acgse-leisure-hero-quick{position:relative}
.acgse-leisure-savebar{display:flex;align-items:center;justify-content:space-between;gap:12px;padding-top:4px}
.acgse-leisure-savebar small{color:var(--acgse-muted,#8f8898)}
.acgse-leisure-legacy{padding:10px;border:1px dashed var(--acgse-border,rgba(127,127,127,.25));border-radius:12px}
.acgse-leisure-legacy>span{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:5px 0}

.se-idle-grid{--idle-text:var(--acgse-text,#4f485f);--idle-title:var(--acgse-text-strong,#40394f);--idle-muted:var(--acgse-muted,#928b9c);--idle-card:var(--acgse-surface,rgba(255,255,255,.78));--idle-border:var(--acgse-border,rgba(222,188,215,.52));display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;width:100%}
.se-idle-card{position:relative;overflow:hidden;min-width:0;min-height:245px;display:flex;flex-direction:column;padding:25px;border:1px solid var(--idle-border);border-radius:24px;color:var(--idle-text);background:linear-gradient(145deg,var(--idle-card),color-mix(in srgb,var(--idle-card) 86%,transparent));box-shadow:0 13px 32px rgba(86,67,111,.055)}
.se-idle-head{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;margin-bottom:18px}.se-idle-title-wrap{min-width:0}.se-idle-title{margin:0;color:var(--idle-title);font-size:19px;line-height:1.3;font-weight:800}.se-idle-subtitle{margin-top:5px;color:var(--idle-muted);font-size:12px;line-height:1.5}
.se-idle-state{flex:0 0 auto;display:inline-flex;align-items:center;gap:6px;min-height:28px;padding:5px 10px;border:1px solid color-mix(in srgb,var(--idle-border) 80%,transparent);border-radius:999px;color:var(--idle-text);background:var(--idle-card);font-size:11px;font-weight:750}.se-idle-state-dot{width:6px;height:6px;border-radius:50%;background:#78c895}.se-idle-state.is-off{opacity:.72}.se-idle-state.is-off .se-idle-state-dot{background:#b8b2c0}
.se-idle-tags{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:20px}.se-idle-tag{display:inline-flex;align-items:center;min-height:31px;padding:6px 11px;border:1px solid color-mix(in srgb,var(--idle-border) 62%,transparent);border-radius:10px;color:var(--idle-text);background:color-mix(in srgb,var(--idle-card) 88%,transparent);font-size:12px;font-weight:680;white-space:nowrap}.se-idle-tag strong{margin-left:3px;color:var(--idle-title);font-weight:800}.se-idle-tag.is-accent{border-color:color-mix(in srgb,var(--acgse-accent,#9872dd) 28%,transparent);background:color-mix(in srgb,var(--acgse-accent,#9872dd) 10%,var(--idle-card))}
.se-idle-rewards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-bottom:20px}.se-idle-reward{min-width:0;padding:10px 11px;border:1px solid color-mix(in srgb,var(--idle-border) 55%,transparent);border-radius:12px;background:color-mix(in srgb,var(--idle-card) 91%,transparent)}.se-idle-reward-name{display:block;margin-bottom:4px;color:var(--idle-muted);font-size:10px;font-weight:650}.se-idle-reward-value{display:block;overflow:hidden;color:var(--idle-title);font-size:14px;font-weight:800;white-space:nowrap;text-overflow:ellipsis}
.se-idle-bottom{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:auto}.se-idle-hint{min-width:0;color:var(--idle-muted);font-size:11px;line-height:1.5}.se-idle-btn{flex:0 0 auto;min-height:42px;padding:0 19px;border:1px solid color-mix(in srgb,var(--idle-border) 70%,transparent);border-radius:999px;color:var(--idle-title);background:var(--idle-card);font:inherit;font-size:13px;font-weight:800;cursor:pointer}.se-idle-btn.is-primary{border:0;color:#fff;background:linear-gradient(120deg,#e96dac,#9872dd 53%,#6e92e3);box-shadow:0 9px 22px rgba(143,101,196,.19)}.se-idle-cost{margin-left:5px;opacity:.82;font-size:11px;font-weight:650}
html.dark .se-idle-grid,body.dark .se-idle-grid,[data-theme="dark"] .se-idle-grid{--idle-card:rgba(45,41,53,.94)}
@media(max-width:1050px){.se-idle-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.acgse-leisure-selected-slots{grid-template-columns:1fr}}
@media(max-width:680px){.se-idle-grid{grid-template-columns:1fr;gap:13px}.se-idle-card{min-height:0;padding:19px;border-radius:20px}.acgse-leisure-section-head,.acgse-leisure-savebar{align-items:stretch;flex-direction:column}.acgse-leisure-section-head>small{text-align:left}.acgse-leisure-savebar .acggc-btn{width:100%}}

/* Round25 Batch E · equipment quality/exclusive presentation */
.acgse-equipment-badge-row{display:flex;align-items:center;gap:7px;flex-wrap:wrap;margin:6px 0 8px}
.acgse-quality-badge,.acgse-exclusive-badge{display:inline-flex;align-items:center;justify-content:center;min-height:24px;padding:4px 9px;border:1px solid var(--acgse-border,rgba(127,127,127,.2));border-radius:999px;background:var(--acgse-surface-soft,rgba(255,255,255,.62));font-size:11px;font-weight:850;line-height:1;white-space:nowrap}
.acgse-quality-badge.is-broken{opacity:.68}.acgse-quality-badge.is-common{border-color:rgba(113,137,150,.25)}.acgse-quality-badge.is-master{border-color:rgba(72,160,184,.36);box-shadow:inset 0 0 0 1px rgba(72,160,184,.08)}.acgse-quality-badge.is-epic{border-color:rgba(143,101,196,.42);box-shadow:0 5px 15px rgba(143,101,196,.08)}.acgse-quality-badge.is-legendary{border-color:rgba(220,164,51,.48);box-shadow:0 5px 16px rgba(220,164,51,.10)}
.acgse-exclusive-badge{border-color:color-mix(in srgb,var(--theme-skin,var(--acgse-select,#9c73dc)) 45%,transparent);background:color-mix(in srgb,var(--theme-skin,var(--acgse-select,#9c73dc)) 11%,var(--acgse-surface-soft,rgba(255,255,255,.62)))}
.acgse-equipment-effects{display:grid;gap:8px;margin:10px 0}.acgse-equipment-effect{padding:10px 12px;border:1px solid var(--acgse-border,rgba(127,127,127,.18));border-radius:12px;background:var(--acgse-surface-soft,rgba(255,255,255,.48))}.acgse-equipment-effect>small,.acgse-equipment-effect>strong,.acgse-equipment-effect>span{display:block}.acgse-equipment-effect>small{margin-bottom:3px;color:var(--acgse-muted,#8f8898)}.acgse-equipment-effect>strong{margin-bottom:4px;font-size:12px}.acgse-equipment-effect>span{color:var(--acgse-muted,#8f8898);font-size:11px;line-height:1.55}.acgse-equipment-effect.is-exclusive{border-color:color-mix(in srgb,var(--theme-skin,var(--acgse-select,#9c73dc)) 38%,transparent)}

/* Round25 Batch F · Archive V5 filters, rarity names and bounded skin carousel */
.acgse-archive-filterbar{display:grid;gap:10px;margin:0 0 14px;padding:12px;border:1px solid var(--acgse-border,var(--line));border-radius:16px;background:var(--acgse-surface-soft,rgba(255,255,255,.58))}.acgse-archive-filter-fields{display:grid;grid-template-columns:repeat(auto-fit,minmax(135px,1fr));gap:9px}.acgse-archive-filter-fields label{display:grid;gap:5px;min-width:0}.acgse-archive-filter-fields label>span{font-size:11px;font-weight:780;color:var(--acgse-muted,var(--muted))}.acgse-archive-filter-fields input,.acgse-archive-filter-fields select{width:100%;min-width:0}.acgse-archive-filter-actions{display:flex;justify-content:flex-end;gap:8px;flex-wrap:wrap}
.acgse-rarity-name.is-R{color:var(--acgse-text-strong,var(--ink))}.acgse-rarity-name.is-SR{color:color-mix(in srgb,#8b65c8 86%,var(--acgse-text-strong,var(--ink)))}.acgse-rarity-name.is-SSR{color:color-mix(in srgb,#d5962f 82%,var(--acgse-text-strong,var(--ink)))}
.acgse-archive-skin-stage{display:grid;gap:7px;align-content:start}.acgse-archive-skin-stage>img{width:100%;max-height:min(68vh,760px);aspect-ratio:2/3;object-fit:cover;object-position:center top;border-radius:18px;background:var(--acgse-surface-soft,rgba(255,255,255,.5))}.acgse-archive-skin-stage>small{color:var(--acgse-muted,var(--muted));font-size:11px;text-align:center}
.acgse-archive-skin-carousel{margin-top:12px}.acgse-archive-skin-thumbs{display:grid;grid-auto-flow:column;grid-auto-columns:minmax(88px,112px);gap:8px;overflow-x:auto;overscroll-behavior-inline:contain;padding:3px 3px 9px;scroll-snap-type:x proximity}.acgse-archive-skin-thumb{position:relative;display:grid;grid-template-rows:auto auto auto;gap:4px;min-width:0;padding:7px;border:1px solid var(--acgse-border,var(--line));border-radius:13px;background:var(--acgse-surface,var(--glass));color:inherit;text-align:left;cursor:pointer;scroll-snap-align:start}.acgse-archive-skin-thumb>img{width:100%;aspect-ratio:2/3;object-fit:cover;object-position:center top;border-radius:9px}.acgse-archive-skin-thumb>span{overflow:hidden;font-size:11px;font-weight:800;white-space:nowrap;text-overflow:ellipsis}.acgse-archive-skin-thumb>small{color:var(--acgse-muted,var(--muted));font-size:10px}.acgse-archive-skin-thumb.is-active{border-color:var(--theme-skin,var(--acgse-select,#9c73dc));outline:2px solid color-mix(in srgb,var(--theme-skin,var(--acgse-select,#9c73dc)) 24%,transparent);outline-offset:1px}
@media(max-width:680px){.acgse-archive-filter-actions>.acggc-btn{flex:1 1 0}.acgse-archive-skin-thumbs{grid-auto-columns:92px}.acgse-archive-skin-stage>img{max-height:none}}


/* =========================================================
   Round25 Batch G · Unified 6:2 Alliance Identity Card
   The cover remains visually rich while the left-side scrim owns readability.
   ========================================================= */
.acgse-guild-card-grid,.acgse-ranking-card-list{align-items:start}
.acgse-guild-identity-card{
  --acgse-guild-scrim-left:linear-gradient(90deg,rgba(25,19,45,.91) 0%,rgba(31,24,55,.82) 34%,rgba(31,24,55,.52) 59%,rgba(31,24,55,.14) 84%,transparent 100%);
  --acgse-guild-scrim-bottom:linear-gradient(0deg,rgba(12,10,27,.42),transparent 58%);
  position:relative;isolation:isolate;width:100%;aspect-ratio:3/1;min-height:220px;overflow:hidden;
  display:block;padding:0;border:1px solid rgba(180,147,201,.22);border-radius:26px;
  background:rgba(31,24,55,.18);box-shadow:0 18px 48px rgba(70,54,98,.14);color:#fff;
  transition:transform .22s ease,box-shadow .22s ease,border-color .22s ease;
}
.acgse-guild-identity-card:hover{transform:translateY(-2px);border-color:rgba(145,111,211,.34);box-shadow:0 24px 58px rgba(70,54,98,.19)}
.acgse-guild-card-cover{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center;z-index:-4;background:rgba(18,16,33,.24)}
.acgse-guild-card-scrim{position:absolute;inset:0;z-index:-2;background:var(--acgse-guild-scrim-left),var(--acgse-guild-scrim-bottom);pointer-events:none}
.acgse-guild-card-scrim::before{content:"";position:absolute;inset:0;background:linear-gradient(135deg,rgba(51,38,89,.09),rgba(17,17,39,.13));pointer-events:none}
.acgse-guild-card-content{position:relative;z-index:2;width:min(76%,680px);height:100%;display:flex;align-items:center;gap:clamp(15px,2vw,26px);padding:clamp(20px,3vw,32px) clamp(22px,4vw,40px)}
.acgse-guild-emblem-wrap{flex:0 0 auto;width:clamp(72px,9vw,104px);aspect-ratio:1/1;display:grid;place-items:center;overflow:hidden;border:1px solid rgba(255,255,255,.58);border-radius:24px;background:linear-gradient(145deg,rgba(255,255,255,.92),rgba(224,207,255,.76));box-shadow:0 14px 30px rgba(10,8,30,.22),inset 0 1px 0 rgba(255,255,255,.85);backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px)}
.acgse-guild-emblem{display:block;width:100%;height:100%;object-fit:cover;border:0;border-radius:0;background:transparent}
.acgse-guild-card-copy{min-width:0;flex:1}
.acgse-guild-card-eyebrow{display:block;margin-bottom:6px;color:rgba(255,255,255,.58);font-size:10px;font-weight:800;letter-spacing:.1em;text-shadow:0 2px 10px rgba(0,0,0,.45)}
.acgse-guild-card-meta{display:flex;align-items:center;gap:7px;flex-wrap:wrap;margin-bottom:7px}
.acgse-guild-card-tag,.acgse-guild-card-city{display:inline-flex;align-items:center;min-height:24px;padding:4px 8px;border:1px solid rgba(255,255,255,.17);border-radius:8px;color:#fff;background:rgba(11,10,27,.30);font-size:11px;font-weight:760;backdrop-filter:blur(7px);-webkit-backdrop-filter:blur(7px)}
.acgse-guild-card-level{color:rgba(255,255,255,.75);font-size:11px;font-weight:750;text-shadow:0 2px 10px rgba(0,0,0,.44)}
.acgse-guild-card-title{margin:0;color:#fff;font-size:clamp(23px,3vw,36px);line-height:1.15;font-weight:900;letter-spacing:-.025em;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;text-shadow:0 2px 3px rgba(0,0,0,.48),0 8px 22px rgba(0,0,0,.34)}
.acgse-guild-card-desc{margin:8px 0 0;max-width:470px;color:rgba(255,255,255,.76);font-size:12px;line-height:1.55;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;text-shadow:0 2px 12px rgba(0,0,0,.45)}
.acgse-guild-card-stats{display:flex;align-items:center;flex-wrap:wrap;gap:7px 0;margin-top:15px}
.acgse-guild-card-stat{display:inline-flex;align-items:center;gap:5px;color:rgba(255,255,255,.92);font-size:12px;font-weight:690;text-shadow:0 2px 9px rgba(0,0,0,.48)}
.acgse-guild-card-stat b{color:rgba(255,255,255,.62);font-size:10px;letter-spacing:.04em}
.acgse-guild-card-stat+.acgse-guild-card-stat::before{content:"";width:3px;height:3px;margin:0 10px;border-radius:50%;background:rgba(255,255,255,.54)}
.acgse-guild-card-state{position:absolute;z-index:4;top:17px;right:18px;display:inline-flex;align-items:center;gap:7px;padding:6px 10px;border:1px solid rgba(255,255,255,.15);border-radius:999px;color:rgba(255,255,255,.80);background:rgba(10,8,25,.24);font-size:10px;font-weight:750;backdrop-filter:blur(9px);-webkit-backdrop-filter:blur(9px);text-shadow:0 1px 7px rgba(0,0,0,.36)}
.acgse-guild-card-state-dot{width:6px;height:6px;border-radius:50%;background:#84dfa5;box-shadow:0 0 0 4px rgba(132,223,165,.12)}
.acgse-guild-card-state.is-full .acgse-guild-card-state-dot{background:#e8c873;box-shadow:0 0 0 4px rgba(232,200,115,.12)}
.acgse-guild-card-actions{position:absolute;z-index:5;right:18px;bottom:16px;display:flex;flex-direction:row;align-items:center;justify-content:flex-end;gap:7px;max-width:42%;flex-wrap:wrap}
.acgse-guild-card-actions .acggc-btn{backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px)}
.acgse-guild-role-badge{padding:5px 9px;border:1px solid rgba(255,255,255,.16);border-radius:999px;background:rgba(10,8,25,.28);color:#fff;font-weight:800;backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px)}
.acgse-guild-identity-card.is-compact{aspect-ratio:3/1;min-height:190px;display:block;grid-template-columns:none}
.acgse-guild-identity-card.is-compact .acgse-guild-card-content{width:min(80%,650px)}
.acgse-guild-city-art{display:none!important}
.dark .acgse-guild-identity-card,.dark-theme .acgse-guild-identity-card,html.dark .acgse-guild-identity-card,body.dark .acgse-guild-identity-card,[data-theme="dark"] .acgse-guild-identity-card{--acgse-guild-scrim-left:linear-gradient(90deg,rgba(9,8,22,.94) 0%,rgba(17,13,36,.86) 35%,rgba(20,16,42,.56) 61%,rgba(20,16,42,.15) 85%,transparent 100%);border-color:rgba(222,205,255,.14);box-shadow:0 20px 55px rgba(0,0,0,.34)}
@media(max-width:780px){
  .acgse-guild-identity-card,.acgse-guild-identity-card.is-compact{aspect-ratio:auto;min-height:220px;border-radius:21px}
  .acgse-guild-card-content,.acgse-guild-identity-card.is-compact .acgse-guild-card-content{width:88%;padding:44px 20px 54px;gap:14px}
  .acgse-guild-emblem-wrap{width:70px;border-radius:19px}
  .acgse-guild-card-title{font-size:25px}
  .acgse-guild-card-actions{left:20px;right:20px;bottom:13px;max-width:none;justify-content:flex-start}
}
@media(max-width:520px){
  .acgse-guild-identity-card,.acgse-guild-identity-card.is-compact{min-height:226px;border-radius:18px}
  .acgse-guild-card-content,.acgse-guild-identity-card.is-compact .acgse-guild-card-content{width:100%;padding:48px 15px 54px;gap:11px}
  .acgse-guild-emblem-wrap{width:58px;border-radius:16px}
  .acgse-guild-card-eyebrow,.acgse-guild-card-city{display:none}
  .acgse-guild-card-desc{font-size:11px;max-width:100%}
  .acgse-guild-card-stat{font-size:11px}
  .acgse-guild-card-state{top:12px;right:12px}
  .acgse-guild-card-actions{left:14px;right:14px}
}
@media(prefers-reduced-motion:reduce){.acgse-guild-identity-card{transition:none}}


/* =========================================================
   Round25 Batch H · Star Echo Gacha + Server Fact Disclosure
   ========================================================= */









.acggc-star-echo-page .acggc-headhunt-banner{min-height:430px!important;border-radius:22px!important}.acggc-star-echo-page .acggc-banner-copy{padding:70px 8% 120px!important}.acggc-star-echo-page .acggc-banner-copy h2{font-size:clamp(36px,4vw,50px)!important}


.acgse-gacha-disclosure{margin:0 18px 18px;display:grid;gap:12px}.acgse-gacha-disclosure-grid{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(280px,.75fr);gap:14px}.acgse-gacha-rule-card,.acgse-gacha-pity-card,.acgse-gacha-pool-panel,.acgse-gacha-disclosure-loading,.acgse-gacha-disclosure-error{border:1px solid var(--line);border-radius:20px;padding:20px;background:color-mix(in srgb,var(--glass) 92%,transparent);box-shadow:0 10px 28px rgba(70,54,98,.07)}.acgse-gacha-rule-card h2,.acgse-gacha-pity-card h2,.acgse-gacha-pool-panel h2{margin:4px 0 14px;color:var(--ink)}.acgse-gacha-rule-card p,.acgse-gacha-pity-card p{margin:8px 0;color:var(--muted);font-size:12px;line-height:1.7}.acgse-gacha-rate-row{display:flex;gap:9px;flex-wrap:wrap;margin:8px 0 16px}.acgse-gacha-rate-row>*{padding:8px 11px;border:1px solid var(--line);border-radius:10px;background:var(--glass);color:var(--ink)}.acgse-gacha-rate-row b{color:#d79b00;background:#fff8db;border-color:#f3d77a}.acgse-gacha-fact-chips{display:flex;gap:7px;flex-wrap:wrap;margin-bottom:12px}.acgse-gacha-fact-chips span{padding:6px 9px;border-radius:999px;background:color-mix(in srgb,#ef829d 10%,var(--glass));border:1px solid color-mix(in srgb,#ef829d 22%,var(--line));font-size:11px;font-weight:750;color:var(--ink)}.acgse-gacha-pity-card>button{margin-top:12px}.acgse-gacha-pool-panel{content-visibility:auto;contain-intrinsic-size:360px}.acgse-gacha-pool-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:9px}.acgse-gacha-pool-item{min-width:0;padding:11px;border:1px solid var(--line);border-radius:13px;background:var(--glass);display:grid;gap:4px}.acgse-gacha-pool-item>span{font-size:10px;font-weight:800}.acgse-gacha-pool-item>strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--ink)}.acgse-gacha-pool-item>small{color:var(--muted)}.acgse-gacha-pool-item.rarity-SSR{border-color:rgba(243,180,37,.55);background:linear-gradient(145deg,rgba(255,244,199,.52),var(--glass))}.acgse-gacha-pool-item.rarity-SR{border-color:rgba(144,104,205,.38)}.acgse-gacha-disclosure-foot{display:flex;justify-content:space-between;gap:10px;flex-wrap:wrap;padding:0 4px;color:var(--muted);font-size:10px}.acgse-gacha-disclosure-error{display:flex;align-items:center;gap:10px;flex-wrap:wrap;color:var(--muted)}
@media(max-width:1100px){.acgse-gacha-disclosure-grid{grid-template-columns:1fr}.acgse-gacha-pool-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:620px){.acggc-star-echo-page .acggc-banner-copy{padding:58px 52px 110px!important}.acgse-gacha-disclosure{margin-inline:10px}.acgse-gacha-pool-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.acgse-gacha-rule-card,.acgse-gacha-pity-card,.acgse-gacha-pool-panel{padding:16px}}


/* Round26 Batch B · Presentation / Namecard / Alliance convergence */
.acgse-guild-identity-card.acgse-namecard-surface{
  --acgse-guild-on-media-ink:var(--acgse-namecard-ink,#fbfbff);
  --acgse-guild-on-media-muted:var(--acgse-namecard-muted,rgba(248,248,255,.84));
  --acgse-guild-on-media-glass:var(--acgse-namecard-glass,rgba(12,15,34,.60));
  --acgse-guild-on-media-border:var(--acgse-namecard-border,rgba(255,255,255,.28));
  color:var(--acgse-guild-on-media-ink);
  border-color:color-mix(in srgb,var(--acgse-border,var(--line)) 56%,var(--acgse-guild-on-media-border) 44%);
}
.acgse-guild-identity-card.acgse-namecard-surface .acgse-guild-card-eyebrow,.acgse-guild-identity-card.acgse-namecard-surface .acgse-guild-card-level,.acgse-guild-identity-card.acgse-namecard-surface .acgse-guild-card-desc,.acgse-guild-identity-card.acgse-namecard-surface .acgse-guild-card-stat b{color:var(--acgse-guild-on-media-muted)!important}
.acgse-guild-identity-card.acgse-namecard-surface .acgse-guild-card-title,.acgse-guild-identity-card.acgse-namecard-surface .acgse-guild-card-stat,.acgse-guild-identity-card.acgse-namecard-surface .acgse-guild-card-tag,.acgse-guild-identity-card.acgse-namecard-surface .acgse-guild-card-city,.acgse-guild-identity-card.acgse-namecard-surface .acgse-guild-role-badge{color:var(--acgse-guild-on-media-ink)!important}
.acgse-guild-identity-card.acgse-namecard-surface .acgse-guild-card-tag,.acgse-guild-identity-card.acgse-namecard-surface .acgse-guild-card-city,.acgse-guild-identity-card.acgse-namecard-surface .acgse-guild-role-badge,.acgse-guild-identity-card.acgse-namecard-surface .acgse-guild-card-state{background:color-mix(in srgb,var(--acgse-guild-on-media-glass) 86%,transparent);border-color:var(--acgse-guild-on-media-border)}
.acgse-guild-identity-card.acgse-namecard-surface .acgse-guild-card-scrim{background:linear-gradient(100deg,rgba(7,9,24,.91),rgba(7,9,24,.62) 58%,rgba(7,9,24,.32)),linear-gradient(0deg,rgba(8,7,22,.38),transparent 58%)}
html.dark .acgse-guild-identity-card.acgse-namecard-surface,body.dark .acgse-guild-identity-card.acgse-namecard-surface,html[data-theme="dark"] .acgse-guild-identity-card.acgse-namecard-surface,body[data-theme="dark"] .acgse-guild-identity-card.acgse-namecard-surface,.dark-mode .acgse-guild-identity-card.acgse-namecard-surface{box-shadow:0 20px 55px rgba(0,0,0,.34)}
.acgse-friend-overflow-toggle.has-reward{position:relative;box-shadow:0 0 0 2px color-mix(in srgb,var(--theme-skin,var(--acgse-accent,#ef82b5)) 46%,transparent)}
.acgse-friend-overflow-toggle.has-reward::after{content:"";position:absolute;right:-2px;top:-2px;width:8px;height:8px;border-radius:50%;background:var(--theme-skin,var(--acgse-accent,#ef82b5));box-shadow:0 0 0 2px var(--acgse-namecard-glass,rgba(12,15,34,.72))}
.acgse-friend-overflow-menu{display:grid;gap:6px}
.acgse-lord-namecard-card.is-v2 .acgse-lord-v2-info{grid-template-columns:minmax(0,1fr) auto;grid-template-rows:auto auto minmax(0,1fr) auto;align-content:stretch}
.acgse-lord-namecard-card.is-v2 .acgse-lord-v2-info>.acggc-kicker{grid-column:1;grid-row:1}
.acgse-lord-namecard-card.is-v2 .acgse-lord-v2-info>h2{grid-column:1;grid-row:2}
.acgse-lord-namecard-card.is-v2 .acgse-lord-v2-info>p{grid-column:1;grid-row:3}
.acgse-lord-namecard-card.is-v2 .acgse-lord-namecard-actions{grid-column:1;grid-row:4;align-self:end}
.acgse-lord-namecard-card.is-v2 .acgse-lord-namecard-supports{grid-column:2;grid-row:2/5;align-self:end!important;align-items:flex-end!important;justify-self:end!important}
@media(max-width:520px){.acgse-lord-namecard-card.is-v2 .acgse-lord-v2-info{grid-template-columns:minmax(0,1fr) auto;grid-template-rows:auto auto auto auto}.acgse-lord-namecard-card.is-v2 .acgse-lord-namecard-supports{grid-row:2/5}}


/* Round26 Batch C · SelectionState V5 + reusable FrontendAssetPicker core */
.acgse-selection-mark,.acgse-card-selected-badge{display:none!important}
:is(.acgse-workbench-quick,.acggc-character-avatar-pick,.acgse-staff-quick-card,.acggc-unit-pick,.acgse-quick-pick-card,.acgse-asset-picker-card,.acgse-leisure-building-quick)[aria-pressed="true"]{position:relative}
:is(.acgse-workbench-quick,.acggc-character-avatar-pick,.acgse-staff-quick-card,.acggc-unit-pick,.acgse-quick-pick-card,.acgse-asset-picker-card,.acgse-leisure-building-quick)[aria-pressed="true"]::after{content:"";position:absolute;z-index:8;top:7px;right:7px;display:block;width:22px;height:22px;border-radius:999px;background-color:var(--theme-skin,var(--acgse-accent,#ef82b5));background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='white' d='M9.2 16.6 4.8 12.2l1.8-1.8 2.6 2.6 8.2-8.2 1.8 1.8z'/%3E%3C/svg%3E");background-position:center;background-repeat:no-repeat;background-size:14px 14px;box-shadow:0 4px 14px rgba(0,0,0,.22),0 0 0 2px rgba(255,255,255,.82);pointer-events:none}
.acgse-asset-picker-dialog{inset:0;margin:auto;width:min(94vw,900px);max-height:min(88dvh,900px);padding:0;border:1px solid var(--acgse-border,var(--line));border-radius:24px;background:var(--acgse-surface,#fff);color:var(--acgse-text,var(--ink));box-shadow:0 28px 78px rgba(0,0,0,.3)}
.acgse-asset-picker-dialog::backdrop{background:rgba(10,12,25,.48);backdrop-filter:blur(5px)}
.acgse-asset-picker-shell{display:grid;grid-template-rows:auto auto auto minmax(180px,1fr) auto auto;gap:12px;max-height:88vh;padding:18px}
.acgse-asset-picker-shell>header{display:flex;justify-content:space-between;align-items:flex-start;gap:12px}.acgse-asset-picker-shell>header h2{margin:3px 0}.acgse-asset-picker-shell>header p{margin:4px 0 0}
.acgse-asset-picker-toolbar{display:grid;grid-template-columns:minmax(180px,1fr) minmax(0,2fr);gap:12px;align-items:start}.acgse-asset-picker-toolbar>input{width:100%}
.acgse-asset-picker-filters{display:grid;gap:8px}.acgse-asset-picker-filters>section{display:grid;grid-template-columns:auto minmax(0,1fr);gap:8px;align-items:center}.acgse-asset-picker-filters>section>strong{font-size:11px;color:var(--acgse-text-muted,var(--muted))}
.acgse-asset-picker-selected{display:flex;gap:6px;align-items:center;min-height:32px;overflow-x:auto;padding:5px 0}.acgse-asset-picker-selected>span{display:inline-flex;align-items:center;gap:5px;white-space:nowrap;padding:5px 8px;border:1px solid var(--acgse-border,var(--line));border-radius:999px;background:var(--acgse-surface-soft,var(--glass));font-size:11px}.acgse-asset-picker-selected>span b{display:grid;place-items:center;width:18px;height:18px;border-radius:50%;background:color-mix(in srgb,var(--theme-skin,var(--acgse-accent,#ef82b5)) 18%,var(--acgse-surface,#fff))}
.acgse-asset-picker-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:10px;overflow:auto;align-content:start;padding:3px;overscroll-behavior:contain}.acgse-asset-picker-card{appearance:none;position:relative;min-width:0;padding:6px;border:1px solid var(--acgse-border,var(--line));border-radius:14px;background:var(--acgse-surface-soft,var(--glass));color:inherit;text-align:left;cursor:pointer;transition:transform .15s ease,box-shadow .15s ease,border-color .15s ease}.acgse-asset-picker-card:hover{transform:translateY(-1px)}.acgse-asset-picker-card.is-selected{border-color:var(--theme-skin,var(--acgse-accent,#ef82b5));box-shadow:0 0 0 3px color-mix(in srgb,var(--theme-skin,var(--acgse-accent,#ef82b5)) 25%,transparent)}.acgse-asset-picker-card>img{display:block;width:100%;aspect-ratio:2/3;object-fit:cover;object-position:center top;border-radius:10px;background:var(--acgse-surface,#fff)}.acgse-asset-picker-card>span{display:grid;gap:3px;padding:7px 2px 2px}.acgse-asset-picker-card strong,.acgse-asset-picker-card small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.acgse-asset-picker-card small{font-size:10px;color:var(--acgse-text-muted,var(--muted))}
.acgse-asset-picker-shell>footer{display:flex;justify-content:space-between;align-items:center;gap:12px;padding-top:4px;border-top:1px solid var(--acgse-border,var(--line))}.acgse-asset-picker-shell>footer>small{color:var(--acgse-text-muted,var(--muted))}
@media(max-width:900px){.acgse-asset-picker-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.acgse-asset-picker-toolbar{grid-template-columns:1fr}.acgse-asset-picker-filters>section{grid-template-columns:1fr}}
@media(max-width:620px){.acgse-asset-picker-dialog{width:96vw}.acgse-asset-picker-shell{padding:13px}.acgse-asset-picker-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.acgse-asset-picker-shell>footer{align-items:stretch;flex-direction:column}.acgse-asset-picker-shell>footer .acggc-actions{display:grid;grid-template-columns:1fr 1fr}.acgse-asset-picker-card>span{padding-top:5px}}
@media(max-width:420px){.acgse-asset-picker-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* =========================================================
   Round26 Batch E · Unified Staffing / Industry / Detective
   ========================================================= */
.acgse-staffing-section-head{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}.acgse-staffing-section-head>div{display:grid;gap:3px}.acgse-staffing-section-head small{color:var(--acgse-text-muted,var(--muted))}
.acgse-staffing-display{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.acgse-town-staffing .acgse-staffing-display{grid-template-columns:repeat(auto-fit,minmax(150px,1fr))}
.acgse-staffing-display-card{min-width:0;border:1px solid var(--acgse-border,var(--line));border-radius:14px;background:var(--acgse-surface-soft,var(--glass));padding:8px;display:grid;grid-template-columns:minmax(72px,36%) minmax(0,1fr);gap:9px;align-items:start}.acgse-staffing-display-card>img{display:block;width:100%;aspect-ratio:2/3;object-fit:cover;object-position:center top;border-radius:10px;background:var(--acgse-surface,var(--glass))}.acgse-staffing-display-card>span{display:grid;gap:4px;min-width:0;align-content:start}.acgse-staffing-display-card>span>b,.acgse-staffing-display-card>span>em{min-width:0;overflow:hidden;text-overflow:ellipsis}.acgse-staffing-display-card>span>em{font-style:normal;font-size:10px;color:var(--acgse-text-muted,var(--muted));white-space:normal;line-height:1.5}.acgse-staffing-display-card.is-empty{grid-template-columns:1fr;min-height:138px;border-style:dashed;place-items:center;text-align:center}.acgse-staffing-display-card.is-empty>span{place-items:center}.acgse-picker-stat-line{display:flex!important;align-items:center;justify-content:space-between;gap:8px;white-space:normal!important;color:var(--acgse-text-muted,var(--muted));font-size:10px!important}.acgse-picker-stat-line>b{font-size:10px;color:var(--acgse-text,var(--ink));font-weight:750}.acgse-picker-stat-line>span{font-variant-numeric:tabular-nums}.acgse-picker-recipe-input{display:block!important;white-space:normal!important;line-height:1.45}
.acgse-facility-recipe-current{display:grid;grid-template-columns:82px minmax(0,1fr);gap:10px;align-items:start;border:1px solid var(--acgse-border,var(--line));border-radius:14px;padding:9px;background:var(--acgse-surface,var(--glass))}.acgse-facility-recipe-current>img{width:100%;aspect-ratio:1/1;object-fit:cover;border-radius:10px}.acgse-facility-recipe-current>span{display:grid;gap:4px;min-width:0}.acgse-facility-recipe-current>span>em{font-style:normal;font-size:11px;color:var(--acgse-text-muted,var(--muted));white-space:normal}.acgse-facility-recipe-current.is-empty{grid-template-columns:1fr;border-style:dashed}.acgse-staffing-legacy{border-top:1px dashed var(--acgse-border,var(--line));padding-top:8px}.acgse-staffing-legacy>summary{cursor:pointer;font-size:11px;color:var(--acgse-text-muted,var(--muted));margin-bottom:8px}
.acgse-detective-staffing-display{grid-template-columns:repeat(3,minmax(0,1fr))}.acgse-detective-staff.acgse-staffing-display-card{grid-template-columns:minmax(78px,38%) minmax(0,1fr)}.acgse-detective-staff.acgse-staffing-display-card>img{width:100%;height:auto;aspect-ratio:2/3;border-radius:10px;object-fit:cover;object-position:center top}.acgse-detective-staff.acgse-staffing-display-card.is-empty{grid-template-columns:1fr}
@media(max-width:900px){.acgse-staffing-display,.acgse-detective-staffing-display{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:620px){.acgse-staffing-display,.acgse-detective-staffing-display,.acgse-town-staffing .acgse-staffing-display{grid-template-columns:1fr}.acgse-staffing-display-card{grid-template-columns:86px minmax(0,1fr)}.acgse-facility-recipe-current{grid-template-columns:72px minmax(0,1fr)}}

/* =========================================================
   Round26 Batch F · Adventure Enemy Intelligence
   ========================================================= */
.acgse-stage-enemy-card{grid-template-columns:112px minmax(0,1fr);align-items:start}.acgse-stage-enemy-card>img{width:112px;height:auto;aspect-ratio:2/3;object-fit:cover;object-position:center top}.acgse-stage-enemy-card>img.is-silhouette{filter:grayscale(1) brightness(.18);opacity:.7}.acgse-stage-enemy-copy{display:grid!important;gap:9px!important;min-width:0}.acgse-stage-enemy-title{display:flex!important;flex-direction:row!important;justify-content:space-between;align-items:center;gap:10px;flex-wrap:wrap}.acgse-stage-enemy-title>span{padding:4px 8px;border:1px solid var(--acgse-border,var(--line));border-radius:999px;font-size:10px;color:var(--acgse-text-muted,var(--muted));background:var(--acgse-surface-soft,var(--glass))}.acgse-stage-enemy-card.is-defeated .acgse-stage-enemy-title>span{border-color:color-mix(in srgb,var(--theme-skin,var(--acgse-accent,#ef82b5)) 50%,var(--acgse-border,var(--line)));color:var(--acgse-text,var(--ink))}.acgse-stage-enemy-card .acgse-stat-facts{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr));gap:7px}.acgse-stage-enemy-card .acgse-fact-chips{display:flex!important;flex-direction:row!important;gap:6px!important;flex-wrap:wrap}.acgse-stage-enemy-mechanic{display:grid!important;gap:6px!important;margin:0!important;padding:9px;border:1px solid var(--acgse-border,var(--line));border-radius:12px;background:var(--acgse-surface-soft,var(--glass))}.acgse-stage-enemy-mechanic p{margin:0}.acgse-stage-enemy-skills{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px!important}.acgse-stage-enemy-skill{display:grid!important;gap:6px!important;margin:0!important;padding:10px;border:1px solid var(--acgse-border,var(--line));border-radius:12px;background:var(--acgse-surface-soft,var(--glass))}.acgse-stage-enemy-skill .acgse-fact-chips,.acgse-stage-enemy-skill .acgse-skill-effect-tags{display:flex!important;flex-direction:row!important;gap:6px!important;flex-wrap:wrap}.acgse-stage-enemy-card.is-seen{border-style:dashed}.acgse-stage-enemy-card.is-unknown{opacity:.84}
@media(max-width:760px){.acgse-stage-enemy-card{grid-template-columns:84px minmax(0,1fr)}.acgse-stage-enemy-card>img{width:84px}.acgse-stage-enemy-card .acgse-stat-facts{grid-template-columns:repeat(2,minmax(0,1fr))}.acgse-stage-enemy-skills{grid-template-columns:1fr}}
@media(max-width:520px){.acgse-stage-enemy-card{grid-template-columns:1fr}.acgse-stage-enemy-card>img{width:min(150px,48vw);justify-self:center}}

/* Round26 G · Alliance / arena information architecture */
.acgse-competitive-subnav{display:flex;gap:8px;flex-wrap:wrap;margin:14px 0 16px;padding:6px;border:1px solid var(--acgse-border,var(--line));border-radius:18px;background:var(--acgse-surface-soft,var(--glass))}.acgse-competitive-subnav button{appearance:none;border:1px solid transparent;border-radius:999px;padding:9px 16px;background:transparent;color:var(--acgse-text,var(--ink));font-weight:800;cursor:pointer}.acgse-competitive-subnav button.is-active{border-color:color-mix(in srgb,var(--theme-skin,#ef82b5) 56%,var(--acgse-border,var(--line)));background:color-mix(in srgb,var(--theme-skin,#ef82b5) 15%,var(--acgse-surface,var(--glass)))}
.acgse-competitive-sections{display:block}.acgse-competitive-section{padding:20px;border:1px solid var(--acgse-border,var(--line));border-radius:20px;background:var(--acgse-surface-soft,var(--glass));min-width:0}.acgse-competitive-section[hidden]{display:none!important}.acgse-competitive-section>h2{margin-top:4px}
.acgse-guild-join-cta,.acgse-guild-directory-joined{margin-top:14px;padding:16px;border:1px dashed var(--acgse-border,var(--line));border-radius:16px;background:var(--acgse-surface,var(--glass))}.acgse-guild-join-cta p,.acgse-guild-directory-joined p{margin:6px 0 12px;color:var(--acgse-muted,var(--muted))}.acgse-guild-directory-toolbar{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;margin-bottom:14px}.acgse-guild-directory-toolbar input{min-width:0}.acgse-guild-directory-pager{margin-top:14px}
.acggc-competitive-rankings.is-full-row{grid-template-columns:1fr}.acggc-competitive-rankings.is-full-row>section{min-width:0}.acggc-competitive-rankings.is-full-row .acgse-ranking-card-list{margin-top:12px}.acggc-competitive-rankings.is-full-row .acgse-rank-namecard{min-width:0}
@media(max-width:720px){.acgse-competitive-subnav{overflow-x:auto;flex-wrap:nowrap;scrollbar-width:thin}.acgse-competitive-subnav button{white-space:nowrap}.acgse-guild-directory-toolbar{grid-template-columns:1fr}.acggc-competitive-rankings.is-full-row .acgse-ranking-card-list{grid-template-columns:1fr}}


/* =========================================================
   Round26 Batch H · Equipment Battlefield + Archive Chip Menus
   ========================================================= */
.acgse-equipment-battlefield{display:grid;gap:8px;margin:12px 0;padding:12px 14px;border:1px solid var(--acgse-border,var(--line));border-radius:14px;background:var(--acgse-surface-soft,rgba(255,255,255,.5))}.acgse-equipment-battlefield>h3{margin:0;font-size:15px}.acgse-equipment-battlefield>small{color:var(--acgse-muted,var(--muted));line-height:1.55}.acgse-equipment-battlefield-compact{margin-top:8px}.acgse-help-panel{margin:0 0 14px;padding:10px 13px;border:1px solid var(--acgse-border,var(--line));border-radius:14px;background:var(--acgse-surface-soft,rgba(255,255,255,.48))}.acgse-help-panel>summary{cursor:pointer;font-weight:820}.acgse-help-panel>div{display:grid;gap:6px;padding-top:9px;color:var(--acgse-muted,var(--muted));font-size:12px;line-height:1.65}.acgse-help-panel p{margin:0}.acgse-archive-filter-fields{grid-template-columns:1fr}.acgse-archive-search-field{display:grid;gap:5px;max-width:min(520px,100%)}.acgse-archive-search-field>span,.acgse-archive-chip-group>span{font-size:11px;font-weight:780;color:var(--acgse-muted,var(--muted))}.acgse-archive-search-field input{width:100%;min-width:0}.acgse-archive-chip-group{display:grid;gap:6px;min-width:0}.acgse-archive-chip-row{display:flex;align-items:center;gap:7px;overflow-x:auto;padding:1px 1px 5px;scrollbar-width:thin}.acgse-archive-filter-chip{flex:0 0 auto;min-height:31px;padding:6px 11px;border:1px solid var(--acgse-border,var(--line));border-radius:999px;background:var(--acgse-surface,var(--glass));color:var(--acgse-text,var(--ink));font-size:11px;font-weight:760;cursor:pointer}.acgse-archive-filter-chip:hover,.acgse-archive-filter-chip:focus-visible{border-color:color-mix(in srgb,var(--theme-skin,var(--acgse-select,#9c73dc)) 55%,var(--acgse-border,var(--line)))}.acgse-archive-filter-chip.is-active,.acgse-archive-filter-chip[aria-pressed="true"]{border-color:var(--theme-skin,var(--acgse-select,#9c73dc));background:color-mix(in srgb,var(--theme-skin,var(--acgse-select,#9c73dc)) 14%,var(--acgse-surface,var(--glass)));box-shadow:0 0 0 2px color-mix(in srgb,var(--theme-skin,var(--acgse-select,#9c73dc)) 13%,transparent)}
@media(max-width:680px){.acgse-archive-filter-actions{justify-content:stretch}.acgse-archive-filter-actions>.acggc-note{flex:1 0 100%}}

/* =========================================================
   Round31 Batch A · Shared SettingSwitch / ControlField contracts
   ========================================================= */
[data-acgse-app] .acgse-setting-switch{position:relative;display:grid;grid-template-columns:42px minmax(0,1fr);align-items:center;gap:9px;color:var(--ink);cursor:pointer}
[data-acgse-app] .acgse-setting-switch input{appearance:none;width:42px;height:24px;margin:0;border:0;border-radius:999px;background:#aaa4b8;box-shadow:inset 0 1px 4px rgba(0,0,0,.18);position:relative;cursor:pointer}
[data-acgse-app] .acgse-setting-switch input::after{content:"";position:absolute;width:18px;height:18px;left:3px;top:3px;border-radius:50%;background:#fff;box-shadow:0 2px 6px rgba(0,0,0,.25);transition:transform .2s ease}
[data-acgse-app] .acgse-setting-switch input:checked{background:linear-gradient(135deg,#775ed4,#50a9c8)}
[data-acgse-app] .acgse-setting-switch input:checked::after{transform:translateX(18px)}
[data-acgse-app] .acgse-setting-switch input:disabled{opacity:.45;cursor:not-allowed}
[data-acgse-app] .acgse-setting-switch>span{display:grid;gap:2px;min-width:0}
[data-acgse-app] .acgse-setting-switch b{font-size:13px}
[data-acgse-app] .acgse-setting-switch small{color:var(--muted);font-size:11px;line-height:1.45}
[data-acgse-app] .acgse-setting-switch--compact{width:100%;padding:10px 12px;border:1px solid color-mix(in srgb,#8069d8 18%,var(--line));border-radius:13px;background:color-mix(in srgb,#8069d8 5%,var(--glass))}
[data-acgse-app] .acgse-quick-battle-controls{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:11px 14px;align-items:end;padding:16px;margin:0 0 16px;border:1px solid rgba(216,180,204,.4);border-radius:17px;background:rgba(255,250,253,.82)}
[data-acgse-app] .acgse-quick-battle-copy{grid-column:1/-1;display:grid;gap:3px}
[data-acgse-app] .acgse-quick-battle-copy small{color:var(--muted);line-height:1.45}
[data-acgse-app] .acgse-control-grid{display:grid;grid-template-columns:.8fr 1fr 1.35fr .58fr;gap:8px;min-width:0}
[data-acgse-app] .acgse-control-field{display:flex;flex-direction:column;gap:5px;min-width:0;font-size:11px;color:var(--muted)}
[data-acgse-app] .acgse-control-input{display:block;width:100%;min-width:0;height:42px;min-height:42px;padding:0 11px;border:1px solid var(--line);border-radius:10px;background:var(--glass);color:var(--ink);line-height:40px}
[data-acgse-app] .acgse-control-action{min-height:42px;white-space:nowrap}
@media(max-width:980px){[data-acgse-app] .acgse-quick-battle-controls{grid-template-columns:1fr}[data-acgse-app] .acgse-control-grid{grid-template-columns:repeat(2,minmax(0,1fr))}[data-acgse-app] .acgse-control-action{width:100%}}
@media(max-width:560px){[data-acgse-app] .acgse-control-grid{grid-template-columns:1fr}}

[data-acgse-app] .acgse-leisure-picker-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin:10px 0}

/* Round31 Batch C — public lord cards shared by arena and coop. */
[data-acgse-app] .acgse-public-lord-list{display:grid;gap:10px}
[data-acgse-app] .acgse-public-lord-compact{position:relative;isolation:isolate;overflow:hidden;width:100%;min-height:92px;display:grid;grid-template-columns:58px minmax(0,1fr) auto auto;gap:10px;align-items:center;padding:10px 12px;border:1px solid var(--line);border-radius:15px;background:linear-gradient(90deg,rgba(10,13,29,.88),rgba(10,13,29,.58)),var(--acgse-public-card-bg),var(--glass);background-size:cover;background-position:center;color:#fff;text-align:left;box-shadow:0 8px 24px rgba(26,24,42,.08)}
[data-acgse-app] button.acgse-public-lord-compact{appearance:none;font:inherit;cursor:pointer}
[data-acgse-app] button.acgse-public-lord-compact:hover{transform:translateY(-1px);border-color:color-mix(in srgb,var(--theme-skin,var(--acgse-accent,#ef82b5)) 52%,var(--line))}
[data-acgse-app] .acgse-public-lord-avatar{display:block;width:58px;height:58px;border-radius:13px;object-fit:cover;object-position:center top;border:2px solid rgba(255,255,255,.74);background:var(--glass)}
[data-acgse-app] .acgse-public-lord-copy{min-width:0;display:grid;gap:4px}
[data-acgse-app] .acgse-public-lord-copy b,[data-acgse-app] .acgse-public-lord-copy small{display:block;min-width:0;overflow:hidden;text-overflow:ellipsis}
[data-acgse-app] .acgse-public-lord-copy b{font-size:13px;color:#fff;white-space:nowrap}
[data-acgse-app] .acgse-public-lord-copy small{font-size:10px;line-height:1.35;color:rgba(255,255,255,.82);white-space:normal}
[data-acgse-app] .acgse-public-lord-supports{display:flex;gap:4px;align-items:flex-end}
[data-acgse-app] .acgse-public-lord-supports img,[data-acgse-app] .acgse-public-lord-supports i{display:block;width:28px;aspect-ratio:2/3;border-radius:6px;object-fit:cover;object-position:center top;border:1px solid rgba(255,255,255,.48);background:rgba(255,255,255,.12)}
[data-acgse-app] .acgse-public-lord-compact>em{font-style:normal;font-size:10px;font-weight:800;padding:6px 9px;border-radius:999px;background:rgba(255,255,255,.16);white-space:nowrap}
[data-acgse-app] .acgse-lord-equipped-title{display:inline-flex!important;width:max-content;max-width:100%;height:auto;min-height:0!important;line-height:1.2;align-self:flex-start;padding:2px 6px;flex:0 1 auto}
[data-acgse-app] .acgse-lord-namecard-card.is-v2 .acgse-lord-namecard-support img{aspect-ratio:2/3;object-fit:cover;object-position:center top}
@media(max-width:620px){[data-acgse-app] .acgse-public-lord-compact{grid-template-columns:50px minmax(0,1fr) auto;min-height:82px;padding:9px}[data-acgse-app] .acgse-public-lord-avatar{width:50px;height:50px}[data-acgse-app] .acgse-public-lord-supports{display:none}[data-acgse-app] .acgse-public-lord-compact>em{grid-column:3}}

/* Round31 Batch D — compact hero dossier and cooperative strategic report. */
[data-acgse-app] .acgse-season-hero-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(140px,170px));justify-content:start;align-items:stretch;gap:10px}
[data-acgse-app] .acgse-hero-dossier-card.is-compact{min-width:0;overflow:hidden;border:1px solid var(--acgse-rarity-line,var(--line));border-radius:14px;background:var(--glass);box-shadow:inset 0 3px 0 var(--acgse-rarity-color,var(--line));display:grid;grid-template-rows:auto 1fr}
[data-acgse-app] .acgse-hero-dossier-art{position:relative;overflow:hidden;background:var(--glass)}
[data-acgse-app] .acgse-hero-dossier-art>img{display:block;width:100%;aspect-ratio:2/3;object-fit:cover;object-position:center top}
[data-acgse-app] .acgse-hero-dossier-art>span{position:absolute;top:7px;left:7px}
[data-acgse-app] .acgse-hero-dossier-copy{display:grid;align-content:start;gap:5px;padding:9px}
[data-acgse-app] .acgse-hero-dossier-copy>b{font-size:13px}
[data-acgse-app] .acgse-hero-dossier-copy>small,[data-acgse-app] .acgse-hero-dossier-copy>p{margin:0;color:var(--muted);font-size:10px;line-height:1.45}
[data-acgse-app] .acgse-coop-report-shell{margin-top:14px;padding:14px;border:1px solid var(--line);border-radius:17px;background:var(--glass)}
[data-acgse-app] .acgse-coop-report-head{display:flex;align-items:flex-end;justify-content:space-between;gap:12px;margin-bottom:10px}
[data-acgse-app] .acgse-coop-report-head h2{margin:2px 0 0;font-size:18px}
[data-acgse-app] .acgse-coop-report-timeline{position:relative;display:grid;gap:0;padding-left:18px}
[data-acgse-app] .acgse-coop-report-timeline:before{content:"";position:absolute;left:7px;top:8px;bottom:8px;width:2px;background:color-mix(in srgb,var(--theme-skin,var(--acgse-accent,#ef82b5)) 34%,var(--line))}
[data-acgse-app] .acgse-coop-report-node{position:relative;padding:0 0 12px 14px}
[data-acgse-app] .acgse-coop-report-node>i{position:absolute;left:-16px;top:12px;width:10px;height:10px;border-radius:50%;background:var(--theme-skin,var(--acgse-accent,#ef82b5));box-shadow:0 0 0 4px var(--glass)}
[data-acgse-app] .acgse-coop-report-node-body{display:grid;grid-template-columns:auto minmax(0,1fr);gap:3px 9px;padding:10px;border:1px solid var(--line);border-radius:13px;background:color-mix(in srgb,var(--glass) 92%,transparent)}
[data-acgse-app] .acgse-coop-report-node-body>img{grid-row:1/6;width:78px;aspect-ratio:16/9;object-fit:cover;border-radius:9px}
[data-acgse-app] .acgse-coop-report-node-body>span,[data-acgse-app] .acgse-coop-report-node-body>h2,[data-acgse-app] .acgse-coop-report-node-body>p,[data-acgse-app] .acgse-coop-report-node-body>small{grid-column:2;margin:0}
[data-acgse-app] .acgse-coop-report-node-body>h2{font-size:13px}
[data-acgse-app] .acgse-coop-report-node-body>p,[data-acgse-app] .acgse-coop-report-node-body>small{font-size:10px;line-height:1.5;color:var(--muted)}
[data-acgse-app] .acgse-coop-report-more{display:flex;align-items:center;gap:9px;padding:4px 0 0 14px}
[data-acgse-app] .acgse-coop-report-more small{color:var(--muted)}
@media(max-width:620px){[data-acgse-app] .acgse-season-hero-grid{grid-template-columns:repeat(2,minmax(0,1fr))}[data-acgse-app] .acgse-coop-report-head{align-items:flex-start;flex-direction:column}[data-acgse-app] .acgse-coop-report-node-body{grid-template-columns:1fr}[data-acgse-app] .acgse-coop-report-node-body>img{grid-row:auto;width:100%;aspect-ratio:16/7}[data-acgse-app] .acgse-coop-report-node-body>span,[data-acgse-app] .acgse-coop-report-node-body>h2,[data-acgse-app] .acgse-coop-report-node-body>p,[data-acgse-app] .acgse-coop-report-node-body>small{grid-column:1}}

/* Round31 Batch E: legacy acggc-gacha-* and pre-ControlField quick-battle selectors removed after zero live-reference audit. */

/* Round34-H isolated visual battle sandbox */
.acggc-sandbox-notice{margin:0 0 14px;padding:12px 14px;border:1px solid color-mix(in srgb,currentColor 18%,transparent);border-radius:12px;display:flex;gap:8px;flex-wrap:wrap;align-items:center}.acggc-sandbox-notice strong{font-weight:800}.acggc-sandbox-notice span{opacity:.82}

/* Round38 FR3B-GATE-HF1: extraction movement visualization without inventing server-side coordinates. */
[data-acgse-app] .acggc-extraction-location-panel{position:relative;padding:14px;border:1px solid var(--line);border-radius:16px;background:color-mix(in srgb,var(--glass) 92%,transparent)}
[data-acgse-app] .acggc-extraction-map-help{grid-column:1/-1;margin:0 0 2px;color:var(--muted);font-size:11px;line-height:1.6}
[data-acgse-app] .acggc-location-node{position:relative;min-height:124px;padding-top:34px;background:linear-gradient(145deg,color-mix(in srgb,var(--glass) 94%,transparent),rgba(119,100,220,.055))}
[data-acgse-app] .acggc-location-node:before{content:"";position:absolute;left:-10px;top:50%;width:10px;border-top:1px dashed color-mix(in srgb,#7764dc 45%,var(--line));opacity:.7}
[data-acgse-app] .acggc-location-node-mark{position:absolute;top:10px;left:10px;display:inline-flex;padding:3px 7px;border-radius:999px;background:rgba(119,100,220,.11);color:#6652c7;font-size:10px;font-weight:700}
[data-acgse-app] .acggc-location-node.is-active .acggc-location-node-mark{background:#7764dc;color:#fff}
[data-acgse-app] .acggc-extraction-battle-settlement{grid-column:1/-1;display:grid;gap:5px;padding:14px 16px;border:1px solid rgba(64,155,112,.28);border-radius:15px;background:rgba(64,155,112,.07)}
[data-acgse-app] .acggc-extraction-battle-settlement.is-loss{border-color:rgba(190,80,80,.26);background:rgba(190,80,80,.06)}
[data-acgse-app] .acggc-extraction-battle-settlement h4,[data-acgse-app] .acggc-extraction-battle-settlement p{margin:0}
[data-acgse-app] .acggc-extraction-battle-settlement small{color:var(--muted)}
@media(max-width:620px){[data-acgse-app] .acgse-season-hero-grid{grid-template-columns:repeat(2,minmax(0,1fr));justify-content:stretch}}

[data-acgse-app] .acggc-extraction-location-panel.acggc-extraction-grid-pilot{grid-template-columns:minmax(0,1fr)}[data-acgse-app] .acggc-extraction-location-panel.acggc-extraction-grid-pilot>.acggc-heading,[data-acgse-app] .acggc-extraction-location-panel.acggc-extraction-grid-pilot>[data-acgse-spatial-flow],[data-acgse-app] .acggc-extraction-location-panel.acggc-extraction-grid-pilot>.acggc-extraction-map-help,[data-acgse-app] .acggc-extraction-location-panel.acggc-extraction-grid-pilot>.acggc-legacy-spatial-nodes{grid-column:1/-1;min-width:0;width:100%;box-sizing:border-box}

/* Round39 GRID-A8-HF2 · final production UX clarification */
[data-acgse-app] .acggc-extraction-location-panel.acggc-extraction-grid-pilot{
  display:block!important;
  grid-template-columns:none!important;
  width:100%;
  min-width:0;
  padding:12px!important;
}
[data-acgse-app] .acggc-extraction-location-panel.acggc-extraction-grid-pilot>.acggc-heading{
  margin:0 0 8px;
}
[data-acgse-app] .acggc-extraction-location-panel.acggc-extraction-grid-pilot>[data-acgse-spatial-flow]{
  display:block;
  width:100%;
  min-width:0;
}
[data-acgse-app] .acggc-extraction-location-panel.acggc-extraction-grid-pilot .acgse-spatial-flow{
  width:100%;
  min-width:0;
}
[data-acgse-app] .acggc-extraction-location-panel.acggc-extraction-grid-pilot .acgse-grid-map{
  width:100%;
  max-width:none;
}

/* Round39 GRID-A8-HF3: force Unified Spatial Flow to match full live-report width. */
[data-acgse-app] .acggc-extraction-live>[data-acgse-spatial-flow],[data-acgse-app] .acggc-extraction-location-panel.acggc-extraction-grid-pilot,[data-acgse-app] .acggc-extraction-location-panel.acggc-extraction-grid-pilot>[data-acgse-spatial-flow],[data-acgse-app] .acggc-extraction-location-panel.acggc-extraction-grid-pilot .acgse-spatial-flow{grid-column:1/-1!important;width:100%!important;max-width:none!important;inline-size:100%!important;box-sizing:border-box!important}

/* Round39 GRID-A8-HF4 · match live-report width exactly and remove nested narrow-card feeling. */
[data-acgse-app] .acggc-extraction-live{width:100%!important;max-width:none!important;box-sizing:border-box!important}
[data-acgse-app] .acggc-extraction-location-panel.acggc-extraction-grid-pilot{
  grid-column:1/-1!important;
  justify-self:stretch!important;
  align-self:stretch!important;
  width:100%!important;
  max-width:none!important;
  margin:0!important;
  padding:0!important;
  border:0!important;
  background:transparent!important;
  box-shadow:none!important;
}
[data-acgse-app] .acggc-extraction-location-panel.acggc-extraction-grid-pilot>.acggc-heading{padding:0 2px 6px!important;margin:0!important}
[data-acgse-app] .acggc-extraction-location-panel.acggc-extraction-grid-pilot>[data-acgse-spatial-flow],
[data-acgse-app] .acggc-extraction-location-panel.acggc-extraction-grid-pilot .acgse-spatial-flow,
[data-acgse-app] .acggc-extraction-location-panel.acggc-extraction-grid-pilot .acgse-spatial-flow-stage,
[data-acgse-app] .acggc-extraction-location-panel.acggc-extraction-grid-pilot .acgse-grid-map{width:100%!important;max-width:none!important;min-width:0!important;box-sizing:border-box!important}

/* Round40 A0 · Unified Spatial Flow is the single Extraction location framework. */
[data-acgse-app] .acggc-extraction-location-panel.acggc-extraction-grid-pilot.acgse-spatial-flow{
  display:block!important;
  grid-column:1/-1!important;
  width:100%!important;
  max-width:none!important;
  min-width:0!important;
  margin:0!important;
  padding:0!important;
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  box-shadow:none!important;
}
[data-acgse-app] .acggc-extraction-location-panel.acggc-extraction-grid-pilot.acgse-spatial-flow>.acgse-spatial-flow-map-heading,
[data-acgse-app] .acggc-extraction-location-panel.acggc-extraction-grid-pilot.acgse-spatial-flow>.acgse-spatial-flow-stage,
[data-acgse-app] .acggc-extraction-location-panel.acggc-extraction-grid-pilot.acgse-spatial-flow>.acgse-spatial-flow-footer{
  width:100%!important;
  max-width:none!important;
  box-sizing:border-box!important;
}
\n/* R43-HF2 friendly minimap. */
.acgse-r43-minimap{margin:.8rem 0;padding:.75rem;border:1px solid rgba(127,127,127,.24);border-radius:14px;background:rgba(127,127,127,.07)}
.acgse-r43-minimap header{display:flex;justify-content:space-between;gap:.75rem;align-items:baseline;margin-bottom:.55rem}.acgse-r43-minimap header small,.acgse-r43-minimap p{opacity:.72;font-size:.78rem}
.acgse-r43-minimap-grid{display:grid;grid-template-columns:repeat(var(--mini-cols),1fr);grid-template-rows:repeat(var(--mini-rows),1fr);aspect-ratio:1/1;max-width:240px;width:100%;gap:1px;padding:3px;border-radius:10px;background:rgba(127,127,127,.14);overflow:hidden}
.acgse-r43-minimap-grid::before{content:"";grid-column:1/-1;grid-row:1/-1;background-image:linear-gradient(to right,rgba(127,127,127,.12) 1px,transparent 1px),linear-gradient(to bottom,rgba(127,127,127,.12) 1px,transparent 1px);background-size:calc(100% / var(--mini-cols)) calc(100% / var(--mini-rows));pointer-events:none}
.acgse-r43-minimap-unit{z-index:2;align-self:center;justify-self:center;display:grid;place-items:center;width:1.35rem;height:1.35rem;border-radius:999px;background:var(--acgse-card,#fff);color:var(--acgse-text,#222);font-size:.7rem;font-weight:800;box-shadow:0 1px 8px rgba(0,0,0,.24)}
.acgse-r43-minimap-unit.is-party_teammate{border:1px dashed currentColor}.acgse-r43-minimap-unit.is-selected{outline:2px solid currentColor;outline-offset:2px}
