import{a as o}from"./property-ChPqBGW_.js";const i=o`
  :host {
    /* Primary Colors */
    --monibuca-color-primary: #1890ff;
    --monibuca-color-primary-hover: #40a9ff;
    --monibuca-color-primary-active: #096dd9;
    --monibuca-color-primary-bg: rgba(24, 144, 255, 0.1);

    /* Success Colors */
    --monibuca-color-success: #52c41a;
    --monibuca-color-success-hover: #73d13d;
    --monibuca-color-success-active: #389e0d;
    --monibuca-color-success-bg: rgba(82, 196, 26, 0.1);

    /* Warning Colors */
    --monibuca-color-warning: #faad14;
    --monibuca-color-warning-hover: #ffc53d;
    --monibuca-color-warning-active: #d48806;
    --monibuca-color-warning-bg: rgba(250, 173, 20, 0.1);

    /* Error/Danger Colors */
    --monibuca-color-error: #ff4d4f;
    --monibuca-color-error-hover: #ff7875;
    --monibuca-color-error-active: #d9363e;
    --monibuca-color-error-bg: rgba(255, 77, 79, 0.1);

    /* Neutral Colors */
    --monibuca-color-text: #333333;
    --monibuca-color-text-secondary: #666666;
    --monibuca-color-text-tertiary: #999999;
    --monibuca-color-text-disabled: #c0c0c0;
    --monibuca-color-text-inverse: #ffffff;

    /* Background Colors */
    --monibuca-color-bg: #ffffff;
    --monibuca-color-bg-secondary: #f5f5f5;
    --monibuca-color-bg-tertiary: #fafafa;
    --monibuca-color-bg-dark: #1a1a1a;
    --monibuca-color-bg-overlay: rgba(0, 0, 0, 0.45);
    --monibuca-color-bg-mask: rgba(0, 0, 0, 0.65);

    /* Border Colors */
    --monibuca-color-border: #d9d9d9;
    --monibuca-color-border-secondary: #f0f0f0;
    --monibuca-color-border-focus: var(--monibuca-color-primary);
  }
`,a=o`
  :host([theme="dark"]), :host-context([data-theme="dark"]) {
    /* Primary Colors - 保持不变 */
    --monibuca-color-primary: #1890ff;
    --monibuca-color-primary-hover: #40a9ff;
    --monibuca-color-primary-active: #096dd9;

    /* Neutral Colors */
    --monibuca-color-text: #e0e0e0;
    --monibuca-color-text-secondary: #a0a0a0;
    --monibuca-color-text-tertiary: #707070;
    --monibuca-color-text-disabled: #505050;
    --monibuca-color-text-inverse: #1a1a1a;

    /* Background Colors */
    --monibuca-color-bg: #1a1a1a;
    --monibuca-color-bg-secondary: #2a2a2a;
    --monibuca-color-bg-tertiary: #333333;
    --monibuca-color-bg-dark: #000000;
    --monibuca-color-bg-overlay: rgba(0, 0, 0, 0.65);
    --monibuca-color-bg-mask: rgba(0, 0, 0, 0.85);

    /* Border Colors */
    --monibuca-color-border: #404040;
    --monibuca-color-border-secondary: #303030;
  }
`,n=o`
  :host {
    /* Base spacing unit: 4px */
    --monibuca-spacing-xxs: 4px;
    --monibuca-spacing-xs: 8px;
    --monibuca-spacing-sm: 12px;
    --monibuca-spacing-md: 16px;
    --monibuca-spacing-lg: 24px;
    --monibuca-spacing-xl: 32px;
    --monibuca-spacing-xxl: 48px;
  }
`,r=o`
  :host {
    /* Component sizes */
    --monibuca-size-xs: 24px;
    --monibuca-size-sm: 32px;
    --monibuca-size-md: 40px;
    --monibuca-size-lg: 48px;
    --monibuca-size-xl: 56px;

    /* Border radius */
    --monibuca-radius-xs: 2px;
    --monibuca-radius-sm: 4px;
    --monibuca-radius-md: 8px;
    --monibuca-radius-lg: 12px;
    --monibuca-radius-xl: 16px;
    --monibuca-radius-full: 9999px;

    /* Icon sizes */
    --monibuca-icon-xs: 12px;
    --monibuca-icon-sm: 16px;
    --monibuca-icon-md: 20px;
    --monibuca-icon-lg: 24px;
    --monibuca-icon-xl: 32px;

    /* Avatar sizes */
    --monibuca-avatar-xs: 24px;
    --monibuca-avatar-sm: 32px;
    --monibuca-avatar-md: 40px;
    --monibuca-avatar-lg: 56px;
    --monibuca-avatar-xl: 80px;
  }
`,e=o`
  :host {
    /* Font family */
    --monibuca-font-family: system-ui, -apple-system, BlinkMacSystemFont, 
      "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    --monibuca-font-family-mono: "SF Mono", Monaco, Consolas, "Liberation Mono",
      "Courier New", monospace;

    /* Font sizes */
    --monibuca-font-size-xs: 10px;
    --monibuca-font-size-sm: 12px;
    --monibuca-font-size-md: 14px;
    --monibuca-font-size-lg: 16px;
    --monibuca-font-size-xl: 18px;
    --monibuca-font-size-2xl: 20px;
    --monibuca-font-size-3xl: 24px;

    /* Font weights */
    --monibuca-font-weight-normal: 400;
    --monibuca-font-weight-medium: 500;
    --monibuca-font-weight-semibold: 600;
    --monibuca-font-weight-bold: 700;

    /* Line heights */
    --monibuca-line-height-tight: 1.25;
    --monibuca-line-height-normal: 1.5;
    --monibuca-line-height-loose: 1.75;
  }
`,c=o`
  :host {
    --monibuca-shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.05);
    --monibuca-shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.1), 0 1px 2px rgba(0, 0, 0, 0.06);
    --monibuca-shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --monibuca-shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --monibuca-shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  }
`,t=o`
  :host {
    /* Durations */
    --monibuca-duration-fast: 150ms;
    --monibuca-duration-normal: 250ms;
    --monibuca-duration-slow: 350ms;

    /* Easings */
    --monibuca-easing-default: cubic-bezier(0.4, 0, 0.2, 1);
    --monibuca-easing-in: cubic-bezier(0.4, 0, 1, 1);
    --monibuca-easing-out: cubic-bezier(0, 0, 0.2, 1);
    --monibuca-easing-bounce: cubic-bezier(0.68, -0.55, 0.265, 1.55);
  }
`,s=o`
  :host {
    --monibuca-z-index-dropdown: 1000;
    --monibuca-z-index-sticky: 1020;
    --monibuca-z-index-fixed: 1030;
    --monibuca-z-index-modal-backdrop: 1040;
    --monibuca-z-index-modal: 1050;
    --monibuca-z-index-popover: 1060;
    --monibuca-z-index-tooltip: 1070;
  }
`,m=o`
  :host {
    /* Video background */
    --monibuca-video-bg: #000000;
    --monibuca-video-placeholder-bg: #1a1a1a;

    /* Video aspect ratios */
    --monibuca-video-ratio-16-9: 56.25%;
    --monibuca-video-ratio-4-3: 75%;
    --monibuca-video-ratio-1-1: 100%;

    /* Video controls */
    --monibuca-video-controls-bg: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
    --monibuca-video-controls-height: 48px;
    --monibuca-video-progress-height: 4px;
    --monibuca-video-progress-height-hover: 8px;
    --monibuca-video-progress-bg: rgba(255, 255, 255, 0.2);
    --monibuca-video-progress-buffered: rgba(255, 255, 255, 0.3);
    --monibuca-video-progress-played: var(--monibuca-color-primary);
  }
`,u=o`
  :host {
    /* Button */
    --monibuca-btn-height-sm: 28px;
    --monibuca-btn-height-md: 36px;
    --monibuca-btn-height-lg: 44px;
    --monibuca-btn-padding-sm: 8px 12px;
    --monibuca-btn-padding-md: 8px 16px;
    --monibuca-btn-padding-lg: 12px 24px;

    /* Icon Button */
    --monibuca-icon-btn-size-sm: 28px;
    --monibuca-icon-btn-size-md: 36px;
    --monibuca-icon-btn-size-lg: 44px;

    /* Peer Tile */
    --monibuca-peer-tile-bg: var(--monibuca-color-bg-dark);
    --monibuca-peer-tile-radius: var(--monibuca-radius-md);
    --monibuca-peer-tile-gap: var(--monibuca-spacing-xs);

    /* Audio Level */
    --monibuca-audio-level-color: var(--monibuca-color-success);
    --monibuca-audio-level-bg: rgba(255, 255, 255, 0.2);
    --monibuca-audio-level-bar-width: 3px;
    --monibuca-audio-level-gap: 2px;

    /* Chat */
    --monibuca-chat-message-bg: var(--monibuca-color-bg-secondary);
    --monibuca-chat-message-radius: var(--monibuca-radius-md);
    --monibuca-chat-message-padding: var(--monibuca-spacing-xs) var(--monibuca-spacing-sm);
    --monibuca-chat-input-height: 40px;
  }
`,l=o`
  ${i}
  ${a}
  ${n}
  ${r}
  ${e}
  ${c}
  ${t}
  ${s}
  ${m}
  ${u}

  :host {
    display: block;
    font-family: var(--monibuca-font-family);
    font-size: var(--monibuca-font-size-md);
    line-height: var(--monibuca-line-height-normal);
    color: var(--monibuca-color-text);
    box-sizing: border-box;
  }

  :host([hidden]) {
    display: none;
  }

  *,
  *::before,
  *::after {
    box-sizing: border-box;
  }
`;o`
  /* Flexbox utilities */
  .flex { display: flex; }
  .inline-flex { display: inline-flex; }
  .flex-col { flex-direction: column; }
  .flex-row { flex-direction: row; }
  .flex-wrap { flex-wrap: wrap; }
  .flex-1 { flex: 1; }
  .flex-none { flex: none; }
  
  .items-start { align-items: flex-start; }
  .items-center { align-items: center; }
  .items-end { align-items: flex-end; }
  .items-stretch { align-items: stretch; }
  
  .justify-start { justify-content: flex-start; }
  .justify-center { justify-content: center; }
  .justify-end { justify-content: flex-end; }
  .justify-between { justify-content: space-between; }
  .justify-around { justify-content: space-around; }

  .gap-xxs { gap: var(--monibuca-spacing-xxs); }
  .gap-xs { gap: var(--monibuca-spacing-xs); }
  .gap-sm { gap: var(--monibuca-spacing-sm); }
  .gap-md { gap: var(--monibuca-spacing-md); }
  .gap-lg { gap: var(--monibuca-spacing-lg); }

  /* Spacing utilities */
  .p-xxs { padding: var(--monibuca-spacing-xxs); }
  .p-xs { padding: var(--monibuca-spacing-xs); }
  .p-sm { padding: var(--monibuca-spacing-sm); }
  .p-md { padding: var(--monibuca-spacing-md); }
  .p-lg { padding: var(--monibuca-spacing-lg); }

  .m-xxs { margin: var(--monibuca-spacing-xxs); }
  .m-xs { margin: var(--monibuca-spacing-xs); }
  .m-sm { margin: var(--monibuca-spacing-sm); }
  .m-md { margin: var(--monibuca-spacing-md); }
  .m-lg { margin: var(--monibuca-spacing-lg); }

  /* Text utilities */
  .text-xs { font-size: var(--monibuca-font-size-xs); }
  .text-sm { font-size: var(--monibuca-font-size-sm); }
  .text-md { font-size: var(--monibuca-font-size-md); }
  .text-lg { font-size: var(--monibuca-font-size-lg); }
  .text-xl { font-size: var(--monibuca-font-size-xl); }

  .font-normal { font-weight: var(--monibuca-font-weight-normal); }
  .font-medium { font-weight: var(--monibuca-font-weight-medium); }
  .font-semibold { font-weight: var(--monibuca-font-weight-semibold); }
  .font-bold { font-weight: var(--monibuca-font-weight-bold); }

  .text-center { text-align: center; }
  .text-left { text-align: left; }
  .text-right { text-align: right; }

  .truncate {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  /* Color utilities */
  .text-primary { color: var(--monibuca-color-primary); }
  .text-success { color: var(--monibuca-color-success); }
  .text-warning { color: var(--monibuca-color-warning); }
  .text-error { color: var(--monibuca-color-error); }
  .text-secondary { color: var(--monibuca-color-text-secondary); }
  .text-tertiary { color: var(--monibuca-color-text-tertiary); }
  .text-inverse { color: var(--monibuca-color-text-inverse); }

  /* Position utilities */
  .relative { position: relative; }
  .absolute { position: absolute; }
  .fixed { position: fixed; }
  .inset-0 { inset: 0; }

  /* Size utilities */
  .w-full { width: 100%; }
  .h-full { height: 100%; }
  .min-w-0 { min-width: 0; }
  .min-h-0 { min-height: 0; }

  /* Overflow utilities */
  .overflow-hidden { overflow: hidden; }
  .overflow-auto { overflow: auto; }
  .overflow-scroll { overflow: scroll; }

  /* Visibility utilities */
  .visible { visibility: visible; }
  .invisible { visibility: hidden; }
  .opacity-0 { opacity: 0; }
  .opacity-50 { opacity: 0.5; }
  .opacity-100 { opacity: 1; }

  /* Cursor utilities */
  .cursor-pointer { cursor: pointer; }
  .cursor-default { cursor: default; }
  .cursor-not-allowed { cursor: not-allowed; }

  /* User select */
  .select-none { user-select: none; }
  .select-text { user-select: text; }
  .select-all { user-select: all; }

  /* Border radius utilities */
  .rounded-none { border-radius: 0; }
  .rounded-sm { border-radius: var(--monibuca-radius-sm); }
  .rounded-md { border-radius: var(--monibuca-radius-md); }
  .rounded-lg { border-radius: var(--monibuca-radius-lg); }
  .rounded-full { border-radius: var(--monibuca-radius-full); }

  /* Transition utilities */
  .transition-all {
    transition-property: all;
    transition-duration: var(--monibuca-duration-normal);
    transition-timing-function: var(--monibuca-easing-default);
  }
  .transition-opacity {
    transition-property: opacity;
    transition-duration: var(--monibuca-duration-normal);
    transition-timing-function: var(--monibuca-easing-default);
  }
  .transition-transform {
    transition-property: transform;
    transition-duration: var(--monibuca-duration-normal);
    transition-timing-function: var(--monibuca-easing-default);
  }
`;export{l as b};
