.public-cover{height:155px;position:relative;overflow:hidden;border-radius:20px 20px 0 0}.public-cover>img{width:100%;height:100%;object-fit:cover}.cover-pattern{position:absolute;right:10px;top:-40px;font-size:220px;line-height:1;color:#0002;transform:rotate(-15deg)}.public-identity{display:flex;gap:17px;align-items:center;padding:0 24px;margin-top:-35px;position:relative;min-width:0}.public-avatar{width:88px;height:88px;flex-shrink:0;border:5px solid var(--bg);border-radius:25px;display:grid;place-items:center;font-size:48px;color:#151612}.public-identity h2{font-size:34px;margin:44px 0 6px;overflow-wrap:anywhere}.profile-picture{overflow:hidden}.profile-picture img{width:100%;height:100%;object-fit:cover;display:block}.public-profile-info{padding:10px 24px 26px}.public-bio{font-size:14px;line-height:1.7;overflow-wrap:anywhere}.profile-meta{font-size:11px;color:var(--muted);line-height:1.7}.brand-links{display:grid;gap:9px;border:1px solid var(--line);background:var(--panel);padding:16px;border-radius:16px;margin:20px 0}.brand-links a{display:block;text-decoration:none;overflow-wrap:anywhere;font-size:12px;line-height:1.5}.brand-links .eyebrow{font-size:9px;margin-bottom:5px}.public-actions{display:flex;flex-wrap:wrap;gap:9px}.friend-status{color:var(--lime);font-size:13px;padding:12px}.profile-look-settings{padding:18px;border:1px solid var(--line);border-radius:18px;margin:22px 0;background:var(--panel)}.profile-look-settings summary{font-weight:700;cursor:pointer;min-height:25px}.profile-color-fields{display:grid;grid-template-columns:1fr 1fr;gap:14px}.profile-color-fields input[type=color]{height:49px;width:100%;padding:5px;cursor:pointer}.field textarea{width:100%;resize:vertical;min-height:85px;background:var(--bg);border:1px solid var(--line);border-radius:12px;color:var(--ink);padding:12px;font:inherit;font-size:14px}.profile-image-picker{border:1px dashed var(--muted);border-radius:16px;padding:17px;display:flex;align-items:center;gap:12px;margin:15px 0;cursor:pointer;background:#ffffff04}.profile-image-picker input{position:absolute;width:1px;height:1px;opacity:0}.profile-image-picker:focus-within{outline:3px solid var(--pink)}.profile-image-picker b{color:var(--lime);font-size:13px}.profile-image-picker small{color:var(--muted);font-size:11px;display:block;overflow-wrap:anywhere}.profile-image-picker>span:first-child{font-size:30px;color:var(--lime)}#profile-crop{max-width:100%;height:auto;display:block;border-radius:14px;touch-action:none;cursor:grab;background:#10130e}#profile-crop-zoom{width:100%;accent-color:var(--lime)}.profile-crop-controls{display:flex;justify-content:space-between;align-items:center;gap:12px;margin:12px 0;font-size:12px}.profile-crop-controls button{font-size:11px}.profile-image-actions{display:flex;flex-wrap:wrap;gap:9px}.profile-link-button{background:none;border:0;padding:0;color:inherit;font:inherit;display:inline-flex;align-items:center;gap:9px;text-align:left;cursor:pointer}.profile-link-button:hover{color:var(--lime)}.rank-badge.verified-brand{border-color:#77c9ff;color:#77c9ff;background:#77c9ff12}#own-profile-cover{margin:20px -26px 0}#own-profile-cover .public-cover{border-radius:0}#own-profile-cover .public-identity{padding-bottom:12px}#profile-dialog .profile-banner{display:none}#app-avatar.profile-picture{display:grid;place-items:center;width:30px;height:30px;border-radius:9px}.brand-board-bio{display:block;font-size:10px;color:var(--muted);margin-top:4px;max-width:220px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
@media(max-width:700px){.public-cover{height:125px}.public-identity{padding:0 20px;gap:12px}.public-avatar{width:76px;height:76px;border-radius:22px;font-size:40px}.public-identity h2{font-size:30px!important;margin-top:41px}.public-profile-info{padding:12px 20px 24px}.public-actions button{width:100%;min-height:47px}.profile-look-settings{padding:15px}.profile-color-fields{gap:10px}.profile-color-fields .field span{font-size:11px}.field textarea{font-size:16px}#own-profile-cover{margin-left:-20px;margin-right:-20px}.brand-board-bio{max-width:130px}.profile-image-actions button{flex:1;min-height:45px}.public-profile-info .stat-box strong{font-size:14px}}

#profile-image-category{width:100%;padding:13px;background:var(--bg);color:var(--ink);border:1px solid var(--line);border-radius:12px;font:inherit}

#blackjack-panel .bj-seat[data-player-cardback] .bj-card.back{background:#263b26!important;color:var(--lime)!important;border:1px solid var(--lime)!important;background-image:none!important}
#blackjack-panel .bj-seat[data-player-cardback="back-grid"] .bj-card.back{background:repeating-linear-gradient(45deg,#20351c 0 8px,#446333 8px 10px)!important}
#blackjack-panel .bj-seat[data-player-cardback="back-pink"] .bj-card.back{background:repeating-conic-gradient(#652e50 0% 25%,#d267ab 0% 50%) 0 0/16px 16px!important}
#blackjack-panel .bj-seat[data-player-cardback="back-gold"] .bj-card.back{background:repeating-linear-gradient(135deg,#171813 0 10px,#92763b 10px 12px)!important}
#blackjack-panel .bj-seat[data-player-cardback="plus-cardback-aurora"] .bj-card.back{background:linear-gradient(140deg,#79e7d9,#7779e8,#f6a8ea)!important}
#blackjack-panel .bj-seat[data-player-cardback="plus-cardback-cosmic"] .bj-card.back{background:radial-gradient(circle at 25% 25%,#fff 0 2px,transparent 3px),linear-gradient(140deg,#172944,#49285c)!important}
#blackjack-panel .bj-seat[data-player-cardback="secret-cardback"] .bj-card.back{background:linear-gradient(135deg,#15130f,#6f5527,#17130e)!important}
#blackjack-panel .bj-seat[data-player-cardback="secret-cardback"][style] .bj-card.back{background-image:var(--player-card-image)!important;background-size:cover!important;background-position:center!important;color:transparent!important}.bj-seat-name .deck-swatch{width:21px;height:30px;border-radius:4px;font-size:13px;flex-shrink:0;margin-left:auto}.bj-seat-name .mini-avatar{width:24px;height:24px;font-size:16px}.bj-seat-name .profile-link-button{gap:5px;min-width:0}.bj-seat-name{flex-wrap:wrap}.bj-seat-name b{overflow-wrap:anywhere}#blackjack-panel .bj-seat[data-player-cardback] .bj-card.back{box-shadow:none}@media(max-width:700px){.bj-seat-name .mini-avatar{width:20px;height:20px}.bj-seat-name .deck-swatch{width:17px;height:24px}}

#open-profile{display:inline-flex;align-items:center;gap:8px}#open-profile[hidden]{display:none!important}#open-profile .mini-avatar,#account-tag .mini-avatar{width:25px;height:25px;font-size:16px}.public-avatar[data-frame=frame-lime]{outline:3px solid var(--lime)}.public-avatar[data-frame=frame-pink]{outline:3px solid var(--pink)}.public-avatar[data-frame=frame-gold]{outline:3px solid #e8bf60}.public-avatar[data-frame^=plus-frame]{outline:3px solid #91ddff}.public-avatar[data-frame=secret-frame]{outline:3px double #fff2b3;box-shadow:0 0 0 5px #403218}
/* Club ID: a composed profile card instead of a long settings form. */
#profile-dialog,#public-profile-dialog{width:min(580px,calc(100% - 24px));border-color:#434d34;background:#12160f}#profile-dialog .dialog-head,#public-profile-dialog .dialog-head{padding:18px 22px 14px;align-items:center}#profile-dialog .dialog-head .eyebrow,#public-profile-dialog .dialog-head .eyebrow{font-size:10px;letter-spacing:2px;color:#a9b995}.public-cover{height:auto;aspect-ratio:3/1;border-radius:0;margin:0;isolation:isolate}.public-cover:after{content:"";position:absolute;inset:0;background:linear-gradient(transparent 35%,#12160f9c);pointer-events:none}.public-cover:not(:has(img)){background-image:radial-gradient(circle at 85% 15%,#ffffff35,transparent 40%),linear-gradient(115deg,#0004,transparent)!important}.cover-pattern{font-size:260px;top:-35px;right:15px;color:#ffffff35;transform:rotate(15deg)}.public-identity{padding:0 24px;margin-top:-35px;gap:16px;align-items:flex-end}.public-avatar{width:86px;height:86px;border:5px solid #12160f;border-radius:28px;box-shadow:0 6px 18px #0003;font-size:39px}.public-identity>div{padding-bottom:3px;min-width:0;flex:1}.public-identity h2{font-family:'DM Sans',sans-serif!important;font-size:clamp(22px,4vw,28px)!important;font-weight:800;line-height:1.15;letter-spacing:-1px;margin:43px 0 7px!important}.public-identity .rank-badge{margin:0;border-radius:7px;padding:4px 7px;font-size:9px}.public-profile-info{padding:16px 24px 24px}.public-bio{font-size:14px;line-height:1.7;margin:7px 0 10px;color:#d9e1cf}.profile-meta{font-size:10px;margin:0 0 22px;color:#8e9e7d}.brand-links{background:#1a2115;border:1px solid #34412a;border-radius:18px;padding:16px;gap:8px}.brand-links .eyebrow{color:#9eae89;letter-spacing:1.2px}.brand-links a{background:#ffffff04;border-color:#39462e;border-radius:11px;padding:12px 13px;color:#dfeccc}.brand-links a:hover{border-color:var(--lime);color:var(--lime)}.public-profile-info .stats-grid,#profile-stats{gap:8px;margin:21px 0}.public-profile-info .stat-box,#profile-stats .stat-box{background:#1b2316;border:1px solid #35422a;border-radius:15px;padding:15px 12px}.public-profile-info .stat-box span,#profile-stats .stat-box span{font-size:10px;color:#9aab88}.public-profile-info .stat-box strong,#profile-stats .stat-box strong{font-size:20px;letter-spacing:-.5px;font-variant-numeric:tabular-nums}.public-actions{padding-top:8px;gap:9px}.public-actions .header-button{flex:1;min-height:47px;border-radius:13px;font-size:12px;white-space:nowrap}.own-profile-actions{display:flex;gap:8px;margin:20px 0 0}.own-profile-actions button{flex:1;min-height:44px;border-radius:12px;font-size:11px}.profile-account-settings,.profile-look-settings{padding:16px;border:1px solid #36432c;background:#1a2116;border-radius:16px;margin:13px 0}.profile-account-settings summary,.profile-look-settings summary{font-size:13px;font-weight:700;cursor:pointer;color:#d8e7c8}.profile-account-settings[open] summary,.profile-look-settings[open] summary{margin-bottom:14px;color:var(--lime)}#profile-dialog .profile-tools{border-color:#303d25;border-radius:16px;padding:16px;margin:14px 0;font-size:12px}#profile-dialog .profile-tools h3{font-size:13px}#profile-dialog .profile-footer{font-size:10px}#profile-dialog .profile-footer small{font-size:10px;line-height:1.6}#profile-dialog .dialog-body{padding-top:0}#own-profile-cover{margin-top:0}#own-profile-cover .public-identity{padding-bottom:0}.profile-color-fields .field{background:#12180f;border:1px solid #334329;border-radius:13px;padding:12px}.profile-color-fields .field input{border:0;background:none;border-radius:8px;padding:0;height:35px}.profile-color-fields .field span{font-size:11px;color:#b7c6a6}.profile-image-picker{border-color:#5b7043;background:#ceff5e08;border-radius:17px;padding:20px}.profile-image-picker b{display:block;margin-bottom:5px}.profile-image-actions button{border-radius:12px}.profile-account-settings .avatar-options{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.profile-account-settings .avatar-option{padding:9px!important;min-width:0}.profile-account-settings .avatar-option b{font-size:11px}.profile-account-settings .avatar-option small{font-size:9px;line-height:1.5}
@media(max-width:700px){#profile-dialog,#public-profile-dialog{width:calc(100% - 12px);max-height:92dvh;border-radius:24px 24px 0 0}#profile-dialog .dialog-head,#public-profile-dialog .dialog-head{padding:17px 20px 13px}.public-identity{padding:0 20px;gap:12px}.public-avatar{width:75px;height:75px;border-radius:24px}.public-identity h2{font-size:23px!important;letter-spacing:-.7px}.public-profile-info{padding:17px 20px 24px}.public-profile-info .stat-box,#profile-stats .stat-box{padding:13px 10px}.public-profile-info .stat-box strong,#profile-stats .stat-box strong{font-size:17px}.public-actions{flex-direction:column}.public-actions .header-button{width:100%;min-height:46px}.own-profile-actions{gap:7px}.own-profile-actions button{font-size:10px;padding:10px 8px}.profile-account-settings,.profile-look-settings{padding:14px}.profile-account-settings .avatar-options{grid-template-columns:repeat(2,minmax(0,1fr))}.brand-links{margin:18px 0}.profile-color-fields .field{padding:10px}.public-bio{font-size:13px}}

#profile-stats,.public-profile-info .stats-grid{grid-template-columns:repeat(3,minmax(0,1fr))}@media(max-width:700px){#profile-stats .stat-box span,.public-profile-info .stat-box span{font-size:9px}#profile-stats .stat-box strong,.public-profile-info .stat-box strong{font-size:15px}#profile-stats .stat-box{padding:13px 8px}}

.public-custom-title{display:block;color:var(--pink);font-size:10px;margin-top:5px;letter-spacing:.4px;overflow-wrap:anywhere}

/* Profile actions sit outside the statistics grid. */
.public-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));width:100%;gap:10px;padding-top:4px}
.public-actions .header-button{display:flex;align-items:center;justify-content:center;gap:12px;width:100%;min-width:0;min-height:66px;padding:12px;border-radius:16px;white-space:normal;text-align:left;font-size:13px;line-height:1.2}
.public-actions small{display:block;font-size:10px;font-weight:400;opacity:.7;margin-top:5px}
.profile-action-icon{display:grid;place-items:center;width:30px;height:30px;border-radius:10px;background:#ffffff0c;font-size:21px;flex-shrink:0}
.public-actions .primary .profile-action-icon{background:#11160c12}
.public-actions .friend-status{grid-column:1/-1}
.rank-badge.verified-brand{font-family:inherit;font-weight:inherit;letter-spacing:normal;line-height:normal}
@media(max-width:420px){.public-actions .header-button{gap:7px;font-size:12px;padding:10px 8px}.profile-action-icon{width:25px;height:25px;font-size:18px}}
/* A scrollable share sheet with a close control that stays reachable. */
#invite-dialog{width:min(480px,calc(100% - 24px));max-height:calc(100dvh - 24px);overflow:auto;overscroll-behavior:contain}
#invite-dialog .dialog-head{position:sticky;top:0;z-index:2;background:var(--bg);padding:20px 22px 14px;align-items:flex-start}
#invite-dialog .dialog-head h2{font-size:30px;line-height:1.1;margin:8px 0 0}
#invite-dialog .eyebrow{font-size:9px;letter-spacing:1.4px}
#invite-dialog .close{flex-shrink:0}
#invite-dialog .dialog-body{padding:0 22px 20px}
#invite-description{margin:5px 0 16px;line-height:1.5}
.invite-hero{margin:0 0 18px}.invite-qr-wrap{padding:8px;border-radius:17px}
#invite-qr{width:clamp(150px,30dvh,230px);height:auto;aspect-ratio:1}
.invite-hero p{margin:9px 0;font-size:11px}
#invite-dialog .field{margin-bottom:12px}#invite-share-url{width:100%;box-sizing:border-box;font-size:16px!important;text-overflow:ellipsis}
.invite-actions{grid-template-columns:repeat(2,minmax(0,1fr))}.invite-actions button{min-width:0;white-space:normal}
#invite-feedback{margin:10px 0 0}
@media(max-width:700px){#invite-dialog{width:calc(100% - 12px);max-height:calc(100dvh - 12px);margin:auto auto 0;border-radius:24px 24px 0 0;padding-bottom:env(safe-area-inset-bottom)}#invite-dialog .dialog-head{padding:18px 18px 12px}#invite-dialog .dialog-body{padding:0 18px 18px}}

.bot-badge{display:inline-flex;align-items:center;margin-left:6px;padding:3px 6px;border:1px solid #77c9ff66;border-radius:6px;background:#77c9ff14;color:#77c9ff;font-size:9px!important;line-height:1.1;letter-spacing:.06em;vertical-align:middle}.public-identity .bot-badge{margin:4px 0}.bot-score-note{display:block;font-size:9px;color:var(--muted);margin-top:3px}.bot-profile-note{font-size:12px;color:var(--muted);line-height:1.6;width:100%;margin:0 0 12px}
.bot-ranked-stats{width:100%;margin-bottom:12px;display:flex;justify-content:space-between;align-items:center}.bot-ranked-stats strong{font-size:18px}

.leaderboard .profile-link-button{min-width:0;max-width:100%;gap:10px}.leaderboard .profile-link-button>b{min-width:0;overflow-wrap:anywhere}.leaderboard .mini-avatar{display:grid!important;width:36px;height:36px;min-width:36px;flex:0 0 36px;border-radius:11px;font-size:22px}.leaderboard .mini-avatar img{display:block;width:100%;height:100%;object-fit:cover}@media(max-width:700px){.leaderboard{width:100%}.leaderboard th,.leaderboard td{padding:12px 6px}.leaderboard th{font-size:9px}.leaderboard .profile-link-button{gap:9px;min-height:42px}.leaderboard .profile-link-button>b{font-size:12px;line-height:1.5}.leaderboard td:last-child{font-size:11px;white-space:nowrap}.leaderboard .rank-number{font-size:12px}.leaderboard .profile-link-button .mini-avatar{width:34px;height:34px;min-width:34px;flex-basis:34px}.leaderboard .bot-badge{margin-left:4px;padding:2px 4px}}
