/* Homepage only. Tournament and administration styles remain unchanged. */
.rm-home{--rm-gold:#e7c56d;--rm-muted:#99a7b9;background:#080e17;color:#f1f4f8;font-family:Prompt,sans-serif}.rm-wrap{width:min(1280px,calc(100% - 80px));margin-inline:auto}.rm-home section[id],.rm-listings{scroll-margin-top:90px}.rm-home a:focus-visible,.rm-nav a:focus-visible,.rm-home button:focus-visible{outline:2px solid #ffe49b;outline-offset:5px}.rm-nav{position:sticky!important;background:rgba(7,12,21,.87);backdrop-filter:blur(18px);border-bottom:1px solid #ffffff12}.rm-nav .container{max-width:1440px;margin:auto}.rm-nav .nav-links a{font-size:13px;padding:9px 12px}.rm-hero{isolation:isolate;position:relative;min-height:650px;display:flex;align-items:center;overflow:hidden;background:#080e17}.rm-hero-poster,.rm-hero-video,.rm-hero-shade{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:-3}.rm-hero-video{z-index:-2;opacity:0;transition:opacity .6s}.rm-hero-video.is-playing{opacity:1}.rm-hero-shade{z-index:-1;background:linear-gradient(90deg,rgba(4,9,16,.92),rgba(4,9,16,.65) 46%,rgba(4,9,16,.16)),linear-gradient(0deg,#080e17,transparent 36%,#080e1740)}.rm-hero-content{padding:66px 0 95px}.rm-eyebrow{font-size:11px;letter-spacing:.21em;font-weight:500;color:var(--rm-gold);margin:0 0 18px}.rm-eyebrow span{padding:0 9px}.rm-hero h1{font-family:Kanit,sans-serif;font-size:clamp(54px,6.3vw,96px);font-weight:700;line-height:1;letter-spacing:-.035em;margin:0 0 25px}.rm-hero h1>span:first-child{font-weight:500;margin-left:.15em}.rm-title-dot{color:var(--rm-gold)}.rm-tagline{font-family:Kanit,sans-serif;font-weight:500;font-size:clamp(23px,2.7vw,40px);line-height:1.2;letter-spacing:.025em;margin-bottom:28px;max-width:650px}.rm-capabilities{display:grid;grid-template-columns:repeat(2,max-content);gap:10px 28px;color:#c1cad6;font-size:10px;letter-spacing:.13em}.rm-capabilities span:before{content:'';display:inline-block;width:15px;height:1px;background:#b79b57;margin-right:10px;vertical-align:middle}.rm-actions{display:flex;align-items:center;gap:24px;margin-top:32px;flex-wrap:wrap}.rm-primary{background:var(--rm-gold);color:#151816;padding:14px 24px;border-radius:4px;font-size:15px;font-weight:600;display:inline-flex;gap:10px;align-items:center}.rm-primary:hover{background:#f4d995}.rm-primary>span{font-size:10px}.rm-secondary{color:#e0e6ef;font-size:14px}.rm-secondary:hover{color:var(--rm-gold)}.rm-hero-foot{position:absolute;bottom:22px;left:0;right:0;display:flex;align-items:center;justify-content:space-between;gap:14px;padding-top:18px;border-top:1px solid #ffffff20;color:#9aa8bc;font-size:10px;letter-spacing:.15em}.rm-hero-foot a{color:var(--rm-gold)}.rm-hero-foot button{background:#111c2d;border:1px solid #344052;color:#cad3df;padding:7px 12px;font:inherit;letter-spacing:0;border-radius:4px;cursor:pointer}.rm-section{padding:55px 0}.rm-section-heading{display:flex;align-items:end;justify-content:space-between;gap:24px;margin-bottom:25px}.rm-section-heading .rm-eyebrow{margin-bottom:9px;font-size:10px}.rm-section-heading h2{font:500 clamp(25px,3vw,40px)/1.2 Kanit,sans-serif;letter-spacing:.015em;margin:0}.rm-section-heading>p{font-size:13px;color:var(--rm-muted);max-width:360px;overflow-wrap:anywhere}.rm-dot{display:inline-block;background:#e7c56d;width:8px;height:8px;border-radius:50%;margin-right:7px;vertical-align:middle}.rm-section-heading .rm-dot{width:10px;height:10px;margin-right:12px}.rm-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.rm-card{display:flex;flex-direction:column;min-width:0;color:#edf1f8;background:linear-gradient(135deg,#152033,#0d1522);border:1px solid #263144;border-radius:10px;padding:22px;transition:transform .22s,border-color .22s}.rm-card:hover{transform:translateY(-4px);border-color:#bc9c53}.rm-card-top{display:flex;justify-content:space-between;align-items:center;color:#dec479;font-size:10px;letter-spacing:.12em}.rm-arrow{font-size:20px;color:#7a8799}.rm-card-logo{margin:23px 0 19px;height:76px;width:76px;display:grid;place-items:center}.rm-card-logo img{width:100%;height:100%;object-fit:contain}.rm-card-logo>span{font:700 31px/1 Kanit,sans-serif;color:#8b9cb4;letter-spacing:-.02em}.rm-card-logo>span span{display:block;font:500 9px/2 Prompt,sans-serif;letter-spacing:.3em}.rm-card h3{font-size:20px;font-weight:500;line-height:1.45;overflow-wrap:anywhere;margin:0 0 10px}.rm-card-meta,.rm-card-location{font-size:11px;line-height:1.7;color:#a8b3c4;overflow-wrap:anywhere;margin:0 0 6px}.rm-card-bottom{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:10px;border-top:1px solid #ffffff10;margin-top:auto;padding-top:17px;position:relative;top:7px;font-size:10px;color:#a8b3c4}.rm-card-cta{color:#111820;background:var(--rm-gold);padding:8px 12px;font-size:12px;border-radius:3px}.rm-empty{border:1px dashed #29354a;padding:28px;border-radius:8px;color:#9eabbe;font-size:14px}.rm-empty a{display:inline-block;color:var(--rm-gold);margin-left:10px}.rm-services{background:#0d1624;border-top:1px solid #202d40;border-bottom:1px solid #202d40}.rm-services h2 span{color:var(--rm-gold)}.rm-service-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));margin-top:35px}.rm-service-grid article{padding:22px 18px;border:1px solid #263246;min-width:0}.rm-service-number{font:400 13px Kanit,sans-serif;color:#b89b59}.rm-service-grid h3{font:500 17px/1.4 Kanit,sans-serif;margin:28px 0 12px;overflow-wrap:anywhere}.rm-service-grid p{font-size:11px;color:#99a7b9;line-height:1.8}.rm-reveal{animation:rm-enter .8s both;animation-delay:var(--delay,80ms)}@keyframes rm-enter{from{opacity:0;transform:translateY(12px);filter:blur(3px)}to{opacity:1;transform:translateY(0);filter:blur(0)}}
@media(min-width:1600px){.rm-hero{min-height:720px}}@media(max-width:1100px){.rm-nav .nav-toggle{display:flex}.rm-nav .nav-links{display:none;position:absolute;top:100%;left:0;right:0;flex-direction:column;align-items:stretch;background:#0d1624;padding:16px;border-bottom:1px solid #334055}.rm-nav .nav-links.open{display:flex}.rm-nav .nav-admin-me{white-space:normal;overflow-wrap:anywhere}.rm-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.rm-service-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(max-width:600px){.rm-wrap{width:calc(100% - 36px)}.rm-nav .container{padding:10px 14px;gap:6px}.rm-nav .topnav-right{gap:6px}.rm-nav .brand-logo{height:23px}.rm-nav .btn-sm{font-size:11px;padding:8px 10px}.rm-hero{min-height:590px}.rm-hero-content{padding:42px 0 96px}.rm-hero h1{font-size:clamp(39px,10.5vw,62px);margin-bottom:22px}.rm-tagline{font-size:25px}.rm-eyebrow{letter-spacing:.13em;font-size:9px}.rm-eyebrow span{padding:0 5px}.rm-capabilities{font-size:8px;gap:10px 13px;letter-spacing:.05em}.rm-capabilities span:before{width:8px;margin-right:5px}.rm-actions{gap:18px}.rm-primary{font-size:13px;padding:13px 16px}.rm-secondary{font-size:12px}.rm-hero-foot{font-size:8px;letter-spacing:.04em;gap:6px}.rm-section{padding:35px 0}.rm-section-heading{align-items:start;gap:12px}.rm-section-heading>p{font-size:10px;max-width:120px}.rm-grid{grid-template-columns:1fr;gap:14px}.rm-card{padding:20px}.rm-card-logo{margin:14px 0;width:60px;height:60px}.rm-card h3{font-size:19px}.rm-service-grid{grid-template-columns:1fr 1fr}.rm-service-grid article:last-child{grid-column:1/-1}.rm-service-grid article{padding:18px 14px}.rm-service-grid h3{font-size:16px;margin-top:20px}.rm-hero-shade{background:linear-gradient(90deg,#060c16e8,#060c1690),linear-gradient(0deg,#080e17,transparent 65%)}}
@media(prefers-reduced-motion:reduce){.rm-reveal{animation:none}.rm-card,.rm-hero-video{transition:none}.rm-card:hover{transform:none}.rm-hero-video{display:none}.rm-home{scroll-behavior:auto}}

/* The shared base fixes body height to 100%; let the home page own its full scroll height so sticky navigation stays visible. */
body:has(.rm-home){height:auto;min-height:100%}

/* =========================================================
   RoyalMedia — modern gold pill buttons
   ========================================================= */

.btn-primary {
  background: rgba(190, 128, 26, 0.12) !important;
  color: #d9a23b !important;

  border: 1px solid rgba(217, 162, 59, 0.62) !important;
  border-radius: 999px !important;

  padding: 10px 18px !important;
  min-height: 40px;

  font-weight: 700;
  line-height: 1.1;

  box-shadow: none !important;

  transition:
    background .2s ease,
    border-color .2s ease,
    color .2s ease,
    transform .2s ease,
    box-shadow .2s ease;
}

.btn-primary:hover {
  background: rgba(217, 162, 59, 0.19) !important;
  border-color: #dfa63c !important;
  color: #f0bd58 !important;

  transform: translateY(-1px);

  box-shadow:
    0 7px 22px rgba(217, 162, 59, 0.10) !important;
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-primary:focus-visible {
  outline: 2px solid rgba(224, 169, 67, 0.42);
  outline-offset: 3px;
}


/* RoyalMedia modern gold pill CTA */
.rm-primary,
.rm-card-cta {
  background: rgba(183, 123, 29, .14);
  color: #e0a53c;
  border: 1px solid rgba(224, 165, 60, .58);
  border-radius: 999px;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.015);
  transition:
    background .2s ease,
    color .2s ease,
    border-color .2s ease,
    box-shadow .2s ease,
    transform .2s ease;
}

.rm-primary {
  padding: 11px 20px;
}

.rm-card-cta {
  padding: 8px 14px;
}

.rm-primary:hover,
.rm-card-cta:hover {
  background: rgba(224, 165, 60, .20);
  color: #f0b84f;
  border-color: rgba(240, 184, 79, .9);
  box-shadow: 0 6px 22px rgba(224, 165, 60, .10);
  transform: translateY(-1px);
}

.rm-primary:active,
.rm-card-cta:active {
  transform: translateY(0);
}

/* =========================================================
   RoyalMedia LIVE — red pulse indicator
   ========================================================= */

.rm-live-active .rm-dot {
  background: #ff3b30 !important;
  box-shadow: 0 0 0 0 rgba(255, 59, 48, .72);
  animation: rm-live-pulse 1.35s ease-out infinite;
}

.rm-live-active .rm-status {
  color: #ff6259 !important;
  font-weight: 600;
}

.rm-live-active .rm-card-bottom > span:first-child {
  color: #ff6259 !important;
}

.rm-live-active .rm-card-cta {
  color: #ff6b63 !important;
  border-color: rgba(255, 59, 48, .58) !important;
  background: rgba(255, 59, 48, .08) !important;
}

.rm-live-active .rm-card:hover .rm-card-cta {
  color: #ff8a84 !important;
  border-color: rgba(255, 82, 73, .9) !important;
  background: rgba(255, 59, 48, .14) !important;
  box-shadow: 0 0 18px rgba(255, 59, 48, .12) !important;
}

@keyframes rm-live-pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(255, 59, 48, .78);
    opacity: 1;
  }
  55% {
    box-shadow: 0 0 0 9px rgba(255, 59, 48, 0);
    opacity: .78;
  }
  100% {
    box-shadow: 0 0 0 0 rgba(255, 59, 48, 0);
    opacity: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  .rm-live-active .rm-dot {
    animation: none;
  }
}


/* RoyalMedia minimal card link icon */
.rm-arrow{
  width:28px;
  height:28px;
  display:grid;
  place-items:center;
  color:#7f8da1;
  opacity:.72;
  transition:color .2s ease,opacity .2s ease,transform .2s ease;
}

.rm-arrow svg{
  display:block;
  width:18px;
  height:18px;
}

.rm-card:hover .rm-arrow{
  color:#d2dae5;
  opacity:1;
  transform:translate(1px,-1px);
}

/* === RoyalMedia mobile polish 20260917 === */

/* hero footer */
.rm-hero-foot{
  border-top-color:rgba(231,197,109,.16) !important;
}

.rm-hero-foot button{
  background:rgba(17,28,45,.58) !important;
  border:1px solid rgba(153,167,185,.28) !important;
  color:#b8c3d1 !important;
  padding:7px 12px !important;
  border-radius:999px !important;
  backdrop-filter:blur(10px);
  -webkit-backdrop-filter:blur(10px);
  transition:border-color .2s ease,color .2s ease,background .2s ease;
}

.rm-hero-foot button:hover{
  color:#f1f4f8 !important;
  border-color:rgba(231,197,109,.45) !important;
  background:rgba(231,197,109,.08) !important;
}

.rm-hero-foot a{
  display:inline-flex;
  align-items:center;
  gap:8px;
  font-weight:600;
  text-decoration:none;
}

.rm-hero-foot a::after{
  content:"";
  width:6px;
  height:6px;
  border-right:1.5px solid currentColor;
  border-bottom:1.5px solid currentColor;
  transform:rotate(45deg) translateY(-2px);
  transition:transform .2s ease;
}

.rm-hero-foot a:hover::after{
  transform:rotate(45deg) translate(2px,0);
}

/* mobile header + footer polish */
@media (max-width:600px){
  .rm-nav .container{
    padding:7px 12px !important;
  }

  .rm-nav .brand-logo{
    height:21px !important;
  }

  .rm-nav .btn-sm{
    padding:7px 10px !important;
    font-size:10.5px !important;
  }

  .rm-hero-foot{
    bottom:18px;
    padding-top:15px;
  }

  .rm-hero-foot button{
    padding:6px 10px !important;
    font-size:8px !important;
  }

  .rm-hero-foot a{
    gap:6px;
  }
}

/* === /RoyalMedia mobile polish 20260917 === */
