/* ============================================================
   GAME SCREEN — mockup layout (docs/최종 메인 시안, UI 개선)
   ============================================================ */
#game-screen { padding: 0; background: #efe3d3; overflow: hidden; }

.glass {
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(14px) saturate(1.3);
  -webkit-backdrop-filter: blur(14px) saturate(1.3);
  border: 1px solid rgba(255, 255, 255, 0.9);
  box-shadow: 0 10px 30px rgba(80, 55, 35, 0.12);
}
.card { border-radius: 20px; padding: 14px 16px; }
.card h3 { font-size: 0.92rem; font-weight: 800; margin-bottom: 10px; display: flex; gap: 6px; align-items: center; }
.card h3 small { margin-left: auto; font-weight: 600; color: var(--text-muted); }
.tag { display: inline-block; font-size: 0.7rem; font-weight: 800; padding: 2px 8px; border-radius: 999px; background: #fde4e4; color: #d45a55; }
.tag.accent { background: #dff2ee; color: #2e8577; }
.muted { color: var(--text-muted); }
.icon-btn { width: 40px; height: 40px; border-radius: 12px; border: none; background: rgba(255,255,255,0.8); font-size: 1.1rem; cursor: pointer; }
.link-btn { border: none; background: rgba(61,155,143,0.08); color: #2e8577; font-weight: 700; padding: 9px 12px; border-radius: 12px; width: 100%; cursor: pointer; font-family: var(--font); }
.btn-primary.sm { padding: 10px 14px; font-size: 0.85rem; margin-top: 10px; width: 100%; }

/* ---------- scene ---------- */
.scene { position: absolute; inset: 0; overflow: hidden; }
.room { position: absolute; inset: 0; width: 100%; height: 100%; }
.room .sky-top { stop-color: #bfe0f7; }
.room .sky-bottom { stop-color: #f5ecd9; }
.room .sun { fill: #fff3c4; }
.room .night-shade { fill: #1b2340; opacity: 0; transition: opacity 0.8s; pointer-events: none; }
.scene[data-time="afternoon"] .room .sky-top { stop-color: #a9d4f5; }
.scene[data-time="evening"] .room .sky-top { stop-color: #f6b48a; }
.scene[data-time="evening"] .room .sky-bottom { stop-color: #f9dcb8; }
.scene[data-time="evening"] .room .sun { fill: #ffb27a; }
.scene[data-time="evening"] .room .night-shade { opacity: 0.12; }
.scene[data-time="night"] .room .sky-top { stop-color: #1d2a52; }
.scene[data-time="night"] .room .sky-bottom { stop-color: #3a4a78; }
.scene[data-time="night"] .room .sun { fill: #eef1ff; }
.scene[data-time="night"] .room .sunbeam { opacity: 0; }
.scene[data-time="night"] .room .night-shade { opacity: 0.32; }

/* ---------- HUD ---------- */
.g-hud {
  position: absolute; top: calc(12px + var(--safe-top)); left: 16px; right: 326px;
  display: flex; align-items: center; gap: 14px; padding: 10px 14px; border-radius: 22px; z-index: 5;
}
.g-brand { display: flex; align-items: center; gap: 8px; padding-right: 12px; border-right: 1px solid rgba(0,0,0,0.06); }
.g-brand .paw { font-size: 1.6rem; }
.g-brand b { display: block; font-size: 1.15rem; color: #2f6fb3; letter-spacing: -0.02em; }
.g-brand small { font-size: 0.66rem; color: var(--text-muted); }
.g-dog { display: flex; align-items: center; gap: 10px; border: none; background: none; cursor: pointer; text-align: left; font-family: var(--font); padding: 0 12px 0 0; border-right: 1px solid rgba(0,0,0,0.06); }
.g-avatar { width: 46px; height: 46px; border-radius: 50%; background: linear-gradient(160deg, #fff, #fbe8d6); display: grid; place-items: center; font-size: 1.7rem; box-shadow: inset 0 0 0 2px #fff, 0 2px 8px rgba(0,0,0,0.1); }
.g-dog-text b { display: block; font-size: 1.02rem; }
.g-dog-text small { color: var(--text-muted); font-size: 0.78rem; }
.g-meters { display: flex; gap: 16px; flex: 1; min-width: 0; }
.g-meter { display: flex; gap: 8px; align-items: center; flex: 1; min-width: 0; }
.g-meter .ico { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; font-size: 1.15rem; background: #f4f6f8; flex-shrink: 0; }
.g-meter > div { flex: 1; min-width: 0; }
.g-meter .lbl { display: flex; justify-content: space-between; font-size: 0.78rem; font-weight: 700; }
.g-meter .lbl b { font-weight: 800; }
.g-meter .track { height: 7px; border-radius: 99px; background: #edf0f3; margin: 4px 0 3px; overflow: hidden; }
.g-meter .track i { display: block; height: 100%; border-radius: 99px; transition: width 0.5s var(--ease); }
.g-meter[data-k="stress"] .track i { background: linear-gradient(90deg, #6fd08c, #f2b33d, #e06a5f); background-size: 300% 100%; }
.g-meter[data-k="energy"] .track i { background: linear-gradient(90deg, #ffd25a, #f29a1f); }
.g-meter[data-k="trust"] .track i { background: linear-gradient(90deg, #7fb3ff, #3d7fe0); }
.g-meter small.qual { font-size: 0.68rem; color: var(--text-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; display: block; }
.g-meter.warn .ico { background: #fde4e4; animation: pulseIco 1.4s infinite; }
@keyframes pulseIco { 50% { transform: scale(1.08); } }

.g-hud-right { position: absolute; top: calc(12px + var(--safe-top)); right: 16px; width: 296px; display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 22px; z-index: 5; }
.g-clock, .g-points { display: flex; align-items: center; gap: 8px; flex: 1; }
.g-clock > span:first-child, .g-points > span:first-child { font-size: 1.4rem; }
.g-clock b, .g-points b { display: block; font-size: 0.95rem; white-space: nowrap; }
.g-clock small, .g-points small { display: block; font-size: 0.66rem; color: var(--text-muted); white-space: nowrap; }
.g-points { flex: 0 0 auto; }
.g-clock { min-width: 0; }

/* ---------- side columns ---------- */
.g-left { position: absolute; left: 16px; top: 110px; width: 300px; display: flex; flex-direction: column; gap: 12px; z-index: 4; }
.g-right { position: absolute; right: 16px; top: 110px; width: 300px; display: flex; flex-direction: column; gap: 12px; z-index: 4; max-height: calc(100% - 250px); }
.g-log ol { list-style: none; display: flex; flex-direction: column; gap: 7px; max-height: 190px; overflow-y: auto; }
.g-log li { display: grid; grid-template-columns: 22px 40px 1fr; gap: 6px; align-items: start; font-size: 0.78rem; }
.g-log li .dot { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-size: 0.7rem; }
.g-log li .dot.good { background: #dff4e6; } .g-log li .dot.bad { background: #fde4e4; } .g-log li .dot.warn { background: #fff1d6; } .g-log li .dot.info { background: #e7eefb; }
.g-log li time { color: var(--text-muted); font-variant-numeric: tabular-nums; padding-top: 3px; }
.g-log li span { padding-top: 3px; line-height: 1.35; }
.g-log li.empty { display: block; color: var(--text-muted); }

.g-signal { position: relative; border: 1.5px solid #f6c9cc; background: rgba(255, 246, 246, 0.9); animation: cardIn 0.35s var(--ease); }
.g-signal .x, .modal .x { position: absolute; top: 10px; right: 10px; border: none; background: none; font-size: 0.9rem; color: var(--text-muted); cursor: pointer; }
.g-signal-head { display: flex; gap: 10px; align-items: center; margin-bottom: 8px; }
.g-signal-ico { width: 48px; height: 48px; border-radius: 14px; background: #fff; display: grid; place-items: center; font-size: 1.6rem; box-shadow: 0 2px 8px rgba(0,0,0,0.08); }
.g-signal-head b { display: block; font-size: 1rem; margin-top: 2px; }
.g-signal p { font-size: 0.8rem; line-height: 1.45; margin-top: 4px; }
@keyframes cardIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

.g-mentor-head { display: flex; gap: 10px; align-items: center; }
.g-mentor-face { width: 52px; height: 52px; border-radius: 50%; background: linear-gradient(160deg, #e8f6f3, #fff); display: grid; place-items: center; font-size: 1.8rem; flex-shrink: 0; }
.g-mentor-head b { display: block; font-size: 0.98rem; margin-top: 2px; line-height: 1.3; }
.g-mentor .bubble { margin: 10px 0 8px; background: #fff; border-radius: 14px; padding: 10px 12px; font-size: 0.84rem; line-height: 1.5; box-shadow: 0 1px 4px rgba(0,0,0,0.05); }
.checks { list-style: none; display: flex; flex-direction: column; gap: 5px; margin-bottom: 10px; }
.checks li { font-size: 0.8rem; display: flex; gap: 7px; line-height: 1.4; }
.checks li::before { content: '✓'; width: 18px; height: 18px; flex-shrink: 0; border-radius: 50%; background: #4bb07a; color: #fff; display: grid; place-items: center; font-size: 0.66rem; font-weight: 900; }
.g-mentor.flash { animation: mentorFlash 0.6s; }
@keyframes mentorFlash { 30% { box-shadow: 0 0 0 4px rgba(61,155,143,0.35); } }

.g-goals ul { list-style: none; display: flex; flex-direction: column; gap: 6px; }
.g-goals li { display: grid; grid-template-columns: 1fr auto; gap: 4px 8px; font-size: 0.8rem; align-items: center; }
.g-goals li .bar { grid-column: 1 / -1; height: 5px; border-radius: 99px; background: #eef1f4; overflow: hidden; }
.g-goals li .bar i { display: block; height: 100%; background: linear-gradient(90deg, #5ec3e6, #3d9be0); }
.g-goals li.done span::after { content: ' ✓'; color: #3a9a63; font-weight: 800; }
.g-goals li b { font-variant-numeric: tabular-nums; }

/* ---------- stage ---------- */
.g-stage { position: absolute; left: 50%; bottom: 178px; transform: translateX(-50%); width: min(460px, 60vw); height: min(420px, 52vh); display: grid; place-items: end center; z-index: 2; }
.g-glow { position: absolute; bottom: -10px; width: 70%; height: 46px; border-radius: 50%; background: radial-gradient(ellipse, rgba(90, 60, 30, 0.28), transparent 70%); }
.g-dog-emoji { font-size: clamp(120px, 20vh, 210px); line-height: 1; position: relative; z-index: 2; transition: opacity 0.4s, filter 0.4s; filter: drop-shadow(0 10px 18px rgba(60, 40, 20, 0.25)); cursor: pointer; user-select: none; }
.g-dog-emoji.hidden-by-video { opacity: 0; }
.g-dog-emoji.calm { animation: dogBreathe 2.8s ease-in-out infinite; }
.g-dog-emoji.curious { animation: dogCurious 2.4s ease-in-out infinite; }
.g-dog-emoji.anxious { animation: dogAnxious 0.55s ease-in-out infinite; }
.g-dog-emoji.stressed { animation: dogStressed 1.6s ease-in-out infinite; filter: drop-shadow(0 0 22px rgba(224, 90, 85, 0.45)); }
.g-dog-emoji.excited { animation: dogExcited 0.5s ease-in-out infinite; }
.g-dog-emoji.tired { animation: dogTired 3.5s ease-in-out infinite; opacity: 0.9; }
.g-dog-emoji.sleeping { animation: dogSleep 4s ease-in-out infinite; transform-origin: bottom; filter: saturate(0.85) brightness(0.95) drop-shadow(0 8px 14px rgba(60,40,20,0.2)); }
@keyframes dogSleep { 0%,100% { transform: scale(1, 0.92) translateY(10px); } 50% { transform: scale(1.02, 0.95) translateY(8px); } }
.g-zzz { position: absolute; top: 18%; right: 18%; font-size: 2.2rem; opacity: 0; transition: opacity 0.4s; z-index: 3; }
.g-stage.sleeping .g-zzz { opacity: 1; animation: zzz 2.6s ease-in-out infinite; }
@keyframes zzz { 0% { transform: translate(0, 0) scale(0.8); opacity: 0; } 30% { opacity: 1; } 100% { transform: translate(18px, -40px) scale(1.1); opacity: 0; } }
.g-video { position: absolute; inset: 0; border-radius: 28px; overflow: hidden; opacity: 0; transition: opacity 0.4s; z-index: 1; }
.g-video.active { opacity: 1; }
.g-video video { width: 100%; height: 100%; object-fit: cover; }
.g-tag { position: absolute; bottom: 22%; left: 50%; transform: translateX(-50%); z-index: 3; background: #3f6fb5; color: #fff; font-weight: 800; font-size: 0.78rem; padding: 4px 12px; border-radius: 12px; box-shadow: 0 2px 6px rgba(0,0,0,0.2); pointer-events: none; }
.g-state { position: absolute; top: 4%; left: 50%; transform: translateX(-50%); z-index: 3; display: flex; gap: 6px; align-items: center; white-space: nowrap; background: rgba(255,255,255,0.9); padding: 6px 12px; border-radius: 999px; font-size: 0.8rem; font-weight: 700; box-shadow: 0 4px 12px rgba(0,0,0,0.1); }
.g-state .state-dot { width: 9px; height: 9px; border-radius: 50%; }
.g-state small { color: var(--text-muted); font-weight: 600; }
.g-stage .signal-layer { position: absolute; inset: 0; pointer-events: none; z-index: 4; }
.g-stage .signal-bubble { position: absolute; top: 18%; right: -6%; display: flex; gap: 8px; align-items: center; background: #fff; padding: 8px 12px; border-radius: 16px; box-shadow: 0 6px 18px rgba(0,0,0,0.14); font-size: 0.8rem; animation: cardIn 0.3s var(--ease); pointer-events: none; }
.g-stage .signal-bubble .e { font-size: 1.4rem; }
.g-stage .signal-bubble b { display: block; }
.g-stage .signal-bubble small { color: #d45a55; font-weight: 700; }
.g-stage .signal-bubble.positive small { color: #2e8577; }
.clicker-fx { z-index: 6; }

/* ---------- reaction toast ---------- */
.g-react { position: absolute; top: 104px; left: 50%; transform: translateX(-50%); z-index: 7; display: flex; gap: 10px; align-items: center; padding: 10px 16px; border-radius: 18px; max-width: min(420px, 90vw); animation: cardIn 0.3s var(--ease); }
.g-react .ico { font-size: 1.5rem; }
.g-react b { display: block; font-size: 0.92rem; }
.g-react small { display: flex; gap: 8px; flex-wrap: wrap; font-size: 0.74rem; font-weight: 700; margin-top: 2px; }
.g-react small .up { color: #3a9a63; } .g-react small .down { color: #d45a55; }
.g-react.good { border-color: #bfe8cf; } .g-react.bad { border-color: #f6c9cc; } .g-react.warn { border-color: #f6dfb0; }

/* ---------- dock ---------- */
.g-dock { position: absolute; left: 50%; bottom: calc(14px + var(--safe-bottom)); transform: translateX(-50%); z-index: 6; display: flex; align-items: center; gap: 6px; padding: 10px 12px; border-radius: 36px; }
.g-act { position: relative; width: 132px; display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 6px 4px; border: none; background: none; cursor: pointer; font-family: var(--font); border-radius: 22px; transition: background 0.15s, transform 0.12s; }
.g-act:hover { background: rgba(255,255,255,0.6); }
.g-act:active { transform: scale(0.96); }
.g-act .orb { width: 60px; height: 60px; border-radius: 50%; display: grid; place-items: center; font-size: 1.7rem; background: radial-gradient(circle at 35% 30%, var(--c1), var(--c2)); box-shadow: 0 6px 14px rgba(0,0,0,0.16), inset 0 2px 0 rgba(255,255,255,0.45); }
.g-act b { font-size: 0.86rem; margin-top: 4px; }
.g-act small { font-size: 0.64rem; color: var(--text-muted); line-height: 1.2; text-align: center; min-height: 1.6em; }
.g-act .prog { font-style: normal; font-size: 0.7rem; color: var(--text-muted); font-weight: 700; }
.g-act .prog.done { color: #3a9a63; }
.g-act .lock { display: none; position: absolute; top: 2px; right: 26px; width: 22px; height: 22px; border-radius: 50%; background: #fff; box-shadow: 0 1px 4px rgba(0,0,0,0.2); font-style: normal; font-size: 0.7rem; place-items: center; }
.g-act.locked .orb { filter: grayscale(0.7) opacity(0.6); }
.g-act.locked .lock { display: grid; }
.g-act.locked .lock::before { content: '🔒'; }
.g-act.highlight .orb { animation: orbPulse 0.5s ease-in-out infinite alternate; box-shadow: 0 0 0 6px rgba(255, 193, 90, 0.45), 0 6px 14px rgba(0,0,0,0.16); }
@keyframes orbPulse { to { transform: scale(1.1); } }
.g-paw { width: 58px; height: 58px; border-radius: 50%; border: 4px solid #fff; background: radial-gradient(circle at 35% 30%, #7fd3e8, #3aa6c8); font-size: 1.6rem; cursor: pointer; box-shadow: 0 6px 16px rgba(0,0,0,0.18); margin: 0 4px; position: relative; }
.g-paw.alert::after { content: ''; position: absolute; top: 0; right: 0; width: 14px; height: 14px; border-radius: 50%; background: #e2554f; border: 2px solid #fff; }

/* ---------- sheets & modals ---------- */
.sheet h2 { font-size: 1.15rem; margin-bottom: 12px; }
.sheet-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 10px; }
.sheet-btn { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 3px; padding: 12px; border-radius: 16px; border: 1.5px solid var(--warm-border); background: #fff; cursor: pointer; text-align: left; font-family: var(--font); }
.sheet-btn .e { font-size: 1.5rem; }
.sheet-btn b { font-size: 0.9rem; }
.sheet-btn small { font-size: 0.7rem; color: var(--text-muted); line-height: 1.3; }
.sheet-btn.locked { opacity: 0.6; }
.sheet-btn.locked small { color: #c0563f; }
.sheet-btn.need { border-color: #f2b33d; }
.trait-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 12px; }
.trait { background: #faf6f1; border-radius: 12px; padding: 9px 11px; }
.trait small { display: block; font-size: 0.68rem; color: var(--text-muted); }
.trait b { font-size: 0.9rem; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip-btn { padding: 8px 12px; border-radius: 999px; border: 1.5px solid var(--warm-border); background: #fff; font: 600 0.82rem var(--font); cursor: pointer; }
.chip-btn.on { border-color: var(--primary); background: #fff3ea; color: var(--primary-deep); }
.pill-list { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 10px; }
.pill { font-size: 0.75rem; font-weight: 700; padding: 5px 10px; border-radius: 999px; background: #f1ece6; }
.pill.warn { background: #fde9e4; color: #b8483c; }
.pill.focus { background: #e3f3ef; color: #2e7d70; }
.ai-card { background: linear-gradient(160deg, #f4f0ff, #fff); border: 1px solid #e3dbfb; border-radius: 16px; padding: 12px 14px; margin: 10px 0; font-size: 0.84rem; line-height: 1.5; }
.ai-card h4 { font-size: 0.78rem; color: #6a4fc9; margin: 6px 0 4px; }
.ai-card ul { padding-left: 18px; }
.report-score { font-size: 2.4rem; font-weight: 900; color: var(--primary-deep); }
.report-items { list-style: none; display: flex; flex-direction: column; gap: 6px; margin: 10px 0; }
.report-items li { display: flex; justify-content: space-between; font-size: 0.86rem; padding: 8px 10px; border-radius: 10px; background: #f6f9f6; }
.report-items li.miss { background: #fdf1ef; }
.note-list { display: flex; flex-direction: column; gap: 8px; margin: 10px 0 14px; }
.note { border-radius: 12px; padding: 10px 12px; font-size: 0.82rem; line-height: 1.45; background: #f6f4f1; }
.note b { display: block; margin-bottom: 2px; }
.note.good { background: #eef8f1; } .note.bad { background: #fdf0ee; } .note.warn { background: #fff6e6; }

.modal-backdrop { position: fixed; inset: 0; background: rgba(40, 30, 20, 0.45); z-index: 40; display: none; align-items: center; justify-content: center; padding: 16px; }
.modal-backdrop.show { display: flex; }
.modal { position: relative; width: min(520px, 100%); border-radius: 24px; padding: 22px; max-height: 90vh; overflow-y: auto; animation: cardIn 0.3s var(--ease); }
.modal h2 { font-size: 1.25rem; margin: 8px 0 6px; }
.modal h4 { font-size: 0.9rem; margin: 14px 0 8px; }
.modal p { font-size: 0.9rem; line-height: 1.55; }
.choices { display: flex; flex-direction: column; gap: 8px; }
.choice { display: flex; gap: 10px; align-items: center; text-align: left; padding: 12px 14px; border-radius: 14px; border: 1.5px solid #e8e2db; background: #fff; font: 600 0.88rem var(--font); cursor: pointer; }
.choice .k { width: 26px; height: 26px; border-radius: 50%; background: #eef2fb; color: #3f6fb5; display: grid; place-items: center; font-weight: 800; flex-shrink: 0; }
.choice.best { border-color: #4bb07a; background: #f0faf4; }
.choice.ok { border-color: #f2b33d; background: #fff8ea; }
.choice.bad { border-color: #e06a5f; background: #fdf1ef; }
.choice:disabled { cursor: default; }
.event-fb { margin-top: 14px; border-top: 1px dashed #e6ddd3; padding-top: 12px; }
.event-fb p { margin: 8px 0 12px; }
.tut .tut-step { font-size: 0.78rem; font-weight: 800; color: var(--primary-deep); }

/* ---------- adopt screen ---------- */
#adopt-screen { background: linear-gradient(180deg, #fff9f3 0%, var(--warm-bg) 40%); }
#adopt-screen .top-bar { gap: 8px; }
.adopt-body { flex: 1; overflow-y: auto; padding: 4px 16px 110px; display: flex; flex-direction: column; gap: 14px; }
.adopt-dog { display: flex; gap: 14px; align-items: center; background: #fff; border-radius: 20px; padding: 14px; }
.adopt-dog .emoji { font-size: 3rem; }
.adopt-dog > div { flex: 1; }
.adopt-breed { font-weight: 800; margin-bottom: 6px; }
.field { display: flex; flex-direction: column; gap: 4px; font-size: 0.78rem; color: var(--text-muted); font-weight: 700; }
.field input { padding: 10px 12px; border-radius: 12px; border: 1.5px solid var(--warm-border); font: 600 0.95rem var(--font); color: var(--text); }
.field-group { background: #fff; border-radius: 20px; padding: 14px; }
.field-label { font-size: 0.82rem; font-weight: 800; margin-bottom: 8px; }
.field-group input[type="range"] { width: 100%; margin-top: 10px; accent-color: var(--primary); }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .g-hud { right: 16px; flex-wrap: wrap; }
  .g-brand { display: none; }
  .g-hud-right { top: auto; bottom: calc(150px + var(--safe-bottom)); right: 16px; width: auto; padding: 8px 10px; }
  .g-left, .g-right { top: 128px; width: 260px; }
}
@media (max-width: 760px) {
  .g-hud { left: 8px; right: 8px; top: calc(8px + var(--safe-top)); padding: 8px 10px; gap: 8px; border-radius: 18px; }
  .g-dog { border-right: none; padding: 0; }
  .g-avatar { width: 36px; height: 36px; font-size: 1.3rem; }
  .g-meters { flex-basis: 100%; gap: 8px; }
  .g-meter .ico { width: 26px; height: 26px; font-size: 0.85rem; }
  .g-meter .lbl { font-size: 0.68rem; }
  .g-meter small.qual { display: none; }
  .g-hud-right { top: calc(8px + var(--safe-top)); right: 8px; bottom: auto; gap: 6px; padding: 6px 8px; border-radius: 14px; background: transparent; box-shadow: none; border: none; backdrop-filter: none; }
  .g-clock small, .g-points small { display: none; }
  .g-clock, .g-points { background: rgba(255,255,255,0.85); border-radius: 12px; padding: 4px 8px; flex: none; }
  .g-clock > span:first-child, .g-points > span:first-child { font-size: 1rem; }
  .g-clock b, .g-points b { font-size: 0.78rem; }
  .icon-btn { width: 32px; height: 32px; }
  .g-left { top: 112px; left: 8px; right: 8px; width: auto; z-index: 6; }
  .g-left .g-log { display: none; }
  .g-right { top: 112px; left: 8px; right: 8px; width: auto; max-height: none; }
  .g-right .g-goals { display: none; }
  .g-mentor { padding: 10px 12px; }
  .g-mentor .bubble { margin: 6px 0 0; font-size: 0.78rem; padding: 8px 10px; }
  .g-mentor .checks, .g-mentor .link-btn { display: none; }
  .g-mentor.expanded .checks, .g-mentor.expanded .link-btn { display: flex; }
  .g-mentor-face { width: 38px; height: 38px; font-size: 1.3rem; }
  .g-mentor-head b { font-size: 0.86rem; }
  .g-signal { padding: 10px 12px; }
  .g-signal p.muted { display: none; }
  .g-stage { bottom: calc(118px + var(--safe-bottom)); width: 84vw; height: 38vh; }
  .g-dog-emoji { font-size: clamp(96px, 16vh, 150px); }
  .g-stage .signal-bubble { right: 0; top: 4%; }
  .g-react { top: 34%; z-index: 8; }
  .g-dog-text b, .g-dog-text small { display: block; max-width: calc(100vw - 260px); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .g-state small { display: none; }
  .g-dock { left: 8px; right: 8px; transform: none; justify-content: space-between; padding: 6px; gap: 0; border-radius: 26px; }
  .g-act { width: auto; flex: 1; padding: 4px 2px; }
  .g-act .orb { width: 44px; height: 44px; font-size: 1.25rem; }
  .g-act b { font-size: 0.7rem; }
  .g-act small { display: none; }
  .g-act .lock { right: 6px; }
  .g-paw { width: 48px; height: 48px; font-size: 1.3rem; margin: 0 2px; }
  .modal { padding: 18px; }
}

#game-screen { position: relative; }
.sheet-backdrop { justify-content: center; background: rgba(40, 30, 20, 0.45); }
.sheet { max-width: 680px; }
#sheet .sheet h2 { text-align: left; }
.sheet .lang-select { margin-bottom: 12px; }
.dog-list { display: flex; flex-direction: column; gap: 8px; margin-bottom: 14px; }
.dog-list button { display: flex; gap: 10px; align-items: center; padding: 10px 12px; border-radius: 14px; border: 1.5px solid var(--warm-border); background: #fff; font: 600 0.9rem var(--font); cursor: pointer; text-align: left; }
.dog-list button.on { border-color: var(--primary); }
.dog-list .e { font-size: 1.5rem; }
.dog-list small { color: var(--text-muted); display: block; font-weight: 500; }
.menu-actions { display: flex; flex-direction: column; gap: 8px; }

.care-goals { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; }
.care-goals span { font-size: 0.76rem; font-weight: 700; padding: 5px 10px; border-radius: 999px; background: #f1ece6; }
.care-goals span.done { background: #e3f3ea; color: #2f7d53; }
