@font-face{font-family:Oswald;src:url('assets/calendar/oswald.ttf') format('truetype');font-weight:200 700;font-display:swap}
.home{--ink:#07172d;--muted:#53627b;--paper:#f3f6f6;--line:#ced7e1;--lime:#dcff68;--max:1280px;background:var(--paper)}
.home .topbar{position:relative;background:#fbfcfc;backdrop-filter:none;min-height:76px;padding:16px max(24px,calc((100% - var(--max))/2));gap:24px}
.home .brand{flex-direction:row;align-items:center;gap:15px}.home .brand strong.orion-script{position:relative;display:inline-block;padding:0 9px 8px 2px;font:700 34px/.9 "Segoe Script","Brush Script MT","Comic Sans MS",cursive;letter-spacing:-.11em;text-transform:none;transform:rotate(-5deg);white-space:nowrap}.home .brand strong.orion-script::after{content:"";position:absolute;left:7%;right:-8%;bottom:2px;height:8px;border-bottom:4px solid currentColor;border-radius:0 0 70% 20%;transform:skewX(-28deg) rotate(-3deg);transform-origin:left center}.home .brand span{font-size:11px;line-height:1.35}
.home a{text-underline-offset:4px}.home :is(a,button,input,summary,[tabindex]):focus-visible{outline:3px solid #175bdf;outline-offset:4px}.home .nav-account{border:1px solid var(--line);padding:10px 18px;border-radius:7px}.home .primary,.home .secondary{border-radius:7px;min-height:44px;justify-content:center;font-size:14px}.home .primary{background:#07294d;color:#fff}.home .primary:hover{background:#124570}
.home-hero{display:grid;grid-template-columns:1fr 1fr;max-width:1440px;margin:auto;background:var(--ink);color:#fff}.home-hero-copy{padding:48px 40px 48px max(24px,calc((1440px - 1280px)/2))}.home h1,.home h2{font-family:Oswald,sans-serif;letter-spacing:-.025em}.home h1{font-size:clamp(46px,5.5vw,76px);line-height:1.08;margin:0 0 24px;text-transform:uppercase}.home-hero-copy>p{font-size:17px;line-height:1.7;max-width:47ch;color:#e2eaf3;margin:0 0 28px}.home-actions{display:flex;align-items:center;gap:24px;flex-wrap:wrap}.home-actions .primary{background:var(--lime);color:var(--ink);gap:28px}.home-actions .primary:hover{background:#e7ff9b}.home-actions .primary span{transition:transform .2s ease-out}.home-actions .primary:hover span{transform:translateX(4px)}.hero-link{color:#fff}.home-hero-copy>small{display:block;color:#c4d0df;font-size:12px;line-height:1.6;margin-top:28px;max-width:48ch}.home-stadium{position:relative;margin:0;min-width:0;min-height:380px}.home-stadium picture,.home-stadium img{display:block;width:100%;height:100%}.home-stadium img{position:absolute;inset:0;object-fit:cover;object-position:64% 50%}.home-stadium figcaption{position:absolute;left:20px;bottom:20px;right:20px;width:fit-content;background:var(--ink);padding:8px 12px;font-size:12px;color:#fff}
.home-section{max-width:var(--max);margin:auto;padding:52px 24px}.home-section-head{display:flex;align-items:end;justify-content:space-between;gap:24px;margin-bottom:26px}.home h2{font-size:clamp(30px,3vw,42px);line-height:1.16;margin:0 0 10px}.home-section-head p{color:var(--muted);font-size:14px;margin:0;max-width:66ch}.text-link{color:#07294d;font-weight:650;font-size:14px}.home-section-head>.text-link{flex-shrink:0;padding:10px 0}.home-agenda{border-bottom:1px solid var(--line)}.home-event-list{min-height:200px}.home-event{display:grid;grid-template-columns:80px minmax(0,1fr) auto;align-items:center;gap:24px;padding:18px 0;border-top:1px solid var(--line);text-decoration:none;color:var(--ink)}.home-event:hover h3{text-decoration:underline;text-underline-offset:4px}.home-event time{display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:76px;border-radius:11px;background:var(--lime);font-variant-numeric:tabular-nums}.home-event:nth-child(2) time{background:#a5d9ff}.home-event:nth-child(3) time{background:#ff9b8b}.home-event time strong{font:600 32px/1 Oswald,sans-serif}.home-event time span{font-size:12px;margin-top:5px}.home-event h3{font:600 22px/1.3 Oswald,sans-serif;margin:0 0 7px;overflow-wrap:anywhere}.home-event p{font-size:13px;color:var(--muted);margin:0;overflow-wrap:anywhere}.home-event-go{font-size:14px;font-weight:600}.home-event-range{display:block;font-size:12px;color:var(--muted);margin-bottom:4px}#home-events-status:empty{display:none}
.home #feed{grid-template-columns:repeat(4,minmax(0,1fr));grid-auto-rows:1fr;gap:16px;align-items:stretch}.home .public-athlete{display:flex;flex-direction:column;height:100%;min-width:0;max-width:none;border-radius:14px;padding:14px;cursor:pointer;transition:border-color .16s ease,background-color .16s ease}.home .public-athlete:hover,.home .public-athlete:focus-within{border-color:#91a7c1;background:#fbfcff}.home .public-athlete[hidden]{display:none}.home .public-athlete h3{font-size:17px;line-height:1.35;margin:0 0 5px}.home .public-athlete h3 a{color:inherit;text-decoration:none}.home .public-athlete h3 a::after{content:' →';color:#1259d8}.home .public-athlete h3 a:hover{text-decoration:underline}.home .public-athlete h3 a:focus-visible{outline:3px solid var(--focus,#175bdf);outline-offset:4px;border-radius:2px}.home .public-athlete>p{font-size:12px;color:var(--muted);margin:5px 0}.home .public-photos{display:flex;flex:0 0 auto;gap:10px;overflow-x:auto;scroll-snap-type:x mandatory;margin-top:auto;padding-top:12px;border-radius:8px;scrollbar-width:thin}.home .public-photos img{flex:0 0 100%;min-width:0;width:100%;height:180px;aspect-ratio:4/3;scroll-snap-align:start;border-radius:8px}.home .own-card-edit{font-size:12px;padding:8px 10px;margin:8px 0;min-height:44px}.home .photo-hint{font-size:11px;color:var(--muted)}.home .athlete-actions{gap:8px}.home .athlete-search{display:grid;gap:6px;max-width:520px;margin:0 0 20px}.home .athlete-search span{font-size:12px;font-weight:600}.home .athlete-search input{width:100%;min-height:46px;border-radius:7px}.home #search-status{min-height:0;margin:0 0 14px;color:var(--muted);font-size:13px}.home #search-status:empty{display:none}.home .demo-controls{margin:22px 0 0}.home .demo-toggle{background:none;border:0;text-decoration:underline;text-underline-offset:4px;color:var(--muted);min-height:44px;font-size:12px;padding:8px 0;cursor:pointer}.home .demo-notice{border:1px solid var(--line);background:#fff;border-radius:12px;font-size:13px}.home .demo-caption{font-size:11px}.home .demo-badge{font-size:10px}
.home-community{max-width:calc(var(--max) - 48px);margin:12px auto;display:grid;grid-template-columns:1fr 1fr;gap:64px;padding:40px;background:var(--ink);color:#fff}.home-community h2{font-size:clamp(32px,3.4vw,46px)}.home-community p{font-size:15px;line-height:1.7;max-width:48ch;color:#d8e3ef;margin-bottom:0}.community-links{display:grid}.community-links a{display:flex;flex-direction:column;justify-content:center;gap:6px;border-bottom:1px solid #435368;padding:18px 0;color:#fff;text-decoration:none}.community-links a:first-child{padding-top:0}.community-links a:last-child{border-bottom:0;padding-bottom:0}.community-links strong{font-size:17px;font-weight:600}.community-links span{font-size:13px;color:var(--lime)}.community-links b{float:right}.community-links a:hover strong{text-decoration:underline}
.home #team .coach-grid{gap:20px}.home #team .person-card{flex-direction:row;align-items:center;gap:14px;padding:18px 0;min-height:0;background:none;border:0;border-top:1px solid var(--line);border-radius:0}.home #team .portrait{width:64px;height:64px;align-self:center;border-radius:8px}.home #team .person-card strong{font-size:15px;line-height:1.4;text-wrap:initial}.home #team .person-card small{font-size:12px;margin-top:5px}.home-newcomer{border-top:1px solid var(--line);border-bottom:1px solid var(--line);margin-top:24px}.home-newcomer summary{font-weight:650;cursor:pointer;padding:22px 0;font-size:16px}.newcomer-content{display:grid;grid-template-columns:1fr 1fr;gap:40px;padding:0 0 24px;font-size:14px}.newcomer-content h3{font-size:17px;margin:0}.newcomer-content p{color:var(--muted);line-height:1.7}.home .site-footer{max-width:var(--max);padding:28px 24px}.home .site-footer nav{font-size:13px;flex-wrap:wrap}.home .site-footer .fan-notice{font-size:12px}.home .site-footer .fan-notice p{margin:0;max-width:80ch}
@media(max-width:1050px){.home #feed{grid-template-columns:repeat(3,minmax(0,1fr))}.home #team .coach-grid{grid-template-columns:1fr}.home-community{margin:12px 24px;gap:32px}.home .topbar nav{gap:16px}.home-hero-copy{padding:36px 24px}.home-section-head{align-items:start}}
@media(max-width:760px){.home .topbar{padding:14px 20px}.home .topbar nav{z-index:30}.home .brand strong{font-size:30px}.home-hero{grid-template-columns:1fr}.home-hero-copy{padding:32px 20px}.home h1{font-size:clamp(43px,11vw,65px)}.home-hero-copy>p{font-size:15px}.home-stadium{min-height:190px;height:190px}.home-stadium img{object-position:60% 52%}.home-stadium figcaption{bottom:12px;left:20px;font-size:11px}.home-section{padding:32px 20px}.home-section-head{display:flex;flex-direction:column;gap:10px;margin-bottom:20px}.home-event{grid-template-columns:60px minmax(0,1fr);gap:14px;padding:15px 0}.home-event time{min-height:70px}.home-event h3{font-size:20px}.home-event-go{display:none}.home #feed{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.home .public-athlete{padding:10px}.home .public-athlete h3{font-size:15px}.home .public-photos img{height:145px}.home .athlete-search{max-width:none}.home-community{margin:0 20px;padding:26px 22px;grid-template-columns:1fr;gap:22px}.home-community h2{font-size:34px}.newcomer-content{grid-template-columns:1fr;gap:24px}.home .site-footer nav{position:static;display:flex;flex-direction:row;padding:0;border:0;background:none;gap:16px}.home .site-footer{padding:28px 20px}.home .athlete-actions{width:100%}.home .athlete-actions .primary{padding:10px 12px}}
@media(max-width:360px){.home .public-photos img{height:120px}.home .public-athlete h3{font-size:14px}.home .athlete-actions{align-items:stretch;flex-direction:column}}
@media(prefers-reduced-motion:reduce){.home *{scroll-behavior:auto!important}.home-actions .primary span,.home .public-athlete{transition:none;transform:none!important}}

/* Тренеры заметны как отдельные профили команды, но остаются частью главной страницы. */
.home #team .coach-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}
.home #team .person-card{min-height:240px;padding:26px;gap:24px;border:1px solid var(--line);border-radius:14px;background:var(--white);transition:border-color .16s ease,background-color .16s ease}
.home #team .person-card:hover,.home #team .person-card:focus-visible{border-color:#91a7c1;background:#fbfcff}
.home #team .person-card:focus-visible{outline:3px solid var(--focus,#175bdf);outline-offset:4px}
.home #team .portrait{width:160px;height:160px;border-radius:12px;object-fit:cover}
.home #team .person-card strong{font-size:20px;line-height:1.35}
.home #team .person-card small{font-size:15px;line-height:1.5;margin-top:9px}
@media(max-width:1050px){.home #team .coach-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:760px){.home #team .coach-grid{grid-template-columns:1fr;gap:14px}.home #team .person-card{min-height:200px;padding:20px;gap:20px}.home #team .portrait{width:132px;height:132px}.home #team .person-card strong{font-size:18px}.home #team .person-card small{font-size:14px}}
@media(max-width:420px){.home #team .person-card{min-height:170px;padding:16px;gap:16px}.home #team .portrait{width:112px;height:112px}}

/* Первый экран главной повторяет цельный фотогерой календаря. */
.home-hero{position:relative;isolation:isolate;display:block;max-width:none;min-height:clamp(500px,56vw,680px);overflow:hidden;background:#07172d}
.home-hero-copy{position:relative;z-index:1;display:flex;min-height:inherit;max-width:1440px;margin:auto;flex-direction:column;justify-content:center;padding:clamp(56px,8vw,104px) max(24px,calc((100% - 1280px)/2))}
.home h1{max-width:none;font-size:clamp(54px,6.5vw,92px);line-height:1.04;letter-spacing:-.025em}
.home-hero-copy>p{max-width:48ch;font-size:clamp(16px,1.5vw,21px);line-height:1.55}
.home-stadium{position:absolute;inset:0;z-index:0;min-height:0;height:auto;overflow:hidden}
.home-stadium picture,.home-stadium picture img{position:absolute;inset:0;width:100%;height:100%}
.home-stadium img{object-position:50% 42%}
.home-stadium::after{content:"";position:absolute;inset:0;pointer-events:none;background:linear-gradient(90deg,rgba(7,23,45,.98) 0%,rgba(7,23,45,.91) 23%,rgba(7,23,45,.70) 43%,rgba(7,23,45,.28) 70%,rgba(7,23,45,.10) 100%),linear-gradient(0deg,rgba(7,23,45,.42),transparent 42%)}
.home-stadium figcaption{z-index:1;right:max(24px,calc((100% - 1280px)/2));bottom:20px}
@media(max-width:760px){.home-hero{min-height:590px}.home-hero-copy{min-height:590px;padding:44px 22px 78px}.home h1{max-width:none;font-size:clamp(44px,10.5vw,58px)}.home-hero-copy>p{max-width:38ch;font-size:16px}.home-stadium img{object-position:66% 48%}.home-stadium::after{background:linear-gradient(90deg,rgba(7,23,45,.96) 0%,rgba(7,23,45,.84) 37%,rgba(7,23,45,.45) 72%,rgba(7,23,45,.20) 100%),linear-gradient(0deg,rgba(7,23,45,.4),transparent 44%)}.home-stadium figcaption{right:16px;bottom:14px}}
@media(max-width:360px){.home h1{font-size:clamp(38px,11vw,40px)}}
@media(prefers-reduced-motion:reduce){.home-hero *{scroll-behavior:auto!important}}
