/*!******************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ./node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[13].oneOf[2].use[1]!./node_modules/next/dist/build/webpack/loaders/next-font-loader/index.js??ruleSet[1].rules[13].oneOf[2].use[2]!./node_modules/next/font/google/target.css?{"path":"app/layout.tsx","import":"Inter","arguments":[{"subsets":["latin"],"variable":"--font-inter"}],"variableName":"inter"} ***!
  \******************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
/* cyrillic-ext */
@font-face {
  font-family: '__Inter_f367f3';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url(/_next/static/media/ba9851c3c22cd980-s.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: '__Inter_f367f3';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url(/_next/static/media/21350d82a1f187e9-s.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* greek-ext */
@font-face {
  font-family: '__Inter_f367f3';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url(/_next/static/media/c5fe6dc8356a8c31-s.woff2) format('woff2');
  unicode-range: U+1F00-1FFF;
}
/* greek */
@font-face {
  font-family: '__Inter_f367f3';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url(/_next/static/media/19cfc7226ec3afaa-s.woff2) format('woff2');
  unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
}
/* vietnamese */
@font-face {
  font-family: '__Inter_f367f3';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url(/_next/static/media/df0a9ae256c0569c-s.woff2) format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: '__Inter_f367f3';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url(/_next/static/media/8e9860b6e62d6359-s.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: '__Inter_f367f3';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url(/_next/static/media/e4af272ccee01ff0-s.p.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}@font-face {font-family: '__Inter_Fallback_f367f3';src: local("Arial");ascent-override: 90.49%;descent-override: 22.56%;line-gap-override: 0.00%;size-adjust: 107.06%
}.__className_f367f3 {font-family: '__Inter_f367f3', '__Inter_Fallback_f367f3';font-style: normal
}.__variable_f367f3 {--font-inter: '__Inter_f367f3', '__Inter_Fallback_f367f3'
}

/*!*************************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ./node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[13].oneOf[12].use[2]!./node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[13].oneOf[12].use[3]!./app/globals.css ***!
  \*************************************************************************************************************************************************************************************************************************************************************/
:root {
  color-scheme: dark;
  --color-bg: #050b16;
  --color-surface: rgba(15, 23, 42, 0.6);
  --color-border: rgba(148, 163, 184, 0.18);
  --color-text: #e2e8f0;
  --color-text-muted: #94a3b8;
  --color-accent: #38bdf8;
  --font-inter: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  font-family: var(--font-inter);
  --bg-base: radial-gradient(circle at top, #111a2b 0%, #050b16 55%, #030711 100%);
  background: var(--bg-current, var(--bg-base));
  color: var(--color-text);
  min-height: 100%;
  transition: background 600ms ease-out;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  -webkit-clip-path: inset(50%);
          clip-path: inset(50%);
  border: 0;
  white-space: nowrap;
}

a {
  color: inherit;
  text-decoration: none;
}

a:hover {
  color: var(--color-accent);
}

code {
  font-family: "JetBrains Mono", "SFMono-Regular", Menlo, monospace;
  font-size: 0.9em;
  color: var(--color-accent);
}

main {
  width: 100%;
}

main > * {
  width: 100%;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.shell {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5rem;
  padding: 6rem 1.5rem 4rem;
}

.hero {
  width: 100%;
  max-width: 640px;
  text-align: center;
  display: grid;
  grid-gap: 1.5rem;
  gap: 1.5rem;
}

.wordmark {
  letter-spacing: 0.4em;
  text-transform: uppercase;
  font-size: 0.75rem;
  color: var(--color-text-muted);
}

.hero h1 {
  margin: 0;
  font-size: clamp(2.2rem, 3vw + 1.1rem, 3.4rem);
  font-weight: 600;
  letter-spacing: -0.02em;
}

.hero p {
  margin: 0;
  color: var(--color-text-muted);
  line-height: 1.5;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  color: var(--color-text-muted);
}

.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.6rem;
  border-radius: 999px;
  border: 1px solid var(--color-border);
  background: rgba(148, 163, 184, 0.06);
  color: var(--color-text);
  transition: border-color 0.2s ease, background 0.2s ease;
}

.cta:hover {
  border-color: var(--color-accent);
  background: rgba(56, 189, 248, 0.1);
}

.detail-grid {
  width: 100%;
  max-width: 920px;
  display: grid;
  grid-gap: 1.5rem;
  gap: 1.5rem;
}

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

.detail-card {
  padding: 1.6rem;
  border-radius: 18px;
  border: 1px solid var(--color-border);
  background: var(--color-surface);
  display: grid;
  grid-gap: 0.8rem;
  gap: 0.8rem;
}

.detail-card h2 {
  margin: 0;
  font-size: 1.2rem;
  font-weight: 500;
  letter-spacing: -0.01em;
}

.detail-card p {
  margin: 0;
  color: var(--color-text-muted);
  line-height: 1.5;
}

.spec {
  width: 100%;
  max-width: 640px;
  display: grid;
  grid-gap: 1.5rem;
  gap: 1.5rem;
}

.spec h2 {
  margin: 0;
  font-size: 0.95rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}

.spec ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-gap: 0.75rem;
  gap: 0.75rem;
}

.spec li {
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--color-border);
}

.spec li:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.footnote {
  margin: 0;
  color: var(--color-text-muted);
  font-size: 0.9rem;
  line-height: 1.5;
}

.footer {
  width: 100%;
  max-width: 640px;
  border-top: 1px solid rgba(148, 163, 184, 0.12);
  padding-top: 1.5rem;
  display: flex;
  justify-content: center;
  color: var(--color-text-muted);
  font-size: 0.85rem;
}

.panel {
  width: 100%;
  max-width: 720px;
  padding: 1.75rem;
  border-radius: 18px;
  border: 1px solid var(--color-border);
  background: var(--color-surface);
  display: grid;
  grid-gap: 1rem;
  gap: 1rem;
}

.panel h1 {
  margin: 0;
  font-size: 1.6rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.panel h2 {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 500;
  letter-spacing: -0.005em;
}

.panel-meta {
  margin: 0;
  color: var(--color-text-muted);
  font-size: 0.95rem;
}

.panel-muted {
  margin: 0;
  color: var(--color-text-muted);
}

.stack {
  display: grid;
  grid-gap: 0.45rem;
  gap: 0.45rem;
}

.form-error {
  margin: 0;
  font-size: 0.85rem;
  color: rgba(248, 113, 113, 0.85);
}

.form-hint {
  margin: 0;
  font-size: 0.8rem;
  color: var(--color-text-muted);
}

.db-test-form {
  display: grid;
  grid-gap: 1rem;
  gap: 1rem;
}

.db-test-form label {
  display: grid;
  grid-gap: 0.45rem;
  gap: 0.45rem;
  font-size: 0.95rem;
  color: var(--color-text-muted);
}

.db-test-form input,
.db-test-form textarea {
  width: 100%;
  padding: 0.75rem 0.9rem;
  border-radius: 12px;
  border: 1px solid var(--color-border);
  background: rgba(15, 23, 42, 0.45);
  color: var(--color-text);
  font-size: 1rem;
}

.db-test-form textarea {
  min-height: 2.75rem;
  resize: vertical;
}

.db-test-form input:focus,
.db-test-form textarea:focus {
  outline: none;
  border-color: var(--color-accent);
  box-shadow: 0 0 0 1px rgba(56, 189, 248, 0.2);
}

.db-test-form small {
  color: var(--color-text-muted);
  font-size: 0.85rem;
}

.db-test-form button {
  justify-self: flex-start;
  padding: 0.75rem 1.5rem;
  border-radius: 999px;
  border: none;
  background: linear-gradient(135deg, rgba(56, 189, 248, 0.9), rgba(14, 165, 233, 0.9));
  color: #020617;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.db-test-form button:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 30px rgba(56, 189, 248, 0.25);
}

.db-test-form button:focus-visible,
.ghost-button:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
}

.db-test-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-gap: 1rem;
  gap: 1rem;
}

.db-test-item {
  padding: 1rem 1.25rem;
  border-radius: 16px;
  border: 1px solid rgba(148, 163, 184, 0.2);
  background: rgba(15, 23, 42, 0.45);
  display: grid;
  grid-gap: 0.75rem;
  gap: 0.75rem;
}

.db-test-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.db-test-row form {
  margin: 0;
}

.db-test-title {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  align-items: baseline;
}

.db-test-title strong {
  font-size: 1.05rem;
}

.db-test-slug {
  font-size: 0.9rem;
  color: var(--color-text-muted);
}

.db-test-description {
  margin: 0;
  color: var(--color-text-muted);
  line-height: 1.5;
}

.db-test-meta {
  display: grid;
  grid-gap: 0.5rem;
  gap: 0.5rem;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.db-test-meta div {
  display: grid;
  grid-gap: 0.2rem;
  gap: 0.2rem;
}

.db-test-meta dt {
  margin: 0;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}

.db-test-meta dd {
  margin: 0;
  font-family: "JetBrains Mono", "SFMono-Regular", Menlo, monospace;
  font-size: 0.85rem;
}

.ghost-button {
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.35);
  background: transparent;
  color: var(--color-text-muted);
  cursor: pointer;
  transition: border-color 0.15s ease, color 0.15s ease, background 0.15s ease;
}

.ghost-button:hover {
  border-color: var(--color-accent);
  color: var(--color-text);
  background: rgba(56, 189, 248, 0.08);
}

.board-shell {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.75rem;
  padding: 2.75rem 1.5rem;
}

.board-header {
  width: 100%;
  max-width: 800px;
  display: grid;
  grid-gap: 1rem;
  gap: 1rem;
  padding: 1rem 1.5rem;
  border-radius: 16px;
  border: 1px solid var(--color-border);
  background: var(--color-surface);
}

.board-header-top {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.board-path {
  font-family: "JetBrains Mono", "SFMono-Regular", Menlo, monospace;
  font-size: 1.05rem;
  letter-spacing: 0.08em;
  color: rgba(148, 163, 184, 0.9);
  white-space: nowrap;
  flex-shrink: 0;
}

.board-header-tabs {
  width: 100%;
}

.drop-overlay {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(8, 17, 35, 0.78);
  -webkit-backdrop-filter: blur(6px);
          backdrop-filter: blur(6px);
  z-index: 1400;
  pointer-events: none;
}

.drop-overlay-card {
  padding: 1.8rem 2.6rem;
  border-radius: 18px;
  border: 1px dashed rgba(148, 163, 184, 0.65);
  background: rgba(15, 23, 42, 0.88);
  color: var(--color-text);
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  box-shadow: 0 30px 60px rgba(8, 15, 31, 0.4);
}

.drop-overlay-label {
  display: block;
  opacity: 0.95;
}


.mobile-paste-button {
  position: fixed;
  left: 50%;
  bottom: calc(1.6rem + env(safe-area-inset-bottom, 0));
  transform: translateX(-50%);
  width: min(78vw, calc(100vw - 3rem - env(safe-area-inset-left, 0) - env(safe-area-inset-right, 0)));
  max-width: 480px;
  display: none;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.95rem 1.6rem;
  border-radius: 24px;
  background:
    linear-gradient(0deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.08)),
    rgba(13, 18, 30, 0.24);
  color: rgba(236, 241, 249, 0.95);
  font-weight: 600;
  font-size: 1.02rem;
  line-height: 1;
  letter-spacing: 0.01em;
  box-shadow: 0 10px 30px rgba(2, 6, 23, 0.26), inset 0 1px 0 rgba(255, 255, 255, 0.22),
    inset 0 -1px 0 rgba(2, 6, 23, 0.35);
  border: 1px solid rgba(148, 163, 184, 0.22);
  backdrop-filter: blur(9px) saturate(120%);
  -webkit-backdrop-filter: blur(9px) saturate(120%);
  overflow: hidden;
  z-index: 1200;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.mobile-paste-button::before {
  content: "";
  position: absolute;
  inset: 1px;
  border-radius: calc(24px - 1px);
  pointer-events: none;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.5), rgba(15, 118, 110, 0.18) 35%, transparent 70%);
  opacity: 0.52;
  mix-blend-mode: screen;
  transition: opacity 0.2s ease;
}

.mobile-paste-button > * {
  position: relative;
  z-index: 1;
}

.mobile-paste-button:not(:disabled):hover {
  transform: translateX(-50%) translateY(-1px);
  background:
    linear-gradient(0deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.1)),
    rgba(13, 22, 38, 0.26);
  box-shadow: 0 12px 36px rgba(2, 6, 23, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.26),
    inset 0 -1px 0 rgba(2, 6, 23, 0.35);
}

.mobile-paste-button:not(:disabled):hover::before {
  opacity: 0.58;
}

.mobile-paste-button:not(:disabled):active {
  transform: translateX(-50%) translateY(2px);
  background:
    linear-gradient(0deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.06)),
    rgba(12, 17, 28, 0.3);
  box-shadow: 0 8px 24px rgba(2, 6, 23, 0.26), inset 0 1px 0 rgba(255, 255, 255, 0.18),
    inset 0 -1px 0 rgba(2, 6, 23, 0.35);
}

.mobile-paste-button:focus-visible {
  outline: 2px solid rgba(56, 189, 248, 0.5);
  outline-offset: 3px;
}

.mobile-paste-button[disabled] {
  opacity: 0.52;
  cursor: default;
  box-shadow: 0 6px 18px rgba(2, 6, 23, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.16),
    inset 0 -1px 0 rgba(2, 6, 23, 0.35);
}

.mobile-paste-button[data-status="posting"] {
  background:
    linear-gradient(0deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.07)),
    rgba(30, 41, 59, 0.24);
  color: rgba(203, 213, 225, 0.9);
}

.mobile-paste-button[data-status="success"] {
  background:
    linear-gradient(0deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.08)),
    rgba(13, 94, 73, 0.26);
  color: rgba(236, 253, 245, 0.95);
}

.mobile-paste-button[data-status="error"] {
  background:
    linear-gradient(0deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.08)),
    rgba(110, 21, 27, 0.26);
  color: rgba(255, 235, 238, 0.95);
}

.mobile-paste-button-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: inherit;
}

.mobile-paste-button-icon svg {
  width: 1.24rem;
  height: 1.24rem;
}

.mobile-paste-button-label {
  display: inline-flex;
  align-items: center;
  letter-spacing: 0.014em;
}

@media (max-width: 768px) {
  .mobile-paste-button {
    display: inline-flex;
  }
}

@keyframes channel-modal-pop {
  from {
    opacity: 0;
    transform: translateY(12px) scale(0.97);
  }

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

.channel-modal-backdrop {
  position: fixed;
  inset: 0;
  padding: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(2, 6, 23, 0.72);
  -webkit-backdrop-filter: blur(6px);
          backdrop-filter: blur(6px);
  z-index: 1000;
}

.channel-modal-card {
  width: min(420px, 100%);
  display: flex;
  justify-content: center;
  animation: channel-modal-pop 160ms ease-out;
}

.channel-create-form {
  gap: 1.2rem;
}

.channel-create-form h3 {
  margin: 0;
  font-size: 1.3rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.channel-create-form label {
  display: grid;
  grid-gap: 0.45rem;
  gap: 0.45rem;
  font-size: 0.95rem;
  color: var(--color-text-muted);
}

.channel-create-form input {
  width: 100%;
  padding: 0.65rem 0.9rem;
  border-radius: 12px;
  border: 1px solid rgba(148, 163, 184, 0.35);
  background: rgba(15, 23, 42, 0.5);
  color: var(--color-text);
  font-size: 0.95rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.channel-create-form input::placeholder {
  color: rgba(148, 163, 184, 0.7);
}

.channel-create-form input:focus {
  outline: none;
  border-color: rgba(56, 189, 248, 0.8);
  box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.18);
  background: rgba(15, 23, 42, 0.62);
}

.channel-create-form input:disabled {
  opacity: 0.6;
}

.channel-create-actions {
  display: flex;
  justify-content: flex-end;
  gap: 0.75rem;
}

.channel-create-form button[type="submit"] {
  padding: 0.6rem 1.4rem;
  border-radius: 999px;
  border: none;
  background: linear-gradient(135deg, rgba(56, 189, 248, 0.95), rgba(14, 165, 233, 0.95));
  color: #020617;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.channel-create-form button[type="submit"]:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 32px rgba(56, 189, 248, 0.28);
}

.channel-create-form button[type="submit"]:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
}

.channel-create-form button[type="submit"]:disabled {
  opacity: 0.6;
  cursor: default;
  transform: none;
  box-shadow: none;
}

.channel-tabs {
  width: 100%;
  max-width: 800px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-start;
  gap: 0.5rem;
}

.channel-tab {
  padding: 0.45rem 1rem;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.3);
  background: rgba(15, 23, 42, 0.4);
  color: var(--color-text-muted);
  font-size: 0.95rem;
  transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
}

.channel-tab:hover {
  border-color: var(--color-accent);
  color: var(--color-text);
  background: rgba(56, 189, 248, 0.12);
}

.board-anon-badge {
  margin-left: auto;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  align-items: flex-end;
  flex-shrink: 0;
}

.board-anon-badge-editing {
  gap: 0.25rem;
}

.anon-name-button {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.25);
  background: rgba(255, 255, 255, 0.07);
  color: var(--color-text);
  font-size: 0.9rem;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.anon-name-button:hover {
  background: rgba(56, 189, 248, 0.16);
  border-color: rgba(56, 189, 248, 0.4);
}

.anon-name-button:active {
  transform: scale(0.98);
}

.anon-name-button:disabled {
  opacity: 0.6;
  cursor: default;
  transform: none;
}

.anon-name-button-logout {
  padding: 0.4rem 0.9rem;
  border: 1px solid rgba(248, 113, 113, 0.45);
  background: rgba(248, 113, 113, 0.18);
  color: rgba(254, 226, 226, 0.95);
  box-shadow: inset 0 0 0 1px rgba(248, 113, 113, 0.22);
}

.anon-name-button-logout:hover {
  background: rgba(248, 113, 113, 0.28);
  border-color: rgba(248, 113, 113, 0.6);
  color: rgba(254, 226, 226, 1);
}

.anon-name-label {
  font-weight: 600;
  white-space: nowrap;
}

.anon-name-button-logout .anon-name-label {
  color: inherit;
}

.anon-name-form {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.35rem 0.45rem 0.35rem 0.85rem;
  border-radius: 999px;
  border: 1px solid rgba(56, 189, 248, 0.45);
  background: rgba(56, 189, 248, 0.15);
}

.anon-name-input {
  background: transparent;
  border: none;
  outline: none;
  color: var(--color-text);
  font-size: 0.9rem;
  min-width: 120px;
}

.anon-name-input::placeholder {
  color: rgba(148, 163, 184, 0.7);
}

.anon-name-save {
  border: none;
  border-radius: 999px;
  padding: 0.3rem 0.8rem;
  font-size: 0.8rem;
  background: rgba(255, 255, 255, 0.16);
  color: var(--color-text);
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}

.anon-name-save:hover {
  background: rgba(255, 255, 255, 0.24);
}

.anon-name-save:active {
  transform: scale(0.97);
}

.anon-name-save:disabled {
  opacity: 0.6;
  cursor: default;
  transform: none;
}

.anon-name-error {
  margin: 0;
  font-size: 0.75rem;
  color: rgba(248, 113, 113, 0.85);
}

.channel-tab-active {
  border-color: rgba(56, 189, 248, 0.7);
  color: var(--color-text);
  background: rgba(56, 189, 248, 0.18);
}

.channel-empty {
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
  padding: 1.25rem 1.5rem;
  border-radius: 14px;
  border: 1px dashed rgba(148, 163, 184, 0.35);
  color: var(--color-text-muted);
  background: rgba(15, 23, 42, 0.4);
}

.session-block {
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
  display: grid;
  grid-gap: 1rem;
  gap: 1rem;
}

.session-header {
  display: flex;
  align-items: center;
}

.session-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.2rem 0;
  border: none;
  background: transparent;
  font-size: 0.95rem;
  font-weight: 600;
  color: rgba(226, 232, 240, 0.85);
}

.session-items {
  display: grid;
  grid-gap: 1.25rem;
  gap: 1.25rem;
}

.item-card {
  border-radius: 18px;
  border: 1px solid rgba(148, 163, 184, 0.22);
  background: rgba(15, 23, 42, 0.5);
  padding: 1.3rem 1.6rem;
  display: grid;
  grid-gap: 0.85rem;
  gap: 0.85rem;
}

.item-card-text {
  border-left: 3px solid rgba(56, 189, 248, 0.45);
}

.item-card-link {
  border-left: 3px solid rgba(16, 185, 129, 0.45);
}

.item-card-file {
  border-left: 3px solid rgba(249, 115, 22, 0.45);
}

.item-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  font-size: 0.9rem;
  color: rgba(148, 163, 184, 0.75);
}

.item-copy-button {
  width: 2.1rem;
  height: 2.1rem;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.3);
  background: rgba(15, 23, 42, 0.65);
  color: rgba(226, 232, 240, 0.85);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  cursor: pointer;
  transition: background 120ms ease, border-color 120ms ease, color 120ms ease;
}

.item-copy-button:hover {
  background: rgba(30, 41, 59, 0.85);
  border-color: rgba(148, 163, 184, 0.45);
}

.item-copy-button:focus-visible {
  outline: 2px solid rgba(56, 189, 248, 0.6);
  outline-offset: 2px;
}

.item-copy-button[data-state="copied"] {
  background: rgba(34, 197, 94, 0.28);
  border-color: rgba(34, 197, 94, 0.6);
  color: rgba(236, 253, 245, 0.95);
}

.item-copy-button[data-state="error"] {
  background: rgba(248, 113, 113, 0.28);
  border-color: rgba(248, 113, 113, 0.7);
  color: rgba(254, 242, 242, 0.95);
}

.item-meta-primary {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
}

.item-meta-actions {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.item-delete-button {
  width: 2.1rem;
  height: 2.1rem;
  border-radius: 999px;
  border: 1px solid rgba(248, 113, 113, 0.4);
  background: rgba(127, 29, 29, 0.3);
  color: rgba(254, 226, 226, 0.95);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  cursor: pointer;
  transition: background 120ms ease, border-color 120ms ease, opacity 120ms ease;
}

.item-delete-button:hover {
  background: rgba(185, 28, 28, 0.35);
  border-color: rgba(248, 113, 113, 0.6);
}

.item-delete-button:focus-visible {
  outline: 2px solid rgba(248, 113, 113, 0.7);
  outline-offset: 2px;
}

.item-delete-button:disabled {
  cursor: not-allowed;
  opacity: 0.7;
}

.item-delete-button[data-state="pending"] {
  background: rgba(185, 28, 28, 0.55);
  border-color: rgba(248, 113, 113, 0.8);
}

.item-delete-spinner {
  animation: item-spinner 0.9s linear infinite;
}

@keyframes item-spinner {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}
.item-author {
  font-weight: 600;
  color: var(--color-text);
}

.item-body {
  display: grid;
  grid-gap: 0.6rem;
  gap: 0.6rem;
  color: var(--color-text);
  line-height: 1.5;
}

.item-body-visual {
  padding: 1rem 1.2rem;
  border-radius: 16px;
  border: none;
  background: rgba(255, 255, 255, 0.05);
  box-shadow: none;
}

.item-visual-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1.2rem;
  align-items: flex-start;
}

.item-visual-details {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  min-width: 0;
  flex: 1 1;
}

.item-visual-details-footer {
  margin-top: 0.85rem;
  gap: 0.4rem;
}

.item-visual-title {
  font-weight: 600;
  color: var(--color-text);
  word-break: break-word;
}

.item-visual-embed {
  position: relative;
  width: min(720px, 100%);
  margin: 0 auto;
  aspect-ratio: 16 / 9;
  border-radius: 16px;
  overflow: hidden;
  background: rgba(15, 23, 42, 0.8);
}

.item-visual-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.item-file-link {
  font-weight: 600;
  color: var(--color-text);
}

.item-file-heading {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 0.75rem;
}

.item-file-meta {
  font-size: 0.85rem;
  color: rgba(148, 163, 184, 0.55);
}

.item-image-preview {
  display: block;
  margin: 0 auto;
  width: 100%;
  max-height: 60vh;
  border-radius: 14px;
  border: 1px solid rgba(148, 163, 184, 0.25);
  background: rgba(15, 23, 42, 0.35);
  object-fit: cover;
  object-position: center;
  box-shadow: 0 12px 32px rgba(2, 6, 23, 0.35);
}

.item-link-preview {
  width: clamp(120px, 25vw, 240px);
  max-height: 35vh;
  border-radius: 14px;
  border: 1px solid rgba(148, 163, 184, 0.2);
  background: rgba(15, 23, 42, 0.35);
  object-fit: cover;
  box-shadow: 0 10px 28px rgba(2, 6, 23, 0.3);
  flex-shrink: 0;
}

.markdown-preview {
  display: grid;
  grid-gap: 0.75rem;
  gap: 0.75rem;
}

.markdown-preview p {
  margin: 0;
}

.markdown-preview h1,
.markdown-preview h2,
.markdown-preview h3,
.markdown-preview h4,
.markdown-preview h5,
.markdown-preview h6 {
  margin: 0;
  font-weight: 600;
}

.markdown-preview h1 {
  font-size: 1.5rem;
}

.markdown-preview h2 {
  font-size: 1.35rem;
}

.markdown-preview h3 {
  font-size: 1.2rem;
}

.markdown-preview pre {
  margin: 0;
  padding: 0.9rem 1rem;
  border-radius: 12px;
  background: rgba(15, 23, 42, 0.65);
  overflow-x: auto;
  font-family: "JetBrains Mono", "SFMono-Regular", Menlo, monospace;
  font-size: 0.9rem;
}

.markdown-inline-code {
  padding: 0.1rem 0.35rem;
  border-radius: 8px;
  background: rgba(15, 23, 42, 0.65);
  font-family: "JetBrains Mono", "SFMono-Regular", Menlo, monospace;
  font-size: 0.9rem;
}

.markdown-preview ul,
.markdown-preview ol {
  margin: 0;
  padding-left: 1.2rem;
  display: grid;
  grid-gap: 0.45rem;
  gap: 0.45rem;
}

.item-body a {
  color: var(--color-accent);
}

.item-body a:hover {
  text-decoration: underline;
}

.item-body-muted {
  color: rgba(148, 163, 184, 0.6);
}

.item-subtext {
  margin: 0;
  font-size: 0.9rem;
  color: rgba(148, 163, 184, 0.7);
}

@media (max-width: 720px) {
  .board-header {
    flex-direction: column;
  }

  .board-meta {
    width: 100%;
  }

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

