  /* ---------- Sunday Arena (sunday-arena.md, public/js/sunday.js): the page in the lobby pages' look, the bracket's columns, the result sheet ----------
     The page is an .lpage (the round back button, the gold marker title); its cards are the hub's cream cards; the bracket scrolls sideways. */
  .sundaybody { display: flex; flex-direction: column; gap: 14px; }
  .sundaybody > * { flex-shrink: 0; }
  .sucard { background: #FFF4D6; color: var(--ink2); border: 4px solid var(--ink2); border-radius: 18px; box-shadow: 0 5px 0 var(--ink2); padding: 12px 14px; }
  .suhead .suhl { font: 400 24px/1.15 var(--lilita); color: var(--ink2); }
  .suhead .suhs, .susub { margin-top: 6px; font: 800 14px/1.35 var(--nunito); color: #5a4a1a; }
  .sulbl { font: 800 11px/1.2 var(--nunito); text-transform: uppercase; letter-spacing: .06em; color: #6B5A3A; margin-bottom: 6px; }
  .sucount { font: 400 30px/1.1 var(--lilita); color: var(--ink2); }
  .subtn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; margin-top: 12px; min-height: 56px; padding: 0 22px; width: 100%; border-radius: 16px; border: 4px solid var(--ink2); box-shadow: 0 5px 0 var(--ink2); font: 400 22px/1 var(--lilita); color: var(--ink2); transition: none; }
  .subtn.green { background: #7ED957; } .subtn.gold { background: #FFD23F; } .subtn.grey { background: #fff; }
  .subtn:active:not(:disabled) { transform: translateY(3px); box-shadow: 0 2px 0 var(--ink2); } .subtn:hover:not(:disabled) { filter: none; } .subtn:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
  .subtn.sm { width: auto; min-height: 36px; margin: 0; padding: 0 12px; font-size: 15px; border-width: 3px; border-radius: 10px; box-shadow: 0 3px 0 var(--ink2); background: #3FA9F5; color: #fff; text-shadow: 1px 1px 0 var(--ink2); }
  .suacts { display: flex; gap: 10px; } .suacts .subtn { flex: 1 1 0; min-width: 0; padding: 0 10px; font-size: 19px; }
  /* who: the picture, the name, the seed */
  .suwho { display: inline-flex; align-items: center; gap: 8px; min-width: 0; }
  .suwho .sunm { display: flex; flex-direction: column; min-width: 0; } .suwho .sunm b { font: 400 17px/1.1 var(--lilita); color: var(--ink2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .suwho .sunm small { font: 800 11px/1.2 var(--nunito); color: #6B5A3A; }
  .suwho .avw .av { border: 3px solid var(--ink2); box-sizing: border-box; } .suwho .suq { display: grid; place-items: center; background: #cbbf9e; color: #6B5A3A; font: 400 16px/1 var(--lilita); }
  .suwho.su-empty .sunm b { color: #8a7a55; }
  /* your next match, pinned */
  .sumine { border-color: var(--ink2); background: #FFE88A; }
  .sumine.su-ready { background: #CFF5BA; } .sumine.su-live { background: #FFD6A3; } .sumine.su-out { background: #E8DCC0; } .sumine.su-won { background: #FFD23F; }
  .suvs { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 6px; } .suvs .suwho { flex: 1 1 0; } .suvs .suwho:last-child { justify-content: flex-end; text-align: right; } .suvs .suwho:last-child .sunm { align-items: flex-end; }
  .suv { font: 400 22px/1 var(--marker); color: #7a1f00; flex: 0 0 auto; }
  /* the bracket: a column per round, scrolling sideways */
  .subr { border-bottom-left-radius: 0; border-bottom-right-radius: 0; border-bottom: 0; box-shadow: none; padding-bottom: 6px; margin-bottom: -14px; }
  .subracket { display: flex; gap: 14px; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x proximity; padding: 12px 14px 16px; margin: 0; background: #FFF4D6; color: var(--ink2); border: 4px solid var(--ink2); border-top: 0; border-radius: 0 0 18px 18px; box-shadow: 0 5px 0 var(--ink2); scrollbar-width: thin; }
  .sucol { flex: 0 0 236px; display: flex; flex-direction: column; justify-content: space-around; gap: 10px; scroll-snap-align: start; }
  .suround { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; padding: 0 4px 4px; border-bottom: 3px solid var(--ink2); } .suround b { font: 400 18px/1.1 var(--lilita); } .suround small { font: 800 12px/1.2 var(--nunito); color: #6B5A3A; white-space: nowrap; }
  .sumatch { background: #fff; border: 3px solid var(--ink2); border-radius: 14px; box-shadow: 0 3px 0 var(--ink2); padding: 6px 8px; display: flex; flex-direction: column; gap: 4px; }
  .sumatch.su-mine { outline: 3px solid #FFD23F; outline-offset: -1px; }
  .sumatch.su-waiting { opacity: .75; } .sumatch.su-waiting .suwho.su-empty { opacity: .8; }
  .suside { display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 34px; padding: 2px 4px; border-radius: 8px; }
  .suside .suwho { flex: 1 1 0; } .suside .suscore { font: 400 22px/1 var(--lilita); min-width: 22px; text-align: right; color: var(--ink2); }
  .suside.su-won { background: #FFE88A; } .suside.su-won .suscore { color: #0B3D22; } .suside.su-lost { opacity: .5; } .suside.su-me .sunm b { color: #7a1f00; }
  .sutail { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 2px 4px 0; }
  .sulive { display: inline-flex; align-items: center; gap: 6px; font: 800 12px/1 var(--nunito); letter-spacing: .08em; text-transform: uppercase; color: #B4232B; } .sulive::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: #E8343B; border: 2px solid var(--ink2); animation: supulse 1.2s ease-in-out infinite; }
  body.rm .sulive::before { animation: none; }
  @keyframes supulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.3); } }
  .suwait { font: 800 12px/1.2 var(--nunito); color: #6B5A3A; }
  /* the champion's card, the places, the prizes, last week */
  .suchampion { text-align: center; background: #FFE88A; padding-top: 34px; }
  .suchwrap { position: relative; display: inline-block; } .suchwrap .avw.xl .av { border: 4px solid var(--ink2); box-sizing: border-box; }
  .sucrown { position: absolute; left: 50%; top: -34px; width: 70px; height: 48px; transform: translateX(-50%) rotate(-8deg); filter: drop-shadow(0 3px 0 rgba(0,0,0,.35)); }
  .suchname { margin-top: 8px; font: 400 30px/1.1 var(--lilita); } .suchtitle { margin-top: 2px; font: 800 13px/1.2 var(--nunito); letter-spacing: .1em; text-transform: uppercase; color: #8a5a00; } .suchsub { margin-top: 6px; font: 800 14px/1.35 var(--nunito); color: #5a4a1a; }
  .surow { display: flex; align-items: center; gap: 10px; min-height: 40px; padding: 4px 0; border-top: 2px dashed rgba(27,18,6,.15); } .surow:first-of-type { border-top: 0; } .supl { flex: 0 0 34px; font: 400 18px/1 var(--lilita); text-align: center; }
  .supz { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; padding: 5px 0; border-top: 2px dashed rgba(27,18,6,.15); font: 800 14px/1.3 var(--nunito); color: #5a4a1a; } .supz:first-of-type { border-top: 0; } .supz b { text-align: right; color: var(--ink2); }
  .sulast .suwho { margin-top: 4px; }
  .sufoot { font: 800 13px/1.4 var(--nunito); color: #D6F2E0; text-align: center; padding: 4px 8px; }
  .suempty { margin-top: 40px; text-align: center; font: 22px/1.3 var(--lilita); color: #fff; text-shadow: 0 2px 0 rgba(0,0,0,.35); }
  /* the result sheet */
  .susheet .tsbody { align-items: center; text-align: center; }
  .suscorebig { font: 72px/1 var(--marker); color: #0B3D22; text-shadow: 3px 3px 0 #FFD23F; } .suscorebig.lost { color: #B4232B; text-shadow: 3px 3px 0 #E8DCC0; } .suscorebig.word { font-size: 44px; } /* ("Walkover" / "Forfeit" for a match that ended at 0–0) */
  .suline { margin-top: 8px; font: 400 22px/1.15 var(--lilita); color: var(--ink2); }
  .suprize { margin-top: 8px; font: 800 14px/1.3 var(--nunito); color: #5a4300; } .suprize:empty { display: none; }
  /* the notice's tile colour and its Join button */
  .notice.n-sunday .nico { background: #FFD23F; }
  .notice .ngo2 { flex: 0 0 auto; min-height: 40px; padding: 0 14px; border-radius: 12px; background: #7ED957; color: var(--ink2); border: 3px solid var(--ink2); box-shadow: 0 3px 0 var(--ink2); font: 400 16px/1 var(--lilita); transition: none; }
  .notice .ngo2:active:not(:disabled) { transform: translateY(2px); box-shadow: 0 1px 0 var(--ink2); }
  @media (max-width: 379px) { .sucol { flex-basis: 212px; } .suwho .sunm b { font-size: 16px; } .sucount { font-size: 27px; } }
