@font-face { font-family: Galmuri11; src: url(./fonts/Galmuri11-Bold.woff2) format('woff2'); font-weight: 700; font-display: swap; }
:root { --lemon: #f6ff7b; --ink: #151515; --cream: #fffdf2; --glass: rgba(255, 253, 242, .88); --safe-t: env(safe-area-inset-top, 0px); --safe-b: env(safe-area-inset-bottom, 0px); }
* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { margin: 0; height: 100%; overflow: hidden; background: #16233a; color: var(--ink); font-family: "Apple SD Gothic Neo", "Noto Sans KR", -apple-system, BlinkMacSystemFont, "Malgun Gothic", sans-serif; font-weight: 700; }
* { touch-action: manipulation; }   /* no double-tap zoom anywhere on the page; the canvas keeps its own touch-action */
button { font: inherit; color: inherit; cursor: pointer; }
.park { position: fixed; top: 0; bottom: 0; left: 50%; width: min(100vw, 440px); transform: translateX(-50%); overflow: hidden; background: #8fd0f5; }
@media (min-width: 520px) { .park { box-shadow: 0 0 0 1px rgba(255,255,255,.08), 0 20px 80px rgba(0,0,0,.45); } body::before { content: ""; position: fixed; inset: 0; background: radial-gradient(ellipse at 50% 30%, #2a4a74 0%, #16233a 70%); } }
#scene { position: absolute; inset: 0; width: 100%; height: 100%; display: block; touch-action: none; outline: none; }
#labels { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }

/* name tags + bubbles */
.tag { position: absolute; left: 0; top: 0; display: flex; align-items: center; gap: 5px; padding: 4px 9px 4px 5px; border: 2px solid var(--ink); border-radius: 12px; background: var(--cream); font-size: 11px; white-space: nowrap; box-shadow: 0 2px 0 var(--ink); will-change: transform; }
.tag b { display: grid; place-items: center; width: 17px; height: 17px; border-radius: 6px; background: var(--ink); color: var(--lemon); font-size: 10px; }
.tag:not(:has(b)) { padding-left: 9px; }
.tag.me { background: var(--lemon); }
.tag.resident { background: #f1f0e6; border-color: #6d6a5e; color: #4a483f; box-shadow: none; font-size: 10px; }
.bubble { position: absolute; left: 0; top: 0; padding: 6px 10px; border: 2px solid var(--ink); border-radius: 12px; background: #fff; font-size: 12px; white-space: nowrap; box-shadow: 0 2px 0 var(--ink); }
.bubble.pet { background: var(--lemon); }
.heart { position: absolute; left: 0; top: 0; color: #ff5d8f; font-size: 18px; text-shadow: 0 1px 0 #7a1033; margin-left: var(--dx); }

/* HUD, same skeleton as 산사 */
.hud-top { position: absolute; top: calc(10px + var(--safe-t)); left: 10px; right: 10px; display: flex; justify-content: space-between; align-items: flex-start; pointer-events: none; transition: opacity .6s; }
.pill { display: flex; align-items: center; gap: 2px; padding: 4px; border: 2px solid var(--ink); border-radius: 22px; background: var(--glass); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); box-shadow: 0 3px 0 var(--ink); pointer-events: auto; }
.pill button { border: 0; background: transparent; height: 36px; border-radius: 16px; display: flex; align-items: center; gap: 4px; }
.pill button:hover { background: rgba(0, 0, 0, .06); }
.pill .ico { width: 36px; justify-content: center; }
.room { padding: 0 8px; font-size: 15px; white-space: nowrap; }
.room span { font-size: 12px; opacity: .65; }
.room .chev { width: 14px; height: 14px; opacity: .6; }
.count { padding: 0 10px 0 8px; font-size: 12px; font-variant-numeric: tabular-nums; }
#netDot { width: 7px; height: 7px; border-radius: 50%; background: #c9c3a9; }
#netDot.live { background: #2fbf55; box-shadow: 0 0 0 3px rgba(47, 191, 85, .2); }
#netDot.off { background: #e0553d; }
#soundBtn .off, #soundBtn.is-muted .on { display: none; }
#soundBtn.is-muted .off { display: block; }
.side { position: absolute; top: calc(66px + var(--safe-t)); right: 10px; display: flex; flex-direction: column; align-items: flex-end; gap: 8px; transition: opacity .6s; }
.side-pill { display: inline-block; text-decoration: none; color: var(--ink); padding: 9px 14px; border: 2px solid var(--ink); border-radius: 18px; background: var(--glass); box-shadow: 0 3px 0 var(--ink); font-size: 12px; transition: opacity .6s; }
.side-pill[aria-pressed="true"], .side-pill.app { background: var(--lemon); }
.applink { display: block; margin: -6px 0 18px; text-decoration: none; color: var(--ink); text-align: center; }
.hint { position: absolute; top: calc(142px + var(--safe-t)); left: 10px; margin: 0; display: flex; gap: 0; padding: 6px 12px; border-radius: 12px; background: rgba(21, 21, 21, .55); color: #fff; font-size: 11px; white-space: nowrap; pointer-events: none; transition: opacity 1s; }
.hint span + span::before { content: ""; display: inline-block; width: 1px; height: 9px; margin: 0 8px; background: rgba(255, 255, 255, .6); vertical-align: -1px; }
body.hint-off .hint { opacity: 0; }

.dock { position: absolute; left: 50%; bottom: calc(14px + var(--safe-b)); transform: translateX(-50%); display: flex; gap: 4px; padding: 6px; border: 2px solid var(--ink); border-radius: 26px; background: var(--glass); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); box-shadow: 0 4px 0 var(--ink); transition: opacity .6s; }
.dock button { width: 68px; height: 58px; border: 0; border-radius: 20px; background: transparent; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; font-size: 12px; }
.dock button:hover { background: rgba(0, 0, 0, .06); }
.dock button[aria-pressed="true"], .dock button.active { background: var(--lemon); outline: 2px solid var(--ink); }
.dock button:disabled { opacity: .45; }
.toast { position: absolute; left: 50%; bottom: calc(96px + var(--safe-b)); transform: translate(-50%, 8px); max-width: calc(100% - 32px); padding: 9px 14px; border: 2px solid var(--ink); border-radius: 14px; background: var(--cream); font-size: 12px; text-align: center; opacity: 0; pointer-events: none; transition: .3s; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.proto-note { position: absolute; right: 10px; bottom: calc(14px + var(--safe-b)); font-size: 10px; color: rgba(21, 21, 21, .55); pointer-events: none; }
body.idle .hud-top, body.idle .dock, body.idle .side { opacity: .25; }

/* boot */
.boot { position: fixed; inset: 0; z-index: 50; background: #8fd0f5 !important; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; background: var(--lemon); transition: opacity .6s; }
.boot img { image-rendering: pixelated; border: 3px solid var(--ink); border-radius: 18px; }
.boot h1 { margin: 6px 0 0; font-size: 28px; letter-spacing: 2px; }
.boot p { margin: 0; font-size: 12px; opacity: .7; }
.boot .dot { width: 8px; height: 8px; margin-top: 12px; background: var(--ink); animation: blink 1s steps(2) infinite; }
.boot.gone { opacity: 0; pointer-events: none; }
@keyframes blink { 50% { opacity: 0; } }

/* dialogs */
.dlg { width: min(420px, calc(100vw - 24px)); max-height: min(78vh, 640px); padding: 0; border: 2px solid var(--ink); border-radius: 22px; background: var(--cream); color: var(--ink); box-shadow: 0 5px 0 var(--ink); }
.dlg::backdrop { background: rgba(21, 21, 21, .35); }
/* on a phone the dialogs (settings, birthdate, location, maps...) come up from the bottom like the sheets */
@media (max-width: 520px) {
  .dlg { width: 100%; max-width: 100%; max-height: 86dvh; margin: auto 0 0; border-bottom: 0; border-radius: 24px 24px 0 0; box-shadow: none; padding-bottom: env(safe-area-inset-bottom, 0px); overscroll-behavior: contain; }
  .dlg[open] { animation: dlgUp .22s ease-out; }
  .dlg header { padding-top: 20px; }
  .dlg::before { content: ""; position: absolute; top: 8px; left: 50%; width: 40px; height: 5px; margin-left: -20px; border-radius: 3px; background: #d7d2bd; z-index: 2; }
  .dlg input { font-size: 16px; }
}
@keyframes dlgUp { from { transform: translateY(100%); } to { transform: none; } }
.dlg form.unlock { display: flex; flex-direction: column; gap: 10px; padding: 0 0 18px; }
.dlg form.unlock .muted { margin-bottom: 0; }
.dlg form.unlock textarea { margin: 0 18px; padding: 11px 12px; border: 2px solid var(--ink); border-radius: 12px; background: #fff; font: inherit; font-size: 16px; line-height: 1.5; resize: vertical; }
.tcard .mail-btn { display: block; width: 100%; margin-top: 14px; padding: 12px; border: 2px solid var(--ink); border-radius: 14px; background: var(--lemon); font: inherit; font-size: 14px; font-weight: 800; color: var(--ink); box-shadow: 0 3px 0 var(--ink); }
/* meeting a member: talk pet to pet, give a treat, like (each reaches them in the app) */
.tcard .acts-row { display: flex; gap: 8px; margin-top: 14px; }
.tcard .acts-row button { flex: 1; padding: 10px 4px; border: 2px solid var(--ink); border-radius: 14px; background: #fff; font: inherit; font-size: 13px; font-weight: 800; color: var(--ink); box-shadow: 0 3px 0 var(--ink); }
.tcard .acts-row button.sent { background: #b9f3c8; }
.tcard .acts-row button:disabled { opacity: .6; }
.tcard .acts-note { margin: 6px 2px 10px; font-size: 11px; color: #777; }
.tcard .tr-btn { align-self: flex-start; margin: 0 0 8px; padding: 6px 12px; border: 2px solid var(--ink); border-radius: 999px; background: #fff; font: inherit; font-size: 12px; font-weight: 800; color: var(--ink); }
.tcard .tr-btn:disabled { opacity: .6; }
.dlg form.unlock input { margin: 0 18px; padding: 11px 12px; border: 2px solid var(--ink); border-radius: 12px; background: #fff; font: inherit; font-size: 16px; }
.dlg form.unlock .solid, .dlg > .solid { display: block; margin: 0 18px 10px; width: calc(100% - 36px); }
.dlg header { position: sticky; top: 0; display: flex; justify-content: space-between; align-items: center; padding: 16px 18px 8px; background: var(--cream); }
.dlg h2 { margin: 0; font-size: 17px; }
.dlg h3 { margin: 0 0 8px; font-size: 12px; opacity: .6; }
.dlg section { padding: 8px 18px; }
.dlg .x { width: 34px; height: 34px; border: 2px solid var(--ink); border-radius: 12px; background: #fff; font-size: 18px; line-height: 1; }
.muted { margin: 0 18px 10px; font-size: 12px; opacity: .65; }
.small { font-size: 11px; margin-top: 6px; margin-bottom: 16px; }
.row { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.ghost { padding: 7px 12px; border: 2px solid var(--ink); border-radius: 12px; background: #fff; font-size: 12px; }
.solid { display: block; margin: 12px 18px 18px; width: calc(100% - 36px); padding: 12px; border: 2px solid var(--ink); border-radius: 14px; background: var(--lemon); box-shadow: 0 3px 0 var(--ink); font-size: 14px; }
.room-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(88px, 1fr));   /* few rooms: they spread across the sheet */ gap: 6px; padding: 0 18px 18px; }
.room-list button { padding: 9px 6px; border: 2px solid #d7d2bd; border-radius: 12px; background: #fff; display: flex; flex-direction: column; align-items: center; gap: 2px; font-size: 12px; }
.room-list button small { font-size: 10px; opacity: .6; }
.room-list button.has { border-color: var(--ink); }
.room-list button.cur { background: var(--lemon); border-color: var(--ink); }
.room-list button small.fee { opacity: 1; font-weight: 800; color: #b07a00; }
.room-list button.new-room { border: 2px dashed var(--ink); background: #c9f3da; font-weight: 800; }
.room-list button.new-room small { opacity: .8; }
.people { list-style: none; margin: 0; padding: 0 18px; display: grid; gap: 4px; }
.people li > * { width: 100%; display: flex; align-items: center; gap: 8px; padding: 9px 10px; border: 0; border-radius: 12px; background: #fff; font-size: 13px; text-align: left; }
.people i { width: 12px; height: 12px; border: 2px solid var(--ink); border-radius: 4px; }
.people em { margin-left: auto; font-style: normal; font-size: 10px; padding: 2px 6px; border-radius: 6px; background: var(--ink); color: var(--lemon); }
.people small { margin-left: auto; font-size: 10px; opacity: .55; }
.pet-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.pet-grid button { padding: 6px 2px 8px; border: 2px solid #d7d2bd; border-radius: 12px; background: #fff; display: flex; flex-direction: column; align-items: center; gap: 4px; font-size: 10px; }
.pet-grid button[aria-pressed="true"] { border-color: var(--ink); background: var(--lemon); }
.pet-grid canvas { width: 48px; height: 40px; image-rendering: pixelated; }
.swatches { display: flex; flex-wrap: wrap; gap: 8px; }
.swatches button { width: 32px; height: 32px; border: 2px solid var(--ink); border-radius: 10px; }
.swatches button[aria-pressed="true"] { outline: 3px solid var(--ink); outline-offset: 2px; }
.exit { position: fixed; inset: 0; z-index: 60; display: grid; place-items: center; background: var(--lemon); }
.exit[hidden] { display: none; }
.exit .card { width: min(360px, calc(100vw - 32px)); padding: 26px 22px 6px; border: 2px solid var(--ink); border-radius: 22px; background: var(--cream); box-shadow: 0 5px 0 var(--ink); text-align: center; }
.exit img { image-rendering: pixelated; border: 2px solid var(--ink); border-radius: 14px; }
.exit h1 { font-size: 20px; margin: 12px 0 8px; }
.exit p { font-size: 12px; line-height: 1.8; opacity: .75; margin: 0; }
.exit .solid { margin: 18px 0 18px; width: 100%; }

@media (max-width: 520px) {
  .dock button { width: 66px; height: 54px; font-size: 11px; }
  .pill .ico { width: 32px; }
  .room { font-size: 13px; padding: 0 5px; }
  .count { padding: 0 7px 0 5px; }
  .hint { font-size: 10px; }
  .proto-note { display: none; }
}
@media (max-width: 360px) {
  .dock button { width: 60px; }
  .pill { gap: 0; padding: 3px; }
  .pill .ico { width: 30px; }
  .room .chev { display: none; }
  .room { padding: 0 4px; }
  .count { padding: 0 6px 0 4px; }
  .side { top: calc(64px + var(--safe-t)); }
}
@media (prefers-reduced-motion: reduce) { .boot .dot { animation: none; } }

/* time of day icon */
.mood svg { display: none; }
.mood[data-m="day"] .i-day, .mood[data-m="golden"] .i-golden, .mood[data-m="night"] .i-night { display: block; }
.mung-btn { background: #dff1ff !important; }
/* 물멍 */
.mung-layer { position: absolute; inset: 0; z-index: 20; display: none; flex-direction: column; justify-content: space-between; align-items: center; padding: calc(70px + var(--safe-t)) 20px calc(26px + var(--safe-b)); cursor: pointer; }
body.mung .mung-layer { display: flex; }
body.mung .hud-top, body.mung .side, body.mung .dock, body.mung .hint, body.mung .toast { opacity: 0 !important; pointer-events: none; }
.hud-top, .side, .dock { transition: opacity 1.2s; }
.mung-line { margin: 0; color: #fff; font-size: 17px; letter-spacing: .5px; text-shadow: 0 1px 0 rgba(0,0,0,.35), 0 0 18px rgba(0,30,60,.45); opacity: 0; transform: translateY(6px); transition: opacity 1.6s, transform 1.6s; text-align: center; }
.mung-line.show { opacity: 1; transform: none; }
.mung-foot { margin: 0; display: flex; gap: 12px; color: rgba(255,255,255,.85); font-size: 11px; text-shadow: 0 1px 0 rgba(0,0,0,.4); }
.mung-foot span + span { opacity: .7; }
@media (max-width: 520px) { .dock button { width: 60px; } }
@media (max-width: 360px) { .dock button { width: 54px; } }

/* date, time, weather under the room pill */
.clock { position: absolute; top: calc(112px + var(--safe-t)); left: 12px; margin: 0; display: flex; gap: 8px; align-items: center; padding: 4px 10px; border-radius: 10px; background: rgba(21,21,21,.42); color: #fff; font-size: 10.5px; white-space: nowrap; pointer-events: none; transition: opacity .6s; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.clock span + span { opacity: .9; }
.clock span + span:empty { display: none; }
.clock.preview::after { content: var(--pv, "미리보기"); font-size: 9px; padding: 1px 5px; border-radius: 6px; background: rgba(246,255,123,.9); color: #151515; }
body.idle .clock { opacity: .35; }
body.mung .clock { opacity: 0 !important; }
.wx-grid { display: flex; flex-wrap: wrap; gap: 6px; }
.wx-grid button { padding: 7px 11px; border: 2px solid #d7d2bd; border-radius: 12px; background: #fff; font-size: 12px; }
.wx-grid button[aria-pressed="true"] { border-color: var(--ink); background: var(--lemon); }

/* sample members + tinder-like card */
.side-pill.members { background: #ffd6e4; }
.side-pill.members.on { background: #ff8fb1; color: #fff; }
.card-layer { position: absolute; inset: 0; z-index: 30; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: calc(12px + var(--safe-t)) 14px calc(12px + var(--safe-b)); background: rgba(18,24,40,.55); backdrop-filter: blur(5px); -webkit-backdrop-filter: blur(5px); }
.card-layer[hidden] { display: none; }
body.cards .hud-top, body.cards .side, body.cards .dock, body.cards .clock, body.cards .hint { opacity: 0; pointer-events: none; }
.card-top { width: min(100%, 372px); display: flex; justify-content: space-between; align-items: center; color: #fff; font-size: 12px; margin-bottom: 8px; }
.card-top .x { width: 34px; height: 34px; border: 2px solid var(--ink); border-radius: 12px; background: #fff; font-size: 18px; color: var(--ink); }
.stack { position: relative; width: min(100%, 372px); height: min(calc(100% - 150px), 600px); flex: none; }
.tcard { position: absolute; inset: 0; display: flex; flex-direction: column; border: 2px solid var(--ink); border-radius: 22px; overflow: hidden; background: var(--cream); box-shadow: 0 5px 0 var(--ink); touch-action: none; user-select: none; cursor: grab; }
.tcard:not(:last-child) { transform: scale(.95) translateY(10px); filter: brightness(.96); }
.tcard .photo { position: relative; flex: 0 0 46%; background: var(--bg); display: grid; place-items: center; overflow: hidden; }
.tcard .photo img { height: 70%; image-rendering: pixelated; filter: drop-shadow(0 6px 0 rgba(0,0,0,.08)); pointer-events: none; }
.tcard .seen { position: absolute; top: 12px; left: 12px; padding: 4px 9px; border-radius: 10px; background: rgba(255,255,255,.85); font-size: 10.5px; }
.tcard .who { position: absolute; left: 0; right: 0; bottom: 0; padding: 30px 16px 12px; background: linear-gradient(transparent, rgba(0,0,0,.45)); color: #fff; }
.tcard .who h2 { margin: 0; font-size: 24px; text-shadow: 0 1px 0 rgba(0,0,0,.3); }
.tcard .who h2 span { font-size: 18px; opacity: .9; }
.tcard .who p { margin: 4px 0 0; display: flex; gap: 4px; align-items: center; font-size: 12px; }
.tcard .who svg { width: 14px; height: 14px; }
.tcard .body { flex: 1; overflow-y: auto; padding: 12px 16px 16px; display: flex; flex-direction: column; gap: 10px; font-size: 12.5px; line-height: 1.6; }
.tcard .goal { display: flex; flex-wrap: wrap; gap: 6px; }
.tcard .goal span { padding: 4px 10px; border-radius: 10px; background: var(--lemon); border: 2px solid var(--ink); font-size: 11.5px; }
.tcard .goal .mbti { background: #fff; }
.tcard .intro { margin: 0; }
.tcard .chips { display: flex; flex-wrap: wrap; gap: 5px; }
.tcard .chips span { padding: 3px 9px; border-radius: 9px; background: #fff; border: 1.5px solid #d7d2bd; font-size: 11px; }
.tcard .petline { margin: 0; }
.tcard .petline small { display: block; opacity: .6; font-size: 11px; }
.tcard .appeal { margin: 0; }
.tcard em { display: block; font-style: normal; font-size: 10.5px; opacity: .55; margin-bottom: 2px; }
.tcard blockquote { margin: 0; padding: 10px 12px; border-radius: 14px; background: #fff; border: 1.5px solid #e6e0c8; font-size: 12px; }
.stamp { position: absolute; top: 26px; padding: 4px 12px; border: 4px solid; border-radius: 10px; font-style: normal; font-size: 28px; letter-spacing: 2px; opacity: 0; transition: opacity .15s; pointer-events: none; background: rgba(255,255,255,.75); }
.stamp.like { left: 18px; color: #2fbf55; transform: rotate(-14deg); }
.stamp.nope { right: 18px; color: #ff5d6c; transform: rotate(14deg); }
.tcard.show-like .stamp.like, .tcard.show-nope .stamp.nope { opacity: 1; }
.card-actions { display: flex; gap: 26px; margin-top: 14px; }
.card-actions button { width: 62px; height: 62px; border-radius: 50%; border: 2px solid var(--ink); background: #fff; box-shadow: 0 4px 0 var(--ink); display: grid; place-items: center; }
.card-actions svg { width: 28px; height: 28px; stroke-width: 2.4; }
.card-actions .nope { color: #ff5d6c; }
.card-actions .like { color: #fff; background: #ff6f96; }
.card-actions .like svg { fill: #fff; }
.card-note { margin: 10px 0 0; color: rgba(255,255,255,.75); font-size: 10px; text-align: center; }
.card-note { max-width: 372px; }

/* pet-voice card */
.tcard .photo .avimg { position: absolute; right: 14px; bottom: 54px; height: 44%; image-rendering: pixelated; filter: drop-shadow(0 4px 0 rgba(0,0,0,.12)); pointer-events: none; }
.tcard .photo:has(.avimg) .petimg { height: 52%; transform: translateX(-22%); }
.tcard .who .dotsep { display: inline-block; width: 3px; height: 3px; margin: 0 6px; border-radius: 50%; background: rgba(255,255,255,.8); vertical-align: middle; }
.tcard .say { display: flex; gap: 8px; align-items: flex-start; }
.tcard .say img { width: 34px; height: 34px; object-fit: contain; image-rendering: pixelated; flex: none; border-radius: 10px; background: #fff; border: 1.5px solid #e6e0c8; padding: 2px; }
.tcard .say p { margin: 0; padding: 9px 12px; border-radius: 4px 14px 14px 14px; background: #fff; border: 2px solid var(--ink); font-size: 12.5px; }
.tcard .say p b { display: block; margin-bottom: 3px; }
.tcard .say.small p { background: var(--lemon); font-size: 12px; }
.tcard .sec p { margin: 0; }

/* dating BM: meters, likes-you, 5 action buttons, bottom sheets */
.card-top { gap: 8px; }
/* one line even with 코인 충전 in the bar */
.card-top > * { white-space: nowrap; flex: none; }
.card-top #deckCount { margin-right: auto; }
.card-top .ll { padding: 4px 9px; border-radius: 10px; background: rgba(255,255,255,.16); font-size: 11px; }
.card-top .ll.empty { background: #ff5d6c; }
.card-top .tier { padding: 6px 11px; border: 2px solid var(--ink); border-radius: 12px; background: linear-gradient(135deg,#ffe27a,#e3a92b); font-size: 11.5px; box-shadow: 0 2px 0 var(--ink); }
.card-top .coin-mini { padding: 6px 11px; border: 2px solid var(--ink); border-radius: 12px; background: #ffd23f; color: var(--ink); font: inherit; font-size: 11.5px; font-weight: 800; box-shadow: 0 2px 0 var(--ink); cursor: pointer; }
.card-layer.end .coin-mini, .card-layer.end .coin-bal, .card-top .coin-mini[hidden] { display: none; }
.card-top .coin-bal { padding: 4px 9px; border-radius: 10px; background: rgba(255,255,255,.16); color: #ffd23f; font-size: 11px; font-weight: 800; }
.card-top .coin-bal[hidden], .card-top .tier[hidden], .likes-you[hidden] { display: none !important; }
.sheet.go .go-coin { display: block; margin: 8px auto 0; padding: 7px 14px; border: 2px solid var(--ink); border-radius: 12px; background: #ffd23f; font: inherit; font-size: 13px; font-weight: 800; cursor: pointer; }
.card-top .tier[data-tier="plus"] { background: #ff8fb1; color: #fff; }
.card-top .tier[data-tier="platinum"] { background: linear-gradient(135deg,#d9dce3,#8a8f9c); color: #fff; }
.likes-you { width: min(100%, 372px); display: flex; align-items: center; gap: 10px; margin-bottom: 8px; padding: 7px 10px; border: 2px solid var(--ink); border-radius: 14px; background: linear-gradient(135deg,#fff3c4,#ffd76a); font-size: 12px; text-align: left; }
.likes-you .ly-pets { display: flex; }
.likes-you .ly-pets img { width: 30px; height: 30px; object-fit: contain; image-rendering: pixelated; border-radius: 9px; background: #fff; border: 1.5px solid var(--ink); filter: blur(3px); margin-right: -8px; }
.likes-you.open .ly-pets img { filter: none; }
.likes-you .ly-t { margin-left: 10px; flex: 1; }
.likes-you small { font-size: 10.5px; padding: 3px 8px; border-radius: 9px; background: var(--ink); color: #ffe27a; }
.likes-you.open small { display: none; }
.stack { height: min(calc(100% - 230px), 560px) !important; }
.card-actions { gap: 12px !important; align-items: center; }
.card-actions .sm { width: 46px !important; height: 46px !important; position: relative; }
.card-actions .sm svg { width: 22px !important; height: 22px !important; }
.card-actions .rewind { color: #e3a92b; }
.card-actions .rewind.locked::after { content: ""; position: absolute; right: -2px; top: -2px; width: 14px; height: 14px; border-radius: 50%; background: var(--ink) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffe27a' stroke-width='3'%3E%3Crect x='6' y='11' width='12' height='9' rx='2'/%3E%3Cpath d='M9 11V8a3 3 0 0 1 6 0v3'/%3E%3C/svg%3E") center/9px no-repeat; }
.card-actions .super { color: #3fa7ff; }
.card-actions .boost { color: #9b5cff; }
.card-actions .sm i { position: absolute; right: -4px; bottom: -4px; min-width: 16px; height: 16px; padding: 0 4px; border-radius: 8px; background: var(--ink); color: #fff; font-style: normal; font-size: 10px; line-height: 16px; }
.card-actions .sm i:empty { display: none; }
.stamp.super { left: 50%; top: auto; bottom: 120px; transform: translateX(-50%) rotate(-6deg); color: #3fa7ff; }
.tcard.show-super .stamp.super { opacity: 1; }
.sheet { position: absolute; inset: 0; z-index: 5; background: rgba(10,14,24,.45); display: flex; align-items: flex-end; }
.sheet[hidden] { display: none; }
.sheet-body { position: relative; width: 100%; max-height: 88%; overflow-y: auto; padding: 22px 18px calc(18px + var(--safe-b)); border: 2px solid var(--ink); border-bottom: 0; border-radius: 24px 24px 0 0; background: var(--cream); transform: translateY(100%); transition: transform .22s ease-out; }
.sheet.up .sheet-body { transform: none; }
.sheet .sx { position: absolute; right: 12px; top: 10px; width: 30px; height: 30px; border: 2px solid var(--ink); border-radius: 11px; background: #fff; font-size: 15px; }
/* every bottom sheet, phone first: a grab bar to pull it down, no taller than the screen allows, its own scroll */
.sheet .sheet-body { max-height: 86dvh; padding-top: 22px; overscroll-behavior: contain; }
.sheet .sheet-body::before { content: ""; position: absolute; top: 8px; left: 50%; width: 40px; height: 5px; margin-left: -20px; border-radius: 3px; background: #d7d2bd; }
.sheet .sheet-body.drag { transition: none; }
.sheet input, .sheet textarea, .sheet select { font-size: 16px; }
.pw-reason { margin: 0 40px 4px 0; font-size: 16px; }
.pw-wait { margin: 0 0 10px; font-size: 11.5px; opacity: .65; line-height: 1.6; }
.tiers { display: flex; gap: 6px; margin: 10px 0; }
.tiers button { flex: 1; padding: 9px 4px; border: 2px solid #d7d2bd; border-radius: 12px; background: #fff; font-size: 12.5px; }
.tiers button.on { border-color: var(--ink); background: var(--c); color: #fff; box-shadow: 0 2px 0 var(--ink); }
.plan-card { padding: 12px 14px; border: 2px solid var(--ink); border-radius: 16px; background: #fff; border-top: 8px solid var(--c); }
.plan-card h3 { margin: 0 0 6px; font-size: 14px; }
.plan-card ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 4px; font-size: 12px; }
.plan-card li { display: flex; gap: 6px; align-items: center; }
.plan-card svg, .done svg { width: 15px; height: 15px; stroke: #2fbf55; stroke-width: 3; }
.periods { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin: 12px 0; }
.periods.boost-q { grid-template-columns: repeat(2, 1fr); }
.periods button { position: relative; padding: 14px 4px 8px; border: 2px solid #d7d2bd; border-radius: 14px; background: #fff; display: flex; flex-direction: column; align-items: center; gap: 2px; font-size: 11px; }
.periods button.on { border-color: var(--ink); background: #fffbe0; box-shadow: 0 2px 0 var(--ink); }
.periods b { font-size: 14px; }
.periods i { position: absolute; top: -9px; padding: 1px 6px; border-radius: 7px; background: #ff5d6c; color: #fff; font-style: normal; font-size: 9.5px; }
.periods i.ghost { visibility: hidden; }
.periods small { opacity: .55; font-size: 10px; }
.cta { display: block; width: 100%; padding: 13px; border: 2px solid var(--ink); border-radius: 14px; background: var(--c, #ff6f96); color: #fff; font-size: 14px; box-shadow: 0 3px 0 var(--ink); }
.cta:disabled { opacity: .6; }
.fine { margin: 8px 0 0; font-size: 10px; opacity: .55; text-align: center; }
.link { display: block; margin: 10px auto 0; border: 0; background: none; font-size: 11px; text-decoration: underline; opacity: .7; }
.order { display: flex; justify-content: space-between; margin: 10px 0; padding: 12px; border: 2px solid var(--ink); border-radius: 14px; background: #fff; font-size: 13px; }
.methods { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.methods button { padding: 11px 6px; border: 2px solid #d7d2bd; border-radius: 12px; background: #fff; font-size: 12px; }
.methods button.on { border-color: var(--ink); background: var(--lemon); }
.agree { display: flex; gap: 6px; align-items: center; margin: 12px 0; font-size: 11.5px; }
.done { text-align: center; padding: 10px 0 4px; }
.done .ok { width: 56px; height: 56px; margin: 0 auto 8px; border-radius: 50%; border: 2px solid var(--ink); background: #e6ffe9; display: grid; place-items: center; }
.done .ok svg { width: 28px; height: 28px; }
.done h3 { margin: 0 0 4px; }
.done p { margin: 0 0 14px; font-size: 12px; opacity: .7; }

/* v6 */
.sniff-cta { position: absolute; left: 50%; bottom: calc(150px + var(--safe-b)); transform: translateX(-50%); z-index: 6; display: flex; gap: 8px; align-items: center; padding: 9px 12px; border: 2px solid var(--ink); border-radius: 16px; background: #ffd6e4; box-shadow: 0 3px 0 var(--ink); font-size: 12.5px; white-space: nowrap; animation: pop .35s ease-out; }
.sniff-cta[hidden] { display: none; }
.sniff-cta span { padding: 4px 9px; border-radius: 10px; background: var(--ink); color: #ffd6e4; font-size: 11px; }
.sniff-cta span.talk { background: #2fbf55; color: #fff; }
@keyframes pop { from { transform: translate(-50%, 10px) scale(.9); opacity: 0; } }
body.cards .sniff-cta, body.mung .sniff-cta { display: none; }
.tcard .compat { position: absolute; top: 12px; right: 12px; padding: 5px 10px; border: 2px solid var(--ink); border-radius: 12px; background: var(--lemon); font-size: 11.5px; }

.tcard .compat.hidden-c { display: flex; align-items: center; gap: 6px; background: rgba(255,255,255,.88); font-size: 10.5px; }
.tcard .compat.hidden-c i { width: 10px; height: 10px; border-radius: 3px; border: 1.5px solid var(--ink); }

/* guest signup */
.sheet.acct { z-index: 40; }
.sheet.up .sheet-body { transform: none; }
.acct-hero { display: flex; align-items: flex-end; justify-content: center; gap: 6px; margin: 4px 0 8px; }
.acct-hero img { height: 64px; }
.acct-hero .q { margin: 0 0 30px; padding: 6px 12px; border: 2px solid var(--ink); border-radius: 14px; background: #fff; font-size: 20px; box-shadow: 0 3px 0 var(--ink); }
.auth { display: block; width: 100%; margin-top: 8px; padding: 13px; border: 2px solid var(--ink); border-radius: 14px; font-size: 14px; }
.auth.apple { background: #151515; color: #fff; }
.auth.google { background: #fff; }
.auth.email { background: var(--cream); font-size: 12.5px; }
.tcard .compat.locked-c { display: flex; flex-direction: column; align-items: flex-end; gap: 1px; cursor: pointer; background: #fff; }
.tcard .compat.locked-c small { font-size: 9.5px; opacity: .6; }

/* guest vs signed-in */
.card-layer #acctSheet { z-index: 40; }
.tcard .avimg.blurred { filter: blur(7px) saturate(.7); opacity: .85; }
.tcard .avimg.half { aspect-ratio: 111 / 200; object-fit: cover; object-position: 0 0; }
.tcard .more { opacity: .45; }
.lockbox { position: relative; display: block; width: 100%; padding: 12px; border: 2px dashed #cfc8ad; border-radius: 14px; background: #fffaf0; text-align: left; overflow: hidden; }
.lockbox .fake { display: grid; gap: 6px; filter: blur(2px); }
.lockbox .fake i { display: block; height: 9px; border-radius: 5px; background: #e4ddc5; }
.lockbox .fake i:nth-child(2) { width: 82%; } .lockbox .fake i:nth-child(3) { width: 64%; }
.lockbox .lk { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; gap: 6px; font-size: 11.5px; }
.lockbox .lk svg { width: 15px; height: 15px; }
.tcard .chips .more-chip { border-color: var(--ink); padding: 3px 9px; border-radius: 9px; background: var(--ink); color: #fff; font-size: 11px; cursor: pointer; }
.guest-note { display: block; width: 100%; text-align: left; margin: 0; padding: 9px 11px; border-radius: 12px; background: var(--lemon); border: 2px solid var(--ink); font-size: 11.5px; }
.guest-note.free { background: #b9f3c8; font-weight: 700; }
.tcard .compat.locked-c.free { background: #2fbf55; color: #fff; }
.tcard .compat.locked-c.free small { opacity: 1; font-weight: 700; }

.tcard .who .qbtn { display: inline-flex; align-items: center; gap: 4px; padding: 3px 9px; border: 1.5px solid rgba(255,255,255,.9); border-radius: 10px; background: rgba(0,0,0,.28); color: #fff; font-size: 12px; vertical-align: middle; cursor: pointer; }
.tcard .who h2 .qbtn { font-size: 13px; }
.tcard .who .qbtn svg { width: 13px; height: 13px; }

/* news afloat */
.sheet.news { z-index: 41; }
.news-kicker { margin: 0 40px 8px 0; font-size: 11px; opacity: .6; }
.news-kv { display: block; width: 100%; border: 2px solid var(--ink); border-radius: 14px; }
.news-h { margin: 12px 0 4px; font-size: 16px; line-height: 1.45; }
.news-p { margin: 0 0 12px; font-size: 12px; opacity: .7; }
a.cta { text-align: center; text-decoration: none; color: #151515; }

.tcard .who p .flag { font-size: 17px; margin-right: 6px; line-height: 1; vertical-align: middle; font-family: 'Apple Color Emoji','Segoe UI Emoji','Noto Color Emoji',sans-serif; }

/* v8 Live Q&A */
.side-pill.zone { background: #ffd23f; color: var(--ink); font-size: 13px; font-weight: 800; padding-left: 28px; }   /* bright on the night sky too (Suji, 2026-11-24) */
.side-pill.zone::before { content: ""; position: absolute; left: 12px; top: 50%; width: 9px; height: 9px; margin-top: -4.5px; border-radius: 50%; background: #ff2d4f; box-shadow: 0 0 0 2px #fff; animation: zoneLive 1.2s steps(2) infinite; }
@keyframes zoneLive { 50% { opacity: .25; } }
/* LIVE Q&A / 산책길로 돌아가기 lives under the room tab (where you are), with the clock and tip below it */
/* 8px under the top pill, the same gap as between the buttons in the right column */
.zone-left { position: absolute; top: calc(66px + var(--safe-t)); left: 10px; transition: opacity 1.2s; }
@media (max-width: 360px) { .zone-left { top: calc(64px + var(--safe-t)); } }
body.idle .zone-left { opacity: .75; }
body.mung .zone-left, body.cards .zone-left { opacity: 0 !important; pointer-events: none; }
.zone-prog { position: relative; height: 22px; margin: 6px 0 12px; border: 2px solid var(--ink); border-radius: 11px; background: #fff; overflow: hidden; }
.zone-prog i { position: absolute; left: 0; top: 0; bottom: 0; background: #ffd23f; }
.zone-prog span { position: relative; display: block; text-align: center; line-height: 18px; font-size: 11.5px; }
.answers { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.answers li { display: flex; justify-content: space-between; gap: 8px; padding: 7px 10px; border-radius: 10px; background: #fff; font-size: 11.5px; }
.answers li b { white-space: nowrap; }
.dlg h3 #ansCount { font-size: 11px; opacity: .8; margin-left: 4px; }

.side-pill[hidden] { display: none !important; }

/* member cards button: count badge and a wobble that asks to be tapped */
.side-pill.members { position: relative; }
.side-pill.members .mb-count { position: absolute; top: -8px; right: -8px; min-width: 20px; height: 20px; padding: 0 5px; border: 2px solid var(--ink); border-radius: 10px; background: #ff3f5f; color: #fff; font-size: 11px; line-height: 16px; text-align: center; }
.side-pill.members .mb-count[hidden] { display: none; }
.side-pill.members { animation: mbWobble 3.2s ease-in-out infinite; transform-origin: 70% 50%; }
.side-pill.members .mb-count { animation: mbPulse 3.2s ease-in-out infinite; }
.zone-left.nudge { animation: mbWobble 3.2s ease-in-out infinite; transform-origin: 30% 50%; }
@keyframes mbWobble { 0%, 62%, 100% { transform: rotate(0); } 66% { transform: rotate(-7deg) scale(1.06); } 70% { transform: rotate(6deg) scale(1.06); } 74% { transform: rotate(-4deg); } 78% { transform: rotate(3deg); } 82% { transform: rotate(0); } }
@keyframes mbPulse { 0%, 62%, 100% { transform: scale(1); } 68% { transform: scale(1.3); } 76% { transform: scale(1); } }
.geo-later { display: block; margin: -6px 18px 16px; width: calc(100% - 36px); }
@media (prefers-reduced-motion: reduce) { .side-pill.members, .side-pill.members .mb-count { animation: none; } }

/* my own card */
.card-layer.self .card-actions, .card-layer.self .likes-you, .card-layer.self #likesLeft, .card-layer.self #tierBtn, .card-layer.self .card-note { display: none; }
.card-layer.self .stack { height: min(calc(100% - 90px), 620px) !important; }
.tcard.mine .petimg { image-rendering: pixelated; height: 46% !important; }
.tcard.mine .avimg { height: 62%; }
.tcard .empty { margin: 0; padding: 8px 11px; border: 2px dashed #d7d2bd; border-radius: 12px; color: #9a9480; font-size: 12px; }
.tcard .ask { display: flex; flex-direction: column; gap: 8px; padding: 12px; border: 2px solid var(--ink); border-radius: 14px; background: var(--lemon); box-shadow: 0 3px 0 var(--ink); }
.tcard .ask > b { font-size: 14px; line-height: 1.4; }
.tcard .ask > span { font-size: 12px; font-weight: 600; opacity: .75; line-height: 1.45; }
.tcard .sec.pick em { display: block; margin-bottom: 4px; }
.tcard .sec.pick .go-o button { padding: 6px 11px; font-size: 12.5px; color: var(--ink); }
.tcard .sec.pick .got { display: inline-block; padding: 6px 11px; border: 1.5px solid var(--ink); border-radius: 11px; background: #fff; }
.my-ans { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.my-ans li { display: flex; justify-content: space-between; gap: 8px; padding: 7px 10px; border-radius: 10px; background: #fff; border: 1.5px solid #e6e0c8; font-size: 11.5px; }
.my-ans li b { white-space: nowrap; }

/* TIP line */
.hint.tip { max-width: min(calc(100% - 210px), 260px); white-space: normal; word-break: keep-all; line-height: 1.35; overflow: hidden;   /* stays left of the 접속자 row; wraps to two lines */ align-items: center; gap: 7px; padding: 5px 11px 5px 6px; background: rgba(21,21,21,.62); transition: opacity .6s, transform .6s; }
.hint.tip b { padding: 2px 6px; border-radius: 7px; background: var(--lemon); color: var(--ink); font-size: 10px; letter-spacing: .5px; }
.hint.tip span::before { display: none; }
.hint.tip.off { opacity: 0; transform: translateY(-4px); }
.hint.tip span { overflow: hidden; text-overflow: ellipsis; }

/* 집사 취향 tags: Q = picked in Live Q&A, colored = same as mine */
.tcard .chips span { display: inline-flex; align-items: center; gap: 4px; }
.tcard .chips span i, .chip-key span i { font-style: normal; font-size: 9px; font-weight: 800; line-height: 1; padding: 2px 3px; border-radius: 4px; background: #ece7d3; color: #6d6650; }
.tcard .chips span.same { background: #ffe1ec; border-color: #ff5d8f; color: #c2185b; font-weight: 700; }
.tcard .chips span.same i { background: #ff5d8f; color: #fff; }
.tcard .taste-h { display: flex; align-items: center; gap: 6px; margin-bottom: 2px; }
.tcard .taste-h em { margin: 0; }
.tcard .taste-h .same-n { margin-left: 6px; padding: 1px 7px; border-radius: 8px; background: #ff5d8f; color: #fff; font-size: 10px; font-style: normal; }
.tcard .chip-key { display: flex; align-items: center; gap: 5px; margin: 7px 0 0; font-size: 10px; color: #8a846e; }
.tcard .chip-key span { display: inline-flex; }
.tcard .chip-key .sw { width: 12px; height: 10px; border-radius: 3px; background: #ffe1ec; border: 1.5px solid #ff5d8f; margin-left: 6px; }

/* language */
.lang-btn { display: inline-flex; align-items: center; gap: 6px; }
.lang-btn svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.lang-dlg { max-height: 82vh; }
.lang-search { width: calc(100% - 36px); margin: 0 18px 8px; padding: 9px 12px; border: 2px solid var(--ink); border-radius: 12px; font: inherit; font-size: 14px; }
.lang-note { margin-top: 0; }
.lang-list { list-style: none; margin: 0; padding: 0 18px 16px; max-height: 52vh; overflow: auto; display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.lang-list button { width: 100%; display: flex; flex-direction: column; align-items: flex-start; gap: 1px; padding: 8px 10px; border: 1.5px solid #d7d2bd; border-radius: 11px; background: #fff; font: inherit; text-align: left; cursor: pointer; position: relative; }
.lang-list button b { font-size: 13px; }
.lang-list button span { font-size: 10.5px; opacity: .55; min-height: 12px; }
.lang-list button.on { border-color: var(--ink); background: var(--lemon); }
.lang-list button i { position: absolute; top: 7px; right: 8px; font-style: normal; font-size: 9.5px; font-weight: 700; }
.lang-list button i.ready { color: #2fbf55; }
.lang-list button i.gen { color: #8a846e; }
.lang-load { position: fixed; inset: 0; z-index: 90; display: grid; place-items: center; background: rgba(21, 21, 21, .55); backdrop-filter: blur(4px); }
.lang-load[hidden] { display: none; }
.ll-card { width: min(300px, 84vw); padding: 22px 20px 18px; border: 2.5px solid var(--ink); border-radius: 20px; background: #fffdf2; box-shadow: 0 5px 0 var(--ink); text-align: center; }
.ll-card img { width: 72px; height: 72px; image-rendering: pixelated; animation: llbob 1s ease-in-out infinite; }
@keyframes llbob { 50% { transform: translateY(-6px); } }
.ll-card h2 { margin: 8px 0 4px; font-size: 20px; }
.ll-card p { margin: 0 0 14px; font-size: 13px; opacity: .75; line-height: 1.45; }
.ll-bar { height: 10px; border: 2px solid var(--ink); border-radius: 6px; overflow: hidden; background: #fff; }
.ll-bar i { display: block; height: 100%; width: 3%; background: var(--lemon); transition: width .3s; }
.ll-card small { display: block; margin-top: 6px; font-size: 11px; opacity: .6; }
.tcard .who h2 span.nm { font-size: inherit; opacity: 1; }
.tcard .who p.owner { gap: 0; }

/* end of deck: load 4 more + filters */
.card-layer.end .card-actions, .card-layer.end .card-note { display: none; }
/* asking the pet (Suji, 2026-11-20): only the pet, its line, the request box and how many; the bar keeps just the close button */
.card-layer.end #likesLeft, .card-layer.end #tierBtn, .card-layer.end .likes-you { display: none; }
.tcard.endcard { cursor: default; touch-action: auto; background: linear-gradient(170deg, #fffdf2 0%, #fff3c4 100%); }
.endcard .end-in { flex: 1; overflow: auto; padding: 22px 18px 16px; display: flex; flex-direction: column; align-items: center; text-align: center; }
.endcard .end-pet { width: 64px; height: 64px; image-rendering: pixelated; animation: llbob 1.4s ease-in-out infinite; }
.endcard h2 { margin: 8px 0 2px; font-size: 19px; }
.endcard .end-sub { margin: 0 0 14px; font-size: 12.5px; opacity: .7; }
.endcard .flt { width: 100%; padding: 12px; border: 2px solid var(--ink); border-radius: 16px; background: #fff; text-align: left; margin-bottom: 14px; }
.endcard .flt-h { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; }
.endcard .flt-h b { font-size: 14px; }
.endcard .flt-h span { font-size: 11px; opacity: .6; flex: 1; }
.endcard .flt-clear { border: 0; background: none; font: inherit; font-size: 11px; text-decoration: underline; color: #8a846e; cursor: pointer; }
.endcard .flt-g { display: flex; gap: 8px; align-items: flex-start; padding: 6px 0; border-top: 1px dashed #e4dfcb; }
.endcard .flt-g em { flex: 0 0 34px; font-style: normal; font-size: 11px; opacity: .55; padding-top: 6px; }
.endcard .flt-o { display: flex; flex-wrap: wrap; gap: 5px; }
.endcard .flt-o button { display: inline-flex; align-items: center; gap: 4px; padding: 5px 10px; border: 1.5px solid #d7d2bd; border-radius: 10px; background: #fff; font: inherit; font-size: 12px; cursor: pointer; }
.endcard .flt-o button.on { border-color: var(--ink); background: var(--lemon); font-weight: 700; }
.endcard .flt-o button small { font-size: 9.5px; opacity: .55; }
.endcard .more-cta { display: flex; align-items: center; justify-content: center; gap: 10px; --c: #ff5d8f; font-weight: 700; font-size: 15px; cursor: pointer; }
.endcard .more-cta b { padding: 2px 9px; border-radius: 8px; background: #fff; color: #c2185b; font-size: 13px; }
.endcard .end-fine { margin: 8px 0 4px; font-size: 10.5px; opacity: .6; line-height: 1.45; }
.endcard .end-stop { border: 0; background: none; font: inherit; font-size: 12px; color: #8a846e; text-decoration: underline; cursor: pointer; padding: 6px; }

/* encounters on the card */
.tcard .who p.meets { gap: 5px; font-size: 11.5px; opacity: .92; }
.tcard .who p.meets svg { width: 13px; height: 13px; fill: currentColor; }
/* minors walk with teens only: no sample-member deck and no tiers; the sniff button and teen cards stay */
body.minor #membersBtn, body.minor #tierBtn { display: none !important; }   /* the sniff button (카드 보기) stays: teens meet teens in the teen room */
.tcard .minor-note { margin: 0 0 10px; padding: 10px 12px; border-radius: 12px; background: #eef6ff; border: 1.5px solid #9ccbff; font-size: 12px; line-height: 1.5; }

/* guest checkout */
.guest-pay { margin: 10px 0; padding: 12px; border: 1.5px dashed #b9b29a; border-radius: 14px; background: #fffbe6; font-size: 12px; }
.guest-pay p { margin: 0 0 8px; line-height: 1.45; }
.guest-pay p b { display: inline-block; margin-right: 6px; padding: 1px 7px; border-radius: 7px; background: var(--ink); color: var(--lemon); font-size: 11px; }
.guest-pay label { display: flex; flex-direction: column; gap: 4px; font-size: 11.5px; font-weight: 700; }
.guest-pay input { padding: 9px 11px; border: 2px solid var(--ink); border-radius: 11px; font: inherit; font-size: 14px; font-weight: 400; }
.guest-pay small { display: block; margin-top: 6px; font-size: 10.5px; opacity: .65; line-height: 1.45; }
.guest-list .g-row { display: flex; gap: 8px; align-items: center; padding: 6px 0; border-bottom: 1px dashed #e4dfcb; font-size: 12px; }
.guest-list .g-row span { flex: 1; }
.guest-list .g-row small { opacity: .6; }
.restore { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.restore input { flex: 1 1 140px; padding: 8px 10px; border: 1.5px solid #b9b29a; border-radius: 10px; font: inherit; font-size: 13px; }

/* LIVE Q&A shortcut under the profile button */
.side-pill.zone { font-weight: 700; }
/* dock: 대화 신청 */
.dock .talk-btn svg, .dock .app-dock svg { width: 24px; height: 24px; }
body.minor #talkBtn { display: none; }
/* email signup steps */
.sheet.acct.emailing .auth, .sheet.acct.emailing .pw-wait { display: none; }
.acct-step { display: flex; flex-direction: column; gap: 8px; margin-top: 10px; }
.acct-step label { display: flex; flex-direction: column; gap: 5px; font-size: 12px; font-weight: 700; }
.acct-step input { padding: 12px; border: 2px solid var(--ink); border-radius: 13px; font: inherit; font-size: 16px; font-weight: 400; }
.acct-step #suCode { letter-spacing: 6px; font-size: 20px; text-align: center; }
.acct-step .step-msg { margin: 0; font-size: 12.5px; line-height: 1.5; }
.acct-step .step-msg small { display: inline-block; margin-top: 4px; padding: 4px 8px; border-radius: 8px; background: var(--lemon); font-size: 12px; }
.acct-step .link { border: 0; background: none; font: inherit; font-size: 12px; text-decoration: underline; color: #8a846e; }
/* real sign-in (app accounts) */
.acct-step[hidden], #acctOut[hidden], #acctIn[hidden], #gSoon[hidden] { display: none; }
.sheet.acct.emailing .g-wrap { display: none; }
/* Google: our own button face (same 2px ink outline as 이메일로 로그인); Google's real button sits on top, invisible, and takes the tap */
.g-wrap { position: relative; margin-top: 8px; }
.g-wrap #gBtn:empty, #gFace[hidden] { display: none; }
.g-wrap #gBtn { display: flex; justify-content: center; }
.g-wrap:not(.g-on) #gBtn { position: absolute; width: 0; height: 0; overflow: hidden; }   /* until it has drawn, ours shows */   /* Google's own button, shown as it is: a see-through one laid over ours did not take taps on phones (Suji, 2026-11-24) */
.g-wrap.g-on #gFace { display: none; }
#gFace { margin-top: 0; padding: 12px 13px; display: flex; align-items: center; justify-content: center; gap: 8px; background: var(--cream); font-size: 12.5px; color: var(--ink); }
#gFace .g-logo { width: 17px; height: 17px; flex: none; }
#gFace:disabled { opacity: .55; }
.auth.google:disabled { opacity: .55; }
.acct-err { min-height: 0; margin: 8px 0 0; color: #c2185b; font-size: 12.5px; font-weight: 700; }
.acct-err:empty { display: none; }
.acct-who { margin: 6px 0 10px; font-size: 14px; font-weight: 700; word-break: break-all; }
.sheet.acct .fine a { color: inherit; }
.login-btn { padding: 0 10px; height: 30px; border: 2px solid var(--ink); border-radius: 12px; background: var(--lemon); font-size: 12px; font-weight: 700; color: var(--ink); white-space: nowrap; max-width: 92px; overflow: hidden; text-overflow: ellipsis; }
.login-btn.in { background: #fff; }
/* describe me and my pet */
.sheet.look { z-index: 42; }
.sheet.look textarea { width: 100%; margin: 6px 0 8px; padding: 12px; border: 2px solid var(--ink); border-radius: 14px; font: inherit; font-size: 16px; resize: none; background: #fff; }
.look-eg { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; }
.look-eg button { padding: 6px 10px; border: 1.5px solid #d7d2bd; border-radius: 10px; background: #fff; font: inherit; font-size: 12px; }
.sheet.look .link { display: block; margin: 8px auto 0; border: 0; background: none; font: inherit; font-size: 12px; text-decoration: underline; color: #8a846e; }
.sheet.look .cta { --c: #ff5d8f; font-weight: 700; }
/* maps */
.maps-dlg { width: min(560px, calc(100vw - 20px)); max-height: 86vh; }
.maps-note { margin: -4px 18px 8px; }
.maps-list { list-style: none; margin: 0; padding: 0 14px 6px; max-height: 64vh; overflow: auto; display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.maps-list button { position: relative; width: 100%; padding: 0; border: 2px solid var(--ink); border-radius: 14px; overflow: hidden; background: #fff; text-align: left; cursor: pointer; display: block; }
.maps-list img { display: block; width: 100%; aspect-ratio: 360 / 220; object-fit: cover; background: #e9e4d2; }
.maps-list .mn { display: block; padding: 6px 8px 0; font-size: 12px; font-weight: 700; line-height: 1.3; }
.maps-list small { display: block; padding: 0 8px 7px; font-size: 10px; opacity: .55; }
.maps-list .lock { position: absolute; top: 6px; right: 6px; padding: 2px 6px; border-radius: 6px; background: rgba(21,21,21,.8); color: var(--lemon); font-style: normal; font-size: 9px; font-weight: 800; }
.maps-list button.here { outline: 3px solid #ff5d8f; }
.maps-list button.here small { color: #c2185b; opacity: 1; font-weight: 700; }
.maps-list button.soon img { filter: grayscale(1) brightness(.75); }
.maps-list button.soon .mn { opacity: .55; }
.maps-list .lock.soon { background: rgba(255,255,255,.9); color: var(--ink); }
.maps-list button.today { outline: 3px solid #ffd23f; }
.maps-list button.today small { color: #8a6a00; opacity: 1; font-weight: 700; }
.maps-leave { display: block; margin: 6px auto 14px; border: 0; background: none; font: inherit; font-size: 12px; text-decoration: underline; color: #8a846e; }
.app-only { width: min(320px, calc(100vw - 40px)); padding: 0 0 16px; text-align: center; overflow: hidden; }
.app-only img { display: block; width: 100%; aspect-ratio: 360 / 220; object-fit: cover; }
.app-only h2 { margin: 12px 14px 4px; font-size: 17px; }
.app-only p { margin: 0 16px 14px; font-size: 13px; opacity: .75; }
.app-only .cta { display: block; margin: 0 16px; text-align: center; text-decoration: none; --c: #ff5d8f; color: #fff; font-weight: 700; }
.app-only .link { margin-top: 10px; border: 0; background: none; font: inherit; font-size: 12px; text-decoration: underline; color: #8a846e; }
/* end card: ask the pet (plain card, just the cut-out pet) */
.tcard.endcard.ask { background: linear-gradient(170deg, #fffdf2 0%, #fff3c4 100%); }
.endcard.ask .end-in { justify-content: center; }
.endcard.ask .price-pill { padding: 5px 12px; border: 2px solid var(--ink); border-radius: 12px; background: #fff; font-size: 12px; font-weight: 700; }
.endcard.ask .end-pet { width: 120px; height: 120px; margin: 12px 0 4px; }
.endcard.ask .end-pet.sniffing { animation: sniffy .5s ease-in-out infinite; }
@keyframes sniffy { 50% { transform: translateY(-6px) rotate(-4deg); } }
.endcard.ask .pet-line { margin: 0 0 12px; padding: 10px 14px; border: 2px solid var(--ink); border-radius: 16px; background: #fff; font-size: 15px; font-weight: 700; line-height: 1.45; }
.endcard.ask .pet-sub { margin: -4px 0 0; font-size: 13px; opacity: .7; }
.endcard.ask .cmd { display: flex; width: 100%; gap: 6px; padding: 6px 6px 6px 14px; border: 2px solid var(--ink); border-radius: 24px; background: #fff; }
.endcard.ask .cmd input { flex: 1; min-width: 0; border: 0; background: transparent; font: inherit; font-size: 15px; outline: none; }
.endcard.ask .cmd button { padding: 8px 14px; border: 0; border-radius: 18px; background: #ff5d8f; color: #fff; font: inherit; font-size: 13px; font-weight: 800; cursor: pointer; }
.endcard.ask .cmd-eg { display: flex; flex-wrap: wrap; justify-content: center; gap: 5px; margin: 8px 0 10px; }
.endcard.ask .cmd-eg button { padding: 4px 9px; border: 1.5px solid #d7d2bd; border-radius: 10px; background: #fff; font: inherit; font-size: 11px; cursor: pointer; }
.endcard.ask .cnt { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 5px; }
.endcard.ask .cnt span { font-size: 12px; margin-right: 4px; opacity: .7; }
.endcard.ask .cnt button { padding: 4px 10px; border: 1.5px solid #d7d2bd; border-radius: 9px; background: #fff; font: inherit; font-size: 12px; cursor: pointer; }
.endcard.ask .cnt button.on { border-color: var(--ink); background: var(--lemon); font-weight: 800; }
.endcard.ask .cnt button.step { width: 34px; height: 30px; padding: 0; border: 2px solid var(--ink); border-radius: 10px; background: #fff; font-size: 18px; font-weight: 800; line-height: 1; touch-action: none; user-select: none; -webkit-user-select: none; }
.endcard.ask .cnt .cnt-n { min-width: 54px; padding: 4px 8px; border: 2px solid var(--ink); border-radius: 10px; background: var(--lemon); color: var(--ink); font-size: 13px; text-align: center; }
.endcard.ask .refund { margin: 10px 0 2px; font-size: 11.5px; opacity: .7; }
/* 펫에게 부탁: no card behind it. The pet, its line and the input float over the dimmed walk;
   the small text around them turns light so it still reads on the dark layer */
.tcard.endcard.ask { background: transparent; border: 0; box-shadow: none; }
.endcard.ask .cmd input { font-size: 16px; }
.endcard.ask .cnt span, .endcard.ask .refund, .endcard.ask .pet-sub { color: #fff; opacity: .9; text-shadow: 0 1px 2px rgba(0,0,0,.45); }
.endcard.ask .end-stop { color: #fff; opacity: .85; }
.endcard.ask .end-pet { filter: drop-shadow(0 4px 0 rgba(0,0,0,.18)); }
.app-only .cta { width: auto; }
/* UI text that was already there in v3 keeps the original pixel font (Galmuri11).
   Body copy, answer choices, dialogue and cards stay in the readable gothic. */
.hud-top, .hud-top button, .side-pill, .dock button, .dock button span, .hint, .hint b, .hint span {
  font-family: Galmuri11, "Apple SD Gothic Neo", "Noto Sans KR", -apple-system, BlinkMacSystemFont, "Malgun Gothic", sans-serif;
}
.dock button { width: 72px; }
.dock button span { white-space: nowrap; font-size: 11px; letter-spacing: -0.3px; }
@media (max-width: 360px) { .dock button { width: 64px; } }

/* 펫에게 부탁: request entry point in the card bar */
.card-top .ask-btn { padding: 6px 11px; border: 2px solid var(--ink); border-radius: 12px; background: #ff5d8f; color: #fff; font: inherit; font-size: 12px; font-weight: 800; box-shadow: 0 2px 0 var(--ink); cursor: pointer; white-space: nowrap; }
.card-layer.self .ask-btn, .card-layer.end .ask-btn { display: none; }
.side-pill.ask { background: #ff5d8f; color: #fff; font-weight: 700; }
body.minor #askPill { display: none !important; }

/* 접속자 프로필 보기 and the round refresh (새로운 사람 만나러 가기) share one row in the side column */
.side-row { display: flex; align-items: center; gap: 6px; }
.side-round { flex: none; display: grid; place-items: center; width: 38px; height: 38px; padding: 0; border: 2px solid var(--ink); border-radius: 50%; background: linear-gradient(135deg, #ff5d8f, #ff8a5b); box-shadow: 0 3px 0 var(--ink); cursor: pointer; transition: opacity .6s; }
.side-round svg { width: 20px; height: 20px; fill: none; stroke: #fff; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.side-round:active svg { transform: rotate(-90deg); transition: transform .2s; }
body.minor .go-new, body.cards .go-new, body.mung .go-new { display: none; }
.fb-link { text-decoration: none; color: inherit; display: inline-flex; align-items: center; }
/* its bottom sheet, laid out for a phone: grab bar, pet and line in one row, labels over full-width chip rows, swipe down to close */
.sheet.go { z-index: 42; }
.sheet.go .sheet-body { max-height: 86dvh; padding: 8px 16px calc(12px + var(--safe-b)); overscroll-behavior: contain; touch-action: pan-y; }
.sheet.go .sheet-body.drag { transition: none; }
.sheet.go .grab { display: block; height: 10px; }
.go-head { display: flex; align-items: center; gap: 8px; margin: 0 36px 12px 0; }
.go-pet { flex: none; width: 52px; height: 52px; image-rendering: pixelated; }
.go-line { margin: 0; padding: 8px 12px; border: 2px solid var(--ink); border-radius: 4px 14px 14px 14px; background: #fff; font-size: 14px; font-weight: 700; line-height: 1.4; word-break: keep-all; }
.go-g { margin: 0 0 12px; }
.go-g em { display: block; margin: 0 0 6px; font-style: normal; font-size: 12px; font-weight: 700; opacity: .6; }
.go-g em small { font-size: 11px; font-weight: 600; margin-left: 4px; }
.go-o { display: flex; flex-wrap: wrap; gap: 6px; }
.sheet.go .go-o { display: grid; grid-template-columns: repeat(3, 1fr); }
.sheet.go .go-o[data-k="age"] { grid-template-columns: repeat(4, 1fr); }
.sheet.go .go-o[data-k="goal"] button:last-child { grid-column: span 2; }
.sheet.go .go-o button { min-height: 42px; padding: 6px 4px; font-size: 13.5px; white-space: nowrap; }
.go-o button { padding: 7px 12px; border: 1.5px solid #d7d2bd; border-radius: 11px; background: #fff; font: inherit; font-size: 13px; cursor: pointer; }
.go-o button.on { border-color: var(--ink); background: var(--lemon); font-weight: 800; }
.sheet.go .cta { --c: #ff5d8f; margin-top: 8px; font-weight: 800; display: flex; justify-content: center; align-items: center; gap: 8px; }
.sheet.go .cta b { padding: 2px 9px; border-radius: 8px; background: #fff; color: #c2185b; font-size: 13px; }
/* first visit: I hang from balloons over the walk while this sheet asks about me; the world stays visible above it */
body.airing #sniffCta { opacity: 0; pointer-events: none; }   /* every other button stays up while floating (Suji, 2026-11-21) */
.sheet.air { z-index: 42; background: transparent; pointer-events: none; }
.sheet.air .sheet-body { pointer-events: auto; max-height: 66dvh; padding: 16px 16px calc(12px + var(--safe-b)); box-shadow: 0 -6px 24px rgba(0,0,0,.18); overscroll-behavior: contain; }
/* the sheet starts closed so the city can be seen from the balloons; this pill says how to come down */
.air-hint { position: fixed; left: 50%; bottom: calc(96px + var(--safe-b)); z-index: 4; transform: translateX(-50%); padding: 11px 18px; border: 2.5px solid var(--ink); border-radius: 999px; background: var(--lemon); color: var(--ink); font: inherit; font-size: 15px; font-weight: 800; white-space: nowrap; box-shadow: 0 4px 0 var(--ink); animation: airHint 1.6s ease-in-out infinite; cursor: pointer; }
.air-hint[hidden] { display: none; }
/* only on the open park: any card, sheet, coin box or dialog the user opened comes first */
body:has(.sheet:not([hidden]):not(.air), .card-layer:not([hidden]), .coin-layer:not([hidden]), dialog[open]) .air-hint, body.mung .air-hint { display: none; }
@keyframes airHint { 50% { transform: translateX(-50%) translateY(5px); } }
/* iOS Safari gives a date input its own minimum width and an empty-state height, so it ran past the sheet's right edge; match the text boxes */
input[type="date"] { -webkit-appearance: none; appearance: none; display: block; min-width: 0; max-width: 100%; min-height: 0; text-align: left; }
input[type="date"]::-webkit-date-and-time-value { min-height: 1.2em; text-align: left; }
.go-trans { position: fixed; inset: 0; z-index: 95; display: grid; place-items: center; background: rgba(255, 246, 214, .96); animation: goFade .3s; }
.go-trans[hidden] { display: none; }
.go-trans div { text-align: center; }
.go-trans img { width: 110px; height: 110px; image-rendering: pixelated; animation: goRun .35s ease-in-out infinite alternate; }
.go-trans p { margin: 10px 0 0; font-size: 17px; font-weight: 800; }
@keyframes goRun { from { transform: translateX(-14px) rotate(-6deg); } to { transform: translateX(14px) rotate(6deg); } }
@keyframes goFade { from { opacity: 0; } }
.toast { bottom: calc(158px + var(--safe-b)); }
/* 8px above the bottom tabs, the gap between buttons (the tabs are 74px tall from 14px up, 70px on phones) */
.sniff-cta { bottom: calc(96px + var(--safe-b)) !important; }
@media (max-width: 520px) { .sniff-cta { bottom: calc(92px + var(--safe-b)) !important; } }
#sheet.walk { z-index: 43; }

/* SniffSniff walk loading screen on the world map (from the app's WorldMapLoadingView, 1.0.30 #12) */
@font-face { font-family: NanumSquareRound; src: url(./fonts/NanumSquareRoundOTFEB.otf) format('opentype'); font-weight: 800; font-display: swap; }
.boot.wm-load { display: block; padding: 0; background: #0b1636 !important; color: #fff; font-family: -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Noto Sans KR", sans-serif; overflow: hidden; transition: opacity .5s; }
.wm-load p { margin: 0; opacity: 1; font-size: inherit; }
.wm-load .wm-canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.wm-load .wm-shade { position: absolute; left: 0; right: 0; pointer-events: none; }
.wm-load .wm-shade.top { top: 0; height: 230px; background: linear-gradient(180deg, rgba(0,0,0,.55), rgba(0,0,0,0)); }
.wm-load .wm-shade.bottom { bottom: 0; height: 250px; background: linear-gradient(180deg, rgba(0,0,0,0), rgba(0,0,0,.6)); }
.wm-load .wm-head { position: absolute; top: calc(8px + var(--safe-t)); left: 0; right: 0; text-align: center; }
.wm-load .wm-head > * { text-shadow: 0 0 4px rgba(0,0,0,.8), 0 2px 2px rgba(0,0,0,.4); }
.wm-load .wm-date { font-size: 14px; font-weight: 500; line-height: 1.3; }
.wm-load .wm-daily { margin-top: 6px; font-size: 15px; font-weight: 600; line-height: 1.3; }
.wm-load .wm-name { margin: 4px 24px 0; font-family: NanumSquareRound, "Apple SD Gothic Neo", sans-serif; font-size: 22px; font-weight: 800; line-height: 1.25; letter-spacing: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wm-load .wm-cap { margin-top: 4px; font-size: 13px; font-weight: 500; line-height: 1.3; color: #e5e5e5; }
.wm-load .wm-pet { position: absolute; left: 0; top: 0; opacity: 0; image-rendering: pixelated; border: 0; border-radius: 0; pointer-events: none; will-change: transform, opacity; }
.wm-load .wm-card { position: absolute; left: 0; top: 0; opacity: 0; pointer-events: none; max-width: calc(100vw - 24px); will-change: transform, opacity; }
.wm-load .wm-callout { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; filter: drop-shadow(0 2px 4px rgba(0,0,0,.6)); }
.wm-load .wm-callout path { fill: rgba(0,0,0,.8); stroke: rgba(255,255,255,.2); stroke-width: 1; stroke-linejoin: round; }
.wm-load .wm-card-in { position: relative; display: flex; align-items: center; gap: 10px; padding: 6px 12px 12px 6px; }
.wm-load .wm-card.below .wm-card-in { padding: 12px 12px 6px 6px; }
.wm-load .wm-card img { flex: 0 0 144px; width: 144px; height: 72px; object-fit: cover; object-position: 50% 12.5%; border-radius: 4px; border: 0; image-rendering: pixelated; background: rgba(255,255,255,.2); }
.wm-load .wm-words { display: flex; flex-direction: column; gap: 2px; min-width: 0; font-family: NanumSquareRound, "Apple SD Gothic Neo", sans-serif; font-weight: 800; white-space: nowrap; }
.wm-load .wm-words b { font-size: 13px; color: #f6ff7b; overflow: hidden; text-overflow: ellipsis; }
.wm-load .wm-words span { font-size: 12px; color: #e5e5e5; overflow: hidden; text-overflow: ellipsis; }
.wm-load .wm-bottom { position: absolute; left: 0; right: 0; bottom: calc(8px + var(--safe-b)); display: flex; flex-direction: column; align-items: center; padding: 0 16px; }
.wm-load .wm-journey { position: relative; display: flex; width: 100%; max-width: 560px; margin-bottom: 16px; opacity: 0; transition: opacity .3s; }
.wm-load .wm-journey.on, .wm-load .wm-go.on { opacity: 1; }
.wm-load .wm-line { position: absolute; left: 25%; right: 25%; top: 11px; height: 2px; background: repeating-linear-gradient(90deg, rgba(255,255,255,.6) 0 5px, transparent 5px 9px); }
.wm-load .wm-plane { position: absolute; left: 50%; top: -8px; width: 18px; height: 18px; margin-left: -9px; fill: #e5e5e5; }
.wm-load .wm-stop { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 6px; min-width: 0; }
.wm-load .wm-stop i { display: grid; place-items: center; height: 24px; }
.wm-load .wm-stop i::before { content: ""; display: block; box-sizing: border-box; width: 12px; height: 12px; border-radius: 50%; background: #0b1636; border: 2px solid #b2b2b2; }
.wm-load .wm-stop.today i::before { width: 20px; height: 20px; background: #fefff0; border: 3px solid #f6ff7b; box-shadow: 0 0 10px rgba(246,255,123,.6); }
.wm-load .wm-stop span { max-width: 100%; padding: 0 2px; font-size: 12px; font-weight: 500; color: #ccc; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; text-shadow: 0 0 4px rgba(0,0,0,.8), 0 2px 2px rgba(0,0,0,.4); }
.wm-load .wm-stop.today span { font-size: 14px; font-weight: 600; color: #f6ff7b; }
.wm-load .wm-prog { max-width: 100%; padding: 7px 14px; border-radius: 999px; background: #f6ff7b; color: #000; font-size: 13px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wm-load .wm-go { display: none; width: 100%; max-width: 560px; height: 56px; border: 0; border-radius: 8px; background: #f6ff7b; color: #253003; font: inherit; font-size: 16px; font-weight: 600; cursor: pointer; opacity: 0; transition: opacity .3s; }
.wm-load.ready .wm-prog { display: none; }
.wm-load.ready .wm-go { display: block; }
.in-qa #goNew, .in-qa #sniffCta { display: none !important; }
.in-qa .side { display: none !important; }
/* the app's LIVE Q&A room (board 57, ?app=1): no 「앱 받기」, and no walk switch — the in-app browser's close goes back to the walk */
.app-mode #appDock, .app-mode #zonePill { display: none !important; }
/* board 57 ①② in the app: 「산책길로」 top left and 펫 부탁 as the dock's fourth cell, as on the walk. Both are
   sniffsniff:// links: the app closes the in-app browser and, for 펫 부탁, opens its ask sheet (⑧ recheck 11-26) */
#appBackBtn, #askDock { display: none !important; }
.app-mode #appBackBtn, .app-mode #askDock { display: flex !important; text-decoration: none; color: inherit; }
.dock a.app-dock { width: 68px; height: 58px; border-radius: 20px; flex-direction: column; align-items: center; justify-content: center; gap: 4px; font-size: 12px; }
/* board 57 ①② in the app: no web head row (하우스로, 다른 맵 보기 → 앱 받기, 방 고르기, 로그인, 설정 → 앱에서 구독) and no
   other way to the stores; the in-app browser's close is 「산책길로」 (review 11-25) */
.app-mode #houseBtn, .app-mode #exitBtn, .app-mode #roomBtn, .app-mode #loginBtn, .app-mode #setBtn,
.app-mode #inviteBtn, .app-mode a[href*="apps.apple.com"], .app-mode a[href*="play.google.com"] { display: none !important; }   /* Live Q&A: no 접속자 프로필 보기 or 펫에게 부탁하기 on the right; the board takes the room (Suji, 2026-11-24) */
.npc-hero { display: flex; align-items: flex-end; justify-content: center; gap: 10px; height: 150px; margin: 4px 0 10px; border: 2px solid var(--ink); border-radius: 16px; background: linear-gradient(160deg, #ffe3c2, #ffc6d3); }
.npc-av { display: block; width: 96px; height: 130px; background: 0 100% / 200% 100% no-repeat; image-rendering: pixelated; }
.npc-pet { height: 62px; margin-bottom: 4px; border: 0 !important; image-rendering: pixelated; }
.npc-blur { filter: blur(6px); pointer-events: none; user-select: none; padding: 4px 2px 10px; }
.npc-blur b, .npc-blur p { display: flex; gap: 6px; margin: 0 0 8px; }
.npc-blur i { display: block; flex: 1; height: 12px; border-radius: 6px; background: #c9c3b2; }
.npc-blur b i { height: 18px; background: #8f8a7d; }
.npc-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 8px; }
.npc-chips span { width: 64px; height: 22px; border-radius: 11px; background: #ffd6e2; }
.npc-blurtxt { filter: blur(5px); user-select: none; pointer-events: none; }
.npc-ph { display: flex; gap: 6px; margin: 4px 0; }
.npc-ph i { display: block; flex: 1; min-width: 40px; height: 12px; border-radius: 6px; background: currentColor; opacity: .45; }
.npc-card .chips span { display: inline-block; min-width: 54px; }
/* phones: the card bar (count, likes left, 펫에게 부탁, 골드, 코인 충전, ×) fits one line */
@media (max-width: 430px) { .card-layer .card-top { gap: 4px; } .card-layer .card-top .ask-btn, .card-layer .card-top .tier, .card-layer .card-top .coin-mini { padding: 5px 6px; font-size: 10.5px; } .card-layer .card-top .ll, .card-layer .card-top .coin-bal { padding: 4px 6px; font-size: 10px; } .card-layer .card-top .x { width: 30px; height: 30px; } }

/* bottom sheet titles: the buttons' pixel font and size (Galmuri11 12px; Suji, 2026-11-23) */
.air-title, .pw-reason, .coin-box h2 { font-family: Galmuri11, "Apple SD Gothic Neo", "Noto Sans KR", -apple-system, BlinkMacSystemFont, "Malgun Gothic", sans-serif; font-size: 12px !important; font-weight: 700; letter-spacing: 0; }

/* 내 카드: the ask box lists only what's missing (Suji, 2026-11-23). Done steps are a checked line, choices are radio options */
.tcard .ask .ask-bar { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; }
.tcard .ask .ask-bar i { height: 6px; border-radius: 3px; background: rgba(34, 30, 20, .14); }
.tcard .ask .ask-bar i.on { background: var(--ink); }
.tcard .ask .ask-done { display: flex; flex-wrap: wrap; gap: 4px 12px; margin: 0; padding: 0; list-style: none; }
.tcard .ask .ask-done li { display: flex; align-items: center; gap: 4px; font-size: 12px; font-weight: 600; opacity: .7; }
.tcard .ask .ask-done svg { width: 14px; height: 14px; fill: none; stroke: #1f9d55; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.tcard .ask .ask-done em { font-style: normal; }
.tcard .ask .ask-done span { font-weight: 800; }
.tcard .ask .sec.pick.need { margin-top: 2px; padding: 10px; border-radius: 12px; background: #fff; }
.tcard .ask .sec.pick.need em { display: flex; align-items: center; gap: 6px; margin-bottom: 8px; color: var(--ink); opacity: 1; font-size: 13px; font-weight: 800; }
.tcard .ask .sec.pick.need em small { padding: 1px 6px; border-radius: 6px; background: #ff5d8f; color: #fff; font-size: 10.5px; font-weight: 800; }
.tcard .ask .go-o.opt button { display: inline-flex; align-items: center; gap: 6px; padding: 7px 11px 7px 9px; border: 1.5px solid #cfc8ad; border-radius: 999px; background: #fffdf4; font-weight: 600; }
.tcard .ask .go-o.opt button::before { content: ""; width: 12px; height: 12px; flex: none; border: 2px solid #b3ab8c; border-radius: 50%; background: #fff; }
.tcard .ask .go-o.opt button:hover, .tcard .ask .go-o.opt button:focus-visible { border-color: var(--ink); }
.tcard .ask .ask-field { display: flex; align-items: center; justify-content: space-between; width: 100%; padding: 9px 8px 9px 12px; border: 2px dashed #b3ab8c; border-radius: 12px; background: #fffdf4; font: inherit; font-size: 14px; color: #9a9585; cursor: pointer; }
.tcard .ask .ask-field i { padding: 4px 10px; border-radius: 8px; background: var(--ink); color: #fff; font-style: normal; font-size: 12px; font-weight: 800; }

/* 풍선에서 내려가기 (Suji's 02 board, 2026-11-24): where the web had it, built from the app's 내 정보 parts. Dark boxes,
   birthdate in three boxes (in the order the language writes dates), gender in three, then 1 of 3 looks each, lemon button.
   No step dots under the title (Suji, 2026-11-24). The same sheet is 내 프로필 만들기 for a new account: its own title and note */
.sheet.air .sheet-body { max-height: 70dvh; padding: 22px 16px calc(14px + var(--safe-b)); border-color: #000; background: #1c1c1e; color: #f2f2f2; }
.sheet.air .sheet-body::before { background: #4a4a4e; }
.sheet.air:not(.profile) .p, .sheet.air.profile .g { display: none; }
.air-step[hidden] { display: none; }
.air-head { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 8px; margin: 0 0 6px; min-height: 22px; }
.air-head .air-title { grid-column: 2; margin: 0; color: #fff; text-align: center; }
.sheet.air .air-head #airLogin { grid-column: 3; justify-self: end; margin: 0; padding: 4px 0 4px 8px; border: 0; background: none; font: inherit; font-size: 12px; font-weight: 700; color: #a8a8ad; text-decoration: underline; white-space: nowrap; }
.sheet.air .air-head #airLogin[hidden] { display: none; }
.air-sub, .sheet.air .air-note { margin: 0 0 16px; font-size: 12px; font-weight: 600; color: #a8a8ad; line-height: 1.45; text-align: center; word-break: keep-all; }
.air-row { margin: 0 0 12px; min-width: 0; }
.air-row[hidden], .air-row [hidden] { display: none; }
.air-row em { display: block; margin: 0 0 6px; font-style: normal; font-size: 12px; font-weight: 700; color: #a8a8ad; }
.air-two { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.air-two:has(> [hidden]) { grid-template-columns: 1fr; }
.air-two > div { min-width: 0; }   /* 내 이름 and 펫 이름 each carry their own label (hyeoksu2, 11-24: one 「이름」 read like the app's 성, 이름) */
.sheet.air input, .sheet.air textarea { width: 100%; min-width: 0; height: 44px; padding: 0 12px; border: 1.5px solid transparent; border-radius: 10px; background: #2c2c2e; color: #fff; font: inherit; font-size: 16px; font-weight: 700; outline: none; }
.sheet.air input::placeholder, .sheet.air textarea::placeholder { color: #6e6e73; font-weight: 600; }
.sheet.air input:focus, .sheet.air textarea:focus { border-color: #fff; }
.air-bd { display: flex; gap: 8px; }
.air-bd input { flex: 1 1 0; }
.air-bd input[data-part="y"] { flex-grow: 1.45; }
.air-chips { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.air-chips button { height: 44px; padding: 0 4px; border: 1.5px solid transparent; border-radius: 10px; background: #2c2c2e; color: #a8a8ad; font: inherit; font-size: 14px; font-weight: 700; white-space: nowrap; cursor: pointer; }
.air-chips button[aria-checked="true"] { border-color: #fff; background: #000; color: #fff; }
/* the box a tap on the ground points at: a short shake and a red edge (visit log 11-25) */
.sheet.air input.air-bad, .sheet.air .air-bd.air-bad input, .sheet.air .air-chips.air-bad button { border-color: #ff6b6b; box-shadow: 0 0 0 3px rgba(255, 107, 107, .2); }
.sheet.air .air-row.air-bad em { color: #ff6b6b; }
.sheet-body.air-shake { animation: airShake .36s; }
@keyframes airShake { 20% { transform: translateX(-6px); } 45% { transform: translateX(5px); } 70% { transform: translateX(-3px); } 100% { transform: none; } }
/* one line under 성별: where teens walk, or (red) why 다음 is off */
.air-msg { min-height: 16px; margin: 2px 0 12px; color: #8e8e93; font-size: 12px; font-weight: 600; line-height: 1.4; word-break: keep-all; }
.air-msg.bad { color: #ff6b6b; font-weight: 700; }
.air-msg.bad:empty { min-height: 0; margin: 0; }
.air-go { display: block; width: 100%; height: 48px; border: 0; border-radius: 12px; background: var(--lemon); color: var(--ink); font: inherit; font-size: 15px; font-weight: 800; cursor: pointer; }
.air-go:disabled { background: #3a3a3c; color: #6e6e73; cursor: default; }
/* step 2: one line about me and my pet, the closest presets are assigned from it */
.sheet.air textarea { display: block; height: auto; min-height: 92px; margin: 0 0 12px; padding: 12px; line-height: 1.45; resize: none; }
@media (max-height: 720px) {
  .sheet.air .sheet-body { padding-top: 16px; }
  .air-sub, .sheet.air .air-note { margin-bottom: 10px; }
  .air-row { margin-bottom: 8px; } .air-row em { margin-bottom: 4px; }
  .sheet.air input, .air-chips button { height: 40px; }
  .air-go { height: 44px; }
}

/* card photo staged as one scene (see stagePhoto); hidden for the moment it takes to place them */
.tcard .photo:has(.avimg[src]):not(.staged):not(.stage-skip) img { visibility: hidden; }
.tcard .photo.staged img { max-width: none; }
.tcard .photo.staged img:not(.blurred) { filter: none; }
.tcard .photo .stage-shadow { position: absolute; height: 10px; border-radius: 50%; background: rgba(40, 40, 60, .16); pointer-events: none; }

/* coins look as in the app: the yellow c.circle.fill mark before the amount (mobile CoinAmountLabel, Suji 2026-11-23) */
.ss-coin { display: inline-block; width: 1.05em; height: 1.05em; margin-right: .2em; vertical-align: -.16em; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='11' fill='%23FFD400'/%3E%3Cpath d='M15.6 8.7a5 5 0 1 0 0 6.6' fill='none' stroke='%23fff' stroke-width='2.8' stroke-linecap='round'/%3E%3C/svg%3E") center / contain no-repeat; }
.card-top .coin-bal { display: inline-flex; align-items: center; color: #fff; }

/* 펫에게 부탁하기: the line is a speech bubble over my pet's head, its tail pointing down at the pet (as on the walk) */
.endcard.ask .end-in { justify-content: flex-start; padding-top: 28px; }
.endcard.ask .pet-line { position: relative; max-width: 92%; word-break: keep-all; margin: 0 0 16px; padding: 10px 16px; border: 2.5px solid var(--ink); border-radius: 18px; background: #fff; box-shadow: 0 3px 0 rgba(0,0,0,.12); }
.endcard.ask .pet-line::after { content: ""; position: absolute; left: 50%; bottom: -9px; width: 14px; height: 14px; background: #fff; border-right: 2.5px solid var(--ink); border-bottom: 2.5px solid var(--ink); transform: translateX(-50%) rotate(45deg); border-bottom-right-radius: 3px; }
.endcard.ask .end-pet { width: 104px; height: 104px; margin: 0 0 14px; object-fit: contain; object-position: center bottom; }

/* 내 카드: a checklist of what compatibility needs; the choices are in 설정 (Suji, 2026-11-23) */
.tcard .ask .ask-list { display: flex; flex-direction: column; gap: 6px; margin: 2px 0 0; padding: 10px 12px; border-radius: 12px; background: #fff; list-style: none; }
.tcard .ask .ask-list li { display: flex; align-items: center; gap: 8px; font-size: 13px; }
.tcard .ask .ask-list em { flex: 1; font-style: normal; font-weight: 700; }
.tcard .ask .ask-list li.done em { font-weight: 600; opacity: .6; }
.tcard .ask .ask-list li.done span { font-weight: 800; }
.tcard .ask .ask-list svg { width: 16px; height: 16px; flex: none; fill: none; stroke: #1f9d55; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.tcard .ask .ask-list li.todo i { width: 16px; height: 16px; flex: none; border: 2px dashed #b3ab8c; border-radius: 50%; }
.tcard .ask .ask-list small { padding: 1px 6px; border-radius: 6px; background: #ff5d8f; color: #fff; font-size: 10.5px; font-weight: 800; }
.tcard .ask .ask-go { margin-top: 2px; padding: 10px; border: 2px solid var(--ink); border-radius: 12px; background: var(--ink); color: #fff; font: inherit; font-size: 13.5px; font-weight: 800; cursor: pointer; }
.tcard .sec.vals .val-row { display: flex; flex-wrap: wrap; gap: 6px; }
.tcard .sec.vals .val-row span { display: inline-flex; align-items: baseline; gap: 5px; padding: 5px 10px; border: 1.5px solid #e6e0c8; border-radius: 10px; background: #fff; font-size: 12.5px; font-weight: 700; }
.tcard .sec.vals .val-row small { font-size: 10.5px; font-weight: 600; opacity: .55; }
.tcard .sec.vals .val-edit { align-self: flex-start; margin-top: 6px; padding: 0; border: 0; background: none; font: inherit; font-size: 11.5px; color: #8a846e; text-decoration: underline; cursor: pointer; }
/* my card: a missing item is filled right there (설정 is for changing it later) */
.tcard .ask .ask-list li.todo.pick { flex-direction: column; align-items: stretch; gap: 6px; }
.tcard .ask .ask-list .ask-row { display: flex; align-items: center; gap: 8px; }
.tcard .ask .ask-opts { display: flex; flex-wrap: wrap; gap: 6px; padding-left: 24px; }
.tcard .ask .ask-opts button, .tcard .ask .ask-put { padding: 5px 11px; border: 2px solid var(--ink); border-radius: 999px; background: #fff; font: inherit; font-size: 12.5px; font-weight: 700; color: var(--ink); cursor: pointer; }
.tcard .ask .ask-put { background: var(--ink); color: #fff; }
.tcard .ask .ask-later { margin: 0; font-size: 11.5px; font-weight: 600; opacity: .65; }
/* 설정 > 궁합에 쓰는 정보 */
#setCompat .set-v { display: inline-flex; align-items: center; gap: 8px; }
#setCompat .set-g { margin-top: 10px; }
#setCompat .set-g em { display: block; margin-bottom: 6px; font-style: normal; font-size: 12px; font-weight: 700; opacity: .65; }
#setCompat .go-o button[hidden], #setBdayBtn[hidden] { display: none; }
#setCompat[hidden] { display: none; }
.tcard .ask .ask-list em { margin: 0; text-align: left; font-size: 13px; }
/* the sticky dialog header stays above sections scrolling under it */
.dlg header { z-index: 3; }
/* products that are off (PAID_OFF) leave the card bar */
.card-actions button[hidden], .card-top .ll[hidden] { display: none !important; }
/* 펫끼리 대화: the buttons step back with the walk so only the two pets' bubbles hold the eye (Suji, 2026-11-24) */
body.pet-talk .hud-top, body.pet-talk .side, body.pet-talk .zone-left, body.pet-talk #clock, body.pet-talk #hint, body.pet-talk #dock { opacity: 0 !important; pointer-events: none !important; transition: opacity .4s; }
/* my card: make my avatar or my pet right here (Suji, 2026-11-24) */
.tcard .make-row { position: absolute; top: 12px; left: 12px; z-index: 2; display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
.tcard .make-row button { padding: 6px 10px; border: 2px solid var(--ink); border-radius: 12px; background: #fff; font: inherit; font-size: 11.5px; font-weight: 800; color: var(--ink); box-shadow: 0 2px 0 var(--ink); }
.tcard .make-row button::before { content: "✨ "; }
.tcard .qa-add { display: block; width: 100%; margin: 10px 0 0; padding: 9px 12px; border: 2px solid var(--ink); border-radius: 12px; background: #ffe066; font: inherit; font-size: 12.5px; font-weight: 800; color: var(--ink); box-shadow: 0 2px 0 var(--ink); }
/* the unlock sits at the bottom of a locked card, big and always in view while the card scrolls (Suji, 2026-11-24:
   the small badge top right was hard to see) */
.tcard .body > .guest-note[data-unlock] { position: sticky; bottom: 0; z-index: 3; margin-top: auto; text-align: center; padding: 13px 12px; border-radius: 14px; font-size: 14.5px; font-weight: 800; box-shadow: 0 3px 0 var(--ink); }
.tcard .body > .guest-note[data-unlock]::before { content: "🔒 "; }
.tcard .body > .guest-note[data-unlock].free { background: #2fbf55; color: #fff; }
.tcard .body > .guest-note[data-unlock].open::before { content: none; }
/* what a pet talk, treat or like did, under the buttons */

/* 그룹 미팅 (sniffsniff.ai/groups): my group and the people on a streak with me, in a strip across the top of the Live Q&A room */
.grp-box { position: absolute; top: calc(160px + var(--safe-t)); left: 10px; right: 10px; display: flex; flex-direction: column; gap: 5px; padding: 6px 8px; border: 2px solid var(--ink); border-radius: 14px; background: rgba(21, 21, 21, .74); color: #fff; font-size: 11px; box-shadow: 0 3px 0 var(--ink); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); transition: opacity .6s; }
.grp-box[hidden] { display: none; }
.grp-row { display: flex; align-items: center; gap: 5px; overflow-x: auto; white-space: nowrap; scrollbar-width: none; }
.grp-row::-webkit-scrollbar { display: none; }
.grp-tag { flex: none; padding: 3px 8px; border-radius: 8px; background: var(--g, var(--lemon)); color: var(--ink); font-style: normal; }
.grp-row[style] .grp-tag { color: #fff; }
.grp-k { flex: none; opacity: .92; }
.grp-k.dim { opacity: .6; }
.grp-row button { flex: none; display: inline-flex; align-items: center; gap: 4px; padding: 2px 8px; border: 2px solid var(--g, #ffd23f); border-radius: 9px; background: var(--cream); color: var(--ink); font-size: 11px; line-height: 1.3; }
.grp-row.runs button { border-color: #ffd23f; }
.grp-row button b { color: #e0344a; }
body.idle .grp-box { opacity: .25; }
body.mung .grp-box, body.cards .grp-box { opacity: 0 !important; pointer-events: none; }
/* 친구랑 같이 걷기 */
.side-pill.pair { background: #c9f3da; font-weight: 800; }
.side-pill.pair.on { background: #2fbf6e; color: #fff; }
.sheet.pair { z-index: 41; }
.sheet.pair .pair-h { margin: 6px 0 6px; font-size: 19px; }
.sheet.pair .pair-p { margin: 0 0 14px; font-size: 13.5px; line-height: 1.55; color: #5f5a48; }
.sheet.pair .pair-share { --c: #2fbf6e; font-weight: 800; font-size: 15px; }
.sheet.pair .pair-copy, .sheet.pair .pair-stop { display: block; width: 100%; margin: 9px 0 0; padding: 12px; border: 2px solid var(--ink); border-radius: 14px; background: #fff; font: inherit; font-size: 14px; font-weight: 800; color: var(--ink); box-shadow: 0 3px 0 var(--ink); }
.sheet.pair .pair-stop { background: #f1ede0; }
.sheet.pair .pair-fine { margin: 12px 0 0; font-size: 12px; line-height: 1.5; color: #8a846e; }
.sheet.pair [hidden] { display: none !important; }
/* 다시 불러오기 > 필터로 불러오기 */
.card-top .reload-btn { background: #7a86ff; }
.card-layer.self .reload-btn, .card-layer.end .reload-btn { display: none; }
#sheet .flt-h { margin: 18px 0 2px; font-size: 15px; font-weight: 800; }
#sheet .flt-k { margin: 10px 0 6px; font-size: 12px; font-weight: 700; opacity: .65; }
#sheet .flt-row button.on { border-color: var(--ink); background: var(--ink); color: #fff; }
#sheet .flt-in { width: 100%; padding: 10px 12px; border: 1.5px solid #d7d2bd; border-radius: 11px; font: inherit; font-size: 16px; background: #fff; }
#sheet #fltGo { margin-top: 14px; }
/* 펫끼리 대화 as a 포켓몬 대결 (Suji, 2026-11-23): both pets' plates on top and the 궁합 hearts between them; a heart
   fills on each thing their humans share, with what it was */
.talk-hud { position: absolute; left: 50%; top: calc(14px + var(--safe-t)); transform: translateX(-50%); z-index: 7; display: flex; align-items: center; gap: 8px; width: min(420px, calc(100% - 32px)); pointer-events: none; animation: pop .35s ease-out; }
.talk-hud[hidden] { display: none; }
.talk-hud .th-side { flex: 1; min-width: 0; padding: 7px 10px; border: 2px solid var(--ink); border-radius: 14px; background: var(--cream); box-shadow: 0 3px 0 var(--ink); }
.talk-hud .th-side.me { background: var(--lemon); }
.talk-hud .th-side.them { text-align: right; background: #ffd6e4; }
.talk-hud .th-side b { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 13px; }
.talk-hud .th-mid { position: relative; display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 6px 8px; border: 2px solid var(--ink); border-radius: 14px; background: #fff; box-shadow: 0 3px 0 var(--ink); }
.talk-hud .th-mid em { font-style: normal; font-size: 10px; opacity: .7; }
.talk-hud .th-hearts { display: flex; gap: 2px; }
.talk-hud .th-hearts i { width: 13px; height: 12px; background: #d9d9d9; clip-path: path("M6.5 12 L1 6.2 A3.2 3.2 0 0 1 6.5 1.8 A3.2 3.2 0 0 1 12 6.2 Z"); transition: background .3s, transform .3s; }
.talk-hud .th-hearts i.on { background: #ff4f7b; transform: scale(1.2); }
.talk-hud .th-got { position: absolute; top: calc(100% + 6px); left: 50%; transform: translateX(-50%); padding: 3px 8px; border: 2px solid var(--ink); border-radius: 10px; background: #ff4f7b; color: #fff; font-size: 11px; white-space: nowrap; opacity: 0; }
.talk-hud .th-got.pop { animation: thGot 2.2s ease-out; }
@keyframes thGot { 0% { opacity: 0; transform: translate(-50%, -4px); } 12% { opacity: 1; transform: translate(-50%, 0); } 80% { opacity: 1; } 100% { opacity: 0; } }

/* 51 계정 삭제: 설정 맨 아래 link and its sheet (hyeoksu2's final board, 2026-11-24) */
.set-del { margin: 4px auto 18px; font: inherit; font-size: 12px; color: #8a846e; }
.set-del[hidden] { display: none; }
.del-intro { padding: 4px 18px; }
.del-intro strong { display: block; font-size: 15px; }
.del-intro p { margin: 4px 0 0; font-size: 13px; opacity: .75; }
.del-card { border: 2px solid var(--ink); border-radius: 14px; background: #fff; overflow: hidden; }
.del-opt { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 11px 14px; color: inherit; text-decoration: none; cursor: pointer; }
.del-opt + .del-opt { border-top: 1.5px solid #e6e1cc; }
.del-opt span { display: flex; flex-direction: column; gap: 2px; }
.del-opt b { font-size: 14px; }
.del-opt small { font-size: 11.5px; opacity: .65; }
.del-opt i { font-style: normal; font-size: 18px; opacity: .5; }
.del-opt input { flex: none; width: 20px; height: 20px; accent-color: var(--ink); }
.del-loses { display: flex; padding: 12px 6px; }
.del-loses > div { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 2px; min-width: 0; }
.del-loses b { display: flex; align-items: center; gap: 4px; max-width: 100%; overflow: hidden; font-size: 14px; text-overflow: ellipsis; white-space: nowrap; }
.del-loses small { font-size: 11px; opacity: .6; }
.del-list { margin: 0; padding: 10px 12px 10px 28px; border: 2px solid var(--ink); border-radius: 14px; background: #fff; font-size: 12.5px; line-height: 1.5; }
.del-list li + li { margin-top: 4px; }
.del-list a { color: var(--ink); font-weight: 800; }
.del-check { display: flex; align-items: center; gap: 8px; margin: 6px 18px 0; font-size: 13px; cursor: pointer; }
.del-check input { width: 18px; height: 18px; accent-color: var(--ink); }
.del-check.shake { animation: delShake .42s ease-out; }
@keyframes delShake { 20% { transform: translateX(-7px); } 40% { transform: translateX(6px); } 60% { transform: translateX(-4px); } 80% { transform: translateX(2px); } }
.del-err { margin: 8px 18px 0; font-size: 12px; color: #c0392b; }
.del-err:empty { display: none; }
.del-dlg .solid { background: #fff; }
.del-go { margin: 0 auto 20px; font: inherit; font-size: 13px; }
.del-confirm header { justify-content: center; }
.del-confirm-msg { margin: 4px 18px 0; font-size: 14px; text-align: center; }
.del-confirm-sub { margin: 6px 18px 0; font-size: 12.5px; text-align: center; color: #8a6d00; }
.del-confirm-btns { display: flex; gap: 8px; padding: 16px 18px 18px; }
.del-confirm-btns button { flex: 1; padding: 11px; font-size: 14px; }
.del-yes { border: 2px solid var(--ink); border-radius: 12px; background: #e5484d; color: #fff; font-weight: 800; }
/* 공지사항: a row in 설정 with how many are new, and one sheet for the list and a notice (54. 공지사항) */
.nb-dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: #ff4d4d; vertical-align: middle; }
.nb-dot[hidden] { display: none; }
.notice-btn { display: inline-flex; align-items: center; gap: 6px; }
.notice-dlg header h2 { flex: 1; }
.notice-dlg .nb-back:not([hidden]) + h2 { text-align: center; }
.notice-dlg .nb-back { display: grid; place-items: center; }
.notice-dlg .nb-back[hidden] { display: none; }
.notice-dlg .nb-back svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.notice-list { list-style: none; margin: 0; padding: 4px 18px 12px; display: grid; gap: 6px; }
.notice-list[hidden] { display: none; }
.notice-list button { display: grid; gap: 4px; width: 100%; padding: 11px 12px; border: 2px solid var(--ink); border-radius: 14px; background: #fff; text-align: left; }
.notice-list b { font-size: 14px; line-height: 1.35; }
.notice-list small, .notice-view > small { font-size: 11px; font-weight: 600; opacity: .55; }
.nl-tags, .nv-tags { display: flex; align-items: center; gap: 5px; margin: 0; }
.nt { padding: 2px 7px; border-radius: 7px; background: #ece9dc; font-size: 10.5px; }
.nt.pin { background: var(--lemon); border: 1.5px solid var(--ink); padding: 1px 6px; }
.notice-empty { margin: 28px 18px; text-align: center; font-size: 13px; opacity: .6; }
.notice-more { display: block; margin: 0 auto 18px; }
.notice-more[hidden] { display: none; }
.notice-view { padding: 4px 18px 22px; }
.notice-view h3 { margin: 10px 0 6px; font-size: 17px; line-height: 1.35; opacity: 1; }
.nv-body { margin-top: 14px; padding-top: 14px; border-top: 1.5px solid #e4e0cf; font-size: 13.5px; font-weight: 500; line-height: 1.6; }
.nv-body p { margin: 0 0 6px; overflow-wrap: anywhere; }
.nv-body h4 { margin: 14px 0 4px; font-size: 14px; font-weight: 800; }

/* 웹 하우스 (Suji, 2026-11-24, 시안 19): the walk portal and 「< 하우스로」 lead here instead of the app store. The app's
   house as it looks now (Suji: 기존 유지), without the app-only buttons (clothes, decorating, mail, album, subscription). */
.house-btn { padding: 0 8px 0 4px; font-size: 13px; font-weight: 700; white-space: nowrap; }
.house-btn svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
@media (max-width: 400px) { .house-btn span { display: none; } .house-btn { padding: 0 4px; } }
.house-layer { position: absolute; inset: 0; z-index: 45; background: #1c2a5a; overflow: hidden; }
.house-layer[hidden] { display: none; }
body.house .toast { z-index: 46; }
.house-room { position: absolute; inset: 0; background: url(./img/house-room.webp) center top / cover no-repeat; image-rendering: pixelated; transition: background-image .25s; }
.house-top { position: absolute; top: calc(12px + var(--safe-t)); right: 12px; display: flex; gap: 6px; }
.house-coin { display: flex; align-items: center; gap: 4px; background: rgba(20, 20, 20, .55); color: #fff; padding: 5px 10px; border-radius: 14px; font-size: 13px; }
.house-coin[hidden] { display: none; }
.house-portal { position: absolute; right: 4%; top: 25%; width: 27%; max-width: 150px; aspect-ratio: 240 / 277; border: 0; background: none; padding: 0; cursor: pointer; }
.house-portal .hp-view { position: absolute; left: 17%; right: 17%; top: 13%; bottom: 13%; border-radius: 50%; overflow: hidden; background: #9fd3f5; }
.house-portal .hp-view img { width: 100%; height: 100%; object-fit: cover; }
.house-portal .hp-ring { position: absolute; inset: 0; background: url(./img/portal.png) 0 0 / 1000% 100% no-repeat; animation: hpSpin 1s steps(10) infinite; }
@keyframes hpSpin { to { background-position: -1000% 0; } }
.house-portal b, .house-portal small { position: absolute; left: 50%; transform: translateX(-50%); white-space: nowrap; color: #fff; }
.house-portal b { top: 100%; font-size: 15px; text-shadow: 0 1px 2px #000, 0 0 3px #000; }
.house-portal small { top: calc(100% + 21px); font-size: 11px; background: rgba(0, 0, 0, .5); padding: 1px 8px; border-radius: 9px; }
.house-pair { position: absolute; left: 0; right: 0; bottom: calc(16% + var(--safe-b)); display: flex; justify-content: center; align-items: flex-end; gap: 8%; pointer-events: none; }
.house-pair figure { margin: 0; display: flex; flex-direction: column; align-items: center; }
.house-pair img { image-rendering: pixelated; display: block; }
.hp-pet img { width: 80px; }
.hp-me img { height: 150px; }
.house-pair figcaption { margin-top: 4px; color: #fff; font-size: 12px; font-weight: 700; text-shadow: 0 1px 2px #000; }

/* board 57 2단계 in the app's room (?app=1, signed in through the app): ③ the lemon check on 「내 답으로 남겼어요」,
   ⑤ 「LIVE에서 남긴 내 답」 as the app's dark sheet (Game UI v1.1) */
.toast.ok { display: flex; align-items: center; gap: 8px; width: max-content; max-width: calc(100vw - 32px); border-color: #151515; background: #151515; color: #fff; font-size: 13px; font-weight: 800; }
.toast.ok::before { content: "✓"; flex: none; display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: var(--lemon); color: #151515; font-size: 12px; font-weight: 900; }
.app-mode.in-qa .hint { pointer-events: auto; cursor: pointer; }
.sheet.live-mine .sheet-body { border-color: #1c1c1e; background: #1c1c1e; color: #fff; padding: 24px 16px calc(20px + var(--safe-b)); }
.sheet.live-mine .sheet-body::before { background: #48484a; }
.sheet.live-mine .sx { right: 14px; top: 16px; width: 40px; height: 40px; border: 0; border-radius: 50%; background: #2c2c2e; color: #fff; font-size: 20px; }
.live-h { margin: 8px 56px 16px 4px; font-size: 20px; font-weight: 800; letter-spacing: -.2px; }
.live-list { margin: 0; padding: 0; list-style: none; }
.live-row { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; padding: 14px 16px; border-radius: 16px; background: #2c2c2e; }
.live-row > div { flex: 1; min-width: 0; }
.live-row .lq { margin: 0 0 4px; color: #aeaeb2; font-size: 13px; line-height: 1.35; }
.live-row .la { margin: 0; font-size: 16px; font-weight: 800; line-height: 1.35; }
.live-row button, .live-opts button { flex: none; min-height: 40px; padding: 0 14px; border: 0; border-radius: 12px; background: #3a3a3c; color: #fff; font: inherit; font-size: 13px; font-weight: 800; cursor: pointer; }
.live-opts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.live-opts button.on { background: var(--lemon); color: #151515; }
.live-opts button:disabled { opacity: .5; }
.live-tag { display: inline-flex; align-items: center; gap: 6px; margin: 4px 0 0; padding: 8px 12px; border-radius: 999px; background: rgba(246,255,123,.14); color: var(--lemon); font-size: 13px; font-weight: 800; }
.live-tag::before { content: "✦"; }
.live-empty { margin: 4px 4px 8px; color: #aeaeb2; font-size: 14px; line-height: 1.5; }
/* board 57 ①: 「산책길로」 keeps its word on narrow phones too (the app's room has no other head buttons beside it) */
@media (max-width: 400px) { .app-mode #appBackBtn span { display: inline; } .app-mode #appBackBtn { padding: 0 12px 0 6px; } }
