/* DBRQ theme (2026-10-10): white page, the maroon of the DBRQ logo's paddles, and the Malaysian flag colours
   (blue, red, yellow) for SUQMA. Shared by index.php, suqma.php and results.php. */
:root{--maroon:#8a1538;--blue:#010066;--red:#cc0001;--yellow:#ffcc00;--ink:#1c1c28;--mute:#6b6b78;--line:#e4e4ea;--soft:#f6f6f9}
*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}
html,body{background:#fff;color:var(--ink);font-family:'Barlow',sans-serif;font-weight:400}
a{color:var(--blue)}
.flagbar{height:8px;background:linear-gradient(90deg,var(--blue) 0 33.3%,var(--yellow) 33.3% 66.6%,var(--red) 66.6% 100%)}
.top{display:flex;align-items:center;gap:1rem;flex-wrap:wrap;padding:1rem 1.2rem;border-bottom:1px solid var(--line)}
.top img.dbrq{width:56px;height:56px;border-radius:50%}
.top .name{font-family:'Bebas Neue',sans-serif;font-size:1.5rem;letter-spacing:0.06em;color:var(--maroon);line-height:1}
.top nav{margin-left:auto;display:flex;gap:1.1rem;font-size:0.85rem;font-weight:600}
.top nav a{text-decoration:none;color:var(--blue)}
.wrap{max-width:760px;margin:0 auto;padding:1.6rem 1.1rem 3rem}
h1{font-family:'Bebas Neue',sans-serif;font-size:clamp(2.2rem,8vw,3.4rem);letter-spacing:0.05em;color:var(--maroon);line-height:1.05}
.sub{font-size:0.75rem;letter-spacing:0.24em;text-transform:uppercase;color:var(--mute);margin:0.4rem 0 1.4rem}
h2{font-family:'Bebas Neue',sans-serif;font-size:1.7rem;letter-spacing:0.06em;color:var(--blue);margin:1.8rem 0 0.5rem;padding-bottom:0.3rem;border-bottom:3px solid var(--yellow)}
.time{font-size:0.82rem;color:var(--mute);margin-bottom:0.7rem}
.race{border:1px solid var(--line);border-radius:6px;margin-bottom:0.9rem;overflow:hidden;background:#fff}
.race h3{font-family:'Bebas Neue',sans-serif;font-size:1.25rem;letter-spacing:0.08em;color:#fff;background:var(--maroon);padding:0.45rem 0.9rem;display:flex;align-items:center;gap:0.6rem}
.race h3 .tag{font-family:'Barlow',sans-serif;font-size:0.65rem;font-weight:600;letter-spacing:0.14em;text-transform:uppercase;background:var(--yellow);color:var(--blue);padding:0.15rem 0.5rem;border-radius:3px}
.row{display:grid;grid-template-columns:4.6rem 1fr auto 3.4rem;align-items:center;column-gap:0.7rem;padding:0.3rem 0.9rem;border-top:1px solid var(--line);min-height:3.6rem}
.row:first-of-type{border-top:0}
.row.plain{grid-template-columns:4.6rem 1fr;min-height:2.7rem}
.lane{font-weight:600;color:var(--red);white-space:nowrap;font-size:0.9rem}
.team{font-size:1rem;color:var(--ink)}
.res{font-size:0.82rem;color:var(--ink);text-align:right;max-width:9.5rem;line-height:1.25}
.res.none{color:#a0a0ac}
.fox{height:3.2rem;width:auto;justify-self:center}
.sample{border:2px dashed var(--red);border-radius:8px;padding:0.9rem;margin:0 0 1.6rem;background:var(--soft)}
.sample .stag{display:inline-block;font-size:0.68rem;font-weight:600;letter-spacing:0.16em;text-transform:uppercase;background:var(--red);color:#fff;padding:0.15rem 0.55rem;border-radius:3px;margin-bottom:0.5rem}
.sample .note{font-size:0.8rem;color:var(--mute);margin-bottom:0.7rem}
.hero{text-align:center;padding:2rem 1rem 1rem}
.hero img.big{width:150px;height:150px;border-radius:50%}
.card{border:1px solid var(--line);border-radius:10px;padding:1.4rem;text-align:center;margin-top:1.4rem;box-shadow:0 2px 10px rgba(1,0,102,0.06)}
.card img.suqma{height:90px;max-width:100%}
.card h2{border:0;margin:0.6rem 0 0.2rem;color:var(--maroon)}
.btns{display:flex;gap:0.7rem;justify-content:center;flex-wrap:wrap;margin-top:1rem}
.btn{display:inline-block;text-decoration:none;font-weight:600;font-size:0.95rem;padding:0.65rem 1.3rem;border-radius:5px;background:var(--blue);color:#fff}
.btn.alt{background:var(--red)}
.foot{text-align:center;font-size:0.75rem;color:var(--mute);margin-top:2.4rem}
@media (max-width:420px){.row{grid-template-columns:4.2rem 1fr auto 2.8rem;column-gap:0.5rem;padding:0.3rem 0.7rem}.fox{height:2.8rem}}
