@charset "UTF-8";
/*
  Theme: Illuminatis
  Author: szk (based on Hatena Blog Boilerplate)
  Responsive: yes
  Description:
    1llum1n4t1s.github.io inspired dark-tech modern design theme.
    Supports automatic dark/light mode switching via prefers-color-scheme.
    1-column layout with card-style entries and sidebar grid below content.
  Released under the MIT License.
*/
/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */
/* Document
   ========================================================================== */
/**
 * 1. Correct the line height in all browsers.
 * 2. Prevent adjustments of font size after orientation changes in iOS.
 */
html {
  line-height: 1.15; /* 1 */
  -webkit-text-size-adjust: 100%; /* 2 */
}

/* Sections
   ========================================================================== */
/**
 * Remove the margin in all browsers.
 */
body {
  margin: 0;
}

/**
 * Render the `main` element consistently in IE.
 */
main {
  display: block;
}

/**
 * Correct the font size and margin on `h1` elements within `section` and
 * `article` contexts in Chrome, Firefox, and Safari.
 */
h1 {
  font-size: 2em;
  margin: 0.67em 0;
}

/* Grouping content
   ========================================================================== */
/**
 * 1. Add the correct box sizing in Firefox.
 * 2. Show the overflow in Edge and IE.
 */
hr {
  box-sizing: content-box; /* 1 */
  height: 0; /* 1 */
  overflow: visible; /* 2 */
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
pre {
  font-family: monospace, monospace; /* 1 */
  font-size: 1em; /* 2 */
}

/* Text-level semantics
   ========================================================================== */
/**
 * Remove the gray background on active links in IE 10.
 */
a {
  background-color: transparent;
}

/**
 * 1. Remove the bottom border in Chrome 57-
 * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
 */
abbr[title] {
  border-bottom: none; /* 1 */
  text-decoration: underline; /* 2 */
  -webkit-text-decoration: underline dotted;
          text-decoration: underline dotted; /* 2 */
}

/**
 * Add the correct font weight in Chrome, Edge, and Safari.
 */
b,
strong {
  font-weight: bolder;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
code,
kbd,
samp {
  font-family: monospace, monospace; /* 1 */
  font-size: 1em; /* 2 */
}

/**
 * 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;
}

/* Embedded content
   ========================================================================== */
/**
 * Remove the border on images inside links in IE 10.
 */
img {
  border-style: none;
}

/* Forms
   ========================================================================== */
/**
 * 1. Change the font styles in all browsers.
 * 2. Remove the margin in Firefox and Safari.
 */
button,
input,
optgroup,
select,
textarea {
  font-family: inherit; /* 1 */
  font-size: 100%; /* 1 */
  line-height: 1.15; /* 1 */
  margin: 0; /* 2 */
}

/**
 * Show the overflow in IE.
 * 1. Show the overflow in Edge.
 */
button,
input { /* 1 */
  overflow: visible;
}

/**
 * Remove the inheritance of text transform in Edge, Firefox, and IE.
 * 1. Remove the inheritance of text transform in Firefox.
 */
button,
select { /* 1 */
  text-transform: none;
}

/**
 * Correct the inability to style clickable types in iOS and Safari.
 */
button,
[type=button],
[type=reset],
[type=submit] {
  -webkit-appearance: button;
}

/**
 * Remove the inner border and padding in Firefox.
 */
button::-moz-focus-inner,
[type=button]::-moz-focus-inner,
[type=reset]::-moz-focus-inner,
[type=submit]::-moz-focus-inner {
  border-style: none;
  padding: 0;
}

/**
 * Restore the focus styles unset by the previous rule.
 */
button:-moz-focusring,
[type=button]:-moz-focusring,
[type=reset]:-moz-focusring,
[type=submit]:-moz-focusring {
  outline: 1px dotted ButtonText;
}

/**
 * Correct the padding in Firefox.
 */
fieldset {
  padding: 0.35em 0.75em 0.625em;
}

/**
 * 1. Correct the text wrapping in Edge and IE.
 * 2. Correct the color inheritance from `fieldset` elements in IE.
 * 3. Remove the padding so developers are not caught out when they zero out
 *    `fieldset` elements in all browsers.
 */
legend {
  box-sizing: border-box; /* 1 */
  color: inherit; /* 2 */
  display: table; /* 1 */
  max-width: 100%; /* 1 */
  padding: 0; /* 3 */
  white-space: normal; /* 1 */
}

/**
 * Add the correct vertical alignment in Chrome, Firefox, and Opera.
 */
progress {
  vertical-align: baseline;
}

/**
 * Remove the default vertical scrollbar in IE 10+.
 */
textarea {
  overflow: auto;
}

/**
 * 1. Add the correct box sizing in IE 10.
 * 2. Remove the padding in IE 10.
 */
[type=checkbox],
[type=radio] {
  box-sizing: border-box; /* 1 */
  padding: 0; /* 2 */
}

/**
 * Correct the cursor style of increment and decrement buttons in Chrome.
 */
[type=number]::-webkit-inner-spin-button,
[type=number]::-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.
 */
[type=search]::-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 */
}

/* Interactive
   ========================================================================== */
/*
 * Add the correct display in Edge, IE 10+, and Firefox.
 */
details {
  display: block;
}

/*
 * Add the correct display in all browsers.
 */
summary {
  display: list-item;
}

/* Misc
   ========================================================================== */
/**
 * Add the correct display in IE 10+.
 */
template {
  display: none;
}

/**
 * Add the correct display in IE 10.
 */
[hidden] {
  display: none;
}

:root {
  --bg-deep: #f8fafc;
  --bg-card: #ffffff;
  --bg-card-hover: #f1f5f9;
  --bg-surface: #f1f5f9;
  --accent-cyan: #0891b2;
  --accent-blue: #2563eb;
  --accent-purple: #7c3aed;
  --accent-emerald: #059669;
  --text-primary: #0f172a;
  --text-secondary: #475569;
  --text-muted: #94a3b8;
  --border: #e2e8f0;
  --border-subtle: rgba(100, 116, 139, 0.12);
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.07), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
  --shadow-lg: 0 10px 25px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -4px rgba(0, 0, 0, 0.05);
  --shadow-card-hover: 0 20px 40px -5px rgba(0, 0, 0, 0.12);
  --glow-cyan: rgba(8, 145, 178, 0.08);
  --glow-blue: rgba(37, 99, 235, 0.06);
  --bg-code: #f1f5f9;
  --bg-code-inline: rgba(100, 116, 139, 0.1);
  --text-code: #0f172a;
  --gradient-accent: linear-gradient(135deg, var(--accent-cyan), var(--accent-blue), var(--accent-purple));
  --gradient-accent-horizontal: linear-gradient(90deg, var(--accent-cyan), var(--accent-blue), var(--accent-purple));
  --scrollbar-thumb: #cbd5e1;
  --scrollbar-track: var(--bg-deep);
  --noise-opacity: 0.02;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg-deep: #0a0e1a;
    --bg-card: #111827;
    --bg-card-hover: #1a2332;
    --bg-surface: #0f1523;
    --accent-cyan: #22d3ee;
    --accent-blue: #3b82f6;
    --accent-purple: #8b5cf6;
    --accent-emerald: #34d399;
    --text-primary: #f1f5f9;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;
    --border: #1e293b;
    --border-subtle: rgba(148, 163, 184, 0.08);
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.4), 0 2px 4px -2px rgba(0, 0, 0, 0.3);
    --shadow-lg: 0 10px 25px -3px rgba(0, 0, 0, 0.5), 0 4px 6px -4px rgba(0, 0, 0, 0.4);
    --shadow-card-hover: 0 20px 40px rgba(0, 0, 0, 0.3);
    --glow-cyan: rgba(34, 211, 238, 0.15);
    --glow-blue: rgba(59, 130, 246, 0.12);
    --bg-code: #0f1523;
    --bg-code-inline: rgba(148, 163, 184, 0.12);
    --text-code: #e2e8f0;
    --scrollbar-thumb: #1e293b;
    --scrollbar-track: #0a0e1a;
    --noise-opacity: 0.03;
  }
}
@keyframes float {
  0%, 100% {
    transform: translate(0, 0) scale(1);
  }
  33% {
    transform: translate(30px, -40px) scale(1.05);
  }
  66% {
    transform: translate(-20px, 20px) scale(0.95);
  }
}
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes shimmer {
  0% {
    background-position: -200% center;
  }
  100% {
    background-position: 200% center;
  }
}
html {
  scroll-behavior: smooth;
  scrollbar-width: thin;
  scrollbar-color: var(--scrollbar-thumb) var(--scrollbar-track);
}

html,
body {
  font-family: "DM Sans", "IBM Plex Sans JP", sans-serif;
  color: var(--text-primary);
  background-color: var(--bg-deep);
  line-height: 1.7;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.03'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 9999;
  opacity: var(--noise-opacity);
  transform: translateZ(0);
}

::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--scrollbar-track);
}

::-webkit-scrollbar-thumb {
  background: var(--scrollbar-thumb);
  border-radius: 4px;
}

a {
  color: var(--accent-cyan);
  text-decoration: none;
  transition: color 0.3s ease;
}
a:hover {
  color: var(--accent-blue);
}
a.keyword {
  text-decoration: none;
  border-bottom: 1px dotted var(--border);
  color: var(--text-primary);
}

h1, h2, h3, h4, h5, h6 {
  color: var(--text-primary);
  line-height: 1.3;
  font-weight: 600;
}
h1 a, h2 a, h3 a, h4 a, h5 a, h6 a {
  color: var(--text-primary);
  text-decoration: none;
}
h1 a:hover, h2 a:hover, h3 a:hover, h4 a:hover, h5 a:hover, h6 a:hover {
  color: var(--accent-cyan);
}

#container,
#footer {
  padding-left: 0.6rem;
  padding-right: 0.6rem;
}
@media (min-width: 768px) {
  #container,
  #footer {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 2rem;
    padding-right: 2rem;
  }
}

#content-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
@media (min-width: 768px) {
  #content-inner {
    grid-template-columns: 1fr 300px;
    align-items: start;
  }
}

#box2 {
  display: contents;
}
@media (min-width: 768px) {
  #box2 {
    display: block;
  }
}

#box2-inner {
  display: contents;
}
@media (min-width: 768px) {
  #box2-inner {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
  }
}

.hatena-module-search-box {
  grid-column: 1/-1;
  order: -2;
}
@media (min-width: 768px) {
  .hatena-module-search-box {
    grid-column: auto;
    order: 0;
  }
}

#wrapper {
  grid-column: 1/-1;
  order: -1;
  min-width: 0;
}
@media (min-width: 768px) {
  #wrapper {
    grid-column: 1;
    order: 0;
  }
}

.hatena-module:not(.hatena-module-search-box) {
  order: 0;
}

.archive-entries {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
@media (min-width: 992px) {
  .archive-entries {
    grid-template-columns: repeat(2, 1fr);
  }
}

#main-inner > .entry {
  max-width: none;
}

#blog-title {
  margin: 2.5rem 0;
  text-align: center;
  position: relative;
}
@media (min-width: 768px) {
  #blog-title {
    margin: 3.5rem 0 2.5rem;
  }
}

#title {
  margin: 0;
  font-size: 1.8rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}
@media (min-width: 992px) {
  #title {
    font-size: 2.2rem;
  }
}
#title a {
  color: var(--text-primary);
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
}
#title a:hover {
  opacity: 0.85;
}

#blog-description {
  font-weight: 300;
  font-size: 0.85rem;
  margin: 0.8rem 0 0;
  color: var(--text-muted);
  letter-spacing: 0.02em;
}

.header-image-enable #blog-title {
  margin: 0 0 2em;
}
.header-image-enable #blog-title-inner {
  display: flex;
  flex-direction: row;
  align-items: center;
}
.header-image-enable #blog-title-content {
  margin-left: 10px;
  margin-right: 10px;
}

#top-editarea {
  margin-bottom: 1.5em;
}

.breadcrumb {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}
.breadcrumb a {
  color: var(--text-secondary);
}

.entry {
  position: relative;
  margin-bottom: 0;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  padding: 1rem;
  box-shadow: var(--shadow-sm);
  transition: transform 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94), box-shadow 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
@media (min-width: 768px) {
  .entry {
    padding: 1.8rem;
  }
}
.entry:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
}
.entry::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--gradient-accent-horizontal);
  opacity: 0;
  transition: opacity 0.3s ease;
}
.entry:hover::before {
  opacity: 1;
}

.entry-header {
  padding-bottom: 1em;
  margin-bottom: 1.5em;
  border-bottom: 1px solid var(--border-subtle);
  position: relative;
}

.date {
  margin-bottom: 0.5em;
  font-size: 0.8rem;
  font-family: "JetBrains Mono", monospace;
  letter-spacing: 0.05em;
}
.date a {
  color: var(--text-muted);
  text-decoration: none;
}
.date a:hover {
  color: var(--accent-cyan);
}

.entry-title {
  margin: 0 0 0.3em;
  font-size: 1.15rem;
  font-weight: 600;
}
@media (min-width: 992px) {
  .entry-title {
    font-size: 1.25rem;
  }
}
.entry-title a {
  transition: color 0.3s ease;
}
.entry-title a:hover {
  color: var(--accent-cyan);
}

.categories {
  margin: 0.5em 0 0.5em 1em;
  font-size: 0.8rem;
}

.entry-header-menu {
  position: absolute;
  top: 0;
  right: 0;
}
.entry-header-menu a {
  color: var(--text-muted);
  font-size: 0.8rem;
  padding: 0.3em 0.8em;
  border: 1px solid var(--border);
  border-radius: 8px;
  transition: all 0.3s ease;
}
.entry-header-menu a:hover {
  color: var(--accent-cyan);
  border-color: var(--accent-cyan);
}

.entry-content img,
.entry-content video {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
}
.entry-content h1, .entry-content h2, .entry-content h3, .entry-content h4, .entry-content h5, .entry-content h6 {
  margin: 1.5em 0 0.8em 0;
  padding-left: 0.8em;
  border-left: 3px solid var(--accent-cyan);
}
.entry-content h1 {
  font-size: 1.5rem;
}
@media (min-width: 992px) {
  .entry-content h1 {
    font-size: 1.7rem;
  }
}
.entry-content h2 {
  font-size: 1.35rem;
}
@media (min-width: 992px) {
  .entry-content h2 {
    font-size: 1.5rem;
  }
}
.entry-content h3 {
  font-size: 1.15rem;
  border-left-color: var(--accent-blue);
}
@media (min-width: 992px) {
  .entry-content h3 {
    font-size: 1.25rem;
  }
}
.entry-content h4 {
  font-size: 1.05rem;
  border-left-color: var(--accent-purple);
}
.entry-content h5 {
  font-size: 1rem;
  border-left-color: var(--accent-purple);
}
.entry-content h6 {
  font-size: 0.9rem;
  border-left-color: var(--text-muted);
}
.entry-content strong, .entry-content b {
  color: var(--accent-cyan);
  font-weight: 700;
  background: var(--glow-cyan);
  padding: 0.05em 0.3em;
  border-radius: 3px;
}
.entry-content ul, .entry-content ol, .entry-content dd {
  margin: 0 0 1em 1.5em;
  padding: 0;
}
.entry-content ul li, .entry-content ol li, .entry-content dd li {
  margin-bottom: 0.3em;
}
.entry-content ul li ul, .entry-content ul li ol, .entry-content ol li ul, .entry-content ol li ol, .entry-content dd li ul, .entry-content dd li ol {
  margin-bottom: 0;
}
.entry-content table {
  border-collapse: collapse;
  border-spacing: 0;
  margin-bottom: 1.5em;
  width: 100%;
  overflow: auto;
  display: block;
  font-size: 0.85rem;
}
@media (min-width: 992px) {
  .entry-content table {
    font-size: 0.9rem;
  }
}
.entry-content table th,
.entry-content table td {
  border: 1px solid var(--border);
  padding: 0.6em 1em;
}
.entry-content table th {
  background: var(--bg-surface);
  font-weight: 600;
  color: var(--text-primary);
}
.entry-content blockquote {
  border: none;
  border-left: 3px solid var(--accent-cyan);
  margin: 0 0 1.5em;
  padding: 1em 1.5em;
  background: var(--bg-surface);
  border-radius: 0 8px 8px 0;
  color: var(--text-secondary);
}
.entry-content blockquote p:first-of-type {
  margin-top: 0;
}
.entry-content blockquote p:last-of-type {
  margin-bottom: 0;
}
.entry-content pre,
.entry-content code {
  font-family: "JetBrains Mono", monospace;
}
.entry-content pre {
  background: var(--bg-code);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  white-space: pre-wrap;
  line-height: 1.5;
  font-size: 0.85rem;
  padding: 1.2em 1.5em;
  color: var(--text-code);
  overflow-x: auto;
}
.entry-content pre > code {
  margin: 0;
  padding: 0;
  white-space: pre;
  border: none;
  background-color: transparent;
  color: inherit;
}
.entry-content code {
  font-size: 0.88em;
  margin: 0 2px;
  padding: 0.15em 0.5em;
  background-color: var(--bg-code-inline);
  border-radius: 4px;
  color: var(--accent-cyan);
}
.entry-content hr {
  width: 60%;
  border: 0;
  border-top: 1px solid var(--border);
  margin: 2.5em auto;
}
.entry-content .table-of-contents {
  padding: 1.2em 1.5em 1.2em 2.5em;
  margin: 1.5em 0;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  font-size: 0.9rem;
}
.entry-content .table-of-contents a {
  color: var(--text-secondary);
}
.entry-content .table-of-contents a:hover {
  color: var(--accent-cyan);
}

.entry-footer {
  margin-top: 1.5em;
}
.entry-footer .social-buttons {
  margin-bottom: 1em;
}

.entry-footer-section {
  color: var(--text-muted);
  font-size: 0.85rem;
}
.entry-footer-section a {
  color: var(--text-muted);
}
.entry-footer-section a:hover {
  color: var(--accent-cyan);
}

.comment-box {
  margin: 1.5em 0;
}
.comment-box .comment {
  list-style: none;
  margin: 0 0 15px 0;
  padding: 0;
  line-height: 1.7;
  font-size: 0.85rem;
}
@media (min-width: 768px) {
  .comment-box .comment {
    font-size: 0.9rem;
  }
}
.comment-box .entry-comment {
  padding: 1.2em 1em 1.2em 70px;
  border-bottom: 1px solid var(--border-subtle);
  position: relative;
  background: var(--bg-card);
  border-radius: 12px;
  margin-bottom: 0.8em;
}
.comment-box .entry-comment:first-child {
  border-top: none;
}
.comment-box .read-more-comments {
  padding: 10px 0;
}
.comment-box .hatena-id-icon {
  position: absolute;
  top: 1.2em;
  left: 10px;
  width: 48px !important;
  height: 48px !important;
  border-radius: 8px;
}

.comment-user-name {
  margin: 0 0 0.4em 0;
  font-weight: 600;
  color: var(--text-primary);
}

.comment-content {
  margin: 0 0 0.4em 0;
  overflow-wrap: break-word;
  color: var(--text-secondary);
  font-size: 0.85rem;
}
.comment-content p {
  margin: 0 0 0.6em 0;
}

.comment-metadata {
  color: var(--text-muted);
  margin: 0;
  font-size: 0.75rem;
  font-family: "JetBrains Mono", monospace;
}
.comment-metadata a {
  color: var(--text-muted);
}
.comment-metadata a:hover {
  color: var(--accent-cyan);
}

.leave-comment-title {
  padding: 0.8em 1.2em;
  font-size: 0.85rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--accent-cyan);
  transition: all 0.3s ease;
}
.leave-comment-title:hover {
  border-color: var(--accent-cyan);
  background: var(--bg-surface);
}

.pager {
  margin: 2.5em 0;
  display: flex;
  justify-content: space-between;
  gap: 1em;
}
.pager a {
  display: inline-flex;
  align-items: center;
  padding: 0.6em 1.2em;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  color: var(--text-secondary);
  font-size: 0.9rem;
  text-decoration: none;
  transition: all 0.3s ease;
}
.pager a:hover {
  color: var(--accent-cyan);
  border-color: var(--accent-cyan);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.hatena-module {
  box-sizing: border-box;
  font-size: 0.85rem;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  padding: 1.5em;
  transition: box-shadow 0.3s ease;
}
@media (min-width: 768px) {
  .hatena-module {
    font-size: 0.9rem;
  }
}
.hatena-module:hover {
  box-shadow: var(--shadow-md);
}

.hatena-module-title {
  margin-bottom: 0.8em;
  padding-bottom: 0.5em;
  border-bottom: none;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--text-primary);
  position: relative;
}
.hatena-module-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 2px;
  background: var(--gradient-accent-horizontal);
  border-radius: 1px;
}
.hatena-module-title a {
  color: var(--text-primary);
  text-decoration: none;
}
.hatena-module-title a:hover {
  color: var(--accent-cyan);
}

.hatena-module-profile .profile-icon {
  float: left;
  margin: 0 12px 12px 0;
  border-radius: 12px;
}
.hatena-module-profile .id {
  display: block;
  font-weight: 600;
  margin-bottom: 0.5em;
  color: var(--text-primary);
}
.hatena-module-profile .profile-description {
  color: var(--text-secondary);
}
.hatena-module-profile .profile-description p {
  margin-top: 0;
}

.hatena-urllist {
  list-style: none;
  margin: 0;
  padding: 0;
}
.hatena-urllist li {
  padding: 0.5em 0;
  border-bottom: 1px solid var(--border-subtle);
}
.hatena-urllist li:last-child {
  padding-bottom: 0;
  border-bottom: none;
}
.hatena-urllist li a {
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.3s ease;
}
.hatena-urllist li a:hover {
  color: var(--accent-cyan);
}
.hatena-urllist .urllist-category-link {
  font-size: 0.7rem;
  padding: 0.1em 0.4em;
  background: var(--bg-code-inline);
  border-radius: 3px;
}
.hatena-urllist .urllist-date-link a {
  color: var(--text-muted);
  font-family: "JetBrains Mono", monospace;
  font-size: 0.8rem;
}
.hatena-urllist .urllist-entry-body {
  margin-top: 0.3em;
  color: var(--text-muted);
  font-size: 0.8rem;
}

.search-result-form, .hatena-module-search-box .search-form {
  display: flex;
  align-items: center;
  box-sizing: border-box;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 0.25em 0.5em;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.search-result-form:focus-within, .hatena-module-search-box .search-form:focus-within {
  border-color: var(--accent-cyan);
  box-shadow: 0 0 0 3px var(--glow-cyan), var(--shadow-md);
}

.search-result-input, .hatena-module-search-box .search-module-input {
  flex: 1 1 auto;
  min-width: 0;
  padding: 0.6em 1em;
  color: var(--text-primary);
  background: none;
  border: none;
  outline: none;
  height: 28px;
  font-family: "DM Sans", "IBM Plex Sans JP", sans-serif;
  font-size: 0.95rem;
}
.search-result-input::-moz-placeholder, .hatena-module-search-box .search-module-input::-moz-placeholder {
  color: var(--text-muted);
}
.search-result-input::placeholder, .hatena-module-search-box .search-module-input::placeholder {
  color: var(--text-muted);
}

.search-result-button, .hatena-module-search-box .search-module-button {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  margin-right: 4px;
  background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath fill='%230f172a' d='M16.7,15l-3.4-3.3h-.1a5.4,5.4,0,0,0,.9-3.1,5.6,5.6,0,1,0-5.6,5.6,5.4,5.4,0,0,0,3.1-.9.1.1,0,0,0,.1.1L15,16.7a1.1,1.1,0,0,0,.8.3,1.6,1.6,0,0,0,.9-.3,1.4,1.4,0,0,0,0-1.7M8.5,12.3A3.8,3.8,0,0,1,4.8,8.5,3.8,3.8,0,0,1,8.5,4.7a3.9,3.9,0,0,1,3.8,3.8,3.8,3.8,0,0,1-3.8,3.8'/%3E%3C/svg%3E") no-repeat center;
  background-size: 20px 20px;
  border: none;
  outline: none;
  color: transparent;
  overflow: hidden;
  opacity: 0.5;
  cursor: pointer;
  border-radius: 50%;
  transition: opacity 0.3s ease, background-color 0.3s ease;
}
.search-result-button:hover, .hatena-module-search-box .search-module-button:hover {
  opacity: 0.9;
  background-color: var(--bg-surface);
}

.hatena-module-search-box {
  max-width: 600px;
  margin: 0 auto;
  width: 100%;
}
@media (min-width: 768px) {
  .hatena-module-search-box {
    max-width: none;
    margin: 0;
  }
}
.hatena-module-search-box {
  background: none;
  border: none;
  padding: 0;
  border-radius: 0;
}
.hatena-module-search-box:hover {
  box-shadow: none;
}
.hatena-module-search-box > .hatena-module-title {
  display: none;
}
.hatena-module-search-box .search-form {
  width: 100%;
}
#content-inner:has(.search-result) .hatena-module-search-box {
  display: none;
}

.search-result-form {
  max-width: 600px;
  margin-bottom: 1.5rem;
}

@media (prefers-color-scheme: dark) {
  .search-module-button,
  .search-result-button {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath fill='%23e2e8f0' d='M16.7,15l-3.4-3.3h-.1a5.4,5.4,0,0,0,.9-3.1,5.6,5.6,0,1,0-5.6,5.6,5.4,5.4,0,0,0,3.1-.9.1.1,0,0,0,.1.1L15,16.7a1.1,1.1,0,0,0,.8.3,1.6,1.6,0,0,0,.9-.3,1.4,1.4,0,0,0,0-1.7M8.5,12.3A3.8,3.8,0,0,1,4.8,8.5,3.8,3.8,0,0,1,8.5,4.7a3.9,3.9,0,0,1,3.8,3.8,3.8,3.8,0,0,1-3.8,3.8'/%3E%3C/svg%3E");
    opacity: 0.7;
  }
  .search-module-button:hover,
  .search-result-button:hover {
    opacity: 1;
  }
}
.page-about .entry-content dt {
  font-weight: 600;
  border-bottom: 1px solid var(--border-subtle);
  margin-bottom: 0.5em;
  padding-bottom: 0.3em;
  color: var(--text-primary);
}
.page-about .entry-content dd {
  margin-left: 0;
  margin-bottom: 2em;
  color: var(--text-secondary);
}

.archive-entry {
  line-height: 1.4;
  padding: 0;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94), box-shadow 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.archive-entry:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
}
.archive-entry::before {
  content: "";
  display: block;
  height: 2px;
  background: var(--gradient-accent-horizontal);
  opacity: 0;
  transition: opacity 0.3s ease;
}
.archive-entry:hover::before {
  opacity: 1;
}

.archive-entry-header {
  padding: 1.2rem 1rem 0;
}
@media (min-width: 768px) {
  .archive-entry-header {
    padding: 1.2rem 1.5rem 0;
  }
}

.archive-date {
  font-size: 0.75rem;
  font-family: "JetBrains Mono", monospace;
  letter-spacing: 0.05em;
}
.archive-date a {
  color: var(--text-muted);
  text-decoration: none;
}
.archive-date a:hover {
  color: var(--accent-cyan);
}

.archive-entry .entry-thumb-link {
  display: block;
  overflow: hidden;
  background: var(--bg-surface);
}
.archive-entry .entry-thumb-link .entry-thumb {
  width: 100% !important;
  height: auto !important;
  aspect-ratio: 16/9;
  background-size: contain !important;
  background-repeat: no-repeat !important;
  background-position: center !important;
  background-color: var(--bg-surface) !important;
  border-radius: 0;
  transition: transform 0.4s ease;
}
.archive-entry .entry-thumb-link:hover .entry-thumb {
  transform: scale(1.03);
}

.archive-entry-body {
  padding: 0 1rem 1.2rem;
}
@media (min-width: 768px) {
  .archive-entry-body {
    padding: 0 1.5rem 1.2rem;
  }
}
.archive-entry-body {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.entry-description {
  margin: 0.5em 0;
  font-size: 0.82rem;
  color: var(--text-secondary);
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.archive-entry .entry-title {
  font-size: 1.05rem;
  margin: 0.4em 0 0.2em;
  font-weight: 600;
}
@media (min-width: 992px) {
  .archive-entry .entry-title {
    font-size: 1.1rem;
  }
}
.archive-entry .entry-title a {
  color: var(--text-primary);
  text-decoration: none;
  transition: color 0.3s ease;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.archive-entry .entry-title a:hover {
  color: var(--accent-cyan);
}

.archive-entry .social-buttons {
  margin-top: auto;
  padding-top: 0.5em;
}

.archive-header-category {
  text-align: center;
  color: var(--text-primary);
}

.page-archive .archive-entries {
  gap: 1.5rem;
}

#footer {
  margin-top: 3em;
  padding-top: 2em;
  padding-bottom: 2rem;
  text-align: center;
  font-size: 0.8rem;
  color: var(--text-muted);
  border-top: 1px solid var(--border-subtle);
}
#footer a {
  color: var(--text-muted);
}
#footer a:hover {
  color: var(--accent-cyan);
}
#footer p {
  margin: 0.5em auto;
}

.categories a {
  display: inline-block;
  margin-right: 0.4em;
  margin-bottom: 0.3em;
  padding: 0.15em 0.7em;
  font-size: 0.75rem;
  font-family: "JetBrains Mono", monospace;
  letter-spacing: 0.03em;
  color: var(--accent-cyan);
  background: var(--glow-cyan);
  border: 1px solid rgba(34, 211, 238, 0.15);
  border-radius: 999px;
  text-decoration: none;
  transition: all 0.3s ease;
}
.categories a:hover {
  background: rgba(34, 211, 238, 0.12);
  border-color: var(--accent-cyan);
  color: var(--accent-cyan);
}

@media (prefers-color-scheme: light) {
  .categories a {
    background: rgba(8, 145, 178, 0.06);
    border-color: rgba(8, 145, 178, 0.2);
  }
}
.entry-see-more {
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
  margin-top: 1em;
  padding: 0.5em 1.2em;
  font-size: 0.85rem;
  color: var(--accent-cyan);
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
}
.entry-see-more:hover {
  border-color: var(--accent-cyan);
  background: var(--glow-cyan);
  transform: translateY(-1px);
}
.entry-see-more::after {
  content: "→";
  transition: transform 0.3s ease;
}
.entry-see-more:hover::after {
  transform: translateX(4px);
}

#container {
  position: relative;
  z-index: 0;
}
#container::before {
  content: "";
  position: fixed;
  top: -20%;
  right: -15%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, var(--glow-cyan) 0%, transparent 70%);
  border-radius: 50%;
  animation: float 20s ease-in-out infinite;
  pointer-events: none;
  z-index: -1;
  will-change: transform;
}
#container::after {
  content: "";
  position: fixed;
  bottom: -15%;
  left: -10%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, var(--glow-blue) 0%, transparent 70%);
  border-radius: 50%;
  animation: float 25s ease-in-out infinite reverse;
  pointer-events: none;
  z-index: -1;
  will-change: transform;
}

.star-container {
  display: none;
}

.social-buttons {
  margin-top: 1em;
}

.leave-comment-title {
  display: inline-block;
  background: var(--bg-card);
  text-decoration: none;
}

.hatena-follow-button-box {
  margin-top: 1em;
}
.hatena-follow-button-box .hatena-follow-button-link {
  padding: 0.4em 1em;
  font-size: 0.8rem;
  border-radius: 8px;
  border: 1px solid var(--border);
  color: var(--text-secondary);
  text-decoration: none;
  transition: all 0.3s ease;
}
.hatena-follow-button-box .hatena-follow-button-link:hover {
  border-color: var(--accent-cyan);
  color: var(--accent-cyan);
}

.hatena-fotolife {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
}

.entry-categories {
  margin-top: 0.5em;
}
.entry-categories a {
  display: inline-block;
  margin-right: 0.4em;
  margin-bottom: 0.3em;
  padding: 0.15em 0.6em;
  font-size: 0.72rem;
  font-family: "JetBrains Mono", monospace;
  color: var(--text-muted);
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: 999px;
  text-decoration: none;
  transition: all 0.3s ease;
}
.entry-categories a:hover {
  color: var(--accent-cyan);
  border-color: var(--accent-cyan);
}

::-moz-selection {
  background: rgba(34, 211, 238, 0.25);
  color: var(--text-primary);
}

::selection {
  background: rgba(34, 211, 238, 0.25);
  color: var(--text-primary);
}

@media (prefers-color-scheme: light) {
  ::-moz-selection {
    background: rgba(8, 145, 178, 0.2);
  }
  ::selection {
    background: rgba(8, 145, 178, 0.2);
  }
}