.play-main { padding-top: 24px; padding-bottom: 40px; max-width: 760px; }
.panel { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; max-width: 520px; margin: 24px auto; }
.panel h1 { font-size: 2rem; }
.small { font-size: 0.9rem; }
.serif { font-family: var(--serif); font-size: 1.15rem; }
.tabs { display: flex; background: rgba(28, 28, 46, 0.06); border-radius: 12px; padding: 4px; margin: 16px 0 4px; }
.tabs button { flex: 1; border: 0; background: transparent; padding: 9px; border-radius: 9px; font: 600 0.95rem var(--sans); cursor: pointer; color: var(--ink); }
.tabs button.active { background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,0.1); }
form .btn { width: 100%; margin-top: 8px; }
.linkish { background: none; border: 0; color: var(--blue); cursor: pointer; padding: 10px 0; font: inherit; }
.rules, .pledge-list { padding-left: 20px; }
.pledge-list li { margin: 10px 0; }
.menu { position: absolute; right: 24px; top: 60px; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 8px; display: flex; flex-direction: column; gap: 6px; box-shadow: 0 8px 30px rgba(0,0,0,0.1); }
.danger { color: var(--red) !important; }

/* Hold-to-pledge button */
.hold { position: relative; overflow: hidden; width: 100%; height: 56px; border: 0; border-radius: 14px; background: var(--ink); color: #fff; font: 600 1rem var(--sans); cursor: pointer; margin-top: 16px; user-select: none; -webkit-user-select: none; touch-action: none; }
.hold .fillbar { position: absolute; inset: 0; background: var(--red); transform: scaleX(0); transform-origin: left; }
.hold.holding .fillbar { transform: scaleX(1); transition: transform 1.6s linear; }
.hold .label { position: relative; }

/* Game */
.info { background: rgba(46, 107, 255, 0.1); border-radius: 10px; padding: 10px 14px; font-size: 0.95rem; }
.task-head { text-align: center; margin: 8px 0 14px; }
.task-head .kind { font-size: 0.75rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.task-head .prompt { font-weight: 600; font-size: 1.1rem; }
.photo { position: relative; border-radius: 14px; overflow: hidden; background: rgba(28, 28, 46, 0.06); cursor: pointer; aspect-ratio: 3 / 4; outline: 4px solid transparent; outline-offset: -4px; transition: outline-color 0.15s; }
.photo img { width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.photo .zoom { position: absolute; right: 6px; top: 6px; background: rgba(255,255,255,0.85); border: 0; border-radius: 99px; width: 30px; height: 30px; cursor: zoom-in; font-size: 0.95rem; }
.photo-dialog { background: #000; padding: 0; border-radius: 16px; max-width: min(92vw, 520px); width: auto; overflow: visible; }
.photo-dialog img { display: block; max-width: min(92vw, 520px); max-height: 80vh; border-radius: 16px; }
.photo-dialog .close { position: absolute; top: 10px; right: 10px; width: 36px; height: 36px; border-radius: 50%; border: 0; background: rgba(255,255,255,0.2); color: #fff; cursor: pointer; }
.photo-dialog .report-link { display: block; margin: 10px auto; background: none; border: 0; color: rgba(255,255,255,0.55); font: 0.85rem var(--sans); cursor: pointer; }
.photo-dialog form { background: #fff; padding: 18px; border-radius: 0 0 16px 16px; }
.photo.selected.man { outline-color: var(--blue); }
.photo.selected.woman, .photo.selected { outline-color: var(--red); }
.photo.dragover { outline-color: var(--ink); }
.pair { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; background: #fff; padding: 6px; border-radius: 22px; max-width: 560px; margin: 0 auto; }
.pair .photo { cursor: default; }
.vote-row { display: flex; justify-content: center; gap: 14px; margin-top: 18px; }
.vote-row .btn { min-width: 160px; }
.ovt { display: grid; grid-template-columns: 1.4fr 1fr; gap: 10px; align-items: center; max-width: 560px; margin: 0 auto; }
.ovt .options { display: grid; gap: 8px; }
.ovt .options .photo { aspect-ratio: 1; }
.grid6 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 28px; max-width: 420px; margin: 0 auto; }
.grid6 .photo { aspect-ratio: 1; }
.grid6 .col-label { text-align: center; font-weight: 600; font-size: 0.85rem; color: var(--muted); }
.hint { text-align: center; color: var(--muted); font-size: 0.9rem; margin-top: 10px; }
.reminder { text-align: center; color: var(--muted); font-size: 0.85rem; margin-top: 28px; }
dialog { border: 0; border-radius: 18px; padding: 24px; max-width: 380px; width: 90%; }
dialog::backdrop { background: rgba(0,0,0,0.35); }
dialog .row { display: flex; gap: 10px; margin-top: 16px; }
dialog .row .btn { flex: 1; }
kbd { background: #fff; border: 1px solid var(--line); border-radius: 6px; padding: 0 6px; font-size: 0.8rem; }
