/* Hibr v1.12 — clear, wide, mobile-first experience */
:root{--v112-page-pad:clamp(12px,2.4vw,42px);--v112-max:1700px}
html,body{max-width:100%;overflow-x:hidden}
.container{width:min(var(--v112-max),calc(100% - (var(--v112-page-pad) * 2)))!important;max-width:none!important}
.main-shell{width:min(var(--v112-max),calc(100% - (var(--v112-page-pad) * 2)))!important;max-width:none!important}
.nav{min-height:66px}.navlinks{gap:8px}.navlinks a{font-weight:800}

/* Compact identity hero: no text clutter. */
.hibr-brand-hero{min-height:clamp(118px,14vw,205px);margin:18px 0 18px;border-radius:clamp(18px,2vw,30px);display:grid;place-items:center;overflow:hidden;background:linear-gradient(128deg,var(--hero1,#0e4c68),var(--hero2,#0a917f));box-shadow:0 18px 44px rgba(16,38,59,.11);padding:18px 5vw}
.hibr-brand-hero-logo{display:flex;align-items:center;justify-content:center;width:min(560px,78vw);height:100%;min-height:84px}
.hibr-brand-hero-logo img{display:block;width:auto;height:auto;max-width:100%;max-height:145px;object-fit:contain;filter:drop-shadow(0 7px 16px rgba(0,0,0,.08))}
.hibr-hero-fallback{font-size:clamp(44px,8vw,96px);font-weight:900;color:#fff;line-height:1}

/* Clear categories */
.home-discovery-board{margin:18px 0 22px!important;border-radius:24px!important}
.discovery-board-head{padding:20px 22px 14px!important;align-items:center!important}
.discovery-board-head h2{font-size:clamp(22px,2.2vw,31px)!important}
.discovery-board-head p{font-size:13px!important;max-width:650px!important}
.compact-category-grid{grid-template-columns:repeat(4,minmax(0,1fr))!important}
.compact-category-cell{min-height:118px!important;padding:16px!important;grid-template-columns:50px minmax(0,1fr) auto!important}
.compact-category-cell .section-icon{width:50px!important;height:50px!important;font-size:24px!important;border-radius:16px!important}
.compact-category-copy b{font-size:15px!important;white-space:normal!important;line-height:1.45}
.compact-category-copy small{font-size:11px!important;white-space:normal!important;line-height:1.55;margin-top:4px!important}
.category-latest{grid-column:2 / 4;display:flex;flex-direction:column;gap:4px;margin-top:5px;min-width:0}
.category-latest a,.category-latest span{font-size:10px;color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.category-latest a:before{content:'• ';color:var(--brand2)}

/* Use the wide canvas on desktop. */
.home-content-stage{grid-template-columns:250px minmax(520px,1fr) 320px!important;gap:22px!important}
.home-compact-posts .content-card.home-topic-card{grid-template-columns:210px minmax(0,1fr)!important;min-height:210px!important}
.home-compact-posts .content-card.home-topic-card .card-media,.home-compact-posts .content-card.home-topic-card .cover{width:210px!important;height:210px!important;max-width:210px!important;max-height:210px!important}

/* Reading stays comfortable even though the site itself is wide. */
.reading-layout{width:min(1180px,100%);margin-inline:auto!important;grid-template-columns:minmax(0,850px) 280px!important;justify-content:center}
.story-body{max-width:790px;margin-inline:auto}
.story>h1,.story>.story-meta,.story>.chips{max-width:790px;margin-inline:auto}
.story-cover{display:block;max-width:900px!important;width:100%!important;height:auto!important;aspect-ratio:auto!important;margin-inline:auto!important}

/* Inline post media and attachments. */
.article-inline-media{margin:24px auto;text-align:center;max-width:100%}.article-inline-media.size-small{max-width:420px}.article-inline-media.size-medium{max-width:650px}.article-inline-media.size-wide{max-width:940px}
.article-image-button{display:block;width:100%;padding:0;border:0;background:none;cursor:zoom-in}.article-inline-media img{display:block;width:100%;height:auto;border-radius:16px;border:1px solid var(--line);box-shadow:0 8px 24px rgba(16,38,59,.06)}.article-inline-media figcaption{font-size:12px;color:var(--muted);margin-top:8px}
.article-file-card{display:flex;align-items:center;gap:12px;max-width:720px;margin:18px auto;padding:14px 16px;border:1px solid var(--line);border-radius:15px;background:var(--soft)}.article-file-icon{font-size:26px}.article-file-card b,.article-file-card small{display:block}.article-file-card small{font-size:11px;color:var(--muted)}.article-file-arrow{margin-inline-start:auto;color:var(--brand);font-weight:900}
.hibr-lightbox{position:fixed;inset:0;z-index:9999;background:rgba(3,15,24,.91);display:grid;place-items:center;padding:22px}.hibr-lightbox[hidden]{display:none}.hibr-lightbox img{max-width:min(96vw,1500px);max-height:90vh;object-fit:contain;border-radius:12px}.hibr-lightbox button{position:fixed;top:15px;left:15px;width:44px;height:44px;border:0;border-radius:50%;font-size:25px;cursor:pointer}

/* Inline library inside composer/editors. */
.inline-library-picker{margin:14px 0;border:1px solid var(--line);border-radius:16px;background:#fbfcfd;overflow:hidden}.inline-library-picker>summary{cursor:pointer;padding:13px 15px;font-weight:900;color:var(--brand)}.inline-library-head{padding:0 15px 12px;display:flex;align-items:center;justify-content:space-between;gap:12px}.inline-library-head span{font-size:11px;color:var(--muted)}
.inline-library-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(180px,1fr));gap:10px;padding:0 12px 14px}.inline-library-item{min-width:0;border:1px solid var(--line);background:#fff;border-radius:14px;padding:9px;display:grid;grid-template-columns:48px minmax(0,1fr);gap:8px;align-items:center}.inline-library-item img,.inline-file-thumb{width:48px;height:48px;border-radius:10px;object-fit:cover;background:var(--soft);display:grid;place-items:center;font-size:22px}.inline-library-item b,.inline-library-item small{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.inline-library-item b{font-size:11px}.inline-library-item small{font-size:9px;color:var(--muted)}.inline-library-item button{grid-column:1/-1;border:0;border-radius:9px;padding:7px;background:var(--brand);color:#fff;font-weight:800;cursor:pointer;font-size:11px}
.cover-library-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(105px,1fr));gap:9px;padding:10px}.cover-library-grid label{margin:0!important;border:1px solid var(--line);border-radius:12px;padding:6px;cursor:pointer}.cover-library-grid input{width:auto}.cover-library-grid img{display:block;width:100%;aspect-ratio:1/1;object-fit:cover;border-radius:8px;margin:5px 0}.cover-library-grid span{font-size:10px;display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.v112-cover-box{margin-top:14px;padding:14px;border:1px solid var(--line);border-radius:16px;background:#fbfcfd}

/* Composer: use the screen, keep controls comfortable. */
.compose-layout.composer-pro{width:min(1480px,calc(100vw - (var(--v112-page-pad) * 2)))!important;grid-template-columns:230px minmax(0,1fr)!important;gap:24px!important}
.compose-layout.composer-pro .compose-panel{padding:clamp(16px,2vw,28px)!important}.compose-layout textarea,#edit-body{min-height:280px;line-height:1.85}
.form-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.input,textarea,select{min-height:46px}.editor-toolbar{position:sticky;top:70px;z-index:8;background:rgba(255,255,255,.96);backdrop-filter:blur(8px);border-radius:12px;padding:7px}
.submit-row{position:sticky;bottom:10px;z-index:12;background:rgba(255,255,255,.96);backdrop-filter:blur(10px);padding:10px;border:1px solid var(--line);border-radius:15px;box-shadow:0 10px 30px rgba(16,38,59,.12)}

/* Social preview: never become huge on phones. */
.social-preview-grid canvas{max-width:720px;margin-inline:auto}.social-link-mock{max-width:430px}

/* Google sign in */
.google-login-btn{min-height:50px;width:100%;border:1px solid var(--line);border-radius:13px;background:#fff;display:flex;align-items:center;justify-content:center;gap:11px;font-size:14px;box-shadow:0 4px 14px rgba(16,38,59,.04)}.google-g{font-family:Arial,sans-serif;font-size:21px;font-weight:900;color:#4285f4}.auth-divider{display:flex;align-items:center;gap:10px;color:var(--muted);font-size:11px;margin:14px 0}.auth-divider:before,.auth-divider:after{content:'';height:1px;background:var(--line);flex:1}
.google-settings-box{margin:22px 0 14px;padding:17px;border:1px solid var(--line);border-radius:16px;background:var(--soft)}.google-settings-box h3{margin:2px 0 12px}.oauth-callback{display:grid;grid-template-columns:1fr auto;gap:8px;align-items:center;margin-top:12px}.oauth-callback small{grid-column:1/-1}.oauth-callback code{overflow:auto;white-space:nowrap}.oauth-callback button{border:1px solid var(--line);background:#fff;border-radius:8px;padding:7px 10px;cursor:pointer}

/* Admin library */
.hibr-library-admin{grid-template-columns:minmax(0,1fr) 330px!important}.v112-library-grid{display:grid!important;grid-template-columns:repeat(auto-fill,minmax(220px,1fr))!important;gap:12px!important}.v112-library-card{display:grid!important;grid-template-columns:72px minmax(0,1fr)!important;align-items:center!important;gap:10px!important;padding:10px!important}.v112-library-card>img,.library-file-icon{width:72px!important;height:72px!important;border-radius:12px!important;object-fit:cover}.library-file-icon{display:grid;place-items:center;background:var(--soft);font-size:30px}.library-card-copy{min-width:0}.library-card-copy b,.library-card-copy small,.library-card-copy em{display:block}.library-card-copy b{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:12px}.library-card-copy small,.library-card-copy em{font-size:9px;color:var(--muted);font-style:normal}.library-card-actions{grid-column:1/-1;display:flex;gap:6px;flex-wrap:wrap}.library-card-actions form{margin:0}.library-card-actions button,.library-card-actions a{border:1px solid var(--line);background:#fff;border-radius:8px;padding:6px 8px;cursor:pointer;font-size:10px}.library-safety-note{margin-top:15px;border-radius:12px;padding:11px;background:var(--soft);display:flex;flex-direction:column;font-size:11px}.admin-compose-launcher p{color:var(--muted);font-size:13px}

/* Wider, calmer admin. */
.admin-shell-v13{width:min(1760px,calc(100% - 24px))!important;max-width:none!important}.admin-shell-v13>.admin-v3-main{min-width:0!important}.admin-grid.wide-left{grid-template-columns:minmax(0,1fr) minmax(280px,340px)}.post-edit-panel{width:min(1200px,calc(100% - 24px));margin:18px auto 80px}.v112-mobile-publish{margin-top:16px}

@media(max-width:1180px){
 .compact-category-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important}.home-content-stage{grid-template-columns:minmax(0,1fr) 300px!important;grid-template-areas:"posts videos" "left left"!important}.home-left-rail{position:static!important;display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important}.hibr-library-admin{grid-template-columns:1fr!important}.library-upload-panel{position:static!important}
}
@media(max-width:900px){
 :root{--v112-page-pad:9px}.container,.main-shell{width:calc(100% - 18px)!important}.topbar .nav{min-height:58px}.navlinks{display:none!important}.nav-actions{gap:5px}.nav-actions .btn{padding:8px 10px;font-size:12px}.brand-logo-box{height:48px!important}
 .hibr-brand-hero{min-height:122px;margin:10px 0 13px;padding:12px;border-radius:18px}.hibr-brand-hero-logo{width:min(390px,78vw);min-height:70px}.hibr-brand-hero-logo img{max-height:96px}
 .compact-category-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}.compact-category-cell{min-height:104px!important}.category-latest{display:none}
 .home-content-stage{display:flex!important;flex-direction:column!important;gap:14px!important}.home-content-stage>*{width:100%!important;max-width:100%!important}.home-video-rail{position:static!important}.home-left-rail{grid-template-columns:1fr 1fr!important}
 .reading-layout{grid-template-columns:1fr!important;width:100%!important;margin-top:14px!important}.reading-side{position:static!important}.story{padding:clamp(14px,4vw,24px)!important}.story-body,.story>h1,.story>.story-meta,.story>.chips{max-width:100%!important}
 .compose-layout.composer-pro{width:100%!important;grid-template-columns:1fr!important;left:auto!important;transform:none!important;margin:14px auto!important}.compose-layout.composer-pro .compose-intro{padding:4px 2px!important}.compose-layout.composer-pro .compose-panel{padding:13px!important}.form-grid,.grid2{grid-template-columns:1fr!important}.editor-toolbar{top:58px;overflow-x:auto;display:flex;flex-wrap:nowrap;scrollbar-width:none}.editor-toolbar button{flex:0 0 auto}.compose-layout textarea,#edit-body{min-height:220px}
 .social-preview-grid{grid-template-columns:1fr!important}.social-preview-grid canvas{width:min(100%,520px)!important;max-height:none!important;aspect-ratio:1200/630!important}.social-link-mock{max-width:100%!important}.social-card-builder{overflow:hidden}
 .inline-library-grid{display:flex;overflow-x:auto;scroll-snap-type:x proximity}.inline-library-item{flex:0 0 min(74vw,240px);scroll-snap-align:start}.inline-library-head{align-items:flex-start;flex-direction:column}.submit-row{bottom:calc(66px + env(safe-area-inset-bottom));flex-direction:column;align-items:stretch}.submit-row .btn{width:100%}
 .admin-shell-v13{width:calc(100% - 12px)!important}.admin-v3-main{width:100%!important;max-width:100%!important;margin-inline:0!important}.admin-grid,.admin-grid.wide-left{grid-template-columns:1fr!important}.admin-v3-main .panel{padding:14px!important}.admin-v3-head{min-height:58px}.admin-v3-actions .btn{font-size:11px;padding:8px 9px}.table-wrap{max-width:100%;overflow-x:auto}.table-wrap table{min-width:680px}
 .v112-library-grid{grid-template-columns:1fr!important}.library-upload-panel{order:-1}.post-edit-panel{width:calc(100% - 12px)!important;margin:10px auto 90px!important}.v112-post-editor .admin-v3-main{width:100%!important}.v112-cover-box{padding:10px}.cover-library-grid{display:flex;overflow-x:auto}.cover-library-grid label{flex:0 0 120px}.v112-mobile-publish{position:sticky;bottom:calc(8px + env(safe-area-inset-bottom));z-index:20;background:rgba(255,255,255,.96);padding:8px;border-radius:14px;box-shadow:0 8px 28px rgba(16,38,59,.16)}
 .oauth-callback{grid-template-columns:1fr}.oauth-callback button{width:100%}
}
@media(max-width:560px){
 .container,.main-shell{width:calc(100% - 12px)!important}.nav-actions .btn.ghost{display:none}.hibr-brand-hero{min-height:105px}.hibr-brand-hero-logo{width:min(290px,76vw)}.hibr-brand-hero-logo img{max-height:78px}
 .discovery-board-head{padding:15px 13px 10px!important;gap:4px!important}.discovery-board-head p{font-size:11px!important}.compact-category-grid{grid-template-columns:1fr 1fr!important}.compact-category-cell{min-height:88px!important;padding:10px!important;grid-template-columns:38px minmax(0,1fr) auto!important}.compact-category-cell .section-icon{width:38px!important;height:38px!important;font-size:18px!important}.compact-category-copy b{font-size:12px!important}.compact-category-copy small{display:none!important}.compact-category-arrow{font-size:11px}
 .home-left-rail{grid-template-columns:1fr!important}.home-compact-posts .content-card.home-topic-card{grid-template-columns:112px minmax(0,1fr)!important;min-height:112px!important}.home-compact-posts .content-card.home-topic-card .card-media,.home-compact-posts .content-card.home-topic-card .cover{width:112px!important;height:112px!important;max-width:112px!important;max-height:112px!important}.home-compact-posts .content-card.home-topic-card .content-pad{padding:9px!important}.home-compact-posts .content-card.home-topic-card h2{font-size:13px!important;margin:3px 0!important}.home-compact-posts .content-card.home-topic-card p{display:none!important}
 .panel{border-radius:16px}.auth-wrap{margin-top:14px!important}.auth-copy{padding:4px!important}.auth-copy h1{font-size:29px!important}.auth-panel{padding:15px!important}.input,textarea,select{font-size:16px!important} /* avoid iOS zoom */
 .inline-library-item{flex-basis:82vw}.social-preview-actions small{font-size:9px}.article-inline-media{margin:16px auto}.article-file-card{padding:11px}
 .admin-v3-brand>a{font-size:13px}.admin-v3-actions .btn{padding:7px 8px}.admin-v3-main .section-head{align-items:flex-start;flex-direction:column}.v112-library-card{grid-template-columns:60px minmax(0,1fr)!important}.v112-library-card>img,.library-file-icon{width:60px!important;height:60px!important}
}

/* Keep social preview compact on small phones. */
@media(max-width:560px){
 .social-preview-grid canvas{width:min(100%,340px)!important;margin-inline:auto!important}
 .social-link-mock{width:min(100%,340px)!important;margin-inline:auto!important}
 .social-card-head p{font-size:10px!important;line-height:1.55}.social-card-size{font-size:9px!important}
}

/* ===== Hibr v1.12.1 — mobile publishing hotfix ===== */
.mobile-compose-jumps{display:none}
.compose-section{margin:0 0 18px;padding:18px;border:1px solid var(--line);border-radius:19px;background:#fff;scroll-margin-top:78px}
.compose-section-head{display:flex;align-items:center;gap:10px;margin-bottom:13px;padding-bottom:11px;border-bottom:1px solid var(--line)}
.compose-section-head>span{width:34px;height:34px;flex:0 0 34px;display:grid;place-items:center;border-radius:11px;background:var(--brand);color:#fff;font-weight:900}
.compose-section-head b,.compose-section-head small{display:block}.compose-section-head b{font-size:15px}.compose-section-head small{font-size:10px;color:var(--muted);margin-top:2px}
.compose-cover-card{margin-top:15px;padding:14px;border:1px solid color-mix(in srgb,var(--brand2) 28%,var(--line));border-radius:16px;background:color-mix(in srgb,var(--brand2) 4%,#fff)}
.compose-cover-title{display:flex;align-items:center;gap:10px;margin-bottom:8px}.compose-cover-title>span{font-size:26px}.compose-cover-title b,.compose-cover-title small{display:block}.compose-cover-title small{font-size:10px;color:var(--muted);margin-top:2px}
.compose-cover-input{background:#fff!important}
.compose-social-details{border:1px solid var(--line);border-radius:16px;background:#fbfcfd;overflow:hidden}
.compose-social-details>summary{cursor:pointer;list-style:none;padding:14px 15px;display:flex;align-items:center;justify-content:space-between;gap:12px;font-weight:900;color:var(--brand)}
.compose-social-details>summary::-webkit-details-marker{display:none}.compose-social-details>summary:after{content:'＋';font-size:18px}.compose-social-details[open]>summary:after{content:'−'}
.compose-social-details>summary span,.compose-social-details>summary small{display:block}.compose-social-details>summary small{font-size:9px;color:var(--muted);font-weight:500;margin-inline-start:auto}
.compose-social-details .social-card-builder{margin:0;border:0;border-top:1px solid var(--line);border-radius:0;box-shadow:none}
.mobile-cover-preview{margin:10px 0 0;padding:8px;border:1px solid var(--line);border-radius:12px;background:#fff;display:flex;align-items:center;gap:9px}.mobile-cover-preview[hidden]{display:none}.mobile-cover-preview img{width:66px;height:54px;object-fit:cover;border-radius:9px}.mobile-cover-preview b,.mobile-cover-preview small{display:block}.mobile-cover-preview b{font-size:11px}.mobile-cover-preview small{font-size:9px;color:var(--muted)}
.mobile-compose-publishbar{display:none}.compose-focus-pulse{animation:composePulse .8s ease}@keyframes composePulse{0%,100%{box-shadow:none}50%{box-shadow:0 0 0 4px color-mix(in srgb,var(--brand2) 24%,transparent)}}

@media(max-width:820px){
 body.is-mobile-composer{padding-bottom:150px!important}
 .mobile-ready-composer{margin-top:10px!important}
 .mobile-ready-composer .compose-intro{padding:5px 2px 8px!important}.mobile-ready-composer .compose-intro .kicker{font-size:9px}.mobile-ready-composer .compose-intro h1{font-size:24px!important;margin:3px 0!important}.mobile-ready-composer .compose-intro>p,.mobile-ready-composer .compose-intro .rules-mini{display:none!important}
 .mobile-ready-composer .compose-panel{padding:9px!important;border-radius:17px!important}
 .mobile-compose-jumps{display:flex;gap:6px;overflow-x:auto;padding:3px 1px 10px;scrollbar-width:none}.mobile-compose-jumps::-webkit-scrollbar{display:none}.mobile-compose-jumps button{flex:0 0 auto;border:1px solid var(--line);background:#fff;border-radius:999px;padding:8px 11px;font:inherit;font-size:10px;font-weight:900;color:var(--brand);white-space:nowrap}.mobile-compose-jumps button:active{background:var(--soft)}
 .compose-section{margin-bottom:10px;padding:11px;border-radius:15px;scroll-margin-top:70px}.compose-section-head{margin-bottom:9px;padding-bottom:9px}.compose-section-head>span{width:30px;height:30px;flex-basis:30px;border-radius:9px;font-size:11px}.compose-section-head b{font-size:13px}.compose-section-head small{font-size:9px}
 .compose-cover-card{padding:10px;margin-top:11px}.compose-cover-title>span{font-size:22px}.compose-cover-title b{font-size:12px}.compose-cover-title small{font-size:9px}
 .compose-cover-card .featured-library-box{margin-bottom:0}.featured-library-box>summary{padding:10px 11px;font-size:11px}.featured-library-box .composer-media-library{display:flex!important;overflow-x:auto!important;padding:0 9px 9px!important}.featured-library-box .composer-media-item{flex:0 0 138px!important}
 .mobile-ready-composer .editor-toolbar{position:static!important;top:auto!important;margin-bottom:7px}.mobile-ready-composer textarea{min-height:170px!important;font-size:16px!important}.mobile-ready-composer input,.mobile-ready-composer select{font-size:16px!important}
 .mobile-ready-composer .live-builder{margin:5px 0 0!important;padding:9px!important;border-radius:14px!important}.mobile-ready-composer .live-builder-head{gap:7px}.mobile-ready-composer .live-builder-head h2{font-size:16px!important}.mobile-ready-composer .live-builder-head p{font-size:9px!important;line-height:1.45}.mobile-ready-composer .live-builder-count{font-size:9px;padding:4px 7px}
 .mobile-ready-composer .live-template-library{padding:9px!important;margin:9px 0!important}.mobile-ready-composer .live-template-head h3{font-size:15px!important}.mobile-ready-composer .live-template-head p{font-size:9px!important}.mobile-ready-composer .live-template-grid{display:flex!important;overflow-x:auto!important;overflow-y:hidden!important;max-height:none!important;gap:7px!important;scroll-snap-type:x mandatory}.mobile-ready-composer .live-template-card{flex:0 0 min(68vw,220px)!important;min-height:82px!important;scroll-snap-align:start}.mobile-ready-composer .live-template-card>span{font-size:22px}.mobile-ready-composer .live-template-card b{font-size:11px}.mobile-ready-composer .live-block-buttons{display:flex!important;overflow-x:auto!important;gap:6px!important}.mobile-ready-composer .live-block-buttons button{flex:0 0 auto!important;font-size:10px!important;padding:7px 9px!important}.mobile-ready-composer .live-builder-item{padding:9px!important}.mobile-ready-composer .live-builder-item input,.mobile-ready-composer .live-builder-item textarea{font-size:16px!important}.mobile-ready-composer .live-builder-item header{position:sticky;top:58px;background:#fff;z-index:2;padding:3px 0}
 .compose-social-details>summary{padding:11px;align-items:flex-start;flex-direction:column;gap:3px}.compose-social-details>summary small{margin:0}.compose-social-details .social-card-builder{padding:10px!important}.compose-social-details .social-card-head p{display:none}.compose-social-details .social-card-size{font-size:9px}.compose-social-details .social-preview-grid{display:block!important}.compose-social-details .social-preview-grid canvas{display:block!important;width:100%!important;max-width:100%!important;height:auto!important;aspect-ratio:1200/630!important;margin:0 auto!important}.compose-social-details .social-link-mock{width:100%!important;max-width:100%!important;margin-top:10px!important}.compose-social-details .social-template-grid{display:flex!important;overflow-x:auto!important}.compose-social-details .social-template-choice{flex:0 0 132px!important}.compose-social-details .social-preview-actions{display:grid!important;grid-template-columns:1fr!important}.compose-social-details .social-preview-actions small{font-size:8px!important}
 .mobile-ready-composer .submit-row.mobile-safe-submit{position:static!important;box-shadow:none!important;border:0!important;background:transparent!important;padding:9px 0 0!important}.mobile-ready-composer .submit-row.mobile-safe-submit small{font-size:9px}.mobile-ready-composer .submit-row.mobile-safe-submit .btn{width:100%;min-height:48px;font-size:14px}
 .mobile-compose-publishbar{position:fixed;display:grid;grid-template-columns:auto minmax(0,1fr);gap:7px;left:8px;right:8px;bottom:calc(66px + env(safe-area-inset-bottom));z-index:75;padding:8px;background:rgba(255,255,255,.96);backdrop-filter:blur(12px);border:1px solid var(--line);border-radius:15px;box-shadow:0 10px 34px rgba(16,38,59,.18)}.mobile-compose-publishbar[hidden]{display:none!important}.mobile-compose-publishbar .btn{min-height:44px;padding:9px 12px}.mobile-compose-publishbar .btn:last-child{font-size:13px;font-weight:900}
 .compose-error{position:sticky;top:5px;z-index:30;margin-bottom:8px!important}
}

@media(max-width:390px){
 .mobile-compose-publishbar{left:5px;right:5px;grid-template-columns:70px minmax(0,1fr)}.mobile-compose-publishbar .btn{padding:8px 7px;font-size:10px}.mobile-ready-composer .live-template-card{flex-basis:74vw!important}.compose-section{padding:9px}.compose-cover-card{padding:9px}
}
/* v1.12.2 — Google login setup polish */
.google-settings-head{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}.google-settings-head h3{margin:2px 0 8px}.google-status{display:inline-flex;align-items:center;min-height:28px;padding:4px 9px;border-radius:999px;font-size:11px;font-weight:800;border:1px solid var(--line);background:#fff}.google-status.ready{background:#eaf8f3;color:#0b6b4b;border-color:#bfe8d8}.google-status.pending{background:#fff7e8;color:#8b5a00;border-color:#f0d8a4}.google-checks{display:flex;gap:7px;flex-wrap:wrap;margin:9px 0 12px}.google-checks span{background:#fff;border:1px solid var(--line);border-radius:999px;padding:5px 9px;font-size:11px}.oauth-callback-list{margin-top:14px;padding:12px;border:1px dashed var(--line);border-radius:12px;background:#fff}.oauth-callback-list>.oauth-callback{margin-top:8px}.oauth-callback-list code{direction:ltr;text-align:left;display:block}
@media(max-width:680px){.google-settings-box{padding:14px}.google-settings-head{align-items:flex-start}.oauth-callback-list{padding:10px}.oauth-callback code{font-size:10px;max-width:100%}}
