:root {
  color-scheme:dark;
  --bg:#10131b;
  --panel:#1a1e29;
  --panel2:#232837;
  --border:#333a4d;
  --text:#f3f4f8;
  --muted:#b2b9cc;
  --lime:#d5f86a;
  --pink:#ff96b8;
  --blue:#9acbff;
  --red:#ffaaa1;
  --radius:20px;
  font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
}
* {
  box-sizing:border-box;
}
html {
  scroll-behavior:smooth;
  scroll-padding-top:30px;
}
body {
  margin:0;
  background:var(--bg);
  color:var(--text);
  line-height:1.5;
}
a {
  color:inherit;
  text-decoration:none;
}
button,input,textarea,select {
  font:inherit;
}
button,.button {
  display:inline-flex;
  justify-content:center;
  align-items:center;
  gap:8px;
  min-height:48px;
  padding:11px 18px;
  border:1px solid var(--border);
  border-radius:12px;
  background:var(--panel2);
  color:var(--text);
  font-weight:650;
  cursor:pointer;
  text-align:center;
  line-height:1.35;
  transition:background .15s,transform .15s;
  touch-action:manipulation;
}
button:hover,.button:hover {
  background:#30374a;
}
button:active,.button:active {
  transform:translateY(1px);
}
button:disabled {
  opacity:.42;
  cursor:not-allowed;
}
button.primary,.button.primary {
  background:var(--lime);
  color:#17200c;
  border-color:var(--lime);
}
button.primary:hover,.button.primary:hover {
  background:#e1ff8d;
}
button.ghost,.button.ghost {
  background:transparent;
}
button.active,.button.active {
  background:#d5f86a1a;
  border-color:var(--lime);
  color:var(--lime);
}
button.danger {
  color:var(--red);
}
a.text-link {
  color:var(--lime);
  font-weight:650;
  display:inline-block;
  padding:10px 0;
}
a:focus-visible,button:focus-visible,input:focus-visible,textarea:focus-visible,summary:focus-visible {
  outline:3px solid var(--blue);
  outline-offset:4px;
}
input,textarea {
  width:100%;
  min-height:48px;
  padding:12px 14px;
  border:1px solid #46506a;
  border-radius:12px;
  background:#111620;
  color:var(--text);
  font-size:16px;
}
textarea {
  resize:vertical;
  line-height:1.5;
}
input::placeholder,textarea::placeholder {
  color:#8f9ab2;
}
input[type=file] {
  cursor:pointer;
}
label {
  display:block;
  font-weight:600;
}
label input,label textarea {
  margin-top:7px;
}
h1,h2,h3,p {
  margin-top:0;
}
h1 {
  font-size:clamp(30px,4vw,44px);
  line-height:1.12;
  letter-spacing:-1.3px;
  margin-bottom:16px;
  overflow-wrap:anywhere;
}
h2 {
  font-size:clamp(24px,2.8vw,31px);
  line-height:1.2;
  letter-spacing:-.65px;
  margin-bottom:12px;
  overflow-wrap:anywhere;
}
h3 {
  font-size:19px;
  line-height:1.3;
  margin-bottom:8px;
  overflow-wrap:anywhere;
}
p {
  margin-bottom:16px;
}
small,.small {
  font-size:13px;
}
.muted {
  color:var(--muted);
}
.lead {
  font-size:19px;
  color:var(--muted);
  max-width:600px;
}
.eyebrow {
  display:block;
  color:var(--lime);
  font-size:11px;
  font-weight:750;
  letter-spacing:1.8px;
  margin-bottom:12px;
}
.hidden {
  display:none!important;
}
.preserve-lines,.comment-text {
  white-space:pre-wrap;
  overflow-wrap:anywhere;
}
.stack {
  display:grid;
  gap:14px;
}
.stack>p {
  margin-bottom:0;
}
.full-width {
  width:100%;
}
.site-header {
  max-width:1440px;
  margin:auto;
  padding:24px 28px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
}
.wordmark {
  font-size:19px;
  font-weight:750;
  display:flex;
  align-items:center;
  gap:10px;
  letter-spacing:-.5px;
}
.brand-mark {
  display:grid;
  place-items:center;
  width:32px;
  height:32px;
  border-radius:10px;
  background:var(--lime);
  color:#16200d;
  font-weight:850;
}
.header-note {
  font-size:13px;
  color:var(--muted);
}
.site-footer {
  padding:32px 20px;
  color:#919bb3;
  text-align:center;
  font-size:12px;
}
.container {
  max-width:1320px;
  margin:auto;
  padding:28px;
}
.narrow {
  max-width:650px;
}
.panel {
  background:var(--panel);
  border:1px solid var(--border);
  padding:24px;
  border-radius:var(--radius);
}
.panel>p:last-child {
  margin-bottom:0;
}
.landing {
  padding-top:65px;
}
.landing h1 {
  font-size:clamp(44px,7vw,64px);
  letter-spacing:-2.5px;
}
.landing .panel {
  margin:32px 0 22px;
}
.notice {
  padding:14px 17px;
  background:#253423;
  border:1px solid #4a6b3e;
  color:#e5f6d8;
  border-radius:12px;
  overflow-wrap:anywhere;
}
.notice button {
  margin-left:12px;
}
.notice.error {
  background:#3b232a;
  border-color:#8c4851;
  color:#ffd0d4;
}
.notice.success {
  background:#253423;
}
.error-text {
  color:#ffb5bd;
}
.success-text {
  color:var(--lime);
}
.login {
  margin-top:25px;
}
.page-top,.section-heading {
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:20px;
  margin-bottom:22px;
}
.page-top h1 {
  margin-bottom:0;
}
.admin-columns {
  display:grid;
  grid-template-columns:1.1fr 1fr;
  gap:36px;
}
.round-list {
  display:grid;
  gap:14px;
}
.round-link {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
}
.round-link:hover {
  border-color:var(--lime);
}
.round-link p {
  margin:0;
}
.round-link>span {
  font-size:26px;
  color:var(--lime);
}
.status-strip {
  display:flex;
  align-items:center;
  gap:16px;
  flex-wrap:wrap;
  margin:18px 0;
}
.pill {
  font-size:12px;
  border:1px solid var(--border);
  border-radius:99px;
  padding:6px 11px;
  background:var(--panel2);
}
.pill.live {
  background:#28381f;
  color:var(--lime);
  border-color:#4d6335;
}
.toolbar {
  display:flex;
  align-items:center;
  gap:10px;
  flex-wrap:wrap;
  margin:18px 0;
}
.toolbar form {
  margin:0;
}
.toolbar.compact {
  gap:8px;
  margin-bottom:0;
}
.toolbar.compact button {
  padding:9px 12px;
  font-size:13px;
}
.admin-shell>details {
  margin:25px 0;
}
.admin-shell>details form {
  margin-top:20px;
}
.upload-panel {
  display:grid;
  grid-template-columns:1fr 1.3fr;
  gap:24px;
  margin:30px 0 38px;
}
.upload-panel>p {
  grid-column:1/-1;
}
.dropzone {
  padding:18px;
  border:1px dashed #65704a;
  border-radius:14px;
  background:#20271d;
}
.dropzone input {
  background:transparent;
  border:0;
  padding:8px 0;
  font-size:14px;
}
.upload-status {
  list-style:none;
  padding:0;
  margin:0;
  font-size:13px;
  overflow-wrap:anywhere;
}
.upload-status li {
  padding:7px 0;
}
.idea-admin-grid {
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:20px;
}
.idea-admin {
  padding:18px;
}
.idea-admin>img {
  display:block;
  width:100%;
  height:260px;
  object-fit:contain;
  background:#11141d;
  border-radius:12px;
  margin-bottom:16px;
}
.idea-admin label {
  font-size:13px;
}
.idea-admin .stack {
  gap:12px;
}
.admin-only {
  font-size:9px;
  letter-spacing:.7px;
  color:var(--pink);
  white-space:nowrap;
}
.results-section {
  margin-top:64px;
}
summary {
  cursor:pointer;
  min-height:44px;
  display:list-item;
  align-content:center;
  font-weight:600;
  overflow-wrap:anywhere;
}
details>summary+* {
  margin-top:12px;
}
.result-list {
  display:grid;
  gap:14px;
}
.result-card {
  display:grid;
  grid-template-columns:36px 115px minmax(0,1fr);
  gap:20px;
  align-items:start;
}
.result-rank {
  display:grid;
  place-items:center;
  color:var(--lime);
  font-size:23px;
  font-weight:750;
  min-height:40px;
}
.result-card>img {
  width:115px;
  height:125px;
  object-fit:contain;
  background:#11141d;
  border-radius:10px;
}
.result-content {
  min-width:0;
}
.result-content>p {
  font-size:13px;
}
.result-metrics {
  display:flex;
  flex-wrap:wrap;
  gap:9px 18px;
  color:var(--muted);
  font-size:13px;
  margin:12px 0;
}
.result-metrics strong {
  color:var(--text);
  padding-left:3px;
}
.result-content details {
  font-size:13px;
}
.comment-text {
  background:#111620;
  border-left:3px solid #738449;
  padding:12px;
  margin:8px 0;
  border-radius:0 8px 8px 0;
}
.bar-track {
  height:8px;
  border-radius:8px;
  background:#323a4c;
  overflow:hidden;
  margin-top:12px;
}
.bar-fill {
  height:100%;
  width:0;
  background:var(--lime);
  border-radius:8px;
  transition:width .3s ease;
}
.voter-shell {
  max-width:760px;
  padding-top:18px;
}
.round-intro {
  margin-bottom:26px;
}
.round-intro h1 {
  font-size:clamp(29px,4vw,39px);
}
.round-intro p {
  margin-bottom:8px;
}
.progress-meta {
  display:flex;
  justify-content:space-between;
  gap:14px;
  font-size:13px;
  margin-bottom:8px;
}
.progress-meta>span {
  color:var(--muted);
}
progress {
  width:100%;
  height:6px;
  border:0;
  border-radius:6px;
  background:#333a4b;
  display:block;
  margin-bottom:18px;
  accent-color:var(--lime);
}
progress::-webkit-progress-bar {
  background:#333a4b;
  border-radius:6px;
}
progress::-webkit-progress-value {
  background:var(--lime);
  border-radius:6px;
}
progress::-moz-progress-bar {
  background:var(--lime);
  border-radius:6px;
}
.vote-card {
  background:var(--panel);
  border:1px solid var(--border);
  border-radius:var(--radius);
  overflow:hidden;
}
.image-button {
  position:relative;
  display:block;
  padding:0;
  min-height:0;
  line-height:0;
  border:0;
  background:#0b0e15;
  border-radius:0;
  width:100%;
  overflow:hidden;
}
.image-button:hover {
  background:#0b0e15;
}
.image-button img {
  display:block;
  width:100%;
  height:100%;
  object-fit:contain;
}
.hero-image {
  height:min(57dvh,570px);
  min-height:240px;
}
.zoom-hint {
  position:absolute;
  bottom:12px;
  right:12px;
  line-height:1.3;
  font-size:11px;
  font-weight:600;
  background:#10131bdd;
  padding:7px 10px;
  border:1px solid #ffffff2b;
  border-radius:99px;
  color:#fff;
}
.card-details {
  padding:22px;
}
.card-details h2 {
  font-size:24px;
}
.card-details>p {
  font-size:14px;
}
.comment-label {
  font-size:13px;
  margin:18px 0 8px;
}
.comment-label .muted {
  font-weight:400;
}
.comment-status {
  margin:7px 0 17px!important;
  font-size:12px!important;
}
.rating-buttons {
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:12px;
}
.rating {
  flex-direction:column;
  gap:3px;
  min-height:85px;
  border-width:2px;
  font-size:17px;
}
.rating>span {
  font-size:25px;
  line-height:1.1;
}
.rating.love {
  background:#382334;
  color:#ffb3cc;
  border-color:#744259;
}
.rating.ok {
  background:#233346;
  color:#acd4ff;
  border-color:#405d7c;
}
.rating.nope {
  background:#2c2d34;
  color:#d1d4dd;
  border-color:#505360;
}
.rating.selected {
  box-shadow:inset 0 0 0 2px currentColor;
}
.rating:hover {
  filter:brightness(1.18);
}
.card-nav {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:8px;
  margin:14px 0;
}
.privacy-note {
  text-align:center;
  color:var(--muted);
  font-size:12px;
  margin:26px 0 0;
}
.thank-you {
  text-align:center;
  padding:38px 24px;
}
.thank-you .stack {
  max-width:360px;
  margin:auto;
}
.thank-icon {
  display:grid;
  place-items:center;
  width:65px;
  height:65px;
  background:var(--lime);
  color:#17200c;
  font-size:30px;
  border-radius:50%;
  margin:0 auto 25px;
}
.thank-you h2 {
  font-size:36px;
}
.favorite-heading {
  text-align:center;
  padding:20px 0;
}
.favorite-grid,.saved-grid {
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:16px;
}
.favorite-card,.saved-item {
  border:1px solid var(--border);
  border-radius:16px;
  overflow:hidden;
  background:var(--panel);
}
.favorite-card.selected {
  border-color:var(--lime);
}
.favorite-card .image-button,.saved-item .image-button {
  height:230px;
}
.favorite-details {
  padding:14px;
}
.favorite-details h3 {
  font-size:17px;
}
.favorite-pick {
  width:100%;
  font-size:14px;
  padding:12px 8px;
}
.saved-grid {
  margin-top:25px;
}
.saved-item>h3,.saved-item>p {
  margin:10px 14px;
}
.saved-item>p {
  font-size:13px;
}
.loading {
  text-align:center;
  padding:60px 20px;
  color:var(--muted);
}
.spinner {
  display:block;
  margin:0 auto 20px;
  width:28px;
  height:28px;
  border:3px solid var(--border);
  border-top-color:var(--lime);
  border-radius:50%;
  animation:spin .8s linear infinite;
}
@keyframes spin {
  to {
    transform:rotate(360deg);
  }
}
.modal-open {
  overflow:hidden;
}
.zoom-dialog {
  background:#0b0d12;
  color:var(--text);
  width:96vw;
  height:96dvh;
  max-width:none;
  max-height:none;
  padding:60px 10px 35px;
  border:1px solid var(--border);
  border-radius:12px;
  overflow:hidden;
}
.zoom-dialog::backdrop {
  background:#000d;
}
.zoom-scroll {
  height:100%;
  overflow:auto;
  touch-action:pan-x pan-y pinch-zoom;
  display:grid;
  place-items:start center;
}
.zoom-scroll img {
  display:block;
  max-width:none;
  width:auto;
  min-width:min(100%,600px);
  max-height:none;
  height:auto;
}
.zoom-close {
  position:absolute;
  right:12px;
  top:8px;
  width:46px;
  height:46px;
  font-size:29px;
  z-index:2;
}
.zoom-dialog>p {
  position:absolute;
  bottom:3px;
  left:0;
  right:0;
  margin:0;
  text-align:center;
  font-size:11px;
  color:var(--muted);
  pointer-events:none;
}
.presenter-page .site-header {
  max-width:none;
  padding-bottom:10px;
}
.presenter-page .site-footer {
  display:none;
}
.presenter {
  padding:10px 28px 6px;
  max-width:2300px;
  margin:auto;
}
.presenter-top {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:24px;
}
.presenter-top h1 {
  margin-bottom:0;
  font-size:clamp(28px,3vw,42px);
}
.presenter-top .eyebrow {
  margin-bottom:8px;
}
.live-count {
  display:flex;
  align-items:center;
  gap:9px;
  flex-wrap:wrap;
  color:var(--muted);
  font-size:19px;
}
.live-count>strong {
  font-size:28px;
  color:var(--text);
}
.live-dot {
  width:9px;
  height:9px;
  border-radius:50%;
  background:var(--lime);
}
.presenter-toolbar {
  margin:20px 0;
}
.presenter-body {
  display:grid;
  grid-template-columns:minmax(0,1fr) 330px;
  gap:24px;
  align-items:start;
}
.presenter-body>#present-stage {
  min-width:0;
}
.qr-panel {
  text-align:center;
  padding:22px;
}
.qr-panel h2 {
  font-size:26px;
}
.qr-code {
  background:#fff;
  padding:14px;
  margin:20px auto;
  border-radius:12px;
  max-width:100%;
  width:308px;
  aspect-ratio:1;
  display:grid;
  place-items:center;
}
.qr-code img,.qr-code canvas {
  display:block;
  max-width:100%;
  height:auto!important;
}
.qr-panel>p {
  font-size:15px;
}
.vote-link {
  font-size:12px;
  color:var(--lime);
  overflow-wrap:anywhere;
  display:block;
  margin-bottom:20px;
}
.present-image {
  height:calc(100dvh - 355px);
  min-height:260px;
  display:grid;
  place-items:center;
  background:#090c12;
  border:1px solid var(--border);
  border-radius:18px;
  overflow:hidden;
}
.present-image img {
  width:100%;
  height:100%;
  object-fit:contain;
  min-height:0;
}
.present-caption {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
  text-align:center;
  padding:18px 0;
}
.present-caption h2 {
  margin-bottom:0;
  font-size:clamp(22px,2.2vw,32px);
}
.present-caption .eyebrow {
  margin-bottom:4px;
}
.present-caption .muted {
  margin:8px 0 0;
}
.present-caption button {
  min-width:64px;
  min-height:60px;
  font-size:26px;
}
.present-grid {
  display:grid;
  grid-template-columns:repeat(var(--grid-columns,5),minmax(0,1fr));
  grid-template-rows:repeat(var(--grid-rows,5),minmax(0,1fr));
  gap:10px;
  height:calc(100dvh - 245px);
  min-height:350px;
}
.present-tile {
  min-height:0;
  min-width:0;
  display:flex;
  flex-direction:column;
  padding:7px;
  gap:5px;
  border-radius:10px;
  overflow:hidden;
}
.present-tile img {
  width:100%;
  flex:1;
  min-height:0;
  object-fit:contain;
  background:#0b0e15;
  border-radius:5px;
}
.present-tile>span {
  font-size:11px;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
  width:100%;
  display:block;
}
.present-tile b {
  color:var(--lime);
  margin-right:4px;
}
.grid-mode .presenter-body {
  grid-template-columns:minmax(0,1fr) 245px;
}
.grid-mode .qr-panel {
  padding:16px;
}
.grid-mode .qr-code {
  width:210px;
  padding:10px;
}
.grid-mode .qr-panel h2 {
  font-size:22px;
}
.join-message {
  padding:55px 35px;
}
.join-message h2 {
  font-size:clamp(48px,6vw,90px);
  line-height:1.05;
  letter-spacing:-3px;
}
.join-message>p {
  font-size:24px;
  color:var(--muted);
}
.join-steps {
  display:grid;
  gap:15px;
  font-size:18px;
  color:var(--lime);
  margin-top:36px;
}
.qr-expanded .presenter-body {
  grid-template-columns:1fr minmax(390px,42%);
}
.qr-expanded .qr-panel {
  padding:35px;
}
.qr-expanded .qr-code {
  width:min(100%,470px);
  padding:22px;
}
.qr-expanded .qr-code img,.qr-expanded .qr-code canvas {
  width:100%!important;
  image-rendering:pixelated;
}
.qr-expanded .qr-panel h2 {
  font-size:34px;
}
@media(min-width:1700px) {
  .present-grid {
    gap:14px;
  }
  .present-tile>span {
    font-size:14px;
  }
  .presenter-body {
    grid-template-columns:minmax(0,1fr) 370px;
  }
  .grid-mode .presenter-body {
    grid-template-columns:minmax(0,1fr) 300px;
  }
}
@media(max-width:1050px) {
  .idea-admin-grid {
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
  .presenter-body,.grid-mode .presenter-body {
    grid-template-columns:minmax(0,1fr) 240px;
  }
  .qr-panel {
    padding:16px;
  }
  .qr-panel h2 {
    font-size:22px;
  }
  .qr-code {
    width:208px;
  }
  .present-grid {
    grid-template-columns:repeat(4,minmax(0,1fr));
    grid-template-rows:none;
    grid-auto-rows:170px;
    height:auto;
  }
  .presenter-top {
    align-items:flex-start;
  }
  .live-count {
    font-size:14px;
    max-width:220px;
  }
  .presenter-toolbar button,.presenter-toolbar .button {
    font-size:13px;
    padding:10px 12px;
  }
  .qr-expanded .presenter-body {
    grid-template-columns:1fr 340px;
  }
  .join-message {
    padding:35px 10px;
  }
  .join-message h2 {
    font-size:55px;
  }
}
@media(max-width:700px) {
  .site-header {
    padding:18px 18px;
  }
  .header-note {
    display:none;
  }
  .container {
    padding:22px 18px;
  }
  .landing {
    padding-top:35px;
  }
  .panel {
    padding:21px;
  }
  .admin-columns,.upload-panel {
    grid-template-columns:1fr;
    gap:22px;
  }
  .admin-columns>section:first-child {
    order:1;
  }
  .page-top {
    align-items:flex-start;
  }
  .page-top h1 {
    font-size:32px;
  }
  .toolbar {
    gap:8px;
  }
  .toolbar button,.toolbar .button {
    font-size:13px;
    min-height:46px;
  }
  .idea-admin-grid {
    grid-template-columns:1fr;
  }
  .idea-admin>img {
    height:300px;
  }
  .status-strip {
    gap:10px;
    font-size:13px;
  }
  .section-heading {
    align-items:flex-start;
    flex-direction:column;
    gap:8px;
  }
  .result-card {
    grid-template-columns:24px 70px minmax(0,1fr);
    gap:10px;
    padding:16px 12px;
  }
  .result-card>img {
    width:70px;
    height:100px;
  }
  .result-rank {
    font-size:19px;
  }
  .result-content h3 {
    font-size:16px;
  }
  .result-metrics {
    gap:6px 13px;
    font-size:12px;
  }
  .result-content details {
    grid-column:1/-1;
  }
  .voter-shell {
    padding:14px 14px 26px;
  }
  .voter-page .site-header {
    padding:16px 18px;
  }
  .round-intro {
    padding:0 3px;
    margin-bottom:22px;
  }
  .round-intro h1 {
    font-size:28px;
  }
  .round-intro .eyebrow {
    font-size:10px;
    margin-bottom:9px;
  }
  .round-intro>p {
    font-size:13px;
  }
  .card-details {
    padding:18px 15px;
  }
  .hero-image {
    height:min(50dvh,470px);
    min-height:230px;
  }
  .rating-buttons {
    gap:9px;
  }
  .rating {
    min-height:81px;
    padding:10px 5px;
    font-size:16px;
  }
  .card-nav button {
    font-size:14px;
    padding:10px 12px;
  }
  .card-nav>span {
    font-size:11px;
  }
  .favorite-grid,.saved-grid {
    gap:12px;
  }
  .favorite-card .image-button,.saved-item .image-button {
    height:195px;
  }
  .favorite-details {
    padding:12px 10px;
  }
  .favorite-details h3 {
    font-size:15px;
  }
  .favorite-pick {
    font-size:13px;
    min-height:50px;
  }
  .zoom-hint {
    font-size:10px;
    bottom:9px;
    right:9px;
  }
  .zoom-scroll img {
    min-width:100%;
    width:100%;
    max-width:none;
    touch-action:pan-x pan-y pinch-zoom;
  }
  .presenter {
    padding:12px 16px;
  }
  .presenter-top {
    display:block;
  }
  .presenter-top h1 {
    font-size:30px;
  }
  .live-count {
    margin:14px 0 0;
    max-width:none;
  }
  .presenter-body,.grid-mode .presenter-body,.qr-expanded .presenter-body {
    display:flex;
    flex-direction:column;
  }
  .presenter-body>#present-stage,.qr-panel {
    width:100%;
  }
  .qr-panel {
    max-width:440px;
    margin:0 auto;
  }
  .present-image {
    height:52dvh;
    min-height:270px;
  }
  .present-caption button {
    min-width:50px;
    min-height:50px;
  }
  .present-grid {
    grid-template-columns:repeat(3,minmax(0,1fr));
    grid-auto-rows:160px;
    gap:8px;
    min-height:0;
  }
  .present-tile>span {
    font-size:10px;
  }
  .join-message {
    padding:24px 8px;
  }
  .join-message h2 {
    font-size:48px;
    letter-spacing:-2px;
  }
  .join-message>p {
    font-size:19px;
  }
  .qr-expanded .qr-panel {
    padding:25px;
  }
  .qr-expanded .qr-code {
    width:100%;
  }
  .presenter-toolbar {
    gap:7px;
  }
  .presenter-toolbar button,.presenter-toolbar .button {
    font-size:12px;
    min-height:44px;
    padding:9px 11px;
  }
}
@media(prefers-reduced-motion:reduce) {
  * {
    scroll-behavior:auto!important;
    animation:none!important;
    transition:none!important;
  }
}
@media print {
  body {
    background:white;
    color:black;
  }
  .site-header,.site-footer,.toolbar,form,.text-link {
    display:none!important;
  }
  .panel {
    background:white;
    color:black;
    border-color:#ccc;
    break-inside:avoid;
  }
  .muted,.result-metrics,.result-metrics strong {
    color:#333;
  }
  .result-content details {
    display:block;
  }
  .result-content details>p {
    display:block;
  }
  .comment-text {
    background:#f5f5f5;
    color:#222;
  }
  .container {
    max-width:none;
    padding:0;
  }
}

/* One voting link automatically adapts to a laptop or desktop screen. */
@media (min-width:980px) {
  .voter-shell {
    max-width:1160px;
  }
  .voter-page .vote-card {
    display:grid;
    grid-template-columns:minmax(0,1.15fr) minmax(320px,.85fr);
    align-items:stretch;
  }
  .voter-page .hero-image {
    height:clamp(420px,64dvh,650px);
    min-height:420px;
  }
  .voter-page .card-details {
    min-width:0;
    display:flex;
    flex-direction:column;
    justify-content:center;
    padding:32px;
  }
  .voter-page .rating-buttons {
    width:100%;
  }
  .voter-page .favorite-grid,.voter-page .saved-grid {
    grid-template-columns:repeat(3,minmax(0,1fr));
  }
  .voter-page .thank-you {
    max-width:740px;
    margin-left:auto;
    margin-right:auto;
  }
}

/* Voter design wall: an overview plus the existing large-card review. */
.voter-shell.wall-layout { max-width:1440px; }
.voter-view-controls { display:flex;gap:10px;flex-wrap:wrap;margin:0 0 22px; }
.voter-view-controls button { min-height:46px; }
.wall-heading { display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap;margin-bottom:12px; }
.wall-heading h2 { font-size:25px;margin-bottom:7px; }
.wall-heading p { margin-bottom:0;font-size:14px; }
.wall-heading>[data-wall-progress] { white-space:nowrap;color:var(--lime);font-weight:650; }
.wall-fit-control { display:none;align-items:center;gap:8px;font-size:13px;white-space:nowrap; }
.wall-fit-control input { width:19px;min-height:19px;height:19px;margin:0;accent-color:var(--lime); }
.voter-wall { display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px; }
.wall-tile {
  min-width:0;
  border:2px solid #df727a;
  border-radius:16px;
  background:var(--panel);
  overflow:hidden;
  box-shadow:0 0 0 1px rgba(223,114,122,.12),0 0 15px rgba(223,114,122,.18);
  transition:border-color .18s ease,box-shadow .18s ease;
}
.wall-tile.is-rated {
  border-color:#78d798;
  box-shadow:0 0 0 1px rgba(120,215,152,.14),0 0 15px rgba(120,215,152,.2);
}
.wall-image { height:auto;aspect-ratio:1; }
.wall-tile-details { padding:12px 10px;min-width:0; }
.wall-tile h3 { font-size:16px;margin:0 0 10px; }
.wall-rating-buttons { display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:5px; }
.wall-rating-buttons .rating { min-height:46px;padding:10px 2px;font-size:12px;border-radius:9px;flex-direction:row; }
.wall-rating-status { color:#ffaaa1;font-size:11px;margin:10px 0 4px;min-height:17px; }
.wall-tile.is-rated .wall-rating-status { color:#9ce6b3; }
.wall-comment { display:block;width:100%;min-height:44px;font-size:12px;padding:9px 4px;border-color:transparent; }
.wall-finish { display:flex;align-items:center;justify-content:space-between;gap:18px;margin-top:20px;padding:16px 0; }
.wall-finish p { margin:0; }
.wall-finish button { flex-shrink:0; }
.compact-overview .wall-tile { display:flex;flex-direction:column;border-radius:12px; }
.compact-overview .wall-image { flex:1;min-height:0;height:auto;aspect-ratio:auto; }
.compact-overview .wall-image img { min-height:0; }
.compact-overview .wall-tile-details { padding:8px 10px; }
.compact-overview h3 { font-size:13px;margin:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis; }
.compact-overview .wall-rating-status { margin:4px 0 0;min-height:0; }
.compact-overview .wall-rating-buttons,.compact-overview .wall-comment,.compact-overview .zoom-hint { display:none; }
@media(min-width:640px) { .voter-wall {grid-template-columns:repeat(3,minmax(0,1fr));} }
@media(min-width:1000px) { .voter-wall {grid-template-columns:repeat(4,minmax(0,1fr));} }
@media(min-width:1100px) { .wall-fit-control {display:flex;} }
@media(min-width:1400px) { .voter-wall {grid-template-columns:repeat(5,minmax(0,1fr));} }
@media(max-width:500px) {
  .wall-heading {gap:12px;}
  .wall-heading h2 {font-size:23px;}
  .wall-heading p {font-size:13px;}
  .wall-finish {display:block;}
  .wall-finish p {margin-bottom:12px;}
  .wall-finish button {width:100%;}
  .wall-tile .zoom-hint {font-size:9px;padding:5px 7px;bottom:7px;right:7px;}
}

/* A short, dismissible guide for a new voter in each round. */
.voter-help-row { display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-bottom:12px; }
.voter-help-row .eyebrow { margin:0; }
.voter-help-button { min-height:44px;padding:8px 12px;font-size:12px;white-space:nowrap; }
.voter-guide { width:calc(100% - 28px);max-width:580px;max-height:calc(100dvh - 32px);padding:0;overflow:auto;overscroll-behavior:contain;background:var(--panel);color:var(--text);border:1px solid var(--border);border-radius:22px; }
.voter-guide::backdrop { background:rgba(5,8,14,.82); }
.voter-guide-inner { position:relative;padding:28px; }
.voter-guide .eyebrow { padding-right:44px;margin-bottom:12px; }
.voter-guide h2 { padding-right:35px;margin-bottom:10px;font-size:29px; }
.voter-guide #voter-guide-intro { font-size:14px; }
.guide-close { position:absolute;top:10px;right:10px;width:44px;min-height:44px;padding:0;font-size:25px; }
.guide-steps { list-style:none;padding:0;margin:26px 0;display:grid;gap:22px; }
.guide-steps li { display:grid;grid-template-columns:32px minmax(0,1fr);gap:13px;align-items:start; }
.guide-number { display:grid;place-items:center;min-height:32px;border-radius:10px;background:#d5f86a18;color:var(--lime);font-weight:750; }
.guide-steps h3 { font-size:17px;margin:2px 0 7px; }
.guide-steps p { font-size:14px;color:var(--muted);margin:0; }
.guide-steps strong { color:var(--text); }
.guide-unrated { color:#ffaaa1; }
.guide-rated { color:#9ce6b3; }
.guide-privacy { font-size:13px;margin-bottom:20px; }
.guide-primary { width:100%;min-height:50px; }
@media(max-width:420px) {
  .voter-guide-inner { padding:24px 19px; }
  .voter-guide h2 { font-size:25px; }
  .guide-steps { gap:18px;margin:22px 0; }
  .guide-steps li { gap:10px;grid-template-columns:29px minmax(0,1fr); }
  .guide-steps p { font-size:13px; }
}
