/* padelcounter.com's one toolbar (2026-11-25). Source: website/assets/toolbar.css, served from /resources/site/.
   Markup: website/templates/_toolbar.html (every generated page; resources/site/toolbar/<code>.html for the live
   pages, privacy and imprint, put in by toolbar.js). Self-contained: the pages around it bring their own styles
   (site.css, PadelCup's style.css on /account, the live pages' channel.css), so everything here is set explicitly.
   .pc-tb--dark = the live pages' dark look. */

.pc-tb {
  --tb-h: 52px;
  --tb-bg: rgba(251, 251, 253, .82);
  --tb-ink: #1d1d1f;
  --tb-muted: rgba(0, 0, 0, .72);
  --tb-line: rgba(0, 0, 0, .08);
  --tb-hover: rgba(0, 0, 0, .05);
  --tb-menu: rgba(255, 255, 255, .98);
  --tb-menu-line: rgba(0, 0, 0, .08);
  --tb-get-bg: #0071e3;
  --tb-get-ink: #fff;
  --tb-live: #ff2e4c;
  --tb-soon-bg: #fff3d6;
  --tb-soon-ink: #8a5a00;
  --tb-font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Inter", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  position: sticky; top: 0; z-index: 250;
  box-sizing: content-box; height: var(--tb-h); margin: 0;
  background: var(--tb-bg);
  -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--tb-line);
  color: var(--tb-ink);
  font: 400 13px/1.25 var(--tb-font); letter-spacing: -0.01em;
  -webkit-font-smoothing: antialiased;
}
.pc-tb--fixed { position: fixed; left: 0; right: 0; }
.pc-tb--dark, .pc-mm--dark {
  --tb-bg: rgba(12, 14, 19, .9);
  --tb-ink: #eef1f6;
  --tb-muted: #a1a9b8;
  --tb-line: rgba(255, 255, 255, .08);
  --tb-hover: rgba(255, 255, 255, .07);
  --tb-menu: #1b1f28;
  --tb-menu-line: rgba(255, 255, 255, .1);
  --tb-get-bg: #c2f43a;
  --tb-get-ink: #0d1a33;
  --tb-soon-bg: rgba(194, 244, 58, .14);
  --tb-soon-ink: #c2f43a;
}
/* The website in dark (html[data-theme="dark"], auto or picked): the bar and the phone menu go dark too. */
:root[data-theme="dark"] .pc-tb, :root[data-theme="dark"] .pc-mm {
  --tb-bg: rgba(22, 22, 24, .82);
  --tb-ink: #f5f5f7;
  --tb-muted: rgba(255, 255, 255, .72);
  --tb-line: rgba(255, 255, 255, .1);
  --tb-hover: rgba(255, 255, 255, .08);
  --tb-menu: #1d1d1f;
  --tb-menu-line: rgba(255, 255, 255, .12);
  --tb-get-bg: #0a84ff;
  --tb-get-ink: #fff;
  --tb-soon-bg: rgba(255, 214, 10, .16);
  --tb-soon-ink: #ffd60a;
}
:root[data-theme="dark"] .pc-mm:not(.pc-mm--dark) { background: #000; }
:root[data-theme="dark"] .pc-tb-signin { box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .22); }
:root[data-theme="dark"] #pc-toolbar[data-inject]:not([data-theme="dark"]) { background: rgba(22, 22, 24, .82); border-bottom-color: rgba(255, 255, 255, .1); }
:root[data-theme="dark"] .pc-mm-langs a[aria-current="true"] { color: #000; }

/* Appearance: Auto / Light / Dark under the languages (and in the phone menu) */
.pc-tb-theme { display: flex; flex-direction: column; gap: 6px; margin-top: 6px; padding: 10px 12px 6px; border-top: 1px solid var(--tb-menu-line); }
.pc-tb-theme-label { font-size: 12px; font-weight: 600; color: var(--tb-muted); }
.pc-tb-seg { display: flex; gap: 2px; padding: 2px; border-radius: 9px; background: var(--tb-hover); }
.pc-tb-seg button { flex: 1; display: inline-flex; flex-direction: column; align-items: center; gap: 3px; padding: 6px 8px 5px; border-radius: 7px; font-size: 12px; color: var(--tb-ink); white-space: nowrap; }
.pc-tb-theme-icon { width: 16px; height: 16px; flex: none; }
.pc-tb-seg button[data-theme-pick="light"][aria-checked="true"] .pc-tb-theme-icon { color: #f5a300; }
.pc-tb-seg button[data-theme-pick="dark"][aria-checked="true"] .pc-tb-theme-icon { color: #8e8cf3; }
.pc-tb-seg button[aria-checked="true"] { background: var(--tb-menu); box-shadow: 0 1px 3px rgba(0, 0, 0, .18), 0 0 0 .5px var(--tb-menu-line); font-weight: 600; }
.pc-mm-theme { margin-top: 18px; padding: 14px 0 0; max-width: 320px; }
.pc-mm-theme .pc-tb-seg button { flex-direction: row; justify-content: center; gap: 7px; padding: 9px 10px; font-size: 15px; }
.pc-mm-theme .pc-tb-theme-icon { width: 18px; height: 18px; }
:root[data-theme="dark"] .pc-tb-seg button[aria-checked="true"] { background: #3a3a3c; }

/* The injected pages hold the bar's place until toolbar.js has drawn it. */
#pc-toolbar[data-inject] { box-sizing: content-box; position: sticky; top: 0; z-index: 250; height: 52px; background: rgba(251, 251, 253, .82); border-bottom: 1px solid rgba(0, 0, 0, .08); }
#pc-toolbar[data-inject][data-theme="dark"] { background: #0c0e13; border-bottom-color: rgba(255, 255, 255, .08); }

.pc-tb *, .pc-tb *::before, .pc-tb *::after, .pc-mm *, .pc-mm *::before, .pc-mm *::after { box-sizing: border-box; }
.pc-tb a, .pc-mm a { color: inherit; text-decoration: none; }
.pc-tb a:hover, .pc-mm a:hover { text-decoration: none; }
.pc-tb button, .pc-mm button { font: inherit; color: inherit; background: none; border: 0; margin: 0; cursor: pointer; letter-spacing: inherit; }
.pc-tb img, .pc-mm img { display: block; max-width: none; }
.pc-tb svg { display: block; }
.pc-tb :focus-visible, .pc-mm :focus-visible { outline: 2px solid #0071e3; outline-offset: 2px; border-radius: 6px; }
.pc-tb--dark :focus-visible, .pc-mm--dark :focus-visible { outline-color: #c2f43a; }

.pc-tb-inner {
  max-width: 1040px; height: 100%; margin: 0 auto; padding: 0 clamp(16px, 4vw, 44px);
  display: flex; align-items: center; gap: 14px;
}
.pc-tb--dark .pc-tb-inner { max-width: none; padding: 0 16px; }

.pc-tb-logo { display: inline-flex; align-items: center; gap: 8px; flex: 0 0 auto; min-width: 0;
  font: 600 17px/1 -apple-system, BlinkMacSystemFont, "SF Pro Display", "Inter", "Segoe UI", Roboto, sans-serif; letter-spacing: -0.02em; color: var(--tb-ink); }
.pc-tb-logo img { width: 26px; height: 26px; border-radius: 6px; }

.pc-tb-nav { display: flex; align-items: center; gap: 2px; margin-inline-start: 10px; min-width: 0; }
.pc-tb-nav a { display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 10px; border-radius: 8px; white-space: nowrap;
  font-size: 13px; font-weight: 400; color: var(--tb-muted); transition: color .15s, background .15s; }
.pc-tb-nav a:hover { color: var(--tb-ink); background: var(--tb-hover); }
.pc-tb-nav a[aria-current="page"] { color: var(--tb-ink); font-weight: 600; }

.pc-tb-dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--tb-live, #ff2e4c); flex: 0 0 auto;
  box-shadow: 0 0 0 0 rgba(255, 46, 76, .5); animation: pcTbPulse 2s infinite; }
@keyframes pcTbPulse { 0% { box-shadow: 0 0 0 0 rgba(255, 46, 76, .5); } 70% { box-shadow: 0 0 0 6px rgba(255, 46, 76, 0); } 100% { box-shadow: 0 0 0 0 rgba(255, 46, 76, 0); } }
@media (prefers-reduced-motion: reduce) { .pc-tb-dot { animation: none; } }

.pc-tb-actions { display: flex; align-items: center; gap: 6px; margin-inline-start: auto; flex: 0 0 auto; }

/* Language */
.pc-tb-lang { position: relative; }
.pc-tb-lang summary { list-style: none; display: inline-flex; align-items: center; gap: 5px; height: 32px; padding: 0 9px; border-radius: 999px; cursor: pointer;
  font-size: 12.5px; font-weight: 600; color: var(--tb-ink); }
.pc-tb-lang summary::-webkit-details-marker { display: none; }
.pc-tb-lang summary:hover, .pc-tb-lang[open] summary { background: var(--tb-hover); }
.pc-tb-lang summary svg { width: 16px; height: 16px; }
.pc-tb-lang ul { list-style: none; margin: 0; position: absolute; top: calc(100% + 8px); inset-inline-end: 0; min-width: 170px; padding: 6px; border-radius: 14px;
  background: var(--tb-menu); box-shadow: 0 0 0 1px var(--tb-menu-line), 0 12px 40px rgba(0, 0, 0, .18); z-index: 260; }
.pc-tb-lang li { margin: 0; }
.pc-tb-lang li a { display: block; padding: 8px 12px; border-radius: 9px; font-size: 14px; color: var(--tb-ink); }
.pc-tb-lang li a:hover { background: var(--tb-hover); }
.pc-tb-lang li a[aria-current="true"] { font-weight: 600; }

/* Get the app */
.pc-tb-get { display: inline-flex; align-items: center; height: 28px; padding: 0 13px; border-radius: 999px; white-space: nowrap;
  background: var(--tb-get-bg); color: var(--tb-get-ink) !important; font-size: 12.5px; font-weight: 500; }
.pc-tb-get:hover { filter: brightness(1.06); }
.pc-tb-get-short { display: none; }

/* Account: Sign in, or the face with its menu */
.pc-tb-account { position: relative; display: flex; align-items: center; min-width: 30px; }
.pc-tb-account.is-pending { visibility: hidden; }
.pc-tb-signin { display: inline-flex; align-items: center; height: 28px; padding: 0 12px; border-radius: 999px; white-space: nowrap;
  font-size: 12.5px; font-weight: 500; color: var(--tb-ink); box-shadow: inset 0 0 0 1px var(--tb-menu-line); }
.pc-tb--dark .pc-tb-signin { box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .22); }
.pc-tb-signin:hover { background: var(--tb-hover); }
.pc-tb-face-btn { display: inline-flex; align-items: center; gap: 2px; height: 34px; padding: 2px; border-radius: 999px; }
.pc-tb-face-btn:hover { background: var(--tb-hover); }
.pc-tb-chevron { font-size: 10px; color: var(--tb-muted); padding-inline-end: 4px; }
.pc-tb-face { display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto; border-radius: 50%; overflow: hidden; object-fit: cover;
  background: var(--face-bg, #5856d6); color: #fff; font-weight: 600; letter-spacing: 0; }
.pc-tb-face.has-avatar { position: relative; }
.pc-tb-face.has-avatar img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .2s ease; }
.pc-tb-face.has-avatar img.is-ready { opacity: 1; }
@media (prefers-reduced-motion: reduce) { .pc-tb-face.has-avatar img { transition: none; } }
.pc-tb-menu { position: absolute; top: calc(100% + 8px); inset-inline-end: 0; z-index: 270; min-width: 240px; padding: 6px; border-radius: 14px;
  background: var(--tb-menu); color: var(--tb-ink); box-shadow: 0 0 0 1px var(--tb-menu-line), 0 14px 44px rgba(0, 0, 0, .2); }
.pc-tb-menu[hidden] { display: none; }
.pc-tb-menu-head { display: flex; align-items: center; gap: 10px; padding: 8px 10px 10px; }
.pc-tb-menu-head strong { display: block; font-size: 14px; font-weight: 600; }
.pc-tb-menu-head small { display: block; font-size: 12.5px; color: var(--tb-muted); }
.pc-tb-menu hr { border: 0; height: 1px; margin: 4px 6px; background: var(--tb-menu-line); }
.pc-tb-item { display: flex; align-items: center; gap: 8px; width: 100%; padding: 9px 10px; border-radius: 9px; text-align: start; font-size: 14px; color: var(--tb-ink); }
.pc-tb-item:hover { background: var(--tb-hover); }
.pc-tb-item.is-quiet { color: var(--tb-muted); }
.pc-tb-soon { margin-inline-start: auto; padding: 1px 7px; border-radius: 6px; font-size: 11px; font-weight: 600; background: var(--tb-soon-bg); color: var(--tb-soon-ink); }

/* Burger + full-screen menu on phones */
.pc-tb-burger { display: none; width: 40px; height: 40px; padding: 10px; align-items: center; justify-content: center; border-radius: 10px; }
.pc-tb-burger-icon { display: flex; width: 18px; height: 14px; flex-direction: column; justify-content: space-between; }
.pc-tb-burger-icon span { display: block; width: 100%; height: 2px; border-radius: 2px; background: currentColor; }

.pc-mm {
  --tb-ink: #1d1d1f; --tb-muted: rgba(0, 0, 0, .6); --tb-line: rgba(0, 0, 0, .1); --tb-hover: rgba(0, 0, 0, .05); --tb-live: #ff2e4c;
  --tb-get-bg: #0071e3; --tb-get-ink: #fff;
  position: fixed; inset: 0; z-index: 400; display: flex; flex-direction: column; gap: 0; overflow-y: auto;
  padding: 14px 20px 32px; background: #fff; color: var(--tb-ink);
  font: 400 16px/1.35 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Inter", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; letter-spacing: -0.01em;
  transform: translateX(100%); visibility: hidden; transition: transform .3s ease, visibility 0s linear .3s;
}
[dir="rtl"] .pc-mm { transform: translateX(-100%); }
.pc-mm.open { transform: none; visibility: visible; transition: transform .3s ease; }
.pc-mm--dark { background: #0c0e13; }
.pc-mm-top { display: flex; align-items: center; justify-content: space-between; height: 40px; margin-bottom: 14px; }
.pc-mm-close { position: relative; width: 40px; height: 40px; border-radius: 10px; }
.pc-mm-x { position: absolute; inset: 0; margin: auto; width: 18px; height: 18px; }
.pc-mm-x::before, .pc-mm-x::after { content: ""; position: absolute; top: 8px; left: 0; width: 18px; height: 2px; border-radius: 2px; background: currentColor; }
.pc-mm-x::before { transform: rotate(45deg); }
.pc-mm-x::after { transform: rotate(-45deg); }
.pc-mm-account { margin-bottom: 10px; }
.pc-mm-account:empty { display: none; }
.pc-mm-who { display: flex; align-items: center; gap: 12px; padding: 12px; border-radius: 14px; background: var(--tb-hover); }
.pc-mm-who strong { display: block; font-size: 16px; font-weight: 600; }
.pc-mm-who small { display: block; font-size: 13px; color: var(--tb-muted); }
.pc-mm-acct-links { display: flex; flex-direction: column; margin: 6px 0 4px; }
.pc-mm-acct-links a, .pc-mm-acct-links button { display: flex; align-items: center; gap: 8px; width: 100%; padding: 10px 12px; border-radius: 10px; text-align: start; font-size: 16px; color: var(--tb-ink); }
.pc-mm-acct-links .is-quiet { color: var(--tb-muted); }
.pc-mm-signin { display: flex; align-items: center; justify-content: center; height: 44px; border-radius: 12px; font-size: 16px; font-weight: 600;
  background: var(--tb-get-bg); color: var(--tb-get-ink) !important; }
.pc-mm-link { display: flex; align-items: center; gap: 10px; padding: 10px 0; font: 600 26px/1.2 -apple-system, BlinkMacSystemFont, "SF Pro Display", "Inter", "Segoe UI", Roboto, sans-serif; letter-spacing: -0.02em; color: var(--tb-ink); }
.pc-mm-link .pc-tb-dot { width: 10px; height: 10px; }
.pc-mm-head { margin: 22px 0 6px; font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; color: var(--tb-muted); }
.pc-mm-more { display: flex; flex-direction: column; }
.pc-mm-more a { padding: 8px 0; font-size: 17px; color: var(--tb-ink); }
.pc-mm .store-badges { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; align-items: center; }
.pc-mm .store-badge img { height: 40px; width: auto; }
.pc-mm .store-badge.play img { height: 58px; margin: -9px -6px; }
.pc-mm-langs { display: flex; flex-wrap: wrap; gap: 4px 6px; margin-top: 24px; }
.pc-mm-langs a { padding: 5px 9px; border-radius: 999px; font-size: 14px; color: var(--tb-muted); }
.pc-mm-langs a[aria-current="true"] { background: var(--tb-ink); color: #fff; }
.pc-mm--dark .pc-mm-langs a[aria-current="true"] { color: #0c0e13; }
body.pc-mm-open { overflow: hidden; }

@media (max-width: 1060px) {
  .pc-tb-nav { margin-inline-start: 4px; }
  .pc-tb-nav a { padding: 0 8px; }
}
@media (max-width: 900px) {
  .pc-tb-nav { display: none; }
  .pc-tb-burger { display: inline-flex; }
}
@media (max-width: 600px) {
  .pc-tb-inner { gap: 8px; }
  .pc-tb-lang, .pc-tb-get { display: none; }
  .pc-tb-actions { gap: 2px; }
}
@media (max-width: 340px) {
  .pc-tb-logo span { display: none; }
}
