/* The sections (owner 2026-11-14): the section entry pages' look, from the "Padelapu Entry Pages" canvas.
   Desktop: 1280 px at most, body 14 px, two independent columns. Phone: one column, the shell's bottom bar below. */
:root { --sp-bg: #11141a; --sp-card: #191d26; --sp-line: #2b313d; --sp-text: #f4f4f1; --sp-mute: #a3a9b6; --sp-y: #f3e42d;
  --sp-cond: 'Barlow Condensed', 'Roboto Condensed', 'Arial Narrow', sans-serif-condensed, system-ui, sans-serif; }
* { box-sizing: border-box; }
body { margin: 0; background: var(--sp-bg); color: var(--sp-text); font: 400 14px/1.45 system-ui, -apple-system, "Segoe UI", sans-serif; }
a { color: inherit; text-decoration: none; }
.sp-wrap { max-width: 1280px; margin: 0 auto; padding: 24px 28px 48px; }
.sp-h1 { margin: 0 0 16px; font: 800 38px/.95 var(--sp-cond); font-stretch: condensed; text-transform: uppercase; }
.sp-h2 { margin: 0 0 4px; font: 800 21px/1 var(--sp-cond); font-stretch: condensed; text-transform: uppercase; }
.sp-cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; align-items: start; }
.sp-st { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.sp-cd { display: flex; flex-direction: column; padding: 18px 20px; background: var(--sp-card); border: 1px solid var(--sp-line); border-radius: 14px; }
.sp-row { display: flex; align-items: center; gap: 12px; min-height: 52px; padding: 10px 0; border-top: 1px solid var(--sp-line); }
.sp-h2 + .sp-row, .sp-cd > .sp-row:first-child { border-top: 0; }
.sp-row:hover .sp-d { color: var(--sp-y); }
.sp-gr { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.sp-d { font: 700 17px/1.15 var(--sp-cond); font-stretch: condensed; }
.sp-mu { color: var(--sp-mute); font-size: 13px; }
.sp-arrow { color: var(--sp-mute); font-size: 22px; line-height: 1; }
.sp-lk { color: #6cb8ff; text-decoration: underline; font-size: 13px; }
.sp-who { flex-direction: row; align-items: center; gap: 14px; margin-bottom: 14px; }
.sp-av { flex: none; width: 56px; height: 56px; display: grid; place-items: center; border-radius: 50%; background: var(--sp-y); color: #15170a;
  font: 800 26px/1 var(--sp-cond); }
.sp-menu { padding-top: 4px; padding-bottom: 4px; }
.sp-menu label.sp-row { justify-content: space-between; }
.sp-menu select { min-height: 40px; max-width: 180px; padding: 0 8px; border-radius: 8px; border: 1px solid #4a5160; background: var(--sp-bg);
  color: var(--sp-text); font: inherit; }
.sp-out { color: #ff8a80; }
button.sp-row { width: 100%; background: none; border: 0; border-top: 1px solid var(--sp-line); color: inherit; font: inherit; text-align: left; cursor: pointer; }
/* Entry page blocks: buttons, chips of times and days, seats, the top row */
.sp-ey { font: 700 13px/1.2 var(--sp-cond); font-stretch: condensed; letter-spacing: .08em; text-transform: uppercase; color: var(--sp-y); }
.sp-hb { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.sp-cd { gap: 10px; }
.sp-hot { border: 2px solid var(--sp-y); }
.sp-bt, .sp-bt2 { min-height: 40px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 6px 16px;
  border-radius: 10px; font: 800 16px/1.05 var(--sp-cond); font-stretch: condensed; letter-spacing: .03em; text-transform: uppercase;
  text-align: center; cursor: pointer; }
.sp-bt { background: var(--sp-y); color: #15170a; border: 0; }
.sp-bt2 { background: none; color: var(--sp-text); border: 1px solid #4a5160; }
.sp-bt2.on { border-color: var(--sp-y); }
.sp-sm { min-height: 36px; font-size: 15px; padding: 4px 14px; }
.sp-xs { min-height: 34px; font-size: 14px; padding: 2px 12px; flex: none; }
.sp-gh { display: flex; align-items: center; gap: 12px; }
.sp-btns { display: flex; flex-wrap: wrap; gap: 8px; }
.sp-btns > * { flex: 1 1 140px; }
.sp-btns > .sp-wide, .sp-game .sp-wide { flex-basis: 100%; }
.sp-btns > .pa-tip { flex: 0 0 auto; align-self: center; }   /* PA-1487: Join now's tip keeps its size */
.sp-slots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.sp-slot { min-height: 52px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; padding: 8px 4px;
  border-radius: 10px; border: 2px solid #2e3442; background: #1f2430; color: var(--sp-text); cursor: pointer; font: 700 15px/1.1 var(--sp-cond); }
.sp-slot[aria-pressed="true"] { border-color: var(--sp-y); background: rgba(243, 228, 45, .12); }
.sp-spots { color: var(--sp-y); font-size: 13px; font-weight: 600; }
.sp-game { flex-wrap: wrap; }
.sp-game > * { flex: 1 1 100%; }
.sp-game > .sp-bt { flex: 0 1 auto; }
.sp-seats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.sp-seat { display: flex; flex-direction: column; align-items: center; gap: 5px; padding: 9px 2px; background: #1f2430; border: 1px solid #2e3442;
  border-radius: 10px; font: 600 14px/1 var(--sp-cond); }
.sp-seat .sp-av { width: 32px; height: 32px; font-size: 16px; background: #3a4150; color: var(--sp-text); }
.sp-seat.me .sp-av { background: var(--sp-y); color: #15170a; }
.sp-seat.sp-open { background: none; border: 2px dashed var(--sp-y); color: var(--sp-y); }
.sp-seat.sp-open .sp-av { background: none; border: 2px solid var(--sp-y); color: var(--sp-y); }
.sp-inner { padding: 2px 14px; border-radius: 10px; background: #1f2430; border: 1px solid #2e3442; }
.sp-big { font: 800 24px/1 var(--sp-cond); }
.sp-err { color: #ff8a80; font-size: 13px; }
.sp-ok { color: #9be29b; font-weight: 600; margin: 0 0 12px; }
/* Katso: the match's picture, its chips, the link box, the clip, the share card, the beta popup */
.sp-vid { position: relative; aspect-ratio: 16 / 9; display: grid; place-items: center; border-radius: 10px; background: #07090c;
  border: 1px solid #2e3442; overflow: hidden; }
/* PA-1471: a picture from the match's video fills the tile; the play button and the title stay on top of it */
.sp-still { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.sp-pb { position: relative; z-index: 1; width: 60px; height: 60px; display: grid; place-items: center; border-radius: 50%; background: var(--sp-y); color: #15170a; }
.sp-still ~ .sp-vl { z-index: 1; color: #fff; text-shadow: 0 1px 4px #000; }
.sp-vl { position: absolute; left: 14px; bottom: 12px; font-size: 12px; color: var(--sp-mute); }
.sp-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.sp-ch { min-height: 32px; display: inline-flex; align-items: center; gap: 6px; padding: 0 12px; border-radius: 999px; background: #1f2430;
  border: 1px solid #2e3442; color: var(--sp-text); font: 700 15px/1 var(--sp-cond); font-stretch: condensed; cursor: pointer; }
.sp-ch[aria-pressed="true"] { border-color: var(--sp-y); color: var(--sp-y); }
.sp-push { margin-left: auto; }
.sp-linkbox { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 10px; background: #1f2430; border: 1px solid #2e3442; }
.sp-url { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 13px; }
.sp-end { align-items: flex-end; flex-wrap: wrap; }
.sp-mt { margin: 2px 0 0; font-size: 30px; }
.sp-top-row { align-items: flex-start; }
.sp-row > .sp-av { width: 32px; height: 32px; font-size: 16px; background: #3a4150; color: var(--sp-text); }
.sp-likes { flex: none; font-size: 13px; color: var(--sp-mute); }
.sp-card { display: flex; align-items: center; gap: 14px; padding: 14px; border-radius: 12px; background: linear-gradient(135deg, #222838, #151922); border: 1px solid #2e3442; }
.sp-big-av { width: 56px; height: 56px; }
.sp-logo { font: 800 15px/1 var(--sp-cond); letter-spacing: .02em; color: var(--sp-mute); }
.sp-logo b { color: var(--sp-y); }
.sp-clip { width: 100%; max-height: 360px; border-radius: 10px; background: #07090c; }
.sp-cardview { max-width: 520px; }
.sp-shot { display: block; width: 100%; max-height: 55vh; object-fit: contain; border-radius: 10px; background: #07090c; }
.sp-two { display: grid; grid-template-columns: 2fr 1fr; gap: 8px; }
.sp-two > :only-child { grid-column: 1 / -1; }
.sp-price { display: flex; align-items: baseline; gap: 8px; }
.sp-y { color: var(--sp-y); }
.sp-c { align-self: center; }
button.sp-lk { background: none; border: 0; padding: 0; cursor: pointer; font-family: inherit; }
.sp-modal { position: fixed; inset: 0; z-index: 2000; display: grid; place-items: center; padding: 16px; background: rgba(0, 0, 0, .6); }
.sp-modal > .sp-cd { width: 100%; max-width: 340px; }
/* Kehity: stat tiles, the big number, the AI teaser with its court */
.sp-tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.sp-tl { display: flex; flex-direction: column; gap: 3px; padding: 12px; background: #1f2430; border: 1px solid #2e3442; border-radius: 10px; }
.sp-bgn { font: 800 30px/1 var(--sp-cond); font-stretch: condensed; }
.sp-xlrow { display: flex; align-items: center; gap: 14px; }
.sp-xl { font: 800 60px/.9 var(--sp-cond); font-stretch: condensed; color: var(--sp-y); }
.sp-ai { display: flex; align-items: center; gap: 16px; }
.sp-gap { gap: 10px; }
.sp-gap > .sp-bt { align-self: flex-start; }
.sp-court { flex: none; width: 46%; max-width: 320px; height: auto; }
@media (max-width: 1000px) { .sp-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 760px) { .sp-ai { flex-direction: column; align-items: stretch; } .sp-court { width: 100%; } }
/* Opi: three cards of one height, the shirt, the guide sections side by side */
.sp-three { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-bottom: 16px; }
.sp-three > .sp-cd { justify-content: space-between; }
.sp-feat { border-color: var(--sp-y); }
.sp-names { color: var(--sp-mute); font-size: 12px; letter-spacing: .02em; }
.sp-start { align-self: flex-start; }
.sp-xl2 { font-size: 52px; }
.sp-shirt { display: grid; place-items: center; min-height: 140px; padding: 10px; border-radius: 10px; background: #0c0e13; }
.sp-shirt.sp-black { background: #111111; } .sp-shirt.sp-navy { background: #14213d; } .sp-shirt.sp-white { background: #ffffff; }
.sp-shirt img { height: 122px; width: auto; max-width: 100%; object-fit: contain; }
.sp-mid { align-items: center; }
.sp-guides { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; align-items: start; }
@media (max-width: 1000px) { .sp-three, .sp-guides { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 760px) { .sp-three, .sp-guides { grid-template-columns: minmax(0, 1fr); } }
/* The profile's edit view */
.sp-edit { max-width: 640px; gap: 14px; }
.sp-fl { display: flex; flex-direction: column; gap: 6px; }
.sp-narrow { max-width: 160px; }
.sp-in { min-height: 44px; padding: 0 12px; border-radius: 10px; border: 1px solid #4a5160; background: var(--sp-bg); color: var(--sp-text); font: 400 15px system-ui, sans-serif; width: 100%; }
.sp-combo { position: relative; }
.sp-sug { position: absolute; left: 0; right: 0; top: 50px; z-index: 6; display: flex; flex-direction: column; padding: 4px 0; background: var(--sp-card);
  border: 1px solid #3a4150; border-radius: 10px; box-shadow: 0 14px 30px rgba(0, 0, 0, .45); }
.sp-sug button { display: flex; align-items: baseline; gap: 8px; min-height: 44px; padding: 0 14px; background: none; border: 0; color: var(--sp-text);
  text-align: left; cursor: pointer; font: inherit; }
.sp-sug button:hover { background: #222734; }
/* Desktop: the top row is the columns below it, so a lone card is as wide as the left column, and buttons are as wide as
   their words; a phone stacks them full width (below) */
.sp-top { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 16px; margin-bottom: 16px; align-items: start; }
.sp-top.two { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
@media (min-width: 761px) {
  .sp-btns > *, .sp-btns > .sp-wide { flex: 0 0 auto; }
  .sp-cd > .sp-bt, .sp-cd > .sp-bt2, .sp-game > .sp-bt, .sp-game > .sp-bt2.sp-wide { align-self: flex-start; flex: 0 0 auto; }
}
/* A section's tabs under its title (owner 2026-11-15): one row; a phone shows them two to a row (PA-1405), never sideways */
.sp-tabs { display: flex; gap: 8px; margin: -4px 0 18px; overflow-x: auto; scrollbar-width: none; scroll-snap-type: x proximity; }
.sp-tabs::-webkit-scrollbar { display: none; }
.sp-tab { flex: none; min-height: 40px; padding: 6px 16px; border-radius: 999px; border: 1px solid #4a5160; background: none; color: var(--sp-text);
  font: 800 16px/1 var(--sp-cond); font-stretch: condensed; letter-spacing: .03em; text-transform: uppercase; white-space: nowrap;
  cursor: pointer; scroll-snap-align: start; }
.sp-tab:hover { border-color: var(--sp-y); }
.sp-tab[aria-selected="true"] { background: var(--sp-y); border-color: var(--sp-y); color: #15170a; }
.sp-tab:focus-visible { outline: 2px solid var(--sp-y); outline-offset: 2px; }
.sp-wide-left { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.sp-wide-left.sp-watch { grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); }
/* A tab with nothing in the right column takes the full width */
.sp-cols:has(> .sp-st:last-child:empty) { grid-template-columns: minmax(0, 1fr); }
.sp-cols > .sp-st:last-child:empty { display: none; }
@media (max-width: 760px) {
  .sp-top, .sp-top.two { grid-template-columns: minmax(0, 1fr); }
  .sp-btns > .sp-lk { flex-basis: 100%; text-align: center; }   /* the beta question under its button */
  .sp-wide-left { display: flex; flex-direction: column; align-items: stretch; }
  .sp-wide-left > .sp-st { display: contents; }   /* one column: the buttons first, then the blocks in page order */
  .sp-wide-left .sp-first { order: -1; }
  .sp-wrap { padding: 16px 16px 24px; }
  .sp-cols { grid-template-columns: minmax(0, 1fr); }
  .sp-h1 { font-size: 34px; }
  .sp-tabs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; margin: -4px 0 16px; overflow: visible; }
  .sp-tab { min-height: 44px; padding: 4px 8px; border-radius: 6px; border-color: #5a6273; background: var(--sp-card); white-space: normal;
    font-size: 15px; line-height: 1.05; text-align: center; }
  .sp-tab[aria-selected="true"] { background: var(--sp-y); border-color: var(--sp-y); }
}
/* Pelaa's gift shop card, until 20 December (app/play.js shopHtml) */
.sp-cd.sp-shop { position: relative; flex-direction: row; align-items: center; gap: 14px; margin-top: 14px; padding-right: 40px; }
.sp-shop-shirt { flex: none; display: grid; place-items: center; width: 64px; height: 64px; border-radius: 10px; background: #111111; }
.sp-shop-shirt img { height: 56px; width: auto; max-width: 56px; object-fit: contain; }
.sp-shop .sp-gr { flex: 1; min-width: 0; }
.sp-shop-x { position: absolute; top: 4px; right: 6px; width: 32px; height: 32px; background: none; border: 0; color: #9a9fa8; font-size: 20px; cursor: pointer; }
/* Pelaa's free days: a day some proposal already offers carries a dot, its tip names the proposals (owner, 2026-11-15) */
.sp-slot { position: relative; }
.sp-slot .sp-prop { position: absolute; top: 6px; right: 7px; width: 8px; height: 8px; border-radius: 50%; background: var(--sp-y); }
.sp-more { justify-self: start; }
/* Osta's best price drops this week (app/buy.js dropsHtml, owner 2026-11-15) */
.sp-drop { flex: none; font: 800 21px/1 var(--sp-cond); font-stretch: condensed; color: #7ee08a; unicode-bidi: isolate; }
/* Pelaa's suggested games (app/play.js suggestionsHtml, PA-1492): the two buttons wrap under the game on a phone */
.sp-game-sug { flex-wrap: wrap; }
.sp-game-sug > .sp-gr { flex: 1 1 220px; }
.sp-game-sug > .sp-btns { flex: 0 1 auto; }
.sp-game-sug > .sp-btns > * { flex: 1 0 auto; }
/* PA-1529: Osta's price country picker, in the drops card's head (shared/price_country.js shows it once filled) */
.pc-pick { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin: 4px 0 8px; color: var(--sp-mute); font: 400 14px system-ui, sans-serif; }
.pc-pick[hidden] { display: none; }
.pc-pick select { min-height: 40px; padding: 0 10px; border-radius: 10px; border: 1px solid #4a5160; background: var(--sp-bg); color: var(--sp-text); font: 400 15px system-ui, sans-serif; max-width: 100%; }

/* PA-1517 slice 5: Pelaa's "Your last match", three numbers in tiles that drop to fewer columns at large text */
.sp-gl { display: flex; flex-wrap: wrap; gap: 8px; }
.sp-gl-tile { flex: 1 1 5.5rem; display: flex; flex-direction: column; gap: 2px; padding: 10px; border-radius: 10px; background: var(--sp-line); min-width: 0; }
.sp-gl-k { font: 700 .7rem/1.2 var(--sp-cond); font-stretch: condensed; letter-spacing: .07em; text-transform: uppercase; }
.sp-gl-k.us { color: #6aa8f0; }
.sp-gl-k.them { color: #f08a5d; }
.sp-gl-v { font-size: 1.5rem; font-weight: 800; line-height: 1.1; font-variant-numeric: tabular-nums; }
.sp-gl-c { font-size: .75rem; line-height: 1.3; color: var(--sp-mute); }

/* PA-437: a goal before the match (Play) and its check after it (Improve), shared/match_goals.js */
.gl-goal { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 12px; border: 2px solid var(--sp-y); background: rgba(243, 228, 45, .07); }
.gl-goal.gl-thin { border-width: 1px; }
.gl-goal .sp-gr { gap: 3px; }
.gl-ic { flex: none; width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; background: #1f2430; color: var(--sp-y); font: 800 18px/1 var(--sp-cond); }
.gl-set { border-style: dashed; border-color: #4a5160; background: none; cursor: pointer; color: inherit; width: 100%; text-align: start; font: inherit; }
.gl-set:hover, .gl-set:focus-visible { border-color: var(--sp-y); }
.sp-game > .gl-goal { flex: 1 1 100%; }
.gl-sheet { position: fixed; inset: 0; z-index: 2000; display: flex; align-items: flex-start; justify-content: center; padding: 40px 16px; background: rgba(0, 0, 0, .66); overflow-y: auto; }
.gl-sheet > .sp-cd { width: 100%; max-width: 620px; }
@media (max-width: 760px) { .gl-sheet { padding: 24px 0 0; align-items: flex-end; } .gl-sheet > .sp-cd { border-radius: 18px 18px 0 0; } }
.gl-grp { display: flex; flex-direction: column; gap: 8px; margin-top: 6px; }
.gl-opt { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 64px; padding: 10px 12px; border-radius: 12px; border: 2px solid #2e3442; background: none; color: inherit; font: inherit; text-align: start; cursor: pointer; }
.gl-opt:hover { border-color: #5a6273; }
.gl-opt[aria-pressed="true"] { border-color: var(--sp-y); background: rgba(243, 228, 45, .08); }
.gl-opt .sp-gr { gap: 3px; }
.gl-target { display: flex; align-items: center; gap: 10px; margin-top: 6px; padding: 12px; border-radius: 12px; background: #1f2430; border: 1px solid #2e3442; flex-wrap: wrap; }
.gl-step { width: 44px; height: 44px; border-radius: 10px; border: 1px solid #4a5160; background: var(--sp-bg); color: var(--sp-text); font: 800 22px/1 var(--sp-cond); cursor: pointer; }
.gl-step:disabled { opacity: .4; cursor: default; }
.gl-val { min-width: 92px; text-align: center; font: 800 34px/1 var(--sp-cond); color: var(--sp-y); font-variant-numeric: tabular-nums; }
.gl-save { margin-top: 6px; }
.gl-res { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.gl-big { font: 800 64px/.9 var(--sp-cond); font-stretch: condensed; font-variant-numeric: tabular-nums; }
.gl-verdict { align-self: flex-start; display: inline-flex; align-items: center; gap: 6px; padding: 4px 12px; border-radius: 999px; font: 800 16px/1.3 var(--sp-cond); text-transform: uppercase; letter-spacing: .04em; }
.gl-verdict.ok { background: #1f4a2a; color: #9be29b; }
.gl-verdict.no { background: #3a2a1a; color: #ffbf7a; }
.gl-bar { position: relative; height: 12px; border-radius: 6px; background: #2b313d; margin: 6px 0 22px; }
.gl-bar > i { position: absolute; inset-inline-start: 0; top: 0; bottom: 0; border-radius: 6px; background: var(--sp-y); }
.gl-bar > b { position: absolute; top: -5px; width: 2px; height: 22px; background: #fff; }
.gl-bar > b::after { content: attr(data-l); position: absolute; top: 24px; left: 50%; transform: translateX(-50%); font: 600 11px/1 system-ui, sans-serif; color: var(--sp-mute); white-space: nowrap; }
.gl-hist { display: flex; gap: 6px; flex-wrap: wrap; }
.gl-dot { display: flex; flex-direction: column; align-items: center; gap: 4px; width: 54px; font-size: 11px; color: var(--sp-mute); text-align: center; }
.gl-dot i { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font: normal 800 14px/1 var(--sp-cond); }
.gl-dot i.ok { background: #1f4a2a; color: #9be29b; }
.gl-dot i.no { background: #3a2a1a; color: #ffbf7a; }
.gl-dot i.wait { background: #2b313d; color: var(--sp-mute); }
.gl-dot.now i { outline: 2px solid var(--sp-y); outline-offset: 2px; }
.sp-cd.gl-wait { border-style: dashed; border-color: #4a5160; }
