 

 

 
:root {
  --bg: #FFFFFF;       
  --tint: #F5F7FF;     
  --card: #FFFFFF;     

   
  --text: #1F2937;
  --sub: #6B7280;
  --line: #E5E7EB;

   
  --tracking: .02em;

   
  --brand: #04314D;

   
  --warn-bg: #FDEDE3;
  --warn-fg: #D9760A;

  --r-xs: 4px;        
  --r-sm: 6px;        
  --r-md: 8px;        
  --r-base: 10px;     
  --r-lg: 12px;       
  --r-xl: 14px;       
  --r-2xl: 16px;      
  --r-pill: 999px;    
  --r-round: 50%;     

  --shadow-card: 0 1px 3px rgba(31, 36, 48, .04);
  --shadow-float: 0 6px 18px rgba(31, 36, 48, .08);
}
* { box-sizing: border-box; }

 


:where(
  .download-name,
  .archive-month-k,
  .article-related-title,
  .plain-copy-link,
  .plain-copy-icp,
  .plain-copy-police,
  .cat-ref,
  .empty-desc a,
  .article-body a
) {
  position: relative;
  text-decoration: none;
}

:where(
  .download-name,
  .archive-month-k,
  .article-related-title,
  .plain-copy-link,
  .plain-copy-icp,
  .plain-copy-police,
  .cat-ref,
  .empty-desc a,
  .article-body a
)::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -4px;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .32s cubic-bezier(.22, .61, .36, 1);
}

 
html {
  background: var(--bg);
   
  overflow-y: scroll;
  scrollbar-color: rgba(4, 49, 77, .18) transparent;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
   
    font: 15px/1.6 system-ui, -apple-system, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Source Han Sans SC", "Noto Sans CJK SC", "Noto Sans SC", sans-serif;
  -webkit-font-smoothing: antialiased;
  letter-spacing: var(--tracking);
}
 
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(56% 44% at 10% 2%, rgba(4, 49, 77, .07), transparent 70%),
    radial-gradient(48% 40% at 94% 8%, rgba(36, 73, 102, .06), transparent 72%),
    radial-gradient(64% 44% at 66% 98%, rgba(4, 49, 77, .03), transparent 74%);
}
a { color: inherit; text-decoration: none; }
a:hover { text-decoration: none; }
img { max-width: 100%; height: auto; }
h1, h2, h3 { line-height: 1.3; }
.empty {
  grid-column: 1 / -1;    
  padding: 48px 24px;
  text-align: center;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-base);
}
.empty-title { margin: 0 0 8px; font-size: 16px; font-weight: 600; }
.empty-desc { margin: 0; font-size: 14px; color: var(--sub); }
.empty-desc a { color: var(--brand); }

 
.posts-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }

 
.post-card {
  display: flex;
  flex-direction: column;
  padding: 0;
  overflow: hidden;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-card);
}
.post-card:hover { border-color: var(--brand); box-shadow: var(--shadow-float); }

.post-cover {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--tint);    
}
.post-cover img { display: block; width: 100%; height: 100%; object-fit: cover; }
.post-cover-blank {
  display: flex; align-items: center; justify-content: center;
  width: 100%; height: 100%;
  font-size: 30px; font-weight: 600;
  color: #fff;
  background: linear-gradient(135deg, #244966 0%, #04314D 100%);
}

.post-body {
  display: flex;
  flex-direction: column;
   
  flex: 1;
  min-width: 0;
  padding: 12px 14px 14px;
}
 
.post-date {
  align-self: flex-start;
  padding: 2px 10px;
  font-size: 12px;
}

.post-title { margin: 8px 0 0; font-size: 16px; line-height: 1.5; }
.post-desc {
   
  display: -webkit-box;
  margin: 6px 0 0;
  font-size: 12px;
  line-height: 1.75;
  color: var(--sub);
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
 
.post-meta {
  margin-top: auto;
  padding-top: 10px;
  display: flex;
  align-items: center;
   
  flex-wrap: wrap;
  gap: 6px;
  font-size: 11px;
  color: var(--sub);
}
 
.article-body { font-size: 16.5px; line-height: 2; overflow-wrap: break-word; }
.article-body h1, .article-body h2, .article-body h3, .article-body h4 {
  margin: 1.7em 0 .7em;
  line-height: 1.45;
}
.article-body h1 { font-size: 1.45em; }
.article-body h2 { font-size: 1.3em; }
.article-body h3 { font-size: 1.14em; }
.article-body h4 { font-size: 1.02em; }
 
.article-body > :first-child { margin-top: 0; }
.article-body > :last-child { margin-bottom: 0; }
.article-body p { margin: 0 0 1.1em; }
 
.article-body a {
  color: var(--brand);
  text-decoration: none;
  transition: color .15s;
}
.article-body a:not(:has(img))::before {
  content: "";
  display: inline-block;
  width: 1em;
  height: 1em;
  margin-right: .26em;
   
  vertical-align: -0.08em;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6'/%3E%3Cpolyline points='15 3 21 3 21 9'/%3E%3Cline x1='10' y1='14' x2='21' y2='3'/%3E%3C/svg%3E") no-repeat center / contain;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6'/%3E%3Cpolyline points='15 3 21 3 21 9'/%3E%3Cline x1='10' y1='14' x2='21' y2='3'/%3E%3C/svg%3E") no-repeat center / contain;
}
.article-body a:hover { color: var(--brand); }
.article-body a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}
.article-body img { display: block; max-width: 100%; height: auto; margin: 1.2em auto; border-radius: var(--r-md); }
 
.article-body [style*="text-align"] img {
  display: inline-block;
  margin: 1.2em 0;
  vertical-align: middle;
}
.article-body figure { margin: 1.4em 0; }
.article-body figcaption { margin-top: .5em; font-size: 13px; color: var(--sub); text-align: center; }
.article-body ul, .article-body ol { margin: 0 0 1.1em; padding-left: 1.6em; }
.article-body li { margin: .35em 0; }
.article-body blockquote {
  margin: 1.3em 0;
  padding: .7em 1.1em;
  background: var(--tint);
  border-left: 3px solid var(--brand);
  border-radius: 0 8px 8px 0;
}
.article-body blockquote > :last-child { margin-bottom: 0; }
 
.article-body pre {
  margin: 1.3em 0;
  padding: 14px 16px;
  font-size: 14px;
  line-height: 1.7;
  color: #fff;
  background: var(--brand);
  border-radius: var(--r-md);
  overflow-x: auto;    
}
.article-body code { font-family: ui-monospace, Menlo, Consolas, monospace; font-size: .92em; }
 
.article-body :not(pre) > code {
  padding: .12em .38em;
  background: var(--tint);
  border-radius: var(--r-xs);
}
 
.article-body table {
  display: block;
  width: 100%;
  margin: 1.3em 0;
  font-size: 14.5px;
  border-collapse: collapse;
  overflow-x: auto;
}
.article-body th, .article-body td { padding: 9px 12px; text-align: left; border: 1px solid var(--line); }
.article-body th { font-weight: 600; background: var(--tint); }
.article-body hr { margin: 2em 0; border: 0; border-top: 1px solid var(--line); }
.article-body abbr { border-bottom: 1px dotted var(--sub); cursor: help; }

 
.ext-notice {
  margin: 1.2em 0;
  padding: 12px 14px;
  font-size: 14px;
  line-height: 1.7;
  background: var(--tint);
  border: 1px solid var(--line);
   
  border-left: 3px solid var(--brand);
  border-radius: 0 10px 10px 0;
  animation: ext-notice-in .18s ease-out;
}
@keyframes ext-notice-in {
  from { opacity: 0; transform: translateY(-4px); }
}
.ext-notice .ext-notice-text { margin: 0 0 10px; color: var(--text); }
 
.ext-notice .ext-notice-text b { color: var(--brand); }
 
.ext-notice .ext-notice-act { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; }
 
@media (prefers-reduced-motion: reduce) {
  .ext-notice { animation: none; }
}
 
.btn-ghost {
  display: inline-flex; align-items: center; gap: 7px;
  height: 36px; padding: 0 16px;
  font-size: 14px;
  border-radius: var(--r-md);
  border: 1px solid transparent;
  background: var(--card); color: var(--text); border-color: var(--line);
}
.btn-ghost:hover { border-color: var(--brand); color: var(--brand); text-decoration: none; }
.btn-ghost svg { width: 16px; height: 16px; flex: none; }
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  height: 36px;
  padding: 0 20px;
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  background: var(--brand);
  border: 1px solid var(--brand);
  border-radius: var(--r-base);
  cursor: pointer;
}
 
.btn-primary:hover { background: #244966; border-color: #244966; }
.btn-primary:disabled { opacity: .6; cursor: not-allowed; }
.btn-primary svg { width: 16px; height: 16px; flex: none; }
.pager { display: flex; align-items: center; justify-content: center; gap: 12px; margin-top: 24px; font-size: 14px; }
.pager-btn { padding: 6px 14px; border: 1px solid var(--line); border-radius: var(--r-md); background: var(--card); }
.pager-btn.is-disabled { color: var(--sub); opacity: .5; }
.pager-info { color: var(--sub); }
@media (max-width: 900px) {
   
  html, body { height: auto; }
   
  body::before { position: absolute; }
  .post-card,
  .empty,
  .pager-btn {
    background: var(--card);
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }
}
 
@media (max-width: 1299.98px) {
   
  .posts-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
   
  .posts-grid { grid-template-columns: minmax(0, 1fr); }
}

 
@keyframes fb-shimmer {
  from { background-position: 200% 0; }
  to { background-position: -200% 0; }
}
@keyframes fb-reveal {
  from { opacity: 0; }
  to { opacity: 1; }
}
.js img[data-fb-text]:not(.is-loaded) {
  background: linear-gradient(100deg, #e8ecf3 40%, #f5f7fb 50%, #e8ecf3 60%);
  background-size: 200% 100%;
  animation: fb-shimmer 1.4s linear infinite;
}
.js img[data-fb-text].is-loaded {
  background: none;
  animation: fb-reveal .3s ease;
}

@media (prefers-reduced-motion: reduce) {
   
  .js img[data-fb-text] { animation: none; }
}
