:root{font-family:Inter,"Noto Sans Thai","Segoe UI",Tahoma,sans-serif;--primary:#FFC629;--secondary:#FFE36D;--bg:#F6F5F1;--surface:#fff;--text:#24231F;--muted:#77736A;--border:#ECE8DC;--button:#FFC629;--shadow:0 16px 40px rgba(64,48,12,.08)}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--text);min-height:100vh}button,input,textarea,select{font:inherit}button{cursor:pointer}.hidden{display:none!important}.shell{min-height:100vh}.topbar{position:sticky;top:0;z-index:40;height:68px;background:rgba(255,255,255,.92);backdrop-filter:blur(16px);border-bottom:1px solid var(--border);display:flex;align-items:center;justify-content:space-between;padding:9px 16px}.brand{display:flex;align-items:center;gap:10px;font-weight:950;letter-spacing:-.02em}.brand img{width:44px;height:44px;object-fit:contain}.brand-title{font-size:20px}.icon-btn{width:42px;height:42px;border-radius:14px;border:1px solid var(--border);background:var(--surface)}.layout{max-width:1220px;margin:0 auto;display:grid;grid-template-columns:220px minmax(0,680px) 280px;gap:18px;padding:18px 14px 90px}.sidebar,.rightbar{position:sticky;top:86px;align-self:start}.nav-card,.card{background:var(--surface);border:1px solid var(--border);border-radius:22px;box-shadow:0 5px 20px rgba(40,32,12,.035)}.nav-card{padding:10px}.nav-item{display:flex;align-items:center;gap:11px;width:100%;border:0;background:transparent;padding:12px 13px;border-radius:14px;font-weight:850;color:var(--text);text-align:left}.nav-item.active,.nav-item:hover{background:color-mix(in srgb,var(--primary) 18%,white)}.nav-badge{margin-left:auto;background:#e64f60;color:#fff;border-radius:999px;font-size:11px;padding:2px 7px}.composer{padding:14px;margin-bottom:12px}.row{display:flex;align-items:center;gap:10px}.avatar{width:46px;height:46px;border-radius:50%;background:linear-gradient(145deg,#4e4b46,#161513);color:white;display:grid;place-items:center;overflow:hidden;flex:0 0 46px;font-weight:900}.avatar img{width:100%;height:100%;object-fit:cover}.composer-trigger{flex:1;border:0;background:#f7f6f1;color:var(--muted);padding:13px 15px;border-radius:16px;text-align:left}.quick{display:flex;gap:8px;margin-top:10px;flex-wrap:wrap}.btn{border:0;border-radius:13px;padding:10px 14px;font-weight:850}.btn-primary{background:linear-gradient(135deg,var(--secondary),var(--button));border:1px solid color-mix(in srgb,var(--button) 80%,#a36b00)}.btn-soft{background:#f6f4ed}.btn-outline{background:white;border:1px solid var(--border)}.post{overflow:hidden;margin-bottom:12px}.post-head{display:flex;gap:10px;align-items:center;padding:14px 14px 8px}.grow{flex:1;min-width:0}.name{font-weight:900;font-size:14px}.meta{font-size:12px;color:var(--muted)}.sponsored{font-size:11px;font-weight:900;color:#8b5d00;background:#fff3c4;border-radius:999px;padding:4px 8px}.post-body{font-size:16px;line-height:1.72;padding:4px 14px 12px;white-space:pre-wrap}.post-media{margin:0 10px 10px;border-radius:18px;overflow:hidden;background:#eee}.post-media img,.post-media video{width:100%;max-height:540px;display:block;object-fit:cover}.post-stats{display:flex;justify-content:space-between;padding:5px 14px 7px;color:var(--muted);font-size:12px}.post-actions{display:grid;grid-template-columns:repeat(3,1fr);gap:4px;padding:5px 9px 10px;border-top:1px solid #f2efe7}.post-actions button{border:0;background:transparent;border-radius:12px;padding:9px;font-weight:800;color:#69665f}.post-actions button:hover{background:#faf8ef}.section-title{padding:0 4px 10px}.section-title h1{margin:0;font-size:24px}.section-title p{margin:4px 0 0;color:var(--muted);font-size:13px}.right-card{padding:14px;margin-bottom:12px}.right-card h3{margin:0 0 10px;font-size:14px}.person{display:flex;align-items:center;gap:9px;padding:8px 0}.person .avatar{width:38px;height:38px;flex-basis:38px}.search-input,.field{width:100%;border:1px solid var(--border);border-radius:14px;padding:11px 13px;background:#fff;outline:none}.field:focus,.search-input:focus{border-color:var(--primary);box-shadow:0 0 0 4px color-mix(in srgb,var(--primary) 18%,transparent)}.modal-bg{position:fixed;inset:0;z-index:100;background:rgba(30,27,18,.46);display:grid;place-items:center;padding:16px}.modal{width:min(620px,100%);max-height:92vh;overflow:auto;background:#fff;border-radius:24px;padding:18px;box-shadow:var(--shadow)}.modal h2{margin:0 0 12px}.modal textarea{min-height:120px;resize:vertical}.form-grid{display:grid;gap:9px}.login-screen{min-height:100vh;display:grid;place-items:center;padding:18px;background:radial-gradient(circle at 20% 8%,color-mix(in srgb,var(--primary) 40%,white),transparent 30%),linear-gradient(#fff,#fffaf0)}.login-card{width:min(470px,100%);background:#fff;border:1px solid var(--border);border-radius:28px;padding:24px;box-shadow:var(--shadow)}.login-logo{display:block;width:110px;max-height:100px;object-fit:contain;margin:0 auto 8px}.login-card h1{text-align:center;margin:0;font-size:29px}.login-card .tag{text-align:center;color:var(--muted);margin:5px 0 18px}.tabs{display:grid;grid-template-columns:1fr 1fr;background:#f6f4ed;border-radius:14px;padding:4px;margin-bottom:12px}.tabs button{border:0;background:transparent;border-radius:11px;padding:9px;font-weight:850}.tabs button.active{background:#fff;box-shadow:0 2px 8px rgba(0,0,0,.05)}.notice{font-size:12px;line-height:1.5;color:var(--muted);background:#fff9e8;border:1px solid #f2dc9f;border-radius:13px;padding:10px}.bottom-nav{display:none}.list-card{overflow:hidden}.list-item{display:flex;align-items:center;gap:10px;padding:12px 14px;border-bottom:1px solid var(--border)}.list-item:last-child{border-bottom:0}.bubble-wrap{min-height:420px;padding:14px;display:flex;flex-direction:column;gap:8px}.bubble{max-width:78%;padding:10px 12px;border-radius:16px;line-height:1.5}.bubble.me{align-self:flex-end;background:var(--secondary)}.bubble.them{align-self:flex-start;background:#f0efeb}.chat-compose{display:flex;gap:8px;padding:10px;border-top:1px solid var(--border)}.chat-compose textarea{flex:1;min-height:44px;max-height:100px;resize:none}.empty{padding:30px;text-align:center;color:var(--muted)}.toast{position:fixed;left:50%;bottom:90px;transform:translateX(-50%);background:#25231f;color:#fff;padding:10px 14px;border-radius:999px;z-index:200;box-shadow:var(--shadow)}@media(max-width:980px){.layout{grid-template-columns:190px minmax(0,1fr)}.rightbar{display:none}}@media(max-width:720px){.topbar{height:62px;padding:8px 11px}.brand-title{font-size:17px}.layout{display:block;padding:10px 8px 90px}.sidebar{display:none}.main{max-width:680px;margin:auto}.card{border-radius:18px}.bottom-nav{position:fixed;left:0;right:0;bottom:0;z-index:60;display:grid;grid-template-columns:repeat(5,1fr);padding:6px 5px calc(6px + env(safe-area-inset-bottom));background:rgba(255,255,255,.97);border-top:1px solid var(--border)}.bottom-nav button{border:0;background:transparent;padding:7px 2px;border-radius:12px;font-size:11px;color:#777}.bottom-nav button b{display:block;font-size:20px}.bottom-nav button.active{background:color-mix(in srgb,var(--primary) 17%,white);color:#815600}.post-body{font-size:16px}.login-card{padding:19px;border-radius:22px}}@media(max-width:420px){.brand-title{max-width:210px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.modal-bg{padding:8px;align-items:end}.modal{border-radius:24px 24px 16px 16px}.quick .btn{flex:1}.post-actions button{font-size:12px}}

/* Registration anti-spam challenge */
.spam-box{border:1px dashed var(--border);background:rgba(255,255,255,.55);border-radius:14px;padding:12px 14px;text-align:center}
.spam-code-row{display:flex;align-items:center;justify-content:center;gap:12px;margin-top:6px;flex-wrap:wrap}
.spam-number{font-size:30px;letter-spacing:7px;font-weight:900;color:var(--text);font-variant-numeric:tabular-nums}
@media(max-width:520px){.spam-number{font-size:26px;letter-spacing:5px}}

/* v1 Profile Setup + member search */
.profile-setup-screen{min-height:100vh;padding:24px 14px;background:radial-gradient(circle at 15% 5%,color-mix(in srgb,var(--primary) 35%,white),transparent 32%),linear-gradient(#fff,#fffaf0);display:flex;justify-content:center;align-items:flex-start}.profile-setup-card{width:min(760px,100%);background:#fff;border:1px solid var(--border);border-radius:28px;padding:24px;box-shadow:var(--shadow)}.setup-head{display:flex;align-items:center;gap:14px;margin-bottom:18px}.setup-head img{width:72px;height:72px;object-fit:contain}.setup-head h1{margin:3px 0 2px;font-size:28px}.setup-head p{margin:0;color:var(--muted)}.step-pill{display:inline-block;padding:4px 9px;border-radius:999px;background:#fff3c4;color:#7b5600;font-weight:900;font-size:12px}.two-col{display:grid;grid-template-columns:1fr 1fr;gap:10px}.form-grid label>span{display:block;font-size:13px;font-weight:850;margin:0 0 5px}.crop-section{border:1px solid var(--border);border-radius:20px;padding:14px;background:#fbfaf7}.crop-title{display:flex;justify-content:space-between;gap:8px;margin-bottom:10px}.crop-stage{width:min(360px,100%);aspect-ratio:1/1;margin:0 auto 12px;position:relative;border-radius:50%;overflow:hidden;background:#ecebe7;border:5px solid #fff;box-shadow:0 0 0 1px var(--border),0 8px 24px rgba(0,0,0,.06);touch-action:none}.crop-stage canvas{width:100%;height:100%;display:block;cursor:grab}.crop-stage canvas:active{cursor:grabbing}.crop-empty{position:absolute;inset:0;display:grid;place-items:center;color:var(--muted);pointer-events:none;font-weight:800}.crop-controls{display:grid;grid-template-columns:repeat(3,1fr);gap:9px;margin-top:10px}.crop-controls label{font-size:12px;font-weight:800;color:var(--muted)}.crop-controls input{width:100%}.privacy-note{font-size:12px;line-height:1.55;background:#f5f8ff;border:1px solid #dde6fb;border-radius:14px;padding:11px;color:#5d6472}.btn-lg{padding:13px 16px;font-size:16px}.text-btn{display:block;margin:12px auto 0;border:0;background:transparent;color:var(--muted);text-decoration:underline}.search-form{display:grid;grid-template-columns:1fr auto;gap:8px}.search-help{font-size:12px;color:var(--muted);padding:9px 3px 3px}.member-card{display:flex;align-items:center;gap:11px;padding:13px 4px;border-bottom:1px solid var(--border)}.member-card:last-child{border-bottom:0}.member-bio{font-size:12px;color:var(--muted);margin-top:4px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:420px}.relation-tag{font-size:12px;font-weight:850;padding:7px 9px;border-radius:999px;background:#edf8ef;color:#397147;white-space:nowrap}.relation-tag.pending{background:#fff5d8;color:#876100}.profile-card{padding:18px}.profile-private{display:inline-block;margin:0 6px 10px 0;padding:5px 8px;border-radius:9px;background:#f6f4ed;color:var(--muted);font-size:12px}@media(max-width:620px){.profile-setup-screen{padding:0;background:#fff}.profile-setup-card{border:0;border-radius:0;box-shadow:none;padding:17px 14px;min-height:100vh}.setup-head img{width:58px;height:58px}.setup-head h1{font-size:24px}.two-col{grid-template-columns:1fr}.crop-controls{grid-template-columns:1fr}.crop-stage{width:min(300px,86vw)}.search-form{grid-template-columns:1fr}.member-card{align-items:flex-start;flex-wrap:wrap}.member-card .grow{min-width:180px}}
/* FIX 6001: responsive content and setup feedback */
@media (min-width:721px) and (max-width:1050px){.layout{grid-template-columns:190px minmax(0,1fr)}.sidebar{display:block}.rightbar{display:none}.main{min-width:0}}
@media (max-width:720px){.profile-setup-card .btn-lg{width:100%}.composer .row{align-items:flex-start}.composer-trigger{min-height:46px}.post-actions{grid-template-columns:repeat(3,minmax(0,1fr))}.post-actions button{white-space:normal;line-height:1.25}}
@media (max-width:360px){.bottom-nav button{font-size:10px}.bottom-nav button b{font-size:18px}.post-actions{grid-template-columns:1fr 1fr 1fr}.post-actions button{padding:8px 3px}}

/* ==========================================================
   Rabbit.zip-inspired Content UI v7001
   Warm yellow / cream theme, 3-column desktop, mobile bottom nav
   ========================================================== */
:root{
  --rabbit-yellow:#E5A600;
  --rabbit-yellow-2:#FFD54A;
  --rabbit-cream:#FFF7DD;
  --rabbit-cream-2:#FFF1B8;
  --rabbit-ink:#2f2819;
  --rabbit-brown:#7c5b1d;
  --rabbit-soft:#fffaf0;
  --rabbit-line:#ead9a6;
  --rabbit-green:#26ad72;
  --rabbit-red:#e25562;
}
body{
  background:
    radial-gradient(circle at 14% 0%,rgba(255,213,74,.20),transparent 23%),
    linear-gradient(180deg,#fffdf7 0%,#fff8e6 48%,#fffaf1 100%);
  color:var(--text);
  -webkit-font-smoothing:antialiased;
  text-rendering:optimizeLegibility;
}
.rabbit-shell{min-height:100vh}
.rabbit-topbar{background:rgba(255,250,232,.95);border-bottom-color:#e8cf83;box-shadow:0 3px 16px rgba(126,84,0,.05)}
.rabbit-brand{gap:9px}
.rabbit-logo{width:44px;height:44px;border-radius:15px;background:linear-gradient(145deg,#fff8df,#ffd85a);border:1px solid #efcb65;display:grid;place-items:center;overflow:hidden;box-shadow:0 8px 18px rgba(143,92,0,.12);flex:0 0 44px}
.rabbit-logo img{width:100%;height:100%;object-fit:contain;padding:3px}
.brand-copy{display:grid;gap:1px;line-height:1.05;min-width:0}
.brand-copy strong{font-family:"Trebuchet MS","Segoe UI","Noto Sans Thai",sans-serif;font-size:20px;letter-spacing:-.5px;font-weight:1000;background:linear-gradient(180deg,#f0b200,#bf7000);-webkit-background-clip:text;background-clip:text;color:transparent;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.brand-copy small{font-size:9.5px;letter-spacing:.3px;color:#7b5724;font-weight:850;white-space:nowrap}
.top-actions{display:flex;align-items:center;gap:7px}.notif-button{position:relative}.floating-badge{position:absolute;right:-5px;top:-5px;min-width:20px;text-align:center}.mini-head-avatar{width:28px;height:28px;border-radius:50%;object-fit:cover;display:block;margin:auto}

.rabbit-layout{grid-template-columns:225px minmax(0,690px) 270px;gap:18px;max-width:1225px;padding-top:18px}
.rabbit-sidebar{top:18px}
.side-brand{display:flex;align-items:center;gap:9px;margin:2px 0 16px;padding:0 4px}.side-brand .rabbit-logo{width:48px;height:48px;flex-basis:48px}.side-brand .brand-copy strong{font-size:18px}.side-brand .brand-copy small{font-size:9px}
.rabbit-nav-card{padding:8px;background:rgba(255,255,255,.86);backdrop-filter:blur(10px);border-color:#ecdcae;box-shadow:0 10px 28px rgba(126,84,0,.055)}
.rabbit-nav-card .nav-item{position:relative;color:#53452d;font-size:14px;padding:12px 12px;margin:2px 0;border:1px solid transparent}
.rabbit-nav-card .nav-item:hover{background:#fff4c6;border-color:#f0dc95}.rabbit-nav-card .nav-item.active{background:linear-gradient(135deg,#fff0aa,#ffd95e);border-color:#e7b82c;color:#6f4700;box-shadow:0 5px 14px rgba(159,101,0,.10)}
.nav-icon{width:25px;text-align:center;font-size:19px}.logout-side{margin-top:10px;width:100%;border:0;background:transparent;color:#8c7860;padding:10px 12px;border-radius:12px;font-weight:800;text-align:left}.logout-side:hover{background:#fff1e9;color:#b14646}

.rabbit-main{min-width:0}.rabbit-rightbar{top:18px}.right-card{border-color:#ecdcae;background:rgba(255,255,255,.90);box-shadow:0 8px 25px rgba(126,84,0,.05)}.right-card h3{display:flex;justify-content:space-between;gap:8px;color:#54442a}.right-card h3 span{background:#fff0b8;border-radius:999px;padding:2px 7px;color:#805400}.my-mini-card{background:linear-gradient(145deg,#fffdf8,#fff4c9)}.attention-card{border-color:#efcf72;background:#fff8d9}.person-button{width:100%;border:0;background:transparent;text-align:left;border-radius:12px;cursor:pointer}.person-button:hover{background:#fff7dc}.mini-link{border:0;background:transparent;color:#976700;font-size:12px;font-weight:900;padding:8px 0 0;cursor:pointer}.empty-mini{font-size:12px;color:var(--muted);padding:8px 0}.mini-group-icon{width:38px;height:38px;border-radius:12px;background:#fff3c2;display:grid;place-items:center}.group-mini{border-bottom:1px dashed #efe2bd}.group-mini:last-of-type{border-bottom:0}

.welcome-strip{position:relative;display:flex;align-items:center;justify-content:space-between;gap:14px;border:1px solid #edd189;border-radius:24px;padding:18px 18px;margin-bottom:12px;background:linear-gradient(120deg,#fff8d8,#fffef9 55%,#fff1b3);box-shadow:0 8px 24px rgba(126,84,0,.055);overflow:hidden}.welcome-strip:after{content:"🐰";position:absolute;right:100px;bottom:-24px;font-size:86px;opacity:.055;transform:rotate(-9deg);pointer-events:none}.welcome-strip h1{margin:4px 0 2px;font-size:23px;letter-spacing:-.4px}.welcome-strip p{margin:0;color:#796b52;font-size:13px}.hello-pill{display:inline-flex;align-items:center;padding:4px 9px;border-radius:999px;background:#fff0ac;color:#805200;font-size:11px;font-weight:950;border:1px solid #efd16a}.welcome-profile{border:0;background:rgba(255,255,255,.75);border-radius:18px;padding:9px;display:grid;justify-items:center;gap:3px;color:#765725;font-weight:900;font-size:11px;min-width:74px;box-shadow:0 6px 15px rgba(126,84,0,.07)}.welcome-profile .avatar{width:42px;height:42px;flex-basis:42px}

.card{border-color:#eee0b8;box-shadow:0 5px 22px rgba(88,62,12,.045)}
.rabbit-composer{background:rgba(255,255,255,.93);border-color:#ecd9a4}.create-post-trigger{display:grid;gap:2px;background:#fff6d7;border:1px solid #f0e1b1}.create-post-trigger b{font-size:15px;color:#4e3f24}.create-post-trigger span{font-size:12px;color:#93846a}.composer-tools .btn{background:#fff8e8;border:1px solid #f2e3b7;color:#6d5730}.composer-tools .btn:hover{background:#fff0bc}.feed-heading{display:flex;align-items:center;justify-content:space-between;padding:3px 5px 9px;color:#59482d}.feed-heading b{font-size:14px}.feed-heading span{font-size:11px;color:#91836d}
.feed-empty{padding:40px 22px;background:rgba(255,255,255,.92)}.feed-empty h3{margin:7px 0 3px;color:#514129}.feed-empty p{max-width:420px;margin:0 auto 14px;line-height:1.55}.empty-art{font-size:38px;line-height:1}

.rabbit-post{position:relative;background:rgba(255,255,255,.96);border-color:#eee0b8}.rabbit-post:hover{box-shadow:0 9px 28px rgba(88,62,12,.07)}.promoted-post{border-color:#e7bd42;box-shadow:0 8px 26px rgba(177,112,0,.08)}.promoted-ribbon{font-size:10px;font-weight:950;color:#6d4800;background:linear-gradient(90deg,#fff0a7,#ffdb63);padding:6px 12px;border-bottom:1px solid #edc951}.post-head{padding-top:13px}.post-head .avatar{width:46px;height:46px;flex-basis:46px;background:linear-gradient(145deg,#f3a56c,#e45b69)}.name{font-size:14.5px;color:#392f20}.you-dot{display:inline-block;margin-left:6px;padding:2px 6px;border-radius:999px;background:#fff0bd;color:#855c00;font-size:9px;vertical-align:middle}.owner-chip{font-size:9px;color:#8e7a59;background:#faf6ec;border-radius:999px;padding:4px 7px}.post-body{font-size:17px;line-height:1.74;color:#342f26;padding-bottom:13px}.post-media{position:relative;margin-left:10px;margin-right:10px;border-radius:18px;background:#eee6d3}.media-life{position:absolute;left:10px;bottom:10px;background:rgba(37,31,20,.62);color:white;padding:5px 8px;border-radius:999px;font-size:10px;backdrop-filter:blur(6px)}.post-stats{padding-top:8px}.post-stats button{border:0;background:transparent;color:var(--muted);font-size:12px;cursor:pointer}.post-stats button:hover{text-decoration:underline}.post-actions{border-top-color:#f0eadb}.post-actions button{transition:.15s ease}.post-actions button:hover{background:#fff7db;color:#7b5600}.post-actions .active-reaction{color:#d74b5a;background:#fff1f2}

.rich-title{display:flex;align-items:center;gap:11px;padding:2px 3px 13px}.rich-title .title-icon{width:44px;height:44px;border-radius:15px;background:linear-gradient(145deg,#fff4c7,#ffd65c);border:1px solid #eac24f;display:grid;place-items:center;font-size:21px;box-shadow:0 5px 15px rgba(126,84,0,.06)}.rich-title h1{font-size:23px;color:#433721}.rich-title p{font-size:12.5px}
.search-card{padding:14px}.search-field-wrap{position:relative;display:flex;align-items:center}.search-field-wrap>span{position:absolute;left:13px;font-size:22px;color:#a08758;pointer-events:none}.search-field-wrap .search-input{padding-left:42px;min-height:47px;background:#fffdf9}.search-submit{min-width:100px}.search-help{background:#fff9e8;border:1px solid #f0e2b9;border-radius:12px;padding:8px 10px;margin:9px 0;color:#7e6e54}.search-result-title{font-size:11px;font-weight:950;color:#9b8255;text-transform:uppercase;letter-spacing:.4px;padding:7px 4px}.member-card{padding:13px 8px;transition:.15s ease}.member-card:hover{background:#fffaf0}.member-card.self-result{background:linear-gradient(90deg,#fff8d8,#fffefb);border:1px solid #efd98a;border-radius:15px;margin:4px 0}.member-card .avatar{width:48px;height:48px;flex-basis:48px}.member-name{font-weight:950;color:#413624}.member-name>span{margin-left:6px;font-size:9px;padding:2px 6px;background:#ffe795;color:#795100;border-radius:999px}.member-action{flex:0 0 auto}.self-tag{background:#fff0b6;color:#7a5200}.compact-btn{padding:8px 11px;font-size:12px}.search-loading{text-align:center;padding:22px;color:var(--muted)}

.subheading,.group-toolbar{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:5px 4px 9px;color:#5a4a31}.subheading span,.group-toolbar span{font-size:11px;color:#93846d}.request-card{margin-bottom:14px;border-color:#efd47f;background:#fffdf5}.friend-row{min-height:72px}.friend-row .avatar{width:48px;height:48px;flex-basis:48px}.friend-actions{gap:6px}
.group-grid{display:grid;gap:10px}.group-card{display:flex;align-items:flex-start;gap:12px;padding:15px}.group-card h3{margin:1px 0 3px;font-size:16px}.group-card p{margin:0;color:var(--muted);font-size:12px;line-height:1.5}.group-avatar{width:52px;height:52px;border-radius:17px;background:linear-gradient(145deg,#fff4c6,#ffd658);border:1px solid #ebc552;display:grid;place-items:center;font-size:24px;flex:0 0 52px}.group-role{display:inline-block;margin-top:8px;padding:3px 7px;border-radius:999px;background:#fff4ce;color:#815d0d;font-size:10px;font-weight:900}.group-empty{grid-column:1/-1}

.chat-list{overflow:hidden}.chat-row{border:0;border-bottom:1px solid #f0eadb!important;background:white!important;cursor:pointer;min-height:70px}.chat-row:hover{background:#fffaf0!important}.chat-avatar{background:linear-gradient(145deg,#ffde71,#e5a600);color:#5d4300}.chat-side{display:flex;align-items:center;gap:8px;color:#a08f70}.chat-unread{min-width:22px;height:22px;border-radius:999px;background:#e7a500;color:#fff;display:grid;place-items:center;font-size:10px;font-weight:950}.ellipsis{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.bubble-wrap{background:linear-gradient(#fffefb,#fff9e9)}.bubble.me{background:linear-gradient(135deg,#ffdf76,#f0b400);color:#3e2d00}.bubble.them{background:#f4f1e8}.chat-compose{background:#fffdf8}

.profile-hero{overflow:hidden}.profile-cover{height:180px;background:linear-gradient(120deg,#ffe17d,#fff1bc 45%,#ffd058);background-size:cover;background-position:center}.profile-main-row{display:flex;align-items:end;gap:13px;padding:0 18px;margin-top:-35px}.profile-main-row .avatar{width:92px;height:92px;flex-basis:92px;border:5px solid white;box-shadow:0 5px 20px rgba(0,0,0,.10)}.profile-main-row h1{margin:0;font-size:24px}.profile-bio{padding:13px 18px 6px;line-height:1.6;color:#51493c}.profile-info-chips{display:flex;flex-wrap:wrap;gap:7px;padding:8px 18px 18px}.profile-info-chips span{font-size:11px;padding:6px 8px;border-radius:999px;background:#faf5e9;color:#75664e;border:1px solid #eee2c3}.profile-shortcuts{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin-top:10px}.shortcut-card{border:1px solid #eee0b8;background:white;text-align:left;padding:14px;cursor:pointer}.shortcut-card:hover{background:#fff9e8;border-color:#ebcb6d}.shortcut-card b{display:block;color:#4f3e22;margin-bottom:4px}.shortcut-card span{font-size:11px;color:var(--muted);line-height:1.4}

.notification-row.unread{background:#fff9df}.notification-icon{width:38px;height:38px;border-radius:13px;background:#fff1bb;display:grid;place-items:center}.unread-dot{width:9px;height:9px;border-radius:50%;background:#e5a600;flex:0 0 9px}

.comment-modal{width:min(620px,100%);padding:0;overflow:hidden}.modal-title-row{display:flex;align-items:flex-start;justify-content:space-between;gap:10px;padding:16px 16px 10px;border-bottom:1px solid #f0eadb}.modal-title-row h2{margin:0}.close-circle{width:36px;height:36px;border-radius:50%;border:1px solid #eadfbe;background:#fffaf0;font-size:23px;line-height:1}.comment-list{padding:12px 14px;max-height:55vh;overflow:auto;background:#fffdf8}.comment-item{display:flex;align-items:flex-start;gap:9px;margin:8px 0}.comment-item .avatar{width:36px;height:36px;flex-basis:36px}.comment-bubble{background:#f5f2e9;border-radius:15px;padding:9px 11px;max-width:85%;font-size:13px;line-height:1.5}.comment-bubble b{display:block;font-size:12px;margin-bottom:2px}.comment-bubble small{display:block;color:#93846c;font-size:10px;margin-top:4px}.comment-compose{display:grid;grid-template-columns:1fr auto;gap:8px;padding:11px;border-top:1px solid #eee3c7;background:white}.comment-compose textarea{min-height:46px;max-height:110px;resize:vertical}.comment-empty{padding:22px;text-align:center}

.rabbit-bottom-nav{background:rgba(255,252,242,.98);border-top-color:#e8d59d;box-shadow:0 -4px 18px rgba(126,84,0,.05)}.rabbit-bottom-nav button{position:relative;color:#8e7d62}.rabbit-bottom-nav button.active{background:#fff0b3;color:#805300}.bottom-icon{position:relative;display:block;font-size:19px;line-height:22px}.bottom-icon i{position:absolute;top:-5px;right:-8px;background:#e2515e;color:#fff;border-radius:999px;min-width:16px;height:16px;padding:0 4px;font-style:normal;font-size:9px;display:grid;place-items:center}.rabbit-bottom-nav small{display:block;font-size:9.5px;font-weight:850}

@media(min-width:1100px){.rabbit-topbar{display:none}.rabbit-layout{padding-top:18px;padding-bottom:30px}.rabbit-sidebar,.rabbit-rightbar{top:18px}}
@media(max-width:1099px){.side-brand{display:none}.rabbit-sidebar{top:84px}.rabbit-rightbar{top:84px}}
@media(max-width:980px){.rabbit-layout{grid-template-columns:195px minmax(0,1fr)}.rabbit-rightbar{display:none}}
@media(max-width:720px){
  body{background:linear-gradient(180deg,#fffdf7,#fff8e8)}
  .rabbit-topbar{height:64px;padding:8px 10px}.rabbit-topbar .rabbit-logo{width:42px;height:42px;flex-basis:42px}.rabbit-topbar .brand-copy strong{font-size:17px}.rabbit-topbar .brand-copy small{font-size:8px}.top-actions .icon-btn{width:40px;height:40px}
  .rabbit-layout{display:block;padding:10px 8px 92px}.rabbit-sidebar{display:none}.rabbit-main{max-width:680px;margin:auto}.rabbit-bottom-nav{display:grid;grid-template-columns:repeat(6,1fr);padding-left:3px;padding-right:3px}.rabbit-bottom-nav button{padding:6px 0}.rabbit-bottom-nav small{font-size:9px}
  .welcome-strip{padding:14px;border-radius:20px}.welcome-strip h1{font-size:20px}.welcome-strip p{font-size:12px}.welcome-strip:after{right:75px;font-size:68px}.welcome-profile{min-width:65px;padding:7px}.welcome-profile .avatar{width:38px;height:38px;flex-basis:38px}
  .rabbit-composer{border-radius:18px}.composer-tools{display:grid;grid-template-columns:repeat(3,1fr);gap:6px}.composer-tools .btn{font-size:11px;padding:8px 6px}
  .rabbit-post{border-radius:18px}.post-body{font-size:17px}.post-actions button{font-size:11.5px;padding:9px 4px}.owner-chip{display:none}
  .rich-title .title-icon{width:40px;height:40px}.rich-title h1{font-size:21px}
  .search-form{grid-template-columns:1fr}.search-submit{width:100%}.member-card{align-items:center;flex-wrap:nowrap}.member-action{flex-basis:auto}.compact-btn{font-size:11px;padding:8px 9px}.member-bio{max-width:230px}
  .friend-row{align-items:flex-start;flex-wrap:wrap}.friend-row .grow{min-width:160px}.friend-actions{width:100%;padding-left:58px}.friend-actions .btn{flex:1}
  .profile-main-row{align-items:center;flex-wrap:wrap;margin-top:-30px;padding:0 14px}.profile-main-row .avatar{width:82px;height:82px;flex-basis:82px}.profile-main-row .btn{margin-left:auto}.profile-cover{height:145px}.profile-shortcuts{grid-template-columns:1fr}.profile-info-chips{padding-left:14px;padding-right:14px}.profile-bio{padding-left:14px;padding-right:14px}
  .comment-modal{border-radius:22px 22px 12px 12px}.comment-compose{grid-template-columns:1fr auto}
}
@media(max-width:480px){
  .rabbit-topbar .brand-copy strong{max-width:165px}.rabbit-topbar .brand-copy small{max-width:165px;overflow:hidden;text-overflow:ellipsis}
  .rabbit-layout{padding-left:6px;padding-right:6px}.welcome-strip{margin-left:2px;margin-right:2px}.welcome-strip p{max-width:230px}.welcome-profile span{display:none}.welcome-profile{min-width:auto}.welcome-strip:after{display:none}
  .member-card{display:grid;grid-template-columns:auto 1fr;gap:9px}.member-action{grid-column:2}.member-action .btn,.member-action .relation-tag{display:inline-flex}.member-bio{max-width:240px}
  .post-head{padding-left:12px;padding-right:12px}.post-body{padding-left:12px;padding-right:12px}.post-stats{padding-left:12px;padding-right:12px}
  .comment-compose{grid-template-columns:1fr}.comment-compose .btn{width:100%}
}
@media(max-width:360px){.rabbit-bottom-nav small{font-size:8px}.bottom-icon{font-size:17px}.rabbit-topbar .brand-copy strong{max-width:135px}.rabbit-topbar .brand-copy small{display:none}.composer-tools{grid-template-columns:1fr 1fr 1fr}.composer-tools .btn{font-size:10px}}


/* Rabbit media/sticker/profile polish v7100 */
.line-icon{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round;display:block}.clean-nav-icon{display:grid;place-items:center;background:transparent!important;font-size:0!important}.rabbit-nav-card .nav-item{border-radius:14px}.rabbit-nav-card .nav-item.active .clean-nav-icon{background:rgba(255,255,255,.45)!important}.rabbit-bottom-nav .line-icon{width:21px;height:21px;margin:auto}.rabbit-bottom-nav .bottom-icon{display:grid;place-items:center;min-height:24px}
.media-fit-frame{width:calc(100% - 20px);min-height:120px;max-height:480px;display:grid;place-items:center;overflow:hidden;background:linear-gradient(135deg,#f7f2e7,#eee7d7);border:1px solid #eee1c0}.media-fit-frame img,.media-fit-frame video{display:block;width:100%;height:auto;max-width:100%;max-height:478px;object-fit:contain;margin:auto;background:#f5f1e8}.post-media img{width:100%;max-width:100%;height:auto}.post-media video{width:100%;max-width:100%}
.reaction-actions{position:relative}.reaction-main{font-weight:850!important}.reaction-menu{display:none;position:absolute;left:14px;bottom:48px;z-index:20;background:#fff;border:1px solid #ead7a3;border-radius:18px;padding:7px;box-shadow:0 14px 40px rgba(75,48,0,.17);gap:4px;align-items:stretch;max-width:calc(100% - 28px);overflow-x:auto}.reaction-menu.open{display:flex}.reaction-menu button{min-width:66px;border:0;background:transparent;border-radius:12px;padding:7px 6px;cursor:pointer;color:#65553b}.reaction-menu button:hover{background:#fff5d0}.reaction-menu button b{font-size:23px;display:block;line-height:1}.reaction-menu button span{font-size:9px;white-space:nowrap}.reaction-menu .reaction-clear b{font-size:20px;color:#9b8a6b}.active-reaction{color:#9a6500!important;background:#fff4c4!important}
.sticker-panel{background:#fffaf0;border:1px solid #efe1b8;border-radius:15px;padding:10px}.sticker-panel>b{font-size:12px;color:#755a29}.sticker-row,.comment-stickers{display:flex;gap:5px;overflow-x:auto;padding:7px 0 1px}.sticker-row button,.comment-stickers button{border:1px solid #ecdcae;background:white;border-radius:12px;min-width:42px;height:42px;font-size:22px;cursor:pointer;transition:.12s}.sticker-row button:hover,.comment-stickers button:hover{transform:translateY(-1px);background:#fff3c2}.upload-card{display:grid;gap:4px;border:1.5px dashed #dfbf67;background:#fffaf0;border-radius:16px;padding:12px}.upload-card>span{font-weight:900;color:#60491d}.upload-card>small{color:#998666}.compose-text{min-height:128px;font-size:16px;line-height:1.65}.comment-compose-rich{grid-template-columns:1fr auto}.comment-compose-rich .comment-stickers{grid-column:1/-1}.comment-compose-rich textarea{grid-column:1/2}.comment-compose-rich>.btn{grid-column:2/3}
.profile-edit-modal{width:min(760px,100%);max-height:92vh;overflow:auto}.profile-media-editor{display:grid;grid-template-columns:1fr;gap:18px}.editor-block{border:1px solid #eee1bd;background:#fffdf7;border-radius:18px;padding:12px}.edit-avatar-frame{width:180px;height:180px;border-radius:50%;overflow:hidden;margin:10px auto;background:#eee6d2;position:relative;display:grid;place-items:center}.edit-avatar-frame>img{width:100%;height:100%;object-fit:cover}.edit-avatar-frame canvas{position:absolute;inset:0;width:100%;height:100%}.edit-cover-frame{width:100%;aspect-ratio:8/3;border-radius:15px;overflow:hidden;background:#e9e1cf center/cover no-repeat;position:relative;display:grid;place-items:center}.edit-cover-frame canvas{position:absolute;inset:0;width:100%;height:100%}.cover-guide{position:relative;z-index:1;background:rgba(43,34,19,.55);color:#fff;border-radius:999px;padding:6px 10px;font-size:10px;pointer-events:none}.mini-crop-controls{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin-top:8px}.mini-crop-controls label{font-size:10px;color:#7f6f55}.mini-crop-controls input{width:100%}.profile-cover{background-size:cover!important;background-position:center!important;overflow:hidden}.profile-main-row .avatar img{width:100%;height:100%;object-fit:cover}
@media(max-width:720px){.media-fit-frame{max-height:360px;width:calc(100% - 12px);margin-left:6px;margin-right:6px}.media-fit-frame img,.media-fit-frame video{max-height:358px}.reaction-menu{left:7px;bottom:45px;max-width:calc(100% - 14px)}.reaction-menu button{min-width:59px}.mini-crop-controls{grid-template-columns:1fr}.profile-edit-modal{border-radius:22px 22px 10px 10px}.comment-compose-rich{grid-template-columns:1fr}.comment-compose-rich textarea,.comment-compose-rich>.btn{grid-column:1/-1}.comment-stickers{grid-column:1/-1}}
@media(max-width:420px){.media-fit-frame{max-height:300px}.media-fit-frame img,.media-fit-frame video{max-height:298px}.reaction-menu button{min-width:54px;padding:6px 4px}.reaction-menu button span{font-size:8px}.edit-avatar-frame{width:150px;height:150px}}

/* Rabbit owner menu + limits v7200 */
.owner-more{position:relative;margin-left:auto}.more-btn{width:36px;height:36px;border:0;border-radius:50%;background:transparent;font-size:26px;line-height:1;cursor:pointer}.more-btn:hover{background:#f3efe4}.more-btn.small{width:30px;height:30px;font-size:22px}.owner-menu{display:none;position:absolute;right:0;top:38px;z-index:30;min-width:155px;background:#fff;border:1px solid var(--border,#ece8dc);border-radius:14px;box-shadow:0 12px 32px rgba(0,0,0,.14);padding:6px}.owner-menu.open{display:block}.owner-menu button{display:block;width:100%;border:0;background:transparent;text-align:left;padding:10px 12px;border-radius:9px;cursor:pointer;font:inherit}.owner-menu button:hover{background:#f8f5ec}.owner-menu .danger{color:#b42318}.comment-head{display:flex;align-items:center;justify-content:space-between;gap:10px}.text-limit-wrap{position:relative}.char-count{display:block;text-align:right;color:var(--muted,#77736a);font-size:12px;margin-top:4px}.chat-compose .text-limit-wrap{flex:1}.post-media.media-fit-frame{width:100%;max-height:520px;overflow:hidden;background:#f5f2e9;border-radius:14px;display:flex;align-items:center;justify-content:center;position:relative}.post-media.media-fit-frame img,.post-media.media-fit-frame video{display:block;max-width:100%;width:auto;max-height:520px;height:auto;object-fit:contain}.media-life{position:absolute;right:8px;bottom:8px;background:rgba(0,0,0,.58);color:#fff;padding:4px 8px;border-radius:999px;font-size:11px}.sticker-row button,.comment-stickers button{font-size:24px;transition:transform .12s ease}.sticker-row button:hover,.comment-stickers button:hover{transform:scale(1.18)}
@media(max-width:700px){.post-media.media-fit-frame{max-height:420px}.post-media.media-fit-frame img,.post-media.media-fit-frame video{max-height:420px}}

/* ===== Rabbit realtime feed/comment/profile polish v7400 ===== */
.welcome-profile-rich{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:18px;padding:22px 24px}
.welcome-profile-big{border:0;background:transparent;padding:0;cursor:pointer}.welcome-profile-big .avatar{width:92px;height:92px;min-width:92px;border:4px solid #fff;box-shadow:0 7px 22px rgba(90,65,15,.17);font-size:30px}.welcome-profile-big .avatar img{width:100%;height:100%;object-fit:cover}
.welcome-copy h1{margin:4px 0 4px;font-size:clamp(24px,3vw,34px)}.welcome-copy p{margin:0;color:var(--muted);font-size:15px;line-height:1.6;max-width:650px}.welcome-edit{white-space:nowrap}
.inline-comments{padding:10px 16px 14px;border-top:1px solid var(--border);background:linear-gradient(180deg,#fffdf8,#fff)}
.comment-preview-item{padding:7px 0}.comment-preview-item .avatar{width:34px;height:34px;min-width:34px}.comment-preview-item .comment-bubble{padding:8px 11px;border-radius:15px;background:#f7f3e9}.comment-preview-item .comment-bubble small{display:block;margin-top:4px;color:var(--muted)}
.show-all-comments{width:100%;border:0;background:transparent;color:#8a6400;font-weight:800;padding:9px 8px 2px;cursor:pointer;text-align:left}.show-all-comments:hover{text-decoration:underline}
.rabbit-inline-sticker{display:inline-block;width:46px;height:46px;object-fit:contain;vertical-align:middle;margin:0 2px}.rabbit-inline-sticker.mini{width:34px;height:34px}.rich-post-text,.rich-comment-text{white-space:pre-wrap;overflow-wrap:anywhere}
.rabbit-sticker-picker{display:grid;grid-template-columns:repeat(5,minmax(62px,1fr));gap:7px;padding:9px}.rabbit-sticker-picker button{border:1px solid #eadcae;background:#fffdf5;border-radius:14px;padding:5px;cursor:pointer;display:grid;place-items:center;gap:2px;transition:.15s}.rabbit-sticker-picker button:hover{transform:translateY(-2px);background:#fff3c8}.rabbit-sticker-picker img{width:54px;height:54px;object-fit:contain}.rabbit-sticker-picker small{font-size:10px;color:#6e5a27;white-space:nowrap}
.sticker-toggle{border:1px solid #ead07a;background:#fff8dc;border-radius:14px;min-width:42px;height:42px;font-size:22px;cursor:pointer}.sticker-toggle.wide{width:max-content;padding:0 13px;font-size:14px;font-weight:800}.comment-sticker-drawer,.compose-sticker-drawer{display:none}.comment-sticker-drawer.open,.compose-sticker-drawer.open{display:block}.comment-sticker-drawer{position:absolute;left:10px;right:10px;bottom:68px;background:#fff;border:1px solid #eadcae;border-radius:18px;box-shadow:0 12px 36px rgba(66,48,13,.18);z-index:4}
.comment-panel-responsive{width:min(760px,94vw);height:min(760px,88vh);display:flex;flex-direction:column;padding:0;overflow:hidden}.comment-panel-head{padding:18px 20px;border-bottom:1px solid var(--border);flex:0 0 auto}.comment-scroll-area{padding:10px 18px;overflow-y:auto;overscroll-behavior:contain;flex:1;min-height:0}.sticky-comment-compose{position:relative;flex:0 0 auto;border-top:1px solid var(--border);padding:10px 12px;background:#fff;align-items:flex-end}.sticky-comment-compose textarea{min-height:44px;max-height:100px;resize:none}
.chat-sound-status{font-size:12px;color:var(--muted);margin-left:auto}.chat-room-card{overflow:hidden}.bubble-wrap{max-height:calc(100vh - 290px);overflow-y:auto;overscroll-behavior:contain}
.feed-heading span{display:inline-flex;align-items:center;gap:5px}.feed-heading span:before{content:'●';font-size:9px;color:#32a852}
@media(max-width:760px){.welcome-profile-rich{grid-template-columns:auto 1fr;padding:16px 14px;gap:12px}.welcome-profile-big .avatar{width:76px;height:76px;min-width:76px}.welcome-edit{display:none}.welcome-copy h1{font-size:23px}.welcome-copy p{font-size:13px;line-height:1.45}.comment-modal-bg{align-items:flex-end;padding:0}.comment-panel-responsive{width:100%;height:88dvh;max-height:88dvh;border-radius:24px 24px 0 0;margin:0}.comment-scroll-area{padding:8px 11px}.rabbit-sticker-picker{grid-template-columns:repeat(5,1fr);gap:4px;padding:7px}.rabbit-sticker-picker img{width:45px;height:45px}.rabbit-sticker-picker small{display:none}.comment-sticker-drawer{left:6px;right:6px;bottom:64px}.inline-comments{padding-left:12px;padding-right:12px}.chat-sound-status{display:none}.bubble-wrap{max-height:calc(100dvh - 250px)}}
@media(max-width:390px){.welcome-profile-big .avatar{width:68px;height:68px;min-width:68px}.rabbit-sticker-picker{grid-template-columns:repeat(5,1fr)}.rabbit-sticker-picker img{width:40px;height:40px}}
.rabbit-rich-editor{min-height:96px;max-height:210px;overflow-y:auto;outline:none;white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.55}.comment-compose .rabbit-rich-editor{min-height:44px;max-height:100px}.rabbit-rich-editor:empty:before{content:attr(data-placeholder);color:#9c9585;pointer-events:none}.rabbit-editor-sticker{width:42px;height:42px;object-fit:contain;display:inline-block;vertical-align:middle;margin:0 2px;user-select:none}.comment-compose .rabbit-editor-sticker{width:34px;height:34px}

/* ===== Rabbit readability + media + comment composer lock v7600 ===== */
:root{
  --rabbit-text-sm:13px;
  --rabbit-text-md:15px;
  --rabbit-text-base:16px;
  --rabbit-text-lg:18px;
  --rabbit-line:1.62;
}
body{font-size:var(--rabbit-text-base);line-height:var(--rabbit-line);text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased}
.name{font-size:15px;line-height:1.35;letter-spacing:-.01em}.meta{font-size:12.5px;line-height:1.45}.post-body{font-size:17px;line-height:1.7;letter-spacing:.002em}.post-stats{font-size:13px}.post-stats button{font-size:13px}.post-actions button{font-size:14px;line-height:1.3}.section-title h1{font-size:27px}.section-title p{font-size:14px;line-height:1.55}.right-card h3{font-size:15px}.nav-item{font-size:15px}.composer-trigger{font-size:14.5px}.composer-trigger b{font-size:15.5px}.welcome-copy p{font-size:15.5px;line-height:1.62}.feed-heading{font-size:15px}.feed-heading span{font-size:12.5px}

/* Hard media size lock: no later generic rule should make post media gigantic. */
.rabbit-post .post-media,
.rabbit-post .post-media.media-fit-frame{width:calc(100% - 28px)!important;max-width:652px!important;margin:4px auto 12px!important;max-height:460px!important;border-radius:18px!important;background:#f3f1ec!important;display:flex!important;align-items:center!important;justify-content:center!important;overflow:hidden!important}
.rabbit-post .post-media img,
.rabbit-post .post-media video,
.rabbit-post .post-media.media-fit-frame img,
.rabbit-post .post-media.media-fit-frame video{display:block!important;width:auto!important;height:auto!important;max-width:100%!important;max-height:460px!important;object-fit:contain!important;margin:auto!important;background:#f3f1ec!important}
.rabbit-post .post-media video{width:100%!important}

/* Comments: more readable, less cramped. */
.inline-comments{padding:12px 16px 15px}.comment-item{gap:10px;margin:9px 0}.comment-item .avatar,.comment-preview-item .avatar{width:38px;height:38px;min-width:38px;flex-basis:38px}.comment-bubble,.comment-preview-item .comment-bubble{max-width:min(88%,620px);font-size:15px;line-height:1.58;padding:10px 13px;border-radius:17px;background:#f7f4ed;border:1px solid #eee8d9}.comment-bubble b,.comment-head b{display:block;font-size:14px;line-height:1.3;margin:0}.comment-bubble small,.comment-preview-item .comment-bubble small{font-size:11.5px;line-height:1.35;margin-top:5px;color:#8a8171}.rich-comment-text{font-size:15px;line-height:1.58}.show-all-comments{font-size:14px;padding:10px 4px 3px}.comment-panel-head h2{font-size:22px}.comment-panel-head .meta{font-size:13px}

/* Comment input redesigned as one compact responsive control. */
.sticky-comment-compose.comment-compose-rich{display:grid!important;grid-template-columns:46px minmax(0,1fr) auto!important;grid-template-areas:"sticker editor send" "drawer drawer drawer"!important;gap:9px!important;align-items:end!important;padding:12px 14px!important;background:#fffdf9!important;box-shadow:0 -8px 24px rgba(62,48,18,.04)}
.sticky-comment-compose .sticker-toggle{grid-area:sticker;width:46px;height:46px;border-radius:15px;background:#fff7d6;border:1px solid #ead58e;display:grid;place-items:center;font-size:23px;box-shadow:0 2px 8px rgba(83,60,10,.05)}
.sticky-comment-compose .text-limit-wrap{grid-area:editor;position:relative;margin:0}.sticky-comment-compose .rabbit-rich-editor{min-height:46px;max-height:116px;padding:11px 44px 20px 13px!important;border:1px solid #e5dfd2!important;border-radius:17px!important;background:#fff!important;font-size:15px!important;line-height:1.5!important;box-shadow:inset 0 1px 2px rgba(0,0,0,.02)}.sticky-comment-compose .rabbit-rich-editor:focus{border-color:var(--primary)!important;box-shadow:0 0 0 3px color-mix(in srgb,var(--primary) 16%,transparent)!important}.sticky-comment-compose .char-count{position:absolute;right:10px;bottom:5px;font-size:10.5px;color:#948b7a;background:#fff;padding-left:4px}.sticky-comment-compose>.btn{grid-area:send;min-width:68px;height:46px;border-radius:15px;padding:0 15px;font-size:14px}.sticky-comment-compose .comment-sticker-drawer{grid-area:drawer;position:static!important;left:auto!important;right:auto!important;bottom:auto!important;margin-top:2px;background:#fffaf0;border:1px solid #eadcae;border-radius:18px;box-shadow:0 10px 28px rgba(66,48,13,.10);overflow:hidden}.sticky-comment-compose .rabbit-sticker-picker{grid-template-columns:repeat(10,minmax(50px,1fr));gap:6px;padding:9px}.sticky-comment-compose .rabbit-sticker-picker button{min-width:0;padding:5px 3px;border-radius:13px}.sticky-comment-compose .rabbit-sticker-picker img{width:44px;height:44px}.sticky-comment-compose .rabbit-sticker-picker small{display:none}

/* Make the sticker images inside comments pleasant but not oversized. */
.rich-comment-text .rabbit-inline-sticker{width:38px;height:38px;vertical-align:middle}.comment-compose .rabbit-editor-sticker{width:32px;height:32px}

@media(max-width:760px){
  .post-body{font-size:16.5px;line-height:1.66}.name{font-size:14.5px}.meta{font-size:12px}.post-actions button{font-size:13px}.post-stats,.post-stats button{font-size:12.5px}
  .rabbit-post .post-media,.rabbit-post .post-media.media-fit-frame{width:calc(100% - 16px)!important;max-height:360px!important;margin:3px 8px 10px!important;border-radius:15px!important}
  .rabbit-post .post-media img,.rabbit-post .post-media video,.rabbit-post .post-media.media-fit-frame img,.rabbit-post .post-media.media-fit-frame video{max-height:360px!important}
  .comment-bubble,.comment-preview-item .comment-bubble{font-size:14.5px;max-width:calc(100vw - 82px);padding:9px 11px}.comment-bubble b,.comment-head b{font-size:13.5px}.rich-comment-text{font-size:14.5px}.comment-bubble small,.comment-preview-item .comment-bubble small{font-size:11px}
  .sticky-comment-compose.comment-compose-rich{grid-template-columns:44px minmax(0,1fr) 62px!important;gap:7px!important;padding:9px 9px calc(9px + env(safe-area-inset-bottom))!important}.sticky-comment-compose .sticker-toggle{width:44px;height:44px}.sticky-comment-compose>.btn{height:44px;min-width:62px;padding:0 10px}.sticky-comment-compose .rabbit-rich-editor{min-height:44px;font-size:16px!important;padding-top:9px!important}.sticky-comment-compose .rabbit-sticker-picker{grid-template-columns:repeat(5,1fr);gap:5px;padding:7px}.sticky-comment-compose .rabbit-sticker-picker img{width:48px;height:48px}
}
@media(max-width:390px){.sticky-comment-compose.comment-compose-rich{grid-template-columns:42px minmax(0,1fr) 56px!important}.sticky-comment-compose .sticker-toggle{width:42px;height:42px}.sticky-comment-compose>.btn{height:42px;min-width:56px;font-size:13px}.sticky-comment-compose .rabbit-rich-editor{min-height:42px}.comment-item .avatar,.comment-preview-item .avatar{width:34px;height:34px;min-width:34px;flex-basis:34px}.comment-bubble,.comment-preview-item .comment-bubble{max-width:calc(100vw - 72px)}}

/* ===== Rabbit FIX 1: password eye + reactions + mobile history UI v7700 ===== */
.password-field-wrap{position:relative;display:block}.password-field-wrap .field{width:100%;padding-right:50px}.password-eye{position:absolute;right:8px;top:50%;transform:translateY(-50%);width:38px;height:38px;border:0;border-radius:12px;background:transparent;font-size:20px;cursor:pointer;display:grid;place-items:center;opacity:.72}.password-eye:hover,.password-eye:focus-visible{background:#fff3c4;opacity:1;outline:none}.password-eye.showing{background:#fff8de}

.reaction-stat-row{display:flex!important;align-items:center;justify-content:space-between;gap:10px;min-height:38px}.reaction-breakdown{display:flex;align-items:center;gap:6px;flex-wrap:wrap;min-width:0}.reaction-summary-chip{display:inline-flex!important;align-items:center!important;gap:4px!important;border:1px solid #eee3bd!important;background:#fffaf0!important;border-radius:999px!important;padding:4px 8px!important;font-size:13px!important;line-height:1!important;cursor:pointer;color:#514833!important;min-height:28px}.reaction-summary-chip span{font-size:18px;line-height:1}.reaction-summary-chip b{font-size:12.5px}.reaction-summary-chip:hover{background:#fff2be!important;border-color:#e4c75f!important;transform:translateY(-1px)}.no-reaction-yet{font-size:12px;color:var(--muted)}
.rabbit-post{position:relative}.reaction-menu{z-index:30!important;box-shadow:0 14px 38px rgba(70,50,10,.18)!important}.reaction-menu .reaction-choice.selected{background:#fff0ad!important;border-color:#e2bc35!important}.reaction-menu .reaction-choice b{font-size:22px}.reaction-menu .reaction-choice span{font-size:12px}

.reaction-users-bg{align-items:center}.reaction-users-modal{width:min(440px,92vw);max-height:min(620px,82vh);overflow:hidden;display:flex;flex-direction:column}.reaction-user-list{overflow-y:auto;overscroll-behavior:contain;padding:4px 2px 8px}.reaction-user-row{display:flex;align-items:center;gap:11px;padding:10px 8px;border-bottom:1px solid #f0eadc}.reaction-user-row:last-child{border-bottom:0}.reaction-user-row .avatar{width:44px;height:44px;min-width:44px}.reaction-user-row b{font-size:15px}.reaction-user-row .meta{font-size:12px;margin-top:2px}

@media(max-width:760px){.reaction-stat-row{align-items:flex-start}.reaction-breakdown{gap:5px}.reaction-summary-chip{padding:4px 7px!important;min-height:30px}.reaction-summary-chip span{font-size:19px}.reaction-users-bg{align-items:flex-end!important;padding:0!important}.reaction-users-modal{width:100%!important;max-width:none!important;max-height:78dvh!important;border-radius:24px 24px 0 0!important;margin:0!important;padding-bottom:calc(10px + env(safe-area-inset-bottom))}.reaction-user-row{padding:11px 10px}.password-eye{width:42px;height:42px;right:5px}}
\n\n/* ===== Rabbit mobile/profile + anchored reaction picker FIX v7800 ===== */\n.reaction-menu{position:fixed!important;left:auto;top:auto;bottom:auto;z-index:9999!important;max-width:min(560px,calc(100vw - 16px))!important;overflow-x:auto!important;overscroll-behavior:contain;transform:none!important}\n.reaction-menu.open{display:flex!important}\n.rabbit-post .post-media,.rabbit-post .post-media.media-fit-frame{max-height:420px!important}\n.rabbit-post .post-media img,.rabbit-post .post-media video,.rabbit-post .post-media.media-fit-frame img,.rabbit-post .post-media.media-fit-frame video{max-height:420px!important}\n@media(max-width:760px){\n  .profile-cover{height:108px!important}\n  .profile-main-row{display:grid!important;grid-template-columns:82px minmax(0,1fr)!important;grid-template-rows:auto auto!important;align-items:center!important;gap:4px 12px!important;margin-top:-42px!important;padding:0 14px!important}\n  .profile-main-row .avatar{grid-row:1/3!important;width:82px!important;height:82px!important;min-width:82px!important;flex-basis:82px!important;border-width:4px!important}\n  .profile-main-row .grow{grid-column:2!important;grid-row:1!important;min-width:0!important;padding-top:34px!important}\n  .profile-main-row h1{font-size:22px!important;line-height:1.18!important;margin:0!important;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;overflow-wrap:anywhere}\n  .profile-main-row .meta{font-size:13px!important;margin-top:3px!important}\n  .profile-main-row .btn{grid-column:2!important;grid-row:2!important;margin:2px 0 0!important;justify-self:start!important;padding:8px 12px!important;font-size:13px!important;white-space:nowrap}\n  .profile-bio{padding:12px 14px 5px!important;font-size:15px!important;line-height:1.55!important}\n  .profile-info-chips{padding:7px 14px 15px!important;gap:6px!important}\n  .profile-info-chips span{font-size:11.5px!important;padding:6px 8px!important}\n  .rabbit-post .post-media,.rabbit-post .post-media.media-fit-frame{width:calc(100% - 16px)!important;max-height:320px!important;margin:3px 8px 10px!important}\n  .rabbit-post .post-media img,.rabbit-post .post-media video,.rabbit-post .post-media.media-fit-frame img,.rabbit-post .post-media.media-fit-frame video{max-height:320px!important}\n  .reaction-menu{max-width:calc(100vw - 16px)!important;padding:7px!important}\n}\n@media(max-width:390px){\n  .profile-cover{height:96px!important}\n  .profile-main-row{grid-template-columns:74px minmax(0,1fr)!important;margin-top:-38px!important;gap:3px 10px!important}\n  .profile-main-row .avatar{width:74px!important;height:74px!important;min-width:74px!important;flex-basis:74px!important}\n  .profile-main-row .grow{padding-top:30px!important}\n  .profile-main-row h1{font-size:20px!important}\n  .rabbit-post .post-media,.rabbit-post .post-media.media-fit-frame{max-height:285px!important}\n  .rabbit-post .post-media img,.rabbit-post .post-media video,.rabbit-post .post-media.media-fit-frame img,.rabbit-post .post-media.media-fit-frame video{max-height:285px!important}\n}\n

/* ===== Rabbit FIX reaction desktop + profile mobile v7900 ===== */
@media(min-width:761px){
  .reaction-menu{transform:none!important}
}
@media(max-width:760px){
  .profile-hero{overflow:visible!important}
  .profile-cover{height:96px!important;min-height:96px!important}
  .profile-main-row{
    display:grid!important;
    grid-template-columns:88px minmax(0,1fr)!important;
    grid-template-rows:auto auto!important;
    align-items:center!important;
    column-gap:12px!important;
    row-gap:4px!important;
    margin-top:-56px!important;
    padding:0 14px 2px!important;
    position:relative!important;
    z-index:2!important;
  }
  .profile-main-row .avatar{
    grid-column:1!important;
    grid-row:1 / 3!important;
    width:88px!important;
    height:88px!important;
    min-width:88px!important;
    flex-basis:88px!important;
    border:4px solid #fff!important;
    box-shadow:0 8px 20px rgba(65,45,8,.16)!important;
  }
  .profile-main-row .grow{
    grid-column:2!important;
    grid-row:1!important;
    min-width:0!important;
    padding-top:0!important;
    align-self:end!important;
    margin:0!important;
  }
  .profile-main-row h1{
    margin:0!important;
    font-size:22px!important;
    line-height:1.12!important;
    max-width:100%!important;
    white-space:normal!important;
    word-break:break-word!important;
  }
  .profile-main-row .meta{
    margin-top:3px!important;
    font-size:13px!important;
    line-height:1.25!important;
  }
  .profile-main-row .btn{
    grid-column:2!important;
    grid-row:2!important;
    justify-self:start!important;
    align-self:start!important;
    margin:0!important;
    padding:7px 11px!important;
    font-size:12.5px!important;
    min-height:36px!important;
    white-space:nowrap!important;
  }
  .profile-bio{padding:10px 14px 5px!important}
  .profile-info-chips{padding:6px 14px 14px!important}
}
@media(max-width:390px){
  .profile-cover{height:88px!important;min-height:88px!important}
  .profile-main-row{grid-template-columns:80px minmax(0,1fr)!important;margin-top:-52px!important;column-gap:10px!important}
  .profile-main-row .avatar{width:80px!important;height:80px!important;min-width:80px!important;flex-basis:80px!important}
  .profile-main-row h1{font-size:20px!important}
}
\n\n/* ===== Rabbit exact desktop reaction band FIX v7960 ===== */\n@media(min-width:761px){\n  .rabbit-post .reaction-menu{\n    position:fixed!important;\n    z-index:10020!important;\n    display:none;\n    align-items:center!important;\n    justify-content:center!important;\n    gap:3px!important;\n    padding:5px 8px!important;\n    min-height:54px!important;\n    max-height:58px!important;\n    border-radius:18px!important;\n    white-space:nowrap!important;\n    overflow:visible!important;\n  }\n  .rabbit-post .reaction-menu.open{display:flex!important}\n  .rabbit-post .reaction-menu .reaction-choice{\n    min-width:68px!important;\n    height:46px!important;\n    padding:3px 7px!important;\n    border-radius:13px!important;\n    display:flex!important;\n    flex-direction:column!important;\n    align-items:center!important;\n    justify-content:center!important;\n    gap:1px!important;\n  }\n  .rabbit-post .reaction-menu .reaction-choice b{font-size:21px!important;line-height:1!important}\n  .rabbit-post .reaction-menu .reaction-choice span{font-size:11px!important;line-height:1.05!important}\n}\n\n\n/* ===== Rabbit always-visible reactions FIX v8000 ===== */\n.rabbit-post .reaction-menu{display:none!important}\n.reaction-always-row{\n  display:grid!important;\n  grid-template-columns:repeat(5,minmax(0,1fr));\n  gap:7px;\n  padding:9px 14px 8px;\n  border-top:1px solid #f1ead8;\n  background:linear-gradient(180deg,#fffdf8 0%,#fffaf0 100%);\n}\n.reaction-always-btn{\n  min-width:0;min-height:58px;border:1px solid #eadfca;border-radius:15px;background:#fff;\n  display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;\n  padding:6px 4px;color:#665b48;cursor:pointer;transition:transform .14s ease,background .14s ease,border-color .14s ease,box-shadow .14s ease;\n}\n.reaction-always-btn:hover{background:#fff7d9;border-color:#e1c45f;transform:translateY(-1px);box-shadow:0 5px 12px rgba(96,69,14,.08)}\n.reaction-always-btn.selected{background:#fff0ad!important;border-color:#dcb629!important;color:#7a5600!important;box-shadow:inset 0 0 0 1px rgba(220,182,41,.15),0 5px 12px rgba(96,69,14,.10)}\n.reaction-always-btn .reaction-icon{font-size:24px;line-height:1}\n.reaction-always-btn .reaction-name{font-size:11.5px;font-weight:750;line-height:1.12;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%}\n.secondary-post-actions{grid-template-columns:repeat(2,minmax(0,1fr))!important}\n.secondary-post-actions button{min-height:42px}\n@media(max-width:760px){\n .reaction-always-row{gap:5px;padding:8px 8px 7px}\n .reaction-always-btn{min-height:54px;border-radius:13px;padding:5px 2px}\n .reaction-always-btn .reaction-icon{font-size:22px}\n .reaction-always-btn .reaction-name{font-size:10px}\n}\n@media(max-width:390px){\n .reaction-always-row{gap:4px;padding-left:6px;padding-right:6px}\n .reaction-always-btn{min-height:51px}\n .reaction-always-btn .reaction-icon{font-size:21px}\n .reaction-always-btn .reaction-name{font-size:9px}\n}\n
/* ===== Rabbit borderless reaction buttons FIX v8010 ===== */
.reaction-always-row{
  border-top:0!important;
  background:transparent!important;
  gap:8px!important;
  padding-top:8px!important;
}
.reaction-always-btn{
  border:0!important;
  outline:0!important;
  box-shadow:none!important;
  background:transparent!important;
  border-radius:13px!important;
  min-height:54px!important;
}
.reaction-always-btn:hover{
  border:0!important;
  box-shadow:none!important;
  background:rgba(255,241,183,.58)!important;
  transform:translateY(-1px);
}
.reaction-always-btn.selected{
  border:0!important;
  outline:0!important;
  box-shadow:none!important;
  background:rgba(255,224,99,.38)!important;
  color:#795500!important;
}
.reaction-always-btn:focus,.reaction-always-btn:focus-visible{
  border:0!important;
  outline:0!important;
  box-shadow:none!important;
}
@media(max-width:760px){
  .reaction-always-row{gap:4px!important;padding:7px 6px 6px!important}
  .reaction-always-btn{min-height:50px!important;border-radius:11px!important}
}

/* ===== Rabbit ALL FIX: online/chat/cover/notifications/login eye ===== */
.friend-presence{display:inline-flex;align-items:center;gap:7px;font-weight:700;font-size:.92rem}
.friend-presence .presence-dot{width:9px;height:9px;border-radius:50%;display:inline-block;background:#aab2bd;box-shadow:0 0 0 3px rgba(170,178,189,.14)}
.friend-presence.online{color:#168a52}.friend-presence.online .presence-dot{background:#21c875;box-shadow:0 0 0 3px rgba(33,200,117,.16)}
.friend-presence.offline{color:var(--muted,#7b8190)}
.profile-color-cover{background-image:none!important;min-height:180px}
.cover-color-layout{grid-template-columns:minmax(260px,.8fr) minmax(300px,1.2fr)}
.cover-color-editor{align-content:start}.cover-color-preview{height:150px;border-radius:22px;display:flex;align-items:flex-end;padding:18px 20px;color:rgba(0,0,0,.58);font-weight:900;font-size:1.15rem;box-shadow:inset 0 0 0 1px rgba(0,0,0,.05);transition:background .18s ease}
.cover-color-grid{display:grid;grid-template-columns:repeat(6,1fr);gap:10px;margin-top:14px}.cover-color-swatch{appearance:none;border:0;width:100%;aspect-ratio:1;border-radius:14px;cursor:pointer;box-shadow:0 2px 10px rgba(0,0,0,.08);transition:transform .15s ease,box-shadow .15s ease}.cover-color-swatch:hover{transform:translateY(-2px)}.cover-color-swatch.selected{box-shadow:0 0 0 3px #fff,0 0 0 6px var(--primary,#f0a52b),0 4px 14px rgba(0,0,0,.16)}
.notification-clickable{width:100%;border:0;background:transparent;text-align:left;cursor:pointer;font:inherit;color:inherit}.notification-clickable:hover{background:rgba(255,190,70,.08)}.notification-arrow{font-size:1.7rem;color:var(--muted,#8b8f98);line-height:1}.notification-target{animation:rabbitTargetPulse 1.7s ease}@keyframes rabbitTargetPulse{0%,100%{box-shadow:0 8px 28px rgba(0,0,0,.06)}35%{box-shadow:0 0 0 4px rgba(255,184,70,.32),0 12px 32px rgba(0,0,0,.10)}}
.password-field-wrap{position:relative}.password-field-wrap>.field{padding-right:52px!important}.password-eye{position:absolute;right:8px;top:50%;transform:translateY(-50%);width:38px;height:38px;border:0;background:transparent;border-radius:50%;cursor:pointer;font-size:1.18rem;display:grid;place-items:center}.password-eye:hover{background:rgba(0,0,0,.055)}
.chat-sound-status{font-size:.87rem;color:var(--muted,#7d8491)}
@media(max-width:760px){.cover-color-layout{grid-template-columns:1fr}.cover-color-grid{grid-template-columns:repeat(6,1fr)}.cover-color-preview{height:118px}.profile-color-cover{min-height:112px!important;height:112px!important}.notification-clickable{padding:14px 12px}.friend-presence{font-size:.9rem}}
@media(max-width:420px){.cover-color-grid{grid-template-columns:repeat(4,1fr)}}

/* ===== Rabbit chat UI + presence + reaction4 FIX v9200 ===== */
.profile-hero{overflow:hidden}.profile-main-row h1{color:var(--profile-cover-text,#2f2515);text-shadow:0 1px 2px rgba(0,0,0,.14)}.profile-main-row .meta{color:var(--profile-cover-text,#2f2515);opacity:.84;text-shadow:0 1px 2px rgba(0,0,0,.12)}
.reaction-always-row{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:6px!important}.reaction-always-btn{min-height:48px!important}.reaction-always-btn .reaction-name{font-size:11.5px!important}
.chat-list-card{overflow:hidden;padding:0!important}.chat-list-row{width:100%;display:flex;align-items:center;gap:12px;padding:14px 16px;border:0;border-bottom:1px solid #f0eadc;background:#fff;text-align:left;cursor:pointer;color:inherit}.chat-list-row:last-child{border-bottom:0}.chat-list-row:hover{background:#fffaf0}.chat-list-row .avatar{width:50px;height:50px;min-width:50px}.chat-list-name{font-weight:850;font-size:1rem;line-height:1.25}.chat-list-meta{display:flex;align-items:center;gap:9px;min-width:0;margin-top:4px}.chat-list-meta .friend-presence{font-size:.78rem;flex:0 0 auto}.chat-last-message{font-size:.82rem;color:var(--muted,#7d8491);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;min-width:0}.chat-unread-badge{min-width:24px;height:24px;padding:0 7px;border-radius:999px;background:var(--primary,#f0a52b);color:#fff;font-size:.75rem;font-weight:900;display:grid;place-items:center}.chat-list-arrow{font-size:1.5rem;color:#aaa08e}
.chat-room-screen{height:min(720px,calc(100dvh - 116px));min-height:460px;padding:0!important;overflow:hidden;display:flex;flex-direction:column}.chat-room-header{flex:0 0 auto;display:flex;align-items:center;gap:11px;padding:11px 14px;border-bottom:1px solid #eee4cf;background:#fffdf8}.chat-room-header .avatar{width:46px;height:46px;min-width:46px}.chat-back-circle{width:38px;height:38px;border:0;border-radius:50%;background:#f5efe3;cursor:pointer;font-size:1.25rem}.chat-peer-copy{min-width:0}.chat-peer-copy>b{display:block;font-size:1.02rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.chat-peer-sub{display:flex;align-items:center;gap:9px;margin-top:3px;font-size:.78rem;color:var(--muted,#7d8491)}.chat-peer-sub .friend-presence{font-size:.78rem}.chat-sound-mini{font-size:1rem;opacity:.7}.chat-message-scroll{flex:1 1 auto;min-height:0;overflow-y:auto;overscroll-behavior:contain;padding:16px 15px 12px;background:linear-gradient(180deg,#fffdf8 0%,#fff 100%);scrollbar-gutter:stable}.chat-message-scroll .bubble{max-width:min(78%,560px);margin:7px 0;padding:10px 13px;border-radius:18px;line-height:1.45;word-break:break-word}.chat-message-scroll .bubble.me{margin-left:auto}.chat-message-scroll .bubble.them{margin-right:auto}.chat-message-scroll .bubble .meta{margin-top:5px;font-size:.72rem}.chat-compose-fixed{position:relative;flex:0 0 auto;display:flex;align-items:flex-end;gap:8px;padding:10px 12px calc(10px + env(safe-area-inset-bottom));border-top:1px solid #eee4cf;background:#fff;z-index:3}.chat-compose-fixed .text-limit-wrap{position:relative}.chat-compose-fixed textarea.field{min-height:44px!important;max-height:104px;resize:none;border-radius:18px!important;padding:11px 44px 11px 13px!important;line-height:1.35}.chat-compose-fixed .char-count{position:absolute;right:10px;bottom:5px;font-size:.67rem}.chat-emoji-toggle{width:42px;height:42px;flex:0 0 42px;border:0;border-radius:50%;background:#fff5d7;font-size:1.25rem;cursor:pointer}.chat-send-btn{min-height:42px;padding-left:16px!important;padding-right:16px!important;border-radius:16px!important}.chat-emoji-tray{display:none;position:absolute;left:10px;bottom:calc(100% + 7px);grid-template-columns:repeat(5,46px);gap:5px;padding:8px;background:#fff;border-radius:16px;box-shadow:0 12px 34px rgba(56,43,17,.16);border:1px solid #f0e5cd;z-index:20}.chat-emoji-tray.open{display:grid}.chat-emoji-choice{width:46px;height:42px;border:0;border-radius:12px;background:transparent;font-size:1.35rem;cursor:pointer}.chat-emoji-choice:hover{background:#fff5d7}.chat-empty{margin:auto}
@media(max-width:760px){.profile-main-row h1,.profile-main-row .meta{color:var(--profile-cover-text,#2f2515)!important}.reaction-always-row{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:2px!important;padding:6px 4px!important}.reaction-always-btn{min-height:46px!important;padding:4px 1px!important}.reaction-always-btn .reaction-icon{font-size:20px!important}.reaction-always-btn .reaction-name{font-size:9.7px!important}.chat-room-screen{height:calc(100dvh - 132px);min-height:380px;border-radius:18px!important}.chat-room-header{padding:9px 10px}.chat-room-header .avatar{width:42px;height:42px;min-width:42px}.chat-message-scroll{padding:12px 10px 10px}.chat-message-scroll .bubble{max-width:86%}.chat-compose-fixed{padding:8px 8px calc(8px + env(safe-area-inset-bottom));gap:6px}.chat-emoji-toggle{width:40px;height:40px;flex-basis:40px}.chat-send-btn{min-height:40px;padding-left:12px!important;padding-right:12px!important}.chat-emoji-tray{left:6px;grid-template-columns:repeat(5,42px);padding:7px}.chat-emoji-choice{width:42px;height:40px}.chat-list-row{padding:12px}.chat-list-row .avatar{width:46px;height:46px;min-width:46px}}
@media(max-width:390px){.reaction-always-btn .reaction-name{font-size:9px!important}.chat-peer-sub{gap:6px}.chat-peer-sub>span:first-child{max-width:90px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.chat-emoji-tray{grid-template-columns:repeat(5,39px)}.chat-emoji-choice{width:39px}}


/* ===== Rabbit chat read/sound/mobile fixed layout v9300 ===== */
.bottom-icon .chat-room-count{background:#e34e5f!important;color:#fff!important;font-weight:900!important;box-shadow:0 2px 7px rgba(168,32,52,.24)}
.rabbit-chat-fixed .chat-room-header{position:relative;z-index:5;flex:none}
.rabbit-chat-fixed .chat-message-scroll{flex:1 1 auto;min-height:0;overflow-y:auto!important;overflow-x:hidden;-webkit-overflow-scrolling:touch;overscroll-behavior:contain;touch-action:pan-y}
.rabbit-chat-fixed .chat-compose-fixed{position:relative!important;left:auto!important;right:auto!important;bottom:auto!important;flex:none;z-index:6}
@media(max-width:760px){
 body:has(.rabbit-chat-fixed){overflow:hidden}
 .rabbit-shell:has(.rabbit-chat-fixed){height:100dvh;min-height:100dvh;overflow:hidden}
 .rabbit-shell:has(.rabbit-chat-fixed) .rabbit-layout{height:calc(100dvh - 64px);padding:7px 6px 78px;overflow:hidden}
 .rabbit-shell:has(.rabbit-chat-fixed) .rabbit-main{height:100%;max-height:100%;overflow:hidden}
 .rabbit-chat-fixed.chat-room-screen{height:100%!important;min-height:0!important;max-height:100%!important;margin:0!important;overflow:hidden!important;border-radius:16px!important;display:flex!important;flex-direction:column!important}
 .rabbit-chat-fixed .chat-room-header{position:sticky;top:0;background:#fffdf8;box-shadow:0 1px 0 #eee4cf}
 .rabbit-chat-fixed .chat-compose-fixed{position:sticky!important;bottom:0;background:#fff;box-shadow:0 -1px 0 #eee4cf}
 .rabbit-chat-fixed .chat-message-scroll{padding-bottom:14px!important}
}


/* ===== Rabbit open-room realtime + bubble identity FIX v9400 ===== */
.rabbit-chat-fixed .chat-message-scroll{display:flex!important;flex-direction:column!important;gap:6px!important}
.rabbit-chat-fixed .chat-line{display:flex;align-items:flex-end;gap:8px;width:100%}
.rabbit-chat-fixed .chat-line.mine{justify-content:flex-end}
.rabbit-chat-fixed .chat-line.theirs{justify-content:flex-start}
.rabbit-chat-fixed .chat-line>.avatar,.rabbit-chat-fixed .chat-message-avatar{width:34px!important;height:34px!important;min-width:34px!important;flex:0 0 34px!important;margin-bottom:3px}
.rabbit-chat-fixed .chat-line .bubble{margin:0!important;max-width:min(76%,560px)!important}
.rabbit-chat-fixed .chat-line.mine .bubble{margin-left:auto!important}
.rabbit-chat-fixed .chat-line.theirs .bubble{margin-right:auto!important}
@media(max-width:760px){
 .rabbit-chat-fixed .chat-line>.avatar,.rabbit-chat-fixed .chat-message-avatar{width:31px!important;height:31px!important;min-width:31px!important;flex-basis:31px!important}
 .rabbit-chat-fixed .chat-line .bubble{max-width:82%!important}
}

/* ===== Rabbit Groups v1 + pinned chat v9800 ===== */
.group-v1-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.group-v1-card{display:flex;align-items:center;gap:14px;width:100%;text-align:left;border:1px solid var(--border,#ece4d4);cursor:pointer;padding:18px}.group-v1-card:hover{transform:translateY(-1px);box-shadow:0 10px 28px rgba(58,44,16,.08)}.group-v1-card .avatar{width:54px;height:54px;min-width:54px}.group-v1-card h3{margin:0 0 5px}.group-v1-card p{margin:0;color:var(--muted,#7d8491);font-size:.9rem}.group-card-meta{display:flex;gap:8px;flex-wrap:wrap;margin-top:9px}.group-card-meta span,.owner-chip{display:inline-flex;align-items:center;border-radius:999px;background:#fff4cf;color:#75520a;padding:4px 9px;font-size:.75rem;font-weight:800}.group-open-arrow{font-size:1.8rem;color:#ad9f80}.group-default-avatar{display:grid!important;place-items:center!important;background:#fff3c8!important}.group-invite-card{margin-bottom:16px}.group-invite-row .row{flex-wrap:nowrap}.group-feed-head{display:flex;align-items:center;gap:12px;padding:15px 16px;margin-bottom:14px}.group-feed-head h1{margin:0;font-size:1.25rem}.group-feed-head p{margin:5px 0 0;color:var(--muted,#7d8491)}.group-head-actions{display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-end}.group-private-note{font-size:.82rem;color:var(--muted,#7d8491);align-self:center}.group-post [data-promote],.group-post .share-later{display:none!important}.group-v1-modal{max-width:720px}.group-friend-picker{max-height:260px;overflow:auto;border:1px solid var(--border,#ece4d4);border-radius:16px;margin-top:9px;background:#fff}.group-friend-choice{display:flex;align-items:center;gap:10px;padding:10px 12px;border-bottom:1px solid #f0eadc;cursor:pointer}.group-friend-choice:last-child{border-bottom:0}.group-friend-choice:hover{background:#fffaf0}.group-friend-choice .avatar{width:38px;height:38px;min-width:38px}.group-friend-choice small{display:block;color:var(--muted,#7d8491);margin-top:2px}.group-friend-choice input{width:20px;height:20px;accent-color:var(--primary,#ffc629)}.group-manage-scroll{max-height:min(70vh,650px);overflow:auto;padding-right:4px}.group-manage-member{display:flex;align-items:center;gap:10px;padding:10px 0;border-bottom:1px solid #f0eadc}.group-manage-member .avatar{width:40px;height:40px;min-width:40px}.group-manage-member small{display:block;color:var(--muted,#7d8491)}.mini-danger,.mini-link-btn{border:0;background:transparent;cursor:pointer;border-radius:10px;padding:7px 9px;font-weight:750}.mini-danger{color:#b33140}.mini-link-btn{color:#7b5a09}.mini-danger:hover,.mini-link-btn:hover{background:#fff4df}.danger-zone{margin-top:20px;padding:14px;border:1px solid #f0c0c5;background:#fff8f8;border-radius:14px}.danger-zone p{color:#8a5b61;font-size:.85rem}.danger-button{background:#c94654!important;color:#fff!important}.danger-lite{color:#a33240!important}.group-invite-badge{background:#d54c5e!important;color:#fff!important;font-weight:900!important}
.chat-v1-list{padding:0!important;overflow:hidden}.chat-list-row-wrap{display:flex;align-items:stretch;border-bottom:1px solid #f0eadc;background:#fff}.chat-list-row-wrap:last-child{border-bottom:0}.chat-list-row-wrap.pinned{background:#fffaf0}.chat-list-main{flex:1;min-width:0;border:0;background:transparent;text-align:left;display:flex;align-items:center;gap:12px;padding:13px 10px 13px 14px;color:inherit;cursor:pointer}.chat-list-main:hover{background:rgba(255,198,41,.06)}.chat-list-main .avatar{width:48px;height:48px;min-width:48px}.chat-pin-btn{width:48px;border:0;border-left:1px solid #f3ead8;background:transparent;cursor:pointer;font-size:1.05rem;opacity:.45}.chat-pin-btn:hover,.chat-pin-btn.active{opacity:1;background:#fff5d6}.pin-label{font-size:.8rem;margin-left:5px}.chat-section-note{font-size:.83rem;color:var(--muted,#7d8491);margin:-5px 0 10px}.chat-other-stack{display:flex;flex-direction:column;align-items:flex-start;max-width:min(76%,560px)}.group-chat-sender{font-size:.72rem;font-weight:800;color:#78643f;margin:0 0 3px 5px}.group-chat-line .bubble{max-width:100%!important}.group-chat-line>.avatar{align-self:flex-end}
@media(max-width:760px){.group-v1-grid{grid-template-columns:1fr}.group-v1-card{padding:14px}.group-feed-head{align-items:flex-start;flex-wrap:wrap;padding:12px}.group-feed-head>.grow{min-width:180px}.group-head-actions{width:100%;justify-content:flex-start;padding-left:50px}.group-head-actions .btn{padding:8px 10px}.group-invite-row{align-items:flex-start!important;flex-wrap:wrap}.group-invite-row>.row{width:100%;padding-left:48px}.group-v1-modal{width:calc(100vw - 18px)!important;max-height:92dvh}.group-friend-picker{max-height:220px}.chat-list-main{padding:11px 8px 11px 11px;gap:9px}.chat-pin-btn{width:42px}.chat-list-main .avatar{width:44px;height:44px;min-width:44px}.chat-other-stack{max-width:80%}.group-chat-line>.avatar{width:30px!important;height:30px!important;min-width:30px!important}}

/* Rabbit report-post moderation hook v10000 */
.report-post-btn{color:#9b2e36!important}.report-modal select.field{background:#fff}.report-modal textarea.field{min-height:95px;resize:vertical}
.group-origin-strip{margin:-2px -2px 10px;padding:7px 10px;border-radius:11px;background:#fff5cc;color:#6b4d00;font-size:13px;border:1px solid #f0dc8d}

/* ===== Central image upload feedback v11000 ===== */
.rabbit-image-status{display:block;margin-top:6px;color:#398254;font-size:.78rem;font-weight:700;line-height:1.35}.upload-card:has(.rabbit-image-status){border-color:#d6e8d9}.upload-card input[type=file]{max-width:100%}
@media(max-width:760px){.rabbit-image-status{font-size:.74rem}}

/* ===== Rabbit Profile My Feed + top hub v11100 ===== */
.profile-self-page{display:block}.profile-self-hero{margin-bottom:12px}.profile-top-hub{padding:8px 16px 16px}.profile-contact-status{display:flex;gap:7px;flex-wrap:wrap;margin-bottom:10px}.profile-contact-status span{display:inline-flex;align-items:center;min-height:30px;padding:6px 10px;border-radius:999px;border:1px solid #eee2c3;background:#fffaf0;color:#6f624c;font-size:11.5px;font-weight:750}.profile-contact-status span.ready{background:#f0fbf4;border-color:#cdebd7;color:#2f7549}.profile-contact-status span.missing{background:#fff7e4;border-color:#f0dfaf;color:#7e621e}.profile-mini-nav{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.profile-mini-nav button{position:relative;min-width:0;border:1px solid #eee0b8;background:#fffdf8;border-radius:15px;padding:10px 9px;text-align:left;color:inherit;display:grid;grid-template-columns:auto 1fr;grid-template-rows:auto auto;column-gap:7px;align-items:center}.profile-mini-nav button:hover{background:#fff6d7;border-color:#e9c85f}.profile-mini-nav button>span{grid-row:1/3;font-size:20px}.profile-mini-nav button b{font-size:13px;line-height:1.2}.profile-mini-nav button small{font-size:10.5px;color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.profile-own-composer{margin-top:0}.profile-post-note{font-size:11px;color:var(--muted);align-self:center;margin-left:auto}.profile-feed-heading{margin-top:2px}.profile-own-feed .promoted-post{position:relative;box-shadow:0 8px 28px rgba(170,119,0,.10);border-color:#ead07b}.profile-own-feed .promoted-ribbon{background:#fff0ad;color:#6c4d00}.profile-own-feed .promoted-post:first-child:before{content:'📌 ปักหมุดระหว่างโปรโมท';display:block;padding:7px 12px;background:#fff8dc;color:#795b17;font-size:11px;font-weight:850;border-bottom:1px solid #f1df9e}
@media(max-width:760px){.profile-top-hub{padding:7px 12px 13px}.profile-mini-nav{grid-template-columns:repeat(3,minmax(0,1fr));gap:5px}.profile-mini-nav button{padding:8px 6px;border-radius:13px;column-gap:5px}.profile-mini-nav button>span{font-size:18px}.profile-mini-nav button b{font-size:11.5px}.profile-mini-nav button small{font-size:9.2px}.profile-contact-status{gap:5px;margin-bottom:7px}.profile-contact-status span{font-size:10.5px;padding:5px 7px}.profile-post-note{display:none}.profile-own-composer{margin-top:0}}
@media(max-width:390px){.profile-mini-nav button>span{display:none}.profile-mini-nav button{display:block;text-align:center}.profile-mini-nav button b,.profile-mini-nav button small{display:block}.profile-mini-nav button small{margin-top:2px}}

/* ===== FIX P v12300: Android WebView safe-area + mobile UI polish ===== */
@media (max-width:800px){
  :root{
    --rabbit-mobile-safe-top:max(env(safe-area-inset-top,0px),26px);
    --rabbit-mobile-safe-bottom:max(env(safe-area-inset-bottom,0px),22px);
  }

  /* Android 15 / WebView can draw under the system status bar. */
  .topbar.rabbit-topbar,
  .rabbit-topbar,
  .topbar{
    height:auto!important;
    min-height:calc(62px + var(--rabbit-mobile-safe-top))!important;
    padding-top:calc(8px + var(--rabbit-mobile-safe-top))!important;
    padding-bottom:8px!important;
    align-items:center!important;
  }

  /* Keep page content and the fixed bottom navigation clear of Android navigation controls. */
  .rabbit-layout,
  .layout{
    padding-bottom:calc(96px + var(--rabbit-mobile-safe-bottom))!important;
  }
  .rabbit-bottom-nav,
  .bottom-nav{
    padding-bottom:calc(6px + var(--rabbit-mobile-safe-bottom))!important;
  }

  /* Home: remove the old greeting/profile strip; composer becomes the first card. */
  .welcome-strip.welcome-profile-rich{
    display:none!important;
  }
  .rabbit-composer{
    margin-top:4px!important;
  }
  .rabbit-composer>.row>.avatar{
    width:56px!important;
    height:56px!important;
    min-width:56px!important;
    flex:0 0 56px!important;
  }
  .rabbit-composer>.row{
    gap:12px!important;
  }

  /* Profile edit sheet: never fall behind Android bottom navigation. */
  .modal-bg{
    padding-top:calc(8px + var(--rabbit-mobile-safe-top))!important;
    padding-bottom:calc(8px + var(--rabbit-mobile-safe-bottom))!important;
  }
  .profile-edit-modal{
    max-height:calc(100dvh - var(--rabbit-mobile-safe-top) - var(--rabbit-mobile-safe-bottom) - 16px)!important;
    overflow-y:auto!important;
    overscroll-behavior:contain;
    -webkit-overflow-scrolling:touch;
  }
  .profile-edit-modal .profile-edit-form{
    padding-bottom:16px!important;
  }

  /* Chat: reserve space for the larger WebView header and Android/bottom navigation. */
  .rabbit-shell:has(.rabbit-chat-fixed){
    height:100dvh!important;
    min-height:100dvh!important;
    overflow:hidden!important;
  }
  .rabbit-shell:has(.rabbit-chat-fixed) .rabbit-layout{
    height:calc(100dvh - 62px - var(--rabbit-mobile-safe-top))!important;
    padding:7px 6px calc(86px + var(--rabbit-mobile-safe-bottom))!important;
    overflow:hidden!important;
  }
  .rabbit-shell:has(.rabbit-chat-fixed) .rabbit-main{
    height:100%!important;
    min-height:0!important;
    overflow:hidden!important;
  }
  .rabbit-chat-fixed.chat-room-screen{
    height:100%!important;
    min-height:0!important;
    max-height:100%!important;
  }
  .rabbit-chat-fixed .chat-compose-fixed{
    flex:0 0 auto!important;
    padding-bottom:10px!important;
  }
  .rabbit-chat-fixed .chat-emoji-tray,
  .rabbit-chat-fixed .chat-sticker-tray,
  .rabbit-chat-fixed .chat-sticker-drawer{
    bottom:calc(100% + 8px)!important;
    max-height:min(44dvh,320px)!important;
    overflow-y:auto!important;
  }
}

@media (max-width:420px){
  .rabbit-composer>.row>.avatar{
    width:54px!important;
    height:54px!important;
    min-width:54px!important;
    flex-basis:54px!important;
  }
}
