/* Media-first review, with fixed decisions and a single deliberate swipe surface. */
.review-launch { gap: 8px; }
.content-review {
  width: min(650px, 100%);
  height: min(920px, calc(100dvh - 40px));
  max-height: calc(100dvh - 40px);
  background: radial-gradient(ellipse at 15% 0, rgba(81,182,232,.09), transparent 55%), var(--surface);
  border-radius: 24px;
}
.content-review .modal-head { flex: none; padding: 14px 20px; border-bottom: 0; }
.content-review .modal-head h2 { font-size: 16px; font-weight: 600; }
.review-position { color: var(--muted); font-size: 12px; font-variant-numeric: tabular-nums; }
.content-review .modal-body { flex: 1; min-height: 0; padding: 0 24px 16px; overflow: hidden; }
.review-flow { height: 100%; min-height: 0; display: flex; flex-direction: column; gap: 12px; }
.review-progress { flex: none; width: 100%; height: 2px; border: 0; border-radius: 2px; appearance: none; accent-color: var(--primary); background: var(--border); }
.review-progress::-webkit-progress-bar { background: var(--border); border-radius: 2px; }
.review-progress::-webkit-progress-value { background: linear-gradient(90deg, #51b6e8, #ac9af2); border-radius: 2px; transition: width .2s; }
.review-progress::-moz-progress-bar { background: var(--primary); }
.review-stage { flex: 1; min-height: 0; position: relative; display: grid; place-items: center; isolation: isolate; padding: 10px 14px 6px; }
.review-card, .review-stack { grid-area: 1 / 1; width: min(100%, 430px); height: 100%; border-radius: 19px; }
.review-stack { background: var(--surface-2); border: 1px solid var(--border); transform: translateY(5px) rotate(-2deg) scale(.985); z-index: -1; }
.review-card { position: relative; background: #0e121b; box-shadow: 0 14px 44px rgba(0,0,0,.2); border: 1px solid rgba(166,185,219,.22); overflow: hidden; touch-action: pan-y; user-select: none; cursor: grab; transition: transform .2s ease-out; }
.review-card.is-dragging { transition: none; cursor: grabbing; }
.review-media { width: 100%; height: 100%; display: grid; place-items: center; }
.review-media img, .review-media video { display: block; width: 100%; height: 100%; min-height: 0; object-fit: contain; }
.review-card-top { position: absolute; inset: 12px 12px auto; display: flex; align-items: center; justify-content: space-between; gap: 8px; pointer-events: none; }
.review-card-top .overlay-pill { font-size: 11px; background: rgba(13,18,28,.66); backdrop-filter: blur(12px); }
.review-asset-position { padding: 5px 9px; color: #fff; border-radius: 30px; background: rgba(13,18,28,.66); font-size: 11px; font-variant-numeric: tabular-nums; }
.review-stamp { position: absolute; top: 25%; display: flex; align-items: center; gap: 9px; padding: 11px 16px; border: 2px solid currentColor; border-radius: 10px; font-size: 21px; font-weight: 700; background: rgba(13,18,28,.85); pointer-events: none; }
.review-stamp.approve { left: 24px; color: #89dfca; transform: rotate(-12deg); opacity: var(--approve-opacity, 0); }
.review-stamp.reject { right: 24px; color: #ff9cae; transform: rotate(12deg); opacity: var(--reject-opacity, 0); }
.review-stamp .icon { width: 21px; height: 21px; }
.review-media-nav { position: absolute; top: 50%; transform: translateY(-50%); display: grid; place-items: center; width: 34px; height: 42px; border-radius: 30px; border: 1px solid rgba(255,255,255,.18); background: rgba(13,18,28,.72); color: #fff; cursor: pointer; }
.review-media-nav.prev { left: 10px; }
.review-media-nav.next { right: 10px; }
.review-media-nav:disabled { opacity: .3; cursor: default; }
.review-details { flex: none; width: min(100%, 430px); align-self: center; display: grid; gap: 7px; min-width: 0; }
.review-title { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 15px; font-weight: 600; margin: 0; }
.review-accounts { display: flex; align-items: center; gap: 12px; font-size: 11px; color: var(--muted); overflow: hidden; }
.review-accounts > span { display: flex; align-items: center; gap: 5px; min-width: 0; }
.review-accounts > span > span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.review-accounts .social-logo { width: 14px; height: 14px; flex: none; }
.review-accounts .review-accounts-more { flex: none; color: var(--text); }
.review-caption { min-width: 0; font-size: 12px; line-height: 1.5; color: var(--muted); }
.review-caption summary { display: flex; align-items: center; min-width: 0; gap: 8px; list-style: none; cursor: pointer; }
.review-caption summary::-webkit-details-marker { display: none; }
.review-caption summary > span { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.review-caption summary .icon { flex: none; width: 13px; height: 13px; }
.review-caption[open] summary .icon { transform: rotate(180deg); }
.review-caption p { max-height: 80px; overflow-y: auto; margin: 6px 0 0; white-space: pre-wrap; user-select: text; }
.review-actions { flex: none; display: flex; align-items: flex-end; justify-content: center; gap: 32px; padding-top: 1px; }
.review-choice { display: flex; flex-direction: column; align-items: center; gap: 7px; padding: 0; border: 0; background: none; color: var(--muted); font: inherit; font-size: 11px; cursor: pointer; }
.review-choice-circle { width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--border); background: var(--surface-2); transition: transform .18s, border-color .18s, box-shadow .18s; }
.review-choice-circle .icon { width: 23px; height: 23px; stroke-width: 1.6; }
.review-choice.reject .review-choice-circle { color: #ef8fa5; border-color: rgba(239,143,165,.25); background: rgba(239,143,165,.065); }
.review-choice.approve .review-choice-circle { color: #9bdbef; border-color: rgba(143,199,239,.38); background: linear-gradient(135deg, rgba(81,182,232,.19), rgba(166,143,239,.14)); }
.review-choice.skip .review-choice-circle { width: 46px; height: 46px; }
.review-choice.skip .icon { width: 19px; height: 19px; }
.review-choice:hover:not(:disabled) .review-choice-circle { transform: translateY(-3px); border-color: currentColor; box-shadow: 0 5px 18px rgba(0,0,0,.1); }
.review-choice:disabled { opacity: .4; cursor: wait; }
.review-choice:focus-visible { outline: 2px solid var(--primary); outline-offset: 6px; border-radius: 28px; }
.review-hint { flex: none; text-align: center; color: var(--faint); font-size: 10px; margin: -3px 0 0; letter-spacing: .02em; }
.review-error { flex: none; display: flex; align-items: center; justify-content: center; gap: 8px; color: var(--red); text-align: center; font-size: 12px; }
.review-complete { display: grid; justify-items: center; gap: 23px; text-align: center; }
.review-complete-icon { display: grid; place-items: center; width: 70px; height: 70px; border-radius: 50%; color: var(--primary); background: linear-gradient(135deg, rgba(81,182,232,.14), rgba(166,143,239,.14)); }
.review-complete-icon .icon { width: 30px; height: 30px; }
.review-complete h3 { margin: 0; font-size: 26px; letter-spacing: -.04em; }
.review-complete p { margin: 0; font-size: 12px; color: var(--muted); }
.review-totals { display: flex; justify-content: center; gap: 34px; }
.review-totals > div { display: grid; justify-items: center; gap: 5px; font-size: 11px; color: var(--muted); }
.review-totals strong { color: var(--text); font-size: 22px; font-weight: 600; }
.review-totals .approve .icon { color: #9bdbef; }
.review-totals .reject .icon { color: #ef8fa5; }
.review-end-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; }
.review-loading, .review-no-visual { display: grid; place-items: center; gap: 12px; color: var(--muted); font-size: 12px; }
.review-loading .icon { animation: review-spin 1s linear infinite; }
@keyframes review-spin { to { transform: rotate(360deg); } }
@media (max-width: 600px) {
  .modal-backdrop:has(.content-review) { padding: 8px; }
  .content-review { width: 100%; height: calc(100dvh - 16px); max-height: calc(100dvh - 16px); border-radius: 20px; }
  .content-review .modal-head { padding: 12px 14px; }
  .content-review .modal-body { padding: 0 14px max(10px, env(safe-area-inset-bottom)); }
  .review-flow { gap: 10px; }
  .review-stage { padding: 5px 5px 4px; }
  .review-card, .review-stack { border-radius: 14px; }
  .review-actions { gap: 30px; }
  .review-hint { font-size: 9px; }
}
@media (max-height: 640px) {
  .review-flow { gap: 6px; }
  .review-details { gap: 3px; }
  .review-choice-circle { width: 44px; height: 44px; }
  .review-choice.skip .review-choice-circle { width: 38px; height: 38px; }
  .review-hint { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .content-review, .review-card, .review-choice-circle, .review-progress::-webkit-progress-value { animation: none; transition: none; }
  .review-loading .icon { animation: none; }
}
