.thbc-wrap{max-width:1180px;margin:24px auto;font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#1f2937;box-sizing:border-box}
.thbc-card{background:#fff;border:1px solid #e5e7eb;border-radius:18px;padding:20px;margin:18px 0;box-shadow:0 12px 28px rgba(15,23,42,.07);box-sizing:border-box}
.thbc-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:18px}
.thbc-form{display:flex;flex-direction:column;gap:12px}
.thbc-form h3,.thbc-card h3{margin:0 0 10px}
.thbc-form label{font-weight:700;font-size:14px}
.thbc-form input{width:100%;box-sizing:border-box;margin-top:6px;border:1px solid #d1d5db;border-radius:12px;padding:12px;font-size:15px}
.thbc-check{display:flex;gap:10px;align-items:flex-start;font-weight:400!important}
.thbc-check input{width:auto;margin-top:3px}
.thbc-button{border:0;background:#1f1f1f;color:#fff;border-radius:12px;padding:12px 18px;font-weight:900;letter-spacing:.04em;text-transform:uppercase;cursor:pointer;text-decoration:none;display:inline-flex;align-items:center;justify-content:center;gap:6px}
.thbc-button:hover{background:#000;color:#fff}
.thbc-button:disabled{opacity:.65;cursor:not-allowed}
.thbc-button-light{background:#e5e7eb;color:#111827;text-transform:none;letter-spacing:0}
.thbc-button-light:hover{background:#d1d5db;color:#111827}
.thbc-button-small{padding:7px 10px;border-radius:8px;font-size:13px}
.thbc-button-predict{width:100%;min-height:48px}
.thbc-table-scroll{overflow-x:auto}
.thbc-table{width:100%;border-collapse:collapse;font-size:14px}
.thbc-table th,.thbc-table td{border-bottom:1px solid #e5e7eb;padding:10px;text-align:left;vertical-align:middle}
.thbc-table th{background:#f9fafb;font-weight:800}
.thbc-lock,.thbc-closed{display:inline-block;font-size:12px;border-radius:999px;padding:5px 10px;background:#f3f4f6;color:#374151;font-weight:800}
.thbc-lock{background:#ecfdf5;color:#047857}
.thbc-closed{background:#fef3c7;color:#92400e}
.thbc-user-box{display:flex;align-items:center;justify-content:space-between;gap:14px}
.thbc-alert{border-radius:12px;padding:12px 14px;margin:16px 0;font-weight:800}
.thbc-alert-success{background:#ecfdf5;color:#065f46;border:1px solid #a7f3d0}
.thbc-alert-error{background:#fef2f2;color:#991b1b;border:1px solid #fecaca}
.thbc-rules{font-size:13px;color:#4b5563}
.thbc-games-wrap{overflow:hidden}
.thbc-section-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;border-bottom:3px solid #fb923c;padding-bottom:14px;margin-bottom:18px}
.thbc-section-head h3{font-size:26px;line-height:1.1;margin:0;color:#1f2937}
.thbc-section-head p{margin:7px 0 0;color:#6b7280}
.thbc-section-head>span{font-size:12px;font-weight:900;color:#fb923c;text-transform:uppercase;letter-spacing:.08em;white-space:nowrap;margin-top:8px}
.thbc-global-message{display:none;margin:12px 0;border-radius:12px;padding:12px 14px;font-weight:800}
.thbc-global-message.thbc-show{display:block}
.thbc-global-message.thbc-success{background:#ecfdf5;color:#065f46;border:1px solid #a7f3d0}
.thbc-global-message.thbc-error{background:#fef2f2;color:#991b1b;border:1px solid #fecaca}
.thbc-game-block{margin:24px 0}
.thbc-block-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px}
.thbc-block-head h4{margin:0;font-size:18px;text-transform:uppercase;letter-spacing:.04em;color:#111827}
.thbc-block-head span{font-size:12px;font-weight:900;color:#fb923c;border:1px solid #fed7aa;border-radius:999px;padding:5px 10px;background:#fff7ed}
.thbc-match-row{display:flex;gap:18px;overflow-x:auto;scroll-snap-type:x mandatory;padding:6px 4px 18px;margin:0 -4px}
.thbc-match-row::-webkit-scrollbar{height:9px}
.thbc-match-row::-webkit-scrollbar-track{background:#f3f4f6;border-radius:999px}
.thbc-match-row::-webkit-scrollbar-thumb{background:#fb923c;border-radius:999px}
.thbc-match-card{position:relative;flex:0 0 315px;scroll-snap-align:start;background:#fff;border:1px solid #d1d5db;border-radius:20px;padding:26px 18px 18px;box-shadow:0 8px 18px rgba(15,23,42,.12);min-height:330px;display:flex;flex-direction:column;gap:13px}
.thbc-match-tag{position:absolute;top:-1px;right:-1px;background:#1f1f1f;color:#fff;border-radius:0 18px 0 14px;padding:10px 16px;text-transform:uppercase;font-size:12px;font-weight:900;letter-spacing:.05em}
.thbc-match-date{text-align:center;font-size:21px;font-weight:950;color:#1f2937;margin-top:4px}
.thbc-match-number{text-align:center;font-size:12px;color:#9ca3af;font-weight:800;text-transform:uppercase}
.thbc-match-teams{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:10px;margin-top:4px}
.thbc-team{display:flex;flex-direction:column;align-items:center;text-align:center;gap:8px;min-width:0}
.thbc-team-badge{width:76px;height:52px;display:inline-flex;align-items:center;justify-content:center;border-radius:6px;background:#f8fafc;border:1px solid #d1d5db;box-shadow:0 7px 14px rgba(15,23,42,.22);font-weight:950;color:#1e3a8a;overflow:hidden}.thbc-team-flag{font-family:"Apple Color Emoji","Segoe UI Emoji","Noto Color Emoji",sans-serif;font-size:43px;line-height:1}.thbc-team-badge-text{font-size:16px;letter-spacing:.04em;background:linear-gradient(135deg,#eff6ff,#dbeafe);border-color:#bfdbfe;box-shadow:0 6px 12px rgba(30,64,175,.18)}
.thbc-team strong{font-size:14px;line-height:1.15;text-transform:uppercase;color:#2b2b2b}
.thbc-vs{font-weight:950;font-size:24px;color:#1f1f1f}
.thbc-match-info{display:flex;flex-direction:column;gap:4px;text-align:center;color:#6b7280;font-size:12px;line-height:1.25;min-height:48px}
.thbc-result-row{text-align:center;font-size:13px;background:#f9fafb;border:1px solid #e5e7eb;border-radius:12px;padding:8px;color:#4b5563}
.thbc-prediction-zone{margin-top:auto}
.thbc-predict-form{display:flex;flex-direction:column;gap:10px;margin:0}
.thbc-score-fields{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:8px}
.thbc-score-fields input{width:100%;border:1px solid #d1d5db;border-radius:12px;padding:11px;text-align:center;font-size:18px;font-weight:900}
.thbc-score-fields span{font-weight:950;font-size:18px;color:#111827}
.thbc-form-message{font-size:13px;font-weight:800;text-align:center;min-height:18px}
.thbc-form-message.thbc-success{color:#047857}
.thbc-form-message.thbc-error{color:#b91c1c}
.thbc-prediction-locked{display:flex;align-items:center;justify-content:space-between;gap:10px;background:#ecfdf5;color:#065f46;border:1px solid #a7f3d0;border-radius:14px;padding:12px 14px;font-weight:900}
.thbc-prediction-locked strong{font-size:22px}
.thbc-prediction-locked span{text-transform:uppercase;font-size:12px;letter-spacing:.05em}
.thbc-card-points{text-align:center;background:#fff7ed;color:#9a3412;border:1px solid #fed7aa;border-radius:12px;padding:8px;font-weight:800}
.thbc-empty{background:#f9fafb;border:1px dashed #d1d5db;border-radius:14px;padding:20px;text-align:center;color:#6b7280;font-weight:800}
@media(max-width:900px){.thbc-wrap{max-width:100%;padding:0 14px}.thbc-section-head{flex-direction:column}.thbc-section-head>span{white-space:normal}.thbc-match-card{flex-basis:300px}}@media(max-width:700px){.thbc-wrap{margin:12px auto;padding:0 10px}.thbc-user-box{align-items:flex-start;flex-direction:column}.thbc-table th,.thbc-table td{padding:8px}.thbc-card{padding:14px;border-radius:16px}.thbc-grid{grid-template-columns:1fr}.thbc-section-head h3{font-size:22px}.thbc-match-row{display:grid;grid-template-columns:1fr;overflow:visible;scroll-snap-type:none;padding:0;margin:0;gap:14px}.thbc-match-card{width:100%;flex-basis:auto;min-height:0;padding:24px 14px 16px}.thbc-match-date{font-size:18px}.thbc-team-badge{width:62px;height:44px}.thbc-team-flag{font-size:36px}.thbc-vs{font-size:20px}.thbc-team strong{font-size:13px}.thbc-score-fields input{font-size:16px;padding:10px}.thbc-button-predict{min-height:46px}.thbc-block-head{align-items:flex-start;flex-direction:column}.thbc-prediction-locked{flex-direction:column;text-align:center}.thbc-table-scroll{width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch}}@media(max-width:420px){.thbc-wrap{padding:0 8px}.thbc-card{padding:12px}.thbc-match-teams{gap:6px}.thbc-team-badge{width:56px;height:40px}.thbc-team-flag{font-size:32px}.thbc-vs{font-size:18px}.thbc-team strong{font-size:12px}.thbc-match-tag{font-size:11px;padding:8px 12px}.thbc-match-date{font-size:17px}.thbc-score-fields{grid-template-columns:minmax(0,1fr) auto minmax(0,1fr)}}
.thbc-wrap *{box-sizing:border-box}.thbc-hp{position:absolute!important;left:-9999px!important;width:1px!important;height:1px!important;overflow:hidden!important}.thbc-games-wrap{width:100%}.thbc-match-card{max-width:100%}.thbc-form input[type=number]{appearance:textfield}.thbc-form input[type=number]::-webkit-outer-spin-button,.thbc-form input[type=number]::-webkit-inner-spin-button{appearance:none;margin:0}
