/* hof1 (04-11-2026): the Hall of Fame (/hall-of-fame) and the end of a season on /xp (the ceremony and the final hours).
   The podium reads left to right, #1 first and biggest (Mortimer's rule since dhshare2). Medal colours = the rank card's. */
.hof { --g1: #ffe27a; --g2: #d49a2a; --s1: #f1f5f9; --s2: #94a3b8; --b1: #f5b379; --b2: #a8622c; --v1: #c4b5fd; --v2: #7c3aed; }
.hof-ceremony, .hof-final { --g1: #ffe27a; --g2: #d49a2a; --s1: #f1f5f9; --s2: #94a3b8; --b1: #f5b379; --b2: #a8622c; --v1: #c4b5fd; --v2: #7c3aed; }

/* ---------- The season that is running (top of /hall-of-fame) ---------- */
.hof-now { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin: 0 0 8px; padding: 14px 20px; border-radius: 16px;
    background: linear-gradient(120deg, rgba(249, 115, 22, 0.12), rgba(255, 255, 255, 0.03) 60%); border: 1px solid rgba(249, 115, 22, 0.32);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25); transition: border-color .2s ease, transform .2s ease, background .2s ease; }
.hof-now:hover { border-color: rgba(249, 115, 22, 0.6); transform: translateY(-1px); }
.hof-now-dot { width: 10px; height: 10px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.6); animation: hof-ping 2s ease-out infinite; flex: none; }
.hof-now.is-final .hof-now-dot { background: var(--orange); animation-duration: 1.2s; }
.hof-now-text, .hof-now-left, .hof-now-lead > span { display: flex; flex-direction: column; line-height: 1.25; }
.hof-now small { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.hof-now.is-final .hof-now-text small { color: var(--orange-soft); }
.hof-now b { font-size: 1.02rem; }
.hof-now-lead { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; }
.hof-now-lead img { width: 28px; height: 28px; border-radius: 50%; object-fit: cover; border: 2px solid var(--g1); }
.hof-now-left b { font-variant-numeric: tabular-nums; }
.hof-now-go { margin-left: auto; display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--orange-soft); }
.hof-now-go span { transition: transform .2s ease; }
.hof-now:hover .hof-now-go span { transform: translateX(3px); }
@keyframes hof-ping { 0% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.55); } 80%, 100% { box-shadow: 0 0 0 10px rgba(34, 197, 94, 0); } }

/* ---------- Club records ---------- */
.hof-records { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 16px; }
.hof-record { position: relative; display: flex; flex-direction: column; gap: 4px; padding: 20px 20px 18px; border-radius: 18px; overflow: hidden;
    background: linear-gradient(160deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.02)); border: 1px solid var(--line); box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25); }
.hof-record::after { content: ''; position: absolute; inset: auto -40px -60px auto; width: 160px; height: 160px; border-radius: 50%;
    background: radial-gradient(circle, rgba(250, 204, 21, 0.18), transparent 70%); pointer-events: none; }
.hof-record-icon { font-size: 1.5rem; line-height: 1; margin-bottom: 6px; font-style: normal; }
.hof-record small { font-size: 0.78rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.hof-record > b { font-size: 1.6rem; font-weight: 900; line-height: 1.15; background: linear-gradient(135deg, var(--g1), #f59e0b); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hof-record-who { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-top: 4px; font-weight: 600; min-width: 0; }
.hof-record-who img { width: 22px; height: 22px; border-radius: 50%; object-fit: cover; }
.hof-record-who a:hover { color: var(--orange-soft); }
.hof-record-who em { font-style: normal; color: var(--muted); font-weight: 500; }
.hof-dot { width: 12px; height: 12px; border-radius: 50%; background: var(--tc); box-shadow: 0 0 10px var(--tc); }

/* ---------- A season ---------- */
.hof-seasons { display: grid; gap: 24px; }
.hof-season { position: relative; padding: 26px; border-radius: 22px; overflow: hidden; scroll-margin-top: 110px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02)); border: 1px solid var(--line); box-shadow: 0 16px 40px rgba(0, 0, 0, 0.3); }
.hof-season.is-latest { border-color: rgba(250, 204, 21, 0.38); box-shadow: 0 16px 40px rgba(0, 0, 0, 0.3), 0 0 60px rgba(250, 204, 21, 0.08); }
.hof-season.is-latest::before { content: ''; position: absolute; inset: 0 0 auto 0; height: 3px; background: linear-gradient(90deg, var(--g1), var(--orange), var(--g2)); }
.hof-season:target { animation: hof-target 2.4s ease-out 1; }
@keyframes hof-target { 0% { box-shadow: 0 0 0 3px rgba(250, 204, 21, 0.7), 0 16px 40px rgba(0, 0, 0, 0.3); } 100% { box-shadow: 0 0 0 0 rgba(250, 204, 21, 0), 0 16px 40px rgba(0, 0, 0, 0.3); } }
.hof-season-head { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 22px; }
.hof-season-no { display: inline-flex; flex-direction: column; align-items: center; justify-content: center; width: 68px; height: 66px; border-radius: 16px; flex: none;
    font-size: 1.7rem; font-weight: 900; line-height: 1; color: #1a1204; background: linear-gradient(160deg, var(--g1), var(--g2)); box-shadow: 0 8px 24px rgba(212, 154, 42, 0.35); }
.hof-season-no small { font-size: 0.75rem; font-weight: 800; letter-spacing: 0.04em; text-transform: uppercase; margin-bottom: 3px; }
.hof-season-head h3 { margin: 0; font-size: 1.5rem; font-weight: 900; line-height: 1.15; }
.hof-season-head p { margin: 2px 0 0; color: var(--muted); font-size: 0.92rem; }
.hof-mine { margin-left: auto; padding: 7px 14px; border-radius: 999px; font-size: 0.9rem; font-weight: 600; color: #fff;
    background: rgba(249, 115, 22, 0.14); border: 1px solid rgba(249, 115, 22, 0.45); }
.hof-mine b { color: var(--orange-soft); }

/* The podium: three cards in a row, #1 first and widest; on a phone one under the other, still #1 first */
.hof-podium { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1.25fr 1fr 1fr; gap: 16px; align-items: stretch; }
.hof-pod { --m1: var(--g1); --m2: var(--g2); position: relative; display: flex; align-items: center; gap: 16px; padding: 18px; border-radius: 18px; min-width: 0;
    background: linear-gradient(150deg, color-mix(in srgb, var(--m1) 16%, transparent), rgba(255, 255, 255, 0.025) 70%);
    border: 1px solid color-mix(in srgb, var(--m1) 42%, transparent);
    animation: hof-rise .6s cubic-bezier(.2, .8, .2, 1) both; animation-delay: calc(var(--i) * 120ms); }
.hof-pod--2 { --m1: var(--s1); --m2: var(--s2); }
.hof-pod--3 { --m1: var(--b1); --m2: var(--b2); }
.hof-pod--1 { box-shadow: 0 0 50px color-mix(in srgb, var(--g1) 18%, transparent); }
.hof-pod.is-me { outline: 2px solid var(--orange); outline-offset: 2px; }
.hof-pod-ava { position: relative; flex: none; width: 76px; height: 76px; }
.hof-pod--1 .hof-pod-ava { width: 96px; height: 96px; }
.hof-pod-ava img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; background: #1a1030;
    border: 3px solid var(--m1); box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.35), 0 0 24px color-mix(in srgb, var(--m1) 45%, transparent); }
.hof-medal { position: absolute; right: -4px; bottom: -4px; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%;
    font-size: 0.95rem; font-weight: 900; line-height: 1; color: #281604; background: linear-gradient(180deg, var(--m1), var(--m2));
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.45), inset 0 0 0 1.5px rgba(255, 255, 255, 0.55); font-variant-numeric: tabular-nums; }
.hof-pod--1 .hof-medal { width: 36px; height: 36px; font-size: 1.1rem; }
.hof-pod-text { display: flex; flex-direction: column; min-width: 0; gap: 2px; }
.hof-pod-tag { font-size: 0.75rem; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: var(--m1); }
.hof-pod-name { font-size: 1.12rem; font-weight: 800; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hof-pod--1 .hof-pod-name { font-size: 1.35rem; }
a.hof-pod-name:hover { color: var(--orange-soft); }
.hof-pod-xp { font-weight: 700; font-variant-numeric: tabular-nums; }
.hof-pod-xp small { color: var(--muted); font-weight: 500; }
@keyframes hof-rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

.hof-season-foot { display: grid; grid-template-columns: minmax(0, 1fr) minmax(220px, 300px); gap: 16px; align-items: start; margin-top: 16px; }
.hof-season-foot:has(> :only-child) { grid-template-columns: 1fr; }
.hof-rest { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.hof-rest li { display: flex; align-items: center; gap: 10px; padding: 8px 12px; border-radius: 12px; min-width: 0;
    background: rgba(255, 255, 255, 0.035); border: 1px solid var(--line); }
.hof-rest li.is-me { border-color: rgba(249, 115, 22, 0.55); background: rgba(249, 115, 22, 0.08); }
.hof-rest-n { flex: none; min-width: 30px; font-weight: 800; color: var(--v1); font-variant-numeric: tabular-nums; }
.hof-rest img { width: 28px; height: 28px; border-radius: 50%; object-fit: cover; flex: none; background: #1a1030; }
.hof-rest-name { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 600; }
a.hof-rest-name:hover { color: var(--orange-soft); }
.hof-you { font-style: normal; font-size: 0.75rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: var(--orange-soft); }
.hof-rest-xp { flex: none; color: var(--muted); font-size: 0.88rem; font-variant-numeric: tabular-nums; }

.hof-crown { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 16px;
    background: linear-gradient(150deg, color-mix(in srgb, var(--tc) 16%, transparent), rgba(255, 255, 255, 0.02));
    border: 1px solid color-mix(in srgb, var(--tc) 45%, transparent); }
.hof-crown-emb { flex: none; width: 52px; height: 52px; object-fit: contain; font-size: 2rem; display: grid; place-items: center; filter: drop-shadow(0 0 12px color-mix(in srgb, var(--tc) 55%, transparent)); }
.hof-crown > span { display: flex; flex-direction: column; min-width: 0; }
.hof-crown small { font-size: 0.75rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: var(--tc); }
.hof-crown b { font-size: 1.15rem; }
.hof-crown em { font-style: normal; font-size: 0.85rem; color: var(--muted); }

.hof-share { margin-top: 18px; }
.hof-share-open { display: inline-flex; align-items: center; gap: 8px; }
.hof-share-open.is-open { background: rgba(255, 255, 255, 0.08); box-shadow: none; border: 1px solid var(--line-strong); }
.hof-rs { margin-top: 14px; }
.hof-rs[hidden] { display: none; }
.hof-empty { margin: 0; padding: 22px; border-radius: 16px; color: var(--muted); background: var(--panel); border: 1px dashed var(--line-strong); }

/* ---------- Site of the Week ---------- */
.hof-sotw { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; }
.hof-site-go { display: flex; align-items: center; gap: 14px; height: 100%; padding: 14px 16px; border-radius: 16px;
    background: rgba(255, 255, 255, 0.04); border: 1px solid var(--line); transition: border-color .2s ease, transform .2s ease, background .2s ease; }
a.hof-site-go:hover { border-color: rgba(251, 146, 60, 0.55); background: rgba(251, 146, 60, 0.07); transform: translateY(-2px); }
.hof-site.is-latest .hof-site-go { border-color: rgba(251, 146, 60, 0.45); background: linear-gradient(150deg, rgba(251, 146, 60, 0.12), rgba(255, 255, 255, 0.03)); }
.hof-site-ava { position: relative; flex: none; width: 56px; height: 56px; border-radius: 14px;
    background: linear-gradient(150deg, rgba(251, 146, 60, 0.35), rgba(124, 58, 237, 0.35)) center / cover, #1a1030; }
.hof-site-ava img { width: 56px; height: 56px; border-radius: 14px; object-fit: cover; background: #1a1030; border: 1px solid var(--line-strong); }
.hof-site-ava i { position: absolute; right: -6px; bottom: -6px; display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%;
    font-size: 0.8rem; font-style: normal; background: #1b0f2e; border: 1px solid rgba(251, 146, 60, 0.6); }
.hof-site-text { display: flex; flex-direction: column; min-width: 0; }
.hof-site-text small { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: #fb923c; }
.hof-site-text b { font-size: 1.02rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hof-site-text em { font-style: normal; font-size: 0.86rem; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hof-more { margin-top: 16px; }

/* ---------- /xp: the ceremony after a season closes ---------- */
.hof-ceremony { position: relative; isolation: isolate; }
.hof-ceremony-glow { position: absolute; inset: -30px -10px auto; height: 260px; z-index: -1; pointer-events: none;
    background: radial-gradient(600px 220px at 20% 30%, rgba(250, 204, 21, 0.16), transparent 70%), radial-gradient(500px 200px at 85% 10%, rgba(249, 115, 22, 0.12), transparent 70%); }
.hof-ceremony .section-head { align-items: end; }
.hof-ceremony-go { display: inline-flex; align-items: center; gap: 8px; }
.hof-ceremony-go span { transition: transform .2s ease; }
.hof-ceremony-go:hover span { transform: translateX(3px); }

/* ---------- /xp: the final hours of the season ---------- */
.hof-final { display: flex; align-items: center; gap: 18px; margin: -12px 0 24px; padding: 16px 20px; border-radius: 18px;
    background: linear-gradient(120deg, rgba(249, 115, 22, 0.2), rgba(250, 204, 21, 0.06) 60%, rgba(255, 255, 255, 0.02));
    border: 1px solid rgba(249, 115, 22, 0.5); box-shadow: 0 0 40px rgba(249, 115, 22, 0.12); }
.hof-final-flag { font-size: 2rem; line-height: 1; flex: none; }
.hof-final-text { display: flex; flex-direction: column; flex: 1 1 220px; min-width: 0; line-height: 1.35; }
.hof-final-text small { font-size: 0.76rem; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: var(--orange-soft); }
.hof-final-text b { font-size: 1.1rem; }
.hof-final-text span { color: var(--muted); font-size: 0.92rem; }
.hof-final-clock { margin-left: auto; flex: none; display: inline-flex; align-items: baseline; gap: 2px; padding: 10px 16px; border-radius: 14px;
    background: rgba(0, 0, 0, 0.3); border: 1px solid rgba(255, 255, 255, 0.12); font-variant-numeric: tabular-nums; font-size: 1.5rem; font-weight: 900; white-space: nowrap; }
.hof-final-clock small { font-size: 0.8rem; font-weight: 700; color: var(--muted); margin-right: 4px; }
.hof-final-clock.is-done { font-size: 1rem; color: var(--orange-soft); }

/* ---------- Narrow screens ---------- */
@media (max-width: 900px) {
    .hof-podium { grid-template-columns: 1fr; }
    .hof-season-foot { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
    .hof-season { padding: 18px 16px; border-radius: 18px; }
    .hof-season-head { gap: 12px; }
    .hof-season-no { width: 60px; height: 58px; font-size: 1.4rem; }
    .hof-season-head h3 { font-size: 1.25rem; }
    .hof-mine { margin-left: 0; }
    .hof-rest { grid-template-columns: 1fr; }
    .hof-pod { padding: 14px; }
    .hof-pod-ava { width: 64px; height: 64px; }
    .hof-pod--1 .hof-pod-ava { width: 78px; height: 78px; }
    .hof-now { gap: 12px 16px; }
    .hof-now-go { margin-left: 0; }
    .hof-final { flex-wrap: wrap; gap: 12px 14px; }
    .hof-final-clock { margin-left: 0; width: 100%; justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
    .hof-pod, .hof-season:target { animation: none; }
    .hof-now-dot { animation: none; }
    .hof-now, a.hof-site-go, .hof-now-go span, .hof-ceremony-go span { transition: none; }
}
