/* Team Schedule: same US Open court look as CTUA. Green surround, blue court panels, thin white lines, tennis-ball yellow accents.
   Mobile first: base rules are for a phone, wider screens are added at the bottom. */
:root {
    --oob: #2f6a4c;
    --court: #3b6fb6;
    --court-deep: #2f5c9a;
    --line: #ffffff;
    --ball: #e3f05a;
    --bar: #24543c;
    --tabbar-h: 3.6rem;
    --bs-border-radius: 0;
    --bs-border-radius-sm: 0;
    --bs-border-radius-lg: 0;
    --bs-border-radius-xl: 0;
    --bs-border-radius-pill: 0;
}

html, body { font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; background: var(--oob); color: #fff; overscroll-behavior-y: none; }
a, .btn-link { color: var(--ball); }
a:hover, .btn-link:hover { color: #f4ff9a; }
.text-muted, .text-secondary { color: rgba(255,255,255,.78) !important; }
h1:focus { outline: none; }
h1, .h1, .h2, .h3, .h4, .h5 { color: #fff; }

/* ---------- page frame ---------- */
.page { display: flex; flex-direction: column; min-height: 100vh; min-height: 100dvh; }
main { flex: 1; min-width: 0; }
.sidebar { display: none; }
.top-row {
    position: sticky; top: 0; z-index: 30;
    display: flex; align-items: center; justify-content: space-between; gap: .5rem;
    height: 3.5rem; padding: env(safe-area-inset-top) 1rem 0 1rem; box-sizing: content-box;
    background: var(--bar); border-bottom: 1px solid #fff;
}
.brand { display: flex; align-items: center; gap: .55rem; min-width: 0; color: #fff; text-decoration: none; font-weight: 600; font-size: 1.05rem; }
.brand-text { display: flex; flex-direction: column; min-width: 0; line-height: 1.15; }
.brand-text > * { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.brand-name { font-weight: 700; font-size: 1.05rem; }
.brand-team { font-size: .78rem; font-weight: 400; color: rgba(255,255,255,.82); }
.top-tools { display: flex; align-items: center; gap: .6rem; position: relative; }
.content { padding: 1rem 1rem calc(var(--tabbar-h) + 1.5rem + env(safe-area-inset-bottom)); background: var(--oob); }
/* Inside the page content the two colours are swapped (blue surround, green panels), like CTUA. Delete this rule to go back. */
article.content { --oob: #3b6fb6; --court: #2f6a4c; --court-deep: #24543c; min-height: calc(100vh - 3.5rem); }
.content > h1:first-child, .content .page-head h1 { font-size: 1.35rem; margin-bottom: .75rem; }
.page-head { display: flex; align-items: center; justify-content: space-between; gap: .75rem; flex-wrap: wrap; margin-bottom: .75rem; }
.page-head h1 { margin: 0 !important; }

/* bottom tab bar (phones) */
.tabbar {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
    display: grid; grid-template-columns: repeat(5, 1fr);
    height: calc(var(--tabbar-h) + env(safe-area-inset-bottom)); padding-bottom: env(safe-area-inset-bottom);
    background: var(--bar); border-top: 1px solid #fff;
}
.tabbar a { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .1rem; color: #fff; font-size: .72rem; text-decoration: none; }
.tabbar a .ti { font-size: 1.35rem; line-height: 1; }
.tabbar a.active { background: var(--ball); color: #1d3b2b; font-weight: 700; }

/* dropdown menus in the top bar: the account menu and the team switcher share these.
   (They used to be component-scoped, which left the team switcher unstyled.) */
.user-menu { position: relative; }
.avatar {
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.4rem;
    height: 2.4rem;
    border-radius: 50%;
    border: 1px solid #fff;
    background: #3b6fb6;
    color: #fff;
    font-weight: 600;
    font-size: .95rem;
    cursor: pointer;
    user-select: none;
}
.avatar::-webkit-details-marker { display: none; }
.avatar:hover, .user-menu[open] .avatar { background: #2f5c9a; }
.avatar:focus-visible { outline: 2px solid #e3f05a; outline-offset: 2px; }

.user-pop {
    position: absolute;
    right: 0;
    top: calc(100% + .5rem);
    min-width: 14rem;
    background: #3b6fb6;
    border: 1px solid #fff;
    box-shadow: 0 .5rem 1rem rgba(0,0,0,.35);
    z-index: 20;
}
.user-who { display: flex; flex-direction: column; padding: .7rem .9rem; border-bottom: 1px solid #fff; overflow-wrap: anywhere; }
.user-who span { font-size: .82rem; color: rgba(255,255,255,.8); }
.user-pop form { margin: 0; }
.user-item {
    display: block;
    width: 100%;
    margin: 0 !important;
    padding: .65rem .9rem;
    border: 0;
    background: transparent;
    color: #fff;
    text-align: left;
    text-decoration: none;
    font: inherit;
}
.user-item:hover { background: #2f5c9a; color: #fff; text-decoration: none; }

/* dropdown menus in the top bar */
.user-menu, .team-menu { position: relative; }
.team-btn { list-style: none; cursor: pointer; width: 2.4rem; height: 2.4rem; display: flex; align-items: center; justify-content: center; border: 1px solid #fff; color: #fff; user-select: none; }
.team-btn::-webkit-details-marker { display: none; }
.team-menu .user-pop { right: 0; }

/* install button */
.install-btn { display: none; align-items: center; gap: .35rem; padding: .2rem .6rem; font-size: .8rem; color: #fff; background: transparent; border: 1px solid rgba(255,255,255,.6); border-radius: 1rem; white-space: nowrap; }
.install-btn:hover { background: rgba(255,255,255,.15); }
:root.can-install .install-btn { display: inline-flex; }
.install-tip { position: absolute; top: 3rem; right: 0; width: 16rem; padding: .6rem .8rem; font-size: .85rem; color: #222; background: #fff; border: 1px solid #ccc; border-radius: .5rem; box-shadow: 0 4px 12px rgba(0,0,0,.2); z-index: 50; }
.install-tip[hidden] { display: none; }

/* ---------- panels ---------- */
.card, .list-group, .table-responsive, .panel {
    background: var(--court) !important; border: 1px solid var(--line) !important; border-radius: 0; color: #fff;
}
.panel { padding: .85rem; margin-bottom: .9rem; }
.panel > h2, .panel > .h5 { font-size: 1.05rem; margin-bottom: .6rem; }
.card-header { background: var(--court-deep); border-bottom: 1px solid var(--line); color: #fff; }
.list-group-item { background: transparent; color: #fff; border-color: #fff; }
.list-group-item + .list-group-item { border-top: 1px solid #fff; }
.table { --bs-table-color: #fff; --bs-table-bg: transparent; --bs-table-border-color: #fff; --bs-table-hover-bg: rgba(255,255,255,.12); color: #fff; margin-bottom: 0; }
.table-responsive > .table { border: 0; }
.table > :not(caption) > * > * { border-bottom: 1px solid #fff; }
.table > tbody > tr:last-child > * { border-bottom: 0; }

/* tappable rows */
.row-card { display: flex; align-items: center; gap: .75rem; padding: .7rem .8rem; border-top: 1px solid #fff; color: #fff; text-decoration: none; }
.row-card:first-child { border-top: 0; }
a.row-card:hover { background: var(--court-deep); color: #fff; }
.row-card .grow { flex: 1; min-width: 0; }
.row-card .title { font-weight: 600; overflow-wrap: anywhere; }
.row-card .sub { font-size: .85rem; color: rgba(255,255,255,.82); overflow-wrap: anywhere; }
.date-tile { flex: none; width: 3.1rem; text-align: center; border: 1px solid #fff; background: var(--court-deep); line-height: 1.1; padding: .25rem 0; }
.date-tile .d { font-size: 1.25rem; font-weight: 700; display: block; }
.date-tile .m { font-size: .68rem; text-transform: uppercase; letter-spacing: .04em; }
.date-tile.past { opacity: .55; }

/* forms */
.form-control, .form-select, .form-check-input { background-color: #fff; color: #212529; }
.form-check-input:checked { background-color: var(--ball); border-color: var(--ball); }
.form-text, .small.text-muted { color: rgba(255,255,255,.78); }
label, .form-label { color: #fff; font-size: .9rem; margin-bottom: .2rem; }
.form-control, .form-select { font-size: 16px; }  /* 16px stops iOS from zooming into fields */
.validation-message { color: #ffd0d0; }

/* buttons: big enough for thumbs */
.btn { min-height: 2.5rem; border-radius: 0; }
.btn-sm { min-height: 2rem; }
.btn-primary { background: var(--ball); border-color: var(--ball); color: #1d3b2b; font-weight: 600; border-radius: 10px !important; }
.btn-primary:hover, .btn-primary:focus { background: #f4ff9a; border-color: #f4ff9a; color: #1d3b2b; }
.btn-outline-secondary, .btn-outline-dark, .btn-outline-primary, .btn-outline-light { color: #fff; border-color: #fff; }
.btn-outline-secondary:hover, .btn-outline-dark:hover, .btn-outline-primary:hover { background: rgba(255,255,255,.2); color: #fff; border-color: #fff; }
.btn-secondary { background: var(--court-deep); border-color: #fff; color: #fff; }
.btn-outline-danger { color: #ffd0d0; border-color: #ffd0d0; }
.btn-outline-danger:hover { background: #b02a37; color: #fff; border-color: #b02a37; }
.btn:focus, .btn:active:focus, .form-control:focus, .form-select:focus, .form-check-input:focus { box-shadow: 0 0 0 .1rem var(--oob), 0 0 0 .25rem var(--ball); }
.alert { border: 1px solid var(--line); border-radius: 0; }
.alert a { color: inherit; font-weight: 600; text-decoration: underline; }

/* chips and badges */
.chip { display: inline-flex; align-items: center; gap: .25rem; padding: .12rem .55rem; font-size: .8rem; font-weight: 600; border-radius: 10px; border: 1px solid transparent; white-space: nowrap; }
.chip-yes { background: var(--ball); color: #1d3b2b; }
.chip-no { background: #e06666; color: #fff; }
.chip-maybe { background: #f6b26b; color: #3a2400; }
.chip-unknown { background: transparent; color: #fff; border: 1px dashed rgba(255,255,255,.8); }
.chip-home { background: #fff; color: #1d3b2b; }
.chip-away { background: var(--court-deep); color: #fff; border-color: #fff; }
.chip-line { background: #86b8ff; color: #0b2a5b; }
.chip-rating { background: rgba(255,255,255,.18); border-color: rgba(255,255,255,.7); color: #fff; }
.chip-captain { background: var(--ball); color: #1d3b2b; }
.chip-spare { background: transparent; border: 1px solid #fff; color: #fff; }
.star { color: var(--ball); font-weight: 700; }

/* In / Maybe / Can't slider: a tennis ball you slide (or tap a label). Yellow ball = in. */
.rsl { --th: 2.6rem; --trk: calc(var(--th) * .5); position: relative; width: 100%; max-width: 21rem; padding-bottom: 1.55rem; }
.rsl-compact { --th: 1.7rem; --trk: 1.55rem; width: 10rem; max-width: 10rem; padding-bottom: 0; }
.rsl-compact .rsl-labels { top: 0; bottom: auto; height: var(--th); pointer-events: none; }
.rsl-compact .rsl-l { top: 0; height: var(--th); line-height: var(--th); padding: 0; font-size: .66rem; color: rgba(255,255,255,.75); pointer-events: none; }
.rsl-compact .rsl-l.on { visibility: hidden; }     /* the ball covers the chosen stop */
/* the end labels sit inside the pill with a margin instead of being centred on the ball's end stops (which put "Can't" against the rounded edge) */
.rsl-compact .rsl-l0 { left: .6rem; transform: none; }
.rsl-compact .rsl-l2 { left: auto; right: .7rem; transform: none; }
.rsl-mid { position: absolute; top: 0; height: var(--th); left: calc(var(--th) / 2 + (100% - var(--th)) * .25); width: calc((100% - var(--th)) * .5); z-index: 3; border: 0; background: transparent; cursor: pointer; }
.rsl-input { -webkit-appearance: none; appearance: none; display: block; width: 100%; height: var(--th); margin: 0; background: transparent; cursor: pointer; touch-action: pan-y; }
.rsl-input:disabled { cursor: default; opacity: .9; }   /* read-only still has to be readable */
.rsl-input:focus-visible { outline: 2px solid var(--ball); outline-offset: 3px; border-radius: 2rem; }
.rsl-input::-webkit-slider-runnable-track { height: var(--trk); border: 1px solid #fff; border-radius: 2rem; background: var(--rsl-track, rgba(0,0,0,.25)); }
.rsl-input::-moz-range-track { height: var(--trk); border: 1px solid #fff; border-radius: 2rem; background: var(--rsl-track, rgba(0,0,0,.25)); }
.rsl-input::-webkit-slider-thumb {
    -webkit-appearance: none; appearance: none; width: var(--th); height: var(--th); margin-top: calc((var(--trk) - var(--th)) / 2 - 1px);
    border: 0; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 40'%3E%3Ccircle cx='20' cy='20' r='18' fill='%23e3f05a' stroke='%23b3bf22' stroke-width='1.5'/%3E%3Cpath d='M5 9C15 16 15 24 5 31M35 9C25 16 25 24 35 31' fill='none' stroke='white' stroke-width='2.4' stroke-linecap='round'/%3E%3C/svg%3E") center / contain no-repeat;
    filter: var(--rsl-ball, none); transition: filter .15s; cursor: grab;
}
.rsl-input::-moz-range-thumb {
    width: var(--th); height: var(--th); border: 0; border-radius: 50%; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 40'%3E%3Ccircle cx='20' cy='20' r='18' fill='%23e3f05a' stroke='%23b3bf22' stroke-width='1.5'/%3E%3Cpath d='M5 9C15 16 15 24 5 31M35 9C25 16 25 24 35 31' fill='none' stroke='white' stroke-width='2.4' stroke-linecap='round'/%3E%3C/svg%3E") center / contain no-repeat;
    filter: var(--rsl-ball, none); cursor: grab;
}
.rsl-labels { position: absolute; left: 0; right: 0; bottom: 0; height: 1.3rem; }
.rsl-l { position: absolute; top: 0; transform: translateX(-50%); padding: 0 .3rem; border: 0; background: transparent; color: rgba(255,255,255,.8); font-size: .82rem; line-height: 1.3rem; white-space: nowrap; }
.rsl-l0 { left: calc(var(--th) / 2); }
.rsl-l1 { left: 50%; }
.rsl-l2 { left: calc(100% - var(--th) / 2); }
.rsl-l.on { color: var(--ball); font-weight: 700; }
.rsl-l:disabled { cursor: default; }
/* the state shows in the track and the ball: in is a bright ball on a lit track, can't is a dull ball on a red one, unanswered is a ghost ball */
.rsl-yes { --rsl-track: linear-gradient(90deg, rgba(227,240,90,.08), rgba(227,240,90,.4)); --rsl-ball: drop-shadow(0 0 .35rem rgba(227,240,90,.95)); }
.rsl-maybe { --rsl-track: rgba(246,178,107,.4); --rsl-ball: saturate(.75) brightness(.95); }
.rsl-no { --rsl-track: linear-gradient(90deg, rgba(224,102,102,.55), rgba(224,102,102,.08)); --rsl-ball: grayscale(.85) brightness(.75); }
.rsl-none { --rsl-ball: grayscale(1) opacity(.55); }
.rsl-none .rsl-input::-webkit-slider-runnable-track { border-style: dashed; }
.rsl-none .rsl-input::-moz-range-track { border-style: dashed; }

/* answer buttons (Yes / Maybe / No) */
.reply-btns { display: grid; grid-template-columns: repeat(3, 1fr); gap: .5rem; }
.reply-btns .btn { padding: .65rem .25rem; font-weight: 600; }
.reply-btns .btn.on-yes { background: var(--ball); border-color: var(--ball); color: #1d3b2b; }
.reply-btns .btn.on-no { background: #e06666; border-color: #e06666; color: #fff; }
.reply-btns .btn.on-maybe { background: #f6b26b; border-color: #f6b26b; color: #3a2400; }

/* lineup board */
.line-row { display: flex; align-items: center; gap: .6rem; padding: .55rem .8rem; border-top: 1px solid #fff; }
.line-row:first-child { border-top: 0; }
.line-name { flex: none; width: 2.6rem; font-weight: 700; color: var(--ball); }
.line-row select { flex: 1; min-width: 0; }
.pair-sum { font-size: .8rem; color: rgba(255,255,255,.85); }

/* messages */
.bubble { padding: .4rem .7rem .5rem; margin-bottom: .5rem; background: var(--court-deep); border: 1px solid #fff; border-radius: 12px; overflow-wrap: anywhere; }
/* keep the line breaks people type, but only in the message text, so the template's own whitespace doesn't become a blank line */
.bubble .msg-body { white-space: pre-wrap; }
.bubble.mine { background: #cfe0f5; color: #12304f; margin-left: 1.5rem; }
.bubble.theirs { margin-right: 1.5rem; }
.bubble .who { font-size: .75rem; opacity: .85; margin-bottom: .05rem; line-height: 1.3; }
.compose { display: flex; gap: .5rem; align-items: flex-end; }
.compose textarea { flex: 1; resize: none; }

/* tab bar on the match page: scrolls sideways on a phone and stays under the top bar */
.tabs { display: flex; gap: 0; overflow-x: auto; position: sticky; top: calc(3.5rem + env(safe-area-inset-top)); z-index: 20; margin: 0 -1rem .8rem; padding: 0 1rem; background: var(--oob); border-bottom: 1px solid #fff; scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
.tab-btn { flex: 1 1 auto; padding: .65rem .35rem; background: transparent; color: #fff; border: 0; border-bottom: 3px solid transparent; font-weight: 600; font-size: .9rem; white-space: nowrap; }
.tab-btn.active { color: var(--ball); border-bottom-color: var(--ball); }
.tab-n { display: inline-block; margin-left: .2rem; padding: 0 .32rem; font-size: .68rem; font-weight: 700; color: #1d3b2b; background: #fff; border-radius: 10px; }
.tab-btn.active .tab-n { background: var(--ball); }
@media (min-width: 768px) { .tabs { margin: 0 0 .8rem; padding: 0; } }
/* small phones (320 to 380px wide): a notch smaller so all four tabs still fit without scrolling */
@media (max-width: 380px) { .tab-btn { font-size: .84rem; padding-inline: .25rem; } .tab-n { padding: 0 .28rem; margin-left: .15rem; } }

/* notice that slides in at the bottom and fades; cards never jump */
.toast-note { position: fixed; left: 50%; transform: translateX(-50%); bottom: calc(var(--tabbar-h) + .8rem + env(safe-area-inset-bottom)); z-index: 60; max-width: calc(100vw - 2rem); padding: .6rem 1rem; background: #fff; color: #1d3b2b; border: 1px solid var(--bar); box-shadow: 0 .4rem 1rem rgba(0,0,0,.35); border-radius: 10px; font-weight: 600; }
.toast-note.error { background: #b32121; color: #fff; border-color: #fff; }

.login-box { max-width: 24rem; margin: 0 auto; width: 100%; background: var(--court); border: 1px solid var(--line); padding: 1.5rem; }
.login-page { min-height: 100vh; display: flex; align-items: center; justify-content: center; }
.empty { padding: 1.25rem .8rem; text-align: center; color: rgba(255,255,255,.85); }
.map-link { font-weight: 600; }
.stat-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: .6rem; margin-bottom: .9rem; }
.stat { background: var(--court); border: 1px solid #fff; padding: .6rem .75rem; }
.stat .n { font-size: 1.6rem; font-weight: 700; line-height: 1; }
.stat .l { font-size: .8rem; color: rgba(255,255,255,.85); }
.next-match { background: var(--court); border: 1px solid #fff; border-left: 6px solid var(--ball); padding: .9rem; margin-bottom: .9rem; }
.next-match .big { font-size: 1.25rem; font-weight: 700; }
.sticky-actions { position: sticky; bottom: calc(var(--tabbar-h) + env(safe-area-inset-bottom)); }

/* dialogs take the panel colour (green inside the page content), so their text is light */
.dlg-body label, .dlg-body .text-dark, .dlg-body .form-check-label { color: #fff !important; }
.dlg-body .btn.text-dark { color: #fff !important; border-color: #fff !important; }
.dlg-body .btn.text-dark:hover { background: rgba(255,255,255,.2); }
.dlg-body .form-text { color: rgba(255,255,255,.8); }
.dlg-body a:not(.btn) { color: var(--ball) !important; }
#blazor-error-ui { color-scheme: light only; background: lightyellow; color: #000; bottom: 0; box-shadow: 0 -1px 2px rgba(0,0,0,.2); box-sizing: border-box; display: none; left: 0; padding: .6rem 1.25rem .7rem; position: fixed; width: 100%; z-index: 1000; }
#blazor-error-ui .dismiss { cursor: pointer; position: absolute; right: .75rem; top: .5rem; }
.blazor-error-boundary { background: #b32121; padding: 1rem; color: #fff; }
.blazor-error-boundary::after { content: "An error has occurred."; }

/* ---------- tablets and desktops ---------- */
@media (min-width: 768px) {
    .page { flex-direction: row; }
    .sidebar { display: block; width: 250px; flex: none; height: 100vh; position: sticky; top: 0; background: var(--bar); border-right: 1px solid #fff; }
    .side-brand { display: flex; align-items: center; gap: .6rem; height: 3.5rem; padding: 0 1rem; border-bottom: 1px solid #fff; font-weight: 600; }
    .sidebar .nav { padding: .75rem 0; }
    .sidebar .nav-link { display: flex; align-items: center; height: 2.9rem; padding: 0 1.25rem; color: #fff; border-radius: 0; }
    .sidebar .nav-link:hover { background: rgba(255,255,255,.15); }
    .sidebar .nav-link.active { background: var(--ball); color: #1d3b2b; font-weight: 600; }
    .tabbar { display: none; }
    /* the sidebar already carries the app name, so the top bar just says which team and season this is */
    .brand img, .brand-name { display: none; }
    .brand-team { font-size: 1rem; font-weight: 600; color: #fff; }
    .top-row { justify-content: space-between; }
    .top-row { padding-left: 2rem; padding-right: 1.5rem; }
    .content { padding: 1.25rem 2rem 2rem; min-height: calc(100vh - 3.5rem); }
    .content > *:not(.dlg-backdrop):not(.toast-note) { max-width: 62rem; }
    .toast-note { bottom: 1.5rem; }
    .stat-grid { grid-template-columns: repeat(4, 1fr); }
    .sticky-actions { position: static; }
}

/* the slider beside a name in the Who's in list: one tight row */
.rsl-cell { flex: none; display: flex; align-items: center; gap: .3rem; }
.rsl-x { flex: none; width: 1.1rem; height: 1.3rem; padding: 0; border: 0; background: transparent; color: rgba(255,255,255,.75); font-size: .8rem; line-height: 1.3rem; }
button.rsl-x:hover { color: #fff; }
.row-card.row-tight { padding: .4rem .6rem; gap: .5rem; }
/* breathing room between a name and its chips (rating, captain, spare) */
.row-card .title .chip { margin-left: .45rem; }
.row-card .title .chip:first-of-type { margin-left: .55rem; }
.row-card.row-tight .title { font-size: .95rem; }
.row-card.row-tight .sub { font-size: .76rem; line-height: 1.2; }
.row-card .grow { min-width: 0; }

/* slim toolbar at the top of a tab's panel (the tab already says what it is) */
.tb { display: flex; align-items: center; gap: .5rem; padding: .35rem .6rem; border-bottom: 1px solid #fff; }
.warn-btn { border: 1px solid var(--ball); background: transparent; color: var(--ball); font-weight: 700; font-size: .85rem; line-height: 1; padding: .3rem .5rem; border-radius: 10px; }
.warn-btn span { font-weight: 600; }
.warn-btn.warn-icon { flex: none; width: 2rem; height: 2rem; padding: 0; border-radius: 50%; font-size: 1rem; }
.line-row { padding: .4rem .6rem; }

/* unread badges */
.nb { display: inline-block; min-width: 1.15rem; height: 1.15rem; padding: 0 .3rem; border-radius: .6rem; background: #e06666; color: #fff; font-size: .68rem; font-weight: 700; line-height: 1.15rem; text-align: center; }
.tabbar .nb { position: absolute; top: .35rem; left: calc(50% + .35rem); }
.tabbar .nb.nb-dot { min-width: 0; width: .6rem; height: .6rem; padding: 0; top: .45rem; }
.tab-n.tab-n-hot { background: #e06666; color: #fff; }
.bubble.fresh { box-shadow: -4px 0 0 var(--ball); }

.set-grid { display: grid; grid-template-columns: 4.6rem 4rem 4rem; gap: .3rem .5rem; align-items: center; }
.set-grid input { text-align: center; }
