@charset "utf-8";

:root {
  --pink: #FF8FBF;
  --pink-d: #E0488A;
  --pink-l: #FFD6E7;
  --pink-bg: #FFEAF3;
  --blue: #2B6BC9;
  --blue-d: #3F72C0;
  --blue-l: #BBD8FA;
  --yellow: #FFD84D;
  --yellow-l: #FFF4C2;
  --cyan: #6FD8C8;
  --cyan-l: #C9F3EC;
  --ink: #3A3340;
  --soft: #6B6273;
  --faint: #A79CAD;
  --line: #F4D3E2;
  --card: #FFFFFF;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; overflow-x: hidden; max-width: 100%; }
body { overflow-x: hidden; }

body {
  background-color: #FFF8FC;
  background-image: url("stars.svg");
  background-size: 140px 140px;
  color: var(--ink);
  font-family: "YouYuan", "幼圆", "Microsoft YaHei", sans-serif;
  font-size: 14px;
  line-height: 1.95;
  -webkit-font-smoothing: antialiased;
  animation: fade .45s ease-out both;
}

@keyframes fade { from { opacity: 0 } to { opacity: 1 } }

a { color: var(--blue); text-decoration: none; border-bottom: 1px solid #C4D6F0; }
a:hover { background: var(--pink-bg); color: var(--pink-d); border-bottom-color: var(--pink); }

.site { overflow-x: hidden; max-width: 920px; margin: 16px auto 36px; padding: 0 12px; }

/* ============ 横幅 ============ */
.banner {
  position: relative;
  background: linear-gradient(180deg, #FFFFFF 0%, #FFFAFD 55%, #F5FBFF 100%);
  border: 3px double var(--pink-l);
  border-radius: 12px;
  padding: 16px 18px 11px;
  text-align: center;
  box-shadow: 0 3px 0 rgba(255,182,213,.45), inset 0 0 0 4px #FFFFFF;
}
.banner-title {
  font-family: "YouYuan", "幼圆", "Microsoft YaHei", sans-serif;
  font-size: 32px; letter-spacing: 3px; line-height: 1.45;
  font-weight: normal; color: var(--pink-d);
  text-shadow: 1px 1px 0 #fff, 2px 2px 0 var(--pink-l), 3px 3px 0 #fff, 0 0 14px rgba(255,143,191,.35);
}
.banner-title .bstar { color: var(--pink); font-size: 26px; vertical-align: 3px; }
.banner-sub {
  font-family: "YouYuan", "幼圆", sans-serif;
  font-size: 14px; letter-spacing: 2px; color: #A98BB0; margin-top: 2px;
}
.banner-sub .dot { color: var(--cyan); margin: 0 5px; }
.banner-date {
  font-family: "Microsoft YaHei", sans-serif;
  font-size: 11px; color: var(--faint); letter-spacing: 1px;
  margin-top: 7px; padding-top: 7px; border-top: 1px dotted var(--pink-l);
}
.sticker { position: absolute; right: 10px; top: 8px; width: 54px; height: 54px; transform: rotate(9deg); opacity: .9; }
@media (max-width: 720px) { .sticker { width: 40px; height: 40px; } }

/* ============ 跑马灯 ============ */
.ticker {
  overflow: hidden; border: 1px solid var(--line); background: #FFFAF1;
  border-radius: 8px; margin-top: 10px; position: relative;
}
.ticker::before {
  content: "公告"; position: absolute; left: 0; top: 0; bottom: 0; width: 42px;
  background: linear-gradient(180deg,#FFE58A,#FFD84D);
  border-right: 1px solid #E9C74A; font-size: 11px; letter-spacing: 1px;
  display: flex; align-items: center; justify-content: center; z-index: 2;
  font-family: "Courier New", monospace; color: #8A5B12; border-radius: 8px 0 0 8px;
}
.ticker-inner { display: inline-block; white-space: nowrap; font-size: 12px; color: #8A6A2A; animation: slide 45s linear infinite; }
.ticker-inner span { display: inline-block; padding: 5px 0 5px 48px; }
@keyframes slide { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ============ 导航 ============ */
.mainnav {
  font-family: "Microsoft YaHei", sans-serif;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center;
  background: var(--pink-bg); border: 1px dashed var(--pink); border-radius: 9px;
  padding: 7px 10px; margin-top: 10px; font-size: 13px;
}
.mainnav a { color: #B03E6E; padding: 2px 9px; border: 0; border-radius: 5px; letter-spacing: 1px; }
.mainnav a:hover { background: var(--pink); color: #fff; }
.mainnav a.here { background: var(--pink); color: #FFFFFF; box-shadow: inset 0 -1px 0 rgba(0,0,0,.12); }
.mainnav .sep { color: #FFC2DC; font-size: 10px; margin: 0 2px; }

/* ============ 三栏 ============ */
.grid { display: grid; grid-template-columns: 190px minmax(0,1fr); gap: 12px; margin-top: 12px; align-items: start; }
.grid.three { grid-template-columns: 190px minmax(0,1fr) 178px; }
.col { min-width: 0; overflow: hidden; }

/* 左边那栏跟着滚，右边内容再长也不会只剩一半空白 */
@media (min-width: 821px) {
  .grid > .col:first-child { position: sticky; top: 10px; align-self: start; }
}
@media (max-width: 820px) {
  .grid, .grid.three { grid-template-columns: 1fr; }
}

/* ============ 盒子 ============ */
.box {
  background: var(--card); border: 1px solid var(--line); border-radius: 10px;
  padding: 10px 12px 12px; margin-bottom: 12px; box-shadow: 0 2px 0 #FBEDF4;
}
.box-title {
  background: linear-gradient(90deg, #FFC9DE 0%, #FFDCC8 55%, #FFEEC2 100%);
  border: 1px solid #FFB6D5; border-radius: 8px; color: #A8346B;
  font-family: "YouYuan", "幼圆", "Microsoft YaHei", sans-serif;
  font-size: 12.5px; letter-spacing: 2px; padding: 4px 9px; margin: 0 0 10px;
}
.box-title::before { content: "♪"; color: var(--pink-d); margin-right: 5px; }
.box-title .r { float: right; letter-spacing: 0; color: #C77BA6; }

/* ============ 首页入口卡 ============ */
.entries { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
@media (max-width: 560px) { .entries { grid-template-columns: 1fr; } }

.entry {
  display: block; text-decoration: none; border: 1px solid var(--line);
  border-radius: 10px; padding: 12px 13px; background: #FFFFFF;
  box-shadow: 0 2px 0 #FBEDF4; transition: .12s;
}
.entry:hover { background: #FFF6FA; border-color: var(--pink); box-shadow: 0 2px 0 #FFD6E7; }
.entry .ico { font-size: 20px; color: var(--pink); line-height: 1; }
.entry .ttl { font-family: "YouYuan","幼圆",sans-serif; font-size: 16px; color: var(--pink-d); margin-top: 4px; letter-spacing: 1px; }
.entry .dsc { font-family: "Microsoft YaHei", sans-serif; font-size: 11.5px; color: var(--faint); line-height: 1.7; margin-top: 2px; }
.entry .num { float: right; font-family: "Courier New", monospace; font-size: 11px; color: #C9A7B8; }
.entry.locked { background: #FFFBF5; }

/* ============ 关于我 ============ */
.about-ava { text-align: center; background: #FFF8FC; border: 1px dashed var(--pink-l); border-radius: 8px; padding: 9px 4px 8px; line-height: 1.5; }
.about-ava .st { color: var(--pink); font-size: 15px; letter-spacing: 6px; }
.about-ava .fc { color: #7B5CB8; font-size: 15px; font-family: "Microsoft YaHei", sans-serif; margin-top: 2px; }
.about-text { font-family: "Microsoft YaHei", sans-serif; font-size: 11.5px; line-height: 1.85; color: var(--soft); margin-top: 9px; }
.about-text b { color: var(--pink-d); font-weight: normal; }

/* ============ 计数器 ============ */
.counter {
  background: linear-gradient(180deg, #FFF3F9, #FFDFED);
  color: #D6407E; font-family: "Comic Sans MS", "Courier New", monospace;
  font-size: 17px; letter-spacing: 5px; text-align: center;
  padding: 5px 0 6px; border: 2px solid #FFA8CC; border-radius: 8px;
  text-shadow: 0 1px 0 #fff; box-shadow: inset 0 1px 3px rgba(255,168,204,.35);
}
.tiny { font-family: "Microsoft YaHei", sans-serif; font-size: 11px; color: var(--faint); text-align: center; margin-top: 6px; letter-spacing: .3px; }

/* ============ 播放器 ============ */
.player { border: 1px solid var(--line); background: #FFFBFD; border-radius: 7px; padding: 7px 8px; }
.player .song { font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.player .bar { height: 6px; background: #F2E7EE; margin: 6px 0 5px; border: 1px solid var(--pink-l); border-radius: 3px; overflow: hidden; }
.player .bar i { display: block; height: 100%; width: 34%; background: linear-gradient(90deg,#FFB6D5,#BBD8FA); }
.player .ctrl { font-size: 11px; color: var(--faint); letter-spacing: 3px; }

/* ============ 公告条 ============ */
.notice {
  background: #FFFCEC; border: 1px solid #FFE9A0; border-left: 4px solid var(--yellow);
  border-radius: 7px; padding: 8px 12px; margin-bottom: 14px;
  font-size: 13px; color: #7A6A3A;
  clear: both;
}
.notice b { color: #B0762A; font-weight: normal; font-family: "Courier New", monospace; font-size: 12px; }

/* ============ 表格 ============ */
table.updates { width: 100%; border-collapse: collapse; font-size: 13px; }
table.updates td { padding: 5px 2px; border-bottom: 1px dotted var(--line); vertical-align: top; }
table.updates tr:last-child td { border-bottom: 0; }
table.updates td.d { width: 80px; color: #B98AA9; font-family: "Courier New", monospace; font-size: 11px; white-space: nowrap; }
table.updates td.n { color: #C4A8B6; text-align: right; width: 42px; font-size: 11px; }

table.dir { width: 100%; border-collapse: collapse; font-size: 13px; }
table.dir td { padding: 6px; border-bottom: 1px dotted var(--line); vertical-align: top; }
table.dir tr:hover td { background: #FFF6FA; }
table.dir td.w { width: 78px; color: #B98AA9; font-family: "Courier New", monospace; font-size: 11px; white-space: nowrap; }
table.dir .sub2 { display: block; font-family: "Microsoft YaHei", sans-serif; color: var(--faint); font-size: 11px; line-height: 1.65; margin-top: 1px; }

/* ============ 纸 ============ */
.paper {
  position: relative; isolation: isolate;
  background-color: #FBF3DF;
  background-image: repeating-linear-gradient(180deg, transparent 0 27px, #D7E4EE 27px 28px);
  border: 1px solid #E0D4B8; border-radius: 7px;
  padding: 28px 18px 14px 24px;
  font-family: "华文行楷", "STXingkai", "楷体", cursive;
  font-size: 17px; line-height: 28px; color: #4A4438;
  box-shadow: 0 2px 8px -4px rgba(0,0,0,.2); margin-bottom: 14px;
  transform: rotate(-.35deg);
}
.paper::before {
  content: ""; position: absolute; inset: 0;
  background-image: url("img/paper-s.jpg");
  background-size: cover; background-position: center; background-repeat: no-repeat;
  opacity: .14; mix-blend-mode: multiply; pointer-events: none;
  border-radius: 7px; z-index: -1;
}
.paper::after {
  content: ""; position: absolute; inset: 0; border-radius: 7px;
  pointer-events: none; box-shadow: inset 0 0 24px rgba(140,120,80,.16);
}
.paper:nth-of-type(even) { transform: rotate(.4deg); }
.paper .stamp {
  position: absolute; right: 10px; top: 5px;
  font-family: "Microsoft YaHei", sans-serif; font-size: 10px; color: #C0B49A; letter-spacing: 1px;
}
.paper .songtitle { font-size: 18px; color: #A8346B; margin-bottom: 2px; }
.paper .cross { text-decoration: line-through; text-decoration-color: #D04070; color: #A89880; }
.paper .small { font-family: "Microsoft YaHei", sans-serif; font-size: 10.5px; color: #A79C86; line-height: 1.7; }

.playbtn {
  margin-top: 3px; padding: 3px 12px; border: 1px solid var(--pink);
  border-radius: 14px; background: #FFF; color: var(--pink-d);
  font-family: "YouYuan", "幼圆", sans-serif; font-size: 12px;
  letter-spacing: 1px; cursor: pointer;
}
.playbtn:hover { background: var(--pink-bg); }
.playbtn:active { transform: translateY(1px); }
.paper .stamp, .paper .songtitle, .paper .small, .paper .cross { position: relative; z-index: 1; }

/* ============ 记分本 ============ */
.scorebook { font-family: "华文行楷", "STXingkai", "楷体", cursive; font-size: 18px; line-height: 34px; }
.scorebook .line { display: flex; align-items: baseline; border-bottom: 1px dotted #C8BCA0; padding: 1px 0; }
.scorebook .line a { border: 0; color: #3A3340; }
.scorebook .line a:hover { background: #FFF0B8; }
.scorebook .line .dots { flex: 1; border-bottom: 1px dotted #BFB49A; margin: 0 8px 5px; }
.scorebook .line .val { font-family: "Courier New", monospace; font-size: 15px; color: #8A5B12; white-space: nowrap; }
.scorebook .line .del { text-decoration: line-through; text-decoration-color: #D04070; color: #A89880; }
.scorebook .foot-note { font-family: "Microsoft YaHei", sans-serif; font-size: 11px; color: #A79C86; margin-top: 10px; }

/* ============ 奖状 ============ */
.award {
  position: relative; background: #FFFDF2; border: 6px double #D9483B;
  border-radius: 3px; padding: 20px 18px; text-align: center;
  box-shadow: 0 4px 14px -8px rgba(0,0,0,.3);
  transform: rotate(-.5deg); margin-bottom: 14px;
}
.award .hd { font-family: "YouYuan","幼圆",sans-serif; font-size: 22px; color: #C0392B; letter-spacing: 6px; }
.award .stars { color: #D9483B; letter-spacing: 8px; font-size: 13px; margin: 3px 0 10px; }
.award .body { font-family: "Microsoft YaHei", sans-serif; font-size: 12.5px; color: #5A5048; line-height: 2; text-align: left; text-indent: 2em; }
.award .name { font-family: "华文行楷","STXingkai",cursive; font-size: 19px; color: #3A3340; }
.award .sign { display: flex; justify-content: space-between; font-family: "Microsoft YaHei",sans-serif; font-size: 10.5px; color: #8A8078; margin-top: 14px; }

/* ============ 号码布 ============ */
.bib {
  background: #FFFFFF; border: 1px dashed #C8BCA0; border-radius: 4px;
  padding: 14px; text-align: center; transform: rotate(.6deg); margin-bottom: 14px;
}
.bib .no { font-family: Impact, "Arial Black", sans-serif; font-size: 46px; letter-spacing: 6px; color: #2B2B2B; line-height: 1.1; }
.bib .meta { font-family: "Microsoft YaHei",sans-serif; font-size: 10.5px; color: #8A8078; letter-spacing: 1px; }
.bib .pins { display: flex; justify-content: space-between; margin-bottom: 4px; }
.bib .pins span { width: 8px; height: 8px; border-radius: 50%; background: #E8E2D2; border: 1px solid #C8BCA0; }

/* ============ 门票 ============ */
.ticket {
  display: flex; background: #FFFDF4; border: 1px solid #D8CDB4; border-radius: 6px;
  overflow: hidden; margin-bottom: 14px; transform: rotate(-.4deg);
  box-shadow: 0 3px 10px -7px rgba(0,0,0,.3);
}
.ticket .main { flex: 1; padding: 12px 14px; }
.ticket .stub {
  width: 84px; border-left: 2px dashed #D8CDB4; padding: 12px 8px;
  text-align: center; background: #FFF8E8;
  display: flex; flex-direction: column; justify-content: center; gap: 4px;
}
.ticket .ttl { font-family: "YouYuan","幼圆",sans-serif; font-size: 16px; color: #8A5B12; letter-spacing: 2px; }
.ticket .sub2 { font-family: "Microsoft YaHei",sans-serif; font-size: 10.5px; color: #A79C86; margin-top: 3px; }
.ticket .code { font-family: "Courier New", monospace; font-size: 9px; color: #B0A48C; letter-spacing: 1px; }
.ticket .stub .n { font-family: Impact, sans-serif; font-size: 22px; color: #8A5B12; }

/* ============ 体检表 ============ */
.health { background: #FFFFFF; border: 1px solid #D8CDB4; border-radius: 4px; padding: 12px 14px; margin-bottom: 14px; }
.health h4 { margin: 0 0 8px; font-family: "YouYuan","幼圆",sans-serif; font-size: 14px; color: #5A5048; font-weight: normal; letter-spacing: 2px; }
.health table { width: 100%; border-collapse: collapse; font-family: "Microsoft YaHei",sans-serif; font-size: 11.5px; }
.health td { border: 1px solid #E4DCC8; padding: 4px 6px; }
.health td.k { width: 82px; color: #8A8078; background: #FCF8EC; }
.health .fix { font-family: "华文行楷","STXingkai",cursive; color: #3A3340; font-size: 15px; }
.health .red { color: #D9483B; font-family: "华文行楷",cursive; }

/* ============ 图片位 ============ */
.figure { margin-bottom: 14px; text-align: center; }
.figure img { max-width: 100%; border: 1px solid #E0D4B8; border-radius: 5px; box-shadow: 0 4px 12px -7px rgba(0,0,0,.35); }
.figure .cap { font-family: "Microsoft YaHei",sans-serif; font-size: 10.5px; color: #A79C86; margin-top: 6px; }
.ph {
  border: 2px dashed #F0C9DC; border-radius: 8px; background: #FFFAFC;
  padding: 28px 12px; text-align: center; color: #C9A7B8;
  font-family: "Microsoft YaHei",sans-serif; font-size: 11.5px; margin-bottom: 14px;
}
.ph b { display: block; font-family: "YouYuan","幼圆",sans-serif; font-size: 13px; color: #B98AA9; margin-bottom: 3px; }

/* ============ 密码锁 ============ */
.lockbox {
  background: #FFFFFF; border: 2px dashed var(--pink-l); border-radius: 12px;
  padding: 26px 20px; text-align: center; margin-bottom: 14px;
}
.lockbox .lk { font-size: 30px; color: var(--pink); line-height: 1; }
.lockbox .ttl { font-family: "YouYuan","幼圆",sans-serif; font-size: 17px; color: var(--pink-d); margin-top: 8px; letter-spacing: 2px; }
.lockbox .hint { font-family: "Microsoft YaHei",sans-serif; font-size: 12px; color: var(--faint); margin: 8px 0 14px; line-height: 1.9; }
.lockbox input {
  width: 132px; padding: 7px 10px; border: 2px solid var(--pink-l); border-radius: 8px;
  font-family: "Courier New", monospace; font-size: 17px; letter-spacing: 8px; text-align: center;
  color: var(--pink-d); background: #FFFAFC; outline: none;
}
.lockbox input:focus { border-color: var(--pink); }
.lockbox button {
  margin-left: 8px; padding: 8px 18px; border: 0; border-radius: 8px;
  background: linear-gradient(180deg,#FFA8CC,#FF8FBF); color: #fff;
  font-family: "YouYuan","幼圆",sans-serif; font-size: 13px; letter-spacing: 2px;
  cursor: pointer; box-shadow: 0 2px 0 #E0488A;
}
.lockbox button:active { transform: translateY(2px); box-shadow: none; }
.lockbox .msg { font-family: "Microsoft YaHei",sans-serif; font-size: 12px; color: #D9483B; margin-top: 12px; min-height: 1.4em; }

/* ============ 小游戏 ============ */
.gamebox { background: #FFFBF5; border: 1px solid var(--line); border-radius: 10px; padding: 14px; margin-bottom: 14px; }
.gamebox h4 { margin: 0 0 4px; font-family: "YouYuan","幼圆",sans-serif; font-size: 15px; color: var(--pink-d); font-weight: normal; letter-spacing: 2px; }
.gamebox .gsub { font-family: "Microsoft YaHei",sans-serif; font-size: 11px; color: var(--faint); margin-bottom: 10px; }
.gbtn {
  padding: 7px 16px; border: 0; border-radius: 8px;
  background: linear-gradient(180deg,#BBD8FA,#8FBBEF); color: #24466E;
  font-family: "YouYuan","幼圆",sans-serif; font-size: 13px; letter-spacing: 1px;
  cursor: pointer; box-shadow: 0 2px 0 #6B9BD5;
}
.gbtn:active { transform: translateY(2px); box-shadow: none; }
.gbtn.pink { background: linear-gradient(180deg,#FFA8CC,#FF8FBF); color: #fff; box-shadow: 0 2px 0 #E0488A; }
.ginput {
  width: 74px; padding: 6px 8px; border: 2px solid var(--blue-l); border-radius: 7px;
  font-family: "Courier New", monospace; font-size: 15px; text-align: center; color: #24466E;
  background: #fff; outline: none;
}
.gout { font-family: "Microsoft YaHei",sans-serif; font-size: 12.5px; color: var(--soft); margin-top: 10px; min-height: 2.6em; line-height: 1.8; }

.holes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; max-width: 300px; }
.hole {
  height: 64px; border-radius: 10px; background: #F6E9EF; border: 1px solid var(--pink-l);
  display: flex; align-items: center; justify-content: center; font-size: 22px;
  cursor: pointer; user-select: none;
}
.hole.up { background: linear-gradient(180deg,#FFF4C2,#FFD84D); border-color: #E0B800; }
.hole.gone { background: #FFF; border-style: dashed; cursor: default; color: #E0D8D0; }

/* ============ 正文 ============ */
.crumb { clear: both; overflow: hidden; max-height: 18px; }
.page-title { clear: both; font-family: "YouYuan","幼圆",sans-serif; font-size: 24px; letter-spacing: 2px; margin: 2px 0 3px; font-weight: normal; color: var(--pink-d); text-shadow: 1px 1px 0 #fff; }
.page-sub { font-family: "Microsoft YaHei",sans-serif; color: var(--faint); font-size: 12px; margin: 0 0 12px; letter-spacing: .5px; }
.crumb { font-family: "Microsoft YaHei",sans-serif; font-size: 11px; color: var(--faint); margin-bottom: 10px; letter-spacing: .5px; }
.crumb .sep { margin: 0 6px; color: #E3BCD0; }
.text { font-size: 14px; line-height: 2; }
.text p { margin: 0 0 1em; }
.related { margin-top: 12px; padding: 8px 11px; background: #FFF8FC; border: 1px dashed var(--pink-l); border-radius: 7px; font-family: "Microsoft YaHei",sans-serif; font-size: 12px; color: var(--faint); }

/* ============ 日记 ============ */
.diary { margin-bottom: 12px; }
.diary .d { font-family: "Courier New", monospace; font-size: 11px; color: #B98AA9; letter-spacing: 1px; }
.diary .t { font-family: "Microsoft YaHei",sans-serif; font-size: 14px; color: var(--soft); line-height: 2; margin-top: 2px; }

/* ============ 小票 ============ */
.receipt-stage { padding: 8px 0 14px; }
.receipt {
  width: 286px; margin: 0 auto; background: #FFFEFB; padding: 24px 20px 20px;
  font-family: "Courier New", "等线", monospace; font-size: 12px; line-height: 1.8; color: #33312C;
  box-shadow: 0 2px 0 #F2E7EE, 0 12px 22px -16px rgba(0,0,0,.4);
  transform: rotate(-.7deg); border-top: 3px dashed #E0DBCC; border-bottom: 3px dashed #E0DBCC;
}
.receipt .shop { text-align: center; font-size: 14px; letter-spacing: 3px; }
.receipt .meta { text-align: center; color: #7A7568; font-size: 11px; }
.receipt hr { border: 0; border-top: 1px dashed #CFC9B8; margin: 10px 0; }
.receipt .row { display: flex; justify-content: space-between; gap: 10px; }
.receipt .row .n { flex: 1; white-space: nowrap; overflow: hidden; }
.receipt .big { font-size: 13px; letter-spacing: 1px; }
.receipt .hand { font-family: "华文行楷","STXingkai","楷体",cursive; font-size: 16px; color: #56514A; text-align: right; margin-top: 12px; transform: rotate(-2.4deg); letter-spacing: 1px; }

/* ============ 字体页 ============ */
.font-row { display: flex; align-items: baseline; gap: 14px; padding: 10px 2px; border-bottom: 1px dotted var(--line); }
.font-row .label { flex: 0 0 116px; white-space: nowrap; font-family: "Courier New", monospace; font-size: 11px; color: #B98AA9; }
.font-row .sample { font-size: 22px; line-height: 1.45; }

/* ============ 画 ============ */
.artgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 660px) { .artgrid { grid-template-columns: 1fr; } }
.art-card { background: #FFFEF8; border: 1px solid #E8DEC6; border-radius: 7px; padding: 8px 8px 6px; box-shadow: 0 2px 8px -5px rgba(0,0,0,.28); transform: rotate(-.6deg); }
.art-card:nth-child(even) { transform: rotate(.7deg); }
.art-card svg { display: block; width: 100%; height: auto; }
.art-cap { font-family: "Microsoft YaHei", sans-serif; font-size: 10.5px; color: #A79C86; line-height: 1.65; border-top: 1px dashed #E8DEC6; margin-top: 6px; padding-top: 5px; }

/* ============ 日历 ============ */
.cal { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; max-width: 420px; }
.cal .h { text-align: center; font-family: "Microsoft YaHei", sans-serif; font-size: 10.5px; color: var(--faint); padding: 2px 0; }
.cal .d {
  text-align: center; padding: 8px 0; border-radius: 6px;
  font-family: "Courier New", monospace; font-size: 13px;
  background: #FFF; border: 1px solid var(--line); color: #C0B4BE;
}
.cal .d.has { background: #FFF4C2; border-color: #E9C74A; color: #8A5B12; cursor: pointer; font-weight: bold; }
.cal .d.has:hover { background: #FFD84D; }
.cal .d.sel { background: var(--pink); border-color: var(--pink-d); color: #FFF; }
.cal .d.blank { background: transparent; border-color: transparent; }
.calout {
  margin-top: 14px; padding: 12px 14px; min-height: 88px;
  background: #FFFDF6; border: 1px dashed #E9C74A; border-radius: 8px;
  font-family: "Microsoft YaHei", sans-serif; font-size: 13px; color: var(--soft); line-height: 1.95;
}
.calout .cd { font-family: "Courier New", monospace; font-size: 11px; color: #B0762A; display: block; margin-bottom: 4px; }

/* ============ 拼图 ============ */
.puzzle { display: grid; grid-template-columns: repeat(3, 1fr); gap: 3px; width: 258px; }
.puzzle .pc {
  aspect-ratio: 1 / 1; background-image: url("img/tree-s.jpg");
  background-size: 300% 300%; border-radius: 3px; cursor: pointer;
  box-shadow: 0 1px 3px -1px rgba(0,0,0,.25);
}
.puzzle .pc.blank { background-image: none; background: #F6E9EF; cursor: default; box-shadow: none; }
.puzzle .pc:active { transform: scale(.97); }

/* ============ 作文纸 ============ */
.essay {
  position: relative;
  background-color: #FFFDF4;
  background-image:
    repeating-linear-gradient(0deg, transparent 0 27px, #E9DFC6 27px 28px),
    repeating-linear-gradient(90deg, transparent 0 27px, #F1EADA 27px 28px);
  border: 1px solid #E0D4B8;
  border-radius: 5px;
  padding: 14px 16px;
  font-family: "KaiTi", "楷体", "STKaiti", serif;
  font-size: 17px;
  line-height: 28px;
  color: #2A3A5A;
  margin-bottom: 14px;
  transform: rotate(-.3deg);
  box-shadow: 0 3px 10px -7px rgba(0,0,0,.3);
}
.essay .title { text-align: center; font-size: 18px; color: #2A3A5A; margin-bottom: 8px; letter-spacing: 2px; }
.essay .red { color: #D9483B; font-family: "华文行楷", "STXingkai", cursive; }
.essay .teacher {
  color: #D9483B; font-family: "华文行楷", "STXingkai", cursive;
  font-size: 19px; text-align: right; margin-top: 10px; line-height: 1.6;
}
.essay .strike { text-decoration: line-through; text-decoration-color: #D9483B; color: #7A8AA8; }

/* ============ 透明文字 ============ */
.secret {
  color: #FFF8FC; background: #FFF8FC;
  cursor: text; padding: 1px 3px; border-radius: 2px;
}
.secret::selection { background: #3390FD; color: #FFFFFF; }
.secret::-moz-selection { background: #3390FD; color: #FFFFFF; }

/* ============ 角落纸条 ============ */
.slip {
  position: fixed; right: -22px; bottom: -18px; z-index: 99;
  width: 66px; height: 54px; padding: 6px 8px;
  background: linear-gradient(180deg, #FFF6C8, #FFE58A);
  border: 1px solid #E9C74A; border-radius: 4px;
  box-shadow: -3px -3px 10px -5px rgba(0,0,0,.45);
  transform: rotate(-11deg); cursor: pointer;
  font-family: "Microsoft YaHei", sans-serif; font-size: 9px; color: #8A5B12;
  line-height: 1.4; overflow: hidden; user-select: none;
  transition: right .26s ease, bottom .26s ease, transform .26s ease;
}
.slip:hover { right: -12px; bottom: -8px; transform: rotate(-8deg); }
.slip.open {
  right: 16px; bottom: 16px; width: 214px; height: auto;
  padding: 13px 14px; transform: none; border-radius: 4px;
  font-family: "华文行楷", "STXingkai", cursive; color: #5A4A16;
  font-size: 14.5px; line-height: 1.9; cursor: pointer;
  box-shadow: 0 8px 20px -8px rgba(0,0,0,.45);
}
.slip.open .hint { display: none; }
.slip .hint { display: block; }
.slip .tips { display: none; }
.slip.open .tips { display: block; margin-top: 8px; font-family: "Microsoft YaHei", sans-serif; font-size: 9.5px; color: #B09A5A; }

.stickynote {
  width: 300px;
  padding: 46px 38px 54px;
  background: url("img/obj-note-s.jpg") center / cover no-repeat;
  transform: rotate(-2.2deg);
  font-family: "华文行楷", "STXingkai", cursive;
  font-size: 14px;
  line-height: 1.95;
  color: #4A4438;
  box-shadow: 0 6px 16px -10px rgba(0,0,0,.45);
  margin-bottom: 8px;
  text-align: center;
}

/* ============ 友链墙 ============ */
.friendwall { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.friendwall img {
  width: 88px; height: 31px; image-rendering: pixelated;
  border: 1px solid #D8CDB4; border-radius: 2px; background: #FFF;
  box-shadow: 0 1px 2px rgba(0,0,0,.08);
}
.friendwall .deadlink {
  width: 88px; height: 31px; display: inline-flex; align-items: center; justify-content: center;
  border: 1px dashed #E0D8C8; border-radius: 2px; color: #C9BFA8;
  font-family: "Courier New", monospace; font-size: 9px; text-align: center; line-height: 1.2;
}

/* ============ 页脚 ============ */
.footer {
  font-family: "Microsoft YaHei", sans-serif; margin-top: 14px; padding: 10px 12px;
  background: var(--card); border: 1px dashed var(--pink-l); border-radius: 9px;
  font-size: 11px; color: var(--faint); display: flex; justify-content: space-between;
  gap: 12px; flex-wrap: wrap; letter-spacing: .4px;
}
.footer .stars { color: var(--pink-l); letter-spacing: 2px; }
