/*!tailwindcss v4.2.2 | MIT License | https://tailwindcss.com*/@layer properties;@layer theme,base,components,utilities;@layer theme{:root, :host {
    --font-sans: "Noto Sans JP", ui-sans-serif, system-ui, -apple-system, sans-serif;
    --font-serif: "Noto Serif JP", ui-serif, Georgia, serif;
    --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, monospace;
    --color-red-400: oklch(70.4% 0.191 22.216);
    --color-red-500: oklch(63.7% 0.237 25.331);
    --color-red-600: oklch(57.7% 0.245 27.325);
    --color-green-400: oklch(79.2% 0.209 151.711);
    --color-green-600: oklch(62.7% 0.194 149.214);
    --color-blue-400: oklch(70.7% 0.165 254.624);
    --color-blue-600: oklch(54.6% 0.245 262.881);
    --color-purple-500: oklch(62.7% 0.265 303.9);
    --color-purple-600: oklch(55.8% 0.288 302.321);
    --color-gray-100: oklch(96.7% 0.003 264.542);
    --color-gray-200: oklch(92.8% 0.006 264.531);
    --color-gray-300: oklch(87.2% 0.01 258.338);
    --color-gray-400: oklch(70.7% 0.022 261.325);
    --color-gray-500: oklch(55.1% 0.027 264.364);
    --color-gray-600: oklch(44.6% 0.03 256.802);
    --color-gray-700: oklch(37.3% 0.034 259.733);
    --color-gray-800: oklch(27.8% 0.033 256.848);
    --color-gray-900: oklch(21% 0.034 264.665);
    --color-black: #000;
    --color-white: #fff;
    --spacing: 0.25rem;
    --container-2xl: 42rem;
    --container-4xl: 56rem;
    --container-7xl: 80rem;
    --text-xs: 0.75rem;
    --text-xs--line-height: calc(1 / 0.75);
    --text-sm: 0.875rem;
    --text-sm--line-height: calc(1.25 / 0.875);
    --text-lg: 1.125rem;
    --text-lg--line-height: calc(1.75 / 1.125);
    --text-xl: 1.25rem;
    --text-xl--line-height: calc(1.75 / 1.25);
    --text-2xl: 1.5rem;
    --text-2xl--line-height: calc(2 / 1.5);
    --text-3xl: 1.875rem;
    --text-3xl--line-height: calc(2.25 / 1.875);
    --text-4xl: 2.25rem;
    --text-4xl--line-height: calc(2.5 / 2.25);
    --font-weight-medium: 500;
    --font-weight-semibold: 600;
    --font-weight-bold: 700;
    --font-weight-extrabold: 800;
    --radius-md: 0.375rem;
    --radius-lg: 0.5rem;
    --ease-out: cubic-bezier(0, 0, 0.2, 1);
    --animate-pulse: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
    --default-transition-duration: 150ms;
    --default-transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    --default-font-family: var(--font-sans);
    --default-mono-font-family: var(--font-mono);
    --radius: 10px;
    --main-width: 1024px;
    --nav-width: 1100px;
    --sidebar-width: 260px;
    --gap: 28px;
    --color-theme: #fafafa;
    --color-entry: #ffffff;
    --color-primary: #1a1a2e;
    --color-secondary: #6b7280;
    --color-tertiary: #f3f4f6;
    --color-border: #e5e7eb;
    --color-accent: #4f46e5;
    --color-accent-light: #818cf8;
    --color-code-bg: #f1f5f9;
    --color-code-block-bg: #1e1e2e;
    --color-hero-from: #1e293b;
    --color-hero-via: #334155;
    --color-hero-to: #475569;
  }
}@layer base{*, ::after, ::before, ::backdrop, ::file-selector-button {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    border: 0 solid;
  }
  html, :host {
    line-height: 1.5;
    -webkit-text-size-adjust: 100%;
    tab-size: 4;
    font-family: var(--default-font-family, ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji");
    font-feature-settings: var(--default-font-feature-settings, normal);
    font-variation-settings: var(--default-font-variation-settings, normal);
    -webkit-tap-highlight-color: transparent;
  }
  hr {
    height: 0;
    color: inherit;
    border-top-width: 1px;
  }
  abbr:where([title]) {
    -webkit-text-decoration: underline dotted;
    text-decoration: underline dotted;
  }
  h1, h2, h3, h4, h5, h6 {
    font-size: inherit;
    font-weight: inherit;
  }
  a {
    color: inherit;
    -webkit-text-decoration: inherit;
    text-decoration: inherit;
  }
  b, strong {
    font-weight: bolder;
  }
  code, kbd, samp, pre {
    font-family: var(--default-mono-font-family, ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace);
    font-feature-settings: var(--default-mono-font-feature-settings, normal);
    font-variation-settings: var(--default-mono-font-variation-settings, normal);
    font-size: 1em;
  }
  small {
    font-size: 80%;
  }
  sub, sup {
    font-size: 75%;
    line-height: 0;
    position: relative;
    vertical-align: baseline;
  }
  sub {
    bottom: -0.25em;
  }
  sup {
    top: -0.5em;
  }
  table {
    text-indent: 0;
    border-color: inherit;
    border-collapse: collapse;
  }
  :-moz-focusring {
    outline: auto;
  }
  progress {
    vertical-align: baseline;
  }
  summary {
    display: list-item;
  }
  ol, ul, menu {
    list-style: none;
  }
  img, svg, video, canvas, audio, iframe, embed, object {
    display: block;
    vertical-align: middle;
  }
  img, video {
    max-width: 100%;
    height: auto;
  }
  button, input, select, optgroup, textarea, ::file-selector-button {
    font: inherit;
    font-feature-settings: inherit;
    font-variation-settings: inherit;
    letter-spacing: inherit;
    color: inherit;
    border-radius: 0;
    background-color: transparent;
    opacity: 1;
  }
  :where(select:is([multiple], [size])) optgroup {
    font-weight: bolder;
  }
  :where(select:is([multiple], [size])) optgroup option {
    padding-inline-start: 20px;
  }
  ::file-selector-button {
    margin-inline-end: 4px;
  }
  ::placeholder {
    opacity: 1;
  }
  @supports (not (-webkit-appearance: -apple-pay-button))  or (contain-intrinsic-size: 1px) {
    ::placeholder {
      color: currentcolor;
      @supports (color: color-mix(in lab, red, red)) {
        color: color-mix(in oklab, currentcolor 50%, transparent);
      }
    }
  }
  textarea {
    resize: vertical;
  }
  ::-webkit-search-decoration {
    -webkit-appearance: none;
  }
  ::-webkit-date-and-time-value {
    min-height: 1lh;
    text-align: inherit;
  }
  ::-webkit-datetime-edit {
    display: inline-flex;
  }
  ::-webkit-datetime-edit-fields-wrapper {
    padding: 0;
  }
  ::-webkit-datetime-edit, ::-webkit-datetime-edit-year-field, ::-webkit-datetime-edit-month-field, ::-webkit-datetime-edit-day-field, ::-webkit-datetime-edit-hour-field, ::-webkit-datetime-edit-minute-field, ::-webkit-datetime-edit-second-field, ::-webkit-datetime-edit-millisecond-field, ::-webkit-datetime-edit-meridiem-field {
    padding-block: 0;
  }
  ::-webkit-calendar-picker-indicator {
    line-height: 1;
  }
  :-moz-ui-invalid {
    box-shadow: none;
  }
  button, input:where([type="button"], [type="reset"], [type="submit"]), ::file-selector-button {
    appearance: button;
  }
  ::-webkit-inner-spin-button, ::-webkit-outer-spin-button {
    height: auto;
  }
  [hidden]:where(:not([hidden="until-found"])) {
    display: none !important;
  }
}@layer utilities{.collapse {
    visibility: collapse;
  }
  .invisible {
    visibility: hidden;
  }
  .visible {
    visibility: visible;
  }
  .absolute {
    position: absolute;
  }
  .fixed {
    position: fixed;
  }
  .relative {
    position: relative;
  }
  .static {
    position: static;
  }
  .sticky {
    position: sticky;
  }
  .inset-0 {
    inset: calc(var(--spacing) * 0);
  }
  .\!start {
    inset-inline-start: var(--spacing) !important;
  }
  .start {
    inset-inline-start: var(--spacing);
  }
  .end {
    inset-inline-end: var(--spacing);
  }
  .top-0 {
    top: calc(var(--spacing) * 0);
  }
  .isolate {
    isolation: isolate;
  }
  .z-10 {
    z-index: 10;
  }
  .z-40 {
    z-index: 40;
  }
  .z-50 {
    z-index: 50;
  }
  .container {
    width: 100%;
    @media (width >= 40rem) {
      max-width: 40rem;
    }
    @media (width >= 48rem) {
      max-width: 48rem;
    }
    @media (width >= 64rem) {
      max-width: 64rem;
    }
    @media (width >= 80rem) {
      max-width: 80rem;
    }
    @media (width >= 96rem) {
      max-width: 96rem;
    }
  }
  .m-1 {
    margin: calc(var(--spacing) * 1);
  }
  .mx-auto {
    margin-inline: auto;
  }
  .mt-1 {
    margin-top: calc(var(--spacing) * 1);
  }
  .mt-2 {
    margin-top: calc(var(--spacing) * 2);
  }
  .mt-3 {
    margin-top: calc(var(--spacing) * 3);
  }
  .mt-4 {
    margin-top: calc(var(--spacing) * 4);
  }
  .mt-8 {
    margin-top: calc(var(--spacing) * 8);
  }
  .mb-1 {
    margin-bottom: calc(var(--spacing) * 1);
  }
  .mb-2 {
    margin-bottom: calc(var(--spacing) * 2);
  }
  .mb-4 {
    margin-bottom: calc(var(--spacing) * 4);
  }
  .mb-6 {
    margin-bottom: calc(var(--spacing) * 6);
  }
  .mb-8 {
    margin-bottom: calc(var(--spacing) * 8);
  }
  .ml-4 {
    margin-left: calc(var(--spacing) * 4);
  }
  .line-clamp-2 {
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }
  .block {
    display: block;
  }
  .contents {
    display: contents;
  }
  .flex {
    display: flex;
  }
  .grid {
    display: grid;
  }
  .hidden {
    display: none;
  }
  .inline {
    display: inline;
  }
  .table {
    display: table;
  }
  .h-2 {
    height: calc(var(--spacing) * 2);
  }
  .h-4 {
    height: calc(var(--spacing) * 4);
  }
  .h-11 {
    height: calc(var(--spacing) * 11);
  }
  .h-48 {
    height: calc(var(--spacing) * 48);
  }
  .h-64 {
    height: calc(var(--spacing) * 64);
  }
  .h-\[500px\] {
    height: 500px;
  }
  .h-full {
    height: 100%;
  }
  .min-h-\[calc\(100dvh-2\.75rem\)\] {
    min-height: calc(100dvh - 2.75rem);
  }
  .min-h-screen {
    min-height: 100vh;
  }
  .w-2 {
    width: calc(var(--spacing) * 2);
  }
  .w-4 {
    width: calc(var(--spacing) * 4);
  }
  .w-20 {
    width: calc(var(--spacing) * 20);
  }
  .w-full {
    width: 100%;
  }
  .max-w-2xl {
    max-width: var(--container-2xl);
  }
  .max-w-4xl {
    max-width: var(--container-4xl);
  }
  .max-w-7xl {
    max-width: var(--container-7xl);
  }
  .min-w-0 {
    min-width: calc(var(--spacing) * 0);
  }
  .flex-1 {
    flex: 1;
  }
  .transform {
    transform: var(--tw-rotate-x,) var(--tw-rotate-y,) var(--tw-rotate-z,) var(--tw-skew-x,) var(--tw-skew-y,);
  }
  .animate-pulse {
    animation: var(--animate-pulse);
  }
  .cursor-pointer {
    cursor: pointer;
  }
  .resize {
    resize: both;
  }
  .grid-cols-1 {
    grid-template-columns: repeat(1, minmax(0, 1fr));
  }
  .flex-col {
    flex-direction: column;
  }
  .flex-wrap {
    flex-wrap: wrap;
  }
  .items-center {
    align-items: center;
  }
  .justify-between {
    justify-content: space-between;
  }
  .justify-center {
    justify-content: center;
  }
  .gap-1\.5 {
    gap: calc(var(--spacing) * 1.5);
  }
  .gap-2 {
    gap: calc(var(--spacing) * 2);
  }
  .gap-4 {
    gap: calc(var(--spacing) * 4);
  }
  .space-y-2 {
    :where(& > :not(:last-child)) {
      --tw-space-y-reverse: 0;
      margin-block-start: calc(calc(var(--spacing) * 2) * var(--tw-space-y-reverse));
      margin-block-end: calc(calc(var(--spacing) * 2) * calc(1 - var(--tw-space-y-reverse)));
    }
  }
  .space-y-4 {
    :where(& > :not(:last-child)) {
      --tw-space-y-reverse: 0;
      margin-block-start: calc(calc(var(--spacing) * 4) * var(--tw-space-y-reverse));
      margin-block-end: calc(calc(var(--spacing) * 4) * calc(1 - var(--tw-space-y-reverse)));
    }
  }
  .space-y-6 {
    :where(& > :not(:last-child)) {
      --tw-space-y-reverse: 0;
      margin-block-start: calc(calc(var(--spacing) * 6) * var(--tw-space-y-reverse));
      margin-block-end: calc(calc(var(--spacing) * 6) * calc(1 - var(--tw-space-y-reverse)));
    }
  }
  .space-y-8 {
    :where(& > :not(:last-child)) {
      --tw-space-y-reverse: 0;
      margin-block-start: calc(calc(var(--spacing) * 8) * var(--tw-space-y-reverse));
      margin-block-end: calc(calc(var(--spacing) * 8) * calc(1 - var(--tw-space-y-reverse)));
    }
  }
  .truncate {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .overflow-hidden {
    overflow: hidden;
  }
  .rounded {
    border-radius: var(--radius);
  }
  .rounded-full {
    border-radius: calc(infinity * 1px);
  }
  .rounded-lg {
    border-radius: var(--radius-lg);
  }
  .rounded-md {
    border-radius: var(--radius-md);
  }
  .border {
    border-style: var(--tw-border-style);
    border-width: 1px;
  }
  .border-0 {
    border-style: var(--tw-border-style);
    border-width: 0px;
  }
  .border-l-2 {
    border-left-style: var(--tw-border-style);
    border-left-width: 2px;
  }
  .border-gray-300 {
    border-color: var(--color-gray-300);
  }
  .bg-black {
    background-color: var(--color-black);
  }
  .bg-blue-600 {
    background-color: var(--color-blue-600);
  }
  .bg-gray-100 {
    background-color: var(--color-gray-100);
  }
  .bg-gray-600 {
    background-color: var(--color-gray-600);
  }
  .bg-gray-700 {
    background-color: var(--color-gray-700);
  }
  .bg-gray-800 {
    background-color: var(--color-gray-800);
  }
  .bg-gray-900 {
    background-color: var(--color-gray-900);
  }
  .bg-purple-600 {
    background-color: var(--color-purple-600);
  }
  .bg-secondary {
    background-color: var(--color-secondary);
  }
  .bg-white {
    background-color: var(--color-white);
  }
  .object-cover {
    object-fit: cover;
  }
  .p-1\.5 {
    padding: calc(var(--spacing) * 1.5);
  }
  .p-2 {
    padding: calc(var(--spacing) * 2);
  }
  .p-4 {
    padding: calc(var(--spacing) * 4);
  }
  .p-6 {
    padding: calc(var(--spacing) * 6);
  }
  .p-8 {
    padding: calc(var(--spacing) * 8);
  }
  .px-2 {
    padding-inline: calc(var(--spacing) * 2);
  }
  .px-4 {
    padding-inline: calc(var(--spacing) * 4);
  }
  .px-6 {
    padding-inline: calc(var(--spacing) * 6);
  }
  .py-1 {
    padding-block: calc(var(--spacing) * 1);
  }
  .py-2 {
    padding-block: calc(var(--spacing) * 2);
  }
  .py-8 {
    padding-block: calc(var(--spacing) * 8);
  }
  .py-10 {
    padding-block: calc(var(--spacing) * 10);
  }
  .pl-2 {
    padding-left: calc(var(--spacing) * 2);
  }
  .text-center {
    text-align: center;
  }
  .font-mono {
    font-family: var(--font-mono);
  }
  .font-sans {
    font-family: var(--font-sans);
  }
  .text-2xl {
    font-size: var(--text-2xl);
    line-height: var(--tw-leading, var(--text-2xl--line-height));
  }
  .text-3xl {
    font-size: var(--text-3xl);
    line-height: var(--tw-leading, var(--text-3xl--line-height));
  }
  .text-4xl {
    font-size: var(--text-4xl);
    line-height: var(--tw-leading, var(--text-4xl--line-height));
  }
  .text-lg {
    font-size: var(--text-lg);
    line-height: var(--tw-leading, var(--text-lg--line-height));
  }
  .text-sm {
    font-size: var(--text-sm);
    line-height: var(--tw-leading, var(--text-sm--line-height));
  }
  .text-xl {
    font-size: var(--text-xl);
    line-height: var(--tw-leading, var(--text-xl--line-height));
  }
  .text-xs {
    font-size: var(--text-xs);
    line-height: var(--tw-leading, var(--text-xs--line-height));
  }
  .font-bold {
    --tw-font-weight: var(--font-weight-bold);
    font-weight: var(--font-weight-bold);
  }
  .font-extrabold {
    --tw-font-weight: var(--font-weight-extrabold);
    font-weight: var(--font-weight-extrabold);
  }
  .font-medium {
    --tw-font-weight: var(--font-weight-medium);
    font-weight: var(--font-weight-medium);
  }
  .font-semibold {
    --tw-font-weight: var(--font-weight-semibold);
    font-weight: var(--font-weight-semibold);
  }
  .text-\[\#37352f\] {
    color: #37352f;
  }
  .text-blue-400 {
    color: var(--color-blue-400);
  }
  .text-gray-300 {
    color: var(--color-gray-300);
  }
  .text-gray-400 {
    color: var(--color-gray-400);
  }
  .text-gray-500 {
    color: var(--color-gray-500);
  }
  .text-gray-700 {
    color: var(--color-gray-700);
  }
  .text-gray-800 {
    color: var(--color-gray-800);
  }
  .text-green-400 {
    color: var(--color-green-400);
  }
  .text-green-600 {
    color: var(--color-green-600);
  }
  .text-red-400 {
    color: var(--color-red-400);
  }
  .text-red-500 {
    color: var(--color-red-500);
  }
  .text-red-600 {
    color: var(--color-red-600);
  }
  .text-white {
    color: var(--color-white);
  }
  .lowercase {
    text-transform: lowercase;
  }
  .uppercase {
    text-transform: uppercase;
  }
  .italic {
    font-style: italic;
  }
  .underline {
    text-decoration-line: underline;
  }
  .placeholder-gray-400 {
    &::placeholder {
      color: var(--color-gray-400);
    }
  }
  .shadow-md {
    --tw-shadow: 0 4px 6px -1px var(--tw-shadow-color, rgb(0 0 0 / 0.1)), 0 2px 4px -2px var(--tw-shadow-color, rgb(0 0 0 / 0.1));
    box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
  }
  .ring {
    --tw-ring-shadow: var(--tw-ring-inset,) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color, currentcolor);
    box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
  }
  .outline {
    outline-style: var(--tw-outline-style);
    outline-width: 1px;
  }
  .grayscale {
    --tw-grayscale: grayscale(100%);
    filter: var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,);
  }
  .invert {
    --tw-invert: invert(100%);
    filter: var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,);
  }
  .filter {
    filter: var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,);
  }
  .transition {
    transition-property: color, background-color, border-color, outline-color, text-decoration-color, fill, stroke, --tw-gradient-from, --tw-gradient-via, --tw-gradient-to, opacity, box-shadow, transform, translate, scale, rotate, filter, -webkit-backdrop-filter, backdrop-filter, display, content-visibility, overlay, pointer-events;
    transition-timing-function: var(--tw-ease, var(--default-transition-timing-function));
    transition-duration: var(--tw-duration, var(--default-transition-duration));
  }
  .ease-out {
    --tw-ease: var(--ease-out);
    transition-timing-function: var(--ease-out);
  }
  .\[data\:教育メタデータ\] {
    data: 教育メタデータ;
  }
  .\[schema\:Book\] {
    schema: Book;
  }
  .\[transition\:background_20ms_ease-in\,_color_0\.15s\] {
    transition: background 20ms ease-in, color 0.15s;
  }
  .hover\:bg-gray-500 {
    &:hover {
      @media (hover: hover) {
        background-color: var(--color-gray-500);
      }
    }
  }
  .hover\:bg-purple-500 {
    &:hover {
      @media (hover: hover) {
        background-color: var(--color-purple-500);
      }
    }
  }
  .hover\:underline {
    &:hover {
      @media (hover: hover) {
        text-decoration-line: underline;
      }
    }
  }
  .disabled\:cursor-not-allowed {
    &:disabled {
      cursor: not-allowed;
    }
  }
  .disabled\:opacity-50 {
    &:disabled {
      opacity: 50%;
    }
  }
  .sm\:grid-cols-2 {
    @media (width >= 40rem) {
      grid-template-columns: repeat(2, minmax(0, 1fr));
    }
  }
  .lg\:grid-cols-3 {
    @media (width >= 64rem) {
      grid-template-columns: repeat(3, minmax(0, 1fr));
    }
  }
  .dark\:block {
    &:where([data-theme="dark"], [data-theme="dark"] *) {
      display: block;
    }
  }
  .dark\:hidden {
    &:where([data-theme="dark"], [data-theme="dark"] *) {
      display: none;
    }
  }
  .dark\:bg-\[\#191919\] {
    &:where([data-theme="dark"], [data-theme="dark"] *) {
      background-color: #191919;
    }
  }
  .dark\:text-\[\#ffffffcf\] {
    &:where([data-theme="dark"], [data-theme="dark"] *) {
      color: #ffffffcf;
    }
  }
}@layer base{[data-theme="dark"] {
    --color-theme: #0f172a;
    --color-entry: #1e293b;
    --color-primary: #e2e8f0;
    --color-secondary: #94a3b8;
    --color-tertiary: #1e293b;
    --color-border: #334155;
    --color-accent: #818cf8;
    --color-accent-light: #a5b4fc;
    --color-code-bg: #334155;
    --color-code-block-bg: #0f172a;
    --color-hero-from: #0f172a;
    --color-hero-via: #1e293b;
    --color-hero-to: #334155;
  }
}@layer base{html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
    scrollbar-width: thin;
    scrollbar-color: var(--color-border) transparent;
  }
  ::-webkit-scrollbar {
    width: 8px;
    height: 8px;
  }
  ::-webkit-scrollbar-track {
    background: transparent;
  }
  ::-webkit-scrollbar-thumb {
    background: var(--color-border);
    border-radius: 4px;
  }
  ::-webkit-scrollbar-thumb:hover {
    background: var(--color-secondary);
  }
  body {
    font-family: var(--font-sans);
    background-color: var(--color-theme);
    color: var(--color-primary);
    transition: background-color 0.3s, color 0.3s;
  }
  ::selection {
    background: var(--color-accent);
    color: white;
  }
  a {
    color: inherit;
    text-decoration: none;
  }
  *, *::before, *::after {
    transition-property: background-color, border-color;
    transition-duration: 0.2s;
  }
  @font-face {
    font-family: "Noto Sans JP";
    font-display: swap;
    src: local("Noto Sans JP");
  }
}@layer components{.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    background-color: color-mix(in srgb, #fafafa 85%, transparent);
    @supports (color: color-mix(in lab, red, red)) {
      background-color: color-mix(in srgb, var(--color-theme) 85%, transparent);
    }
    border-bottom: 1px solid var(--color-border);
  }
  .site-header-inner {
    max-width: var(--nav-width);
    margin: 0 auto;
    display: flex;
    align-items: center;
    padding: 0 var(--gap);
    height: 64px;
  }
  .site-logo {
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--color-primary);
    white-space: nowrap;
  }
  .site-logo:hover {
    color: var(--color-accent);
  }
  .site-nav {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-left: auto;
  }
  .site-nav a {
    padding: 0.375rem 0.75rem;
    font-size: 0.875rem;
    border-radius: 6px;
    color: var(--color-secondary);
    transition: color 0.2s, background-color 0.2s;
    white-space: nowrap;
  }
  .site-nav a:hover {
    color: var(--color-primary);
    background-color: var(--color-tertiary);
  }
  .site-nav a.active {
    color: var(--color-accent);
    font-weight: 500;
  }
  .header-controls {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    margin-left: 1rem;
  }
  .header-controls button, .header-controls a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 8px;
    border: none;
    background: none;
    color: var(--color-secondary);
    cursor: pointer;
    transition: color 0.2s, background-color 0.2s;
  }
  .header-controls button:hover, .header-controls a:hover {
    color: var(--color-primary);
    background-color: var(--color-tertiary);
  }
  .hamburger {
    display: none;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 8px;
    border: none;
    background: none;
    color: var(--color-primary);
    cursor: pointer;
    margin-left: auto;
  }
  .hamburger .close-icon {
    display: none;
  }
  .hamburger[aria-expanded="true"] .hamburger-icon {
    display: none;
  }
  .hamburger[aria-expanded="true"] .close-icon {
    display: block;
  }
  .mobile-menu {
    display: none;
  }
  .hero {
    background: linear-gradient(135deg, var(--color-hero-from), var(--color-hero-via), var(--color-hero-to));
    color: #e2e8f0;
    padding: 4rem 1.5rem;
    text-align: center;
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
    width: 100vw;
  }
  .hero-inner {
    max-width: var(--main-width);
    margin: 0 auto;
  }
  .hero-title {
    font-family: var(--font-serif);
    font-size: 2.5rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 0.75rem;
  }
  .hero-subtitle {
    font-size: 1rem;
    color: #94a3b8;
    max-width: 600px;
    margin: 0 auto 2.5rem;
    line-height: 1.7;
  }
  .hero-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    max-width: 640px;
    margin: 0 auto 2rem;
  }
  .hero-stat {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius);
    padding: 1.25rem 0.75rem;
    backdrop-filter: blur(4px);
  }
  .hero-stat-value {
    font-size: 2rem;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.2;
  }
  .hero-stat-label {
    font-size: 0.75rem;
    color: #94a3b8;
    margin-top: 0.25rem;
  }
  .hero-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
    margin-top: 2rem;
  }
  .hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.375rem 0.875rem;
    font-size: 0.8125rem;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 999px;
    color: #cbd5e1;
    transition: background 0.2s, color 0.2s;
  }
  .hero-tag:hover {
    background: rgba(255, 255, 255, 0.16);
    color: #ffffff;
  }
  .hero-tag-count {
    font-size: 0.6875rem;
    opacity: 0.6;
  }
  .site-main {
    max-width: var(--main-width);
    margin: 0 auto;
    padding: 2rem var(--gap);
    min-height: calc(100vh - 64px - 200px);
  }
  .post-entry {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    padding: 1.25rem;
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    background: var(--color-entry);
    transition: transform 0.2s, box-shadow 0.2s;
    margin-bottom: 1rem;
    overflow: hidden;
  }
  .post-entry:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
  }
  [data-theme="dark"] .post-entry:hover {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
  }
  [data-theme="dark"] .category-card:hover {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  }
  [data-theme="dark"] .book-card:hover {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
  }
  [data-theme="dark"] .top-link {
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  }
  [data-theme="dark"] #moon {
    display: none;
  }
  [data-theme="light"] #sun {
    display: none;
  }
  .post-entry-cover {
    width: 200px;
    height: 130px;
    border-radius: 8px;
    object-fit: cover;
    flex-shrink: 0;
  }
  .post-entry-content {
    flex: 1;
    min-width: 0;
  }
  .post-entry-title {
    font-size: 1.125rem;
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: 0.5rem;
    color: var(--color-primary);
  }
  .post-entry-summary {
    font-size: 0.875rem;
    color: var(--color-secondary);
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  .post-entry-meta {
    font-size: 0.8125rem;
    color: var(--color-secondary);
    margin-top: 0.75rem;
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
  }
  .entry-cover {
    margin-bottom: 1.5rem;
    border-radius: var(--radius);
    overflow: hidden;
  }
  .entry-cover img {
    width: 100%;
    height: auto;
    display: block;
  }
  .post-content {
    font-size: 1rem;
    line-height: 1.85;
    color: var(--color-primary);
  }
  .post-content h2 {
    font-size: 1.5em;
    font-weight: 700;
    margin-top: 2.5em;
    margin-bottom: 1em;
    padding-bottom: 0.5em;
    padding-left: 0.75em;
    border-left: 4px solid var(--color-accent);
    border-bottom: 1px solid var(--color-border);
  }
  .post-content h3 {
    font-size: 1.25em;
    font-weight: 600;
    margin-top: 2em;
    margin-bottom: 0.75em;
    padding-left: 0.75em;
    border-left: 4px solid var(--color-accent-light);
  }
  .post-content h4 {
    font-size: 1.1em;
    font-weight: 600;
    margin-top: 1.75em;
    margin-bottom: 0.5em;
    padding-left: 0.75em;
    border-left: 4px solid;
    border-image: linear-gradient(to bottom, var(--color-accent), var(--color-accent-light)) 1;
  }
  .post-content a {
    color: var(--color-accent);
    text-decoration: underline;
    text-underline-offset: 2px;
  }
  .post-content a:hover {
    color: var(--color-accent-light);
  }
  .post-content blockquote {
    border-left: 4px solid var(--color-accent);
    padding: 0.75em 1.25em;
    margin: 1.5em 0;
    background: var(--color-tertiary);
    border-radius: 0 var(--radius) var(--radius) 0;
    color: var(--color-secondary);
  }
  .post-content pre {
    background: var(--color-code-block-bg);
    color: #e2e8f0;
    border-radius: var(--radius);
    padding: 1.25em;
    overflow-x: auto;
    font-family: var(--font-mono);
    font-size: 0.875em;
    line-height: 1.6;
    margin: 1.5em 0;
  }
  .post-content code {
    font-family: var(--font-mono);
    font-size: 0.875em;
  }
  .post-content :not(pre) > code {
    background: var(--color-code-bg);
    padding: 0.2em 0.4em;
    border-radius: 4px;
    font-size: 0.85em;
  }
  .post-content img {
    max-width: 100%;
    height: auto;
    border-radius: var(--radius);
    margin: 1.5em auto;
    display: block;
  }
  .post-content ul, .post-content ol {
    padding-left: 1.5em;
    margin: 1em 0;
  }
  .post-content li {
    margin: 0.25em 0;
  }
  .post-content hr {
    border: none;
    border-top: 1px solid var(--color-border);
    margin: 2em 0;
  }
  .table-wrapper {
    overflow-x: auto;
    margin: 1.5em 0;
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
  }
  .table-wrapper table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.875em;
  }
  .table-wrapper thead {
    background: var(--color-code-bg);
  }
  .table-wrapper th, .table-wrapper td {
    padding: 0.625rem 1rem;
    text-align: left;
    border-bottom: 1px solid var(--color-border);
  }
  .table-wrapper tbody tr:nth-child(even) {
    background: var(--color-tertiary);
  }
  .post-with-sidebar {
    display: flex;
    flex-direction: row-reverse;
    gap: var(--gap);
    max-width: calc(var(--main-width) + var(--sidebar-width) + var(--gap) * 3);
    margin: 0 auto;
    padding: 2rem var(--gap);
  }
  .post-sidebar {
    width: var(--sidebar-width);
    flex-shrink: 0;
  }
  .post-sidebar-inner {
    position: sticky;
    top: 80px;
    max-height: calc(100vh - 100px);
    overflow-y: auto;
    padding-right: 0.5rem;
  }
  .post-sidebar-inner .toc-title {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--color-secondary);
    margin-bottom: 0.75rem;
  }
  .post-sidebar-inner ul {
    list-style: none;
    padding: 0;
    margin: 0;
  }
  .post-sidebar-inner li {
    margin: 0;
  }
  .post-sidebar-inner a {
    display: block;
    padding: 0.375rem 0.75rem;
    font-size: 0.8125rem;
    color: var(--color-secondary);
    border-left: 2px solid transparent;
    border-radius: 0 4px 4px 0;
    transition: color 0.2s, border-color 0.2s, background-color 0.2s;
    line-height: 1.4;
  }
  .post-sidebar-inner a:hover {
    color: var(--color-primary);
    background: var(--color-tertiary);
  }
  .post-sidebar-inner a.active {
    color: var(--color-accent);
    border-left-color: var(--color-accent);
    font-weight: 500;
  }
  .post-sidebar-inner li ul a {
    padding-left: 1.5rem;
    font-size: 0.75rem;
  }
  .post-sidebar-inner::-webkit-scrollbar {
    width: 3px;
  }
  .post-sidebar-inner::-webkit-scrollbar-track {
    background: transparent;
  }
  .post-sidebar-inner::-webkit-scrollbar-thumb {
    background: var(--color-border);
    border-radius: 3px;
  }
  .site-footer {
    background: var(--color-tertiary);
    border-top: 1px solid var(--color-border);
    padding: 3rem var(--gap) 2rem;
    margin-top: auto;
  }
  .site-footer-inner {
    max-width: var(--nav-width);
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    gap: 2rem;
    flex-wrap: wrap;
  }
  .footer-col {
    flex: 1;
    min-width: 150px;
  }
  .footer-col-title {
    font-size: 0.6875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-secondary);
    margin-bottom: 1rem;
  }
  .footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
  }
  .footer-col li {
    margin: 0.5rem 0;
  }
  .footer-col a {
    font-size: 0.875rem;
    color: var(--color-secondary);
    transition: color 0.2s;
  }
  .footer-col a:hover {
    color: var(--color-primary);
  }
  .footer-bottom {
    max-width: var(--nav-width);
    margin: 2rem auto 0;
    padding-top: 1.5rem;
    border-top: 1px solid var(--color-border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.75rem;
    color: var(--color-secondary);
  }
  .pagination {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 2rem;
    padding-top: 2rem;
  }
  .pagination a {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    border-radius: 8px;
    background: var(--color-entry);
    border: 1px solid var(--color-border);
    color: var(--color-primary);
    transition: background 0.2s;
  }
  .pagination a:hover {
    background: var(--color-tertiary);
  }
  .pagination .next {
    margin-left: auto;
  }
  .breadcrumbs {
    font-size: 0.8125rem;
    color: var(--color-secondary);
    margin-bottom: 1rem;
  }
  .breadcrumbs a {
    color: var(--color-secondary);
    transition: color 0.2s;
  }
  .breadcrumbs a:hover {
    color: var(--color-accent);
  }
  .tag-pill {
    display: inline-flex;
    align-items: center;
    padding: 0.25rem 0.625rem;
    font-size: 0.75rem;
    border-radius: 999px;
    background: var(--color-tertiary);
    color: var(--color-secondary);
    border: 1px solid var(--color-border);
    transition: background 0.2s, color 0.2s;
  }
  .tag-pill:hover {
    background: var(--color-accent);
    color: white;
    border-color: var(--color-accent);
  }
  .category-cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.25rem;
  }
  .category-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem;
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    background: var(--color-entry);
    transition: transform 0.2s, box-shadow 0.2s;
  }
  .category-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  }
  .category-card-icon {
    font-size: 2rem;
    width: 3rem;
    text-align: center;
    flex-shrink: 0;
  }
  .category-card-title {
    font-weight: 600;
    font-size: 1rem;
    color: var(--color-primary);
  }
  .category-card-count {
    font-size: 0.8125rem;
    color: var(--color-secondary);
  }
  .bmc-button-wrapper {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--color-border);
    text-align: center;
  }
  .bmc-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.25rem;
    background: #ffdd00;
    color: #000000;
    font-weight: 600;
    font-size: 0.875rem;
    border-radius: 8px;
    transition: transform 0.2s, box-shadow 0.2s;
  }
  .bmc-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 221, 0, 0.4);
  }
  .copy-code {
    display: none;
    position: absolute;
    top: 8px;
    right: 8px;
    padding: 4px 8px;
    font-size: 0.75rem;
    background: rgba(255, 255, 255, 0.15);
    color: rgba(255, 255, 255, 0.7);
    border: none;
    border-radius: 4px;
    cursor: pointer;
  }
  div.highlight:hover .copy-code, pre:hover .copy-code {
    display: block;
  }
  div.highlight, pre {
    position: relative;
  }
  .top-link {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--color-entry);
    border: 1px solid var(--color-border);
    color: var(--color-primary);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s, transform 0.2s;
    cursor: pointer;
    z-index: 50;
  }
  .top-link.visible {
    opacity: 1;
    visibility: visible;
  }
  .top-link:hover {
    transform: translateY(-2px);
  }
  .pagefind-ui {
    --pagefind-ui-primary: var(--color-primary);
    --pagefind-ui-text: var(--color-primary);
    --pagefind-ui-background: var(--color-entry);
    --pagefind-ui-border: var(--color-border);
    --pagefind-ui-border-width: 1px;
    --pagefind-ui-border-radius: var(--radius);
    --pagefind-ui-font: var(--font-sans);
  }
  .sort-bar {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
  }
  .sort-bar button {
    padding: 0.375rem 0.875rem;
    font-size: 0.8125rem;
    border: 1px solid var(--color-border);
    border-radius: 6px;
    background: var(--color-entry);
    color: var(--color-secondary);
    cursor: pointer;
    transition: all 0.2s;
  }
  .sort-bar button.active {
    background: var(--color-accent);
    color: white;
    border-color: var(--color-accent);
  }
  .search-sort-label {
    display: flex;
    align-items: center;
    font-size: 0.8125rem;
    color: var(--color-secondary);
    margin-right: 0.25rem;
  }
  .search-result-date {
    display: inline-block;
    margin-left: 0.5rem;
    font-size: 0.75rem;
    color: var(--color-secondary);
    font-weight: 400;
  }
  .related-posts {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--color-border);
  }
  .related-posts-title {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 1.25rem;
  }
  .related-post-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--color-border);
    transition: color 0.2s;
  }
  .related-post-item:last-child {
    border-bottom: none;
  }
  .related-post-item:hover .related-post-title {
    color: var(--color-accent);
  }
  .related-post-title {
    font-size: 0.9375rem;
    font-weight: 500;
    transition: color 0.2s;
  }
  .related-post-date {
    font-size: 0.75rem;
    color: var(--color-secondary);
    white-space: nowrap;
  }
  .book-layout {
    display: flex;
    gap: 2rem;
    max-width: calc(var(--main-width) + var(--sidebar-width) + var(--gap) * 3);
    margin: 0 auto;
    padding: 2rem var(--gap);
  }
  .book-sidebar {
    width: var(--sidebar-width);
    flex-shrink: 0;
  }
  .book-sidebar-inner {
    position: sticky;
    top: 80px;
    max-height: calc(100vh - 100px);
    overflow-y: auto;
    border-right: 1px solid var(--color-border);
    padding-right: 1.5rem;
  }
  .book-sidebar-title {
    font-weight: 700;
    font-size: 1rem;
    margin-bottom: 1rem;
    color: var(--color-primary);
  }
  .book-sidebar-inner ol {
    list-style: none;
    padding: 0;
    margin: 0;
    counter-reset: chapter;
  }
  .book-sidebar-inner li {
    counter-increment: chapter;
  }
  .book-sidebar-inner li a {
    display: block;
    padding: 0.5rem 0.75rem;
    font-size: 0.875rem;
    color: var(--color-secondary);
    border-radius: 6px;
    transition: color 0.2s, background 0.2s;
  }
  .book-sidebar-inner li a::before {
    content: counter(chapter) ". ";
    color: var(--color-secondary);
    opacity: 0.5;
  }
  .book-sidebar-inner li a:hover, .book-sidebar-inner li a.current {
    color: var(--color-primary);
    background: var(--color-tertiary);
  }
  .book-content {
    flex: 1;
    min-width: 0;
  }
  .book-sidebar-toggle {
    display: none;
    width: 100%;
    padding: 0.5rem 1rem;
    margin-bottom: 0.5rem;
    background: var(--color-theme);
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    cursor: pointer;
    font-size: 0.9rem;
    color: var(--color-primary);
    text-align: left;
  }
  .book-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
  }
  .book-card {
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    background: var(--color-entry);
    overflow: hidden;
    transition: transform 0.2s, box-shadow 0.2s;
  }
  .book-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
  }
  .book-card a {
    display: block;
    color: inherit;
    text-decoration: none;
  }
  .book-card-cover {
    width: 100%;
    height: 180px;
    overflow: hidden;
  }
  .book-card-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  .book-card-body {
    padding: 1.25rem;
  }
  .book-card-title {
    font-weight: 600;
    font-size: 1.0625rem;
    margin-bottom: 0.5rem;
  }
  .book-card-desc {
    font-size: 0.875rem;
    color: var(--color-secondary);
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 0.75rem;
  }
  .book-card-meta {
    display: inline-block;
    font-size: 0.8125rem;
    color: var(--color-secondary);
    margin-bottom: 0.75rem;
  }
  .book-card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.375rem;
    margin-top: 0.5rem;
  }
  .book-tag {
    display: inline-block;
    font-size: 0.75rem;
    padding: 0.125rem 0.5rem;
    border-radius: 3px;
    background: var(--color-border);
    color: var(--color-secondary);
  }
  .home-section-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1.25rem;
    color: var(--color-primary);
  }
  .page-header {
    margin-bottom: 1.5rem;
  }
  .page-header h1 {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--color-primary);
  }
  .page-header .post-description {
    color: var(--color-secondary);
    font-size: 0.9375rem;
    line-height: 1.6;
  }
  .post-entry-cover {
    transition: transform 0.3s ease;
  }
  .post-entry:hover .post-entry-cover {
    transform: scale(1.03);
  }
  :focus-visible {
    outline: 2px solid var(--color-accent);
    outline-offset: 2px;
  }
  a:focus-visible {
    border-radius: 4px;
  }
  button:focus-visible, .header-controls button:focus-visible, .header-controls a:focus-visible {
    border-radius: 8px;
  }
  .draft-badge {
    display: inline-block;
    padding: 0.125rem 0.5rem;
    font-size: 0.6875rem;
    font-weight: 600;
    background: #f59e0b;
    color: #000;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
  }
  .post-single {
    flex: 1;
    min-width: 0;
  }
  .post-header {
    margin-bottom: 2rem;
  }
  .post-title {
    font-size: 2rem;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 0.75rem;
    color: var(--color-primary);
  }
  .post-description {
    font-size: 1rem;
    color: var(--color-secondary);
    line-height: 1.7;
    margin-bottom: 0.5rem;
  }
  .post-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.875rem;
    color: var(--color-secondary);
    margin-top: 0.75rem;
  }
  .translation-links {
    display: inline-flex;
    gap: 6px;
    margin-left: 8px;
  }
  .translation-link {
    display: inline-block;
    font-size: 0.75rem;
    padding: 2px 10px;
    border-radius: 999px;
    background: var(--color-code-bg);
    color: var(--color-primary);
    text-decoration: none;
    line-height: 1.4;
    transition: background 0.2s, color 0.2s;
  }
  .translation-link:hover {
    background: var(--color-accent);
    color: #fff;
  }
  .post-footer {
    margin-top: 3rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--color-border);
  }
  .post-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
  }
  .paginav {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 1.5rem;
  }
  .paginav a {
    padding: 1rem;
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    flex: 1;
    transition: background 0.2s, border-color 0.2s;
  }
  .paginav a:hover {
    background: var(--color-tertiary);
    border-color: var(--color-accent);
  }
  .paginav .prev {
    text-align: left;
  }
  .paginav .next {
    text-align: right;
    margin-left: auto;
  }
  .paginav .title {
    font-size: 0.8125rem;
    color: var(--color-secondary);
    display: block;
    margin-bottom: 0.25rem;
  }
  .paginav span:not(.title) {
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--color-primary);
  }
  .i18n_list {
    display: inline;
    list-style: none;
    padding: 0;
    margin: 0;
  }
  .i18n_list li {
    display: inline;
  }
  .i18n_list a {
    color: var(--color-accent);
    text-decoration: underline;
    text-underline-offset: 2px;
  }
  .no-sidebar {
    max-width: var(--main-width);
  }
  .no-sidebar .post-sidebar {
    display: none;
  }
  .entry-hint {
    display: inline-flex;
    align-items: center;
    color: var(--color-secondary);
    margin-left: 0.5rem;
  }
  .entry-hint svg {
    width: 20px;
    height: 20px;
  }
  .book-header {
    display: flex;
    gap: 2rem;
    margin-bottom: 2rem;
    align-items: flex-start;
  }
  .book-header .book-card-cover {
    width: 200px;
    flex-shrink: 0;
    height: auto;
    overflow: visible;
  }
  .book-header .book-card-cover img {
    width: 100%;
    height: auto;
    object-fit: contain;
    border-radius: var(--radius);
  }
  .book-header-info {
    flex: 1;
    min-width: 0;
  }
  .book-header-info h1 {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    word-wrap: break-word;
    overflow-wrap: break-word;
  }
  .book-toc {
    margin-top: 2rem;
  }
  .book-toc h2 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
  }
  .book-chapter-list {
    list-style: decimal;
    padding-left: 1.5rem;
  }
  .book-chapter-list li {
    margin: 0.5rem 0;
  }
  .book-chapter-list a {
    color: var(--color-accent);
    text-decoration: underline;
    text-underline-offset: 2px;
  }
  .book-card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.375rem;
    margin-top: 0.75rem;
  }
  .book-tag {
    font-size: 0.75rem;
    padding: 0.125rem 0.5rem;
    background: var(--color-tertiary);
    border-radius: 4px;
    color: var(--color-secondary);
  }
  .book-card-meta {
    font-size: 0.8125rem;
    color: var(--color-secondary);
    margin-top: 0.5rem;
  }
  .book-source-link {
    display: inline-block;
    margin-top: 0.75rem;
    color: var(--color-accent);
    font-size: 0.875rem;
    text-decoration: underline;
  }
  .book-card-cover img {
    width: 100%;
    height: 180px;
    object-fit: cover;
  }
  .entry-cover {
    margin-bottom: 1.5rem;
    border-radius: var(--radius);
    overflow: hidden;
  }
  .entry-cover img {
    width: 100%;
    height: auto;
    display: block;
  }
  .share-buttons {
    display: flex;
    gap: 0.75rem;
    margin-top: 1rem;
  }
  .share-buttons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--color-tertiary);
    color: var(--color-secondary);
    transition: background 0.2s, color 0.2s;
  }
  .share-buttons a:hover {
    background: var(--color-accent);
    color: white;
  }
  .toc {
    background: var(--color-tertiary);
    border-radius: var(--radius);
    padding: 1rem 1.5rem;
    margin-bottom: 1.5rem;
  }
  .toc details summary {
    cursor: pointer;
    font-weight: 600;
    font-size: 0.9375rem;
  }
  .inner {
    padding-top: 0.5rem;
  }
  .archive-year {
    margin-bottom: 2rem;
  }
  .archive-year-header {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--color-accent);
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
  }
  .archive-count {
    font-size: 0.875rem;
    font-weight: 400;
    color: var(--color-secondary);
  }
  .archive-month {
    margin-bottom: 1.5rem;
    margin-left: 0.5rem;
  }
  .archive-month-header {
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-secondary);
    margin-bottom: 0.75rem;
  }
  .archive-posts {
    display: flex;
    flex-direction: column;
    gap: 0;
  }
  .archive-entry {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0.75rem;
    border-radius: 6px;
    transition: background 0.2s;
  }
  .archive-entry:hover {
    background: var(--color-tertiary);
  }
  .archive-entry-title {
    font-size: 0.9375rem;
    color: var(--color-primary);
  }
  .archive-entry-date {
    font-size: 0.8125rem;
    color: var(--color-secondary);
    white-space: nowrap;
    margin-left: 1rem;
  }
}@media(max-width:768px){:root{--gap:16px}.site-nav{display:none}.hamburger{display:flex}.mobile-menu{display:none;position:fixed;top:64px;left:0;right:0;bottom:0;background:var(--color-theme);z-index:200;padding:1rem var(--gap);overflow-y:auto;-webkit-overflow-scrolling:touch}.mobile-menu.open{display:block}.mobile-menu a{display:block;padding:.875rem 0;font-size:1rem;color:var(--color-primary);border-bottom:1px solid var(--color-border)}.mobile-menu a:hover{color:var(--color-accent)}.hero-title{font-size:1.75rem}.hero-stats{grid-template-columns:repeat(2,1fr)}.post-entry{flex-direction:column;align-items:stretch}.post-entry-cover{width:100%;height:180px}.post-with-sidebar{flex-direction:column}.post-sidebar{display:none}.site-footer-inner{flex-direction:column;gap:2rem}.book-header{flex-direction:column;align-items:center;text-align:center}.book-header .book-card-cover{width:160px}.book-layout{flex-direction:column}.book-sidebar-toggle{display:block}.book-sidebar{display:none;width:100%}.book-sidebar.open{display:block}.book-sidebar-inner{position:static;border-right:none;border-bottom:1px solid var(--color-border);padding-right:0;padding-bottom:1rem;margin-bottom:1rem;max-height:none}}@media(min-width:769px) and (max-width:1400px){.post-with-sidebar{max-width:var(--main-width)}.post-sidebar{display:none}}@media print{.site-header,.site-footer,.post-sidebar,.top-link,.hamburger,.mobile-menu,.pagination,.sort-bar,.header-controls,.copy-code,.bmc-button,.hero-tags,.hero-stats{display:none!important}body{background:#fff;color:#000;font-size:12pt}.site-main{max-width:100%;padding:0}.post-content a{color:inherit;text-decoration:underline}.post-content a[href]::after{content:" (" attr(href)")";font-size:.8em;color:#666}.post-content pre{white-space:pre-wrap;border:1px solid #ccc;background:#f9f9f9;color:#333}.post-entry{break-inside:avoid;box-shadow:none;border:1px solid #ddd}.post-content img{max-width:100%;break-inside:avoid}}@property --tw-rotate-x{syntax: "*";
  inherits: false;
}@property --tw-rotate-y{syntax: "*";
  inherits: false;
}@property --tw-rotate-z{syntax: "*";
  inherits: false;
}@property --tw-skew-x{syntax: "*";
  inherits: false;
}@property --tw-skew-y{syntax: "*";
  inherits: false;
}@property --tw-space-y-reverse{syntax: "*";
  inherits: false;
  initial-value: 0;
}@property --tw-border-style{syntax: "*";
  inherits: false;
  initial-value: solid;
}@property --tw-font-weight{syntax: "*";
  inherits: false;
}@property --tw-shadow{syntax: "*";
  inherits: false;
  initial-value: 0 0 #0000;
}@property --tw-shadow-color{syntax: "*";
  inherits: false;
}@property --tw-shadow-alpha{syntax: "<percentage>";
  inherits: false;
  initial-value: 100%;
}@property --tw-inset-shadow{syntax: "*";
  inherits: false;
  initial-value: 0 0 #0000;
}@property --tw-inset-shadow-color{syntax: "*";
  inherits: false;
}@property --tw-inset-shadow-alpha{syntax: "<percentage>";
  inherits: false;
  initial-value: 100%;
}@property --tw-ring-color{syntax: "*";
  inherits: false;
}@property --tw-ring-shadow{syntax: "*";
  inherits: false;
  initial-value: 0 0 #0000;
}@property --tw-inset-ring-color{syntax: "*";
  inherits: false;
}@property --tw-inset-ring-shadow{syntax: "*";
  inherits: false;
  initial-value: 0 0 #0000;
}@property --tw-ring-inset{syntax: "*";
  inherits: false;
}@property --tw-ring-offset-width{syntax: "<length>";
  inherits: false;
  initial-value: 0px;
}@property --tw-ring-offset-color{syntax: "*";
  inherits: false;
  initial-value: #fff;
}@property --tw-ring-offset-shadow{syntax: "*";
  inherits: false;
  initial-value: 0 0 #0000;
}@property --tw-outline-style{syntax: "*";
  inherits: false;
  initial-value: solid;
}@property --tw-blur{syntax: "*";
  inherits: false;
}@property --tw-brightness{syntax: "*";
  inherits: false;
}@property --tw-contrast{syntax: "*";
  inherits: false;
}@property --tw-grayscale{syntax: "*";
  inherits: false;
}@property --tw-hue-rotate{syntax: "*";
  inherits: false;
}@property --tw-invert{syntax: "*";
  inherits: false;
}@property --tw-opacity{syntax: "*";
  inherits: false;
}@property --tw-saturate{syntax: "*";
  inherits: false;
}@property --tw-sepia{syntax: "*";
  inherits: false;
}@property --tw-drop-shadow{syntax: "*";
  inherits: false;
}@property --tw-drop-shadow-color{syntax: "*";
  inherits: false;
}@property --tw-drop-shadow-alpha{syntax: "<percentage>";
  inherits: false;
  initial-value: 100%;
}@property --tw-drop-shadow-size{syntax: "*";
  inherits: false;
}@property --tw-ease{syntax: "*";
  inherits: false;
}@keyframes pulse{50%{opacity:.5}}@layer properties{@supports ((-webkit-hyphens: none) and (not (margin-trim: inline))) or ((-moz-orient: inline) and (not (color:rgb(from red r g b)))) {
    *, ::before, ::after, ::backdrop {
      --tw-rotate-x: initial;
      --tw-rotate-y: initial;
      --tw-rotate-z: initial;
      --tw-skew-x: initial;
      --tw-skew-y: initial;
      --tw-space-y-reverse: 0;
      --tw-border-style: solid;
      --tw-font-weight: initial;
      --tw-shadow: 0 0 #0000;
      --tw-shadow-color: initial;
      --tw-shadow-alpha: 100%;
      --tw-inset-shadow: 0 0 #0000;
      --tw-inset-shadow-color: initial;
      --tw-inset-shadow-alpha: 100%;
      --tw-ring-color: initial;
      --tw-ring-shadow: 0 0 #0000;
      --tw-inset-ring-color: initial;
      --tw-inset-ring-shadow: 0 0 #0000;
      --tw-ring-inset: initial;
      --tw-ring-offset-width: 0px;
      --tw-ring-offset-color: #fff;
      --tw-ring-offset-shadow: 0 0 #0000;
      --tw-outline-style: solid;
      --tw-blur: initial;
      --tw-brightness: initial;
      --tw-contrast: initial;
      --tw-grayscale: initial;
      --tw-hue-rotate: initial;
      --tw-invert: initial;
      --tw-opacity: initial;
      --tw-saturate: initial;
      --tw-sepia: initial;
      --tw-drop-shadow: initial;
      --tw-drop-shadow-color: initial;
      --tw-drop-shadow-alpha: 100%;
      --tw-drop-shadow-size: initial;
      --tw-ease: initial;
    }
  }
}