/* RMRP-WIKI — главная: график онлайна и две кнопки. Основа — wiki.css и pages.css */
.home { position: relative; overflow: hidden; padding: 36px 0 80px;
  background: radial-gradient(900px 480px at 80% -10%, rgba(var(--accent-rgb), .13), transparent 60%),
              linear-gradient(180deg, #0e2733 0%, var(--bg) 520px); }
.home .topo { right: -260px; top: -220px; width: 820px; height: 820px; opacity: .22; }
.home .wrap { position: relative; }

.online { padding: 26px 26px 18px; box-shadow: 0 24px 48px rgba(0, 0, 0, .3); }
.online__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px 30px; flex-wrap: wrap; margin-bottom: 18px; }
.online__when { margin: 8px 0 0; font: 13px var(--font-ui); color: var(--text-muted); font-variant-numeric: tabular-nums; }
.online__total { text-align: right; }
.online__total b { display: block; font-style: italic; font-weight: 800; font-size: clamp(34px, 5vw, 52px); line-height: 1; font-variant-numeric: tabular-nums; }
.online__total small { font: 13px var(--font-ui); color: var(--text-muted); }
.online__bar { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px 16px; flex-wrap: wrap; margin-bottom: 10px; }
.seg--legend button.legend b { font-weight: 700; color: #fff; margin-left: 2px; font-variant-numeric: tabular-nums; }
.seg--legend button.legend:not(.active) b { color: var(--text-muted); }

.actions { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 18px; }
.action { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 20px; text-align: left; cursor: pointer;
  padding: 26px 28px; border-radius: 14px; color: #fff; font: inherit;
  background: linear-gradient(135deg, rgba(var(--accent-rgb), .16), rgba(15, 35, 48, .92) 55%);
  border: 1px solid rgba(var(--accent-rgb), .4); box-shadow: 0 16px 32px rgba(0, 0, 0, .3);
  transition: border-color .2s, transform .2s, box-shadow .2s; }
.action:hover, .action:focus-visible { border-color: var(--accent-bright); transform: translateY(-2px); box-shadow: 0 0 34px rgba(var(--accent-rgb), .2); outline: none; }
.action__icon { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(var(--accent-rgb), .14); border: 1px solid rgba(var(--accent-rgb), .45); }
.action__icon svg { width: 30px; height: 30px; fill: none; stroke: var(--accent-bright); stroke-width: 1.8; stroke-linejoin: round; stroke-linecap: round; }
.action__text b { display: block; font-style: italic; font-weight: 800; text-transform: uppercase; font-size: clamp(20px, 2.4vw, 28px); line-height: 1.1; }
.action__text small { display: block; margin-top: 6px; color: var(--text-soft); font-size: 14px; line-height: 1.45; }
.action__go { font-size: 28px; color: var(--accent-bright); transition: transform .2s; }
.action:hover .action__go { transform: translateX(4px); }

.picker { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 18px; }
.pick { display: grid; gap: 2px; padding: 14px 16px; border-radius: 10px; background: rgba(255, 255, 255, .03); border: 1px solid var(--border-strong); transition: border-color .2s, background .2s; }
.pick:hover, .pick:focus-visible { border-color: var(--accent); background: rgba(var(--accent-rgb), .08); outline: none; }
.pick--last { border-color: rgba(var(--accent-rgb), .55); }
.pick small { font: 12px var(--font-ui); color: var(--second); }
.pick b { font-style: italic; font-weight: 800; text-transform: uppercase; font-size: 19px; }
.pick > span { font: 13px var(--font-ui); color: var(--text-muted); font-variant-numeric: tabular-nums; }

@media (max-width: 860px) { .actions { grid-template-columns: 1fr; } }
@media (max-width: 640px) {
  .home { padding-top: 20px; }
  .online { padding: 18px 14px 12px; }
  .online__total { text-align: left; }
  .action { padding: 20px 18px; gap: 14px; }
  .action__icon { width: 50px; height: 50px; }
  .action__icon svg { width: 24px; height: 24px; }
  .picker { grid-template-columns: 1fr 1fr; }
}
