*, ::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.19 | 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: ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  /* 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;
}

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

body {
  background-color: hsl(var(--background));
  color: hsl(var(--foreground));
}

.\!container {
  width: 100% !important;
}

.container {
  width: 100%;
}

@media (min-width: 640px) {
  .\!container {
    max-width: 640px !important;
  }

  .container {
    max-width: 640px;
  }
}

@media (min-width: 768px) {
  .\!container {
    max-width: 768px !important;
  }

  .container {
    max-width: 768px;
  }
}

@media (min-width: 1024px) {
  .\!container {
    max-width: 1024px !important;
  }

  .container {
    max-width: 1024px;
  }
}

@media (min-width: 1280px) {
  .\!container {
    max-width: 1280px !important;
  }

  .container {
    max-width: 1280px;
  }
}

@media (min-width: 1536px) {
  .\!container {
    max-width: 1536px !important;
  }

  .container {
    max-width: 1536px;
  }
}

.prose {
  color: var(--tw-prose-body);
  max-width: 65ch;
}

.prose :where(p):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  margin-top: 1.25em;
  margin-bottom: 1.25em;
}

.prose :where([class~="lead"]):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  color: var(--tw-prose-lead);
  font-size: 1.25em;
  line-height: 1.6;
  margin-top: 1.2em;
  margin-bottom: 1.2em;
}

.prose :where(a):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  color: var(--tw-prose-links);
  text-decoration: underline;
  font-weight: 500;
}

.prose :where(strong):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  color: var(--tw-prose-bold);
  font-weight: 600;
}

.prose :where(a strong):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  color: inherit;
}

.prose :where(blockquote strong):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  color: inherit;
}

.prose :where(thead th strong):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  color: inherit;
}

.prose :where(ol):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  list-style-type: decimal;
  margin-top: 1.25em;
  margin-bottom: 1.25em;
  padding-inline-start: 1.625em;
}

.prose :where(ol[type="A"]):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  list-style-type: upper-alpha;
}

.prose :where(ol[type="a"]):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  list-style-type: lower-alpha;
}

.prose :where(ol[type="A" s]):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  list-style-type: upper-alpha;
}

.prose :where(ol[type="a" s]):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  list-style-type: lower-alpha;
}

.prose :where(ol[type="I"]):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  list-style-type: upper-roman;
}

.prose :where(ol[type="i"]):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  list-style-type: lower-roman;
}

.prose :where(ol[type="I" s]):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  list-style-type: upper-roman;
}

.prose :where(ol[type="i" s]):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  list-style-type: lower-roman;
}

.prose :where(ol[type="1"]):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  list-style-type: decimal;
}

.prose :where(ul):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  list-style-type: disc;
  margin-top: 1.25em;
  margin-bottom: 1.25em;
  padding-inline-start: 1.625em;
}

.prose :where(ol > li):not(:where([class~="not-prose"],[class~="not-prose"] *))::marker {
  font-weight: 400;
  color: var(--tw-prose-counters);
}

.prose :where(ul > li):not(:where([class~="not-prose"],[class~="not-prose"] *))::marker {
  color: var(--tw-prose-bullets);
}

.prose :where(dt):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  color: var(--tw-prose-headings);
  font-weight: 600;
  margin-top: 1.25em;
}

.prose :where(hr):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  border-color: var(--tw-prose-hr);
  border-top-width: 1px;
  margin-top: 3em;
  margin-bottom: 3em;
}

.prose :where(blockquote):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  font-weight: 500;
  font-style: italic;
  color: var(--tw-prose-quotes);
  border-inline-start-width: 0.25rem;
  border-inline-start-color: var(--tw-prose-quote-borders);
  quotes: "\201C""\201D""\2018""\2019";
  margin-top: 1.6em;
  margin-bottom: 1.6em;
  padding-inline-start: 1em;
}

.prose :where(blockquote p:first-of-type):not(:where([class~="not-prose"],[class~="not-prose"] *))::before {
  content: open-quote;
}

.prose :where(blockquote p:last-of-type):not(:where([class~="not-prose"],[class~="not-prose"] *))::after {
  content: close-quote;
}

.prose :where(h1):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  color: var(--tw-prose-headings);
  font-weight: 800;
  font-size: 2.25em;
  margin-top: 0;
  margin-bottom: 0.8888889em;
  line-height: 1.1111111;
}

.prose :where(h1 strong):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  font-weight: 900;
  color: inherit;
}

.prose :where(h2):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  color: var(--tw-prose-headings);
  font-weight: 700;
  font-size: 1.5em;
  margin-top: 2em;
  margin-bottom: 1em;
  line-height: 1.3333333;
}

.prose :where(h2 strong):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  font-weight: 800;
  color: inherit;
}

.prose :where(h3):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  color: var(--tw-prose-headings);
  font-weight: 600;
  font-size: 1.25em;
  margin-top: 1.6em;
  margin-bottom: 0.6em;
  line-height: 1.6;
}

.prose :where(h3 strong):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  font-weight: 700;
  color: inherit;
}

.prose :where(h4):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  color: var(--tw-prose-headings);
  font-weight: 600;
  margin-top: 1.5em;
  margin-bottom: 0.5em;
  line-height: 1.5;
}

.prose :where(h4 strong):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  font-weight: 700;
  color: inherit;
}

.prose :where(img):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  margin-top: 2em;
  margin-bottom: 2em;
}

.prose :where(picture):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  display: block;
  margin-top: 2em;
  margin-bottom: 2em;
}

.prose :where(video):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  margin-top: 2em;
  margin-bottom: 2em;
}

.prose :where(kbd):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  font-weight: 500;
  font-family: inherit;
  color: var(--tw-prose-kbd);
  box-shadow: 0 0 0 1px var(--tw-prose-kbd-shadows), 0 3px 0 var(--tw-prose-kbd-shadows);
  font-size: 0.875em;
  border-radius: 0.3125rem;
  padding-top: 0.1875em;
  padding-inline-end: 0.375em;
  padding-bottom: 0.1875em;
  padding-inline-start: 0.375em;
}

.prose :where(code):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  color: var(--tw-prose-code);
  font-weight: 600;
  font-size: 0.875em;
}

.prose :where(code):not(:where([class~="not-prose"],[class~="not-prose"] *))::before {
  content: "`";
}

.prose :where(code):not(:where([class~="not-prose"],[class~="not-prose"] *))::after {
  content: "`";
}

.prose :where(a code):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  color: inherit;
}

.prose :where(h1 code):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  color: inherit;
}

.prose :where(h2 code):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  color: inherit;
  font-size: 0.875em;
}

.prose :where(h3 code):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  color: inherit;
  font-size: 0.9em;
}

.prose :where(h4 code):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  color: inherit;
}

.prose :where(blockquote code):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  color: inherit;
}

.prose :where(thead th code):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  color: inherit;
}

.prose :where(pre):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  color: var(--tw-prose-pre-code);
  background-color: var(--tw-prose-pre-bg);
  overflow-x: auto;
  font-weight: 400;
  font-size: 0.875em;
  line-height: 1.7142857;
  margin-top: 1.7142857em;
  margin-bottom: 1.7142857em;
  border-radius: 0.375rem;
  padding-top: 0.8571429em;
  padding-inline-end: 1.1428571em;
  padding-bottom: 0.8571429em;
  padding-inline-start: 1.1428571em;
}

.prose :where(pre code):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  background-color: transparent;
  border-width: 0;
  border-radius: 0;
  padding: 0;
  font-weight: inherit;
  color: inherit;
  font-size: inherit;
  font-family: inherit;
  line-height: inherit;
}

.prose :where(pre code):not(:where([class~="not-prose"],[class~="not-prose"] *))::before {
  content: none;
}

.prose :where(pre code):not(:where([class~="not-prose"],[class~="not-prose"] *))::after {
  content: none;
}

.prose :where(table):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  width: 100%;
  table-layout: auto;
  margin-top: 2em;
  margin-bottom: 2em;
  font-size: 0.875em;
  line-height: 1.7142857;
}

.prose :where(thead):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  border-bottom-width: 1px;
  border-bottom-color: var(--tw-prose-th-borders);
}

.prose :where(thead th):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  color: var(--tw-prose-headings);
  font-weight: 600;
  vertical-align: bottom;
  padding-inline-end: 0.5714286em;
  padding-bottom: 0.5714286em;
  padding-inline-start: 0.5714286em;
}

.prose :where(tbody tr):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  border-bottom-width: 1px;
  border-bottom-color: var(--tw-prose-td-borders);
}

.prose :where(tbody tr:last-child):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  border-bottom-width: 0;
}

.prose :where(tbody td):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  vertical-align: baseline;
}

.prose :where(tfoot):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  border-top-width: 1px;
  border-top-color: var(--tw-prose-th-borders);
}

.prose :where(tfoot td):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  vertical-align: top;
}

.prose :where(th, td):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  text-align: start;
}

.prose :where(figure > *):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  margin-top: 0;
  margin-bottom: 0;
}

.prose :where(figcaption):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  color: var(--tw-prose-captions);
  font-size: 0.875em;
  line-height: 1.4285714;
  margin-top: 0.8571429em;
}

.prose {
  --tw-prose-body: #374151;
  --tw-prose-headings: #111827;
  --tw-prose-lead: #4b5563;
  --tw-prose-links: #111827;
  --tw-prose-bold: #111827;
  --tw-prose-counters: #6b7280;
  --tw-prose-bullets: #d1d5db;
  --tw-prose-hr: #e5e7eb;
  --tw-prose-quotes: #111827;
  --tw-prose-quote-borders: #e5e7eb;
  --tw-prose-captions: #6b7280;
  --tw-prose-kbd: #111827;
  --tw-prose-kbd-shadows: rgb(17 24 39 / 10%);
  --tw-prose-code: #111827;
  --tw-prose-pre-code: #e5e7eb;
  --tw-prose-pre-bg: #1f2937;
  --tw-prose-th-borders: #d1d5db;
  --tw-prose-td-borders: #e5e7eb;
  --tw-prose-invert-body: #d1d5db;
  --tw-prose-invert-headings: #fff;
  --tw-prose-invert-lead: #9ca3af;
  --tw-prose-invert-links: #fff;
  --tw-prose-invert-bold: #fff;
  --tw-prose-invert-counters: #9ca3af;
  --tw-prose-invert-bullets: #4b5563;
  --tw-prose-invert-hr: #374151;
  --tw-prose-invert-quotes: #f3f4f6;
  --tw-prose-invert-quote-borders: #374151;
  --tw-prose-invert-captions: #9ca3af;
  --tw-prose-invert-kbd: #fff;
  --tw-prose-invert-kbd-shadows: rgb(255 255 255 / 10%);
  --tw-prose-invert-code: #fff;
  --tw-prose-invert-pre-code: #d1d5db;
  --tw-prose-invert-pre-bg: rgb(0 0 0 / 50%);
  --tw-prose-invert-th-borders: #4b5563;
  --tw-prose-invert-td-borders: #374151;
  font-size: 1rem;
  line-height: 1.75;
}

.prose :where(picture > img):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  margin-top: 0;
  margin-bottom: 0;
}

.prose :where(li):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  margin-top: 0.5em;
  margin-bottom: 0.5em;
}

.prose :where(ol > li):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  padding-inline-start: 0.375em;
}

.prose :where(ul > li):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  padding-inline-start: 0.375em;
}

.prose :where(.prose > ul > li p):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  margin-top: 0.75em;
  margin-bottom: 0.75em;
}

.prose :where(.prose > ul > li > p:first-child):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  margin-top: 1.25em;
}

.prose :where(.prose > ul > li > p:last-child):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  margin-bottom: 1.25em;
}

.prose :where(.prose > ol > li > p:first-child):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  margin-top: 1.25em;
}

.prose :where(.prose > ol > li > p:last-child):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  margin-bottom: 1.25em;
}

.prose :where(ul ul, ul ol, ol ul, ol ol):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  margin-top: 0.75em;
  margin-bottom: 0.75em;
}

.prose :where(dl):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  margin-top: 1.25em;
  margin-bottom: 1.25em;
}

.prose :where(dd):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  margin-top: 0.5em;
  padding-inline-start: 1.625em;
}

.prose :where(hr + *):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  margin-top: 0;
}

.prose :where(h2 + *):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  margin-top: 0;
}

.prose :where(h3 + *):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  margin-top: 0;
}

.prose :where(h4 + *):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  margin-top: 0;
}

.prose :where(thead th:first-child):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  padding-inline-start: 0;
}

.prose :where(thead th:last-child):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  padding-inline-end: 0;
}

.prose :where(tbody td, tfoot td):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  padding-top: 0.5714286em;
  padding-inline-end: 0.5714286em;
  padding-bottom: 0.5714286em;
  padding-inline-start: 0.5714286em;
}

.prose :where(tbody td:first-child, tfoot td:first-child):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  padding-inline-start: 0;
}

.prose :where(tbody td:last-child, tfoot td:last-child):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  padding-inline-end: 0;
}

.prose :where(figure):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  margin-top: 2em;
  margin-bottom: 2em;
}

.prose :where(.prose > :first-child):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  margin-top: 0;
}

.prose :where(.prose > :last-child):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  margin-bottom: 0;
}

.prose-sm {
  font-size: 0.875rem;
  line-height: 1.7142857;
}

.prose-sm :where(p):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  margin-top: 1.1428571em;
  margin-bottom: 1.1428571em;
}

.prose-sm :where([class~="lead"]):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  font-size: 1.2857143em;
  line-height: 1.5555556;
  margin-top: 0.8888889em;
  margin-bottom: 0.8888889em;
}

.prose-sm :where(blockquote):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  margin-top: 1.3333333em;
  margin-bottom: 1.3333333em;
  padding-inline-start: 1.1111111em;
}

.prose-sm :where(h1):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  font-size: 2.1428571em;
  margin-top: 0;
  margin-bottom: 0.8em;
  line-height: 1.2;
}

.prose-sm :where(h2):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  font-size: 1.4285714em;
  margin-top: 1.6em;
  margin-bottom: 0.8em;
  line-height: 1.4;
}

.prose-sm :where(h3):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  font-size: 1.2857143em;
  margin-top: 1.5555556em;
  margin-bottom: 0.4444444em;
  line-height: 1.5555556;
}

.prose-sm :where(h4):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  margin-top: 1.4285714em;
  margin-bottom: 0.5714286em;
  line-height: 1.4285714;
}

.prose-sm :where(img):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  margin-top: 1.7142857em;
  margin-bottom: 1.7142857em;
}

.prose-sm :where(picture):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  margin-top: 1.7142857em;
  margin-bottom: 1.7142857em;
}

.prose-sm :where(picture > img):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  margin-top: 0;
  margin-bottom: 0;
}

.prose-sm :where(video):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  margin-top: 1.7142857em;
  margin-bottom: 1.7142857em;
}

.prose-sm :where(kbd):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  font-size: 0.8571429em;
  border-radius: 0.3125rem;
  padding-top: 0.1428571em;
  padding-inline-end: 0.3571429em;
  padding-bottom: 0.1428571em;
  padding-inline-start: 0.3571429em;
}

.prose-sm :where(code):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  font-size: 0.8571429em;
}

.prose-sm :where(h2 code):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  font-size: 0.9em;
}

.prose-sm :where(h3 code):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  font-size: 0.8888889em;
}

.prose-sm :where(pre):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  font-size: 0.8571429em;
  line-height: 1.6666667;
  margin-top: 1.6666667em;
  margin-bottom: 1.6666667em;
  border-radius: 0.25rem;
  padding-top: 0.6666667em;
  padding-inline-end: 1em;
  padding-bottom: 0.6666667em;
  padding-inline-start: 1em;
}

.prose-sm :where(ol):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  margin-top: 1.1428571em;
  margin-bottom: 1.1428571em;
  padding-inline-start: 1.5714286em;
}

.prose-sm :where(ul):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  margin-top: 1.1428571em;
  margin-bottom: 1.1428571em;
  padding-inline-start: 1.5714286em;
}

.prose-sm :where(li):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  margin-top: 0.2857143em;
  margin-bottom: 0.2857143em;
}

.prose-sm :where(ol > li):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  padding-inline-start: 0.4285714em;
}

.prose-sm :where(ul > li):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  padding-inline-start: 0.4285714em;
}

.prose-sm :where(.prose-sm > ul > li p):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  margin-top: 0.5714286em;
  margin-bottom: 0.5714286em;
}

.prose-sm :where(.prose-sm > ul > li > p:first-child):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  margin-top: 1.1428571em;
}

.prose-sm :where(.prose-sm > ul > li > p:last-child):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  margin-bottom: 1.1428571em;
}

.prose-sm :where(.prose-sm > ol > li > p:first-child):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  margin-top: 1.1428571em;
}

.prose-sm :where(.prose-sm > ol > li > p:last-child):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  margin-bottom: 1.1428571em;
}

.prose-sm :where(ul ul, ul ol, ol ul, ol ol):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  margin-top: 0.5714286em;
  margin-bottom: 0.5714286em;
}

.prose-sm :where(dl):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  margin-top: 1.1428571em;
  margin-bottom: 1.1428571em;
}

.prose-sm :where(dt):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  margin-top: 1.1428571em;
}

.prose-sm :where(dd):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  margin-top: 0.2857143em;
  padding-inline-start: 1.5714286em;
}

.prose-sm :where(hr):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  margin-top: 2.8571429em;
  margin-bottom: 2.8571429em;
}

.prose-sm :where(hr + *):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  margin-top: 0;
}

.prose-sm :where(h2 + *):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  margin-top: 0;
}

.prose-sm :where(h3 + *):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  margin-top: 0;
}

.prose-sm :where(h4 + *):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  margin-top: 0;
}

.prose-sm :where(table):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  font-size: 0.8571429em;
  line-height: 1.5;
}

.prose-sm :where(thead th):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  padding-inline-end: 1em;
  padding-bottom: 0.6666667em;
  padding-inline-start: 1em;
}

.prose-sm :where(thead th:first-child):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  padding-inline-start: 0;
}

.prose-sm :where(thead th:last-child):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  padding-inline-end: 0;
}

.prose-sm :where(tbody td, tfoot td):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  padding-top: 0.6666667em;
  padding-inline-end: 1em;
  padding-bottom: 0.6666667em;
  padding-inline-start: 1em;
}

.prose-sm :where(tbody td:first-child, tfoot td:first-child):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  padding-inline-start: 0;
}

.prose-sm :where(tbody td:last-child, tfoot td:last-child):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  padding-inline-end: 0;
}

.prose-sm :where(figure):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  margin-top: 1.7142857em;
  margin-bottom: 1.7142857em;
}

.prose-sm :where(figure > *):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  margin-top: 0;
  margin-bottom: 0;
}

.prose-sm :where(figcaption):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  font-size: 0.8571429em;
  line-height: 1.3333333;
  margin-top: 0.6666667em;
}

.prose-sm :where(.prose-sm > :first-child):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  margin-top: 0;
}

.prose-sm :where(.prose-sm > :last-child):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  margin-bottom: 0;
}

.prose-zinc {
  --tw-prose-body: #3f3f46;
  --tw-prose-headings: #18181b;
  --tw-prose-lead: #52525b;
  --tw-prose-links: #18181b;
  --tw-prose-bold: #18181b;
  --tw-prose-counters: #71717a;
  --tw-prose-bullets: #d4d4d8;
  --tw-prose-hr: #e4e4e7;
  --tw-prose-quotes: #18181b;
  --tw-prose-quote-borders: #e4e4e7;
  --tw-prose-captions: #71717a;
  --tw-prose-kbd: #18181b;
  --tw-prose-kbd-shadows: rgb(24 24 27 / 10%);
  --tw-prose-code: #18181b;
  --tw-prose-pre-code: #e4e4e7;
  --tw-prose-pre-bg: #27272a;
  --tw-prose-th-borders: #d4d4d8;
  --tw-prose-td-borders: #e4e4e7;
  --tw-prose-invert-body: #d4d4d8;
  --tw-prose-invert-headings: #fff;
  --tw-prose-invert-lead: #a1a1aa;
  --tw-prose-invert-links: #fff;
  --tw-prose-invert-bold: #fff;
  --tw-prose-invert-counters: #a1a1aa;
  --tw-prose-invert-bullets: #52525b;
  --tw-prose-invert-hr: #3f3f46;
  --tw-prose-invert-quotes: #f4f4f5;
  --tw-prose-invert-quote-borders: #3f3f46;
  --tw-prose-invert-captions: #a1a1aa;
  --tw-prose-invert-kbd: #fff;
  --tw-prose-invert-kbd-shadows: rgb(255 255 255 / 10%);
  --tw-prose-invert-code: #fff;
  --tw-prose-invert-pre-code: #d4d4d8;
  --tw-prose-invert-pre-bg: rgb(0 0 0 / 50%);
  --tw-prose-invert-th-borders: #52525b;
  --tw-prose-invert-td-borders: #3f3f46;
}

.prose-invert {
  --tw-prose-body: var(--tw-prose-invert-body);
  --tw-prose-headings: var(--tw-prose-invert-headings);
  --tw-prose-lead: var(--tw-prose-invert-lead);
  --tw-prose-links: var(--tw-prose-invert-links);
  --tw-prose-bold: var(--tw-prose-invert-bold);
  --tw-prose-counters: var(--tw-prose-invert-counters);
  --tw-prose-bullets: var(--tw-prose-invert-bullets);
  --tw-prose-hr: var(--tw-prose-invert-hr);
  --tw-prose-quotes: var(--tw-prose-invert-quotes);
  --tw-prose-quote-borders: var(--tw-prose-invert-quote-borders);
  --tw-prose-captions: var(--tw-prose-invert-captions);
  --tw-prose-kbd: var(--tw-prose-invert-kbd);
  --tw-prose-kbd-shadows: var(--tw-prose-invert-kbd-shadows);
  --tw-prose-code: var(--tw-prose-invert-code);
  --tw-prose-pre-code: var(--tw-prose-invert-pre-code);
  --tw-prose-pre-bg: var(--tw-prose-invert-pre-bg);
  --tw-prose-th-borders: var(--tw-prose-invert-th-borders);
  --tw-prose-td-borders: var(--tw-prose-invert-td-borders);
}

.visible {
  visibility: visible;
}

.static {
  position: static;
}

.fixed {
  position: fixed;
}

.absolute {
  position: absolute;
}

.relative {
  position: relative;
}

.inset-0 {
  inset: 0px;
}

.bottom-16 {
  bottom: 4rem;
}

.bottom-4 {
  bottom: 1rem;
}

.left-4 {
  left: 1rem;
}

.right-0 {
  right: 0px;
}

.right-3 {
  right: 0.75rem;
}

.right-4 {
  right: 1rem;
}

.top-0 {
  top: 0px;
}

.top-1\/2 {
  top: 50%;
}

.top-3 {
  top: 0.75rem;
}

.top-4 {
  top: 1rem;
}

.z-10 {
  z-index: 10;
}

.z-50 {
  z-index: 50;
}

.z-\[60\] {
  z-index: 60;
}

.mx-auto {
  margin-left: auto;
  margin-right: auto;
}

.mb-1 {
  margin-bottom: 0.25rem;
}

.mb-10 {
  margin-bottom: 2.5rem;
}

.mb-12 {
  margin-bottom: 3rem;
}

.mb-2 {
  margin-bottom: 0.5rem;
}

.mb-3 {
  margin-bottom: 0.75rem;
}

.mb-4 {
  margin-bottom: 1rem;
}

.mb-5 {
  margin-bottom: 1.25rem;
}

.mb-6 {
  margin-bottom: 1.5rem;
}

.mb-8 {
  margin-bottom: 2rem;
}

.mr-1 {
  margin-right: 0.25rem;
}

.mr-2 {
  margin-right: 0.5rem;
}

.mr-4 {
  margin-right: 1rem;
}

.mt-1 {
  margin-top: 0.25rem;
}

.mt-12 {
  margin-top: 3rem;
}

.mt-2 {
  margin-top: 0.5rem;
}

.mt-3 {
  margin-top: 0.75rem;
}

.mt-4 {
  margin-top: 1rem;
}

.mt-5 {
  margin-top: 1.25rem;
}

.mt-6 {
  margin-top: 1.5rem;
}

.mt-7 {
  margin-top: 1.75rem;
}

.mt-8 {
  margin-top: 2rem;
}

.line-clamp-1 {
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 1;
}

.line-clamp-2 {
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.block {
  display: block;
}

.inline-block {
  display: inline-block;
}

.inline {
  display: inline;
}

.flex {
  display: flex;
}

.inline-flex {
  display: inline-flex;
}

.table {
  display: table;
}

.grid {
  display: grid;
}

.contents {
  display: contents;
}

.hidden {
  display: none;
}

.aspect-\[16\/9\] {
  aspect-ratio: 16/9;
}

.aspect-\[2\/4\] {
  aspect-ratio: 2/4;
}

.aspect-\[27\/9\] {
  aspect-ratio: 27/9;
}

.aspect-\[3\/4\] {
  aspect-ratio: 3/4;
}

.h-16 {
  height: 4rem;
}

.h-2 {
  height: 0.5rem;
}

.h-3 {
  height: 0.75rem;
}

.h-3\.5 {
  height: 0.875rem;
}

.h-4 {
  height: 1rem;
}

.h-5 {
  height: 1.25rem;
}

.h-6 {
  height: 1.5rem;
}

.h-64 {
  height: 16rem;
}

.h-80 {
  height: 20rem;
}

.h-\[450px\] {
  height: 450px;
}

.h-\[95vh\] {
  height: 95vh;
}

.h-auto {
  height: auto;
}

.h-full {
  height: 100%;
}

.max-h-full {
  max-height: 100%;
}

.min-h-14 {
  min-height: 3.5rem;
}

.min-h-screen {
  min-height: 100vh;
}

.w-2 {
  width: 0.5rem;
}

.w-3 {
  width: 0.75rem;
}

.w-3\.5 {
  width: 0.875rem;
}

.w-4 {
  width: 1rem;
}

.w-48 {
  width: 12rem;
}

.w-5 {
  width: 1.25rem;
}

.w-6 {
  width: 1.5rem;
}

.w-full {
  width: 100%;
}

.min-w-max {
  min-width: -moz-max-content;
  min-width: max-content;
}

.max-w-2xl {
  max-width: 42rem;
}

.max-w-3xl {
  max-width: 48rem;
}

.max-w-4xl {
  max-width: 56rem;
}

.max-w-5xl {
  max-width: 64rem;
}

.max-w-7xl {
  max-width: 80rem;
}

.max-w-\[2000px\] {
  max-width: 2000px;
}

.max-w-\[95vw\] {
  max-width: 95vw;
}

.max-w-full {
  max-width: 100%;
}

.max-w-none {
  max-width: none;
}

.max-w-xs {
  max-width: 20rem;
}

.flex-1 {
  flex: 1 1 0%;
}

.flex-shrink-0 {
  flex-shrink: 0;
}

.flex-grow {
  flex-grow: 1;
}

.grow {
  flex-grow: 1;
}

.-translate-y-1\/2 {
  --tw-translate-y: -50%;
  transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
}

.transform {
  transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
}

.cursor-not-allowed {
  cursor: not-allowed;
}

.cursor-pointer {
  cursor: pointer;
}

.resize {
  resize: both;
}

.scroll-mt-24 {
  scroll-margin-top: 6rem;
}

.scroll-mt-28 {
  scroll-margin-top: 7rem;
}

.list-disc {
  list-style-type: disc;
}

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

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

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

.flex-col {
  flex-direction: column;
}

.flex-wrap {
  flex-wrap: wrap;
}

.items-start {
  align-items: flex-start;
}

.items-center {
  align-items: center;
}

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

.justify-center {
  justify-content: center;
}

.justify-between {
  justify-content: space-between;
}

.gap-1 {
  gap: 0.25rem;
}

.gap-2 {
  gap: 0.5rem;
}

.gap-3 {
  gap: 0.75rem;
}

.gap-4 {
  gap: 1rem;
}

.gap-6 {
  gap: 1.5rem;
}

.space-x-2 > :not([hidden]) ~ :not([hidden]) {
  --tw-space-x-reverse: 0;
  margin-right: calc(0.5rem * var(--tw-space-x-reverse));
  margin-left: calc(0.5rem * calc(1 - var(--tw-space-x-reverse)));
}

.space-x-3 > :not([hidden]) ~ :not([hidden]) {
  --tw-space-x-reverse: 0;
  margin-right: calc(0.75rem * var(--tw-space-x-reverse));
  margin-left: calc(0.75rem * calc(1 - var(--tw-space-x-reverse)));
}

.space-y-1 > :not([hidden]) ~ :not([hidden]) {
  --tw-space-y-reverse: 0;
  margin-top: calc(0.25rem * calc(1 - var(--tw-space-y-reverse)));
  margin-bottom: calc(0.25rem * var(--tw-space-y-reverse));
}

.space-y-2 > :not([hidden]) ~ :not([hidden]) {
  --tw-space-y-reverse: 0;
  margin-top: calc(0.5rem * calc(1 - var(--tw-space-y-reverse)));
  margin-bottom: calc(0.5rem * var(--tw-space-y-reverse));
}

.space-y-3 > :not([hidden]) ~ :not([hidden]) {
  --tw-space-y-reverse: 0;
  margin-top: calc(0.75rem * calc(1 - var(--tw-space-y-reverse)));
  margin-bottom: calc(0.75rem * var(--tw-space-y-reverse));
}

.space-y-4 > :not([hidden]) ~ :not([hidden]) {
  --tw-space-y-reverse: 0;
  margin-top: calc(1rem * calc(1 - var(--tw-space-y-reverse)));
  margin-bottom: calc(1rem * var(--tw-space-y-reverse));
}

.space-y-5 > :not([hidden]) ~ :not([hidden]) {
  --tw-space-y-reverse: 0;
  margin-top: calc(1.25rem * calc(1 - var(--tw-space-y-reverse)));
  margin-bottom: calc(1.25rem * var(--tw-space-y-reverse));
}

.space-y-7 > :not([hidden]) ~ :not([hidden]) {
  --tw-space-y-reverse: 0;
  margin-top: calc(1.75rem * calc(1 - var(--tw-space-y-reverse)));
  margin-bottom: calc(1.75rem * var(--tw-space-y-reverse));
}

.space-y-8 > :not([hidden]) ~ :not([hidden]) {
  --tw-space-y-reverse: 0;
  margin-top: calc(2rem * calc(1 - var(--tw-space-y-reverse)));
  margin-bottom: calc(2rem * var(--tw-space-y-reverse));
}

.divide-y > :not([hidden]) ~ :not([hidden]) {
  --tw-divide-y-reverse: 0;
  border-top-width: calc(1px * calc(1 - var(--tw-divide-y-reverse)));
  border-bottom-width: calc(1px * var(--tw-divide-y-reverse));
}

.divide-gray-700 > :not([hidden]) ~ :not([hidden]) {
  --tw-divide-opacity: 1;
  border-color: rgb(55 65 81 / var(--tw-divide-opacity, 1));
}

.overflow-hidden {
  overflow: hidden;
}

.overflow-x-auto {
  overflow-x: auto;
}

.whitespace-pre-wrap {
  white-space: pre-wrap;
}

.break-all {
  word-break: break-all;
}

.rounded {
  border-radius: 0.25rem;
}

.rounded-full {
  border-radius: 9999px;
}

.rounded-lg {
  border-radius: var(--radius);
}

.rounded-md {
  border-radius: calc(var(--radius) - 2px);
}

.rounded-xl {
  border-radius: 0.75rem;
}

.border {
  border-width: 1px;
}

.border-b {
  border-bottom-width: 1px;
}

.border-blue-200 {
  --tw-border-opacity: 1;
  border-color: rgb(191 219 254 / var(--tw-border-opacity, 1));
}

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

.border-gray-300 {
  --tw-border-opacity: 1;
  border-color: rgb(209 213 219 / var(--tw-border-opacity, 1));
}

.border-gray-700 {
  --tw-border-opacity: 1;
  border-color: rgb(55 65 81 / var(--tw-border-opacity, 1));
}

.border-pink-100 {
  --tw-border-opacity: 1;
  border-color: rgb(252 231 243 / var(--tw-border-opacity, 1));
}

.border-pink-200 {
  --tw-border-opacity: 1;
  border-color: rgb(251 207 232 / var(--tw-border-opacity, 1));
}

.border-purple-100 {
  --tw-border-opacity: 1;
  border-color: rgb(243 232 255 / var(--tw-border-opacity, 1));
}

.border-purple-200 {
  --tw-border-opacity: 1;
  border-color: rgb(233 213 255 / var(--tw-border-opacity, 1));
}

.border-red-200 {
  --tw-border-opacity: 1;
  border-color: rgb(254 202 202 / var(--tw-border-opacity, 1));
}

.border-yellow-200 {
  --tw-border-opacity: 1;
  border-color: rgb(254 240 138 / var(--tw-border-opacity, 1));
}

.bg-\[\#1a1f2e\] {
  --tw-bg-opacity: 1;
  background-color: rgb(26 31 46 / var(--tw-bg-opacity, 1));
}

.bg-black {
  --tw-bg-opacity: 1;
  background-color: rgb(0 0 0 / var(--tw-bg-opacity, 1));
}

.bg-blue-50 {
  --tw-bg-opacity: 1;
  background-color: rgb(239 246 255 / var(--tw-bg-opacity, 1));
}

.bg-gray-50 {
  --tw-bg-opacity: 1;
  background-color: rgb(249 250 251 / var(--tw-bg-opacity, 1));
}

.bg-gray-600 {
  --tw-bg-opacity: 1;
  background-color: rgb(75 85 99 / var(--tw-bg-opacity, 1));
}

.bg-gray-700 {
  --tw-bg-opacity: 1;
  background-color: rgb(55 65 81 / var(--tw-bg-opacity, 1));
}

.bg-gray-800 {
  --tw-bg-opacity: 1;
  background-color: rgb(31 41 55 / var(--tw-bg-opacity, 1));
}

.bg-gray-900 {
  --tw-bg-opacity: 1;
  background-color: rgb(17 24 39 / var(--tw-bg-opacity, 1));
}

.bg-pink-50 {
  --tw-bg-opacity: 1;
  background-color: rgb(253 242 248 / var(--tw-bg-opacity, 1));
}

.bg-purple-50 {
  --tw-bg-opacity: 1;
  background-color: rgb(250 245 255 / var(--tw-bg-opacity, 1));
}

.bg-purple-600 {
  --tw-bg-opacity: 1;
  background-color: rgb(147 51 234 / var(--tw-bg-opacity, 1));
}

.bg-red-50 {
  --tw-bg-opacity: 1;
  background-color: rgb(254 242 242 / var(--tw-bg-opacity, 1));
}

.bg-red-500 {
  --tw-bg-opacity: 1;
  background-color: rgb(239 68 68 / var(--tw-bg-opacity, 1));
}

.bg-white {
  --tw-bg-opacity: 1;
  background-color: rgb(255 255 255 / var(--tw-bg-opacity, 1));
}

.bg-white\/20 {
  background-color: rgb(255 255 255 / 0.2);
}

.bg-white\/50 {
  background-color: rgb(255 255 255 / 0.5);
}

.bg-white\/70 {
  background-color: rgb(255 255 255 / 0.7);
}

.bg-white\/90 {
  background-color: rgb(255 255 255 / 0.9);
}

.bg-yellow-50 {
  --tw-bg-opacity: 1;
  background-color: rgb(254 252 232 / var(--tw-bg-opacity, 1));
}

.bg-opacity-50 {
  --tw-bg-opacity: 0.5;
}

.bg-opacity-75 {
  --tw-bg-opacity: 0.75;
}

.bg-gradient-to-r {
  background-image: linear-gradient(to right, var(--tw-gradient-stops));
}

.from-purple-500 {
  --tw-gradient-from: #a855f7 var(--tw-gradient-from-position);
  --tw-gradient-to: rgb(168 85 247 / 0) var(--tw-gradient-to-position);
  --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
}

.to-pink-500 {
  --tw-gradient-to: #ec4899 var(--tw-gradient-to-position);
}

.object-contain {
  -o-object-fit: contain;
     object-fit: contain;
}

.object-cover {
  -o-object-fit: cover;
     object-fit: cover;
}

.p-0 {
  padding: 0px;
}

.p-1 {
  padding: 0.25rem;
}

.p-2 {
  padding: 0.5rem;
}

.p-3 {
  padding: 0.75rem;
}

.p-4 {
  padding: 1rem;
}

.p-5 {
  padding: 1.25rem;
}

.p-6 {
  padding: 1.5rem;
}

.p-8 {
  padding: 2rem;
}

.px-2 {
  padding-left: 0.5rem;
  padding-right: 0.5rem;
}

.px-3 {
  padding-left: 0.75rem;
  padding-right: 0.75rem;
}

.px-4 {
  padding-left: 1rem;
  padding-right: 1rem;
}

.px-6 {
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.py-1 {
  padding-top: 0.25rem;
  padding-bottom: 0.25rem;
}

.py-12 {
  padding-top: 3rem;
  padding-bottom: 3rem;
}

.py-2 {
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}

.py-3 {
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
}

.py-4 {
  padding-top: 1rem;
  padding-bottom: 1rem;
}

.py-8 {
  padding-top: 2rem;
  padding-bottom: 2rem;
}

.pb-12 {
  padding-bottom: 3rem;
}

.pb-2 {
  padding-bottom: 0.5rem;
}

.pb-4 {
  padding-bottom: 1rem;
}

.pb-8 {
  padding-bottom: 2rem;
}

.pl-5 {
  padding-left: 1.25rem;
}

.pr-12 {
  padding-right: 3rem;
}

.pt-0 {
  padding-top: 0px;
}

.pt-12 {
  padding-top: 3rem;
}

.pt-2 {
  padding-top: 0.5rem;
}

.pt-6 {
  padding-top: 1.5rem;
}

.text-center {
  text-align: center;
}

.text-right {
  text-align: right;
}

.font-mono {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
}

.text-2xl {
  font-size: 1.5rem;
  line-height: 2rem;
}

.text-3xl {
  font-size: 1.875rem;
  line-height: 2.25rem;
}

.text-4xl {
  font-size: 2.25rem;
  line-height: 2.5rem;
}

.text-6xl {
  font-size: 3.75rem;
  line-height: 1;
}

.text-base {
  font-size: 1rem;
  line-height: 1.5rem;
}

.text-lg {
  font-size: 1.125rem;
  line-height: 1.75rem;
}

.text-sm {
  font-size: 0.875rem;
  line-height: 1.25rem;
}

.text-xl {
  font-size: 1.25rem;
  line-height: 1.75rem;
}

.text-xs {
  font-size: 0.75rem;
  line-height: 1rem;
}

.font-black {
  font-weight: 900;
}

.font-bold {
  font-weight: 700;
}

.font-medium {
  font-weight: 500;
}

.font-semibold {
  font-weight: 600;
}

.uppercase {
  text-transform: uppercase;
}

.leading-relaxed {
  line-height: 1.625;
}

.leading-tight {
  line-height: 1.25;
}

.tracking-wide {
  letter-spacing: 0.025em;
}

.tracking-wider {
  letter-spacing: 0.05em;
}

.text-\[\#EB4667\] {
  --tw-text-opacity: 1;
  color: rgb(235 70 103 / var(--tw-text-opacity, 1));
}

.text-blue-400 {
  --tw-text-opacity: 1;
  color: rgb(96 165 250 / var(--tw-text-opacity, 1));
}

.text-blue-500 {
  --tw-text-opacity: 1;
  color: rgb(59 130 246 / var(--tw-text-opacity, 1));
}

.text-gray-200 {
  --tw-text-opacity: 1;
  color: rgb(229 231 235 / var(--tw-text-opacity, 1));
}

.text-gray-300 {
  --tw-text-opacity: 1;
  color: rgb(209 213 219 / var(--tw-text-opacity, 1));
}

.text-gray-400 {
  --tw-text-opacity: 1;
  color: rgb(156 163 175 / var(--tw-text-opacity, 1));
}

.text-gray-500 {
  --tw-text-opacity: 1;
  color: rgb(107 114 128 / var(--tw-text-opacity, 1));
}

.text-gray-600 {
  --tw-text-opacity: 1;
  color: rgb(75 85 99 / var(--tw-text-opacity, 1));
}

.text-gray-700 {
  --tw-text-opacity: 1;
  color: rgb(55 65 81 / var(--tw-text-opacity, 1));
}

.text-gray-800 {
  --tw-text-opacity: 1;
  color: rgb(31 41 55 / var(--tw-text-opacity, 1));
}

.text-gray-900 {
  --tw-text-opacity: 1;
  color: rgb(17 24 39 / var(--tw-text-opacity, 1));
}

.text-green-400 {
  --tw-text-opacity: 1;
  color: rgb(74 222 128 / var(--tw-text-opacity, 1));
}

.text-green-500 {
  --tw-text-opacity: 1;
  color: rgb(34 197 94 / var(--tw-text-opacity, 1));
}

.text-pink-400 {
  --tw-text-opacity: 1;
  color: rgb(244 114 182 / var(--tw-text-opacity, 1));
}

.text-purple-400 {
  --tw-text-opacity: 1;
  color: rgb(192 132 252 / var(--tw-text-opacity, 1));
}

.text-purple-500 {
  --tw-text-opacity: 1;
  color: rgb(168 85 247 / var(--tw-text-opacity, 1));
}

.text-purple-600 {
  --tw-text-opacity: 1;
  color: rgb(147 51 234 / var(--tw-text-opacity, 1));
}

.text-purple-700 {
  --tw-text-opacity: 1;
  color: rgb(126 34 206 / var(--tw-text-opacity, 1));
}

.text-red-400 {
  --tw-text-opacity: 1;
  color: rgb(248 113 113 / var(--tw-text-opacity, 1));
}

.text-red-500 {
  --tw-text-opacity: 1;
  color: rgb(239 68 68 / var(--tw-text-opacity, 1));
}

.text-red-700 {
  --tw-text-opacity: 1;
  color: rgb(185 28 28 / var(--tw-text-opacity, 1));
}

.text-white {
  --tw-text-opacity: 1;
  color: rgb(255 255 255 / var(--tw-text-opacity, 1));
}

.text-yellow-400 {
  --tw-text-opacity: 1;
  color: rgb(250 204 21 / var(--tw-text-opacity, 1));
}

.text-yellow-500 {
  --tw-text-opacity: 1;
  color: rgb(234 179 8 / var(--tw-text-opacity, 1));
}

.text-zinc-500 {
  --tw-text-opacity: 1;
  color: rgb(113 113 122 / var(--tw-text-opacity, 1));
}

.text-zinc-600 {
  --tw-text-opacity: 1;
  color: rgb(82 82 91 / var(--tw-text-opacity, 1));
}

.text-zinc-700 {
  --tw-text-opacity: 1;
  color: rgb(63 63 70 / var(--tw-text-opacity, 1));
}

.text-zinc-800 {
  --tw-text-opacity: 1;
  color: rgb(39 39 42 / var(--tw-text-opacity, 1));
}

.underline {
  text-decoration-line: underline;
}

.decoration-2 {
  text-decoration-thickness: 2px;
}

.underline-offset-4 {
  text-underline-offset: 4px;
}

.shadow-lg {
  --tw-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  --tw-shadow-colored: 0 10px 15px -3px var(--tw-shadow-color), 0 4px 6px -4px var(--tw-shadow-color);
  box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
}

.shadow-md {
  --tw-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --tw-shadow-colored: 0 4px 6px -1px var(--tw-shadow-color), 0 2px 4px -2px var(--tw-shadow-color);
  box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
}

.shadow-sm {
  --tw-shadow: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --tw-shadow-colored: 0 1px 2px 0 var(--tw-shadow-color);
  box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
}

.ring-1 {
  --tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);
  --tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);
  box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000);
}

.ring-2 {
  --tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);
  --tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);
  box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000);
}

.ring-gray-600 {
  --tw-ring-opacity: 1;
  --tw-ring-color: rgb(75 85 99 / var(--tw-ring-opacity, 1));
}

.ring-white {
  --tw-ring-opacity: 1;
  --tw-ring-color: rgb(255 255 255 / var(--tw-ring-opacity, 1));
}

.brightness-0 {
  --tw-brightness: brightness(0);
  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);
}

.drop-shadow-lg {
  --tw-drop-shadow: drop-shadow(0 10px 8px rgb(0 0 0 / 0.04)) drop-shadow(0 4px 3px rgb(0 0 0 / 0.1));
  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, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
}

.transition-colors {
  transition-property: color, background-color, border-color, text-decoration-color, fill, stroke;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
}

.transition-transform {
  transition-property: transform;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
}

.duration-200 {
  transition-duration: 200ms;
}

.ease-in-out {
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}

.line-clamp-1 {
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 1;
}

.line-clamp-2 {
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

/* 旧デザインのスタイル。ページを移行するたびに該当部分を削除していく */

/* LP用のテーマ設定 */

:root {
  --font-size: 14px;
  --site-shell: min(1220px, calc(100vw - 32px));
  color-scheme: light;
  --background: 0 0% 100%;
  --foreground: 222.2 84% 4.9%;
  --card: 0 0% 100%;
  --card-foreground: 222.2 84% 4.9%;
  --popover: 0 0% 100%;
  --popover-foreground: 222.2 84% 4.9%;
  --primary: 222.2 47.4% 11.2%;
  --primary-foreground: 210 40% 98%;
  --secondary: 210 40% 96%;
  --secondary-foreground: 222.2 47.4% 11.2%;
  --muted: 210 40% 96%;
  --muted-foreground: 215.4 16.3% 46.9%;
  --accent: 210 40% 96%;
  --accent-foreground: 222.2 47.4% 11.2%;
  --destructive: 0 72.2% 50.6%;
  --destructive-foreground: 210 40% 98%;
  --border: 214.3 31.8% 91.4%;
  --input: 214.3 31.8% 91.4%;
  --ring: 215.4 16.3% 46.9%;
  --chart-1: 12 76% 61%;
  --chart-2: 173 58% 39%;
  --chart-3: 197 37% 24%;
  --chart-4: 43 74% 66%;
  --chart-5: 27 87% 67%;
  --radius: 0.625rem;
  --sidebar: 210 40% 98%;
  --sidebar-foreground: 222.2 84% 4.9%;
  --sidebar-primary: 222.2 47.4% 11.2%;
  --sidebar-primary-foreground: 210 40% 98%;
  --sidebar-accent: 214.3 31.8% 91.4%;
  --sidebar-accent-foreground: 222.2 84% 4.9%;
  --sidebar-border: 214.3 31.8% 91.4%;
  --sidebar-ring: 215.4 16.3% 46.9%;
}

@media (max-width: 520px) {
  :root {
    --site-shell: min(calc(100vw - 20px), 420px);
  }
}

.site-shell {
  width: var(--site-shell);
  max-width: var(--site-shell);
  margin-right: auto;
  margin-left: auto;
}

/* アナリティクスダッシュボードのスタイル */

.card {
  overflow: hidden;
  border-radius: var(--radius);
  --tw-bg-opacity: 1;
  background-color: rgb(31 41 55 / var(--tw-bg-opacity, 1));
  --tw-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --tw-shadow-colored: 0 4px 6px -1px var(--tw-shadow-color), 0 2px 4px -2px var(--tw-shadow-color);
  box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
}

.card-header {
  border-bottom-width: 1px;
  --tw-border-opacity: 1;
  border-color: rgb(55 65 81 / var(--tw-border-opacity, 1));
  padding: 1rem;
}

.card-title {
  font-size: 1.125rem;
  line-height: 1.75rem;
  font-weight: 700;
  --tw-text-opacity: 1;
  color: rgb(243 244 246 / var(--tw-text-opacity, 1));
}

.card-content {
  padding: 1rem;
}

.tabs-container {
  width: 100%;
}

.tabs-list {
  margin-bottom: 1rem;
}

.tab-trigger {
  padding-left: 1rem;
  padding-right: 1rem;
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
  font-size: 0.875rem;
  line-height: 1.25rem;
  font-weight: 500;
  --tw-text-opacity: 1;
  color: rgb(156 163 175 / var(--tw-text-opacity, 1));
}

.tab-trigger:hover {
  --tw-text-opacity: 1;
  color: rgb(243 244 246 / var(--tw-text-opacity, 1));
}

.tab-trigger:focus {
  outline: 2px solid transparent;
  outline-offset: 2px;
}

.tab-trigger.active {
  border-bottom-width: 2px;
  --tw-border-opacity: 1;
  border-color: rgb(96 165 250 / var(--tw-border-opacity, 1));
  --tw-text-opacity: 1;
  color: rgb(96 165 250 / var(--tw-text-opacity, 1));
}

.tab-content.active {
  display: block;
}

/* アイコンのスタイル */

.fas {
  font-size: 1.25rem;
  line-height: 1.75rem;
}

/* グラフコンテナのスタイル */

.chart-container {
  position: relative;
}

.character-reference-panel .chart-container {
  border: 1px solid var(--nk-line);
  border-radius: 6px;
  background: #fff;
  box-shadow: none;
  overflow: hidden;
}


.character-page > .chart-container .glass-panel {
  position: relative;
  overflow: visible;
  border: 1px solid var(--nk-line);
  border-radius: 8px;
  background: rgba(255,255,255,0.96);
  box-shadow: none;
}

.chart-container {
  min-height: 300px;
}

/* レスポンシブ対応 */

@media (max-width: 768px) {
  .grid-cols-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .tabs-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .chart-container {
    min-height: 250px;
  }
}

/* ========================================
   Character Page Styles (Project Sekai inspired)
   ======================================== */

/* Character Page Base */

.character-page {
  background: linear-gradient(180deg,
    #fff5f7 0%,
    #faf5ff 30%,
    #f0f9ff 70%,
    #fff5f7 100%
  );
}

/* Character Header */

.character-header {
  position: relative;
  overflow: hidden;
}

.character-header-bg {
  background: linear-gradient(135deg,
    #f472b6 0%,
    #a78bfa 25%,
    #818cf8 50%,
    #60a5fa 75%,
    #22d3ee 100%
  );
  animation: gradientShift 10s ease infinite;
  background-size: 200% 200%;
}

@keyframes gradientShift {
  0%, 100% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }
}

.character-header-pattern {
  background-image:
    radial-gradient(circle at 20% 30%, rgba(255,255,255,0.2) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(255,255,255,0.15) 0%, transparent 40%),
    radial-gradient(circle at 50% 10%, rgba(255,255,255,0.1) 0%, transparent 30%);
}

.character-title {
  font-family: 'Hiragino Kaku Gothic ProN', 'Noto Sans JP', sans-serif;
  text-shadow:
    0 2px 4px rgba(0,0,0,0.1),
    0 4px 8px rgba(0,0,0,0.05);
  letter-spacing: 0.15em;
}

/* Character Showcase */

.character-showcase {
  position: relative;
}

.character-showcase-bg {
  background: linear-gradient(180deg,
    transparent 0%,
    rgba(255,255,255,0.5) 10%,
    rgba(255,255,255,0.8) 50%,
    rgba(255,255,255,0.5) 90%,
    transparent 100%
  );
}

/* Character Cards */

.character-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
  /* 固定幅を設定して画像読み込み前のレイアウトシフトを防止 */
  width: 320px;
}

@media (min-width: 1024px) {
  .character-card {
    width: 448px;
  }
}

.character-card:hover {
  z-index: 30 !important;
}

.character-card-image {
  position: relative;
  /* アスペクト比を設定して画像読み込み前のスペースを確保 */
  aspect-ratio: 1792 / 2400;
  width: 100%;
}

.character-card-glow {
  background: radial-gradient(circle, var(--accent-color, #5A4C97) 0%, transparent 70%);
  filter: blur(40px);
  transform: scale(0.8);
}

/* Character Name Ribbon */

.character-name-ribbon {
  position: relative;
}

.character-ribbon-inner {
  background: linear-gradient(135deg,
    rgba(90, 76, 151, 0.95) 0%,
    rgba(120, 100, 180, 0.95) 100%
  );
  backdrop-filter: blur(8px);
  border-radius: 9999px;
  box-shadow:
    0 4px 6px rgba(0,0,0,0.1),
    0 10px 20px rgba(90, 76, 151, 0.2);
}

/* Glass Panel */

.glass-panel {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(20px);
  border-radius: 24px;
  box-shadow:
    0 4px 6px rgba(0,0,0,0.05),
    0 10px 40px rgba(0,0,0,0.08),
    inset 0 1px 0 rgba(255,255,255,0.9);
  border: 1px solid rgba(255,255,255,0.5);
}

.glass-panel-strong {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  border-radius: 24px;
  box-shadow:
    0 4px 6px rgba(0,0,0,0.05),
    0 10px 40px rgba(0,0,0,0.1),
    inset 0 1px 0 rgba(255,255,255,0.9);
  border: 1px solid rgba(255,255,255,0.6);
}

/* AI character news comment balloon */

.nike-comment-wrap {
  position: relative;
  padding: 0;
}

.nike-comment-bubble {
  position: relative;
  min-height: 104px;
  border: 1px solid rgba(216, 180, 254, 0.8);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.92);
  padding: 16px 18px;
  box-shadow:
    0 6px 18px rgba(90, 76, 151, 0.08),
    inset 0 1px 0 rgba(255,255,255,0.95);
}

.nike-comment-bubble::before,
.nike-comment-bubble::after {
  content: "";
  position: absolute;
  top: 58%;
  width: 0;
  height: 0;
  transform: translateY(-50%);
}

.nike-comment-bubble::before {
  right: -15px;
  border-top: 13px solid transparent;
  border-bottom: 13px solid transparent;
  border-left: 15px solid rgba(216, 180, 254, 0.8);
}

.nike-comment-bubble::after {
  right: -13px;
  border-top: 11px solid transparent;
  border-bottom: 11px solid transparent;
  border-left: 13px solid rgba(255, 255, 255, 0.92);
}

.nike-comment-pet-slot {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  min-height: 112px;
}

.nike-comment-pet-slot-mobile {
  display: none;
}

/* AI character news pet sprite */

.nike-news-pet {
  width: 96px;
  height: 104px;
  flex: 0 0 auto;
  image-rendering: auto;
  background-image: url('/g/49/images/pets/ai-nikechan-spritesheet.webp');
  background-repeat: no-repeat;
  background-size: 768px 936px;
  filter: drop-shadow(0 8px 12px rgba(90, 76, 151, 0.18));
}

.nike-news-pet-idle {
  background-position: 0 0;
  animation: nikePetIdle 1.1s steps(6) infinite;
}

.nike-news-pet-waving {
  background-position: 0 -312px;
  animation: nikePetWaving 1.1s steps(4) infinite;
}

.nike-news-pet-jumping {
  background-position: 0 -416px;
  animation: nikePetJumping 1.05s steps(5) infinite;
}

.nike-news-pet-running {
  background-position: 0 -728px;
  animation: nikePetRunning 0.85s steps(6) infinite;
}

.nike-news-pet-review {
  background-position: 0 -832px;
  animation: nikePetReview 1.1s steps(6) infinite;
}

@keyframes nikePetIdle {
  from {
    background-position: 0 0;
  }

  to {
    background-position: -576px 0;
  }
}

@keyframes nikePetWaving {
  from {
    background-position: 0 -312px;
  }

  to {
    background-position: -384px -312px;
  }
}

@keyframes nikePetJumping {
  from {
    background-position: 0 -416px;
  }

  to {
    background-position: -480px -416px;
  }
}

@keyframes nikePetRunning {
  from {
    background-position: 0 -728px;
  }

  to {
    background-position: -576px -728px;
  }
}

@keyframes nikePetReview {
  from {
    background-position: 0 -832px;
  }

  to {
    background-position: -576px -832px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .nike-news-pet {
    animation: none;
  }
}

/* Developer: career progression */

.character-detail-page--nike .character-work-column--history .character-history-list {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  padding: 4px 0;
  counter-reset: developer-career;
}

.character-detail-page--nike .character-work-column--history .character-history-list::before {
  content: "";
  position: absolute;
  top: 24px;
  bottom: 24px;
  left: 21px;
  display: block;
  width: 3px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--char-color) 64%, white);
}

.character-detail-page--nike .character-work-column--history .character-history-item {
  position: relative;
  display: grid;
  grid-template-columns: 44px 118px minmax(0, 1fr);
  grid-template-rows: auto auto;
  min-height: 0;
  padding: 0 0 24px;
  border: 0;
  border-radius: 0;
  background: transparent;
  counter-increment: developer-career;
}

.character-detail-page--nike .character-work-column--history .character-history-item--no-date {
  grid-template-columns: 44px minmax(0, 1fr);
}

.character-detail-page--nike .character-work-column--history .character-history-item::before {
  content: counter(developer-career, decimal-leading-zero);
  position: static;
  inset: auto;
  z-index: 2;
  grid-column: 1;
  grid-row: 1 / 3;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  align-self: start;
  justify-self: start;
  margin-top: 17px;
  border: 1px solid var(--nk-line);
  border-radius: 50%;
  color: var(--character-ink);
  background: var(--character-yellow);
  font-size: 10px;
  font-weight: 900;
  box-shadow: 0 0 0 5px #fff;
}

.character-detail-page--nike .character-work-column--history .character-history-date {
  z-index: 1;
  grid-column: 2;
  grid-row: 1 / 3;
  align-self: start;
  justify-self: start;
  margin: 21px 0 0 10px;
  white-space: nowrap;
}

.character-detail-page--nike .character-work-column--history .character-history-label {
  z-index: 1;
  grid-column: 3;
  grid-row: 1;
  padding: 20px 24px 0;
  border-radius: var(--profile-item-radius) var(--profile-item-radius) 0 0;
  background: color-mix(in srgb, var(--char-color) 8%, white);
  font-size: 19px;
}

.character-detail-page--nike .character-work-column--history .character-history-description {
  z-index: 1;
  grid-column: 3;
  grid-row: 2;
  margin: 0;
  padding: 10px 24px 22px;
  border-radius: 0 0 var(--profile-item-radius) var(--profile-item-radius);
  background: color-mix(in srgb, var(--char-color) 8%, white);
}

.character-detail-page--nike .character-work-column--history .character-history-item--no-date .character-history-label,
.character-detail-page--nike .character-work-column--history .character-history-item--no-date .character-history-description {
  grid-column: 2;
}

.character-detail-page--nike .character-history-description > p {
  margin: 0;
  color: #433d4c;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.8;
}

.character-detail-page--nike .character-history-description > ul {
  display: grid;
  gap: 7px;
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
}

.character-detail-page--nike .character-history-description > ul li {
  position: relative;
  padding-left: 18px;
  color: #5e5768;
  font-size: 13px;
  font-weight: 650;
  line-height: 1.65;
}

.character-detail-page--nike .character-history-description > ul li::before {
  content: "";
  position: absolute;
  top: 0.72em;
  left: 2px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--char-color);
}

@media (max-width: 640px) {
  .character-detail-page--nike .character-work-column--history .character-history-list::before {
    left: 16px;
  }

  .character-detail-page--nike .character-work-column--history .character-history-item {
    grid-template-columns: 36px minmax(0, 1fr);
    grid-template-rows: auto auto auto;
    padding-bottom: 20px;
  }

  .character-detail-page--nike .character-work-column--history .character-history-item::before {
    grid-column: 1;
    grid-row: 1 / 4;
    width: 30px;
    height: 30px;
    margin-top: 18px;
  }

  .character-detail-page--nike .character-work-column--history .character-history-date {
    grid-column: 2;
    grid-row: 1;
    margin: 16px 18px 0;
  }

  .character-detail-page--nike .character-work-column--history .character-history-label {
    grid-column: 2;
    grid-row: 2;
    padding: 13px 18px 0;
  }

  .character-detail-page--nike .character-work-column--history .character-history-description {
    grid-column: 2;
    grid-row: 3;
    padding: 10px 18px 20px;
  }

  .character-detail-page--nike .character-work-column--history .character-history-item--no-date {
    grid-template-rows: auto auto;
  }

  .character-detail-page--nike .character-work-column--history .character-history-item--no-date::before {
    grid-row: 1 / 3;
  }

  .character-detail-page--nike .character-work-column--history .character-history-item--no-date .character-history-label {
    grid-row: 1;
    padding-top: 20px;
  }

  .character-detail-page--nike .character-work-column--history .character-history-item--no-date .character-history-description {
    grid-row: 2;
  }
}

@media (max-width: 767px) {
  .nike-comment-wrap {
    margin-top: 1rem;
  }

  .nike-comment-wrap > .grid {
    display: block;
  }

  .nike-comment-bubble {
    min-height: 0;
    padding: 14px 16px;
  }

  .nike-comment-bubble::before,
  .nike-comment-bubble::after {
    display: none;
  }

  .nike-comment-body::after {
    clear: both;
    content: "";
    display: block;
  }

  .nike-comment-body::before {
    content: "";
    float: right;
    height: 48px;
    width: 0;
  }

  .nike-comment-pet-slot-desktop {
    display: none;
  }

  .nike-comment-pet-slot-mobile {
    display: block;
    float: right;
    clear: right;
    min-height: 0;
    margin: 2px 0 0 10px;
    shape-outside: inset(0 round 8px);
  }

  .nike-news-pet {
    width: 58px;
    height: 63px;
    background-size: 464px 565.5px;
    filter: drop-shadow(0 6px 10px rgba(90, 76, 151, 0.16));
  }

  .nike-news-pet-idle {
    background-position: 0 0;
  }

  .nike-news-pet-waving {
    background-position: 0 -188.5px;
  }

  .nike-news-pet-jumping {
    background-position: 0 -251.333px;
  }

  .nike-news-pet-running {
    background-position: 0 -439.833px;
  }

  .nike-news-pet-review {
    background-position: 0 -502.667px;
  }

  @keyframes nikePetIdle {
    from {
      background-position: 0 0;
    }

    to {
      background-position: -384px 0;
    }
  }

  @keyframes nikePetWaving {
    from {
      background-position: 0 -188.5px;
    }

    to {
      background-position: -232px -188.5px;
    }
  }

  @keyframes nikePetJumping {
    from {
      background-position: 0 -251.333px;
    }

    to {
      background-position: -290px -251.333px;
    }
  }

  @keyframes nikePetRunning {
    from {
      background-position: 0 -439.833px;
    }

    to {
      background-position: -348px -439.833px;
    }
  }

  @keyframes nikePetReview {
    from {
      background-position: 0 -502.667px;
    }

    to {
      background-position: -348px -502.667px;
    }
  }
}

/* AI Nike-chan About page: assistant-first direction */

.ai-about-page {
  --ai-ink: var(--nk-ink);
  --ai-purple: #5A4C97;
  --ai-pink: #F77FA2;
  --ai-cyan: var(--nk-cyan);
  --ai-yellow: var(--nk-lilac);
  --ai-paper: #fff;
  --ai-about-shell: var(--site-shell);
  color: var(--ai-ink);
  background:
    linear-gradient(90deg, rgba(25, 183, 201, 0.08) 1px, transparent 1px),
    linear-gradient(180deg, rgba(90, 76, 151, 0.08) 1px, transparent 1px),
    linear-gradient(180deg, #FFF8FB 0%, #F7FCFF 48%, #FFF2F6 100%);
  background-size: 56px 56px, 56px 56px, auto;
  overflow: hidden;
}

.ai-about-page main {
  position: relative;
  z-index: 1;
  display: grid;
  row-gap: 28px;
  padding: 48px 0 72px;
}

.ai-about-hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background: #fdeef3;
}

.ai-about-hero__keyvisual {
  position: absolute;
  inset: 0;
  z-index: -3;
  display: block;
  overflow: hidden;
}

.ai-about-hero__keyvisual img {
  display: block;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  -o-object-position: center top;
     object-position: center top;
}

.ai-about-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
}

.ai-about-hero::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: -1;
  height: 38%;
  background: linear-gradient(180deg, transparent 0%, rgba(255, 248, 251, 0.8) 100%);
  pointer-events: none;
}

.ai-about-hero__grid {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.28) 1px, transparent 1px),
    linear-gradient(180deg, rgba(255, 255, 255, 0.24) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: linear-gradient(90deg, black, transparent 76%);
          mask-image: linear-gradient(90deg, black, transparent 76%);
}

.ai-about-hero__content {
  position: relative;
  display: grid;
  gap: 36px;
  align-items: center;
  width: var(--ai-about-shell);
  margin: 0 auto;
}

.ai-about-hero__copy {
  color: var(--ai-ink);
}

.ai-about-section-label {
  margin: 0;
  color: var(--ai-purple);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.24em;
  line-height: 1.4;
}

.ai-about-hero h1 {
  margin: 0;
  font-family: var(--nk-display);
  font-weight: 900;
  letter-spacing: 0;
}

.ai-about-hero h1 span {
  display: block;
}

.ai-about-lead {
  padding-left: 18px;
  border-left: 6px solid var(--ai-pink);
  color: var(--ai-ink);
  font-weight: 900;
}

.ai-about-lead strong {
  font-weight: 900;
}

.ai-about-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.ai-about-actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 20px;
  border: 1px solid var(--nk-line);
  border-radius: 8px;
  color: var(--ai-ink);
  background: #fff;
  font-weight: 900;
  text-decoration: none;
  box-shadow: none;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.ai-about-actions a:first-child {
  color: #fff;
  background: var(--ai-ink);
  box-shadow: none;
}

.ai-about-kicker {
  width: -moz-fit-content;
  width: fit-content;
  margin: 0 0 22px;
  padding: 8px 12px;
  border: 1px solid var(--nk-line);
  border-radius: 6px;
  color: var(--ai-ink);
  background: var(--ai-yellow);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.2em;
  line-height: 1;
  box-shadow: none;
}

.ai-about-hero {
  min-height: 700px;
}

.ai-about-hero::before {
  background:
    linear-gradient(90deg, rgba(255, 248, 251, 0.96) 0%, rgba(255, 248, 251, 0.84) 39%, rgba(255, 248, 251, 0.32) 61%, rgba(255, 248, 251, 0) 78%),
    linear-gradient(180deg, rgba(247, 127, 162, 0.12) 0%, rgba(25, 183, 201, 0.08) 100%);
}

.ai-about-hero__content {
  grid-template-columns: minmax(0, 700px) 1fr;
  min-height: 650px;
  padding: 56px 0 72px;
}

.ai-about-hero__copy {
  max-width: 700px;
}

.ai-about-hero h1 {
  font-size: clamp(46px, 4.6vw, 68px);
  line-height: 1.08;
}

.ai-about-hero h1 span + span {
  margin-top: 8px;
  color: var(--ai-purple);
  font-size: 0.64em;
  line-height: 1.24;
}

.ai-about-lead {
  max-width: 680px;
  margin-top: 26px;
  font-size: 17px;
  line-height: 1.9;
}

.ai-about-actions a:focus-visible,
.ai-about-touchpoint-card:focus-visible,
.ai-about-quote__links a:focus-visible {
  outline: 4px solid var(--ai-cyan);
  outline-offset: 4px;
}

.ai-about-relationship,
.ai-about-work,
.ai-about-memory,
.ai-about-direction,
.ai-about-touchpoints,
.ai-about-quote {
  width: var(--ai-about-shell);
  margin: 0 auto;
}

.ai-about-relationship,
.ai-about-direction,
.ai-about-touchpoints {
  position: relative;
  padding: 42px;
  border: 1px solid var(--nk-line);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.95);
}

.ai-about-section-head {
  max-width: none;
}

.ai-about-section-head--compact {
  max-width: 780px;
}

.ai-about-section-head h2,
.ai-about-memory h2 {
  margin: 0;
  color: var(--ai-ink);
  font-family: var(--nk-display);
  font-size: clamp(34px, 3.2vw, 48px);
  font-weight: 900;
  line-height: 1.18;
}

.ai-about-section-head > p:last-child,
.ai-about-memory__copy > p {
  margin: 20px 0 0;
  color: #443c54;
  font-size: 16px;
  line-height: 1.95;
}

.ai-about-role-map {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 110px minmax(0, 1fr);
  gap: 20px;
  align-items: stretch;
  margin-top: 34px;
}

.ai-about-role-card {
  position: relative;
  min-width: 0;
  padding: 24px;
  border: 1px solid var(--nk-line);
  border-radius: 9px;
  background: #fff;
  box-shadow: none;
}

.ai-about-role-card--master {
  --role-accent: #F9B1BC;
}

.ai-about-role-card--assistant {
  --role-accent: var(--ai-cyan);
}

.ai-about-role-card__identity {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 18px;
  align-items: center;
}

.ai-about-role-card__identity img {
  width: 96px;
  height: 96px;
  border: 1px solid var(--nk-line);
  border-radius: 50%;
  background: #fff;
  -o-object-fit: cover;
     object-fit: cover;
}

.ai-about-role-card__identity p {
  margin: 0;
  color: var(--ai-purple);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.16em;
}

.ai-about-role-card__identity h3 {
  margin: 0;
  color: var(--ai-ink);
  font-size: 28px;
  font-weight: 900;
  line-height: 1.2;
}

.ai-about-role-card__identity span {
  display: block;
  margin-top: 5px;
  color: #675d76;
  font-size: 13px;
  font-weight: 800;
}

.ai-about-role-card > p {
  margin: 22px 0 0;
  color: #443c54;
  font-size: 15px;
  line-height: 1.85;
}

.ai-about-role-map__link {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: var(--ai-ink);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-align: center;
}

.ai-about-role-map__link svg {
  width: 88px;
  height: 42px;
  overflow: visible;
}

.ai-about-role-map__arrow {
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 4;
}

.ai-about-role-map__arrow--develop {
  stroke: var(--ai-pink);
}

.ai-about-role-map__arrow--support {
  stroke: var(--ai-cyan);
}

.ai-about-work {
  position: relative;
  padding: 42px;
  border: 1px solid var(--nk-line);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.95);
}

.ai-about-work-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: 30px;
}

.ai-about-work-grid article {
  min-width: 0;
  padding: 20px;
  border: 1px solid var(--nk-line);
  border-radius: 8px;
  background: #fff;
  box-shadow: none;
}

.ai-about-work-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.ai-about-work-card__top span {
  color: var(--ai-purple);
  font-family: var(--nk-display);
  font-size: 12px;
  letter-spacing: 0.14em;
}

.ai-about-work-card__top i {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--nk-line);
  border-radius: 50%;
  color: var(--ai-ink);
  background: var(--ai-yellow);
}

.ai-about-work-grid h3 {
  margin: 20px 0 0;
  color: var(--ai-ink);
  font-size: 21px;
  font-weight: 900;
  line-height: 1.35;
}

.ai-about-work-grid p {
  margin: 10px 0 0;
  color: #514963;
  font-size: 14px;
  line-height: 1.75;
}

.ai-about-memory {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(340px, 0.94fr);
  gap: 42px;
  align-items: center;
  padding: 44px;
  border: 1px solid var(--nk-line);
  border-radius: 10px;
  color: var(--ai-ink);
  background: #fff;
}

.ai-about-memory .ai-about-section-label {
  color: var(--ai-purple);
}

.ai-about-memory h2 {
  color: var(--ai-ink);
}

.ai-about-memory__copy > p {
  color: #443c54;
}

.ai-about-memory__priorities {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: none;
}

.ai-about-memory__priorities li {
  display: grid;
  gap: 6px;
  padding: 16px 18px;
  border: 1px solid var(--nk-line);
  border-radius: 8px;
  color: var(--ai-ink);
  background: #fff;
  box-shadow: none;
}

.ai-about-memory__priorities span {
  color: var(--ai-purple);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.18em;
}

.ai-about-memory__priorities strong {
  font-size: 14px;
  line-height: 1.55;
}

.ai-about-layer-stack {
  display: grid;
  gap: 0;
  max-width: 930px;
  margin: 34px auto 0;
}

.ai-about-layer {
  display: grid;
  grid-template-columns: minmax(260px, 0.75fr) 1.25fr;
  gap: 28px;
  align-items: center;
  padding: 24px 28px;
  border: 1px solid var(--nk-line);
  border-radius: 9px;
}

.ai-about-layer--core {
  background: #E7F9FC;
  box-shadow: none;
}

.ai-about-layer--public {
  background: #FFF0F5;
  box-shadow: none;
}

.ai-about-layer span {
  color: var(--ai-purple);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.16em;
}

.ai-about-layer h3 {
  margin: 0;
  color: var(--ai-ink);
  font-size: 24px;
  font-weight: 900;
  line-height: 1.3;
}

.ai-about-layer p {
  margin: 0;
  color: #443c54;
  font-size: 15px;
  line-height: 1.8;
}

.ai-about-layer-stack__flow {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 70px;
  color: var(--ai-ink);
  font-size: 12px;
  font-weight: 900;
}

.ai-about-layer-stack__flow svg {
  width: 28px;
  height: 44px;
  overflow: visible;
}

.ai-about-layer-stack__flow path {
  fill: none;
  stroke: var(--ai-purple);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 3;
}

.ai-about-aituber {
  display: grid;
  grid-template-columns: 84px 1fr;
  gap: 22px;
  align-items: center;
  margin-top: 42px;
  padding: 24px 28px;
  border: 1px solid var(--nk-line);
  border-radius: 9px;
  background: #fff;
  box-shadow: none;
}

.ai-about-aituber__icon {
  display: grid;
  place-items: center;
  width: 72px;
  height: 72px;
  border: 1px solid var(--nk-line);
  border-radius: 50%;
  color: #fff;
  background: var(--ai-purple);
  font-size: 28px;
}

.ai-about-aituber p {
  margin: 0;
  color: var(--ai-purple);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.18em;
}

.ai-about-aituber h3 {
  margin: 0;
  color: var(--ai-ink);
  font-size: 24px;
  font-weight: 900;
  line-height: 1.3;
}

.ai-about-aituber span {
  display: block;
  margin-top: 8px;
  color: #443c54;
  font-size: 15px;
  line-height: 1.75;
}

.ai-about-touchpoint-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 18px;
  margin-top: 32px;
}

.ai-about-touchpoint-card {
  display: flex;
  flex-direction: column;
  min-height: 255px;
  padding: 22px;
  border: 1px solid var(--nk-line);
  border-radius: 8px;
  color: var(--ai-ink);
  background: #fff;
  box-shadow: none;
  text-decoration: none;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.ai-about-touchpoint-card > i {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border: 1px solid var(--nk-line);
  border-radius: 9px;
  color: #fff;
  background: var(--ai-purple);
  font-size: 24px;
}

.ai-about-touchpoint-card:nth-child(2) > i {
  background: var(--ai-pink);
}

.ai-about-touchpoint-card:nth-child(3) > i {
  background: var(--ai-cyan);
}

.ai-about-touchpoint-card h3 {
  margin: 18px 0 0;
  color: var(--ai-ink);
  font-size: 22px;
  font-weight: 900;
}

.ai-about-touchpoint-card p {
  margin: 10px 0 0;
  color: #514963;
  font-size: 14px;
  line-height: 1.75;
}

.ai-about-touchpoint-card span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  padding-top: 18px;
  color: var(--ai-purple);
  font-size: 14px;
  font-weight: 900;
}

.ai-about-touchpoint-card span i {
  font-size: 11px;
}

.ai-about-quote {
  position: relative;
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 0;
  align-items: stretch;
  padding: 0;
  border: 1px solid var(--nk-line);
  border-radius: 10px;
  overflow: visible;
  background: #fff;
}

.ai-about-quote img {
  width: 100%;
  height: 100%;
  min-height: 390px;
  border-radius: 7px 0 0 7px;
  -o-object-fit: cover;
     object-fit: cover;
  -o-object-position: center 12%;
     object-position: center 12%;
  background: var(--ai-yellow);
}

.ai-about-quote > div {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 42px;
}

.ai-about-quote > div > p {
  margin: 0;
  color: var(--ai-pink);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.18em;
}

.ai-about-quote blockquote {
  margin: 18px 0 0;
  color: var(--ai-ink);
  font-size: clamp(24px, 2.3vw, 34px);
  font-weight: 900;
  line-height: 1.65;
}

.ai-about-quote__links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  margin-top: 26px;
}

.ai-about-quote__links a {
  color: var(--ai-purple);
  font-size: 14px;
  font-weight: 900;
  text-underline-offset: 4px;
}

@media (max-width: 1023px) {
  .ai-about-page main {
    row-gap: 24px;
    padding: 40px 0 64px;
  }

  .ai-about-hero {
    min-height: auto;
  }

  .ai-about-hero::after {
    height: 52%;
  }

  .ai-about-hero::before {
    background:
      linear-gradient(90deg, rgba(255, 248, 251, 0.96) 0%, rgba(255, 248, 251, 0.8) 56%, rgba(255, 248, 251, 0.2) 84%, rgba(255, 248, 251, 0) 100%),
      linear-gradient(180deg, rgba(247, 127, 162, 0.16) 0%, rgba(25, 183, 201, 0.08) 100%);
  }

  .ai-about-hero__content {
    grid-template-columns: 1fr;
    width: var(--ai-about-shell);
    min-height: auto;
    padding: 42px 0 clamp(340px, 54vw, 500px);
  }

  .ai-about-hero__keyvisual {
    inset: auto 0 0;
    width: 100%;
    height: auto;
    aspect-ratio: 1672 / 941;
  }

  .ai-about-hero__keyvisual img {
    -o-object-fit: contain;
       object-fit: contain;
    -o-object-position: center bottom;
       object-position: center bottom;
  }

  .ai-about-role-map {
    grid-template-columns: 1fr;
  }

  .ai-about-role-map__link {
    flex-direction: row;
    min-height: 54px;
  }

  .ai-about-role-map__link svg {
    transform: rotate(90deg);
  }

  .ai-about-work-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ai-about-memory {
    grid-template-columns: 1fr;
  }

  .ai-about-touchpoint-grid {
    grid-template-columns: 1fr;
  }

  .ai-about-touchpoint-card {
    min-height: 0;
  }
}

@media (max-width: 640px) {
  .ai-about-page {
    background-size: 34px 34px, 34px 34px, auto;
  }

  .ai-about-page main {
    row-gap: 16px;
    padding: 24px 0 56px;
  }

  .ai-about-hero {
    min-height: auto;
    background: var(--ai-paper);
  }

  .ai-about-hero::before {
    background: none;
  }

  .ai-about-hero::after {
    height: 230px;
    background: linear-gradient(180deg, var(--ai-paper) 0, rgba(255, 248, 251, 0.86) 18px, rgba(255, 248, 251, 0.35) 58px, rgba(255, 248, 251, 0) 100px);
  }

  .ai-about-hero__keyvisual {
    inset: auto 0 0;
    width: 100%;
    height: 230px;
    aspect-ratio: auto;
  }

  .ai-about-hero__keyvisual img {
    -o-object-fit: cover;
       object-fit: cover;
    -o-object-position: center;
       object-position: center;
    transform: translateY(16px) scale(1.25);
    transform-origin: 74% 0;
  }

  .ai-about-hero__content {
    align-items: start;
    padding: 26px 0 250px;
  }

  .ai-about-kicker {
    margin-bottom: 18px;
    font-size: 10px;
    letter-spacing: 0.14em;
  }

  .ai-about-hero h1 {
    max-width: 350px;
    font-size: 38px;
    line-height: 1.12;
  }

  .ai-about-hero h1 span + span {
    font-size: 0.66em;
  }

  .ai-about-lead {
    max-width: 350px;
    margin-top: 20px;
    padding-left: 12px;
    font-size: 14px;
    line-height: 1.75;
  }

  .ai-about-actions {
    margin-top: 22px;
  }

  .ai-about-actions a {
    width: 100%;
    min-height: 46px;
  }

  .ai-about-relationship,
  .ai-about-work,
  .ai-about-memory,
  .ai-about-direction,
  .ai-about-touchpoints {
    padding: 24px;
  }

  .ai-about-section-head h2,
  .ai-about-memory h2 {
    font-size: 29px;
    line-height: 1.22;
  }

  .ai-about-section-head > p:last-child,
  .ai-about-memory__copy > p {
    font-size: 15px;
    line-height: 1.85;
  }

  .ai-about-role-card {
    padding: 18px;
  }

  .ai-about-role-card__identity {
    grid-template-columns: 76px 1fr;
    gap: 14px;
  }

  .ai-about-role-card__identity img {
    width: 76px;
    height: 76px;
  }

  .ai-about-role-card__identity h3 {
    font-size: 23px;
  }

  .ai-about-role-card > p {
    font-size: 14px;
  }

  .ai-about-work-grid {
    grid-template-columns: 1fr;
  }

  .ai-about-work-grid article {
    padding: 18px;
  }

  .ai-about-memory {
    gap: 28px;
  }

  .ai-about-memory__priorities strong {
    font-size: 13px;
  }

  .ai-about-layer {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 20px;
  }

  .ai-about-layer h3 {
    font-size: 20px;
  }

  .ai-about-layer p {
    font-size: 14px;
  }

  .ai-about-layer-stack__flow {
    min-height: 78px;
  }

  .ai-about-aituber {
    grid-template-columns: 1fr;
    padding: 22px;
  }

  .ai-about-aituber__icon {
    width: 58px;
    height: 58px;
    font-size: 22px;
  }

  .ai-about-aituber h3 {
    font-size: 21px;
  }

  .ai-about-aituber span {
    font-size: 14px;
  }

  .ai-about-touchpoint-card {
    padding: 20px;
  }

  .ai-about-quote {
    grid-template-columns: 1fr;
  }

  .ai-about-quote img {
    height: 280px;
    min-height: 0;
    border-radius: 7px 7px 0 0;
    -o-object-position: center 10%;
       object-position: center 10%;
  }

  .ai-about-quote > div {
    padding: 26px 24px 30px;
  }

  .ai-about-quote blockquote {
    font-size: 22px;
  }

  .ai-about-quote__links {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* Code Block */

.code-block {
  position: relative;
  margin: 1rem 0;
}

.code-block .code-lang {
  position: absolute;
  top: 0;
  left: 0;
  padding: 2px 10px;
  font-size: 0.7rem;
  color: #9ca3af;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 0 0 6px 0;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
}

.code-block .code-copy-btn {
  position: absolute;
  top: 6px;
  right: 8px;
  padding: 2px 10px;
  font-size: 0.75rem;
  color: #9ca3af;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.2s;
}

.code-block .code-copy-btn:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.2);
}

/* OGP Card */

.ogp-card {
  display: flex;
  background: #fff;
  border: 1px solid #e4e4e7;
  border-radius: 12px;
  overflow: hidden;
  text-decoration: none !important;
  color: inherit;
  transition: box-shadow 0.2s, border-color 0.2s;
  margin: 1rem 0;
  max-height: 140px;
}

.ogp-card-image {
  flex-shrink: 0;
  width: 230px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  border-right: 1px solid #e4e4e7;
}

.ogp-card-image img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}

.ogp-card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 12px 16px;
  min-width: 0;
  gap: 4px;
}

.ogp-card-title {
  font-size: 0.9rem;
  font-weight: 600;
  color: #18181b;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.4;
}

.ogp-card-description {
  font-size: 0.78rem;
  color: #71717a;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.4;
}

.ogp-card-meta {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  color: #a1a1aa;
  margin-top: auto;
}

.ogp-card-favicon {
  border-radius: 2px;
}

/* Twitter Embed */

.twitter-embed {
  margin: 1rem 0;
}

.twitter-embed .twitter-tweet {
  margin: 0 !important;
}

/* YouTube Embed */

.youtube-embed {
  margin: 1.5rem 0;
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
}

.youtube-embed iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: 8px;
}

.video-embed {
  margin: 1.5rem 0;
  width: 100%;
}

.video-embed video {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 8px;
  background: #18181b;
}

/* Shared image/video captions; override typography's default media margins. */

.media-figure {
  margin: 1.5rem 0;
  min-width: 0;
}

.media-figure > img,
.media-figure > .video-embed {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 0 auto;
}

.media-figure .video-embed video {
  margin: 0;
}

.media-figure > figcaption {
  margin: 0.5rem 0 0;
  padding: 0 0.5rem;
  color: #52525b;
  font-size: 0.875rem;
  line-height: 1.6;
  text-align: center;
  overflow-wrap: anywhere;
}

.markdown-message {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin: 24px 0;
  padding: 16px 18px;
  border: 2px solid #e8b923;
  border-radius: 8px;
  color: #4d3b08;
  background: #fdeef3;
}

.markdown-message__icon {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  margin-top: 3px;
  border-radius: 999px;
  color: #fff;
  background: #f5b91f;
  font-size: 15px;
  font-weight: 900;
  line-height: 1;
}

.markdown-message__body {
  min-width: 0;
}

.markdown-message__body > :first-child {
  margin-top: 0;
}

.markdown-message__body > :last-child {
  margin-bottom: 0;
}

.markdown-message__body p {
  color: inherit;
}

@media (max-width: 640px) {
  .ogp-card {
    flex-direction: column;
    max-height: none;
  }

  .ogp-card-image {
    width: 100%;
    height: 160px;
  }

  .ogp-card-content {
    padding: 10px 12px;
  }
}

/* Character Navigation */

.character-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  transition: transform 0.3s ease;
}

.character-nav-icon {
  position: relative;
}

.character-nav-bg {
  background: linear-gradient(180deg,
    rgba(255,255,255,0.3) 0%,
    rgba(255,255,255,0.8) 50%,
    rgba(255,255,255,0.3) 100%
  );
}

/* Character Footer */

.character-footer-gradient {
  background: linear-gradient(180deg,
    transparent 0%,
    #fff5f7 100%
  );
}

/* Character Detail Specific */

.character-detail-main {
  min-height: 60vh;
}

.character-image-section {
  position: relative;
  min-height: 500px;
}

.character-catchphrase {
  writing-mode: vertical-rl;
  text-orientation: mixed;
  padding: 1rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  line-height: 1.8;
}

.character-detail-image {
  position: relative;
  /* 固定サイズを設定して画像読み込み前のレイアウトシフトを防止 */
  width: 280px;
  aspect-ratio: 1792 / 2400;
}

@media (min-width: 640px) {
  .character-detail-image {
    width: 384px;
    /* max-w-sm */
  }
}

@media (min-width: 768px) {
  .character-detail-image {
    width: 448px;
    /* max-w-md */
  }
}

@media (min-width: 1024px) {
  .character-detail-image {
    width: 512px;
    /* max-w-lg */
  }
}

.character-profile-section {
  position: relative;
  z-index: 20;
}

/* Profile Data Styling */

.character-profile-data dl {
  font-size: 0.95rem;
}

.character-profile-data dt {
  position: relative;
}

/* .character-profile-data dt::after {
  content: '';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 60%;
  background: rgba(0,0,0,0.1);
} */

/* Animation for character images */

@keyframes floatCharacter {
  0%, 100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-10px);
  }
}

.character-card-image img,
.character-detail-image img {
  animation: floatCharacter 4s ease-in-out infinite;
}

.character-card:hover .character-card-image img {
  animation-play-state: paused;
}

/* Character sprite shadow on hover */

.character-sprite {
  transition: filter 0.3s ease-out;
}

.character-card:hover .character-sprite {
  filter: drop-shadow(0px 0px 30px var(--char-color));
}

/* Responsive adjustments */

@media (max-width: 1024px) {
  .character-image-section {
    min-height: 400px;
  }

  .character-catchphrase {
    writing-mode: horizontal-tb;
    text-orientation: mixed;
    text-align: center;
  }
}

@media (max-width: 768px) {
  .character-title {
    font-size: 3rem;
    letter-spacing: 0.1em;
  }

  .character-image-section {
    min-height: auto;
  }

  .character-card-image img {
    max-width: 280px;
  }
}

/* Scrollbar hide utility */

.scrollbar-hide {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.scrollbar-hide::-webkit-scrollbar {
  display: none;
}

/* Mobile character card improvements */

.character-card-mobile {
  min-height: 160px;
}

@media (max-width: 640px) {
  .character-title {
    font-size: 2.5rem;
  }

  .character-card-mobile {
    min-height: 140px;
    padding: 0.75rem;
  }

  .character-card-mobile .w-24 {
    width: 5rem;
    height: 5rem;
  }
}

/* ============================
   World Page — Orbiting UI v5
   Magic UI-inspired orbit animation
   ============================ */

.world-orbit-wrap {
  position: relative;
  width: 100%;
  max-width: 420px;
  aspect-ratio: 1;
  margin: 2rem auto;
  container-type: inline-size;
  overflow: visible;
}

/* Orbit path rings (visible circles) */

.world-orbit-path {
  position: absolute;
  top: 50%;
  left: 50%;
  border-radius: 50%;
  border: 2px dashed rgba(0,0,0,0.2);
  pointer-events: none;
}

.world-orbit-path--inner {
  --size: 62%;
  width: var(--size);
  height: var(--size);
  transform: translate(-50%,-50%);
}

.world-orbit-path--outer {
  --size: 84%;
  width: var(--size);
  height: var(--size);
  transform: translate(-50%,-50%);
}

/* Center node */

.world-center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.world-center__img {
  position: relative;
  width: 4.5rem;
  height: 4.5rem;
  border-radius: 50%;
  background: #5A4C97;
  padding: 2.5px;
  box-shadow: 0 4px 24px rgba(90,76,151,0.18), 0 0 0 6px rgba(90,76,151,0.06);
}

.world-center__img img {
  border-radius: 50%;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  background: white;
}

.world-center__label {
  margin-top: 0.4rem;
  font-size: 0.65rem;
  font-weight: 700;
  color: #6b7280;
  white-space: nowrap;
}

.world-center__sublabel {
  font-size: 0.55rem;
  color: #9ca3af;
  white-space: nowrap;
}

/* Orbiting planet — shared */

.world-planet {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  z-index: 12;
  background: none;
  border: none;
  padding: 0;
  /* orbit: rotate to angle → move outward → counter-rotate to stay upright */
  animation: world-orbit var(--duration) linear infinite;
  will-change: transform;
}

.world-planet--inner {
  --radius: 31cqi;
  --duration: 50s;
}

.world-planet--outer {
  --radius: 42cqi;
  --duration: 70s;
  animation-direction: reverse;
}

@keyframes world-orbit {
  from {
    transform:
      rotate(calc(var(--angle) * 1deg))
      translateX(calc(var(--radius)))
      rotate(calc(var(--angle) * -1deg));
  }

  to {
    transform:
      rotate(calc(var(--angle) * 1deg + 360deg))
      translateX(calc(var(--radius)))
      rotate(calc(var(--angle) * -1deg - 360deg));
  }
}

/* Pause only the hovered planet */

.world-planet:hover,
.world-planet.active {
  animation-play-state: paused;
}

/* Planet icon badge */

.world-planet__body {
  position: relative;
  width: 2.75rem;
  height: 2.75rem;
  margin: -1.375rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: white;
  border: 2px solid color-mix(in srgb, var(--accent) 30%, white);
  color: var(--accent);
  font-size: 1.05rem;
  box-shadow:
    0 2px 10px rgba(0,0,0,0.06),
    0 0 0 4px rgba(255,255,255,0.8);
  cursor: pointer;
  transition: transform 0.25s cubic-bezier(.34,1.56,.64,1), box-shadow 0.25s ease, border-color 0.25s ease;
}

.world-planet__body:hover {
  transform: scale(1.2);
  border-color: var(--accent);
  box-shadow:
    0 4px 16px color-mix(in srgb, var(--accent) 25%, transparent),
    0 0 0 4px rgba(255,255,255,0.9);
}

/* "Coming soon" dot indicator */

.world-planet__soon {
  position: absolute;
  top: -2px;
  right: -2px;
  width: 10px;
  height: 10px;
  background: #fbbf24;
  border-radius: 50%;
  border: 2px solid white;
}

/* Tooltip card on hover */

.world-planet__tooltip {
  position: absolute;
  top: calc(100% + 0.5rem);
  left: 50%;
  transform: translateX(-50%) translateY(6px);
  width: 150px;
  background: white;
  border-radius: 12px;
  padding: 0.6rem 0.7rem;
  box-shadow: 0 4px 20px rgba(0,0,0,0.1), 0 1px 4px rgba(0,0,0,0.06);
  border: 1px solid rgba(0,0,0,0.06);
  border-top: 2.5px solid var(--accent);
  text-align: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
  z-index: 20;
}

.world-planet__body:hover + .world-planet__tooltip,
.world-planet.active .world-planet__tooltip {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
  pointer-events: auto;
}

.world-planet__tooltip-name {
  font-size: 0.75rem;
  font-weight: 700;
  color: #374151;
  margin-bottom: 0.15rem;
}

.world-planet__tooltip-desc {
  font-size: 0.62rem;
  color: #9ca3af;
  line-height: 1.4;
}

.world-planet__tooltip-link {
  display: inline-block;
  margin-top: 0.3rem;
  font-size: 0.6rem;
  font-weight: 600;
  color: var(--accent);
}

.world-planet__tooltip-link:hover {
  opacity: 0.7;
}

/* Responsive */

@media (min-width: 768px) {
  .world-orbit-wrap {
    max-width: 520px;
  }

  .world-center__img {
    width: 5.5rem;
    height: 5.5rem;
    box-shadow: 0 4px 28px rgba(90,76,151,0.2), 0 0 0 8px rgba(90,76,151,0.06);
  }

  .world-center__label {
    font-size: 0.72rem;
  }

  .world-planet__body {
    width: 3.25rem;
    height: 3.25rem;
    margin: -1.625rem;
    font-size: 1.2rem;
  }

  .world-planet__tooltip {
    width: 170px;
    padding: 0.7rem 0.8rem;
  }
}

/* Accessibility */

/* Detail panel below orbit */

.world-detail-panel {
  max-width: 520px;
  margin: 0 auto;
  min-height: 100px;
}

.world-detail-card {
  display: none;
  animation: world-detail-enter 0.3s ease-out;
}

.world-detail-card.active {
  display: block;
}

@keyframes world-detail-enter {
  from {
    opacity: 0;
    transform: translateY(8px);
  }

  to   {
    opacity: 1;
    transform: translateY(0);
  }
}

.world-detail-card > div {
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(20px);
  border-radius: 20px;
  padding: 1.25rem 1.5rem;
  border: 1px solid rgba(0,0,0,0.06);
  box-shadow: 0 2px 16px rgba(0,0,0,0.05), 0 1px 3px rgba(0,0,0,0.04);
}

/* FAQ accordion */

.world-faq-item {
  overflow: hidden;
}

.world-faq-item summary {
  list-style: none;
}

.world-faq-item summary::-webkit-details-marker {
  display: none;
}

/* Accessibility */

@media (prefers-reduced-motion: reduce) {
  .world-planet {
    animation-duration: 0s !important;
  }
}

/* Character pages: about-aligned visual direction */

.character-page {
  --character-ink: var(--nk-ink);
  --character-purple: #5A4C97;
  --character-pink: #F77FA2;
  --character-cyan: var(--nk-cyan);
  --character-yellow: var(--nk-lilac);
  color: var(--character-ink);
  background:
    linear-gradient(90deg, rgba(25, 183, 201, 0.08) 1px, transparent 1px),
    linear-gradient(180deg, rgba(90, 76, 151, 0.08) 1px, transparent 1px),
    linear-gradient(180deg, #FFF8FB 0%, #F7FCFF 48%, #FFF2F6 100%);
  background-size: 56px 56px, 56px 56px, auto;
  overflow: hidden;
}

.character-detail-main {
  width: var(--site-shell);
  margin: 0 auto;
  padding: 72px 0 96px;
}

.character-link-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.character-link-list a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 44px;
  padding: 0 16px;
  border: 1px solid var(--nk-line);
  border-radius: 8px;
  color: var(--character-ink);
  background: #fff;
  font-size: 14px;
  font-weight: 900;
  text-decoration: none;
  box-shadow: none;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.character-link-list img {
  filter: brightness(0) !important;
}

.character-back-section {
  margin-bottom: 24px;
}

.character-profile-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 28px;
}

.character-profile-card,
.character-description-card,
.character-page .glass-panel,
.character-page .glass-panel-strong {
  position: relative;
  overflow: visible;
  border: 1px solid var(--nk-line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: none;
}

.character-profile-card,
.character-description-card {
  padding: 32px;
}

.character-section-heading span,
.character-page .glass-panel h3 {
  color: var(--char-color, var(--character-purple));
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.2em;
}

.character-section-heading h2 {
  margin: 0;
  color: var(--character-ink);
  font-family: var(--nk-display);
  font-size: 38px;
  font-weight: 900;
  line-height: 1.16;
  letter-spacing: 0;
}

.character-section-heading--additional {
  margin-bottom: 24px;
}

.character-section-heading--additional h2 {
  max-width: 980px;
  font-size: clamp(26px, 4vw, 42px);
}

.character-profile-data {
  display: grid;
  gap: 0;
  margin: 26px 0 0;
  overflow: hidden;
  border: 1px solid var(--nk-line);
  border-radius: 8px;
}

.character-profile-data div {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 18px;
  align-items: center;
  padding: 16px 18px;
  border-bottom: 1px solid var(--nk-line);
  background: #fff;
}

.character-profile-data div:last-child {
  border-bottom: 0;
}

.character-profile-data dt {
  color: var(--char-color, var(--character-purple));
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.character-profile-data dd {
  margin: 0;
  color: var(--character-ink);
  font-weight: 800;
  line-height: 1.6;
}

.character-description-body {
  margin-top: 24px;
}

.character-description-body p {
  margin: 0 0 14px;
  color: #3b344b;
  font-size: 16px;
  line-height: 1.9;
}

.character-description-body p:last-child {
  margin-bottom: 0;
}

.character-link-list {
  margin-top: 26px;
}

.character-video-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  margin-top: 26px;
  overflow: visible;
  border: 1px solid var(--nk-line);
  border-radius: 8px;
  background: var(--character-ink);
  box-shadow: none;
}

.character-video-frame iframe {
  position: relative;
  z-index: 1;
  overflow: hidden;
  border-radius: 5px;
}

.character-additional-sections {
  display: grid;
  gap: 28px;
  width: 100%;
  margin: 54px 0 0;
}

.character-page .glass-panel {
  padding: 30px;
}

.character-page .glass-panel a {
  font-weight: 900;
}

.character-page .glass-panel > h3 {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  margin: 0 0 18px;
  padding: 0 12px;
  border: 1px solid var(--nk-line);
  border-radius: 6px;
  color: var(--char-color, var(--character-purple)) !important;
  background: color-mix(in srgb, var(--char-color, var(--character-purple)) 10%, white);
  font-family: var(--nk-display);
  font-size: 13px;
  line-height: 1;
  letter-spacing: 0.16em;
}

.character-page .glass-panel p,
.character-page .glass-panel li {
  color: #3b344b;
  font-weight: 700;
  line-height: 1.85;
}

.character-page .glass-panel ul {
  display: grid;
  gap: 10px;
  margin: 0 0 24px;
  padding: 0;
  list-style: none;
}

.character-page .glass-panel li {
  align-items: flex-start;
}

.character-page .glass-panel li > span:first-child {
  color: var(--char-color, var(--character-purple)) !important;
  font-weight: 900;
}

.character-page .glass-panel a:not(.character-reference-download) {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 44px;
  padding: 0 16px;
  border: 1px solid var(--nk-line);
  border-radius: 8px;
  color: var(--character-ink) !important;
  background: #fff !important;
  font-size: 14px;
  font-weight: 900;
  text-decoration: none;
  box-shadow: none;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.character-page .glass-panel .bg-purple-50,
.character-page .glass-panel .bg-pink-50 {
  padding: 18px !important;
  border: 1px solid var(--nk-line) !important;
  border-radius: 8px !important;
  background: #fff !important;
  box-shadow: none;
}

.character-page .glass-panel .bg-purple-50 h4,
.character-page .glass-panel .bg-pink-50 h4 {
  color: var(--character-ink);
  font-weight: 900;
}

.character-history-list {
  position: relative;
  display: grid;
  gap: 18px;
  margin-top: 8px;
  padding: 8px 0;
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.character-history-list::before {
  content: "";
  position: absolute;
  left: 168px;
  top: 20px;
  bottom: 20px;
  width: 4px;
  border-radius: 999px;
  background:
    linear-gradient(180deg, var(--char-color, var(--character-purple)), var(--character-yellow));
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.82);
}

.character-history-panel {
  padding: 30px !important;
}

.character-history-item {
  position: relative;
  display: grid;
  grid-template-columns: 132px 72px minmax(0, 1fr);
  grid-template-rows: auto auto;
  gap: 0;
  align-items: start;
  min-height: 98px;
  padding: 0;
  border-bottom: 0;
  background: transparent;
}

.character-history-dot {
  position: relative;
  z-index: 2;
  display: block;
  grid-column: 2;
  grid-row: 1 / 3;
  width: 22px;
  height: 22px;
  margin-top: 16px;
  justify-self: center;
  border: 3px solid var(--char-color, var(--character-purple));
  border-radius: 50%;
  background: var(--character-yellow);
  box-shadow:
    0 0 0 7px #fff,
    4px 4px 0 var(--character-ink);
}

.character-history-item::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 204px;
  z-index: 0;
  border: 1px solid var(--nk-line);
  border-radius: 8px;
  background:
    linear-gradient(90deg, color-mix(in srgb, var(--char-color, var(--character-purple)) 8%, white), #fff 34%);
  box-shadow: 6px 6px 0 rgba(23, 19, 39, 0.16);
}

.character-history-date {
  position: relative;
  z-index: 1;
  grid-column: 1;
  grid-row: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: -moz-fit-content;
  width: fit-content;
  min-height: 34px;
  margin-top: 10px;
  padding: 0 12px;
  justify-self: end;
  border: 1px solid var(--nk-line);
  border-radius: 999px;
  color: var(--character-ink);
  background: var(--character-yellow);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  line-height: 1;
  white-space: nowrap;
}

.character-history-label {
  position: relative;
  z-index: 1;
  grid-column: 3;
  grid-row: 1;
  padding: 18px 22px 0;
  color: var(--character-ink);
  font-size: 19px;
  font-weight: 900;
  line-height: 1.45;
}

.character-history-description {
  position: relative;
  z-index: 1;
  grid-column: 3;
  grid-row: 2;
  margin: 0;
  padding: 7px 22px 18px;
  color: #3b344b;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.85;
}

.developer-activities {
  padding: 30px;
}

.developer-activities__heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.86fr);
  gap: 36px;
  align-items: end;
}

.developer-activities__heading > p {
  margin: 0 0 7px;
  color: #4d455c;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.9;
}

.developer-activities__list {
  display: grid;
  gap: 18px;
  margin: 28px 0 0 !important;
  padding: 0 !important;
  list-style: none;
}

.developer-activity-card {
  position: relative;
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr);
  gap: 0;
  overflow: hidden;
  padding: 0;
  border: 1px solid var(--nk-line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 6px 6px 0 rgba(23, 19, 39, 0.16);
}

.developer-activity-card__meta {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  padding: 24px 22px;
  border-right: 1px solid var(--nk-line);
  background:
    linear-gradient(145deg, color-mix(in srgb, var(--char-color) 14%, white), #fff 76%);
}

.developer-activity-card__kind {
  display: inline-flex;
  min-height: 30px;
  align-items: center;
  padding: 0 11px;
  border: 1px solid var(--nk-line);
  border-radius: 999px;
  background: var(--char-color);
  color: #fff;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.12em;
  line-height: 1;
}

.developer-activity-card__kind--exhibition {
  background: #5a4c97;
}

.developer-activity-card__kind--participation {
  background: #187d8c;
}

.developer-activity-card__meta time {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--character-ink);
  font-size: 15px;
  font-weight: 900;
  letter-spacing: 0.05em;
  white-space: nowrap;
}

.developer-activity-card__meta time svg {
  width: 17px;
  height: 17px;
  color: var(--char-color);
  stroke-width: 2.5;
}

.developer-activity-card__body {
  padding: 24px 28px 26px;
}

.developer-activity-card__body h3 {
  margin: 0;
  padding-right: 42px;
  color: var(--character-ink) !important;
  font-size: 20px;
  font-weight: 900;
  line-height: 1.45;
}

.developer-activity-card__body > p {
  margin: 9px 0 0 !important;
  color: #4d455c !important;
  font-size: 14px;
  font-weight: 650;
  line-height: 1.8;
}

.character-page ul.developer-activity-card__topics {
  display: flex;
  flex-wrap: wrap;
  gap: 7px !important;
  margin: 17px 0 0 !important;
  padding: 0 !important;
  list-style: none;
}

.developer-activity-card__topics li {
  padding: 5px 9px !important;
  border: 1px solid color-mix(in srgb, var(--char-color) 32%, white);
  border-radius: 4px;
  background: color-mix(in srgb, var(--char-color) 8%, white);
  color: #51495f !important;
  font-size: 11px !important;
  font-weight: 800 !important;
  line-height: 1.2 !important;
}

.developer-activity-card__links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.character-page .developer-activity-card__links a:not(.character-reference-download) {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 34px;
  padding: 0 12px;
  border-width: 2px;
  border-radius: 5px;
  box-shadow: none;
  font-size: 12px;
}

.character-page .developer-activity-card__links .developer-activity-card__slides-link:not(.character-reference-download) {
  background: var(--character-yellow) !important;
}

.developer-activity-card__links svg {
  width: 13px;
  height: 13px;
}

.developer-activities__all {
  display: flex;
  justify-content: flex-end;
  margin-top: 24px;
}

.character-page .developer-activities__all a:not(.character-reference-download) {
  background: var(--character-yellow) !important;
}

.developer-activities__all svg {
  width: 16px;
  height: 16px;
}

.activities-page .activities-page__main {
  padding-top: 46px;
  padding-bottom: 86px;
}

.activities-page {
  --char-color: #F9A3AB;
}

.activities-page__main > .developer-activities {
  margin-top: 0;
}

.activity-detail-page {
  --char-color: #F9A3AB;
}

.activity-detail-page .activity-detail-page__main {
  display: grid;
  gap: 24px;
  padding-top: 46px;
  padding-bottom: 86px;
}

.activity-detail-page__main .character-back-section {
  margin-bottom: 0;
}

.activity-detail-summary,
.activity-slide-viewer {
  padding: 30px !important;
}

.activity-detail-summary__meta {
  display: flex;
  align-items: center;
  gap: 15px;
}

.activity-detail-summary__meta time {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--character-ink);
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 0.05em;
}

.activity-detail-summary__meta time svg {
  width: 17px;
  height: 17px;
  color: var(--char-color);
  stroke-width: 2.5;
}

.activity-detail-summary h2 {
  max-width: 850px;
  margin: 20px 0 0;
  color: var(--character-ink);
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 900;
  line-height: 1.35;
}

.activity-detail-summary > p {
  max-width: 850px;
  margin: 14px 0 0;
  color: #4d455c;
  font-size: 15px;
  font-weight: 650;
  line-height: 1.9;
}

.character-page ul.activity-detail-summary__topics {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
}

.activity-detail-summary__topics li {
  padding: 6px 10px;
  border: 1px solid color-mix(in srgb, var(--char-color) 32%, white);
  border-radius: 4px;
  background: color-mix(in srgb, var(--char-color) 8%, white);
  color: #51495f;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.2;
}

.activity-detail-summary__links,
.activity-slide-viewer__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.character-page .activity-detail-summary__links a:not(.character-reference-download),
.character-page .activity-slide-viewer__actions a:not(.character-reference-download) {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  gap: 7px;
  padding: 0 13px;
  border-width: 2px;
  border-radius: 5px;
  box-shadow: none;
  font-size: 12px;
}

.activity-detail-summary__links svg,
.activity-slide-viewer__actions svg {
  width: 14px;
  height: 14px;
}

.activity-slide-viewer {
  overflow: hidden;
}

.activity-slide-viewer__heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
}

.activity-slide-viewer__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--char-color);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.16em;
}

.activity-slide-viewer__eyebrow svg {
  width: 18px;
  height: 18px;
  stroke-width: 2.5;
}

.activity-slide-viewer__heading h2 {
  margin: 8px 0 0;
  color: var(--character-ink);
  font-size: 26px;
  font-weight: 900;
}

.activity-slide-viewer__heading p {
  margin: 8px 0 0;
  color: #4d455c;
  font-size: 13px;
  font-weight: 700;
}

.activity-slide-viewer__actions {
  flex: 0 0 auto;
  margin-top: 0;
}

.character-page .activity-slide-viewer__actions a:first-child:not(.character-reference-download) {
  background: var(--character-yellow) !important;
}

.character-page ol.activity-slide-deck {
  display: grid;
  gap: 28px;
  margin-top: 24px;
  padding: 0;
  list-style: none;
}

.activity-slide-deck li {
  scroll-margin-top: 94px;
}

.activity-slide-deck figure {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--nk-line);
  border-radius: 7px;
  background: #191d2b;
  box-shadow: 6px 6px 0 rgba(23, 19, 39, 0.16);
}

.activity-slide-deck img {
  display: block;
  width: 100%;
  height: auto;
  border: 0;
  border-radius: 0;
  background: #fff;
  box-shadow: none;
}

.activity-slide-deck figcaption {
  padding: 9px 14px;
  border-top: 1px solid var(--nk-line);
  color: #fff;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-align: right;
}

@media (max-width: 720px) {
  .developer-activities {
    padding: 22px 18px !important;
  }

  .developer-activities__heading,
  .developer-activity-card {
    grid-template-columns: 1fr;
  }

  .developer-activities__heading {
    gap: 5px;
  }

  .developer-activity-card__meta {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 17px 18px;
    border-right: 0;
    border-bottom: 1px solid var(--nk-line);
  }

  .developer-activity-card__body {
    padding: 20px 18px 22px;
  }

  .developer-activity-card__body h3 {
    padding-right: 24px;
    font-size: 18px;
  }

  .developer-activities__all {
    justify-content: stretch;
  }

  .character-page .developer-activities__all a:not(.character-reference-download) {
    width: 100%;
  }

  .activity-detail-summary,
  .activity-slide-viewer {
    padding: 22px 18px !important;
  }

  .activity-slide-viewer__heading {
    align-items: stretch;
    flex-direction: column;
    gap: 18px;
  }

  .activity-slide-viewer__actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .character-page .activity-slide-viewer__actions a:not(.character-reference-download) {
    justify-content: center;
    width: 100%;
  }

  .character-page ol.activity-slide-deck {
    gap: 20px;
  }

  .activity-slide-deck figure {
    box-shadow: 4px 4px 0 rgba(23, 19, 39, 0.16);
  }
}

.character-reference-panel img {
  border: 0;
  border-radius: 4px;
  box-shadow: none;
}

.character-reference-panel .relative {
  border: 1px solid var(--nk-line);
  border-radius: 6px;
  background: #fff;
  box-shadow: none;
  overflow: hidden;
}

.character-product-card {
  padding: 18px;
  border: 1px solid var(--nk-line);
  border-radius: 8px;
  background: #fff;
}

.character-product-card h4 {
  color: var(--character-ink);
  font-weight: 900;
}

.character-reference-download {
  border: 1px solid var(--nk-line);
  box-shadow: none;
}

.character-nav-section {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-top: 64px;
}

.character-nav-item {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 10px;
  align-items: center;
  min-height: 58px;
  padding: 8px 14px 8px 8px;
  border: 1px solid var(--nk-line);
  border-radius: 8px;
  color: var(--character-ink);
  background: #fff;
  box-shadow: none;
  font-weight: 900;
  text-decoration: none;
  opacity: 0.72;
  transition: transform 160ms ease, box-shadow 160ms ease, opacity 160ms ease;
}

.character-nav-item:hover,
.character-nav-item--current {
  opacity: 1;
}

.character-nav-item--current {
  color: #fff;
  background: var(--char-color);
}

.character-nav-item img {
  width: 48px;
  height: 48px;
  border: 1px solid var(--nk-line);
  border-radius: 50%;
  -o-object-fit: cover;
     object-fit: cover;
}

.character-nav-item span {
  white-space: nowrap;
}

@media (max-width: 1023px) {
  .character-profile-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .character-detail-main {
    width: var(--site-shell);
  }

  .character-profile-card,
  .character-description-card,
  .character-page .glass-panel {
    padding: 22px;
  }

  .character-section-heading h2 {
    font-size: 28px;
  }

  .character-profile-data div {
    grid-template-columns: 1fr;
    gap: 6px;
    padding: 14px;
  }

  .character-history-item {
    grid-template-columns: 42px minmax(0, 1fr);
    grid-template-rows: auto auto auto;
    min-height: 0;
  }

  .character-history-list {
    gap: 16px;
    padding: 4px 0;
  }

  .character-history-list::before {
    left: 19px;
    top: 18px;
    bottom: 18px;
    width: 3px;
  }

  .character-history-dot {
    grid-column: 1;
    grid-row: 1 / 4;
    width: 18px;
    height: 18px;
    margin-top: 18px;
    box-shadow:
      0 0 0 6px #fff,
      3px 3px 0 var(--character-ink);
  }

  .character-history-item::before {
    left: 42px;
    box-shadow: 4px 4px 0 rgba(23, 19, 39, 0.16);
  }

  .character-history-date {
    grid-column: 2;
    grid-row: 1;
    margin: 14px 16px 0;
    justify-self: start;
    min-height: 28px;
    padding: 0 10px;
    font-size: 11px;
  }

  .character-history-label {
    grid-column: 2;
    grid-row: 2;
    padding: 9px 16px 0;
    font-size: 17px;
  }

  .character-history-description {
    grid-column: 2;
    grid-row: 3;
    padding: 6px 16px 16px;
  }

  .character-nav-section {
    justify-content: flex-start;
  }

  .character-nav-item {
    width: 100%;
  }
}

/* Site-wide redesign pass: home, tutorial, gallery, guidelines */

.site-page-hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

@keyframes home-hero-light-sweep {
  0%,
  18% {
    transform: translateX(-28%);
    opacity: 0;
  }

  42% {
    opacity: 0.72;
  }

  68%,
  100% {
    transform: translateX(28%);
    opacity: 0;
  }
}

.site-page-hero {
  background:
    linear-gradient(122deg, rgba(90, 76, 151, 0.98) 0 28%, rgba(25, 183, 201, 0.96) 28% 56%, rgba(247, 127, 162, 0.96) 56% 78%, rgba(247, 127, 162, 0.35) 78% 100%);
}

.site-page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image:
    linear-gradient(135deg, rgba(255,255,255,0.2) 25%, transparent 25%),
    linear-gradient(315deg, rgba(255,255,255,0.2) 25%, transparent 25%);
  background-position: 0 0, 18px 18px;
  background-size: 36px 36px;
  opacity: 0.28;
}

.site-page-hero__inner {
  position: relative;
  z-index: 1;
  width: var(--site-shell);
  margin: 0 auto;
}

.site-page-hero__inner h1,
.post-redesign-hero__label {
  margin: 22px 0 0;
  color: #fff;
  font-family: var(--nk-display);
  font-size: clamp(58px, 7vw, 106px);
  font-weight: 900;
  line-height: 0.92;
  letter-spacing: 0;
  text-shadow: 6px 6px 0 rgba(23, 19, 39, 0.3);
}

.design-action-button,
.design-toggle-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 46px;
  padding: 0 18px;
  border: 1px solid var(--nk-line);
  border-radius: 8px;
  color: var(--character-ink);
  background: #fff;
  box-shadow: none;
  font-weight: 900;
  text-decoration: none;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.site-page-hero__inner {
  min-height: 360px;
  padding: 72px 0 62px;
}

.site-page-hero__inner > p {
  box-sizing: border-box;
  max-width: min(620px, 100%);
  margin: 22px 0 0;
  padding-left: 18px;
  border-left: 4px solid var(--nk-pink);
  color: #fff;
  font-size: 18px;
  font-weight: 900;
  line-height: 1.85;
  overflow-wrap: anywhere;
  text-shadow: 0 2px 0 rgba(23, 19, 39, 0.24);
}

.designed-page-main {
  padding-top: 46px;
  padding-bottom: 92px;
}

.character-page .designed-page-main,
.character-page main.designed-page-main,
.character-page section.designed-page-main {
  width: var(--site-shell);
  max-width: var(--site-shell);
  margin-right: auto;
  margin-left: auto;
  padding-right: 0;
  padding-left: 0;
}

.news-redesign .designed-page-main > .max-w-4xl,
.ai-news-redesign main.designed-page-main,
.blog-redesign .container,
.blog-redesign #category-techblog > .container,
.gallery-redesign .designed-page-main,
.guideline-redesign .designed-page-main,
.tutorial-redesign .designed-page-main {
  width: var(--site-shell);
  max-width: var(--site-shell);
}

.gallery-redesign .max-w-4xl {
  max-width: 100%;
}

.news-redesign .designed-page-main > .max-w-4xl,
.ai-news-redesign main.designed-page-main,
.blog-redesign .container,
.blog-redesign #category-techblog > .container {
  margin-right: auto;
  margin-left: auto;
  padding-right: 0;
  padding-left: 0;
}

.design-toggle {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  width: 100%;
  margin-bottom: 32px;
}

.design-toggle-link--active {
  color: #fff;
  background: var(--character-ink);
  box-shadow: none;
}

.design-toggle-link--inactive {
  color: var(--character-ink);
  background: #fff;
}

.tutorial-redesign {
  --char-color: var(--character-cyan);
}

.tutorial-mode-card {
  border: 1px solid var(--nk-line);
  border-radius: 8px;
  background: #fff;
  box-shadow: none;
}

.tutorial-mode-card--active {
  transform: translate(3px, 3px);
  box-shadow: none;
}

.tutorial-mode-card__label {
  background: rgba(23, 19, 39, 0.84);
  font-weight: 900;
}

.tutorial-mode-card__label--active {
  background: var(--character-ink);
}

.video-mode-button {
  border: 1px solid var(--nk-line);
  border-radius: 8px;
  background: #fff;
  color: var(--character-ink);
}

.video-mode-button--active {
  background: var(--character-ink);
  color: #fff;
}

.tutorial-service-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding-left: 0;
}

.tutorial-service-list li {
  position: relative;
  padding-left: 20px;
}

.tutorial-service-list li::before {
  content: "";
  position: absolute;
  top: 0.75em;
  left: 2px;
  width: 7px;
  height: 7px;
  border: 0;
  border-radius: 999px;
  background: var(--nk-pink);
  transform: translateY(-50%);
}

.tutorial-redesign .glass-panel,
.gallery-redesign .glass-panel,
.guideline-redesign .glass-panel,
.character-page > .relative .glass-panel {
  position: relative;
  overflow: visible;
  border: 1px solid var(--nk-line);
  border-radius: 8px;
  background: rgba(255,255,255,0.96);
  box-shadow: none;
}

.tutorial-redesign .glass-panel h2,
.guideline-redesign .glass-panel h2 {
  color: var(--character-ink);
  font-family: var(--nk-display);
  font-weight: 900;
  letter-spacing: 0;
}

.tutorial-redesign .glass-panel h2 {
  width: -moz-fit-content;
  width: fit-content;
  margin-bottom: 1.7rem;
  padding: 0 6px 5px;
  border-bottom: 0 !important;
  background: linear-gradient(to top, rgba(247, 127, 162, 0.35) 0 40%, transparent 40% 100%);
}

.tutorial-redesign .glass-panel h3 {
  width: -moz-fit-content;
  width: fit-content;
  padding: 0 5px 4px;
  border-bottom: 0 !important;
  color: var(--character-ink) !important;
  background: linear-gradient(to top, rgba(247, 127, 162, 0.35) 0 36%, transparent 36% 100%);
  font-size: 20px;
  font-weight: 900;
  line-height: 1.45;
  letter-spacing: 0;
}

.tutorial-redesign .text-purple-700,
.tutorial-redesign .text-purple-600,
.tutorial-redesign .text-pink-500 {
  color: #00899a !important;
}

.tutorial-redesign .border-purple-200,
.tutorial-redesign .border-pink-200,
.tutorial-redesign .hover\:border-pink-300:hover {
  border-color: rgba(25, 183, 201, 0.5) !important;
}

.tutorial-redesign .bg-purple-600,
.tutorial-redesign .from-purple-500,
.tutorial-redesign .to-pink-500,
.tutorial-redesign .hover\:bg-purple-50:hover {
  background: var(--character-cyan) !important;
}

.tutorial-redesign .glass-panel img,
.tutorial-redesign .glass-panel video,
.tutorial-redesign .glass-panel iframe,
.gallery-redesign .gallery-item {
  border: 1px solid var(--nk-line);
  border-radius: 8px;
}

.tutorial-redesign .glass-panel img {
  box-shadow: none;
}

.tutorial-redesign .glass-panel video,
.tutorial-redesign .glass-panel iframe {
  box-shadow: none;
}

.gallery-redesign .gallery-item {
  box-shadow: none;
}

.tutorial-redesign .bg-pink-50,
.tutorial-redesign .bg-yellow-50,
.tutorial-redesign .bg-blue-50,
.tutorial-redesign .bg-gray-50 {
  border: 1px solid var(--nk-line) !important;
  border-radius: 8px !important;
  background: #fff !important;
}

.gallery-redesign .gallery-item {
  background: #fff;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.guideline-redesign .prose {
  color: #3b344b;
  font-weight: 700;
}

.guideline-redesign .designed-page-main {
  padding-bottom: 16px;
}

.guideline-quick-start {
  scroll-margin-top: 88px;
  margin-bottom: 0;
}

.guideline-quick-hero {
  margin-bottom: 22px;
}

.guideline-quick-hero__copy {
  position: relative;
  min-width: 0;
  padding: 24px 26px;
  border: 1px solid var(--nk-line);
  border-radius: 8px;
  background: #fff;
  box-shadow: none;
}

.guideline-quick-eyebrow {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  margin: 0 0 10px;
  padding: 0 12px;
  border: 1px solid var(--nk-line);
  border-radius: 999px;
  background: var(--character-yellow);
  color: var(--character-ink);
  font-size: 13px;
  font-weight: 900;
  line-height: 1;
}

.guideline-quick-hero__copy h2 {
  margin: 0;
  color: var(--character-ink);
  font-family: var(--nk-display);
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: 0;
  font-size: clamp(28px, 4.6vw, 46px);
}

.guideline-quick-hero__copy > p:not(.guideline-quick-eyebrow) {
  margin: 14px 0 0;
  color: #3b344b;
  font-size: 16px;
  font-weight: 800;
  line-height: 1.85;
}

.guideline-quick-speech {
  margin-top: 16px;
  padding: 12px 14px;
  border: 2px dashed rgba(35, 31, 32, 0.28);
  border-radius: 8px;
  background: rgba(25, 183, 201, 0.12);
  color: #17313d;
  font-size: 14px;
  font-weight: 900;
  line-height: 1.7;
}

.guideline-quick-card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 18px;
}

.guideline-quick-card {
  min-width: 0;
  padding: 18px;
  border: 1px solid var(--nk-line);
  border-radius: 8px;
  background: #fff;
  box-shadow: none;
}

.guideline-quick-card--ok {
  --quick-card-color: #10a37f;
  --quick-card-bg: rgba(16, 163, 127, 0.12);
}

.guideline-quick-card--conditional {
  --quick-card-color: #c27803;
  --quick-card-bg: rgba(247, 127, 162, 0.28);
}

.guideline-quick-card--ask {
  --quick-card-color: #4f46e5;
  --quick-card-bg: rgba(79, 70, 229, 0.1);
}

.guideline-quick-card--ng {
  --quick-card-color: #d9355f;
  --quick-card-bg: rgba(217, 53, 95, 0.1);
}

.guideline-quick-card__head {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  min-width: 0;
  margin-bottom: 14px;
  color: var(--quick-card-color);
}

.guideline-quick-card__head svg {
  flex: 0 0 auto;
  margin-top: 2px;
}

.guideline-quick-card__head h3 {
  margin: 0;
  color: var(--character-ink);
  font-family: var(--nk-display);
  font-size: 21px;
  font-weight: 900;
  line-height: 1.25;
  letter-spacing: 0;
}

.guideline-quick-card__head p {
  width: -moz-fit-content;
  width: fit-content;
  margin: 6px 0 0;
  padding: 4px 8px;
  border-radius: 6px;
  background: var(--quick-card-bg);
  color: var(--quick-card-color);
  font-size: 12px;
  font-weight: 900;
  line-height: 1.35;
}

.guideline-quick-card ul,
.guideline-ai-quick ul {
  display: grid;
  gap: 9px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.guideline-quick-card li,
.guideline-ai-quick li {
  position: relative;
  min-width: 0;
  padding-left: 20px;
  color: #3b344b;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.65;
  overflow-wrap: anywhere;
}

.guideline-quick-card li::before,
.guideline-ai-quick li::before {
  content: "";
  position: absolute;
  top: 0.72em;
  left: 2px;
  width: 8px;
  height: 8px;
  border: 1px solid var(--nk-line);
  border-radius: 999px;
  background: var(--quick-card-color, var(--character-cyan));
  transform: translateY(-50%);
}

.guideline-ai-quick {
  margin: 4px 0 20px;
  padding: 20px;
  border: 1px solid var(--nk-line);
  border-radius: 8px;
  background: #fff;
  color: #00899a;
}

.guideline-ai-quick__head {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 14px;
}

.guideline-ai-quick__icon {
  flex: 0 0 auto;
  margin-top: 2px;
  color: #00899a;
}

.guideline-ai-quick h3,
.guideline-quick-faq h3 {
  margin: 0;
  color: var(--character-ink);
  font-family: var(--nk-display);
  font-size: 22px;
  font-weight: 900;
  line-height: 1.35;
  letter-spacing: 0;
}

.guideline-ai-quick__head p {
  margin: 6px 0 0;
  color: #3b344b;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.65;
}

.guideline-ai-quick a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  margin-top: 16px;
  padding: 0 16px;
  border: 1px solid var(--nk-line);
  border-radius: 8px;
  color: var(--character-ink);
  background: var(--character-yellow);
  box-shadow: none;
  font-size: 14px;
  font-weight: 900;
  text-decoration: none;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.guideline-detail-link-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-top: 28px;
  margin-bottom: 28px;
}

.guideline-detail-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid var(--nk-line);
  border-radius: 8px;
  color: var(--character-ink);
  background: #fff;
  box-shadow: none;
  font-size: 14px;
  font-weight: 900;
  line-height: 1;
  text-decoration: none;
  transition: transform 160ms ease, box-shadow 160ms ease, background-color 160ms ease;
}

.guideline-quick-faq {
  margin-top: 22px;
}

.guideline-quick-faq h3 {
  width: -moz-fit-content;
  width: fit-content;
  margin-bottom: 12px;
  padding: 0 5px 6px;
  border-bottom: 4px solid var(--nk-pink);
}

.guideline-quick-faq__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.guideline-quick-faq article {
  min-width: 0;
  padding: 16px;
  border: 1px solid var(--nk-line);
  border-radius: 8px;
  background: #fff;
}

.guideline-quick-faq h4 {
  margin: 0 0 8px;
  color: var(--character-ink);
  font-size: 15px;
  font-weight: 900;
  line-height: 1.45;
}

.guideline-quick-faq p {
  margin: 0;
  color: #3b344b;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.7;
  overflow-wrap: anywhere;
}

.guideline-quick-note {
  margin: 18px 0 0;
  padding: 12px 14px;
  border-left: 4px solid var(--nk-pink);
  background: rgba(255, 235, 111, 0.18);
  color: #5c5268;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.75;
}

.guideline-detail-tabs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: -8px auto 28px;
  color: #5c5268;
  font-size: 14px;
  font-weight: 900;
  line-height: 1.4;
}

.guideline-detail-tabs__label {
  color: #5c5268;
  font-size: 12px;
}

.guideline-detail-tabs__label::after {
  content: ":";
}

.guideline-detail-tab {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 0 13px;
  border: 1px solid var(--nk-line);
  border-radius: 8px;
  color: var(--character-ink);
  background: #fff;
  font-size: 14px;
  font-weight: 900;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  box-shadow: none;
  transition: transform 160ms ease, box-shadow 160ms ease, background-color 160ms ease, color 160ms ease;
}

.guideline-detail-tab--active {
  color: #fff;
  background: var(--character-ink);
  box-shadow: none;
}

@media (max-width: 900px) {
  .guideline-quick-faq__grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767px) {
  .guideline-quick-start {
    margin-bottom: 28px;
  }

  .guideline-quick-hero {
    margin-bottom: 18px;
  }

  .guideline-quick-hero__copy {
    padding: 20px;
    box-shadow: none;
  }

  .guideline-quick-card-grid {
    grid-template-columns: 1fr;
  }

  .guideline-ai-quick {
    padding: 18px;
  }

  .guideline-detail-link-row {
    align-items: stretch;
    flex-direction: column;
  }

  .guideline-detail-link {
    width: 100%;
  }
}

.legal-page-heading {
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 2px solid rgba(35, 31, 32, 0.12);
}

.legal-page-heading h2 {
  margin: 0 0 0.75rem;
  color: var(--character-ink);
  font-family: var(--nk-display);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: 0;
}

.legal-page-heading p {
  margin: 0.45rem 0 0;
  color: #3b344b;
  font-weight: 700;
  line-height: 1.75;
}

.legal-page-heading .legal-updated {
  color: #6b6278;
  font-size: 0.95rem;
}

.legal-redesign .legal-prose section:first-child h3 {
  margin-top: 0;
}

.legal-redesign .legal-prose p {
  margin: 0 0 1rem;
  line-height: 1.9;
}

.guideline-copy-row {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 30px;
}

.guideline-copy-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  width: auto;
  padding: 0 18px;
  font-size: 14px;
  line-height: 1;
  transition: transform 160ms ease, box-shadow 160ms ease, background-color 160ms ease;
}

.guideline-redesign .prose h1,
.guideline-redesign .prose h2,
.guideline-redesign .prose h3 {
  color: var(--character-ink);
  font-family: var(--nk-display);
  letter-spacing: 0;
}

.guideline-redesign .prose h2 {
  width: -moz-fit-content;
  width: fit-content;
  margin-bottom: 1.7rem;
  padding: 0 6px 5px;
  border-bottom: 0;
  background: linear-gradient(to top, rgba(247, 127, 162, 0.35) 0 40%, transparent 40% 100%);
}

.character-page.guideline-redesign .glass-panel .prose h3 {
  width: -moz-fit-content;
  width: fit-content;
  margin-top: 2.2rem;
  margin-bottom: 1rem;
  padding: 0 5px 4px;
  color: var(--character-ink);
  background: linear-gradient(to top, rgba(247, 127, 162, 0.35) 0 36%, transparent 36% 100%);
  font-size: 20px;
  font-weight: 900;
  line-height: 1.45;
  letter-spacing: 0;
}

.character-page.guideline-redesign .glass-panel .prose h4 {
  margin-top: 1.8rem;
  margin-bottom: 0.75rem;
  padding: 0;
  color: var(--character-ink);
  background: none;
  font-size: 17px;
  font-weight: 900;
  line-height: 1.5;
  letter-spacing: 0;
}

.guideline-redesign .prose ul {
  display: block;
  margin: 0 0 1.5rem;
  padding-left: 1.5rem;
  list-style: disc;
}

.guideline-redesign .prose li::marker {
  color: var(--character-ink);
  font-weight: 900;
}

.character-page.guideline-redesign .glass-panel .prose a {
  display: inline;
  min-height: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  color: #0f766e !important;
  background: transparent !important;
  box-shadow: none;
  font-weight: 900;
  text-decoration: underline;
}

.character-page.tutorial-redesign .glass-panel p a:not(.design-action-button),
.character-page.tutorial-redesign .glass-panel li a:not(.design-action-button) {
  display: inline;
  min-height: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  color: #0f766e !important;
  background: transparent !important;
  box-shadow: none;
  font-weight: 900;
  text-decoration: underline;
}

.guideline-redesign #copy-license-btn {
  border: 1px solid var(--nk-line);
  border-radius: 8px;
  color: var(--character-ink);
  background: #fff;
  box-shadow: none;
  font-weight: 900;
}

.home-section-subheading {
  margin-bottom: 18px;
}

.home-section-subheading span {
  color: var(--character-pink);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.2em;
}

.home-section-subheading h3 {
  margin: 0;
  color: var(--character-ink);
  font-family: var(--nk-display);
  font-size: clamp(26px, 3vw, 38px);
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1.12;
}

/* News / blog redesign */

.news-redesign .glass-panel,
.ai-news-redesign .glass-panel,
.blog-redesign .glass-panel,
.post-redesign .glass-panel {
  position: relative;
  overflow: visible;
  border: 1px solid var(--nk-line);
  border-radius: 8px;
  background: rgba(255,255,255,0.96);
  box-shadow: none;
}

.ai-news-redesign .glass-panel.ai-news-card {
  position: relative;
  overflow: visible;
  border: 1px solid var(--nk-line);
  border-radius: 8px;
  background: rgba(255,255,255,0.96);
  box-shadow: none;
}

.blog-post-card,
.post-nav-link {
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.news-badge {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 0 10px;
  border: 1px solid var(--nk-line);
  border-radius: 999px;
  color: var(--character-ink);
  background: var(--character-yellow);
  font-size: 12px;
  font-weight: 900;
  line-height: 1;
}

.news-date,
.blog-post-card__date {
  color: #6d6680;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.04em;
}

.news-card-title,
.ai-news-card h3,
.blog-section-title,
.blog-post-card__title,
.post-title {
  color: var(--character-ink);
  font-family: var(--nk-display);
  font-weight: 900;
  letter-spacing: 0;
}

.news-card-description {
  color: #3b344b;
  font-weight: 700;
  line-height: 1.9;
}

.news-card-image,
.news-card-embed {
  border: 1px solid var(--nk-line);
  border-radius: 8px;
  box-shadow: none;
}

.ai-news-meta {
  gap: 8px 0;
}

.ai-news-meta > span + span::before {
  content: "·";
  margin: 0 8px;
  color: #9a93a4;
}

.ai-news-redesign .site-page-hero__inner > p {
  max-width: min(780px, 100%);
  overflow-wrap: normal;
}

.ai-news-hero-nowrap {
  white-space: nowrap;
}

.ai-news-timeline,
.ai-news-date-group {
  display: grid;
  gap: 20px;
}

.ai-news-recent-section,
.ai-news-timeline-section {
  display: grid;
  gap: 20px;
}

.ai-news-recent-section + .ai-news-timeline-section {
  margin-top: 34px;
}

.ai-news-section-header {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
}

.ai-news-section-header h2,
.ai-news-section-title {
  margin: 0;
  color: var(--character-ink);
  font-family: var(--nk-display);
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1.2;
}

.ai-news-index-toolbar {
  display: flex;
  justify-content: flex-end;
  margin: 0 0 24px;
}

.ai-news-date-group + .ai-news-date-group {
  margin-top: 14px;
}

.ai-news-card .nike-comment-bubble {
  background: #fff;
  border-color: var(--nk-line);
  border-radius: 8px;
  box-shadow: none;
}

.ai-news-card .nike-comment-bubble::before {
  border-left-color: var(--nk-line);
}

.ai-news-card .nike-comment-bubble::after {
  border-left-color: #fff;
}

.character-page.ai-news-redesign .ai-news-card h3 {
  display: block;
  margin: 0;
  min-height: 0;
  padding: 0;
  padding-bottom: 0;
  border: 0;
  border-bottom: 0 !important;
  color: var(--character-ink) !important;
  background: transparent;
  font-size: clamp(20px, 2.4vw, 30px);
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1.35;
}

.ai-news-daily-promo {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 20px;
  align-items: center;
}

.ai-news-daily-promo h2,
.ai-news-daily-card h2,
.ai-news-daily-detail h2 {
  margin: 0;
  color: var(--character-ink);
  font-family: var(--nk-display);
  font-size: clamp(24px, 3vw, 38px);
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1.28;
}

.ai-news-daily-promo p,
.ai-news-daily-lead {
  margin: 14px 0 0;
  color: #3b344b;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.85;
}

.ai-news-daily-card h2 {
  font-size: clamp(22px, 2.4vw, 32px);
}

.ai-news-daily-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 0 0 24px;
}

.ai-news-daily-toolbar-links {
  display: flex;
  flex: 0 0 auto;
  flex-wrap: wrap;
  gap: 10px;
}

.ai-news-daily-toolbar .ai-news-daily-adjacent {
  flex: 1 1 auto;
  justify-content: flex-end;
  margin: 0;
}

.ai-news-daily-adjacent {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 0 0 24px;
}

.ai-news-daily-detail + .ai-news-daily-adjacent {
  margin: 24px 0 0;
}

.ai-news-date-group + .ai-news-daily-adjacent {
  margin-top: 32px;
}

.ai-news-daily-adjacent .design-action-button {
  min-width: 0;
  max-width: 100%;
  flex-wrap: wrap;
}

.ai-news-daily-adjacent-date {
  color: #5f5870;
  font-size: 12px;
}

.ai-news-daily-adjacent-disabled {
  cursor: default;
  opacity: 0.45;
  pointer-events: none;
}

.ai-news-daily-section {
  margin-top: 34px;
}

.ai-news-daily-section > h3,
.ai-news-daily-body h2,
.ai-news-daily-body h3 {
  margin: 0 0 16px;
  color: var(--character-ink);
  font-family: var(--nk-display);
  font-size: clamp(20px, 2.2vw, 28px);
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1.35;
}

.ai-news-daily-body {
  margin-top: 34px;
}

.ai-news-daily-body p {
  margin: 0 0 18px;
  color: #312a3f;
  font-size: 16px;
  line-height: 1.95;
}

.ai-news-daily-body-list,
.ai-news-daily-keypoints,
.ai-news-daily-source-points {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.ai-news-daily-body-list li,
.ai-news-daily-keypoints li,
.ai-news-daily-source-points li {
  position: relative;
  padding-left: 22px;
  color: #312a3f;
  font-weight: 700;
  line-height: 1.8;
}

.ai-news-daily-body-list li::before,
.ai-news-daily-keypoints li::before,
.ai-news-daily-source-points li::before {
  content: "";
  position: absolute;
  top: 0.72em;
  left: 0;
  width: 9px;
  height: 9px;
  border: 0;
  border-radius: 50%;
  background: var(--nk-pink);
}

.ai-news-daily-sources {
  display: grid;
  gap: 18px;
}

.ai-news-daily-source {
  border: 1px solid var(--nk-line);
  border-radius: 8px;
  background: #fff;
  padding: 18px;
}

.ai-news-daily-source h4 {
  margin: 0;
  color: var(--character-ink);
  font-size: 18px;
  font-weight: 900;
  line-height: 1.45;
}

.ai-news-daily-source-summary {
  margin: 12px 0 14px;
  color: #3b344b;
  font-size: 15px;
  line-height: 1.85;
}

.ai-news-daily-source-note {
  margin-top: 16px;
  border: 2px solid rgba(126, 87, 194, 0.26);
  border-radius: 8px;
  background: #f8f5ff;
  padding: 12px 14px;
}

.ai-news-daily-source-note-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 6px;
  color: #6d43a3;
  font-size: 12px;
  font-weight: 900;
}

.ai-news-daily-source-note p {
  margin: 0;
  color: #3b344b;
  font-size: 14px;
  line-height: 1.75;
}

@media (max-width: 720px) {
  .ai-news-index-toolbar {
    display: grid;
    grid-template-columns: 1fr;
  }

  .ai-news-index-toolbar .design-action-button {
    justify-content: center;
    width: 100%;
  }

  .ai-news-section-header {
    align-items: flex-start;
  }

  .ai-news-daily-promo {
    grid-template-columns: 1fr;
  }

  .ai-news-daily-toolbar {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .ai-news-daily-toolbar-links {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .ai-news-daily-toolbar-links .design-action-button {
    justify-content: center;
    width: 100%;
  }

  .ai-news-daily-adjacent {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ai-news-daily-adjacent .design-action-button {
    justify-content: center;
    width: 100%;
  }

  .ai-news-daily-adjacent-date {
    display: none;
  }
}

@media (max-width: 380px) {
  .ai-news-daily-toolbar-links,
  .ai-news-daily-adjacent {
    grid-template-columns: 1fr;
  }
}

.blog-section-title {
  margin: 0 0 22px;
  padding-bottom: 12px;
  border-bottom: 4px solid var(--character-pink);
  color: var(--character-pink);
  font-size: clamp(28px, 3.8vw, 46px);
  line-height: 1;
  text-shadow: 3px 3px 0 rgba(23, 19, 39, 0.12);
}

.blog-post-card {
  display: block;
  overflow: hidden;
  border: 1px solid var(--nk-line);
  border-radius: 8px;
  color: var(--character-ink);
  background: #fff;
  box-shadow: none;
  text-decoration: none;
}

.article-list .article-item.hidden {
  display: none;
}

.blog-post-card__image {
  aspect-ratio: 1200 / 630;
  overflow: hidden;
  border-bottom: 1px solid var(--nk-line);
  background: #f8f6fb;
}

.blog-post-card__image img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}

.blog-post-card__body {
  padding: 16px;
}

.blog-post-card__title {
  margin: 8px 0 12px;
  font-size: 18px;
  line-height: 1.45;
}

.blog-pagination-button {
  min-width: 34px;
  min-height: 34px;
  border: 1px solid var(--nk-line);
  border-radius: 8px;
  color: var(--character-ink);
  background: #fff;
  box-shadow: none;
  font-weight: 900;
}

.blog-pagination-button--active {
  color: #fff;
  background: var(--character-ink);
}

.post-redesign-container {
  width: min(100% - 40px, 880px);
  max-width: 880px;
}

.post-header-panel,
.post-body-panel {
  padding: 0;
}

.post-toc-panel {
  padding: 18px 20px;
  border: 1px solid var(--nk-line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.82);
}

.post-title {
  margin: 0 0 18px;
  font-size: clamp(26px, 3.6vw, 42px);
  line-height: 1.28;
  overflow-wrap: anywhere;
  word-break: break-word;
  line-break: anywhere;
}

.post-tool-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border: 1px solid var(--nk-line);
  border-radius: 8px;
  color: var(--character-ink);
  background: #fff;
  box-shadow: none;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.post-toc-panel ul,
.post-toc-panel .space-y-1 {
  display: block !important;
  margin: 0;
  padding: 0;
  list-style: none;
}

.post-toc-panel li {
  margin: 8px 0 !important;
  padding: 0;
}

.post-toc-panel .post-toc-item--level-3 {
  margin-left: 18px !important;
}

.post-toc-panel a {
  display: block;
  padding: 4px 0;
  border-left: 0;
  color: #4a3f68 !important;
  background: transparent;
  box-shadow: none;
  text-decoration: none !important;
  line-height: 1.65;
}

.post-toc-item--level-2 > a {
  color: var(--character-ink) !important;
  font-weight: 900;
}

.post-toc-item--level-3 > a {
  color: #63587c !important;
  font-size: 13px;
  font-weight: 800;
}

.post-body-panel {
  color: #2f2a3d;
  font-weight: 600;
}

.post-body-panel strong {
  color: var(--character-ink);
  font-weight: 900;
}

.post-redesign .post-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  max-width: 100%;
  height: auto;
  min-height: 26px;
  white-space: normal;
  line-height: 1.35;
  overflow-wrap: anywhere;
  word-break: break-word;
}

@media (max-width: 640px) {
  .post-redesign-container {
    width: min(100% - 32px, 880px);
  }

  .post-toc-panel {
    padding: 14px 12px;
  }

  .post-title {
    font-size: 25px;
  }
}

.character-page.post-redesign .post-body-panel a:not(.ogp-card):not(.character-reference-download) {
  display: inline;
  min-height: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  color: var(--character-purple);
  background: transparent;
  box-shadow: none;
  font-weight: 900;
  text-decoration: underline;
}

.character-page.post-redesign .post-body-panel .ogp-card {
  display: flex;
  color: inherit;
  font-weight: inherit;
  text-decoration: none !important;
}

.post-body-panel :is(h1, h2, h3) {
  color: var(--character-ink);
  font-family: var(--nk-display);
  letter-spacing: 0;
}

.post-body-panel h2 {
  padding-bottom: 10px;
  border-bottom: 4px solid var(--character-cyan);
}

.post-body-panel img {
  border-radius: 8px;
  box-shadow: none;
}

.post-nav-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 16px;
}

.post-nav-link {
  padding: 16px;
  border: 1px solid var(--nk-line);
  border-radius: 8px;
  color: var(--character-ink);
  background: #fff;
  box-shadow: none;
  text-decoration: none;
}

@media (max-width: 1023px) {
  .site-page-hero__inner {
    min-height: 300px;
  }
}

@media (max-width: 640px) {
  .site-page-hero__inner {
    width: var(--site-shell);
  }

  .site-page-hero__inner h1,
  .post-redesign-hero__label {
    font-size: 42px;
  }

  .site-page-hero__inner {
    min-height: auto;
    padding: 26px 0 28px;
  }

  .site-page-hero__inner > p {
    margin-top: 16px;
    font-size: 15px;
    line-height: 1.75;
    white-space: normal;
    word-break: break-all;
    width: 100%;
    max-width: calc(100vw - 64px);
  }

  .activity-detail-page .site-page-hero__inner > p {
    overflow-wrap: break-word;
    word-break: normal;
  }

  .design-toggle {
    align-items: stretch;
    flex-direction: column;
  }

  .design-toggle-link {
    width: 100%;
  }

  .guideline-redesign .guideline-view-switch {
    align-items: center;
    flex-direction: row;
    gap: 10px;
    max-width: 420px;
    margin-right: auto;
    margin-left: auto;
  }

  .guideline-redesign .guideline-view-switch .design-toggle-link {
    flex: 1 1 0;
    width: auto;
    min-width: 0;
    min-height: 42px;
    padding: 0 10px;
    font-size: 14px;
    line-height: 1.2;
    text-align: center;
    white-space: normal;
  }

  .guideline-redesign .guideline-view-switch .design-toggle-link--active,
  .guideline-redesign .guideline-view-switch .design-toggle-link--active:hover {
    transform: none;
    box-shadow: none;
  }

  .guideline-detail-tabs {
    gap: 8px;
    margin-top: -10px;
    margin-bottom: 22px;
  }

  .guideline-detail-tabs__label {
    flex: 0 0 100%;
    text-align: center;
  }

  .guideline-detail-tab {
    flex: 1 1 0;
    max-width: 176px;
    min-height: 34px;
    padding: 0 9px;
    font-size: 13px;
  }

  .guideline-detail-tab--active {
    transform: none;
    box-shadow: none;
  }

  .guideline-copy-row {
    justify-content: stretch;
  }

  .guideline-copy-button {
    width: 100%;
  }
}

.tiktok-integration-page .glass-panel h1,
.tiktok-integration-page .glass-panel h2,
.tiktok-integration-page .glass-panel h3 {
  background: none !important;
  padding-right: 0;
  padding-left: 0;
}

.tiktok-integration-page .glass-panel h1::before,
.tiktok-integration-page .glass-panel h1::after,
.tiktok-integration-page .glass-panel h2::before,
.tiktok-integration-page .glass-panel h2::after,
.tiktok-integration-page .glass-panel h3::before,
.tiktok-integration-page .glass-panel h3::after {
  content: none !important;
  display: none !important;
}

.tiktok-review-card {
  border: 1px solid var(--nk-line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.92);
}

.tiktok-review-card--soft {
  border-width: 2px;
  background: rgba(255, 255, 255, 0.86);
}

.tiktok-review-field {
  border: 1px solid var(--nk-line);
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.92);
}

.tiktok-review-action-note {
  border-left: 4px solid var(--nk-pink);
  color: var(--character-ink);
  font-weight: 700;
  line-height: 1.6;
  padding: 10px 0 10px 14px;
}

/* Character profiles: unified system */

.character-detail-main {
  padding-top: 0;
}

.character-profile-layout {
  grid-template-columns: minmax(300px, 0.72fr) minmax(0, 1.28fr);
  gap: 0;
  padding: 16px;
  border: 1px solid var(--nk-line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.92);
}

.character-profile-card,
.character-description-card {
  border: 0;
  border-radius: 12px;
}

.character-profile-card {
  padding: 32px;
  background: color-mix(in srgb, var(--char-color) 10%, white);
}

.character-description-card {
  padding: 32px 38px;
  background: transparent;
}

.character-profile-data {
  border: 0;
  border-radius: 0;
}

.character-profile-data div {
  grid-template-columns: 100px minmax(0, 1fr);
  padding: 13px 0;
  border-bottom: 1px solid color-mix(in srgb, var(--char-color) 20%, white);
  background: transparent;
}

.character-profile-data div:last-child {
  border-bottom: 0;
}

.character-description-body p {
  max-width: 720px;
  color: #4d455c;
  font-weight: 560;
}

.character-reference-panel {
  display: grid;
  grid-template-columns: minmax(240px, 0.62fr) minmax(0, 1.38fr);
  gap: 38px;
  align-items: center;
  padding: 42px;
  border: 0;
  border-radius: 16px;
  background: color-mix(in srgb, var(--char-color) 8%, white);
}

.character-reference-panel__copy p {
  margin: 0 0 26px;
  color: #554d62;
  font-size: 14px;
  font-weight: 650;
  line-height: 1.9;
}

.character-reference-panel__visual {
  display: grid;
  min-height: 340px;
  place-items: center;
  overflow: hidden;
  padding: 16px;
  border: 1px solid color-mix(in srgb, var(--char-color) 20%, white);
  border-radius: 12px;
  background: #fff;
}

.character-reference-panel__visual > img {
  width: 100%;
  max-height: 440px;
  -o-object-fit: contain;
     object-fit: contain;
}

.character-reference-download {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 0 17px;
  border: 1px solid var(--nk-line);
  border-radius: 8px;
  color: var(--character-ink);
  background: var(--character-yellow);
  box-shadow: none;
  font-size: 13px;
  font-weight: 900;
  text-decoration: none;
}

.character-work-section {
  padding: 46px 0 8px;
  scroll-margin-top: 120px;
}

.character-work-section > .character-section-heading {
  margin-bottom: 28px;
  padding-left: 4px;
}

.character-work-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
}

.character-work-grid--split {
  grid-template-columns: minmax(300px, 0.72fr) minmax(0, 1.28fr);
  align-items: start;
}

.character-chapter {
  overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--char-color) 30%, white);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.9);
}

.character-chapter__heading {
  padding: 25px 28px 22px;
  border-top: 7px solid var(--char-color);
  background: color-mix(in srgb, var(--char-color) 5%, white);
}

.character-chapter__heading > span {
  color: var(--char-color);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.18em;
}

.character-chapter__heading h2 {
  margin: 0;
  color: var(--character-ink);
  font-family: var(--nk-display);
  font-size: 26px;
  font-weight: 900;
  line-height: 1.25;
}

.character-chapter__heading p {
  margin: 7px 0 0;
  color: #6a6275;
  font-size: 12px;
  font-weight: 700;
}

.character-chapter__body {
  padding: 26px 28px 30px;
}

.character-history-list {
  gap: 14px;
  margin: 0;
  padding: 0;
}

.character-history-list::before,
.character-history-dot {
  content: none;
  display: none;
}

.character-history-item {
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: auto auto auto;
  min-height: 0;
  padding: 18px;
  border: 1px solid color-mix(in srgb, var(--char-color) 22%, white);
  border-radius: 10px;
  background: color-mix(in srgb, var(--char-color) 4%, white);
}

.character-history-item::before {
  content: none;
}

.character-history-date,
.character-history-label,
.character-history-description {
  grid-column: 1;
  position: static;
}

.character-history-date {
  grid-row: 1;
  min-height: 26px;
  margin: 0 0 10px;
  padding: 0 9px;
  justify-self: start;
  border: 0;
  border-radius: 999px;
  background: var(--character-yellow);
  font-size: 10px;
}

.character-history-label {
  grid-row: 2;
  padding: 0;
  font-size: 17px;
}

.character-history-description {
  grid-row: 3;
  margin: 7px 0 0;
  padding: 0;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.75;
}

.character-product-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.character-product-card {
  display: flex;
  min-height: 220px;
  flex-direction: column;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: 10px;
  background: color-mix(in srgb, var(--char-color) 5%, white);
}

.character-product-card__thumbnail {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-bottom: 1px solid color-mix(in srgb, var(--char-color) 24%, white);
  background: color-mix(in srgb, var(--char-color) 12%, white);
}

.character-product-card__thumbnail img {
  display: block;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}

.character-product-card__thumbnail--contain img {
  -o-object-fit: contain;
     object-fit: contain;
  padding: 24px;
}

.character-product-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 20px;
}

.character-product-card__heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.character-product-card__heading h3 {
  margin: 0;
  color: var(--character-ink);
  font-size: 17px;
  font-weight: 900;
  line-height: 1.4;
}

.character-product-card__heading > span {
  flex: 0 0 auto;
  padding: 4px 8px;
  border-radius: 999px;
  color: var(--character-ink);
  background: color-mix(in srgb, var(--char-color) 24%, white);
  font-size: 10px;
  font-weight: 900;
}

.character-product-card__body > p {
  margin: 12px 0 18px;
  color: #5a5266;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.75;
}

.character-product-card__links {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: auto;
}

.character-page .character-product-card__links a {
  display: inline-flex;
  min-height: 30px;
  align-items: center;
  gap: 5px;
  padding: 0 10px;
  border: 1px solid color-mix(in srgb, var(--char-color) 26%, white);
  border-radius: 999px;
  color: #51495f;
  background: #fff;
  box-shadow: none;
  font-size: 10px;
  text-decoration: none;
}

.character-feature-panel {
  margin-top: 18px;
  padding: 52px;
  border-radius: 18px;
}

.character-additional-sections > .character-chapter {
  margin-top: 4px;
}

.developer-activities--embedded .developer-activities__list {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.developer-activities--embedded .developer-activity-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  border: 1px solid var(--nk-line);
  border-radius: 10px;
  background: color-mix(in srgb, var(--char-color) 5%, white);
}

.developer-activities--embedded .developer-activity-card__meta {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 17px 18px;
  border-right: 0;
  border-bottom: 1px solid color-mix(in srgb, var(--char-color) 18%, white);
}

.developer-activities--embedded .developer-activity-card__body {
  padding: 19px 18px 22px;
}

.developer-activities--embedded .developer-activity-card__body h3 {
  padding: 0;
  font-size: 16px;
}

.character-connect-panel {
  position: relative;
  margin-top: 18px;
  padding: 46px;
  border: 1px solid var(--nk-line);
  border-radius: 16px;
  background: #fff;
}

.character-connect-panel__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.character-connect-panel__grid > section {
  min-width: 0;
  padding: 28px;
  border-radius: 12px;
  background: color-mix(in srgb, var(--char-color) 6%, white);
}

.character-connect-panel__grid > section > h3 {
  margin: 0 0 18px;
  color: var(--character-ink);
  font-size: 20px;
  font-weight: 900;
  letter-spacing: 0;
}

.character-connect-panel__grid--ai {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.character-connect-panel__wide {
  grid-column: 1 / -1;
}

.character-connect-panel__wide .character-content-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.8fr);
  gap: 26px;
  align-items: start;
}

.character-nav-section {
  padding-top: 16px;
  border-top: 1px solid var(--nk-line);
  scroll-margin-top: 120px;
}

@media (max-width: 1023px) {
  .character-work-grid--split,
  .character-reference-panel,
  .character-connect-panel__wide .character-content-section {
    grid-template-columns: 1fr;
  }

  .character-product-grid,
  .developer-activities--embedded .developer-activities__list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .character-reference-panel__visual {
    min-height: 280px;
  }
}

@media (max-width: 640px) {
  .character-profile-layout {
    grid-template-columns: 1fr;
    padding: 8px;
  }

  .character-profile-card,
  .character-description-card {
    padding: 25px 22px;
  }

  .character-reference-panel,
  .character-connect-panel {
    padding: 28px 22px;
  }

  .character-reference-panel {
    gap: 24px;
  }

  .character-reference-panel__visual {
    min-height: 220px;
    padding: 10px;
  }

  .character-work-section {
    padding-top: 34px;
  }

  .character-work-grid--split,
  .character-product-grid,
  .developer-activities--embedded .developer-activities__list,
  .character-connect-panel__grid,
  .character-connect-panel__grid--ai {
    grid-template-columns: 1fr;
  }

  .character-chapter__heading,
  .character-chapter__body,
  .character-connect-panel__grid > section {
    padding: 22px 20px;
  }

  .character-product-card {
    min-height: 0;
  }

  .character-connect-panel__wide {
    grid-column: auto;
  }
}

/* Frame tokens and component hierarchy */

.character-detail-page {
  --profile-frame: 1px solid var(--nk-line);
  --profile-radius: 24px;
  --profile-item-radius: 16px;
  --profile-section-gap: 40px;
}

#profile,
#overview,
#reference,
#explore,
#works,
#timeline,
#connect,
#characters {
  scroll-margin-top: 150px;
}

.character-overview-sections,
.character-additional-sections {
  display: grid;
  gap: var(--profile-section-gap);
  margin-top: var(--profile-section-gap);
}

.character-detail-page .character-profile-layout,
.character-detail-page .character-reference-panel,
.character-detail-page .character-feature-panel,
.character-detail-page .character-work-section,
.character-detail-page .character-chapter,
.character-detail-page .character-connect-panel {
  overflow: hidden;
  border: var(--profile-frame);
  border-radius: var(--profile-radius);
  background: #fff;
  box-shadow: none;
}

.character-detail-page .character-profile-card::after,
.character-detail-page .character-description-card::after,
.character-detail-page .glass-panel::after,
.character-detail-page .glass-panel-strong::after {
  content: none;
  display: none;
}

.character-detail-page .character-profile-layout {
  grid-template-columns: minmax(300px, 0.72fr) minmax(0, 1.28fr);
  gap: 0;
  padding: 0;
}

.character-detail-page .character-profile-card,
.character-detail-page .character-description-card {
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.character-detail-page .character-profile-card {
  padding: 38px;
  background: color-mix(in srgb, var(--char-color) 11%, white);
}

.character-detail-page .character-description-card {
  padding: 38px 42px;
  background: #fff;
}

.character-detail-page .character-reference-panel,
.character-detail-page .character-feature-panel,
.character-detail-page .character-work-section,
.character-detail-page .character-connect-panel {
  padding: 40px;
}

.character-detail-page .character-reference-panel {
  grid-template-columns: minmax(250px, 0.62fr) minmax(0, 1.38fr);
  gap: 40px;
  background: #fff;
}

.character-reference-panel__visual {
  overflow: hidden;
  border-radius: var(--profile-item-radius);
  background: color-mix(in srgb, var(--char-color) 7%, white);
}

.character-detail-page .character-chapter {
  padding: 0;
}

.character-chapter__heading {
  padding: 32px 36px 26px;
  background: #fff;
}

.character-chapter__body {
  padding: 30px 36px 36px;
  border-top: 1px solid color-mix(in srgb, var(--char-color) 24%, white);
  background: color-mix(in srgb, var(--char-color) 4%, white);
}

.character-work-section > .character-section-heading {
  margin-bottom: 28px;
}

.character-work-grid {
  gap: 36px;
}

.character-work-grid--split {
  grid-template-columns: minmax(260px, 0.7fr) minmax(0, 1.3fr);
}

.character-work-grid--stacked {
  grid-template-columns: 1fr;
}

.character-work-grid--products-first .character-work-column--products {
  order: -1;
}

.character-work-grid--stacked .character-work-column + .character-work-column {
  padding-top: 34px;
  padding-left: 0;
  border-top: 1px solid color-mix(in srgb, var(--char-color) 24%, white);
  border-left: 0;
}

.character-work-grid--stacked .character-product-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.character-work-grid--stacked .character-history-list {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.character-work-column {
  min-width: 0;
}

.character-work-column + .character-work-column {
  padding-left: 36px;
  border-left: 1px solid color-mix(in srgb, var(--char-color) 24%, white);
}

.character-work-column__heading {
  min-height: 0;
  margin-bottom: 20px;
}

.character-work-column__heading span {
  display: block;
  margin-bottom: 7px;
  color: var(--char-color);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.18em;
}

.character-work-column__heading h3 {
  margin: 0;
  color: var(--character-ink);
  font-size: 24px;
  font-weight: 900;
}

.character-work-column__heading p {
  margin: 7px 0 0;
  color: #746d7c;
  font-size: 13px;
  font-weight: 700;
}

.character-history-item,
.character-product-card,
.developer-activities--embedded .developer-activity-card,
.character-connect-panel__grid > section,
.character-action-grid > a,
.character-proof-grid > div,
.character-subcard {
  border: 1px solid var(--nk-line);
  border-radius: var(--profile-item-radius);
  background: color-mix(in srgb, var(--char-color) 6%, white);
  box-shadow: none;
}

.developer-activities--embedded .developer-activity-card {
  border: 1px solid var(--nk-line);
  background: #fff;
}

.developer-activities--embedded .developer-activity-card__meta {
  border-bottom-color: var(--nk-line);
  background: color-mix(in srgb, var(--char-color) 8%, white);
}

.character-product-card {
  min-height: 0;
}

.character-proof-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.character-proof-grid > div {
  padding: 18px;
  text-align: left;
}

.character-action-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 28px;
}

.character-action-grid > a {
  display: flex;
  min-height: 148px;
  flex-direction: column;
  padding: 22px;
  color: var(--character-ink);
  text-decoration: none;
  transition: background 160ms ease, transform 160ms ease;
}

.character-action-grid span {
  color: var(--char-color);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.14em;
}

.character-action-grid strong {
  margin-top: 0;
  font-size: 18px;
  line-height: 1.35;
}

.character-action-grid small {
  margin-top: auto;
  color: #746d7c;
  font-size: 12px;
  font-weight: 700;
}

.character-connect-panel__grid {
  gap: 18px;
}

.character-connect-panel__grid > section {
  padding: 28px;
}

.character-nav-item {
  border: var(--profile-frame);
  border-radius: var(--profile-radius);
  box-shadow: none;
}

.developer-activities--embedded {
  padding: 0;
}

.developer-activities--embedded .developer-activities__list {
  grid-template-columns: 1fr;
  gap: 14px;
  margin: 0;
}

.developer-activities--embedded .developer-activity-card {
  display: grid;
  grid-template-columns: 168px minmax(0, 1fr);
  min-width: 0;
  overflow: hidden;
  padding: 0;
  border: 1px solid var(--nk-line);
  border-radius: var(--profile-item-radius);
  background: #fff;
  box-shadow: none;
}

.developer-activities--embedded .developer-activity-card::after {
  content: none;
  display: none;
}

.developer-activities--embedded .developer-activity-card__meta {
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  padding: 22px 20px;
  border-right: 1px solid var(--nk-line);
  border-bottom: 0;
  background: color-mix(in srgb, var(--char-color) 10%, white);
}

.developer-activities--embedded .developer-activity-card__body {
  padding: 22px 24px 24px;
}

.developer-activities--embedded .developer-activity-card__body h3 {
  padding-right: 0;
  font-size: 18px;
}

@media (max-width: 1023px) {
  .character-detail-page .character-profile-layout,
  .character-detail-page .character-reference-panel,
  .character-work-grid--split {
    grid-template-columns: 1fr;
  }

  .character-work-column + .character-work-column {
    padding-top: 32px;
    padding-left: 0;
    border-top: 1px solid color-mix(in srgb, var(--char-color) 24%, white);
    border-left: 0;
  }

  .character-work-grid--stacked .character-product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .character-detail-page {
    --profile-section-gap: 22px;
  }

  .character-detail-page .character-profile-layout {
    padding: 0;
  }

  .character-detail-page .character-profile-card,
  .character-detail-page .character-description-card,
  .character-detail-page .character-reference-panel,
  .character-detail-page .character-feature-panel,
  .character-detail-page .character-work-section,
  .character-detail-page .character-connect-panel {
    padding: 26px 22px;
  }

  .character-chapter__heading,
  .character-chapter__body {
    padding: 24px 22px;
  }

  .character-action-grid,
  .character-proof-grid {
    grid-template-columns: 1fr;
  }

  .character-action-grid > a {
    min-height: 112px;
  }

  .character-work-grid--stacked .character-product-grid,
  .character-work-grid--stacked .character-history-list {
    grid-template-columns: 1fr;
  }

  .developer-activities--embedded .developer-activity-card {
    grid-template-columns: 1fr;
  }

  .developer-activities--embedded .developer-activity-card__meta {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    border-right: 0;
    border-bottom: 1px solid var(--nk-line);
  }
}

/* AI Nike-chan: chronological timeline */

.character-detail-page--ainike .character-history-list {
  position: relative;
  display: grid;
  gap: 0;
  padding: 4px 0;
}

.character-detail-page--ainike .character-history-list::before {
  content: "";
  position: absolute;
  top: 24px;
  bottom: 24px;
  left: 162px;
  display: block;
  width: 4px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--char-color) 62%, white);
}

.character-detail-page--ainike .character-history-item {
  position: relative;
  display: grid;
  grid-template-columns: 140px 48px minmax(0, 1fr);
  grid-template-rows: auto auto;
  min-height: 0;
  padding: 0 0 22px;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.character-detail-page--ainike .character-history-item::before {
  content: "";
  position: static;
  inset: auto;
  z-index: 2;
  grid-column: 2;
  grid-row: 1 / 3;
  display: block;
  width: 18px;
  height: 18px;
  align-self: start;
  justify-self: center;
  margin-top: 20px;
  border: 4px solid #fff;
  border-radius: 50%;
  background: var(--char-color);
  box-shadow: 0 0 0 2px var(--character-ink);
}

.character-detail-page--ainike .character-history-item::after {
  content: "";
  z-index: 0;
  grid-column: 3;
  grid-row: 1 / 3;
  border-radius: var(--profile-item-radius);
  background: color-mix(in srgb, var(--char-color) 10%, white);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--char-color) 20%, white);
}

.character-detail-page--ainike .character-history-date {
  z-index: 1;
  grid-column: 1;
  grid-row: 1 / 3;
  align-self: start;
  justify-self: end;
  margin: 16px 14px 0 0;
}

.character-detail-page--ainike .character-history-label {
  z-index: 1;
  grid-column: 3;
  grid-row: 1;
  padding: 19px 24px 0;
}

.character-detail-page--ainike .character-history-description {
  z-index: 1;
  grid-column: 3;
  grid-row: 2;
  margin: 0;
  padding: 8px 24px 20px;
}

@media (max-width: 640px) {
  .character-detail-page--ainike .character-history-list::before {
    left: 9px;
  }

  .character-detail-page--ainike .character-history-item {
    grid-template-columns: 28px minmax(0, 1fr);
    grid-template-rows: auto auto auto;
    padding-bottom: 18px;
  }

  .character-detail-page--ainike .character-history-item::before {
    grid-column: 1;
    grid-row: 1 / 4;
    width: 16px;
    height: 16px;
    justify-self: start;
    margin-top: 21px;
  }

  .character-detail-page--ainike .character-history-item::after {
    grid-column: 2;
    grid-row: 1 / 4;
  }

  .character-detail-page--ainike .character-history-date {
    grid-column: 2;
    grid-row: 1;
    justify-self: start;
    margin: 16px 20px 0;
  }

  .character-detail-page--ainike .character-history-label {
    grid-column: 2;
    grid-row: 2;
    padding: 12px 20px 0;
  }

  .character-detail-page--ainike .character-history-description {
    grid-column: 2;
    grid-row: 3;
    padding: 8px 20px 20px;
  }
}

/* Developer: use the same dot-and-card timeline language as AI Nike-chan. */

.character-detail-page--nike .character-work-column--history .character-history-list::before {
  top: 24px;
  bottom: 24px;
  left: 22px;
  width: 4px;
  background: color-mix(in srgb, var(--char-color) 62%, white);
}

.character-detail-page--nike .character-work-column--history .character-history-item,
.character-detail-page--nike .character-work-column--history .character-history-item--no-date {
  grid-template-columns: 48px minmax(0, 1fr);
  grid-template-rows: auto auto;
  padding: 0 0 22px;
  border: 0;
}

.character-detail-page--nike .character-work-column--history .character-history-item::before,
.character-detail-page--nike .character-work-column--history .character-history-item--no-date::before {
  content: "";
  grid-column: 1;
  grid-row: 1 / 3;
  width: 18px;
  height: 18px;
  justify-self: center;
  margin-top: 20px;
  border: 4px solid #fff;
  background: var(--char-color);
  box-shadow: 0 0 0 2px var(--character-ink);
}

.character-detail-page--nike .character-work-column--history .character-history-item::after {
  content: "";
  z-index: 0;
  grid-column: 2;
  grid-row: 1 / 3;
  border-radius: var(--profile-item-radius);
  background: color-mix(in srgb, var(--char-color) 10%, white);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--char-color) 20%, white);
}

.character-detail-page--nike .character-work-column--history .character-history-item .character-history-label {
  grid-column: 2;
  grid-row: 1;
  padding: 19px 24px 0;
  background: transparent;
}

.character-detail-page--nike .character-work-column--history .character-history-item .character-history-description {
  grid-column: 2;
  grid-row: 2;
  padding: 8px 24px 20px;
  background: transparent;
}

@media (max-width: 640px) {
  .character-detail-page--nike .character-work-column--history .character-history-list::before {
    left: 9px;
  }

  .character-detail-page--nike .character-work-column--history .character-history-item,
  .character-detail-page--nike .character-work-column--history .character-history-item--no-date {
    grid-template-columns: 28px minmax(0, 1fr);
    grid-template-rows: auto auto;
    padding-bottom: 18px;
  }

  .character-detail-page--nike .character-work-column--history .character-history-item::before,
  .character-detail-page--nike .character-work-column--history .character-history-item--no-date::before {
    grid-column: 1;
    grid-row: 1 / 3;
    width: 16px;
    height: 16px;
    justify-self: start;
    margin-top: 21px;
  }

  .character-detail-page--nike .character-work-column--history .character-history-item::after {
    grid-column: 2;
    grid-row: 1 / 3;
  }

  .character-detail-page--nike .character-work-column--history .character-history-item .character-history-label {
    grid-column: 2;
    grid-row: 1;
    padding: 19px 20px 0;
  }

  .character-detail-page--nike .character-work-column--history .character-history-item .character-history-description {
    grid-column: 2;
    grid-row: 2;
    padding: 8px 20px 20px;
  }
}

/* Character profile local navigation */

/* Character profile action feedback */

.character-page .developer-activity-card__links a:not(.character-reference-download),
.character-page .developer-activities__all a:not(.character-reference-download),
.character-reference-download {
  border: 1px solid var(--nk-line);
  border-radius: 8px;
  color: var(--character-ink);
  box-shadow: none;
  text-decoration: none;
  transition: transform 150ms ease, box-shadow 150ms ease, background-color 150ms ease;
}

.character-page .developer-activity-card__links a:not(.character-reference-download) {
  background: #fff;
}

.character-page .developer-activity-card__links .developer-activity-card__slides-link:not(.character-reference-download) {
  background: var(--character-yellow);
}

.character-page .developer-activities__all a:not(.character-reference-download) {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 16px;
  background: var(--character-yellow);
  font-size: 13px;
  font-weight: 900;
}

.character-page .developer-activity-card__links a:not(.character-reference-download):focus-visible,
.character-page .developer-activities__all a:not(.character-reference-download):focus-visible,
.character-reference-download:focus-visible {
  outline: 3px solid var(--char-color, var(--character-purple));
  outline-offset: 4px;
}

@media (prefers-reduced-motion: reduce) {
  .character-page .developer-activity-card__links a:not(.character-reference-download),
  .character-page .developer-activities__all a:not(.character-reference-download),
  .character-reference-download {
    transition: none;
  }
}

/* 2層リデザインのスタイル（共通トークン・ヘッダー・フッター・トップページ） */

/*
 * 2層リデザイン
 * - キャラクター層（トップ・キャラクター系）: 絵と演出を主役にする
 * - 読み物層（記事・実績系）: 白地で静かに読ませる
 * 新しいクラスは nk- で始める。旧デザインは legacy.css に残っている。
 */

:root {
  --nk-night: #1e1640;
  --nk-violet: #5a4c97;
  --nk-lilac: #efecfa;
  --nk-tint: #f1eefa;
  --nk-paper: #ffffff;
  --nk-ink: #221a45;
  --nk-ink-soft: #5d5780;
  --nk-pink: #f77fa2;
  --nk-pink-pale: #fcd6e1;
  --nk-cyan: #35c4dc;
  --nk-cyan-pale: #d9f4f9;
  --nk-line: #dcd7ee;
  --nk-on-night-soft: #b9b2dc;
  --nk-display: 'Zen Maru Gothic', 'Hiragino Maru Gothic ProN', 'Hiragino Kaku Gothic ProN', sans-serif;
  --nk-latin: 'Unbounded', 'Zen Maru Gothic', sans-serif;
  --nk-body: 'Zen Kaku Gothic New', 'Hiragino Kaku Gothic ProN', 'Noto Sans JP', sans-serif;
  --nk-ease: cubic-bezier(0.2, 0.8, 0.2, 1);
  --nk-header-h: 72px;
}

/* 旧デザインより左右の余白を広げ、ヘッダー・本文・フッターの幅をそろえる */

:root {
  --site-shell: min(1180px, calc(100vw - 48px));
}

@media (max-width: 520px) {
  :root {
    --site-shell: calc(100vw - 40px);
  }
}

body {
  font-family: var(--nk-body);
}

/* ---------- ヘッダー（全ページ共通） ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--nk-line);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  transition: background-color 0.3s, border-color 0.3s;
}

.site-header__inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: var(--site-shell);
  min-height: var(--nk-header-h);
  margin: 0 auto;
}

.site-header__logo {
  display: inline-flex;
  align-items: center;
}

.site-header__logo img {
  display: block;
  width: auto;
  height: 60px;
  transition: opacity 0.3s;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.site-nav-link,
.site-header__lang,
.site-header__mobile-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 14px;
  border-radius: 999px;
  color: var(--nk-ink);
  font-family: var(--nk-latin);
  font-size: 13px;
  font-weight: 500;
  line-height: 1;
  text-decoration: none;
  transition: background-color 0.2s, color 0.2s;
}

.site-nav-link--button {
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
  cursor: pointer;
}

.site-nav-link:hover,
.site-nav-link[aria-expanded='true'],
.site-header__lang:hover,
.site-header__mobile-button:hover,
.site-nav-link--active {
  color: #fff;
  background: var(--nk-ink);
}

.site-header__lang,
.site-header__mobile-button {
  gap: 6px;
  border: 1.5px solid var(--nk-ink);
  background: #fff;
}

.site-header__lang {
  margin-left: 8px;
}

.site-nav-menu {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  z-index: 60;
  min-width: 220px;
  padding: 8px;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 18px 40px rgba(34, 26, 69, 0.16);
}

.site-nav-menu a {
  display: block;
  padding: 11px 14px;
  border-radius: 12px;
  color: var(--nk-ink);
  font-family: var(--nk-display);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: background-color 0.2s;
}

.site-nav-menu a:hover,
.site-nav-menu a.site-nav-link--active {
  color: var(--nk-ink);
  background: var(--nk-lilac);
}

.site-header__mobile-actions {
  display: none;
  align-items: center;
  gap: 8px;
}

.site-mobile-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  left: 0;
  max-height: calc(100dvh - 84px);
}

.site-mobile-menu__panel {
  max-height: calc(100dvh - 96px);
  padding: 8px;
  overflow-x: hidden;
  overflow-y: auto;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 18px 40px rgba(34, 26, 69, 0.2);
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
}

.site-mobile-menu__panel a {
  display: flex;
  align-items: center;
  min-height: 48px;
  padding: 0 16px;
  border-radius: 12px;
  color: var(--nk-ink);
  font-family: var(--nk-display);
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
}

.site-mobile-menu__panel a.site-nav-link--active {
  color: var(--nk-ink);
  background: var(--nk-lilac);
}

html.site-mobile-menu-open,
body.site-mobile-menu-open {
  overflow: hidden;
  overscroll-behavior: none;
}

body.site-mobile-menu-open .site-header {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  width: 100%;
  border-bottom-color: var(--nk-line);
  background: #fff;
}

/* トップページ: ヒーローに重ね、スクロール後に白い帯へ変える */

.site-header--overlay {
  position: fixed;
  right: 0;
  left: 0;
}

.site-header--overlay:not(.is-stuck) {
  border-bottom-color: transparent;
  background: transparent;
  backdrop-filter: none;
}

.site-header--overlay:not(.is-stuck) .site-header__logo img {
  opacity: 0;
}

body.site-mobile-menu-open .site-header--overlay .site-header__logo img {
  opacity: 1;
}

@media (max-width: 1120px) {
  .site-nav {
    display: none;
  }

  .site-header__mobile-actions {
    display: flex;
  }
}

@media (max-width: 520px) {
  :root {
    --nk-header-h: 64px;
  }

  .site-header__inner {
    gap: 10px;
  }

  .site-header__logo img {
    height: 50px;
  }
}

/* ---------- フッター（全ページ共通） ---------- */

.site-footer {
  padding: 88px 0 36px;
  color: #fff;
  background: var(--nk-night);
  font-size: 14px;
  line-height: 1.9;
}

.site-footer__top {
  display: grid;
  grid-template-columns: 1.1fr 1fr 1fr;
  gap: 56px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.site-footer__logo {
  width: 260px;
  height: auto;
}

.site-footer__lead {
  max-width: 26em;
  margin-top: 20px;
  color: #d6d1ee;
}

.site-footer__heading {
  margin-bottom: 16px;
  color: var(--nk-on-night-soft);
  font-family: var(--nk-latin);
  font-size: 13px;
  font-weight: 500;
}

.site-footer__list a {
  display: inline-block;
  padding: 5px 0;
  color: #fff;
  background: linear-gradient(#fff, #fff) no-repeat 0 100% / 0 1.5px;
  font-family: var(--nk-display);
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
  transition: background-size 0.3s var(--nk-ease);
}

.site-footer__list a:hover {
  background-size: 100% 1.5px;
}

.site-footer__list small {
  margin-left: 10px;
  color: var(--nk-on-night-soft);
  font-size: 12px;
}

.site-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px 24px;
  padding-top: 26px;
  color: var(--nk-on-night-soft);
  font-size: 13px;
}

.site-footer__bottom nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
}

.site-footer__bottom a {
  color: inherit;
  text-decoration: none;
}

.site-footer__bottom a:hover {
  color: #fff;
}

@media (max-width: 860px) {
  .site-footer {
    padding-top: 64px;
  }

  .site-footer__top {
    grid-template-columns: 1fr;
    gap: 36px;
  }
}

/* ---------- 共通部品 ---------- */

.nk-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  isolation: isolate;
  overflow: hidden;
  padding: 14px 28px;
  border-radius: 999px;
  color: #fff;
  background: var(--nk-ink);
  font-family: var(--nk-display);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.4;
  text-decoration: none;
  transition: color 0.3s;
}

.nk-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  background: var(--nk-pink);
  translate: -101% 0;
  transition: translate 0.35s var(--nk-ease);
}

.nk-btn:hover::before {
  translate: 0 0;
}

.nk-btn--ghost {
  color: var(--nk-ink);
  background: transparent;
  box-shadow: inset 0 0 0 1.5px var(--nk-ink);
}

.nk-btn--ghost:hover {
  color: #fff;
}

.nk-btn--ghost::before {
  background: var(--nk-ink);
}

.nk-btn--light {
  color: var(--nk-ink);
  background: #fff;
}

.nk-btn svg {
  width: 16px;
  height: 16px;
}

.nk-sec {
  position: relative;
  padding: 120px 0;
  color: var(--nk-ink);
  font-size: 16px;
  line-height: 1.9;
}

.nk-sec-title {
  font-family: var(--nk-latin);
  font-size: clamp(44px, 6.4vw, 92px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.02em;
}

.nk-sec-sub {
  margin-top: 14px;
  color: var(--nk-ink-soft);
  font-family: var(--nk-display);
  font-size: 15px;
  font-weight: 700;
}

.nk-sec-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
}

.nk-home :focus-visible,
.site-header :focus-visible,
.site-footer :focus-visible {
  outline: 3px solid var(--nk-cyan);
  outline-offset: 3px;
}

@keyframes nk-drift {
  from {
    transform: translate(0, 0) rotate(0deg);
  }

  to {
    transform: translate(2.5vw, 3vh) rotate(8deg);
  }
}

@keyframes nk-marquee {
  to {
    transform: translateX(-50%);
  }
}

@keyframes nk-rise {
  to {
    opacity: 1;
    transform: none;
  }
}

/* ---------- トップ: オープニング ---------- */

.nk-opening {
  position: fixed;
  inset: 0;
  z-index: 100;
  pointer-events: none;
}

.nk-opening i {
  position: absolute;
  inset: 0;
  clip-path: circle(150% at 50% 50%);
}

.nk-opening i:nth-child(1) {
  background: var(--nk-cyan);
  animation: nk-wipe 1s var(--nk-ease) 1.35s forwards;
}

.nk-opening i:nth-child(2) {
  background: var(--nk-pink);
  animation: nk-wipe 1s var(--nk-ease) 1.2s forwards;
}

.nk-opening i:nth-child(3) {
  background: var(--nk-violet);
  animation: nk-wipe 1s var(--nk-ease) 1.05s forwards;
}

.nk-opening img {
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(420px, 70vw);
  height: auto;
  translate: -50% -50%;
  animation: nk-logo-pop 1.25s var(--nk-ease) forwards;
}

@keyframes nk-wipe {
  to {
    clip-path: circle(0% at 50% 50%);
  }
}

@keyframes nk-logo-pop {
  0% {
    opacity: 0;
    scale: 0.7;
  }

  35%,
  80% {
    opacity: 1;
    scale: 1;
  }

  100% {
    opacity: 0;
    scale: 1.25;
  }
}

/* ---------- トップ: ヒーロー ---------- */

.nk-hero {
  --nk-hero-delay: 1.7s;
  --nk-hero-pad: max(24px, calc((100vw - 1180px) / 2));
  position: relative;
  height: 100svh;
  min-height: 640px;
  overflow: hidden;
  color: var(--nk-ink);
  background: var(--nk-cyan-pale);
}

/* 同じセッションで2回目以降はオープニングを省く */

.nk-skip-opening .nk-opening {
  display: none;
}

.nk-skip-opening .nk-hero {
  --nk-hero-delay: 0.1s;
}

.nk-blob {
  position: absolute;
  fill: var(--nk-pink-pale);
  animation: nk-drift 18s ease-in-out infinite alternate;
}

.nk-blob--a {
  top: -12vh;
  left: -8vw;
  width: 46vw;
}

.nk-blob--b {
  top: 8vh;
  right: -6vw;
  width: 38vw;
  animation-duration: 23s;
  animation-direction: alternate-reverse;
}

.nk-blob--c {
  bottom: -18vh;
  left: 22vw;
  width: 30vw;
  animation-duration: 20s;
}

.nk-blob--d {
  right: 14vw;
  bottom: -10vh;
  width: 22vw;
  fill: var(--nk-pink);
  opacity: 0.85;
  animation-duration: 26s;
}

.nk-blob--e {
  top: 14vh;
  left: 30vw;
  width: 12vw;
  fill: #fff;
  opacity: 0.7;
  animation-duration: 15s;
}

.nk-hero__marquee {
  position: absolute;
  top: 50%;
  left: 0;
  display: flex;
  color: transparent;
  font-family: var(--nk-latin);
  font-size: clamp(120px, 21vw, 340px);
  font-weight: 800;
  line-height: 1;
  white-space: nowrap;
  translate: 0 -58%;
  -webkit-text-stroke: 2px rgba(90, 76, 151, 0.28);
  animation: nk-marquee 40s linear infinite;
}

.nk-hero__marquee span {
  padding-right: 0.35em;
}

.nk-hero__chara-wrap {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: translateY(8%);
  animation: nk-rise 1.1s var(--nk-ease) var(--nk-hero-delay) forwards;
}

.nk-hero__chara {
  position: absolute;
  bottom: 1vh;
  left: 50%;
  width: auto;
  max-width: none;
  height: min(90svh, 62vw);
  filter: drop-shadow(0 30px 40px rgba(34, 26, 69, 0.18));
  translate: -58% 0;
  transform: translate(calc(var(--px, 0) * -14px), calc(var(--py, 0) * -8px));
  transition: transform 0.5s var(--nk-ease);
}

.nk-hero__copy {
  position: absolute;
  top: 112px;
  left: var(--nk-hero-pad);
  font-family: var(--nk-display);
  font-size: clamp(30px, 3.6vw, 54px);
  font-weight: 900;
  line-height: 1.55;
  letter-spacing: 0.12em;
  writing-mode: vertical-rl;
}

.nk-hero__copy span {
  display: block;
  clip-path: inset(0 0 100% 0);
  animation: nk-unroll 0.9s var(--nk-ease) forwards;
}

.nk-hero__copy span:nth-child(1) {
  animation-delay: calc(var(--nk-hero-delay) + 0.4s);
}

.nk-hero__copy span:nth-child(2) {
  animation-delay: calc(var(--nk-hero-delay) + 0.6s);
}

.nk-hero__copy span:nth-child(3) {
  color: var(--nk-violet);
  animation-delay: calc(var(--nk-hero-delay) + 0.8s);
}

.nk-hero__copy .nk-tcy {
  font-style: normal;
  text-combine-upright: all;
}

/* 英語は横書き */

.nk-hero__copy--horizontal {
  max-width: 9em;
  line-height: 1.3;
  letter-spacing: 0;
  writing-mode: horizontal-tb;
}

.nk-hero__copy--horizontal span {
  clip-path: inset(0 100% 0 0);
}

@keyframes nk-unroll {
  to {
    clip-path: inset(0);
  }
}

.nk-hero__logo {
  position: absolute;
  bottom: 48px;
  left: var(--nk-hero-pad);
  width: clamp(240px, 30vw, 440px);
  height: auto;
  opacity: 0;
  transform: translateY(20px);
  animation: nk-rise 1s var(--nk-ease) calc(var(--nk-hero-delay) + 0.9s) forwards;
}

.nk-hero__news {
  position: absolute;
  right: var(--nk-hero-pad);
  bottom: 48px;
  width: min(340px, 80vw);
  padding: 18px 22px;
  border-radius: 20px;
  color: var(--nk-ink);
  background: #fff;
  box-shadow: 0 18px 40px rgba(34, 26, 69, 0.14);
  text-decoration: none;
  opacity: 0;
  transform: translateY(20px);
  animation: nk-rise 1s var(--nk-ease) calc(var(--nk-hero-delay) + 1.1s) forwards;
  transition: translate 0.25s var(--nk-ease);
}

.nk-hero__news:hover {
  translate: 0 -4px;
}

.nk-hero__news small {
  color: var(--nk-pink);
  font-family: var(--nk-latin);
  font-size: 11px;
  font-weight: 800;
}

.nk-hero__news p {
  margin-top: 4px;
  font-family: var(--nk-display);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.6;
}

/* ---------- トップ: お知らせ ---------- */

.nk-news {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 64px;
}

.nk-news .nk-btn {
  margin-top: 36px;
}

.nk-news__list a {
  display: grid;
  grid-template-columns: 110px 1fr 28px;
  gap: 20px;
  align-items: center;
  padding: 26px 8px;
  border-bottom: 1px solid var(--nk-line);
  color: var(--nk-ink);
  text-decoration: none;
  transition: background-color 0.2s, padding 0.3s var(--nk-ease);
}

.nk-news__list li:first-child a {
  border-top: 1px solid var(--nk-line);
}

.nk-news__list a:hover {
  padding-left: 24px;
  background: var(--nk-lilac);
}

.nk-news__list time {
  color: var(--nk-violet);
  font-family: var(--nk-latin);
  font-size: 13px;
}

.nk-news__list b {
  font-family: var(--nk-display);
  font-size: 17px;
  font-weight: 700;
  line-height: 1.6;
}

.nk-news__list svg {
  width: 22px;
  opacity: 0;
  translate: -8px 0;
  transition: opacity 0.3s, translate 0.3s var(--nk-ease);
}

.nk-news__list a:hover svg {
  opacity: 1;
  translate: 0 0;
}

/* ---------- トップ: キャラクター ---------- */

.nk-chara {
  padding-bottom: 0;
  overflow: hidden;
  color: #fff;
  background: var(--nk-night);
}

.nk-chara .nk-sec-sub {
  color: var(--nk-on-night-soft);
}

.nk-chara__stage {
  --c: #7b6bd0;
  --c-soft: #c9c1f2;
  position: relative;
  min-height: 720px;
  margin-top: 40px;
}

.nk-chara__disc {
  position: absolute;
  top: 2%;
  right: -6%;
  width: 62%;
  fill: var(--c);
  transition: fill 0.6s;
  animation: nk-drift 16s ease-in-out infinite alternate;
}

.nk-chara__panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  min-height: 720px;
}

.nk-chara__panel[hidden] {
  display: none;
}

.nk-chara__latin {
  position: absolute;
  top: 0;
  right: -24px;
  color: transparent;
  font-family: var(--nk-latin);
  font-size: clamp(64px, 9vw, 132px);
  font-weight: 800;
  line-height: 1;
  white-space: nowrap;
  writing-mode: vertical-rl;
  -webkit-text-stroke: 1.5px rgba(255, 255, 255, 0.35);
}

.nk-chara__text {
  position: relative;
  z-index: 2;
  padding: 40px 0 200px;
}

.nk-chara__role {
  color: var(--c-soft);
  font-family: var(--nk-display);
  font-size: 14px;
  font-weight: 700;
}

.nk-chara__name {
  margin: 6px 0 28px;
  font-family: var(--nk-display);
  font-size: clamp(40px, 5vw, 68px);
  font-weight: 900;
  line-height: 1.25;
}

.nk-chara__line {
  padding-left: 22px;
  border-left: 4px solid var(--c);
  font-family: var(--nk-display);
  font-size: clamp(20px, 2.1vw, 27px);
  font-weight: 700;
  line-height: 1.7;
}

.nk-chara__line span {
  display: block;
}

.nk-chara__desc {
  max-width: 30em;
  margin: 26px 0 34px;
  color: #d6d1ee;
  font-size: 15px;
}

.nk-chara__art {
  position: relative;
  z-index: 1;
}

.nk-chara__art img {
  position: absolute;
  bottom: 0;
  left: 50%;
  width: auto;
  max-width: none;
  height: 100%;
  filter: drop-shadow(0 24px 30px rgba(0, 0, 0, 0.35));
  scale: var(--s, 1);
  translate: -50% 0;
  transform-origin: bottom center;
}

.nk-chara__panel.is-in .nk-chara__art img {
  animation: nk-chara-in 0.7s var(--nk-ease) both;
}

.nk-chara__panel.is-in .nk-chara__text > * {
  animation: nk-text-in 0.6s var(--nk-ease) both;
}

.nk-chara__panel.is-in .nk-chara__text > :nth-child(2) {
  animation-delay: 0.06s;
}

.nk-chara__panel.is-in .nk-chara__text > :nth-child(3) {
  animation-delay: 0.12s;
}

.nk-chara__panel.is-in .nk-chara__text > :nth-child(4) {
  animation-delay: 0.18s;
}

.nk-chara__panel.is-in .nk-chara__text > :nth-child(5) {
  animation-delay: 0.24s;
}

@keyframes nk-chara-in {
  from {
    opacity: 0;
    translate: -42% 0;
  }

  to {
    opacity: 1;
    translate: -50% 0;
  }
}

@keyframes nk-text-in {
  from {
    opacity: 0;
    transform: translateY(14px);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

.nk-chara__tabs {
  position: absolute;
  bottom: 56px;
  left: 0;
  z-index: 3;
  display: flex;
  gap: 14px;
}

.nk-chara__tabs button {
  width: 76px;
  height: 76px;
  padding: 0;
  overflow: hidden;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.25);
  opacity: 0.55;
  cursor: pointer;
  transition: opacity 0.3s, scale 0.3s var(--nk-ease), box-shadow 0.3s;
}

.nk-chara__tabs button:hover {
  opacity: 1;
}

.nk-chara__tabs button[aria-selected='true'] {
  box-shadow: 0 0 0 4px var(--c);
  opacity: 1;
  scale: 1.12;
}

.nk-chara__tabs img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}

/* ---------- トップ: ギャラリー ---------- */

.nk-gallery {
  padding-bottom: 140px;
  overflow: hidden;
}

.nk-gallery__band {
  display: grid;
  gap: 18px;
  width: 110vw;
  margin: 64px 0 0 -5vw;
  rotate: -3deg;
}

.nk-gallery__row {
  display: flex;
  gap: 18px;
  width: -moz-max-content;
  width: max-content;
  animation: nk-marquee 60s linear infinite;
}

.nk-gallery__row:nth-child(2) {
  animation-duration: 75s;
  animation-direction: reverse;
}

.nk-gallery__band:hover .nk-gallery__row,
.nk-gallery__band:focus-within .nk-gallery__row {
  animation-play-state: paused;
}

.nk-gallery__row a {
  display: block;
  flex: none;
  overflow: hidden;
  border-radius: 18px;
  background: var(--nk-lilac);
}

.nk-gallery__row img {
  width: 260px;
  height: 260px;
  -o-object-fit: cover;
     object-fit: cover;
}

/* ---------- トップ: 創作 ---------- */

.nk-create {
  overflow: hidden;
  background: var(--nk-pink);
}

.nk-create__blob {
  position: absolute;
  top: -14vh;
  right: -10vw;
  width: 44vw;
  fill: var(--nk-cyan);
  opacity: 0.9;
}

.nk-create__in {
  position: relative;
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 56px;
  align-items: end;
}

.nk-create__title {
  font-family: var(--nk-display);
  font-size: clamp(38px, 5.6vw, 84px);
  font-weight: 900;
  line-height: 1.25;
  text-wrap: balance;
}

.nk-create__list {
  display: grid;
  gap: 4px;
  margin-top: 36px;
}

.nk-create__list li {
  display: flex;
  align-items: baseline;
  gap: 18px;
  padding: 12px 0;
  border-bottom: 2px solid var(--nk-ink);
  font-family: var(--nk-display);
  font-size: clamp(18px, 2.1vw, 28px);
  font-weight: 900;
}

.nk-create__list em {
  margin-left: auto;
  font-family: var(--nk-latin);
  font-style: normal;
  font-weight: 800;
}

.nk-create__desc {
  margin-top: 28px;
  font-weight: 500;
}

.nk-create__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

/* 背景がピンクなので、ボタンはどちらも白で塗りつぶす（ピンクで塗ると背景に溶ける） */

.nk-create .nk-btn::before {
  background: #fff;
}

.nk-create .nk-btn:hover {
  color: var(--nk-ink);
}

.nk-create__note {
  margin-top: 16px;
  font-size: 13px;
}

.nk-create__example {
  padding: 24px;
  border-radius: 28px;
  background: #fff;
}

.nk-create__example h3 {
  margin-bottom: 16px;
  font-family: var(--nk-display);
  font-size: 17px;
  font-weight: 900;
}

.nk-create__pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.nk-create__pair figcaption {
  margin-bottom: 6px;
  color: var(--nk-violet);
  font-family: var(--nk-latin);
  font-size: 11px;
}

.nk-create__pair img {
  width: 100%;
  aspect-ratio: 4 / 5;
  border-radius: 14px;
  background: var(--nk-lilac);
  -o-object-fit: contain;
     object-fit: contain;
}

.nk-create__prompt {
  margin-top: 14px;
  padding: 12px 16px;
  border-radius: 14px;
  background: var(--nk-lilac);
  font-size: 14px;
  line-height: 1.7;
}

.nk-create__prompt span {
  display: block;
  color: var(--nk-violet);
  font-family: var(--nk-latin);
  font-size: 11px;
}

/* ---------- トップ: ブログ ---------- */

.nk-blog__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 36px;
  margin-top: 56px;
}

.nk-post {
  color: var(--nk-ink);
  text-decoration: none;
}

.nk-post__img {
  overflow: hidden;
  border-radius: 14px;
  background: var(--nk-lilac);
}

.nk-post__img img {
  width: 100%;
  aspect-ratio: 1200 / 630;
  -o-object-fit: cover;
     object-fit: cover;
  transition: scale 0.5s var(--nk-ease);
}

.nk-post:hover .nk-post__img img {
  scale: 1.04;
}

.nk-post time {
  display: block;
  margin: 18px 0 6px;
  color: var(--nk-violet);
  font-family: var(--nk-latin);
  font-size: 12px;
}

.nk-post b {
  background: linear-gradient(var(--nk-pink), var(--nk-pink)) no-repeat 0 100% / 0 2px;
  font-family: var(--nk-display);
  font-size: 17px;
  font-weight: 700;
  line-height: 1.65;
  transition: background-size 0.35s var(--nk-ease);
}

.nk-post:hover b {
  background-size: 100% 2px;
}

/* ---------- トップ: 支援 ---------- */

.nk-support {
  background: var(--nk-lilac);
}

.nk-support__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  margin-top: 56px;
}

.nk-support__grid h3 {
  margin-bottom: 14px;
  font-family: var(--nk-display);
  font-size: 22px;
  font-weight: 900;
}

.nk-support__grid ul {
  margin: 18px 0 26px;
  border-top: 1px solid var(--nk-line);
}

.nk-support__grid li {
  padding: 10px 0;
  border-bottom: 1px solid var(--nk-line);
  font-family: var(--nk-display);
  font-weight: 700;
}

.nk-support__lead {
  max-width: 720px;
  margin-top: 24px;
  color: var(--nk-ink-soft);
  line-height: 1.9;
}

.nk-support__grid .nk-support__channels li {
  padding: 0;
}

.nk-support__channels a {
  display: grid;
  grid-template-columns: 1fr 22px;
  gap: 16px;
  align-items: center;
  padding: 16px 8px;
  color: var(--nk-ink);
  text-decoration: none;
  transition: background-color 0.2s, padding 0.3s var(--nk-ease);
}

.nk-support__channels a:hover {
  padding-left: 20px;
  background: #fff;
}

.nk-support__channels b,
.nk-support__channels small {
  display: block;
}

.nk-support__channels small {
  margin-top: 2px;
  color: var(--nk-ink-soft);
  font-family: var(--nk-body);
  font-size: 13px;
  font-weight: 500;
}

.nk-support__channels svg {
  width: 22px;
  color: var(--nk-violet);
  transition: translate 0.3s var(--nk-ease);
}

.nk-support__channels a:hover svg {
  translate: 4px 0;
}

.nk-support__note {
  color: var(--nk-ink-soft);
  font-size: 13px;
}

/* ---------- レスポンシブ ---------- */

@media (max-width: 860px) {
  /* 見出しの書体は上に余白を持つので、上だけ下より詰める */

  .nk-sec {
    padding: 56px 0 84px;
  }

  .nk-hero__chara {
    bottom: 132px;
    height: min(62svh, 120vw);
    translate: -50% 0;
  }

  .nk-hero__copy {
    top: 92px;
  }

  .nk-hero__logo {
    bottom: 150px;
    width: 210px;
  }

  .nk-hero__news {
    right: 24px;
    bottom: 28px;
    left: 24px;
    width: auto;
  }

  .nk-news,
  .nk-create__in,
  .nk-support__grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .nk-news__list a {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .nk-news__list svg {
    display: none;
  }

  .nk-chara {
    padding-bottom: 0;
  }

  .nk-chara__stage,
  .nk-chara__panel {
    min-height: 0;
  }

  .nk-chara__panel {
    grid-template-columns: 1fr;
  }

  .nk-chara__art {
    order: -1;
    height: 440px;
  }

  .nk-chara__text {
    padding: 20px 0 24px;
  }

  .nk-chara__tabs {
    position: static;
    gap: 10px;
    padding: 0 0 48px;
  }

  .nk-chara__tabs button {
    width: 58px;
    height: 58px;
  }

  .nk-chara__latin {
    right: -8px;
    font-size: 56px;
  }

  .nk-chara__disc {
    right: -30%;
    width: 110%;
  }

  .nk-blog__grid {
    grid-template-columns: 1fr;
  }

  .nk-gallery {
    padding-bottom: 96px;
  }

  .nk-gallery__row img {
    width: 170px;
    height: 170px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .nk-home *,
  .nk-home *::before,
  .nk-home *::after {
    animation: none !important;
    transition: none !important;
  }

  .nk-opening {
    display: none;
  }

  .nk-hero__chara-wrap,
  .nk-hero__logo,
  .nk-hero__news {
    opacity: 1;
    transform: none;
  }

  .nk-hero__copy span {
    clip-path: none;
  }
}

/* ---------- 未移行ページを新デザインになじませる上書き ---------- */

/* 各ページを移行したら、対応する指定をここから消す */

/* 地を淡い紫にして、白い枠（パネル・カード）との境目を色の差で見せる */

.character-page,
.ai-about-page {
  color: var(--nk-ink);
  background: var(--nk-tint);
}

/* 記事ページなどは character-showcase-bg が本文の入れ物を兼ねるので、非表示にせず柄だけ消す */

.character-showcase-bg {
  background: none;
}

.ai-about-hero__grid,
.site-page-hero::before {
  display: none;
}

.site-page-hero {
  background: var(--nk-night);
}

/* ---------- キャラクター一覧（/characters） ---------- */

.nk-cast {
  position: relative;
  min-height: max(86svh, 640px);
  overflow: hidden;
  color: var(--nk-ink);
  background: var(--nk-cyan-pale);
}

.nk-cast__copy {
  position: relative;
  padding-top: 72px;
}

.nk-cast__desc {
  max-width: 34em;
  margin-top: 20px;
  font-size: 15px;
  line-height: 1.9;
}

.nk-cast__row {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  height: min(54svh, 29vw);
}

.nk-cast__row a {
  position: relative;
  flex: none;
  height: calc(100% * var(--s, 1));
  opacity: 0;
  transform: translateY(12%);
  animation: nk-rise 0.9s var(--nk-ease) calc(0.15s + var(--i) * 0.1s) forwards;
}

.nk-cast__row img {
  width: auto;
  max-width: none;
  height: 100%;
  filter: drop-shadow(0 18px 24px rgba(34, 26, 69, 0.16));
  transition: translate 0.35s var(--nk-ease);
}

.nk-cast__row a:hover img,
.nk-cast__row a:focus-visible img {
  translate: 0 -14px;
}

/* 立ち絵に重ねる名前の札。ホバーとフォーカスで出す */

.nk-cast__row a::after {
  content: attr(data-name);
  position: absolute;
  bottom: calc(100% + 4px);
  left: 50%;
  padding: 6px 16px;
  border-radius: 999px;
  color: #fff;
  background: var(--nk-ink);
  font-family: var(--nk-display);
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
  opacity: 0;
  translate: -50% 8px;
  transition: opacity 0.25s, translate 0.25s var(--nk-ease);
}

.nk-cast__row a:hover::after,
.nk-cast__row a:focus-visible::after {
  opacity: 1;
  translate: -50% 0;
}

.nk-roster li:first-child a {
  border-top: 1px solid var(--nk-line);
}

.nk-roster a {
  position: relative;
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr) minmax(0, 1.1fr);
  gap: 32px;
  align-items: center;
  isolation: isolate;
  padding: 28px 20px;
  border-bottom: 1px solid var(--nk-line);
  color: var(--nk-ink);
  text-decoration: none;
}

.nk-roster a::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: color-mix(in srgb, var(--c) 18%, white);
  scale: 0 1;
  transform-origin: left;
  transition: scale 0.45s var(--nk-ease);
}

.nk-roster a:hover::before,
.nk-roster a:focus-visible::before {
  scale: 1 1;
}

.nk-roster__icon {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 0 4px var(--c);
  -o-object-fit: cover;
     object-fit: cover;
}

.nk-roster__role {
  color: var(--nk-ink-soft);
  font-family: var(--nk-display);
  font-size: 13px;
  font-weight: 700;
}

.nk-roster__name {
  font-family: var(--nk-display);
  font-size: clamp(24px, 2.8vw, 36px);
  font-weight: 900;
  line-height: 1.4;
}

.nk-roster__line {
  padding-left: 20px;
  border-left: 4px solid var(--c);
  font-family: var(--nk-display);
  font-size: 17px;
  font-weight: 700;
  line-height: 1.7;
}

/* ---------- キャラクター詳細（/characters/:id、/developer） ---------- */

.nk-dhero {
  --c: color-mix(in srgb, var(--char-color) 76%, white);
  --c-soft: color-mix(in srgb, var(--char-color) 32%, white);
  position: relative;
  overflow: hidden;
  color: #fff;
  background: var(--nk-night);
  line-height: 1.9;
}

.nk-dhero__disc {
  position: absolute;
  top: -6%;
  right: -4%;
  width: min(58%, 820px);
  fill: var(--c);
  animation: nk-drift 16s ease-in-out infinite alternate;
}

.nk-dhero__latin {
  position: absolute;
  top: 28px;
  right: max(16px, calc((100vw - 1180px) / 2 - 40px));
  color: transparent;
  font-family: var(--nk-latin);
  font-size: clamp(56px, 8vw, 120px);
  font-weight: 800;
  line-height: 1;
  white-space: nowrap;
  writing-mode: vertical-rl;
  -webkit-text-stroke: 1.5px rgba(255, 255, 255, 0.35);
}

.nk-dhero__inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  min-height: min(78svh, 720px);
}

.nk-dhero__copy {
  align-self: center;
  padding: 72px 0;
}

.nk-dhero__copy > * {
  animation: nk-text-in 0.7s var(--nk-ease) both;
}

.nk-dhero__copy > :nth-child(2) {
  animation-delay: 0.08s;
}

.nk-dhero__copy > :nth-child(3) {
  animation-delay: 0.16s;
}

.nk-dhero__copy > :nth-child(4) {
  animation-delay: 0.24s;
}

.nk-dhero__role {
  max-width: 34em;
  color: var(--c-soft);
  font-family: var(--nk-display);
  font-size: 15px;
  font-weight: 700;
}

.nk-dhero__name {
  margin: 8px 0 30px;
  font-family: var(--nk-display);
  font-size: clamp(44px, 6vw, 84px);
  font-weight: 900;
  line-height: 1.2;
}

.nk-dhero__line {
  padding-left: 22px;
  border-left: 4px solid var(--c);
  font-family: var(--nk-display);
  font-size: clamp(20px, 2.2vw, 28px);
  font-weight: 700;
  line-height: 1.7;
}

.nk-dhero__line span {
  display: block;
}

.nk-dhero__links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 36px;
}

.nk-dhero__links a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 999px;
  color: #fff;
  box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.5);
  font-family: var(--nk-display);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  transition: background-color 0.2s, color 0.2s;
}

.nk-dhero__links a:hover {
  color: var(--nk-ink);
  background: #fff;
}

.nk-dhero__links svg,
.nk-dhero__links i {
  width: 16px;
  height: 16px;
  font-size: 14px;
}

.nk-dhero__art {
  position: relative;
}

.nk-dhero__art img {
  position: absolute;
  bottom: 0;
  left: 50%;
  width: auto;
  max-width: none;
  height: 96%;
  filter: drop-shadow(0 24px 30px rgba(0, 0, 0, 0.35));
  scale: var(--s, 1);
  translate: -50% 0;
  transform-origin: bottom center;
  animation: nk-chara-in 0.9s var(--nk-ease) both;
}

.nk-subnav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 24px;
  width: var(--site-shell);
  margin: 0 auto;
  padding: 18px 0;
  border-bottom: 1px solid var(--nk-line);
  font-family: var(--nk-display);
  font-size: 14px;
  font-weight: 700;
}

.nk-subnav a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 999px;
  color: var(--nk-ink);
  text-decoration: none;
  transition: background-color 0.2s;
}

.nk-subnav a:hover {
  background: var(--nk-lilac);
}

.nk-subnav__back {
  margin-left: -12px;
}

.nk-subnav__links {
  display: flex;
  flex-wrap: wrap;
  gap: 2px;
}

@media (max-width: 860px) {
  /* 説明文と立ち絵が重ならない高さを確保する */

  .nk-cast {
    min-height: max(500px, calc(34vw + 300px));
  }

  .nk-cast__copy {
    padding-top: 40px;
  }

  .nk-cast__row {
    height: 34vw;
  }

  .nk-roster a {
    grid-template-columns: 64px minmax(0, 1fr);
    gap: 12px 18px;
    padding: 22px 8px;
  }

  .nk-roster__icon {
    width: 64px;
    height: 64px;
  }

  .nk-roster__line {
    grid-column: 1 / -1;
    font-size: 15px;
  }

  .nk-dhero__inner {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .nk-dhero__art {
    order: -1;
    height: 400px;
    margin-top: 24px;
  }

  .nk-dhero__copy {
    padding: 24px 0 56px;
  }

  .nk-dhero__disc {
    top: 2%;
    right: -30%;
    width: 110%;
  }

  .nk-dhero__latin {
    right: 8px;
    font-size: 52px;
  }

  .nk-subnav__links {
    flex-wrap: nowrap;
    overflow-x: auto;
    white-space: nowrap;
  }
}

@media (prefers-reduced-motion: reduce) {
  .nk-dhero *,
  .nk-cast * {
    animation: none !important;
    transition: none !important;
  }

  .nk-cast__row a {
    opacity: 1;
    transform: none;
  }
}

/* ---------- 文字組みと狭い画面の調整 ---------- */

/* 日本語を文節で折り返し、1文字だけ次の行に落ちるのを防ぐ（対応ブラウザのみ） */

.nk-home,
.nk-dhero,
.site-footer {
  word-break: auto-phrase;
  text-wrap: pretty;
}

@media (max-width: 860px) {
  /* 台座を立ち絵の範囲に収め、下の文章と重ならないようにする */

  .nk-dhero__disc,
  .nk-chara__disc {
    top: 0;
    right: auto;
    left: 50%;
    width: auto;
    height: 420px;
    translate: -45% 0;
  }

  /* 長い英字名（TODAY NORMA など）が立ち絵の下の文章まで伸びないようにする */

  .nk-dhero__latin,
  .nk-chara__latin {
    font-size: 36px;
  }
}

/* 旧デザインのページ下端にあったピンクのぼかしは、濃紺のフッターと合わないので消す */

.character-footer-gradient {
  background: none;
}

/* 記事ページは読み物なので地を白にし、目次だけ淡い紫の面で区切る */

.character-page.post-redesign {
  background: #fff;
}

.post-toc-panel {
  border: 0;
  background: var(--nk-tint);
}

/* AIニュース: 元記事へのリンク。最下段で出典・日付の右に置く */

.character-page .ai-news-card .ai-news-foot a.ai-news-read {
  min-height: 0;
  border: 0;
  background: transparent;
  transform: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-left: auto;
  padding: 6px 14px;
  border-radius: 999px;
  color: var(--nk-ink);
  box-shadow: inset 0 0 0 1.5px var(--nk-ink);
  font-family: var(--nk-display);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.4;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color 0.2s, color 0.2s;
}

.character-page .ai-news-card .ai-news-foot a.ai-news-read:hover {
  color: #fff;
  background: var(--nk-ink);
}

/* AIニュース: 日付の見出し。日付の右に線を引いて、その日のニュースの区切りにする */

.ai-news-date-heading {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 0;
  color: var(--nk-ink);
  font-family: var(--nk-display);
  font-size: clamp(18px, 2vw, 22px);
  font-weight: 900;
  line-height: 1.3;
}

.ai-news-date-heading::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--nk-line);
}

/* その日の一覧ページへ飛べる日付は、濃紺の丸ボタンにして地の色と区別する */

.ai-news-date-heading-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 18px;
  border-radius: 999px;
  color: #fff;
  background: var(--nk-ink);
  text-decoration: none;
  transition: background-color 0.2s;
}

.ai-news-date-heading-link::after {
  content: '';
  width: 7px;
  height: 7px;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  rotate: 45deg;
  transition: translate 0.2s var(--nk-ease);
}

.ai-news-date-heading-link:hover {
  background: var(--nk-pink);
}

.ai-news-date-heading-link:hover::after {
  translate: 3px 0;
}

/* AIニュース: 分類はタイトルの上に小さく、出典・言語・日付は最下段にまとめる */

.ai-news-category {
  margin-bottom: 10px;
  color: var(--nk-violet);
  font-family: var(--nk-display);
  font-size: 13px;
  font-weight: 700;
}

.ai-news-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 16px;
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--nk-line);
}

/* キャラクター詳細: 折りたたみ章（二次創作・活動記録）も他の区画と同じ枠・見出しに揃える */

.character-detail-page .character-chapter {
  padding: 40px;
}

/* 区画どうしの間隔は親の gap に任せ、個別の上マージンは持たせない */

.character-additional-sections > .character-chapter,
.character-additional-sections > .character-connect-panel,
.character-overview-sections > .character-feature-panel {
  margin-top: 0;
}

.character-chapter .character-section-heading p {
  margin: 10px 0 0;
  color: var(--nk-ink-soft);
  font-size: 14px;
  line-height: 1.8;
}

.character-chapter__body {
  padding: 0;
  border: 0;
  background: none;
}

@media (max-width: 640px) {
  .character-detail-page .character-chapter {
    padding: 26px 22px;
  }

  .character-chapter__body {
    padding: 0;
  }
}

/* ---------- アバウトページ中盤: 絵と濃紺の帯で白枠の連続を崩す ---------- */

/* 実際の仕事から〜: 画面幅いっぱいの白い帯にして、左に文章・右に立ち絵 */

.ai-about-direction {
  width: 100%;
  margin: 0;
  padding: 80px 0;
  overflow: hidden;
  border: 0;
  border-radius: 0;
  background: #fff;
}

.ai-about-direction__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 400px);
  gap: 56px;
  align-items: center;
  width: var(--site-shell);
  margin: 0 auto;
}

.ai-about-direction .ai-about-layer-stack {
  max-width: none;
  margin: 28px 0 0;
}

.ai-about-direction .ai-about-layer {
  grid-template-columns: 1fr;
  gap: 8px;
  border: 0;
  border-radius: 20px;
}

.ai-about-direction .ai-about-layer--core {
  background: var(--nk-cyan-pale);
}

.ai-about-direction .ai-about-layer--public {
  background: var(--nk-pink-pale);
}

.ai-about-direction .ai-about-layer-stack__flow {
  justify-content: flex-start;
  min-height: 56px;
  padding-left: 28px;
}

.ai-about-direction .ai-about-aituber {
  margin-top: 28px;
  border: 0;
  border-radius: 20px;
  background: var(--nk-tint);
}

.ai-about-direction__visual {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 560px;
}

.ai-about-direction__visual img {
  position: relative;
  width: auto;
  height: 600px;
  max-width: none;
  -o-object-fit: contain;
     object-fit: contain;
  filter: drop-shadow(0 18px 28px rgba(34, 26, 69, 0.16));
}

.ai-about-direction__blob {
  position: absolute;
  animation: nk-drift 18s ease-in-out infinite alternate;
}

.ai-about-direction__blob--main {
  top: 6%;
  left: -12%;
  width: 124%;
  fill: var(--nk-pink-pale);
}

.ai-about-direction__blob--sub {
  right: -14%;
  bottom: 2%;
  width: 46%;
  fill: var(--nk-cyan);
  opacity: 0.7;
  animation-duration: 24s;
  animation-direction: alternate-reverse;
}

/* いま、会える場所: お問い合わせを同じ枠の最下段に統合 */

.ai-about-contact {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px 32px;
  margin-top: 32px;
  padding-top: 28px;
  border-top: 1px solid var(--nk-line);
  scroll-margin-top: calc(var(--nk-header-h) + 24px);
}

.ai-about-contact h3 {
  margin: 0;
  color: var(--nk-ink);
  font-family: var(--nk-display);
  font-size: 22px;
  font-weight: 900;
}

.ai-about-contact__copy p {
  margin: 6px 0 0;
  color: var(--nk-ink-soft);
  font-size: 14px;
  line-height: 1.8;
}

.nk-contact-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.nk-contact-links a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 999px;
  color: var(--nk-ink);
  box-shadow: inset 0 0 0 1.5px var(--nk-ink);
  font-family: var(--nk-display);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: color 0.2s, background 0.2s;
}

.nk-contact-links a.nk-contact-links__mail,
.nk-contact-links a:hover {
  color: #fff;
  background: var(--nk-ink);
}

.nk-contact-links a.nk-contact-links__mail:hover {
  background: var(--nk-pink);
  box-shadow: inset 0 0 0 1.5px var(--nk-pink);
}

/* 記憶は〜: 画面幅いっぱいの濃紺の帯 */

.ai-about-memory {
  display: block;
  width: 100%;
  margin: 0;
  padding: 96px 0;
  overflow: hidden;
  border: 0;
  border-radius: 0;
  color: #fff;
  background: var(--nk-night);
}

.ai-about-memory__inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(320px, 0.94fr);
  gap: 56px;
  align-items: center;
  width: var(--site-shell);
  margin: 0 auto;
}

.ai-about-memory h2 {
  color: #fff;
}

.ai-about-memory__copy > p {
  color: var(--nk-on-night-soft);
}

.ai-about-memory__priorities {
  gap: 16px;
}

.ai-about-memory__priorities li {
  gap: 8px;
  padding: 22px 24px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 20px;
  color: #fff;
  background: rgba(255, 255, 255, 0.07);
}

.ai-about-memory__priorities span {
  color: var(--nk-pink);
  font-family: var(--nk-display);
  font-size: 13px;
  letter-spacing: 0.08em;
}

.ai-about-memory__priorities strong {
  font-family: var(--nk-display);
  font-size: 18px;
  line-height: 1.6;
}

.ai-about-memory__blob {
  position: absolute;
  animation: nk-drift 20s ease-in-out infinite alternate;
}

.ai-about-memory__blob--a {
  top: -38%;
  right: -8%;
  width: 46%;
  fill: var(--nk-violet);
  opacity: 0.55;
}

.ai-about-memory__blob--b {
  bottom: -46%;
  left: -6%;
  width: 26%;
  fill: var(--nk-pink);
  opacity: 0.8;
  animation-duration: 26s;
  animation-direction: alternate-reverse;
}

@media (max-width: 1023px) {
  .ai-about-direction {
    padding: 48px 0 56px;
  }

  .ai-about-direction__inner {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .ai-about-direction__visual {
    order: -1;
    min-height: 0;
    height: 340px;
    overflow: visible;
  }

  .ai-about-direction__visual img {
    height: 360px;
  }

  .ai-about-direction__blob--main {
    top: 0;
    left: 50%;
    width: 360px;
    translate: -50% 0;
  }

  .ai-about-direction__blob--sub {
    right: 50%;
    width: 130px;
    translate: 190px 0;
  }

  .ai-about-memory {
    padding: 72px 0;
  }

  .ai-about-memory__inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .ai-about-memory__blob--a {
    top: -12%;
    right: -30%;
    width: 90%;
  }

  .ai-about-memory__blob--b {
    bottom: -8%;
    left: -20%;
    width: 50%;
  }
}

@media (max-width: 640px) {
  .ai-about-direction {
    padding: 32px 0 48px;
  }

  .ai-about-memory {
    padding: 56px 0;
  }

  .nk-contact-links a {
    padding: 9px 14px;
    font-size: 13px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ai-about-direction__blob,
  .ai-about-memory__blob {
    animation: none;
  }
}

/* アバウトページ全体を「1行＝1区画」の帯の並びにする（白 → 薄紫 → 白 → 薄紫 → 濃紺） */

.ai-about-page main {
  row-gap: 0;
  padding: 0 0 80px;
}

.ai-about-relationship,
.ai-about-work,
.ai-about-touchpoints {
  padding: 80px 0;
  border: 0;
  border-radius: 0;
  background: none;
}

/* 枠の幅は保ったまま、背景だけ画面の端まで伸ばす */

.ai-about-relationship {
  background: #fff;
  box-shadow: 0 0 0 100vmax #fff;
  clip-path: inset(0 -100vmax);
}

.ai-about-relationship .ai-about-role-card {
  border: 0;
  border-radius: 20px;
  background: var(--nk-tint);
}

.ai-about-work-grid article,
.ai-about-touchpoint-card {
  border-radius: 16px;
}

.ai-about-quote {
  margin-top: 64px;
  overflow: hidden;
  border-radius: 24px;
}

@media (max-width: 1023px) {
  .ai-about-relationship,
  .ai-about-work,
  .ai-about-touchpoints {
    padding: 56px 0;
  }
}

@media (max-width: 640px) {
  .ai-about-page main {
    padding-bottom: 56px;
  }

  .ai-about-relationship,
  .ai-about-work,
  .ai-about-touchpoints {
    padding: 44px 0;
  }

  .ai-about-quote {
    margin-top: 40px;
  }
}

/* ---------- スマホ確認で見つけた旧デザインの取りこぼし ---------- */

/* 活動記録: 戻るリンク（旧スタイルを消した際に体裁が抜けていた） */

.character-back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 0 18px 0 14px;
  border-radius: 999px;
  color: var(--nk-ink);
  background: #fff;
  box-shadow: inset 0 0 0 1.5px var(--nk-ink);
  font-family: var(--nk-display);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: color 0.2s, background 0.2s;
}

.character-back-link:hover {
  color: #fff;
  background: var(--nk-ink);
}

.character-back-link svg {
  width: 16px;
  height: 16px;
}

/* 活動記録: カードの下敷きを消し、見出しを通常の見出しに戻す */

.developer-activity-card {
  border-radius: 16px;
  box-shadow: none;
}

.character-page .developer-activity-card .developer-activity-card__body h3 {
  font-family: var(--nk-display);
  font-size: 18px;
  letter-spacing: 0;
  line-height: 1.5;
}

/* 開発者ブログ: 区切り見出しを他ページと同じ濃紺に */

.blog-section-title {
  padding-bottom: 0;
  border-bottom: 0;
  color: var(--nk-ink);
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.3;
  text-shadow: none;
}

/* ログ: 白文字前提のページなので濃紺の地を敷く */

.nk-log-page {
  padding-bottom: 72px;
  color: #fff;
  background: var(--nk-night);
}

/* ---------- トップ: YouTube 案内 ---------- */

.nk-youtube--tint {
  background: var(--nk-tint);
}

.nk-youtube--white {
  background: #fff;
}

.nk-youtube__in {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: 56px;
  align-items: start;
}

.nk-youtube__text {
  margin-top: 28px;
  color: var(--nk-ink);
  font-size: 16px;
  line-height: 1.9;
}

.nk-youtube__btn {
  margin-top: 32px;
}

.nk-youtube__btn svg {
  width: 20px;
  height: 20px;
}

.nk-youtube__list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nk-youtube__card {
  display: block;
}

.nk-youtube__card .nk-post__img {
  position: relative;
}

.nk-youtube__card .nk-post__img img {
  display: block;
  height: auto;
  aspect-ratio: 16 / 9;
}

.nk-youtube__label {
  display: block;
  margin-bottom: 4px;
  color: var(--nk-violet);
  font-family: var(--nk-display);
  font-size: 13px;
  font-weight: 700;
}

.nk-youtube__card b {
  display: inline;
  font-size: 19px;
}

.nk-youtube__card .nk-post__img + b {
  margin-top: 16px;
}

.nk-youtube__card .nk-post__img {
  margin-bottom: 16px;
}

.nk-youtube__card p {
  margin: 8px 0 0;
  color: var(--nk-ink-soft);
  font-size: 14px;
  line-height: 1.8;
}

.nk-youtube__card .nk-youtube__date {
  display: inline;
  margin: 0 0 0 10px;
  color: var(--nk-ink-soft);
  font-family: var(--nk-latin);
  font-size: 12px;
  font-weight: 400;
}

.nk-youtube__more {
  display: inline-block;
  margin-top: 14px;
  color: var(--nk-violet);
  font-family: var(--nk-display);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}

.nk-youtube__more::after {
  content: " →";
}

/* ---------- 活動記録: 依頼の案内 ---------- */

.nk-request {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px 40px;
  margin-top: 40px;
  padding: 40px;
  border-radius: 24px;
  color: #fff;
  background: var(--nk-night);
}

.nk-request > div:first-child {
  flex: 1 1 420px;
}

.nk-request h2 {
  margin: 0;
  font-family: var(--nk-display);
  font-size: clamp(22px, 2.4vw, 30px);
  font-weight: 900;
  line-height: 1.4;
}

.nk-request p {
  margin: 12px 0 0;
  color: var(--nk-on-night-soft);
  font-size: 15px;
  line-height: 1.9;
}

.nk-request .nk-contact-links a {
  color: #fff;
  box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.7);
}

.nk-request .nk-contact-links a.nk-contact-links__mail {
  color: var(--nk-ink);
  background: #fff;
  box-shadow: none;
}

/* 濃い背景の上では白で塗りつぶす（nk-dhero__links と同じ） */

.nk-request .nk-contact-links a:hover {
  color: var(--nk-ink);
  background: #fff;
  box-shadow: inset 0 0 0 1.5px #fff;
}

.nk-request .nk-contact-links a.nk-contact-links__mail:hover {
  color: #fff;
  background: var(--nk-pink);
  box-shadow: inset 0 0 0 1.5px var(--nk-pink);
}

@media (max-width: 860px) {
  .nk-youtube__in {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

@media (max-width: 640px) {
  .nk-youtube__list {
    grid-template-columns: 1fr;
  }

  .nk-request {
    margin-top: 22px;
    padding: 28px 22px;
  }
}

@media (max-width: 520px) {
  .nk-hero__copy:not(.nk-hero__copy--horizontal) {
    font-size: 26px;
  }
}

/* キービジュアルのロゴとお知らせカードが重ならないよう、中間の幅では少し左へ寄せる */

@media (min-width: 861px) and (max-width: 1200px) {
  .nk-hero__chara {
    height: min(90svh, 56vw);
    translate: -62% 0;
  }

  .nk-hero__news {
    width: 300px;
  }
}

@media (min-width: 861px) and (max-width: 1000px) {
  .nk-hero__news {
    width: 260px;
  }
}

/* ---------- ホバーのルール（全ページ共通） ----------
 * 詳細は docs/DESIGN_SYSTEM.md。新しい部品はここのどれかに合わせる。
 *   ボタン       : 濃紺で塗りつぶす（位置・大きさは変えない）
 *   濃紺のボタン : ピンクで塗りつぶす
 *   カード       : 上に4px浮く（色は変えない）
 *   選択中の切替 : 動かさない
 * Tailwindで直接組んだ部品には nk-hover-fill / nk-hover-lift を付ける。
 * :not(#_) は、legacy.css の !important 付きの色指定に勝たせるための詳細度上げ。
 */

:is(
  .nk-hover-fill,
  .design-action-button,
  .design-toggle-link:not(.design-toggle-link--active),
  .ai-about-actions a,
  .video-mode-button--inactive,
  .guideline-ai-quick a,
  .guideline-detail-link,
  .guideline-detail-tab:not(.guideline-detail-tab--active),
  .guideline-copy-button,
  .post-tool-button,
  .blog-pagination-button:not(.blog-pagination-button--active),
  .developer-activity-card__links a,
  .developer-activities__all a,
  .character-reference-download,
  .character-product-card__links a,
  .activity-slide-viewer__actions a,
  .activity-detail-summary__links a,
  .ai-news-read
):not(#_) {
  transition: color 0.2s, background-color 0.2s, border-color 0.2s;
}

:is(
  .nk-hover-fill,
  .design-action-button,
  .design-toggle-link:not(.design-toggle-link--active),
  .ai-about-actions a:not(:first-child),
  .video-mode-button--inactive,
  .guideline-ai-quick a,
  .guideline-detail-link,
  .guideline-detail-tab:not(.guideline-detail-tab--active),
  .guideline-copy-button,
  .post-tool-button,
  .blog-pagination-button:not(.blog-pagination-button--active):not(:disabled),
  .developer-activity-card__links a,
  .developer-activities__all a,
  .character-reference-download,
  .character-product-card__links a,
  .activity-slide-viewer__actions a,
  .activity-detail-summary__links a,
  .ai-news-read
):not(#_):hover {
  border-color: var(--nk-ink) !important;
  color: #fff !important;
  background: var(--nk-ink) !important;
}

/* すでに濃紺で塗ってあるボタンは、塗りつぶしてもわからないのでピンクにする */

.ai-about-actions a:first-child:not(#_):hover {
  border-color: var(--nk-pink) !important;
  color: #fff !important;
  background: var(--nk-pink) !important;
}

:is(
  .nk-hover-lift,
  .ai-about-touchpoint-card,
  .character-nav-item:not(.character-nav-item--current),
  .gallery-redesign .gallery-item,
  .blog-post-card,
  .post-nav-link,
  a.glass-panel,
  .character-action-grid > a,
  .ogp-card
):not(#_) {
  transition: translate 0.25s var(--nk-ease), opacity 0.16s;
}

:is(
  .nk-hover-lift,
  .ai-about-touchpoint-card,
  .character-nav-item:not(.character-nav-item--current),
  .gallery-redesign .gallery-item,
  .blog-post-card,
  .post-nav-link,
  a.glass-panel,
  .character-action-grid > a,
  .ogp-card
):not(#_):hover {
  translate: 0 -4px;
}

@media (prefers-reduced-motion: reduce) {
  :is(
    .nk-hover-lift,
    .ai-about-touchpoint-card,
    .character-nav-item,
    .gallery-redesign .gallery-item,
    .blog-post-card,
    .post-nav-link,
    a.glass-panel,
    .character-action-grid > a,
    .ogp-card
  ):not(#_):hover {
    translate: none;
  }
}

/* 文中のリンク: 下線だけ。色は変えない */

.ai-about-quote__links a:hover,
.nk-youtube__more:hover {
  text-decoration: underline;
}

/* パネル内のリンクは legacy.css でボタンの見た目になる。文中に置くリンクは nk-text-link で戻す */

.character-page .glass-panel a.nk-text-link:not(#_) {
  display: inline;
  min-height: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  color: inherit !important;
  background: transparent !important;
  font-size: inherit;
  text-decoration: underline;
}

/* 記事内の画像をスマホとPCで出し分ける <picture>。
   説明つきの図（.media-figure）の中でも、画像単体と同じ見え方にする。 */

.media-figure > picture {
  display: block;
  margin: 0;
}

.media-figure > picture > img {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 0 auto;
}

.hover\:scale-105:hover {
  --tw-scale-x: 1.05;
  --tw-scale-y: 1.05;
  transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
}

.hover\:bg-gray-600:hover {
  --tw-bg-opacity: 1;
  background-color: rgb(75 85 99 / var(--tw-bg-opacity, 1));
}

.hover\:bg-gray-800:hover {
  --tw-bg-opacity: 1;
  background-color: rgb(31 41 55 / var(--tw-bg-opacity, 1));
}

.hover\:bg-purple-50:hover {
  --tw-bg-opacity: 1;
  background-color: rgb(250 245 255 / var(--tw-bg-opacity, 1));
}

.hover\:bg-opacity-75:hover {
  --tw-bg-opacity: 0.75;
}

.hover\:text-blue-300:hover {
  --tw-text-opacity: 1;
  color: rgb(147 197 253 / var(--tw-text-opacity, 1));
}

.hover\:text-gray-300:hover {
  --tw-text-opacity: 1;
  color: rgb(209 213 219 / var(--tw-text-opacity, 1));
}

.hover\:text-white:hover {
  --tw-text-opacity: 1;
  color: rgb(255 255 255 / var(--tw-text-opacity, 1));
}

.hover\:underline:hover {
  text-decoration-line: underline;
}

.hover\:shadow-lg:hover {
  --tw-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  --tw-shadow-colored: 0 10px 15px -3px var(--tw-shadow-color), 0 4px 6px -4px var(--tw-shadow-color);
  box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
}

.focus\:outline-none:focus {
  outline: 2px solid transparent;
  outline-offset: 2px;
}

.focus\:ring-2:focus {
  --tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);
  --tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);
  box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000);
}

.focus\:ring-gray-300:focus {
  --tw-ring-opacity: 1;
  --tw-ring-color: rgb(209 213 219 / var(--tw-ring-opacity, 1));
}

.focus\:ring-pink-300:focus {
  --tw-ring-opacity: 1;
  --tw-ring-color: rgb(249 168 212 / var(--tw-ring-opacity, 1));
}

.focus\:ring-offset-2:focus {
  --tw-ring-offset-width: 2px;
}

.focus-visible\:ring-2:focus-visible {
  --tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);
  --tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);
  box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000);
}

.focus-visible\:ring-pink-300:focus-visible {
  --tw-ring-opacity: 1;
  --tw-ring-color: rgb(249 168 212 / var(--tw-ring-opacity, 1));
}

.focus-visible\:ring-offset-2:focus-visible {
  --tw-ring-offset-width: 2px;
}

.prose-headings\:scroll-mt-20 :is(:where(h1, h2, h3, h4, h5, h6, th):not(:where([class~="not-prose"],[class~="not-prose"] *))) {
  scroll-margin-top: 5rem;
}

.prose-a\:text-purple-600 :is(:where(a):not(:where([class~="not-prose"],[class~="not-prose"] *))) {
  --tw-text-opacity: 1;
  color: rgb(147 51 234 / var(--tw-text-opacity, 1));
}

.prose-pre\:bg-zinc-900 :is(:where(pre):not(:where([class~="not-prose"],[class~="not-prose"] *))) {
  --tw-bg-opacity: 1;
  background-color: rgb(24 24 27 / var(--tw-bg-opacity, 1));
}

.prose-pre\:text-zinc-100 :is(:where(pre):not(:where([class~="not-prose"],[class~="not-prose"] *))) {
  --tw-text-opacity: 1;
  color: rgb(244 244 245 / var(--tw-text-opacity, 1));
}

@media (min-width: 640px) {
  .sm\:w-48 {
    width: 12rem;
  }

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

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

  .sm\:items-center {
    align-items: center;
  }

  .sm\:p-10 {
    padding: 2.5rem;
  }

  .sm\:p-4 {
    padding: 1rem;
  }

  .sm\:p-6 {
    padding: 1.5rem;
  }

  .sm\:p-8 {
    padding: 2rem;
  }

  .sm\:px-6 {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }

  .sm\:py-16 {
    padding-top: 4rem;
    padding-bottom: 4rem;
  }

  .sm\:text-2xl {
    font-size: 1.5rem;
    line-height: 2rem;
  }
}

@media (min-width: 768px) {
  .md\:col-span-1 {
    grid-column: span 1 / span 1;
  }

  .md\:col-span-2 {
    grid-column: span 2 / span 2;
  }

  .md\:col-span-3 {
    grid-column: span 3 / span 3;
  }

  .md\:row-span-2 {
    grid-row: span 2 / span 2;
  }

  .md\:mb-0 {
    margin-bottom: 0px;
  }

  .md\:flex {
    display: flex;
  }

  .md\:hidden {
    display: none;
  }

  .md\:max-w-sm {
    max-width: 24rem;
  }

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

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

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

  .md\:grid-cols-\[1fr_112px\] {
    grid-template-columns: 1fr 112px;
  }

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

  .md\:items-end {
    align-items: flex-end;
  }

  .md\:p-7 {
    padding: 1.75rem;
  }

  .md\:p-8 {
    padding: 2rem;
  }

  .md\:py-14 {
    padding-top: 3.5rem;
    padding-bottom: 3.5rem;
  }

  .md\:pr-32 {
    padding-right: 8rem;
  }

  .md\:text-3xl {
    font-size: 1.875rem;
    line-height: 2.25rem;
  }

  .md\:text-5xl {
    font-size: 3rem;
    line-height: 1;
  }

  .md\:text-8xl {
    font-size: 6rem;
    line-height: 1;
  }

  .md\:text-base {
    font-size: 1rem;
    line-height: 1.5rem;
  }

  .md\:text-lg {
    font-size: 1.125rem;
    line-height: 1.75rem;
  }
}

@media (min-width: 1024px) {
  .lg\:min-w-\[120px\] {
    min-width: 120px;
  }

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

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

  .lg\:grid-cols-\[1fr_1\.2fr\] {
    grid-template-columns: 1fr 1.2fr;
  }

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

  .lg\:flex-col {
    flex-direction: column;
  }

  .lg\:items-start {
    align-items: flex-start;
  }
}
