/* Zenaria v3, группа c: события, зал славы, новости, журнал изменений. Префикс pc-.
   Разметку внутри #timeline, #dayline, #heat, #hall, #news-list, #changelog рисуют app.js и pages.js старыми классами,
   поэтому они оформлены здесь в пределах своих контейнеров. */

/* ---------- общее ---------- */
.pc-card-h { display: flex; align-items: center; gap: 10px; margin: 0 0 14px; font-size: 18px; font-weight: 600; color: var(--text); letter-spacing: -.015em; }
.x-card > .pc-card-h, .x-card-head > .pc-card-h { color: var(--text); font-size: 18px; margin-bottom: 14px; }
.x-card-head > .pc-card-h { margin: 0; }
.pc-card-h .ico { width: 18px; height: 18px; color: var(--accent-2); }
.pc-muted { color: var(--faint); font-size: 14px; line-height: 1.5; }
.pc-lang-note { margin-top: 12px !important; color: var(--faint); font-size: 14px; }
.pc-skel-card { height: 180px; border-radius: var(--radius); }
.v3 .hero-link { color: var(--text); text-decoration: none; font-weight: 500; }
.v3 .hero-link:hover { color: var(--accent-2); }
.v3 .t-sub, .v3 .t-dim { color: var(--faint); font-size: 13px; font-weight: 400; }
.pc-hall .empty, .pc-feed .empty, .pc-cl .empty, .pc-heat .empty { margin: 0; padding: 40px 24px; display: grid; justify-items: center; gap: 14px; text-align: center;
  color: var(--faint); border: 1px dashed var(--line-hi); border-radius: var(--radius); }
.pc-hall .empty img, .pc-feed .empty img, .pc-cl .empty img, .pc-heat .empty img { width: 44px; height: auto; opacity: .45; filter: grayscale(1); }

/* ---------- события: консоль ближайшего события ---------- */
.pc-next { position: relative; overflow: hidden; display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 20px 40px; padding: clamp(24px, 3.4vw, 40px);
  background: radial-gradient(90% 140% at 100% 0%, rgb(227 38 54 / .16), transparent 60%), rgb(14 16 21 / .6); }
.pc-next-label { display: flex; align-items: center; gap: 10px; margin: 0 0 14px !important; font-size: 14px; color: var(--dim); }
.pc-next-name { font-size: clamp(34px, 4.6vw, 64px); letter-spacing: -.035em; line-height: 1; }
.pc-next-at { margin-top: 14px !important; max-width: 62ch; color: var(--dim); font-size: 16px; line-height: 1.55; }
.pc-next-count { font-size: clamp(48px, 7.4vw, 104px); font-weight: 600; letter-spacing: -.045em; line-height: .9; font-variant-numeric: tabular-nums; color: var(--text); text-align: right; white-space: nowrap; }
.pc-next-count.is-final { color: var(--accent-2); animation: pcBlink 1s steps(2, start) infinite; }
.pc-next.has-running .pc-next-label { color: var(--live); }
.pc-next-foot { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 24px; padding-top: 22px; margin-top: 6px; border-top: 1px solid var(--line); }
.pc-happy { display: flex; align-items: center; gap: 14px; min-width: 0; }
.pc-happy > .ico { width: 22px; height: 22px; color: var(--accent-2); }
.pc-happy > div { display: grid; gap: 2px; }
.pc-happy strong { font-weight: 600; font-size: 15px; }
.pc-happy span { font-size: 14px; color: var(--faint); }
.pc-happy.is-on > .ico, .pc-happy.is-on span { color: var(--live); }
.pc-cal-all { min-height: 44px; padding: 0 18px; font-size: 14px; }
.pc-cal-all .ico { width: 18px; height: 18px; }
.pc-cal-note { margin-top: 14px !important; color: var(--faint); font-size: 13px; line-height: 1.5; max-width: 80ch; }
@keyframes pcBlink { to { opacity: .45; } }
@media (prefers-reduced-motion: reduce) { .pc-next-count.is-final, .event-count.is-final { animation: none; } }

/* вызов недели */
.pc-weekly { margin-top: 16px; display: grid; gap: 12px; }
.pc-weekly .x-card-head { margin: 0; flex-wrap: wrap; }
.pc-weekly-bar { height: 8px; }
.pc-weekly-bar > span { width: 0; transition: width .8s var(--ease); }
.pc-weekly-top { margin: 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 8px; counter-reset: w; }
.pc-weekly-top li { counter-increment: w; display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px; background: var(--glass); border: 1px solid var(--line); font-size: 14px; }
.pc-weekly-top li::before { content: counter(w); color: var(--faint); font-size: 12px; font-variant-numeric: tabular-nums; }

/* ---------- события: карточки ---------- */
.pc-cards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.pc-card { display: grid; grid-template-columns: 1fr auto; gap: 20px; padding: 24px; border: 1px solid var(--line); border-radius: var(--radius);
  background: linear-gradient(180deg, var(--glass), rgb(255 255 255 / .015)); transition: border-color .25s; min-width: 0; }
.pc-card:hover { border-color: var(--line-hi); }
.pc-card .event-main { min-width: 0; }
.pc-card-name { font-size: 20px; letter-spacing: -.02em; }
.pc-card .ev-ru { display: block; margin-top: 4px; font-size: 13px; font-weight: 400; color: var(--faint); letter-spacing: 0; }
.pc-card .event-double { display: inline-flex; align-items: center; gap: 6px; margin-top: 10px !important; padding: 4px 10px; border-radius: 999px;
  background: rgb(227 38 54 / .16); color: var(--accent-2); font-size: 13px; font-weight: 500; }
.pc-card .event-double .ico { width: 14px; height: 14px; }
.pc-card-text { margin-top: 10px !important; color: var(--dim); font-size: 14px; line-height: 1.55; }
.pc-card .times { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 16px; }
.pc-card .times-when { width: 100%; font-size: 13px; color: var(--faint); }
.pc-card .times time { padding: 3px 9px; border-radius: 8px; border: 1px solid var(--line); background: rgb(255 255 255 / .03); font-size: 13px; color: var(--dim);
  font-variant-numeric: tabular-nums; }
.pc-card .times time.is-next { border-color: var(--accent); color: #fff; background: rgb(227 38 54 / .2); }
.pc-card .event-timer { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; text-align: right; min-width: 104px; }
.pc-card .event-when { font-size: 12px; color: var(--faint); line-height: 1.3; }
.pc-card .event-count { font-size: 30px; font-weight: 600; letter-spacing: -.03em; line-height: 1; font-variant-numeric: tabular-nums; white-space: nowrap; }
.pc-card .event-count.is-final { color: var(--accent-2); animation: pcBlink 1s steps(2, start) infinite; }
.pc-card .cal-btn { margin-top: auto; display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line-hi);
  font-size: 13px; color: var(--dim); text-decoration: none; white-space: nowrap; transition: color .2s, border-color .2s; }
.pc-card .cal-btn:hover { color: var(--text); border-color: rgb(255 255 255 / .3); }
.pc-card .cal-btn .ico { width: 15px; height: 15px; }
.pc-card.is-soon { border-color: rgb(227 38 54 / .4); }
.pc-card.is-running { border-color: rgb(70 214 140 / .45); background: radial-gradient(120% 120% at 100% 0%, rgb(70 214 140 / .09), transparent 60%), linear-gradient(180deg, var(--glass), rgb(255 255 255 / .015)); }
.pc-card.is-running .event-count, .pc-card.is-running .event-when { color: var(--live); }
.pc-absent { margin-top: 16px; }

/* награды и споты */
.pc-extra { display: grid; grid-template-columns: 5fr 7fr; gap: 16px; align-items: start; }
.pc-extra > .x-card { grid-column: auto; }
.pc-extra > .x-card:only-child { grid-column: 1 / -1; }
.pc-rewards, .pc-spots { padding: 28px; }
.pc-spots { scroll-margin-top: 100px; }
.pc-spots-head { margin-bottom: 16px; }
.pc-spots-head .pc-card-h { margin-bottom: 6px; }
.pc-spots-table td:first-child { font-weight: 500; }

/* ---------- события: лента дня ---------- */
.pc-tl-card { padding: 28px 24px 20px; }
.pc-tl-wrap { overflow-x: auto; padding-bottom: 8px; scrollbar-width: thin; }
.pc-tl { position: relative; min-width: 1100px; height: 290px; margin: 0 40px; }
.pc-tl .tl-axis { position: absolute; left: 0; right: 0; bottom: 28px; height: 1px; background: var(--line-hi); }
.pc-tl .tl-hour { position: absolute; top: 10px; transform: translateX(-50%); font-size: 12px; color: var(--faint); font-variant-numeric: tabular-nums; }
.pc-tl .tl-hour::before { content: ""; position: absolute; left: 50%; top: -14px; width: 1px; height: 8px; background: var(--line-hi); }
.pc-tl .tl-happy { position: absolute; top: 0; bottom: 28px; border-radius: 12px 12px 0 0; background: linear-gradient(180deg, rgb(227 38 54 / .03), rgb(227 38 54 / .14));
  border: 1px solid rgb(227 38 54 / .25); border-bottom: 0; }
.pc-tl .tl-happy span { position: absolute; top: 8px; right: 10px; font-size: 12px; font-weight: 600; color: var(--accent-2); }
.pc-tl .tl-ev { position: absolute; bottom: 28px; transform: translateX(-50%); display: flex; flex-direction: column-reverse; align-items: center; }
.pc-tl .tl-dot { width: 11px; height: 11px; margin-bottom: -5.5px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 3px var(--bg); }
.pc-tl .tl-ev::before { content: ""; position: absolute; bottom: 6px; left: 50%; width: 1px; height: calc(30px + var(--row) * 50px); background: linear-gradient(0deg, rgb(255 107 115 / .7), transparent); }
.pc-tl .tl-label { position: absolute; bottom: calc(36px + var(--row) * 50px); display: grid; justify-items: center; white-space: nowrap; font-size: 12.5px; color: var(--dim); line-height: 1.25; }
.pc-tl .tl-label time { font-weight: 600; color: var(--text); font-variant-numeric: tabular-nums; }
.pc-tl .tl-ev.is-past { opacity: .3; }
.pc-tl .tl-now { position: absolute; top: -6px; bottom: 22px; width: 2px; margin-left: -1px; background: var(--live); box-shadow: 0 0 12px rgb(70 214 140 / .6); z-index: 2; }
.pc-tl .tl-now span { position: absolute; top: -20px; left: 50%; transform: translateX(-50%); font-size: 11px; font-weight: 600; color: var(--live); }
.pc-dayline { list-style: none; margin: 0; padding: 0; display: none; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.pc-dayline .dl-item { display: grid; gap: 2px; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--line); background: rgb(255 255 255 / .03); min-width: 0; }
.pc-dayline .dl-item time { font-weight: 600; font-variant-numeric: tabular-nums; }
.pc-dayline .dl-item span { font-size: 14px; color: var(--dim); overflow-wrap: anywhere; }

.pc-dayline .dl-item.is-past { opacity: .4; }
.pc-dayline .dl-item.is-next { border-color: var(--accent); background: rgb(227 38 54 / .1); }
.pc-dayline .dl-item.is-next time { color: var(--accent-2); }

/* ---------- события: карта онлайна ---------- */
.pc-heat-card { padding: 24px; }
.pc-heat .heat-grid { display: grid; grid-template-columns: 32px repeat(24, minmax(0, 1fr)); gap: 3px; }
.pc-heat .heat-h { font-size: 11px; color: var(--faint); white-space: nowrap; overflow: visible; }
.pc-heat .heat-d { font-size: 13px; color: var(--dim); align-self: center; }
/* скрипт красит клетки медной гаммой; сдвигаем её в красный акцент сайта */
.pc-heat .heat-cell, .pc-heat-legend i { filter: hue-rotate(-32deg) saturate(1.15); }
.pc-heat .heat-cell { aspect-ratio: 1.3; border-radius: 4px; outline: 1px solid transparent; outline-offset: 1px; transition: outline-color .15s; }
.pc-heat .heat-cell:hover { outline-color: var(--text); }
.pc-heat .heat-cell.is-empty { border: 1px dashed var(--line); filter: none; }
.pc-heat-legend { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 16px; font-size: 13px; color: var(--faint); }
.pc-heat-legend i { width: 22px; height: 12px; border-radius: 3px; }
.pc-heat-legend span:first-child { margin-right: 4px; }
.pc-heat-legend span:last-child { margin-left: 4px; }
.pc-heat-table { margin-top: 16px; border-top: 1px solid var(--line); padding-top: 14px; }
.pc-heat-table summary { cursor: pointer; color: var(--dim); font-size: 14px; }
.pc-heat-table summary:hover { color: var(--text); }
.pc-heat-table .table-scroll { overflow-x: auto; margin-top: 12px; }
.pc-heat-table .data-table { border-collapse: collapse; font-size: 12px; font-variant-numeric: tabular-nums; }
.pc-heat-table .data-table th, .pc-heat-table .data-table td { padding: 6px 8px; border-bottom: 1px solid var(--line); text-align: right; }
.pc-heat-table .data-table th { color: var(--faint); font-weight: 500; }
.pc-heat-table .data-table td { color: var(--dim); }
/* подсказка у клетки: pages.js кладёт её прямо в body */
body[data-page="events"] .tip { position: fixed; left: 0; top: 0; z-index: 60; pointer-events: none; display: grid; gap: 2px; padding: 8px 12px; border-radius: 10px;
  background: rgb(14 16 21 / .92); border: 1px solid var(--line-hi); font-size: 13px; color: var(--dim); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
body[data-page="events"] .tip strong { color: var(--text); font-weight: 600; }

@media (max-width: 1000px) {
  .pc-cards { grid-template-columns: 1fr; }
  .pc-extra { grid-template-columns: 1fr; }
}
@media (max-width: 767px) {
  .pc-next { grid-template-columns: 1fr; gap: 14px; }
  .pc-next-count { text-align: left; font-size: 56px; }
  .pc-next-foot { padding-top: 18px; }
  .pc-cal-all { width: 100%; }
  .pc-card { grid-template-columns: 1fr; gap: 16px; padding: 20px; }
  .pc-card .event-timer { flex-direction: row; flex-wrap: wrap; align-items: center; justify-content: space-between; text-align: left; padding-top: 14px; border-top: 1px solid var(--line); gap: 6px 12px; }
  .pc-card .event-when { width: 100%; }
  .pc-card .event-count { font-size: 26px; }
  .pc-card .cal-btn { margin-top: 0; }
  .pc-rewards, .pc-spots { padding: 20px; }
  .pc-tl-card { padding: 16px; }
  .pc-tl-wrap { display: none; }
  .pc-dayline { display: grid; }
  .pc-heat-card { padding: 16px; }
  .pc-heat .heat-grid { grid-template-columns: 22px repeat(24, minmax(0, 1fr)); gap: 2px; }
  .pc-heat .heat-d { font-size: 11px; }
  .pc-heat .heat-h { font-size: 9px; }
  .pc-heat .heat-cell { aspect-ratio: .8; border-radius: 2px; }
}

/* ---------- зал славы ---------- */
.pc-hall { display: grid; gap: 16px; }
.pc-hall .hall-season { padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); background: linear-gradient(180deg, var(--glass), rgb(255 255 255 / .015)); min-width: 0; }
.pc-hall .hall-season header { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 20px; margin-bottom: 18px; }
.pc-hall .hall-season h2 { font-size: clamp(24px, 2.6vw, 34px); letter-spacing: -.03em; }
.pc-hall .panel-note { color: var(--faint); font-size: 14px; }
.pc-hall .hall-champ { display: flex; align-items: center; gap: 18px; margin-bottom: 18px; padding: 18px 20px; border-radius: 14px;
  border: 1px solid rgb(227 38 54 / .35); background: radial-gradient(120% 160% at 0% 0%, rgb(227 38 54 / .16), transparent 60%), rgb(255 255 255 / .02); }
.pc-hall .hall-champ .av { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; flex: none; background: var(--glass-hi); }
.pc-hall .hall-champ > div { display: grid; gap: 4px; min-width: 0; }
.pc-hall .hall-champ .eyebrow { font-size: 13px; color: var(--accent-2); font-weight: 500; }
.pc-hall .hall-champ strong { font-size: clamp(24px, 2.6vw, 32px); font-weight: 600; letter-spacing: -.03em; line-height: 1.1; overflow-wrap: anywhere; }
.pc-hall .hall-champ strong .hero-link { font-weight: 600; }
.pc-hall .hall-grid { width: 100%; border-collapse: collapse; font-size: 15px; font-variant-numeric: tabular-nums; }
.pc-hall .hall-grid td { padding: 12px 10px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.pc-hall .hall-grid tr:last-child td { border-bottom: 0; }
.pc-hall .hall-grid tbody tr:hover td { background: rgb(255 255 255 / .025); }
.pc-hall .hall-grid .c-n { width: 44px; padding-left: 0; }
.pc-hall .place { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: rgb(255 255 255 / .06); font-size: 13px; font-weight: 600; color: var(--dim); }
.pc-hall .top1 .place { background: var(--accent); color: #fff; }
.pc-hall .top2 .place, .pc-hall .top3 .place { background: rgb(227 38 54 / .18); color: var(--accent-2); }
.pc-hall .c-name .t-sub { display: block; margin-top: 2px; }
.pc-hall .c-num { text-align: right; font-weight: 600; white-space: nowrap; }
.pc-hall .hall-grid td.t-dim { text-align: right; font-size: 13px; }
@media (max-width: 767px) {
  .pc-hall .hall-season { padding: 20px; }
  .pc-hall .hall-champ { padding: 14px; gap: 14px; }
  .pc-hall .hall-champ .av { width: 52px; height: 52px; }
  .pc-hall .hall-grid, .pc-hall .hall-grid tbody { display: block; }
  .pc-hall .hall-grid tr { display: grid; grid-template-columns: 40px 1fr auto; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--line); }
  .pc-hall .hall-grid tr:last-child { border-bottom: 0; }
  .pc-hall .hall-grid td { padding: 0; border: 0; }
  .pc-hall .hall-grid td.t-dim { grid-column: 2 / -1; text-align: left; margin-top: 4px; }
  .pc-hall .hall-grid td.t-dim:empty { display: none; }
}

/* ---------- новости ---------- */
.pc-news { max-width: 860px; display: grid; gap: 20px; }
.pc-news > * { grid-column: 1 / -1; min-width: 0; }
.pc-news-form { padding: 28px; }
.pc-news-form .pc-card-h { margin-bottom: 0; }
.pc-news .hint { margin-top: 2px; }
.pc-news .btn.x-btn { border: 0; cursor: pointer; font: 600 15px var(--font); }
.pc-news .btn:disabled { opacity: .6; cursor: default; }
.pc-feed { display: grid; gap: 16px; }
.pc-feed .news-item { position: relative; padding: 28px 32px; border: 1px solid var(--line); border-radius: var(--radius);
  background: linear-gradient(180deg, var(--glass), rgb(255 255 255 / .015)); transition: border-color .25s; }
.pc-feed .news-item:hover { border-color: var(--line-hi); }
.pc-feed .news-item:first-child { border-color: rgb(227 38 54 / .3); background: radial-gradient(100% 120% at 0% 0%, rgb(227 38 54 / .1), transparent 55%), linear-gradient(180deg, var(--glass), rgb(255 255 255 / .015)); }
.pc-feed .news-item > time { font-size: 14px; color: var(--faint); font-variant-numeric: tabular-nums; }
.pc-feed .news-item h3 { margin: 10px 0 14px; font-size: clamp(22px, 2.4vw, 30px); letter-spacing: -.03em; line-height: 1.15; }
.pc-feed .news-body { color: var(--dim); font-size: 16px; line-height: 1.65; }
.pc-feed .news-body p { margin: 0 0 12px; max-width: 70ch; }
.pc-feed .news-body p:last-child { margin-bottom: 0; }
.pc-feed .news-body a { color: var(--accent-2); text-underline-offset: 3px; overflow-wrap: anywhere; }
.pc-feed .news-body strong, .pc-feed .news-body b { color: var(--text); }
.pc-feed .news-body ul, .pc-feed .news-body ol { margin: 0 0 12px; padding-left: 20px; }
.pc-feed .news-body img { border-radius: 12px; margin: 12px 0; }
.pc-feed .news-item.is-hidden { opacity: .55; border-style: dashed; }
.pc-feed .news-admin { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line); font-size: 14px; }
.pc-feed .badge { display: inline-flex; padding: 2px 9px; border-radius: 999px; font-size: 12px; font-weight: 600; background: rgb(255 255 255 / .07); color: var(--dim); }
.pc-feed .link-btn { border: 0; background: none; padding: 0; color: var(--accent-2); font: 500 14px var(--font); cursor: pointer; }
.pc-feed .link-btn:hover { color: #fff; }
.pc-feed .news-edit { display: grid; gap: 14px; }
.pc-feed .news-edit .field { display: grid; gap: 8px; }
.pc-feed .news-edit label { font-size: 14px; color: var(--dim); font-weight: 500; }
.pc-feed .row-btns { display: flex; flex-wrap: wrap; gap: 10px; }
.pc-feed .btn { display: inline-flex; align-items: center; justify-content: center; min-height: 42px; padding: 0 18px; border-radius: 999px; font: 600 14px var(--font); cursor: pointer; border: 1px solid transparent; }
.pc-feed .btn-primary { background: var(--accent); color: #fff; }
.pc-feed .btn-primary:hover { background: #f23a49; }
.pc-feed .btn-ghost { background: var(--glass); color: var(--text); border-color: var(--line-hi); }
@media (max-width: 767px) {
  .pc-news-form { padding: 20px; }
  .pc-feed .news-item { padding: 20px; }
}

/* ---------- метки разделов (журнал и новости) ---------- */
.pc-feed .cl-tag, .pc-cl .cl-tag { display: inline-flex; align-items: center; gap: 6px; justify-self: start; padding: 3px 10px; border-radius: 999px; font-size: 12px; font-weight: 500;
  color: var(--dim); background: rgb(255 255 255 / .05); border: 1px solid var(--line); white-space: nowrap; }
.pc-feed .cl-tag::before, .pc-cl .cl-tag::before, .pc-area-dot { content: ""; display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--c, var(--faint)); flex: none; }
.pc-feed .news-item .cl-tag { margin-left: 10px; vertical-align: 1px; }
.pc-feed .cl-server, .pc-cl .cl-server, .pc-cl-filter .cl-server { --c: var(--accent-2); }
.pc-feed .cl-client, .pc-cl .cl-client, .pc-cl-filter .cl-client { --c: #8fb8ea; }
.pc-feed .cl-site, .pc-cl .cl-site, .pc-cl-filter .cl-site { --c: var(--live); }
.pc-cl-filter .chip { gap: 8px; }
.pc-cl-filter .chip.is-on .pc-area-dot { background: #fff; }

/* ---------- журнал изменений ---------- */
.pc-cl-filter { margin-bottom: 28px; }
.pc-cl { display: grid; gap: 36px; max-width: 1000px; }
.pc-cl .cl-day { display: grid; grid-template-columns: 170px 1fr; gap: 16px 32px; align-items: start; }
.pc-cl .cl-date { position: sticky; top: 96px; font-size: 20px; letter-spacing: -.02em; color: var(--text); padding-top: 14px; }
.pc-cl .cl-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; min-width: 0; }
.pc-cl .cl-item { display: grid; grid-template-columns: 96px 1fr auto; gap: 16px; align-items: start; padding: 16px 20px; border-radius: 14px;
  border: 1px solid var(--line); background: linear-gradient(180deg, var(--glass), rgb(255 255 255 / .015)); min-width: 0; }
.pc-cl .cl-item.is-news { border-color: rgb(227 38 54 / .35); }
.pc-cl .cl-item > div { min-width: 0; }
.pc-cl .cl-item strong { color: var(--text); font-weight: 600; }
.pc-cl .cl-body { color: var(--dim); font-size: 15px; line-height: 1.6; }
.pc-cl .cl-body p { margin: 6px 0 0; }
.pc-cl .cl-body a { color: var(--accent-2); overflow-wrap: anywhere; }
.pc-cl .cl-body code { padding: 1px 6px; border-radius: 6px; background: rgb(255 255 255 / .07); font-size: .92em; }
.pc-cl .cl-time { font-size: 13px; color: var(--faint); font-variant-numeric: tabular-nums; padding-top: 2px; }
.pc-cl .badge { display: inline-flex; padding: 1px 8px; margin-left: 4px; border-radius: 999px; font-size: 12px; font-weight: 600; vertical-align: 1px; background: rgb(255 255 255 / .07); color: var(--dim); }
.pc-cl .badge-accent { background: rgb(227 38 54 / .16); color: var(--accent-2); }
@media (max-width: 860px) {
  .pc-cl .cl-day { grid-template-columns: 1fr; gap: 12px; }
  .pc-cl .cl-date { position: static; padding-top: 0; }
}
@media (max-width: 600px) {
  .pc-cl .cl-item { grid-template-columns: 1fr auto; gap: 8px 12px; padding: 14px 16px; }
  .pc-cl .cl-item > div { grid-column: 1 / -1; }
  .pc-cl .cl-time { grid-row: 1; grid-column: 2; }
}

/* ===== События v2 ===== */
.pc-top-row { display: grid; grid-template-columns: 1fr 1.4fr; gap: 16px; margin-top: 16px; }
.pc-top-row > .x-card { grid-column: auto; margin: 0; padding: 22px; }
.pc-top-row:has(> .pc-dbl[hidden]) { grid-template-columns: 1fr; }
.pc-dbl { background: radial-gradient(120% 140% at 0% 0%, rgb(227 38 54 / .16), transparent 60%), linear-gradient(180deg, var(--glass), rgb(255 255 255 / .015)); border-color: rgb(227 38 54 / .3); }
.pc-dbl-k { display: flex; align-items: center; gap: 8px; margin: 0 0 8px !important; font-size: 13px; font-weight: 600; color: var(--accent-2); }
.pc-dbl-k .ico { width: 16px; height: 16px; }
.pc-dbl b { display: block; font-size: 26px; font-weight: 600; letter-spacing: -.03em; color: var(--text); }
.pc-dbl p { font-size: 14px; color: var(--dim); margin-top: 6px !important; }
.pc-dbl-next { color: var(--text) !important; font-weight: 500; }
.pc-top-row .pc-weekly { margin-top: 0; }

/* сегодня по часам */
.pc-sec-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 24px; }
.pc-legend { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--faint); }
.pc-lg { width: 10px; height: 10px; border-radius: 3px; margin-left: 10px; }
.pc-lg-next { background: var(--accent); }
.pc-lg-happy { background: rgb(227 38 54 / .22); border: 1px solid rgb(227 38 54 / .4); }
.pc-agenda { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; }
.pc-agenda .dl-item { display: grid; grid-template-columns: 52px 1fr; gap: 10px; align-items: center; padding: 11px 14px; border-radius: 12px; border: 1px solid var(--line);
  background: var(--glass); box-shadow: none; font-size: 14px; }
.pc-agenda .dl-item time { font-weight: 600; color: var(--text); font-variant-numeric: tabular-nums; }
.pc-agenda .dl-item span { color: var(--dim); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pc-agenda .dl-item.is-happy { background: rgb(227 38 54 / .08); border-color: rgb(227 38 54 / .25); box-shadow: none; }
.pc-agenda .dl-item.is-past { opacity: .38; }
.pc-agenda .dl-item.is-next { background: var(--accent); border-color: var(--accent); }
.pc-agenda .dl-item.is-next time, .pc-agenda .dl-item.is-next span { color: #fff; }

/* каталог по группам */
.pc-group { margin-top: 36px; }
.pc-group:first-of-type { margin-top: 8px; }
.pc-group-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 16px; margin-bottom: 14px; }
.pc-group-head h3 { font-size: 20px; letter-spacing: -.02em; color: var(--text); }
.pc-group-head p { font-size: 14px; color: var(--faint); }
.pc-group .pc-cards { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; align-items: stretch; }
.pc-g-world .pc-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.pc-group .pc-card { grid-template-columns: minmax(0, 1fr); grid-template-rows: 1fr auto; gap: 18px; padding: 20px; height: 100%; }
.pc-g-arena .pc-card { background: radial-gradient(120% 120% at 100% 0%, rgb(227 38 54 / .07), transparent 55%), linear-gradient(180deg, var(--glass), rgb(255 255 255 / .015)); }
.pc-group .pc-card-name { font-size: 18px; }
.pc-group .event-main { display: flex; flex-direction: column; gap: 10px; }
.pc-group .event-main > * { margin-top: 0 !important; margin-bottom: 0 !important; }
.pc-group .event-main .pc-card-text { font-size: 14px; }
.pc-group .event-main .times { margin-top: auto !important; padding-top: 4px; }
.pc-group .event-main .event-double { align-self: flex-start; }
.pc-group .pc-card .event-timer { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 4px 12px; min-width: 0; padding-top: 14px; border-top: 1px solid var(--line); text-align: left; }
.pc-group .event-timer .event-when { grid-column: 1 / -1; font-size: 12px; }
.pc-group .event-timer .event-count { font-size: 24px; }
.pc-group .pc-card .cal-btn { margin: 0; white-space: nowrap; }
.pc-absent { margin-top: 20px !important; }
.pc-extra { align-items: stretch; }

@media (max-width: 1180px) { .pc-group .pc-cards, .pc-g-world .pc-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } .pc-agenda { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 900px) { .pc-top-row { grid-template-columns: 1fr; } .pc-agenda { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 640px) {
  .pc-group .pc-cards, .pc-g-world .pc-cards { grid-template-columns: 1fr; }
  .pc-agenda { grid-template-columns: 1fr; gap: 6px; }
  .pc-agenda .dl-item { grid-template-columns: 52px 1fr; padding: 10px 14px; }
  .pc-agenda .dl-item.is-past { display: none; }
  .pc-legend { flex-wrap: wrap; }
  .pc-lg:first-child { margin-left: 0; }
}

.pc-guide { color: var(--accent-2); text-decoration: none; font-weight: 500; white-space: nowrap; }
.pc-guide:hover { color: var(--text); }
.v3 .hall-live-note { margin: 14px 0 0; color: var(--dim); font-size: 14px; } .v3 .hall-live-note a { color: var(--accent-2); }

/* ---------- 03.10: лента дня снова на «Событиях», цвет по виду события ---------- */
.pc-tl-card { grid-column: auto; padding: 34px 24px 18px; }
.pc-tl .tl-ev { --tc: #ff5a66; }
.pc-tl .tl-gold, .pc-tl .tl-skeletons, .pc-tl .tl-wizard, .pc-tl .tl-treasure { --tc: #f2c14e; }
.pc-tl .tl-dragon, .pc-tl .tl-kanturu, .pc-tl .tl-boss { --tc: #c08bff; }
.pc-tl .tl-spots, .pc-tl .tl-siege, .pc-tl .tl-tournament { --tc: #5fb4ff; }
.pc-tl .tl-dot { background: var(--tc); box-shadow: 0 0 0 3px #101217, 0 0 12px color-mix(in srgb, var(--tc) 60%, transparent); }
.pc-tl .tl-ev::before { width: 2px; margin-left: -1px; border-radius: 2px; background: linear-gradient(0deg, var(--tc), color-mix(in srgb, var(--tc) 10%, transparent)); }
.pc-tl .tl-label time { color: var(--tc); }
.pc-tl .tl-label { color: var(--text); }
.pc-tl-legend { display: flex; flex-wrap: wrap; gap: 8px 20px; margin: 10px 40px 0; font-size: 12.5px; color: var(--faint); }
.pc-tl-legend span { display: inline-flex; align-items: center; gap: 8px; }
.pc-tl-legend span::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--tc); }
.pc-agenda-box { margin-top: 14px; }
.pc-agenda-box > summary { display: inline-flex; align-items: center; gap: 8px; padding: 8px 0; color: var(--dim); font-size: 14px; font-weight: 600; cursor: pointer; list-style: none; }
.pc-agenda-box > summary::-webkit-details-marker { display: none; }
.pc-agenda-box > summary::after { content: ""; width: 6px; height: 6px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg) translateY(-2px); transition: transform .2s; }
.pc-agenda-box[open] > summary::after { transform: rotate(225deg); }
.pc-agenda-box > summary:hover { color: var(--text); }
.pc-agenda-box .pc-agenda { margin-top: 10px; }
@media (max-width: 767px) {
  .pc-tl-card, .pc-tl-legend { display: none; }
  .pc-agenda-box > summary { display: none; }
  .pc-agenda-box .pc-agenda { margin-top: 0; }
}
.pc-tl { height: 360px; margin: 0 56px; }
.pc-tl .tl-ev::before { height: calc(26px + var(--row) * 40px); }
.pc-tl .tl-label { bottom: calc(32px + var(--row) * 40px); }
.pc-tl-legend { margin-left: 56px; }
.pc-tl .tl-label { z-index: 1; padding: 1px 5px; border-radius: 6px; background: rgb(17 18 24 / .92); }

/* ---------- 03.10: ближайшее событие компактной полосой ---------- */
.pc-next { grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 12px 32px; padding: 24px 28px; }
.pc-next-label { margin: 0 0 6px !important; font-size: 13px; }
.pc-next-name { font-size: clamp(26px, 2.6vw, 36px); }
.pc-next-at { margin-top: 8px !important; font-size: 14.5px; }
.pc-next-count { font-size: clamp(38px, 4vw, 56px); }
.pc-next-foot { padding-top: 14px; margin-top: 2px; }
@media (max-width: 767px) { .pc-next { padding: 20px; } .pc-next-count { font-size: 40px; } }

/* ---------- 03.10: «Все события» — у каждого вида свой цвет и значок, края как у карточек главной ---------- */
.pc-card { --gc: #ff5a66; border-color: rgb(255 255 255 / .05) !important;
  background: radial-gradient(120% 90% at 100% 0%, color-mix(in srgb, var(--gc) 9%, transparent), transparent 60%), linear-gradient(180deg, rgb(255 255 255 / .04), rgb(255 255 255 / .012)) !important;
  box-shadow: inset 0 1px 0 rgb(255 255 255 / .045), 0 24px 48px -28px rgb(0 0 0 / .75); }
.pc-card:hover { border-color: color-mix(in srgb, var(--gc) 30%, transparent) !important; }
.pc-k-world { --gc: #f2c14e; } .pc-k-boss { --gc: #c08bff; } .pc-k-guild { --gc: #5fb4ff; }
.pc-card-top { display: flex; align-items: center; gap: 12px; }
.pc-ev-ico { flex: none; position: relative; width: 36px; height: 36px; border-radius: 11px; background: color-mix(in srgb, var(--gc) 15%, transparent); }
.pc-ev-ico::after { content: ""; position: absolute; inset: 9px; background: var(--gc); -webkit-mask: var(--i) center / contain no-repeat; mask: var(--i) center / contain no-repeat; }
.pc-card .times time.is-next { border-color: color-mix(in srgb, var(--gc) 70%, transparent); background: color-mix(in srgb, var(--gc) 18%, transparent); }
.pc-card .pc-guide { color: var(--gc); }
.pc-group .event-timer .event-count { color: var(--text); }
.pc-group-head h3 { display: inline-flex; align-items: center; gap: 10px; }
.pc-group-head h3::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #ff5a66; }
.pc-g-world .pc-group-head h3::before { background: #f2c14e; } .pc-g-guild .pc-group-head h3::before { background: #5fb4ff; }
.pc-card.is-running { --gc: #46d68c; }
.pc-happy-drop { display: block; margin-top: 2px; font-size: 13px; color: var(--accent-2); }
.pc-card .times-note { width: 100%; font-size: 12.5px; color: var(--faint); }

.v3 .pc-news-act { display: flex; flex-wrap: wrap; gap: 10px; }
.v3 .pc-news-form[hidden] { display: none; }
.v3 .pc-news-write { margin: 18px 0 0; }
