:root {
  --bg: #030726;
  --bg-2: #0b1448;
  --glass: rgba(8, 18, 63, 0.58);
  --glass-2: rgba(8, 18, 63, 0.86);
  --line: rgba(83, 115, 255, 0.42);
  --line-2: rgba(255, 75, 157, 0.56);
  --txt: #eef3ff;
  --muted: #a8b6ef;
  --accent: #4fd7ff;
  --accent-2: #ff43a6;
  --accent-3: #ff2946;
  --ok: #4ce5b6;
  --warn: #fcbf4f;
}

* {
  box-sizing: border-box;
  scrollbar-width: thin;
  scrollbar-color: rgba(106, 140, 255, 0.72) rgba(6, 16, 55, 0.36);
}

*::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

*::-webkit-scrollbar-track {
  background: rgba(6, 16, 55, 0.36);
  border-radius: 999px;
}

*::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, rgba(83, 140, 255, 0.9), rgba(246, 80, 152, 0.85));
  border-radius: 999px;
  border: 2px solid rgba(6, 16, 55, 0.36);
}

*::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, rgba(113, 163, 255, 0.95), rgba(255, 108, 174, 0.9));
}

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  color: var(--txt);
  background:
    radial-gradient(70% 60% at 85% 8%, rgba(84, 58, 255, 0.35), transparent 70%),
    radial-gradient(65% 54% at 10% 42%, rgba(255, 53, 170, 0.22), transparent 72%),
    linear-gradient(160deg, #04082b 0%, #010626 36%, #020428 100%);
  font-family: "Exo 2", sans-serif;
  overflow-x: hidden;
}

.ambient {
  pointer-events: none;
  position: fixed;
  inset: auto;
  border-radius: 999px;
  filter: blur(56px);
  opacity: 0.9;
  z-index: -1;
}

.ambient-1 {
  width: 480px;
  height: 240px;
  left: 8%;
  top: 95px;
  background: linear-gradient(90deg, rgba(79, 133, 255, 0.54), rgba(255, 68, 175, 0.4));
}

.ambient-2 {
  width: 560px;
  height: 260px;
  right: -100px;
  top: 320px;
  background: linear-gradient(90deg, rgba(0, 204, 255, 0.34), rgba(80, 70, 255, 0.42));
}

.ambient-3 {
  width: 540px;
  height: 280px;
  left: 34%;
  bottom: -80px;
  background: linear-gradient(90deg, rgba(255, 64, 128, 0.35), rgba(58, 118, 255, 0.28));
}

.page-wrap {
  width: min(1720px, 99vw);
  margin: 26px auto 54px;
}
.page-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(235px, 280px);
  gap: 22px;
  align-items: start;
}

.content-column {
  min-width: 0;
}

.content-column > .section:first-child {
  margin-top: 16px;
}

.notice-column {
  position: sticky;
  top: 18px;
  align-self: start;
}

.notice-column .section {
  margin-top: 18px;
}

.notice-column .section:first-child {
  margin-top: 28px;
}

.notice-section .section-head {
  margin-bottom: 10px;
}

.notice-section .section-head h2 {
  white-space: nowrap;
  font-size: clamp(1.02rem, 1.25vw, 1.38rem);
}

.notice-wrap {
  max-height: calc(100vh - 210px);
  overflow-y: auto;
}

.glass {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.01)),
    var(--glass);
  border: 1px solid rgba(114, 137, 255, 0.27);
  box-shadow: 0 16px 42px rgba(3, 8, 43, 0.55), inset 0 0 0 1px rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(10px);
}

.topbar {
  border-radius: 14px;
  padding: 14px 22px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 14px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--txt);
  font-family: "Rajdhani", sans-serif;
  font-size: clamp(1.5rem, 2.1vw, 2.2rem);
  font-weight: 700;
  letter-spacing: 0.3px;
}

.brand em {
  font-style: normal;
  color: #f05fb8;
}

.brand-glyph {
  width: 38px;
  height: 38px;
  border-radius: 9px;
  position: relative;
  transform: rotate(45deg);
  border: 1px solid rgba(93, 167, 255, 0.5);
  background: linear-gradient(140deg, rgba(58, 138, 255, 0.95), rgba(165, 53, 255, 0.75));
  box-shadow: 0 0 24px rgba(84, 163, 255, 0.4);
}

.brand-glyph::before,
.brand-glyph::after {
  content: "";
  position: absolute;
  inset: 9px;
  border-radius: 4px;
  border: 2px solid rgba(255, 255, 255, 0.48);
}

.brand-glyph::after {
  inset: 14px;
  border-width: 1px;
}

.top-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
  align-items: flex-start;
}

.top-actions > button {
  font-family: inherit;
  border: 1px solid rgba(110, 132, 255, 0.42);
  color: var(--txt);
  background: linear-gradient(180deg, rgba(32, 48, 110, 0.82), rgba(12, 22, 71, 0.9));
  border-radius: 10px;
  padding: 9px 15px;
  font-weight: 700;
  cursor: pointer;
}

.top-actions > button:hover {
  border-color: rgba(142, 170, 255, 0.75);
  box-shadow: 0 0 18px rgba(93, 111, 255, 0.35);
}

.account-panel {
  width: min(390px, 92vw);
  padding: 11px 12px;
  border-radius: 12px;
}

.account-panel.is-guest {
  opacity: 0.95;
}

.account-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.account-header strong {
  font-size: 0.96rem;
  font-weight: 800;
}

.account-rank {
  font-size: 0.76rem;
  color: #95c7ff;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.45px;
}

.account-lines,
.account-credits,
.account-note {
  margin: 6px 0 0;
  font-size: 0.84rem;
  line-height: 1.35;
}

.account-lines {
  color: #cce8ff;
  font-weight: 700;
}

.account-credits {
  color: #a7bcf7;
}

.account-note {
  color: var(--muted);
}

.account-note.is-warning {
  color: var(--warn);
  font-weight: 700;
}

.account-buttons {
  margin-top: 9px;
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.account-buttons button {
  font-family: inherit;
  border: 1px solid rgba(103, 131, 255, 0.42);
  color: var(--txt);
  border-radius: 9px;
  padding: 7px 11px;
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
}

.account-buttons button:disabled {
  cursor: not-allowed;
  opacity: 0.56;
}

.discord-login-btn {
  background: linear-gradient(125deg, #5a70ff, #5f7cf9);
}

.buy-lines-btn {
  background: linear-gradient(125deg, #236dff, #1a4dc2);
}

.discord-logout-btn {
  background: linear-gradient(125deg, #42558a, #2a3665);
}

.theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 150px;
  gap: 6px;
}

.new-paste-btn {
  min-width: 118px;
}

.section {
  margin-top: 28px;
}

.section-head {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 15px;
}

.section-head h2 {
  margin: 0;
  font-size: clamp(1.45rem, 1.9vw, 1.95rem);
  font-weight: 800;
  font-family: "Rajdhani", sans-serif;
}

.section-head::after {
  content: "";
  height: 2px;
  flex: 1;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent-2), rgba(120, 159, 255, 0.2));
}

.featured-frame {
  display: grid;
  grid-template-columns: 46px 1fr 46px;
  gap: 10px;
  align-items: stretch;
}

.carousel-nav {
  border: 1px solid rgba(113, 130, 255, 0.4);
  background: linear-gradient(180deg, rgba(16, 36, 100, 0.82), rgba(7, 16, 52, 0.92));
  border-radius: 10px;
  color: var(--txt);
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
}

.carousel-nav:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.featured-pages {
  overflow: hidden;
  border-radius: 14px;
}

.featured-page {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.feature-card {
  min-height: 244px;
  border-radius: 14px;
  padding: 14px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 11px;
  background:
    linear-gradient(130deg, rgba(19, 34, 108, 0.88), rgba(13, 24, 82, 0.8)),
    var(--glass-2);
  border: 1px solid rgba(129, 138, 255, 0.42);
  box-shadow: 0 14px 26px rgba(3, 10, 41, 0.42), inset 0 -2px 18px rgba(255, 61, 146, 0.17);
}

.feature-card::after {
  content: "";
  position: absolute;
  left: 2px;
  right: 2px;
  bottom: 2px;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(89, 126, 255, 0.5), rgba(255, 67, 156, 0.8));
}

.feature-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.feature-card-head h3 {
  margin: 0;
  font-size: 1.9rem;
  font-size: clamp(1.03rem, 1.2vw, 1.22rem);
  line-height: 1.2;
}

.syntax-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 7px;
  padding: 4px 9px;
  text-transform: uppercase;
  font-size: 0.72rem;
  letter-spacing: 0.5px;
  font-weight: 700;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
}

.syntax-pill[data-syntax="javascript"] { background: linear-gradient(90deg, #ff5b2e, #cc2222); }
.syntax-pill[data-syntax="python"] { background: linear-gradient(90deg, #4676ff, #2640b8); }
.syntax-pill[data-syntax="css"] { background: linear-gradient(90deg, #ff5fb0, #c31f74); }
.syntax-pill[data-syntax="html"] { background: linear-gradient(90deg, #f26a21, #bc3117); }
.syntax-pill[data-syntax="sql"] { background: linear-gradient(90deg, #4872ff, #2430a8); }
.syntax-pill[data-syntax="bash"] { background: linear-gradient(90deg, #495eac, #233985); }
.syntax-pill[data-syntax="json"] { background: linear-gradient(90deg, #32b7af, #1e7f89); }
.syntax-pill[data-syntax="text"] { background: linear-gradient(90deg, #8894ca, #5b6699); }

.feature-snippet {
  margin: 0;
  border-radius: 9px;
  background: rgba(6, 16, 54, 0.85);
  border: 1px solid rgba(97, 132, 255, 0.24);
  padding: 12px;
  min-height: 132px;
  overflow: hidden;
}

.feature-snippet code {
  font-size: 0.79rem;
  line-height: 1.4;
  font-family: "JetBrains Mono", "Consolas", monospace;
  white-space: pre-wrap;
  color: #d9e2ff;
}

.feature-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: auto;
}

.meta-time {
  font-size: 0.88rem;
  color: var(--muted);
}

.view-btn,
.copy-btn,
.cta-btn,
.load-more-btn {
  border: 0;
  border-radius: 9px;
  color: #fff;
  font-family: inherit;
  font-weight: 800;
  letter-spacing: 0.2px;
  cursor: pointer;
}

.view-btn {
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 96px;
  padding: 8px 12px;
  background: linear-gradient(120deg, #2f86ff, #c642ff);
}

.carousel-dots {
  margin-top: 10px;
  display: flex;
  justify-content: center;
  gap: 7px;
}

.carousel-dots button {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  border: 0;
  background: rgba(168, 188, 255, 0.42);
  cursor: pointer;
}

.carousel-dots button.is-active {
  background: linear-gradient(90deg, #45ccff, #ff4cb0);
  box-shadow: 0 0 16px rgba(126, 182, 255, 0.5);
}

.create-layout {
  display: grid;
  gap: 16px;
  grid-template-columns: minmax(0, 4.2fr) minmax(150px, 0.6fr);
}

.create-panel,
.stats-panel,
.toolbar,
.summary-strip,
.notice-wrap,
.table-wrap {
  border-radius: 14px;
}

.create-panel {
  padding: 14px;
}

.form-row {
  display: grid;
  grid-template-columns: minmax(0, 1.8fr) minmax(190px, 1fr);
  gap: 9px;
  margin-bottom: 10px;
}

input,
textarea,
select,
button {
  font: inherit;
}

input,
textarea,
select {
  width: 100%;
  border: 1px solid rgba(106, 126, 255, 0.33);
  background: rgba(8, 20, 67, 0.9);
  color: var(--txt);
  border-radius: 9px;
  padding: 12px;
  outline: none;
}

input::placeholder,
textarea::placeholder {
  color: #8091cf;
}

input:focus,
textarea:focus,
select:focus {
  border-color: rgba(118, 204, 255, 0.8);
  box-shadow: 0 0 0 2px rgba(59, 179, 255, 0.2);
}

textarea {
  min-height: 220px;
  resize: vertical;
  margin-bottom: 10px;
  font-family: "JetBrains Mono", "Consolas", monospace;
}

.cta-btn {
  display: block;
  min-width: 210px;
  margin: 0 auto;
  padding: 11px 16px;
  background: linear-gradient(120deg, #ff2a44, #ff1742 35%, #c7115c 100%);
}

.cta-btn:hover,
.copy-btn:hover,
.load-more-btn:hover {
  filter: brightness(1.06);
  box-shadow: 0 0 20px rgba(255, 72, 126, 0.48);
}

.status-text {
  text-align: center;
  min-height: 1.2rem;
  margin: 8px 0 0;
  color: var(--accent);
  font-size: 0.9rem;
}

.status-text.error {
  color: #ff7a9d;
}

.stats-panel {
  padding: 11px;
}

.stats-panel h3 {
  margin: 0 0 10px;
  font-family: "Rajdhani", sans-serif;
  font-size: 1.45rem;
  line-height: 1.15;
}

.stats-panel ul {
  margin: 0;
  padding-left: 0;
  list-style: none;
  display: grid;
  gap: 11px;
}

.stats-panel li {
  border-bottom: 1px solid rgba(111, 136, 255, 0.2);
  padding-bottom: 8px;
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.3;
}

.stats-panel li:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.stats-panel strong {
  color: var(--accent);
  display: block;
  margin-top: 2px;
  font-size: 1.14rem;
  line-height: 1.2;
}

.toolbar {
  padding: 12px;
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
}

.search-box {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(100, 131, 255, 0.32);
  border-radius: 10px;
  padding: 0 12px;
  background: rgba(8, 20, 67, 0.9);
}

.search-brand-glyph {
  width: 18px;
  height: 18px;
  border-radius: 5px;
  position: relative;
  transform: rotate(45deg);
  border: 1px solid rgba(93, 167, 255, 0.55);
  background: linear-gradient(140deg, rgba(58, 138, 255, 0.96), rgba(165, 53, 255, 0.74));
  box-shadow: 0 0 14px rgba(84, 163, 255, 0.35);
  flex: 0 0 auto;
}

.search-brand-glyph::before,
.search-brand-glyph::after {
  content: "";
  position: absolute;
  inset: 4px;
  border-radius: 2px;
  border: 1px solid rgba(255, 255, 255, 0.52);
}

.search-brand-glyph::after {
  inset: 7px;
}

.search-box input {
  border: 0;
  background: transparent;
  box-shadow: none;
  padding-left: 0;
}

.filter-box {
  min-width: 155px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.filter-box label {
  color: var(--muted);
}

.filter-box.filter-box-chip {
  min-width: 200px;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
}

.filter-box.filter-box-chip label {
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.45px;
}

.filter-native-select {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: 0;
  padding: 0;
  border: 0;
  opacity: 0;
  pointer-events: none;
}

.table-chip-group {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.table-chip {
  border: 1px solid rgba(100, 131, 255, 0.34);
  border-radius: 999px;
  background: rgba(8, 20, 67, 0.82);
  color: var(--txt);
  padding: 6px 10px;
  font-size: 0.77rem;
  font-weight: 700;
  line-height: 1.1;
  cursor: pointer;
  transition: border-color 0.16s ease, box-shadow 0.16s ease, transform 0.16s ease;
}

.table-chip:hover {
  border-color: rgba(141, 175, 255, 0.6);
  transform: translateY(-1px);
}

.table-chip.is-active {
  border-color: rgba(126, 211, 255, 0.72);
  box-shadow: 0 0 0 1px rgba(95, 194, 255, 0.28);
  background: linear-gradient(120deg, rgba(37, 93, 208, 0.92), rgba(197, 55, 179, 0.78));
}

.filter-stack {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
  align-items: flex-start;
}

.create-filters {
  margin-bottom: 10px;
  display: grid;
  gap: 8px;
}

.create-filter-group {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.create-filter-label {
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 700;
}

.create-filter-btn {
  border: 1px solid rgba(100, 131, 255, 0.34);
  border-radius: 9px;
  background: rgba(8, 20, 67, 0.82);
  color: var(--txt);
  padding: 7px 11px;
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
}

.create-filter-btn.is-active {
  border-color: rgba(126, 211, 255, 0.72);
  box-shadow: 0 0 0 1px rgba(95, 194, 255, 0.28);
  background: linear-gradient(120deg, rgba(37, 93, 208, 0.92), rgba(197, 55, 179, 0.78));
}

.summary-strip {
  padding: 8px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
}

.summary-strip article {
  padding: 13px 16px;
  text-align: center;
  border-right: 1px solid rgba(104, 127, 255, 0.26);
}

.summary-strip article:last-child {
  border-right: 0;
}

.summary-strip p {
  margin: 0 0 5px;
  color: var(--muted);
  font-size: 0.92rem;
}

.summary-strip strong {
  font-size: clamp(1.2rem, 1.8vw, 1.75rem);
  color: #ffd45f;
}

.content-meta {
  margin: 0 0 10px;
  color: var(--muted);
  text-align: right;
  font-size: 0.85rem;
}

.notice-wrap {
  padding: 14px;
}

.notice-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}

.notice-item {
  border: 1px solid rgba(112, 138, 255, 0.24);
  border-radius: 12px;
  background: rgba(10, 22, 71, 0.65);
  padding: 11px 12px;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.notice-item-link {
  display: block;
  color: inherit;
  text-decoration: none;
}

.notice-item.is-clickable {
  cursor: pointer;
}

.notice-item.is-clickable:hover,
.notice-item.is-clickable:focus-within {
  border-color: rgba(146, 176, 255, 0.55);
  box-shadow: 0 10px 20px rgba(7, 14, 52, 0.38);
  transform: translateY(-1px);
}

.notice-item-link:focus-visible {
  outline: none;
}

.notice-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.notice-source {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 7px;
  padding: 3px 8px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-size: 0.7rem;
  font-weight: 800;
}

.notice-source.is-discord {
  background: linear-gradient(90deg, #5e79ff, #6677f8);
  color: #fff;
}

.notice-source.is-system {
  background: linear-gradient(90deg, #3f5c8d, #2a3e68);
  color: #fff;
}

.notice-time {
  font-size: 0.82rem;
  color: var(--muted);
}

.notice-item h3 {
  margin: 8px 0 6px;
  font-size: 1rem;
}

.notice-item p {
  margin: 0;
  color: var(--muted);
  line-height: 1.45;
}

.notice-empty {
  text-align: center;
  color: var(--muted);
  padding: 14px;
}
.table-wrap {
  overflow: hidden;
}

.table-wrap table {
  width: 100%;
  border-collapse: collapse;
}

th,
td {
  padding: 12px 14px;
  border-bottom: 1px solid rgba(92, 116, 235, 0.22);
  text-align: left;
  white-space: nowrap;
}

thead th {
  font-size: 0.9rem;
  color: #adc0ff;
  font-weight: 700;
  background: linear-gradient(180deg, rgba(38, 56, 134, 0.6), rgba(19, 34, 90, 0.25));
}

.paste-row {
  cursor: pointer;
}

tbody tr:hover {
  background: rgba(73, 103, 255, 0.11);
}

td.title-cell {
  max-width: 280px;
}

td.title-cell a {
  color: var(--txt);
  text-decoration: none;
  font-weight: 700;
}

td.title-cell a:hover {
  color: #90d5ff;
}

.copy-btn {
  min-width: 102px;
  padding: 8px 12px;
  background: linear-gradient(120deg, #fa2d53, #b9155b);
}

.load-more-btn {
  display: block;
  margin: 16px auto;
  min-width: 180px;
  padding: 10px 14px;
  background: linear-gradient(120deg, #1e4db4, #1a3199);
}

.empty-row td {
  text-align: center;
  color: var(--muted);
  padding: 18px;
}

.paste-shell {
  width: min(1400px, 97vw);
  margin: 30px auto;
}

.paste-reader {
  padding: 18px;
  border-radius: 16px;
}

.paste-head {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
}

.paste-head h1 {
  margin: 0;
  font-size: clamp(1.35rem, 2.2vw, 2rem);
}

.paste-head-meta {
  color: var(--muted);
  font-size: 0.9rem;
}

.paste-copy-top {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin: 6px 0 14px;
}

.copy-top-btn,
.paste-copy-top .danger-btn {
  text-decoration: none;
  border: 0;
  border-radius: 10px;
  padding: 10px 18px;
  color: #fff;
  cursor: pointer;
  font-weight: 700;
  min-width: 150px;
}

.copy-top-btn {
  background: linear-gradient(120deg, #2f86ff, #a73cf9);
}

.paste-copy-top .danger-btn {
  background: linear-gradient(120deg, #fa3254, #b1123f);
}

.copy-top-btn:hover,
.paste-copy-top .danger-btn:hover {
  filter: brightness(1.06);
  box-shadow: 0 0 18px rgba(98, 146, 255, 0.45);
}

.paste-code {
  margin: 0;
  border-radius: 12px;
  border: 1px solid rgba(101, 121, 255, 0.28);
  background: rgba(8, 16, 52, 0.84);
  padding: 15px;
  overflow-x: auto;
  min-height: 360px;
}

.paste-actions {
  display: flex;
  gap: 9px;
  margin-top: 13px;
}

.paste-actions a,
.paste-actions button {
  text-decoration: none;
  border: 0;
  border-radius: 10px;
  padding: 10px 14px;
  color: #fff;
  background: linear-gradient(120deg, #2f86ff, #a73cf9);
  cursor: pointer;
  font-weight: 700;
}

.paste-actions a:last-child {
  background: linear-gradient(120deg, #3652af, #2a367c);
}

.paste-actions .danger-btn {
  background: linear-gradient(120deg, #fa3254, #b1123f);
}

.paste-action-status {
  margin: 8px 0 0;
  text-align: left;
}

.delete-confirm-overlay {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: rgba(2, 8, 30, 0.72);
  display: grid;
  place-items: center;
  padding: 16px;
}

.delete-confirm-overlay[hidden] {
  display: none;
}

.delete-confirm-dialog {
  width: min(440px, 94vw);
  padding: 16px;
  border-radius: 14px;
}

.delete-confirm-dialog h2 {
  margin: 0;
  font-size: 1.25rem;
}

.delete-confirm-dialog p {
  margin: 8px 0 0;
  color: var(--muted);
  line-height: 1.45;
}

.delete-confirm-actions {
  margin-top: 14px;
  display: flex;
  justify-content: flex-end;
  gap: 9px;
}

.delete-confirm-actions button {
  text-decoration: none;
  border: 0;
  border-radius: 10px;
  padding: 10px 14px;
  color: #fff;
  background: linear-gradient(120deg, #3652af, #2a367c);
  cursor: pointer;
  font-weight: 700;
}

.delete-confirm-actions .danger-btn {
  background: linear-gradient(120deg, #fa3254, #b1123f);
}

@media (max-width: 1200px) {
  .page-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .notice-column {
    position: static;
  }

  .notice-column .section:first-child {
    margin-top: 0;
  }

  .notice-wrap {
    max-height: none;
    overflow: visible;
  }

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

  .create-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 920px) {
  .featured-frame {
    grid-template-columns: 1fr;
  }

  .carousel-nav {
    display: none;
  }

  .featured-page {
    grid-template-columns: 1fr;
  }

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

  .toolbar {
    flex-direction: column;
    align-items: stretch;
  }

  .filter-stack {
    width: 100%;
  }

  .filter-box {
    width: 100%;
  }

  .summary-strip {
    grid-template-columns: 1fr;
  }

  .summary-strip article {
    border-right: 0;
    border-bottom: 1px solid rgba(104, 127, 255, 0.26);
  }

  .summary-strip article:last-child {
    border-bottom: 0;
  }
}

@media (max-width: 720px) {
  .topbar {
    flex-direction: column;
    align-items: flex-start;
    gap: 11px;
  }

  .top-actions {
    width: 100%;
  }

  .account-panel {
    width: 100%;
  }

  .top-actions > button {
    flex: 1;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

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

  .table-wrap table {
    min-width: 780px;
  }
}














/* One-screen dark layout */
html,
body {
  height: 100%;
  overflow: hidden;
}

body {
  overflow: hidden;
}

.page-wrap {
  width: min(1760px, 100vw);
  height: 100vh;
  margin: 0 auto;
  padding: 10px;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  gap: 10px;
}

.topbar {
  padding: 10px 14px;
  min-height: 0;
}

.top-actions {
  align-items: stretch;
}

.account-panel {
  width: min(430px, 45vw);
  padding: 9px 11px;
}

.account-system {
  margin: 0 0 5px;
  color: #9db6ff;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.55px;
  text-transform: uppercase;
}

.page-layout {
  height: 100%;
  min-height: 0;
  grid-template-columns: minmax(0, 1fr) minmax(230px, 270px);
  gap: 12px;
  align-items: stretch;
}

.content-column {
  min-width: 0;
  min-height: 0;
  display: grid;
  gap: 10px;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  grid-template-rows: auto auto minmax(0, 1fr);
}

.content-column > .section {
  margin-top: 0;
  min-height: 0;
}

.content-column > .section:nth-child(1),
.content-column > .section:nth-child(2) {
  grid-column: 1 / -1;
}

.content-column > .section:nth-child(3) {
  grid-column: 1;
}

.content-column > .section:nth-child(4) {
  grid-column: 2;
}

.notice-column {
  position: static;
  top: auto;
  align-self: stretch;
  min-height: 0;
}

.notice-column .section,
.notice-column .section:first-child {
  margin-top: 0;
  height: 100%;
}

.notice-wrap {
  height: calc(100% - 44px);
  max-height: none;
  overflow: hidden;
  padding: 10px;
}

.notice-list {
  gap: 8px;
}

.notice-item {
  padding: 9px 10px;
}

.section {
  margin-top: 0;
}

.section-head {
  margin-bottom: 8px;
}

.section-head h2 {
  font-size: clamp(1.08rem, 1.2vw, 1.32rem);
}

.summary-strip {
  padding: 4px;
}

.summary-strip article {
  padding: 8px 10px;
}

.toolbar {
  padding: 8px 10px;
}

.table-wrap {
  height: calc(100% - 38px);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.table-wrap table {
  flex: 1;
}

th,
td {
  padding: 8px 9px;
}

.load-more-btn {
  display: none !important;
}

.create-layout {
  grid-template-columns: 1fr;
  gap: 0;
}

.stats-panel {
  display: none;
}

.create-panel {
  height: calc(100% - 38px);
  padding: 10px;
  overflow: hidden;
}

.form-row {
  margin-bottom: 7px;
}

.create-filters {
  margin-bottom: 6px;
}

textarea {
  min-height: 110px;
  max-height: 140px;
  margin-bottom: 7px;
  resize: none;
}

.content-meta {
  margin: 0 0 7px;
}

.cta-btn {
  min-width: 100%;
  padding: 9px 12px;
}

.status-text {
  margin-top: 6px;
}

@media (max-width: 1200px) {
  html,
  body {
    overflow: auto;
  }

  .page-wrap {
    height: auto;
    min-height: 100vh;
    overflow: visible;
  }

  .page-layout {
    height: auto;
    grid-template-columns: 1fr;
  }

  .content-column {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }

  .content-column > .section:nth-child(1),
  .content-column > .section:nth-child(2),
  .content-column > .section:nth-child(3),
  .content-column > .section:nth-child(4) {
    grid-column: 1;
  }

  .notice-wrap,
  .create-panel,
  .table-wrap {
    height: auto;
    overflow: visible;
  }

  .stats-panel {
    display: block;
  }

  .account-panel {
    width: 100%;
  }
}
@media (min-width: 1201px) {
  body {
    font-size: 13px;
  }

  .page-wrap {
    padding: 8px;
    gap: 8px;
  }

  .topbar {
    padding: 8px 12px;
  }

  .brand {
    gap: 9px;
    font-size: clamp(1.16rem, 1.25vw, 1.4rem);
  }

  .brand-glyph {
    width: 30px;
    height: 30px;
  }

  .account-panel {
    width: min(380px, 43vw);
    padding: 8px 10px;
  }

  .account-header strong {
    font-size: 0.88rem;
  }

  .account-rank {
    font-size: 0.66rem;
  }

  .account-lines,
  .account-credits,
  .account-note {
    margin-top: 4px;
    font-size: 0.76rem;
  }

  .account-buttons {
    margin-top: 7px;
    gap: 6px;
  }

  .account-buttons button {
    padding: 6px 9px;
    font-size: 0.72rem;
  }

  .page-layout {
    gap: 10px;
    grid-template-columns: minmax(0, 1fr) minmax(210px, 250px);
  }

  .content-column {
    gap: 8px;
  }

  .section-head {
    margin-bottom: 6px;
  }

  .section-head h2 {
    font-size: clamp(0.98rem, 1.05vw, 1.14rem);
  }

  .summary-strip article {
    padding: 7px 8px;
  }

  .summary-strip p {
    margin-bottom: 3px;
    font-size: 0.76rem;
  }

  .summary-strip strong {
    font-size: clamp(0.95rem, 1.1vw, 1.2rem);
  }

  .toolbar {
    padding: 7px 8px;
    gap: 8px;
  }

  .search-box {
    padding: 0 9px;
  }

  .search-brand-glyph {
    width: 14px;
    height: 14px;
  }

  .filter-box {
    min-width: 130px;
    gap: 6px;
  }

  .filter-box.filter-box-chip {
    min-width: 165px;
  }

  .table-chip {
    padding: 5px 8px;
    font-size: 0.7rem;
  }

  .syntax-pill {
    padding: 3px 7px;
    font-size: 0.64rem;
  }

  input,
  textarea,
  select {
    padding: 9px;
    font-size: 0.82rem;
    border-radius: 8px;
  }

  .create-panel {
    padding: 8px;
  }

  .form-row {
    gap: 7px;
    margin-bottom: 6px;
  }

  textarea {
    min-height: 96px;
    max-height: 118px;
  }

  .content-meta {
    font-size: 0.75rem;
  }

  .cta-btn,
  .copy-btn,
  .load-more-btn,
  .view-btn {
    padding: 8px 10px;
    font-size: 0.78rem;
    border-radius: 8px;
  }

  th,
  td {
    padding: 6px 7px;
    font-size: 0.79rem;
  }

  .notice-wrap {
    padding: 8px;
  }

  .notice-item {
    padding: 8px 9px;
    border-radius: 10px;
  }

  .notice-item h3 {
    margin: 6px 0 4px;
    font-size: 0.88rem;
  }

  .notice-item p {
    font-size: 0.78rem;
  }
}
/* Header split + tighter recent table */
.brand-header {
  border-radius: 12px;
  padding: 6px 11px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.rank-header {
  display: flex;
  justify-content: flex-end;
  align-items: stretch;
}

.table-wrap table {
  table-layout: fixed;
}

.table-wrap thead th,
.table-wrap tbody td {
  height: 32px;
  vertical-align: middle;
}

.table-wrap th:nth-child(1),
.table-wrap td:nth-child(1) {
  width: 44%;
}

.table-wrap th:nth-child(2),
.table-wrap td:nth-child(2) {
  width: 16%;
}

.table-wrap th:nth-child(3),
.table-wrap td:nth-child(3) {
  width: 17%;
}

.table-wrap th:nth-child(4),
.table-wrap td:nth-child(4),
.table-wrap th:nth-child(5),
.table-wrap td:nth-child(5) {
  width: 11.5%;
}

td.title-cell a {
  display: block;
  width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

@media (min-width: 1201px) {
  .page-wrap {
    grid-template-rows: auto auto minmax(0, 1fr);
  }

  .brand-header {
    padding: 5px 10px;
  }

  .rank-header .account-panel {
    width: min(360px, 40vw);
  }

  .brand {
    font-size: clamp(1.06rem, 1.16vw, 1.26rem);
  }

  .brand-glyph {
    width: 24px;
    height: 24px;
  }

  .page-layout {
    grid-template-columns: minmax(0, 1fr) minmax(200px, 240px);
  }

  .content-column {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr);
  }

  .table-wrap thead th,
  .table-wrap tbody td {
    height: 30px;
  }

  .table-wrap th,
  .table-wrap td {
    padding: 5px 7px;
  }
}
/* Restored scroll + section order flow */
html,
body {
  height: auto !important;
  overflow-y: auto !important;
}

body {
  overflow-x: hidden;
  overflow-y: auto !important;
}

.page-wrap {
  display: block !important;
  height: auto !important;
  min-height: 0 !important;
  margin: 12px auto 28px !important;
  padding: 10px !important;
}

.page-layout {
  height: auto !important;
  min-height: 0 !important;
  align-items: start !important;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 260px) !important;
  gap: 12px !important;
}

.content-column {
  display: block !important;
  min-height: 0 !important;
}

.content-column > .section {
  margin-top: 14px !important;
}

.content-column > .section:first-child {
  margin-top: 0 !important;
}

.notice-column {
  position: sticky !important;
  top: 12px !important;
  align-self: start !important;
  min-height: 0 !important;
}

.notice-column .section,
.notice-column .section:first-child {
  height: auto !important;
  margin-top: 0 !important;
}

.notice-wrap {
  height: auto !important;
  max-height: calc(100vh - 170px) !important;
  overflow-y: auto !important;
  overflow-x: hidden !important;
}

.table-wrap {
  height: auto !important;
  display: block !important;
  overflow: auto !important;
}

.load-more-btn {
  display: block !important;
}

.create-layout {
  grid-template-columns: minmax(0, 1fr) minmax(150px, 0.5fr) !important;
  gap: 12px !important;
}

.stats-panel {
  display: block !important;
}

.create-panel {
  height: auto !important;
  overflow: visible !important;
  padding: 10px !important;
}

textarea {
  min-height: 150px !important;
  max-height: none !important;
  resize: vertical !important;
}

@media (max-width: 1200px) {
  .page-layout {
    grid-template-columns: 1fr !important;
  }

  .create-layout {
    grid-template-columns: 1fr !important;
  }

  .notice-column {
    position: static !important;
  }

  .notice-wrap {
    max-height: none !important;
  }
}
/* Brand centered and sized up */
.brand-header {
  width: fit-content !important;
  margin: 0 auto 8px !important;
  padding: 7px 14px !important;
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
}

.brand {
  font-size: clamp(1.32rem, 1.7vw, 1.72rem) !important;
  gap: 10px !important;
}

.brand-glyph {
  width: 32px !important;
  height: 32px !important;
}

.brand-glyph::before {
  inset: 7px !important;
}

.brand-glyph::after {
  inset: 11px !important;
}

@media (max-width: 720px) {
  .brand-header {
    margin: 0 auto 6px !important;
    padding: 6px 12px !important;
  }

  .brand {
    font-size: 1.18rem !important;
  }

  .brand-glyph {
    width: 28px !important;
    height: 28px !important;
  }
}
/* Numeric pagination (replaces Load More) */
.table-pagination {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 12px 16px;
  border-top: 1px solid rgba(92, 116, 235, 0.22);
  flex-shrink: 0;
}

.table-pagination[hidden] {
  display: none !important;
}

.pagination-btn {
  border: 1px solid rgba(123, 156, 255, 0.34);
  background: rgba(13, 28, 82, 0.9);
  color: #dbe7ff;
  border-radius: 9px;
  min-width: 38px;
  height: 34px;
  padding: 0 10px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.15s ease;
}

.pagination-btn:hover:not(:disabled) {
  border-color: rgba(129, 216, 255, 0.8);
  background: rgba(24, 52, 131, 0.95);
  color: #ffffff;
}

.pagination-btn.is-active {
  border-color: rgba(129, 216, 255, 0.88);
  background: linear-gradient(120deg, #2a6de0, #1b45bc);
  color: #ffffff;
}

.pagination-btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.pagination-ellipsis {
  color: #93a9e6;
  padding: 0 3px;
}

.pagination-info {
  margin-left: 10px;
  color: #93a9e6;
  font-size: 0.86rem;
}

@media (max-width: 720px) {
  .table-pagination {
    justify-content: flex-start;
    gap: 6px;
  }

  .pagination-info {
    width: 100%;
    margin-left: 0;
    text-align: center;
  }
}

/* Hard-disable legacy Load More button */
.load-more-btn {
  display: none !important;
  visibility: hidden !important;
}




/* Threvik Cloud visual refresh */
:root {
  --bg: #e3e5e9;
  --bg-2: #cbd0d8;
  --glass: rgba(13, 18, 25, 0.84);
  --glass-2: rgba(10, 14, 20, 0.92);
  --line: rgba(121, 136, 156, 0.42);
  --line-2: rgba(63, 73, 88, 0.56);
  --txt: #f3f5f8;
  --muted: #b8c2ce;
  --accent: #9fd4ff;
  --accent-2: #a3b2c4;
  --accent-3: #1a232f;
  --ok: #9eddbe;
  --warn: #ffd694;
}

body {
  position: relative;
  isolation: isolate;
  background:
    radial-gradient(140% 82% at 50% -12%, rgba(255, 255, 255, 0.96), rgba(225, 229, 236, 0.86) 46%, rgba(196, 202, 212, 0.94) 100%),
    linear-gradient(160deg, #f0f2f6 0%, #d6dae1 46%, #c3c8d2 100%) !important;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -3;
  pointer-events: none;
  background: url("/assets/threvik-cloud-bg.svg") center 43% / min(980px, 86vw) auto no-repeat;
  opacity: 0.24;
}

.ambient {
  z-index: -2;
  opacity: 0.5;
  filter: blur(62px);
}

.ambient-1 {
  background: radial-gradient(circle at 34% 38%, rgba(255, 255, 255, 0.58), rgba(120, 136, 158, 0.16) 72%) !important;
}

.ambient-2 {
  background: radial-gradient(circle at 62% 45%, rgba(192, 201, 214, 0.42), rgba(92, 104, 121, 0.15) 74%) !important;
}

.ambient-3 {
  background: radial-gradient(circle at 40% 42%, rgba(232, 236, 244, 0.42), rgba(116, 127, 145, 0.16) 74%) !important;
}

.glass {
  border: 1px solid rgba(179, 189, 203, 0.26) !important;
  box-shadow: 0 16px 34px rgba(12, 16, 22, 0.38), inset 0 0 0 1px rgba(255, 255, 255, 0.05) !important;
}

.brand em {
  color: #c4cedb !important;
}

.brand-glyph,
.search-brand-glyph {
  border-color: rgba(207, 216, 227, 0.62) !important;
  background: linear-gradient(145deg, #101821, #2b3848) !important;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08), 0 10px 22px rgba(5, 8, 13, 0.35) !important;
}

.brand-glyph::before,
.brand-glyph::after,
.search-brand-glyph::before,
.search-brand-glyph::after {
  border-color: rgba(231, 237, 245, 0.62) !important;
}

.search-box {
  border-color: rgba(174, 188, 208, 0.38) !important;
  background: rgba(13, 19, 28, 0.92) !important;
}

.top-actions > button,
.table-chip,
.create-filter-btn,
.pagination-btn {
  border-color: rgba(166, 179, 198, 0.42) !important;
  background: rgba(20, 29, 41, 0.88) !important;
}

.top-actions > button:hover,
.table-chip:hover,
.create-filter-btn:hover,
.pagination-btn:hover:not(:disabled) {
  border-color: rgba(197, 216, 239, 0.74) !important;
  background: rgba(37, 50, 68, 0.96) !important;
}

.table-chip.is-active,
.create-filter-btn.is-active,
.pagination-btn.is-active {
  border-color: rgba(198, 220, 246, 0.86) !important;
  box-shadow: 0 0 0 1px rgba(173, 196, 225, 0.3) !important;
  background: linear-gradient(120deg, rgba(44, 60, 80, 0.96), rgba(90, 109, 133, 0.92)) !important;
}

.view-btn,
.copy-top-btn {
  background: linear-gradient(120deg, #1a2431, #3d4d62) !important;
}

.copy-btn,
.cta-btn,
.load-more-btn {
  background: linear-gradient(120deg, #212d3b, #51647d) !important;
}

.copy-top-btn:hover,
.view-btn:hover,
.copy-btn:hover,
.cta-btn:hover,
.load-more-btn:hover,
.table-chip:hover,
.create-filter-btn:hover {
  box-shadow: 0 0 18px rgba(168, 193, 222, 0.35) !important;
}

.summary-strip strong {
  color: #d9e7ff !important;
}

.syntax-pill[data-syntax="javascript"] { background: linear-gradient(90deg, #4a5668, #2e3746) !important; }
.syntax-pill[data-syntax="python"] { background: linear-gradient(90deg, #425b74, #2b3f56) !important; }
.syntax-pill[data-syntax="css"] { background: linear-gradient(90deg, #5d5f72, #404454) !important; }
.syntax-pill[data-syntax="html"] { background: linear-gradient(90deg, #5f5862, #3f3b46) !important; }
.syntax-pill[data-syntax="sql"] { background: linear-gradient(90deg, #4a607a, #304559) !important; }
.syntax-pill[data-syntax="bash"] { background: linear-gradient(90deg, #45535f, #2d3841) !important; }
.syntax-pill[data-syntax="json"] { background: linear-gradient(90deg, #406775, #2a4854) !important; }
.syntax-pill[data-syntax="text"] { background: linear-gradient(90deg, #5f6772, #444b56) !important; }

/* Logo icon + distinct syntax colors */
.brand-glyph,
.search-brand-glyph {
  transform: none !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: url("/assets/threvik-cloud-icon.svg") center / contain no-repeat !important;
  box-shadow: none !important;
}

.brand-glyph {
  width: 48px !important;
  height: 30px !important;
}

.search-brand-glyph {
  width: 24px !important;
  height: 15px !important;
}

.brand-glyph::before,
.brand-glyph::after,
.search-brand-glyph::before,
.search-brand-glyph::after {
  display: none !important;
}

@media (max-width: 720px) {
  .brand-glyph {
    width: 42px !important;
    height: 26px !important;
  }

  .search-brand-glyph {
    width: 20px !important;
    height: 13px !important;
  }
}

.syntax-pill[data-syntax="javascript"] { background: linear-gradient(90deg, #f7c94b, #d18d22) !important; color: #1b1302 !important; }
.syntax-pill[data-syntax="python"] { background: linear-gradient(90deg, #5ca8ff, #2f63c9) !important; }
.syntax-pill[data-syntax="css"] { background: linear-gradient(90deg, #ff6fb2, #c3397e) !important; }
.syntax-pill[data-syntax="html"] { background: linear-gradient(90deg, #ff8c4f, #cf4f25) !important; }
.syntax-pill[data-syntax="sql"] { background: linear-gradient(90deg, #9d75ff, #5b43bf) !important; }
.syntax-pill[data-syntax="bash"] { background: linear-gradient(90deg, #62d39a, #2f8f63) !important; }
.syntax-pill[data-syntax="json"] { background: linear-gradient(90deg, #5cd8d1, #2a8b9f) !important; }
.syntax-pill[data-syntax="text"] { background: linear-gradient(90deg, #8c95a7, #616a79) !important; }

/* Keep cloud icon visible on dark glass panels */
.brand-glyph,
.search-brand-glyph {
  background-color: #e8edf4 !important;
  background-image: url("/assets/threvik-cloud-icon.svg") !important;
  background-repeat: no-repeat !important;
  background-position: center !important;
  background-size: 88% auto !important;
  border-radius: 7px !important;
  border: 1px solid rgba(14, 20, 28, 0.24) !important;
}

/* Action accents + header borders */
.cta-btn {
  background: linear-gradient(120deg, #ff8a2f, #ff4f62 54%, #ca2164) !important;
  border: 1px solid rgba(255, 197, 148, 0.56) !important;
  color: #ffffff !important;
}

.cta-btn:hover {
  box-shadow: 0 0 20px rgba(255, 142, 103, 0.48) !important;
}

.copy-top-btn,
.copy-btn {
  background: linear-gradient(120deg, #1f6fff, #28c6ff) !important;
  border: 1px solid rgba(156, 221, 255, 0.52) !important;
  color: #ffffff !important;
}

.copy-top-btn:hover,
.copy-btn:hover {
  box-shadow: 0 0 18px rgba(109, 193, 255, 0.48) !important;
}

.paste-copy-top .danger-btn,
.paste-actions .danger-btn,
.delete-confirm-actions .danger-btn {
  background: linear-gradient(120deg, #ff2e4d, #bd0f35) !important;
  border: 1px solid rgba(255, 166, 178, 0.5) !important;
  color: #ffffff !important;
}

.brand-header,
.topbar {
  border: 1px solid rgba(95, 185, 255, 0.46) !important;
}

.section-head {
  padding-bottom: 7px;
  border-bottom: 1px solid rgba(92, 182, 255, 0.34);
}

.section-head h2,
.notice-section .section-head h2 {
  color: #e3f2ff !important;
}

.section-head::after {
  background: linear-gradient(90deg, rgba(76, 194, 255, 0.9), rgba(255, 132, 93, 0.72)) !important;
}

.table-wrap thead th {
  border-bottom: 1px solid rgba(94, 182, 255, 0.45) !important;
  color: #dcecff !important;
}

/* Final user logo override (from uploaded image) */
.brand-glyph,
.search-brand-glyph {
  background-image: url("/assets/threvik-logo-user-cloud-light.png") !important;
  background-repeat: no-repeat !important;
  background-position: center !important;
  background-size: contain !important;
  background-color: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: 0 0 8px rgba(224, 236, 255, 0.22) !important;
  filter: drop-shadow(0 1px 2px rgba(6, 10, 16, 0.52));
}

.brand-glyph {
  width: 56px !important;
  height: 30px !important;
}

.search-brand-glyph {
  width: 26px !important;
  height: 14px !important;
}

@media (max-width: 720px) {
  .brand-glyph {
    width: 48px !important;
    height: 26px !important;
  }

  .search-brand-glyph {
    width: 22px !important;
    height: 12px !important;
  }
}

/* Heading readability + scrollbar blend */
.section-head {
  border-bottom: 1px solid rgba(61, 84, 110, 0.28) !important;
}

.section-head h2,
.notice-section .section-head h2 {
  color: #142538 !important;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.38) !important;
}

.notice-section .section-head h2 {
  color: #0f2033 !important;
}

.section-head::after {
  background: linear-gradient(90deg, rgba(46, 107, 168, 0.55), rgba(90, 108, 130, 0.28)) !important;
}

* {
  scrollbar-width: thin !important;
  scrollbar-color: rgba(197, 205, 216, 0.34) rgba(227, 231, 237, 0.22) !important;
}

*::-webkit-scrollbar {
  width: 8px !important;
  height: 8px !important;
}

*::-webkit-scrollbar-track {
  background: rgba(227, 231, 237, 0.24) !important;
  border-radius: 999px !important;
}

*::-webkit-scrollbar-thumb {
  background: rgba(196, 205, 217, 0.42) !important;
  border-radius: 999px !important;
  border: 2px solid rgba(227, 231, 237, 0.24) !important;
}

*::-webkit-scrollbar-thumb:hover {
  background: rgba(186, 196, 209, 0.52) !important;
}

html,
body {
  scrollbar-width: none !important;
}

html::-webkit-scrollbar,
body::-webkit-scrollbar {
  width: 0 !important;
  height: 0 !important;
}

/* Final choice from user image pack */
body::before {
  background-image: url("/assets/threvik-logo-watermark.png") !important;
  background-position: center 50% !important;
  background-size: min(980px, 86vw) auto !important;
  opacity: 0.23 !important;
}

.brand-glyph,
.search-brand-glyph {
  background-image: url("/assets/threvik-icon-48.png") !important;
  background-repeat: no-repeat !important;
  background-position: center !important;
  background-size: 92% auto !important;
  background-color: rgba(233, 239, 246, 0.96) !important;
  border: 1px solid rgba(21, 31, 43, 0.22) !important;
  border-radius: 8px !important;
  box-shadow: 0 2px 9px rgba(16, 24, 34, 0.24) !important;
  filter: none !important;
}

.brand-glyph {
  width: 42px !important;
  height: 42px !important;
}

.search-brand-glyph {
  width: 20px !important;
  height: 20px !important;
}

@media (max-width: 720px) {
  .brand-glyph {
    width: 36px !important;
    height: 36px !important;
  }

  .search-brand-glyph {
    width: 18px !important;
    height: 18px !important;
  }
}

/* Text-only table layout */
.form-row {
  grid-template-columns: 1fr !important;
}

.table-wrap th:nth-child(1),
.table-wrap td:nth-child(1) {
  width: 58% !important;
}

.table-wrap th:nth-child(2),
.table-wrap td:nth-child(2) {
  width: 16% !important;
}

.table-wrap th:nth-child(3),
.table-wrap td:nth-child(3),
.table-wrap th:nth-child(4),
.table-wrap td:nth-child(4) {
  width: 13% !important;
}


/* Final layout adjustments requested by user */
.create-layout {
  grid-template-columns: minmax(0, 1fr) !important;
  gap: 0 !important;
}

.stats-panel {
  display: none !important;
}

.create-panel {
  width: 100% !important;
  max-width: none !important;
  min-height: 0 !important;
}

#contentInput {
  min-height: 240px !important;
  max-height: none !important;
  resize: vertical !important;
}

#contentInput::placeholder {
  font-size: 0.92rem !important;
}

#titleInput {
  font-size: 1.08rem !important;
  font-weight: 700 !important;
  padding-top: 14px !important;
  padding-bottom: 14px !important;
}

.summary-strip article {
  padding: 16px 20px !important;
}

.summary-strip p {
  margin-bottom: 7px !important;
  font-size: 1rem !important;
}

.summary-strip strong {
  font-size: clamp(1.45rem, 2.15vw, 2.1rem) !important;
}

