#cc-member-dialog{box-sizing:border-box;position:fixed;inset:auto;left:auto;right:var(--cc-dock-right,22px);bottom:var(--cc-dock-bottom,20px);width:var(--cc-dock-width,min(1100px,calc(100vw - 38px)));height:var(--cc-dock-height,min(760px,calc(100dvh - 178px)));max-width:none;max-height:none;margin:0;transform-origin:var(--cc-dock-origin,bottom right);padding:0;border:1px solid #4b4e53;border-radius:12px;background:#202223;color:#f3ebdd;box-shadow:0 30px 100px #0009;overflow:hidden;font:14px/1.5 Inter,system-ui,sans-serif}
#cc-member-dialog::backdrop{background:#0009}
#cc-member-dialog.cc-panel-expanded{inset:12px;width:calc(100vw - 24px);height:calc(100dvh - 24px)}
#cc-member-dialog[open]{display:flex;flex-direction:column}
#cc-member-dialog .cc-panel-bar{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-shrink:0;padding:8px 12px 8px 20px;background:#26282b;border-bottom:1px solid #3b3e42}
#cc-member-dialog .cc-panel-bar strong{font-size:13px;font-weight:600}
#cc-member-dialog .cc-panel-bar>div{display:flex;gap:4px}
#cc-member-dialog button{display:grid;place-items:center;width:38px;height:38px;border:0;border-radius:6px;background:transparent;color:#dedcd7;font:23px/1 system-ui,sans-serif;cursor:pointer}
#cc-member-dialog button:hover{background:#3a3d42}
#cc-member-dialog :focus-visible,#cc-member-launcher:focus-visible{outline:3px solid #e8bc70;outline-offset:-3px}
#cc-member-dialog iframe{display:block;width:100%;min-height:0;flex:1;border:0;background:#202223}
#cc-member-dialog [hidden]{display:none!important}
#cc-member-dialog .cc-panel-message{padding:24px;font-size:14px}
#cc-member-launcher{position:fixed;right:22px;bottom:24px;z-index:99990;min-height:46px;padding:11px 18px;border:1px solid #8e4b41;border-radius:28px;background:#242629;color:#f3ebdd;box-shadow:0 8px 30px #0006;font:600 14px/1.5 Inter,system-ui,sans-serif;cursor:pointer}
#cc-member-launcher[hidden]{display:none}
body.cc-window-frame{box-sizing:border-box;margin:0;background:#202223;color:#dedcd7;font:400 16px/1.6 Inter,system-ui,sans-serif;color-scheme:dark}
.cc-window-frame *{box-sizing:border-box}
.cc-window-frame [hidden]{display:none!important}
.cc-frame-layout{display:grid;grid-template-columns:68px minmax(0,1fr);min-height:100dvh}
.cc-frame-nav{display:flex;flex-direction:column;gap:5px;padding:20px 12px;background:#18191b}
.cc-frame-caption{padding:5px 10px 12px;color:#aaa9a6;font-size:11px;text-transform:uppercase;letter-spacing:.12em}
.cc-frame-nav button{width:100%;padding:11px 12px;border:0;border-radius:7px;background:transparent;color:#b9b7b2;font:400 15px/1.5 Inter,system-ui,sans-serif;text-align:left;cursor:pointer}
.cc-frame-nav button:hover{background:#2b2e32;color:#f3ebdd}
.cc-frame-nav button[aria-current=page]{background:#353033;color:#f3ebdd;box-shadow:inset 3px 0 #c4483d}
.cc-frame-user{display:flex;align-items:center;gap:9px;margin-top:auto;padding:26px 5px 0;overflow-wrap:anywhere}
.cc-frame-avatar{display:grid;place-items:center;width:36px;height:36px;flex-shrink:0;background:#32251f;color:#efce9a;border:1px solid #a77a4a;border-radius:50%;font-size:14px;text-transform:uppercase}
.cc-frame-user strong{display:block;color:#f3ebdd;font-size:12px}
.cc-frame-user small{display:block;color:#b9b7b2;font-size:11px}
.cc-frame-main{min-width:0;padding:28px}
.cc-frame-main h1{margin:0 0 22px;color:#f3ebdd;font:600 30px/1.2 'Barlow Condensed',system-ui,sans-serif}
.cc-frame-empty{padding:25px 0;color:#b9b7b2;border-top:1px solid #3b3e42;font-size:14px}
.cc-frame-main .cc-members{margin:0;padding:0;border:0;border-radius:0;max-width:none;background:transparent;font-size:15px}
.cc-frame-main .cc-members h2{font-size:30px}
.cc-frame-player{max-width:440px;background:#17191c;border:1px solid #42454a;border-radius:10px;overflow:hidden;margin-bottom:24px}
.cc-frame-banner{height:90px;background:linear-gradient(110deg,#50342b,#251d21);border-bottom:1px solid #635044}
.cc-frame-player-body{padding:0 20px 20px}
.cc-frame-player .cc-frame-avatar{width:54px;height:54px;margin-top:-27px;position:relative;margin-bottom:12px}
.cc-frame-player h2{font-size:22px;line-height:1.25;margin:0 0 12px;overflow-wrap:anywhere;color:#f3ebdd}
.cc-frame-role{display:inline-block;border:1px solid #53575d;border-radius:5px;padding:2px 8px;font-size:12px;color:#d4cfc4}
.cc-frame-profile{display:grid;gap:18px;max-width:440px}
.cc-frame-profile label{display:grid;gap:8px}
.cc-frame-profile input{width:100%;padding:10px 12px;min-height:46px;border:1px solid #777;border-radius:6px;background:#111214;color:#f3ebdd;font:inherit}
.cc-frame-profile button{justify-self:start;background:#c4483d;color:#fff;border:0;border-radius:6px;padding:12px 18px;font:600 15px/1.5 Inter,system-ui,sans-serif;cursor:pointer}
.cc-window-frame :focus-visible{outline:3px solid #e8bc70;outline-offset:3px}
@media(max-width:640px){#cc-member-dialog,#cc-member-dialog.cc-panel-expanded{inset:12px;width:100vw;height:100dvh;margin:0;border:0;border-radius:0}#cc-member-dialog button{width:42px;height:42px}#cc-member-dialog .cc-panel-bar{padding-left:16px}.cc-frame-layout{grid-template-columns:1fr;min-height:0}.cc-frame-nav{flex-direction:row;flex-wrap:wrap;padding:8px;gap:4px;border-bottom:1px solid #3b3e42}.cc-frame-nav button{width:auto;font-size:12px;min-height:44px;padding:9px}.cc-frame-caption,.cc-frame-user{display:none}.cc-frame-main{padding:24px 18px}.cc-frame-main h1{font-size:27px}.cc-frame-profile input{font-size:16px}#cc-member-launcher{right:14px;bottom:20px}}

.cc-frame-showcase{margin-top:30px;padding-top:24px;border-top:1px solid #3b3e42}.cc-frame-showcase h2{margin:0 0 14px;color:#f3ebdd;font-size:22px;line-height:1.3}.cc-frame-showcase p{color:#b9b7b2;font-size:14px}

/* Card-first member window and collapsible icon rail. */
#cc-member-dialog .cc-panel-bar{position:absolute;right:20px;top:10px;z-index:20;padding:0;background:transparent;border:0}
#cc-member-dialog .cc-panel-bar button{width:32px;height:30px;background:#1b1b1de6;font-size:19px}
#cc-member-dialog iframe{height:100%}
.cc-frame-layout{height:100dvh;min-height:0}
.cc-frame-nav{padding:18px 10px 14px;gap:10px;min-width:0;overflow-y:auto}
.cc-frame-nav button{position:relative;display:flex;align-items:center;justify-content:center;gap:9px;padding:10px;min-height:46px;flex-shrink:0}
.cc-frame-nav button svg{width:21px;height:21px;flex-shrink:0;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.cc-frame-nav button[aria-current=page]{background:#442a28;box-shadow:inset 3px 0 #d35b4b}
.cc-nav-label{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
.cc-nav-spacer{flex:1;min-height:40px}
.cc-frame-user{margin-top:3px;padding:13px 0 0;border-top:1px solid #323136}
.cc-frame-user button{padding:0;width:100%;min-height:44px}
.cc-frame-avatar{width:38px;height:38px}
.cc-frame-main{overflow:auto;padding:58px 24px 24px}
.cc-frame-main:has([data-cc-section="profile"]:not([hidden])){padding:52px 16px 16px}
.cc-frame-main .cc-player-card-app{margin:0 auto;max-width:420px}


.cc-frame-layout.cc-menu-expanded{grid-template-columns:166px minmax(0,1fr)}
.cc-menu-expanded .cc-nav-label{position:static;width:auto;height:auto;overflow:hidden;clip-path:none;white-space:nowrap;text-overflow:ellipsis;font-size:12px}
.cc-menu-expanded .cc-frame-nav button{justify-content:flex-start}
.cc-menu-expanded .cc-toggle-dot{transform:translateX(8px)}
.cc-frame-main .cc-card-dialog.cc-card-inline{position:static;inset:auto;display:block;width:100%;max-height:none;margin:0;padding:58px 22px 24px;border:0;border-radius:0;overflow:visible}
.cc-frame-main .cc-card-inline .cc-card-choices{grid-template-columns:repeat(2,minmax(0,1fr))}
@media(max-width:640px){
 #cc-member-dialog,#cc-member-dialog.cc-panel-expanded{inset:0;width:100vw;height:100dvh}
 .cc-frame-layout,.cc-frame-layout.cc-menu-expanded{grid-template-columns:54px minmax(0,1fr);height:100dvh}
 .cc-frame-nav{flex-direction:column;flex-wrap:nowrap;padding:16px 6px 12px;gap:10px;border:0}
 .cc-frame-nav button{width:100%;padding:9px;min-height:44px}
 .cc-frame-user{display:flex}
 .cc-frame-main{padding:55px 17px 25px}
 .cc-frame-layout.cc-menu-expanded .cc-frame-nav{width:166px;position:relative;z-index:25;background:#18191b;box-shadow:10px 0 25px #0005}
 
 
 
 
 
 #cc-member-dialog .cc-panel-bar{right:14px;top:9px}
}

/* Do not make the banner inherit the narrower body padding. */


@media(max-width:640px){
 #cc-member-dialog,#cc-member-dialog.cc-panel-expanded{inset:0;width:100vw;height:100dvh;padding-top:env(safe-area-inset-top,0px);padding-bottom:env(safe-area-inset-bottom,0px)}
 #cc-member-dialog .cc-panel-bar{right:calc(4px + env(safe-area-inset-right,0px));top:env(safe-area-inset-top,0px)}
 #cc-member-dialog .cc-panel-bar button{width:44px;height:44px}
 .cc-frame-main .cc-members input,.cc-frame-main .cc-members select,.cc-frame-main .cc-members textarea{font-size:16px;max-width:100%}
 .cc-frame-main{overscroll-behavior:contain}
}

@media(prefers-reduced-motion:no-preference){#cc-member-dialog{transition:width .4s cubic-bezier(.22,.8,.25,1)}}

.cc-frame-main:has(.cc-card-inline){padding:0}

/* Fit the complete collector card to the available window, keeping its own geometry. */
.cc-frame-main{min-width:0;min-height:0}
.cc-frame-main:has([data-cc-section="profile"]:not([hidden]) .cc-card-fit):not(:has(.cc-card-inline)){padding:44px 8px 10px}
.cc-frame-main [data-cc-section="profile"]:has(.cc-card-fit){height:100%;min-height:0}
.cc-frame-main [data-cc-section="profile"]:has(.cc-card-fit) .cc-player-card-app{height:100%;max-width:none;width:100%;margin:0;min-height:0}
.cc-frame-main .cc-player-card-app:has(.cc-card-fit) [data-cc-card-content]{height:100%;min-height:0;display:grid;grid-template-rows:minmax(0,1fr) auto}
.cc-frame-main .cc-card-fit{min-width:0;min-height:0;container-type:size;display:grid;place-items:center}
.cc-frame-main .cc-card-fit>.cc-card.has-frame{width:min(100cqw,calc(100cqh * 600 / 999));max-width:none;margin:0}
.cc-frame-main .cc-player-card-app:has(.cc-card-fit) .cc-card-about{max-height:25dvh;overflow:auto;margin:6px 8% 0;padding:6px 0}
@media(max-width:640px){
 .cc-frame-main:has([data-cc-section="profile"]:not([hidden]) .cc-card-fit):not(:has(.cc-card-inline)){padding-top:50px}
}
/* Short landscape screens retain a readable card and scroll naturally. */
@media(max-height:520px){
 .cc-frame-main [data-cc-section="profile"]:has(.cc-card-fit),.cc-frame-main [data-cc-section="profile"]:has(.cc-card-fit) .cc-player-card-app{height:auto}
 .cc-frame-main .cc-player-card-app:has(.cc-card-fit) [data-cc-card-content]{height:auto;display:block}
 .cc-frame-main .cc-card-fit{container-type:inline-size;display:block}
 .cc-frame-main .cc-card-fit>.cc-card.has-frame{width:100%;max-width:420px;margin:auto}
 .cc-frame-main .cc-player-card-app:has(.cc-card-fit) .cc-card-about{max-height:none;overflow:visible}
}

.cc-frame-main .cc-members select{display:block;width:100%;font:inherit;background:#111214;color:#f3ebdd;border:1px solid #777168;border-radius:6px;padding:10px;margin:8px 0 16px;color-scheme:dark}

.cc-frame-main .cc-medal-admin{width:100%;max-width:none;margin:0;padding:0;border:0;background:transparent;font-size:15px}
.cc-medal-admin .cc-admin-tabs{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 26px;padding-bottom:14px;border-bottom:1px solid #454649}
.cc-medal-admin .cc-admin-tabs button{font-size:14px;min-height:44px;padding:8px 12px;background:#292b2e;color:#dedcd7;border:1px solid #454649}
.cc-medal-admin .cc-admin-tabs button[aria-pressed=true]{background:#442a28;border-color:#c4483d;color:#f3ebdd}
.cc-medal-admin h2{font-size:28px;margin:20px 0}
.cc-medal-admin h3{font-size:20px;margin:26px 0 12px;color:#f3ebdd}
.cc-medal-admin h4{font-size:16px;margin:20px 0 10px}
.cc-medal-admin form{gap:12px;margin:18px 0 28px}
.cc-medal-admin textarea{box-sizing:border-box;width:100%;max-width:100%;min-height:110px;resize:vertical;background:#111214;color:#f3ebdd;border:1px solid #777168;border-radius:6px;padding:12px;font:inherit}
.cc-medal-admin input,.cc-medal-admin select{max-width:100%;min-width:0;font-size:16px}
.cc-medal-admin input[type=submit]{width:100%;cursor:pointer;background:#c4483d;color:#fff;border:0;font-weight:600}
.cc-medal-admin .submit{margin:0}
.cc-medal-admin .notice{padding:12px 15px;border-left:3px solid #eacb8a;background:#111214;margin:16px 0}
.cc-medal-admin .cc-medal-checks{display:grid;gap:8px;margin:16px 0}
.cc-medal-admin .cc-medal-checks>div{display:flex;justify-content:space-between;flex-wrap:wrap;gap:8px;padding-bottom:8px;border-bottom:1px solid #393b3f}
.cc-medal-admin dd{margin:0;color:#eacb8a}
.cc-medal-admin .cc-earned-medals{padding-left:20px}
.cc-medal-admin .cc-earned-medals li{margin:12px 0;overflow-wrap:anywhere}
.cc-medal-admin .cc-earned-medals small{display:block;color:#bdbab5}
.cc-medal-admin p{overflow-wrap:anywhere}
