/* Naruto theme "hokage-rock" (docs/design-system.md "Naruto theme layer"): the Hall of Fame as the Hokage Rock
   monument. The list sits on a dark granite face; every tier is a band carved into the stone, cut in its own role
   colour (tester tiers keep their graded neutral stone); every tester, donator and staff member is a stone plaque with
   a chiselled edge; the top three get bigger plaques with their medals. Stone is CSS only; card art as it is. */
/* a wider metric fallback for the brush font (Shojumaru runs about 20 % wider than Arial Black), so brush titles take
   the same lines before and after the web font arrives (no layout shift); naruto.css's own fallback is narrower */
@font-face { font-family: "Shojumaru Fallback Wide"; src: local("Arial Black"), local("Arial Bold"), local("Arial"); size-adjust: 120%; ascent-override: 80%; descent-override: 22%; line-gap-override: 0%; }
body[data-theme="hokage-rock"] {
  --nk-brush: "Shojumaru", "Shojumaru Fallback Wide", var(--head);
  --theme-accent: #e8c27a;            /* carved gold */
  --theme-accent-2: #f4d99a;
  --theme-chakra: #9fb4cf;
  --theme-cloth: #3a3f48; --theme-cloth-hi: #4c525d; --theme-cloth-lo: #262a31;
  --theme-glow: rgba(232, 194, 122, 0.08); --theme-glow-2: rgba(159, 180, 207, 0.06);
  --theme-texture: var(--nk-leaf-url); --theme-texture-size: 180px; --theme-texture-opacity: 0.03;
  --theme-mark: var(--nk-leaf-url);
  --hr-ink: #f1ece1;                  /* text cut into the stone */
  --hr-ink-2: #cfc9bd;
  --hr-ink-3: #b0aa9e;
  /* dark granite: soft light from the top left, fine grain, flecks */
  --hr-granite:
    radial-gradient(ellipse 70% 50% at 15% 0%, rgba(255, 255, 255, 0.07), transparent 70%),
    radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.035) 0 1px, transparent 1.5px) 0 0 / 23px 23px,
    radial-gradient(circle at 70% 60%, rgba(0, 0, 0, 0.18) 0 1px, transparent 1.6px) 0 0 / 17px 17px,
    repeating-linear-gradient(118deg, rgba(255, 255, 255, 0.012) 0 2px, transparent 2px 11px),
    linear-gradient(180deg, #3a3e45 0%, #2c2f35 100%);
  /* plaques: polished dark stone set into the face (dark, so every role colour on it stays readable) */
  --hr-plaque:
    radial-gradient(ellipse 80% 60% at 20% 0%, rgba(255, 255, 255, 0.06), transparent 70%),
    repeating-linear-gradient(118deg, rgba(255, 255, 255, 0.012) 0 2px, transparent 2px 9px),
    linear-gradient(180deg, #23252a, #1a1b1f);
  --hr-bevel: inset 0 0 0 1px rgba(255, 255, 255, 0.07), inset 1px 1px 0 rgba(255, 255, 255, 0.10), 0 1px 0 rgba(255, 255, 255, 0.10), 0 -1px 0 rgba(0, 0, 0, 0.6);
  --hr-engrave: 0 -1px 0 rgba(0, 0, 0, 0.75), 0 1px 0 rgba(255, 255, 255, 0.12);
}

/* the hero: the cliff face (title carved in the brush font) */
[data-theme="hokage-rock"] .hof-hero { background: radial-gradient(760px 420px at 74% 40%, rgba(232, 194, 122, 0.10), transparent 70%); }
[data-theme="hokage-rock"] .hof-hero h1 { font-family: var(--nk-brush); font-weight: 400; letter-spacing: 0.01em; color: var(--hr-ink); text-shadow: 0 2px 0 rgba(0, 0, 0, 0.55), 0 -1px 0 rgba(255, 255, 255, 0.08); }
[data-theme="hokage-rock"] .hof-hero .hof-text { color: var(--theme-accent); }
[data-theme="hokage-rock"] .hof-hero .xhero-grid { background: none; }
.hr-kicker { margin: 0 0 14px; }
.hr-kicker svg { width: 14px; height: 14px; }
@media (max-width: 600px) { [data-theme="hokage-rock"] .hof-hero h1 { font-size: 2rem; line-height: 1.15; letter-spacing: 0; } }

/* the search / tab bar: a stone ledge above the monument */
[data-theme="hokage-rock"] .hof-bar { background: rgba(22, 24, 28, 0.94); border-bottom-color: rgba(232, 194, 122, 0.2); }
[data-theme="hokage-rock"] .hof-tabs .tab { min-height: 44px; }

/* the monument face */
[data-theme="hokage-rock"] .hof-panel { position: relative; border: 0; border-radius: 4px; background: var(--hr-granite); color: var(--hr-ink-2);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.05), inset 0 0 60px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(0, 0, 0, 0.6), 0 24px 44px -20px rgba(0, 0, 0, 0.9); }
/* the carved leaf at the top right of the face (our own mark, as a shallow cut) */
[data-theme="hokage-rock"] .hof-panel::before { content: ""; position: absolute; right: 18px; top: 14px; width: 120px; height: 120px; pointer-events: none; opacity: 0.08; background: #fff;
  -webkit-mask: var(--nk-leaf-url) center / contain no-repeat; mask: var(--nk-leaf-url) center / contain no-repeat; filter: drop-shadow(0 1px 0 #000); }
[data-theme="hokage-rock"] .hof-head h2 { color: var(--hr-ink); font-family: var(--nk-brush); font-weight: 400; letter-spacing: 0.02em; text-shadow: var(--hr-engrave); }
[data-theme="hokage-rock"] .hof-count, [data-theme="hokage-rock"] .hof-panel .faint { color: var(--hr-ink-3); }
[data-theme="hokage-rock"] .hof-panel .muted, [data-theme="hokage-rock"] .hof-note, [data-theme="hokage-rock"] .hof-filter { color: var(--hr-ink-2); }
[data-theme="hokage-rock"] .hof-panel .sk { background: rgba(255, 255, 255, 0.08); }

/* the tiers: bands cut into the stone, in their role colour (--tc) when they have one */
[data-theme="hokage-rock"] .hof-grp { border-top: 0; margin-top: 10px; }
[data-theme="hokage-rock"] .hof-flat { margin-top: 0; }
[data-theme="hokage-rock"] .hof-grp > summary { position: relative; min-height: 50px; padding: 8px 14px; border-radius: 3px; background: rgba(0, 0, 0, 0.22);
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.55), inset 0 -1px 0 rgba(255, 255, 255, 0.07); color: var(--hr-ink); font-family: var(--nk-brush); font-weight: 400; letter-spacing: 0.03em; text-shadow: var(--hr-engrave); }
[data-theme="hokage-rock"] .hof-grp > summary:hover { background: rgba(0, 0, 0, 0.3); }
[data-theme="hokage-rock"] .hof-grp.hof-tc > summary { box-shadow: inset 4px 0 0 var(--tc), inset 0 2px 4px rgba(0, 0, 0, 0.55), inset 0 -1px 0 rgba(255, 255, 255, 0.07), 0 0 18px -10px var(--tc); }
[data-theme="hokage-rock"] .hof-grp.hof-tc .hof-gl { color: var(--tc); }
[data-theme="hokage-rock"] .hof-gc { background: rgba(0, 0, 0, 0.3); box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.6); color: var(--hr-ink-3); font-family: var(--head); text-shadow: none; }
[data-theme="hokage-rock"] .hof-chev { color: var(--hr-ink-3); }
[data-theme="hokage-rock"] .hof-grp[open] > summary { margin-bottom: 12px; }
[data-theme="hokage-rock"] .hof-fgrp > summary .hof-gl { color: var(--hr-ink-3); }

/* every name: a stone plaque with a chiselled edge (role colour as the plaque's inlay when it has one) */
[data-theme="hokage-rock"] .hof-list { gap: 10px; }
[data-theme="hokage-rock"] .hof-row { border: 0; border-radius: 2px; background: var(--hr-plaque); box-shadow: var(--hr-bevel); }
[data-theme="hokage-rock"] .hof-row.hof-tc { border-left: 0; box-shadow: inset 3px 0 0 var(--tc), var(--hr-bevel); }
[data-theme="hokage-rock"] .hof-n { color: var(--hr-ink); text-shadow: 0 1px 0 rgba(0, 0, 0, 0.6); }
[data-theme="hokage-rock"] .hof-row.hof-tc .hof-n { color: var(--tc); }
[data-theme="hokage-rock"] .hof-rk { color: var(--hr-ink-3); text-shadow: 0 1px 0 rgba(0, 0, 0, 0.6); }
[data-theme="hokage-rock"] .hof-meta, [data-theme="hokage-rock"] .hof-o, [data-theme="hokage-rock"] .hof-rl { color: var(--hr-ink-3); }
[data-theme="hokage-rock"] .hof-chip { color: var(--theme-accent-2); background: rgba(232, 194, 122, 0.08); border-color: rgba(232, 194, 122, 0.3); }
[data-theme="hokage-rock"] .hof-row.hof-former { background: linear-gradient(rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2)), var(--hr-plaque); }

/* the top three: large plaques, medals as they are */
[data-theme="hokage-rock"] .hof-podium { gap: 12px; }
[data-theme="hokage-rock"] .hof-pod { border: 0; border-radius: 3px; background: linear-gradient(135deg, rgba(var(--mc), 0.16), transparent 70%), var(--hr-plaque);
  box-shadow: inset 0 0 0 1px rgba(var(--mc), 0.45), var(--hr-bevel), 0 10px 20px -12px rgba(0, 0, 0, 0.8); }
[data-theme="hokage-rock"] .hof-acc .hof-pod { border-left: 0; box-shadow: inset 3px 0 0 var(--ac), inset 0 0 0 1px rgba(var(--mc), 0.45), var(--hr-bevel), 0 10px 20px -12px rgba(0, 0, 0, 0.8); }
[data-theme="hokage-rock"] .hof-pod .hof-n { font-family: var(--nk-brush); font-weight: 400; letter-spacing: 0.02em; }
[data-theme="hokage-rock"] .hof-place { text-shadow: 0 1px 0 rgba(0, 0, 0, 0.6); }
[data-theme="hokage-rock"] .hof-acc .hof-head { border-bottom-color: var(--ac); }
