/* Detail-only refinement. The live site's shell and public directory cards stay intact. */
.clan-detail-hero,.clan-roster-panel,.clan-info-panel,.clan-owner-inbox{border:1px solid #ffffff15;border-radius:10px;background:#0d0d0d55;overflow:hidden}.clan-detail-banner{height:170px;position:relative;background:#111111}.clan-detail-banner>img{height:100%;width:100%;object-fit:cover;opacity:.7}.clan-detail-banner:after{content:'';position:absolute;inset:0;background:linear-gradient(0deg,#0a0a0ae6,transparent 90%)}.clan-detail-banner>span{position:absolute;z-index:1;left:28px;top:24px;font-size:8px;letter-spacing:.15em;color:#dbdbdb}.clan-detail-identity{position:relative;display:flex;align-items:center;gap:23px;padding:0 28px 25px;margin-top:-25px;z-index:2}.clan-detail-identity>img{height:85px;width:85px;object-fit:cover;border-radius:12px;border:4px solid #111111}.clan-detail-identity>div:nth-child(2){flex:1;min-width:0}.clan-detail-identity h1{font-size:32px;margin:9px 0;letter-spacing:-.04em;line-height:1.2}.clan-detail-identity p{font-size:11px;color:#949494;line-height:1.7;overflow-wrap:anywhere}.clan-detail-identity .eyebrow{font-size:8px;color:#b29da6}.clan-detail-actions{display:flex;align-items:center;gap:9px}.clan-detail-actions>*{font-size:10px;padding:10px 14px;min-height:36px}.clan-detail-stats{display:grid;grid-template-columns:repeat(4,1fr);padding:20px 28px;border-top:1px solid #ffffff10;gap:20px}.clan-detail-stats>div{display:flex;align-items:baseline;gap:12px}.clan-detail-stats strong{font-size:25px;font-weight:550;letter-spacing:-.04em}.clan-detail-stats span{font-size:7px;letter-spacing:.1em;color:#767676}.clan-demo-switch{display:flex;align-items:center;justify-content:space-between;gap:18px;margin:20px 0;padding:14px 17px;border:1px dashed #ffffff18;border-radius:7px;color:#9f9f9f}.clan-demo-switch>span{font-size:8px;letter-spacing:.1em}.clan-demo-switch small{display:block;margin-top:6px;font-size:9px;letter-spacing:0;color:#727272}.clan-demo-switch>div{display:flex;gap:5px}.clan-demo-switch button{font-size:9px;padding:8px 11px;min-height:30px;background:transparent;border-color:transparent}.clan-demo-switch button.active{background:#ffffff08;border-color:#ffffff22;color:#ededed}.clan-detail-grid{display:grid;grid-template-columns:minmax(0,1fr) 280px;gap:20px}.clan-roster-panel,.clan-info-panel,.clan-owner-inbox{padding:25px}.clan-roster-panel .profile-block-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:18px}.clan-roster-panel h2,.clan-owner-inbox h2{font-size:22px;margin:9px 0 0;letter-spacing:-.03em}.clan-roster-panel h2 small,.clan-owner-inbox h2 small{font-size:12px;color:#828282;padding-left:9px}.clan-roster-panel .search-field{max-width:235px}.clan-roster-panel .search-field input{font-size:10px;min-width:0;width:100%;padding:10px 12px}.clan-roster-member{display:flex;align-items:center;gap:13px;padding:15px 0;border-top:1px solid #ffffff0c;color:inherit;transition:background .15s}.clan-roster-member:hover{background:#ffffff03}.clan-roster-member>img{height:36px;width:36px;object-fit:cover;border-radius:7px}.clan-roster-member>span:nth-child(2){min-width:0;flex:1}.clan-roster-member strong{display:block;font-size:12px;font-weight:550;overflow-wrap:anywhere}.clan-roster-member small{display:block;font-size:6px;letter-spacing:.11em;color:#787878;margin-top:7px}.roster-member-end{font-size:9px;color:#898989;flex-shrink:0}.clan-info-panel{align-self:start}.clan-info-panel h2{font-size:26px;line-height:1.3;letter-spacing:-.04em;margin:17px 0 22px}.clan-info-panel dl{margin:0}.clan-info-panel dl>div{display:flex;justify-content:space-between;gap:15px;padding:14px 0;border-top:1px solid #ffffff0e}.clan-info-panel dt{font-size:10px;color:#757575}.clan-info-panel dd{font-size:11px;margin:0;text-align:right;max-width:60%;overflow-wrap:anywhere}.clan-info-panel>p{font-size:9px;color:#6b6b6b;line-height:1.8;margin-top:20px}.clan-owner-inbox{margin-top:20px}.clan-application{display:flex;justify-content:space-between;align-items:center;gap:20px;border-top:1px solid #ffffff10;padding:20px 0}.clan-application strong{font-size:13px}.clan-application small{display:block;font-size:9px;color:#7f7f7f;margin-top:6px}.clan-application p{font-size:11px;line-height:1.8;color:#a0a0a0;margin:10px 0}.clan-application time{font-size:8px;color:#6d6d6d}.clan-application>div:last-child{display:flex;gap:8px}.clan-application button{font-size:10px;min-height:33px;padding:8px 13px}.clan-inbox-empty{padding:30px 0;color:#aaaaaa;font-size:13px}.clan-inbox-empty p{font-size:10px;margin-top:9px;color:#757575}
#dialog.join-request-dialog,#dialog.purchase-review-dialog{width:min(510px,calc(100vw - 32px));max-height:calc(100dvh - 32px);padding:26px;border-radius:12px;border:1px solid #ffffff24;background:#111111;overflow:auto}#dialog.join-request-dialog .dialog-top,#dialog.purchase-review-dialog .dialog-top{position:static;background:transparent;margin:0 0 23px;padding:0 0 15px;border-bottom:1px solid #ffffff0e}.detail-modal-heading h2,.checkout-review header h2{font-size:30px;letter-spacing:-.04em;line-height:1.3;margin:13px 0 10px}.detail-modal-heading p,.checkout-review header p{font-size:11px;color:#8b8b8b;line-height:1.8;margin:0}.detail-modal-heading .eyebrow,.checkout-review .eyebrow{font-size:8px;letter-spacing:.1em;color:#b89ca7}.join-request-form{display:flex;flex-direction:column;gap:18px;margin-top:26px}.join-request-form label{display:block;font-size:10px;color:#a6a6a6}.join-request-form label small{float:right;color:#6c6c6c;font-size:9px}.join-request-form input,.join-request-form textarea{display:block;width:100%;box-sizing:border-box;background:#ffffff03;border:1px solid #ffffff16;border-radius:6px;padding:12px;margin-top:9px;color:#e3e3e3;font:12px/1.5 inherit;min-width:0}.join-request-form textarea{resize:vertical;min-height:86px}.join-request-form>button{min-height:40px;font-size:11px}.detail-demo-note{font-size:9px!important;line-height:1.8;color:#7e7e7e!important;border-left:2px solid #b497a94d;padding:2px 0 2px 12px;margin:19px 0}.detail-modal-actions{display:flex;align-items:center;gap:10px;justify-content:flex-end;margin-top:24px}.detail-modal-actions button{font-size:10px;min-height:38px;padding:10px 15px}.request-summary{padding:20px 0}.request-summary strong{display:block;font-size:16px}.request-summary span,.request-summary small{display:block;font-size:11px;color:#999999;margin-top:10px;line-height:1.7}.request-summary small{font-size:9px;color:#7e7e7e}.checkout-item{display:flex;align-items:center;gap:17px;padding:21px 0;margin:23px 0 0;border-block:1px solid #ffffff10}.checkout-item-icon{display:grid;place-items:center;width:48px;height:48px;border:1px solid #ffffff18;border-radius:10px;background:#ffffff03;color:#bca1af;flex-shrink:0}.checkout-item-icon svg{height:21px;width:21px}.checkout-item small{font-size:7px;color:#868686;letter-spacing:.1em}.checkout-item h3{font-size:20px;line-height:1.4;margin:7px 0;letter-spacing:-.02em}.checkout-item>div>span{font-size:10px;color:#818181}.checkout-breakdown{display:block;margin:12px 0}.checkout-breakdown>div{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:13px 0}.checkout-breakdown dt{font-size:11px;color:#868686}.checkout-breakdown dd{font-size:11px;color:#c8c8c8;margin:0;text-align:right}.checkout-breakdown .checkout-total{border-top:1px solid #ffffff14;margin-top:9px;padding:21px 0 7px}.checkout-total dt{color:#ababab;font-size:12px}.checkout-total dd{font-size:26px;color:#ececec;font-weight:550;letter-spacing:-.04em}.demo-purchase-receipt{display:flex;flex-direction:column;align-items:center;text-align:center;padding:10px 12px 15px;gap:16px}.receipt-check{display:grid;place-items:center;width:54px;height:54px;border:1px solid #96b5a844;border-radius:50%;background:#96b5a80b;color:#96b5a8}.receipt-check svg{width:24px;height:24px}.demo-purchase-receipt h2{font-size:26px;line-height:1.3;margin:0}.demo-purchase-receipt p{font-size:11px;line-height:1.8;color:#949494;margin:0}.demo-purchase-receipt>strong{font-size:28px;letter-spacing:-.04em}.demo-purchase-receipt>small{font-size:9px;color:#717171}.demo-purchase-receipt>a{margin-top:10px;font-size:11px}
/* The same compact dossier is used when entering from Team, Profiles, or a clan roster. */
.unified-player-profile:not(.appearance-workspace){max-width:1050px;margin-inline:auto}.unified-player-profile:not(.appearance-workspace) .profile-local-nav{margin-bottom:20px;display:flex;gap:8px;flex-wrap:wrap}.unified-player-profile:not(.appearance-workspace) .profile-local-nav .btn{font-size:10px;padding:8px 12px;min-height:32px}.unified-player-profile .profile-hero.s-profile{min-height:0;border-radius:12px;border:1px solid #ffffff1b;overflow:hidden;background:#0d0d0d55}.unified-player-profile .profile-scene{position:relative;height:175px;min-height:0;overflow:hidden;background:linear-gradient(125deg,#1d1d1daa,#12121277)}.unified-player-profile .profile-scene>.surface-banner,.detail-profile-banner{position:absolute;inset:0;height:100%;width:100%;object-fit:cover;opacity:.65;z-index:0}.unified-player-profile .profile-scene:after{content:'';position:absolute;inset:0;background:linear-gradient(0deg,#0e0e0ee6,transparent 90%)}.unified-player-profile .profile-scene-label{position:absolute;left:28px;right:28px;top:24px;display:flex;justify-content:space-between;gap:18px;z-index:1;font-size:7px;letter-spacing:.13em;color:#a6a6a6}.unified-player-profile .profile-hero-body{display:grid;grid-template-columns:88px minmax(0,1fr) auto;align-items:center;gap:25px;padding:0 32px 30px;margin-top:-29px;position:relative;z-index:7;text-align:left}.unified-player-profile .profile-portrait{width:88px;height:88px;margin:0;flex-shrink:0}.unified-player-profile .profile-person{min-width:0;text-align:left}.unified-player-profile .profile-person h1{font-size:32px;line-height:1.3;margin:12px 0 9px;overflow-wrap:anywhere;letter-spacing:-.045em}.unified-player-profile .profile-badges{display:flex;flex-wrap:wrap;gap:7px;justify-content:flex-start}.unified-player-profile .profile-badges>span{font-size:6px;letter-spacing:.1em;padding:5px 7px;border:1px solid #ffffff18;border-radius:4px;background:#ffffff03;color:#a998ab}.unified-player-profile .profile-identifiers{display:flex;align-items:center;gap:12px;flex-wrap:wrap;font-size:9px;color:#7c7c7c;justify-content:flex-start}.unified-player-profile .profile-identifiers code{font-size:9px;overflow-wrap:anywhere}.unified-player-profile .profile-hero-actions{display:flex;gap:8px;align-items:center;justify-content:flex-end}.unified-player-profile .profile-hero-actions .btn{font-size:10px;min-height:34px;padding:9px 13px}.unified-player-profile .profile-stat-strip{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:0;padding:20px 0;border-block:1px solid #ffffff0e;margin:23px 0}.unified-player-profile .profile-stat-strip>div{padding:7px 25px;background:transparent;border:0;border-right:1px solid #ffffff0e;border-radius:0}.unified-player-profile .profile-stat-strip>div:first-child{padding-left:0}.unified-player-profile .profile-stat-strip>div:last-child{border:0}.unified-player-profile .profile-stat-strip strong{font-size:26px;font-weight:550}.unified-player-profile .profile-stat-strip span{display:block;font-size:7px;letter-spacing:.1em;color:#747474;margin-top:10px}.unified-player-profile .profile-content-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(260px,.7fr);gap:20px}.unified-player-profile .profile-record-panel,.unified-player-profile .profile-equipment{padding:25px;background:#0d0d0d33;border:1px solid #ffffff14;border-radius:9px}.unified-player-profile .profile-block-heading{margin-bottom:20px;display:flex;align-items:center;justify-content:space-between;gap:15px}.unified-player-profile .profile-block-heading h2{font-size:18px;letter-spacing:-.03em}.unified-player-profile .profile-block-heading>span{font-size:7px;color:#767676}.unified-player-profile .profile-equipped-list>div{padding:12px 0;border-top:1px solid #ffffff0b;display:flex;justify-content:space-between;gap:15px}.unified-player-profile .profile-equipped-list span{font-size:10px;color:#7e7e7e}.unified-player-profile .profile-equipped-list strong{font-size:10px;text-align:right;font-weight:450}.unified-player-profile .profile-no-record{padding:15px 0}.unified-player-profile .profile-no-record h3{font-size:18px}.unified-player-profile .profile-no-record p{font-size:11px;line-height:1.8;color:#7e7e7e;margin-top:10px}.unified-player-profile .profile-record-links{display:flex;gap:9px;flex-wrap:wrap;margin-top:23px}.unified-player-profile .profile-record-links .btn{font-size:10px;min-height:32px;padding:8px 12px}
@media(max-width:800px){.clan-detail-grid{grid-template-columns:1fr}.clan-info-panel h2 br{display:none}.clan-detail-identity{flex-wrap:wrap;padding-inline:22px;gap:17px}.clan-detail-actions{width:100%;padding-top:7px}.clan-detail-stats{padding-inline:22px;gap:15px}.clan-detail-stats>div{flex-direction:column;gap:9px}.clan-roster-panel,.clan-info-panel,.clan-owner-inbox{padding:22px}.unified-player-profile .profile-content-grid{grid-template-columns:1fr}.unified-player-profile .profile-hero-body{grid-template-columns:74px minmax(0,1fr);padding:0 24px 26px;gap:22px}.unified-player-profile .profile-portrait{width:74px;height:74px}.unified-player-profile .profile-person h1{font-size:27px}.unified-player-profile .profile-hero-actions{grid-column:1/-1;justify-content:flex-start}.unified-player-profile .profile-scene{height:155px}.unified-player-profile .profile-stat-strip>div{padding-inline:15px}.unified-player-profile .profile-stat-strip strong{font-size:23px}}
@media(max-width:480px){.clan-demo-switch{align-items:flex-start;flex-direction:column;gap:12px}.clan-roster-panel .profile-block-heading{align-items:flex-start;flex-direction:column}.clan-roster-panel .search-field{max-width:none;width:100%}.clan-roster-member{gap:11px}.clan-roster-member strong{font-size:11px}.roster-member-end{font-size:8px;max-width:70px;text-align:right;line-height:1.7}.clan-application{align-items:flex-start;flex-direction:column}.clan-detail-identity h1{font-size:27px}.clan-detail-identity>img{height:68px;width:68px}.clan-detail-banner{height:140px}.detail-modal-actions{flex-direction:column-reverse;align-items:stretch}.detail-modal-actions button{width:100%}#dialog.join-request-dialog,#dialog.purchase-review-dialog{padding:22px}.unified-player-profile .profile-stat-strip{grid-template-columns:repeat(2,1fr);gap:22px 0}.unified-player-profile .profile-stat-strip>div:nth-child(3){padding-left:0}.unified-player-profile .profile-stat-strip>div:nth-child(2){border-right:0}.unified-player-profile .profile-hero-body{grid-template-columns:60px minmax(0,1fr);gap:18px;padding-inline:22px}.unified-player-profile .profile-portrait{width:60px;height:60px}.unified-player-profile .profile-person h1{font-size:24px}.unified-player-profile .profile-scene-label{left:22px;right:22px;font-size:6px}.unified-player-profile .profile-scene-label>span:last-child{max-width:100px;text-align:right;line-height:1.6}}
.verified-clan-applicant{display:flex;gap:16px;align-items:center;padding:24px 0;border-bottom:1px solid #ffffff12}.verified-clan-applicant strong{font-size:17px;display:block}.verified-clan-applicant code{font-size:10px;color:#8e8e8e;display:block;margin:9px 0}.verified-clan-applicant small{font-size:7px;color:#8faf9e;letter-spacing:.12em}.clan-owner-label{font-size:9px;letter-spacing:.12em;color:#b39cad}.clan-settings-actions{display:flex;flex-direction:column;gap:9px;margin-top:23px}.clan-settings-actions button{width:100%;font-size:10px;min-height:35px;text-align:left;padding:10px 12px}.clan-settings-actions .danger,.detail-modal-actions .danger{background:#b9505010;border-color:#b9505033;color:#e2a0a0}.clan-transfer-notice{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:22px 25px;margin:20px 0;background:#baa1bc08;border:1px solid #baa1bc2b;border-radius:9px}.clan-transfer-notice h3{font-size:20px;margin:9px 0}.clan-transfer-notice p{font-size:10px;color:#8a8a8a;line-height:1.8}.clan-transfer-notice>div:last-child{display:flex;gap:8px;flex-shrink:0}.clan-transfer-notice button{font-size:10px;padding:9px 12px;min-height:34px}.join-request-form select{display:block;box-sizing:border-box;max-width:100%;width:100%;background:#161616;color:#d8d8d8;border:1px solid #ffffff20;padding:12px;margin-top:10px;border-radius:6px;font-size:12px}@media(max-width:650px){.clan-transfer-notice{flex-direction:column;align-items:flex-start;padding:22px}.clan-transfer-notice>div:last-child{flex-wrap:wrap}}
/* Clan management follows the existing dossier, with compact controls on mobile. */
.clan-settings-panel,.clan-invitations{margin-top:22px;padding:24px;border:1px solid #ffffff18;border-radius:10px;background:#0c0c0c35;min-width:0}.clan-settings-panel h2,.clan-invitations h2{font-size:23px;letter-spacing:-.04em;margin:7px 0}.clan-identity-editor{display:grid;grid-template-columns:1fr 1fr;gap:25px}.clan-identity-editor .detail-modal-actions{grid-column:1/-1;margin:0}.clan-identity-editor .join-request-form{margin:0}.clan-art-editor{display:grid;grid-template-columns:1fr 1fr;gap:12px;min-width:0}.clan-art-editor label{display:flex;flex-direction:column;gap:9px;font-size:11px;min-width:0}.clan-art-editor small{font-size:9px;color:#868686}.clan-art-editor input{width:100%;font-size:10px;padding:10px;border:1px solid #ffffff16;border-radius:6px;background:#ffffff03}.clan-art-editor p{grid-column:1/-1;margin:0}.clan-upload-preview{display:block;height:72px;background:#ffffff03;border:1px dashed #ffffff18;border-radius:6px;overflow:hidden}.clan-upload-preview:empty{display:none}.clan-upload-preview img{width:100%;height:100%;object-fit:cover}.clan-art-editor [data-art="icon"] img{object-fit:contain}.clan-member-row{border-bottom:1px solid #ffffff0c}.clan-member-row .clan-roster-member{border:0}.clan-member-tools{display:flex;gap:7px;justify-content:flex-end;padding:0 15px 12px}.clan-member-tools button{font-size:9px;padding:6px 10px;min-height:29px;border:1px solid #ffffff15;border-radius:5px;background:#ffffff03}.clan-invite-search{display:flex;gap:10px}.clan-invite-search input{flex:1;min-width:0;padding:12px 14px;border:1px solid #ffffff1a;border-radius:6px;background:#ffffff03;color:inherit}.clan-invite-result,.clan-pending-invites>div{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:10px;padding:12px;border:1px solid #ffffff12;border-radius:6px;background:#ffffff02}.clan-invite-result>div{display:flex;flex-direction:column;gap:5px}.clan-invite-result strong{font-size:12px}.clan-invite-result code,.clan-pending-invites code{font-size:10px;color:#9c9c9c}.clan-invite-result small,.clan-pending-invites small{font-size:9px;color:#787878}.clan-invite-result button,.clan-pending-invites button{font-size:10px;white-space:nowrap}.clan-pending-invites h3{font-size:12px;margin-top:22px}.clan-settings-panel .chip{font-size:8px}.clan-invitations .clan-application>div:first-child{display:flex;flex-direction:column;gap:7px}.clan-invitations{margin:0 0 23px}
@media(max-width:700px){.clan-settings-panel,.clan-invitations{padding:17px}.clan-identity-editor{grid-template-columns:1fr;gap:18px}.clan-settings-panel h2,.clan-invitations h2{font-size:20px}.clan-invite-search{flex-direction:column}.clan-pending-invites>div{flex-wrap:wrap}.clan-member-tools{flex-wrap:wrap}.clan-settings-panel>.profile-block-heading{flex-wrap:wrap;gap:10px}}
