/* 🌐 ungvar.org — דף הבית הציבורי (מחשב וסמארטפון) */
:root {
  --bg: #f7f1e6; --surface: #fffdf8; --ink: #2a1d1a; --muted: #7a6a5c; --line: #e8dcc4;
  --accent: #7a1219; --accent-ink: #fff8ea; --accent-soft: #f6e5d5; --gold: #c9a23f; --gold-soft: #f3e3b8;
  --serif: 'Frank Ruhl Libre', 'David Libre', serif;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #1a1414; --surface: #241b1b; --ink: #f3e9dc; --muted: #b3a291; --line: #3d2e2b;
    --accent: #e0b860; --accent-ink: #2a1210; --accent-soft: #3a2422; --gold: #e0b860; --gold-soft: #4a3b20;
    color-scheme: dark;
  }
}
* { box-sizing: border-box; }
html, body { margin: 0; }
body { background: var(--bg); color: var(--ink); font: 16px/1.55 'Heebo', system-ui, sans-serif; }
a { color: var(--accent); }
[hidden] { display: none !important; }
.muted { color: var(--muted); }

.pb-wrap { max-width: 1180px; margin: 0 auto; padding: 0 16px; }

/* ---- כותרת ---- */
/* פס בורדו למעלה: שפה · כניסה · תרומה */
.pb-bar { background: #7a1219; color: #fff8ea; }
.pb-bar-in { display: flex; align-items: center; justify-content: space-between; min-height: 52px; gap: 12px; }
.pb-langs { display: flex; align-items: center; gap: 2px; }
.pb-langs span { color: #f3e3b8; opacity: .45; }
.pb-langs button { font: inherit; font-size: 14px; border: 0; background: none; color: #f3e3b8; padding: 2px 7px; cursor: pointer; }
.pb-langs button.on { color: #fff; font-weight: 700; text-decoration: underline; text-underline-offset: 4px; }
.pb-bar-act { display: flex; align-items: center; gap: 14px; }
.pb-login { font-size: 14px; color: #f3e3b8; text-decoration: none; }
.pb-login:hover { color: #fff; text-decoration: underline; }
.pb-donate { font: inherit; font-weight: 700; font-size: 15px; background: #c9a23f; color: #2a1210; border: 0; border-radius: 999px; padding: 7px 22px; cursor: pointer; }
.pb-donate:hover { background: #e0b860; }
.pb-top { text-align: center; padding: 0 0 8px; }
/* הכתר מתחיל כבר על הפס הבורדו */
.pb-top img { width: 190px; max-width: 52vw; height: auto; display: block; margin: -40px auto 0; position: relative; z-index: 2; filter: drop-shadow(0 3px 6px rgba(40, 10, 10, .25)); }
.pb-top h1 { font-family: var(--serif); color: var(--accent); margin: 4px 0 0; font-size: 30px; line-height: 1.2; }
.pb-addr { color: var(--muted); font-size: 15px; margin-top: 2px; }
/* כפתור SMS עגול — בפינה הפנויה של ימות החול, צמוד לשבת */
.pb-wk-end { position: relative; }
.pb-wk-last { padding-inline-end: 146px; }
.pb-wk-end .pb-grp { margin-bottom: 0; }
.pb-wk-end > .pb-smsr { position: absolute; bottom: 0; inset-inline-end: 0; }
.pb-wk-end.flow .pb-wk-last { padding-inline-end: 0; }
.pb-wk-end.flow > .pb-smsr { position: static; margin: 12px auto 0; }
.pb-smsr { width: 128px; height: 128px; border-radius: 50%; border: 0; background: #7a1219; color: #fff8ea; font: inherit; cursor: pointer; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; padding: 10px; box-shadow: 0 4px 12px rgba(122, 18, 25, .3), inset 0 0 0 3px #c9a23f; text-align: center; line-height: 1.2; }
.pb-smsr b { font-size: 26px; letter-spacing: .04em; }
.pb-smsr span { font-size: 13px; font-weight: 600; }
.pb-smsr:hover { transform: scale(1.04); }

.pb-date { position: relative; text-align: center; background: var(--surface); border: 1px solid var(--line); border-top: 3px solid var(--gold); border-radius: 12px; padding: 10px 14px; font-size: 18px; margin: 8px 0 12px; }
.pb-date .sep { color: var(--gold); margin: 0 8px; }
.pb-date .pb-parsha { font-family: var(--serif); font-weight: 700; color: var(--accent); font-size: 1.1em; }
.pb-date .pb-hol { font-size: 15px; color: var(--accent); margin-top: 2px; }
.pb-date-don { position: absolute; top: 50%; transform: translateY(-50%); inset-inline-end: 12px; }

.pb-btn { font: inherit; font-weight: 600; border: 1px solid var(--line); background: var(--surface); color: var(--ink); border-radius: 10px; padding: 10px 18px; cursor: pointer; text-decoration: none; display: inline-flex; align-items: center; gap: 6px; }
.pb-btn:hover { border-color: var(--accent); }
.pb-btn.primary { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.pb-btn.gold { background: var(--gold); color: #2a1210; border-color: var(--gold); }

/* ---- כרטיסים ---- */
.pb-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; align-items: start; }
.pb-card { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 16px 18px; min-width: 0; }
.pb-card.wide { grid-column: span 2; }
.pb-row3 { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; align-items: start; }
.pb-col .pb-fill { flex: 1 1 0; min-height: 0; display: flex; flex-direction: column; }
.pb-fill .pb-pg { flex: 1; min-height: 0; display: flex; flex-direction: column; }
.pb-pg { display: flex; flex-direction: column; }
.pb-pgv { flex: 1; min-height: 0; overflow: hidden; display: flex; flex-direction: column; gap: 10px; }
.pb-pgn { display: flex; align-items: center; justify-content: center; gap: 12px; padding-top: 8px; color: var(--muted); font-size: 14px; }
.pb-arr { font: inherit; font-size: 22px; line-height: 1; width: 38px; height: 34px; border: 1px solid var(--line); border-radius: 8px; background: var(--bg); color: var(--accent); cursor: pointer; }
.pb-arr:hover { border-color: var(--accent); }
.pb-hp2 { white-space: nowrap; }
.pb-spec { margin-top: 6px; border-top: 1px dashed var(--line); padding-top: 8px; }
.pb-spd { margin: 4px 0 8px; }
.pb-spd > small { color: var(--muted); }
.pb-dh { font-weight: 700; color: var(--accent); margin: 8px 0 2px; font-size: 15px; border-bottom: 1px solid var(--gold-soft); }
.pb-dh small { color: var(--muted); font-weight: 400; }
#pb-shab.pb-multi .pb-rows { font-size: 16px; gap: 3px; justify-content: flex-start; }
.pb-card.full { grid-column: 1 / -1; }
.pb-col { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
#pb-shab { align-self: stretch; display: flex; flex-direction: column; }
#pb-shab h2 { font-size: 26px; }
#pb-shab .pb-sub { font-size: 16px; }
#pb-shab .pb-rows { flex: 1; justify-content: space-evenly; gap: 8px; font-size: 20px; }
#pb-shab .pb-row b { font-size: 1.1em; }
.pb-card h2 { font-family: var(--serif); color: var(--accent); font-size: 22px; margin: 0 0 2px; }
.pb-sub { color: var(--muted); font-size: 14px; margin: 0 0 10px; }

.pb-grp { margin: 0 0 12px; }
.pb-gh { font-weight: 700; font-size: 17px; border-bottom: 2px solid var(--gold-soft); padding-bottom: 2px; margin-bottom: 6px; }
.pb-gh small { font-weight: 400; color: var(--muted); }
.pb-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.pb-chip { display: inline-flex; flex-direction: column; align-items: center; min-width: 58px; padding: 4px 8px; border: 1px solid var(--line); border-radius: 8px; font-weight: 700; font-variant-numeric: tabular-nums; background: var(--bg); line-height: 1.2; }
.pb-chip small { font-weight: 400; font-size: 11px; color: inherit; opacity: .9; }
.pb-chip.nx { border: 2px solid var(--gold); background: var(--gold-soft); font-weight: 900; transform: scale(1.06); }
a[href^="tel:"], .pb-kol b { white-space: nowrap; }

.pb-rows { display: flex; flex-direction: column; gap: 3px; }
.pb-row { display: flex; align-items: baseline; gap: 6px; }
.pb-row i { flex: 1; border-bottom: 1px dotted var(--muted); opacity: .6; transform: translateY(-4px); }
.pb-row b { font-variant-numeric: tabular-nums; white-space: nowrap; }
.pb-row b small { font-weight: 400; color: var(--muted); font-size: 11px; }
.pb-row span small { color: var(--muted); }
.pb-row.z span { color: var(--accent); font-weight: 600; }

.pb-kol { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; line-height: 1.35; text-decoration: none; background: var(--accent-soft); border: 1px solid var(--line); border-radius: 10px; padding: 8px 12px; margin: 6px 0 10px; color: var(--ink); }
.pb-sht { font-size: 15px; margin: 10px 0 6px; color: var(--accent); }
.pb-shl { display: flex; flex-direction: column; gap: 8px; }
.pb-sh { display: grid; grid-template-columns: auto 1fr; gap: 0 10px; border-bottom: 1px solid var(--line); padding-bottom: 6px; }
.pb-sh > b { white-space: nowrap; font-variant-numeric: tabular-nums; }
.pb-sh > b small { font-weight: 400; color: var(--muted); }
.pb-sh .who { display: block; color: var(--muted); }
.pb-kol b { font-size: 18px; }
.pb-machon .pb-more { margin: 8px 0 0; }
.pb-machon .pb-mh img { height: 52px; }

.pb-today { background: var(--accent-soft); border-radius: 10px; padding: 8px 12px; margin: 6px 0 12px; }
.pb-today small { display: block; color: var(--muted); }
.pb-today b { font-family: var(--serif); font-size: 18px; }
.pb-dls { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.pb-dls.sm { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.pb-dl { display: inline-flex; align-items: center; gap: 6px; text-decoration: none; border: 1px solid var(--line); border-radius: 10px; padding: 6px 12px; font-size: 14px; color: var(--ink); background: var(--bg); }
.pb-dl.big { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); font-size: 20px; font-weight: 700; padding: 12px 14px; }
.pb-dl.big span { display: flex; flex-direction: column; line-height: 1.2; font-size: 16px; }
.pb-dl.big small { font-weight: 400; font-size: 13px; opacity: .9; }
.pb-dl.off { opacity: .55; background: var(--bg); color: var(--ink); border-color: var(--line); }

.pb-sge { border: 1px solid var(--line); border-radius: 10px; padding: 8px 12px; background: var(--bg); font-family: var(--serif); text-align: center; line-height: 1.3; }
.pb-sge .sg-name { font-size: 1.12em; font-weight: 700; }
.pb-sge .sg-note, .pb-sge .sg-after { font-size: .88em; color: var(--muted); }
.pb-sge .sg-branch-head { font-weight: 700; color: var(--accent); }

/* ---- מכון ---- */
.pb-machon { margin-top: 0; }
.pb-mh { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-bottom: 10px; }
.pb-mh img { height: 64px; width: auto; }
.pb-mh h2 { margin: 0; }
.pb-mh .pb-btn { margin-inline-start: auto; }
.pb-books { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 10px; }
.pb-book { display: flex; gap: 10px; align-items: flex-start; border: 1px solid var(--line); border-radius: 10px; padding: 8px; background: var(--bg); }
.pb-book img, .pb-noimg { width: 64px; height: 84px; object-fit: contain; flex: none; }
.pb-noimg { display: grid; place-items: center; font-size: 28px; background: var(--surface); border-radius: 6px; }
.pb-book b { font-family: var(--serif); font-size: 17px; display: block; line-height: 1.25; }
.pb-book small { display: block; color: var(--muted); font-size: 13px; }
.pb-price { font-weight: 700; color: var(--accent); margin-top: 2px; }
.pb-price s { color: var(--muted); font-weight: 400; }
.pb-sale { background: var(--gold); color: #2a1210; border-radius: 6px; padding: 0 6px; font-size: 12px; }
.pb-more { text-align: center; margin: 10px 0 0; }

/* ---- חלונות ---- */
.pb-dlg { border: 0; border-radius: 14px; padding: 18px 20px; max-width: 480px; width: calc(100% - 32px); background: var(--surface); color: var(--ink); position: relative; }
.pb-dlg::backdrop { background: rgba(20, 10, 10, .55); }
.pb-dlg h3 { font-family: var(--serif); color: var(--accent); margin: 0 0 6px; font-size: 22px; }
.pb-dlg label { display: block; margin: 10px 0; font-weight: 600; }
.pb-dlg label small { font-weight: 400; color: var(--muted); }
.pb-dlg input:not([type=checkbox]) { display: block; width: 100%; font: inherit; padding: 9px 10px; border: 1px solid var(--line); border-radius: 8px; background: var(--bg); color: var(--ink); margin-top: 4px; }
.pb-consent { display: flex !important; gap: 8px; align-items: flex-start; font-weight: 400 !important; font-size: 13px; line-height: 1.45; text-align: left; background: var(--bg); border: 1px solid var(--line); border-radius: 8px; padding: 8px 10px; }
.pb-consent input { margin-top: 3px; width: 18px; height: 18px; flex: none; }
.pb-hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.pb-msg { color: #a3261f; min-height: 1.2em; margin: 4px 0; }
.pb-acts { display: flex; gap: 8px; justify-content: flex-start; margin-top: 8px; }
.pb-x { position: absolute; top: 10px; left: 12px; border: 0; background: none; font-size: 18px; cursor: pointer; color: var(--muted); }

/* ---- פוטר ---- */
.pb-foot { margin-top: 28px; background: #2a1d1a; color: #f3e9dc; padding: 26px 0 18px; font-size: 14px; }
.pb-foot a { color: #e0b860; }
.pb-fgrid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.pb-foot h4 { margin: 0 0 6px; color: #e0b860; font-size: 15px; }
.pb-foot p { margin: 2px 0; }
.pb-foot ul { list-style: none; margin: 0; padding: 0; }
.pb-foot li { margin: 2px 0; }
.pb-legal { border-top: 1px solid rgba(255,255,255,.15); margin-top: 16px; padding-top: 12px; font-size: 12.5px; color: #cdbfae; text-align: center; }
.pb-legal p { margin: 3px 0; }

/* ---- טאבלט / סמארטפון ---- */
@media (max-width: 960px) {
  .pb-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pb-row3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pb-row3 .pb-col:last-child { grid-column: 1 / -1; }
  #pb-sgl .pb-pgv { height: 460px; flex: none; }
  #pb-books .pb-pgv { height: 470px; flex: none; }
  .pb-col .pb-fill { flex: none; }
  .pb-fgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  body { font-size: 15px; }
  .pb-grid { grid-template-columns: 1fr; gap: 12px; }
  .pb-card.wide { grid-column: auto; }
  .pb-row3 { grid-template-columns: 1fr; gap: 12px; }
  .pb-wk-last { padding-inline-end: 0; }
  .pb-wk-end > .pb-smsr { position: static; }
  .pb-smsr { margin: 12px auto 0; width: 116px; height: 116px; }
  .pb-langs button { font-size: 13px; padding: 2px 4px; }
  .pb-donate { padding: 6px 16px; }
  .pb-card { padding: 14px; }
  .pb-top h1 { font-size: 25px; }
  .pb-top img { margin-top: 10px; max-width: 46vw; } /* בטלפון הפס צר — הכתר מתחת לפס */
  .pb-date { font-size: 15.5px; }
  .pb-date .sep { margin: 0 4px; }
  .pb-date-don { position: static; transform: none; display: block; width: 100%; margin-top: 8px; }
  .pb-dls { grid-template-columns: 1fr; }
  .pb-fgrid { grid-template-columns: 1fr; }
  .pb-mh .pb-btn { margin-inline-start: 0; }
}
/* ימות החול באותו גובה כמו שבת; מעריב וכפתור ה-SMS למטה */
@media (min-width: 641px) { #pb-week { align-self: stretch; position: relative; padding-bottom: 18px; } #pb-week .pb-wk-end { position: static; } #pb-week .pb-wk-end > .pb-smsr { bottom: 16px; inset-inline-end: 16px; } #pb-week .pb-wk-end.flow > .pb-smsr { position: static; } }

/* ---- 🌐 דף קמפיין (campaign.html) ---- */
.cp-top img { width: 130px; margin: -34px auto 0; display: block; position: relative; z-index: 2; }
#cp-root { margin: 10px 0 30px; }
.cp-grid { display: grid; grid-template-columns: minmax(0, 1fr) 400px; gap: 16px; align-items: start; }
.cp-main { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.cp-side { position: sticky; top: 12px; }
.cp-h { font-family: var(--serif); color: var(--accent); font-size: 22px; margin: 0 0 10px; }
.cp-hero { padding: 0; overflow: hidden; }
.cp-pic { min-height: 200px; display: flex; align-items: flex-end; padding: 18px 22px; color: #fff8ea; background: linear-gradient(135deg, #7a1219, #b0453f 55%, #c9a23f); background-size: cover; background-position: center; }
.cp-pic h1 { font-family: var(--serif); font-size: 38px; line-height: 1.12; margin: 2px 0 0; }
.cp-pic small { opacity: .85; font-size: 14px; }
.cp-hb { padding: 16px 22px 20px; }
.cp-desc { margin: 0 0 12px; color: var(--muted); }
.cp-prog { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; margin: 4px 0 6px; }
.cp-big { font-family: var(--serif); font-size: 34px; font-weight: 700; color: var(--accent); }
.cp-track { height: 14px; background: var(--accent-soft); border-radius: 999px; overflow: hidden; }
.cp-track i { display: block; height: 100%; background: linear-gradient(90deg, var(--gold), #7a1219); border-radius: 999px; }
html[dir=rtl] .cp-track i { margin-inline-start: 0; background: linear-gradient(270deg, var(--gold), #7a1219); }
.cp-stats { display: flex; flex-wrap: wrap; gap: 6px 18px; color: var(--muted); font-size: 14px; margin-top: 8px; }
.cp-stats b { color: var(--ink); }
.cp-pkgs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.cp-pkg { font: inherit; text-align: center; border: 1.5px solid var(--line); border-radius: 12px; padding: 12px 8px; background: var(--bg); color: var(--ink); cursor: pointer; display: flex; flex-direction: column; gap: 2px; }
.cp-pkg b { font-family: var(--serif); font-size: 18px; }
.cp-pkg span { color: var(--accent); font-weight: 700; font-size: 20px; }
.cp-pkg em { font-style: normal; font-size: 12px; color: var(--muted); }
.cp-pkg.on { border-color: var(--accent); background: var(--accent-soft); }
.cp-pkg.taken { opacity: .55; cursor: default; }
.cp-wall { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.cp-dn { display: flex; justify-content: space-between; gap: 8px; border: 1px solid var(--line); border-radius: 10px; padding: 8px 12px; background: var(--bg); }
.cp-dn b { font-family: var(--serif); }
.cp-dn small { display: block; color: var(--muted); font-size: 12px; }
.cp-amt { color: var(--accent); font-weight: 700; white-space: nowrap; }
.cp-form form { display: flex; flex-direction: column; gap: 8px; }
.cp-form form.cp-off { opacity: .5; pointer-events: none; }
.cp-soon { background: var(--gold-soft); border-radius: 10px; padding: 10px 12px; margin: 0 0 10px; font-size: 14px; }
.cp-tog { display: grid; grid-template-columns: 1fr 1fr; background: var(--accent-soft); border-radius: 999px; padding: 4px; }
.cp-tog button { font: inherit; font-weight: 600; border: 0; background: none; color: var(--muted); border-radius: 999px; padding: 7px; cursor: pointer; }
.cp-tog button.on { background: var(--accent); color: var(--accent-ink); }
.cp-amts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.cp-amts button { font: inherit; font-weight: 700; border: 1.5px solid var(--line); border-radius: 10px; padding: 9px 0; background: var(--surface); color: var(--ink); cursor: pointer; }
.cp-amts button.on { border-color: var(--accent); background: var(--accent-soft); color: var(--accent); }
.cp-amts input { grid-column: span 4; }
.cp-form input:not([type=checkbox]), .cp-form select { width: 100%; font: inherit; padding: 9px 10px; border: 1.5px solid var(--line); border-radius: 10px; background: var(--surface); color: var(--ink); min-width: 0; }
.cp-row { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.cp-l { margin: 6px 0 0; font-size: 13px; color: var(--muted); font-weight: 600; display: flex; gap: 8px; align-items: center; }
.cp-l select { width: auto; }
.cp-card { border: 1px solid var(--line); border-radius: 12px; padding: 10px; background: var(--bg); display: flex; flex-direction: column; gap: 6px; }
.cp-card label { font-size: 13px; color: var(--muted); font-weight: 600; display: flex; flex-direction: column; gap: 4px; }
.cp-if { width: 100%; height: 44px; border: 0; background: transparent; }
.cp-err { color: #b3261e; font-size: 13px; }
.cp-chk { display: flex; gap: 8px; align-items: center; font-size: 14px; }
.cp-hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.cp-msg { min-height: 1.2em; margin: 0; color: #b3261e; font-weight: 600; font-size: 14px; }
.cp-pay { width: 100%; justify-content: center; font-size: 19px; padding: 13px; }
.cp-pay.busy { opacity: .7; }
.cp-sec { font-size: 12px; color: var(--muted); text-align: center; margin: 0; }
.cp-pkgsel { margin: 0; background: var(--accent-soft); border-radius: 10px; padding: 8px 12px; }
.cp-link { font: inherit; border: 0; background: none; color: var(--accent); cursor: pointer; }
.cp-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; }
.cp-li { display: flex; flex-direction: column; gap: 6px; border: 1px solid var(--line); border-radius: 12px; padding: 12px; background: var(--bg); text-decoration: none; color: var(--ink); }
.cp-li img { width: 100%; aspect-ratio: 16/9; object-fit: cover; border-radius: 8px; }
.cp-li b { font-family: var(--serif); font-size: 19px; color: var(--accent); }
@media (max-width: 900px) {
  .cp-grid { grid-template-columns: 1fr; }
  .cp-side { position: static; }
  .cp-pkgs { grid-template-columns: 1fr 1fr; }
  .cp-wall { grid-template-columns: 1fr; }
  .cp-pic h1 { font-size: 28px; }
  .cp-top img { margin-top: 10px; }
}

.pb-camps { display: flex; flex-direction: column; gap: 8px; margin: 8px 0 12px; }
.pb-camps .pb-btn { justify-content: center; }
/* ---------- matching + 📺 public screen ---------- */
.cp-match { margin: 6px 0 0; display: inline-block; background: #fff4d6; color: #7a5a00; border-radius: 999px; padding: 4px 12px; font-weight: 700; font-size: 14px; }
body.cp-screen { background: #2a0a0d; }
body.cp-screen header, body.cp-screen footer, body.cp-screen .pb-bar, body.cp-screen .pb-top { display: none !important; }
body.cp-screen .pb-wrap, body.cp-screen main, body.cp-screen #cp-root { max-width: none !important; padding: 0 !important; margin: 0 !important; width: 100%; }
.cs-wrap { min-height: 100vh; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px; padding: 4vh 4vw; color: #fff8ea; text-align: center;
  background: radial-gradient(circle at 50% 0%, #7a1219 0%, #2a0a0d 70%); box-sizing: border-box; }
.cs-top small { font-size: clamp(16px, 2vw, 26px); opacity: .8; }
.cs-top h1 { font-family: 'Frank Ruhl Libre', serif; font-size: clamp(36px, 5vw, 80px); margin: 4px 0; }
.cs-top .cp-match { font-size: clamp(16px, 2vw, 28px); }
.cs-num { font-family: 'Frank Ruhl Libre', serif; font-weight: 700; font-size: clamp(70px, 13vw, 220px); color: #f3e3b8; line-height: 1; }
.cs-track { width: min(1200px, 90vw); height: clamp(16px, 2.4vh, 30px); background: rgba(255,255,255,.15); border-radius: 999px; overflow: hidden; }
.cs-track i { display: block; height: 100%; background: linear-gradient(90deg, #c9a23f, #f3e3b8); transition: width 1.2s; }
.cs-sub { font-size: clamp(18px, 2.4vw, 34px); opacity: .9; }
.cs-wall { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 10px; width: min(1400px, 94vw); margin-top: 8px; }
.cs-dn { display: flex; justify-content: space-between; gap: 10px; background: rgba(255,255,255,.08); border: 1px solid rgba(243,227,184,.25); border-radius: 12px; padding: 10px 14px; font-size: clamp(16px, 1.6vw, 24px); }
.cs-dn span { color: #f3e3b8; font-weight: 700; white-space: nowrap; }
.cs-foot { font-size: clamp(16px, 1.8vw, 26px); opacity: .85; }
