.legend img{height:13px;width:9px;object-fit:contain}.slot.block-slot:disabled{background:#eeebff;border:1px solid #ab9cff;color:#4936df;display:flex;align-items:center;justify-content:center;gap:6px;font-size:12px;line-height:1.4;font-weight:600;min-height:42px;white-space:normal;overflow-wrap:anywhere}.slot.block-slot img{width:14px;height:21px;object-fit:contain;flex-shrink:0}.slot.block-slot.event:disabled{background:#e4f2ff;border-color:#99c6f6;color:#196bb6}.slot.block-slot.maintenance:disabled{background:#fff0df;border-color:#eac492;color:#9a691c}#availability-status{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:13px;margin-bottom:14px;background:#edf5ff;color:#3d6896;font-size:13px;border-radius:5px}#availability-status.error{background:#fff0f2;color:#b5334e}#retry-availability{border:1px solid currentColor;padding:6px 10px;border-radius:4px;background:transparent;color:inherit;font:inherit;white-space:nowrap}@media(max-width:760px){.slot.block-slot:disabled{font-size:10px;gap:3px;flex-direction:column;padding:6px 3px;min-height:53px}.slot.block-slot img{width:10px;height:15px}.grid-info{flex-wrap:wrap}.schedule th span{display:block;overflow-wrap:anywhere}}

.event-details{display:block;font-size:11px;line-height:1.5;font-weight:500;margin-top:4px;white-space:normal;overflow-wrap:anywhere}.slot.block-slot:disabled{height:auto;min-height:60px;padding:8px 5px}.board-slot.blocked{height:auto;min-height:48px}.event-preview #preview-details:empty{display:none}

.slot.event-link{background:#eeebff;border:1px solid #ab9cff;color:#4936df;display:flex;align-items:center;justify-content:center;gap:6px;font-size:12px;line-height:1.4;font-weight:600;white-space:normal;overflow-wrap:anywhere;text-decoration:none;height:auto;min-height:60px;padding:8px 5px;box-sizing:border-box}.slot.event-link.event{background:#e4f2ff;border-color:#99c6f6;color:#196bb6}.slot.event-link.maintenance{background:#fff0df;border-color:#eac492;color:#9a691c}.slot.event-link:focus-visible{outline:3px solid #0755ce;outline-offset:2px}.event-link-hint{display:block;margin-top:4px;text-decoration:underline;font-size:10px}@media(max-width:760px){.slot.event-link{font-size:10px;flex-direction:column;padding:6px 3px}}

/* Keep every time slot uniform regardless of event title or metadata. */
.schedule tbody td{height:54px;box-sizing:border-box;vertical-align:middle}
.schedule .slot,.schedule .slot.block-slot:disabled,.schedule .slot.event-link{display:flex;flex-direction:row;align-items:center;justify-content:center;gap:6px;box-sizing:border-box;width:100%;height:44px;min-height:44px;max-height:44px;margin:0;padding:6px 8px;overflow:hidden;white-space:nowrap;line-height:1.3;font-size:12px;transform:none}
.schedule .slot-label{display:block;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.schedule .slot.block-slot img{width:12px;height:18px;flex:0 0 12px}
.schedule .slot-arrow{flex:0 0 auto;font-size:13px}
@media(max-width:760px){.schedule tbody td{height:52px}.schedule .slot,.schedule .slot.block-slot:disabled,.schedule .slot.event-link{padding:6px 4px;gap:3px;font-size:10px}.schedule .slot.block-slot img{width:10px;height:15px;flex-basis:10px}}

/* Native horizontal date browsing supports touch, trackpad and keyboard focus. */
#week{display:flex;gap:9px;overflow-x:auto;overflow-y:hidden;scroll-snap-type:x proximity;overscroll-behavior-x:contain;padding:4px 0 10px;scrollbar-width:thin;scrollbar-color:#c4d1e5 transparent;-webkit-overflow-scrolling:touch}
#week .day{flex:0 0 calc((100% - 54px)/7);min-width:0;scroll-snap-align:start}
.date-swipe-hint{font-size:11px;color:var(--muted);margin:5px 0 0;text-align:right}
@media(max-width:760px){#week{gap:5px}#week .day{flex-basis:calc((100% - 20px)/5)}}

.social-contact{max-width:1236px;margin:0 auto;padding:22px 24px 32px;display:flex;align-items:center;justify-content:center;gap:20px;color:var(--ink)}.social-contact>span{font-size:14px;font-weight:600}.social-buttons{display:flex;gap:12px;flex-wrap:wrap}.social-button{display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:46px;padding:10px 20px;border-radius:8px;color:#fff;font-weight:700;font-size:14px}.social-line{background:#067d36}.social-facebook{background:#0866db}.social-icon{display:grid;place-items:center;width:28px;height:26px;background:#fff;color:inherit;border-radius:6px;font-size:9px;font-weight:800}.social-line .social-icon{color:#067d36}.social-facebook .social-icon{color:#0866db;font-size:25px;font-family:Arial,sans-serif}.social-contact:not(:has(a[href])){display:none}@media(max-width:760px){.social-contact{flex-direction:column;gap:12px;padding:24px 18px 30px}.social-buttons{width:100%;flex-wrap:nowrap}.social-button{flex:1;padding:10px 12px}}

.schedule .slot.tournament{background:#fff;border-color:#86cfe3;color:#07618c}.schedule .slot.block-slot img.tournament-logo{width:76px;height:34px;flex:0 1 76px;object-fit:contain;max-width:100%}.schedule .slot.tournament .slot-label:empty{display:none}@media(max-width:760px){.schedule .slot.block-slot img.tournament-logo{width:60px;flex-basis:60px;height:32px}}

.schedule .slot.block-slot.lesson:disabled{background:#fff0f0;color:#a51d2d;border-color:#e99ba4;opacity:1}.schedule .slot.block-slot img.lesson-avatar{height:26px;width:26px;flex:0 0 26px;object-fit:cover;border-radius:50%}@media(max-width:760px){.schedule .slot.block-slot img.lesson-avatar{height:18px;width:18px;flex-basis:18px}}

.schedule .slot.block-slot.lesson{background:#fff0f0;color:#a51d2d;border:1px solid #e99ba4;cursor:pointer}.schedule .slot.lesson:focus-visible{outline:3px solid #a51d2d;outline-offset:2px}#coach-profile{padding:0;width:min(560px,calc(100% - 28px));max-height:90dvh;overflow:auto;border-radius:20px;background:#fff;color:#15364e}#close-coach-profile{position:absolute;right:14px;top:12px;width:36px;height:36px;border:0;border-radius:50%;background:#ffffffed;color:#24435d;font-size:26px;z-index:1}.profile-hero{padding:38px 28px 26px;background:linear-gradient(130deg,#e9f1ff,#e4f6f5);display:flex;align-items:center;gap:22px}.profile-hero img{width:132px;height:156px;object-fit:cover;border-radius:14px;flex-shrink:0}.profile-kicker{font-size:10px;letter-spacing:2px;color:#52769a;font-weight:700}#coach-profile h2{font-size:28px;overflow-wrap:anywhere;margin:8px 0 12px}#profile-rate{font-size:13px;color:#346186}.profile-content{padding:8px 28px 26px}.profile-content section{padding:20px 0;border-bottom:1px solid #e7edf4}.profile-content h3{font-size:16px;color:#1557ac;margin-bottom:10px}.profile-content p{white-space:pre-line;overflow-wrap:anywhere;line-height:1.8;font-size:14px;margin:0;color:#456078}.profile-content .profile-booking-note{font-size:11px;padding-top:18px;color:#7b8b9e}@media(max-width:480px){.profile-hero{padding:42px 20px 22px;gap:16px}.profile-hero img{width:96px;height:120px}#coach-profile h2{font-size:23px}.profile-content{padding:6px 20px 22px}}

.coach-page-link{border:1px solid #b8cdec;border-radius:7px;padding:8px 12px;color:#1558b3;background:#edf4ff;font-weight:600;white-space:nowrap}

.social-buttons{display:grid;grid-template-columns:repeat(3,minmax(0,1fr))}.social-reclub{background:#fff;border:1px solid #b8cdec;color:#0866db}.social-reclub img{width:92px;height:26px;object-fit:contain}.social-button{min-width:150px}@media(max-width:760px){.social-button{min-width:0;padding:10px 8px;gap:6px}}@media(max-width:440px){.social-buttons{grid-template-columns:1fr}.social-button{min-height:46px}}
/* Customer Google sign-in */
.customer-social{padding-bottom:18px;margin-bottom:20px;border-bottom:1px solid #dadce0}.google-signin{display:flex;align-items:center;justify-content:center;gap:12px;background:#fff;border:1px solid #747775;border-radius:6px;color:#1f1f1f;width:100%;min-height:48px;padding:12px;font:500 16px 'Noto Sans Thai',Arial,sans-serif;cursor:pointer}.google-signin img{width:20px;height:20px;object-fit:contain;flex-shrink:0}.google-signin:focus-visible{outline:3px solid #a8c7fa;outline-offset:2px}.customer-social [hidden]{display:none}.customer-social p{font-size:13px;line-height:1.6;margin:10px 0;color:#62758c}.customer-social #customer-logout{background:none;border:0;color:#185abc;text-decoration:underline;padding:0;font:inherit;cursor:pointer}
.slot.booking{background:#fff0e1;border:1px solid #edcba4;color:#79501d}.payment-card{background:white;border:1px solid #dce5f0;border-radius:12px;padding:20px;margin:14px 0}.payment-card button{margin:4px}#payment-dialog{max-height:92vh;overflow:auto}#payment-dialog [hidden]{display:none}#payment-details{overflow-wrap:anywhere}#payment-qr{display:grid;justify-items:center;gap:12px;margin:16px 0}#payment-qr img{max-width:100%;height:auto}#payment-dialog input{max-width:100%}#payment-dialog a{display:block;margin:16px 0}#payment-dialog .secondary,#review .secondary{margin-top:12px}#payment-notice{background:#eef4ff;padding:12px;line-height:1.7}#payment-error{color:#a42424}#last-payment{width:100%;margin-top:10px}

.transfer-status{display:flex;flex-wrap:wrap;gap:8px 14px;align-items:center;background:#f0f3f7;border:1px solid #d5dde8;border-radius:8px;padding:12px 14px;font-size:14px}.transfer-status span{color:#52677d}.transfer-status.verified{background:#e8f7ee;border-color:#a3d5b6;color:#126338}.transfer-status.review{background:#fff6df;border-color:#e7ce89;color:#815900}.transfer-status.rejected{background:#fff0f0;border-color:#e8bbbb;color:#a02727}
.line-signin{display:flex;align-items:center;justify-content:center;gap:10px;background:#06c755;border:0;border-radius:6px;color:#fff;width:100%;min-height:48px;padding:12px;margin:0 0 10px;font:600 16px 'Noto Sans Thai',Arial,sans-serif;cursor:pointer}.line-signin:hover{background:#05b34c}.line-signin:focus-visible{outline:3px solid #0b2a5b;outline-offset:2px}.line-signin[hidden]{display:none}
