/* The Mustafa Talks: WordPress layer on top of the approved mockup CSS (site.css / pages.css). */

/* Active day/night state (was inline in the mockup) */
html[data-theme=night] .t-night,html[data-theme=day] .t-day{background:var(--blue);color:var(--onBlue)}

/* Buttons rendered as <button> instead of <span>/<div> */
button{font:inherit;color:inherit}
.toggle,.icbtn,.seg a,.view-tg button,.tabs button,.qa .q,.code-chip,.mt-save,.pager a{cursor:pointer}
.toggle{font:inherit;color:inherit}
.toggle,.icbtn,.mt-save,button,a{-webkit-tap-highlight-color:transparent}
.toggle:focus,.toggle:active,.icbtn:focus,.icbtn:active{outline:none;box-shadow:none}
.toggle:focus-visible,.icbtn:focus-visible{outline:2px solid var(--blue);outline-offset:2px}
.toggle span{transition:background-color .2s ease,color .2s ease}
.icbtn{padding:0;font:inherit;cursor:pointer}
.tabs button{border:0;background:none;padding:10px 16px;border-radius:11px;font-weight:700;font-size:14px;color:var(--muted);white-space:nowrap;font-family:Montserrat;display:flex;align-items:center;gap:8px}
.tabs button.on{background:var(--blue);color:var(--onBlue)}
.seg a{padding:0 18px;height:46px;display:flex;align-items:center;border-radius:999px;font-weight:700;font-size:14px;color:var(--muted);font-family:Montserrat}
.seg a.on{background:var(--blue);color:var(--onBlue)}
.view-tg button{width:38px;height:38px;border-radius:10px;display:grid;place-items:center;border:1px solid var(--line2);color:var(--muted);background:none;padding:0}
.view-tg button.on{color:var(--blueInk);border-color:var(--blue)}
.pager a,.pager span,.pager .page-numbers{min-width:44px;height:44px;border-radius:12px;display:grid;place-items:center;border:1px solid var(--line2);font-weight:700;color:var(--muted);padding:0 12px}
.pager .page-numbers.on,.pager .current{background:var(--blue);border-color:var(--blue);color:var(--onBlue)}
.pager a:hover{border-color:var(--blue);color:var(--text)}
.toc-tabs a{padding:14px 18px;font-weight:700;color:var(--muted);font-size:14.5px;white-space:nowrap;border-bottom:2px solid transparent;font-family:Montserrat}
.toc-tabs a.on,.toc-tabs a:hover{color:var(--text);border-color:var(--blue)}
.toc-tabs{position:sticky;top:76px;z-index:20;background:var(--bg)}
.qa .q{width:100%;border:0;background:none;text-align:left;color:var(--text)}
.qa .a[hidden]{display:none}
.qa .a p{margin:0 0 8px}.qa .a p:last-child{margin:0}
a.chip:hover{border-color:var(--blue);color:var(--text)}
a.tag:hover{border-color:var(--blue)}
.code-chip{border:0;font:inherit}
.code-hd .btn,.mt-copy{border:0;cursor:pointer}
/* Copied state (site-wide): dark text on brand blue + check mark, readable in day and night. */
.is-copied,.mt-copy.is-copied,.btn.is-copied,.coupon-chip.is-copied,.share a.is-copied{background:#3292FA!important;border-color:#3292FA!important;color:#0B0E14!important}
.is-copied *{color:#0B0E14!important}
.is-copied .ico{display:none!important}
.is-copied::before{content:"";display:inline-block;flex:0 0 auto;width:14px;height:14px;margin-right:6px;vertical-align:-2px;background:currentColor;-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center/contain no-repeat;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center/contain no-repeat}
.mt-copy.is-failed{background:#ff5a5f!important;color:#fff!important}
.mt-save.is-saved{color:#ff5a7a;border-color:rgba(255,90,122,.5)}
.mt-save.is-saved .ico{fill:currentColor}
.tool-mini.sbx{margin:0}
.code pre:focus-visible{outline:2px solid var(--blue);outline-offset:-2px}

/* Inputs inside the mockup search boxes */
.sbox input[type=search]{flex:1;min-width:0;height:100%;border:0;background:none;color:var(--text);font:inherit;font-size:15.5px;outline:none}
.sbox input[type=search]::placeholder{color:var(--dim)}
.sbox input[type=search]::-webkit-search-cancel-button{filter:grayscale(1)}
.sbox:focus-within{border-color:var(--blue);box-shadow:0 0 0 3px var(--blueSoft)}
.sbox button.btn{border:0;cursor:pointer;flex:none}
.side .sbox{padding-right:16px}
.select{position:relative;cursor:pointer;color:var(--text)}
.select select{appearance:none;-webkit-appearance:none;border:0;background:none;color:var(--text);font:inherit;font-weight:600;padding:0 6px 0 0;cursor:pointer;outline:none}
.select select option{background:var(--surface);color:var(--text)}
.select:focus-within{border-color:var(--blue)}
.searchbar .mt-sform{flex:1}

/* Hero circuit lines + mobile overflow fix */
.hero .circuit{position:absolute;color:var(--blueInk);pointer-events:none}
.hero{overflow-x:clip}
@media (max-width:640px){
 .hero-art{overflow:visible}
 .hero .circuit.c1{left:-12px!important;top:220px!important;width:200px;height:auto}
 .hero .circuit.c2{right:0!important;left:auto!important;top:40px!important;width:150px;height:auto}
 html,body{overflow-x:hidden;overflow-x:clip}
}

/* Hero float cards are links */
a.float.lc{color:inherit}
a.float.lc:hover{border-color:var(--blue)}
a.float.lc b,a.float.lc .b{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}

/* Back to top (shown after scrolling) */
.totop{opacity:0;pointer-events:none;transform:translateY(10px);transition:.25s}
.totop.show{opacity:1;pointer-events:auto;transform:none}

/* Accessibility helpers */
.screen-reader-text{border:0;clip:rect(1px,1px,1px,1px);clip-path:inset(50%);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute!important;width:1px;word-wrap:normal!important}
.skip-link{position:absolute;left:12px;top:-60px;z-index:999;background:var(--blue);color:var(--onBlue);padding:10px 16px;border-radius:10px;font-weight:700}
.skip-link:focus{top:12px}
:focus-visible{outline:2px solid var(--blue);outline-offset:2px}
.nav a:focus-visible,.btn:focus-visible{outline-offset:3px}
body.mt-lock{overflow:hidden}

/* Mobile drawer */
.mt-drawer{position:fixed;inset:0;z-index:100;background:rgba(0,0,0,.55);backdrop-filter:blur(4px);opacity:0;transition:opacity .2s}
.mt-drawer.open{opacity:1}
.mt-drawer-in{position:absolute;top:0;right:0;bottom:0;width:min(360px,88vw);background:var(--bg);border-left:1px solid var(--line2);padding:18px 20px 28px;display:flex;flex-direction:column;gap:18px;overflow:auto;transform:translateX(30px);transition:transform .2s}
.mt-drawer.open .mt-drawer-in{transform:none}
.mt-drawer-hd{display:flex;align-items:center;justify-content:space-between}
.mt-drawer .sbox{height:50px;min-width:0;padding-right:6px}
.mt-drawer .sbox .btn{height:38px;padding:0 14px;font-size:13px}
.mt-drawer-nav{display:grid;gap:4px}
.mt-drawer-nav a{padding:14px 16px;border-radius:17px 17px 0 0;font-family:Montserrat;font-weight:700;font-size:16px;color:var(--muted);border:1px solid transparent}
.mt-drawer-nav a.on,.mt-drawer-nav a[aria-current],.mt-drawer-nav a:hover{color:var(--text);background:var(--surface2);border-color:var(--line2)}
.mt-drawer .socials{display:flex;gap:10px;flex-wrap:wrap}
.mt-drawer .btn{justify-content:center}

/* Search overlay */
.mt-search{position:fixed;inset:0;z-index:100;background:rgba(0,0,0,.6);backdrop-filter:blur(6px);opacity:0;transition:opacity .2s}
.mt-search.open{opacity:1}
.mt-search-in{display:flex;gap:12px;align-items:center;margin-top:110px}
.mt-search .sbox{flex:1;min-width:0;height:62px;box-shadow:var(--shadow)}

/* Video lightbox */
.mt-lightbox{position:fixed;inset:0;z-index:200;background:rgba(0,0,0,.85);display:grid;place-items:center;padding:20px}
.mt-lb-in{width:min(1100px,100%);aspect-ratio:16/9;border-radius:18px;overflow:hidden;background:#000}
.mt-lb-in iframe{width:100%;height:100%;border:0}
.mt-lightbox .mt-close{position:absolute;top:18px;right:18px;font-size:26px;line-height:1}
.video[data-yt],.vcard[data-yt]{cursor:pointer}
a.video{display:block;color:#fff}

/* Prompt grid, list view */
.pgrid.is-list{grid-template-columns:1fr 1fr;gap:14px}
.pgrid.is-list .pcard{display:grid;grid-template-columns:120px 1fr;align-items:center}
.pgrid.is-list .pcard .th{aspect-ratio:1;height:100%}
.pgrid.is-list .pcard .views,.pgrid.is-list .pcard .badges .glass:last-child{display:none}
@media (max-width:700px){.pgrid.is-list{grid-template-columns:1fr}}

/* Search results */
.mt-results{display:grid;gap:14px}
.mt-srow{display:flex;align-items:center;gap:18px;padding:14px 18px 14px 14px}
.mt-srow:hover{border-color:var(--blue)}
.mt-sth{flex:none;width:84px;height:84px;border-radius:14px;overflow:hidden;display:block}
.mt-sth img{width:100%;height:100%;object-fit:cover}
.mt-sth .tlogo{display:grid;place-items:center;font-size:24px;color:#fff;font-family:Montserrat;font-weight:900}
.mt-sbd{display:grid;gap:6px;min-width:0;flex:1}
.mt-sbd .tag{justify-self:start}
.mt-sbd b{font-family:Montserrat;font-size:17px}
.mt-sbd small{color:var(--muted);font-size:14px}
.mt-srow>.ico{color:var(--blueInk);margin-left:auto}
.mt-empty{text-align:center;padding:70px 20px;border:1px dashed var(--line2);border-radius:22px}
.mt-empty h2{font-size:26px;font-weight:800}
.mt-empty p{color:var(--muted);margin:8px 0 22px}
.mt-404{padding-bottom:120px}

/* Blog grid */
.mt-blog-grid{row-gap:26px}

/* Pages */
.mt-page{max-width:820px}
.mt-page h2:first-child{margin-top:0}
.prose a:not(.btn):not(.tag){color:var(--blueInk);text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:3px}
.prose img{max-width:100%;height:auto;border-radius:16px}
.prose figure{margin:0 0 24px}
.prose figcaption,.wp-caption-text{color:var(--dim);font-size:13.5px;margin-top:8px;text-align:center}
.prose blockquote{margin:0 0 22px;padding:18px 22px;border-left:3px solid var(--blue);background:var(--surface);border-radius:0 16px 16px 0;color:var(--muted)}
.prose ol{padding-left:22px;margin:0 0 22px}
.prose ol li{display:list-item}
.prose hr{border:0;border-top:1px solid var(--line2);margin:34px 0}
.prose code{background:var(--surface2);padding:2px 6px;border-radius:6px;font-size:.9em}
.prose .code pre,.prose pre code{background:none;padding:0}
.prose .callout p{margin:0}
.alignwide{margin-left:-60px;margin-right:-60px}.alignfull{width:100%}
.aligncenter{display:block;margin-left:auto;margin-right:auto}.alignleft{float:left;margin:0 20px 10px 0}.alignright{float:right;margin:0 0 10px 20px}
.pgrid2.no-toc{grid-template-columns:minmax(0,1fr) 300px}
@media (max-width:1100px){.pgrid2.no-toc{grid-template-columns:1fr}.alignwide{margin-left:0;margin-right:0}}

/* About */
.mt-about{display:grid;grid-template-columns:380px minmax(0,1fr);gap:56px;align-items:start}
.mt-about-photo{position:relative;border-radius:26px;overflow:hidden;border:1px solid var(--line2);aspect-ratio:4/5}
.mt-about-photo img{width:100%;height:100%;object-fit:cover}
.mt-about-photo .pchip{position:absolute;left:16px;bottom:16px;right:16px;padding:14px 16px;border-radius:16px;background:color-mix(in srgb,var(--surface) 82%,transparent);backdrop-filter:blur(12px);border:1px solid var(--line2)}
.mt-about-photo .pchip b{display:block;font-family:Montserrat;font-size:18px}
.mt-about-photo .pchip small{color:var(--muted)}
.mt-about .socials{display:flex;gap:10px}
@media (max-width:900px){.mt-about{grid-template-columns:1fr;gap:30px}.mt-about-photo{max-width:420px}}

/* Contact */
.mt-contact{display:grid;grid-template-columns:380px minmax(0,1fr);gap:32px;align-items:start}
.mt-contact-cards{display:grid;gap:16px}
.mt-contact-cards .cc{min-height:0}
.mt-contact-cards .socials{display:flex;gap:10px;flex-wrap:wrap}
.mt-form-box{padding:30px;border-radius:24px;background:var(--surface);border:1px solid var(--line2)}
.mt-form{display:grid;gap:16px;margin-top:22px}
.mt-form p{margin:0}
.mt-form label{display:grid;gap:8px;font-weight:600;font-size:14px}
.mt-form label span{color:var(--muted)}
.mt-form input,.mt-form select,.mt-form textarea,.comment-form input:not([type=submit]):not([type=checkbox]),.comment-form textarea{width:100%;border-radius:14px;border:1px solid var(--line2);background:var(--bg);color:var(--text);font:inherit;font-size:15px;padding:13px 16px;outline:none}
.mt-form input:focus,.mt-form select:focus,.mt-form textarea:focus,.comment-form input:focus,.comment-form textarea:focus{border-color:var(--blue);box-shadow:0 0 0 3px var(--blueSoft)}
.mt-form .btn{justify-self:start;border:0;cursor:pointer}
.mt-2col{display:grid!important;grid-template-columns:1fr 1fr;gap:16px}
.mt-hp{position:absolute!important;left:-9999px;width:1px;height:1px;overflow:hidden}
.callout.mt-err{border-color:rgba(255,90,95,.4);background:rgba(255,90,95,.08)}
.callout.mt-err .ico{color:#ff5a5f}
.mt-form-box .callout{margin:0 0 20px}
@media (max-width:900px){.mt-contact{grid-template-columns:1fr}.mt-2col{grid-template-columns:1fr}}

/* Project single gallery */
.mt-gallery{display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:16px;margin-top:34px}
.mt-gallery img{width:100%;border-radius:18px;border:1px solid var(--line)}
.works .wk.w5:only-child,.works .wk:only-child{grid-column:1/-1}

/* Comments */
.mt-comments{margin-top:50px;padding-top:30px;border-top:1px solid var(--line)}
.mt-comments h2,.comment-reply-title{font-size:24px;font-weight:800;margin:0 0 18px}
.comment-list{list-style:none;padding:0;margin:0 0 30px;display:grid;gap:14px}
.comment-list .comment-body{padding:18px;border-radius:16px;background:var(--surface);border:1px solid var(--line)}
.comment-list .children{list-style:none;padding-left:24px;margin-top:14px;display:grid;gap:14px}
.comment-author img{border-radius:50%;vertical-align:middle;margin-right:10px}
.comment-metadata{font-size:13px;color:var(--dim);margin:4px 0 10px}
.comment-form{display:grid;gap:14px}
.comment-form p{margin:0}
.comment-form label{display:block;font-size:14px;color:var(--muted);margin-bottom:6px}
.comment-form .btn{border:0;cursor:pointer}
.prose .comment-list li{display:block}

/* Prompt page optional extra content box */
.box .prose{font-size:16.5px}

/* Footer menus (wp_nav_menu output) */
.ftr ul{list-style:none;padding:0;margin:0}
.ftr .menu-item{margin:0}

@media (max-width:640px){
 .mt-search-in{margin-top:70px}
 .mt-srow{gap:12px;padding:10px}
 .mt-sth{width:64px;height:64px}
 .toc-tabs{top:64px}
}
@media print{.hdr,.ftr,.totop,.side,.toc,.mt-drawer,.mt-search{display:none!important}.pgrid2{display:block}}

/* Ads */
.mt-ad{margin:40px auto;text-align:center;min-height:310px;max-width:1240px;padding:0 24px}
.mt-ad-l{display:block;font-size:11px;letter-spacing:.12em;text-transform:uppercase;color:var(--dim);margin-bottom:6px}
.side .mt-ad{padding:0;margin:0;min-height:300px}
.prose .mt-ad{padding:0}

/* Cookie consent */
.mt-consent{position:fixed;left:20px;right:20px;bottom:20px;z-index:150;max-width:760px;margin:0 auto;display:flex;gap:18px;align-items:center;padding:16px 18px 16px 22px;border-radius:20px;background:var(--surface);border:1px solid var(--line2);box-shadow:0 24px 60px -20px rgba(0,0,0,.6)}
.mt-consent[hidden]{display:none}
.mt-consent p{margin:0;font-size:14px;line-height:1.55;color:var(--muted)}
.mt-consent p a{color:var(--blueInk);text-decoration:underline;text-underline-offset:3px}
.mt-consent-b{display:flex;gap:10px;flex:none}
.mt-consent .btn{height:44px;padding:0 18px;font-size:14px;cursor:pointer}
@media (max-width:640px){.mt-consent{flex-direction:column;align-items:stretch;left:12px;right:12px;bottom:12px}.mt-consent-b .btn{flex:1;justify-content:center}}

/* Legal pages */
.mt-legal-meta{color:var(--dim);font-size:14px;margin:10px 0 0}
.mt-legal{grid-template-columns:240px minmax(0,1fr)}
.mt-legal.no-toc{grid-template-columns:minmax(0,820px)}
@media (max-width:1100px){.mt-legal{grid-template-columns:1fr}.mt-legal .toc{display:none}}
.hero-person{height:auto}
/* Pricing: currency switch + coupon */
.price-hd{display:flex;align-items:center;justify-content:space-between;gap:14px;flex-wrap:wrap}
.price-hd h2{margin:0}
.cur-switch{display:inline-flex;padding:4px;border-radius:999px;background:var(--surface-2,rgba(127,127,127,.08));border:1px solid var(--line)}
.cur-switch button{border:0;background:none;color:var(--muted);font:800 12.5px Montserrat,sans-serif;letter-spacing:.04em;padding:8px 16px;border-radius:999px;cursor:pointer;min-height:36px}
.cur-switch button[aria-pressed=true]{background:var(--blue);color:var(--onBlue)}
[data-cur=pkr] .cur-usd,[data-cur=usd] .cur-pkr{display:none}
.coupon-row{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin-top:16px}
.coupon-chip{display:inline-flex;align-items:center;gap:8px;border:1px dashed rgba(50,146,250,.6);background:rgba(50,146,250,.1);color:var(--text);border-radius:999px;padding:8px 8px 8px 14px;font:600 13.5px Inter,sans-serif;cursor:pointer;min-height:40px}
.coupon-chip b{font-family:Montserrat;font-weight:900;letter-spacing:.06em;color:var(--blueInk)}
.coupon-chip .ico{width:15px;height:15px;color:var(--blueInk)}
.coupon-chip .cc-copy{display:inline-flex;align-items:center;gap:5px;background:var(--blue);color:var(--onBlue);border-radius:999px;padding:5px 11px;font:700 12px Montserrat,sans-serif}
.coupon-chip .cc-copy .ico{color:#fff;width:13px;height:13px}
.coupon-hint{color:var(--muted);font-size:13px}
.price-grid.n4{grid-template-columns:repeat(4,1fr)}.price-grid.n3{grid-template-columns:repeat(3,1fr)}
.plan .pr .approx{font-size:22px;color:var(--muted);margin-right:4px;font-weight:700}
[data-cur=usd] .cur-pkr-note{display:none}
.plan-code{margin-top:10px;border:1px dashed var(--line);background:none;color:var(--muted);border-radius:12px;height:34px;font:700 12px Montserrat,sans-serif;display:inline-flex;align-items:center;justify-content:center;gap:6px;cursor:pointer}
.plan-code:hover{color:var(--blueInk);border-color:var(--blue)}
.plan-code .ico{width:13px;height:13px}
/* Search form: always one row, never wraps */
.sbox.mt-sform{display:flex;flex-wrap:nowrap;align-items:center;gap:10px}
.sbox.mt-sform .mt-sinput{flex:1 1 auto;min-width:0;width:auto;text-overflow:ellipsis}
.sbox.mt-sform .mt-sinput::placeholder{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}
.sbox.mt-sform > .ico{flex:0 0 auto}
.sbox.mt-sform .btn{flex:0 0 auto;white-space:nowrap}
.sbox.mt-sform .btn .ico{display:none}
/* Drawer search: compact icon button, spacing before the nav */
.mt-drawer .sbox.mt-sform{flex:0 0 auto;margin:0 0 6px;padding:0 6px 0 16px;height:52px;width:100%}
.mt-drawer .sbox.mt-sform .btn{width:40px;height:40px;padding:0;border-radius:12px;justify-content:center}
.mt-drawer .sbox.mt-sform .btn .s-lbl{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.mt-drawer .sbox.mt-sform .btn .ico{display:block;width:18px;height:18px}
.mt-drawer-in{padding-top:max(18px,env(safe-area-inset-top));gap:16px}
.mt-drawer-hd{flex:0 0 auto;min-height:48px}
.mt-drawer-nav{flex:0 0 auto}
/* Keep the drawer below the WordPress admin bar for logged-in users */
.admin-bar .mt-drawer{top:32px}
@media (max-width:782px){.admin-bar .mt-drawer{top:46px}}
@media (max-width:1000px){.price-grid.n4,.price-grid.n3{grid-template-columns:repeat(2,1fr)}}
@media (max-width:640px){.price-grid.n4,.price-grid.n3{grid-template-columns:1fr}}
.aff-note{display:flex;gap:8px;align-items:flex-start;margin:14px 0 0;font-size:12.5px;line-height:1.5;color:var(--muted)}
.aff-note .ico{width:14px;height:14px;flex:none;margin-top:2px;color:var(--blueInk)}
.ref .aff-note{margin-top:12px}

/* Ads: clearly separated from buttons (accidental-click policy), reserved height (no CLS). */
.mt-ad{border-top:1px solid var(--line);border-bottom:1px solid var(--line);padding-top:14px;padding-bottom:14px}
.mt-ad-prompt{margin-top:48px;margin-bottom:48px}
@media (max-width:760px){.mt-ad-hero{margin-top:32px;min-height:310px}}
.rating .my-r{font-size:11px;color:var(--dim);font-weight:500;margin-left:2px}
.scorecard.only-video{padding:14px}
.mt-ad ins.adsbygoogle{min-height:280px} /* Reserve space so the page does not jump when the ad loads (CLS). */

/* Real tool logos (assets/img/tools or "Tool logo" upload). contain = logo on a white tile, cover = logo fills the tile. */
.tlogo.has-img{padding:0;overflow:hidden;background:#fff;border:1px solid var(--line,#2a2d33)}
.tlogo.has-img img{display:block;width:100%;height:100%}
.tlogo.fit-contain img{object-fit:contain;padding:16%;box-sizing:border-box}
.tlogo.fit-cover img{object-fit:cover}
.tlogo.sm{width:20px;height:20px;border-radius:6px;font-size:8.5px;letter-spacing:0;display:inline-grid;vertical-align:-5px;flex:none}
.tlogo.sm.fit-contain img{padding:12%}
.tlogo.md{width:28px;height:28px;border-radius:8px;font-size:11px;display:inline-grid;vertical-align:middle}
.pcard .meta .tool{display:inline-flex;align-items:center;gap:7px}
.kv .tl-name{display:inline-flex;align-items:center;gap:8px}
.tabs button .tlogo.sm{margin-right:2px}
.plan .nm{display:flex;align-items:center;gap:8px}
.kv b.tl-list{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:6px 12px;text-align:right}
.logos a,.logos>span{display:flex;align-items:center;gap:10px;color:inherit;text-decoration:none}
.logos a:hover{color:var(--text)}
.logos .tlogo.md{width:30px;height:30px;border-radius:9px}
/* Article sidebar: never wider than its 300px column (core Search block input has a large intrinsic width). */
.pgrid2>aside,.pgrid2>.side{min-width:0;max-width:100%}
.pgrid2 .sbx{box-sizing:border-box;max-width:100%;min-width:0}
.pgrid2 .wp-block-search__inside-wrapper{min-width:0;width:100%}
.pgrid2 .wp-block-search__input{min-width:0;width:100%}
.pcard .glass.trend{display:inline-flex;align-items:center;gap:4px;background:rgba(50,146,250,.92);border-color:transparent}.pcard .glass.trend .ico{width:12px;height:12px}

/* v1.1.4: shared collection toolbar (Prompts, AI Tools, Blog): search + Type popover + Sort popover + chips */
.mt-fbar{flex-wrap:nowrap;align-items:stretch;gap:8px}
.mt-fbar .sbox{flex:1 1 auto;min-width:0}
.mt-psbox .btn .ico{display:none;color:#fff}
.mt-dd{position:relative;flex:0 0 auto}
.mt-dd>summary{list-style:none}
.mt-dd>summary::-webkit-details-marker{display:none}
.mt-ddbtn{height:58px;display:flex;align-items:center;gap:8px;padding:0 16px 0 18px;border-radius:999px;background:var(--surface);border:1px solid var(--line2);color:var(--text);font-weight:600;font-size:14.5px;cursor:pointer;user-select:none;white-space:nowrap}
.mt-ddbtn .dd-k{color:var(--muted)}
.mt-ddbtn .dd-v{font-weight:700}
.mt-ddbtn>.ico:first-child{color:var(--muted)}
.mt-ddbtn>.ico:last-child{width:16px;height:16px;transition:transform .2s;color:var(--muted)}
.mt-dd[open]>.mt-ddbtn>.ico:last-child{transform:rotate(180deg)}
.mt-ddbtn .dd-dot{width:6px;height:6px;border-radius:50%;background:var(--blue);flex:none}
.mt-ddbtn.is-set{background:rgba(50,146,250,.16);border-color:#3292FA;color:#7CBAFF}
.mt-ddbtn.is-set .dd-v,.mt-ddbtn.is-set>.ico{color:#7CBAFF}
html[data-theme=day] .mt-ddbtn.is-set,html.day .mt-ddbtn.is-set{background:rgba(50,146,250,.12);border-color:#3292FA;color:#1462C2}
html[data-theme=day] .mt-ddbtn.is-set .dd-v,html[data-theme=day] .mt-ddbtn.is-set>.ico,html.day .mt-ddbtn.is-set .dd-v,html.day .mt-ddbtn.is-set>.ico{color:#1462C2}
@media (hover:hover){.mt-ddbtn:hover{border-color:var(--blue)}}
.mt-dd[open]>.mt-ddbtn{border-color:var(--blue)}
.mt-ddbtn:focus-visible,.mt-ddlist a:focus-visible,.cats .chip:focus-visible,.rb-reset:focus-visible{outline:2px solid var(--blue);outline-offset:2px}
.mt-ddlist{position:absolute;right:0;top:calc(100% + 6px);z-index:60;min-width:200px;max-width:calc(100vw - 32px);list-style:none;margin:0;padding:6px;border-radius:16px;background:var(--surface);border:1px solid var(--line2);box-shadow:var(--shadow),0 18px 50px rgba(0,0,0,.35)}
html[data-theme=night] .mt-ddlist,html:not([data-theme=day]) .mt-ddlist{background:#25272C}
html[data-theme=day] .mt-ddlist{background:#FFFFFF}
.mt-ddlist a{display:flex;align-items:center;gap:12px;min-height:44px;padding:0 12px;border-radius:10px;color:var(--text);font-weight:600;font-size:14.5px;white-space:nowrap}
.mt-ddlist a .ico{width:16px;height:16px;margin-left:auto;visibility:hidden;color:var(--blueInk)}
.mt-ddlist a.on{color:var(--blueInk)}
.mt-ddlist a.on .ico{visibility:visible}
.mt-ddlist a:hover,.mt-ddlist a:focus{background:var(--surface2);outline:none}
.mt-ddlist a:focus-visible{outline:2px solid var(--blue);outline-offset:-2px}
.mt-dd-sort.mt-dd-top{margin-left:auto}
.mt-rbar{gap:12px;flex-wrap:wrap}
.mt-rbar .rb-reset{font-weight:700;color:var(--blueInk);font-size:14px;min-height:44px;display:inline-flex;align-items:center}
.mt-rbar .rb-end{margin-left:auto;display:flex;align-items:center;gap:8px}
.mt-rbar .mt-dd-bar{display:none}
.mt-rbar .mt-dd-bar .mt-ddbtn{height:40px;padding:0 12px;font-size:13.5px}
.mt-rbar .mt-dd-bar .mt-ddbtn .dd-k{display:none}
.cats .chip.on{background:var(--blueSoft);border-color:var(--blue);color:var(--blueInk)}
@media (hover:none){a.chip:hover{border-color:var(--line2);color:var(--muted)}a.chip.on:hover{border-color:var(--blue);color:var(--blueInk)}}
.cats{position:relative}
@media (min-width:640px){.cats{flex-wrap:wrap}}
@media (max-width:1023px){
 .mt-fbar .sbox{height:48px;padding:0 4px 0 16px;gap:10px}
 .mt-psbox .btn{width:40px;height:40px;padding:0;border-radius:50%;justify-content:center;margin-left:0}
 .mt-psbox .btn .s-lbl{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
 .mt-psbox .btn .ico{display:block;width:18px;height:18px}
 .mt-psbox .kbd{display:none}
 .mt-psbox > .ico{display:none}
 .mt-fbar .mt-psbox{padding-left:18px}
 .mt-ddbtn{height:48px;padding:0 12px 0 14px}
}
@media (max-width:639px){
 .mt-psbox input[type=search]{font-size:16px}
 .mt-ddbtn .dd-k{display:none}
 .mt-dd-top.mt-dd-sort{display:none}
 .mt-rbar{margin:28px 0 16px;flex-wrap:nowrap}
 .mt-rbar .rb-count{font-size:13.5px;min-width:0}
 .mt-rbar .mt-dd-bar{display:block}
 .mt-rbar .view-tg{display:none}
 .cats{flex-wrap:nowrap;overflow-x:auto;overscroll-behavior-x:contain;scrollbar-width:none;margin-left:-16px;margin-right:-16px;padding:2px 16px;scroll-padding:0 16px;-webkit-mask-image:linear-gradient(90deg,transparent 0,#000 12px,#000 calc(100% - 40px),transparent);mask-image:linear-gradient(90deg,transparent 0,#000 12px,#000 calc(100% - 40px),transparent)}
 .cats::-webkit-scrollbar{display:none}
 .cats .chip{flex:none;height:40px}
}
.phero:has(.mt-dd[open]),.phero.is-dd-open{overflow-x:clip;overflow-y:visible;z-index:6}
.mt-rbar{position:relative;z-index:5}
@media (max-width:359px){.mt-ddbtn>.ico:first-child{display:none}.mt-ddbtn{padding:0 10px 0 12px}}
/* v1.1.5: card badges never get cut on narrow 2-column phones (wrap instead). */
@media (max-width:479px){.pcard .badges{flex-wrap:wrap;gap:6px;justify-content:flex-start;top:8px;left:8px;right:8px}.pcard .badges .glass{font-size:10px;padding:4px 8px;max-width:100%;white-space:nowrap}}
/* Saved prompts (v1.2.1) */
.pcard-w{display:grid;position:relative;min-width:0}
.pcard-w>.pcard,.pcard-w>.pc-ov{grid-area:1/1}
.pcard-w>.pcard{height:100%}
.pc-ov{pointer-events:none;z-index:3;align-self:start}
.pc-sp{position:relative;aspect-ratio:4/5}
.pgrid.is-list .pc-sp{width:120px;aspect-ratio:1}
.pc-save{pointer-events:auto;position:absolute;right:10px;bottom:10px;width:38px;height:38px;border-radius:50%;display:grid;place-items:center;padding:0;cursor:pointer;background:rgba(0,0,0,.5);color:#fff;border:1px solid rgba(255,255,255,.28);backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px);transition:transform .15s,background .15s}
.pc-save .ico{width:18px;height:18px}
.pc-save:hover{transform:scale(1.08);background:rgba(0,0,0,.7)}
.pc-save:focus-visible{outline:2px solid var(--blue);outline-offset:2px}
.pc-save.is-saved{color:#ff5a7a;background:rgba(0,0,0,.65);border-color:rgba(255,90,122,.6)}
.pc-save.is-saved .ico{fill:currentColor}
html[data-theme="day"] .mt-save.is-saved:not(.pc-save){color:#C8234A;border-color:rgba(200,35,74,.45)}
.mt-saved-link{position:relative;color:var(--text)}
.mt-saved-link .ico{width:19px;height:19px}
.mt-saved-link.has .ico{color:#ff5a7a;fill:currentColor}
html[data-theme="day"] .mt-saved-link.has .ico{color:#C8234A}
.mt-saved-n{position:absolute;top:-4px;right:-4px;min-width:19px;height:19px;padding:0 5px;border-radius:999px;background:var(--blue);color:var(--onBlue);font:800 11px/19px Montserrat,system-ui,sans-serif;text-align:center;border:2px solid var(--bg)}
.mt-saved-n[hidden]{display:none}
.sv-toast{position:fixed;left:16px;right:16px;margin-inline:auto;width:fit-content;bottom:22px;transform:translateY(20px);opacity:0;pointer-events:none;z-index:9999;background:var(--surface2);color:var(--text);border:1px solid var(--line2);box-shadow:var(--shadow);border-radius:14px;padding:12px 18px;font-size:14.5px;font-weight:600;transition:opacity .2s,transform .2s}
.sv-toast.show{opacity:1;transform:none;pointer-events:auto}
.sv-toast a{color:var(--blueInk);text-decoration:underline;text-underline-offset:3px}
.sv-note{display:inline-flex;align-items:center;gap:8px;margin-top:14px;color:var(--muted);font-size:14px;background:var(--surface);border:1px solid var(--line2);border-radius:999px;padding:8px 14px}
.sv-note .ico{width:16px;height:16px;color:var(--blueInk);flex:none}
.sv-bar{margin-bottom:16px;color:var(--muted);font-weight:600}
.sv-item{display:flex;flex-direction:column;gap:10px;min-width:0}
.sv-item>.pcard-w,.sv-item>.pcard{flex:1}
.sv-rm{align-self:flex-start}
.sv-empty{display:flex;flex-direction:column;align-items:flex-start;gap:14px;padding:28px;text-align:left;color:var(--muted)}
.sv-empty h2{font-size:22px;color:var(--text)}
.sv-empty svg{width:30px;height:30px}
@media (max-width:640px){.sv-note{border-radius:14px;align-items:flex-start}.pc-save{width:34px;height:34px;right:8px;bottom:8px}}
@media (prefers-reduced-motion:reduce){.sv-toast,.pc-save{transition:none}}
/* Sticky header + promotion bar as one block (v1.2.1). The header keeps the same
   space in the page when it gets compact (margin makes up the difference): no layout shift. */
:root{--pbh:0px;--hdrh:76px;--hdrc:60px}
html.has-promo{--pbh:40px}
html.mt-promo-off{--pbh:0px}
@media (max-width:640px){:root{--hdrh:64px;--hdrc:56px}html.has-promo{--pbh:44px}}
html{scroll-padding-top:calc(var(--pbh) + var(--hdrh) + 14px)}
.mt-sticky .mt-promo{position:sticky;top:0}
.mt-sticky .hdr{position:sticky;top:var(--pbh);transition:box-shadow .25s,background .25s,margin .25s}
.mt-sticky .hdr .wrap{transition:height .25s}
.mt-sticky .logo img{transition:width .25s,height .25s}
html.hdr-compact .mt-sticky .hdr{margin-bottom:calc(var(--hdrh) - var(--hdrc));box-shadow:0 10px 30px -18px rgba(0,0,0,.7)}
html.hdr-compact .mt-sticky .hdr .wrap{height:var(--hdrc)}
html.hdr-compact .mt-sticky .logo img{width:34px;height:34px}
html[data-theme="day"].hdr-compact .mt-sticky .hdr{box-shadow:0 10px 30px -18px rgba(20,30,60,.35)}
.mt-nosticky .hdr{position:relative}
.skip-link:focus{position:fixed;top:12px}
@media (prefers-reduced-motion:reduce){.mt-sticky .hdr,.mt-sticky .hdr .wrap,.mt-sticky .logo img{transition:none}}
@media (max-width:640px){html.hdr-compact .mt-sticky .logo img{width:30px;height:30px}}

/* 1.2.6: global [hidden] (author display rules must never un-hide), shared empty-state card, bold spans, small cards grid fill */
[hidden]{display:none!important}
.b{font-weight:700}
.gr-empty{display:flex;align-items:center;gap:14px;padding:28px;color:var(--muted)}
.gr-empty svg{width:26px;height:26px;color:var(--blueInk);flex:none}
@media (min-width:1101px){.comm-n3>.cc:last-child{grid-column:span 2}}
@media (min-width:641px) and (max-width:1100px){.comm-n1>.cc:last-child,.comm-n3>.cc:last-child{grid-column:span 2}}
.hfaq{display:grid;grid-template-columns:1fr 1fr;gap:14px;align-items:start}
.hfaq-it{padding:0;border-radius:18px;overflow:hidden}
.hfaq-it summary{list-style:none;display:flex;justify-content:space-between;align-items:center;gap:14px;padding:20px 22px;cursor:pointer;-webkit-tap-highlight-color:transparent}
.hfaq-it summary::-webkit-details-marker{display:none}
.hfaq-it summary h3{font-size:16.5px;font-weight:800;line-height:1.3}
.hfaq-ic{flex:none;width:30px;height:30px;border-radius:10px;display:grid;place-items:center;background:var(--blueSoft);color:var(--blueInk);transition:transform .2s}
.hfaq-ic svg{width:16px;height:16px}
.hfaq-it[open] .hfaq-ic{transform:rotate(45deg)}
.hfaq-it[open]{border-color:rgba(50,146,250,.4)}
.hfaq-it p{margin:0;padding:0 22px 20px;color:var(--muted);font-size:15px;line-height:1.6}
.hfaq-it summary:focus-visible{outline:2px solid var(--blue);outline-offset:-2px}
@media (max-width:860px){.hfaq{grid-template-columns:1fr}}
