/* hgh-cn.com — console: terminal green on near-black, sharp borders */
:root{
  --bg:#0d0f0e;
  --panel:#141816;
  --panel-2:#1a1f1c;
  --green:#3dff9a;
  --green-dim:#1fa866;
  --text:#d7ffe8;
  --muted:#7a9a88;
  --line:#2a3d32;
  --danger:#ff6b6b;
  --max:1080px;
  --soft:#121614;
  --radius:2px;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  font-family:Consolas,"Sarasa Mono SC","Microsoft YaHei",monospace;
  background:var(--bg);
  color:var(--text);
  line-height:1.7;
}
a{color:var(--green);text-decoration:none}
a:hover{color:#fff;text-decoration:underline}
img{max-width:100%;height:auto;display:block}
.wrap{width:min(100% - 1.5rem,var(--max));margin-inline:auto}

.site-header{
  position:sticky;top:0;z-index:40;
  background:#0a0c0b;
  border-bottom:1px solid var(--line);
}
.header-inner{
  display:flex;align-items:center;justify-content:space-between;
  gap:.75rem;padding:.55rem 0;
}
.brand{display:flex;align-items:center;gap:.5rem;color:var(--green);font-weight:700}
.brand img{border-radius:2px;border:1px solid var(--line)}
.nav-desktop{display:flex;gap:.85rem;flex-wrap:wrap}
.nav-desktop a{color:var(--muted);font-size:.88rem}
.nav-desktop a:hover{color:var(--green)}
.menu-toggle{
  display:none;border:1px solid var(--green-dim);background:var(--panel);
  color:var(--green);padding:.35rem .7rem;border-radius:var(--radius);cursor:pointer;
}
#mobile-nav{display:none;flex-direction:column;gap:.2rem;padding:0 .75rem .7rem;background:var(--panel)}
#mobile-nav.open{display:flex}
#mobile-nav a{color:var(--text);padding:.4rem .15rem;border-bottom:1px solid var(--line)}

.ads-head{max-width:var(--max);margin:0 auto}
.ads-wrap{
  margin:.75rem .75rem 0;padding:.75rem 1rem 1rem;
  border:1px solid var(--line);border-radius:var(--radius);background:var(--soft);
}
.applist-title{text-align:center;color:var(--muted);font-size:.9rem;margin:0 0 .55rem}
#ads{display:flex!important;justify-content:center;align-items:flex-start;flex-wrap:wrap;gap:12px;margin:0;padding:0;background:transparent}
#ads>div{display:flex!important;flex-direction:column;align-items:center;width:72px!important;min-width:72px;box-sizing:border-box;flex:0 0 72px}
#ads figure{margin:0;padding:0;width:72px;display:flex;flex-direction:column;align-items:center}
#ads a{display:block;width:65px;height:65px;border-radius:8px;overflow:hidden;text-decoration:none;flex-shrink:0}
#ads img{width:65px!important;height:65px!important;object-fit:cover!important;border-radius:8px;display:block!important;border:0;background:#222}
#ads figcaption,#ads .caption{display:block;width:72px;margin-top:6px;font-size:11px!important;line-height:1.2;color:var(--muted);text-align:center;white-space:nowrap!important;overflow:hidden;text-overflow:ellipsis}

.console-top{
  border:1px solid var(--line);background:var(--panel);
  margin:1rem 0 .85rem;border-radius:var(--radius);
}
.console-top .row-brand{
  display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:.6rem;
  padding:.65rem .85rem;border-bottom:1px solid var(--line);
}
.console-top .row-brand h1{
  margin:0;font-size:clamp(1.05rem,2.4vw,1.45rem);color:var(--green);
  font-weight:700;letter-spacing:.01em;
}
.console-top .status{
  font-size:.78rem;color:var(--muted);
  border:1px solid var(--line);padding:.2rem .5rem;border-radius:var(--radius);
}
.console-top .status b{color:var(--green)}
.console-top .row-tools{
  display:flex;flex-wrap:wrap;gap:.45rem;padding:.55rem .85rem;align-items:center;
}
.fake-search{
  flex:1 1 180px;min-width:140px;
  border:1px solid var(--line);background:#0b0d0c;color:var(--muted);
  padding:.4rem .6rem;border-radius:var(--radius);font:inherit;
}
.chip{
  display:inline-block;border:1px solid var(--green-dim);color:var(--green);
  padding:.28rem .55rem;border-radius:var(--radius);font-size:.8rem;background:var(--panel-2);
}
.chip:hover{background:#203028;text-decoration:none;color:#fff}

.console-panels{display:flex;flex-direction:column;gap:.85rem;padding-bottom:2.5rem}
.panel{
  border:1px solid var(--line);background:var(--panel);
  border-radius:var(--radius);overflow:hidden;
}
.panel-hd{
  display:flex;justify-content:space-between;align-items:center;gap:.5rem;
  padding:.5rem .75rem;background:var(--panel-2);border-bottom:1px solid var(--line);
  font-size:.82rem;color:var(--muted);
}
.panel-hd strong{color:var(--green)}
.panel-bd{padding:.85rem .9rem}
.panel-bd h2{margin:0 0 .55rem;font-size:1.08rem;color:var(--text)}
.panel-bd p{margin:0 0 .7rem;color:#b8dcc8}
.panel-bd ul{margin:.2rem 0 .7rem;padding-left:1.15rem;color:#b8dcc8}
.panel-bd li{margin:.3rem 0}
.panel-grid{
  display:grid;grid-template-columns:1.1fr .9fr;gap:.85rem;align-items:start;
}
.panel-grid figure{margin:0;border:1px solid var(--line);background:#0a0c0b}
.panel-grid figcaption{
  padding:.45rem .55rem;font-size:.78rem;color:var(--muted);border-top:1px solid var(--line);
}
.check-table{width:100%;border-collapse:collapse;font-size:.9rem}
.check-table th,.check-table td{
  border:1px solid var(--line);padding:.45rem .55rem;text-align:left;
}
.check-table th{background:var(--panel-2);color:var(--green);font-weight:600}
.ok{color:var(--green)}.warn{color:#ffd166}.bad{color:var(--danger)}
.peer-row{display:flex;flex-wrap:wrap;gap:.5rem 1rem;margin-top:.5rem;padding-top:.65rem;border-top:1px dashed var(--line)}
.faq-list details{border:1px solid var(--line);margin:.45rem 0;padding:.55rem .7rem;background:var(--panel-2);border-radius:var(--radius)}
.faq-list summary{cursor:pointer;color:var(--green);font-weight:600}
.faq-list p{margin:.45rem 0 0;color:var(--muted)}

.site-footer{border-top:1px solid var(--line);padding:1.2rem 0 1.8rem;color:var(--muted);font-size:.85rem;background:#090b0a}
.site-footer .footer-links{display:flex;flex-wrap:wrap;gap:.45rem .9rem;margin-bottom:.5rem}
.page-hero{padding:1rem 0 .35rem}
.page-hero h1{margin:0;color:var(--green);font-size:1.35rem}
.prose p{margin:0 0 .85rem;color:#b8dcc8}
.err-box{padding:2.2rem 0;text-align:center}
.err-box .btn{display:inline-block;margin-top:1rem;padding:.5rem 1rem;border:1px solid var(--green);border-radius:var(--radius);color:var(--green)}

@media (max-width:820px){
  .nav-desktop{display:none}
  .menu-toggle{display:inline-flex}
  .panel-grid{grid-template-columns:1fr}
  body{font-family:"Microsoft YaHei",Consolas,monospace}
}


/* SEO keyword highlight */
strong.kw,.kw{
  color:var(--accent,var(--brand,#e86a2c));
  font-weight:800;
}
mark.kw{
  background:color-mix(in srgb, var(--brand,#e86a2c) 16%, transparent);
  color:inherit;
  padding:0 .12em;
  border-radius:3px;
}
h1 .kw,h2 .kw,h3 .kw{color:var(--brand,#e86a2c)}

/* UNIQUE_HAMBURGER_THEME_START */

/* === unique chrome: hamburger-only + theme === */
:root{--bg:#0c0f0d;--paper:#141916;--ink:#d7ffe6;--muted:#7ea892;--line:#243029;--soft:#101511;--brand:#22c55e;--brand2:#86efac;--accent:#16a34a;--header-bg:#101511;--header-fg:#d7ffe6;--radius:2px;--shadow:inset 0 0 0 1px #243029;--font:Consolas,"Sarasa Mono SC","Microsoft YaHei",monospace;}
body{font-family:var(--font)}
.site-header{
  position:sticky;top:0;z-index:50;
  background:var(--header-bg, var(--paper));
  color:var(--header-fg);
  border-bottom:1px solid var(--line);
}
.site-header .brand{color:var(--header-fg)}
.site-header .brand span{color:var(--header-fg)}
.nav-desktop{display:none!important}
.menu-toggle{display:inline-flex;align-items:center;justify-content:center;
  width:44px;height:44px;padding:0;cursor:pointer;
  border:1px solid var(--line);background:transparent;color:inherit;
  border-radius:var(--radius);
}
.menu-toggle .burger{
  width:20px;height:14px;display:flex;flex-direction:column;justify-content:space-between;
}
.menu-toggle .burger i{
  display:block;height:2px;width:100%;background:currentColor;border-radius:2px;
  transition:transform .22s ease,opacity .22s ease;
}
.menu-toggle[aria-expanded="true"] .burger i:nth-child(1){transform:translateY(6px) rotate(45deg)}
.menu-toggle[aria-expanded="true"] .burger i:nth-child(2){opacity:0}
.menu-toggle[aria-expanded="true"] .burger i:nth-child(3){transform:translateY(-6px) rotate(-45deg)}
#mobile-nav{
  display:none;flex-direction:column;gap:.25rem;
  padding:.65rem 1rem 1rem;border-top:1px solid var(--line);
  background:var(--paper);color:var(--ink);
}
#mobile-nav.open{display:flex}
#mobile-nav a{
  padding:.7rem .55rem;border-radius:calc(var(--radius) / 2);
  color:var(--ink);font-weight:700;
}
#mobile-nav a:hover{background:color-mix(in srgb, var(--brand) 12%, transparent)}
.theme-terminal .site-header{/* marker */}

.site-header{border-bottom:1px solid var(--brand)}.menu-toggle{border-radius:0;border-color:var(--brand);color:var(--brand);font-family:inherit}.menu-toggle .burger i{background:var(--brand)}
/* UNIQUE_HAMBURGER_THEME_END */

/* DESKTOP_ADAPT_START */


html{ -webkit-text-size-adjust:100%; }
img,video{ max-width:100%; height:auto; }
.header-inner,.wrap,.site-main,.footer-inner,.ads-head{
  width:100%;
  margin-left:auto;margin-right:auto;
  box-sizing:border-box;
}
.header-inner{
  max-width:var(--desk-max, var(--max, 1120px));
  padding:.85rem clamp(1rem, 3vw, 1.75rem);
  min-height:64px;
}
.site-main,.wrap,.footer-inner,.ads-head{
  max-width:var(--desk-max, var(--max, 1120px));
  padding-left:clamp(1rem, 3vw, 1.75rem);
  padding-right:clamp(1rem, 3vw, 1.75rem);
}
@media (min-width:1280px){
  :root{ --desk-max:1240px; }
  body{ font-size:17.5px; }
}
@media (min-width:1440px){
  :root{ --desk-max:1320px; }
}



@media (min-width:901px){
  .console-top{ padding:1.15rem clamp(1rem,3vw,1.75rem); }
  .console-panels{ display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:1.1rem; }
  .panel{ min-height:150px; }
  .panel-grid,.check-table{ width:100%; }
}

/* DESKTOP_ADAPT_END */

/* DESKTOP_ADAPT_PATCH */
@media (max-width:900px){
  #mobile-nav.open{
    flex-direction:column!important;
    align-items:stretch!important;
    justify-content:flex-start!important;
  }
  .header-inner,.site-main,.wrap,.footer-inner,.ads-head{
    padding-left:1rem;
    padding-right:1rem;
  }
}
@media (min-width:901px){
  .ads-head .ads-wrap{ max-width:100%; }
  #ads{ justify-content:center; gap:16px 20px; }
  /* cinema full-bleed frames stay edge-to-edge */
  body[data-template="cinema"] .cine-frame{
    width:100vw;
    margin-left:calc(50% - 50vw);
    margin-right:calc(50% - 50vw);
  }
  body[data-template="dark-band"] .band-hero,
  body[data-template="dark-band"] .band-dark,
  body[data-template="dark-band"] .band-light{
    width:100%;
  }
}


/* UNIQUE_VISUAL_SKIN_START */
body{
  background:
    linear-gradient(rgba(34,197,94,.07) 1px, transparent 1px) 0 0 / 100% 28px,
    #070a08 !important;
  font-variant-numeric:tabular-nums;
}
.site-header{border-bottom:1px dashed #22c55e!important}
.console-top{
  border:1px solid #22c55e!important;border-radius:0!important;
  background:#0b120e!important;box-shadow:inset 0 0 0 1px rgba(34,197,94,.2)!important;
}
.panel{
  border:1px solid #2f4a38!important;border-radius:0!important;background:#0d1410!important;
  box-shadow:4px 4px 0 #14532d!important;
}
.panel-hd{background:#14532d!important;color:#bbf7d0!important;font-family:Consolas,monospace!important;letter-spacing:.06em}
.chip,.fake-search{border-radius:0!important;border:1px solid #22c55e!important}
.site-footer{border-top:1px dashed #22c55e!important;font-family:Consolas,monospace!important}
/* UNIQUE_VISUAL_SKIN_END */

/* UNIQUE_SKIN_V2_START */
.console-panels{grid-template-columns:1fr!important}
@media (min-width:1100px){.console-panels{grid-template-columns:1fr 1fr!important}}
.row-tools{gap:.4rem!important}
.chip{font-family:Consolas,monospace!important;font-size:.8rem!important}
/* UNIQUE_SKIN_V2_END */


/* DESKTOP_NAV_TOP_START */
.header-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:1rem;
  flex-wrap:nowrap;
}
#mobile-nav{
  display:none;
  flex-direction:column;
  gap:.25rem;
  width:100%;
  order:3;
  padding:.55rem 0 .85rem;
  border-top:1px solid var(--line, #e5e5e5);
  background:var(--paper, #fff);
}
#mobile-nav.open{display:flex}
.menu-toggle{display:inline-flex}

@media (min-width:901px){
  .menu-toggle{display:none!important}
  .header-inner{flex-wrap:nowrap;align-items:center}
  #mobile-nav,
  #mobile-nav.open{
    display:flex!important;
    flex-direction:row!important;
    flex-wrap:wrap;
    align-items:center;
    justify-content:flex-end;
    gap:.15rem .75rem;
    width:auto;
    max-width:none;
    order:0;
    margin-left:auto;
    margin-right:0;
    padding:0!important;
    border:0!important;
    background:transparent!important;
    box-shadow:none!important;
  }
  #mobile-nav a{
    padding:.35rem .45rem!important;
    white-space:nowrap;
    border-radius:0!important;
    background:transparent!important;
    color:inherit!important;
    font-weight:700;
  }
  #mobile-nav a:hover{
    color:var(--brand, var(--accent))!important;
    background:transparent!important;
    text-decoration:underline;
  }
}
@media (max-width:900px){
  .header-inner{flex-wrap:wrap}
  .menu-toggle{display:inline-flex!important;margin-left:auto}
  #mobile-nav{
    display:none;
    width:100%;
    order:3;
    flex-direction:column!important;
    align-items:stretch!important;
  }
  #mobile-nav.open{display:flex!important}
}
/* DESKTOP_NAV_TOP_END */
