/* Public pages in the approved v2 look (27 November 2026): rounded white cards, rounded buttons in
   sentence case, soft-filled inputs and pill filters, the same as the member area (the .tg kit).
   neon.css squares every corner with !important, so the radii here need it too.
   Scoped to pages without body.ui2 (the member area, sign-up, log-in and directory already have the look). */

html.m body:not(.ui2) { --p-r: 20px; --p-r-sm: 12px; --p-fill: #F0F1F3; }

/* ---------- Cards ---------- */
html.m body:not(.ui2) :is(.card, .stat, .ex-card, .dir-card, .notify-box, .infobox, .today-card, .lib-video, .muscle-fig, .map) { border-radius: var(--p-r) !important; overflow: hidden; }
html.m body:not(.ui2) :is(.card, .ex-card, .notify-box) { background: #fff; border: 0; box-shadow: 0 1px 2px rgba(16, 24, 40, .05); }
html.m body:not(.ui2) .sec-white :is(.card, .ex-card) { background: var(--p-fill); box-shadow: none; }
/* The amber line across the top of a card doesn't sit well on a rounded card: an amber dot before the title instead. */
html.m body:not(.ui2) .feature-card { box-shadow: none; }
html.m body:not(.ui2) .feature-card h3::before { content: ""; display: block; width: 28px; height: 4px; margin-bottom: 14px; background: var(--hi, #FFAA00); border-radius: 999px !important; }
html.m body:not(.ui2) .notify-box { border-top: 0; }
html.m body:not(.ui2) .mem-card.feature { box-shadow: 0 0 0 2px var(--hi, #FFAA00); }
html.m body:not(.ui2) .infobox { background: #fff; padding: 16px 18px; }
html.m body:not(.ui2) .ex-card:hover { box-shadow: 0 6px 20px rgba(16, 24, 40, .10); }
html.m body:not(.ui2) :is(.tile, .ph, .chip, .drop, .choice, .banner) { border-radius: var(--p-r-sm) !important; }
html.m body:not(.ui2) .avatar { border-radius: 999px !important; }

/* ---------- Buttons: rounded, sentence case, like the member area ---------- */
html.m .btn, html.m .pill-btn, html.m .menu-btn { border-radius: var(--p-r-sm, 12px) !important; }
html.m .btn { font-size: 15px; font-weight: 700; letter-spacing: 0; text-transform: none; }
html.m .btn.lg { font-size: 16px; }
html.m .btn.sm { font-size: 14px; }
html.m .site-head .btn { font-size: 14px; }

/* ---------- Fields ---------- */
html.m body:not(.ui2) :is(input:not([type]), input[type=text], input[type=email], input[type=password], input[type=number], input[type=search], input[type=date], select, textarea) {
	border-radius: var(--p-r-sm) !important; background: var(--p-fill); border-color: transparent;
}
html.m body:not(.ui2) :is(input, select, textarea):focus { background: #fff; border-color: var(--focus, #C77700); box-shadow: 0 0 0 3px rgba(255, 170, 0, .35); outline: none; }
html.m body:not(.ui2) .notify input[type=email] { background: var(--p-fill); border-color: transparent; }

/* ---------- Exercise library filters as pills ---------- */
html.m body:not(.ui2) .lib-chips { gap: 8px; }
html.m body:not(.ui2) .lib-chips a { border-radius: 999px !important; border: 0 !important; background: #fff; color: var(--ink); padding-left: 16px; padding-right: 16px; text-decoration: none; }
html.m body:not(.ui2) .lib-chips a:hover { background: #E3E5E8; }
html.m body:not(.ui2) .lib-chips a.on { background: var(--ink, #14171A); color: #fff; }
