@import url("/fantaten-product-shared.css?v=20261124-shared-profile-pattern-1");
@import url("/fantaten-parity.css?v=20261124-shared-profile-pattern-1");
.platform-account-page{min-height:100vh;background:#f3f5ef}
.account-header{background:var(--paper);border-bottom:1px solid var(--line)}
.account-header-inner{max-width:1120px;margin:auto;padding:22px 32px;display:flex;align-items:center;justify-content:space-between;gap:12px}
.account-header .brand-mark{display:block;flex-shrink:0;width:44px;height:44px;margin-right:7px;border-radius:0;background:transparent}
.account-header .platform-settings-trigger{width:52px;height:52px;font-size:24px}
.account-main{min-height:calc(100vh - 88px);display:grid;place-items:start center;padding:42px 20px 64px}
.account-card{--account-card-top-padding:40px;width:min(560px,100%);padding:var(--account-card-top-padding) 40px 40px;border:1px solid var(--line);border-radius:22px;background:#fff;box-shadow:0 18px 50px rgba(22,34,28,.08)}
.account-card h1{margin:0 0 10px;font-size:clamp(36px,6vw,44px);line-height:1.08;letter-spacing:-.04em}
.account-lede{margin:0 0 26px;color:var(--muted);font-size:16px;line-height:1.5}
.account-legal{margin:0 0 22px;color:var(--muted);font-size:12px;line-height:1.55}
.account-legal a{color:var(--green);font-weight:750;text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:2px}
.account-google{display:flex;width:100%;min-height:52px;align-items:center;justify-content:center;gap:11px;margin:0 0 20px;border:1px solid #cdd7d0;border-radius:11px;background:#fff;color:var(--ink);font:inherit;font-weight:750}
.account-google:hover{border-color:#aebbb2;background:#fafbf9;filter:none}
.account-divider{display:flex;align-items:center;gap:14px;margin:0 0 20px;color:var(--muted);font-size:13px}
.account-divider:before,.account-divider:after{content:"";height:1px;flex:1;background:var(--line)}
.account-form{display:grid;gap:16px}
.account-field{display:grid;gap:8px;font-size:14px;font-weight:750}
.account-input{width:100%;min-height:50px;padding:12px 14px;border:1px solid #cdd7d0;border-radius:11px;background:#fff;color:var(--ink);font:inherit;font-size:16px}
.account-input:focus{outline:3px solid #c8dbe8;border-color:#5795ba}
.account-password-control{position:relative;display:block}
.account-password-control .account-input{padding-right:54px}
.account-password-toggle{position:absolute;top:50%;right:5px;display:grid;width:40px;height:40px;place-items:center;padding:0;transform:translateY(-50%);border:0;border-radius:9px;background:transparent;color:var(--muted)}
.account-password-toggle:hover,.account-password-toggle:focus-visible{background:#f0f4ef;color:var(--ink);filter:none}
.account-password-toggle:focus-visible{outline:2px solid #5795ba;outline-offset:1px}
.account-password-toggle svg{display:block;width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.account-password-hide,.account-password-toggle[aria-pressed="true"] .account-password-show{display:none}
.account-password-toggle[aria-pressed="true"] .account-password-hide{display:block}
.account-primary,.account-secondary,.account-text{min-height:50px;border-radius:11px;font:inherit;font-weight:750}
.account-primary{border:0;background:var(--green);color:#fff}
.account-secondary{display:flex;align-items:center;justify-content:center;border:1px solid #cdd7d0;background:#fff;color:var(--ink)}
.account-text{border:0;background:transparent;color:var(--green)}
.account-reset{width:max-content;min-height:44px;margin-top:8px;padding:0 2px}
.account-switch{margin:22px 0 0;font-size:14px;line-height:1.5;text-align:center}
.account-switch .account-text{min-height:44px;padding:0 6px}
.platform-signup-footer{display:flex;justify-content:center;width:min(560px,100%);margin:0 auto;padding:12px 20px 24px;color:var(--green);font-size:14px;font-weight:750}
.platform-signup-footer a{display:inline-flex;align-items:center;min-height:44px}
.platform-account-dialog .platform-signup-footer{margin:16px 0 0;padding:4px 0 0}
.account-status{font-size:14px;line-height:1.5}
.account-status:not(:empty){margin:16px 0 0;padding:12px;border:1px solid #d9e2db;border-radius:10px;background:#f7f9f5}
.account-actions{display:grid;gap:10px}
.account-game-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:24px}
.account-game-grid a{justify-content:center}
.account-password-hint{margin:-8px 0 0;color:var(--muted);font-size:13px;line-height:1.45}
.account-password-match{margin:-8px 0 0;color:#9a3f35;font-size:13px;font-weight:650;line-height:1.45}
.account-password-match:empty{display:none}
.account-state-icon{display:grid;width:48px;height:48px;place-items:center;margin:0 0 18px;border-radius:50%;background:#e8f2eb;color:var(--green);font-size:23px}
.account-verifying-spinner{width:46px;height:46px;margin:0 0 20px;border:4px solid #dce7df;border-top-color:var(--green);border-radius:50%;animation:platform-account-spin .9s linear infinite}
.account-verification-loader{display:none;position:fixed;inset:0;z-index:10001;place-items:center;background:#f3f5ef}
html:is([data-platform-transition],[data-email-verification]){background:#f3f5ef;overflow:hidden}
html:is([data-platform-transition],[data-email-verification]) body{background:#f3f5ef;overflow:hidden}
html:is([data-platform-transition],[data-email-verification]) body>.account-verification-loader[role=status]{display:grid;visibility:visible!important}
html[data-platform-transition] body>:not(.account-verification-loader){visibility:hidden!important}
html[data-platform-transition] .platform-account-dialog::backdrop{background:transparent;backdrop-filter:none}
[data-email-verification] body>:is(header,main,footer){visibility:hidden}
.account-verification-loader .account-verifying-spinner{margin:0}
@media(prefers-reduced-motion:reduce){.account-verification-loader .account-verifying-spinner{animation:none}}
@keyframes platform-account-spin{to{transform:rotate(360deg)}}
.account-ready-brand{margin:0 0 16px}
.account-ready-brand img{display:block;width:44px;height:44px}
.account-ready-continue{display:flex;width:100%;min-height:50px;align-items:center;justify-content:center;border-radius:11px;font-weight:750}
.account-ready-continue--green{background:#146b45}
.platform-account-page .account-management-card{width:min(720px,100%)}
.platform-profile-page{background:#fff}.platform-profile-page .account-main{display:block;width:min(1120px,100%);margin:auto;padding-top:42px}.platform-profile-page .account-profile-only-card{width:100%;padding:0;border:0;border-radius:0;background:transparent;box-shadow:none}.account-profile-only-card>.page-header{margin:0 0 24px}.account-profile-only-card>.page-header h1{margin:0}.account-profile-only-card>.team-identity-panel{display:grid;gap:20px}.account-profile-only-card .team-inline-editor{scroll-margin-top:24px}.account-profile-only-card .team-inline-editor input:not([type=color]){scroll-margin-block:100px 24px;font-size:16px}
.account-management-card>h1{font-size:36px}
.account-management-section{margin-top:24px;padding:26px;border:1px solid var(--line);border-radius:15px;background:#f8faf7}
.account-management-section h2{margin:0 0 20px;font-size:19px;letter-spacing:-.02em}
.account-management-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:24px;margin-bottom:20px}.account-management-heading h2{margin:0 0 5px}.account-management-heading p{margin:0;color:var(--muted);font-size:13px;line-height:1.45}.account-management-heading .account-secondary{min-height:42px;flex:0 0 auto;padding:0 15px}
.platform-profile-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;padding:0;border:0}.platform-profile-edit{min-height:40px;padding:0 4px}.platform-account-page .country-flag,.platform-account-dialog .country-flag{display:inline-flex;vertical-align:middle}.platform-account-page .country-flag img,.platform-account-dialog .country-flag img{display:block;width:1.35em;height:1em;object-fit:contain;border-radius:1px;outline:1px solid rgba(24,35,29,.1);outline-offset:-1px}.account-profile-management .team-identity-panel{display:grid;gap:20px}.account-profile-management .team-inline-editor{scroll-margin-top:24px}.account-profile-management .team-inline-editor input:not([type=color]){scroll-margin-block:100px 24px;font-size:16px}.account-shared-profile-card{width:min(1040px,100%)}.account-shared-profile-card .crest-builder{margin-top:0}.account-shared-profile-card .platform-profile-crest-form .crest-builder{margin-top:18px}.account-shared-profile-card .platform-profile-actions{margin-top:18px}.account-shared-profile-card .ft-crest-editor-preview .ranking-crest{width:120px;height:140px}
.account-detail-list{display:grid;margin:0}
.account-detail-list>div{display:grid;grid-template-columns:140px minmax(0,1fr);align-items:center;gap:24px;padding:16px 0;border-top:1px solid var(--line)}
.account-detail-list>div:first-child{padding-top:0;border-top:0}
.account-detail-list dt{color:var(--muted);font-size:14px}
.account-detail-list dd{min-width:0;margin:0;font-weight:450;line-height:1.45;overflow-wrap:anywhere}
.account-password-management{display:flex;align-items:center;justify-content:space-between;gap:28px;padding-top:22px;border-top:1px solid var(--line)}
.account-password-management>div{display:grid;gap:4px}
.account-password-management strong{font-weight:600}
.account-password-management span,.account-provider-note{color:var(--muted);font-size:13px;line-height:1.45}
.account-password-management .account-secondary{min-height:44px;flex:0 0 auto;padding:0 16px;font-weight:600}
.account-provider-note{margin:14px 0 0}
.account-management-actions{display:grid;gap:6px;margin-top:22px}
.account-management-actions .account-primary{display:flex;min-height:48px;align-items:center;justify-content:center;border-radius:11px;font-weight:700}
.platform-profile-progress{display:grid;gap:8px;margin:0 0 20px;color:var(--muted);font-size:12px;font-weight:800;text-transform:uppercase;letter-spacing:.08em}.platform-profile-progress>div{display:grid;grid-template-columns:1fr 1fr;gap:7px}.platform-profile-progress i{height:4px;border-radius:999px;background:var(--line)}.platform-profile-progress i.active{background:var(--green)}
.platform-profile-help{margin:-6px 0 4px;color:var(--muted);font-size:13px;line-height:1.45}.platform-profile-marketing{display:flex;align-items:flex-start;gap:10px;color:var(--muted);font-size:13px;line-height:1.45}.platform-profile-marketing input{width:18px;height:18px;margin:1px 0 0;accent-color:var(--green)}
.platform-profile-crest-editor{display:grid;grid-template-columns:160px minmax(0,1fr);gap:22px;align-items:start}.platform-profile-crest-preview{display:grid;place-items:center;min-height:190px;border:1px solid var(--line);border-radius:18px;background:#f4f7f3}.platform-profile-crest-fields{display:grid;gap:14px}.platform-profile-colours{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.platform-profile-colour{width:100%;height:44px;padding:3px;border:1px solid var(--line);border-radius:10px;background:#fff}.platform-profile-actions{display:grid;grid-template-columns:auto 1fr;gap:10px}.platform-profile-crest{position:relative;display:grid;place-items:center;width:92px;height:110px;filter:drop-shadow(0 4px 5px rgba(24,35,29,.2))}.platform-profile-crest-face{position:absolute;inset:0;display:grid;place-items:center;overflow:hidden;background:var(--crest);clip-path:polygon(50% 0,92% 16%,85% 72%,50% 100%,15% 72%,8% 16%)}.platform-profile-crest-face>i{position:absolute;z-index:1;width:150%;height:22%;background:var(--pattern);transform:rotate(-28deg);opacity:.82}.platform-profile-crest.pattern-split .platform-profile-crest-face>i{width:50%;height:100%;right:0;top:0;transform:none;opacity:1}.platform-profile-crest.pattern-half-diagonal .platform-profile-crest-face>i{inset:0;width:100%;height:100%;clip-path:polygon(100% 0,100% 100%,0 100%);transform:none;opacity:1}.platform-profile-crest.pattern-plain .platform-profile-crest-face>i{display:none}.platform-profile-crest-face>span{position:relative;z-index:2;display:grid;place-items:center;width:58%;height:58%;color:var(--symbol)}.platform-profile-symbol{display:block;width:100%;height:100%;background-color:currentColor;-webkit-mask-image:var(--symbol-src);-webkit-mask-position:center;-webkit-mask-size:contain;-webkit-mask-repeat:no-repeat;mask-image:var(--symbol-src);mask-position:center;mask-size:contain;mask-repeat:no-repeat}
.platform-profile-crest.shape-shield>.platform-profile-crest-face{clip-path:polygon(50% 3%,94% 15%,94% 45%,90% 66%,76% 82%,50% 97%,24% 82%,10% 66%,6% 45%,6% 15%)}
.platform-profile-crest.shape-heater>.platform-profile-crest-face{clip-path:polygon(8% 8%,92% 8%,92% 43%,88% 62%,73% 82%,50% 97%,27% 82%,12% 62%,8% 43%)}
.platform-profile-crest.shape-french>.platform-profile-crest-face{clip-path:polygon(8% 8%,29% 14%,50% 4%,71% 14%,92% 8%,92% 63%,87% 78%,72% 89%,50% 97%,28% 89%,13% 78%,8% 63%)}
.platform-profile-crest.shape-swiss>.platform-profile-crest-face{clip-path:polygon(10% 5%,30% 15%,50% 4%,70% 15%,90% 5%,97% 14%,89% 33%,89% 59%,94% 78%,78% 90%,50% 97%,22% 90%,6% 78%,11% 59%,11% 33%,3% 14%)}
.platform-profile-crest.shape-english>.platform-profile-crest-face{clip-path:polygon(8% 10%,26% 23%,50% 5%,74% 23%,92% 10%,92% 57%,84% 74%,68% 87%,50% 97%,32% 87%,16% 74%,8% 57%)}
.platform-profile-crest.shape-tulip>.platform-profile-crest-face{clip-path:polygon(7% 8%,30% 13%,50% 5%,70% 13%,93% 8%,98% 35%,92% 61%,75% 82%,50% 97%,25% 82%,8% 61%,2% 35%)}
.platform-profile-crest.shape-arched>.platform-profile-crest-face{clip-path:polygon(8% 16%,20% 6%,35% 1%,50% 0,65% 1%,80% 6%,92% 16%,92% 52%,86% 70%,71% 85%,50% 97%,29% 85%,14% 70%,8% 52%)}
.platform-profile-crest.shape-badge>.platform-profile-crest-face{clip-path:polygon(10% 4%,30% 21%,50% 5%,70% 21%,90% 4%,97% 12%,90% 32%,90% 60%,97% 76%,88% 86%,75% 89%,50% 98%,25% 89%,12% 86%,3% 76%,10% 60%,10% 32%,3% 12%)}
.platform-profile-crest.shape-pennant>.platform-profile-crest-face{clip-path:polygon(12% 5%,88% 5%,88% 74%,50% 97%,12% 74%)}
.account-signout{width:100%;padding:0 16px;color:#97392e;font-weight:650}
.platform-account-dialog .account-card.account-ready-card{position:relative;padding-top:76px}
.platform-account-dialog .account-ready-card .account-ready-brand{position:absolute;top:12px;left:13px;margin:0}
.platform-account-dialog{width:min(620px,calc(100% - 32px));max-height:calc(100dvh - 32px);padding:0;border:0;border-radius:22px;background:transparent;overflow:visible;color:var(--ink)}
.platform-account-dialog::backdrop{background:#10281e9c;backdrop-filter:blur(5px)}
.platform-account-dialog .account-card{width:100%;max-height:calc(100dvh - 32px);overflow:auto;isolation:isolate}
.platform-account-dialog[data-platform-game-home]{--ink:#18281f;--muted:#68766b;--green:#176b45;--line:#dce3da}
.account-dialog-spinner{margin:12px auto}
.account-dialog-close{position:absolute;z-index:2;top:12px;right:13px;display:grid;width:42px;height:42px;place-items:center;padding:0;border:0;border-radius:50%;background:transparent;color:var(--muted);font-size:27px;line-height:1}
.account-dialog-close:hover,.account-dialog-close:focus-visible{background:#f0f4ef;filter:none}
@media(max-width:600px){
  .account-header-inner{padding:18px}
  .account-header .brand{font-size:19px}
  .account-header .brand-mark{width:36px;height:36px}
  .account-header .platform-settings-trigger{width:46px;height:46px;font-size:21px}
  .account-main{padding:22px 16px 40px}
  .account-card{--account-card-top-padding:28px;padding:var(--account-card-top-padding) 22px 28px;border-radius:18px}
  .account-card h1{font-size:36px}
  .account-management-card>h1{font-size:32px}
  .account-management-section{padding:20px 18px}
  .account-management-heading{display:grid;gap:14px}.account-management-heading .account-secondary{width:100%}.platform-profile-summary{grid-template-columns:1fr;gap:12px}
  .platform-profile-crest-editor{grid-template-columns:1fr}.platform-profile-crest-preview{min-height:150px}.platform-profile-colours{grid-template-columns:repeat(3,1fr)}.platform-profile-actions{grid-template-columns:1fr 1fr}
  .account-detail-list>div{grid-template-columns:1fr;gap:4px}
  .account-password-management{align-items:stretch;flex-direction:column}
  .account-password-management .account-secondary{width:100%}
  .account-game-grid{grid-template-columns:1fr}
  .platform-account-dialog{width:calc(100% - 24px);max-height:calc(100dvh - 24px);border-radius:18px}
  .platform-account-dialog .account-card{max-height:calc(100dvh - 24px)}
}

@media(max-width:700px){
  /* Keep the signup dialog's heading padding inside the scrolling content. */
  .platform-account-dialog .account-card:has(> .platform-profile-crest-form){
    padding-block-start:0;
  }
  .platform-account-dialog .account-card:has(> .platform-profile-crest-form) > .platform-profile-progress{
    padding-block-start:var(--account-card-top-padding);
  }
  .account-shared-profile-card.ft-game-page :is(.platform-profile-crest-form,.team-inline-crest){
    --platform-crest-top:env(safe-area-inset-top,0px);
  }
  .platform-account-dialog .account-shared-profile-card.ft-game-page .platform-profile-crest-form{
    --platform-crest-top:0px;
  }
  .account-shared-profile-card.ft-game-page :is(.platform-profile-crest-form,.team-inline-crest) .crest-stage{
    position:sticky;
    top:var(--platform-crest-top);
    z-index:40;
    min-height:96px;
    height:96px;
    border:1px solid var(--line);
    border-radius:16px;
    background:#f1f2ed;
    box-shadow:0 6px 18px rgba(17,43,32,.08);
  }
  .account-shared-profile-card.ft-game-page :is(.platform-profile-crest-form,.team-inline-crest) .crest-stage :is(.crest.large,.ranking-crest){
    width:64px;
    height:76px;
  }
  .account-shared-profile-card.ft-game-page :is(.platform-profile-crest-form,.team-inline-crest) .crest-controls :is(button,input){
    scroll-margin-top:calc(108px + var(--platform-crest-top));
  }
}

p.platform-signup-disclosure{display:block;line-height:1.5}
.platform-signup-disclosure a{color:var(--green);text-decoration:underline;text-underline-offset:2px}
