:root {
  color-scheme: dark;
  --night: #111412;
  --night-raised: #191e1a;
  --ink: #f4ecdd;
  --muted: #a9aa9e;
  --faint: #73796f;
  --paper: #e9dfcd;
  --paper-deep: #c4b39c;
  --coral: #ee725e;
  --coral-soft: #ffb09a;
  --lavender: #c1a4ec;
  --line: rgba(244, 236, 221, 0.15);
  --line-dark: rgba(17, 20, 18, 0.18);
  --shadow: 0 30px 80px rgba(0, 0, 0, 0.32);
  --sans: -apple-system, BlinkMacSystemFont, "SF Pro Text", "PingFang SC", "Noto Sans CJK SC", sans-serif;
  --serif: "Songti SC", "STSong", "Noto Serif CJK SC", Georgia, serif;
}

* { box-sizing: border-box; }

html { min-width: 320px; background: var(--night); }

body {
  min-height: 100vh;
  margin: 0;
  color: var(--ink);
  background: var(--night);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
}

body::selection,
textarea::selection,
input::selection { background: var(--coral); color: var(--night); }

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  border: 1px solid rgba(255, 255, 255, 0.04);
  z-index: 5;
}

.grain {
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.12;
  background-image: url("/assets/paper-bin-empty.png");
  background-repeat: no-repeat;
  background-position: 94% 112%;
  background-size: 280px;
  filter: grayscale(1) contrast(0.7);
  mix-blend-mode: soft-light;
  z-index: 4;
}

button, input, textarea { font: inherit; }

button { color: inherit; }

button, a { -webkit-tap-highlight-color: transparent; }

button:focus-visible, a:focus-visible, input:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--coral-soft);
  outline-offset: 4px;
}

button:disabled { cursor: wait; opacity: 0.55; }

img { display: block; max-width: 100%; }

[hidden] { display: none !important; }

.topbar {
  position: relative;
  z-index: 10;
  width: min(1320px, calc(100% - 64px));
  min-height: 92px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  text-decoration: none;
}

.brand-mark {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 1px solid var(--coral);
  color: var(--coral-soft);
  font-family: var(--serif);
  font-size: 18px;
}

.brand-copy { display: grid; gap: 4px; line-height: 1; }
.brand-copy strong { font-family: var(--serif); font-size: 16px; font-weight: 600; letter-spacing: 0.12em; }
.brand-copy small { color: var(--faint); font-size: 9px; letter-spacing: 0.2em; }

.topbar-meta {
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--muted);
  font-size: 12px;
}

.connection-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--faint); }
.connection-dot.is-online { background: #9bc497; box-shadow: 0 0 0 5px rgba(155, 196, 151, 0.1); }
.connection-dot.is-waiting { background: var(--coral); box-shadow: 0 0 0 5px rgba(238, 114, 94, 0.1); }

main { position: relative; z-index: 1; }

.view { width: min(1320px, calc(100% - 64px)); margin: 0 auto; }

.auth-stage {
  min-height: calc(100vh - 92px);
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(360px, 0.62fr);
  gap: 12vw;
  align-items: center;
  padding: 64px 0 94px;
}

.kicker {
  margin: 0 0 22px;
  color: var(--coral-soft);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.2em;
  line-height: 1.4;
}

h1, h2, p { text-wrap: pretty; }

h1, h2 { margin: 0; font-family: var(--serif); font-weight: 500; letter-spacing: -0.02em; }
h1 { max-width: 700px; font-size: 68px; line-height: 1.03; }
h2 { font-size: 42px; line-height: 1.08; }
h1 em, h2 em { color: var(--coral-soft); font-style: normal; }

.lead {
  max-width: 510px;
  margin: 28px 0 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.8;
}

.auth-copy { position: relative; min-height: 600px; padding-top: 78px; }

.auth-object {
  position: absolute;
  right: 2%;
  bottom: -32px;
  width: 430px;
  height: 430px;
}

.auth-object > img {
  position: absolute;
  right: 30px;
  bottom: 0;
  width: 320px;
  filter: saturate(0.78) contrast(1.05);
  opacity: 0.9;
}

.object-shadow {
  position: absolute;
  right: 42px;
  bottom: 12px;
  width: 300px;
  height: 34px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.55);
  filter: blur(16px);
}

.floating-note { position: absolute; z-index: 2; width: 72px; animation: float-note 5s ease-in-out infinite; }
.floating-note img { width: 100%; filter: drop-shadow(0 14px 12px rgba(0, 0, 0, 0.3)); }
.note-a { top: 108px; left: 36px; transform: rotate(-12deg); }
.note-b { top: 45px; right: 72px; transform: rotate(16deg); animation-delay: -1.8s; }
.note-c { top: 196px; right: 6px; transform: rotate(28deg); animation-delay: -3.2s; }

@keyframes float-note {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -10px; }
}

.panel-surface {
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--night-raised);
  box-shadow: var(--shadow);
}

.auth-panel { width: min(100%, 430px); justify-self: end; }

.panel-tabs { display: flex; gap: 24px; margin-bottom: 28px; border-bottom: 1px solid var(--line); }
.tab {
  position: relative;
  border: 0;
  padding: 0 0 15px;
  background: transparent;
  color: var(--faint);
  cursor: pointer;
  font-size: 14px;
}
.tab::after { content: ""; position: absolute; right: 0; bottom: -1px; left: 0; height: 2px; background: transparent; }
.tab.is-active { color: var(--ink); }
.tab.is-active::after { background: var(--coral); }

.form-stack { display: grid; gap: 18px; }
.field { display: grid; gap: 8px; }
.field > span { color: var(--muted); font-size: 12px; }
.field input, .field textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 13px 14px;
  color: var(--ink);
  background: rgba(8, 10, 9, 0.45);
}
.field input { height: 48px; }
.field textarea { min-height: 190px; resize: vertical; line-height: 1.75; }
.field input::placeholder, .field textarea::placeholder { color: #686f66; }
.field input:focus, .field textarea:focus { border-color: var(--coral); outline: 0; }

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 0 18px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 700;
  transition: background 180ms ease, border-color 180ms ease, color 180ms ease, transform 180ms ease;
}
.button:hover { transform: translateY(-1px); }
.button:active { transform: translateY(1px); }
.button-primary { color: var(--night); background: var(--coral-soft); }
.button-primary:hover { background: #ffc2ad; }
.button-outline { color: var(--ink); border-color: var(--line); background: transparent; }
.button-outline:hover { border-color: var(--coral-soft); color: var(--coral-soft); }

.form-message { min-height: 18px; margin: 0; color: var(--coral-soft); font-size: 12px; line-height: 1.5; }
.privacy-line { margin: 24px 0 0; color: var(--faint); font-size: 11px; }
.lock-mark { color: #9bc497; }

.pairing-shell {
  min-height: calc(100vh - 92px);
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 13vw;
  align-items: center;
  padding: 80px 0;
}

.pairing-copy { align-self: start; padding-top: 94px; }
.pairing-actions { display: grid; grid-template-columns: minmax(0, 1fr) 42px minmax(0, 1fr); align-items: center; gap: 20px; }
.pairing-block { min-height: 240px; display: flex; flex-direction: column; justify-content: center; gap: 18px; }
.block-label { margin: 0; color: var(--coral-soft); font-size: 12px; letter-spacing: 0.08em; }
.block-note { margin: 0; color: var(--faint); font-size: 12px; line-height: 1.6; }
.pair-divider { display: grid; place-items: center; height: 100%; color: var(--faint); font-size: 11px; }
.pair-divider::before { content: ""; width: 1px; height: 70px; background: var(--line); }
.pair-divider span { padding: 12px 0; }
.pair-code { display: flex; align-items: center; gap: 12px; }
.pair-code > span { color: var(--ink); font-size: 35px; font-weight: 700; letter-spacing: 0.17em; }
.pair-code button { border: 0; padding: 0; color: var(--coral-soft); background: transparent; cursor: pointer; font-size: 12px; }

.room-shell { padding: 66px 0 100px; }
.room-heading { display: flex; align-items: end; justify-content: space-between; gap: 28px; }
.room-heading h1 { font-size: 58px; }
.room-partner { max-width: 260px; color: var(--muted); font-size: 13px; line-height: 1.6; text-align: right; }

.room-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 74px; align-items: stretch; margin-top: 56px; }
.bin-stage { position: relative; min-height: 660px; display: flex; flex-direction: column; align-items: center; justify-content: end; overflow: hidden; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stage-line { position: absolute; left: 0; width: 42px; height: 1px; background: var(--coral); }
.stage-line-top { top: 0; }
.bin-label { position: absolute; top: 24px; left: 0; color: var(--muted); font-size: 12px; letter-spacing: 0.04em; }
.bin-label span { color: var(--coral-soft); }
.bin-scene { position: relative; width: min(520px, 82%); aspect-ratio: 1; margin-bottom: 18px; }
.bin-image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.bin-back { filter: saturate(0.78) contrast(1.08); }
.bin-lid { z-index: 4; transform-origin: 50% 23%; transition: transform 560ms cubic-bezier(0.2, 0.82, 0.24, 1), opacity 300ms ease; filter: saturate(0.75) contrast(1.04); }
.bin-scene.is-open .bin-lid { transform: translateY(-31%) rotate(-5deg); opacity: 0.84; }
.bin-glow { position: absolute; z-index: 1; left: 26%; right: 26%; top: 19%; height: 15%; background: rgba(255, 176, 154, 0.12); filter: blur(20px); opacity: 0; transition: opacity 500ms ease; }
.bin-scene.has-new .bin-glow { opacity: 1; }
.note-layer { position: absolute; z-index: 3; inset: 0; pointer-events: none; }
.paper-note {
  position: absolute;
  width: 22%;
  border: 0;
  padding: 0;
  background: transparent;
  cursor: pointer;
  pointer-events: auto;
  filter: drop-shadow(0 18px 10px rgba(0, 0, 0, 0.28));
  transition: transform 220ms ease, filter 220ms ease;
}
.paper-note img { width: 100%; }
.paper-note:hover { z-index: 8; filter: drop-shadow(0 23px 12px rgba(0, 0, 0, 0.36)); }
.paper-note:nth-child(1) { left: 27%; top: 16%; transform: rotate(-16deg); }
.paper-note:nth-child(2) { left: 45%; top: 13%; transform: rotate(11deg); }
.paper-note:nth-child(3) { left: 35%; top: 23%; transform: rotate(28deg); }
.paper-note:nth-child(4) { left: 52%; top: 22%; transform: rotate(-23deg); }
.paper-note.is-opened { opacity: 0.28; filter: grayscale(0.7); }
.paper-note.is-opening { animation: note-open 640ms cubic-bezier(0.2, 0.9, 0.2, 1) both; }
@keyframes note-open { 0% { transform: scale(1) rotate(0); } 55% { transform: translateY(-70px) scale(1.15) rotate(-3deg); } 100% { transform: translateY(-250px) scale(1.55) rotate(0); opacity: 0; } }
.stage-caption { min-height: 22px; margin-bottom: 22px; color: var(--muted); font-size: 12px; text-align: center; }
.stage-action { margin: 0 0 20px; border: 0; padding: 0; color: var(--coral-soft); background: transparent; cursor: pointer; font-size: 12px; }
.stage-action:hover { color: var(--ink); }

.room-rail { display: flex; flex-direction: column; min-height: 660px; border-left: 1px solid var(--line); padding-left: 28px; }
.rail-heading { display: flex; align-items: center; justify-content: space-between; padding-bottom: 17px; border-bottom: 1px solid var(--line); color: var(--muted); font-size: 12px; }
.room-code { color: var(--coral-soft); letter-spacing: 0.14em; }
.rail-status { margin: 22px 0 18px; color: var(--ink); font-family: var(--serif); font-size: 22px; line-height: 1.35; }
.rail-history { display: grid; gap: 13px; overflow: auto; max-height: 350px; padding-right: 4px; }
.history-row { display: flex; align-items: center; gap: 12px; min-height: 54px; color: var(--muted); font-size: 12px; }
.history-note { width: 38px; height: 38px; flex: none; }
.history-note img { width: 100%; height: 100%; object-fit: contain; }
.history-copy { display: grid; gap: 4px; min-width: 0; }
.history-copy strong { color: var(--ink); font-size: 12px; font-weight: 500; }
.history-copy span { color: var(--faint); font-size: 11px; }
.history-row.is-opened { opacity: 0.45; }
.write-button { display: flex; align-items: center; gap: 12px; margin-top: auto; border: 0; padding: 16px 0; color: var(--coral-soft); background: transparent; cursor: pointer; font-size: 14px; text-align: left; }
.write-button:hover { color: var(--ink); }
.write-symbol { width: 28px; height: 28px; display: grid; place-items: center; border: 1px solid currentColor; border-radius: 50%; font-size: 20px; font-weight: 300; line-height: 1; }
.text-button { align-self: start; border: 0; padding: 0; color: var(--faint); background: transparent; cursor: pointer; font-size: 11px; }
.text-button:hover { color: var(--muted); }

dialog { border: 0; padding: 0; color: var(--ink); background: transparent; }
dialog::backdrop { background: rgba(4, 6, 5, 0.78); backdrop-filter: blur(5px); }
.dialog-inner, .reveal-inner { position: relative; width: min(580px, calc(100vw - 40px)); border: 1px solid var(--line); border-radius: 18px; padding: 34px; background: var(--night-raised); box-shadow: var(--shadow); }
.dialog-close { position: absolute; top: 17px; right: 18px; border: 0; padding: 0; color: var(--muted); background: transparent; cursor: pointer; font-size: 27px; font-weight: 200; line-height: 1; }
.dialog-close:hover { color: var(--ink); }
.compose-dialog h2 { margin-bottom: 30px; }
.compose-field textarea { background: #121612; }
.compose-footer { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-top: 20px; }
.char-count { color: var(--faint); font-size: 11px; }
.reveal-inner { width: min(560px, calc(100vw - 40px)); min-height: 560px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; }
.reveal-note { width: 112px; margin: 4px auto 30px; animation: reveal-note 680ms cubic-bezier(0.2, 0.85, 0.2, 1) both; }
.reveal-note img { width: 100%; filter: drop-shadow(0 24px 18px rgba(0, 0, 0, 0.35)); }
@keyframes reveal-note { from { opacity: 0; transform: translateY(30px) scale(0.7) rotate(-18deg); } to { opacity: 1; transform: translateY(0) scale(1) rotate(-4deg); } }
.revealed-body { max-width: 390px; margin: 0; color: var(--paper); font-family: var(--serif); font-size: 28px; line-height: 1.55; white-space: pre-wrap; }
.revealed-meta { margin-top: 28px; color: var(--faint); font-size: 11px; }
.reveal-inner .button { margin-top: 28px; }

.toast { position: fixed; right: 28px; bottom: 28px; z-index: 30; max-width: 300px; transform: translateY(16px); border: 1px solid var(--line); border-radius: 8px; padding: 12px 14px; color: var(--ink); background: var(--night-raised); box-shadow: var(--shadow); opacity: 0; pointer-events: none; font-size: 12px; line-height: 1.5; transition: opacity 180ms ease, transform 180ms ease; }
.toast.is-visible { transform: translateY(0); opacity: 1; }

@media (max-width: 960px) {
  .topbar, .view { width: min(100% - 40px, 720px); }
  .auth-stage, .pairing-shell { grid-template-columns: 1fr; gap: 46px; padding-top: 58px; }
  .auth-copy { min-height: 430px; padding-top: 0; }
  .auth-object { right: 0; bottom: -45px; width: 360px; height: 360px; }
  .auth-object > img { right: 18px; width: 260px; }
  .object-shadow { right: 26px; width: 250px; }
  .auth-panel { justify-self: start; }
  .pairing-copy { padding-top: 0; }
  .room-layout { grid-template-columns: 1fr; gap: 34px; }
  .bin-stage { min-height: 590px; }
  .room-rail { min-height: 0; border-top: 1px solid var(--line); border-left: 0; padding: 28px 0 0; }
  .rail-history { max-height: none; }
  .write-button { margin-top: 25px; }
}

@media (max-width: 600px) {
  .topbar, .view { width: calc(100% - 32px); }
  .topbar { min-height: 74px; }
  .topbar-meta { font-size: 10px; }
  .brand-mark { width: 30px; height: 30px; font-size: 16px; }
  h1 { font-size: 48px; }
  h2 { font-size: 35px; }
  .lead { margin-top: 22px; font-size: 15px; line-height: 1.7; }
  .auth-stage, .pairing-shell { min-height: auto; padding: 56px 0 70px; }
  .auth-copy { min-height: 420px; }
  .auth-object { left: -30px; right: auto; bottom: -18px; width: 340px; height: 340px; }
  .auth-object > img { width: 245px; }
  .panel-surface { padding: 24px; }
  .pairing-actions { grid-template-columns: 1fr; gap: 24px; }
  .pairing-block { min-height: 0; }
  .pair-divider { grid-template-columns: 1fr auto 1fr; gap: 12px; height: auto; }
  .pair-divider::before { width: auto; height: 1px; }
  .pair-divider span { padding: 0; }
  .room-shell { padding: 48px 0 66px; }
  .room-heading { align-items: start; flex-direction: column; }
  .room-heading h1 { font-size: 48px; }
  .room-partner { text-align: left; }
  .room-layout { margin-top: 42px; }
  .bin-stage { min-height: 470px; }
  .bin-scene { width: 112%; margin-left: -6%; }
  .dialog-inner, .reveal-inner { width: calc(100vw - 24px); padding: 24px; }
  .compose-footer { align-items: flex-start; flex-direction: column; }
  .compose-footer .button { width: 100%; }
  .revealed-body { font-size: 23px; }
  .reveal-inner { min-height: 520px; }
  .toast { right: 12px; bottom: 12px; left: 12px; max-width: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: 1ms !important; animation-iteration-count: 1 !important; transition-duration: 1ms !important; }
}

/* The contest surface treats the three objects as one expression set. */
.set-object {
  position: absolute;
  right: 0;
  bottom: -34px;
  width: 520px;
  height: 390px;
}

.set-object .object-shadow { right: 46px; bottom: 20px; width: 420px; }
.set-orbit { position: absolute; inset: 32px 42px 30px 28px; border: 1px solid rgba(238, 114, 94, 0.18); border-radius: 50%; transform: rotate(-9deg); }
.mini-vessel { position: absolute; display: grid; place-items: center; color: var(--muted); font-size: 10px; letter-spacing: 0.06em; text-transform: uppercase; }
.mini-vessel img { width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 15px 13px rgba(0, 0, 0, 0.28)); }
.mini-vessel > span:last-child { position: absolute; bottom: -16px; }
.mini-jar { left: 6px; top: 72px; width: 124px; height: 124px; transform: rotate(-7deg); }
.mini-capsule { left: 174px; top: 22px; width: 150px; height: 120px; transform: rotate(7deg); }
.mini-bin { right: 2px; bottom: 0; width: 230px; height: 230px; transform: rotate(3deg); }
.capsule-shape { position: relative; display: block; width: 130px; height: 70px; border: 1px solid rgba(213, 224, 185, 0.75); border-radius: 40px 40px 28px 28px; background: #747e5d; box-shadow: inset 0 11px 0 rgba(255, 255, 255, 0.12), inset 0 -16px 20px rgba(19, 24, 17, 0.22), 0 18px 15px rgba(0, 0, 0, 0.24); }
.capsule-shape::before, .capsule-shape::after { content: ""; position: absolute; left: 50%; width: 42px; height: 12px; border-radius: 50%; background: rgba(216, 188, 116, 0.9); transform: translateX(-50%); }
.capsule-shape::before { top: -6px; }
.capsule-shape::after { bottom: -6px; }

.vessel-stage {
  position: relative;
  width: min(760px, 96%);
  height: 510px;
  margin-bottom: 0;
}
.set-label { position: absolute; top: 24px; left: 0; color: var(--muted); font-size: 12px; letter-spacing: 0.04em; }
.set-label span { color: var(--coral-soft); }
.vessel {
  position: absolute;
  z-index: 2;
  display: grid;
  place-items: center;
  border: 0;
  padding: 0;
  background: transparent;
  cursor: pointer;
  filter: drop-shadow(0 24px 18px rgba(0, 0, 0, 0.2));
  transition: transform 260ms cubic-bezier(0.2, 0.8, 0.2, 1), filter 260ms ease;
}
.vessel:hover { filter: drop-shadow(0 30px 20px rgba(0, 0, 0, 0.3)); }
.vessel:active { transform: scale(0.97); }
.vessel-jar { left: 16%; top: 112px; width: 230px; height: 230px; transform: rotate(-5deg); }
.vessel-jar:hover { transform: translateY(-8px) rotate(-5deg); }
.vessel-jar > img { width: 100%; height: 100%; object-fit: contain; }
.vessel-capsule { left: 42%; top: 74px; width: 260px; height: 190px; transform: rotate(5deg); }
.vessel-capsule:hover { transform: translateY(-8px) rotate(5deg); }
.vessel-capsule .capsule-shape { width: 220px; height: 110px; border-radius: 58px 58px 42px 42px; }
.vessel-bin { right: 5%; bottom: 8px; width: 290px; height: 290px; transform: rotate(3deg); }
.vessel-bin:hover { transform: translateY(-8px) rotate(3deg); }
.vessel-bin .bin-image { pointer-events: none; }
.vessel-bin .bin-lid { transform-origin: 50% 23%; transition: transform 560ms cubic-bezier(0.2, 0.82, 0.24, 1), opacity 300ms ease; }
.vessel-bin.is-open .bin-lid { transform: translateY(-31%) rotate(-5deg); opacity: 0.84; }
.vessel-notes { position: absolute; z-index: 4; inset: 0; pointer-events: none; }
.vessel-notes .paper-note { width: 21%; }
.vessel-jar .vessel-notes, .vessel-capsule .vessel-notes { position: absolute; inset: 0; }
.vessel-jar .paper-note { width: 22%; }
.vessel-capsule .paper-note { width: 18%; }
.vessel-bin .paper-note { width: 19%; }
.set-glow { position: absolute; z-index: 0; left: 19%; right: 10%; top: 96px; height: 240px; border-radius: 50%; background: rgba(238, 114, 94, 0.08); filter: blur(42px); opacity: 0; transition: opacity 500ms ease; }
.vessel-stage.has-new .set-glow { opacity: 1; }
.vessel-stage .paper-note { pointer-events: auto; }

.vessel-choice { display: flex; gap: 12px; margin: 0 0 24px; }
.choice { position: relative; display: grid; grid-template-columns: 46px auto; grid-template-rows: 1fr 1fr; align-items: center; column-gap: 10px; min-width: 112px; padding: 8px 10px; border: 1px solid var(--line); border-radius: 8px; color: var(--muted); cursor: pointer; font-size: 12px; transition: border-color 180ms ease, color 180ms ease, background 180ms ease; }
.choice input { position: absolute; opacity: 0; pointer-events: none; }
.choice.is-selected { border-color: var(--coral); color: var(--ink); background: rgba(238, 114, 94, 0.08); }
.choice-art { grid-row: 1 / span 2; width: 44px; height: 44px; display: grid; place-items: center; }
.choice-art img { width: 100%; height: 100%; object-fit: contain; }
.choice-star img { width: 32px; height: 32px; }
.choice-capsule .capsule-shape { width: 44px; height: 24px; }

@media (max-width: 960px) {
  .set-object { right: auto; left: 0; width: 430px; height: 325px; }
  .mini-jar { width: 100px; height: 100px; }
  .mini-capsule { left: 140px; width: 125px; height: 100px; }
  .mini-bin { width: 190px; height: 190px; }
  .vessel-stage { width: 100%; }
}

@media (max-width: 600px) {
  .set-object { left: -54px; bottom: -20px; width: 410px; height: 310px; }
  .vessel-stage { height: 430px; width: 118%; margin-left: -9%; }
  .vessel-jar { left: 3%; top: 126px; width: 156px; height: 156px; }
  .vessel-capsule { left: 32%; top: 88px; width: 190px; height: 145px; }
  .vessel-capsule .capsule-shape { width: 165px; height: 82px; }
  .vessel-bin { right: 0; bottom: 16px; width: 210px; height: 210px; }
  .vessel-choice { gap: 6px; }
  .choice { min-width: 0; flex: 1; grid-template-columns: 35px auto; padding: 7px; }
  .choice-art { width: 35px; height: 35px; }
}
