/* ----- Status Cafe Card (clean diary style, soft edition) ----- */
.scafe-card {
  --paper: #faf9f3;
  --ink: #7D4949;
  --line: #d8cfc5;

  max-width: 480px;
  width: 100%;
  margin: auto;

  /* transparent, soft background */
  background: rgba(255, 255, 255, 0.28);
  border: none;                         /* remove dashed border */
  border-radius: 14px;
  padding: 14px 18px;

  /* glass blur effect */
  backdrop-filter: blur(8px) saturate(130%);
  -webkit-backdrop-filter: blur(8px) saturate(130%);
  box-shadow:
    0 4px 12px rgba(120, 92, 68, 0.06),
    inset 0 1px 0 rgba(255, 255, 255, 0.25);

  color: var(--ink);
  font-family: "Hiragino Sans", "Noto Sans JP", sans-serif;
  font-size: 10px;
  line-height: 1.7;
}

/* ----- Scrollable feed (no visible scrollbar) ----- */
.scafe-list {
  max-height: 300px;
  overflow-y: scroll;            /* can scroll */
  margin: 0;
  padding: 6px 0 0;
  list-style: none;
  border: none;
  position: relative;

  /* hide scrollbar visuals */
  scrollbar-width: none;         /* Firefox */
  -ms-overflow-style: none;      /* IE */
}
.scafe-list::-webkit-scrollbar {
  display: none;                 /* Chrome/Safari */
}

/* ----- Each entry ----- */
.scafe-item {
  padding: 10px 2px;
  border-bottom: 1px dotted rgba(125, 73, 73, 0.18);
}
.scafe-item:last-child {
  border-bottom: none;
}

/* ----- Timestamp style ----- */
.scafe-time {
  display: block;
  font-size: 11px;
  opacity: 0.7;
  margin-bottom: 3px;
  color: #7D4949;
}

/* ----- Text ----- */
.scafe-text {
  margin: 0;
  word-break: break-word;
  padding-right: 2px;
  color: #7D4949;
}

/* ----- Smooth hover lift ----- */
.scafe-item:hover {
  transform: translateY(-1px);
  transition: all 0.15s ease;
}

/* ----- Hide title/footer (not used) ----- */
.scafe-head, .scafe-foot {
  display: none !important;
}

/* ----- Responsive size for mobile ----- */
@media (max-width: 420px) {
  .scafe-card {
    font-size: 12.5px;
  }
}

/* ===== Cbox 留言板：让外框跟 Status 卡片统一风格 ===== */

.cbox-card{
  /* 和 .scafe-card 同一套参数 */
  max-width: 480px;
  width: 100%;
  margin: 24px auto 0;
  padding: 14px 18px;

  background: rgba(255,255,255,0.28);
  border-radius: 14px;
  border: none;

  backdrop-filter: blur(8px) saturate(130%);
  -webkit-backdrop-filter: blur(8px) saturate(130%);
  box-shadow:
    0 4px 12px rgba(120, 92, 68, 0.06),
    inset 0 1px 0 rgba(255,255,255,0.25);

  color: #7D4949;
  font-family: "Hiragino Sans", "Noto Sans JP", sans-serif;
  font-size: 13px;
  line-height: 1.7;
}

/* 让 iframe 像嵌在卡片里的内容，而不是整块独立的白板 */
.cbox-card iframe{
  display:block;
  width:100%;
  height:430px;
  border:none;
  border-radius:10px;

  /* 去掉「外面再叠一层阴影」的感觉 */
  box-shadow:none;
}

/* 悬浮时跟 scafe-item 一样轻微上浮 */
.cbox-card:hover{
  transform:translateY(-1px);
  transition:all .15s ease;
}

/* 手机端小一点：保持和左边卡片比例差不多 */
@media (max-width: 480px){
  .cbox-card{
    margin-top:18px;
    padding:12px 14px;
    font-size:12.5px;
  }
  .cbox-card iframe{
    height:400px;
  }
}
/* 外层卡片，尽量跟你现在的大卡片风格靠近 */
.nl-tabcard {
  max-width: 420px;
  margin: 0 auto;
  background: rgba(255,230,230,.35);
  border-radius: 14px;
  padding: 10px 14px 14px;
  backdrop-filter: blur(8px) saturate(130%);
  -webkit-backdrop-filter: blur(8px) saturate(130%);
  box-shadow: 0 4px 12px rgba(120,92,68,.06),
              inset 0 1px 0 rgba(255,255,255,.25);
  color: #7d4949;
  font-family:"Hiragino Sans","Noto Sans JP",sans-serif;
  font-size: 13px;
  line-height: 1.7;
}

/* 隐藏单选按钮本体 */
.nl-tabcard input[type="radio"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

/* 标签栏 */
.nl-tabs-head {
  display: flex;
  gap: 8px;
  margin-bottom: 8px;
}

.nl-tabs-head label {
  flex: 1;
  text-align: center;
  padding: 4px 0;
  border-radius: 999px;
  font-size: 13px;
  cursor: pointer;
  background: rgba(255,255,255,.25);
  color: #b78080;
  transition: .2s;
}

/* 默认高亮第一个（说说） */
#nl-tab-status:checked ~ .nl-tabs-head label[for="nl-tab-status"],
#nl-tab-cbox:checked   ~ .nl-tabs-head label[for="nl-tab-cbox"] {
  background: #e6a9b6;
  color: #fff;
}

/* 内容区域 */
.nl-tabs-body {
  position: relative;
}

/* 两个 panel 叠在一起，按选中的单选来显示 */
.nl-panel {
  display: none;
}

#nl-tab-status:checked ~ .nl-tabs-body .nl-panel-status {
  display: block;
}

#nl-tab-cbox:checked ~ .nl-tabs-body .nl-panel-cbox {
  display: block;
}

/* 让 iframe/内容撑满宽度 */
.nl-panel iframe {
  width: 100%;
  border: none;
}

/* 让 status.cafe 卡片和你的整体风格更贴近，可以按需要微调 */
.scafe-card {
  background: transparent;
  border: none;
  padding: 0;
}
.nl-panel-status {
  position: relative;
  border-radius: 14px;
  padding: 18px 16px;
  overflow: hidden;

  /* 基础透明层 + 极淡星星图 */
  background: 
    rgba(255,255,255,0.05) /* 几乎透明底，增加一点光感 */,
    url("https://nine-lie.com/wp-content/uploads/2019/07/kirakira1.jpg");
  background-size: 360px auto;      /* 🌟 星星大小 */
  background-position: center;
  background-repeat: repeat;

  /* 轻柔混合，让星星像水印一样浮现 */
  background-blend-mode: lighten;
  image-rendering: -webkit-optimize-contrast;

  /* 半透玻璃信纸感 */
  backdrop-filter: blur(8px) saturate(115%);
  -webkit-backdrop-filter: blur(8px) saturate(115%);

  /* 内阴影柔化边缘 */
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    0 2px 8px rgba(120, 92, 68, 0.02);
}

/* 仅淡化背景图，不影响文字 */
.nl-panel-status::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: url("https://nine-lie.com/wp-content/uploads/2019/07/kirakira1.jpg");
  background-size: 360px auto;
  background-position: center;
  background-repeat: repeat;
  opacity: 0.25; /* ⭐ 控制星星水印的淡度（0.2~0.3 都很好） */
  mix-blend-mode: soft-light;
  z-index: 0;
  border-radius: inherit;
}

/* 确保文字在水印上层 */
.nl-panel-status * {
  position: relative;
  z-index: 1;
}

/* 桌面端更柔和一点 */
@media (min-width: 1024px) {
  .nl-panel-status::before {
    opacity: 0.20;  /* 💻 星星在电脑上再淡一点 */
  }
}
/* === Nine-Lie 折叠块（背景透明版）=== */
.nl-toggle {
  margin: 6px 0 8px;
  padding: 6px 0;
  border: none;
  border-radius: 0;
  background: transparent;  /* 💧完全透明 */
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  font-family: "Hiragino Sans","Yu Gothic","Noto Sans JP",sans-serif;
}

/* summary 标题 */
.nl-toggle summary {
  cursor: pointer;
  list-style: none;
  font-size: 13px;          /* 与正文一致 */
  color: #a96b6b;
  font-weight: 500;
  transition: color 0.2s ease;
}

/* 去掉默认小三角 */
.nl-toggle summary::-webkit-details-marker {
  display: none;
}

/* 小符号 ✦ */
.nl-toggle summary:before {
  content: "✦";
  display: inline-block;
  margin-right: 4px;
  font-size: 10px;
  opacity: 0.75;
  transform: rotate(0deg);
  transition: transform 0.25s ease, opacity 0.3s;
}

.nl-toggle[open] summary:before {
  transform: rotate(90deg);
  opacity: 1;
}

/* 折叠内容体：与正文同色同字重 */
.nl-toggle p {
  margin-top: 4px;
  font-size: 13px;
  line-height: 1.7;
  color: #7d4949 !important;  /* 与正文一致 */
}
.nl-note{
  font-size: 12px;
  color: #a96b6b;
  opacity: .85;
}