*, ::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: IBM Plex Mono, 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;
}

body {
  min-height: 100vh;
  --tw-bg-opacity: 1;
  background-color: rgb(218 214 209 / var(--tw-bg-opacity, 1));
  --tw-text-opacity: 1;
  color: rgb(43 47 54 / var(--tw-text-opacity, 1));
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background-image:
            linear-gradient(145deg, rgba(240, 238, 234, 0.96), rgba(208, 203, 197, 0.95)),
            repeating-linear-gradient(
              90deg,
              rgba(90, 88, 95, 0.05) 0,
              rgba(90, 88, 95, 0.05) 1px,
              transparent 1px,
              transparent 56px
            ),
            repeating-linear-gradient(
              0deg,
              rgba(44, 43, 47, 0.04) 0,
              rgba(44, 43, 47, 0.04) 1px,
              transparent 1px,
              transparent 56px
            );
}

/* 区块容器 Panels */

.panel-raised {
  position: relative;
  border-radius: 0.375rem;
  border-width: 1px;
  --tw-border-opacity: 1;
  border-color: rgb(149 146 146 / var(--tw-border-opacity, 1));
  --tw-bg-opacity: 1;
  background-color: rgb(230 227 222 / var(--tw-bg-opacity, 1));
  padding: 1.25rem;
  box-shadow:
            8px 8px 16px rgba(78, 76, 80, 0.18),
            -6px -6px 11px rgba(250, 248, 245, 0.78),
            inset 1px 1px 0 rgba(249, 247, 244, 0.82),
            inset -1px -1px 0 rgba(149, 146, 146, 0.2);
}

.panel-double {
  position: relative;
  border-radius: 0.375rem;
  border-width: 1px;
  --tw-border-opacity: 1;
  border-color: rgb(149 146 146 / var(--tw-border-opacity, 1));
  --tw-bg-opacity: 1;
  background-color: rgb(230 227 222 / var(--tw-bg-opacity, 1));
  padding: 1.25rem;
  box-shadow:
            6px 6px 12px rgba(78, 76, 80, 0.16),
            -4px -4px 8px rgba(250, 248, 245, 0.72),
            inset 1px 1px 0 rgba(249, 247, 244, 0.82),
            inset -1px -1px 0 rgba(149, 146, 146, 0.2);
}

.panel-double::after {
  content: "";
  position: absolute;
  inset: 4px;
  border-radius: 0.25rem;
  border: 1px solid rgba(149, 146, 146, 0.5);
  pointer-events: none;
}

.panel-recessed {
  position: relative;
  border-radius: 0.125rem;
  border-width: 1px;
  border-color: rgb(149 146 146 / 0.9);
  --tw-bg-opacity: 1;
  background-color: rgb(204 200 195 / var(--tw-bg-opacity, 1));
  padding: 1rem;
  box-shadow:
            inset 4px 4px 8px rgba(110, 107, 110, 0.2),
            inset -3px -3px 6px rgba(244, 241, 237, 0.72),
            1px 1px 0 rgba(247, 245, 241, 0.55);
}

/* 标题 Titles */

.section-title {
  font-family: Rajdhani, sans-serif;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  --tw-text-opacity: 1;
  color: rgb(64 73 141 / var(--tw-text-opacity, 1));
}

.ghost-title,
h1.ghost-title {
  font-family: Rajdhani, sans-serif;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  --tw-text-opacity: 1;
  color: rgb(43 47 54 / var(--tw-text-opacity, 1));
  margin: 0;
  font-weight: 600;
}

/* 页面标题 - 用于工具页面 H1 */
.page-title {
  font-family: 'Rajdhani', sans-serif;
  font-size: 28px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #1f232a;
  line-height: 1.2;
  margin-bottom: 1.5rem;
  padding: 0 4px;
}

.page-title span {
  color: #7bb542;
}

/* 文章卡片 Article Card */

.card-article {
  position: relative;
  overflow: hidden;
  border-radius: 0.375rem;
  border-width: 1px;
  --tw-border-opacity: 1;
  border-color: rgb(149 146 146 / var(--tw-border-opacity, 1));
  --tw-bg-opacity: 1;
  background-color: rgb(230 227 222 / var(--tw-bg-opacity, 1));
  transition-property: all;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 200ms;
  box-shadow:
            6px 6px 13px rgba(82, 87, 99, 0.2),
            -3px -3px 6px rgba(248, 246, 242, 0.75),
            inset 1px 1px 0 rgba(248, 246, 242, 0.42);
}

.card-article::after {
  content: "";
  position: absolute;
  inset: 3px;
  border-radius: 0.25rem;
  border: 1px solid rgba(149, 146, 146, 0.5);
  pointer-events: none;
  transition: border-color 200ms ease;
}

.card-article:hover {
  box-shadow:
            8px 8px 16px rgba(82, 87, 99, 0.25),
            -4px -4px 8px rgba(248, 246, 242, 0.8),
            inset 1px 1px 0 rgba(248, 246, 242, 0.45);
}

.card-article:hover::after {
  border-color: rgba(148, 181, 79, 0.4);
}

.card-article-copy {
  position: relative;
  overflow: hidden;
  border: 1px solid #959292;
  border-radius: 0.375rem;
  background: #e6e3de;
  box-shadow:
            6px 6px 13px rgba(82, 87, 99, 0.2),
            -3px -3px 6px rgba(248, 246, 242, 0.75),
            inset 1px 1px 0 rgba(248, 246, 242, 0.42);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.card-article-copy::after {
  content: "";
  position: absolute;
  inset: 3px;
  border-radius: 0.25rem;
  border: 1px solid rgba(149, 146, 146, 0.5);
  pointer-events: none;
}

.card-article-copy:hover {
  transform: translateY(-2px);
  box-shadow:
            8px 8px 16px rgba(82, 87, 99, 0.24),
            -4px -4px 8px rgba(248, 246, 242, 0.8),
            inset 1px 1px 0 rgba(248, 246, 242, 0.45);
}

.card-article-copy-hero {
  position: relative;
  min-height: 8.5rem;
  overflow: hidden;
  border-bottom: 1px solid rgba(149, 146, 146, 0.32);
  padding: 1rem 1rem 0.9rem;
  background:
            radial-gradient(circle at 22% 28%, rgba(190, 210, 118, 0.92), rgba(123, 181, 66, 0.9) 28%, rgba(55, 94, 46, 0.92) 64%, rgba(38, 38, 38, 0.96)),
            linear-gradient(145deg, #a8c45d, #708d3d);
}

.card-article-copy-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
            repeating-linear-gradient(0deg, rgba(38, 38, 38, 0.12) 0, rgba(38, 38, 38, 0.12) 1px, transparent 1px, transparent 4px),
            repeating-linear-gradient(90deg, rgba(55, 94, 46, 0.14) 0, rgba(55, 94, 46, 0.14) 1px, transparent 1px, transparent 4px);
  opacity: 0.95;
}

.card-article-copy-top {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.card-article-copy-eyebrow {
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(230, 245, 190, 0.35);
  border-radius: 9999px;
  padding: 0.2rem 0.6rem;
  font-family: "IBM Plex Mono", monospace;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: rgba(242, 240, 237, 0.92);
  background: rgba(38, 38, 38, 0.18);
}

.card-article-copy-no {
  font-family: "IBM Plex Mono", monospace;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: rgba(230, 245, 190, 0.82);
}

.card-article-copy-title {
  position: relative;
  z-index: 1;
  margin-top: 1rem;
  max-width: 14rem;
  font-family: Rajdhani, sans-serif;
  font-size: 1.45rem;
  line-height: 1.05;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(248, 246, 242, 0.96);
}

.card-article-copy-icon {
  position: absolute;
  right: 0.85rem;
  bottom: 0.55rem;
  z-index: 1;
  font-size: 3rem;
  line-height: 1;
  color: rgba(248, 246, 242, 0.74);
}

.card-article-copy-body {
  padding: 1rem;
}

.card-article-copy-text {
  font-size: 13px;
  line-height: 1.7;
  color: #4e4c50;
}

.card-article-copy-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: 0.9rem;
}

.card-article-copy-item {
  display: flex;
  gap: 0.55rem;
  align-items: flex-start;
  font-size: 12px;
  line-height: 1.55;
  color: #4e4c50;
}

.card-article-copy-dot {
  flex: 0 0 auto;
  width: 0.55rem;
  height: 0.55rem;
  margin-top: 0.3rem;
  border-radius: 9999px;
  background: linear-gradient(145deg, #bed26c, #8ba153);
  box-shadow: 0 0 0 1px rgba(55, 94, 46, 0.22);
}

.card-article-copy-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-top: 1rem;
  padding-top: 0.85rem;
  border-top: 1px solid rgba(149, 146, 146, 0.24);
}

.card-article-copy-meta {
  font-family: "IBM Plex Mono", monospace;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: rgba(82, 87, 99, 0.56);
}

/* 面包屑 Breadcrumb - 键盘风格 */

.breadcrumb {
  display: flex;
  gap: 3px;
  align-items: center;
}

.breadcrumb .key {
  background-color: #f0f0f0;
  border: 1px solid rgba(0, 0, 0, 0.2);
  border-radius: 6px;
  box-shadow:
            rgba(0, 0, 0, 0.4) 0px 2px 4px,
            rgba(0, 0, 0, 0.3) 0px 7px 13px -3px,
            rgba(0, 0, 0, 0.2) 0px -1px 0px inset;
  min-width: 35px;
  text-align: center;
  padding: 8px 10px;
  font-size: 11px;
  color: #333;
  cursor: pointer;
  transition: box-shadow 0.2s, background-color 0.2s, transform 0.1s;
  text-decoration: none;
}

.breadcrumb .key:hover {
  background-color: #e0e0e0;
  transform: translateY(-2px);
  box-shadow:
            rgba(0, 0, 0, 0.4) 0px 2px 5px,
            rgba(0, 0, 0, 0.3) 0px 7px 16px -3px,
            rgba(0, 0, 0, 0.2) 0px -1px 0px inset;
}

.breadcrumb .key:active {
  transform: translateY(1px);
  box-shadow:
            rgba(0, 0, 0, 0.4) 0px 2px 3px,
            rgba(0, 0, 0, 0.3) 0px 5px 10px -3px,
            rgba(0, 0, 0, 0.2) 0px -1px 0px inset;
}

.breadcrumb .key.long {
  width: 150px;
}

.breadcrumb .separator {
  color: #888;
  font-size: 12px;
  padding: 0 4px;
}

.tag-green {
  display: inline-flex;
  align-items: center;
  border-radius: 0.125rem;
  border-width: 1px;
  border-color: rgb(148 181 79 / 0.7);
  padding-left: 0.5rem;
  padding-right: 0.5rem;
  padding-top: 0.25rem;
  padding-bottom: 0.25rem;
  font-family: IBM Plex Mono, monospace;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  --tw-text-opacity: 1;
  color: rgb(31 35 42 / var(--tw-text-opacity, 1));
  background: linear-gradient(145deg, #bed26c, #a8c45d);
  box-shadow:
            2px 2px 5px rgba(93, 90, 94, 0.2),
            -2px -2px 4px rgba(232, 243, 193, 0.58);
}

/* 计时器组件 Timer - Game Boy 风格 */

.timer-display {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  padding: 32px;
}

.timer-ring-wrapper {
  position: relative;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  border: 2px solid #b3afab;
  box-shadow:
            6px 6px 12px rgba(78, 76, 80, 0.16),
            -4px -4px 8px rgba(250, 248, 245, 0.72),
            inset 1px 1px 0 rgba(249, 247, 244, 0.82),
            inset -1px -1px 0 rgba(149, 146, 146, 0.2);
}

.timer-ring-wrapper::before {
  content: "";
  position: absolute;
  inset: 5px;
  border-radius: 50%;
  border: 1px solid rgba(149, 146, 146, 0.5);
  pointer-events: none;
}

.timer-ring {
  position: absolute;
  top: 10px;
  left: 10px;
  right: 10px;
  bottom: 10px;
  border-radius: 50%;
  background: #a8c45d;
  box-shadow:
            inset 1px 1px 0 rgba(249, 247, 244, 0.82),
            inset -1px -1px 0 rgba(149, 146, 146, 0.2),
            inset 0 0 20px rgba(38, 38, 38, 0.25);
  overflow: hidden;
}

.timer-ring::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
            repeating-linear-gradient(0deg, rgba(38, 38, 38, 0.12) 0, rgba(38, 38, 38, 0.12) 1px, transparent 1px, transparent 3px),
            repeating-linear-gradient(90deg, rgba(55, 94, 46, 0.15) 0, rgba(55, 94, 46, 0.15) 1px, transparent 1px, transparent 3px);
  pointer-events: none;
}

.timer-svg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}

.timer-bg {
  fill: none;
  stroke: rgba(38, 38, 38, 0.15);
  stroke-width: 8;
}

.timer-progress {
  fill: none;
  stroke: rgba(243, 181, 25, 0.9);
  stroke-width: 8;
  stroke-linecap: round;
  stroke-dasharray: 565.486;
  stroke-dashoffset: calc(565.486 * (1 - var(--progress, 0.65)));
  transition: stroke-dashoffset 0.5s ease;
  filter: drop-shadow(0 0 8px rgba(243, 181, 25, 0.5));
}

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

.timer-value {
  font-family: 'Rajdhani', sans-serif;
  font-size: 72px;
  font-weight: 700;
  color: #1a3a0a;
  line-height: 1;
  text-shadow: 0 0 10px rgba(190, 210, 118, 0.6), 1px 1px 0 #2a4818;
}

.timer-unit {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 16px;
  color: #2a4818;
  text-shadow: 0 0 6px rgba(190, 210, 118, 0.5);
}

.timer-status {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 12px;
  color: #1a3a0a;
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #2a4818;
}

.status-dot.status-active {
  background: #1a3a0a;
  box-shadow: 0 0 8px rgba(190, 210, 118, 0.8);
  animation: statusPulse 1s ease-in-out infinite;
}

@keyframes statusPulse {
  0%, 100% {
    opacity: 1;
  }

  50% {
    opacity: 0.5;
  }
}

.timer-controls {
  display: flex;
  justify-content: center;
  gap: 12px;
}

.timer-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 20px;
  border-radius: 4px;
  font-family: 'Rajdhani', sans-serif;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  background: linear-gradient(145deg, #ebe8e3, #d6d2cc);
  border: 1px solid #b3afab;
  color: #2b2f36;
  box-shadow: 3px 3px 6px rgba(82, 87, 99, 0.2), -2px -2px 4px rgba(248, 246, 242, 0.6);
}

.timer-btn:hover {
  transform: translateY(-1px);
  box-shadow: 4px 4px 8px rgba(82, 87, 99, 0.25), -2px -2px 5px rgba(248, 246, 242, 0.7);
}

.timer-btn-primary {
  background: linear-gradient(145deg, #bed26c, #94b54f);
  border-color: #708d3d;
}

.timer-btn-secondary {
  background: linear-gradient(145deg, #6870bb, #40498d);
  color: #f2f0ed;
  border-color: #313975;
}

.timer-btn-outline {
  background: linear-gradient(145deg, #e6e3de, #d6d2cc);
}

.timer-presets {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: linear-gradient(145deg, #ebe8e3, #d6d2cc);
  border: 1px solid #b3afab;
  border-radius: 6px;
  box-shadow: 3px 3px 6px rgba(82, 87, 99, 0.15), -2px -2px 4px rgba(248, 246, 242, 0.6);
}

.preset-label {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 12px;
  color: #4e4c50;
}

.preset-buttons {
  display: flex;
  gap: 6px;
}

.preset-btn {
  padding: 6px 12px;
  border-radius: 4px;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  color: #4e4c50;
  background: linear-gradient(145deg, #e6e3de, #d6d2cc);
  border: 1px solid #b3afab;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 2px 2px 4px rgba(82, 87, 99, 0.15), -1px -1px 3px rgba(248, 246, 242, 0.5);
}

.preset-btn:hover {
  transform: translateY(-1px);
}

.preset-btn-active {
  background: linear-gradient(145deg, #bed26c, #94b54f);
  color: #1a3a0a;
  border-color: #708d3d;
}

.ms-timer {
  padding: 16px;
  background: linear-gradient(145deg, #ebe8e3, #d6d2cc);
  border: 1px solid #b3afab;
  border-radius: 12px;
  box-shadow: 4px 4px 8px rgba(82, 87, 99, 0.15), -2px -2px 4px rgba(248, 246, 242, 0.6);
}

.ms-display {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 12px;
  background: radial-gradient(circle at 30% 40%, #a8c45d, #708d3d);
  border-radius: 8px;
  border: 3px solid #525763;
  box-shadow: inset 0 0 0 2px rgba(38, 38, 38, 0.2), inset 0 0 15px rgba(38, 38, 38, 0.2);
}

.ms-value {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 32px;
  font-weight: 600;
  color: #1a3a0a;
  letter-spacing: 0.05em;
  text-shadow: 0 0 6px rgba(190, 210, 118, 0.5), 1px 1px 0 #2a4818;
}

.ms-label {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  color: #2a4818;
  text-shadow: 0 0 4px rgba(190, 210, 118, 0.4);
}

.lap-timer {
  padding: 16px;
  background: linear-gradient(145deg, #ebe8e3, #d6d2cc);
  border: 1px solid #b3afab;
  border-radius: 8px;
  box-shadow: 3px 3px 6px rgba(82, 87, 99, 0.15), -2px -2px 4px rgba(248, 246, 242, 0.6);
}

.lap-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.lap-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 12px;
  background: linear-gradient(145deg, #f2f0ed, #e6e3de);
  border: 1px solid #ccc8c3;
  border-radius: 4px;
}

.lap-item-best {
  background: linear-gradient(145deg, rgba(190, 210, 118, 0.4), rgba(137, 161, 83, 0.3));
  border-color: #708d3d;
}

.lap-num {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  color: #747276;
}

.lap-time {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 14px;
  font-weight: 600;
  color: #2b2f36;
}

.lap-delta {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  padding: 2px 6px;
  border-radius: 3px;
}

.lap-delta-fast {
  background: rgba(190, 210, 118, 0.3);
  color: #3a6a1a;
}

.lap-delta-slow {
  background: rgba(216, 91, 161, 0.2);
  color: #8a2a6a;
}

/* 鼠标点击区域组件 Mouse Click Area - 复古鼠标风格 */

.click-area {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  padding: 24px;
  background: rgb(239, 236, 233);
  border: 1px solid #b3afab;
  border-radius: 8px;
  box-shadow: 3px 3px 6px rgba(82, 87, 99, 0.15), -2px -2px 4px rgba(248, 246, 242, 0.6);
}

.mouse-container {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.mouse {
  width: 240px;
  height: 360px;
  position: relative;
}

.mouse-body {
  position: absolute;
  bottom: 0;
  width: 100%;
  height: 310px;
  background: linear-gradient(to bottom, rgb(231, 227, 217), rgb(219, 214, 201));
  border-radius: 0 0 120px 120px;
  border: 1px solid #a0a0a0;
  border-top: none;
  cursor: pointer;
  transition: transform 0.05s;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
}

.mouse-buttons {
  position: absolute;
  top: 20px;
  width: calc(100% + 10px);
  left: -5px;
  height: 110px;
  display: flex;
  gap: 6px;
  z-index: 1;
}

.mouse-btn {
  flex: 1;
  height: 100%;
  background: rgb(174, 169, 159);
  cursor: pointer;
  border: 1px solid rgb(170, 165, 156);
}

.mouse-btn.left {
  border-radius: 6px 6px 4px 4px;
}

.mouse-btn.right {
  border-radius: 6px 6px 4px 4px;
}

.divider {
  display: none;
}

.click-inner {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  pointer-events: none;
}

.click-icon {
  font-size: 32px;
  line-height: 1;
}

.click-hint {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10px;
  color: #4e4c50;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.click-stats {
  display: flex;
  gap: 24px;
}

.click-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.click-stat-value {
  font-family: 'Rajdhani', sans-serif;
  font-size: 24px;
  font-weight: 700;
  color: #1f232a;
}

.click-stat-label {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10px;
  color: #747276;
  text-transform: uppercase;
}

/* 按钮 Buttons */

.core-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border-radius: 0.375rem;
  border-width: 1px;
  --tw-border-opacity: 1;
  border-color: rgb(149 146 146 / var(--tw-border-opacity, 1));
  padding-left: 1rem;
  padding-right: 1rem;
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
  font-family: Rajdhani, sans-serif;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  --tw-text-opacity: 1;
  color: rgb(43 47 54 / var(--tw-text-opacity, 1));
  transition-property: all;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
  background: linear-gradient(145deg, #ebe8e3, #d6d2cc);
  box-shadow:
            5px 5px 10px rgba(93, 90, 94, 0.2),
            -3px -3px 6px rgba(249, 247, 243, 0.78),
            inset 1px 1px 0 rgba(250, 248, 246, 0.7),
            inset -1px -1px 0 rgba(149, 146, 146, 0.35);
}

.core-btn:active {
  box-shadow:
            inset 3px 3px 6px rgba(111, 108, 111, 0.24),
            inset -2px -2px 5px rgba(248, 246, 242, 0.6);
}

.core-btn-green {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border-radius: 0.375rem;
  border-width: 1px;
  --tw-border-opacity: 1;
  border-color: rgb(149 146 146 / var(--tw-border-opacity, 1));
  padding-left: 1rem;
  padding-right: 1rem;
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
  font-family: Rajdhani, sans-serif;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  --tw-text-opacity: 1;
  color: rgb(43 47 54 / var(--tw-text-opacity, 1));
  transition-property: all;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
  background: linear-gradient(145deg, #ebe8e3, #d6d2cc);
  box-shadow:
            5px 5px 10px rgba(93, 90, 94, 0.2),
            -3px -3px 6px rgba(249, 247, 243, 0.78),
            inset 1px 1px 0 rgba(250, 248, 246, 0.7),
            inset -1px -1px 0 rgba(149, 146, 146, 0.35);
}

.core-btn-green:active {
  box-shadow:
            inset 3px 3px 6px rgba(111, 108, 111, 0.24),
            inset -2px -2px 5px rgba(248, 246, 242, 0.6);
}

.core-btn-green {
  border-color: rgb(148 181 79 / 0.7);
  background: linear-gradient(145deg, #bed26c, #8ba153);
  color: #1f232a;
  box-shadow:
            5px 5px 10px rgba(70, 90, 40, 0.25),
            -3px -3px 6px rgba(220, 240, 180, 0.6),
            inset 1px 1px 0 rgba(230, 245, 190, 0.55),
            inset -1px -1px 0 rgba(100, 130, 60, 0.35);
}

.core-btn-purple {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border-radius: 0.375rem;
  border-width: 1px;
  --tw-border-opacity: 1;
  border-color: rgb(149 146 146 / var(--tw-border-opacity, 1));
  padding-left: 1rem;
  padding-right: 1rem;
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
  font-family: Rajdhani, sans-serif;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  --tw-text-opacity: 1;
  color: rgb(43 47 54 / var(--tw-text-opacity, 1));
  transition-property: all;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
  background: linear-gradient(145deg, #ebe8e3, #d6d2cc);
  box-shadow:
            5px 5px 10px rgba(93, 90, 94, 0.2),
            -3px -3px 6px rgba(249, 247, 243, 0.78),
            inset 1px 1px 0 rgba(250, 248, 246, 0.7),
            inset -1px -1px 0 rgba(149, 146, 146, 0.35);
}

.core-btn-purple:active {
  box-shadow:
            inset 3px 3px 6px rgba(111, 108, 111, 0.24),
            inset -2px -2px 5px rgba(248, 246, 242, 0.6);
}

.core-btn-purple {
  border-color: rgb(195 66 141 / 0.6);
  background: linear-gradient(145deg, #d85ba1, #ab2f79);
  color: #2b2f36;
  box-shadow:
            6px 6px 11px rgba(86, 36, 66, 0.28),
            -3px -3px 6px rgba(248, 216, 232, 0.52),
            inset 1px 1px 0 rgba(245, 185, 220, 0.5),
            inset -1px -1px 0 rgba(143, 36, 95, 0.4);
}

.outline-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.125rem;
  border-width: 1px;
  --tw-border-opacity: 1;
  border-color: rgb(149 146 146 / var(--tw-border-opacity, 1));
  padding-left: 0.75rem;
  padding-right: 0.75rem;
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
  font-family: Rajdhani, sans-serif;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  --tw-text-opacity: 1;
  color: rgb(64 73 141 / var(--tw-text-opacity, 1));
  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;
  background: rgba(247, 245, 241, 0.34);
}

.outline-btn-green {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.125rem;
  border-width: 1px;
  border-color: rgb(148 181 79 / 0.7);
  padding-left: 0.75rem;
  padding-right: 0.75rem;
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
  font-family: Rajdhani, sans-serif;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  --tw-text-opacity: 1;
  color: rgb(112 141 61 / var(--tw-text-opacity, 1));
  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;
  background: rgba(190, 210, 108, 0.18);
}

.outline-btn-green:hover {
  --tw-border-opacity: 1;
  border-color: rgb(112 141 61 / var(--tw-border-opacity, 1));
  background-color: rgb(168 196 93 / 0.25);
  --tw-text-opacity: 1;
  color: rgb(112 141 61 / var(--tw-text-opacity, 1));
}

/* 表单 Forms */

.core-input {
  width: 100%;
  border-radius: 0.125rem;
  border-width: 1px;
  --tw-border-opacity: 1;
  border-color: rgb(179 175 171 / var(--tw-border-opacity, 1));
  --tw-bg-opacity: 1;
  background-color: rgb(204 200 195 / var(--tw-bg-opacity, 1));
  padding-left: 0.75rem;
  padding-right: 0.75rem;
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
  font-size: 14px;
  --tw-text-opacity: 1;
  color: rgb(43 47 54 / var(--tw-text-opacity, 1));
  outline: 2px solid transparent;
  outline-offset: 2px;
  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;
}

.core-input::-moz-placeholder {
  --tw-text-opacity: 1;
  color: rgb(116 114 118 / var(--tw-text-opacity, 1));
}

.core-input::placeholder {
  --tw-text-opacity: 1;
  color: rgb(116 114 118 / var(--tw-text-opacity, 1));
}

.core-input {
  box-shadow:
            inset 3px 3px 6px rgba(107, 104, 107, 0.22),
            inset -3px -3px 6px rgba(248, 245, 241, 0.66);
}

/* 标签 Badges */

.badge {
  display: inline-flex;
  align-items: center;
  border-radius: 9999px;
  border-width: 1px;
  --tw-border-opacity: 1;
  border-color: rgb(149 146 146 / var(--tw-border-opacity, 1));
  padding-left: 0.5rem;
  padding-right: 0.5rem;
  padding-top: 0.25rem;
  padding-bottom: 0.25rem;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  --tw-text-opacity: 1;
  color: rgb(43 47 54 / var(--tw-text-opacity, 1));
  background: rgba(247, 245, 241, 0.5);
}

.badge-green {
  border-color: rgb(148 181 79 / 0.7);
  --tw-text-opacity: 1;
  color: rgb(112 141 61 / var(--tw-text-opacity, 1));
  background: rgba(190, 210, 118, 0.3);
}

.badge-purple {
  border-color: rgb(195 66 141 / 0.7);
  --tw-text-opacity: 1;
  color: rgb(143 36 95 / var(--tw-text-opacity, 1));
  background: rgba(216, 91, 161, 0.18);
}

/* 按键 Keycaps */

.keycap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.125rem;
  border-width: 1px;
  --tw-border-opacity: 1;
  border-color: rgb(149 146 146 / var(--tw-border-opacity, 1));
  padding-left: 0.75rem;
  padding-right: 0.75rem;
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
  font-family: Rajdhani, sans-serif;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  --tw-text-opacity: 1;
  color: rgb(31 35 42 / var(--tw-text-opacity, 1));
  background: linear-gradient(145deg, #ebe8e3, #d6d2cc);
  box-shadow:
            inset 1px 1px 0 rgba(250, 248, 246, 0.7),
            inset -1px -1px 0 rgba(149, 146, 146, 0.35);
}

/* 分割线 Divider */

.divider-line {
  margin-top: 1rem;
  margin-bottom: 1rem;
  height: 1px;
  width: 100%;
  background-image: linear-gradient(90deg, transparent, rgba(123, 181, 66, 0.5), transparent);
}

/* 卡片 Cards */

.cms-card {
  border-radius: 0.375rem;
  border-width: 1px;
  --tw-border-opacity: 1;
  border-color: rgb(149 146 146 / var(--tw-border-opacity, 1));
  --tw-bg-opacity: 1;
  background-color: rgb(230 227 222 / var(--tw-bg-opacity, 1));
  padding: 1rem;
  box-shadow:
            6px 6px 12px rgba(82, 87, 99, 0.16),
            -3px -3px 6px rgba(248, 246, 242, 0.7),
            inset 1px 1px 0 rgba(248, 246, 242, 0.5);
}

.cms-card-title {
  font-family: Rajdhani, sans-serif;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  --tw-text-opacity: 1;
  color: rgb(43 47 54 / var(--tw-text-opacity, 1));
}

.cms-card-text {
  margin-top: 0.5rem;
  font-size: 14px;
  line-height: 1.625;
  --tw-text-opacity: 1;
  color: rgb(116 114 118 / var(--tw-text-opacity, 1));
}

.cms-card-green {
  border-color: rgb(148 181 79 / 0.7);
  background: linear-gradient(145deg, rgba(190, 210, 118, 0.32), rgba(137, 161, 83, 0.2));
}

.cms-card-purple {
  border-color: rgb(195 66 141 / 0.6);
  background: linear-gradient(145deg, rgba(216, 91, 161, 0.18), rgba(171, 47, 121, 0.12));
}

.cms-card-deep {
  border-color: rgb(148 181 79 / 0.7);
  background: linear-gradient(145deg, rgba(38, 38, 38, 0.92), rgba(55, 94, 46, 0.85));
  color: #e6e3de;
}

/* Mini LCD Card - 迷你 LCD 网格卡片 */

.mini-lcd-card {
  position: relative;
  overflow: hidden;
  border: 1px solid #959292;
  border-radius: 0.375rem;
  background: #e6e3de;
  box-shadow:
    6px 6px 13px rgba(82, 87, 99, 0.2),
    -3px -3px 6px rgba(248, 246, 242, 0.75),
    inset 1px 1px 0 rgba(248, 246, 242, 0.42);
  min-width: 200px;
}

.mini-lcd-card::after {
  content: "";
  position: absolute;
  inset: 3px;
  border-radius: 0.25rem;
  border: 1px solid rgba(149, 146, 146, 0.5);
  pointer-events: none;
}

.mini-lcd-hero {
  position: relative;
  min-height: 5rem;
  overflow: hidden;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  /* 第一层：深绿色渐变背景 */
  background:
    radial-gradient(circle at 22% 28%, rgba(190, 210, 118, 0.92), rgba(123, 181, 66, 0.9) 28%, rgba(55, 94, 46, 0.92) 64%, rgba(38, 38, 38, 0.96)),
    linear-gradient(145deg, #a8c45d, #708d3d);
}

/* 第二层：网格覆盖 */
.mini-lcd-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  /* 创建网格效果 */
  background:
    repeating-linear-gradient(0deg, rgba(38, 38, 38, 0.12) 0, rgba(38, 38, 38, 0.12) 1px, transparent 1px, transparent 4px),
    repeating-linear-gradient(90deg, rgba(55, 94, 46, 0.14) 0, rgba(55, 94, 46, 0.14) 1px, transparent 1px, transparent 4px);
  opacity: 0.95;
}

/* 第三层：标签文字（半透明，显示网格） */
.mini-lcd-label {
  position: relative;
  z-index: 1;
  font-family: "IBM Plex Mono", monospace;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: rgba(242, 240, 237, 0.6);
}

/* 第三层：数值文字（半透明，显示网格） */
.mini-lcd-value {
  position: relative;
  z-index: 1;
  font-family: 'Orbitron', 'Courier New', monospace;
  font-size: 2rem;
  font-weight: 700;
  color: rgba(248, 246, 242, 0.85);
  letter-spacing: 3px;
  text-shadow: 0 0 10px rgba(190, 210, 118, 0.3);
}

.micro-grid {
  display: grid;
  gap: 1rem;
}

.micro-card {
  position: relative;
  overflow: hidden;
  border: 1px solid #959292;
  border-radius: 0.375rem;
  background: linear-gradient(145deg, #ebe8e3, #d7d3cd);
  padding: 1rem;
  box-shadow:
            6px 6px 12px rgba(82, 87, 99, 0.14),
            -3px -3px 6px rgba(248, 246, 242, 0.7),
            inset 1px 1px 0 rgba(248, 246, 242, 0.52);
}

.micro-card::after {
  content: "";
  position: absolute;
  inset: 4px;
  border: 1px solid rgba(82, 87, 99, 0.12);
  border-radius: 0.2rem;
  pointer-events: none;
}

.micro-card-screen {
  background:
            linear-gradient(145deg, rgba(234, 238, 221, 0.98), rgba(205, 215, 178, 0.82)),
            repeating-linear-gradient(
              0deg,
              rgba(17, 25, 123, 0.035) 0,
              rgba(17, 25, 123, 0.035) 1px,
              transparent 1px,
              transparent 7px
            );
}

.micro-card-panel {
  background:
            linear-gradient(145deg, #ece9e4, #d4d0ca),
            repeating-linear-gradient(
              90deg,
              rgba(82, 87, 99, 0.03) 0,
              rgba(82, 87, 99, 0.03) 1px,
              transparent 1px,
              transparent 18px
            );
}

.micro-card-signal {
  background:
            linear-gradient(145deg, rgba(239, 235, 231, 0.98), rgba(215, 211, 204, 0.96));
}

.micro-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.micro-card-kicker {
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(148, 181, 79, 0.58);
  border-radius: 9999px;
  padding: 0.2rem 0.6rem;
  font-family: "IBM Plex Mono", monospace;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: #708d3d;
  background: rgba(190, 210, 118, 0.18);
}

.micro-card-index {
  font-family: "IBM Plex Mono", monospace;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: rgba(82, 87, 99, 0.5);
}

.micro-card-title {
  margin-top: 0.9rem;
  font-family: Rajdhani, sans-serif;
  font-size: 22px;
  line-height: 1.1;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #1f232a;
}

.micro-card-body {
  margin-top: 0.85rem;
  font-size: 14px;
  line-height: 1.75;
  color: #4e4c50;
}

.micro-card-steps {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  margin-top: 0.9rem;
}

.micro-step {
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
  border-top: 1px solid rgba(149, 146, 146, 0.24);
  padding-top: 0.55rem;
  font-size: 13px;
  line-height: 1.6;
  color: #4e4c50;
}

.micro-step-no {
  flex: 0 0 auto;
  width: 1.6rem;
  height: 1.6rem;
  border: 1px solid rgba(148, 181, 79, 0.55);
  border-radius: 9999px;
  font-family: Rajdhani, sans-serif;
  font-size: 13px;
  line-height: 1.5rem;
  text-align: center;
  color: #708d3d;
  background: rgba(190, 210, 118, 0.16);
}

.micro-card-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-top: 1rem;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(149, 146, 146, 0.22);
}

.micro-card-meta {
  font-family: "IBM Plex Mono", monospace;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: rgba(82, 87, 99, 0.54);
}

.micro-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 0.9rem;
}

.micro-line {
  margin-top: 0.9rem;
  height: 3.5rem;
  border: 1px solid rgba(149, 146, 146, 0.24);
  border-radius: 0.2rem;
  background:
            linear-gradient(180deg, rgba(255, 255, 255, 0.18), transparent),
            repeating-linear-gradient(
              0deg,
              rgba(82, 87, 99, 0.06) 0,
              rgba(82, 87, 99, 0.06) 1px,
              transparent 1px,
              transparent 10px
            );
}

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

/* 胶囊 Pills */

.pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border-radius: 9999px;
  border-width: 1px;
  padding-left: 1rem;
  padding-right: 1rem;
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
  font-family: Rajdhani, sans-serif;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  transition-property: all;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
  background: rgba(239, 236, 231, 0.6);
}

.pill-green-soft {
  border-color: rgb(148 181 79 / 0.7);
  --tw-text-opacity: 1;
  color: rgb(112 141 61 / var(--tw-text-opacity, 1));
  background: linear-gradient(145deg, rgba(190, 210, 118, 0.45), rgba(137, 161, 83, 0.25));
}

.pill-green-deep {
  border-color: rgb(148 181 79 / 0.7);
  --tw-text-opacity: 1;
  color: rgb(31 35 42 / var(--tw-text-opacity, 1));
  background: linear-gradient(145deg, rgba(55, 94, 46, 0.55), rgba(38, 38, 38, 0.4));
}

.pill-purple {
  border-color: rgb(195 66 141 / 0.7);
  --tw-text-opacity: 1;
  color: rgb(143 36 95 / var(--tw-text-opacity, 1));
  background: linear-gradient(145deg, rgba(216, 91, 161, 0.22), rgba(171, 47, 121, 0.14));
}

/* 表格 Table */

.table-plain th {
  border-bottom-width: 1px;
  --tw-border-opacity: 1;
  border-color: rgb(179 175 171 / var(--tw-border-opacity, 1));
  padding-left: 0.75rem;
  padding-right: 0.75rem;
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
  text-align: left;
  font-family: Rajdhani, sans-serif;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  --tw-text-opacity: 1;
  color: rgb(64 73 141 / var(--tw-text-opacity, 1));
}

.table-plain td {
  border-bottom-width: 1px;
  border-color: rgb(179 175 171 / 0.8);
  padding-left: 0.75rem;
  padding-right: 0.75rem;
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
  font-size: 14px;
  --tw-text-opacity: 1;
  color: rgb(43 47 54 / var(--tw-text-opacity, 1));
}

/* 菜单 Menu */

.menu-rail > :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));
}

.menu-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-radius: 0.125rem;
  border-width: 1px;
  --tw-border-opacity: 1;
  border-color: rgb(179 175 171 / var(--tw-border-opacity, 1));
  --tw-bg-opacity: 1;
  background-color: rgb(230 227 222 / var(--tw-bg-opacity, 1));
  padding-left: 0.75rem;
  padding-right: 0.75rem;
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}

.menu-item-active {
  border-color: rgb(148 181 79 / 0.7);
  background-color: rgb(168 196 93 / 0.2);
  --tw-text-opacity: 1;
  color: rgb(31 35 42 / var(--tw-text-opacity, 1));
}

/* 折叠菜单 Collapsible Menu */

.cat-group {
  position: relative;
}

.cat-toggle {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.cat-strip {
  position: relative;
  display: flex;
  width: 100%;
  align-items: center;
  gap: 0.75rem;
  overflow: hidden;
  border-radius: 0.125rem;
  border-width: 1px;
  --tw-border-opacity: 1;
  border-color: rgb(149 146 146 / var(--tw-border-opacity, 1));
  padding-left: 0.75rem;
  padding-right: 0.75rem;
  padding-top: 0.625rem;
  padding-bottom: 0.625rem;
  background:
            linear-gradient(145deg, #ebe8e3, #d6d2cc),
            repeating-linear-gradient(
              90deg,
              rgba(82, 87, 99, 0.03) 0,
              rgba(82, 87, 99, 0.03) 1px,
              transparent 1px,
              transparent 18px
            );
  box-shadow:
            4px 4px 8px rgba(82, 87, 99, 0.12),
            -2px -2px 4px rgba(248, 246, 242, 0.45),
            inset 1px 1px 0 rgba(248, 246, 242, 0.5),
            inset -1px -1px 0 rgba(110, 107, 110, 0.14);
  cursor: pointer;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
  transition: border-color 220ms ease, box-shadow 220ms ease, transform 220ms ease;
}

.cat-strip::after {
  content: "";
  position: absolute;
  inset: 4px;
  border: 1px solid rgba(82, 87, 99, 0.16);
  border-radius: 2px;
  pointer-events: none;
}

.cat-lamp {
  position: relative;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #f4f4f4;
  box-shadow:
            0 0 4px 1px rgba(165, 15, 15, 0.85),
            0 0 2px 1px rgba(165, 15, 15, 0.75);
  flex: 0 0 auto;
  overflow: visible;
  z-index: 1;
  isolation: isolate;
  transition: box-shadow 220ms ease;
}

.cat-lamp-particles,
        .cat-lamp-sparks {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 0;
  height: 0;
  pointer-events: none;
  z-index: 4;
}

.cat-lamp-particles span {
  position: absolute;
  width: 5px;
  height: 5px;
  border-radius: 999px;
  background: rgba(190, 210, 118, 0.95);
  opacity: 0;
  box-shadow:
            0 0 10px rgba(123, 181, 66, 0.98),
            0 0 5px rgba(190, 210, 118, 0.95);
}

.cat-lamp-sparks span {
  position: absolute;
  width: 22px;
  height: 3px;
  background: linear-gradient(90deg, rgba(190, 210, 118, 0.98), rgba(123, 181, 66, 0.85), transparent);
  opacity: 0;
  transform-origin: left center;
  filter: drop-shadow(0 0 7px rgba(123, 181, 66, 0.95));
}

.cat-toggle:checked ~ .cat-strip .cat-lamp-particles span {
  animation: catLampParticle 1350ms cubic-bezier(0.15, 0.8, 0.2, 1);
}

.cat-toggle:checked ~ .cat-strip .cat-lamp-sparks span {
  animation: catLampSpark 1250ms cubic-bezier(0.12, 0.75, 0.2, 1);
}

.cat-lamp-burst {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 10px;
  height: 10px;
  border-radius: 999px;
  border: 2px solid rgba(190, 210, 118, 0.9);
  transform: translate(-50%, -50%) scale(0.3);
  opacity: 0;
  pointer-events: none;
  z-index: 3;
  box-shadow: 0 0 10px rgba(123, 181, 66, 0.8);
}

.cat-toggle:checked ~ .cat-strip .cat-lamp-burst {
  animation: catLampBurst 1150ms ease-out;
}

.cat-lamp-particles span:nth-child(1) {
  --x: 16px;
  --y: -4px;
}

.cat-lamp-particles span:nth-child(2) {
  --x: -16px;
  --y: -4px;
}

.cat-lamp-particles span:nth-child(3) {
  --x: 14px;
  --y: 10px;
}

.cat-lamp-particles span:nth-child(4) {
  --x: -14px;
  --y: 10px;
}

.cat-lamp-particles span:nth-child(5) {
  --x: 5px;
  --y: -17px;
}

.cat-lamp-particles span:nth-child(6) {
  --x: -5px;
  --y: 18px;
}

.cat-lamp-particles span:nth-child(7) {
  --x: 20px;
  --y: 4px;
}

.cat-lamp-particles span:nth-child(8) {
  --x: -20px;
  --y: 4px;
}

.cat-lamp-particles span:nth-child(9) {
  --x: 9px;
  --y: -19px;
}

.cat-lamp-particles span:nth-child(10) {
  --x: -9px;
  --y: -19px;
}

.cat-lamp-particles span:nth-child(11) {
  --x: 12px;
  --y: 17px;
}

.cat-lamp-particles span:nth-child(12) {
  --x: -12px;
  --y: 17px;
}

.cat-lamp-sparks span:nth-child(1) {
  --r: 0deg;
}

.cat-lamp-sparks span:nth-child(2) {
  --r: 90deg;
}

.cat-lamp-sparks span:nth-child(3) {
  --r: 180deg;
}

.cat-lamp-sparks span:nth-child(4) {
  --r: 270deg;
}

.cat-lamp-sparks span:nth-child(5) {
  --r: 45deg;
}

.cat-lamp-sparks span:nth-child(6) {
  --r: 135deg;
}

.cat-lamp-sparks span:nth-child(7) {
  --r: 225deg;
}

.cat-lamp-sparks span:nth-child(8) {
  --r: 315deg;
}

.cat-title {
  flex: 1 1 0%;
  font-family: Rajdhani, sans-serif;
  font-size: 18px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  --tw-text-opacity: 1;
  color: rgb(43 47 54 / var(--tw-text-opacity, 1));
}

.cat-module {
  display: flex;
  height: 2rem;
  width: 74px;
  align-items: center;
  justify-content: center;
  border-radius: 0.125rem;
  border-width: 1px;
  --tw-border-opacity: 1;
  border-color: rgb(149 146 146 / var(--tw-border-opacity, 1));
  background:
            linear-gradient(145deg, #c3c1bc, #afaca7),
            repeating-linear-gradient(
              0deg,
              rgba(82, 87, 99, 0.06) 0,
              rgba(82, 87, 99, 0.06) 1px,
              transparent 1px,
              transparent 5px
            );
  box-shadow:
            inset 1px 1px 0 rgba(248, 246, 242, 0.4),
            inset -1px -1px 0 rgba(110, 107, 110, 0.25);
  flex: 0 0 auto;
}

.cat-icon-slot {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}

.icon-kb {
  width: 40px;
  height: 22px;
  border-radius: 3px;
  border: 1px solid rgba(82, 87, 99, 0.35);
  background:
            linear-gradient(180deg, rgba(248, 246, 242, 0.65), rgba(188, 185, 180, 0.4));
  padding: 3px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 2px;
  box-shadow: inset 1px 1px 0 rgba(248, 246, 242, 0.45);
}

.icon-kb span {
  border-radius: 1px;
  background: rgba(82, 87, 99, 0.5);
}

.module-mouse {
  position: relative;
}

.module-mouse .m-body {
  width: 18px;
  height: 22px;
  border-radius: 8px;
  border: 1px solid rgba(82, 87, 99, 0.28);
  background: #d3d1cc;
  position: relative;
}

.module-mouse .m-wheel {
  position: absolute;
  left: 50%;
  top: 4px;
  transform: translateX(-50%);
  width: 3px;
  height: 5px;
  border-radius: 2px;
  background: #6e6d6f;
}

.module-mouse .m-track {
  position: absolute;
  right: 10px;
  width: 18px;
  height: 2px;
  background: rgba(82, 87, 99, 0.45);
  border-radius: 2px;
}

.module-mouse .m-track.t1 {
  top: 9px;
}

.module-mouse .m-track.t2 {
  top: 14px;
}

.module-pad {
  gap: 10px;
}

.module-pad .m-dpad {
  position: relative;
  width: 14px;
  height: 14px;
}

.module-pad .m-dpad::before,
        .module-pad .m-dpad::after {
  content: "";
  position: absolute;
  background: #525763;
  border-radius: 1px;
}

.module-pad .m-dpad::before {
  left: 5px;
  top: 0;
  width: 4px;
  height: 14px;
}

.module-pad .m-dpad::after {
  left: 0;
  top: 5px;
  width: 14px;
  height: 4px;
}

.module-pad .m-buttons {
  display: flex;
  gap: 4px;
}

.module-pad .m-buttons span {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: #c3428d;
  box-shadow: inset 0 1px 0 rgba(246, 196, 224, 0.45);
}

.cat-toggle:checked ~ .cat-strip {
  border-color: rgba(82, 87, 99, 0.42);
  transform: translateX(2px);
  box-shadow:
            4px 4px 8px rgba(82, 87, 99, 0.16),
            -2px -2px 4px rgba(248, 246, 242, 0.45),
            inset 1px 1px 0 rgba(248, 246, 242, 0.36),
            inset -1px -1px 0 rgba(110, 107, 110, 0.16);
}

.cat-toggle:checked ~ .cat-strip .cat-module {
  border-color: rgba(55, 94, 46, 0.28);
  background:
            linear-gradient(145deg, rgba(220, 226, 206, 0.96), rgba(183, 193, 166, 0.92)),
            repeating-linear-gradient(
              0deg,
              rgba(55, 94, 46, 0.06) 0,
              rgba(55, 94, 46, 0.06) 1px,
              transparent 1px,
              transparent 5px
            );
}

.cat-toggle:checked ~ .cat-strip .cat-lamp {
  box-shadow:
            0 0 4px 1px rgba(15, 165, 70, 0.9),
            0 0 2px 1px rgba(15, 165, 70, 0.8);
}

/* 二级菜单 Sub Menu */

.cat-sub-b {
  margin-top: 0.5rem;
}

.cat-sub-b > :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));
}

.cat-sub-b {
  border-radius: 0.125rem;
  border-width: 1px;
  border-color: rgb(148 181 79 / 0.35);
  padding: 0.5rem;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transform: translateY(-3px);
  transition: max-height 560ms cubic-bezier(0.2, 0.8, 0.2, 1), opacity 420ms ease, transform 420ms ease;
  background:
            linear-gradient(180deg, rgba(123, 181, 66, 0.12), rgba(55, 94, 46, 0.06)),
            repeating-linear-gradient(
              0deg,
              rgba(17, 25, 123, 0.04) 0,
              rgba(17, 25, 123, 0.04) 1px,
              transparent 1px,
              transparent 7px
            );
  box-shadow:
            inset 3px 3px 7px rgba(38, 38, 38, 0.1),
            inset -2px -2px 5px rgba(236, 240, 228, 0.4);
}

.cat-toggle:checked ~ .cat-sub-b {
  max-height: 520px;
  opacity: 1;
  transform: translateY(0);
}

.cat-sub-b-item,
        .cat-sub-b-item-active {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  overflow: hidden;
  border-radius: 0.125rem;
  padding-left: 0.75rem;
  padding-right: 0.75rem;
  padding-top: 0.625rem;
  padding-bottom: 0.625rem;
  font-family: Rajdhani, sans-serif;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  transition-property: all;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 200ms;
}

.cat-sub-b-item::before,
        .cat-sub-b-item-active::before {
  content: "";
  width: 9px;
  height: 9px;
  flex: 0 0 auto;
  border-radius: 2px;
  border: 1px solid rgba(38, 38, 38, 0.28);
  background: linear-gradient(145deg, rgba(232, 230, 224, 0.85), rgba(201, 198, 191, 0.88));
  box-shadow: inset 1px 1px 0 rgba(248, 246, 242, 0.48);
}

.cat-sub-b-item::after,
        .cat-sub-b-item-active::after {
  content: "";
  position: absolute;
  right: 10px;
  top: 50%;
  width: 18px;
  height: 2px;
  transform: translateY(-50%);
  background: linear-gradient(90deg, rgba(82, 87, 99, 0.2), transparent);
}

.cat-sub-b-item {
  border: 1px solid rgba(82, 87, 99, 0.22);
  color: rgb(55, 94, 46);
  background:
            linear-gradient(145deg, #ebe8e3, #d6d2cc),
            repeating-linear-gradient(
              0deg,
              rgba(17, 25, 123, 0.04) 0,
              rgba(17, 25, 123, 0.04) 1px,
              transparent 1px,
              transparent 6px
            );
  box-shadow:
            inset 2px 2px 4px rgba(110, 107, 110, 0.16),
            inset -1px -1px 2px rgba(248, 246, 242, 0.5);
}

.cat-sub-b-item:hover {
  transform: translateX(5px);
  border-color: rgba(55, 94, 46, 0.34);
  color: rgb(38, 38, 38);
  background:
            linear-gradient(145deg, rgba(238, 235, 229, 1), rgba(213, 209, 202, 0.94)),
            repeating-linear-gradient(
              0deg,
              rgba(17, 25, 123, 0.04) 0,
              rgba(17, 25, 123, 0.04) 1px,
              transparent 1px,
              transparent 6px
            );
}

.cat-sub-b-item-active {
  border: 1px solid rgba(55, 94, 46, 0.4);
  color: rgb(55, 94, 46);
  background:
            linear-gradient(145deg, rgba(214, 228, 164, 0.8), rgba(175, 197, 110, 0.55)),
            repeating-linear-gradient(
              0deg,
              rgba(17, 25, 123, 0.04) 0,
              rgba(17, 25, 123, 0.04) 1px,
              transparent 1px,
              transparent 6px
            );
  box-shadow:
            2px 2px 5px rgba(82, 87, 99, 0.12),
            inset 1px 1px 0 rgba(234, 243, 200, 0.55);
}

.cat-sub-b-meta {
  margin-left: auto;
  font-family: IBM Plex Mono, monospace;
  font-size: 11px;
  letter-spacing: 0.2em;
  color: rgba(82, 87, 99, 0.46);
}

.article-shell {
  display: grid;
  gap: 1.25rem;
}

.article-stage {
  border: 1px solid #959292;
  border-radius: 0.375rem;
  background: #e6e3de;
  padding: 1rem;
  box-shadow:
            8px 8px 16px rgba(82, 87, 99, 0.14),
            -4px -4px 8px rgba(248, 246, 242, 0.68),
            inset 1px 1px 0 rgba(248, 246, 242, 0.5);
}

.article-hero {
  position: relative;
  overflow: hidden;
  border: 1px solid #b3afab;
  border-radius: 0.125rem;
  padding: 1.25rem;
  background:
            radial-gradient(circle at top left, rgba(190, 210, 118, 0.38), transparent 42%),
            linear-gradient(145deg, rgba(238, 235, 229, 0.98), rgba(214, 210, 203, 0.95));
}

.article-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
            repeating-linear-gradient(
              0deg,
              rgba(82, 87, 99, 0.035) 0,
              rgba(82, 87, 99, 0.035) 1px,
              transparent 1px,
              transparent 22px
            ),
            linear-gradient(90deg, transparent, rgba(190, 210, 118, 0.12), transparent);
}

.article-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border: 1px solid rgba(148, 181, 79, 0.6);
  border-radius: 9999px;
  padding: 0.25rem 0.75rem;
  font-family: Rajdhani, sans-serif;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: #708d3d;
  background: rgba(190, 210, 118, 0.16);
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
  margin-top: 1rem;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: #747276;
}

.article-title {
  max-width: 48rem;
  margin-top: 1rem;
  font-family: Rajdhani, sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #1f232a;
  font-size: 30px;
  line-height: 1.05;
}

.article-deck {
  max-width: 42rem;
  margin-top: 1rem;
  font-size: 15px;
  line-height: 1.75rem;
  color: #747276;
}

.article-hero-visual {
  position: relative;
  overflow: hidden;
  margin-top: 1.25rem;
  border: 1px solid #b3afab;
  border-radius: 0.125rem;
  height: 13rem;
  background:
            radial-gradient(circle at 28% 36%, rgba(190, 210, 118, 0.88), rgba(123, 181, 66, 0.92) 32%, rgba(55, 94, 46, 0.94) 66%, rgba(38, 38, 38, 0.96));
}

.article-hero-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
            repeating-linear-gradient(0deg, rgba(17, 25, 123, 0.07) 0, rgba(17, 25, 123, 0.07) 1px, transparent 1px, transparent 5px),
            repeating-linear-gradient(90deg, rgba(190, 210, 118, 0.08) 0, rgba(190, 210, 118, 0.08) 1px, transparent 1px, transparent 5px);
  opacity: 0.9;
}

.article-hero-caption {
  position: absolute;
  left: 0.75rem;
  bottom: 0.75rem;
  border: 1px solid rgba(230, 227, 222, 0.2);
  border-radius: 0.125rem;
  padding: 0.5rem 0.75rem;
  font-family: "IBM Plex Mono", monospace;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: #e6e3de;
  background: rgba(38, 38, 38, 0.28);
}

.article-grid {
  display: grid;
  gap: 1.25rem;
  margin-top: 1.25rem;
}

.article-prose {
  color: #2b2f36;
  font-size: 15px;
  line-height: 2rem;
}

.article-prose > * + * {
  margin-top: 1.25rem;
}

.article-lead {
  border-left: 4px solid #94b54f;
  border-radius: 0.125rem;
  background: rgba(168, 196, 93, 0.16);
  padding: 0.75rem 1rem;
  color: #1f232a;
  font-size: 16px;
  line-height: 2rem;
}

.article-prose h3 {
  font-family: Rajdhani, sans-serif;
  font-size: 18px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #1f232a;
}

.article-pull {
  border: 1px solid rgba(148, 181, 79, 0.6);
  border-radius: 0.125rem;
  padding: 1rem 1.25rem;
  font-family: Rajdhani, sans-serif;
  font-size: 18px;
  text-transform: uppercase;
  line-height: 2rem;
  letter-spacing: 0.08em;
  color: #1f232a;
  background:
            linear-gradient(145deg, rgba(190, 210, 118, 0.22), rgba(137, 161, 83, 0.14)),
            repeating-linear-gradient(0deg, rgba(17, 25, 123, 0.03) 0, rgba(17, 25, 123, 0.03) 1px, transparent 1px, transparent 8px);
}

.article-note {
  border: 1px solid #b3afab;
  border-radius: 0.125rem;
  background: #e6e3de;
  padding: 0.75rem 1rem;
  font-size: 13px;
  line-height: 1.5rem;
  color: #747276;
}

.article-rail {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.article-rail-card {
  border: 1px solid #b3afab;
  border-radius: 0.125rem;
  background: #e6e3de;
  padding: 0.75rem;
  box-shadow:
            5px 5px 10px rgba(82, 87, 99, 0.08),
            inset 1px 1px 0 rgba(248, 246, 242, 0.42);
}

.article-rail-title {
  font-family: Rajdhani, sans-serif;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: #40498d;
}

.article-spec {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: 0.75rem;
}

.article-spec-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid rgba(179, 175, 171, 0.8);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #2b2f36;
}

.article-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.75rem;
}

.article-mini-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: 0.75rem;
  font-size: 13px;
  line-height: 1.5rem;
  color: #747276;
}

@media (min-width: 768px) {
  .article-stage {
    padding: 1.25rem;
  }

  .article-hero {
    padding: 1.5rem;
  }

  .article-title {
    font-size: 40px;
  }

  .article-hero-visual {
    height: 16rem;
  }
}

@media (min-width: 1024px) {
  .article-shell {
    grid-template-columns: minmax(0, 1.7fr) minmax(280px, 0.72fr);
  }

  .article-grid {
    grid-template-columns: minmax(0, 1fr) 220px;
  }
}

/* 动画 Keyframes */

@keyframes catLampParticle {
  0% {
    transform: translate(0, 0) scale(1);
    opacity: 0;
  }

  10% {
    opacity: 1;
  }

  100% {
    transform: translate(var(--x), var(--y)) scale(0.08);
    opacity: 0;
  }
}

@keyframes catLampSpark {
  0% {
    transform: rotate(var(--r)) translateX(0) scaleX(1);
    opacity: 1;
  }

  100% {
    transform: rotate(var(--r)) translateX(24px) scaleX(0);
    opacity: 0;
  }
}

@keyframes catLampBurst {
  0% {
    transform: translate(-50%, -50%) scale(0.3);
    opacity: 0.9;
  }

  100% {
    transform: translate(-50%, -50%) scale(2.8);
    opacity: 0;
  }
}

.visible {
  visibility: visible;
}

.absolute {
  position: absolute;
}

.relative {
  position: relative;
}

.isolate {
  isolation: isolate;
}

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

.my-4 {
  margin-top: 1rem;
  margin-bottom: 1rem;
}

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

.ml-auto {
  margin-left: auto;
}

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

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

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

.block {
  display: block;
}

.flex {
  display: flex;
}

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

.table {
  display: table;
}

.grid {
  display: grid;
}

.hidden {
  display: none;
}

.h-4 {
  height: 1rem;
}

.h-8 {
  height: 2rem;
}

.h-px {
  height: 1px;
}

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

.w-4 {
  width: 1rem;
}

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

.w-full {
  width: 100%;
}

.max-w-6xl {
  max-width: 72rem;
}

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

.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-pointer {
  cursor: pointer;
}

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

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

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

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

.gap-2 {
  gap: 0.5rem;
}

.gap-3 {
  gap: 0.75rem;
}

.gap-4 {
  gap: 1rem;
}

.gap-6 {
  gap: 1.5rem;
}

.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-6 > :not([hidden]) ~ :not([hidden]) {
  --tw-space-y-reverse: 0;
  margin-top: calc(1.5rem * calc(1 - var(--tw-space-y-reverse)));
  margin-bottom: calc(1.5rem * var(--tw-space-y-reverse));
}

.overflow-hidden {
  overflow: hidden;
}

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

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

.rounded-md {
  border-radius: 0.375rem;
}

.rounded-sm {
  border-radius: 0.125rem;
}

.border {
  border-width: 1px;
}

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

.border-accent-400\/60 {
  border-color: rgb(195 66 141 / 0.6);
}

.border-accent-400\/70 {
  border-color: rgb(195 66 141 / 0.7);
}

.border-fog-300 {
  --tw-border-opacity: 1;
  border-color: rgb(179 175 171 / var(--tw-border-opacity, 1));
}

.border-fog-300\/80 {
  border-color: rgb(179 175 171 / 0.8);
}

.border-fog-400 {
  --tw-border-opacity: 1;
  border-color: rgb(149 146 146 / var(--tw-border-opacity, 1));
}

.border-fog-400\/90 {
  border-color: rgb(149 146 146 / 0.9);
}

.border-screen-400\/35 {
  border-color: rgb(148 181 79 / 0.35);
}

.border-screen-400\/70 {
  border-color: rgb(148 181 79 / 0.7);
}

.border-screen-500 {
  --tw-border-opacity: 1;
  border-color: rgb(112 141 61 / var(--tw-border-opacity, 1));
}

.bg-accent-300\/10 {
  background-color: rgb(216 91 161 / 0.1);
}

.bg-fog-100 {
  --tw-bg-opacity: 1;
  background-color: rgb(230 227 222 / var(--tw-bg-opacity, 1));
}

.bg-fog-150 {
  --tw-bg-opacity: 1;
  background-color: rgb(218 214 209 / var(--tw-bg-opacity, 1));
}

.bg-fog-200 {
  --tw-bg-opacity: 1;
  background-color: rgb(204 200 195 / var(--tw-bg-opacity, 1));
}

.bg-fog-300 {
  --tw-bg-opacity: 1;
  background-color: rgb(179 175 171 / var(--tw-bg-opacity, 1));
}

.bg-screen-300\/20 {
  background-color: rgb(168 196 93 / 0.2);
}

.bg-screen-300\/25 {
  background-color: rgb(168 196 93 / 0.25);
}

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

.from-transparent {
  --tw-gradient-from: transparent var(--tw-gradient-from-position);
  --tw-gradient-to: rgb(0 0 0 / 0) var(--tw-gradient-to-position);
  --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
}

.via-screen-400 {
  --tw-gradient-to: rgb(148 181 79 / 0)  var(--tw-gradient-to-position);
  --tw-gradient-stops: var(--tw-gradient-from), #94b54f var(--tw-gradient-via-position), var(--tw-gradient-to);
}

.to-transparent {
  --tw-gradient-to: transparent var(--tw-gradient-to-position);
}

.p-3 {
  padding: 0.75rem;
}

.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;
}

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

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

.py-2\.5 {
  padding-top: 0.625rem;
  padding-bottom: 0.625rem;
}

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

.py-6 {
  padding-top: 1.5rem;
  padding-bottom: 1.5rem;
}

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

.font-display {
  font-family: Rajdhani, sans-serif;
}

.font-mono {
  font-family: IBM Plex Mono, monospace;
}

.text-\[11px\] {
  font-size: 11px;
}

.text-\[12px\] {
  font-size: 12px;
}

.text-\[13px\] {
  font-size: 13px;
}

.text-\[14px\] {
  font-size: 14px;
}

.text-\[18px\] {
  font-size: 18px;
}

.text-\[22px\] {
  font-size: 22px;
}

.text-\[24px\] {
  font-size: 24px;
}

.uppercase {
  text-transform: uppercase;
}

.leading-6 {
  line-height: 1.5rem;
}

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

.tracking-\[0\.04em\] {
  letter-spacing: 0.04em;
}

.tracking-\[0\.06em\] {
  letter-spacing: 0.06em;
}

.tracking-\[0\.08em\] {
  letter-spacing: 0.08em;
}

.tracking-\[0\.12em\] {
  letter-spacing: 0.12em;
}

.tracking-\[0\.14em\] {
  letter-spacing: 0.14em;
}

.tracking-\[0\.15em\] {
  letter-spacing: 0.15em;
}

.tracking-\[0\.1em\] {
  letter-spacing: 0.1em;
}

.tracking-\[0\.2em\] {
  letter-spacing: 0.2em;
}

.tracking-mech {
  letter-spacing: 0.16em;
}

.text-accent-500 {
  --tw-text-opacity: 1;
  color: rgb(171 47 121 / var(--tw-text-opacity, 1));
}

.text-accent-600 {
  --tw-text-opacity: 1;
  color: rgb(143 36 95 / var(--tw-text-opacity, 1));
}

.text-dpad-500 {
  --tw-text-opacity: 1;
  color: rgb(43 47 54 / var(--tw-text-opacity, 1));
}

.text-dpad-600 {
  --tw-text-opacity: 1;
  color: rgb(31 35 42 / var(--tw-text-opacity, 1));
}

.text-fog-400 {
  --tw-text-opacity: 1;
  color: rgb(149 146 146 / var(--tw-text-opacity, 1));
}

.text-fog-500 {
  --tw-text-opacity: 1;
  color: rgb(116 114 118 / var(--tw-text-opacity, 1));
}

.text-fog-600 {
  --tw-text-opacity: 1;
  color: rgb(78 76 80 / var(--tw-text-opacity, 1));
}

.text-ink-500 {
  --tw-text-opacity: 1;
  color: rgb(64 73 141 / var(--tw-text-opacity, 1));
}

.text-screen-500 {
  --tw-text-opacity: 1;
  color: rgb(112 141 61 / var(--tw-text-opacity, 1));
}

.text-yellow-600 {
  --tw-text-opacity: 1;
  color: rgb(202 138 4 / var(--tw-text-opacity, 1));
}

.antialiased {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.accent-screen-500 {
  accent-color: #708d3d;
}

.outline-none {
  outline: 2px solid transparent;
  outline-offset: 2px;
}

.drop-shadow {
  --tw-drop-shadow: drop-shadow(0 1px 2px rgb(0 0 0 / 0.1)) drop-shadow(0 1px 1px rgb(0 0 0 / 0.06));
  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-all {
  transition-property: all;
  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;
}

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

.sw{
  position:relative;
  display:inline-block;
  width:46px;
  height:26px
}

.sw input{
  display:none
}

.sw span{
  position:absolute;
  inset:0;
  cursor:pointer;
  border-radius:999px;
  border:1px solid #b3afab;
  background:#e6e3de;
  box-shadow:inset 2px 2px 4px rgba(107,104,107,.15),inset -2px -2px 4px rgba(250,248,245,.5);
  transition:.2s
}

.sw span::before{
  content:"";
  position:absolute;
  left:3px;
  top:3px;
  width:18px;
  height:18px;
  border-radius:50%;
  border:1px solid #b3afab;
  background:linear-gradient(145deg,#f2f0ed,#dad6d1);
  box-shadow:1px 1px 3px rgba(82,87,99,.2),inset 1px 1px 0 rgba(250,248,245,.7);
  transition:.2s
}

.sw input:checked + span{
  border-color:#94b54f;
  background:linear-gradient(145deg,rgba(190,210,118,.5),rgba(137,161,83,.35))
}

.sw input:checked + span::before{
  transform:translateX(20px);
  border-color:#94b54f
}

/* Neumorphic Toggle Switch - 新拟物开关 */

.toggle-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  border-radius: .5em;
  padding: .125em;
  background-image: linear-gradient(to bottom, #d5d5d5, #e8e8e8);
  box-shadow: 0 1px 1px rgb(255 255 255 / .6);
  font-size: 1.5em;
}

.toggle-checkbox {
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
  position: absolute;
  z-index: 1;
  border-radius: inherit;
  width: 100%;
  height: 100%;
  font: inherit;
  opacity: 0;
  cursor: pointer;
}

.toggle-container {
  display: flex;
  align-items: center;
  position: relative;
  border-radius: .375em;
  width: 3em;
  height: 1.5em;
  background-color: #e8e8e8;
  box-shadow: inset 0 0 .0625em .125em rgb(255 255 255 / .2), inset 0 .0625em .125em rgb(0 0 0 / .4);
  transition: background-color .4s linear;
}

/* 绿色 Green - Game Boy Screen */

.toggle-wrapper .toggle-checkbox:checked + .toggle-container.toggle-green {
  background-color: #94b54f !important;
}

/* 紫色 Purple - Accent */

.toggle-wrapper .toggle-checkbox:checked + .toggle-container.toggle-purple {
  background-color: #ab2f79 !important;
}

/* 蓝色 Blue - Ink */

.toggle-wrapper .toggle-checkbox:checked + .toggle-container.toggle-blue {
  background-color: #525ca8 !important;
}

/* 灰色 Gray - 默认 */

.toggle-wrapper .toggle-checkbox:checked + .toggle-container.toggle-gray {
  background-color: #747276 !important;
}

/* 黄色 Yellow - 原组件 */

.toggle-wrapper .toggle-checkbox:checked + .toggle-container.toggle-yellow {
  background-color: #f3b519 !important;
}

/* 圆形新拟物开关 Circular Neumorphic Toggle */

.toggle-circle-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  border-radius: 50px;
  padding: 10px;
  background-image: linear-gradient(to bottom, #f0f0f0, #e8e8e8);
  box-shadow: 0 2px 4px rgb(0 0 0 / .1);
  font-size: 1.5em;
}

.toggle-circle-checkbox {
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
  position: absolute;
  z-index: 1;
  border-radius: inherit;
  width: 100%;
  height: 100%;
  font: inherit;
  opacity: 0;
  cursor: pointer;
}

.toggle-circle-container {
  display: flex;
  align-items: center;
  position: relative;
  border-radius: 50px;
  width: 80px;
  height: 40px;
  background-color: #e8e8e8;
  box-shadow: inset 0 0 2px rgb(0 0 0 / .2), inset 0 2px 4px rgb(0 0 0 / .1);
  transition: background-color .4s linear;
}

.toggle-circle-button {
  display: flex;
  justify-content: center;
  align-items: center;
  position: absolute;
  left: 2px;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  background-color: #e8e8e8;
  box-shadow: inset 0 -2px 2px rgb(0 0 0 / .1), inset 0 -4px 2px rgb(0 0 0 / .2), inset 0 6px 2px rgb(255 255 255 / .3), 0 4px 4px rgb(0 0 0 / .5);
  transition: left .4s;
}

.toggle-circle-checkbox:checked + .toggle-circle-container {
  background-color: #f3b519;
}

.toggle-circle-checkbox:checked + .toggle-circle-container > .toggle-circle-button {
  left: 42px;
}

.toggle-circle-button-circles-container {
  display: grid;
  grid-template-columns: repeat(3, 4px);
  gap: 2px;
  position: absolute;
  margin: 0 auto;
}

.toggle-circle-button-circle {
  border-radius: 50%;
  width: 2px;
  height: 2px;
  background-image: radial-gradient(circle at 50% 0, #f5f5f5, #c4c4c4);
}

/* 圆形开关配色 Circular Toggle Colors */

.toggle-circle-wrapper .toggle-circle-checkbox:checked + .toggle-circle-container.toggle-circle-green {
  background-color: #94b54f !important;
}

.toggle-circle-wrapper .toggle-circle-checkbox:checked + .toggle-circle-container.toggle-circle-purple {
  background-color: #ab2f79 !important;
}

.toggle-circle-wrapper .toggle-circle-checkbox:checked + .toggle-circle-container.toggle-circle-blue {
  background-color: #525ca8 !important;
}

.toggle-circle-wrapper .toggle-circle-checkbox:checked + .toggle-circle-container.toggle-circle-gray {
  background-color: #747276 !important;
}

.toggle-circle-wrapper .toggle-circle-checkbox:checked + .toggle-circle-container.toggle-circle-yellow {
  background-color: #f3b519 !important;
}

/* 浅深色开关 Light/Dark Switch */

.switch-wrapper {
  position: relative;
  width: 210px;
  height: 50px;
  box-sizing: border-box;
  padding: 3px;
  border-radius: 6px;
}

/* 浅灰配色 Light Gray */

.switch-wrapper.switch-gray-light {
  background: #e6e3de;
  box-shadow:
          inset 0 1px 1px 1px rgb(0 0 0 / .1),
          0 1px 0 0 rgb(255 255 255 / .8);
}

.switch-wrapper.switch-gray-light .switch-checkbox {
  position: absolute;
  z-index: 1;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
}

.switch-wrapper.switch-gray-light .switch-label {
  position: relative;
  display: block;
  left: 0;
  width: 50%;
  height: 100%;
  background: #f2f0ed;
  border-radius: 3px;
  box-shadow: inset 0 1px 0 0 rgb(255 255 255 / .5);
  transition: all .5s ease-in-out;
}

.switch-wrapper.switch-gray-light .switch-label:before {
  content: "";
  display: inline-block;
  width: 5px;
  height: 5px;
  margin-left: 10px;
  background: #4e4c50;
  border-radius: 50%;
  vertical-align: middle;
  box-shadow:
          0 0 5px 2px rgb(165 15 15 / .6),
          0 0 3px 1px rgb(165 15 15 / .6);
  transition: all .5s ease-in-out;
}

.switch-wrapper.switch-gray-light .switch-label:after {
  content: "";
  display: inline-block;
  width: 0;
  height: 100%;
  vertical-align: middle;
}

.switch-wrapper.switch-gray-light .switch-label i {
  display: block;
  position: absolute;
  top: 50%;
  left: 50%;
  width: 3px;
  height: 24px;
  margin-top: -12px;
  margin-left: -1.5px;
  border-radius: 2px;
  background: #e6e3de;
  box-shadow: 0 1px 0 0 rgb(0 0 0 / .1);
}

.switch-wrapper.switch-gray-light .switch-label i:before,
      .switch-wrapper.switch-gray-light .switch-label i:after {
  content: "";
  display: block;
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 2px;
  background: #e6e3de;
  box-shadow: 0 1px 0 0 rgb(0 0 0 / .1);
}

.switch-wrapper.switch-gray-light .switch-label i:before {
  left: -7px;
}

.switch-wrapper.switch-gray-light .switch-label i:after {
  left: 7px;
}

.switch-wrapper.switch-gray-light .switch-checkbox:checked + .switch-label {
  left: 50%;
}

.switch-wrapper.switch-gray-light .switch-checkbox:checked + .switch-label:before {
  box-shadow:
          0 0 5px 2px rgb(15 165 70 / .6),
          0 0 3px 1px rgb(15 165 70 / .6);
}

/* 深灰配色 Dark Gray - 使用项目深灰色 */

.switch-wrapper.switch-gray-dark {
  background: #4e4c50;
  box-shadow:
          inset 0 1px 1px 1px rgb(0 0 0 / .5),
          0 1px 0 0 rgb(255 255 255 / .1);
}

.switch-wrapper.switch-gray-dark .switch-checkbox {
  position: absolute;
  z-index: 1;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
}

.switch-wrapper.switch-gray-dark .switch-label {
  position: relative;
  display: block;
  left: 0;
  width: 50%;
  height: 100%;
  background: #6e6c70;
  border-radius: 3px;
  box-shadow: inset 0 1px 0 0 rgb(255 255 255 / .1);
  transition: all .5s ease-in-out;
}

.switch-wrapper.switch-gray-dark .switch-label:before {
  content: "";
  display: inline-block;
  width: 5px;
  height: 5px;
  margin-left: 10px;
  background: #fff;
  border-radius: 50%;
  vertical-align: middle;
  box-shadow:
          0 0 5px 2px rgb(165 15 15 / .9),
          0 0 3px 1px rgb(165 15 15 / .9);
  transition: all .5s ease-in-out;
}

.switch-wrapper.switch-gray-dark .switch-label:after {
  content: "";
  display: inline-block;
  width: 0;
  height: 100%;
  vertical-align: middle;
}

.switch-wrapper.switch-gray-dark .switch-label i {
  display: block;
  position: absolute;
  top: 50%;
  left: 50%;
  width: 3px;
  height: 24px;
  margin-top: -12px;
  margin-left: -1.5px;
  border-radius: 2px;
  background: #4e4c50;
  box-shadow: 0 1px 0 0 rgb(255 255 255 / .3);
}

.switch-wrapper.switch-gray-dark .switch-label i:before,
      .switch-wrapper.switch-gray-dark .switch-label i:after {
  content: "";
  display: block;
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 2px;
  background: #4e4c50;
  box-shadow: 0 1px 0 0 rgb(255 255 255 / .3);
}

.switch-wrapper.switch-gray-dark .switch-label i:before {
  left: -7px;
}

.switch-wrapper.switch-gray-dark .switch-label i:after {
  left: 7px;
}

.switch-wrapper.switch-gray-dark .switch-checkbox:checked + .switch-label {
  left: 50%;
}

.switch-wrapper.switch-gray-dark .switch-checkbox:checked + .switch-label:before {
  box-shadow:
          0 0 5px 2px rgb(15 165 70 / .9),
          0 0 3px 1px rgb(15 165 70 / .9);
}

.toggle-button {
  display: flex;
  justify-content: center;
  align-items: center;
  position: absolute;
  left: .0625em;
  border-radius: .3125em;
  width: 1.375em;
  height: 1.375em;
  background-color: #e8e8e8;
  box-shadow: inset 0 -.0625em .0625em .125em rgb(0 0 0 / .1), inset 0 -.125em .0625em rgb(0 0 0 / .2), inset 0 .1875em .0625em rgb(255 255 255 / .3), 0 .125em .125em rgb(0 0 0 / .5);
  transition: left .4s;
}

.toggle-checkbox:checked + .toggle-container > .toggle-button {
  left: 1.5625em;
}

.toggle-button-circles-container {
  display: grid;
  grid-template-columns: repeat(3, min-content);
  gap: .125em;
  position: absolute;
  margin: 0 auto;
}

.toggle-button-circle {
  border-radius: 50%;
  width: .125em;
  height: .125em;
  background-image: radial-gradient(circle at 50% 0, #f5f5f5, #c4c4c4);
}

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

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

/* ===== CMS 布局样式（从主项目 LayoutView.vue 复制）===== */
.main-layout {
  display: flex;
  min-height: 100vh;
  background: #f0ede6;
  overflow: visible;
}

.content-layout {
  flex: 1;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  min-width: 0;
  min-height: 100vh;
}

.page-header {
  padding: 1rem 2rem;
  background: transparent;
  border: none;
  flex-shrink: 0;
}

.content {
  flex: 1;
  padding: 2rem;
  overflow-y: auto;
}

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

/* 响应式 */
@media (max-width: 768px) {
  .sidebar {
    display: none;
  }
  
  .content {
    padding: 1rem;
  }
  
  .page-header {
    padding: 1rem;
  }
}
