/* PROPSYRATINGS type and feel: loaded last.
   1. One type scale for figures on cards, so numbers fill the card instead of floating in it.
   2. Phone sizes.
   3. One set of control behaviors for the whole site: hover, press, keyboard focus and the active tab
      all respond the same way, so every button reads as deliberate. */

/* ---------- 1. Mortal Lock: figures that fill their cards ---------- */
.ml-pill{gap:7px;padding:14px 22px;min-height:76px}
.ml-pill b{font-size:26px}
.ml-figs>div{padding:12px 14px}
.ml-figs small{font-size:11px;letter-spacing:.12em}
.ml-figs b{font-size:30px;margin-top:6px}
.ml-figs span{font-size:12px;margin-top:4px}
.ml-lbl{font-size:11.5px;letter-spacing:.12em;color:color-mix(in srgb,var(--ml-mute) 70%,#fff)}
.ml-side b{font-size:28px}
.ml-side em{font-size:11.5px}
.ml-side span{font-size:13.5px}
.ml-gamebtn{min-height:64px;font-size:15px}
.ml-cta{height:60px;font-size:16px}
.ml-rank{padding:20px 20px 18px}
.ml-rank h3{font-size:24px}
.ml-rank .rk{font-size:46px}
.ml-rank .rec{font-size:13.5px;margin-top:9px}
.ml-rank .tot{font-size:clamp(56px,4.4vw,72px);margin:14px 0 2px}
.ml-rank .tot small{font-size:11.5px;letter-spacing:.12em;margin-top:9px}
.ml-kv{margin-top:16px}
.ml-kv div{padding:11px 12px}
.ml-kv small{font-size:11px;letter-spacing:.1em}
.ml-kv b{display:block;font-size:22px;margin-top:4px}
.ml-kv i{font-size:11.5px}
.ml-rank-prof{font-size:12.5px!important;padding:10px 14px!important}
.mp-lc-status{font-size:14.5px}
.mp-lc-foot{font-size:12.5px}

/* ---------- 2. phones ---------- */
@media (max-width:700px){
  .ml-pill{padding:11px 14px;min-height:62px}
  .ml-pill b{font-size:21px}
  .ml-figs>div{padding:10px 10px}
  .ml-figs b{font-size:23px}
  .ml-figs small{font-size:10px}
  .ml-figs span{font-size:11px}
  .ml-side b{font-size:23px}
  .ml-rank{padding:16px}
  .ml-rank h3{font-size:20px}
  .ml-rank .rk{font-size:36px}
  .ml-rank .tot{font-size:52px}
  .ml-kv b{font-size:19px}
  .ml-kv small{font-size:10.5px}
  .ml-lbl{font-size:10.5px}
  .rb-hero h1{font-size:clamp(30px,9vw,40px)}
  .sh h2{font-size:clamp(26px,8vw,34px)}
}
@media (max-width:420px){
  .ml-figs b{font-size:20px}
  .ml-rank .tot{font-size:46px}
  .el-kpi b,.dk-kpis .el-kpi b{font-size:22px!important}
}

/* ---------- 3. controls: one behavior everywhere ---------- */
:root{--hm-ease:cubic-bezier(.2,.8,.2,1);--hm-focus:#ffb040}
button,[role="button"],a.np-back,.seg button,.ml-seg button,.rf-tabs a,nav a,.chip,summary{
  -webkit-tap-highlight-color:transparent;
  transition:background-color .18s var(--hm-ease),color .18s var(--hm-ease),border-color .18s var(--hm-ease),box-shadow .2s var(--hm-ease),transform .14s var(--hm-ease),opacity .18s var(--hm-ease),filter .18s var(--hm-ease)}
button:not(:disabled),[role="button"],summary,.rf-tabs a{cursor:pointer}
/* press: a short, firm push down on every control */
button:not(:disabled):active,[role="button"]:active,.rf-tabs a:active,nav a:active,.seg button:active{transform:translateY(1px) scale(.975)}
button:disabled{cursor:not-allowed;opacity:.45}
/* keyboard focus: a clear ring, never on a mouse click */
:focus{outline:none}
:focus-visible{outline:2px solid var(--hm-focus);outline-offset:2px;border-radius:6px}
input:focus-visible,select:focus-visible,textarea:focus-visible{outline-offset:0}
/* segmented choices: the chosen option is lit, the others brighten on hover */
.seg button:not(.on):hover{color:var(--ink);background:rgba(255,255,255,.06)}
.seg button.on{box-shadow:0 4px 14px rgba(0,0,0,.35),inset 0 1px 0 rgba(255,255,255,.35)}
/* tab bars and section navs: an underline that slides in under hover and stays under the active tab */
.rf-tabs a{position:relative}
.rf-tabs a:not(.on):after{content:"";position:absolute;left:14px;right:14px;bottom:4px;height:2px;border-radius:2px;background:linear-gradient(90deg,#ff7ad9,#ffd67a,#8dffb0,#79e2ff,#a98bff);transform:scaleX(0);transform-origin:left;opacity:.6;transition:transform .28s var(--hm-ease);pointer-events:none}
.rf-tabs a:not(.on):hover:after{transform:scaleX(1)}
/* clickable cards lift slightly so it is obvious they open something */
.ml-rank,.mp-lc,.bb-game,.ls-tk,.el-kpi{transition:transform .22s var(--hm-ease),box-shadow .22s var(--hm-ease)}
.ml-rank:hover,.mp-lc:hover{transform:translateY(-3px);box-shadow:0 14px 34px rgba(0,0,0,.45)}
/* primary actions carry a soft glow on hover */
.ml-cta.ready:hover,.ls-shuf:hover,.np-back:hover{filter:brightness(1.08);box-shadow:0 8px 26px rgba(255,140,60,.28)}
/* comfortable tap targets on touch screens */
@media (pointer:coarse){.seg button,.ml-seg button,.rf-tabs a{min-height:40px}}
/* nav jumps land below the sticky header */
section[id]{scroll-margin-top:118px}
/* numbers line up in columns */
.num,.ml-figs b,.ml-kv b,.ml-pill b,.ml-rank .tot,.el-kpi b,td.r{font-variant-numeric:tabular-nums}
/* text renders crisply on dark backgrounds */
body{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;text-rendering:optimizeLegibility}
h1,h2,h3{text-wrap:balance}
p{text-wrap:pretty}
@media (prefers-reduced-motion:reduce){*{transition-duration:.01ms!important;animation-duration:.01ms!important}}
[data-motion="off"] button:active,[data-motion="off"] .ml-rank:hover,[data-motion="off"] .mp-lc:hover{transform:none}
/* seat card fit: five bet types and three figures share a narrow card */
.ml-seg button{font-size:12px;letter-spacing:.06em;padding:0 4px}
.ml-figs span{font-size:11px;white-space:normal;line-height:1.25}
.ml-figs small{white-space:nowrap}
@media (max-width:700px){.ml-seg button{font-size:11.5px;letter-spacing:.04em}}
/* phone header: brand, section switch and the icon buttons always fit on one or two rows */
@media (max-width:520px){
  header.top .wrap{flex-wrap:wrap;row-gap:8px}
  header.top .lgsw button{font-size:12px;letter-spacing:.06em;padding-left:10px;padding-right:10px}
  header.top .hm-loginbtn{font-size:12.5px;padding:0 12px}
  header.top .brand b{font-size:clamp(18px,5.4vw,24px)}
}
/* section navs: every link fits on wide screens, and stays compact on phones */
@media (max-width:1600px){.nav a,body.league-nba .nbanav a,body.league-nfl .nflnav a{font-size:13.5px;padding-left:8px;padding-right:8px;letter-spacing:.05em}}
@media (max-width:700px){.nav a,body.league-nba .nbanav a,body.league-nfl .nflnav a{font-size:13px;padding-left:10px;padding-right:10px}}

/* phones: short name "Propsy" in the header */
@media (max-width:560px){header.top .brand b em{display:none}}
