.ideal-repository{position:fixed;inset:0;z-index:39;display:none;background:#f2f2f0;color:#191919;font-family:-apple-system,BlinkMacSystemFont,"SF Pro Display","PingFang SC",sans-serif;letter-spacing:.01em}
.ideal-repository.is-open{display:block}
.ideal-repository *{box-sizing:border-box}
.ideal-repository button,.ideal-repository input{font:inherit}
.ideal-repository button{cursor:pointer}
.ir-shell{display:grid;grid-template-columns:72px 292px minmax(0,1fr);width:100%;height:100%;height:100dvh;overflow:hidden}
.ir-rail{display:flex;align-items:center;flex-direction:column;gap:18px;padding:calc(env(safe-area-inset-top) + 20px) 10px 20px;background:#202020}
.ir-server{width:52px;height:52px;border:1px solid #555;border-radius:18px;background:#f1f1ef;padding:8px;box-shadow:0 0 0 3px #202020,0 0 0 5px #d4d4d4}
.ir-server img{width:100%;height:100%;object-fit:contain;border-radius:9px}
.ir-rail-line{width:26px;height:1px;background:#555}
.ir-sidebar{min-width:0;display:flex;flex-direction:column;background:#e8e8e6;border-right:1px solid #d5d5d2}
.ir-sidebar-header{position:relative;padding:calc(env(safe-area-inset-top) + 24px) 21px 18px;border-bottom:1px solid #d5d5d2}
.ir-eyebrow,.ir-kicker{font-size:10px;font-weight:800;letter-spacing:.23em;color:#888}
.ir-sidebar-header h1{margin:12px 0 3px;font-size:23px;letter-spacing:-.04em}.ir-sidebar-header h1 span{font-size:13px;color:#999;font-weight:400}.ir-sidebar-header p{margin:0;color:#8b8b8b;font-size:12px}
.ir-close{position:absolute;right:18px;top:calc(env(safe-area-inset-top) + 19px);width:31px;height:31px;border:1px solid #d5d5d5;border-radius:50%;background:#f7f7f6;color:#333;font-size:23px!important;line-height:25px}
.ir-search-wrap{padding:17px 14px 8px}.ir-search{display:flex;align-items:center;gap:9px;height:38px;padding:0 12px;border:1px solid #d5d5d2;border-radius:10px;background:#f4f4f3;color:#777}.ir-search span{font-size:23px;line-height:1}.ir-search input{min-width:0;width:100%;border:0;outline:0;background:transparent;color:#222;font-size:13px}.ir-search input::placeholder{color:#929292}
.ir-channel-nav{flex:1;overflow:auto;padding:25px 10px 18px}.ir-section-title{display:flex;justify-content:space-between;padding:0 12px 11px;color:#828282;font-size:11px;font-weight:750;letter-spacing:.14em}.ir-section-title span{font-weight:500}
.ir-channel{display:flex;align-items:center;gap:13px;width:100%;height:45px;padding:0 13px;border:0;border-radius:9px;background:transparent;color:#5d5d5d;text-align:left;font-size:15px!important;font-weight:650!important}.ir-channel:hover,.ir-channel.is-selected{background:#d7d7d5;color:#1d1d1d}.ir-channel[hidden]{display:none}.ir-hash{font-size:23px;font-weight:300;color:#888}.ir-chevron{margin-left:auto;color:#888;font-size:24px;font-weight:300}.ir-empty-search{padding:0 14px;color:#999;font-size:13px}
.ir-sidebar-note{display:flex;gap:12px;align-items:center;margin:33px 7px 0;padding:15px 11px;border-top:1px solid #d0d0ce;color:#777}.ir-sidebar-note>span{font-size:20px}.ir-sidebar-note strong,.ir-sidebar-note small{display:block}.ir-sidebar-note strong{font-size:12px;color:#555}.ir-sidebar-note small{margin-top:3px;font-size:10px}
.ir-profile-entry{display:flex;align-items:center;gap:11px;min-height:70px;padding:10px 15px calc(env(safe-area-inset-bottom) + 10px);border:0;border-top:1px solid #d3d3d1;background:#e1e1df;text-align:left;color:#222}.ir-profile-entry:hover,.ir-profile-entry.is-selected{background:#d7d7d5}.ir-avatar{display:grid;place-items:center;flex:none;width:38px;height:38px;border-radius:12px;background:#242424;color:#fff;font-size:15px;font-weight:700}.ir-profile-copy{min-width:0;flex:1}.ir-profile-copy strong,.ir-profile-copy small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ir-profile-copy strong{font-size:12px}.ir-profile-copy small{margin-top:3px;font-size:10px;color:#898989}.ir-profile-arrow{color:#777;font-size:20px}
.ir-profile-entry{transform:translateY(var(--ir-profile-keyboard-offset,0px))}
.ir-main{min-width:0;overflow:auto;background:#f3f3f1}.ir-main-top{display:flex;align-items:center;justify-content:space-between;min-height:72px;padding:calc(env(safe-area-inset-top) + 17px) 37px 16px;border-bottom:1px solid #dededb;color:#808080;font-size:11px;letter-spacing:.1em}.ir-main-top>span:last-child{font-size:10px;font-weight:700;letter-spacing:.16em}.ir-back{border:0;background:none;color:#4d4d4d;font-size:13px!important;font-weight:650!important;letter-spacing:0}.ir-back span{margin-left:5px}
.ir-hero{position:relative;min-height:350px;margin:32px 36px 23px;padding:43px 43px 29px;overflow:hidden;background:#242424;color:#f8f8f6;border-radius:19px}.ir-hero-mark{position:absolute;right:50px;top:8px;color:#505050;font-size:180px;font-weight:200;line-height:1}.ir-hero .ir-kicker{color:#a9a9a9}.ir-hero h2{position:relative;margin:30px 0 18px;font-size:clamp(32px,3.8vw,57px);line-height:1.14;letter-spacing:-.06em}.ir-hero p{position:relative;max-width:370px;color:#b8b8b8;font-size:13px;line-height:1.75}.ir-hero-rule{height:1px;margin-top:38px;background:#555}.ir-hero-foot{display:block;margin-top:15px;color:#999;font-size:10px;letter-spacing:.16em}
.ir-category-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:13px;margin:0 36px 40px}.ir-category{display:flex;flex-direction:column;min-height:215px;padding:20px;border:1px solid #d9d9d6;border-radius:16px;background:#fafaf9;color:#222;text-align:left;transition:transform .2s,border-color .2s}.ir-category:hover{transform:translateY(-3px);border-color:#888}.ir-category-top{display:flex;justify-content:space-between;color:#999;font-size:9px;letter-spacing:.13em}.ir-category-top span{font-size:16px}.ir-category-icon{margin:28px 0 12px;font-size:25px;color:#555}.ir-category strong{font-size:19px}.ir-category small{margin-top:5px;color:#8c8c8c;font-size:11px;line-height:1.5}
.ir-content{max-width:1050px;padding:41px 37px 80px}.ir-channel-heading{position:relative;min-height:190px;margin:17px 0 35px;padding:31px 33px;overflow:hidden;border:1px solid #d9d9d6;border-radius:18px;background:#e9e9e7}.ir-channel-symbol{position:absolute;right:38px;top:-35px;color:#d5d5d2;font-size:180px}.ir-channel-heading h2{position:relative;margin:10px 0 8px;font-size:37px;letter-spacing:-.05em}.ir-channel-heading p{position:relative;margin:0;color:#777;font-size:13px}.ir-feed-toolbar{display:flex;justify-content:space-between;align-items:center;gap:15px;margin-bottom:16px}.ir-feed-toolbar strong{display:block;font-size:17px}.ir-feed-toolbar span{display:block;margin-top:5px;color:#999;font-size:11px}.ir-publish{min-height:37px;padding:0 15px;border:0;border-radius:10px;background:#242424;color:#fff;font-size:12px!important;font-weight:650!important}.ir-preview-card{display:grid;grid-template-columns:minmax(150px,34%) 1fr;min-height:230px;overflow:hidden;border:1px solid #dededb;border-radius:17px;background:#fafaf9}.ir-preview-art{display:flex;flex-direction:column;justify-content:space-between;padding:17px 22px;background:linear-gradient(145deg,#d2d2d0,#e5e5e3);color:#555}.ir-preview-art>span{align-self:center;margin:auto;font-size:74px}.ir-preview-art small{font-size:9px;letter-spacing:.18em}.ir-preview-body{padding:29px 31px}.ir-badge{display:inline-block;padding:6px 8px;border:1px solid #d6d6d3;border-radius:5px;color:#777;font-size:10px}.ir-preview-body h3{margin:18px 0 9px;font-size:20px;letter-spacing:-.03em}.ir-preview-body p{max-width:420px;color:#777;font-size:12px;line-height:1.7}.ir-preview-bottom{display:flex;justify-content:space-between;margin-top:26px;padding-top:13px;border-top:1px solid #e3e3e1;color:#aaa;font-size:10px}.ir-existing-link{display:flex;justify-content:space-between;width:100%;margin-top:13px;padding:15px;border:1px solid #dcdcd9;border-radius:10px;background:#fafaf9;text-align:left;color:#555;font-size:12px!important}
.ir-profile-hero{display:flex;align-items:center;gap:24px;margin:17px 0 25px;padding:34px;border:1px solid #d9d9d6;border-radius:17px;background:#e9e9e7}.ir-profile-big-avatar{display:grid;place-items:center;flex:none;width:76px;height:76px;border-radius:22px;background:#242424;color:#fff;font-size:29px;font-weight:700}.ir-profile-hero h2{margin:0 0 7px;font-size:29px;letter-spacing:-.04em}.ir-profile-hero p{margin:0;color:#777;font-size:12px}.ir-profile-links{display:grid;grid-template-columns:1fr 1fr;gap:13px}.ir-profile-links button{display:flex;align-items:center;gap:15px;min-height:82px;padding:16px;border:1px solid #d9d9d6;border-radius:13px;background:#fafaf9;text-align:left;color:#222}.ir-profile-links button>span:first-child{font-size:24px}.ir-profile-links button>span:nth-child(2){flex:1}.ir-profile-links strong,.ir-profile-links small{display:block}.ir-profile-links strong{font-size:13px}.ir-profile-links small{margin-top:5px;color:#999;font-size:10px}.ir-preview-note{margin-top:22px;color:#999;font-size:11px;line-height:1.6}
@media(max-width:760px){.ir-shell{grid-template-columns:58px minmax(0,1fr)}.ir-rail{padding:calc(env(safe-area-inset-top) + 18px) 7px 12px}.ir-server{width:43px;height:43px;padding:6px;border-radius:15px}.ir-sidebar{grid-column:2;grid-row:1}.ir-main{display:none;grid-column:2;grid-row:1}.ir-show-detail .ir-sidebar{display:none}.ir-show-detail .ir-main{display:block}.ir-sidebar-header{padding:calc(env(safe-area-inset-top) + 21px) 17px 19px}.ir-sidebar-header h1{font-size:22px}.ir-channel-nav{padding-top:27px}.ir-channel{height:51px}.ir-main-top{min-height:62px;padding:calc(env(safe-area-inset-top) + 16px) 18px 15px}.ir-main-top>span:last-child{font-size:9px}.ir-hero{margin:17px 16px;padding:27px 23px;min-height:320px}.ir-hero-mark{right:12px;font-size:130px}.ir-hero h2{font-size:37px}.ir-category-grid{grid-template-columns:1fr;gap:9px;margin:0 16px 30px}.ir-category{min-height:115px;padding:15px}.ir-category-icon{margin:6px 0 2px;font-size:19px}.ir-content{padding:27px 17px 80px}.ir-channel-heading{min-height:155px;padding:22px}.ir-channel-heading h2{font-size:30px}.ir-preview-card{grid-template-columns:1fr}.ir-preview-art{min-height:145px}.ir-preview-art>span{font-size:52px}.ir-preview-body{padding:19px}.ir-profile-links{grid-template-columns:1fr}.ir-profile-hero{padding:23px;gap:16px}.ir-profile-big-avatar{width:62px;height:62px;border-radius:18px}}
.ideal-repository .ir-shell{position:relative;padding-top:env(safe-area-inset-top);background:#f2f2f4;grid-template-columns:72px 292px minmax(0,1fr)}
.ideal-repository .ir-sidebar-header{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:17px 14px 7px 17px}
.ideal-repository .ir-close{position:static;z-index:auto;flex:none;display:grid;place-items:center;width:35px;height:35px;border:1px solid #d7d7dc;border-radius:50%;background:#e7e7ea;color:#555;font-size:24px!important;line-height:1}
.ideal-repository .ir-rail{gap:13px;padding:7px 11px 120px;background:#f2f2f4;overflow:auto}
.ideal-repository .ir-rail-tool{display:grid;place-items:center;flex:none;width:50px;height:50px;border:0;border-radius:13px;background:#e8e8eb;color:#626269}
.ideal-repository .ir-rail-tool svg{width:25px;height:25px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linejoin:round;stroke-linecap:round}
.ideal-repository .ir-rail-line{flex:none;width:48px;height:1px;margin:0;background:#d9d9dd}
.ideal-repository .ir-server{position:relative;flex:none;width:50px;height:50px;padding:0;box-shadow:none;border:0;border-radius:14px;background:#e6e6e9}
.ideal-repository .ir-server img{display:block;border-radius:14px}
.ideal-repository .ir-server.is-active:before{content:"";position:absolute;left:-11px;top:9px;width:4px;height:32px;border-radius:0 4px 4px 0;background:#626269}
.ideal-repository .ir-sidebar{position:relative;overflow:hidden;border:1px solid #dcdce0;border-bottom:0;border-radius:25px 0 0 0;background:#fff;padding-bottom:112px}
.ideal-repository .ir-sidebar-header{border:0;background:#fff}
.ideal-repository .ir-sidebar-header h1{margin:0;font-size:22px;font-weight:750;letter-spacing:0}
.ideal-repository .ir-sidebar-header h1 span{margin-left:5px;font-size:24px;color:#777}
.ideal-repository .ir-search-wrap{display:flex;align-items:center;gap:10px;padding:6px 17px 17px;background:#fff}
.ideal-repository .ir-search{position:relative;flex:1;min-width:0;height:33px;padding:0 8px;border-radius:8px;background:#f0f0f2;border-color:#dedee2}
.ideal-repository .ir-search input{height:100%;font-size:14px}
.ideal-repository .ir-search-caption{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;gap:6px;pointer-events:none;color:#37373d}
.ideal-repository .ir-search-caption span{font-size:15px;font-weight:650}
.ideal-repository .ir-search-caption svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round}
.ideal-repository .ir-search input:focus + .ir-search-caption,.ideal-repository .ir-search input:not(:placeholder-shown) + .ir-search-caption{display:none}
.ideal-repository .ir-search-tool{display:grid;place-items:center;flex:none;width:33px;height:33px;padding:7px;border:1px solid #dedee2;border-radius:8px;background:#f0f0f2;color:#37373d}
.ideal-repository .ir-search-tool svg{width:100%;height:100%;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round}
.ideal-repository .ir-channel-nav{padding:18px 8px;background:#fff;border-top:1px solid #e2e2e5;margin:0 8px}
.ideal-repository .ir-section-title{padding:0 8px 12px;font-size:12px;letter-spacing:.04em;color:#74747c}
.ideal-repository .ir-channel{height:43px;padding:0 9px;gap:11px;border-radius:8px;font-size:16px!important;color:#686871;font-weight:500!important}
.ideal-repository .ir-channel:hover,.ideal-repository .ir-channel.is-selected{background:#e5e5e8;color:#24242a}
.ideal-repository .ir-hash{font-size:25px;color:#797981}
.ideal-repository .ir-chevron{display:none}
.ideal-repository .ir-sidebar-note{margin:24px 7px 0;padding:15px 0;border-color:#e6e6e8}
.ideal-repository .ir-profile-entry{position:absolute;z-index:2;bottom:calc(env(safe-area-inset-bottom) + 17px);left:24px;width:calc(364px - 42px);min-height:61px;padding:9px 16px 9px 76px;border:1px solid #dedee3;border-radius:21px;background:linear-gradient(110deg,#fff 30%,#efeff3);box-shadow:0 7px 23px #00000009;overflow:visible}
.ideal-repository .ir-avatar{position:absolute;left:-7px;bottom:-3px;width:72px;height:72px;border:4px solid #fff;border-radius:50%;background:linear-gradient(145deg,#dcdce1,#bcbcc5);color:#5b5b64;font-size:25px;box-shadow:0 2px 9px #00000012}
.ideal-repository .ir-profile-copy strong{font-size:15px}.ideal-repository .ir-profile-copy small{font-size:12px;color:#82828b;margin-top:4px}
.ideal-repository .ir-profile-open{display:flex;align-items:center;flex:1;min-width:0;padding:0;border:0;background:transparent;text-align:left;color:inherit}
.ideal-repository .ir-profile-arrow{display:grid;place-items:center;flex:none;width:34px;height:34px;padding:7px;border:0;border-radius:11px;background:#777780;color:#fff}
.ideal-repository .ir-profile-arrow svg{width:100%;height:100%}
.ideal-repository .ir-main{background:#fff;padding-bottom:100px}
.ideal-repository .ir-main-top{padding-top:19px;background:#fff}
.ideal-repository .ir-profile-big-avatar{border-radius:50%}
@media(max-width:760px){.ideal-repository .ir-shell{grid-template-columns:70px minmax(0,1fr)}.ideal-repository .ir-rail{padding-left:10px;padding-right:10px}.ideal-repository .ir-profile-entry{left:25px;right:23px;width:auto}.ideal-repository .ir-main{border:1px solid #dcdce0;border-bottom:0;border-radius:25px 0 0 0}.ideal-repository .ir-main-top{padding-top:19px}.ideal-repository .ir-sidebar{border-right:0}.ideal-repository .ir-sidebar-header{padding:17px 14px 7px 17px}}
.ideal-repository .ir-shell{height:100%;min-height:0}
.ideal-repository.ir-profile-mode .ir-shell{grid-template-columns:minmax(0,1fr);padding-top:0}
.ideal-repository.ir-profile-mode .ir-rail,.ideal-repository.ir-profile-mode .ir-sidebar,.ideal-repository.ir-profile-mode .ir-profile-entry{display:none}
.ideal-repository.ir-profile-mode .ir-main{display:block;grid-column:1;grid-row:1;border:0;border-radius:0;padding:0;background:#f5f5f5;overflow:auto}
.ir-profile-page{min-height:100%;background:#f5f5f5;color:#202020}
.ir-profile-header{display:flex;align-items:center;gap:14px;min-height:calc(env(safe-area-inset-top) + 58px);padding:env(safe-area-inset-top) 20px 0;border-bottom:1px solid #e3e3e3;background:#fff}
.ir-profile-header strong{flex:1;font-size:17px}.ir-profile-header button{display:grid;place-items:center;width:34px;height:34px;border:0;border-radius:50%;background:#eee;color:#222;font-size:22px}
.ir-profile-content{max-width:800px;margin:auto;padding:24px 20px calc(env(safe-area-inset-bottom) + 36px)}
.ir-profile-avatar-picker{display:flex;flex-direction:column;align-items:center;gap:8px;cursor:pointer;color:#777;font-size:12px}
.ir-profile-avatar-picker .ir-profile-big-avatar{width:88px;height:88px;overflow:hidden;border-radius:50%}
.ir-avatar{overflow:hidden;border-radius:50%}.ir-avatar img,.ir-profile-big-avatar img{width:100%;height:100%;object-fit:cover}
.ir-profile-hero{margin:0 0 18px}.ir-saved-groups{display:grid;gap:20px;margin-top:28px}.ir-saved-group{padding:18px;border:1px solid #dedede;border-radius:16px;background:#fff}.ir-saved-group h3{margin:0 0 13px;font-size:16px}.ir-saved-group p{margin:0;color:#999;font-size:13px}.ir-saved-item{display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;padding:14px 0;border:0;border-top:1px solid #eee;background:transparent;text-align:left;color:#222}.ir-saved-item strong,.ir-saved-item small{display:block}.ir-saved-item strong{font-size:14px}.ir-saved-item small{margin-top:5px;color:#999;font-size:11px}.ir-saved-item b{flex:none;color:#777;font-size:11px}.ir-profile-status{color:#777;font-size:12px}
.ir-post-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin:18px 0}.ir-post-save{min-height:38px;padding:8px 16px;border:0;border-radius:12px;background:#242424;color:#fff;font-size:13px;font-weight:650}.ir-post-save:disabled{opacity:.6}.ir-post-delete{min-height:38px;padding:8px 14px;border:1px solid #e2caca;border-radius:12px;background:#fff;color:#a14b4b;font-size:13px;font-weight:650}.ir-post-delete:disabled{opacity:.6}
.ir-author-avatar{overflow:hidden}.ir-author-avatar img{display:block;width:100%;height:100%;object-fit:cover}.ir-post-meta .ir-author-avatar{width:27px;height:27px;font-size:10px}
.ir-post-card footer{justify-content:flex-end}.ir-post-file:disabled,.ir-beauty-code button:disabled,.ir-post-save:disabled{opacity:.55;cursor:not-allowed}.ir-post-locked{padding:12px 14px;border-radius:10px;background:#f0f0f2;color:#777;font-size:12px}
.ideal-repository.ir-forum-mode .ir-main{position:relative;display:flex;flex-direction:column;overflow:hidden;min-height:0;padding:0;background:#fafafa}
.ir-forum-header{display:flex;align-items:center;gap:12px;flex:none;min-height:57px;padding:9px 14px;border-bottom:1px solid #e5e5e7;background:#fafafa}
.ir-forum-header>div{flex:1;min-width:0}.ir-forum-header strong{display:block;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;font-size:15px}.ir-forum-header small{display:block;margin-top:3px;color:#888;font-size:11px}
.ir-forum-header>button{display:grid;place-items:center;flex:none;width:30px;height:32px;padding:5px;border:0;background:transparent;color:#555;font-size:23px!important}
.ir-forum-header svg,.ir-post-search svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round}
.ir-forum-tools{display:flex;align-items:center;justify-content:space-between;padding:9px 13px;border-bottom:1px solid #e7e7e9;flex:none}
.ir-forum-tools button,.ir-forum-tools label{display:flex;align-items:center;gap:5px;padding:6px 9px;border:1px solid #e0e0e3;border-radius:7px;background:#f0f0f2;color:#54545b;font-size:11px}
.ir-forum-tools select{max-width:80px;border:0;background:transparent;color:inherit;font:inherit}
.ir-post-search{display:flex;align-items:center;gap:8px;flex:none;margin:9px 13px 0;padding:6px 9px;border:1px solid #e5e5e7;border-radius:8px;color:#888;background:#fff}.ir-post-search span{display:flex}.ir-post-search input{width:100%;min-width:0;border:0;background:transparent;outline:0;font-size:12px;color:#333}
.ir-forum-scroll{flex:1;min-height:0;overflow:auto;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;padding:10px 12px calc(90px + env(safe-area-inset-bottom));scroll-padding-bottom:30px}
.ir-forum-hint{margin:0 2px 10px;font-size:10px;color:#999}
.ir-post-card{max-width:720px;margin:0 auto 12px;border:1px solid #e3e3e6;border-radius:17px;background:#fff;overflow:hidden}
.ir-post-open{display:block;width:100%;padding:13px 12px 0;border:0;background:transparent;text-align:left;color:#29292d}
.ir-post-meta{display:flex;align-items:center;gap:8px;min-width:0;font-size:10px;color:#8a8a90}.ir-post-meta strong{max-width:50%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#6a6a73;font-size:11px}.ir-post-meta small{margin-left:auto;padding:2px 5px;border-radius:6px;background:#666670;color:#fff;font-size:9px}
.ir-post-card h2{margin:7px 0 10px;font-size:15px;font-weight:650;line-height:1.55}
.ir-post-art{position:relative;display:flex;flex-direction:column;justify-content:space-between;gap:18px;min-height:215px;padding:22px;border-radius:5px;overflow:hidden;background:#eee;color:#333}.ir-post-art>span,.ir-post-art>small{font-size:8px;letter-spacing:.18em}.ir-post-art>strong{font:italic 30px/1.2 Georgia,serif;text-align:center}.ir-art-dark{background:#242426;color:#eee}.ir-art-paper{background:#f5f3ef;color:#77706c}.ir-art-mono{background:linear-gradient(135deg,#e8e8eb,#c4c4c9);color:#41414a}
.ir-art-layout{display:grid;grid-template-columns:1fr 1.2fr;gap:12px;min-height:100px;padding:12px;border:1px solid currentColor;opacity:.65}.ir-art-layout>i{display:block;background:linear-gradient(145deg,#aaa,#eee 45%,#777);border-radius:50% 50% 4px 4px}.ir-art-layout>div{display:flex;flex-direction:column;justify-content:center;gap:12px}.ir-art-layout b{height:12px;background:currentColor;opacity:.3}.ir-art-layout b:nth-child(2){width:75%}.ir-art-layout b:nth-child(3){width:90%}
.ir-post-tags{display:flex;gap:5px;flex-wrap:wrap;margin:10px 0 0}.ir-post-tags span{padding:3px 8px;border:1px solid #dedee2;border-radius:20px;background:#f2f2f4;color:#777780;font-size:10px}
.ir-post-card footer{display:flex;align-items:center;justify-content:space-between;padding:10px 12px}.ir-post-card footer button,.ir-post-like{border:1px solid #e6e6e8;border-radius:8px;padding:4px 9px;background:#f4f4f6;color:#66666f;font-size:11px}.ir-post-card footer button:first-child{border:0;background:transparent;padding-left:0}.ir-post-card button[aria-pressed=true],.ir-post-like[aria-pressed=true]{background:#38383e;color:white}
.ir-post-create{position:absolute;z-index:3;right:19px;bottom:calc(env(safe-area-inset-bottom) + 22px);width:51px;height:51px;border:0;border-radius:17px;background:#33333a;color:#fff;box-shadow:0 5px 20px #0002;font-size:31px!important}
.ir-post-detail{max-width:720px;margin:auto;padding:3px 4px 0}.ir-topic-icon{display:grid;place-items:center;width:48px;height:48px;margin:4px 0 15px;border-radius:50%;background:#f0f0f2;color:#333;font-size:28px}.ir-post-detail h2{font-size:22px;line-height:1.45;margin:0 0 8px;letter-spacing:-.025em}.ir-post-author{display:flex;align-items:center;gap:9px;margin:24px 0}.ir-author-avatar{display:grid;place-items:center;flex:none;width:35px;height:35px;border-radius:50%;background:#e6e6e9;color:#777;font-size:12px}.ir-post-author strong{display:block;font-size:12px;color:#666}.ir-post-author small{display:block;font-size:10px;color:#aaa;margin-top:4px}.ir-demo-label{margin-left:auto;font-size:9px;color:#999;border:1px solid #ddd;padding:3px 6px;border-radius:6px}
.ir-post-prose{padding:0 3px;line-height:1.85;font-size:14px;color:#55555b}.ir-post-prose p{margin:0 0 22px;white-space:pre-wrap}.ir-post-prose p:first-child{font-size:17px;font-weight:600;color:#343438}.ir-post-detail>.ir-post-art{margin:15px 0}
.ir-post-file{display:flex;align-items:center;gap:11px;padding:15px 12px;margin:16px 0;border:1px solid #e1e1e4;border-radius:11px;background:#f0f0f2}.ir-post-file>span{font-size:24px;color:#888}.ir-post-file strong{font-size:12px;overflow-wrap:anywhere}.ir-post-file small{display:block;font-size:10px;color:#999;margin-top:5px}
.ir-replies{margin-top:25px;border-top:1px solid #e5e5e7;padding-top:13px}.ir-replies h3{font-size:13px}.ir-replies h3 span{color:#999}.ir-reply{display:flex;align-items:flex-start;gap:9px;margin:18px 0}.ir-reply>div{min-width:0}.ir-reply strong{font-size:11px}.ir-reply small{font-size:9px;color:#aaa;margin-left:8px;font-weight:400}.ir-reply p{white-space:pre-wrap;overflow-wrap:anywhere;font-size:13px;line-height:1.7;margin:7px 0}.ir-reply-empty{font-size:12px;color:#999;line-height:1.8}
.ir-reply-form{display:flex;flex-wrap:wrap;align-items:center;flex:none;gap:5px;padding:9px 12px calc(8px + env(safe-area-inset-bottom));background:#fafafa;border-top:1px solid #e5e5e7}.ir-reply-form textarea{flex:1;min-width:0;min-height:41px;max-height:100px;resize:vertical;border:1px solid #e0e0e3;border-radius:13px;padding:10px;background:#f0f0f2;color:#333;font:inherit;font-size:16px}.ir-reply-form button{width:38px;height:38px;border:0;border-radius:12px;background:#e8e8eb;color:#555;font-size:19px}.ir-reply-form small{width:100%;font-size:9px;color:#999;padding-left:3px}
@media(max-width:760px){.ideal-repository.ir-forum-mode .ir-shell{grid-template-columns:minmax(0,1fr)}.ideal-repository.ir-forum-mode .ir-rail,.ideal-repository.ir-forum-mode .ir-sidebar,.ideal-repository.ir-forum-mode .ir-profile-entry{display:none}.ideal-repository.ir-forum-mode .ir-main{grid-column:1;grid-row:1;border:0;border-radius:0}.ir-forum-scroll{padding-left:10px;padding-right:10px}}
.ir-remote-cover{position:relative;display:grid;place-items:center;min-height:210px;overflow:hidden;border-radius:6px;background:#dedee2;color:#555}
.ir-remote-cover img{display:block;width:100%;max-height:360px;object-fit:cover}
.ir-remote-cover-text{padding:20px;text-align:center;background:linear-gradient(135deg,#e5e5e8,#f3f3f4)}
.ir-remote-cover-text span{display:block;margin-bottom:20px;font-size:9px;letter-spacing:.2em}.ir-remote-cover-text strong{font:italic 26px/1.3 Georgia,"Songti SC",serif}
.ir-post-code{max-height:460px;overflow:auto;margin:18px 0;padding:17px;border:1px solid #dedee2;border-radius:10px;background:#f0f0f2;color:#36363b;white-space:pre-wrap;overflow-wrap:anywhere;font:12px/1.65 ui-monospace,SFMono-Regular,Menlo,monospace}
.ir-post-detail>.ir-remote-cover{margin:15px 0}
.ir-post-detail>button.ir-post-file{width:100%;text-align:left;cursor:pointer;color:#333}
.ir-upload-mask{position:absolute;z-index:8;inset:0;display:grid;place-items:center;padding:14px;background:#0007}
.ir-upload-form{box-sizing:border-box;display:grid;gap:12px;width:min(520px,100%);max-height:calc(100% - 16px);overflow:auto;padding:19px;border:1px solid #dedee2;border-radius:18px;background:#fafafa;box-shadow:0 18px 50px #0002}
.ir-upload-form header{display:flex;align-items:center;justify-content:space-between}.ir-upload-form h2{margin:0;font-size:17px}.ir-upload-form header button{width:30px;height:30px;border:0;background:transparent;font-size:24px;color:#777}
.ir-upload-form label{display:grid;gap:5px;font-size:11px;font-weight:650;color:#666}.ir-upload-form input,.ir-upload-form textarea{box-sizing:border-box;width:100%;padding:10px;border:1px solid #dedee2;border-radius:9px;background:#fff;color:#222;font:inherit;font-size:14px;line-height:1.5}.ir-upload-form textarea{resize:vertical;min-height:80px;font-family:inherit}.ir-upload-form input[type=file]{font-size:11px}
.ir-upload-error{min-height:14px;margin:0;color:#ab4949;font-size:11px}.ir-upload-form footer{display:flex;justify-content:flex-end;gap:8px}.ir-upload-form footer button{min-height:36px;padding:0 14px;border:1px solid #dedee2;border-radius:9px;background:#f2f2f4;color:#444}.ir-upload-form footer button[type=submit]{border-color:#333;background:#333;color:#fff}
@media(max-width:760px){.ir-upload-mask{align-items:end;padding:0}.ir-upload-form{width:100%;max-height:calc(100% - 20px);border-radius:19px 19px 0 0;padding-bottom:calc(18px + env(safe-area-inset-bottom))}}
.ir-load-more{display:block;margin:16px auto 8px;padding:9px 17px;border:1px solid #dedee2;border-radius:9px;background:#fff;color:#555;font-size:12px}
.ir-beauty-code{display:grid;gap:9px;margin:18px 0;padding:15px;border:1px solid #dedee2;border-radius:10px;background:#f0f0f2;color:#36363b}
.ir-beauty-code small{font-size:10px;color:#888}.ir-beauty-code code{font:13px/1.5 ui-monospace,SFMono-Regular,Menlo,monospace;overflow-wrap:anywhere}
.ir-beauty-code button{justify-self:start;padding:7px 11px;border:0;border-radius:7px;background:#333;color:#fff;font-size:11px}
/* Personal profile: monochrome, plain avatar, three destinations. */
.ideal-repository .ir-profile-page{position:relative;min-height:100%;background:#f6f6f6;color:#252525;padding-bottom:1px}
.ideal-repository .ir-profile-header{position:relative;z-index:1;max-width:800px;margin:auto;border:0;background:#dedede;padding-left:24px;padding-right:24px}
.ideal-repository .ir-profile-header strong{font-size:13px;font-weight:500;letter-spacing:.12em;color:#555}
.ideal-repository .ir-profile-header button{background:#ffffff90;width:34px;height:34px}
.ir-profile-cover{height:132px;background:#dedede;max-width:800px;margin:auto}
.ideal-repository .ir-profile-content{max-width:800px;padding:0 26px calc(140px + env(safe-area-inset-bottom));margin:auto}
.ir-profile-identity{display:flex;justify-content:space-between;align-items:flex-end;margin-top:-44px;position:relative}
.ideal-repository .ir-profile-avatar-picker{gap:9px;font-size:10px;color:#888}
.ideal-repository .ir-profile-big-avatar{width:92px;height:92px;border:0;background:#373737;color:white;border-radius:50%;font-weight:400;font-size:34px}
.ir-profile-eyebrow{font-size:9px;letter-spacing:.18em;color:#999;padding-bottom:5px}
.ir-profile-name{font-size:29px;line-height:1.3;margin:25px 0 7px;letter-spacing:-.04em;overflow-wrap:anywhere}
.ir-profile-account{margin:0;color:#8a8a8a;font-size:13px;letter-spacing:.02em;overflow-wrap:anywhere}
.ir-profile-edit{width:100%;display:flex;align-items:center;justify-content:center;gap:10px;border:0;border-radius:12px;background:#282828;color:#fff;min-height:46px;margin-top:25px;font-size:13px!important;font-weight:600!important}
.ir-profile-edit span{color:#bdbdbd;font-size:17px}.ir-profile-edit:disabled{opacity:.45;cursor:wait}
.ir-profile-about{margin-top:32px}.ir-profile-about h2,.ir-profile-joined h2{font-size:13px;font-weight:600;margin:0 0 13px}
.ir-profile-about p{font-size:14px;line-height:1.9;color:#666;white-space:pre-wrap;overflow-wrap:anywhere;margin:0}
.ir-profile-joined{margin-top:29px;padding-bottom:27px;border-bottom:1px solid #e2e2e2}.ir-profile-joined p{display:flex;align-items:center;gap:9px;font-size:13px;color:#777;margin:0}
.ir-profile-page svg{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}
.ir-profile-joined svg{width:17px;height:17px}
.ir-profile-rows{display:grid;gap:12px;margin-top:24px}.ir-profile-rows>button{display:flex;align-items:center;justify-content:space-between;min-height:65px;border:0;border-radius:15px;padding:15px 18px;background:#ececec;color:#333;font-size:14px}
.ir-profile-rows>button>span{display:flex;align-items:center;gap:11px}.ir-profile-rows small{font-size:11px;color:#999}.ir-profile-rows b{font-size:23px;font-weight:400;color:#888}.ir-profile-rows button:disabled{opacity:.5;cursor:wait}
.ir-profile-note{margin:0 8px;color:#666;font-size:13px;line-height:1.7;white-space:pre-wrap;overflow-wrap:anywhere}
.ir-profile-dock{position:fixed;z-index:3;bottom:calc(22px + env(safe-area-inset-bottom));left:50%;transform:translateX(-50%);display:grid;grid-template-columns:repeat(3,1fr);width:min(340px,calc(100% - 54px));min-height:77px;padding:10px 12px;background:#fffffff5;border:1px solid #ececec;border-radius:25px;box-shadow:0 12px 40px #00000010;backdrop-filter:blur(16px)}
.ir-profile-dock button{display:flex;flex-direction:column;justify-content:center;align-items:center;gap:7px;background:transparent;border:0;border-radius:15px;color:#333;font-size:11px;font-weight:500}.ir-profile-dock svg{width:24px;height:24px}.ir-profile-dock button:hover,.ir-profile-dock button[aria-current=page]{background:#efefef}
.ideal-repository .ir-profile-list{padding-top:32px}.ir-profile-list h2{margin:12px 0;font-size:25px}.ir-profile-muted{color:#999;font-size:13px;margin-bottom:30px}
.ir-profile-empty{text-align:center;padding:65px 8px;color:#999;font-size:38px}.ir-profile-empty>svg{width:40px;height:40px}.ir-profile-empty p{font-size:15px;color:#555;margin:16px 0 8px}.ir-profile-empty small{display:block;font-size:12px;line-height:1.8}
.ir-profile-dialog{width:min(440px,calc(100% - 32px));max-height:85dvh;overflow:auto;border:1px solid #ddd;border-radius:22px;padding:24px;background:#fafafa;color:#222;box-shadow:0 24px 80px #0003;font-family:inherit}
.ir-profile-dialog::backdrop{background:#0006;backdrop-filter:blur(4px)}.ir-profile-dialog header{display:flex;justify-content:space-between;align-items:center;margin-bottom:24px}.ir-profile-dialog h2{font-size:19px;margin:0}.ir-profile-dialog header button{border:0;background:#eee;border-radius:50%;width:32px;height:32px;font-size:23px;color:#555}
.ir-profile-dialog label{display:grid;gap:9px;font-size:12px;color:#666;margin-top:20px}.ir-profile-dialog input,.ir-profile-dialog textarea{box-sizing:border-box;width:100%;font:inherit;font-size:15px;border:1px solid #ddd;border-radius:10px;padding:12px;background:white;color:#222}.ir-profile-dialog textarea{resize:vertical;min-height:100px;line-height:1.6}.ir-profile-dialog input[readonly]{background:#eee;color:#888}.ir-profile-dialog small{display:block;font-size:11px;color:#999;margin-top:8px}.ir-profile-dialog [role=alert]{font-size:12px;color:#555}.ir-profile-dialog footer button{width:100%;padding:13px;border:0;border-radius:12px;background:#282828;color:white;font:inherit}.ir-profile-dialog button:disabled{opacity:.5}
.ideal-repository.ir-profile-mode button:focus-visible,.ir-profile-dialog :focus-visible{outline:2px solid #777;outline-offset:4px}
@media(min-width:761px){.ideal-repository .ir-profile-content{padding-left:48px;padding-right:48px}.ir-profile-cover{height:170px}.ideal-repository .ir-profile-header{padding-left:38px;padding-right:38px}.ir-profile-dock{width:370px}.ir-profile-name{font-size:34px}}

/* Center the edit sheet in the actual viewport, including mobile browsers. */
.ideal-repository dialog.ir-profile-dialog{position:fixed;inset:50% auto auto 50%;transform:translate(-50%,-50%);margin:0;width:min(440px,calc(100vw - 32px));max-width:calc(100vw - 32px);max-height:min(85dvh,760px);overscroll-behavior:contain}
.ideal-repository .ir-profile-cover{position:relative;display:block;width:min(100%,800px);height:132px;padding:0;border:0;border-radius:0;margin:0 auto;background-color:#dedede;background-position:center;background-size:cover;background-repeat:no-repeat;cursor:pointer;color:#333}
.ideal-repository .ir-profile-cover>span{position:absolute;right:18px;bottom:15px;display:grid;place-items:center;width:36px;height:36px;border:1px solid #fff9;border-radius:50%;background:#ffffffd9;color:#454545;box-shadow:0 2px 8px #00000012;transition:background .15s ease,transform .15s ease}
.ideal-repository .ir-profile-cover:hover>span{background:white;transform:scale(1.04)}
.ideal-repository .ir-profile-cover svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.ideal-repository .ir-profile-avatar-picker{gap:0;cursor:pointer}
.ideal-repository .ir-profile-avatar-picker .ir-profile-big-avatar{cursor:pointer}
.ideal-repository .ir-profile-cover:focus-visible,.ideal-repository .ir-profile-avatar-picker:focus-within .ir-profile-big-avatar{outline:2px solid #777;outline-offset:4px}
@media(min-width:761px){.ideal-repository .ir-profile-cover{height:170px}}

/* Let the cover continue behind the personal page's translucent top bar. */
.ideal-repository .ir-profile-page{position:relative}
.ideal-repository .ir-profile-header{position:absolute;top:0;left:50%;z-index:4;width:min(100%,800px);transform:translateX(-50%);margin:0;border:0;background:transparent!important;backdrop-filter:none}
.ideal-repository .ir-profile-header strong{color:#353535;text-shadow:0 1px 8px #ffffff70}
.ideal-repository .ir-profile-header button{background:#ffffffaa;backdrop-filter:blur(12px)}
.ideal-repository .ir-profile-cover{height:calc(132px + 58px + env(safe-area-inset-top))}
@media(min-width:761px){.ideal-repository .ir-profile-cover{height:calc(170px + 58px + env(safe-area-inset-top))}}
.ideal-repository .ir-rail-tool{position:relative}
.ideal-repository .ir-rail-tool.is-active{background:#65656d;color:#fff}
.ideal-repository .ir-rail-tool.is-active:before{content:"";position:absolute;left:-11px;top:9px;width:4px;height:32px;border-radius:0 4px 4px 0;background:#65656d}
.ideal-repository .ir-rail-tool.is-active svg{stroke:#fff}
.ir-friends-page{width:min(100%,900px);margin:0 auto;padding:clamp(22px,5vw,54px) clamp(18px,5vw,54px) calc(env(safe-area-inset-bottom) + 44px)}
.ir-friends-heading>span{font-size:10px;letter-spacing:.2em;color:#888}.ir-friends-heading h1{margin:12px 0 7px;font-size:clamp(27px,4vw,38px);letter-spacing:-.04em}.ir-friends-heading p{margin:0;color:#858585;font-size:14px}
.ir-friends-search{display:flex;gap:10px;margin:26px 0 18px}.ir-friends-search input{flex:1;min-width:0;height:48px;padding:0 15px;border:1px solid #d9d9dc;border-radius:12px;background:#fff;color:#222;font-size:14px}.ir-friends-search input:focus{outline:2px solid #888;outline-offset:2px}.ir-friends-search button,.ir-friend-item>button{flex:none;border:0;border-radius:11px;padding:0 17px;background:#29292b;color:#fff;font-size:13px;font-weight:600}.ir-friends-status{margin:12px 0;color:#707077;font-size:13px}.ir-friends-results{margin:22px 0}.ir-friends-results h2{margin:0 0 9px;font-size:14px;color:#777}
.ir-friends-tabs{display:flex;gap:7px;overflow:auto;margin-top:32px;padding-bottom:0;border-bottom:1px solid #dedee1}.ir-friends-tabs button{display:flex;align-items:center;gap:7px;flex:none;padding:12px 13px 11px;border:0;border-bottom:2px solid transparent;background:transparent;color:#818187;font-size:12px}.ir-friends-tabs button.is-selected{border-color:#626269;color:#252529;font-weight:700}.ir-friends-tabs button span{display:grid;place-items:center;min-width:19px;height:19px;padding:0 5px;border-radius:12px;background:#e8e8eb;color:#666;font-size:10px}
.ir-friends-list{min-height:165px}.ir-friend-item{display:flex;align-items:center;gap:12px;min-height:70px;padding:11px 2px;border-bottom:1px solid #e7e7e9}.ir-friend-avatar{display:grid;place-items:center;flex:none;width:43px;height:43px;border-radius:50%;background:#dedee1;color:#4e4e53;font-size:17px;font-weight:650}.ir-friend-copy{display:grid;gap:4px;flex:1;min-width:0}.ir-friend-copy strong,.ir-friend-copy small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ir-friend-copy strong{font-size:14px}.ir-friend-copy small{font-size:11px;color:#909096}.ir-friend-item>button{min-height:35px;padding:0 14px}.ir-friend-item>button.is-muted{border:1px solid #dedee1;background:#f1f1f3;color:#68686f}.ir-friend-item>button:disabled{background:#e6e6e8;color:#777;cursor:default}
.ir-friends-empty{text-align:center;padding:45px 15px;color:#777}.ir-friends-empty>span{display:block;margin-bottom:12px;color:#777;font-size:32px}.ir-friends-empty strong{display:block;color:#505056;font-size:15px}.ir-friends-empty small{display:block;margin-top:8px;color:#929298;font-size:12px;line-height:1.6}
@media(max-width:760px){.ir-friends-page{padding:27px 19px calc(env(safe-area-inset-bottom) + 35px)}.ir-friends-search{gap:8px}.ir-friends-search input{height:45px}.ir-friends-search button{padding:0 12px}.ir-friends-tabs{gap:1px}.ir-friends-tabs button{padding-left:9px;padding-right:9px;font-size:11px}.ir-friend-item{gap:9px}.ir-friend-item>button{padding:0 10px;font-size:12px}}
.ir-message-toolbar{display:flex;align-items:center;gap:10px;margin:23px 0 22px}
.ir-message-toolbar>button{position:relative;display:grid;place-items:center;flex:none;height:48px;border:1px solid #d9d9dc;border-radius:13px;background:#ececef;color:#34343a}
.ir-message-toolbar svg{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}
.ir-message-toolbar .ir-message-icon{width:48px}
.ir-message-toolbar .ir-message-inbox{width:62px}
.ir-message-toolbar .ir-message-inbox svg{fill:#55555c;stroke:#55555c}
.ir-message-toolbar .ir-message-inbox svg path:last-child{fill:none;stroke:#ececef}
.ir-message-toolbar .ir-message-add{display:flex;align-items:center;justify-content:center;gap:10px;flex:1;min-width:0;font-size:clamp(14px,2vw,19px);font-weight:650}
.ir-message-toolbar .ir-message-add b{white-space:nowrap}
.ir-message-toolbar .ir-message-add svg{width:25px;height:25px}
.ir-message-toolbar .ir-message-plus{width:48px;border-color:#5d63ec;background:#5d63ec;color:#fff;font-size:34px;font-weight:300;line-height:1}
.ir-message-toolbar button:active{transform:scale(.98)}
.ir-inbox-heading{display:flex;align-items:center;gap:14px;margin:4px 0 30px}
.ir-inbox-heading>button{display:grid;place-items:center;width:40px;height:40px;border:0;border-radius:50%;background:#ebebed;color:#333;font-size:30px}
.ideal-repository .ir-inbox-heading>div{position:relative;display:flex;flex:1;align-items:center;min-width:0;height:40px}
.ideal-repository .ir-inbox-heading span{position:absolute;top:-7px;left:0}
.ideal-repository .ir-inbox-heading h1{margin:0;font-size:26px;line-height:40px}
.ideal-repository .ir-inbox-heading>.ir-page-close{width:40px;height:40px;flex:none;margin-left:auto}
.ir-inbox-heading span{font-size:10px;letter-spacing:.18em;color:#888}.ir-inbox-heading h1{margin:5px 0;font-size:26px}
.ir-inbox-empty{display:grid;justify-items:center;gap:10px;padding:70px 16px;color:#777;text-align:center}
.ir-inbox-empty>span{display:grid;place-items:center;width:60px;height:60px;border-radius:18px;background:#ececef}
.ir-inbox-empty svg{width:30px;height:30px;fill:none;stroke:#666;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.ir-inbox-empty strong{font-size:15px;color:#555}.ir-inbox-empty small{font-size:12px;color:#929298}
@media(max-width:760px){.ir-message-toolbar{gap:7px;margin:18px 0 18px}.ir-message-toolbar>button{height:44px;border-radius:12px}.ir-message-toolbar .ir-message-icon,.ir-message-toolbar .ir-message-plus{width:44px}.ir-message-toolbar .ir-message-inbox{width:53px}.ir-message-toolbar .ir-message-add{gap:6px;padding:0 9px;font-size:14px}.ir-message-toolbar .ir-message-add svg{width:21px;height:21px}.ir-message-toolbar .ir-message-toolbar svg{width:21px;height:21px}}
/* Keep the message actions compact and strictly monochrome. */
.ir-message-toolbar{gap:8px;margin:16px 0 18px}
.ir-message-toolbar>button{height:40px;border-radius:11px}
.ir-message-toolbar .ir-message-icon{width:40px}
.ir-message-toolbar .ir-message-inbox{width:52px}
.ir-message-toolbar .ir-message-add{gap:8px;font-size:15px}
.ir-message-toolbar .ir-message-add svg{width:22px;height:22px}
.ir-message-toolbar .ir-message-plus{width:40px;border-color:#d7d7d9;background:#dedee0;color:#36363a;font-size:28px}
@media(max-width:760px){
  .ir-message-toolbar{gap:6px;margin:14px 0 16px}
  .ir-message-toolbar>button{height:36px;border-radius:10px}
  .ir-message-toolbar .ir-message-icon,.ir-message-toolbar .ir-message-plus{width:36px}
  .ir-message-toolbar .ir-message-inbox{width:44px}
  .ir-message-toolbar .ir-message-add{gap:5px;padding:0 7px;font-size:12px}
  .ir-message-toolbar .ir-message-add svg{width:18px;height:18px}
  .ir-message-toolbar .ir-message-icon svg,.ir-message-toolbar .ir-message-inbox svg{width:19px;height:19px}
  .ir-message-toolbar .ir-message-plus{font-size:25px}
}
.ir-friends-page>.ir-friends-heading h1{margin:12px 0 3px;font-size:23px;line-height:1.2;letter-spacing:-.035em}
@media(max-width:760px){.ir-friends-page{padding-top:17px}.ir-friends-page>.ir-friends-heading h1{font-size:22px}}
.ideal-repository .ir-page-heading{display:flex;align-items:center;justify-content:space-between;gap:12px}
.ideal-repository .ir-friends-page>.ir-page-heading h1{margin:12px 0 3px}
.ideal-repository .ir-content-heading h2{margin:0;font-size:23px;line-height:1.2;letter-spacing:-.035em}
.ideal-repository .ir-page-heading .ir-page-close{width:35px;height:35px}
.ir-friend-avatar{position:relative;overflow:hidden}
.ir-friend-avatar img{position:absolute;inset:0;width:100%;height:100%;border-radius:50%;object-fit:cover}
.ir-friend-item{display:grid;grid-template-columns:43px minmax(0,1fr) auto auto;flex-wrap:nowrap;gap:clamp(6px,1vw,12px)}
.ir-friend-item .ir-friend-copy{grid-column:2;min-width:0}
.ir-friend-item>button:only-of-type{grid-column:4}
.ir-chat-list{display:grid;gap:8px;margin-top:16px}
.ir-friends-list.is-chat-list{display:grid;gap:8px;padding-top:16px}
.ir-chat-list-item{position:relative;display:grid;grid-template-columns:42px minmax(0,1fr) auto;grid-template-rows:auto auto;align-items:center;column-gap:10px;height:64px;min-height:64px;padding:6px 10px;border:1px solid #e4e4e6;border-radius:14px;background:#f4f4f5;color:#29292c;text-align:left}
.ir-chat-list-item .ir-friend-avatar{grid-row:1/3;width:40px;height:40px}
.ir-chat-list-item .ir-friend-copy{grid-column:2;grid-row:1}
.ir-chat-preview{grid-column:2;grid-row:2;min-width:0;overflow:hidden;color:#85858b;font-size:12px;text-overflow:ellipsis;white-space:nowrap}
.ir-chat-list-item>time{grid-column:3;grid-row:1;color:#888;font-size:11px}
.ir-chat-unread{position:absolute;right:11px;bottom:10px;display:grid;place-items:center;min-width:18px;height:18px;padding:0 5px;border-radius:20px;background:#444;color:#fff;font-size:10px}
.ir-chat-page{display:flex;flex-direction:column;min-height:min(70vh,720px);padding-top:20px}
.ir-chat-header{display:flex;align-items:center;gap:11px;padding-bottom:14px;border-bottom:1px solid #e3e3e5}
.ir-chat-header>button:first-child{width:34px;height:34px;border:0;border-radius:50%;background:#ededee;color:#333;font-size:27px}
.ir-chat-avatar{position:relative;display:grid;place-items:center;flex:none;width:40px;height:40px;overflow:hidden;border-radius:50%;background:#dedee1;color:#444;font-weight:650}
.ir-chat-avatar img{position:absolute;inset:0;width:100%;height:100%;border-radius:inherit;object-fit:cover}
.ir-chat-header>div{display:grid;gap:3px;flex:1;min-width:0}.ir-chat-header>div strong,.ir-chat-header>div small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ir-chat-header>div strong{font-size:14px}.ir-chat-header>div small{color:#8a8a90;font-size:10px}
.ir-chat-header .ir-chat-close{width:34px;height:34px}
.ir-chat-messages{display:flex;flex:1;flex-direction:column;gap:10px;min-height:240px;max-height:calc(100vh - 330px);overflow:auto;padding:18px 2px}
.ir-chat-message{display:grid;justify-items:start;gap:3px;max-width:min(78%,520px)}
.ir-chat-message.is-mine{align-self:flex-end;justify-items:end}
.ir-chat-message p{margin:0;padding:10px 13px;border-radius:15px 15px 15px 4px;background:#ededee;color:#303034;font-size:14px;line-height:1.5;white-space:pre-wrap;overflow-wrap:anywhere}
.ir-chat-message.is-mine p{border-radius:15px 15px 4px 15px;background:#424247;color:white}
.ir-chat-message time{padding:0 3px;color:#999;font-size:10px}
.ir-chat-empty{align-self:center;margin:auto;color:#89898f;font-size:13px;text-align:center}
.ir-chat-status{margin:0 0 8px;color:#8c5555;font-size:12px}
.ir-chat-composer{display:flex;align-items:flex-end;gap:9px;padding:10px;border:1px solid #dedee1;border-radius:14px;background:#f3f3f4}
.ir-chat-composer textarea{flex:1;min-width:0;max-height:120px;resize:vertical;border:0;outline:0;background:transparent;color:#29292c;font:inherit;font-size:14px;line-height:1.5}
.ir-chat-composer button{min-height:34px;padding:0 14px;border:0;border-radius:10px;background:#38383d;color:#fff;font-size:12px;font-weight:650}
.ir-chat-composer button:disabled{background:#c9c9cc;color:#fff}
.ir-chat-retention{display:block;margin:8px 2px 0;color:#999;font-size:10px;text-align:center}
@media(max-width:760px){.ir-chat-page{min-height:calc(100dvh - 105px);padding:14px 14px calc(env(safe-area-inset-bottom) + 20px)}.ir-chat-messages{max-height:none}.ir-chat-message{max-width:86%}.ir-friend-item{gap:6px}.ir-friend-item>button{min-height:32px;padding:0 8px;font-size:11px}}

/* Direct messages follow the plain-text conversation style from the reference. */
.ir-chat-page{min-height:min(78vh,820px);padding:14px 18px 12px}
.ir-chat-header{min-height:58px;padding:0 0 12px;gap:12px}
.ir-chat-header>button:first-child{width:38px;height:38px;flex:none;font-size:26px;line-height:1}
.ir-chat-header-avatar{position:relative;display:grid;place-items:center;flex:none;width:38px;height:38px;overflow:hidden;border-radius:50%;background:#dedee1;color:#444;font-size:15px;font-weight:650}
.ir-chat-header-avatar img,.ir-chat-profile .ir-chat-avatar img,.ir-chat-message-avatar img,.ir-chat-quoted-avatar img{position:absolute;inset:0;width:100%;height:100%;border-radius:inherit;object-fit:cover}
.ir-chat-header>div{display:grid;gap:0;flex:1;min-width:0}
.ir-chat-header>div strong{font-size:16px;line-height:1.15}
.ir-chat-header>div small{font-size:10px;line-height:1.2;letter-spacing:.16em}
.ir-chat-header .ir-chat-close{width:36px;height:36px;flex:none;margin-left:auto}
.ir-chat-profile{display:flex;flex:none;flex-direction:column;align-items:flex-start;padding:42px 12px 24px;text-align:left}
.ir-chat-profile .ir-chat-avatar{width:72px;height:72px;margin-bottom:12px;font-size:25px}
.ir-chat-profile>strong{max-width:100%;overflow:hidden;color:#29292c;font-size:20px;line-height:1.3;text-overflow:ellipsis;white-space:nowrap}
.ir-chat-profile>span:not(.ir-chat-avatar){margin-top:3px;color:#85858b;font-size:13px}
.ir-chat-profile>div{display:flex;gap:9px;margin-top:14px}
.ir-chat-profile>div button{min-height:32px;padding:0 12px;border:1px solid #dedee1;border-radius:9px;background:#f2f2f3;color:#38383d;font-size:12px}
.ir-chat-messages{display:flex;flex:1;flex-direction:column;gap:0;min-height:140px;max-height:calc(100vh - 440px);overflow:auto;padding:10px 2px 18px;overscroll-behavior:contain}
.ir-chat-divider{display:flex;align-items:center;gap:12px;margin:14px 0;color:#929297;font-size:10px;white-space:nowrap}
.ir-chat-divider::before,.ir-chat-divider::after{height:1px;flex:1;background:#e5e5e7;content:""}
.ir-chat-message{display:grid;grid-template-columns:50px minmax(0,1fr);align-items:start;gap:12px;width:100%;max-width:none;padding:6px 4px;border-radius:8px;touch-action:pan-y}
.ir-chat-message.is-continuation{margin-top:-12px;padding-top:0;padding-bottom:0}
.ir-chat-message.has-continuation{padding-bottom:0}
.ir-chat-message.is-continuation .ir-chat-message-body{grid-column:2}
.ir-chat-message.is-continuation .ir-chat-message-body p{margin-top:0;line-height:1.35}
.ir-chat-message.has-reply{row-gap:0}
.ir-chat-message.has-reply>.ir-chat-message-avatar{grid-column:1;grid-row:2;margin-top:0}
.ir-chat-message.has-reply>.ir-chat-message-body{position:relative;grid-column:2;grid-row:2;padding-top:8px}
.ir-chat-message.is-mine{align-self:stretch;justify-items:stretch}
.ir-chat-message-avatar{position:relative;display:grid;place-items:center;width:48px;height:48px;overflow:hidden;border-radius:50%;background:#e5e5e7;color:#555;font-size:18px;font-weight:650}
.ir-chat-message-body{min-width:0}
.ir-chat-message-meta{display:flex;align-items:baseline;gap:6px;min-height:18px}
.ir-chat-message-meta strong{overflow:hidden;color:#77777d;font-size:14px;font-weight:600;text-overflow:ellipsis;white-space:nowrap}
.ir-chat-message-meta time{color:#99999e;font-size:10px;white-space:nowrap}
.ir-chat-message p{margin:0;padding:0;border-radius:0;background:transparent;color:#29292c;font-size:14px;line-height:1.45;white-space:pre-wrap;overflow-wrap:anywhere}
.ir-chat-message p strong{color:#55555b;font-weight:650}
.ir-chat-message-meta{justify-content:flex-start;min-height:18px;margin:0}
.ir-chat-message.is-mine p{border-radius:0;background:transparent;color:#29292c}
.ir-chat-quoted{position:relative;display:flow-root;max-width:100%;min-width:0;overflow:visible;margin:4px 0 5px;padding-left:0;color:#85858b;font-size:14px;line-height:1.45}
.ir-chat-message.has-reply .ir-chat-quoted{grid-column:2;grid-row:1;width:100%;margin:0}
.ir-chat-quoted::before{position:absolute;top:10px;bottom:0;left:-38px;width:38px;border-top:2px solid #d0d0d4;border-left:2px solid #d0d0d4;border-radius:8px 0 0;content:""}
.ir-chat-quoted::after{display:block;clear:both;content:""}
.ir-chat-quoted-avatar{position:relative;float:left;display:grid;place-items:center;width:20px;height:20px;margin-right:6px;overflow:hidden;border-radius:50%;background:#e5e5e7;color:#555;font-size:9px;font-weight:650}
.ir-chat-quoted-copy{display:block;min-width:0;overflow:visible;color:#77777d;font-size:14px;line-height:1.45;white-space:normal;overflow-wrap:anywhere}
.ir-chat-quoted-copy strong{color:#85858b;font-size:14px;font-weight:600}
.ir-chat-quoted-copy>span{color:#77777d;font-size:14px;white-space:pre-wrap;overflow-wrap:anywhere}
.ir-chat-status{margin:0 0 6px;text-align:center}
.ir-chat-replying{display:flex;align-items:center;justify-content:space-between;gap:8px;margin:0 0 6px;padding:7px 10px;border-left:2px solid #79797f;border-radius:7px;background:#f3f3f4;color:#727278;font-size:11px}
.ir-chat-replying span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.ir-chat-replying button{flex:none;border:0;background:transparent;color:#555;font-size:18px}
.ir-chat-composer{align-items:center;gap:7px;min-height:48px;padding:5px 8px;border-radius:15px;background:#f2f2f3}
.ir-chat-composer textarea{max-height:110px;min-height:28px;resize:none;padding:5px 2px;font-size:13px}
.ir-chat-composer .ir-chat-plus,.ir-chat-composer .ir-chat-send{display:grid;place-items:center;flex:none;width:30px;min-height:30px;padding:0;border-radius:50%;font-size:21px;line-height:1}
.ir-chat-composer .ir-chat-plus{background:transparent;color:#77777d}
.ir-chat-composer .ir-chat-plus:disabled{background:transparent;color:#77777d;opacity:1}
.ir-chat-composer .ir-chat-send{background:#3b3b40;color:#fff;font-size:18px}
.ir-chat-composer .ir-chat-send:disabled{background:#c8c8cb;color:white}
.ir-chat-retention{margin:5px 2px 0;font-size:9px}
@media(max-width:760px){.ir-chat-page{min-height:calc(100dvh - 90px);padding:10px 12px calc(env(safe-area-inset-bottom) + 10px)}.ir-chat-profile{padding-top:28px;padding-bottom:18px}.ir-chat-messages{max-height:none}.ir-chat-message{max-width:none}.ir-chat-composer textarea{font-size:16px}}

/* A direct conversation is its own full-screen surface, separate from Ideal's shell. */
.ideal-repository.ir-chat-mode .ir-shell{position:relative;display:block;width:100%;height:100%;min-height:0;padding:0;overflow:hidden;background:#fff}
.ideal-repository.ir-chat-mode .ir-rail,.ideal-repository.ir-chat-mode .ir-sidebar,.ideal-repository.ir-chat-mode .ir-profile-entry{display:none!important}
.ideal-repository.ir-chat-mode .ir-main{position:absolute;inset:0;display:flex;flex-direction:column;width:100%;height:100%;min-height:0;margin:0;padding:0;overflow:hidden;border:0;border-radius:0;background:#fff}
.ideal-repository.ir-chat-mode .ir-chat-page{position:relative;display:flex;flex-direction:column;width:100%;height:100%;min-height:0;margin:0;padding:0 20px;overflow:hidden;background:#fff}
.ideal-repository.ir-chat-mode .ir-chat-header{position:relative;z-index:2;flex:none;min-height:calc(env(safe-area-inset-top) + 62px);padding:env(safe-area-inset-top) 0 10px;border-bottom:1px solid #e4e4e6;background:#fff}
.ideal-repository.ir-chat-mode .ir-chat-retention{position:relative;z-index:2;flex:none;margin:8px 0;color:#999;font-size:10px;text-align:center}
.ideal-repository.ir-chat-mode .ir-chat-scroll{flex:1;min-height:0;overflow-x:hidden;overflow-y:auto;padding-bottom:calc(112px + env(safe-area-inset-bottom));overscroll-behavior:contain;-webkit-overflow-scrolling:touch}
.ideal-repository.ir-chat-mode .ir-chat-profile{flex:none;padding:clamp(100px,18vh,220px) 12px 24px;background:#fff}
.ideal-repository.ir-chat-mode .ir-chat-messages{min-height:0;max-height:none;flex:none;overflow:visible;background:#fff}
.ideal-repository.ir-chat-mode .ir-chat-composer{position:absolute;z-index:3;right:20px;bottom:calc(env(safe-area-inset-bottom) + 10px);left:20px;flex:none;margin:0;background:#f2f2f3}
.ideal-repository.ir-chat-mode .ir-chat-replying{position:absolute;z-index:3;right:20px;bottom:calc(env(safe-area-inset-bottom) + 66px);left:20px;margin:0}
@media(max-width:760px){.ideal-repository.ir-chat-mode .ir-chat-page{padding:0 14px}.ideal-repository.ir-chat-mode .ir-chat-header{min-height:calc(env(safe-area-inset-top) + 58px);padding-bottom:9px}.ideal-repository.ir-chat-mode .ir-chat-profile{padding:clamp(100px,18vh,180px) 10px 20px}.ideal-repository.ir-chat-mode .ir-chat-messages{padding-bottom:10px}.ideal-repository.ir-chat-mode .ir-chat-composer{right:14px;bottom:calc(env(safe-area-inset-bottom) + 10px);left:14px}.ideal-repository.ir-chat-mode .ir-chat-replying{right:14px;bottom:calc(env(safe-area-inset-bottom) + 66px);left:14px}}
