@font-face {
  font-family: 'VOC-RE';
  src: url('VOC-RE.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  height: 100%;
  font-family: 'JetBrains Mono', monospace;
  font-weight: 700;
  color: #e0e0e0;
}

body {
  background-image: url('images/sonoma.webp');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.22);
  z-index: 0;
}

.container {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 64px;
  padding: 40px 32px;
}

.profile {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  min-width: 240px;
}

.avatar-ring {
  position: relative;
  border-radius: 50%;
  padding: 6px;
  background: linear-gradient(
    145deg,
    rgba(255,255,255,0.14) 0%,
    rgba(255,255,255,0.03) 100%
  );
  border: 1px solid rgba(255,255,255,0.20);
  border-bottom-color: rgba(255,255,255,0.05);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.38),
    inset 0 -1px 0 rgba(255,255,255,0.04),
    0 10px 32px rgba(0,0,0,0.22);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  margin-bottom: 8px;
  transition: border-color 0.4s ease, box-shadow 0.4s ease;
}

.avatar-ring.online {
  border-color: rgba(67,181,129,0.90);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.38),
    inset 0 -1px 0 rgba(255,255,255,0.04),
    0 0 12px rgba(67,181,129,0.70),
    0 0 28px rgba(67,181,129,0.35),
    0 10px 32px rgba(0,0,0,0.22);
}

.avatar-ring.idle {
  border-color: rgba(250,166,26,0.90);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.38),
    inset 0 -1px 0 rgba(255,255,255,0.04),
    0 0 12px rgba(250,166,26,0.70),
    0 0 28px rgba(250,166,26,0.35),
    0 10px 32px rgba(0,0,0,0.22);
}

.avatar-ring.dnd {
  border-color: rgba(240,71,71,0.90);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.38),
    inset 0 -1px 0 rgba(255,255,255,0.04),
    0 0 12px rgba(240,71,71,0.70),
    0 0 28px rgba(240,71,71,0.35),
    0 10px 32px rgba(0,0,0,0.22);
}

.profile img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
  border: none;
  box-shadow: none;
  filter: none;
}

.profile h1 {
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #fff;
  text-shadow: 0 1px 10px rgba(0,0,0,0.6), 0 1px 8px rgba(180,220,255,0.4);
}

.profile ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1px;
  text-align: center;
}

.profile ul li {
  font-size: 0.88rem;
  color: rgba(220,235,255,0.92);
  line-height: 1.4;
  text-shadow: 0 1px 6px rgba(0,0,0,0.55);
}

.discord-status-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 0.82rem;
  color: rgba(220,235,255,0.88);
  text-shadow: 0 1px 6px rgba(0,0,0,0.55);
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
  background: #747f8d;
  box-shadow: 0 0 5px rgba(116,127,141,0.6);
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

.status-dot.online  { background: #43b581; box-shadow: 0 0 6px rgba(67,181,129,0.7); }
.status-dot.idle    { background: #faa61a; box-shadow: 0 0 6px rgba(250,166,26,0.7); }
.status-dot.dnd     { background: #f04747; box-shadow: 0 0 6px rgba(240,71,71,0.7); }
.status-dot.offline { background: #747f8d; box-shadow: 0 0 5px rgba(116,127,141,0.5); }

.discord-custom-status {
  font-size: 0.80rem;
  color: rgba(220,235,255,0.80);
  text-align: center;
  max-width: 240px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-shadow: 0 1px 6px rgba(0,0,0,0.55);
}

.discord-custom-status .scroll-inner {
  display: inline-block;
}

.discord-custom-status.is-scrolling {
  text-align: left;
  text-overflow: clip;
}

.discord-custom-status.is-scrolling .scroll-inner {
  animation: discord-ticker var(--ticker-dur, 8s) linear infinite;
}

.discord-activity {
  font-size: 0.75rem;
  color: rgba(200,225,255,0.68);
  text-align: center;
  max-width: 240px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-shadow: 0 1px 5px rgba(0,0,0,0.55);
}

.discord-activity .scroll-inner {
  display: inline-block;
}

.discord-activity.is-scrolling {
  text-align: left;
  text-overflow: clip;
}

@keyframes discord-ticker {
  to { transform: translateX(-50%); }
}

.discord-activity.is-scrolling .scroll-inner {
  animation: discord-ticker var(--ticker-dur, 8s) linear infinite;
}

.card {
  position: relative;
  width: 580px;
  overflow: hidden;
  border-radius: 32px;
  background: linear-gradient(
    155deg,
    rgba(255,255,255,0.075) 0%,
    rgba(255,255,255,0.020) 40%,
    rgba(255,255,255,0.010) 62%,
    rgba(255,255,255,0.055) 100%
  );
  backdrop-filter: blur(14px) saturate(180%) brightness(1.06);
  -webkit-backdrop-filter: blur(14px) saturate(180%) brightness(1.06);
  box-shadow:
    0 36px 90px rgba(0,0,0,0.38),
    0 8px 24px rgba(0,0,0,0.20),
    inset 0 1px 0 rgba(255,255,255,0.30),
    inset 0 22px 44px -30px rgba(255,255,255,0.32),
    inset 0 -20px 40px -28px rgba(255,255,255,0.34),
    inset 0 0 22px rgba(255,255,255,0.045);
  transition: height 0.2s ease, width 0.2s ease;
}

.card.liquid-on {
  backdrop-filter: url(#liquid-lens);
  -webkit-backdrop-filter: url(#liquid-lens);
}

.card.interests-active {
  width: 780px;
}

.card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  z-index: 2;
  background:
    radial-gradient(130% 65% at 50% -12%,
      rgba(255,255,255,0.15) 0%, rgba(255,255,255,0.00) 55%),
    radial-gradient(120% 55% at 50% 114%,
      rgba(255,255,255,0.10) 0%, rgba(255,255,255,0.00) 60%),
    linear-gradient(115deg,
      rgba(255,255,255,0.09) 0%, rgba(255,255,255,0.00) 26%,
      rgba(255,255,255,0.00) 68%, rgba(255,255,255,0.05) 100%);
}

.card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1.5px;
  pointer-events: none;
  z-index: 4;
  background: conic-gradient(
    from 0deg at 50% 50%,
    rgba(255,255,255,0.85) 0deg,
    rgba(255,255,255,0.28) 55deg,
    rgba(255,255,255,0.10) 95deg,
    rgba(255,255,255,0.45) 180deg,
    rgba(255,255,255,0.10) 265deg,
    rgba(255,255,255,0.28) 305deg,
    rgba(255,255,255,0.85) 360deg
  );
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask-composite: exclude;
}

.tabs {
  position: relative;
  z-index: 3;
  display: flex;
  gap: 6px;
  padding: 14px 14px 10px;
}

.tab-btn {
  position: relative;
  z-index: 1;
  flex: 1;
  background: none;
  border: 1px solid transparent;
  cursor: pointer;
  padding: 9px 0;
  font-size: 0.78rem;
  font-family: 'JetBrains Mono', monospace;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.70);
  border-radius: 14px;
  transition: color 0.18s ease, background 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
  text-shadow: 0 1px 4px rgba(0,0,0,0.45);
}

.tab-btn:hover:not(.active) {
  color: rgba(255,255,255,0.88);
  background: rgba(255,255,255,0.06);
  border-color: rgba(255,255,255,0.10);
}

.tab-btn.active {
  color: rgba(255,255,255,0.97);
  text-shadow: 0 0 14px rgba(255,255,255,0.32);
}

.tab-pill {
  position: absolute;
  z-index: 0;
  border-radius: 14px;
  pointer-events: none;
  opacity: 0;
  background: linear-gradient(
    155deg,
    rgba(255,255,255,0.16) 0%,
    rgba(255,255,255,0.05) 50%,
    rgba(255,255,255,0.10) 100%
  );
  backdrop-filter: blur(8px) saturate(160%) brightness(1.15);
  -webkit-backdrop-filter: blur(8px) saturate(160%) brightness(1.15);
  box-shadow:
    0 4px 16px rgba(0,0,0,0.18),
    inset 0 1px 0 rgba(255,255,255,0.42),
    inset 0 8px 14px -10px rgba(255,255,255,0.32),
    inset 0 -8px 14px -10px rgba(255,255,255,0.26);
}

.tab-pill.ready {
  opacity: 1;
}

.card.liquid-on .tab-pill {
  backdrop-filter: url(#liquid-lens-tab);
  -webkit-backdrop-filter: url(#liquid-lens-tab);
}

.tab-pill::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background:
    radial-gradient(120% 90% at 50% -30%,
      rgba(255,255,255,0.24) 0%, rgba(255,255,255,0.00) 55%),
    radial-gradient(120% 80% at 50% 130%,
      rgba(255,255,255,0.10) 0%, rgba(255,255,255,0.00) 60%);
}

.tab-pill::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  pointer-events: none;
  background: conic-gradient(
    from 0deg at 50% 50%,
    rgba(255,255,255,0.75) 0deg,
    rgba(255,255,255,0.20) 70deg,
    rgba(255,255,255,0.10) 110deg,
    rgba(255,255,255,0.42) 180deg,
    rgba(255,255,255,0.10) 250deg,
    rgba(255,255,255,0.20) 290deg,
    rgba(255,255,255,0.75) 360deg
  );
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask-composite: exclude;
}

.tab-content {
  position: relative;
  z-index: 3;
  padding: 4px 20px 24px;
  display: none;
  font-size: 0.95rem;
  line-height: 1.9;
  color: rgba(230,242,255,0.94);
  text-shadow: 0 1px 5px rgba(0,0,0,0.45);
  opacity: 0;
  transition: opacity 0.12s ease;
}

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

.tab-content.visible {
  opacity: 1;
}

#bio {
  color: #fff;
}

.bio-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

#bio-text {
  flex: 1;
  min-width: 0;
  white-space: pre-wrap;
}

.bio-image {
  height: 200px;
  flex-shrink: 0;
}

.bio-tab-link {
  display: inline;
  padding: 0;
  border: none;
  background: none;
  font: inherit;
  color: #6eb5ff;
  text-decoration: underline;
  cursor: pointer;
  text-shadow: none;
}

.bio-tab-link:hover {
  color: #9eceff;
}

.interest-item {
  display: contents;
}

.interest-item img {
  height: 128px;
  width: auto;
  border-radius: 6px;
}

#interests-list {
  display: grid;
  grid-template-columns: max-content 1fr;
  column-gap: 32px;
  row-gap: 16px;
  align-items: center;
  overflow-y: auto;
  padding-right: 12px;
}

#interests-list::-webkit-scrollbar { width: 6px; }
#interests-list::-webkit-scrollbar-track { background: rgba(255,255,255,0.04); border-radius: 3px; }
#interests-list::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.22); border-radius: 3px; }
#interests-list::-webkit-scrollbar-thumb:hover { background: rgba(255,255,255,0.38); }

.interests-status {
  grid-column: 1 / -1;
  color: rgba(230,242,255,0.70);
  font-style: italic;
}

.interest-category-title {
  grid-column: 1 / -1;
  font-size: 0.95rem;
  font-weight: 700;
  color: rgba(255,255,255,0.96);
  text-shadow: 0 1px 5px rgba(0,0,0,0.45);
  padding-top: 24px;
  margin-bottom: 8px;
}

.interest-category-title:first-child {
  padding-top: 0;
}

.interest-teto-spacer {
  grid-column: 1 / -1;
  height: 24px;
}

.interests-footer {
  margin-top: 20px;
  font-size: 0.85rem;
  line-height: 1.5;
  color: rgba(230,242,255,0.75);
  font-style: italic;
  text-align: center;
  text-shadow: 0 1px 5px rgba(0,0,0,0.45);
}

.interest-name {
  font-size: 1rem;
  line-height: 1.5;
}

.tab-content a {
  display: block;
  color: rgba(225,240,255,0.94);
  text-decoration: none;
  padding: 6px 10px;
  border-radius: 9px;
  transition: background 0.18s ease, color 0.18s ease, box-shadow 0.18s ease;
}

.tab-content a:hover {
  color: #fff;
  background: rgba(255,255,255,0.08);
  border-radius: 12px;
  box-shadow:
    inset 0 1.5px 0 rgba(255,255,255,0.28),
    inset 0 -1px 0 rgba(255,255,255,0.04),
    0 2px 10px rgba(0,0,0,0.14);
}

.discord-tag {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid rgba(255,255,255,0.08);
  font-size: 0.95rem;
  color: rgba(220,235,255,0.92);
  text-decoration: none;
  display: block;
  border-radius: 9px;
}

.project-item {
  padding: 8px 10px;
  border-radius: 9px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  transition: background 0.18s ease;
}

.project-item:last-child {
  border-bottom: none;
}

.project-item:hover {
  background: rgba(255,255,255,0.05);
}

.link-buttons {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
}

.link-item {
  display: flex;
  align-items: center;
  gap: 14px;
}

.link-buttons a {
  display: block;
  padding: 0;
  background: none;
  box-shadow: none;
  border-radius: 0;
  flex-shrink: 0;
}

.link-buttons a:hover {
  background: none;
  box-shadow: none;
  opacity: 0.85;
}

.link-buttons img {
  display: block;
  width: 97px;
  height: auto;
  image-rendering: auto;
}

.link-desc {
  font-size: 0.85rem;
  color: rgba(220, 238, 255, 0.96);
  text-shadow: 0 1px 5px rgba(0,0,0,0.45);
}

.project-item span {
  font-size: 0.75rem;
  color: rgba(180,210,255,0.38);
}

@keyframes welcome-slide {
  from { transform: translateX(120vw); }
  to   { transform: translateX(0); }
}

@keyframes welcome-pass {
  from { transform: translateX(120vw); }
  to   { transform: translateX(-130vw); }
}

@keyframes letter-flash {
  0%   { color: #fff; transform: translateY(0); }
  50%  { color: #e03535; text-shadow: 0 0 24px rgba(240, 50, 50, 0.95); transform: translateY(-14px); }
  100% { color: #fff; transform: translateY(0); }
}

@keyframes welcome-rect-exit {
  from { clip-path: inset(0 0% 0 0); }
  to   { clip-path: inset(0 100% 0 0); }
}

@keyframes welcome-bg-fade {
  from { background-color: #000; }
  to   { background-color: transparent; }
}

.welcome-overlay {
  position: fixed;
  inset: 0;
  z-index: 999;
  pointer-events: all;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #000;
  animation: welcome-bg-fade 0.8s ease both 1.5s;
}

.welcome-wrap {
  position: relative;
  width: 100vw;
  height: 480px;
  margin-top: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.welcome-rect {
  position: absolute;
  inset: 0;
  background: rgba(210, 40, 40, 0.55);
  transform: translateX(120vw);
  animation: welcome-slide 0.6s cubic-bezier(0.22, 1, 0.36, 1) forwards 0.15s,
             welcome-rect-exit 0.9s cubic-bezier(0.22, 1, 0.36, 1) forwards 1.55s;
}

.welcome-img {
  position: relative;
  z-index: 1;
  height: 1500px;
  width: auto;
  margin-top: 120px;
  transform: translateX(120vw);
  animation: welcome-pass 2.0s linear(0, 0.117 6%, 0.217 12%, 0.301 18%, 0.368 24%, 0.419 30%, 0.443 34%, 0.453 36%, 0.457 37%, 0.460 38%, 0.473 42%, 0.487 46%, 0.500 50%, 0.513 54%, 0.527 58%, 0.540 62%, 0.544 63%, 0.548 64%, 0.552 65%, 0.568 68%, 0.613 74%, 0.675 80%, 0.753 86%, 0.848 92%, 0.920 96%, 1) forwards 0s;
}

.welcome-label {
  position: absolute;
  left: 0;
  width: 100%;
  text-align: center;
  top: 100px;
  z-index: 2;
  font-family: 'VOC-RE', monospace;
  font-size: 8rem;
  color: #fff;
  text-shadow: 0 2px 24px rgba(255, 80, 80, 0.65), 0 1px 6px rgba(0, 0, 0, 0.7);
  transform: translateX(120vw);
  animation: welcome-pass 2.0s linear(0, 0.117 6%, 0.217 12%, 0.301 18%, 0.368 24%, 0.419 30%, 0.443 34%, 0.453 36%, 0.457 37%, 0.460 38%, 0.473 42%, 0.487 46%, 0.500 50%, 0.513 54%, 0.527 58%, 0.540 62%, 0.544 63%, 0.548 64%, 0.552 65%, 0.568 68%, 0.613 74%, 0.675 80%, 0.753 86%, 0.848 92%, 0.920 96%, 1) forwards 0s;
}

.welcome-label span { display: inline-block; }

.welcome-label span:nth-child(1) { animation: letter-flash 0.32s ease-in-out 0.48s; }
.welcome-label span:nth-child(2) { animation: letter-flash 0.32s ease-in-out 0.58s; }
.welcome-label span:nth-child(3) { animation: letter-flash 0.32s ease-in-out 0.68s; }
.welcome-label span:nth-child(4) { animation: letter-flash 0.32s ease-in-out 0.78s; }
.welcome-label span:nth-child(5) { animation: letter-flash 0.32s ease-in-out 0.88s; }
.welcome-label span:nth-child(6) { animation: letter-flash 0.32s ease-in-out 0.98s; }
.welcome-label span:nth-child(7) { animation: letter-flash 0.32s ease-in-out 1.08s; }
.welcome-label span:nth-child(8) { animation: letter-flash 0.32s ease-in-out 1.18s; }

.gb-form {
  display: flex;
  flex-direction: column;
  gap: 7px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  margin-bottom: 10px;
}

.gb-form-row {
  display: flex;
  gap: 8px;
  align-items: center;
}

.gb-input {
  flex: 1;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 9px;
  padding: 7px 10px;
  color: #fff;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.80rem;
  font-weight: 700;
  outline: none;
  transition: border-color 0.15s;
}

.gb-input::placeholder { color: rgba(255,255,255,0.25); }
.gb-input:focus { border-color: rgba(255,255,255,0.28); background: rgba(255,255,255,0.09); }

.gb-color {
  width: 34px;
  height: 34px;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 9px;
  background: none;
  cursor: pointer;
  padding: 3px;
  flex-shrink: 0;
}

.gb-textarea {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 9px;
  padding: 7px 10px;
  color: #fff;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.80rem;
  font-weight: 700;
  resize: none;
  height: 58px;
  outline: none;
  transition: border-color 0.15s;
  line-height: 1.5;
}

.gb-textarea::placeholder { color: rgba(255,255,255,0.25); }
.gb-textarea:focus { border-color: rgba(255,255,255,0.28); background: rgba(255,255,255,0.09); }

.gb-form-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.gb-char-count {
  font-size: 0.68rem;
  color: rgba(200,225,255,0.58);
}

.gb-submit {
  position: relative;
  background: linear-gradient(
    155deg,
    rgba(255,255,255,0.15) 0%,
    rgba(255,255,255,0.04) 55%,
    rgba(255,255,255,0.09) 100%
  );
  border: none;
  border-radius: 10px;
  padding: 7px 19px;
  color: rgba(255,255,255,0.92);
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  cursor: pointer;
  transition: background 0.15s, box-shadow 0.15s;
  backdrop-filter: blur(8px) saturate(160%) brightness(1.12);
  -webkit-backdrop-filter: blur(8px) saturate(160%) brightness(1.12);
  box-shadow:
    0 4px 14px rgba(0,0,0,0.16),
    inset 0 1px 0 rgba(255,255,255,0.40),
    inset 0 -6px 12px -8px rgba(255,255,255,0.28);
}

.card.liquid-on .gb-submit {
  backdrop-filter: url(#liquid-lens-btn);
  -webkit-backdrop-filter: url(#liquid-lens-btn);
}

.gb-submit::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 10px;
  pointer-events: none;
  background: radial-gradient(120% 90% at 50% -30%,
    rgba(255,255,255,0.22) 0%, rgba(255,255,255,0.00) 55%);
}

.gb-submit::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 10px;
  padding: 1px;
  pointer-events: none;
  background: conic-gradient(
    from 0deg at 50% 50%,
    rgba(255,255,255,0.70) 0deg,
    rgba(255,255,255,0.18) 70deg,
    rgba(255,255,255,0.10) 110deg,
    rgba(255,255,255,0.40) 180deg,
    rgba(255,255,255,0.10) 250deg,
    rgba(255,255,255,0.18) 290deg,
    rgba(255,255,255,0.70) 360deg
  );
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask-composite: exclude;
}

.gb-submit:hover:not(:disabled) {
  background: linear-gradient(
    155deg,
    rgba(255,255,255,0.24) 0%,
    rgba(255,255,255,0.09) 55%,
    rgba(255,255,255,0.15) 100%
  );
  box-shadow:
    0 4px 16px rgba(0,0,0,0.18),
    inset 0 1px 0 rgba(255,255,255,0.50),
    inset 0 -6px 12px -8px rgba(255,255,255,0.36);
}

.gb-submit:disabled { opacity: 0.38; cursor: not-allowed; }

.gb-messages {
  display: flex;
  flex-direction: column;
  gap: 7px;
  max-height: 320px;
  overflow-y: auto;
  padding-right: 4px;
}

.gb-messages::-webkit-scrollbar { width: 6px; }
.gb-messages::-webkit-scrollbar-track { background: rgba(255,255,255,0.04); border-radius: 3px; }
.gb-messages::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.22); border-radius: 3px; }
.gb-messages::-webkit-scrollbar-thumb:hover { background: rgba(255,255,255,0.38); }

.gb-entry {
  padding: 8px 10px;
  border-radius: 10px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.07);
  border-top-color: rgba(255,255,255,0.11);
}

.gb-entry-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 3px;
}

.gb-entry-name {
  font-size: 0.85rem;
  font-weight: 700;
  flex-shrink: 0;
  letter-spacing: 0.02em;
  text-shadow:
    0 0 6px rgba(0, 0, 0, 0.45),
    0 1px 2px rgba(0, 0, 0, 0.35);
}

.gb-entry-time {
  font-size: 0.66rem;
  color: rgba(200,225,255,0.55);
  white-space: nowrap;
}

.gb-entry-msg {
  font-size: 0.80rem;
  color: rgba(230,242,255,0.94);
  line-height: 1.55;
  word-break: break-word;
  white-space: pre-wrap;
}

.gb-resize-handle {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 6px 0 2px;
  cursor: ns-resize;
  user-select: none;
}

.gb-resize-handle::before {
  content: '';
  width: 40px;
  height: 3px;
  border-radius: 2px;
  background: rgba(255,255,255,0.18);
  transition: background 0.15s, width 0.15s;
}

.gb-resize-handle:hover::before {
  background: rgba(255,255,255,0.42);
  width: 52px;
}

.gb-status {
  font-size: 0.78rem;
  color: rgba(200,225,255,0.65);
  text-align: center;
  padding: 12px 0;
}

.anim-paused,
.anim-paused .welcome-rect,
.anim-paused .welcome-img,
.anim-paused .welcome-label,
.anim-paused .welcome-label span {
  animation-play-state: paused !important;
}

@keyframes dot-bounce {
  0%, 100% { transform: translateY(0);     opacity: 0.5; }
  50%       { transform: translateY(-28px); opacity: 1;   }
}

#preloader {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: none;
}

.preloader-content {
  display: flex;
  align-items: flex-end;
  gap: 10px;
  position: absolute;
  bottom: 20%;
}

.preloader-dot {
  display: inline-block;
  font-family: 'VOC-RE', monospace;
  font-size: 6rem;
  color: #e03535;
  text-shadow: 0 0 24px rgba(224, 53, 53, 0.90), 0 0 8px rgba(224, 53, 53, 0.55);
  line-height: 1;
  animation: dot-bounce 1.1s ease-in-out infinite;
}

.preloader-dot:nth-child(2) { animation-delay: 0.18s; }
.preloader-dot:nth-child(3) { animation-delay: 0.36s; }
