.pv-hero {
  position: relative;
  padding: 56px 0 28px;
  background:
    radial-gradient(820px 280px at 100% -20%, rgba(250, 204, 21, 0.22), transparent 60%),
    radial-gradient(640px 260px at -10% 0%, rgba(70, 96, 56, 0.14), transparent 58%),
    linear-gradient(180deg, #fff 0%, #f7f9f5 100%);
  overflow: hidden;
}

.pv-hero__inner {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  max-width: 820px;
}

.pv-hero__title {
  margin-top: 18px;
  font-size: clamp(34px, 6vw, 56px);
  letter-spacing: -1px;
  max-width: 720px;
}

.pv-hero__lead {
  margin-top: 16px;
  max-width: 640px;
  color: var(--color-text-secondary);
  font-size: clamp(16px, 2vw, 18px);
  line-height: 1.6;
}

.pv-facts {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  width: 100%;
  margin-top: 28px;
}

@media (min-width: 720px) {
  .pv-facts {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    max-width: 720px;
  }
}

.pv-fact {
  padding: 16px 18px;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(70, 96, 56, 0.12);
  border-radius: 18px;
  box-shadow: var(--shadow-sm);
}

.pv-fact strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 28px;
  letter-spacing: -0.6px;
  color: var(--color-primary-dark);
  line-height: 1;
}

.pv-fact span {
  display: block;
  margin-top: 6px;
  color: var(--color-text-secondary);
  font-size: 13.5px;
}

.pv-rules.section {
  padding: 18px 0 0;
}

@media (min-width: 768px) {
  .pv-rules.section {
    padding: 12px 0 0;
  }
}

.pv-rules__box {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 22px;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.pv-rules__box[open] {
  border-color: rgba(70, 96, 56, 0.22);
  box-shadow: 0 10px 28px rgba(70, 96, 56, 0.08);
}

.pv-rules__toggle {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  padding: 16px 16px 16px 14px;
  list-style: none;
  cursor: pointer;
  user-select: none;
}

.pv-rules__toggle::-webkit-details-marker,
.pv-rules__toggle::marker {
  display: none;
  content: none;
}

.pv-rules__toggle:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: -3px;
  border-radius: 22px;
}

.pv-rules__mark {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: var(--color-primary-soft);
  color: var(--color-primary-dark);
}

.pv-rules__mark .icon {
  width: 20px;
  height: 20px;
}

.pv-rules__titles {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  min-width: 0;
  flex: 1;
}

.pv-rules__name {
  display: block;
  font-family: var(--font-heading);
  font-size: clamp(18px, 2.4vw, 22px);
  letter-spacing: -0.3px;
  line-height: 1.2;
  color: var(--color-text);
}

.pv-rules__hint {
  color: var(--color-text-secondary);
  font-size: 13.5px;
  line-height: 1.35;
}

.pv-rules__meta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
  margin-left: auto;
}

.pv-rules__n {
  min-width: 28px;
  height: 28px;
  padding: 0 8px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #f4f1e8;
  color: #5c4a22;
  font-size: 13px;
  font-weight: 700;
}

.pv-rules__chevron {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--color-bg-soft);
  color: var(--color-primary-dark);
  transition: transform 0.22s ease, background 0.22s ease;
}

.pv-rules__chevron .icon {
  width: 18px;
  height: 18px;
}

.pv-rules__box[open] .pv-rules__chevron {
  transform: rotate(180deg);
  background: var(--color-primary-soft);
}

.pv-rules__panel {
  padding: 4px 16px 16px;
  border-top: 1px solid rgba(70, 96, 56, 0.08);
}

.pv-rules__box[open] .pv-rules__panel {
  animation: pv-rules-in 0.28s ease;
}

.pv-rules__single {
  margin: 12px 0 0;
  padding: 14px 16px;
  max-width: none;
  color: var(--color-text-secondary);
  font-size: 16px;
  line-height: 1.6;
  background: #f3f7f0;
  border-radius: 16px;
}

.pv-rules__list {
  display: grid;
  gap: 10px;
  margin: 12px 0 0;
}

@media (min-width: 800px) {
  .pv-rules__toggle {
    padding: 16px 18px 16px 16px;
  }

  .pv-rules__panel {
    padding: 0 18px 18px;
  }

  .pv-rules__list {
    grid-template-columns: 1fr 1fr;
  }
}

.pv-rules__list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 14px;
  background: #f3f7f0;
  border: 1px solid rgba(70, 96, 56, 0.1);
  border-radius: 16px;
}

.pv-rules__list span {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  color: var(--color-primary-dark);
  font-weight: 700;
  font-size: 13px;
  flex-shrink: 0;
  box-shadow: inset 0 0 0 1px rgba(70, 96, 56, 0.12);
}

.pv-rules__list p {
  margin: 2px 0 0;
  color: var(--color-text-secondary);
  line-height: 1.5;
}

@keyframes pv-rules-in {
  from {
    transform: translateY(-4px);
  }
  to {
    transform: translateY(0);
  }
}

@media (hover: hover) {
  .pv-rules__toggle:hover .pv-rules__chevron {
    background: var(--color-primary-soft);
  }
}

.pv-banner {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-top: 8px;
  padding: 16px 18px;
  border-radius: 16px;
  background: #f4f1e8;
  color: #5c4a22;
  border: 1px solid rgba(184, 148, 10, 0.25);
}

.pv-banner .icon {
  width: 22px;
  height: 22px;
  margin-top: 1px;
}

.pv-banner p,
.pv-banner span {
  color: inherit;
}

.pv-banner strong,
.pv-banner span {
  display: block;
}

.pv-banner span {
  margin-top: 2px;
  font-size: 14px;
}

.pv-banner--done {
  background: #eef3ea;
  color: var(--color-primary-darker);
  border-color: rgba(70, 96, 56, 0.22);
}

.pv-banner--paused {
  background: #f7f0dc;
  color: #5c4a22;
  border-color: rgba(184, 148, 10, 0.38);
}

.pv-banner--paused strong {
  font-size: 16px;
  letter-spacing: -0.2px;
}

body.is-paused {
  background:
    radial-gradient(900px 340px at 100% -8%, rgba(250, 204, 21, 0.16), transparent 58%),
    radial-gradient(720px 280px at -12% 8%, rgba(70, 96, 56, 0.1), transparent 62%),
    linear-gradient(180deg, #fffdf8 0%, #f7f9f5 42%, #fff 100%);
}

body.is-paused #main {
  min-height: calc(100vh - 220px);
  display: flex;
  align-items: center;
}

.pv-pause {
  width: 100%;
  padding: 36px 0 64px;
}

.pv-pause__card {
  position: relative;
  overflow: hidden;
  max-width: 680px;
  margin: 0 auto;
  padding: 48px 28px 40px;
  text-align: center;
  background:
    linear-gradient(180deg, rgba(255, 253, 246, 0.96) 0%, #fff 52%);
  border: 1px solid rgba(184, 148, 10, 0.28);
  border-radius: 32px;
  box-shadow:
    0 1px 2px rgba(92, 74, 34, 0.04),
    0 18px 48px rgba(92, 74, 34, 0.1);
}

.pv-pause__glow {
  position: absolute;
  inset: -40% auto auto 50%;
  width: 280px;
  height: 180px;
  margin-left: -140px;
  background: radial-gradient(circle, rgba(250, 204, 21, 0.32), transparent 68%);
  pointer-events: none;
}

.pv-pause__icon {
  position: relative;
  width: 76px;
  height: 76px;
  margin: 0 auto 20px;
  border-radius: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f4f1e8;
  color: #6d5420;
  box-shadow: inset 0 0 0 1px rgba(184, 148, 10, 0.22);
}

.pv-pause__icon .icon {
  width: 34px;
  height: 34px;
}

.pv-pause__kicker {
  position: relative;
  margin: 0 0 10px;
  color: #8a6d28;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.pv-pause__title {
  position: relative;
  margin: 0;
  font-size: clamp(28px, 5vw, 42px);
  letter-spacing: -0.9px;
  line-height: 1.15;
  color: #3f341c;
}

.pv-pause__note {
  position: relative;
  margin: 16px auto 0;
  max-width: 440px;
  color: #6d5a32;
  font-size: clamp(16px, 2vw, 18px);
  line-height: 1.55;
}

.pv-pause__back {
  position: relative;
  margin-top: 28px;
  background: #fff;
}

@media (min-width: 720px) {
  .pv-pause {
    padding: 56px 0 80px;
  }

  .pv-pause__card {
    padding: 64px 56px 52px;
  }
}

.pv-board {
  padding-top: 28px;
}

.pv-board__head {
  max-width: 760px;
}

.pv-board__chip {
  display: inline-flex;
  align-items: center;
  margin: 0;
  padding: 6px 12px;
  border-radius: 999px;
  background: #f4f1e8;
  color: #5c4a22;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.01em;
}

body.is-results .pv-board__chip {
  background: var(--color-primary-soft);
  color: var(--color-primary-darker);
}

.pv-board__head .section-title {
  margin-top: 12px;
}

.pv-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 28px;
  list-style: none;
}

.pv-list.is-blind .pv-card {
  grid-template-columns: 72px minmax(0, 1fr);
  grid-template-areas:
    "cover main"
    "side side";
}

.pv-list.is-blind .pv-card__place,
.pv-list.is-blind .pv-card__count {
  display: none;
}

.pv-card {
  display: grid;
  grid-template-columns: auto 72px minmax(0, 1fr);
  grid-template-areas:
    "place cover main"
    "side side side";
  gap: 12px 14px;
  align-items: center;
  padding: 16px;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 22px;
  box-shadow: var(--shadow-sm);
}

.pv-card--1 {
  background: linear-gradient(180deg, #fffdf6 0%, #fff 48%);
  border-color: #ead7a2;
}

.pv-card--2 {
  border-color: #d5dbe3;
}

.pv-card--3 {
  border-color: #ead8c6;
}

.pv-card.is-chosen {
  border-color: rgba(70, 96, 56, 0.45);
  box-shadow: 0 8px 24px rgba(70, 96, 56, 0.12);
}

.pv-card__place {
  grid-area: place;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  background: var(--color-primary-soft);
  color: var(--color-primary-dark);
}

.pv-list.is-revealing .pv-card__place,
.pv-list.is-revealing .pv-card__count {
  animation: pv-pop 0.45s ease;
}

.pv-card--1 .pv-card__place {
  background: #f3e6c4;
  color: #7a5b12;
}

.pv-card--2 .pv-card__place {
  background: #e7eaee;
  color: #4b5563;
}

.pv-card--3 .pv-card__place {
  background: #f0e2d4;
  color: #7a5332;
}

.pv-card__cover {
  grid-area: cover;
  width: 72px;
  height: 72px;
  padding: 0;
  border: 0;
  cursor: pointer;
  font: inherit;
  border-radius: 16px;
  overflow: hidden;
  background: #e7eee3;
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.pv-card__cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pv-card__cover .icon {
  width: 28px;
  height: 28px;
}

.pv-card__main {
  grid-area: main;
  min-width: 0;
}

.pv-card__open {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 100%;
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.pv-card__open:hover .pv-card__name,
.pv-card__open:focus-visible .pv-card__name {
  color: var(--color-primary-dark);
}

.pv-card__name {
  display: block;
  font-size: 18px;
  letter-spacing: -0.3px;
  line-height: 1.3;
}

.pv-card__id {
  display: block;
  margin-top: 2px;
  color: var(--color-text-muted);
  font-size: 12.5px;
  letter-spacing: 0.02em;
}

.pv-card__excerpt {
  display: -webkit-box;
  width: 100%;
  margin-top: 6px;
  color: var(--color-text-secondary);
  font-size: 14px;
  line-height: 1.45;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.pv-card__meta {
  margin-top: 8px;
  color: var(--color-primary);
  font-size: 13px;
  font-weight: 600;
}

.pv-card__side {
  grid-area: side;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 12px;
  padding-top: 4px;
}

.pv-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.pv-card__actions .btn {
  flex: 1 1 148px;
}

.pv-watch .icon {
  width: 16px;
  height: 16px;
}

.pv-card__count {
  display: flex;
  align-items: baseline;
  gap: 6px;
  color: var(--color-text-secondary);
}

.pv-card__count strong {
  font-size: 22px;
  letter-spacing: -0.4px;
  color: var(--color-primary-dark);
}

.pv-card__count span {
  font-size: 13px;
}

.pv-vote {
  min-width: 148px;
}

.pv-empty {
  margin-top: 28px;
  padding: 36px 22px;
  text-align: center;
  background: #fff;
  border: 1px dashed var(--color-border);
  border-radius: 22px;
  color: var(--color-text-secondary);
}

.pv-empty__icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 14px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-primary-soft);
  color: var(--color-primary);
}

.pv-empty__icon .icon {
  width: 30px;
  height: 30px;
}

.pv-hp {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.pv-modal {
  position: fixed;
  inset: 0;
  z-index: 140;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 16px;
}

.pv-modal[hidden] {
  display: none;
}

.pv-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(23, 26, 31, 0.46);
  backdrop-filter: blur(5px);
}

.pv-modal__dialog {
  position: relative;
  width: min(460px, 100%);
  padding: 26px 22px 20px;
  background: #fff;
  border-radius: 24px 24px 18px 18px;
  box-shadow: var(--shadow-lg);
}

.pv-modal__dialog h2 {
  font-size: 24px;
  letter-spacing: -0.4px;
}

.pv-modal__name {
  margin-top: 14px;
  padding: 12px 14px;
  border-radius: 14px;
  background: var(--color-primary-soft);
  color: var(--color-primary-darker);
  font-weight: 700;
}

.pv-modal__text {
  margin-top: 12px;
  color: var(--color-text-secondary);
  line-height: 1.5;
}

.pv-modal__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 22px;
}

.pv-modal__actions .btn {
  min-width: 132px;
}

body.is-locked {
  overflow: hidden;
}

.site-footer__bottom a {
  color: var(--color-primary);
  font-weight: 600;
}

@media (min-width: 800px) {
  .pv-hero {
    padding: 72px 0 20px;
  }

  .pv-card {
    grid-template-columns: auto 120px minmax(0, 1fr) auto;
    grid-template-areas: "place cover main side";
    align-items: center;
    padding: 14px 18px;
  }

  .pv-list.is-blind .pv-card {
    grid-template-columns: 120px minmax(0, 1fr) auto;
    grid-template-areas: "cover main side";
  }

  .pv-card__cover {
    width: 120px;
    height: 86px;
    border-radius: 14px;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.4);
  }

  .pv-card__side {
    flex-direction: row;
    align-items: center;
    justify-content: flex-end;
    gap: 16px;
    padding-top: 0;
    min-width: 0;
  }

  .pv-card__count {
    padding: 8px 12px;
    border-radius: 14px;
    background: rgba(70, 96, 56, 0.08);
  }

  .pv-card__actions {
    flex-wrap: nowrap;
    justify-content: flex-end;
  }

  .pv-card__actions .btn {
    flex: 0 0 auto;
    width: auto;
    padding: 9px 16px;
  }

  .pv-vote {
    min-width: 0;
  }

  .pv-modal {
    align-items: center;
  }

  .pv-modal__dialog {
    padding: 32px 28px 24px;
    border-radius: 24px;
  }
}

@media (hover: hover) {
  .pv-card {
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
  }

  .pv-card:hover {
    border-color: rgba(70, 96, 56, 0.28);
    box-shadow: var(--shadow-md);
    transform: translateY(-1px);
  }
}

@media (max-width: 420px) {
  .pv-vote {
    min-width: 0;
    padding-left: 14px;
    padding-right: 14px;
  }
}

@keyframes pv-pop {
  from {
    opacity: 0;
    transform: scale(0.72);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@media (prefers-reduced-motion: reduce) {
  .pv-card {
    transition: none;
  }

  .pv-list.is-revealing .pv-card__place,
  .pv-list.is-revealing .pv-card__count {
    animation: none;
  }

  .pv-rules__chevron {
    transition: none;
  }

  .pv-rules__box[open] .pv-rules__panel {
    animation: none;
  }
}

.pv-card__cover:focus-visible,
.pv-card__open:focus-visible,
.pv-watch:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 3px;
}

.pv-view:not([hidden]) {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: flex;
  justify-content: flex-end;
}

.pv-view__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(24, 32, 20, 0.46);
}

.pv-view__panel {
  position: relative;
  display: flex;
  flex-direction: column;
  width: min(920px, 100%);
  height: 100%;
  background:
    radial-gradient(520px 180px at 100% 0%, rgba(250, 204, 21, 0.16), transparent 60%),
    #f6f8f4;
  box-shadow: -16px 0 40px rgba(24, 32, 20, 0.16);
}

.pv-view__bar {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 18px 14px;
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid var(--color-border);
}

.pv-view__heading {
  min-width: 0;
}

.pv-view__kicker {
  color: var(--color-primary);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.pv-view__bar h2 {
  margin-top: 4px;
  font-size: clamp(22px, 3vw, 30px);
  letter-spacing: -0.4px;
  line-height: 1.2;
}

.pv-view__id {
  margin-top: 4px;
  color: var(--color-text-muted);
  font-size: 13px;
}

.pv-view__x,
.pv-light__x {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 50%;
  background: #fff;
  color: var(--color-text);
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  flex: 0 0 auto;
}

.pv-view__scroll {
  flex: 1;
  overflow: auto;
  padding: 18px 18px 28px;
}

.pv-view__loading,
.pv-view__empty,
.pv-docstage__status {
  margin: 12px 0;
  color: var(--color-text-secondary);
}

.pv-view__foot:not([hidden]) {
  display: flex;
  justify-content: flex-end;
  padding: 12px 18px calc(12px + env(safe-area-inset-bottom));
  background: #fff;
  border-top: 1px solid var(--color-border);
}

.pv-view__vote {
  width: auto;
  min-width: 168px;
}

.pv-gallery,
.pv-prose,
.pv-docs {
  margin-top: 18px;
}

.pv-gallery h3,
.pv-prose h3,
.pv-docs h3 {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-primary-dark);
}

.pv-gallery h3::after,
.pv-prose h3::after,
.pv-docs h3::after {
  content: "";
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, rgba(70, 96, 56, 0.35), transparent);
}

.pv-stage {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  border-radius: 20px;
  overflow: hidden;
  background: #ece7dc;
  cursor: zoom-in;
}

.pv-stage img {
  display: block;
  width: 100%;
  max-height: min(68vh, 640px);
  object-fit: contain;
  background: #1c2118;
}

.pv-thumbs {
  display: flex;
  gap: 8px;
  margin-top: 10px;
  overflow-x: auto;
  padding-bottom: 4px;
}

.pv-thumbs__item {
  flex: 0 0 auto;
  width: 72px;
  height: 72px;
  padding: 0;
  border: 2px solid transparent;
  border-radius: 14px;
  overflow: hidden;
  background: #e7eee3;
  cursor: pointer;
}

.pv-thumbs__item.is-active {
  border-color: var(--color-primary);
}

.pv-thumbs__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pv-prose {
  padding: 18px 18px 8px;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 20px;
}

.pv-prose p {
  white-space: pre-wrap;
  font-size: 16px;
  line-height: 1.65;
}

.pv-prose p.is-empty {
  color: var(--color-text-secondary);
}

.pv-docs ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.pv-file {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 10px;
  padding: 14px;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 18px;
}

.pv-file--text {
  background: #f3f7f0;
  border-color: rgba(70, 96, 56, 0.28);
}

.pv-file strong,
.pv-file span {
  display: block;
}

.pv-file strong {
  word-break: break-word;
}

.pv-file span {
  margin-top: 3px;
  color: var(--color-text-secondary);
  font-size: 13px;
}

.pv-file__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.pv-docstage:not([hidden]) {
  overflow: auto;
  max-height: 72vh;
  border-radius: 14px;
  background: #e7eee3;
}

.pv-docstage__frame {
  display: block;
  width: 100%;
  height: 72vh;
  border: 0;
  background: #fff;
}

.pv-light:not([hidden]) {
  position: fixed;
  inset: 0;
  z-index: 130;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pv-light__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(12, 16, 10, 0.88);
}

.pv-light img {
  position: relative;
  max-width: min(1100px, calc(100% - 120px));
  max-height: calc(100% - 80px);
  object-fit: contain;
  border-radius: 12px;
}

.pv-light__x {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 2;
}

.pv-light__nav {
  position: absolute;
  z-index: 2;
  top: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  margin-top: -23px;
  border: 0;
  border-radius: 50%;
  background: #fff;
  cursor: pointer;
}

.pv-light__nav--prev { left: 16px; }
.pv-light__nav--next { right: 16px; }

.pv-light__nav[hidden] { display: none; }

.jury-docview__html {
  box-sizing: border-box;
  width: min(794px, calc(100% - 24px));
  min-height: 480px;
  margin: 12px;
  padding: 36px 28px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.16);
  font-family: "Times New Roman", Times, serif;
  font-size: 16px;
  line-height: 1.55;
  color: #111;
}

.jury-docview__html p { margin: 0 0 10px; }
.jury-docview__html h2,
.jury-docview__html h3 { margin: 18px 0 10px; }

.jury-docview__sheets,
.jury-docview__slides { padding: 16px; }

.jury-sheet {
  margin: 0 0 16px;
  padding: 16px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.14);
}

.jury-table {
  border-collapse: collapse;
  font-size: 13px;
  background: #fff;
}

.jury-table th,
.jury-table td {
  border: 1px solid #cbd5e1;
  padding: 6px 10px;
  text-align: left;
  vertical-align: top;
}

@media (min-width: 720px) {
  .pv-view__bar,
  .pv-view__scroll { padding-left: 28px; padding-right: 28px; }

  .pv-file {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
  }

  .pv-docstage:not([hidden]) { grid-column: 1 / -1; }
}

@media (max-width: 719px) {
  .pv-light img { max-width: calc(100% - 24px); }
  .pv-light__nav--prev { left: 8px; }
  .pv-light__nav--next { right: 8px; }

  .pv-view__vote {
    width: 100%;
  }
}

@media (min-width: 960px) {
  .pv-view:not([hidden]) {
    align-items: center;
    justify-content: center;
    padding: 32px;
  }

  .pv-view__panel {
    width: min(1080px, 100%);
    height: auto;
    max-height: min(820px, calc(100% - 8px));
    border-radius: 28px;
    overflow: hidden;
    box-shadow: 0 28px 80px rgba(24, 32, 20, 0.28);
  }

  .pv-view__scroll {
    flex: 0 1 auto;
    max-height: calc(100vh - 230px);
  }

  .pv-view__bar {
    background:
      linear-gradient(90deg, rgba(250, 204, 21, 0.16), transparent 42%),
      #fff;
  }

  .pv-view__scroll {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
    gap: 18px 28px;
    align-content: start;
  }

  .pv-gallery {
    grid-column: 1;
    grid-row: 1 / span 3;
    margin: 0;
  }

  .pv-prose,
  .pv-docs,
  .pv-view__empty {
    grid-column: 2;
    margin-top: 0;
  }

  .pv-view__scroll:not(:has(.pv-gallery)) {
    grid-template-columns: minmax(0, 720px);
  }

  .pv-view__scroll:not(:has(.pv-gallery)) .pv-prose,
  .pv-view__scroll:not(:has(.pv-gallery)) .pv-docs,
  .pv-view__scroll:not(:has(.pv-gallery)) .pv-view__empty,
  .pv-view__scroll:not(:has(.pv-gallery)) .pv-view__loading {
    grid-column: 1;
  }

  .pv-stage {
    border-radius: 18px;
    box-shadow: 0 16px 40px rgba(24, 32, 20, 0.16);
  }

  .pv-stage img {
    max-height: min(46vh, 440px);
  }

  .pv-prose {
    box-shadow: var(--shadow-sm);
  }

  .jury-docview__html {
    width: 100%;
    min-height: 0;
    margin: 0;
  }
}
