/* Kabuk: hak rozeti, bekleme katmanı, sonuç ızgarası, giriş/ön kayıt penceresi, ana sayfa modül grupları, ortak form parçaları. */
.quota-pill{display:inline-flex;align-items:center;gap:6px;border:1px solid #ffffff22;border-radius:999px;padding:6px 12px;font-size:11px;font-weight:600;color:#e7e6f0;background:#ffffff0a;white-space:nowrap}
.quota-pill[data-state=ok]::before{content:"";width:7px;height:7px;border-radius:50%;background:#3ddc97}
.quota-pill[data-state=empty]{border-color:#ee3c5566;color:#ffb3be}
.quota-pill[data-state=guest]{color:var(--muted)}
.header .quota-pill{margin-right:4px}
@media(max-width:900px){.header .quota-pill{display:none}}

.pubble-progress{position:absolute;inset:0;z-index:5;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;background:#0b0d19d9;border-radius:inherit;backdrop-filter:blur(3px);text-align:center;padding:20px}
.pubble-progress b{font-size:13px;font-weight:600}
.pubble-progress i{display:block;width:min(260px,80%);height:6px;border-radius:9px;background:#ffffff14;overflow:hidden}
.pubble-progress em{display:block;height:100%;background:linear-gradient(90deg,#fa4b60,#ff8995);transition:width .4s}
.pubble-progress.indeterminate em{animation:pubble-slide 1.3s ease-in-out infinite}
@keyframes pubble-slide{0%{transform:translateX(-110%)}100%{transform:translateX(360%)}}
.pubble-spinner{width:34px;height:34px;border-radius:50%;border:3px solid #ffffff22;border-top-color:var(--red);animation:pubble-spin 1s linear infinite}
@keyframes pubble-spin{to{transform:rotate(360deg)}}
[aria-busy=true]{position:relative}

.pubble-results{display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:14px}
.pubble-result{margin:0;border:1px solid #ffffff1a;border-radius:14px;overflow:hidden;background:#0c0f1a}
.pubble-result img{display:block;width:100%;height:auto;background:repeating-conic-gradient(#ffffff08 0 25%,transparent 0 50%) 0 0/18px 18px}
.pubble-result figcaption{display:flex;gap:8px;padding:10px}
.pubble-result .btn{flex:1;width:auto}
.pubble-pdf{grid-column:1/-1;margin:0}

.pubble-gate h3{font-size:22px;margin:4px 0 10px}
.pubble-gate p{color:var(--muted);line-height:1.7;font-size:14px;margin:0 0 18px}
.pubble-gate .result-actions{display:flex;gap:10px;flex-wrap:wrap}
.pubble-gate .btn{width:auto}

/* Ana sayfa: modül grupları */
.studio-hub{padding-top:10px}
.studio-group{margin:34px 0 0}
.studio-group h3{font-size:20px;margin:0 0 4px}
.studio-group>p{color:var(--muted);font-size:13px;margin:0 0 14px}
.module-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(190px,1fr));gap:14px}
.module-card{position:relative;display:flex;flex-direction:column;border:1px solid #ffffff12;border-radius:15px;overflow:hidden;background:linear-gradient(135deg,#191929,#101321);transition:transform .2s,border-color .2s;color:inherit;text-decoration:none}
.module-card:hover{transform:translateY(-3px);border-color:#ee3c5555}
.module-card .cover{aspect-ratio:16/10;background:#0c0f1a center/cover no-repeat;display:flex;align-items:center;justify-content:center}
.module-card .cover svg{width:34px;height:34px;stroke:var(--pink);fill:none;stroke-width:1.6}
.module-card div{padding:12px 14px 14px}
.module-card h4{margin:0 0 4px;font-size:14px}
.module-card p{margin:0;font-size:12px;line-height:1.5;color:var(--muted)}
.studio-empty{color:var(--muted);font-size:13px}
.extra-heading{margin-top:46px}

/* Giriş sayfası (yer tutucu) */
.login-card{max-width:520px;margin:30px auto;border:1px solid #ffffff22;border-radius:20px;background:#111421;padding:30px}
.login-card .btn{width:100%;margin-top:10px}
.login-card .btn[disabled]{opacity:.55;cursor:not-allowed}
.login-card p{color:var(--muted);line-height:1.7}

/* Modül sayfaları için ortak form parçaları (modüller isterse kullanır) */
.pubble-form{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:22px}
.pubble-form .settings label{display:flex;flex-direction:column;gap:8px}
.pubble-form input[type=text],.pubble-form input:not([type]),.pubble-form input[type=number],.pubble-form textarea{background:#0b0e18;border:1px solid #ffffff1e;color:#fff;border-radius:8px;padding:10px;font:inherit;width:100%;min-width:0}
.pubble-stage{position:relative;min-height:320px;border:1px dashed #bf687b60;border-radius:15px;background:#0c0f1a;padding:16px}
.pubble-choices{display:grid;grid-template-columns:repeat(auto-fill,minmax(110px,1fr));gap:10px}
.pubble-choice{border:1px solid #ffffff1a;border-radius:12px;background:#0c0f1a;color:inherit;padding:0;overflow:hidden;text-align:left;font:inherit;font-size:12px;cursor:pointer}
.pubble-choice img{display:block;width:100%;aspect-ratio:1;object-fit:cover}
.pubble-choice span{display:block;padding:7px 9px}
.pubble-choice[aria-pressed=true]{border-color:var(--red);box-shadow:0 0 0 2px #ee3c5544}
@media(max-width:820px){.pubble-form{grid-template-columns:1fr}}
