/* Shared by every page on the site: link this in the <head> of each new page */
body::before {
  content: "";
  position: fixed;
  inset: 0 0 0 270px;   /* start at the right edge of the menu strip so the logo centres in the open space */
  z-index: -1;
  background: #eee url("bg.jpg") center / cover no-repeat;
}
/* White content panel so text and the logo stay readable over the wallpaper */
.panel {
  background: rgba(255, 255, 255, .93);
  border-radius: 10px;
  box-shadow: 0 10px 30px -12px rgba(6, 28, 53, .45);
}

/* ---------- Left store menu: slim black strip (shared by every page) ---------- */
.shop {
  flex: 1;
  width: 100%;
  display: flex;
  align-items: stretch;
}
.content { flex: 1; min-width: 0; padding: 24px; }

.sidebar {
  flex: none;
  width: 270px;
  background: #000;
  color: #fff;
  border-top: 3px solid #f26b21;
  font-family: "Space Grotesk", "Helvetica Neue", Arial, sans-serif;
}
.sidebar .brand { display: none; }
.sidebar .menu { position: sticky; top: 0; padding: 28px 0 28px 0; }
.sidebar .group + .group { margin-top: 22px; padding-top: 22px; border-top: 1px solid #262626; }
.sidebar ul { list-style: none; margin: 0; padding: 0; }
.sidebar a {
  display: flex; align-items: baseline; gap: 14px;
  padding: 15px 26px;
  color: #fff; text-decoration: none;
  font-weight: 500; font-size: 1.08rem; letter-spacing: -.005em; line-height: 1.25;
  position: relative;
  transition: transform .25s ease, color .2s;
}
.sidebar a .n {
  font-size: .7rem; font-weight: 500; letter-spacing: .08em; color: #6b6b6b;
  transition: color .2s;
}
.sidebar a::before { /* accent line that grows on hover */
  content: ""; position: absolute; left: 0; top: 50%; height: 2px; width: 0;
  background: #f26b21; transition: width .25s ease;
}
.sidebar a:hover, .sidebar a[aria-current="page"] { transform: translateX(6px); }
.sidebar a:hover::before, .sidebar a[aria-current="page"]::before { width: 18px; }
.sidebar a:hover .n, .sidebar a[aria-current="page"] .n { color: #f26b21; }
.sidebar a:focus-visible { outline: 2px solid #f26b21; outline-offset: -2px; }

@media (max-width: 800px) {
  .shop { flex-direction: column; }
  .sidebar { width: 100%; }
  .sidebar .brand { display: none; }          /* no Menu button: the menu is always visible */
  .sidebar .menu {
    position: static; padding: 0;
    display: grid; grid-template-columns: 1fr 1fr;
  }
  .sidebar .group, .sidebar ul { display: contents; }
  .sidebar .group + .group { margin: 0; padding: 0; border: 0; }
  .sidebar li { border-bottom: 1px solid #262626; border-left: 1px solid #262626; }
  .sidebar a { padding: 16px 16px; font-size: 1rem; gap: 10px; height: 100%; }
  .sidebar a:hover, .sidebar a[aria-current="page"] { transform: none; }
  .sidebar a:hover::before, .sidebar a[aria-current="page"]::before { width: 0; }
  .sidebar a[aria-current="page"] { box-shadow: inset 3px 0 0 #f26b21; }
  .content { padding: 12px; }
}

@media (max-width: 800px) { body::before { inset: 0; } }

/* ---------- Live scores + news ticker (under the main banner) ---------- */
.ticker { width: 100%; height: 8cm; display: flex; flex-direction: column; background: #000; color: #fff; font-family: "Space Grotesk", "Helvetica Neue", Arial, sans-serif; }
.ticker .row { display: flex; align-items: stretch; flex: 1; min-height: 0; border-bottom: 1px solid #262626; }
.ticker .tag {
  flex: none; width: 150px; background: #f26b21; color: #fff;
  display: flex; flex-direction: column; justify-content: center; padding: 0 14px;
  font-size: 1.35rem; font-weight: 500; line-height: 1.2;
}
.ticker .tag small { font-size: .75rem; opacity: .85; font-weight: 400; }
.ticker .track { flex: 1; min-width: 0; overflow: hidden; display: flex; align-items: center; }
.ticker .belt { display: flex; flex: none; white-space: nowrap; animation: belt 60s linear infinite; }
.ticker .track:hover .belt { animation-play-state: paused; }
@keyframes belt { to { transform: translateX(-50%); } }
.ticker .item { padding: 0 48px; font-size: 1.9rem; color: #fff; text-decoration: none; position: relative; }
.ticker .item::after { content: ""; position: absolute; right: 0; top: 50%; width: 8px; height: 8px; margin-top: -4px; background: #f26b21; border-radius: 50%; }
.ticker a.item:hover { color: #f26b21; }
.ticker .item .src { color: #f26b21; font-size: .8rem; font-weight: 500; margin-right: 12px; letter-spacing: .04em; }
.ticker .item b { font-weight: 500; }
.ticker .item .st { color: #9a9a9a; margin-left: 14px; font-size: 1.15rem; }
.ticker .item .live { color: #f26b21; }
.ticker .msg { padding: 0 24px; color: #9a9a9a; font-size: 1.1rem; }
@media (prefers-reduced-motion: reduce) {
  .ticker .belt { animation: none; }
  .ticker .track { overflow-x: auto; }
}
@media (max-width: 800px) {
  .ticker .tag { width: 96px; padding: 0 12px; font-size: .95rem; }
  .ticker .tag small { font-size: .65rem; }
  .ticker .item { font-size: 1.3rem; padding: 0 30px; }
}
