/* PR-manager personal page (/pr/) — standalone, minimal dark (minimal.gallery layout on a dark ground).
   Type: the classic Helvetica Neue / Arial stack everywhere (system fonts, nothing to load). */

:root {
  --bg: #0a0a0c;
  --ink: #f2f2f4;
  --ink-soft: #cbcbd1;
  --muted: #a3a3ad;
  --faint: #797983;
  --line: rgba(255, 255, 255, .09);
  --line-2: rgba(255, 255, 255, .17);
  --panel: #111013;
  --wash: rgba(255, 255, 255, .045);
  --light: #f4f4f6;
  --good: #3ddc84;
  --danger: #ff8a90;
  --radius: 16px;
  --sans: "Helvetica Neue", Helvetica, Arial, sans-serif;
  --serif: var(--sans);
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--sans); font-size: 16px; line-height: 1.6;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img { max-width: 100%; display: block; }
button, input, textarea, select { font: inherit; color: inherit; }
h1, h2, h3 { margin: 0; line-height: 1.1; }
a { color: inherit; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; cursor: pointer;
  font-family: var(--sans); font-weight: 500; font-size: 14px; letter-spacing: -.005em; padding: 11px 20px; border-radius: 999px;
  border: 1px solid transparent; background: var(--wash); color: var(--ink); text-decoration: none; white-space: nowrap;
  transition: background .15s ease, border-color .15s ease, color .15s ease, transform .12s ease; }
.btn:active { transform: translateY(1px); }
.btn.btn-primary { background: var(--light); color: #0a0a0c; }
.btn.btn-primary:hover { background: #fff; }
.btn.btn-ghost { background: transparent; border-color: var(--line-2); color: var(--ink); }
.btn.btn-ghost:hover { border-color: var(--ink); }
.btn.pr-danger { color: var(--danger); }
.btn[disabled] { opacity: .4; cursor: default; }

/* Top bar — language switch */
.pr-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 22px 24px; max-width: 1040px; margin: 0 auto; }
.lang-switch { display: inline-flex; gap: 2px; padding: 2px; border: 1px solid var(--line-2); border-radius: 999px; }
.lang-switch button { border: 0; cursor: pointer; min-height: 38px; padding: 6px 14px; border-radius: 999px; font-size: 14px; font-weight: 500; background: transparent; color: var(--muted); }
.lang-switch button.active { background: var(--light); color: #0a0a0c; }

/* Admin: the round mode toggle (top row, left) and the save bar (bottom, only with changes) */
.pr-mode-slot { margin-right: auto; display: flex; }
.pr-mode { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; cursor: pointer; border: 1px solid var(--line-2); background: transparent; color: var(--muted); transition: background .15s ease, color .15s ease, border-color .15s ease; }
.pr-mode:hover { color: var(--ink); border-color: var(--ink); }
.pr-mode.on { background: var(--light); border-color: var(--light); color: #0a0a0c; }
.pr-seg { display: inline-flex; border: 1px solid var(--line-2); border-radius: 999px; padding: 2px; gap: 2px; }
.pr-seg button { background: transparent; border: 0; color: var(--muted); font-weight: 500; padding: 6px 13px; border-radius: 999px; cursor: pointer; }
.pr-seg button.on { background: var(--light); color: #0a0a0c; }
.pr-savebar { position: fixed; left: 50%; bottom: 22px; transform: translateX(-50%); z-index: 40; width: max-content; max-width: calc(100vw - 32px); animation: pr-sb-in .22s ease; }
.pr-sb-in { display: flex; align-items: center; gap: 10px 16px; flex-wrap: wrap; padding: 10px 10px 10px 20px; border: 1px solid var(--line-2); border-radius: 999px; background: rgba(17, 16, 19, .92); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); box-shadow: 0 18px 50px -18px rgba(0, 0, 0, .9); font-size: 13.5px; }
@keyframes pr-sb-in { from { opacity: 0; transform: translate(-50%, 10px); } to { opacity: 1; transform: translate(-50%, 0); } }
.pr-ab-act { display: flex; gap: 8px; }
.pr-ab-act .btn { padding: 9px 16px; font-size: 13px; }
.pr-ab-status { color: var(--muted); }
.pr-ab-status.ok { color: var(--good); }
.pr-ab-status.err { color: var(--danger); }
/* No visible page scrollbar (the page still scrolls) */
html { scrollbar-width: none; }
html::-webkit-scrollbar, body::-webkit-scrollbar { display: none; width: 0; height: 0; }

.pr-main { max-width: 1040px; margin: 0 auto; padding: 20px 24px 56px; }
/* Section padding belongs to .pr-sec/.pr-cta; do not override it here. */
.pr-loading { color: var(--muted); text-align: center; padding: 100px 0; }

/* Editable texts */
[data-t] { white-space: pre-line; }
[contenteditable="true"][data-t] { outline: 1px dashed var(--line-2); outline-offset: 4px; border-radius: 3px; cursor: text; }
[contenteditable="true"][data-t]:focus { outline: 1.5px solid var(--ink); background: var(--wash); }

/* Hero — the photo and the text side by side, the photo roughly the height of the name + role block */
.pr-hero { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 28px 48px; align-items: center; margin-top: 0; min-height: 410px; padding-block: 36px; }
.pr-ava { position: relative; width: 196px; height: 196px; flex: none; border-radius: 50%; padding: 7px; border: 1px solid var(--line-2); }
.pr-ava img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; object-position: 50% 32%; }
.pr-ava::after { content: ''; position: absolute; right: 18px; bottom: 18px; width: 18px; height: 18px; border-radius: 50%; background: var(--good); border: 4px solid var(--bg); }
.pr-hero-tx { min-width: 0; }
.pr-kicker { display: block; color: var(--muted); font-weight: 500; text-transform: uppercase; letter-spacing: .16em; font-size: 12px; line-height: 1.6; }
.pr-name { font-family: var(--sans); font-weight: 700; font-size: clamp(40px, 7vw, 70px); line-height: 1.06; letter-spacing: -.035em; overflow-wrap: anywhere; margin: 12px 0 10px; }
.pr-role { text-wrap: balance; font-size: clamp(17px, 2.2vw, 21px); font-weight: 500; color: var(--ink-soft); letter-spacing: -.01em; }
.pr-pitch { color: var(--muted); font-size: 16px; line-height: 1.7; margin: 18px 0 0; max-width: 560px; }
.pr-hero-act { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 24px; align-items: center; }

/* Sections */
.pr-sec { margin-top: 84px; padding-top: 32px; border-top: 1px solid var(--line); }
.pr-sec h2, .pr-cta h2 { font-family: var(--sans); font-weight: 700; font-size: clamp(26px, 3.6vw, 36px); letter-spacing: -.025em; line-height: 1.16; text-wrap: balance; overflow-wrap: anywhere; }
.pr-sec-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; }
.pr-sec-lead { color: var(--muted); margin: 10px 0 0; line-height: 1.6; max-width: 600px; }

/* "What I do" — numbered editorial rows */
.pr-steps { list-style: none; margin: 26px 0 0; padding: 0; border-top: 1px solid var(--line); }
.pr-step { display: grid; grid-template-columns: 96px minmax(0, 1fr) minmax(0, 1.45fr); gap: 8px 28px; align-items: center; padding: 28px 0; border-bottom: 1px solid var(--line); }
.pr-step-n { font-family: var(--sans); font-weight: 300; font-size: 46px; line-height: 1; letter-spacing: -.04em; color: var(--faint); font-variant-numeric: tabular-nums; transition: color .2s ease; }
.pr-step:hover .pr-step-n { color: var(--ink); }
.pr-step-t { margin: 0; font-size: 19px; font-weight: 500; letter-spacing: -.015em; }
.pr-step-p { margin: 0; color: var(--muted); font-size: 16px; line-height: 1.65; }

/* Servers */
.pr-servers { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; margin-top: 30px; }
.pr-srv { border: 1px solid var(--line); border-radius: 20px; background: var(--panel); overflow: hidden; display: flex; flex-direction: column; min-width: 0; transition: border-color .15s ease, transform .15s ease; }
.pr-srv:hover { border-color: var(--line-2); transform: translateY(-2px); }
.pr-srv-banner { height: 128px; background: #17161b; overflow: hidden; }
.pr-srv-banner img { width: 100%; height: 100%; object-fit: cover; }
.pr-srv--no-banner .pr-srv-head { padding-top: 24px; align-items: center; }
.pr-srv--no-banner .pr-srv-ic { margin-top: 0; }
.pr-srv--no-banner .pr-srv-ht { padding-top: 0; }
.pr-srv-head { display: flex; align-items: flex-start; gap: 14px; padding: 0 22px; }
.pr-srv-ic { width: 76px; height: 76px; border-radius: 22px; flex: none; object-fit: cover; background: #1d1c22; border: 4px solid var(--panel); display: grid; place-items: center; font-family: var(--serif); font-size: 36px; color: var(--ink-soft); margin-top: -38px; }
.pr-srv-ht { min-width: 0; flex: 1; padding-top: 12px; }
.pr-srv-name { font-size: 19px; font-weight: 600; line-height: 1.4; letter-spacing: -.015em; overflow-wrap: anywhere; display: flex; align-items: center; gap: 7px; }
.pr-badge { display: inline-grid; place-items: center; width: 18px; height: 18px; border-radius: 50%; background: var(--light); color: #0a0a0c; font-size: 11px; font-weight: 700; flex: none; }
.pr-srv-stats { display: flex; flex-wrap: wrap; gap: 4px 14px; margin-top: 6px; font-size: 14px; color: var(--muted); }
.pr-srv-stats span { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.pr-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--faint); display: inline-block; }
.pr-dot.on { background: var(--good); }
.pr-srv-body { padding: 18px 22px 0; }
.pr-srv-desc { margin: 0; color: var(--ink-soft); font-size: 16px; line-height: 1.65; white-space: pre-line; overflow-wrap: anywhere; }
.pr-srv-desc.muted { color: var(--faint); font-style: italic; }
.pr-srv-plabel { margin: 18px 0 8px; font-size: 12px; text-transform: uppercase; letter-spacing: .14em; color: var(--muted); font-weight: 500; }
.pr-srv-prices { list-style: none; margin: 0; padding: 0; }
.pr-srv-prices li { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 10px 0; border-top: 1px solid var(--line); }
.pr-srv-prices .l { color: var(--ink-soft); font-size: 14.5px; min-width: 0; overflow-wrap: anywhere; }
.pr-srv-prices .p { font-weight: 600; color: var(--ink); max-width: 50%; overflow-wrap: anywhere; text-align: right; font-variant-numeric: tabular-nums; }
.pr-srv-foot { padding: 20px 22px 22px; margin-top: auto; display: flex; gap: 10px; flex-wrap: wrap; }
.pr-srv-foot .btn.btn-primary { flex: 1; min-width: 150px; }
.pr-srv-admin { display: flex; gap: 6px; flex-wrap: wrap; padding: 0 22px 20px; }
.pr-srv-admin .btn { padding: 7px 13px; font-size: 12.5px; }
.pr-srv-editwrap { grid-column: 1 / -1; }
.pr-srv-empty { grid-column: 1 / -1; text-align: center; color: var(--muted); border: 1px dashed var(--line-2); border-radius: var(--radius); padding: 44px 16px; }

/* Closing call to action */
.pr-cta { margin-top: 84px; padding-top: 32px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; align-items: flex-end; gap: 18px 30px; flex-wrap: wrap; }
.pr-cta-tx { min-width: 0; flex: 1; }
.pr-cta p { margin: 10px 0 0; color: var(--muted); }

/* Server form (admin) */
.pr-form { border: 1px solid var(--line-2); border-radius: 18px; background: var(--wash); padding: 22px; margin: 22px 0; display: grid; grid-template-columns: 1fr; gap: 14px; }
.pr-form h3 { margin: 0; font-size: 18px; font-weight: 600; }
.pr-f { display: flex; flex-direction: column; gap: 7px; min-width: 0; }
.pr-f > span { font-size: 11.5px; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.pr-f small { color: var(--faint); font-size: 12.5px; }
.pr-inp { width: 100%; min-width: 0; font-size: 14.5px; background: #08080a; border: 1px solid var(--line-2); border-radius: 12px; padding: 11px 13px; color: var(--ink); }
.pr-inp:focus { outline: none; border-color: var(--ink); }
textarea.pr-inp { resize: vertical; min-height: 84px; line-height: 1.55; }
.pr-rep { display: flex; flex-direction: column; gap: 8px; }
.pr-rep-row { display: flex; gap: 8px; }
.pr-rep-row .pr-inp { flex: 1; }
.pr-rep-row.price .l { flex: 2; } .pr-rep-row.price .p { flex: 1; }
.pr-x { flex: none; width: 44px; border: 1px solid var(--line-2); background: var(--wash); color: var(--danger); border-radius: 12px; font-size: 18px; cursor: pointer; }
.pr-add-row { align-self: flex-start; background: var(--wash); border: 1px dashed var(--line-2); color: var(--ink); border-radius: 999px; padding: 8px 15px; font-size: 13px; font-weight: 500; cursor: pointer; }
.pr-form-act { display: flex; gap: 8px; justify-content: flex-end; flex-wrap: wrap; }
.pr-form-err { color: var(--danger); font-size: 13.5px; }

.pr-foot { text-align: center; color: var(--faint); font-size: 13px; padding: 24px 16px 32px; }

@media (max-width: 860px) {
  .pr-servers { grid-template-columns: 1fr; }
  .pr-ava { width: 164px; height: 164px; }
  .pr-ava::after { right: 14px; bottom: 14px; }
}
@media (max-width: 600px) {
  .pr-main { padding: 20px 18px 64px; }
  .pr-top { padding: 16px 18px; }
  .pr-hero { grid-template-columns: 1fr; gap: 24px; min-height: 0; padding-block: 16px 24px; }
  .pr-ava { width: 136px; height: 136px; padding: 5px; }
  .pr-ava::after { right: 11px; bottom: 11px; width: 15px; height: 15px; border-width: 3px; }
  .pr-sec, .pr-cta { margin-top: 60px; }
  .pr-step { grid-template-columns: 40px minmax(0, 1fr); gap: 8px 20px; padding: 24px 0; }
  .pr-step-n { font-size: 32px; grid-row: 1 / span 2; }
  .pr-step-t { grid-column: 2; align-self: end; }
  .pr-step-p { align-self: start; }
  .pr-step-p { grid-column: 2; }
  .pr-srv-banner { height: 104px; }
  .pr-srv-foot .btn { flex: 1 1 100%; }
  .pr-cta .btn { width: 100%; }
  .pr-cta-tx { flex-basis: 100%; }
  .pr-pitch { line-height: 1.75; }
  .pr-savebar { bottom: 14px; width: calc(100vw - 24px); }
  .pr-sb-in { border-radius: 18px; padding: 10px 12px; }
  .pr-ab-act { width: 100%; }
  .pr-ab-act .btn { flex: 1; }
}

/* A full-bleed star field behind the opening section, dissolving into the page. */
.pr-body { isolation: isolate; }
.pr-cosmos { position: fixed; inset: 0 0 auto; height: var(--cosmos-height, 760px); z-index: -1;
  pointer-events: none; overflow: hidden; opacity: var(--cosmos-opacity, 1);
  background: #060709; }
.pr-cosmos canvas { display: block; width: 100%; height: 100%; }
.pr-cosmos::after { content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(10,10,12,.04) 0%, rgba(10,10,12,.08) 35%, rgba(10,10,12,.6) 70%, var(--bg) 100%); }
.pr-hero-tx { text-shadow: 0 2px 16px rgba(0,0,0,.8); }
.pr-hero-act { text-shadow: none; }
.pr-ava { background: rgba(10,10,12,.65); box-shadow: 0 12px 48px rgba(0,0,0,.25); }
.lang-switch { background: rgba(10,10,12,.65); }
.lang-switch button:hover { color: var(--ink); }
.lang-switch button.active:hover { color: var(--bg); }
:where(a, button, input, textarea, select):focus-visible { outline: 2px solid var(--ink); outline-offset: 4px; }
.btn { min-height: 46px; }
.pr-srv-name > span:first-child { min-width: 0; }
.pr-hero-tx, .pr-step-t, .pr-step-p, .pr-sec-lead, .pr-cta p { overflow-wrap: anywhere; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
  .pr-srv:hover, .btn:active { transform: none; }
}

/* Servers — a looping strip sliding right to left (two identical groups, the track moves by half) */
.pr-marquee { margin-top: 30px; display: flex; flex-direction: column; gap: 14px; }
.pr-mq-lane { overflow: hidden; padding: 4px 0;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 8%, #000 92%, transparent 100%);
          mask-image: linear-gradient(90deg, transparent 0, #000 8%, #000 92%, transparent 100%); }
.pr-mq-track { display: flex; width: max-content; animation: prMarquee 40s linear infinite; }
.pr-mq-lane.rev .pr-mq-track { animation-direction: reverse; }   /* neighbouring lanes go the other way */
.pr-mq-lane:hover .pr-mq-track { animation-play-state: paused; }
.pr-mq-group { display: flex; gap: 14px; padding-right: 14px; }
@keyframes prMarquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.pr-mq-item { display: flex; align-items: center; gap: 16px; padding: 15px 26px 15px 15px; border: 1px solid var(--line); border-radius: 22px; background: var(--panel); text-decoration: none; white-space: nowrap; transition: border-color .15s ease, background .15s ease; }
a.pr-mq-item:hover, a.pr-mq-item:focus-visible { border-color: transparent; background: #030304; }   /* darkens under the cursor, like a pressed-in tile */
.pr-mq-ic { width: 58px; height: 58px; border-radius: 17px; object-fit: cover; flex: none; background: #1d1c22; display: grid; place-items: center; font-weight: 700; color: var(--ink-soft); }
.pr-mq-tx { display: flex; flex-direction: column; gap: 4px; }
.pr-mq-name { font-weight: 600; font-size: 17.5px; letter-spacing: -.01em; display: flex; align-items: center; gap: 7px; }
/* a long name is cut with an ellipsis, so one server never stretches its card across the strip (the full name is in the tooltip) */
.pr-mq-tx, .pr-mq-name { min-width: 0; }
.pr-mq-nm { max-width: 280px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pr-mq-name .pr-badge { width: 18px; height: 18px; font-size: 11px; }
.pr-mq-meta { display: flex; gap: 14px; font-size: 14px; color: var(--muted); }
.pr-mq-on { display: inline-flex; align-items: center; gap: 5px; }
@media (prefers-reduced-motion: reduce) {
  .pr-mq-track { animation: none; }
  .pr-mq-lane { overflow-x: auto; -webkit-mask-image: none; mask-image: none; }
  .pr-mq-group[aria-hidden] { display: none; }
}

/* The view toggle in the section head: the strip ⇄ every server at once */
.pr-sec-tools { display: flex; align-items: center; gap: 10px; }
.pr-viewbtn {
  display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border-radius: 999px; cursor: pointer;
  background: transparent; border: 1px solid var(--line-2); color: var(--ink-soft);
  transition: background .15s ease, color .15s ease, border-color .15s ease;
}
.pr-viewbtn svg { width: 20px; height: 20px; }
.pr-viewbtn:hover, .pr-viewbtn[aria-pressed="true"] { background: var(--light); color: #0a0a0c; border-color: var(--light); }
.pr-viewbtn:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
/* Every server once, in rows, standing still */
.pr-srv-grid { margin-top: 30px; display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 14px; animation: prGridIn .2s ease; }
.pr-srv-grid .pr-mq-item { min-width: 0; white-space: normal; }
.pr-srv-grid .pr-mq-tx { min-width: 0; }
.pr-srv-grid .pr-mq-name { min-width: 0; }
.pr-srv-grid .pr-mq-nm { max-width: none; }
.pr-srv-grid .pr-mq-meta { flex-wrap: wrap; gap: 4px 14px; }
@keyframes prGridIn { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .pr-srv-grid { animation: none; } }
@media (max-width: 600px) { .pr-srv-grid { grid-template-columns: minmax(0, 1fr); margin-top: 24px; } .pr-viewbtn { width: 40px; height: 40px; } }

/* Admin: the list behind the strip */
.pr-manage { margin-top: 26px; border: 1px dashed var(--line-2); border-radius: 18px; padding: 18px 20px; }
.pr-mg-head { font-size: 11.5px; text-transform: uppercase; letter-spacing: .14em; color: var(--muted); font-weight: 600; margin-bottom: 8px; }
.pr-mg-list { list-style: none; margin: 0; padding: 0; }
.pr-mg-row { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-top: 1px solid var(--line); }
.pr-mg-ic { width: 38px; height: 38px; border-radius: 11px; object-fit: cover; flex: none; background: #1d1c22; display: grid; place-items: center; font-weight: 700; }
.pr-mg-name { flex: 1; min-width: 0; font-weight: 600; display: flex; flex-direction: column; overflow-wrap: anywhere; }
.pr-mg-name small { color: var(--faint); font-weight: 400; font-size: 12.5px; }
.pr-mg-act { display: flex; gap: 6px; flex: none; }
.pr-mg-act .btn { padding: 6px 12px; font-size: 12.5px; }
.pr-mg-empty { color: var(--muted); font-size: 14px; padding: 6px 0; }
.pr-manage .pr-form { margin: 14px 0 0; }
@media (max-width: 600px) {
  .pr-mq-item { padding: 12px 20px 12px 12px; gap: 13px; border-radius: 19px; }
  .pr-mq-ic { width: 50px; height: 50px; border-radius: 14px; }
  .pr-mq-name { font-size: 16px; }
  .pr-mq-nm { max-width: 210px; }
  .pr-mq-meta { font-size: 13px; gap: 12px; }
  .pr-mg-row { flex-wrap: wrap; }
  .pr-mg-act { width: 100%; justify-content: flex-end; }
}

/* Reviews — cards riding the same looping strip as the servers (lanes and directions alike) */
.pr-reviews .pr-mq-group { align-items: stretch; }
.pr-rv { flex: none; width: 340px; display: flex; flex-direction: column; gap: 14px; padding: 20px 22px 18px; border: 1px solid var(--line); border-radius: 20px; background: var(--panel); white-space: normal; transition: border-color .15s ease; }
.pr-rv:hover { border-color: var(--line-2); }
.pr-rv-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.pr-rv-user { display: flex; align-items: center; gap: 11px; min-width: 0; text-decoration: none; }
.pr-rv-ava { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; flex: none; background: #1d1c22; display: grid; place-items: center; font-weight: 700; color: var(--ink-soft); }
.pr-rv-who { display: flex; flex-direction: column; min-width: 0; line-height: 1.3; }
.pr-rv-who b { font-weight: 600; font-size: 15px; letter-spacing: -.01em; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pr-rv-who small { color: var(--faint); font-size: 12.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pr-rv-user:hover b { text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.pr-rv-stars { display: inline-flex; gap: 2px; flex: none; }
.pr-rv-stars i { display: block; width: 15px; height: 15px; }
.pr-rv-stars svg, .pr-starpick svg { width: 100%; height: 100%; display: block; fill: var(--line-2); }
.pr-rv-stars i.on svg, .pr-starpick .on svg { fill: var(--ink); }
.pr-rv-text { margin: 0; flex: 1; color: var(--ink-soft); font-size: 15px; line-height: 1.6; overflow-wrap: anywhere; white-space: pre-line;
  display: -webkit-box; -webkit-line-clamp: 7; -webkit-box-orient: vertical; overflow: hidden; }
.pr-rv-foot { display: flex; align-items: center; gap: 10px; padding-top: 14px; border-top: 1px solid var(--line); font-size: 13px; min-width: 0; }
.pr-rv-on { color: var(--faint); flex: none; }
.pr-rv-srv { display: inline-flex; align-items: center; gap: 8px; min-width: 0; color: var(--ink); font-weight: 500; text-decoration: none; }
.pr-rv-sic { width: 24px; height: 24px; border-radius: 7px; object-fit: cover; flex: none; background: #1d1c22; display: grid; place-items: center; font-size: 11px; font-weight: 700; color: var(--ink-soft); }
.pr-rv-sname { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pr-rv-arr { color: var(--faint); flex: none; }
a.pr-rv-srv:hover .pr-rv-sname { text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
a.pr-rv-srv:hover .pr-rv-arr { color: var(--ink); }

/* Review form (admin) */
.pr-form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.pr-starpick { display: flex; gap: 4px; }
.pr-starpick button { width: 40px; height: 40px; padding: 6px; border: 0; background: transparent; border-radius: 10px; cursor: pointer; }
.pr-starpick button:hover { background: var(--wash); }
.pr-mg-ic.round { border-radius: 50%; }
@media (max-width: 600px) {
  .pr-rv { width: 282px; padding: 16px 18px 15px; gap: 12px; }
  .pr-rv-text { font-size: 14.5px; }
  .pr-form-grid { grid-template-columns: 1fr; }
}

/* Hero: the outlined second button reads on the star field */
.pr-hero-act .btn.btn-ghost { border-color: rgba(255, 255, 255, .34); }
.pr-hero-act .btn.btn-ghost:hover { border-color: var(--ink); background: rgba(255, 255, 255, .04); }
/* Admin: button labels and links */
.pr-btnset { margin-top: 18px; display: grid; gap: 12px; padding: 16px 18px; border: 1px dashed var(--line-2); border-radius: 18px; max-width: 640px; text-shadow: none; }
.pr-cta .pr-btnset { flex: 1 1 100%; max-width: none; margin-top: 4px; }
.pr-bs { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 8px 12px; }
.pr-bs-t { grid-column: 1 / -1; font-size: 11.5px; text-transform: uppercase; letter-spacing: .14em; color: var(--muted); font-weight: 600; }
.pr-bs-hint { color: var(--faint); font-size: 12.5px; }
@media (max-width: 600px) { .pr-bs { grid-template-columns: 1fr; } }

/* Results — screenshots riding one lane; every frame the same size, the shot fitted whole over a blurred copy */
.pr-results .pr-mq-group { align-items: stretch; }
.pr-rs { flex: none; width: 340px; height: var(--rs-h, 247px); display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 20px; background: var(--panel); overflow: hidden; transition: border-color .15s ease; }
.pr-rs:hover { border-color: var(--line-2); }
.pr-rs-head { display: flex; align-items: center; gap: 10px; padding: 13px 16px; min-width: 0; color: var(--ink); text-decoration: none; font-weight: 600; font-size: 15px; letter-spacing: -.01em; }
.pr-rs-ic { width: 30px; height: 30px; border-radius: 9px; object-fit: cover; flex: none; background: #1d1c22; display: grid; place-items: center; font-size: 12px; font-weight: 700; color: var(--ink-soft); }
.pr-rs-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
a.pr-rs-head:hover .pr-rs-name { text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
a.pr-rs-head:hover .pr-rv-arr { color: var(--ink); }
.pr-rs-shot, .pr-rs-prev { position: relative; display: block; overflow: hidden; background: #08080a; isolation: isolate; }
.pr-rs-shot { width: 100%; flex: 1; min-height: 0; padding: 0; border: 0; border-top: 1px solid var(--line); cursor: zoom-in; }
.pr-rs-shot::before, .pr-rs-prev::before { content: ""; position: absolute; inset: -24px; z-index: -1; background: var(--shot) center / cover no-repeat; filter: blur(22px) brightness(.45) saturate(1.2); }
.pr-rs-shot img, .pr-rs-prev img { width: 100%; height: 100%; object-fit: contain; display: block; transition: transform .25s ease; }
.pr-rs-shot:hover img { transform: scale(1.025); }
.pr-rs-shot:focus-visible { outline: 2px solid var(--ink); outline-offset: -4px; }
.pr-rs-pick { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.pr-rs-prev { width: 160px; aspect-ratio: 4 / 3; border-radius: 12px; border: 1px solid var(--line-2); }
.pr-rs-file { cursor: pointer; }
.pr-mg-shot { object-fit: cover; border-radius: 8px; width: 52px; }
/* Full-size view */
.pr-lb { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 56px 16px 16px; background: rgba(4, 4, 6, .9); backdrop-filter: blur(6px); cursor: zoom-out; }
.pr-lb img { max-width: 100%; max-height: calc(100dvh - 72px); object-fit: contain; border-radius: 10px; box-shadow: 0 20px 60px rgba(0, 0, 0, .6); cursor: default; }
.pr-lb-x { position: absolute; top: 10px; right: 12px; width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line-2); background: rgba(255, 255, 255, .06); color: var(--ink); font-size: 24px; line-height: 1; cursor: pointer; }
.pr-lb-x:hover { background: rgba(255, 255, 255, .14); }
body.pr-lb-open { overflow: hidden; }
@media (max-width: 600px) {
  .pr-rs { width: 282px; height: var(--rs-h, 233px); }
  .pr-rs-head { padding: 11px 13px; font-size: 14px; }
  .pr-rs-prev { width: 128px; }
}
