/* Miltima – Beállítások */
#pgSettings{overflow:auto;margin:10px -6px 0;padding:0 6px 6px}
.st-wrap{display:grid;grid-template-columns:320px minmax(0,1fr);gap:14px;align-items:start;max-width:1180px}

/* profil kártya */
.st-profile{position:sticky;top:0;overflow:hidden;padding:0 0 18px;text-align:center;transition:box-shadow .3s}
.st-profile.over{box-shadow:0 0 0 2px var(--accent),var(--shadow)}
.st-cover{position:relative;height:104px;overflow:hidden;
  background:radial-gradient(260px 140px at 85% -10%,rgba(var(--t-a3-rgb),.55),transparent 70%),linear-gradient(120deg,var(--t-d0) 0%,var(--t-d2) 55%,var(--t-a2) 100%)}
.st-cover i{position:absolute;border-radius:50%;filter:blur(30px);opacity:.55}
.st-cover i:nth-child(1){width:140px;height:140px;left:-30px;top:-40px;background:var(--t-a1);animation:stBlob 9s ease-in-out infinite alternate}
.st-cover i:nth-child(2){width:120px;height:120px;right:10px;bottom:-60px;background:var(--t-a3);animation:stBlob 11s ease-in-out infinite alternate-reverse}
@keyframes stBlob{to{transform:translate(40px,20px) scale(1.2)}}
.st-avwrap{position:relative;width:104px;height:104px;margin:-52px auto 12px}
.st-av{position:relative;width:104px;height:104px;border-radius:50%;display:grid;place-items:center;color:#fff;font-size:34px;font-weight:700;letter-spacing:.5px;overflow:hidden;
  box-shadow:0 0 0 5px #fff,0 12px 30px rgba(var(--navy-rgb),.25)}
.st-av img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center;border-radius:50%}

/* profilkép kivágása */
.crop{display:flex;flex-direction:column;align-items:center;gap:14px}
.crop-stage{position:relative;width:300px;height:300px;max-width:100%;aspect-ratio:1/1;border-radius:16px;overflow:hidden;cursor:grab;touch-action:none;background:var(--navy);box-shadow:inset 0 0 0 1px var(--line)}
.crop-stage.drag{cursor:grabbing}
.crop-stage canvas{display:block;width:100%;height:100%}
.crop-mask{position:absolute;inset:0;pointer-events:none;background:radial-gradient(circle closest-side at center,transparent 0 calc(100% - 1px),rgba(var(--t-d0-rgb),.6) 100%)}
.crop-mask::after{content:"";position:absolute;inset:0;border-radius:50%;box-shadow:inset 0 0 0 2px rgba(255,255,255,.9),0 0 0 1px rgba(0,0,0,.15)}
.crop-hint{position:absolute;left:50%;bottom:10px;transform:translateX(-50%);white-space:nowrap;display:flex;align-items:center;gap:6px;padding:4px 10px;border-radius:12px;background:rgba(var(--t-d0-rgb),.6);color:#fff;font-size:11px;font-weight:600;pointer-events:none;transition:opacity .3s}
.crop-hint svg.i{width:13px;height:13px}
.crop-stage.drag .crop-hint{opacity:0}
.crop-zoom{display:flex;align-items:center;gap:10px;width:300px;max-width:100%;color:var(--muted)}
.crop-zoom svg.i{width:16px;height:16px;flex:none}
.crop-zoom input{flex:1;accent-color:var(--accent);cursor:pointer}
.st-av.pop{animation:avPop .5s cubic-bezier(.2,.9,.3,1.4)}
@keyframes avPop{from{transform:scale(.7);opacity:.4}}
.st-av-btn{position:absolute;right:0;bottom:2px;width:34px;height:34px;border-radius:50%;display:grid;place-items:center;color:#fff;background:var(--grad);
  box-shadow:0 0 0 3px #fff,0 6px 14px rgba(var(--t-a2-rgb),.4);transition:transform .25s cubic-bezier(.2,.9,.3,1.4)}
.st-av-btn svg.i{width:16px;height:16px}
.st-avwrap:hover .st-av-btn{transform:scale(1.12) rotate(-8deg)}
.st-avwrap::after{content:"";position:absolute;inset:0;border-radius:50%;background:rgba(var(--t-d0-rgb),.35);opacity:0;transition:opacity .25s;pointer-events:none}
.st-avwrap:hover::after{opacity:1}
.st-profile h2{margin:0;font-size:19px;font-weight:800;letter-spacing:-.3px}
.st-role{margin:3px 0 12px;color:var(--muted);font-size:13px}
.st-tags{display:flex;justify-content:center;flex-wrap:wrap;gap:6px;padding:0 16px}
.st-tags span{display:inline-flex;align-items:center;gap:6px;padding:4px 10px;border-radius:20px;background:#f3f5f9;font-size:12px;font-weight:600;color:#3a4057}
.st-tags i{width:8px;height:8px;border-radius:50%}
.st-tags svg.i{width:14px;height:14px;color:var(--muted)}
.st-status{display:flex;align-items:center;justify-content:center;gap:8px;margin-top:12px;font-size:12px;color:var(--muted)}
.st-mini{display:grid;grid-template-columns:repeat(3,1fr);gap:6px;margin:16px 16px 0}
.st-mini div{padding:10px 4px;border-radius:12px;background:#f7f8fb;transition:transform .25s,background .25s}
.st-mini div:hover{transform:translateY(-2px);background:#eef2fc}
.st-mini b{display:block;font-size:20px;font-weight:800;letter-spacing:-.5px}
.st-mini div:nth-child(1) b{color:#2457d6}.st-mini div:nth-child(2) b{color:#1d8a4e}.st-mini div:nth-child(3) b{color:#7a45e0}
.st-mini span{font-size:11px;color:var(--muted)}
.st-mini-cap{margin:6px 0 0;font-size:11px;color:var(--faint)}
.st-contact{display:flex;flex-direction:column;gap:2px;margin:14px 16px 0;padding-top:12px;border-top:1px solid var(--line-2);text-align:left}
.st-contact a{display:flex;align-items:center;gap:9px;padding:6px 8px;border-radius:9px;font-size:12.5px;color:#3a4057;min-width:0}
.st-contact a:hover{background:#f7f8fb}
.st-contact svg.i{width:16px;height:16px;color:var(--muted);flex:none}
.st-contact span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}

/* jobb oldali szekciók */
.st-main{display:flex;flex-direction:column;gap:14px;min-width:0}
.st-sec{padding:18px 20px;transition:box-shadow .3s,transform .3s}
.st-sec:hover{box-shadow:0 1px 2px rgba(16,24,64,.04),0 10px 30px rgba(16,24,64,.08)}
.st-sec>header{display:flex;align-items:center;gap:12px;margin-bottom:16px}
.st-ic{width:38px;height:38px;border-radius:11px;display:grid;place-items:center;flex:none;background:var(--grad);color:#fff;box-shadow:0 6px 14px rgba(var(--t-a2-rgb),.3);transition:transform .35s cubic-bezier(.2,.9,.3,1.3)}
.st-sec:hover .st-ic{transform:rotate(-8deg) scale(1.05)}
.st-ic svg.i{width:18px;height:18px}
.st-sec h3{margin:0;font-size:15px;font-weight:700}
.st-sec header p{margin:2px 0 0;font-size:12.5px;color:var(--muted)}
.st-link{margin-left:auto;display:flex;align-items:center;gap:6px;font-size:12.5px;font-weight:600;color:var(--accent);padding:6px 10px;border-radius:8px}
.st-link:hover{background:var(--accent-soft)}
.st-link svg.i{width:15px;height:15px}

.st-info{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
.st-info>div{display:flex;align-items:center;gap:10px;padding:11px 12px;border-radius:12px;background:#f7f8fb;border:1px solid transparent;min-width:0;transition:border-color .2s,background .2s}
.st-info>div:hover{background:#fff;border-color:var(--line)}
.st-info-ic{width:30px;height:30px;border-radius:9px;display:grid;place-items:center;flex:none;background:#fff;color:var(--accent);box-shadow:0 1px 3px rgba(16,24,64,.08)}
.st-info-ic svg.i{width:15px;height:15px}
.st-info small{display:block;font-size:11px;color:var(--muted)}
.st-info b{display:block;font-size:13px;font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}

.st-form{display:flex;flex-direction:column}
.st-row{display:grid;grid-template-columns:220px minmax(0,1fr);gap:16px;align-items:start;padding:12px 0;border-top:1px solid var(--line-2)}
.st-row:first-child{border-top:0;padding-top:0}
.st-lbl b{display:block;font-size:13px;font-weight:600}
.st-lbl small{display:block;font-size:12px;color:var(--muted);margin-top:2px}
.st-val{display:flex;flex-direction:column;gap:4px;min-width:0}
.st-val:has(.st-ro){flex-direction:row;align-items:center;gap:8px}
.st-ro{flex:1;min-width:0;display:flex;align-items:center;gap:9px;height:42px;padding:0 12px;border-radius:10px;background:#f7f8fb;border:1px solid var(--line-2);font-size:13.5px}
.st-ro svg.i{width:16px;height:16px;color:var(--muted);flex:none}
.st-ro span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-weight:500}
.st-badge{margin-left:auto;font-style:normal;font-size:10.5px;font-weight:700;color:#2457d6;background:#e8efff;border-radius:8px;padding:1px 7px;flex:none}
.st-in{position:relative;display:flex;align-items:center}
.st-in svg.i{position:absolute;left:12px;width:16px;height:16px;color:var(--faint);pointer-events:none;transition:color .15s}
.st-in input{width:100%;height:42px;border:1px solid var(--line);border-radius:10px;padding:0 12px 0 38px;font-size:13.5px;outline:0;background:#fff;transition:border-color .15s,box-shadow .2s}
.st-in:hover input{border-color:#cfd5e3}
.st-in input:focus{border-color:var(--t-l);box-shadow:0 0 0 4px rgba(var(--accent-rgb),.12)}
.st-in:focus-within svg.i{color:var(--accent)}
.st-in.bad input{border-color:#f19999;box-shadow:0 0 0 4px rgba(239,68,68,.1)}
.st-err{font-size:12px;color:#dc2626;min-height:0}
.st-err:empty{display:none}
.st-btn{display:inline-flex;align-items:center;gap:7px;height:42px;padding:0 14px;border-radius:10px;border:1px solid var(--line);background:#fff;font-size:13px;font-weight:600;color:#3a4057;flex:none;transition:background .15s,border-color .15s,transform .15s}
.st-btn:hover{background:#f5f7fb;border-color:#cfd5e3}
.st-btn:active{transform:scale(.98)}
.st-btn svg.i{width:15px;height:15px}
.st-btn.danger{color:#dc2626}.st-btn.danger:hover{background:#fdecec;border-color:#f8cdcd}
.st-actions{display:flex;align-items:center;justify-content:flex-end;gap:8px;padding-top:14px;margin-top:4px;border-top:1px solid var(--line-2)}
.st-actions .btn[hidden]{display:none}
.st-actions .btn:disabled{opacity:.45;cursor:default}
.st-dirty{margin-right:auto;font-size:12px;font-weight:600;color:#c87410;display:flex;align-items:center;gap:6px;opacity:0;transform:translateX(-6px);transition:opacity .2s,transform .2s}
.st-dirty::before{content:"";width:7px;height:7px;border-radius:50%;background:#f59e0b;box-shadow:0 0 0 3px rgba(245,158,11,.2)}
.st-dirty.on{opacity:1;transform:none}

.st-avsec{display:flex;align-items:center;gap:16px}
.st-av.lg{width:84px;height:84px;font-size:28px;flex:none;box-shadow:0 0 0 4px #fff,0 8px 20px rgba(var(--navy-rgb),.18)}
.st-drop{flex:1;min-width:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;padding:18px;border-radius:14px;border:1.5px dashed #c9d2e6;background:#fafbfe;text-align:center;cursor:pointer;transition:border-color .2s,background .2s,transform .2s}
.st-drop:hover,.st-drop.over{border-color:var(--accent);background:#f2f6ff}
.st-drop.over{transform:scale(1.01)}
.st-drop svg.i{width:26px;height:26px;color:var(--accent);margin-bottom:2px;transition:transform .3s}
.st-drop:hover svg.i{transform:translateY(-3px)}
.st-drop b{font-size:13px}
.st-drop small{font-size:11.5px;color:var(--muted)}

/* témaválasztó */
.th-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px}
.th-card{position:relative;display:flex;flex-direction:column;gap:9px;padding:8px 8px 10px;border-radius:14px;border:1.5px solid var(--line);background:#fff;text-align:left;
  transition:transform .3s cubic-bezier(.16,1,.3,1),border-color .2s,box-shadow .3s}
.th-card:hover{transform:translateY(-3px);border-color:#cfd5e3;box-shadow:0 12px 26px rgba(16,24,64,.1)}
.th-card.on{border-color:var(--accent);box-shadow:0 0 0 3px rgba(var(--accent-rgb),.18),0 12px 26px rgba(16,24,64,.1)}
.th-prev{position:relative;display:block;height:74px;border-radius:9px;overflow:hidden;background:#f5f6fa;box-shadow:inset 0 0 0 1px rgba(16,24,64,.06)}
.th-side{position:absolute;left:0;top:0;bottom:0;width:30%;display:flex;flex-direction:column;gap:5px;padding:9px 6px;background:linear-gradient(180deg,var(--d0),var(--d2))}
.th-side b{display:block;height:5px;border-radius:3px;background:rgba(255,255,255,.22)}
.th-side b:first-child{background:linear-gradient(90deg,var(--a1),var(--a2),var(--a3));height:7px}
.th-top{position:absolute;left:30%;right:0;top:0;height:16px;background:linear-gradient(90deg,var(--d0),var(--d1))}
.th-body{position:absolute;left:34%;right:6%;top:22px;bottom:6px;display:flex;flex-direction:column;gap:5px}
.th-body b{display:block;height:9px;border-radius:3px;background:#fff;box-shadow:0 1px 2px rgba(16,24,64,.08)}
.th-body b:nth-child(2){width:70%}
.th-body em{display:block;margin-top:auto;align-self:flex-end;width:42%;height:11px;border-radius:4px;background:linear-gradient(90deg,var(--a1),var(--a2) 50%,var(--a3))}
.th-meta{display:flex;flex-direction:column;line-height:1.25;padding:0 2px}
.th-meta b{font-size:13px;font-weight:700}
.th-meta small{font-size:11px;color:var(--muted)}
.th-dots{display:flex;gap:4px;padding:0 2px}
.th-dots i{width:12px;height:12px;border-radius:50%;box-shadow:0 0 0 2px #fff,0 0 0 3px rgba(16,24,64,.08)}
.th-check{position:absolute;top:14px;right:14px;width:22px;height:22px;border-radius:50%;display:grid;place-items:center;background:var(--grad);color:#fff;opacity:0;transform:scale(.5);transition:opacity .25s,transform .3s cubic-bezier(.2,.9,.3,1.5);box-shadow:0 4px 10px rgba(0,0,0,.25)}
.th-check svg.i{width:13px;height:13px;stroke-width:2.6}
.th-card.on .th-check{opacity:1;transform:none}
@media (max-width:1180px){.th-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media (max-width:640px){.th-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* első megnyitás: a kártyák egymás után úsznak be */
.page.intro .st-profile{animation:pSide .65s cubic-bezier(.2,.8,.2,1) .05s backwards}
.page.intro .st-sec{animation:pIn .6s cubic-bezier(.2,.8,.2,1) backwards}
.page.intro .st-sec:nth-child(1){animation-delay:.12s}.page.intro .st-sec:nth-child(2){animation-delay:.2s}.page.intro .st-sec:nth-child(3){animation-delay:.28s}.page.intro .st-sec:nth-child(4){animation-delay:.36s}

@media (max-width:1180px){.st-info{grid-template-columns:repeat(2,minmax(0,1fr))}.st-row{grid-template-columns:170px minmax(0,1fr)}}
@media (max-width:980px){.st-wrap{grid-template-columns:1fr}.st-profile{position:static}}
@media (max-width:640px){.st-row{grid-template-columns:1fr;gap:8px}.st-info{grid-template-columns:1fr}.st-avsec{flex-direction:column}.st-val:has(.st-ro){flex-direction:column;align-items:stretch}}
