:root{
  --bg:#10080d;--bg2:#190a12;--panel:rgba(255,255,255,.07);--panel2:rgba(255,255,255,.045);
  --line:rgba(255,255,255,.11);--text:#fff8fb;--muted:#bcaab3;--maroon:#8a244e;--maroon2:#b53a6a;
  --pink:#f4a6c4;--shadow:0 26px 80px rgba(0,0,0,.35);--radius:28px
}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;min-height:100vh;color:var(--text);background:radial-gradient(circle at 50% -20%,#421228 0,#1b0912 35%,#0d070a 78%);font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;overflow-x:hidden}.ambient{position:fixed;border-radius:999px;filter:blur(100px);opacity:.22;pointer-events:none}.ambient-one{width:360px;height:360px;background:#c53d75;top:18%;left:-180px}.ambient-two{width:420px;height:420px;background:#6c2eb0;right:-260px;top:48%}.topbar{position:sticky;top:0;z-index:20;height:78px;display:flex;align-items:center;justify-content:space-between;padding:0 max(24px,calc((100vw - 1120px)/2));background:rgba(12,6,9,.7);backdrop-filter:blur(20px);border-bottom:1px solid rgba(255,255,255,.06)}.brand{display:flex;align-items:center;gap:11px;color:white;text-decoration:none}.brand-mark{display:grid;place-items:center;width:38px;height:38px;border-radius:13px;background:linear-gradient(135deg,var(--maroon2),#6f1640);box-shadow:0 8px 26px rgba(181,58,106,.28);font-size:20px}.brand>span:last-child{display:flex;align-items:baseline;gap:7px;font-size:19px}.brand small{font-size:9px;letter-spacing:.18em;color:var(--pink)}.top-actions{display:flex;gap:9px;align-items:center}.qatar-chip,.icon-btn,.avatar-btn{border:1px solid var(--line);background:rgba(255,255,255,.055);color:#f9edf2;border-radius:999px;height:38px;padding:0 14px}.qatar-chip{display:inline-flex;align-items:center;font-size:12px}.icon-btn,.avatar-btn{cursor:pointer}.avatar-btn{width:38px;padding:0;font-weight:800;background:linear-gradient(135deg,#7a2046,#b23c6a)}.shell{width:min(100% - 32px,1000px);margin:0 auto}.hero{text-align:center;padding:92px 0 46px}.eyebrow,.section-kicker{font-size:12px;letter-spacing:.08em;text-transform:uppercase;color:#e9b5c9;font-weight:750}.hero h1{font-size:clamp(44px,7vw,76px);line-height:1.02;letter-spacing:-.055em;margin:15px auto 18px;max-width:800px}.hero h1 span{background:linear-gradient(90deg,#fff,#f5a8c5,#d77ae2);-webkit-background-clip:text;background-clip:text;color:transparent}.hero p{font-size:17px;line-height:1.7;color:var(--muted);max-width:610px;margin:0 auto}.counter-pill{display:inline-flex;align-items:center;gap:9px;margin-top:25px;padding:10px 14px;border:1px solid var(--line);background:rgba(255,255,255,.05);border-radius:999px;font-size:12px;color:#d9c8d0}.counter-pill strong{color:white}.pulse{width:8px;height:8px;border-radius:50%;background:#52d38b;box-shadow:0 0 0 0 rgba(82,211,139,.5);animation:pulse 2s infinite}@keyframes pulse{70%{box-shadow:0 0 0 9px rgba(82,211,139,0)}}.card{background:linear-gradient(145deg,rgba(255,255,255,.085),rgba(255,255,255,.045));border:1px solid var(--line);border-radius:var(--radius);box-shadow:var(--shadow);backdrop-filter:blur(18px)}.composer{padding:24px;margin:0 auto 76px;max-width:800px}.composer-head,.composer-footer{display:flex;align-items:center;justify-content:space-between;gap:16px}.composer-head>div{display:flex;gap:8px;align-items:center}.muted,.limit,.privacy-note{font-size:12px;color:var(--muted)}#postingAs{font-size:13px;color:#f2bed2}.composer textarea{display:block;width:100%;resize:none;border:0;outline:0;background:transparent;color:#fff;font:inherit;font-size:22px;line-height:1.55;padding:25px 2px;min-height:128px}.composer textarea::placeholder{color:#765d69}.primary-btn{border:0;border-radius:15px;background:linear-gradient(135deg,#a62f61,#7d1c45);color:white;padding:13px 18px;font-weight:800;cursor:pointer;box-shadow:0 10px 26px rgba(127,28,69,.28);transition:.18s transform,.18s filter}.primary-btn:hover{transform:translateY(-1px);filter:brightness(1.08)}.primary-btn:disabled{opacity:.55;cursor:not-allowed;transform:none}.primary-btn span{margin-left:7px}.wide{width:100%;margin-top:18px;padding:15px}.message{font-size:12px;min-height:16px;margin-top:10px;color:#f4afc9}.feed-section{padding-bottom:70px}.feed-head{display:flex;align-items:end;justify-content:space-between;gap:24px;margin-bottom:22px}.feed-head h2{font-size:28px;letter-spacing:-.03em;margin:7px 0 0}.tabs{display:flex;border:1px solid var(--line);padding:4px;border-radius:999px;background:rgba(255,255,255,.035)}.tab{border:0;background:transparent;color:#a9959f;border-radius:999px;padding:9px 14px;cursor:pointer;font-weight:700;font-size:12px}.tab.active{background:rgba(255,255,255,.11);color:#fff}.wish-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.wish-card{position:relative;padding:22px;min-height:190px;background:linear-gradient(150deg,rgba(255,255,255,.067),rgba(255,255,255,.035));border:1px solid var(--line);border-radius:22px;display:flex;flex-direction:column;justify-content:space-between;box-shadow:0 14px 40px rgba(0,0,0,.12)}.wish-top{display:flex;justify-content:space-between;align-items:center;gap:12px}.wish-user{display:flex;align-items:center;gap:10px;font-weight:800;font-size:13px}.mini-avatar{width:31px;height:31px;border-radius:50%;display:grid;place-items:center;background:linear-gradient(135deg,#8b2b55,#52203a);font-size:11px}.wish-time{font-size:11px;color:#8f7c85}.wish-body{font-size:18px;line-height:1.55;margin:22px 0;color:#fff9fb;overflow-wrap:anywhere}.wish-actions{display:flex;align-items:center;justify-content:space-between;border-top:1px solid rgba(255,255,255,.07);padding-top:14px}.react-btn,.more-btn{border:0;background:transparent;color:#a9959f;cursor:pointer;padding:5px 0;font-size:12px}.react-btn.active{color:#f1a8c4}.react-btn:hover{color:#fff}.more-btn{font-size:18px}.empty{text-align:center;padding:60px 20px;color:var(--muted);border:1px dashed var(--line);border-radius:22px}.modal-backdrop{position:fixed;inset:0;z-index:50;background:rgba(5,2,4,.72);backdrop-filter:blur(14px);display:grid;place-items:center;padding:20px}.modal{width:min(100%,470px);background:linear-gradient(145deg,#211019,#140a0f);border:1px solid rgba(255,255,255,.13);border-radius:30px;padding:34px;box-shadow:0 35px 120px rgba(0,0,0,.6);text-align:center}.modal-star{width:58px;height:58px;border-radius:20px;background:linear-gradient(135deg,#ad3465,#69183c);display:grid;place-items:center;margin:0 auto 23px;font-size:25px}.modal h2{font-size:31px;letter-spacing:-.04em;margin:9px 0 10px}.modal p{font-size:14px;line-height:1.6;color:var(--muted);margin:0 auto 22px;max-width:350px}.modal small{display:block;text-align:left;color:#8e7b84;margin:8px 4px 0}.username-field{height:54px;border:1px solid var(--line);background:rgba(255,255,255,.055);border-radius:16px;display:flex;align-items:center;padding:0 15px;transition:.2s border}.username-field:focus-within{border-color:#bb507c}.username-field span{color:#d98aaa;font-weight:800}.username-field input{flex:1;border:0;outline:0;background:transparent;color:#fff;font-size:16px;padding:0 5px}.toast{position:fixed;left:50%;bottom:30px;transform:translate(-50%,20px);background:#fff;color:#2a1520;border-radius:999px;padding:11px 17px;font-weight:700;font-size:12px;opacity:0;pointer-events:none;transition:.25s;z-index:70;box-shadow:0 15px 40px rgba(0,0,0,.25)}.toast.show{opacity:1;transform:translate(-50%,0)}footer{padding:30px 20px 42px;border-top:1px solid rgba(255,255,255,.05);display:flex;justify-content:center;gap:9px;color:#806c75;font-size:11px}.hidden{display:none!important}
html[dir="rtl"] body{font-family:Tahoma,Arial,sans-serif}.rtl .composer textarea{text-align:right}
@media(max-width:760px){.topbar{height:66px;padding:0 16px}.qatar-chip{display:none}.shell{width:min(100% - 24px,1000px)}.hero{padding:66px 0 38px}.hero h1{font-size:48px}.hero p{font-size:15px}.composer{padding:19px;margin-bottom:58px}.composer-footer{align-items:stretch;flex-direction:column}.privacy-note{order:2}.primary-btn{width:100%}.feed-head{align-items:flex-start;flex-direction:column}.tabs{width:100%}.tab{flex:1}.wish-grid{grid-template-columns:1fr}.wish-card{min-height:178px}.modal{padding:28px 22px}.modal h2{font-size:27px}}
html[dir="rtl"] .brand>span:last-child{flex-direction:row}
html[dir="rtl"] .brand small{letter-spacing:.08em}
html[dir="rtl"] .modal small{text-align:right}
html[dir="rtl"] .primary-btn span{margin-left:0;margin-right:7px}
html[dir="rtl"] .composer textarea{text-align:right}

/* Comments */
.wish-social-actions{display:flex;align-items:center;gap:16px;flex-wrap:wrap}.comment-toggle,.comment-send,.comment-delete{border:0;background:transparent;color:#a9959f;cursor:pointer;font:inherit}.comment-toggle{font-size:12px;padding:5px 0}.comment-toggle:hover{color:#fff}.comments-panel{border-top:1px solid rgba(255,255,255,.07);margin-top:14px;padding-top:14px}.comments-list{display:grid;gap:10px;max-height:310px;overflow:auto;padding-left:3px}.comment-row{display:grid;grid-template-columns:30px 1fr auto;gap:9px;align-items:start;background:rgba(255,255,255,.035);border:1px solid rgba(255,255,255,.055);border-radius:14px;padding:10px}.comment-avatar{width:30px;height:30px;border-radius:50%;display:grid;place-items:center;background:linear-gradient(135deg,#722449,#351522);font-size:11px;font-weight:800}.comment-content{min-width:0}.comment-meta{display:flex;gap:8px;align-items:center;flex-wrap:wrap;font-size:11px}.comment-meta b{color:#f5d9e4}.comment-meta span{color:#806d76}.comment-body{font-size:13px;line-height:1.65;color:#f5edf1;margin-top:4px;overflow-wrap:anywhere}.comment-delete{font-size:20px;color:#966f80;padding:0 4px;line-height:1}.comment-delete:hover{color:#ff9ab9}.comment-compose{display:flex;gap:8px;margin-top:12px}.comment-compose input{flex:1;min-width:0;border:1px solid var(--line);background:rgba(255,255,255,.045);border-radius:13px;color:white;padding:10px 12px;outline:none;font:inherit;font-size:13px}.comment-compose input:focus{border-color:#a4456d}.comment-send{background:linear-gradient(135deg,#8f2854,#691b40);color:white;border-radius:12px;padding:9px 13px;font-weight:800}.comment-send:disabled{opacity:.5}.comments-empty,.comments-loading,.comment-message{font-size:12px;color:#9c8791;padding:8px 3px}.comment-message{color:#f4afc9;min-height:18px;padding-bottom:0}
@media(max-width:760px){.wish-social-actions{gap:12px}.comment-compose{align-items:stretch}.comment-send{padding:9px 11px}}

/* Image upload */
.composer-tools{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-top:2px}.media-picker,.tool-btn{border:1px solid var(--line);background:rgba(255,255,255,.055);color:#f4e8ee;border-radius:999px;padding:9px 14px;font:inherit;font-size:12px;cursor:pointer}.media-picker:hover,.tool-btn:hover{border-color:#b3537d}.tool-note{font-size:12px;color:#b9a6af}.image-preview-wrap{margin-top:14px}.image-preview-box{max-width:260px;border:1px solid rgba(255,255,255,.08);background:rgba(255,255,255,.04);border-radius:18px;padding:8px}.image-preview-box img{display:block;width:100%;aspect-ratio:4/5;object-fit:cover;border-radius:14px}.wish-image-wrap{margin-top:12px}.wish-image{display:block;width:100%;max-height:340px;object-fit:cover;border-radius:18px;border:1px solid rgba(255,255,255,.07);background:rgba(255,255,255,.03)}
@media(max-width:760px){.composer-tools{align-items:flex-start;flex-direction:row}.image-preview-box{max-width:100%}.wish-image{max-height:280px}}

/* Private messages */
.messages-btn{position:relative;width:42px;height:38px;border:1px solid var(--line);background:rgba(255,255,255,.055);color:#fff;border-radius:999px;cursor:pointer;font-size:17px}.messages-badge{position:absolute;top:-6px;left:-5px;min-width:20px;height:20px;padding:0 5px;border-radius:999px;background:#e23f73;color:#fff;border:2px solid #12070d;display:grid;place-items:center;font-size:10px;font-weight:900}.private-chat-btn{border:0;background:transparent;color:#d6a6b8;cursor:pointer;padding:5px 0;font:inherit;font-size:12px}.private-chat-btn:hover{color:#fff}.messages-open{overflow:hidden}.messages-overlay{position:fixed;inset:0;z-index:90;background:rgba(6,2,5,.76);backdrop-filter:blur(12px);display:grid;place-items:center;padding:18px}.messages-sheet{width:min(100%,760px);height:min(82vh,720px);background:linear-gradient(155deg,#241019,#13090e);border:1px solid rgba(255,255,255,.12);border-radius:28px;box-shadow:0 35px 120px rgba(0,0,0,.65);display:flex;flex-direction:column;overflow:hidden}.messages-head{display:flex;justify-content:space-between;align-items:center;padding:20px 22px;border-bottom:1px solid rgba(255,255,255,.08)}.messages-head h2{margin:3px 0 0;font-size:25px}.message-icon-btn{width:38px;height:38px;border-radius:12px;border:1px solid var(--line);background:rgba(255,255,255,.05);color:#fff;font-size:20px;cursor:pointer}.inbox-view{overflow:auto;padding:18px}.inbox-section{margin-bottom:24px}.inbox-section h3{font-size:14px;margin:0 0 10px;color:#f4dce5}.inbox-list{display:grid;gap:9px}.inbox-card{width:100%;display:grid;grid-template-columns:42px 1fr auto;gap:11px;align-items:center;border:1px solid rgba(255,255,255,.075);background:rgba(255,255,255,.04);color:#fff;border-radius:16px;padding:12px;text-align:right}.conversation-card{cursor:pointer;font:inherit}.conversation-card:hover{background:rgba(255,255,255,.065)}.inbox-card-main{min-width:0;display:grid;gap:4px}.inbox-card-main b{font-size:13px}.inbox-card-main small{color:#a9919c;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:11px}.inbox-side{display:grid;justify-items:end;gap:5px}.inbox-side strong{background:#aa2c61;min-width:22px;height:22px;border-radius:999px;display:grid;place-items:center;padding:0 5px;font-size:10px}.inbox-side small{color:#8e7782;font-size:10px}.request-actions{display:flex;gap:6px}.request-actions button{border:0;border-radius:10px;padding:8px 10px;background:#8e2854;color:#fff;font-weight:800;cursor:pointer}.request-actions .reject{background:#30202a;color:#d9c8d0}.pending-chip{font-size:10px;border:1px solid var(--line);padding:6px 8px;border-radius:999px;color:#c6aeb9}.inbox-empty,.chat-empty{padding:28px 16px;text-align:center;color:#9d8791;font-size:12px;border:1px dashed rgba(255,255,255,.08);border-radius:15px}.chat-view{display:flex;flex-direction:column;min-height:0;flex:1}.chat-toolbar{display:grid;grid-template-columns:42px 1fr auto;gap:10px;align-items:center;padding:13px 16px;border-bottom:1px solid rgba(255,255,255,.075)}.chat-person{display:flex;gap:10px;align-items:center;min-width:0}.chat-person div{display:grid;gap:2px}.chat-person b{font-size:13px}.chat-person small{font-size:10px;color:#9e8792}.chat-avatar{width:38px;height:38px;border-radius:50%;background:linear-gradient(135deg,#9e2d5d,#5b1737);display:grid;place-items:center;font-size:12px;font-weight:900;flex:0 0 auto}.message-danger-btn{border:1px solid #6d2a3f;background:#451828;color:#ffcbd7;border-radius:11px;padding:8px 10px;cursor:pointer;font-weight:700}.message-danger-btn:disabled{opacity:.55;cursor:default}.chat-blocked{margin:12px 16px 0;background:#421a28;border:1px solid #6b2b41;color:#f4c6d2;border-radius:13px;padding:10px 12px;font-size:12px}.chat-messages{flex:1;overflow:auto;padding:18px 16px;display:flex;flex-direction:column;gap:10px;min-height:0}.message-row{display:flex;align-items:flex-end;gap:5px}.message-row.mine{justify-content:flex-start}.message-row.theirs{justify-content:flex-end}.message-bubble{max-width:min(78%,520px);border-radius:17px;padding:10px 12px;line-height:1.6;font-size:13px;overflow-wrap:anywhere}.mine .message-bubble{background:linear-gradient(135deg,#8d2853,#681a3e);border-bottom-left-radius:5px}.theirs .message-bubble{background:rgba(255,255,255,.075);border:1px solid rgba(255,255,255,.07);border-bottom-right-radius:5px}.message-bubble small{display:block;margin-top:5px;color:#c3aab5;font-size:9px}.report-message-btn{border:0;background:transparent;color:#8f7380;cursor:pointer;font-size:11px;padding:3px}.chat-compose{display:flex;gap:9px;padding:12px 16px;border-top:1px solid rgba(255,255,255,.07)}.chat-compose textarea{flex:1;resize:none;border:1px solid var(--line);background:rgba(255,255,255,.045);border-radius:14px;color:#fff;padding:10px 12px;outline:none;font:inherit;font-size:13px}.chat-compose textarea:focus{border-color:#a8426c}.chat-compose .primary-btn{width:auto;padding:10px 16px}.chat-safety-note{font-size:9px;color:#7e6872;padding:0 16px 12px;text-align:center}
@media(max-width:760px){.messages-overlay{padding:0;place-items:stretch}.messages-sheet{width:100%;height:100dvh;max-height:none;border-radius:0;border:0}.messages-head{padding:16px}.inbox-view{padding:13px}.request-card{grid-template-columns:38px 1fr}.request-actions{grid-column:1/-1;justify-content:flex-end}.request-actions button{flex:1}.chat-toolbar{padding-top:max(12px,env(safe-area-inset-top))}.chat-messages{padding:14px 12px}.message-bubble{max-width:84%}.chat-compose{padding:10px 12px max(10px,env(safe-area-inset-bottom))}.messages-btn{width:38px}}

/* iPhone private-chat composer hotfix */
.chat-compose{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  align-items:stretch;
  width:100%;
  min-width:0;
}
.chat-compose textarea{
  width:100%;
  min-width:0;
  max-width:100%;
}
.chat-compose #sendChatBtn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:auto;
  min-width:76px;
  max-width:92px;
  flex:0 0 auto;
  white-space:nowrap;
  margin:0;
}
@media(max-width:760px){
  .chat-compose{
    grid-template-columns:minmax(0,1fr) 78px;
    gap:8px;
    padding:10px 12px calc(10px + env(safe-area-inset-bottom));
  }
  .chat-compose textarea{
    min-height:48px;
    max-height:110px;
  }
  .chat-compose #sendChatBtn{
    width:78px;
    min-width:78px;
    max-width:78px;
    padding:10px 8px;
  }
}


/* Private-message in-app notification feedback */
.messages-badge.notify-pop{animation:qatarwishNotifyPop .55s ease-in-out 2;box-shadow:0 0 0 7px rgba(226,63,115,.16)}
.messages-btn:has(.messages-badge:not(.hidden)){border-color:rgba(226,63,115,.65);box-shadow:0 0 0 3px rgba(226,63,115,.08)}
@keyframes qatarwishNotifyPop{0%,100%{transform:scale(1)}50%{transform:scale(1.28)}}

/* Growth pack: سؤال اليوم، الترند، الأمنيات المتحققة، الإشعارات */
.daily-question{max-width:800px;margin:0 auto 20px;padding:22px;display:flex;align-items:center;justify-content:space-between;gap:22px}.daily-question-copy{min-width:0}.daily-pill,.wish-context-badge{display:inline-flex;align-items:center;gap:6px;border:1px solid rgba(244,166,196,.24);background:rgba(181,58,106,.12);color:#f3b7cf;border-radius:999px;padding:7px 10px;font-size:11px;font-weight:800}.daily-question h2{font-size:24px;line-height:1.55;margin:12px 0 8px}.daily-question p{margin:0;color:var(--muted);font-size:12px}.daily-question p strong{color:#fff}.daily-question-actions{display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-start;min-width:260px}.daily-question-actions .primary-btn,.daily-question-actions .tool-btn{width:auto;margin:0}.question-mode{margin-top:14px;border:1px solid rgba(244,166,196,.22);background:rgba(181,58,106,.09);border-radius:15px;padding:10px 12px;display:flex;align-items:center;justify-content:space-between;gap:10px}.question-mode>div{display:grid;gap:3px}.question-mode span{font-size:10px;color:#e9a8c1;font-weight:800}.question-mode b{font-size:12px;color:#fff;line-height:1.55}.question-mode button{border:0;background:transparent;color:#b995a5;font-size:20px;cursor:pointer}.wish-context-badge{margin-top:14px;padding:5px 8px;font-size:9px}.wish-fulfilled{border-color:rgba(240,196,91,.28);box-shadow:0 16px 50px rgba(179,128,35,.08)}.fulfilled-banner{margin-top:13px;border:1px solid rgba(240,196,91,.22);background:rgba(240,196,91,.08);border-radius:15px;padding:10px 12px;display:grid;gap:4px}.fulfilled-banner span{font-size:12px;font-weight:900;color:#ffe7a0}.fulfilled-banner small{color:#d7c8a2;font-size:11px;line-height:1.6}.fulfilled-btn{border:0;background:transparent;color:#dfc06b;cursor:pointer;padding:5px 0;font:inherit;font-size:12px}.fulfilled-btn:hover{color:#fff}.notifications-sheet,.random-sheet{width:min(100%,620px);max-height:min(82vh,720px);background:linear-gradient(155deg,#241019,#13090e);border:1px solid rgba(255,255,255,.12);border-radius:28px;box-shadow:0 35px 120px rgba(0,0,0,.65);display:flex;flex-direction:column;overflow:hidden}.notifications-list{overflow:auto;padding:14px;display:grid;gap:9px}.notification-card{display:grid;grid-template-columns:38px 1fr;gap:11px;align-items:start;border:1px solid rgba(255,255,255,.065);background:rgba(255,255,255,.035);border-radius:15px;padding:12px}.notification-card.unread{background:rgba(181,58,106,.10);border-color:rgba(244,166,196,.20)}.notification-icon{width:38px;height:38px;border-radius:50%;display:grid;place-items:center;background:rgba(255,255,255,.055);font-size:15px}.notification-card>div{display:grid;gap:4px}.notification-card b{font-size:12px;line-height:1.55}.notification-card small{font-size:10px;color:#8f7b84}.notification-preview{font-size:11px!important;color:#c8b4bd!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.random-sheet{padding-bottom:18px}.random-wish-content{padding:16px;overflow:auto}.random-wish-content .wish-card{min-height:auto}.random-sheet>.wide{width:auto;margin:0 16px;padding:13px}.tabs{max-width:100%;overflow-x:auto;scrollbar-width:none}.tabs::-webkit-scrollbar{display:none}.tab{white-space:nowrap;flex:0 0 auto}
@media(max-width:760px){.daily-question{margin-bottom:14px;padding:18px;flex-direction:column;align-items:stretch}.daily-question h2{font-size:20px}.daily-question-actions{min-width:0}.daily-question-actions .primary-btn{width:100%}.daily-question-actions .tool-btn{flex:1}.notifications-sheet,.random-sheet{width:100%;height:100dvh;max-height:none;border-radius:0;border:0}.random-wish-content{padding:12px}.top-actions{gap:6px}.messages-btn{width:36px;height:36px}.avatar-btn{width:36px;height:36px}.tabs{width:100%;padding:4px}.tab{font-size:11px;padding:9px 11px}}

/* One-tap direct chat */
.private-chat-btn{background:rgba(194,55,112,.13);border:1px solid rgba(222,93,145,.28);color:#f1c6d8;border-radius:999px;padding:7px 11px;font-weight:800;transition:.18s transform,.18s background,.18s border-color}.private-chat-btn:hover{background:rgba(194,55,112,.22);border-color:rgba(241,129,172,.45);color:#fff;transform:translateY(-1px)}
@media(max-width:760px){.private-chat-btn{padding:7px 10px;font-size:11px}}

/* PWA install + background push notifications */
.push-cta{max-width:800px;margin:0 auto 20px;padding:16px 18px;display:grid;grid-template-columns:46px 1fr auto;gap:14px;align-items:center;border-color:rgba(231,104,154,.23);background:linear-gradient(145deg,rgba(118,29,65,.22),rgba(255,255,255,.045))}.push-cta-icon{width:44px;height:44px;border-radius:15px;display:grid;place-items:center;background:rgba(194,55,112,.16);border:1px solid rgba(231,104,154,.2);font-size:20px}.push-cta-copy{min-width:0}.push-cta-copy strong{display:block;font-size:14px;margin-bottom:5px}.push-cta-copy p{margin:0;color:var(--muted);font-size:11px;line-height:1.65}.push-cta-actions{display:flex;gap:7px;align-items:center}.push-cta-actions .primary-btn,.push-cta-actions .tool-btn{width:auto;margin:0;white-space:nowrap;padding:10px 13px}.install-guide{text-align:right}.install-guide>p{text-align:right}.install-steps{display:grid;gap:10px;margin:18px 0 4px}.install-steps>div{display:grid;grid-template-columns:30px 1fr;gap:10px;align-items:start;border:1px solid rgba(255,255,255,.07);background:rgba(255,255,255,.035);padding:10px 11px;border-radius:14px}.install-steps>div>b{width:28px;height:28px;border-radius:50%;display:grid;place-items:center;background:#81264e;color:#fff;font-size:11px}.install-steps span{font-size:12px;line-height:1.75;color:#d9c7cf}.install-steps strong{color:#fff}.install-guide .wide{margin-top:16px}
@media(max-width:760px){.push-cta{margin-bottom:14px;padding:14px;grid-template-columns:42px 1fr}.push-cta-icon{width:40px;height:40px}.push-cta-actions{grid-column:1/-1;width:100%}.push-cta-actions .primary-btn{flex:1}.push-cta-actions .tool-btn{flex:0 0 auto}.push-cta-copy strong{font-size:13px}.push-cta-copy p{font-size:10px}}


/* iPhone Home Screen safe-area hotfix — keeps top actions below the status bar / Dynamic Island */
.topbar{
  height:auto;
  min-height:calc(78px + env(safe-area-inset-top));
  padding-top:env(safe-area-inset-top);
  padding-left:max(24px, calc((100vw - 1120px)/2), env(safe-area-inset-left));
  padding-right:max(24px, calc((100vw - 1120px)/2), env(safe-area-inset-right));
}
.topbar .brand,.topbar .top-actions{position:relative;z-index:2;pointer-events:auto}
.topbar button,.topbar a{touch-action:manipulation;-webkit-tap-highlight-color:transparent}
@media(max-width:760px){
  .topbar{
    height:auto;
    min-height:calc(66px + env(safe-area-inset-top));
    padding-top:env(safe-area-inset-top);
    padding-left:max(16px, env(safe-area-inset-left));
    padding-right:max(16px, env(safe-area-inset-right));
  }
  .top-actions{gap:8px}
  .messages-btn,.avatar-btn{width:44px;height:44px;min-width:44px;min-height:44px}
}
@media(display-mode:standalone){
  .topbar{top:0}
}

/* iPhone Home Screen modal-close hotfix — keep X below Dynamic Island/status bar */
@media (max-width:760px) and (display-mode:standalone) {
  .messages-overlay .messages-head {
    padding-top:calc(env(safe-area-inset-top, 0px) + 28px) !important;
    padding-left:max(16px, env(safe-area-inset-left, 0px)) !important;
    padding-right:max(16px, env(safe-area-inset-right, 0px)) !important;
    min-height:calc(76px + env(safe-area-inset-top, 0px));
    flex:0 0 auto;
  }

  #closeMessagesBtn,
  #closeNotificationsBtn,
  #closeRandomWishBtn {
    width:48px;
    height:48px;
    min-width:48px;
    min-height:48px;
    position:relative;
    z-index:120;
    touch-action:manipulation;
    -webkit-tap-highlight-color:transparent;
  }

  .messages-sheet,
  .notifications-sheet,
  .random-sheet {
    padding-top:0;
  }
}

/* iOS fallback for Home Screen mode detection */
@supports (-webkit-touch-callout:none) {
  @media (max-width:760px) {
    body.ios-standalone .messages-overlay .messages-head {
      padding-top:calc(env(safe-area-inset-top, 0px) + 28px) !important;
    }
  }
}

/* QatarWish Cards entry point */
.gift-card-cta{max-width:800px;margin:0 auto 20px;padding:20px;display:grid;grid-template-columns:54px 1fr auto;gap:16px;align-items:center;border-color:rgba(240,183,91,.22);background:linear-gradient(145deg,rgba(112,29,64,.25),rgba(167,113,36,.10),rgba(255,255,255,.035));overflow:hidden;position:relative}.gift-card-cta:after{content:"✦";position:absolute;left:26%;top:-18px;font-size:80px;color:rgba(255,255,255,.025);pointer-events:none}.gift-card-cta-icon{width:52px;height:52px;border-radius:17px;display:grid;place-items:center;background:linear-gradient(145deg,rgba(191,65,112,.26),rgba(224,180,89,.15));border:1px solid rgba(255,255,255,.10);font-size:24px}.gift-card-cta-copy{min-width:0}.gift-card-cta-copy h2{font-size:21px;margin:3px 0 6px}.gift-card-cta-copy p{margin:0;color:var(--muted);font-size:12px;line-height:1.7}.gift-card-cta-btn{width:auto;margin:0;white-space:nowrap;text-decoration:none;display:inline-flex;align-items:center;justify-content:center}.gift-card-cta-btn:hover{color:#fff}
@media(max-width:760px){.gift-card-cta{margin-bottom:14px;padding:17px;grid-template-columns:46px 1fr}.gift-card-cta-icon{width:44px;height:44px;border-radius:14px;font-size:21px}.gift-card-cta-copy h2{font-size:18px}.gift-card-cta-copy p{font-size:11px}.gift-card-cta-btn{grid-column:1/-1;width:100%;padding:12px 14px}}


/* Daily question context shown with every historical answer */
.wish-question-context{margin-top:14px;margin-bottom:11px;padding:11px 13px;border:1px solid rgba(244,166,196,.20);background:rgba(181,58,106,.08);border-radius:14px;display:grid;gap:8px}.wish-question-context .wish-context-badge{margin:0;width:max-content}.wish-question-context strong{font-size:12px;line-height:1.75;color:#f4dce6;font-weight:800}.wish-question-context+.wish-body{margin-top:0}@media(max-width:760px){.wish-question-context{padding:10px 11px}.wish-question-context strong{font-size:11.5px;line-height:1.7}}


/* Public nickname + guest-number entry */
.identity-modal{width:min(94vw,520px)}
.public-identity-warning{display:grid;grid-template-columns:38px 1fr;gap:11px;align-items:start;margin:16px 0 14px;padding:13px 14px;border:1px solid rgba(240,181,86,.24);background:rgba(240,181,86,.075);border-radius:16px;text-align:right}
.public-identity-icon{width:38px;height:38px;border-radius:12px;display:grid;place-items:center;background:rgba(240,181,86,.12);font-size:17px}
.public-identity-warning strong{display:block;color:#ffe2a4;font-size:13px;margin-bottom:4px}
.public-identity-warning p{margin:0!important;color:#d7c2cb!important;font-size:11px!important;line-height:1.75!important;text-align:right!important}
.public-identity-warning b{color:#fff}
.join-choice-divider{display:flex;align-items:center;gap:10px;margin:15px 0;color:#8f7883;font-size:11px}
.join-choice-divider::before,.join-choice-divider::after{content:"";height:1px;background:rgba(255,255,255,.08);flex:1}
.join-choice-divider span{padding:0 4px}
.guest-join-btn{border:1px solid rgba(230,127,170,.26);background:rgba(181,58,106,.085);color:#fff;border-radius:16px;padding:12px 14px;display:grid;grid-template-columns:42px 1fr;gap:11px;align-items:center;text-align:right;cursor:pointer;font:inherit;transition:.18s background,.18s border-color,.18s transform}
.guest-join-btn:hover{background:rgba(181,58,106,.15);border-color:rgba(230,127,170,.42);transform:translateY(-1px)}
.guest-join-btn:disabled{opacity:.55;cursor:wait;transform:none}
.guest-join-icon{width:42px;height:42px;border-radius:14px;display:grid;place-items:center;background:rgba(255,255,255,.07);font-size:18px}
.guest-join-btn>span:last-child{display:grid;gap:3px}
.guest-join-btn b{font-size:13px}
.guest-join-btn small{font-size:10px;color:#ae98a2;line-height:1.5}
.guest-privacy-note{margin:8px 4px 0!important;text-align:center!important;font-size:10px!important;color:#87717b!important;line-height:1.6!important}
.public-name-note{display:block;margin-top:3px;color:#9e8792;font-size:9px;font-weight:500}
@media(max-width:560px){.identity-modal{width:min(94vw,470px)}.public-identity-warning{grid-template-columns:34px 1fr;padding:12px}.public-identity-icon{width:34px;height:34px}.guest-join-btn{grid-template-columns:38px 1fr}.guest-join-icon{width:38px;height:38px}}


/* Help fulfill another visitor's wish */
.help-fulfill-btn{border:1px solid rgba(242,196,92,.34);background:linear-gradient(135deg,rgba(192,139,34,.18),rgba(255,213,113,.08));color:#ffe7a2;border-radius:999px;padding:7px 11px;font-weight:900;cursor:pointer;transition:.18s transform,.18s background,.18s border-color}.help-fulfill-btn:hover{transform:translateY(-1px);background:rgba(203,151,48,.24);border-color:rgba(255,221,133,.58);color:#fff8d8}.fulfill-chat-context{margin:12px 16px 0;padding:12px 13px;border:1px solid rgba(242,196,92,.24);background:linear-gradient(135deg,rgba(172,118,27,.13),rgba(255,255,255,.035));border-radius:15px;display:grid;gap:7px}.fulfill-chat-context-head{display:flex;align-items:center;justify-content:space-between;gap:10px}.fulfill-chat-context-head span{font-size:12px;font-weight:900;color:#ffe49b}.fulfill-chat-context-head button{width:28px;height:28px;border:0;border-radius:9px;background:rgba(255,255,255,.055);color:#cdbb8d;font-size:18px;cursor:pointer}.fulfill-chat-wish{font-size:12px;line-height:1.7;color:#fff;overflow-wrap:anywhere}.fulfill-chat-context small{font-size:9px;line-height:1.65;color:#a99568}.hidden.fulfill-chat-context{display:none!important}@media(max-width:760px){.help-fulfill-btn{padding:7px 10px;font-size:11px}.fulfill-chat-context{margin:10px 12px 0}}

/* Clickable notification usernames -> direct private chat */
.notification-actor-link{display:inline;border:0;background:transparent;color:#f4c2d7;font:inherit;font-weight:900;padding:0 2px;cursor:pointer;text-decoration:underline;text-decoration-color:rgba(244,194,215,.35);text-underline-offset:3px}.notification-actor-link:hover,.notification-actor-link:focus-visible{color:#fff;text-decoration-color:#fff;outline:none}.notification-actor-link:disabled{opacity:.6;cursor:wait}

/* Public chat room — one shared room for all visitors */
.public-chat-cta{max-width:800px;margin:0 auto 20px;padding:20px;display:grid;grid-template-columns:54px 1fr auto;gap:16px;align-items:center;border-color:rgba(111,194,224,.22);background:linear-gradient(145deg,rgba(39,91,121,.20),rgba(118,35,82,.14),rgba(255,255,255,.035));overflow:hidden;position:relative}.public-chat-cta-icon{width:52px;height:52px;border-radius:17px;display:grid;place-items:center;background:rgba(82,164,194,.15);border:1px solid rgba(149,220,244,.14);font-size:24px}.public-chat-cta-copy{min-width:0}.public-chat-cta-copy h2{font-size:21px;margin:3px 0 6px}.public-chat-cta-copy p{margin:0;color:var(--muted);font-size:12px;line-height:1.7}.public-chat-cta-btn{width:auto;margin:0;white-space:nowrap}.public-chat-sheet{width:min(100%,780px);height:min(88vh,820px);max-height:820px;background:linear-gradient(155deg,#241019,#13090e);border:1px solid rgba(255,255,255,.12);border-radius:28px;box-shadow:0 35px 120px rgba(0,0,0,.65);display:flex;flex-direction:column;overflow:hidden}.public-chat-notice{margin:12px 16px 0;padding:11px 12px;border:1px solid rgba(242,196,92,.16);background:rgba(242,196,92,.055);border-radius:14px;display:grid;grid-template-columns:34px 1fr;gap:10px;align-items:start;flex:0 0 auto}.public-chat-notice>span{width:34px;height:34px;border-radius:11px;display:grid;place-items:center;background:rgba(255,255,255,.055)}.public-chat-notice div{display:grid;gap:3px}.public-chat-notice b{font-size:11px;color:#ffe5a4}.public-chat-notice small{font-size:9px;line-height:1.65;color:#a9949d}.public-chat-messages{flex:1;min-height:0;overflow:auto;padding:16px;display:flex;flex-direction:column;gap:10px;scroll-behavior:smooth}.public-chat-message{display:grid;grid-template-columns:38px minmax(0,1fr) 30px;gap:9px;align-items:start}.public-chat-message.mine{opacity:.98}.public-chat-avatar{width:38px;height:38px;border-radius:50%;display:grid;place-items:center;background:linear-gradient(135deg,#8b2b55,#52203a);font-size:11px;font-weight:900}.public-chat-message-main{min-width:0;border:1px solid rgba(255,255,255,.07);background:rgba(255,255,255,.04);border-radius:16px;padding:10px 11px}.public-chat-message.mine .public-chat-message-main{background:rgba(153,45,91,.13);border-color:rgba(220,105,153,.16)}.public-chat-message-head{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:6px}.public-chat-message-head>span{font-size:9px;color:#816c75;white-space:nowrap}.public-chat-user{border:0;background:transparent;color:#efb9cf;font:inherit;font-size:11px;font-weight:900;padding:0;cursor:pointer;text-decoration:underline;text-decoration-color:rgba(239,185,207,.25);text-underline-offset:3px;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.public-chat-user.mine{cursor:default;text-decoration:none}.public-chat-user small{font-size:8px;color:#8c7580;margin-inline-start:5px}.public-chat-body{font-size:13px;line-height:1.7;color:#fff;overflow-wrap:anywhere;white-space:normal}.public-chat-image{display:block;max-width:min(100%,420px);max-height:360px;object-fit:contain;border-radius:13px;margin-top:8px;border:1px solid rgba(255,255,255,.07);background:#0d080a}.public-chat-message-action{width:30px;height:30px;border:0;border-radius:10px;background:rgba(255,255,255,.035);color:#806c75;cursor:pointer;font-size:11px;padding:0}.public-chat-message-action:hover{color:#fff;background:rgba(255,255,255,.08)}.public-chat-message-action.delete{font-size:9px;color:#ba7d93}.public-chat-empty{margin:auto;text-align:center;display:grid;gap:7px;color:#a18a95;padding:35px}.public-chat-empty>span{font-size:28px}.public-chat-empty b{color:#dbc6cf;font-size:13px}.public-chat-empty small{font-size:10px}.public-chat-image-preview{margin:0 16px 8px;padding:9px;border:1px solid rgba(255,255,255,.075);background:rgba(255,255,255,.035);border-radius:14px;display:flex;align-items:center;gap:10px;flex:0 0 auto}.public-chat-image-preview img{width:64px;height:64px;border-radius:11px;object-fit:cover}.public-chat-image-preview button{border:0;background:transparent;color:#dca6bd;font:inherit;font-size:11px;cursor:pointer}.public-chat-compose{display:grid;grid-template-columns:46px minmax(0,1fr) auto;gap:8px;align-items:stretch;padding:10px 16px 4px;border-top:1px solid rgba(255,255,255,.07);flex:0 0 auto}.public-chat-image-btn{width:46px;min-height:48px;border:1px solid rgba(255,255,255,.08);background:rgba(255,255,255,.045);border-radius:14px;display:grid;place-items:center;cursor:pointer;font-size:18px}.public-chat-compose textarea{width:100%;min-width:0;resize:none;border:1px solid var(--line);background:rgba(255,255,255,.045);border-radius:14px;color:#fff;padding:10px 12px;outline:none;font:inherit;font-size:16px;line-height:1.55;min-height:48px;max-height:110px}.public-chat-compose textarea:focus{border-color:#a8426c}.public-chat-compose .primary-btn{width:auto;min-width:76px;padding:10px 15px}.public-chat-compose-meta{display:flex;justify-content:space-between;gap:10px;padding:2px 18px 8px;color:#755f69;font-size:9px;flex:0 0 auto}.public-chat-form-message{padding:0 18px 8px;margin:0;min-height:10px;flex:0 0 auto}
@media(max-width:760px){.public-chat-cta{margin-bottom:14px;padding:17px;grid-template-columns:46px 1fr}.public-chat-cta-icon{width:44px;height:44px;border-radius:14px;font-size:21px}.public-chat-cta-copy h2{font-size:18px}.public-chat-cta-copy p{font-size:11px}.public-chat-cta-btn{grid-column:1/-1;width:100%;padding:12px 14px}.public-chat-sheet{width:100%;height:100dvh;max-height:none;border-radius:0;border:0}.public-chat-messages{padding:12px}.public-chat-message{grid-template-columns:34px minmax(0,1fr) 28px;gap:7px}.public-chat-avatar{width:34px;height:34px}.public-chat-image{max-height:310px}.public-chat-compose{grid-template-columns:44px minmax(0,1fr) 78px;padding:9px 12px 3px}.public-chat-image-btn{width:44px}.public-chat-compose .primary-btn{width:78px;min-width:78px;padding:10px 7px}.public-chat-compose-meta{padding:2px 14px 8px}.public-chat-form-message{padding:0 14px calc(8px + env(safe-area-inset-bottom))}.public-chat-notice{margin:10px 12px 0}}

/* keep public-chat close control safely below iPhone status area too */
@media (max-width:760px) and (display-mode:standalone){#publicChatModal .messages-head{padding-top:calc(env(safe-area-inset-top,0px) + 28px)!important;padding-left:max(16px,env(safe-area-inset-left,0px))!important;padding-right:max(16px,env(safe-area-inset-right,0px))!important;min-height:calc(76px + env(safe-area-inset-top,0px));flex:0 0 auto}#closePublicChatBtn{width:48px;height:48px;min-width:48px;min-height:48px;position:relative;z-index:120;touch-action:manipulation;-webkit-tap-highlight-color:transparent}.public-chat-compose{padding-bottom:max(6px,env(safe-area-inset-bottom,0px))}}
@supports (-webkit-touch-callout:none){@media(max-width:760px){body.ios-standalone #publicChatModal .messages-head{padding-top:calc(env(safe-area-inset-top,0px) + 28px)!important}}}

/* Growth v3: unique wish sharing, profiles, happiness makers */
.profile-user-link{color:inherit;text-decoration:none}.profile-user-link:hover{color:#ffd1e2}.share-wish-btn{border:1px solid rgba(126,192,255,.26);background:rgba(54,122,179,.10);color:#d7ecff;border-radius:999px;padding:7px 11px;font:inherit;font-size:12px;font-weight:800;cursor:pointer}.share-wish-btn:hover{background:rgba(54,122,179,.20);color:#fff}.happiness-cta{max-width:800px;margin:0 auto 20px;padding:20px;display:grid;grid-template-columns:54px 1fr auto;gap:16px;align-items:center;border-color:rgba(242,199,91,.22);background:linear-gradient(145deg,rgba(130,88,15,.13),rgba(255,255,255,.04))}.happiness-cta-icon{width:52px;height:52px;border-radius:17px;display:grid;place-items:center;background:rgba(242,199,91,.10);border:1px solid rgba(242,199,91,.18);font-size:24px}.happiness-cta-copy h2{font-size:18px;margin:3px 0 5px}.happiness-cta-copy p{margin:0;color:var(--muted);font-size:11px;line-height:1.65}.happiness-cta-btn{width:auto;margin:0;white-space:nowrap;text-decoration:none}.fulfillment-confirm-panel{margin:0 16px 10px;display:grid;gap:8px}.fulfillment-confirm-card{border:1px solid rgba(242,199,91,.22);background:rgba(242,199,91,.075);border-radius:14px;padding:11px;display:flex;align-items:center;justify-content:space-between;gap:10px}.fulfillment-confirm-card>div{display:grid;gap:4px;min-width:0}.fulfillment-confirm-card b{font-size:11px;color:#ffe39a}.fulfillment-confirm-card span{font-size:11px;color:#d8c8aa;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:420px}.fulfillment-confirm-card small{font-size:9px;color:#a99370}.fulfillment-confirm-card .primary-btn{width:auto;margin:0;padding:8px 10px;font-size:10px;white-space:nowrap}.fulfillment-confirm-card.confirmed{border-color:rgba(92,207,139,.22);background:rgba(92,207,139,.07)}.fulfillment-confirm-card.confirmed b{color:#a9f0c6}.fulfillment-confirm-card.waiting{border-color:rgba(255,255,255,.09);background:rgba(255,255,255,.035)}
@media(max-width:760px){.happiness-cta{grid-template-columns:44px 1fr;padding:16px}.happiness-cta-icon{width:42px;height:42px}.happiness-cta-btn{grid-column:1/-1;width:100%;text-align:center}.fulfillment-confirm-card{align-items:stretch;flex-direction:column}.fulfillment-confirm-card span{max-width:100%}.fulfillment-confirm-card .primary-btn{width:100%}}

/* Navigation/search/stories update */
.happiness-cta-actions{display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-start}.happiness-cta-actions .primary-btn,.happiness-cta-actions .tool-btn{width:auto;margin:0;text-decoration:none;white-space:nowrap}.happiness-stories-btn{display:inline-flex;align-items:center;justify-content:center}
@media(max-width:760px){.happiness-cta-actions{grid-column:1/-1;width:100%}.happiness-cta-actions .primary-btn,.happiness-cta-actions .tool-btn{flex:1;text-align:center;padding:11px 10px}}

/* Growth conversion pack v1 — onboarding, proof, referrals, safety, mobile performance */
.growth-stats{max-width:800px;margin:0 auto 20px;padding:15px;display:grid;grid-template-columns:repeat(4,1fr);gap:8px;background:linear-gradient(145deg,rgba(255,255,255,.045),rgba(152,42,89,.07))}.growth-stats>div{min-width:0;text-align:center;padding:10px 6px;border-inline-end:1px solid rgba(255,255,255,.06)}.growth-stats>div:last-child{border-inline-end:0}.growth-stats strong{display:block;font-size:22px;color:#fff}.growth-stats span{display:block;margin-top:3px;font-size:9px;color:#a98d99;line-height:1.4}.today-fulfilled{max-width:800px;margin:0 auto 20px;padding:18px}.today-fulfilled-head{display:flex;justify-content:space-between;gap:14px;align-items:center;margin-bottom:12px}.today-fulfilled-head h2{margin:4px 0;font-size:18px}.today-fulfilled-head p{margin:0;color:var(--muted);font-size:10px}.today-fulfilled-head .tool-btn{text-decoration:none;white-space:nowrap}.today-fulfilled-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.today-story{display:grid;grid-template-columns:34px minmax(0,1fr);gap:9px;align-items:start;text-decoration:none;color:inherit;padding:11px;border-radius:14px;background:rgba(242,199,91,.055);border:1px solid rgba(242,199,91,.12)}.today-story>span{width:34px;height:34px;display:grid;place-items:center;border-radius:11px;background:rgba(242,199,91,.09)}.today-story div{min-width:0;display:grid;gap:4px}.today-story b{font-size:11px;line-height:1.6;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.today-story small{font-size:9px;color:#a58f98}.growth-mini-empty{grid-column:1/-1;text-align:center;color:#927986;font-size:10px;padding:16px}.invite-card{max-width:800px;margin:0 auto 20px;padding:18px;display:grid;grid-template-columns:48px 1fr auto;gap:14px;align-items:center;border-color:rgba(232,128,173,.18);background:linear-gradient(145deg,rgba(171,42,93,.13),rgba(255,255,255,.035))}.invite-icon{width:46px;height:46px;border-radius:15px;display:grid;place-items:center;background:rgba(220,61,126,.13);font-size:22px}.invite-copy h2{font-size:17px;margin:3px 0 5px}.invite-copy p{font-size:10px;color:var(--muted);line-height:1.6;margin:0}.invite-progress{margin-top:7px;font-size:10px;color:#bba5ae}.invite-progress strong{font-size:13px;color:#fff}.invite-actions{display:flex;flex-direction:column;gap:7px}.invite-actions .primary-btn,.invite-actions .tool-btn{width:auto;margin:0;white-space:nowrap}.safety-card{max-width:800px;margin:0 auto 20px;padding:15px 17px;display:grid;grid-template-columns:42px 1fr auto;gap:12px;align-items:center;border-color:rgba(91,177,149,.15);background:rgba(70,137,119,.055)}.safety-icon{width:40px;height:40px;border-radius:13px;background:rgba(91,177,149,.10);display:grid;place-items:center}.safety-card h2{font-size:14px;margin:2px 0 3px}.safety-card p{font-size:9px;line-height:1.55;color:var(--muted);margin:0}.onboarding-modal,.post-success-modal,.safety-modal{position:relative;max-width:500px}.onboarding-steps,.safety-rules{display:grid;gap:9px;margin:17px 0}.onboarding-steps>div,.safety-rules>div{display:grid;grid-template-columns:38px minmax(0,1fr);gap:10px;align-items:start;padding:11px;border-radius:14px;background:rgba(255,255,255,.04);border:1px solid rgba(255,255,255,.065)}.onboarding-steps>div>b{width:36px;height:36px;border-radius:50%;display:grid;place-items:center;background:linear-gradient(135deg,#a62c61,#671c40);color:#fff}.onboarding-steps span,.safety-rules span{display:grid;gap:3px}.onboarding-steps strong,.safety-rules b{font-size:12px}.onboarding-steps small,.safety-rules small{font-size:10px;line-height:1.5;color:var(--muted)}.onboarding-skip{border:0;background:transparent;color:#a58b97;font:inherit;font-size:10px;padding:10px;cursor:pointer}.modal-x{position:absolute;top:12px;inset-inline-end:12px;border:0;background:rgba(255,255,255,.055);color:#c9a9b7;width:36px;height:36px;border-radius:50%;font-size:20px;cursor:pointer}.success-burst{font-size:36px;margin-bottom:8px}.post-success-preview{margin:14px 0;padding:13px;border-radius:14px;background:rgba(255,255,255,.045);border:1px solid rgba(255,255,255,.07);text-align:start}.post-success-preview b{font-size:10px;color:#efb3cc}.post-success-preview p{margin:6px 0 0!important;font-size:13px!important;color:#fff!important;line-height:1.7}.post-success-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:8px}.post-success-actions .tool-btn{width:100%}.safety-rules>div{grid-template-columns:26px minmax(0,1fr);font-size:18px}.safety-rules span{font-size:12px}

/* Render long feeds more cheaply on mobile/desktop while preserving scroll size. */
.wish-card{content-visibility:auto;contain-intrinsic-size:360px}.comment-row,.public-chat-message{content-visibility:auto;contain-intrinsic-size:90px}
@media(max-width:760px){.growth-stats{grid-template-columns:repeat(2,1fr);margin-bottom:14px}.growth-stats>div:nth-child(2){border-inline-end:0}.growth-stats strong{font-size:20px}.today-fulfilled{margin-bottom:14px;padding:15px}.today-fulfilled-head{align-items:flex-start}.today-fulfilled-head h2{font-size:16px}.today-fulfilled-list{grid-template-columns:1fr}.invite-card{grid-template-columns:42px 1fr;padding:15px}.invite-actions{grid-column:1/-1;display:grid;grid-template-columns:1fr 1fr}.invite-actions .primary-btn,.invite-actions .tool-btn{width:100%}.safety-card{grid-template-columns:38px 1fr;padding:14px}.safety-card .tool-btn{grid-column:1/-1;width:100%}.post-success-actions{grid-template-columns:1fr}.onboarding-modal,.post-success-modal,.safety-modal{max-height:calc(100dvh - 24px);overflow:auto}}

/* Identity entry modal viewport-fit hotfix — keep guest option visible at 100% zoom */
.identity-modal{
  max-height:calc(100dvh - 28px);
  overflow-y:auto;
  overscroll-behavior:contain;
  scrollbar-gutter:stable;
}
@media (min-width:761px) and (max-height:900px){
  .identity-modal{padding:20px 26px;width:min(94vw,500px)}
  .identity-modal .modal-star{width:46px;height:46px;border-radius:16px;margin-bottom:10px;font-size:21px}
  .identity-modal .section-kicker{font-size:10px}
  .identity-modal h2{font-size:26px;margin:5px 0 6px}
  .identity-modal>p{font-size:12px;line-height:1.5;margin-bottom:10px}
  .identity-modal .public-identity-warning{margin:10px 0;padding:10px 12px;grid-template-columns:34px 1fr;gap:9px}
  .identity-modal .public-identity-icon{width:34px;height:34px}
  .identity-modal .public-identity-warning strong{font-size:12px;margin-bottom:2px}
  .identity-modal .public-identity-warning p{font-size:10px!important;line-height:1.5!important}
  .identity-modal .username-field{height:48px}
  .identity-modal .username-field input{font-size:14px}
  .identity-modal small{font-size:9px;line-height:1.45;margin-top:5px}
  .identity-modal .wide{margin-top:11px;padding:12px 14px}
  .identity-modal .join-choice-divider{margin:9px 0;font-size:10px}
  .identity-modal .guest-join-btn{padding:9px 12px;grid-template-columns:36px 1fr;gap:9px}
  .identity-modal .guest-join-icon{width:36px;height:36px;border-radius:12px;font-size:16px}
  .identity-modal .guest-join-btn b{font-size:12px}
  .identity-modal .guest-join-btn small{font-size:9px;line-height:1.35;margin:0}
  .identity-modal .guest-privacy-note{margin-top:5px!important;font-size:9px!important;line-height:1.4!important}
}
@media (max-width:760px){
  .identity-modal{max-height:calc(100dvh - 18px);padding:20px 18px}
  .identity-modal .modal-star{width:48px;height:48px;margin-bottom:12px}
  .identity-modal h2{font-size:24px;margin:6px 0}
  .identity-modal>p{font-size:12px;margin-bottom:10px}
  .identity-modal .public-identity-warning{margin:10px 0;padding:10px 11px}
  .identity-modal .wide{margin-top:11px;padding:12px}
  .identity-modal .join-choice-divider{margin:9px 0}
  .identity-modal .guest-join-btn{padding:9px 11px}
  .identity-modal .guest-privacy-note{margin-top:5px!important}
}

/* QatarWish: remove homepage safety promo banner from the layout */
.safety-card{display:none!important;}


/* Always-visible quick comment composer */
.comment-quick-compose{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  gap:8px;
  align-items:center;
  margin-top:14px;
  padding-top:14px;
  border-top:1px solid rgba(255,255,255,.07);
}
.comment-quick-compose input{
  width:100%;
  min-width:0;
  border:1px solid var(--line);
  background:rgba(255,255,255,.045);
  border-radius:14px;
  color:#fff;
  padding:11px 13px;
  outline:none;
  font:inherit;
  font-size:13px;
  transition:border-color .18s ease,background .18s ease,box-shadow .18s ease;
}
.comment-quick-compose input::placeholder{color:#9f8b95}
.comment-quick-compose input:focus{
  border-color:#a4456d;
  background:rgba(255,255,255,.06);
  box-shadow:0 0 0 3px rgba(164,69,109,.10);
}
.comment-quick-compose .comment-send{
  min-height:40px;
  background:linear-gradient(135deg,#8f2854,#691b40);
  color:#fff;
  border-radius:13px;
  padding:9px 15px;
  font-weight:800;
  white-space:nowrap;
}
.comment-quick-compose .comment-message{
  grid-column:1/-1;
  min-height:0;
  padding:0 3px;
}
.comment-quick-compose .comment-message:empty{display:none}
.comments-panel{margin-top:10px;padding-top:10px}
@media(max-width:760px){
  .comment-quick-compose{grid-template-columns:minmax(0,1fr) 68px;gap:7px;margin-top:12px;padding-top:12px}
  .comment-quick-compose input{font-size:16px;padding:11px 12px}
  .comment-quick-compose .comment-send{width:68px;min-width:68px;padding:9px 7px}
}
