@font-face { font-family: "Instrument Sans"; src: url("fonts/InstrumentSans-Regular.woff2") format("woff2"); font-style: normal; font-weight: 400; font-display: swap; }
@font-face { font-family: "Instrument Sans"; src: url("fonts/InstrumentSans-Bold.woff2") format("woff2"); font-style: normal; font-weight: 700; font-display: swap; }

:root {
  color-scheme: light;
  --paper: #f3f0e9;
  --ink: #25231f;
  --muted: #888178;
  --line: #ded8cf;
  --page-pad: clamp(24px, 3vw, 64px);
  font-family: Arial, "Noto Sans TC", sans-serif;
}
* { box-sizing: border-box; }
body { min-height: 100vh; margin: 0; background: var(--paper); color: var(--ink); }
button, input, select { font: inherit; }
button { cursor: pointer; }
a { color: inherit; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible { outline: 2px solid #a8654d; outline-offset: 3px; }
[hidden] { display: none !important; }
.screen-reader-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

.topbar {
  min-height: 78px; margin: auto; padding: 16px var(--page-pad) 15px;
  display: flex; align-items: flex-start; justify-content: space-between; gap: 24px;
}
.brand { display: inline-flex; align-items: center; gap: 15px; color: inherit; text-decoration: none; }
.brand-symbol { width: 39px; height: 39px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 3px; }
.brand-symbol i { background: #25231f; border-radius: 50%; }
.brand-symbol i:nth-child(2), .brand-symbol i:nth-child(3) { border-radius: 3px; }
.brand-name { font-size: 12px; line-height: 1.07; font-weight: 700; letter-spacing: .16em; }
.edition { align-self: center; margin-left: auto; color: var(--muted); font-size: 10px; letter-spacing: .2em; }
.edition-star { display: inline-block; margin: 0 10px; color: #be8d76; font-size: 16px; vertical-align: -2px; }
.top-actions { display: flex; align-items: center; gap: 18px; }
.language-select { height: 39px; max-width: 86px; padding: 0 22px 0 8px; border: 1px solid var(--line); border-radius: 3px; background: transparent; color: var(--ink); font-size: 11px; cursor: pointer; }
.language-select:hover { border-color: #bcb3a7; }
.work-count, .header-index-link { align-self: center; color: var(--muted); font-size: 11px; letter-spacing: .12em; text-decoration: none; }
.header-index-link:hover { color: var(--ink); }
.icon-button { border: 1px solid var(--line); background: transparent; width: 39px; height: 39px; display: grid; place-items: center; color: var(--ink); border-radius: 50%; transition: background .2s ease, border-color .2s ease; }
.icon-button:hover { background: #e8e3db; border-color: #bcb3a7; }
.icon-button svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }

.site-layout { margin: auto; padding: 0 var(--page-pad) 84px; display: grid; grid-template-columns: 224px minmax(0, 1fr); gap: 42px; align-items: start; }
.sidebar { position: fixed; top: 78px; left: var(--page-pad); width: 224px; max-height: calc(100dvh - 98px); overflow-y: auto; padding: 0 25px 32px 0; border-right: 1px solid var(--line); scrollbar-width: thin; }
.sidebar-heading, .sidebar-section-title, .gallery-heading { font-size: 11px; font-weight: 700; letter-spacing: .17em; }
.sidebar-heading { position: sticky; top: 0; z-index: 2; display: flex; justify-content: space-between; align-items: center; min-height: 45px; padding: 12px 2px 10px 0; border-bottom: 1px solid var(--line); background: var(--paper); }
.sidebar-desktop-close { padding: 4px 7px; border: 1px solid var(--ink); border-radius: 3px; background: var(--ink); color: var(--paper); font-size: 10px; font-weight: 700; letter-spacing: .04em; line-height: 1.1; white-space: nowrap; transition: background .2s ease, color .2s ease; }
.sidebar-desktop-close:hover { background: #5a4f45; color: #fff; }
.sidebar-mobile-close { display: none; border: 0; background: none; font-size: 28px; line-height: 1; }
.sidebar-reopen { display: none; position: fixed; z-index: 10; top: 90px; left: 0; width: 32px; min-height: 110px; padding: 12px 8px; align-items: center; justify-content: center; border: 1px solid var(--line); border-left: 0; border-radius: 0 5px 5px 0; background: #e8e2d9; color: var(--ink); font-size: 11px; letter-spacing: .1em; writing-mode: vertical-rl; }
.sidebar-reopen:hover { background: #ded6ca; }
.sidebar-section-title { display: flex; align-items: baseline; gap: 9px; margin: 34px 0 14px; }
.tag-search-label { display: block; margin-bottom: 8px; color: var(--muted); font-size: 11px; }
#tag-search { width: 100%; margin-bottom: 18px; padding: 9px 10px; border: 1px solid var(--line); border-radius: 3px; background: #f8f5ef; color: var(--ink); font-size: 13px; }
#tag-search::placeholder { color: #aaa298; }
.no-tag-matches { color: var(--muted); font-size: 12px; }
.sidebar-section-title span { color: var(--muted); font-size: 10px; font-weight: 400; }
.sidebar-section-title .section-title-primary { color: var(--ink); font-size: 11px; font-weight: 700; }
.tag-list { display: flex; flex-direction: column; }
.tag-link { min-height: 41px; display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 10px 8px 10px 0; border-bottom: 1px solid var(--line); color: #615b53; font-size: 13px; text-decoration: none; transition: padding .2s ease, color .2s ease, background .2s ease; }
.tag-link:hover { padding-left: 8px; color: var(--ink); }
.tag-link.active { padding-left: 9px; background: #e6dfd4; color: var(--ink); font-weight: 700; }
.tag-link small { color: #aaa298; font-size: 11px; font-weight: 400; }
.sidebar-bottom { margin-top: 38px; }
#sort-select { width: 100%; padding: 10px 0; border: 0; border-bottom: 1px solid #bdb5a9; border-radius: 0; background: transparent; color: var(--ink); font-size: 13px; }
.sidebar-bottom p { margin: 25px 0 0; color: #a39b90; font-size: 11px; line-height: 1.7; }
.sidebar-scrim { display: none; }
body.sidebar-collapsed .site-layout { grid-template-columns: minmax(0, 1fr); }
body.sidebar-collapsed .sidebar { display: none; }
body.sidebar-collapsed .sidebar-reopen { display: flex; }

.gallery-main, .work-main { grid-column: 2; min-width: 0; }
body.sidebar-collapsed .gallery-main, body.sidebar-collapsed .work-main { grid-column: 1; }
.gallery-heading { display: flex; justify-content: space-between; align-items: center; margin: 4px 0 23px; padding: 0 0 13px; border-bottom: 1px solid var(--line); }
.gallery-heading span:last-child { color: var(--muted); font-size: 10px; font-weight: 400; }
.gallery { position: relative; }
.art-card { display: block; flex: none; min-width: 0; text-decoration: none; transition: transform .25s ease; }
.art-card:hover { transform: translateY(-3px); }
.art-card > img { position: relative; z-index: 2; display: block; width: var(--cover-width, 100%); height: 100%; object-fit: contain; box-shadow: 0 2px 9px rgba(45, 36, 27, .085), 0 0 0 1px rgba(45, 36, 27, .035); }
.stack-peek { position: absolute; z-index: 1; top: calc(var(--layer) * 4px); height: calc(100% - var(--layer) * 4px); overflow: hidden; border-left: 3px solid var(--paper); background: #e3ddd2; box-shadow: 3px 2px 10px rgba(45, 36, 27, .22); }
.stack-peek img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.art-card.has-stack::after { content: attr(data-pages); position: absolute; z-index: 3; right: 5px; bottom: 6px; min-width: 25px; padding: 5px 4px; background: rgba(37, 35, 31, .82); color: #fff; font-size: 10px; line-height: 1; letter-spacing: .07em; text-align: center; }
.gallery .art-card { position: absolute; }
.empty-state { padding: 90px 0; color: var(--muted); text-align: center; }

.work-toolbar { min-height: 43px; margin: 1px 0 14px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: start; color: var(--muted); font-size: 11px; letter-spacing: .12em; }
.work-toolbar a { text-decoration: none; }
.work-toolbar a:hover { color: var(--ink); }
#work-position { text-align: center; }
.zoom-controls { justify-self: end; display: flex; align-items: center; gap: 6px; margin-top: -7px; }
.zoom-controls button { min-width: 29px; height: 29px; padding: 0 5px; border: 1px solid var(--line); background: transparent; color: var(--ink); font-size: 15px; }
.zoom-controls button:hover:not(:disabled) { background: #e7e1d8; }
.zoom-controls button:disabled { color: #b4ada4; cursor: default; }
#zoom-reset { padding: 0 8px; font-size: 11px; white-space: nowrap; }
#zoom-level { min-width: 38px; margin-left: 4px; color: var(--muted); font-size: 10px; text-align: right; }
.work-stage { width: 100%; overflow-x: auto; overflow-y: hidden; }
.work-stack { position: relative; margin: 0 auto; }
#work-image { position: absolute; top: 0; z-index: 2; display: block; max-width: none; object-fit: contain; box-shadow: 0 6px 22px rgba(43, 35, 27, .16); }
.work-peek { position: absolute; top: 7px; height: calc(100% - 14px); z-index: 1; display: block; overflow: hidden; padding: 0; border: 0; background: #ddd6cb; box-shadow: 0 5px 18px rgba(43, 35, 27, .25); }
.work-peek-previous { left: 0; border-right: 3px solid var(--paper); }
.work-peek-next { right: 0; border-left: 3px solid var(--paper); }
.work-peek img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.work-page-arrow { position: absolute; top: 18px; z-index: 3; width: 36px; height: 36px; display: grid; place-items: center; padding: 0; border: 1px solid rgba(48, 40, 34, .14); border-radius: 50%; background: rgba(243, 240, 233, .88); color: var(--ink); font-size: 18px; box-shadow: 0 2px 8px rgba(43, 35, 27, .11); transition: background .2s ease, transform .2s ease; }
.work-page-arrow:hover { transform: scale(1.08); background: #fff; }
.work-caption { min-height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 15px 1px; border-bottom: 1px solid var(--line); }
#work-number { color: var(--ink); font-size: 12px; font-weight: 700; letter-spacing: .14em; white-space: nowrap; }
.work-tags { display: flex; justify-content: flex-end; flex-wrap: wrap; gap: 8px; }
.work-tags a { padding: 6px 10px; border: 1px solid #d7cfc4; color: #6e675e; font-size: 11px; text-decoration: none; }
.work-tags a:hover { border-color: #ada397; color: var(--ink); }
.work-pager { display: flex; justify-content: space-between; gap: 20px; padding: 19px 0; }
.work-pager a { min-width: 92px; color: var(--ink); font-size: 12px; text-decoration: none; }
.work-pager a:last-child { text-align: right; }
.work-pager a .pager-arrow { font-size: 17px; vertical-align: -1px; }
.work-pager a.is-disabled { color: #b3aba1; pointer-events: none; }

@media (max-width: 1190px) and (min-width: 761px) {
  .site-layout { grid-template-columns: 190px minmax(0, 1fr); gap: 30px; }
  .sidebar { width: 190px; }
}
@media (max-width: 760px) {
  .topbar { min-height: 70px; padding: 14px 18px 12px; }
  .top-actions { gap: 10px; }
  .language-select { height: 35px; }
  .brand-symbol { width: 31px; height: 31px; }
  .brand-name { font-size: 10px; }
  .edition, .work-count, .header-index-link { display: none; }
  .site-layout, body.sidebar-collapsed .site-layout { display: block; padding: 0 18px 45px; }
  .sidebar, body.sidebar-collapsed .sidebar { display: block; position: fixed; top: 0; bottom: 0; left: 0; z-index: 20; width: min(320px, 84vw); max-height: none; padding: 0 24px 28px; border-right: 1px solid #cfc6ba; background: #f7f4ed; transform: translateX(-103%); transition: transform .25s ease; }
  .sidebar-heading { padding-top: 28px; background: #f7f4ed; }
  body.mobile-sidebar-open .sidebar { transform: translateX(0); }
  .sidebar-mobile-close { display: block; }
  .sidebar-desktop-close, body.sidebar-collapsed .sidebar-reopen { display: none; }
  .sidebar-scrim { position: fixed; inset: 0; z-index: 19; width: 100%; border: 0; background: rgba(29, 26, 22, .37); }
  body.mobile-sidebar-open .sidebar-scrim { display: block; }
  .gallery-heading { margin-top: 0; }
  .work-toolbar { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px; }
  .zoom-controls { width: 100%; justify-content: flex-end; margin: 0; }
  .work-caption { align-items: flex-start; flex-direction: column; gap: 10px; }
  .work-tags { justify-content: flex-start; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

/* Match the current Viewer's palette and compact header while keeping the archive's mark and frameless artwork. */
:root {
  --paper: #f7f7f5;
  --surface: #fff;
  --surface-soft: #edf4f1;
  --ink: #202124;
  --muted: #6f7378;
  --line: #dededa;
  --accent: #237d77;
  --header-ink: #273a37;
  font-family: "Instrument Sans", "Noto Sans TC", "Microsoft JhengHei", "Yu Gothic", "Malgun Gothic", sans-serif;
}
html { overflow-x: clip; }
body { overflow-x: clip; font-family: inherit; line-height: 1.5; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible { outline-color: var(--accent); }
.topbar {
  position: sticky; top: 0; z-index: 30; width: 100%; min-height: 56px;
  padding: 6px max(16px, calc((100vw - 1320px) / 2));
  align-items: center; gap: 16px;
  border-bottom: 1px solid #dfe5df;
  background: linear-gradient(105deg, rgba(107, 219, 217, .17), rgba(249, 235, 170, .18)), #fbfaf6;
  box-shadow: 0 2px 12px rgba(29, 57, 55, .035);
  color: var(--header-ink); backdrop-filter: blur(12px);
}
.brand { flex: 0 0 auto; gap: 8px; }
.brand-symbol { width: 40px; height: 40px; padding: 4px; gap: 3px; }
.brand-symbol i { background: var(--header-ink); }
.brand-name { display: flex; flex-direction: column; gap: 1px; line-height: 1; }
.brand-name span { font-size: 9px; font-weight: 400; letter-spacing: .18em; }
.brand-name strong { font-size: 14px; font-weight: 700; letter-spacing: .13em; }
.top-actions { margin-left: auto; gap: 5px; color: #344a46; }
.header-index-link {
  display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  min-width: 34px; height: 32px; padding: 0 10px;
  border: 1px solid transparent; border-radius: 999px;
  color: inherit; font-size: 12px; letter-spacing: .035em;
}
.header-index-link:hover { background: rgba(255, 255, 255, .48); color: #213c38; }
.header-index-link[aria-current="page"] { border-color: rgba(47, 99, 92, .18); background: rgba(255, 255, 255, .6); color: #28564f; }
.header-divider { width: 1px; height: 19px; margin: 0 5px; background: #cbd8cf; }
.theme-toggle, .icon-button {
  display: grid; place-items: center; flex: 0 0 auto; width: 32px; height: 32px; min-height: 32px; padding: 0;
  border: 1px solid rgba(47, 99, 92, .2); border-radius: 8px;
  background: rgba(255, 255, 255, .25); color: inherit;
}
.theme-toggle:hover, .icon-button:hover { background: rgba(255, 255, 255, .65); border-color: rgba(47, 99, 92, .38); }
.theme-toggle svg { grid-area: 1 / 1; }
.theme-sun { display: none; }
.language-select {
  min-height: 32px; height: 32px; max-width: 90px; padding: 4px 25px 4px 9px;
  border: 1px solid rgba(47, 99, 92, .25); border-radius: 8px;
  background: transparent; color: inherit; font-size: 12px;
}
.language-select:hover { border-color: rgba(47, 99, 92, .55); }
.sidebar-toggle svg { width: 18px; height: 18px; }
.site-layout { padding-top: 24px; grid-template-columns: 224px minmax(0, 1fr); gap: 36px; }
.sidebar { top: 80px; max-height: calc(100dvh - 96px); padding: 0 18px 24px 0; }
.sidebar-heading { background: var(--paper); font-size: 11px; letter-spacing: .13em; }
.sidebar-desktop-close {
  border-color: rgba(47, 99, 92, .25); border-radius: 8px;
  background: var(--surface-soft); color: #28564f; font-size: 11px;
}
.sidebar-desktop-close:hover { background: #dcefe9; color: #1e5049; }
.sidebar-section-title { margin-top: 28px; }
#tag-search {
  padding: 10px 12px; border-color: var(--line); border-radius: 10px;
  background: var(--surface); color: var(--ink); box-shadow: 0 4px 16px rgba(60, 89, 123, .04);
}
#tag-search::placeholder { color: var(--muted); }
#tag-search:focus { border-color: var(--accent); outline: 3px solid rgba(35, 125, 119, .16); }
.tag-list { gap: 3px; }
.tag-link {
  min-height: 37px; padding: 8px 9px; border: 0; border-radius: 8px;
  color: #4e5958; transition: background .18s ease, color .18s ease;
}
.tag-link:hover { padding-left: 9px; background: var(--surface-soft); color: #28564f; }
.tag-link.active { padding-left: 9px; background: #dcefe9; color: #245b53; }
.tag-link small { color: var(--muted); }
.sidebar-reopen {
  top: 80px; border-color: rgba(47, 99, 92, .2); border-radius: 0 8px 8px 0;
  background: var(--surface-soft); color: var(--ink); box-shadow: 0 4px 15px rgba(29, 57, 55, .08);
}
.sidebar-reopen:hover { background: #dcefe9; }
.gallery-heading {
  min-height: 55px; margin: 0 0 22px; padding: 0 0 14px; align-items: end;
  letter-spacing: normal;
}
.gallery-eyebrow { display: block; color: var(--muted); font-size: 10px; font-weight: 400; letter-spacing: .18em; text-transform: uppercase; }
.gallery-heading h1 { margin: 3px 0 0; font-size: clamp(23px, 2.4vw, 31px); line-height: 1.1; letter-spacing: -.025em; }
.gallery-heading .work-count { color: var(--muted); font-size: 12px; font-weight: 400; letter-spacing: .045em; }
.art-card > img { box-shadow: 0 3px 12px rgba(29, 43, 46, .09); }
.stack-peek { border-left-color: var(--paper); background: var(--surface-soft); box-shadow: 3px 2px 10px rgba(24, 39, 38, .2); }
.art-card.has-stack::after { border-radius: 5px; background: rgba(23, 37, 35, .83); }
.work-toolbar {
  min-height: 50px; margin: 0 0 18px; padding: 10px 12px; align-items: center;
  border: 1px solid var(--line); border-radius: 12px; background: var(--surface);
  font-size: 12px; letter-spacing: .04em;
}
.zoom-controls { margin-top: 0; }
.zoom-controls button { min-width: 32px; height: 32px; border-radius: 8px; border-color: var(--line); background: var(--surface); }
.zoom-controls button:hover:not(:disabled) { background: var(--surface-soft); }
.zoom-controls button:disabled { color: var(--muted); opacity: .45; }
.work-caption { border-color: var(--line); }
.work-tags a { border-color: var(--line); border-radius: 999px; color: var(--muted); background: var(--surface); }
.work-tags a:hover { border-color: var(--accent); color: var(--accent); }
.work-peek { background: var(--surface-soft); }
.work-peek-previous { border-right-color: var(--paper); }
.work-peek-next { border-left-color: var(--paper); }
.work-page-arrow { border-radius: 8px; background: var(--surface); }
.work-page-arrow:hover { background: var(--surface-soft); }

html[data-gallery-theme="dark"] {
  color-scheme: dark;
  --paper: #0d0f12; --surface: #171a1f; --surface-soft: #24282e;
  --ink: #dfe2e6; --muted: #9ca3ad; --line: #353a43;
  --accent: #8dd1c4; --header-ink: #e5eee9;
}
html[data-gallery-theme="dark"] .topbar {
  border-bottom-color: rgba(149, 188, 178, .2);
  background: linear-gradient(105deg, rgba(107, 219, 217, .13), rgba(249, 235, 170, .1)), rgba(16, 21, 21, .92);
  box-shadow: 0 2px 12px rgba(0, 0, 0, .16);
}
html[data-gallery-theme="dark"] .top-actions { color: #e5eee9; }
html[data-gallery-theme="dark"] .header-index-link:hover { background: rgba(255, 255, 255, .1); color: #fff; }
html[data-gallery-theme="dark"] .header-index-link[aria-current="page"] { border-color: rgba(173, 223, 210, .24); background: rgba(173, 223, 210, .1); color: #ecf7f1; }
html[data-gallery-theme="dark"] .header-divider { background: rgba(173, 223, 210, .22); }
html[data-gallery-theme="dark"] .theme-toggle,
html[data-gallery-theme="dark"] .icon-button,
html[data-gallery-theme="dark"] .language-select { border-color: rgba(173, 223, 210, .25); background: rgba(255, 255, 255, .035); }
html[data-gallery-theme="dark"] .theme-toggle:hover,
html[data-gallery-theme="dark"] .icon-button:hover { background: rgba(255, 255, 255, .1); }
html[data-gallery-theme="dark"] .theme-moon { display: none; }
html[data-gallery-theme="dark"] .theme-sun { display: block; }
html[data-gallery-theme="dark"] .sidebar-desktop-close,
html[data-gallery-theme="dark"] .sidebar-reopen { border-color: var(--line); background: var(--surface-soft); color: var(--ink); }
html[data-gallery-theme="dark"] .sidebar-desktop-close:hover,
html[data-gallery-theme="dark"] .sidebar-reopen:hover,
html[data-gallery-theme="dark"] .tag-link:hover,
html[data-gallery-theme="dark"] .tag-link.active { background: #263d39; color: #d4f2e9; }
html[data-gallery-theme="dark"] .tag-link { color: var(--ink); }
html[data-gallery-theme="dark"] .art-card > img { box-shadow: 0 3px 15px rgba(0, 0, 0, .25); }
html[data-gallery-theme="dark"] .work-page-arrow { color: var(--ink); }

@media (max-width: 1190px) and (min-width: 761px) {
  .site-layout { grid-template-columns: 190px minmax(0, 1fr); gap: 26px; }
  .sidebar { width: 190px; }
}
@media (max-width: 760px) {
  .topbar { min-height: 56px; padding: 6px 10px; }
  .site-layout, body.sidebar-collapsed .site-layout { padding: 18px 16px 45px; }
  .header-index-link { width: 32px; min-width: 32px; padding: 0; }
  .header-index-link span, .header-divider { display: none; }
  .brand-symbol { width: 36px; height: 36px; }
  .brand-name strong { font-size: 13px; }
  .language-select { max-width: 75px; padding-left: 5px; padding-right: 16px; }
  .sidebar, body.sidebar-collapsed .sidebar { z-index: 42; padding: 0 24px 28px; border-color: var(--line); background: var(--paper); }
  .sidebar-heading { background: var(--paper); }
  .sidebar-scrim { z-index: 41; }
  .gallery-heading { margin-bottom: 18px; }
  .work-toolbar { padding: 10px; gap: 10px; }
}
@media (max-width: 380px) {
  .topbar { padding-inline: 7px; }
  .top-actions { gap: 3px; }
  .brand { gap: 5px; }
  .brand-name span { font-size: 8px; }
  .brand-name strong { font-size: 12px; }
  .language-select { max-width: 58px; font-size: 11px; }
}

.sidebar-heading { justify-content: space-between; gap: 8px; min-height: 48px; margin-bottom: 10px; padding: 0 0 10px; border-bottom: 0; }
.sidebar-heading #tag-search { flex: 1 1 auto; width: 0; min-width: 0; height: 38px; margin: 0; }
.sidebar-desktop-close {
  display: grid; place-items: center; flex: 0 0 38px; width: 38px; height: 38px; padding: 0;
  border: 1px solid rgba(47, 99, 92, .2); border-radius: 8px;
  background: var(--surface-soft); color: #28564f;
}
.sidebar-desktop-close svg, .sidebar-reopen svg {
  width: 18px; height: 18px; fill: none; stroke: currentColor;
  stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round;
}
.sidebar-reopen {
  position: fixed; width: 42px; height: 116px; min-height: 116px; padding: 0;
  border-radius: 0 12px 12px 0; box-shadow: 0 5px 18px rgba(29, 57, 55, .12);
  font-size: inherit; letter-spacing: normal; writing-mode: horizontal-tb;
}
.sidebar-reopen svg { position: absolute; top: 22px; left: 11px; width: 20px; height: 20px; }
.sidebar-reopen::after { content: ""; position: absolute; left: 19px; bottom: 22px; width: 3px; height: 32px; border-radius: 3px; background: currentColor; opacity: .45; }
body.sidebar-collapsed .sidebar-reopen { display: block; }
.gallery-heading { min-height: 24px; margin-bottom: 16px; padding-bottom: 8px; justify-content: flex-end; }
.gallery-heading .work-count { display: block; }

@media (max-width: 760px) {
  .sidebar-heading { min-height: 68px; padding-top: 20px; }
  .sidebar-desktop-close { display: grid; }
  body.sidebar-collapsed .sidebar-reopen,
  body:not(.sidebar-collapsed) .sidebar-reopen { display: block; top: 66px; left: 10px; z-index: 31; width: 40px; height: 40px; min-height: 40px; border-radius: 8px; }
  .sidebar-reopen svg { top: 10px; left: 10px; }
  .sidebar-reopen::after { display: none; }
  body.mobile-sidebar-open .sidebar-reopen { display: none; }
  body[data-page="work"] .work-toolbar { padding-left: 42px; }
  .gallery-heading .work-count { display: block; }
}
