/* P10 League redesign. Dark is the default theme. */
.p10 {
  --carbon: #14141C;
  --action: #E8100A;
  --on-action: #FFFFFF;
  --p10-fill: #E8100A;
  --on-p10: #FFFFFF;
  --p3-fill: #FFFFFF;
  --on-p3: #14141C;
  --best: #9A2BE0;
  --on-best: #FFFFFF;

  --bg: #14141C;
  --surface: rgba(30, 30, 40, .66);
  --raise: rgba(66, 66, 84, .62);
  --line: rgba(255, 255, 255, .12);
  --text: #FFFFFF;
  --text-2: #BDBDCA;
  --text-3: #9393A3;
  --p10-text: #FF5A50;
  --p10-big: #FF2D22;
  --p3-text: #FFFFFF;
  --up: #2FE07F;
  --down: #FFD02E;
  --mute-bar: #4C4C5C;
  --hero: #FFFFFF;

  /* Safe areas, and the line everything starts on: 36px under the status bar, clear of the iOS top blur */
  --sat: env(safe-area-inset-top, 0px);
  --sab: env(safe-area-inset-bottom, 0px);

  --r-card: 14px;
  --r-panel: 10px;
  --r-btn: 12px;
  --display: "Big Shoulders", "Big Shoulders Display", "Arial Narrow", sans-serif;
  --ui: "Sofia Sans Semi Condensed", "Arial Narrow", system-ui, sans-serif;

  font-family: var(--ui);
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
:root[data-theme="light"] .p10 {
  --p3-fill: #14141C;
  --on-p3: #FFFFFF;
  --bg: #F3F3F6;
  --surface: rgba(255, 255, 255, .82);
  --raise: rgba(220, 220, 228, .82);
  --line: rgba(20, 20, 28, .13);
  --text: #14141C;
  --text-2: #4B4B59;
  --text-3: #63636F;
  --p10-text: #C20A05;
  --p10-big: #E8100A;
  --p3-text: #14141C;
  --up: #0A7040;
  --down: #7A5A00;
  --mute-bar: #BFBFCA;
  --hero: #14141C;
}
/* iOS tints its top blur from the document background, so it follows the theme */
html { background: #14141C; }
html[data-theme="light"] { background: #F3F3F6; }
body { margin: 0; overflow: hidden; overscroll-behavior: none; }
/* No gray flash on taps; everything inside inherits it. Links inside the app also skip the iOS
   link preview and drag, which draw a box around them when a tap is held. */
.p10 { -webkit-tap-highlight-color: transparent; }
.p10 a[href^="#"] { -webkit-touch-callout: none; -webkit-user-drag: none; -webkit-user-select: none; user-select: none; }
.p10 *, .p10 *::before, .p10 *::after { box-sizing: border-box; }
.p10 button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; text-align: left; }
.p10 button:disabled { cursor: default; }
.p10 button:focus-visible { outline: 3px solid var(--text); outline-offset: 2px; }
.p10 h1, .p10 h2, .p10 h3, .p10 p, .p10 dl, .p10 dd, .p10 ol, .p10 ul { margin: 0; padding: 0; list-style: none; }
.p10 .row .pt, .p10 .row .pos, .p10 .pit, .p10 .drv > span { font-variant-numeric: tabular-nums; }

/* Shell */
.p10.app { position: relative; width: 100%; max-width: 560px; margin: 0 auto; height: 100vh; height: 100dvh; min-height: 620px; overflow: hidden; isolation: isolate; }

/* Site background: the live sign-in image. Covers the whole screen, under the status bar and home indicator. */
.p10 .bg { position: fixed; inset: 0; height: 100lvh; z-index: -1; overflow: hidden; background: var(--bg); }
.p10 .bg img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .35; filter: blur(2px); display: block; }
.p10 .bg::after { content: ""; position: absolute; inset: 0; background: rgba(21, 21, 30, .62); }
/* Soft shade from the top down, so status bar icons read where the system draws no blur of its own */
.p10 .bg::before { content: ""; position: absolute; inset: 0 0 auto 0; z-index: 1; height: calc(36px + var(--sat)); background: linear-gradient(rgba(20, 20, 28, .6), rgba(20, 20, 28, 0)); }
:root[data-theme="light"] .p10 .bg::before { background: linear-gradient(rgba(243, 243, 246, .7), rgba(243, 243, 246, 0)); }
:root[data-theme="light"] .p10 .bg img { opacity: .24; }
:root[data-theme="light"] .p10 .bg::after { background: rgba(243, 243, 246, .25); }
/* Sign-in: lighter overlay so the art shows, shaded only behind the centered text */
.p10 .bg.signin img { opacity: .8; }
.p10 .bg.signin::after { background: linear-gradient(rgba(21, 21, 30, .14) calc(50% - 310px), rgba(21, 21, 30, .8) calc(50% - 160px), rgba(21, 21, 30, .8) calc(50% + 160px), rgba(21, 21, 30, .14) calc(50% + 310px)); }
:root[data-theme="light"] .p10 .bg.signin img { opacity: .7; }
:root[data-theme="light"] .p10 .bg.signin::after { background: linear-gradient(rgba(243, 243, 246, 0) calc(50% - 310px), rgba(243, 243, 246, .84) calc(50% - 160px), rgba(243, 243, 246, .84) calc(50% + 160px), rgba(243, 243, 246, 0) calc(50% + 310px)); }
/* iPhone home-screen app (navigator.standalone). Installed with the translucent status bar, 100%, dvh and
   svh all measure a status bar short, so it is added back. Opened inside an app installed from the current
   site, the view starts below a solid status bar and --sat is 0, so nothing is added. */
html.ios-app, html.ios-app body, html.ios-app .p10.app { height: min(100vh, calc(100dvh + env(safe-area-inset-top, 0px))); }
/* The title's letters start 36px under the safe area (measured on iOS 27): 16.25px down a 48px bar */
.p10 { --bar: calc(19.75px + var(--sat)); }
.p10 .shell { height: 100%; display: flex; flex-direction: column; padding-top: var(--bar); }
.p10 .page, .p10 .content { flex: 1 1 0; min-height: 0; display: flex; flex-direction: column; }
.p10 .scroll { flex: 1 1 0; min-height: 0; overflow-y: auto; overscroll-behavior-y: contain; scrollbar-width: none; }
.p10 .scroll::-webkit-scrollbar, .p10 .car::-webkit-scrollbar { display: none; }

.p10 .top { display: flex; align-items: center; justify-content: space-between; padding: 0 16px; height: 48px; flex: none; }
/* The logo file has padding: its artwork is 72 of 93 rows, so 15.48px at 20px tall, .32px above center.
   The title's capitals (.8 of the font size) match it, and are trimmed so both share a top and a baseline. */
.p10 .brand { display: flex; align-items: center; gap: 10px; font-family: var(--display); font-weight: 900; font-size: 19.35px; line-height: 1; }
.p10 .brand .f1 { height: 20px; width: auto; display: block; transform: translateY(.32px); }
.p10 .brand span, .p10 .sh-h h2 { text-box: trim-both cap alphabetic; }
/* Menu button. Stays put while pages change, so the lines can turn into the X and back */
.p10 .mb { position: absolute; z-index: 20; top: calc(var(--bar) + 2px); right: 8px; width: 44px; height: 44px; border-radius: var(--r-panel); }
.p10 .mb[hidden] { display: none; }
.p10 .mb i { position: absolute; left: 12px; top: calc(50% - 1.2px); width: 20px; height: 2.4px; border-radius: 2px; background: var(--text); transition: transform .3s cubic-bezier(.3, .8, .3, 1), width .3s cubic-bezier(.3, .8, .3, 1), opacity .18s ease; }
.p10 .mb i:nth-child(1) { transform: translateY(-5.4px) rotate(0deg) scaleX(1); }
.p10 .mb i:nth-child(2) { transform: scaleX(1); }
.p10 .mb i:nth-child(3) { width: 13px; transform: translateY(5.4px) rotate(0deg) scaleX(1); }
.p10 .mb.open i:nth-child(1) { transform: translateY(0px) rotate(45deg) scaleX(1.1); }
.p10 .mb.open i:nth-child(2) { opacity: 0; transform: scaleX(.2); }
.p10 .mb.open i:nth-child(3) { width: 20px; transform: translateY(0px) rotate(-45deg) scaleX(1.1); }

/* Subpage tabs */
.p10 .tabs { position: relative; display: grid; grid-template-columns: auto auto auto auto; justify-content: space-between; padding: 0 16px; flex: none; border-bottom: 1px solid var(--line); }
.p10 .tab { position: relative; height: 48px; padding: 0 2px; font-family: var(--display); font-weight: 800; font-size: 23px; color: var(--text-2); white-space: nowrap; transition: color .3s ease; }
.p10 .tab.on { color: var(--text); }
/* One line for all the tabs, 1px wide and stretched to the open one */
.p10 .tab-line { position: absolute; left: 0; bottom: -1px; width: 1px; height: 4px; background: var(--action); transform-origin: 0 50%; pointer-events: none; }
.p10 .tab-line.slide { transition: transform .3s cubic-bezier(.3, .8, .3, 1); }

/* Pit board */
.p10 .pit { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 14px; padding: 18px 16px 16px; flex: none; }
.p10 .pit-pos { display: flex; align-items: flex-start; gap: 8px; }
.p10 .pit-p { font-family: var(--display); font-weight: 900; font-size: 92px; line-height: .78; color: var(--hero); }
.p10 .pit-mv { font-weight: 700; font-size: 15px; padding-top: 1px; }
.p10 .pit-s { display: grid; grid-template-columns: repeat(3, 1fr); border-left: 1px solid var(--line); }
.p10 .pit-s > div { display: flex; flex-direction: column-reverse; padding: 0 4px 0 12px; border-right: 1px solid var(--line); }
.p10 .pit-s > div:last-child { border-right: 0; padding-right: 0; }
.p10 .pit-s dd { font-family: var(--display); font-weight: 900; font-size: 38px; line-height: 1; }
.p10 .pit-s dt { font-size: 15px; color: var(--text-2); line-height: 1.2; white-space: nowrap; }
.p10 .up { color: var(--up); } .p10 .dn { color: var(--down); }

/* Cards and rows */
.p10 .card { position: relative; flex: 1 1 0; min-height: 0; margin: 0 16px max(14px, var(--sab)); background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-card); overflow: hidden; display: flex; flex-direction: column; }
.p10 .row { display: grid; grid-template-columns: 26px 1fr auto 42px; align-items: center; gap: 7px; min-height: 46px; padding: 0 14px 0 13px; border-bottom: 1px solid var(--line); }
.p10 .row:last-child { border-bottom: 0; }
.p10 .row .pos { font-family: var(--display); font-weight: 800; font-size: 22px; color: var(--text-2); }
.p10 .row .nm { min-width: 0; font-size: 17px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.p10 .row .mv { font-size: 14px; font-weight: 700; }
.p10 .row .pt { font-family: var(--display); font-weight: 800; font-size: 24px; text-align: right; }
.p10 .row .pk { font-size: 15px; color: var(--text-2); white-space: nowrap; }
.p10 .row.you { position: sticky; top: 0; bottom: 0; z-index: 2; background: var(--text); border-bottom-color: transparent; color: var(--bg); }
.p10 .row.you .pos, .p10 .row.you .mv, .p10 .row.you .pk { color: var(--bg); }
.p10 .row.tenth .nm::after { content: "P10"; margin-left: 8px; font-family: var(--display); font-weight: 900; font-size: 15px; color: var(--p10-text); }

/* Race carousel: Results and Picks */
.p10 .rbar { display: grid; grid-template-columns: 44px 1fr 44px; align-items: center; gap: 8px; padding: 12px 16px; flex: none; }
.p10 .rbar h2 { font-family: var(--display); font-weight: 900; font-size: 34px; line-height: 1; text-align: center; white-space: nowrap; }
.p10 .rbar p { margin-top: 2px; font-size: 16px; color: var(--text-2); text-align: center; }
.p10 .arw { width: 44px; height: 44px; display: grid; place-items: center; border-radius: var(--r-panel); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); }
.p10 .arw svg { width: 22px; height: 22px; stroke: var(--text); fill: none; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.p10 .arw:disabled { background: transparent; box-shadow: none; }
.p10 .arw:disabled svg { stroke: var(--text-3); opacity: .45; }
.p10 .car { flex: 1 1 0; min-height: 0; display: flex; gap: 10px; overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory; padding: 0 16px max(14px, var(--sab)); scrollbar-width: none; overscroll-behavior-x: contain; }
.p10 .car .card { flex: 0 0 calc(100% - 24px); margin: 0; scroll-snap-align: center; scroll-snap-stop: always; }
.p10 .rc-h { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding: 14px 14px 12px; }
.p10 .rc-h h3 { font-family: var(--display); font-weight: 900; font-size: 34px; line-height: 1; }
.p10 .rc-h p { font-size: 16px; color: var(--text-2); }
.p10 .duo { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 0 14px; }
.p10 .duo > div { min-width: 0; background: var(--raise); border-radius: var(--r-panel); padding: 9px 11px 10px; }
.p10 .duo .k { font-size: 14px; color: var(--text-2); }
.p10 .duo .w { font-family: var(--display); font-weight: 900; font-size: 25px; line-height: 1.02; white-space: nowrap; }
.p10 .duo .ten .w { color: var(--p10-big); } .p10 .duo .three .w { color: var(--p3-text); }
.p10 .duo .mine { display: flex; justify-content: space-between; align-items: baseline; gap: 6px; margin-top: 4px; font-size: 15px; color: var(--text-2); white-space: nowrap; }
.p10 .duo .mine b { color: var(--text); font-weight: 700; }
:root[data-theme="light"] .p10 .duo .ten { background: #FBE1DF; }
:root[data-theme="light"] .p10 .duo .ten .w { color: #C20A05; }
.p10 .duo > .hit, :root[data-theme="light"] .p10 .duo > .hit { background: var(--best); }
.p10 .duo > .hit .k, .p10 .duo > .hit .w, .p10 .duo > .hit .mine, .p10 .duo > .hit .mine b, :root[data-theme="light"] .p10 .duo > .hit .w { color: var(--on-best); }

/* The curve */
.p10 .curve { position: relative; padding: 18px 14px 12px; border-bottom: 1px solid var(--line); }
.p10 .bars { display: grid; grid-template-columns: repeat(22, 1fr); gap: 3px; align-items: end; height: 64px; }
.p10 .bars > i { display: block; background: var(--mute-bar); min-height: 2px; border-radius: 1px 1px 0 0; }
.p10 .bars > i.peak { background: var(--p10-fill); opacity: .5; }
.p10 .bars > i.yr { background: var(--p10-fill); opacity: 1; }
.p10 .bars > i.best { background: var(--best); }
.p10 .axis { display: grid; grid-template-columns: repeat(22, 1fr); gap: 3px; margin-top: 4px; font-size: 12px; color: var(--text-3); }
.p10 .axis > span { text-align: center; white-space: nowrap; justify-self: center; }
.p10 .axis > span.yr { color: var(--text); font-weight: 800; }

/* Locked race: league picks */
.p10 .pour-h { display: flex; justify-content: space-between; align-items: baseline; padding: 4px 14px 8px; font-size: 16px; color: var(--text-2); }
.p10 .pour-h b { font-family: var(--display); font-weight: 900; font-size: 22px; color: var(--text); }
.p10 .bar { position: relative; display: grid; grid-template-columns: 1fr auto; align-items: center; height: 36px; margin: 0 14px 4px; padding: 0 10px; border-radius: 8px; overflow: hidden; background: var(--raise); font-size: 16px; font-weight: 600; }
.p10 .bar u { position: absolute; inset: 0 auto 0 0; background: var(--mute-bar); }
.p10 .bar span { position: relative; }
.p10 .bar.a u { background: var(--p10-fill); } .p10 .bar.i u { background: var(--p3-fill); }
.p10 .bar.a .l { color: var(--on-p10); font-weight: 800; } .p10 .bar.i .l { color: var(--on-p3); font-weight: 800; }

/* Next race picks: sits under the tabs. Red until both picks are in, then neutral. */
.p10 .next { flex: none; display: flex; flex-direction: column; gap: 10px; margin: 12px 16px 0; padding: 12px 14px 14px; border-radius: var(--r-card); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); }
.p10 .next .nh { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 2px 12px; }
.p10 .next .nt { font-family: var(--display); font-weight: 900; font-size: 26px; line-height: 1; white-space: nowrap; }
.p10 .next .ns { font-size: 15px; color: var(--text-2); white-space: nowrap; font-variant-numeric: tabular-nums; }
.p10 .next .nb { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.p10 .next .np { display: flex; align-items: center; gap: 8px; min-width: 0; height: 44px; padding: 0 12px; border-radius: var(--r-panel); background: var(--raise); white-space: nowrap; overflow: hidden; }
.p10 .next .nk { font-size: 15px; font-weight: 700; color: var(--text-2); }
.p10 .next .nv { font-size: 16px; color: var(--text-2); }
.p10 .next .full .nv { font-family: var(--display); font-weight: 900; font-size: 23px; line-height: 1; color: var(--text); }
.p10 .next.due { background: var(--action); color: var(--on-action); box-shadow: none; }
.p10 .next.due .ns { color: var(--on-action); }
.p10 .next.due .np { background: #14141C; }
.p10 .next.due .nk, .p10 .next.due .nv { color: #FFFFFF; }
.p10 .next.due .np.full { background: #FFFFFF; }
.p10 .next.due .np.full .nk, .p10 .next.due .np.full .nv { color: #14141C; }

/* Segmented control */
.p10 .seg { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(max-content, 1fr); background: var(--surface); border-radius: var(--r-panel); box-shadow: inset 0 0 0 1px var(--line); }
.p10 .seg button { min-height: 44px; padding: 0 14px; text-align: center; font-weight: 700; font-size: 17px; color: var(--text-2); border-radius: var(--r-panel); white-space: nowrap; }
.p10 .seg button.on { background: var(--raise); color: var(--text); }

/* Picks */
.p10 .ask h3 { font-size: min(28px, 7vw); white-space: nowrap; }
.p10 .ask p { white-space: nowrap; }
.p10 .slots { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 0 14px 8px; flex: none; }
.p10 .slot { display: flex; flex-direction: column; justify-content: center; min-width: 0; width: 100%; min-height: 60px; padding: 6px 12px; border-radius: var(--r-panel); background: var(--raise); }
.p10 .slot .sk { font-size: 15px; font-weight: 700; color: var(--text-2); line-height: 1.2; }
.p10 .slot .sv { font-family: var(--display); font-weight: 900; font-size: min(27px, 6.6vw); line-height: 1.05; white-space: nowrap; }
.p10 .slot .sv.hint { font-family: var(--ui); font-weight: 400; font-size: 17px; line-height: 1.3; color: var(--text-2); }
.p10 .slot.on { box-shadow: inset 0 0 0 3px var(--p10-fill); }
.p10 .slot.s3.on { box-shadow: inset 0 0 0 3px var(--p3-fill); }
.p10 .slot.full { background: var(--p10-fill); color: var(--on-p10); box-shadow: none; }
.p10 .slot.full .sk { color: inherit; }
.p10 .slot.s3.full { background: var(--p3-fill); color: var(--on-p3); }
.p10 .slot.full.on { box-shadow: 0 0 0 2px var(--bg), 0 0 0 5px var(--text); }
.p10 .teams { flex: 1 1 0; min-height: 0; overflow-y: auto; overscroll-behavior-y: contain; padding: 0 14px 10px; scrollbar-width: none; }
.p10 .teams::-webkit-scrollbar { display: none; }
.p10 .last3 { padding: 0 0 4px; font-size: 14px; line-height: 1.2; color: var(--text-2); text-align: right; }
.p10 .team { display: grid; grid-template-columns: 70px 1fr 1fr; gap: 2px 6px; align-items: stretch; margin-bottom: 2px; }
.p10 .team .tn { grid-row: 1 / -1; }
.p10 .team .drv:nth-child(n+4) { grid-column: auto; }
.p10 .team.more .tn { grid-row: 1 / span 2; }
.p10 .team .tn { display: flex; align-items: center; gap: 8px; font-size: 14px; line-height: 1.1; color: var(--text-2); }
.p10 .team .tn i { width: 5px; height: 26px; flex: none; border-radius: 1px; }
.p10 .drv { display: flex; flex-direction: column; justify-content: center; min-height: 44px; padding: 2px 10px; background: var(--raise); border-radius: var(--r-panel); min-width: 0; }
.p10 .drv b { font-size: 17px; font-weight: 700; line-height: 1.15; white-space: nowrap; }
.p10 .drv > span { font-size: 13.5px; color: var(--text-2); line-height: 1.15; word-spacing: .16em; }
.p10 .drv > span em { font-style: normal; font-weight: 500; }
.p10 .drv > span em.n10 { color: var(--p10-text); font-weight: 800; } .p10 .drv > span em.n3 { color: var(--p3-text); font-weight: 800; }
.p10 .drv.sel10 { background: var(--p10-fill); } .p10 .drv.sel3 { background: var(--p3-fill); }
.p10 .drv.sel10 b, .p10 .drv.sel10 > span, .p10 .drv.sel10 > span em { color: var(--on-p10); }
.p10 .drv.sel3 b, .p10 .drv.sel3 > span, .p10 .drv.sel3 > span em { color: var(--on-p3); }
.p10 .drv:disabled { opacity: .5; } .p10 .drv.sel10:disabled, .p10 .drv.sel3:disabled { opacity: 1; }

/* Scoring */
.p10 .pg { padding: 16px 16px 20px; }
.p10 .lede { font-size: 19px; line-height: 1.35; text-wrap: pretty; }
.p10 .lede + .box, .p10 .note + .box { margin-top: 12px; }
.p10 .body { font-size: 17px; line-height: 1.4; color: var(--text-2); text-wrap: pretty; }
.p10 .big .bars { height: 150px; gap: 4px; } .p10 .big .axis { gap: 4px; }
.p10 .big .bars > i.peak { opacity: 1; }
.p10 .pts { display: grid; grid-template-columns: 1fr 1fr; column-gap: 24px; margin: 14px 0; }
.p10 .pts li { display: flex; align-items: center; justify-content: space-between; min-height: 40px; border-bottom: 1px solid var(--line); font-size: 17px; }
.p10 .pts li b { font-family: var(--display); font-weight: 800; font-size: 24px; }

/* Menu and secondary pages: a layer over the tabs, crossfading with them */
.p10 { --fade: .24s; }
.p10 #view { transition: opacity var(--fade) ease, visibility 0s; }
.p10 #view.away { opacity: 0; visibility: hidden; transition: opacity var(--fade) ease, visibility 0s var(--fade); }
.p10 .layer { position: absolute; inset: 0; z-index: 10; animation: p10-in var(--fade) ease; }
.p10 .layer.out { opacity: 0; pointer-events: none; animation: p10-out var(--fade) ease; }
@keyframes p10-in { from { opacity: 0; } }
@keyframes p10-out { from { opacity: 1; } }
@keyframes p10-up { from { transform: translateY(40px); } }
.p10 .sheet { position: absolute; inset: 0; display: flex; flex-direction: column; padding-top: var(--bar); }
.p10 .sh-h { padding: 16.25px 60px 0 16px; height: 48px; flex: none; }
.p10 .sh-h h2 { font-family: var(--display); font-weight: 900; font-size: 25px; line-height: 1; }
.p10 .mi { display: grid; grid-template-columns: 1fr auto; align-items: center; width: 100%; min-height: 60px; }
.p10 button.mi { border-bottom: 1px solid var(--line); }
.p10 button.mi.last { border-bottom: 0; }
.p10 .mi b { font-size: 19px; font-weight: 700; }
.p10 .mi > span { font-size: 16px; color: var(--text-2); }
.p10 .pg .seg { margin: 20px 0 8px; }

/* Sign in: centered on the screen both ways */
.p10 .sign { position: relative; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: calc(36px + var(--sat)) 24px; }
.p10 .sign .in { width: 100%; max-width: 342px; color: var(--text); }
.p10 .sign h1 { font-family: var(--display); font-weight: 900; font-size: 42px; white-space: nowrap; line-height: .95; }
.p10 .sign .in > p { font-size: 19px; line-height: 1.35; margin: 8px 0 22px; }
.p10 .sign .stack { display: grid; gap: 10px; }
.p10 .btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 26px; border-radius: var(--r-btn); background: var(--action); color: var(--on-action); font-family: var(--display); font-weight: 900; font-size: 25px; line-height: 1; }
.p10 .sign .btn { width: 100%; }
.p10 .sign .btn.line { background: var(--surface); color: var(--text); box-shadow: inset 0 0 0 2px var(--text); }
.p10 .sign .lnk { min-height: 46px; text-align: center; font-size: 17px; font-weight: 700; color: var(--text); text-decoration: underline; text-underline-offset: 3px; }

/* Toast */
.p10 .toast { position: absolute; z-index: 20; left: 16px; right: 16px; bottom: max(20px, var(--sab)); padding: 14px 18px; background: var(--text); color: var(--bg); border-radius: var(--r-btn); font-family: var(--display); font-weight: 900; font-size: 25px; line-height: 1; text-align: center; box-shadow: 0 8px 28px rgba(0, 0, 0, .45); animation: p10-up .3s; }

/* Short and narrow phones */
@media (max-height: 740px) {
  .p10 .pit { padding: 12px 16px 12px; }
  .p10 .pit-p { font-size: 74px; }
  .p10 .next { margin-top: 10px; padding: 10px 12px 12px; gap: 8px; }
  .p10 .next .np { height: 40px; }
  .p10 .rbar { padding: 8px 16px; }
}
@media (max-width: 374px) {
  .p10 .tab { font-size: 21px; }
  .p10 .pit-s dd { font-size: 31px; }
  .p10 .pit-s > div { padding-left: 8px; }
  .p10 .pit-s dt { font-size: 14px; }
  .p10 .duo > div { padding-left: 9px; padding-right: 9px; }
  .p10 .duo .mine { font-size: 14px; }
  .p10 .ask p { font-size: 14px; }
  .p10 .slot { padding: 6px 9px; }
  .p10 .team { grid-template-columns: 62px 1fr 1fr; gap: 2px 4px; }
  .p10 .team .tn { gap: 5px; font-size: 13px; }
  .p10 .drv { padding: 2px 7px; }
  .p10 .next .nt { font-size: 24px; }
  .p10 .next .ns { font-size: 14px; }
  .p10 .next .np { padding-left: 10px; padding-right: 8px; gap: 6px; }
  .p10 .next .full .nv { font-size: 21px; }
  .p10 .seg button { padding: 0 10px; font-size: 16px; }
}
@media (max-width: 345px) {
  .p10 .rbar p { font-size: 14px; white-space: nowrap; }
  .p10 .ask h3 { font-size: 21px; }
  .p10 .drv { padding: 2px 5px; }
  .p10 .drv b { font-size: 15px; }
  .p10 .drv > span { font-size: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  .p10 *, .p10 *::before, .p10 *::after { animation: none !important; transition: none !important; }
}

/* App states */
.p10 a { color: inherit; }
.p10 a.mi { text-decoration: none; border-bottom: 1px solid var(--line); }
.p10 .loading { margin: auto; padding: 24px; font-size: 17px; color: var(--text-2); }
.p10 .empty { margin: 0 16px; padding: 32px 20px; text-align: center; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-card); }
.p10 .empty h2 { font-family: var(--display); font-weight: 900; font-size: 28px; line-height: 1.05; }
.p10 .empty p { margin: 6px auto 18px; max-width: 34ch; font-size: 17px; line-height: 1.4; color: var(--text-2); }
.p10 .page > .empty { margin-top: 16px; }
.p10 .sheet .scroll { display: flex; flex-direction: column; }
.p10 .sheet .pg { width: 100%; }
.p10 h3.sec { margin: 22px 0 8px; font-family: var(--display); font-weight: 900; font-size: 24px; line-height: 1; }
.p10 h3.sec:first-child { margin-top: 4px; }
.p10 .box { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-card); overflow: hidden; }
.p10 .ln { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 12px; width: 100%; min-height: 48px; padding: 8px 14px; border-bottom: 1px solid var(--line); font-size: 17px; }
.p10 .box > :last-child { border-bottom: 0; }
.p10 .ln b { font-weight: 600; min-width: 0; overflow-wrap: anywhere; }
.p10 .ln > span { font-size: 16px; color: var(--text-2); text-align: right; }
.p10 .ln > span.num { font-family: var(--display); font-weight: 800; font-size: 23px; color: var(--text); font-variant-numeric: tabular-nums; }
.p10 button.ln { border-bottom: 1px solid var(--line); }
.p10 .ln small { display: block; margin-top: 1px; font-size: 15px; font-weight: 400; color: var(--text-2); }
.p10 .ln.off b { color: var(--text-3); }
.p10 .ln.me { background: var(--text); color: var(--bg); } .p10 .ln.me > span, .p10 .ln.me small { color: var(--bg); }
.p10 .row.wide { grid-template-columns: 26px 1fr 52px 52px; }
.p10 .row.wide .pt { font-size: 22px; }
.p10 .hd { display: grid; grid-template-columns: 26px 1fr 52px 52px; gap: 7px; padding: 10px 14px 8px 13px; font-size: 14px; color: var(--text-2); border-bottom: 1px solid var(--line); }
.p10 .hd span { text-align: right; } .p10 .hd span:nth-child(2) { text-align: left; }
.p10 .fld { display: block; margin-bottom: 12px; text-align: left; font-size: 16px; color: var(--text-2); }
.p10 .fld input { display: block; width: 100%; height: 52px; margin-top: 4px; padding: 0 14px; border: 0; border-radius: var(--r-btn); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); color: var(--text); font: inherit; font-size: 18px; }
.p10 .sign .fld input { background: #FFFFFF; color: #14141C; }
.p10 .fld input:focus-visible { outline: 3px solid var(--text); outline-offset: 1px; }
.p10 .err { margin: 0 0 12px; padding: 10px 14px; border-radius: var(--r-btn); background: var(--action); color: var(--on-action); font-size: 17px; line-height: 1.3; }
.p10 .btn:disabled { opacity: .6; }
.p10 .btn.wide { width: 100%; }
.p10 .seg.three { grid-template-columns: repeat(3, 1fr); }
.p10 .note { font-size: 16px; line-height: 1.4; color: var(--text-2); }
.p10 .toast.bad { background: var(--action); color: var(--on-action); font-size: 21px; line-height: 1.1; }
.p10 .sign .btn.line { text-decoration: none; }
.p10 a.btn { text-decoration: none; color: var(--on-action); }
.p10 .full { height: 100%; }
.p10 a.tab { display: flex; align-items: center; text-decoration: none; }
.p10 a.next { text-decoration: none; color: var(--text); }
.p10 a.next.due { color: var(--on-action); }
.p10 a.next:focus-visible, .p10 a.tab:focus-visible, .p10 a.mi:focus-visible, .p10 a.mb:focus-visible, .p10 a.btn:focus-visible { outline: 3px solid var(--text); outline-offset: 2px; }
.p10 .page.bare { padding-top: 12px; }
.p10 .page > .scroll > .pg { padding-bottom: max(20px, var(--sab)); }
.p10 .sheet .pg { padding: 4px 16px max(24px, var(--sab)); }
.p10 .pour-h.gap { padding-top: 14px; }
.p10 .card .scroll > .bar:last-child { margin-bottom: 14px; }
.p10 .empty.inset { margin: 12px 0 0; }
.p10 .sign .stack .fld { margin-bottom: 0; color: var(--text); }
.p10 .sign .btn.line { width: 100%; font-size: 23px; }
/* Narrow phones: keep the title and both buttons on one centered line */
.p10 .sign h1 { font-size: min(42px, 10.5vw); }
.p10 .sign .btn { padding: 0 12px; text-align: center; }
.p10 .sign .btn.line { font-size: min(23px, 6vw); }
.p10 .pit-s { grid-template-columns: auto auto auto; justify-content: stretch; }
.p10 .pit.two .pit-p { font-size: 76px; }
.p10 .pit.two .pit-s dd { font-size: 34px; }
.p10 .pit.two { gap: 12px; }
.p10 .pit.two .pit-s > div { padding-left: 10px; }
@media (max-width: 374px) { .p10 .pit.two .pit-p { font-size: 62px; } .p10 .pit.two .pit-s dd { font-size: 29px; } }

/* Player modal */
.p10 .row.tap { cursor: pointer; }
.p10 .row.tap:active { background: var(--raise); }
.p10 .row.you.tap:active { background: var(--text-2); }
.p10 #modal { position: absolute; inset: 0; z-index: 30; opacity: 0; visibility: hidden; transition: opacity var(--fade) ease, visibility 0s var(--fade); }
.p10 #modal.open { opacity: 1; visibility: visible; transition: opacity var(--fade) ease, visibility 0s; }
.p10 .scrim { position: fixed; inset: 0; height: 100lvh; background: rgba(8, 8, 13, .72); }
.p10 .md-wrap { position: absolute; inset: calc(var(--bar) + 8px) 16px max(16px, var(--sab)); display: flex; align-items: center; pointer-events: none; }
.p10 .modal { pointer-events: auto; width: 100%; max-height: 100%; display: flex; flex-direction: column; overflow: hidden; background: var(--bg); border: 1px solid var(--line); border-radius: var(--r-card); transform: translateY(14px); transition: transform var(--fade) cubic-bezier(.2, .85, .2, 1); }
.p10 #modal.open .modal { transform: none; }
.p10 .md-h { display: grid; grid-template-columns: auto 1fr 44px; align-items: center; gap: 12px; padding: 10px 6px 10px 16px; flex: none; }
.p10 .md-p { font-family: var(--display); font-weight: 900; font-size: 34px; line-height: 1; color: var(--hero); }
.p10 .md-h h2 { min-width: 0; font-family: var(--display); font-weight: 900; font-size: 25px; line-height: 1.05; overflow-wrap: anywhere; }
.p10 .md-x { width: 44px; height: 44px; display: grid; place-items: center; }
.p10 .md-x svg { width: 24px; height: 24px; stroke: var(--text); fill: none; stroke-width: 2.4; stroke-linecap: round; }
.p10 .md-s { display: grid; grid-template-columns: repeat(4, 1fr); flex: none; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.p10 .md-s > div { display: flex; flex-direction: column-reverse; padding: 9px 2px 8px 12px; border-left: 1px solid var(--line); }
.p10 .md-s > div:nth-child(4n + 1) { border-left: 0; padding-left: 16px; }
.p10 .md-s > div:nth-child(n + 5) { border-top: 1px solid var(--line); }
.p10 .md-s dd { font-family: var(--display); font-weight: 900; font-size: 30px; line-height: 1; font-variant-numeric: tabular-nums; }
.p10 .md-s dt { white-space: nowrap; font-size: 15px; color: var(--text-2); line-height: 1.2; }
.p10 .modal .scroll { flex: 0 1 auto; }
.p10 .md-r { display: grid; grid-template-columns: 1fr 42px; align-items: center; gap: 10px; padding: 9px 16px 10px; border-bottom: 1px solid var(--line); }
.p10 .md-r:last-child { border-bottom: 0; }
.p10 .md-r b { font-size: 17px; font-weight: 700; }
.p10 .md-r small { margin-left: 8px; font-size: 15px; color: var(--text-2); }
.p10 .md-r p { display: flex; flex-wrap: wrap; gap: 2px 14px; margin-top: 2px; font-size: 16px; color: var(--text-2); }
.p10 .md-r .ex { margin: 0 -2px; padding: 0 6px; border-radius: 5px; background: var(--best); color: var(--on-best); font-weight: 700; }
.p10 .md-r .pt { font-family: var(--display); font-weight: 800; font-size: 28px; text-align: right; font-variant-numeric: tabular-nums; }

/* Modals with a title, a body and buttons */
.p10 .md-h.plain { grid-template-columns: 1fr 44px; border-bottom: 1px solid var(--line); }
.p10 .md-b { padding: 16px; font-size: 17px; line-height: 1.4; }
.p10 .md-b > p { margin-bottom: 14px; color: var(--text-2); }
.p10 .md-b > p:last-child { margin-bottom: 0; }
.p10 .md-b .fld:last-child { margin-bottom: 0; }
.p10 .md-f { display: flex; flex-wrap: wrap; gap: 10px; justify-content: flex-end; padding: 12px 16px 16px; flex: none; border-top: 1px solid var(--line); }
.p10 .btn.sm { min-height: 44px; padding: 0 18px; font-size: 21px; }
.p10 .btn.alt { background: var(--raise); color: var(--text); }
.p10 a.btn.alt { color: var(--text); }
.p10 .btn.bad { background: var(--action); color: var(--on-action); }
.p10 .lnk.left { padding: 12px 0; text-align: left; }
.p10 .gap-t { margin-top: 14px; }
.p10 h3.sec small { margin-left: 8px; font-family: var(--ui); font-weight: 400; font-size: 16px; color: var(--text-2); }
.p10 .md-b select, .p10 .fld select, .p10 .fld textarea { display: block; width: 100%; min-height: 52px; margin-top: 4px; padding: 0 14px; border: 0; border-radius: var(--r-btn); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); color: var(--text); font: inherit; font-size: 18px; }
.p10 .fld textarea { padding: 12px 14px; line-height: 1.4; resize: vertical; }
.p10 .fld select { appearance: none; padding-right: 38px; background-image: linear-gradient(45deg, transparent 50%, var(--text-2) 50%), linear-gradient(-45deg, transparent 50%, var(--text-2) 50%); background-position: right 20px center, right 14px center; background-size: 6px 6px; background-repeat: no-repeat; }
.p10 .fld select option { color: #14141C; background: #fff; }
.p10 .fld :is(select, textarea):focus-visible { outline: 3px solid var(--text); outline-offset: 1px; }

/* Announcements */
.p10 .ann-p { aspect-ratio: 16 / 9; overflow: hidden; background: var(--raise); }
.p10 .ann-p img { width: 100%; height: 100%; object-fit: cover; display: block; }
.p10 .ann-b { padding: 18px 18px 20px; text-align: center; }
.p10 .ann-k { display: inline-block; margin-bottom: 8px; padding: 4px 10px; border-radius: 6px; background: var(--action); color: var(--on-action); font-weight: 700; font-size: 15px; line-height: 1.2; }
.p10 .ann-b h2 { font-family: var(--display); font-weight: 900; font-size: 34px; line-height: 1; text-wrap: balance; }
.p10 .ann-b p { margin-top: 10px; font-size: 18px; line-height: 1.4; color: var(--text-2); white-space: pre-line; overflow-wrap: anywhere; }
.p10 .ann .md-f { border-top: 0; padding: 0 16px 16px; }
.p10 .ann .md-f .btn { width: 100%; }
.p10 .ann .md-f .lnk { width: 100%; text-align: center; }

/* Switches */
.p10 .sw { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 12px; min-height: 52px; padding: 8px 14px; border-bottom: 1px solid var(--line); font-size: 17px; font-weight: 600; cursor: pointer; }
.p10 .sw small { display: block; margin-top: 1px; font-size: 15px; font-weight: 400; color: var(--text-2); }
.p10 .sw input { position: absolute; opacity: 0; pointer-events: none; }
.p10 .sw i { position: relative; width: 50px; height: 30px; border-radius: 15px; background: var(--mute-bar); transition: background .18s ease; }
.p10 .sw i::after { content: ""; position: absolute; top: 3px; left: 3px; width: 24px; height: 24px; border-radius: 50%; background: #fff; transition: transform .18s ease; }
.p10 .sw input:checked + i { background: var(--action); }
.p10 .sw input:checked + i::after { transform: translateX(20px); }
.p10 .sw input:focus-visible + i { outline: 3px solid var(--text); outline-offset: 2px; }
.p10 .sw input:disabled + i { opacity: .5; }

/* Season progress */
.p10 .chart { padding: 14px 14px 12px; }
.p10 .key { display: flex; flex-wrap: wrap; gap: 4px 16px; font-size: 16px; color: var(--text-2); }
.p10 .key li { display: flex; align-items: center; gap: 7px; }
.p10 .key i { width: 18px; height: 3px; border-radius: 2px; background: var(--mute-bar); }
.p10 .key .you i { background: var(--text); } .p10 .key .vs i { background: var(--p10-big); }
.p10 .plot { margin-top: 8px; touch-action: pan-y; cursor: crosshair; }
.p10 .plot svg { display: block; width: 100%; height: auto; overflow: visible; }
.p10 .plot path { fill: none; stroke-linejoin: round; stroke-linecap: round; }
.p10 .plot path.rest { stroke: var(--mute-bar); stroke-width: 1; opacity: .55; }
.p10 .plot path.vs { stroke: var(--p10-big); stroke-width: 2; }
.p10 .plot path.you { stroke: var(--text); stroke-width: 2.4; }
.p10 .plot .grid { stroke: var(--line); stroke-width: 1; }
.p10 .plot .tick { fill: var(--text-2); font-size: 11px; font-variant-numeric: tabular-nums; }
.p10 .plot .cross line { stroke: var(--text-3); stroke-width: 1; }
.p10 .plot circle { stroke: var(--bg); stroke-width: 2; } .p10 .plot circle.you { fill: var(--text); } .p10 .plot circle.vs { fill: var(--p10-big); }
.p10 .read { margin-top: 8px; font-size: 17px; color: var(--text-2); } .p10 .read b { color: var(--text); margin-right: 6px; }
.p10 .tbl { margin-top: 14px; } .p10 .tbl summary { min-height: 44px; display: flex; align-items: center; font-size: 17px; font-weight: 600; cursor: pointer; } .p10 .tbl summary::-webkit-details-marker { display: none; }
.p10 .tbl summary::after { content: ""; width: 8px; height: 8px; margin-left: 10px; border: solid var(--text-2); border-width: 0 2px 2px 0; transform: rotate(45deg) translateY(-2px); } .p10 .tbl[open] summary::after { transform: rotate(-135deg) translate(-2px, -2px); }

/* Everyone's picks, on locked and finished races */
.p10 .row.pick { grid-template-columns: 1fr 88px 88px; } .p10 .row.pick .pk { overflow: hidden; text-overflow: ellipsis; }
.p10 ol.all { border-top: 1px solid var(--line); margin-top: 8px; }
.p10 .row.pick .pk b { display: block; font-weight: 600; overflow: hidden; text-overflow: ellipsis; }
.p10 .row.pick .pk small { display: block; margin-top: 1px; font-size: 13px; font-variant-numeric: tabular-nums; }
.p10 .row.pick .pk.none b { font-weight: 400; }
.p10 .row.pick .pk.hit b, .p10 .row.pick .pk.hit small { font-weight: 800; color: var(--p10-text); }
.p10 .row.pick .pk.hit:last-child b, .p10 .row.pick .pk.hit:last-child small { color: var(--p3-text); }
.p10 .row.pick.you .pk.hit b, .p10 .row.pick.you .pk.hit small { color: var(--bg); }
.p10 .row.pick.head { min-height: 26px; border-bottom: 0; }
.p10 .row.pick.head .pk { font-family: var(--display); font-weight: 900; font-size: 18px; color: var(--text); }
.p10 .row.pick.key { min-height: 40px; margin: 0 10px; padding: 0 4px 0 3px; border: 0; border-radius: 8px; background: var(--raise); }
.p10 .row.pick.key .nm { font-size: 15px; color: var(--text-2); }
.p10 .row.pick.key .pk b { font-weight: 800; color: var(--p10-big); } .p10 .row.pick.key .pk + .pk b { color: var(--p3-text); }
.p10 .card > .scroll > .note { padding: 18px 14px; }
.p10 .sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* Wider screens: the same column, with more room for admin pages */
@media (min-width: 700px) {
  .p10.app { max-width: 640px; transition: max-width var(--fade) ease; }
  .p10.app.wide { max-width: 860px; }
  .p10 .row.tap:hover { background: var(--raise); } .p10 .row.you.tap:hover { background: var(--text); }
}

/* Text buttons */
.p10 .lnk { min-height: 44px; padding: 0 8px; text-align: center; font-size: 17px; font-weight: 600; color: var(--text); text-decoration: underline; text-underline-offset: 3px; }

/* Admin */
.p10 .acts { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 4px 0 14px; justify-content: flex-end; }
.p10 .acts.left { justify-content: flex-start; margin: 14px 0 4px; }
.p10 .stackb { display: grid; gap: 10px; } .p10 .stackb .btn { width: 100%; text-align: center; }
.p10 .trio { display: grid; grid-template-columns: repeat(3, 1fr); margin-bottom: 10px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-card); }
.p10 .trio > div { padding: 12px 8px 11px 14px; border-left: 1px solid var(--line); min-width: 0; } .p10 .trio > div:first-child { border-left: 0; }
.p10 .trio b { display: block; font-family: var(--display); font-weight: 900; font-size: 30px; line-height: 1; font-variant-numeric: tabular-nums; } .p10 .trio span { font-size: 15px; color: var(--text-2); }
.p10 h3.sub { margin: 16px 0 6px; font-size: 16px; font-weight: 700; color: var(--text-2); }
.p10 .fld small { display: block; margin-top: 4px; font-size: 15px; color: var(--text-2); }
.p10 .ln .btn.sm, .p10 .er .btn.sm { min-height: 40px; padding: 0 14px; font-size: 18px; }
.p10 .ln > .tags { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 6px; }
.p10 .ln > .tags em { font-style: normal; font-size: 16px; color: var(--text); font-variant-numeric: tabular-nums; }
.p10 .tag { padding: 3px 9px; border-radius: 6px; background: var(--raise); color: var(--text); font-size: 15px; font-weight: 600; white-space: nowrap; }
.p10 .ln > .tag { font-size: 15px; color: var(--text); }
.p10 .tag.red { background: var(--action); color: var(--on-action); } .p10 .tag.ok { color: var(--up); }
.p10 .in-row { min-width: 0; text-align: left; } .p10 .in-row b { font-weight: 600; }
.p10 button.ln:active, .p10 .in-row:active { background: var(--raise); }
.p10 .copy { display: grid; grid-template-columns: 1fr auto; gap: 10px; align-items: center; margin-top: 10px; }
.p10 .copy input { min-width: 0; height: 44px; padding: 0 14px; border: 0; border-radius: var(--r-btn); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); color: var(--text); font: inherit; font-size: 17px; }
.p10 .box.two, .p10 .box .two { display: grid; grid-template-columns: 1fr 1fr; } .p10 .two .sw { border-bottom: 0; } .p10 .box > div > .two { border-bottom: 1px solid var(--line); } .p10 .two .sw + .sw { border-left: 1px solid var(--line); }
.p10 .checks { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); max-height: 300px; overflow-y: auto; }
.p10 .ck { display: flex; align-items: center; gap: 10px; min-height: 44px; padding: 4px 14px; font-size: 17px; cursor: pointer; } .p10 .ck input { width: 20px; height: 20px; accent-color: var(--action); flex: none; } .p10 .ck span { min-width: 0; overflow-wrap: anywhere; }
.p10 .pair { display: grid; grid-template-columns: 1fr 1fr; gap: 0 12px; align-items: end; } .p10 .pair .btn { grid-column: 1 / -1; justify-self: start; }
.p10 .chips { display: flex; flex-wrap: wrap; gap: 8px; } .p10 .chip { display: inline-flex; align-items: center; padding-left: 14px; border-radius: 22px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); font-size: 17px; font-weight: 600; } .p10 .chip button { width: 44px; height: 44px; text-align: center; font-size: 22px; line-height: 1; color: var(--text-2); }
.p10 .er { display: grid; gap: 8px; align-items: end; padding: 10px 12px; border-bottom: 1px solid var(--line); } .p10 .er:last-child { border-bottom: 0; }
.p10 .er label { display: block; min-width: 0; font-size: 14px; color: var(--text-2); } .p10 .er input, .p10 .er select { width: 100%; height: 44px; margin-top: 2px; padding: 0 10px; border: 0; border-radius: 9px; background: var(--raise); color: var(--text); font: inherit; font-size: 17px; } .p10 .er select option { color: #14141C; background: #fff; }
.p10 .er :is(input, select):focus-visible { outline: 3px solid var(--text); outline-offset: 1px; }
.p10 .er.res { grid-template-columns: 58px 1fr 82px 40px; } .p10 .er.res + .er.res label { font-size: 0; } .p10 .er.res + .er.res :is(input, select) { margin-top: 0; }
.p10 .er.pay { grid-template-columns: 1fr 1fr auto auto; } .p10 .er.pay em { align-self: center; font-style: normal; font-size: 16px; color: var(--text-2); font-variant-numeric: tabular-nums; }
.p10 .er.award { grid-template-columns: 1fr 1fr; } @media (min-width: 700px) { .p10 .er.award { grid-template-columns: 1fr 1.6fr 110px auto; } }
.p10 .rm { height: 44px; text-align: center; font-size: 22px; line-height: 1; color: var(--text-2); }
.p10 .note.over { color: var(--p10-text); font-weight: 700; }
.p10 .md-b .box { margin-top: 2px; }
.p10 .plot .cross[hidden] line { display: none; }
