/* EMCHOME v2.3 static stylesheet - plain static file, loaded by <link>.
   It never enters Discuz CSS cache compilation.
   Do NOT append anything to extend_common.css. */




body #toptb, body #hd, body #wi_wrap, body #mu,
body #ft, body .ft_wp, body #scrolltop { display: none !important; }
body .bottombg { background: none !important; border: 0 !important; }




body #wp.wp {
  width: 100% !important; max-width: 100% !important;
  min-width: 0 !important; float: none !important;
  margin: 0 !important; padding: 0 !important;
}
body .emc-scope { display: block; }

body .emc-scope.emc-scope-flow { display: contents; }
.emc-scope .wp { width: 100% !important; max-width: 100% !important; }
:root {--ink:#0b1a33; --ink-2:#33465f; --muted:#64748b; --faint:#94a3b8;
  --primary:#1552c4; --primary-dark:#0e3a91; --primary-soft:#eaf1ff;
  --signal:#06b6d4; --signal-dark:#0e7490; --signal-soft:#e3f8fb;
  --bg:#ffffff; --bg-soft:#f6f8fc; --bg-deep:#061a3c; --border:#e4eaf3;
  --amber:#b45309; --amber-soft:#fff5e6;
  --font:-apple-system,BlinkMacSystemFont,"PingFang SC","Hiragino Sans GB","Microsoft YaHei","Helvetica Neue",Arial,sans-serif;
  --mono:"SF Mono","Cascadia Code",Consolas,"Courier New",monospace;
  --t-xs:.75rem; --t-sm:.875rem; --t-base:1rem; --t-lg:1.125rem;
  --t-xl:1.25rem; --t-2xl:1.5rem; --t-3xl:1.875rem; --t-4xl:2.25rem; --t-5xl:3rem;
  --s-1:.25rem; --s-2:.5rem; --s-3:.75rem; --s-4:1rem; --s-5:1.25rem;
  --s-6:1.5rem; --s-8:2rem; --s-10:2.5rem; --s-12:3rem; --s-16:4rem; --s-20:5rem;
  --r-sm:4px; --r-md:8px; --r-lg:12px; --r-xl:18px; --r-full:999px;
  --sh-sm:0 1px 2px rgba(11,26,51,.05);
  --sh-md:0 4px 14px rgba(11,26,51,.07);
  --sh-lg:0 16px 40px rgba(11,26,51,.12);
  --ease:cubic-bezier(.2,.7,.3,1);}
.emc-scope, .emc-scope *, .emc-scope *::before, .emc-scope *::after {box-sizing:border-box;margin:0;padding:0}
.emc-scope {scroll-behavior:smooth;-webkit-text-size-adjust:100%}
.emc-scope {font-family:var(--font);color:var(--ink);background:var(--bg);line-height:1.75;-webkit-font-smoothing:antialiased;font-size:var(--t-base)}
.emc-scope a {color:inherit;text-decoration:none}
.emc-scope button, .emc-scope input {font:inherit;color:inherit}
.emc-scope button {cursor:pointer;background:none;border:none}
.emc-scope img, .emc-scope svg {display:block;max-width:100%}
.emc-scope ul, .emc-scope ol {list-style:none}
.emc-scope :focus-visible {outline:3px solid var(--signal);outline-offset:3px;border-radius:3px}
.emc-scope ::selection {background:var(--signal);color:#fff}
.emc-scope .container {width:min(1200px,100% - 3rem);margin-inline:auto}
.emc-scope .skip {position:absolute;left:-9999px;top:0;background:#fff;padding:.75rem 1rem;z-index:999;border:2px solid var(--primary)}
.emc-scope .skip:focus {left:1rem;top:1rem}
.emc-scope .sr-only {position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}
.emc-scope .btn {display:inline-flex;align-items:center;justify-content:center;gap:.5rem;padding:.8rem 1.5rem;border-radius:var(--r-md);font-weight:600;font-size:var(--t-sm);white-space:nowrap;transition:transform .2s var(--ease),box-shadow .2s var(--ease),background .2s,border-color .2s}
.emc-scope .btn:hover {transform:translateY(-2px)}
.emc-scope .btn-primary {background:var(--primary);color:#fff;box-shadow:0 6px 18px rgba(21,82,196,.24)}
.emc-scope .btn-primary:hover {background:var(--primary-dark);box-shadow:0 10px 26px rgba(21,82,196,.32)}
.emc-scope .btn-ghost {background:rgba(255,255,255,.08);color:#fff;border:1px solid rgba(255,255,255,.35)}
.emc-scope .btn-ghost:hover {background:rgba(255,255,255,.16);border-color:#fff}
.emc-scope .btn-light {background:#fff;color:var(--primary-dark)}
.emc-scope .btn-light:hover {box-shadow:var(--sh-lg)}
.emc-scope .btn-outline-light {background:transparent;color:#fff;border:1px solid rgba(255,255,255,.5)}
.emc-scope .btn-outline-light:hover {background:rgba(255,255,255,.12)}
.emc-scope .btn-lg {padding:1rem 2rem;font-size:var(--t-base)}
.emc-scope .chip {display:inline-flex;align-items:center;gap:.35rem;padding:.28rem .7rem;border-radius:var(--r-full);font-size:var(--t-xs);font-weight:600;line-height:1.5;letter-spacing:.01em}
.emc-scope .chip-blue {background:var(--primary-soft);color:var(--primary-dark)}
.emc-scope .chip-cyan {background:var(--signal-soft);color:var(--signal-dark)}
.emc-scope .chip-amber {background:var(--amber-soft);color:var(--amber)}
.emc-scope .chip-gray {background:var(--bg-soft);color:var(--muted);border:1px solid var(--border)}
.emc-scope .eyebrow {font-size:var(--t-xs);font-weight:700;letter-spacing:.16em;text-transform:uppercase;color:var(--signal-dark)}
.emc-scope .section-head {display:flex;align-items:flex-end;justify-content:space-between;gap:2rem;margin-bottom:var(--s-10);flex-wrap:wrap}
.emc-scope .section-head h2 {font-size:clamp(1.6rem,3vw,2.05rem);line-height:1.3;letter-spacing:-.02em;margin-top:.5rem}
.emc-scope .section-head p {color:var(--muted);font-size:var(--t-sm);margin-top:.55rem;max-width:560px}
.emc-scope .text-link {display:inline-flex;align-items:center;gap:.35rem;color:var(--primary);font-size:var(--t-sm);font-weight:600;border-bottom:1px solid transparent;padding-bottom:2px}
.emc-scope .text-link:hover {border-color:var(--primary)}
.emc-scope .text-link svg {width:14px;height:14px;transition:transform .2s}
.emc-scope .text-link:hover svg {transform:translateX(3px)}
.emc-scope section {scroll-margin-top:84px}
.emc-scope .topbar {background:var(--bg-deep);color:#a9c1e6;font-size:var(--t-xs);border-bottom:1px solid rgba(255,255,255,.08)}
.emc-scope .topbar .container {display:flex;align-items:center;justify-content:space-between;min-height:36px;gap:1rem}
.emc-scope .topbar-lead {display:flex;align-items:center;gap:.55rem}
.emc-scope .dot {width:6px;height:6px;border-radius:50%;background:var(--signal);box-shadow:0 0 0 4px rgba(6,182,212,.16);flex:none}
.emc-scope .topbar-links {display:flex;align-items:center;gap:1.25rem}
.emc-scope .topbar a:hover {color:#fff}
.emc-scope .topbar .sep {width:1px;height:12px;background:rgba(255,255,255,.18)}
.emc-scope .site-header {position:sticky;top:0;z-index:100;background:rgba(255,255,255,.94);backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px);border-bottom:1px solid var(--border)}
.emc-scope .nav-inner {display:flex;align-items:center;gap:1.5rem;min-height:70px}
.emc-scope .brand {display:flex;align-items:center;gap:.7rem;flex:none}
.emc-scope .brand-mark {width:38px;height:38px;border-radius:10px;background:linear-gradient(140deg,#0b3b86,#06b6d4);display:grid;place-items:center;box-shadow:0 4px 12px rgba(11,59,134,.22)}
.emc-scope .brand-mark svg {width:24px;height:24px}
.emc-scope .brand-txt strong {display:block;font-size:1.02rem;line-height:1.2;letter-spacing:-.01em}
.emc-scope .brand-txt span {display:block;font-size:.62rem;letter-spacing:.22em;color:var(--muted);font-family:var(--mono);margin-top:2px}
.emc-scope .nav-links {display:flex;align-items:center;gap:.35rem;margin-left:auto}
.emc-scope .nav-links a {display:block;padding:.5rem .8rem;border-radius:var(--r-md);font-size:var(--t-sm);font-weight:500;color:var(--ink-2);white-space:nowrap;transition:background .2s,color .2s}
.emc-scope .nav-links a:hover {background:var(--bg-soft);color:var(--primary)}
.emc-scope .nav-links a[aria-current="page"] {color:var(--primary);font-weight:700;background:var(--primary-soft)}
.emc-scope .nav-actions {display:flex;align-items:center;gap:.6rem;flex:none}
.emc-scope .icon-btn {width:38px;height:38px;display:grid;place-items:center;border-radius:var(--r-md);border:1px solid var(--border);color:var(--ink-2);transition:all .2s}
.emc-scope .icon-btn:hover {border-color:var(--primary);color:var(--primary);background:var(--primary-soft)}
.emc-scope .icon-btn svg {width:18px;height:18px}
.emc-scope .btn-login {padding:.5rem 1.1rem;background:var(--ink);color:#fff;border-radius:var(--r-md);font-size:var(--t-sm);font-weight:600}
.emc-scope .btn-login:hover {background:var(--primary)}
.emc-scope .btn-admin, .emc-scope .btn-logout {display:inline-flex;align-items:center;padding:.5rem .65rem;border-radius:var(--r-sm);font-size:var(--t-xs);font-weight:600;white-space:nowrap;color:var(--ink-2)}
.emc-scope .btn-admin {color:var(--primary)}
.emc-scope .btn-admin:hover, .emc-scope .btn-logout:hover {background:var(--primary-soft);color:var(--primary)}
.emc-scope .menu-toggle {display:none;width:40px;height:40px;border:1px solid var(--border);border-radius:var(--r-md);align-items:center;justify-content:center;flex-direction:column;gap:5px}
.emc-scope .menu-toggle span {display:block;width:19px;height:2px;background:var(--ink);border-radius:2px;transition:transform .25s,opacity .25s}
.emc-scope .menu-toggle[aria-expanded="true"] span:nth-child(1) {transform:translateY(7px) rotate(45deg)}
.emc-scope .menu-toggle[aria-expanded="true"] span:nth-child(2) {opacity:0}
.emc-scope .menu-toggle[aria-expanded="true"] span:nth-child(3) {transform:translateY(-7px) rotate(-45deg)}
.emc-scope .mobile-panel {display:none;border-top:1px solid var(--border);background:#fff;padding:1rem 0 1.25rem}
.emc-scope .mobile-panel.open {display:block}
.emc-scope .mobile-panel a {display:block;padding:.7rem .25rem;border-bottom:1px solid var(--bg-soft);font-size:var(--t-base);font-weight:500}
.emc-scope .mobile-panel a:last-of-type {border-bottom:none}
.emc-scope .hero {position:relative;overflow:hidden;background:radial-gradient(1100px 520px at 78% 18%,#124a9e 0%,transparent 62%),linear-gradient(125deg,#061a3c 0%,#0a2c66 60%,#083f7a 100%);color:#fff}
.emc-scope .hero::before {content:"";position:absolute;inset:0;background-image:linear-gradient(rgba(255,255,255,.045) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.045) 1px,transparent 1px);background-size:48px 48px;mask-image:linear-gradient(90deg,transparent,#000 35%,#000 90%,transparent);pointer-events:none}
.emc-scope .hero::after {content:"";position:absolute;width:520px;height:520px;border-radius:50%;background:rgba(6,182,212,.13);filter:blur(90px);top:-180px;right:-80px;pointer-events:none}
.emc-scope .hero-grid {position:relative;display:grid;grid-template-columns:1.08fr .92fr;gap:3.5rem;align-items:center;padding:5rem 0 5.5rem}
.emc-scope .hero-badge {display:inline-flex;align-items:center;gap:.55rem;padding:.35rem .9rem .35rem .4rem;border:1px solid rgba(6,182,212,.4);background:rgba(6,182,212,.1);border-radius:var(--r-full);font-size:var(--t-xs);color:#a5f0fc;margin-bottom:1.6rem}
.emc-scope .hero-badge b {background:var(--signal);color:#04212b;padding:.1rem .55rem;border-radius:var(--r-full);font-size:.7rem;font-weight:800}
.emc-scope .hero h1 {font-size:clamp(2.1rem,4.6vw,3.35rem);line-height:1.24;letter-spacing:-.03em;font-weight:800;margin-bottom:1.25rem}
.emc-scope .hero h1 em {font-style:normal;background:linear-gradient(100deg,#7dd3fc,#22d3ee);-webkit-background-clip:text;background-clip:text;color:transparent}
.emc-scope .hero-desc {font-size:clamp(1rem,1.5vw,1.1rem);line-height:1.9;color:#c4d8f5;max-width:33rem;margin-bottom:2rem}
.emc-scope .hero-desc strong {color:#fff;font-weight:600}
.emc-scope .search-box {display:flex;align-items:center;gap:.6rem;background:#fff;border-radius:var(--r-lg);padding:.45rem .45rem .45rem 1.1rem;box-shadow:0 18px 44px rgba(0,0,0,.24);max-width:520px;margin-bottom:1.1rem}
.emc-scope .search-box svg {width:19px;height:19px;color:var(--faint);flex:none}
.emc-scope .search-box input {flex:1;min-width:0;border:none;outline:none;padding:.65rem 0;font-size:var(--t-sm);background:transparent;color:var(--ink)}
.emc-scope .search-box input::placeholder {color:var(--faint)}
.emc-scope .search-box button {background:var(--primary);color:#fff;padding:.62rem 1.15rem;border-radius:var(--r-md);font-size:var(--t-sm);font-weight:600;flex:none;transition:background .2s}
.emc-scope .search-box button:hover {background:var(--primary-dark)}
.emc-scope .hotkeys {display:flex;flex-wrap:wrap;gap:.5rem;align-items:center;font-size:var(--t-xs);color:#8fb0dd;margin-bottom:2.2rem}
.emc-scope .hotkeys a {padding:.22rem .6rem;border:1px solid rgba(255,255,255,.18);border-radius:var(--r-full);color:#bcd4f2;transition:all .2s}
.emc-scope .hotkeys a:hover {background:rgba(255,255,255,.12);border-color:rgba(255,255,255,.4);color:#fff}
.emc-scope .hero-actions {display:flex;gap:.85rem;flex-wrap:wrap}
.emc-scope .scope {position:relative;border:1px solid rgba(125,211,252,.28);border-radius:var(--r-xl);background:linear-gradient(160deg,rgba(9,40,90,.82),rgba(4,20,48,.9));box-shadow:0 30px 70px rgba(0,0,0,.35),inset 0 1px 0 rgba(255,255,255,.08);padding:1.1rem;backdrop-filter:blur(6px)}
.emc-scope .scope-top {display:flex;align-items:center;justify-content:space-between;padding:.15rem .4rem .9rem;border-bottom:1px solid rgba(255,255,255,.09);font-family:var(--mono);font-size:.68rem;color:#7fb3e8;letter-spacing:.06em}
.emc-scope .scope-live {display:inline-flex;align-items:center;gap:.4rem;color:#5eead4}
.emc-scope .scope-live i {width:6px;height:6px;border-radius:50%;background:#34d399;animation:emc-pulse 2s infinite}
@keyframes emc-pulse {0%,100%{opacity:1;box-shadow:0 0 0 0 rgba(52,211,153,.5)}50%{opacity:.7;box-shadow:0 0 0 6px rgba(52,211,153,0)}}
.emc-scope .scope svg {width:100%;height:auto}
.emc-scope .scope-foot {display:grid;grid-template-columns:repeat(3,1fr);gap:.6rem;margin-top:.9rem}
.emc-scope .scope-stat {border:1px solid rgba(255,255,255,.1);border-radius:var(--r-md);padding:.65rem .75rem;background:rgba(255,255,255,.035)}
.emc-scope .scope-stat span {display:block;font-size:.65rem;color:#7fb3e8;letter-spacing:.05em;font-family:var(--mono)}
.emc-scope .scope-stat strong {display:block;font-size:1.02rem;color:#e8f6ff;font-family:var(--mono);margin-top:.15rem}
.emc-scope .wave-a {animation:emc-dash 9s linear infinite}
@keyframes emc-dash {to{stroke-dashoffset:-400}}
.emc-scope .stats {background:#fff;border-bottom:1px solid var(--border)}
.emc-scope .stats-grid {display:grid;grid-template-columns:repeat(4,1fr)}
.emc-scope .stat {padding:1.9rem 1.5rem;text-align:center;border-right:1px solid var(--border)}
.emc-scope .stat:last-child {border-right:none}
.emc-scope .stat strong {display:block;font-size:clamp(1.5rem,2.6vw,2rem);font-weight:800;letter-spacing:-.03em;color:var(--primary);font-family:var(--mono)}
.emc-scope .stat span {display:block;font-size:var(--t-sm);color:var(--muted);margin-top:.25rem}
.emc-scope .topics {padding:var(--s-20) 0;background:var(--bg-soft)}
.emc-scope .topic-grid {display:grid;grid-template-columns:repeat(4,1fr);gap:1.1rem}
.emc-scope .topic {position:relative;background:#fff;border:1px solid var(--border);border-radius:var(--r-lg);padding:1.6rem 1.4rem;transition:transform .28s var(--ease),box-shadow .28s var(--ease),border-color .28s}
.emc-scope .topic::after {content:"";position:absolute;left:1.4rem;bottom:0;width:0;height:2px;background:var(--signal);transition:width .3s var(--ease)}
.emc-scope .topic:hover {transform:translateY(-5px);box-shadow:var(--sh-lg);border-color:#c7dbfb}
.emc-scope .topic:hover::after {width:calc(100% - 2.8rem)}
.emc-scope .topic-icon {width:44px;height:44px;border-radius:var(--r-md);background:var(--primary-soft);color:var(--primary);display:grid;place-items:center;margin-bottom:1.1rem}
.emc-scope .topic:nth-child(3n+2) .topic-icon {background:var(--signal-soft);color:var(--signal-dark)}
.emc-scope .topic:nth-child(3n+3) .topic-icon {background:var(--amber-soft);color:var(--amber)}
.emc-scope .topic-icon svg {width:23px;height:23px}
.emc-scope .topic h3 {font-size:var(--t-lg);line-height:1.4;margin-bottom:.4rem;display:flex;align-items:center;justify-content:space-between;gap:.5rem}
.emc-scope .topic h3 svg {width:15px;height:15px;color:var(--faint);flex:none;transition:transform .25s,color .25s}
.emc-scope .topic:hover h3 svg {transform:translate(2px,-2px);color:var(--primary)}
.emc-scope .topic p {font-size:var(--t-sm);color:var(--muted);line-height:1.7}
.emc-scope .topic-meta {display:block;margin-top:.9rem;font-size:var(--t-xs);color:var(--faint);font-family:var(--mono)}
.emc-scope .content-wrap {padding:var(--s-20) 0}
.emc-scope .two-col {display:grid;grid-template-columns:minmax(0,1.85fr) minmax(280px,1fr);gap:3rem;align-items:start}
.emc-scope .tabs {display:flex;gap:.4rem;flex-wrap:wrap;margin-bottom:1.4rem;border-bottom:1px solid var(--border);padding-bottom:.9rem}
.emc-scope .tab {padding:.42rem .9rem;border-radius:var(--r-full);font-size:var(--t-sm);font-weight:600;color:var(--muted);border:1px solid transparent;transition:all .2s}
.emc-scope .tab:hover {color:var(--primary);background:var(--primary-soft)}
.emc-scope .tab[aria-selected="true"] {background:var(--primary);color:#fff}
.emc-scope .article-list {border-top:1px solid var(--border)}
.emc-scope .article-item {display:grid;grid-template-columns:78px 1fr;gap:1.2rem;padding:1.35rem 0;border-bottom:1px solid var(--border);transition:background .2s}
.emc-scope .article-item:hover {background:linear-gradient(90deg,var(--bg-soft),transparent)}
.emc-scope .thumb {height:78px;border-radius:var(--r-md);overflow:hidden;position:relative;display:grid;place-items:center;background:linear-gradient(135deg,#dbeafe,#e0f2fe)}
.emc-scope .thumb:nth-child(3n) {background:linear-gradient(135deg,#e0f2fe,#ccfbf1)}
.emc-scope .thumb svg {width:52px;height:52px;opacity:.75}
.emc-scope .article-item h3 {font-size:var(--t-lg);line-height:1.5;font-weight:650;margin-bottom:.5rem;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.emc-scope .article-item h3 a:hover {color:var(--primary)}
.emc-scope .article-meta {display:flex;align-items:center;gap:.65rem;flex-wrap:wrap;font-size:var(--t-xs);color:var(--faint)}
.emc-scope .article-meta .sep {width:3px;height:3px;border-radius:50%;background:var(--faint);opacity:.6}
.emc-scope .article-item[hidden] {display:none}
.emc-scope .more-row {margin-top:1.5rem;text-align:right}
.emc-scope .side-card {background:#fff;border:1px solid var(--border);border-radius:var(--r-lg);padding:1.4rem;margin-bottom:1.25rem;box-shadow:var(--sh-sm)}
.emc-scope .side-card.soft {background:linear-gradient(160deg,#f2f8ff,#eafafd);border-color:#d8ebfa}
.emc-scope .side-title {display:flex;align-items:center;justify-content:space-between;font-size:var(--t-base);font-weight:750;margin-bottom:1rem;padding-bottom:.75rem;border-bottom:1px solid var(--border)}
.emc-scope .side-title::before {content:"";position:absolute}
.emc-scope .side-title span:first-child {display:flex;align-items:center;gap:.5rem}
.emc-scope .side-title i {width:3px;height:16px;border-radius:2px;background:var(--signal);display:inline-block}
.emc-scope .rank-item {display:flex;gap:.85rem;padding:.65rem 0;border-bottom:1px dashed var(--border);font-size:var(--t-sm);line-height:1.6}
.emc-scope .rank-item:last-child {border-bottom:none}
.emc-scope .rank-num {font-family:var(--mono);font-size:var(--t-sm);font-weight:700;color:var(--faint);flex:none;width:20px}
.emc-scope .rank-item:nth-child(1) .rank-num {color:#dc2626}
.emc-scope .rank-item:nth-child(2) .rank-num {color:#ea580c}
.emc-scope .rank-item:nth-child(3) .rank-num {color:#d97706}
.emc-scope .rank-item a:hover {color:var(--primary)}
.emc-scope .rank-item a {display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.emc-scope .tag-cloud {display:flex;flex-wrap:wrap;gap:.5rem}
.emc-scope .tag-cloud a {font-size:var(--t-xs);padding:.34rem .7rem;border:1px solid var(--border);border-radius:var(--r-full);color:var(--ink-2);background:#fff;transition:all .2s}
.emc-scope .tag-cloud a:hover {border-color:var(--primary);color:var(--primary);background:var(--primary-soft);transform:translateY(-2px)}
.emc-scope .standards {padding:var(--s-16) 0;background:var(--bg-deep);color:#fff;position:relative;overflow:hidden}
.emc-scope .standards::before {content:"";position:absolute;inset:0;background:radial-gradient(600px 300px at 12% 10%,rgba(6,182,212,.16),transparent 70%);pointer-events:none}
.emc-scope .standards .eyebrow {color:#67e8f9}
.emc-scope .standards .section-head h2 {color:#fff}
.emc-scope .standards .section-head p {color:#a9c1e6}
.emc-scope .std-grid {position:relative;display:grid;grid-template-columns:repeat(3,1fr);gap:1rem}
.emc-scope .std-card {border:1px solid rgba(255,255,255,.14);background:rgba(255,255,255,.045);border-radius:var(--r-lg);padding:1.5rem;transition:all .28s var(--ease)}
.emc-scope .std-card:hover {background:rgba(255,255,255,.09);border-color:rgba(103,232,249,.5);transform:translateY(-4px)}
.emc-scope .std-card time {font-family:var(--mono);font-size:var(--t-xs);color:#7fb3e8}
.emc-scope .std-card h3 {font-size:var(--t-base);line-height:1.65;margin:.7rem 0 1rem;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;min-height:5rem}
.emc-scope .std-card a {font-size:var(--t-xs);color:#67e8f9;font-weight:600;display:inline-flex;align-items:center;gap:.35rem}
.emc-scope .std-card a:hover {text-decoration:underline}
.emc-scope .forum {padding:var(--s-20) 0}
.emc-scope .forum-grid {display:grid;grid-template-columns:1.4fr 1fr;gap:2rem}
.emc-scope .thread-list {border:1px solid var(--border);border-radius:var(--r-lg);overflow:hidden}
.emc-scope .thread {padding:1rem 1.25rem;border-bottom:1px solid var(--border);display:flex;align-items:center;gap:1rem;font-size:var(--t-sm);transition:background .2s}
.emc-scope .thread:last-child {border-bottom:none}
.emc-scope .thread:hover {background:var(--bg-soft)}
.emc-scope .thread .chip {flex:none}
.emc-scope .thread a {flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;line-height:1.6}
.emc-scope .thread a:hover {color:var(--primary)}
.emc-scope .thread time {color:var(--faint);font-size:var(--t-xs);font-family:var(--mono);flex:none}
.emc-scope .digest-grid {display:grid;grid-template-columns:1fr 1fr;gap:1rem}
.emc-scope .digest {border:1px solid var(--border);border-radius:var(--r-lg);overflow:hidden;background:#fff;transition:box-shadow .25s,transform .25s}
.emc-scope .digest:hover {box-shadow:var(--sh-md);transform:translateY(-3px)}
.emc-scope .digest-visual {height:100px;display:grid;place-items:center;background:linear-gradient(135deg,#dbeafe,#e0f2fe)}
.emc-scope .digest:nth-child(2) .digest-visual {background:linear-gradient(135deg,#ccfbf1,#e0f2fe)}
.emc-scope .digest:nth-child(3) .digest-visual {background:linear-gradient(135deg,#fef3c7,#dbeafe)}
.emc-scope .digest:nth-child(4) .digest-visual {background:linear-gradient(135deg,#e0e7ff,#cffafe)}
.emc-scope .digest-visual svg {width:64px;height:64px;opacity:.65}
.emc-scope .digest-body {padding:.9rem 1rem 1.1rem}
.emc-scope .digest-body h3 {font-size:var(--t-sm);line-height:1.6;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;min-height:2.9rem}
.emc-scope .cta {padding:var(--s-16) 0;background:linear-gradient(115deg,#0e3a91 0%,#1552c4 55%,#0e7490 100%);color:#fff;text-align:center;position:relative;overflow:hidden}
.emc-scope .cta::after {content:"";position:absolute;inset:0;background-image:radial-gradient(rgba(255,255,255,.13) 1px,transparent 1px);background-size:22px 22px;opacity:.5;pointer-events:none}
.emc-scope .cta-inner {position:relative;max-width:660px;margin-inline:auto}
.emc-scope .cta h2 {font-size:clamp(1.7rem,3.4vw,2.3rem);line-height:1.35;margin-bottom:.9rem}
.emc-scope .cta p {color:#d5e7ff;line-height:1.85;margin-bottom:2rem}
.emc-scope .cta-actions {display:flex;gap:.8rem;justify-content:center;flex-wrap:wrap}
.emc-scope .site-footer {background:#08172f;color:#9fb2cd;padding:var(--s-16) 0 0;font-size:var(--t-sm)}
.emc-scope .footer-grid {display:grid;grid-template-columns:1.7fr 1fr 1fr 1fr;gap:2.5rem;padding-bottom:var(--s-12)}
.emc-scope .footer-brand p {line-height:1.85;max-width:300px;margin-top:1rem;font-size:var(--t-sm)}
.emc-scope .footer-brand .brand-txt strong {color:#fff}
.emc-scope .footer-col h4 {color:#fff;font-size:var(--t-sm);font-weight:700;margin-bottom:1rem;letter-spacing:.03em}
.emc-scope .footer-col li {margin-bottom:.6rem}
.emc-scope .footer-col a:hover {color:#67e8f9}
.emc-scope .footer-links {display:flex;flex-wrap:wrap;gap:.75rem 1.25rem;padding:1.1rem 0;border-top:1px solid rgba(255,255,255,.1);font-size:var(--t-xs);color:#7e93b0}
.emc-scope .footer-links span {color:#5f7697}
.emc-scope .footer-bottom {border-top:1px solid rgba(255,255,255,.1);padding:1.25rem 0;display:flex;justify-content:space-between;gap:1rem;flex-wrap:wrap;font-size:var(--t-xs);color:#6f86a6}
.emc-scope .to-top {position:fixed;right:1.4rem;bottom:1.4rem;width:44px;height:44px;border-radius:50%;background:var(--primary);color:#fff;display:grid;place-items:center;box-shadow:var(--sh-lg);opacity:0;pointer-events:none;transition:opacity .25s,transform .25s;z-index:90}
.emc-scope .to-top.show {opacity:1;pointer-events:auto}
.emc-scope .to-top:hover {transform:translateY(-3px)}
.emc-scope .to-top svg {width:19px;height:19px}
.emc-scope .toast {position:fixed;left:50%;bottom:2rem;transform:translate(-50%,20px);background:var(--ink);color:#fff;padding:.8rem 1.3rem;border-radius:var(--r-md);font-size:var(--t-sm);box-shadow:var(--sh-lg);opacity:0;pointer-events:none;transition:all .3s var(--ease);z-index:200;max-width:min(90vw,420px);text-align:center}
.emc-scope .toast.show {opacity:1;transform:translate(-50%,0)}
.emc-scope .reveal {opacity:0;transform:translateY(18px);transition:opacity .6s var(--ease),transform .6s var(--ease)}
.emc-scope .reveal.in {opacity:1;transform:none}
@media(max-width:1080px) {
.emc-scope .nav-links {gap:0}
.emc-scope .nav-links a {padding:.5rem .55rem;font-size:.82rem}
.emc-scope .hero-grid {gap:2rem}
.emc-scope .topic-grid {grid-template-columns:repeat(2,1fr)}
.emc-scope .two-col {grid-template-columns:minmax(0,1.5fr) minmax(250px,1fr);gap:2rem}
.emc-scope .footer-grid {grid-template-columns:1.5fr 1fr 1fr}
}
@media(max-width:1120px) {
.emc-scope .nav-actions .btn-admin, .emc-scope .nav-actions .btn-logout {display:none}
}
@media(max-width:900px) {
.emc-scope .nav-links, .emc-scope .nav-actions .btn-login, .emc-scope .nav-actions .btn-admin, .emc-scope .nav-actions .btn-logout, .emc-scope .nav-actions .icon-btn {display:none}
.emc-scope .menu-toggle {display:flex}
.emc-scope .hero-grid {grid-template-columns:minmax(0,1fr);padding:3.5rem 0 4rem}
.emc-scope .scope {max-width:520px;margin-inline:auto}
.emc-scope .stats-grid {grid-template-columns:repeat(2,minmax(0,1fr))}
.emc-scope .stat:nth-child(2) {border-right:none}
.emc-scope .stat:nth-child(-n+2) {border-bottom:1px solid var(--border)}
.emc-scope .two-col {grid-template-columns:minmax(0,1fr);gap:2.5rem}
.emc-scope .forum-grid {grid-template-columns:minmax(0,1fr)}
.emc-scope .std-grid {grid-template-columns:minmax(0,1fr)}
.emc-scope .std-card h3 {min-height:0}
.emc-scope .footer-grid {grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:600px) {
.emc-scope .container {width:min(1200px,100% - 2rem)}
.emc-scope .topbar-links {gap:.7rem}
.emc-scope .topbar-links a:nth-of-type(n+3), .emc-scope .topbar-links .sep:nth-of-type(n+2) {display:none}
.emc-scope .hero h1 {font-size:2rem}
.emc-scope .hero-actions .btn {flex:1 1 auto}
.emc-scope .topic-grid {grid-template-columns:repeat(2,minmax(0,1fr));gap:.75rem}
.emc-scope .topic {padding:1.1rem 1rem}
.emc-scope .topic-icon {width:38px;height:38px;margin-bottom:.8rem}
.emc-scope .topic h3 {font-size:var(--t-base)}
.emc-scope .topic p {font-size:var(--t-xs)}
.emc-scope .article-item {grid-template-columns:60px minmax(0,1fr);gap:.85rem}
.emc-scope .thumb {height:60px}
.emc-scope .thumb svg {width:40px;height:40px}
.emc-scope .article-item h3 {font-size:var(--t-base)}
.emc-scope .section-head {margin-bottom:var(--s-6)}
.emc-scope .topics, .emc-scope .content-wrap, .emc-scope .forum {padding:var(--s-12) 0}
.emc-scope .digest-grid {grid-template-columns:repeat(2,minmax(0,1fr));gap:.7rem}
.emc-scope .footer-grid {grid-template-columns:repeat(2,minmax(0,1fr));gap:1.5rem}
.emc-scope .footer-brand {grid-column:1/-1}
.emc-scope .scope-foot {grid-template-columns:repeat(3,minmax(0,1fr))}
.emc-scope .scope-stat {padding:.5rem}
.emc-scope .scope-stat strong {font-size:.85rem}
.emc-scope .thread time {display:none}
.emc-scope .hero-grid, .emc-scope .std-grid, .emc-scope .forum-grid, .emc-scope .two-col {grid-template-columns:minmax(0,1fr)}
.emc-scope .thread-list, .emc-scope .digest-grid, .emc-scope .topic-grid, .emc-scope .article-item, .emc-scope .forum-grid>div, .emc-scope .two-col>div, .emc-scope .digest, .emc-scope .thread {min-width:0;max-width:100%}
.emc-scope .digest-grid {grid-template-columns:repeat(2,minmax(0,1fr))}
.emc-scope .topic-grid {grid-template-columns:repeat(2,minmax(0,1fr))}
.emc-scope .article-item {grid-template-columns:60px minmax(0,1fr)}
}
@media(max-width:380px) {
.emc-scope .topic-grid, .emc-scope .digest-grid {grid-template-columns:minmax(0,1fr)}
.emc-scope .hotkeys {display:none}
}
@media(prefers-reduced-motion:reduce) {
.emc-scope, .emc-scope *, .emc-scope *::before, .emc-scope *::after {animation-duration:.01ms!important;transition-duration:.01ms!important;scroll-behavior:auto!important}
.emc-scope .reveal {opacity:1;transform:none}
}
@media print {
.emc-scope .site-header, .emc-scope .topbar, .emc-scope .to-top, .emc-scope .cta, .emc-scope .hero-actions, .emc-scope .search-box {display:none!important}
.emc-scope {color:#000}
.emc-scope .hero {background:#fff;color:#000}
.emc-scope .standards, .emc-scope .site-footer {background:#fff;color:#000}
}

.emc-scope .reveal { opacity: 1; transform: none; }
.emc-scope .reveal.emc-anim { opacity: 0; transform: translateY(18px); }
.emc-scope .reveal.emc-anim.in { opacity: 1; transform: none; }


@media(max-width:700px){
.emc-scope .to-top { display: none !important; right: 0 !important; }
}
