.cc-settings-gear{width:48px!important;min-width:48px!important;height:28px!important;padding:3px!important;border:1px solid #00cfff!important;border-radius:8px!important;background:linear-gradient(180deg,#092955,#03142e)!important;box-shadow:inset 0 0 12px #00bfff35,0 0 10px #00bfff30;overflow:hidden!important}.cc-settings-gear span{display:block;width:100%;height:100%;font-size:0;background:url('images/settings-gears-v5.png') center/contain no-repeat;filter:drop-shadow(0 0 5px #00eaff)}
.cc-profile-settings-modal{position:absolute;z-index:2147483646;inset:0;display:grid;place-items:center;padding:18px;background:rgba(1,7,22,.9);backdrop-filter:blur(5px)}
.cc-profile-settings-card{position:relative;width:min(1230px,97%);max-height:94%;overflow:auto;padding:22px 26px 24px;box-sizing:border-box;color:#edfaff;border:2px solid #20d8ff;border-radius:28px;background:radial-gradient(circle at 12% 12%,#0c4580 0,transparent 27%),linear-gradient(145deg,#062e5c,#020e24 72%);box-shadow:0 0 0 5px #006cc744,0 0 34px #00b8ff88,inset 0 0 45px #008cff20}
.cc-profile-settings-card:before,.cc-profile-settings-card:after{content:"";position:absolute;pointer-events:none}.cc-profile-settings-card:before{inset:8px;border:1px solid #47e9ff55;border-radius:21px}.cc-profile-settings-card:after{left:38px;right:38px;top:103px;height:1px;background:linear-gradient(90deg,transparent,#36dfff,#36dfff,transparent);box-shadow:0 0 10px #11cfff}
.cc-profile-settings-close{position:absolute;z-index:2;right:18px;top:17px;width:48px;height:48px;padding:0!important;border:2px solid #56e9ff!important;border-radius:50%!important;background:linear-gradient(#168ee0,#064e9c)!important;color:#fff!important;font-size:32px!important;line-height:1!important;box-shadow:0 0 16px #00bfff}
.cc-settings-header{display:flex;align-items:center;gap:16px;min-height:72px;padding:0 65px 14px 8px}.cc-settings-header-icon{width:62px;height:62px;flex:0 0 62px;background:url('images/settings-gears-v5.png') center/contain no-repeat;filter:drop-shadow(0 0 8px #00eaff)}.cc-settings-header h2{margin:0!important;color:#5deaff!important;font-size:38px!important;text-shadow:0 0 15px #009dff}.cc-settings-header p{margin:3px 0 0!important;color:#c9eaff!important;font-size:16px}
.cc-settings-layout{display:grid;grid-template-columns:286px minmax(360px,1.08fr) minmax(330px,.95fr);grid-template-areas:"identity password language" "identity nickname avatar";gap:16px;margin-top:18px}.cc-settings-panel{position:relative;padding:17px 19px;border:1px solid #178fd4;border-radius:17px;background:linear-gradient(145deg,rgba(7,52,101,.9),rgba(2,22,55,.93));box-shadow:inset 0 0 24px #008cff18,0 8px 18px #0005}.cc-settings-panel h3{display:flex;align-items:center;gap:10px;margin:0 0 14px!important;color:#eafaff!important;font-size:20px!important}.cc-settings-panel h3 i{display:grid;width:34px;height:34px;place-items:center;border-radius:9px;background:#04cdef20;color:#39eaff;font-style:normal;font-size:25px;box-shadow:inset 0 0 10px #00d9ff44}.cc-settings-identity{grid-area:identity;display:flex;flex-direction:column;align-items:center;text-align:center;padding-top:26px}.cc-settings-password{grid-area:password}.cc-settings-language{grid-area:language}.cc-settings-nickname{grid-area:nickname}.cc-settings-avatar-panel{grid-area:avatar}.cc-profile-avatar-frame{position:relative;display:grid;width:182px;height:182px;place-items:center;margin:0 auto 15px;border:4px solid #2ee3ff;border-radius:50%;background:#03132c;box-shadow:0 0 0 7px #0b4f9344,0 0 28px #00cfff}.cc-profile-avatar{width:170px;height:170px;object-fit:cover;border-radius:50%}.cc-profile-flag{width:31px;height:21px;object-fit:cover;vertical-align:middle;border:1px solid #fff8;border-radius:3px}.cc-profile-name{width:100%;margin:0 0 15px!important;padding:10px 5px;border:1px solid #1bcfff;border-radius:12px;color:#fff!important;background:#031b3d;font-size:22px!important}.cc-profile-meta{width:100%;padding:14px;box-sizing:border-box;border-radius:13px;background:#061d40;color:#bfe9ff;text-align:left}.cc-profile-meta p{margin:7px 0!important}.cc-profile-meta strong{color:#55eaff}
.cc-settings-panel label{display:block;margin:0 0 11px;color:#bee8ff;font-weight:800}.cc-settings-panel input,.cc-settings-panel select{width:100%;height:46px;margin-top:5px;padding:9px 13px;box-sizing:border-box;border:1px solid #3ca9ff;border-radius:12px;background:#061d43;color:#f2fbff;outline:none;box-shadow:inset 0 0 12px #00152d}.cc-settings-panel input:focus,.cc-settings-panel select:focus{border-color:#35efff;box-shadow:0 0 0 2px #00ccff35,inset 0 0 12px #00152d}.cc-password-field{display:flex}.cc-password-field input{border-radius:12px 0 0 12px}.cc-password-field button{width:48px;height:46px;margin-top:5px;padding:0!important;border:1px solid #3ca9ff!important;border-left:0!important;border-radius:0 12px 12px 0!important;background:#082854!important;color:#79e9ff!important}.cc-settings-lang-buttons{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin-top:11px}.cc-settings-lang-buttons button{padding:9px 4px!important;border:1px solid #298bdb!important;border-radius:10px!important;background:#061d43!important;color:#fff!important}.cc-settings-lang-buttons button.is-active{border-color:#29ecff!important;box-shadow:0 0 12px #00d7ff;background:#0b4b86!important}.cc-settings-info{margin:10px 0 0!important;padding:10px 12px;border:1px solid #00bde3;border-radius:10px;background:#064d7938;color:#65eaff!important;font-size:12px}.cc-settings-upload{display:grid;min-height:104px;place-items:center;padding:12px;border:2px dashed #49a7ff;border-radius:13px;background:#041737;text-align:center}.cc-settings-upload input{height:auto;border:0;background:transparent}.cc-settings-panel small{display:block;margin-top:7px;color:#67dcff}.cc-profile-submit{width:100%;min-height:49px;margin-top:12px;padding:11px!important;border:1px solid #63f2ff!important;border-radius:13px!important;background:linear-gradient(180deg,#17e0ef,#057dc7)!important;color:#fff!important;font-size:17px!important;font-weight:900!important;box-shadow:inset 0 -4px 8px #00529d88,0 0 15px #00cfff55}.cc-profile-message{text-align:center}.cc-profile-message.is-success{color:#52ffbc}.cc-profile-message.is-error{color:#ff7089}
@media(max-width:1050px){.cc-settings-layout{grid-template-columns:260px 1fr;grid-template-areas:"identity password" "identity language" "nickname avatar"}}@media(max-width:720px){.cc-profile-settings-card{padding:16px}.cc-settings-layout{grid-template-columns:1fr;grid-template-areas:"identity" "password" "language" "nickname" "avatar"}.cc-settings-header h2{font-size:28px!important}}

#cc-live-content[data-cc-section-type="settings"]{padding:10px 14px;background:radial-gradient(circle at 15% 5%,#0b416f,transparent 30%),#020d20}.cc-live-settings-shell{color:#edfaff}.cc-live-settings-shell .cc-settings-header{padding-left:8px}.cc-live-settings-shell .cc-settings-layout{grid-template-columns:300px minmax(360px,1.08fr) minmax(330px,.95fr)}
@media(max-width:1100px){.cc-live-settings-shell .cc-settings-layout{grid-template-columns:260px 1fr;grid-template-areas:"identity password" "identity language" "nickname avatar"}}@media(max-width:760px){.cc-live-settings-shell .cc-settings-layout{grid-template-columns:1fr;grid-template-areas:"identity" "password" "language" "nickname" "avatar"}}

.cc-settings-layout{width:100%;max-width:100%;grid-template-columns:minmax(0,.78fr) minmax(0,1.08fr) minmax(0,.9fr)!important;box-sizing:border-box}.cc-settings-panel{min-width:0;max-width:100%;box-sizing:border-box;overflow:hidden}.cc-settings-panel h3{font-size:clamp(15px,1.35vw,20px)!important;overflow-wrap:anywhere}.cc-settings-panel input,.cc-settings-panel select{min-width:0;max-width:100%}.cc-settings-lang-buttons{min-width:0}.cc-settings-info{overflow-wrap:anywhere}.cc-live-settings-shell{width:100%;max-width:100%;overflow-x:hidden;box-sizing:border-box}#cc-live-content[data-cc-section-type="settings"]{overflow-x:hidden!important;box-sizing:border-box}@media(max-width:920px){.cc-settings-layout,.cc-live-settings-shell .cc-settings-layout{grid-template-columns:minmax(0,.78fr) minmax(0,1.22fr)!important;grid-template-areas:"identity password" "identity language" "nickname avatar"!important}}@media(max-width:650px){.cc-settings-layout,.cc-live-settings-shell .cc-settings-layout{grid-template-columns:minmax(0,1fr)!important;grid-template-areas:"identity" "password" "language" "nickname" "avatar"!important}}
.cc-settings-badges{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:12px}.cc-settings-badges>div{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;min-width:0;padding:8px 3px;border:1px solid #178fd4;border-radius:10px;background:#031630;text-align:center}.cc-settings-badges img{width:58px;height:58px;object-fit:contain}.cc-settings-badges span{display:block;width:100%;color:#bfe9ff;font-size:10px;line-height:1.25;white-space:nowrap;word-break:normal;overflow-wrap:normal}.cc-settings-badges strong{color:#55eaff}.cc-settings-friends{margin-top:10px;padding:10px;border:1px solid #178fd4;border-radius:10px;background:#031630;color:#bfe9ff}.cc-settings-friends>strong{color:#55eaff}.cc-settings-friends p{margin:6px 0 0!important;font-size:12px;line-height:1.4;overflow-wrap:anywhere}
.cc-panel-ranking__row[hidden] {
    display: none !important;
}

.cc-ranking-show-more {
    display: block;
    min-width: 180px;
    margin: 16px auto 4px;
    padding: 10px 22px !important;
    border: 1px solid #43eaff !important;
    border-radius: 999px !important;
    background: linear-gradient(180deg, #18d9e8 0%, #0876bd 100%) !important;
    color: #fff !important;
    font-weight: 900 !important;
    cursor: pointer;
    box-shadow: 0 5px 14px rgba(0, 195, 255, .28);
}

.cc-ranking-show-more:hover,
.cc-ranking-show-more:focus-visible {
    filter: brightness(1.12);
    transform: translateY(-1px);
}

.cc-ranking-show-more[hidden] {
    display: none !important;
}
.cc-moutchou-direct-bubble{position:absolute;z-index:2147483647;top:86px;left:42px;width:min(440px,calc(100% - 84px));padding:16px 20px;color:#071323;background:#fff;border:4px solid #00bdf2;border-radius:24px;box-shadow:0 12px 38px rgba(0,0,0,.48);animation:ccMoutchouBubbleIn .25s ease-out}.cc-moutchou-direct-bubble:before{content:"";position:absolute;left:34px;bottom:-22px;border:12px solid transparent;border-top-color:#00bdf2}.cc-moutchou-direct-bubble strong{display:block;color:#00699a;font-size:18px;margin-bottom:6px}.cc-moutchou-direct-bubble p{margin:0;font-size:17px;line-height:1.45;white-space:pre-wrap;overflow-wrap:anywhere}@keyframes ccMoutchouBubbleIn{from{opacity:0;transform:translateY(-12px) scale(.96)}to{opacity:1;transform:none}}
.cc-tutorial-video{width:min(1120px,100%);aspect-ratio:16/9;margin:18px auto;border:2px solid #00bdf2;border-radius:18px;overflow:hidden;background:#000;box-shadow:0 12px 34px rgba(0,0,0,.45)}.cc-tutorial-video iframe{display:block;width:100%;height:100%;border:0}


/* 1.2.4 - Atelier : même présentation que CityCards central */
.cc-workshop-sortbar{
    display:flex;
    align-items:center;
    flex-wrap:wrap;
    gap:9px;
    margin:0 0 16px;
    padding:10px 12px;
    border:1px solid rgba(93,219,230,.34);
    border-radius:15px;
    background:linear-gradient(135deg,rgba(15,172,190,.13),rgba(124,83,226,.17));
    box-shadow:inset 0 1px 0 rgba(255,255,255,.09);
}
.cc-workshop-sortbar strong{
    margin-right:3px;
    color:#bdefff;
    font-weight:1000;
}
.cc-workshop-sortbar button{
    min-height:37px;
    padding:8px 13px;
    border:1px solid rgba(143,223,255,.42);
    border-radius:999px;
    background:linear-gradient(135deg,#153c61,#483985);
    color:#eaf8ff;
    font-weight:1000;
    cursor:pointer;
    box-shadow:0 6px 14px rgba(0,0,0,.26);
    transition:transform .16s ease,box-shadow .16s ease;
}
.cc-workshop-sortbar button:hover{transform:translateY(-1px)}
.cc-workshop-sortbar button.is-active{
    border-color:#fff;
    background:linear-gradient(135deg,#16bfbd,#7d55e4);
    box-shadow:0 0 0 3px rgba(155,124,255,.18),0 0 16px rgba(41,209,231,.34);
}

/* Les deux sous-menus restent invisibles tant que leur bouton de tri n'a pas été cliqué. */
.cc-workshop-category-choices[hidden],
.cc-workshop-character-choices[hidden],
[data-workshop-sort][hidden]{display:none!important}

/* Catégories des Animations à envoyer : mêmes boutons pilules que CityCards. */
.cc-workshop-category-choices{
    display:flex;
    flex-wrap:wrap;
    gap:10px;
    margin:0 0 14px;
}
.cc-workshop-category-choices button{
    border:1px solid rgba(160,225,255,.72);
    border-radius:999px;
    padding:9px 15px;
    background:linear-gradient(135deg,rgba(34,206,172,.88),rgba(75,149,255,.88));
    color:#fff;
    font-weight:1000;
    cursor:pointer;
    box-shadow:0 8px 18px rgba(0,0,0,.22),inset 0 0 0 1px rgba(255,255,255,.18);
}
.cc-workshop-category-choices button:nth-child(2n){
    background:linear-gradient(135deg,rgba(126,87,255,.92),rgba(239,95,170,.9));
}
.cc-workshop-category-choices button:nth-child(3n){
    background:linear-gradient(135deg,rgba(255,177,57,.92),rgba(239,95,170,.9));
}
.cc-workshop-category-choices button.is-active,
.cc-workshop-category-choices button:hover{
    outline:2px solid rgba(255,255,255,.72);
    box-shadow:0 0 0 3px rgba(92,211,255,.22),0 10px 22px rgba(0,0,0,.28);
    filter:brightness(1.08);
}

/* Personnages des Skins : grand panneau + joli menu déroulant, comme CityCards. */
.cc-workshop-character-choices{
    margin:0 0 18px;
    padding:14px 18px;
    border:1px solid rgba(93,219,230,.42);
    border-radius:15px;
    background:linear-gradient(135deg,rgba(15,172,190,.12),rgba(124,83,226,.16));
    box-shadow:inset 0 1px 0 rgba(255,255,255,.08),0 8px 20px rgba(0,0,0,.16);
}
.cc-workshop-character-choices label{
    width:100%;
    display:grid;
    grid-template-columns:minmax(210px,auto) minmax(260px,430px);
    align-items:center;
    gap:18px;
    color:#f2fbff;
    font-size:18px;
    line-height:1.2;
    font-weight:1000;
}
.cc-workshop-character-choices select{
    width:100%;
    min-height:46px;
    padding:8px 42px 8px 14px;
    border:2px solid rgba(240,196,75,.9);
    border-radius:12px;
    background:#0b1a2b;
    color:#fff;
    font-size:17px;
    font-weight:900;
    box-shadow:0 0 0 2px rgba(240,196,75,.08),0 6px 16px rgba(0,0,0,.28);
    outline:none;
}
.cc-workshop-character-choices select:focus{
    border-color:#6eefff;
    box-shadow:0 0 0 3px rgba(65,218,255,.18),0 6px 16px rgba(0,0,0,.28);
}
.cc-workshop-character-choices option{
    background:#111923;
    color:#fff;
}

@media(max-width:700px){
    .cc-workshop-sortbar strong{width:100%}
    .cc-workshop-sortbar button{flex:1 1 140px}
    .cc-workshop-character-choices label{grid-template-columns:1fr;gap:9px}
    .cc-workshop-character-choices select{min-width:0;width:100%}
}
