/*
Theme Name: Mau11 Stories
Description: Dark, chapter-based story experience for Mau11 Dailyora.
Version: 1.0.0
Text Domain: mau11
*/
:root{--bg:#0c0c11;--panel:#18181e;--panel2:#222229;--text:#f7f7f9;--muted:#96969f;--line:#28282f;--accent:#ff3047;--font:'DM Sans',system-ui,-apple-system,sans-serif}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--bg);color:var(--text);font:15px/1.55 var(--font)}a{color:inherit;text-decoration:none}button,input{font:inherit}button{cursor:pointer}img{max-width:100%;display:block}.site-header{position:relative;z-index:20;background:#0b0b0f;border-bottom:1px solid #222228}.header-inner{max-width:1480px;margin:auto;height:68px;display:flex;align-items:center;gap:30px;padding:0 28px}.brand{display:flex;align-items:center;gap:10px;font-size:21px;font-weight:800;white-space:nowrap;letter-spacing:-.04em}.brand-mark{display:inline-grid;place-items:center;width:31px;height:31px;border-radius:7px;background:linear-gradient(135deg,#ff5366,#d8001e);font-size:16px;color:#111;box-shadow:0 0 22px #ff304733;letter-spacing:0}.primary-nav{display:flex;gap:26px;font-size:14px;font-weight:700}.primary-nav a:hover,.site-footer a:hover{color:var(--accent)}.header-search{margin-left:auto;display:flex;align-items:center;border:1px solid #303038;background:#1a1a21;border-radius:24px;height:38px;min-width:230px}.header-search input{width:100%;background:transparent;border:0;color:#fff;outline:0;padding:8px 14px;font-size:13px}.header-search button{background:none;border:0;color:#eee;font-size:27px;line-height:1;padding:0 14px}.icon-button{border:0;background:none;color:#eee;font-size:24px}.top-up,.primary-button{display:inline-flex;justify-content:center;align-items:center;border:0;background:var(--accent);color:#fff;font-weight:800;border-radius:99px;padding:9px 21px}.top-up{font-size:13px}.top-up:hover,.primary-button:hover{background:#e61e39}.history-panel{position:absolute;right:max(20px,calc((100vw - 1440px)/2));top:69px;width:min(390px,calc(100vw - 28px));padding:20px;border:1px solid #3c3b44;border-radius:20px;background:#29282f;box-shadow:0 20px 55px #0009}.history-panel[hidden]{display:none}.history-panel-head{display:flex;justify-content:space-between;font-size:18px;font-weight:800}.history-close{background:none;border:0;color:#fff;font-size:24px}.history-item{display:flex;gap:12px;align-items:center;margin-top:16px;font-weight:700}.history-item img{width:55px;height:70px;object-fit:cover;border-radius:7px}.history-item small{display:block;color:#a7a5ae;font-weight:500}.history-empty{color:#b1afb8}.site-main{min-height:70vh}.hero{height:min(480px,48vw);min-height:350px;position:relative;background-image:var(--hero-image);background-size:cover;background-position:center 35%;background-color:#222}.hero-shade{position:absolute;inset:0;background:linear-gradient(90deg,#0b0b10 0%,#0b0b10e8 25%,#0b0b1099 53%,#0b0b1022 100%),linear-gradient(0deg,#0c0c11 0%,transparent 32%)}.hero-content{position:relative;z-index:1;max-width:1480px;margin:auto;padding:65px 28px}.eyebrow{color:var(--accent);font-size:12px;font-weight:800;text-transform:uppercase;letter-spacing:.09em}.hero h1{font-size:clamp(32px,3.6vw,58px);line-height:1.03;max-width:560px;margin:12px 0 16px;letter-spacing:-.045em}.hero p{max-width:470px;color:#d1cfd1;font-size:14px;line-height:1.65;display:-webkit-box;-webkit-line-clamp:4;-webkit-box-orient:vertical;overflow:hidden}.hero-tags,.genre-pills{display:flex;gap:7px;flex-wrap:wrap}.hero-tags span,.genre-pills span{border-radius:99px;padding:4px 10px;background:#303039;font-size:11px;font-weight:700}.hero-tags span:first-child{background:var(--accent)}.light-button{display:inline-flex;background:#fff;color:#111;border-radius:99px;padding:10px 23px;font-size:13px;font-weight:800;margin-top:12px}.light-button:hover{background:#efeff3}.content-container{max-width:1480px;margin:auto;padding:18px 28px 100px}.story-section{margin:0 0 66px}.section-heading{display:flex;align-items:center;justify-content:space-between;margin:0 0 16px}.section-heading h2,.more-stories h2{font-size:19px;line-height:1.3;margin:0;font-weight:800}.section-heading a,.section-heading>span{font-size:12px;color:var(--muted)}.section-heading a:hover{color:#fff}.story-strip{display:flex;gap:16px;overflow-x:auto;scrollbar-width:thin;scrollbar-color:#373740 transparent;padding-bottom:8px;scroll-snap-type:x proximity}.story-card{width:170px;flex:0 0 170px;min-width:0;scroll-snap-align:start}.story-poster{display:block;position:relative;aspect-ratio:2/3;background:#22232b;border-radius:8px;overflow:hidden}.story-poster:after{content:"";position:absolute;inset:35% 0 0;background:linear-gradient(transparent,#000c)}.story-poster img{height:100%;width:100%;object-fit:cover;transition:transform .3s}.story-card:hover .story-poster img{transform:scale(1.055)}.poster-fallback{height:100%;display:grid;place-items:center;color:#888;font-size:42px}.poster-title{position:absolute;z-index:1;bottom:9px;left:7px;right:7px;text-align:center;font-size:11px;font-weight:800;line-height:1.18;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;text-shadow:0 1px 5px #000}.new-badge{position:absolute;z-index:2;right:5px;top:5px;background:var(--accent);font-size:10px;font-weight:800;padding:2px 7px;border-radius:6px}.rank-number{position:absolute;z-index:2;top:-13px;left:-2px;color:var(--accent);font-size:37px;font-weight:800;text-shadow:2px 2px 0 #111,-2px -2px 0 #111}.story-name{display:block;font-size:12px;font-weight:800;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin-top:8px}.story-tags{display:block;font-size:11px;color:#96949d;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.continue-section{display:none;margin-top:8px}.continue-section.has-history{display:block}.listing-page{padding-top:55px}.page-title h1{font-size:36px;line-height:1.1;margin:0}.page-title p{color:var(--muted)}.listing-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(155px,1fr));gap:25px 18px;margin-top:35px}.listing-grid .story-card{width:auto;flex:auto}.pagination{margin-top:44px}.pagination .nav-links{display:flex;gap:8px}.pagination a,.pagination span{padding:7px 13px;background:var(--panel);border-radius:8px}.pagination .current{background:var(--accent)}.site-footer{border-top:1px solid var(--line);color:#777680;font-size:12px}.footer-inner{max-width:1480px;padding:22px 28px;margin:auto;display:flex;justify-content:space-between;gap:20px}.footer-inner span:last-child{display:flex;gap:16px}.detail-container{max-width:1120px;margin:auto;padding:30px 28px 100px}.back-button{display:grid;place-items:center;width:44px;height:44px;border-radius:50%;background:#212128;font-size:23px;margin-bottom:22px}.back-button:hover{background:#33333e}.story-overview{display:grid;grid-template-columns:290px 1fr;gap:40px;align-items:start}.overview-poster{aspect-ratio:2/3;border-radius:13px;overflow:hidden;background:#222}.overview-poster img{width:100%;height:100%;object-fit:cover}.overview-copy h1,.part-heading h1{font-size:clamp(28px,3vw,44px);line-height:1.12;letter-spacing:-.045em;margin:5px 0 8px}.overview-meta{color:var(--muted);margin:0 0 12px;font-size:14px}.genre-pills span{background:#2b2b32;padding:5px 13px;font-size:12px}.story-description{max-width:700px;line-height:1.75;color:#d0cfd5;margin:18px 0 23px}.primary-button{padding:12px 30px;font-size:15px}.all-parts{margin-top:50px}.parts-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px 14px;list-style:none;padding:0;margin:15px 0 0}.parts-grid a{display:flex;align-items:center;gap:9px;min-height:44px;background:#141419;border:1px solid #1f1f27;border-radius:9px;padding:7px 12px;color:#b6b6bd;font-size:12px}.parts-grid a:hover,.parts-grid a[aria-current]{border-color:#62505a;background:#242028;color:#fff}.part-number{flex:0 0 26px;height:26px;display:grid;place-items:center;border-radius:50%;background:#24242b;font-size:11px;font-weight:800}.part-name{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.part-lock{margin-left:auto;font-size:14px}.reader{scroll-margin-top:20px;margin:72px auto 0;max-width:840px;border-top:1px solid var(--line);padding-top:45px}.reader-top h2{font-size:30px;margin:4px 0 25px}.reader-top small{font-size:16px;color:var(--muted)}.story-text{font-size:18px;line-height:1.9;color:#d8d7df;overflow-wrap:anywhere}.story-text p{margin:0 0 1.25em}.story-text img{height:auto;border-radius:10px;margin:25px auto}.story-text h2,.story-text h3{color:#fff;line-height:1.3}.part-nav{display:flex;justify-content:space-between;gap:12px;margin-top:30px}.part-nav a{background:#23232b;border-radius:9px;padding:10px 17px;font-weight:700}.part-nav .btn-next{margin-left:auto;background:var(--accent)}.part-heading{margin:18px 0 25px}.part-heading h2{font-size:19px;color:var(--muted);font-weight:500}.more-stories{margin:95px 0 0}.more-stories h2{margin-bottom:20px}.simple-page{max-width:900px;padding-top:40px}
@media(max-width:800px){.header-inner{gap:15px;padding:0 16px}.brand{font-size:17px}.primary-nav{gap:12px;font-size:12px}.header-search{min-width:130px}.top-up{display:none}.hero{height:390px}.hero-content{padding:50px 18px}.hero-shade{background:linear-gradient(90deg,#0b0b10f4 0%,#0b0b10b8 58%,#0b0b1066 100%),linear-gradient(0deg,#0c0c11,transparent 35%)}.content-container{padding:20px 16px 60px}.story-card{width:135px;flex-basis:135px}.story-section{margin-bottom:50px}.detail-container{padding:20px 16px 70px}.story-overview{grid-template-columns:220px 1fr;gap:22px}.parts-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.footer-inner{padding:22px 16px}}
@media(max-width:550px){.header-inner{height:60px}.brand{max-width:135px;overflow:hidden;text-overflow:ellipsis}.primary-nav a:last-child{display:none}.header-search{min-width:0;width:35px;border:0;background:transparent}.header-search input{display:none}.header-search:focus-within{position:absolute;left:10px;right:10px;width:auto;background:#222;z-index:3;padding-left:8px;border:1px solid #555}.header-search:focus-within input{display:block}.history-panel{top:61px}.hero{min-height:360px;height:360px}.hero h1{font-size:33px;max-width:330px}.hero-content{padding-top:48px}.hero p{font-size:12px;max-width:310px}.story-card{width:118px;flex-basis:118px}.section-heading h2{font-size:17px}.story-overview{grid-template-columns:110px 1fr;gap:17px}.overview-copy h1{font-size:23px}.overview-meta{font-size:11px}.genre-pills span{font-size:10px;padding:3px 7px}.story-description{grid-column:1/-1;font-size:13px;line-height:1.6}.primary-button{font-size:12px;padding:9px 18px}.all-parts{margin-top:36px}.parts-grid{grid-template-columns:1fr}.reader{margin-top:55px}.story-text{font-size:16px}.footer-inner{display:block}.footer-inner span:last-child{margin-top:8px}}
