/* VioHY hızlı geçiş ve takım başvuru işlem katmanı. */
@view-transition{navigation:auto}
::view-transition-old(root){animation:viohy-page-out .11s ease both}
::view-transition-new(root){animation:viohy-page-in .2s cubic-bezier(.2,.78,.25,1) both}
@keyframes viohy-page-out{to{opacity:.86;transform:scale(.997)}}
@keyframes viohy-page-in{from{opacity:.35;transform:translateY(5px)}}

.team-join-process{position:fixed;inset:0;z-index:18000;display:grid;place-items:center;padding:18px;background:rgba(8,4,5,.76);backdrop-filter:blur(13px);opacity:0;visibility:hidden;transition:opacity .18s ease,visibility .18s ease}
.team-join-process.is-active{opacity:1;visibility:visible}
.team-join-process-card{position:relative;isolation:isolate;width:min(430px,100%);max-height:min(86dvh,680px);overflow:hidden;padding:25px 20px 18px;border:1px solid rgba(255,91,99,.26);border-radius:27px;background:radial-gradient(circle at 50% -20%,rgba(218,26,36,.25),transparent 48%),linear-gradient(155deg,#211316,#110c0e 72%);color:#fff;box-shadow:0 30px 90px rgba(0,0,0,.52);text-align:center;transform:translateY(12px) scale(.975);transition:transform .22s cubic-bezier(.2,.82,.22,1)}
.team-join-process.is-active .team-join-process-card{transform:none}
.team-join-process-card:before{content:"";position:absolute;z-index:-1;inset:-40% -20%;background:conic-gradient(from 180deg,transparent,rgba(210,24,33,.11),transparent 38%);animation:viohy-process-aura 4s linear infinite}
.team-join-process-logo{position:relative;display:grid;place-items:center;width:86px;height:86px;margin:0 auto 16px;border:1px solid rgba(255,255,255,.17);border-radius:27px;background:rgba(255,255,255,.055);box-shadow:0 0 0 8px rgba(196,18,27,.07),0 16px 34px rgba(0,0,0,.3)}
.team-join-process-logo:before,.team-join-process-logo:after{content:"";position:absolute;border-radius:30px;inset:-8px;border:2px solid transparent;border-top-color:#f04049;border-right-color:rgba(240,64,73,.24);animation:viohy-process-spin 1.05s linear infinite}
.team-join-process-logo:after{inset:-15px;border-width:1px;border-top-color:rgba(255,255,255,.5);border-right-color:transparent;animation-duration:1.65s;animation-direction:reverse}
.team-join-process-logo img{width:52px;height:52px;object-fit:contain;filter:drop-shadow(0 7px 14px rgba(0,0,0,.28));animation:viohy-logo-breathe 1.25s ease-in-out infinite}
.team-join-process-eyebrow{display:block;color:#ff777d;font-size:9px;font-weight:950;letter-spacing:.17em}
.team-join-process h2{margin:6px 0 5px;font-size:23px;letter-spacing:-.035em}
.team-join-process-copy{margin:0 auto 15px;max-width:340px;color:#cdbdc0;font-size:11px;line-height:1.5}
.team-join-process-copy b{color:#fff}
.team-join-player-list{display:grid;gap:7px;max-height:226px;overflow:auto;padding:3px 2px;scrollbar-width:none}
.team-join-player-list::-webkit-scrollbar{display:none}
.team-join-player{display:grid;grid-template-columns:28px minmax(0,1fr) auto;align-items:center;gap:9px;min-height:43px;padding:7px 10px;border:1px solid rgba(255,255,255,.075);border-radius:13px;background:rgba(255,255,255,.045);color:#bcaeb1;text-align:left;transition:border-color .2s ease,background .2s ease,color .2s ease,transform .2s ease}
.team-join-player>i{position:relative;width:22px;height:22px;border:2px solid #60454a;border-radius:50%}
.team-join-player>i:after{content:"";position:absolute;inset:4px;border-radius:50%;background:#ee3540;opacity:0;transform:scale(.4);transition:.2s ease}
.team-join-player>span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:11px;font-weight:850}
.team-join-player>small{color:#87777a;font-size:7.5px;font-weight:900;letter-spacing:.06em;text-transform:uppercase}
.team-join-player.is-current{border-color:rgba(242,57,67,.5);background:rgba(197,20,29,.15);color:#fff;transform:translateX(2px)}
.team-join-player.is-current>i{border-color:#ef3b45;border-top-color:transparent;animation:viohy-process-spin .62s linear infinite}
.team-join-player.is-checked{border-color:rgba(78,207,139,.24);background:rgba(31,142,89,.1);color:#e8fff3}
.team-join-player.is-checked>i{border-color:#43cc83}
.team-join-player.is-checked>i:after{opacity:1;transform:scale(1);background:#43cc83;box-shadow:0 0 12px rgba(67,204,131,.45)}
.team-join-process-foot{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:14px;padding-top:13px;border-top:1px solid rgba(255,255,255,.08);color:#aa999c;font-size:8.5px;font-weight:800;text-align:left}
.team-join-process-foot>b{display:flex;align-items:center;gap:6px;color:#e9dfe1;white-space:nowrap}
.team-join-process-foot>b>i{width:7px;height:7px;border-radius:50%;background:#42d184;box-shadow:0 0 12px rgba(66,209,132,.7);animation:viohy-safe-pulse 1s ease-in-out infinite}
button[data-roster-submit].is-team-submitting{pointer-events:none;opacity:1!important}
button[data-roster-submit].is-team-submitting:before{content:"";width:17px;height:17px;flex:0 0 17px;border:2px solid rgba(255,255,255,.42);border-top-color:#fff;border-radius:50%;animation:viohy-process-spin .68s linear infinite}
html.is-team-join-submitting,html.is-team-join-submitting body{overflow:hidden!important}
@keyframes viohy-process-spin{to{transform:rotate(360deg)}}
@keyframes viohy-process-aura{to{transform:rotate(360deg)}}
@keyframes viohy-logo-breathe{50%{transform:scale(.94);opacity:.78}}
@keyframes viohy-safe-pulse{50%{opacity:.35;transform:scale(.72)}}
@media(max-width:520px){.team-join-process{align-items:end;padding:10px 10px calc(88px + env(safe-area-inset-bottom))}.team-join-process-card{width:100%;padding:22px 16px 16px;border-radius:25px}.team-join-process-logo{width:76px;height:76px;margin-bottom:14px}.team-join-process-logo img{width:46px;height:46px}.team-join-process h2{font-size:21px}.team-join-player-list{max-height:210px}}
@media(prefers-reduced-motion:reduce){::view-transition-old(root),::view-transition-new(root),.team-join-process-card,.team-join-process-logo:before,.team-join-process-logo:after,.team-join-process-logo img,.team-join-player,.team-join-player.is-current>i,.team-join-process-card:before,.team-join-process-foot>b>i{animation:none!important;transition:none!important}.team-join-process{backdrop-filter:none}}

/* Yeni VioHY taç amblemi: tüm temalarda kendi renklerini korur. */
body :is(.brand-logo,.drawer-brand-logo,.auth-brand-lockup img,.game-identity-gate-brand img,.standalone-state>img,.share-preview-brand img,.admin-ui-brand img,.admin-ui-mobile-brand img,.admin-layout-side-brand img){filter:none!important}
html[data-theme="dark"] body.admin-mode :is(.admin-ui-brand img,.admin-ui-mobile-brand img,.admin-layout-side-brand img){filter:none!important;opacity:1!important}
body .brand-logo{width:56px!important;height:56px!important;max-height:56px!important;object-fit:contain!important}
body .drawer-brand-logo{width:70px!important;height:70px!important;max-height:70px!important;object-fit:contain!important}
body .auth-brand-lockup img{width:min(230px,56vw)!important;max-height:230px!important;aspect-ratio:1;object-fit:contain!important}
body .game-identity-gate-brand img{width:132px!important;aspect-ratio:1;object-fit:contain!important}
body .standalone-state>img{width:min(170px,44vw)!important;aspect-ratio:1;object-fit:contain!important}
body .share-preview-brand{width:92px!important;max-width:92px!important;padding:8px!important}
body .share-preview-brand img{width:76px!important;aspect-ratio:1;object-fit:contain!important}
body.admin-mode :is(.admin-ui-brand img,.admin-ui-mobile-brand img,.admin-layout-side-brand img){width:50px!important;height:50px!important;max-width:50px!important;max-height:50px!important;object-fit:contain!important}

/* Kırpma onayından sonra doğrudan yükleme durumu. */
.crop-auto-upload-form{position:relative}
.crop-auto-upload-form.is-uploading{pointer-events:none;opacity:.72}
.crop-auto-upload-form.is-uploading:after{content:"Yükleniyor";position:absolute;right:12px;top:12px;padding:7px 10px 7px 27px;border:1px solid rgba(181,18,23,.18);border-radius:999px;background:#fff;color:#951014;font-size:9px;font-weight:900;box-shadow:0 7px 20px rgba(65,14,16,.09)}
.crop-auto-upload-form.is-uploading:before{content:"";position:absolute;z-index:1;right:75px;top:20px;width:10px;height:10px;border:2px solid rgba(181,18,23,.22);border-top-color:#b51217;border-radius:50%;animation:viohy-process-spin .65s linear infinite}
.crop-auto-upload-note{margin:0;color:#87797b;font-size:10px;text-align:center}
html[data-theme="dark"] .crop-auto-upload-form.is-uploading:after{border-color:#4a3639;background:#211a1c;color:#ff858a;box-shadow:0 8px 24px rgba(0,0,0,.3)}
html[data-theme="dark"] .crop-auto-upload-note{color:#ad9fa2}

/* Başvuru işlem katmanı: açık temada açık, karanlık temada koyu. */
html[data-theme="light"] .team-join-process{background:rgba(55,36,39,.34)}
html[data-theme="light"] .team-join-process-card{border-color:#ead4d6;background:radial-gradient(circle at 50% -18%,rgba(219,27,37,.12),transparent 48%),linear-gradient(155deg,#fff,#fbf6f7 72%);color:#241719;box-shadow:0 30px 90px rgba(54,24,28,.24)}
html[data-theme="light"] .team-join-process-card:before{background:conic-gradient(from 180deg,transparent,rgba(210,24,33,.075),transparent 38%)}
html[data-theme="light"] .team-join-process-logo{border-color:#ead7d9;background:rgba(255,255,255,.92);box-shadow:0 0 0 8px rgba(196,18,27,.05),0 16px 34px rgba(68,26,30,.13)}
html[data-theme="light"] .team-join-process-logo:after{border-top-color:rgba(99,50,54,.38)}
html[data-theme="light"] .team-join-process-copy{color:#7e6f72}
html[data-theme="light"] .team-join-process-copy b{color:#251719}
html[data-theme="light"] .team-join-player{border-color:#eadfe0;background:rgba(255,255,255,.84);color:#65575a}
html[data-theme="light"] .team-join-player>i{border-color:#cdbabc}
html[data-theme="light"] .team-join-player>small{color:#9a8b8e}
html[data-theme="light"] .team-join-player.is-current{border-color:rgba(202,30,39,.42);background:#fff0f1;color:#2d1b1e}
html[data-theme="light"] .team-join-player.is-checked{border-color:rgba(38,157,96,.3);background:#eefaf4;color:#244b38}
html[data-theme="light"] .team-join-process-foot{border-top-color:#eadfe0;color:#8e7f82}
html[data-theme="light"] .team-join-process-foot>b{color:#49383b}
.team-join-process-logo{width:96px;height:96px;border-radius:30px}
.team-join-process-logo img{width:78px;height:78px}
@media(max-width:520px){body .brand-logo{width:50px!important;height:50px!important;max-height:50px!important}.team-join-process-logo{width:88px;height:88px}.team-join-process-logo img{width:71px;height:71px}}
