/* WordPress enhancements only; original interface and navigation are unchanged. */
.ttc-ad-slot,.ttc-ad-slot *{box-sizing:border-box}
.ttc-ad-slot{width:100%;max-width:1200px;min-width:0;margin:0 auto;padding:10px 16px;text-align:center}
.ttc-ad-slot .ttc-ad-inner{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:14px;min-height:65px;min-width:0;max-width:100%;border:1px solid #e2e8f0;border-radius:12px;background:#fff;padding:12px;overflow-wrap:anywhere}
.ttc-ad-slot .ttc-ad-label{font-size:10px;text-transform:uppercase;letter-spacing:.07em;color:#64748b;margin-bottom:4px}
.ttc-ad-slot img{display:block;width:auto;height:auto;max-width:100%;max-height:100px;object-fit:contain;flex-shrink:1}
.ttc-ad-slot a{display:inline-flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:12px;min-width:0;max-width:100%;color:#3730a3;font-size:14px;font-weight:700;text-decoration:none;overflow-wrap:anywhere}
.ttc-ad-slot a span,.ttc-ad-slot .ttc-ad-inner>span{min-width:0;overflow-wrap:anywhere}
.ttc-ad-embed{width:100%;max-width:100%;min-width:0;overflow-wrap:anywhere}
.ttc-ad-embed img,.ttc-ad-embed video{max-width:100%;height:auto}
.ttc-ad-embed iframe,.ttc-ad-embed embed,.ttc-ad-embed object{max-width:100%!important}
.ttc-ad-embed iframe{width:100%;min-height:100px;max-height:50vh}
.ttc-ad-slot .adsbygoogle{display:block;width:100%;max-width:100%;min-width:0;overflow:hidden}
.ttc-product-ad{position:sticky;top:var(--ttc-header-height,72px);z-index:39;max-width:100%;background:#fff;box-shadow:0 1px 10px rgba(15,23,42,.08)}
.ttc-product-ad .ttc-ad-slot{padding:5px 12px}
.ttc-product-ad .ttc-ad-inner{min-height:46px;padding:6px 10px}
.ttc-product-ad img{max-height:42px;max-width:160px}
/* The ad bar and its close control occupy separate stacking/scroll layers.
   This avoids iframe or oversized creative covering the control. */
.ttc-bottom-sticky{position:fixed;bottom:0;left:0;right:0;z-index:45;box-sizing:border-box;display:flex;flex-direction:column;width:100%;max-height:min(30vh,220px);max-height:min(30dvh,220px);overflow:hidden;padding-bottom:env(safe-area-inset-bottom,0px);background:rgba(255,255,255,.99);border-top:1px solid #cbd5e1;box-shadow:0 -4px 16px rgba(15,23,42,.12)}
.ttc-sticky-toolbar{position:relative;z-index:3;display:flex;align-items:center;justify-content:space-between;flex:0 0 38px;min-height:38px;padding:2px 12px 2px 16px;border-bottom:1px solid #e2e8f0;background:#fff;isolation:isolate}
.ttc-sticky-toolbar-label{color:#64748b;font:600 11px/1.4 system-ui,sans-serif;letter-spacing:.045em;text-transform:uppercase;max-width:calc(100% - 94px);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ttc-sticky-creative{position:relative;z-index:1;min-height:0;min-width:0;flex:1 1 auto;overflow-y:auto;overscroll-behavior:contain}
.ttc-bottom-sticky .ttc-ad-slot{padding:6px 12px}
.ttc-bottom-sticky .ttc-ad-label{display:none}
.ttc-bottom-sticky .ttc-ad-inner{min-height:42px;padding:5px 8px;border:0}
.ttc-bottom-sticky img{max-height:48px;max-width:165px}
.ttc-bottom-spacer{height:90px}
.ttc-sticky-close{appearance:none!important;position:relative!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:5px;flex:0 0 auto;min-width:78px;min-height:32px;margin:0!important;padding:2px 9px!important;border:1px solid #94a3b8!important;border-radius:999px!important;background:#f8fafc!important;color:#0f172a!important;box-shadow:0 1px 4px rgba(15,23,42,.12);font:600 12px/1 system-ui,sans-serif!important;cursor:pointer!important;opacity:1!important;visibility:visible!important;pointer-events:auto!important}
.ttc-sticky-close-icon{display:block;font:normal 26px/24px Arial,sans-serif}
.ttc-sticky-close-text{display:block;white-space:nowrap}
.ttc-sticky-close:hover{background:#e2e8f0!important;color:#0f172a!important}
.ttc-sticky-close:focus-visible{outline:3px solid #4f46e5;outline-offset:2px}
/* Original floating-share remains fixed, but no longer sits on top of ads.
   Custom property updates whenever the ad bar changes height or is dismissed. */
.floating-share{bottom:calc(var(--ttc-bottom-ad-height,0px) + 24px)!important;max-height:calc(100dvh - var(--ttc-bottom-ad-height,0px) - 36px)}
.floating-share>div{max-width:min(320px,calc(100vw - 32px))}
.floating-share>div[class*="rounded-2xl"]{overflow-y:auto;max-height:min(380px,calc(100dvh - var(--ttc-bottom-ad-height,0px) - 120px))}
.ttc-post-html p{margin:0 0 1.35em}
.ttc-post-html h2,.ttc-post-html h3{font-weight:800;color:#0f172a;margin:1.5em 0 .5em}
.ttc-post-html a{color:#4f46e5;text-decoration:underline}
.ttc-post-html ul,.ttc-post-html ol{padding-left:1.75em;margin:1em 0;list-style:initial}
.ttc-fallback{max-width:1080px;margin:0 auto;padding:2rem;font-family:system-ui,sans-serif;line-height:1.7}
.ttc-fallback h1{font-size:2rem;font-weight:800}
.ttc-fallback h2{font-size:1.4rem;font-weight:700;margin-top:1.5rem}
.ttc-fallback h3{font-size:1.2rem;font-weight:700;margin-top:1rem}
.ttc-fallback p{margin:1rem 0}
.ttc-fallback ul,.ttc-fallback ol{padding-left:25px;list-style:disc}
.ttc-fallback a{color:#4338ca;text-decoration:underline}
@media (min-width:641px) and (max-width:1024px){
  .ttc-ad-slot{padding:9px 14px}
  .ttc-ad-slot .ttc-ad-inner{gap:10px}
  .ttc-ad-slot img{max-height:85px;max-width:42vw}
}
@media (max-width:640px){
  .ttc-ad-slot{padding:8px}
  .ttc-ad-slot .ttc-ad-inner{padding:8px;gap:8px;min-height:50px}
  .ttc-ad-slot a{font-size:13px;gap:7px;line-height:1.35}
  .ttc-ad-slot img{max-height:82px;max-width:min(100%,220px)}
  .ttc-product-ad .ttc-ad-slot{padding:4px 8px}
  .ttc-product-ad .ttc-ad-inner{padding:5px 6px;min-height:40px}
  .ttc-product-ad img{max-height:38px;max-width:105px}
  .ttc-bottom-sticky{max-height:min(30vh,220px);max-height:min(30dvh,220px)}
  .ttc-bottom-sticky .ttc-ad-slot{padding:5px 8px}
  .ttc-bottom-sticky .ttc-ad-inner{min-height:40px;padding:4px}
  .ttc-bottom-sticky img{max-height:40px;max-width:100px}
  .ttc-sticky-toolbar{padding:2px 8px 2px 12px;flex-basis:38px}
  .ttc-sticky-close{min-width:72px;min-height:32px;padding:2px 7px!important}
  .floating-share{right:16px!important;bottom:calc(var(--ttc-bottom-ad-height,0px) + 16px)!important}
  .ttc-ad-embed iframe{max-height:28dvh}
}
@media (max-width:370px){
  .ttc-bottom-sticky .ttc-ad-inner{gap:5px}
  .ttc-bottom-sticky .ttc-ad-slot a{font-size:12px}
  .ttc-bottom-sticky img{max-width:75px;max-height:32px}
}
@media print{.ttc-ad-slot,.ttc-product-ad,.ttc-bottom-sticky,.ttc-bottom-spacer,.floating-share{display:none!important}}
