.profile-page{background:#0b1117;color:#edf0f7;font-family:Inter,Arial,sans-serif;margin:0;min-height:100vh}
.profile-page nav .logo>a:first-child{display:flex;align-items:center;gap:8px;color:inherit;text-decoration:none}
.profile-main{max-width:1180px;margin:32px auto 70px;padding:0 28px;min-height:60vh}
.profile-message{padding:70px 0;color:#a0a9ba;text-align:center}
.profile-message a{color:#c5b4ff}
.profile-hero{overflow:hidden;border-radius:14px;background:#111923}
.profile-banner{height:230px;background:radial-gradient(ellipse at 20% 0,#59478666,transparent 65%),linear-gradient(120deg,#242b43,#111c29);overflow:hidden}
.profile-banner img{width:100%;height:100%;object-fit:cover;display:block}
.profile-identity{position:relative;padding:0 30px 28px}
.profile-avatar{display:block;width:104px;height:104px;border-radius:50%;object-fit:cover;border:5px solid #111923;margin-top:-52px;position:relative;background:#211a40}
.profile-name-row{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-top:15px}
.profile-name-row h1{font-size:clamp(25px,3vw,36px);line-height:1.2;letter-spacing:-.8px;margin:0;overflow-wrap:anywhere}
.profile-bio{max-width:700px;white-space:pre-wrap;overflow-wrap:anywhere;color:#b9c1cf;font-size:14px;line-height:1.75;margin:15px 0 0}
.profile-joined{font-size:11px;color:#838fa4;margin-top:10px}
.profile-stats{display:flex;gap:30px;flex-wrap:wrap;margin:23px 0 0;font-size:11px;color:#8e9bae}
.profile-stats strong{font-size:19px;font-weight:600;color:#f0eef9;display:block;margin-bottom:5px}
.profile-primary,.profile-secondary,.profile-file-label{display:inline-flex;align-items:center;justify-content:center;gap:7px;padding:11px 17px;border:0;border-radius:6px;font:600 12px/1.4 Inter,Arial,sans-serif;cursor:pointer;text-decoration:none;white-space:nowrap}
.profile-primary{background:#2B22EE;color:white}.profile-primary:hover{background:#3a32ff}.profile-primary:disabled{opacity:.5;cursor:wait}
.profile-secondary,.profile-file-label{background:#222b3b;color:#e4e7ee}.profile-secondary:hover,.profile-file-label:hover{background:#303c50}
.profile-tabs,.search-scope-tabs{display:flex;align-items:center;gap:26px;overflow-x:auto;scrollbar-width:none;border-bottom:1px solid #ffffff12;margin:28px 0 25px}
.profile-tabs button,.search-scope-tabs button{position:relative;flex:0 0 auto;background:none;border:0;color:#94a0b3;font:500 13px/1.4 Inter,Arial,sans-serif;padding:14px 0 16px;cursor:pointer}
.profile-tabs button[aria-selected=true],.search-scope-tabs button[aria-selected=true]{color:#f2edff}
.profile-tabs button[aria-selected=true]::after,.search-scope-tabs button[aria-selected=true]::after{content:'';position:absolute;bottom:0;left:0;right:0;height:3px;background:#a98bff;border-radius:3px}
.profile-count{font-size:10px;margin-left:7px;color:#8c80aa}
.profile-film-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(145px,1fr));gap:26px 17px}
.profile-film-card{min-width:0;display:block;color:inherit;text-decoration:none}
.profile-film-card img{display:block;width:100%;aspect-ratio:2/3;object-fit:cover;border-radius:6px;background:#171f2b}
.profile-film-card strong{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;font-size:13px;line-height:1.45;min-height:38px;margin-top:9px;font-weight:500}
.profile-film-card small{display:block;font-size:11px;color:#a99ac8;margin-top:5px}
.profile-empty{padding:46px 20px;text-align:center;color:#8e9aae;background:#101720;border-radius:9px;font-size:13px;line-height:1.7}
.profile-empty strong{display:block;color:#d4d8e4;font-size:17px;font-weight:500;margin-bottom:7px}
.profile-studio{background:#111b26;border-radius:10px;padding:22px;margin-bottom:22px}
.profile-studio header{display:flex;align-items:center;gap:16px;margin-bottom:24px}
.profile-studio-logo{width:72px;height:54px;object-fit:contain;background:#090e14;border-radius:7px;padding:7px;box-sizing:border-box}
.profile-studio h3{font-size:18px;margin:0 0 6px}.profile-studio p{font-size:11px;color:#92a1b7;margin:0}
.profile-editor{color:#eff0f8;background:#141d29;border:1px solid #ffffff14;border-radius:12px;padding:25px;max-width:590px;width:calc(100% - 32px);box-sizing:border-box;max-height:90vh;overflow-y:auto}
.profile-editor::backdrop{background:#060911bb;backdrop-filter:blur(5px)}
.profile-editor header{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:25px}.profile-editor header small{font-size:10px;color:#ac98db}.profile-editor h2{font-size:23px;margin:7px 0 0;letter-spacing:-.5px}
.profile-icon-button{background:none;border:0;color:#a8b2c3;font-size:28px;cursor:pointer}
.profile-editor-images{display:grid;grid-template-columns:1fr 1.8fr;gap:24px}.profile-editor-images>div{display:flex;align-items:flex-start;flex-direction:column;gap:10px}
.editor-avatar{width:82px;height:82px;border-radius:50%;object-fit:cover;background:#252a43}.editor-banner{width:100%;height:82px;object-fit:cover;border-radius:6px;background:#252a43}
.profile-file-label{position:relative;overflow:hidden;padding:8px 10px;font-size:10px}.profile-file-label input{position:absolute;inset:0;opacity:0;cursor:pointer;width:100%}
.profile-text-button{background:none;border:0;padding:0;font-size:10px;color:#a99bc5;cursor:pointer}
.profile-help{font-size:10px;line-height:1.65;color:#8995a9;margin:17px 0}
.profile-field{display:flex;flex-direction:column;gap:8px;margin-top:18px;font-size:12px;color:#cbd1df}
.profile-field input,.profile-field textarea{background:#0c1420;border:1px solid #ffffff18;color:#f3f4f9;border-radius:6px;padding:11px 12px;font:400 14px/1.6 Inter,Arial,sans-serif;box-sizing:border-box;width:100%;resize:vertical}.profile-field small{text-align:right;font-size:10px;color:#8593a8}
.profile-form-status{font-size:12px;color:#c6b4fc;min-height:18px;line-height:1.5}.profile-form-status.is-error{color:#ffafa9}
.profile-editor footer{display:flex;justify-content:flex-end;gap:11px;margin-top:18px}
.profile-page :is(button,a,input,textarea):focus-visible{outline:2px solid #bda2ff;outline-offset:3px}
.profile-footer{max-width:1124px;margin:0 auto;padding:25px 28px 35px;display:flex;justify-content:space-between;gap:20px;border-top:1px solid #ffffff10;font-size:10px;color:#78869b}.profile-footer a{color:#a6aec0;text-decoration:none}
.search-scope-tabs{margin-top:5px;gap:28px}.entity-search-group{margin:25px 0 34px}.entity-search-heading{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:16px}.entity-search-heading h2{font-size:19px;margin:0;letter-spacing:-.3px}.entity-search-heading button{background:none;border:0;color:#bcadf2;cursor:pointer;font-size:11px}
.entity-search-group .search-grid{padding-bottom:0;margin-top:0}.search-container #genre-filters[hidden]{display:none!important}
.entity-search-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(200px,1fr));gap:14px}.entity-search-card{display:flex;align-items:center;gap:13px;padding:17px;background:#121b27;border-radius:8px;color:#e8eaf3;text-decoration:none;min-width:0}.entity-search-card:hover{background:#1c2635}.entity-search-card img{width:54px;height:54px;border-radius:50%;object-fit:cover;flex:0 0 54px}.entity-search-card strong{display:block;font-size:13px;line-height:1.5;overflow-wrap:anywhere}.entity-search-card small{display:block;font-size:10px;color:#949eb1;margin-top:4px;line-height:1.4}.entity-search-empty{font-size:12px;color:#8e9aaf;padding:10px 0;line-height:1.6}.entity-search-error{color:#eab8b4}
@media(max-width:768px){.profile-main{padding:0 16px;margin-top:18px}.profile-banner{height:155px}.profile-identity{padding:0 18px 23px}.profile-avatar{width:86px;height:86px;margin-top:-43px}.profile-name-row{align-items:flex-start;flex-direction:column;gap:14px}.profile-bio{font-size:12px}.profile-stats{gap:25px}.profile-tabs,.search-scope-tabs{gap:22px}.profile-tabs button,.search-scope-tabs button{font-size:12px}.profile-film-grid{gap:22px 12px}.profile-studio{padding:17px}.profile-editor{padding:20px}.profile-editor-images{gap:15px;grid-template-columns:1fr 1.4fr}.profile-footer{flex-direction:column;gap:10px}.entity-search-grid{grid-template-columns:repeat(auto-fill,minmax(150px,1fr))}.entity-search-card{padding:13px;gap:10px;align-items:flex-start}.entity-search-card img{width:40px;height:40px;flex-basis:40px}.entity-search-card strong{font-size:12px}.profile-page nav .logo>a:first-child span{display:none}}

/* Symboles à côté du nom (profil) : bouclier doré (admin), épées dorées (modérateur), étoile violette (certifié), étoile + couronne (Premium) */
.profile-mark{display:inline-flex;align-items:center;vertical-align:-.06em;margin-left:.3em;height:.92em;cursor:help;transition:transform .25s ease}
.profile-mark+.profile-mark{margin-left:.16em}
.profile-mark svg{height:100%;width:auto;overflow:visible}
.profile-mark.is-admin svg,.profile-mark.is-moderator svg{filter:drop-shadow(0 0 5px #ffc83d99) drop-shadow(0 1px 1px #0008)}
.profile-mark.is-certified svg{filter:drop-shadow(0 0 6px #6d64ffaa) drop-shadow(0 1px 1px #0008)}
.profile-mark.is-premium{height:1.08em;vertical-align:-.1em}
.profile-mark.is-premium svg{filter:drop-shadow(0 0 6px #6d64ff99) drop-shadow(0 -2px 5px #ffc83d77) drop-shadow(0 1px 1px #0008)}
.profile-mark:hover{transform:translateY(-1px) scale(1.08)}
@media (prefers-reduced-motion:reduce){.profile-mark{transition:none}.profile-mark:hover{transform:none}}
