﻿@charset "utf-8";
/*
    Theme Name: 96目录
    Theme URI: https://www.93dir.com/
    Author: 阿叶
    Author URI: https://www.93dir.com/
    Description: 
    Version: v1.1.0
*/


body {
  margin: 0;
  padding: 8px;
  font-family: "Tahoma", "Arial", "SimSun", sans-serif;
  font-size: 12px;
  color: #000000;
  background-color: #87a8a8;
  background-image: linear-gradient(45deg, #7e9f9f 25%, transparent 25%),
    linear-gradient(-45deg, #7e9f9f 25%, transparent 25%),
    linear-gradient(45deg, transparent 75%, #7e9f9f 75%),
    linear-gradient(-45deg, transparent 75%, #7e9f9f 75%);
  background-size: 8px 8px;
  background-position: 0 0, 0 4px, 4px -4px, -4px 0;
}

a {
  color: #0000cc;
  text-decoration: underline;
}

a:hover {
  color: #ff0000;
}

.page {
  width: 960px;
  margin: 0 auto;
}

.layout-table {
  width: 100%;
  border: 3px solid #5d7092;
  background: #d6d8d1;
}

.layout-main {
  display: flex;
}

.site-title {
  background: #667ba2;
  color: #fff0b8;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px;
  border-bottom: 2px solid #f0df98;
}

.site-logo-mark {
  min-width: 120px;
  height: 44px;
  padding: 0 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #fff0b8;
  background: linear-gradient(#6d83ab, #5b6f94);
  color: #fff5ca;
  font-weight: bold;
  font-size: 24px;
  letter-spacing: 1px;
  text-decoration: none;
  box-shadow: inset 0 0 0 1px #4c5f80;
}

.site-title-right {
  flex: 1;
  min-height: 44px;
  margin-left: 12px;
  padding: 0 8px;
  display: flex;
  align-items: center;
  color: #f7f2df;
  font-size: 13px;
  line-height: 1.4;
  border: 1px dashed rgba(255, 240, 184, 0.5);
}

.main-nav {
  background: #f7f1d8;
  padding: 7px 10px;
  border-bottom: 1px solid #5d7092;
  font-weight: bold;
  color: #5d7092;
  margin: 0;
  list-style: none;
}
.main-nav li {
    display: inline-block;
}
.main-nav li:after {
    content: '|';
}
.main-nav li:last-child:after {
    display: none;
}
.main-nav a {
  margin: 0 4px;
  color: #5d7092;
}

.ticker {
  background: #38404d;
  color: #b7ecb8;
  border-bottom: 1px solid #5d7092;
  padding: 4px 0;
  font-weight: bold;
}

.left-col {
  width: 220px;
  padding: 6px;
  background: #ecebe4;
  border-right: 1px solid #5d7092;
  color: #000000;
}

.right-col {
  width: 740px;
  padding: 6px;
  background: #f3f2ec;
  color: #000000;
}

.box-table {
  width: 100%;
  border: 1px solid #6a7894;
  background: #ffffff;
}

.box-title {
  text-align: left;
  padding: 4px 6px;
  background: #6a7894;
  color: #fbf8ee;
  font-size: 12px;
  font-weight: bold;
}

.box-row {
  padding: 5px 6px;
  line-height: 1.5;
  color: #000000;
}

.box-row + .box-row {
  border-top: 1px solid #dfddd2;
}

.retro-search {
  display: flex;
  gap: 6px;
}

.retro-search input {
  flex: 1;
  height: 22px;
  border: 1px solid #000080;
  font-size: 12px;
  padding: 0 4px;
  color: #555555;
}

.retro-search button {
  height: 24px;
  border: 1px solid #000080;
  background: #ffff99;
  font-size: 12px;
  cursor: pointer;
}

.link-grid a {
  display: inline-block;
  margin-right: 8px;
  margin-bottom: 2px;
}

.gray {
  color: #666666;
}

.topic-row {
  line-height: 1.8;
}

.dir-list {
  line-height: 1.7;
}

.dir-list .subcat-link {
  color: #0000cc;
  font-weight: bold;
}
.subcat-link:after {
    content: '/';
    color: #999;
    display: inline-block;
    margin: 0 6px;
}
.dir-list .site-link {
  color: #555555;
}

.dir-list .site-link:hover {
  color: #333333;
}

.list-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.list-cat {
  white-space: nowrap;
}

.list-site {
  min-width: 0;
  flex: 1;
}

.list-date {
  color: #666666;
  text-align: right;
  white-space: nowrap;
}

.hot {
  color: #ff0000;
  font-weight: bold;
}

.new {
  color: #ffffff;
  background: #ff0000;
  font-size: 10px;
  padding: 0 3px;
  border: 1px solid #990000;
}

.thumb-line {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 4px;
}

.thumb {
  width: 42px;
  height: 28px;
  flex: 0 0 42px;
  border: 1px solid #333333;
  background: linear-gradient(135deg, #cccccc, #eeeeee);
}

.friend-links {
  padding: 8px 10px;
  background: #f7f1d8;
  border-top: 1px solid #6a7894;
  font-weight: bold;
}

.friend-links a {
  margin-right: 8px;
}

.footer {
  text-align: center;
  padding: 10px;
  background: #667ba2;
  color: #fbf8ee;
  font-size: 11px;
  border-top: 2px solid #f0df98;
}

.mt8 {
  margin-top: 8px;
}

.single-wrap {
  padding: 8px;
  background: #f3f2ec;
  display: flex;
  gap: 8px;
}

.single-main {
  flex: 1;
}

.single-side {
  width: 240px;
}

.single-info-layout {
  display: flex;
  gap: 10px;
  padding: 6px;
}

.single-info-left {
  flex: 1;
  border: 1px solid #d9d6c9;
  background: #ffffff;
}

.single-info-right {
  width: 220px;
  border: 1px solid #d9d6c9;
  background: #faf9f4;
  display: flex;
  align-items: center;
  justify-content: center;
}

.single-thumb-empty {
  border: 1px dashed #aab3c2;
  background: #f3f5f9;
}

.single-main-link {
  color: #3f5f9b;
  font-weight: bold;
}

.single-desc {
  line-height: 1.8;
  color: #2f2f2f;
}
.single-desc p {
    margin: 0;
}
.single-desc p:last-child {
    margin-bottom: 0;
}

.single-tag {
  display: inline-block;
  margin: 2px 6px 2px 0;
  padding: 2px 8px;
  border: 1px solid #9ba8bf;
  background: #eef1f7;
  color: #4d5d7a;
}

@media (max-width: 980px) {
  .page {
    width: 100%;
  }
}

@media (max-width: 760px) {
  body {
    padding: 4px;
  }

  .layout-main {
    display: block;
  }

  .left-col,
  .right-col {
    width: 100%;
    border-right: 0;
  }

  .single-info-layout {
    display: block;
    padding: 0;
  }

  .single-wrap {
    display: block;
  }

  .single-side {
    width: auto;
    margin-top: 8px;
  }

  .single-info-right {
    width: auto;
    margin-top: 8px;
    padding: 10px;
  }

  .single-thumb-empty {
    width: 100%;
    max-width: 260px;
    margin: 0 auto;
  }

  .site-logo-mark {
    min-width: 180px;
    font-size: 20px;
  }

  .site-title-right {
    font-size: 12px;
    padding: 0 6px;
  }

  .list-row {
    grid-template-columns: 1fr;
    gap: 2px;
  }

  .list-date {
    text-align: left;
  }
}
