/*! tailwindcss v4.2.1 | MIT License | https://tailwindcss.com */
@layer properties;
@layer theme, base, components, utilities;
@layer theme {
  :root, :host {
    --font-sans: ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji",
      "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
    --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono",
      "Courier New", monospace;
    --spacing: 0.25rem;
    --ease-in-out: cubic-bezier(0.4, 0, 0.2, 1);
    --default-transition-duration: 150ms;
    --default-transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    --default-font-family: var(--font-sans);
    --default-mono-font-family: var(--font-mono);
  }
}
@layer base {
  *, ::after, ::before, ::backdrop, ::file-selector-button {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    border: 0 solid;
  }
  html, :host {
    line-height: 1.5;
    -webkit-text-size-adjust: 100%;
    tab-size: 4;
    font-family: var(--default-font-family, ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji");
    font-feature-settings: var(--default-font-feature-settings, normal);
    font-variation-settings: var(--default-font-variation-settings, normal);
    -webkit-tap-highlight-color: transparent;
  }
  hr {
    height: 0;
    color: inherit;
    border-top-width: 1px;
  }
  abbr:where([title]) {
    -webkit-text-decoration: underline dotted;
    text-decoration: underline dotted;
  }
  h1, h2, h3, h4, h5, h6 {
    font-size: inherit;
    font-weight: inherit;
  }
  a {
    color: inherit;
    -webkit-text-decoration: inherit;
    text-decoration: inherit;
  }
  b, strong {
    font-weight: bolder;
  }
  code, kbd, samp, pre {
    font-family: var(--default-mono-font-family, ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace);
    font-feature-settings: var(--default-mono-font-feature-settings, normal);
    font-variation-settings: var(--default-mono-font-variation-settings, normal);
    font-size: 1em;
  }
  small {
    font-size: 80%;
  }
  sub, sup {
    font-size: 75%;
    line-height: 0;
    position: relative;
    vertical-align: baseline;
  }
  sub {
    bottom: -0.25em;
  }
  sup {
    top: -0.5em;
  }
  table {
    text-indent: 0;
    border-color: inherit;
    border-collapse: collapse;
  }
  :-moz-focusring {
    outline: auto;
  }
  progress {
    vertical-align: baseline;
  }
  summary {
    display: list-item;
  }
  ol, ul, menu {
    list-style: none;
  }
  img, svg, video, canvas, audio, iframe, embed, object {
    display: block;
    vertical-align: middle;
  }
  img, video {
    max-width: 100%;
    height: auto;
  }
  button, input, select, optgroup, textarea, ::file-selector-button {
    font: inherit;
    font-feature-settings: inherit;
    font-variation-settings: inherit;
    letter-spacing: inherit;
    color: inherit;
    border-radius: 0;
    background-color: transparent;
    opacity: 1;
  }
  :where(select:is([multiple], [size])) optgroup {
    font-weight: bolder;
  }
  :where(select:is([multiple], [size])) optgroup option {
    padding-inline-start: 20px;
  }
  ::file-selector-button {
    margin-inline-end: 4px;
  }
  ::placeholder {
    opacity: 1;
  }
  @supports (not (-webkit-appearance: -apple-pay-button))  or (contain-intrinsic-size: 1px) {
    ::placeholder {
      color: currentcolor;
      @supports (color: color-mix(in lab, red, red)) {
        color: color-mix(in oklab, currentcolor 50%, transparent);
      }
    }
  }
  textarea {
    resize: vertical;
  }
  ::-webkit-search-decoration {
    -webkit-appearance: none;
  }
  ::-webkit-date-and-time-value {
    min-height: 1lh;
    text-align: inherit;
  }
  ::-webkit-datetime-edit {
    display: inline-flex;
  }
  ::-webkit-datetime-edit-fields-wrapper {
    padding: 0;
  }
  ::-webkit-datetime-edit, ::-webkit-datetime-edit-year-field, ::-webkit-datetime-edit-month-field, ::-webkit-datetime-edit-day-field, ::-webkit-datetime-edit-hour-field, ::-webkit-datetime-edit-minute-field, ::-webkit-datetime-edit-second-field, ::-webkit-datetime-edit-millisecond-field, ::-webkit-datetime-edit-meridiem-field {
    padding-block: 0;
  }
  ::-webkit-calendar-picker-indicator {
    line-height: 1;
  }
  :-moz-ui-invalid {
    box-shadow: none;
  }
  button, input:where([type="button"], [type="reset"], [type="submit"]), ::file-selector-button {
    appearance: button;
  }
  ::-webkit-inner-spin-button, ::-webkit-outer-spin-button {
    height: auto;
  }
  [hidden]:where(:not([hidden="until-found"])) {
    display: none !important;
  }
}
@layer utilities {
  .static {
    position: static;
  }
  .start {
    inset-inline-start: var(--spacing);
  }
  .end {
    inset-inline-end: var(--spacing);
  }
  .block {
    display: block;
  }
  .contents {
    display: contents;
  }
  .table {
    display: table;
  }
  .grow {
    flex-grow: 1;
  }
  .transform {
    transform: var(--tw-rotate-x,) var(--tw-rotate-y,) var(--tw-rotate-z,) var(--tw-skew-x,) var(--tw-skew-y,);
  }
  .resize {
    resize: both;
  }
  .filter {
    filter: var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,);
  }
  .transition {
    transition-property: color, background-color, border-color, outline-color, text-decoration-color, fill, stroke, --tw-gradient-from, --tw-gradient-via, --tw-gradient-to, opacity, box-shadow, transform, translate, scale, rotate, filter, -webkit-backdrop-filter, backdrop-filter, display, content-visibility, overlay, pointer-events;
    transition-timing-function: var(--tw-ease, var(--default-transition-timing-function));
    transition-duration: var(--tw-duration, var(--default-transition-duration));
  }
  .ease-in-out {
    --tw-ease: var(--ease-in-out);
    transition-timing-function: var(--ease-in-out);
  }
}
body {
  margin: 0;
  padding: 0;
  overflow: hidden;
  font-family: 'Noto Sans SC', sans-serif;
  background-color: #111827;
  color: #f3f4f6;
  -webkit-tap-highlight-color: transparent;
}
#app-container {
  display: flex;
  height: 100vh;
  height: 100dvh;
  width: 100vw;
}
#sidebar {
  width: 300px;
  background-color: #1f2937;
  display: flex;
  flex-direction: column;
  border-right: 1px solid #374151;
}
.sidebar-header {
  padding: 20px;
  border-bottom: 1px solid #374151;
  font-family: 'Orbitron', sans-serif;
  font-size: 1.25rem;
  font-weight: bold;
  color: #fca5a5;
}
#playlist-container {
  flex-grow: 1;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
}
.playlist-section {
  display: flex;
  flex-direction: column;
}
.playlist-section-header {
  padding: 10px 20px;
  background-color: #374151;
  color: #f9fafb;
  font-weight: bold;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  user-select: none;
}
.playlist-section-header:hover {
  background-color: #4b5563;
}
.playlist-section-header svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
  transition: transform 0.2s;
}
.playlist-section-header.collapsed svg {
  transform: rotate(-90deg);
}
.playlist-content {
  padding: 10px;
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.playlist-content.collapsed {
  display: none;
}
.playlist-item {
  padding: 10px 15px;
  border-radius: 6px;
  cursor: pointer;
  transition: background-color 0.2s;
  color: #d1d5db;
  word-break: break-all;
}
.playlist-item:hover {
  background-color: #374151;
}
.playlist-item.active {
  background-color: #e11d48;
  color: white;
  font-weight: bold;
}
.sidebar-footer {
  padding: 20px;
  border-top: 1px solid #374151;
}
.file-upload-btn {
  display: block;
  width: 100%;
  text-align: center;
  background-color: #4b5563;
  color: white;
  padding: 10px;
  border-radius: 6px;
  cursor: pointer;
  transition: background-color 0.2s;
}
.file-upload-btn:hover {
  background-color: #6b7280;
}
#local-file-input {
  display: none;
}
#main-area {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  position: relative;
}
#bongo-cat-container {
  flex-grow: 1;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at center, #1f2937 0%, #111827 100%);
  cursor: pointer;
}
#controls-bar {
  height: 80px;
  background-color: #1f2937;
  border-top: 1px solid #374151;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 30px;
}
.track-info {
  display: flex;
  flex-direction: column;
  flex: 1;
}
.track-title {
  font-size: 1.125rem;
  font-weight: bold;
  color: #fca5a5;
  margin-bottom: 4px;
}
.track-status {
  font-size: 0.875rem;
  color: #9ca3af;
}
.control-buttons {
  display: flex;
  align-items: center;
  gap: 20px;
  flex: 1;
  justify-content: center;
}
.ctrl-btn {
  background: none;
  border: none;
  color: #d1d5db;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.2s, transform 0.1s;
  padding: 10px;
  border-radius: 50%;
}
.ctrl-btn:hover {
  color: #fca5a5;
  background-color: #374151;
}
.ctrl-btn:active {
  transform: scale(0.95);
}
.ctrl-btn svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
}
.ctrl-btn.play-pause svg {
  width: 32px;
  height: 32px;
}
.extra-controls {
  flex: 1;
  display: flex;
  justify-content: flex-end;
}
.font-orbitron {
  font-family: 'Orbitron', sans-serif;
}
.task-screen {
  display: none;
  animation: fadeIn 0.8s ease-in-out;
}
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.input-glow {
  box-shadow: 0 0 15px rgba(59, 130, 246, 0.5);
}
.btn-glow {
  box-shadow: 0 0 20px rgba(34, 197, 94, 0.6);
  transition: all 0.3s ease;
}
.btn-glow:hover {
  transform: scale(1.05);
  box-shadow: 0 0 30px rgba(34, 197, 94, 0.8);
}
.final-message-char {
  display: inline-block;
  opacity: 0;
  animation: popIn 0.5s forwards;
}
@keyframes popIn {
  0% {
    opacity: 0;
    transform: scale(0.5) rotate(-15deg);
  }
  100% {
    opacity: 1;
    transform: scale(1) rotate(0deg);
  }
}
#live2d-canvas {
  width: 100%;
  height: 100%;
}
#loading-indicator {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #fde047;
  font-size: 1.5rem;
  font-weight: bold;
  text-shadow: 0 0 10px #fde047;
  z-index: 1001;
  animation: flicker 1.5s infinite;
  display: none;
}
@keyframes flicker {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
}
.bongo-cat-bubble {
  position: absolute;
  bottom: 80%;
  left: 50%;
  transform: translateX(-50%);
  width: max-content;
  max-width: 250px;
  padding: 0.75rem 1rem;
  background-color: rgba(31, 41, 55, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid #4b5563;
  border-radius: 0.75rem;
  color: #d1d5db;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  text-align: center;
  font-size: 0.9rem;
  pointer-events: auto;
  opacity: 0;
  animation: bubble-fade-in 0.3s cubic-bezier(0.25, 0.1, 0.25, 1) forwards;
}
@keyframes bubble-fade-in {
  from {
    opacity: 0;
    transform: translateX(-50%) translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }
}
.bongo-cat-bubble::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  border-top: 8px solid rgba(31, 41, 55, 0.85);
}
.bongo-cat-bubble-buttons {
  display: flex;
  gap: 0.5rem;
}
.bongo-cat-bubble button {
  background-color: #4b5563;
  color: white;
  font-size: 0.85rem;
  padding: 0.4rem 0.8rem;
  border-radius: 0.5rem;
  border: none;
  cursor: pointer;
  transition: background-color 0.2s ease, transform 0.1s ease;
}
.bongo-cat-bubble button:hover {
  background-color: #6b7280;
}
.bongo-cat-bubble button:active {
  transform: scale(0.95);
}
#live2d-canvas {
  position: relative;
  z-index: 1;
}
.typing-effect::after {
  content: '▋';
  animation: blink 1s step-end infinite;
  color: #fca5a5;
}
@keyframes blink {
  from, to {
    opacity: 1;
  }
  50% {
    opacity: 0;
  }
}
.dialogue-line {
  opacity: 0;
  transform: translateY(15px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
.bongo-cat-reply {
  background-color: rgba(17, 24, 39, 0.7);
  border-left: 4px solid #fde047;
  padding: 0.75rem 1rem;
  margin-bottom: 1.5rem;
  border-radius: 0.5rem;
  color: #d1d5db;
  font-style: italic;
  text-align: center;
}
.mind-read-os {
  margin-bottom: 1.5rem;
  color: #f9a8d4;
  text-align: center;
  font-size: 1.1rem;
  font-weight: 500;
  text-shadow: 0 0 8px rgba(244, 114, 182, 0.5);
}
.mind-read-monologue {
  background-color: rgba(30, 41, 59, 0.5);
  border: 1px solid #4b5563;
  border-radius: 0.75rem;
  padding: 1rem 1.25rem;
  text-align: left;
  line-height: 1.75;
  color: #e5e7eb;
}
.mind-read-monologue p {
  margin-bottom: 1rem;
}
.mind-read-monologue p:last-child {
  margin-bottom: 0;
}
@media (max-width: 768px) and (orientation: portrait) {
  #app-container {
    flex-direction: column;
  }
  #sidebar {
    width: 100%;
    height: 45vh;
    order: 2;
    border-right: none;
    border-top: 1px solid #374151;
  }
  #main-area {
    width: 100%;
    height: 55vh;
    order: 1;
  }
  #controls-bar {
    height: auto;
    padding: 10px 15px;
    flex-wrap: wrap;
    justify-content: center;
    position: relative;
  }
  .track-info {
    flex: 1 1 100%;
    text-align: center;
    margin-bottom: 10px;
  }
  .track-title {
    font-size: 1rem;
  }
  .track-status {
    font-size: 0.75rem;
  }
  .control-buttons {
    flex: none;
    justify-content: center;
    gap: 15px;
  }
  .volume-control {
    display: none !important;
  }
  .extra-controls {
    position: absolute;
    right: 15px;
    top: 15px;
  }
}
@media (max-width: 850px) and (orientation: landscape) {
  #sidebar {
    width: 220px;
  }
  .volume-control {
    display: none !important;
  }
  .extra-controls {
    display: none !important;
  }
  #controls-bar {
    padding: 0 15px;
  }
}
@supports (padding-bottom: env(safe-area-inset-bottom)) {
  .sidebar-footer {
    padding-bottom: calc(20px + env(safe-area-inset-bottom));
  }
  #controls-bar {
    padding-bottom: calc(10px + env(safe-area-inset-bottom));
  }
  #app-container {
    padding-top: env(safe-area-inset-top);
    padding-left: env(safe-area-inset-left);
    padding-right: env(safe-area-inset-right);
  }
}
@property --tw-rotate-x {
  syntax: "*";
  inherits: false;
}
@property --tw-rotate-y {
  syntax: "*";
  inherits: false;
}
@property --tw-rotate-z {
  syntax: "*";
  inherits: false;
}
@property --tw-skew-x {
  syntax: "*";
  inherits: false;
}
@property --tw-skew-y {
  syntax: "*";
  inherits: false;
}
@property --tw-blur {
  syntax: "*";
  inherits: false;
}
@property --tw-brightness {
  syntax: "*";
  inherits: false;
}
@property --tw-contrast {
  syntax: "*";
  inherits: false;
}
@property --tw-grayscale {
  syntax: "*";
  inherits: false;
}
@property --tw-hue-rotate {
  syntax: "*";
  inherits: false;
}
@property --tw-invert {
  syntax: "*";
  inherits: false;
}
@property --tw-opacity {
  syntax: "*";
  inherits: false;
}
@property --tw-saturate {
  syntax: "*";
  inherits: false;
}
@property --tw-sepia {
  syntax: "*";
  inherits: false;
}
@property --tw-drop-shadow {
  syntax: "*";
  inherits: false;
}
@property --tw-drop-shadow-color {
  syntax: "*";
  inherits: false;
}
@property --tw-drop-shadow-alpha {
  syntax: "<percentage>";
  inherits: false;
  initial-value: 100%;
}
@property --tw-drop-shadow-size {
  syntax: "*";
  inherits: false;
}
@property --tw-ease {
  syntax: "*";
  inherits: false;
}
@layer properties {
  @supports ((-webkit-hyphens: none) and (not (margin-trim: inline))) or ((-moz-orient: inline) and (not (color:rgb(from red r g b)))) {
    *, ::before, ::after, ::backdrop {
      --tw-rotate-x: initial;
      --tw-rotate-y: initial;
      --tw-rotate-z: initial;
      --tw-skew-x: initial;
      --tw-skew-y: initial;
      --tw-blur: initial;
      --tw-brightness: initial;
      --tw-contrast: initial;
      --tw-grayscale: initial;
      --tw-hue-rotate: initial;
      --tw-invert: initial;
      --tw-opacity: initial;
      --tw-saturate: initial;
      --tw-sepia: initial;
      --tw-drop-shadow: initial;
      --tw-drop-shadow-color: initial;
      --tw-drop-shadow-alpha: 100%;
      --tw-drop-shadow-size: initial;
      --tw-ease: initial;
    }
  }
}
