/* V6.6.1: crests, referee team, footer utilities */
.v667-team,.v667-ranking-team{display:inline-flex;align-items:center;gap:9px;vertical-align:middle;min-width:0}.v667-crest{width:36px;height:36px;object-fit:contain;flex:none;display:inline-block;background:#fff;border-radius:50%;padding:3px;border:1px solid #e2e9e2;box-sizing:border-box}.v667-crest-placeholder{width:32px;height:32px;display:inline-grid;place-items:center;color:#758878;background:#eef3ef;border-radius:50%;font-size:16px;flex:none}.matchcard .versus{gap:10px}.matchcard .v667-team{max-width:42%;overflow-wrap:anywhere;justify-content:center;text-align:center}.v667-ranking-team .v667-crest{width:32px;height:32px}.v667-calendar-teams{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.v667-ref-form{display:grid;gap:14px;max-width:750px;margin-bottom:24px}.v667-ref-form label{display:grid;gap:6px}.v667-ref-form label[hidden]{display:none!important}.v667-social{grid-column:1/-1}.v667-social h3{color:#fff;margin:8px 0 12px;font-size:1.05rem}.v667-social-links{display:flex;gap:12px;flex-wrap:wrap}.v667-social-link{display:inline-flex;gap:9px;align-items:center;color:#fff!important;text-decoration:none;background:#ffffff1a;padding:8px 15px;border:1px solid #ffffff36;border-radius:10px;font-weight:700}.v667-social-link:hover{background:#ffffff30}.v667-social-link span{display:grid;place-items:center;width:24px;height:24px;border-radius:6px;background:#fff;color:#14609d;font-family:Arial,sans-serif;font-weight:bold}.v667-social-link.youtube span{color:#df2020}#v667-backtop{position:fixed;inset-inline-end:20px;bottom:20px;z-index:1000;width:46px;height:46px;border-radius:50%;border:0;background:#176647;color:#fff;box-shadow:0 6px 20px #0003;font-size:24px;font-weight:bold;cursor:pointer;opacity:0;pointer-events:none;transform:translateY(12px);transition:opacity .2s,transform .2s}#v667-backtop.visible{opacity:1;pointer-events:auto;transform:translateY(0)}#v667-backtop:focus-visible{outline:3px solid #e2be6e;outline-offset:3px}@media(max-width:600px){.v667-crest{width:28px;height:28px}.v667-team{gap:5px;font-size:.9em}#v667-backtop{bottom:13px;inset-inline-end:13px}}@media print{#v667-backtop{display:none!important}}@media(prefers-reduced-motion:reduce){#v667-backtop{transition:none}}

/* V6.6.2 fixes: logo and club names never overlap; footer social above intro. */
.matchcard .versus{grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);align-items:center;gap:8px;}
.matchcard .versus .v667-team{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:7px;min-width:0;max-width:none;width:100%;text-align:center;font-size:13px;line-height:1.55;overflow-wrap:anywhere;word-break:normal;white-space:normal;}
.matchcard .versus .v667-team .v667-crest,.matchcard .versus .v667-team .v667-crest-placeholder{position:static;display:block;width:46px;height:46px;max-width:100%;object-fit:contain;flex:none;margin:0 auto;}
.matchcard .versus .v667-team .v667-crest-placeholder{display:grid;place-items:center;}
.matchcard .versus>span{white-space:nowrap;font-size:clamp(13px,2vw,21px);}
.v667-ranking-team{display:inline-flex;align-items:center;gap:9px;max-width:100%;vertical-align:middle;white-space:normal;min-width:0;}
.v667-ranking-team .v667-crest,.v667-ranking-team .v667-crest-placeholder{position:static;width:32px;height:32px;flex-shrink:0;object-fit:contain;}
.v667-ranking-team b{min-width:0;overflow-wrap:anywhere;}
.v667-calendar-teams .v667-team{display:inline-flex;align-items:center;gap:8px;white-space:normal;min-width:0;overflow-wrap:anywhere;}
.v667-calendar-teams .v667-crest{position:static;width:36px;height:36px;flex-shrink:0;object-fit:contain;}
.v66-footer-info{display:flex;flex-direction:column;align-items:flex-start;gap:10px;min-width:205px;}
.v66-footer-info .v667-social{grid-column:auto;width:100%;margin:0 0 5px;}
.v66-footer-info .v667-social h3{margin:0 0 10px;}
.v66-footer-info .v667-social-links{display:flex;gap:10px;flex-wrap:wrap;}
.v66-footer-info .v667-social-link{display:inline-flex;align-items:center;gap:9px;padding:9px 12px;border-radius:10px;line-height:1.4;}
.v66-footer-info .v667-social-link .v662-social-icon{display:inline-flex;align-items:center;justify-content:center;width:25px;height:25px;background:transparent;color:inherit;}
.v66-footer-info .v667-social-link.facebook .v662-social-icon{color:#80bdf8;}
.v66-footer-info .v667-social-link.youtube .v662-social-icon{color:#ff7373;}
.v66-footer-info .v667-social-link svg{display:block;}
.v66-footer-info>p{margin:0;line-height:1.8;}
@media(max-width:600px){.matchcard .versus .v667-team{font-size:12px;gap:5px}.matchcard .versus .v667-team .v667-crest,.matchcard .versus .v667-team .v667-crest-placeholder{width:40px;height:40px}.v66-footer-info{width:100%;}}
