*, ::before, ::after {
  --tw-border-spacing-x: 0;
  --tw-border-spacing-y: 0;
  --tw-translate-x: 0;
  --tw-translate-y: 0;
  --tw-rotate: 0;
  --tw-skew-x: 0;
  --tw-skew-y: 0;
  --tw-scale-x: 1;
  --tw-scale-y: 1;
  --tw-pan-x:  ;
  --tw-pan-y:  ;
  --tw-pinch-zoom:  ;
  --tw-scroll-snap-strictness: proximity;
  --tw-gradient-from-position:  ;
  --tw-gradient-via-position:  ;
  --tw-gradient-to-position:  ;
  --tw-ordinal:  ;
  --tw-slashed-zero:  ;
  --tw-numeric-figure:  ;
  --tw-numeric-spacing:  ;
  --tw-numeric-fraction:  ;
  --tw-ring-inset:  ;
  --tw-ring-offset-width: 0px;
  --tw-ring-offset-color: #fff;
  --tw-ring-color: rgb(59 130 246 / 0.5);
  --tw-ring-offset-shadow: 0 0 #0000;
  --tw-ring-shadow: 0 0 #0000;
  --tw-shadow: 0 0 #0000;
  --tw-shadow-colored: 0 0 #0000;
  --tw-blur:  ;
  --tw-brightness:  ;
  --tw-contrast:  ;
  --tw-grayscale:  ;
  --tw-hue-rotate:  ;
  --tw-invert:  ;
  --tw-saturate:  ;
  --tw-sepia:  ;
  --tw-drop-shadow:  ;
  --tw-backdrop-blur:  ;
  --tw-backdrop-brightness:  ;
  --tw-backdrop-contrast:  ;
  --tw-backdrop-grayscale:  ;
  --tw-backdrop-hue-rotate:  ;
  --tw-backdrop-invert:  ;
  --tw-backdrop-opacity:  ;
  --tw-backdrop-saturate:  ;
  --tw-backdrop-sepia:  ;
  --tw-contain-size:  ;
  --tw-contain-layout:  ;
  --tw-contain-paint:  ;
  --tw-contain-style:  ;
}

::backdrop {
  --tw-border-spacing-x: 0;
  --tw-border-spacing-y: 0;
  --tw-translate-x: 0;
  --tw-translate-y: 0;
  --tw-rotate: 0;
  --tw-skew-x: 0;
  --tw-skew-y: 0;
  --tw-scale-x: 1;
  --tw-scale-y: 1;
  --tw-pan-x:  ;
  --tw-pan-y:  ;
  --tw-pinch-zoom:  ;
  --tw-scroll-snap-strictness: proximity;
  --tw-gradient-from-position:  ;
  --tw-gradient-via-position:  ;
  --tw-gradient-to-position:  ;
  --tw-ordinal:  ;
  --tw-slashed-zero:  ;
  --tw-numeric-figure:  ;
  --tw-numeric-spacing:  ;
  --tw-numeric-fraction:  ;
  --tw-ring-inset:  ;
  --tw-ring-offset-width: 0px;
  --tw-ring-offset-color: #fff;
  --tw-ring-color: rgb(59 130 246 / 0.5);
  --tw-ring-offset-shadow: 0 0 #0000;
  --tw-ring-shadow: 0 0 #0000;
  --tw-shadow: 0 0 #0000;
  --tw-shadow-colored: 0 0 #0000;
  --tw-blur:  ;
  --tw-brightness:  ;
  --tw-contrast:  ;
  --tw-grayscale:  ;
  --tw-hue-rotate:  ;
  --tw-invert:  ;
  --tw-saturate:  ;
  --tw-sepia:  ;
  --tw-drop-shadow:  ;
  --tw-backdrop-blur:  ;
  --tw-backdrop-brightness:  ;
  --tw-backdrop-contrast:  ;
  --tw-backdrop-grayscale:  ;
  --tw-backdrop-hue-rotate:  ;
  --tw-backdrop-invert:  ;
  --tw-backdrop-opacity:  ;
  --tw-backdrop-saturate:  ;
  --tw-backdrop-sepia:  ;
  --tw-contain-size:  ;
  --tw-contain-layout:  ;
  --tw-contain-paint:  ;
  --tw-contain-style:  ;
}/*
! tailwindcss v3.4.16 | MIT License | https://tailwindcss.com
*//*
1. Prevent padding and border from affecting element width. (https://github.com/mozdevs/cssremedy/issues/4)
2. Allow adding a border to an element by just adding a border-width. (https://github.com/tailwindcss/tailwindcss/pull/116)
*/

*,
::before,
::after {
  box-sizing: border-box; /* 1 */
  border-width: 0; /* 2 */
  border-style: solid; /* 2 */
  border-color: #e5e7eb; /* 2 */
}

::before,
::after {
  --tw-content: '';
}

/*
1. Use a consistent sensible line-height in all browsers.
2. Prevent adjustments of font size after orientation changes in iOS.
3. Use a more readable tab size.
4. Use the user's configured `sans` font-family by default.
5. Use the user's configured `sans` font-feature-settings by default.
6. Use the user's configured `sans` font-variation-settings by default.
7. Disable tap highlights on iOS
*/

html,
:host {
  line-height: 1.5; /* 1 */
  -webkit-text-size-adjust: 100%; /* 2 */
  -moz-tab-size: 4; /* 3 */
  -o-tab-size: 4;
     tab-size: 4; /* 3 */
  font-family: "Inter", -apple-system, BlinkMacSystemFont, avenir next, avenir, segoe ui, helvetica neue, helvetica, Cantarell, Ubuntu, roboto, noto, arial, sans-serif; /* 4 */
  font-feature-settings: normal; /* 5 */
  font-variation-settings: normal; /* 6 */
  -webkit-tap-highlight-color: transparent; /* 7 */
}

/*
1. Remove the margin in all browsers.
2. Inherit line-height from `html` so users can set them as a class directly on the `html` element.
*/

body {
  margin: 0; /* 1 */
  line-height: inherit; /* 2 */
}

/*
1. Add the correct height in Firefox.
2. Correct the inheritance of border color in Firefox. (https://bugzilla.mozilla.org/show_bug.cgi?id=190655)
3. Ensure horizontal rules are visible by default.
*/

hr {
  height: 0; /* 1 */
  color: inherit; /* 2 */
  border-top-width: 1px; /* 3 */
}

/*
Add the correct text decoration in Chrome, Edge, and Safari.
*/

abbr:where([title]) {
  -webkit-text-decoration: underline dotted;
          text-decoration: underline dotted;
}

/*
Remove the default font size and weight for headings.
*/

h1,
h2,
h3,
h4,
h5,
h6 {
  font-size: inherit;
  font-weight: inherit;
}

/*
Reset links to optimize for opt-in styling instead of opt-out.
*/

a {
  color: inherit;
  text-decoration: inherit;
}

/*
Add the correct font weight in Edge and Safari.
*/

b,
strong {
  font-weight: bolder;
}

/*
1. Use the user's configured `mono` font-family by default.
2. Use the user's configured `mono` font-feature-settings by default.
3. Use the user's configured `mono` font-variation-settings by default.
4. Correct the odd `em` font sizing in all browsers.
*/

code,
kbd,
samp,
pre {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace; /* 1 */
  font-feature-settings: normal; /* 2 */
  font-variation-settings: normal; /* 3 */
  font-size: 1em; /* 4 */
}

/*
Add the correct font size in all browsers.
*/

small {
  font-size: 80%;
}

/*
Prevent `sub` and `sup` elements from affecting the line height in all browsers.
*/

sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sub {
  bottom: -0.25em;
}

sup {
  top: -0.5em;
}

/*
1. Remove text indentation from table contents in Chrome and Safari. (https://bugs.chromium.org/p/chromium/issues/detail?id=999088, https://bugs.webkit.org/show_bug.cgi?id=201297)
2. Correct table border color inheritance in all Chrome and Safari. (https://bugs.chromium.org/p/chromium/issues/detail?id=935729, https://bugs.webkit.org/show_bug.cgi?id=195016)
3. Remove gaps between table borders by default.
*/

table {
  text-indent: 0; /* 1 */
  border-color: inherit; /* 2 */
  border-collapse: collapse; /* 3 */
}

/*
1. Change the font styles in all browsers.
2. Remove the margin in Firefox and Safari.
3. Remove default padding in all browsers.
*/

button,
input,
optgroup,
select,
textarea {
  font-family: inherit; /* 1 */
  font-feature-settings: inherit; /* 1 */
  font-variation-settings: inherit; /* 1 */
  font-size: 100%; /* 1 */
  font-weight: inherit; /* 1 */
  line-height: inherit; /* 1 */
  letter-spacing: inherit; /* 1 */
  color: inherit; /* 1 */
  margin: 0; /* 2 */
  padding: 0; /* 3 */
}

/*
Remove the inheritance of text transform in Edge and Firefox.
*/

button,
select {
  text-transform: none;
}

/*
1. Correct the inability to style clickable types in iOS and Safari.
2. Remove default button styles.
*/

button,
input:where([type='button']),
input:where([type='reset']),
input:where([type='submit']) {
  -webkit-appearance: button; /* 1 */
  background-color: transparent; /* 2 */
  background-image: none; /* 2 */
}

/*
Use the modern Firefox focus style for all focusable elements.
*/

:-moz-focusring {
  outline: auto;
}

/*
Remove the additional `:invalid` styles in Firefox. (https://github.com/mozilla/gecko-dev/blob/2f9eacd9d3d995c937b4251a5557d95d494c9be1/layout/style/res/forms.css#L728-L737)
*/

:-moz-ui-invalid {
  box-shadow: none;
}

/*
Add the correct vertical alignment in Chrome and Firefox.
*/

progress {
  vertical-align: baseline;
}

/*
Correct the cursor style of increment and decrement buttons in Safari.
*/

::-webkit-inner-spin-button,
::-webkit-outer-spin-button {
  height: auto;
}

/*
1. Correct the odd appearance in Chrome and Safari.
2. Correct the outline style in Safari.
*/

[type='search'] {
  -webkit-appearance: textfield; /* 1 */
  outline-offset: -2px; /* 2 */
}

/*
Remove the inner padding in Chrome and Safari on macOS.
*/

::-webkit-search-decoration {
  -webkit-appearance: none;
}

/*
1. Correct the inability to style clickable types in iOS and Safari.
2. Change font properties to `inherit` in Safari.
*/

::-webkit-file-upload-button {
  -webkit-appearance: button; /* 1 */
  font: inherit; /* 2 */
}

/*
Add the correct display in Chrome and Safari.
*/

summary {
  display: list-item;
}

/*
Removes the default spacing and border for appropriate elements.
*/

blockquote,
dl,
dd,
h1,
h2,
h3,
h4,
h5,
h6,
hr,
figure,
p,
pre {
  margin: 0;
}

fieldset {
  margin: 0;
  padding: 0;
}

legend {
  padding: 0;
}

ol,
ul,
menu {
  list-style: none;
  margin: 0;
  padding: 0;
}

/*
Reset default styling for dialogs.
*/
dialog {
  padding: 0;
}

/*
Prevent resizing textareas horizontally by default.
*/

textarea {
  resize: vertical;
}

/*
1. Reset the default placeholder opacity in Firefox. (https://github.com/tailwindlabs/tailwindcss/issues/3300)
2. Set the default placeholder color to the user's configured gray 400 color.
*/

input::-moz-placeholder, textarea::-moz-placeholder {
  opacity: 1; /* 1 */
  color: #9ca3af; /* 2 */
}

input::placeholder,
textarea::placeholder {
  opacity: 1; /* 1 */
  color: #9ca3af; /* 2 */
}

/*
Set the default cursor for buttons.
*/

button,
[role="button"] {
  cursor: pointer;
}

/*
Make sure disabled buttons don't get the pointer cursor.
*/
:disabled {
  cursor: default;
}

/*
1. Make replaced elements `display: block` by default. (https://github.com/mozdevs/cssremedy/issues/14)
2. Add `vertical-align: middle` to align replaced elements more sensibly by default. (https://github.com/jensimmons/cssremedy/issues/14#issuecomment-634934210)
   This can trigger a poorly considered lint error in some tools but is included by design.
*/

img,
svg,
video,
canvas,
audio,
iframe,
embed,
object {
  display: block; /* 1 */
  vertical-align: middle; /* 2 */
}

/*
Constrain images and videos to the parent width and preserve their intrinsic aspect ratio. (https://github.com/mozdevs/cssremedy/issues/14)
*/

img,
video {
  max-width: 100%;
  height: auto;
}

/* Make elements with the HTML hidden attribute stay hidden by default */
[hidden]:where(:not([hidden="until-found"])) {
  display: none;
}
  :root {
    --site-font-latin: "Site Inter", "Inter", "IBM Plex Sans", "Helvetica Neue", "Segoe UI", sans-serif;
    --site-font-cjk: "PingFang SC", "Hiragino Sans GB", "Noto Sans CJK SC", "Source Han Sans SC", "Microsoft YaHei", sans-serif;
    --site-font-sans: var(--site-font-latin), var(--site-font-cjk);
    --banner-link-rgb: 135, 206, 235;
    --banner-link-opacity-scale: 1;
    --banner-link-opacity-light-factor: 1;
    --banner-link-opacity-dark-boost: 1;
    --banner-link-opacity-effective-scale: calc(var(--banner-link-opacity-scale) * var(--banner-link-opacity-light-factor) * var(--banner-link-opacity-dark-boost));
    --sun-halo-center-y: calc(100% - 36px);
    --light-grad-color-1: rgba(204, 210, 218, 0.42);
    --light-grad-color-2: rgba(217, 222, 229, 0.3);
    --light-grad-color-3: rgba(231, 235, 240, 0.2);
    --light-grad-color-4: rgba(245, 247, 250, 0.12);
    --light-grad-stop-2: 130px;
    --light-grad-stop-3: 270px;
    --light-grad-stop-4: 430px;
    --light-grad-stop-5: 560px;
    --dark-grad-stop-2: 340px;
    --dark-grad-stop-3: 680px;
    --dark-grad-stop-4: 1440px;
  }

html.dark {
    --banner-link-opacity-light-factor: 1;
    --banner-link-opacity-dark-boost: 1;
}

  body {
  text-align: justify;
  font-size: 1rem;
  line-height: 1.5rem;
  --tw-text-opacity: 1;
  color: rgb(55 65 81 / var(--tw-text-opacity, 1));
    font-family: var(--site-font-sans);
    background: transparent;
    min-height: 100vh;
    min-height: 100svh;
    min-height: 100dvh;
}

  html,
  body,
  #content {
    -webkit-user-select: none;
    -moz-user-select: none;
         user-select: none;
  }

  input,
  textarea {
    -webkit-user-select: text;
    -moz-user-select: text;
         user-select: text;
  }

  /* 优先由浏览器优化断行，减少孤行/寡行 */
  #content p,
  #content li,
  #content blockquote {
    line-break: strict;
    text-wrap: pretty;
    hanging-punctuation: allow-end;
  }

  #content h1,
  #content h2,
  #content h3,
  #content h4 {
    text-wrap: balance;
  }

  button,
  input,
  select,
  textarea {
    font-family: var(--site-font-sans);
  }

  html,
  body {
    min-height: 100%;
  }

  html {
    min-height: 100vh;
    min-height: 100svh;
    min-height: 100dvh;
    scroll-padding-top: calc(var(--site-sticky-bar-height, 0px) + 0.35rem);
    background-color: #fdfaf3;
    background-image:
      repeating-linear-gradient(
        90deg,
        rgba(191, 164, 132, 0.09) 0px,
        rgba(191, 164, 132, 0.09) 1px,
        rgba(255, 255, 255, 0) 1px,
        rgba(255, 255, 255, 0) 8px
      );
    background-repeat: no-repeat;
    background-size: 100% 100%;
  }

  /* 顶部安全区兜底，避免移动端地址栏/刘海区域出现白条 */
  html::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: env(safe-area-inset-top, 0px);
    pointer-events: none;
    z-index: 45;
    background: linear-gradient(
      180deg,
      rgba(248, 242, 227, 0.92) 0%,
      rgba(248, 242, 227, 0.58) 58%,
      rgba(248, 242, 227, 0) 100%
    );
  }

  /* Corner 页面：由 html 统一绘制全屏背景，避免两侧与中间分层重绘不同步 */
  html.page-corner {
    background-color: #fdfaf3;
    background-image:
      repeating-linear-gradient(
        90deg,
        rgba(191, 164, 132, 0.09) 0px,
        rgba(191, 164, 132, 0.09) 1px,
        rgba(255, 255, 255, 0) 1px,
        rgba(255, 255, 255, 0) 8px
      );
    background-repeat: no-repeat;
    background-size: 100% 100%;
  }

  body.page-corner {
    background: transparent;
  }

  /* 暗色模式 */
  .dark body {
  --tw-text-opacity: 1;
  color: rgb(229 231 235 / var(--tw-text-opacity, 1));
    background: transparent;
}

  html.dark {
    background-color: #35312e;
    background-image:
      repeating-linear-gradient(
        90deg,
        rgba(118, 108, 99, 0.075) 0px,
        rgba(118, 108, 99, 0.075) 1px,
        rgba(0, 0, 0, 0) 1px,
        rgba(0, 0, 0, 0) 7px
      );
    background-repeat: repeat;
    background-size: auto;
    background-position: top left;
  }

  html.dark::before {
    background: linear-gradient(
      180deg,
      rgba(74, 58, 45, 0.9) 0%,
      rgba(74, 58, 45, 0.56) 58%,
      rgba(74, 58, 45, 0) 100%
    );
  }

  html.dark.page-corner {
    background-color: #35312e;
    background-image:
      repeating-linear-gradient(
        90deg,
        rgba(118, 108, 99, 0.075) 0px,
        rgba(118, 108, 99, 0.075) 1px,
        rgba(0, 0, 0, 0) 1px,
        rgba(0, 0, 0, 0) 7px
      );
    background-repeat: repeat;
    background-size: auto;
    background-position: top left;
  }

  /* Corner 页面：降低展开卡片时局部重绘成本，不改变版面间距 */
  body.page-corner #content details {
    contain: paint;
  }

  /* 移动端避免星空背景被整体缩小导致“压扁/变小”观感 */
  @media (max-width: 911px) {
    :root {
      --light-grad-stop-2: 90px;
      --light-grad-stop-3: 190px;
      --light-grad-stop-4: 310px;
      --light-grad-stop-5: 420px;
      --dark-grad-stop-2: 250px;
      --dark-grad-stop-3: 500px;
      --dark-grad-stop-4: 980px;
    }

    html.dark {
      background-size: 100% 100%, auto, 100% 100%, 1020px auto;
      background-position: center top, top left, center top, center bottom;
    }

    html.dark.page-corner {
      background-size: 100% 100%, auto, 100% 100%, 1020px auto;
      background-position: center top, top left, center top, center bottom;
    }
  }
  
  h1, h2, h3, h4, h5 {
  margin-bottom: 0px;
  padding-top: 0.5rem;
  font-weight: 700;
  --tw-text-opacity: 1;
  color: rgb(55 65 81 / var(--tw-text-opacity, 1));
}
  
  h1:is(.dark *), h2:is(.dark *), h3:is(.dark *), h4:is(.dark *), h5:is(.dark *) {
  --tw-text-opacity: 1;
  color: rgb(229 231 235 / var(--tw-text-opacity, 1));
}

  h6 {
  margin-bottom: 0px;
  padding-top: 1.25rem;
  font-weight: 700;
  --tw-text-opacity: 1;
  color: rgb(55 65 81 / var(--tw-text-opacity, 1));
}

  h6:is(.dark *) {
  --tw-text-opacity: 1;
  color: rgb(229 231 235 / var(--tw-text-opacity, 1));
}

  h1 {
  font-size: 1.25rem;
  line-height: 2.5rem;
}
  h2 {
  font-size: 1rem;
  line-height: 2.5rem;
}
  h3 {
  font-size: 1rem;
  line-height: 1.5rem;
}
  h4 {
  font-size: 1rem;
  line-height: 1.5rem;
}
  h5 {
  font-size: 1rem;
  line-height: 1.5rem;
  line-height: 1.375;
}
  h6 {
  font-size: 1.25rem;
  line-height: 2.5rem;
}

  hr {
  --tw-border-opacity: 1;
  border-color: rgb(229 231 235 / var(--tw-border-opacity, 1));
}

  hr:is(.dark *) {
  --tw-border-opacity: 1;
  border-color: rgb(55 65 81 / var(--tw-border-opacity, 1));
}

  p, hr, pre, dl {
  margin-bottom: 1.25rem;
  text-align: justify;
}

  article > h1 {
  margin-bottom: 0.25rem;
}

  code {
  border-radius: 0.5rem;
  border-width: 1px;
  --tw-bg-opacity: 1;
  background-color: rgb(229 231 235 / var(--tw-bg-opacity, 1));
  padding-left: 0.5rem;
  padding-right: 0.5rem;
  padding-top: 0.25rem;
  padding-bottom: 0.25rem;
  font-size: 0.875rem;
  line-height: 1.25rem;
}

  code:is(.dark *) {
  --tw-border-opacity: 1;
  border-color: rgb(55 65 81 / var(--tw-border-opacity, 1));
  --tw-bg-opacity: 1;
  background-color: rgb(55 65 81 / var(--tw-bg-opacity, 1));
}

  pre {
  overflow: auto;
  border-radius: 0.5rem;
  border-width: 1px;
  padding: 1.25rem;
  font-size: 1rem;
  line-height: 1.5rem;
}

  pre:is(.dark *) {
  --tw-border-opacity: 1;
  border-color: rgb(55 65 81 / var(--tw-border-opacity, 1));
}

  pre code {
  border-width: 0px;
  background-color: transparent;
  padding-left: 0px;
  padding-right: 0px;
}

  figure {
  margin-bottom: 1.25rem;
}

  figcaption {
  margin-top: 0.5rem;
  font-size: 0.875rem;
  line-height: 1.25rem;
  --tw-text-opacity: 1;
  color: rgb(156 163 175 / var(--tw-text-opacity, 1));
}

  figcaption:is(.dark *) {
  --tw-text-opacity: 1;
  color: rgb(156 163 175 / var(--tw-text-opacity, 1));
}

  blockquote {
  margin-bottom: 1.25rem;
  border-left-width: 4px;
  --tw-border-opacity: 1;
  border-color: rgb(209 213 219 / var(--tw-border-opacity, 1));
  padding-top: 0px;
  padding-bottom: 0px;
  padding-left: 1rem;
  font-size: 1rem;
  line-height: 1.5rem;
  font-style: italic;
  --tw-text-opacity: 1;
  color: rgb(156 163 175 / var(--tw-text-opacity, 1));
}

  blockquote:is(.dark *) {
  --tw-border-opacity: 1;
  border-color: rgb(107 114 128 / var(--tw-border-opacity, 1));
  --tw-text-opacity: 1;
  color: rgb(156 163 175 / var(--tw-text-opacity, 1));
}

  ul, ol {
  margin-bottom: 1.25rem;
  margin-left: 1.5rem;
}
  ol {
  list-style-type: decimal;
}
  ul {
  list-style-type: disc;
}

  nav ul, footer ul {
  margin-left: 0px;
  list-style-type: none;
}

  header h1 {
  margin-bottom: 0px;
}

  table {
  margin-bottom: 1.25rem;
  width: 100%;
  border-collapse: separate;
  --tw-border-spacing-x: 0px;
  --tw-border-spacing-y: 0px;
  border-spacing: var(--tw-border-spacing-x) var(--tw-border-spacing-y);
  border-radius: 0.375rem;
  border-width: 1px;
}

  thead th {
  border-bottom-width: 2px;
  border-right-width: 1px;
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
  padding-left: 0.75rem;
  padding-right: 0.75rem;
}

  thead th:last-child {
  border-right-width: 0px;
}

  tbody td {
  border-bottom-width: 1px;
  border-right-width: 1px;
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
  padding-left: 0.75rem;
  padding-right: 0.75rem;
  font-size: 1rem;
  line-height: 1.5rem;
}

  tbody td:last-child {
  border-right-width: 0px;
}

  tbody tr:last-child td {
  border-bottom-width: 0px;
}

  dt {
  font-weight: 700;
  font-style: italic;
}

  dd {
  padding-left: 2.5rem;
}

  header nav > ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.75rem;
  font-size: 0.75rem;
  line-height: 1rem;
  font-weight: 600;
}

  nav a, footer a {
  font-weight: 600;
  --tw-text-opacity: 1;
  color: rgb(156 163 175 / var(--tw-text-opacity, 1));
}

  nav a:hover, footer a:hover {
  --tw-text-opacity: 1;
  color: rgb(55 65 81 / var(--tw-text-opacity, 1));
}

  nav a:is(.dark *), footer a:is(.dark *) {
  --tw-text-opacity: 1;
  color: rgb(156 163 175 / var(--tw-text-opacity, 1));
}

  nav a:hover:is(.dark *), footer a:hover:is(.dark *) {
  --tw-text-opacity: 1;
  color: rgb(229 231 235 / var(--tw-text-opacity, 1));
}

  footer {
  font-size: 0.75rem;
  line-height: 1rem;
}
.order-1 {
  order: 1;
}
.order-2 {
  order: 2;
}
.mx-auto {
  margin-left: auto;
  margin-right: auto;
}
.mb-5 {
  margin-bottom: 1.25rem;
}
.mt-2 {
  margin-top: 0.5rem;
}
.block {
  display: block;
}
.flex {
  display: flex;
}
.grid {
  display: grid;
}
.h-20 {
  height: 5rem;
}
.h-4 {
  height: 1rem;
}
.w-20 {
  width: 5rem;
}
.w-4 {
  width: 1rem;
}
.max-w-screen-md {
  max-width: 768px;
}
.flex-none {
  flex: none;
}
.grid-cols-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.flex-row {
  flex-direction: row;
}
.flex-col {
  flex-direction: column;
}
.items-center {
  align-items: center;
}
.justify-end {
  justify-content: flex-end;
}
.justify-center {
  justify-content: center;
}
.gap-1 {
  gap: 0.25rem;
}
.gap-10 {
  gap: 2.5rem;
}
.gap-2 {
  gap: 0.5rem;
}
.gap-3 {
  gap: 0.75rem;
}
.gap-5 {
  gap: 1.25rem;
}
.overflow-hidden {
  overflow: hidden;
}
.scroll-smooth {
  scroll-behavior: smooth;
}
.rounded-full {
  border-radius: 9999px;
}
.stroke-2 {
  stroke-width: 2;
}
.px-2\.5 {
  padding-left: 0.625rem;
  padding-right: 0.625rem;
}
.py-10 {
  padding-top: 2.5rem;
  padding-bottom: 2.5rem;
}
.py-12 {
  padding-top: 3rem;
  padding-bottom: 3rem;
}
.py-2 {
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}
.pb-10 {
  padding-bottom: 2.5rem;
}
.pb-14 {
  padding-bottom: 3.5rem;
}
.pt-16 {
  padding-top: 4rem;
}
.pt-5 {
  padding-top: 1.25rem;
}
.text-2xl {
  font-size: 1.5rem;
  line-height: 2rem;
}
.text-xs {
  font-size: 0.75rem;
  line-height: 1rem;
}
.font-extrabold {
  font-weight: 800;
}
.font-normal {
  font-weight: 400;
}
.font-semibold {
  font-weight: 600;
}
.text-gray-500 {
  --tw-text-opacity: 1;
  color: rgb(107 114 128 / var(--tw-text-opacity, 1));
}
nav a.active {
  --tw-text-opacity: 1;
  color: rgb(55 65 81 / var(--tw-text-opacity, 1));
}
nav a.active:is(.dark *) {
  --tw-text-opacity: 1;
  color: rgb(229 231 235 / var(--tw-text-opacity, 1));
}
/* Content overrides */
#content {
  font-size: 0.99rem;
    line-height: 1.85;
}
#content a {
  --tw-text-opacity: 1;
  color: rgb(55 65 81 / var(--tw-text-opacity, 1));
  text-decoration-line: underline;
}
#content a:hover {
  --tw-text-opacity: 1;
  color: rgb(156 163 175 / var(--tw-text-opacity, 1));
}
#content a:is(.dark *) {
  --tw-text-opacity: 1;
  color: rgb(229 231 235 / var(--tw-text-opacity, 1));
}
#content a:hover:is(.dark *) {
  --tw-text-opacity: 1;
  color: rgb(156 163 175 / var(--tw-text-opacity, 1));
}
#content .date {
  font-size: 0.75rem;
  line-height: 1rem;
  font-weight: 600;
  --tw-text-opacity: 1;
  color: rgb(156 163 175 / var(--tw-text-opacity, 1));
}
#content h5 > a {
  font-size: 0.99rem;
  font-weight: 600;
  --tw-text-opacity: 1;
  color: rgb(55 65 81 / var(--tw-text-opacity, 1));
  text-decoration-line: none;
}
#content h5 > a:hover {
  --tw-text-opacity: 1;
  color: rgb(55 65 81 / var(--tw-text-opacity, 1));
  text-decoration-line: underline;
}
#content h5 > a:is(.dark *) {
  --tw-text-opacity: 1;
  color: rgb(229 231 235 / var(--tw-text-opacity, 1));
}
#content h5 > a:hover:is(.dark *) {
  --tw-text-opacity: 1;
  color: rgb(229 231 235 / var(--tw-text-opacity, 1));
}
#content .meta {
  margin-top: 0.5rem;
  display: flex;
  font-size: 0.75rem;
  line-height: 1rem;
  font-weight: 600;
  --tw-text-opacity: 1;
  color: rgb(156 163 175 / var(--tw-text-opacity, 1));
}
#content .meta:is(.dark *) {
  --tw-text-opacity: 1;
  color: rgb(156 163 175 / var(--tw-text-opacity, 1));
}
#content .meta a {
  text-decoration-line: none;
}
#content .description {
  font-size: 0.875rem;
  line-height: 1.25rem;
  font-weight: 600;
  --tw-text-opacity: 1;
  color: rgb(156 163 175 / var(--tw-text-opacity, 1));
}
#content .description:is(.dark *) {
  --tw-text-opacity: 1;
  color: rgb(156 163 175 / var(--tw-text-opacity, 1));
}
#content .read-more {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  line-height: 1.25rem;
  font-weight: 600;
  --tw-text-opacity: 1;
  color: rgb(4 120 87 / var(--tw-text-opacity, 1));
  text-decoration-line: none;
}
#content .read-more:hover {
  --tw-text-opacity: 1;
  color: rgb(5 150 105 / var(--tw-text-opacity, 1));
}
#content .read-more:is(.dark *) {
  --tw-text-opacity: 1;
  color: rgb(110 231 183 / var(--tw-text-opacity, 1));
}
#content .read-more:hover:is(.dark *) {
  --tw-text-opacity: 1;
  color: rgb(167 243 208 / var(--tw-text-opacity, 1));
}
#content hr {
  border-top-width: 1px;
  --tw-border-opacity: 1;
  border-color: rgb(209 213 219 / var(--tw-border-opacity, 1));
}
#content hr:is(.dark *) {
  --tw-border-opacity: 1;
  border-color: rgb(107 114 128 / var(--tw-border-opacity, 1));
}
#content hr { 
  margin-top: 2rem; 
  margin-bottom: 2rem; 
}
/* 站内锚点（含脚注回跳）落点与吸顶导航保持安全间距 */
#content :target,
  #content sup[id^="fnref"],
  #content a[id^="fnref"] {
    scroll-margin-top: calc(var(--site-sticky-bar-height, 0px));
  }
#content .alert-box {
  margin-bottom: 1.25rem;
  border-top-width: 4px;
  padding-left: 1rem;
  padding-right: 1rem;
  padding-top: 1rem;
  padding-bottom: 0.25rem;
}
#content .alert-box .alert-title {
  margin-bottom: 0.5rem;
  padding-top: 0px;
  padding-bottom: 0px;
  padding-left: 0px;
  padding-right: 0px;
  font-size: 1.125rem;
  line-height: 1.75rem;
  font-weight: 600;
  color: inherit;
}
#content .alert-box a {
  color: inherit;
}
#content .alert-box a:hover {
  color: inherit;
}
#content .alert-box .alert-icon {
  margin-right: 0.5rem;
  height: 1.75rem;
  width: 1.75rem;
}
#content .alert-box.warning {
  --tw-border-opacity: 1;
  border-color: rgb(234 179 8 / var(--tw-border-opacity, 1));
  --tw-bg-opacity: 1;
  background-color: rgb(254 249 195 / var(--tw-bg-opacity, 1));
  --tw-text-opacity: 1;
  color: rgb(113 63 18 / var(--tw-text-opacity, 1));
}
#content .alert-box.info {
  --tw-border-opacity: 1;
  border-color: rgb(59 130 246 / var(--tw-border-opacity, 1));
  --tw-bg-opacity: 1;
  background-color: rgb(219 234 254 / var(--tw-bg-opacity, 1));
  --tw-text-opacity: 1;
  color: rgb(30 58 138 / var(--tw-text-opacity, 1));
}
#content .alert-box.success {
  --tw-border-opacity: 1;
  border-color: rgb(34 197 94 / var(--tw-border-opacity, 1));
  --tw-bg-opacity: 1;
  background-color: rgb(220 252 231 / var(--tw-bg-opacity, 1));
  --tw-text-opacity: 1;
  color: rgb(20 83 45 / var(--tw-text-opacity, 1));
}
#content .alert-box.error {
  --tw-border-opacity: 1;
  border-color: rgb(239 68 68 / var(--tw-border-opacity, 1));
  --tw-bg-opacity: 1;
  background-color: rgb(254 226 226 / var(--tw-bg-opacity, 1));
  --tw-text-opacity: 1;
  color: rgb(127 29 29 / var(--tw-text-opacity, 1));
}
#content .table-of-contents {
  border-radius: 0.5rem;
  border-width: 1px;
  --tw-bg-opacity: 1;
  background-color: rgb(243 244 246 / var(--tw-bg-opacity, 1));
  padding: 1rem;
  --tw-text-opacity: 1;
  color: rgb(55 65 81 / var(--tw-text-opacity, 1));
}
#content .table-of-contents:is(.dark *) {
  --tw-border-opacity: 1;
  border-color: rgb(55 65 81 / var(--tw-border-opacity, 1));
  --tw-bg-opacity: 1;
  background-color: rgb(31 41 55 / var(--tw-bg-opacity, 1));
  --tw-text-opacity: 1;
  color: rgb(209 213 219 / var(--tw-text-opacity, 1));
}
#content .table-of-contents #TableOfContents ul {
  margin-left: 1rem;
  list-style-position: inside;
  list-style-type: decimal;
}
#content .table-of-contents #TableOfContents ul li {
  margin-top: 0.5rem;
  margin-bottom: 0.5rem;
  font-size: 1rem;
  line-height: 1.5rem;
}
#content .table-of-contents #TableOfContents ul li a {
  font-weight: 400;
  --tw-text-opacity: 1;
  color: rgb(55 65 81 / var(--tw-text-opacity, 1));
  text-decoration-line: none;
}
#content .table-of-contents #TableOfContents ul li a:hover {
  --tw-text-opacity: 1;
  color: rgb(5 150 105 / var(--tw-text-opacity, 1));
  text-decoration-line: underline;
}
#content .table-of-contents #TableOfContents ul li a:is(.dark *) {
  --tw-text-opacity: 1;
  color: rgb(209 213 219 / var(--tw-text-opacity, 1));
}
#content .table-of-contents #TableOfContents ul li a:hover:is(.dark *) {
  --tw-text-opacity: 1;
  color: rgb(167 243 208 / var(--tw-text-opacity, 1));
}
#content .pagination-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration-line: none;
    border: none; /* 移除按钮的边框 */
    background: none; /* 移除背景 */
    padding: 0; /* 移除内边距 */
    display: inline-block; /* 保证图像内联显示 */
}
/* 默认透明度为 0.7 */
#content .pagination-button img {
    display: inline-block; /* 使图像显示为内联块元素 */
    height: 40px; /* 设置图像大小，根据需要调整 */
    width: 40px; /* 根据需要调整图像大小 */
    opacity: 0.8; /* 默认透明度 */
  }
/* 鼠标悬浮且按钮可点击时，透明度变为100% */
#content .pagination-button:hover img {
    opacity: 1; /* 悬浮时透明度为100% */
  }
/* 为禁用状态下的按钮设置透明度 */
#content .pagination-button.pointer-events-none img,
  #content .pagination-button.is-disabled img {
    opacity: 0.8; /* 禁用时的透明度，保持为70% */
  }
#content .taxonomy-list {
  margin-left: 0px;
  display: flex;
  list-style-type: none;
  flex-direction: row;
  flex-wrap: wrap;
  -moz-column-gap: 0.5rem;
       column-gap: 0.5rem;
  row-gap: 1.5rem;
}
#content .taxonomy-list a {
  border-radius: 0.5rem;
  --tw-bg-opacity: 1;
  background-color: rgb(243 244 246 / var(--tw-bg-opacity, 1));
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
  padding-left: 0.75rem;
  padding-right: 0.75rem;
  font-size: 1rem;
  line-height: 1.5rem;
  font-weight: 400;
  --tw-text-opacity: 1;
  color: rgb(31 41 55 / var(--tw-text-opacity, 1));
  text-decoration-line: none;
}
#content .taxonomy-list a:hover {
  --tw-bg-opacity: 1;
  background-color: rgb(229 231 235 / var(--tw-bg-opacity, 1));
}
#content .taxonomy-list a:is(.dark *) {
  --tw-bg-opacity: 1;
  background-color: rgb(31 41 55 / var(--tw-bg-opacity, 1));
  --tw-text-opacity: 1;
  color: rgb(243 244 246 / var(--tw-text-opacity, 1));
}
#content .taxonomy-list a:hover:is(.dark *) {
  --tw-bg-opacity: 1;
  background-color: rgb(55 65 81 / var(--tw-bg-opacity, 1));
}
#content .tags-list {
  row-gap: 0.5rem;
}
#content span.task-list + ul {
  list-style-type: none;
}
/* Misc */
#site-title {
  text-align: center;
  font-size: 2.25rem;
  line-height: 2.5rem;
  font-weight: 800;
  --tw-text-opacity: 1;
  color: rgb(31 41 55 / var(--tw-text-opacity, 1));
}
#site-title:is(.dark *) {
  --tw-text-opacity: 1;
  color: rgb(243 244 246 / var(--tw-text-opacity, 1));
}
@media (min-width: 640px) {

  #site-title {
    text-align: left;
  }
}
.header {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  padding-top: 3rem;
  padding-bottom: 1.5rem;
}
@media (min-width: 640px) {

  .header {
    flex-direction: row;
    align-items: center;
    padding-bottom: 1rem;
  }
}
.header .toggle-theme {
  height: 2.25rem;
  width: 2.25rem;
}
.title-large {
  font-size: 1.25rem;
  line-height: 1.75rem;
  font-weight: 700;
  --tw-text-opacity: 1;
  color: rgb(28 25 23 / var(--tw-text-opacity, 1));
}
.title-large:is(.dark *) {
  --tw-text-opacity: 1;
  color: rgb(243 244 246 / var(--tw-text-opacity, 1));
}
.title-small {
  font-size: 1.125rem;
  line-height: 1.75rem;
  font-weight: 700;
  --tw-text-opacity: 1;
  color: rgb(17 24 39 / var(--tw-text-opacity, 1));
}
.title-small:is(.dark *) {
  --tw-text-opacity: 1;
  color: rgb(243 244 246 / var(--tw-text-opacity, 1));
}
summary {
  cursor: pointer;
  font-weight: 700;
  padding: 6px 12px;
  border: 1px solid #d1d5db;  /* 白天模式边框 */
  border-radius: 12px;
  list-style: none;
  position: relative;
  margin-bottom: 0.75rem;
}
summary::before {
  content: "🪄";
  display: inline-block;
  margin-right: 8px;
  font-size: 0.99rem;
  vertical-align: middle;
  transition: transform 0.2s;
}
details[open] summary::before {
  transform: rotate(90deg);
}
html.dark summary {
  border: 1px solid #6b7280;  /* 夜间模式边框 */
}

@font-face {
  font-family: "Site Inter";
  src: url("/fonts/inter-v12-latin-regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Site Inter";
  src: url("/fonts/inter-v12-latin-500.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Site Inter";
  src: url("/fonts/inter-v12-latin-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Site Inter";
  src: url("/fonts/inter-v12-latin-700.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* Corner list styles are kept outside @layer to avoid purge dropping custom selectors */
#content .corner-entry-list {
  display: flex;
  flex-direction: column;
  gap: 0.32rem;
  padding-top: 0.45rem;
}

#content .corner-tag-switch {
  margin-top: 0.9rem;
  margin-bottom: 0.9rem;
  flex-wrap: wrap;
}

#content .corner-entry-tags {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 0.36rem;
  margin-top: 0.04rem;
  margin-bottom: 0.22rem;
}

#content .corner-entry-tag {
  cursor: pointer;
}

#content .corner-tag-switch .collection-layout-btn,
#content .corner-entry-tag.collection-layout-btn {
  background: rgba(255, 253, 249, 0.92);
}

#content .corner-tag-switch .collection-layout-btn.is-active,
#content .corner-entry-tag.collection-layout-btn.is-active {
  background: rgba(255, 250, 244, 0.96);
}

#content .corner-entry-item {
  margin: 0;
  --corner-entry-text-start: calc(0.15rem + 0.99rem + 8px + 1.3rem);
  scroll-margin-top: calc(var(--site-sticky-bar-height, 0px) + 0.9rem);
}

#content .corner-entry-summary {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  margin-bottom: 0.38rem;
  padding: 0.34rem 0.15rem 0.34rem;
  border: none;
  border-bottom: 1.5px solid rgba(156, 163, 175, 0.42);
  border-radius: 0;
}

#content .corner-entry-title {
  margin-left: 0.25rem;
  flex: 1 1 auto;
}

#content .corner-entry-date {
  margin-left: auto;
  text-align: right;
  color: #9ca3af;
  font-size: 0.75rem;
  line-height: 1rem;
  font-weight: 600;
  white-space: nowrap;
}

#content .corner-entry-body {
  padding-left: var(--corner-entry-text-start);
  padding-right: 0.5rem;
  margin-top: 1.2rem;
  margin-bottom: 1.4rem;
}

#content .corner-entry-body a {
  --link-highlight-color: rgba(var(--banner-link-rgb), calc(0.74 * var(--banner-link-opacity-effective-scale)));
  color: inherit;
  text-decoration: none;
  background-image: none;
  background-repeat: no-repeat;
  background-size: 100% 100%;
  background-position: 0 86%;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
  transition: color 160ms ease;
}

#content .corner-entry-body a:hover,
#content .corner-entry-body a:focus-visible {
  color: inherit;
  background-image: linear-gradient(
    to top,
    var(--link-highlight-color) 0%,
    var(--link-highlight-color) 36%,
    transparent 36%
  );
}

body.is-home #content > section a {
  --link-highlight-color: rgba(var(--banner-link-rgb), calc(0.72 * var(--banner-link-opacity-effective-scale)));
  color: inherit;
  text-decoration: none;
  background-image: none;
  background-repeat: no-repeat;
  background-size: 100% 100%;
  background-position: 0 86%;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
  transition: color 160ms ease;
}

body.is-home #content > section a:hover,
body.is-home #content > section a:focus-visible {
  color: inherit;
  background-image: linear-gradient(
    to top,
    var(--link-highlight-color) 0%,
    var(--link-highlight-color) 36%,
    transparent 36%
  );
}

body[data-section="posts"]:not(.page-post-single) #content .section-list-default h5 > a {
  --link-highlight-color: rgba(var(--banner-link-rgb), 0);
  text-decoration: none;
  background-image: linear-gradient(
    to top,
    var(--link-highlight-color) 0%,
    var(--link-highlight-color) 36%,
    transparent 36%
  );
  background-repeat: no-repeat;
  background-size: 100% 100%;
  background-position: 0 86%;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
  transition: color 160ms ease;
}

body[data-section="posts"]:not(.page-post-single) #content .section-list-default h5 > a:hover,
body[data-section="posts"]:not(.page-post-single) #content .section-list-default h5 > a:focus-visible {
  --link-highlight-color: rgba(var(--banner-link-rgb), calc(0.74 * var(--banner-link-opacity-effective-scale)));
  text-decoration: none;
}

body.page-post-single #content article > section a {
  --link-highlight-color: rgba(var(--banner-link-rgb), calc(0.74 * var(--banner-link-opacity-effective-scale)));
  text-decoration: none;
  background-image: linear-gradient(
    to top,
    var(--link-highlight-color) 0%,
    var(--link-highlight-color) 36%,
    transparent 36%
  );
  background-repeat: no-repeat;
  background-size: 100% 100%;
  background-position: 0 86%;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
  transition: color 160ms ease;
}

body.page-post-single #content article > section img {
  border-radius: 0.56rem;
}

body.page-post-single #content article > section .footnotes a {
  color: inherit;
  text-decoration: none;
  background-image: none;
  background-repeat: no-repeat;
  background-size: 100% 100%;
  background-position: 0 86%;
}

body.page-post-single #content article > section .footnotes a:hover,
body.page-post-single #content article > section .footnotes a:focus-visible {
  color: inherit;
  background-image: linear-gradient(
    to top,
    var(--link-highlight-color) 0%,
    var(--link-highlight-color) 36%,
    transparent 36%
  );
}

body.page-post-single #content article > section a.footnote-ref {
  background-image: none;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.46em;
  height: 1.46em;
  padding: 0 0.34em;
  margin-left: 0.08em;
  border-radius: 999px;
  font-size: 0.8em;
  line-height: 1;
  vertical-align: super;
  transform: translateY(-0.06em);
  background-color: rgba(var(--banner-link-rgb), calc(0.74 * var(--banner-link-opacity-effective-scale)));
}

body.page-post-single #content article > section a.footnote-ref:hover,
body.page-post-single #content article > section a.footnote-ref:focus-visible {
  background-color: rgba(var(--banner-link-rgb), calc(0.74 * var(--banner-link-opacity-effective-scale)));
}

body.page-post-single #content article > section .footnotes ol {
  list-style: none;
  margin-left: 0;
  padding-left: 0;
  counter-reset: post-footnote;
}

body.page-post-single #content article > section .footnotes ol > li {
  position: relative;
  counter-increment: post-footnote;
  padding-left: 1.92em;
}

body.page-post-single #content article > section .footnotes ol > li::before {
  content: counter(post-footnote);
  position: absolute;
  left: 0;
  top: calc((1lh - 1.46em) / 2 + 0.6em);
  transform: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  min-width: 1.46em;
  height: 1.46em;
  padding: 0 0.34em;
  border-radius: 999px;
  font-size: 0.8em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  background-color: rgba(var(--banner-link-rgb), calc(0.74 * var(--banner-link-opacity-effective-scale)));
}

#content .corner-entry-body a::after {
  content: "";
  display: inline-block;
  width: 1.08em;
  height: 1.08em;
  margin-left: 0;
  margin-right: 0.12em;
  vertical-align: baseline;
  transform: translateY(-0.08em);
  opacity: 1;
  background-color: var(--link-highlight-color);
  -webkit-mask-mode: alpha;
  mask-mode: alpha;
  -webkit-mask-image: url("/img/external-open-square-dark.svg");
  mask-image: url("/img/external-open-square-dark.svg");
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-size: contain;
  mask-size: contain;
  -webkit-mask-position: center;
  mask-position: center;
}

body.is-home #content > section a::after {
  content: "";
  display: inline-block;
  width: 1.08em;
  height: 1.08em;
  margin-left: 0;
  margin-right: 0.12em;
  vertical-align: baseline;
  transform: translateY(-0.08em);
  opacity: 1;
  background-color: var(--link-highlight-color);
  -webkit-mask-mode: alpha;
  mask-mode: alpha;
  -webkit-mask-image: url("/img/external-open-square-dark.svg");
  mask-image: url("/img/external-open-square-dark.svg");
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-size: contain;
  mask-size: contain;
  -webkit-mask-position: center;
  mask-position: center;
}

#content .corner-entry-body > :last-child {
  margin-bottom: 0;
}

.site-footer-copyright {
  color: #6b7280;
}

html.dark .site-footer-copyright {
  color: #9ca3af;
}

html.dark #content .corner-entry-date {
  color: #9ca3af;
}

html.dark #content .corner-entry-summary {
  border-bottom-color: rgba(156, 163, 175, 0.55);
}

#content .single-bottom-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  position: relative;
}

#content .single-top-trigger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: #9ca3af;
  line-height: 1;
  padding: 0.08rem 0.2rem;
  border-radius: 0.36rem;
  transition: color 140ms ease, background-color 140ms ease;
}

#content .single-top-triangle {
  display: inline-block;
  font-size: 0.72rem;
  line-height: 1;
  transform: translateY(-0.02rem);
}

#content .single-top-trigger:hover,
#content .single-top-trigger:focus-visible {
  color: #6b7280;
  background: rgba(177, 167, 147, 0.18);
}

html.dark #content .single-top-trigger {
  color: #9ca3af;
}

html.dark #content .single-top-trigger:hover,
html.dark #content .single-top-trigger:focus-visible {
  color: #e5e7eb;
  background: rgba(123, 135, 152, 0.25);
}

#content .single-jump-menu {
  position: relative;
  margin: 0;
}

#content .single-jump-menu > summary.single-jump-trigger {
  --link-highlight-color: rgba(var(--banner-link-rgb), 0);
  --single-jump-highlight-thickness: calc(1em * 0.54);
  display: inline-flex;
  align-items: center;
  gap: 0;
  position: relative;
  list-style: none;
  margin: 0;
  padding: 0;
  border: none;
  border-radius: 0;
  font-size: 0.75rem;
  line-height: 1.5;
  font-weight: 400;
  color: #9ca3af;
  background: transparent;
  text-decoration: none;
  background-image: linear-gradient(
    to top,
    var(--link-highlight-color) 0%,
    var(--link-highlight-color) 36%,
    transparent 36%
  );
  background-repeat: no-repeat;
  background-size: 100% 100%;
  background-position: 0 86%;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
  white-space: nowrap;
  transition: color 130ms ease;
}

#content .single-jump-menu > summary.single-jump-trigger::after {
  content: "";
  position: absolute;
  left: calc(68% + 0.2rem);
  bottom: -0.62rem;
  width: var(--single-jump-highlight-thickness);
  height: calc(0.62rem);
  background: var(--link-highlight-color);
  transform: translateX(-50%);
  opacity: 0;
  pointer-events: none;
  transition: opacity 130ms ease;
}

#content .single-jump-trigger .single-jump-emoji {
  display: inline-block;
  transform-origin: 50% 50%;
}

#content .single-jump-trigger .single-jump-label {
  display: inline-block;
  margin: 0;
}

#content .single-jump-menu > summary.single-jump-trigger:hover .single-jump-emoji {
  animation: single-jump-kamaboko-spin 1.2s linear infinite;
}

#content .single-jump-trigger.is-spinning .single-jump-emoji {
  animation: single-jump-kamaboko-spin 700ms ease-in-out 1;
}

@keyframes single-jump-kamaboko-spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(720deg);
  }
}

#content .single-jump-menu > summary.single-jump-trigger::-webkit-details-marker {
  display: none;
}

#content .single-jump-menu > summary.single-jump-trigger::before {
  content: none !important;
  display: none !important;
}

#content .single-jump-menu[open] > summary.single-jump-trigger {
  --link-highlight-color: rgba(var(--banner-link-rgb), calc(0.74 * var(--banner-link-opacity-effective-scale)));
  color: #6b7280;
}

#content .single-jump-menu > summary.single-jump-trigger:hover,
#content .single-jump-menu > summary.single-jump-trigger:focus-visible {
  --link-highlight-color: rgba(var(--banner-link-rgb), calc(0.74 * var(--banner-link-opacity-effective-scale)));
  color: #6b7280;
}

#content .single-jump-menu[open] > summary.single-jump-trigger::after,
#content .single-jump-menu > summary.single-jump-trigger:hover::after,
#content .single-jump-menu > summary.single-jump-trigger:focus-visible::after {
  opacity: 1;
}

#content .single-jump-panel {
  position: absolute;
  left: 50%;
  bottom: calc(100% + 0.38rem);
  transform: translateX(-50%);
  width: min(92vw, 420px);
  display: none;
  margin: 0;
  padding: 0.36rem;
  border: none;
  border-radius: 0.58rem;
  background: rgba(249, 245, 236, 0.66);
  backdrop-filter: blur(11px);
  -webkit-backdrop-filter: blur(11px);
  box-shadow: 0 5px 14px rgba(0, 0, 0, 0.1);
  max-height: 19rem;
  overflow-y: auto;
  z-index: 12;
}

#content .single-jump-menu[open] .single-jump-panel {
  display: block;
}

#content .single-jump-link {
  display: block;
  margin: 0;
  padding: 0.44rem 0.68rem;
  border-radius: 0.44rem;
  font-size: 0.92rem;
  line-height: 1.5;
  text-decoration: none !important;
  color: #6b7280;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

#content .single-jump-link:hover,
#content .single-jump-link:focus-visible {
  color: #374151;
  background: rgba(177, 167, 147, 0.18);
}

#content .single-jump-link.is-current {
  color: #374151;
  background: rgba(156, 163, 175, 0.24);
  font-weight: 600;
}

html.dark #content .single-jump-menu > summary.single-jump-trigger {
  color: #9ca3af;
}

html.dark #content .single-jump-menu[open] > summary.single-jump-trigger {
  --link-highlight-color: rgba(var(--banner-link-rgb), calc(0.74 * var(--banner-link-opacity-effective-scale)));
  color: #e5e7eb;
}

html.dark #content .single-jump-menu > summary.single-jump-trigger:hover,
html.dark #content .single-jump-menu > summary.single-jump-trigger:focus-visible {
  --link-highlight-color: rgba(var(--banner-link-rgb), calc(0.74 * var(--banner-link-opacity-effective-scale)));
  color: #e5e7eb;
}

html.dark #content .single-jump-panel {
  background: rgba(47, 47, 47, 0.68);
  backdrop-filter: blur(11px);
  -webkit-backdrop-filter: blur(11px);
  box-shadow: 0 5px 14px rgba(0, 0, 0, 0.3);
}

html.dark #content .single-jump-link {
  color: #d1d5db;
}

html.dark #content .single-jump-link:hover,
html.dark #content .single-jump-link:focus-visible {
  color: #f3f4f6;
  background: rgba(123, 135, 152, 0.25);
}

html.dark #content .single-jump-link.is-current {
  color: #f3f4f6;
  background: rgba(123, 135, 152, 0.34);
}

@media (max-width: 911px) {
  #content .single-jump-panel {
    width: min(92vw, 344px);
    max-height: 16rem;
  }
}

#content .message-board {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 0.55rem 0 1.4rem;
}

#content .message-paper {
  position: relative;
  width: 100%;
  margin: 0 auto;
  padding: 2rem 1.6rem;
  border: none;
  border-radius: 0.28rem;
  background: linear-gradient(180deg, rgba(255, 252, 246, 0.99) 0%, rgba(252, 247, 239, 0.98) 100%);
  box-shadow: 0 10px 26px rgba(103, 82, 64, 0.08), 0 2px 5px rgba(103, 82, 64, 0.05);
}

#content .message-paper::before,
#content .message-paper::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
}

#content .message-paper::before {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.34) 0%, rgba(255, 255, 255, 0) 26%), repeating-linear-gradient(0deg, rgba(186, 168, 145, 0.055) 0, rgba(186, 168, 145, 0.055) 1px, rgba(255, 255, 255, 0) 1px, rgba(255, 255, 255, 0) 18px);
  opacity: 0.48;
}

#content .message-form {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 1.72rem;
  padding: 0 0.12rem 0.1rem;
  border: none;
  border-radius: 0;
  background: transparent;
}

#content .message-form-main {
  display: flex;
  flex-direction: column;
}

#content .message-form-meta {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.48rem;
}

#content .message-form-row {
  display: flex;
  flex-direction: column;
  gap: 0.34rem;
  margin-left: 0;
}

#content .message-form-row + .message-form-row {
  margin-top: 0;
}

#content .message-form-row label {
  display: block;
  font-size: 0.72rem;
  line-height: 1.2;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: #918477;
  margin-left: 0;
  padding-bottom: 0;
}

#content .message-form-row input,
#content .message-form-row textarea {
  width: 100%;
  -webkit-appearance: none;
  appearance: none;
  border: none;
  border-radius: 0;
  padding: 0;
  color: #4b5563;
  background: transparent;
  box-shadow: none;
  border-bottom: 1px solid rgba(176, 154, 128, 0.72);
}

#content .message-form-row textarea {
  min-height: 8.8rem;
  padding-top: 0.06rem;
  padding-bottom: 0.42rem;
  resize: vertical;
  margin-bottom: 0;
  line-height: 1.9;
}

#content .message-form-row input {
  padding: 0.02rem 0.08rem 0.42rem;
  line-height: 1.65;
}

#content .message-form-row input:focus,
#content .message-form-row textarea:focus {
  outline: none;
  box-shadow: none;
}

#content .message-form-row input:focus {
  color: #3f3329;
  border-bottom-color: rgba(143, 118, 90, 0.96);
}

#content .message-form-row textarea:focus {
  background: transparent;
  border-bottom-color: rgba(143, 118, 90, 0.96);
}

#content .message-form-actions {
  display: flex;
  justify-content: center;
  margin-left: 0;
  margin-top: -0.24rem;
}

#content .message-submit-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 6.9rem;
  padding: 0.48rem 1.12rem;
  border-radius: 0.58rem;
  border: none;
  background: rgba(241, 225, 205, 0.82);
  color: #735f51;
  font-size: 0.76rem;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: 0.02em;
  box-shadow: none;
  transition: background-color 140ms ease, border-color 140ms ease, color 140ms ease;
}

#content .message-submit-button:hover,
#content .message-submit-button:focus-visible {
  background: rgba(235, 215, 191, 0.9);
  color: #665244;
}

#content .message-submit-button:disabled {
  opacity: 0.7;
  cursor: wait;
}

#content .message-board-note {
  margin: 0;
  font-size: 0.72rem;
  color: #9ca3af;
}

#content .message-board-status {
  margin: 0.08rem 0 0;
  font-size: 0.72rem;
  line-height: 1.72;
  font-weight: 400;
  color: #5b4f42;
  text-align: center;
  white-space: normal;
}

#content .message-board-status .message-board-status-line {
  --link-highlight-color: rgba(var(--banner-link-rgb), calc(0.74 * var(--banner-link-opacity-effective-scale)));
  display: inline;
  padding: 0 0.08rem;
  text-decoration: none;
  background-image: linear-gradient(
    to top,
    var(--link-highlight-color) 0%,
    var(--link-highlight-color) 36%,
    transparent 36%
  );
  background-repeat: no-repeat;
  background-size: 100% 100%;
  background-position: 0 86%;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

html.dark #content .message-paper {
  background: linear-gradient(180deg, rgba(69, 61, 56, 0.99) 0%, rgba(61, 54, 50, 0.98) 100%);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.24), 0 2px 5px rgba(0, 0, 0, 0.14);
}

html.dark #content .message-paper::before {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04) 0%, rgba(255, 255, 255, 0) 24%), repeating-linear-gradient(0deg, rgba(157, 140, 121, 0.06) 0, rgba(157, 140, 121, 0.06) 1px, rgba(255, 255, 255, 0) 1px, rgba(255, 255, 255, 0) 18px);
}

html.dark #content .message-form {
  background: transparent;
}

html.dark #content .message-form-row label {
  color: #c3b6a8;
}

html.dark #content .message-form-row input,
html.dark #content .message-form-row textarea {
  color: #ece5dd;
  background: transparent;
  box-shadow: none;
  border-bottom-color: rgba(172, 150, 126, 0.68);
}

html.dark #content .corner-tag-switch .collection-layout-btn,
html.dark #content .corner-entry-tag.collection-layout-btn {
  background: rgba(45, 41, 39, 0.9);
}

html.dark #content .corner-tag-switch .collection-layout-btn.is-active,
html.dark #content .corner-entry-tag.collection-layout-btn.is-active {
  background: rgba(52, 48, 45, 0.94);
}

html.dark #content .message-form-row textarea {
  background: transparent;
}

html.dark #content .message-form-row input:focus,
html.dark #content .message-form-row textarea:focus {
  box-shadow: none;
}

html.dark #content .message-form-row input {
  border-bottom-color: rgba(172, 150, 126, 0.68);
}

html.dark #content .message-form-row input:focus {
  color: #fff6ee;
  border-bottom-color: rgba(223, 202, 178, 0.92);
}

html.dark #content .message-form-row textarea:focus {
  background: transparent;
  border-bottom-color: rgba(223, 202, 178, 0.92);
}

html.dark #content .message-submit-button {
  border: none;
  background: rgba(124, 98, 82, 0.78);
  color: #f5ebdf;
}

html.dark #content .message-submit-button:hover,
html.dark #content .message-submit-button:focus-visible {
  background: rgba(138, 109, 91, 0.9);
  color: #fff4e8;
}

html.dark #content .message-board-note {
  color: #9ca3af;
}

html.dark #content .message-board-status {
  color: #ece5dd;
}

html.dark #content .message-board-status .message-board-status-line {
  background-image: linear-gradient(
    to top,
    var(--link-highlight-color) 0%,
    var(--link-highlight-color) 36%,
    transparent 36%
  );
}

@media (max-width: 640px) {
  #content .message-paper {
    padding: 1.32rem 1.08rem;
    border-radius: 0.2rem;
  }

  #content .message-form {
    padding: 0 0.05rem 0.08rem;
  }

  #content .message-form-meta {
    grid-template-columns: 1fr;
    gap: 0.72rem;
  }

  #content .message-form-row input,
  #content .message-form-row textarea {
    padding-left: 0;
    padding-right: 0;
  }

  #content .message-form-row textarea {
    min-height: 8rem;
  }

  #content .message-submit-button {
    width: auto;
    min-width: 6.2rem;
    padding-left: 1rem;
    padding-right: 1rem;
  }

}

#content .posts-year-separator {
  position: relative;
}

#content .posts-year-dropdown {
  position: relative;
  display: inline-block;
}

#content .posts-year-dropdown[open] {
  z-index: 36;
}

#content .posts-year-trigger {
  list-style: none;
  display: inline-block;
  background: transparent;
  border: none;
  padding: 0;
  margin: 0;
  font: inherit;
  line-height: inherit;
  color: inherit;
  cursor: pointer;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
  outline: none;
}

#content .posts-year-trigger::-webkit-details-marker {
  display: none;
}

#content .posts-year-trigger::before {
  content: none !important;
  display: none !important;
}

#content .posts-year-dropdown[open] .posts-year-trigger {
  color: #6b7280;
}

#content .posts-year-jump-menu {
  position: absolute;
  top: calc(100% + 0.35rem);
  left: 50%;
  transform: translateX(-50%);
  z-index: 120;
  min-width: 5.2rem;
  display: none;
  flex-direction: column;
  align-items: center;
  gap: 0.12rem;
  margin: 0;
  padding: 0.38rem 0.26rem 0.26rem;
  border-radius: 0 0 0.54rem 0.54rem;
  border: none;
  background: rgba(249, 245, 236, 0.66);
  backdrop-filter: blur(11px);
  -webkit-backdrop-filter: blur(11px);
  box-shadow: 0 5px 14px rgba(0, 0, 0, 0.1);
}

#content .posts-year-dropdown[open] .posts-year-jump-menu {
  display: flex;
}

#content .posts-year-jump-menu a {
  display: block;
  font-size: 0.72rem;
  line-height: 1.35;
  text-align: center;
  text-decoration: none;
  padding: 0.36rem 0.56rem;
  border-radius: 0.48rem;
  font-weight: 600;
  color: #9ca3af;
  white-space: nowrap;
}

#content .posts-year-jump-menu a:hover,
#content .posts-year-jump-menu a:focus-visible {
  background: rgba(177, 167, 147, 0.18);
}

#content .posts-year-jump-menu a.is-current {
  background: rgba(177, 167, 147, 0.18);
}

html.dark #content .posts-year-jump-menu {
  background: rgba(47, 47, 47, 0.68);
  border-color: transparent;
  backdrop-filter: blur(11px);
  -webkit-backdrop-filter: blur(11px);
  box-shadow: 0 5px 14px rgba(0, 0, 0, 0.3);
}

html.dark #content .posts-year-dropdown[open] .posts-year-trigger {
  color: #d1d5db;
}

html.dark #content .posts-year-jump-menu a {
  color: #9ca3af;
}

html.dark #content .posts-year-jump-menu a:hover,
html.dark #content .posts-year-jump-menu a:focus-visible {
  background: rgba(123, 135, 152, 0.25);
}

html.dark #content .posts-year-jump-menu a.is-current {
  background: rgba(123, 135, 152, 0.25);
}

/* Global cursor behavior for interactive regions */
a[href],
button,
[role="button"],
[role="menuitem"],
summary,
label[for],
input[type="button"],
input[type="submit"],
input[type="reset"],
select,
.site-kamaboko-corner {
  cursor: pointer;
}

#content a[href],
#content a[href] *,
#content a[href]::before,
#content a[href]::after,
#content a[href]:hover,
#content a[href]:focus-visible {
  cursor: pointer !important;
}

button:disabled,
input:disabled,
select:disabled,
textarea:disabled,
[aria-disabled="true"] {
  cursor: not-allowed;
}

input[type="text"],
input[type="email"],
input[type="search"],
input[type="url"],
input[type="password"],
input[type="number"],
input[type="tel"],
textarea {
  cursor: text;
}

@media (max-width: 911px) {
  #content .corner-entry-body {
    padding-left: var(--corner-entry-text-start);
    padding-right: 0.15rem;
  }
}

#content .collection-banner-list {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  padding-top: 0.35rem;
  padding-bottom: 1.2rem;
}

#content a.collection-banner-card {
  position: relative;
  display: block;
  width: 100%;
  height: clamp(68px, 11.5vw, 84px);
  overflow: hidden;
  border-radius: 0.78rem;
  box-shadow: 0 7px 20px rgba(20, 20, 20, 0.14);
  transition: box-shadow 180ms ease;
  text-decoration: none;
}

html.dark #content a.collection-banner-card {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.36);
}

#content a.collection-banner-card:hover {
  box-shadow: 0 10px 24px rgba(20, 20, 20, 0.18);
}

#content .collection-banner-image {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  -o-object-position: 50% 52%;
     object-position: 50% 52%;
  filter: saturate(100%) brightness(0.9) grayscale(0%);
  transform: scale(1.06);
  transition: filter 180ms ease;
}

#content a.collection-banner-card:hover .collection-banner-image,
#content a.collection-banner-card:focus-visible .collection-banner-image {
  filter: saturate(95%) brightness(0.9);
}

#content .collection-banner-frost {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  background: transparent;
  -webkit-mask-image:
    linear-gradient(
      90deg,
      rgba(0, 0, 0, 1) 0%,
      rgba(0, 0, 0, 0.86) 35%,
      rgba(0, 0, 0, 0.48) 66%,
      rgba(0, 0, 0, 0.14) 86%,
      rgba(0, 0, 0, 0) 100%
    );
  mask-image:
    linear-gradient(
      90deg,
      rgba(0, 0, 0, 1) 0%,
      rgba(0, 0, 0, 0.86) 35%,
      rgba(0, 0, 0, 0.48) 66%,
      rgba(0, 0, 0, 0.14) 86%,
      rgba(0, 0, 0, 0) 100%
    );
  transition: -webkit-backdrop-filter 180ms ease;
  transition: backdrop-filter 180ms ease;
  transition: backdrop-filter 180ms ease, -webkit-backdrop-filter 180ms ease;
}

#content a.collection-banner-card:hover .collection-banner-frost,
#content a.collection-banner-card:focus-visible .collection-banner-frost {
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
}

html.dark #content .collection-banner-frost {
  background: transparent;
}

#content .collection-banner-mask {
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    linear-gradient(
      180deg,
      rgba(18, 18, 18, 0.11) 0%,
      rgba(18, 18, 18, 0.29) 100%
    );
  transition: background 180ms ease;
}

#content a.collection-banner-card:hover .collection-banner-mask,
#content a.collection-banner-card:focus-visible .collection-banner-mask {
  background:
    linear-gradient(
      180deg,
      rgba(18, 18, 18, 0.13) 0%,
      rgba(18, 18, 18, 0.31) 100%
    );
}

#content .collection-banner-copy {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: 0.8rem 1rem;
  text-align: left;
  color: #f5f5f4;
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.45);
}

#content .collection-banner-title {
  font-size: clamp(0.98rem, 1.5vw, 1.12rem);
  font-weight: 700;
  line-height: 1.3;
}

#content .collection-banner-description {
  margin-top: 0.22rem;
  font-size: clamp(0.72rem, 1.2vw, 0.82rem);
  font-weight: 500;
  letter-spacing: 0.01em;
  opacity: 0.95;
}

#content .collection-auto-gallery {
  padding-top: 0.25rem;
}

#content .collection-layout-switch {
  display: inline-flex;
  align-items: center;
  gap: 0.36rem;
  margin-top: 0.34rem;
}

#content .collection-detail-layout-switch {
  margin-top: 0.54rem;
}

#content .collection-layout-btn {
  border: 1px solid rgba(126, 126, 126, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.5);
  color: rgba(93, 86, 74, 0.9);
  font-size: 0.72rem;
  line-height: 1;
  padding: 0.34rem 0.62rem;
  cursor: pointer;
}

#content .collection-layout-collage-btn {
  font-size: 0.62rem;
  font-weight: 700;
  line-height: 1;
  padding: 0.34rem 0.5rem;
}

#content .collection-layout-emoji-run {
  display: inline-flex;
  align-items: center;
  gap: 0.04rem;
}

#content .collection-layout-emoji-unit {
  display: inline-block;
  transform-origin: 50% 72%;
  will-change: transform;
}

#content .collection-layout-emoji-run.is-wobble .collection-layout-emoji-unit {
  animation: collection-kamaboko-wobble 420ms ease;
}

#content .collection-layout-emoji-run.is-wobble .collection-layout-emoji-unit:nth-child(2) {
  animation-delay: 55ms;
}

#content .collection-layout-emoji-run.is-wobble .collection-layout-emoji-unit:nth-child(3) {
  animation-delay: 110ms;
}

@keyframes collection-kamaboko-wobble {
  0% { transform: rotate(0deg) translateY(0); }
  25% { transform: rotate(-12deg) translateY(-1px); }
  50% { transform: rotate(10deg) translateY(0); }
  75% { transform: rotate(-6deg) translateY(-1px); }
  100% { transform: rotate(0deg) translateY(0); }
}

#content .collection-layout-btn.is-active {
  background: rgba(255, 255, 255, 0.86);
  border-color: rgba(121, 111, 94, 0.5);
  color: rgba(70, 64, 56, 0.96);
}

html.dark #content .collection-layout-btn {
  background: rgba(32, 38, 46, 0.46);
  border-color: rgba(146, 158, 176, 0.24);
  color: rgba(214, 221, 232, 0.94);
}

html.dark #content .collection-layout-btn.is-active {
  background: rgba(39, 45, 55, 0.76);
  border-color: rgba(170, 181, 198, 0.58);
  color: rgba(235, 241, 250, 0.98);
}

#content .collection-auto-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0.9rem;
}

#content .collection-auto-gallery[data-layout="double"] .collection-auto-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

#content .collection-auto-gallery[data-layout="triple"] .collection-auto-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

#content .collection-auto-gallery[data-layout="collage"] .collection-auto-grid {
  --collage-side-gutter: 0.68rem;
  grid-template-columns: minmax(0, 1fr);
  gap: 0.2rem;
  padding: 0.78rem;
  border: 1px solid rgba(130, 130, 130, 0.24);
  border-radius: 0.78rem;
  background: rgba(253, 250, 243, 0.55);
  backdrop-filter: brightness(1.03) saturate(0.9);
  -webkit-backdrop-filter: brightness(1.03) saturate(0.9);
  box-shadow: 0 7px 18px rgba(26, 24, 20, 0.08);
}

#content .collection-auto-gallery[data-layout="collage"] .collection-codex-entry {
  display: grid;
  grid-template-columns: var(--collage-side-gutter) minmax(0, 1fr) var(--collage-side-gutter);
  align-items: center;
  width: calc(100% + (var(--collage-side-gutter) * 2));
  margin-left: calc(-1 * var(--collage-side-gutter));
  margin-right: calc(-1 * var(--collage-side-gutter));
  gap: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  box-shadow: none;
}

#content .collection-auto-gallery[data-layout="collage"] .collection-codex-meta {
  display: none;
}

#content .collection-collage-side-meta {
  display: none;
}

#content .collection-auto-gallery[data-layout="collage"] .collection-collage-side-meta {
  display: block;
  position: static;
  grid-row: 1;
  justify-self: center;
  align-self: center;
  font-size: 0.6rem;
  line-height: 1;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: rgba(107, 114, 128, 0.82);
  white-space: nowrap;
  pointer-events: none;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
  font-variant-numeric: tabular-nums;
  opacity: 0.6;
}

#content .collection-auto-gallery[data-layout="collage"] .collection-collage-side-meta-left {
  grid-column: 1;
  transform: rotate(-90deg);
  transform-origin: center;
}

#content .collection-auto-gallery[data-layout="collage"] .collection-collage-side-meta-right {
  grid-column: 3;
  transform: rotate(90deg);
  transform-origin: center;
}

#content .collection-auto-gallery[data-layout="collage"] .collection-auto-item {
  grid-column: 2;
  grid-row: 1;
}

#content .collection-auto-gallery[data-layout="collage"] .collection-auto-link,
#content .collection-auto-gallery[data-layout="collage"] .collection-auto-link img {
  border-radius: 0;
}

#content .collection-auto-gallery[data-layout="collage"] .collection-codex-entry:first-child .collection-auto-link,
#content .collection-auto-gallery[data-layout="collage"] .collection-codex-entry:first-child .collection-auto-link img {
  border-top-left-radius: 0.56rem;
  border-top-right-radius: 0.56rem;
}

#content .collection-auto-gallery[data-layout="collage"] .collection-codex-entry:last-child .collection-auto-link,
#content .collection-auto-gallery[data-layout="collage"] .collection-codex-entry:last-child .collection-auto-link img {
  border-bottom-left-radius: 0.56rem;
  border-bottom-right-radius: 0.56rem;
}

#content .collection-codex-entry {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0.5rem;
  padding: 0.78rem;
  border: 1px solid rgba(130, 130, 130, 0.24);
  border-radius: 0.78rem;
  background: rgba(253, 250, 243, 0.55);
  backdrop-filter: brightness(1.03) saturate(0.9);
  -webkit-backdrop-filter: brightness(1.03) saturate(0.9);
  box-shadow: 0 7px 18px rgba(26, 24, 20, 0.08);
  align-items: stretch;
}

#content .collection-codex-meta {
  display: block;
  padding: 0;
  width: 90%;
  margin: 0 auto -0.08rem;
  order: 2;
}

#content .collection-codex-id {
  font-size: 0.68rem;
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: rgba(94, 84, 67, 0.95);
}

#content .collection-codex-date {
  font-size: 0.72rem;
  line-height: 1.18;
  text-align: center;
  color: rgba(102, 94, 80, 0.92);
  white-space: nowrap;
}

#content .collection-codex-no {
  --link-highlight-color: rgba(var(--banner-link-rgb), calc(0.74 * var(--banner-link-opacity-effective-scale)));
  font-weight: 700;
  color: #374151;
  text-decoration: none;
  background-image: linear-gradient(
    to top,
    var(--link-highlight-color) 0%,
    var(--link-highlight-color) 36%,
    transparent 36%
  );
  background-repeat: no-repeat;
  background-size: 100% 100%;
  background-position: 0 86%;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}

#content .collection-codex-sep,
#content .collection-codex-time {
  display: inline;
}

#content .collection-auto-item {
  margin: 0;
  order: 1;
}

#content .collection-auto-link {
  display: block;
  overflow: hidden;
  border-radius: 0.56rem;
  border: 0;
  background: transparent;
  padding: 0;
}

#content .collection-auto-link img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 0.56rem;
}

@media (max-width: 911px) {
  #content .collection-layout-switch {
    gap: 0.28rem;
    margin-top: 0.26rem;
  }

  #content .collection-detail-layout-switch {
    margin-top: 0.38rem;
  }

  #content .collection-detail-layout-switch .collection-layout-btn[data-layout-target="triple"] {
    display: none;
  }

  #content .collection-layout-btn {
    font-size: 0.7rem;
    padding: 0.3rem 0.54rem;
  }

  #content .collection-layout-collage-btn {
    font-size: 0.58rem;
    padding: 0.31rem 0.48rem;
  }

  #content .collection-auto-gallery[data-layout="double"] .collection-auto-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  #content .collection-auto-gallery[data-layout="triple"] .collection-auto-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  #content .collection-auto-gallery[data-layout="collage"] .collection-auto-grid {
    --collage-side-gutter: 0.56rem;
    gap: 0.14rem;
    padding: 0.64rem;
  }

  #content .collection-auto-gallery[data-layout="collage"] .collection-collage-side-meta {
    font-size: 0.56rem;
  }

  #content .collection-codex-entry {
    gap: 0.4rem;
    padding: 0.64rem;
  }

  #content .collection-codex-date {
    font-size: 0.7rem;
  }

  #content .collection-codex-date.is-wrap {
    white-space: normal;
    line-height: 1.26;
  }

  #content .collection-codex-date.is-wrap .collection-codex-sep {
    display: none;
  }

  #content .collection-codex-date.is-wrap .collection-codex-time {
    display: block;
    margin-top: 0.08rem;
  }

  #content .collection-codex-meta {
    width: 94%;
  }
}

html.dark #content .collection-codex-entry {
  border-color: rgba(136, 146, 160, 0.38);
  background: rgba(32, 38, 46, 0.4);
  backdrop-filter: brightness(1.05) saturate(0.86);
  -webkit-backdrop-filter: brightness(1.05) saturate(0.86);
  box-shadow: 0 11px 24px rgba(0, 0, 0, 0.28);
}

html.dark #content .collection-codex-id {
  color: rgba(217, 223, 235, 0.92);
}

html.dark #content .collection-codex-date {
  color: rgba(194, 202, 214, 0.9);
}

html.dark #content .collection-codex-no {
  color: #e5e7eb;
}

html.dark #content .collection-auto-link {
  border-color: rgba(144, 155, 172, 0.36);
  background: rgba(35, 40, 48, 0.16);
}

html.dark #content .collection-auto-gallery[data-layout="collage"] .collection-auto-grid {
  border-color: rgba(136, 146, 160, 0.38);
  background: rgba(32, 38, 46, 0.4);
  backdrop-filter: brightness(1.05) saturate(0.86);
  -webkit-backdrop-filter: brightness(1.05) saturate(0.86);
  box-shadow: 0 11px 24px rgba(0, 0, 0, 0.28);
}

html.dark #content .collection-auto-gallery[data-layout="collage"] .collection-collage-side-meta {
  color: rgba(194, 202, 214, 0.8);
  opacity: 0.6;
}

#content .collection-lightbox {
  position: fixed;
  inset: 0;
  z-index: 75;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  background: rgba(0, 0, 0, 0.72);
}

#content .collection-lightbox.is-open {
  display: flex;
}

#content .collection-lightbox-figure {
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}

#content .collection-lightbox-image {
  max-width: min(94vw, 1200px);
  max-height: 88vh;
  width: auto;
  height: auto;
  border-radius: 0.4rem;
  box-shadow: 0 20px 46px rgba(0, 0, 0, 0.52);
}

#content .collection-lightbox-caption {
  margin-top: 0.52rem;
  font-size: 0.8rem;
  line-height: 1.45;
  color: rgba(241, 241, 241, 0.92);
  text-align: center;
}

#content .collection-lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border: 0;
  padding: 0;
  background: transparent;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

#content .collection-lightbox-nav img {
  width: 34px;
  height: 34px;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.42));
  opacity: 0.96;
}

#content .collection-lightbox-prev {
  left: max(10px, env(safe-area-inset-left, 0px));
}

#content .collection-lightbox-next {
  right: max(10px, env(safe-area-inset-right, 0px));
}

#content .collection-lightbox-close {
  position: absolute;
  top: max(10px, env(safe-area-inset-top, 0px));
  right: max(14px, env(safe-area-inset-right, 0px));
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.58);
  color: rgba(255, 255, 255, 0.95);
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
}

@media (max-width: 911px) {
  #content .collection-lightbox {
    padding-left: max(6px, env(safe-area-inset-left, 0px));
    padding-right: max(6px, env(safe-area-inset-right, 0px));
  }

  #content .collection-lightbox-image {
    max-width: min(1200px, calc(100vw - 132px));
    max-height: 84vh;
  }
}

#content .section-list-default {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  padding-top: 0.5rem;
  padding-bottom: 1.2rem;
}

@page {
  margin: 14mm;
}

@media print {
  html {
    font-size: 15px !important;
  }

  #content {
    font-size: 10.5pt !important;
  }

  html,
  body {
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
    background: #fff !important;
    color: #111 !important;
    min-height: auto !important;
  }

  html::before {
    content: none !important;
    display: none !important;
  }

  body {
    display: block !important;
    overflow: visible !important;
  }

  html.dark,
  html.dark body,
  html.dark #content,
  html.dark #content *,
  html.dark .site-sticky-nav nav a {
    color: #111 !important;
  }

  * {
    animation: none !important;
    transition: none !important;
    box-shadow: none !important;
    text-shadow: none !important;
  }

  .site-sticky-sentinel,
  .site-sticky-bg,
  .site-sticky-side-titles,
  .site-mobile-breadcrumb,
  .site-kamaboko-corner,
  .collection-lightbox,
  #global-ripple-layer,
  #kamaboko-rain-layer,
  #kamaboko-center-layer,
  #kamaboko-roll-layer {
    display: none !important;
  }

  .site-sticky-bar {
    position: static !important;
    top: auto !important;
    margin-bottom: 1rem !important;
    padding: 0.18rem 0 !important;
    border-bottom: none !important;
  }

  .site-sticky-inner {
    max-width: var(--site-content-max-width) !important;
    margin: 0 auto !important;
    padding: 0 0.625rem !important;
    min-height: 2.1rem !important;
  }

  .site-sticky-nav {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
  }

  .site-sticky-nav nav {
    width: 100% !important;
  }

  .site-sticky-nav nav ul {
    display: flex !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    justify-content: space-between !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    gap: 0 !important;
  }

  .site-sticky-nav nav ul > li.nav-menu-item,
  .site-sticky-nav nav ul > li.nav-tools-item {
    flex: 1 1 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
  }

  .site-sticky-nav nav .nav-submenu,
  .site-sticky-nav .site-mobile-menu-item,
  .site-sticky-nav .site-mobile-home-item {
    display: none !important;
  }

  .site-sticky-nav .nav-tools-item {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin-left: 0 !important;
    gap: 0.22rem !important;
  }

  .site-sticky-nav .site-search-icon {
    display: block !important;
    width: 1.3rem !important;
    height: 1.3rem !important;
    opacity: 1 !important;
  }

  .site-sticky-nav .site-desktop-search-toggle,
  .site-sticky-nav .site-theme-toggle {
    display: inline-flex !important;
    visibility: visible !important;
    opacity: 1 !important;
  }

  body:not(.is-home) #content,
  body:not(.is-home) #content *,
  body.is-home #content > section > *:not(.home-ripple-stage),
  body.is-home #content > section > *:not(.home-ripple-stage) * {
    background: transparent !important;
    background-image: none !important;
  }

  body.is-home #content > section > .home-ripple-stage:first-child {
    margin-top: 0 !important;
  }

  body.is-home .home-ripple-stage {
    width: min(170mm, 100%) !important;
    max-width: 170mm !important;
    min-width: 0 !important;
    left: auto !important;
    right: auto !important;
    margin: 0 auto 6mm !important;
    -moz-column-break-inside: avoid;
         break-inside: avoid;
    page-break-inside: avoid;
  }

  body.is-home .home-ripple-stage .home-ripple-canvas {
    display: none !important;
  }

  body.is-home .home-ripple-stage .home-ripple-mobile {
    display: none !important;
  }

  body.is-home .home-ripple-stage .home-ripple-print {
    display: grid !important;
    grid-template-columns: 1fr;
    position: relative !important;
    width: 100% !important;
    max-width: none !important;
    aspect-ratio: auto !important;
    overflow: visible !important;
  }

  body.is-home .home-ripple-stage .home-ripple-print-back,
  body.is-home .home-ripple-stage .home-ripple-print-front {
    grid-area: 1 / 1;
    position: static !important;
    inset: auto !important;
    width: 100% !important;
    height: auto !important;
    -o-object-fit: contain !important;
       object-fit: contain !important;
    -o-object-position: center !important;
       object-position: center !important;
  }

  body.is-home .home-ripple-stage .home-ripple-print-front {
    z-index: 2;
  }

  body.is-home .home-ripple-stage .home-ripple-grid {
    row-gap: 6px !important;
    -moz-column-gap: 6px !important;
         column-gap: 6px !important;
  }

  #content .corner-entry-body a::after,
  body.is-home #content > section a::after {
    content: none !important;
    display: none !important;
  }

  body.page-post-single #content article > section a.footnote-ref,
  body.page-post-single #content article > section .footnotes ol > li::before {
    background: transparent !important;
    background-image: none !important;
  }

  main#content {
    display: block !important;
    overflow: visible !important;
  }

  #content img,
  #content pre,
  #content blockquote,
  #content table,
  #content figure {
    -moz-column-break-inside: avoid;
         break-inside: avoid;
    page-break-inside: avoid;
  }
}

@media (min-width: 640px) {

  .sm\:order-1 {
    order: 1;
  }

  .sm\:order-2 {
    order: 2;
  }

  .sm\:grid-cols-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .sm\:flex-row {
    flex-direction: row;
  }

  .sm\:justify-end {
    justify-content: flex-end;
  }

  .sm\:gap-10 {
    gap: 2.5rem;
  }
}
