*{box-sizing:border-box}html{background:#090909}body{margin:0;min-height:100vh;background:radial-gradient(circle at 50% -10%,#1b1b1b 0,#0b0b0b 42%,#070707 100%);color:#f1f0ed;font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}.page{width:min(100% - 32px,560px);margin:auto;padding:58px 0 34px}.profile{text-align:center;margin-bottom:30px}.avatar{width:88px;height:88px;margin:auto;border-radius:50%;display:block;object-fit:cover;object-position:center;box-shadow:0 10px 30px #0008}.profile h1{font-size:25px;margin:15px 0 5px;letter-spacing:-.5px}.profile p{margin:0;color:#999;font-size:14px}.links{display:flex;flex-direction:column;gap:12px}.link{position:relative;display:flex;align-items:center;justify-content:center;min-height:58px;padding:14px 24px;border-radius:16px;background:#e9e7e2;color:#151515;text-decoration:none;font-weight:650;letter-spacing:.1px;box-shadow:0 7px 22px #0005;transition:transform .16s ease,background .16s ease}.link:active{transform:scale(.975)}.link:hover{background:#f1efeb;transform:translateY(-1px)}.empty{text-align:center;color:#777}.admin-page{width:min(100% - 28px,700px);margin:auto;padding:28px 0 50px}.card{background:#111;border:1px solid #252525;border-radius:20px;padding:22px;box-shadow:0 15px 50px #0007}.card h1{margin:0 0 5px;font-size:23px}.muted{color:#888;margin:0 0 20px;font-size:14px}label{display:block;color:#aaa;font-size:13px;margin:12px 0}input,select{width:100%;margin-top:7px;padding:13px 14px;border:1px solid #303030;border-radius:12px;background:#0b0b0b;color:#eee;outline:none;font:inherit}input:focus,select:focus{border-color:#777}.primary,.ghost,.danger{border:0;border-radius:12px;padding:12px 16px;font:inherit;font-weight:650;cursor:pointer}.primary{background:#e9e7e2;color:#151515}.ghost{background:#222;color:#ddd}.danger{background:#2a1717;color:#ffb4b4}.form-actions{display:flex;gap:8px;margin-top:15px}.panel-head{display:flex;justify-content:space-between;align-items:flex-start;gap:15px}.admin-links{display:flex;flex-direction:column;gap:9px;margin-top:22px}.admin-item{display:flex;align-items:center;gap:10px;padding:12px;border:1px solid #292929;background:#0b0b0b;border-radius:14px}.drag{color:#777;font-size:20px;cursor:grab}.item-title{flex:1;min-width:0}.item-title strong{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.item-title small{display:block;color:#666;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin-top:3px}.item-actions{display:flex;gap:6px}.item-actions button{padding:8px 10px;border-radius:9px}.error{color:#ff8f8f;font-size:13px}.toast{position:fixed;left:50%;bottom:22px;transform:translateX(-50%);background:#e9e7e2;color:#111;padding:11px 15px;border-radius:12px;font-size:13px;box-shadow:0 10px 30px #0008}@media(max-width:480px){.page{padding-top:42px}.link{min-height:56px}.card{padding:18px}.item-actions{flex-direction:column}.item-actions button{padding:7px 9px}}
.primary,.ghost,.danger{text-transform:uppercase}

.link-icon{position:absolute;left:20px;font-size:22px;line-height:1;font-weight:400}.link-title{text-transform:none}.link-icon+.link-title{padding:0 24px 0 34px}select{appearance:auto}

.theme-choices{display:flex;gap:10px;align-items:center}.theme-choice{width:44px;height:34px;padding:3px;border:1px solid #333;border-radius:9px;background:#0b0b0b;cursor:pointer}.theme-choice.selected{outline:2px solid #777;outline-offset:2px}.theme-swatch{display:block;width:100%;height:100%;border-radius:6px;border:1px solid #555}.theme-swatch-light{background:linear-gradient(#090909 0 48%,#e9e7e2 48% 100%)}.theme-swatch-dark{background:linear-gradient(#f1f0ed 0 48%,#151515 48% 100%)}
.theme-dark-buttons{background:#f1f0ed;color:#151515}.theme-dark-buttons .profile p{color:#666}.theme-dark-buttons .link{background:#151515;color:#f1f0ed;box-shadow:0 7px 22px #0002}.theme-dark-buttons .link:hover{background:#222}.theme-dark-buttons .empty{color:#666}

/* Creator Hub — third theme: deep black background + slightly lighter black buttons */
.theme-black-buttons{background:#050505;color:#f1f0ed}
.theme-black-buttons .profile p{color:#777}
.theme-black-buttons .link{background:#111;color:#f1f0ed;border:1px solid #181818;box-shadow:0 7px 22px #0008}
.theme-black-buttons .link:hover{background:#151515}
.theme-black-buttons .empty{color:#666}
.theme-black-buttons .link-icon{color:#777}
.theme-swatch-black{background:linear-gradient(#050505 0 48%,#111 48% 100%)}

.theme-dark-buttons .link-icon{color:#777}

.link-icon svg{width:22px;height:22px;display:block;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.theme-black-buttons .link-icon{color:#777}.theme-dark-buttons .link-icon{color:#777}.link-icon{display:flex;align-items:center;justify-content:center}
.admin-nav{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;margin:18px 0 22px;padding:5px;background:#0a0a0a;border:1px solid #252525;border-radius:14px}.admin-nav a{padding:10px 8px;border-radius:10px;text-align:center;text-decoration:none;color:#888;font-size:12px;font-weight:700}.admin-nav a.active,.admin-nav a:hover{background:#e9e7e2;color:#151515}.settings-box{margin:18px 0;padding:16px;border:1px solid #292929;border-radius:14px;background:#0b0b0b}.settings-box h2{margin:0 0 6px;font-size:18px}.media-setting{display:flex;gap:16px;align-items:center;flex-wrap:wrap}.preview-circle{width:100px;height:100px;border-radius:50%;overflow:hidden;border:1px solid #333;background:#111}.preview-circle img{width:100%;height:100%;object-fit:cover}.favicon-preview{width:96px;height:96px;border-radius:18px;overflow:hidden;border:1px solid #333;background:#111;display:flex;align-items:center;justify-content:center}.favicon-preview img{width:72px;height:72px;object-fit:contain}.small-note{margin:8px 0}.optional{color:#666;font-weight:400}textarea{width:100%;min-height:90px;margin-top:7px;padding:13px 14px;border:1px solid #303030;border-radius:12px;background:#0b0b0b;color:#eee;outline:none;font:inherit;resize:vertical}textarea:focus{border-color:#777}.product-image-preview{width:160px;height:160px;border-radius:14px;overflow:hidden;border:1px solid #292929;background:#090909;margin-top:12px}.product-image-preview img{width:100%;height:100%;object-fit:cover}.admin-product-thumb{width:62px;height:62px;border-radius:10px;overflow:hidden;background:#111;border:1px solid #252525;flex:none}.admin-product-thumb img{width:100%;height:100%;object-fit:cover}.products{margin-top:30px}.product-category{margin-top:28px}.category-head{text-align:left;margin-bottom:12px}.category-head h2{margin:0;font-size:18px}.category-head p{margin:5px 0 0;color:#777;font-size:13px}.product-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.product-card{display:block;overflow:hidden;border:1px solid #1e1e1e;border-radius:14px;background:#101010;color:inherit;text-decoration:none;box-shadow:0 7px 22px #0005;transition:transform .16s ease,background .16s ease}.product-card:hover{transform:translateY(-2px);background:#141414}.product-card img{display:block;width:100%;aspect-ratio:1/1;object-fit:cover;background:#080808}.product-info{padding:13px}.product-info h3{margin:0;font-size:15px}.product-info p{margin:7px 0 0;color:#8a8a8a;font-size:12px;line-height:1.45}.product-price{display:block;margin-top:9px;font-size:13px}.product-link-text{display:block;margin-top:9px;color:#aaa;font-size:11px;text-transform:uppercase;letter-spacing:.5px}.theme-dark-buttons .product-card{background:#fff;color:#151515;border-color:#ddd}.theme-dark-buttons .product-info p{color:#666}.theme-dark-buttons .product-link-text{color:#666}.theme-dark-buttons .category-head p{color:#666}.theme-black-buttons .product-card{background:#111;color:#f1f0ed;border-color:#181818}.theme-black-buttons .product-info p{color:#777}.theme-black-buttons .product-link-text{color:#888}@media(max-width:480px){.admin-nav{grid-template-columns:repeat(2,1fr)}.product-grid{grid-template-columns:1fr}.product-card img{aspect-ratio:4/3}}
.image-status{margin:9px 0 0;color:#888;font-size:12px;line-height:1.4}.image-status.manual{color:#bdbdbd}.image-status.auto{color:#9c9c9c}.image-status.loading{color:#777}.image-status.warn{color:#c9a36a}
.products{width:100%}.product-card{min-height:116px;display:flex;flex-direction:row-reverse;align-items:stretch;justify-content:space-between;border-radius:14px}.product-card img{width:116px;min-width:116px;height:116px;aspect-ratio:auto;object-fit:cover;background:#080808}.product-info{min-width:0;flex:1;display:flex;flex-direction:column;justify-content:center;padding:14px 16px}.product-info h3{margin:0;font-size:14px;line-height:1.25;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.product-info p{margin:6px 0 0;font-size:11px;line-height:1.35;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.product-price{margin-top:7px;font-size:12px}.product-link-text{margin-top:6px;font-size:10px}.product-card:not(:has(img)){min-height:92px}.product-card:not(:has(img)) .product-info{padding-right:18px}.product-category{margin-top:24px}.product-grid{display:flex;flex-direction:column;gap:9px}.category-head{margin-bottom:9px}.category-head h2{font-size:17px}
@media(max-width:480px){.product-card{min-height:96px}.product-card img{width:96px;min-width:96px;height:96px}.product-info{padding:11px 13px}.product-info h3{font-size:13px}.product-info p{font-size:10px}.product-price{font-size:11px;margin-top:5px}.product-link-text{display:none}.product-card:not(:has(img)){min-height:82px}}

/* Tanıtım bannerı */
.promo-banner{margin:22px 0 0;overflow:hidden;border:1px solid #242424;border-radius:14px;background:#111;box-shadow:0 10px 30px #0005}.promo-banner-media{position:relative;width:100%;aspect-ratio:16/9;background:#090909;overflow:hidden}.promo-banner-media img{display:block;width:100%;height:100%;object-fit:cover}.promo-banner-badge{position:absolute;right:10px;bottom:10px;padding:7px 10px;border-radius:9px;background:#222;color:#ddd;font-size:11px;font-weight:650;line-height:1;box-shadow:0 5px 15px #0007}.promo-banner-content{display:flex;align-items:center;gap:14px;padding:13px 14px}.promo-banner-copy{min-width:0;flex:1}.promo-banner-title{margin:0;font-size:14px;line-height:1.3;font-weight:700;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.promo-banner-description{margin:5px 0 0;color:#777;font-size:11px;line-height:1.4;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.promo-banner-button{flex:none;display:inline-flex;align-items:center;justify-content:center;min-height:36px;padding:0 13px;border-radius:10px;background:#242424;color:#ddd;text-decoration:none;font-size:11px;font-weight:650;white-space:nowrap}.promo-banner-button:hover{background:#2d2d2d}.promo-banner.no-image .promo-banner-media{display:none}.theme-dark-buttons .promo-banner{background:#f7f6f2;border-color:#ddd;color:#151515}.theme-dark-buttons .promo-banner-description{color:#666}.theme-dark-buttons .promo-banner-button{background:#e5e3de;color:#151515}.theme-black-buttons .promo-banner{background:#111;color:#f1f0ed;border-color:#1b1b1b}
.admin-nav-five{grid-template-columns:repeat(5,1fr)}.banner-setting-head{display:flex;align-items:flex-start;justify-content:space-between;gap:18px}.switch-row{display:flex;align-items:center;gap:8px!important;margin:0!important;color:#ddd!important;white-space:nowrap}.switch-row input{position:absolute;opacity:0;pointer-events:none;width:1px}.switch{position:relative;width:42px;height:24px;border-radius:999px;background:#333;display:inline-block;transition:.15s}.switch:after{content:"";position:absolute;top:3px;left:3px;width:18px;height:18px;border-radius:50%;background:#eee;transition:.15s}.switch-row input:checked+.switch{background:#e9e7e2}.switch-row input:checked+.switch:after{left:21px;background:#151515}.banner-admin-preview{width:100%;aspect-ratio:16/9;border-radius:12px;overflow:hidden;border:1px solid #292929;background:#090909;margin:10px 0 16px}.banner-admin-preview img{width:100%;height:100%;display:block;object-fit:cover}.banner-fields{display:grid;grid-template-columns:1fr 1fr;gap:12px}.image-status{margin:9px 0;color:#999;font-size:13px}
@media(max-width:480px){.admin-nav-five{grid-template-columns:repeat(2,1fr)}.banner-setting-head{flex-direction:column}.banner-fields{grid-template-columns:1fr}.promo-banner-content{align-items:flex-start}.promo-banner-button{min-height:34px;padding:0 11px}.promo-banner-description{white-space:normal;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}}

/* Promo banner admin: when disabled, keep only the toggle visible. */
#bannerSettings.banner-inactive{padding:18px}
#bannerSettings.banner-inactive .banner-setting-head{margin:0;justify-content:space-between;align-items:flex-start}
#bannerSettings.banner-inactive .switch-row{margin:0}
.banner-hidden-control{display:none!important}

.site-email-footer{text-align:center;margin-top:30px;padding-top:10px}.site-email-footer a{font-size:10px;line-height:1.3;color:#666;text-decoration:none;opacity:.8}.site-email-footer a:hover{text-decoration:underline;opacity:1}.theme-dark-buttons .site-email-footer a{color:#777}.theme-black-buttons .site-email-footer a{color:#666}
/* İndirme sayfaları */
.admin-nav-six{grid-template-columns:repeat(6,1fr)}
.download-admin-grid{display:grid;grid-template-columns:280px minmax(0,1fr);gap:14px;align-items:start}
.download-page-list{display:flex;flex-direction:column;gap:7px;margin-top:12px}
.download-page-item{width:100%;text-align:left;border:1px solid #252525;background:#0b0b0b;color:#eee;border-radius:11px;padding:11px 12px;cursor:pointer}
.download-page-item strong{display:block;font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.download-page-item span{display:block;color:#666;font-size:10px;margin-top:4px}.download-page-item.active{border-color:#777;background:#151515}
.download-admin-image{width:100%;max-width:520px;aspect-ratio:16/9;border:1px solid #292929;border-radius:12px;overflow:hidden;background:#090909;margin:10px 0 14px}.download-admin-image img{width:100%;height:100%;object-fit:cover}
.download-admin-gallery{display:flex;gap:8px;flex-wrap:wrap;margin:10px 0 16px}.download-admin-gallery img{width:74px;height:54px;object-fit:cover;border-radius:8px;border:1px solid #292929}
.download-button-head{margin-top:20px;padding-top:16px;border-top:1px solid #242424}.download-admin-button-row{display:grid;grid-template-columns:1fr 1.4fr 40px;gap:8px;margin:9px 0}.download-admin-button-row input{min-width:0}.danger{border:1px solid #4a2525;background:#211010;color:#e99;padding:10px 14px;border-radius:10px;cursor:pointer}
.download-page{max-width:680px;margin:24px auto;padding:0 14px}.download-card{overflow:hidden;border:1px solid #242424;border-radius:12px;background:#111;color:#eee;box-shadow:0 12px 35px #0006}.download-top{display:flex;align-items:center;justify-content:space-between;padding:12px 14px;border-bottom:1px solid #202020}.download-top h1{margin:0;font-size:14px;font-weight:700}.download-close{width:24px;height:24px;border:0;border-radius:50%;display:flex;align-items:center;justify-content:center;background:#242424;color:#aaa;font-size:17px;line-height:1;padding:0;cursor:pointer}.download-gallery{padding:14px 14px 10px;background:#090909}.download-main-image{display:block;width:100%;max-height:520px;object-fit:contain;border-radius:7px;background:#080808}.download-thumbs{display:flex;gap:7px;margin-top:9px;overflow:auto}.download-thumb{width:62px;height:42px;padding:0;border:1px solid #262626;border-radius:6px;overflow:hidden;background:#111;cursor:pointer;flex:none}.download-thumb.active{border-color:#aaa}.download-thumb img{width:100%;height:100%;object-fit:cover}.download-body{padding:14px}.download-badges{display:flex;flex-wrap:wrap;gap:6px;margin-bottom:12px}.download-badges span{padding:5px 8px;border-radius:7px;background:#222;color:#999;font-size:9px}.download-description{margin:0;color:#ddd;font-size:12px;line-height:1.55;font-weight:650}.download-details{margin:8px 0 0;color:#777;font-size:11px;line-height:1.55}.download-extra-text{margin:14px 0 0;padding:10px 12px;border:1px solid #202020;border-radius:9px;background:#0d0d0d;color:#aaa;font-size:11px;line-height:1.65;white-space:pre-line}.download-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-top:18px;padding:12px;border:1px solid #202020;border-radius:10px;background:#0d0d0d}.download-button{display:flex;align-items:center;justify-content:center;min-height:38px;padding:0 12px;border-radius:7px;background:#191919;color:#ccc;text-decoration:none;font-size:11px;font-weight:650;border:1px solid #202020}.download-button:hover{background:#222}.download-loading{padding:30px;text-align:center;color:#777}.theme-dark-buttons .download-card{background:#f7f6f2;color:#151515;border-color:#ddd}.theme-dark-buttons .download-top{border-color:#ddd}.theme-dark-buttons .download-gallery{background:#e9e7e2}.theme-dark-buttons .download-close{background:#e5e3de;color:#555}.theme-dark-buttons .download-description{color:#222}.theme-dark-buttons .download-details{color:#666}.theme-dark-buttons .download-extra-text{background:#eee;border-color:#ddd;color:#444}.theme-dark-buttons .download-actions{background:#eee;border-color:#ddd}.theme-dark-buttons .download-button{background:#e3e1dc;color:#222;border-color:#d8d6d1}.theme-black-buttons .download-card{background:#111;color:#f1f0ed;border-color:#1b1b1b}.theme-black-buttons .download-top{border-color:#1b1b1b}.theme-black-buttons .download-gallery{background:#080808}.theme-black-buttons .download-extra-text{background:#0d0d0d;border-color:#202020;color:#aaa}
@media(max-width:700px){.admin-nav-six{grid-template-columns:repeat(2,1fr)}.download-admin-grid{grid-template-columns:1fr}.download-admin-button-row{grid-template-columns:1fr}.download-actions{grid-template-columns:1fr}.download-page{margin-top:12px;padding:0 9px}}

/* İndirme sayfasını ana sayfanın üzerinde açılan modal olarak göster */
.download-overlay{position:fixed;inset:0;z-index:9999;display:none;align-items:center;justify-content:center;padding:18px}.download-overlay.open{display:flex}.download-overlay-backdrop{position:absolute;inset:0;background:#000b;backdrop-filter:blur(6px)}.download-overlay-panel{position:relative;z-index:1;width:min(100%,720px);height:min(92vh,900px);border-radius:16px;overflow:hidden;background:#090909;box-shadow:0 25px 80px #000c}.download-overlay-frame{display:block;width:100%;height:100%;border:0;background:transparent}.download-overlay-open{overflow:hidden}
.download-button{background:#e9e7e2;color:#151515;border-color:#d9d7d2}.download-button:hover{background:#f1efeb}.theme-dark-buttons .download-button{background:#151515;color:#f1f0ed;border-color:#222}.theme-dark-buttons .download-button:hover{background:#222}.theme-black-buttons .download-button{background:#111;color:#f1f0ed;border-color:#1b1b1b}.theme-black-buttons .download-button:hover{background:#151515}
.theme-dark-buttons .download-overlay-panel{background:#f7f6f2}.theme-black-buttons .download-overlay-panel{background:#050505}
@media(max-width:700px){.download-overlay{padding:0}.download-overlay-panel{width:100%;height:100%;border-radius:0}}

/* Final download UI adjustments */
.download-actions:has(.download-button:only-child){grid-template-columns:1fr;}
.download-actions .download-button:only-child{width:min(100%,260px);justify-self:center;}
.download-overlay-panel{width:100vw;height:100vh;max-width:none;border-radius:0;}
.download-overlay-frame{width:100vw;height:100vh;}
