Something went wrong. Try again.
[READ-ONLY] Mirror of https://github.com/quarterback/Lottery. Sports draft lottery craft tool lottery.capbuffet.com
Something went wrong. Try again.
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235/* Component styles for the app shell. Cards, not tables; soft surfaces. */
/* ── App shell layout ── */.shell { display: grid; grid-template-rows: auto 1fr; height: 100%; background: var(--bg); background-image: var(--bg-grad);}.shell__body { display: grid; grid-template-columns: 256px 400px minmax(0, 1fr); gap: var(--s4); padding: var(--s4); min-height: 0; overflow: hidden;}@media (max-width: 1320px) { .shell__body { grid-template-columns: 240px minmax(0, 1fr); } .shell__body > .col:last-child { grid-column: 1 / -1; }}.col { min-height: 0; overflow: auto; display: flex; flex-direction: column; gap: var(--s4);}@media (max-width: 1180px) { .shell__body { grid-template-columns: 1fr; overflow: auto; } .col { overflow: visible; }}
/* ── Toolbar ── */.toolbar { display: flex; align-items: center; gap: var(--s4); padding: var(--s3) var(--s4); background: color-mix(in srgb, var(--surface) 82%, transparent); backdrop-filter: blur(10px); border-bottom: 1px solid var(--border); position: sticky; top: 0; z-index: 20;}.toolbar__brand { display: flex; align-items: baseline; gap: var(--s2); font-family: var(--font-wordmark); font-weight: 800; letter-spacing: -0.03em; font-size: 19px; white-space: nowrap; flex-shrink: 0;}.toolbar__brand small { font-family: var(--font-sans);}.toolbar__brand .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--brand); box-shadow: 0 0 0 4px color-mix(in srgb, var(--brand) 22%, transparent);}.toolbar__brand small { color: var(--text-3); font-weight: 500; font-size: 12px;}.toolbar__spacer { flex: 1;}.toolbar__ruleset { display: flex; align-items: center; gap: var(--s2); color: var(--text-2); font-size: 13px;}.toolbar__ruleset strong { color: var(--text); font-weight: 600;}
/* ── Buttons ── */.btn { display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border-radius: var(--r-sm); border: 1px solid var(--border-strong); background: var(--surface); color: var(--text); font-size: 13px; font-weight: 500; transition: background var(--transition), border-color var(--transition), transform var(--transition);}.btn:hover { background: var(--surface-2);}.btn:active { transform: translateY(1px);}.btn--primary { background: var(--brand); border-color: transparent; color: #04222b; font-weight: 600;}.btn--primary:hover { background: color-mix(in srgb, var(--brand) 88%, #000);}.btn--ghost { border-color: transparent; background: transparent; color: var(--text-2);}.btn--ghost:hover { background: var(--surface-2); color: var(--text);}.btn--sm { padding: 4px 9px; font-size: 12px;}.btn--icon { padding: 6px; width: 30px; height: 30px; justify-content: center; border-color: transparent; background: transparent; color: var(--text-2);}.btn--icon:hover { background: var(--surface-2); color: var(--text);}
/* ── Card / panel ── */.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); box-shadow: var(--shadow-sm);}.card__head { display: flex; align-items: center; gap: var(--s2); padding: var(--s3) var(--s4); border-bottom: 1px solid var(--border);}.card__title { font-family: var(--font-display); font-size: 12px; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; color: var(--text-3);}.card__body { padding: var(--s4);}
/* ── Sidebar rail ── */.rail__group + .rail__group { margin-top: var(--s5);}.rail__label { font-size: 11px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--text-3); margin: 0 0 var(--s2) var(--s1);}.preset-btn { display: flex; flex-direction: column; align-items: flex-start; width: 100%; text-align: left; padding: 9px 11px; border-radius: var(--r-sm); border: 1px solid transparent; background: transparent; color: var(--text-2); transition: background var(--transition); margin-bottom: 2px;}.preset-btn:hover { background: var(--surface-2);}.preset-btn[data-active='true'] { background: color-mix(in srgb, var(--brand) 12%, transparent); border-color: color-mix(in srgb, var(--brand) 35%, transparent); color: var(--text);}.preset-btn strong { font-weight: 600; font-size: 13px;}.preset-btn span { font-size: 11px; color: var(--text-3); text-transform: capitalize;}
/* ── Module palette ── */.palette__cat { margin-bottom: var(--s3);}.palette__cat h4 { margin: 0 0 6px var(--s1); font-size: 11px; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; color: var(--text-3);}.palette__item { display: flex; align-items: center; gap: var(--s2); width: 100%; text-align: left; padding: 7px 9px; border-radius: var(--r-sm); border: 1px solid transparent; background: transparent; color: var(--text); font-size: 13px; transition: background var(--transition);}.palette__item:hover { background: var(--surface-2);}.palette__item .plus { margin-left: auto; color: var(--text-3); font-size: 15px; line-height: 1;}.cat-dot { width: 8px; height: 8px; border-radius: 50%; flex: none;}
/* ── Module cards (workspace) ── */.builder { display: flex; flex-direction: column; gap: var(--s3);}.module { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r); box-shadow: var(--shadow-sm); transition: box-shadow var(--transition), opacity var(--transition);}.module[data-disabled='true'] { opacity: 0.55;}.module__head { display: flex; align-items: center; gap: var(--s3); padding: var(--s3) var(--s4); cursor: pointer;}.module__grip { display: flex; flex-direction: column; gap: 2px; color: var(--text-3);}.module__title { display: flex; flex-direction: column; gap: 1px; min-width: 0;}.module__title strong { font-size: 14px; font-weight: 600; letter-spacing: -0.01em;}.module__title span { font-size: 12px; color: var(--text-3); overflow: hidden; text-overflow: ellipsis; white-space: nowrap;}.module__spacer { flex: 1;}.module__actions { display: flex; align-items: center; gap: 2px;}.module__body { padding: 0 var(--s4) var(--s4); border-top: 1px solid var(--border); padding-top: var(--s4); display: grid; gap: var(--s4);}.chev { transition: transform var(--transition); color: var(--text-3);}.chev[data-open='true'] { transform: rotate(90deg);}
.builder__empty { padding: var(--s7) var(--s4); text-align: center; color: var(--text-3); border: 1.5px dashed var(--border-strong); border-radius: var(--r-lg);}.builder__empty strong { color: var(--text-2); display: block; margin-bottom: 6px; font-size: 14px;}
/* ── Param form ── */.field { display: grid; gap: 6px;}.field > label { font-size: 12px; font-weight: 500; color: var(--text-2);}.field__help { font-size: 11px; color: var(--text-3);}.field__row { display: flex; align-items: center; gap: var(--s3);}.input { width: 100%; padding: 8px 10px; border-radius: var(--r-sm); border: 1px solid var(--border-strong); background: var(--surface-2); color: var(--text); font-size: 13px; transition: border-color var(--transition), box-shadow var(--transition);}.input:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand) 22%, transparent);}.input.mono { letter-spacing: 0;}.input__echo { font-size: 11px; color: var(--text-3); white-space: nowrap;}.range { flex: 1; accent-color: var(--brand);}.range-val { min-width: 52px; text-align: right; font-size: 12px; color: var(--text);}
/* Segmented control */.seg { display: inline-flex; padding: 3px; gap: 2px; background: var(--surface-3); border-radius: var(--r-sm); border: 1px solid var(--border); flex-wrap: wrap;}.seg button { padding: 5px 11px; border: none; background: transparent; color: var(--text-2); font-size: 12px; font-weight: 500; border-radius: 6px; transition: background var(--transition), color var(--transition);}.seg button[data-active='true'] { background: var(--surface); color: var(--text); box-shadow: var(--shadow-sm);}
/* Toggle switch */.switch { position: relative; width: 38px; height: 22px; border-radius: var(--r-pill); background: var(--surface-3); border: 1px solid var(--border-strong); transition: background var(--transition); flex: none;}.switch[data-on='true'] { background: var(--brand); border-color: transparent;}.switch::after { content: ''; position: absolute; top: 2px; left: 2px; width: 16px; height: 16px; border-radius: 50%; background: #fff; box-shadow: var(--shadow-sm); transition: transform var(--transition);}.switch[data-on='true']::after { transform: translateX(16px);}
/* Chips (multi-select) */.chips { display: flex; flex-wrap: wrap; gap: 6px;}.chip { padding: 5px 10px; border-radius: var(--r-pill); border: 1px solid var(--border-strong); background: var(--surface-2); color: var(--text-2); font-size: 12px; transition: all var(--transition);}.chip[data-on='true'] { background: color-mix(in srgb, var(--brand) 16%, transparent); border-color: color-mix(in srgb, var(--brand) 45%, transparent); color: var(--brand-ink); font-weight: 500;}
/* Bracket list */.brackets { display: grid; gap: var(--s2);}.bracket-row { display: flex; align-items: center; gap: var(--s2); padding: var(--s2); background: var(--surface-2); border-radius: var(--r-sm); border: 1px solid var(--border);}.bracket-row .field { flex: 1;}.bracket-row .field > label { font-size: 10px;}
/* ── Compliance panel ── */.team-pills { display: flex; flex-wrap: wrap; gap: 6px;}.team-pill { display: inline-flex; align-items: center; gap: 7px; padding: 6px 11px; border-radius: var(--r-pill); border: 1px solid var(--border-strong); background: var(--surface); color: var(--text-2); font-size: 12px; font-weight: 500; transition: all var(--transition);}.team-pill[data-active='true'] { border-color: var(--brand); color: var(--text); box-shadow: 0 0 0 2px color-mix(in srgb, var(--brand) 20%, transparent);}.status-dot { width: 8px; height: 8px; border-radius: 50%; flex: none;}.status-dot[data-legal='true'] { background: var(--success);}.status-dot[data-legal='false'] { background: var(--error);}
.tiles { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s2);}.tile { padding: var(--s3); border-radius: var(--r); background: var(--surface-2); border: 1px solid var(--border);}.tile__label { font-size: 11px; color: var(--text-3); font-weight: 500; margin-bottom: 3px;}.tile__value { font-family: var(--font-mono); font-size: 19px; font-weight: 400; letter-spacing: 0;}.tile__value[data-tone='good'] { color: var(--success);}.tile__value[data-tone='bad'] { color: var(--error);}.tile__value[data-tone='warn'] { color: var(--warning);}
/* Verdict banner */.verdict { display: flex; align-items: center; gap: var(--s3); padding: var(--s3) var(--s4); border-radius: var(--r); font-weight: 600;}.verdict[data-legal='true'] { background: var(--success-bg); color: var(--success);}.verdict[data-legal='false'] { background: var(--error-bg); color: var(--error);}.verdict .badge-pill { margin-left: auto; font-size: 11px; padding: 3px 9px; border-radius: var(--r-pill); background: color-mix(in srgb, currentColor 16%, transparent);}
/* Reasons + penalties */.reasons { display: grid; gap: 6px;}.reason { display: flex; gap: var(--s2); padding: 8px 10px; border-radius: var(--r-sm); background: var(--surface-2); font-size: 12.5px; line-height: 1.4; border-left: 3px solid var(--text-3);}.reason[data-sev='error'] { border-left-color: var(--error);}.reason[data-sev='warning'] { border-left-color: var(--warning);}.reason[data-sev='info'] { border-left-color: var(--brand);}.reason .rmod { color: var(--text-3); font-size: 11px; font-family: var(--font-mono);}.penalty-chips { display: flex; flex-wrap: wrap; gap: 6px;}.pchip { display: inline-flex; align-items: center; gap: 5px; padding: 4px 9px; border-radius: var(--r-pill); font-size: 11.5px; font-weight: 500;}.pchip[data-cur='money'] { background: var(--warning-bg); color: var(--warning);}.pchip[data-cur='assets'] { background: color-mix(in srgb, var(--tangerine) 16%, transparent); color: var(--tangerine);}.pchip[data-cur='tools'] { background: color-mix(in srgb, var(--baltic) 18%, transparent); color: var(--baltic);}
/* Cap sheet */.capsheet__group + .capsheet__group { margin-top: var(--s2);}.capsheet__grouphead { display: flex; align-items: center; justify-content: space-between; padding: 6px 10px; font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.04em; color: var(--text-3);}.capsheet__row { display: flex; align-items: center; justify-content: space-between; padding: 7px 10px; border-radius: var(--r-sm); font-size: 13px;}.capsheet__row:hover { background: var(--surface-2);}.capsheet__row .name { color: var(--text); overflow: hidden; text-overflow: ellipsis; white-space: nowrap;}.capsheet__row .pos { color: var(--text-3); font-size: 11px; margin-left: 6px;}.capsheet__row .amt { color: var(--text); font-weight: 500;}.capsheet__total { display: flex; align-items: center; justify-content: space-between; padding: 10px; margin-top: 4px; border-top: 1px solid var(--border); font-weight: 600;}
.section-label { font-family: var(--font-display); font-size: 11px; font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase; color: var(--text-3); margin: var(--s2) 0 6px;}
.empty-note { color: var(--text-3); font-size: 12.5px; padding: var(--s2) 0;}
/* Modal for JSON import */.modal-backdrop { position: fixed; inset: 0; background: rgba(0, 0, 0, 0.4); display: grid; place-items: center; z-index: 50; padding: var(--s4);}.modal { width: min(640px, 100%); max-height: 84vh; display: flex; flex-direction: column; background: var(--surface); border-radius: var(--r-lg); box-shadow: var(--shadow-lg); border: 1px solid var(--border); overflow: hidden;}.modal textarea { width: 100%; min-height: 260px; resize: vertical; border: 1px solid var(--border-strong); border-radius: var(--r-sm); background: var(--surface-2); color: var(--text); padding: var(--s3); font-family: var(--font-mono); font-size: 12px;}.menu { position: relative;}.menu__pop { position: absolute; right: 0; top: calc(100% + 6px); background: var(--surface); border: 1px solid var(--border); border-radius: var(--r); box-shadow: var(--shadow-lg); min-width: 240px; padding: 6px; z-index: 30;}.menu__item { display: block; width: 100%; text-align: left; padding: 8px 10px; border-radius: var(--r-sm); border: none; background: transparent; color: var(--text); font-size: 13px;}.menu__item:hover { background: var(--surface-2);}.menu__item small { display: block; color: var(--text-3); font-size: 11px;}
/* ── League summary tiles ── */.lsummary { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: var(--s2);}.tile__sub { font-size: 11px; color: var(--text-3); margin-top: 2px;}
/* ── League table ── */.ltable-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: var(--r);}.ltable { width: 100%; border-collapse: collapse; font-size: 13px;}.ltable thead th { position: sticky; top: 0; background: var(--surface-2); color: var(--text-3); font-size: 11px; font-weight: 600; letter-spacing: 0.03em; text-transform: uppercase; text-align: right; padding: 9px 12px; cursor: pointer; user-select: none; white-space: nowrap; border-bottom: 1px solid var(--border);}.ltable thead th[data-align='l'] { text-align: left;}.ltable thead th:hover { color: var(--text);}.sort-caret { margin-left: 3px; color: var(--brand);}.ltable tbody td { padding: 8px 12px; text-align: right; border-bottom: 1px solid var(--border); white-space: nowrap;}.ltable tbody td[data-align='l'] { text-align: left;}.ltable tbody tr { cursor: pointer; transition: background var(--transition);}.ltable tbody tr:hover { background: var(--surface-2);}.ltable tbody tr[data-active='true'] { background: color-mix(in srgb, var(--brand) 10%, transparent); box-shadow: inset 3px 0 0 var(--brand);}.ltable tbody tr:last-child td { border-bottom: none;}.ltable .tname { font-weight: 500; color: var(--text);}.ltable td[data-tone='bad'] { color: var(--error);}.ltable td[data-tone='warn'] { color: var(--warning);}.ltable .dim { color: var(--text-3);}.apron-badge { display: inline-block; padding: 1px 7px; border-radius: var(--r-pill); font-size: 11px; font-weight: 600; color: var(--warning); background: var(--warning-bg);}.pen-dot { display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--tangerine); margin-left: 6px; vertical-align: middle;}.status-txt { margin-left: 7px; font-weight: 500;}.status-txt[data-legal='true'] { color: var(--success);}.status-txt[data-legal='false'] { color: var(--error);}
/* ── About ── */.modal--wide { width: min(760px, 100%);}.about__body { padding: var(--s5); overflow-y: auto;}.about__lede { font-size: 17px; line-height: 1.5; color: var(--text); margin: 0 0 var(--s4);}.about__body h3 { font-size: 13px; font-weight: 600; letter-spacing: 0.02em; color: var(--brand-ink); margin: var(--s5) 0 var(--s2);}.about__body p { color: var(--text-2); line-height: 1.6; margin: 0 0 var(--s2); font-size: 14px;}.about__body ol { color: var(--text-2); line-height: 1.6; padding-left: var(--s5); margin: 0;}.about__body ol li { margin-bottom: 4px;}.about__foot { margin-top: var(--s5) !important; padding-top: var(--s4); border-top: 1px solid var(--border); font-size: 12.5px !important; color: var(--text-3) !important;}
/* Grouped roster rail */.rail__subgroup + .rail__subgroup { margin-top: var(--s3);}.rail__sublabel { font-size: 10px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--text-3); opacity: 0.75; margin: 0 0 4px var(--s1);}.preset-btn--row { flex-direction: row; align-items: center; padding: 6px 11px;}.preset-btn--row strong { font-weight: 500; font-size: 12.5px;}
/* Currency selector */.cur-select { padding: 5px 8px; border-radius: var(--r-sm); border: 1px solid var(--border-strong); background: var(--surface); color: var(--text); font-size: 12px; cursor: pointer;}.cur-select:focus { outline: none; border-color: var(--brand);}
/* ── Expansion Draft tab ── */.toolbar__tabs { margin-left: var(--s4);}.toolbar__tabs button { white-space: nowrap;}.rulebook { display: grid; gap: var(--s4);}.rulebook__section h4 { display: flex; align-items: center; gap: 8px; margin: 0 0 var(--s2); font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; color: var(--text-2);}.rulebook__section ul { margin: 0; padding-left: 18px; display: grid; gap: 6px;}.rulebook__section li { font-size: 13.5px; line-height: 1.55; color: var(--text);}.compare { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s5); align-items: start;}.compare__col { min-width: 0; display: grid; gap: var(--s3);}.compare__col > h3 { margin: 0; font-size: 14px; font-weight: 650;}.compare__col > h3 small { font-weight: 400; color: var(--text-3); font-size: 12px;}@media (max-width: 1100px) { .compare { grid-template-columns: 1fr; }}
/* ═══════════════════════════════════════════════════════════════════════════ Mobile / small screens (≤ 760px) ═══════════════════════════════════════════════════════════════════════════ */@media (max-width: 760px) { html, body, #root { height: auto; min-height: 100%; } .shell { height: auto; min-height: 100%; /* Force the single implicit column to the viewport (not max-content of the widest child), so nothing stretches the page wider than the screen. */ grid-template-columns: minmax(0, 1fr); } .shell__body { display: flex; flex-direction: column; grid-template-columns: none; padding: var(--s3); gap: var(--s3); overflow: visible; min-width: 0; max-width: 100%; } .col { overflow: visible; min-width: 0; max-width: 100%; } /* Pickers first (compact chips), then results, then the builder. */ .shell__body > .col:nth-child(1) { order: 1; } .shell__body > .col:nth-child(3) { order: 2; } .shell__body > .col:nth-child(2) { order: 3; }
/* Toolbar: wrap, drop non-essential text, keep controls reachable. */ .toolbar { flex-wrap: wrap; gap: var(--s2); padding: var(--s2) var(--s3); } .toolbar__brand { font-size: 15px; } .toolbar__brand small, .toolbar__ruleset, .toolbar__spacer { display: none; } .toolbar .btn, .toolbar .cur-select { padding: 5px 9px; font-size: 12px; } .card__body { padding: var(--s3); }
/* Sidebar → compact wrapping chips */ .rail__items { display: flex; flex-wrap: wrap; gap: 6px; } .rail__group + .rail__group { margin-top: var(--s3); } .rail__subgroup + .rail__subgroup { margin-top: var(--s2); } .rail__items .preset-btn { flex: 0 0 auto; width: auto; flex-direction: row; padding: 6px 12px; border: 1px solid var(--border-strong); border-radius: var(--r-pill); margin-bottom: 0; } .rail__items .preset-btn span { display: none; } .rail__items .preset-btn strong { font-size: 12.5px; } /* Palette items wrap into chips too */ .palette__cat { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; } .palette__cat h4 { flex-basis: 100%; margin-bottom: 2px; } .palette__item { width: auto; border: 1px solid var(--border-strong); border-radius: var(--r-pill); padding: 6px 10px; }
/* League table → cards */ .ltable-wrap { border: none; overflow: visible; } .ltable, .ltable tbody, .ltable tr, .ltable td { display: block; width: 100%; } .ltable thead { display: none; } .ltable tbody tr { border: 1px solid var(--border); border-radius: var(--r); margin-bottom: var(--s2); padding: var(--s2) var(--s3); background: var(--surface); } .ltable tbody tr[data-active='true'] { box-shadow: inset 3px 0 0 var(--brand); background: color-mix(in srgb, var(--brand) 8%, var(--surface)); } .ltable tbody td { display: flex; justify-content: space-between; align-items: center; text-align: right; padding: 5px 0; border-bottom: 1px solid var(--border); white-space: normal; } .ltable tbody td:last-child { border-bottom: none; } .ltable tbody td::before { content: attr(data-label); color: var(--text-3); font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.03em; text-align: left; } .ltable tbody td.tname { justify-content: flex-start; font-size: 15px; font-weight: 600; padding: 2px 0 8px; border-bottom: 1px solid var(--border); margin-bottom: 4px; } .ltable tbody td.tname::before { content: none; }
/* About modal full-height on phones */ .about__body { padding: var(--s4); } .modal { max-height: 90vh; }}
/* Family tools menu items */.menu__item { text-decoration: none;}.menu__item--current { color: var(--text-3); cursor: default;}.menu__item--current .here { font-size: 10px; color: var(--brand-ink); border: 1px solid color-mix(in srgb, var(--brand) 40%, transparent); border-radius: var(--r-pill); padding: 1px 6px; margin-left: 4px; vertical-align: middle;}