/* PC tools (owner 2026-12-03): free Epic Games of the week and the Steam Account Value Calculator. */

/* ---------- Epic: hero box ---------- */
.efg__hero { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.efg__heroH { margin: 0; font: 800 20px/1.2 var(--display); color: var(--ink); }
.efg__hero .fss__count { margin-top: 0; max-width: none; }
.efg__heroNote { margin: 0; font-size: 13px; color: var(--mute); }
.efg__hero .btn { margin-top: 4px; }

/* ---------- Epic: game cards ---------- */
.efg { margin-top: 32px; }
.efg__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; }
.efg__card { display: flex; flex-direction: column; min-width: 0; border-radius: 22px; overflow: hidden; background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow); }
.efg__card--live { border-color: var(--brand); }
.efg__img { position: relative; display: block; aspect-ratio: 16 / 9; background: linear-gradient(135deg, #2a2a2a, #0f0f10); overflow: hidden; }
.efg__img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .3s; }
.efg__img > span:not(.efg__tag) { position: absolute; inset: 0; display: grid; place-items: center; padding: 16px; color: #fff; font: 800 20px/1.2 var(--display); text-align: center; }
.efg__card:hover .efg__img img { transform: scale(1.03); }
.efg__tag { position: absolute; right: 12px; top: 12px; padding: 5px 10px; border-radius: 999px; background: rgba(15, 15, 16, .82); color: #fff; font: 700 12px/1 var(--body); }
.efg__card--live .efg__tag { background: var(--brand); }
.efg__body { display: flex; flex-direction: column; gap: 8px; padding: 16px 18px 18px; flex: 1; }
.efg__body h3 { margin: 0; font: 800 20px/1.2 var(--display); letter-spacing: -.01em; overflow-wrap: anywhere; }
.efg__desc { margin: 0; color: var(--ink-2); font-size: 14px; line-height: 1.45; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.efg__when { margin: 0; font-size: 13px; color: var(--mute); }
.efg__left { margin: 0; display: flex; align-items: baseline; gap: 8px; font-size: 13px; color: var(--mute); }
.efg__left b { font: 800 18px/1 var(--display); color: var(--ink); font-variant-numeric: tabular-nums; }
.efg__price { margin: 0; font-size: 14px; color: var(--ink-2); }
.efg__price s { color: var(--mute); }
.efg__price b { color: var(--green-ink, #067647); }
.efg__body .btn { margin-top: auto; }
.efg__empty { padding: 18px 20px; border-radius: 18px; border: 2px dashed var(--line); background: var(--card); color: var(--ink-2); }

/* ---------- Steam: form in the hero ---------- */
.stv { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.stv__f { display: flex; flex-direction: column; gap: 5px; font-size: 13px; font-weight: 700; color: var(--ink-2); min-width: 0; }
.stv__f input, .stv__f select { height: 48px; border: 2px solid var(--line); border-radius: 12px; padding: 0 12px; font: 600 15px var(--body); background: var(--paper); color: var(--ink); width: 100%; min-width: 0; }
.stv__f input:focus, .stv__f select:focus { outline: none; border-color: var(--brand); background: #fff; }
.stv__f input:disabled, .stv__f select:disabled { opacity: .6; }
.stv .fnv__err { margin: 0; }
.stv__soon { background: var(--paper-2, #eee); color: var(--ink-2); cursor: not-allowed; }
.stv__note { margin: 0; display: flex; gap: 6px; align-items: flex-start; font-size: 12px; color: var(--mute); line-height: 1.4; }
.stv__note svg { flex: none; margin-top: 1px; color: var(--green-ink, #067647); }

.stv__private { margin-top: 20px; padding: 18px 22px; border-radius: 20px; background: #fff7ed; border: 1px solid #fed7aa; }
.stv__private h2 { margin: 0 0 8px; font: 800 20px/1.2 var(--display); }
.stv__private ol { margin: 0; padding-right: 20px; display: grid; gap: 4px; }

/* ---------- Steam: result ---------- */
.stv__res { margin-top: 24px; scroll-margin-top: 96px; }
.stv__res .gc__big { margin-top: 14px; overflow-wrap: anywhere; }
.stv__res h3 { margin: 22px 0 10px; font: 800 18px var(--display); color: #fff; }
.stv__ladder li { color: var(--mute); }
.stv__top { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; counter-reset: stv; }
.stv__top a { display: grid; grid-template-columns: 26px 92px minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 8px 8px 8px 12px; border-radius: 14px; background: rgba(255, 255, 255, .07); color: #fff; counter-increment: stv; transition: background .2s; }
.stv__top a:hover { background: rgba(255, 255, 255, .13); }
.stv__top a::before { content: counter(stv); font: 800 15px var(--display); text-align: center; color: rgba(255, 255, 255, .6); }
.stv__top img { width: 92px; height: 43px; object-fit: cover; border-radius: 8px; background: rgba(255, 255, 255, .08); }
.stv__nm { min-width: 0; }
.stv__nm b { display: block; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.stv__nm small, .stv__pr small { display: block; font-size: 12px; color: rgba(255, 255, 255, .6); }
.stv__pr { text-align: left; white-space: nowrap; }
.stv__pr s { color: rgba(255, 255, 255, .5); font-size: 13px; }
.stv__pr b { font: 800 16px var(--display); }

@media (max-width: 760px) {
  .stv__res .gc__stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stv__res .gc__ladder { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .efg__grid { grid-template-columns: 1fr; }
  .stv__top a { grid-template-columns: 64px minmax(0, 1fr); grid-template-rows: auto auto; padding: 8px; }
  .stv__top a::before { display: none; }
  .stv__top img { width: 64px; height: 30px; grid-row: span 2; }
  .stv__pr { text-align: right; }
}
