/* 星火：熔炉协议 — 工业熔炉 Boss Raid 台面 */
.fp-shell {
  position: relative;
  width: 100%;
  height: min(78vh, 700px);
  min-height: 360px;
  overflow: hidden;
  border-radius: 18px;
  background: #05090a;
  color: #edf0e6;
  font-family: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  isolation: isolate;
  box-shadow: 0 24px 72px rgba(0, 0, 0, .6), inset 0 0 0 1px rgba(218, 180, 120, .16);
}
.fp-canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.fp-grain {
  position: absolute; inset: 0; pointer-events: none; opacity: .075; mix-blend-mode: overlay;
  background-image: repeating-linear-gradient(0deg, rgba(255,255,255,.14) 0 1px, transparent 1px 3px);
}
.fp-heat {
  position: absolute; inset: 0; pointer-events: none; mix-blend-mode: screen;
  background: radial-gradient(ellipse at 68% 78%, rgba(255,109,38,.10), transparent 42%),
              radial-gradient(ellipse at 20% 20%, rgba(255,158,88,.05), transparent 36%);
}
.fp-top {
  position: absolute; z-index: 7; top: 12px; left: 14px; right: 14px;
  display: flex; align-items: flex-start; gap: 12px; pointer-events: none;
}
.fp-brand { flex: 1; min-width: 0; }
.fp-eyebrow, .fp-brand span {
  display: block; font-size: 8px; letter-spacing: .22em; font-weight: 800;
  color: #d49a5a; text-transform: uppercase; text-shadow: 0 1px 8px #000;
}
.fp-brand b {
  display: block; margin-top: 2px; font-size: clamp(15px, 2vw, 23px); letter-spacing: .01em;
  color: #f3efe1; text-shadow: 0 2px 14px #000, 0 0 24px rgba(255,143,68,.16);
}
.fp-brand small { display: block; margin-top: 1px; font-size: 9px; letter-spacing: .08em; color: rgba(223,210,187,.52); }
.fp-act {
  min-width: 96px; padding: 7px 10px; text-align: right;
  background: linear-gradient(145deg, rgba(18,18,15,.78), rgba(9,11,10,.58));
  border: 1px solid rgba(224,167,95,.18); border-radius: 9px;
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.fp-act small { display: block; font-size: 7px; letter-spacing: .14em; color: #cf9d61; white-space: nowrap; }
.fp-act b { display: block; margin-top: 1px; font-size: 20px; line-height: 1; color: #f5d898; font-variant-numeric: tabular-nums; }
.fp-act em { font-style: normal; font-size: 9px; color: rgba(234,218,190,.45); }
.fp-clock {
  min-width: 74px; padding: 7px 10px; text-align: right;
  background: linear-gradient(145deg, rgba(18,18,15,.78), rgba(9,11,10,.58));
  border: 1px solid rgba(224,167,95,.14); border-radius: 9px;
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.fp-clock small { display: block; font-size: 7px; letter-spacing: .12em; color: #bba487; }
.fp-clock b { display: block; margin-top: 1px; font-size: clamp(15px, 2vw, 22px); color: #f0e3c4; font-variant-numeric: tabular-nums; }

.fp-bossbar {
  position: absolute; z-index: 8; top: 58px; left: 50%; width: min(470px, 52vw); transform: translateX(-50%);
  display: none; flex-direction: column; gap: 3px; padding: 6px 10px 5px;
  background: linear-gradient(180deg, rgba(17,13,11,.84), rgba(8,9,9,.67));
  border: 1px solid rgba(233,125,80,.32); border-radius: 9px;
  backdrop-filter: blur(9px); -webkit-backdrop-filter: blur(9px);
  box-shadow: 0 8px 30px rgba(0,0,0,.44), inset 0 0 22px rgba(255,87,35,.05);
}
.fp-bossbar.on { display: flex; }
.fp-bossbar.exposed { border-color: rgba(255,225,146,.7); box-shadow: 0 8px 34px rgba(255,101,38,.18); }
.fp-boss-head { display: flex; align-items: baseline; gap: 7px; }
.fp-boss-head small { flex: 1; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font-size: 7px; letter-spacing: .18em; color: #e39d75; text-transform: uppercase; }
.fp-boss-head b { font-size: 11px; color: #f1e5cf; letter-spacing: .02em; }
.fp-boss-head span { font-size: 7px; font-weight: 800; color: #ffc683; }
.fp-bossbar i { display: block; height: 5px; background: rgba(255,255,255,.11); overflow: hidden; border-radius: 1px; }
.fp-bossbar i em { display: block; height: 100%; transition: width .16s linear; }
.fp-bossbar .fp-armor em { background: linear-gradient(90deg, #465f69, #9cb2b4 55%, #f0d79f); box-shadow: 0 0 7px rgba(224,213,186,.35); }
.fp-bossbar .fp-boss-hp em { background: linear-gradient(90deg, #7d1f1f, #e1533b 55%, #ffc06a); box-shadow: 0 0 9px rgba(255,98,56,.55); }
.fp-boss-foot { display: flex; align-items: center; gap: 8px; font-size: 7px; color: rgba(230,214,190,.55); font-variant-numeric: tabular-nums; }
.fp-boss-foot span:nth-child(2) { margin-left: auto; color: #e5b173; }

.fp-squad { position: absolute; z-index: 6; top: 84px; left: 14px; display: flex; flex-direction: column; gap: 4px; pointer-events: none; }
.fp-member {
  display: flex; align-items: center; gap: 6px; min-width: 148px; max-width: 190px; padding: 4px 7px 4px 5px;
  border-left: 2px solid var(--pc, #ffd36a);
  background: linear-gradient(90deg, rgba(8,14,14,.8), rgba(8,14,14,.16));
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.fp-member i { color: var(--pc); font-style: normal; font-size: 9px; width: 9px; }
.fp-member > div { min-width: 0; flex: 1; }
.fp-member b { display: block; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font-size: 9px; color: #e9eee2; }
.fp-member small { display: block; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; margin-top: 0; font-size: 7px; color: rgba(203,220,205,.48); }
.fp-member span { font-size: 8px; color: rgba(233,241,236,.48); font-variant-numeric: tabular-nums; }
.fp-member.down { opacity: .5; filter: grayscale(.7); }

.fp-feed { position: absolute; z-index: 6; top: 88px; right: 14px; max-width: 232px; display: flex; flex-direction: column; gap: 2px; text-align: right; pointer-events: none; }
.fp-feed span { font-size: 8px; line-height: 1.35; color: rgba(214, 208, 184, .48); text-shadow: 0 1px 4px #000; }
.fp-feed span:nth-last-child(-n+2) { color: rgba(246, 206, 137, .82); }

.fp-hero {
  position: absolute; z-index: 7; left: 14px; bottom: 122px; width: min(274px, 40vw);
  padding: 8px 10px 7px; background: linear-gradient(145deg, rgba(15,18,16,.9), rgba(7,10,10,.72));
  border: 1px solid rgba(216,165,96,.2); border-radius: 11px;
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  pointer-events: none; box-shadow: 0 10px 28px rgba(0,0,0,.34);
}
.fp-hero-head { display: flex; align-items: baseline; gap: 6px; margin-bottom: 6px; }
.fp-hero-head small { flex: 1; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font-size: 7px; color: rgba(210, 220, 203, .44); }
.fp-hero-head b { font-size: 10px; color: #f1e5c8; }
.fp-lv { font-size: 7px; letter-spacing: .12em; color: #d9a664; }
.fp-hp { position: relative; height: 15px; background: rgba(0,0,0,.5); border: 1px solid rgba(197, 181, 151, .16); overflow: hidden; }
.fp-hp i { display: block; height: 100%; background: linear-gradient(90deg, #9e332f, #db604e 34%, #d6c16b 100%); transition: width .12s linear; }
.fp-hp span { position: absolute; inset: 0; display: flex; align-items: center; justify-content: flex-end; padding-right: 5px; font-size: 8px; font-weight: 800; color: #f3f7ec; text-shadow: 0 1px 3px #000; font-variant-numeric: tabular-nums; }
.fp-ammo { display: flex; align-items: baseline; gap: 6px; margin-top: 5px; }
.fp-ammo span { flex: 1; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font-size: 8px; color: rgba(231,220,196,.58); }
.fp-ammo b { font-size: 14px; line-height: 1; color: #f2d68f; font-variant-numeric: tabular-nums; }
.fp-ammo small { margin-left: 2px; font-size: 8px; color: rgba(237,225,199,.42); }
.fp-energy { display: flex; align-items: center; gap: 6px; margin-top: 4px; }
.fp-energy i { flex: 1; height: 4px; background: rgba(255,255,255,.11); overflow: hidden; }
.fp-energy em { display: block; height: 100%; background: linear-gradient(90deg, #a57d34, #f4d078 55%, #fff3bf); box-shadow: 0 0 8px rgba(255,200,96,.55); transition: width .12s linear; }
.fp-energy small { font-size: 7px; color: #d9b56f; font-variant-numeric: tabular-nums; }
.fp-relics { display: flex; gap: 3px; margin-top: 5px; min-height: 13px; }
.fp-relics span { position: relative; width: 16px; height: 16px; display: grid; place-items: center; border: 1px solid rgba(229,183,112,.26); background: rgba(26,22,16,.66); color: #e9c67e; font-size: 8px; }
.fp-relics span em { position: absolute; right: -2px; bottom: -3px; font-style: normal; font-size: 6px; font-weight: 800; color: #f9e9bf; text-shadow: 0 1px 2px #000; }

.fp-stick {
  position: absolute; z-index: 8; left: 18px; bottom: 18px; width: 94px; height: 94px;
  border-radius: 50%; border: 1px solid rgba(196, 193, 168, .24);
  background: radial-gradient(circle at 50% 45%, rgba(25,31,29,.76), rgba(7,10,10,.52));
  touch-action: none; user-select: none; -webkit-user-select: none;
  box-shadow: inset 0 0 18px rgba(0,0,0,.55), 0 5px 18px rgba(0,0,0,.35);
}
.fp-stick i { position: absolute; left: 50%; top: 50%; width: 36px; height: 36px; margin: -18px 0 0 -18px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, rgba(240,220,183,.86), rgba(120,113,92,.8)); box-shadow: 0 0 14px rgba(255,210,142,.16); transition: transform .06s linear; }
.fp-stick em { position: absolute; inset: 24px; border: 1px solid rgba(224,183,119,.2); border-radius: 50%; }
.fp-stick small { position: absolute; left: 50%; bottom: -14px; transform: translateX(-50%); white-space: nowrap; font-size: 7px; color: rgba(218,214,194,.42); }

.fp-actions { position: absolute; z-index: 8; right: 14px; bottom: 18px; display: flex; align-items: flex-end; gap: 6px; }
.fp-skill {
  width: 58px; height: 58px; padding: 0 4px; border-radius: 9px; border: 1px solid rgba(225,190,134,.25);
  background: linear-gradient(145deg, rgba(29,28,23,.9), rgba(9,12,12,.8));
  color: #e9dfc8; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
  font-family: inherit; cursor: pointer; touch-action: manipulation;
  box-shadow: 0 8px 18px rgba(0,0,0,.36), inset 0 1px 0 rgba(255,232,189,.08);
}
.fp-skill b { font-size: 11px; letter-spacing: .04em; }
.fp-skill small { font-size: 7px; letter-spacing: .05em; color: rgba(238,225,194,.52); }
.fp-skill.cooling { opacity: .5; filter: grayscale(.35); }
.fp-skill.parry { border-color: rgba(133,222,229,.28); }
.fp-skill.dash { border-color: rgba(156,197,145,.26); }
.fp-skill.ult { width: 66px; height: 66px; border-color: rgba(255,193,101,.42); background: linear-gradient(145deg, rgba(57,39,20,.92), rgba(17,14,10,.82)); }
.fp-skill.ult.ready { border-color: #ffd479; box-shadow: 0 0 0 1px rgba(255,212,121,.25), 0 0 24px rgba(255,147,54,.28), inset 0 0 18px rgba(255,170,70,.13); animation: fpUltPulse 1.4s ease-in-out infinite; }
.fp-skill.revive { display: none; border-color: rgba(124,230,255,.34); background: linear-gradient(145deg, rgba(18,36,38,.9), rgba(8,14,15,.82)); }
.fp-skill.revive.on { display: flex; }
@keyframes fpUltPulse { 0%,100% { box-shadow: 0 0 0 1px rgba(255,212,121,.25), 0 0 20px rgba(255,147,54,.24), inset 0 0 18px rgba(255,170,70,.12); } 50% { box-shadow: 0 0 0 2px rgba(255,220,140,.36), 0 0 30px rgba(255,147,54,.42), inset 0 0 26px rgba(255,170,70,.2); } }
.fp-help { width: 31px; height: 31px; margin-bottom: 3px; border-radius: 50%; border: 1px solid rgba(218,200,164,.2); background: rgba(13,17,16,.72); color: rgba(232,222,197,.7); font-size: 12px; cursor: pointer; }
.fp-down {
  position: absolute; z-index: 9; left: 50%; top: 56%; transform: translate(-50%, -50%);
  width: min(280px, 72%); padding: 10px 14px; border: 1px solid rgba(255,107,94,.38); border-radius: 8px;
  background: rgba(24,10,9,.9); color: #f3d5d0; text-align: center; display: none; pointer-events: none;
  box-shadow: 0 14px 34px rgba(0,0,0,.45), inset 0 0 22px rgba(255,80,60,.08);
}
.fp-down.on { display: block; }
.fp-down small { font-size: 8px; letter-spacing: .16em; color: rgba(255,160,148,.7); }
.fp-down b { display: block; margin: 3px 0; font-size: 17px; color: #ffd9d5; }
.fp-down p { margin: 0; font-size: 8px; line-height: 1.5; color: rgba(240,200,195,.6); }

.fp-banner {
  position: absolute; z-index: 9; left: 50%; top: 34%; width: min(610px, 86%); transform: translate(-50%, -50%);
  text-align: center; pointer-events: none; opacity: 0; transition: opacity .28s ease, transform .28s ease;
  text-shadow: 0 4px 26px #000;
}
.fp-banner.on { opacity: 1; transform: translate(-50%, -50%) scale(1.01); }
.fp-banner::before, .fp-banner::after {
  content: ""; position: absolute; left: 50%; width: min(430px, 72%); height: 1px; transform: translateX(-50%);
  background: linear-gradient(90deg, transparent, rgba(232,177,102,.72), transparent);
}
.fp-banner::before { top: -12px; }
.fp-banner::after { bottom: -11px; }
.fp-banner small { display: block; font-size: 8px; letter-spacing: .28em; color: #d79f61; text-transform: uppercase; }
.fp-banner h2 { margin: 5px 0 0; font-size: clamp(22px, 4.2vw, 45px); letter-spacing: .08em; color: #fbf2dc; text-shadow: 0 2px 0 rgba(28,17,8,.8), 0 0 28px rgba(255,125,47,.3), 0 0 2px #000; }
.fp-banner p { margin: 4px 0 0; font-size: 9px; letter-spacing: .16em; color: rgba(239,218,180,.62); }

.fp-reward { position: absolute; z-index: 12; inset: 0; display: none; align-items: center; justify-content: center; padding: 18px; background: radial-gradient(ellipse at center, rgba(12,10,7,.4), rgba(2,4,4,.84)); backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px); }
.fp-reward.on { display: flex; }
.fp-reward-card { width: min(660px, 96%); padding: 14px 16px 13px; border: 1px solid rgba(233,190,112,.38); border-radius: 12px; background: linear-gradient(155deg, rgba(30,25,17,.96), rgba(9,11,10,.94)); box-shadow: 0 24px 70px rgba(0,0,0,.6), inset 0 0 36px rgba(255,156,70,.05); text-align: center; }
.fp-reward-card .fp-eyebrow { color: #e8b36d; }
.fp-reward-card h3 { margin: 4px 0 3px; font-size: clamp(16px, 2.6vw, 24px); color: #f7eed7; letter-spacing: .03em; }
.fp-reward-card p { margin: 0 0 10px; font-size: 9px; color: rgba(226,213,185,.56); }
.fp-relic-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.fp-relic { position: relative; min-height: 90px; padding: 11px 9px 9px; border: 1px solid rgba(221,183,118,.26); border-radius: 8px; background: linear-gradient(160deg, rgba(39,33,22,.86), rgba(12,15,14,.82)); color: #e9dec3; font-family: inherit; text-align: left; cursor: pointer; overflow: hidden; }
.fp-relic span { display: block; font-size: 17px; line-height: 1; color: #f0c274; }
.fp-relic b { display: block; margin-top: 4px; font-size: 11px; color: #f7efd9; }
.fp-relic small { display: block; margin-top: 3px; font-size: 8px; line-height: 1.35; color: rgba(229,214,184,.6); }
.fp-relic em { position: absolute; right: 6px; bottom: 5px; font-style: normal; font-size: 8px; color: rgba(239,200,132,.35); }

.fp-codex { position: absolute; z-index: 12; inset: 0; display: none; align-items: center; justify-content: center; padding: 18px; background: radial-gradient(ellipse at center, rgba(8,8,6,.55), rgba(2,4,4,.92)); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); }
.fp-codex.on { display: flex; }
.fp-codex-card { position: relative; width: min(720px, 97%); max-height: 92%; overflow: auto; padding: 17px 19px 15px; border: 1px solid rgba(231,194,128,.34); border-radius: 12px; background: linear-gradient(155deg, rgba(28,25,18,.98), rgba(7,10,10,.96)); box-shadow: 0 26px 75px rgba(0,0,0,.65); }
.fp-codex-close { position: absolute; right: 10px; top: 9px; width: 25px; height: 25px; border-radius: 50%; border: 1px solid rgba(216,196,160,.22); background: rgba(12,15,14,.7); color: #e5d8bd; font-family: inherit; font-size: 15px; cursor: pointer; }
.fp-codex-card h3 { margin: 5px 0 5px; font-size: clamp(18px, 3vw, 27px); color: #f8efd9; letter-spacing: .06em; }
.fp-codex-card .fp-eyebrow { color: #e6ae64; }
.fp-codex-lead { margin: 0 0 12px; font-size: 9px; line-height: 1.6; color: rgba(228,214,190,.58); }
.fp-codex-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 16px; }
.fp-codex-grid section h4 { margin: 0 0 5px; font-size: 10px; letter-spacing: .1em; color: #e6c78e; }
.fp-codex-grid ul { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 4px 10px; }
.fp-codex-grid li { padding: 4px 0; border-top: 1px solid rgba(205,185,150,.09); }
.fp-codex-grid li b { display: block; font-size: 9px; color: #f1e6cf; }
.fp-codex-grid li small, .fp-codex-tip { display: block; margin-top: 2px; font-size: 7.5px; line-height: 1.45; color: rgba(218,203,177,.5); }
.fp-codex-tip { margin: 9px 0 0; padding-top: 8px; border-top: 1px solid rgba(205,185,150,.1); }
.fp-result { position: absolute; z-index: 13; inset: 0; display: none; align-items: center; justify-content: center; padding: 18px; background: radial-gradient(ellipse at center, rgba(8,7,5,.45), rgba(2,4,4,.9)); backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px); }
.fp-result.on { display: flex; }
.fp-end { width: min(520px, 94%); padding: 19px 20px 17px; text-align: center; border: 1px solid rgba(231,194,128,.3); border-radius: 12px; background: linear-gradient(155deg, rgba(27,23,16,.97), rgba(8,10,10,.95)); box-shadow: 0 26px 75px rgba(0,0,0,.65); }
.fp-end.lose { border-color: rgba(216,94,76,.4); }
.fp-end h2 { margin: 5px 0 4px; font-size: clamp(20px, 3.2vw, 31px); letter-spacing: .06em; color: #f9efd8; }
.fp-end p { margin: 0; font-size: 10px; color: rgba(227,214,189,.62); }
.fp-end-stats { display: flex; gap: 8px; margin: 13px 0 15px; }
.fp-end-stats > div { flex: 1; padding: 7px 4px; border: 1px solid rgba(205,182,143,.13); background: rgba(255,255,255,.025); }
.fp-end-stats small { display: block; font-size: 7px; letter-spacing: .12em; color: rgba(214,200,176,.5); }
.fp-end-stats b { display: block; margin-top: 2px; font-size: 17px; color: #f0d18d; font-variant-numeric: tabular-nums; }
.fp-end-actions { display: flex; justify-content: center; gap: 8px; }
.fp-btn { min-width: 112px; padding: 8px 14px; border-radius: 7px; border: 1px solid rgba(217,195,160,.2); background: rgba(23,25,21,.76); color: #e8dfc9; font-family: inherit; font-size: 11px; cursor: pointer; }
.fp-btn.primary { border-color: rgba(255,202,116,.55); background: linear-gradient(180deg, #a76428, #613513); color: #fff0cb; box-shadow: 0 7px 20px rgba(180,100,38,.25); }
.fp-toast { position: absolute; z-index: 11; left: 50%; bottom: 102px; transform: translate(-50%, 6px); max-width: 80%; padding: 6px 11px; border: 1px solid rgba(220,189,131,.22); border-radius: 6px; background: rgba(12,15,14,.86); color: rgba(239,228,205,.86); font-size: 9px; opacity: 0; pointer-events: none; transition: .18s ease; text-align: center; }
.fp-toast.on { opacity: 1; transform: translate(-50%, 0); }

@media (max-height: 430px) {
  .fp-shell { height: 100%; min-height: 300px; border-radius: 0; }
  .fp-top { top: 7px; left: 10px; right: 10px; }
  .fp-brand b { font-size: 15px; }
  .fp-brand small, .fp-brand span { display: none; }
  .fp-act, .fp-clock { padding: 4px 7px; min-width: 68px; }
  .fp-act b { font-size: 16px; }
  .fp-clock b { font-size: 16px; }
  .fp-bossbar { top: 44px; width: min(430px, 56vw); padding: 4px 8px; }
  .fp-squad { top: 66px; left: 10px; gap: 3px; }
  .fp-member { min-width: 124px; padding: 3px 5px; }
  .fp-member b { font-size: 8px; }
  .fp-member small, .fp-member span { font-size: 6px; }
  .fp-feed { top: 65px; right: 10px; max-width: 180px; }
  .fp-feed span { font-size: 7px; }
  .fp-hero { left: 10px; bottom: 98px; width: min(290px, 42vw); padding: 6px 8px 5px; }
  .fp-hero-head { margin-bottom: 4px; }
  .fp-hp { height: 13px; }
  .fp-stick { left: 12px; bottom: 12px; width: 82px; height: 82px; }
  .fp-stick i { width: 32px; height: 32px; margin: -16px 0 0 -16px; }
  .fp-actions { right: 10px; bottom: 12px; }
  .fp-skill { width: 50px; height: 50px; }
  .fp-skill.ult { width: 58px; height: 58px; }
  .fp-toast { bottom: 84px; }
}
@media (max-width: 620px) {
  .fp-boss-head b { max-width: 120px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
  .fp-relic-grid { grid-template-columns: 1fr; gap: 5px; }
  .fp-codex-grid { grid-template-columns: 1fr; gap: 8px; }
  .fp-codex-card { padding: 12px 13px; }
  .fp-codex-grid ul { grid-template-columns: 1fr 1fr; gap: 2px 8px; }
  .fp-relic { min-height: 56px; padding: 6px 8px; }
  .fp-relic span { position: absolute; right: 8px; top: 8px; }
  .fp-relic b { margin-top: 0; }
}
/* 横屏全屏动作模式：让熔炉台面真正吃满 g-stage，不被 78vh 留黑边。 */
body.landscape-mode:has(.foundry-live) .foundry-live {
  height: 100% !important;
  min-height: 0;
  max-width: none;
  width: 100%;
  border-radius: 0;
  box-shadow: none;
}
