/*!**********************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ./node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[14].oneOf[10].use[2]!./node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[14].oneOf[10].use[3]!./app/home.css ***!
  \**********************************************************************************************************************************************************************************************************************************************************/
:root {
  --bg: #09090b;
  --surface: #101013;
  --raised: #17171c;
  --line: #222229;
  --line-hi: #34343e;
  --text: #f4f4f6;
  --muted: #8d8d99;
  --faint: #5b5b66;
  --accent: #5865f2;
  --accent-hi: #6b77f5;
  --ok: #3ba55c;
  --warn: #f0b232;
  --bad: #ed4245;
  --radius: 16px;
  --ease: cubic-bezier(.22, .8, .24, 1);
  box-sizing: border-box;
}
*, *::before, *::after { box-sizing: inherit; }
html { background: var(--bg); color-scheme: dark; -webkit-text-size-adjust: 100%; }
body { margin: 0; min-height: 100vh; min-height: 100dvh; display: flex; align-items: center; color: var(--text); font: 400 14px/1.5 "Inter", system-ui, sans-serif; -webkit-font-smoothing: antialiased; -webkit-tap-highlight-color: transparent; }
button, input { font: inherit; color: inherit; }
button { touch-action: manipulation; }

.wrap { width: 100%; max-width: 1040px; margin: 0 auto; padding: max(56px, env(safe-area-inset-top)) max(24px, env(safe-area-inset-right)) max(56px, env(safe-area-inset-bottom)) max(24px, env(safe-area-inset-left)); }
.layout { display: grid; grid-template-columns: 460px minmax(0, 1fr); grid-gap: 24px; gap: 24px; align-items: start; }
.col { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.side { position: -webkit-sticky; position: sticky; top: 24px; }

.top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.brand { display: flex; align-items: center; gap: 12px; min-width: 0; }
.logo { flex: none; width: 40px; height: 40px; border-radius: 12px; object-fit: cover; display: block; box-shadow: 0 6px 20px rgba(120, 60, 240, .35); }
.ttl { min-width: 0; }
h1 { margin: 0; font-size: 22px; line-height: 1.15; font-weight: 800; letter-spacing: -.03em; }
.ttl p { margin: 1px 0 0; font-size: 12.5px; color: var(--muted); }
.dc { display: inline-flex; align-items: center; gap: 8px; min-height: 38px; padding: 8px 14px; border-radius: 11px; background: var(--surface); border: 1px solid var(--line); color: var(--text); font-size: 13px; font-weight: 600; text-decoration: none; transition: border-color .18s var(--ease), background .18s var(--ease), transform .18s var(--ease); }
.dc svg { width: 16px; height: 16px; fill: var(--accent-hi); }
.dc:hover { border-color: var(--accent); background: var(--raised); }
.dc:active { transform: scale(.97); }

.input, .field input[type="text"] { width: 100%; min-height: 44px; background: var(--bg); border: 1px solid var(--line); border-radius: 12px; font: 400 13px "JetBrains Mono", ui-monospace, monospace; padding: 11px 14px; outline: none; transition: border-color .18s var(--ease), box-shadow .18s var(--ease); }
.input:hover, .field input[type="text"]:hover { border-color: var(--line-hi); }
.input:focus, .field input[type="text"]:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(88, 101, 242, .22); }
.input::placeholder, .field input::placeholder { color: var(--faint); }
.idin { min-height: 52px; font-size: 16px; padding: 13px 16px; background: var(--surface); }
.idin.bad { border-color: var(--bad); }

.box { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; display: flex; flex-direction: column; gap: 16px; }

.themes { display: flex; flex-wrap: wrap; gap: 8px; }
.theme { display: inline-flex; align-items: center; gap: 8px; min-height: 36px; padding: 6px 12px 6px 8px; background: var(--bg); border: 1px solid var(--line); border-radius: 99px; cursor: pointer; color: var(--muted); font-size: 12.5px; font-weight: 500; transition: border-color .18s var(--ease), color .18s var(--ease), transform .18s var(--ease), background .18s var(--ease); }
.theme i { flex: none; width: 18px; height: 18px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .22); }
.theme:hover { border-color: var(--line-hi); color: var(--text); }
.theme:active { transform: scale(.96); }
.theme[aria-pressed="true"] { color: var(--text); border-color: var(--accent); background: var(--raised); }
.theme:focus-visible, .sw:has(input:focus-visible), .seg button:focus-visible, .copy:focus-visible, .reset:focus-visible, .join:focus-visible, .dc:focus-visible { outline: 2px solid var(--text); outline-offset: 2px; }

.row { display: grid; grid-template-columns: 1fr 1fr; grid-gap: 12px; gap: 12px; }
.field { display: flex; flex-direction: column; gap: 7px; font-size: 12.5px; font-weight: 500; color: var(--muted); min-width: 0; }
.head { display: flex; justify-content: space-between; align-items: center; }
.head output { color: var(--text); font: 500 12px "JetBrains Mono", monospace; }
.colorrow { display: flex; gap: 8px; }
.colorrow input[type="color"] { flex: none; width: 44px; height: 44px; padding: 4px; background: var(--bg); border: 1px solid var(--line); border-radius: 12px; cursor: pointer; }
.colorrow input[type="text"] { flex: 1 1; min-width: 0; }
input[type="range"] { width: 100%; height: 44px; margin: 0; accent-color: var(--accent); cursor: pointer; }

.switches { display: grid; grid-template-columns: 1fr 1fr; grid-gap: 8px; gap: 8px; }
.sw { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 44px; padding: 6px 12px; background: var(--bg); border: 1px solid var(--line); border-radius: 12px; cursor: pointer; -webkit-user-select: none; -moz-user-select: none; user-select: none; font-size: 13px; font-weight: 500; transition: border-color .18s var(--ease), transform .18s var(--ease); }
.sw:hover { border-color: var(--line-hi); }
.sw:active { transform: scale(.985); }
.sw input { position: absolute; opacity: 0; pointer-events: none; }
.sw .track { flex: none; width: 36px; height: 22px; border-radius: 99px; background: var(--line-hi); position: relative; transition: background .22s var(--ease); }
.sw .track::after { content: ""; position: absolute; top: 3px; left: 3px; width: 16px; height: 16px; border-radius: 50%; background: #fff; transition: transform .26s var(--ease); }
.sw input:checked + .track { background: var(--accent); }
.sw input:checked + .track::after { transform: translateX(14px); }

.reset { min-height: 42px; background: none; border: 1px solid var(--line); color: var(--muted); border-radius: 12px; padding: 9px 16px; cursor: pointer; font-size: 13px; font-weight: 500; transition: color .18s, border-color .18s, transform .18s var(--ease); }
.reset:hover { color: var(--text); border-color: var(--line-hi); }
.reset:active { transform: scale(.98); }

.stage { position: relative; min-height: 268px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); padding: 76px 18px 30px; display: grid; place-items: center; overflow: hidden; }
.stage object, .stage img { width: 100%; max-width: 440px; display: block; border: 0; color-scheme: normal; background: transparent; animation: rise .45s var(--ease) both; }
.empty { color: var(--muted); font-size: 13px; }
.skeleton { width: 100%; max-width: 440px; height: 148px; border-radius: 18px; background: var(--raised); animation: pulse 1.2s ease-in-out infinite; }

.stat { position: absolute; top: 18px; left: 18px; display: inline-flex; align-items: center; gap: 8px; padding: 5px 11px 5px 9px; border-radius: 99px; background: var(--raised); border: 1px solid var(--line); font-size: 11.5px; font-weight: 600; color: var(--muted); max-width: calc(100% - 36px); transition: border-color .2s, color .2s; }
.stat span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.stat i { flex: none; width: 7px; height: 7px; border-radius: 50%; background: var(--faint); transition: background .2s; }
.stat.ok i { background: var(--ok); }
.stat.bad { color: #f6a5a7; border-color: rgba(237, 66, 69, .4); }
.stat.bad i { background: var(--bad); }
.stat.warn i { background: var(--warn); }
.stat.load i { background: var(--accent); animation: pulse 1s ease-in-out infinite; }

.notice { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 10px 10px 16px; border: 1px solid rgba(240, 178, 50, .4); border-radius: 14px; background: rgba(240, 178, 50, .07); font-size: 13px; font-weight: 600; animation: rise .35s var(--ease) both; }
.notice[hidden] { display: none; }
.join { display: inline-flex; align-items: center; justify-content: center; min-height: 38px; padding: 8px 16px; border-radius: 10px; background: var(--accent); color: #fff; font-size: 13px; font-weight: 600; text-decoration: none; transition: background .18s var(--ease), transform .18s var(--ease); }
.join:hover { background: var(--accent-hi); }
.join:active { transform: scale(.97); }

.seg { position: relative; display: grid; grid-template-columns: repeat(5, 1fr); padding: 4px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); --i: 0; }
.seg::before { content: ""; position: absolute; top: 4px; bottom: 4px; left: 4px; width: calc((100% - 8px) / 5); border-radius: 10px; background: var(--accent); transform: translateX(calc(var(--i) * 100%)); transition: transform .32s var(--ease); }
.seg button { position: relative; z-index: 1; min-height: 38px; background: none; border: 0; border-radius: 10px; color: var(--muted); font: 500 12px "JetBrains Mono", monospace; cursor: pointer; transition: color .2s var(--ease); }
.seg button:hover { color: var(--text); }
.seg button[aria-selected="true"] { color: #fff; }

.code { margin: 0; padding: 14px; min-height: 76px; border: 1px solid var(--line); border-radius: 12px; background: var(--bg); font: 400 12px/1.65 "JetBrains Mono", monospace; color: #b9b9c6; word-break: break-all; white-space: pre-wrap; overflow-wrap: anywhere; }
.code .u { color: #8ab4ff; }
.code .p { color: var(--faint); }

.copy { min-height: 50px; border: 0; border-radius: 14px; padding: 13px; cursor: pointer; background: var(--accent); color: #fff; font-size: 14px; font-weight: 600; transition: background .18s var(--ease), transform .18s var(--ease), opacity .18s; }
.copy:hover:not(:disabled) { background: var(--accent-hi); }
.copy:active:not(:disabled) { transform: scale(.985); }
.copy:disabled { opacity: .35; cursor: not-allowed; }
.copy.done { background: var(--ok); }

.foot { display: flex; flex-wrap: wrap; gap: 6px 18px; justify-content: center; margin-top: 28px; font-size: 12.5px; color: var(--faint); }
.foot a { color: var(--muted); text-decoration: none; }
.foot a:hover { color: var(--text); }
.foot a:focus-visible { outline: 2px solid var(--text); outline-offset: 2px; }

@keyframes rise { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: .45; } }

@media (max-width: 960px) {
  body { align-items: flex-start; }
  .layout { grid-template-columns: 1fr; }
  .side { position: static; }
}
@media (max-width: 600px) {
  .wrap { padding-top: max(24px, env(safe-area-inset-top)); padding-bottom: max(32px, env(safe-area-inset-bottom)); padding-left: max(16px, env(safe-area-inset-left)); padding-right: max(16px, env(safe-area-inset-right)); }
  .box { padding: 16px; }
  .stage { padding: 66px 12px 22px; min-height: 220px; }
  .switches, .row { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

