/* 星火：深渊列车 — 工业废土 / 装甲列车 HUD */
.ab-shell {
  position: absolute; inset: 0; overflow: hidden; background: #04090b; color: #e9e3d2;
  font-family: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  --amber: #ffd36a; --mint: #8be8c6; --rust: #ff7a4f; --ink: #071011;
  user-select: none; touch-action: none;
}
/* 横屏全屏动作模式：列车台面吃满 g-stage，不能被 inherited 高度裁成 0。 */
#gWrap:has(.abyss-live) .g-stage,
body.landscape-mode:has(.abyss-live) .g-stage {
  height: 100%; min-height: 0; padding: 0; border: 0; background: transparent;
}
body.landscape-mode:has(.abyss-live) .abyss-live,
#gWrap:has(.abyss-live) .abyss-live {
  position: absolute !important; inset: 0; width: 100%; height: 100% !important;
  min-height: 0; max-width: none; border-radius: 0; box-shadow: none;
}
/* 结算必须由列车台面自己接管，避免被通用“本局冠军”盖住。 */
.g-wrap.g-live:has(.abyss-live) .g-victory,
.g-wrap.g-live:has(.abyss-live) .g-champ-overlay,
.g-wrap.g-live:has(.abyss-live) .g-final { display: none !important; }
.g-wrap.g-live-done:has(.abyss-live) .g-stage {
  position: fixed; inset: 0; z-index: 260; width: 100vw; height: 100vh; min-height: 0; padding: 0; margin: 0;
  border: 0; border-radius: 0; background: #04090b;
}
.g-wrap.g-live-done:has(.abyss-live) .abyss-live { position: absolute !important; inset: 0; height: 100vh !important; }
.ab-shell:fullscreen, .ab-shell:-webkit-full-screen { width: 100vw; height: 100vh; }
.ab-canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.ab-vignette { position: absolute; inset: 0; pointer-events: none; box-shadow: inset 0 0 120px rgba(0,0,0,.65), inset 0 0 34px rgba(0,0,0,.35); }
.ab-rain { position: absolute; inset: 0; pointer-events: none; opacity: .2; background: linear-gradient(90deg, transparent 0 96%, rgba(160,210,200,.35) 96% 100%); background-size: 8px 100%; mix-blend-mode: screen; }

.ab-top {
  position: absolute; z-index: 4; left: 0; right: 84px; top: 0; display: flex; align-items: flex-start; justify-content: space-between;
  padding: max(8px, env(safe-area-inset-top)) max(12px, env(safe-area-inset-right)) 8px max(12px, env(safe-area-inset-left));
  background: linear-gradient(180deg, rgba(3,9,10,.94), rgba(3,9,10,.45) 74%, transparent);
  pointer-events: none;
}
.ab-brand { min-width: 200px; }
.ab-brand small { display: block; color: rgba(191,220,208,.62); letter-spacing: .18em; font-size: 9px; font-weight: 800; }
.ab-brand h1 { margin: 2px 0 1px; font-size: clamp(17px, 2.1vw, 24px); letter-spacing: .06em; line-height: 1.05; color: #f1e6c7; text-shadow: 0 2px 18px rgba(0,0,0,.65); }
.ab-brand span { color: rgba(213,197,157,.62); font-size: 10px; letter-spacing: .1em; }
.ab-progress { text-align: center; padding-top: 2px; }
.ab-progress small { color: rgba(171,208,195,.58); font-size: 9px; letter-spacing: .2em; font-weight: 800; }
.ab-progress b { display: block; font-family: "DIN Alternate", "Bahnschrift", sans-serif; font-size: clamp(18px, 2.4vw, 27px); letter-spacing: .06em; color: #f5ddae; line-height: 1; }
.ab-progress b em { font-style: normal; font-size: 10px; color: rgba(220,203,165,.46); letter-spacing: .08em; }
.ab-progress i { display: block; width: 92px; height: 3px; margin: 5px auto 0; background: rgba(214,195,153,.18); }
.ab-progress i u { display: block; height: 100%; width: 10%; background: linear-gradient(90deg, #ffb457, #ffd36a); box-shadow: 0 0 10px rgba(255,187,89,.5); }
.ab-clock { text-align: right; min-width: 80px; padding-top: 1px; }
.ab-clock small { display: block; color: rgba(178,204,194,.58); font-size: 9px; letter-spacing: .12em; }
.ab-clock b { display: block; font-family: "DIN Alternate", "Bahnschrift", sans-serif; font-size: clamp(18px, 2.3vw, 25px); color: #ffcf86; line-height: 1.05; text-shadow: 0 0 16px rgba(255,153,74,.25); }
.ab-clock span { display: block; color: rgba(228,215,182,.55); font-size: 9px; letter-spacing: .12em; margin-top: 1px; }

.ab-hull {
  position: absolute; z-index: 4; top: 66px; left: 50%; transform: translateX(-50%);
  display: flex; align-items: center; gap: 9px; width: min(560px, 56vw);
  padding: 5px 10px 6px; border: 1px solid rgba(199,181,137,.2); background: linear-gradient(180deg, rgba(8,18,19,.82), rgba(4,10,11,.76));
  box-shadow: 0 5px 20px rgba(0,0,0,.3); pointer-events: none;
}
.ab-hull-icon { color: #d4b985; font-size: 18px; text-shadow: 0 0 12px rgba(255,196,103,.3); }
.ab-hull div { flex: 1; min-width: 0; }
.ab-hull small { display: block; font-size: 8px; letter-spacing: .13em; color: rgba(204,214,190,.65); }
.ab-hull b { float: right; margin-top: -10px; font-family: "DIN Alternate", "Bahnschrift", sans-serif; font-size: 11px; color: #dce8d4; }
.ab-hull i { display: block; height: 4px; margin-top: 3px; background: rgba(210,196,160,.2); overflow: hidden; }
.ab-hull i u { display: block; height: 100%; width: 100%; background: linear-gradient(90deg, #5db38f, #b5dd99 58%, #ffd36a); transition: width .25s linear; }
.ab-hull i u.low { background: linear-gradient(90deg, #e14a37, #ff8c4d); }
.ab-hull em { font-style: normal; color: #f2d29b; font-size: 10px; white-space: nowrap; letter-spacing: .04em; }

.ab-bossbar {
  position: absolute; z-index: 4; top: 118px; left: 50%; transform: translateX(-50%);
  width: min(580px, 60vw); padding: 7px 11px 8px; border: 1px solid rgba(210,150,113,.34);
  background: linear-gradient(180deg, rgba(21,13,12,.9), rgba(8,11,12,.82)); box-shadow: 0 10px 26px rgba(0,0,0,.3);
  opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s;
}
.ab-bossbar.on { opacity: 1; transform: translateX(-50%) translateY(0); }
.ab-bossbar.stunned { border-color: rgba(255,214,129,.65); }
.ab-boss-head { display: flex; align-items: baseline; gap: 8px; }
.ab-boss-head span { font-size: 8px; letter-spacing: .16em; color: rgba(240,157,117,.8); }
.ab-boss-head b { flex: 1; font-size: clamp(13px, 1.6vw, 17px); letter-spacing: .07em; color: #f4e0c4; }
.ab-boss-head em { font-style: normal; color: #ffbd79; font-size: 9px; letter-spacing: .12em; }
.ab-boss-hp { display: block; height: 5px; margin: 5px 0 4px; background: rgba(231,196,159,.18); overflow: hidden; }
.ab-boss-hp u { display: block; height: 100%; width: 100%; background: linear-gradient(90deg, #e25432, #ff9460 55%, #ffd08a); box-shadow: 0 0 14px rgba(255,108,67,.5); }
.ab-boss-foot { display: flex; justify-content: space-between; gap: 8px; color: rgba(236,204,167,.65); font-size: 9px; }
.ab-boss-foot span:nth-child(2) { color: rgba(255,183,124,.8); }

.ab-squad { position: absolute; z-index: 3; left: max(12px, env(safe-area-inset-left)); top: 196px; display: flex; flex-direction: row; flex-wrap: nowrap; gap: 5px; pointer-events: none; width: auto; max-width: calc(100vw - 190px); }
.ab-member { display: flex; flex: 0 1 180px; min-width: 0; max-width: 180px; align-items: center; gap: 5px; padding: 4px 6px; border-left: 2px solid var(--pc); background: linear-gradient(90deg, rgba(7,16,17,.82), rgba(7,16,17,.35)); }
.ab-member.down { opacity: .55; border-left-color: #d65040; }
.ab-member-icon { width: 19px; height: 19px; display: grid; place-items: center; font-size: 11px; color: var(--pc); border: 1px solid rgba(210,200,166,.2); background: rgba(0,0,0,.18); }
.ab-member-main { min-width: 0; flex: 1; }
.ab-member-main b { display: block; font-size: 10px; color: #e9e2cd; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ab-member-main small { display: block; font-size: 8px; color: rgba(194,202,180,.55); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ab-member-right { width: 48px; flex: none; text-align: right; }
.ab-member-right em { display: block; font-style: normal; font-family: "DIN Alternate", "Bahnschrift", sans-serif; font-size: 9px; color: var(--pc); }
.ab-member-right i { display: block; height: 2px; margin-top: 2px; background: rgba(230,220,190,.18); }
.ab-member-right i span { display: block; height: 100%; background: var(--pc); }

.ab-modbar { position: absolute; z-index: 3; left: 50%; bottom: 150px; transform: translateX(-50%); display: flex; gap: 4px; pointer-events: none; max-width: 62vw; flex-wrap: wrap; justify-content: center; }
.ab-mod { display: flex; align-items: center; gap: 4px; padding: 3px 6px; min-width: 58px; border: 1px solid rgba(195,184,148,.16); background: rgba(5,13,14,.72); }
.ab-mod.broken { border-color: rgba(255,89,62,.4); background: rgba(50,12,10,.62); }
.ab-mod i { font-style: normal; font-size: 10px; color: rgba(222,193,131,.8); }
.ab-mod b { font-size: 8px; font-weight: 700; color: rgba(226,220,195,.74); }
.ab-mod em { margin-left: auto; font-style: normal; font-family: "DIN Alternate", sans-serif; font-size: 8px; color: #a5d6b7; }
.ab-mod.broken em { color: #ff7359; }
.ab-mod s { display: block; position: absolute; }

.ab-feed { position: absolute; z-index: 3; left: max(12px, env(safe-area-inset-left)); bottom: 214px; width: min(280px, 30vw); display: flex; flex-direction: column; gap: 2px; pointer-events: none; }
.ab-feed span { font-size: 9px; color: rgba(218,209,183,.72); text-shadow: 0 1px 3px rgba(0,0,0,.7); border-left: 1px solid rgba(208,171,105,.3); padding-left: 5px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }

.ab-hero { position: absolute; z-index: 3; left: 136px; bottom: max(10px, env(safe-area-inset-bottom)); width: min(270px, 31vw); padding: 6px 8px 7px; border: 1px solid rgba(195,177,139,.2); background: linear-gradient(135deg, rgba(8,19,19,.9), rgba(4,10,11,.68)); box-shadow: 0 4px 18px rgba(0,0,0,.28); pointer-events: none; }
.ab-hero-head { display: flex; align-items: center; gap: 6px; }
.ab-hero-head small { flex: 1; color: rgba(194,209,187,.55); font-size: 8px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ab-hero-head b { display: flex; align-items: center; gap: 4px; font-size: 11px; color: #efdfbd; }
.ab-hero-head b i { font-style: normal; color: #ffd36a; }
.ab-hero-head em { font-style: normal; color: rgba(213,167,99,.64); font-size: 7px; letter-spacing: .1em; }
.ab-hp { display: flex; align-items: center; gap: 5px; margin-top: 3px; }
.ab-hp i { flex: 1; height: 4px; background: rgba(218,205,170,.18); }
.ab-hp i u { display: block; height: 100%; width: 100%; background: linear-gradient(90deg, #d65d42, #ffd36a); }
.ab-hp span { font-family: "DIN Alternate", sans-serif; font-size: 9px; color: rgba(234,225,203,.75); white-space: nowrap; }
.ab-ammo { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; margin-top: 3px; }
.ab-ammo span { color: rgba(219,211,186,.67); font-size: 8px; letter-spacing: .03em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ab-ammo b { color: #f0dfb7; font-family: "DIN Alternate", sans-serif; font-size: 14px; }
.ab-ammo b small { font-size: 8px; color: rgba(216,205,177,.46); font-weight: 500; }
.ab-energy { display: flex; align-items: center; gap: 5px; margin-top: 2px; }
.ab-energy i { flex: 1; height: 3px; background: rgba(218,197,164,.16); }
.ab-energy i u { display: block; height: 100%; width: 0; background: linear-gradient(90deg, #5cc9b1, #ffd36a); box-shadow: 0 0 8px rgba(106,220,191,.25); }
.ab-energy small { color: rgba(179,214,191,.6); font-size: 8px; white-space: nowrap; }
.ab-energy span { color: rgba(240,196,111,.72); font-size: 8px; white-space: nowrap; }

.ab-stick { position: absolute; z-index: 5; left: max(14px, env(safe-area-inset-left)); bottom: max(14px, env(safe-area-inset-bottom)); width: 110px; height: 110px; border-radius: 50%; border: 1px solid rgba(203,192,158,.24); background: radial-gradient(circle, rgba(26,46,43,.46), rgba(5,13,14,.28) 64%, transparent 66%); pointer-events: auto; touch-action: none; }
.ab-stick:after { content: ""; position: absolute; inset: 25%; border-radius: 50%; border: 1px dashed rgba(198,190,161,.12); }
.ab-stick i { position: absolute; left: 50%; top: 50%; width: 44px; height: 44px; margin: -22px 0 0 -22px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, rgba(246,218,155,.42), rgba(135,125,91,.2) 52%, rgba(8,16,17,.64)); border: 1px solid rgba(233,203,139,.32); box-shadow: 0 0 18px rgba(255,166,74,.12); pointer-events: none; }
.ab-stick em { position: absolute; left: 50%; top: 50%; width: 36px; height: 36px; margin: -18px 0 0 -18px; border-radius: 50%; background: radial-gradient(circle at 38% 28%, #ffe6a9, #b9864a 48%, #201a13); box-shadow: 0 3px 12px rgba(0,0,0,.45); transition: transform .04s linear; pointer-events: none; }
.ab-stick small { position: absolute; left: 50%; bottom: -15px; transform: translateX(-50%); font-size: 8px; letter-spacing: .1em; color: rgba(205,195,167,.5); white-space: nowrap; }
.ab-stick.active { border-color: rgba(255,207,119,.5); }

.ab-actions { position: absolute; z-index: 5; right: max(12px, env(safe-area-inset-right)); bottom: max(12px, env(safe-area-inset-bottom)); display: flex; align-items: flex-end; gap: 7px; }
.ab-skill { position: relative; width: 58px; height: 58px; padding: 0; border-radius: 50%; border: 1px solid rgba(207,188,148,.3); background: radial-gradient(circle at 35% 22%, rgba(53,75,69,.9), rgba(8,18,19,.84) 62%, rgba(3,8,9,.9)); color: #f1dfb5; cursor: pointer; box-shadow: 0 4px 14px rgba(0,0,0,.28); -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
.ab-skill b { display: block; font-size: 12px; letter-spacing: .04em; line-height: 1.1; }
.ab-skill small { display: block; margin-top: 2px; font-family: "DIN Alternate", sans-serif; font-size: 7px; color: rgba(220,208,174,.62); letter-spacing: .06em; }
.ab-skill.cooling { opacity: .55; }
.ab-skill.ready { border-color: rgba(255,209,116,.8); background: radial-gradient(circle at 35% 22%, rgba(107,80,36,.92), rgba(38,28,14,.92) 65%, rgba(7,9,8,.92)); box-shadow: 0 0 16px rgba(255,180,82,.3); }
.ab-skill.on { border-color: rgba(155,255,193,.65); box-shadow: 0 0 14px rgba(108,255,174,.22); }
.ab-skill.repair { border-color: rgba(139,232,189,.42); }
.ab-skill.heal { border-color: rgba(158,232,168,.34); }
.ab-skill.revive { border-color: rgba(255,211,106,.34); }
.ab-skill.ult { width: 66px; height: 66px; border-color: rgba(255,191,105,.45); }
.ab-skill.class-skill { border-color: rgba(126,206,255,.38); background: radial-gradient(circle at 35% 22%, rgba(32,70,88,.9), rgba(8,18,19,.84) 62%, rgba(3,8,9,.9)); }
.ab-skill.class-skill.on { border-color: rgba(137,240,255,.78); box-shadow: 0 0 18px rgba(108,224,255,.3); }
.ab-help { width: 28px; height: 28px; margin-bottom: 64px; border-radius: 50%; border: 1px solid rgba(206,195,159,.26); background: rgba(6,14,15,.72); color: rgba(234,223,195,.7); font-size: 13px; cursor: pointer; }

.ab-down { position: absolute; z-index: 7; left: 50%; top: 50%; transform: translate(-50%,-50%); width: min(340px, 60vw); padding: 16px 20px; text-align: center; border: 1px solid rgba(255,95,69,.28); background: linear-gradient(180deg, rgba(35,13,12,.94), rgba(8,11,12,.94)); opacity: 0; pointer-events: none; transition: opacity .2s; }
.ab-down.on { opacity: 1; }
.ab-down small { color: #ff906f; letter-spacing: .18em; font-size: 9px; font-weight: 800; }
.ab-down b { display: block; margin: 3px 0 5px; font-size: 22px; color: #f2dfc0; }
.ab-down p { margin: 0; font-size: 11px; color: rgba(222,206,178,.66); line-height: 1.6; }

.ab-route { position: absolute; z-index: 8; inset: 0; display: flex; align-items: center; justify-content: center; background: radial-gradient(ellipse at center, rgba(7,18,18,.48), rgba(1,5,6,.9)); opacity: 0; pointer-events: none; transition: opacity .2s; padding: 20px; }
.ab-route.on { opacity: 1; pointer-events: auto; }
.ab-route-card { width: min(820px, 92vw); padding: 16px 20px 18px; border: 1px solid rgba(201,184,145,.3); background: linear-gradient(135deg, rgba(10,22,22,.97), rgba(5,11,12,.96)); box-shadow: 0 24px 80px rgba(0,0,0,.55); }
.ab-route-card > small { color: rgba(172,212,197,.62); letter-spacing: .16em; font-size: 9px; font-weight: 800; }
.ab-route-card h2 { margin: 3px 0 3px; font-size: clamp(20px, 3vw, 30px); letter-spacing: .06em; color: #f3e4c4; }
.ab-route-card p { margin: 0 0 12px; color: rgba(219,208,181,.64); font-size: 11px; line-height: 1.6; }
.ab-route-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.ab-route-btn { position: relative; min-height: 88px; padding: 10px 12px; text-align: left; border: 1px solid rgba(193,180,146,.24); background: linear-gradient(135deg, rgba(35,54,49,.38), rgba(8,18,18,.55)); color: #ecdfbf; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.ab-route-btn:hover, .ab-route-btn:active { border-color: rgba(255,205,119,.64); background: linear-gradient(135deg, rgba(89,63,34,.38), rgba(12,25,23,.78)); }
.ab-route-btn i { display: block; font-style: normal; color: #ffd36a; font-size: 22px; line-height: 1; margin-bottom: 6px; }
.ab-route-btn b { display: block; font-size: 13px; letter-spacing: .04em; }
.ab-route-btn small { display: block; margin-top: 4px; color: rgba(208,200,174,.57); font-size: 9px; line-height: 1.35; }
.ab-route-btn em { position: absolute; right: 8px; bottom: 5px; font-style: normal; font-family: "DIN Alternate", sans-serif; font-size: 9px; color: rgba(225,197,144,.4); }

.ab-result { position: absolute; z-index: 10; inset: 0; display: flex; align-items: center; justify-content: center; background: radial-gradient(ellipse at center, rgba(3,9,10,.57), rgba(1,4,5,.93)); opacity: 0; pointer-events: none; transition: opacity .24s; padding: 20px; }
.ab-result.on { opacity: 1; pointer-events: auto; }
.ab-end { width: min(560px, 86vw); padding: 20px 24px 22px; text-align: center; border: 1px solid rgba(206,186,143,.3); background: linear-gradient(135deg, rgba(12,25,23,.97), rgba(5,11,12,.96)); box-shadow: 0 26px 90px rgba(0,0,0,.5); }
.ab-end.win { border-color: rgba(255,206,117,.55); }
.ab-end small { color: rgba(165,211,191,.7); font-size: 9px; letter-spacing: .16em; font-weight: 800; }
.ab-end h2 { margin: 3px 0 5px; font-size: clamp(24px, 4vw, 38px); letter-spacing: .05em; color: #f4e6c9; }
.ab-end p { margin: 0 0 12px; color: rgba(217,206,179,.66); font-size: 11px; line-height: 1.6; }
.ab-end-stats { display: flex; justify-content: center; gap: 24px; margin: 12px 0 16px; }
.ab-end-stats div small { display: block; color: rgba(194,203,178,.55); font-size: 9px; letter-spacing: .08em; }
.ab-end-stats div b { display: block; color: #f5d79e; font-family: "DIN Alternate", sans-serif; font-size: 20px; }
.ab-end-actions { display: flex; justify-content: center; gap: 10px; }
.ab-btn { padding: 10px 20px; border: 1px solid rgba(206,190,151,.3); background: rgba(8,17,18,.7); color: #e9ddc0; font-size: 12px; letter-spacing: .05em; cursor: pointer; }
.ab-btn.primary { border-color: rgba(255,196,101,.55); background: linear-gradient(135deg, rgba(108,71,32,.5), rgba(23,31,26,.72)); color: #ffe2ac; }

.ab-codex { position: absolute; z-index: 12; inset: 0; display: flex; align-items: center; justify-content: center; background: rgba(1,4,5,.82); opacity: 0; pointer-events: none; transition: opacity .2s; padding: 18px; }
.ab-codex.on { opacity: 1; pointer-events: auto; }
.ab-codex-card { position: relative; width: min(850px, 94vw); max-height: 90vh; overflow: auto; padding: 20px 24px 24px; border: 1px solid rgba(200,185,146,.3); background: linear-gradient(135deg, rgba(12,25,23,.98), rgba(5,11,12,.98)); }
.ab-codex-close { position: absolute; right: 10px; top: 8px; width: 30px; height: 30px; border: 1px solid rgba(201,188,154,.24); background: rgba(6,14,15,.72); color: #f0dfbd; font-size: 16px; cursor: pointer; }
.ab-codex-card > small { color: rgba(171,211,195,.64); letter-spacing: .16em; font-size: 9px; font-weight: 800; }
.ab-codex-card h2 { margin: 3px 0 7px; font-size: clamp(22px, 3vw, 30px); color: #f3e4c5; }
.ab-codex-card > p { color: rgba(218,207,180,.68); font-size: 11px; line-height: 1.7; margin: 0 0 12px; }
.ab-codex-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.ab-codex-grid section h3 { margin: 0 0 6px; color: #ffd393; font-size: 12px; letter-spacing: .08em; }
.ab-codex-grid ul { margin: 0; padding: 0; list-style: none; }
.ab-codex-grid li { padding: 4px 0; border-bottom: 1px solid rgba(195,182,147,.09); }
.ab-codex-grid li b { display: block; font-size: 11px; color: #e8dfc9; }
.ab-codex-grid li small { display: block; font-size: 9px; color: rgba(201,199,177,.58); margin-top: 1px; line-height: 1.4; }
.ab-codex-grid p { grid-column: 1 / -1; margin: 0; color: rgba(221,207,176,.64); font-size: 10px; line-height: 1.7; }

.ab-banner { position: absolute; z-index: 9; left: 50%; top: 34%; transform: translate(-50%,-50%) scale(.96); width: min(540px, 80vw); padding: 14px 20px; text-align: center; border-top: 1px solid rgba(255,187,109,.46); border-bottom: 1px solid rgba(255,187,109,.32); background: linear-gradient(90deg, transparent, rgba(17,14,10,.92) 18%, rgba(17,14,10,.92) 82%, transparent); opacity: 0; pointer-events: none; transition: opacity .2s, transform .25s; }
.ab-banner.on { opacity: 1; transform: translate(-50%,-50%) scale(1); }
.abyss-live:has(.ab-banner.on) .ab-bossbar,
.abyss-live:has(.ab-banner.on) .ab-squad,
.abyss-live:has(.ab-banner.on) .ab-modbar { opacity: 0; transition: opacity .2s; }
.ab-banner small { display: block; color: rgba(255,185,116,.74); letter-spacing: .16em; font-size: 9px; }
.ab-banner h2 { margin: 2px 0 3px; font-size: clamp(24px, 4vw, 38px); color: #ffe4b6; letter-spacing: .08em; text-shadow: 0 3px 18px rgba(0,0,0,.5); }
.ab-banner p { margin: 0; color: rgba(232,214,181,.63); font-size: 10px; letter-spacing: .06em; }

.ab-toast { position: absolute; z-index: 11; left: 50%; bottom: 170px; transform: translateX(-50%); padding: 7px 12px; border: 1px solid rgba(255,206,121,.28); background: rgba(9,16,16,.9); color: #f5dfb1; font-size: 11px; opacity: 0; pointer-events: none; transition: opacity .18s; white-space: nowrap; }
.ab-toast.on { opacity: 1; }

@media (max-width: 900px) {
  .ab-hull { top: 58px; width: 54vw; }
  .ab-bossbar { top: 108px; width: 62vw; }
  .ab-squad { top: 186px; width: auto; }  .ab-feed { bottom: 188px; width: 240px; }
  .ab-modbar { bottom: 148px; max-width: 55vw; gap: 3px; }
  .ab-mod { min-width: 50px; padding: 2px 4px; }
  .ab-mod b { font-size: 7px; }
  .ab-hero { left: 120px; width: 228px; }
  .ab-stick { width: 96px; height: 96px; }
  .ab-skill { width: 50px; height: 50px; }
  .ab-skill.ult { width: 58px; height: 58px; }
  .ab-actions { gap: 5px; }
  .ab-help { margin-bottom: 54px; }
  .ab-feed { display: none; }
}
@media (max-width: 680px) {
  .ab-brand h1 { font-size: 15px; }
  .ab-brand span { display: none; }
  .ab-progress i { width: 62px; }
  .ab-hull { width: 48vw; left: 46%; }
  .ab-bossbar { width: 70vw; left: 56%; }
  .ab-squad { top: 178px; width: auto; }
  .ab-member-main small { display: none; }
  .ab-member-right { width: 48px; }
  .ab-hero { left: 106px; width: 190px; }
  .ab-modbar { bottom: 144px; max-width: 50vw; }
  .ab-mod { min-width: 42px; }
  .ab-mod b { display: none; }
  .ab-actions { gap: 3px; }
  .ab-skill { width: 45px; height: 45px; }
  .ab-skill.ult { width: 51px; height: 51px; }
  .ab-skill b { font-size: 10px; }
  .ab-codex-grid { grid-template-columns: 1fr; }
  .ab-route-grid { grid-template-columns: 1fr; }
  .ab-route-btn { min-height: 60px; }
  .ab-route-btn i { float: left; margin: 0 8px 0 0; font-size: 18px; }
  .ab-route-btn b { font-size: 12px; }
  .ab-route-btn small { font-size: 9px; }
}
@media (max-height: 430px) {
  .ab-top { padding-top: 5px; }
  .ab-brand h1 { font-size: 16px; }
  .ab-hull { top: 50px; }
  .ab-bossbar { top: 100px; }
  .ab-squad { top: 174px; gap: 2px; }
  .ab-member { padding: 3px 5px; }
  .ab-hero { bottom: 7px; }
  .ab-stick { width: 88px; height: 88px; }
  .ab-skill { width: 46px; height: 46px; }
  .ab-skill.ult { width: 52px; height: 52px; }
  .ab-modbar { bottom: 146px; }
  .ab-route-card { padding: 10px 14px 12px; }
  .ab-route-card h2 { font-size: 20px; }
  .ab-route-card p { margin-bottom: 7px; }
  .ab-route-btn { min-height: 66px; padding: 7px 9px; }
  .ab-end { padding: 14px 18px; }
  .ab-end-stats { margin: 7px 0 10px; }
}
