.profile-home{position:relative;background:linear-gradient(125deg,#fffefa 60%,#edf2e7);border:1px solid #e2e8d9}
.profile-avatar-button{padding:0;flex:none;position:relative;border-radius:28px;align-self:flex-start}
.profile-avatar-button>.avatar{width:100px;height:100px;border-radius:28px;font-size:34px;box-shadow:0 0 0 5px #fffefa}
.profile-avatar-button::after{content:'✎';position:absolute;bottom:-5px;right:-5px;background:var(--green);color:white;width:28px;height:28px;display:grid;place-items:center;border:3px solid var(--paper);border-radius:50%;font-size:14px}
.profile-avatar-button:hover{filter:brightness(.96)}
.profile-avatar-wrap{position:relative;flex:none;align-self:flex-start}
.avatar-magnify{position:absolute;left:-7px;bottom:-7px;width:32px;height:32px;border:3px solid var(--paper);border-radius:50%;background:#fffefa;color:var(--green);display:grid;place-items:center;padding:4px;box-shadow:0 2px 8px #244a3420}
.avatar-magnify svg{width:17px;height:17px}
.avatar-current .secondary{margin-bottom:12px}.avatar-current+ .secondary{margin-bottom:14px}
.profile-media-nav [aria-selected="true"]{background:var(--green);color:white;border-color:var(--green)}
.profile-media-nav [role="tab"]:focus-visible{outline:2px solid var(--green);outline-offset:3px}
.profile-library{margin-top:24px}.profile-library .profile-media-nav{margin:0 0 14px}
.profile-library #profile-media-panel>.media-section{margin:0}
.bio-toolbar{flex-wrap:wrap;gap:7px!important}.bio-toolbar [data-format]{border:1px solid #d3ddcd;background:#fffefa;width:36px!important;height:36px;font-size:15px}
.bio-toolbar [data-format="insertUnorderedList"],.bio-toolbar [data-format="insertOrderedList"]{font-size:18px}
.profile-bio ul,.profile-bio ol,.post-body ul,.post-body ol,#bio-editor ul,#bio-editor ol{padding-left:24px;margin:5px 0;white-space:normal}
.profile-bio li,.post-body li,#bio-editor li{white-space:pre-wrap;margin:3px 0}
.rich-line{min-height:1em}.post-body>.rich-line:only-child{display:inline}
#photo-viewer.photo-viewer{position:fixed;inset:0;width:100vw;height:100dvh;max-width:none;max-height:none;margin:0;padding:0;border:0;border-radius:0;background:#111914;color:#fff;overflow:hidden}
#photo-viewer::backdrop{background:#111914}
.photo-viewer-head{height:68px;padding:12px 24px;display:flex;align-items:center;justify-content:space-between;gap:18px;background:#111914;position:relative;z-index:2}
.photo-viewer-title{font-size:14px;font-weight:600;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.photo-viewer-head>div{display:flex;gap:9px;flex:none}.photo-viewer-head .icon-btn{width:42px;height:42px;color:white;background:#ffffff14;font-size:25px}
.photo-viewer-head .icon-btn:hover{background:#ffffff29}.photo-viewer-head svg{width:21px;height:21px}
.photo-viewer-stage{height:calc(100dvh - 68px);width:100%;overflow:auto;overscroll-behavior:contain}
.photo-viewer-stage img{display:block;width:100%;height:100%;object-fit:contain;cursor:zoom-in}
.photo-viewer.zoomed .photo-viewer-stage img{width:200%;max-width:none;height:200%;cursor:zoom-out}
.photo-prev,.photo-next{position:absolute;top:50%;z-index:2;width:44px;height:60px;border-radius:12px;color:white;background:#11191499;font-size:40px;line-height:1}
.photo-prev{left:16px}.photo-next{right:16px}
@media(max-width:680px){.photo-viewer-head{height:60px;padding:9px 12px;gap:8px}.photo-viewer-head>div{gap:5px}.photo-viewer-head .icon-btn{width:38px;height:38px}.photo-viewer-title{font-size:12px}.photo-viewer-stage{height:calc(100dvh - 60px)}.photo-prev{left:6px}.photo-next{right:6px}.photo-prev,.photo-next{width:34px;height:46px;font-size:30px}.bio-toolbar select{flex:1;min-width:98px}}
.profile-name-line{display:flex;align-items:center;flex-wrap:wrap;gap:10px;margin-bottom:9px}
.founder-badge{display:inline-flex;align-items:center;gap:5px;background:#e4eee2;color:#2d654c;border:1px solid #cbdcc6;padding:5px 9px;border-radius:20px;font-size:11px;font-weight:650;white-space:nowrap;vertical-align:middle}
.founder-badge svg{width:17px;height:17px;stroke-width:1.8}
.profile-bio{white-space:pre-wrap;line-height:1.65;margin-top:12px;overflow-wrap:anywhere}
.bio-small{font-size:12px}.bio-normal{font-size:14px}.bio-large{font-size:18px}.bio-bold{font-weight:700}.bio-italic{font-style:italic}.bio-underline{text-decoration:underline}
.profile-add .primary{border-radius:15px;padding:13px 19px}
.profile-media-nav{display:flex;flex-wrap:wrap;gap:10px;margin:20px 0 25px}.media-shortcut{display:flex;align-items:center;gap:8px;padding:10px 16px;border:1px solid var(--line);border-radius:14px;background:var(--paper);font-size:13px}.media-shortcut:hover{background:var(--sage)}
.profile-media-sections{display:grid;gap:22px;margin-top:26px}.media-section{padding:24px;scroll-margin-top:20px}
.media-section-head,.media-section-label{display:flex;align-items:center;gap:10px}.media-section-head{justify-content:space-between;margin-bottom:18px}.media-section-label>svg{color:#69846e}.media-section-label h2{font-size:18px}.media-count{color:var(--muted);font-size:12px}
.media-collections{display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin-bottom:18px}.media-collections select{width:auto;max-width:100%;font-size:12px;padding:9px 30px 9px 12px}.media-collections .text-btn{font-size:12px}
.media-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.media-grid.video{grid-template-columns:repeat(2,minmax(0,1fr))}.media-grid.catalog{grid-template-columns:repeat(3,minmax(0,1fr))}
.media-card{min-width:0}.media-cover{display:grid;place-items:center;width:100%;aspect-ratio:1;background:linear-gradient(135deg,#e1e9d5,#f1ecd9);border-radius:15px;padding:0;overflow:hidden;position:relative;color:#829778}.media-cover.video{aspect-ratio:16/9;background:linear-gradient(135deg,#315648,#76957a);color:#eaf3e1}.media-cover>svg{width:38px;height:38px;opacity:.65}.media-cover img{width:100%;height:100%;object-fit:cover}.video-play{position:absolute;left:12px;bottom:10px;background:#193c2dcc;color:#fff;border-radius:50%;width:29px;height:29px;display:grid;place-items:center;font-size:11px}
.media-card-meta{position:relative;padding:10px 24px 0 0}.media-title{padding:0;text-align:left;font-size:13px;font-weight:600;line-height:1.4;overflow-wrap:anywhere;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.media-card-meta small{display:block;font-size:10px;margin-top:5px;overflow-wrap:anywhere}.media-more{position:absolute;right:-4px;top:5px;padding:4px}.media-more svg{width:18px}
.media-empty{display:flex;flex-direction:column;align-items:center;gap:13px;padding:25px 12px;text-align:center;background:#f6f7f0;border-radius:17px;color:var(--muted)}.media-empty>svg{width:34px;height:34px;opacity:.55}.media-empty p{font-size:13px;line-height:1.5}.media-empty .secondary{font-size:12px;background:var(--paper)}
.music-player{padding:14px;background:#f0f3e9;border-radius:15px;margin-bottom:12px}.music-player audio{width:100%;height:38px}.music-player #playing-title{font-size:11px;margin:10px 5px 0}.track-row{display:flex;align-items:center;gap:12px;padding:12px 2px;border-bottom:1px solid var(--line)}.track-row strong{font-size:13px}.track-row small{display:block;font-size:11px;margin-top:5px}.track-row .grow{min-width:0;overflow-wrap:anywhere}.track-play{flex:none;background:var(--sage);border-radius:50%;width:34px;height:34px;font-size:10px}.track-row.playing .track-play{background:var(--green);color:white}
.video-channel-head{display:flex;align-items:center;gap:18px;padding:26px;border-radius:24px;background:linear-gradient(115deg,#dfebd7,#f2eadb);margin-bottom:22px}.video-channel-head h1{font-size:27px}.video-channel-head p{font-size:13px;color:#687866;line-height:1.6;margin-top:9px;white-space:pre-wrap}.video-channel-icon{width:70px;height:70px;border-radius:22px;background:#fffefa99;display:grid;place-items:center;flex:none}.video-channel-icon svg{width:35px;height:35px}.video-channel-head .primary{display:flex;align-items:center;gap:6px;font-size:12px}.video-nav{display:flex;gap:20px;font-size:13px;margin-bottom:18px}.video-nav a{padding:8px 0}.video-nav .active{border-bottom:2px solid var(--green);font-weight:650}#video-search{margin-bottom:20px}
.video-back{display:inline-block;font-size:13px;margin-bottom:20px}.video-watch{padding:0;overflow:hidden}.video-watch video{width:100%;max-height:65vh;display:block;background:#14221d;aspect-ratio:16/9}.quality-row{display:flex;justify-content:flex-end;padding:12px 22px;border-bottom:1px solid var(--line);font-size:12px}.quality-row select{width:auto;font-size:12px;padding:6px 9px;margin-left:8px}.video-watch-details{padding:25px}.video-watch-details h1{font-size:25px;overflow-wrap:anywhere}.video-author{display:flex;align-items:center;gap:10px;margin:19px 0;font-size:13px}.video-watch-details>p{white-space:pre-wrap;line-height:1.65;font-size:14px;margin-bottom:20px}.video-processing{padding:45px 25px;background:#eaf0e4;text-align:center;display:grid;justify-items:center;gap:18px}.video-processing p{max-width:480px;font-size:13px;line-height:1.7}.photo-view{width:100%;max-height:65vh;object-fit:contain;border-radius:16px}
.avatar-current{text-align:center;margin:12px 0 27px}.avatar-current .avatar{width:140px;height:140px;font-size:48px;border-radius:36px}.avatar-file{position:relative;text-align:center;display:block;cursor:pointer;overflow:hidden;margin-bottom:14px}.avatar-file input{position:absolute;inset:0;opacity:0;cursor:pointer}.crop-stage{position:relative;width:min(100%,360px);aspect-ratio:1;margin:0 auto 20px;overflow:hidden;border:2px solid var(--green);border-radius:8px}.crop-stage canvas{width:100%;height:100%;display:block;touch-action:none;cursor:grab}.crop-grid{position:absolute;inset:0;pointer-events:none;background:linear-gradient(to right,transparent 33.1%,#ffffff80 33.1%,#ffffff80 33.5%,transparent 33.5%,transparent 66.4%,#ffffff80 66.4%,#ffffff80 66.8%,transparent 66.8%),linear-gradient(to bottom,transparent 33.1%,#ffffff80 33.1%,#ffffff80 33.5%,transparent 33.5%,transparent 66.4%,#ffffff80 66.4%,#ffffff80 66.8%,transparent 66.8%)}.crop-zoom{font-size:12px;display:grid;gap:10px}.crop-zoom input{padding:0;accent-color:var(--green)}.crop-arrows{display:flex;justify-content:center;gap:10px;margin:10px 0 20px}.crop-arrows button{width:40px;height:36px;background:var(--sage);border-radius:9px}.media-progress{width:100%;accent-color:var(--green)}.media-upload-state{font-size:12px;color:var(--muted)}
.bio-editor-wrap{display:grid;gap:8px}.bio-editor-wrap>label{font-size:13px;font-weight:600}.bio-toolbar{display:flex;align-items:center;gap:5px;padding:7px;background:#eef2e7;border-radius:12px 12px 0 0;margin-bottom:-8px}.bio-toolbar button{width:33px;height:33px;border-radius:7px;font-size:14px}.bio-toolbar button:hover{background:#fff}.bio-toolbar select{width:110px;padding:7px 9px;font-size:12px;background:#fffefa;border:0}.bio-toolbar select:focus{outline-offset:0}#bio-editor{min-height:130px;max-height:270px;overflow-y:auto;padding:14px;background:#f9faf5;border:1px solid #dfe4d8;border-radius:0 0 12px 12px;white-space:pre-wrap;overflow-wrap:anywhere;font-size:14px;line-height:1.6}#bio-editor:focus{outline:2px solid #bdd0b3}.bio-counter{text-align:right;font-size:11px}
@media(max-width:1100px){.media-grid.catalog{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:680px){.profile-avatar-button>.avatar{width:78px;height:78px;font-size:28px;border-radius:24px}.profile-name-line{gap:7px}.profile-name-line h1{font-size:22px}.founder-badge{font-size:10px;padding:4px 7px}.profile-media-nav{gap:7px;margin:18px 0}.media-shortcut{padding:9px 12px;font-size:12px}.media-section{padding:19px 15px}.media-grid{gap:10px}.media-grid.photo{grid-template-columns:repeat(3,minmax(0,1fr))}.media-grid.video{grid-template-columns:repeat(2,minmax(0,1fr))}.media-grid.catalog{grid-template-columns:minmax(0,1fr)}.media-section-head{margin-bottom:14px}.media-section-label h2{font-size:17px}.media-cover{border-radius:11px}.media-title{font-size:12px}.media-section-label>svg{width:20px}.media-card-meta{padding-right:17px}.media-more{right:-6px}.video-channel-head{padding:20px 17px;flex-wrap:wrap;gap:13px}.video-channel-head h1{font-size:24px}.video-channel-icon{width:52px;height:52px;border-radius:17px}.video-channel-head>.primary{width:100%;justify-content:center}.video-nav{gap:16px;font-size:12px;flex-wrap:wrap}.video-watch-details{padding:20px}.video-watch-details h1{font-size:22px}.video-author{flex-wrap:wrap}.profile-details .bio-large{font-size:17px}.profile-media-sections{gap:18px}.media-collections select{max-width:180px}.crop-stage{max-width:300px}.bio-toolbar{gap:3px}.bio-toolbar select{width:99px}.bio-toolbar button{width:30px}}
