@layer kotmee-theme;
/* Shared colour system. Geometry, media and owners' creative canvases are unchanged. */
.km-theme-choices{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
.km-theme-choice{min-height:48px;padding:10px 6px;border:1px solid #d9dfe5;border-radius:12px;background:#f1f3f5;color:#343a40;font:inherit;font-size:13px;cursor:pointer}
.km-theme-choice[aria-pressed=true]{border-color:#3390ec;color:#1683db;background:#e8f3fe}
@layer kotmee-theme{
html[data-theme=dark]{--km-bg:#0f0f0f;--km-surface:#212121;--km-raised:#2c2c2c;--km-text:#f1f3f5;--km-muted:#aaaaaa;--km-line:#ffffff14;--km-accent:#ac94f5;background:var(--km-bg)!important;color:var(--km-text)!important;color-scheme:dark!important}
html[data-theme=dark] body{background-color:var(--km-bg)!important;background-image:none!important;color:var(--km-text)!important;--km222-wallpaper:linear-gradient(#0e1621,#0e1621);--km-chat-image:linear-gradient(#0e1621,#0e1621)}
html[data-theme=dark] :where(.site-header,.feed-header,.cv-header,#km216-sidebar,footer[data-tabbar],.chat-sheet,.live-dialog,.comments-sheet,.profile-sheet,.settings-group,.settings-identity183,.appearance-card,.feed-filter-menu){background:var(--km-surface)!important;color:var(--km-text)!important;border-color:var(--km-line)!important;box-shadow:none!important}
html[data-theme=dark] :where(.header-inner,.header-leading,.header-actions){background:transparent!important}
html[data-theme=dark] :where(.panel,.post-card,.live-post,.feed-post,.feed-stack,.player,.reminder-widget,.applications-empty,.personal-applications,.stories,.profile-top,.profile-info,.profile-wall,.card,.km-app-toolbar,.rating-card,.audio-row,.audio-main,.settings-surface,.appearance-sample-card,.appearance-bubble,.km-plan-card){background-color:var(--km-surface)!important;color:var(--km-text)!important;border-color:var(--km-line)!important;box-shadow:none!important}
html[data-theme=dark] :where(.settings-shell,.rating-main,.chats-main,.hubs-main,.full-feed,.km-app-main){background-color:var(--km-bg)!important;color:var(--km-text)!important}
html[data-theme=dark] :where(.header-title,.feed-heading-wrap,.section-heading,h1,h2,h3,h4,.chat-name,.chat-preview,.profile-username,.settings-row,.settings-label,.appearance-order-label,.appearance-card h3,.comment-name,.comment-text,.post-text,.post-name,.cv-text,.cv-name){color:var(--km-text)!important}
html[data-theme=dark] :where(.appearance-intro,.appearance-help,.appearance-status,.appearance-dim-label,.chat-time,.cv-meta,.settings-hint,.live-empty,.comment-meta,.post-time){color:var(--km-muted)!important}
html[data-theme=dark] :where(input:not([type=range]):not([type=checkbox]):not([type=radio]):not([type=color]),textarea,select,.chats-search,.km-app-search,.comment-field,.comments1854-input,.appearance-preset,.appearance-move,.appearance-order-number,.km-theme-choice){background-color:var(--km-raised)!important;color:var(--km-text)!important;border-color:var(--km-line)!important}
html[data-theme=dark] ::placeholder{color:var(--km-muted)!important;opacity:1}
html[data-theme=dark] :where(.km-theme-choice,.appearance-preset)[aria-pressed=true]{background:#6ab2f220!important;border-color:var(--km-accent)!important;color:var(--km-accent)!important}
html[data-theme=dark] :where(.header-action,.header-title,.header-leading,.feed-back) img[src*="/icons"]{filter:brightness(0) invert(.9)!important}
html[data-theme=dark] :where(.header-avatar,.profile-portrait) img{filter:none!important}
html[data-theme=dark] #conversation .message{background:#212121!important;color:var(--km-text)!important;box-shadow:none!important}
html[data-theme=dark] #conversation .message.mine{background:#544778!important;color:#fff!important}
html[data-theme=dark] #conversation :where(.cv-composer,.cv-compose,.cv-input-wrap,.cv-composer-row,.cv-footer){background:var(--km-surface)!important;color:var(--km-text)!important;border-color:var(--km-line)!important}
html[data-theme=dark] #conversation :where(.cv-meta,.mine .cv-meta){color:#a9bfd3!important}
html[data-theme=dark] :where(.chat-row,.settings-row,.appearance-order-row){border-color:var(--km-line)!important}
html[data-theme=dark] :where(.chat-row,.settings-row):hover{background-color:var(--km-raised)!important}
html[data-theme=dark] dialog::backdrop{background:#0009!important}
html[data-theme=dark] *{scrollbar-color:#ffffff30 transparent}
}
@layer kotmee-theme{
html[data-theme=dark] :where(.personal-widget,.post,.post-author-row,.post-body,.post-footer,.directory-body,.hub-tabs177,.km216-row,#audio-list,.profile-tabs,.n182-row,.n182-tab,.rating-tabs button,.audio-tabs button,.profile-tabs button){background-color:var(--km-surface)!important;color:var(--km-text)!important;border-color:var(--km-line)!important}
html[data-theme=dark] :where(.km216-search,.km223-wallet-balance,.hub-search,.km144-preview,.km224-open-feed,.km-games-category,.km-catalog-play,.km-catalog-cover,.live-load-more,.appearance-upload){background-color:var(--km-raised)!important;color:var(--km-accent)!important;border-color:var(--km-line)!important}
html[data-theme=dark] .n182-row.is-unread{background:#6ab2f211!important}
html[data-theme=dark] :where(.km216-label,.km216-title,.post-author,.post-author-name,.post-text,.post-content,.hub-name,.hub-title,.n182-title,.n182-text,.km-catalog-title,.rating-name,.rating-score,.audio-title,.audio-artist){color:var(--km-text)!important}
html[data-theme=dark] :where(.km216-icon,.km216-row>img,footer[data-tabbar] a>img){filter:brightness(0) invert(.85)!important}
html[data-theme=dark] :where(.km216-row.active,.km216-row[aria-current=page]){background:#6ab2f218!important;color:var(--km-accent)!important}
}
@layer kotmee-theme{
html[data-theme=dark] :where(.chats-scroll-content,.chat-tabs178,.chat-tabs178 button,.rating-tabs,.rating-me,.rating-tabs button,.notifications-page,#message-form,.live-empty,.player184-library){background-color:var(--km-surface)!important;color:var(--km-text)!important;border-color:var(--km-line)!important}
html[data-theme=dark] :where(.km216-row,.km216-brand,.km216-head,.km216-bottom,.personal-widget,.profile-top,.profile-info,.rating-main,.notifications-page,.audio-main,.appearance-card,.settings-group,.live-dialog,.chat-tabs178,.hub-tabs177) :where(h1,h2,h3,h4,p,label,strong,b,small,span,a){color:inherit}
html[data-theme=dark] :where(.km216-row,.km216-head,.km216-bottom,.personal-widget,.profile-top,.profile-info,.rating-main,.notifications-page,.audio-main,.appearance-card,.settings-group,.chat-tabs178,.hub-tabs177){color:var(--km-text)!important}
html[data-theme=dark] :where(.km216-row,.km216-head,.km216-bottom,.personal-widget,.profile-info,.rating-main,.notifications-page,.audio-main,.settings-group) :where(h1,h2,h3,h4,strong,b){color:var(--km-text)!important}
html[data-theme=dark] :where(.km216-brand,.km216-row-title,.km216-row-label,.km224-switch-label,.reminder-title,.player184-title,.km-plan-title,.km-call-event-title,.cv-identity,.cv-title,.chat-primary){color:var(--km-text)!important}
html[data-theme=dark] :where(.km216-row-meta,.km216-row-subtitle,.player184-subtitle,.reminder-empty,.km-plan-status,.km-plan-copy,.km-call-event-subtitle,.km-plan-time,.cv-status,.chat-preview){color:var(--km-muted)!important}
html[data-theme=dark] :where(.cv-header button,.chats-site-header button,#message-form button:not(.cv-send),.km216-head button,.km216-bottom button){color:var(--km-text)!important}
html[data-theme=dark] :where(.cv-header button,.chats-site-header button,#message-form button:not(.cv-send),.km216-head button,.km216-bottom button) img[src*="/icons"]{filter:brightness(0) invert(.85)!important}
html[data-theme=dark] .km-plan-card{background:transparent!important}
html[data-theme=dark] .n182-symbol{background:var(--km-raised)!important}
html[data-theme=dark] :where(.rating-avatar,.km-catalog-cover){background-color:var(--km-raised)!important}
html[data-theme=dark] #message-form textarea{background:transparent!important}
}
@layer kotmee-theme{
html[data-theme=dark] :where(.km-personal-wordmark,.personal-feed-link,.km-catalog-name,.empty-caption,.empty-caption-outline,.rating-prizes-link,.rating-place,.feed-heading-wrap span,.feed-heading span,.cv-call-card-copy strong){color:var(--km-text)!important}
html[data-theme=dark] :where(.story-name,.track-artist,.elapsed,.remaining,.km216-description,.cv-call-card-copy span,.cv-call-time,.km-plan-note,.n182-description,.n182-reminder,.profile-status,.wall-count){color:var(--km-muted)!important}
html[data-theme=dark] :where(.km224-reels-toggle,.personal-applications,.reminder-widget,.hub-tabs177,.rating-tabs,.profile-actions,.profile-wall,.profile-info,.n182-action,.n182-count) :where(span,p,strong,small){color:var(--km-text)!important}
html[data-theme=dark] :where(.n182-action,.n182-count){color:var(--km-accent)!important;background-color:var(--km-raised)!important}
html[data-theme=dark] :where(.rating-score,.profile-wall button,.profile-actions button,.profile-actions a){background-color:var(--km-surface)!important;color:var(--km-text)!important;border-color:var(--km-line)!important}
html[data-theme=dark] .appearance-sample-title{color:#302737!important}
html[data-theme=dark] .on-dark .appearance-sample-title{color:#fff!important}
}
@layer kotmee-theme{
html[data-theme=dark] :where(.personal-reels-toggle,.personal-reels-toggle span,.personal-applications .more,.feed-header span){color:var(--km-text)!important}
html[data-theme=dark] :where(.personal-reels-toggle,.comments1854,.comments1854 header,.comments1854-footer,.post-share-list,.post-share-footer,.post-share-recipient,.auth-card,.auth-shell,.km-wallet-hero,.km-wallet-history,.km-wallet-card,#rating-auction.ka-auction){background:var(--km-surface)!important;color:var(--km-text)!important;border-color:var(--km-line)!important;box-shadow:none!important}
html[data-theme=dark] :where(.comments1854-text,.comments1854-copy,.comments1854-copy a,.post-share-copy,.post-share-identity-text,.post-share-card-copy,.auth-card label,.auth-card p,.km-wallet-balance,.km-wallet-title){color:var(--km-text)!important}
html[data-theme=dark] :where(.comments1854-meta,.comments1854-meta span,.post-share-excerpt,.post-share-note,.km-wallet-eyebrow,.km-wallet-held){color:var(--km-muted)!important}
html[data-theme=dark] :where(.post-share-search,.post-share-comment,.post-share-selected,.comments1854-form,.km-wallet-row){background:var(--km-raised)!important;color:var(--km-text)!important;border-color:var(--km-line)!important}
html[data-theme=dark] #rating-auction{--ka-ink:var(--km-text)!important;--ka-muted:var(--km-muted)!important;--ka-line:var(--km-line)!important}
html[data-theme=dark] :where(.live-dialog,.comments1854,.post-share) :where(.live-dialog-body,header){background-color:var(--km-surface)!important;color:var(--km-text)!important}
html[data-theme=dark] :where(.live-dialog,.comments1854,.post-share) :where(button:not([class]),.live-close,.comments1854-more,.comments1854-reply,.comments1854-like){color:var(--km-accent)!important;background-color:transparent!important}
}
@layer kotmee-theme{
html[data-theme=dark] :where(.km216-tool,.km216-search,.chats-search,.hub-search,.player button,.profile-action) img[src*="/icons"]{filter:brightness(0) invert(.85)!important}
html[data-theme=dark] .cv-header .cv-avatar img{filter:none!important}
html[data-theme=dark] .km216-left-title{color:var(--km-text)!important}
}
@layer kotmee-theme{
html[data-theme=dark] :where(.tabbar,.tabbar::before,.cv-input-capsule,.settings-subhead,.appearance-intro,.profile-wall-heading span,.profile-wall-heading strong,.wall-count){background:var(--km-surface)!important;color:var(--km-text)!important;border-color:var(--km-line)!important;box-shadow:none!important}
html[data-theme=dark] .tabbar{background:#212121ef!important;border:1px solid #ffffff24!important}
html[data-theme=dark] .tabbar .tab[aria-current=page]{background:#ffffff13!important}
html[data-theme=dark] .tabbar img{filter:brightness(0) invert(.85)!important}
html[data-theme=dark] .km-theme-choice.km-theme-choice[aria-pressed=true]{background:#6ab2f220!important;border-color:var(--km-accent)!important;color:var(--km-accent)!important}
html[data-theme=dark] .header-actions>a.km-lightning:not([data-lightning-unread])::before{background:var(--km-text)!important}
html[data-theme=dark] .km216-brand img{filter:brightness(0) invert(.9)!important}
html[data-theme=dark] :where(.profile-info button,.settings-subhead a) img{filter:brightness(0) invert(.85)!important}
html[data-theme=dark] :where(.km216-separator,.km216-bottom,.profile-info-row){border-color:var(--km-line)!important}
}
@layer kotmee-theme{
html[data-theme=dark] .tabbar .tab::before{background-color:#a9b6c3!important}
html[data-theme=dark] .tabbar .tab[aria-current=page]::before{background-color:#f1f3f5!important}
html[data-theme=dark] #conversation #message-form::before{background:var(--km-surface)!important;box-shadow:none!important}
}

@layer kotmee-theme{
/* Telegram-like Night palette for hub chrome and post cards; media itself stays untouched. */
html[data-theme=dark] body.km185.hub-page,
html[data-theme=dark] body.km185[data-page=hubs]{
 --km-hub-bg:#0e1621;
 --km-hub-surface:#17212b;
 --km-hub-raised:#202b36;
 --km-hub-text:#f1f3f5;
 --km-hub-muted:#a3adb7;
 --km-hub-line:#ffffff14;
 --km-hub-accent:#6ab2f2;
 background:var(--km-hub-bg)!important;
 color:var(--km-hub-text)!important;
}
html[data-theme=dark] body.km185.hub-page :is(.hub-header,.hub-content,.km154-channel-bar,.hub-tabs177,.directory-body,#directory,.hubs-main){
 background:var(--km-hub-bg)!important;
 color:var(--km-hub-text)!important;
 border-color:var(--km-hub-line)!important;
 box-shadow:none!important;
}
html[data-theme=dark] body.km185.hub-page :is(.feed-post,.post-context,.comments-sheet,.owner-sheet,.manage-card,.post-composer,.owner-picker-top,.owner-picker-top button){
 background:var(--km-hub-surface)!important;
 color:var(--km-hub-text)!important;
 border-color:var(--km-hub-line)!important;
 box-shadow:none!important;
}
html[data-theme=dark] body.km185.hub-page :is(.feed-post-content,.feed-author,.feed-meta,.post-actions,.reactions,.context-actions,.context-reactions,.comment-composer,.comment-input-row,.editor-tools,.sheet-heading){
 background:transparent!important;
 color:var(--km-hub-text)!important;
 border-color:var(--km-hub-line)!important;
 box-shadow:none!important;
}
html[data-theme=dark] body.km185.hub-page :is(.feed-copy,.post-copy,.feed-author-info,.feed-author-info a,.feed-hub-link,.feed-meta,.feed-meta time,.post-read-more,.context-actions button,.context-actions button span,.comment-composer textarea,.sheet-heading h2,.manage-card,.outlined-field,.outlined-field span,.owner-error){
 color:var(--km-hub-text)!important;
}
html[data-theme=dark] body.km185.hub-page :is(.feed-author-info small,.feed-views,.live-presence,.comment-status,.manage-card small,.outlined-field small){
 color:var(--km-hub-muted)!important;
}
html[data-theme=dark] body.km185.hub-page :is(.feed-post,.post-context,.comments-sheet,.owner-sheet,.manage-card,.post-composer,.comment-field,.outlined-field input,.outlined-field textarea){
 border-color:var(--km-hub-line)!important;
}
html[data-theme=dark] body.km185.hub-page :is(.feed-post,.post-context,.comments-sheet,.owner-sheet){
 border-radius:18px!important;
}
html[data-theme=dark] body.km185.hub-page .live-presence{
 display:inline-flex!important;
 align-items:center!important;
 width:max-content!important;
 padding:4px 9px!important;
 border-radius:999px!important;
 background:var(--km-hub-raised)!important;
 color:var(--km-hub-accent)!important;
}
html[data-theme=dark] body.km185.hub-page :is(.context-actions button,.post-actions button,.comment-quick button,.owner-sheet button:not(.owner-publish-button)){
 color:var(--km-hub-text)!important;
}
html[data-theme=dark] body.km185.hub-page :is(.context-actions button:hover,.post-actions button:hover,.manage-row:hover){
 background:var(--km-hub-raised)!important;
}
html[data-theme=dark] body.km185.hub-page :is(.outlined-field input,.outlined-field textarea,.comment-composer textarea){
 background:var(--km-hub-raised)!important;
 color:var(--km-hub-text)!important;
}
html[data-theme=dark] body.km185.hub-page :is(.outlined-field input,.outlined-field textarea,.comment-composer textarea)::placeholder{color:var(--km-hub-muted)!important;opacity:1}
html[data-theme=dark] body.km185.hub-page :is(.post-menu-trigger,.post-actions button img,.context-actions img,.sheet-heading img,.manage-card img){filter:brightness(0) invert(.86)!important}
html[data-theme=dark] body.km185.hub-page .owner-publish-button{background:#2b5278!important;color:#fff!important}
html[data-theme=dark] body.km185[data-page=hubs] :is(.hub-list-row,.hub-tabs177 button,.hub-search){color:var(--km-hub-text)!important;border-color:var(--km-hub-line)!important}
html[data-theme=dark] body.km185[data-page=hubs] .hub-search{background:var(--km-hub-raised)!important}
html[data-theme=dark] body.km185[data-page=hubs] .hub-tabs177 button[aria-selected=true]{color:var(--km-hub-accent)!important}
/* The hub iframe is user-authored content; only its Kotmee editor chrome is recoloured. */
html[data-theme=dark] body.creative-editor-page :is(.creative-toolbar,.creative-job-status,.creative-compose-wrap,.creative-compose,.creative-asset,.creative-visual-dialog){
 background:var(--km-surface)!important;
 color:var(--km-text)!important;
 border-color:var(--km-line)!important;
 box-shadow:none!important;
}
html[data-theme=dark] body.creative-editor-page :is(.creative-toolbar strong,.creative-job-status,.creative-asset,.creative-design-note,.creative-design p){color:var(--km-text)!important}
html[data-theme=dark] body.creative-editor-page :is(.creative-messages,.creative-panel){background:var(--km-bg)!important;color:var(--km-text)!important}
html[data-theme=dark] body.creative-editor-page .creative-message{background:var(--km-surface)!important;color:var(--km-text)!important;box-shadow:none!important}
html[data-theme=dark] body.creative-editor-page .creative-message[data-role=user]{background:#2b5278!important;color:#fff!important}
html[data-theme=dark] body.creative-editor-page .creative-compose textarea{background:transparent!important;color:var(--km-text)!important}
html[data-theme=dark] body.creative-editor-page .creative-compose textarea::placeholder{color:var(--km-muted)!important}
html[data-theme=dark] body[data-page=personal] :is(.post-copy,.feed-copy){color:var(--km-text)!important}
html[data-theme=dark] body[data-page=personal] .post-preview-110{background:var(--km-surface)!important;color:var(--km-text)!important;border-color:var(--km-line)!important}
}

@layer kotmee-theme{
html[data-theme=dark] #chat-list .chat-row,html[data-theme=dark] .hub-list-row{background:transparent!important;color:var(--km-text)!important;border:0!important;border-radius:12px!important;box-shadow:none!important}
html[data-theme=dark] #chat-list .chat-row:hover,html[data-theme=dark] .hub-list-row:hover{background:var(--km-raised)!important}
html[data-theme=dark] #chat-list .chat-row[data-km216-chat-selected],html[data-theme=dark] #chat-list .chat-row.chat-context-selected{background:#7663ad!important;color:#fff!important}
html[data-theme=dark] #chat-list .chat-row[data-km216-chat-selected] :where(.chat-name,.chat-preview,time){color:#fff!important}
html[data-theme=dark] :where(.chat-tabs178,.hub-tabs177){border-color:var(--km-line)!important;box-shadow:none!important}
html[data-theme=dark] .chat-tabs178 button[aria-selected=true]{color:var(--km-accent)!important;border-color:var(--km-accent)!important}
html[data-theme=dark] .chat-tabs178 button[aria-selected=true]::after{background:var(--km-accent)!important}
}
/* Interactive states audited against the owner's Telegram iOS recording. */
@layer kotmee-theme{
html[data-theme=dark] :where(.cv-header-dropdown,.cv-menu-items,.cv-reactions,.cv-menu-preview,.cv-picker,.cv-picker-tabs,.cv-record,.cv-pinned,.cv-reply-bar,.cv-restriction-pin,.cv-attachments,.ca-sheet,.ca-attach-sheet,.ca-attachment-menu,.ca-selection-tools,.cv-forward-sheet,.cv-delete-sheet,.cv-restriction-dialog,.km-plan-sheet){background:var(--km-surface)!important;color:var(--km-text)!important;border-color:var(--km-line)!important}
html[data-theme=dark] :where(.cv-header-dropdown,.cv-menu-items,.cv-picker,.cv-forward-sheet,.cv-delete-sheet,.cv-restriction-dialog,.km-plan-sheet,.ca-sheet,.ca-attach-sheet) :where(button,a,span,label,p,strong,small,header){color:var(--km-text)!important;border-color:var(--km-line)!important}
html[data-theme=dark] :where(.cv-header-dropdown,.cv-menu-items) button{background:transparent!important}
html[data-theme=dark] :where(.cv-header-dropdown,.cv-menu-items) button:hover{background:var(--km-raised)!important}
html[data-theme=dark] :where(.cv-header-dropdown,.cv-menu-items) .is-danger,html[data-theme=dark] .cv-delete-action,html[data-theme=dark] .cv-delete-action span{color:#ff7875!important}
html[data-theme=dark] :where(.cv-forward-row,.ca-track,.ca-attachment-option,.cv-restriction-detail){background:transparent!important;color:var(--km-text)!important;border-color:var(--km-line)!important}
html[data-theme=dark] :where(.cv-forward-row,.ca-track,.ca-attachment-option):hover{background:var(--km-raised)!important}
html[data-theme=dark] :where(.cv-delete-cancel,.cv-picker-close,.ca-secondary,.ca-search,.cv-forward-search){background:var(--km-raised)!important;color:var(--km-text)!important}
html[data-theme=dark] :where(.cv-delete-note,.ca-copy small,.cv-restriction-note){color:var(--km-muted)!important}
html[data-theme=dark] .cv-reactions button{background:transparent!important}
html[data-theme=dark] #conversation .reaction{background:#ac94f524!important;color:#dfd4ff!important;border-color:transparent!important}
html[data-theme=dark] #conversation .reaction[aria-pressed=true]{background:#ac94f5!important;color:#18121f!important}
html[data-theme=dark] #conversation .message.has-sticker{background:transparent!important}
html[data-theme=dark] #conversation .message.has-sticker .cv-meta{background:#212121cc!important;color:var(--km-text)!important}
html[data-theme=dark] #conversation .live-quote{background:#ac94f51a!important;border-color:var(--km-accent)!important;color:#d8caff!important}
html[data-theme=dark] :where(.cv2026-day,.cv-date){background:#212121b8!important;color:var(--km-text)!important}
html[data-theme=dark] :where(.cv-popover,.ca-attach-sheet,.cv-header-dropdown){box-shadow:0 8px 30px #0005!important}
@media(max-width:899px){
html[data-theme=dark] #conversation .cv-header{background:transparent!important}
html[data-theme=dark] #conversation :where(.cv-back,.cv-identity,.cv-avatar,.cv-attach,.cv-input-capsule){background:#2c2c2ced!important;color:var(--km-text)!important;border-color:#ffffff13!important;box-shadow:inset 0 1px 0 #ffffff0a!important}
html[data-theme=dark] #conversation #message-form{background:transparent!important}
html[data-theme=dark] #conversation #message-form::before{background:transparent!important}
}
}
@layer kotmee-theme{
html[data-theme=dark] :where(.rating-section-bar,#rating-users,.profile-moments,.n182-tabs,.n182-actions,.audio-tabs,.feed-end-state,.km-wallet-app,.km-wallet,.km-wallet-app-header,.km-wallet-tabs,.reminder-empty,.reminder-form){background:var(--km-surface)!important;color:var(--km-text)!important;border-color:var(--km-line)!important;box-shadow:none!important}
html[data-theme=dark] :where(.km-catalog-save,.km-wallet-app-back,.km-wallet-action,.km-wallet-tabs button,.reminder-widget-add,.settings-tile183,.cv-picker-tabs button){background:var(--km-raised)!important;color:var(--km-text)!important;border-color:var(--km-line)!important}
html[data-theme=dark] :where(.settings-identity183 strong,.settings-identity183 b,.km-wallet-app-brand,#reminder-prev,#reminder-next){color:var(--km-text)!important}
html[data-theme=dark] .km-plan-sheet .live-button{background:var(--km-raised)!important;color:var(--km-text)!important;border-color:var(--km-line)!important}
html[data-theme=dark] .km-plan-sheet .live-button[aria-pressed=true],html[data-theme=dark] .cv-picker-tabs button[aria-pressed=true]{background:#ac94f526!important;color:var(--km-accent)!important}
html[data-theme=dark] .km-plan-sheet .km-plan-submit{background:#7663ad!important;color:white!important}
html[data-theme=dark] #conversation #message-form .cv-send:has(img[src*="mic"]){background:var(--km-raised)!important;border-color:var(--km-line)!important}
html[data-theme=dark] body[data-page=reminders] .header-action{background:var(--km-surface)!important;color:var(--km-text)!important}
html[data-theme=dark] :where(.appearance-dim input[type=range]){color-scheme:dark!important}
}
@layer kotmee-theme{
html[data-theme=dark] #conversation .cv-overlay{background:#0006!important}
html[data-theme=dark] #conversation .cv-popover{background:transparent!important;box-shadow:none!important;color:var(--km-text)!important}
html[data-theme=dark] :where(.km218-picker,.km218-picker header,.comments1854-list,.comments1854-empty){background:var(--km-surface)!important;color:var(--km-text)!important;border-color:var(--km-line)!important}
html[data-theme=dark] .km218-picker header strong{color:var(--km-text)!important}
html[data-theme=dark] .km218-picker button{background:transparent!important;color:var(--km-accent)!important}
html[data-theme=dark] .km218-picker button[aria-pressed=true]{background:#ac94f530!important}
html[data-theme=dark] .cv-delete-sheet button.cv-delete-action{background:transparent!important;color:#ff7875!important}
html[data-theme=dark] .post-share .post-share-recipient strong{color:var(--km-text)!important}
html[data-theme=dark] .post-share .post-share-recipient small{color:var(--km-muted)!important}
html[data-theme=dark] .post-share .post-share-recipient[aria-pressed=true]{background:#ac94f51c!important}
html[data-theme=dark] .post-share .post-share-send{background:#7663ad!important;color:#fff!important}
html[data-theme=dark] .post-share .post-share-send:disabled{background:var(--km-raised)!important;color:#8e8e8e!important}
html[data-theme=dark] :where(.cv-call-open,.cv-call-card-icon){color:#c6b5ff!important;background:#ffffff0b!important}
html[data-theme=dark] #conversation #message-form .cv-send:has(img[src*="mic"]) img{filter:brightness(0) invert(.85)!important}
html[data-theme=dark] :where(.wall-write,#wall-write,.wall-compose,.post-author-row a,.post-author-row strong,.post-author-row span){color:var(--km-text)!important}
html[data-theme=dark] :where(.wall-write,#wall-write,.wall-compose){background:var(--km-surface)!important;border-color:var(--km-line)!important}
html[data-theme=dark] ::-webkit-scrollbar-thumb{background:#ffffff28!important}
html[data-theme=dark] ::-webkit-scrollbar-track{background:transparent!important}
}
.km-theme-choices{grid-template-columns:repeat(2,minmax(0,1fr))}
@layer kotmee-theme{
html[data-theme=dark] :where(.notifications-topbar,.notifications-header,.rating-me,#rating-me,.rating-tabs,.profile-tabs,.km154-dock,#km216-hub-directory){background:var(--km-surface)!important;color:var(--km-text)!important;border-color:var(--km-line)!important;box-shadow:none!important}
html[data-theme=dark] .profile-top:not([style*="background-image"]){background:var(--km-surface)!important}
html[data-theme=dark] :where(.settings-category183,.rating-row,.rating-board-head,.km216-brand-row,.km216-footer,.post-share header,.profile-tabs){border-color:var(--km-line)!important;box-shadow:none!important}
html[data-theme=dark] :where(.profile-action>img,.notifications-topbar img){filter:brightness(0) invert(.9)!important}
html[data-theme=dark] :is(#rating-tab-users,#rating-tab-earn,#rating-tab-auction)[aria-pressed=true]{background:var(--km-raised)!important;color:var(--km-accent)!important;box-shadow:none!important}
html[data-theme=dark] .profile-tabs>button[aria-selected=true]{background:var(--km-raised)!important;color:var(--km-accent)!important}
html[data-theme=dark] :where(.km154-icon,.km154-identity,.km154-primary){background:#2c2c2ced!important;color:var(--km-text)!important;border-color:var(--km-line)!important;box-shadow:none!important}
html[data-theme=dark] :where(.km154-identity strong,.km154-identity span,.km154-status,.km154-dock button,.feed-copy,.feed-copy p,.feed-author-name,.feed-author strong){color:var(--km-text)!important}
html[data-theme=dark] :where(.feed-media,.kotmee-gallery,.settings-note){background:var(--km-surface)!important;color:var(--km-muted)!important}
html[data-theme=dark] .settings-switch:not(:checked){background:#494949!important}
html[data-theme=dark] .settings-save{background:#7663ad!important;color:white!important}
}

@layer kotmee-theme { @media(min-width:900px) {
html[data-theme=dark][data-desktop216] body[data-shell216]>main[data-page-scroll]:not(.chats-main){background-color:transparent!important;background-image:url('/live/scroll-panel-dark.svg?v=1')!important}
html[data-theme=dark][data-desktop216] body[data-shell216]:where([data-page=personal],[data-page=feed],[data-page=profile],[data-page=hub],[data-page=owner-hub],[data-page=wall])>main[data-page-scroll]:not(.chats-main){background-image:none!important}
} }

@layer kotmee-theme {
html[data-theme=dark] :where(dialog.ki-welcome,.ki-sheet){background:var(--km-surface)!important;color:var(--km-text)!important;border-color:var(--km-line)!important}
html[data-theme=dark] :where(.ki-welcome h1,.ki-welcome h2,.ki-welcome-brand,.ki-sheet h2){color:var(--km-text)!important}
html[data-theme=dark] :where(.ki-welcome-copy,.ki-welcome-note,.ki-later,.ki-sheet p){color:var(--km-muted)!important}
html[data-theme=dark] .ki-welcome .ki-close{background:var(--km-raised)!important;color:var(--km-text)!important}
}

@layer kotmee-theme{
html[data-theme=dark] .km216-brand>img{filter:brightness(0) invert(.94)!important}
html[data-theme=dark] #km216-sidebar hr{border-color:var(--km-line)!important;background:var(--km-line)!important}
html[data-theme=dark] .settings-tile183{color:#c6b5ff!important;background:#38313f!important}
}

@media (hover:none) and (pointer:coarse){
 body.km185.hub-page .hub-content .feed-post,
 body.km185.hub-page .hub-content .feed-post *{
  -webkit-touch-callout:none!important;
 }
}
