.gm.tu-page { width: 100%; max-width: none; }
.tu { margin-bottom: 28px; padding: 20px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--paper); box-shadow: var(--shadow); }
.tu [hidden] { display: none !important; }
.tu button { font-family: inherit; }
.tu button:focus-visible, .tu input:focus-visible { outline: 3px solid var(--primary-dark); outline-offset: 4px; }
.tu-intro { display: flex; align-items: center; gap: 18px; margin-bottom: 16px; }
.tu-intro img { display: block; flex: 0 0 auto; width: 94px; height: 100px; object-fit: contain; }
.tu-intro h2, .tu-end h2 { margin: 0 0 6px; font-size: 28px; color: var(--ink); }
.tu-intro p, .tu-start p { margin: 0 0 12px; color: var(--muted); }
.tu-mode { display: flex; align-items: center; gap: 8px; margin: 16px 0; }
.tu-mode input { width: 20px; height: 20px; }
.tu-toolbar { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.tu-toolbar .wl-btn { font-size: 15px; padding: 0 18px; height: 46px; }
.tu-hint { padding: 10px; min-height: 44px; border: 1px solid var(--line); border-radius: 12px; background: var(--paper); color: var(--primary-dark); cursor: pointer; font-weight: 700; }
.tu-progress { margin-left: auto; color: var(--muted); font-weight: 800; }
.tu-command { margin: 14px 0 0; font-size: clamp(18px, 3vw, 24px); font-weight: 800; color: var(--primary-dark); }
.tu-status { min-height: 48px; margin: 12px 0 8px; line-height: 1.4; color: var(--ink); font-weight: 700; }
.tu-room { position: relative; aspect-ratio: 1.85; border: 1px solid #ddded1; border-radius: 18px; overflow: hidden; background: linear-gradient(180deg, #f3eee0 0%, #f8f4e9 65%, #d9be9e 65.5%, #eee0c9 100%); }
.tu-window { position: absolute; left: 9%; top: 8%; width: 17%; height: 31%; border: 7px solid #e1d0ae; border-radius: 48% 48% 3px 3px; background: linear-gradient(90deg, transparent 47%, #e1d0ae 47% 53%, transparent 53%), linear-gradient(#cce4ec 65%, #ceddbd 65%); box-shadow: 0 4px 12px #bdab8d30; }
.tu-chair { position: absolute; left: 28%; top: 8%; width: 40%; height: 82%; mix-blend-mode: multiply; pointer-events: none; }
.tu-box { position: absolute; left: 70%; top: 64%; width: 23%; height: 27%; border-radius: 5px 5px 12px 12px; background: #a98462; box-shadow: 0 6px 8px #60492821; }
.tu-box::after { content: ''; position: absolute; inset: 42% 0 0; border-radius: 0 0 12px 12px; background: #e2bd8a; box-shadow: inset -8px -5px 0 #bd94634d; z-index: 3; pointer-events: none; }
.tu-box span { position: absolute; bottom: 8%; left: 25%; color: #735738; font-weight: 900; font-size: clamp(10px, 2vw, 18px); letter-spacing: 2px; z-index: 4; pointer-events: none; }
.tu-place { position: absolute; width: 17%; height: 24%; transform: translate(-50%, -50%); border: 2px dashed #705b3c; border-radius: 16px; background: #fff8; color: #59472f; cursor: pointer; z-index: 2; padding: 3px; }
.tu-place:hover { background: #fffC; border-color: var(--primary); }
.tu-place:disabled { cursor: default; opacity: 1; }
.tu-place span { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: #fff; font-size: 14px; font-weight: 800; }
.tu-place img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.tu-in { left: 81%; top: 69%; }
.tu-on { left: 48%; top: 48%; }
.tu-under { left: 48%; top: 81%; }
.tu-next { left: 15%; top: 81%; }
.tu-place.is-correct { border: 3px solid #308659; background: #edf9e9cc; }
.tu-toys { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 10px; padding: 14px 0; }
.tu-toy { min-width: 0; padding: 6px; border: 2px solid var(--line); border-radius: 14px; background: #fff; cursor: pointer; }
.tu-toy img { display: block; width: 100%; aspect-ratio: 1; object-fit: contain; pointer-events: none; }
.tu-toy[aria-pressed="true"] { border-color: var(--primary); background: var(--primary-light); box-shadow: 0 0 0 2px var(--primary-light); }
.tu-toy:disabled { opacity: .65; cursor: default; }
.tu-end { padding: 24px 0; text-align: center; }
.tu-stars { color: #c49016; font-size: 44px; letter-spacing: 8px; }
.tu-result { margin: 14px 0 22px; }
@media (max-width: 600px) {
  .tu { padding: 12px; }
  .tu-intro { gap: 10px; }
  .tu-intro img { width: 64px; height: 80px; }
  .tu-intro h2 { font-size: 24px; }
  .tu-intro p, .tu-start p, .tu-mode { font-size: 14px; }
  .tu-room { aspect-ratio: 1.3; }
  .tu-toys { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
  .tu-toy img { max-height: 78px; }
  .tu-progress { margin-left: 0; }
  .tu-window { border-width: 4px; }
  .tu-place { border-radius: 10px; }
}
