.site-pet {
  --pet-standing-width: 170px;
  --pet-standing-height: 220px;
  --pet-rest-width: var(--pet-standing-width);
  --pet-rest-height: var(--pet-standing-height);
  inset: clamp(76px,57dvh,calc(100dvh - var(--bp-bottom) - var(--pet-standing-height))) var(--sar) auto auto;
}
.site-pet .bp-launch {
  position:relative;
  display:block;
  width:var(--pet-standing-width);
  height:var(--pet-standing-height);
  overflow:hidden;
  background:transparent;
  border:0;
  box-shadow:none;
  isolation:isolate;
  -webkit-tap-highlight-color:transparent;
}
.site-pet .bp-figure { position:absolute; inset:0; }
.site-pet .bp-bubble {
  top:calc(var(--pet-bubble-head,48px) - 34px);
  bottom:auto;
  width:min(224px,calc(100vw - 24px));
  translate:0 -100%;
  font-size:13px;
  line-height:1.6;
}
.site-pet[data-pet-bubble="down"] .bp-bubble {
  top:calc(var(--pet-bubble-head,48px) + 34px);
  translate:none;
}
.site-pet .bp-rig { display:block; width:100%; height:100%; pointer-events:none; }
.site-pet:not([data-pet3d="ready"]) .bp-rig { visibility:hidden; }
.site-pet .bp-rig-fallback,
.site-pet[data-pet3d="ready"] .bp-rig-fallback { display:none; }
.site-pet[data-pet3d="fallback"] .bp-rig-fallback,
.site-pet[data-pet3d="loading"] .bp-rig-fallback {
  display:block;
  position:absolute;
  inset:12% auto auto 22%;
  width:56%;
  height:auto;
  object-fit:contain;
}
.site-pet:is([data-pet3d="loading"],[data-pet3d="fallback"])[data-pet-peek="right"] .bp-rig-fallback { left:auto; right:0; top:8%; width:65%; transform:rotate(7deg); transform-origin:100% 50%; }
.site-pet:is([data-pet3d="loading"],[data-pet3d="fallback"])[data-pet-peek="left"] .bp-rig-fallback { left:0; top:8%; width:65%; transform:scaleX(-1) rotate(7deg); transform-origin:50% 50%; }
.site-pet:is([data-pet3d="loading"],[data-pet3d="fallback"])[data-pet-peek="top"] .bp-rig-fallback { top:2px; }
.site-pet:is([data-pet3d="loading"],[data-pet3d="fallback"])[data-pet-peek="bottom"] .bp-rig-fallback { top:auto; bottom:2px; }
.site-pet[data-pet-position][data-pet-peek="top"] { top:var(--sat); }
.site-pet .bp-launch:focus,.site-pet .bp-launch:active { outline:none; box-shadow:none; }
.site-pet .bp-launch:focus-visible::after {
  content:'';
  position:absolute;
  left:50%;
  bottom:8px;
  width:5px;
  height:5px;
  border-radius:50%;
  background:var(--accent);
  pointer-events:none;
}
.site-pet[data-pet-peek="right"] .bp-launch:focus-visible::after { left:auto; right:10px; bottom:47%; }
.site-pet[data-pet-peek="left"] .bp-launch:focus-visible::after { left:10px; bottom:47%; }
.site-pet[data-pet-peek="top"] .bp-launch:focus-visible::after { top:8px; bottom:auto; }
.site-pet[data-pet3d="ready"]:not([data-pet-dragging]):not([data-pet-shifting]) .bp-launch { clip-path:inset(0 2% 2px); }
.site-pet:is([data-pet3d="ready"],[data-pet3d="fallback"])[data-pet-peek="left"]:not([data-pet-dragging]):not([data-pet-shifting]) .bp-launch { clip-path:polygon(0 0,65% 0,65% 58%,44% 90%,34% 100%,0 100%); }
.site-pet:is([data-pet3d="ready"],[data-pet3d="fallback"])[data-pet-peek="right"]:not([data-pet-dragging]):not([data-pet-shifting]) .bp-launch { clip-path:polygon(35% 0,100% 0,100% 100%,66% 100%,56% 90%,35% 58%); }
.site-pet[data-pet3d="ready"][data-pet-peek="top"]:not([data-pet-dragging]):not([data-pet-shifting]) .bp-launch { clip-path:inset(0 12% 62%); }
.site-pet[data-pet3d="ready"][data-pet-peek="bottom"]:not([data-pet-dragging]):not([data-pet-shifting]) .bp-launch { clip-path:inset(62% 12% 0); }
.site-pet .bp-shop-art { display:grid; place-items:center; width:42px; aspect-ratio:2; }
.bp-shop-art > span {
  display:block; width:100%; height:8px; border-radius:100px;
  background:var(--pet-swatch,var(--line)); box-shadow:inset 0 1px #fff2;
}
.bp-shop-shape { font-size:15px; color:#e26b7a; }
@media (max-width:720px) {
  html:not([data-layout="desktop"]) .site-pet {
    --pet-standing-width:128px;
    --pet-standing-height:166px;
  }
}

.bp-lounge {
  --pet-paper:#191416; --pet-surface:#241b1f; --pet-well:#2e2126; --pet-line:#442e36;
  --pet-ink:#fff4f4; --pet-muted:#d3b6bd; --pet-pink:#ffb0bd; --pet-strong:#f6a7b4; --pet-strong-ink:#2e1019;
  --pet-gold:#f5c580; --pet-focus:#ffb0bd;
  border:1px solid var(--pet-line); border-radius:15px;
  width:min(calc(100% - 32px),696px); max-height:calc(100dvh - 40px); padding:0; margin:auto;
  background:var(--pet-paper); color:var(--pet-ink);
  color-scheme:dark;
  font:500 13px/1.5 -apple-system,BlinkMacSystemFont,"Segoe UI","PingFang SC","Microsoft YaHei",sans-serif;
  box-shadow:0 18px 70px #0009; overflow:auto; overscroll-behavior:contain;
}
.bp-lounge::backdrop { background:#080507b5; }
.bp-lounge[open] { display:block; }
.bp-lounge ::selection { background:var(--pet-strong); color:var(--pet-strong-ink); }
.bp-lounge button,.bp-lounge input,.bp-lounge summary { font:inherit; }
.bp-lounge button { color:inherit; cursor:pointer; border:0; border-radius:6px; background:transparent; padding:0; }
.bp-lounge :is(button,summary,input,select,textarea,[tabindex="0"]):focus-visible { outline:2px solid var(--pet-focus); outline-offset:3px; }
.bp-lounge button[aria-disabled="true"] { color:var(--pet-muted); cursor:default; }
.bp-lounge [hidden] { display:none!important; }
.bp-lounge svg { display:block; flex:0 0 auto; width:17px; height:17px; }
.bp-lounge-head {
  display:flex; justify-content:space-between; align-items:center; gap:12px; min-height:62px;
  padding:10px 17px 10px 19px; border-bottom:1px solid var(--pet-line);
}
.bp-identity,.bp-head-controls,.bp-coins { display:flex; align-items:center; gap:8px; min-width:0; }
.bp-identity h2 { margin:0; font-size:22px; font-weight:670; line-height:1.2; overflow-wrap:anywhere; }
.bp-identity h2:focus { outline:none; }
.bp-lounge .bp-icon { display:grid; place-items:center; width:32px; height:32px; color:var(--pet-muted); flex:0 0 auto; }
.bp-lounge .bp-icon:hover { background:var(--pet-well); color:var(--pet-ink); }
.bp-head-controls { flex:none; gap:11px; }
.bp-coins { min-height:32px; padding:0 10px; color:var(--pet-gold); border:1px solid var(--pet-line); border-radius:6px; }
.bp-coins strong { font-size:14px; font-variant-numeric:tabular-nums; }
.bp-coins svg { width:15px; height:15px; }
.bp-name-form { display:flex; align-items:center; gap:8px; padding:8px 18px; border-bottom:1px solid var(--pet-line); }
.bp-name-form label { flex:none; color:var(--pet-muted); }
.bp-name-form input { width: min(100%, 186px); min-width:0; padding:7px 8px; border:1px solid var(--pet-line); border-radius:6px; background:var(--pet-surface); color:inherit; }
.bp-lounge-body { display:grid; grid-template-columns:253px minmax(0,1fr); min-height:394px; }
.bp-pet-profile { padding:12px; min-width:0; border-right:1px solid var(--pet-line); }
.bp-model-stage {
  isolation:isolate; position:relative; overflow:hidden; height:274px; border-radius:8px 8px 2px 2px;
  background:radial-gradient(ellipse at 50% 22%,#5a303d 0,#38232b 49%,#261a1f 83%);
  -webkit-tap-highlight-color:transparent;
}
.bp-stage-floor { position:absolute; inset:auto 13% 6% 13%; height:15px; border-radius:50%; background:#190b1266; }
.bp-model-stage .bp-rig { position:absolute; z-index:1; inset:0; width:100%; height:100%; pointer-events:none; }
.bp-lounge:not([data-pet3d="ready"]) .bp-model-stage .bp-rig { visibility:hidden; }
.bp-lounge .bp-stage-touch {
  position:absolute; z-index:2; inset:3px; border-radius:5px; cursor:grab; touch-action:pan-y;
}
.bp-lounge .bp-stage-touch[data-orbiting] { cursor:grabbing; }
.bp-lounge .bp-orbit-help {
  position:absolute; left:8px; top:8px; z-index:3; pointer-events:none; color:#ead5cb; font-size:10px;
  padding:3px 5px; border-radius:4px; background:#211820cb;
}
.bp-lounge:not([data-pet3d="ready"]) .bp-orbit-help { display:none; }
@media(max-width:640px){.bp-lounge .bp-orbit-help { display:none; }}
.bp-lounge .bp-stage-touch:focus-visible { outline-offset:-2px; }
.bp-save-status { margin:0 0 7px; color:var(--pet-gold); overflow-wrap:anywhere; }
.bp-studio-fallback {
  position:absolute; z-index:1; inset:0; margin:auto; width:46%; height:52%; object-fit:contain;
}
.bp-lounge[data-pet3d="ready"] .bp-studio-fallback { display:none; }
.bp-lounge[data-pet3d="fallback"] .bp-studio-fallback { width:75%; height:79%; }
.bp-lounge .bp-model-zoom {
  display:none; position:absolute; z-index:2; right:3px; bottom:3px; color:var(--pet-muted);
}
.bp-lounge[data-pet3d="ready"] .bp-model-zoom { display:grid; }
.bp-lounge .bp-model-zoom[aria-pressed="true"] { background:#24151c; color:var(--pet-pink); }
.bp-level { display:grid; gap:3px; padding:10px 2px 9px; border-bottom:1px solid var(--pet-line); }
.bp-level div { display:flex; justify-content:space-between; align-items:center; gap:10px; }
.bp-level span { color:var(--pet-muted); font-size:12px; }
.bp-level strong { font-size:15px; color:var(--pet-gold); font-variant-numeric:tabular-nums; }
.bp-level [data-exp-label] { font-size:11px; text-align:right; }
.bp-lounge :is(progress, meter) {
  appearance:none; width:100%; height:5px; display:block; border:0; margin:0; overflow:hidden;
  border-radius:5px; background:var(--pet-line); accent-color:var(--pet-strong);
}
.bp-lounge progress::-webkit-progress-bar,.bp-lounge meter::-webkit-meter-bar { border:0; background:var(--pet-line); }
.bp-lounge progress::-webkit-progress-value,.bp-lounge meter::-webkit-meter-optimum-value,
.bp-lounge meter::-webkit-meter-suboptimum-value,.bp-lounge meter::-webkit-meter-even-less-good-value {
  background:var(--pet-strong); border-radius:5px;
}
.bp-lounge progress::-moz-progress-bar,.bp-lounge meter::-moz-meter-bar { background:var(--pet-strong); border-radius:5px; }
.bp-lounge .bp-level progress::-webkit-progress-value { background:var(--pet-gold); }
.bp-lounge .bp-level progress::-moz-progress-bar { background:var(--pet-gold); }
.bp-vitals { display:grid; grid-template-columns:1fr 1fr; gap:9px 12px; padding:10px 2px 0; }
.bp-vital div { display:flex; align-items:center; gap:4px; margin-bottom:3px; }
.bp-vital span,.bp-vital b { font-size:12px; }
.bp-vital svg { width:13px; height:13px; color:var(--pet-muted); }
.bp-vital b { margin-left:auto; font-variant-numeric:tabular-nums; }
.bp-vital[data-low="true"] b { color:var(--pet-gold); }
.bp-lounge-work { min-width:0; padding:0 14px 9px; }
.bp-section-nav { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); border-bottom:1px solid var(--pet-line); }
.bp-section-nav button {
  position:relative; min-height:47px; padding:4px 5px; color:var(--pet-muted);
  font-size:14px; font-weight:650; border-radius:0;
}
.bp-section-nav button::after {
  content:''; position:absolute; inset:auto 12px -1px; height:2px; background:var(--pet-pink);
  transform:scaleX(0); transition:transform 160ms ease;
}
.bp-section-nav button[aria-pressed="true"] { color:var(--pet-pink); }
.bp-section-nav button[aria-pressed="true"]::after { transform:scaleX(1); }
.bp-section-nav button:hover { color:var(--pet-ink); }
.bp-feedback { min-height:1.5em; margin:8px 1px 5px; font-size:12px; color:var(--pet-pink); overflow-wrap:anywhere; }
.bp-view { min-width:0; height:321px; overflow:auto; overscroll-behavior:contain; scrollbar-width:thin; scrollbar-color:var(--pet-line) transparent; }
.bp-need {
  display:flex; justify-content:space-between; align-items:center; gap:10px;
  padding:11px 10px 11px 12px; margin:0 0 6px; border-radius:8px;
  background:#38232b;
}
.bp-need > div { display:flex; align-items:center; gap:8px; min-width:0; }
.bp-need > div > svg { color:var(--pet-strong); width:19px; height:19px; }
.bp-need strong { display:block; font-size:14px; }
.bp-need span { display:block; color:var(--pet-muted); font-size:12px; }
.bp-lounge .bp-primary,.bp-lounge .bp-secondary {
  display:inline-flex; align-items:center; justify-content:center; flex:none; gap:4px; white-space:nowrap;
  min-height:35px; padding:4px 10px; border-radius:6px; font-size:12px; font-weight:670;
  transition:background-color 150ms ease,transform 150ms ease;
}
.bp-lounge .bp-primary { background:var(--pet-strong); color:var(--pet-strong-ink); }
.bp-lounge .bp-primary:hover { background:#ffc3ce; }
.bp-lounge .bp-secondary { border:1px solid var(--pet-line); color:var(--pet-ink); }
.bp-lounge .bp-secondary:not([aria-disabled="true"]):hover { background:var(--pet-well); }
.bp-lounge :is(.bp-primary,.bp-secondary):not([aria-disabled="true"]):active { transform:scale(.97); }
.bp-lounge :is(.bp-primary,.bp-secondary) svg { width:13px; height:13px; }
.bp-empty { color:var(--pet-muted); margin:5px 2px 9px; }
.bp-action-list button {
  display:grid; grid-template-columns:18px minmax(0,1fr) auto; align-items:center; gap:8px; width:100%;
  min-height:47px; padding:4px 9px; text-align:left; border-bottom:1px solid var(--pet-line); border-radius:0;
}
.bp-action-list button:last-child { border-bottom:0; }
.bp-action-list button:not([aria-disabled="true"]):hover { background:var(--pet-surface); }
.bp-action-list button > svg { color:var(--pet-strong); width:15px; height:15px; }
.bp-action-list button[aria-disabled="true"] svg { color:var(--pet-muted); }
.bp-action-list :is(strong,small) { display:block; }
.bp-action-list small { color:var(--pet-muted); font-size:11px; }
.bp-action-note { text-align:right; }
.bp-current-job { display:grid; gap:9px; padding:10px; border-radius:8px; background:var(--pet-well); }
.bp-current-job > div,.bp-list-head { display:flex; align-items:center; gap:8px; }
.bp-current-job time,.bp-list-head span { margin-left:auto; font-variant-numeric:tabular-nums; color:var(--pet-gold); }
.bp-current-job button b { margin-left:auto; }
.bp-training-list article,.bp-quests article {
  display:grid; grid-template-columns:auto minmax(0,1fr) auto; align-items:center; gap:8px; padding:9px 0;
  border-bottom:1px solid var(--pet-line);
}
.bp-training-list article:last-child,.bp-quests article:last-child { border-bottom:0; }
.bp-training-list h3,.bp-quests h3 { margin:0; font-size:13px; }
.bp-training-list p,.bp-quests p { color:var(--pet-muted); font-size:12px; margin:2px 0 0; }
.bp-training-list small { color:var(--pet-gold); font-size:11px; }
.bp-activity-icon {
  width:31px; height:31px; display:grid; place-items:center; background:var(--pet-well);
  border-radius:6px; color:var(--pet-strong);
}
.bp-quests article { grid-template-columns:minmax(0,1fr) auto auto; }
.bp-quest-counter { font-size:12px; color:var(--pet-muted); font-variant-numeric:tabular-nums; }
.bp-reset-note { color:var(--pet-muted); margin:7px 0; font-size:11px; }
.bp-closet-head { display:flex; justify-content:space-between; align-items:center; gap:8px; }
.bp-segments { display:flex; gap:2px; padding:2px; background:var(--pet-surface); border-radius:7px; }
.bp-segments button { min-height:34px; min-width:55px; font-size:12px; padding:2px 7px; color:var(--pet-muted); }
.bp-segments button[aria-pressed="true"] { background:var(--pet-well); color:var(--pet-pink); }
.bp-lounge .bp-text-button { color:var(--pet-pink); padding:2px 6px; min-height:35px; font-size:12px; }
.bp-look-label { margin:7px 0 3px; color:var(--pet-muted); font-size:12px; }
.bp-look-label strong { color:var(--pet-ink); }
.bp-looks article,.bp-look-name { display:flex; align-items:center; gap:7px; min-width:0; }
.bp-looks article { justify-content:space-between; min-height:46px; padding:4px; border-bottom:1px solid var(--pet-line); }
.bp-looks article:last-child { border-bottom:0; }
.bp-looks article[data-trying] { background:var(--pet-surface); }
.bp-looks article > div:nth-child(2) { display:flex; gap:4px; align-items:center; flex:none; }
.bp-look-name strong { font-size:12px; overflow-wrap:anywhere; }
.bp-look-name small { color:var(--pet-muted); font-size:11px; }
.bp-swatch { width:16px; height:16px; background:var(--swatch); border:1px solid #ffd4dd38; border-radius:4px; flex:none; }
.bp-lounge-foot {
  display:flex; justify-content:space-between; align-items:start; padding:5px 13px;
  border-top:1px solid var(--pet-line); color:var(--pet-muted);
}
.bp-lounge-foot > div,.bp-lounge-foot details[open] div { display:flex; align-items:center; flex-wrap:wrap; gap:2px; }
.bp-lounge-foot details { display:grid; justify-items:end; }
.bp-lounge-foot details[open] { flex:1; }
.bp-lounge-foot :is(button,summary) { min-height:36px; padding:7px; font-size:12px; cursor:pointer; }
.bp-lounge-foot button:hover,.bp-lounge-foot button[aria-pressed="true"] { color:var(--pet-pink); }
.bp-motion-option { display:flex; align-items:center; gap:6px; min-height:36px; padding:2px 6px; font-size:12px; white-space:nowrap; }
.bp-motion-option select { padding:5px; border:1px solid var(--pet-line); border-radius:5px; background:var(--pet-surface); color:var(--pet-ink); font:inherit; }
.bp-motion-hint { align-self:center; margin:0 4px; color:var(--pet-gold); font-size:11px; white-space:nowrap; }
@media (max-width:640px) {
  .bp-lounge {
    width:calc(100% - 16px); max-width:none; margin:auto auto max(8px,env(safe-area-inset-bottom)) auto;
    max-height:min(calc(100dvh - max(16px,env(safe-area-inset-top)) - max(8px,env(safe-area-inset-bottom))),760px);
  }
  .bp-lounge-head { min-height:54px; padding:4px 13px 4px 14px; }
  .bp-identity h2 { font-size:20px; }
  .bp-lounge .bp-icon { width:44px; height:44px; }
  .bp-lounge-body { display:block; min-height:0; }
  .bp-pet-profile {
    display:grid; grid-template-columns:minmax(89px,1fr) minmax(176px,1.45fr); grid-template-rows:auto 1fr;
    column-gap:10px; padding:8px 12px;
    border-right:0; border-bottom:1px solid var(--pet-line);
  }
  .bp-model-stage { height:151px; grid-row:1/-1; }
  .bp-level { padding-top:3px; padding-bottom:6px; }
  .bp-vitals { padding-top:7px; gap:8px; }
  .bp-lounge-work { padding:0 11px 5px; }
  .bp-view { height:clamp(195px,34dvh,318px); }
  .bp-need { padding:8px; }
  .bp-lounge :is(.bp-primary,.bp-secondary,.bp-text-button,.bp-segments button,.bp-lounge-foot button,.bp-lounge-foot summary) { min-height:44px; }
  .bp-action-list button { min-height:45px; }
  .bp-lounge-foot { padding-inline:9px; }
}
@media (max-width:350px) {
  .bp-pet-profile { grid-template-columns:minmax(78px,.76fr) minmax(153px,1.4fr); gap:7px; }
  .bp-vitals { gap:6px; }
  .bp-vital svg { display:none; }
  .bp-need > div > svg { display:none; }
  .bp-lounge .bp-primary,.bp-lounge .bp-secondary { padding-inline:7px; }
}
@media (prefers-reduced-motion:reduce) {
  .bp-lounge :is(button,button::after) { transition:none; }
}

.bp-lounge { width:min(calc(100% - 32px),914px); --bp-coral:#f2a4b0; --bp-sky:#a3c7f6; --bp-mint:#97d9b8; --bp-amber:#f0cd83; }
.bp-lounge-body { grid-template-columns:250px minmax(0,1fr); min-height:min(530px,64dvh); }
.bp-lounge-work { padding-inline:16px; }
.bp-lounge .bp-feedback:empty { min-height:0; margin:6px 0 0; }
.bp-view { height:clamp(270px,49dvh,440px); }
.bp-section-nav { grid-template-columns:repeat(4,minmax(0,1fr)); gap:1px 7px; padding-block:5px; }
.bp-section-nav button { display:flex; gap:5px; align-items:center; justify-content:center; border-radius:6px; min-height:36px; font-size:13px; }
.bp-section-nav button::after { content:none; }
.bp-section-nav button[aria-pressed="true"] { background:#402932; }
.bp-section-nav button svg { height:15px; width:15px; }
.bp-section-nav button:not([aria-pressed="true"]):hover { background:var(--pet-surface); }
.bp-level [data-stage-name] { color:var(--bp-coral); font-weight:680; }
.bp-skills { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); margin:0; padding:9px 0; gap:6px; border-bottom:1px solid var(--pet-line); }
.bp-skills div { padding:5px 3px; text-align:center; background:var(--pet-surface); border-radius:5px; }
.bp-skills dt { font-size:11px; color:var(--pet-muted); }
.bp-skills dd { margin:0; color:var(--skill-color,var(--pet-ink)); font-size:17px; font-weight:700; font-variant-numeric:tabular-nums; }
.bp-lounge [data-skill="strength"] { --skill-color:var(--bp-coral); }
.bp-lounge [data-skill="charm"] { --skill-color:var(--bp-amber); }
.bp-lounge [data-skill="intellect"] { --skill-color:var(--bp-sky); }
.bp-school-progress { padding:14px 14px 11px; background:linear-gradient(112deg,#36242c,#271d23); border-radius:9px; }
.bp-school-progress header { display:flex; align-items:center; justify-content:space-between; gap:10px; margin-bottom:12px; }
.bp-school-progress h3 { margin:0 0 2px; font-size:22px; font-weight:700; letter-spacing:-.025em; }
.bp-school-progress header span,.bp-school-progress small { font-size:12px; color:var(--pet-muted); }
.bp-school-progress header b { font-size:23px; color:var(--bp-coral); font-variant-numeric:tabular-nums; }
.bp-education-rail { display:grid; grid-template-columns:repeat(5,minmax(0,1fr)); list-style:none; margin:11px 0 0; padding:0; }
.bp-education-rail li { position:relative; display:grid; justify-items:center; gap:4px; font-size:11px; color:var(--pet-muted); }
.bp-education-rail i { z-index:1; width:8px; height:8px; border:1px solid #85606c; border-radius:50%; background:#34232a; }
.bp-education-rail li:not(:last-child)::after { content:''; position:absolute; top:4px; left:50%; width:100%; height:1px; background:#664551; }
.bp-education-rail li[data-current="true"] { color:#ffcad3; font-weight:700; }
.bp-education-rail :is(li[data-current="true"],li[data-finished="true"]) i { background:var(--bp-coral); border-color:var(--bp-coral); }
.bp-game-heading { display:flex; justify-content:space-between; align-items:end; gap:10px; margin:8px 0 7px; }
.bp-game-heading h3 { display:flex; align-items:center; gap:6px; margin:0 0 2px; font-size:16px; }
.bp-game-heading h3 svg { color:var(--bp-coral); }
.bp-game-heading span { font-size:11px; color:var(--pet-muted); }
.bp-select { display:grid; gap:3px; flex:none; color:var(--pet-muted); font-size:11px; }
.bp-select select { min-height:33px; min-width:62px; padding:3px 5px; color:var(--pet-ink); background:var(--pet-well); border:1px solid var(--pet-line); border-radius:5px; font:inherit; font-size:13px; }
.bp-game-list article { display:grid; grid-template-columns:32px minmax(0,1fr) auto; align-items:center; gap:8px; padding:9px 0; border-bottom:1px solid var(--pet-line); }
.bp-game-list article:last-child { border:0; }
.bp-skill-mark { display:grid; place-items:center; width:32px; height:32px; border-radius:7px; color:var(--skill-color,var(--bp-coral)); background:var(--pet-well); }
.bp-game-rowtext h4,.bp-invest-list h4 { margin:0 0 2px; font-size:13px; font-weight:670; }
.bp-game-rowtext :is(span,small),.bp-invest-list :is(span,small),.bp-owned-row > small { color:var(--pet-muted); font-size:11px; }
.bp-game-rowtext h4 small { margin-left:6px; white-space:nowrap; }
.bp-lounge .bp-game-list button[aria-disabled="true"]:not(:focus-visible){ opacity:.75; }
.bp-active-strip,.bp-activity-summary,.bp-lounge [data-activity-strip] .bp-current-job { margin:7px 0 0; }
.bp-active-strip { padding:7px 8px; border-radius:6px; background:#33232a; }
.bp-active-heading,.bp-activity-summary { display:flex; align-items:center; gap:6px; font-size:12px; }
.bp-active-heading strong,.bp-activity-summary span { min-width:0; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.bp-active-heading :is(small,time) { color:var(--bp-amber); font-variant-numeric:tabular-nums; }
.bp-active-heading time,.bp-activity-summary strong { margin-left:auto; flex:none; }
.bp-active-heading button.bp-text-button { min-height:33px; }
.bp-active-strip progress { margin-top:4px; }
.bp-activity-summary { color:var(--pet-muted); padding:5px 2px; }
.bp-activity-summary svg,.bp-activity-summary strong { color:var(--bp-mint); }
.bp-invest-metrics { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); margin:0 0 9px; gap:4px; }
.bp-invest-metrics div { padding:8px; background:var(--pet-surface); border-radius:5px; }
.bp-invest-metrics dt { font-size:11px; color:var(--pet-muted); }
.bp-invest-metrics dd { margin:3px 0 0; font-size:16px; font-weight:690; font-variant-numeric:tabular-nums; }
.bp-invest-list { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:7px; }
.bp-invest-list article { min-width:0; display:grid; gap:5px; padding:8px; border-radius:7px; background:var(--pet-surface); }
.bp-invest-list header { min-width:0; display:grid; gap:5px; }
.bp-invest-list header span { margin-left:3px; }
.bp-invest-list header strong { font-size:14px; }
.bp-invest-list h4 small { display:block; }
.bp-invest-list footer { display:flex; justify-content:space-between; align-items:center; gap:3px; }
.bp-invest-list button.bp-secondary { padding-inline:5px; }
.bp-market-line { width:100%!important; height:35px!important; stroke:var(--chart-color,var(--bp-sky)); stroke-width:1.8; border-bottom:1px solid var(--pet-line); }
.bp-lounge [data-sign="gain"] { color:#ff9ca7; --chart-color:#ff9ca7; }
.bp-lounge [data-sign="loss"] { color:#89dfae; --chart-color:#89dfae; }
@media(max-width:720px){
  .bp-lounge{width:calc(100% - 14px);max-height:calc(100dvh - max(14px,env(safe-area-inset-top)) - max(8px,env(safe-area-inset-bottom)));margin:auto auto max(7px,env(safe-area-inset-bottom)) auto;}
  .bp-lounge-body{display:block;min-height:0;}
  .bp-pet-profile{display:grid;grid-template-columns:minmax(78px,.9fr) minmax(154px,1.7fr);grid-template-rows:auto auto auto;gap:4px 8px;border-right:0;border-bottom:1px solid var(--pet-line);padding:7px 10px;}
  .bp-model-stage{height:147px;grid-row:1/-1;}
  .bp-skills{padding:4px 0;}
  .bp-skills div{padding:3px;}
  .bp-skills dd{font-size:14px;}
  .bp-vitals{padding:3px 0;gap:6px 9px;}
  .bp-level{gap:2px;padding:3px 0;}
  .bp-lounge-work{padding-inline:10px;}
  .bp-view{height:clamp(158px,29dvh,320px);}
  .bp-section-nav{gap:1px 3px;padding-block:2px;}
  .bp-section-nav button{min-height:42px;font-size:12px;}
  .bp-section-nav button svg{width:13px;height:13px;}
  .bp-game-heading h3{font-size:15px;}
  .bp-invest-list { grid-template-columns:1fr; }
  .bp-invest-list header{display:flex;justify-content:space-between;}
  .bp-invest-list h4 small{display:inline;}
  .bp-game-list article{grid-template-columns:25px minmax(0,1fr) auto;gap:6px;}
  .bp-skill-mark{width:25px;height:29px;}
  .bp-game-list button{padding-inline:6px;}
}
@media(max-width:345px){
  .bp-section-nav button svg{display:none;}
  .bp-school-progress{padding-inline:8px;}
  .bp-pet-profile{grid-template-columns:minmax(70px,1fr) minmax(145px,1.6fr);}
  .bp-game-heading>div{min-width:0;}
}

.bp-section-nav { grid-template-columns:repeat(5,minmax(0,1fr)); }
.bp-lounge { --bp-adventure:#9cdbcb; --bp-adventure-ink:#cdeae4; }
.bp-battle-header { display:grid; gap:10px; padding:13px; border-radius:9px; background:linear-gradient(109deg,#233b39,#22282b); }
.bp-battle-header h3 { display:flex; align-items:center; gap:6px; margin:0 0 3px; color:var(--bp-adventure-ink); font-size:19px; }
.bp-battle-header span { color:var(--bp-adventure-ink); font-size:11px; }
.bp-battle-header dl { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:6px; margin:0; }
.bp-battle-header dl div { padding:5px 8px; min-width:0; border-radius:5px; background:#192629; }
.bp-battle-header dt,.bp-battle-header small { font-size:11px; color:#c0d7d1; }
.bp-battle-header dd { margin:1px 0 0; color:#e6f8f2; font-size:17px; font-weight:685; font-variant-numeric:tabular-nums; }
.bp-battle-header small { margin-left:2px; font-weight:500; }
.bp-region-list article { display:grid; grid-template-columns:36px minmax(0,1fr) auto; gap:8px; align-items:center; min-height:49px; padding:6px 2px; border-bottom:1px solid var(--pet-line); }
.bp-region-list article:last-child { border-bottom:0; }
.bp-route-symbol,.bp-gear-list .bp-skill-mark { display:grid; place-items:center; width:34px; height:32px; border-radius:6px; color:var(--rarity,var(--terrain,#a1d8bd)); background:var(--zone-bg,#28332b); }
.bp-region-list [data-zone="ford"] { --terrain:#afd8ff; --zone-bg:#273141; }
.bp-region-list [data-zone="forge"] { --terrain:#ffc099; --zone-bg:#432d27; }
.bp-region-list [data-zone="city"] { --terrain:#e5c8fc; --zone-bg:#382d48; }
.bp-region-list [data-zone="court"] { --terrain:#f6d488; --zone-bg:#432f27; }
.bp-region-list article[data-locked="true"] .bp-route-symbol { color:#baaeb5; background:#28232b; }
.bp-lounge .bp-region-list button[aria-disabled="true"] { color:var(--pet-muted); background:transparent; border:1px solid var(--pet-line); }
.bp-lounge .bp-region-list button.bp-primary:not([aria-disabled="true"]) { background:var(--bp-adventure); color:#102a26; }
.bp-battle-arena { padding:11px 10px; margin-top:9px; border-radius:8px; background:#292631; }
.bp-battle-arena header { display:flex; align-items:baseline; flex-wrap:wrap; gap:6px; }
.bp-battle-arena header > span,.bp-battle-arena small { font-size:11px; color:var(--pet-muted); }
.bp-battle-arena small { margin-left:auto; color:#d4d9f3; }
.bp-health-grid { display:grid; grid-template-columns:1fr 1fr; gap:7px; margin:7px 0; }
.bp-health-grid [data-health] > div { display:flex; justify-content:space-between; flex-wrap:wrap; gap:3px; font-size:11px; }
.bp-health-grid [data-health] b { color:var(--pet-muted); font-variant-numeric:tabular-nums; }
.bp-health-grid progress { margin-top:3px; }
.bp-health-grid [data-health="you"] progress::-webkit-progress-value,.bp-combat-strip progress::-webkit-progress-value { background:var(--bp-adventure); }
.bp-health-grid [data-health="you"] progress::-moz-progress-bar,.bp-combat-strip progress::-moz-progress-bar { background:var(--bp-adventure); }
.bp-battle-arena p { margin:4px 0 0; color:#f0cf9f; font-size:11px; min-height:1.5em; }
.bp-last-loot { padding:7px 9px; margin-top:8px; border:1px solid var(--pet-line); border-radius:6px; }
.bp-last-loot div,.bp-last-loot ul { display:flex; align-items:center; flex-wrap:wrap; gap:5px; }
.bp-last-loot span,.bp-last-loot small { margin-left:auto; color:var(--pet-muted); font-size:11px; }
.bp-last-loot ul { list-style:none; padding:0; margin:4px 0 0; }
.bp-last-loot li { padding:2px 6px; border-radius:4px; background:var(--pet-surface); font-size:11px; }
.bp-equipment-summary { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:7px; }
.bp-equipment-summary article { display:grid; align-content:start; min-height:91px; padding:8px; gap:4px; border-radius:7px; background:var(--pet-surface); }
.bp-equipment-summary article > span { display:flex; align-items:center; gap:3px; font-size:11px; color:var(--pet-muted); }
.bp-equipment-summary small,.bp-loadout-note { color:var(--pet-muted); font-size:11px; }
.bp-equipment-summary article button { justify-self:start; min-height:31px; color:var(--pet-pink); }
.bp-loadout-note { margin:6px 0 0; }
.bp-loadout-note span { white-space:nowrap; color:#af938b; margin-left:4px; }
.bp-rarity { padding:0 3px; background:var(--pet-paper); border-radius:4px; font-size:10px; }
.bp-lounge [data-rarity="common"] { --rarity:#dfd3dd; color:var(--rarity); }
.bp-lounge [data-rarity="rare"] { --rarity:#a7d6ff; color:var(--rarity); }
.bp-lounge [data-rarity="epic"] { --rarity:#debefb; color:var(--rarity); }
.bp-lounge [data-rarity="legendary"] { --rarity:#f6d488; color:var(--rarity); }
@media(max-width:720px){
  .bp-section-nav button { font-size:11px; gap:2px; }
  .bp-section-nav button svg { display:none; }
  .bp-section-nav button span { white-space:nowrap; }
  .bp-region-list article { grid-template-columns:27px minmax(0,1fr) auto; gap:6px; }
  .bp-route-symbol,.bp-gear-list .bp-skill-mark { width:26px; height:30px; }
  .bp-battle-header { padding:8px; gap:7px; }
  .bp-battle-header h3 { font-size:16px; }
  .bp-equipment-summary article { padding:5px; font-size:12px; }
}
@media (forced-colors:active){
  .site-pet .bp-launch:focus-visible { outline:2px solid Highlight; outline-offset:-3px; }
}

.bp-lounge .bp-head-chat {
  display:inline-flex; align-items:center; gap:5px; min-height:36px; padding:4px 9px;
  color:var(--pet-pink); background:#35252d; font-size:12px; font-weight:650; white-space:nowrap;
  transition:transform 120ms ease-out;
}
.bp-lounge .bp-head-chat[aria-pressed="true"] { background:var(--pet-strong); color:var(--pet-strong-ink); }
.bp-lounge .bp-head-chat:active { transform:scale(.96); }
.bp-head-chat svg { width:15px; height:15px; }
.bp-lounge[data-pane="chat"] { width:min(calc(100% - 32px),780px); }
.bp-lounge[data-pane="chat"] .bp-lounge-body { grid-template-columns:207px minmax(0,1fr); }
.bp-lounge[data-pane="chat"] .bp-feedback:empty { display:none; }
.bp-chat { --chat-tone:#ffc6d1; --chat-glow:#6c3a4c; padding-top:9px; }
.bp-chat:is([data-mood="up"],[data-mood="tentativeUp"]) { --chat-tone:#ffd091; --chat-glow:#70443b; }
.bp-chat:is([data-mood="down"],[data-mood="tentativeDown"]) { --chat-tone:#c9d9ff; --chat-glow:#3d405c; }
.bp-chat-head {
  display:grid; grid-template-columns:auto minmax(0,1fr) auto; gap:9px; align-items:center;
  padding:8px 10px; background:linear-gradient(105deg,var(--chat-glow),#282027 72%); border-radius:8px;
}
.bp-chat-head i { display:grid; place-items:center; width:34px; height:34px; border-radius:7px; color:var(--chat-tone); background:#1f182575; }
.bp-chat-head h3 { margin:0; font-size:15px; font-weight:680; }
.bp-chat-head p { margin:0; font-size:11px; color:var(--chat-tone); }
.bp-chat-scroll {
  min-height:120px; max-height:clamp(160px,33dvh,320px); overflow:auto; overscroll-behavior:contain;
  scrollbar-width:thin; scrollbar-color:var(--pet-line) transparent; padding:8px 4px 8px 1px;
}
.bp-chat-log { display:grid; gap:7px; }
.bp-chat-message { display:grid; justify-items:start; }
.bp-chat-message[data-side="user"] { justify-items:end; }
.bp-chat-message p {
  margin:0; max-width:91%; padding:7px 11px; border-radius:2px 11px 11px; background:#33262e;
  color:var(--pet-ink); white-space:pre-wrap; overflow-wrap:anywhere; line-height:1.56;
  animation:bp-chat-arrive 180ms cubic-bezier(.23,1,.32,1) both;
}
.bp-chat-message[data-side="user"] p { background:#674052; border-radius:11px 2px 11px 11px; }
.bp-chat-message[data-pending="true"] p { color:var(--pet-muted); animation:bp-chat-think 1.35s ease-in-out infinite alternate; }
.bp-chat-message[data-label="演示"] p::before { content:'演示'; color:var(--pet-gold); margin-right:.55em; font-size:.8em; }
.bp-chat-suggestions,.bp-chat-modes,.bp-chat-demo { display:flex; flex-wrap:wrap; align-items:center; gap:4px; }
.bp-chat-suggestions button,.bp-chat-modes button,.bp-chat-demo button,.bp-chat-demo span { padding:3px 8px; min-height:26px; font-size:11px; }
.bp-chat-suggestions button { color:var(--pet-muted); background:#2c232a; }
.bp-chat-demo { padding:2px 1px 0; color:var(--pet-muted); }
.bp-chat-demo button { color:var(--pet-gold); }
.bp-chat-modes { margin:5px 0; }
.bp-chat-modes button { color:var(--pet-muted); }
.bp-chat-modes button[aria-pressed="true"] { color:var(--pet-ink); background:#523343; }
.bp-chat-entry { display:flex; align-items:center; gap:6px; min-width:0; }
.bp-chat-entry textarea,.bp-chat-settings :is(select,input:not([type="checkbox"])),.bp-ledger-draft :is(select,input) {
  width:100%; max-width:100%; box-sizing:border-box; min-width:0; border:1px solid var(--pet-line);
  border-radius:7px; background:#20191e; color:var(--pet-ink); font:inherit; padding:6px 8px;
}
.bp-chat-entry textarea { flex:1; min-height:52px; max-height:115px; resize:vertical; }
.bp-chat-entry textarea::placeholder { color:#b8a3ab; }
.bp-chat textarea:focus-visible,.bp-chat select:focus-visible,.bp-chat-scroll:focus-visible { outline:1px solid var(--pet-focus); outline-offset:2px; }
.bp-chat-note { margin:5px 0 1px; font-size:11px; color:var(--pet-muted); }
.bp-chat-settings,.bp-ledger-draft { padding:9px; background:#241d22; margin:7px 0 0; border:1px solid var(--pet-line); border-radius:8px; }
.bp-chat-settings form,.bp-ledger-draft .field { display:grid; gap:6px; }
.bp-chat-config-grid,.bp-ledger-draft .entry-fields { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:6px 8px; }
.bp-chat-settings label { min-width:0; color:var(--pet-muted); font-size:12px; }
.bp-chat-config-options,.bp-chat-config-foot { display:flex; flex-wrap:wrap; gap:6px 10px; align-items:center; }
.bp-chat-config-options input { accent-color:var(--pet-strong); vertical-align:middle; }
.bp-chat-config-foot { justify-content:space-between; }
.bp-chat-config-foot p { margin:0; overflow-wrap:anywhere; font-size:11px; }
.bp-ledger-draft h3 { margin:0; font-size:14px; color:var(--pet-ink); }
.bp-ledger-draft .entry-draft-head { display:flex; align-items:center; justify-content:space-between; gap:5px; margin:0 0 7px; }
.bp-ledger-draft :is(.tag,.hint,.sub,small) { color:var(--pet-muted); font-size:11px; }
.bp-ledger-draft :is(.hint,.sub) { margin:4px 0; }
.bp-ledger-draft .banner { margin:6px 0; padding:6px 8px; color:var(--pet-muted); background:#302731; border:0; font-size:12px; }
.bp-ledger-draft .banner:is(.err,.warn) { color:#ffe0ac; }
.bp-ledger-draft .assistant-metric { margin:3px 0; color:var(--pet-ink); font-size:22px; font-weight:700; }
.bp-ledger-draft .assistant-metric.up { color:#ff7886; }
.bp-ledger-draft .assistant-metric.down { color:#77ec88; }
.bp-lounge .bp-ledger-draft .btn { background:#473342; color:var(--pet-ink); padding:4px 8px; border:0; min-height:34px; border-radius:5px; }
.bp-lounge .bp-ledger-draft .btn.primary { background:var(--pet-strong); color:var(--pet-strong-ink); }
.bp-lounge .bp-ledger-draft .btn:disabled,.bp-chat button:disabled { opacity:.65; cursor:default; }
.bp-ledger-draft .assistant-guide { display:grid; grid-template-columns:1fr; gap:4px; margin:0; }
.bp-ledger-draft .assistant-guide details { background:#2a2429; padding:4px 7px; border:0; border-radius:4px; }
.bp-ledger-draft .assistant-guide summary { min-height:28px; padding:4px; cursor:pointer; }
.bp-ledger-draft .assistant-guide summary span { float:right; }
.bp-ledger-draft .entry-shortcuts,.bp-ledger-draft .assistant-results { display:grid; gap:5px; padding:4px 0; margin:0; }
.bp-ledger-draft .assistant-results article { display:grid; grid-template-columns:1fr 1fr; gap:8px; border-bottom:1px solid var(--pet-line); padding:5px 0; }
.bp-ledger-draft .assistant-results small { display:block; overflow-wrap:anywhere; }
.bp-emote { position:absolute; z-index:2; right:13%; top:13%; opacity:0; pointer-events:none; color:#ffe3a3; font:500 27px/1 system-ui; }
.bp-emote:is([data-mood="down"],[data-mood="tentativeDown"]) { color:#cdddff; }
.bp-bubble[data-mood="up"] { --bp-bubble-accent:#ffe0a2; }
.bp-bubble[data-mood="down"] { --bp-bubble-accent:#d1dfff; }
.bp-bubble[data-mood] { color:var(--bp-bubble-accent,#fff3f5); }
@keyframes bp-chat-arrive { from { opacity:0; transform:translateY(4px); } to { opacity:1; transform:none; } }
@keyframes bp-chat-think { from { opacity:.63; } to { opacity:1; } }
@media(hover:hover) and (pointer:fine) {
  .bp-chat :is(.bp-chat-suggestions,.bp-chat-demo,.bp-chat-modes) button:hover { color:#fff5ed; background:#473442; }
}
@media(max-width:640px) {
  .bp-lounge[data-pane="chat"] { width:calc(100% - 16px); }
  .bp-lounge[data-pane="chat"] .bp-pet-profile { grid-template-columns:minmax(76px,.7fr) minmax(140px,1.5fr); }
  .bp-lounge[data-pane="chat"] .bp-model-stage { height:116px; }
  .bp-lounge[data-pane="chat"] .bp-vitals { display:none; }
  .bp-lounge[data-pane="chat"] .bp-section-nav button { min-height:33px; }
  .bp-lounge[data-pane="chat"] :is(textarea,select,input:not([type="checkbox"])) { font-size:16px; }
  .bp-chat :is(.bp-chat-modes,.bp-chat-suggestions) button { min-height:35px; }
  .bp-chat-scroll { max-height:clamp(124px,28dvh,220px); }
}
@media(max-width:350px) { .bp-head-chat svg { display:none; } .bp-lounge .bp-head-controls { gap:5px; } }
@media(prefers-reduced-motion:reduce) { .bp-chat-message p,.bp-chat-message[data-pending] p { animation:none; } }
html[data-motion="off"] .bp-chat-message p { animation:none; }
html[data-motion="off"] .bp-emote { display:none; }

.bp-lounge[data-pane="wardrobe"] { width:min(calc(100% - 32px),836px); }
.bp-lounge[data-pane="wardrobe"] .bp-lounge-body { grid-template-columns:247px minmax(0,1fr); }
.bp-lounge[data-pane="wardrobe"] .bp-view { height:clamp(330px,54dvh,500px); }
.bp-closet-heading,.bp-closet-caption,.bp-studio-title { display:flex; justify-content:space-between; align-items:center; gap:8px; }
.bp-closet-heading .bp-segments button { padding-inline:8px; }
.bp-closet-cats { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:3px; padding:7px 0 3px; }
.bp-closet-cats button { min-height:31px; border-radius:5px; padding:3px; color:var(--pet-muted); background:#292126; white-space:nowrap; }
.bp-closet-cats button[aria-pressed="true"] { color:var(--pet-ink); background:#523346; }
.bp-closet-caption { margin:3px 0 5px; color:var(--pet-muted); font-size:12px; }
.bp-closet-caption strong { color:var(--pet-ink); }
.bp-closet-caption [aria-pressed="true"] { background:var(--pet-well); }
.bp-closet-filter { display:flex; flex-wrap:wrap; gap:4px; margin:5px 0 9px; }
.bp-lounge .bp-closet-filter button { font-size:11px; padding:4px 9px; min-height:32px; border:1px solid var(--pet-line); color:var(--pet-muted); }
.bp-lounge .bp-closet-filter button[aria-pressed="true"] { background:#4b303f; color:var(--pet-ink); border-color:#ae6f89; }
.bp-lounge .bp-model-controls { display:none; position:absolute; z-index:3; bottom:5px; left:4px; right:4px; gap:2px; justify-content:center; }
.bp-lounge[data-pet3d="ready"] .bp-model-controls { display:flex; }
.bp-lounge .bp-model-controls button { background:#231d26d9; color:var(--pet-muted); padding:3px; min-width:24px; min-height:24px; font-size:10px; white-space:nowrap; }
.bp-lounge .bp-model-controls button[aria-pressed="true"] { background:#744357; color:#fff; }
@media(min-width:641px){.bp-lounge .bp-model-stage { height:316px; }}
.bp-closet-gallery { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:7px; padding:1px 2px 8px 1px; }
.bp-closet-gallery article { min-width:0; overflow:hidden; border:1px solid #48333d; border-radius:7px; background:#241c21; }
.bp-closet-gallery article:is([data-trying="true"],[data-equipped="true"]) { border-color:#d093a8; }
.bp-lounge .bp-look-image { display:block; width:100%; overflow:hidden; background:#342433; border-radius:0; }
.bp-look-image img { display:block; width:100%; height:auto; aspect-ratio:216/226; object-fit:cover; }
@media (hover:hover) and (prefers-reduced-motion:no-preference){
  .bp-look-image img { transition:transform .2s ease-out; }
  .bp-look-image:not([aria-disabled="true"]):hover img { transform:scale(1.043); }
}
.bp-look-caption { display:grid; gap:2px; min-width:0; padding:6px 7px; }
.bp-look-caption strong { overflow:hidden; text-overflow:ellipsis; white-space:nowrap; font-size:12px; }
.bp-look-caption small { font-size:11px; color:var(--pet-gold); }
.bp-lounge .bp-closet-buy { min-height:32px; width:100%; border-top:1px solid #4b3440; border-radius:0; padding:4px; font-size:11px; color:var(--pet-pink); }
.bp-lounge .bp-closet-buy:not([aria-disabled="true"]):hover { background:#4a3040; }
.bp-studio-tools { margin-top:8px; padding:7px; border-radius:8px; background:#271e26; }
.bp-studio-title { color:var(--pet-muted); font-size:12px; margin-bottom:7px; }
.bp-studio-title > div { display:flex; gap:4px; }
.bp-expression-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:4px; }
.bp-expression-grid button[aria-pressed="true"] { background:#56364a; color:var(--pet-pink); }
.bp-look-saves article { display:grid; grid-template-columns:minmax(0,1fr) auto auto; align-items:center; gap:6px; padding:6px 2px; border-top:1px solid var(--pet-line); }
.bp-look-saves small { display:block; color:var(--pet-muted); font-size:11px; }
@media(max-width:640px){
  .bp-lounge[data-pane="wardrobe"] { width:calc(100% - 16px); }
  .bp-lounge[data-pane="wardrobe"] .bp-model-stage { height:123px; }
  .bp-lounge[data-pane="wardrobe"] .bp-vitals { display:none; }
  .bp-lounge[data-pane="wardrobe"] .bp-section-nav button { min-height:36px; }
  .bp-lounge[data-pane="wardrobe"] .bp-view { height:clamp(250px,44dvh,420px); }
  .bp-closet-gallery { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .bp-lounge .bp-closet-buy,.bp-closet-cats button { min-height:40px; }
  .bp-lounge .bp-closet-filter button { min-height:40px; }
}
@media(max-width:350px){
  .bp-lounge[data-pane="wardrobe"] .bp-identity h2 { overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
  .bp-lounge[data-pane="wardrobe"] .bp-identity>.bp-icon { width:28px; }
}

.bp-section-nav { grid-template-columns:repeat(6,minmax(0,1fr)); }
.bp-town-heading { padding:12px 13px; background:linear-gradient(115deg,#313e3b,#2e2533); border:1px solid #456059; border-radius:9px; }
.bp-town-heading>div { display:flex; align-items:center; justify-content:space-between; margin-bottom:8px; }
.bp-town-heading h3 { margin:0; font-size:19px; letter-spacing:.01em; }
.bp-town-heading span,.bp-town-heading svg { color:#bce0cc; }
.bp-town-heading span,.bp-town-note { font-size:11px; }
.bp-town-heading>div>svg { width:23px; height:23px; }
.bp-town-tabs { margin:7px 0; }
.bp-lounge .bp-town-tabs button { min-width:0; flex:1; }
.bp-town-list article { display:grid; grid-template-columns:28px minmax(0,1fr) auto; gap:7px; align-items:center; min-height:49px; padding:5px 0; border-bottom:1px solid var(--pet-line); }
.bp-town-symbol { display:grid; place-items:center; color:#b4d8c5; background:#26352f; border-radius:6px; width:27px; height:27px; }
.bp-town-symbol svg { width:15px; height:15px; }
.bp-town-list .bp-secondary { white-space:normal; text-align:center; max-width:14ch; }
.bp-town-bag,.bp-town-memories { display:flex; flex-wrap:wrap; gap:4px; margin:5px 0; padding:0; }
.bp-town-bag span,.bp-town-memories li { padding:5px 7px; background:#30242e; border-radius:5px; font-size:11px; }
.bp-town-bag b { color:var(--pet-gold); }
.bp-town-note { color:var(--pet-muted); margin:5px 2px; }
.bp-town-sub { font-size:13px; margin:10px 0 4px; }
.bp-town-memories li { list-style:none; display:inline-flex; align-items:center; gap:4px; color:var(--pet-muted); }
.bp-town-memories li[data-collected="true"] { color:#c1e4cf; background:#2b3d34; }
.bp-town-memories svg { width:12px; height:12px; }
.bp-town-title { color:#c1e1ce; font-size:10px; }
.bp-garden-bar { display:flex; flex-wrap:wrap; justify-content:space-between; align-items:center; gap:5px; margin:9px 0; }
.bp-garden-seeds { display:flex; align-items:center; gap:8px; margin:8px 0; font-size:12px; }
.bp-garden-seeds select { min-width:0; flex:1; height:38px; border:1px solid #4f4848; border-radius:6px; background:#281f26; color:var(--pet-ink); padding:0 8px; }
.bp-garden-plots { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:7px; }
.bp-garden-plot { --crop-color:#ace0b6; display:grid; grid-template-columns:24px minmax(0,1fr); align-content:start; align-items:center;
  gap:4px 6px; min-width:0; min-height:87px; padding:10px; border:1px solid #414741; border-radius:8px; background:#222825; }
.bp-garden-plot[data-plot="ripe"] { border-color:var(--crop-color); }
.bp-garden-plot[data-plot="locked"] { color:#b4adb6; border-style:dashed; background:#251f25; }
.bp-garden-plot svg { width:20px; height:20px; color:var(--crop-color); grid-row:span 2; }
.bp-garden-plot strong { font-size:13px; overflow-wrap:anywhere; }
.bp-garden-plot span { font-size:11px; color:var(--pet-muted); }
.bp-garden-plot button { grid-column:1/-1; min-height:36px; margin-top:3px; }
.bp-garden-plot time { font-variant-numeric:tabular-nums; }
.bp-journey { display:grid; gap:9px; }
.bp-journey-card { min-width:0; overflow:hidden; border:1px solid var(--pet-line); border-radius:8px; background:#2b222b; }
.bp-journey-card header { display:flex; align-items:center; gap:6px; padding:9px; border-bottom:1px solid var(--pet-line); color:#f2d2df; }
.bp-journey-card header svg { width:17px; height:17px; flex:none; }
.bp-journey-card header h3 { font-size:13px; margin:0; }
.bp-journey-card header span { margin-left:auto; font-size:11px; color:var(--pet-muted); }
.bp-chapter { padding:10px; background:linear-gradient(115deg,#3d2c3b,#2b232d); }
.bp-chapter>span { color:var(--pet-pink); font-size:11px; }
.bp-chapter h4 { margin:4px 0; font-size:16px; }
.bp-chapter p { margin:4px 0 10px; font-size:12px; color:var(--pet-muted); }
.bp-chapter div { display:flex; align-items:center; justify-content:space-between; gap:6px; }
.bp-chapter small { color:var(--pet-gold); }
.bp-chapter-history { padding:7px 9px; font-size:12px; }
.bp-chapter-history li { margin:4px 0; }
.bp-chapter-history li::after { content:attr(data-state); color:var(--pet-muted); font-size:10px; margin-left:7px; }
.bp-weekly-list { display:grid; margin:0 8px; }
.bp-weekly-list article { display:grid; grid-template-columns:minmax(0,1fr) minmax(30px,.4fr) auto; align-items:center; gap:6px; min-height:44px; padding:5px 0; }
.bp-weekly-list article+article { border-top:1px solid var(--pet-line); }
.bp-weekly-list strong { font-size:12px; }
.bp-weekly-list small { display:block; color:var(--pet-muted); font-size:11px; }
.bp-weekly-list progress { min-width:0; }
@media(max-width:720px){
  .bp-section-nav button { font-size:11px; padding-inline:2px; }
  .bp-town-list .bp-secondary{max-width:12ch;}
  .bp-town-tabs { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); }
  .bp-lounge .bp-town-tabs button,.bp-garden-plot button { min-height:40px; }
}

#pet-page-host { min-width:0; }
.bp-page-loading { min-height:240px; margin:0; display:grid; place-items:center; color:var(--muted,#bcb7b6); }
#pet-page-host .bp-page {
  --pet-paper:#161217; --pet-surface:#201821; --pet-well:#2b2030; --pet-line:#3a2c40;
  --pet-gold:#edca9a; --pet-pink:#e8acd2; --pet-strong:#e6a6d0; --pet-muted:#cdbccd;
  position:static; width:100%; max-width:none; max-height:none; margin:0; box-shadow:none;
  border-radius:10px; overflow:visible; border:1px solid var(--pet-line);
}
.bp-page .bp-lounge-head { min-height:67px; padding-inline:18px; background:linear-gradient(104deg,#2b1e2b,#19141b 70%); border-radius:10px 10px 0 0; }
.bp-page .bp-lounge-head [data-act="close"],.bp-page [data-act="peek"],.bp-page [data-act="reset"] { display:none; }
.bp-page .bp-identity h2 { font-size:25px; letter-spacing:.012em; }
.bp-page .bp-head-chat { min-height:40px; }
#pet-page-host .bp-lounge-body { grid-template-columns:minmax(275px,27%) minmax(0,1fr); min-height:565px; }
.bp-page .bp-pet-profile { padding:13px; background:#19141a; }
.bp-page .bp-model-stage {
  height:clamp(300px,47dvh,490px);
  background:radial-gradient(ellipse at 49% 30%,#553745,#302436 54%,#1f1925 100%);
  border:1px solid #503b50; border-radius:8px; position:relative;
}
.bp-page .bp-model-stage::before {
  content:''; position:absolute; inset:11% 13%; opacity:.38; border:1px solid #c98f9d78; border-radius:50%;
  background:repeating-conic-gradient(from 16deg,#bc82970f 0 10deg,transparent 10deg 34deg);
  mask-image:radial-gradient(ellipse,#0000 30%,#000 76%);
}
.bp-page .bp-model-controls button { min-height:36px; min-width:42px; font-size:12px; }
.bp-page .bp-level { padding-top:12px; }
.bp-page .bp-lounge-work { padding:13px 16px 16px; }
.bp-nav-group { display:contents; }
.bp-nav-group>span { display:none; }
.bp-page .bp-section-nav { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:7px; border:0; font-size:12px; }
.bp-page .bp-nav-group { display:flex; flex-direction:column; gap:3px; min-width:0; border:1px solid var(--pet-line); border-radius:7px; padding:6px 6px 5px; background:var(--pet-surface); }
.bp-page .bp-nav-group>span { display:block; padding:2px 6px 3px; color:var(--pet-gold); font-size:11px; }
.bp-page .bp-section-nav button { display:flex; align-items:center; justify-content:flex-start; text-align:left; gap:6px; min-height:35px; padding:4px 6px; border-radius:5px; font-size:12px; }
.bp-page .bp-section-nav button::after { content:none; }
.bp-page .bp-section-nav button[aria-pressed="true"] { background:#47304a; color:#ffdcf4; }
.bp-page .bp-section-nav button svg { width:14px;height:14px; }
.bp-page .bp-feedback:not(:empty) { padding:7px 9px; border-left:2px solid var(--pet-strong); background:#2b202d; }
.bp-page .bp-feedback:empty { min-height:0; margin:7px 0; }
#pet-page-host .bp-view { height:auto; max-height:none; overflow:visible; padding-top:4px; }
.bp-page .bp-action-list button { min-height:50px; }
.bp-page .bp-lounge-foot { position:static; padding-inline:15px; }
.bp-page .bp-lounge-foot button,.bp-page .bp-lounge-foot summary { min-height:40px; }
.bp-page .bp-closet-gallery { grid-template-columns:repeat(auto-fit,minmax(118px,1fr)); }
.bp-page .bp-closet-gallery article { max-width:235px; }
.bp-page .bp-closet-cats { display:flex; flex-wrap:wrap; gap:4px; }
.bp-page .bp-closet-cats button { flex:1 0 57px; }
.bp-page[data-pane="wardrobe"] .bp-model-stage { height:clamp(320px,48dvh,510px); }
@media(min-width:821px) and (min-height:700px){
  .bp-page .bp-profile-body { position:sticky; top:14px; }
}
.bp-playroom-nav { margin:4px 0 10px; display:flex; flex-wrap:wrap; gap:4px; }
.bp-lounge .bp-playroom-nav button { min-height:40px; }
.bp-playroom-record,.bp-scene-live { display:flex; flex-wrap:wrap; align-items:center; gap:9px 14px; margin:7px 0 12px; font-size:12px; color:var(--pet-muted); }
.bp-playroom-record b,.bp-scene-live time { color:var(--pet-gold); font-variant-numeric:tabular-nums; }
.bp-memory-strip,.bp-memory-cards { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:6px; margin-bottom:9px; }
.bp-memory-cards { grid-template-columns:repeat(3,minmax(0,1fr)); }
.bp-memory-strip span,.bp-lounge .bp-memory-cards button,.bp-lounge .bp-gesture-deck button { display:grid; place-items:center; min-height:54px; gap:4px; border-radius:6px; border:1px solid var(--pet-line); background:#2e2335; color:var(--pet-ink); }
.bp-memory-strip span { font-size:17px; color:var(--pet-gold); }
.bp-lounge :is(.bp-memory-cards,.bp-gesture-deck) button:active { transform:scale(.97); }
.bp-gesture-deck { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:7px; }
.bp-gesture-deck button svg { color:var(--pet-pink); }
.bp-beat-field { display:grid; justify-items:center; gap:14px; padding:12px; background:#251d2d; border-radius:8px; }
.bp-beat-field>div { display:flex; align-items:center; gap:12px; }
.bp-beat { display:grid; place-items:center; width:70px; height:70px; border:2px solid #8e647e; color:#bc9eaf; border-radius:50%; }
.bp-beat[data-beat="on"] { color:#2b1728; background:var(--pet-strong); border-color:var(--pet-strong); }
.bp-scene-live { padding:14px; border:1px solid var(--pet-line); border-radius:7px; background:#302238; }
.bp-scene-live strong { color:var(--pet-ink); }
@media(max-width:820px){
  #pet-page-host .bp-lounge-body { grid-template-columns:minmax(220px,34%) minmax(0,1fr); }
  .bp-page .bp-section-nav { grid-template-columns:repeat(2,minmax(0,1fr)); }
}
@media(max-width:640px){
  #pet-page-host .bp-lounge-body { display:block; min-height:0; }
  .bp-page .bp-lounge-head { min-height:56px; padding:8px 10px; gap:4px; }
  .bp-page .bp-identity h2 { font-size:20px; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
  .bp-page .bp-head-controls { gap:5px; }
  .bp-page .bp-pet-profile { display:block; padding:9px; border:0; }
  .bp-lounge:not(.bp-page) .bp-profile-body { display:contents; }
  .bp-page .bp-model-stage,.bp-page[data-pane="wardrobe"] .bp-model-stage { height:clamp(220px,38dvh,294px); }
  .bp-page .bp-lounge-work { padding:7px 9px 11px; }
  .bp-page .bp-section-nav { grid-template-columns:minmax(0,1fr); gap:4px; }
  .bp-page .bp-nav-group { display:grid; grid-template-columns:35px repeat(3,minmax(0,1fr)); align-items:center; gap:1px; padding:2px 4px; }
  .bp-page .bp-nav-group>span { padding:2px 3px; }
  .bp-page .bp-section-nav button { min-height:44px; padding-inline:3px; gap:3px; justify-content:center; }
  .bp-page .bp-section-nav button svg { width:11px; height:11px; }
  .bp-page .bp-action-list small { white-space:normal; }
  .bp-page .bp-closet-gallery { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .bp-page .bp-lounge-foot { padding-inline:8px; }
}
@media(max-width:360px){
  .bp-page .bp-head-chat { width:44px; height:44px; padding:0; }
  .bp-page .bp-head-chat span { display:none; }
}
@media(prefers-reduced-motion:reduce){
  .bp-page .bp-section-nav button { transition:none; }
}

.bp-estate { --estate-line:#42434c; --estate-muted:#c2c4cf; --estate-well:#24242d; --estate-ink:#f0eef2; }
.bp-estate-cover {
  display:flex; align-items:center; justify-content:space-between; gap:10px; padding:17px 17px 16px;
  border:1px solid #4c5755; border-radius:9px; background:linear-gradient(112deg,#283b3b 1%,#282432 75%);
}
.bp-estate-cover h3 { margin:0 0 4px; color:#f3f1eb; font-size:22px; font-weight:650; letter-spacing:.05em; }
.bp-estate-cover span { color:#d2e2d7; font-size:12px; font-variant-numeric:tabular-nums; }
.bp-estate-cover>svg { width:25px; height:25px; color:#d0dec5; }
.bp-estate-tabs { display:grid; grid-template-columns:repeat(6,minmax(0,1fr)); gap:4px; margin:9px 0 13px; }
.bp-lounge .bp-estate-tabs button { display:flex; align-items:center; justify-content:center; gap:5px; min-height:37px; padding:3px 2px;
  border:1px solid var(--estate-line); border-radius:6px; background:var(--estate-well); color:var(--estate-muted); white-space:nowrap; font-size:12px; }
.bp-estate-tabs svg { width:13px; height:13px; }
.bp-lounge .bp-estate-tabs button[aria-pressed="true"] { background:#374744; border-color:#628276; color:#ecfff1; }
.bp-estate-section { display:flex; flex-wrap:wrap; align-items:baseline; gap:4px 10px; justify-content:space-between; margin:15px 0 7px; }
.bp-estate-section h3 { margin:0; font-size:16px; }
.bp-estate-section span { color:var(--estate-muted); font-size:11px; }
.bp-estate-summary { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:6px; }
.bp-lounge .bp-estate-summary button { display:grid; grid-template-columns:22px minmax(0,1fr) 13px; align-items:center; gap:8px;
  text-align:left; min-height:60px; padding:8px; border:1px solid var(--estate-line); border-radius:7px; background:var(--estate-well); }
.bp-estate-summary button svg:first-child { color:var(--estate-mark); width:18px; height:18px; }
.bp-estate-summary button svg:last-child { color:#aeb4b0; width:12px; height:12px; }
.bp-estate-summary button strong,.bp-estate-summary button small { display:block; }
.bp-estate-summary button small { color:var(--estate-muted); font-size:11px; overflow-wrap:anywhere; }
.bp-estate-list { border:1px solid var(--estate-line); border-radius:8px; background:#211f27; }
.bp-estate-row { display:grid; grid-template-columns:29px minmax(0,1fr) auto; align-items:center; gap:7px;
  min-height:54px; padding:7px 9px; }
.bp-estate-row+.bp-estate-row { border-top:1px solid #3a3741; }
.bp-estate-symbol { display:grid; place-items:center; width:27px; height:27px; color:var(--estate-mark); background:#302e39; border-radius:5px; }
.bp-estate-symbol svg { width:15px; height:15px; }
.bp-estate-row-text { min-width:0; }
.bp-estate-row-text>strong { display:block; color:var(--estate-ink); }
.bp-estate-row-text small { color:var(--estate-muted); font-size:11px; overflow-wrap:anywhere; }
.bp-estate-row-text time { color:#e9ddb4; }
.bp-estate-controls { display:flex; flex-wrap:wrap; justify-content:flex-end; gap:4px; }
.bp-lounge .bp-estate-controls button { white-space:normal; max-width:13ch; min-height:35px; padding:4px 6px; font-size:11px; font-weight:600; }
.bp-lounge .bp-estate-controls [aria-disabled="true"] { color:#adb0bc; }
.bp-estate-select { display:flex; align-items:center; gap:8px; color:var(--estate-muted); margin:9px 0 4px; }
.bp-estate-select select { min-width:0; max-width:100%; min-height:37px; border:1px solid var(--estate-line); border-radius:5px; color:var(--estate-ink); background:var(--estate-well); }
.bp-estate-in-progress,.bp-estate-event { display:flex; gap:9px; align-items:center; padding:9px 11px; color:#e4eede; margin:8px 0; border:1px solid #4c625d; border-radius:7px; background:#293935; }
.bp-estate-in-progress time { margin-left:auto; color:#ecdfb6; font-variant-numeric:tabular-nums; }
.bp-estate-sub { display:flex; flex-wrap:wrap; margin:0 0 8px; }
.bp-estate-exhibits,.bp-estate-skills { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:5px; }
.bp-estate-skills { grid-template-columns:repeat(3,minmax(0,1fr)); }
.bp-estate-exhibits article,.bp-estate-skills article { min-width:0; display:grid; align-content:start; gap:4px; padding:8px; border:1px solid var(--estate-line); border-radius:6px; background:var(--estate-well); }
.bp-estate-exhibits article[data-estate-discovered="false"] { background:#1e1d23; }
.bp-estate-exhibits svg { color:#c8b1e2; width:14px; height:14px; }
.bp-estate-exhibits small,.bp-estate-skills small { color:var(--estate-muted); font-size:11px; overflow-wrap:anywhere; }
.bp-estate-skills b { color:#cee4c6; }
.bp-estate-duel { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:9px; padding:10px; background:#29222d; border:1px solid #513c50; border-radius:8px; }
.bp-estate-duel>div:not(.bp-estate-fight-buttons) { display:grid; gap:4px; color:var(--estate-ink); }
.bp-estate-duel span { color:var(--estate-muted); font-size:12px; }
.bp-estate-duel p,.bp-estate-duel .bp-estate-fight-buttons { grid-column:1/-1; margin:1px 0 2px; }
.bp-estate-fight-buttons { display:flex; flex-wrap:wrap; gap:5px; }
.bp-estate-puzzle { display:grid; grid-template-columns:repeat(3,minmax(52px,72px)); gap:6px; width:fit-content; margin:10px auto; }
.bp-lounge .bp-estate-puzzle button { display:grid; place-items:center; min-height:52px; border:1px solid #4b454b; background:#292732; }
.bp-lounge .bp-estate-puzzle button[aria-pressed="true"] { background:#e6ca8d; border-color:#f5dd9d; color:#423317; }
.bp-estate-event h4,.bp-estate-event p { margin:0; }
.bp-estate-event strong { margin-left:auto; color:#ecdfb6; white-space:nowrap; }
.bp-estate-event p { color:#c2d5c4; font-size:11px; }
.bp-estate-record { padding:0 0 0 20px; color:var(--estate-muted); }
.bp-estate-record li { margin:5px 0; overflow-wrap:anywhere; }
@media (hover:hover) {
  .bp-lounge .bp-estate-summary button:hover { border-color:#797987; background:#2c2d37; }
}
@media(max-width:740px){
  .bp-estate-tabs { grid-template-columns:repeat(4,minmax(0,1fr)); }
  .bp-estate-summary,.bp-estate-exhibits,.bp-estate-skills { grid-template-columns:repeat(2,minmax(0,1fr)); }
}
@media(max-width:640px){
  .bp-page .bp-nav-group:has([data-id="estate"]) { grid-template-columns:35px repeat(4,minmax(0,1fr)); }
  .bp-lounge .bp-estate-tabs button,.bp-lounge .bp-estate-controls button { min-height:44px; }
  .bp-estate-row { grid-template-columns:22px minmax(0,1fr); gap:5px; }
  .bp-estate-symbol { width:22px; height:22px; }
  .bp-estate-controls { grid-column:2; justify-content:flex-start; }
  .bp-estate-cover h3 { font-size:19px; }
  .bp-estate-summary button { padding:6px; }
}

.bp-activity-fx { position:absolute; left:74%; top:51%; display:grid; place-items:center; width:37px; height:37px; opacity:0; pointer-events:none;
  border:1px solid #ffe3aa; border-radius:50%; background:#231b33; color:#ffe3aa; box-shadow:0 0 18px #f2ad657d; }
.bp-activity-fx svg { width:20px; height:20px; }
.bp-activity-fx[data-cue=match] { color:#97ead6; border-color:#97ead6; }
.bp-activity-fx[data-cue=miss] { color:#ff9aba; border-color:#ff9aba; }
.bp-estate-statline { display:flex; flex-wrap:wrap; gap:4px 12px; align-items:center; padding:9px 3px 11px; color:#d7d4e4; font-size:11px; font-variant-numeric:tabular-nums; }
.bp-estate-statline span+span { border-inline-start:1px solid #484253; padding-inline-start:12px; }
.bp-fair-groups { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:3px; margin:0 0 10px; background:#201c2e; border:1px solid #494155; border-radius:7px; padding:3px; }
.bp-lounge .bp-fair-groups button { min-height:37px; border:0; border-radius:4px; padding:4px 2px; background:transparent; color:#d0c9db; font-size:12px; }
.bp-lounge .bp-fair-groups button[aria-pressed=true] { background:#4a3655; color:#ffe1af; box-shadow:inset 0 -2px #f5c88b; font-weight:700; }
.bp-fair-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:7px; }
.bp-lounge .bp-fair-back { margin-bottom:8px; background:transparent; padding:4px 0; border:0; color:#e6cda8; min-height:34px; }

.bp-fair-play { --fair-accent:#ffd39d; }
.bp-fair-levels,.bp-fair-queue { display:grid; gap:5px; }
.bp-fair-levels article,.bp-fair-queue article,.bp-fair-resume,.bp-fair-field { background:#221e2e; border:1px solid #494054; border-radius:7px; }
.bp-fair-levels article { display:flex; justify-content:space-between; gap:7px; align-items:center; padding:10px; }
.bp-fair-levels h4 { display:inline; margin:0 0 0 5px; color:#f9eff8; font-size:14px; }
.bp-fair-levels p { margin:4px 0 0; color:#dbd2df; font-size:11px; }
.bp-fair-levels span { font-variant-numeric:tabular-nums; color:var(--fair-accent); font-weight:650; font-size:11px; }
.bp-fair-actions { display:flex; flex-wrap:wrap; gap:4px; justify-content:flex-end; align-items:center; }
.bp-lounge .bp-fair-actions button,.bp-lounge .bp-fair-field button,.bp-lounge .bp-fair-resume button,.bp-lounge .bp-fair-badges button {
  min-height:37px; padding:5px 9px; background:#30263f; color:#f6eefa; border:1px solid #544665; border-radius:5px; font-size:12px;
}
.bp-lounge .bp-fair-actions button[aria-disabled=true],.bp-lounge .bp-fair-field button[aria-disabled=true],.bp-lounge .bp-fair-badges button[aria-disabled=true] { color:#c5b8d2; cursor:default; }
.bp-fair-actions button small,.bp-fair-field button small,.bp-fair-badges button small { display:block; font-size:10px; color:#d6c4df; }
.bp-fair-queue article { display:grid; grid-template-columns:53px minmax(0,1fr) auto; gap:8px; align-items:center; padding:6px 8px; }
.bp-fair-queue article small,.bp-fair-resume small { display:block; color:#cbc3d3; font-size:11px; }
.bp-fair-queue article time,.bp-fair-levels time { color:#ffddac; font-variant-numeric:tabular-nums; font-size:11px; }
.bp-fair-queue [data-fair-bar] { display:block; overflow:hidden; margin-top:6px; height:3px; background:#3c354a; }
.bp-fair-queue [data-fair-bar]::after { content:""; display:block; height:100%; background:#e9bf87; transform:scaleX(var(--fair-ratio)); transform-origin:left; transition:transform 250ms ease; }
.bp-fair-resume { display:flex; justify-content:space-between; gap:6px; align-items:center; padding:9px; }
.bp-fair-badges { display:grid; grid-template-columns:repeat(5,minmax(0,1fr)); gap:4px; }
.bp-lounge .bp-fair-badges button { white-space:normal; min-width:0; line-height:1.35; padding:5px 2px; }
.bp-lounge .bp-fair-badges button:not([aria-disabled=true]) { border-color:#bd985e; color:#ffdfa2; }
.bp-fair-field { padding:11px; margin-bottom:7px; }
.bp-fair-field .bp-estate-section { margin:7px 0; }
.bp-fair-trail { display:grid; grid-template-columns:repeat(5,minmax(0,1fr)); gap:3px; margin:0 0 12px; padding:0; text-align:center; list-style:none; }
.bp-fair-trail li { position:relative; display:grid; justify-items:center; gap:3px; min-width:0; color:#b5adc0; font-size:10px; }
.bp-fair-trail li::before { content:""; position:absolute; left:calc(-50% + 9px); right:calc(50% + 9px); height:1px; top:9px; background:#645671; }
.bp-fair-trail li:first-child::before { display:none; }
.bp-fair-trail li b { display:grid; place-items:center; width:19px; height:19px; border:1px solid #6b5c7a; border-radius:50%; background:#32253e; }
.bp-fair-trail li[data-progress=here] { color:#fff; }
.bp-fair-trail li[data-progress=here] b { color:#172129; background:var(--fair-accent); border-color:var(--fair-accent); box-shadow:0 0 10px #d0aff272; }
.bp-fair-trail li[data-progress=done] b { color:var(--fair-accent); }
.bp-fair-meters,.bp-fair-choices { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:5px; }
.bp-fair-meters { margin-bottom:10px; }
.bp-fair-meter { display:grid; grid-template-columns:auto 1fr; gap:2px; font-size:11px; border-radius:4px; background:#32273f; padding:6px; }
.bp-fair-meter b { justify-self:end; font-variant-numeric:tabular-nums; }
.bp-fair-meter meter { width:100%; grid-column:1/-1; accent-color:var(--fair-accent); }
.bp-fair-board { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:5px; margin:10px auto; max-width:400px; }
.bp-lounge .bp-fair-board button { position:relative; display:grid; justify-items:center; gap:3px; padding:9px 2px; min-height:62px; }
.bp-fair-board button i { width:15px; height:15px; rotate:45deg; border-radius:3px; background:var(--gem); box-shadow:inset 0 0 0 2px #fff4,0 0 10px #18101b; }
.bp-fair-board button b { position:absolute; top:3px; right:4px; color:#ffefbd; }
.bp-lounge .bp-fair-board button[data-matched=true] { background:#2c4b49; border-color:#8cc6a4; }
.bp-fair-board[data-revealing=true] button[data-step]:not([data-step=""]) i { animation:bp-fair-gem 400ms var(--fair-delay) ease-out both; }
@keyframes bp-fair-gem { from,to {opacity:.6;transform:scale(.95)} 40% {opacity:1;transform:scale(1.38)} }
.bp-skating-meter { position:relative; height:20px; margin:13px 0 8px; overflow:hidden; border:1px solid #656477; border-radius:4px; background:#26293d; }
.bp-skating-meter b { position:absolute; top:0; bottom:0; left:var(--skate-left); width:var(--skate-size); background:#96e7f3; }
.bp-skating-meter i { position:absolute; inset:0; opacity:0; }
.bp-skating-meter i::before { display:block; content:""; width:3px; height:100%; background:#fff9ed; box-shadow:0 0 8px #fff; }
.bp-skating-meter[data-ready=true] i { opacity:1; animation:bp-fair-skate var(--skate-duration) var(--skate-offset) linear infinite; }
@keyframes bp-fair-skate { from{transform:translateX(0%)} to{transform:translateX(100%)} }
.bp-fair-hit { display:grid; margin:6px 0; }
.bp-lounge .bp-fair-hit button { min-height:44px; }
.bp-skating-step { margin-top:6px; color:#e2dbee; font-size:12px; }
.bp-skating-step summary { padding:6px 1px; cursor:pointer; }
.bp-skating-step p { margin:5px 0; }
@media(hover:hover) {
}
@media(max-width:740px) {
  .bp-fair-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .bp-lounge .bp-activity-scene { min-height:130px; padding:11px; }
  .bp-activity-title h3 { font-size:21px; }
}
@media(max-width:640px) {
  .bp-lounge .bp-fair-groups button,.bp-lounge .bp-fair-actions button,.bp-lounge .bp-fair-field button,.bp-lounge .bp-fair-resume button,.bp-lounge .bp-fair-badges button { min-height:44px; }
  .bp-fair-badges { grid-template-columns:repeat(3,minmax(0,1fr)); }
}
@media(max-width:370px) {
  .bp-fair-levels article { flex-direction:column; align-items:flex-start; }
  .bp-fair-levels .bp-fair-actions { justify-content:flex-start; }
  .bp-fair-choices button { padding:4px 3px; min-width:0; overflow-wrap:anywhere; }
}
@media(prefers-reduced-motion:reduce) {
  .bp-fair-queue [data-fair-bar]::after { transition:none; }
  .bp-fair-board button i,.bp-skating-meter i { animation:none !important; }
  .bp-fair-hit,.bp-skating-meter { display:none; }
}

.bp-fair-quartet { grid-template-columns:repeat(4,minmax(0,1fr)); }
@media(max-width:740px){.bp-fair-quartet{grid-template-columns:repeat(2,minmax(0,1fr));}}

.bp-pet-map { --map-ink:#f9ebd9; color:var(--map-ink); min-width:0; }
.bp-map-title {
  display:flex; justify-content:space-between; align-items:center; gap:12px;
  margin:0 0 10px; scroll-margin-top:85px;
}
.bp-map-title h3 { margin:0; font-size:23px; font-weight:730; }
.bp-map-tools { display:flex; align-items:center; gap:8px; }
.bp-map-tools > small { display:none; color:#ceba9e; font-size:11px; }
.bp-lounge .bp-map-fit {
  display:none; min-height:36px; padding:4px 11px; border:1px solid #705949;
  border-radius:4px; background:#302521; color:#f5e0c0; font-size:12px; white-space:nowrap;
}
.bp-map-scroll { overflow:auto; border:1px solid #665944; border-radius:8px; background:#203942; }
@media(min-width:1000px) {
  .bp-map-title,.bp-map-scroll,.bp-pet-map>.bp-map-active { max-inline-size:max(960px,calc((100dvh - 330px) * 1.662)); margin-inline:auto; }
}
.bp-map-scroll:focus-visible { outline:2px solid #ffcf7e; outline-offset:2px; }
.bp-map-world {
  position:relative; aspect-ratio:1200/722; isolation:isolate;
  background:#304b4a url("./pet3d/world-map.webp?v=bull-companion-20261203-32") center / 100% 100% no-repeat;
  container-type:inline-size;
}
.bp-map-area {
  position:absolute; top:var(--map-y); left:var(--map-x); translate:-50% -50%; z-index:1;
  padding:0 5px; font:700 clamp(12px,1.45cqw,19px) / 1 ui-serif, "Songti SC", SimSun, serif;
  letter-spacing:.19em; color:#f3e6c4; text-shadow:0 1px 3px #111d1c, 0 0 9px #19221c;
  pointer-events:none; white-space:nowrap;
}
.bp-lounge .bp-map-site {
  display:grid; align-content:center; justify-items:center; gap:0;
  position:absolute; top:var(--map-y); left:var(--map-x); translate:-50% -53%; z-index:2;
  width:clamp(58px,8.1cqw,101px); min-width:0; min-height:44px; padding:1px 2px 3px;
  background:transparent; border:1px solid transparent; border-radius:5px; color:#fff2d9; line-height:1.1;
}
.bp-map-tile {
  display:inline-block; flex:none; width:36px; height:36px; vertical-align:middle;
  background:url("./pet3d/map-places.webp?v=bull-companion-20261203-32") no-repeat;
  background-size:2500% 100%; background-position:calc(var(--tile) * 100% / 24) 0; image-rendering:pixelated;
}
.bp-map-site>.bp-map-tile {
  width:clamp(33px,4.25cqw,59px); height:clamp(33px,4.25cqw,59px);
  filter:drop-shadow(0 2px 1px #172420); transition:transform 150ms cubic-bezier(.23,1,.32,1);
}
.bp-map-site-name {
  padding:3px 5px; border-radius:3px; background:#192322ed; font-size:clamp(10px,1.1cqw,14px);
  font-weight:640; white-space:nowrap;
}
.bp-map-site small {
  position:absolute; left:50%; bottom:-11px; translate:-50% 0; padding:2px 4px;
  border-radius:2px; color:#ffe2a5; background:#26302b; font-size:10px; white-space:nowrap;
}
.bp-lounge .bp-map-site[data-last] .bp-map-site-name { background:#eed7a3; color:#26241e; }
.bp-lounge .bp-map-site[data-active] .bp-map-tile { filter:drop-shadow(0 0 4px #ffdb86) drop-shadow(0 1px 1px #15201d); }
.bp-lounge :is(.bp-map-site,.bp-map-back,.bp-map-fit):focus-visible { outline:2px solid #ffcf7e; outline-offset:1px; z-index:4; }
.bp-lounge .bp-map-back { flex:none; display:flex; align-items:center; gap:5px; padding:4px 7px; color:#f2d69d; border:1px solid #6e5d49; min-height:34px; font-size:11px; }
.bp-map-back svg { width:13px; height:13px; transform:rotate(180deg); }
@container (max-width:749px) {
  .bp-lounge .bp-map-fit { display:inline-flex; align-items:center; }
  .bp-map-tools > small { display:inline; }
  .bp-pet-map:not([data-fit]) .bp-map-world { min-width:880px; }
  .bp-pet-map[data-fit] .bp-map-tools > small { display:none; }
  .bp-pet-map[data-fit] .bp-map-site {
    width:clamp(21px,8.15cqw,44px); height:clamp(22px,8cqw,44px);
    min-height:0; padding:0;
  }
  .bp-pet-map[data-fit] .bp-map-site>.bp-map-tile { width:clamp(17px,6.5cqw,33px); height:clamp(17px,6.5cqw,33px); }
  .bp-pet-map[data-fit] .bp-map-site-name,
  .bp-pet-map[data-fit] .bp-map-site small { display:none; }
  .bp-pet-map[data-fit] .bp-map-area { font-size:clamp(9px,2.45cqw,14px); letter-spacing:.05em; }
}
.bp-lounge .bp-activity-scene {
  position:relative; overflow:hidden; display:flex; align-items:center; min-height:64px; gap:9px; padding:9px 11px; background:#27252a;
  border:1px solid #49423f; margin:0 0 9px; border-radius:6px; scroll-margin-top:95px;
}
.bp-lounge .bp-activity-scene::after { display:none; }
.bp-activity-scene>.bp-map-tile { width:39px; height:39px; }
.bp-activity-title { min-width:0; flex:1; }
.bp-activity-title h3 { font-size:19px; letter-spacing:.01em; text-shadow:none; margin:0; color:#faead7; }
.bp-activity-title p { font-size:11px; margin:3px 0 0; color:#ded1c3; max-width:unset; }
.bp-activity-scene .bp-activity-motion { position:static; width:25px; height:25px; display:grid; border:1px solid #70614d; background:#302d2c; box-shadow:none; animation:bp-map-breathe 2s ease-in-out infinite; }
.bp-activity-scene .bp-activity-motion svg { width:14px; height:14px; }
.bp-activity-scene .bp-activity-fx { left:auto; right:110px; top:47%; width:30px; height:30px; z-index:2; }
.bp-lounge .bp-fair-card-simple { display:flex; align-items:center; text-align:left; gap:7px; min-height:61px; padding:6px; border:1px solid #514743; background:#29262a; color:#efe3d1; border-radius:5px; }
.bp-fair-card-simple .bp-fair-card-copy { display:block; padding:0; min-width:0; }
.bp-fair-card-simple .bp-fair-card-copy strong,.bp-fair-card-simple .bp-fair-card-copy small { display:block; }
.bp-fair-card-simple .bp-fair-card-copy small { color:#d4c8bc; }
.bp-fair-card-simple>b { align-self:flex-start; font-size:10px; font-variant-numeric:tabular-nums; color:#e9c38b; margin-left:auto; }
@keyframes bp-map-breathe { 0%,100%{transform:translateY(0);opacity:.7} 50%{transform:translateY(-3px);opacity:1} }
@media(hover:hover) {
  .bp-lounge .bp-map-site:hover { background:#2825218f; border-color:#d9be8469; }
  .bp-map-site:hover>.bp-map-tile { transform:translateY(-3px); }
}
@media(max-width:640px) {
  .bp-map-title h3 { font-size:19px; }
  .bp-lounge .bp-map-back { min-height:44px; }
}
@media(prefers-reduced-motion:reduce) {
  .bp-map-site>.bp-map-tile { transition:none; }
  .bp-activity-scene .bp-activity-motion { animation:none; }
}



.bp-pixel {
  --pixel-size:32px;
  display:inline-block;
  flex:none;
  width:var(--pixel-size);
  height:var(--pixel-size);
  vertical-align:middle;
  background-image:url("./pet3d/item-pixels.webp?v=bull-companion-20261202-23");
  background-repeat:no-repeat;
  background-size:var(--pixel-columns) var(--pixel-rows);
  background-position:var(--pixel-x) var(--pixel-y);
  image-rendering:pixelated;
}
.bp-pixel-text { display:inline-flex; align-items:center; gap:1px; vertical-align:middle; }
.bp-pixel-text>.bp-pixel { --pixel-size:20px; }
.bp-lounge .bp-care-art { display:inline-flex; align-items:center; justify-content:center; position:relative; width:44px; height:40px; color:#cbbca8; }
.bp-care-art>.bp-pixel { --pixel-size:40px; }
.bp-care-art[data-care-art=bath]>.bp-pixel:first-child { transform:translateX(-5px); }
.bp-care-art[data-care-art=bath]>.bp-pixel:not(:first-child) { position:absolute; --pixel-size:17px; right:-1px; top:18px; }
.bp-care-art[data-care-art=bath]>.bp-pixel:nth-child(3) { top:7px; right:0; }
.bp-lounge .bp-care-item-name { color:#f2d7ae; font-size:11px; font-weight:650; line-height:1.3; }
.bp-need>.bp-care-art,.bp-need>div>.bp-care-art { flex:none; margin-right:1px; }
.bp-lounge .bp-action-list button:has(>.bp-care-art) { grid-template-columns:46px minmax(0,1fr) auto; column-gap:9px; }
.bp-quests article:has(>.bp-pixel) { grid-template-columns:34px minmax(0,1fr) auto auto; column-gap:6px; }
.bp-quests article>.bp-pixel { --pixel-size:29px; }
.bp-estate-symbol:has(.bp-pixel),.bp-town-symbol:has(.bp-pixel),.bp-skill-mark:has(.bp-pixel),.bp-route-symbol:has(.bp-pixel) { background:transparent; }
.bp-estate-symbol>.bp-pixel,.bp-town-symbol>.bp-pixel,.bp-skill-mark>.bp-pixel,.bp-route-symbol>.bp-pixel { --pixel-size:34px; }
.bp-estate-exhibits article>.bp-pixel { --pixel-size:39px; }
.bp-estate-exhibits article[data-estate-discovered=false]>.bp-pixel { opacity:.68; }
.bp-estate-exhibits article .bp-exhibit-items { display:flex; flex-wrap:wrap; gap:0 1px; }
.bp-estate-exhibits article .bp-exhibit-items>.bp-pixel { --pixel-size:24px; }
.bp-garden-plots .bp-pixel { --pixel-size:43px; grid-row:span 2; }
.bp-garden-seeds>.bp-pixel { --pixel-size:28px; align-self:center; }
.bp-equipment-summary article>span>.bp-pixel,.bp-pet-position-art>.bp-pixel { --pixel-size:30px; }
.bp-active-heading>.bp-pixel,.bp-activity-summary>.bp-pixel { --pixel-size:26px; }
.bp-last-loot li>.bp-pixel,.bp-town-memories li>.bp-pixel { --pixel-size:25px; }
.bp-fair-field .bp-fair-board button>.bp-pixel { --pixel-size:29px; }
.bp-fair-board[data-revealing=true] button[data-step]:not([data-step=""])>.bp-pixel { animation:bp-fair-gem 400ms var(--fair-delay) ease-out both; }
.bp-lounge .bp-fair-badges button>.bp-pixel { display:block; margin-inline:auto; --pixel-size:26px; }
.bp-fair-levels article .bp-pixel-strip { display:inline-flex; align-items:center; gap:2px; vertical-align:middle; }
.bp-fair-levels article .bp-pixel-strip>.bp-pixel { --pixel-size:20px; }
.bp-game-rowtext .bp-pixel-text,.bp-town-note .bp-pixel-text { color:#ebd5bc; }
.bp-estate-duel [data-duel-fighter] { display:flex; align-items:center; gap:4px; }
.bp-estate-duel [data-duel-fighter]>.bp-pixel { --pixel-size:31px; }
.bp-playroom-record .bp-pixel { --pixel-size:23px; }
.bp-wardrobe-art-label { display:flex; align-items:center; gap:3px; }
.bp-wardrobe-art-label>.bp-pixel { --pixel-size:24px; }
.bp-wardrobe-art-label>span:last-child { min-width:0; overflow:hidden; text-overflow:ellipsis; }
.bp-town-bag .bp-pixel { padding:0; background-color:transparent; --pixel-size:23px; }
.bp-education-rail .bp-pixel { --pixel-size:25px; margin-inline:auto; z-index:1; }
.bp-education-rail li:not(:last-child)::after { top:12px; }
.bp-quest-counter { white-space:nowrap; }
.bp-pixel-extra-reward { list-style:none; padding:0; margin:6px 0 0; display:flex; flex-wrap:wrap; gap:2px 10px; }
.bp-pixel-extra-reward[hidden] { display:none; }
.bp-pixel-extra-reward li { font-size:11px; color:#eddbbf; }
@media(max-width:640px) {
  .bp-lounge .bp-action-list button:has(>.bp-care-art) { grid-template-columns:37px minmax(0,1fr) auto; gap:6px; }
  .bp-lounge .bp-care-art { width:35px; height:34px; }
  .bp-care-art>.bp-pixel { --pixel-size:34px; }
  .bp-care-art[data-care-art=bath]>.bp-pixel:not(:first-child) { --pixel-size:14px; }
  .bp-estate-symbol>.bp-pixel { --pixel-size:27px; }
  .bp-lounge .bp-estate-controls button { max-width:100%; white-space:nowrap; }
  .bp-lounge .bp-quests article:has(>.bp-pixel) { grid-template-columns:26px minmax(0,1fr) auto auto; column-gap:3px; }
  .bp-quests article>.bp-pixel { --pixel-size:25px; }
}
@media(prefers-reduced-motion:reduce){
  .bp-fair-board[data-revealing=true] button[data-step]:not([data-step=""])>.bp-pixel { animation:none; }
}

.bp-pixel-choices { min-width:0; padding:0; margin:10px 0 8px; border:0; }
.bp-pixel-choices legend { margin:0 0 5px; padding:0; color:#e5d3bd; font-size:12px; font-weight:650; }
.bp-pixel-choices>div { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:4px; }
.bp-pixel-choices label { position:relative; display:flex; align-items:center; gap:4px; min-width:0; min-height:47px; padding:5px 4px; border:1px solid #4f4547; border-radius:5px; background:#282429; cursor:pointer; }
.bp-pixel-choices input { position:absolute; inline-size:1px; block-size:1px; opacity:0; }
.bp-pixel-choices label:has(input:checked) { border-color:#c2a27c; background:#3d3237; }
.bp-pixel-choices label:has(input:focus-visible) { outline:2px solid #f3c899; outline-offset:1px; }
.bp-pixel-choices label strong,.bp-pixel-choices label small { display:block; overflow-wrap:anywhere; }
.bp-pixel-choices label strong { color:#f4e8d7; font-size:12px; }
.bp-pixel-choices label small { color:#d3c3b5; font-size:10px; }
.bp-pixel-choices label>.bp-pixel { --pixel-size:31px; }
.bp-record-pics { display:inline-flex; flex:none; align-items:center; gap:0; }
.bp-record-pics .bp-pixel,.bp-exhibit-piece .bp-pixel { --pixel-size:24px; }
.bp-estate-record:has(.bp-record-pics) { list-style:none; padding:0; }
.bp-estate-record li:has(.bp-record-pics) { display:flex; align-items:center; gap:4px; }
.bp-estate-exhibits article[data-estate-discovered=false]>.bp-pixel,.bp-exhibit-piece[data-known=false],.bp-memento-picture[data-known=false] .bp-pixel { filter:grayscale(1) brightness(.67); opacity:.72; }
.bp-exhibit-piece,.bp-memento-picture { display:inline-flex; }
.bp-estate-fight-buttons .bp-pixel,.bp-coins .bp-pixel,.bp-vital .bp-pixel,.bp-closet-caption .bp-pixel,
.bp-closet-cats .bp-pixel,.bp-gear-list .bp-pixel-text .bp-pixel,
.bp-lounge .bp-segments button>.bp-pixel,.bp-studio-title .bp-pixel,.bp-estate-event strong .bp-pixel { --pixel-size:20px; }
.bp-expression-grid button>.bp-pixel { --pixel-size:25px; }
.bp-fair-trail .bp-pixel { --pixel-size:29px; }
.bp-fair-levels article h4 { vertical-align:middle; }
.bp-fair-levels article>div>span>.bp-pixel { --pixel-size:27px; }
.bp-lounge .bp-section-nav button>.bp-map-tile { width:19px; height:19px; }
.bp-pixel-extra-reward:not([hidden]) { padding:4px 6px; margin-top:2px; gap:3px 8px; background:#231f25; border-radius:5px; }
.bp-pixel-extra-reward li { padding:0 4px 0 1px; }
@media(max-width:640px) {
  .bp-pixel-choices>div { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .bp-lounge .bp-town-tabs button,.bp-lounge .bp-playroom-nav button,.bp-lounge .bp-closet-cats button { padding-inline:4px; min-width:0; }
  .bp-closet-cats .bp-pixel,.bp-lounge .bp-segments button>.bp-pixel { --pixel-size:16px; }
  .bp-lounge .bp-section-nav button>.bp-map-tile { width:14px; height:14px; }
  .bp-fair-trail .bp-pixel { --pixel-size:23px; }
}

.bp-progress {
  --progress-color:#85c5b6;
  --progress-gleam:#c4e2cb;
  display:flex;
  align-items:center;
  gap:6px;
  min-width:0;
  width:100%;
  min-height:10px;
}
.bp-progress[data-tone=gold] { --progress-color:#cd9e65; --progress-gleam:#f1cc92; }
.bp-progress[data-tone=plant] { --progress-color:var(--crop-color,#86aa73); --progress-gleam:#b8d997; }
.bp-progress[data-tone=goal] { --progress-color:#a894cb; --progress-gleam:#d6c1e7; }
.bp-progress[data-tone=care] { --progress-color:#c38d9e; --progress-gleam:#ecc0c9; }
.bp-progress[data-tone=health] { --progress-color:#d07875; --progress-gleam:#efa38f; }
.bp-progress[data-complete] { --progress-color:#b2cb84; --progress-gleam:#e1edb0; }
.bp-vital[data-low=true] .bp-progress { --progress-color:#bc886b; --progress-gleam:#edb68d; }
.bp-progress-track {
  position:relative;
  display:block;
  flex:1;
  height:6px;
  min-width:0;
  overflow:hidden;
  border-radius:2px;
  background:#141420;
  border:1px solid #ffffff21;
}
.bp-progress-fill {
  position:absolute;
  inset:0;
  display:block;
  transform-origin:left center;
  background:linear-gradient(0deg,transparent 58%,#ffffff23 58%),linear-gradient(90deg,var(--progress-color),var(--progress-gleam));
}
.bp-lounge .bp-progress-caption { flex:none; min-width:23px; color:#d8cbb6; font-size:10px; }
.bp-lounge .bp-progress-percent {
  flex:none;
  min-width:33px;
  text-align:right;
  color:#efdbbb;
  font-size:10px;
  font-variant-numeric:tabular-nums;
}
.bp-lounge .bp-level [data-exp] { display:block; margin-top:5px; }
.bp-vital .bp-progress,.bp-health-grid .bp-progress { margin-top:3px; }
.bp-vital .bp-progress-track { height:5px; }
.bp-active-strip .bp-progress { margin-top:3px; }
.bp-active-strip .bp-progress+.bp-progress .bp-progress-track { height:4px; }
.bp-estate-in-progress { flex-wrap:wrap; }
.bp-estate-in-progress>.bp-progress { flex:1 0 100%; }
.bp-estate-row-text>.bp-progress,.bp-estate-exhibits article>.bp-progress,.bp-town-heading>.bp-progress { margin-top:3px; }
.bp-garden-plot>.bp-progress { grid-column:1/-1; min-width:0; }
.bp-garden-plot[data-plot=ripe] .bp-progress-percent { color:#c7e296; }
.bp-fair-queue article .bp-progress { display:flex; margin-top:3px; }
.bp-fair-meter .bp-progress { grid-column:1/-1; }
.bp-fair-field>.bp-progress { margin:6px 0; }
.bp-beat-field>.bp-progress,.bp-scene-live>.bp-progress { width:100%; }
.bp-quests article h3+ p+.bp-progress { margin-top:3px; }
.bp-quests article .bp-progress-track { height:4px; }
.bp-map-active { margin:0 0 10px; }
.bp-map-active h4 { display:flex; align-items:center; gap:5px; margin:0 0 4px; color:#f0dfbc; font-size:12px; }
.bp-map-active h4 span { font-size:10px; color:#cbbba6; }
.bp-map-active>div { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:4px; }
.bp-lounge button.bp-map-active-card {
  display:grid; grid-template-columns:28px minmax(0,1fr) auto; grid-template-rows:auto auto; align-items:center;
  column-gap:5px; row-gap:1px; min-height:54px; padding:4px 6px; text-align:left;
  background:#28252b; color:#f4e9d7; border:1px solid #615349; border-radius:5px;
}
.bp-lounge button.bp-map-active-card:focus-visible { outline:2px solid #f4ce98; }
.bp-map-active-card>span:nth-child(2) { display:grid; min-width:0; line-height:1.3; }
.bp-map-active-card>span:nth-child(2)>strong { white-space:normal; overflow-wrap:anywhere; font-size:12px; }
.bp-map-active-card>span:nth-child(2)>small { font-size:10px; color:#ccbca7; }
.bp-map-active-card>time,.bp-map-active-card>b { color:#f0d898; font-size:11px; font-variant-numeric:tabular-nums; }
.bp-map-active-card> .bp-pixel { --pixel-size:28px; }
.bp-map-active-card> .bp-progress { grid-column:1/-1; }
.bp-map-active-card .bp-progress-ready { color:#cce3a2; }
@media(max-width:550px) {
  .bp-map-active>div { grid-template-columns:1fr; }
  .bp-progress-track { height:5px; }
}


.bp-pet-workspace {
  display:flex; align-items:center; gap:5px; padding:3px; margin:0 0 8px; width:max-content;
  max-width:100%; background:#211d25; border:1px solid #564844; border-radius:6px;
}
.bp-lounge .bp-pet-workspace button {
  display:inline-flex; align-items:center; justify-content:center; min-height:37px; padding:2px 9px; gap:4px;
  background:transparent; border:1px solid transparent; border-radius:4px; color:#d7c9bb; font-size:12px; font-weight:650;
}
.bp-lounge .bp-pet-workspace button[aria-current=page] { background:#3d3133; border-color:#79624c; color:#fce0ac; }
.bp-pet-workspace :is(.bp-pixel,.bp-map-tile) { --pixel-size:22px; width:22px; height:22px; }
.bp-lounge :is([data-activity-strip],.bp-vitals)[hidden] { display:none; }
.bp-pet-overview { color:#f6ecda; }
.bp-overview-heading {
  display:flex; justify-content:space-between; align-items:center; gap:10px; min-height:78px;
  padding:9px 13px; margin:1px 0 8px; border:1px solid #6a5547; border-radius:7px;
  background:linear-gradient(110deg,#32252e,#262329 77%);
}
.bp-overview-heading p { margin:0 0 3px; color:#dfc496; font-size:11px; }
.bp-overview-heading h3 { margin:0; font-size:24px; letter-spacing:.026em; font-weight:740; scroll-margin-top:85px; }
.bp-overview-metrics { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:5px; margin:0 0 8px; }
.bp-lounge .bp-overview-metrics>button {
  display:flex; align-items:center; gap:4px; min-height:58px; padding:5px; min-width:0; text-align:left;
  border:1px solid #534748; border-radius:6px; background:#28242a; color:#f0e5d4;
}
.bp-overview-metrics .bp-pixel { --pixel-size:31px; }
.bp-overview-metrics small,.bp-overview-metrics strong { display:block; line-height:1.2; }
.bp-overview-metrics small { font-size:10px; color:#d8cbb5; white-space:normal; }
.bp-overview-metrics strong { margin-top:2px; color:#f5d49b; font-size:19px; font-variant-numeric:tabular-nums; }
.bp-overview-metrics em { font-style:normal; font-weight:550; font-size:11px; color:#d6cab8; }
 .bp-overview-vitals { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:9px; margin:0 0 8px; padding:5px 7px 7px; border:1px solid #51454b; border-radius:6px; background:#211d24; }
.bp-overview-vitals .bp-vital div { margin-bottom:0; }
.bp-overview-vitals .bp-pixel { --pixel-size:19px; }
.bp-overview-columns { display:grid; grid-template-columns:1.1fr 1fr; gap:7px; align-items:stretch; }
.bp-overview-panel,.bp-overview-record {
  min-width:0; padding:8px; border:1px solid #51454b; border-radius:6px; background:#211d24; scroll-margin-top:82px;
}
.bp-overview-panel>header,.bp-overview-record>header { display:flex; align-items:center; justify-content:space-between; min-height:26px; gap:5px; }
.bp-overview-panel h4,.bp-overview-record h4,.bp-overview-shortcuts h4 { margin:0; color:#f0ddb7; font-size:12px; font-weight:700; }
.bp-overview-panel>header>span { color:#cbbcab; font-size:10px; }
.bp-overview-activities { grid-column:1/-1; }
.bp-overview-activities .bp-map-active { margin:2px 0 0; }
.bp-overview-activities .bp-map-active-card { min-height:53px; }
.bp-overview-activities .bp-map-active-card:only-child { grid-column:1/-1; }
.bp-lounge .bp-overview-link {
  display:inline-flex; align-items:center; gap:4px; flex:none; padding:3px 2px; min-height:27px;
  background:transparent; border:0; color:#e8c68e; font-size:11px;
}
.bp-overview-link span { font-size:15px; line-height:1; }
.bp-overview-empty {
  display:flex; align-items:center; gap:5px; min-height:37px; margin:0; color:#d0c2b1; font-size:11px;
}
.bp-overview-empty .bp-pixel { --pixel-size:26px; }
.bp-overview-empty .bp-overview-link { margin-left:auto; }
.bp-overview-ready-row,.bp-overview-care-row {
  display:grid; grid-template-columns:30px minmax(0,1fr) auto; align-items:center; gap:5px; min-height:49px;
  border-top:1px solid #504342; padding:3px 0;
}
.bp-overview-care-row { min-height:56px; }
.bp-overview-ready-row .bp-pixel,.bp-overview-care-row .bp-pixel { --pixel-size:30px; }
.bp-overview-ready-row strong,.bp-overview-care-row h5 { display:block; margin:0; color:#f4e6d2; font-size:12px; overflow-wrap:anywhere; }
.bp-overview-care-row h5 { display:flex; align-items:first baseline; justify-content:space-between; gap:2px; }
.bp-overview-care-row h5 b { font-size:10px; color:#e0bea5; font-variant-numeric:tabular-nums; }
.bp-overview-ready-row small,.bp-overview-care-row small { display:block; color:#ccbead; font-size:10px; }
.bp-lounge :is(.bp-overview-ready-row,.bp-overview-care-row) button { min-height:34px; padding:3px 5px; }
.bp-overview-more summary { cursor:pointer; color:#e5c58f; font-size:11px; min-height:30px; padding:5px 0; }
.bp-overview-shortcuts { margin:10px 0 0; }
.bp-overview-shortcuts h4 { margin-bottom:5px; }
.bp-overview-shortcuts>div { display:grid; grid-template-columns:repeat(6,minmax(0,1fr)); gap:4px; }
.bp-lounge .bp-overview-shortcuts button {
  display:flex; align-items:center; justify-content:center; padding:3px 2px; gap:3px; min-height:44px;
  color:#f1e4d1; background:#29242a; border:1px solid #55474a; border-radius:5px; font-size:11px;
}
.bp-overview-shortcuts .bp-map-tile { width:27px; height:27px; }
.bp-overview-record { margin-top:8px; }
.bp-overview-record ul { padding:0; margin:0; list-style:none; }
.bp-overview-record li { display:flex; align-items:center; gap:4px; color:#e0cdb6; font-size:11px; overflow-wrap:anywhere; }
.bp-overview-record li .bp-pixel { --pixel-size:20px; }
.bp-overview-record .bp-receipt-list li {
  display:grid; grid-template-columns:22px minmax(0,1fr) auto; column-gap:7px; row-gap:1px;
  padding:7px 0; align-items:center; border-bottom:1px solid #3a3139;
}
.bp-overview-record .bp-receipt-list li:last-child { border-bottom:none; }
.bp-receipt-list li>div { display:grid; gap:1px; }
.bp-receipt-list strong { font-size:12px; color:#f6ecda; }
.bp-receipt-list time,.bp-receipt-list small { text-align:right; font-variant-numeric:tabular-nums; }
.bp-receipt-list time { align-self:start; color:#ccbead; white-space:nowrap; }
.bp-receipt-list small { grid-column:2/-1; color:#edca9a; }
@media(max-width:395px) {
  .bp-receipt-list li>div { display:contents; }
  .bp-receipt-list li span:not(.bp-pixel) { grid-column:2/-1; grid-row:2; }
  .bp-receipt-list li strong { grid-column:2; grid-row:1; }
  .bp-receipt-list li time { grid-column:3; grid-row:1; }
}
.bp-lounge :is(.bp-overview-metrics>button,.bp-overview-shortcuts button,.bp-pet-workspace button,.bp-map-site):focus-visible {
  outline:2px solid #f0cb8e; outline-offset:1px;
}
@media(hover:hover) {
  .bp-lounge :is(.bp-overview-metrics>button,.bp-overview-shortcuts button,.bp-pet-workspace button):hover { border-color:#bc9770; }
}
@media(prefers-reduced-motion:no-preference) {
  .bp-lounge:not([data-pet-ui-motion-off]) :is(.bp-overview-metrics>button,.bp-overview-shortcuts button,.bp-pet-workspace button) {
    transition:transform 120ms cubic-bezier(.23,1,.32,1);
  }
  .bp-lounge:not([data-pet-ui-motion-off]) :is(.bp-overview-metrics>button,.bp-overview-shortcuts button,.bp-pet-workspace button):active {
    transform:scale(.97);
  }
  .bp-lounge:not([data-pet-ui-motion-off]) .bp-map-site:active .bp-map-tile { transform:translateY(1px); }
}
@media(max-width:940px) {
  .bp-overview-shortcuts>div { grid-template-columns:repeat(3,minmax(0,1fr)); }
}
@media(max-width:640px) {
  #pet-page-host .bp-page[data-pet-overview] .bp-lounge-body { display:flex; flex-direction:column; }
  .bp-pet-workspace { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); width:100%; }
  .bp-lounge:is([data-pet-overview],[data-pet-map]) .bp-pet-workspace { grid-template-columns:repeat(3,minmax(0,1fr)); }
  .bp-lounge:is([data-pet-overview],[data-pet-map]) .bp-pet-workspace button { padding-inline:3px; }
  .bp-lounge .bp-pet-workspace button { min-height:44px; }
  .bp-overview-heading { min-height:66px; padding:7px 8px; }
  .bp-overview-heading h3 { font-size:20px; }
  .bp-overview-vitals { grid-template-columns:repeat(2,minmax(0,1fr)); gap:5px 10px; }
  .bp-overview-columns { grid-template-columns:minmax(0,1fr); }
  .bp-overview-metrics .bp-pixel { --pixel-size:23px; }
  .bp-overview-metrics strong { font-size:16px; }
  .bp-lounge :is(.bp-overview-ready-row,.bp-overview-care-row) button { min-height:44px; }
}
@media(max-width:345px) {
  .bp-lounge .bp-overview-metrics>button { padding-inline:2px; gap:2px; }
  .bp-overview-metrics .bp-pixel { --pixel-size:18px; }
  .bp-overview-shortcuts .bp-map-tile { width:23px; height:23px; }
}

/* The stage and its activity caption stay together while the venue changes. */
.bp-stage-status {
  --pet-scene:#e2afce;
  display:grid;
  min-width:0;
  gap:5px;
  padding:7px 8px;
  margin-top:6px;
  border-radius:6px;
  background:#221b25;
  color:var(--pet-ink);
}
.bp-actor-caption { display:flex; gap:7px; align-items:center; min-width:0; }
.bp-actor-icon { display:grid; place-items:center; width:32px; height:32px; flex:none; border-radius:5px; background:#141117; }
.bp-actor-caption>div { min-width:0; flex:1; display:grid; gap:1px; }
.bp-actor-caption strong,.bp-actor-caption small { overflow:hidden; white-space:nowrap; text-overflow:ellipsis; }
.bp-actor-caption strong { color:var(--pet-scene); font-size:13px; line-height:1.28; }
.bp-actor-caption small { color:var(--pet-muted); font-size:11px; line-height:1.3; }
.bp-actor-caption small:empty { display:none; }
.bp-actor-caption button { width:32px; height:32px; display:grid; place-items:center; flex:none; padding:0; border-radius:5px; }
.bp-actor-caption button:hover { background:#372a39; color:var(--pet-scene); }
.bp-actor-caption button[hidden],.bp-actor-tracker[hidden] { display:none; }
.bp-actor-tracker { display:flex; align-items:center; gap:8px; }
.bp-actor-tracker>div { flex:1; min-width:0; }
.bp-actor-tracker time { color:var(--pet-scene); font-size:11px; font-variant-numeric:tabular-nums; white-space:nowrap; }
.bp-actor-tracker .bp-progress { margin:0; }
.bp-lounge:is([data-pet-actor="fish"],[data-pet-actor="bath"],[data-pet-actor="brew"]) .bp-stage-status { --pet-scene:#a9d5de; }
.bp-lounge:is([data-pet-actor="garden"],[data-pet-actor="scout"],[data-pet-actor="companion"]) .bp-stage-status { --pet-scene:#c6d5a0; }
.bp-lounge:is([data-pet-actor="cook"],[data-pet-actor="eat"],[data-pet-actor="work"],[data-pet-actor="craft"]) .bp-stage-status { --pet-scene:#efc090; }
.bp-lounge[data-pet-actor="idle"] .bp-stage-status { --pet-scene:#cdbccd; }
.bp-model-stage::after {
  content:""; position:absolute; z-index:0; inset:0; pointer-events:none;
  opacity:0; transition:opacity 430ms ease-out;
  background:radial-gradient(ellipse at 44% 60%,#4f847637,transparent 66%);
}
.bp-lounge:is([data-pet-actor="fish"],[data-pet-actor="garden"],[data-pet-actor="scout"],[data-pet-actor="brew"]) .bp-model-stage::after { opacity:1; }
.bp-lounge:is([data-pet-actor="eat"],[data-pet-actor="cook"],[data-pet-actor="work"],[data-pet-actor="craft"]) .bp-model-stage::after {
  opacity:1; background:radial-gradient(ellipse at 56% 55%,#c1844e4c,transparent 64%);
}
@media (prefers-reduced-motion:no-preference) {
  .bp-lounge[data-pet3d="fallback"]:not([data-pet-ui-motion-off]):not([data-pet-actor="idle"]) .bp-actor-icon {
    animation:pet-actor-icon 2.8s ease-in-out 3;
  }
  @keyframes pet-actor-icon {
    0%,100% { transform:translateY(0); }
    44% { transform:translateY(-3px); }
    66% { transform:translateY(-1px); }
  }
}
@media (max-width:640px) {
  .bp-page:not([data-pane="wardrobe"]) .bp-profile-body {
    display:grid;
    grid-template-columns:minmax(102px,40%) minmax(0,1fr);
    grid-template-rows:auto auto minmax(0,1fr);
    column-gap:8px;
  }
  .bp-page:not([data-pane="wardrobe"]) .bp-model-stage {
    grid-row:1/-1;
    height:clamp(133px,23dvh,172px);
    border-radius:6px;
  }
  .bp-page:not([data-pane="wardrobe"]) .bp-stage-status { grid-column:2; margin:0; align-self:start; }
  .bp-page:not([data-pane="wardrobe"]) .bp-level { grid-column:2; padding:4px 3px 3px; }
  .bp-page:not([data-pane="wardrobe"]) .bp-level span,.bp-page:not([data-pane="wardrobe"]) .bp-level strong { font-size:11px; }
  .bp-page:not([data-pane="wardrobe"]) .bp-pet-profile [data-skills] { display:none; }
  .bp-page:not([data-pane="wardrobe"]) .bp-vitals { grid-column:2; gap:3px 7px; padding-top:2px; }
  .bp-page:not([data-pane="wardrobe"]) .bp-vital span,.bp-page:not([data-pane="wardrobe"]) .bp-vital b { font-size:10px; }
  .bp-page:not([data-pane="wardrobe"]) .bp-vital .bp-pixel { display:none; }
  .bp-page:not([data-pane="wardrobe"]) .bp-model-controls { display:none; }
  .bp-page .bp-actor-caption button { width:44px; height:44px; }
  .bp-page:is([data-pet-overview],[data-pet-map]) .bp-model-stage { height:clamp(106px,15dvh,132px); }
  .bp-lounge:not(.bp-page) .bp-stage-status { grid-column:2; margin:0; }
}
@media (max-width:640px) and (min-height:560px) {
  .bp-page[data-pet-actor]:not([data-pet-actor="idle"],[data-pane="wardrobe"],[data-pane="chat"]) .bp-pet-profile {
    position:sticky; top:env(safe-area-inset-top,0px); z-index:6;
  }
  .bp-page[data-pet-actor]:not([data-pet-actor="idle"],[data-pane="wardrobe"],[data-pane="chat"]) .bp-view :is(button,[tabindex]) {
    scroll-margin-block-start:220px;
  }
}
.bp-lounge[data-pet-ui-motion-off] :is(button,.bp-map-tile),
.bp-lounge[data-pet-ui-motion-off] button::after,
.bp-lounge[data-pet-ui-motion-off] .bp-model-stage::after { transition:none; }
.bp-lounge[data-pet-ui-motion-off] .bp-activity-scene .bp-activity-motion,
.bp-lounge[data-pet-ui-motion-off] .bp-fair-board[data-revealing="true"] button i { animation:none; }
@media (prefers-reduced-motion:reduce) { .bp-model-stage::after { transition:none; } }


.wb-pet-nav-icon { display:inline-block; flex:none; width:22px; height:22px; object-fit:contain; border-radius:4px; }
.tl-header .wb-nav [data-tab="pet"] .wb-pet-nav-icon { width:21px; height:21px; }
#pet-page-host .bp-page {
  --pet-paper:#181518; --pet-surface:#211b21; --pet-well:#2e222b; --pet-line:#3e323b;
  --pet-ink:#faf0e6; --pet-muted:#cfbfb9; --pet-gold:#f0ce9f; --pet-strong:#efb8bc; --pet-pink:#f5c4c5;
  border-radius:9px;
}
.bp-page .bp-lounge-head { min-height:56px; background:#21191f; padding-inline:14px; }
.bp-page .bp-lounge-head h2 { font-size:21px; }
.bp-page>.bp-pet-workspace {
  display:flex; gap:2px; width:100%; margin:0; padding:0 12px; background:#1d171c;
  border:0; border-bottom:1px solid var(--pet-line); border-radius:0;
}
.bp-page>.bp-pet-workspace button {
  padding:7px 12px; min-height:44px; border:0; border-bottom:2px solid transparent; border-radius:0;
  background:none; white-space:nowrap;
}
.bp-page>.bp-pet-workspace button:is([aria-current="page"],[aria-pressed="true"],[aria-expanded="true"]) {
  color:var(--pet-gold); border-bottom-color:#eab68c; background:#392b30;
}
.bp-page>.bp-pet-workspace button:last-child { margin-left:auto; }
#pet-page-host .bp-lounge-body { grid-template-columns:minmax(238px,26%) minmax(0,1fr); }
#pet-page-host .bp-page[data-pane="wardrobe"] .bp-lounge-body { grid-template-columns:minmax(300px,32%) minmax(0,1fr); }
.bp-page[data-pane="wardrobe"] .bp-model-stage { height:clamp(360px,54dvh,560px); }
@media(max-width:820px){
  #pet-page-host .bp-page[data-pane="wardrobe"] .bp-lounge-body { grid-template-columns:minmax(195px,35%) minmax(0,1fr); }
}
.bp-page .bp-pet-profile { padding:10px; background:#201920; }
.bp-page .bp-lounge-work { padding:12px; }
.bp-page[data-pet-map] .bp-lounge-body { display:block; }
.bp-page[data-pet-map] .bp-pet-profile { display:none; }
.bp-page[data-pet-map] .bp-lounge-work { container-type:inline-size; }
.bp-page .bp-model-stage { height:clamp(290px,46dvh,470px); background:radial-gradient(ellipse at 48% 28%,#65434a,#37272f 55%,#251c25); }
.bp-page .bp-model-stage::before { background:none; opacity:.65; inset:12% 11%; border-color:#b493805f; }
.bp-page .bp-stage-status { background:#2a2028; }
.bp-page .bp-overview-heading { min-height:61px; margin:0 0 9px; border:0; padding:8px 0; background:transparent; }
.bp-page .bp-overview-heading h3 { letter-spacing:normal; }
.bp-page .bp-overview-metrics>button { background:#241d23; border-color:#44363b; }
.bp-page .bp-overview-shortcuts>div { gap:0; border-block:1px solid #44363b; }
.bp-page .bp-overview-shortcuts button { border:0; border-right:1px solid #44363b; border-radius:0; background:transparent; }
.bp-page .bp-overview-shortcuts button:nth-child(3n) { border-right:0; }
.bp-page .bp-nav-group { border:0; border-right:1px solid var(--pet-line); border-radius:0; background:transparent; }
.bp-page .bp-nav-group:last-child { border:0; }
.bp-page .bp-section-nav { padding:8px 0; margin-bottom:12px; border-block:1px solid var(--pet-line); }
.bp-page .bp-feedback:not(:empty) { border-left-width:1px; background:#30222b; }
@media(max-width:820px){
  .bp-page .bp-nav-group:nth-child(2) { border:0; }
  #pet-page-host .bp-page .bp-lounge-body { grid-template-columns:minmax(210px,32%) minmax(0,1fr); }
}
@media(max-width:640px){
  .bp-page>.bp-pet-workspace { padding-inline:5px; }
  .bp-page>.bp-pet-workspace button { padding-inline:6px; flex:1; }
  .bp-page>.bp-pet-workspace .bp-map-tile,.bp-page>.bp-pet-workspace .bp-pixel { width:18px; height:18px; --pixel-size:18px; }
  .bp-page .bp-lounge-work { padding:9px; }
  .bp-page .bp-model-stage { height:clamp(116px,22dvh,160px); }
  .bp-page[data-pane="wardrobe"] .bp-model-stage { height:clamp(310px,48dvh,440px); }
  .bp-page .bp-nav-group { display:flex; flex-flow:row wrap; gap:2px; align-items:center; border:0; }
  .bp-page .bp-nav-group>span { text-align:left; flex:0 0 38px; padding:0; }
  .bp-page .bp-nav-group button { flex:1 1 52px; padding-inline:2px; }
  .bp-page .bp-overview-shortcuts button:nth-child(-n+3) { border-bottom:1px solid #44363b; }
}

.bp-page .bp-closet-heading { border-bottom:1px solid var(--pet-line); }
.bp-page .bp-closet-cats button { flex:1 0 60px; border-radius:4px; background:#282026; }
.bp-page .bp-closet-caption { align-items:center; gap:6px; margin:8px 0 10px; }
.bp-page .bp-closet-caption>span { color:var(--pet-muted); text-align:right; }
.bp-page .bp-closet-filter { margin:0; }
.bp-page .bp-closet-gallery { grid-template-columns:repeat(auto-fit,minmax(124px,1fr)); gap:8px; }
.bp-page .bp-closet-gallery[data-slot="outfit"] { grid-template-columns:repeat(2,minmax(0,1fr)); }
.bp-page .bp-closet-gallery[data-slot="outfit"] article { max-inline-size:390px; }
.bp-page .bp-closet-gallery[data-slot="outfit"] { max-inline-size:800px; }
.bp-page .bp-closet-gallery article { max-width:none; border-radius:5px; }
.bp-page .bp-look-caption { padding:7px 8px; }
.bp-page .bp-look-caption strong { font-size:13px; }
.bp-page .bp-look-caption p { margin:0; color:#d8c4b4; font-size:11px; overflow-wrap:anywhere; }
.bp-page .bp-look-image img { aspect-ratio:1.1; object-fit:cover; }
.bp-page .bp-closet-gallery[data-slot="outfit"] .bp-look-image img { aspect-ratio:216/226; object-fit:contain; }
@media(max-width:640px){
  .bp-page .bp-closet-gallery[data-slot] { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .bp-page .bp-closet-gallery .bp-closet-buy { min-height:42px; }
}
@media (min-width:1050px){.bp-page .bp-closet-gallery[data-avatar-gallery]{grid-template-columns:repeat(3,minmax(0,1fr));}}
.bp-lounge [data-avatar-gallery] .bp-look-image{background:radial-gradient(ellipse at 45% 28%,#50384d,#302331 76%);}
.bp-lounge [data-avatar-gallery] .bp-look-image img{object-fit:contain;}
.bp-lounge .bp-avatar-categories { grid-template-columns:repeat(6,minmax(0,1fr)); gap:5px; margin-bottom:10px; }
.bp-lounge .bp-avatar-categories button { min-height:36px; font-size:12px; }
.bp-lounge .bp-avatar-detail { display:flex; align-items:center; justify-content:space-between; gap:12px; padding:12px; border:1px solid var(--pet-line); border-radius:8px; background:var(--pet-well); }
.bp-avatar-detail strong,.bp-avatar-detail small { display:block; }
.bp-avatar-detail small,.bp-avatar-compat { margin-top:4px; color:var(--pet-muted); font-size:12px; }
.bp-lounge .bp-avatar-detail button { min-height:34px; flex-shrink:0; padding:4px 12px; background:#523346; color:var(--pet-ink); }
.bp-lounge .bp-avatar-detail button:disabled { opacity:.5; }
@media(max-width:540px){.bp-lounge .bp-avatar-categories { grid-template-columns:repeat(3,minmax(0,1fr)); }}
.bp-care-session {
  display:grid; gap:11px; margin:0 0 10px; padding:12px; border:1px solid var(--pet-line);
  border-radius:9px; background:var(--pet-well);
}
.bp-care-session header { display:grid; grid-template-columns:auto minmax(0,1fr) auto; align-items:center; gap:9px; }
.bp-care-session header strong,.bp-care-session header small { display:block; }
.bp-care-session small { color:var(--pet-muted); font-size:11px; }
.bp-care-session time { color:var(--pet-gold); font-size:17px; font-variant-numeric:tabular-nums; }
.bp-care-session footer { display:flex; justify-content:space-between; align-items:center; gap:8px; }
.bp-lounge .bp-care-session footer button { min-height:36px; padding:4px 8px; background:var(--pet-surface); color:var(--pet-ink); }
.bp-care-phases { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:6px; padding:0; margin:0; list-style:none; }
.bp-care-phases li { position:relative; padding:6px 3px; text-align:center; color:var(--pet-muted); font-size:11px; }
.bp-care-phases li::after {
  position:absolute; bottom:0; left:22%; right:22%; height:2px; border-radius:2px; content:"";
  background:var(--pet-gold); opacity:0; transform:scaleX(.92);
}
.bp-care-phases li[aria-current="step"] { color:var(--pet-ink); }
.bp-care-phases li[aria-current="step"]::after { opacity:1; transform:none; }
.bp-care-phases li[data-finished]::after { opacity:.38; transform:none; }
@media(prefers-reduced-motion:no-preference){
  .bp-lounge[data-pet-motion-enabled="true"] .bp-care-phases li::after {
    transition:opacity .18s cubic-bezier(.23,1,.32,1),transform .18s cubic-bezier(.23,1,.32,1);
  }
}
