/* 俺家的猫厕所 — login, cat picker, plaza, visits. Builds on style.css
   (colours, fonts, .card, .big-btn, .round-btn, .coin, .sprite). */

#social { position: relative; z-index: 30; }

/* ---------- full-screen screens ---------- */
.s-screen {
  position: fixed; inset: 0; z-index: 40;
  background: var(--paper);
  overflow: hidden;
}
.s-screen.pz { z-index: 40; }
.s-screen.vz { z-index: 45; }
.s-screen.s-picker { z-index: 50; }
.s-screen.s-auth { z-index: 55; }
.s-screen.s-boot { z-index: 60; }

/* boot cover */
.s-boot {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px;
  background: radial-gradient(circle at 50% 38%, #fffaf0, var(--paper) 70%);
  transition: opacity .25s;
}
.s-boot.out { opacity: 0; pointer-events: none; }
.s-boot-note { margin: 0; color: var(--ink-soft); font-size: 15px; display: flex; align-items: center; gap: 8px; }

/* the game logo (same look as the room's #logo) */
.s-logo {
  position: relative;
  display: inline-flex; flex-direction: column; align-items: center;
  padding: 9px 22px 8px;
  background: var(--cream);
  border-radius: 20px;
  box-shadow: var(--shadow);
  outline: 2px dashed var(--line); outline-offset: -6px;
  line-height: 1.1;
}
.s-logo strong { font-family: "KuaiLe", var(--font); font-weight: 400; font-size: 30px; letter-spacing: .04em; color: #6a3f1f; }
.s-logo em { font-style: normal; font-weight: 600; font-size: 15px; color: #b0763c; display: flex; align-items: center; gap: 4px; }
.s-logo em svg { width: 1.1em; height: 1.1em; fill: #e39a4c; }
.s-logo .ears { position: absolute; top: -10px; left: 50%; width: 48px; height: 13px; transform: translateX(-50%); }
.s-logo .ears::before, .s-logo .ears::after {
  content: ""; position: absolute; bottom: 0; width: 17px; height: 13px;
  background: #e9b673; clip-path: polygon(50% 0, 100% 100%, 0 100%); border-radius: 3px;
}
.s-logo .ears::before { left: 0; } .s-logo .ears::after { right: 0; }

.s-dots { display: inline-flex; gap: 4px; }
.s-dots i { width: 7px; height: 7px; border-radius: 50%; background: var(--sage-deep); animation: s-dot 1s ease-in-out infinite; }
.s-dots i:nth-child(2) { animation-delay: .15s; } .s-dots i:nth-child(3) { animation-delay: .3s; }
@keyframes s-dot { 0%, 100% { transform: translateY(0); opacity: .4; } 40% { transform: translateY(-5px); opacity: 1; } }

/* ---------- shared form bits ---------- */
.s-card {
  position: relative;
  width: min(100%, 400px);
  padding: 22px 20px 20px;
  border-color: var(--line);
  border-radius: 26px;
  box-shadow: var(--shadow);
}
.s-title { margin: 0 0 12px; font: 400 24px "KuaiLe", var(--font); text-align: center; letter-spacing: .04em; }
.s-seg {
  display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 4px;
  padding: 4px; border-radius: 999px;
  background: var(--cream-2); border: 2px solid var(--line-soft);
}
.s-seg button {
  height: 38px; border-radius: 999px;
  font: 400 17px "KuaiLe", var(--font); letter-spacing: .08em; color: var(--ink-soft);
  transition: background .15s, color .15s;
}
.s-seg button.on { background: var(--sage); color: #2f4a17; box-shadow: inset 0 -3px 0 rgba(60, 90, 30, .22); }
.s-field { display: block; margin-top: 12px; }
.s-field > span { display: block; margin: 0 0 5px 4px; font-size: 13px; color: var(--ink-soft); }
.s-field input, .s-input {
  width: 100%; height: 48px; padding: 0 14px;
  border-radius: 14px; border: 2px solid var(--line-soft); background: #fffaf0;
  font: 500 17px var(--font); color: var(--ink);
  outline: none;
  user-select: text; -webkit-user-select: text;
  transition: border-color .15s, box-shadow .15s;
}
.s-field input:focus, .s-input:focus { border-color: var(--sage-deep); box-shadow: 0 0 0 3px rgba(168, 196, 135, .35); }
.s-field input::placeholder, .s-input::placeholder { color: #bba584; font-weight: 400; }
.s-err {
  margin: 12px 0 0; padding: 9px 12px;
  border-radius: 12px; background: #fbe1d4; border: 1.5px dashed var(--peach-deep);
  color: #9a3f22; font-size: 14px; line-height: 1.4; text-align: center;
}
.s-err.shake { animation: s-shake .35s; }
@keyframes s-shake { 20%, 60% { transform: translateX(-5px); } 40%, 80% { transform: translateX(5px); } }
.s-hint { margin: 10px 2px 0; font-size: 13px; color: var(--ink-soft); text-align: center; line-height: 1.4; }
.s-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 14px; }
.s-row .big-btn.plain { margin-top: 0; height: 54px; }
.big-btn .coin.sm { vertical-align: 0; }

/* ---------- login / register ---------- */
.s-auth {
  display: flex; align-items: center; justify-content: center;
  padding: 16px;
  overflow-y: auto;
  background:
    linear-gradient(rgba(243, 230, 200, .72), rgba(243, 230, 200, .9)),
    url("../assets/plaza-bg.jpg") center / cover;
}
.auth-card { display: flex; flex-direction: column; align-items: stretch; margin: auto; padding-top: 30px; }
.auth-card > .s-logo { align-self: center; }
.auth-sub { margin: 14px 0 14px; text-align: center; font-size: 14px; color: var(--ink-soft); }
.auth-card form .big-btn { margin-top: 16px; }

/* ---------- cat picker ---------- */
.s-picker {
  display: flex; align-items: center; justify-content: center;
  padding: 12px;
  overflow-y: auto;
  background:
    linear-gradient(rgba(243, 230, 200, .8), rgba(243, 230, 200, .94)),
    url("../assets/room-bg.jpg") center / cover;
}
.picker-card { width: min(100%, 460px); margin: auto; padding: 16px 16px 18px; }
.pk-stage {
  position: relative;
  height: min(30dvh, 230px);
  border-radius: 20px;
  background: radial-gradient(ellipse at 50% 100%, #f1dfb8 0 38%, transparent 39%), radial-gradient(circle at 50% 40%, #fffaf0, var(--cream-2));
  border: 2px dashed var(--line-soft);
  display: flex; flex-direction: column; align-items: center; justify-content: flex-end;
  padding: 10px 0 8px;
}
.pk-portrait { flex: 1; min-height: 0; width: 100%; display: flex; justify-content: center; align-items: flex-end; }
.pk-portrait img { height: 100%; max-width: 80%; object-fit: contain; object-position: 50% 100%; animation: breathe 3.2s ease-in-out infinite; transform-origin: 50% 100%; }
.pk-soon { margin: auto; display: flex; flex-direction: column; align-items: center; gap: 8px; color: var(--ink-soft); font: 400 17px "KuaiLe", var(--font); }
.pk-soon .dot { width: 64px; height: 64px; border-radius: 50%; border: 3px solid #fff; box-shadow: 0 0 0 2px var(--line-soft); opacity: .6; }
.pk-caption { margin-top: 4px; padding: 3px 12px; border-radius: 999px; background: var(--cream); border: 1.5px solid var(--line-soft); font: 400 15px "KuaiLe", var(--font); }
.pk-label { margin: 12px 0 6px 4px; font-size: 13px; color: var(--ink-soft); }
.pk-breeds { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.pk-breeds button, .pk-coats button {
  min-height: 36px; padding: 4px 6px; border-radius: 12px;
  background: #fffaf0; border: 2px solid var(--line-soft);
  font: 400 14px "KuaiLe", var(--font); line-height: 1.15;
}
.pk-breeds button { padding: 4px 2px; font-size: 13.5px; white-space: nowrap; letter-spacing: -.01em; }
.pk-breeds button.soon { color: #a8916f; }
.pk-breeds button.on, .pk-coats button.on { background: var(--sage); border-color: var(--sage-deep); color: #2f4a17; }
.pk-coats { display: flex; flex-wrap: wrap; gap: 6px; }
.pk-coats button { display: inline-flex; align-items: center; gap: 6px; padding: 4px 12px 4px 6px; }
.pk-coats .dot { width: 22px; height: 22px; border-radius: 50%; border: 2px solid #fff; box-shadow: 0 0 0 1.5px var(--line-soft); flex: none; }
.pk-coats small { font: 500 11px var(--font); color: var(--ink-soft); padding: 1px 6px; border-radius: 999px; background: var(--cream-2); }
.pk-coats button[disabled] { opacity: .62; cursor: not-allowed; }
.pk-gender { margin-top: 10px; }
.picker-card .pk-ok { margin-top: 12px; }

/* ---------- HUD bits over the plaza / a visited room ---------- */
.s-hud {
  position: absolute; inset: 0 0 auto 0; z-index: 5;
  padding: calc(14px + env(safe-area-inset-top)) calc(12px + env(safe-area-inset-right)) 0 calc(12px + env(safe-area-inset-left));
  display: flex; justify-content: space-between; align-items: center; gap: 8px;
  pointer-events: none;
}
.s-hud > * { pointer-events: auto; }
.s-pill, .s-points {
  display: inline-flex; align-items: center; gap: 6px;
  height: 44px; padding: 0 18px 0 12px;
  background: var(--cream); border-radius: 999px;
  box-shadow: var(--shadow);
  outline: 2px dashed var(--line); outline-offset: -5px;
  font: 400 18px "KuaiLe", var(--font); letter-spacing: .06em;
}
.s-pill svg { width: 22px; height: 22px; fill: var(--sage-deep); }
.s-pill:active { transform: translateY(2px); }
.s-points { padding: 0 16px 0 6px; min-width: 104px; }
.s-points b { flex: 1; text-align: right; font: 700 20px "Fredoka", var(--font); letter-spacing: .03em; font-variant-numeric: tabular-nums; }

/* ---------- plaza ---------- */
.pz { background: #a9d3ec; container-type: size; }
.pz-scroll {
  position: absolute; inset: 0;
  overflow-x: auto; overflow-y: hidden;
  overscroll-behavior-x: contain; touch-action: pan-x;
  scrollbar-width: none;
}
.pz-scroll::-webkit-scrollbar { display: none; }
.pz-scene {
  position: absolute; left: 0; bottom: 0;
  width: max(100cqw, 133.34cqh);
  aspect-ratio: 4 / 3;
  isolation: isolate;
  container-type: inline-size;    /* cqw inside = % of the painting's width */
}
.pz-bg { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }

/* painted on the blank wooden sign */
.pz-sign {
  position: absolute; left: 34%; top: 20.5%; width: 31.5%; height: 19%;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  pointer-events: none;
  transform: rotate(-.6deg);
}
.pz-sign b {
  font: 400 4.25cqw/1.05 "KuaiLe", var(--font); letter-spacing: .07em;
  color: #4a2810; opacity: .9;
  text-shadow: 0 .14cqw 0 rgba(255, 226, 178, .55), 0 -.07cqw 0 rgba(36, 16, 4, .55);
}
.pz-sign i {
  margin-top: .5cqw;
  font: 600 2.15cqw/1 "Fredoka", var(--font); font-style: normal; letter-spacing: .1em;
  color: #5d3416; opacity: .85;
  text-shadow: 0 .11cqw 0 rgba(255, 226, 178, .5), 0 -.06cqw 0 rgba(36, 16, 4, .45);
}
/* live numbers on the blank cream screen */
.pz-screen {
  position: absolute; left: 72%; top: 24%; width: 20.8%; height: 17%;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .5cqw;
  pointer-events: none;
}
.pz-big { font: 400 1.8cqw/1 "KuaiLe", var(--font); color: #5b3b22; white-space: nowrap; }
.pz-big b { font: 700 4.1cqw/1 "Fredoka", var(--font); color: #e0802f; margin: 0 .2em; vertical-align: -.12em; font-variant-numeric: tabular-nums; }
.pz-small { padding: .3cqw 1cqw; border-radius: 999px; background: rgba(168, 196, 135, .35); font: 400 1.3cqw/1.1 "KuaiLe", var(--font); color: #48602c; white-space: nowrap; }
.pz-small b { font: 700 1.55cqw/1 "Fredoka", var(--font); margin: 0 .15em; }

/* cats on the paving: a tray (hue varies per player) with the cat in or beside it */
.pz-cats, .pz-labels { position: absolute; inset: 0; pointer-events: none; }
.pz-labels { z-index: 1000; }
.pz-cat {
  position: absolute; display: block; padding: 0;
  transform: translateX(-50%);
  pointer-events: auto; cursor: pointer;
  transition: left .6s ease, bottom .6s ease, width .6s ease;
}
.pz-cat::before {
  content: ""; position: absolute; left: -2%; right: -42%; bottom: 0;
  height: 0; padding-bottom: 22%;
  transform: translateY(40%);
  background: radial-gradient(closest-side, rgba(70, 44, 20, .3), rgba(70, 44, 20, 0));
  border-radius: 50%;
}
.pz-cat.squat::before { right: -2%; }
.pz-tray, .pz-rim { position: relative; display: block; width: 100%; height: auto; filter: hue-rotate(var(--hue, 0deg)) saturate(1.1); }
.pz-rim { position: absolute; left: 0; bottom: 0; }
.pz-pose { position: absolute; display: block; height: auto; transform-origin: 50% 100%; animation: breathe 3.2s ease-in-out infinite; }
.pz-cat.squat .pz-pose { animation: strain 1.1s ease-in-out infinite; }
.pz-cat:active .pz-pose { animation: cheer .4s ease-in-out; }
/* your own cat stands in a warm golden glow */
.pz-cat.me::before {
  padding-bottom: 30%;
  background: radial-gradient(closest-side, rgba(255, 214, 92, .85), rgba(255, 214, 92, .35) 60%, rgba(255, 214, 92, 0));
  animation: s-glow 2.4s ease-in-out infinite;
}
@keyframes s-glow { 50% { opacity: .6; } }

.pz-label {
  position: absolute;
  transform: translateX(-50%);
  max-width: 17cqw;
  padding: .18em .7em .22em;
  border-radius: .9em;
  background: rgba(253, 245, 225, .94);
  border: 1.5px solid var(--line);
  box-shadow: 0 1px 0 rgba(120, 84, 44, .2);
  font-size: clamp(12.5px, calc(1.15cqw * var(--s, 1)), 16px);
  line-height: 1.15;
  text-align: center;
  white-space: nowrap;
  transition: left .6s ease, top .6s ease;
}
.pz-label b { display: block; font: 400 1.1em "KuaiLe", var(--font); overflow: hidden; text-overflow: ellipsis; }
.pz-label small { display: block; font-size: .86em; color: var(--ink-soft); overflow: hidden; text-overflow: ellipsis; }
.pz-label .sq { color: var(--sage-deep); font-weight: 600; font-variant-numeric: tabular-nums; }
.pz-label.me { background: #ffeeb8; border-color: var(--gold-deep); }
/* a full plaza: names only (the card has the rest), except for your own cat */
.pz-labels.crowded .pz-label { font-size: clamp(11px, calc(1.05cqw * var(--s, 1)), 15px); padding: .1em .55em .14em; }
.pz-labels.crowded .pz-label:not(.me) small { display: none; }
.me-chip {
  display: inline-block; margin-right: .3em; padding: 0 .35em;
  border-radius: 999px; background: var(--gold-deep); color: #fff;
  font: 700 .78em/1.5 "Fredoka", var(--font); vertical-align: .12em;
}

/* ---------- modals (card, dialogs, account, gifts) ---------- */
.s-modal-wrap {
  position: fixed; inset: 0; z-index: 70;
  display: flex; align-items: center; justify-content: center;
  padding: 16px;
  background: rgba(70, 46, 24, .38);
  animation: fade .2s;
}
.s-modal-wrap.s-urgent { z-index: 80; }
.s-modal {
  position: relative;
  width: min(100%, 400px);
  max-height: calc(100dvh - 32px); overflow-y: auto;
  padding: 18px;
  border-color: var(--line); border-radius: 26px;
  box-shadow: var(--shadow);
  animation: sheet-in .28s cubic-bezier(.2, .9, .3, 1.1);
}
.s-modal h2 { margin: 0 44px 12px 2px; font: 400 22px "KuaiLe", var(--font); }
.s-modal h2[hidden] { display: none; }
.s-close { position: absolute; top: 12px; right: 12px; box-shadow: none; background: var(--cream-2); z-index: 1; }

#s-toast {
  position: fixed; left: 50%; top: calc(86px + env(safe-area-inset-top)); z-index: 90;
  transform: translate(-50%, -50%);
  max-width: calc(100vw - 32px);
  padding: 10px 18px;
  background: rgba(91, 59, 34, .92); color: #fff6e0;
  border-radius: 999px;
  font-size: 15px; text-align: center;
  animation: bubble-in .25s ease-out;
  pointer-events: none;
}

/* a cat's card on the plaza */
.cc-head { display: flex; align-items: center; gap: 14px; padding-right: 36px; }
.cc-pic {
  width: 96px; height: 96px; flex: none;
  border-radius: 22px; background: radial-gradient(circle at 50% 40%, #fffaf0, var(--cream-2));
  border: 2px dashed var(--line-soft);
  display: flex; align-items: flex-end; justify-content: center; overflow: hidden;
}
.cc-pic img { height: 88%; object-fit: contain; }
.cc-text { min-width: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 4px; }
.cc-text b { font: 400 23px "KuaiLe", var(--font); }
.cc-text small { font-size: 14px; color: var(--ink-soft); }
.g { font-style: normal; font: 700 .8em "Fredoka", sans-serif; margin-left: .3em; }
.g.boy { color: #5d93c6; } .g.girl { color: #e07b98; }
.cc-lv, .vz-sub { display: inline-flex; align-items: center; gap: 6px; font: 400 15px "KuaiLe", var(--font); }
.lv {
  font: 700 12px "Fredoka", var(--font);
  padding: 2px 8px; border-radius: 999px;
  background: var(--sage); color: #35501c;
}
.cc-state { font-size: 13px; font-weight: 600; color: var(--sage-deep); }
.cc-action { margin-top: 16px; }
.cc-wait {
  height: 54px; border-radius: 18px;
  display: flex; align-items: center; justify-content: center; gap: 10px;
  background: var(--cream-2); border: 2px dashed var(--line-soft);
  font: 400 17px "KuaiLe", var(--font); color: var(--ink-soft);
}
.cc-msg { margin: 0; padding: 10px 12px; border-radius: 14px; background: #fffaf0; border: 1.5px dashed var(--line-soft); text-align: center; font-size: 15px; }

/* someone asks to visit */
.vr-head { display: flex; align-items: center; gap: 14px; }
.vr-head .cc-pic { width: 76px; height: 76px; }
.vr-head p { margin: 0; font-size: 18px; line-height: 1.4; }
.vr-head p b { font: 400 21px "KuaiLe", var(--font); }

/* account sheet */
.acct-head { display: flex; align-items: center; gap: 12px; padding: 10px; border-radius: 18px; background: var(--cream-2); }
.acct-pic { width: 62px; height: 62px; flex: none; border-radius: 16px; background: #fffaf0; display: flex; align-items: flex-end; justify-content: center; overflow: hidden; }
.acct-pic img { height: 90%; }
.acct-text b { display: block; font: 400 21px "KuaiLe", var(--font); }
.acct-text small { font-size: 14px; color: var(--ink-soft); }
.s-switch {
  display: flex; align-items: center; gap: 12px; margin-top: 12px;
  padding: 12px 14px; border-radius: 16px; background: #fffaf0; border: 1.5px dashed var(--line-soft);
  cursor: pointer;
}
.s-switch > span { flex: 1; min-width: 0; }
.s-switch b { display: block; font: 400 17px "KuaiLe", var(--font); }
.s-switch small { display: block; margin-top: 2px; font-size: 12px; color: var(--ink-soft); line-height: 1.35; }
.s-switch input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.s-switch i {
  position: relative; flex: none; width: 52px; height: 30px; border-radius: 999px;
  background: #e2d4b8; box-shadow: inset 0 2px 0 rgba(120, 84, 44, .15);
  transition: background .2s;
}
.s-switch i::after {
  content: ""; position: absolute; top: 3px; left: 3px; width: 24px; height: 24px; border-radius: 50%;
  background: #fff; box-shadow: 0 1px 2px rgba(90, 60, 30, .35);
  transition: transform .2s cubic-bezier(.3, 1.4, .5, 1);
}
.s-switch input:checked + i { background: var(--sage-deep); }
.s-switch input:checked + i::after { transform: translateX(22px); }
.s-switch input:focus-visible + i { outline: 2px solid var(--sage-deep); outline-offset: 2px; }
.s-account .s-logout { margin-top: 14px; }

/* gifts */
.gift-have { margin-top: 0; }
.gift-have b { font: 700 16px "Fredoka", var(--font); }
.gift-opts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 12px; }
.gift-opt {
  display: flex; flex-direction: column; align-items: center; gap: 4px;
  padding: 12px 6px 10px; border-radius: 18px;
  background: #fffaf0; border: 2px solid var(--line-soft);
  box-shadow: inset 0 -3px 0 rgba(120, 84, 44, .1);
}
.gift-opt b { font: 700 24px "Fredoka", var(--font); }
.gift-opt small { font-size: 12px; color: var(--ink-soft); }
.gift-opt:not([disabled]):hover { border-color: var(--peach-deep); }
.gift-opt:active { transform: translateY(2px); }
.gift-opt[disabled] { opacity: .5; cursor: not-allowed; }

/* guest: the plaza needs the online version */
.guest-pic { border-radius: 18px; overflow: hidden; border: 2px solid var(--line-soft); aspect-ratio: 16 / 7; }
.guest-pic img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; display: block; filter: saturate(.85); }
.guest-text { margin: 12px 2px 0; font-size: 15px; line-height: 1.55; }
.guest-text b { font-family: "KuaiLe", var(--font); font-weight: 400; color: #b0581f; }

/* ---------- someone else's room (read-only) ---------- */
.vz { display: flex; flex-direction: column; }
.vz-stage { position: relative; flex: 1 1 auto; min-height: 0; overflow: hidden; background: var(--sky); container-type: size; }
.vz-room {
  position: absolute; inset: 0;
  overflow-x: auto; overflow-y: hidden;
  overscroll-behavior-x: contain; touch-action: pan-x;
  scrollbar-width: none;
}
.vz-room::-webkit-scrollbar { display: none; }
.vz-scene { position: absolute; left: 0; bottom: 0; width: max(100cqw, 133.34cqh); aspect-ratio: 4 / 3; isolation: isolate; }
.vz-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.vz-wall {
  position: absolute; inset: 0; z-index: 1;
  mix-blend-mode: color;
  -webkit-mask: url("../assets/wall-mask.png") center / 100% 100% no-repeat;
  mask: url("../assets/wall-mask.png") center / 100% 100% no-repeat;
  pointer-events: none;
}
.vz-cat > img { animation: breathe 3.2s ease-in-out infinite; }
.vz-panel {
  flex: none;
  display: flex; flex-direction: column; gap: 8px;
  padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
  background: radial-gradient(circle at 12% 0, rgba(255, 255, 255, .5), transparent 40%), var(--paper);
  border-top: 3px solid var(--line);
}
.vz-info { display: flex; align-items: center; gap: 10px; padding: 8px 14px 8px 8px; }
.vz-thumb { width: 58px; height: 58px; flex: none; border-radius: 14px; background: var(--cream-2); display: flex; align-items: flex-end; justify-content: center; overflow: hidden; }
.vz-thumb img { height: 90%; }
.vz-text { min-width: 0; }
.vz-title { display: block; font: 400 19px "KuaiLe", var(--font); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.vz-sub { margin-top: 4px; font-size: 15px; color: var(--ink-soft); }
.vz-actions { display: grid; grid-template-columns: 1.4fr 1fr; gap: 8px; }
.vz-actions .big-btn.plain { margin-top: 0; height: 54px; }

@media (min-aspect-ratio: 1/1) and (min-width: 720px) {
  .vz { flex-direction: row; }
  .vz-panel {
    width: 340px; justify-content: center; gap: 12px; padding: 16px;
    border-top: 0; border-left: 3px solid var(--line);
  }
  .vz-actions { grid-template-columns: 1fr; }
  .s-logo strong { font-size: 34px; }
  .picker-card { width: min(100%, 860px); padding: 22px; }
  .pk-main { display: grid; grid-template-columns: 1fr 1.15fr; gap: 22px; align-items: stretch; }
  .pk-stage { height: auto; min-height: 380px; }
  .pk-controls .pk-label:first-child { margin-top: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .pz-pose, .pz-cat.me::before, .pk-portrait img, .vz-cat > img { animation: none !important; }
}
