/* TKG 0.3.9.9.50: front-end navigation and home clean-up only */
.tkg50-site-logo{display:block;width:clamp(118px,13vw,190px);height:auto;object-fit:contain}
.tkg50-brand-link{display:inline-flex;align-items:center;text-decoration:none!important}
.tkg50-event-item{position:relative;list-style:none}
.tkg50-event-item>details>summary{cursor:pointer;list-style:none;display:flex;align-items:center;gap:7px;white-space:nowrap}
.tkg50-event-item>details>summary::-webkit-details-marker{display:none}
.tkg50-event-item>details>summary:after{content:'⌄';font-size:16px}
.tkg50-event-item>details[open]>summary:after{content:'⌃'}
.tkg50-event-submenu{position:absolute!important;top:100%;right:0;z-index:9999;min-width:255px;max-height:min(70vh,650px);overflow:auto;background:#fff;color:#173b2b;border:1px solid #dce8df;border-radius:12px;box-shadow:0 12px 30px #002c1830;padding:9px!important;margin:6px 0 0!important;display:flex!important;flex-direction:column!important;align-items:stretch!important;gap:0!important}
.tkg50-event-submenu>li{display:block!important;width:100%!important;margin:0!important}
.tkg50-event-submenu a{display:block!important;padding:10px 12px!important;white-space:normal!important;color:#173b2b!important;text-decoration:none!important;font-size:14px!important}
.tkg50-event-submenu a:hover,.tkg50-event-submenu a:focus{background:#e9f4ed!important;border-radius:7px}
.tkg50-home-hero{min-height:55vh;display:flex;align-items:center;justify-content:center;padding:48px 20px;background:linear-gradient(135deg,#f5faf6,#fff)}
.tkg50-home-hero img{width:min(440px,80vw);height:auto}
@media(max-width:781px){.tkg50-event-submenu{position:static!important;max-width:90vw;box-shadow:none;min-width:0}.tkg50-site-logo{width:145px}}

/* v51: clean compact landing page, no duplicate logo or default theme footer */
body.tkg51-clean-home .tkg50-home-hero{display:none!important}
body.tkg51-clean-home footer,body.tkg51-clean-home .wp-site-blocks>footer,body.tkg51-clean-home .wp-block-template-part:has(footer){display:none!important}
body.tkg51-clean-home .tkg51-home-actions{box-sizing:border-box;max-width:960px;margin:0 auto;padding:42px 22px 65px;min-height:45vh}
body.tkg51-clean-home .tkg51-home-actions h1{font-size:clamp(25px,5vw,40px);line-height:1.2;color:#005e32;margin:0 0 8px}
body.tkg51-clean-home .tkg51-home-actions p{font-size:16px;color:#52645b;margin:0 0 25px}
body.tkg51-clean-home .tkg51-action-links{display:flex;gap:12px;flex-wrap:wrap}
body.tkg51-clean-home .tkg51-action-links a{display:inline-flex;justify-content:center;align-items:center;padding:13px 18px;background:#005e32;color:#fff!important;border-radius:10px;text-decoration:none!important;font-weight:600}
body.tkg51-clean-home .tkg51-action-links a:hover{background:#00452a}
@media(max-width:781px){body.tkg51-clean-home .tkg51-home-actions{min-height:0;padding:36px 22px 55px}body.tkg51-clean-home .tkg51-action-links{flex-direction:column}body.tkg51-clean-home .tkg51-action-links a{width:100%}}

/* v52: compact two-action homepage, with prominent player-marker entry */
body.tkg51-clean-home .tkg51-home-actions{padding:clamp(20px,4vw,42px) 22px 50px;min-height:0}
body.tkg51-clean-home .tkg51-action-links{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
body.tkg51-clean-home .tkg51-action-links a{min-height:76px;box-sizing:border-box;text-align:center;padding:18px 24px;border-radius:18px;background:linear-gradient(135deg,#005e32,#08764c);box-shadow:0 5px 14px rgba(0,65,35,.14);font-size:clamp(16px,2vw,20px);line-height:1.3;transition:transform .15s ease,box-shadow .15s ease}
body.tkg51-clean-home .tkg51-action-links a:focus-visible{outline:3px solid #90d9af;outline-offset:3px}
body.tkg51-clean-home .tkg51-action-links a:hover{transform:translateY(-2px);box-shadow:0 9px 20px rgba(0,65,35,.2)}
@media(max-width:781px){body.tkg51-clean-home .tkg51-home-actions{padding:22px 20px 38px}body.tkg51-clean-home .tkg51-action-links{grid-template-columns:1fr;gap:14px}body.tkg51-clean-home .tkg51-action-links a{width:100%;min-height:66px;font-size:18px;border-radius:15px}}

/* v53: centered subtitle, square mobile action tiles, sponsor strip */
body.tkg51-clean-home .tkg51-home-actions{max-width:900px;padding:28px 20px 40px!important}
body.tkg51-clean-home .tkg53-subtitle{text-align:center!important;color:#51675c!important;font-size:clamp(15px,2.6vw,20px)!important;margin:0 0 24px!important;line-height:1.5}
body.tkg51-clean-home .tkg51-action-links{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:14px!important}
body.tkg51-clean-home .tkg51-action-links a{aspect-ratio:1/1!important;min-height:0!important;width:100%!important;padding:12px!important;border-radius:18px!important;line-height:1.35!important;overflow-wrap:anywhere;font-size:clamp(14px,3.5vw,20px)!important}
body.tkg51-clean-home .tkg53-sponsors{display:flex;align-items:center;justify-content:space-around;gap:22px;margin-top:30px;padding:22px 20px;background:linear-gradient(110deg,#00472e,#00633e);border-radius:20px;min-height:96px;box-sizing:border-box}
body.tkg51-clean-home .tkg53-sponsors img{display:block;max-width:44%;height:60px;object-fit:contain;object-position:center}
@media(max-width:781px){body.tkg51-clean-home .tkg51-home-actions{padding:20px 16px 30px!important}body.tkg51-clean-home .tkg51-action-links{gap:12px!important}body.tkg51-clean-home .tkg53-sponsors{margin-top:24px;padding:14px 16px;gap:12px;min-height:80px}body.tkg51-clean-home .tkg53-sponsors img{height:52px}}

/* v54: three square tiles and bottom-anchored continuously scrolling sponsors */
body.tkg51-clean-home .tkg51-home-actions{display:flex!important;flex-direction:column!important;box-sizing:border-box!important;min-height:max(560px,calc(100svh - 220px))!important;width:100%!important;padding-bottom:20px!important}
body.tkg51-clean-home .tkg51-action-links{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:12px!important}
body.tkg51-clean-home .tkg51-action-links a{aspect-ratio:1/1!important;min-width:0!important}
body.tkg51-clean-home .tkg53-sponsors{display:block!important;overflow:hidden!important;position:relative!important;flex-shrink:0!important;margin-top:auto!important;margin-bottom:0!important;padding:12px 0!important;min-height:86px!important;border-radius:16px!important}
body.tkg51-clean-home .tkg54-sponsor-track{display:flex!important;align-items:center!important;width:max-content!important;animation:tkg54-scroll 18s linear infinite!important;will-change:transform}
body.tkg51-clean-home .tkg54-sponsor-set{display:flex!important;align-items:center!important;justify-content:space-around!important;gap:68px!important;flex:0 0 auto!important;min-width:600px!important;padding:0 34px!important;box-sizing:border-box!important}
body.tkg51-clean-home .tkg53-sponsors .tkg54-sponsor-set img{height:64px!important;width:200px!important;max-width:none!important;object-fit:contain!important}
@keyframes tkg54-scroll{from{transform:translateX(0)}to{transform:translateX(-50%)}}
@media(max-width:781px){body.tkg51-clean-home .tkg51-home-actions{min-height:max(480px,calc(100svh - 210px))!important;padding-top:24px!important;padding-bottom:18px!important}body.tkg51-clean-home .tkg51-action-links{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:12px!important}body.tkg51-clean-home .tkg51-action-links a{font-size:clamp(13px,3.2vw,18px)!important}body.tkg51-clean-home .tkg53-sponsors{min-height:78px!important}body.tkg51-clean-home .tkg54-sponsor-set{min-width:480px!important;gap:45px!important;padding:0 24px!important}body.tkg51-clean-home .tkg53-sponsors .tkg54-sponsor-set img{width:155px!important;height:54px!important}}
@media(prefers-reduced-motion:reduce){body.tkg51-clean-home .tkg54-sponsor-track{animation:none!important}body.tkg51-clean-home .tkg54-sponsor-set[aria-hidden=true]{display:none!important}}

/* v55: balanced three-tile layout, two top + centered lower tile on mobile;
   maintain the sponsor strip near the bottom with breathing room. */
@media (min-width:782px){
 body.tkg51-clean-home .tkg51-action-links{grid-template-columns:repeat(3,minmax(0,1fr))!important;max-width:900px!important;margin-inline:auto!important;width:100%!important}
 body.tkg51-clean-home .tkg51-action-links a{aspect-ratio:1/1!important}
}
@media (max-width:781px){
 body.tkg51-clean-home .tkg51-action-links{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:14px!important;width:100%!important}
 body.tkg51-clean-home .tkg51-action-links a:nth-child(3){grid-column:1 / -1!important;justify-self:center!important;width:calc((100% - 14px)/2)!important;max-width:100%!important}
 body.tkg51-clean-home .tkg51-home-actions{min-height:max(660px,calc(100svh - 170px))!important;padding-bottom:calc(22px + env(safe-area-inset-bottom,0px))!important}
 body.tkg51-clean-home .tkg53-sponsors{margin-top:auto!important;min-height:88px!important}
}
body.tkg51-clean-home .tkg51-action-links a{display:flex!important;align-items:center!important;justify-content:center!important;text-align:center!important;text-wrap:balance!important}

/* v56: five sponsor logos, seamless marquee; original artwork retained. */
body.tkg51-clean-home .tkg54-sponsor-track{animation-duration:32s!important}
body.tkg51-clean-home .tkg54-sponsor-set{min-width:0!important;gap:64px!important;padding:0 32px!important}
body.tkg51-clean-home .tkg53-sponsors .tkg54-sponsor-set img{width:190px!important;height:72px!important;object-fit:contain!important;flex-shrink:0!important}
body.tkg51-clean-home .tkg53-sponsors .tkg54-sponsor-set img[alt="Ministry of Tourism and Sports"]{width:95px!important}
@media(max-width:781px){body.tkg51-clean-home .tkg54-sponsor-set{min-width:0!important;gap:44px!important;padding:0 22px!important}body.tkg51-clean-home .tkg53-sponsors .tkg54-sponsor-set img{width:160px!important;height:62px!important}body.tkg51-clean-home .tkg53-sponsors .tkg54-sponsor-set img[alt="Ministry of Tourism and Sports"]{width:80px!important}}
@media(prefers-reduced-motion:reduce){body.tkg51-clean-home .tkg54-sponsor-track{animation:none!important}}

/* v57: compact tiles, larger labels and monthly featured media */
body.tkg51-clean-home .tkg51-home-actions{max-width:1040px!important}
body.tkg51-clean-home .tkg51-action-links{max-width:790px!important;margin-inline:auto!important;width:100%!important;gap:14px!important}
body.tkg51-clean-home .tkg51-action-links a{font-size:clamp(17px,2.1vw,23px)!important;font-weight:650!important;padding:13px!important;line-height:1.25!important}
body.tkg51-clean-home .tkg57-featured{width:100%;max-width:900px;margin:34px auto 40px;box-sizing:border-box}
body.tkg51-clean-home .tkg57-featured h2{font-size:clamp(21px,3vw,28px);font-weight:700;color:#005e32;margin:0 0 15px;text-align:center}
body.tkg51-clean-home .tkg57-media-viewport{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;scroll-behavior:smooth;gap:14px;scrollbar-width:thin;border-radius:16px}
body.tkg51-clean-home .tkg57-slide{flex:0 0 100%;min-width:0;scroll-snap-align:center;background:#f2f6f3;display:flex;align-items:center;justify-content:center;border-radius:16px;overflow:hidden}
body.tkg51-clean-home .tkg57-slide img,body.tkg51-clean-home .tkg57-slide video{display:block;width:100%;height:auto;max-height:560px;object-fit:contain;background:#f3f6f3}
body.tkg51-clean-home .tkg57-media-controls{display:flex;justify-content:center;gap:18px;margin-top:12px}
body.tkg51-clean-home .tkg57-media-controls button{border:1px solid #b8d2c3;border-radius:50%;background:white;color:#005e32;width:42px;height:42px;font-size:28px;line-height:1;cursor:pointer}
body.tkg51-clean-home .tkg57-media-controls button:focus-visible{outline:3px solid #005e32;outline-offset:2px}
body.tkg51-clean-home .tkg53-sponsors{margin-top:30px!important}
@media(max-width:781px){
 body.tkg51-clean-home .tkg51-action-links{max-width:570px!important;gap:12px!important}
 body.tkg51-clean-home .tkg51-action-links a{font-size:clamp(17px,4.1vw,21px)!important;padding:10px!important;border-radius:18px!important}
 body.tkg51-clean-home .tkg51-action-links a:nth-child(3){width:calc((100% - 12px)/2)!important}
 body.tkg51-clean-home .tkg57-featured{margin:30px auto 38px!important}
 body.tkg51-clean-home .tkg57-slide img,body.tkg51-clean-home .tkg57-slide video{max-height:430px}
 body.tkg51-clean-home .tkg51-home-actions{min-height:0!important}
}

/* v69 nationality flags */
.tkg69-flag{display:inline-block;font-family:Apple Color Emoji,Segoe UI Emoji,Noto Color Emoji,sans-serif;font-size:1.15em;line-height:1;vertical-align:-.08em;margin-right:3px;white-space:nowrap}

.tkg71-editor .tkg73-profile-photo{width:110px;height:110px;object-fit:cover;border-radius:12px;margin-top:8px;display:block}

/* v82: slightly larger nationality flags wherever player names appear. */
.tkg69-flag{font-size:1.4em!important;line-height:1;vertical-align:-.12em;margin-right:4px;}

/* v84: visual grouping for extended player profile */
.tkg84-subheading{margin:18px 0 4px!important;padding:10px 13px!important;background:#e2efe8;border-left:4px solid #00643a;border-radius:5px;color:#154b36;font-size:15px;}
.tkg84-subheading strong{font-weight:750;}

/* v90: remove public site navigation; preserve brand and WP admin toolbar. */
body.tkg90-nav-hidden header nav,
body.tkg90-nav-hidden header .wp-block-navigation,
body.tkg90-nav-hidden .site-header nav,
body.tkg90-nav-hidden .site-header .main-navigation,
body.tkg90-nav-hidden header .wp-block-page-list,
body.tkg90-nav-hidden header .tkg50-event-item {display:none!important}
body.tkg90-nav-hidden header,body.tkg90-nav-hidden .site-header{position:relative!important;min-height:86px;box-sizing:border-box}
body.tkg90-nav-hidden header .tkg90-language,body.tkg90-nav-hidden .site-header .tkg90-language{position:absolute;right:clamp(14px,3vw,42px);top:50%;transform:translateY(-50%);z-index:30;display:inline-flex;align-items:center;gap:7px;background:#fff;border:1px solid #c7d9cf;border-radius:12px;padding:6px 9px;box-shadow:0 2px 8px #002c1612;color:#005e32}
.tkg90-language select{appearance:auto;border:0!important;background:transparent!important;max-width:145px;min-height:30px!important;padding:2px!important;font-size:14px!important;color:#143f2b!important;cursor:pointer}
.tkg90-language select:focus-visible{outline:2px solid #005e32;outline-offset:2px}
@media(max-width:600px){body.tkg90-nav-hidden header .tkg90-language{right:12px;padding:4px 6px}.tkg90-language select{max-width:108px;font-size:12px!important}body.tkg90-nav-hidden header .tkg50-site-logo{max-width:150px!important}}

/* v96 staff import entry: desktop only */
.tkg96-organisers{position:absolute;right:clamp(160px,17vw,255px);top:26px;z-index:80;font:600 14px/1.4 Arial,sans-serif;color:#005e32}
.tkg96-organisers summary{cursor:pointer;list-style:none;padding:9px 13px;border:1px solid #c9ded1;border-radius:9px;background:white}
.tkg96-organisers-menu{position:absolute;right:0;top:100%;min-width:220px;background:white;border:1px solid #c9ded1;box-shadow:0 8px 20px #0002;border-radius:8px;padding:10px}
.tkg96-organisers-menu a{display:block;color:#005e32!important;text-decoration:none;padding:8px}
@media(max-width:1023px),(pointer:coarse){.tkg96-organisers{display:none!important}}

/* v106: full-bleed highlight gallery, fixed previous visual height. */
body.tkg51-clean-home .tkg57-featured{width:100vw!important;max-width:none!important;position:relative!important;left:50%!important;transform:translateX(-50%)!important;margin:30px 0 34px!important;overflow:hidden!important}
body.tkg51-clean-home .tkg57-featured h2{padding:0 20px!important}
body.tkg51-clean-home .tkg57-media-viewport{width:100%!important;gap:0!important;border-radius:0!important;scrollbar-width:none!important}
body.tkg51-clean-home .tkg57-media-viewport::-webkit-scrollbar{display:none}
body.tkg51-clean-home .tkg57-slide{height:430px!important;border-radius:0!important;flex:0 0 100%!important}
body.tkg51-clean-home .tkg57-slide img,body.tkg51-clean-home .tkg57-slide video{width:100%!important;height:100%!important;max-height:none!important;object-fit:contain!important;background:#eef4ef}
body.tkg51-clean-home .tkg106-royal,body.tkg51-clean-home .tkg106-scholarship{width:100%;box-sizing:border-box}
body.tkg51-clean-home .tkg106-royal{padding:40px clamp(16px,3vw,36px);border-radius:24px;background:linear-gradient(145deg,#f7f6ef,#edf3ed);text-align:center;margin:0 0 30px}
body.tkg51-clean-home .tkg106-section-head>span,body.tkg51-clean-home .tkg106-kicker{display:block;font-size:12px;font-weight:800;letter-spacing:.16em;color:#64826d}
body.tkg51-clean-home .tkg106-section-head h2,body.tkg51-clean-home .tkg106-scholarship h2{font-size:clamp(28px,4vw,43px);line-height:1.15;color:#174d34;margin:10px 0 12px;font-weight:800}
body.tkg51-clean-home .tkg106-section-head h2 em,body.tkg51-clean-home .tkg106-scholarship h2 em{font-style:normal;color:#b28c41}
body.tkg51-clean-home .tkg106-section-head p{max-width:630px;margin:0 auto 24px!important;line-height:1.5}
body.tkg51-clean-home .tkg106-years{display:flex;gap:12px;overflow-x:auto;scroll-snap-type:x mandatory;padding:8px 4px 18px;scrollbar-width:thin}
body.tkg51-clean-home .tkg106-year{flex:0 0 130px;min-height:145px;scroll-snap-align:start;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;text-decoration:none;background:#fff;border:1px solid #d8e1d8;border-radius:16px;color:#174d34;box-shadow:0 5px 20px #18482a0b}
body.tkg51-clean-home .tkg106-cup{font-size:31px}body.tkg51-clean-home .tkg106-year strong{font-size:25px}body.tkg51-clean-home .tkg106-year small{font-size:12px;color:#6b796d}
body.tkg51-clean-home .tkg106-cta{display:inline-flex;align-items:center;justify-content:center;text-align:center;padding:12px 18px;border-radius:12px;background:#005e32;color:white!important;font-weight:700;text-decoration:none!important;line-height:1.4}
body.tkg51-clean-home .tkg106-outline{background:transparent;color:#005e32!important;border:1px solid #9db6a7;margin-top:8px}
body.tkg51-clean-home .tkg106-scholarship{display:grid;grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr);overflow:hidden;border-radius:24px;background:#063e2d;color:#fff;margin:0 0 36px}
body.tkg51-clean-home .tkg106-scholarship-art{background:radial-gradient(circle at 20% 20%,#3d9971,#075036 60%,#042e23);min-height:290px;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:0;color:#fff}
body.tkg51-clean-home .tkg106-scholarship-art span{font-size:32px;font-weight:900;letter-spacing:.3em}body.tkg51-clean-home .tkg106-scholarship-art strong{font-size:clamp(74px,10vw,130px);line-height:1;font-weight:900;color:#f3e6b3}body.tkg51-clean-home .tkg106-scholarship-art small{letter-spacing:.22em;font-size:12px}
body.tkg51-clean-home .tkg106-scholarship-copy{padding:clamp(24px,4vw,44px)}
body.tkg51-clean-home .tkg106-scholarship h2{color:white}body.tkg51-clean-home .tkg106-scholarship-copy p{color:#e4f0e8!important;line-height:1.55;margin:0 0 14px!important}
body.tkg51-clean-home .tkg106-scholarship .tkg106-cta{background:#e7d5a3;color:#143c2c!important;margin-top:8px}
@media(max-width:781px){body.tkg51-clean-home .tkg106-scholarship{grid-template-columns:1fr}body.tkg51-clean-home .tkg106-scholarship-art{min-height:190px}body.tkg51-clean-home .tkg106-scholarship-art strong{font-size:75px}body.tkg51-clean-home .tkg106-royal{padding:28px 16px}body.tkg51-clean-home .tkg106-year{flex-basis:115px;min-height:130px}}

/* v107: premium three-photo Royal Cup gallery; TKG official logo BELOW photos. */
body.tkg51-clean-home .tkg107-royal{background:linear-gradient(145deg,#063a2a,#005e32 58%,#123e2c)!important;padding:0 0 28px!important;overflow:hidden;color:#fff!important;border-radius:20px!important}
body.tkg51-clean-home .tkg107-royal-heading{padding:28px 22px 22px;text-align:center}
body.tkg51-clean-home .tkg107-royal-heading span{font-size:12px;letter-spacing:.17em;color:#d9c080;font-weight:700}
body.tkg51-clean-home .tkg107-royal-heading h2{font-size:clamp(27px,3.5vw,48px);line-height:1.25;color:#f0d28c!important;margin:7px 0 9px!important}
body.tkg51-clean-home .tkg107-royal-heading h2 em{display:block;font-size:.62em;font-style:normal;letter-spacing:.11em;color:#fff}
body.tkg51-clean-home .tkg107-royal-heading p{color:#e5efe8!important;margin:0!important;line-height:1.45}
body.tkg51-clean-home .tkg107-photo-grid{display:grid;grid-template-columns:1fr 1.2fr 1fr;gap:5px;padding:0 8px}
body.tkg51-clean-home .tkg107-photo-grid img{display:block;width:100%;height:clamp(230px,32vw,450px);object-fit:cover;object-position:center;border:2px solid #c5a764;border-radius:6px}
body.tkg51-clean-home .tkg107-photo-grid img:nth-child(1){object-position:40% center}
body.tkg51-clean-home .tkg107-brand-footer{padding:22px 0 12px;text-align:center}
body.tkg51-clean-home .tkg107-brand-footer img{width:clamp(130px,19vw,215px);height:auto;max-height:100px;object-fit:contain;filter:brightness(0) invert(1)}
body.tkg51-clean-home .tkg107-royal .tkg106-years{padding:10px 18px 16px;justify-content:center}
body.tkg51-clean-home .tkg107-royal .tkg106-year{flex-basis:100px;min-height:100px;background:#ffffff12;border:1px solid #cfb578;color:#fff;box-shadow:none}
body.tkg51-clean-home .tkg107-royal .tkg106-year small{color:#e9ddbd}
body.tkg51-clean-home .tkg107-royal .tkg106-outline{border-color:#c9ac70;color:#fff!important}
@media(max-width:650px){body.tkg51-clean-home .tkg107-photo-grid{grid-template-columns:1fr 1fr;gap:4px}body.tkg51-clean-home .tkg107-photo-grid img{height:230px}body.tkg51-clean-home .tkg107-photo-grid img:nth-child(2){grid-column:2;grid-row:1}body.tkg51-clean-home .tkg107-photo-grid img:nth-child(3){grid-column:1/-1;height:220px;object-position:center 45%}body.tkg51-clean-home .tkg107-royal .tkg106-years{justify-content:flex-start}body.tkg51-clean-home .tkg107-royal-heading{padding:23px 15px 17px}}

/* v109 season buttons */
.tkg51-action-links .tkg109-home-action{background:#edf5ef!important;color:#075e37!important;border:2px solid #075e37!important;font-weight:700!important;}

/* v118: continuous royal season carousel, before home action buttons */
body.tkg51-clean-home .tkg118-viewport{overflow:hidden;width:100%;margin:12px 0 4px}
body.tkg51-clean-home .tkg118-track{display:flex;width:max-content;gap:12px;animation:tkg118-marquee 110s linear infinite;will-change:transform}
body.tkg51-clean-home .tkg118-viewport:hover .tkg118-track,body.tkg51-clean-home .tkg118-viewport:focus-within .tkg118-track{animation-play-state:paused}
body.tkg51-clean-home .tkg118-tile{flex:0 0 auto;width:clamp(210px,27vw,360px);margin:0;background:#ffffff12;border-radius:9px;overflow:hidden;border:1px solid #c5a764}
body.tkg51-clean-home .tkg118-tile img{width:100%;height:clamp(165px,20vw,245px);object-fit:cover;display:block}
body.tkg51-clean-home .tkg118-tile figcaption{padding:7px;color:#fff;font-size:13px;font-weight:700}
body.tkg51-clean-home .tkg107-royal-heading p{max-width:960px;margin:0 auto!important;font-size:clamp(12px,1.3vw,16px)}
@keyframes tkg118-marquee{to{transform:translateX(calc(-50% - 6px))}}
@media(prefers-reduced-motion:reduce){body.tkg51-clean-home .tkg118-track{animation:none}body.tkg51-clean-home .tkg118-viewport{overflow-x:auto}}

/* v119: trophy emblem integrated into every real season photo; no duplicate year cards or album CTA. */
body.tkg51-clean-home .tkg119-tile{position:relative;border:1.5px solid #c9a65a;border-radius:14px;background:#07543b;}
body.tkg51-clean-home .tkg119-tile img{height:clamp(195px,23vw,285px);object-fit:cover;}
body.tkg51-clean-home .tkg119-photo-caption{display:flex;align-items:center;justify-content:center;gap:10px;min-height:55px;padding:9px 12px;background:linear-gradient(90deg,#0c6747,#064b36);color:#f9f4df;font-size:clamp(18px,2vw,25px);line-height:1.2;}
body.tkg51-clean-home .tkg119-photo-cup{font-size:clamp(22px,2.4vw,31px);line-height:1;}
body.tkg51-clean-home .tkg107-royal-heading{padding-bottom:24px;}
body.tkg51-clean-home .tkg107-brand-footer{padding:24px 0 8px;}
@media(max-width:650px){body.tkg51-clean-home .tkg119-tile{width:clamp(205px,66vw,310px)}body.tkg51-clean-home .tkg119-tile img{height:220px}body.tkg51-clean-home .tkg119-photo-caption{min-height:52px}}

/* v120: subtitle below gallery, above navigation; social links at the top. */
body.tkg51-clean-home .tkg53-subtitle{margin:24px auto 18px!important;max-width:800px!important;padding:0 12px!important}
.tkg120-social{display:flex!important;align-items:center!important;justify-content:flex-end!important;gap:10px!important;width:100%!important;padding:8px 16px 2px!important;box-sizing:border-box!important;position:relative!important;z-index:3!important}
.tkg120-social a{display:inline-flex!important;align-items:center!important;justify-content:center!important;min-width:34px!important;height:34px!important;border:1px solid #c8ded2!important;border-radius:18px!important;color:#075b39!important;background:#fff!important;text-decoration:none!important;font-family:Arial,sans-serif!important;font-weight:800!important;font-size:17px!important;line-height:1!important;padding:0 7px!important;box-sizing:border-box!important}
.tkg120-social a[aria-label="LINE OA"]{font-size:10px!important;background:#06c755!important;color:white!important;border-color:#06c755!important}
.tkg120-social a:focus-visible{outline:3px solid #0c7349!important;outline-offset:2px!important}
body.tkg51-clean-home .tkg54-sponsor-set{gap:44px!important;padding:0 22px!important}
body.tkg51-clean-home .tkg53-sponsors .tkg54-sponsor-set img{width:160px!important;height:76px!important;object-fit:contain!important}
@media(max-width:781px){.tkg120-social{gap:8px!important;padding:6px 12px 0!important}.tkg120-social a{min-width:32px!important;height:32px!important}body.tkg51-clean-home .tkg53-subtitle{margin:20px auto 14px!important}body.tkg51-clean-home .tkg53-sponsors .tkg54-sponsor-set img{width:125px!important;height:60px!important}body.tkg51-clean-home .tkg54-sponsor-set{gap:28px!important;padding:0 14px!important}}

/* v121: always-visible social toolbar, independent of the WordPress header. */
body.tkg51-clean-home .tkg121-social{display:flex!important;position:relative!important;z-index:100!important;visibility:visible!important;opacity:1!important;justify-content:flex-end!important;align-items:center!important;gap:12px!important;width:100%!important;min-height:46px!important;padding:7px 20px!important;margin:0!important;background:#fff!important;box-sizing:border-box!important}
body.tkg51-clean-home .tkg121-social a{display:inline-flex!important;align-items:center!important;justify-content:center!important;width:36px!important;height:36px!important;flex:none!important;border:1px solid #cbded3!important;border-radius:50%!important;background:#fff!important;color:#08633c!important;text-decoration:none!important;box-shadow:0 1px 4px #00000010!important}
body.tkg51-clean-home .tkg121-social a[aria-label="LINE OA"]{background:#06c755!important;color:#fff!important;border-color:#06c755!important;width:44px!important;border-radius:16px!important}
body.tkg51-clean-home .tkg121-line-mark{font:800 10px/1 Arial,sans-serif!important;letter-spacing:-.3px!important}
body.tkg51-clean-home .tkg121-social a:focus-visible{outline:3px solid #0a6b42!important;outline-offset:2px!important}
@media(max-width:781px){body.tkg51-clean-home .tkg121-social{padding:5px 14px!important;min-height:44px!important;gap:9px!important}}

/* v123: slower sponsor carousel for legibility. */
body.tkg51-clean-home .tkg54-sponsor-track{animation-duration:90s!important}

/* v127: consistent home action backgrounds and Live Scoring brand scale */
body.tkg51-clean-home .tkg51-action-links a,body.tkg51-clean-home .tkg51-action-links a.tkg109-home-action{background:#005e32!important;background-image:none!important;color:#fff!important;border:2px solid #005e32!important;}
header .tkg50-site-logo,.site-header .tkg50-site-logo,header .custom-logo,.site-header .custom-logo{width:120px!important;max-width:120px!important;height:auto!important;max-height:65px!important;object-fit:contain!important;}
body.tkg90-nav-hidden header .tkg90-language,body.tkg90-nav-hidden .site-header .tkg90-language{background:#fff!important;border:1px solid #c7d9cf!important;border-radius:12px!important;}
@media(max-width:390px){header .tkg50-site-logo,.site-header .tkg50-site-logo{width:108px!important;max-width:108px!important;}}

/* v134: mobile venue/weather layout and section spacing; scoped to homepage. */
body.tkg51-clean-home .tkg125-home-weather{box-sizing:border-box;max-width:100%;margin:0 auto 28px!important;clear:both}
body.tkg51-clean-home .tkg125-home-weather .tkg126-weather{box-sizing:border-box;max-width:100%;overflow-wrap:break-word;font-family:system-ui,-apple-system,"Noto Sans Thai",sans-serif}
body.tkg51-clean-home .tkg125-home-weather .tkg126-weather-head{display:flex;flex-direction:column;align-items:stretch;gap:12px}
body.tkg51-clean-home .tkg125-home-weather .tkg126-weather-head h3{font-size:clamp(19px,4.6vw,27px)!important;line-height:1.3!important;margin:0!important;font-weight:750!important}
body.tkg51-clean-home .tkg125-home-weather .tkg126-weather-head label{display:flex;align-items:center;gap:10px;flex-wrap:wrap;font-size:15px!important;font-weight:600}
body.tkg51-clean-home .tkg125-home-weather select.tkg126-event{min-width:0;max-width:100%;width:min(100%,420px);font-size:15px!important;padding:10px 12px!important}
body.tkg51-clean-home .tkg125-home-weather .tkg126-weather-status{font-size:15px!important;line-height:1.6!important;overflow-wrap:anywhere;margin:14px 0!important}
body.tkg51-clean-home .tkg125-home-weather .tkg126-weather-metrics{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px!important;margin:14px 0!important}
body.tkg51-clean-home .tkg125-home-weather .tkg126-weather-metrics[hidden]{display:none!important}
body.tkg51-clean-home .tkg125-home-weather .tkg126-metric{min-width:0;padding:14px!important;box-sizing:border-box}
body.tkg51-clean-home .tkg125-home-weather .tkg126-metric span{display:block;font-size:14px!important;line-height:1.35!important}
body.tkg51-clean-home .tkg125-home-weather .tkg126-metric strong{display:block;font-size:clamp(20px,5.5vw,28px)!important;line-height:1.4!important;margin-top:8px}
body.tkg51-clean-home .tkg125-home-weather .tkg126-lightning{font-size:14px!important;line-height:1.65!important;padding:14px!important;overflow-wrap:break-word}
body.tkg51-clean-home .tkg125-home-weather .tkg126-weather-link{display:inline-block;margin:14px 0!important;font-size:15px!important;line-height:1.5}
body.tkg51-clean-home .tkg125-home-weather small{display:block;font-size:12px!important;line-height:1.6!important}
body.tkg51-clean-home .tkg107-royal{margin-bottom:28px!important}
body.tkg51-clean-home .tkg125-scholarship{margin:0 0 28px!important;padding-top:0!important;padding-bottom:0!important;clear:both}
body.tkg51-clean-home .tkg125-gallery{margin:0 0 28px!important;padding-bottom:0!important}
body.tkg51-clean-home .tkg125-gallery h3{line-height:1.3!important;margin:0 0 10px!important}
body.tkg51-clean-home .tkg125-gallery p{line-height:1.5!important;margin:0 0 16px!important}
body.tkg51-clean-home .tkg53-subtitle{margin:28px auto 20px!important}
body.tkg51-clean-home .tkg51-home-actions{margin-bottom:28px!important}
body.tkg51-clean-home .tkg106-scholarship{margin-top:28px!important;clear:both}
@media(max-width:781px){
body.tkg51-clean-home .tkg125-home-weather{margin-bottom:24px!important}
body.tkg51-clean-home .tkg107-royal{margin-bottom:24px!important}
body.tkg51-clean-home .tkg125-scholarship{margin-bottom:24px!important}
body.tkg51-clean-home .tkg125-gallery{margin-bottom:24px!important}
body.tkg51-clean-home .tkg51-home-actions{min-height:0!important;padding:0 16px 0!important;margin:0 0 28px!important}
body.tkg51-clean-home .tkg51-action-links a{aspect-ratio:auto!important;min-height:108px!important;padding:14px 10px!important;font-size:clamp(14px,3.6vw,18px)!important}
body.tkg51-clean-home .tkg51-action-links{row-gap:12px!important}
body.tkg51-clean-home .tkg106-scholarship{margin-top:28px!important}
body.tkg51-clean-home .tkg106-scholarship-copy{padding:22px 18px!important;min-width:0}
body.tkg51-clean-home .tkg106-scholarship h2{font-size:clamp(25px,7vw,36px)!important;line-height:1.2!important;overflow-wrap:break-word}
}

/* v137 compact monitoring panel */
.tkg125-home-weather .tkg136-refresh-info{font-family:system-ui,-apple-system,'Noto Sans Thai',sans-serif;font-size:13px!important;line-height:1.45!important;margin-top:16px;padding:13px 14px;border:1px solid #cfe1d5;border-radius:12px;background:#fff;color:#28483a;overflow-wrap:anywhere}
.tkg136-refresh-info .tkg137-monitor-title{display:block;font-size:14px;font-weight:750;margin-bottom:9px;color:#005e32}
.tkg136-refresh-info .tkg137-monitor-row{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:8px;align-items:start;padding:6px 0;border-bottom:1px solid #edf2ee;font-size:12px!important;line-height:1.5!important}
.tkg136-refresh-info .tkg137-monitor-row span{color:#536a5c}
.tkg136-refresh-info .tkg137-monitor-row strong{font-size:12px!important;line-height:1.5!important;font-weight:650;text-align:right;color:#173e2a;overflow-wrap:anywhere}
.tkg136-refresh-info .tkg137-monitor-note{display:block;font-size:11px!important;line-height:1.5!important;color:#8a5b15;margin-top:9px}
@media(max-width:480px){.tkg125-home-weather .tkg136-refresh-info{padding:11px 12px;font-size:12px!important}.tkg136-refresh-info .tkg137-monitor-row{grid-template-columns:47% minmax(0,1fr);gap:7px}}

/* v138: weather bilingual and compact monitoring rows */
.tkg125-home-weather .tkg126-weather-status{line-height:1.5!important;font-size:clamp(13px,3.3vw,16px)!important}
.tkg125-home-weather .tkg126-weather-head h3{font-size:clamp(18px,4.6vw,23px)!important;line-height:1.3!important}
.tkg125-home-weather .tkg126-metric span{font-size:clamp(12px,3.1vw,15px)!important;line-height:1.35!important}
.tkg125-home-weather .tkg126-lightning{font-size:clamp(12px,3.2vw,15px)!important;line-height:1.55!important}
.tkg136-refresh-info .tkg137-monitor-row{grid-template-columns:minmax(0,1fr) minmax(0,1.15fr)!important}
