@charset "utf-8";

/* CSS Document */
* {
    box-sizing: border-box;
}

html, body {
	background: #F7F7F7;
	/* background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); */
	/* background: linear-gradient(135deg, #0a0e27 0%, #1a1f3a 50%, #0f1429 100%); */
    margin: 0;
    padding: 0; /* 针对 Firefox */
    scrollbar-width: none; /* 针对 IE/Edge 旧版 */
    -ms-overflow-style: none;
	font-family: -apple-system, "Microsoft YaHei", sans-serif;
}

/* 针对 Chrome, Safari, Edge (WebKit内核) */
html::-webkit-scrollbar, 
body::-webkit-scrollbar {
    width: 0;
    height: 0;
    display: none;
}

.container {
    max-width: 720px;
    margin: 0 auto;
    padding: 16px;
}
.header {
    background: #ffffff;
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 16px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}
.header h1 {
    margin: 0 0 4px;
    font-size: 31px;
    color:#666;
    font-weight:bold;
}
.header p {
    margin: 0;
    color: #666;
    font-size: 13px;
}
.date-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 10px;
}
.date-nav a {
    font-size: 13px;
    padding: 4px 10px;
    border-radius: 6px;
    background: #f0f2f5;
    color: #333;
    text-decoration: none;
}
.date-nav a.active {
    background: #4f6ef7;
    color: #fff;
}
textarea::placeholder {
  color: #999;
  font-family:微软雅黑;
}

input::placeholder {
  color: #999;
  font-family:微软雅黑;
}
.write {
  color: #666;
  font-family:微软雅黑;
  height: 100px;
}
.box {
    background: #ffffff;
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 16px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}
.box input,
.box textarea {
	color: #666;
    font-family:微软雅黑;
    width: 100%;
    padding: 10px;
    border: 1px solid #e3e6eb;
    border-radius: 8px;
    font-size: 14px;
    margin-bottom: 10px;
}
.box textarea {
    min-height: 90px;
    resize: vertical;
}
.box button {
    width:100px;
    background: #4f6ef7;
    color: #fff;
    border: none;
    padding: 10px 0;
    border-radius: 8px;
    font-size: 16px;
    cursor: pointer;
	text-align:center;
}
.box button:hover {
    background: #3b5de7;
}
.tip {
    font-size: 12px;
    color: #888;
    margin-top: 6px;
}
.success {
    color: #1a8a4a;
    font-size: 13px;
    margin-bottom: 10px;
}
.error {
    color: #c0392b;
    font-size: 13px;
    margin-bottom: 10px;
}
.logout-link {
    font-size: 13px;
    color: #c0392b;
    text-decoration: none;
    margin-left: 8px;
}
.message-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.message-item {
    background: #ffffff;
    border-radius: 12px;
    padding: 14px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}
.message-header {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    color: #666;
    margin-bottom: 8px;
}
.message-content {
    font-size: 15px;
    line-height: 1.6;
    white-space: pre-wrap;
    word-break: break-word;
}
.message-image img {
    max-width: 100%;
    border-radius: 8px;
    margin-top: 10px;
}
.empty {
    color: #999;
    font-size: 14px;
    padding: 10px 0;
}

  /* ===== 嵌入框属性 ===== */
  .video-box {
	margin-top: 10px;
	width: 100%;
    height: 380px;
    position: relative;
	display: flex;
	justify-content: center;
	/*pointer-events: none; 屏蔽点击触发*/
  }
  .Like-box {
	margin-top: 10px;
	width: 100%;
    height: 80px;
    position: relative;
	display: flex;
	justify-content: center;
	/*pointer-events: none; 屏蔽点击触发*/
  }
  .embed-box {
	width: 100%;
    height: auto;
	margin-top: -10px;
    position: relative;
	display: flex;
	justify-content: center;
	/*pointer-events: none; 屏蔽点击触发*/
  }

  .embed-box iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

  .embed-fallback {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #999;
  background: #f7f7f7;
}

  /* ===== TXT痕迹擦除按钮CSS ===== */
  .clear_txt {
	text-decoration:none;
	display:inline-block;
	width:100px;
	text-align:center;
	height:40px;
	line-height:40px;
	border-radius:5px;
	background:#666;
	color:#fff;
	font-size:14px;
	font-family: '微软雅黑', '宋体', sans-serif;
}

  /* 当日删除按钮CSS */
.delete-btn {
    font-size: 12px;
    color: #c0392b;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    margin-left: 8px;
}
.delete-btn:hover {
    text-decoration: underline;
}