@charset "UTF-8";
:root{--ink:#f5eee7;--muted:#b9aeb6;--coral:#db304c;--coral-dark:#ff8192;--cream:#32131d;--line:#44363e;--soft:#211b21;--radius:14px;--rose:#ffe5e9;--sage:#e5f1df;--peach:#ffead9;--lilac:#ece2ff;--blue:#e4efff;--violet:#eee5fc;font-family:"Noto Sans JP","Hiragino Kaku Gothic ProN","Yu Gothic",Meiryo,Arial,sans-serif;color:var(--ink);font-synthesis:none;font-size:16px;line-height:1.7;scroll-behavior:smooth}
*{box-sizing:border-box}body{margin:0;background:#fff}button,input,textarea,select{font:inherit}button,a,input,textarea,select{-webkit-tap-highlight-color:transparent}button,a{touch-action:manipulation}button{cursor:pointer;color:inherit}a{color:inherit;text-decoration:none}img{display:block;max-width:100%}button:disabled{cursor:not-allowed;opacity:.65}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible,summary:focus-visible{outline:3px solid #804ccb;outline-offset:4px}button{border:0;background:none}h1,h2,h3,p{margin-top:0}h1,h2,h3{line-height:1.45;letter-spacing:-.035em}h2{font-size:1.65rem}small{font-size:.8125rem}svg.icon{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.65;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0;vertical-align:middle}.container{width:min(1400px,calc(100% - 80px));margin:0 auto}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.skip-link{position:fixed;left:20px;top:-100px;z-index:100;background:#fff;padding:12px}.skip-link:focus{top:12px}.site-header{background:var(--ink);color:white;position:sticky;top:0;z-index:30}.header-inner{width:min(1500px,calc(100% - 64px));margin:auto;min-height:88px;display:flex;align-items:center;gap:30px}.brand{display:flex;align-items:center;gap:10px;white-space:nowrap;font-weight:950;font-size:clamp(1.6rem,2.15vw,2.15rem);letter-spacing:-.065em;line-height:1}.bag-logo{width:42px;height:46px;fill:none;stroke:currentColor;stroke-width:2;flex-shrink:0}.bag-logo .sparkle{fill:#f5c77e;stroke:none}.brand-dash{display:inline-block;color:#ff8395;transform:rotate(-12deg)}.header-search{display:flex;align-items:center;gap:10px;flex:1;border-radius:50px;background:#fff;color:var(--ink);padding:6px 8px 6px 18px;min-width:130px;box-shadow:0 0 0 3px #ffffff13}.header-search input{background:none;border:0;outline:none;min-width:0;width:100%;padding:5px 0;font-size:.9375rem}.header-search button{font-size:.8125rem;background:#f4f0f2;border-radius:30px;padding:7px 13px;white-space:nowrap}.header-actions{display:flex;gap:18px;align-items:center;white-space:nowrap}.login-button{font-size:.875rem;padding:8px 0}.button{display:inline-flex;justify-content:center;align-items:center;gap:9px;border:1px solid var(--line);border-radius:10px;background:#fff;padding:11px 20px;font-weight:700;font-size:.9375rem;line-height:1.6;transition:background .18s,transform .18s,box-shadow .18s}.button:hover:not(:disabled){background:#f8f2f4;transform:translateY(-1px)}.button.coral{background:var(--coral);color:#fff;border-color:var(--coral)}.button.coral:hover:not(:disabled){background:var(--coral-dark);border-color:var(--coral-dark)}.button.dark{background:var(--ink);color:white;border-color:var(--ink)}.button.small{padding:7px 13px;font-size:.875rem}.button.pill{border-radius:40px}.button.wide{width:100%}.button.ghost{background:transparent;border-color:transparent}.icon-button{display:inline-flex;align-items:center;justify-content:center;min-width:40px;min-height:40px;border-radius:50%;padding:8px}.icon-button:hover{background:#ffffff19}.preview-strip{font-size:.75rem;background:#faf5f0;color:#796766;border-bottom:1px solid #f0e7e1}.preview-strip .container{display:flex;align-items:center;gap:12px;min-height:32px}.preview-label{font-weight:700;white-space:nowrap}.preview-strip button{margin-left:auto;text-decoration:underline;font-size:.75rem;white-space:nowrap}.hero{background:var(--cream);overflow:hidden}.hero-inner{display:grid;grid-template-columns:1fr 1.08fr;position:relative;min-height:366px;align-items:center;gap:0}.hero-copy{position:relative;z-index:2;padding:30px 0 38px}.hero h1{font-size:clamp(2.6rem,4.4vw,4.2rem);font-weight:950;line-height:1.2;letter-spacing:-.06em;margin:0 0 19px;white-space:nowrap}.hero h1 span{display:inline-block;position:relative;z-index:1}.hero h1 span:after{position:absolute;content:"";height:10px;background:var(--coral);bottom:3px;left:-3px;right:-7px;z-index:-1;transform:rotate(-1.5deg)}.hero p{font-size:.9375rem;font-weight:600;line-height:1.8;margin-bottom:23px;max-width:480px}.hero .button{min-width:230px;padding:13px 25px;font-size:1.0625rem}.hero .button svg{margin-left:18px}.hero-art{position:relative;align-self:stretch;min-width:0;margin-right:-34px}.hero-art img{height:100%;width:100%;object-fit:cover;object-position:center 54%;mix-blend-mode:multiply}.category-nav{display:flex;gap:10px;padding:20px 0 24px;overflow:auto;scrollbar-width:none}.category-nav::-webkit-scrollbar{display:none}.category-button{border:1px solid transparent;background:var(--tint);border-color:var(--tint-border);border-radius:9px;padding:13px 18px;display:flex;align-items:center;justify-content:center;gap:11px;font-weight:700;font-size:.875rem;white-space:nowrap;flex:1;min-height:54px;transition:transform .15s,box-shadow .15s}.category-button svg{width:25px;height:25px}.category-button:hover{transform:translateY(-2px);box-shadow:0 4px 10px #321f2c0b}.category-button.active{background:var(--coral);border-color:var(--coral);color:white}.tone-all,.tone-rose{--tint:#fff0f3;--tint-border:#ffcbd4;--accent:#dc4862}.tone-sage{--tint:#eef7e9;--tint-border:#cce2bd;--accent:#4d7541}.tone-lilac{--tint:#f1eaff;--tint-border:#d9c7fc;--accent:#7951a3}.tone-blue{--tint:#eaf3ff;--tint-border:#c5ddfa;--accent:#427cab}.tone-peach{--tint:#fff0e4;--tint-border:#ffdbba;--accent:#b46d34}.tone-violet{--tint:#f2ecfb;--tint-border:#e0cdf7;--accent:#845cab}.catalogue{padding-bottom:45px;scroll-margin-top:110px}.section-top{display:flex;justify-content:space-between;align-items:center;gap:20px;margin:0 0 8px}.section-top h2{margin:0;font-size:1.9rem;font-weight:900}.muted{color:var(--muted)}.text-link{color:var(--muted);font-size:.875rem;text-decoration:underline;text-underline-offset:4px}.browse-controls{display:flex;align-items:center;gap:20px;border-bottom:1px solid var(--line);margin-bottom:23px}.tabs{display:flex;gap:28px;overflow-x:auto}.tab{padding:12px 3px 13px;white-space:nowrap;position:relative;color:var(--muted);font-size:.9375rem;font-weight:600}.tab.active{color:var(--coral-dark)}.tab.active:after{position:absolute;content:"";height:3px;background:var(--coral);bottom:0;left:0;right:0;border-radius:4px}.sort{margin-left:auto;display:flex;align-items:center;gap:10px;padding-bottom:5px}.sort select{font-size:.8125rem;color:var(--muted);border:1px solid var(--line);padding:7px 29px 7px 10px;border-radius:7px;background:#fff;max-width:180px}.result-count{font-size:.8125rem;color:var(--muted);white-space:nowrap}.filter-summary{display:flex;gap:12px;align-items:center;margin-bottom:20px;font-size:.875rem;flex-wrap:wrap}.clear-filter{color:var(--coral-dark);text-decoration:underline}.product-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:25px 22px}.product-card{border:1px solid var(--line);border-radius:12px;overflow:hidden;background:#fff;position:relative;transition:transform .2s,box-shadow .2s;min-width:0}.product-card:hover{transform:translateY(-4px);box-shadow:0 10px 28px #321f2c0d}.cover-link{display:block}.product-cover{position:relative;aspect-ratio:2.04/1;overflow:hidden;background:var(--tint,#f8f1ea);isolation:isolate}.product-cover img{width:100%;height:100%;object-fit:cover;object-position:center 42%;transition:transform .55s}.product-card:hover .product-cover img{transform:scale(1.035)}.product-cover:after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(23,16,22,.79),rgba(23,16,22,.16) 80%);z-index:1}.product-cover:before{content:"";position:absolute;inset:0 auto 0 0;width:7px;background:var(--accent);z-index:3}.cover-title{position:absolute;inset:20px 42px 15px 24px;z-index:2;color:white;font-family:"Yu Mincho","Hiragino Mincho ProN",serif;font-size:clamp(1.3rem,2.2vw,2.2rem);line-height:1.37;letter-spacing:.035em;text-shadow:0 2px 12px #0005;display:flex;flex-direction:column;justify-content:center}.cover-title span{white-space:pre-line}.cover-title small{font-family:Arial,sans-serif;font-size:.75rem;letter-spacing:.18em;margin-top:9px;line-height:1.3;max-width:180px;color:#f9eee6}.favorite{position:absolute;right:9px;top:9px;z-index:4;width:36px;height:36px;min-width:36px;min-height:36px;border-radius:50%;background:#211b2442;color:#fff;backdrop-filter:blur(5px)}.favorite svg{width:23px;height:23px}.favorite.is-favorite{color:var(--coral);background:#fff}.favorite.is-favorite svg{fill:currentColor}.badge{position:absolute;left:10px;right:auto;top:10px;z-index:4;border-radius:20px;background:var(--coral);color:white;font-size:.75rem;font-weight:700;padding:3px 11px}.card-info{padding:14px 17px 15px}.card-title-row{display:flex;gap:9px;align-items:flex-start}.category-tag{color:var(--accent);background:var(--tint);border-radius:5px;font-size:.75rem;font-weight:700;padding:3px 7px;white-space:nowrap;line-height:1.35}.product-card h3{font-size:.9375rem;font-weight:700;letter-spacing:-.03em;line-height:1.65;margin:0 0 13px;min-height:3.3em}.card-title-row .category-tag{margin-top:4px}.card-title-row h3{flex:1;min-width:0}.card-bottom{display:flex;align-items:flex-end;justify-content:space-between;gap:8px}.creator-rating{min-width:0}.creator{display:flex;align-items:center;gap:7px;font-size:.75rem;letter-spacing:.02em}.avatar{display:inline-flex;align-items:center;justify-content:center;width:26px;height:26px;border-radius:50%;background:var(--tint,#f7e6e9);color:var(--accent,#93646d);font-size:.75rem;font-weight:700;border:1px solid #00000009;flex-shrink:0}.rating{display:flex;align-items:center;gap:4px;font-size:.75rem;margin-top:4px}.rating .star{color:#e6a514;font-size:1rem}.rating .review-count{color:var(--muted)}.price{text-align:right;font-size:1.35rem;font-weight:850;line-height:1.3;white-space:nowrap;letter-spacing:-.035em}.reward{display:block;color:var(--muted);font-size:.75rem;font-weight:400;letter-spacing:0;margin-top:4px}.catalogue-more{text-align:center;margin-top:30px}.site-footer{border-top:1px solid var(--line);background:#fbf9f9}.footer-top{padding:31px 0;display:flex;justify-content:space-between;align-items:center;gap:30px}.footer-brand{font-size:1.35rem;font-weight:900;letter-spacing:-.06em}.footer-brand span{display:block;font-size:.75rem;color:var(--muted);font-weight:400;letter-spacing:0;margin-top:3px}.site-footer nav{display:flex;gap:26px;font-size:.875rem;color:#6b6069;align-items:center;flex-wrap:wrap}.site-footer nav a:hover,.site-footer nav button:hover{color:var(--coral-dark)}.site-footer nav button{padding:0;font-size:inherit}.footer-bottom{border-top:1px solid var(--line);display:flex;justify-content:space-between;padding:15px 0;color:#8a7e87;font-size:.75rem;gap:18px}.page{padding-top:30px;padding-bottom:70px;min-height:64vh}.breadcrumb{display:flex;gap:8px;align-items:center;flex-wrap:wrap;color:var(--muted);font-size:.8125rem;margin:0 0 25px}.breadcrumb a:hover{color:var(--coral-dark)}.breadcrumb svg{width:14px;height:14px}.detail-layout{display:grid;grid-template-columns:minmax(0,1fr) 340px;gap:48px;align-items:start;max-width:1200px;margin:auto}.detail-cover{border-radius:16px;aspect-ratio:1.9}.detail-cover .cover-title{font-size:clamp(2rem,3.1vw,3.5rem);padding-left:15px}.detail-head{margin-top:28px}.detail-head h1{font-size:2rem;margin:13px 0 18px;letter-spacing:-.04em}.detail-meta{display:flex;gap:20px;align-items:center;flex-wrap:wrap;margin-bottom:24px}.detail-meta .creator,.detail-meta .rating{font-size:.875rem;margin:0}.detail-meta .avatar{width:36px;height:36px}.reading p{line-height:2.1;font-size:1rem;white-space:pre-line}.reading-section{border-top:1px solid var(--line);padding-top:26px;margin-top:30px}.reading-section h2{font-size:1.3rem;margin-bottom:17px}.learn-list{list-style:none;padding:0;display:grid;gap:12px}.learn-list li{display:flex;gap:12px;align-items:flex-start}.learn-list svg{color:var(--coral-dark);margin-top:4px;width:18px;height:18px}.chapter-list{padding:0;list-style:none;counter-reset:chapter}.chapter-list li{display:flex;align-items:center;gap:20px;padding:15px 0;border-bottom:1px solid #f1eaed;font-size:.9375rem}.chapter-list li:before{counter-increment:chapter;content:counter(chapter,decimal-leading-zero);font-size:.8125rem;color:#bb9ca9;letter-spacing:.07em;font-family:Arial,sans-serif}.buy-panel{border:1px solid var(--line);border-radius:16px;padding:26px;position:sticky;top:112px;background:white;box-shadow:0 5px 28px #321f2c06}.buy-panel .price{font-size:2.1rem;text-align:left;margin:10px 0 5px}.buy-panel .price small{font-size:.8125rem;color:var(--muted);font-weight:400;letter-spacing:0}.status-pill{border-radius:30px;background:#fff0db;color:#8b632d;display:inline-block;font-size:.75rem;padding:3px 11px;font-weight:700}.status-pill.published{background:#eaf4e7;color:#416d3a}.status-pill.pending{background:#fff1d7;color:#85621f}.status-pill.draft{background:#ede9f0;color:#75637e}.status-pill.hidden{background:#f4e7e9;color:#9b485b}.buy-panel p{font-size:.8125rem;color:var(--muted);margin:13px 0 20px}.buy-panel .button+.button{margin-top:10px}.buy-details{margin:22px 0 0;padding:17px 0 0;border-top:1px solid var(--line);font-size:.8125rem}.buy-details div{display:flex;justify-content:space-between;padding:5px 0;gap:10px}.buy-details dt{color:var(--muted)}.buy-details dd{margin:0;font-weight:600}.sample-label{display:inline-flex;background:var(--tint,#fff1f3);color:var(--accent,#bf455a);font-size:.75rem;border-radius:5px;padding:2px 9px;margin-bottom:14px}.preview-end{padding:24px;border:1px dashed #dccbd3;background:#fff9fb;text-align:center;border-radius:12px;color:#84717c;font-size:.875rem;margin-top:24px}.page-heading{display:flex;justify-content:space-between;gap:24px;align-items:center;margin-bottom:26px}.page-heading h1{font-size:2rem;margin-bottom:7px}.page-heading p{color:var(--muted);font-size:.9375rem;margin:0}.page-kicker{text-transform:uppercase;font-size:.75rem;letter-spacing:.16em;color:var(--coral-dark);font-weight:750;display:block;margin-bottom:9px}.manage-nav{display:flex;gap:28px;border-bottom:1px solid var(--line);margin-bottom:27px}.manage-nav a{font-size:.9375rem;color:var(--muted);padding:11px 0;position:relative}.manage-nav a.active{color:var(--coral-dark);font-weight:700}.manage-nav a.active:after{content:"";position:absolute;bottom:-1px;left:0;right:0;height:3px;background:var(--coral)}.notice{padding:15px 20px;border:1px solid #ede4d7;border-radius:10px;background:#fffaf1;font-size:.8125rem;color:#856f57;display:flex;gap:12px;align-items:flex-start;margin-bottom:24px}.notice svg{width:18px;height:18px;margin-top:2px}.notice p{margin:0}.form-layout{display:grid;grid-template-columns:minmax(0,1fr) 350px;gap:36px;max-width:1200px;margin:auto;align-items:start}.form-card{border:1px solid var(--line);border-radius:16px;padding:28px;background:white}.form-section+.form-section{border-top:1px solid var(--line);margin-top:26px;padding-top:26px}.form-section h2{font-size:1.2rem;margin-bottom:23px}.field{margin-bottom:22px}.field:last-child{margin-bottom:0}.field label,.field-label{display:block;font-size:.875rem;font-weight:700;margin-bottom:8px}.required{font-size:.75rem;color:var(--coral-dark);font-weight:400;margin-left:8px}.field input,.field textarea,.field select{width:100%;border:1px solid #dcd4d9;border-radius:8px;padding:11px 13px;background:#fff;line-height:1.65;min-height:46px;color:var(--ink)}.field textarea{resize:vertical;min-height:125px}.field input:focus,.field textarea:focus,.field select:focus{border-color:var(--coral);outline:2px solid #ff526e23;outline-offset:0}.field .hint{display:block;font-size:.75rem;color:var(--muted);margin-top:7px}.form-row{display:grid;grid-template-columns:1fr 1fr;gap:20px}.input-unit{display:flex;position:relative;align-items:center}.input-unit input{padding-right:42px}.input-unit span{position:absolute;right:14px;color:var(--muted);font-size:.875rem}.form-actions{display:flex;gap:12px;justify-content:flex-end;border-top:1px solid var(--line);padding-top:24px;margin-top:25px;flex-wrap:wrap}.cover-choices{display:flex;gap:12px;margin:8px 0 15px}.cover-choice{border-radius:8px;overflow:hidden;border:2px solid transparent;flex:1;padding:3px}.cover-choice img{aspect-ratio:1.6;object-fit:cover;border-radius:5px;width:100%}.cover-choice.active{border-color:var(--coral)}.cover-choice span{font-size:.75rem;color:var(--muted)}.live-preview{position:sticky;top:112px}.live-preview>h2{font-size:.9375rem;color:var(--muted);margin-bottom:13px}.live-preview .product-cover{aspect-ratio:1.75}.live-preview .cover-title{font-size:1.65rem}.live-preview>p{font-size:.75rem;color:var(--muted);margin:13px 0}.stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin-bottom:29px}.stat{border:1px solid var(--line);border-radius:12px;padding:20px 24px;background:#fff}.stat-label{display:block;font-size:.8125rem;color:var(--muted);margin-bottom:9px}.stat-value{font-size:1.9rem;font-weight:800;line-height:1.2;letter-spacing:-.035em}.stat-value small{font-size:.875rem;font-weight:400;padding-left:5px}.table-wrap{overflow-x:auto;border:1px solid var(--line);border-radius:12px}table{border-collapse:collapse;width:100%;text-align:left;font-size:.875rem;white-space:nowrap}th{background:#faf7f8;color:var(--muted);font-size:.75rem;font-weight:600;padding:14px 18px}td{padding:17px 18px;border-top:1px solid var(--line);vertical-align:middle}.table-product{display:flex;gap:13px;align-items:center;max-width:400px}.table-product img{width:74px;height:48px;object-fit:cover;border-radius:5px}.table-product strong{display:block;white-space:normal;min-width:180px;font-size:.875rem}.table-product small{color:var(--muted);font-size:.75rem}.table-actions{display:flex;gap:6px;align-items:center}.table-actions button,.table-actions a{font-size:.75rem;padding:6px 9px;border:1px solid var(--line);border-radius:6px;white-space:nowrap}.table-actions button:hover{border-color:var(--coral)}.table-controls{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:18px}.table-controls select{border:1px solid var(--line);border-radius:7px;padding:9px 12px;font-size:.875rem}.table-controls p{font-size:.875rem;margin:0}.empty-state{text-align:center;padding:60px 24px;border:1px dashed var(--line);border-radius:14px;background:#fdfbfc}.empty-state>svg{width:40px;height:40px;color:#bfa6b4;margin-bottom:17px}.empty-state h2{font-size:1.2rem;margin:0 0 12px}.empty-state p{font-size:.9375rem;color:var(--muted);margin:0 auto 20px;max-width:440px}.my-grid{margin-top:30px}.help-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.help-card{border:1px solid var(--line);border-radius:12px;padding:25px}.help-card h2{font-size:1.125rem}.help-card p{font-size:.9375rem;color:var(--muted)}.settings-card{max-width:750px;border:1px solid var(--line);border-radius:12px;padding:25px;margin-top:30px}.settings-card h2{font-size:1.15rem}.settings-card p{font-size:.875rem;color:var(--muted)}dialog{border:0;border-radius:18px;padding:0;width:min(560px,calc(100% - 32px));max-height:90dvh;color:var(--ink);box-shadow:0 25px 90px #210f2645}dialog::backdrop{background:#21131e75;backdrop-filter:blur(4px)}.modal-body{padding:32px}.modal-top{display:flex;justify-content:space-between;gap:15px;align-items:center;margin-bottom:20px}.modal-top h2{font-size:1.4rem;margin:0}.modal-top .icon-button{background:#f5f0f3}.modal-body p,.modal-body li{font-size:.9375rem;color:var(--muted);line-height:1.9}.modal-body ul{padding-left:22px}.modal-buttons{display:flex;flex-direction:column;gap:10px;margin-top:24px}.modal-body .notice{margin-top:20px}.demo-choice{display:flex;align-items:center;text-align:left;gap:16px;padding:17px;border:1px solid var(--line);border-radius:10px}.demo-choice:hover{border-color:var(--coral);background:#fff9fb}.demo-choice strong{display:block;font-size:.9375rem}.demo-choice small{display:block;color:var(--muted);font-size:.75rem}.demo-choice>svg{width:26px;height:26px;color:var(--coral-dark)}#toast{position:fixed;bottom:30px;left:50%;transform:translate(-50%,20px);background:var(--ink);color:#fff;padding:13px 22px;border-radius:12px;z-index:100;box-shadow:0 4px 30px #321f2c30;font-size:.875rem;max-width:calc(100vw - 30px);width:max-content;opacity:0;pointer-events:none;transition:.2s}#toast.visible{opacity:1;transform:translate(-50%,0)}.form-error{color:#b7283d;font-size:.875rem;margin:0 0 16px}.mobile-buybar{display:none}.subtle-count{font-size:.8125rem;color:var(--muted);font-weight:400;margin-left:12px}.no-scroll{overflow:hidden}
@media(min-width:1600px){.hero-inner{min-height:402px}.hero-art{margin-right:-50px}.product-cover{aspect-ratio:2.05}}
@media(max-width:1200px){.container{width:calc(100% - 48px)}.header-inner{width:calc(100% - 40px);gap:20px}.brand{font-size:1.7rem}.header-actions{gap:13px}.header-heart{display:none}.hero h1{font-size:3.25rem}.hero p{font-size:.875rem;max-width:420px}.hero-inner{min-height:340px}.hero-art{margin-right:-24px}.category-button{padding:12px 13px;gap:8px;font-size:.8125rem}.category-button svg{width:21px;height:21px}.product-grid{gap:20px 17px}.card-info{padding:13px}.card-title-row{display:block}.card-title-row .category-tag{display:inline-block;margin-bottom:7px}.product-card h3{margin-bottom:9px;font-size:.875rem;min-height:2.9em}.detail-layout{grid-template-columns:minmax(0,1fr) 300px;gap:30px}.form-layout{grid-template-columns:minmax(0,1fr) 300px;gap:25px}.buy-panel{padding:21px}.form-card{padding:23px}.cover-title{font-size:1.7rem;inset:15px 37px 12px 20px}}
@media(max-width:950px){.header-inner{flex-wrap:wrap;gap:15px;padding:16px 0;min-height:85px}.brand{font-size:1.7rem}.header-search{order:3;flex:1 0 100%;min-height:43px}.header-actions{margin-left:auto}.header-sell{padding:8px 17px}.header-heart{display:flex}.site-header{position:relative}.hero-inner{min-height:305px;grid-template-columns:1fr 1fr}.hero h1{font-size:2.6rem}.hero-copy{padding:30px 0}.hero p{font-size:.8125rem;max-width:350px}.hero-art{margin-right:-24px}.hero-art img{object-position:52% center}.category-nav{gap:9px;padding:18px 0 20px}.category-button{flex:0 0 auto;padding:11px 17px;font-size:.875rem}.category-button svg{width:23px;height:23px}.section-top h2{font-size:1.7rem}.product-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:22px 18px}.product-cover{aspect-ratio:1.9}.cover-title{font-size:1.85rem}.card-title-row{display:flex}.product-card h3{font-size:.9375rem;min-height:3.3em}.card-info{padding:15px}.card-title-row .category-tag{margin-bottom:0}.detail-layout{grid-template-columns:minmax(0,1fr) 270px;gap:24px}.detail-head h1{font-size:1.7rem}.buy-panel{top:25px;padding:20px}.form-layout{grid-template-columns:1fr}.live-preview{position:static;max-width:440px;width:100%;margin:auto}.stats{grid-template-columns:repeat(2,minmax(0,1fr))}.footer-top{align-items:flex-start}.site-footer nav{gap:15px 20px;max-width:350px}.tabs{gap:22px}.browse-controls{gap:10px}.detail-cover .cover-title{font-size:2rem;inset:16px 20px;padding:0}}
@media(max-width:640px){.container{width:calc(100% - 32px)}.header-inner{width:calc(100% - 32px);gap:14px;padding:15px 0}.brand{font-size:1.35rem;gap:6px;letter-spacing:-.075em}.bag-logo{width:29px;height:35px}.header-actions{gap:10px}.header-sell{padding:8px 11px;font-size:.8125rem;border-radius:7px}.login-button{font-size:.75rem}.header-heart{display:none}.header-search{padding:3px 5px 3px 13px;min-height:40px}.header-search input{font-size:.875rem}.header-search button{font-size:.75rem;padding:6px 12px}.header-search svg{width:19px;height:19px}.preview-strip .container{gap:7px;align-items:flex-start;padding-top:7px;padding-bottom:7px;line-height:1.6}.preview-strip span:not(.preview-label){font-size:.75rem}.preview-label{font-size:.75rem}.preview-strip button{font-size:.75rem}.hero-inner{grid-template-columns:1fr;min-height:0}.hero-copy{padding:28px 0 6px;z-index:2}.hero h1{font-size:2.8rem;line-height:1.19;letter-spacing:-.065em;margin-bottom:15px}.hero h1 span:after{height:8px;bottom:4px}.hero p{font-size:.8125rem;max-width:340px;margin-bottom:16px;line-height:1.85}.hero .button{min-width:170px;padding:10px 20px;font-size:.9375rem}.hero .button svg{width:20px;height:20px;margin-left:9px}.hero-art{height:210px;margin:-20px -16px 0 0;justify-self:end;width:88%;z-index:1}.hero-art img{object-fit:contain;object-position:bottom right}.category-nav{padding:15px 0 18px;margin-right:-16px;padding-right:16px;gap:8px}.category-button{font-size:.8125rem;min-height:44px;padding:9px 14px;gap:7px}.category-button svg{width:20px;height:20px}.section-top{gap:10px;margin-bottom:5px}.section-top h2{font-size:1.25rem;letter-spacing:-.045em}.section-top>.button{font-size:.75rem;padding:5px 8px}.section-top>.text-link{font-size:.75rem}.browse-controls{flex-wrap:wrap;gap:0;margin-bottom:17px}.tabs{gap:20px;flex:1;order:0}.tab{font-size:.8125rem;padding:10px 0 12px}.sort{gap:6px;padding-bottom:0}.sort select{font-size:.75rem;padding:5px 18px 5px 7px;max-width:120px}.result-count{display:none}.product-grid{gap:17px 11px}.product-card{border-radius:9px}.product-cover{aspect-ratio:1.5}.cover-title{font-size:1.125rem;inset:13px 17px 12px 12px;line-height:1.5}.cover-title small{display:none}.product-cover:before{width:4px}.favorite{right:5px;top:5px;width:30px;height:30px;min-width:30px;min-height:30px;padding:6px}.favorite svg{width:18px;height:18px}.badge{left:6px;right:auto;top:6px}.card-info{padding:10px}.card-title-row{display:block}.category-tag{font-size:.75rem;padding:3px 5px}.card-title-row .category-tag{display:inline-block;margin-bottom:6px;margin-top:0}.product-card h3{font-size:.875rem;line-height:1.65;min-height:4.95em;margin-bottom:9px;letter-spacing:-.05em}.card-bottom{flex-wrap:wrap;gap:8px}.creator-rating{width:100%;display:flex;justify-content:space-between;gap:3px;align-items:center}.creator{font-size:.75rem;gap:4px}.avatar{width:21px;height:21px;font-size:.75rem}.rating{font-size:.75rem;margin:0;gap:2px}.rating .star{font-size:.875rem}.rating .review-count{display:none}.price{font-size:1.125rem;text-align:left}.reward{font-size:.75rem;display:inline-block;margin:0 0 0 5px}.card-bottom>.price{display:flex;align-items:baseline;flex-wrap:wrap}.catalogue{padding-bottom:30px;scroll-margin-top:10px}.catalogue-more{margin-top:24px}.catalogue-more .button{font-size:.875rem}.footer-top{display:block;padding:25px 0}.site-footer nav{margin-top:20px;max-width:none;gap:15px 20px;font-size:.8125rem}.footer-brand{font-size:1.2rem}.footer-bottom{flex-wrap:wrap;font-size:.75rem;gap:5px}.page{padding-top:22px;padding-bottom:40px}.breadcrumb{font-size:.75rem;margin-bottom:20px;gap:5px}.detail-layout{display:flex;flex-direction:column;gap:25px}.detail-main{width:100%}.detail-cover{aspect-ratio:1.65;border-radius:10px}.detail-cover .cover-title{font-size:2rem;inset:25px}.detail-cover .cover-title small{display:block;font-size:.75rem}.detail-head{margin-top:23px}.detail-head h1{font-size:1.65rem;margin:12px 0 18px}.detail-meta{gap:14px;font-size:.8125rem}.detail-meta .rating{font-size:.8125rem}.detail-meta .rating .review-count{display:inline}.reading p{font-size:.9375rem;line-height:2}.reading-section h2{font-size:1.2rem}.learn-list{font-size:.9375rem}.buy-panel{position:static;order:2;width:100%;padding:23px}.buy-panel .price{font-size:2rem}.mobile-buybar{display:flex;position:sticky;bottom:0;z-index:20;background:#fffffff2;backdrop-filter:blur(12px);border-top:1px solid var(--line);padding:12px 16px;gap:15px;justify-content:space-between;align-items:center;margin:30px -16px -40px}.mobile-buybar .price{font-size:1.45rem}.mobile-buybar .button{font-size:.875rem}.mobile-buybar small{display:block;font-size:.75rem;color:var(--muted)}.page-heading{align-items:flex-start;gap:15px;flex-wrap:wrap;margin-bottom:23px}.page-heading h1{font-size:1.65rem}.page-heading p{font-size:.8125rem}.page-heading>.button{padding:8px 13px;font-size:.8125rem}.page-kicker{font-size:.75rem}.manage-nav{gap:22px}.manage-nav a{font-size:.875rem}.notice{padding:13px 15px;font-size:.75rem;gap:9px}.form-card{padding:20px 16px}.form-row{grid-template-columns:1fr;gap:0}.field label{font-size:.875rem}.field input,.field select,.field textarea{font-size:1rem;padding:10px 11px}.field .hint{font-size:.75rem}.form-actions{gap:8px}.form-actions .button{flex:1;padding:10px 10px;font-size:.8125rem}.form-section h2{font-size:1.1rem}.live-preview{max-width:350px}.live-preview .product-cover{aspect-ratio:1.75}.live-preview .card-title-row h3{min-height:0;margin-bottom:15px}.live-preview .creator-rating{width:auto;display:block}.live-preview .rating{margin-top:3px}.live-preview .price{display:block;text-align:right}.live-preview .reward{display:block;font-size:.75rem}.live-preview .category-tag{font-size:.75rem}.stats{gap:12px;margin-bottom:24px}.stat{padding:17px 16px}.stat-label{font-size:.75rem}.stat-value{font-size:1.6rem}.table-controls{gap:10px}.table-controls select{max-width:145px;font-size:.8125rem}.table-controls p{font-size:.8125rem}.table-wrap th,.table-wrap td{padding:13px 12px}.help-grid{grid-template-columns:1fr}.modal-body{padding:25px 21px}.modal-top h2{font-size:1.2rem}.modal-body p,.modal-body li{font-size:.875rem}.modal-buttons .button{font-size:.875rem}.empty-state{padding:45px 20px}.empty-state p{font-size:.875rem}.settings-card{padding:20px}.subtle-count{font-size:.75rem;margin-left:6px}}
@media(max-width:360px){.header-inner{width:calc(100% - 24px)}.brand{font-size:1.2rem}.header-actions{gap:6px}.header-sell{padding:8px}.login-button{font-size:.75rem}.hero h1{font-size:2.45rem}.hero p{font-size:.75rem}.product-grid{grid-template-columns:1fr}.product-cover{aspect-ratio:1.85}.cover-title{font-size:1.8rem;inset:20px}.product-card h3{min-height:0}.card-bottom{flex-wrap:nowrap}.creator-rating{width:auto;display:block}.price{font-size:1.35rem}.card-bottom>.price{display:block}.reward{display:block;margin:2px 0 0}.sort{display:none}}
.product-card h3,.detail-head h1,.table-product strong,.reading p,.cover-title span{overflow-wrap:anywhere}.creator>span:last-child{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:110px}.product-card .creator{min-width:0}.table-product strong{max-width:320px}.card-title-row h3 a{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.cover-title span{max-height:4.2em;overflow:hidden}.live-preview .cover-link{pointer-events:none}
@media(max-width:640px){.hero-copy{padding-top:23px}.hero h1{font-size:2.5rem}.hero-art{height:165px;width:76%;margin-top:-20px}.creator>span:last-child{max-width:55px}.card-title-row h3 a{-webkit-line-clamp:3}.category-tag{font-size:.75rem}.preview-strip span:not(.preview-label),.preview-label,.preview-strip button{font-size:.75rem}.preview-strip .container{flex-wrap:wrap}.preview-strip span:not(.preview-label){flex:1;min-width:150px}.reward{font-size:.75rem;display:block;margin:3px 0 0}.rating{font-size:.75rem}.creator{font-size:.75rem}.card-bottom>.price{display:block}.sort select{font-size:.75rem}.footer-bottom{font-size:.75rem}.result-count{font-size:.75rem}.product-card h3{font-size:.875rem}.card-title-row .category-tag{max-width:100%;white-space:normal}.hero p{font-size:.875rem}.field .hint{font-size:.8125rem}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important;animation:none!important}}

/* Creator editor and cover library */
[hidden]{display:none!important}
.hero h1{font-size:clamp(1.65rem,2.65vw,2.65rem);line-height:1.4;white-space:normal;letter-spacing:-.045em}
.hero h1 .hero-line{white-space:nowrap;max-width:100%;letter-spacing:-.055em}
.hero h1 .hero-line:after{display:none}
.hero h1 .hero-emphasis{font-size:1.6em;line-height:1.25;margin-top:3px}
.manage-nav{overflow-x:auto;white-space:nowrap;scrollbar-width:thin}
.form-layout>*{min-width:0}.form-card{min-width:0}
.original-thumbnail,.live-preview .original-thumbnail{aspect-ratio:16/9;background:#f7f4f5}
.original-thumbnail:before,.original-thumbnail:after{display:none}
.original-thumbnail img{object-fit:contain;object-position:center;filter:none}
.product-card:hover .original-thumbnail img{transform:none}
.image-placeholder{width:100%;height:100%;min-height:80px;display:flex;align-items:center;justify-content:center;background:#f5eff2;color:#81717b;font-size:.875rem;text-align:center;padding:15px}
.image-missing{background:#f5eff2;color:#7e6876;font-size:.8125rem;object-fit:contain!important}
.field-label{display:block;font-weight:700;margin-bottom:12px;font-size:.9375rem}
.hint{display:block;color:var(--muted);font-size:.875rem;line-height:1.8;margin-top:8px}
.category-templates{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-bottom:12px}
.category-templates .cover-choice{padding:0;border:2px solid var(--line);border-radius:10px;overflow:hidden;min-width:0;text-align:center}
.category-templates .cover-choice img,.template-empty{aspect-ratio:16/9;width:100%;height:auto;object-fit:contain;background:#f8f4f6}
.category-templates .cover-choice.active{border-color:var(--coral-dark);box-shadow:0 0 0 2px #ff526e20}
.category-templates .cover-choice>span:last-child{display:block;font-size:.8125rem;padding:8px 4px}
.template-empty{display:flex!important;align-items:center;justify-content:center;color:#887983;font-size:.875rem;padding:15px}
.category-templates .cover-choice:disabled{opacity:1;cursor:default;color:#887983;border-style:dashed}
.thumbnail-or{display:flex;align-items:center;gap:15px;margin:22px 0;color:var(--muted);font-size:.875rem}
.thumbnail-or:before,.thumbnail-or:after{content:'';height:1px;background:var(--line);flex:1}
.upload-own{width:100%;border-style:dashed;border-color:#b9a7b2;white-space:normal}
.selected-thumbnail{display:flex;align-items:center;gap:14px;margin-top:20px;padding:12px;border:1px solid var(--line);border-radius:10px;font-size:.875rem}
.selected-thumbnail img{width:128px;height:72px;object-fit:contain;background:#f8f4f6;border-radius:5px}
.inline-register{display:block;width:fit-content;margin:8px 0;padding:3px 0;font-size:.875rem}
.profile-card{max-width:750px}.profile-card h2{font-size:1.2rem}.profile-list{list-style:none;margin:20px 0 28px;padding:0}
.profile-list li{display:flex;gap:14px;align-items:center;border-bottom:1px solid var(--line);padding:18px 0}.profile-list strong{flex:1;overflow-wrap:anywhere}.profile-list .muted{font-size:.875rem;white-space:nowrap}.profile-list .avatar{width:38px;height:38px}
.article-toolbar{display:flex;flex-wrap:wrap;gap:8px;padding:12px;background:#f9f5f7;border:1px solid var(--line);border-radius:10px 10px 0 0}
.article-toolbar button{padding:8px 12px;border:1px solid #dfd2d9;background:#fff;border-radius:6px;font-size:.875rem;font-weight:600;min-height:42px}
.article-toolbar #insert-paywall{color:#b92047;border-color:#e4acba;background:#fff6f8}
.article-editor #article{min-height:440px;font-size:1rem;line-height:1.9;border-radius:0 0 10px 10px;tab-size:2;resize:vertical}
.article-editor>.field{margin-bottom:12px}
.editor-metadata{display:flex;flex-wrap:wrap;gap:8px 16px;color:var(--muted);font-size:.8125rem;align-items:center}.editor-metadata .text-link{margin-left:auto}
.article-preview-title{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin:28px 0 8px}.article-preview-title h3{font-size:1.0625rem;margin:0}.article-preview-title span{font-size:.8125rem;color:var(--muted)}
.article-preview{padding:24px;border:1px solid var(--line);border-radius:12px;max-height:620px;overflow:auto;overflow-wrap:anywhere;min-height:100px;background:#fff}
.article-toc{background:#faf5f7;border:1px solid #ebdfe5;border-radius:10px;padding:21px 24px;margin:0 0 28px}.article-toc h2{font-size:1.1rem;margin:0 0 12px}.article-toc ol{padding-left:22px;margin:0}.article-toc li{padding:6px 0;font-size:.9375rem}.article-toc li::marker{color:#a98598}.article-toc button{text-align:left;padding:0;text-decoration:underline;text-underline-offset:4px;color:#70455f;overflow-wrap:anywhere}.article-toc .toc-sub{margin-left:18px;font-size:.875rem}.article-toc small{display:inline-block;color:#97627b;font-size:.75rem;border:1px solid #e7d5df;padding:0 6px;border-radius:4px;margin-left:5px}
.article-body{overflow-wrap:anywhere}.article-body p,.preserve-lines{white-space:pre-wrap!important}.article-body h2{font-size:1.35rem;margin:26px 0 15px;scroll-margin-top:115px}.article-body h3{font-size:1.1rem;margin:22px 0 12px;scroll-margin-top:115px}.article-body p{margin-bottom:0;font-size:1rem!important}.article-space{height:1em}.paid-divider{display:flex;align-items:center;gap:12px;margin:28px 0;color:#ba264c;font-size:.875rem;font-weight:700;text-align:center}.paid-divider:before,.paid-divider:after{content:'';height:1px;background:#df8fa5;flex:1}.paid-divider span{background:#fff1f5;border:1px solid #f3c9d5;border-radius:20px;padding:8px 14px}.paid-notice{text-align:center;color:var(--muted)}.paid-body{border-left:2px solid #efd0db;padding-left:17px}.article-preview:empty:after{content:'入力した記事がここに表示されます。';color:var(--muted);font-size:.875rem}
.review-article{border-top:1px solid var(--line);padding-top:18px}.review-article .article-toc{padding:16px}.preview-content-note{margin-top:18px}
.upload-page{max-width:800px;margin:0 auto;padding:10px 0 40px}.upload-page>.text-link{display:block;margin-bottom:32px}.upload-page h1{font-size:1.8rem;margin-bottom:18px}.upload-box{margin:24px 0;border:2px dashed #d8c8d2;background:#fcf8fa;border-radius:16px;padding:32px;text-align:center}.upload-box:focus-within{outline:3px solid #804ccb;outline-offset:4px}.upload-box p{font-size:.875rem;margin:18px 0;color:var(--muted);overflow-wrap:anywhere}.upload-box img{max-height:400px;object-fit:contain;width:100%;height:auto;aspect-ratio:16/9;border-radius:10px;background:#f0e9ed}.upload-actions{display:flex;justify-content:flex-end;gap:12px}.upload-error,#profile-error{color:#b7283d;font-size:.875rem}
#templates-editor>.settings-card{max-width:none}.template-heading{display:flex;gap:16px;align-items:center;justify-content:space-between;margin-bottom:20px}.template-heading h2{margin:0}.template-heading span{color:var(--muted);font-size:.875rem;white-space:nowrap}.template-admin-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:18px}.template-admin-slot{min-width:0}.template-admin-slot>img{width:100%;aspect-ratio:16/9;object-fit:contain;height:auto;background:#f8f4f6;border-radius:8px}.template-admin-slot .template-empty{border:1px dashed #d8c8d2;border-radius:8px}.template-admin-slot strong{display:block;font-size:.875rem;margin:10px 0}.template-admin-slot .button{width:100%;font-size:.8125rem;white-space:normal}
@media(max-width:950px){.hero h1{font-size:clamp(1.3rem,2.65vw,2rem)}.hero h1 .hero-emphasis{font-size:1.7em}.template-admin-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.article-body h2,.article-body h3{scroll-margin-top:24px}}
@media(max-width:640px){.hero h1{font-size:clamp(1.125rem,4.9vw,1.875rem);line-height:1.55;margin-bottom:18px}.hero h1 .hero-emphasis{font-size:2em;line-height:1.3}.hero-copy{padding-top:25px}.manage-nav{gap:22px}.category-templates{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.category-templates .cover-choice>span:last-child{font-size:.875rem}.article-toolbar{padding:9px;gap:7px}.article-toolbar #insert-paywall{flex-basis:100%}.article-preview{padding:17px;max-height:520px}.article-toc{padding:17px}.article-toc li{font-size:.875rem}.paid-divider{gap:5px}.paid-divider span{padding:7px 10px;font-size:.8125rem}.editor-metadata .text-link{margin-left:0}.selected-thumbnail{flex-wrap:wrap}.upload-page h1{font-size:1.45rem}.upload-box{padding:22px 15px}.upload-actions{flex-wrap:wrap}.upload-actions .button{flex:1;padding:11px 14px;font-size:.875rem}.template-admin-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:20px 12px}.template-heading h2{font-size:1rem}.template-admin-slot .button{font-size:.875rem}.hint{font-size:.875rem}.article-editor #article{min-height:360px}}

.hero h1 .hero-line{white-space:normal;overflow-wrap:anywhere}.detail-head>p{white-space:pre-wrap}.upload-page .page-kicker{display:block}

/* Night market: presentation only; retain the original routes and editor. */
:root{color-scheme:dark;--canvas:#121014;--surface:#211b21;--surface-raised:#2b232a;--field:#171318;--gold:#d7b680;--focus:#ff9baa;--editorial:"Yu Mincho","Hiragino Mincho ProN","Noto Serif JP",serif}
body{background:var(--canvas);color:var(--ink)}
::selection{background:#803045;color:#fff7ee}
input::placeholder,textarea::placeholder{color:#9e929d;opacity:1}
button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible,summary:focus-visible{outline-color:var(--focus)}
.skip-link{background:var(--surface);color:var(--ink)}
.site-header{background:#100f12;border-bottom:1px solid #ffffff12}
.header-inner{min-height:78px;gap:30px}
.brand{font-family:"Hiragino Maru Gothic ProN","Arial Rounded MT Bold","Yu Gothic",sans-serif;font-weight:950;letter-spacing:-.07em;font-size:2rem;gap:9px}
.brand-wordmark{-webkit-text-stroke:.55px currentColor;paint-order:stroke fill}
.brand-accent{display:inline-block;color:#f45169;transform:rotate(-4deg)}
.bag-logo{width:39px;height:43px;color:#ed4562;stroke-width:3.8;stroke-linejoin:round;stroke-linecap:round}
.bag-logo .sparkle{fill:#f5eee7}
.brand-image{display:block;width:285px;height:auto;max-width:100%;object-fit:contain}
.header-search{background:#252126;color:var(--ink);border:1px solid #443a43;box-shadow:none;min-height:45px}
.header-search button{background:#3a2e38;color:var(--ink);font-size:.875rem}
.header-search input{color:var(--ink)}
.header-search:focus-within{border-color:#c16275;box-shadow:0 0 0 2px #ff81921f}
.login-button{font-size:.875rem}
.button{background:var(--surface-raised);border-color:#51404b;color:var(--ink)}
.button:hover:not(:disabled){background:#3b2c37;border-color:#836373}
.button.coral{background:linear-gradient(180deg,#e6415b,#cd2440);color:#fff;border-color:#ed5a70;box-shadow:0 4px 18px #90072020}
.button.coral:hover:not(:disabled){background:#bf1f3b;border-color:#ff8192;box-shadow:0 5px 20px #c42b4535}
.button.dark{background:#41303b;border-color:#795163}
.button.ghost{background:transparent;border-color:transparent}
.button.ghost:hover:not(:disabled){background:#39252e}
.icon-button:hover{background:#ffffff10}
.preview-strip{background:#21171d;color:#c9b9be;border-color:#443038}
.preview-label{color:#e2c3cc}
.hero{position:relative;background:#240c14;border-bottom:1px solid #613644;isolation:isolate}
.hero-backdrop{position:absolute;inset:0;z-index:-2}
.hero-backdrop img{height:100%;width:100%;object-fit:cover;object-position:center}
.hero:after{content:"";position:absolute;inset:0;z-index:-1;pointer-events:none;background:linear-gradient(90deg,#18080c52 0%,#20091228 43%,transparent 62%)}
.hero-inner{display:flex;min-height:clamp(385px,28vw,440px);align-items:center}
.hero-copy{padding:34px 0 40px;width:51%;max-width:760px}
.hero h1{font-family:var(--editorial);font-size:clamp(1.45rem,2.52vw,2.5rem);font-weight:900;line-height:1.5;letter-spacing:-.035em;margin:0 0 22px;text-shadow:0 2px 18px #14050b}
.hero h1 .hero-line{white-space:nowrap;letter-spacing:-.035em;max-width:100%;overflow-wrap:normal}
.hero h1 .hero-emphasis{font-size:2em;line-height:1.23;margin-top:0;letter-spacing:-.055em}
.hero h1 .hero-emphasis:after{height:8px;bottom:-3px;left:0;right:-15px;background:#e22c4b;border-radius:75% 15% 65% 25%;transform:rotate(-2deg)}
.hero p{font-size:1rem;line-height:1.8;font-weight:500;margin-bottom:22px;color:#f1e5dc;text-shadow:0 2px 8px #16060a}
.hero .button{font-size:1rem;min-width:250px;padding:13px 25px}
.category-nav{gap:10px;padding:15px 0;border-bottom:1px solid var(--line);margin-bottom:22px}
.category-button{background:transparent;border-color:transparent;color:var(--accent);border-radius:30px;min-height:48px;padding:10px 16px;font-size:.875rem;gap:10px}
.category-button:hover{background:var(--tint);box-shadow:none}
.category-button.active{background:linear-gradient(180deg,#e4405a,#cb243f);border-color:#e9566e;color:#fff}
.tone-all,.tone-rose{--tint:#442331;--tint-border:#754354;--accent:#ff9aae}
.tone-sage{--tint:#233c31;--tint-border:#456951;--accent:#aad0a3}
.tone-lilac{--tint:#352941;--tint-border:#695175;--accent:#d4a9e5}
.tone-blue{--tint:#23343e;--tint-border:#49616e;--accent:#a0cddc}
.tone-peach{--tint:#443128;--tint-border:#775743;--accent:#edbf94}
.tone-violet{--tint:#392943;--tint-border:#735387;--accent:#d6a7ef}
.category-button svg{width:26px;height:26px}
.section-top h2{font-family:var(--editorial);font-weight:800;font-size:1.9rem;letter-spacing:.01em}
.browse-controls{margin-bottom:20px}
.tab.active{color:#ff8798}
.sort select,.table-controls select{background:var(--field);color:var(--ink);font-size:.875rem}
.product-grid{gap:22px 20px}
.product-card{background:linear-gradient(130deg,#271f26,#201a20);border-color:#4d3d46;box-shadow:0 3px 12px #0002;border-radius:9px}
.product-card:hover{border-color:#a5697b;box-shadow:0 12px 30px #0005;transform:translateY(-3px)}
.product-cover:before{display:none}
.product-cover:not(.original-thumbnail) img{filter:brightness(.8) saturate(.78)}
.product-cover:after{background:linear-gradient(90deg,#140e18bf,#1b102030 80%)}
.cover-title{font-family:var(--editorial);font-weight:700;letter-spacing:.01em;color:#fff9ef}
.cover-title small{color:#e5d8cf}
.card-title-row{display:block}
.card-title-row .category-tag{display:inline-block;margin:0 0 7px}
.product-card h3{font-weight:600;min-height:0;margin-bottom:12px;font-size:.9375rem;letter-spacing:0}
.category-tag{border:1px solid var(--tint-border);font-size:.75rem}
.card-info{padding:12px 16px 15px}
.price{color:#fff5ed}
.rating .star{color:#e8b66d}
.reward{color:#ceaf84}
.favorite{background:#100d1180;border:1px solid #ffffff1f}
.favorite.is-favorite{background:#3c1726;color:#ff91a3}
.avatar{border-color:#ffffff22}
.site-footer{background:#100e12}
.site-footer nav,.footer-bottom{color:var(--muted)}
.footer-brand{color:var(--ink)}
.buy-panel,.form-card,.stat,.help-card,.settings-card,.table-wrap{background:var(--surface)}
.buy-panel{box-shadow:0 8px 24px #0003}
.reading-section,.detail-head{color:#ede3e7}
.detail-head h1,.reading-section h2,.article-body h2,.article-body h3{color:var(--ink)}
.chapter-list li{border-color:var(--line)}
.chapter-list li:before{color:var(--gold)}
.status-pill{background:#433321;color:#f1ca8d}
.status-pill.published{background:#213d2d;color:#b3d9a9}
.status-pill.pending{background:#473720;color:#ecca82}
.status-pill.draft{background:#392d43;color:#d2b6e2}
.status-pill.hidden{background:#452432;color:#eda3b9}
.notice{background:#30251f;border-color:#574233;color:#e0c4a8}
.preview-end{background:#2f2029;border-color:#6c475b;color:#d7b5c6}
.field input,.field textarea,.field select{background:var(--field);color:var(--ink);border-color:#66515f;font-size:1rem}
.field input:focus,.field textarea:focus,.field select:focus{border-color:var(--focus);outline-color:#ff819235}
.field label,.field-label{font-size:.9375rem}
.field .hint,.hint{font-size:.875rem}
.form-error,.upload-error,#profile-error{color:#ff9caa}
th{background:#302630;color:#d4c5cf}
.table-actions button:hover,.table-actions a:hover{background:#402936}
.empty-state{background:#1c171e}
.empty-state>svg{color:#d5a4bd}
dialog{background:var(--surface);border:1px solid #735062;box-shadow:0 25px 90px #0009}
dialog::backdrop{background:#0a040abb;backdrop-filter:blur(5px)}
.modal-top .icon-button{background:#3b2d38}
.demo-choice:hover{background:#392630}
#toast{background:#402333;border:1px solid #bd758f;color:#fff2ee;box-shadow:0 4px 30px #0006}
.original-thumbnail,.live-preview .original-thumbnail{background:#1a151b}
.image-placeholder,.image-missing{background:#2c222c;color:#c0aebd}
.category-templates .cover-choice img,.template-empty,.selected-thumbnail img,.template-admin-slot>img{background:#2b222b;color:#c4afbf}
.category-templates .cover-choice:disabled{color:#bfacb8}
.category-templates .cover-choice.active{border-color:var(--focus);box-shadow:0 0 0 2px #ff819226}
.upload-own{border-color:#b37a94}
.article-toolbar{background:#30232e}
.article-toolbar button{background:#42333e;border-color:#7d5f71;color:var(--ink)}
.article-toolbar #insert-paywall{background:#562536;color:#ffd5de;border-color:#c4768f}
.article-preview{background:#19141b;color:var(--ink)}
.article-toc{background:#2a202c;border-color:#5e4056}
.article-toc button{color:#f2bdd9}
.article-toc li::marker{color:#d9a7c1}
.article-toc small{color:#e6afd0;border-color:#8c6580}
.paid-divider{color:#ffb7ca}
.paid-divider:before,.paid-divider:after{background:#9f5a72}
.paid-divider span{background:#522434;border-color:#a6657e}
.paid-body{border-color:#a66a83}
.upload-box{background:#281e2a;border-color:#a37d94}
.upload-box:focus-within{outline-color:var(--focus)}
.upload-box img{background:#19131a}
.template-admin-slot .template-empty{border-color:#94788b}
.mobile-buybar{background:#1f1721f5}
@media(min-width:1600px){.hero-inner{min-height:440px}}
@media(max-width:1200px){
 .header-inner{gap:20px}.brand-image{width:255px}.brand{font-size:1.7rem}
 .hero-inner{min-height:350px}.hero-copy{width:52%;padding:30px 0}
 .hero h1{font-size:clamp(1.3rem,2.5vw,1.9rem)}.hero p{font-size:.9375rem}
 .category-button{padding:9px 12px;gap:7px}.category-button svg{width:23px;height:23px}
}
@media(max-width:950px){
 .header-inner{padding:14px 0;gap:14px}.brand-image{width:275px}
 .hero-inner{min-height:325px}.hero-copy{width:53%;padding:25px 0}
 .hero h1{font-size:clamp(1.15rem,2.5vw,1.6rem)}.hero h1 .hero-emphasis{font-size:2em}
 .hero p{font-size:.875rem}.hero .button{min-width:200px}
 .category-button{flex:0 0 auto;font-size:.875rem;padding:10px 16px}
 .product-card h3{min-height:3.3em}.detail-layout>*{min-width:0}
}
@media(max-width:640px){
 .header-inner{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px 10px;padding:13px 0}
 .brand{min-width:0;max-width:100%;gap:5px;font-size:1.35rem}.brand-image{width:100%;max-width:244px}
 .bag-logo{width:28px;height:34px}.header-actions{gap:9px}
 .login-button{font-size:.875rem}.header-sell{font-size:.875rem;padding:7px 10px}
 .header-search{grid-column:1/-1;order:3;min-width:0;width:100%}
 .header-search input{font-size:1rem}.header-search button{font-size:.875rem}
 .hero-inner{display:block;min-height:515px}.hero-copy{width:100%;max-width:none;padding:25px 0 240px}
 .hero-backdrop{inset:auto 0 0;height:270px}.hero-backdrop img{object-position:right bottom}
 .hero:after{background:linear-gradient(180deg,#2a0d15 0%,#2a0d15 43%,#2a0d1500 62%)}
 .hero h1{font-size:clamp(1.15rem,5vw,1.8rem);line-height:1.5;letter-spacing:-.045em;margin-bottom:15px}
 .hero h1 .hero-line{letter-spacing:-.055em;white-space:nowrap}
 .hero h1 .hero-emphasis{font-size:2.05em;line-height:1.25;margin-top:0}
 .hero h1 .hero-emphasis:after{height:6px;bottom:-2px;right:-10px}
 .hero p{font-size:.9375rem;line-height:1.7;margin-bottom:16px}
 .hero .button{min-width:205px;padding:11px 22px;font-size:.9375rem}
 .category-nav{padding:13px 16px 13px 0;margin-bottom:20px}
 .category-button{min-height:44px;font-size:.875rem;padding:9px 14px}
 .section-top h2{font-size:1.25rem;letter-spacing:-.04em}
 .section-top .text-link{font-size:.8125rem;white-space:nowrap}
 .tab{font-size:.875rem}.tabs{gap:18px}
 .sort select{font-size:.875rem;max-width:125px}
 .product-grid{gap:16px 11px}.card-info{padding:11px 10px 13px}
 .cover-title{font-size:clamp(1.05rem,4.3vw,1.5rem);inset:13px 20px 12px 12px}
 .product-card h3{font-size:.875rem;min-height:4.95em;margin-bottom:10px}
 .favorite{width:32px;height:32px;min-width:32px;min-height:32px}
 .product-card .creator-rating{flex-wrap:wrap;justify-content:flex-start;gap:4px 8px}
 .rating,.creator,.reward{font-size:.75rem}.price{font-size:1.25rem}
 .live-preview .product-card h3{min-height:0}
 .form-card{padding:20px 16px}.notice,.field .hint,.form-actions .button{font-size:.875rem}
 .buy-panel p,.buy-details{font-size:.875rem}
 .mobile-buybar{background:#1f1721f5}
}
@media(max-width:380px){
 .header-inner{grid-template-columns:1fr;gap:11px}.brand{justify-self:start;width:240px;max-width:100%}
 .header-actions{grid-column:1;margin:0;justify-content:flex-end}.header-search{grid-column:1}
 .hero-inner{min-height:495px}.hero-copy{padding-bottom:225px}.hero-backdrop{height:245px}
 .hero h1{font-size:5vw}.section-top{flex-wrap:wrap;gap:5px}
 .browse-controls{gap:6px}.sort{margin-left:0}.sort select{max-width:132px}
}
@media(max-width:360px){.product-grid{grid-template-columns:1fr}.cover-title{font-size:1.8rem;inset:20px}.product-card h3{min-height:0}.sort{display:block}}

/* Article media and a separate, read-only author preview. */
.article-toolbar #insert-article-image,.article-toolbar #insert-article-video{display:inline-flex;align-items:center;gap:8px;border-color:#987388;background:#392936}
.article-preview-launch{margin-top:26px}
.article-preview-button{display:flex;justify-content:center;gap:18px;width:100%;min-height:58px;padding:15px 24px;font-size:1.0625rem;border:1px solid #c97f98;background:linear-gradient(110deg,#4c2639,#372330);color:#fff0f3}
.article-preview-button:hover{background:#573146;border-color:#f1adc4}
.article-preview-button span:last-child{font-size:1.3rem;line-height:1}
.article-preview-launch #article-preview-help{margin-top:10px;margin-bottom:8px}
.article-preview-launch #toc-status{margin-top:0}
.article-preview-launch #article-preview-error:empty{display:none}
.article-insert-preview:empty{display:none}
.article-insert-preview{margin:14px 0 20px;padding:10px;background:var(--field);border-radius:10px;border:1px solid var(--line)}
.article-insert-preview img{display:block;max-height:220px;max-width:100%;margin:auto;object-fit:contain}
#article-image-file{padding:9px;max-width:100%;font-size:.875rem}
#article-image-file::file-selector-button{border:1px solid #987388;border-radius:6px;padding:8px 12px;color:var(--ink);background:#44303f;margin-right:12px;cursor:pointer}
.article-media{margin:24px 0;max-width:100%;min-width:0}
.article-media .article-image{display:block;width:auto;height:auto;max-width:100%;max-height:none;border-radius:10px;margin:0 auto;object-fit:contain}
.article-media .article-image.image-missing{width:100%;min-height:160px;padding:20px;background:var(--surface-raised)}
.article-media figcaption{display:flex;flex-wrap:wrap;gap:8px 20px;justify-content:center;font-size:.875rem;line-height:1.8;color:var(--muted);margin-top:10px;text-align:center;overflow-wrap:anywhere}
.article-media figcaption a{color:#f3bed4;text-decoration:underline;text-underline-offset:3px}
.article-video-frame{position:relative;aspect-ratio:16/9;min-height:200px;width:100%;overflow:hidden;border-radius:10px;background:#080709;border:1px solid var(--line)}
.article-video-frame iframe{position:absolute;inset:0;width:100%;height:100%;border:0}
.article-video{display:block;width:100%;max-height:70vh;background:#080709;border-radius:10px;border:1px solid var(--line)}
.article-preview-page{max-width:960px;margin:auto;padding-top:30px}
.article-preview-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:20px}
.article-preview-heading h1{font-size:1.7rem;margin:0 0 5px}
.article-preview-heading p{margin:0;font-size:.875rem;color:var(--muted)}
.article-preview-heading .button{flex-shrink:0}
.article-preview-document{border:1px solid var(--line);border-radius:16px;background:#1b151d;padding:34px;min-width:0;overflow-wrap:anywhere}
.preview-article-cover{margin:-34px -34px 28px;border-radius:16px 16px 0 0;overflow:hidden;background:#110d13}
.preview-article-cover>img{width:100%;height:auto;max-height:470px;object-fit:contain}
.preview-article-meta{border-bottom:1px solid var(--line);padding-bottom:24px;margin-bottom:26px}
.preview-article-meta>h2{font-size:2rem;line-height:1.6;margin:15px 0 14px;color:var(--ink)}
.preview-article-meta .preview-article-author{font-size:.9375rem;color:var(--gold);margin-bottom:16px}
.preview-article-meta>.preserve-lines{margin-bottom:0}
.preview-article-content .article-toc{margin-bottom:30px}
.preview-article-content .article-body{line-height:2.1}
@media(max-width:640px){
 .article-toolbar #insert-article-image,.article-toolbar #insert-article-video{flex:1;justify-content:center}
 .article-preview-button{min-height:56px;font-size:1rem}
 .article-preview-page{padding-top:24px}
 .article-preview-heading{align-items:flex-start;flex-wrap:wrap;gap:12px}
 .article-preview-heading h1{font-size:1.4rem}
 .article-preview-heading .button{font-size:.875rem;padding:8px 13px}
 .article-preview-document{padding:20px 16px;border-radius:12px}
 .preview-article-cover{margin:-20px -16px 22px;border-radius:12px 12px 0 0}
 .preview-article-meta>h2{font-size:1.5rem;line-height:1.7}
 .article-media{margin:20px 0}
 .article-video-frame{border-radius:8px}
 .article-media figcaption{font-size:.875rem;gap:6px}
}
/* Content creation navigator: the existing night-market studio. */
.header-navi{font-size:.875rem;color:#f5e8d7;padding:8px 0}
.navi{--navi-surface:#191314;--navi-border:#4a3334;--navi-muted:#bdaeac;color:#eee4de;font-size:1rem;line-height:1.8}
.navi h1,.navi h2{font-family:"Yu Mincho","Hiragino Mincho ProN",serif;font-weight:600;color:#f6e8d6;letter-spacing:.015em}
.navi h3{font-size:1.125rem;color:#f3e7dd}.navi h4{font-size:1rem;margin:0 0 8px}
.navi .hint{font-size:.875rem;line-height:1.75;color:var(--navi-muted)}
.navi-heading{display:flex;justify-content:space-between;align-items:center;gap:24px;margin-bottom:30px}
.navi-heading h1{font-size:clamp(1.7rem,3.2vw,2.75rem);margin:6px 0 10px}
.navi-heading p{margin:0;color:var(--navi-muted)}.navi-heading.compact h1{font-size:2rem;margin:4px 0}
#navi-save{font-size:.875rem;color:var(--navi-muted);white-space:nowrap}
.navi-panel,.navi-summary{background:linear-gradient(135deg,#211618,#171315 72%);border:1px solid var(--navi-border);border-radius:16px;padding:30px;min-width:0}
.navi-overview{display:grid;grid-template-columns:minmax(0,1.55fr) minmax(280px,1fr);gap:24px}
.navi-overview h2{font-size:1.65rem;margin-bottom:12px}
.navi-eyebrow{display:block;font-size:.875rem;color:#ceac7d;letter-spacing:.08em;margin-bottom:10px}
.navi-genres{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:24px 0}
.navi-genres button{display:flex;align-items:center;gap:12px;text-align:left;background:#241a1c;border:1px solid #50383c;border-radius:12px;padding:20px 16px;min-height:78px;transition:background .2s,border-color .2s;font-size:1rem}
.navi-genres button>span:last-child{margin-left:auto;color:#d8b386;font-size:1.2rem}
.navi-genres button:hover,.navi-genres button[aria-pressed=true]{background:#401b24;border-color:#e6324b}
.navi-genre-number{font:italic 1.3rem Georgia,serif;color:#bc926b}
.navi-guide{background:radial-gradient(ellipse at top right,#52202a80,transparent 75%),#161214}
.navi-guide ol{list-style:none;padding:0;counter-reset:navi}.navi-guide li{position:relative;padding:8px 0 22px 38px;counter-increment:navi}
.navi-guide li:before{content:counter(navi);position:absolute;left:0;top:9px;color:#d1a56d;font:italic 1.4rem Georgia,serif}
.navi-guide li span{display:block;color:var(--navi-muted);font-size:.875rem;margin-top:4px}
.navi-local-note{font-size:.875rem;line-height:1.85;color:var(--navi-muted);margin:22px 0 0}
.navi-projects{margin-top:42px}.navi-projects .section-top h2{font-size:1.5rem}
.navi-project-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}
.navi-project-card{display:block;background:#1b1518;border:1px solid #493338;border-radius:14px;padding:24px;overflow-wrap:anywhere}
a.navi-project-card:hover{border-color:#bc6b71;background:#24181b}.navi-project-card h3,.navi-project-card h2{font-size:1.125rem;margin:8px 0 16px}
.navi-project-card p{color:#d5b6ad;margin:8px 0}.navi-project-card small{display:block;font-size:.875rem;color:var(--navi-muted);margin-top:6px}
.navi progress{appearance:none;width:100%;height:5px;border:0;background:#3f2b30;border-radius:10px;display:block;margin:16px 0}
.navi progress::-webkit-progress-bar{background:#3f2b30;border-radius:10px}.navi progress::-webkit-progress-value{background:#e6324b;border-radius:10px}.navi progress::-moz-progress-bar{background:#e6324b;border-radius:10px}
.navi-steps{display:flex;gap:6px;overflow-x:auto;scrollbar-width:thin;margin:0 0 28px;padding:0 0 10px}
.navi-steps button{flex:1 0 auto;display:flex;align-items:center;gap:7px;font-size:.875rem;border:1px solid #493238;background:#1a1417;border-radius:9px;padding:10px 12px;min-height:46px}
.navi-steps button>span{font-size:.75rem;color:#c9a16d}.navi-steps button[aria-current]{background:linear-gradient(135deg,#902438,#651827);border-color:#ed4660;color:white}
.navi-steps button small{font-size:.75rem;color:#ffb4b9}.navi-steps button:disabled{opacity:.45}
.navi-workspace{display:grid;grid-template-columns:minmax(0,1fr) 270px;gap:24px;align-items:start}
.navi-workspace>aside{position:sticky;top:110px;min-width:0}.navi-summary{padding:23px}.navi-summary summary{font-weight:700;cursor:pointer;color:#f2e2d0}
.navi-summary dl{font-size:.875rem;line-height:1.8}.navi-summary dt{margin-top:16px;color:#b8a0a0}.navi-summary dd{margin:5px 0;overflow-wrap:anywhere;color:#eddfd7}
.navi-summary-actions{display:flex;flex-direction:column;gap:9px}.navi-summary-actions .button{font-size:.875rem;padding:8px 12px}
.navi-current{padding:32px;min-width:0}.navi-step-title h2{font-size:clamp(1.4rem,2vw,1.85rem);line-height:1.65;margin-bottom:25px}
.navi-current .field{margin-bottom:22px}.navi-current .field label{font-size:.9375rem;color:#f0e0d9}
.navi-current .field input,.navi-current .field textarea,.navi-current .field select{background:#100e10;border-color:#5b4146;font-size:1rem;line-height:1.85;color:#f2e9e2;max-width:100%;width:100%;border-radius:9px}
.navi-current textarea{resize:vertical}.navi-current textarea[readonly]{border-style:dashed;opacity:.8}
.navi .button.coral{background:linear-gradient(135deg,#e6324b,#af142b);border-color:#d6344c;box-shadow:0 4px 18px #8f13272b}
.navi .button{min-height:44px;white-space:normal}.navi .button:focus-visible,.navi button:focus-visible,.navi input:focus-visible,.navi textarea:focus-visible,.navi a:focus-visible,.navi summary:focus-visible{outline-color:#e1ae76}
.navi-bottom{display:flex;justify-content:space-between;gap:20px;align-items:center;border-top:1px solid #4b3338;margin-top:30px;padding-top:24px}
.navi-bottom>span{color:var(--navi-muted);font-size:.875rem;max-width:210px}.navi-bottom .button{margin-left:auto}
.navi-label{display:inline-block;font-size:.875rem;color:#d9b38c;border:1px solid #634438;border-radius:6px;background:#2d201c;padding:5px 10px;margin-bottom:22px}
.navi-result{margin-top:26px;border-top:1px solid #51353c;padding-top:26px}.navi-result summary{cursor:pointer;font-weight:700;margin-bottom:15px}
.navi-warning{background:#391d23;border:1px solid #79404d;border-radius:9px;padding:16px 18px;font-size:.9375rem;line-height:1.8;color:#f0cfd0;margin-bottom:24px}.navi-warning p:last-child{margin-bottom:0}
.navi-voice{display:flex;gap:12px;flex-wrap:wrap;align-items:center;margin-bottom:16px}.navi-voice>span{font-size:.875rem;color:#c5b0ac}.navi-voice p{flex-basis:100%;margin:0}
.navi-reader-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.navi-reader{text-align:left;padding:18px 16px;background:#25191d;border:1px solid #58383e;border-radius:10px;overflow-wrap:anywhere;display:flex;flex-direction:column;align-items:stretch}
.navi-reader[aria-pressed=true]{background:#421e28;border:2px solid #e34c64;padding:17px 15px}.navi-reader strong{font-size:1rem;line-height:1.8;display:block;margin-bottom:12px}.navi-reader p{font-size:.875rem;color:#deccc7}.navi-reader small{font-size:.875rem;color:#c5b1ad;line-height:1.8}.navi-choice-label{margin-top:auto;padding-top:16px;color:#eeadae;font-size:.875rem}
.navi-actions,.navi-editor-actions{display:flex;flex-wrap:wrap;gap:12px;margin:20px 0}.navi-comparisons article,.navi-feedback article{padding:22px;background:#21171b;border:1px solid #55373f;border-radius:10px;margin:18px 0}.navi-comparisons dl{font-size:.9375rem}.navi-comparisons dt{color:#c6a783;margin-top:15px}.navi-comparisons dd{margin:6px 0;white-space:pre-wrap}.navi-comparisons a{color:#edb69b;text-decoration:underline}
.navi-row{display:flex;align-items:center;justify-content:space-between;gap:12px}.navi-row h3{margin:0}.navi-row .button{padding:7px 12px;font-size:.875rem}
.navi-outline-item{padding:22px;background:#21191b;border:1px solid #49323a;border-radius:12px;margin-bottom:16px}.navi-outline-item .navi-row{margin-bottom:16px}.navi-outline-item .field:last-child{margin-bottom:0}.navi-outline-item .navi-row>div{display:flex;gap:6px}
.navi-sample-picker{display:flex;flex-wrap:wrap;gap:10px 18px;padding:18px 0;margin-bottom:18px}.navi-sample-picker label{display:flex;align-items:center;gap:9px;font-size:.9375rem}
.navi input[type=checkbox]{accent-color:#e6324b;width:18px;height:18px;flex-shrink:0}
.navi-chapter{margin-bottom:26px;border-bottom:1px solid #4a3038;padding-bottom:22px}.navi-chapter .navi-row{margin-bottom:10px}.navi-chapter textarea{font-size:1rem;line-height:2;min-height:280px;padding:20px}
.navi-branch{display:grid;grid-template-columns:1fr 1fr;gap:20px}.navi-branch>div{padding:24px;border:1px solid #65414a;border-radius:12px;background:#27191f;display:flex;flex-direction:column}.navi-branch p{font-size:.9375rem;color:#cab7b0}.navi-branch .button{margin-top:auto;width:100%;padding-left:12px;padding-right:12px}
.navi-check{display:flex;align-items:flex-start;gap:10px;line-height:1.9;font-size:.9375rem;margin:20px 0}.navi-check input{margin-top:6px}
.navi-empty{padding:34px 24px;border:1px dashed #65404a;border-radius:12px;color:#c7b1ad}.navi-empty h2{font-size:1.4rem}
.navi-history article{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:18px 0;border-bottom:1px solid #594047}.navi-history p{margin:6px 0 0;font-size:.875rem}
.navi-diff{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin:20px 0}.navi-diff>div{min-width:0}.navi-diff pre{white-space:pre-wrap;overflow-wrap:anywhere;font-family:inherit;font-size:.9375rem;line-height:1.9;max-height:430px;overflow:auto;background:#110e12;border:1px solid #533b43;padding:16px}.navi-diff h3{font-size:1rem}.navi-diff textarea{min-height:300px}
.navi-participant{padding:18px 0;border-top:1px solid #53363e}.navi-participant span{display:block;font-size:.875rem;color:#cdb5b0}.navi-workspace .reading{margin-top:30px}.navi-workspace .reading p{font-size:1rem}
@media(max-width:1180px){.header-actions{gap:12px}.navi-workspace{grid-template-columns:minmax(0,1fr) 235px;gap:18px}.navi-current{padding:25px}.navi-reader-grid{grid-template-columns:1fr}.navi-reader strong{margin-bottom:7px}.navi-reader p{margin-bottom:7px}.navi-reader small{max-height:7em;overflow:auto}.navi-choice-label{padding-top:10px}}
@media(max-width:900px){.navi-workspace{grid-template-columns:1fr}.navi-workspace>aside{position:static}.navi-overview{grid-template-columns:1fr}.navi-guide ol{display:grid;grid-template-columns:repeat(3,1fr);gap:15px}.navi-project-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.navi-summary dl{display:grid;grid-template-columns:130px 1fr;gap:12px}.navi-summary dt,.navi-summary dd{margin:0}.navi-summary-actions{flex-direction:row}.header-search{min-width:100px}.navi-heading.compact{align-items:flex-start}}
@media(max-width:640px){.header-navi{font-size:.8125rem}.header-actions{gap:11px}.navi-heading{display:block;margin-bottom:22px}.navi-heading .button{margin-top:16px}.navi-heading.compact h1{font-size:1.6rem}#navi-save{display:block;margin-top:10px}.navi-panel{padding:22px 17px}.navi-genres{gap:10px}.navi-genres button{padding:14px 10px;gap:8px;font-size:.9375rem;min-height:70px}.navi-genre-number{display:none}.navi-guide ol{display:block}.navi-guide li{padding-bottom:18px}.navi-project-grid{grid-template-columns:1fr}.navi-project-card{padding:22px}.navi-steps{margin-right:-16px;padding-right:16px}.navi-steps button{padding:9px 11px}.navi-current{padding:22px 16px}.navi-step-title h2{font-size:1.4rem}.navi-bottom{display:block}.navi-bottom>span{display:block;max-width:none;margin-bottom:15px}.navi-bottom>.button{width:100%}.navi-outline-item{padding:17px 12px}.navi-branch{grid-template-columns:1fr}.navi-branch>div{padding:21px 17px}.navi-row{align-items:flex-start;flex-wrap:wrap}.navi-chapter textarea{padding:14px 12px;min-height:320px}.navi-summary dl{grid-template-columns:1fr;gap:3px}.navi-summary dt{margin-top:10px}.navi-diff{grid-template-columns:1fr}.navi-history article{align-items:flex-start}.navi-reader-grid{grid-template-columns:1fr}.navi-check{font-size:.9375rem}.navi .button{font-size:.9375rem}.navi-current .field .hint{font-size:.875rem}}
.product-card .like-button,.product-cover .like-button{width:auto;min-width:66px;min-height:40px;height:auto;display:inline-flex;gap:7px;padding:8px 11px;border-radius:24px;right:10px;top:10px;background:#161016ed;color:#f6e8ec;border:1px solid #74505f;box-shadow:0 2px 9px #0004}
.product-card .like-button.is-favorite,.product-cover .like-button.is-favorite{background:#651d32;color:#ffb5c5;border-color:#df6681}
.like-button .like-count{font-size:.875rem;font-variant-numeric:tabular-nums;line-height:1.3;font-weight:700}
.like-button .icon{width:20px;height:20px}.my-menu-link{display:block}.my-menu-link>svg{color:#f07b96;margin-bottom:15px}.my-menu-link:hover{border-color:#e27d96}
.navi-check-heading{font-size:1.125rem;font-weight:700;color:#f3dec9;margin:4px 0 8px}
.navi-source-excerpt{white-space:pre-wrap;overflow-wrap:anywhere;padding:14px;background:#271c21;border-left:2px solid #af756f;max-height:200px;overflow:auto;margin:12px 0}
#navi-experience-memo{scroll-margin-top:120px}
@media(max-width:640px){.product-card .like-button,.product-cover .like-button{right:6px;top:6px;min-width:58px;min-height:38px;padding:7px 9px;gap:5px}.like-button .icon{width:18px;height:18px}.like-button .like-count{font-size:.875rem}.my-menu-link h2{font-size:1.15rem}}

.card-media{position:relative}.card-media .cover-link{display:block}
.navi-editable-note{color:#dcb184;font-size:.9375rem;margin:-15px 0 24px}
.note-manuscript{margin:28px 0 20px;padding:28px;background:#151214;border:1px solid #52383e;border-radius:12px}
.note-chapter{min-width:0;padding:12px 0 30px;margin:0 0 26px;border-bottom:1px solid #483139}
.note-chapter:last-child{border:0;margin-bottom:0;padding-bottom:0}
.note-chapter-meta{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-bottom:15px;color:#b8a39c;font-size:.8125rem}
.note-chapter-meta label{display:flex;align-items:center;gap:8px}
.note-chapter-meta select{padding:5px 9px;border:1px solid #64434c;border-radius:6px;color:#e9dacf;background:#23191e;min-height:36px}
.note-manuscript .note-title{width:100%;max-width:100%;border:0;border-bottom:1px solid transparent;background:transparent;padding:8px 0 12px;color:#f4e7d9;letter-spacing:.01em;margin-bottom:12px}
.note-manuscript .note-title{font-family:inherit;font-size:1.5rem;font-weight:600;line-height:1.7}
.note-manuscript .note-title.is-subheading{font-size:1.2rem}
.note-toolbar{display:flex;align-items:center;gap:6px;flex-wrap:wrap;padding:9px 0;margin:2px 0 12px;border-top:1px solid #473039;border-bottom:1px solid #473039}
.note-toolbar button,.note-media>button{background:#2d1e25;border:1px solid #64414f;border-radius:7px;color:#eedbdc;min-height:38px;padding:6px 10px;font-size:.8125rem}
.note-toolbar button:hover{background:#4b2532;border-color:#d57a90}
.note-parts{min-width:0;overflow-wrap:anywhere}
.note-manuscript .note-text{width:100%;max-width:100%;display:block;border:1px solid transparent;background:transparent;color:#efdfd9;border-radius:5px;line-height:2;font-family:inherit;font-size:1rem;padding:6px;min-height:44px;resize:vertical;overflow:hidden;field-sizing:content}
.note-manuscript .note-text::placeholder{color:#a38b85}
.note-manuscript .note-text:focus,.note-manuscript .note-title:focus{outline:1px solid #bd7e8c;outline-offset:3px}
.note-manuscript .note-inline-heading{font-weight:600;color:#f4e7d9;font-size:1.4rem;line-height:1.7}
.note-manuscript .note-inline-heading.level-3{font-size:1.2rem}
.note-media{position:relative;padding:5px 0 10px}.note-media .article-media{margin:0}
.note-media>button{display:block;margin:8px 0 0 auto}
.note-manuscript .note-chapter-hint{font-size:.8125rem;margin:12px 0 0;color:#aa938b}
@media(max-width:640px){.note-manuscript{padding:18px 12px;margin-left:-6px;margin-right:-6px}.note-manuscript .note-title{font-size:1.25rem}.note-toolbar button{min-height:42px;font-size:.875rem;padding:7px 8px}.note-chapter-meta{align-items:flex-start}.note-chapter{padding-top:4px}.note-manuscript .note-text{padding:6px 2px}.note-media .article-video-frame{border-radius:6px}}

.card-media .like-button{top:auto;bottom:10px}
@media(max-width:640px){.card-media .like-button{top:auto;right:6px;bottom:6px}}

.note-order{display:flex;gap:8px}.note-order button{min-width:36px;min-height:36px;padding:4px 9px;border:1px solid #64434c;border-radius:6px;background:#23191e;color:#ddc4bf}.note-order button:disabled{opacity:.35}

/* Separate the bottom-right delete target from the project navigation link. */
.navi-draft-card{position:relative;padding:0;overflow:hidden}
.navi-project-open{display:block;height:100%;padding:24px 24px 66px}
.navi-project-open:hover{background:#24181b}
.navi-project-open:focus-visible{outline-offset:-4px;border-radius:14px}
.navi-delete-zone{position:absolute;right:0;bottom:0;width:100px;height:62px;display:flex;align-items:center;justify-content:center}
.navi-project-delete{opacity:0;min-height:38px;padding:7px 17px;border:1px solid #a35769;border-radius:8px;color:#ffd4db;background:#4b202b;font-size:.875rem;transition:opacity .15s,background .15s}
.navi-delete-zone:hover .navi-project-delete,.navi-delete-zone:focus-within .navi-project-delete,.navi-draft-card:focus-within .navi-project-delete{opacity:1}
.navi-project-delete:hover{background:#752c40}
@media(hover:none),(pointer:coarse){.navi-project-delete{opacity:1}}

/* Each public creator page shows a single identity. Account management lives in My Page. */
.seller-avatar{display:inline-flex;width:58px;height:58px;flex:0 0 auto;align-items:center;justify-content:center;overflow:hidden;border-radius:50%;background:linear-gradient(140deg,#73404f,#3e2230);border:1px solid #bc879377;color:#f9e9d7;font-size:1.45rem;font-weight:700}
.seller-avatar img{width:100%;height:100%;object-fit:cover;display:block}
.seller-avatar.large{width:112px;height:112px;font-size:2.8rem}
.creator.seller-identity{display:inline-flex;align-items:center;gap:7px;max-width:100%;border-radius:5px}
.seller-identity .seller-avatar{width:25px;height:25px;font-size:.8125rem}
a.seller-identity:hover>span:last-child{text-decoration:underline;text-underline-offset:4px;color:#f5becc}
.seller-public-hero{position:relative;overflow:hidden;padding:44px 48px;border:1px solid #65444d;border-radius:18px;background:radial-gradient(ellipse at 90% 0,#65253780,transparent 60%),linear-gradient(125deg,#2b1e25,#181319);margin-bottom:44px}
.seller-public-identity{display:flex;align-items:center;gap:25px;position:relative}
.seller-public-identity h1{font-size:clamp(1.8rem,3vw,2.8rem);margin:5px 0 10px;color:#f9ebdb;overflow-wrap:anywhere}
.seller-tagline{font-size:1.05rem;color:#d9bdbe;margin-bottom:0;overflow-wrap:anywhere}
.seller-bio{max-width:840px;color:#e9d9d5;line-height:2;margin-top:30px;overflow-wrap:anywhere}
.seller-published-count{font-size:.875rem;color:#c3a7aa;margin:28px 0 0;padding-top:22px;border-top:1px solid #68424c66}
.seller-published-count strong{color:#efcf9f;font-size:1.25rem;margin:0 5px}
.seller-public-products .section-top{gap:15px;flex-wrap:wrap}.seller-public-products .section-top h2{font-size:1.4rem;overflow-wrap:anywhere}
.seller-management-note{color:#d7bec3;line-height:1.9;max-width:800px;margin:24px 0}
.seller-manage-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px}
.seller-manage-card{padding:27px;border:1px solid #5b4048;border-radius:15px;background:linear-gradient(125deg,#281c24,#1b151d)}
.seller-manage-identity{display:flex;gap:17px;align-items:center;margin-bottom:22px;min-width:0}
.seller-manage-identity>div{min-width:0}.seller-manage-identity h2{font-size:1.25rem;color:#f8e6d8;margin:0 0 7px;overflow-wrap:anywhere}
.seller-manage-identity p{font-size:.875rem;color:#c3a8ae;margin:0;overflow-wrap:anywhere}
.seller-card-actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:20px}.seller-card-actions .text-link{width:100%;margin-top:2px;font-size:.875rem}
.seller-profile-form{max-width:880px}.seller-icon-editor{display:flex;gap:28px;align-items:center;margin-bottom:30px}.seller-icon-editor .field{margin:0;flex:1;min-width:0}.seller-icon-editor .text-link{display:block;margin-top:12px;font-size:.875rem}
.seller-own-products{max-width:880px}.seller-own-products ul{list-style:none;margin:12px 0 0;padding:0}
.seller-own-products li{display:flex;justify-content:space-between;align-items:center;gap:18px;padding:18px 0;border-top:1px solid #533b45}.seller-own-products li>div{min-width:0}.seller-own-products strong{display:block;overflow-wrap:anywhere}.seller-own-products .hint{display:block;margin-top:6px}
.seller-profile-form .form-actions{flex-wrap:wrap}.seller-own-products .section-top{flex-wrap:wrap;gap:15px}
@media(max-width:800px){.seller-manage-grid{grid-template-columns:1fr}}

/* Public legal information remains readable without JavaScript or a session. */
.legal-header-inner{display:flex;justify-content:space-between;gap:24px}
.legal-home-link{white-space:nowrap;color:var(--ink);padding:12px 0}
.legal-page{max-width:1040px;padding-top:38px;padding-bottom:64px}
.legal-page .breadcrumb{flex-wrap:wrap}
.legal-heading{margin-bottom:26px}
.legal-heading h1{font-size:clamp(1.6rem,3vw,2.2rem);margin:10px 0 12px;line-height:1.5;overflow-wrap:anywhere}
.legal-heading p{color:var(--muted);line-height:1.8;margin-bottom:0}
.legal-preparation{border:1px solid #735143;background:#2c211e;border-radius:12px;padding:22px 26px;margin-bottom:28px;line-height:1.9}
.legal-preparation strong{display:block;color:#efce9e;margin-bottom:6px}
.legal-preparation p{font-size:.9375rem;color:#e1cec1;margin:0}
.legal-details{margin:0;background:var(--surface);border:1px solid var(--line);border-radius:12px;overflow:hidden}
.legal-details>div{display:grid;grid-template-columns:220px minmax(0,1fr);border-bottom:1px solid var(--line)}
.legal-details>div:last-child{border-bottom:0}
.legal-details dt,.legal-details dd{margin:0;padding:23px 26px;font-size:.9375rem;line-height:1.9;overflow-wrap:anywhere}
.legal-details dt{font-weight:700;background:#ffffff03}
.legal-details dd{color:#e4d7dc}
.legal-pending{display:inline-block;vertical-align:baseline;margin:0 10px 5px 0;padding:1px 9px;border:1px solid #745c40;border-radius:5px;background:#372a1e;color:#edc98f;font-size:.75rem;white-space:nowrap}
.legal-actions{margin-top:30px;text-align:center}
.report-page{max-width:880px}.report-guidance{line-height:1.9;color:var(--muted);margin-bottom:25px}.report-page .field{margin-bottom:22px}.report-page .form-actions{flex-wrap:wrap}.report-page .form-actions .button{min-width:180px}.report-product-link{display:block;text-align:center;margin:18px 0}.report-seller-link{display:inline-block;margin-top:18px}.report-receipt h1{font-size:1.7rem;margin-top:12px}.report-receipt p{line-height:1.9}.report-receipt-id{color:var(--muted);font-size:.875rem;overflow-wrap:anywhere}.catalog-sync-status{font-size:.8125rem;color:var(--muted);line-height:1.7;margin:10px 0 22px}.catalog-sync-status:empty{display:none}.catalog-sync-status.sync-error{color:#ffd39d}[data-admin-nav][hidden]{display:none}
.site-footer a[aria-current="page"]{color:var(--ink);text-decoration:underline;text-underline-offset:4px}
@media(max-width:640px){.legal-header-inner{display:flex;flex-wrap:wrap;gap:8px 20px}.legal-header-inner .brand{min-width:0;max-width:100%}.legal-home-link{font-size:.8125rem;padding:5px 0}.legal-page{padding-top:24px;padding-bottom:40px}.legal-heading p{font-size:.875rem}.legal-preparation{padding:18px}.legal-preparation p{font-size:.875rem}.legal-details>div{grid-template-columns:minmax(0,1fr)}.legal-details dt{padding:16px 18px 4px;background:transparent;color:#e7b7c3}.legal-details dd{padding:0 18px 18px}.legal-actions .button{width:100%}}
@media(max-width:640px){.seller-public-hero{padding:26px 21px;margin-bottom:30px}.seller-public-identity{gap:18px;align-items:flex-start}.seller-public-identity .seller-avatar.large{width:72px;height:72px;font-size:2rem}.seller-public-identity h1{font-size:1.65rem}.seller-tagline{font-size:.9375rem}.seller-bio{margin-top:24px;font-size:.9375rem}.seller-manage-card{padding:23px 19px}.seller-card-actions .button{flex:1;font-size:.875rem;padding:10px}.seller-icon-editor{align-items:flex-start;flex-direction:column;gap:20px}.seller-icon-editor .field{width:100%}.seller-own-products li{align-items:flex-start}.seller-identity .seller-avatar{width:22px;height:22px}.seller-public-products .section-top h2{font-size:1.2rem}}
