 /* ITpath brand: change these values to match the exact brand colours */
 :root {
     --bg: #0b1f3a;
     --card: #13305a;
     --brand: #19b3a6;
     --accent: #f5a623;
     --txt: #f1f5fb;
     --mut: #9fb3cf;
     --line: #2a4a7c;
     --nav-h: 64px
 }

 * {
     box-sizing: border-box;
     -webkit-tap-highlight-color: transparent
 }

 html {
     -webkit-text-size-adjust: 100%
 }

 body {
     margin: 0;
     font-family: system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
     background: var(--bg);
     color: var(--txt);
     overscroll-behavior-y: none;
     touch-action: manipulation
 }

 #app {
     max-width: 560px;
     margin: 0 auto;
     padding: max(12px, env(safe-area-inset-top)) 12px calc(var(--nav-h) + 28px + env(safe-area-inset-bottom))
 }

 header {
     display: flex;
     justify-content: space-between;
     align-items: center;
     gap: 8px;
     flex-wrap: wrap;
     padding: 6px 0 12px
 }

 .logo {
     font-weight: 800;
     font-size: 18px
 }

 .logo span {
     color: var(--accent)
 }

 /* bottom tab bar: easy to reach with a thumb */
 nav {
     position: fixed;
     bottom: 0;
     left: 50%;
     transform: translateX(-50%);
     width: 100%;
     max-width: 560px;
     display: flex;
     gap: 6px;
     z-index: 5;
     background: #0a1a31;
     border-top: 1px solid var(--line);
     padding: 6px 8px calc(6px + env(safe-area-inset-bottom))
 }

 nav button {
     flex: 1;
     min-height: 48px;
     background: transparent;
     color: var(--mut);
     border: 0;
     border-radius: 12px;
     font-weight: 600;
     font-size: 14px
 }

 nav button.on {
     background: var(--brand);
     color: #04201d
 }

 h3 {
     margin: 18px 0 8px;
     color: var(--accent);
     font-size: 14px;
     text-transform: uppercase;
     letter-spacing: .06em
 }

 .card {
     background: var(--card);
     border-radius: 14px;
     padding: 14px;
     margin-bottom: 10px
 }

 .row {
     display: flex;
     align-items: center;
     justify-content: space-between;
     gap: 8px;
     margin-top: 8px;
     flex-wrap: wrap
 }

 .card>.row:first-child b {
     flex: 1 1 0;
     min-width: 0;
     overflow-wrap: anywhere
 }

 .card>.row:first-child b:last-child {
     text-align: right
 }

 .mut {
     color: var(--mut)
 }

 .sm {
     font-size: 13px;
     margin-top: 4px
 }

 .pts {
     color: var(--accent)
 }

 /* inputs: 16px+ stops iOS zooming in, 44px+ is a comfortable tap size */
 input,
 select {
     background: #0b1f3a;
     color: var(--txt);
     border: 1px solid var(--line);
     border-radius: 10px;
     padding: 10px;
     font-size: 16px;
     width: 100%;
     min-height: 46px
 }

 input[type=number] {
     width: 64px;
     height: 50px;
     text-align: center;
     font-size: 22px;
     font-weight: 700;
     padding: 4px
 }

 input[type=checkbox] {
     width: 22px;
     height: 22px;
     min-height: 0;
     accent-color: var(--accent)
 }

 button {
     font-size: 15px;
     cursor: pointer;
     font-family: inherit
 }

 .btn,
 .row button {
     background: var(--accent);
     color: #2b1a00;
     border: 0;
     border-radius: 10px;
     padding: 10px 16px;
     font-weight: 700;
     min-height: 46px
 }

 .btn:active,
 .row button:active {
     transform: scale(.97)
 }

 .ghost {
     background: transparent !important;
     color: var(--mut) !important;
     border: 1px solid var(--line) !important
 }

 form,
 .stack {
     display: flex;
     flex-direction: column;
     gap: 10px
 }

 /* prediction row: scores, banker and save wrap neatly on narrow phones */
 .pred {
     justify-content: flex-start;
     gap: 10px
 }

 .pred .bk {
     flex: 1;
     min-height: 46px
 }

 .pred button {
     margin-left: auto
 }

 .bk {
     font-size: 14px;
     display: flex;
     align-items: center;
     gap: 6px;
     white-space: nowrap
 }

 @media (max-width:380px) {
     .pred button {
         flex: 1 0 100%;
         margin-left: 0
     }

     #app {
         padding-left: 10px;
         padding-right: 10px
     }
 }

 table {
     width: 100%;
     border-collapse: collapse
 }

 td,
 th {
     padding: 11px 6px;
     text-align: left;
     border-bottom: 1px solid var(--line);
     font-size: 15px
 }

 th {
     color: var(--mut);
     font-size: 12px
 }

 td:last-child,
 th:last-child {
     text-align: right
 }

 td:nth-child(2) {
     max-width: 0;
     width: 100%;
     overflow: hidden;
     text-overflow: ellipsis;
     white-space: nowrap
 }

 tr.me td {
     color: var(--accent);
     font-weight: 700
 }

 .code {
     font-size: clamp(22px, 8vw, 30px);
     font-weight: 800;
     letter-spacing: .2em;
     color: var(--brand);
     margin: 6px 0
 }

 #toast {
     position: fixed;
     left: 50%;
     bottom: calc(var(--nav-h) + 16px + env(safe-area-inset-bottom));
     transform: translateX(-50%);
     background: #fff;
     color: #111;
     padding: 12px 18px;
     border-radius: 22px;
     font-size: 14px;
     display: none;
     max-width: 90%;
     z-index: 9;
     text-align: center
 }

 footer {
     text-align: center;
     color: var(--mut);
     font-size: 12px;
     margin-top: 24px
 }

 /* collapsible past results */
 details.past {
     margin-top: 18px
 }

 details.past>summary {
     list-style: none;
     cursor: pointer;
     background: var(--card);
     border-radius: 14px;
     padding: 14px;
     font-weight: 700;
     min-height: 48px;
     display: flex;
     justify-content: space-between;
     align-items: center
 }

 details.past>summary::-webkit-details-marker {
     display: none
 }

 details.past>summary::after {
     content: "▾";
     color: var(--accent)
 }

 details.past[open]>summary::after {
     content: "▴"
 }

 /* competition filter chips and tags */
 .chips {
     display: flex;
     gap: 8px;
     overflow-x: auto;
     padding: 2px 0 10px;
     scrollbar-width: none
 }

 .chips::-webkit-scrollbar {
     display: none
 }

 .chips button {
     flex: 0 0 auto;
     min-height: 40px;
     padding: 8px 14px;
     border-radius: 20px;
     border: 1px solid var(--line);
     background: transparent;
     color: var(--mut);
     font-weight: 600
 }

 .chips button.on {
     background: var(--brand);
     border-color: var(--brand);
     color: #04201d
 }

 .tag {
     display: inline-block;
     background: #0b1f3a;
     color: var(--brand);
     border-radius: 6px;
     padding: 1px 7px;
     margin-right: 6px;
     font-size: 12px;
     font-weight: 700
 }

 /* sign-in tagline */
 .hero {
     text-align: center;
     padding: 10px 6px 18px
 }

 .tagline {
     margin: 0;
     font-size: clamp(20px, 6vw, 26px);
     font-weight: 800;
     line-height: 1.2
 }

 .sub {
     margin: 8px auto 0;
     max-width: 34ch;
     font-size: 14px;
     color: var(--mut);
     line-height: 1.4
 }

 /* player avatars */
 .av {
     display: inline-flex;
     align-items: center;
     justify-content: center;
     flex: 0 0 auto;
     width: 28px;
     height: 28px;
     border-radius: 50%;
     color: #fff;
     font-size: 11px;
     font-weight: 800;
     text-transform: uppercase
 }

 .who {
     display: flex;
     align-items: center;
     gap: 8px;
     min-width: 0
 }

 .nm {
     overflow: hidden;
     text-overflow: ellipsis;
     white-space: nowrap;
     min-width: 0
 }

 header .who .av {
     width: 26px;
     height: 26px
 }

 /* avatar picker */
 .tap {
     cursor: pointer
 }

 .av.em {
     background: #0b1f3a;
     border: 1px solid var(--line);
     font-size: 16px;
     text-transform: none
 }

 .av.tm {
     font-size: 10px;
     letter-spacing: -.02em
 }

 .av.lg {
     width: 72px;
     height: 72px;
     font-size: 28px
 }

 .av.em.lg {
     font-size: 38px
 }

 .av.tm.lg {
     font-size: 22px
 }

 .grid {
     display: grid;
     grid-template-columns: repeat(auto-fill, minmax(52px, 1fr));
     gap: 8px
 }

 .grid button {
     min-height: 52px;
     font-size: 26px;
     background: #0b1f3a;
     border: 1px solid var(--line);
     border-radius: 12px
 }

 .sw {
     display: flex;
     gap: 10px;
     flex-wrap: wrap
 }

 .sw button {
     width: 38px;
     height: 38px;
     border-radius: 50%;
     border: 3px solid transparent
 }

 .sw button.on {
     border-color: #fff
 }

 /* badges, crowd bar, reminder */
 .bdg {
     display: inline-flex;
     gap: 2px;
     flex: 0 0 auto;
     font-size: 14px
 }

 .crowd {
     display: flex;
     height: 8px;
     border-radius: 6px;
     overflow: hidden;
     margin-top: 8px;
     background: #0b1f3a
 }

 .crowd span {
     display: block;
     height: 100%
 }

 .soon {
     border: 1px solid var(--accent)
 }

 /* animations (light, CSS only) */
 @keyframes rise {
     from {
         opacity: 0;
         transform: translateY(14px)
     }

     to {
         opacity: 1;
         transform: none
     }
 }

 #app.enter>:not(nav) {
     animation: rise .45s ease both
 }

 #app.enter>:not(nav):nth-child(2) {
     animation-delay: 0.06s
 }

 #app.enter>:not(nav):nth-child(3) {
     animation-delay: 0.12s
 }

 #app.enter>:not(nav):nth-child(4) {
     animation-delay: 0.18s
 }

 #app.enter>:not(nav):nth-child(5) {
     animation-delay: 0.24s
 }

 #app.enter>:not(nav):nth-child(6) {
     animation-delay: 0.30s
 }

 #app.enter>:not(nav):nth-child(7) {
     animation-delay: 0.36s
 }

 #app.enter>:not(nav):nth-child(8) {
     animation-delay: 0.42s
 }

 #app.enter>:not(nav):nth-child(9) {
     animation-delay: 0.48s
 }

 #app.enter>:not(nav):nth-child(10) {
     animation-delay: 0.54s
 }

 .ball {
     display: block;
     width: 84px;
     height: 84px;
     margin: 0 auto;
     animation: bounce 1.1s cubic-bezier(.28, .84, .42, 1) infinite
 }

 .ball-shadow {
     width: 60px;
     height: 10px;
     margin: 4px auto 14px;
     border-radius: 50%;
     background: #000;
     animation: shadow 1.1s cubic-bezier(.28, .84, .42, 1) infinite
 }

 @keyframes bounce {

     0%,
     100% {
         transform: translateY(0) rotate(0) scale(1.06, .92)
     }

     50% {
         transform: translateY(-36px) rotate(180deg) scale(1)
     }
 }

 @keyframes shadow {

     0%,
     100% {
         transform: scale(1);
         opacity: .3
     }

     50% {
         transform: scale(.55);
         opacity: .12
     }
 }

 .soon {
     animation: glow 1.6s ease-in-out infinite
 }

 @keyframes glow {
     50% {
         box-shadow: 0 0 0 5px rgba(245, 166, 35, .25)
     }
 }

 nav button,
 .chips button,
 .btn,
 .row button {
     transition: background .2s, color .2s, transform .12s
 }

 nav button:active,
 .chips button:active {
     transform: scale(.94)
 }

 .conf {
     position: fixed;
     z-index: 20;
     pointer-events: none;
     font-size: 18px;
     animation: fly .85s ease-out forwards
 }

 @keyframes fly {
     to {
         transform: translate(var(--dx), var(--dy)) rotate(240deg);
         opacity: 0
     }
 }

 @media (prefers-reduced-motion:reduce) {
     * {
         animation: none !important;
         transition: none !important
     }
 }

 /* how-to-play guide */
 details.guide {
     margin: 4px 0 12px
 }

 details.guide>summary {
     list-style: none;
     cursor: pointer;
     background: var(--card);
     border-radius: 14px;
     padding: 14px;
     font-weight: 700;
     min-height: 48px;
     display: flex;
     justify-content: space-between;
     align-items: center
 }

 details.guide>summary::-webkit-details-marker {
     display: none
 }

 details.guide>summary::after {
     content: "▾";
     color: var(--accent)
 }

 details.guide[open]>summary::after {
     content: "▴"
 }

 .gbody {
     background: var(--card);
     border-radius: 14px;
     margin-top: 6px;
     padding: 4px 14px 12px
 }

 .gbody p {
     margin: 10px 0;
     line-height: 1.45;
     font-size: 15px
 }

 table.gt {
     width: 100%;
     margin: 0 0 4px
 }

 table.gt td {
     padding: 7px 4px;
     font-size: 14px
 }

 table.gt td:last-child {
     text-align: right;
     color: var(--accent);
     font-weight: 700
 }

 /* home / away labels */
 .ha {
     display: block;
     font-size: 11px;
     font-weight: 800;
     letter-spacing: .08em;
     color: var(--brand)
 }

 .teams {
     align-items: flex-start
 }

 .teams>div {
     flex: 1 1 0;
     min-width: 0;
     overflow-wrap: anywhere
 }

 .teams>div:last-child {
     text-align: right
 }

 .teams>span {
     padding-top: 14px
 }

 .sc {
     display: flex;
     flex-direction: column;
     align-items: center;
     gap: 3px
 }

 /* home card, mascot, reactions, rank arrows */
 .home {
     background: linear-gradient(135deg, #13305a, #1b4a82)
 }

 .home.mday {
     border: 1px solid var(--accent)
 }

 .mdh {
     font-weight: 800;
     color: var(--accent);
     margin-bottom: 8px;
     animation: glow 1.6s ease-in-out infinite
 }

 .hrow {
     display: flex;
     gap: 12px;
     align-items: flex-start
 }

 .mas {
     width: 56px;
     height: 56px;
     flex: 0 0 auto;
     animation: wig 2s ease-in-out infinite
 }

 @keyframes wig {

     0%,
     100% {
         transform: rotate(-8deg)
     }

     50% {
         transform: rotate(8deg)
     }
 }

 .bubble {
     margin-top: 8px;
     background: #0b1f3a;
     border-radius: 12px;
     padding: 8px 10px;
     font-size: 13px
 }

 .react {
     display: flex;
     gap: 8px;
     margin-top: 8px
 }

 .react button {
     background: #0b1f3a;
     border: 1px solid var(--line);
     color: var(--txt);
     border-radius: 18px;
     padding: 6px 12px;
     min-height: 38px
 }

 .react button.on {
     border-color: var(--accent)
 }

 .up {
     color: #3ddc84;
     margin-left: 4px;
     font-size: 11px
 }

 .dn {
     color: #ff6b6b;
     margin-left: 4px;
     font-size: 11px
 }

 .rv {
     cursor: pointer;
     margin-right: 8px;
     color: var(--accent)
 }

 /* scoreboard: final result and your prediction */
 .sb {
     display: grid;
     grid-template-columns: 1fr 1fr;
     gap: 10px;
     margin-top: 12px
 }

 .sbox {
     display: flex;
     flex-direction: column;
     align-items: center;
     justify-content: center;
     gap: 6px;
     min-width: 0;
     min-height: 96px;
     padding: 10px 8px;
     border-radius: 16px;
     text-align: center;
     background: #0b1f3a;
     border: 1px solid var(--line)
 }

 .sl {
     font-size: 11px;
     font-weight: 800;
     letter-spacing: .12em;
     color: var(--mut)
 }

 .sn {
     font-size: 34px;
     font-weight: 800;
     line-height: 1;
     font-variant-numeric: tabular-nums
 }

 .sn i {
     font-style: normal;
     color: var(--mut);
     font-weight: 600;
     margin: 0 6px
 }

 .ss {
     font-size: 12px;
     color: var(--mut)
 }

 .ss.none {
     font-size: 13px
 }

 .sbox.fin {
     background: linear-gradient(160deg, #1b4a82, #0e2a50);
     border-color: #2f6fb5
 }

 .sbox.fin .sl {
     color: #9fd0ff
 }

 .pts-badge {
     background: var(--accent);
     color: #2b1a00;
     border-radius: 12px;
     padding: 3px 12px;
     font-weight: 800;
     font-size: 13px
 }

 .sbox.pick.good {
     border-color: var(--brand)
 }

 .sbox.good .sl {
     color: var(--brand)
 }

 .sbox.pick.gold {
     border-color: var(--accent);
     box-shadow: 0 0 0 3px rgba(245, 166, 35, .22)
 }

 .sbox.gold .sl {
     color: var(--accent)
 }

 .sbox.pick.bad {
     border-color: #7a3b3b
 }

 .sbox.bad .pts-badge {
     background: #4a2b2b;
     color: #ffb3b3
 }

 @keyframes pop {
     from {
         opacity: 0;
         transform: scale(.8)
     }

     to {
         opacity: 1;
         transform: none
     }
 }

 #app.enter .sn {
     animation: pop .4s ease both .15s
 }

 @media (max-width:360px) {
     .sn {
         font-size: 28px
     }

     .sbox {
         min-height: 86px
     }
 }

 /* final day */
 body.final-day {
     background: radial-gradient(ellipse at 50% -8%, #4a3200 0, var(--bg) 58%)
 }

 .final {
     position: relative;
     overflow: hidden;
     border-radius: 18px;
     padding: 16px;
     margin-bottom: 12px;
     background: radial-gradient(circle at 15% 0%, #7a5200 0, #2a1a00 52%, #0b1f3a 100%);
     border: 1px solid var(--accent);
     box-shadow: 0 0 26px rgba(245, 166, 35, .28)
 }

 .final>* {
     position: relative;
     z-index: 1
 }

 .ftag {
     display: inline-block;
     font-weight: 800;
     letter-spacing: .14em;
     font-size: 13px;
     background: linear-gradient(90deg, #f5a623, #fff3c4, #f5a623);
     background-size: 200% 100%;
     -webkit-background-clip: text;
     background-clip: text;
     -webkit-text-fill-color: transparent;
     animation: shine 3s linear infinite
 }

 @keyframes shine {
     to {
         background-position: -200% 0
     }
 }

 .fteams {
     display: grid;
     grid-template-columns: 1fr auto 1fr;
     gap: 10px;
     align-items: center;
     margin: 12px 0 8px
 }

 .fteams b {
     font-size: 20px;
     line-height: 1.15;
     overflow-wrap: anywhere
 }

 .fvs {
     font-size: 30px;
     font-weight: 800;
     color: #ffe9b0;
     font-variant-numeric: tabular-nums
 }

 .fvs i {
     font-style: normal;
     margin: 0 6px;
     opacity: .7
 }

 .fstat {
     font-size: 14px;
     color: #ffe9b0;
     font-weight: 600
 }

 .fbtn {
     width: 100%;
     margin-top: 12px;
     min-height: 50px;
     border: 0;
     border-radius: 12px;
     background: var(--accent);
     color: #2b1a00;
     font-weight: 800;
     font-size: 16px;
     animation: glow 1.6s ease-in-out infinite
 }

 .fcta.done {
     margin-top: 10px;
     font-size: 14px;
     color: #c8ffe9
 }

 .confetti {
     position: absolute;
     inset: 0;
     z-index: 0;
     pointer-events: none
 }

 .confetti span {
     position: absolute;
     top: -24px;
     left: var(--l);
     font-size: 16px;
     opacity: .85;
     animation: fall 6s linear infinite;
     animation-delay: var(--d)
 }

 @keyframes fall {
     to {
         transform: translateY(280px) rotate(340deg);
         opacity: 0
     }
 }

 .card.finalcard {
     border: 1px solid var(--accent);
     box-shadow: 0 0 0 3px rgba(245, 166, 35, .15)
 }

 .tag.gold {
     background: var(--accent);
     color: #2b1a00
 }

 .wkimg {
     width: 100%;
     border-radius: 14px;
     margin: 8px 0;
     border: 1px solid var(--line)
 }

 /* ===== modern look ===== */
 :root {
     --nav-h: 78px
 }

 body {
     background: radial-gradient(1100px 560px at 50% -10%, #16396b 0, var(--bg) 58%) fixed
 }

 .card {
     border-radius: 20px;
     background: linear-gradient(160deg, rgba(255, 255, 255, .08), rgba(255, 255, 255, .03));
     border: 1px solid rgba(255, 255, 255, .09);
     box-shadow: 0 8px 24px rgba(0, 0, 0, .25)
 }

 nav {
     bottom: calc(10px + env(safe-area-inset-bottom));
     width: calc(100% - 20px);
     padding: 6px;
     border: 1px solid rgba(255, 255, 255, .1);
     border-radius: 24px;
     background: rgba(9, 24, 46, .8);
     -webkit-backdrop-filter: blur(16px);
     backdrop-filter: blur(16px);
     box-shadow: 0 10px 30px rgba(0, 0, 0, .45)
 }

 nav button {
     border-radius: 18px;
     font-size: 13px
 }

 nav button.on {
     background: linear-gradient(135deg, #19b3a6, #12857c);
     color: #fff;
     box-shadow: 0 4px 14px rgba(25, 179, 166, .4)
 }

 .btn,
 .row button {
     background: linear-gradient(135deg, #ffbf45, #f5a623);
     border-radius: 14px;
     box-shadow: 0 6px 16px rgba(245, 166, 35, .28)
 }

 .ghost {
     box-shadow: none !important
 }

 input,
 select {
     border-radius: 14px;
     background: rgba(5, 14, 30, .6)
 }

 h3 {
     display: flex;
     align-items: center;
     gap: 8px
 }

 h3::before {
     content: "";
     width: 4px;
     height: 14px;
     border-radius: 2px;
     background: var(--accent)
 }

 .teams.tap {
     cursor: pointer
 }

 .tag.go {
     cursor: pointer;
     background: rgba(25, 179, 166, .16);
     color: var(--brand);
     margin: 0 0 0 6px
 }

 .pvbtn {
     width: 100%;
     margin-top: 10px;
     min-height: 44px;
     font-size: 14px
 }

 /* pitch view */
 body.noscroll {
     overflow: hidden
 }

 .pv {
     position: fixed;
     inset: 0;
     z-index: 30;
     overflow: auto;
     background: rgba(5, 12, 24, .94);
     -webkit-backdrop-filter: blur(8px);
     backdrop-filter: blur(8px);
     animation: fadein .25s ease both
 }

 @keyframes fadein {
     from {
         opacity: 0
     }

     to {
         opacity: 1
     }
 }

 .pv-in {
     max-width: 560px;
     margin: 0 auto;
     padding: max(14px, env(safe-area-inset-top)) 14px 40px;
     animation: rise .4s ease both
 }

 .pv-top {
     display: flex;
     justify-content: space-between;
     align-items: center;
     gap: 8px
 }

 .pv-x {
     width: 44px;
     height: 44px;
     border-radius: 50%;
     border: 1px solid var(--line);
     background: rgba(255, 255, 255, .08);
     color: #fff;
     font-size: 18px
 }

 .pvb {
     display: inline-block;
     background: rgba(255, 255, 255, .1);
     border-radius: 10px;
     padding: 3px 10px;
     font-size: 12px;
     font-weight: 800;
     letter-spacing: .06em
 }

 .pvb.live {
     background: #d64530;
     animation: glow 1.4s ease-in-out infinite
 }

 .pv-teams {
     display: grid;
     grid-template-columns: 1fr auto 1fr;
     gap: 10px;
     align-items: center;
     margin: 14px 0 4px
 }

 .pv-teams b {
     font-size: 21px;
     line-height: 1.15;
     overflow-wrap: anywhere
 }

 .pv-score {
     font-size: 38px;
     font-weight: 800;
     font-variant-numeric: tabular-nums
 }

 .pv-score i {
     font-style: normal;
     margin: 0 6px;
     color: var(--mut)
 }

 .pitch {
     display: block;
     width: 100%;
     margin: 12px 0;
     border-radius: 18px;
     border: 1px solid rgba(255, 255, 255, .14);
     box-shadow: 0 14px 40px rgba(0, 0, 0, .5)
 }

 .pl {
     animation: drift 2.4s ease-in-out infinite alternate
 }

 @keyframes drift {
     from {
         transform: translate(0, 0)
     }

     to {
         transform: translate(var(--dx), var(--dy))
     }
 }

 .pl.h circle {
     fill: #19b3a6;
     stroke: #fff;
     stroke-width: .4
 }

 .pl.a circle {
     fill: #f5a623;
     stroke: #fff;
     stroke-width: .4
 }

 .ball,
 .ball0 {
     fill: #fff;
     stroke: #111;
     stroke-width: .3;
     filter: drop-shadow(0 .6px .6px rgba(0, 0, 0, .6))
 }

 .ball0 {
     transform-box: fill-box;
     transform-origin: center;
     animation: ballpulse 1.2s ease-in-out infinite
 }

 @keyframes ballpulse {
     50% {
         transform: scale(1.6)
     }
 }

 /* home match-center card */
 .home {
     display: grid;
     gap: 14px;
     padding: 18px
 }

 .home.mday {
     border-color: rgba(245, 166, 35, .48);
     background: linear-gradient(145deg, rgba(245, 166, 35, .12), rgba(25, 179, 166, .06) 55%, rgba(255, 255, 255, .035))
 }

 .mdh {
     display: flex;
     align-items: center;
     justify-content: space-between;
     gap: 8px;
     flex-wrap: wrap;
     margin: 0;
     animation: none;
     font-size: 12px;
     letter-spacing: .07em;
     text-transform: uppercase
 }

 .mdh span:last-child:not(:first-child) {
     color: var(--mut);
     font-size: 12px;
     font-weight: 600;
     letter-spacing: 0;
     text-transform: none
 }

 .home-welcome {
     display: flex;
     align-items: center;
     gap: 13px;
     min-width: 0
 }

 .home .mas {
     width: 48px;
     height: 48px;
     padding: 9px;
     border-radius: 16px;
     background: rgba(255, 255, 255, .08)
 }

 .home-intro {
     display: grid;
     gap: 3px;
     min-width: 0
 }

 .home-intro>b {
     font-size: 20px;
     line-height: 1.25;
     overflow-wrap: anywhere
 }

 .home-label {
     color: var(--mut);
     font-size: 10px;
     font-weight: 800;
     letter-spacing: .12em
 }

 .home-match {
     display: grid;
     gap: 6px;
     padding: 13px 14px;
     border: 1px solid rgba(255, 255, 255, .08);
     border-radius: 16px;
     background: rgba(5, 14, 30, .38)
 }

 .home-fixture {
     font-size: 17px;
     line-height: 1.35;
     overflow-wrap: anywhere
 }

 .home-fixture span {
     color: var(--mut);
     font-size: 13px;
     font-weight: 500
 }

 .home-match-meta {
     display: flex;
     align-items: center;
     justify-content: space-between;
     flex-wrap: wrap;
     gap: 6px 12px;
     color: var(--mut);
     font-size: 12px
 }

 .home-picks {
     color: #b7eee8
 }

 .home-rival {
     padding: 0 2px;
     color: var(--mut);
     font-size: 13px
 }

 .home-rival b {
     color: var(--txt)
 }

 .home .pvbtn {
     display: flex;
     flex-direction: column;
     align-items: flex-start;
     gap: 2px;
     width: 100%;
     min-height: 0;
     margin: 0;
     padding: 12px 14px;
     text-align: left
 }

 .home .pvbtn span {
     font-size: 12px;
     font-weight: 600;
     opacity: .76
 }

 .home .bubble {
     display: grid;
     gap: 3px;
     margin: 0;
     padding: 10px 12px;
     border-left: 2px solid var(--brand);
     border-radius: 4px 12px 12px 4px;
     background: rgba(25, 179, 166, .08);
     color: var(--mut);
     line-height: 1.45
 }

 .home .bubble .home-label {
     color: var(--brand);
     font-size: 9px
 }