:root{
  --max-w: 1200px;
  --gap: 24px;  
  --container-padding: 16px;
  --bg: #ffffff;
  --surface: #f6f7f8;
  --text: #0f1724;
  --muted: #6b7280;
  --accent: #0043ff;
  --card-bg: #ffffff;
  --border: #e6e9ee;
  --radius: 8px;
  --shadow: 0 6px 18px rgba(15,23,36,0.06);
  --font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial;
}

html, body, a, div, main, span, table, tr, td, strong, ul, ol, li, h1, h2, h3, p, input {
    font-weight: inherit;
    font-size: inherit;
    list-style: none;
    border-spacing: 0;
    border: 0;
    border-collapse: collapse;
    text-decoration: none;
    padding: 0;
    margin: 0;
}
*, *::before, *::after {
    box-sizing: border-box;
}
html,body{height:100%}
body{
  margin:0;
  font-family:var(--font-family);
  color:var(--text);
  background:var(--bg);
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
  line-height:1.55;
}
img{max-width: 100%;height: auto;vertical-align: middle;}
.container{
  width: calc(100% - 2*var(--container-padding));
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--container-padding);
}
.site{background: #f8fafc;}
.site__header{
  background: #fff;
 box-shadow: 0 8px 12px rgba(0, 0, 0, .02);
}
.site__header .container{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  height:72px;
}
.brand{
  font-weight:700;
  font-size:20px;
  color:var(--accent);
  letter-spacing:1px;
}
.oeb-m a{
  margin-left:16px;
  color:var(--muted);
  text-decoration:none;
}
.oeb-m a:hover{ color:var(--text) }
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
}

.oebn-xamu {
  background: #fff;
  border: 1px solid #eaeaea;
  border-radius: 8px;
  padding: 20px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
  transition: transform 0.2s ease;
}

.oebn-xamu:hover {
  transform: translateY(-5px);
}

/* Logo */
.brand img {
  max-height: 30px;
  width: auto;
  display: block;
}
.site__main{
  display:grid;
  grid-template-columns: 1fr 320px; 
  gap: var(--gap);
  align-items:start;
  padding: calc(var(--gap)) 0;
}
/*CATE*/
.oebn-blog-xamu{display: flex;flex-flow: column;gap: var(--gap);}
.oebn-img img{border-radius: 1rem;}
.oebn-items{display: flex;}
.oebn-catt{margin-left: 1rem;max-width: 70%;}
.oebn-catt-box h2{font-size: 18px;font-weight: 600;}
.oebn-catt-txt{font-size: 14px;color: #747474;}
/*CONT*/
.oebn-head h1{font-size: 30px;font-weight: 600;}
.oebn-text{line-height: 2;}
.oebn-text strong{font-weight: 600;}
.oebn-text h3{font-size: 22px;font-weight: 600;margin: 1rem 0;}
.oebn-text p{margin-bottom: 1rem;}
.oebn-text img{border-radius: .5rem;}
.oebn-info{display: flex;margin: 1rem 0;font-size: 14px;justify-content: space-between;}
.oebn-inl{display: flex;}
.oebn-inr{display: flex;color: #dedede}
.oebn-tag{margin-bottom: 2rem;}
.oebn-tags{display: flex;}
.oebn-tagl a{display: block;background: #ECEDF4;padding: 8px;border-radius: 20px;font-size: 14px;margin-right: 8px;}
.oebn-text ul{padding-left: 1rem;margin: 1rem;border-left: 3px #d3e3fd solid;line-height: 1.8;font-weight: 300;font-size:18px;}
.posts{
  display:grid;
  grid-template-columns: 1fr; 
  gap: var(--gap);
  background: #fff;
  border-radius: 1rem;
  padding: 2rem;
}
.ob-box{display: flex;flex-flow: column;align-items: center;}
.be-sign{background: #0f1724;
    padding: 1rem 3rem;
    display: inline-block;
    border-radius: .5rem;
    color: #fff;text-align: center;
    margin-bottom: 1rem;}
.post-card{
  background:var(--card-bg);
  border:1px solid var(--border);
  border-radius: var(--radius);
  overflow:hidden;
  box-shadow: var(--shadow);
  display:flex;
  flex-direction:column;
}
.post-card__thumb{
  width:100%;
  height:180px;
  object-fit:cover;
  display:block;
}
.post-card__body{
  padding:16px;
}
.post-card__title{
  margin:0 0 8px;
  font-size:18px;
}
.post-card__title a{
  color:var(--text);
  text-decoration:none;
}
.post-card__excerpt{
  margin:0 0 10px;
  color:var(--muted);
  font-size:14px;
}
.post-card__meta{
  font-size:13px;
  color:var(--muted);
}

.site__sidebar{
  position:relative;
}
.widget{
  border-radius:8px;
  margin-bottom:16px;
}
.widget__title{ margin:0 0 8px; font-size:15px; color:var(--text) }
/*TAGP*/
#TAGSForm{background: #F1F1F1;
    padding: 1rem;
    border-radius: 1rem;margin-bottom: 1rem;font-size: 14px;}
.oebn-tags-tops{line-height: 2;}
.oebn-tags-tops input{line-height: 2;
    padding: 5px 1rem;
    font-size: 14px;
    border-radius: 10px;}
.oebn-tags-tops button{margin: 0 1rem;
    padding: 5px 1rem;
    border-radius: 10px;
    border: 1px #dbdbdb solid;}
.float-end{margin-top:1rem;}
.float-end select{position: relative;
    border: none;
    line-height: 2;
    padding: 5px;
    border-radius: 5px;}
.oebn-tag-list{margin-top: 1rem;}
.oebn-tag-item{padding: 25px;
    border: 1px #f1f1f1 solid;
    border-radius: 1rem;
    margin-bottom: 1.5rem;}
.oebn-tag-item h3{display: block;
    color: #161616;
    border-left: 3px #0043ff solid;
    padding-left: 1rem;}
.tags-list a{background: #ECEDF4;
    padding: 8px;
    border-radius: 20px;
    font-size: 14px;
    margin-right: 8px;
    margin-bottom: 8px;
    display: block;}
.tags-list{display:flex;}
/*HEXE*/
.oebn-he{padding: 25px;box-shadow: 9px 10px 29px #dbdbdb;margin-bottom: 1rem;border-radius: 1rem;background: #fff;}
.he-b,.he-o{display: flex;flex-flow: column;}
.he-b{margin-bottom: 1rem;}
.he-b img,.he-o img{max-height: 50px;}
.he-b span,.he-o span{margin-left: 1rem;}
.he-xz{display: flex;justify-content: space-around;margin-top: 1rem;}
.he-xz a{border: 1px #dbdbdb solid;border-radius: 2rem;padding: .5rem 2rem;font-size: 14px;}
.bn-bt{background: #f3bc36;color: #161616;}
.ok-bt{background: #161616;color: #fff;}
/*hot*/
.oebn-hot{margin-bottom: 2rem;}
.oebn-hot li{padding: 25px;box-shadow: 9px 10px 29px #dbdbdb;border-radius: 1rem;margin-bottom: 1rem;background: #fff;}
.oebn-hot li a{display: block;font-size: 14px;color: #161616;border-left: 3px #0043ff solid;padding-left: 1rem;}
.oebn-tags ul {display: flex;flex-flow: wrap;background: #fff;box-shadow: 9px 10px 29px #dbdbdb;padding: 25px;border-radius: 1rem;font-size: 14px;color: #161616;}
.oebn-tags a{background: #ECEDF4;
    padding: 8px;
    border-radius: 20px;
    font-size: 14px;
    margin-right: 8px;margin-bottom: 8px;display: block;}
/* 8) Footer */
.site__footer{
  border-top:1px solid var(--border);
  padding:20px 0;
  margin-top:40px;
  background:transparent;
}
.site__footer .container{ display:flex; align-items:center; justify-content:center }
.footer{text-align: center;
    background: #f5f6f9;
    color: #ccc;
    padding: 20px 0;display: flex;flex-flow: column;}
    .footer a{display: inline-block;margin: .4rem;color: #ccc;}
/*seah*/
.oebn-so input{height: 34px;
    padding: 13px;
    border-radius: 11px;
    background: #ededed;
    border: 1px solid #ededed;
    transition: .3s;}
/*exe*/
.ok,.bn{display: flex;align-items: center;padding: .5rem;border-radius: .5rem;margin: 1.5rem 0;border: 1px #EFEAEA solid;justify-content: space-between;}
.ok-left,.bn-left{display: flex;align-items: center;}
.ok-logo img,.bn-logo img{max-width: 60px;display: block;}
.ok-text,.bn-text{margin-left: 2rem;margin-right: 1rem;font-size: 14px;}
.ok-text span,.bn-text span{font-size: 16px;}
.ok-riht,.bn-riht{display: flex;justify-content: space-between;}
.ok-riht a,.bn-riht a{border: 1px #dbdbdb solid;border-radius: 2rem;color: #000;padding: .5rem 2rem;font-size: 14px;margin: .5rem;}
.ok-btn{background: var(--accent) !important;color: #fff !important;}
.bn-btn{background: #ffd100 !important;color: #161616 !important;}
/*CODE*/
pre {
  background: #1e1e1e;
  color: #dcdcdc;
  padding: 1rem 1.2rem;
  border-radius: 8px;
  font-family: "Fira Code", Consolas, monospace;
  font-size: 14px;
  line-height: 1.6;
  overflow-x: auto;
  white-space: pre-wrap; 
  word-wrap: break-word;
}

code {
  background: none;
  color: #dcdcdc;
}

code .keyword { color: #569cd6; }
code .string { color: #ce9178; }
code .number { color: #b5cea8; }
code .comment { color: #6a9955; font-style: italic; }

@media (max-width:1024px){
  .site__main{ grid-template-columns: 1fr 300px; }
  .posts{ grid-template-columns: repeat(1, 1fr); } /* 单列卡片 */
  .post-card__thumb{ height:220px; }
}

@media (max-width:720px){

  .site__main{ grid-template-columns: 1fr; }
  .site__sidebar{ order: 2; }
  .posts{ grid-template-columns: 1fr; padding: 1rem;}
  .site__header .container{ height:64px; padding:0 8px; }
  .site__nav a{ margin-left:10px; font-size:14px; }
  .oebn-blog-xamu{ grid-template-columns: 1fr;}
  .oebn-xamu{padding:0;box-shadow: none;border:none;}
  .oebn-items{flex-flow: column;}
  .oebn-catt{max-width:100%;margin-left: 0;margin-top: 1rem;}
}



table {
  width: 100% !important;
  border-collapse: separate;  
  border-spacing: 0;
  background: #f5f6f7;         
  border: 1px solid #e0e0e0;  
  border-radius: 10px;       
  table-layout: fixed;   
  overflow: hidden;
}


table thead th {
  text-align: left;
  padding: 14px 16px;
  font-weight: 600;
  background: transparent;
  border-bottom: 1px solid #e6e6e6; /* 表头下细线 */
  color: #111;
}


table tbody td {
  padding: 12px 16px;
  vertical-align: top;
  color: #333;
  font-size: 14px;
  line-height: 1.6;
  border-bottom: 1px solid #ededed; /* 行间细线 */
}


table tbody tr:last-child td {
  border-bottom: none;
}


table tbody td:first-child {
  width: 18%;
  font-weight: 600;
  color: #111;
  background: rgba(0,0,0,0);  
}


table tbody td:nth-child(2),
table tbody td:nth-child(3) {
  width: 41%;
}


@media (max-width: 720px) {
  table thead th,
  table tbody td {
    padding: 10px 12px;
    font-size: 13px;
  }
  table tbody td:first-child {
    width: 40%;
    font-size: 13px;
  }
  .ok, .bn{flex-flow: column;}
  .ok-riht, .bn-riht{width: 100%;}
}

@media (hover: hover) {
  table tbody tr:hover td {
    background: rgba(0, 67, 255, 0.02); 
  }
}

@media (prefers-color-scheme: dark) {
  table {
    background: #1b1b1b;
    border-color: #2a2a2a;
  }
  table thead th,
  table tbody td {
    color: #ddd;
  }
  table tbody td:first-child {
    color: #fff;
  }
}


a{ color:var(--accent) }
a:focus{ outline:3px solid color-mix(in srgb, var(--accent) 20%, white); outline-offset:3px }

@media screen and (max-width: 600px) {
  .oebn-tags-tops{display: flex;flex-flow: column;}
  .oebn-tags-tops button{margin: .5rem 0;}
}