/* 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: minmax(0, 1fr); overflow: auto; } .col { overflow: visible; /* Allow the column to shrink below its content so a wide table scrolls inside its own .ltable-wrap instead of overflowing the page. */ min-width: 0; } } /* ── Toolbar ── */ .toolbar { display: flex; align-items: center; flex-wrap: wrap; gap: var(--s3) 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); /* Flex + margin:auto centers the modal when it fits and top-aligns it (with the backdrop scrolling) when it is taller than the viewport — so the header is never clipped off the top, even at high browser zoom. */ display: flex; overflow-y: auto; z-index: 50; padding: var(--s4); } .modal { margin: auto; width: min(640px, 100%); max-height: 92vh; 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; } /* Keep the header pinned and let long/overflowing content scroll inside the modal, so nothing gets clipped off-screen (e.g. at high browser zoom). */ .modal .card__body, .modal .about__body { overflow-y: auto; min-height: 0; } .modal textarea { width: 100%; min-height: 180px; 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; min-width: 0; max-width: 100%; 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. Drop the backdrop-filter so it stops being a containing block for the fixed bottom-sheet menus (a filtered ancestor traps position:fixed). */ .toolbar { flex-wrap: wrap; gap: var(--s2); padding: var(--s2) var(--s3); backdrop-filter: none; -webkit-backdrop-filter: none; background: var(--surface); } .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; min-width: 0; max-width: 100%; } .toolbar .cur-select { max-width: 132px; } /* Any currency/compare select (e.g. in the expansion panel) must shrink to fit rather than force horizontal scroll. */ .cur-select { min-width: 0; max-width: 100%; } /* Card headers wrap so a control on the right (e.g. the compare select) drops below the title instead of pushing the row past the viewport. */ .card__head { flex-wrap: wrap; } .card__head > span[style*='auto'] { max-width: 100%; } /* Dropdown menus (Tools / Remixes) become bottom sheets on mobile so they always stay inside the viewport instead of overflowing off the edge. */ .menu__pop { position: fixed; left: 0; right: 0; bottom: 0; top: auto; min-width: 0; max-height: 72vh; overflow-y: auto; border-radius: var(--r-lg) var(--r-lg) 0 0; box-shadow: 0 -8px 32px rgba(0, 0, 0, 0.22); padding: var(--s3); z-index: 60; } .menu__item { padding: 12px; font-size: 15px; } .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; }