@font-face {
	font-family: 'IBM Plex Mono';
	src: url('../fonts/ibm-plex-mono-500.woff2') format('woff2');
	font-weight: 500;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: 'IBM Plex Mono';
	src: url('../fonts/ibm-plex-mono-600.woff2') format('woff2');
	font-weight: 600;
	font-style: normal;
	font-display: swap;
}

:root {
	--hi: #ffc400;
	--brand-text: #066f3e;
	--brand-fill: #07854a;
	--hi-soft: #fff3c4;
	--mono: 'IBM Plex Mono', ui-monospace, Consolas, monospace;
	--night: #0b1a12;
	--seg: #e3ece6;
	--field: #7a8f83;
	--warn-text: #7a5b00;
	--danger-text: #b42318;
	--shadow: 0 1px 2px rgb(16 35 26 / .05), 0 18px 44px -18px rgb(16 35 26 / .26);
	--shadow-lift: 0 2px 4px rgb(16 35 26 / .08), 0 30px 60px -22px rgb(16 35 26 / .45);
}

body { overflow-x: clip; }
.visually-hidden { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0; }
.ico { width: 20px; height: 20px; flex-shrink: 0; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.ico--sm { width: 16px; height: 16px; }
svg.shirt { display: block; width: 32px; height: 32px; flex-shrink: 0; }

.tag { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; background: #fff; border: 1px solid var(--line); color: var(--ink); font: 600 12px/1.3 var(--mono); letter-spacing: .02em; text-transform: uppercase; }
.tag--hi { background: var(--hi); border-color: var(--hi); color: #2b2100; }
.btn-start { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 56px; padding: 14px 26px; border: 0; border-radius: 9px; background: var(--brand-fill); color: #fff; font: 600 16px/1.2 'Segoe UI', Arial, sans-serif; text-align: center; box-shadow: 0 10px 24px -12px rgb(7 137 76 / .8); cursor: pointer; }
.btn-start:hover { background: var(--brand-hover); }
.btn-plain { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 12px 20px; border: 1px solid var(--line); border-radius: 9px; background: #fff; color: var(--ink); font: 600 15px/1.2 'Segoe UI', Arial, sans-serif; text-align: center; cursor: pointer; }
.btn-plain:hover { border-color: var(--brand); background: var(--surface-alt); }
.btn-plain--sm { min-height: 38px; padding: 6px 12px; font-size: 13px; }
.textbtn { margin-left: auto; min-height: 40px; padding: 8px 4px; border: 0; background: none; color: var(--brand-text); font-weight: 600; font-size: 14px; cursor: pointer; }
.textbtn:hover { color: var(--brand-hover); text-decoration: underline; }
.textbtn--inline { margin: 0; min-height: 0; padding: 0; font-size: inherit; text-decoration: underline; }

.mdg-hero { position: relative; padding-block: 30px 26px; }
.mdg-hero::after { content: ''; position: absolute; inset: 0; pointer-events: none; background-image: linear-gradient(var(--line-soft) 1px, transparent 1px), linear-gradient(90deg, var(--line-soft) 1px, transparent 1px); background-size: 56px 56px; -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 0%, #000 10%, transparent 75%); mask-image: radial-gradient(ellipse 70% 60% at 50% 0%, #000 10%, transparent 75%); }
.mdg-hero > * { position: relative; z-index: 1; }
.mdg-hero hgroup { margin: 0; }
.mdg-hero h1 { margin: 0 0 14px; color: var(--brand-text); font: 700 13px/1.2 var(--display); letter-spacing: .16em; text-transform: uppercase; }
.mdg-title { color: var(--ink); font: italic 700 44px/.95 var(--display); text-transform: uppercase; letter-spacing: -.015em; text-wrap: balance; }
.mdg-title mark { background: linear-gradient(transparent 62%, var(--hi) 62%, var(--hi) 92%, transparent 92%); color: inherit; padding-inline: 2px; }
.wall-copy { display: grid; gap: 18px; }
.mdg-lede { max-width: 54ch; font-size: 15px; line-height: 1.55; }
.mdg-sports-line { margin-top: 8px; max-width: 54ch; font-size: 14px; }
.mdg-trust { display: flex; flex-wrap: wrap; gap: 6px 16px; margin: 14px 0 0; padding: 0; list-style: none; font-size: 13px; color: var(--ink); }
.mdg-trust li { display: inline-flex; align-items: center; gap: 8px; }
.mdg-trust .ico { color: var(--brand); width: 18px; height: 18px; }

.wall { padding-block: 0 56px; }
.wall__bar { position: sticky; top: 0; z-index: 3; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 10px; padding: 12px 0; background: rgb(255 255 255 / .94); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); border-bottom: 1px solid var(--line-soft); }
.wall__bar h2 { font-size: 24px; }
.wall__bar .kindseg { grid-column: 1 / -1; grid-row: 2; display: grid; grid-template-columns: repeat(3, 1fr); }
.wall__bar select { grid-column: 2; grid-row: 1; max-width: 170px; min-height: 40px; padding: 6px 34px 6px 12px; border: 1px solid var(--line); border-radius: 9px; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2352665a' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6l6 -6'/%3E%3C/svg%3E") no-repeat right 10px center / 16px; color: var(--ink); font: 600 13px/1.2 'Segoe UI', Arial, sans-serif; -webkit-appearance: none; appearance: none; }
.wall__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 14px; margin-top: 18px; }
.wall__grid:not([data-ready]):not([data-all]) > .wallcard:nth-child(n+9) { display: none; }
.wall__grid[data-ready] > .wallcard.is-extra { display: none; }
.wallcard { display: block; width: 100%; min-width: 0; padding: 0; border: 0; background: none; text-align: left; cursor: pointer; }
.wallcard__still { position: relative; display: block; border-radius: 11px; overflow: hidden; box-shadow: var(--shadow); background: var(--night); }
.wallcard__still img { width: 100%; aspect-ratio: 9 / 16; object-fit: cover; }
.wallcard__go { position: absolute; left: 8px; right: 8px; bottom: 8px; display: flex; align-items: center; justify-content: center; gap: 6px; min-height: 36px; border-radius: 8px; background: rgb(255 255 255 / .94); color: var(--ink); font-weight: 600; font-size: 13px; opacity: 0; transform: translateY(6px); transition: opacity .15s, transform .15s; }
.wallcard:hover .wallcard__go, .wallcard:focus-visible .wallcard__go { opacity: 1; transform: none; }
.wallcard__name { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; margin-top: 10px; color: var(--ink); font: 700 19px/1.1 var(--display); letter-spacing: .01em; }
.wallcard__line { display: block; margin-top: 3px; color: var(--muted); font-size: 13px; line-height: 1.4; }
.sportbadge { display: inline-block; padding: 2px 6px; border-radius: 5px; background: var(--hi); color: #2b2100; font: 600 10px/1.3 var(--mono); letter-spacing: .04em; text-transform: uppercase; }
.wall__more { display: flex; justify-content: center; margin-top: 26px; }
.wall__note { margin-top: 18px; text-align: center; font-size: 13px; }
.mdg-loadnote { margin-top: 8px; text-align: center; font: 500 12px/1.5 var(--mono); color: var(--muted); }

.kindseg { display: inline-grid; grid-auto-flow: column; gap: 3px; padding: 3px; border-radius: 10px; background: var(--seg); }
.kindseg button { min-height: 40px; padding: 8px 16px; border: 0; border-radius: 8px; background: transparent; color: var(--muted); font-weight: 600; font-size: 14px; }
.kindseg button[aria-checked="true"] { background: #fff; color: var(--ink); box-shadow: 0 1px 3px rgb(16 35 26 / .18); }

.tool { background: var(--surface-alt); border-bottom: 1px solid var(--line); }
.tool :focus-visible { outline-offset: 2px; }
.tool__top { position: sticky; top: 0; z-index: 6; background: #fff; border-bottom: 1px solid var(--line); }
.tool__topin { display: grid; grid-template-columns: 44px minmax(0, 1fr) 44px; align-items: center; gap: 6px; padding: 8px 0 10px; }
.tool__title { text-align: center; }
.tool__title h2 { font-size: 22px; line-height: 1.1; outline: 0; }
.tool__title p { font: 500 11px/1.3 var(--mono); color: var(--muted); text-transform: uppercase; letter-spacing: .04em; }
.iconbtn { display: inline-grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 10px; background: transparent; color: var(--ink); }
.iconbtn:hover { background: var(--surface-alt); }
.tool__kinds { padding-bottom: 10px; }
.tool__kinds .kindseg { display: grid; grid-template-columns: repeat(3, 1fr); width: 100%; }
.tool__grid { padding-block: 14px 24px; }

.tsec { margin-bottom: 12px; border: 1px solid var(--line); border-radius: 14px; background: #fff; }
.tsec__head { display: flex; align-items: center; gap: 12px; padding: 16px 18px; }
.tsec__num { display: inline-grid; place-items: center; flex-shrink: 0; width: 28px; height: 28px; border-radius: 50%; background: var(--surface-alt); color: var(--brand-text); font: 600 13px/1 var(--mono); }
.tsec--done .tsec__num { background: var(--brand-fill); color: #fff; }
.tsec__head h3 { font-size: 23px; line-height: 1.1; }
.tsec__head .tsec__aside { margin-left: auto; font-size: 13px; color: var(--muted); }
.tsec__body { display: grid; gap: 18px; padding: 0 18px 20px; min-width: 0; }
.tsum { display: flex; align-items: center; gap: 12px; padding: 0 18px 16px; }
.tsum__shirt svg.shirt { width: 40px; height: 40px; }
.tsum__text { display: grid; min-width: 0; }
.tsum__text strong { font-size: 16px; color: var(--ink); overflow-wrap: anywhere; }
.tsum__text span { font-size: 13px; color: var(--muted); }
.remembered { display: inline-flex; align-items: center; gap: 6px; font: 500 11px/1.3 var(--mono); color: var(--brand-text); text-transform: uppercase; letter-spacing: .05em; }

.fld { display: grid; gap: 7px; min-width: 0; }
.fld > label, .fld__label { color: var(--ink); font-size: 14px; font-weight: 600; }
.fld__label small, .fld > label small { color: var(--muted); font-weight: 400; }
.fld input[type="text"], .fld input[type="date"], .fld input[type="time"], .fld select { width: 100%; min-width: 0; min-height: 48px; padding: 11px 13px; border: 1px solid var(--field); border-radius: 9px; background: #fff; color: var(--ink); font: 16px/1.3 'Segoe UI', Arial, sans-serif; }
.fld input::placeholder, .scorer input::placeholder { color: #62756b; }
.fld input:focus, .fld select:focus, .scorer input:focus, .scorer select:focus, .stepper input:focus { outline: 0; border-color: var(--brand); box-shadow: 0 0 0 3px rgb(7 137 76 / .18); }
.fld input[aria-invalid="true"] { border-color: var(--danger-text); }
.fld__help { font-size: 13px; color: var(--muted); }
.fld__error { display: flex; gap: 6px; align-items: flex-start; font-size: 13px; color: var(--danger-text); }
.row2 { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 12px; }
.chips { display: flex; flex-wrap: nowrap; gap: 8px; overflow-x: auto; margin-inline: -18px; padding: 4px 18px 6px; scrollbar-width: none; }
.chips::-webkit-scrollbar { display: none; }
.chip { flex-shrink: 0; min-height: 40px; padding: 8px 14px; border: 1px solid var(--field); border-radius: 999px; background: #fff; color: var(--ink); font-weight: 600; font-size: 14px; }
.chip[aria-checked="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.chips--all { flex-wrap: wrap; overflow: visible; margin-inline: 0; padding-inline: 0; }
.seg { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 3px; padding: 3px; border-radius: 10px; background: var(--seg); }
.seg button { min-height: 42px; padding: 6px 10px; border: 0; border-radius: 8px; background: transparent; color: var(--muted); font-weight: 600; font-size: 14px; }
.seg button[aria-checked="true"] { background: #fff; color: var(--ink); box-shadow: 0 1px 3px rgb(16 35 26 / .18); }
.seg button small { display: block; font: 500 11px/1.2 var(--mono); color: var(--muted); }
.morebtn { display: inline-flex; align-items: center; gap: 6px; width: fit-content; min-height: 36px; padding: 4px 0; border: 0; background: none; color: var(--brand-text); font-weight: 600; font-size: 14px; }
.morebtn:hover { text-decoration: underline; }

.kit { display: grid; grid-template-columns: 76px minmax(0, 1fr); gap: 14px; align-items: start; }
.kit__shirt { display: block; }
.kit__shirt svg.shirt { width: 76px; height: 76px; }
.kit__caption { display: none; }
.kit__parts { display: grid; gap: 12px; min-width: 0; }
.kit__line { display: grid; gap: 6px; min-width: 0; }
.kit__name { font-size: 12px; font-weight: 600; color: var(--muted); }
.kit--theirs { grid-template-columns: 52px minmax(0, 1fr); align-items: center; }
.kit--theirs .kit__shirt svg.shirt { width: 52px; height: 52px; }
.kit--theirs-more { display: block; }
.kitaway { display: grid; gap: 10px; padding-top: 6px; border-top: 1px dashed var(--line); }
.kitaway__head { display: flex; align-items: center; }
.theirs-more { display: grid; gap: 14px; padding: 12px; border-radius: 12px; background: var(--surface-alt); }
.swatches { display: flex; flex-wrap: wrap; align-items: center; gap: 7px; }
.swatch { position: relative; width: 30px; height: 30px; padding: 0; border: 1px solid rgb(0 0 0 / .14); border-radius: 50%; }
.swatch[aria-checked="true"] { box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--ink); }
.swatch[aria-checked="true"]::after { content: ''; position: absolute; left: 10px; top: 6px; width: 7px; height: 12px; border: solid #fff; border-width: 0 2.5px 2.5px 0; transform: rotate(45deg); }
.swatch--light[aria-checked="true"]::after { border-color: var(--ink); }
.swatch--auto { display: inline-flex; align-items: center; gap: 6px; width: auto; padding: 0 10px 0 5px; border-radius: 999px; border-color: var(--field); background: #fff; color: var(--ink); font-size: 12px; font-weight: 600; }
.swatch--auto i { width: 20px; height: 20px; border-radius: 50%; border: 1px solid rgb(0 0 0 / .14); }
.swatch--auto[aria-checked="true"]::after { content: none; }
.anycol { position: relative; display: inline-flex; align-items: center; gap: 6px; min-height: 30px; padding-right: 4px; font-size: 12px; font-weight: 600; color: var(--muted); cursor: pointer; }
.anycol__dot { width: 30px; height: 30px; border: 1px solid rgb(0 0 0 / .14); border-radius: 50%; background: conic-gradient(#df3b3b, #e09a0c, #f3c614, #12a594, #2f80b9, #3e63dd, #d6409f, #df3b3b); }
.anycol input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; padding: 0; border: 0; opacity: 0; cursor: pointer; }
.anycol.is-on .anycol__dot { box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--ink); }
.anycol:has(input:focus-visible) { outline: 3px solid #a65a00; outline-offset: 2px; border-radius: 999px; }
.patterns { display: flex; flex-wrap: wrap; gap: 6px; }
.pattern { display: grid; place-items: center; width: 42px; height: 42px; padding: 0; border: 1px solid var(--line); border-radius: 9px; background: #fff; }
.pattern svg.shirt { width: 32px; height: 32px; }
.pattern[aria-checked="true"] { border-color: var(--ink); box-shadow: 0 0 0 1px var(--ink); }

.logo { display: grid; gap: 8px; }
.drop__input { position: absolute; width: 1px; height: 1px; opacity: 0; overflow: hidden; }
.drop { display: flex; align-items: center; gap: 14px; padding: 14px; border: 1.5px dashed #a9c0b0; border-radius: 12px; background: var(--surface-alt); cursor: pointer; }
.drop:hover, .drop.is-over { border-color: var(--brand); }
.drop__input:focus-visible + .drop { outline: 3px solid #a65a00; outline-offset: 2px; }
.drop__icon { display: grid; place-items: center; flex-shrink: 0; width: 48px; height: 48px; border-radius: 50%; overflow: hidden; background: #fff; color: var(--brand); border: 1px solid var(--line); }
.drop__icon img { width: 40px; height: 40px; object-fit: contain; }
.drop__text { display: grid; gap: 2px; min-width: 0; }
.drop__text strong { color: var(--ink); font-size: 15px; overflow-wrap: anywhere; }
.drop__text span { font-size: 13px; color: var(--muted); }
.drop--set { border-style: solid; background: #fff; }
.drop--busy .drop__icon::before { content: ''; width: 22px; height: 22px; border-radius: 50%; border: 2.5px solid var(--brand); border-right-color: transparent; animation: spin 1s linear infinite; }
.logo__row { display: flex; align-items: center; gap: 10px; }
.logo__row .drop { flex: 1; min-width: 0; }
.logo__row .textbtn { margin: 0; flex-shrink: 0; }

.opp { grid-template-columns: minmax(0, 1fr); }
.opp__recent { display: flex; flex-wrap: wrap; gap: 6px; }
.opp__recent button { display: inline-flex; align-items: center; gap: 6px; min-height: 36px; max-width: 100%; padding: 4px 12px 4px 6px; border: 1px solid var(--line); border-radius: 999px; background: #fff; font-size: 13px; font-weight: 600; color: var(--ink); }
.opp__recent button span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.opp__recent img, .opp__recent svg.shirt { width: 24px; height: 24px; flex-shrink: 0; object-fit: contain; }

.score { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 12px; }
.score__side { display: grid; grid-template-columns: minmax(0, 1fr); justify-items: center; gap: 10px; min-width: 0; padding: 14px 8px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface-alt); }
.score__team { display: flex; align-items: center; justify-content: center; gap: 7px; max-width: 100%; font-weight: 600; font-size: 14px; color: var(--ink); }
.score__team > span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.score__team svg.shirt, .score__team img { width: 24px; height: 24px; flex-shrink: 0; object-fit: contain; }
.stepper { display: grid; grid-template-columns: 40px 64px 40px; align-items: center; gap: 4px; }
.stepper button { display: grid; place-items: center; width: 40px; height: 40px; padding: 0; border: 1px solid var(--field); border-radius: 50%; background: #fff; color: var(--ink); }
.stepper input { width: 64px; min-height: 52px; padding: 4px 0; border: 1px solid var(--field); border-radius: 9px; background: #fff; text-align: center; color: var(--ink); font: 600 40px/1 var(--mono); }
.stepper input::placeholder { color: #7a8f83; }
.stepper--sm { grid-template-columns: 34px 46px 34px; }
.stepper--sm button { width: 34px; height: 34px; }
.stepper--sm input { width: 46px; min-height: 38px; font-size: 24px; }
.ht { display: grid; gap: 10px; padding: 12px; border-radius: 12px; border: 1px dashed var(--line); }
.ht__head { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; color: var(--ink); }
.ht__head small { color: var(--muted); font-weight: 400; }
.ht__head .tag { text-transform: none; }
.ht__sides { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 10px; }
.ht__side { display: grid; grid-template-columns: minmax(0, 1fr); justify-items: center; gap: 4px; min-width: 0; font-size: 12px; color: var(--muted); }
.ht__side > span { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.scorers { display: grid; gap: 8px; }
.scorers__head { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.scorers__head strong { font-size: 14px; color: var(--ink); }
.scorers__head span { font-size: 12px; color: var(--muted); }
.scorer { display: grid; grid-template-columns: minmax(0, 1fr) 104px 76px 34px; gap: 6px; align-items: center; }
.scorer--one { grid-template-columns: minmax(0, 1fr) 76px 34px; }
.scorer input, .scorer select { width: 100%; min-width: 0; min-height: 44px; padding: 8px 10px; border: 1px solid var(--field); border-radius: 8px; background: #fff; color: var(--ink); font: 15px/1.2 'Segoe UI', Arial, sans-serif; }
.scorer select { padding-inline: 6px; }
.scorer input:disabled { background: var(--surface-alt); }
.scorer .min, .scorer .cnt { font-family: var(--mono); text-align: center; padding-inline: 4px; }
.scorer .del { display: grid; place-items: center; width: 34px; height: 34px; padding: 0; border: 0; border-radius: 8px; background: none; color: var(--muted); }
.scorer .del:hover { background: var(--surface-alt); color: var(--ink); }
.addrow { display: inline-flex; align-items: center; gap: 6px; width: fit-content; min-height: 40px; padding: 6px 12px; border: 1px dashed #a9c0b0; border-radius: 9px; background: #fff; color: var(--brand-text); font-weight: 600; font-size: 14px; }
.privacy-hint { display: flex; gap: 8px; align-items: flex-start; font-size: 13px; color: var(--muted); }
.privacy-hint .ico { color: var(--brand); margin-top: 1px; }

.looks { display: grid; grid-auto-flow: column; grid-auto-columns: 98px; gap: 10px; margin-inline: -18px; padding: 6px 18px 8px; overflow-x: auto; scroll-snap-type: x proximity; scrollbar-width: none; }
.looks::-webkit-scrollbar { display: none; }
.look { display: grid; align-content: start; gap: 7px; padding: 0; border: 0; background: none; text-align: left; scroll-snap-align: center; }
.look__still { position: relative; display: block; border-radius: 9px; overflow: hidden; background: var(--night); outline: 3px solid transparent; outline-offset: 2px; }
.look__still img { width: 100%; aspect-ratio: 9 / 16; object-fit: cover; }
.looks--post .look__still img { aspect-ratio: 4 / 5; }
.look[aria-checked="true"] .look__still { outline-color: var(--brand); }
.look__check { position: absolute; right: 6px; top: 6px; display: none; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--brand); color: #fff; }
.look[aria-checked="true"] .look__check { display: grid; }
.look__name { display: flex; align-items: center; gap: 5px; flex-wrap: wrap; color: var(--ink); font-size: 13px; font-weight: 600; line-height: 1.2; }
.look .sportbadge { font-size: 9px; padding: 1px 4px; }
.looks-line { font-size: 14px; color: var(--ink); }
.looks-line b { font-weight: 600; }

.tnote { display: grid; gap: 6px; padding: 4px 4px 0; font-size: 13px; color: var(--muted); }
.tnote p { display: flex; gap: 8px; align-items: flex-start; font-size: 13px; }
.tnote .ico { color: var(--brand); margin-top: 1px; }
.tnote button { width: fit-content; min-height: 36px; padding: 4px 0; border: 0; background: none; color: var(--muted); text-decoration: underline; font-size: 13px; }
.tnote button:hover { color: var(--ink); }

.makebar { position: sticky; bottom: 0; z-index: 7; display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 4px 12px; align-items: center; padding: 10px 6% calc(12px + env(safe-area-inset-bottom)); background: #fff; border-top: 1px solid var(--line); box-shadow: 0 -10px 30px -20px rgb(16 35 26 / .4); }
.makebar__mini { grid-row: 1 / span 3; width: 40px; aspect-ratio: 9 / 16; border-radius: 5px; background: var(--night); object-fit: cover; }
.makebar__meta { font: 500 11px/1.3 var(--mono); color: var(--muted); }
.makebar__hint, .makehint { font-size: 13px; color: var(--warn-text); }
.makebar .btn-start { grid-column: 2; min-height: 50px; width: 100%; }

.preview { display: grid; gap: 12px; padding: 18px; border: 1px solid var(--line); border-radius: 16px; background: #fff; box-shadow: var(--shadow); }
.preview__frame { position: relative; width: 100%; max-width: 268px; margin-inline: auto; }
.preview__frame img { width: 100%; aspect-ratio: 9 / 16; border-radius: 11px; background: var(--night); object-fit: cover; }
.preview__frame--post img { aspect-ratio: 4 / 5; }
.preview__frame .tag { position: absolute; left: 10px; top: 10px; }
.preview__cap { font-size: 13px; text-align: center; }
.preview__meta { text-align: center; font: 500 12px/1.4 var(--mono); color: var(--muted); }
.preview .btn-start { width: 100%; }
.preview .makehint { text-align: center; }
.preview__marks { padding: 10px 12px; border-radius: 10px; background: var(--surface-alt); font-size: 12px; color: var(--muted); }
.preview__marks img { display: inline-block; height: 12px; width: auto; vertical-align: -1px; }

.tool__aside .preview { display: none; }
.making { position: fixed; inset: 0; z-index: 20; display: flex; align-items: flex-end; background: rgb(11 26 18 / .62); }
.making[hidden] { display: none; }
.making__card { width: 100%; max-height: 100%; overflow-y: auto; padding: 26px 6% calc(26px + env(safe-area-inset-bottom)); border-radius: 18px 18px 0 0; background: #fff; }
.making__card h2 { font-size: 30px; outline: 0; }
.making__card > p { margin-top: 6px; font-size: 14px; }
.stages { display: grid; gap: 12px; margin: 22px 0; padding: 0; list-style: none; }
.stages li { display: grid; grid-template-columns: 26px minmax(0, 1fr) auto; gap: 12px; align-items: center; font-size: 15px; color: var(--muted); }
.stages li.is-done { color: var(--ink); }
.stages li.is-now { color: var(--ink); font-weight: 600; }
.stages i { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; border: 2px solid var(--field); color: #fff; }
.stages li.is-done i { background: var(--brand); border-color: var(--brand); }
.stages li.is-done i::before { content: ''; width: 6px; height: 11px; margin-top: -3px; border: solid #fff; border-width: 0 2.5px 2.5px 0; transform: rotate(45deg); }
.stages li.is-now i { border-color: var(--brand); border-right-color: transparent; animation: spin 1s linear infinite; }
.stages li.is-failed i { border-color: var(--danger-text); background: var(--danger-text); }
.stages time { font: 500 12px/1 var(--mono); color: var(--muted); }
@keyframes spin { to { transform: rotate(360deg); } }
.bar { height: 10px; border-radius: 999px; background: var(--seg); overflow: hidden; }
.bar i { display: block; height: 100%; width: 0; border-radius: inherit; background: repeating-linear-gradient(-45deg, var(--brand) 0 10px, #0a9a56 10px 20px); transition: width .3s linear; }
.bar-meta { display: flex; justify-content: space-between; gap: 10px; margin-top: 8px; font: 500 12px/1.3 var(--mono); color: var(--muted); }
.making__error { margin-top: 16px; padding: 12px; border-radius: 10px; background: #fdecea; color: var(--danger-text); font-size: 14px; }
.making__note { display: flex; gap: 8px; margin: 18px 0; padding: 12px; border-radius: 10px; background: var(--surface-alt); font-size: 13px; color: var(--muted); }
.making__note .ico { color: var(--brand); }
.making__actions { display: flex; flex-wrap: wrap; gap: 10px; }

.done__in { display: grid; gap: 18px; padding-block: 18px 40px; }
.done__img img { width: auto; max-width: 100%; height: auto; max-height: 52vh; max-height: 52dvh; margin-inline: auto; border-radius: 12px; box-shadow: var(--shadow-lift); background: var(--night); }
.done__side { display: grid; gap: 16px; min-width: 0; }
.done__head h2 { margin-top: 10px; font-size: 34px; outline: 0; }
.done__head p { margin-top: 6px; font-size: 14px; }
.done__actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.done__actions > :only-child { grid-column: 1 / -1; }
.done__actions .btn-start, .done__actions .btn-plain { width: 100%; padding-inline: 14px; }
.done__status { min-height: 0; font-size: 13px; color: var(--brand-text); }
.done__status:empty { display: none; }
.done__more { display: flex; flex-wrap: wrap; gap: 4px 18px; }
.done__more button { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 6px 0; border: 0; background: none; color: var(--brand-text); font-weight: 600; font-size: 14px; }
.done__more button:hover { text-decoration: underline; }
.nextcard { display: flex; align-items: center; gap: 14px; width: 100%; padding: 16px; border: 1px solid var(--line); border-radius: 14px; background: #fff; text-align: left; }
.nextcard:hover { border-color: var(--brand); }
.nextcard img { width: 54px; aspect-ratio: 9 / 16; border-radius: 6px; object-fit: cover; flex-shrink: 0; }
.nextcard__text { display: grid; gap: 2px; min-width: 0; }
.nextcard strong { color: var(--ink); font: 700 20px/1.1 var(--display); }
.nextcard__text span { font-size: 13px; color: var(--muted); font-weight: 400; }
.nextcard .ico { margin-left: auto; color: var(--brand); }
.caption { display: grid; gap: 10px; padding: 16px; border: 1px solid var(--line); border-radius: 14px; background: #fff; }
.caption pre { margin: 0; padding: 12px; border-radius: 9px; background: var(--surface-alt); color: var(--ink); font: 500 13px/1.55 var(--mono); white-space: pre-wrap; overflow-wrap: anywhere; }
.caption label { display: flex; gap: 8px; align-items: center; min-height: 32px; font-size: 13px; color: var(--muted); }
.caption input { width: 18px; height: 18px; accent-color: var(--brand); }
.caption__row { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.caption__row strong { font-size: 14px; color: var(--ink); }
.appcard { position: relative; display: grid; gap: 12px; padding: 22px; border-radius: 16px; background: var(--night); color: #e8f1ea; overflow: hidden; }
.appcard::after { content: ''; position: absolute; right: -60px; top: -60px; width: 200px; height: 200px; border-radius: 50%; background: radial-gradient(circle, rgb(255 196 0 / .22), transparent 70%); pointer-events: none; }
.appcard > * { position: relative; z-index: 1; }
.appcard__brand img { height: 22px; width: auto; }
.appcard h3 { color: #fff; font: italic 700 32px/1 var(--display); text-transform: uppercase; }
.appcard p { color: #b9c9be; font-size: 15px; line-height: 1.55; }
.appcard__media { display: grid; grid-template-columns: 92px minmax(0, 1fr); gap: 14px; align-items: center; }
.appcard__media .clip { position: relative; display: block; }
.appcard__media .clip img { width: 100%; aspect-ratio: 9 / 16; border-radius: 9px; object-fit: cover; }
.appcard__media .clip > span { position: absolute; inset: 0; display: grid; place-items: center; }
.appcard__media .clip b { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: rgb(255 255 255 / .9); color: var(--night); }
.stores { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 6px; }
.store { display: inline-flex; align-items: center; gap: 9px; min-height: 46px; padding: 6px 14px 6px 12px; border-radius: 9px; background: #000; border: 1px solid #3d5548; color: #fff; }
.store svg { width: 22px; height: 22px; fill: currentColor; }
.store > span { display: grid; font-size: 10px; line-height: 1.15; letter-spacing: .02em; color: #d7e4db; }
.store b { font-size: 15px; font-weight: 600; letter-spacing: 0; color: #fff; }
.coachcard { display: grid; gap: 6px; padding: 18px; border: 1px solid var(--line); border-radius: 14px; background: #fff; }
.coachcard strong { color: var(--ink); font: 700 20px/1.1 var(--display); }
.coachcard p { font-size: 14px; }
.coachcard a { width: fit-content; color: var(--brand-text); font-weight: 600; font-size: 14px; }
.coachcard a:hover { text-decoration: underline; }
.done__fine { font-size: 12px; color: var(--muted); }

.mdg-block { padding-block: 56px; border-top: 1px solid var(--line); }
.mdg-block--tint { background: var(--surface-alt); }
.mdg-head { display: grid; gap: 14px; margin-bottom: 34px; max-width: 760px; }
.mdg-head h2 { font-size: clamp(34px, 4.2vw, 52px); }
.mdg-head p { font-size: 16px; max-width: 60ch; }
.mdg-block .cic-step-num { color: var(--brand-text); font-family: var(--mono); font-weight: 600; font-size: 14px; letter-spacing: .04em; }
.get { display: grid; gap: 18px; }
.get article { position: relative; display: flex; flex-direction: column; gap: 10px; padding: 26px; border: 1px solid var(--line); border-radius: 14px; background: #fff; }
.get article.get--here { border-color: var(--brand); box-shadow: 0 0 0 1px var(--brand), var(--shadow); }
.get article.get--app { background: var(--night); border-color: var(--night); color: #e8f1ea; }
.get article.get--app h3 { color: #fff; }
.get article.get--app p, .get article.get--app li { color: #b9c9be; }
.get .get__kicker { font: 600 12px/1.3 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--brand-text); }
.get--app .get__kicker { color: var(--hi); }
.get h3 { font-size: 30px; }
.get p { font-size: 15px; line-height: 1.6; }
.get ul { margin: 4px 0 0; padding: 0; list-style: none; display: grid; gap: 8px; font-size: 14px; }
.get li { position: relative; padding-left: 20px; color: var(--ink); }
.get li::before { content: ''; position: absolute; left: 0; top: 9px; width: 10px; height: 3px; border-radius: 2px; background: var(--brand); }
.get--app li::before { background: var(--hi); }
.get__foot { display: grid; gap: 10px; justify-items: start; margin-top: auto; padding-top: 12px; font-size: 13px; }
.get__foot a { color: var(--brand-text); font-weight: 600; }
.get__foot a:hover { text-decoration: underline; }
.plan-note { display: inline-block; padding: 3px 9px; border: 1px solid var(--line); border-radius: 999px; }
.sportgrid { display: grid; gap: 18px; }
.sport { display: grid; grid-template-columns: 88px minmax(0, 1fr); gap: 14px; align-items: start; padding: 14px; border: 1px solid var(--line); border-radius: 14px; background: #fff; }
.sport img { width: 100%; aspect-ratio: 9 / 16; border-radius: 9px; box-shadow: var(--shadow); background: var(--night); object-fit: cover; }
.sport h3 { font-size: 24px; }
.sport p { margin-top: 8px; font-size: 15px; line-height: 1.6; }
.sport a { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; margin-top: 6px; color: var(--brand-text); font-weight: 600; font-size: 14px; }
.sport a:hover { text-decoration: underline; }
.sport-more { margin-top: 22px; font-size: 15px; }
.cic-faq { border-top: 1px solid var(--line); }
.cic-faq h2 { font-size: clamp(34px, 4.2vw, 52px); }
.mdg-faq-lede { font-size: 15px; }
.mdg-faq-lede a { color: var(--brand-hover); text-decoration: underline; }
.cic-faq .cic-questions summary { font-size: 16px; }
.cic-faq .cic-questions p { font-size: 15px; line-height: 1.65; }
.related { padding-block: 56px; border-top: 1px solid var(--line); }
.related h2 { font-size: clamp(30px, 3.4vw, 40px); margin-bottom: 24px; }
.related ul { display: grid; gap: 22px; margin: 0; padding: 0; list-style: none; }
.related a { display: block; height: 100%; padding-top: 14px; border-top: 2px solid var(--line); }
.related a:hover { border-top-color: var(--brand); }
.related a:hover h3 { color: var(--brand-text); }
.related span { display: block; margin-bottom: 6px; font: 600 11px/1.3 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--brand-text); }
.related h3 { font-size: 22px; line-height: 1.1; color: var(--ink); }
.related p { margin-top: 8px; font-size: 14px; }
.cic-cta-band .btn-start { box-shadow: none; }
.cic-footer-links a[aria-current] { color: var(--brand-text); }

.only-desk-inline { display: none; }
.only-phone-inline { display: inline; }

@media (max-width: 999px) {
	body.mdg-open .site-header, body.mdg-open [data-after], body.mdg-open .site-footer { display: none; }
	body.mdg-open .tool { min-height: 100vh; min-height: 100dvh; }
	body.mdg-making { overflow: hidden; }
}

@media (max-width: 470px) {
	.btn-start { width: 100%; }
	.cic-cta-band .btn-start { width: auto; }
	.stepper { grid-template-columns: 36px 56px 36px; }
	.stepper button { width: 36px; height: 36px; }
	.stepper input { width: 56px; font-size: 34px; }
	.stepper--sm { grid-template-columns: 34px 46px 34px; }
	.stepper--sm button { width: 34px; height: 34px; }
	.stepper--sm input { width: 46px; font-size: 24px; }
	.scorer { grid-template-columns: minmax(0, 1fr) 88px 66px 30px; gap: 5px; }
	.scorer--one { grid-template-columns: minmax(0, 1fr) 66px 30px; }
	.scorer .del { width: 30px; }
	.row2 { gap: 10px; }
	.done__actions { grid-template-columns: 1fr; }
}

@media (max-width: 380px) {
	.stepper { grid-template-columns: 34px 52px 34px; }
	.stepper button { width: 34px; height: 34px; }
	.stepper input { width: 52px; font-size: 32px; }
	.stepper--sm { grid-template-columns: 34px 46px 34px; }
	.stepper--sm button { width: 34px; height: 34px; }
	.stepper--sm input { width: 46px; font-size: 24px; }
}

@media (max-width: 639px) {
	.kit, .kit--theirs { grid-template-columns: minmax(0, 1fr); gap: 10px; }
	.kit__shirt { display: flex; align-items: center; gap: 12px; }
	.kit__shirt svg.shirt, .kit--theirs .kit__shirt svg.shirt { width: 52px; height: 52px; }
	.kit__caption { display: block; color: var(--ink); font-size: 14px; font-weight: 600; }
}

@media (min-width: 640px) {
	.mdg-title { font-size: 56px; }
	.wall__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.wall__grid:not([data-ready]):not([data-all]) > .wallcard:nth-child(n+9) { display: block; }
	.wall__grid:not([data-ready]):not([data-all]) > .wallcard:nth-child(n+10) { display: none; }
	.get { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.sportgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.sport { grid-template-columns: 112px minmax(0, 1fr); gap: 18px; padding: 18px; }
	.sport h3 { font-size: 27px; }
	.related ul { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.done__img { max-width: 420px; margin-inline: auto; }
}

@media (min-width: 900px) {
	.wall__bar { display: flex; flex-wrap: wrap; gap: 10px 16px; }
	.wall__bar h2 { font-size: 26px; margin-right: auto; }
	.wall__bar .kindseg { display: inline-grid; grid-template-columns: none; }
	.wall__bar select { max-width: none; min-height: 40px; font-size: 14px; }
	.wall__grid { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 26px 18px; }
	.wall__grid:not([data-ready]):not([data-all]) > .wallcard:nth-child(n+10) { display: block; }
	.wall__grid:not([data-ready]):not([data-all]) > .wallcard:nth-child(n+13) { display: none; }
}

@media (min-width: 1000px) {
	.mdg-hero { padding-block: 56px 40px; }
	.mdg-lede { font-size: 17px; line-height: 1.6; }
	.mdg-sports-line { font-size: 15px; }
	.mdg-trust { gap: 8px 22px; margin-top: 22px; font-size: 14px; }
	.mdg-title { font-size: clamp(46px, 5vw, 70px); }
	.wall-copy { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 48px; align-items: end; }

	.tool { padding-block: 0 56px; }
	.tool__top { position: static; background: transparent; border: 0; }
	.tool__head { display: flex; align-items: end; justify-content: space-between; gap: 24px; padding-bottom: 18px; }
	.tool__topin { grid-template-columns: auto minmax(0, 1fr); gap: 12px; padding: 28px 0 0; }
	.tool__topin > span { display: none; }
	.tool__title { text-align: left; }
	.tool__title h2 { font-size: 44px; font-style: italic; text-transform: uppercase; }
	.tool__title p { font-size: 12px; margin-top: 4px; }
	.tool__kinds { padding: 0; }
	.tool__kinds .kindseg { display: inline-grid; grid-template-columns: none; width: auto; }
	.tool__grid { display: grid; grid-template-columns: minmax(0, 1fr) 370px; gap: 28px; align-items: start; padding-block: 0; }
	.tool__form .tsec { margin-bottom: 14px; }
	.tsec__body > .fld, .tsec__body > .row2, .tsec__body > .scorers, .tsec__body > .score, .tsec__body > .ht { max-width: 760px; }
	.scorer { grid-template-columns: minmax(0, 1fr) 140px 96px 34px; }
	.scorer--one { grid-template-columns: minmax(0, 1fr) 96px 34px; }
	.tool__aside { position: sticky; top: 20px; }
	.tool__aside .preview { display: grid; }
	.makebar { display: none; }
	.chips { flex-wrap: wrap; overflow: visible; margin-inline: 0; padding-inline: 0; }
	.looks { grid-auto-flow: row; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); grid-auto-columns: auto; margin: 0; padding: 4px; overflow: visible; }
	.making { position: static; display: block; background: none; }
	.making__card { padding: 24px; border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow); }
	.done__in { grid-template-columns: 340px minmax(0, 1fr); gap: 40px; align-items: start; padding-block: 0; }
	.done__img { position: sticky; top: 20px; max-width: none; }
	.done__img img { width: 100%; max-height: none; }
	.done__actions { display: flex; flex-wrap: wrap; justify-content: flex-start; }
	.done__actions .btn-start, .done__actions .btn-plain { width: auto; padding-inline: 22px; }
	.only-phone-inline { display: none; }
	.only-desk-inline { display: inline; }
}

@media (prefers-reduced-motion: reduce) {
	.stages li.is-now i, .drop--busy .drop__icon::before { animation: none; border-right-color: var(--brand); }
	.wallcard__go, .bar i { transition: none; }
	.looks, .chips { scroll-behavior: auto; }
}
