#t2editor-dark-css{visibility:hidden;display:none}html[data-t2editor-theme="dark"] #t2editor-dark-css{visibility:visible;display:block}.t2-dark-mode-toggle{margin-left:auto;padding-left:10px;display:flex;align-items:center}.t2-dark-mode-btn{width:25px;height:25px;border-radius:50%;background:#f5f5f5;color:#0187fe;border:1px solid #ddd;box-shadow:0 1px 3px rgba(0,0,0,.1);cursor:pointer;display:flex;align-items:center;justify-content:center;transition:all 0.2s ease;padding:0;margin:5px}.t2-dark-mode-btn:hover{background:#e8e8e8;transform:translateY(-1px);box-shadow:0 2px 5px rgba(0,0,0,.15)}.t2-dark-mode-btn:active{transform:translateY(0);box-shadow:0 1px 2px rgba(0,0,0,.1)}.t2-dark-mode-btn .material-icons{font-size:18px}html[data-t2editor-theme="dark"] .t2-dark-mode-icon{display:none}html[data-t2editor-theme="dark"] .t2-light-mode-icon{display:inline-block}html[data-t2editor-theme="light"] .t2-dark-mode-icon{display:inline-block}html[data-t2editor-theme="light"] .t2-light-mode-icon{display:none}html[data-t2editor-theme="dark"] .t2-dark-mode-btn{background:#383838;color:#0187fe;border-color:#555;box-shadow:0 1px 3px rgba(0,0,0,.3)}html[data-t2editor-theme="dark"] .t2-dark-mode-btn:hover{background:#444;box-shadow:0 2px 5px rgba(0,0,0,.4)}html[data-t2editor-theme="dark"] .t2-editor-container{background-color:#1e1e1e;color:#e0e0e0;border-color:#444}html[data-t2editor-theme="dark"] .t2-toolbar{background-color:#2d2d2d;border-color:#444}html[data-t2editor-theme="dark"] .t2-btn{background-color:#383838;color:#0187fe}html[data-t2editor-theme="dark"] .t2-btn:hover{background-color:#505050}html[data-t2editor-theme="dark"] .t2-btn:active{background-color:#606060}html[data-t2editor-theme="dark"] .t2-btn.active{background-color:#0187fe;color:#fff}html[data-t2editor-theme="dark"] .t2-btn:disabled{opacity:.5;color:#999;cursor:not-allowed}html[data-t2editor-theme="dark"] .t2-btn:disabled:hover{background-color:#383838}html[data-t2editor-theme="dark"] .t2-editor{background-color:#2d2d2d;color:#e0e0e0;border-color:#444}html[data-t2editor-theme="dark"] .t2-editor-status{background-color:#2d2d2d;border-color:#444;color:#aaa}html[data-t2editor-theme="dark"] .t2-logo{border-color:#555}html[data-t2editor-theme="dark"] .t2-logo-suffix{color:#e0e0e0}html[data-t2editor-theme="dark"] .t2-char-count{color:#aaa}html[data-t2editor-theme="dark"] .t2-editor ::selection{background:#264f78;color:#fff}html[data-t2editor-theme="dark"] .t2-modal-overlay{background:rgba(0,0,0,.7)}html[data-t2editor-theme="dark"] .t2-color-palette{background-color:#333;border-color:#555;box-shadow:0 2px 10px rgba(0,0,0,.3)}html[data-t2editor-theme="dark"] .t2-color-option{border-color:#555}html[data-t2editor-theme="dark"] .t2-color-input-container{background-color:#1e1e1e;border-color:#555}html[data-t2editor-theme="dark"] .t2-color-hash,html[data-t2editor-theme="dark"] .t2-color-input{color:#e0e0e0;background-color:transparent}html[data-t2editor-theme="dark"] .t2-color-apply-btn{background-color:#383838;border-color:#555;color:#e0e0e0}html[data-t2editor-theme="dark"] .t2-color-apply-btn:hover{background-color:#505050;border-color:#777}html[data-t2editor-theme="dark"] .t2-font-size-list{background-color:#333;border-color:#555;box-shadow:0 2px 10px rgba(0,0,0,.3)}html[data-t2editor-theme="dark"] .t2-font-size-option{color:#e0e0e0}html[data-t2editor-theme="dark"] .t2-font-size-option:hover{background-color:#444}html[data-t2editor-theme="dark"] .t2-font-size-option.active,html[data-t2editor-theme="dark"] .t2-tab.active{background-color:#264f78;color:#fff}html[data-t2editor-theme="dark"] .t2-code-block{background-color:#1e1e1e;border:1px solid #444;color:#e0e0e0}html[data-t2editor-theme="dark"] .t2-code-block pre,html[data-t2editor-theme="dark"] .t2-code-block code{color:#e0e0e0}html[data-t2editor-theme="dark"] .t2-code-block .code-placeholder{color:#777}html[data-t2editor-theme="dark"] .t2-code-block-copy{background-color:#383838;border-color:#555;color:#e0e0e0}html[data-t2editor-theme="dark"] .t2-media-block{background-color:#2d2d2d;border-color:#444}html[data-t2editor-theme="dark"] .t2-media-controls{background-color:rgba(45,45,45,.9);box-shadow:0 2px 5px rgba(0,0,0,.3)}html[data-t2editor-theme="dark"] .t2-table{color:#e0e0e0;box-shadow:0 2px 6px rgba(0,0,0,.3)}html[data-t2editor-theme="dark"] .t2-table th,html[data-t2editor-theme="dark"] .t2-table td{border-color:#444}html[data-t2editor-theme="dark"] .t2-table th{background-color:#383838;color:#e0e0e0;border-bottom-color:#555}html[data-t2editor-theme="dark"] .t2-table tr:hover{background-color:rgba(38,79,120,.1)}html[data-t2editor-theme="dark"] .t2-table td:hover,html[data-t2editor-theme="dark"] .t2-table th:hover{background-color:rgba(38,79,120,.2)}html[data-t2editor-theme="dark"] .t2-table-wrapper{background-color:#2d2d2d;box-shadow:0 4px 12px rgba(0,0,0,.2)}html[data-t2editor-theme="dark"] .t2-table-controls{background-color:#383838;box-shadow:0 4px 12px rgba(0,0,0,.3);color:#e0e0e0}html[data-t2editor-theme="dark"] .t2-table-control-counter{background-color:rgba(1,135,254,.2);color:#0187fe}html[data-t2editor-theme="dark"] .t2-table-control-group span{color:#aaa}html[data-t2editor-theme="dark"] .t2-table-control-btn{background-color:#2d2d2d;box-shadow:0 1px 3px rgba(0,0,0,.2);color:#aaa}html[data-t2editor-theme="dark"] .t2-table-control-btn:hover{background-color:#444;color:#e0e0e0}html[data-t2editor-theme="dark"] .t2-table-delete-btn{background-color:rgba(239,68,68,.2);color:#ef4444}html[data-t2editor-theme="dark"] .t2-table-delete-btn:hover{background-color:rgba(239,68,68,.3)}html[data-t2editor-theme="dark"] .t2-table-scroll-wrapper{background-color:#2d2d2d}html[data-t2editor-theme="dark"] .t2-table td:focus,html[data-t2editor-theme="dark"] .t2-table th:focus{outline-color:#0187fe;box-shadow:0 0 0 1px rgba(1,135,254,.3)}html[data-t2editor-theme="dark"] .t2-image-editor-modal,html[data-t2editor-theme="dark"] .t2-video-editor-modal,html[data-t2editor-theme="dark"] .t2-link-editor-modal,html[data-t2editor-theme="dark"] .t2-file-editor-modal,html[data-t2editor-theme="dark"] .t2-table-editor-modal{background-color:#2d2d2d;color:#e0e0e0;box-shadow:0 4px 24px rgba(0,0,0,.3);border-color:#444}html[data-t2editor-theme="dark"] .t2-image-editor-modal h3,html[data-t2editor-theme="dark"] .t2-video-editor-modal h3,html[data-t2editor-theme="dark"] .t2-link-editor-modal h3,html[data-t2editor-theme="dark"] .t2-file-editor-modal h3,html[data-t2editor-theme="dark"] .t2-table-editor-modal h3{color:#e0e0e0}html[data-t2editor-theme="dark"] .t2-image-upload-area,html[data-t2editor-theme="dark"] .t2-file-upload-area{border-color:#444;color:#e0e0e0}html[data-t2editor-theme="dark"] .t2-image-upload-area:hover,html[data-t2editor-theme="dark"] .t2-file-upload-area:hover,html[data-t2editor-theme="dark"] .t2-image-upload-area.drag-over,html[data-t2editor-theme="dark"] .t2-file-upload-area.drag-over{border-color:#0187fe;background-color:rgba(1,135,254,.1)}html[data-t2editor-theme="dark"] .t2-image-upload-area .material-icons,html[data-t2editor-theme="dark"] .t2-file-upload-area .material-icons{color:#aaa}html[data-t2editor-theme="dark"] .t2-image-upload-text,html[data-t2editor-theme="dark"] .t2-file-upload-text{color:#e0e0e0}html[data-t2editor-theme="dark"] .t2-image-upload-hint,html[data-t2editor-theme="dark"] .t2-file-upload-hint{color:#aaa}html[data-t2editor-theme="dark"] .t2-image-tabs{border-color:#444}html[data-t2editor-theme="dark"] .t2-tab{color:#aaa}html[data-t2editor-theme="dark"] .t2-tab:hover{background-color:#383838}html[data-t2editor-theme="dark"] .t2-tab.active{background-color:#264f78;color:#fff}html[data-t2editor-theme="dark"] .t2-image-url-input,html[data-t2editor-theme="dark"] .t2-youtube-url,html[data-t2editor-theme="dark"] .t2-link-url-input,html[data-t2editor-theme="dark"] .t2-input-with-controls input,html[data-t2editor-theme="dark"] .t2-custom-width-value{background-color:#1e1e1e;border-color:#444;color:#e0e0e0}html[data-t2editor-theme="dark"] .t2-image-url-input:focus,html[data-t2editor-theme="dark"] .t2-youtube-url:focus,html[data-t2editor-theme="dark"] .t2-link-url-input:focus,html[data-t2editor-theme="dark"] .t2-input-with-controls input:focus,html[data-t2editor-theme="dark"] .t2-custom-width-value:focus{border-color:#0187fe;box-shadow:0 0 0 3px rgba(1,135,254,.2);outline:none}html[data-t2editor-theme="dark"] .t2-input-with-controls{background-color:#1e1e1e;border-color:#444}html[data-t2editor-theme="dark"] .t2-btn[data-action="cancel"]{background-color:#444;color:#e0e0e0;border-color:#555}html[data-t2editor-theme="dark"] .t2-btn[data-action="cancel"]:hover{background-color:#555}html[data-t2editor-theme="dark"] .t2-btn[data-action="upload"],html[data-t2editor-theme="dark"] .t2-btn[data-action="insert"]{background-color:#0187fe;color:#fff;border:none}html[data-t2editor-theme="dark"] .t2-btn[data-action="upload"]:hover:not(:disabled),html[data-t2editor-theme="dark"] .t2-btn[data-action="insert"]:hover{background-color:#0069d9}html[data-t2editor-theme="dark"] .t2-btn[data-action="upload"]:disabled{background-color:rgba(1,135,254,.4)}html[data-t2editor-theme="dark"] .t2-preview-item,html[data-t2editor-theme="dark"] .t2-file-preview-item{background-color:#383838;border-color:#444}html[data-t2editor-theme="dark"] .t2-file-preview-item:hover{background-color:#444}html[data-t2editor-theme="dark"] .t2-preview-remove,html[data-t2editor-theme="dark"] .t2-file-preview-remove{background-color:rgba(0,0,0,.6)}html[data-t2editor-theme="dark"] .t2-preview-remove:hover,html[data-t2editor-theme="dark"] .t2-file-preview-remove:hover{background-color:rgba(0,0,0,.8)}html[data-t2editor-theme="dark"] .t2-file-preview-name{color:#e0e0e0}html[data-t2editor-theme="dark"] .t2-upload-progress{background-color:#383838}html[data-t2editor-theme="dark"] .t2-progress-bar{background-color:#444}html[data-t2editor-theme="dark"] .t2-progress-text{color:#aaa}html[data-t2editor-theme="dark"] .t2-url-preview-error{background-color:rgba(220,38,38,.2);color:#f87171}html[data-t2editor-theme="dark"] .file-container{background-color:#2d2d2d;border-color:#444;color:#e0e0e0}html[data-t2editor-theme="dark"] .t2-file-block .file-container:hover{background-color:#383838;box-shadow:0 2px 8px rgba(0,0,0,.2)}html[data-t2editor-theme="dark"] .t2-file-block .file-name{color:rgba(255,255,255,.87)}html[data-t2editor-theme="dark"] .t2-file-block .file-details{color:rgba(255,255,255,.6)}html[data-t2editor-theme="dark"] .audio-file-container{background-color:#2d2d2d;border-color:#444;color:#e0e0e0}html[data-t2editor-theme="dark"] .t2-table-style-options{background-color:#383838;border-color:#444}html[data-t2editor-theme="dark"] .t2-table-style-option label{color:#e0e0e0}html[data-t2editor-theme="dark"] .t2-table-style-option select{background-color:#1e1e1e;border-color:#444;color:#e0e0e0}html[data-t2editor-theme="dark"] .t2-table-preview-container{background-color:#383838;border-color:#444}html[data-t2editor-theme="dark"] .t2-preview-table th{background-color:#444}html[data-t2editor-theme="dark"] .t2-preview-table th,html[data-t2editor-theme="dark"] .t2-preview-table td{border-color:#555}html[data-t2editor-theme="dark"] .t2-editor a{color:#0187fe!important}html[data-t2editor-theme="dark"] .t2-editor a:hover{color:#0069d9!important}html[data-t2editor-theme="dark"] .t2-link-options label{color:#e0e0e0}html[data-t2editor-theme="dark"] input[type="checkbox"]{accent-color:#0187fe}

/* 다크 모드 링크 편집 모달 스타일 */
html[data-t2editor-theme="dark"] .t2-link-editor-modal {
    background-color: #2d2d2d;
    color: #e0e0e0;
    box-shadow: 0 4px 24px rgba(0,0,0,.3);
    border: 1px solid #444;
}

html[data-t2editor-theme="dark"] .t2-link-editor-modal h3 {
    color: #e0e0e0;
}

html[data-t2editor-theme="dark"] .t2-link-url-input {
    background-color: #1e1e1e;
    border-color: #444;
    color: #e0e0e0;
}

html[data-t2editor-theme="dark"] .t2-link-url-input:focus {
    border-color: #0187fe;
    box-shadow: 0 0 0 3px rgba(1,135,254,.2);
}

html[data-t2editor-theme="dark"] .t2-link-options label {
    color: #e0e0e0;
}

html[data-t2editor-theme="dark"] .t2-link-editor-modal .t2-btn[data-action="cancel"] {
    background-color: #444;
    color: #e0e0e0;
    border-color: #555;
}

html[data-t2editor-theme="dark"] .t2-link-editor-modal .t2-btn[data-action="cancel"]:hover {
    background-color: #555;
}

html[data-t2editor-theme="dark"] .t2-link-editor-modal .t2-btn[data-action="insert"] {
    background-color: #0187fe;
    color: #fff;
}

html[data-t2editor-theme="dark"] .t2-link-editor-modal .t2-btn[data-action="insert"]:hover {
    background-color: #0069d9;
}

html[data-t2editor-theme="dark"] .t2-link-editor-modal .t2-btn[data-action="remove"] {
    background-color: rgba(239,68,68,.8);
    color: #fff;
}

html[data-t2editor-theme="dark"] .t2-link-editor-modal .t2-btn[data-action="remove"]:hover {
    background-color: rgba(239,68,68,.9);
}

/* 다크 모드 링크 미리보기 스타일 */
html[data-t2editor-theme="dark"] .t2-link-preview {
    background-color: #2d2d2d;
    border-color: #444;
    box-shadow: 0 4px 12px rgba(0,0,0,.4);
}

html[data-t2editor-theme="dark"] .t2-link-preview-url {
    color: #aaa;
    border-bottom-color: #444;
}

html[data-t2editor-theme="dark"] .t2-link-preview-actions .t2-btn {
    background: #383838;
    color: #e0e0e0;
}

html[data-t2editor-theme="dark"] .t2-link-preview-actions .t2-btn:hover {
    background: #444;
}

html[data-t2editor-theme="dark"] .t2-link-preview-actions .t2-link-edit {
    background: #0187fe;
    color: #fff;
}

html[data-t2editor-theme="dark"] .t2-link-preview-actions .t2-link-edit:hover {
    background: #0069d9;
}

html[data-t2editor-theme="dark"] .t2-link-preview-actions .t2-link-remove {
    background: rgba(239,68,68,.8);
    color: #fff;
}

html[data-t2editor-theme="dark"] .t2-link-preview-actions .t2-link-remove:hover {
    background: rgba(239,68,68,.9);
}

html[data-t2editor-theme="dark"] .t2-link-preview-actions .t2-link-visit {
    background: rgba(16,185,129,.8);
    color: #fff;
}

html[data-t2editor-theme="dark"] .t2-link-preview-actions .t2-link-visit:hover {
    background: rgba(5,150,105,.9);
}


/* 협업 플러그인 */
html[data-t2editor-theme="dark"] .t2-collab-modal {
  background: #2d2d2d;
  color: #e0e0e0;
}

html[data-t2editor-theme="dark"] .t2-collab-header {
  border-bottom-color: #444;
}

html[data-t2editor-theme="dark"] .t2-collab-header h3 {
  color: #e0e0e0;
}

html[data-t2editor-theme="dark"] .t2-collab-close-btn {
  color: #aaa;
}

html[data-t2editor-theme="dark"] .t2-collab-close-btn:hover {
  background: #444;
}

html[data-t2editor-theme="dark"] .t2-tabs {
  border-bottom-color: #444;
}

html[data-t2editor-theme="dark"] .t2-tab {
  color: #aaa;
}

html[data-t2editor-theme="dark"] .t2-tab:hover,
html[data-t2editor-theme="dark"] .t2-tab.active {
  color: #4da6ff;
}

html[data-t2editor-theme="dark"] .t2-collab-create-section p,
html[data-t2editor-theme="dark"] .t2-collab-host-nick-section p,
html[data-t2editor-theme="dark"] .t2-collab-info-section p {
  color: #aaa;
}

html[data-t2editor-theme="dark"] .t2-collab-host-nick,
html[data-t2editor-theme="dark"] .t2-collab-join-code,
html[data-t2editor-theme="dark"] .t2-collab-join-nick {
  background: #3a3a3a;
  border-color: #555;
  color: #e0e0e0;
}

html[data-t2editor-theme="dark"] .t2-collab-host-nick:focus,
html[data-t2editor-theme="dark"] .t2-collab-join-code:focus,
html[data-t2editor-theme="dark"] .t2-collab-join-nick:focus {
  border-color: #4da6ff;
  box-shadow: 0 0 0 2px rgba(77, 166, 255, 0.2);
}

html[data-t2editor-theme="dark"] .t2-collab-display-code {
  color: #e0e0e0;
  background: #3a3a3a;
}

html[data-t2editor-theme="dark"] .t2-collab-display-nick {
  color: #e0e0e0;
}

html[data-t2editor-theme="dark"] .t2-collab-copy-btn:hover {
  background: #444;
  color: #4da6ff;
}

html[data-t2editor-theme="dark"] .t2-collab-users {
  border-color: #444;
}

html[data-t2editor-theme="dark"] .t2-collab-users li {
  border-bottom-color: #444;
}

html[data-t2editor-theme="dark"] .t2-collab-users li:hover {
  background: #3a3a3a;
}

html[data-t2editor-theme="dark"] .t2-collab-user-name {
  color: #e0e0e0;
}

html[data-t2editor-theme="dark"] .t2-collab-badge-me {
  background: rgba(25, 118, 210, 0.2);
  color: #64b5f6;
}

html[data-t2editor-theme="dark"] .t2-collab-badge-host {
  background: rgba(245, 124, 0, 0.2);
  color: #ffb74d;
}

html[data-t2editor-theme="dark"] .t2-collab-leave-btn {
  background: #3a3a3a;
  color: #aaa;
}

html[data-t2editor-theme="dark"] .t2-collab-leave-btn:hover {
  background: #444;
}