  [x-cloak] { display: none !important; }

  .results-page { max-width: 760px; margin: 0 auto; }

  /* ── LIVE header ── */
  .live-header { text-align: center; margin-bottom: 24px; }
  .live-badge {
    display: inline-flex; align-items: center; gap: 7px;
    background: #E53935; color: #fff;
    padding: 5px 14px; border-radius: 6px;
    font-size: 12px; font-weight: 800; letter-spacing: .06em; flex-shrink: 0;
  }
  .live-dot {
    width: 7px; height: 7px; background: #fff; border-radius: 50%;
    animation: dot-pulse 1.1s ease-in-out infinite;
  }
  @keyframes dot-pulse { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:.3;transform:scale(.65)} }
  .live-title { font-size: 24px; font-weight: 800; color: var(--text); margin: 0 0 6px; }
  .live-meta  { font-size: 14px; color: var(--text-muted); }

  /* ── Countdown ── */
  .countdown-card {
    border: 1.5px solid var(--blue); border-radius: var(--radius-lg);
    background: #fff; text-align: center; padding: 40px 24px; margin-bottom: 20px;
  }
  .countdown-label { font-size: 16px; color: var(--text-muted); margin-bottom: 20px; }
  .countdown-digits { display: flex; justify-content: center; align-items: flex-end; gap: 10px; margin-bottom: 16px; flex-wrap: wrap; }
  .countdown-unit { text-align: center; }
  .countdown-num { font-family: 'Courier New',monospace; font-size: 52px; font-weight: 700; line-height: 1; color: var(--blue); }
  .countdown-sep { font-family: 'Courier New',monospace; font-size: 52px; font-weight: 700; line-height: 1; color: var(--blue); padding-bottom: 20px; }
  .countdown-unit-label { font-size: 12px; color: var(--text-muted); margin-top: 4px; }
  .countdown-footer { font-size: 13px; color: var(--text-muted); }

  /* ── Preparation state (after timer hits zero) ── */
  .prep-card {
    display: flex; flex-direction: column; align-items: center; gap: 20px;
    padding: 36px 24px;
  }
  .prep-ring {
    width: 64px; height: 64px; border-radius: 50%;
    border: 4px solid #E4E8EF;
    border-top-color: var(--blue);
    animation: prep-spin 1s linear infinite;
  }
  @keyframes prep-spin { to { transform: rotate(360deg); } }
  .prep-dots {
    display: flex; gap: 8px; align-items: center;
  }
  .prep-dot {
    width: 8px; height: 8px; border-radius: 50%; background: var(--blue);
    animation: prep-bounce 1.2s ease-in-out infinite;
  }
  .prep-dot:nth-child(2) { animation-delay: .2s; }
  .prep-dot:nth-child(3) { animation-delay: .4s; }
  @keyframes prep-bounce {
    0%, 80%, 100% { transform: scale(0.6); opacity: .4; }
    40%           { transform: scale(1);   opacity: 1; }
  }
  .prep-title   { font-size: 18px; font-weight: 700; color: var(--text); text-align: center; }
  .prep-sub     { font-size: 14px; color: var(--text-muted); text-align: center; max-width: 320px; line-height: 1.5; }

  /* ── Multi-stage progress bars ── */
  .stages-block {
    background: #fff; border: 1px solid #E4E8EF; border-radius: var(--radius-lg);
    padding: 18px 22px; margin-bottom: 20px;
  }
  .stages-block-title {
    font-size: 11px; font-weight: 700; color: var(--text-hint);
    text-transform: uppercase; letter-spacing: .06em; margin-bottom: 14px;
  }
  .stage-bar { margin-bottom: 13px; }
  .stage-bar:last-child { margin-bottom: 0; }
  .stage-bar-header {
    display: flex; align-items: center; gap: 6px; margin-bottom: 5px;
  }
  .stage-bar-name { font-size: 13px; font-weight: 600; color: var(--text); flex: 1; }
  .stage-bar.pending .stage-bar-name { color: var(--text-hint); }
  .stage-bar-detail {
    font-size: 11px; font-weight: 600; color: var(--text-muted);
    font-family: 'Courier New', monospace;
  }
  .stage-bar-pct { font-size: 11px; font-weight: 700; min-width: 28px; text-align: right; }
  .stage-bar.done  .stage-bar-pct { color: #4CAF50; }
  .stage-bar.running .stage-bar-pct { color: var(--blue); }
  .stage-bar.pending .stage-bar-pct { color: #D0D6E2; }
  .stage-bar-track {
    height: 5px; background: #F0F2F5; border-radius: 3px; overflow: hidden;
  }
  .stage-bar-fill {
    height: 100%; border-radius: 3px; transition: width .6s ease;
  }
  .stage-bar.done    .stage-bar-fill { background: #4CAF50; width: 100%; }
  .stage-bar.running .stage-bar-fill { background: var(--blue); }
  .stage-bar.pending .stage-bar-fill { background: #E8ECF2; width: 0; }
  .stage-bar-fill.crawl { animation: progress-crawl 20s linear forwards; }
  @keyframes progress-crawl {
    0%   { width: 0%;  }
    25%  { width: 3%;  }
    50%  { width: 9%;  }
    70%  { width: 14%; }
    85%  { width: 17%; }
    100% { width: 20%; }
  }

  /* ── Collection done (waiting for draw start) ── */
  .collection-done-card {
    background: #F1F8E9; border: 1px solid #A5D6A7; border-radius: var(--radius-lg);
    padding: 18px 22px; margin-bottom: 20px; display: flex; align-items: center; gap: 14px;
  }
  .collection-done-icon { font-size: 28px; flex-shrink: 0; }
  .collection-done-body { flex: 1; }
  .collection-done-title { font-size: 15px; font-weight: 800; color: #2E7D32; }
  .collection-done-sub   { font-size: 13px; color: #558B2F; margin-top: 3px; }

  /* ── Scramble display ── */
  .scramble-card {
    background: var(--blue-light); border: 1.5px solid var(--blue);
    border-radius: var(--radius-lg); padding: 36px 24px; text-align: center;
    margin-bottom: 20px; transition: border-color .4s, background .4s;
  }
  .scramble-card.revealed { border-color: #4CAF50; background: #E8F5E9; }
  .scramble-label {
    font-size: 13px; font-weight: 700; color: var(--blue);
    margin-bottom: 14px; transition: color .3s;
  }
  .scramble-card.revealed .scramble-label { color: #2E7D32; }
  .scramble-text {
    font-family: 'Courier New', Courier, monospace;
    font-size: 30px; font-weight: 700; color: var(--blue);
    letter-spacing: .14em; margin-bottom: 18px; word-break: break-all;
    transition: color .3s;
  }
  .scramble-card.revealed .scramble-text { color: #2E7D32; letter-spacing: .04em; font-size: 26px; }
  .scramble-sub { font-size: 13px; color: var(--text-muted); margin-bottom: 16px; }
  .scramble-dots { display: flex; justify-content: center; gap: 7px; }
  .scramble-dot {
    width: 6px; height: 6px; background: var(--blue); border-radius: 50%;
    animation: dot-pulse 1.1s ease-in-out infinite; transition: background .3s;
  }
  .scramble-card.revealed .scramble-dot { background: #4CAF50; animation-play-state: paused; }

  /* ── Done banner ── */
  .done-banner {
    background: #E8F5E9; border: 1.5px solid #4CAF50; border-radius: var(--radius-lg);
    padding: 20px 24px; text-align: center; font-size: 20px; font-weight: 800;
    color: #2E7D32; margin-bottom: 24px;
  }
  @keyframes spin { to { transform: rotate(360deg); } }

  /* ── Status info card ── */
  .status-info-card {
    background: #fff; border: 1px solid #E4E8EF; border-radius: var(--radius-lg);
    padding: 28px; text-align: center; margin-bottom: 20px;
  }
  .status-info-card h2 { font-size: 18px; font-weight: 800; margin-bottom: 8px; }
  .status-info-card p { font-size: 14px; color: var(--text-muted); }

  /* ── Generic card ── */
  .r-card { background: #fff; border: 1px solid #E4E8EF; border-radius: var(--radius-lg); overflow: hidden; margin-bottom: 20px; }
  .r-card-head {
    display: flex; align-items: center; justify-content: space-between;
    padding: 14px 20px; border-bottom: 1px solid #F0F2F5;
    font-size: 15px; font-weight: 800; color: var(--text);
  }

  /* ── View switcher ── */
  .view-switch { display: flex; gap: 4px; }
  .view-btn { padding: 4px 10px; border: 1.5px solid #D0D6E2; border-radius: 7px; background: #fff; font-size: 13px; color: var(--text-muted); cursor: pointer; transition: border-color .15s, color .15s; font-family: 'Nunito Sans', sans-serif; }
  .view-btn:hover  { border-color: var(--blue); color: var(--blue); }
  .view-btn.active { border-color: var(--blue); background: var(--blue-light); color: var(--blue); font-weight: 700; }

  /* ── Winners cards ── */
  .winners-cards-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 14px; padding: 20px; }
  .winner-card {
    border: 1.5px solid #E4E8EF; border-radius: var(--radius); padding: 20px 16px; text-align: center;
    opacity: 0; transform: scale(.85) translateY(14px);
    transition: opacity .5s cubic-bezier(.34,1.56,.64,1), transform .5s cubic-bezier(.34,1.56,.64,1), border-color .3s;
  }
  .winner-card.visible { opacity: 1; transform: scale(1) translateY(0); }
  .winner-card.place-1 { border-color: #FFD700; background: #FFFDF0; }
  .winner-card.place-2 { border-color: #C0C0C0; background: #F9F9F9; }
  .winner-card.place-3 { border-color: #CD7F32; background: #FDF8F4; }
  /* avatar in card */
  .winner-avatar-wrap { position: relative; display: inline-block; margin-bottom: 12px; }
  .winner-avatar { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; background: #E4E8EF; display: block; }
  .winner-avatar-placeholder { width: 72px; height: 72px; border-radius: 50%; background: var(--blue); display: flex; align-items: center; justify-content: center; font-size: 26px; font-weight: 800; color: #fff; }
  .winner-medal-badge { position: absolute; bottom: -4px; right: -4px; font-size: 22px; line-height: 1; filter: drop-shadow(0 1px 2px rgba(0,0,0,.2)); }

  /* ── Winners list ── */
  .winners-list { display: flex; flex-direction: column; }
  .winner-row {
    display: flex; align-items: center; gap: 14px; padding: 12px 20px; border-bottom: 1px solid #F0F2F5;
    opacity: 0; transform: translateY(10px);
    transition: opacity .4s cubic-bezier(.34,1.56,.64,1), transform .4s cubic-bezier(.34,1.56,.64,1);
  }
  .winner-row:last-child { border-bottom: none; }
  .winner-row.visible   { opacity: 1; transform: translateY(0); }
  .winner-row.place-1 { background: #FFFDF0; }
  .winner-row.place-2 { background: #F9F9F9; }
  .winner-row.place-3 { background: #FDF8F4; }
  /* avatar in row */
  .winner-row-avatar-wrap { position: relative; flex-shrink: 0; }
  .winner-row-avatar { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; background: #E4E8EF; display: block; }
  .winner-row-avatar-placeholder { width: 40px; height: 40px; border-radius: 50%; background: var(--blue); display: flex; align-items: center; justify-content: center; font-size: 15px; font-weight: 800; color: #fff; }
  .winner-row-medal-badge { position: absolute; bottom: -3px; right: -3px; font-size: 14px; line-height: 1; filter: drop-shadow(0 1px 2px rgba(0,0,0,.2)); }
  .winner-row-info  { flex: 1; min-width: 0; }
  .winner-row-name  { font-size: 15px; font-weight: 800; color: var(--text); }
  .winner-row-id    { font-family: 'Courier New',monospace; font-size: 12px; color: var(--text-muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .winner-row-place { font-size: 12px; font-weight: 700; color: var(--text-muted); flex-shrink: 0; }
  /* clickable VK link (no direct href) */
  .vk-js-link { cursor: pointer; color: inherit; text-decoration: none; }
  .vk-js-link:hover { text-decoration: underline; }

  /* ── Share ── */
  .share-btn {
    display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px;
    border: 1.5px solid #D0D6E2; border-radius: 9px; background: #fff;
    font-size: 13px; font-weight: 600; color: var(--text-muted);
    cursor: pointer; transition: border-color .15s; white-space: nowrap; flex-shrink: 0;
  }
  .share-btn:hover { border-color: var(--blue); color: var(--blue); }

  /* ── Accordion ── */
  .acc-item { border-bottom: 1px solid #F0F2F5; }
  .acc-item:last-child { border-bottom: none; }
  .acc-btn {
    width: 100%; display: flex; align-items: center; justify-content: space-between;
    padding: 13px 20px; background: none; border: none; cursor: pointer;
    font-size: 14px; font-weight: 700; color: var(--text); text-align: left; transition: background .15s;
  }
  .acc-btn:hover { background: #FAFBFC; }
  .acc-body { padding: 2px 20px 16px; font-size: 14px; color: var(--text-muted); line-height: 1.65; }
  .acc-chevron { transition: transform .2s; flex-shrink: 0; color: var(--text-hint); }
  .acc-chevron.open { transform: rotate(180deg); }
  .info-row { display: flex; justify-content: space-between; align-items: center; padding: 9px 0; border-bottom: 1px solid #F0F2F5; font-size: 14px; }
  .info-row:last-child { border-bottom: none; }
  .info-label { color: var(--text-muted); }
  .info-value { font-weight: 700; color: var(--text); }

  /* ── Hash block ── */
  .hash-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; padding: 20px; align-items: stretch; }
  @media (max-width: 600px) { .hash-grid { grid-template-columns: 1fr; } }
  .hash-box { background: #F8F9FC; border-radius: var(--radius); padding: 14px; display: flex; flex-direction: column; }
  .hash-lbl  { font-size: 11px; font-weight: 700; color: var(--text-hint); text-transform: uppercase; letter-spacing: .04em; margin-bottom: 6px; display: flex; align-items: flex-start; gap: 4px; flex-wrap: wrap; min-height: 36px; }
  .hash-badge { font-size: 10px; font-weight: 700; padding: 1px 6px; border-radius: 3px; white-space: nowrap; }
  .hash-badge.before  { background: #E8F5E9; color: #2E7D32; }
  .hash-badge.after   { background: var(--blue-light); color: var(--blue); }
  .hash-badge.pending { background: #F0F2F5; color: var(--text-hint); }
  .hash-code { font-family: 'Courier New',monospace; font-size: 11px; color: var(--text); word-break: break-all; line-height: 1.5; flex: 1; }
  .hash-copy { font-size: 11px; color: var(--text-muted); background: none; border: 1px solid #D0D6E2; border-radius: 4px; padding: 3px 8px; cursor: pointer; transition: border-color .15s; }
  .hash-copy:hover { border-color: var(--blue); color: var(--blue); }
  .hash-actions { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; margin-top: auto; padding-top: 10px; }
  .algo-box { margin: 0 20px 20px; background: #F8F9FC; border-radius: var(--radius); padding: 16px; font-size: 14px; color: var(--text-muted); }
  .algo-box ol { padding-left: 20px; margin: 0; display: flex; flex-direction: column; gap: 8px; }

  /* ── Participants table ── */
  .draw-tag { display: inline-block; font-size: 12px; font-weight: 700; padding: 3px 12px; border-radius: 20px; }
  .draw-tag.blue { background: var(--blue-light); color: var(--blue); }
  .p-table { width: 100%; border-collapse: collapse; font-size: 14px; }
  .p-table th { padding: 10px 16px; text-align: left; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: var(--text-hint); background: #FAFBFC; border-bottom: 1px solid #F0F2F5; }
  .p-table td { padding: 10px 16px; border-bottom: 1px solid #F0F2F5; color: var(--text); vertical-align: middle; }
  .p-table tr:last-child td { border-bottom: none; }
  .p-table tr.w-row td { background: var(--blue-light); }
  .p-table tr.ineligible-row td { opacity: .65; }
  .s-badge { display: inline-flex; align-items: center; gap: 4px; font-size: 12px; font-weight: 700; padding: 3px 9px; border-radius: 5px; white-space: nowrap; }
  .s-badge.ok      { background: #E8F5E9; color: #2E7D32; }
  .s-badge.pending { background: #FFF8E1; color: #8B6000; }
  .s-badge.fail    { background: #FFEBEE; color: #C62828; }
  .s-badge.place-1 { background: #FFF8DC; color: #8B6914; }
  .s-badge.place-2 { background: #F0F0F0; color: #555; }
  .s-badge.place-3 { background: #FDF0E8; color: #8B4513; }
  .s-badge.place-n { background: var(--blue-light); color: var(--blue); }
  /* participant tabs */
  .p-tabs { display: flex; gap: 4px; padding: 0 20px 14px; }
  .p-tab  { padding: 5px 14px; border-radius: 7px; font-size: 13px; font-weight: 700; cursor: pointer; border: 1.5px solid #E4E8EF; background: #fff; color: var(--text-muted); transition: all .15s; white-space: nowrap; }
  .p-tab:hover  { border-color: var(--blue); color: var(--blue); }
  .p-tab.active { background: var(--blue); border-color: var(--blue); color: #fff; }
  /* condition badges in table */
  .cond-chips { display: flex; flex-wrap: wrap; gap: 4px; }
  .cond-chip  { display: inline-flex; align-items: center; gap: 3px; font-size: 11px; font-weight: 700; padding: 2px 7px; border-radius: 4px; white-space: nowrap; }
  .cond-chip.pass    { background: #E8F5E9; color: #2E7D32; }
  .cond-chip.fail    { background: #FFEBEE; color: #C62828; }
  .cond-chip.pending { background: #FFF8E1; color: #E65100; }
  .t-footer { display: flex; align-items: center; justify-content: space-between; padding: 12px 20px; font-size: 13px; color: var(--text-muted); border-top: 1px solid #F0F2F5; flex-wrap: wrap; gap: 8px; }
  .pager { display: flex; gap: 4px; flex-wrap: wrap; }
  .pager a, .pager span, .pager button { display: inline-block; padding: 4px 10px; border: 1px solid #D0D6E2; border-radius: 6px; background: #fff; font-size: 13px; color: var(--text-muted); text-decoration: none; font-family: 'Nunito Sans', sans-serif; cursor: pointer; }
  .pager a:hover, .pager button:hover { border-color: var(--blue); color: var(--blue); }
  .pager span.active { border-color: var(--blue); background: var(--blue-light); color: var(--blue); font-weight: 700; }
  .pager span.disabled, .pager button:disabled { opacity: .45; cursor: default; }
  .p-skel-row { height: 42px; background: linear-gradient(90deg,#f0f2f5 25%,#e4e8f0 50%,#f0f2f5 75%); background-size: 200% 100%; animation: shimmer 1.2s infinite; border-bottom: 1px solid #F0F2F5; }
  @keyframes shimmer { 0%{background-position:200% 0} 100%{background-position:-200% 0} }
  .search-clear { padding: 10px 14px; background: #F0F2F5; color: var(--text-muted); border: none; border-radius: 9px; font-family: 'Nunito Sans', sans-serif; font-size: 14px; cursor: pointer; }

  /* ── Pending / verify cards ── */
  .pending-card {
    border: 1.5px dashed #C8D0E0; border-radius: var(--radius); padding: 20px 16px; text-align: center;
    background: #F4F6FB; animation: pending-pulse 1.8s ease-in-out infinite;
  }
  @keyframes pending-pulse { 0%,100%{opacity:.65} 50%{opacity:1} }
  .verify-badge {
    display: inline-flex; align-items: center; gap: 5px;
    font-size: 11px; font-weight: 700; padding: 3px 9px; border-radius: 10px; white-space: nowrap;
  }
  .verify-badge.queued    { background: #F0F2F5; color: var(--text-hint); }
  .verify-badge.prizehunt { background: #FFF3E0; color: #E65100; }
  .verify-badge.ai        { background: #E8EAF6; color: #3F51B5; }
  .verify-badge.rejected  { background: #FFEBEE; color: #C62828; }
  .winner-card.checking {
    border: 1.5px dashed #C8D0E0; border-radius: var(--radius); padding: 20px 16px; text-align: center;
    opacity: 0; transform: scale(.85) translateY(14px);
    transition: opacity .5s cubic-bezier(.34,1.56,.64,1), transform .5s cubic-bezier(.34,1.56,.64,1);
    animation: pending-pulse 1.8s ease-in-out infinite;
  }
  .winner-card.checking.visible { opacity: 1; transform: scale(1) translateY(0); }
  .winner-card.prizehunter { border: 1.5px dashed #FFB74D; border-radius: var(--radius); padding: 20px 16px; text-align: center; opacity: 0; transform: scale(.85) translateY(14px); transition: opacity .5s cubic-bezier(.34,1.56,.64,1), transform .5s cubic-bezier(.34,1.56,.64,1); background: #FFF8F0; animation: pending-pulse 1.8s ease-in-out infinite; }
  .winner-card.prizehunter.visible { opacity: 1; transform: scale(1) translateY(0); }
  .winner-card.ai { border: 1.5px dashed #9FA8DA; border-radius: var(--radius); padding: 20px 16px; text-align: center; opacity: 0; transform: scale(.85) translateY(14px); transition: opacity .5s cubic-bezier(.34,1.56,.64,1), transform .5s cubic-bezier(.34,1.56,.64,1); background: #F3F4FC; animation: pending-pulse 1.8s ease-in-out infinite; }
  .winner-card.ai.visible { opacity: 1; transform: scale(1) translateY(0); }
  .winner-card.rejected {
    border-color: #E0E0E0; background: #F5F5F5;
    opacity: 0; transform: scale(.85) translateY(14px);
    transition: opacity .5s cubic-bezier(.34,1.56,.64,1), transform .5s cubic-bezier(.34,1.56,.64,1);
  }
  .winner-card.rejected.visible { opacity: 0.55; transform: scale(1) translateY(0); }
  .winner-row.checking { opacity: 0.8; background: #F4F6FB; }
  .winner-row.prizehunter { opacity: 0.8; background: #FFF8F0; }
  .winner-row.ai { opacity: 0.8; background: #F3F4FC; }
  .winner-row.rejected {
    opacity: 0; transform: translateY(10px);
    transition: opacity .4s cubic-bezier(.34,1.56,.64,1), transform .4s cubic-bezier(.34,1.56,.64,1);
  }
  .winner-row.rejected.visible { opacity: 0.45; transform: translateY(0); background: #F5F5F5; }
  .verify-spinner {
    width: 9px; height: 9px; flex-shrink: 0;
    border: 1.5px solid currentColor; border-top-color: transparent;
    border-radius: 50%; animation: spin .55s linear infinite;
  }
  .pending-row {
    display: flex; align-items: center; gap: 14px; padding: 12px 20px;
    border-bottom: 1px solid #F0F2F5; opacity: .7;
  }
  .pending-row:last-child { border-bottom: none; }

  /* ── CTA ── */
  .cta-banner { background: var(--blue-light); border: 1.5px solid var(--blue); border-radius: var(--radius-lg); padding: 40px 24px; text-align: center; margin-bottom: 20px; }
  .cta-banner h2 { font-size: 22px; font-weight: 800; color: var(--text); margin: 0 0 10px; }
  .cta-banner p  { font-size: 14px; color: var(--text-muted); margin: 0 0 24px; line-height: 1.6; }
  .cta-note { font-size: 12px; color: var(--text-hint); margin-top: 10px; }

  /* ── Search ── */
  .search-row { display: flex; gap: 10px; padding: 18px 20px; }
  .search-input { flex: 1; padding: 10px 14px; border: 1.5px solid #D0D6E2; border-radius: 9px; font-family: 'Nunito Sans', sans-serif; font-size: 14px; outline: none; transition: border-color .15s; }
  .search-input:focus { border-color: var(--blue); }
  .search-go { padding: 10px 18px; background: var(--blue); color: #fff; border: none; border-radius: 9px; font-family: 'Nunito Sans', sans-serif; font-size: 14px; font-weight: 700; cursor: pointer; }
  .search-result { margin: 0 20px 16px; padding: 12px 16px; border-radius: 9px; font-size: 14px; font-weight: 600; }
  .search-result.ok { background: #E8F5E9; color: #2E7D32; }
  .search-result.no { background: #F8F9FC; color: var(--text-muted); }

  /* ── Personal block ── */
  .personal-block { background: #fff; border: 1px solid #E4E8EF; border-radius: var(--radius-lg); overflow: hidden; margin-bottom: 20px; }
  .personal-block.winner { border-color: #FFD700; background: #FFFDF0; }
  .personal-head { display: flex; align-items: center; gap: 14px; padding: 16px 20px; border-bottom: 1px solid #F0F2F5; }
  .personal-avatar { width: 44px; height: 44px; border-radius: 50%; background: var(--blue); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 20px; font-weight: 800; flex-shrink: 0; }
  .personal-block.winner .personal-avatar { background: #FFD700; color: #8B6914; }
  .personal-name { font-size: 15px; font-weight: 800; color: var(--text); }
  .personal-vkid { font-family: 'Courier New',monospace; font-size: 12px; color: var(--text-muted); margin-top: 2px; }
  .personal-body { padding: 14px 20px; display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
  .personal-status-badge { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 700; padding: 5px 12px; border-radius: 20px; }
  .personal-status-badge.won { background: #FFF8DC; color: #8B6914; }
  .personal-status-badge.not-won { background: #F0F2F5; color: var(--text-muted); }
  .personal-pos { font-size: 13px; color: var(--text-muted); }
  .personal-footer { padding: 12px 20px; border-top: 1px solid #F0F2F5; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-size: 12px; color: var(--text-muted); }

  /* ── Appeal section ── */
  .appeal-section { border-top: 1px solid #F0F2F5; padding: 14px 20px; }
  .appeal-title { font-size: 11px; font-weight: 700; color: var(--text-hint); text-transform: uppercase; letter-spacing: .05em; margin-bottom: 10px; }
  .appeal-textarea { width: 100%; padding: 9px 12px; border: 1.5px solid #D0D6E2; border-radius: 8px; font-family: 'Nunito Sans', sans-serif; font-size: 13px; color: var(--text); background: #FAFBFC; resize: none; outline: none; line-height: 1.5; box-sizing: border-box; transition: border-color .15s; }
  .appeal-textarea:focus { border-color: var(--blue); }
  .appeal-actions { display: flex; gap: 8px; margin-top: 8px; flex-wrap: wrap; align-items: center; }
  .appeal-note { font-size: 12px; color: var(--text-muted); line-height: 1.5; margin-bottom: 10px; }
  .appeal-feedback { font-size: 12px; padding: 6px 10px; border-radius: 6px; }
  .appeal-feedback.ok  { background: #E8F5E9; color: #2E7D32; }
  .appeal-feedback.err { background: #FFEBEE; color: #C62828; }

  /* ── VK button ── */
  .vk-link { display: inline-flex; align-items: center; gap: 5px; background: #0077FF; color: #fff !important; border-radius: 6px; padding: 4px 10px; font-size: 11px; font-weight: 700; text-decoration: none !important; transition: background .15s; white-space: nowrap; }
  .vk-link:hover { background: #0060CC; }

  /* ── Page content structure ── */
  .results-disclaimer { padding:16px 20px; font-size:13px; line-height:1.6; color:var(--text-muted); }
  .results-back-row { margin-bottom:20px; display:flex; align-items:center; justify-content:space-between; }
  .results-back-link { font-size:13px; color:var(--text-muted); text-decoration:none; }
  .results-head { text-align:center; margin-bottom:20px; }
  .results-h1 { font-size:24px; font-weight:800; color:var(--text); margin:0 0 6px; }
  .status-badge { display:inline-block; font-size:12px; font-weight:700; padding:3px 10px; border-radius:20px; }
  .status-badge-green { background:#E8F8F1; color:#18B078; }
  .status-badge-green-mb { background:#E8F8F1; color:#18B078; margin-bottom:6px; }
  .results-meta { font-size:14px; color:var(--text-muted); }
  .live-header-row { display:flex; align-items:center; justify-content:center; gap:10px; flex-wrap:wrap; margin-bottom:6px; }
  .countdown-flex { display:flex; align-items:flex-end; gap:10px; }
  .scramble-dot-1 { animation-delay:0s; }
  .scramble-dot-2 { animation-delay:.3s; }
  .scramble-dot-3 { animation-delay:.6s; }
  .winners-head-right { display:flex; align-items:center; gap:10px; }
  .winners-count { font-size:13px; color:var(--text-muted); }
  .winner-name-main { font-size:16px; font-weight:800; color:var(--text); margin-bottom:4px; }
  .winner-vkurl { font-family:'Courier New',monospace; font-size:12px; color:var(--text-muted); margin-bottom:10px; }
  .winner-place-text { font-size:12px; font-weight:700; color:var(--text-muted); }
  .checking-icon { font-size:22px; flex-shrink:0; width:40px; text-align:center; }
  .verify-badge-sm { font-size:10px; }
  .status-info-card-warn { border-color:#FFE0B2; }
  .status-info-card-err { border-color:#FFCDD2; }
  .condition-desc { margin:0 0 12px; line-height:1.55; }
  .conditions-list { list-style:none; padding:0; margin:0; display:flex; flex-direction:column; gap:8px; }
  .algo-list { padding-left:18px; margin:0; display:flex; flex-direction:column; gap:8px; }
  .search-hint { padding:0 20px 16px; font-size:12px; color:var(--text-hint); }
  .participants-head-right { display:flex; align-items:center; gap:8px; }
  .participants-update { font-size:12px; font-weight:500; color:var(--text-hint); }
  .p-empty-cell { padding:28px 20px; text-align:center; color:var(--text-muted); font-size:14px; }
  .p-num-cell { color:var(--text-hint); font-size:13px; }
  .p-vkurl-cell { font-family:'Courier New',monospace; font-size:12px; color:var(--text-muted); }
  .p-cond-th { min-width:140px; }
  .post-card-body { padding:16px 20px; }
  .post-textarea { width:100%; padding:10px 14px; border:1.5px solid #D0D6E2; border-radius:9px; font-family:'Courier New',monospace; font-size:13px; color:var(--text); background:#FAFBFC; resize:none; line-height:1.65; box-sizing:border-box; }
  .post-actions { margin-top:10px; display:flex; gap:10px; flex-wrap:wrap; }
  .hash-code-hint { font-size:12px; color:var(--text-hint); }
  .hash-intro { padding:14px 20px 16px; font-size:14px; color:var(--text-muted); border-bottom:1px solid #F0F2F5; line-height:1.6; }
  .hash-footer { padding:0 20px 20px; }
  .participant-cta-inner { padding:18px 20px; display:flex; align-items:flex-start; justify-content:space-between; gap:20px; flex-wrap:wrap; }
  .participant-cta-left { flex:1; min-width:200px; }
  .participant-cta-title { font-size:15px; font-weight:800; color:var(--text); margin-bottom:12px; }
  .participant-cta-list { list-style:none; padding:0; margin:0; display:flex; flex-direction:column; gap:9px; }
  .participant-cta-item { display:flex; gap:10px; font-size:13px; color:var(--text-muted); line-height:1.45; }
  .cta-item-icon { flex-shrink:0; margin-top:1px; }
  .participant-cta-right { flex-shrink:0; display:flex; align-items:center; }
  .btn-vk-login { font-size:13px; padding:8px 16px; text-decoration:none; white-space:nowrap; }
  .btn-sm-primary { font-size:13px; padding:7px 16px; }
  .btn-sm-ghost { font-size:13px; padding:7px 14px; }
  .btn-cta-primary { display:inline-block; padding:13px 36px; font-size:16px; text-decoration:none; }
  .appeal-recheck { margin-bottom:10px; }
  .appeal-hint-text { font-size:12px; color:var(--text-hint); margin-left:8px; }
  .hash-download-link { text-decoration:none; }

  /* ── Превью поста розыгрыша (только results-page — классы rpp-* не переиспользуются
     на других страницах специально, чтобы стиль здесь можно было менять свободно) ── */
  .r-card-body-pad { padding: 14px 20px; }

  .rpp-card {
    border: 1.5px solid #E4E8EF;
    border-radius: var(--radius);
    overflow: hidden;
    transition: border-color .2s;
  }
  /* У загруженного превью убираем рамку и скругление — картинка смотрится как встроенная, без «карточной» обводки */
  .rpp-card--loaded { border: none; border-radius: 0; }

  .rpp-inner { display: flex; gap: 0; align-items: stretch; }
  .rpp-thumb {
    width: 250px; min-height: 190px; flex-shrink: 0;
    background: linear-gradient(135deg, #c8d5f0 0%, #a8bcec 100%);
    display: flex; align-items: center; justify-content: center;
    font-size: 40px;
  }
  .rpp-thumb--loaded { overflow: hidden; padding: 0; }
  .rpp-img { width: 250px; height: 100%; object-fit: cover; display: block; min-height: 190px; }
  .rpp-info { flex: 1; padding: 16px 18px; border-left: 1px solid #F0F2F5; }
  .rpp-title { font-size: 15px; font-weight: 700; color: var(--text); margin-bottom: 10px; line-height: 1.4; }
  .rpp-stats { display: flex; gap: 14px; }
  .rpp-stat { display: flex; align-items: center; gap: 4px; font-size: 13px; font-weight: 700; color: var(--text-muted); }
  .rpp-cached-note { margin-top: 8px; font-size: 12px; font-weight: 600; color: #E65100; }
  .rpp-link { display: inline-block; margin-top: 10px; font-size: 13px; font-weight: 700; color: var(--blue); text-decoration: none; }
  .rpp-link:hover { text-decoration: underline; }

  .rpp-error {
    padding: 10px 14px; background: #FFF3E0; border-radius: var(--radius);
    border: 1px solid #FFE0B2; font-size: 13px; color: #E65100;
    display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
  }

  .skeleton {
    background: linear-gradient(90deg, #e8edf5 25%, #d0d8e8 50%, #e8edf5 75%);
    background-size: 200% 100%;
    animation: shimmer 1.4s infinite;
    border-radius: 6px;
  }
  @keyframes shimmer { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } }
  .rpp-inner--skel { min-height: 190px; }
  .rpp-skel-thumb { background-image: none; }
  .rpp-skel-info { display: flex; flex-direction: column; gap: 8px; justify-content: center; }
  .rpp-skel-bar { border-radius: 4px; }
  .rpp-skel-row { display: flex; gap: 12px; }
  .rpp-skel-url { height: 11px; width: 70%; }
  .rpp-skel-title { height: 13px; width: 90%; }
  .rpp-skel-stat { height: 12px; width: 40px; }

  @media (max-width: 480px) {
    .rpp-thumb, .rpp-img { width: 140px; min-height: 140px; }
  }
