/* SagaNest Author Studio — premium dashboard layout */
.author-page{--studio-bg:#090914;--studio-panel:#111322;--studio-panel-2:#151729;--studio-border:#282b43;--studio-muted:#969bb5;--studio-purple:#8b35f5;--studio-purple-light:#b77aff;background:var(--studio-bg);color:#f7f5ff;min-height:100vh}
.author-app-shell{min-height:100vh;display:grid;grid-template-columns:238px minmax(0,1fr);background:radial-gradient(ellipse at 75% 0%,rgba(93,35,150,.12),transparent 36%),var(--studio-bg)}
.author-sidebar{height:100vh;position:sticky;top:0;display:flex;flex-direction:column;padding:27px 16px 18px;background:#0d0e1b;border-right:1px solid #25263b;z-index:30}
.author-brand{display:flex;align-items:center;gap:11px;padding:0 12px 38px;color:#fff;font-size:23px;font-weight:800;letter-spacing:-.8px;text-decoration:none}.author-brand-icon{width:38px;height:38px;object-fit:contain}.brand-accent{color:#a85cff}
.sidebar-caption{padding:0 13px;margin:0 0 12px;color:#656b87;font-size:10px;font-weight:800;letter-spacing:1.5px}.sidebar-caption-spaced{margin-top:30px}
.sidebar-nav{display:grid;gap:6px}.sidebar-link{display:flex;align-items:center;gap:13px;padding:12px 13px;border-radius:10px;color:#a5a9c0;text-decoration:none;font-size:13px;font-weight:600;transition:.2s}.sidebar-link:hover{background:#191a2c;color:#fff}.sidebar-link.active{color:#fff;background:linear-gradient(100deg,#7622df,#4e16a3);box-shadow:0 7px 22px #651ac044}.sidebar-icon{width:20px;text-align:center;font-size:19px;color:#b9a0df}
.sidebar-bottom{margin-top:auto}.premium-card{padding:18px 16px;border:1px solid #59318b;border-radius:14px;background:linear-gradient(145deg,#211638,#121426);text-align:center}.premium-crown{font-size:27px;color:#ffc94f;margin-bottom:7px}.premium-card strong{font-size:13px}.premium-card p{font-size:11px;line-height:1.55;color:#a8abc2;margin:7px 0 13px}.premium-link{display:inline-flex;gap:8px;color:#c99bff;font-size:11px;font-weight:700;text-decoration:none}.sidebar-logout{width:100%;margin-top:15px;padding:11px 13px;border:0;border-radius:9px;background:transparent;color:#989db6;text-align:left;font:inherit;font-size:12px;cursor:pointer}.sidebar-logout:hover{background:#211522;color:#ff9aab}.sidebar-logout span{margin-right:9px}
.author-main-column{min-width:0}.author-topbar{height:70px;padding:0 clamp(22px,4vw,54px);display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #202238;background:rgba(10,11,23,.88);position:sticky;top:0;z-index:20;backdrop-filter:blur(16px)}.topbar-breadcrumb{display:flex;align-items:center;gap:11px;font-size:12px;color:#727892}.topbar-breadcrumb b{color:#444963}.topbar-breadcrumb strong{color:#e7e5f3;font-weight:600}.topbar-actions{display:flex;align-items:center;gap:15px}.topbar-icon-btn{width:36px;height:36px;border:1px solid #30334b;border-radius:10px;background:#151729;color:#c9c5dd;font-size:25px;cursor:pointer}.topbar-avatar{width:36px;height:36px;border-radius:50%;display:grid;place-items:center;background:linear-gradient(135deg,#b45cff,#6718d1);color:#fff;font-weight:800;text-decoration:none;font-size:13px}.mobile-menu-btn{display:none;border:0;background:none;color:#fff;font-size:22px}
.search-panel{display:none;padding:12px clamp(22px,4vw,54px);background:#101223;border-bottom:1px solid var(--studio-border)}.search-panel.active{display:block}.search-panel input{width:100%;padding:12px 15px;border:1px solid #343650;border-radius:9px;background:#090b17;color:#fff;outline:none}
.author-dashboard{width:min(1440px,100%);margin:0 auto;padding:34px clamp(22px,4vw,54px) 50px}.dashboard-header{position:relative;display:flex;align-items:center;justify-content:space-between;gap:24px;min-height:170px;margin-bottom:22px;padding:27px 32px;border:1px solid #302548;border-radius:17px;overflow:hidden;background:radial-gradient(ellipse at 78% 50%,#4c2370aa,transparent 34%),linear-gradient(105deg,#191329,#111324 70%)}.dashboard-header:after{content:"";position:absolute;width:290px;height:190px;right:18%;top:-100px;border-radius:50%;background:#7c32d5;filter:blur(90px);opacity:.22;pointer-events:none}.hero-copy{position:relative;z-index:2;max-width:650px}.section-label{margin:0 0 8px;color:#b77aff;font-size:10px;font-weight:800;letter-spacing:1.5px;text-transform:uppercase}.dashboard-header h1{margin:0 0 8px;font-size:clamp(26px,3vw,38px);line-height:1.15;letter-spacing:-1.1px}.dashboard-header>div>p:not(.section-label){color:#b2b4c9;font-size:13px;margin:0}.welcome-wave{font-size:.8em}.hero-art{position:absolute;right:24%;bottom:12px;width:190px;height:145px;opacity:.55;pointer-events:none}.hero-book{position:absolute;bottom:13px;width:105px;height:25px;border:2px solid #a66be4;border-radius:5px;background:linear-gradient(90deg,#34204f,#7041a2);box-shadow:0 9px 20px #0008}.hero-book-one{left:8px;transform:rotate(-8deg)}.hero-book-two{left:50px;bottom:42px;transform:rotate(7deg);background:linear-gradient(90deg,#1c3651,#4e6c9b);border-color:#7793c7}.hero-quill{position:absolute;right:15px;top:0;color:#d9b5ff;font-size:72px;transform:rotate(-24deg)}.hero-add-btn{position:relative;z-index:2;white-space:nowrap}.primary-btn{display:inline-flex;align-items:center;justify-content:center;gap:7px;padding:11px 17px;border:1px solid #963fff;border-radius:9px;background:linear-gradient(110deg,#8b2df0,#651bc4);color:#fff;text-decoration:none;font-size:12px;font-weight:750;box-shadow:0 7px 18px #701fd633;transition:.2s}.primary-btn:hover{transform:translateY(-2px);filter:brightness(1.12)}
.author-profile-card{display:flex;align-items:center;gap:19px;padding:20px 24px;margin-bottom:34px;border:1px solid var(--studio-border);border-radius:15px;background:linear-gradient(110deg,#151729,#101220)}.author-avatar{width:66px;height:66px;flex-shrink:0;display:grid;place-items:center;border:3px solid #4c2876;border-radius:50%;background:linear-gradient(135deg,#b14cff,#6417d0);color:#fff;font-size:25px;font-weight:800;box-shadow:0 0 25px #8a35f544}.author-profile-info{flex:1;min-width:0}.author-profile-info .section-label{margin-bottom:4px}.author-profile-info h2{font-size:19px;margin:0 0 5px}.author-profile-info>p:last-child{max-width:700px;margin:0;color:#a4a8bf;font-size:12px;line-height:1.5;overflow-wrap:anywhere}.secondary-btn{display:inline-flex;align-items:center;justify-content:center;gap:7px;padding:9px 14px;border:1px solid #68409a;border-radius:8px;background:#171629;color:#e4d7fa;text-decoration:none;font-size:11px;font-weight:700;cursor:pointer}.secondary-btn:hover{border-color:#a65aff;background:#211634}.profile-edit-btn{white-space:nowrap}
.dashboard-section{margin-top:37px;scroll-margin-top:90px}.overview-section{margin-top:0}.section-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:15px;margin-bottom:17px}.section-heading h2{margin:0;color:#f5f3ff;font-size:21px;letter-spacing:-.4px}.dashboard-period{padding:7px 11px;border:1px solid #30334a;border-radius:20px;color:#a7abc1;font-size:10px;background:#111425}.author-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:13px}.author-stat{display:flex;align-items:center;gap:13px;min-height:112px;padding:18px 17px;border:1px solid var(--studio-border);border-radius:13px;background:linear-gradient(145deg,#17192b,#111322);transition:.2s}.author-stat:hover{transform:translateY(-3px);border-color:#65418f}.stat-icon{width:41px;height:41px;flex-shrink:0;display:grid;place-items:center;border-radius:11px;font-size:21px}.stat-purple .stat-icon{background:#6324a633;color:#bd7aff}.stat-green .stat-icon{background:#0c9b6930;color:#4ce0a8}.stat-blue .stat-icon{background:#247bc733;color:#69b9ff}.stat-gold .stat-icon{background:#b17a1d33;color:#ffc95c}.author-stat span{display:block;color:#a7abc0;font-size:10px;margin-bottom:6px}.author-stat strong{display:block;font-size:25px;line-height:1.1;font-weight:800}.author-stat small{display:block;margin-top:6px;color:#747a97;font-size:9px;line-height:1.4}
.reader-growth{padding:22px 24px;border:1px solid var(--studio-border);border-radius:14px;background:#111322}.reader-growth-summary{display:flex;gap:30px;flex-wrap:wrap;margin-bottom:23px}.growth-stat{flex:1;min-width:110px}.growth-stat span{display:block;color:#969bb5;font-size:10px;text-transform:uppercase;letter-spacing:.7px;margin-bottom:6px}.growth-stat strong{display:block;color:#fff;font-size:24px}.growth-stat strong.positive{color:#48dca1}.growth-stat strong.negative{color:#ff7d91}.growth-stat small{color:#747a94;font-size:10px}.growth-chart{height:165px;display:grid;grid-template-columns:repeat(6,1fr);gap:13px;align-items:end;padding:18px 8px 29px;border-bottom:1px solid #30334a;background:repeating-linear-gradient(to bottom,transparent 0,transparent 39px,#25283d 40px)}.growth-bar-wrap{height:100%;display:flex;align-items:center;justify-content:flex-end;flex-direction:column;position:relative}.growth-bar{width:min(48px,75%);min-height:4px;position:relative;border-radius:6px 6px 0 0;background:linear-gradient(180deg,#c18aff,#7927dc);box-shadow:0 0 15px #9b45ed33}.growth-bar-value{position:absolute;top:-20px;left:50%;transform:translateX(-50%);font-size:9px;color:#d9baff;opacity:0;white-space:nowrap}.growth-bar-value.always,.growth-bar-wrap:hover .growth-bar-value{opacity:1}.growth-bar-label{position:absolute;bottom:-23px;color:#9297b1;font-size:10px}.growth-top-list{margin-top:22px;padding-top:17px;border-top:1px solid #292c42}.growth-top-list h4{margin:0 0 10px;color:#9fa4bd;font-size:10px;letter-spacing:1px;text-transform:uppercase}.growth-top-item{display:flex;align-items:center;gap:12px;padding:9px 0;border-bottom:1px solid #22253a}.growth-top-item:last-child{border:0}.growth-top-rank{width:25px;height:25px;display:grid;place-items:center;border-radius:50%;background:#54268b;color:#d6b5ff;font-size:10px;font-weight:800}.growth-top-title{flex:1;color:#e9e6f4;font-size:12px}.growth-top-count{color:#4bdfa4;font-size:11px;font-weight:700}.growth-empty,.dashboard-empty{text-align:center;padding:34px 20px;color:#9ca1ba}.growth-empty-icon,.dashboard-empty>div{font-size:30px;color:#b77aff;margin-bottom:10px}.growth-empty h3,.dashboard-empty h3{margin:0 0 7px;color:#f1effa;font-size:15px}.growth-empty p,.dashboard-empty p{max-width:430px;margin:0 auto;color:#8e93ad;font-size:11px;line-height:1.6}
.activity-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:13px}.activity-card{padding:18px;border:1px solid var(--studio-border);border-radius:12px;background:#121424}.activity-card span{display:block;color:#a0a5bd;font-size:11px;margin-bottom:8px}.activity-card strong{display:block;color:#fff;font-size:25px}.activity-card small{display:block;color:#747a96;font-size:10px;margin-top:5px}.dashboard-note{margin:12px 0 0;color:#858ba5;font-size:11px}.view-all{color:#c18aff;text-decoration:none;font-size:11px;font-weight:700}.view-all span{font-size:16px;margin-left:4px}.top-novels{display:grid;gap:9px}.top-novel{display:flex;align-items:center;gap:14px;padding:13px 16px;border:1px solid var(--studio-border);border-radius:11px;background:#121424}.top-rank{width:27px;color:#bd8aff;font-size:14px;font-weight:800}.top-novel-cover{width:39px;height:52px;display:grid;place-items:center;border-radius:5px;background:linear-gradient(145deg,#54257d,#151225);color:#d5b5ff}.top-novel-info{flex:1;min-width:0}.top-novel-info strong{display:block;color:#f3f0fb;font-size:12px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.top-novel-info span,.analytics-pending{color:#858ba5;font-size:10px}.analytics-pending{flex-shrink:0;text-align:right}
.novel-filters{display:flex;gap:7px;margin-bottom:14px}.novel-filter{padding:8px 13px;border:1px solid #30334a;border-radius:20px;background:#111322;color:#a4a9c1;font-size:10px;font-weight:700;cursor:pointer}.novel-filter:hover,.novel-filter.active{border-color:#8841d0;background:#58239a;color:#fff}.compact-add{padding:9px 13px}.author-novel-list{display:grid;gap:11px}.author-novel{display:flex;align-items:center;gap:17px;padding:15px;border:1px solid var(--studio-border);border-radius:13px;background:linear-gradient(110deg,#151729,#111322);transition:.2s}.author-novel:hover{border-color:#62408c}.author-cover{width:65px;height:91px;flex-shrink:0;overflow:hidden;border-radius:6px;background:#252039}.author-cover img{width:100%;height:100%;object-fit:cover}.author-novel-info{flex:1;min-width:0}.author-novel-info .status{display:inline-block;margin-bottom:5px;font-size:9px;font-weight:800;text-transform:uppercase;letter-spacing:.5px}.author-novel-info .status.published{color:#45dba0}.author-novel-info .status.draft{color:#f3bd5c}.author-novel-info h2{margin:0 0 4px;color:#f5f2ff;font-size:15px;overflow-wrap:anywhere}.author-novel-info p{margin:3px 0;color:#9da2ba;font-size:10px}.author-novel-info .muted{color:#737994;font-size:9px}.novel-rating-compact .stars{color:#ffc65c;letter-spacing:1px}.novel-rating-compact .count{color:#858ba5}.author-actions{display:flex;align-items:center;justify-content:flex-end;gap:6px;flex-wrap:wrap}.author-actions .secondary-btn,.author-actions .danger-btn{padding:8px 10px;font-size:9px}.danger-btn{border:1px solid #71394b;border-radius:7px;background:#281722;color:#ff9bad;cursor:pointer}.danger-btn:hover{background:#4b1e31}
.earnings-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:13px}.earnings-card{padding:20px;border:1px solid var(--studio-border);border-radius:12px;background:#121424}.earnings-card span{display:block;color:#a0a5bd;font-size:11px;margin-bottom:9px}.earnings-card strong{display:block;color:#c18aff;font-size:25px}.earnings-card small{display:block;color:#747a96;font-size:10px;margin-top:6px}.coming-soon-card{display:flex;align-items:center;gap:16px;margin-top:16px;padding:20px;border:1px solid #3c2d59;border-radius:12px;background:linear-gradient(100deg,#1b1730,#121424)}.coming-soon-icon{width:42px;height:42px;flex-shrink:0;display:grid;place-items:center;border-radius:11px;background:#7b36bd33;color:#c18aff;font-size:23px}.coming-soon-card h3{margin:0 0 5px;color:#f4f0ff;font-size:13px}.coming-soon-card p{margin:0;color:#a0a5bd;font-size:11px;line-height:1.6}.daily-earnings-area{margin-top:20px}.settings-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.settings-card{display:flex;align-items:center;gap:12px;padding:17px;border:1px solid var(--studio-border);border-radius:11px;background:#121424;color:#fff;text-align:left;text-decoration:none;font:inherit;cursor:pointer}.settings-card>span{font-size:21px;color:#c18aff}.settings-card>div{flex:1}.settings-card strong{display:block;font-size:11px;margin-bottom:4px}.settings-card small{display:block;color:#858ba5;font-size:9px}.settings-card>b{color:#8c91aa;font-size:16px}.settings-card:hover{border-color:#7044a2}.author-footer{display:flex;align-items:center;justify-content:space-between;gap:15px;flex-wrap:wrap;margin-top:48px;padding-top:19px;border-top:1px solid #25283c;color:#747a94;font-size:10px}.author-footer div{display:flex;gap:14px;flex-wrap:wrap}.author-footer a{color:#9298b0;text-decoration:none}.author-footer a:hover{color:#c18aff}
@media(max-width:1100px){.author-app-shell{grid-template-columns:205px minmax(0,1fr)}.author-sidebar{padding-inline:12px}.author-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.hero-art{right:19%}.author-actions{max-width:190px}.author-actions .secondary-btn,.author-actions .danger-btn{flex:1}}
@media(max-width:800px){.author-app-shell{display:block}.author-sidebar{position:fixed;left:0;top:0;bottom:0;width:250px;height:100dvh;transform:translateX(-105%);transition:transform .25s ease;box-shadow:15px 0 40px #0008}.author-sidebar.is-open{transform:translateX(0)}.mobile-menu-btn{display:block}.author-topbar{height:62px;padding:0 20px;gap:15px}.topbar-breadcrumb{flex:1}.author-dashboard{padding:25px 20px 40px}.dashboard-header{min-height:160px;padding:23px}.hero-art{right:9%;opacity:.3}.hero-add-btn{align-self:flex-end}.author-novel{flex-wrap:wrap}.author-actions{width:100%;max-width:none;justify-content:flex-start}.author-actions .secondary-btn,.author-actions .danger-btn{flex:0 1 auto}.settings-grid{grid-template-columns:1fr 1fr}}
@media(max-width:580px){.author-dashboard{padding:18px 14px 32px}.dashboard-header{display:block;padding:22px 19px;min-height:0}.dashboard-header h1{font-size:26px}.dashboard-header>div>p:not(.section-label){max-width:280px;font-size:11px}.hero-art{right:-5px;top:8px;transform:scale(.7);transform-origin:top right;opacity:.22}.hero-add-btn{margin-top:20px;width:100%}.author-profile-card{align-items:flex-start;gap:12px;padding:16px;flex-wrap:wrap}.author-avatar{width:51px;height:51px;font-size:20px}.author-profile-info{width:calc(100% - 66px)}.author-profile-info h2{font-size:16px}.profile-edit-btn{width:100%}.section-heading{align-items:flex-start}.section-heading h2{font-size:18px}.dashboard-period{font-size:9px}.author-stats{grid-template-columns:1fr 1fr;gap:8px}.author-stat{min-height:96px;padding:12px 10px;gap:9px}.stat-icon{width:33px;height:33px;font-size:17px}.author-stat span{font-size:9px}.author-stat strong{font-size:21px}.author-stat small{font-size:8px}.activity-grid,.earnings-grid{grid-template-columns:1fr}.activity-card{padding:14px}.reader-growth{padding:16px 12px}.reader-growth-summary{gap:16px}.growth-stat{min-width:75px}.growth-stat strong{font-size:19px}.growth-chart{height:135px;gap:5px;padding-inline:0}.author-novel{gap:11px;padding:12px}.author-cover{width:54px;height:76px}.author-novel-info h2{font-size:13px}.author-actions{gap:5px}.author-actions .secondary-btn,.author-actions .danger-btn{padding:7px 8px;font-size:8px}.analytics-pending{max-width:100px;white-space:normal}.settings-grid{grid-template-columns:1fr}.author-footer{font-size:9px}.author-footer div{gap:10px}}
