/* ===== 玻璃拟态主题样式 (Glassy) ===== */
/* 双主题: 由 documentElement[data-theme] 驱动 */
html,body{height:100%}
body{margin:0;font-family:'Noto Sans SC','Source Han Sans SC','Source Han Sans CN','PingFang SC','Microsoft YaHei',sans-serif;
  transition:background .3s,color .3s;-webkit-font-smoothing:antialiased;line-height:1.7}
/* ===== 忆旧集页(page 1717)：粗衬线字体 · 跨端一致 =====
   跨平台通用衬线栈：Windows(iOS/Android亦有回退)，保证手机/PC显示一致 */
.page-id-1717 .glassy-single-title{
  font-family: 'Noto Serif SC','Source Han Serif SC','Source Han Serif CN','Noto Serif CJK SC','Songti SC','SimSun',serif;
  font-weight:700;
}
/* 覆盖 flsy shortcode 内嵌的 system-ui 无衬线字体 */
.page-id-1717 .flsy-wrapper,
.page-id-1717 .flsy-wrapper *{
  font-family: 'Noto Serif SC','Source Han Serif SC','Source Han Serif CN','Noto Serif CJK SC','Songti SC','SimSun',serif !important;
}
.page-id-1717 .flsy-post-title,
.page-id-1717 .flsy-post-title a{font-weight:700}
.page-id-1717 .flsy-content{font-weight:700;font-size:1.05rem}
.page-id-1717 .flsy-meta,
.page-id-1717 .flsy-read-more{font-weight:600}
.page-id-1717 .flsy-header,
.page-id-1717 .flsy-datetime-box{font-family: 'Noto Serif SC','Source Han Serif SC','Source Han Serif CN','Noto Serif CJK SC','Songti SC','SimSun',serif}
/* ===== 忆旧集(tag)文章正文：粗衬线 · 跨端一致 ===== */
.tag-yijiu-serif .glassy-single-title{
  font-family: 'Noto Serif SC','Source Han Serif SC','Source Han Serif CN','Noto Serif CJK SC','Songti SC','SimSun',serif;
  font-weight:700;
}
.tag-yijiu-serif .glassy-single-content,
.tag-yijiu-serif .glassy-single-content *{
  font-family: 'Noto Serif SC','Source Han Serif SC','Source Han Serif CN','Noto Serif CJK SC','Songti SC','SimSun',serif !important;
}
.tag-yijiu-serif .glassy-single-content{font-weight:700;font-size:1.05rem}
.tag-yijiu-serif .glassy-single-content p{font-weight:700}
.tag-yijiu-serif .glassy-single-content h1,
.tag-yijiu-serif .glassy-single-content h2,
.tag-yijiu-serif .glassy-single-content h3,
.tag-yijiu-serif .glassy-single-content h4{font-weight:700}
body *{box-sizing:border-box}
a{text-decoration:none}
img{max-width:100%;height:auto}
.glassy-skip{position:absolute;left:-9999px}
.glassy-skip:focus{left:0;top:0;background:#fff;padding:8px 14px;z-index:100}

/* ---------- 主题背景 ---------- */
/* ---------- 主题背景：film.html 格子背景 ---------- */
html[data-theme="light"] body{
  background-color:#f4f1ea;
  background-image:
    linear-gradient(to right, rgba(90,64,40,.06) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(90,64,40,.06) 1px, transparent 1px);
  background-size:34px 34px;
  background-attachment:fixed;
}
html[data-theme="dark"] body{
  background-color:#1c1b1a;
  background-image:
    linear-gradient(to right, rgba(255,245,235,.05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,245,235,.05) 1px, transparent 1px);
  background-size:34px 34px;
  background-attachment:fixed;
}

/* ---------- 顶部导航 ---------- */
.glassy-top{position:sticky;top:0;z-index:50;
  backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px)}
html[data-theme="light"] .glassy-top{background:rgba(255,255,255,.6);border-bottom:1px solid rgba(255,159,67,.18)}
html[data-theme="dark"] .glassy-top{background:rgba(18,24,38,.6);border-bottom:1px solid rgba(255,159,67,.25)}
.glassy-top-inner{display:flex;align-items:center;justify-content:space-between;height:62px;flex-wrap:wrap}
.glassy-shell{max-width:1080px;margin:0 auto;padding:0 20px}
.glassy-brand{font-weight:700;font-size:1.15rem}
html[data-theme="light"] .glassy-brand{color:#2c3e50}
html[data-theme="dark"] .glassy-brand{color:#ecf0f1}
.glassy-menu{list-style:none;margin:0;padding:0;display:flex;gap:4px}
.glassy-menu li a{display:block;padding:8px 14px;border-radius:999px;font-weight:500;}
html[data-theme="light"] .glassy-menu li a{color:#2c3e50}
html[data-theme="dark"] .glassy-menu li a{color:#cbd5d9}
.glassy-menu li.current-menu-item>a,.glassy-menu li a:hover{color:#fff!important;
  background:linear-gradient(135deg,#1f6e7c,#2b8aa0)}
.glassy-burger{display:none;flex-direction:column;gap:4px;background:none;border:0;cursor:pointer;padding:8px}
.glassy-burger span{width:20px;height:2px;border-radius:2px}
html[data-theme="light"] .glassy-burger span{background:#2c3e50}
html[data-theme="dark"] .glassy-burger span{background:#ecf0f1}

/* ---------- 内容区 ---------- */
.glassy-wrap{min-height:72vh}
.glassy-main{padding:36px 0 10px;max-width:1080px;margin:0 auto;padding-left:20px;padding-right:20px}

/* ---------- 首页玻璃卡 ---------- */
.glass-card{max-width:100%;width:100%;margin:6px auto 0;padding:2.5rem 2rem;
  backdrop-filter:blur(20px);-webkit-backdrop-filter:blur(20px);border-radius:2.5rem;
  text-align:center;transition:all .3s;border:1.5px solid}
html[data-theme="light"] .glass-card{background:rgba(255,255,255,.85);
  border-color:rgba(255,159,67,.3);
  box-shadow:0 20px 50px rgba(30,136,168,.15),0 5px 20px rgba(255,159,67,.15),inset 0 1px 0 rgba(255,255,255,.8)}
html[data-theme="dark"] .glass-card{background:rgba(25,30,40,.92);
  border-color:rgba(255,159,67,.5);
  box-shadow:0 20px 50px rgba(0,0,0,.3),0 5px 20px rgba(255,159,67,.2)}
.main-title{font-size:clamp(2rem,6vw,2.6rem);font-weight:700;line-height:1.3;margin:0 0 1.5rem;
  display:inline-block;letter-spacing:.08em;
  background-image:linear-gradient(100deg,#2c3e50 0%,#1f6e7c 28%,#e67e22 50%,#2b8aa0 72%,#2c3e50 100%);
  background-size:300% 100%;background-position:0% 50%;
  -webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent;
  animation:titleFlow 6s linear infinite,titleGlow 4.5s ease-in-out infinite}
html[data-theme="dark"] .main-title{
  background-image:linear-gradient(100deg,#ecf0f1 0%,#5dbcd2 30%,#ffb347 50%,#7fcdff 72%,#ecf0f1 100%)}
@keyframes titleFlow{0%{background-position:0% 50%}50%{background-position:100% 50%}100%{background-position:0% 50%}}
@keyframes titleGlow{
  0%,100%{filter:drop-shadow(0 2px 6px rgba(31,110,124,.18))}
  50%{filter:drop-shadow(0 6px 18px rgba(230,126,34,.30))}}

/* 首页标题下 Powered by */
.powered-by{margin:-0.9rem 0 1.35rem;font-size:clamp(.78rem,2.4vw,.92rem);font-weight:500;letter-spacing:.04em;
  color:rgba(31,110,124,.78);text-align:center}
html[data-theme="dark"] .powered-by{color:rgba(127,205,255,.72)}
@media(max-width:600px){.powered-by{margin:-.6rem 0 1.1rem}}

/* 按钮(纵向 pill) */
.btn-group{display:flex;flex-direction:column;gap:.9rem;margin-bottom:2rem}
.custom-btn{display:block;padding:.9rem 2rem;font-size:1.05rem;font-weight:600;border-radius:3rem;
  color:#fff!important;transition:all .3s;letter-spacing:.5px;text-align:center;cursor:pointer;border:none}
.btn-link{background:linear-gradient(135deg,#ff9f43,#e67e22);box-shadow:0 5px 20px rgba(255,159,67,.35)}
.btn-game{background:linear-gradient(135deg,#1e88a8,#1565c0);box-shadow:0 5px 20px rgba(30,136,168,.35)}
.btn-memory{background:linear-gradient(135deg,#f39c12,#e67e22);box-shadow:0 5px 20px rgba(243,156,18,.35);border:2px solid rgba(255,255,255,.3)}
html[data-theme="dark"] .btn-link{background:linear-gradient(135deg,#f39c12,#d35400);box-shadow:0 5px 20px rgba(211,84,0,.5)}
html[data-theme="dark"] .btn-game{background:linear-gradient(135deg,#0e7a9e,#0d4a8f);box-shadow:0 5px 20px rgba(13,74,143,.6)}
html[data-theme="dark"] .btn-memory{background:linear-gradient(135deg,#e67e22,#b84c0c);box-shadow:0 5px 20px rgba(184,76,12,.5);border:2px solid rgba(255,215,150,.4)}
.custom-btn:hover{transform:translateY(-3px);color:#fff!important}

/* 卡片组：超链接/游戏版/忆旧集/梁文谷/心愿单/观影单（统一淡色简约卡） */
.card-group{display:grid;grid-template-columns:1fr;gap:.9rem;margin-bottom:2rem;text-align:left}
.mini-card{display:flex;align-items:center;gap:.9rem;text-decoration:none;color:inherit;
  border-radius:1.5rem;padding:.85rem 1.25rem;transition:all .25s;border:1px solid;
  backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px)}
html[data-theme="light"] .mini-card{background:rgba(255,255,255,.72);border-color:rgba(159,137,104,.18);
  box-shadow:0 8px 22px rgba(0,0,0,.04)}
html[data-theme="light"] .mini-card:hover{background:rgba(255,255,255,.92);transform:translateY(-2px);
  box-shadow:0 14px 30px rgba(94,72,34,.12)}
html[data-theme="dark"] .mini-card{background:rgba(32,36,46,.72);border-color:rgba(255,255,255,.08);
  box-shadow:0 8px 22px rgba(0,0,0,.3)}
html[data-theme="dark"] .mini-card:hover{background:rgba(44,50,64,.92);transform:translateY(-2px)}
.mini-card .mc-icon{font-size:1.6rem;flex-shrink:0;width:2.2rem;text-align:center;align-self:flex-start}
/* 图片图标（词典 logo/favicon）在图标区内水平居中：text-align 对块级 img 无效，需 margin:auto */
.mini-card .mc-icon img{display:block;margin:0 auto}
.mini-card .mc-text{display:flex;flex-direction:column;align-items:flex-start;gap:.15rem;min-width:0}
.mini-card .mc-title{font-size:1.05rem;font-weight:700;line-height:1.3;white-space:normal;overflow-wrap:anywhere}
html[data-theme="light"] .mini-card .mc-title{color:#2c3240}
html[data-theme="dark"] .mini-card .mc-title{color:#f0f3f5}
.mini-card .mc-sub{font-size:.9rem;line-height:1.45;opacity:.78}
html[data-theme="light"] .mini-card .mc-sub{color:#4a5666}
html[data-theme="dark"] .mini-card .mc-sub{color:#aebcc6}

@media (min-width:640px){
  .card-group{grid-template-columns:1fr 1fr}
}

/* 特别推介 */
.featured-section{margin:2.2rem 0 1.8rem;text-align:left}
.featured-title{font-size:1.3rem;font-weight:700;margin-bottom:1.3rem;transform:translateX(-.3rem);display:flex;align-items:center;gap:.5rem}
html[data-theme="light"] .featured-title{color:#2c3e50}
html[data-theme="dark"] .featured-title{color:#ecf0f1}
.featured-title span{padding:.2rem .8rem;border-radius:2rem;font-size:.9rem;font-weight:600}
html[data-theme="light"] .featured-title span{background:rgba(255,159,67,.18);color:#d35400}
html[data-theme="dark"] .featured-title span{background:rgba(255,159,67,.25);color:#ffb347}
.featured-grid{display:grid;grid-template-columns:1fr;gap:1.2rem}
.featured-card{backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px);border-radius:1.8rem;
  padding:1.3rem 1.2rem;transition:all .25s;display:flex;flex-direction:column;text-decoration:none;
  color:inherit;position:relative;border:1px solid}
html[data-theme="light"] .featured-card{background:rgba(255,255,255,.7);border-color:rgba(255,159,67,.25);
  box-shadow:0 10px 25px rgba(0,0,0,.05)}
html[data-theme="light"] .featured-card:hover{background:rgba(255,255,255,.85);box-shadow:0 18px 35px rgba(255,159,67,.18)}
html[data-theme="dark"] .featured-card{background:rgba(30,35,48,.8);border-color:rgba(255,159,67,.4);
  box-shadow:0 10px 25px rgba(0,0,0,.35)}
.card-icon{font-size:2.3rem;margin-bottom:.7rem}
.card-title{font-weight:700;font-size:1.1rem;margin:0 0 .3rem;line-height:1.4}
html[data-theme="light"] .card-title{color:#1e2b3c}
html[data-theme="dark"] .card-title{color:#f0f3f5}
.card-desc{font-size:.85rem;line-height:1.5;margin:.2rem 0 0;flex:1}
html[data-theme="light"] .card-desc{color:#5f6b7a}
html[data-theme="dark"] .card-desc{color:#b8c7ce}
.card-badge{display:inline-block;margin-top:.8rem;font-size:.7rem;font-weight:600;padding:.2rem .7rem;border-radius:1rem;align-self:flex-start}
html[data-theme="light"] .card-badge{background:rgba(255,159,67,.18);color:#c44f1c}
html[data-theme="dark"] .card-badge{background:rgba(255,159,67,.28);color:#ffb347}
.slogan{font-size:clamp(.9rem,4vw,1rem);line-height:1.8;margin:1.5rem 0;letter-spacing:.5px;text-transform:uppercase}
html[data-theme="light"] .slogan{color:#5f6b7a}
html[data-theme="dark"] .slogan{color:#b8c7ce}
.slogan a{font-weight:600;cursor:pointer;display:inline-block;text-transform:uppercase}
html[data-theme="light"] .slogan a{color:#e67e22}
html[data-theme="dark"] .slogan a{color:#ffb347}
.footer-info{margin-top:2rem;padding-top:1.5rem;border-top:2px dashed;font-size:.8rem}
html[data-theme="light"] .footer-info{color:#7f8c8d;border-top-color:rgba(255,159,67,.3)}
html[data-theme="dark"] .footer-info{color:#a0abb8;border-top-color:rgba(255,159,67,.4)}
.footer-info p{margin:0 0 .6rem}
.police-link{display:inline-flex;align-items:center;gap:.3rem}
html[data-theme="light"] .police-link{color:#7f8c8d}
html[data-theme="dark"] .police-link{color:#a0abb8}
.police-icon{width:16px;height:16px}

/* 首页下方(浮生一日/状态) */
.glassy-below{margin-top:40px}
.section-title{font-size:1.3rem;margin:0 0 1rem;color:#1f6e7c}
html[data-theme="dark"] .section-title{color:#ecf0f1}

/* 浮生一日卡片(暖色,可读) */
.glassy-below .flsy-card{background:rgba(255,255,255,.82);border:1px solid rgba(255,200,120,.5);
  border-radius:1.2rem;padding:1.2rem;margin-bottom:1.2rem;box-shadow:0 4px 12px rgba(0,0,0,.05)}
html[data-theme="dark"] .glassy-below .flsy-card{background:rgba(30,35,45,.92);border-color:rgba(255,150,80,.3)}
.glassy-below .flsy-post-title{font-size:1.25rem;margin:0 0 .8rem}
.glassy-below .flsy-post-title a{color:#1f6e7c}
.glassy-below .flsy-content{color:#3f5258;font-size:.97rem}
html[data-theme="dark"] .glassy-below .flsy-content{color:#b8c7ce}
.glassy-below .flsy-date{background:rgba(253,225,180,.7);padding:.2rem .8rem;border-radius:2rem;color:#b15522;font-size:.85rem}

/* ---------- 文章列表(玻璃卡片网格) ---------- */
.glassy-archive-head{text-align:center;padding:10px 0 6px}
.glassy-page-title{font-size:1.7rem;margin:0}
html[data-theme="light"] .glassy-page-title{color:#2c3e50}
html[data-theme="dark"] .glassy-page-title{color:#ecf0f1}
.glassy-list{display:grid;grid-template-columns:repeat(auto-fill,minmax(320px,1fr));gap:18px;margin-top:22px}
.glassy-post-card{backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px);
  border-radius:1.6rem;padding:1.4rem;transition:all .22s;border:1px solid}
html[data-theme="light"] .glassy-post-card{background:rgba(255,255,255,.72);border-color:rgba(255,159,67,.2);box-shadow:0 8px 22px rgba(0,0,0,.05)}
html[data-theme="dark"] .glassy-post-card{background:rgba(28,34,46,.75);border-color:rgba(255,159,67,.28);box-shadow:0 8px 22px rgba(0,0,0,.3)}
.glassy-post-card:hover{transform:translateY(-3px)}
.glassy-post-title{font-size:1.15rem;margin:0 0 6px}
.glassy-post-title a{color:inherit;font-weight:700}
html[data-theme="light"] .glassy-post-title a{color:#1e2b3c}
html[data-theme="dark"] .glassy-post-title a{color:#f0f3f5}
.glassy-post-title a:hover{color:#e07b2c}
.glassy-post-meta{font-size:.8rem;display:flex;gap:10px;flex-wrap:wrap}
html[data-theme="light"] .glassy-post-meta{color:#7f8c8d}
html[data-theme="dark"] .glassy-post-meta{color:#a0abb8}
.glassy-post-meta a{color:inherit}
.glassy-post-excerpt{font-size:.9rem;margin:8px 0 0;color:inherit;opacity:.85}
.glassy-readmore{font-weight:600;font-size:.9rem}
html[data-theme="light"] .glassy-readmore{color:#e67e22}
html[data-theme="dark"] .glassy-readmore{color:#ffb347}
.glassy-pagination{text-align:center;margin:30px 0}
.glassy-pagination .page-numbers{display:inline-block;padding:6px 12px;margin:0 2px;border-radius:8px}
html[data-theme="light"] .glassy-pagination .page-numbers{background:rgba(255,255,255,.7);color:#2c3e50}
html[data-theme="dark"] .glassy-pagination .page-numbers{background:rgba(28,34,46,.7);color:#cbd5d9}
.glassy-empty{color:#999;text-align:center;padding:40px 0}

/* ---------- 单篇/页面(干净浅色卡,可读) ---------- */
.glassy-single{max-width:800px;margin:0 auto;padding:2rem 2.4rem;border-radius:1.6rem;border:1px solid}
html[data-theme="light"] .glassy-single{background:#fff;border-color:#e8ecef;box-shadow:0 6px 20px rgba(0,0,0,.05)}
html[data-theme="dark"] .glassy-single{background:#1d2430;border-color:#2c333a;box-shadow:0 6px 20px rgba(0,0,0,.3)}
.glassy-single-title{font-size:1.8rem;margin:0 0 8px;line-height:1.35}
html[data-theme="light"] .glassy-single-title{color:#2c3e50}
html[data-theme="dark"] .glassy-single-title{color:#ecf0f1}
.glassy-single-meta{font-size:.82rem;margin-bottom:16px}
html[data-theme="light"] .glassy-single-meta{color:#7f8c8d}
html[data-theme="dark"] .glassy-single-meta{color:#a0abb8}
.glassy-single-meta a{color:inherit}
.glassy-single-thumb{margin:14px 0}
.glassy-single-thumb img{border-radius:10px}
.glassy-single-content{font-size:1.02rem;line-height:1.9;color:inherit}
.glassy-single-content p{margin:0 0 1.2em}
.glassy-single-content img{border-radius:8px}
.glassy-single-content h2,.glassy-single-content h3{line-height:1.4}
.glassy-single-content blockquote{border-left:3px solid #e67e22;margin:1.2em 0;padding-left:16px;color:inherit;opacity:.7}
.glassy-single-content code,.glassy-single-content pre{background:#f3f5f7;border-radius:6px}
html[data-theme="dark"] .glassy-single-content code,html[data-theme="dark"] .glassy-single-content pre{background:#262e3a}
.glassy-single-content pre{padding:14px;overflow:auto}
.glassy-single-tags{margin-top:26px;padding-top:14px;border-top:1px dashed;font-size:.9rem}
html[data-theme="light"] .glassy-single-tags{color:#7f8c8d;border-color:#e8ecef}
html[data-theme="dark"] .glassy-single-tags{color:#a0abb8;border-color:#2c333a}

/* ---------- 评论区 ---------- */
.comments-area{margin:32px auto 0;max-width:800px}
.comments-area h2{font-size:1.2rem}
html[data-theme="dark"] .comments-area{color:#cbd5d9}
.comment-list{list-style:none;padding:0}
.comment-list li{background:rgba(255,255,255,.6);margin-bottom:12px;padding:12px 16px;border-radius:10px}
html[data-theme="dark"] .comment-list li{background:rgba(28,34,46,.6)}

/* ---------- 页脚 ---------- */
.glassy-footer{margin-top:50px;padding:26px 0;text-align:center;font-size:.85rem;
  backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px);border-top:1px solid}
html[data-theme="light"] .glassy-footer{background:rgba(255,255,255,.4);color:#7d8a92;border-color:rgba(255,159,67,.18)}
html[data-theme="dark"] .glassy-footer{background:rgba(18,24,38,.5);color:#9aa5aa;border-color:rgba(255,159,67,.22)}
.glassy-footer-inner p{margin:4px 0}
.glassy-icp{opacity:.75}

/* ---------- 回到首页按钮（取代页脚，整站页面底部） ---------- */
.glassy-gohome{margin-top:34px;padding:22px 0 8px;text-align:center}
.glassy-gohome-btn{
  display:inline-flex;align-items:center;justify-content:center;gap:.45rem;
  font-size:.98rem;font-weight:600;text-decoration:none;letter-spacing:.3px;
  padding:.72rem 1.9rem;border-radius:999px;
  transition:transform .2s ease,box-shadow .2s ease,filter .2s ease;
  background:linear-gradient(135deg,#ff9f43,#e67e22);
  box-shadow:0 5px 20px rgba(255,159,67,.35);
  color:#fff;border:none;
}
.glassy-gohome-btn:hover{transform:translateY(-2px) scale(1.03);box-shadow:0 8px 26px rgba(230,126,34,.45)}
html[data-theme="dark"] .glassy-gohome-btn{background:linear-gradient(135deg,#f39c12,#d35400);box-shadow:0 5px 20px rgba(211,84,0,.5)}
html[data-theme="dark"] .glassy-gohome-btn:hover{box-shadow:0 8px 26px rgba(211,84,0,.55)}

/* ---------- 移动端 ---------- */
@media (max-width:768px){
  .glassy-burger{display:flex}
  .glassy-nav{position:absolute;top:62px;left:0;right:0;display:none;padding:8px 20px;
    backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px)}
  html[data-theme="light"] .glassy-nav{background:rgba(255,255,255,.9)}
  html[data-theme="dark"] .glassy-nav{background:rgba(18,24,38,.9)}
  body.glassy-nav-open .glassy-nav{display:block}
  .glassy-menu{flex-direction:column}
  .glass-card{padding:2rem 1.5rem;border-radius:2rem}
  .glassy-single{padding:1.4rem 1.2rem}
  .glassy-list{grid-template-columns:1fr}
  /* 手机端强制「上下堆叠」：主内容与底部按钮各占整行，绝不左右并排 */
  .glassy-wrap,.glassy-main{display:block;width:100%;max-width:100%}
  .glassy-single,.glassy-page{width:100%;max-width:100%;margin:0 auto}
  .glassy-gohome{display:block;width:100%;box-sizing:border-box;padding:22px 20px 8px;text-align:center}
  .glassy-gohome-btn{display:block;width:100%;max-width:none;margin:0 auto;text-align:center}
}

/* 全宽页(游戏心愿单) */
.glassy-main.glassy-wide{max-width:none;width:100%;padding:28px 24px}
.glassy-wide-head{text-align:center;margin-bottom:24px}
.glassy-wide-title{font-size:1.9rem;margin:0}
html[data-theme="light"] .glassy-wide-title{color:#2c3e50}
html[data-theme="dark"] .glassy-wide-title{color:#ecf0f1}
.glassy-wide-content{width:100%}
.glassy-wide-content .gc-grid{width:100%;max-width:1600px;margin:0 auto}

/* ===== 游戏页星空背景(仅 cybertamin.xin/games,postid 1543)=====
   作用范围:只命中 1543 这个游戏心愿单页,不影响全站其它页面。
   样式:纯 CSS 静态渐变星空(深空底色 + 多层径向光斑模拟星点 + 星云渐隐),
   亮/暗主题都覆盖(都以深色星空呈现,增强游戏页沉浸感)。 */
body.postid-1543{
  --star-bg-1:#0a0e1a;
  --star-bg-2:#101728;
  --star-glow:#7db4ff;
  --star-accent:#ffffff;
  background:
    radial-gradient(1px 1px at 12% 22%, rgba(255,255,255,.9) 0, transparent 100%),
    radial-gradient(1.5px 1.5px at 28% 68%, rgba(255,255,255,.75) 0, transparent 100%),
    radial-gradient(1px 1px at 38% 34%, rgba(180,210,255,.85) 0, transparent 100%),
    radial-gradient(1.2px 1.2px at 48% 78%, rgba(255,255,255,.65) 0, transparent 100%),
    radial-gradient(1px 1px at 58% 18%, rgba(200,220,255,.8) 0, transparent 100%),
    radial-gradient(1.4px 1.4px at 66% 52%, rgba(255,255,255,.7) 0, transparent 100%),
    radial-gradient(1px 1px at 74% 84%, rgba(170,200,255,.75) 0, transparent 100%),
    radial-gradient(1.6px 1.6px at 82% 30%, rgba(255,255,255,.6) 0, transparent 100%),
    radial-gradient(2px 2px at 90% 66%, rgba(200,230,255,.8) 0, transparent 100%),
    radial-gradient(1px 1px at 18% 88%, rgba(255,255,255,.7) 0, transparent 100%),
    radial-gradient(40px 40px at 20% 18%, rgba(80,120,220,.18), transparent 60%),
    radial-gradient(60px 60px at 78% 40%, rgba(120,100,220,.14), transparent 65%),
    radial-gradient(50px 50px at 50% 85%, rgba(60,140,220,.16), transparent 60%),
    linear-gradient(160deg, var(--star-bg-2) 0%, var(--star-bg-1) 50%, var(--star-bg-2) 100%);
  background-attachment: fixed, fixed, fixed, fixed, fixed, fixed, fixed, fixed, fixed, fixed, fixed, fixed, fixed, fixed;
  color:#e8eefc;
}
body.postid-1543 .glassy-main.glassy-wide{color:#e8eefc}
body.postid-1543 .glassy-wide-title{color:#ffffff}
html[data-theme="light"] body.postid-1543 .glassy-wide-title{color:#ffffff;text-shadow:0 2px 18px rgba(120,170,255,.5)}
html[data-theme="dark"] body.postid-1543 .glassy-wide-title{color:#ffffff;text-shadow:0 2px 18px rgba(120,170,255,.5)}

/* ===== 全站统一：独立页(1307 超链接 / 365 游戏版 / 1717 忆旧集) =====
   结构：页面标题(用 page.php 输出) + 站点入口大卡(6张小卡自适应多列) +
   指定分类 flypost/games·memory / 分类链接小卡(超链接)。
   「大卡」= 完整宽度的容器(navcard / 每篇 flypost 文章)；「小卡」在大卡内自适应排列。 */
body.page-id-1307 .glassy-single,
body.page-id-365 .glassy-single,
body.page-id-1717 .glassy-single{
  max-width:none;width:100%;
  background:transparent;border:0;box-shadow:none;
  padding:0;
}
/* 保留页面标题（作为该页大标题，避免与卡片导航重复的要职已由结构满足） */
body.page-id-1307 .glassy-single-title,
body.page-id-365 .glassy-single-title,
body.page-id-1717 .glassy-single-title{
  font-size:clamp(1.6rem,4vw,2.2rem);
  margin:0 0 1.1rem;
  line-height:1.3;
}
html[data-theme="light"] body.page-id-1307 .glassy-single-title,
html[data-theme="light"] body.page-id-365 .glassy-single-title,
html[data-theme="light"] body.page-id-1717 .glassy-single-title{color:#2c3240}
html[data-theme="dark"] body.page-id-1307 .glassy-single-title,
html[data-theme="dark"] body.page-id-365 .glassy-single-title,
html[data-theme="dark"] body.page-id-1717 .glassy-single-title{color:#f0f3f5}

body.page-id-1307 .glassy-main,
body.page-id-365 .glassy-main,
body.page-id-1717 .glassy-main{max-width:1080px}

/* 站点入口大卡 */
.unify-navcard{
  border-radius:1.4rem;
  border:1px solid;
  backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px);
  padding:1.1rem 1.2rem 1.2rem;
  margin-bottom:1.8rem;
  box-shadow:0 10px 28px rgba(0,0,0,.05);
}
html[data-theme="light"] .unify-navcard{background:rgba(255,255,255,.62);border-color:rgba(159,137,104,.16)}
html[data-theme="dark"] .unify-navcard{background:rgba(32,36,46,.6);border-color:rgba(255,255,255,.08);box-shadow:0 10px 28px rgba(0,0,0,.3)}
.unify-nav-title{
  margin:0 0 .7rem;
  font-size:.92rem;
  font-weight:700;
  letter-spacing:.4px;
  opacity:.85;
}
html[data-theme="light"] .unify-nav-title{color:#2c3240}
html[data-theme="dark"] .unify-nav-title{color:#cbd5d9}

/* 站点入口标题（已剥离，不用隐藏；保留样式定义以防万一） */
.unify-nav-title{display:none}

/* 小卡网格：整行多列自适应（每行铺满不留边隙）
   手机(<560px)统一 2 列（6 个入口 → 3 行 ≈ 半屏），桌面 100% 缩放（≥1280px）一行 4 个，
   窄一点的桌面一行 3 个，平板 2 列。 */
.unify-grid{
  display:grid;
  gap:.7rem;
  grid-template-columns:repeat(2,1fr);
}
@media (min-width:560px){ .unify-grid{grid-template-columns:repeat(2,1fr)} }
@media (min-width:940px){ .unify-grid{grid-template-columns:repeat(3,1fr)} }
@media (min-width:1280px){ .unify-grid{grid-template-columns:repeat(4,1fr)} }
.unify-tile{
  display:flex;align-items:center;gap:.7rem;
  text-decoration:none;color:inherit;
  border:1px solid;
  border-radius:1.1rem;
  padding:.7rem .9rem;
  transition:transform .18s ease,box-shadow .18s ease,background .18s ease;
  min-width:0;
}
html[data-theme="light"] .unify-tile{background:rgba(255,255,255,.72);border-color:rgba(159,137,104,.16);box-shadow:0 4px 14px rgba(0,0,0,.04)}
html[data-theme="dark"] .unify-tile{background:rgba(40,45,57,.68);border-color:rgba(255,255,255,.07);box-shadow:0 4px 14px rgba(0,0,0,.25)}
html[data-theme="light"] .unify-tile:hover{background:rgba(255,255,255,.95);transform:translateY(-2px);box-shadow:0 10px 22px rgba(94,72,34,.12)}
html[data-theme="dark"] .unify-tile:hover{background:rgba(52,58,72,.92);transform:translateY(-2px)}
.unify-tile .ut-icon{font-size:1.35rem;flex-shrink:0;width:1.8rem;text-align:center}
.unify-tile .ut-text{display:flex;flex-direction:column;min-width:0}
.unify-tile .ut-title{font-size:.98rem;font-weight:700;line-height:1.3;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}
html[data-theme="light"] .unify-tile .ut-title{color:#2c3240}
html[data-theme="dark"] .unify-tile .ut-title{color:#f0f3f5}
.unify-tile .ut-sub{font-size:.78rem;line-height:1.4;opacity:.75;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}
html[data-theme="light"] .unify-tile .ut-sub{color:#4a5666}
html[data-theme="dark"] .unify-tile .ut-sub{color:#aebcc6}

/* 超链接分类标题 */
.unify-cat{
  margin:1.7rem 0 .7rem;
  font-size:1.2rem;
  font-weight:700;
  letter-spacing:.3px;
}
html[data-theme="light"] .unify-cat{color:#2c3240}
html[data-theme="dark"] .unify-cat{color:#f0f3f5}

/* flypost 大卡：每篇文章全宽 */
.unify-flypost{width:100%}
.unify-flypost .flsy-wrapper{width:100%}
.unify-flypost .flsy-card{width:100%}

/* 极窄屏小卡更紧凑，标题/副标题允许换行（避免截断、防出框），副标题保持显示 */
@media (max-width:640px){
  .unify-navcard{padding:.9rem .8rem 1rem}
  .unify-grid{gap:.5rem}
  .unify-tile{padding:.5rem .6rem;gap:.5rem;border-radius:.9rem}
  .unify-tile .ut-icon{font-size:1.05rem;width:1.35rem}
  .unify-tile .ut-title{font-size:.82rem;white-space:normal;overflow-wrap:anywhere;overflow:visible;text-overflow:clip}
  .unify-tile .ut-sub{display:block;font-size:.7rem;white-space:normal;overflow-wrap:anywhere;overflow:visible;text-overflow:clip}
}
