/* Chelsea Thai FC — public site shared styles (extracted v10.6) */
body { font-family: 'Noto Sans Thai', -apple-system, sans-serif; background: #eef2f8; }

        /* ===== แถบบนสุด ===== */
        .pub-top {
            position: absolute; top: 0; left: 0; right: 0; z-index: 10;
            display: flex; align-items: center; justify-content: space-between;
            max-width: 1120px; margin: 0 auto; padding: 16px 20px;
        }
        .pub-top .brand { display: flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; font-weight: 800; font-size: 17px; }
        .pub-top .brand .b-badge { width: 42px; height: 42px; background: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center; box-shadow: 0 3px 12px rgba(0,0,0,.35); }
        .pub-top .brand small { display: block; font-size: 10.5px; font-weight: 600; color: #ffd867; letter-spacing: .6px; line-height: 1.1; }
        .pub-top .login-mini {
            color: #fff; text-decoration: none; font-weight: 700; font-size: 13.5px;
            border: 1.5px solid rgba(255,255,255,.55); border-radius: 999px; padding: 9px 18px;
            background: rgba(255,255,255,.08); backdrop-filter: blur(6px);
        }

        /* ===== Hero ===== */
        .hero2 {
            position: relative; color: #fff; overflow: hidden;
            background:
                linear-gradient(180deg, rgba(2,28,58,.45) 0%, rgba(2,24,52,.62) 45%, rgba(2,18,42,.96) 100%)
                <?= $hero_img ? ', url(\'' . h($hero_img) . '\') center 30% / cover no-repeat' : ', linear-gradient(150deg, #04549e 0%, #022e63 60%, #041f42 100%)' ?>;
            padding: 118px 20px 0; text-align: center;
        }
        .hero2::after {
            content: ''; position: absolute; top: 0; left: 0; right: 0; height: 5px;
            background: linear-gradient(90deg, #ed1c24 0 20%, #fff 20% 40%, #241d4f 40% 60%, #fff 60% 80%, #ed1c24 80% 100%);
        }
        .hero2 .kicker {
            display: inline-block; font-size: 12px; font-weight: 800; letter-spacing: 2.5px;
            color: #ffd867; text-transform: uppercase; margin-bottom: 10px;
        }
        .hero2 h1 { margin: 0 0 10px; font-size: clamp(34px, 6vw, 56px); font-weight: 900; line-height: 1.05; text-shadow: 0 3px 18px rgba(0,0,0,.45); }
        .hero2 h1 .fc { color: #ffd867; }
        .hero2 .tag { margin: 0 auto 24px; max-width: 620px; color: #dbe7f7; font-size: 15.5px; line-height: 1.75; text-shadow: 0 1px 8px rgba(0,0,0,.5); }
        .hero2 .cta-row { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-bottom: 40px; }
        .btn-hero { display: inline-block; padding: 14px 30px; border-radius: 999px; font-weight: 800; text-decoration: none; font-size: 15.5px; transition: transform .15s ease; }
        .btn-hero:hover { transform: translateY(-2px); }
        .btn-join { background: linear-gradient(135deg, #ffd867, #d4af37); color: #2a2000; box-shadow: 0 8px 24px rgba(212,175,55,.4); }
        .btn-login2 { background: rgba(255,255,255,.12); color: #fff; border: 1.5px solid rgba(255,255,255,.55); backdrop-filter: blur(6px); }

        /* สถิติแก้วใส ท้าย hero */
        .hero-stats {
            position: relative; z-index: 2; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px;
            max-width: 720px; margin: 0 auto; transform: translateY(50%);
        }
        .hero-stats .hs {
            background: #fff; border-radius: 16px; padding: 18px 10px 14px;
            box-shadow: 0 14px 40px rgba(2,30,66,.22); text-align: center;
        }
        .hero-stats .hs .n { font-size: 30px; font-weight: 900; color: #034694; line-height: 1.1; }
        .hero-stats .hs .n.gold { color: #b8912b; }
        .hero-stats .hs .l { font-size: 12.5px; color: #64748b; font-weight: 600; margin-top: 2px; }

        .pub-container { max-width: 1120px; margin: 0 auto; padding: 90px 20px 0; }

        .sec-head { text-align: center; margin: 44px 0 22px; }
        .sec-head h2 { font-size: 26px; font-weight: 900; color: #0b2549; margin: 0 0 6px; }
        .sec-head h2 .em { color: #034694; }
        .sec-head::after { content: ''; display: block; width: 56px; height: 4px; border-radius: 2px; background: linear-gradient(90deg, #034694, #d4af37); margin: 12px auto 0; }
        .sec-head p { color: #64748b; font-size: 13.5px; margin: 0; }

        /* นัดถัดไป */
        .match-card {
            background: linear-gradient(135deg, #034694 0%, #022e63 100%); color: #fff;
            border-radius: 20px; padding: 28px 26px; box-shadow: 0 18px 50px rgba(3,70,148,.35);
            display: grid; grid-template-columns: 1fr; gap: 18px;
        }
        @media (min-width: 720px) { .match-card { grid-template-columns: 1.4fr 1fr; align-items: center; } }
        .match-card .type-chip { display: inline-block; background: rgba(255,216,103,.18); color: #ffd867; border: 1px solid rgba(255,216,103,.5); border-radius: 999px; padding: 4px 14px; font-size: 12.5px; font-weight: 800; }
        .match-card .md { font-size: clamp(20px, 3vw, 27px); font-weight: 900; margin: 12px 0 4px; }
        .match-card .ml { color: #b9cce6; font-size: 14px; }
        .match-card .vs { font-size: 17px; font-weight: 800; color: #ffd867; margin-top: 6px; }
        .signup-box { background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.18); border-radius: 16px; padding: 16px 18px; backdrop-filter: blur(4px); }
        .signup-box .cnt { font-size: 30px; font-weight: 900; }
        .signup-box .cnt small { font-size: 15px; font-weight: 600; color: #b9cce6; }
        .pbar { height: 8px; background: rgba(255,255,255,.2); border-radius: 999px; margin: 10px 0 12px; overflow: hidden; }
        .pbar span { display: block; height: 100%; border-radius: 999px; background: linear-gradient(90deg, #ffd867, #d4af37); }
        .btn-white { display: block; text-align: center; background: #fff; color: #034694; font-weight: 800; border-radius: 12px; padding: 12px; text-decoration: none; }

        /* ชิปคนลงชื่อ + ประกาศทีม */
        .np-chips { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 10px; }
        .np-chip { display: inline-flex; align-items: center; gap: 6px; background: rgba(255,255,255,.13); border: 1px solid rgba(255,255,255,.25); border-radius: 999px; padding: 4px 12px 4px 4px; font-size: 13px; font-weight: 700; color: #fff; }
        .np-chip img, .np-chip .ini { width: 26px; height: 26px; border-radius: 50%; object-fit: cover; background: #fff; color: #034694; display: inline-flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 900; }
        .ann-grid { display: grid; grid-template-columns: 1fr; gap: 12px; }
        @media (min-width: 720px) { .ann-grid { grid-template-columns: repeat(2, 1fr); } }
        .ann-team { background: #fff; border-radius: 18px; padding: 18px; box-shadow: 0 10px 30px rgba(2,30,66,.08); border-top: 4px solid #034694; }
        .ann-team h3 { margin: 0 0 10px; font-size: 18px; font-weight: 900; color: #0b2549; }
        .ann-team .mrow { display: flex; align-items: center; gap: 8px; padding: 5px 0; border-top: 1px dashed #edf1f7; font-weight: 700; color: #2b3b52; font-size: 14.5px; }
        .ann-team .mrow img, .ann-team .mrow .ini { width: 30px; height: 30px; border-radius: 50%; object-fit: cover; background: #e8f0fa; color: #034694; display: inline-flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 900; }

        /* MOTM */
        .motm2 {
            background: #fff; border-radius: 20px; padding: 30px 24px; text-align: center;
            box-shadow: 0 12px 36px rgba(2,30,66,.1); position: relative; overflow: hidden;
        }
        .motm2::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 5px; background: linear-gradient(90deg, #d4af37, #ffd867, #d4af37); }
        .motm2 .ring {
            width: 128px; height: 128px; margin: 6px auto 12px; border-radius: 50%; padding: 5px;
            background: conic-gradient(#d4af37, #ffd867, #d4af37, #ffd867, #d4af37);
        }
        .motm2 .ring .inner { width: 100%; height: 100%; border-radius: 50%; overflow: hidden; background: #e8f0fa; display: flex; align-items: center; justify-content: center; font-size: 44px; font-weight: 900; color: #034694; }
        .motm2 .ring img { width: 100%; height: 100%; object-fit: cover; }
        .motm2 h3 { margin: 4px 0 4px; font-size: 23px; font-weight: 900; color: #0b2549; }
        .motm2 .star-chip { display: inline-block; background: #fdf3d7; color: #8a6d1d; font-weight: 800; font-size: 12.5px; border-radius: 999px; padding: 4px 14px; }

        /* โพเดียม Player of the Day (v10.2: กึ่งกลาง ไม่ล้นขวา ทับพองาม อันดับ 2=3 เท่ากัน มีแค่ 1 ใหญ่) */
        .podium { display: flex; align-items: flex-end; justify-content: center; gap: 0; padding: 10px 0 4px; }
        .pod { text-align: center; }
        .pod .trophy { font-size: 34px; line-height: 1; }
        .podium .fcard { width: 120px; padding-bottom: 14px; }
        .podium .fcard.fc-sm { transform: none; margin-bottom: 0; }
        .podium .fcard .fc-photo { height: 80px; }
        .podium .fcard .fc-initial { font-size: 38px; }
        .podium .fcard .fc-ovr { font-size: 20px; } .podium .fcard .fc-pos { font-size: 10px; }
        .podium .fcard .fc-club { font-size: 8px; padding: 1px 4px; margin-top: 3px; }
        .podium .fcard .fc-name { font-size: 12px; margin: 5px 8px; padding: 2px 0 5px; }
        .podium .fcard .fc-stats { font-size: 10px; gap: 3px 8px; padding: 0 9px; } .podium .fcard .fc-stats b { font-size: 10.5px; margin-right: 3px; }
        .pod.p1 { z-index: 3; }
        .pod.p1 .fcard { width: 144px; filter: drop-shadow(0 12px 22px rgba(2,20,50,.42)); }
        .pod.p1 .fcard .fc-photo { height: 100px; } .pod.p1 .fcard .fc-ovr { font-size: 25px; } .pod.p1 .fcard .fc-initial { font-size: 48px; } .pod.p1 .fcard .fc-name { font-size: 14px; } .pod.p1 .fcard .fc-stats { font-size: 11px; }
        .pod.p2 .fcard, .pod.p3 .fcard { filter: drop-shadow(0 3px 6px rgba(2,20,50,.14)); }
        .pod.p2 { z-index: 2; margin-right: -14px; margin-bottom: 8px; } .pod.p3 { z-index: 1; margin-left: -14px; margin-bottom: 8px; }
        .pod .pn { font-weight: 900; color: #0b2549; font-size: 15px; } .pod.p1 .pn { font-size: 18px; }
        .pod .potd-chip { display: inline-block; margin-top: 6px; background: linear-gradient(135deg, #ffd867, #d4af37); color: #2a2000; font-weight: 900; font-size: 12px; border-radius: 999px; padding: 4px 14px; box-shadow: 0 6px 16px rgba(212,175,55,.4); }
        .pod .rank-chip { display: inline-block; margin-top: 6px; background: #e8f0fa; color: #034694; font-weight: 800; font-size: 12px; border-radius: 999px; padding: 3px 12px; }

        /* ท็อปประจำเดือน */
        .mtops { display: grid; grid-template-columns: 1fr; gap: 12px; }
        @media (min-width: 720px) { .mtops { grid-template-columns: repeat(3, 1fr); } }
        .mtop { background: #fff; border-radius: 18px; padding: 18px; text-align: center; box-shadow: 0 10px 30px rgba(2,30,66,.08); }
        .mtop .mt-label { font-size: 13px; font-weight: 800; color: #64748b; margin-bottom: 10px; }
        .mtop .mring { width: 84px; height: 84px; border-radius: 50%; overflow: hidden; margin: 0 auto 8px; background: #e8f0fa; display: flex; align-items: center; justify-content: center; font-weight: 900; font-size: 30px; color: #034694; border: 3px solid #034694; }
        .mtop .mring img { width: 100%; height: 100%; object-fit: cover; }
        .mtop .mn { font-weight: 900; color: #0b2549; }
        .mtop .mv { color: #b8912b; font-weight: 900; font-size: 14px; }
        .mtop .none { color: #a5b2c4; font-size: 13px; padding: 18px 0; }

        /* โปรแกรม */
        .fixture { background: #fff; border-radius: 18px; box-shadow: 0 10px 30px rgba(2,30,66,.08); overflow: hidden; }
        .fixture .frow { display: flex; align-items: center; gap: 14px; padding: 15px 20px; border-bottom: 1px solid #edf1f7; }
        .fixture .frow:last-child { border-bottom: 0; }
        .fixture .fdate { min-width: 54px; text-align: center; background: #e8f0fa; border-radius: 12px; padding: 7px 6px; }
        .fixture .fdate .d { font-size: 19px; font-weight: 900; color: #034694; line-height: 1; }
        .fixture .fdate .m { font-size: 11px; font-weight: 700; color: #64748b; }
        .fixture .fmain { flex: 1; min-width: 0; }
        .fixture .fmain .t { font-weight: 800; color: #0b2549; font-size: 14.5px; }
        .fixture .fmain .s { font-size: 12.5px; color: #64748b; }
        .fixture .fq { font-size: 13px; font-weight: 800; color: #034694; white-space: nowrap; }

        /* เซกชันโค้ช */
        .coach-sec {
            background: #fff; border-radius: 22px; overflow: hidden;
            box-shadow: 0 14px 40px rgba(2,30,66,.1);
            display: grid; grid-template-columns: 1fr;
        }
        @media (min-width: 760px) { .coach-sec { grid-template-columns: 1fr 1.35fr; } }
        .coach-photo {
            min-height: 300px; background: linear-gradient(160deg, #04549e, #022e63);
            display: flex; align-items: center; justify-content: center; position: relative;
        }
        .coach-photo img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
        .coach-photo .ph { color: #cfe0f5; text-align: center; padding: 30px; font-size: 14px; }
        .coach-photo .ph .big { font-size: 64px; display: block; margin-bottom: 8px; }
        .coach-body { padding: 30px 28px; }
        .coach-body .fa-badge {
            display: inline-flex; align-items: center; gap: 8px;
            background: linear-gradient(135deg, #ffd867, #d4af37); color: #2a2000;
            font-weight: 900; font-size: 13px; border-radius: 999px; padding: 7px 16px;
            box-shadow: 0 6px 18px rgba(212,175,55,.35); margin-bottom: 12px;
        }
        .coach-body h3 { margin: 0 0 8px; font-size: 27px; font-weight: 900; color: #0b2549; }
        .coach-body p.lead { color: #45566e; font-size: 15px; line-height: 1.9; margin: 0 0 16px; }
        .coach-points { list-style: none; margin: 0; padding: 0; }
        .coach-points li {
            display: flex; gap: 10px; align-items: flex-start;
            padding: 9px 0; border-top: 1px dashed #e3eaf4; font-size: 14.5px; color: #2b3b52; font-weight: 600;
        }
        .coach-points li .ic { flex-shrink: 0; }

        /* ฟอร์มสมัคร */
        .join-wrap {
            background: linear-gradient(150deg, #04549e 0%, #022e63 75%), #022e63;
            border-radius: 22px; padding: 34px 24px; color: #fff; box-shadow: 0 18px 50px rgba(3,70,148,.35);
        }
        .join-wrap h2 { text-align: center; font-size: 25px; font-weight: 900; margin: 0 0 4px; }
        .join-wrap .sub { text-align: center; color: #b9cce6; font-size: 13.5px; margin: 0 0 20px; }
        .join-wrap label.small { color: #cfe0f5; }
        .join-wrap input, .join-wrap select { border: 0; }
        .join-wrap button[type=submit] { background: linear-gradient(135deg, #ffd867, #d4af37); color: #2a2000; font-weight: 900; font-size: 16px; }

        /* สามเหลี่ยมทองคำ */
        .tri-zone { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; max-width: 1160px; margin: 48px auto; padding: 0 20px; }
        .tri-half { position: relative; min-height: 300px; display: flex; align-items: center; overflow: hidden; border-radius: 22px; box-shadow: 0 18px 44px rgba(2,20,50,.28); }
        .tri-half .bgimg { position: absolute; inset: 0; background-size: cover; background-position: center; }
        .tri-half .lines { position: absolute; inset: 0; opacity: .16; background-image: repeating-linear-gradient(45deg, #fff 0, #fff 2px, transparent 2px, transparent 16px); }
        .tri-half .ovl { position: absolute; inset: 0; }
        .tri-left .ovl { background: rgba(3,70,148,.82); }
        .tri-right .ovl { background: rgba(0,18,51,.85); }
        .tri-half .inner { position: relative; padding: 46px 40px; color: #fff; width: 100%; }
        .tri-tag { display: inline-block; font-size: 12px; letter-spacing: 2.5px; font-weight: 700; background: rgba(255,255,255,.15); border: 1px solid rgba(255,255,255,.35); border-radius: 999px; padding: 5px 16px; }
        .tri-half h2 { font-family: 'Kanit', 'Noto Sans Thai', sans-serif; font-weight: 800; font-size: 27px; line-height: 1.3; margin: 15px 0 8px; }
        .tri-sub { font-size: 14px; margin: 0 0 18px; }
        .tri-left .tri-sub { color: #cfe0f5; }
        .tri-right .tri-sub { color: #bcc9de; }
        .tri-btn { display: inline-block; background: #fff; font-family: 'Kanit', 'Noto Sans Thai', sans-serif; font-weight: 700; font-size: 16px; border-radius: 12px; padding: 11px 30px; text-decoration: none; }
        .tri-left .tri-btn { color: #034694; }
        .tri-right .tri-btn { color: #001233; }
        .tri-url { font-size: 12px; margin-top: 9px; }
        .tri-left .tri-url { color: #9db8dd; }
        .tri-right .tri-url { color: #8fa2c2; }
        @media (max-width: 760px) {
            .tri-zone { grid-template-columns: 1fr; }
            .tri-half { min-height: 0; }
            .tri-half .inner { padding: 32px 22px; max-width: none; }
            .tri-half h2 { font-size: 21px; }
        }

        footer.site-footer2 {
            background: #04122a; color: #8fa6c6; text-align: center;
            padding: 30px 16px calc(30px + env(safe-area-inset-bottom)); margin-top: 0; font-size: 13px; line-height: 2;
        }
        footer.site-footer2 a { color: #dbe7f7; }
