:root{--bg:#f6f8fb;--card:#fff;--ink:#172033;--muted:#667085;--line:#e5e7eb;--blue:#1867e8;--blue2:#0f3f91;--yellow:#ffd166;--red:#ef4444;--green:#16a34a;--orange:#f97316;--shadow:0 16px 50px rgba(15,23,42,.08);--radius:22px}*{box-sizing:border-box}body{margin:0;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;background:linear-gradient(180deg,#eef5ff,#f8fafc 260px);color:var(--ink)}a{color:inherit;text-decoration:none}.site-header{position:sticky;top:0;z-index:20;display:flex;align-items:center;justify-content:space-between;gap:16px;padding:14px 5vw;background:rgba(255,255,255,.88);backdrop-filter:blur(14px);border-bottom:1px solid var(--line)}.brand{display:flex;align-items:center;gap:10px}.brand small{display:block;color:var(--muted);font-size:12px}.logo-mark{display:grid;place-items:center;width:42px;height:42px;border-radius:14px;background:linear-gradient(135deg,var(--blue),#7aa7ff);color:white;font-weight:900}nav{display:flex;align-items:center;gap:4px;flex-wrap:wrap}nav a{padding:9px 11px;border-radius:999px;font-size:14px;color:#344054}nav a:hover,.pill.active{background:#eaf2ff;color:var(--blue2)}.admin-link{background:#172033!important;color:#fff!important}.nav-toggle{display:none;border:0;background:#172033;color:white;border-radius:10px;padding:8px 10px}.container{width:min(1180px,90vw);margin:0 auto}.hero{padding:58px 0 32px;display:grid;grid-template-columns:1.18fr .82fr;gap:28px;align-items:center}.eyebrow{display:inline-flex;gap:8px;align-items:center;padding:8px 12px;border:1px solid #bfd4ff;border-radius:999px;background:#eff6ff;color:var(--blue2);font-weight:700;font-size:13px}.hero h1{font-size:clamp(38px,6vw,76px);line-height:.95;margin:16px 0}.hero p{font-size:18px;line-height:1.7;color:#475467}.hero-card,.card{background:var(--card);border:1px solid var(--line);border-radius:var(--radius);box-shadow:var(--shadow)}.hero-card{padding:22px}.search-panel{display:grid;gap:10px}.input,.select,textarea{width:100%;padding:13px 14px;border:1px solid var(--line);border-radius:14px;background:white;font:inherit}.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;border:0;background:var(--blue);color:white;border-radius:14px;padding:12px 16px;font-weight:800;cursor:pointer}.btn.secondary{background:#eef2f7;color:#172033}.btn.dark{background:#172033}.btn.warn{background:#fff7ed;color:#9a3412;border:1px solid #fed7aa}.grid{display:grid;gap:18px}.grid.three{grid-template-columns:repeat(3,1fr)}.grid.two{grid-template-columns:repeat(2,1fr)}.section{padding:28px 0}.section-title{display:flex;align-items:end;justify-content:space-between;gap:20px;margin-bottom:16px}.section-title h2{margin:0;font-size:32px}.section-title p{margin:6px 0 0;color:var(--muted)}.card{padding:20px}.stat{display:flex;justify-content:space-between;align-items:center}.badge{display:inline-flex;align-items:center;gap:6px;padding:6px 10px;border-radius:999px;background:#f2f4f7;color:#344054;font-weight:800;font-size:12px}.risk-low{background:#dcfce7;color:#166534}.risk-medium{background:#fef3c7;color:#92400e}.risk-high{background:#fee2e2;color:#991b1b}.risk-extreme{background:#ffe4e6;color:#9f1239}.table-wrap{overflow:auto;border:1px solid var(--line);border-radius:18px;background:white}table{width:100%;border-collapse:collapse}th,td{padding:14px;border-bottom:1px solid var(--line);text-align:left;vertical-align:top}th{font-size:12px;color:#667085;text-transform:uppercase;background:#f8fafc}.filters{display:flex;gap:8px;flex-wrap:wrap;margin:14px 0}.pill{border:1px solid var(--line);background:white;border-radius:999px;padding:9px 12px;cursor:pointer;font-weight:700;color:#344054}.article-list{display:grid;gap:16px}.article-card{display:grid;grid-template-columns:1fr auto;gap:14px}.article-card h3{margin:0 0 8px}.article-card p{margin:0;color:#667085;line-height:1.6}.meta{display:flex;gap:8px;flex-wrap:wrap;color:#667085;font-size:13px;margin-bottom:8px}.content-page{background:white;border:1px solid var(--line);border-radius:24px;padding:clamp(20px,4vw,54px);box-shadow:var(--shadow);line-height:1.8}.content-page h1{font-size:clamp(34px,5vw,60px);line-height:1.05}.content-page h2{margin-top:34px}.content-page img{max-width:100%;border-radius:18px}.profile-head{display:grid;grid-template-columns:1fr 330px;gap:20px}.score{font-size:42px;font-weight:900}.discussion{display:grid;gap:12px}.comment{border:1px solid var(--line);border-radius:16px;padding:14px;background:#fff}.footer{margin-top:42px;padding:32px 5vw;background:#101828;color:white;display:flex;justify-content:space-between;gap:20px}.footer p{color:#cbd5e1;max-width:680px}.footer-links{display:flex;gap:14px;flex-wrap:wrap}.notice{border-left:5px solid var(--yellow);background:#fffbeb;padding:14px 16px;border-radius:14px;color:#78350f}.admin-shell{display:grid;grid-template-columns:260px 1fr;min-height:100vh}.admin-side{background:#101828;color:#fff;padding:20px}.admin-main{padding:24px;background:#f8fafc}.admin-menu a{display:block;padding:11px;border-radius:12px;color:#e5e7eb}.admin-menu a:hover{background:#1f2937}.form-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:12px}.small{font-size:13px;color:#667085}.hidden{display:none!important}@media(max-width:820px){.hero,.grid.three,.grid.two,.profile-head,.admin-shell{grid-template-columns:1fr}.nav-toggle{display:block}nav{display:none;position:absolute;top:70px;right:5vw;left:5vw;background:white;border:1px solid var(--line);box-shadow:var(--shadow);border-radius:18px;padding:12px}nav.open{display:grid}.footer{display:grid}.article-card{grid-template-columns:1fr}.form-grid{grid-template-columns:1fr}}


/* v3 media + icons */
.app-title-row,.table-app,.app-profile-title,.mini-result{display:flex;align-items:center;gap:12px}.app-title-row h3{margin:0}.app-icon{position:relative;flex:0 0 auto;display:grid;place-items:center;width:52px;height:52px;border-radius:16px;background:linear-gradient(135deg,#eaf2ff,#dbeafe);color:#0f3f91;font-weight:900;overflow:hidden;border:1px solid #dbeafe}.app-icon img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}.small-icon{width:42px;height:42px;border-radius:13px}.large-icon{width:82px;height:82px;border-radius:24px;font-size:24px}.post-thumb{width:150px;height:96px;object-fit:cover;border-radius:16px;border:1px solid var(--line)}.featured-image{width:100%;max-height:420px;object-fit:cover;border-radius:22px;margin:12px 0 22px;border:1px solid var(--line)}.video-embed{position:relative;width:100%;aspect-ratio:16/9;border-radius:22px;overflow:hidden;background:#0f172a;margin:20px 0}.video-embed iframe{position:absolute;inset:0;width:100%;height:100%;border:0}.content-page figure{margin:22px 0}.content-page figcaption{font-size:13px;color:var(--muted);margin-top:6px;text-align:center}.post-body ul{padding-left:22px}.post-body a{color:var(--blue);font-weight:700}.admin-main pre{white-space:pre-wrap;background:#111827;color:#f8fafc;padding:14px;border-radius:14px;overflow:auto}@media(max-width:820px){.post-thumb{width:100%;height:160px}.app-profile-title{align-items:flex-start}.large-icon{width:64px;height:64px;border-radius:18px}}


/* v4 review links + public voting */
.rating-box{margin:24px 0;padding:18px;border:1px solid var(--line);border-radius:18px;background:#f8fafc}.rating-box h3{margin:0 0 6px}.star-row{display:flex;gap:8px;flex-wrap:wrap;margin:12px 0}.star-btn{border:1px solid #fed7aa;background:#fff7ed;color:#9a3412;border-radius:999px;padding:9px 12px;font-weight:900;cursor:pointer}.star-btn:hover,.star-btn.active{background:#f59e0b;color:white;border-color:#f59e0b}.rating-box .small{margin:6px 0 0}

.contact-list p{margin:0 0 12px}.contact-list a{word-break:break-word}.profile-head{align-items:start}


/* v6 registered voting + draft review pages */
.check-row{display:flex;align-items:center;gap:10px;margin:12px 0;font-weight:700;color:#344054}.check-row input{width:18px;height:18px}.draft-badge{background:#fef3c7;color:#92400e}.rating-box .notice{margin-bottom:14px}.profile-mini{font-size:13px;color:#667085}


/* v11 admin clarity patch */
.admin-editor-head{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:16px}
.status-panel{display:grid;grid-template-columns:1fr minmax(220px,320px);gap:16px;align-items:end;background:#f8fafc;border:1px solid var(--line);border-radius:18px;padding:16px;margin-bottom:16px}
.status-badge{display:inline-flex;align-items:center;padding:4px 10px;border-radius:999px;font-weight:900;font-size:12px;text-transform:uppercase;letter-spacing:.02em}
.status-badge.published{background:#dcfce7;color:#166534}.status-badge.draft{background:#fef3c7;color:#92400e}.status-badge.archived{background:#e5e7eb;color:#374151}.status-line{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
@media(max-width:820px){.admin-editor-head,.status-panel{grid-template-columns:1fr;display:grid}.admin-editor-head .btn{width:100%}}


/* v14 TikTok highlights */
.tiktok-card h3{margin:10px 0 8px}.tiktok-card p{color:var(--muted);line-height:1.6}.tiktok-card .btn{margin-top:10px}.cta-card{background:linear-gradient(135deg,#ffffff,#eff6ff)}

/* v18 admin lock patch: menu items are visibly disabled until admin login succeeds. */
body.admin-locked .admin-menu a[data-locked="true"]{opacity:.38;pointer-events:none;cursor:not-allowed;}
body.admin-locked .admin-menu a[data-locked="true"]::after{content:" 🔒";font-size:12px;}

/* v19: clean admin login screen. Hide admin sidebar completely until logged in. */
body.admin-locked .admin-shell{display:block;min-height:100vh;}
body.admin-locked .admin-side{display:none!important;}
body.admin-locked .admin-main{min-height:100vh;padding:24px;background:#f8fafc;display:grid;place-items:start center;}
.public-admin-link{background:#172033!important;color:#fff!important;}


/* v35 Ghost-inspired editor */
.rich-editor{border:1px solid #d7dee8;border-radius:18px;background:#fff;overflow:hidden;margin:12px 0 18px;box-shadow:0 10px 30px rgba(15,23,42,.06)}
.rich-editor-head{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 14px;background:#f8fafc;border-bottom:1px solid #e5eaf1}
.editor-toolbar{display:flex;gap:6px;flex-wrap:wrap;padding:10px 12px;border-bottom:1px solid #e5eaf1;background:#fff}
.editor-toolbar button{border:1px solid #d7dee8;background:#f8fafc;border-radius:999px;padding:7px 10px;font-weight:700;font-size:12px;cursor:pointer;color:#243247}
.editor-toolbar button:hover{background:#eaf1ff;border-color:#9cb8ee}
.rich-editor-text{width:100%;min-height:360px;border:0;outline:0;resize:vertical;padding:18px 20px;font-size:16px;line-height:1.75;font-family:ui-serif,Georgia,Cambria,"Times New Roman",serif;color:#172033;background:#fff}
.editor-help{padding:10px 14px;border-top:1px solid #edf1f7;background:#fbfdff;color:#667085}
.editor-preview{padding:18px 20px;border-top:1px solid #e5eaf1;background:#fffdf8}
.editor-preview figure img{max-width:100%;border-radius:16px}.editor-preview-video{padding:12px 14px;border:1px dashed #b7c7e8;border-radius:14px;background:#f8fbff;margin:10px 0}


/* v37 Ghost typography match + fixed public Markdown rendering */
.content-page{max-width:900px;margin-left:auto;margin-right:auto;background:#fff;border:1px solid #e6e9ef;border-radius:24px;padding:clamp(24px,4.5vw,58px);box-shadow:0 18px 55px rgba(15,23,42,.07)}
.content-page>h1,.content-page article>h1{font-size:clamp(38px,5.6vw,56px);line-height:1.04;letter-spacing:-.035em;margin:0 0 24px;color:#111827;font-weight:900}
.post-body{font-size:18px;line-height:1.78;color:#273142;max-width:820px;margin:0 auto}.post-body p{margin:0 0 1.25em}.post-body h1{font-size:clamp(34px,4.5vw,48px);line-height:1.08;letter-spacing:-.03em;margin:1.25em 0 .45em;color:#111827}.post-body h2{font-size:clamp(28px,3.5vw,34px);line-height:1.18;letter-spacing:-.025em;margin:1.65em 0 .55em;color:#111827}.post-body h3{font-size:clamp(21px,2.5vw,24px);line-height:1.28;margin:1.45em 0 .45em;color:#111827}.post-body h4{font-size:19px;line-height:1.35;margin:1.3em 0 .4em;color:#111827}.post-body ul,.post-body ol{margin:0 0 1.35em 1.35em;padding-left:1em}.post-body li{margin:.45em 0;padding-left:.2em}.post-body blockquote{margin:1.5em 0;padding:1em 1.2em;border-left:4px solid #d7dee8;background:#f8fafc;border-radius:0 14px 14px 0;color:#334155}.post-body hr{border:0;border-top:1px solid #e5e7eb;margin:2.2em 0}.post-body figure{margin:1.8em 0}.post-body figure img,.featured-image{display:block;width:100%;max-width:100%;border-radius:18px}.post-body figcaption{font-size:14px;line-height:1.5;text-align:center;color:#667085;margin-top:8px}.post-body a{color:#1867e8;text-decoration:underline;text-underline-offset:3px;font-weight:700}.video-embed{position:relative;aspect-ratio:16/9;margin:1.8em 0;border-radius:18px;overflow:hidden;background:#0f172a}.video-embed iframe{position:absolute;inset:0;width:100%;height:100%;border:0}
.editor-preview .post-body{max-width:820px;font-size:18px;line-height:1.78}.editor-preview hr{border:0;border-top:1px solid #e5e7eb;margin:2em 0}.rich-editor-text{font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;font-size:17px;line-height:1.8}.editor-toolbar button[data-insert="divider"]{background:#fff7ed;border-color:#fed7aa;color:#9a3412}

/* v38 visual Ghost-like editor */
.ghost-editor .rich-editor-visual{
  min-height: 420px;
  background:#fff;
  border:1px solid #d8dee9;
  border-radius:18px;
  padding:28px;
  font-size:18px;
  line-height:1.75;
  color:#1f2937;
  outline:none;
  max-width: 860px;
}
.ghost-editor .rich-editor-visual:focus{border-color:#2563eb;box-shadow:0 0 0 3px rgba(37,99,235,.10)}
.ghost-editor .rich-editor-visual h1{font-size:42px;line-height:1.12;margin:0 0 22px;font-weight:800;color:#111827}
.ghost-editor .rich-editor-visual h2{font-size:30px;line-height:1.22;margin:34px 0 14px;font-weight:800;color:#111827}
.ghost-editor .rich-editor-visual h3{font-size:23px;line-height:1.3;margin:28px 0 10px;font-weight:750;color:#111827}
.ghost-editor .rich-editor-visual p{margin:0 0 18px}
.ghost-editor .rich-editor-visual ul,.ghost-editor .rich-editor-visual ol{padding-left:1.55em;margin:0 0 20px}
.ghost-editor .rich-editor-visual li{margin:7px 0}
.ghost-editor .rich-editor-visual blockquote{border-left:4px solid #d1d5db;margin:24px 0;padding:4px 0 4px 18px;color:#4b5563}
.ghost-editor .rich-editor-visual hr,.post-body hr{border:0;border-top:1px solid #e5e7eb;margin:34px 0}
.ghost-editor .rich-editor-visual figure{margin:26px 0}.ghost-editor .rich-editor-visual img{max-width:100%;border-radius:16px}.ghost-editor .rich-editor-visual figcaption{font-size:13px;color:#6b7280;text-align:center;margin-top:8px}
.editor-toolbar{position:sticky;top:0;background:rgba(255,255,255,.96);backdrop-filter:blur(8px);z-index:3;border:1px solid #e5e7eb;border-radius:16px;padding:8px;margin-bottom:12px;display:flex;flex-wrap:wrap;gap:6px}
.editor-toolbar button{border:1px solid #d1d5db;background:#fff;border-radius:10px;padding:8px 10px;font-weight:700;cursor:pointer}.editor-toolbar button:hover{background:#f3f4f6}
.post-body{font-size:18px;line-height:1.75;color:#1f2937}.post-body h1{font-size:44px;line-height:1.12;margin:0 0 24px;color:#111827}.post-body h2{font-size:31px;line-height:1.22;margin:38px 0 15px;color:#111827}.post-body h3{font-size:23px;line-height:1.3;margin:30px 0 10px;color:#111827}.post-body p{margin:0 0 20px}.post-body ul,.post-body ol{padding-left:1.55em;margin:0 0 22px}.post-body li{margin:7px 0}.post-body blockquote{border-left:4px solid #d1d5db;margin:26px 0;padding:4px 0 4px 18px;color:#4b5563}.post-body figure{margin:28px 0}.post-body img{max-width:100%;border-radius:16px}.post-body figcaption{font-size:13px;color:#6b7280;text-align:center;margin-top:8px}

/* v41 button feedback and save states */
.btn,button,.pill,.star-btn,nav a{transition:transform .14s ease, background-color .18s ease, color .18s ease, border-color .18s ease, box-shadow .18s ease, opacity .18s ease}
.btn:hover{transform:translateY(-1px);box-shadow:0 10px 24px rgba(24,103,232,.18)}
.btn:active,.btn.btn-tap{transform:scale(.97)}
.btn[disabled],button[disabled]{opacity:.68;cursor:not-allowed;transform:none!important;box-shadow:none!important}
.btn.btn-loading{position:relative;background:#1d4ed8;color:#fff;pointer-events:none}
.btn.btn-loading::before{content:"";width:14px;height:14px;border:2px solid rgba(255,255,255,.55);border-top-color:#fff;border-radius:50%;display:inline-block;animation:uuphSpin .75s linear infinite;margin-right:8px}
.btn.btn-success{background:#16a34a!important;color:#fff!important;border-color:#16a34a!important;box-shadow:0 10px 24px rgba(22,163,74,.20)}
.btn.btn-error{background:#dc2626!important;color:#fff!important;border-color:#dc2626!important;box-shadow:0 10px 24px rgba(220,38,38,.18)}
@keyframes uuphSpin{to{transform:rotate(360deg)}}
.admin-toast-host{position:fixed;right:20px;bottom:20px;z-index:9999;display:grid;gap:10px;max-width:min(420px,calc(100vw - 32px))}
.admin-toast{padding:13px 15px;border-radius:16px;background:#172033;color:#fff;box-shadow:0 16px 42px rgba(15,23,42,.22);font-weight:800;opacity:0;transform:translateY(10px) scale(.98);transition:opacity .2s ease,transform .2s ease;border:1px solid rgba(255,255,255,.12)}
.admin-toast.show{opacity:1;transform:translateY(0) scale(1)}
.admin-toast.success{background:#166534}.admin-toast.error{background:#991b1b}.admin-toast.info{background:#1d4ed8}
.form-saved-note{display:inline-flex;align-items:center;gap:8px;color:#166534;font-weight:800;font-size:13px;margin-left:10px}
@media(max-width:720px){.admin-toast-host{right:12px;left:12px;bottom:12px}.btn{width:auto}}

/* v42: OLA admin list search, pagination, and last-updated organization */
.admin-list-toolbar{margin:14px 0 16px;}
.toolbar-row{display:flex;gap:12px;align-items:end;flex-wrap:wrap;}
.toolbar-field{display:flex;flex-direction:column;gap:6px;min-width:190px;}
.toolbar-field.search-field{flex:1 1 320px;}
.list-card{padding:0;overflow:hidden;}
.admin-table{width:100%;border-collapse:separate;border-spacing:0;}
.admin-table th{font-size:12px;text-transform:uppercase;letter-spacing:.04em;color:#64748b;text-align:left;background:#f8fafc;border-bottom:1px solid #e5e7eb;padding:12px 14px;position:sticky;top:0;z-index:1;}
.admin-table td{vertical-align:middle;border-bottom:1px solid #eef2f7;padding:12px 14px;font-size:14px;color:#0f172a;}
.admin-table tbody tr:hover{background:#f8fbff;}
.app-name-cell{display:flex;gap:10px;align-items:center;min-width:190px;}
.tiny-app-icon{width:34px;height:34px;border-radius:10px;object-fit:cover;box-shadow:0 1px 3px rgba(15,23,42,.12);}
.row-actions{display:flex;gap:6px;flex-wrap:wrap;min-width:210px;}
.row-actions .btn{padding:8px 10px;font-size:13px;}
.admin-pagination{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:14px;border-top:1px solid #e5e7eb;background:#fff;}
.readonly-field{border:1px solid #e5e7eb;background:#f8fafc;border-radius:14px;padding:12px 14px;min-height:76px;}
.readonly-field strong{display:block;margin-top:4px;color:#0f172a;}
@media (max-width:860px){.toolbar-row{align-items:stretch}.toolbar-field,.toolbar-field.search-field{flex:1 1 100%;min-width:0}.admin-pagination{flex-direction:column;align-items:stretch}.row-actions{min-width:0}.admin-table{font-size:13px}.table-wrap{overflow-x:auto}}


/* v44: Pages admin list/editor improvements */
.page-list-card .meta{display:flex;gap:10px;flex-wrap:wrap;align-items:center;margin-bottom:8px}
.admin-editor-actions{display:flex;gap:10px;flex-wrap:wrap;align-items:center;margin-top:14px}

/* v45 staff role lockdown */
.admin-menu a.role-hidden{display:none!important;}
.admin-role-badge{margin:10px 0 14px;padding:10px 12px;border:1px solid rgba(255,255,255,.16);border-radius:12px;background:rgba(255,255,255,.08);color:#e5e7eb!important;}
.admin-role-badge strong{color:#fff;}


/* v63: public database pagination and lightweight result controls */
.results-meta{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap;margin:0 0 12px;}
.pager{display:flex;gap:10px;align-items:center;flex-wrap:wrap;}
.pager .btn{padding:8px 12px;font-size:13px;}
@media(max-width:720px){.results-meta{align-items:flex-start}.pager{width:100%;justify-content:space-between}}

/* v63.6: OLA admin auto review link field */
.inline-input-action{display:flex;gap:8px;align-items:center}
.inline-input-action .input{flex:1;min-width:0}
.icon-btn{white-space:nowrap;padding:10px 12px}
.review-link-field input[readonly]{background:#f8fafc;color:#334155}
@media(max-width:720px){.inline-input-action{flex-direction:column;align-items:stretch}.icon-btn{width:100%}}

/* v63.7 admin field readability improvements */
.field-label{display:flex;align-items:center;gap:7px;font-weight:800;color:#475467;margin-bottom:6px;line-height:1.25}
.field-icon{display:inline-grid;place-items:center;min-width:24px;width:24px;height:24px;border-radius:9px;background:#eef2ff;color:#1d4ed8;font-size:13px;font-weight:900}
.field-help{margin:6px 0 0;line-height:1.45}
.admin-field input[type="date"]{min-height:48px;color:#172033}
.admin-field-reviewLink .inline-input-action{margin-top:2px}

/* v63.14 Supabase Storage image upload tools */
.media-upload-panel{border:1px solid rgba(15,23,42,.12);background:rgba(248,250,252,.9);border-radius:16px;padding:14px;margin:14px 0;display:grid;gap:10px}
.media-upload-row{display:flex;gap:10px;align-items:center;flex-wrap:wrap}
.media-upload-row input[type=file]{max-width:420px}
.featured-image-preview img{width:100%;max-width:360px;max-height:180px;object-fit:cover;border-radius:14px;border:1px solid rgba(15,23,42,.12);display:block;margin-top:8px}
.form-grid .wide{grid-column:1/-1}
.editor-toolbar button[data-special="imageUpload"]{font-weight:700}

/* v63.16 SEO admin fields */
.seo-panel{border:1px solid rgba(15,23,42,.10);background:#f8fafc;border-radius:18px;padding:16px;margin:14px 0;}
.seo-panel h2{font-size:1rem;margin:0 0 6px;}
.seo-panel textarea{width:100%;border:1px solid rgba(15,23,42,.16);border-radius:14px;padding:10px 12px;font:inherit;resize:vertical;}
.featured-image-preview img,.featured-image{max-width:100%;height:auto;}
figcaption{font-size:.85rem;color:#64748b;margin-top:6px;text-align:center;}

/* v63.17 sticky editor save bar */
.admin-editor-actions{
  position: sticky;
  bottom: 0;
  z-index: 12;
  margin: 18px -20px -20px;
  padding: 12px 16px;
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(12px);
  border-top: 1px solid var(--line);
  box-shadow: 0 -12px 34px rgba(15,23,42,.08);
  border-radius: 0 0 var(--radius) var(--radius);
}
.admin-editor-actions .btn:first-child{
  min-width: 150px;
  box-shadow: 0 12px 28px rgba(24,103,232,.20);
}
.admin-editor-actions [data-save-status]{
  margin-left:auto;
  font-weight:700;
}
@media(max-width:720px){
  .admin-editor-actions{
    margin-left:-16px;
    margin-right:-16px;
    margin-bottom:-16px;
    display:grid;
    grid-template-columns:1fr;
    align-items:stretch;
  }
  .admin-editor-actions .btn,
  .admin-editor-actions a.btn{
    width:100%;
  }
  .admin-editor-actions [data-save-status]{
    margin-left:0;
    text-align:center;
  }
}


/* v63.18 sticky admin sidebar + floating back to top */
@media(min-width:821px){
  .admin-shell{
    align-items:start;
  }
  .admin-side{
    position:sticky;
    top:0;
    height:100vh;
    overflow-y:auto;
    z-index:30;
  }
  .admin-main{
    min-width:0;
  }
}
.admin-back-top{
  position:fixed;
  right:22px;
  bottom:88px;
  z-index:80;
  border:1px solid rgba(255,255,255,.24);
  background:#172033;
  color:#fff;
  border-radius:999px;
  padding:11px 14px;
  font-weight:900;
  box-shadow:0 16px 42px rgba(15,23,42,.24);
  cursor:pointer;
  opacity:0;
  pointer-events:none;
  transform:translateY(10px);
  transition:opacity .18s ease, transform .18s ease, background .18s ease;
}
.admin-back-top:hover{
  background:#0f3f91;
}
.admin-back-top.show{
  opacity:1;
  pointer-events:auto;
  transform:translateY(0);
}
@media(max-width:720px){
  .admin-back-top{
    right:14px;
    bottom:96px;
    padding:10px 12px;
    font-size:13px;
  }
}

/* v63.19 public view buttons in sticky editor bar */
.admin-editor-actions .editor-public-view{
  margin-left:8px;
  white-space:nowrap;
}
.admin-editor-actions [data-save-status]{
  min-width:180px;
}
@media(max-width:720px){
  .admin-editor-actions .editor-public-view{
    margin-left:0;
  }
  .admin-editor-actions [data-save-status]{
    min-width:0;
  }
}

/* v63.20 Focus writing mode for Post/Page editors */
.editor-focus-form .focus-writing-intro{
  border:1px solid rgba(37,99,235,.14);
  background:linear-gradient(180deg, rgba(37,99,235,.07), rgba(37,99,235,.025));
  border-radius:16px;
  padding:14px 16px;
  margin-bottom:14px;
}
.editor-focus-form .focus-writing-intro p{margin:4px 0 0}
.editor-focus-form .focus-main-fields{margin-bottom:14px}
.editor-collapse-panel{
  border:1px solid rgba(15,23,42,.12);
  background:#fff;
  border-radius:16px;
  padding:0;
  margin:14px 0;
  overflow:hidden;
}
.editor-collapse-panel summary{
  cursor:pointer;
  list-style:none;
  padding:14px 16px;
  font-weight:800;
  color:#0f172a;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  background:#f8fafc;
}
.editor-collapse-panel summary::-webkit-details-marker{display:none}
.editor-collapse-panel summary:after{
  content:'Open';
  font-size:12px;
  font-weight:800;
  color:#475569;
  background:#e2e8f0;
  border-radius:999px;
  padding:4px 10px;
}
.editor-collapse-panel[open] summary{
  border-bottom:1px solid rgba(15,23,42,.10);
  background:#eef6ff;
}
.editor-collapse-panel[open] summary:after{content:'Hide'}
.editor-collapse-panel > :not(summary){
  margin:14px 16px;
}
.editor-collapse-panel .seo-panel,
.editor-collapse-panel .media-upload-panel,
.editor-collapse-panel .status-panel{
  margin:14px 16px;
}
.editor-focus-form textarea[name="excerpt"]{
  min-height:88px;
}
@media (max-width:720px){
  .editor-collapse-panel summary{align-items:flex-start;flex-direction:column}
  .editor-collapse-panel summary:after{align-self:flex-start}
}

/* v63.21: Post/Page floating formatting toolbar */
.editor-focus-form .rich-editor .editor-toolbar{
  position: sticky;
  top: 12px;
  z-index: 140;
  background: rgba(255,255,255,.98);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid #dbe3ee;
  box-shadow: 0 10px 28px rgba(15,23,42,.10);
  border-radius: 18px;
  padding: 10px;
  margin: 10px 0 14px;
}
.editor-focus-form .rich-editor .editor-toolbar::before{
  content: 'Formatting';
  display: inline-flex;
  align-items: center;
  align-self: center;
  margin: 0 4px 0 2px;
  padding: 7px 10px;
  border-radius: 999px;
  background: #eef6ff;
  color: #1e3a8a;
  font-weight: 800;
  font-size: 12px;
}
@media (max-width: 760px){
  .editor-focus-form .rich-editor .editor-toolbar{
    top: 8px;
    max-height: 42vh;
    overflow: auto;
  }
}

/* v63.22: Fix floating formatting toolbar for Post/Page editor
   Sticky elements cannot work properly when a parent has overflow:hidden.
   Keep rounded border on the editor, but allow the toolbar to stick to the viewport. */
.editor-focus-form .rich-editor{
  overflow: visible;
}
.editor-focus-form .rich-editor .editor-toolbar{
  position: sticky;
  top: 10px;
  z-index: 220;
  background: rgba(255,255,255,.98);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid #dbe3ee;
  box-shadow: 0 14px 34px rgba(15,23,42,.12);
  border-radius: 18px;
}
.editor-focus-form .rich-editor .rich-editor-head{
  border-radius: 18px 18px 0 0;
}
.editor-focus-form .rich-editor .rich-editor-visual{
  border-radius: 0 0 18px 18px;
}
@media (max-width: 760px){
  .editor-focus-form .rich-editor .editor-toolbar{
    top: 8px;
    max-height: 42vh;
    overflow:auto;
  }
}

/* v63.25: Blog cards grid for homepage and blog index */
.article-list{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(280px,1fr));
  gap:20px;
  align-items:stretch;
}
.article-card{
  display:flex;
  flex-direction:column;
  gap:14px;
  min-height:100%;
  padding:18px;
}
.article-card .post-thumb{
  width:100%;
  height:190px;
  object-fit:cover;
  border-radius:18px;
}
.article-card > div{
  flex:1;
}
.article-card h3{
  font-size:20px;
  line-height:1.25;
}
.article-card p{
  display:-webkit-box;
  -webkit-line-clamp:4;
  -webkit-box-orient:vertical;
  overflow:hidden;
}
.article-card .btn{
  width:100%;
  margin-top:auto;
}
@media(min-width:1100px){
  .article-list{
    grid-template-columns:repeat(3,minmax(0,1fr));
  }
  .section .article-list:has(.article-card:nth-child(1):last-child){
    grid-template-columns:minmax(0,420px);
  }
  .section .article-list:has(.article-card:nth-child(2):last-child){
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
}
@media(max-width:820px){
  .article-list{grid-template-columns:1fr;}
  .article-card .post-thumb{height:180px;}
}

/* v63.27 public OLA voting UI */
.community-vote-box{border:1px solid rgba(34,197,94,.22);background:linear-gradient(180deg,rgba(34,197,94,.08),rgba(255,255,255,.96));}
.community-vote-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:12px;}
.community-vote-head h3{margin:0 0 4px;}
.community-score{min-width:96px;text-align:center;font-size:1.7rem;font-weight:800;color:#111827;background:#fff;border:1px solid rgba(15,23,42,.08);border-radius:18px;padding:12px;box-shadow:0 10px 24px rgba(15,23,42,.08);}
.community-score span{display:block;font-size:.78rem;font-weight:600;color:#64748b;margin-top:2px;}
.vote-stars{display:flex;gap:8px;align-items:center;flex-wrap:wrap;margin:8px 0 4px;}
.vote-star{appearance:none;border:1px solid rgba(15,23,42,.12);background:#fff;color:#cbd5e1;border-radius:14px;width:46px;height:44px;font-size:1.55rem;line-height:1;cursor:pointer;box-shadow:0 6px 14px rgba(15,23,42,.06);transition:transform .12s ease, color .12s ease, background .12s ease, border-color .12s ease;}
.vote-star:hover{transform:translateY(-1px);border-color:rgba(245,158,11,.55);color:#f59e0b;}
.vote-star.active{color:#f59e0b;background:#fffbeb;border-color:#f59e0b;}
#voteStatus{margin-top:8px;}
@media(max-width:640px){.community-vote-head{display:block}.community-score{margin-top:10px}.vote-star{width:42px;height:40px}}

/* v63.29 Public OLA comments */
.comments-box{
  margin-top:20px;
  padding:18px;
  border:1px solid rgba(31,41,55,.10);
  border-radius:22px;
  background:#fff;
  box-shadow:0 10px 30px rgba(15,23,42,.06);
}
.comments-list{display:grid;gap:12px;margin:14px 0;}
.public-comment{
  padding:14px 16px;
  border:1px solid rgba(31,41,55,.08);
  border-radius:16px;
  background:#f8fafc;
}
.public-comment p{margin:.55rem 0 0;}
.comment-form{margin-top:16px;}
.comment-form textarea{width:100%;}

/* v63.29 Admin comment moderation */
.comment-moderation-list{display:grid;gap:14px;}
.comment-admin-card .meta{display:flex;flex-wrap:wrap;gap:8px;align-items:center;color:#64748b;font-size:.88rem;}
.comment-admin-card p{margin:.55rem 0;}

/* v63.31 comment role badges + moderation polish */
.comment-role-badge{
  display:inline-flex;
  align-items:center;
  gap:6px;
  padding:4px 10px;
  border-radius:999px;
  font-size:.72rem;
  font-weight:800;
  line-height:1;
  letter-spacing:.02em;
  border:1px solid rgba(15,23,42,.08);
  background:#eef2ff;
  color:#3730a3;
}
.comment-role-badge.role-owner,
.comment-role-badge.role-admin{
  background:#dbeafe;
  color:#1d4ed8;
}
.comment-role-badge.role-staff,
.comment-role-badge.role-editor,
.comment-role-badge.role-team{
  background:#ecfdf3;
  color:#166534;
}
.comment-role-badge.role-member{
  background:#f3f4f6;
  color:#475467;
}
.public-comment.team-comment{
  background:linear-gradient(180deg,#eff6ff,#ffffff);
  border-color:rgba(29,78,216,.16);
}
.public-comment .meta{
  align-items:center;
}
.public-comment .meta strong{
  color:#111827;
}
.comment-admin-card.team-comment-admin{
  border-color:rgba(29,78,216,.16);
  background:linear-gradient(180deg,#f8fbff,#ffffff);
}
.admin-menu a[href="#comments"]{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
}
.nav-count-badge{
  display:none;
  min-width:24px;
  height:24px;
  padding:0 7px;
  border-radius:999px;
  background:#ef4444;
  color:#fff;
  font-size:12px;
  font-weight:800;
  align-items:center;
  justify-content:center;
  line-height:24px;
}
.nav-count-badge.show{display:inline-flex;}
.admin-menu a.has-pending{background:rgba(239,68,68,.12);}

/* v63.32 custom badge icons, replies, trust badges, sorting */
.comment-badge-icon{width:16px;height:16px;border-radius:50%;object-fit:cover;display:inline-block;vertical-align:middle;box-shadow:0 1px 4px rgba(15,23,42,.15)}
.comment-role-badge.trust-badge{background:#fff7ed;color:#9a3412;border-color:#fed7aa;}
.comment-sort-row{align-items:center;margin-top:6px;margin-bottom:8px;}
.comment-sort-row .select{max-width:190px;padding:9px 12px;border-radius:12px;}
.public-comment{position:relative;transition:box-shadow .15s ease, transform .15s ease;}
.public-comment:hover{box-shadow:0 10px 24px rgba(15,23,42,.07);}
.public-comment.comment-reply{background:#fff;border-left:3px solid #dbeafe;}
.public-comment .filters{margin-top:10px;margin-bottom:0;}
.reply-comment-btn{padding:7px 10px;border-radius:10px;font-size:12px;}
.reply-note{background:#eff6ff;color:#1d4ed8;border:1px solid #bfdbfe;border-radius:12px;padding:8px 10px;margin-bottom:8px;}
.badge-preview-icon{width:40px;height:40px;border-radius:12px;object-fit:cover;border:1px solid var(--line);background:#fff;}
.badge-edit-form{display:grid;gap:10px;}
.badge-edit-form .filters{align-items:center;}
@media(max-width:640px){.public-comment.comment-reply{margin-left:10px!important}.comment-sort-row .select{max-width:100%;}}

/* v63.33 mobile-first flat replies + member-only comment voting */
.member-cta{border-left:4px solid #2563eb;background:#eff6ff;}
.comment-meta{display:flex;flex-wrap:wrap;gap:8px;align-items:center;line-height:1.25;}
.comment-vote-row{display:flex;flex-wrap:wrap;gap:8px;align-items:center;margin-top:10px;}
.comment-vote-btn{border:1px solid rgba(15,23,42,.10);background:#fff;color:#334155;border-radius:999px;padding:7px 10px;font-weight:800;cursor:pointer;box-shadow:0 3px 10px rgba(15,23,42,.04);}
.comment-vote-btn:hover{border-color:#93c5fd;background:#eff6ff;}
.comment-vote-btn.active{background:#dbeafe;border-color:#2563eb;color:#1d4ed8;}
.comment-score{font-weight:700;color:#64748b;}
.flat-replies{margin-top:14px;padding:10px 0 0 14px;border-left:3px solid #dbeafe;display:grid;gap:10px;}
.reply-item{background:#fff;border:1px solid rgba(37,99,235,.12);border-radius:14px;padding:12px 14px;margin:0;}
.reply-to-line{color:#2563eb;font-weight:700;margin-top:4px;}
.replies-label{font-weight:800;color:#475569;margin-bottom:0;}
.compact-actions{margin-top:8px!important;gap:8px;}
.public-comment .flat-replies .reply-item p{margin-top:8px;}
@media(max-width:640px){
  .comments-box{padding:14px;border-radius:18px;}
  .comments-list{gap:14px;}
  .public-comment{padding:13px 14px;border-radius:16px;margin-left:0!important;}
  .public-comment:hover{box-shadow:none;}
  .comment-meta{gap:6px;}
  .comment-role-badge{font-size:.68rem;padding:4px 8px;}
  .comment-badge-icon{width:14px;height:14px;}
  .flat-replies{padding-left:10px;margin-left:0;border-left:3px solid #bfdbfe;}
  .reply-item{padding:11px 12px;border-radius:14px;}
  .comment-vote-row{gap:6px;}
  .comment-vote-btn{padding:7px 9px;font-size:13px;}
  .comment-score{width:100%;font-size:.78rem;}
  .compact-actions .btn{padding:7px 10px;font-size:12px;}
}

/* v63.34 admin menu icons + members admin */
.admin-menu a{display:flex;align-items:center;gap:10px;}
.admin-menu-icon{display:inline-flex;width:22px;min-width:22px;align-items:center;justify-content:center;font-size:17px;line-height:1;}
.admin-menu-icon-img{width:22px;height:22px;object-fit:contain;border-radius:6px;display:inline-block;}
.admin-menu-label{flex:1;}
.member-table textarea{width:100%;min-width:220px;margin-top:8px;}
.member-table .input{min-width:220px;}
.comment-role-badge.manual-badge{background:#fff7ed;color:#9a3412;border-color:#fed7aa;}
.comment-role-badge.role-moderator{background:#f5f3ff;color:#6d28d9;}

/* v63.35 community safety / featured comments */
.featured-comment-badge{
  display:inline-flex;
  align-items:center;
  border-radius:999px;
  padding:4px 9px;
  font-size:.72rem;
  font-weight:800;
  background:#fff7ed;
  color:#9a3412;
  border:1px solid rgba(234,88,12,.18);
}
.btn.ghost{
  background:transparent;
  color:#64748b;
  border:1px solid rgba(100,116,139,.18);
  box-shadow:none;
}
.btn.ghost:hover{background:#f8fafc;color:#334155;}
.report-card{border-left:4px solid #f97316;}
.member-table td{vertical-align:top;}

/* v63.36 member social profiles */
.member-profile-mini,.member-public-card{display:flex;align-items:center;gap:16px;flex-wrap:wrap}
.member-avatar{width:54px;height:54px;border-radius:999px;object-fit:cover;border:3px solid #fff;box-shadow:0 8px 20px rgba(15,23,42,.12);background:#e0ecff;display:inline-flex;align-items:center;justify-content:center;font-weight:900;color:#1d4ed8}
.member-avatar.large{width:96px;height:96px;font-size:2rem}
.member-avatar-fallback{background:linear-gradient(135deg,#dbeafe,#eff6ff)}
.member-dashboard-card{background:linear-gradient(180deg,#f8fbff,#fff)}
.member-stat-row{display:flex;gap:8px;flex-wrap:wrap;margin:12px 0}
.member-profile-public{display:grid;gap:18px;width:100%}
.member-cover{min-height:160px;border-radius:24px;background:linear-gradient(135deg,#0f172a,#1d4ed8);background-size:cover;background-position:center;box-shadow:0 12px 30px rgba(15,23,42,.14)}
.member-public-card{margin-top:-70px;position:relative;z-index:2;background:rgba(255,255,255,.96);backdrop-filter:blur(8px)}
.member-link-list{display:flex;gap:8px;flex-wrap:wrap;margin:10px 0 16px}
.member-link-pill{display:inline-flex;align-items:center;gap:6px;padding:9px 12px;border-radius:999px;background:#eff6ff;color:#1d4ed8;font-weight:800;text-decoration:none;border:1px solid rgba(29,78,216,.14)}
.member-link-pill:hover{background:#dbeafe}
.member-badge-row{display:flex;gap:8px;flex-wrap:wrap;margin:10px 0}
.member-post-card{padding:16px;border:1px solid #e5e7eb;border-radius:18px;background:#fff;margin:12px 0;box-shadow:0 6px 18px rgba(15,23,42,.05)}
.compact-app-card{display:flex;justify-content:space-between;gap:12px;align-items:center;flex-wrap:wrap}
@media(max-width:640px){.member-public-card{margin-top:-54px}.member-avatar.large{width:78px;height:78px}.member-cover{min-height:130px;border-radius:18px}.member-profile-mini,.member-public-card{align-items:flex-start}.member-link-pill{width:100%;justify-content:center}.compact-app-card .btn{width:100%}}

/* v63.40 safe mobile rescue: clean Facebook-like mobile layout, no broken edge-to-edge menu */
@media (max-width: 820px){
  :root{--radius:16px;}
  html,body{width:100%;max-width:100%;overflow-x:hidden;}
  body{
    background:#f0f2f5;
    font-size:16px;
    line-height:1.55;
    -webkit-text-size-adjust:100%;
  }

  /* Header: compact, clean, app-like */
  .site-header{
    position:sticky;
    top:0;
    z-index:1000;
    min-height:58px;
    padding:8px 14px;
    gap:10px;
    background:#fff;
    border-bottom:1px solid #e4e6eb;
    box-shadow:0 1px 2px rgba(0,0,0,.04);
  }
  .brand{min-width:0;flex:1;gap:9px;}
  .brand span:last-child{min-width:0;display:block;}
  .brand strong{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:17px;line-height:1.12;}
  .brand small{font-size:11px;line-height:1.15;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:220px;}
  .logo-mark{width:38px;height:38px;border-radius:12px;font-size:18px;flex:0 0 auto;}
  .nav-toggle{
    display:inline-flex!important;
    align-items:center;
    justify-content:center;
    width:42px;
    height:42px;
    min-width:42px;
    padding:0;
    border:0;
    border-radius:999px;
    background:#f0f2f5;
    color:#111827;
    font-size:22px;
    line-height:1;
    box-shadow:none;
  }
  .nav-toggle:active{transform:scale(.96);background:#e4e6eb;}

  /* Menu: simple top sheet, readable, never edge-to-edge */
  body nav#nav,
  nav#nav{
    display:none;
    position:fixed;
    top:64px;
    left:12px;
    right:12px;
    width:auto;
    max-width:none;
    padding:8px;
    background:#fff;
    border:1px solid #e4e6eb;
    border-radius:18px;
    box-shadow:0 12px 32px rgba(15,23,42,.18);
    z-index:1001;
    overflow:hidden;
  }
  body nav#nav.open,
  nav#nav.open{
    display:flex!important;
    flex-direction:column;
    gap:2px;
  }
  nav#nav a{
    display:flex;
    align-items:center;
    min-height:48px;
    width:100%;
    padding:12px 14px;
    border-radius:12px;
    color:#111827;
    font-size:16px;
    font-weight:750;
    line-height:1.2;
    background:transparent;
  }
  nav#nav a:hover,
  nav#nav a:active{
    background:#f0f2f5;
    color:#111827;
  }
  nav#nav .admin-link,
  nav#nav a.admin-link{
    background:#111827!important;
    color:#fff!important;
  }

  /* Safe mobile gutters */
  .container,
  .section,
  main#app > *{
    max-width:100%;
  }
  .container{
    width:100%;
    padding-left:16px;
    padding-right:16px;
    margin-left:auto;
    margin-right:auto;
  }
  .section{padding:18px 0;}
  .hero{padding:22px 16px 10px;gap:16px;}

  /* Minimal feed style: softer cards, less heavy boxing */
  .card,
  .hero-card,
  .content-page,
  .comments-box,
  .community-vote-box{
    border:1px solid #e4e6eb;
    box-shadow:none;
    border-radius:16px;
    background:#fff;
  }
  .card{padding:16px;}
  .hero-card{padding:16px;}
  .content-page{padding:18px 16px;border-radius:16px;line-height:1.72;}

  .section-title{
    display:block;
    margin:0 0 12px;
    padding:0 2px;
  }
  .section-title h2{font-size:24px;line-height:1.15;margin:0;}
  .section-title p{font-size:15px;line-height:1.45;}

  .hero h1,
  .content-page h1{
    font-size:32px;
    line-height:1.08;
    letter-spacing:-.02em;
  }
  .hero p{font-size:16px;line-height:1.55;}
  h2{font-size:24px;line-height:1.18;}
  h3{font-size:19px;line-height:1.25;}
  p,li{font-size:16px;}

  /* Buttons: thumb-friendly without being bulky */
  .btn,.pill,button,.select,.input,textarea{
    min-height:44px;
    font-size:16px;
  }
  .btn{border-radius:12px;padding:11px 14px;}
  .filters{gap:8px;margin:10px 0;}
  .pill{padding:10px 12px;border-radius:999px;background:#fff;}

  /* Articles/posts: social feed spacing */
  .article-list{gap:10px;}
  .article-card{
    display:block;
    padding:16px;
    border-radius:16px;
    border:1px solid #e4e6eb;
    background:#fff;
    box-shadow:none;
  }
  .article-card h3{font-size:18px;line-height:1.25;margin-bottom:6px;}
  .article-card p{font-size:15px;line-height:1.48;}
  .meta{font-size:13px;gap:6px;margin-bottom:7px;}

  /* Tables/database: avoid broken horizontal overflow */
  .table-wrap{border-radius:14px;max-width:100%;overflow-x:auto;background:#fff;}
  th,td{padding:12px 10px;font-size:14px;}

  /* Comments: Facebook-like clean discussion blocks */
  .discussion,.comments-list{gap:8px;}
  .comment,.public-comment{
    border:0;
    border-radius:0;
    border-bottom:1px solid #e4e6eb;
    padding:13px 0;
    background:#fff;
    box-shadow:none;
  }
  .comment:last-child,.public-comment:last-child{border-bottom:0;}
  .comment p,.public-comment p{font-size:16px;line-height:1.5;margin-top:8px;}
  .comment .meta,.public-comment .meta{font-size:13px;align-items:center;}
  .comment-role-badge{font-size:11px;padding:4px 8px;}

  /* Member/profile areas: keep margins, clean social look */
  .profile-head{gap:12px;}
  .profile-head,.grid.two,.grid.three,.form-grid{grid-template-columns:1fr!important;}
  .score{font-size:34px;}
  .badge{font-size:12px;padding:6px 9px;}

  /* Forms/editor on mobile */
  .input,.select,textarea{
    border-radius:12px;
    padding:12px 13px;
  }
  textarea{line-height:1.5;}

  /* Footer */
  .footer{padding:24px 16px;margin-top:24px;}
  .footer-links{gap:10px;}
}

@media (max-width: 380px){
  .brand small{display:none;}
  .brand strong{font-size:16px;}
  .site-header{padding-left:12px;padding-right:12px;}
  .container{padding-left:14px;padding-right:14px;}
  .hero h1,.content-page h1{font-size:29px;}
}

/* v63.41 true mobile-first minimal UI: full-width sections, no clunky boxes, full-screen menu */
@media (max-width: 820px){
  :root{--radius:0;}
  html,body{
    width:100%;
    max-width:100%;
    overflow-x:hidden;
    background:#f0f2f5;
  }
  body{
    color:#111827;
    font-size:16px;
    line-height:1.55;
  }

  /* Header stays clean and stable */
  .site-header{
    position:sticky;
    top:0;
    z-index:2000;
    height:64px;
    min-height:64px;
    padding:10px 18px;
    background:#fff;
    border-bottom:1px solid #e5e7eb;
    box-shadow:0 1px 0 rgba(15,23,42,.04);
  }
  .brand{gap:12px;min-width:0;}
  .logo-mark{
    width:44px;
    height:44px;
    border-radius:14px;
    font-size:20px;
  }
  .brand strong{
    font-size:18px;
    line-height:1.05;
    font-weight:850;
  }
  .brand small{display:none!important;}

  /* Hamburger: no circle, bigger tappable icon only */
  .nav-toggle{
    display:inline-flex!important;
    align-items:center;
    justify-content:center;
    width:52px;
    height:52px;
    min-width:52px;
    padding:0;
    border:0!important;
    border-radius:0!important;
    background:transparent!important;
    color:#111827!important;
    box-shadow:none!important;
    font-size:33px!important;
    line-height:1;
    font-weight:500;
  }
  .nav-toggle:active{
    transform:scale(.97);
    background:transparent!important;
  }

  /* Full-width mobile menu below header */
  nav#nav,
  body nav#nav{
    display:none;
    position:fixed!important;
    z-index:1999;
    top:64px!important;
    left:0!important;
    right:0!important;
    bottom:0!important;
    width:100vw!important;
    max-width:100vw!important;
    height:calc(100dvh - 64px);
    padding:14px 18px 28px!important;
    margin:0!important;
    background:#fff!important;
    border:0!important;
    border-radius:0!important;
    box-shadow:none!important;
    overflow-y:auto;
    overscroll-behavior:contain;
  }
  nav#nav.open,
  body nav#nav.open{
    display:flex!important;
    flex-direction:column!important;
    gap:0!important;
  }
  nav#nav a{
    display:flex!important;
    align-items:center;
    width:100%!important;
    min-height:58px;
    padding:16px 2px!important;
    border-radius:0!important;
    border-bottom:1px solid #eef0f3;
    background:transparent!important;
    color:#111827!important;
    font-size:20px!important;
    line-height:1.2;
    font-weight:800!important;
  }
  nav#nav a:hover,
  nav#nav a:active{
    background:transparent!important;
    color:#1867e8!important;
  }
  nav#nav a.admin-link{
    margin-top:10px;
    border-bottom:0;
    color:#fff!important;
    background:#111827!important;
    justify-content:center;
    border-radius:14px!important;
    padding:16px!important;
  }

  /* Page structure: full-width, with text gutters instead of boxed cards */
  main#app,
  .container,
  .section{
    width:100%!important;
    max-width:100%!important;
    margin:0!important;
  }
  .container{
    padding-left:0!important;
    padding-right:0!important;
  }
  .section{
    padding:0!important;
  }
  .hero{
    padding:0!important;
    display:block!important;
  }

  /* Remove old bordered-box feel on mobile */
  .card,
  .hero-card,
  .content-page,
  .article-card,
  .comments-box,
  .community-vote-box,
  .profile-head > *,
  .member-profile-card,
  .profile-card,
  .public-profile-card{
    width:100%!important;
    max-width:100%!important;
    margin:0!important;
    border:0!important;
    border-radius:0!important;
    box-shadow:none!important;
    background:#fff!important;
  }
  .card,
  .hero-card,
  .content-page,
  .article-card,
  .comments-box,
  .community-vote-box{
    padding:22px 18px!important;
  }
  .card + .card,
  .article-card + .article-card,
  .comments-box + .card,
  .community-vote-box + .comments-box,
  .content-page + .content-page{
    border-top:8px solid #f0f2f5!important;
  }

  /* Social feed separators instead of card borders */
  .grid,
  .article-list,
  .discussion,
  .comments-list{
    gap:8px!important;
  }
  .grid.two,
  .grid.three,
  .profile-head,
  .form-grid{
    grid-template-columns:1fr!important;
  }
  .grid > .card,
  .article-list > .article-card{
    border-top:8px solid #f0f2f5!important;
  }

  /* Typography: readable, but not bulky */
  .hero h1,
  .content-page h1,
  h1{
    font-size:34px!important;
    line-height:1.05!important;
    letter-spacing:-.035em;
    margin:0 0 18px!important;
  }
  h2,.section-title h2{
    font-size:26px!important;
    line-height:1.12!important;
    letter-spacing:-.02em;
  }
  h3{font-size:20px!important;line-height:1.2!important;}
  p,li,.content-page,.post-body{
    font-size:17px!important;
    line-height:1.62!important;
  }
  .small{font-size:14px!important;line-height:1.45!important;}
  .section-title{
    padding:22px 18px 8px!important;
    margin:0!important;
    display:block!important;
    background:#fff;
  }
  .section-title p{font-size:16px!important;}

  /* Form fields/buttons keep inner margins */
  .filters,
  .search-panel,
  form,
  .comment-form{
    width:100%;
  }
  .btn{
    min-height:48px;
    border-radius:14px!important;
    padding:13px 18px!important;
    font-size:16px!important;
    font-weight:850!important;
  }
  .input,.select,textarea{
    min-height:50px;
    border-radius:14px!important;
    font-size:17px!important;
    padding:13px 14px!important;
    background:#fff!important;
  }
  .notice{
    margin:0!important;
    border-radius:0!important;
    border-left:5px solid var(--yellow)!important;
    background:#fffbeb!important;
    padding:16px 18px!important;
  }

  /* OLA profile: cleaner app profile layout */
  .profile-head{
    gap:0!important;
  }
  .profile-head .card,
  .profile-head > .card{
    padding:24px 18px!important;
    border-top:0!important;
  }
  .badge{
    border:0!important;
    border-radius:999px!important;
    padding:7px 10px!important;
    font-size:12px!important;
  }
  .score{font-size:34px!important;}

  /* Comments: no clipped blue blocks; clean FB-like replies */
  .comment,
  .public-comment{
    width:100%!important;
    border:0!important;
    border-radius:0!important;
    border-bottom:1px solid #edf0f3!important;
    padding:14px 0!important;
    background:#fff!important;
    box-shadow:none!important;
  }
  .public-comment.team-comment,
  .comment.team-comment{
    background:#f7fbff!important;
    padding:14px 12px!important;
    border-radius:14px!important;
    border-bottom:0!important;
    margin:8px 0!important;
  }
  .comment p,.public-comment p{
    font-size:16px!important;
    line-height:1.55!important;
  }
  .comment .meta,.public-comment .meta{
    gap:6px!important;
    font-size:13px!important;
  }

  /* Rankings/database: full-width content, horizontal scrolling only where needed */
  .table-wrap{
    width:100%!important;
    max-width:100%!important;
    margin:0!important;
    border-left:0!important;
    border-right:0!important;
    border-radius:0!important;
    box-shadow:none!important;
    overflow-x:auto!important;
    -webkit-overflow-scrolling:touch;
  }
  table{min-width:640px;}
  th,td{font-size:14px!important;padding:12px 10px!important;}

  /* Footer still strong but lighter spacing */
  .footer{
    margin-top:0!important;
    padding:28px 18px!important;
    display:block!important;
  }

  /* Very small screens */
  @media (max-width:380px){
    .site-header{padding-left:14px!important;padding-right:12px!important;}
    .logo-mark{width:42px;height:42px;}
    .brand strong{font-size:17px!important;}
    .nav-toggle{width:48px;height:48px;min-width:48px;font-size:31px!important;}
    .card,.hero-card,.content-page,.article-card,.comments-box,.community-vote-box{padding-left:16px!important;padding-right:16px!important;}
    .hero h1,.content-page h1,h1{font-size:31px!important;}
  }
}

/* v63.42 Mobile Light Feed System
   Goal: Facebook-like, light, organized mobile layout with full-width sections and thin dividers. */
.mobile-card-list{display:none;}
@media (max-width:820px){
  :root{--mobile-gutter:18px;--feed-line:rgba(15,23,42,.10);--feed-bg:#fff;--page-bg:#f5f6f8;}
  html,body{overflow-x:hidden!important;background:var(--page-bg)!important;}
  body{font-size:16px!important;}

  /* Header + hamburger: simple, bigger, no circle */
  .site-header{
    height:auto!important;
    min-height:76px!important;
    padding:10px var(--mobile-gutter)!important;
    background:#fff!important;
    border-bottom:1px solid rgba(15,23,42,.10)!important;
    box-shadow:0 1px 2px rgba(15,23,42,.04)!important;
  }
  .brand{min-width:0;gap:12px!important;}
  .brand strong{font-size:19px!important;line-height:1.1!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;max-width:calc(100vw - 150px);}
  .brand small{display:none!important;}
  .logo-mark{width:48px!important;height:48px!important;border-radius:14px!important;}
  .nav-toggle{
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    width:56px!important;
    min-width:56px!important;
    height:56px!important;
    padding:0!important;
    margin:0!important;
    border:0!important;
    border-radius:0!important;
    background:transparent!important;
    color:#111827!important;
    font-size:38px!important;
    line-height:1!important;
    box-shadow:none!important;
    -webkit-tap-highlight-color:transparent;
  }
  .nav-toggle:active{transform:scale(.96);}

  /* Full-screen menu below header, no floating card */
  nav#nav{
    display:none!important;
    position:fixed!important;
    top:76px!important;
    left:0!important;
    right:0!important;
    bottom:0!important;
    width:100vw!important;
    height:calc(100dvh - 76px)!important;
    margin:0!important;
    padding:12px 0 24px!important;
    background:#fff!important;
    border:0!important;
    border-radius:0!important;
    box-shadow:none!important;
    z-index:999!important;
    overflow-y:auto!important;
    -webkit-overflow-scrolling:touch;
  }
  nav#nav.open{display:block!important;}
  nav#nav a{
    display:flex!important;
    align-items:center!important;
    min-height:60px!important;
    width:100%!important;
    padding:0 var(--mobile-gutter)!important;
    margin:0!important;
    border-radius:0!important;
    border-bottom:1px solid var(--feed-line)!important;
    background:#fff!important;
    color:#111827!important;
    font-size:20px!important;
    font-weight:800!important;
  }
  nav#nav a:active,nav#nav a:hover{background:#f5f6f8!important;color:#111827!important;}
  nav#nav a.public-admin-link,nav#nav a.admin-link{
    margin:14px var(--mobile-gutter) 0!important;
    width:calc(100% - (var(--mobile-gutter) * 2))!important;
    justify-content:center!important;
    min-height:52px!important;
    border:0!important;
    border-radius:10px!important;
    background:#111827!important;
    color:#fff!important;
  }

  /* Core mobile layout: full width sections, text gutters only */
  main#app,.container,.section{width:100%!important;max-width:100%!important;margin:0!important;padding-left:0!important;padding-right:0!important;}
  .section{padding:0!important;background:var(--page-bg)!important;}
  .section-title{
    padding:20px var(--mobile-gutter) 10px!important;
    margin:0!important;
    background:#fff!important;
    display:flex!important;
    align-items:flex-end!important;
    justify-content:space-between!important;
    gap:12px!important;
    border-top:1px solid var(--feed-line)!important;
  }
  .section-title h2{font-size:25px!important;line-height:1.1!important;margin:0!important;letter-spacing:-.03em!important;}
  .section-title p{font-size:15px!important;line-height:1.35!important;margin:5px 0 0!important;color:#667085!important;}
  .section-title .btn{min-height:42px!important;padding:9px 12px!important;font-size:15px!important;white-space:nowrap!important;border-radius:10px!important;}

  /* Fix broken homepage hero: full width with safe gutters and no horizontal clipping */
  .hero{
    display:block!important;
    width:100%!important;
    padding:26px var(--mobile-gutter) 18px!important;
    margin:0!important;
    background:#fff!important;
    overflow:hidden!important;
  }
  .hero > div:first-child{width:100%!important;min-width:0!important;}
  .hero .eyebrow{font-size:13px!important;padding:7px 10px!important;max-width:100%;}
  .hero h1{
    font-size:42px!important;
    line-height:.98!important;
    letter-spacing:-.06em!important;
    margin:18px 0 16px!important;
    max-width:100%!important;
    overflow-wrap:break-word!important;
    word-break:normal!important;
  }
  .hero p{font-size:17px!important;line-height:1.48!important;margin:0 0 16px!important;color:#4b5563!important;}
  .hero .filters{display:grid!important;grid-template-columns:1fr 1fr!important;gap:10px!important;margin:18px 0 0!important;}
  .hero .filters .btn{width:100%!important;min-height:54px!important;font-size:15px!important;border-radius:12px!important;}
  .hero-card{
    margin:20px calc(var(--mobile-gutter) * -1) 0!important;
    width:calc(100% + (var(--mobile-gutter) * 2))!important;
    padding:18px var(--mobile-gutter)!important;
    border:0!important;
    border-top:1px solid var(--feed-line)!important;
    border-radius:0!important;
    box-shadow:none!important;
    background:#fff!important;
  }

  /* Light feed: no outer boxes, full width rows with thin Facebook-like dividers */
  .grid,.article-list{display:block!important;gap:0!important;background:#fff!important;}
  .feed-card,.grid > .card,.article-list > .article-card,.mini-result{
    display:block!important;
    width:100%!important;
    max-width:100%!important;
    margin:0!important;
    padding:18px var(--mobile-gutter)!important;
    border:0!important;
    border-top:1px solid var(--feed-line)!important;
    border-radius:0!important;
    box-shadow:none!important;
    background:#fff!important;
  }
  .feed-card:first-child,.grid > .card:first-child,.article-list > .article-card:first-child{border-top:1px solid var(--feed-line)!important;}
  .ola-feed-card .app-title-row,.db-list-card .app-title-row,.ranking-list-card .app-title-row{align-items:flex-start!important;gap:14px!important;}
  .ola-feed-card .app-icon,.db-list-card .app-icon,.ranking-list-card .app-icon{width:62px!important;height:62px!important;border-radius:15px!important;}
  .feed-main{min-width:0!important;flex:1 1 auto!important;}
  .feed-card h3{font-size:22px!important;line-height:1.15!important;margin:0 0 5px!important;letter-spacing:-.02em!important;}
  .feed-card p{font-size:17px!important;line-height:1.45!important;margin:14px 0!important;color:#172033!important;}
  .feed-card .small{font-size:15px!important;color:#667085!important;line-height:1.35!important;}
  .feed-card .badge{font-size:13px!important;padding:7px 10px!important;white-space:nowrap!important;}
  .feed-card .filters{gap:8px!important;margin:12px 0 0!important;}
  .feed-card .btn{min-height:48px!important;border-radius:12px!important;}
  .ola-feed-card .btn{width:auto!important;}

  /* Latest articles use same light row design */
  .article-card{grid-template-columns:1fr!important;}
  .article-card .post-thumb{
    width:100%!important;
    height:auto!important;
    max-height:230px!important;
    aspect-ratio:16/9!important;
    object-fit:cover!important;
    border-radius:10px!important;
    border:0!important;
    margin:0 0 12px!important;
  }
  .article-card h3{font-size:22px!important;line-height:1.18!important;margin:3px 0 8px!important;}
  .article-card p{font-size:16px!important;line-height:1.45!important;color:#475467!important;margin:0 0 12px!important;}
  .article-card .btn{width:max-content!important;min-height:42px!important;}

  /* Blog/guides/content pages: consistent light blocks */
  .content-page,.card,.community-vote-box,.comments-box,.profile-head > *{
    width:100%!important;
    max-width:100%!important;
    margin:0!important;
    padding:22px var(--mobile-gutter)!important;
    border:0!important;
    border-radius:0!important;
    box-shadow:none!important;
    background:#fff!important;
  }
  .content-page h1,h1{font-size:37px!important;line-height:1.02!important;letter-spacing:-.055em!important;margin:0 0 20px!important;}
  .content-page p,.post-body p,.content-page li{font-size:17px!important;line-height:1.55!important;}
  .notice{border-radius:2px!important;margin:0 0 18px!important;padding:15px 16px!important;font-size:16px!important;line-height:1.45!important;}

  /* Database and rankings: mobile card list replaces tables */
  .mobile-card-list{display:block!important;background:#fff!important;}
  .desktop-table{display:none!important;}
  .results-meta{
    display:block!important;
    padding:12px var(--mobile-gutter)!important;
    background:#f5f6f8!important;
    border-top:1px solid var(--feed-line)!important;
    border-bottom:1px solid var(--feed-line)!important;
  }
  .pager{margin-top:10px!important;display:flex!important;align-items:center!important;gap:8px!important;}
  .db-list-card,.ranking-list-card{border-top:1px solid var(--feed-line)!important;}
  .mobile-card-meta{margin:10px 0 0!important;}
  .mobile-card-meta p{font-size:15.5px!important;line-height:1.42!important;margin:5px 0!important;color:#374151!important;}
  .rank-num{font-size:18px!important;line-height:62px!important;width:34px!important;min-width:34px!important;color:#111827!important;}

  /* OLA profile: keep readable but less heavy */
  .profile-head{display:block!important;background:#fff!important;gap:0!important;}
  .app-profile-title{align-items:flex-start!important;gap:16px!important;}
  .app-profile-title .large-icon{width:78px!important;height:78px!important;border-radius:18px!important;}
  .profile-head aside.card{display:none!important;}
  .profile-head .filters{gap:8px!important;}

  /* Discussions: smaller margins, very small radius */
  .comments-box{padding-left:14px!important;padding-right:14px!important;}
  .comments-list{gap:0!important;}
  .comment,.public-comment{
    padding:12px 8px!important;
    margin:0!important;
    border:0!important;
    border-bottom:1px solid var(--feed-line)!important;
    border-radius:2px!important;
    background:#fff!important;
    box-shadow:none!important;
  }
  .public-comment.team-comment,.comment.team-comment{
    background:#f7fbff!important;
    border-radius:2px!important;
    margin:6px 0!important;
    padding:12px 10px!important;
  }
  .comment p,.public-comment p{font-size:16.5px!important;line-height:1.45!important;margin:9px 0!important;}

  /* Footer consistent */
  .footer{margin-top:0!important;padding:28px var(--mobile-gutter)!important;}
}

@media (max-width:380px){
  :root{--mobile-gutter:16px;}
  .hero h1{font-size:38px!important;}
  .content-page h1,h1{font-size:34px!important;}
  .brand strong{font-size:18px!important;max-width:calc(100vw - 140px);}
}

/* v63.43 Mobile Feed Refinement
   Goal: lighter Facebook-like mobile layout, clearer full-width dividers, square modern buttons,
   full-width quick search block, non-overlapping risk badges, compact stat chips, wider comments. */
@media (max-width:820px){
  :root{
    --mobile-gutter:18px;
    --feed-line:rgba(15,23,42,.095);
    --page-bg:#f7f8fa;
  }
  html,body{background:var(--page-bg)!important;}
  main#app{background:var(--page-bg)!important;}

  /* Header: keep it airy; make hamburger bigger without circle/background */
  .site-header{
    min-height:82px!important;
    padding-top:12px!important;
    padding-bottom:12px!important;
  }
  .nav-toggle{
    width:64px!important;
    min-width:64px!important;
    height:58px!important;
    font-size:46px!important;
    line-height:1!important;
    border-radius:0!important;
    background:transparent!important;
    color:#111827!important;
  }
  nav#nav{top:82px!important;height:calc(100dvh - 82px)!important;}

  /* Modern square buttons; less heavy than rounded pills */
  .btn,
  .btn.secondary,
  .hero .filters .btn,
  .feed-card .btn,
  .article-card .btn,
  .filters .btn,
  button.btn{
    border-radius:2px!important;
    min-height:50px!important;
    box-shadow:none!important;
  }
  .btn:hover{transform:none!important;box-shadow:none!important;}
  .btn.secondary{background:#eef1f5!important;color:#172033!important;}

  /* Hero: prevent clipping, keep layout full-width and readable */
  .hero{
    padding:30px var(--mobile-gutter) 18px!important;
    background:#fff!important;
    overflow:visible!important;
  }
  .hero h1{
    font-size:39px!important;
    line-height:1.02!important;
    letter-spacing:-.055em!important;
    margin:20px 0 18px!important;
    max-width:100%!important;
  }
  .hero p{font-size:17px!important;line-height:1.55!important;}
  .hero .filters .btn{font-size:16px!important;}

  /* Quick OLA Search: full-width divider top/bottom, light grey block, full input */
  .hero-card{
    margin:22px calc(var(--mobile-gutter) * -1) 0!important;
    width:calc(100% + (var(--mobile-gutter) * 2))!important;
    padding:22px var(--mobile-gutter)!important;
    background:#f6f7f9!important;
    border-top:1px solid var(--feed-line)!important;
    border-bottom:1px solid var(--feed-line)!important;
    border-left:0!important;
    border-right:0!important;
    border-radius:0!important;
  }
  .search-panel{width:100%!important;display:grid!important;gap:14px!important;}
  .search-panel .input,
  .hero-card .input{
    display:block!important;
    width:100%!important;
    max-width:none!important;
    min-height:58px!important;
    border-radius:12px!important;
    padding:0 16px!important;
    font-size:16px!important;
    background:#fff!important;
  }
  .hero-card h3{margin:0 0 8px!important;font-size:20px!important;}
  .hero-card p{margin:10px 0 0!important;font-size:15.5px!important;color:#667085!important;}

  /* Feed rows: white/light page with full-width separators, no heavy outer container */
  .section,.grid,.article-list,.mobile-card-list{background:#fff!important;}
  .section-title{
    border-top:8px solid #f1f3f6!important;
    border-bottom:1px solid var(--feed-line)!important;
    padding:22px var(--mobile-gutter) 12px!important;
  }
  .feed-card,
  .grid > .card,
  .article-list > .article-card,
  .db-list-card,
  .ranking-list-card{
    border-top:0!important;
    border-bottom:1px solid var(--feed-line)!important;
    padding:18px var(--mobile-gutter) 20px!important;
    background:#fff!important;
  }
  .feed-card:first-child,
  .grid > .card:first-child,
  .article-list > .article-card:first-child{border-top:0!important;}

  /* OLA cards: risk badge goes into its own neat line, not covering app name */
  .ola-feed-card .app-title-row,
  .db-list-card .app-title-row,
  .ranking-list-card .app-title-row{
    display:grid!important;
    grid-template-columns:72px 1fr!important;
    gap:14px!important;
    align-items:start!important;
    position:relative!important;
  }
  .ola-feed-card .app-title-row .badge,
  .db-list-card .app-title-row .badge,
  .ranking-list-card .app-title-row .badge{
    grid-column:2!important;
    justify-self:start!important;
    margin-top:6px!important;
    white-space:normal!important;
    max-width:100%!important;
  }
  .ola-feed-card .app-icon,
  .db-list-card .app-icon,
  .ranking-list-card .app-icon{
    grid-row:1 / span 2!important;
    width:66px!important;
    height:66px!important;
    border-radius:14px!important;
  }
  .feed-main h3,.feed-card h3{font-size:23px!important;line-height:1.12!important;}
  .feed-main .small{font-size:16px!important;line-height:1.35!important;}

  /* Stats chips: organized, not scattered */
  .ola-feed-card .filters,
  .feed-card .filters{
    display:flex!important;
    gap:8px!important;
    row-gap:8px!important;
    align-items:center!important;
    margin:14px 0 0!important;
  }
  .ola-feed-card .filters .badge,
  .feed-card .filters .badge{
    border-radius:2px!important;
    padding:8px 10px!important;
    font-size:13px!important;
    line-height:1.1!important;
    background:#f2f4f7!important;
    color:#344054!important;
  }
  .risk-low,.risk-medium,.risk-high,.risk-extreme{
    border-radius:2px!important;
    padding:8px 10px!important;
  }
  .ola-feed-card .filters:last-child,
  .feed-card .filters:last-child{margin-top:16px!important;}
  .ola-feed-card .filters:last-child .btn{width:auto!important;min-width:150px!important;}

  /* Content pages and lists: consistent light treatment */
  .content-page{
    padding:24px var(--mobile-gutter)!important;
    background:#fff!important;
  }
  .content-page h1,h1{font-size:35px!important;line-height:1.04!important;}
  .notice{border-radius:2px!important;}

  /* Database/ranking cards: no table feel on mobile */
  .results-meta{background:#f7f8fa!important;padding:12px var(--mobile-gutter)!important;}
  .mobile-card-meta p{font-size:15.5px!important;line-height:1.4!important;}
  .ranking-list-card .mobile-card-meta,
  .db-list-card .mobile-card-meta{
    padding-left:80px!important;
  }

  /* Discussions: use more horizontal space; keep only safe text gutter */
  .comments-box{
    padding-left:8px!important;
    padding-right:8px!important;
    background:#fff!important;
  }
  .comments-box > .community-vote-head,
  .comments-box > .filters,
  .comments-box > form,
  .comments-box > .notice,
  .comments-box > select,
  .comments-box label,
  .comments-box .comment-form{
    margin-left:8px!important;
    margin-right:8px!important;
  }
  .comments-list{margin-left:0!important;margin-right:0!important;}
  .comment,.public-comment{
    padding:13px 10px!important;
    border-radius:2px!important;
    border-bottom:1px solid var(--feed-line)!important;
  }
  .public-comment.team-comment,
  .comment.team-comment{
    margin:4px 0!important;
    padding:13px 10px!important;
    border-radius:2px!important;
    background:#f6faff!important;
  }
  .reply-list{margin-left:4px!important;padding-left:10px!important;}

  /* Comment reaction buttons: lighter, less floating */
  .comment-vote-row{gap:6px!important;margin:8px 0!important;}
  .comment-vote-btn{border-radius:2px!important;box-shadow:none!important;padding:7px 9px!important;background:#fff!important;}
}

@media(max-width:380px){
  .hero h1{font-size:36px!important;}
  .content-page h1,h1{font-size:32px!important;}
  .ola-feed-card .app-title-row,
  .db-list-card .app-title-row,
  .ranking-list-card .app-title-row{grid-template-columns:64px 1fr!important;gap:12px!important;}
  .ola-feed-card .app-icon,.db-list-card .app-icon,.ranking-list-card .app-icon{width:58px!important;height:58px!important;}
  .ranking-list-card .mobile-card-meta,.db-list-card .mobile-card-meta{padding-left:70px!important;}
}

/* v63.44 Mobile UI correction + #2C5EAD brand blue */
:root{
  --blue:#2C5EAD;
  --blue2:#244f92;
}
.logo-mark{background:linear-gradient(135deg,#2C5EAD,#5e8ed0)!important;}
.btn:not(.secondary):not(.warn):not(.dark){background:#2C5EAD!important;}
.post-body a{color:#2C5EAD!important;}
nav a:hover,.pill.active{color:#244f92!important;background:rgba(44,94,173,.10)!important;}

@media (max-width:820px){
  :root{--mobile-gutter:20px;--feed-line:rgba(15,23,42,.10);--mobile-blue:rgba(44,94,173,.60);}
  html,body,main#app{background:#fff!important;}
  .container{width:100%!important;max-width:none!important;margin:0!important;}
  .section{padding:0!important;background:#fff!important;}
  .section + .section{border-top:8px solid #f4f6f8!important;}

  /* Header/menu consistency */
  .site-header{padding:12px var(--mobile-gutter)!important;min-height:82px!important;background:#fff!important;}
  .nav-toggle{font-size:44px!important;width:62px!important;height:58px!important;padding:4px!important;color:#111827!important;background:transparent!important;border:0!important;}
  nav#nav{top:82px!important;left:0!important;right:0!important;width:100%!important;height:calc(100dvh - 82px)!important;border:0!important;border-radius:0!important;box-shadow:none!important;background:#fff!important;padding:20px var(--mobile-gutter)!important;}
  nav#nav a{border-radius:5px!important;padding:18px 4px!important;font-size:22px!important;border-bottom:1px solid var(--feed-line)!important;}

  /* Brand blue buttons: 5px radius and lighter on mobile */
  .btn,
  .btn.secondary,
  .hero .filters .btn,
  .feed-card .btn,
  .article-card .btn,
  .filters .btn,
  button.btn{
    border-radius:5px!important;
    min-height:52px!important;
    box-shadow:none!important;
  }
  .btn:not(.secondary):not(.warn):not(.dark){background:var(--mobile-blue)!important;color:#fff!important;}
  .btn.secondary{background:#eef1f5!important;color:#111827!important;}

  /* Hero and quick search */
  .hero{padding:28px var(--mobile-gutter) 0!important;background:#fff!important;display:block!important;border-bottom:0!important;}
  .hero h1{font-size:40px!important;line-height:1.04!important;margin:18px 0 16px!important;letter-spacing:-.055em!important;}
  .hero p{font-size:17px!important;line-height:1.58!important;margin-bottom:18px!important;}
  .hero .filters{display:grid!important;grid-template-columns:1fr 1fr!important;gap:12px!important;margin:18px 0 26px!important;}
  .hero .filters .btn{width:100%!important;font-size:16px!important;}
  .hero-card{
    margin:0 calc(var(--mobile-gutter) * -1)!important;
    width:calc(100% + (var(--mobile-gutter) * 2))!important;
    padding:22px var(--mobile-gutter) 24px!important;
    background:#f5f6f8!important;
    border-top:1px solid var(--feed-line)!important;
    border-bottom:1px solid var(--feed-line)!important;
    border-left:0!important;border-right:0!important;border-radius:0!important;box-shadow:none!important;
  }
  .hero-card + *{background:#fff!important;}
  .search-panel{width:100%!important;display:block!important;}
  .search-panel .input,.hero-card .input{width:100%!important;max-width:none!important;min-height:58px!important;border-radius:14px!important;background:#fff!important;}
  .hero-card p{margin:22px 0 0!important;background:transparent!important;}

  /* Section headers and feed cards */
  .section-title{padding:26px var(--mobile-gutter) 14px!important;margin:0!important;border-top:8px solid #f4f6f8!important;border-bottom:1px solid var(--feed-line)!important;background:#fff!important;align-items:center!important;}
  .section-title h2{font-size:33px!important;line-height:1.05!important;}
  .section-title p{font-size:16px!important;line-height:1.35!important;}
  .section-title .btn,.section-title a.btn{min-width:110px!important;}
  .grid,.article-list,.mobile-card-list{display:block!important;background:#fff!important;}
  .feed-card,.grid > .card,.article-list > .article-card,.db-list-card,.ranking-list-card{
    display:block!important;
    padding:20px var(--mobile-gutter) 22px!important;
    margin:0!important;
    border:0!important;
    border-bottom:1px solid var(--feed-line)!important;
    border-radius:0!important;
    box-shadow:none!important;
    background:#fff!important;
  }

  /* OLA feed card organization */
  .ola-feed-card .app-title-row,
  .db-list-card .app-title-row{
    display:grid!important;
    grid-template-columns:72px 1fr!important;
    gap:0 14px!important;
    align-items:start!important;
  }
  .ola-feed-card .app-title-row .app-icon,
  .db-list-card .app-title-row .app-icon{grid-column:1!important;grid-row:1 / span 2!important;width:66px!important;height:66px!important;border-radius:14px!important;}
  .ola-feed-card .app-title-row .feed-main,
  .db-list-card .app-title-row .feed-main{grid-column:2!important;grid-row:1!important;min-width:0!important;}
  .ola-feed-card .app-title-row .badge,
  .db-list-card .app-title-row .badge{grid-column:2!important;grid-row:2!important;justify-self:start!important;margin-top:10px!important;border-radius:5px!important;}
  .ola-feed-card > p,.feed-card > p{font-size:17px!important;line-height:1.55!important;margin:18px 0!important;}
  .ola-feed-card > .filters:first-of-type,
  .feed-card > .filters:first-of-type{
    display:grid!important;grid-template-columns:1fr 1fr!important;gap:8px!important;margin:14px 0!important;
  }
  .ola-feed-card > .filters:first-of-type .badge,
  .feed-card > .filters:first-of-type .badge{
    width:100%!important;justify-content:center!important;text-align:center!important;border-radius:5px!important;padding:10px 8px!important;font-size:13px!important;
  }
  .ola-feed-card > .filters:last-of-type,.feed-card > .filters:last-of-type{display:block!important;margin:16px 0 0!important;}
  .ola-feed-card > .filters:last-of-type .btn,.feed-card > .filters:last-of-type .btn{width:100%!important;}

  /* Database cards */
  .results-meta{background:#f7f8fa!important;border-top:1px solid var(--feed-line)!important;border-bottom:1px solid var(--feed-line)!important;padding:12px var(--mobile-gutter)!important;}
  .db-list-card .mobile-card-meta{padding-left:86px!important;margin-top:12px!important;}
  .db-list-card .mobile-card-meta p{margin:7px 0!important;font-size:15.5px!important;line-height:1.45!important;}
  .db-list-card .filters{padding-left:86px!important;margin:18px 0 0!important;display:block!important;}
  .db-list-card .filters .btn{width:100%!important;}

  /* Ranking cards */
  .ranking-page{padding:26px var(--mobile-gutter)!important;}
  .ranking-list-card .app-title-row{display:grid!important;grid-template-columns:34px 64px 1fr!important;gap:0 12px!important;align-items:start!important;}
  .ranking-list-card .rank-num{grid-column:1!important;grid-row:1!important;font-size:18px!important;margin-top:14px!important;}
  .ranking-list-card .app-icon{grid-column:2!important;grid-row:1 / span 2!important;width:58px!important;height:58px!important;border-radius:13px!important;}
  .ranking-list-card .feed-main{grid-column:3!important;grid-row:1!important;min-width:0!important;}
  .ranking-list-card .app-title-row .badge{grid-column:3!important;grid-row:2!important;justify-self:start!important;margin-top:10px!important;border-radius:5px!important;}
  .ranking-list-card .mobile-card-meta{padding-left:110px!important;margin-top:12px!important;}
  .ranking-list-card .mobile-card-meta p{margin:6px 0!important;font-size:15.5px!important;line-height:1.4!important;}

  /* Blog/read cards */
  .article-card .btn,.article-list .btn{width:100%!important;margin-top:16px!important;}
  .article-card img.post-thumb{border-radius:5px!important;}

  /* Member CTA buttons */
  .member-dashboard-card .btn,.auth-page .btn,.content-page .btn{border-radius:5px!important;}
  .content-page .filters .btn{width:100%!important;}

  /* Public profile cover: remove ugly blue strip on mobile */
  .member-cover{display:none!important;}
  .member-public-card{margin-top:0!important;border:0!important;border-bottom:1px solid var(--feed-line)!important;border-radius:0!important;box-shadow:none!important;padding:28px var(--mobile-gutter)!important;background:#fff!important;}
  .member-profile-public .grid.two,.member-profile-public > .card{border-top:8px solid #f4f6f8!important;}

  /* OLA database top: remove grey divider after header; use consistent section only */
  #app > .container.section:first-child,
  .container.section:first-child{border-top:0!important;}
  .content-page{border:0!important;border-radius:0!important;box-shadow:none!important;background:#fff!important;padding:28px var(--mobile-gutter)!important;}

  /* Discussions: wider with safe gutter */
  .comments-box{padding-left:4px!important;padding-right:4px!important;background:#fff!important;}
  .comments-list{margin:0!important;}
  .comment,.public-comment{border-radius:5px!important;padding:14px 12px!important;background:#f7fbff!important;}
  .reply-list{margin-left:2px!important;padding-left:8px!important;}
}

@media(max-width:380px){
  .hero h1{font-size:36px!important;}
  .ola-feed-card .app-title-row,.db-list-card .app-title-row{grid-template-columns:64px 1fr!important;gap:0 12px!important;}
  .db-list-card .mobile-card-meta,.db-list-card .filters{padding-left:76px!important;}
  .ranking-list-card .app-title-row{grid-template-columns:30px 58px 1fr!important;gap:0 10px!important;}
  .ranking-list-card .mobile-card-meta{padding-left:96px!important;}
}


/* v63.45 mobile correction */
@media(max-width:700px){
  :root{--brand:#2C5EAD!important;--brand-2:#2C5EAD!important;}
  .btn{
    border-radius:5px!important;
  }
  .btn:not(.secondary){
    background:rgba(44,94,173,.90)!important;
    border-color:rgba(44,94,173,.90)!important;
    color:#fff!important;
  }
  .btn.secondary{
    border-radius:5px!important;
  }

  /* Quick OLA Search: full width, aligned, no weird right/grey block */
  .hero{
    display:block!important;
    padding:26px var(--mobile-gutter) 0!important;
    overflow:hidden!important;
  }
  .hero > div:first-child{
    width:100%!important;
    min-width:0!important;
  }
  .hero .filters{
    display:grid!important;
    grid-template-columns:1fr 1fr!important;
    gap:12px!important;
    width:100%!important;
  }
  .hero .filters .btn{
    width:100%!important;
    margin:0!important;
  }
  .hero-card{
    width:calc(100% + (var(--mobile-gutter) * 2))!important;
    margin:28px calc(var(--mobile-gutter) * -1) 0!important;
    padding:0!important;
    background:#f6f7f9!important;
    border-top:1px solid #e1e5ea!important;
    border-bottom:1px solid #e1e5ea!important;
    border-left:0!important;
    border-right:0!important;
    border-radius:0!important;
    box-shadow:none!important;
  }
  .hero-card .search-panel{
    width:100%!important;
    max-width:none!important;
    margin:0!important;
    padding:26px var(--mobile-gutter)!important;
    border:0!important;
    border-radius:0!important;
    background:#f6f7f9!important;
    box-shadow:none!important;
  }
  .hero-card .search-panel .input,
  #homeSearch{
    width:100%!important;
    max-width:100%!important;
    box-sizing:border-box!important;
    display:block!important;
    margin:18px 0 24px!important;
    background:#fff!important;
  }
  #homeResults{
    width:100%!important;
  }

  /* Consistent mobile metric grid */
  .ola-metric-grid{
    display:grid!important;
    grid-template-columns:1fr 1fr!important;
    gap:8px!important;
    width:100%!important;
    margin:14px 0!important;
  }
  .ola-metric-grid .badge{
    display:flex!important;
    width:100%!important;
    min-height:42px!important;
    align-items:center!important;
    justify-content:center!important;
    text-align:center!important;
    box-sizing:border-box!important;
    border-radius:5px!important;
    padding:9px 8px!important;
    white-space:normal!important;
    line-height:1.25!important;
  }
  .ola-feed-card > .filters:first-of-type,
  .feed-card > .filters:first-of-type{
    display:block!important;
  }
  .feed-actions{
    display:block!important;
    width:100%!important;
  }
  .feed-actions .btn,
  .ola-feed-card .btn,
  .db-list-card .btn{
    width:100%!important;
    box-sizing:border-box!important;
  }

  /* Home OLA card and ranking/db spacing cleanup */
  .ola-feed-card .app-title-row{
    grid-template-columns:74px 1fr!important;
    gap:0 14px!important;
  }
  .ola-feed-card .app-title-row .badge{
    grid-column:2!important;
    grid-row:2!important;
    justify-self:start!important;
    margin-top:10px!important;
    position:static!important;
  }
  .ola-feed-card > p{
    margin:22px 0 16px!important;
  }
  .db-list-card,
  .ranking-list-card,
  .ola-feed-card,
  .feed-card{
    overflow:hidden!important;
  }
  .db-list-card .mobile-card-meta,
  .db-list-card .filters{
    padding-left:0!important;
  }
  .db-list-card .mobile-card-meta{
    margin-top:18px!important;
  }
  .db-list-card .app-title-row{
    grid-template-columns:74px 1fr!important;
  }
  .ranking-list-card .mobile-card-meta{
    padding-left:0!important;
    margin-top:18px!important;
  }
  .ranking-list-card .app-title-row{
    grid-template-columns:40px 66px 1fr!important;
  }

  /* Blog and bottom CTA buttons full width */
  .article-card .btn,
  .article-list .btn,
  .cta-card .btn,
  .content-page .cta-card .btn,
  .section .cta-card .btn{
    width:100%!important;
    box-sizing:border-box!important;
  }
  .cta-card .filters,
  .cta-card{
    width:100%!important;
  }

  /* remove community coming-soon visual artifacts by keeping chips stable */
  .badge:empty{display:none!important;}
}

@media(max-width:380px){
  .ola-metric-grid{grid-template-columns:1fr 1fr!important;}
  .hero-card{width:calc(100% + (var(--mobile-gutter) * 2))!important;}
}

/* v63.46 requested mobile cleanup */
.eyebrow{border-radius:15px!important;}

@media(max-width:720px){
  /* Hide Quick OLA Search on mobile */
  .hero-card{display:none!important;}

  /* Blue buttons: no transparency, modern 5px radius */
  .btn:not(.secondary),
  .hero .filters .btn:not(.secondary),
  .feed-card .btn:not(.secondary),
  .article-card .btn:not(.secondary),
  .cta-card .btn:not(.secondary),
  button.btn:not(.secondary){
    background:#2C5EAD!important;
    border-color:#2C5EAD!important;
    color:#fff!important;
    opacity:1!important;
    border-radius:5px!important;
  }
  .btn.secondary,
  .article-card .btn.secondary,
  .feed-card .btn.secondary,
  .db-list-card .btn.secondary{
    border-radius:5px!important;
  }

  /* Metric chips: clean two-column rows, full width */
  .ola-metric-grid{
    display:grid!important;
    grid-template-columns:1fr 1fr!important;
    gap:8px!important;
    width:100%!important;
    align-items:stretch!important;
  }
  .ola-metric-grid .badge{
    display:flex!important;
    width:100%!important;
    min-width:0!important;
    max-width:100%!important;
    box-sizing:border-box!important;
    align-items:center!important;
    justify-content:center!important;
    text-align:center!important;
    white-space:normal!important;
    line-height:1.25!important;
    border-radius:5px!important;
  }
  .ola-metric-grid .risk-chip{
    grid-column:1 / -1!important;
    justify-content:center!important;
  }

  /* OLA cards: no floating risk badge in header; risk now lives in the metric grid */
  .ola-feed-card .app-title-row .badge,
  .db-list-card .app-title-row .badge,
  .ranking-list-card .app-title-row .badge{
    display:none!important;
  }
  .ola-feed-card .app-title-row,
  .db-list-card .app-title-row{
    grid-template-columns:74px 1fr!important;
  }
  .ranking-list-card .app-title-row{
    grid-template-columns:40px 66px 1fr!important;
  }

  /* Full-width primary actions on mobile */
  .feed-actions .btn,
  .ola-feed-card .btn,
  .db-list-card .btn,
  .article-card .btn,
  .article-list .btn,
  .cta-card .btn,
  .section .cta-card .btn{
    width:100%!important;
    max-width:none!important;
    box-sizing:border-box!important;
  }
}

/* v63.47 mobile-only micro-fixes */
@media(max-width:720px){
  /* Risk level should behave like the other metric chips, not a full-width row */
  .ola-metric-grid .risk-chip{
    grid-column:auto!important;
  }

  /* Keep all metric/action cells clean and full within each 50/50 slot */
  .ola-metric-grid > .badge,
  .ola-metric-grid > .ranking-comment-btn{
    width:100%!important;
    min-width:0!important;
    box-sizing:border-box!important;
    border-radius:5px!important;
    min-height:42px!important;
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    text-align:center!important;
    white-space:normal!important;
    line-height:1.25!important;
  }

  /* Ranking discussion button must be clickable and blue */
  .ranking-comment-btn{
    background:#2C5EAD!important;
    border-color:#2C5EAD!important;
    color:#fff!important;
    opacity:1!important;
    text-decoration:none!important;
    font-weight:800!important;
    padding:9px 8px!important;
  }

  /* OLA Database View and Discuss button should be blue */
  .db-list-card .feed-actions .btn,
  .ranking-list-card .ranking-comment-btn{
    background:#2C5EAD!important;
    border-color:#2C5EAD!important;
    color:#fff!important;
  }
}

/* v63.48 mobile-only homepage CTA / database cleanup / discussion actions */
@media(max-width:720px){
  /* Homepage only: discussion count becomes the main CTA; hide redundant View and Discuss button */
  .ola-feed-card .home-view-discuss-action{
    display:none!important;
  }
  .ola-feed-card .home-discussion-cta{
    grid-column:1 / -1!important;
    width:100%!important;
    background:#2C5EAD!important;
    color:#fff!important;
    border-color:#2C5EAD!important;
    border-radius:5px!important;
    min-height:46px!important;
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    font-weight:900!important;
    text-align:center!important;
    text-decoration:none!important;
  }

  /* OLA database cards: keep updated hidden on mobile through markup; make CTA consistent */
  .db-list-card .feed-actions .btn{
    background:#2C5EAD!important;
    color:#fff!important;
    border-radius:5px!important;
  }

  /* Discussion page: Reply must be blue, report becomes small icon beside reactions */
  .comments-box .reply-comment-btn{
    background:#2C5EAD!important;
    color:#fff!important;
    border-color:#2C5EAD!important;
    border-radius:5px!important;
    min-height:42px!important;
    padding:10px 18px!important;
  }
  .comment-vote-row{
    align-items:center!important;
    gap:8px!important;
  }
  .comment-vote-row .report-icon-btn{
    width:44px!important;
    min-width:44px!important;
    height:44px!important;
    padding:0!important;
    border-radius:999px!important;
    background:#fff7ed!important;
    color:#9a3412!important;
    border:1px solid #fed7aa!important;
    box-shadow:0 2px 8px rgba(15,23,42,.08)!important;
    font-size:18px!important;
  }
  .comments-box .compact-actions .report-comment-btn,
  .comments-box .compact-actions a[href*="return="]{
    display:none!important;
  }
}

/* v63.49: Report icon layout applies on all screen sizes, not only mobile */
.comment-vote-row{
  align-items:center;
  gap:8px;
}
.comment-vote-row .report-icon-btn{
  width:44px;
  min-width:44px;
  height:44px;
  padding:0;
  border-radius:999px;
  background:#fff7ed;
  color:#9a3412;
  border:1px solid #fed7aa;
  box-shadow:0 2px 8px rgba(15,23,42,.08);
  font-size:18px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
}
.comments-box .compact-actions .report-comment-btn,
.comments-box .compact-actions a[href*="return="]{
  display:none!important;
}

/* v63.50: requested mobile homepage + clean comment actions */
@media(max-width:720px){
  /* Homepage OLA cards: force-hide the old redundant View and Discuss action */
  .ola-feed-card .filters.feed-actions.home-view-discuss-action,
  .ola-feed-card .home-view-discuss-action,
  article.ola-feed-card > .home-view-discuss-action{
    display:none!important;
    visibility:hidden!important;
    height:0!important;
    min-height:0!important;
    padding:0!important;
    margin:0!important;
    overflow:hidden!important;
  }

  /* Discussion mobile: reply should be a small inline action, not a full-width button */
  .comments-box .compact-actions{
    display:flex!important;
    justify-content:flex-start!important;
    align-items:center!important;
    gap:10px!important;
    width:auto!important;
  }
  .comments-box .reply-comment-btn{
    display:inline-flex!important;
    width:auto!important;
    min-width:0!important;
    max-width:max-content!important;
    min-height:0!important;
    padding:6px 10px!important;
    font-size:12px!important;
    line-height:1.2!important;
    border-radius:5px!important;
    background:#2C5EAD!important;
    border-color:#2C5EAD!important;
    color:#fff!important;
  }
}

/* All views: thumbs up, thumbs down, and report icon should feel like light inline reactions, not boxed/circled buttons */
.comment-vote-row{
  display:flex!important;
  align-items:center!important;
  gap:12px!important;
  flex-wrap:nowrap!important;
  margin-top:10px!important;
}
.comment-vote-btn,
.comment-vote-row .report-icon-btn{
  width:auto!important;
  min-width:0!important;
  height:auto!important;
  min-height:0!important;
  padding:4px 2px!important;
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  box-shadow:none!important;
  color:#475467!important;
  font-weight:800!important;
  line-height:1.2!important;
}
.comment-vote-btn:hover,
.comment-vote-row .report-icon-btn:hover{
  background:transparent!important;
  color:#2C5EAD!important;
  border:0!important;
}
.comment-vote-btn.active{
  background:transparent!important;
  color:#2C5EAD!important;
  border:0!important;
}
.comment-vote-row .report-icon-btn{
  font-size:16px!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
}


/* v63.51: Move report icon to far right of comment action row on all views */
.comment-vote-row{
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:12px!important;
  width:100%!important;
  flex-wrap:nowrap!important;
}
.comment-reaction-left{
  display:flex!important;
  align-items:center!important;
  gap:12px!important;
  flex-wrap:wrap!important;
  min-width:0!important;
}
.comment-vote-row .report-icon-btn{
  margin-left:auto!important;
  flex:0 0 auto!important;
  opacity:.82!important;
}
.comment-vote-row .comment-score{
  white-space:nowrap!important;
}
@media(max-width:720px){
  .comment-reaction-left{
    gap:10px!important;
  }
  .comment-vote-row .report-icon-btn{
    padding-right:0!important;
  }
}

/* v63.52: restore official links & contacts on mobile app profiles */
@media(max-width:820px){
  .profile-head aside.card{
    display:block!important;
    margin:0!important;
    border:0!important;
    border-top:8px solid #f4f6f8!important;
    border-bottom:1px solid var(--feed-line, rgba(15,23,42,.10))!important;
    border-radius:0!important;
    box-shadow:none!important;
    background:#fff!important;
    padding:22px var(--mobile-gutter,18px)!important;
  }
  .profile-head aside.card h3{
    margin:0 0 8px!important;
    font-size:20px!important;
    line-height:1.2!important;
  }
  .profile-head aside.card .grid{
    display:grid!important;
    grid-template-columns:1fr!important;
    gap:10px!important;
    background:transparent!important;
    padding:0!important;
  }
  .profile-head aside.card .grid .btn,
  .profile-head aside.card .grid a.btn{
    width:100%!important;
  }
  .profile-head aside.card .contact-list{
    display:block!important;
    margin-top:12px!important;
  }
  .profile-head aside.card .contact-list p{
    margin:0!important;
    padding:10px 0!important;
    border-bottom:1px solid var(--feed-line, rgba(15,23,42,.10))!important;
    font-size:15px!important;
    line-height:1.45!important;
  }
  .profile-head aside.card .contact-list p:last-child{border-bottom:0!important;}
  .profile-head aside.card .contact-list a{word-break:break-word!important;color:var(--blue)!important;font-weight:800!important;}
}


/* v63.53: Mobile OLA profile cleanup + stronger star rating behavior */
@media(max-width:820px){
  /* Show official contact card, but hide the extra score/rating card that felt random below contacts */
  .profile-head aside.official-links-card{
    display:block!important;
  }
  .profile-head aside.ola-score-card{
    display:none!important;
  }

  /* Mobile community rating: full width, lighter, no boxed star wrappers */
  .community-vote-box,
  .rating-box.community-vote-box{
    width:100%!important;
    max-width:100%!important;
    box-sizing:border-box!important;
    padding:20px var(--mobile-gutter,18px)!important;
    margin:0!important;
    border:0!important;
    border-top:8px solid #f4f6f8!important;
    border-bottom:1px solid var(--feed-line, rgba(15,23,42,.10))!important;
    border-radius:0!important;
    background:#fff!important;
    box-shadow:none!important;
  }
  .vote-stars{
    width:100%!important;
    display:flex!important;
    align-items:center!important;
    justify-content:flex-start!important;
    gap:2px!important;
    flex-wrap:nowrap!important;
    margin:12px 0 6px!important;
    padding:0!important;
    background:transparent!important;
    border:0!important;
    box-shadow:none!important;
  }
  .vote-star{
    width:auto!important;
    min-width:0!important;
    height:auto!important;
    min-height:0!important;
    padding:2px 3px!important;
    border:0!important;
    border-radius:0!important;
    background:transparent!important;
    box-shadow:none!important;
    font-size:2.35rem!important;
    line-height:1!important;
    color:#cbd5e1!important;
  }
}

/* v63.53: Rating star selection should fill all stars up to the chosen value on every screen */
.vote-star.active,
.vote-star.preview,
.vote-star[aria-pressed="true"]{
  color:#f59e0b!important;
  background:transparent!important;
  border-color:transparent!important;
  box-shadow:none!important;
}
.vote-star:hover{
  color:#f59e0b!important;
  background:transparent!important;
  border-color:transparent!important;
  box-shadow:none!important;
}

/* v63.54: Mobile only - center the community star rating row like the vote card */
@media(max-width:820px){
  .community-vote-box .vote-stars,
  .rating-box.community-vote-box .vote-stars,
  .vote-stars#voteStars{
    justify-content:center!important;
    text-align:center!important;
    margin-left:auto!important;
    margin-right:auto!important;
  }
}

/* v63.55 admin sidebar grouping + flat icons */
.admin-menu-grouped{display:grid;gap:8px;margin-top:14px;}
.admin-menu-group{border:1px solid rgba(255,255,255,.08);border-radius:14px;background:rgba(255,255,255,.03);overflow:hidden;}
.admin-menu-group.role-hidden{display:none!important;}
.admin-menu-group summary{list-style:none;display:flex;align-items:center;gap:10px;padding:12px 11px;color:#f8fafc;font-weight:850;cursor:pointer;user-select:none;}
.admin-menu-group summary::-webkit-details-marker{display:none;}
.admin-menu-group summary::after{content:'›';margin-left:auto;color:#98a2b3;font-size:18px;transition:transform .16s ease;}
.admin-menu-group[open] summary::after{transform:rotate(90deg);}
.admin-menu-sub{display:grid;gap:2px;padding:0 8px 8px;}
.admin-menu-utility{display:grid;gap:4px;padding-top:8px;border-top:1px solid rgba(255,255,255,.08);}
.admin-menu-grouped a{display:flex!important;align-items:center;gap:10px;min-height:40px;padding:9px 10px!important;border-radius:10px!important;color:#d0d5dd!important;font-size:14px;}
.admin-menu-grouped a:hover{background:rgba(255,255,255,.08)!important;color:#fff!important;}
.admin-menu-grouped a.active{background:#fff!important;color:#101828!important;font-weight:850;}
.admin-menu-grouped a.has-pending{background:rgba(239,68,68,.18)!important;}
.admin-menu-grouped a.has-pending.active{background:#fff!important;color:#101828!important;}
.admin-menu-label{flex:1;line-height:1.25;}
.admin-menu-icon-svg{width:20px;height:20px;min-width:20px;display:inline-block;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;}
.admin-menu-icon,.admin-menu-icon-img{width:20px!important;height:20px!important;min-width:20px!important;display:inline-flex!important;align-items:center;justify-content:center;border-radius:4px!important;font-size:14px!important;line-height:1!important;object-fit:contain;}
.admin-group-icon{width:20px;height:20px;min-width:20px;display:inline-flex;align-items:center;justify-content:center;color:#d0d5dd;}
.admin-group-icon .admin-menu-icon-svg{width:20px;height:20px;}
.admin-role-badge{background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.08);border-radius:12px;padding:10px 11px;color:#cbd5e1!important;margin:10px 0 12px;}
@media(max-width:820px){
  .admin-side{padding:16px;}
  .admin-menu-grouped a{min-height:44px;font-size:15px;}
  .admin-menu-group summary{min-height:46px;}
}

/* v63.56: flat reaction icons with consistent size in all views */
.comment-vote-btn{
  display:inline-flex!important;
  align-items:center!important;
  gap:6px!important;
}
.comment-vote-btn .reaction-icon,
.comment-vote-row .report-icon-btn .reaction-icon{
  width:18px!important;
  height:18px!important;
  display:block!important;
  flex:0 0 18px!important;
}
.comment-vote-btn span{
  line-height:1!important;
}
.comment-vote-row .report-icon-btn{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  padding:4px 0!important;
}
.comment-vote-row .report-icon-btn .report-icon-svg{
  width:18px!important;
  height:18px!important;
  flex:0 0 18px!important;
}
@media(max-width:720px){
  .comment-vote-btn .reaction-icon,
  .comment-vote-row .report-icon-btn .reaction-icon{
    width:18px!important;
    height:18px!important;
  }
}

/* v63.57: Google login option for member profile */
.social-login-box{display:grid;gap:8px;margin:12px 0 16px}.google-login-btn{width:100%;background:#fff!important;color:#172033!important;border:1px solid var(--line)!important;box-shadow:0 8px 22px rgba(15,23,42,.06)}.google-login-btn:hover{background:#f8fafc!important}.google-g{display:inline-grid;place-items:center;width:24px;height:24px;border-radius:999px;background:#fff;border:1px solid #e5e7eb;color:#4285f4;font-weight:900;font-family:Arial,sans-serif}.auth-divider{display:flex;align-items:center;gap:12px;margin:16px 0;color:var(--muted);font-size:13px;font-weight:700}.auth-divider:before,.auth-divider:after{content:"";height:1px;background:var(--line);flex:1}

/* v63.71 Mobile-only Kuya Jun / member profile header and clean dropdown */
@media (max-width:820px){
  .site-header .brand.mobile-member-brand .logo-mark.mobile-user-avatar,
  .site-header .brand.mobile-site-brand .logo-mark.mobile-user-avatar{
    width:52px!important;
    height:52px!important;
    min-width:52px!important;
    border-radius:999px!important;
    overflow:hidden!important;
    background:#eef4ff!important;
    border:2px solid rgba(44,94,173,.18)!important;
    box-shadow:none!important;
    padding:0!important;
    display:grid!important;
    place-items:center!important;
    color:#2C5EAD!important;
    font-size:0!important;
  }
  .site-header .brand.mobile-member-brand .logo-mark.mobile-user-avatar img,
  .site-header .brand.mobile-site-brand .logo-mark.mobile-user-avatar img{
    display:block!important;
    width:100%!important;
    height:100%!important;
    object-fit:cover!important;
    border-radius:999px!important;
  }
  .site-header .brand.mobile-member-brand .logo-mark.mobile-user-avatar svg,
  .site-header .brand.mobile-site-brand .logo-mark.mobile-user-avatar svg{
    display:block!important;
    width:100%!important;
    height:100%!important;
    padding:6px!important;
  }
  .site-header .brand.mobile-member-brand strong,
  .site-header .brand.mobile-site-brand strong{
    display:block!important;
    font-size:18px!important;
    line-height:1.12!important;
    max-width:calc(100vw - 150px)!important;
    white-space:nowrap!important;
    overflow:hidden!important;
    text-overflow:ellipsis!important;
  }
  .site-header .brand.mobile-member-brand small,
  .site-header .brand.mobile-site-brand small{
    display:block!important;
    font-size:12px!important;
    line-height:1.15!important;
    color:#667085!important;
    max-width:calc(100vw - 150px)!important;
    white-space:nowrap!important;
    overflow:hidden!important;
    text-overflow:ellipsis!important;
    margin-top:2px!important;
  }
  nav#nav .mobile-home-group{
    width:100%!important;
    border-bottom:1px solid var(--feed-line, rgba(15,23,42,.10))!important;
    background:#fff!important;
  }
  nav#nav .mobile-home-toggle,
  nav#nav .mobile-signout-btn{
    display:flex!important;
    align-items:center!important;
    justify-content:space-between!important;
    width:100%!important;
    min-height:56px!important;
    padding:15px 8px!important;
    margin:0!important;
    border:0!important;
    border-bottom:1px solid var(--feed-line, rgba(15,23,42,.10))!important;
    border-radius:0!important;
    background:#fff!important;
    color:#111827!important;
    font:inherit!important;
    font-size:20px!important;
    font-weight:800!important;
    text-align:left!important;
    cursor:pointer!important;
    box-shadow:none!important;
  }
  nav#nav .mobile-home-toggle[aria-expanded="true"] .mobile-home-chevron{transform:rotate(180deg)!important;}
  nav#nav .mobile-home-chevron{transition:transform .16s ease!important;color:#667085!important;font-size:22px!important;line-height:1!important;}
  nav#nav .mobile-home-links{
    background:#f8fafc!important;
    border-bottom:1px solid var(--feed-line, rgba(15,23,42,.10))!important;
    padding:6px 0!important;
  }
  nav#nav .mobile-home-links a{
    display:flex!important;
    align-items:center!important;
    min-height:46px!important;
    padding:11px 14px 11px 28px!important;
    margin:0!important;
    font-size:17px!important;
    font-weight:750!important;
    line-height:1.25!important;
    color:#1f2937!important;
    background:#f8fafc!important;
    border-bottom:0!important;
    border-radius:0!important;
  }
  nav#nav > a{
    min-height:54px!important;
    display:flex!important;
    align-items:center!important;
    padding:14px 8px!important;
    border-bottom:1px solid var(--feed-line, rgba(15,23,42,.10))!important;
  }
  nav#nav .mobile-signout-btn{
    justify-content:center!important;
    margin-top:18px!important;
    border-radius:10px!important;
    background:#111827!important;
    color:#fff!important;
    border-bottom:0!important;
  }
  nav#nav .mobile-signout-btn:disabled{opacity:.65!important;}
}

/* v63.72: mobile menu corrections — overlay behavior + no logged-out special menu */
@media (max-width:820px){
  body nav#nav,
  nav#nav{
    display:none!important;
    position:fixed!important;
    top:82px!important;
    left:0!important;
    right:0!important;
    bottom:0!important;
    width:100vw!important;
    max-width:100vw!important;
    height:calc(100dvh - 82px)!important;
    margin:0!important;
    padding:18px var(--mobile-gutter,18px) 30px!important;
    background:#fff!important;
    border:0!important;
    border-radius:0!important;
    box-shadow:0 18px 40px rgba(15,23,42,.12)!important;
    z-index:5000!important;
    overflow-y:auto!important;
    -webkit-overflow-scrolling:touch!important;
    overscroll-behavior:contain!important;
  }
  body nav#nav.open,
  nav#nav.open{
    display:flex!important;
    flex-direction:column!important;
    gap:0!important;
  }
  nav#nav > a,
  nav#nav .mobile-home-toggle,
  nav#nav .mobile-signout-btn{
    flex:0 0 auto!important;
  }
  nav#nav .mobile-home-group{
    flex:0 0 auto!important;
    margin:0 0 8px!important;
    border:1px solid rgba(15,23,42,.08)!important;
    border-radius:14px!important;
    overflow:hidden!important;
    background:#fff!important;
  }
  nav#nav .mobile-home-toggle{
    padding:15px 14px!important;
    background:#fff!important;
    border-bottom:0!important;
  }
  nav#nav .mobile-home-toggle[aria-expanded="true"]{
    background:#f8fafc!important;
    border-bottom:1px solid rgba(15,23,42,.08)!important;
  }
  nav#nav .mobile-home-links{
    background:#f3f6fb!important;
    border:0!important;
    padding:8px!important;
  }
  nav#nav .mobile-home-links a{
    min-height:44px!important;
    padding:10px 14px 10px 22px!important;
    margin:0!important;
    border-radius:10px!important;
    background:#f3f6fb!important;
    border-bottom:0!important;
    font-size:16.5px!important;
    font-weight:750!important;
  }
  nav#nav .mobile-home-links a + a{margin-top:2px!important;}
  nav#nav .mobile-home-links a:active,
  nav#nav .mobile-home-links a:hover{background:#eaf0fb!important;color:#174ea6!important;}
  nav#nav > a{
    min-height:54px!important;
    padding:14px 8px!important;
    margin:0!important;
    border-bottom:1px solid rgba(15,23,42,.10)!important;
    border-radius:0!important;
    background:transparent!important;
    font-size:20px!important;
    font-weight:800!important;
  }
  nav#nav .mobile-signout-btn{
    min-height:52px!important;
    margin:18px 0 0!important;
    padding:14px 16px!important;
    border-radius:12px!important;
    border:0!important;
    background:#111827!important;
    color:#fff!important;
    font-size:18px!important;
    font-weight:900!important;
  }
}


/* v63.73: mobile logged-in menu wrap/leak fix
   Prevent flex wrapping from pushing account links/sign-out into a hidden side column. */
@media (max-width:820px){
  html, body{
    max-width:100%!important;
    overflow-x:hidden!important;
  }
  body.mobile-menu-open{
    overflow:hidden!important;
    touch-action:none!important;
  }
  body nav#nav,
  nav#nav{
    position:fixed!important;
    inset:82px 0 0 0!important;
    left:0!important;
    right:0!important;
    bottom:0!important;
    width:100dvw!important;
    min-width:100dvw!important;
    max-width:100dvw!important;
    height:calc(100dvh - 82px)!important;
    max-height:calc(100dvh - 82px)!important;
    margin:0!important;
    box-sizing:border-box!important;
    transform:none!important;
    overflow-x:hidden!important;
    overflow-y:auto!important;
    z-index:9999!important;
  }
  body nav#nav.open,
  nav#nav.open{
    display:flex!important;
    flex-direction:column!important;
    flex-wrap:nowrap!important;
    align-items:stretch!important;
    justify-content:flex-start!important;
  }
  nav#nav.open > *,
  nav#nav > a,
  nav#nav .mobile-home-group,
  nav#nav .mobile-home-toggle,
  nav#nav .mobile-home-links,
  nav#nav .mobile-signout-btn{
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    flex:0 0 auto!important;
    box-sizing:border-box!important;
  }
  nav#nav .mobile-signout-btn{
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    flex-shrink:0!important;
  }
  nav#nav .mobile-home-links{
    display:block!important;
  }
  nav#nav .mobile-home-links[hidden]{
    display:none!important;
  }
}

/* v63.75: site logo/fallback fixes + mobile logged-out blank screen rescue */
.logo-mark.site-logo-image,
.logo-mark.has-photo{
  overflow:hidden!important;
  padding:0!important;
  background:#eef4ff!important;
  border:1px solid rgba(44,94,173,.18)!important;
  color:transparent!important;
}
.logo-mark.site-logo-image img,
.logo-mark.has-photo img{
  display:block!important;
  width:100%!important;
  height:100%!important;
  object-fit:cover!important;
  border-radius:inherit!important;
}
@media (min-width:821px){
  .site-header .logo-mark.site-logo-image,
  .site-header .logo-mark.has-photo{
    width:42px!important;
    height:42px!important;
    border-radius:999px!important;
  }
}
@media (max-width:820px){
  main#app{
    display:block!important;
    min-height:320px!important;
    visibility:visible!important;
    opacity:1!important;
  }
  .site-header .brand.mobile-site-brand .logo-mark.mobile-user-avatar,
  .site-header .brand.mobile-site-brand .logo-mark.has-photo{
    border-radius:999px!important;
  }
  body:not(.mobile-menu-open) nav#nav:not(.open){
    display:none!important;
  }
  body.mobile-menu-open main#app,
  body.mobile-menu-open .footer{
    transform:none!important;
  }
}

/* v63.81 Message Kuya Jun */
.message-sidebar,
.message-conversation{min-width:0;}
.message-thread-link{display:block;padding:12px 14px;border:1px solid #e5e7eb;border-radius:14px;margin:8px 0;background:#fff;color:inherit;text-decoration:none;}
.message-thread-link span{display:block;font-size:.82rem;color:#64748b;margin-top:3px;}
.message-thread-link.active{border-color:#2563eb;background:#eff6ff;}
.message-replies{display:flex;flex-direction:column;gap:10px;margin:14px 0;}
.message-bubble{max-width:92%;padding:12px 14px;border-radius:16px;border:1px solid #e5e7eb;background:#f8fafc;}
.message-bubble.member{align-self:flex-end;background:#eff6ff;border-color:#bfdbfe;}
.message-bubble.staff{align-self:flex-start;background:#f7fee7;border-color:#d9f99d;}
.message-bubble p{margin:.35rem 0 0;white-space:pre-wrap;}
.admin-message-layout{display:grid;grid-template-columns:minmax(240px,.9fr) minmax(0,1.4fr);gap:16px;align-items:start;}
.admin-message-thread{cursor:pointer;}
.admin-message-thread.active{border-color:#2563eb;background:#eff6ff;}
@media(max-width:820px){.admin-message-layout{grid-template-columns:1fr}.message-bubble{max-width:100%;}}

/* v63.82: Homepage TikTok Highlights polish */
.tiktok-section{position:relative}
.tiktok-section-title .eyebrow{display:inline-flex;margin-bottom:8px}
.tiktok-highlight-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
.tiktok-card-top{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:12px}
.tiktok-icon{width:42px;height:42px;border-radius:16px;display:inline-flex;align-items:center;justify-content:center;background:#0f172a;color:#fff;box-shadow:0 10px 24px rgba(15,23,42,.12)}
.tiktok-icon svg{width:24px;height:24px;display:block}
.tiktok-highlight-card{overflow:hidden;position:relative}
.tiktok-highlight-card:before{content:"";position:absolute;inset:0 0 auto 0;height:4px;background:linear-gradient(90deg,#0f172a,#2563eb,#ef4444);opacity:.85}
.tiktok-highlight-card h3{margin:6px 0 8px;line-height:1.25}
.tiktok-highlight-card p{min-height:48px}
.tiktok-empty{display:flex;align-items:center;gap:16px;background:linear-gradient(135deg,#ffffff,#f8fafc)}
.tiktok-empty-icon{width:58px;height:58px;border-radius:20px;display:flex;align-items:center;justify-content:center;background:#0f172a;color:#fff;flex:0 0 auto}
.tiktok-empty-icon svg{width:32px;height:32px;display:block}
.tiktok-empty h3{margin:0 0 6px}
.tiktok-empty p{margin:0;color:var(--muted);line-height:1.6}
@media(max-width:860px){.tiktok-highlight-grid{grid-template-columns:1fr}.tiktok-empty{align-items:flex-start}.tiktok-highlight-card p{min-height:0}}


/* v63.85 Community Forum */
.home-forum-section .forum-latest-list{display:grid;gap:10px}
.forum-mini-result{display:flex!important;align-items:center;gap:12px;padding:14px!important;box-shadow:none!important}
.mini-forum-icon{display:grid;place-items:center;width:42px;height:42px;border-radius:14px;background:#eef4ff;color:#2C5EAD;font-size:20px;flex:0 0 auto}
.forum-cta-card{background:linear-gradient(135deg,#ffffff,#eef6ff)!important}
.forum-page .section-title{align-items:center}
.forum-list-title{margin-top:22px}
.forum-topic-list{display:grid;gap:14px}
.forum-topic-card{box-shadow:none!important}
.forum-topic-head{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;margin-bottom:10px}
.forum-topic-head h3{margin:3px 0 0;font-size:22px;line-height:1.18}
.forum-author-mini{display:flex;align-items:flex-start;gap:12px;min-width:0}
.member-avatar.small-avatar{width:38px;height:38px;border-radius:999px;object-fit:cover;display:grid;place-items:center;font-weight:900;flex:0 0 auto}
.forum-topic-detail{border-bottom:1px solid var(--line);padding-bottom:20px;margin-bottom:22px}
.forum-topic-detail h1{margin:0 0 6px;line-height:1.08}
.forum-reply-head{margin-top:18px}
.forum-replies-list{display:grid;gap:12px;margin-bottom:18px}
.forum-reply .forum-author-mini{align-items:flex-start}
.forum-reply p{margin:6px 0 0;white-space:pre-wrap}
.forum-composer-card{margin:18px 0;background:#fbfdff!important}
@media(max-width:820px){
  .forum-topic-head{display:grid;gap:10px}
  .forum-topic-head .badge{width:max-content}
  .forum-page .section-title{display:grid;align-items:start}
  .forum-author-mini{gap:10px}
}

/* v63.86 AI Research Transparency */
.research-admin-panel{border:1px solid var(--border,#e5e7eb);border-radius:18px;padding:14px;margin:18px 0;background:rgba(248,250,252,.75)}
.research-admin-panel summary{cursor:pointer;margin:-2px 0 12px}
.research-trust-card{margin:18px 0;background:linear-gradient(180deg,rgba(239,246,255,.96),rgba(255,255,255,.98));border-color:rgba(44,94,173,.18)}
.research-trust-card h3{margin-top:0}.trust-list{padding-left:18px}.trust-list li{margin:4px 0}
.badge.research-status{display:inline-flex;align-items:center;gap:6px;border:1px solid rgba(15,23,42,.08);font-weight:800}
.badge.research-status.manual{background:#ecfdf5;color:#065f46}.badge.research-status.ai_assisted{background:#eff6ff;color:#1d4ed8}.badge.research-status.staff_sync{background:#f8fafc;color:#334155}.badge.research-status.needs_review{background:#fff7ed;color:#9a3412}.badge.research-status.unverified{background:#f1f5f9;color:#475569}

/* v63.87 Research Review Queue */
.research-queue-summary{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:12px;align-items:center}
.research-queue-table td{vertical-align:top}
.queue-note{max-width:520px;margin-top:6px;line-height:1.45;color:#475569}
.queue-actions{display:flex;gap:8px;flex-wrap:wrap;min-width:230px}
.research-queue-toolbar .filters{align-items:center}
.badge.research-status.staff_sync{background:#ecfeff;color:#155e75;border-color:#a5f3fc}
.badge.research-status.unverified{background:#f8fafc;color:#475569;border-color:#e2e8f0}
.badge.research-status.manual{background:#ecfdf5;color:#166534;border-color:#bbf7d0}
.badge.research-status.ai_assisted{background:#eef2ff;color:#3730a3;border-color:#c7d2fe}
.badge.research-status.needs_review{background:#fff7ed;color:#9a3412;border-color:#fed7aa}

/* v63.90 research language + transparency labels */
.field-source-note{border:1px solid rgba(15,23,42,.08);border-radius:14px;padding:10px 12px;margin:12px 0;background:#f8fafc;grid-column:1/-1}
.field-source-note span{display:inline-flex;font-weight:900;font-size:.82rem;text-transform:uppercase;letter-spacing:.02em;color:#334155}
.field-source-note p{margin:4px 0 0;color:#64748b;font-size:.9rem}.field-source-note.ai{background:#eef2ff;border-color:#c7d2fe}.field-source-note.ai span{color:#3730a3}.field-source-note.manual{background:#ecfdf5;border-color:#bbf7d0}.field-source-note.manual span{color:#166534}
.source-label{border-left:4px solid #cbd5e1;padding:8px 10px;background:#f8fafc;border-radius:10px}.source-label.manual{border-left-color:#22c55e}.source-label.ai{border-left-color:#6366f1}
.research-field-transparency{display:grid;gap:8px;margin:12px 0}.research-field-transparency>div{padding:10px;border:1px solid rgba(44,94,173,.12);border-radius:12px;background:rgba(255,255,255,.72)}
.research-field-transparency strong{color:#1e3a8a}

/* v63.92 mobile tooltip + Taglish output polish */
.ola-sidebar{display:grid;gap:20px;align-content:start}
.info-tip{position:relative;display:inline-flex;align-items:center;justify-content:center;margin-left:4px;border:0;background:transparent;color:#475569;font-size:15px;font-weight:900;line-height:1;vertical-align:middle;cursor:help;padding:0 2px}
.info-tip:focus{outline:2px solid rgba(44,94,173,.25);outline-offset:2px;border-radius:999px}
.info-tip::after{content:attr(data-tip);position:absolute;z-index:80;left:50%;bottom:135%;transform:translateX(-50%);width:min(280px,70vw);padding:10px 12px;border-radius:12px;background:#101828;color:white;font-size:12px;font-weight:500;line-height:1.45;text-align:left;box-shadow:0 12px 30px rgba(15,23,42,.22);opacity:0;pointer-events:none;transition:.15s ease;white-space:normal}
.info-tip::before{content:"";position:absolute;left:50%;bottom:112%;transform:translateX(-50%);border:6px solid transparent;border-top-color:#101828;opacity:0;transition:.15s ease}
.info-tip:hover::after,.info-tip:focus::after,.info-tip:hover::before,.info-tip:focus::before{opacity:1}
.research-trust-card.compact{margin-top:0;background:linear-gradient(180deg,#f8fbff,#fff);}
.research-trust-card.compact h3{margin-bottom:10px}
.research-note-group{display:grid;gap:10px;margin:8px 0 18px}
.research-note{border:1px solid rgba(15,23,42,.08);border-radius:14px;padding:12px 14px;background:#f8fafc;line-height:1.65}
.research-note-source{margin-top:7px;color:#64748b;font-size:12px;font-weight:800}
.compact-note-list{margin:0;padding-left:18px}.compact-note-list li{margin:4px 0}
.content-page .source-label,.research-field-transparency{display:none!important}
@media(max-width:820px){
  .ola-sidebar{display:block}
  .info-tip::after{position:fixed!important;left:50%!important;right:auto!important;top:50%!important;bottom:auto!important;transform:translate(-50%,-50%)!important;width:min(86vw,360px)!important;max-height:60vh;overflow:auto;font-size:13px;line-height:1.5;text-align:left}
  .info-tip::before{display:none!important}
}

/* v63.98 AI research batch progress */
.research-batch-results{margin:6px 0 0 18px;padding:0;font-size:.86rem;line-height:1.35}
.research-batch-results li{margin:2px 0}
.research-batch-results li.ok{color:#166534}
.research-batch-results li.bad{color:#991b1b}

/* v63.99 Verify / Submit OLA flow */
.verify-ola-page .verify-hero{background:linear-gradient(135deg,rgba(44,94,173,.08),rgba(44,94,173,.02));border-color:rgba(44,94,173,.16)}
.verify-ola-page .verify-hero h1{margin:.35rem 0 .55rem}
.verify-submit-card{border-left:4px solid #2C5EAD}
.user-submitted-notice{border-left-color:#f59e0b!important;background:#fffbeb!important;color:#78350f!important}
.badge.needs_review{background:#fffbeb;color:#92400e;border:1px solid #fde68a}
.verify-ola-page .mini-result,.verify-ola-page .card{overflow:hidden}
@media(max-width:820px){
  .verify-ola-page{padding-top:24px!important}
  .verify-ola-page .verify-hero,.verify-ola-page .profile-form,.verify-ola-page .verify-submit-card{border-radius:0!important;box-shadow:none!important;border-left:0!important;border-right:0!important;margin-left:calc(var(--mobile-gutter,18px) * -1)!important;margin-right:calc(var(--mobile-gutter,18px) * -1)!important;padding-left:var(--mobile-gutter,18px)!important;padding-right:var(--mobile-gutter,18px)!important}
}

/* v64.0 Verify OLA result flow */
.home-results-box{min-height:0; transition:min-height .15s ease;}
.home-results-box:not(:empty){min-height:84px; margin-top:10px;}
.verify-ola-page .verify-hero{margin-bottom:16px;}
.preliminary-check-card h2{margin-top:6px;}
.precheck-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:14px 0;}
.precheck-grid>div{background:rgba(15,23,42,.04);border:1px solid rgba(15,23,42,.08);border-radius:14px;padding:12px;}
.compare-ola-card{display:flex;gap:12px;align-items:flex-start;}
.compare-ola-card .filters{margin-top:10px;gap:8px;}
.verify-compare-card .affiliate-disclosure{margin-top:12px;}
.admin-menu a[href="#submissions"] .nav-count-badge{margin-left:auto;}
@media(max-width:720px){
  .precheck-grid{grid-template-columns:1fr;}
  .home-results-box:not(:empty){min-height:120px;}
  .compare-ola-card{display:block;}
  .compare-ola-card .small-icon{margin-bottom:8px;}
}

/* v64.1 Verify OLA desktop layout + affiliate UX */
@media(min-width:821px){
  /* Keep homepage hero stable while search suggestions expand. */
  .hero{align-items:start!important;}
  .home-results-box{max-height:420px;overflow:auto;min-height:0!important;padding-right:2px;}
  .home-results-box:not(:empty){min-height:0!important;margin-top:10px;}
  .hero-card{align-self:start;}
}

.affiliate-title-action{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin:4px 0 14px;}
.affiliate-apply-btn{padding:10px 14px;border-radius:999px;background:#16a34a!important;color:#fff!important;box-shadow:none!important;}
.affiliate-title-action .info-tip{font-size:17px;color:#475569;}

.container-wide{width:min(1480px,94vw);margin:0 auto;}
.verify-ola-shell{padding-top:26px;}
.verify-three-col{display:grid;grid-template-columns:minmax(190px,250px) minmax(0,1fr) minmax(230px,310px);gap:24px;align-items:start;}
.verify-main{min-width:0;}
.verify-sidebar{display:grid;gap:22px;align-content:start;position:sticky;top:96px;}
.verify-side-section{border-top:1px solid rgba(15,23,42,.10);padding-top:16px;}
.verify-side-section:first-child{border-top:0;padding-top:0;}
.verify-side-section h3{margin:0 0 8px;font-size:18px;line-height:1.2;}
.verify-link-list{display:grid;gap:10px;}
.verify-link-list a{display:block;border-bottom:1px solid rgba(15,23,42,.08);padding:0 0 10px;}
.verify-link-list a strong{display:block;font-size:14px;line-height:1.35;}
.verify-link-list a span{display:block;color:#667085;font-size:12px;margin-top:2px;}
.verify-side-list{display:grid;gap:12px;}
.verify-side-item{display:flex;gap:10px;align-items:flex-start;border-bottom:1px solid rgba(15,23,42,.08);padding-bottom:12px;}
.verify-side-item strong{font-size:14px;line-height:1.2;display:block;}
.verify-side-item .small{margin:2px 0 0;line-height:1.35;}
.mini-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:6px;}
.mini-actions a{font-size:12px;font-weight:900;color:#2C5EAD;}
.tiny-btn{font-size:13px;padding:8px 10px;border-radius:999px;width:max-content;}
.verify-ola-page,.verify-hero.light,.verify-search-form,.preliminary-check-card,.verify-submit-card,.soft-section{box-shadow:none!important;background:transparent!important;border:0!important;border-radius:0!important;padding-left:0!important;padding-right:0!important;}
.verify-hero.light{border-bottom:1px solid rgba(15,23,42,.10)!important;padding-bottom:22px!important;margin-bottom:22px!important;}
.verify-hero.light h1{font-size:clamp(44px,5vw,72px);line-height:.98;margin:12px 0 14px;letter-spacing:-.05em;}
.verify-search-form{border-bottom:1px solid rgba(15,23,42,.10)!important;padding-bottom:24px!important;margin-bottom:24px!important;}
.verify-search-form .input{background:#fff;}
.verify-compare-card.soft-section{border-top:1px solid rgba(15,23,42,.10)!important;margin-top:26px;padding-top:20px!important;}

@media(max-width:1180px) and (min-width:821px){
  .verify-three-col{grid-template-columns:minmax(0,1fr) minmax(230px,300px);}
  .verify-left{display:none;}
}
@media(max-width:820px){
  .container-wide{width:100%;}
  .verify-three-col{display:block;}
  .verify-sidebar{position:static;display:none;}
}

/* v64.2 desktop layout + verify OLA UX cleanup */
@media (min-width: 821px){
  .hero{align-items:start;}
}
.affiliate-link-btn,
.affiliate-apply-btn,
.verify-side-item .mini-actions a[href^="http"]{
  background:#16a34a!important;
  color:#fff!important;
  border-radius:5px!important;
  font-weight:500!important;
  box-shadow:none!important;
}
.verify-side-item .mini-actions a[href^="http"]{display:inline-block;padding:4px 10px;line-height:1.2;}
.affiliate-apply-btn{padding:10px 14px!important;}
.affiliate-title-action .info-tip{font-size:18px;color:#64748b;}
.verify-article-link{display:grid!important;grid-template-columns:56px 1fr;gap:10px;align-items:start;}
.verify-article-link img{width:56px;height:44px;object-fit:cover;border-radius:10px;border:1px solid rgba(15,23,42,.10);background:#eef2f7;}
.verify-article-link span{display:block;min-width:0;}
.verify-article-link em{display:block;color:#667085;font-size:12px;font-style:normal;margin-top:2px;}
.verify-main .btn{font-weight:700;}
.verify-main .btn.secondary{font-weight:700;}
.forum-cta-strip{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin:0 0 24px;padding:12px 0;border-bottom:1px solid rgba(15,23,42,.10);}
.forum-cta-strip span{color:#667085;}
.user-submitted-ola-page .user-submitted-main{padding-top:14px;}
.user-submitted-ola-page .app-profile-title{align-items:flex-start;margin-top:18px;}
.user-submitted-ola-page .notice.user-submitted-notice{margin:18px 0 24px;}
@media (max-width: 820px){
  .verify-article-link{grid-template-columns:48px 1fr;}
  .verify-article-link img{width:48px;height:40px;}
  .forum-cta-strip{display:block;}
  .forum-cta-strip .btn{margin-top:10px;}
}


/* v64.4 Verify OLA not-found + preliminary warning + submission landing */
.verify-not-found-intro .notice{font-weight:700;background:#fff7ed;border-color:#fed7aa;color:#9a3412;}
.warning-precheck-card h2{color:#991b1b;}
.danger-notice{background:#fef2f2!important;border-color:#fecaca!important;color:#7f1d1d!important;}
.submission-success-card{border-top:4px solid #16a34a;padding:20px 0 24px;margin-bottom:24px;border-bottom:1px solid rgba(15,23,42,.10);}
.submission-success-card h1{font-size:clamp(34px,4vw,58px);line-height:1;margin:10px 0 12px;letter-spacing:-.04em;}
.submission-success-card p{font-size:1.05rem;color:#475467;max-width:760px;}
.forum-next-step-card{display:grid;gap:10px;border-top:1px solid rgba(15,23,42,.10);border-bottom:1px solid rgba(15,23,42,.10);padding:20px 0;margin:0 0 20px;}
.forum-next-step-card h2{margin:6px 0 8px;}
.verify-submitted-page .forum-composer-card{border-top:1px solid rgba(15,23,42,.10)!important;padding-top:20px!important;margin-bottom:24px;}
@media(max-width:820px){
  .submission-success-card{padding-left:var(--mobile-gutter,18px);padding-right:var(--mobile-gutter,18px);}
  .forum-next-step-card,.verify-submitted-page .forum-composer-card{padding-left:var(--mobile-gutter,18px)!important;padding-right:var(--mobile-gutter,18px)!important;}
}
