/* Home computer / laptop layer (Alex, Oct 16 2026). Mobile layout is untouched: every layout rule sits inside a
   min-width media query; only keyboard focus rings and pointer cursors apply everywhere. Standard CSS only
   (Chrome, Edge, Firefox, Safari); grid has a flex-free single-column fallback by default. */

/* Visible keyboard focus everywhere (mouse clicks don't show it thanks to :focus-visible). */
a:focus-visible,button:focus-visible,select:focus-visible,summary:focus-visible,[tabindex]:focus-visible,[role=button]:focus-visible{outline:2px solid #fff;outline-offset:2px}
input:focus-visible,textarea:focus-visible{outline:2px solid #fff;outline-offset:1px}
button:not(:disabled),[role=button],summary,label.ck,label.radio,.mode,.tr-opt,select{cursor:pointer}
button:disabled{cursor:not-allowed}

@media (hover:hover) and (pointer:fine){
  body.dir button:not(:disabled):hover,body.dir .sm:not(:disabled):hover{filter:brightness(1.15)}
  body.dir .tcard:hover h3{text-decoration:underline}
  body.dir .stepper a:hover{border-color:#ffffffb3;color:#fff}
  body.dir a:hover{text-decoration:underline}
  body.dir .srow:hover,body.dir .gcard:hover,body.dir .teamrow:hover{background:#ffffff08}
  .tr-tcard:hover b{text-decoration:underline}
  .tr-ttabs button:hover{color:#fff}
}

@media (min-width:900px){
  /* Director (director.html): readable centred column instead of edge-to-edge. */
  body.dir header{padding-left:max(24px,calc((100% - 1120px)/2));padding-right:max(24px,calc((100% - 1120px)/2))}
  body.dir main#main{max-width:1120px;margin:0 auto;padding:20px 24px}
  body.dir .btns{max-width:640px}
  body.dir .create{max-width:420px}
  body.dir .overlay .panel{max-width:720px;margin-top:40px}
  /* Dashboard event cards: 2-up, 3-up on wide screens. */
  body.dir #main .tcard{height:100%}
  /* Fan / registrations pages: wider than the 640px phone column. */
  .tr-header .in,.tr-main{max-width:1040px}
  .tr-main{padding-left:24px;padding-right:24px}
  .tr-foot{max-width:1040px;margin-left:auto;margin-right:auto}
  #list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;align-items:stretch}
  #list>.tr-card{margin:0}
  #list>.tr-card:only-child,#list>#list-more{grid-column:1/-1}
  /* Fan bottom nav + toast: centred, not stretched across a 1440px screen. */
  nav:not(.stepper){left:50%;right:auto;width:min(720px,100%);transform:translateX(-50%);border-radius:14px 14px 0 0}
  body:not(.dir):not(.tr-body)>main{max-width:960px;margin:0 auto}
}
@media (min-width:1280px){
  #list{grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media (min-width:900px){
  body.dir .tgrid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin-bottom:14px}
  body.dir .tgrid .tcard{margin-bottom:6px}
}
@media (min-width:1280px){body.dir .tgrid{grid-template-columns:repeat(3,minmax(0,1fr))}}
