/* pets.css — 第 9 步：连波獭（形象配色、「Avatar」页、在 App 里走动的那只、钻洞、纸飞机、升阶庆祝） */

html:not(.pet-on) .app-tab[data-tab="pets"] { display: none; }

/* ---------- 形象：奶油灰的毛、低饱和、像一张精致贴纸（深色模式也用同一套颜色，贴纸感） ---------- */
.ot-svg { display: block; width: 100%; height: 100%; overflow: visible; }
.ot-shadow { fill: rgba(60, 45, 30, .12); }
.ot-fur { fill: #CFC4B4; stroke: #5B5048; stroke-width: 3; }
.ot-belly { fill: #F1EADF; }
.ot-in { fill: #E7B9A6; }
.ot-shell { fill: #F4EDE2; stroke: #5B5048; stroke-width: 3; }
.ot-dot { fill: #DCD1C1; }
.ot-mark { fill: #E9A58D; opacity: .8; }
.ot-ln { fill: none; stroke: #2E2823; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.ot-thin { stroke-width: 2; }
.ot-eye { fill: #2E2823; }
.ot-hi { fill: #FFFFFF; }
.ot-nose { fill: #2E2823; }
.ot-blush { fill: #E58C6E; opacity: .32; }
.ot-paw { fill: #D9CFC0; stroke: #5B5048; stroke-width: 2.4; }
.ot-stone { fill: #D97757; stroke: #8E4128; stroke-width: 2.4; stroke-linejoin: round; }
.ot-stone-hi { fill: none; stroke: rgba(255, 255, 255, .6); stroke-width: 2; stroke-linecap: round; }
.ot-scarf { fill: #D97757; stroke: #8E4128; stroke-width: 2; stroke-linejoin: round; }
.ot-spark { fill: #F2C873; }
.ot-crack { stroke-width: 2.4; }
.ot-z text { font: 600 16px var(--font-display); fill: var(--muted); }
.ot-z .ot-z2 { font-size: 12px; }
/* 待机：轻轻呼吸、偶尔眨眼；蛋会轻轻摇 */
.ot-bob { transform-origin: 100px 184px; animation: ot-breathe 3.4s ease-in-out infinite; }
.ot-blink { transform-box: fill-box; transform-origin: center; animation: ot-blink 5.2s infinite; }
.ot-wob { transform-origin: 100px 180px; animation: ot-wobble 4.6s ease-in-out infinite; }
.ot-sleepy .ot-bob { animation-duration: 5s; }
.ot-z { animation: ot-z 2.6s ease-in-out infinite; }
@keyframes ot-breathe { 0%, 100% { transform: scale(1, 1); } 50% { transform: scale(1.025, .975); } }
@keyframes ot-blink { 0%, 92%, 100% { transform: scaleY(1); } 95% { transform: scaleY(.1); } }
@keyframes ot-wobble { 0%, 70%, 100% { transform: rotate(0); } 76% { transform: rotate(-5deg); } 82% { transform: rotate(4deg); } 88% { transform: rotate(-2deg); } }
@keyframes ot-z { 0%, 100% { opacity: .3; transform: translateY(0); } 50% { opacity: 1; transform: translateY(-4px); } }

/* ---------- 「Avatar」页 ---------- */
.pt-scroll { padding: 0 16px 40px; }
.pt-header { display: flex; align-items: baseline; gap: 10px; padding: 16px 4px 12px; }
.pt-header .ui-title-lg { font-family: var(--font-display); letter-spacing: 1px; }
.pt-sub { font-family: var(--font-display); font-size: 13px; color: var(--muted); letter-spacing: 1px; }
.pt-tabs { display: flex; gap: 8px; overflow-x: auto; margin: 0 -16px 12px; padding: 2px 16px 4px; scrollbar-width: none; }
.pt-tabs::-webkit-scrollbar { display: none; }
.pt-tab { flex: none; display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 12px 0 8px; border-radius: 17px; border: 1px solid var(--line); background: var(--surface); color: var(--ink-2); font: inherit; font-size: 13px; cursor: pointer; }
.pt-tab .ui-char { --size: 20px; font-style: normal; }
.pt-tab[aria-selected="true"] { border-color: color-mix(in srgb, var(--clay) 45%, transparent); background: color-mix(in srgb, var(--clay-soft) 70%, var(--surface)); color: var(--clay-d); }
.pt-card { position: relative; display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 16px 18px 18px; border-radius: 24px; background: var(--surface); overflow: hidden;
  box-shadow: 0 10px 28px rgba(120, 80, 50, .08), 0 0 0 1px rgba(217, 119, 87, .16); }
.pt-top { align-self: stretch; display: flex; justify-content: space-between; font-size: 12px; color: var(--muted); }
.pt-lv { font-family: var(--font-display); font-weight: 600; letter-spacing: 1px; color: var(--clay-d); }
.pt-pond { position: relative; width: 210px; height: 210px; margin: 4px 0 2px; padding: 12px; border: 0; border-radius: 50%; cursor: pointer;
  background: radial-gradient(circle at 50% 62%, color-mix(in srgb, var(--c-soft) 70%, var(--surface)) 0 52%, transparent 70%); }
.pt-pond:active .ot-svg { transform: scale(.97); }
.pt-hearts { position: absolute; inset: 0; pointer-events: none; }
.pt-hearts > i { position: absolute; bottom: 60%; color: var(--clay); }
.pt-name { display: flex; align-items: center; gap: 2px; }
.pt-name b { font-family: var(--font-display); font-size: 22px; font-weight: 600; letter-spacing: 2px; color: var(--ink); }
.pt-more { width: 32px; height: 32px; color: var(--muted); }
.pt-with { margin: -4px 0 6px; font-size: 13px; color: var(--ink-2); }
.pt-who { display: inline-flex; align-items: center; gap: 3px; }
.pt-who .ui-char { --size: 16px; font-style: normal; color: var(--c-deep); }
.pt-bar { align-self: stretch; height: 8px; border-radius: 4px; background: var(--surface-2); box-shadow: inset 0 0 0 1px var(--line); overflow: hidden; }
.pt-bar > i { display: block; height: 100%; border-radius: 4px; background: linear-gradient(90deg, #E8A58C, var(--clay)); transition: width .6s cubic-bezier(.2, .8, .2, 1); }
.pt-hint { margin: 0; font-size: 12px; color: var(--muted); }
.pt-today { align-self: stretch; display: grid; grid-template-columns: auto 1fr; gap: 6px 12px; align-items: center; margin-top: 8px; padding: 12px 14px; border-radius: 16px; background: var(--surface-2); box-shadow: inset 0 0 0 1px var(--line); }
.pt-tl { grid-row: span 2; font-family: var(--font-display); font-size: 13px; font-weight: 600; letter-spacing: 2px; color: var(--ink-2); writing-mode: vertical-rl; }
.pt-tr { display: grid; grid-template-columns: 56px 1fr 22px; align-items: center; gap: 8px; font-size: 12px; color: var(--ink-2); }
.pt-tr b { font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pt-tr small { text-align: right; font-variant-numeric: tabular-nums; color: var(--muted); }
.pt-tb { display: block; height: 4px; border-radius: 2px; background: var(--line); overflow: hidden; }
.pt-tb > i { display: block; height: 100%; border-radius: 2px; background: var(--c-deep); }
.pt-mood { grid-column: 1 / -1; margin: 2px 0 0; font-family: var(--font-display); font-size: 13.5px; color: var(--clay-d); text-align: center; }
.pt-acts { align-self: stretch; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 10px; }
.pt-acts .ui-btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; height: 42px; border-radius: 21px; }
.ui-btn.pt-pat { background: var(--clay); color: #fff; }
.ui-btn.pt-pat:disabled { opacity: .5; }
.pt-empty { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 24px 12px 8px; text-align: center; }
.pt-empty .ot-svg { width: 150px; height: 150px; }
.pt-empty p { margin: 6px 0 0; font-family: var(--font-display); font-size: 17px; font-weight: 600; color: var(--ink); }
.pt-empty small { font-size: 12.5px; line-height: 1.8; color: var(--muted); }
.pt-sec { margin-top: 22px; }
.pt-h { margin: 0 4px 8px; font-family: var(--font-display); font-size: 14px; font-weight: 600; letter-spacing: 1px; color: var(--ink-2); }
.pt-invs { display: flex; flex-direction: column; gap: 8px; }
.pt-inv { display: flex; align-items: center; gap: 8px; padding: 10px 12px; border-radius: 16px; background: var(--surface); box-shadow: 0 0 0 1px var(--line); font-size: 13.5px; color: var(--ink); }
.pt-inv .ui-char { --size: 22px; font-style: normal; color: var(--c-deep); }
.pt-inv span { flex: 1; min-width: 0; }
.pt-inv .pt-ok { background: var(--clay); color: #fff; }
.ui-btn.pt-invite { display: flex; align-items: center; justify-content: center; gap: 6px; margin-top: 16px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); color: var(--ink-2); }
.pt-walk { display: flex; align-items: center; gap: 12px; margin-top: 12px; padding: 12px 14px; border-radius: 16px; background: var(--surface); box-shadow: 0 0 0 1px var(--line); font-size: 14px; color: var(--ink); }
.pt-walk > span { flex: 1; min-width: 0; }
.pt-walk small { display: block; margin-top: 2px; font-size: 12px; color: var(--muted); }
.pt-rule { margin: 14px 4px 0; font-size: 12px; line-height: 1.8; color: var(--muted); }
.pt-rule b { color: var(--clay-d); font-weight: 600; }

/* ---------- 在 App 里走动的那只 ---------- */
.pc-layer { position: absolute; inset: 0; z-index: 2; pointer-events: none; overflow: hidden; }
.pc-layer[hidden] { display: none; }
.pc-pet { position: absolute; left: 0; top: 0; width: 60px; height: 60px; padding: 0; border: 0; background: none; pointer-events: auto; cursor: pointer; -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
.pc-flip { display: block; width: 100%; height: 100%; transition: transform .25s; }
.pc-pet.is-left .pc-flip { transform: scaleX(-1); }
.pc-body { display: block; width: 100%; height: 100%; }
.pc-pet.is-walk .pc-body { animation: pc-waddle .42s ease-in-out infinite alternate; transform-origin: 50% 92%; }
.pc-pet .ot-shadow { opacity: .8; }
@keyframes pc-waddle { from { transform: rotate(-7deg) translateY(0); } to { transform: rotate(7deg) translateY(-2px); } }
.pc-heart { position: absolute; color: var(--clay); pointer-events: none; }

/* 动作动画：最上层（偷看的洞、纸飞机） */
.pc-fx { position: absolute; inset: 0; z-index: 86; pointer-events: none; overflow: hidden; }
.pc-hole { position: absolute; width: 92px; height: 26px; border-radius: 50%; background: radial-gradient(ellipse at 50% 40%, #1B1714 0 55%, #3A2F27 80%, transparent 82%); transform-origin: 50% 50%; }
.pc-lip { position: absolute; width: 92px; height: 14px; border-radius: 0 0 46px 46px / 0 0 14px 14px; background: var(--bg); box-shadow: 0 -2px 0 #3A2F27 inset; transform-origin: 50% 0; }
.pc-peek { position: absolute; width: 100px; height: 100px; overflow: hidden; }
.pc-peek-in { width: 100px; height: 100px; transform: translateY(100%); transform-origin: 50% 100%; }
.pc-fly { position: absolute; left: 0; display: flex; flex-direction: column; align-items: center; will-change: transform; }
.pc-plane-svg { filter: drop-shadow(0 4px 8px rgba(90, 60, 30, .18)); }
.pc-rope { width: 1.5px; height: 26px; margin-top: -10px; background: #8E4128; opacity: .7; }
.pc-hang { width: 64px; height: 64px; margin-top: -6px; transform-origin: 50% 0; }

/* 升阶庆祝 */
.pt-party { position: absolute; inset: 0; z-index: 88; display: grid; place-items: center; background: rgba(31, 30, 29, .28); animation: pt-in .3s ease-out; }
.pt-party-in { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 22px 28px 20px; border-radius: 24px; background: var(--surface); box-shadow: var(--shadow-2); animation: pt-pop .5s cubic-bezier(.2, 1.4, .4, 1); }
.pt-party-in .ot-svg { width: 150px; height: 150px; }
.pt-party-in b { font-family: var(--font-display); font-size: 19px; letter-spacing: 1px; color: var(--clay-d); }
.pt-party-in small { font-size: 12px; color: var(--muted); }
@keyframes pt-in { from { opacity: 0; } }
@keyframes pt-pop { from { transform: scale(.7); opacity: 0; } }

@media (prefers-reduced-motion: reduce) {
  .ot-bob, .ot-blink, .ot-wob, .ot-z, .pc-pet.is-walk .pc-body { animation: none; }
}

/* 表情：生气、害羞 / 撒娇、喜欢 */
.ot-heart { fill: #E26D57; }
.ot-vein { fill: none; stroke: #D9534F; stroke-width: 2.6; stroke-linecap: round; }
.ot-shy .ot-blush, .ot-love .ot-blush { opacity: .6; }
.ot-angry .ot-blush { opacity: .5; fill: #E0624B; }
.ot-float { animation: ot-float 1.6s ease-in-out infinite; }
@keyframes ot-float { 0%, 100% { transform: translateY(0); opacity: .9; } 50% { transform: translateY(-5px); opacity: 1; } }

/* 小獭说话的气泡 */
.pc-say { position: absolute; z-index: 3; max-width: 190px; padding: 7px 11px; border-radius: 14px; background: var(--surface); color: var(--ink); pointer-events: auto;
  font-family: var(--font-display); font-size: 13px; line-height: 1.5; box-shadow: 0 6px 18px rgba(90, 60, 30, .14), 0 0 0 1px rgba(217, 119, 87, .2); cursor: pointer; }
.pc-say::after { content: ""; position: absolute; left: var(--tail, 24px); bottom: -5px; width: 10px; height: 10px; background: var(--surface); transform: rotate(45deg);
  box-shadow: 1px 1px 0 rgba(217, 119, 87, .2); }

/* ---------- 小机器人 Jason：白色装甲、陶土色饰条、青色能量光（原创造型） ---------- */
.rb-armor { fill: #F5F3EF; stroke: #3C4250; stroke-width: 3; stroke-linejoin: round; }
.rb-shade { fill: #D8DCE4; stroke: #3C4250; stroke-width: 2.6; stroke-linejoin: round; }
.rb-dark { fill: #3C4250; }
.rb-screen { fill: #1E2430; stroke: #3C4250; stroke-width: 2.6; stroke-linejoin: round; }
.rb-clay { fill: #D97757; stroke: #8E4128; stroke-width: 2; stroke-linejoin: round; }
.rb-gold { fill: #F2C873; stroke: #9A7426; stroke-width: 2; stroke-linejoin: round; }
.rb-blue { fill: #5B7DB1; }
.rb-wing { fill: #5B7DB1; stroke: #2E3E5C; stroke-width: 2.6; stroke-linejoin: round; }
.rb-thr { fill: #5B7DB1; stroke: #2E3E5C; stroke-width: 2; }
.rb-ant { fill: none; stroke: #3C4250; stroke-width: 3; stroke-linecap: round; }
.rb-core { fill: #7EE7F2; stroke: #2E8A96; stroke-width: 2; filter: drop-shadow(0 0 4px rgba(126, 231, 242, .9)); }
.rb-eye { fill: #7EE7F2; filter: drop-shadow(0 0 3px rgba(126, 231, 242, .9)); }
.rb-eye.rb-red, .rb-red { fill: #FF6B5B; stroke: #FF6B5B; }
.rb-eln { fill: none; stroke: #7EE7F2; stroke-width: 3.2; stroke-linecap: round; stroke-linejoin: round; filter: drop-shadow(0 0 3px rgba(126, 231, 242, .8)); }
.rb-eln.rb-thin { stroke-width: 2.2; }
.rb-eln.rb-dim { opacity: .55; }
.rb-eln.rb-pink { stroke: #FF9DB0; filter: drop-shadow(0 0 3px rgba(255, 157, 176, .8)); }
.rb-eln.rb-red { stroke: #FF6B5B; filter: drop-shadow(0 0 3px rgba(255, 107, 91, .8)); }
.rb-hi { fill: #FFFFFF; }
.rb-heart { fill: #FF8FA6; filter: drop-shadow(0 0 3px rgba(255, 143, 166, .8)); }
.rb-blush { fill: #FF9DB0; opacity: .8; }
.rb-seam { fill: none; stroke: #7EE7F2; stroke-width: 3; filter: drop-shadow(0 0 4px #7EE7F2); }
.rb-spark { fill: #F2C873; }
.rb-hover { animation: rb-hover 2.8s ease-in-out infinite; }
.rb-tip { animation: rb-tip 2.2s ease-in-out infinite; }
.rb-blink { transform-box: fill-box; transform-origin: center; animation: ot-blink 4.6s infinite; }
@keyframes rb-hover { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-3px); } }
@keyframes rb-tip { 0%, 100% { fill: #D97757; } 50% { fill: #FFB08F; } }
.pt-card.is-bot .pt-pond { background: radial-gradient(circle at 50% 62%, rgba(126, 231, 242, .22) 0 50%, transparent 70%),
  repeating-linear-gradient(0deg, transparent 0 15px, rgba(91, 125, 177, .08) 15px 16px), repeating-linear-gradient(90deg, transparent 0 15px, rgba(91, 125, 177, .08) 15px 16px); }
.pt-card.is-bot .pt-bar > i { background: linear-gradient(90deg, #7EE7F2, #5B7DB1); }
.pt-card.is-bot .pt-lv { color: #5B7DB1; }
.ui-btn.pt-fight { grid-column: 1 / -1; background: linear-gradient(90deg, #2E3E5C, #5B7DB1); color: #EFFFFF; letter-spacing: 1px; box-shadow: 0 0 0 1px rgba(126, 231, 242, .4), 0 6px 18px rgba(46, 62, 92, .25); }
.pt-duo { display: flex; gap: 6px; }
.pt-duo .ot-svg { width: 130px; height: 130px; }
.pt-party.is-bot .pt-party-in b { color: #5B7DB1; }

/* 在 App 里的机器人：飞行时的推进火焰、光剑、全息影像 */
.pc-flame { position: absolute; left: 50%; bottom: 2px; width: 12px; height: 20px; margin-left: -6px; border-radius: 50% 50% 50% 50% / 30% 30% 70% 70%; opacity: 0;
  background: radial-gradient(ellipse at 50% 20%, #FFFFFF, #7EE7F2 40%, rgba(91, 125, 177, 0) 72%); transform-origin: 50% 0; }
.pc-pet.is-fly .pc-flame { opacity: 1; animation: pc-flame .12s linear infinite alternate; }
@keyframes pc-flame { from { transform: translateY(14px) scaleY(.8); } to { transform: translateY(16px) scaleY(1.2); } }
.pc-saber { position: absolute; left: 68%; top: 54%; width: 4px; height: 46px; margin-top: -46px; border-radius: 3px; opacity: 0; transform-origin: 50% 100%;
  background: linear-gradient(#FFFFFF, #7EE7F2); box-shadow: 0 0 6px #7EE7F2, 0 0 14px rgba(126, 231, 242, .8); }
.pc-saber::after { content: ""; position: absolute; left: -2px; bottom: -8px; width: 8px; height: 10px; border-radius: 2px; background: #3C4250; }
.pc-holo { position: absolute; width: 160px; height: 160px; pointer-events: none; transform-origin: 50% 100%;
  filter: drop-shadow(0 0 8px rgba(126, 231, 242, .9)) saturate(0) brightness(1.3) sepia(1) hue-rotate(140deg) saturate(3); opacity: 0; }
.pc-holo::after { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(0deg, rgba(126, 231, 242, .22) 0 2px, transparent 2px 5px); mix-blend-mode: screen;
  -webkit-mask-image: radial-gradient(closest-side, #000 55%, transparent); mask-image: radial-gradient(closest-side, #000 55%, transparent); }
.pc-holo .ot-svg { opacity: .75; }

/* ---------- 战斗过场：打败邪恶代码怪兽 ---------- */
.bt-layer { position: absolute; inset: 0; z-index: 92; overflow: hidden; background: #0B0D14; opacity: 0; cursor: pointer; -webkit-user-select: none; user-select: none; }
.bt-stage { position: absolute; inset: 0; }
.bt-cv { position: absolute; inset: 0; width: 100%; height: 100%; }
.bt-hero, .bt-boss, .bt-holo { position: absolute; left: 0; top: 0; pointer-events: none; will-change: transform; }
.bt-hero-in, .bt-boss-in { width: 100%; height: 100%; }
.bt-holo { opacity: 0; filter: saturate(0) brightness(1.4) sepia(1) hue-rotate(140deg) saturate(3) drop-shadow(0 0 12px #7EE7F2); }
.bt-holo::after { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(0deg, rgba(126, 231, 242, .25) 0 2px, transparent 2px 5px); mix-blend-mode: screen;
  -webkit-mask-image: radial-gradient(closest-side, #000 55%, transparent); mask-image: radial-gradient(closest-side, #000 55%, transparent); }
.bt-saber { position: absolute; left: 74%; top: 56%; width: 6px; height: 92px; margin-top: -92px; border-radius: 4px; opacity: 0; transform-origin: 50% 100%;
  background: linear-gradient(#FFFFFF, #9AF3FB); box-shadow: 0 0 8px #7EE7F2, 0 0 22px #7EE7F2, 0 0 40px rgba(126, 231, 242, .6); }
.bt-saber::after { content: ""; position: absolute; left: -3px; bottom: -14px; width: 12px; height: 16px; border-radius: 3px; background: #3C4250; box-shadow: inset 0 3px 0 #D97757; }
.bs-body { fill: #2A1B3D; stroke: #B061FF; stroke-width: 3; stroke-linejoin: round; filter: drop-shadow(0 0 10px rgba(176, 97, 255, .7)); }
.bs-horn { fill: #5B2A86; stroke: #B061FF; stroke-width: 2.4; stroke-linejoin: round; }
.bs-eye { fill: #FF3B5C; filter: drop-shadow(0 0 6px #FF3B5C); }
.bs-pupil { fill: #FFE0E6; }
.bs-mouth { fill: #150C20; stroke: #FF7A92; stroke-width: 2.4; stroke-linejoin: round; }
.bs-code { font: 700 18px ui-monospace, Menlo, monospace; fill: #B061FF; }
.bs-c2 { font-size: 13px; fill: rgba(176, 97, 255, .8); }
.bt-title { position: absolute; left: 50%; top: 36%; display: flex; flex-direction: column; align-items: center; gap: 6px; opacity: 0; pointer-events: none; white-space: nowrap; }
.bt-title b { font: 900 40px/1 ui-rounded, "Avenir Next", system-ui, sans-serif; letter-spacing: 4px; color: #EFFFFF; text-shadow: 0 0 12px #7EE7F2, 0 0 30px rgba(126, 231, 242, .6); font-style: italic; }
.bt-title small { font-family: var(--font-display); font-size: 14px; letter-spacing: 3px; color: #BFF7FF; }
.bt-title.is-warn b { color: #FFE3E6; text-shadow: 0 0 12px #FF3B5C, 0 0 30px rgba(255, 59, 92, .7); }
.bt-title.is-warn small { color: #FFB3BF; }
.bt-title.is-cap { top: 22%; }
.bt-title.is-ko b { font-size: 64px; color: #FFF4D6; text-shadow: 0 0 14px #F2C873, 0 0 40px rgba(242, 200, 115, .7); }
.bt-hud { position: absolute; left: 14px; right: 14px; top: calc(9% + 10px); display: flex; gap: 14px; opacity: 0; pointer-events: none; }
.bt-hp { flex: 1; display: flex; flex-direction: column; gap: 4px; }
.bt-hp b { font: 800 11px ui-rounded, system-ui, sans-serif; letter-spacing: 2px; color: #BFF7FF; }
.bt-hp.is-boss { align-items: flex-end; }
.bt-hp.is-boss b { color: #E9C8FF; }
.bt-hp i { display: block; width: 100%; height: 8px; border-radius: 4px; background: rgba(255, 255, 255, .12); overflow: hidden; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .18); }
.bt-hp span { display: block; height: 100%; border-radius: 4px; background: linear-gradient(90deg, #7EE7F2, #5B7DB1); }
.bt-hp.is-boss i { display: flex; justify-content: flex-end; }
.bt-hp.is-boss span { background: linear-gradient(90deg, #FF3B5C, #B061FF); }
.bt-bar { position: absolute; left: 0; right: 0; height: 9%; background: #000; pointer-events: none; }
.bt-bar.is-top { top: 0; }
.bt-bar.is-bot { bottom: 0; }
.bt-skip { position: absolute; right: 14px; bottom: calc(env(safe-area-inset-bottom, 0px) + 14px); z-index: 2; height: 30px; padding: 0 12px; border: 1px solid rgba(255, 255, 255, .25); border-radius: 15px;
  background: rgba(255, 255, 255, .08); color: #DDEFF2; font: inherit; font-size: 12px; cursor: pointer; }
