.player-identity-document{--identity-corner:24px;width:100%;max-width:940px;margin:0 auto 24px;background:transparent;border:0;color:#203f53}
.identity-document-settings{background:#fff;border:1px solid #bdcedb;border-radius:var(--identity-corner);overflow:hidden;clip-path:inset(0 round var(--identity-corner));isolation:isolate;box-shadow:0 8px 30px #203f5310}
.identity-reward-wallet{margin:0 0 16px;border:1px solid #bdcedb;border-radius:var(--identity-corner);overflow:hidden;background:#fff;box-shadow:0 8px 30px #203f5310}
.identity-reward-heading{display:grid;grid-template-columns:minmax(0,1fr) auto 44px;align-items:center;gap:12px;padding:12px 20px 12px 28px;background:linear-gradient(135deg,#26303f,#191b22);color:#fff}
.identity-reward-heading h2{font-size:19px;line-height:1.4;margin:0;color:inherit;min-width:0}
.identity-reward-count{min-width:32px;padding:5px 10px;text-align:center;border-radius:999px;background:#FFD300;color:#26303f;font-size:14px;font-weight:800;font-variant-numeric:tabular-nums}
.identity-reward-toggle[aria-expanded="true"] .identity-reward-shackle{transform:translateX(9px) scaleX(-1);transform-origin:16px 14px}
.identity-reward-wallet .wallet-content{padding:20px 28px;gap:16px}
.identity-reward-wallet .wallet-total svg{width:36px;height:42px;flex:none;color:#FFD300}
.identity-reward-wallet [data-wallet-use]{min-height:44px}
.identity-document-intro{display:block;position:relative;height:auto;padding:26px 28px 22px;margin:0 0 16px;background:#fffdf8;border:2px solid var(--identity-level-color,#bdcedb);border-radius:var(--identity-corner);box-shadow:inset 0 0 46px 8px var(--identity-level-tint,#bdcedb30),inset 0 0 16px 3px var(--identity-level-tint,#bdcedb30);overflow:hidden}
.identity-document-intro .eyebrow{font-size:11px;color:#607687;letter-spacing:1.2px}
.identity-document-intro h1{font-size:28px;margin:10px 0 8px;line-height:1.3}
.identity-document-intro p{font-size:15px;line-height:1.6;color:#526b7c;margin:0;max-width:650px}
.identity-document-section{padding:22px 28px;border-bottom:1px solid #dbe4ea}
.identity-document-section:last-child{border-bottom:0}
.identity-section-heading{display:grid;grid-template-columns:minmax(0,1fr) auto 44px;align-items:center;gap:12px;margin:-22px -28px 20px;padding:12px 20px 12px 28px;min-width:0;background:linear-gradient(135deg,#26303f,#191b22);color:#fff}
.identity-section-heading h2{grid-column:1;font-size:19px;margin:0;line-height:1.4;min-width:0;color:#fff}
.identity-edit-button{grid-column:3;grid-row:1;display:flex;align-items:center;justify-content:center;width:44px;height:44px;padding:8px;background:linear-gradient(145deg,#5d6b7b,#2b3747);color:#fff;border:2px solid #ffffffb3;border-radius:12px;box-shadow:inset 0 1px 1px #ffffff80,inset 0 -2px 3px #10192480,0 3px 0 #101722,0 5px 9px #0005;touch-action:manipulation}
.identity-edit-button svg{width:24px;height:24px;flex:none}
.identity-edit-button:hover,.identity-edit-button:focus-visible{background:linear-gradient(145deg,#718090,#3a495c);border-color:#FFD300;outline:2px solid #FFD300;outline-offset:2px}
.identity-edit-button:active{transform:translateY(2px);box-shadow:inset 0 2px 4px #10192480,inset 0 -1px 1px #ffffff30,0 1px 0 #101722,0 2px 4px #0004}
.identity-section-heading>:is(.identity-count,.identity-status){grid-column:2;grid-row:1;max-width:150px}
.identity-document-intro .identity-welcome{font-size:18px;font-weight:700;color:#26303f;margin:0 0 6px}
.identity-data-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px 24px;margin:0}
.identity-data-grid>div{min-width:0}.identity-data-grid .identity-wide{grid-column:1/-1}
.identity-data-grid dt{font-size:12px;line-height:1.5;color:#657b8b;margin-bottom:3px}
.identity-data-grid dd{font-size:16px;font-weight:650;line-height:1.5;margin:0;overflow-wrap:anywhere}
.identity-level-comparison{display:block;font-size:12px;font-weight:500;line-height:1.5;color:#526b7c;margin-top:5px}
.identity-comparison-control{margin-top:7px;font-weight:500}
.identity-comparison-toggle{display:flex;align-items:center;justify-content:space-between;gap:8px;min-height:44px;width:100%;padding:7px 9px;border:1px solid #bdcedb;border-radius:9px;background:#f5f8fa;color:#254963;text-align:left;font-size:12px;line-height:1.4;white-space:normal}
.identity-comparison-toggle:focus-visible{outline:2px solid #254963;outline-offset:2px}
.identity-comparison-label{display:block;font-size:12px;margin:10px 0 5px}
#identityComparisonPlatform{display:block;width:100%;max-width:100%;min-width:0;min-height:44px;padding:8px;border:1px solid #bdcedb;border-radius:8px;background:#fff;color:#203f53;font-size:16px}
.player-identity-document [hidden]{display:none!important}
.identity-count,.identity-status{font-size:12px;font-weight:750;line-height:1.4;padding:5px 9px;border-radius:999px;background:#edf2f5;color:#526774;white-space:nowrap}
.identity-count{background:#fff6c2;color:#675600;white-space:normal;text-align:center}
.identity-status.is-active{background:#e7f6ed;color:#246143}
.identity-availability-list{display:grid;gap:0}
.identity-availability-row{padding:14px 0;border-bottom:1px dashed #d6e1e8;min-width:0}
.identity-availability-row:first-child{padding-top:0}.identity-availability-row:last-child{padding-bottom:0;border-bottom:0}
.identity-availability-title{display:flex;align-items:center;justify-content:space-between;gap:12px}
.identity-availability-title strong{font-size:14px}
.identity-availability-row p{font-size:14px;line-height:1.55;margin:5px 0 0;color:#526b7c}
.identity-availability-row .identity-days{font-size:16px;font-weight:750;color:#203f53}
.identity-empty{font-size:14px;line-height:1.6;color:#607687;margin:0}
.identity-editor-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;flex-wrap:wrap;margin-bottom:18px}
.identity-editor-heading h1{font-size:24px;margin:0}
.identity-editor-heading button{min-height:44px;font-size:14px}
.player-identity-editor[data-identity-editing="anagraphic"] :is(.player-profile-package,.player-preferences-package),
.player-identity-editor[data-identity-editing="profile"] :is(.player-anagraphic-package,.player-preferences-package),
.player-identity-editor[data-identity-editing="preferences"] .player-home-profile-form{display:none!important}
@media(max-width:600px){
 .player-identity-document{--identity-corner:24px}
 .identity-document-intro{padding:22px 18px 18px}
 .identity-document-intro h1{font-size:25px}
 .identity-document-section{padding:18px}
 .identity-section-heading{gap:8px;margin:-18px -18px 18px;padding:10px 10px 10px 18px}
 .identity-section-heading h2{font-size:16px}
 .identity-section-heading>:is(.identity-count,.identity-status){max-width:92px;font-size:10px;padding:5px 7px}
 .identity-data-grid{gap:15px 14px}
 .identity-data-grid dd{font-size:15px}
 .identity-document-intro p{font-size:14px}
 .identity-reward-heading{gap:8px;padding:10px 10px 10px 18px}
 .identity-reward-heading h2{font-size:16px}
 .identity-reward-wallet .wallet-content{padding:18px}
}
@media(max-width:340px){.identity-data-grid{grid-template-columns:minmax(0,1fr)}}

.identity-section-title{grid-column:1;grid-row:1;display:flex;align-items:center;gap:5px;min-width:0}
.identity-section-title h2{overflow-wrap:anywhere}
.identity-info-button{display:flex;align-items:center;justify-content:center;flex:0 0 44px;width:44px;height:44px;min-height:44px;padding:10px;border:0;border-radius:10px;background:transparent;color:#fff;touch-action:manipulation}
.identity-info-button span:not(.identity-info-label){display:flex;align-items:center;justify-content:center;width:22px;height:22px;border:1.5px solid currentColor;border-radius:50%;font:700 15px/1 Georgia,serif}
.identity-info-button[aria-expanded="true"]{background:#ffffff1a;color:#FFD300}
.identity-info-button:focus-visible{outline:2px solid #FFD300;outline-offset:1px}
.identity-info-note{margin:0 0 18px;padding:14px 16px;border:1px solid #b9d5e8;border-radius:12px;background:#eef6fc;color:#254963}
.identity-info-note p{margin:0;font-size:15px;line-height:1.65}
.identity-info-note strong{font-weight:750}
.identity-reward-wallet>.identity-info-note{margin:16px 28px}
@media(max-width:600px){.identity-section-title{gap:0}.identity-reward-wallet>.identity-info-note{margin:16px 18px}.identity-info-note{padding:12px 14px}}

.identity-battlepadel-invitation{font-weight:500}
.identity-battlepadel-profile-line{display:flex;align-items:center;gap:12px;flex-wrap:wrap;min-height:44px}
.identity-profile-answer{font-size:16px;font-weight:650;line-height:1.5}
.identity-battlepadel-profile-line .identity-info-button{width:auto;max-width:100%;height:auto;flex:0 1 auto;gap:10px;padding:7px 12px;border:1px solid #bdcedb;border-radius:12px;background:#eef6fc;color:#254963}
.identity-battlepadel-profile-line .identity-info-label{font-size:14px;font-weight:650;line-height:1.4}
.identity-battlepadel-profile-line .identity-info-button span[aria-hidden]{flex-shrink:0}
.identity-battlepadel-profile-line .identity-info-button:hover,.identity-battlepadel-profile-line .identity-info-button[aria-expanded="true"]{background:#dcecf7;border-color:#254963;color:#254963}
.identity-battlepadel-profile-line .identity-info-button:focus-visible{outline-color:#254963}
.identity-battlepadel-invitation .identity-info-note{margin:12px 0 0}
.identity-battlepadel-logo{display:block;max-width:100%;height:auto;margin:0 auto 14px;border-radius:12px}
.identity-battlepadel-invitation .identity-info-note p+p{margin-top:10px}
.identity-battlepadel-link{display:block;min-height:44px;margin-top:14px;padding:10px 12px;background:#26303f;color:#fff;border-radius:10px;font-size:14px;line-height:1.6;text-align:center;text-decoration:underline;overflow-wrap:anywhere}
.identity-battlepadel-link:focus-visible{outline:2px solid #254963;outline-offset:3px}

.identity-habitual-paused{display:flex;flex-wrap:wrap;align-items:baseline;gap:4px 12px;margin:0 0 18px;padding:10px 12px;border-left:3px solid #d7b546;border-radius:0 8px 8px 0;background:#fff9e6;font-size:13px;line-height:1.5;color:#785014}
.identity-habitual-paused>strong{font-weight:750}
.identity-habitual-paused>span{font-size:12px;color:#6b6556}

.identity-availability-title .identity-status{max-width:50%;white-space:normal;text-align:center;overflow-wrap:anywhere}

/* Search states live in the card body, below the title and edit action. */
.identity-main-state{margin:0 0 17px;padding:0 0 13px;border-bottom:1px solid #dce5ec;min-width:0}
.identity-state-row{display:flex;flex-wrap:wrap;align-items:center;gap:8px 12px}
.identity-state-row>span:first-child{font-size:13px;line-height:1.5;color:#607787}
.player-identity-document :is(.identity-main-state,.identity-window-state) .identity-status{display:inline-block;max-width:100%;box-sizing:border-box;white-space:normal;text-align:left;border-radius:999px;font-size:12px;line-height:1.5;padding:6px 11px;overflow-wrap:break-word}
.player-identity-document .identity-status.is-inactive{background:#fdebea;color:#9a3832}
.identity-state-count,.identity-partial-paused{font-size:12px;line-height:1.5;color:#607787;margin:7px 0 0}
.identity-partial-paused{color:#9a3832}
.identity-availability-row .identity-window-state{margin:7px 0 9px}

/* Aligned card headers expose a white strip before the next card. */
.player-identity-document .identity-document-settings{display:block;padding:0 0 12px;background:transparent;border:0;overflow:visible;clip-path:none;box-shadow:none;isolation:isolate}
.player-identity-document .identity-document-section{position:relative;padding:0;margin:0;border:1px solid #8197a9;border-radius:24px 24px 0 0;background:#fff;overflow:hidden;box-shadow:none;scroll-margin-top:calc(var(--interaction-bar-offset,100px) + 12px)}
.player-identity-document .identity-document-section+.identity-document-section{margin-top:0}
.player-identity-document .identity-document-section .identity-section-heading{display:grid;grid-template-columns:minmax(0,1fr) 44px;gap:10px;min-height:64px;padding:10px 16px;margin:0;border-radius:23px 23px 0 0;border-top:1px solid #ffffff60}
.player-identity-document .identity-document-section[data-expanded=true] .identity-section-heading{min-height:64px;padding-bottom:12px}
.player-identity-document .identity-card-toggle{display:flex;align-items:center;justify-content:center;grid-column:2;grid-row:1;width:44px;height:44px;padding:10px;border:1px solid #ffffff66;border-radius:12px;background:#ffffff12;color:#fff}
.player-identity-document .identity-card-toggle svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;transition:transform .2s}
.player-identity-document .identity-card-toggle[aria-expanded=true] svg{transform:rotate(180deg)}
.player-identity-document .identity-card-toggle:focus-visible{outline:2px solid #FFD300;outline-offset:2px}
.player-identity-document .identity-card-body{padding:14px 18px 28px}
.player-identity-document .identity-card-body[hidden]{display:none!important}
.player-identity-document .identity-card-actions{display:flex;justify-content:flex-end;margin:0 0 12px}
.player-identity-document .identity-card-actions .identity-edit-button{margin:0}
.identity-deck-controls{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap;margin:0 0 14px;padding:0 3px;color:#526b7c;font-size:13px}
.identity-deck-controls>span{font-weight:750}
.identity-deck-controls>div{display:flex;gap:8px;flex-wrap:wrap}
.identity-deck-controls button{display:inline-flex;align-items:center;gap:6px;min-height:44px;padding:9px 11px;border:1px solid #bdcedb;border-radius:10px;background:#fff;color:#254963;font-size:13px;font-weight:700}
.identity-deck-controls svg{width:16px;height:18px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
@media(prefers-reduced-motion:reduce){.player-identity-document .identity-card-toggle svg{transition:none}}

.player-identity-document .identity-document-settings{background:#fff;border-radius:24px 24px 0 0;padding-bottom:0}
.player-identity-document .identity-document-section{width:100%;margin-inline:0;border-color:#bdcedb;border-bottom:0}
.player-identity-document .identity-document-section[data-expanded=false]::after{content:"";display:block;height:16px;background:#fff}
.player-identity-document .identity-document-section:last-child{border-bottom:1px solid #bdcedb}

/* Information follows the longest title; the original disclosure arrow stays on the right. */
.player-identity-document .identity-document-section .identity-section-heading{grid-template-columns:minmax(0,min(var(--identity-card-title-width,220px),calc(100% - 106px))) 44px minmax(0,1fr) 44px;gap:6px}
.player-identity-document .identity-document-section .identity-section-heading>.identity-section-title{grid-column:1;grid-row:1}
.player-identity-document .identity-document-section .identity-section-heading>.identity-info-button{grid-column:2;grid-row:1;display:flex}
.player-identity-document .identity-document-section .identity-section-heading>.identity-card-toggle{grid-column:4;grid-row:1}
.player-identity-document .identity-document-section>.identity-info-note{margin:12px 16px}
.identity-deck-controls button{display:flex;flex-direction:column;justify-content:center;gap:0;min-width:116px;min-height:52px;border-radius:12px;padding:8px 12px;line-height:1.35;text-align:center}

/* The unframed area after the information button is the card disclosure target. */
.player-identity-document .identity-document-section .identity-section-heading>.identity-card-toggle{grid-column:3/-1;grid-row:1;position:relative;align-self:stretch;justify-content:flex-end;width:auto;height:auto;min-height:64px;margin:-10px -16px -10px 0;padding:10px 16px 10px 12px;border:0;border-radius:0;background:transparent;box-shadow:none}
.player-identity-document .identity-document-section .identity-section-heading>.identity-card-toggle::before{content:"";position:absolute;left:0;top:50%;width:1px;height:22px;transform:translateY(-50%);background:#ffffff85;pointer-events:none}
.player-identity-document .identity-document-section[data-expanded=true] .identity-section-heading>.identity-card-toggle{margin-bottom:-12px}
.player-identity-document .identity-document-section .identity-section-heading>.identity-card-toggle:hover{background:#ffffff08}
.player-identity-document .identity-document-section .identity-section-heading>.identity-card-toggle:focus-visible{outline:2px solid #FFD300;outline-offset:-4px}

/* A continuous paper edge joins the lightly overlapping cards. */
body .player-identity-document .identity-document-settings{position:relative;display:block;box-sizing:border-box;isolation:isolate;overflow:visible;background:#fff;border:1px solid #aabfce;border-radius:24px 24px 0 0;padding:0}
body .player-identity-document .identity-document-settings>.identity-document-section{position:relative;box-sizing:border-box;width:100%;margin:0;border-left:0;border-right:0;border-bottom:0;border-top:1px solid #bdcedb;border-radius:23px 23px 0 0;background:#fff}
body .player-identity-document .identity-document-settings>.identity-document-section:first-of-type{border-top:0;box-shadow:none}
body .player-identity-document .identity-document-settings>.identity-document-section~.identity-document-section{margin-top:-6px;box-shadow:0 -7px 11px -5px #2037493d,0 -2px 4px -2px #20374924}
body .player-identity-document .identity-document-settings>.identity-document-section:last-of-type{border-bottom:0}

/* Dark-header help icons reflect disclosure state, including after touch hover. */
body :is(.identity-section-heading,.identity-reward-heading,.center-home-heading)>.identity-info-button[aria-expanded="false"]{color:#fff;background:transparent}
body :is(.identity-section-heading,.identity-reward-heading,.center-home-heading)>.identity-info-button[aria-expanded="true"]{color:#FFD300;background:#ffffff1a}
