/* Where Ya Goin Mate? extras on top of the shared Goal Mate! look (base.css). Colours come from the ten shared themes. */
.ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.ticks li { padding-left: 22px; position: relative; }
.ticks li::before { content: ""; position: absolute; left: 3px; top: .45em; width: 10px; height: 6px; border-left: 2.5px solid var(--primary); border-bottom: 2.5px solid var(--primary); transform: rotate(-45deg); }
.steps { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 14px; counter-reset: s; }
.steps li { counter-increment: s; display: grid; grid-template-columns: 34px 1fr; gap: 10px; align-items: start; }
.steps li::before { content: counter(s); width: 30px; height: 30px; border-radius: 50%; background: var(--gold); color: var(--on-gold); display: grid; place-items: center; font-weight: 800; }
.login-art .steps li { color: var(--on-primary); }
.plans { grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); }
.plan.best { border: 2px solid var(--primary); }
.plan .price { font-family: var(--display); font-size: 34px; font-weight: 650; line-height: 1; display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 8px; } /* "AUD a month" drops under the price as one piece when it can't sit beside it */
.plan .price span { white-space: nowrap; }
.tbl { overflow-x: auto; }
.tbl table { width: 100%; border-collapse: collapse; font-size: 14px; }
.tbl th, .tbl td { text-align: left; padding: 8px 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
.tbl th { font-size: 11.5px; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); background: var(--surface-2); }
.tbl td.n, .tbl th.n { font-variant-numeric: tabular-nums; }
.chart-tbl th { width: 48px; font-size: 18px; color: var(--ink); text-transform: none; letter-spacing: 0; }
.chart-tbl td:nth-child(2) { font: 700 18px var(--display); letter-spacing: .18em; }
.hbar { height: 9px; background: var(--primary); border-radius: 4px; min-width: 2px; }
.sw { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; cursor: pointer; margin: 0; }
.sw input { width: 18px; height: 18px; }
.parent-link { font-size: 13px; }
.admin-tabs { margin-bottom: 14px; }
.ad-native { margin: 10px 0; }
.note-box { padding: 10px 12px; border-radius: 10px; background: var(--primary-soft); font-size: 14px; }
.note-box.warn { background: var(--gold-soft); }
.mono { font-family: ui-monospace, Consolas, monospace; font-size: 13px; overflow-wrap: anywhere; line-height: 1.8; }
.mono sub { color: var(--primary); font-weight: 700; }
details summary { cursor: pointer; color: var(--primary); font-weight: 600; }
/* number discs */
.nums { display: flex; flex-wrap: wrap; gap: 10px 18px; }
.num { display: flex; align-items: center; gap: 10px; min-width: min(150px, 100%); }
.num .nl { display: grid; line-height: 1.25; }
.disc { width: 46px; height: 46px; flex: none; border-radius: 50%; display: grid; place-items: center; font: 700 22px var(--display); background: var(--primary); color: var(--on-primary); box-shadow: inset 0 -4px 0 var(--gold); }
.disc.t-lucky { background: var(--primary); }
.disc.t-caution { background: var(--gold-ink); }
.disc.big { width: 72px; height: 72px; font-size: 34px; }
.num.sm .disc { width: 36px; height: 36px; font-size: 17px; }
.person-card { gap: 12px; }
.people-grid { grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); align-items: start; }
.me-grid { grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); align-items: start; }
.next-step { display: flex; gap: 12px; align-items: center; padding: 10px 12px; border: 1px solid var(--line); border-radius: 12px; color: var(--ink); text-decoration: none; }
.next-step:hover { border-color: var(--primary); background: var(--primary-soft); }
.next-step svg { width: 26px; height: 26px; color: var(--primary); flex: none; }
.next-step > span { display: grid; }
.kind-icon { width: 40px; height: 40px; flex: none; border-radius: 12px; display: grid; place-items: center; background: var(--primary-soft); color: var(--primary); }
.kind-icon svg { width: 24px; height: 24px; }
.chip svg { width: 16px; height: 16px; vertical-align: -3px; margin-right: 4px; }
.best-row td { background: color-mix(in srgb, var(--gold) 12%, transparent); }
.pill.soft-green { background: var(--primary-soft); color: var(--primary-2); }
@media (max-width: 900px) { .me-grid { grid-template-columns: 1fr; } }
body.app-mode .me-grid { grid-template-columns: 1fr; }
.tbl .pill { white-space: nowrap; }
.btn svg { width: 16px; height: 16px; flex: none; margin-right: 2px; }
body .tabbar, body.app-mode .tabbar { grid-template-columns: repeat(8, minmax(0, 1fr)); padding-left: 2px; padding-right: 2px; } /* eight tabs: Numbers, Family, Friends, Plans, Calc, Reports, Mates, Me */
body .tabbar a, body.app-mode .tabbar a { font-size: 9px; min-width: 0; gap: 1px; letter-spacing: -0.2px; overflow: hidden; white-space: nowrap; }
body .tabbar svg, body.app-mode .tabbar svg { width: 20px; height: 20px; }
/* Full name summary (compound and single of the whole name) */
.fullname-box { display: grid; gap: 8px; padding: 12px 14px; border: 1px solid var(--line); border-left: 4px solid var(--gold); border-radius: var(--radius); background: var(--surface-2); }
.fullname-box .fn-title { margin: 0; }
/* Best days this month: calendar and list (verdict colours use theme pairs that pass AA in all ten themes) */
.cal { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px; overflow: visible; border: 0; border-radius: 0; }
.cal-h { font: 600 12px var(--sans); color: var(--muted); text-align: center; padding: 2px 0; }
.cal-day { position: relative; aspect-ratio: 1; min-width: 0; min-height: 0; border: 1px solid var(--line); border-radius: 8px; background: var(--surface-2); color: var(--ink); font: 700 15px var(--sans); cursor: pointer; display: flex; align-items: center; justify-content: center; padding: 0; }
.cal-day.d-ripper { background: var(--primary); color: var(--on-primary); border-color: var(--primary); }
.cal-day.d-good { background: var(--primary-soft); color: var(--ink); }
.cal-day.d-care { background: var(--danger-soft); color: var(--danger); }
.cal-day.off { opacity: .45; }
.cal-day.today { outline: 2px dashed var(--ink); outline-offset: 1px; }
.cal-day.sel, .cal-day:focus-visible { outline: 3px solid var(--gold-ink); outline-offset: 1px; }
.cd-star { position: absolute; top: 1px; right: 4px; font-size: 11px; line-height: 1; }
.cal-key { display: flex; flex-wrap: wrap; gap: 6px 12px; margin-top: 8px; }
.cal-key .k { display: inline-block; width: 12px; height: 12px; border-radius: 3px; vertical-align: -1px; margin-right: 4px; border: 1px solid var(--line); background: var(--surface-2); }
.cal-key .k.d-ripper { background: var(--primary); } .cal-key .k.d-good { background: var(--primary-soft); } .cal-key .k.d-care { background: var(--danger-soft); }
.best-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; }
.best-day { display: flex; gap: 10px; align-items: flex-start; }
.best-day .disc { width: 36px; height: 36px; font-size: 15px; flex: none; }
.best-list.compact { gap: 4px; } .best-list.compact .disc { width: 28px; height: 28px; font-size: 13px; }
/* Spelling suggester */
.sp-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; }
.sp-item { padding: 10px 0; border-top: 1px solid var(--line); }
.sp-item:first-child { border-top: 0; }
.sp-new { color: var(--primary); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 3px; }
/* Reading cards and the Mates page */
.rcard { border: 2px solid var(--gold-ink); border-radius: var(--radius); padding: 12px 14px; background: linear-gradient(160deg, var(--primary-soft), var(--surface) 70%); display: flex; flex-direction: column; gap: 6px; }
.rcard-top { display: flex; justify-content: space-between; gap: 8px; font: 700 11px var(--sans); text-transform: uppercase; letter-spacing: .06em; }
.rcard-kind { color: var(--gold-ink); } .rcard-brand { color: var(--muted); }
.rcard-note { margin: 4px 0 0; font-style: italic; overflow-wrap: anywhere; }
.card-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); gap: 12px; }
/* Cards beside the leaderboard when there is room for both (a 300px side column); otherwise one under the other, at any text size. */
.mates-grid { display: flex; flex-wrap: wrap; align-items: flex-start; }
.mates-grid > * { min-width: 0; flex: 1 1 300px; } .mates-grid > :first-child { flex: 999 1 380px; }
.badges { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; }
.badge { display: flex; gap: 10px; align-items: center; }
.badge .b-icon { font-size: 22px; width: 32px; text-align: center; filter: grayscale(1); }
.badge.on .b-icon { filter: none; }
.badge > span:last-child { display: flex; flex-direction: column; }
@media (max-width: 900px) { .mates-grid, .days-grid { grid-template-columns: 1fr; } }
.app-mode .mates-grid, .app-mode .days-grid { grid-template-columns: 1fr; }
