/*
 * LawHub 9.4 — Signature UI
 * Refined visual system for Exams / Study / Arena / Messenger.
 * Loaded after v93.css so it can safely polish presentation without changing functional hooks.
 */
:root,
html[data-lh-theme="lawhub"]{
  --lh-bg:#f3f4f6;
  --lh-card:#ffffff;
  --lh-text:#171b24;
  --lh-muted:#737b89;
  --lh-line:#e2e5ea;
  --lh-red:#182c49;
  --lh-red2:#274668;
  --lh-accent:#182c49;
  --lh-accent2:#274668;
  --lh-accent-soft:#edf1f5;
  --lh-accent-rgb:24,44,73;
  --lh-dark:#101722;
  --lh-shadow:0 18px 52px rgba(17,30,49,.075);
  --lh-radius:18px;
  --lh94-ink:#121820;
  --lh94-navy:#172a46;
  --lh94-navy-2:#223d60;
  --lh94-paper:#f3f4f6;
  --lh94-warm:#faf9f7;
  --lh94-wine:#8a3444;
  --lh94-success:#26724d;
}
html[data-lh-theme="navy"]{--lh-accent:#183454;--lh-accent2:#2b557c;--lh-accent-soft:#eef3f7;--lh-accent-rgb:24,52,84;--lh-red:#183454;--lh-red2:#2b557c}
html[data-lh-theme="graphite"]{--lh-accent:#323a45;--lh-accent2:#596473;--lh-accent-soft:#f0f1f3;--lh-accent-rgb:50,58,69;--lh-red:#323a45;--lh-red2:#596473}
html[data-lh-theme="emerald"]{--lh-accent:#665640;--lh-accent2:#927a58;--lh-accent-soft:#f6f2eb;--lh-accent-rgb:102,86,64;--lh-red:#665640;--lh-red2:#927a58}
html[data-lh-theme="violet"]{--lh-accent:#773747;--lh-accent2:#9a5362;--lh-accent-soft:#f8eef1;--lh-accent-rgb:119,55,71;--lh-red:#773747;--lh-red2:#9a5362}

*{scrollbar-color:#c5cad2 transparent}
body.lhv8-body{background:radial-gradient(circle at 52% -12%,#fff 0,#f6f7f8 26%,var(--lh-bg) 58%)!important;color:var(--lh-text)}
.lhv8-layout{gap:18px!important}
.lhv8-main{padding-top:24px}
.lhv8-card,.lhv8-stat,.lhv8-profile-card,.lhv8-post{border:1px solid var(--lh-line)!important;box-shadow:0 12px 36px rgba(20,31,48,.045)!important}
.lhv8-card{border-radius:20px!important}

/* Header: darker, calmer and closer to the public LawHub identity. */
.lhv8-topbar{
  height:64px!important;
  background:linear-gradient(100deg,#13243d 0%,#172b49 58%,#1d3658 100%)!important;
  border-bottom:1px solid rgba(255,255,255,.075)!important;
  box-shadow:0 9px 28px rgba(13,25,42,.14)!important;
}
.lhv8-brand .lhv93-wordmark{font-size:23px!important;letter-spacing:1.4px!important}
.lhv8-brand small{opacity:.8;font-size:8.5px!important}
.lhv8-global-search{height:40px!important;background:rgba(4,12,23,.38)!important;border:1px solid rgba(255,255,255,.105)!important;border-radius:12px!important;box-shadow:inset 0 1px 0 rgba(255,255,255,.035)}
.lhv8-global-search input{font-size:11px!important;color:#eef3f8!important}
.lhv8-global-search input::placeholder{color:#a8b0bc!important}
.lhv8-icon-link{width:40px!important;height:40px!important;border-radius:12px!important;background:rgba(8,17,30,.30)!important;border:1px solid rgba(255,255,255,.10)!important;box-shadow:none!important}
.lhv8-icon-link:hover{background:rgba(255,255,255,.11)!important;transform:translateY(-1px)}
.lhv8-top-user{padding:5px 8px!important;border-radius:12px!important}
.lhv8-top-user img,.lhv8-mini-profile img{box-shadow:0 0 0 1px rgba(24,44,73,.12)!important}
.lhv94-admin-mini{display:grid;place-items:center;width:36px;height:36px;border-radius:11px;background:linear-gradient(145deg,#f8f1df,#c99f55);color:#172a46;font:900 10px/1 Georgia,serif;letter-spacing:.08em;box-shadow:inset 0 0 0 1px rgba(255,255,255,.8),0 0 0 1px rgba(13,25,42,.18)}
.lhv8-mini-profile .lhv94-admin-mini{width:48px;height:48px;border-radius:14px}

/* Left navigation */
.lhv8-left,.lhv8-right{background:rgba(255,255,255,.92)!important;border-color:#e5e7eb!important}
.lhv8-side-inner{top:64px!important}
.lhv8-nav a{border-radius:11px!important;color:#3c4450!important;font-weight:720!important;transition:.18s ease!important}
.lhv8-nav a:hover{background:#f3f5f7!important;color:#172a46!important;transform:translateX(2px)}
.lhv8-nav a.is-active{background:#edf1f5!important;color:#172a46!important;box-shadow:inset 3px 0 0 #1c3557!important}
.lhv8-nav a.is-active .lhv87-nav-icon{color:#1c3557!important}
.lhv8-side-foot small{color:#a0a6af!important}

/* Palette: small premium swatches instead of large tiles. */
.lhv92-palette-menu{
  top:50px!important;right:-4px!important;width:278px!important;padding:13px!important;
  border-radius:17px!important;border:1px solid #dfe3e8!important;background:rgba(255,255,255,.98)!important;
  box-shadow:0 22px 70px rgba(11,22,38,.20)!important;backdrop-filter:blur(18px)
}
.lhv92-palette-menu header{padding:1px 2px 11px!important}
.lhv92-palette-menu header b{font-size:12px!important;color:#202631}
.lhv92-palette-menu header small{font-size:9px!important;color:#7c8490!important}
.lhv92-palette-menu header>span{font-size:7px!important;padding:4px 6px!important;background:#f5f6f8}
.lhv92-palette-grid{display:flex!important;flex-wrap:wrap!important;gap:6px!important}
.lhv92-palette-grid button{
  flex:1 1 calc(33.333% - 5px)!important;height:55px!important;min-width:76px!important;
  display:grid!important;grid-template-columns:18px minmax(0,1fr)!important;align-items:center!important;gap:7px!important;
  padding:7px 8px!important;border-radius:11px!important;background:#fafafa!important;border:1px solid #e4e7eb!important;
  box-shadow:none!important;transition:.16s ease!important
}
.lhv92-palette-grid button:hover{background:#fff!important;border-color:#cbd1d8!important;transform:translateY(-1px)}
.lhv92-palette-grid button i{width:18px!important;height:26px!important;border-radius:7px!important;box-shadow:inset 0 0 0 1px rgba(255,255,255,.48)!important}
.lhv92-palette-grid button b{font-size:8.5px!important;white-space:nowrap!important;overflow:hidden;text-overflow:ellipsis}
.lhv92-palette-grid button.is-active{border-color:#75879d!important;background:#f3f6f9!important;box-shadow:0 0 0 2px rgba(24,44,73,.06)!important}
.lhv92-palette-grid [data-lhv81-theme="lawhub"] i{background:linear-gradient(160deg,#162a47 0 62%,#b89a62 62%)}
.lhv92-palette-grid [data-lhv81-theme="navy"] i{background:linear-gradient(160deg,#10243c,#315a80)}
.lhv92-palette-grid [data-lhv81-theme="graphite"] i{background:linear-gradient(160deg,#252a31,#727b86)}
.lhv92-palette-grid [data-lhv81-theme="emerald"] i{background:linear-gradient(160deg,#554733,#aa926d)}
.lhv92-palette-grid [data-lhv81-theme="violet"] i{background:linear-gradient(160deg,#6f3241,#b17682)}
.lhv92-palette-grid [data-lhv81-theme="dark"] i{background:linear-gradient(160deg,#0e1218,#343d49)}

/* Hero surfaces */
.lhv8-welcome,.lhv8-page-head,.lhv8-test-hero,.lhv88-arena-hero-premium,.lhv8-group-hero,.lhv8-result-hero{
  background:linear-gradient(120deg,#121820 0%,#19212c 48%,#25364a 100%)!important;
  border:1px solid rgba(255,255,255,.06)!important;border-radius:22px!important;
  box-shadow:0 22px 48px rgba(13,24,39,.13)!important
}
.lhv8-page-head:after,.lhv8-welcome:after,.lhv8-result-hero:after{opacity:.08!important}
.lhv8-page-head h1,.lhv8-result-hero h1{letter-spacing:-.035em}

/* Smart Study */
.lhv94-study-dashboard{display:grid;grid-template-columns:minmax(280px,1.35fr) repeat(3,minmax(180px,.75fr));gap:12px;margin:14px 0}
.lhv94-study-lead,.lhv94-study-action{position:relative;overflow:hidden;border:1px solid var(--lh-line);border-radius:20px;background:#fff;box-shadow:0 12px 32px rgba(17,30,49,.045)}
.lhv94-study-lead{min-height:178px;padding:24px 145px 22px 24px;background:linear-gradient(145deg,#fff,#f6f7f9)}
.lhv94-study-lead:after{content:"§";position:absolute;right:28px;top:23px;font:700 90px/1 Georgia,serif;color:#e8ebef;transform:rotate(-8deg)}
.lhv94-study-lead small,.lhv94-study-focus .lhv8-section-title small{display:block;color:#8a3444;font-size:8px;font-weight:900;letter-spacing:.19em}
.lhv94-study-lead h2{font-size:21px;margin:7px 0 6px;letter-spacing:-.03em}
.lhv94-study-lead p{margin:0;color:var(--lh-muted);font-size:11px;line-height:1.65}
.lhv94-study-score{position:absolute;right:23px;bottom:20px;z-index:1;text-align:right}
.lhv94-study-score strong{display:block;font:800 30px/1 Georgia,serif;color:#1b304f}
.lhv94-study-score span{display:block;margin-top:5px;font-size:8px;color:#838b96}
.lhv94-study-action{padding:20px;display:grid;grid-template-columns:40px minmax(0,1fr);align-content:center;gap:12px;text-decoration:none;color:inherit;transition:.18s ease}
.lhv94-study-action:hover{transform:translateY(-2px);border-color:#cbd2dc;box-shadow:0 18px 40px rgba(17,30,49,.085)}
.lhv94-study-action>span{width:40px;height:40px;display:grid;place-items:center;border-radius:12px;background:#eef2f5;color:#1a324f;font-size:18px;font-weight:900}
.lhv94-study-action b,.lhv94-study-action small{display:block}.lhv94-study-action b{font-size:12px}.lhv94-study-action small{margin-top:4px;font-size:9px;line-height:1.45;color:#7e8691}
.lhv94-study-action em{grid-column:2;font-style:normal;font:800 17px/1 Georgia,serif;color:#a4aab3}
.lhv94-study-focus{padding:18px 20px!important;margin-bottom:14px}
.lhv94-study-focus>div:last-child{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.lhv94-study-focus>div:last-child>a{display:grid;grid-template-columns:minmax(0,1fr) 130px auto;align-items:center;gap:12px;padding:12px 13px;border:1px solid #e8eaee;border-radius:13px;text-decoration:none;color:inherit;background:#fbfbfc}
.lhv94-study-focus a b,.lhv94-study-focus a small{display:block}.lhv94-study-focus a b{font-size:11px}.lhv94-study-focus a small{font-size:8px;color:#7a828e;margin-top:3px}
.lhv94-study-focus a>i{display:block;height:5px;background:#eaedf1;border-radius:99px;overflow:hidden}.lhv94-study-focus a>i span{display:block;height:100%;background:linear-gradient(90deg,#213d61,#8a3444);border-radius:inherit}
.lhv94-study-focus a>em{font-style:normal;font-size:8px;font-weight:800;color:#324d6e}
.lhv94-course-empty{padding:34px!important;background:linear-gradient(145deg,#fff,#fafafa)!important}

/* Arena opponent picker */
.lhv92-arena-builder{gap:16px!important}
.lhv88-arena-player-field>span,.lhv92-arena-exam-field>span{color:#616c7b!important;font-size:9px!important;letter-spacing:.04em}
.lhv8-search-select{position:relative!important;grid-template-columns:minmax(0,1fr) 102px!important;gap:8px!important}
.lhv8-search-select input{min-height:50px!important;border:1px solid #dce1e7!important;border-radius:14px!important;background:#fff!important;padding:0 16px!important;box-shadow:inset 0 1px 2px rgba(17,30,49,.025)!important;font-size:11px!important}
.lhv8-search-select input:focus{border-color:#8fa0b4!important;box-shadow:0 0 0 4px rgba(24,44,73,.07)!important}
.lhv8-search-select button{min-width:0!important;border:0!important;border-radius:14px!important;background:#1b304f!important;color:#fff!important;font-weight:850!important;font-size:10px!important;box-shadow:0 8px 20px rgba(24,44,73,.14)!important}
.lhv8-search-select button:hover{background:#233e62!important}
.lhv94-arena-searching{padding:12px 14px;color:#7b8490;font-size:10px}
.lhv94-arena-results{margin-top:7px!important;display:grid!important;gap:5px!important;padding:6px!important;border:1px solid #e1e5ea!important;border-radius:14px!important;background:#fff!important;box-shadow:0 16px 42px rgba(17,30,49,.12)!important;max-height:280px;overflow:auto;position:absolute;z-index:50;width:100%}
.lhv88-arena-player-field{position:relative}
.lhv94-arena-person{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:7px;padding:5px;border-radius:10px}
.lhv94-arena-person:hover{background:#f6f7f9}
.lhv94-arena-pick{display:grid!important;grid-template-columns:38px minmax(0,1fr)!important;align-items:center!important;gap:9px!important;padding:5px!important;background:transparent!important;border:0!important;text-align:left!important;cursor:pointer!important;color:inherit!important}
.lhv94-arena-pick img{width:38px;height:38px;border-radius:11px;object-fit:cover}
.lhv94-arena-pick b,.lhv94-arena-pick small{display:block}.lhv94-arena-pick b{font-size:10px}.lhv94-arena-pick small{font-size:8px;margin-top:2px;color:#7a828d}
.lhv94-friend-add,.lhv94-friend-state{border:0;border-radius:9px;padding:7px 9px;font-size:8px;font-weight:850;white-space:nowrap}
.lhv94-friend-add{background:#edf2f7;color:#1c3a5c;cursor:pointer}.lhv94-friend-add:hover{background:#dde7f0}
.lhv94-friend-state{background:#f1f2f4;color:#7b828b}
.lhv91-selected-friend{margin-top:8px!important;border:1px solid #d9e0e8!important;background:linear-gradient(145deg,#f8fafb,#f1f5f7)!important;border-radius:14px!important;box-shadow:none!important}
.lhv91-selected-friend em{background:#e7edf3!important;color:#244260!important}
.lhv88-arena-invite-actions{align-items:stretch!important}.lhv88-arena-invite-actions>button{min-height:50px!important;border-radius:14px!important}

/* Messenger */
.lhv8-messenger{border:1px solid #e1e4e8!important;border-radius:20px!important;overflow:hidden!important;box-shadow:0 14px 42px rgba(17,30,49,.06)!important;background:#fff}
.lhv8-chat-head{min-height:68px!important;padding:10px 14px!important;background:rgba(255,255,255,.98)!important;border-bottom:1px solid #e7e9ec!important}
.lhv94-chat-head-actions{margin-left:auto;display:flex;align-items:center}
.lhv94-chat-head-actions button{display:inline-flex!important;align-items:center!important;gap:6px!important;width:auto!important;height:34px!important;padding:0 10px!important;border:1px solid #e1e5ea!important;border-radius:10px!important;background:#f7f8f9!important;color:#657080!important;cursor:pointer!important}
.lhv94-chat-head-actions button:hover{background:#eef1f4!important;color:#1c334f!important}
.lhv94-chat-head-actions svg{width:15px!important;height:15px!important;fill:none;stroke:currentColor;stroke-width:1.8}.lhv94-chat-head-actions span{font-size:8px;font-weight:800}
.lhv8-message-thread{background:linear-gradient(180deg,#fbfbfc,#f8f9fa)!important}
.lhv8-msg>div{position:relative}
.lhv8-msg.mine>div{padding-right:31px!important}
.lhv94-msg-delete{position:absolute;right:6px;top:6px;width:20px;height:20px;border:0;border-radius:7px;background:rgba(255,255,255,.10);color:rgba(255,255,255,.66);font-size:14px;line-height:1;cursor:pointer;opacity:.45;transition:.15s ease}
.lhv8-msg.mine:hover .lhv94-msg-delete{opacity:1}.lhv94-msg-delete:hover{background:rgba(255,255,255,.20);color:#fff}
.lhv91-seen-time,.lhv91-delivered{font-size:8px!important;opacity:.78!important}
.lhv91-seen-time{border:0!important;background:none!important;color:inherit!important;padding:0!important;cursor:pointer!important;text-decoration:none!important}
.lhv81-chat-collapsed{display:none!important}

/* Result actions */
.lhv94-result-actions{display:grid!important;grid-template-columns:repeat(3,minmax(150px,1fr))!important;gap:8px!important;width:min(650px,100%)!important;align-self:center!important}
.lhv94-result-actions>a,.lhv94-result-actions>button{display:flex!important;align-items:center!important;justify-content:center!important;min-height:43px!important;margin:0!important;padding:9px 12px!important;border-radius:12px!important;text-align:center!important;font-size:9px!important;font-weight:850!important;white-space:nowrap}
.lhv94-result-actions .lhv8-secondary{background:rgba(255,255,255,.09)!important;border:1px solid rgba(255,255,255,.18)!important;color:#fff!important}
.lhv94-result-actions .lhv8-primary{background:#f3f5f7!important;color:#182c49!important;border:1px solid #fff!important}
.lhv94-result-actions .lhv91-danger-btn{background:rgba(138,52,68,.17)!important;border:1px solid rgba(235,178,188,.25)!important;color:#ffd9df!important}
.lhv94-result-actions>*:hover{transform:translateY(-1px)}

/* Comment deletion */
.lhv94-comment-delete{border:0!important;background:transparent!important;color:#9a6d75!important;padding:0!important;margin-left:7px!important;font-size:8px!important;font-weight:800!important;cursor:pointer!important;opacity:.72}
.lhv94-comment-delete:hover{color:#8a3444!important;opacity:1;text-decoration:underline}

/* Distinguished LawHub administrator profile */
.lhv94-admin-profile{overflow:hidden;border:1px solid #d5dbe3!important;box-shadow:0 25px 70px rgba(15,28,47,.11)!important;background:#fff!important}
.lhv94-admin-cover{position:relative!important;height:230px!important;overflow:hidden!important;background:
 radial-gradient(circle at 18% 24%,rgba(197,159,88,.22),transparent 28%),
 radial-gradient(circle at 78% 30%,rgba(73,112,158,.27),transparent 34%),
 linear-gradient(120deg,#0e1724,#172a45 48%,#0c151f)!important;background-size:140% 140%!important;animation:lhv94AdminAurora 10s ease-in-out infinite alternate}
.lhv94-admin-cover:before{content:"";position:absolute;inset:0;background-image:linear-gradient(rgba(255,255,255,.05) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.05) 1px,transparent 1px);background-size:42px 42px;mask-image:linear-gradient(to bottom,#000,transparent 88%);animation:lhv94GridDrift 18s linear infinite}
.lhv94-admin-cover:after{content:"";position:absolute;inset:-80% -30%;background:linear-gradient(115deg,transparent 43%,rgba(255,255,255,.08) 49%,transparent 55%);animation:lhv94Sweep 8s ease-in-out infinite}
@keyframes lhv94AdminAurora{0%{background-position:0% 40%}100%{background-position:100% 60%}}
@keyframes lhv94GridDrift{to{transform:translate3d(42px,42px,0)}}
@keyframes lhv94Sweep{0%,45%{transform:translateX(-35%) rotate(4deg)}70%,100%{transform:translateX(35%) rotate(4deg)}}
.lhv94-admin-orbit{position:absolute;right:60px;top:50%;width:155px;height:155px;transform:translateY(-50%);z-index:1;border:1px solid rgba(216,188,132,.32);border-radius:50%;animation:lhv94Spin 22s linear infinite}
.lhv94-admin-orbit:before,.lhv94-admin-orbit:after{content:"";position:absolute;border:1px solid rgba(255,255,255,.12);border-radius:50%}.lhv94-admin-orbit:before{inset:20px}.lhv94-admin-orbit:after{inset:47px;background:radial-gradient(circle,rgba(216,188,132,.17),transparent 68%)}
.lhv94-admin-orbit i{position:absolute;width:7px;height:7px;border-radius:50%;background:#d6b06d;box-shadow:0 0 18px rgba(214,176,109,.8)}
.lhv94-admin-orbit i:nth-child(1){left:50%;top:-4px}.lhv94-admin-orbit i:nth-child(2){right:-4px;top:50%}.lhv94-admin-orbit i:nth-child(3){left:50%;bottom:-4px}.lhv94-admin-orbit i:nth-child(4){left:-4px;top:50%}
@keyframes lhv94Spin{to{transform:translateY(-50%) rotate(360deg)}}
.lhv94-admin-cover-copy{position:absolute;left:34px;bottom:34px;z-index:2;color:#fff;max-width:560px}.lhv94-admin-cover-copy small{display:block;color:#d8bd89;font-size:8px;font-weight:900;letter-spacing:.20em}.lhv94-admin-cover-copy strong{display:block;margin-top:8px;font:700 25px/1.1 Georgia,serif;letter-spacing:.08em}.lhv94-admin-cover-copy span{display:block;margin-top:7px;color:#aeb8c5;font-size:9px;letter-spacing:.04em}
.lhv94-admin-profile .lhv8-profile-row{align-items:center!important}
.lhv94-admin-seal{width:108px;height:108px;margin-top:-42px;border-radius:28px;display:grid;place-items:center;align-content:center;gap:5px;background:linear-gradient(145deg,#f6e8c9,#c9a15b);border:5px solid #fff;box-shadow:0 12px 28px rgba(20,32,49,.16);color:#172a46;position:relative;z-index:3}
.lhv94-admin-seal span{font:900 31px/1 Georgia,serif;letter-spacing:.04em}.lhv94-admin-seal small{font-size:7px;font-weight:900;letter-spacing:.20em;color:#425166}
.lhv94-admin-badge{display:inline-flex;vertical-align:middle;align-items:center;margin-left:9px;padding:5px 7px;border-radius:7px;background:#172a46;color:#e6c98f;font-size:7px!important;font-weight:900!important;letter-spacing:.13em}
.lhv94-admin-profile .lhv8-profile-identity h1{letter-spacing:-.035em}

/* Dark mode compatibility for new surfaces */
html[data-lh-theme="dark"] .lhv94-study-lead,html[data-lh-theme="dark"] .lhv94-study-action,html[data-lh-theme="dark"] .lhv94-study-focus,html[data-lh-theme="dark"] .lhv94-course-empty,html[data-lh-theme="dark"] .lhv94-arena-results,html[data-lh-theme="dark"] .lhv8-messenger{background:#131a24!important;border-color:#2a3441!important;color:#eef3f8!important}
html[data-lh-theme="dark"] .lhv94-study-lead{background:linear-gradient(145deg,#151d27,#111821)!important}html[data-lh-theme="dark"] .lhv94-study-lead:after{color:#202a36!important}html[data-lh-theme="dark"] .lhv94-study-action>span{background:#1c2836!important;color:#b7cce2!important}html[data-lh-theme="dark"] .lhv94-arena-person:hover{background:#19222e!important}html[data-lh-theme="dark"] .lhv94-chat-head-actions button{background:#18212c!important;border-color:#2b3542!important;color:#bec7d2!important}

@media(max-width:1250px){.lhv94-study-dashboard{grid-template-columns:1fr 1fr}.lhv94-study-lead{grid-column:1/-1}.lhv94-study-action:last-child{grid-column:1/-1}.lhv94-result-actions{grid-template-columns:1fr!important;width:210px!important}}
@media(max-width:850px){
  .lhv94-study-dashboard{grid-template-columns:1fr}.lhv94-study-lead,.lhv94-study-action:last-child{grid-column:auto}.lhv94-study-focus>div:last-child{grid-template-columns:1fr}
  .lhv94-result-actions{width:100%!important;grid-template-columns:repeat(3,1fr)!important}.lhv94-result-actions>a,.lhv94-result-actions>button{white-space:normal!important}
  .lhv94-admin-cover{height:205px!important}.lhv94-admin-orbit{right:30px;width:125px;height:125px}.lhv94-admin-cover-copy{left:22px;bottom:25px}.lhv94-admin-cover-copy strong{font-size:20px}
}
@media(max-width:620px){
  .lhv8-topbar{height:60px!important}.lhv92-palette-menu{left:12px!important;right:12px!important;top:70px!important;width:auto!important}.lhv92-palette-grid{display:grid!important;grid-template-columns:repeat(3,1fr)!important}
  .lhv94-study-lead{padding:20px 20px 88px}.lhv94-study-score{left:20px;right:auto}.lhv94-study-lead:after{right:18px;bottom:12px;top:auto;font-size:70px}.lhv94-study-focus>div:last-child>a{grid-template-columns:1fr 90px}.lhv94-study-focus a>em{display:none}
  .lhv94-result-actions{grid-template-columns:1fr!important}.lhv94-chat-head-actions span{display:none}.lhv94-chat-head-actions button{width:34px!important;padding:0!important;justify-content:center!important}
  .lhv94-admin-cover{height:190px!important}.lhv94-admin-orbit{right:-30px;top:42%;opacity:.65}.lhv94-admin-cover-copy{left:18px;right:18px;bottom:22px}.lhv94-admin-cover-copy strong{font-size:17px}.lhv94-admin-cover-copy span{display:none}.lhv94-admin-seal{width:72px;height:72px;border-radius:20px;margin-top:-28px}.lhv94-admin-seal span{font-size:22px}.lhv94-admin-badge{display:flex;width:max-content;margin:6px 0 0}
}
/* Small Arena picker alignment refinements. */
.lhv94-arena-results{top:79px!important;left:0!important;right:0!important;width:auto!important}
.lhv94-arena-pick>em{font-style:normal;font-size:7px;font-weight:850;color:#5f7187;white-space:nowrap;justify-self:end}
.lhv94-arena-pick{grid-template-columns:38px minmax(0,1fr) auto!important}

/* Keep Arena results in normal flow. The legacy scroll container clipped the
   absolutely positioned result panel to zero height, making users impossible
   to select even though search succeeded. */
.lhv88-arena-player-field>.lhv8-search-results{max-height:none!important;overflow:visible!important;position:relative!important;z-index:60!important}
.lhv88-arena-player-field .lhv94-arena-results{position:relative!important;top:auto!important;left:auto!important;right:auto!important;width:100%!important;margin:7px 0 10px!important;max-height:280px!important;overflow:auto!important}
.lhv94-arena-empty{padding:12px 14px;border:1px solid #e4e7eb;border-radius:12px;background:#fff;color:#78818d;font-size:9px;box-shadow:0 12px 32px rgba(17,30,49,.08)}
@media (prefers-reduced-motion:reduce){.lhv94-admin-cover,.lhv94-admin-cover:before,.lhv94-admin-cover:after,.lhv94-admin-orbit{animation:none!important}.lhv8-nav a,.lhv8-icon-link,.lhv94-study-action{transition:none!important}}

/* 9.4.5 account, registration and messenger polish. */
.lhv90-auth-card{max-height:calc(100vh - 30px);overflow:auto}
.lhv95-register-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.lhv90-auth-form label>em{color:#8a3444;font-style:normal}
.lhv90-input select{width:100%;height:42px;border:0;background:transparent;color:inherit;font:inherit;outline:0}
.lhv90-auth-form label>small{display:block;margin-top:5px;color:#7b8490;font-size:8px;font-weight:500}

.lhv8-top-user{cursor:pointer}
.lhv95-user-menu{position:fixed;z-index:1000010;width:230px;padding:8px;border:1px solid #dfe4ea;border-radius:16px;background:rgba(255,255,255,.98);box-shadow:0 22px 60px rgba(9,21,38,.24);backdrop-filter:blur(18px)}
.lhv95-user-menu[hidden]{display:none!important}
.lhv95-user-menu-head{display:flex;align-items:center;gap:10px;padding:8px 9px 11px;border-bottom:1px solid #edf0f3;margin-bottom:5px}
.lhv95-user-menu-head img{width:42px;height:42px;border-radius:50%;object-fit:cover;border:2px solid #fff;box-shadow:0 3px 12px rgba(20,36,64,.15)}
.lhv95-user-menu-head b,.lhv95-user-menu-head small{display:block}.lhv95-user-menu-head b{font-size:11px}.lhv95-user-menu-head small{margin-top:2px;color:#7b8490;font-size:8px}
.lhv95-user-menu a{display:flex;align-items:center;gap:9px;padding:10px;border-radius:10px;color:#28374a;text-decoration:none;font-size:10px;font-weight:800}
.lhv95-user-menu a:hover{background:#f0f4f7;color:#172f4f}.lhv95-user-menu a:last-child{color:#8a3444;border-top:1px solid #edf0f3;margin-top:4px;border-radius:0 0 10px 10px}
.lhv95-user-menu svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.8}

/* The dock wrapper must stay transparent and circular. A legacy border on the
   wrapper caused the white square visible around minimized profile photos. */
.lhv81-chat-bubble{border:0!important;background:transparent!important;box-shadow:none!important;border-radius:50%!important}
.lhv81-chat-bubble>a{overflow:hidden!important;border:3px solid #fff!important;border-radius:50%!important;box-shadow:0 12px 28px rgba(17,32,53,.24)!important}
.lhv81-chat-bubble img{width:100%!important;height:100%!important;border-radius:50%!important}
.lhv81-chat-bubble>button{z-index:2}

.lhv94-admin-photo{position:relative;z-index:3;width:108px;height:108px;margin-top:-42px;border-radius:28px;object-fit:cover;border:5px solid #fff;box-shadow:0 12px 28px rgba(20,32,49,.18)}
.lhv94-admin-photo-mini{display:block!important;width:32px!important;height:32px!important;border-radius:50%!important;object-fit:cover!important;border:2px solid rgba(255,255,255,.72)!important}

@media(max-width:850px){
  /* v81 applied a full-viewport minimum height after the base mobile rules.
     On phones that left a large blank block between navigation and content. */
  .lhv8-left{min-height:0!important;height:auto!important}
}
@media(max-width:620px){.lhv95-register-grid{grid-template-columns:1fr}.lhv95-user-menu{left:10px!important;right:10px!important;top:64px!important;width:auto}.lhv94-admin-photo{width:72px;height:72px;border-radius:20px;margin-top:-28px}}

/* 9.5 competition history, sponsor management and profile sharing. */
.lhv95-arena-summary{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;margin:0 0 14px}.lhv95-arena-summary>div{border:1px solid var(--lh-line);border-radius:12px;background:#f7f9fb;padding:11px;text-align:center}.lhv95-arena-summary b,.lhv95-arena-summary span{display:block}.lhv95-arena-summary b{font-size:18px;color:#17385f}.lhv95-arena-summary span{font-size:8px;color:#748092;margin-top:3px}.lhv95-last-opponent{color:#53657b!important;margin-top:4px!important}.lhv95-history-actions{display:flex;align-items:center;gap:8px}.lhv95-history-actions .lhv8-secondary{padding:8px 11px}.lhv95-history-modal .lhv8-modal-card{width:min(820px,100%)}.lhv95-history-modal .lhv8-arena-list{max-height:68vh;overflow:auto;padding-right:4px}.lhv95-match-podium{display:flex!important;gap:8px!important;margin-top:8px}.lhv95-match-podium>span{display:grid!important;grid-template-columns:22px 26px minmax(80px,1fr) auto;align-items:center;gap:6px;border:1px solid #dde5ee;border-radius:9px;background:#fff;padding:6px 8px}.lhv95-match-podium i{display:grid;place-items:center;width:22px;height:22px;border-radius:50%;background:#d6a646;color:#fff;font-style:normal;font-size:9px;font-weight:900}.lhv95-match-podium span+span i{background:#8190a3}.lhv95-match-podium img{width:26px!important;height:26px!important}.lhv95-match-podium b{font-size:9px}.lhv95-match-podium em{font-size:8px;color:#647286}.lhv95-match-podium.draw{display:block!important;padding:8px 10px;border-radius:9px;background:#f4f7fa}.lhv95-match-podium.draw span,.lhv95-match-podium.draw b{display:block!important}
.lhv95-profile-tools{display:flex;justify-content:flex-end;gap:8px;margin:-6px 0 12px}.lhv95-profile-photo-trigger{cursor:pointer;transition:transform .18s,box-shadow .18s}.lhv95-profile-photo-trigger:hover{transform:translateY(-2px);box-shadow:0 16px 34px rgba(20,32,49,.22)}.lhv95-arena-profile-stats>div:last-child{display:grid;grid-template-columns:repeat(4,1fr);gap:8px}.lhv95-arena-profile-stats>div:last-child span{padding:12px;border-radius:12px;background:#f5f7fa;text-align:center}.lhv95-arena-profile-stats b,.lhv95-arena-profile-stats small{display:block}.lhv95-arena-profile-stats b{font-size:20px;color:#17385f}.lhv95-arena-profile-stats small{font-size:8px;color:#778394;margin-top:3px}.lhv95-profile-modal .lhv8-modal-card{width:min(720px,100%);padding:0;overflow:hidden}.lhv95-cv-head{display:flex;align-items:center;gap:18px;padding:30px;background:linear-gradient(135deg,#10233e,#274b73);color:#fff}.lhv95-cv-head img{width:112px;height:112px;border-radius:30px;object-fit:cover;border:5px solid rgba(255,255,255,.82)}.lhv95-cv-head small{font-size:9px;letter-spacing:1px;color:#bfcde0}.lhv95-cv-head h2{margin:6px 0 3px;font-size:25px}.lhv95-cv-head p{margin:0;color:#cbd6e5}.lhv95-cv-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px;padding:20px}.lhv95-cv-grid span{padding:10px;border:1px solid #e5eaf0;border-radius:11px}.lhv95-cv-grid small,.lhv95-cv-grid b{display:block}.lhv95-cv-grid small{font-size:8px;color:#7b8797}.lhv95-cv-grid b{font-size:10px;margin-top:3px}.lhv95-cv-bio{margin:0 20px 18px;padding:13px;background:#f5f7f9;border-radius:12px;line-height:1.6}.lhv95-cv-share{display:grid;grid-template-columns:132px 1fr;gap:15px;align-items:center;border-top:1px solid #e7ebf0;padding:18px 20px}.lhv95-cv-share>img{width:132px;height:132px;border:8px solid #fff;box-shadow:0 4px 18px rgba(20,40,65,.12)}.lhv95-cv-share>div{display:grid;gap:7px}.lhv95-cv-share button{width:100%}
.lhv95-sponsor-rail{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-bottom:16px}.lhv95-sponsor-card{position:relative;isolation:isolate;min-height:180px;overflow:hidden;border-radius:18px;padding:18px;color:#fff;text-decoration:none;background:linear-gradient(135deg,rgba(12,30,52,.94),rgba(32,69,105,.85)),var(--ad-image,none) center/cover;box-shadow:0 12px 30px rgba(18,36,58,.12)}.lhv95-sponsor-card:after{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(180deg,transparent,rgba(5,15,27,.35))}.lhv95-sponsor-card>span{font-size:8px;text-transform:uppercase;letter-spacing:1.2px;color:#d6e2ef}.lhv95-sponsor-card h2{margin:20px 0 6px;font-size:18px}.lhv95-sponsor-card p{margin:0;color:#d9e1eb;font-size:10px;line-height:1.55}.lhv95-sponsor-card>b{position:absolute;left:18px;bottom:16px;font-size:9px}
body:not(.lhv8-route-profile):not(.lhv8-route-me){-webkit-user-select:none;user-select:none;-webkit-touch-callout:none}body:not(.lhv8-route-profile):not(.lhv8-route-me) input,body:not(.lhv8-route-profile):not(.lhv8-route-me) textarea,body:not(.lhv8-route-profile):not(.lhv8-route-me) select{user-select:text;-webkit-user-select:text}.lhv95-protection-watermark{position:fixed;z-index:999999;right:12px;bottom:8px;pointer-events:none;opacity:.18;color:#203957;font-size:8px;font-weight:800;letter-spacing:.8px}.lhv8-body img{-webkit-user-drag:none} @media print{body>*{display:none!important}body:after{content:"LawHub დაცული მასალა — ბეჭდვა შეზღუდულია";display:block!important;padding:40px;font:20px sans-serif}}
@media(max-width:850px){.lhv95-sponsor-rail{grid-template-columns:1fr;display:flex;overflow:auto;scroll-snap-type:x mandatory}.lhv95-sponsor-card{min-width:82vw;scroll-snap-align:start}.lhv95-match-podium{display:grid!important}.lhv95-match-podium>span{grid-template-columns:22px 26px 1fr}.lhv95-match-podium em{grid-column:3}.lhv95-arena-summary{grid-template-columns:1fr 1fr}}
@media(max-width:620px){.lhv95-profile-tools{display:grid;grid-template-columns:1fr 1fr}.lhv95-profile-tools button{padding:9px 6px;font-size:9px}.lhv95-arena-profile-stats>div:last-child{grid-template-columns:1fr 1fr}.lhv95-cv-head{padding:22px;display:block;text-align:center}.lhv95-cv-head img{width:92px;height:92px;border-radius:25px}.lhv95-cv-grid{grid-template-columns:1fr;padding:14px}.lhv95-cv-share{grid-template-columns:1fr;text-align:center}.lhv95-cv-share>img{margin:auto}.lhv95-history-actions{display:grid}.lhv95-history-actions button{font-size:8px}}

/* 9.5.2 — compact online strip above a full-width duel builder. */
.lhv88-arena-dashboard{grid-template-columns:minmax(0,1fr)!important;grid-template-areas:"online" "builder"!important;gap:12px!important}
.lhv88-arena-friends{grid-area:online;padding:13px 16px!important;display:grid!important;grid-template-columns:180px minmax(0,1fr)!important;align-items:center!important;gap:14px!important;margin-bottom:0!important}
.lhv88-arena-builder{grid-area:builder}
.lhv88-arena-friends .lhv8-section-title{margin:0!important;padding-right:14px;border-right:1px solid #e3e9f0}
.lhv88-arena-friends .lhv8-section-title>span{white-space:nowrap}
.lhv88-arena-friends .lhv88-friend-grid{display:flex!important;grid-template-columns:none!important;gap:8px!important;max-height:none!important;overflow-x:auto!important;overflow-y:hidden!important;padding:3px 2px 5px;scrollbar-width:thin}
.lhv88-arena-friends .lhv88-friend-grid>button{flex:0 0 148px;min-height:68px!important;padding:8px 10px!important;display:grid!important;grid-template-columns:42px minmax(0,1fr)!important;grid-template-areas:"photo name" "photo username"!important;column-gap:9px!important;align-items:center!important;text-align:left!important}
.lhv88-arena-friends .lhv88-friend-grid .pic{grid-area:photo}
.lhv88-arena-friends .lhv88-friend-grid .pic img{width:42px!important;height:42px!important}
.lhv88-arena-friends .lhv88-friend-grid b{grid-area:name;margin:0!important;align-self:end;font-size:9px!important}
.lhv88-arena-friends .lhv88-friend-grid small{grid-area:username;align-self:start;font-size:7.5px!important}
.lhv88-arena-friends .lhv88-friend-grid>.lhv8-muted{margin:0;padding:10px 2px}
@media(max-width:720px){.lhv88-arena-friends{display:block!important;padding:13px!important}.lhv88-arena-friends .lhv8-section-title{margin-bottom:9px!important;padding-right:0;border-right:0}.lhv88-arena-friends .lhv88-friend-grid>button{flex-basis:138px}}
