.kf-description-editor{display:block;position:relative;box-sizing:border-box;min-width:0;width:100%;border:1px solid #344249;border-radius:8px;background:#081115;overflow:visible;color:#dce4e1}
.kf-description-editor>textarea[hidden]{display:none!important}
.kf-description-toolbar{display:flex;align-items:center;gap:2px;flex-wrap:wrap;min-height:39px;padding:4px 7px;border-bottom:1px solid #ffffff0c;background:#10191d;border-radius:8px 8px 0 0}
.kf-description-toolbar>button{display:grid;place-items:center;flex:0 0 30px;width:30px;min-width:30px;height:30px;min-height:30px;padding:6px;margin:0;background:transparent;border:0;border-radius:4px;box-shadow:none;color:#9ba9aa;cursor:pointer}
.kf-description-toolbar>button svg{width:16px;height:16px;display:block;pointer-events:none}
.kf-description-toolbar>button:hover,.kf-description-toolbar>button:focus-visible{background:rgba(var(--kyra-ui-217,197,170,244),0.0706);color:rgba(var(--kyra-ui-224,203,175,252),1)}
.kf-description-toolbar>button:focus-visible{outline:1px solid rgba(var(--kyra-ui-217,197,170,244),1);outline-offset:1px}
.kf-description-toolbar>.kf-description-expand{margin-left:auto;color:rgba(var(--kyra-ui-209,189,163,235),1)}
.kf-description-writing{box-sizing:border-box;display:block;min-height:150px;max-height:380px;overflow:auto;padding:14px 15px;outline:0;font-family:inherit;font-size:.88rem;line-height:1.7;white-space:pre-wrap;overflow-wrap:anywhere;cursor:text}
.kf-description-writing:empty:before{content:attr(data-placeholder);color:#728385;pointer-events:none}
.kf-description-editor:focus-within{border-color:rgba(var(--kyra-ui-167,151,130,188),1)}
.kf-description-writing p,.kf-rich-description p{margin:0 0 .65em}
.kf-description-writing ul,.kf-description-writing ol,.kf-rich-description ul,.kf-rich-description ol{padding-left:1.5em;margin:.5em 0}
.kf-description-writing blockquote,.kf-rich-description blockquote{margin:.6em 0;padding:.2em 0 .2em 1em;border-left:2px solid rgba(var(--kyra-ui-165,150,129,186),1);color:#aebcb9}
.kf-description-writing a,.kf-rich-description a{color:rgba(var(--kyra-ui-223,202,174,251),1);text-decoration:underline;text-underline-offset:3px;overflow-wrap:anywhere}
.kf-description-editor-info{padding:0 14px 10px;color:#ee9a98;font-size:.76rem;line-height:1.5}.kf-description-editor-info:empty{display:none}
.kf-description-link-panel[hidden],.kf-description-editor-emoji[hidden]{display:none!important}
.kf-description-link-panel{display:flex;gap:7px;flex-wrap:wrap;padding:10px;border-bottom:1px solid #ffffff0a}
.kf-description-link-panel>input{flex:1;min-width:140px;box-sizing:border-box;min-height:36px;border:1px solid #344249;border-radius:5px;background:#081115;color:#dce4e1;padding:8px;font:inherit;font-size:.8rem}
.kf-description-link-panel>button{min-height:36px;padding:7px 10px;border:1px solid rgba(var(--kyra-ui-82,74,64,92),1);border-radius:5px;background:#152025;color:rgba(var(--kyra-ui-215,195,168,242),1);font:inherit;font-size:.74rem;cursor:pointer}
.kf-description-editor .kf-description-editor-emoji.chat-emoji-panel{box-sizing:border-box;display:block;position:relative;inset:auto;z-index:1;width:100%;max-width:100%;padding:12px 13px;border:0;border-bottom:1px solid #ffffff14;border-radius:0;background:#0b171b;box-shadow:none;color:#dce4e1}
.kf-description-editor-emoji .chat-emoji-panel-heading{display:flex;align-items:baseline;justify-content:space-between;gap:8px;margin-bottom:10px}
.kf-description-editor-emoji .chat-emoji-panel-heading strong{color:rgba(var(--kyra-ui-224,203,175,252),1);font-size:.82rem}
.kf-description-editor-emoji .chat-emoji-panel-heading span{color:#92a0a0;font-size:.7rem}
.kf-description-editor-emoji .chat-emoji-search{box-sizing:border-box;display:block;width:100%;height:36px;margin:0 0 9px;padding:7px 11px;border:1px solid #344249;border-radius:6px;outline:none;background:#081115;color:#e0e7e3;font:inherit;font-size:.8rem}
.kf-description-editor-emoji .chat-emoji-search:focus{border-color:rgba(var(--kyra-ui-196,178,153,220),1)}
.kf-description-editor-emoji .chat-emoji-tabs{display:flex;gap:4px;padding:0 0 9px;overflow-x:auto;scrollbar-width:thin;border-bottom:1px solid #ffffff12}
.kf-description-editor-emoji .chat-emoji-tabs button{display:grid;place-items:center;flex:0 0 36px;width:36px;height:34px;min-width:36px;min-height:34px;margin:0;padding:4px;border:0;border-radius:6px;background:transparent;color:#c2ceca;cursor:pointer}
.kf-description-editor-emoji .chat-emoji-tabs button[aria-selected="true"],.kf-description-editor-emoji .chat-emoji-tabs button:hover{background:rgba(var(--kyra-ui-224,203,175,252),0.1255);color:rgba(var(--kyra-ui-224,203,175,252),1)}
.kf-description-editor-emoji .chat-emoji-grid{display:grid;grid-template-columns:repeat(9,minmax(0,1fr));gap:3px;max-height:230px;overflow-y:auto;overscroll-behavior:contain;padding:9px 0 2px;scrollbar-width:thin}
.kf-description-editor-emoji .chat-emoji-grid button{display:grid;place-items:center;min-width:0;height:35px;min-height:35px;margin:0;padding:0;border:0;border-radius:5px;background:transparent;cursor:pointer;font:20px system-ui,'Apple Color Emoji','Segoe UI Emoji','Noto Color Emoji',sans-serif}
.kf-description-editor-emoji .chat-emoji-grid button:hover,.kf-description-editor-emoji .chat-emoji-grid button:focus-visible{background:#263335;outline:0}
.kf-description-editor-emoji .chat-emoji-grid .kf-emoji-graphic{display:grid;place-items:center;min-width:20px;min-height:20px;font-size:20px}
.kf-description-editor-emoji .chat-emoji-grid .kf-emoji-graphic img,.kf-description-editor-emoji .chat-emoji-tabs .kf-emoji-graphic img{display:block;width:20px;height:20px;object-fit:contain}
.kf-description-editor-emoji .kf-emoji-group-label{color:#92a0a0;font-size:.7rem;line-height:1.6}
.kf-description-editor-emoji .chat-emoji-empty{margin:0;padding:12px 0;text-align:center;color:#92a0a0;font-size:.78rem}
.kf-description-editor-emoji .chat-emoji-empty[hidden]{display:none!important}
@media(max-width:650px){.kf-description-editor-emoji .chat-emoji-grid{grid-template-columns:repeat(7,minmax(0,1fr))}.kf-description-editor .kf-description-editor-emoji.chat-emoji-panel{padding:10px}}
.kf-description-dialog{box-sizing:border-box;width:min(900px,calc(100vw - 32px));max-width:none;max-height:calc(100dvh - 32px);padding:0;border:1px solid #354146;border-radius:14px;background:#0d181c;color:#e1e7e2;box-shadow:0 24px 100px #0009;overflow:auto}
.kf-description-dialog::backdrop{background:#020709c7;backdrop-filter:blur(5px)}
.kf-description-dialog>header{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:18px 22px;border-bottom:1px solid #ffffff0a}
.kf-description-dialog>header strong{font-family:inherit;font-size:1rem;font-weight:600}
.kf-description-dialog>header button{min-height:36px;padding:8px 20px;border:1px solid rgba(var(--kyra-ui-193,175,151,217),1);border-radius:6px;background:rgba(var(--kyra-ui-222,201,173,250),1);color:#191c16;font:inherit;font-size:.8rem;font-weight:600;cursor:pointer}
.kf-description-dialog>.kf-description-editor{width:calc(100% - 40px);margin:20px;border-color:#303f45}
.kf-description-dialog .kf-description-writing{min-height:48dvh;max-height:64dvh;font-size:1rem;padding:22px;line-height:1.8}
.kf-photo-titles{display:grid;gap:12px;width:100%;min-width:0;margin:0 0 20px;grid-column:1 / -1}
.kf-photo-title-entry{display:grid;gap:4px;min-width:0}.kf-photo-title-entry>small{overflow-wrap:anywhere;color:#849598;font-size:.7rem;line-height:1.4}
.kf-photo-title-entry>label{display:grid;gap:6px;margin:0;width:100%;min-width:0}
@media(max-width:650px){.kf-description-dialog{width:calc(100vw - 16px);max-height:calc(100dvh - 16px)}.kf-description-dialog>header{padding:12px 14px}.kf-description-dialog>.kf-description-editor{width:calc(100% - 24px);margin:12px}.kf-description-dialog .kf-description-writing{padding:15px;min-height:48dvh}.kf-description-toolbar{padding:4px}.kf-description-toolbar>button{flex-basis:28px;width:28px;min-width:28px;height:30px;padding:6px}}

.kf-photo-titles[hidden]{display:none!important}

/* KF203: ensure a visibly true bold weight in rich profile descriptions.
 * The display page and the editor must show the same emphasis. */
.kf-rich-description strong,
.kf-rich-description b,
.kf-description-writing strong,
.kf-description-writing b{font-weight:700!important}
