/* LawHub 9.2 — premium network refinement */
:root{--lh91-navy:#142440;--lh91-blue:#245587;--lh91-blue2:#326fa8;--lh91-soft:#eef4fb;--lh91-line:#dce4ee;--lh91-danger:#a71925;--lh91-ink:#121923}

/* Arena: balanced challenge builder + deterministic selection */
.lhv88-arena-dashboard{grid-template-columns:minmax(0,1.65fr) minmax(260px,.85fr)!important;gap:18px!important}
.lhv88-arena-builder,.lhv88-arena-friends{border:1px solid var(--lh91-line)!important;box-shadow:0 14px 38px rgba(20,36,64,.07)!important}
.lhv88-arena-builder-grid{display:grid!important;grid-template-columns:minmax(260px,1.3fr) minmax(240px,1fr)!important;gap:16px!important;align-items:start!important}
.lhv88-arena-player-field{grid-column:1/-1!important}
.lhv8-search-select{display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;gap:8px!important}.lhv8-search-select input{min-height:48px!important}.lhv8-search-select button{min-width:96px!important;border-radius:12px!important}
.lhv8-selected{min-height:0!important}.lhv91-selected-friend{margin-top:10px;display:grid!important;grid-template-columns:42px minmax(0,1fr) auto 32px!important;align-items:center!important;gap:10px!important;padding:9px 10px!important;border:1px solid #9fc0e5!important;background:#f3f8fe!important;border-radius:14px!important}.lhv91-selected-friend img{width:42px!important;height:42px!important;border-radius:12px!important;object-fit:cover}.lhv91-selected-friend b,.lhv91-selected-friend small{display:block!important}.lhv91-selected-friend small{font-size:10px;color:#6b7b8e}.lhv91-selected-friend em{font-style:normal;font-size:9px;font-weight:800;text-transform:uppercase;letter-spacing:.08em;color:var(--lh91-blue);background:#e4eef9;border-radius:999px;padding:5px 8px}.lhv91-selected-friend button{width:30px;height:30px;border:0;border-radius:9px;background:#fff;color:#5d6978;font-size:18px;cursor:pointer}
.lhv88-friend-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:10px!important}.lhv88-friend-grid>button{min-height:132px!important;border:1px solid #e1e7ef!important;border-radius:16px!important;padding:12px 9px!important;background:#fff!important;transition:.18s ease!important}.lhv88-friend-grid>button:hover{transform:translateY(-2px);border-color:#b9cee6!important;box-shadow:0 12px 28px rgba(36,85,135,.09)!important}.lhv88-friend-grid>button.is-selected{border-color:var(--lh91-blue)!important;background:#eef5fd!important;box-shadow:0 0 0 3px rgba(36,85,135,.10)!important}.lhv88-friend-grid .pic img{width:58px!important;height:58px!important}.lhv88-arena-rule{background:#f8fafc;border:1px solid #e1e7ef;border-radius:15px;padding:12px}.lhv88-arena-presets{display:grid!important;grid-template-columns:repeat(4,1fr)!important;gap:6px!important}.lhv88-arena-presets button{min-width:0!important}.lhv88-arena-invite-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:18px!important}.lhv88-arena-invite-actions .lhv8-primary{min-height:48px!important;padding-inline:20px!important}.lhv88-arena-builder.has-opponent{box-shadow:0 14px 38px rgba(36,85,135,.10)!important}

/* Results lifecycle */
.lhv91-result-actions{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.lhv91-danger-btn,.lhv91-danger-ghost{border:1px solid #efc4c8;background:#fff;color:var(--lh91-danger);border-radius:11px;padding:10px 12px;font:800 10px/1 inherit;cursor:pointer}.lhv91-danger-btn:hover,.lhv91-danger-ghost:hover{background:#fff1f2;border-color:#d97e86}.lhv91-retention-note{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:12px 14px;margin:12px 0;background:#f7f9fc;border:1px solid var(--lh91-line);border-radius:14px}.lhv91-retention-note b{font-size:11px}.lhv91-retention-note span{font-size:10px;color:#6d7786}

/* Learning admin studio */
.lhv91-course-admin{padding:20px!important;border-color:#cdd9e7!important;box-shadow:0 16px 42px rgba(20,36,64,.07)!important}.lhv91-course-admin hr{border:0;border-top:1px solid var(--lh91-line);margin:24px 0}.lhv91-course-admin form{display:grid;gap:12px}.lhv91-course-admin label{display:grid;gap:6px;font-size:10px;font-weight:800;color:#526172}.lhv91-course-admin input,.lhv91-course-admin select,.lhv91-course-admin textarea{width:100%;border:1px solid #dce3eb;border-radius:11px;padding:11px 12px;background:#fff;font:inherit;color:#111827;outline:0}.lhv91-course-admin input:focus,.lhv91-course-admin select:focus,.lhv91-course-admin textarea:focus{border-color:#7fa5cc;box-shadow:0 0 0 3px rgba(36,85,135,.08)}.lhv91-admin-form-actions{display:flex;gap:8px;justify-content:flex-end}.lhv91-course-delete,.lhv91-lesson-delete{border:1px solid #efd0d3;background:#fff;color:#a71925;border-radius:9px;padding:6px 9px;cursor:pointer;font-size:9px}.lhv91-lesson summary{align-items:center!important}.lhv91-lesson-delete{margin-left:auto}.lhv91-video-wrap{position:relative;aspect-ratio:16/9;background:#0f172a;border-radius:14px;overflow:hidden;margin:0 0 14px}.lhv91-video-wrap iframe{position:absolute;inset:0;width:100%;height:100%;border:0}

/* Notifications */
.lhv91-notif-head{align-items:center!important}.lhv91-notif-actions{display:flex;gap:8px;flex-wrap:wrap}.lhv8-notification{align-items:center!important;position:relative;border-radius:12px;padding:13px 10px!important}.lhv8-notification.is-unread{background:#f3f7fc!important}.lhv91-notif-copy{min-width:0;flex:1}.lhv91-notif-row-actions{display:flex;gap:5px;margin-left:auto}.lhv91-notif-row-actions button{width:30px;height:30px;border:1px solid #dce4ed;border-radius:9px;background:#fff;color:#526172;cursor:pointer}.lhv91-notif-row-actions button:last-child{color:#a71925}.lhv91-notif-row-actions button:hover{background:#f5f8fb}

/* Messenger read receipts + premium minimize */
.lhv81-chat-head-actions button{width:40px!important;height:40px!important;border-radius:50%!important;border:1px solid #dce4ed!important;background:linear-gradient(180deg,#fff,#f2f5f8)!important;display:grid!important;place-items:center!important;box-shadow:0 5px 16px rgba(20,36,64,.07)!important;color:#425166!important;transition:.18s ease!important}.lhv81-chat-head-actions button:hover{transform:translateY(-1px);background:#eaf1f8!important;border-color:#a9c0da!important}.lhv81-chat-head-actions button svg{width:17px!important;height:17px!important;fill:none;stroke:currentColor;stroke-width:1.8}.lhv91-seen-time{border:0;background:transparent;color:#6e87a3;padding:0;font:inherit;cursor:pointer;text-decoration:underline;text-decoration-style:dotted;text-underline-offset:2px}.lhv91-delivered{color:#8a929e}.lhv81-chat-dock{gap:9px!important}.lhv81-chat-bubble,.lhv81-dock-item{box-shadow:0 10px 24px rgba(20,36,64,.15)!important;border:3px solid #fff!important;transition:transform .18s ease,box-shadow .18s ease!important}.lhv81-chat-bubble:hover,.lhv81-dock-item:hover{transform:translateY(-4px) scale(1.04)!important;box-shadow:0 16px 30px rgba(20,36,64,.22)!important}

/* Forum / groups */
.lhv91-group-hero{grid-template-columns:auto minmax(0,1fr) auto!important;align-items:center!important}.lhv91-group-hero-actions{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.lhv91-group-tools{border-color:#cfdcea!important;box-shadow:0 14px 34px rgba(20,36,64,.06)!important}.lhv91-group-member-search{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px}.lhv91-group-member-search input{border:1px solid #dce4ed;border-radius:11px;padding:11px 12px;outline:0}.lhv91-group-search-results{display:grid;gap:7px;margin-top:10px}.lhv91-group-search-person{display:grid;grid-template-columns:42px minmax(0,1fr) auto auto;gap:8px;align-items:center;padding:8px;border:1px solid #e2e8f0;border-radius:12px}.lhv91-group-search-person img{width:42px;height:42px;border-radius:12px;object-fit:cover}.lhv91-group-search-person b,.lhv91-group-search-person small{display:block}.lhv91-group-search-person small{font-size:9px;color:#7a8492}.lhv91-group-search-person button{border:1px solid #dbe5ef;background:#fff;color:#204b77;border-radius:9px;padding:7px 9px;font-size:9px;font-weight:800;cursor:pointer}.lhv91-group-search-person.is-done{opacity:.55}.lhv91-member-card{position:relative;display:flex;align-items:center}.lhv91-member-card>a{display:flex!important;align-items:center;gap:8px;min-width:0;flex:1}.lhv91-member-card>button{position:absolute;right:4px;top:50%;transform:translateY(-50%);width:26px;height:26px;border:0;border-radius:50%;background:#fff1f2;color:#a71925;cursor:pointer}.lhv91-forum-label{display:flex;justify-content:space-between;gap:10px;margin-bottom:9px}.lhv91-forum-label span{font-size:9px;color:#7b8592}.lhv91-forum-stream{display:grid;gap:12px}.lhv91-forum-post-actions{display:flex;align-items:center;gap:6px}.lhv91-forum-post-actions button{width:28px;height:28px;border:0;border-radius:50%;background:#fff1f2;color:#a71925;cursor:pointer}

/* Profile metrics: followers are the single social subscription metric */
.lhv91-profile-metrics{grid-template-columns:repeat(4,minmax(0,1fr))!important}.lhv91-profile-metrics>div:nth-child(2){background:linear-gradient(180deg,#f2f7fd,#fff);border-left:1px solid #dce6f1;border-right:1px solid #dce6f1}.lhv91-profile-metrics>div:nth-child(2) b{color:#1f4e7f}

/* Home/news: LawHub is the third tab and editorial is one-column */
.lhv81-feed-tabs{grid-template-columns:repeat(3,1fr)!important}.lhv91-news-head{display:flex;align-items:flex-end;justify-content:space-between;gap:16px;padding:8px 2px 12px}.lhv91-news-head small{font-size:8px;letter-spacing:.18em;color:#66809d;font-weight:900}.lhv91-news-head h2{font-size:19px;margin:2px 0}.lhv91-news-head p{font-size:10px;color:#737e8d}.lhv91-news-head>span{font-size:9px;color:#7c8796;background:#f3f6f9;border:1px solid #e1e8ef;border-radius:999px;padding:7px 9px}.lhv91-news-stream{grid-template-columns:1fr!important;gap:14px!important}.lhv91-news-card{display:grid!important;grid-template-columns:minmax(220px,31%) minmax(0,1fr)!important;min-height:230px!important}.lhv91-news-card .lhv81-news-image{height:100%!important;min-height:230px!important;border:0!important;border-radius:0!important;cursor:pointer}.lhv91-news-card .lhv81-news-body{display:flex!important;flex-direction:column!important;padding:18px 20px!important}.lhv91-news-author{display:grid;grid-template-columns:34px minmax(0,1fr) auto;align-items:center;gap:8px;margin-bottom:8px}.lhv91-news-author img{width:34px;height:34px;border-radius:50%;object-fit:cover}.lhv91-news-author b,.lhv91-news-author small{display:block}.lhv91-news-author b{font-size:10px}.lhv91-news-author small,.lhv91-news-author>span{font-size:8px;color:#7d8793}.lhv91-news-card h3 button,.lhv91-news-actions button{border:0;background:transparent;color:inherit;padding:0;text-align:left;font:inherit;cursor:pointer}.lhv91-news-actions{display:flex;gap:12px;align-items:center;margin-top:auto;padding-top:13px;border-top:1px solid #edf0f3}.lhv91-news-actions button:last-child{margin-left:auto;color:#204f7e;font-size:10px;font-weight:800}.lhv91-news-actions button:first-child{font-size:12px}.lhv91-news-actions button.is-on{color:#245587}.lhv91-news-modal{position:fixed;inset:0;z-index:99999;background:rgba(10,20,35,.6);backdrop-filter:blur(12px);padding:30px;overflow:auto}.lhv91-news-modal[hidden]{display:none!important}.lhv91-news-modal-card{position:relative;width:min(900px,100%);margin:20px auto;background:#fff;border-radius:24px;overflow:hidden;box-shadow:0 30px 90px rgba(0,0,0,.28)}.lhv91-news-modal-close{position:absolute;right:16px;top:16px;z-index:2;width:40px;height:40px;border:1px solid #dce4ed;border-radius:50%;background:rgba(255,255,255,.92);font-size:24px;cursor:pointer}.lhv91-article-reader .hero{width:100%;max-height:420px;object-fit:cover}.lhv91-article-reader{padding-bottom:38px}.lhv91-article-reader>.meta,.lhv91-article-reader>h1,.lhv91-article-reader>.author,.lhv91-article-reader>.content{margin-left:clamp(20px,6vw,70px);margin-right:clamp(20px,6vw,70px)}.lhv91-article-reader>.meta{display:flex;gap:8px;padding-top:24px;color:#708094;font-size:9px}.lhv91-article-reader>h1{font-size:30px;line-height:1.25;margin-top:8px}.lhv91-article-reader>.author{display:flex;align-items:center;gap:9px;margin-top:16px;padding-bottom:16px;border-bottom:1px solid #e8edf2}.lhv91-article-reader>.author img{width:42px;height:42px;border-radius:50%;object-fit:cover}.lhv91-article-reader>.author b,.lhv91-article-reader>.author small{display:block}.lhv91-article-reader>.author small{font-size:9px;color:#7b8693}.lhv91-article-reader>.content{font-size:15px;line-height:1.8;margin-top:22px}.lhv91-article-reader>.content img{max-width:100%;height:auto;border-radius:14px}body.lhv91-modal-open{overflow:hidden}

/* Settings */
.lhv91-settings-form{box-shadow:0 14px 36px rgba(20,36,64,.06)!important}.lhv91-settings-section{border:1px solid #e1e7ef;border-radius:16px;padding:16px;background:#fbfcfe}.lhv91-settings-section>header{display:flex;justify-content:space-between;gap:10px;margin-bottom:14px}.lhv91-settings-section>header b{font-size:12px}.lhv91-settings-section>header span{font-size:9px;color:#7b8490}.lhv91-settings-form em{color:#b4232f;font-style:normal}.lhv91-settings-form label>small{font-size:8px;color:#7d8792}.lhv91-settings-save{position:sticky;bottom:12px;z-index:3;display:flex;align-items:center;gap:12px;padding:10px;background:rgba(255,255,255,.94);border:1px solid #dfe6ee;border-radius:14px;box-shadow:0 12px 34px rgba(20,36,64,.08);backdrop-filter:blur(12px)}.lhv91-settings-save span{font-size:9px;color:#738091}

/* Auth refinements */
.lhv90-auth-card{box-shadow:0 24px 70px rgba(6,17,32,.2)!important}.lhv90-auth-tabs button{min-height:42px!important}.lhv90-auth-form{animation:lhv91fade .24s ease both}@keyframes lhv91fade{from{opacity:0;transform:translateY(5px)}to{opacity:1;transform:none}}.lhv90-input:focus-within{border-color:#7aa4cf!important;box-shadow:0 0 0 4px rgba(36,85,135,.09)!important}.lhv90-auth-submit{min-height:48px!important}

@media(max-width:1100px){.lhv88-arena-dashboard{grid-template-columns:1fr!important}.lhv88-friend-grid{grid-template-columns:repeat(5,minmax(0,1fr))!important}.lhv91-news-card{grid-template-columns:minmax(190px,35%) minmax(0,1fr)!important}}
@media(max-width:850px){.lhv88-arena-builder-grid{grid-template-columns:1fr!important}.lhv88-arena-player-field{grid-column:auto!important}.lhv88-friend-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important}.lhv91-group-hero{grid-template-columns:58px minmax(0,1fr)!important}.lhv91-group-hero-actions{grid-column:1/-1!important}.lhv91-group-search-person{grid-template-columns:40px minmax(0,1fr) auto!important}.lhv91-group-search-person button:last-child{grid-column:2/4}.lhv91-news-card{grid-template-columns:1fr!important}.lhv91-news-card .lhv81-news-image{min-height:220px!important}.lhv91-news-head{display:block}.lhv91-news-head>span{display:inline-block;margin-top:8px}.lhv91-result-actions{width:100%}.lhv91-retention-note{display:block}.lhv91-retention-note span{display:block;margin-top:4px}}
@media(max-width:620px){.lhv88-friend-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}.lhv88-arena-presets{grid-template-columns:repeat(2,1fr)!important}.lhv91-selected-friend{grid-template-columns:40px minmax(0,1fr) 28px!important}.lhv91-selected-friend em{display:none}.lhv91-profile-metrics{grid-template-columns:repeat(2,1fr)!important}.lhv91-notif-actions{width:100%}.lhv91-notif-actions>*{flex:1}.lhv8-notification{align-items:flex-start!important}.lhv91-notif-row-actions{flex-direction:column}.lhv91-group-member-search{grid-template-columns:1fr}.lhv91-news-modal{padding:0}.lhv91-news-modal-card{margin:0;min-height:100vh;border-radius:0}.lhv91-article-reader>h1{font-size:23px}.lhv91-news-card .lhv81-news-image{min-height:190px!important}.lhv91-settings-save{display:grid;grid-template-columns:1fr}.lhv91-course-admin .lhv8-form-grid.two{grid-template-columns:1fr!important}}
