/* 暖木 skin — every screen except 首页, in the 暖阳 (sunny) theme only. The router sets body[data-skin="wood"] on those
   screens (design: design-mockups/sunny/pages-design-v2). Cream and honey wood are the base, sage green the second colour,
   sky blue only a small accent; decorations are cut-out miniatures from /assets/wood/, placed in empty corners. */
html[data-theme="sunny"] body[data-skin="wood"] {
  --bg: #fbf5ea; --bg-2: #f6eadb; --surface: #fffaf2; --surface-2: #fffdf8; --line: #efe2cf; --line-2: #e5d3ba;
  --ink: #3b3a36; --ink-2: #5a5248; --muted: #8a8173;
  --accent: #c98b4e; --accent-ink: #fff; --accent-soft: #f6e6d2; --mark: #b8742f;
  --sage: #7fa680; --sage-deep: #6c9470; --sage-soft: #eef3e8; --butter-soft: #fff4d6; --wood-soft: #f6eadb; --sky-soft: #eaf2fb;
  --sky: #6fa8dc; --good: #7aa57b; --hard: #d9a066; --again: #d9776b;
  --shadow: 0 6px 16px rgba(150, 110, 65, .11), 0 1px 3px rgba(150, 110, 65, .08);
  --study-bg: linear-gradient(180deg, #fdf8ef 0%, #f9efe0 100%);
  --glass: rgba(255, 250, 242, .78); --veil: rgba(150, 110, 65, .12);
  --caramel: linear-gradient(135deg, #dfa86b, #c98b4e);
  --sage-grad: linear-gradient(135deg, #95ba95, #76a078);
  --serif: Georgia, "Times New Roman", "Songti SC", serif;
  background: var(--bg) radial-gradient(120% 60% at 0% 0%, rgba(255, 236, 196, .55), transparent 60%) no-repeat;
  color: var(--ink);
}

/* ---- decorations: one fixed layer behind the content -------------------------------------------- */
html[data-theme="sunny"] body[data-skin="wood"] #view::before {
  content: ""; position: fixed; z-index: -1; pointer-events: none; right: 0; bottom: 0;
  width: clamp(120px, 34vw, 190px); height: clamp(120px, 34vw, 190px);
  background: var(--deco, none) right bottom / contain no-repeat;
}
html[data-theme="sunny"] body[data-skin="wood"].with-tabbar #view::before { bottom: calc(var(--tabbar-h) + env(safe-area-inset-bottom)); }
html[data-theme="sunny"] body[data-skin="wood"] #view[data-screen="study"]::before { --deco: url("/assets/wood/deco-mug-table.webp"); bottom: 70px; }
html[data-theme="sunny"] body[data-skin="wood"] #view[data-screen="word"]::before { --deco: url("/assets/wood/deco-monstera-books.webp"); bottom: 70px; }
html[data-theme="sunny"] body[data-skin="wood"] #view[data-screen="record"]::before { --deco: url("/assets/wood/deco-daisy-vase.webp"); }
html[data-theme="sunny"] body[data-skin="wood"] #view[data-screen="lookup"]::before { --deco: url("/assets/wood/deco-pothos.webp"); }
html[data-theme="sunny"] body[data-skin="wood"] #view[data-screen="dates"]::before { --deco: url("/assets/wood/deco-knit.webp"); }
html[data-theme="sunny"] body[data-skin="wood"] #view[data-screen="books"]::before { --deco: url("/assets/wood/deco-books.webp"); }
html[data-theme="sunny"] body[data-skin="wood"] #view[data-screen="library"]::before { --deco: url("/assets/wood/deco-pothos.webp"); }
html[data-theme="sunny"] body[data-skin="wood"] #view[data-screen="book"]::before { --deco: url("/assets/wood/deco-mug-table.webp"); }
html[data-theme="sunny"] body[data-skin="wood"] #view[data-screen="cet4"]::before { --deco: url("/assets/wood/deco-daisy-vase.webp"); }
html[data-theme="sunny"] body[data-skin="wood"] #view[data-screen="write"]::before { --deco: url("/assets/wood/deco-pothos.webp"); }
html[data-theme="sunny"] body[data-skin="wood"] #view[data-screen="essays"]::before { --deco: url("/assets/wood/deco-daisy-vase.webp"); }
html[data-theme="sunny"] body[data-skin="wood"] #view[data-screen="sentences"]::before { --deco: url("/assets/wood/deco-mug-table.webp"); }
html[data-theme="sunny"] body[data-skin="wood"] #view[data-screen="friends"]::before { --deco: url("/assets/wood/deco-pothos.webp"); }
html[data-theme="sunny"] body[data-skin="wood"] #view[data-screen="reading"]:has(.reading-list)::before { --deco: url("/assets/wood/deco-knit.webp"); right: auto; left: 0; }
html[data-theme="sunny"] body[data-skin="wood"] #view[data-screen="words"]::before { --deco: url("/assets/wood/deco-books.webp"); right: auto; left: 0; }
html[data-theme="sunny"] body[data-skin="wood"] #view[data-screen="learn"]::before { --deco: url("/assets/wood/deco-daisy-vase.webp"); bottom: 76px; }
/* A second, smaller piece at the top right of a few headers. */
html[data-theme="sunny"] body[data-skin="wood"] #view::after {
  content: ""; position: absolute; z-index: -1; pointer-events: none; top: max(4px, env(safe-area-inset-top)); right: 6px;
  width: 96px; height: 76px; background: var(--deco2, none) right top / contain no-repeat;
}
html[data-theme="sunny"] body[data-skin="wood"] #view[data-screen="learn"]::after,
html[data-theme="sunny"] body[data-skin="wood"] #view[data-screen="compose"]::after { --deco2: url("/assets/wood/deco-lamp-frame.webp"); }
html[data-theme="sunny"] body[data-skin="wood"] #view { position: relative; }
/* Screens paint their own opaque background; let the page (and the decorations) show through. */
html[data-theme="sunny"] body[data-skin="wood"] .screen,
html[data-theme="sunny"] body[data-skin="wood"] .study { background: transparent; }
html[data-theme="sunny"] body[data-skin="wood"] .study { background: var(--study-bg); }
html[data-theme="sunny"] body[data-skin="wood"] .study::before { content: ""; position: absolute; right: 0; bottom: 118px; width: clamp(120px, 34vw, 190px); height: clamp(120px, 34vw, 190px);
  background: url("/assets/wood/deco-mug-table.webp") right bottom / contain no-repeat; pointer-events: none; }
html[data-theme="sunny"] body[data-skin="wood"] .study > * { position: relative; }
/* 学新词 is a full-screen layer too: its own corner pieces (daisies bottom right, lamp and frame top right). */
html[data-theme="sunny"] body[data-skin="wood"] .ln { background: var(--study-bg); }
html[data-theme="sunny"] body[data-skin="wood"] .ln::before { content: ""; position: absolute; right: 0; bottom: 92px; width: clamp(96px, 26vw, 150px); height: clamp(120px, 34vw, 190px);
  background: url("/assets/wood/deco-daisy-vase.webp") right bottom / contain no-repeat; pointer-events: none; }
html[data-theme="sunny"] body[data-skin="wood"] .ln::after { content: ""; position: absolute; left: 50%; margin-left: 70px; top: max(2px, env(safe-area-inset-top)); width: 100px; height: 64px;
  background: url("/assets/wood/deco-lamp-frame.webp") center / contain no-repeat; pointer-events: none; }

/* ---- shared components -------------------------------------------------------------------------- */
html[data-theme="sunny"] body[data-skin="wood"] .btn { border-color: var(--line-2); background: var(--surface); color: var(--ink); font-weight: 650; }
html[data-theme="sunny"] body[data-skin="wood"] .btn.primary,
html[data-theme="sunny"] body[data-skin="wood"] .primary-btn { background: var(--caramel); border-color: transparent; color: #fff; box-shadow: 0 6px 14px rgba(201, 139, 78, .28); }
html[data-theme="sunny"] body[data-skin="wood"] .btn.primary:disabled { box-shadow: none; }
html[data-theme="sunny"] body[data-skin="wood"] .card,
html[data-theme="sunny"] body[data-skin="wood"] .list { border-color: var(--line); border-radius: 18px; background: var(--surface); box-shadow: var(--shadow); }
html[data-theme="sunny"] body[data-skin="wood"] .screen-top { background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
html[data-theme="sunny"] body[data-skin="wood"] .screen-top h2 { margin: 0 auto; font-size: 20px; font-weight: 800; letter-spacing: .5px; text-align: center; }
html[data-theme="sunny"] body[data-skin="wood"] .screen-top > .icon-btn:first-child + h2:last-child { padding-right: 44px; }
html[data-theme="sunny"] body[data-skin="wood"] .page-head h1 { font-size: 30px; }
html[data-theme="sunny"] body[data-skin="wood"] .section-title { color: var(--ink); font-size: 16px; font-weight: 800; letter-spacing: .3px; }
html[data-theme="sunny"] body[data-skin="wood"] input[type="search"],
html[data-theme="sunny"] body[data-skin="wood"] .lookup-form input,
html[data-theme="sunny"] body[data-skin="wood"] .lib-search { border-radius: 999px; border-color: var(--line-2); background: var(--surface-2); }
html[data-theme="sunny"] body[data-skin="wood"] .field input,
html[data-theme="sunny"] body[data-skin="wood"] .field textarea,
html[data-theme="sunny"] body[data-skin="wood"] textarea { border-color: var(--line-2); background: var(--surface-2); }
html[data-theme="sunny"] body[data-skin="wood"] .segmented { background: var(--wood-soft); border-color: var(--line); }
html[data-theme="sunny"] body[data-skin="wood"] .segmented button[aria-pressed="true"] { background: var(--sage-grad); color: #fff; box-shadow: 0 3px 8px rgba(118, 160, 120, .3); }
html[data-theme="sunny"] body[data-skin="wood"] .chip-btn[aria-pressed="true"] { border-color: var(--sage); background: var(--sage-soft); color: var(--ink); }
html[data-theme="sunny"] body[data-skin="wood"] .chip { background: var(--wood-soft); border-color: var(--line); color: var(--ink-2); }
html[data-theme="sunny"] body[data-skin="wood"] .chips .chip:nth-child(3n+2) { background: var(--sage-soft); }
html[data-theme="sunny"] body[data-skin="wood"] .chips .chip:nth-child(3n) { background: var(--butter-soft); }
html[data-theme="sunny"] body[data-skin="wood"] .book-bar { background: var(--wood-soft); }
html[data-theme="sunny"] body[data-skin="wood"] .book-bar i { background: var(--caramel); }
html[data-theme="sunny"] body[data-skin="wood"] .sheet-panel { background: var(--surface); }
html[data-theme="sunny"] body[data-skin="wood"] .row .ico { color: var(--accent); }
html[data-theme="sunny"] body[data-skin="wood"] .switch[aria-checked="true"] { background: var(--sage); }
/* Speaker buttons are the sky-blue accent. */
html[data-theme="sunny"] body[data-skin="wood"] [data-act*="speak"] svg.i,
html[data-theme="sunny"] body[data-skin="wood"] [data-speak] svg.i,
html[data-theme="sunny"] body[data-skin="wood"] .study-phon button svg.i,
html[data-theme="sunny"] body[data-skin="wood"] .word-phon button svg.i,
html[data-theme="sunny"] body[data-skin="wood"] .lookup-phon button svg.i { color: var(--sky); }
/* English words in a serif, like the designs. */
html[data-theme="sunny"] body[data-skin="wood"] :is(.study-term, .word-page h1, .lookup-card h2, .history-row b, .term, .bd-word b, .cet4-word b, .wr-item [lang="en"], .cp-en, .reading-heading h1, .nce-heading h1) { font-family: var(--serif); }
html[data-theme="sunny"] body[data-skin="wood"] .tabbar { background: color-mix(in srgb, var(--surface) 94%, transparent); border-top-color: var(--line); }
html[data-theme="sunny"] body[data-skin="wood"] .tabbar a { opacity: .75; color: var(--ink-2); }
html[data-theme="sunny"] body[data-skin="wood"] .tabbar a[aria-current="page"] { opacity: 1; color: var(--accent); background: var(--accent-soft); border-radius: 16px; margin: 3px 6px; height: 46px; }

/* ---- 复习 study ------------------------------------------------------------------------------------ */
html[data-theme="sunny"] body[data-skin="wood"] .study-bar { height: 6px; background: var(--wood-soft); }
html[data-theme="sunny"] body[data-skin="wood"] .study-bar span { background: var(--caramel); border-radius: 6px; }
html[data-theme="sunny"] body[data-skin="wood"] .study-term { font-size: clamp(38px, 10vw, 52px); }
html[data-theme="sunny"] body[data-skin="wood"] .study-check.good { background: var(--good); }
html[data-theme="sunny"] body[data-skin="wood"] .study-phon button { border-color: color-mix(in srgb, var(--sky) 55%, transparent); background: var(--surface-2); color: var(--sky); font-weight: 650; }
html[data-theme="sunny"] body[data-skin="wood"] .study-meanings { font-weight: 700; font-size: 17px; }
html[data-theme="sunny"] body[data-skin="wood"] .study-card { border-color: var(--line); border-radius: 18px; background: var(--surface); box-shadow: var(--shadow); backdrop-filter: none; }
html[data-theme="sunny"] body[data-skin="wood"] .study-card h5 { display: inline-block; padding: 3px 10px; border-radius: 999px; background: var(--butter-soft); color: var(--ink-2); font-size: 13px; font-weight: 700; }
html[data-theme="sunny"] body[data-skin="wood"] .study-card:has(.study-coll) { background: var(--sage-soft); border-color: #dfe9d6; }
html[data-theme="sunny"] body[data-skin="wood"] .study-card:has(.study-coll) h5 { background: #dde9d3; }
html[data-theme="sunny"] body[data-skin="wood"] .study-example p { font-family: var(--serif); font-size: 17px; }
html[data-theme="sunny"] body[data-skin="wood"] .study-example p.zh { font-family: var(--font); font-size: 14px; color: var(--ink-2); }
html[data-theme="sunny"] body[data-skin="wood"] .study-coll li { font-family: var(--serif); font-size: 17px; }
html[data-theme="sunny"] body[data-skin="wood"] .study-coll li::before { color: var(--sage-deep); }
html[data-theme="sunny"] body[data-skin="wood"] :is(.study-example, .study-coll) mark { color: var(--mark); }
html[data-theme="sunny"] body[data-skin="wood"] .study-actions { gap: 10px; }
html[data-theme="sunny"] body[data-skin="wood"] .study-actions button { height: 52px; border: 1.5px solid var(--line-2); border-radius: 999px; background: var(--surface); box-shadow: var(--shadow); }
html[data-theme="sunny"] body[data-skin="wood"] .study-actions button::after { display: none; }
html[data-theme="sunny"] body[data-skin="wood"] .study-actions .next { background: var(--caramel); border-color: transparent; color: #fff; }
html[data-theme="sunny"] body[data-skin="wood"] .study-actions .good { color: var(--sage-deep); border-color: #cfe0c7; }
html[data-theme="sunny"] body[data-skin="wood"] .study-actions .hard { color: var(--mark); border-color: #ecd3b4; }
html[data-theme="sunny"] body[data-skin="wood"] .study-actions .again { color: var(--again); border-color: #f0cbc4; }
html[data-theme="sunny"] body[data-skin="wood"] .study-actions .next.again { background: var(--surface); color: var(--again); border-color: #f0cbc4; }

/* ---- 单词详情 word ---------------------------------------------------------------------------------- */
html[data-theme="sunny"] body[data-skin="wood"] .word-page h1 { font-size: clamp(36px, 9vw, 48px); }
html[data-theme="sunny"] body[data-skin="wood"] .word-phon button { border-color: color-mix(in srgb, var(--sky) 55%, transparent); color: var(--sky); font-weight: 650; }
html[data-theme="sunny"] body[data-skin="wood"] .word-block { padding: 14px 16px; border: 1px solid var(--line); border-radius: 18px; background: var(--surface); box-shadow: var(--shadow); }
html[data-theme="sunny"] body[data-skin="wood"] .word-block:has(ul) { background: var(--sage-soft); border-color: #dfe9d6; }
html[data-theme="sunny"] body[data-skin="wood"] .word-block:has(.list) { padding: 0; border: 0; background: none; box-shadow: none; }
html[data-theme="sunny"] body[data-skin="wood"] .btn.primary svg.i { color: inherit !important; }
html[data-theme="sunny"] body[data-skin="wood"] .word-block h3 { display: inline-block; padding: 3px 10px; border-radius: 999px; background: var(--butter-soft); color: var(--ink-2); font-size: 13px; font-weight: 700; }
html[data-theme="sunny"] body[data-skin="wood"] .word-status { background: var(--butter-soft); }
html[data-theme="sunny"] body[data-skin="wood"] .word-bar { background: color-mix(in srgb, var(--bg) 90%, transparent); }
html[data-theme="sunny"] body[data-skin="wood"] .word-bar .btn.primary { background: var(--sage-grad); box-shadow: 0 6px 14px rgba(118, 160, 120, .28); }
html[data-theme="sunny"] body[data-skin="wood"] .senses .sense { border-color: var(--line); }

/* ---- 记新词 record · 查词 lookup ------------------------------------------------------------------- */
html[data-theme="sunny"] body[data-skin="wood"] .record-box { border-radius: 20px; padding: 18px; }
html[data-theme="sunny"] body[data-skin="wood"] .record-box textarea { min-height: 220px; }
html[data-theme="sunny"] body[data-skin="wood"] .record-actions { border-top: 1px solid var(--line); padding-top: 12px; }
html[data-theme="sunny"] body[data-skin="wood"] .lookup-form { margin-top: 6px; }
html[data-theme="sunny"] body[data-skin="wood"] .lookup-form .btn.primary { padding: 0 22px; }
html[data-theme="sunny"] body[data-skin="wood"] .lookup-form::after { content: none; }
html[data-theme="sunny"] body[data-skin="wood"] .lookup-status:empty { height: 150px; margin: 14px 0; border-radius: 20px; background: url("/assets/wood/banner-lookup.webp") center / cover no-repeat; box-shadow: var(--shadow); }
html[data-theme="sunny"] body[data-skin="wood"] .history-row { margin-top: 10px; padding: 14px 16px; border: 1px solid var(--line); border-radius: 18px; background: var(--surface); box-shadow: var(--shadow); }
html[data-theme="sunny"] body[data-skin="wood"] .history-row + .history-row { border-top: 1px solid var(--line); }
html[data-theme="sunny"] body[data-skin="wood"] .history-row:nth-child(3n+2) { background: var(--sage-soft); }
html[data-theme="sunny"] body[data-skin="wood"] .history-row:nth-child(3n) { background: var(--butter-soft); }
html[data-theme="sunny"] body[data-skin="wood"] .history-row b { font-size: 22px; }
html[data-theme="sunny"] body[data-skin="wood"] .lookup .list { background: none; border: 0; box-shadow: none; overflow: visible; }
html[data-theme="sunny"] body[data-skin="wood"] .lookup .list > * + * { border-top: 1px solid var(--line); }

/* ---- 日期复习 dates · 我的学习 books ---------------------------------------------------------------- */
html[data-theme="sunny"] body[data-skin="wood"] .dates-cal { border-radius: 20px; }
html[data-theme="sunny"] body[data-skin="wood"] .dates-month strong { font-family: var(--serif); font-size: 20px; }
html[data-theme="sunny"] body[data-skin="wood"] .dates-day.has { background: transparent; }
html[data-theme="sunny"] body[data-skin="wood"] .dates-day.has small { color: var(--accent); }
html[data-theme="sunny"] body[data-skin="wood"] .dates-day.today { outline: 1.5px solid var(--accent); }
html[data-theme="sunny"] body[data-skin="wood"] .dates-day[aria-pressed="true"] { background: var(--sage-grad); color: #fff; }
html[data-theme="sunny"] body[data-skin="wood"] .dates-month .now { border-color: var(--accent); color: var(--accent); }
html[data-theme="sunny"] body[data-skin="wood"] .dates-actions .btn:not(.primary) { border-color: var(--accent); color: var(--accent); background: var(--surface); }
html[data-theme="sunny"] body[data-skin="wood"] .my-head h3 { font-size: 19px; }
html[data-theme="sunny"] body[data-skin="wood"] .my-pill { background: var(--surface); border: 1.5px solid var(--accent); color: var(--accent); }
html[data-theme="sunny"] body[data-skin="wood"] .my-plan { border-radius: 20px; }
html[data-theme="sunny"] body[data-skin="wood"] .my-plan .btn.big { border-radius: 999px; }
html[data-theme="sunny"] body[data-skin="wood"] .my-stats { background: none; border: 0; box-shadow: none; padding: 0; gap: 10px; }
html[data-theme="sunny"] body[data-skin="wood"] .my-stats > div { padding: 14px 16px; border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow); background: var(--sage-soft); }
html[data-theme="sunny"] body[data-skin="wood"] .my-stats > div:nth-child(2),
html[data-theme="sunny"] body[data-skin="wood"] .my-stats > div:nth-child(3) { background: var(--butter-soft); }
html[data-theme="sunny"] body[data-skin="wood"] .my-stats small svg.i { color: var(--sage-deep); }
html[data-theme="sunny"] body[data-skin="wood"] .my-week span.on { background: var(--sage-soft); color: var(--sage-deep); }
html[data-theme="sunny"] body[data-skin="wood"] .my-week span.today { outline-color: var(--sage); background: var(--sage-grad); color: #fff; }
html[data-theme="sunny"] body[data-skin="wood"] .my-cal-head b { color: var(--accent); font-size: 18px; }

/* ---- 词库 library · 词书 book · 四级词表 cet4 ----------------------------------------------------- */
html[data-theme="sunny"] body[data-skin="wood"] .lib-tabs { border-bottom: 0; gap: 8px; }
html[data-theme="sunny"] body[data-skin="wood"] .lib-tabs button { height: 34px; padding: 0 14px; border-radius: 999px; }
html[data-theme="sunny"] body[data-skin="wood"] .lib-tabs button[aria-pressed="true"] { background: var(--caramel); color: #fff; }
html[data-theme="sunny"] body[data-skin="wood"] .lib-tabs button[aria-pressed="true"]::after { display: none; }
html[data-theme="sunny"] body[data-skin="wood"] .lib-item { margin-top: 10px; padding: 14px; border: 1px solid var(--line); border-radius: 18px; background: var(--surface); box-shadow: var(--shadow); }
html[data-theme="sunny"] body[data-skin="wood"] .lib-item:has(.now) { border: 1.5px solid var(--accent); }
html[data-theme="sunny"] body[data-skin="wood"] .lib-item .now { padding: 2px 9px; border-radius: 999px; background: var(--sage-soft); color: var(--sage-deep); }
html[data-theme="sunny"] body[data-skin="wood"] .lib-item b { font-size: 17px; }
html[data-theme="sunny"] body[data-skin="wood"] .lib-foot a { color: var(--accent); font-weight: 700; }
html[data-theme="sunny"] body[data-skin="wood"] .book-cover { border-radius: 4px 10px 10px 4px; --c1: #d9b38a !important; --c2: #b8916a !important; }
html[data-theme="sunny"] body[data-skin="wood"] .book-cover[data-book="zhongkao"] { --c1: #a9c79a !important; --c2: #7fa676 !important; }
html[data-theme="sunny"] body[data-skin="wood"] .book-cover[data-book="gaokao"] { --c1: #8fb592 !important; --c2: #5f8c66 !important; }
html[data-theme="sunny"] body[data-skin="wood"] .book-cover[data-book="cet4"] { --c1: #e2b06f !important; --c2: #bf8240 !important; }
html[data-theme="sunny"] body[data-skin="wood"] .book-cover[data-book="cet6"] { --c1: #dc9a7c !important; --c2: #b8694f !important; }
html[data-theme="sunny"] body[data-skin="wood"] .book-cover[data-book="kaoyan"] { --c1: #b7b678 !important; --c2: #8d8b4e !important; }
html[data-theme="sunny"] body[data-skin="wood"] .book-cover[data-book="ielts"] { --c1: #dcc196 !important; --c2: #b99a6b !important; }
html[data-theme="sunny"] body[data-skin="wood"] .bd-head { padding: 16px; border: 1px solid var(--line); border-radius: 20px; background: var(--surface); box-shadow: var(--shadow); }
html[data-theme="sunny"] body[data-skin="wood"] .bd-actions .btn.primary { border-radius: 999px; height: 52px; font-size: 17px; }
html[data-theme="sunny"] body[data-skin="wood"] .bd-group { font-family: var(--serif); }
html[data-theme="sunny"] body[data-skin="wood"] .bd-word b { font-size: 18px; }
html[data-theme="sunny"] body[data-skin="wood"] .cet4-word { margin-top: 8px; padding: 10px 14px; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); box-shadow: var(--shadow); }
html[data-theme="sunny"] body[data-skin="wood"] .cet4-word b { font-size: 19px; }
html[data-theme="sunny"] body[data-skin="wood"] .cet4-word .btn { border-color: var(--accent); color: var(--accent); background: var(--surface); }
html[data-theme="sunny"] body[data-skin="wood"] .cet4-word:has(.added, [disabled]) { background: var(--sage-soft); }

/* ---- 写作 write · 作文积累 essays · 词汇作文 compose · 句子本 sentences --------------------------- */
html[data-theme="sunny"] body[data-skin="wood"] #view[data-screen="write"] .page-head { min-height: 120px; align-items: flex-start; background: url("/assets/wood/header-shelf.webp") right center / auto 120px no-repeat; }
html[data-theme="sunny"] body[data-skin="wood"] #view[data-screen="write"] .page-head h1 { font-size: 36px; margin-top: 18px; }
html[data-theme="sunny"] body[data-skin="wood"] .write-card { border-radius: 20px; padding: 18px; }
html[data-theme="sunny"] body[data-skin="wood"] .write-card:nth-child(1) { background: var(--wood-soft); }
html[data-theme="sunny"] body[data-skin="wood"] .write-card:nth-child(2) { background: var(--sage-soft); }
html[data-theme="sunny"] body[data-skin="wood"] .write-card:nth-child(3) { background: var(--butter-soft); }
html[data-theme="sunny"] body[data-skin="wood"] .write-card .ico { width: 54px; height: 54px; border-radius: 16px; background: rgba(255, 255, 255, .7); }
html[data-theme="sunny"] body[data-skin="wood"] .write-card:nth-child(2) .ico { color: var(--sage-deep); }
html[data-theme="sunny"] body[data-skin="wood"] .write-card:nth-child(3) .ico { color: #c9a24a; }
html[data-theme="sunny"] body[data-skin="wood"] .write-card b { font-size: 20px; }
html[data-theme="sunny"] body[data-skin="wood"] .essay-form { border-radius: 20px; }
html[data-theme="sunny"] body[data-skin="wood"] .essay-form h3,
html[data-theme="sunny"] body[data-skin="wood"] .essay-form > b:first-child { color: var(--mark); }
html[data-theme="sunny"] body[data-skin="wood"] .cp-form .btn.primary,
html[data-theme="sunny"] body[data-skin="wood"] .cp-actions .btn.primary { background: var(--sage-grad); box-shadow: 0 6px 14px rgba(118, 160, 120, .28); }
html[data-theme="sunny"] body[data-skin="wood"] .cp-article { border-radius: 20px; }
html[data-theme="sunny"] body[data-skin="wood"] .cp-en { font-size: 17px; line-height: 1.75; }
html[data-theme="sunny"] body[data-skin="wood"] .cp-en mark { padding: 0 3px; border-radius: 6px; background: var(--butter-soft); color: var(--ink); }
html[data-theme="sunny"] body[data-skin="wood"] .wr-box { border-radius: 20px; }
html[data-theme="sunny"] body[data-skin="wood"] .wr-item { border-left: 4px solid var(--sage); }
html[data-theme="sunny"] body[data-skin="wood"] .wr-item:nth-child(even) { border-left-color: var(--hard); }

/* ---- 好友 friends · 我的 me · 登录 login ---------------------------------------------------------- */
html[data-theme="sunny"] body[data-skin="wood"] .friends-number { font-family: var(--serif); color: var(--ink); }
html[data-theme="sunny"] body[data-skin="wood"] .me-head { border-radius: 20px; }
html[data-theme="sunny"] body[data-skin="wood"] .me-stats { border-radius: 20px; }
html[data-theme="sunny"] body[data-skin="wood"] .me-stats b { font-family: var(--serif); font-size: 26px; }
html[data-theme="sunny"] body[data-skin="wood"] .row .segmented button[aria-pressed="true"] { background: var(--caramel); }
html[data-theme="sunny"] body[data-skin="wood"] .row + .row .segmented button[aria-pressed="true"] { background: var(--sage-grad); }
html[data-theme="sunny"] body[data-skin="wood"] .login { background: radial-gradient(90% 50% at 50% 24%, #fff1d8, transparent 70%), var(--bg); }
html[data-theme="sunny"] body[data-skin="wood"] .login-say em { color: var(--accent); }
html[data-theme="sunny"] body[data-skin="wood"] .login-switch .go { color: var(--accent); }
html[data-theme="sunny"] body[data-skin="wood"] .login-agree input { accent-color: var(--accent); }

/* ---- 原创短文 / 新概念 reading views ------------------------------------------------------------- */
html[data-theme="sunny"] body[data-skin="wood"] .reading-phrase { background: #f3ecc9; }
html[data-theme="sunny"] body[data-skin="wood"] .reading-word { text-decoration-color: var(--accent); }
html[data-theme="sunny"] body[data-skin="wood"] .nce-sentence { margin-top: 10px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); }
html[data-theme="sunny"] body[data-skin="wood"] .nce-zh { background: var(--sage-soft); }
html[data-theme="sunny"] body[data-skin="wood"] .nce-actions .btn.primary { width: 100%; height: 52px; }
html[data-theme="sunny"] body[data-skin="wood"] .nce-en,
html[data-theme="sunny"] body[data-skin="wood"] .reading-en { font-family: var(--serif); }

@media (prefers-reduced-motion: reduce) { html[data-theme="sunny"] body[data-skin="wood"] * { transition-duration: .01ms !important; } }
