:root {
  --bear: #f4f7fa;
  --ice: #8fd0e8;
  --ice-deep: #4ba3c7;
  --frost: #c5e8f4;
  --navy: #07090c;
  --navy-2: #11151a;
  --ink: #f4f7fa;
  --muted: #93a0ab;
  --steel: #93a0ab;
  --steel-dark: #5c6670;
  --line: rgba(255, 255, 255, 0.1);
  --card: rgba(16, 20, 26, 0.62);
  --led: #8fd0e8;
  --led-dim: #1a3d4c;
  --font: "Manrope", system-ui, sans-serif;
  --display: "Outfit", system-ui, sans-serif;
  --led-font: "Orbitron", var(--display);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; overflow-x: clip; }
body {
  font-family: var(--font);
  background:
    radial-gradient(900px 520px at 15% -10%, rgba(143, 208, 232, 0.16), transparent 50%),
    radial-gradient(800px 480px at 90% 8%, rgba(75, 163, 199, 0.1), transparent 48%),
    linear-gradient(180deg, #07090c 0%, #0b1016 50%, #07090c 100%);
  color: var(--ink);
  min-height: 100vh;
  position: relative;
}
.ice-sheet {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 0;
  opacity: 0.55;
  background:
    radial-gradient(42% 32% at 20% 18%, rgba(143, 208, 232, 0.1), transparent 70%),
    radial-gradient(36% 28% at 82% 72%, rgba(75, 163, 199, 0.08), transparent 70%);
  animation: sheet-drift 28s ease-in-out infinite alternate;
}
@keyframes sheet-drift {
  to { transform: translate3d(2%, 1%, 0) scale(1.04); }
}
body > .topbar, body > main, body > footer, body > .rink-break, body > .veil, body > .rink-mark { position: relative; z-index: 1; }
a { color: var(--frost); text-decoration: none; }
a:hover { color: #fff; }
img { max-width: 100%; display: block; }

.topbar {
  position: sticky; top: 0; z-index: 20;
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; padding: 0.55rem 1.5rem;
  background: rgba(7, 9, 12, 0.62);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(20px);
}
.topbar:after { display: none; }
.brand { display: flex; align-items: center; gap: 0.85rem; color: #fff; }
.brand-mark {
  position: relative;
  width: 78px; height: 78px;
  display: grid; place-items: center;
  flex: 0 0 auto;
}
.brand-mark.compact { width: 72px; height: 72px; }
.brand-mark img {
  width: 78px; height: 78px;
  object-fit: contain;
  border-radius: 0;
  background: transparent;
  filter: drop-shadow(0 0 16px rgba(165, 216, 255, 0.28));
}
.brand-mark.compact img { width: 72px; height: 72px; }
.brand-glow {
  position: absolute;
  inset: 6%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(165,216,255,0.32), transparent 68%);
  z-index: -1;
}
.brand-text strong { display: block; font-family: var(--display); font-size: 1.55rem; letter-spacing: 0.06em; }
.brand-text small { color: var(--ice); letter-spacing: 0.08em; text-transform: uppercase; font-size: 0.72rem; }
.nav { display: flex; gap: 1.15rem; flex-wrap: wrap; }
.nav a {
  position: relative;
  color: rgba(244, 247, 250, 0.72);
  font-weight: 600;
  font-size: 0.94rem;
}
.nav a:after {
  content: "";
  position: absolute; left: 0; right: 0; bottom: -6px;
  height: 2px; border-radius: 2px;
  background: var(--ice);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .28s ease;
}
.nav a.is-active, .nav a:hover { color: #fff; }
.nav a.is-active:after, .nav a:hover:after { transform: scaleX(1); }
.nav-toggle { display: none; background: none; color: #fff; border: 0; font-size: 1.4rem; }

main { width: min(1120px, calc(100% - 2rem)); max-width: 100%; margin: 0 auto; padding: 2rem 0 4rem; }
body.home main, body.has-hero main { width: 100%; max-width: none; padding: 0 0 4rem; }
body.home main > .board,
body.home main > .section,
body.home main > .sponsor-strip,
body.has-hero main > .board,
body.has-hero main > .section,
body.has-hero main > .sponsor-strip { width: min(1120px, calc(100% - 2rem)); margin-left: auto; margin-right: auto; }
body.home main > .jumbo-arena,
body.has-hero main > .jumbo-arena,
body.home main > .section.band,
body.has-hero main > .section.band { width: 100%; max-width: none; }
body.home main > .rink-break,
body.has-hero main > .rink-break,
body.home main > .veil,
body.has-hero main > .veil,
body.home main > .rink-mark,
body.has-hero main > .rink-mark { width: min(720px, calc(100% - 2rem)); margin-left: auto; margin-right: auto; }
.hero-arena {
  position: relative;
  min-height: min(86vh, 780px);
  display: grid;
  align-items: end;
  overflow: hidden;
  margin-bottom: 0;
  isolation: isolate;
}
.hero-banner {
  position: absolute; inset: 0;
  background:
    url("/assets/img/hero-banner.jpg") center 28% / cover no-repeat;
  animation: rink-pan 28s ease-in-out infinite alternate;
  transform: scale(1.08);
}
.hero-mist, .hero-flare { position: absolute; inset: 0; pointer-events: none; }
.hero-mist {
  background:
    linear-gradient(180deg, rgba(5,7,10,0.15) 0%, rgba(5,7,10,0.05) 38%, rgba(5,7,10,0.78) 78%, #05070a 100%),
    radial-gradient(70% 40% at 50% 100%, rgba(165,216,255,0.18), transparent 70%);
}
.hero-flare {
  background: radial-gradient(40% 28% at 50% 8%, rgba(255,255,255,0.28), transparent 70%);
  animation: flare 6s ease-in-out infinite;
}
.hero-copy {
  position: relative;
  z-index: 2;
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto 3.2rem;
  animation: rise 1.1s ease both;
}
.kicker {
  color: var(--ice); font-family: var(--font); letter-spacing: 0.18em;
  text-transform: uppercase; margin: 0 0 0.5rem; font-weight: 700; font-size: 0.78rem;
}
h1, h2, h3 { font-family: var(--display); letter-spacing: -0.02em; margin: 0 0 0.4rem; font-weight: 700; }
h1 { font-size: clamp(2.6rem, 6.4vw, 4.6rem); line-height: 0.96; }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 38rem; }
.hero-actions { display: flex; gap: 0.8rem; margin-top: 1.4rem; }
.ice-dust { position: absolute; inset: 0; pointer-events: none; z-index: 1; overflow: hidden; }
.ice-dust span {
  position: absolute; top: -12px; width: 3px; height: 3px; border-radius: 50%;
  background: #fff; opacity: .35; animation: dust linear infinite;
}
@keyframes dust {
  to { transform: translateY(92vh) translateX(18px); opacity: 0; }
}

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 0.8rem 1.25rem; border-radius: 999px; border: 1px solid transparent;
  font-weight: 700; cursor: pointer;
  transition: transform .25s ease, background .25s ease, box-shadow .25s ease;
}
.btn-primary { background: var(--ice); color: #051018; box-shadow: 0 10px 30px rgba(143, 208, 232, 0.22); }
.btn-primary:hover { background: #fff; color: #051018; transform: translateY(-2px); }
.btn-ghost { border-color: rgba(255,255,255,.28); color: #fff; background: rgba(255,255,255,.04); }
.btn-ghost:hover { background: rgba(255,255,255,.1); }
.btn-danger { background: transparent; color: #ffb4b4; border-color: #8a3a3a; }
.text-link { font-weight: 700; }

.board, .stat-grid, .news-grid, .player-grid, .gallery-grid { display: grid; gap: 1rem; }
.board { grid-template-columns: repeat(3, 1fr); }
.score-card, .player-card, .empty {
  background: var(--card); border: 1px solid var(--line); border-radius: 22px; padding: 1.3rem 1.35rem;
  backdrop-filter: blur(16px);
}
.score { font-family: var(--display); font-size: 3rem; margin: 0.3rem 0; }
.next-list { list-style: none; padding: 0; margin: 0 0 1rem; }
.next-list li { padding: 0.55rem 0; border-bottom: 1px solid var(--line); display: grid; gap: 0.15rem; }
.next-list small, .meta, .note, time { color: var(--muted); }
.facts { list-style: none; padding: 0; margin: 0; }
.facts li { padding: 0.35rem 0; }

.section { margin-top: 3rem; }
.section-head { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; margin-bottom: 1rem; }
.section-head h2 {
  position: relative;
  padding-bottom: 0.35rem;
}
.section-head h2:after {
  content: "";
  position: absolute; left: 0; bottom: 0; width: 3.2rem; height: 2px;
  background: linear-gradient(90deg, var(--ice), transparent);
}
.news-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.news-grid.wide { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.news-card {
  position: relative;
  display: block;
  min-width: 0;
  color: inherit;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 22px;
  overflow: hidden;
  isolation: isolate;
  backdrop-filter: blur(16px);
}
.news-card:hover, .news-card:focus-visible { color: #fff; }
.news-card-media {
  display: block;
  aspect-ratio: 16 / 10;
  background: #0a1b2c;
  overflow: hidden;
}
.news-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform .35s ease;
}
.news-card:hover .news-card-media img,
.news-card:focus-visible .news-card-media img { transform: scale(1.04); }
.news-card-body { display: grid; gap: 0.25rem; padding: 1rem 1.1rem 1.15rem; }
.news-card.has-media .news-card-body {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 2.4rem 1rem 0.95rem;
  background: linear-gradient(180deg, transparent 0%, rgba(7, 20, 34, 0.92) 58%);
}
.news-card.has-media time { color: #c9d7e6; }
.news-card h3 {
  font-size: clamp(1.05rem, 2.1vw, 1.28rem);
  line-height: 1.2;
  margin: 0;
  overflow-wrap: anywhere;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.article-cover {
  margin: 1rem 0 1.2rem;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--line);
}
.article-cover img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; object-position: center top; }
.map {
  height: 320px; border-radius: 18px; overflow: hidden;
  border: 1px solid var(--line); background: #0a1b2c;
}
.map.tall { height: 440px; }
.sponsor-strip { margin-top: 3rem; width: 100%; max-width: 100%; overflow: hidden; }
.sponsor-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 150px), 1fr));
  gap: 0.7rem;
  width: 100%;
  max-width: 100%;
}
.sponsor {
  min-width: 0;
  min-height: 68px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 0.85rem;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #f4f7fb;
  color: var(--navy);
  text-align: center;
  overflow: hidden;
}
.sponsor:hover { color: var(--navy); background: #fff; }
.sponsor img {
  max-width: 100%;
  max-height: 42px;
  width: auto;
  height: auto;
  object-fit: contain;
}

.page-head { margin-bottom: 2rem; }
.article { width: min(760px, 100%); }
.prose { line-height: 1.65; color: #dce7f3; }
.prose p { margin: 0 0 1rem; }
.prose img { border-radius: 12px; margin: 1rem 0; }
.match-list { display: grid; gap: 0.7rem; }
.match-row {
  display: grid; grid-template-columns: 140px 1fr 220px; gap: 1rem;
  background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: 0.95rem 1.05rem;
  backdrop-filter: blur(16px);
}
.match-row.is-upcoming { border-color: rgba(159, 211, 255, 0.4); }
.who { display: flex; align-items: center; gap: 0.7rem; flex-wrap: wrap; }
.who b { font-family: var(--display); font-size: 1.6rem; }
.table-wrap { overflow: auto; border: 1px solid var(--line); border-radius: 14px; }
table { width: 100%; border-collapse: collapse; }
th, td { padding: 0.7rem 0.8rem; text-align: left; border-bottom: 1px solid var(--line); }
.standings tr.is-us { background: rgba(165, 216, 255, 0.12); font-weight: 700; }
.team-cell { display: flex; align-items: center; gap: 0.7rem; }
.team-cell a { color: inherit; }
.player-grid { grid-template-columns: repeat(4, 1fr); }
.player-card { overflow: hidden; }
.player-photo { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 12px; margin-bottom: 0.7rem; }
.avatar {
  width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--ice), #2a5d7a); color: #051018; font-family: var(--display); font-size: 1.3rem;
}
.album-grid, .gallery-grid { display: grid; gap: 1rem; }
.album-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.album-grid.compact { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.album-card {
  position: relative; display: block; color: inherit; border-radius: 18px; overflow: hidden;
  border: 1px solid var(--line); min-height: 220px; background: #0a1218;
}
.album-card-media { display: block; aspect-ratio: 16 / 10; overflow: hidden; }
.album-card-media img, .gallery-shot img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.album-card:hover .album-card-media img, .gallery-shot:hover img { transform: scale(1.06); }
.album-card-body {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 1.8rem 1rem 1rem;
  background: linear-gradient(180deg, transparent, rgba(5,7,10,.92));
}
.album-card-body small { color: var(--ice); letter-spacing: .08em; text-transform: uppercase; font-weight: 700; }
.gallery-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.gallery-shot {
  position: relative; display: block; color: inherit; border-radius: 14px; overflow: hidden;
  aspect-ratio: 4 / 3; background: #0a1218; border: 1px solid var(--line);
}
.gallery-shot span {
  position: absolute; left: 0; right: 0; bottom: 0; padding: .7rem .8rem;
  background: linear-gradient(180deg, transparent, rgba(5,7,10,.88)); color: var(--snow, #f4fbff); font-size: .92rem;
}
.lightbox {
  position: fixed; inset: 0; z-index: 40; display: none; place-items: center;
  background: rgba(5,7,10,.88); padding: 2rem;
}
.lightbox.is-open { display: grid; }
.lightbox img { max-width: min(1100px, 92vw); max-height: 86vh; border-radius: 12px; box-shadow: 0 20px 80px rgba(0,0,0,.5); }
.lightbox button {
  position: absolute; top: 1rem; right: 1rem; background: none; border: 0; color: #fff; font-size: 2rem; cursor: pointer;
}

.footer { position: relative; border-top: 1px solid var(--line); padding: 2.4rem 1rem 3rem; background: rgba(7, 9, 12, 0.72); overflow: hidden; backdrop-filter: blur(16px); }
.footer .sponsor-strip { width: min(1120px, 100%); margin: 1.4rem auto 0; }
.footer-grid { width: min(1120px, 100%); max-width: 100%; margin: 0 auto; display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 1.5rem; }
.footer a, .footer p { display: block; color: var(--muted); margin: 0.25rem 0; }
.copy { text-align: center; color: #6d8298; margin-top: 2rem; }

.admin { display: grid; grid-template-columns: 230px 1fr; min-height: 100vh; background: #08141f; }
.admin .brand img { width: 40px; height: 40px; object-fit: contain; background: transparent; border-radius: 0; }
.admin-side { padding: 1rem; border-right: 1px solid var(--line); background: #061018; }
.admin-side nav { display: grid; gap: 0.35rem; margin-top: 1rem; }
.admin-side a { color: var(--ice); padding: 0.4rem 0.5rem; border-radius: 8px; }
.admin-side a.is-active, .admin-side a:hover { background: rgba(165, 216, 255, 0.14); color: #fff; }
.admin-main { padding: 1.2rem 1.6rem 3rem; }
.admin-top h1 { font-size: 2rem; }
.form, .form.compact { display: grid; gap: 0.8rem; max-width: 860px; margin-bottom: 1.5rem; }
.form label, .login-card label { display: grid; gap: 0.3rem; font-weight: 600; }
.form input, .form textarea, .form select, .login-card input, table input {
  width: 100%; padding: 0.6rem 0.7rem; border-radius: 10px; border: 1px solid var(--line);
  background: #0b1c2d; color: #fff; font: inherit;
}
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.8rem; }
.form-actions { display: flex; gap: 0.8rem; align-items: center; }
.check { display: flex; align-items: center; gap: 0.5rem; }
.inline { display: inline; }
.linkish { background: none; border: 0; color: var(--ice); cursor: pointer; font: inherit; }
.flash { padding: 0.7rem 0.9rem; border-radius: 10px; }
.flash.ok { background: #14351f; }
.flash.error { background: #3a1520; }
.stat-grid { grid-template-columns: repeat(6, 1fr); margin-bottom: 1.2rem; }
.stat-grid article { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 1rem; }
.stat-grid strong { font-family: var(--display); font-size: 2.2rem; display: block; }
.login-body { min-height: 100vh; display: grid; place-items: center; }
.login-card {
  width: min(380px, calc(100% - 2rem)); background: var(--card); border: 1px solid var(--line);
  border-radius: 20px; padding: 1.6rem; display: grid; gap: 0.8rem; text-align: center;
}
.login-card img { margin: 0 auto; border-radius: 50%; background: #fff; }
.hint { color: var(--muted); }

@media (max-width: 900px) {
  .board, .news-grid, .news-grid.wide, .player-grid, .footer-grid, .match-row, .form-grid, .stat-grid, .admin {
    grid-template-columns: minmax(0, 1fr);
  }
  .news-card h3 { font-size: 1.08rem; }
  .sponsor-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sponsor { min-height: 58px; padding: 0.55rem 0.65rem; }
  .sponsor img { max-height: 36px; }
  .nav-toggle { display: block; }
  .brand-mark, .brand-mark img { width: 62px; height: 62px; }
  .brand-text strong { font-size: 1.25rem; }
  .nav { display: none; position: absolute; top: 78px; left: 0; right: 0; padding: 1rem;
    background: #071422; border-bottom: 1px solid var(--line); }
  .nav.is-open { display: grid; }
  .gallery-grid, .album-grid, .album-grid.compact { grid-template-columns: 1fr 1fr; }
  .hero-arena { min-height: 72vh; }
}

@keyframes rink-pan {
  from { transform: scale(1.06) translateY(0); }
  to { transform: scale(1.12) translateY(-2%); }
}
@keyframes flare {
  0%, 100% { opacity: .55; }
  50% { opacity: 1; }
}
@keyframes rise {
  from { opacity: 0; transform: translateY(22px); }
  to { opacity: 1; transform: none; }
}
.score-card, .news-card, .album-card, .player-card, .featured-match, .team-card {
  animation: rise .7s ease both;
}

.ice-title h1 { letter-spacing: 0.04em; }
.featured-wrap { margin-top: 1.2rem; }
.featured-match {
  position: relative;
  display: grid;
  gap: 0.4rem;
  padding: 1.4rem 1.3rem 1.2rem;
  border-radius: 22px;
  overflow: hidden;
  color: inherit;
  border: 1px solid rgba(165, 216, 255, 0.35);
  background:
    radial-gradient(80% 120% at 50% -20%, rgba(165,216,255,0.18), transparent 50%),
    linear-gradient(180deg, rgba(8,18,28,0.95), rgba(5,10,16,0.95));
}
.featured-match.is-next {
  box-shadow: 0 0 0 1px rgba(165,216,255,0.35), 0 12px 40px rgba(165,216,255,0.12);
  animation: pulse-ice 2.8s ease-in-out infinite;
}
.featured-rink {
  position: absolute; inset: 12% 8%;
  border: 2px solid rgba(165,216,255,0.16);
  border-radius: 46%;
  pointer-events: none;
}
.featured-rink:before, .featured-rink:after {
  content: ""; position: absolute; inset: 28% 46%;
  border: 2px solid rgba(165,216,255,0.14); border-radius: 50%;
}
.featured-teams {
  display: grid;
  grid-template-columns: auto 1fr auto 1fr auto;
  gap: 0.7rem;
  align-items: center;
  position: relative;
  z-index: 1;
}
.featured-name { font-family: var(--display); font-size: 1.5rem; letter-spacing: 0.03em; }
.featured-score {
  font-family: var(--display); font-size: 2.6rem; min-width: 4.2rem; text-align: center;
  color: var(--ice);
}
.featured-cta, .featured-meta { position: relative; z-index: 1; color: var(--muted); margin: 0; }
.crest {
  width: 56px; height: 56px; border-radius: 50%;
  display: grid; place-items: center; overflow: hidden;
  background: radial-gradient(circle at 30% 30%, #fff, var(--ice) 42%, #1a3b52);
  color: #051018; font-family: var(--display); font-size: 1.15rem; font-weight: 800;
  border: 2px solid rgba(255,255,255,0.35);
}
.crest.xl { width: 88px; height: 88px; font-size: 1.8rem; }
.crest img { width: 100%; height: 100%; object-fit: contain; background: #0a0b0d; }
.team-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.team-grid.compact { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.team-card {
  display: flex; align-items: center; gap: 0.8rem;
  padding: 0.95rem 1.05rem; border-radius: 20px;
  background: var(--card); border: 1px solid var(--line); color: inherit;
  backdrop-filter: blur(16px);
}
.team-card.is-us { border-color: rgba(165,216,255,0.5); box-shadow: 0 0 24px rgba(165,216,255,0.08); }
.team-card small { display: block; color: var(--muted); }
.team-city { display: block; color: var(--muted); font-weight: 400; }
.team-profile { display: grid; grid-template-columns: 2fr 1fr; gap: 1rem; }
.team-hero-card, .cta-band, .score-card.facts.wide {
  background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 1.2rem 1.3rem;
}
.cta-band { display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.match-row.is-next {
  border-color: var(--ice);
  box-shadow: 0 0 0 1px rgba(165,216,255,0.25), 0 8px 28px rgba(165,216,255,0.12);
  background:
    linear-gradient(90deg, rgba(165,216,255,0.12), transparent 28%),
    var(--card);
}
.next-flag {
  display: inline-block; margin-top: 0.25rem;
  color: var(--ice); font-style: normal; font-weight: 800; letter-spacing: 0.06em;
  text-transform: uppercase; font-size: 0.72rem;
}
.rink-frame { position: relative; }
.rink-frame:before { display: none; }
.match-chip {
  display: inline-block; padding: 0.35rem 0.7rem; border-radius: 999px;
  border: 1px solid var(--line); background: rgba(165,216,255,0.08);
}
.block-image img { width: 100%; border-radius: 18px; border: 1px solid var(--line); }
.block-image figcaption { color: var(--muted); margin-top: 0.4rem; }
.section.rink { position: relative; }
.section.rink:before { display: none; }

.builder-form { max-width: 980px; }
.builder-head { margin-top: 0.6rem; }
.builder-add { display: flex; flex-wrap: wrap; gap: 0.45rem; margin: 0.6rem 0 1rem; }
.builder-add .btn { padding: 0.4rem 0.7rem; font-size: 0.86rem; }
.builder { display: grid; gap: 0.8rem; }
.builder-block {
  background: #07141f; border: 1px solid var(--line); border-radius: 14px; padding: 0.9rem 1rem;
  display: grid; gap: 0.6rem;
}
.builder-block header { display: flex; justify-content: space-between; align-items: center; }
.builder-tools { display: flex; gap: 0.3rem; }
.builder-tools button {
  background: #0b1c2d; color: var(--ice); border: 1px solid var(--line);
  border-radius: 8px; width: 2rem; height: 2rem; cursor: pointer;
}
.fallback-html { color: var(--muted); }
.admin-actions { display: flex; flex-wrap: wrap; gap: 0.7rem; }

.rink-break { display: none; }
.snow-fall { display: none; }
.footer-brand { display: flex; flex-direction: column; align-items: stretch; gap: 0.9rem; }
.footer-brand-row { display: flex; align-items: center; gap: 0.8rem; }
.footer .brand-mark img { filter: drop-shadow(0 0 12px rgba(165,216,255,0.22)); }

@keyframes pulse-ice {
  0%, 100% { box-shadow: 0 0 0 1px rgba(165,216,255,0.28), 0 10px 30px rgba(165,216,255,0.08); }
  50% { box-shadow: 0 0 0 2px rgba(165,216,255,0.5), 0 14px 40px rgba(165,216,255,0.18); }
}

.site-progress {
  position: fixed; top: 0; left: 0; right: 0; z-index: 80; height: 3px;
  background: transparent; pointer-events: none;
}
.site-progress span {
  display: block; height: 100%; width: 0;
  background: linear-gradient(90deg, #8fd0e8, #5ee4c8, #8fd0e8);
  background-size: 200% 100%;
  animation: site-load 1.1s ease-out forwards, sync 1.4s linear infinite;
}
.site-progress.is-done span { width: 100%; opacity: 0; transition: opacity .4s ease .1s; }
@keyframes site-load { from { width: 8%; } to { width: 92%; } }

.match-card-vs {
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: .6rem;
  padding: 1.1rem 1rem .4rem; background:
    radial-gradient(80% 120% at 20% 0%, rgba(143,208,232,.16), transparent 55%),
    radial-gradient(80% 120% at 80% 0%, rgba(94,228,200,.1), transparent 55%),
    #0a1520;
}
.match-card-vs .team-mark { width: 56px; height: 56px; justify-self: center; }
.match-card-mid { text-align: center; }
.match-card-mid em { display: block; letter-spacing: .16em; text-transform: uppercase; font-size: .68rem; color: #8fd0e8; }
.vs-word, .vs-score { font-family: Orbitron, sans-serif; font-size: 1.35rem; }
.match-card .news-card-body p { margin: .2rem 0 0; color: #c9d7e6; font-size: .92rem; }
.match-row { display: grid; grid-template-columns: 7rem 1fr auto; gap: .7rem; align-items: center; color: inherit; text-decoration: none; padding: .7rem 0; border-bottom: 1px solid var(--line); }
.match-row .who { display: flex; align-items: center; gap: .4rem; flex-wrap: wrap; }
.story-page { padding-top: 1rem; }
.story-wrap { max-width: 46rem; margin: 0 auto; display: grid; gap: .8rem; }
.story-wrap h1 { margin: 0; font-size: clamp(1.6rem, 4vw, 2.4rem); }
.story-meta { color: var(--muted); }
.story-cover img, .player-cover img { width: 100%; border-radius: 18px; }
.story-body .rich { display: grid; gap: .8rem; line-height: 1.55; }
.story-body .rich img { max-width: 100%; border-radius: 12px; }
.match-hero { display: flex; align-items: center; justify-content: center; gap: 1.2rem; padding: 1rem 0 1.4rem; }
.match-hero-mid { text-align: center; }
.match-hero-mid em { display: block; letter-spacing: .14em; text-transform: uppercase; color: #8fd0e8; font-size: .72rem; }
.match-hero-mid strong { font-family: Orbitron, sans-serif; font-size: 2rem; }
.gallery-shots { display: grid; grid-template-columns: repeat(auto-fill, minmax(9rem, 1fr)); gap: .6rem; }
.gallery-shot { display: block; aspect-ratio: 1; overflow: hidden; border-radius: 12px; }
.player-card { text-decoration: none; color: inherit; }

@media (max-width: 900px) {
  .featured-teams, .team-grid, .team-grid.compact, .team-profile, .cta-band, .stat-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .featured-teams { grid-template-columns: 1fr; text-align: center; justify-items: center; }
}
