/* Figma 153:3356. Scoped to Home; existing navigation and other screens keep their styles. */
.home-page{--home-surface:rgba(255,255,255,.03);--home-muted:rgba(255,255,255,.7);--home-accent:#f0cc0a;position:relative;isolation:isolate;min-height:100vh;background:#0d100f;color:#fff;font-family:Montserrat,sans-serif;overflow:hidden}
.home-page:before{content:"";position:absolute;top:-600px;right:-600px;width:1200px;height:1200px;background:url('./assets/home/imgLight.svg') no-repeat 0 0;background-size:1200px 1200px;pointer-events:none;z-index:-1}
.home-page .topbar{position:relative;top:auto;display:flex;justify-content:initial;align-items:center;gap:8px;width:100%;max-width:640px;margin:auto;padding:20px 20px 0;border:0;background:transparent;backdrop-filter:none;min-height:60px}
.home-page .wordmark{margin-right:auto}.home-page .home-logo{display:block;width:126.66px;height:40px}.home-page .topbar .icon-button,.home-square{display:inline-flex;align-items:center;justify-content:center;border:0;border-radius:12px;background:rgba(255,255,255,.05);width:40px;height:40px;flex:none;padding:10px;color:var(--home-accent)}
.home-page .content{display:flex;flex-direction:column;gap:24px;max-width:640px;margin:0 auto;padding:24px 20px 24px;background:transparent}.home-page button{font-family:inherit}.home-page button:focus-visible{outline:2px solid var(--home-accent);outline-offset:4px}.home-page button:disabled{opacity:.5}.home-page small{font-size:12px;color:var(--home-muted);font-weight:400;line-height:1.4}.home-page h2{font-size:20px;line-height:1.3;margin:0;font-weight:600}.home-page p{line-height:1.5}.home-hero{border-radius:16px;background:var(--home-surface);overflow:hidden}.home-profile{display:flex;gap:12px;align-items:center;width:100%;padding:16px;border:0;color:inherit;background:transparent;text-align:left}.home-profile>span:nth-child(2){display:flex;flex-direction:column;gap:4px;flex:1;min-width:0}.home-profile strong{font-size:20px;font-weight:600;overflow-wrap:anywhere}.home-profile>img{width:24px;height:24px;flex:none}.home-avatar{width:56px;height:56px;display:inline-flex;align-items:center;justify-content:center;flex:none;border-radius:12px;background:rgba(255,255,255,.05)}.home-avatar>img{width:24px;height:24px}.home-accounts{padding:0 16px;background:rgba(255,255,255,.05);border-radius:16px}.home-balance{display:flex;align-items:flex-start;padding:16px 0;gap:12px;border-bottom:1px solid rgba(255,255,255,.1)}.home-balance-detail{display:flex;flex:1;min-width:0;flex-direction:column;gap:4px;text-align:left;border:0;background:transparent;color:inherit;padding:0}.home-balance-detail strong{font-size:24px;font-weight:700;overflow-wrap:anywhere}.home-balance-detail small:last-child{color:#fff}.home-profile-tags{display:flex;flex-wrap:wrap;gap:8px;padding:16px 0}.home-profile-tags button{display:flex;gap:4px;align-items:center;border:0;background:rgba(255,255,255,.05);color:#fff;padding:12px;border-radius:12px;font-size:12px;text-align:left;min-width:0}.home-profile-tags img{width:16px;height:16px}.home-profile-tags span{overflow-wrap:anywhere}
.home-goal{display:flex;flex-direction:column;gap:16px;padding:16px;text-align:left;width:100%;border:1px solid rgba(255,217,0,.16);border-radius:16px;background:linear-gradient(250deg,rgba(255,217,0,.08) 35%,rgba(0,153,43,.08) 80%);color:#fff}.home-goal-head{display:flex;gap:12px;align-items:flex-start;justify-content:space-between;width:100%}.home-goal-head>span:first-child{display:flex;flex-direction:column;gap:4px}.home-goal-head strong{font-size:20px;font-weight:600;line-height:1.3}.home-checkers{display:flex;gap:6px;align-items:center;padding:4px 8px;border-radius:12px;background:rgba(255,255,255,.05);color:var(--home-accent);font-size:14px;font-weight:700}.home-checkers img{width:16px;height:8px}.home-goal-copy{font-size:14px;line-height:1.5}.home-progress-meta{display:flex;align-items:center;justify-content:space-between;gap:8px;width:100%;font-size:14px}.home-progress-meta strong{font-size:14px;font-weight:600}.home-progress-track{display:block;width:100%;height:16px;overflow:hidden;border-radius:100px;background:rgba(255,255,255,.05)}.home-progress-track>span{display:block;height:100%;border-radius:inherit;background:var(--home-accent)}.home-goal .home-progress-track{margin-top:-8px}.home-goal .home-progress-meta:last-child{margin-top:-8px}
.home-services{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.home-service{display:flex;position:relative;flex-direction:column;gap:8px;align-items:flex-start;padding:16px;background:var(--home-surface);border:0;border-radius:16px;color:#fff;text-align:left;min-width:0}.home-service-image{display:block;width:120px;height:120px;object-fit:contain;max-width:100%;align-self:flex-start}.home-service strong{font-size:14px;font-weight:600;line-height:1.4}.home-service small{font-size:12px}.home-service-arrow{position:absolute;right:10px;top:10px;display:flex}.home-service-arrow img{width:20px;height:20px}.home-panel,.home-tournament{display:flex;flex-direction:column;gap:16px;width:100%;border:0;border-radius:16px;background:var(--home-surface);padding:16px;text-align:left;color:#fff}.home-section-head{display:flex;gap:16px;align-items:flex-start;width:100%}.home-section-head>span:first-child{display:flex;flex-direction:column;gap:4px;flex:1}.home-section-head strong{font-size:20px;font-weight:600;line-height:1.3}.home-panel p{font-size:14px;margin:0;color:var(--home-muted)}.home-empty{border-radius:12px;background:rgba(255,255,255,.03);padding:24px 16px;text-align:center}.home-empty strong{font-size:14px}.home-empty p{margin-top:8px;font-size:12px}.home-tournament-metrics{display:flex;gap:24px}.home-tournament-metrics>span{display:flex;flex-direction:column;gap:4px;min-width:0}.home-tournament-metrics strong{font-size:20px;font-weight:700;color:var(--home-accent);overflow-wrap:anywhere}.home-support .home-avatar{flex:0 0 56px}.home-support .home-section-head>div{flex:1;min-width:0}.home-support h2{margin:4px 0}.home-primary{border:0;border-radius:16px;background:var(--home-accent);color:#1e1e1e;font-size:16px;font-weight:600;min-height:56px;padding:16px 24px;width:100%}.home-page .admin-tournament-preview-entry{margin:0}.home-page .recent-goal-card,.home-page .data-status-banner{margin:0}
@media(min-width:640px){.home-page .content{padding-top:24px}.home-service-image{align-self:center}}
@media(max-width:360px){.home-profile strong,.home-section-head strong,.home-tournament-metrics strong{font-size:18px}.home-tournament-metrics{gap:16px}.home-profile-tags button{padding:10px}.home-balance-detail strong{font-size:22px}}

.home-page .task-copy-target,.home-page .task-inline-checkers{color:#fff}.home-page .home-goal-copy .checker-symbol{color:var(--home-accent)}
.home-goal-copy{display:block;width:100%;min-width:0;overflow-wrap:anywhere}

.home-page .ip-banner{margin:0}

/* Home blocks: Figma 218:2372, 160:4331, 218:2418, 218:2454. */
.home-page .home-tournament {
  gap:16px;
  border:1px solid rgba(255,217,0,.16);
  background:linear-gradient(247.416deg,rgba(255,217,0,.08) 34.797%,rgba(0,153,43,.08) 79.449%);
  overflow:hidden;
}
.home-tournament .home-section-head { gap:12px; }
.home-tournament .home-section-head small { line-height:14px; }
.home-tournament-metrics { gap:16px;align-items:center; }
.home-tournament-metrics>span { gap:0; }
.home-tournament-metrics strong { line-height:normal;white-space:nowrap; }
.home-tournament-metrics i,.home-referral-terms>i { display:block;flex:0 0 1px;width:1px;height:24px;background:rgba(255,255,255,.1); }
.home-tournament-progress { display:flex;flex-direction:column;gap:8px;width:100%; }
.home-tournament-progress .home-progress-meta strong { line-height:normal; }
.home-events { padding:0 16px;border-radius:16px;background:var(--home-surface); }
.home-events-heading { display:flex;align-items:flex-start;gap:12px;padding:16px 0; }
.home-events-heading>div { display:flex;flex:1;min-width:0;flex-direction:column;gap:8px; }
.home-page .home-events h2 { line-height:normal; }
.home-page .home-events-heading p { margin:0;color:var(--home-muted);font-size:14px;line-height:normal; }
.home-events-map { position:relative;height:120px;border-radius:12px;overflow:hidden; }
.home-events-map>img { display:block;width:100%;height:120px;object-fit:cover; }
.home-events-map:after { content:"";position:absolute;inset:0;background:rgba(0,0,0,.1);pointer-events:none; }
.home-page .home-events-empty { margin:0;padding:16px 0;color:var(--home-muted);font-size:12px;line-height:normal; }
.home-referral { position:relative;display:flex;flex-direction:column;gap:16px;padding:16px;border:1px solid rgba(255,217,0,.16);border-radius:16px;background:linear-gradient(253.442deg,rgba(255,217,0,.08) 34.797%,rgba(0,153,43,.08) 79.449%); }
.home-referral-image { position:absolute;right:-11px;top:-33px;width:149px;height:149px;object-fit:cover;pointer-events:none; }
.home-referral-heading { position:relative;display:flex;flex-direction:column;gap:4px; }
.home-referral-heading small { line-height:14px; }
.home-page .home-referral-heading h2 { line-height:normal; }
.home-referral-terms { display:flex;gap:16px;align-items:center; }
.home-referral-terms>div { display:flex;flex-direction:column;gap:4px; }
.home-referral-terms small { line-height:normal; }
.home-referral-terms strong { font-size:16px;line-height:normal;color:var(--home-accent);font-weight:700; }
.home-referral-terms>div>span { font-size:10px;color:var(--home-muted);line-height:normal; }
.home-primary { display:flex;align-items:center;justify-content:center;gap:8px;line-height:24px; }
.home-primary>img { display:block;width:24px;height:24px;flex:none; }
.home-referral .home-primary>span { padding:0 4px; }
.home-manager { display:flex;align-items:flex-start;gap:16px; }
.home-manager-photo { display:block;flex:0 0 33.3333%;width:33.3333%;max-width:110px;max-height:110px;aspect-ratio:1;object-fit:contain;padding:24px;background:rgba(255,255,255,.03);border:1px solid rgba(255,255,255,.1);border-radius:8px; }
.home-manager>div { display:flex;flex:1;min-width:0;flex-direction:column;gap:4px;padding:4px 0; }
.home-page .home-manager small { line-height:normal; }
.home-page .home-manager h2 { margin:0;line-height:normal; }
.home-page .home-manager p { margin:0;color:#fff;font-size:14px;line-height:normal; }
.home-service strong { line-height:normal; }
.home-service small { max-width:125px;line-height:normal; }
@media(max-width:360px) {
  .home-referral-image { width:112px;height:112px;right:-4px;top:-24px; }
  .home-referral-terms { gap:8px; }
  .home-referral-terms strong { font-size:14px;white-space:nowrap; }
  .home-referral-terms>div>span { white-space:nowrap; }
  .home-primary { padding:16px 12px;font-size:14px; }
}

/* Prize-place variants of the home tournament card (Figma 331:4705/4729/4759). */
.home-page .home-tournament.is-podium { background:linear-gradient(255.887deg,rgba(255,217,0,.08) 34.797%,rgba(0,153,43,.08) 79.449%) }
.home-page .home-tournament.podium-1 { background:linear-gradient(252.889deg,rgba(255,217,0,.08) 34.797%,rgba(0,153,43,.08) 79.449%) }
.home-tournament.is-podium .home-section-head strong { line-height:normal }
.home-tournament-podium { display:flex; align-items:center; position:relative; width:100%; height:92px; padding:0 16px 0 104px; border-radius:8px; background:rgba(255,255,255,.05) }
.home-tournament-podium-copy { display:flex; flex-direction:column; gap:4px; min-width:0 }
.home-tournament-podium-copy strong { font-size:24px; font-weight:700; line-height:normal; color:var(--home-accent) }
.home-tournament-podium-copy small { font-size:12px; font-weight:500; line-height:normal; color:#fff }
.home-tournament-cup { position:absolute; left:-6px; top:-14px; width:100px; height:100px; pointer-events:none }
.home-tournament-cup img { display:block; width:100px; height:100px; object-fit:cover }
.home-tournament.podium-3 .home-tournament-cup img { position:absolute; left:1.48%; top:.91%; width:97.27%; height:97.27% }
.home-tournament.is-podium .home-tournament-metrics { width:100% }
.home-tournament.is-podium .home-tournament-metrics strong { font-size:32px }
.home-tournament.is-podium .home-tournament-metrics small { line-height:normal }
@media(max-width:360px) { .home-tournament.is-podium .home-tournament-metrics strong { font-size:24px } }

.home-manager-photo.has-photo { padding:0; object-fit:cover }
.home-manager-phone { color:#f0cc0a; font-size:14px; text-decoration:none; overflow-wrap:anywhere }
.home-manager-call { display:flex; align-items:center; justify-content:center; text-decoration:none }

/* Personal manager: Figma 218:2454 and 218:3079. */
.home-support .home-manager-call { border-radius:8px; font-size:16px; padding:16px 24px; }
.home-manager>div { overflow-wrap:anywhere; }
.manager-contact-overlay { position:fixed; z-index:60; inset:0; display:flex; align-items:flex-end; justify-content:center; background:rgba(0,0,0,.45); opacity:0; transition:opacity .3s ease; font-family:Montserrat,sans-serif; color:#fff; }
.manager-contact-overlay.is-open { opacity:1; }
.manager-contact-sheet { display:flex; flex-direction:column; align-items:center; gap:24px; width:min(100%,540px); max-height:calc(100dvh - env(safe-area-inset-top)); overflow-y:auto; overscroll-behavior:contain; padding:20px 20px calc(20px + env(safe-area-inset-bottom)); border-radius:32px 32px 0 0; background:#0d100f; transform:translateY(100%); transition:transform .3s ease; outline:none; }
.is-open>.manager-contact-sheet { transform:translateY(0); }
.manager-contact-handle { flex:none; width:80px; height:3px; background:rgba(255,255,255,.3); touch-action:none; }
.manager-contact-heading { width:100%; text-align:center; display:flex; flex-direction:column; gap:8px; }
.manager-contact-heading h2 { font-size:32px; font-weight:600; line-height:normal; margin:0; overflow-wrap:anywhere; }
.manager-contact-heading p { font-size:14px; font-weight:400; line-height:normal; margin:0; }
.manager-contact-number { display:flex; flex-direction:column; align-items:center; gap:4px; }
.manager-contact-copy { display:flex; align-items:center; justify-content:center; gap:8px; padding:0; border:0; background:none; color:#fff; font:500 20px Montserrat,sans-serif; }
.manager-contact-copy img { width:16px; height:16px; }
.manager-contact-sheet small { font-size:12px; font-weight:400; line-height:normal; color:rgba(255,255,255,.7); }
.manager-contact-button { flex:none; width:100%; display:flex; align-items:center; justify-content:center; gap:8px; padding:16px 24px; border:0; border-radius:16px; background:#1e1e1e; color:#fff; font-size:16px; font-weight:600; line-height:24px; text-decoration:none; }
.manager-contact-button>span { padding:0 4px; }
.manager-contact-button>img { flex:none; width:24px; height:24px; }
.manager-contact-sheet>.manager-contact-button { background:#f0cc0a; color:#1e1e1e; }
.manager-contact-divider { display:flex; align-items:center; gap:16px; width:100%; padding:0 16px; }
.manager-contact-divider>span { flex:1; height:1px; background:rgba(255,255,255,.1); }
.manager-contact-divider small { white-space:nowrap; }
.manager-contact-channels { display:flex; flex-direction:column; gap:8px; width:100%; }
.manager-contact-close { flex:none; width:100%; height:40px; border:0; padding:0; background:none; color:rgba(255,255,255,.5); font:400 14px/24px Montserrat,sans-serif; }
@media(prefers-reduced-motion:reduce) { .manager-contact-overlay,.manager-contact-sheet { transition:none; } }
.home-page .app-shell { padding-bottom:calc(78px + env(safe-area-inset-bottom)); }
.home-page .home-manager small { line-height:14px; }
.home-page .home-manager p { line-height:17.3333px; }
