/* Shared input treatment */
:where(input:not([type="checkbox"]):not([type="radio"]):not([type="file"]),textarea,select,[contenteditable="true"]){border-radius:12px;transition:border-color .16s ease,box-shadow .16s ease,background .16s ease}
:where(input:not([type="checkbox"]):not([type="radio"]):not([type="file"]),textarea,select,[contenteditable="true"]):focus,:where(input:not([type="checkbox"]):not([type="radio"]):not([type="file"]),textarea,select,[contenteditable="true"]):focus-visible{outline:none!important;border-color:#9da8d4!important;box-shadow:0 0 0 3px rgba(91,105,174,.105)!important;background:#fff!important}
button:focus-visible,a:focus-visible{outline:2px solid #7783ce;outline-offset:3px}

/* Community */
.k1-community-page{padding:28px 0 60px}.k1-community-top{display:flex;align-items:end;justify-content:space-between;gap:20px;margin:0 0 23px}.k1-community-top h1{font-size:31px;line-height:1.2;margin:5px 0 3px;letter-spacing:-.035em}.k1-community-top p{margin:0;color:#8792a5;font-size:13px}.k1-community-create{padding:9px 14px;border:1px solid #dfe4f0;border-radius:10px;background:#fff;color:#4f5c89;font-weight:700;white-space:nowrap}.k1-community-create:hover{border-color:#9da9de;background:#f7f8ff}.k1-community-layout{display:grid;grid-template-columns:minmax(0,1fr) 242px;gap:18px;align-items:start}.k1-community-main{min-width:0;border:1px solid #e5eaf3;border-radius:17px;background:#fff;box-shadow:0 10px 36px rgba(43,57,92,.045);overflow:hidden}.k1-community-tabs{display:flex;align-items:baseline;gap:14px;padding:18px 21px 14px;border-bottom:1px solid #eef1f6}.k1-community-tabs strong{font-size:17px}.k1-community-tabs span{font-size:11px;color:#a1aabc}.k1-community-compose{margin:16px 20px 13px;padding:12px;border:1px solid #e3e8f1;border-radius:14px;background:#f8fafc}.k1-community-compose textarea{display:block;width:100%;min-height:72px;padding:4px 6px;border:1px solid transparent;background:transparent;resize:vertical;color:#25304a;font-size:13px;line-height:1.6}.k1-community-compose textarea:focus{border-color:transparent!important;box-shadow:none!important;background:transparent!important}.k1-community-compose textarea::placeholder{color:#a3aec2}.k1-compose-tools{display:flex;align-items:center;gap:8px;padding-top:8px}.k1-compose-tools>button,.k1-compose-tools select{min-height:31px;padding:5px 9px;border:1px solid #e1e6ef;border-radius:9px;background:#fff;color:#697b9b;font-size:11px}.k1-compose-tools select{max-width:170px}.k1-compose-tools .k1-send-post{margin-left:auto;border-color:#5d68df;background:#5d68df;color:white;font-weight:750}.k1-compose-tools button:disabled{opacity:.55;cursor:not-allowed}#k1-post-preview{position:relative;width:max-content;margin-top:10px}#k1-post-preview img{display:block;width:125px;height:90px;object-fit:cover;border-radius:9px}#k1-post-preview button{position:absolute;top:-7px;right:-7px;width:24px;height:24px;border-radius:50%;background:#24314c;color:#fff}.k1-feed-controls{display:flex;gap:4px;margin:0 20px 14px;padding:3px;width:max-content;border:1px solid #e5eaf2;border-radius:99px;background:#f7f9fc}.k1-feed-controls button{padding:5px 14px;border-radius:99px;background:transparent;color:#79859c;font-size:12px}.k1-feed-controls button.selected{background:#fff;color:#253351;box-shadow:0 1px 5px rgba(43,57,92,.13);font-weight:750}.k1-masonry{min-height:150px;padding:14px;background:#f3f6fa;columns:3 200px;column-gap:8px}.k1-post-tile{display:inline-block;width:100%;min-width:0;margin:0 0 8px;break-inside:avoid;overflow:hidden;border:1px solid #e5e9f1;border-radius:12px;background:#fff;cursor:pointer;box-shadow:0 2px 8px rgba(30,44,77,.025);transition:transform .16s ease,box-shadow .16s ease,border-color .16s ease}.k1-post-tile:hover{transform:translateY(-2px);border-color:#cfd8ec;box-shadow:0 9px 20px rgba(30,44,77,.09)}.k1-post-tile-body{position:relative;min-height:95px;padding:13px 12px 11px;background:linear-gradient(150deg,#fff,#f7f9fc)}.k1-post-tile:nth-child(7n+2) .k1-post-tile-body{background:linear-gradient(150deg,#fff,#fbf8f5)}.k1-post-tile:nth-child(7n+4) .k1-post-tile-body{background:linear-gradient(150deg,#fff,#f7f7fd)}.k1-quote-mark{position:absolute;top:-5px;right:8px;color:#d4dbe7;font:38px Georgia,serif;pointer-events:none}.k1-post-tile-body p{position:relative;z-index:1;margin:0;white-space:pre-wrap;overflow-wrap:anywhere;color:#273247;font-size:12px;line-height:1.58}.k1-post-tile-body img{display:block;width:100%;height:108px;margin-top:10px;border-radius:8px;object-fit:cover;background:#eef1f5}.k1-post-tile footer{display:flex;align-items:center;gap:5px;min-height:37px;padding:6px 9px;border-top:1px solid #eff2f6;background:#fff}.k1-post-author{display:inline-flex;align-items:center;gap:6px;min-width:0;padding:0;background:none;color:#73819a;text-align:left}.k1-post-author img{flex:0 0 auto;width:20px;height:20px;border-radius:50%;object-fit:cover}.k1-post-author span{display:block;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:10px}.k1-post-count{flex:0 0 auto;margin-left:auto;color:#9aa7bb;font-size:10px}.k1-feed-empty{column-span:all;padding:38px;text-align:center;color:#8792a6}.k1-community-aside{display:grid;gap:14px}.k1-community-aside section{padding:19px;border:1px solid #e3e9f2;border-radius:16px;background:#fff;box-shadow:0 5px 18px rgba(43,57,92,.045)}.k1-aside-icon{display:grid;place-items:center;width:34px;height:34px;border-radius:10px;background:#eff1ff;color:#6670db}.k1-community-aside h2,.k1-community-aside h3{margin:12px 0 6px;font-size:15px}.k1-community-aside p{margin:0 0 12px;color:#8794aa;font-size:11px;line-height:1.7}.k1-community-aside a{color:#5b64d2;font-size:11px;font-weight:750}

/* Dialogs */
.k1-surface-dialog{width:min(690px,calc(100vw - 30px));max-height:min(88vh,900px);padding:0;border:1px solid #e4e9f2;border-radius:19px;background:#fff;color:#23304a;box-shadow:0 25px 70px rgba(20,31,58,.28);overflow:auto}.k1-surface-dialog::backdrop{background:rgba(17,25,48,.52);backdrop-filter:blur(4px)}.k1-dialog-close{position:absolute;top:13px;right:14px;z-index:4;display:grid;place-items:center;width:34px;height:34px;border:1px solid #e6eaf2;border-radius:50%;background:rgba(255,255,255,.95);color:#65738d;font-size:23px;line-height:1}.k1-dialog-loading,.k1-dialog-error{padding:65px 24px;text-align:center;color:#8290a7}.k1-post-detail-head{padding:24px 27px 18px;border-bottom:1px solid #eef1f6}.k1-post-detail-head .k1-post-author{gap:10px}.k1-post-detail-head .k1-post-author img{width:40px;height:40px}.k1-post-detail-head .k1-post-author strong{display:block;color:#25314c;font-size:14px}.k1-post-detail-head .k1-post-author small{display:block;color:#9aa5b5;font-size:11px}.k1-post-detail-body{padding:23px 27px;max-height:58vh;overflow:auto}.k1-post-detail-body p{margin:0;color:#29344a;font-size:15px;line-height:1.9;overflow-wrap:anywhere}.k1-post-detail-body>img{display:block;max-width:100%;max-height:400px;margin:20px auto 0;border-radius:12px;object-fit:contain}.k1-post-work-quote{display:grid;gap:3px;margin-top:20px;padding:13px 16px;border:1px solid #e9ecf6;border-radius:11px;background:#f8f9ff}.k1-post-work-quote span,.k1-post-work-quote small{font-size:11px;color:#7986a6}.k1-post-work-quote strong{font-size:14px}.k1-post-detail-actions{display:flex;align-items:center;gap:10px;padding:13px 27px 18px;border-top:1px solid #eef1f6}.k1-post-detail-actions button{padding:8px 13px;border:1px solid #e4e9f2;border-radius:9px;background:#f9fafc;color:#687692;font-size:12px}.k1-post-detail-actions button.selected{border-color:#c7cdf5;background:#f0f1ff;color:#5863cf}.k1-post-detail-actions>span{margin-left:auto;color:#9aa5b5;font-size:11px}

/* Profile */
.k1-my-profile,.k1-public-profile{max-width:1100px;margin:0 auto 70px}.k1-profile-surface{border:1px solid #e5e9f1;border-radius:18px;background:#fff;box-shadow:0 10px 36px rgba(43,57,92,.045);overflow:hidden}.k1-profile-banner{position:relative;height:205px;overflow:hidden;background:radial-gradient(circle at 80% 28%,rgba(255,255,255,.34),transparent 25%),radial-gradient(circle at 22% 85%,rgba(198,172,255,.47),transparent 31%),linear-gradient(110deg,#5768d8,#8796ea 56%,#a8b6f5)}.k1-profile-banner>img{display:block;width:100%;height:100%;object-fit:cover}.k1-profile-banner-shade{position:absolute;inset:0;background:linear-gradient(0deg,rgba(22,31,76,.27),transparent 70%)}.k1-cover-edit{position:absolute;right:18px;bottom:17px;padding:7px 11px;border:1px solid rgba(255,255,255,.55);border-radius:8px;background:rgba(18,28,61,.38);color:#fff;font-size:11px;backdrop-filter:blur(6px)}.k1-profile-identity{position:relative;display:flex;align-items:flex-end;gap:18px;min-height:108px;padding:0 28px 23px;background:linear-gradient(110deg,#f7f8ff,#fff)}.k1-profile-avatar-wrap{position:relative;flex:0 0 auto;align-self:flex-start;margin-top:-48px}.k1-profile-avatar-wrap>img{display:block;width:93px;height:93px;border:4px solid #fff;border-radius:50%;object-fit:cover;background:#e8ecf8;box-shadow:0 6px 17px rgba(43,57,92,.15)}.k1-profile-avatar-wrap>button{position:absolute;right:0;bottom:0;width:26px;height:26px;border:2px solid #fff;border-radius:50%;background:#5e69df;color:#fff;font-size:16px}.k1-profile-name{min-width:0;flex:1}.k1-profile-name h1{margin:1px 0 3px;font-size:24px;line-height:1.2;letter-spacing:-.025em}.k1-profile-name p{margin:0;color:#7d89a0;font-size:12px;overflow-wrap:anywhere}.k1-profile-edit-button{padding:7px 12px;border:1px solid #d9dff0;border-radius:9px;background:#fff;color:#5866a0;font-size:11px;font-weight:700;white-space:nowrap}.k1-my-profile-body{display:grid;grid-template-columns:minmax(0,1fr) 315px;gap:23px;padding:24px 27px 32px}.k1-my-profile-main{min-width:0}.k1-profile-tabs{display:flex;align-items:center;gap:6px;margin-bottom:15px;border-bottom:1px solid #e9edf4}.k1-profile-tabs button{padding:10px 16px;border-bottom:2px solid transparent;background:none;color:#8490a5;font-size:13px;font-weight:650}.k1-profile-tabs button.selected{border-color:#626dde;color:#3849ae}.k1-profile-tabs span{margin-left:2px;color:#a8b0c0;font-size:11px}.k1-profile-tab-panel[hidden],.k1-bio-editor[hidden]{display:none!important}.k1-profile-works{display:grid;gap:12px}.k1-profile-work{display:grid;grid-template-columns:142px minmax(0,1fr);gap:13px;min-height:114px;padding:9px;border:1px solid #e7ebf2;border-radius:12px;background:#fff;transition:box-shadow .16s,border-color .16s}.k1-profile-work:hover{border-color:#cbd4ee;box-shadow:0 7px 20px rgba(33,47,80,.07)}.k1-profile-work-cover{height:94px;border-radius:9px;overflow:hidden;background:linear-gradient(140deg,#7584df,#c5b6ed)}.k1-profile-work-cover img{display:block;width:100%;height:100%;object-fit:cover}.k1-profile-work-cover span{display:grid;place-items:center;height:100%;color:#fff;font-size:32px}.k1-profile-work-copy{min-width:0;align-self:center}.k1-profile-work-copy strong{font-size:14px}.k1-profile-work-copy p{display:-webkit-box;margin:4px 0;color:#8793a7;font-size:11px;line-height:1.55;overflow:hidden;-webkit-line-clamp:2;-webkit-box-orient:vertical}.k1-profile-work-copy small{color:#5e69da;font-size:10px;font-weight:700}.k1-profile-empty{padding:45px 16px;border:1px dashed #dfe5f0;border-radius:11px;color:#8d99ad;text-align:center}.k1-profile-posts{columns:2 180px;column-gap:9px}.k1-profile-posts .k1-post-tile{margin-bottom:9px}.k1-my-settings{display:grid;align-content:start;gap:13px}.k1-my-settings section{padding:17px;border:1px solid #e7ebf3;border-radius:14px;background:#fff}.k1-my-settings .k1-settings-balance{display:grid;gap:7px;border-color:#e4dcf6;background:linear-gradient(135deg,#f8f6ff,#fffaf5)}.k1-settings-balance>span{color:#8b88a4;font-size:11px}.k1-settings-balance>strong{color:#303b79;font-size:28px;line-height:1.2}.k1-settings-balance>strong small{font-size:11px;font-weight:600;color:#808cab}.k1-settings-primary{padding:9px 13px;border-radius:9px;background:#626cdb;color:#fff;font-size:12px;font-weight:750}.k1-settings-section h2{margin:0 0 11px;font-size:14px}.k1-settings-heading p{margin:-8px 0 12px;color:#8d98ac;font-size:10px}.k1-engine-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}.k1-engine-grid button{display:grid;gap:1px;min-height:56px;padding:8px;border:1px solid #e1e6f0;border-radius:9px;background:#fff;color:#64718b;text-align:center}.k1-engine-grid button.selected{border-color:#747ee3;background:#f1f2ff;color:#4955bd;box-shadow:inset 0 0 0 1px #747ee3}.k1-engine-grid button strong{font-size:12px}.k1-engine-grid button small{font-size:10px}.k1-settings-row{display:flex;align-items:center;gap:10px;width:100%;min-height:45px;padding:8px 3px;border-top:1px solid #eef1f6;background:transparent;color:#40506d;text-align:left;font-size:12px}.k1-settings-row>span{display:grid;place-items:center;width:27px;height:27px;border-radius:8px;background:#f2f4fa;color:#6877bd;font-size:16px}.k1-settings-row strong{font-weight:620}.k1-settings-row>b{margin-left:auto;color:#a1acc0;font-size:19px;font-weight:400}.k1-settings-row code{margin-left:auto;color:#5d67cf;font-size:10px;letter-spacing:.04em}.k1-settings-row>button{padding:3px 7px;border:1px solid #dce1ef;border-radius:6px;background:#fff;color:#6171bd;font-size:10px}.k1-bio-editor{margin:0 0 16px;padding:13px;border:1px solid #e1e7f1;border-radius:12px;background:#f9fafc}.k1-bio-editor label{display:block;margin-bottom:6px;font-size:11px;color:#73809a}.k1-bio-editor textarea{width:100%;padding:10px;border:1px solid #e0e6f0;background:#fff;resize:vertical;font-size:12px}.k1-bio-editor form>div{display:flex;justify-content:flex-end;gap:7px;margin-top:7px}.k1-bio-editor form>div button{padding:7px 11px;border-radius:7px;background:#eef1f7;color:#63718c;font-size:11px}.k1-bio-editor form>div button[type=submit]{background:#626cdb;color:#fff}.k1-public-profile{border:1px solid #e4eaf3;border-radius:17px;background:#fff;overflow:hidden}.k1-public-profile-body{padding:20px 26px 30px}.k1-public-profile .k1-profile-banner{height:170px}.k1-public-profile .k1-profile-identity{min-height:97px}.k1-creator-dialog{width:min(750px,calc(100vw - 30px))}.k1-creator-dialog .k1-public-profile{border:0}.k1-password-form{display:grid;gap:11px;padding:28px}.k1-password-form h2{margin:0 0 6px;font-size:22px}.k1-password-form label{display:grid;gap:5px;color:#697792;font-size:12px}.k1-password-form input{width:100%;padding:10px 12px;border:1px solid #dfe5f0;background:#fff}.k1-password-form .k1-settings-primary{margin-top:5px}.k1-password-dialog{width:min(430px,calc(100vw - 30px))}

@media(max-width:1050px){.k1-community-layout{grid-template-columns:minmax(0,1fr) 210px}.k1-masonry{columns:2 210px}.k1-my-profile-body{grid-template-columns:minmax(0,1fr) 275px}}
@media(max-width:800px){.k1-community-page{padding:14px 0 45px}.k1-community-top{margin-bottom:13px}.k1-community-top h1{font-size:24px}.k1-community-top p{font-size:11px}.k1-community-create{font-size:11px}.k1-community-layout{display:block}.k1-community-aside{display:none}.k1-community-main{margin:0 -15px;border-radius:0;border-left:0;border-right:0}.k1-community-tabs{padding:13px 16px}.k1-community-compose{margin:12px 15px}.k1-feed-controls{margin:0 15px 12px}.k1-masonry{padding:9px;columns:2 150px;column-gap:7px}.k1-post-tile{margin-bottom:7px}.k1-post-tile-body{min-height:85px;padding:10px 9px}.k1-post-tile-body p{font-size:11px}.k1-post-tile-body img{height:92px}.k1-post-tile footer{padding:5px 7px}.k1-my-profile,.k1-public-profile{margin:0 -15px 70px}.k1-profile-surface,.k1-public-profile{border-radius:0;border-left:0;border-right:0}.k1-profile-banner{height:152px}.k1-profile-identity{gap:11px;min-height:103px;padding:0 15px 16px}.k1-profile-avatar-wrap{margin-top:-35px}.k1-profile-avatar-wrap>img{width:74px;height:74px}.k1-profile-name h1{font-size:19px}.k1-profile-name p{font-size:11px}.k1-profile-edit-button{padding:6px 8px}.k1-my-profile-body{display:flex;flex-direction:column;gap:20px;padding:17px 15px 27px}.k1-my-profile-main{order:1}.k1-my-settings{order:2;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.k1-my-settings section:last-child{grid-column:1/-1}.k1-my-settings section{padding:13px}.k1-public-profile-body{padding:16px 15px 25px}.k1-profile-work{grid-template-columns:115px minmax(0,1fr)}.k1-profile-work-cover{height:84px}.k1-post-detail-head{padding:19px 18px 14px}.k1-post-detail-body{padding:18px}.k1-post-detail-actions{padding:11px 18px 15px}.k1-surface-dialog{max-height:86vh}}
@media(max-width:380px){.k1-compose-tools select{max-width:120px}.k1-compose-tools>button,.k1-compose-tools select{font-size:10px;padding:5px 6px}.k1-my-settings{grid-template-columns:1fr}.k1-my-settings section:last-child{grid-column:auto}.k1-profile-name h1{font-size:17px}.k1-profile-avatar-wrap>img{width:65px;height:65px}}

.k1-creator-dialog .k1-public-profile{margin:0}

/* The own-home page keeps the desktop two-column relationship on phones.
   The content column may shrink, but never below the width needed for a
   readable cover and title. */
.k1-own-home-body{display:grid;grid-template-columns:minmax(0,1.08fr) minmax(260px,.92fr);gap:24px;align-items:start}
.k1-own-home-content{min-width:0}
.k1-own-home-settings{display:grid;align-content:start;gap:13px;min-width:0}
.k1-own-home-settings section{padding:17px;border:1px solid #e7ebf3;border-radius:14px;background:#fff}
.k1-own-home-settings .k1-settings-balance{display:grid;gap:7px;border-color:#e4dcf6;background:linear-gradient(135deg,#f8f6ff,#fffaf5)}
.k1-own-home-settings .k1-settings-section h2{margin:0 0 11px;font-size:14px}
.k1-own-home-settings .k1-settings-row{display:flex}
.k1-own-home-settings .k1-settings-row:last-child{border-bottom:0}
.k1-profile-edit-button{display:inline-flex;align-items:center;justify-content:center;text-decoration:none;cursor:pointer;transition:background-color .16s ease,border-color .16s ease,transform .12s ease}
.k1-profile-edit-button:active{transform:translateY(1px) scale(.98)}

/* Standalone signature editor */
.k1-signature-page{max-width:680px;margin:0 auto 72px;padding:28px 0}
.k1-signature-back{display:inline-flex;align-items:center;gap:6px;margin-bottom:17px;color:#6673bb;font-size:12px;font-weight:700;text-decoration:none}
.k1-signature-card{padding:30px;border:1px solid #e4e9f2;border-radius:18px;background:linear-gradient(145deg,#fff,#fafbff);box-shadow:0 15px 40px rgba(43,57,92,.06)}
.k1-signature-card h1{margin:7px 0 6px;color:#283454;font-size:26px;letter-spacing:-.03em}
.k1-signature-card>p{margin:0 0 24px;color:#8792a6;font-size:12px}
.k1-signature-card form{display:grid;gap:9px}
.k1-signature-card label{color:#586681;font-size:12px;font-weight:700}
.k1-signature-card textarea{display:block;width:100%;min-height:176px;padding:13px 14px;border:1px solid #e0e6f0;border-radius:13px;background:#fff;color:#27334d;resize:vertical;font-size:14px;line-height:1.75}
.k1-signature-count{display:flex;align-items:center;justify-content:space-between;color:#9aa5b7;font-size:11px}
.k1-signature-count strong{color:#6977a0;font-weight:700}
.k1-signature-actions{display:flex;justify-content:flex-end;gap:9px;margin-top:10px}
.k1-signature-actions a,.k1-signature-actions button{display:inline-flex;align-items:center;justify-content:center;min-height:39px;padding:8px 15px;border:1px solid #dfe5f0;border-radius:10px;background:#fff;color:#63718c;font-size:12px;font-weight:700;text-decoration:none;cursor:pointer}
.k1-signature-actions button{border-color:#626cdb;background:#626cdb;color:#fff}

@media(max-width:800px){
  .k1-own-home-body{grid-template-columns:minmax(0,1.08fr) minmax(150px,.92fr);gap:10px;padding:14px 10px 28px}
  .k1-own-home-settings{gap:9px}
  .k1-own-home-settings section{padding:12px 10px;border-radius:12px}
  .k1-own-home-settings .k1-settings-heading p{line-height:1.45}
  .k1-own-home-settings .k1-settings-row{gap:5px;padding:8px 0;font-size:10px}
  .k1-own-home-settings .k1-settings-row>span{width:22px;height:22px;font-size:13px}
  .k1-own-home-settings .k1-settings-row>button{padding:3px 5px;font-size:9px}
  .k1-own-home-settings .k1-settings-row code{font-size:8px}
  .k1-own-home-settings .k1-settings-balance>strong{font-size:21px}
  .k1-own-home-settings .k1-settings-primary{padding:8px 7px;font-size:10px}
  .k1-own-home .k1-profile-tabs{gap:2px}
  .k1-own-home .k1-profile-tabs button{padding:9px 8px;font-size:11px}
  .k1-own-home .k1-profile-works{display:block}
  .k1-own-home .k1-profile-work{display:block;min-width:0;margin-bottom:9px;padding:7px}
  .k1-own-home .k1-profile-work-cover{width:100%;height:auto;aspect-ratio:1.45;border-radius:8px}
  .k1-own-home .k1-profile-work-copy{padding:7px 3px 2px}
  .k1-own-home .k1-profile-work-copy strong{display:-webkit-box;overflow:hidden;word-break:break-all;-webkit-line-clamp:2;-webkit-box-orient:vertical;font-size:12px;line-height:1.45}
  .k1-own-home .k1-profile-work-copy p{font-size:10px}
  .k1-own-home .k1-profile-posts{columns:1}
  .k1-signature-page{margin:0 -2px 70px;padding:15px 0}
  .k1-signature-card{padding:21px 17px;border-radius:15px}
  .k1-signature-card h1{font-size:23px}
  .k1-signature-card textarea{min-height:185px;font-size:16px}
}
@media(max-width:380px){
  .k1-own-home-body{grid-template-columns:minmax(0,1fr) minmax(138px,.86fr);gap:8px;padding-inline:8px}
  .k1-own-home-settings section{padding-inline:8px}
  .k1-own-home-settings .k1-settings-row strong{font-size:9px}
}

.k1-profile-name p{white-space:pre-wrap}
.k1-own-home-back{position:absolute;z-index:3;display:inline-flex;align-items:center;gap:5px;margin:14px;padding:7px 12px;border:1px solid rgba(255,255,255,.55);border-radius:999px;background:rgba(26,35,73,.42);color:#fff;font-size:12px;backdrop-filter:blur(7px)}
.k1-own-home-tools{display:flex;flex-wrap:wrap;gap:8px;margin-top:22px;padding-top:18px;border-top:1px solid #e9edf4}.k1-own-home-tools a,.k1-own-home-tools button{padding:8px 12px;border:1px solid #dfe5f0;border-radius:9px;background:#fff;color:#59668d;font-size:12px;font-weight:650}
.k1-mobile-account .k1-profile-name p,.k1-mobile-account .k1-profile-name .section-kicker{display:none}.k1-view-home{display:flex;align-items:center;justify-content:space-between;margin:0 16px;padding:13px 15px;border:1px solid #dce3f1;border-radius:11px;background:#f8faff;color:#4d5d9f;font-size:13px;font-weight:750}.k1-view-home span{font-size:19px;font-weight:400}.k1-mobile-account-body{display:grid;gap:12px;padding:15px 16px 30px}.k1-mobile-model,.k1-mobile-recharge{padding:17px;border:1px solid #e4e9f3;border-radius:14px;background:#fff}.k1-mobile-model .k1-settings-heading h2{margin:0 0 9px;font-size:16px}.k1-mobile-model .k1-settings-heading p{margin:-5px 0 13px}.k1-mobile-model .k1-engine-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.k1-mobile-model .k1-engine-grid button{min-height:49px}.k1-mobile-recharge{display:flex;align-items:center;justify-content:space-between;background:linear-gradient(120deg,#f9f8ff,#fffaf6)}.k1-mobile-recharge div{display:grid;gap:1px}.k1-mobile-recharge span{color:#8993a8;font-size:11px}.k1-mobile-recharge strong{color:#313d78;font-size:25px;line-height:1.2}.k1-mobile-recharge button{padding:9px 17px;border-radius:9px;background:#626cdb;color:#fff;font-size:12px;font-weight:750}
@media(max-width:800px){.k1-own-home{margin-top:0}.k1-own-home .k1-profile-identity{align-items:center}.k1-mobile-account{margin-top:0}.k1-mobile-account .k1-profile-surface{min-height:calc(100dvh - 80px)}.k1-mobile-account .k1-profile-banner{height:190px}.k1-mobile-account .k1-profile-identity{min-height:82px}.k1-mobile-account .k1-profile-name h1{margin:0}.k1-own-home .k1-profile-name p{line-height:1.7}}
@media(max-width:380px){.k1-mobile-model .k1-engine-grid{gap:5px}.k1-mobile-model .k1-engine-grid button{padding:6px 2px}.k1-mobile-account-body{padding-inline:12px}}

/* Compact model chooser: give every state a deliberate touch target and
   prevent the native square selection/focus flash on small phones. */
@media(max-width:800px){
  .k1-mobile-model .k1-engine-grid{gap:8px;grid-template-columns:repeat(2,minmax(0,1fr))}
  .k1-mobile-model .k1-engine-grid button{min-height:58px;padding:9px 7px;border:1px solid #e1e6f0;border-radius:14px;background:#fff;color:#64718b;box-shadow:none;-webkit-tap-highlight-color:transparent;transition:background-color .16s ease,border-color .16s ease,box-shadow .16s ease,color .16s ease,transform .12s ease}
  .k1-mobile-model .k1-engine-grid button.selected{border-color:#747ee3;border-radius:14px;background:linear-gradient(145deg,#f5f5ff,#eef0ff);color:#4955bd;box-shadow:0 4px 14px rgba(98,108,219,.14),inset 0 0 0 1px #747ee3}
  .k1-mobile-model .k1-engine-grid button:not(:disabled):active{transform:translateY(1px) scale(.985)}
  .k1-mobile-model .k1-engine-grid button:focus{outline:none}
  .k1-mobile-model .k1-engine-grid button:focus-visible{outline:2px solid rgba(98,108,219,.72);outline-offset:2px}
}
@media(max-width:380px){
  .k1-mobile-model .k1-engine-grid{gap:6px}
  .k1-mobile-model .k1-engine-grid button{min-height:55px;padding:8px 4px;border-radius:12px}
  .k1-mobile-model .k1-engine-grid button.selected{border-radius:12px}
}

/* Library */
.k1-shelf{min-height:340px;margin:0 0 55px;padding:20px;border:1px solid #e5eaf3;border-radius:17px;background:#fff}.k1-shelf-tabs{display:flex;gap:5px;margin-bottom:19px;padding-bottom:11px;border-bottom:1px solid #e9edf4}.k1-shelf-tabs button{min-height:39px;padding:8px 16px;border-radius:9px;background:transparent;color:#77849b;font-size:13px;font-weight:700;white-space:nowrap}.k1-shelf-tabs button.selected{background:#eef0ff;color:#4a56c8}.k1-shelf-tabs span{margin-left:4px;font-size:11px;opacity:.7}.k1-shelf-panel .work-grid{margin:0}.k1-shelf-empty{display:grid;place-items:center;gap:6px;min-height:225px;color:#8995aa;text-align:center}.k1-shelf-empty strong{color:#33415d;font-size:17px}.k1-shelf-empty p{margin:0;font-size:12px}.k1-shelf-empty a{margin-top:5px;color:#5361ce;font-size:12px;font-weight:750}.k1-shelf-history{display:grid;grid-template-columns:repeat(auto-fill,minmax(240px,1fr));gap:11px}.k1-shelf-history-item{display:grid;grid-template-columns:75px minmax(0,1fr);gap:12px;min-height:102px;padding:10px;border:1px solid #e6ebf3;border-radius:12px;background:#fff;transition:border-color .16s,transform .16s}.k1-shelf-history-item:hover{transform:translateY(-2px);border-color:#bdc8eb}.k1-shelf-history-cover{height:82px;overflow:hidden;border-radius:8px;background:linear-gradient(145deg,#7887da,#c5b7e6);color:#fff;text-align:center;line-height:82px}.k1-shelf-history-cover img{display:block;width:100%;height:100%;object-fit:cover}.k1-shelf-history-item>div:last-child{display:flex;flex-direction:column;justify-content:center;min-width:0}.k1-shelf-history-item strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:13px}.k1-shelf-history-item small{margin:4px 0;color:#8b97aa;font-size:11px}.k1-shelf-history-item span{color:#5e69d6;font-size:11px;font-weight:700}
@media(max-width:800px){.k1-shelf{margin:0 -15px 70px;padding:14px 12px;border-left:0;border-right:0;border-radius:0}.k1-shelf-tabs{justify-content:space-between;gap:0}.k1-shelf-tabs button{padding:8px 7px;font-size:12px}.k1-shelf-history{grid-template-columns:1fr}.k1-shelf-history-item{grid-template-columns:65px minmax(0,1fr);min-height:91px}.k1-shelf-history-cover{height:69px;line-height:69px}}
.k1-shelf{border:0;border-radius:0;background:transparent;padding:0;min-height:350px}.k1-shelf-toolbar{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:0 0 18px}.k1-shelf-search{display:flex;align-items:center;gap:10px;flex:1;max-width:680px;min-width:0;background:#fff;border:1px solid #e6e8ef;border-radius:22px;padding:9px 16px}.k1-shelf-search svg{width:18px;height:18px;flex:none;stroke:currentColor;fill:none;color:#9da5b6}.k1-shelf-search input{width:100%;min-width:0;border:0;outline:0;background:transparent;font:inherit;font-size:13px}.k1-shelf-sort{display:flex;gap:4px;align-items:center;flex:none}.k1-shelf-sort button{padding:7px 11px;background:transparent;color:#969cab;border-radius:7px;font-size:12px}.k1-shelf-sort button.selected{background:#fff;color:#34394d;box-shadow:0 2px 9px #28334810}.k1-shelf-tabs{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));border:0;background:#ffffffb3;border-radius:10px;padding:4px;gap:5px;margin-bottom:24px}.k1-shelf-tabs button{height:43px;border-radius:8px;color:#777f92;font-size:13px}.k1-shelf-tabs button.selected{background:#6555df;color:#fff}.k1-shelf-cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px 16px}.k1-shelf-card{position:relative;min-width:0;padding:0;border:0;border-radius:0}.k1-shelf-cover{aspect-ratio:16/9;display:grid;place-items:center;overflow:hidden;border-radius:8px;background:#e9edf1;color:#b3bbc7;font-size:32px}.k1-shelf-cover img{display:block;width:100%;height:100%;object-fit:cover}.k1-shelf-card-body{padding:8px 1px;color:#333c50}.k1-shelf-card-body strong{display:block;font-size:14px;font-weight:600;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.k1-shelf-card-body small{display:block;margin-top:4px;font-size:11px;color:#8e97a9;line-height:1.5}.k1-shelf-card-body span{display:block;margin-top:2px;font-size:11px;color:#8e97a9}.shelf-edit-link{color:#6555d7!important}.k1-shelf-check{display:none;position:absolute;top:8px;left:8px;z-index:2;width:26px;height:26px;padding:3px;border-radius:50%;background:#fff;box-shadow:0 2px 8px #1c234526}.k1-shelf-check input{display:block;margin:0;width:20px;height:20px;accent-color:#6555df}.is-managing .k1-shelf-check{display:block}.k1-shelf-card.checked .k1-shelf-cover{outline:3px solid #6555df;outline-offset:-3px}.k1-shelf-manage-actions{display:flex;justify-content:flex-end;gap:10px;padding:20px 0}.k1-shelf-manage-actions[hidden]{display:none}.k1-shelf-manage-actions button{padding:10px 18px;border-radius:8px;background:#f0f2f7;color:#58627a}.k1-shelf-manage-actions button.danger-button{background:#fff0f2;color:#bd566a}.auth-register-switch{display:grid;grid-template-columns:1fr 1fr;background:#f0f2f7;border-radius:8px;padding:4px;gap:4px;margin-bottom:18px}.auth-register-switch button{padding:10px 8px;border-radius:6px;background:transparent;color:#929bad;font-size:13px}.auth-register-switch button.selected{background:#fff;color:#5d50ce;box-shadow:0 2px 7px #20294609}@media(max-width:800px){.k1-shelf{margin:0 0 70px;padding:0}.k1-shelf-toolbar{flex-wrap:wrap;gap:10px}.k1-shelf-search{flex-basis:100%;max-width:none}.k1-shelf-sort{margin-left:auto}.k1-shelf-tabs{gap:3px;margin-bottom:18px}.k1-shelf-tabs button{padding:7px 4px;font-size:13px}.k1-shelf-cards{gap:14px 11px}.k1-shelf-card-body strong{font-size:12px}.k1-shelf-card-body small,.k1-shelf-card-body span{font-size:10px}}

/* Dressup: profile backgrounds, avatar frames, and story bubbles */
.background-default{background:radial-gradient(circle at 80% 28%,rgba(255,255,255,.34),transparent 25%),radial-gradient(circle at 22% 85%,rgba(198,172,255,.47),transparent 31%),linear-gradient(110deg,#5768d8,#8796ea 56%,#a8b6f5)}
.background-dawn{background:radial-gradient(circle at 76% 38%,#fff3c2 0 8%,transparent 19%),linear-gradient(165deg,#f8c1b7 0%,#f7d7bd 38%,#87b7c8 65%,#456d91 100%)}
.background-night{background:radial-gradient(circle at 72% 24%,#f7ecb2 0 2%,transparent 3%),radial-gradient(circle at 15% 24%,#fff 0 1px,transparent 2px),radial-gradient(circle at 38% 50%,#fff 0 1px,transparent 2px),linear-gradient(145deg,#101d43,#243869 51%,#6264a1)}
.background-forest{background:radial-gradient(circle at 24% 77%,rgba(198,224,190,.7),transparent 32%),linear-gradient(155deg,#173b3e,#366454 46%,#a1bba2)}
.background-sunset{background:radial-gradient(circle at 67% 60%,#ffe6a6 0 10%,transparent 23%),linear-gradient(165deg,#8d6ba2,#d48f98 45%,#e9b789 68%,#68698a)}
.background-orchid{background:radial-gradient(circle at 18% 38%,rgba(238,193,248,.8),transparent 24%),radial-gradient(circle at 82% 77%,rgba(180,197,255,.65),transparent 28%),linear-gradient(120deg,#3b376c,#7865a6 55%,#ab83b9)}
.frame-aurora{--frame-gradient:conic-gradient(#74d0d7,#a9b9fd,#d5a7e4,#74d0d7);--frame-shadow:0 0 17px rgba(118,198,216,.55)}
.frame-laurel{--frame-gradient:conic-gradient(#d7b56a,#f6e7b0,#738f58,#d7b56a);--frame-shadow:0 0 14px rgba(162,143,68,.5)}
.frame-starlight{--frame-gradient:conic-gradient(#d6dcff,#5b70b9,#f5d9ab,#6c85ce,#d6dcff);--frame-shadow:0 0 18px rgba(126,145,220,.58)}
.frame-rose{--frame-gradient:conic-gradient(#842d58,#f1a5be,#f8d7cd,#b35c86,#842d58);--frame-shadow:0 0 18px rgba(197,107,141,.48)}
.frame-ink{--frame-gradient:conic-gradient(#1f283c,#c7a773,#283448,#e4c791,#1f283c);--frame-shadow:0 0 14px rgba(36,45,66,.5)}
.k1-profile-avatar-wrap:not(.frame-none)::before,.k1-dressup-portrait:not(.frame-none)::before,.k1-dressup-mini-avatar:not(.frame-none)::before{content:"";position:absolute;inset:-5px;border-radius:50%;background:var(--frame-gradient);box-shadow:var(--frame-shadow)}
.k1-profile-avatar-wrap>img,.k1-dressup-portrait>img,.k1-dressup-mini-avatar>img{position:relative;z-index:1}.k1-profile-avatar-wrap>button{z-index:2}
.bubble-classic{--bubble-bg:#fff;--bubble-border:#e1e7e9;--bubble-ink:#435253}
.bubble-mist{--bubble-bg:#eff5f5;--bubble-border:#cbdcdd;--bubble-ink:#3e6265}
.bubble-lavender{--bubble-bg:#f2efff;--bubble-border:#d6ccf5;--bubble-ink:#514b80}
.bubble-peach{--bubble-bg:#fff1ec;--bubble-border:#f4d3c8;--bubble-ink:#8b5b51}
.bubble-ocean{--bubble-bg:#eaf5fb;--bubble-border:#bbddea;--bubble-ink:#34627a}
.bubble-mint{--bubble-bg:#eaf8f1;--bubble-border:#bce6d2;--bubble-ink:#356a57}
.bubble-amber{--bubble-bg:#fff7e7;--bubble-border:#eed6a1;--bubble-ink:#826238}
.bubble-rose{--bubble-bg:#fff0f4;--bubble-border:#eecad6;--bubble-ink:#87576a}
.bubble-indigo{--bubble-bg:#eef0ff;--bubble-border:#cbd0ed;--bubble-ink:#465587}
.bubble-slate{--bubble-bg:#eef2f5;--bubble-border:#cdd7de;--bubble-ink:#4d6171}
.bubble-gold{--bubble-bg:#fffaf0;--bubble-border:#e9cd83;--bubble-ink:#81622d}
.bubble-neon{--bubble-bg:#1c2541;--bubble-border:#5cc4c8;--bubble-ink:#e2faf7}
.story-screen[class*="bubble-"] .story-entry{margin:10px 0;padding:16px 18px;border:1px solid var(--bubble-border);border-radius:16px 16px 16px 5px;background:var(--bubble-bg)}
.story-screen[class*="bubble-"] .story-entry p,.story-screen[class*="bubble-"] .story-entry header{color:var(--bubble-ink)}
.k1-dressup-page{margin-bottom:60px}.k1-dressup-root{display:grid;grid-template-columns:minmax(250px,340px) minmax(0,1fr);gap:18px;align-items:start}.k1-dressup-preview,.k1-dressup-browser{border:1px solid #e3e9f2;border-radius:16px;background:#fff;overflow:hidden}.k1-dressup-preview{position:sticky;top:18px;padding-bottom:16px;text-align:center}.k1-dressup-scene{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;min-height:245px;color:#fff}.k1-dressup-scene>span{position:relative;font-size:14px;font-weight:800;text-shadow:0 2px 8px rgba(18,29,52,.35)}.k1-dressup-portrait,.k1-dressup-mini-avatar{position:relative;display:block;border-radius:50%}.k1-dressup-portrait img{display:block;width:85px;height:85px;border:4px solid #fff;border-radius:50%;object-fit:cover;box-shadow:0 7px 22px rgba(28,38,75,.22)}.k1-dressup-message,.k1-dressup-mini-bubble{display:block;border:1px solid var(--bubble-border);border-radius:14px 14px 14px 4px;background:var(--bubble-bg);color:var(--bubble-ink)}.k1-dressup-message{margin:15px 20px 5px;padding:13px 15px;text-align:left;font-size:12px}.k1-dressup-preview>small{color:#95a0b2;font-size:10px}.k1-dressup-toolbar{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:14px 16px;border-bottom:1px solid #edf0f5}.k1-dressup-toolbar>span{color:#8995aa;font-size:11px;white-space:nowrap}.k1-dressup-tabs{display:flex;gap:5px}.k1-dressup-tabs button{padding:7px 10px;border-radius:8px;background:none;color:#7d8ba0;font-size:12px;font-weight:650;white-space:nowrap}.k1-dressup-tabs button.selected{background:#eff0ff;color:#4f5cbd}.k1-dressup-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(145px,1fr));gap:12px;padding:16px}.k1-dressup-card{overflow:hidden;border:1px solid #e2e8f1;border-radius:12px;background:#fff;cursor:pointer}.k1-dressup-card.previewing{border-color:#737fdf;box-shadow:0 0 0 2px rgba(104,116,220,.12)}.k1-dressup-art{display:grid;place-items:center;height:108px;background:#f1f4f8}.k1-dressup-art[class*="background-"]{background:inherit}.k1-dressup-mini-avatar img{display:block;width:55px;height:55px;border:3px solid #fff;border-radius:50%;object-fit:cover}.k1-dressup-mini-bubble{padding:9px 11px;font-size:11px}.k1-dressup-card-foot{display:flex;align-items:center;justify-content:space-between;gap:5px;padding:10px}.k1-dressup-card-foot div{display:grid;min-width:0}.k1-dressup-card-foot strong{font-size:11px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.k1-dressup-card-foot small{color:#97a3b6;font-size:10px}.k1-dressup-card-foot button{flex:0 0 auto;padding:5px 8px;border-radius:7px;background:#eef0ff;color:#4e5bc4;font-size:10px;font-weight:700}.k1-dressup-card-foot button:disabled{background:#eef5f2;color:#679781}
@media(max-width:800px){.k1-dressup-root{grid-template-columns:1fr;gap:12px}.k1-dressup-preview{position:static}.k1-dressup-scene{min-height:170px}.k1-dressup-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;padding:11px}.k1-dressup-toolbar{padding:11px}.k1-dressup-tabs button{padding:6px 7px;font-size:11px}}
.k1-dressup-art.background-default{background:linear-gradient(110deg,#5768d8,#a8b6f5)}
.k1-dressup-art.background-dawn{background:linear-gradient(165deg,#f8c1b7,#f7d7bd 38%,#87b7c8 65%,#456d91)}
.k1-dressup-art.background-night{background:linear-gradient(145deg,#101d43,#243869 51%,#6264a1)}
.k1-dressup-art.background-forest{background:linear-gradient(155deg,#173b3e,#366454 46%,#a1bba2)}
.k1-dressup-art.background-sunset{background:linear-gradient(165deg,#8d6ba2,#d48f98 45%,#e9b789 68%,#68698a)}
.k1-dressup-art.background-orchid{background:linear-gradient(120deg,#3b376c,#7865a6 55%,#ab83b9)}

/* Shared interaction polish for the profile, community and dress-up surfaces. */
button,
a{ -webkit-tap-highlight-color:transparent }
button:not(:disabled){transition:background-color .16s ease,border-color .16s ease,box-shadow .16s ease,color .16s ease,transform .12s ease}
button:not(:disabled):active{transform:translateY(1px) scale(.99)}
button:disabled{cursor:not-allowed}

/* Public profile geometry measured from the original profile drawer. */
.k1-creator-dialog{width:min(672px,calc(100vw - 32px));padding:0;border:0;border-radius:16px;max-height:calc(100dvh - 32px);overflow:auto;scrollbar-width:thin}
.k1-creator-dialog .k1-public-profile{margin:0;border-radius:0;max-width:none}.k1-public-profile .k1-profile-banner,.k1-my-profile .k1-profile-banner{height:290px}.k1-profile-banner-shade{background:none}.k1-public-profile .k1-profile-identity,.k1-my-profile .k1-profile-identity{align-items:flex-start;gap:16px;padding:12px 32px 16px;min-height:98px;background:#fff}.k1-profile-avatar-wrap{margin-top:-54px}.k1-profile-avatar-wrap>img{width:96px;height:96px;box-shadow:none}.k1-profile-name h1{display:flex;align-items:center;gap:8px;margin:0 0 6px;font-size:24px;font-weight:800;color:#0f172a}.k1-profile-name p{font-size:14px;color:#64748b;line-height:1.7}.k1-profile-avatar-wrap .k1-avatar-frame{position:absolute;inset:-12%;width:124%;height:124%;border:0;border-radius:0;background:none;pointer-events:none;object-fit:contain}.k1-level-badge{display:inline-grid;place-items:center;padding:3px 5px;border-radius:8px;background:#e9e5ff;color:#6a59ae;font-size:11px}.k1-creator-badge{padding:3px 5px;border-radius:8px;background:#eee8ff;color:#7c3aed;font-size:11px}.k1-profile-back{position:absolute;z-index:3;left:24px;top:16px;right:auto;border:0;background:#0006;color:white;font-size:28px;backdrop-filter:blur(5px)}
.k1-profile-social{padding:0 32px}.k1-profile-social-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin:4px 0 22px}.k1-follow-button{display:flex;align-items:center;gap:5px;padding:8px 13px;border-radius:999px;background:#6b5df8;color:white;box-shadow:0 4px 8px #6b5df826;font-size:13px;font-weight:700}.k1-follow-button.following{background:#f0edff;color:#7063e8;box-shadow:none}.k1-block-button,.k1-profile-edit-button{padding:6px 10px;border:1px solid #e2e8f0;border-radius:8px;background:white;color:#64748b;font-size:12px}.k1-profile-counts{display:flex;gap:20px;padding:16px;border:1px solid #e8edf4;border-radius:16px;font-size:14px;color:#64748b}.k1-profile-counts button{padding:0;background:none;color:inherit}.k1-profile-counts strong{font-size:16px;color:#0f172a}.k1-profile-supporters{padding:24px;margin-top:20px;border:1px solid #e2e8f0;border-radius:20px}.k1-profile-supporters header{display:flex;gap:10px;align-items:center;margin-bottom:16px}.k1-supporter-icon{display:grid;place-items:center;width:38px;height:38px;border-radius:12px;background:linear-gradient(135deg,#7164ff,#b0a6fc);color:white;font-size:24px;box-shadow:0 2px 3px #0002}.k1-profile-supporters header h2{margin:0;font-size:16px;color:#0f172a}.k1-profile-supporters header p{margin:3px 0 0;font-size:12px;color:#94a3b8}.k1-profile-supporters header>button{margin-left:auto;border:1px solid #e2e8f0;background:white;border-radius:999px;padding:3px 13px;color:#64748b;font-size:22px}.k1-supporter-row{display:flex;align-items:center;gap:12px;min-height:60px;margin-top:5px;padding:10px 12px;border-radius:16px;background:linear-gradient(90deg,#fffbed,transparent)}.k1-supporter-row:nth-of-type(2){background:linear-gradient(90deg,#f1f5fb,transparent)}.k1-supporter-row:nth-of-type(3){background:linear-gradient(90deg,#fff6ef,transparent)}.k1-supporter-avatar{position:relative;flex:0 0 34px;width:34px;height:34px}.k1-supporter-avatar>img{width:100%;height:100%;border-radius:50%;object-fit:cover}.k1-supporter-avatar>.k1-avatar-frame{position:absolute;inset:-20%;width:140%;height:140%;object-fit:contain;border-radius:0}.k1-supporter-copy{min-width:0;flex:1}.k1-supporter-copy strong,.k1-supporter-copy small{display:block}.k1-supporter-copy strong{font-size:14px;color:#1e293b;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.k1-supporter-copy small{font-size:12px;color:#94a3b8;margin-top:3px}.k1-supporter-row>b{white-space:nowrap;color:#6e63ff;font-size:16px}.k1-coin-glyph{display:inline-grid;place-items:center;width:14px;height:14px;border-radius:50%;font-size:9px;color:#a35b07;background:#ffd15c;border:1px solid #e5a23c;vertical-align:middle}.k1-list-heading{margin:0;padding:22px 24px 16px;border-bottom:1px solid #e2e8f0;font-size:16px}.k1-full-tip-list,.k1-people-list{padding:12px 24px 22px}.k1-tip-list-dialog,.k1-people-dialog{padding:0;width:min(480px,calc(100vw - 28px))}.k1-list-pagination{display:flex;align-items:center;justify-content:center;gap:20px;padding:10px 20px 20px;font-size:12px;color:#64748b}.k1-list-pagination button{padding:7px 12px;border:1px solid #e2e8f0;border-radius:8px;background:white;color:#64748b}.k1-list-pagination button:disabled{opacity:.4}.k1-people-list a{display:flex;align-items:center;gap:12px;padding:14px 0;border-bottom:1px solid #f1f5f9}.k1-people-list a>img{width:42px;height:42px;border-radius:50%;object-fit:cover}.k1-people-list a>span{flex:1;min-width:0}.k1-people-list strong,.k1-people-list small{display:block}.k1-people-list small{color:#94a3b8;font-size:12px;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.k1-people-list a>b{color:#94a3b8}
.k1-profile-tabs{gap:26px;border:0;margin-bottom:20px}.k1-profile-tabs button{padding:2px 0;background:none;border:0;border-radius:0;position:relative;color:#64748b;font-size:18px;font-weight:700}.k1-profile-tabs button.selected{color:#0f172a}.k1-profile-tabs button.selected:after,.k1-creation-category-tabs button.selected:after{position:absolute;content:"";z-index:0;left:-3px;right:-3px;bottom:0;height:7px;background:#d5dbe4;border-radius:3px}.k1-profile-tabs button,.k1-creation-category-tabs button{isolation:isolate}.k1-profile-tabs button:after,.k1-creation-category-tabs button:after{z-index:-1!important}.k1-creation-category-tabs{display:flex;gap:24px;margin-bottom:20px;overflow:auto}.k1-creation-category-tabs button{position:relative;display:flex;align-items:center;gap:5px;padding:3px 0;border:0;background:none;color:#64748b;font-size:14px;font-weight:700;white-space:nowrap}.k1-creation-category-tabs button.selected{color:#0f172a}.k1-creation-category-tabs svg{width:16px;height:16px}.k1-public-profile-body{padding:24px 32px 32px}.k1-profile-works{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.k1-profile-work{min-width:0;grid-template-columns:70px minmax(0,1fr);min-height:88px;padding:12px;border:1px solid #f1f5f9;border-radius:20px;text-align:left}.k1-profile-work-cover{height:62px;border-radius:12px}.k1-profile-work-copy strong{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:15px}.k1-profile-work-copy p{display:none}.k1-profile-work-copy small{color:#94a3b8;font-weight:400;font-size:11px}.k1-profile-empty{grid-column:1/-1;border:0;padding:50px 16px;background:#f8fafc}.k1-profile-empty a{color:#6b5df8}.k1-own-home-body,.k1-my-profile-body{display:flex;flex-direction:column;padding:24px 32px 32px}.k1-own-home-content,.k1-my-profile-main{width:100%}.k1-own-home-settings,.k1-my-settings{display:grid;width:100%;grid-template-columns:repeat(3,minmax(0,1fr));margin-top:30px;border-top:1px solid #f1f5f9;padding-top:20px}
@media(max-width:800px){.k1-creator-dialog{width:calc(100vw - 16px);max-height:calc(100dvh - 16px)}.k1-public-profile .k1-profile-banner,.k1-my-profile .k1-profile-banner{height:210px}.k1-public-profile .k1-profile-identity,.k1-my-profile .k1-profile-identity{padding:12px 20px 16px;gap:12px}.k1-profile-avatar-wrap{margin-top:-48px}.k1-profile-avatar-wrap>img{width:82px;height:82px}.k1-profile-name h1{font-size:21px}.k1-profile-name p{font-size:12px}.k1-profile-social{padding:0 20px}.k1-profile-supporters{padding:20px}.k1-public-profile-body,.k1-own-home-body,.k1-my-profile-body{padding:24px 20px}.k1-own-home-settings,.k1-my-settings{grid-template-columns:1fr}.k1-creation-category-tabs{gap:22px}.k1-profile-tabs button{font-size:18px}.k1-profile-works{grid-template-columns:1fr}.k1-profile-supporters header p{font-size:11px}.k1-supporter-row>b{font-size:14px}.k1-profile-work{grid-template-columns:72px minmax(0,1fr)}}
.k1-signature-card input{display:block;width:100%;padding:12px;margin-bottom:18px;border:1px solid #dfe5f0;border-radius:12px;background:white;color:#334155;font-size:14px}.side-nav>div>button.nav-link{display:flex;width:100%;text-align:left;background:none}

/* 私有“我的”页把账号设置作为首个标签；公开主页不渲染此面板。 */
.k1-profile-settings-panel{width:100%;}
.k1-own-home .k1-profile-tabs{gap:26px;}
.k1-own-home .k1-profile-tabs button{padding:2px 0;font-size:18px;}
.k1-profile-settings-panel .k1-my-settings{display:grid;width:100%;grid-template-columns:repeat(3,minmax(0,1fr));gap:13px;margin-top:0;border-top:0;padding-top:0;}
.k1-profile-settings-panel .k1-my-settings section{min-width:0;}
@media(max-width:800px){.k1-profile-settings-panel .k1-my-settings{grid-template-columns:1fr;gap:9px}.k1-profile-settings-panel .k1-my-settings section{padding:13px}}

/* Compact identity controls stay beside the nickname on desktop and mobile. */
.k1-profile-identity-actions{display:flex;flex-direction:column;align-items:stretch;gap:6px;flex:0 0 auto;align-self:flex-start;margin-top:8px;max-width:150px}
.k1-profile-identity-actions .k1-profile-counts{display:flex;align-items:center;justify-content:center;gap:1px;margin:0;padding:3px;border:1px solid #e4e7ef;border-radius:10px;background:#f8f9fc;box-shadow:0 2px 8px rgba(44,57,94,.05)}
.k1-profile-identity-actions .k1-profile-counts button{display:inline-flex;align-items:baseline;gap:3px;padding:4px 7px;border:0;border-radius:7px;background:transparent;color:#8a94a7;font-size:10px;white-space:nowrap}
.k1-profile-identity-actions .k1-profile-counts button:hover{background:#eef0f8}
.k1-profile-identity-actions .k1-profile-counts strong{font-size:13px;color:#3d4660;font-variant-numeric:tabular-nums}
.k1-profile-identity-actions .k1-profile-counts span{font-size:10px}
.k1-profile-identity-actions .k1-profile-dressup-button{padding:5px 8px;font-size:10px;min-height:27px}
.k1-profile-identity:has(.k1-profile-identity-actions) .k1-profile-name{align-self:flex-start;padding-top:10px}
.k1-profile-identity:has(.k1-profile-identity-actions) .k1-profile-name h1{overflow-wrap:anywhere}
.k1-profile-work-owned .k1-profile-work-cover{display:block;padding:0;border:0;text-decoration:none;color:inherit}
.k1-profile-work-status{display:block!important;margin-top:3px;color:#9aa3b4!important;font-size:10px!important;font-weight:500!important}
.k1-profile-work-actions{display:flex;align-items:center;gap:6px;margin-top:8px}
.k1-profile-work-actions a,.k1-profile-work-actions button{display:inline-flex;align-items:center;justify-content:center;min-width:40px;padding:4px 9px;border:1px solid #e0e4ef;border-radius:7px;background:#fff;color:#626bc3;font-size:10px;font-weight:700;text-decoration:none}
.k1-profile-work-actions a:last-child{border-color:#686fe0;background:#686fe0;color:#fff}
.k1-profile-work-actions button{cursor:pointer}
.k1-profile-work-owned .k1-profile-work-copy p{display:none}
.k1-asset-preview-dialog{width:min(860px,calc(100vw - 28px));height:min(780px,calc(100dvh - 28px));padding:0;border:0;border-radius:18px;background:#fff;overflow:hidden;box-shadow:0 30px 90px rgba(20,25,70,.3)}.k1-asset-preview-dialog::backdrop,.k1-owned-asset-dialog::backdrop{background:rgba(22,28,58,.52);backdrop-filter:blur(6px)}.k1-asset-preview-header{padding:20px 24px;border-bottom:1px solid #edf0f5}.k1-asset-preview-header h2{margin:0;color:#293455;font-size:19px}.k1-asset-preview-header p{margin:5px 0 0;color:#8a95aa;font-size:11px}.k1-asset-preview-content{height:calc(100% - 80px);padding:14px;background:#f8f9fc}.k1-asset-preview-frame{display:block;width:100%;height:100%;border:1px solid #e2e7f1;border-radius:12px;background:#fff}.k1-owned-asset-dialog{width:min(520px,calc(100vw - 28px));padding:0;border:0;border-radius:17px;background:#fff;overflow:hidden}.k1-owned-asset-form{display:grid;gap:11px;padding:25px}.k1-owned-asset-form h2{margin:0 0 6px;color:#293455;font-size:19px}.k1-owned-asset-form label{display:grid;gap:5px;color:#697792;font-size:11px;font-weight:700}.k1-owned-asset-form input:not([type=checkbox]),.k1-owned-asset-form textarea{width:100%;padding:10px 11px;border:1px solid #dfe5f0;border-radius:9px;background:#fff;color:#27334d;font:inherit;resize:vertical}.k1-owned-asset-publish{display:flex!important;align-items:center;grid-template-columns:none!important;gap:7px!important;font-weight:600!important}.k1-owned-asset-publish input{accent-color:#626cdb}
@media(max-width:800px){.k1-profile-identity:has(.k1-profile-identity-actions){display:grid;grid-template-columns:68px minmax(0,1fr) auto;align-items:start;gap:8px;padding:9px 14px 16px}.k1-profile-identity:has(.k1-profile-identity-actions) .k1-profile-avatar-wrap{margin-top:-40px}.k1-profile-identity:has(.k1-profile-identity-actions) .k1-profile-avatar-wrap>img{width:68px;height:68px}.k1-profile-identity:has(.k1-profile-identity-actions) .k1-profile-name{padding-top:8px}.k1-profile-identity:has(.k1-profile-identity-actions) .k1-profile-name h1{font-size:18px;line-height:1.35}.k1-profile-identity:has(.k1-profile-identity-actions) .k1-profile-name p{font-size:10px;line-height:1.5}.k1-profile-identity-actions{margin-top:7px;max-width:122px}.k1-profile-identity-actions .k1-profile-counts button{padding:3px 5px;gap:2px}.k1-profile-identity-actions .k1-profile-counts strong{font-size:12px}.k1-profile-work-actions{gap:6px}.k1-profile-work-actions a,.k1-profile-work-actions button{padding:5px 11px}}
@media(max-width:360px){.k1-profile-identity:has(.k1-profile-identity-actions){grid-template-columns:56px minmax(0,1fr) auto;gap:6px;padding-left:10px;padding-right:10px}.k1-profile-identity:has(.k1-profile-identity-actions) .k1-profile-avatar-wrap>img{width:56px;height:56px}.k1-profile-identity-actions{max-width:112px}.k1-profile-identity-actions .k1-profile-counts button{padding:3px 4px}.k1-profile-identity:has(.k1-profile-identity-actions) .k1-profile-name h1{font-size:16px}}
