/* Phase 4: archive cards and standard posts only. No changes to stored content. */
body.tsuki-list-view,body.tsuki-article-view{--tsuki-ink:#453B48;--tsuki-heading:#68546F;--tsuki-paper:#FCFAF8;--tsuki-lilac:#F3EDF7;--tsuki-blush:#FAF1F3;--tsuki-border:#E4D8E9;--tsuki-serif:'Yu Mincho','Hiragino Mincho ProN','Noto Serif JP',serif;--tsuki-sans:'Hiragino Kaku Gothic ProN','Yu Gothic',Meiryo,sans-serif}
/* Keep the existing sidebars and their content; allow the main list to use the available width. */
body.tsuki-list-view:not(.front-page) #content,body.tsuki-article-view #content{width:100%!important;max-width:1200px!important;box-sizing:border-box;margin-inline:auto!important;}
body.tsuki-list-view:not(.front-page) #contentInner main{padding:clamp(12px,2vw,24px)!important;background:#fff!important;min-width:0;box-sizing:border-box}
body.tsuki-list-view #contentInner .post > h1.entry-title:not(.tsuki-topic-title){color:var(--tsuki-heading)!important;background:none!important;border:0!important;border-bottom:1px solid #C3A16C!important;font:500 clamp(23px,2.5vw,32px)/1.5 var(--tsuki-serif)!important;padding:0 0 12px!important;box-shadow:none!important}
body.tsuki-list-view #contentInner .post > h1.entry-title:not(.tsuki-topic-title)::before,body.tsuki-list-view #contentInner .post > h1.entry-title:not(.tsuki-topic-title)::after{content:none!important}
/* Topic banner, reusing only approved images. Square originals shown in a square frame. */
body .tsuki-topic-banner,body .tsuki-topic-banner *{box-sizing:border-box}
body .tsuki-topic-banner{--topic-bg:#F8EEF2;display:grid!important;grid-template-columns:minmax(0,1.2fr) minmax(0,1fr);align-items:stretch;max-width:1200px;width:100%;margin:0 auto 24px!important;border:1px solid #E4D8E9!important;border-radius:12px!important;overflow:hidden;background:var(--topic-bg)!important;box-shadow:none!important;padding:0!important;min-width:0}
body #tsuki-brand > .tsuki-topic-banner{width:calc(100% - 32px);margin:24px auto!important}
body .tsuki-topic-beauty{--topic-bg:#F8EBEF}body .tsuki-topic-hair-care{--topic-bg:#F7F0E7}body .tsuki-topic-health{--topic-bg:#EDF3EB}body .tsuki-topic-lifestyle{--topic-bg:#EDF3F7}body .tsuki-topic-honest-review{--topic-bg:#F5E9ED}body .tsuki-topic-diary{--topic-bg:#F0EBF6}
body .tsuki-topic-copy{display:flex;flex-direction:column;align-items:flex-start;justify-content:center;padding:clamp(20px,4.5vw,64px);min-width:0;gap:10px}
body .tsuki-topic-ornament{display:block;color:#A78C65;width:54px;height:27px;flex:none}
body #tsuki-brand .tsuki-topic-title,body #contentInner .post .tsuki-topic-title{font:500 clamp(22px,3vw,36px)/1.45 var(--tsuki-serif)!important;color:#68546F!important;background:none!important;border:0!important;box-shadow:none!important;text-shadow:none!important;margin:0!important;padding:0!important;letter-spacing:.04em;overflow-wrap:anywhere}
body .tsuki-topic-title::before,body .tsuki-topic-title::after{content:none!important;display:none!important}
body .tsuki-topic-en{font:500 12px/1.5 Georgia,serif;color:#856B48;letter-spacing:.15em;overflow-wrap:anywhere}
body .tsuki-topic-line{width:70px;max-width:100%;height:1px;background:#C3A16C;display:block;margin-top:7px}
body .tsuki-topic-art{min-width:0;min-height:0;display:flex;align-items:center;justify-content:center;padding:12px;background:transparent}
body .tsuki-topic-art img{display:block!important;width:100%!important;height:auto!important;max-width:340px!important;max-height:300px;object-fit:contain!important;aspect-ratio:auto!important;border-radius:8px!important;margin:0!important;padding:0!important;box-shadow:none!important}
/* Only our new loop markup is styled; widgets, related post query and ads remain intact. */
body .tsuki-article-grid{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;max-width:1200px;margin:0 auto 24px!important;padding:0!important;align-items:stretch;min-width:0;box-sizing:border-box;container-type:inline-size}
body .tsuki-article-grid > .st-infeed-adunit{grid-column:1/-1;min-width:0;margin:0!important}
body .tsuki-article-grid .tsuki-article-card,body .tsuki-article-grid .tsuki-article-card *{box-sizing:border-box}
body .tsuki-article-grid .tsuki-article-card{display:flex!important;flex-direction:column!important;min-width:0;overflow:hidden;margin:0!important;padding:0!important;border:1px solid #E4D8E9!important;border-radius:10px!important;background:#fff!important;box-shadow:none!important;color:#453B48;float:none!important}
body .tsuki-article-card .tsuki-card-image{display:block!important;background:#F9F6FB!important;aspect-ratio:5/3;width:100%;overflow:hidden;border:0!important;margin:0!important;padding:0!important}
body .tsuki-article-card .tsuki-card-image img{display:block!important;width:100%!important;height:100%!important;object-fit:contain!important;object-position:center!important;max-width:none!important;max-height:none!important;border:0!important;border-radius:0!important;margin:0!important;padding:0!important;box-shadow:none!important}
body .tsuki-article-card .tsuki-card-body{display:flex;flex-direction:column;flex:1;min-width:0;padding:16px;gap:10px}
body .tsuki-article-card .tsuki-card-categories{display:flex;flex-wrap:wrap;gap:5px;align-items:flex-start}
body .tsuki-article-card .tsuki-card-categories a{display:inline-block!important;padding:4px 8px!important;max-width:100%;background:#F3EDF7!important;color:#68546F!important;font:500 11px/1.4 var(--tsuki-sans)!important;border:0!important;border-radius:5px!important;text-decoration:none!important;overflow-wrap:anywhere}
body #contentInner .tsuki-article-card h3.tsuki-card-title,body .tsuki-article-card h3.tsuki-card-title{background:none!important;border:0!important;box-shadow:none!important;font:600 16px/1.65 var(--tsuki-sans)!important;color:#453B48!important;margin:0!important;padding:0!important;overflow-wrap:anywhere;text-shadow:none!important;letter-spacing:0!important}
body .tsuki-article-card .tsuki-card-title::before,body .tsuki-article-card .tsuki-card-title::after{content:none!important;display:none!important}
body .tsuki-article-card .tsuki-card-title a{font:inherit!important;color:#453B48!important;background:none!important;text-decoration:none!important;border:0!important}
body .tsuki-article-card .tsuki-card-title a:hover,body .tsuki-article-card .tsuki-card-categories a:hover{text-decoration:underline!important}
body .tsuki-article-card .tsuki-card-date{display:block;color:#796287;font:400 12px/1.5 var(--tsuki-sans);margin-top:auto;overflow-wrap:anywhere}
body .tsuki-article-card .tsuki-card-more{display:flex!important;align-items:center;justify-content:space-between;gap:4px;border:0!important;border-top:1px solid #E4D8E9!important;background:none!important;padding:10px 0 0!important;margin:0!important;color:#68546F!important;font:500 11px/1.4 Georgia,serif!important;letter-spacing:.09em;text-decoration:none!important}
body .tsuki-article-card .tsuki-card-more:hover{color:#453B48!important;text-decoration:underline!important}
body .tsuki-article-card a:focus-visible,body.tsuki-list-view .st-pagelink a:focus-visible{outline:2px solid #796287;outline-offset:2px}
/* At narrow widths use 2/1 columns. Keep the existing homepage header/category layout. */
@media(max-width:959px){body .tsuki-article-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}}
@media(max-width:599px){body .tsuki-article-grid{gap:12px}body .tsuki-article-card .tsuki-card-body{padding:10px;gap:8px}body .tsuki-article-card h3.tsuki-card-title{font-size:14px!important}body .tsuki-topic-banner{grid-template-columns:minmax(0,1fr) minmax(0,1fr);margin-bottom:18px!important}body .tsuki-topic-copy{padding:14px;gap:6px}body #tsuki-brand .tsuki-topic-title,body #contentInner .post .tsuki-topic-title{font-size:21px!important}body .tsuki-topic-en{font-size:10px;letter-spacing:.08em}body .tsuki-topic-art{padding:7px}body .tsuki-topic-ornament{width:44px;height:22px}}
@media(max-width:359px){body .tsuki-article-grid{grid-template-columns:minmax(0,1fr)}body .tsuki-topic-banner{grid-template-columns:1fr}body .tsuki-topic-art img{max-width:220px!important}}
/* Parent pagination links and counts remain untouched. */
body.tsuki-list-view .st-pagelink .st-pagelink-in{display:flex!important;flex-wrap:wrap;justify-content:center;gap:8px;padding:0!important;position:static!important}
body.tsuki-list-view .st-pagelink .page-numbers{box-sizing:border-box;display:inline-flex!important;align-items:center;justify-content:center;border:1px solid #E4D8E9!important;background:#fff!important;color:#68546F!important;min-width:42px;width:42px;min-height:42px;padding:4px!important;margin:0!important;border-radius:50%!important;text-decoration:none!important;opacity:1!important;box-shadow:none!important;position:static!important}
body.tsuki-list-view .st-pagelink .page-numbers.current{background:#8A719D!important;color:#fff!important;border-color:#8A719D!important}body.tsuki-list-view .st-pagelink .page-numbers.dots{background:none!important;border:0!important;width:auto;min-width:20px}body.tsuki-list-view .st-pagelink :is(.prev,.next).page-numbers{width:auto;min-width:62px;border-radius:24px!important;padding:4px 10px!important}body.tsuki-list-view .st-pagelink a.page-numbers:hover{background:#F3EDF7!important}
/* Standard post only: title and reading area. */
body.tsuki-article-view #contentInner main{background:#fff!important;box-sizing:border-box;min-width:0}
body.tsuki-article-view #contentInner .st-post .mainbox .entry-content{max-width:900px;margin-inline:auto;color:#453B48;font:400 17px/1.9 var(--tsuki-sans);overflow-wrap:anywhere;background:#fff;min-width:0}
body.tsuki-article-view #contentInner .st-post .mainbox .entry-content > :is(p,ul,ol){font-size:inherit!important;line-height:1.9!important;color:#453B48}
body.tsuki-article-view #contentInner .st-post .mainbox .entry-content > p{margin:0 0 1.35em}
body.tsuki-article-view #contentInner .st-post h1.entry-title,body.tsuki-article-view .st-header-post-data h1.entry-title{font:500 clamp(30px,2.5vw,34px)/1.5 var(--tsuki-serif)!important;color:#453B48!important;border:0!important;border-bottom:1px solid #C3A16C!important;background:none!important;box-shadow:none!important;text-shadow:none!important;padding:0 0 18px!important;margin-bottom:20px!important;letter-spacing:.01em!important;overflow-wrap:anywhere}
body.tsuki-article-view h1.entry-title::before,body.tsuki-article-view h1.entry-title::after{content:none!important;display:none!important}
/* Explicitly limited to normal article headings, not comments, menus, widgets or embedded ads. */
body.tsuki-article-view #contentInner .st-post .mainbox .entry-content :is(h2,h3,h4,h5,h6):where(:not(.st-css-no,.st-css-no2,.rankh3,.st-matome,.tsuki-share-title):not(:is(.st-mybtn,.st-cardbox,.kanren,.st-rank,.wp-block-embed,.st_toc_container,#st_toc_container,#toc_container,.st-ad,.st-infeed-adunit,.wp-block-woocommerce-all-products) *)){position:relative!important;box-sizing:border-box;color:#68546F!important;font-family:var(--tsuki-serif)!important;font-weight:500!important;line-height:1.5!important;letter-spacing:.02em!important;border:0!important;box-shadow:none!important;text-shadow:none!important;overflow-wrap:anywhere;margin:2em 0 1em!important;min-height:0!important}
body.tsuki-article-view #contentInner .st-post .mainbox .entry-content :is(h2,h3,h4,h5,h6):where(:not(.st-css-no,.st-css-no2,.rankh3,.st-matome,.tsuki-share-title):not(:is(.st-mybtn,.st-cardbox,.kanren,.st-rank,.wp-block-embed,.st_toc_container,#st_toc_container,#toc_container,.st-ad,.st-infeed-adunit,.wp-block-woocommerce-all-products) *))::before,body.tsuki-article-view #contentInner .st-post .mainbox .entry-content :is(h2,h3,h4,h5,h6):where(:not(.st-css-no,.st-css-no2,.rankh3,.st-matome,.tsuki-share-title):not(:is(.st-mybtn,.st-cardbox,.kanren,.st-rank,.wp-block-embed,.st_toc_container,#st_toc_container,#toc_container,.st-ad,.st-infeed-adunit,.wp-block-woocommerce-all-products) *))::after{content:none!important;display:none!important;border:0!important;box-shadow:none!important;background:none!important}
body.tsuki-article-view #contentInner .st-post .mainbox .entry-content h2:where(:not(.st-css-no,.st-css-no2,.rankh3,.st-matome,.tsuki-share-title):not(:is(.st-mybtn,.st-cardbox,.kanren,.st-rank,.wp-block-embed,.st_toc_container,#st_toc_container,#toc_container,.st-ad,.st-infeed-adunit,.wp-block-woocommerce-all-products) *)){background:#F3EDF7!important;font-size:25px!important;padding:16px 18px 15px 48px!important;border-bottom:1px solid #C3A16C!important;border-radius:8px!important}
body.tsuki-article-view #contentInner .st-post .mainbox .entry-content h2:where(:not(.st-css-no,.st-css-no2,.rankh3,.st-matome,.tsuki-share-title):not(:is(.st-mybtn,.st-cardbox,.kanren,.st-rank,.wp-block-embed,.st_toc_container,#st_toc_container,#toc_container,.st-ad,.st-infeed-adunit,.wp-block-woocommerce-all-products) *))::before{content:''!important;display:block!important;position:absolute!important;left:16px!important;top:21px!important;width:25px!important;height:25px!important;transform:none!important;margin:0!important;background: center/contain no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Cpath fill='%23A78C65' d='M16 3a13 13 0 1 0 9 22A12 12 0 0 1 16 3Z M25 3l1.5 4.5L31 9l-4.5 1.5L25 15l-1.5-4.5L19 9l4.5-1.5Z'/%3E%3C/svg%3E")!important}
body.tsuki-article-view #contentInner .st-post .mainbox .entry-content h3:where(:not(.st-css-no,.st-css-no2,.rankh3,.st-matome,.tsuki-share-title):not(:is(.st-mybtn,.st-cardbox,.kanren,.st-rank,.wp-block-embed,.st_toc_container,#st_toc_container,#toc_container,.st-ad,.st-infeed-adunit,.wp-block-woocommerce-all-products) *)){background:#FAF1F3!important;font-size:21px!important;border-left:3px solid #C99BA8!important;padding:12px 16px!important;border-radius:6px!important}
body.tsuki-article-view #contentInner .st-post .mainbox .entry-content :is(h4,h5,h6):where(:not(.st-css-no,.st-css-no2,.rankh3,.st-matome,.tsuki-share-title):not(:is(.st-mybtn,.st-cardbox,.kanren,.st-rank,.wp-block-embed,.st_toc_container,#st_toc_container,#toc_container,.st-ad,.st-infeed-adunit,.wp-block-woocommerce-all-products) *)){background:transparent!important;font-size:18px!important;border-bottom:1px solid #E4D8E9!important;padding:8px 0 9px 23px!important;border-radius:0!important}
body.tsuki-article-view #contentInner .st-post .mainbox .entry-content :is(h4,h5,h6):where(:not(.st-css-no,.st-css-no2,.rankh3,.st-matome,.tsuki-share-title):not(:is(.st-mybtn,.st-cardbox,.kanren,.st-rank,.wp-block-embed,.st_toc_container,#st_toc_container,#toc_container,.st-ad,.st-infeed-adunit,.wp-block-woocommerce-all-products) *))::before{content:'✦'!important;display:block!important;color:#A78C65!important;position:absolute!important;left:0!important;top:9px!important;width:auto!important;height:auto!important;transform:none!important;font-size:15px!important;margin:0!important}
/* TOC skin only. Do not alter display, positioning, toggle, anchors or JS. */
body.tsuki-article-view #contentInner .st-post .entry-content :is(#st_toc_container,.st_toc_container,#toc_container,.ez-toc-container,#ez-toc-container):not(.over_toc_content):not(.side_toc_content){background:#F9F6FB!important;border:1px solid #E4D8E9!important;border-radius:9px!important;color:#68546F!important;box-shadow:none!important;padding:18px!important;max-width:100%;box-sizing:border-box}
body.tsuki-article-view #contentInner .st-post .entry-content :is(.st_toc_title,.toc_title,.ez-toc-title){color:#68546F!important;background:transparent!important;border-color:#C3A16C!important;font-weight:600!important}
body.tsuki-article-view #contentInner .st-post .entry-content :is(.st_toc_list,.toc_list,.ez-toc-list) a{color:#68546F!important;line-height:1.8!important}
/* Quotes: leave social/embed content and affiliate widgets alone. */
body.tsuki-article-view #contentInner .st-post .entry-content blockquote:not([class*='embed']):not(.twitter-tweet):not(.instagram-media):not([class*='tiktok']):not([class*='twitter']):not([class*='facebook']){background:#F9F7FA!important;color:#453B48!important;border:1px solid #E4D8E9!important;border-radius:8px!important;box-shadow:none!important;margin:1.5em 0!important;padding:22px 20px 20px 38px!important}
body.tsuki-article-view #contentInner .st-post .entry-content blockquote:not([class*='embed']):not(.twitter-tweet):not(.instagram-media):not([class*='tiktok']):not([class*='twitter']):not([class*='facebook'])::before{color:#C5B4D8!important}
body.tsuki-article-view #contentInner .st-post .entry-content blockquote :is(cite,cite a){color:#796287!important}
/* Non-semantic stock decorations only; leave red warning boxes, custom inline styles, external ads intact. */
body.tsuki-article-view #contentInner .st-post .entry-content :is(.graybox,.freebox):not([style]):not([class*='warning']):not([class*='caution']){background:#F9F6FB!important;border-color:#E4D8E9!important;border-radius:8px}
body.tsuki-article-view #contentInner .st-post .entry-content :is(.ymarker,.ymarker-s,.st-mymarker-s):not([style]){background:linear-gradient(transparent 65%,#E9DFF1 65%)!important}
body.tsuki-article-view #contentInner .st-post .entry-content :is(ul,ol):not([class]) > li::marker{color:#8A719D}
body.tsuki-article-view #contentInner .st-post .entry-content :is(.wp-block-table,table):not([style]){max-width:100%}
body.tsuki-article-view #contentInner .st-post .entry-content table:not([style]) th:not([style]){background:#F3EDF7!important;color:#68546F!important;border-color:#E4D8E9!important;overflow-wrap:anywhere}
body.tsuki-article-view #contentInner .st-post .entry-content table:not([style]) td:not([style]){border-color:#E4D8E9!important;overflow-wrap:anywhere}
body.tsuki-article-view #contentInner .st-post .entry-content > p > a:not([class]):not([style]):not([rel*='sponsored']):not([rel*='nofollow']):not([target]):not(:has(img)){color:#796287;text-decoration:underline;text-underline-offset:3px}
body.tsuki-article-view #contentInner .st-post .entry-content :is(.st-mybtn.st-btn-default,.st-mybtn:not([style])) > a:not([style]):not([rel*='sponsored']):not([rel*='nofollow']):not([target]){background:#8A719D;color:white;border-radius:8px}
body.tsuki-article-view #contentInner .st-post .entry-content img{max-width:100%;height:auto}
body.tsuki-article-view #contentInner .st-post :is(.st-catgroup .catname,#display_ad_mark_title){background:#F3EDF7!important;color:#68546F!important;border:1px solid #E4D8E9!important;border-radius:5px!important;box-shadow:none!important;text-shadow:none!important}
body.tsuki-article-view #contentInner .st-post :is(.st-catid-ad,#display_ad_mark_title){background:#FAF1F3!important;color:#68546F!important;font-weight:600!important;opacity:1!important}
body.tsuki-article-view #contentInner .st-post #display_ad_mark_title::before{color:#68546F!important}
body.tsuki-article-view #contentInner .st-post aside .kanren dl{border-color:#E4D8E9!important}
body.tsuki-article-view #contentInner .st-post aside .kanren :is(h3,h4,h5) a{color:#453B48!important}
body.tsuki-article-view #contentInner .st-post aside .kanren :is(.catname,.st-catgroup){color:#68546F!important}
@media(max-width:599px){body.tsuki-article-view #contentInner main{padding-inline:14px!important}body.tsuki-article-view #contentInner .st-post .mainbox .entry-content{font-size:16px;line-height:1.9}body.tsuki-article-view #contentInner .st-post h1.entry-title,body.tsuki-article-view .st-header-post-data h1.entry-title{font-size:25px!important}body.tsuki-article-view #contentInner .st-post .mainbox .entry-content h2:where(:not(.st-css-no,.st-css-no2,.rankh3,.st-matome,.tsuki-share-title):not(:is(.st-mybtn,.st-cardbox,.kanren,.st-rank,.wp-block-embed,.st_toc_container,#st_toc_container,#toc_container,.st-ad,.st-infeed-adunit,.wp-block-woocommerce-all-products) *)){font-size:21px!important;padding:13px 12px 13px 40px!important}body.tsuki-article-view #contentInner .st-post .mainbox .entry-content h2:where(:not(.st-css-no,.st-css-no2,.rankh3,.st-matome,.tsuki-share-title):not(:is(.st-mybtn,.st-cardbox,.kanren,.st-rank,.wp-block-embed,.st_toc_container,#st_toc_container,#toc_container,.st-ad,.st-infeed-adunit,.wp-block-woocommerce-all-products) *))::before{left:10px!important;top:17px!important;width:22px!important;height:22px!important}body.tsuki-article-view #contentInner .st-post .mainbox .entry-content h3:where(:not(.st-css-no,.st-css-no2,.rankh3,.st-matome,.tsuki-share-title):not(:is(.st-mybtn,.st-cardbox,.kanren,.st-rank,.wp-block-embed,.st_toc_container,#st_toc_container,#toc_container,.st-ad,.st-infeed-adunit,.wp-block-woocommerce-all-products) *)){font-size:19px!important}body.tsuki-article-view #contentInner .st-post .mainbox .entry-content blockquote:not([class*='embed']):not(.twitter-tweet):not(.instagram-media){padding:18px 14px 16px 30px!important}}

/* Keep long titles readable at a small viewport; preserve the desktop sidebar. */
@media(max-width:599px){body #contentInner .tsuki-article-card h3.tsuki-card-title{font-size:14px!important}}
body.tsuki-article-view #contentInner .st-post .entry-content .wp-block-table{max-width:100%;overflow-x:auto}
body.tsuki-article-view #contentInner .st-post .entry-content :is(.st-mybox,.st-memobox):not([style]):not([class*='warning']):not([class*='caution']):not([class*='alert']):not(:has([style*='background'],[style*='border-color'])){border-color:#E4D8E9;background-color:#F9F6FB;border-radius:8px}
body.tsuki-article-view #contentInner .st-post .entry-content :is(.st-mymarker-s,.st-mymarker-s-b):not([style]){background:linear-gradient(transparent 65%,#E9DFF1 65%)!important}
/* Use a real quotation glyph, not the legacy icon-font glyph. */
body.tsuki-article-view #contentInner .st-post .entry-content blockquote:not([class*='embed']):not(.twitter-tweet):not(.instagram-media):not([class*='tiktok']):not([class*='twitter']):not([class*='facebook'])::before{content:'“'!important;font-family:Georgia,serif!important;font-size:36px!important;font-weight:400!important;line-height:1!important;top:8px!important;left:9px!important;color:#C5B4D8!important}
