/* MY_PROFILE · Visual system v3 — paper, ink and living landscapes. Shared by the personal space and IELTS. */
:root {
  color-scheme: dark;
  --bg: #22211f; --bg-2: #292723; --panel: #2c2a26; --panel-2: #34312b;
  --border: rgba(230, 223, 209, .12); --ink: #f0eade; --ink-2: #c5bdaf; --muted: #a69e91;
  --accent: #e4a082; --glow-rgb: 228, 160, 130; --glow: rgba(228, 160, 130, .09);
  --up: #f78e8b; --down: #7dc7a4; --warn: #e6bf83; --flat: #a69e91;
  --s1: #91acb5; --s2: #caae80; --s3: #9ca888; --s4: #b3a3b3;
  --g1: #91acb5; --g2: #caae80; --g3: #9ca888; --g4: #b3a3b3;
  --glow-op: .12; --code-bg: #23211e; --code-border: var(--border);
  --material: rgba(44, 42, 38, .94); --material-blur: blur(20px);
  --focus-ring: 0 0 0 3px rgba(228, 160, 130, .3);
  --shadow-pop: 0 16px 56px rgba(0, 0, 0, .25);
  --sb-thumb: rgba(177, 187, 183, .23); --sb-thumb-hover: rgba(177, 187, 183, .4);
  --font-serif: Georgia, "Times New Roman", "Songti SC", "STSong", "SimSun", serif;
  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, Menlo, monospace;
  --sans: var(--font-sans); --mono: var(--font-mono);
  --notes-pad: 28px 36px;
}
:root[data-theme="light"] {
  color-scheme: light;
  --bg: #faf9f5; --bg-2: #efeee7; --panel: #f5f4ee; --panel-2: #f0efe9;
  --border: rgba(72, 65, 53, .14); --ink: #242421; --ink-2: #55554c; --muted: #6d6c61;
  --accent: #a34f35; --glow-rgb: 163, 79, 53; --glow: rgba(163, 79, 53, .07);
  --up: #bf4545; --down: #287557; --warn: #966322; --flat: #6d6c61;
  --s1: #527985; --s2: #b28450; --s3: #788361; --s4: #8d7c91;
  --g1: #527985; --g2: #b28450; --g3: #788361; --g4: #8d7c91;
  --code-bg: #efeee7; --material: rgba(255, 255, 255, .94);
  --focus-ring: 0 0 0 3px rgba(163, 79, 53, .25);
  --shadow-pop: 0 16px 56px rgba(60, 45, 30, .10);
  --sb-thumb: rgba(80, 70, 55, .23); --sb-thumb-hover: rgba(80, 70, 55, .4);
}
[hidden] { display: none !important; }
::selection { background: rgba(var(--glow-rgb), .27); color: var(--ink); }
button, input, textarea, select { font-family: var(--font-sans); }
button, a, input, textarea, select, summary { -webkit-tap-highlight-color: transparent; }
:where(button, a, input, textarea, select, summary):focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
body { background: var(--bg); font-family: var(--font-sans); }
.backdrop { background: none; }
.console { max-width: 1480px; padding: 0 48px 32px; }
.topbar { min-height: 98px; gap: 40px; margin-bottom: 30px; border-bottom: 1px solid var(--border); }
.site-brand { display: flex; align-items: center; gap: 13px; padding: 0; border: 0; background: none; color: var(--ink); cursor: pointer; flex: none; text-align: left; }
.brand-mark { font: 600 29px var(--font-sans); letter-spacing: -4px; white-space: nowrap; }
.brand-mark > span { color: var(--accent); font-weight: 400; }
.brand-name { font-size: 10px; letter-spacing: .15em; font-weight: 650; }
.brand-name small { display: block; margin-top: 6px; font: 9px var(--font-mono); letter-spacing: .12em; color: var(--muted); }
.tabs { gap: 8px; align-self: stretch; align-items: center; min-width: 0; }
.tab { position: relative; display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 10px 14px; border: 0; border-radius: 7px; font-size: 13px; color: var(--muted); }
.tab.active { color: var(--ink); background: var(--panel-2); }
.tab.active::after { content: ""; position: absolute; bottom: 4px; left: 50%; width: 4px; height: 4px; border-radius: 50%; background: var(--accent); }
.tab:hover { background: var(--panel); }
.site-bar { gap: 18px; flex: none; }
.sys-clock { font-size: 10px; letter-spacing: .06em; }
.ctl { width: 34px; height: 34px; border-color: transparent; border-radius: 7px; background: transparent; color: var(--ink-2); }
.ctl:hover { background: var(--panel-2); border-color: var(--border); box-shadow: none; }
.workspace-heading { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; margin: 6px 0 26px; }
.workspace-heading h1 { font-size: 28px; font-weight: 500; margin: 10px 0 0; letter-spacing: -.04em; }
.workspace-heading h1 span { font: 12px var(--font-mono); color: var(--muted); letter-spacing: 0; }
.workspace-caption { font-size: 12px; color: var(--muted); }
.frame { border-radius: 12px; padding: 32px; text-align: left; background: radial-gradient(ellipse at 100% 0, rgba(var(--glow-rgb), .07), transparent 60%), var(--panel); }
.frame::before, .frame::after { display: none; }
.hero-line { justify-content: flex-start; align-items: center; gap: 12px; }
.hero-label { flex-basis: 100%; font-size: 11px; letter-spacing: .08em; color: var(--muted); }
.hero-value { font-family: var(--font-sans); font-size: clamp(32px, 4vw, 54px); letter-spacing: -.04em; text-shadow: none; font-weight: 500; }
.hero-updated { margin-left: auto; font-size: 10px; }
.panel { border-radius: 12px; padding: 24px; }
.panel-title { font-size: 14px; letter-spacing: 0; font-weight: 500; }
.panel-title::before { display: none; }
.panel-head { margin-bottom: 24px; }
.alloc-total { font-size: 11px; color: var(--muted); }
.alloc-body { gap: 48px; }
.radar { display: none; }
.legend .dot { width: 8px; height: 8px; border-radius: 50%; box-shadow: none; }
.legend .name { font-size: 13px; font-weight: 500; }
.legend .value-sub { font-size: 12px; }
.legend li { padding: 14px 10px; }
.passive-value { text-shadow: none; }
th { font-size: 10px; padding: 10px 8px; letter-spacing: .03em; }
td { font-size: 12px; padding: 14px 8px; }
.holding-card h3 { font-size: 14px; font-weight: 500; }
.holding-card .cat-total, .apy { font-size: 11px; }
.edit-btn { min-height: 32px; border-radius: 6px; color: var(--ink-2); font-size: 11px; }
.edit-btn:hover { border-color: var(--accent); color: var(--accent); box-shadow: none; }
.notes-side { background: var(--panel); border-radius: 10px; padding: 14px 10px; flex-basis: 230px; }
.notes-main { border-radius: 10px; border-color: var(--border); background: var(--panel); }
.notes-toolbar { padding: 12px 18px; background: transparent; }
.notes-article { max-width: 960px; margin: 0 auto; font-size: 15px; line-height: 1.9; }
.notes-placeholder { color: var(--muted); letter-spacing: .02em; }
.tree-row { border-radius: 6px; min-height: 34px; font-size: 12px; }
.tree-row.active { background: rgba(var(--glow-rgb), .1); color: var(--accent); }
body[data-tab="notes"] .console { padding-bottom: 18px; }
body[data-tab="notes"] .topbar { flex-shrink: 0; margin-bottom: 18px; }
.login-wrap { min-height: min(660px, 76vh); padding: 40px 0; }
.login-card { width: min(420px, 100%); flex-direction: column; align-items: stretch; gap: 14px; padding: 36px; border-radius: 14px; box-shadow: var(--shadow-pop); }
.login-heading { margin-bottom: 14px; }
.login-heading h1 { font-size: 32px; font-weight: 500; margin: 20px 0 10px; letter-spacing: -.04em; }
.login-heading p { font-size: 12px; color: var(--muted); line-height: 1.8; margin: 0; }
.login-card input { width: 100%; min-height: 46px; font: 13px var(--font-sans); background: var(--bg-2); }
.login-card .btn-primary { width: 100%; height: 46px; background: var(--accent); border-color: var(--accent); color: var(--bg); font-size: 13px; }
.footer { color: var(--muted); font-size: 10px; }
/* IELTS shares the same materials, typography and interaction language. */
body.coach { background: var(--bg); }
.coach::before { display: none; }
.coach .wrap { width: min(1280px, calc(100% - 80px)); }
.coach .top { background: var(--material); border-color: var(--border); }
.coach .top .wrap { min-height: 78px; }
.coach .brand { font-weight: 500; letter-spacing: -.02em; }
.coach .brand .dot { background: var(--accent); box-shadow: none; width: 6px; height: 6px; }
.coach .app, .coach .dash { padding-top: 36px; }
.coach .panel { background: var(--panel); border-radius: 12px; padding: 24px; }
.coach .panel h2, .coach .panel h3 { font-weight: 500; }
.coach .btn { background: var(--accent); color: var(--bg); border-color: var(--accent); border-radius: 6px; }
.coach .field input, .coach textarea { background: var(--bg-2); border-color: var(--border); }
.coach .field input:focus, .coach textarea:focus { border-color: var(--accent); box-shadow: var(--focus-ring); }
.coach .login-card { background: var(--panel); box-shadow: var(--shadow-pop); border-radius: 14px; }
.coach .login-card::after { display: none; }
.coach .icon-btn, .coach .ghost-btn, .coach .small-btn { border-radius: 6px; min-height: 36px; background: transparent; }
.coach .tab2.active { background: var(--panel-2); box-shadow: inset 0 -2px 0 var(--accent); }
.coach .part-tab.active { background: rgba(var(--glow-rgb), .1); border-color: rgba(var(--glow-rgb), .4); }
.coach .practice-grid { gap: 20px; }
.coach .q-text { font-size: clamp(22px, 2.7vw, 34px); line-height: 1.4; font-weight: 500; letter-spacing: -.03em; margin: 22px 0; }
.coach .q-meta .badge { color: var(--accent); border-color: var(--border); background: var(--panel-2); }
.coach .record-card { background: radial-gradient(ellipse at 50% 25%, rgba(var(--glow-rgb), .05), transparent 65%), var(--panel); }
.coach .hold-btn { background: var(--panel-2); color: var(--accent); border-color: rgba(var(--glow-rgb), .4); box-shadow: 0 0 0 8px rgba(var(--glow-rgb), .045), 0 0 0 22px rgba(var(--glow-rgb), .02); }
.coach .hold-btn.rec, .coach .hold-btn.cancel { background: color-mix(in srgb, var(--up) 16%, var(--panel)); color: var(--up); border-color: var(--up); }
.coach .rec-timer { font-size: 42px; font-weight: 400; letter-spacing: -.05em; }
.coach .metric { background: var(--panel); border-radius: 10px; padding: 20px 16px; }
.coach .metric::after { display: none; }
.coach .metric .v { font-family: var(--font-sans); font-size: 32px; font-weight: 500; }
.coach .hero h1 { font-weight: 500; letter-spacing: -.04em; }
.coach .hist-item, .coach .err-item { border-radius: 8px; background: var(--bg-2); }
.coach .chip, .coach .status { background: var(--panel); }

@media (max-width: 1100px) {
  .console { padding-left: 28px; padding-right: 28px; }
  .topbar { gap: 24px; }
  .brand-name { display: none; }
  .site-bar { gap: 8px; }
  .sys-clock { display: none; }

  .coach .wrap { width: calc(100% - 48px); }
}
@media (max-width: 700px) {
  :root { --notes-pad: 18px; }
  .console { padding: 0 18px 20px; }
  .topbar { flex-wrap: wrap; min-height: 0; gap: 0; margin-bottom: 18px; padding-top: 16px; }
  .site-brand { order: 0; }
  .brand-name { display: block; font-size: 9px; }
  .brand-name small { font-size: 8px; margin-top: 4px; }
  .brand-mark { font-size: 26px; }
  .site-bar { order: 1; margin-left: auto; }
  .tabs { order: 2; flex: 0 0 100%; gap: 8px; overflow-x: auto; padding: 14px 0 8px; }
  .tab { flex: none; min-height: 40px; padding: 8px 12px; font-size: 12px; }
  .ctl { width: 32px; height: 32px; }

  .workspace-heading { align-items: flex-start; margin-bottom: 20px; }
  .workspace-heading h1 { font-size: 24px; }
  .workspace-heading h1 span, .workspace-caption { display: none; }
  .frame, .panel { padding: 20px; }
  .hero-updated { margin: 0; flex-basis: 100%; }
  .hero-value { font-size: 34px; }
  .alloc-body { gap: 20px; }
  .legend { min-width: 0; width: 100%; }
  .legend .value-sub { font-size: 11px; }
  .alloc-total { font-size: 10px; }
  .login-card { padding: 26px; }
  .login-wrap { min-height: 65vh; padding: 20px 0; }
  body[data-tab="notes"] .notes-layout { gap: 12px; }
  body[data-tab="notes"] .notes-side { flex-basis: auto; }
  .notes-toolbar { padding: 10px; }
  .notes-actions { gap: 4px; flex-wrap: wrap; }
  .notes-article { font-size: 14px; }
  .coach .wrap { width: calc(100% - 32px); }
  .coach .top .wrap { padding: 14px 0; min-height: 68px; flex-wrap: wrap; }
  .coach .app, .coach .dash { padding-top: 24px; }
  .coach .panel { padding: 18px; }
  .coach .practice-grid { grid-template-columns: 1fr; gap: 14px; }
  .coach .q-text { font-size: 24px; }
  .coach .metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* The journal: a generous editorial composition. */
.console { max-width: 1440px; padding: 0 64px 30px; }
.topbar { display: grid; grid-template-columns: 1fr auto 1fr; gap: 24px; min-height: 96px; margin-bottom: 0; border-bottom: 0; }
.site-brand { grid-column: 2; grid-row: 1; justify-content: center; }
.wordmark { font: 600 35px var(--font-serif); letter-spacing: -1.8px; }
.wordmark > span { color: var(--accent); }
.tabs { grid-column: 1; grid-row: 1; gap: 6px; }
.tab { border: 1px solid transparent; min-height: 34px; padding: 6px 13px; border-radius: 24px; font-size: 12px; }
.tab.active { border-color: var(--border); background: var(--panel-2); }
.tab.active::after { display: none; }
.site-bar { grid-column: 3; grid-row: 1; justify-self: end; margin-left: 0; }
.sys-clock { font-size: 11px; }
.ctl { border: 1px solid var(--border); width: 32px; height: 32px; border-radius: 50%; }
.section-kicker { color: var(--muted); font: 10px var(--font-sans); font-weight: 500; letter-spacing: .12em; }
.home-hero { display: grid; grid-template-columns: 1.6fr 1fr; align-items: end; gap: 60px; min-height: 0; padding: 68px 0 50px; }
.home-copy .section-kicker { margin: 0 0 25px; }
.home-copy h1 { color: var(--ink); font: 400 clamp(54px, 6.1vw, 88px)/.99 var(--font-serif); letter-spacing: -.055em; margin: 0; }
.home-copy h1 em { font-style: italic; font-weight: 400; }
.home-intro { padding-bottom: 5px; max-width: 340px; justify-self: end; }
.home-description { color: var(--ink); font: 400 23px/1.65 var(--font-serif); margin: 0 0 12px; letter-spacing: .02em; }
.home-intro-sub { font-size: 12px; color: var(--muted); line-height: 1.7; margin: 0 0 26px; }
.home-primary { border: 1px solid var(--ink); background: var(--ink); color: var(--bg); border-radius: 5px; min-height: 40px; padding: 10px 18px; display: inline-flex; gap: 32px; align-items: center; font-size: 12px; cursor: pointer; transition: background .2s, transform .2s; }
.home-primary:hover { background: var(--accent); border-color: var(--accent); transform: translateY(-1px); }
.landscape { position: relative; margin: 0; aspect-ratio: 2.65; min-height: 310px; overflow: hidden; background: #ded5c3; border-radius: 3px; isolation: isolate; }
.landscape canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; }
.landscape-fallback { position: absolute; inset: 0; background: radial-gradient(circle at 70% 30%, #bb6c49 0 5%, transparent 5.2%), linear-gradient(170deg, #e5d9c3 55%, #759299 55.4%, #446c7b); }
.landscape figcaption { position: absolute; z-index: 2; bottom: 22px; left: 28px; right: 28px; display: flex; align-items: center; justify-content: space-between; gap: 16px; color: #fff9ed; }
.landscape figcaption > span { font: italic 15px var(--font-serif); text-shadow: 0 1px 5px #183947; }
#landscape-motion { border: 1px solid rgba(255,255,255,.5); border-radius: 30px; background: #243d48b3; color: #fff9ed; padding: 8px 13px; display: flex; gap: 12px; align-items: center; font-size: 10px; cursor: pointer; }
#landscape-motion:hover { background: #243d48; }
#landscape-motion:focus-visible { outline-color: #fff9ed; }
.home-directory { padding: 68px 0 10px; }
.directory-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; margin: 0 0 30px; }
.directory-heading h2 { font: 400 36px var(--font-serif); letter-spacing: -.045em; margin: 0; }
.directory-note { font-size: 12px; color: var(--muted); }
.directory-grid { display: block; border: 0; border-radius: 0; }
.directory-item { position: relative; width: 100%; display: grid; grid-template-columns: 60px 1.2fr 1fr 40px; gap: 20px; align-items: center; background: transparent; color: var(--ink); border: 0; border-top: 1px solid var(--border); border-radius: 0; padding: 28px 8px; text-align: left; text-decoration: none; cursor: pointer; transition: background .2s, padding .2s; }
.directory-item + .directory-item { border-left: 0; }
.directory-item:last-child { border-bottom: 1px solid var(--border); }
.directory-item:hover { background: var(--panel-2); padding-left: 20px; padding-right: 20px; }
.directory-index { font: 11px var(--font-mono); color: var(--muted); }
.directory-title { display: flex; flex-direction: column; gap: 8px; }
.directory-title strong { font: 400 24px var(--font-serif); letter-spacing: .02em; }
.directory-title small { font: italic 14px var(--font-serif); color: var(--muted); }
.directory-description { font: 12px/1.85 var(--font-sans); color: var(--ink-2); }
.directory-arrow { font-size: 28px; justify-self: end; font-weight: 400; transition: transform .2s; }
.directory-item:hover .directory-arrow { transform: translate(3px,-3px); color: var(--accent); }
.home-footer { display: flex; align-items: center; gap: 28px; padding: 58px 0 30px; color: var(--muted); }
.home-footer .wordmark { font-size: 27px; color: var(--ink); }
.home-footer > span:nth-child(2) { font: 14px var(--font-serif); }
.footer-top { margin-left: auto; color: var(--ink-2); font-size: 11px; border: 0; background: transparent; cursor: pointer; padding: 10px 0 10px 10px; }
.design-details { border-top: 1px solid var(--border); color: var(--muted); }
.design-details > summary, .legacy-spec > summary { cursor: pointer; padding: 18px 0; font-size: 11px; list-style: none; }
.design-details > summary { display: flex; justify-content: space-between; }
.design-details > summary::-webkit-details-marker { display: none; }
.design-details[open] > summary > span { transform: rotate(45deg); }
.spec { max-width: 1080px; }
/* Working pages use the same quieter materials and typography. */
#tab-assets { padding-top: 34px; }
.workspace-heading h1, .login-heading h1, .coach .hero h1, .coach .hist-head h1, .coach .login-card h1 { font-family: var(--font-serif); font-weight: 400; }
.frame { background: var(--panel-2); border-radius: 5px; }
.panel, .coach .panel { border-radius: 6px; background: var(--panel); box-shadow: none; }
.hero-value { font-family: var(--font-serif); font-size: clamp(36px, 4.5vw, 64px); letter-spacing: -.035em; }
.panel-title, .holding-card h3 { font-size: 15px; font-weight: 500; }
.notes-side, .notes-main { border-radius: 5px; }
.notes-side { background: var(--panel-2); backdrop-filter: none; }
.notes-main, .notes-article { background: var(--bg); }
.notes-toolbar { padding: 14px 18px; border-bottom: 1px solid var(--border); }
.notes-article { border: 0; }
.notes-article h1, .notes-article h2 { font-family: var(--font-serif); font-weight: 500; }
body[data-tab="notes"] .topbar { margin-bottom: 12px; }
.login-card { border-radius: 8px; box-shadow: none; }
.login-card .btn-primary, .btn-primary { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.coach .top { backdrop-filter: none; background: var(--bg); }
.coach .brand .dot { background: var(--accent); }
.coach .btn { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.coach .login-card { background: var(--panel); border-radius: 8px; box-shadow: none; }
.coach .q-text { font-family: var(--font-serif); font-weight: 400; font-size: clamp(27px, 3vw, 38px); }
.coach .record-card { background: var(--panel-2); }
.coach .hold-btn { background: var(--accent); color: var(--bg); border-color: var(--accent); box-shadow: 0 0 0 10px rgba(var(--glow-rgb), .07); }
.coach .metric .v, .coach .score-big { font-family: var(--font-serif); }
.coach .metric, .coach .crit .box { border-radius: 5px; }
.coach .hero { margin-bottom: 36px; }
@media (max-width: 1100px) {
  .console { padding-left: 32px; padding-right: 32px; }
  .topbar { gap: 14px; }
  .tab { padding: 6px 10px; font-size: 11px; }
  .wordmark { font-size: 31px; }
  .home-hero { gap: 35px; padding-top: 54px; }
  .home-copy h1 { font-size: clamp(52px, 6.7vw, 74px); }
  .home-description { font-size: 20px; }
}
@media (max-width: 800px) {
  .topbar { grid-template-columns: 1fr 1fr; padding-top: 18px; gap: 16px; min-height: 110px; }
  .site-brand { grid-column: 1; justify-self: start; }
  .site-bar { grid-column: 2; }
  .tabs { grid-row: 2; grid-column: 1 / -1; padding: 0 0 12px; gap: 8px; }
  .tab { padding: 6px 13px; font-size: 12px; }
  .home-hero { grid-template-columns: 1fr; gap: 30px; padding: 38px 0; }
  .home-copy h1 { font-size: clamp(54px, 9.5vw, 78px); }
  .home-intro { justify-self: start; max-width: none; display: grid; grid-template-columns: 1fr auto; column-gap: 24px; align-items: center; width: 100%; }
  .home-description { font-size: 21px; }
  .home-intro-sub { margin-bottom: 0; font-size: 11px; grid-column: 1; }
  .home-primary { grid-row: 1 / 3; grid-column: 2; }
  .landscape { aspect-ratio: 1.7; min-height: 280px; }
  .directory-item { grid-template-columns: 32px 1fr 1fr 24px; gap: 16px; }
  .directory-title strong { font-size: 21px; }
}
@media (max-width: 500px) {
  .console { padding: 0 20px 22px; }
  .topbar { gap: 14px; }
  .wordmark { font-size: 32px; }
  .tab { min-height: 34px; padding: 6px 11px; font-size: 11px; }
  .home-copy .section-kicker { font-size: 9px; letter-spacing: .08em; margin-bottom: 20px; }
  .home-copy h1 { font-size: clamp(43px, 11.6vw, 58px); line-height: 1.02; letter-spacing: -.05em; }
  .home-hero { padding: 24px 0 32px; gap: 26px; }
  .home-intro { display: block; }
  .home-description { font-size: 20px; }
  .home-intro-sub { font-size: 11px; margin-bottom: 22px; }
  .home-primary { font-size: 12px; min-height: 40px; }
  .landscape { aspect-ratio: 1.1; min-height: 280px; }
  .landscape figcaption { bottom: 16px; left: 16px; right: 16px; }
  .landscape figcaption > span { max-width: 155px; font-size: 12px; }
  #landscape-motion { font-size: 9px; padding: 8px 10px; gap: 7px; }
  .home-directory { padding-top: 40px; }
  .directory-heading { display: block; margin-bottom: 24px; }
  .directory-heading h2 { font-size: 31px; }
  .directory-note { display: block; margin-top: 10px; font-size: 11px; }
  .directory-item { grid-template-columns: 25px 1fr 24px; gap: 14px; padding: 24px 0; }
  .directory-title { grid-column: 2; }
  .directory-title strong { font-size: 22px; }
  .directory-title small { font-size: 13px; }
  .directory-description { grid-column: 2; font-size: 12px; }
  .directory-description br { display: none; }
  .directory-arrow { grid-column: 3; grid-row: 1 / 3; font-size: 25px; }
  .directory-item:hover { padding-left: 8px; padding-right: 8px; }
  .home-footer { flex-wrap: wrap; gap: 15px; padding-top: 40px; }
  .home-footer > span:nth-child(2) { order: 3; flex-basis: 100%; font-size: 13px; }
  .footer-top { font-size: 11px; }
}
/* The Markdown editor shares the page materials in both themes. */
#note-editor.vditor {
  --border-color: var(--border);
  --panel-background-color: var(--panel);
  --panel-shadow: none;
  --toolbar-background-color: var(--panel-2);
  --toolbar-icon-color: var(--ink-2);
  --toolbar-icon-hover-color: var(--ink);
  --textarea-background-color: var(--bg);
  --textarea-text-color: var(--ink);
  --heading-border-color: var(--border);
  --count-background-color: rgba(var(--glow-rgb), .14);
}
#note-editor .vditor-reset { background: var(--bg); color: var(--ink); }
#note-editor .vditor-ir { background: var(--bg); }
#note-editor .vditor-reset h1, #note-editor .vditor-reset h2 { font-family: var(--font-serif); font-weight: 500; }
