/* ZingMMO Reviews: theme tokens only (--zss-*), mobile first. */
.zrv { display: grid; gap: 1.1rem; color: var(--zss-soft, #c7cede); }
.zrv h4 { margin: 0; color: var(--zss-strong, #f4f6fb); }
.zrv-note { margin: 0; padding: .85rem 1rem; border-radius: var(--zss-r, 10px); background: var(--zss-raised, #1f2739); }
.zrv-note.is-ok { background: color-mix(in srgb, var(--zss-mint, #2fd6a0) 14%, transparent); color: var(--zss-strong, #f4f6fb); }
.zrv-empty { margin: 0; color: var(--zss-subtle, #8f99b0); }
.zrv-err { margin: 0; padding: .6rem .8rem; border-radius: 8px; background: color-mix(in srgb, var(--zss-rose, #fb7185) 14%, transparent); color: color-mix(in srgb, var(--zms-rose, #fb7185) 72%, var(--zms-strong, #fff)); font-size: .9rem; }
.zrv-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; }

/* stars (display) */
.zrv-stars { position: relative; display: inline-block; font-size: 1rem; line-height: 1; letter-spacing: .1em; color: var(--zss-line, #2f384e); white-space: nowrap; vertical-align: middle; }
.zrv-stars::before { content: "★★★★★"; }
.zrv-stars > span { position: absolute; inset: 0 auto 0 0; overflow: hidden; color: color-mix(in srgb, var(--zms-amber, #fbbf24) 72%, var(--zms-strong, #fff)); }
.zrv-stars > span::before { content: "★★★★★"; }
.zrv-stars--lg { font-size: 1.3rem; }

/* summary */
.zrv-sum { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 1rem 1.6rem; align-items: center; padding: 1.1rem 1.2rem; border: 1px solid var(--zss-line, #2f384e); border-radius: var(--zss-r-lg, 14px); background: var(--zss-surface, #141a28); }
.zrv-sum__score { display: grid; justify-items: center; gap: .3rem; min-width: 120px; }
.zrv-sum__score strong { font-size: 2.6rem; line-height: 1; color: var(--zss-strong, #f4f6fb); font-variant-numeric: tabular-nums; }
.zrv-sum__score > span:last-child { font-size: .8rem; color: var(--zss-subtle, #8f99b0); text-align: center; }
.zrv-dist { list-style: none; margin: 0; padding: 0; display: grid; gap: .2rem; }
.zrv-dist button { display: grid; grid-template-columns: 2.2rem 1fr 2.2rem; gap: .5rem; align-items: center; width: 100%; min-height: 28px; padding: 0 .3rem; border: 0; border-radius: 6px; background: none; color: inherit; font: inherit; font-size: .85rem; cursor: pointer; }
.zrv-dist button:hover:not(:disabled), .zrv-dist button.is-on { background: var(--zss-raised, #1f2739); }
.zrv-dist button:disabled { cursor: default; opacity: .55; }
.zrv-dist i { height: 8px; border-radius: 99px; background: var(--zss-raised, #1f2739); overflow: hidden; }
.zrv-dist b { display: block; height: 100%; border-radius: inherit; background: #fbbf24; }
.zrv-dist em { font-style: normal; text-align: right; color: var(--zss-subtle, #8f99b0); font-variant-numeric: tabular-nums; }
.zrv-crit { grid-column: 1 / -1; list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .4rem; }
.zrv-crit li { display: inline-flex; gap: .45rem; align-items: center; padding: .3rem .7rem; border-radius: 99px; background: var(--zss-raised, #1f2739); font-size: .82rem; }
.zrv-crit strong { color: var(--zss-strong, #f4f6fb); }
.zrv-crit strong::after { content: " ★"; color: color-mix(in srgb, var(--zms-amber, #fbbf24) 72%, var(--zms-strong, #fff)); }
@media (max-width: 520px) { .zrv-sum { grid-template-columns: 1fr; } }

/* filter bar */
.zrv-bar { display: flex; flex-wrap: wrap; gap: .4rem; align-items: center; }
.zrv-bar > button { min-height: 36px; padding: 0 .9rem; border-radius: 99px; border: 1px solid var(--zss-line, #2f384e); background: none; color: var(--zss-soft, #c7cede); font: inherit; font-size: .85rem; font-weight: 600; cursor: pointer; }
.zrv-bar > button.is-on { background: var(--zss-strong, #f4f6fb); color: var(--zss-base, #0a0e18); border-color: transparent; }
.zrv-sort { margin-left: auto; }
.zrv-sort select { min-height: 36px; padding: 0 .7rem; border-radius: 8px; border: 1px solid var(--zss-line, #2f384e); background: var(--zss-base, #0a0e18); color: var(--zss-strong, #f4f6fb); font: inherit; font-size: .85rem; }

/* list */
.zrv-list { list-style: none; margin: 0; padding: 0; display: grid; gap: .7rem; }
.zrv-list[aria-busy=true] { opacity: .5; }
.zrv-item { display: grid; gap: .55rem; padding: 1rem 1.1rem; border: 1px solid var(--zss-line, #2f384e); border-radius: var(--zss-r-lg, 14px); background: var(--zss-surface, #141a28); }
.zrv-item:target { border-color: var(--zss-accent, #ff6b2c); }
.zrv-item__head { display: flex; gap: .7rem; align-items: center; }
.zrv-item__head strong { color: var(--zss-strong, #f4f6fb); }
.zrv-av { display: grid; place-items: center; flex: none; width: 38px; height: 38px; border-radius: 50%; background: color-mix(in srgb, var(--zss-accent, #ff6b2c) 25%, var(--zss-raised, #1f2739)); color: var(--zss-strong, #f4f6fb); font-weight: 700; }
.zrv-item__meta { display: flex; gap: .6rem; align-items: center; margin-top: .15rem; font-size: .8rem; color: var(--zss-subtle, #8f99b0); }
.zrv-verified { display: inline-flex; gap: .2rem; align-items: center; padding: .05rem .45rem; border-radius: 99px; background: color-mix(in srgb, var(--zss-mint, #2fd6a0) 16%, transparent); color: color-mix(in srgb, var(--zms-mint, #2fd6a0) 72%, var(--zms-strong, #fff)); font-size: .72rem; font-weight: 700; vertical-align: middle; }
.zrv-item__title { font-size: 1rem; }
.zrv-item__text p { margin: 0 0 .4rem; line-height: 1.6; overflow-wrap: anywhere; }
.zrv-item__text p:last-child { margin: 0; }
.zrv-item__crit { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .3rem .9rem; font-size: .8rem; color: var(--zss-subtle, #8f99b0); }
.zrv-item__crit strong { color: var(--zss-soft, #c7cede); }
.zrv-item__imgs { display: flex; flex-wrap: wrap; gap: .4rem; }
.zrv-item__imgs img { width: 84px; height: 84px; object-fit: cover; border-radius: 8px; display: block; border: 1px solid var(--zss-line, #2f384e); }
.zrv-reply { padding: .75rem .9rem; border-left: 3px solid var(--zss-accent, #ff6b2c); border-radius: 0 8px 8px 0; background: var(--zss-raised, #1f2739); font-size: .92rem; }
.zrv-reply strong { display: inline-flex; gap: .35rem; align-items: center; color: var(--zss-strong, #f4f6fb); font-size: .85rem; }
.zrv-reply p { margin: .35rem 0 0; }
.zrv-item__foot { display: flex; }
.zrv-up { display: inline-flex; gap: .35rem; align-items: center; min-height: 32px; padding: 0 .7rem; border-radius: 99px; border: 1px solid var(--zss-line, #2f384e); background: none; color: var(--zss-soft, #c7cede); font: inherit; font-size: .8rem; cursor: pointer; }
.zrv-up:hover { border-color: var(--zss-soft, #c7cede); }
.zrv-up.is-voted { border-color: var(--zss-mint, #2fd6a0); color: color-mix(in srgb, var(--zms-mint, #2fd6a0) 72%, var(--zms-strong, #fff)); }
.zrv-more { margin: 0; text-align: center; }

/* write */
.zrv-form-wrap > summary { display: inline-flex; gap: .4rem; align-items: center; min-height: 44px; list-style: none; cursor: pointer; }
.zrv-form-wrap > summary::-webkit-details-marker { display: none; }
.zrv-form-wrap[open] > summary { display: none; }
.zrv-form { display: grid; gap: .9rem; padding: 1.1rem 1.2rem; border: 1px solid color-mix(in srgb, var(--zss-accent, #ff6b2c) 45%, var(--zss-line, #2f384e)); border-radius: var(--zss-r-lg, 14px); background: var(--zss-surface, #141a28); }
.zrv-form fieldset { margin: 0; padding: 0; border: 0; min-width: 0; }
.zrv-form legend, .zrv-field label { padding: 0; font-size: .85rem; font-weight: 600; color: var(--zss-strong, #f4f6fb); }
.zrv-pick { display: grid; gap: .3rem; }
.zrv-pick__stars, .zrv-mini > div { display: inline-flex; flex-direction: row-reverse; justify-content: flex-end; }
.zrv-pick__stars input, .zrv-mini input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.zrv-pick__stars label { min-width: 48px; min-height: 48px; display: grid; place-items: center; font-size: 2.2rem; line-height: 1; color: var(--zss-line, #2f384e); cursor: pointer; transition: transform .1s; }
.zrv-pick__stars label:hover, .zrv-pick__stars label:hover ~ label, .zrv-pick__stars input:checked ~ label { color: color-mix(in srgb, var(--zms-amber, #fbbf24) 72%, var(--zms-strong, #fff)); }
.zrv-pick__stars input:checked + label { transform: scale(1.12); }
.zrv-pick__stars input:focus-visible + label, .zrv-mini input:focus-visible + label { outline: 2px solid var(--zss-accent, #ff6b2c); border-radius: 6px; }
.zrv-pick__word { min-height: 1.2em; font-size: .9rem; color: color-mix(in srgb, var(--zms-amber, #fbbf24) 72%, var(--zms-strong, #fff)); font-weight: 700; }
.zrv-critf { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: .6rem; }
.zrv-mini { display: grid; gap: .1rem; }
.zrv-mini legend { font-weight: 500; color: var(--zss-soft, #c7cede); }
.zrv-mini label { min-width: 36px; min-height: 36px; display: grid; place-items: center; font-size: 1.35rem; color: var(--zss-line, #2f384e); cursor: pointer; }
.zrv-mini label:hover, .zrv-mini label:hover ~ label, .zrv-mini input:checked ~ label { color: color-mix(in srgb, var(--zms-amber, #fbbf24) 72%, var(--zms-strong, #fff)); }
.zrv-field { display: grid; gap: .35rem; margin: 0; }
.zrv input[type=text], .zrv input[type=email], .zrv textarea { width: 100%; min-height: 44px; padding: .55rem .8rem; border-radius: var(--zss-r, 10px); border: 1px solid var(--zss-line, #2f384e); background: var(--zss-base, #0a0e18); color: var(--zss-strong, #f4f6fb); font: inherit; font-size: 16px; box-sizing: border-box; }
.zrv textarea { resize: vertical; line-height: 1.5; }
.zrv input:focus-visible, .zrv textarea:focus-visible { outline: 2px solid var(--zss-accent, #ff6b2c); outline-offset: 1px; border-color: transparent; }
.zrv-photos { display: flex; flex-wrap: wrap; gap: .5rem .8rem; align-items: center; }
.zrv-photos small { font-size: .78rem; color: var(--zss-subtle, #8f99b0); }
.zrv-file { position: absolute; width: 1px; height: 1px; opacity: 0; }
.zrv-attach { display: inline-flex; gap: .35rem; align-items: center; min-height: 40px; padding: 0 .85rem; border-radius: 99px; border: 1px dashed var(--zss-line, #2f384e); cursor: pointer; font-size: .85rem; font-weight: 600; }
.zrv-photos:focus-within .zrv-attach, .zrv-attach:hover { border-color: var(--zss-accent, #ff6b2c); color: var(--zss-strong, #f4f6fb); }
.zrv-thumbs { list-style: none; display: flex; flex-wrap: wrap; gap: .45rem; margin: 0; padding: 0; width: 100%; }
.zrv-thumbs:empty { display: none; }
.zrv-thumbs li { position: relative; }
.zrv-thumbs img { width: 72px; height: 72px; object-fit: cover; border-radius: 8px; display: block; }
.zrv-thumbs button { position: absolute; top: -8px; right: -8px; width: 26px; height: 26px; border-radius: 50%; border: 0; background: var(--zss-rose, #fb7185); color: #fff; font-size: .75rem; cursor: pointer; }
.zrv-gift { display: flex; gap: .45rem; align-items: center; margin: 0; padding: .6rem .8rem; border-radius: 8px; background: color-mix(in srgb, #fbbf24 12%, transparent); color: var(--zss-strong, #f4f6fb); font-size: .88rem; }
.zrv-form__foot { display: flex; gap: .8rem; align-items: center; justify-content: flex-end; flex-wrap: wrap; }
.zrv-form__foot small { margin-right: auto; color: var(--zss-subtle, #8f99b0); font-size: .8rem; }
.zrv-form__foot .zsc-btn { min-height: 44px; }

/* redaction + viewer */
.zrv-lock { overflow: hidden; }
.zrv-redact, .zrv-view { position: fixed; inset: 0; z-index: 100000; display: grid; place-items: center; padding: 1rem; background: rgba(5, 8, 14, .86); }
.zrv-redact__box { display: grid; gap: .8rem; width: min(960px, 100%); max-height: 100%; padding: 1rem; border-radius: var(--zss-r-lg, 14px); background: var(--zss-surface, #141a28); border: 1px solid var(--zss-line, #2f384e); }
.zrv-redact header strong { color: var(--zss-strong, #f4f6fb); }
.zrv-redact header p { margin: .25rem 0 0; font-size: .85rem; color: var(--zss-soft, #c7cede); }
.zrv-redact__stage { overflow: auto; max-height: 65vh; text-align: center; }
.zrv-redact canvas { max-width: 100%; height: auto; cursor: crosshair; touch-action: none; border-radius: 8px; }
.zrv-redact footer { display: flex; gap: .5rem; justify-content: flex-end; flex-wrap: wrap; }
.zrv-redact footer .zsc-btn { min-height: 44px; }
.zrv-view img { max-width: 100%; max-height: 90vh; border-radius: 8px; }
.zrv-view button { position: absolute; top: 1rem; right: 1rem; width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .15); color: #fff; font-size: 1.1rem; cursor: pointer; }

/* Q&A */
.zrv-ask { display: grid; gap: .45rem; padding: 1rem 1.1rem; border: 1px solid var(--zss-line, #2f384e); border-radius: var(--zss-r-lg, 14px); background: var(--zss-surface, #141a28); }
.zrv-ask > label { font-weight: 600; color: var(--zss-strong, #f4f6fb); }
.zrv-ask__row { display: flex; flex-wrap: wrap; gap: .5rem; }
.zrv-ask__row input[name=text] { flex: 3 1 260px; }
.zrv-ask__row input[name=email] { flex: 1 1 180px; }
.zrv-ask__row .zsc-btn { min-height: 44px; }
.zrv-ask small { font-size: .78rem; color: var(--zss-subtle, #8f99b0); }
.zrv-qlist { list-style: none; margin: 0; padding: 0; display: grid; gap: .7rem; }
.zrv-q { display: grid; gap: .45rem; padding: 1rem 1.1rem; border: 1px solid var(--zss-line, #2f384e); border-radius: var(--zss-r-lg, 14px); background: var(--zss-surface, #141a28); }
.zrv-q:target { border-color: var(--zss-accent, #ff6b2c); }
.zrv-q__text { display: flex; gap: .6rem; margin: 0; font-weight: 600; color: var(--zss-strong, #f4f6fb); overflow-wrap: anywhere; }
.zrv-q__text > span, .zrv-a__mark { flex: none; display: grid; place-items: center; width: 24px; height: 24px; border-radius: 6px; background: var(--zss-accent, #ff6b2c); color: #fff; font-size: .8rem; font-weight: 800; }
.zrv-q__meta { display: flex; flex-wrap: wrap; gap: .35rem; align-items: center; margin: 0; font-size: .78rem; color: var(--zss-subtle, #8f99b0); }
.zrv-q__wait { margin: 0 0 0 2.1rem; font-size: .85rem; color: var(--zss-subtle, #8f99b0); font-style: italic; }
.zrv-alist { list-style: none; margin: 0; padding: 0; display: grid; gap: .5rem; }
.zrv-a { display: flex; gap: .6rem; padding: .55rem .7rem; border-radius: 10px; background: var(--zss-raised, #1f2739); }
.zrv-a__mark { background: var(--zss-mint, #2fd6a0); color: #04241a; }
.zrv-a.is-staff { box-shadow: inset 3px 0 0 var(--zss-accent, #ff6b2c); }
.zrv-a p { margin: 0; overflow-wrap: anywhere; }
.zrv-a .zrv-up { min-height: 26px; padding: 0 .5rem; }
.zrv-badge { padding: .05rem .4rem; border-radius: 99px; background: color-mix(in srgb, var(--zss-mint, #2fd6a0) 16%, transparent); color: color-mix(in srgb, var(--zms-mint, #2fd6a0) 72%, var(--zms-strong, #fff)); font-weight: 700; font-size: .7rem; }
.zrv-badge.is-shop { background: color-mix(in srgb, var(--zss-accent, #ff6b2c) 20%, transparent); color: var(--zss-accent-2, #ffb02e); }
.zrv-answer summary { cursor: pointer; font-size: .85rem; font-weight: 600; color: var(--zss-accent-2, #ffb02e); min-height: 32px; display: inline-flex; align-items: center; }
.zrv-answer form { display: grid; gap: .45rem; margin-top: .4rem; }
.zrv-answer .zsc-btn { justify-self: end; min-height: 40px; }

/* featured */
.zrv-feat { display: grid; gap: 1rem; }
.zrv-feat h2 { margin: 0; color: var(--zss-strong, #f4f6fb); }
.zrv-feat__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: .8rem; }
.zrv-feat__card { display: grid; gap: .5rem; align-content: start; padding: 1.1rem; border: 1px solid var(--zss-line, #2f384e); border-radius: var(--zss-r-lg, 14px); background: var(--zss-surface, #141a28); }
.zrv-feat__card blockquote { margin: 0; padding: 0; border: 0; font-size: .95rem; line-height: 1.6; color: var(--zss-strong, #f4f6fb); font-style: normal; }
.zrv-feat__card p { margin: 0; font-size: .85rem; }
.zrv-feat__card a { font-size: .85rem; font-weight: 600; text-decoration: none; color: var(--zss-accent-2, #ffb02e); }
@media (prefers-reduced-motion: reduce) { .zrv-pick__stars label { transition: none; } }
