@font-face {
  font-family: SUIT;
  src: url("assets/fonts/SUIT-Medium.woff2") format("woff2");
  font-weight: 500;
  font-display: swap;
}
@font-face {
  font-family: SUIT;
  src: url("assets/fonts/SUIT-SemiBold.woff2") format("woff2");
  font-weight: 600;
  font-display: swap;
}
@font-face {
  font-family: SUIT;
  src: url("assets/fonts/SUIT-Bold.woff2") format("woff2");
  font-weight: 700;
  font-display: swap;
}
@font-face {
  font-family: SUIT;
  src: url("assets/fonts/SUIT-ExtraBold.woff2") format("woff2");
  font-weight: 800;
  font-display: swap;
}
@font-face {
  font-family: Paperlogy;
  src: url("assets/fonts/Paperlogy-5Medium.ttf") format("truetype");
  font-weight: 500;
  font-display: swap;
}
@font-face {
  font-family: Paperlogy;
  src: url("assets/fonts/Paperlogy-6SemiBold.ttf") format("truetype");
  font-weight: 600;
  font-display: swap;
}
@font-face {
  font-family: Paperlogy;
  src: url("assets/fonts/Paperlogy-8ExtraBold.ttf") format("truetype");
  font-weight: 800;
  font-display: swap;
}
@font-face {
  font-family: Paperlogy;
  src: url("assets/fonts/Paperlogy-9Black.ttf") format("truetype");
  font-weight: 900;
  font-display: swap;
}
@font-face {
  font-family: Pretendard;
  src: url("assets/fonts/Pretendard-Regular.otf") format("opentype");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: Pretendard;
  src: url("assets/fonts/Pretendard-Medium.otf") format("opentype");
  font-weight: 500;
  font-display: swap;
}
@font-face {
  font-family: Pretendard;
  src: url("assets/fonts/Pretendard-SemiBold.otf") format("opentype");
  font-weight: 600;
  font-display: swap;
}
@font-face {
  font-family: Pretendard;
  src: url("assets/fonts/Pretendard-Bold.otf") format("opentype");
  font-weight: 700;
  font-display: swap;
}
@font-face {
  font-family: Pretendard;
  src: url("assets/fonts/Pretendard-ExtraBold.otf") format("opentype");
  font-weight: 800;
  font-display: swap;
}

:root {
  --ink: #141210;
  --mute: #6e6a64;
  --paper: #f4efe8;
  --paper-2: #ebe4da;
  --white: #fffcf8;
  --coral: #e65454;
  --coral-deep: #c94343;
  --line: rgba(20, 18, 16, 0.12);
  --shadow: 0 18px 40px rgba(40, 28, 20, 0.16);
  --radius: 18px;
  --hud: 104px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { height: 100%; height: 100dvh; }
body {
  font-family: SUIT, "Apple SD Gothic Neo", sans-serif;
  color: var(--ink);
  background: var(--paper);
  overflow: hidden;
}
button, input { font-family: inherit; }
button { cursor: pointer; }
img { max-width: 100%; display: block; }

.grain {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 80;
  opacity: 0.28;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 .05 0'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* TITLE */
#title[hidden],
#world[hidden] {
  display: none !important;
}
#title {
  min-height: 100dvh;
  display: grid;
  place-items: center;
  padding: 24px;
  background:
    radial-gradient(circle at 18% 12%, rgba(230, 84, 84, 0.12), transparent 28%),
    var(--paper);
}
.title-card {
  width: min(520px, 100%);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: 28px 28px 32px;
  box-shadow: var(--shadow);
  display: grid;
  justify-items: center;
  text-align: center;
  gap: 14px;
}
.title-card img {
  width: 168px;
  height: 200px;
  object-fit: contain;
  object-position: center bottom;
  border-radius: 0;
  background: transparent;
  filter: drop-shadow(0 14px 16px rgba(40, 20, 16, 0.18));
}
.title-card h1 {
  font-weight: 900;
  font-size: clamp(28px, 6vw, 40px);
  letter-spacing: -0.05em;
  line-height: 1.15;
}
.title-card h1 em {
  font-style: normal;
  color: var(--coral);
}
.title-card p {
  color: var(--mute);
  font-weight: 500;
  font-size: 15px;
  line-height: 1.55;
  max-width: 34ch;
}
.auth-form {
  width: 100%;
  display: grid;
  gap: 14px;
  justify-items: center;
}
.auth-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  width: 100%;
  background: var(--paper);
  border-radius: 14px;
  padding: 4px;
  gap: 4px;
}
.auth-tab {
  height: 40px;
  border: 0;
  border-radius: 11px;
  background: transparent;
  font-weight: 800;
  font-size: 14px;
  color: var(--mute);
}
.auth-tab.on {
  background: var(--white);
  color: var(--coral);
  box-shadow: 0 2px 8px rgba(40, 28, 20, 0.08);
}
.auth-or {
  width: 100%;
  margin: 2px 0 0;
  color: var(--mute);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-align: center;
}
.btn-kakao {
  background: #fee500;
  color: #191919;
}
.btn-kakao:hover { background: #f6dc00; }
#name, #email, #pass {
  width: 100%;
  height: 52px;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 0 16px;
  font-size: 16px;
  font-weight: 600;
  background: var(--paper);
  color: var(--ink);
}
#name:focus, #email:focus, #pass:focus {
  outline: 2px solid var(--coral);
  outline-offset: 1px;
}
.auth-err {
  width: 100%;
  text-align: left;
  color: var(--coral);
  font-size: 13px;
  font-weight: 700;
}
.title-card.login-mode #name { display: none; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border: 0;
  border-radius: 14px;
  background: var(--ink);
  color: var(--white);
  font-weight: 800;
  font-size: 15px;
  letter-spacing: -0.02em;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: scale(0.98); }
.btn-coral { background: var(--coral); color: #fff; }
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line);
}
.btn.full { width: 100%; }

/* WORLD */
#world {
  height: 100vh;
  height: 100dvh;
  max-height: 100vh;
  max-height: 100dvh;
  display: flex;
  flex-direction: column;
  padding-top: var(--hud);
  overflow: hidden;
}
.hud {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--hud);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  padding: 8px 16px 8px;
  background: var(--white);
  border-bottom: 1px solid var(--line);
  z-index: 50;
}
.hud-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 40px;
}
.hud-left, .hud-right { display: flex; align-items: center; gap: 12px; min-width: 0; }
.menu {
  display: flex;
  align-items: center;
  gap: 6px;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.menu::-webkit-scrollbar { display: none; }
.menu button {
  flex: 0 0 auto;
  height: 32px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--paper);
  color: var(--ink);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: -0.02em;
  white-space: nowrap;
}
.menu button:hover { border-color: rgba(230, 84, 84, 0.45); }
.menu button:active { transform: scale(0.98); }
.menu button.on {
  background: var(--coral);
  border-color: var(--coral);
  color: #fff;
}
.face {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  background: var(--paper-2);
}
.who { min-width: 0; }
.who b { display: block; font-size: 14px; font-weight: 800; letter-spacing: -0.03em; }
.who span { font-size: 12px; color: var(--coral); font-weight: 700; }
.xp {
  width: min(220px, 28vw);
  height: 8px;
  background: var(--paper-2);
  border-radius: 99px;
  overflow: hidden;
}
.xp i {
  display: block;
  height: 100%;
  width: 0;
  background: var(--coral);
  transition: width 0.4s ease;
}
.chip {
  height: 36px;
  padding: 0 12px;
  border-radius: 99px;
  border: 1px solid var(--line);
  background: var(--paper);
  font-size: 12px;
  font-weight: 700;
}

.stage {
  flex: 1;
  min-height: 0;
  position: relative;
  overflow: hidden;
  background: #cbb6e0;
}
#view {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  touch-action: none;
}
#labels {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.world-tag {
  position: absolute;
  left: 0;
  top: 0;
  pointer-events: auto;
  height: 28px;
  padding: 0 12px;
  border: 0;
  border-radius: 999px;
  background: rgba(232, 137, 154, 0.92);
  color: #fffaf6;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: -0.02em;
  white-space: nowrap;
  box-shadow: 0 8px 18px rgba(120, 60, 90, 0.22);
}
.world-tag:hover { background: #e05a4f; }
.map {
  position: absolute;
  width: min(1280px, 160vh);
  aspect-ratio: 16 / 9;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  background: url("assets/map.jpg") center / cover no-repeat;
  border-radius: 8px;
  box-shadow: 0 30px 80px rgba(30, 20, 16, 0.22);
}
.tile {
  width: var(--cell);
  height: var(--cell);
  grid-column: calc(var(--c) + 1);
  grid-row: calc(var(--r) + 1);
  display: block;
  position: relative;
}
.tile.house {
  border-radius: 5px;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.12);
  background-image: radial-gradient(circle at 30% 28%, rgba(255, 255, 255, 0.45) 0 14%, transparent 15%),
    radial-gradient(circle at 70% 28%, rgba(255, 255, 255, 0.45) 0 14%, transparent 15%),
    linear-gradient(#fff6 0 18%, transparent 18%);
}
.tile.orange { background-color: #ef7a38; }
.tile.red { background-color: #e24b3c; }
.tile.yellow { background-color: #f0c03a; }
.tile.blue { background-color: #4aa3e6; }
.tile.tree {
  background:
    radial-gradient(circle at 50% 42%, #49b24a 0 38%, transparent 39%),
    radial-gradient(circle at 38% 58%, #2f8a38 0 28%, transparent 29%),
    radial-gradient(circle at 64% 58%, #2f8a38 0 28%, transparent 29%),
    #6f9a4a;
}
.tile.crate {
  background: repeating-linear-gradient(90deg, #d9a14a 0 46%, #c48932 46% 50%, #d9a14a 50% 100%);
  box-shadow: inset 0 0 0 2px #8b5a22;
}
.tile.crate::after {
  content: "";
  position: absolute;
  inset: 22%;
  border: 2px solid rgba(90, 50, 10, 0.45);
}
.tile.road {
  background:
    linear-gradient(#9aa0a6, #8b9096);
}
.tile.road::after {
  content: "";
  position: absolute;
  left: 46%;
  top: 10%;
  bottom: 10%;
  width: 8%;
  background: repeating-linear-gradient(#fff8 0 40%, transparent 40% 70%);
}
.tile.grass, .tile.door {
  background:
    radial-gradient(circle at 30% 30%, #8ec75a 0 18%, transparent 19%),
    #73ab45;
}
.tile.door {
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.35);
}
.tile-label {
  position: absolute;
  left: calc(var(--c) * var(--cell));
  top: calc(var(--r) * var(--cell) - 6px);
  transform: translate(-20%, -70%);
  background: #fff;
  color: #1c1c1c;
  font-size: 11px;
  font-weight: 800;
  padding: 3px 7px;
  border-radius: 999px;
  white-space: nowrap;
  pointer-events: none;
  z-index: 3;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.16);
}
.actor {
  position: absolute;
  width: var(--cell);
  height: var(--cell);
  left: calc(var(--c) * var(--cell));
  top: calc(var(--r) * var(--cell));
  background: url("assets/hero.jpg") center 28% / 160% no-repeat;
  border-radius: 50%;
  box-shadow: 0 4px 0 rgba(0, 0, 0, 0.2);
  z-index: 4;
  transition: left 0.08s linear, top 0.08s linear;
}
.spot {
  position: absolute;
  border: 0;
  background: transparent;
  padding: 0;
}
.spot::after {
  content: attr(data-name);
  position: absolute;
  left: 50%;
  top: -8px;
  transform: translate(-50%, -100%);
  background: var(--white);
  border: 1px solid var(--line);
  color: var(--ink);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: -0.02em;
  padding: 4px 8px;
  border-radius: 999px;
  white-space: nowrap;
  box-shadow: 0 6px 16px rgba(20, 16, 12, 0.12);
  opacity: 0.92;
}
.spot.near::after,
.spot:hover::after { background: var(--ink); color: #fff; }
.spot.near {
  filter: drop-shadow(0 0 0 var(--coral));
}

#hero {
  --face: 1;
  --zoom: 1;
  position: absolute;
  width: 88px;
  height: 110px;
  margin-left: -44px;
  margin-top: -96px;
  background: none;
  border-radius: 0;
  box-shadow: none;
  z-index: 5;
  pointer-events: none;
  transform: scale(var(--zoom));
  transform-origin: center bottom;
  will-change: left, top, transform;
}
#hero .foot {
  position: absolute;
  left: 50%;
  bottom: 4px;
  width: 42px;
  height: 12px;
  margin-left: -21px;
  background: radial-gradient(ellipse, rgba(40, 28, 20, 0.28), transparent 70%);
  border-radius: 50%;
}
#hero img {
  position: relative;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center bottom;
  transform: scaleX(var(--face));
  transform-origin: center bottom;
}
#hero.left { --face: -1; }
#hero.walk img { animation: hop 0.28s ease-in-out infinite; }
@keyframes hop {
  0%, 100% { transform: scaleX(var(--face)) translateY(0); }
  50% { transform: scaleX(var(--face)) translateY(-8px); }
}
#fx { position: absolute; inset: 0; pointer-events: none; z-index: 6; }
.dust {
  position: absolute;
  width: 7px;
  height: 7px;
  margin: -3px 0 0 -3px;
  border-radius: 50%;
  background: rgba(180, 150, 120, 0.45);
  animation: dust 0.45s ease-out forwards;
}
@keyframes dust {
  to { transform: translateY(-10px) scale(0.2); opacity: 0; }
}
.map {
  transition: none;
}
.face {
  background: #f6efe8;
  object-fit: contain;
}

.prompt {
  position: absolute;
  left: 50%;
  bottom: 22px;
  transform: translateX(-50%);
  background: var(--ink);
  color: #fff;
  padding: 10px 16px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  z-index: 12;
  display: none;
}
.prompt.on { display: block; }

.pad {
  display: none;
  position: absolute;
  right: 16px;
  bottom: 16px;
  z-index: 12;
  grid-template-columns: 48px 48px 48px;
  grid-template-rows: 48px 48px 48px;
  gap: 6px;
}
.pad button {
  border: 0;
  border-radius: 12px;
  background: rgba(255, 252, 248, 0.86);
  font-weight: 900;
  font-size: 16px;
  color: var(--ink);
}
.pad .u { grid-column: 2; grid-row: 1; }
.pad .l { grid-column: 1; grid-row: 2; }
.pad .r { grid-column: 3; grid-row: 2; }
.pad .d { grid-column: 2; grid-row: 3; }

/* PANEL */
.overlay {
  position: fixed;
  top: var(--hud);
  right: 0;
  bottom: 0;
  left: 0;
  background: rgba(20, 16, 12, 0.28);
  z-index: 30;
  display: none;
}
.overlay.on { display: block; }
.panel {
  position: fixed;
  top: var(--hud);
  right: 0;
  width: min(460px, 100%);
  height: calc(100dvh - var(--hud));
  background: var(--white);
  z-index: 40;
  transform: translateX(104%);
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  border-left: 1px solid var(--line);
}
.panel.on { transform: none; }
.stage::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(ellipse at 50% 70%, transparent 45%, rgba(40, 28, 20, 0.16) 100%);
  z-index: 8;
}
.panel-head {
  padding: 20px 22px 12px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}
.panel-head h2 {
  font-size: 26px;
  font-weight: 900;
  letter-spacing: -0.045em;
}
.panel-head p { color: var(--mute); font-size: 13px; margin-top: 4px; font-weight: 500; }
.x {
  height: 36px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--paper);
  font-weight: 800;
  font-size: 13px;
}
.panel-body {
  padding: 8px 22px 28px;
  overflow: auto;
  display: grid;
  gap: 12px;
}
.card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px 14px 15px;
  background: var(--paper);
  display: grid;
  gap: 8px;
}
.card.own { background: #fff; box-shadow: inset 0 0 0 1.5px var(--coral); }
.card.path {
  background: #fff;
  border-color: rgba(230, 84, 84, 0.24);
}
.card.recommend {
  background: #fff;
  box-shadow: inset 0 0 0 1.5px var(--coral);
}
.card.path .btn,
.card.recommend .btn { width: 100%; }
.card h3 { font-size: 16px; font-weight: 800; letter-spacing: -0.03em; }
.card p { font-size: 13px; color: var(--mute); line-height: 1.5; font-weight: 500; }
.meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.tag {
  font-size: 11px;
  font-weight: 800;
  padding: 4px 8px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--line);
}
.tag.coral { background: var(--coral); color: #fff; border-color: transparent; }
.row { display: flex; gap: 8px; flex-wrap: wrap; }
.price {
  font-weight: 900;
  font-size: 18px;
  letter-spacing: -0.03em;
}
.price s {
  font-size: 12px;
  color: var(--mute);
  font-weight: 600;
  margin-right: 6px;
}

.lab-stage {
  border-radius: 16px;
  background: #161412;
  color: #fff;
  padding: 18px;
  min-height: 180px;
}
.lab-stage input, .lab-stage textarea {
  width: 100%;
  border: 0;
  border-radius: 10px;
  padding: 10px 12px;
  font: inherit;
  font-weight: 600;
}
.fake-card {
  margin-top: 12px;
  background: #fff;
  color: var(--ink);
  border-radius: 12px;
  padding: 22px 18px;
  min-height: 160px;
  display: grid;
  align-content: end;
  background-image:
    linear-gradient(#eceae6 1px, transparent 1px),
    linear-gradient(90deg, #eceae6 1px, transparent 1px);
  background-size: 24px 24px;
}
.fake-card b {
  font-size: 28px;
  letter-spacing: -0.05em;
  line-height: 1.15;
}
.fake-card b u {
  text-decoration: none;
  box-shadow: inset 0 -8px 0 rgba(230, 84, 84, 0.85);
}
.line {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-top: 12px;
}
.line span {
  flex: 1;
  min-width: 70px;
  background: #2a2623;
  border-radius: 10px;
  padding: 10px 8px;
  text-align: center;
  font-size: 12px;
  font-weight: 700;
  opacity: 0.45;
}
.line span.on { opacity: 1; background: var(--coral); }

.toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  transform: translate(-50%, 20px);
  background: var(--ink);
  color: #fff;
  padding: 12px 16px;
  border-radius: 12px;
  font-size: 13px;
  font-weight: 700;
  opacity: 0;
  pointer-events: none;
  z-index: 70;
  transition: 0.25s ease;
}
.toast.on { opacity: 1; transform: translate(-50%, 0); }

.modal {
  position: fixed;
  inset: 0;
  display: none;
  place-items: center;
  background: rgba(20, 16, 12, 0.4);
  z-index: 60;
  padding: 24px;
}
.modal.on { display: grid; }
.modal-card {
  width: min(380px, 100%);
  background: var(--white);
  border-radius: 24px;
  padding: 28px 24px;
  text-align: center;
  box-shadow: var(--shadow);
}
.modal-card h3 { font-size: 28px; font-weight: 900; letter-spacing: -0.05em; }
.modal-card h3 em { font-style: normal; color: var(--coral); }
.modal-card p { color: var(--mute); margin: 8px 0 18px; font-weight: 500; }

.help {
  position: absolute;
  left: 16px;
  bottom: 16px;
  z-index: 12;
  font-size: 12px;
  font-weight: 600;
  color: var(--mute);
  background: rgba(255, 252, 248, 0.8);
  padding: 8px 10px;
  border-radius: 10px;
}

.save-chip {
  border: 0;
  background: var(--ink);
  color: #fff;
}
.save-chip:hover { transform: translateY(-1px); }

.atlas[hidden],
.sheet[hidden] { display: none !important; }
.atlas {
  position: fixed;
  top: var(--hud);
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 45;
  background: #1b1612;
  display: flex;
  flex-direction: column;
}
.atlas-bar {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: flex-start;
  padding: 16px 20px;
  background: #241e18;
  color: #f6efe6;
}
.atlas-bar h2 {
  font-size: 22px;
  font-weight: 900;
  letter-spacing: -0.04em;
}
.atlas-bar p {
  color: #c9b8a6;
  font-size: 13px;
  font-weight: 500;
  margin-top: 4px;
}
.atlas-stage {
  flex: 1;
  position: relative;
  margin: 12px 16px 18px;
  border-radius: 16px;
  overflow: hidden;
  background: #2a221b url("assets/secret-map.jpg") center / cover no-repeat;
  box-shadow: inset 0 0 0 1px rgba(255, 236, 210, 0.12);
}
.stamp {
  position: absolute;
  width: 78px;
  height: 78px;
  margin-left: -39px;
  margin-top: -39px;
  border: 0;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #f07a70, #c94343 62%, #8e2a2a);
  color: #fff8f4;
  box-shadow:
    0 8px 16px rgba(40, 16, 12, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.28);
  display: grid;
  place-content: center;
  gap: 2px;
  padding: 8px;
}
.stamp b {
  font-size: 12px;
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1.15;
}
.stamp i {
  font-style: normal;
  font-size: 10px;
  font-weight: 700;
  opacity: 0.86;
}
.stamp.saved {
  background: radial-gradient(circle at 35% 30%, #2a2623, #141210 70%);
  box-shadow: 0 0 0 3px #e65454, 0 8px 16px rgba(40, 16, 12, 0.35);
}
.stamp:hover { transform: translateY(-2px) scale(1.04); }

.sheet {
  position: fixed;
  top: var(--hud);
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 47;
  background: rgba(20, 16, 12, 0.45);
  display: grid;
  place-items: end center;
  padding: 18px;
}
.sheet-card {
  width: min(560px, 100%);
  max-height: min(82dvh, 720px);
  overflow: auto;
  background: #fffaf3;
  border: 1px solid rgba(80, 50, 30, 0.16);
  border-radius: 22px 22px 16px 16px;
  padding: 20px 20px 22px;
  box-shadow: 0 24px 60px rgba(20, 12, 8, 0.28);
  background-image:
    linear-gradient(rgba(230, 84, 84, 0.05), transparent 80px),
    repeating-linear-gradient(0deg, transparent, transparent 27px, rgba(80, 50, 30, 0.05) 28px);
}
.sheet-top {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: flex-start;
}
.sheet-card h3 {
  margin-top: 8px;
  font-size: 26px;
  font-weight: 900;
  letter-spacing: -0.045em;
}
.sheet-card > p {
  margin: 10px 0 12px;
  color: var(--mute);
  font-weight: 500;
  line-height: 1.5;
}
.sheet-card ol {
  margin: 0 0 12px 18px;
  display: grid;
  gap: 7px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.45;
}
.note-label {
  display: block;
  font-size: 12px;
  font-weight: 800;
  margin: 10px 0 6px;
}
#sheet-note {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 10px 12px;
  font: inherit;
  font-weight: 500;
  background: #fff;
  resize: vertical;
  margin-bottom: 12px;
}

@media (max-width: 768px) {
  :root { --hud: 96px; }
  .xp { display: none; }
  .pad { display: grid; }
  .map { width: 220vw; }
  .help { display: none; }
  .hud { padding: 6px 10px; }
  .menu button { height: 30px; padding: 0 10px; font-size: 12px; }
  .stamp { width: 62px; height: 62px; margin-left: -31px; margin-top: -31px; }
  .stamp b { font-size: 11px; }
  .atlas-bar { flex-direction: column; }
  .atlas-stage { min-height: 72dvh; }
}
.workshop[hidden] { display: none !important; }
.ws-pane[hidden] { display: none !important; }
.workshop {
  position: fixed;
  top: var(--hud);
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 46;
  display: grid;
  grid-template-columns: 220px 1fr;
  background: #f7f2eb;
}
.ws-nav {
  padding: 22px 16px;
  background: #1c1916;
  color: #f6efe6;
  display: grid;
  align-content: start;
  gap: 6px;
  overflow: auto;
}
.ws-nav h2 { font-size: 24px; font-weight: 800; letter-spacing: -0.04em; }
.ws-nav button, .ws-nav a {
  text-align: left;
  border: 0;
  background: transparent;
  color: #d8cfc4;
  padding: 9px 8px;
  border-radius: 10px;
  font-weight: 700;
  text-decoration: none;
  font-size: 13px;
}
.ws-nav button.on, .ws-nav button:hover { background: #e65454; color: #fff; }
.ws-nav button.path-on:not(.on) {
  color: #fff8f4;
  background: #3a2e2c;
  box-shadow: inset 0 0 0 1px #e65454;
}
.ws-nav .x { margin-top: 16px; background: #2c2723; color: #fff; text-align: center; }
.ws-main { overflow: auto; padding: 24px; }
.ws-main.frame { padding: 0; overflow: hidden; position: relative; }
.ws-offer {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 3;
  max-width: 420px;
}
.ws-offer[hidden] { display: none !important; }
.ws-offer .card {
  background: var(--white);
  box-shadow: var(--shadow);
}
#ws-frame { width: 100%; height: 100%; border: 0; background: #fff; display: block; }
.ws-src { font-size: 10px; font-weight: 800; letter-spacing: 0.08em; color: #8a8178; margin: 4px 0 8px; }
.ws-dev { display: none; }
.workshop.dev-on .ws-dev { display: block; }
.ws-mine {
  margin-top: 10px;
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 700;
  color: #7a726c;
  letter-spacing: -0.02em;
  cursor: pointer;
  user-select: none;
}
.ws-mine input {
  width: 12px;
  height: 12px;
  accent-color: #c9b8a8;
}
.ws-pane.split {
  display: grid;
  grid-template-columns: minmax(260px, 320px) 1fr;
  gap: 22px;
  align-items: start;
}
.ws-form { display: grid; gap: 10px; margin-bottom: 18px; }
.ws-form.wide { max-width: 560px; }
.ws-form label { display: grid; gap: 6px; font-size: 12px; font-weight: 800; }
.ws-form input, .ws-form textarea, .ws-form select {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 10px 12px;
  font: inherit;
  font-weight: 600;
  background: #fff;
  width: 100%;
}
.ws-row { display: flex; gap: 8px; flex-wrap: wrap; }
.ws-row label { flex: 1; min-width: 110px; }
.ws-row .btn { flex: 1; min-width: 100px; }
.ws-hint, .ws-empty { font-size: 13px; color: var(--mute); font-weight: 600; line-height: 1.5; }

.cn-stage { display: flex; gap: 14px; overflow: auto; padding-bottom: 8px; }
.v21-card {
  --acc: #e65454;
  flex: 0 0 240px;
  aspect-ratio: 4 / 5;
  background: #fff;
  padding: 22px 18px 18px;
  display: grid;
  align-content: start;
  gap: 10px;
  position: relative;
  font-family: Pretendard, SUIT, sans-serif;
  box-shadow: 0 16px 40px rgba(0,0,0,.12);
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='28' height='28'><path d='M-2 30 L30 -2' stroke='%239ca3af' stroke-width='1' opacity='0.24'/></svg>");
  word-break: keep-all;
}
.v21-card.dark {
  background-color: #191919;
  color: #fff;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='28' height='28'><path d='M-2 30 L30 -2' stroke='%23ffffff' stroke-width='1' opacity='0.08'/></svg>");
}
.v21-bar { position: absolute; left: 0; right: 0; top: 0; height: 8px; background: var(--acc); }
.v21-k { font-size: 10px; font-weight: 800; letter-spacing: .12em; color: var(--acc); }
.v21-card h4 { font-size: 26px; letter-spacing: -.05em; line-height: 1.15; }
.v21-card h4 u { text-decoration: none; box-shadow: inset 0 -8px 0 color-mix(in srgb, var(--acc) 80%, transparent); }
.v21-num { font-size: 56px; letter-spacing: -.06em; line-height: 1; color: var(--acc); }
.v21-brand { align-self: end; font-style: normal; font-size: 12px; font-weight: 800; }
.v21-split { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.v21-split div { background: #f4f4f4; border-radius: 16px; padding: 10px; }
.v21-split .on { background: color-mix(in srgb, var(--acc) 14%, #fff); }
.v21-split small { font-size: 10px; font-weight: 800; color: var(--acc); }
.v21-split li, .v21-pts li, .v21-chk li { font-size: 12px; font-weight: 700; margin: 4px 0; }
.v21-steps { display: grid; gap: 8px; list-style: none; }
.v21-steps li { display: flex; gap: 8px; align-items: center; font-size: 13px; font-weight: 700; }
.v21-steps i {
  width: 26px; height: 26px; border-radius: 50%;
  background: var(--acc); color: #fff;
  display: grid; place-items: center; font-style: normal; font-size: 12px;
}
.v21-box { margin-top: auto; background: #191919; color: #fff; padding: 12px; border-radius: 18px; font-weight: 800; }
.v21-card.dark .v21-box { background: #fff; color: #191919; }

.bd-stage { display: grid; place-items: start; }
.bd-card {
  width: min(360px, 100%);
  aspect-ratio: 4 / 5;
  background: var(--bg);
  color: var(--ink);
  padding: 28px 22px;
  display: grid;
  align-content: center;
  gap: 12px;
  box-shadow: 0 18px 40px rgba(0,0,0,.2);
}
.bd-card span { font-size: 11px; letter-spacing: .14em; font-weight: 800; color: var(--acc); }
.bd-card h4 { font-size: 34px; letter-spacing: -.05em; line-height: 1.15; font-weight: 300; font-family: Pretendard, sans-serif; }
.bd-card p { font-size: 16px; line-height: 1.55; font-weight: 500; }
.bd-mini {
  width: 36px; height: 36px; border-radius: 10px;
  border: 1px solid var(--line); background: #fff; font-weight: 800;
}
.bd-mini.on { background: #1c1916; color: #fff; }

.ch-wrap { display: grid; gap: 14px; }
.ch-banner {
  width: min(720px, 100%);
  aspect-ratio: 16 / 9;
  background: var(--bg);
  color: var(--ink);
  border-radius: 16px;
  padding: 28px;
  position: relative;
  overflow: hidden;
}
.ch-banner .sticker { display: flex; flex-wrap: wrap; font-size: clamp(28px, 5vw, 52px); letter-spacing: -.06em; font-weight: 900; max-width: 72%; }
.ch-banner .sticker em {
  font-style: normal;
  display: inline-block;
  transform: rotate(var(--r));
  text-shadow: 0 3px 0 rgba(0,0,0,.28);
}
.ch-banner .sticker .pop { color: var(--pop); }
.ch-banner small { display: inline-block; margin-top: 10px; padding: 4px 10px; border-radius: 999px; background: color-mix(in srgb, var(--pop) 22%, transparent); font-weight: 800; }
.ch-banner img { position: absolute; right: 10px; bottom: -18px; width: 120px; pointer-events: none; }
.ch-banner .spark { position: absolute; color: var(--pop); font-style: normal; font-size: 22px; }
.ch-banner .s1 { top: 16px; left: 20px; }
.ch-banner .s2 { top: 22%; right: 28%; }
.ch-banner .s3 { bottom: 18%; left: 12%; }
.ch-banner .paper {
  position: absolute; inset: 10% 8%;
  border: 2px dashed color-mix(in srgb, var(--ink) 18%, transparent);
  pointer-events: none;
}

.th-stage {
  width: min(360px, 100%);
  aspect-ratio: 4 / 5;
  background: #fff;
  padding: 22px 18px;
  position: relative;
  overflow: hidden;
  font-family: Paperlogy, SUIT, sans-serif;
  background-image:
    linear-gradient(#eceae6 1px, transparent 1px),
    linear-gradient(90deg, #eceae6 1px, transparent 1px),
    radial-gradient(circle, #d8d4ce 1.1px, transparent 1.2px);
  background-size: 60px 60px, 60px 60px, 60px 60px;
}
.th-stage.v1 {
  aspect-ratio: 1 / 1;
  background: #F6EFE9;
  background-image: none;
  text-align: center;
  align-content: start;
  display: grid;
  justify-items: center;
}
.th-stage .bar { display: block; width: 44px; height: 5px; background: #e65454; }
.th-stage span { font-size: 11px; font-weight: 800; letter-spacing: .12em; color: var(--coral); }
.th-stage h4 { margin-top: 14px; font-size: 36px; letter-spacing: -.05em; line-height: 1.15; font-weight: 900; }
.th-stage h4 thin { font-weight: 500; font-style: normal; }
.th-stage h4 u { text-decoration: none; box-shadow: inset 0 -10px 0 rgba(230,84,84,.85); }
.th-stage img { position: absolute; right: 8px; bottom: -8px; width: 130px; transform: rotate(-3deg); }
.th-stage .mascot-round {
  position: absolute; left: 50%; bottom: 18px; transform: translateX(-50%);
  width: 46%; aspect-ratio: 1; border-radius: 50%;
  background: url("assets/char/wave.png") center 20% / 130% no-repeat #f3d7c8;
  box-shadow: 0 16px 30px rgba(90,60,50,.16);
}

.bk-stage { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 12px; }
.bk-page {
  background: var(--bg, #fff);
  color: var(--ink, #191919);
  min-height: 250px;
  padding: 16px;
  border: 1px solid var(--line);
  aspect-ratio: 210 / 297;
  display: grid;
  align-content: start;
  gap: 8px;
}
.bk-page.cover { background: var(--paper, #f6efe6); }
.bk-page.cover i { height: 6px; background: var(--acc, #e65454); margin: -16px -16px 8px; }
.bk-page small { color: var(--acc, #e65454); font-weight: 800; letter-spacing: .08em; }
.bk-page h4 { font-size: 20px; letter-spacing: -.04em; }
.bk-page h5 { font-size: 12px; color: var(--acc); }
.bk-page p { font-size: 11px; line-height: 1.6; font-weight: 500; }
.bk-page ol { padding-left: 16px; font-size: 11px; font-weight: 700; }
.bk-line { height: 14px; border-bottom: 1px solid color-mix(in srgb, var(--ink) 18%, transparent); }
.bk-check { font-size: 11px; font-weight: 800; }
.bk-check::before { content: "☐ "; }

.nm-wrap { overflow: auto; }
.nm-pair { display: flex; gap: 16px; flex-wrap: wrap; }
.nm-card {
  width: min(380px, 100%);
  aspect-ratio: 1.75 / 1;
  position: relative;
  overflow: hidden;
  box-shadow: 0 12px 30px rgba(0,0,0,.1);
  font-family: "Noto Sans KR", SUIT, sans-serif;
}
.nm-card.swan-f { background: #fff; display: flex; flex-direction: column; justify-content: space-between; padding: 22px 24px; }
.nm-card.swan-f .top { display: flex; justify-content: space-between; gap: 12px; }
.nm-card.swan-f .top span { color: #999; font-size: 12px; text-align: right; max-width: 46%; }
.nm-card.swan-f i { height: 1px; background: linear-gradient(to right, #111 0%, #111 40%, transparent 100%); }
.nm-card.swan-f strong { display: block; font-size: 26px; }
.nm-card.swan-f small { font-size: 12px; }
.nm-card.swan-b, .nm-card.mn-b { background: #fff; display: grid; place-content: center; text-align: center; gap: 6px; }
.nm-card.mn-f { background: #f5f3ef; padding: 22px; display: flex; flex-direction: column; }
.nm-card.mn-f b, .nm-card.ac-f b, .nm-card.st-f b, .nm-card.dk-f b { font-family: Oswald, SUIT, sans-serif; font-size: 28px; letter-spacing: -.02em; }
.nm-card.mn-f i, .nm-card.ac-f i { width: 36px; height: 1px; background: #bbb; margin: 8px 0; }
.nm-card.mn-f em, .nm-card.ac-f em { width: 18px; height: 18px; border-radius: 50%; background: #e65454; margin-top: auto; align-self: flex-end; }
.nm-card.dk-f, .nm-card.dk-b { background: #111; color: #fff; padding: 22px; display: flex; flex-direction: column; justify-content: space-between; }
.nm-card.kr-f { background: #1a1a1a; color: #fff; display: grid; place-content: center; text-align: center; gap: 6px; }
.nm-card.kr-b, .nm-card.ac-b, .nm-card.st-b { background: #fff; padding: 22px; display: grid; align-content: space-between; }
.nm-card.ac-f { background: #faf7f2; padding: 22px; display: flex; flex-direction: column; }
.nm-card.st-f { background: #fff; display: flex; }
.nm-card.st-f s { width: 18px; background: #e65454; text-decoration: none; }
.nm-card.st-f div { padding: 22px; display: grid; align-content: space-between; }
.nm-card.st-b i { height: 2px; background: #e65454; }
.nm-card.fr-f, .nm-card.fr-b { background: #f5f2ec; padding: 16px; }
.nm-card.fr-f > div, .nm-card.fr-b > div { height: 100%; border: 1px solid #bbb; display: grid; place-content: center; text-align: center; gap: 6px; }

.sh-stage { display: grid; gap: 12px; }
.sh-card { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 16px; }
.sh-card h4 { font-size: 16px; margin-bottom: 8px; }
.sh-card li { font-size: 13px; margin: 6px 0; font-weight: 600; }
.sh-card li b { color: var(--coral); margin-right: 6px; }
.sh-cues { list-style: none; display: grid; gap: 8px; }
.sh-cues li { background: #f7f2eb; border-radius: 12px; padding: 10px 12px; }
.sh-cues small { color: var(--mute); }

.ld-hero {
  width: min(720px, 100%);
  aspect-ratio: 16 / 9;
  background:
    radial-gradient(circle at 18% 12%, rgba(230,84,84,.14), transparent 30%),
    #f4efe8;
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 32px;
  position: relative;
  overflow: hidden;
}
.ld-hero span { font-size: 11px; font-weight: 800; letter-spacing: .14em; color: var(--coral); }
.ld-hero h4 { font-size: clamp(28px, 4vw, 46px); letter-spacing: -.05em; margin-top: 10px; max-width: 70%; }
.ld-hero p { margin-top: 10px; color: var(--mute); font-weight: 600; max-width: 60%; }
.ld-hero b { display: inline-block; margin-top: 18px; background: #e65454; color: #fff; padding: 10px 16px; border-radius: 999px; }
.ld-hero img { position: absolute; right: 10px; bottom: -16px; width: 180px; }

.prompter[hidden] { display: none !important; }
.prompter {
  position: fixed; inset: 0; z-index: 60;
  background: #0b0b0c; color: #fff;
  display: grid; place-items: center;
  padding: 48px 24px;
}
.prompter .x { position: absolute; top: 16px; right: 16px; }
#prmp-text { width: min(900px, 100%); font-size: clamp(28px, 5vw, 52px); font-weight: 800; letter-spacing: -.04em; line-height: 1.35; }
#prmp-text p { margin: 0 0 28px; }

#pr-out { width: 100%; min-height: 360px; font: inherit; font-weight: 500; padding: 16px; border-radius: 14px; border: 1px solid var(--line); }

@media (max-width: 860px) {
  .workshop { grid-template-columns: 1fr; grid-template-rows: auto 1fr; }
  .ws-nav {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
    align-items: center;
    gap: 6px;
    padding: 10px 12px;
    -webkit-overflow-scrolling: touch;
  }
  .ws-nav h2, .ws-nav .hello, .ws-nav .ws-src { display: none; }
  .ws-nav button, .ws-nav a {
    flex: 0 0 auto;
    white-space: nowrap;
    padding: 8px 12px;
  }
  .ws-nav .x { margin-top: 0; }
  .ws-nav .ws-mine {
    margin-top: 0;
    margin-left: 4px;
    flex: 0 0 auto;
    white-space: nowrap;
  }
  .ws-offer {
    left: 10px;
    right: 10px;
    bottom: 10px;
    max-width: none;
  }
  .ws-pane.split { grid-template-columns: 1fr; }
}

.hello {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
  color: var(--coral);
}
.btn-start {
  background: linear-gradient(#ff8a4a, #e65454);
  color: #fff;
  border-radius: 999px;
  min-height: 52px;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.card.mission {
  background: #fff8f6;
  border-color: rgba(230, 84, 84, 0.28);
}
.card.mission h3 { margin-top: 8px; }
.feed article.mine { border-color: var(--coral); }
.lounge {
  display: grid;
  gap: 10px;
}
.feed {
  display: grid;
  gap: 8px;
}
.feed article {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 10px 12px;
}
.feed b { font-size: 13px; }
.feed span { color: var(--coral); font-size: 11px; font-weight: 700; margin-left: 6px; }
.feed p { color: var(--mute); font-size: 13px; margin-top: 4px; font-weight: 500; }
.feed time { display: block; color: #9a948c; font-size: 11px; margin-top: 4px; }
.who-now {
  font-size: 12px;
  font-weight: 700;
  color: var(--mute);
}
.replies {
  display: grid;
  gap: 6px;
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px dashed var(--line);
}
.replies p { font-size: 12px; }
.reply-row {
  display: flex;
  gap: 6px;
  margin-top: 8px;
}
.reply-row input {
  flex: 1;
  height: 36px;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0 10px;
  font: inherit;
  font-size: 13px;
}
.reply-row button { min-height: 36px; padding: 0 12px; font-size: 12px; }
.people-list {
  display: grid;
  gap: 6px;
}
.people-list li {
  list-style: none;
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  font-weight: 700;
  padding: 8px 10px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
}
.people-list i {
  font-style: normal;
  color: var(--coral);
  font-size: 11px;
}

.arcade[hidden],
.arc-lobby[hidden],
.arc-play[hidden],
.arc-end[hidden] { display: none !important; }
.arcade {
  position: fixed;
  inset: 0;
  z-index: 48;
  background: #5f9140;
  display: grid;
  place-items: center;
  padding: 16px;
}
.arc-lobby, .arc-end {
  width: min(420px, 100%);
  background: #fffaf4;
  border-radius: 24px;
  padding: 24px;
  display: grid;
  gap: 12px;
  text-align: center;
}
.arc-lobby h2, .arc-end h3 { font-size: 28px; font-weight: 800; letter-spacing: -0.04em; }
.team-pick, .mode-pick { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; }
.team {
  border: 0;
  border-radius: 999px;
  padding: 10px 16px;
  font-weight: 800;
  background: #eee;
}
.team.coral.on { background: #e65454; color: #fff; }
.team.mint.on { background: #3cb89a; color: #fff; }
.arc-play {
  width: min(680px, 100%);
  display: grid;
  gap: 10px;
  justify-items: center;
}
.arc-top {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #fff;
  font-weight: 800;
}
#arc-board {
  --cell: clamp(26px, 5.2vw, 42px);
  --cols: 13;
  --rows: 11;
  display: grid;
  grid-template-columns: repeat(13, var(--cell));
  grid-template-rows: repeat(11, var(--cell));
  position: relative;
  border: 6px solid #2c2c2c;
  background: #73ab45;
}
.arc-tile {
  width: var(--cell);
  height: var(--cell);
  grid-column: calc(var(--c) + 1);
  grid-row: calc(var(--r) + 1);
}
.arc-tile.empty { background: #7db34e; }
.arc-tile.hard {
  background: #ef7a38;
  border-radius: 4px;
  box-shadow: inset 0 0 0 1px rgba(0,0,0,.12);
  background-image: radial-gradient(circle at 30% 28%, rgba(255,255,255,.4) 0 14%, transparent 15%),
    radial-gradient(circle at 70% 28%, rgba(255,255,255,.4) 0 14%, transparent 15%);
}
.arc-tile.soft {
  background: #d9a14a;
  box-shadow: inset 0 0 0 2px #8b5a22;
}
.drop, .blast, .pawn {
  position: absolute;
  width: var(--cell);
  height: var(--cell);
  left: calc(var(--c) * var(--cell));
  top: calc(var(--r) * var(--cell));
}
.drop {
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #fff, #6ecbff 40%, #2a8fd6);
  box-shadow: 0 3px 0 #1d6aa3;
}
.blast {
  background: radial-gradient(circle, #bfe9ff, #4aa3e6 60%, transparent 70%);
}
.pawn {
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 11px;
  font-weight: 800;
  color: #fff;
}
.pawn.coral { background: #e65454; }
.pawn.mint { background: #3cb89a; }
.pawn.me {
  background: url("assets/hero.jpg") center 28% / 160% no-repeat;
  color: transparent;
}
.pawn.trapped {
  box-shadow: 0 0 0 6px rgba(110, 203, 255, 0.7);
}
.arc-drop {
  border: 0;
  border-radius: 999px;
  min-height: 48px;
  padding: 0 22px;
  background: #2a8fd6;
  color: #fff;
  font-weight: 800;
}
@media (min-width: 769px) {
  .arc-drop { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
}
