.upgp-gate{max-width:640px;margin:48px auto;padding:40px 32px;border-radius:20px;background:#fff;box-shadow:0 10px 40px rgba(0,0,0,.08);text-align:center;font-size:20px}
.upgp-gate h2{font-size:34px;margin:0 0 12px}
.upgp-gate p{font-size:19px;line-height:1.7;margin:0 0 20px;color:#444}
.upgp-gate form{display:flex;gap:12px;flex-wrap:wrap;justify-content:center}
.upgp-gate input{flex:1 1 260px;min-height:58px;padding:12px 18px;font-size:22px;letter-spacing:.08em;text-align:center;border:2px solid #ccc;border-radius:12px;background:#fff;color:#111}
.upgp-gate input:focus{outline:3px solid #d7012e;outline-offset:2px;border-color:#d7012e}
.upgp-gate button{min-height:58px;padding:12px 28px;font-size:20px;font-weight:700;border:0;border-radius:12px;background:#d7012e;color:#fff;cursor:pointer}
.upgp-gate button:disabled{opacity:.6}
.upgp-msg{min-height:1.4em;margin:14px 0 0;font-size:18px;color:#1b7a3a}
.upgp-msg.bad{color:#b00020}
.upg-fb{margin-top:28px;padding:24px;border-radius:16px;background:#f6f6f6;border:2px solid #e5e5e5;font-size:18px}
.upg-fb h3{font-size:24px;margin:0 0 14px}
.upgp-notes{list-style:none;margin:0 0 16px;padding:0;display:grid;gap:10px}
.upgp-notes li{background:#fff;border-radius:12px;padding:14px 16px;border:1px solid #e3e3e3}
.upgp-notes li.empty{color:#777;background:transparent;border:1px dashed #ccc}
.upgp-notes .nh{display:flex;justify-content:space-between;gap:10px;font-size:15px;color:#666;margin-bottom:6px}
.upgp-notes .nh b{color:#111;font-size:17px}
.upgp-notes p{margin:0;font-size:18px;line-height:1.7;white-space:pre-wrap}
.upgp-notes audio,.upgp-preview audio{display:block;width:100%;max-width:420px;margin-top:8px}
.upgp-notes .att-img{display:block;max-width:100%;max-height:320px;border-radius:8px;margin-top:8px}
.upgp-notes .att-file{display:inline-block;margin-top:8px;color:#d7012e;font-weight:700}
.upg-fb .upgp-name,.upg-fb textarea{display:block;width:100%;box-sizing:border-box;font:inherit;font-size:19px;padding:12px 14px;border:2px solid #ccc;border-radius:12px;background:#fff;color:#111;margin-bottom:10px}
.upg-fb textarea{min-height:110px;resize:vertical}
.upg-fb .upgp-name:focus,.upg-fb textarea:focus{outline:3px solid #d7012e;outline-offset:1px}
.upgp-row{display:flex;flex-wrap:wrap;gap:10px;align-items:center}
.upgp-btn{display:inline-flex;align-items:center;justify-content:center;min-height:52px;padding:10px 18px;font:inherit;font-size:17px;font-weight:700;border-radius:12px;border:2px solid #d7012e;background:#d7012e;color:#fff;cursor:pointer;position:relative}
.upgp-btn.ghost{background:#fff;color:#d7012e}
.upgp-btn.on{background:#b00020;color:#fff;border-color:#b00020;animation:upgp-pulse 1.2s infinite}
.upgp-btn.sm{min-height:40px;padding:6px 12px;font-size:15px}
.upgp-btn:focus-visible{outline:3px solid #111;outline-offset:2px}
.upgp-btn:disabled{opacity:.6}
.upgp-btn.send{margin-inline-start:auto}
.upgp-preview{display:grid;gap:8px;margin-top:10px}
.upgp-preview .pv{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.upgp-sr,.upgp-hp{position:absolute!important;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;opacity:0}
@keyframes upgp-pulse{50%{box-shadow:0 0 0 6px rgba(176,0,32,.2)}}
@media (prefers-reduced-motion:reduce){.upgp-btn.on{animation:none}}
@media (max-width:600px){.upgp-gate{margin:24px 16px;padding:28px 18px}.upgp-btn{flex:1 1 100%}.upgp-btn.send{margin:0}}
.upgp-side{margin-top:18px;padding:18px;border-radius:16px;background:#fff7f8;border:2px solid #f3c9d2;font-size:18px;text-align:start}
.upgp-side h3{font-size:22px;margin:0 0 12px;color:#d7012e}
.upgp-side .upgp-notes{margin:0}
.upgp-notes .att-link{display:block;margin-top:8px}
.upgp-notes .att-img{width:100%;height:auto;max-height:360px;object-fit:contain;background:#f2f2f2}
.upgp-notes .nh{align-items:center;flex-wrap:wrap}
.upgp-del{margin-inline-start:auto;font:inherit;font-size:14px;font-weight:700;color:#b00020;background:#fff;border:1.5px solid #e3a3b0;border-radius:999px;padding:4px 12px;cursor:pointer}
.upgp-del:hover,.upgp-del:focus-visible{background:#b00020;color:#fff;outline:none}
.upgp-acts{display:inline-flex;gap:6px;margin-inline-start:auto}
.upgp-acts .upgp-del{margin:0}
.upgp-ed{color:#333;border-color:#ccc}
.upgp-ed:hover,.upgp-ed:focus-visible{background:#333;color:#fff}
.upgp-editbox{margin-top:8px;display:grid;gap:8px}
.upgp-editbox textarea{width:100%;box-sizing:border-box;font:inherit;font-size:17px;padding:10px 12px;border:2px solid #ccc;border-radius:10px;min-height:80px}
.upgp-editbox textarea:focus{outline:3px solid #d7012e;outline-offset:1px}
.upg-fb select.upgp-name{display:block;width:100%;box-sizing:border-box;font:inherit;font-size:19px;padding:12px 14px;border:2px solid #ccc;border-radius:12px;background:#fff;color:#111;margin-bottom:10px;min-height:54px}
.upg-fb select.upgp-name:focus{outline:3px solid #d7012e;outline-offset:1px}
.ugp .ugw .post{padding-top:0;border-top:0}
.ugp .ugw .post .ph.upgp-acc{grid-template-columns:auto 1fr auto auto;cursor:pointer;user-select:none;background:#fff;border:2px solid #e3e3e6;border-radius:16px;padding:16px 20px;transition:background .15s,border-color .15s}
.ugp .ugw .post .ph.upgp-acc:hover{background:#fbf6f7;border-color:#e9b8c3}
.ugp .ugw .post .ph.upgp-acc:focus-visible{outline:3px solid #d7012e;outline-offset:2px}
.ugp .ugw .post:not(.upgp-closed) .ph.upgp-acc{border-color:#d7012e;border-bottom-left-radius:4px;border-bottom-right-radius:4px}
.ugp .ugw .post.upgp-closed .body{display:none}
.ugp .ugw .post .body{padding:22px 4px 8px}
.ugp .ugw .post .upgp-chev{font-size:26px;line-height:1;color:#d7012e;transition:transform .2s;display:inline-block}
.ugp .ugw .post:not(.upgp-closed) .upgp-chev{transform:rotate(180deg)}
.ugp .ugw .post .upgp-fmt{display:inline-block;margin-inline-start:10px;padding:3px 12px;border-radius:999px;background:#f1f1f3;color:#2c2e30;font-size:15px;font-weight:700}
.ugp .ugw section.post + section.post{margin-top:-18px}
@media (max-width:720px){.ugp .ugw .post .ph.upgp-acc{grid-template-columns:auto 1fr auto}.ugp .ugw .post .ph.upgp-acc .badge{grid-column:2/3;justify-self:start}.ugp .ugw .post .upgp-chev{grid-row:1;grid-column:3}}
@media (prefers-reduced-motion:reduce){.ugp .ugw .post .upgp-chev{transition:none}}
.ugp .ugw .post .body{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:32px}
.ugp .ugw .post .info .fig{max-width:520px;width:100%;margin:4px auto}
.ugp .upgp-col{display:flex;flex-direction:column;gap:18px;min-width:0}
.ugp .upgp-col .upgp-side,.ugp .upgp-col .upg-fb{margin:0}
@media (max-width:720px){.ugp .ugw .post .body{grid-template-columns:1fr}.ugp .ugw .post .info .fig{max-width:none}}
.ugp .upgp-feed{background:#fff;border:1px solid #dadde1;border-radius:10px;box-shadow:0 1px 2px rgba(0,0,0,.12);overflow:hidden;width:100%;max-width:560px;margin:4px auto;font-family:'Segoe UI Historic','Segoe UI',Helvetica,Arial,var(--ar),sans-serif;color:#050505;text-align:left;direction:ltr}
.ugp .upgp-feed .fd-hd{display:flex;align-items:center;gap:8px;padding:12px 16px 0}
.ugp .upgp-feed .fd-av{width:40px;height:40px;border-radius:50%;border:1px solid #dadde1;background:#fff;display:grid;place-items:center;overflow:hidden;flex:none}
.ugp .upgp-feed .fd-av img{width:82%;height:auto;display:block}
.ugp .upgp-feed .fd-who{display:flex;flex-direction:column;line-height:1.35;min-width:0}
.ugp .upgp-feed .fd-who b{font-size:15px;font-weight:600;color:#050505}
.ugp .upgp-feed .fd-sub{font-size:13px;color:#65676b;display:inline-flex;align-items:center;gap:3px}
.ugp .upgp-feed .fd-more{margin-left:auto;color:#65676b;font-size:12px;letter-spacing:1px;padding:8px}
.ugp .upgp-feed .fd-tx{padding:6px 16px 12px;font-size:15px;line-height:1.34;color:#050505}
.ugp .upgp-feed .fd-l{unicode-bidi:plaintext;text-align:start;word-wrap:break-word}
.ugp .upgp-feed .fd-gap{height:.9em}
.ugp .upgp-feed .fd-a{color:#0064d1}
.ugp .upgp-feed .fd-l[hidden],.ugp .upgp-feed .fd-gap[hidden],.ugp .upgp-feed .fd-tg[hidden],.ugp .upgp-feed .fd-seemore[hidden]{display:none}
.ugp .upgp-feed .fd-seemore{text-align:right;direction:ltr}
.ugp .upgp-feed .fd-tg{background:none;border:0;padding:0;font:inherit;font-size:15px;font-weight:600;color:#050505;cursor:pointer}
.ugp .upgp-feed .fd-tg:hover,.ugp .upgp-feed .fd-tg:focus-visible{text-decoration:underline;outline:none}
.ugp .ugw .post .upgp-feed .fig.fd-media{margin:0;max-width:none;width:100%;gap:0;background:#000}
.ugp .upgp-feed .fd-media .mlink,.ugp .upgp-feed .fd-media img{border-radius:0;display:block;width:100%}
.ugp .ugw .post .upgp-feed .fd-media video{border-radius:0;display:block;width:100%;height:min(620px,80vh);aspect-ratio:auto;object-fit:contain;background:#000}
.ugp .upgp-feed .fd-bar{display:flex;gap:28px;align-items:center;border-top:1px solid #ced0d4;margin:10px 16px 0;padding:8px 0 10px;color:#65676b}
.ugp .upgp-feed .fd-ic{display:inline-flex}
@media (max-width:720px){.ugp .upgp-feed{max-width:none}.ugp .ugw .post .upgp-feed .fd-media video{height:min(520px,75vh)}}
.ugp .upgp-feed .fd-ic svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linejoin:round;display:block}
.ugp .upgp-feed .fd-sub svg{width:12px;height:12px;fill:currentColor;stroke:none;display:inline-block}
.ugp .upgp-feed svg path{fill:inherit;stroke:inherit;stroke-width:inherit;stroke-linejoin:inherit}
.ugp .upgp-feed.fd-rtl{text-align:right;direction:rtl;font-family:var(--ar),'Segoe UI',Tahoma,sans-serif}
.ugp .upgp-feed.fd-rtl .fd-more{margin-left:0;margin-right:auto}
.ugp .upgp-feed.fd-rtl .fd-seemore{text-align:left;direction:rtl}
.ugp .upgp-feed .fd-bar{justify-content:space-around;gap:8px}
.ugp .upgp-feed .fd-ic{align-items:center;gap:6px;font-size:15px;font-weight:600;color:#65676b}
.ugp .upgp-feed .fd-lb{display:inline}
.ugp .ugw .post .body.upgp-nclosed{grid-template-columns:minmax(0,1fr) 64px}
.ugp .upgp-col{align-self:stretch}
.ugp .body.upgp-nclosed .upgp-col > :not(.upgp-ntab){display:none}
.ugp .body:not(.upgp-nclosed) .upgp-col > .upgp-ntab{display:none}
.ugp .upgp-ntab{position:sticky;top:110px;display:flex;flex-direction:column;align-items:center;gap:10px;width:56px;min-height:220px;margin:0;padding:16px 0;border:0;border-radius:14px;background:#d7012e;color:#fff;font:inherit;font-size:17px;font-weight:700;cursor:pointer;box-shadow:0 6px 18px rgba(215,1,46,.28)}
.ugp .upgp-ntab .upgp-nlbl{writing-mode:vertical-rl;white-space:nowrap;letter-spacing:.02em}
.ugp .upgp-ntab:hover{background:#b00020}
.ugp .upgp-ntab:focus-visible,.ugp .upgp-nhide:focus-visible{outline:3px solid #111;outline-offset:2px}
.ugp .upgp-ncount{display:inline-grid;place-items:center;min-width:28px;height:28px;padding:0 6px;border-radius:999px;background:#fff;color:#d7012e;font-size:15px;font-weight:800}
.ugp .upgp-ncount[hidden]{display:none}
.ugp .upgp-nhide{align-self:flex-end;margin:0;padding:8px 14px;border:1.5px solid #e3a3b0;border-radius:999px;background:#fff;color:#b00020;font:inherit;font-size:15px;font-weight:700;cursor:pointer}
.ugp .upgp-nhide:hover{background:#b00020;color:#fff}
@media (max-width:720px){.ugp .ugw .post .body.upgp-nclosed{grid-template-columns:1fr}
.ugp .upgp-ntab{position:sticky;top:auto;bottom:14px;flex-direction:row;justify-content:center;width:100%;min-height:54px;padding:10px 16px}
.ugp .upgp-ntab .upgp-nlbl{writing-mode:horizontal-tb}}
.ugp .ugw section.post{scroll-margin-top:90px}
/* 1.12: gray, stacked accordion; gray notes + form (no red) */
.ugp .ugw section.post + section.post{margin-top:-38px}
.ugp .ugw .post .ph.upgp-acc{background:#f1f1f3;border:2px solid #dcdcdf;border-radius:0}
.ugp .ugw .post .ph.upgp-acc:hover{background:#e7e7ea;border-color:#cfcfd3}
.ugp .ugw section.post:not(section.post + section.post) .ph.upgp-acc{border-top-left-radius:14px;border-top-right-radius:14px}
.ugp .ugw section.post:not(:has(+ section.post)).upgp-closed .ph.upgp-acc{border-bottom-left-radius:14px;border-bottom-right-radius:14px}
.ugp .ugw .post:not(.upgp-closed) .ph.upgp-acc{background:#e4e4e7;border-color:#c9c9ce;border-radius:0}
.ugp .ugw .post .ph.upgp-acc:focus-visible{outline:3px solid #2c2e30;outline-offset:-3px}
.ugp .ugw .post .upgp-chev{color:#55585c}
.ugp .ugw .post:not(.upgp-closed) .body{padding:24px 4px 40px}
.ugp .upgp-ntab{background:#3a3d40;box-shadow:0 6px 18px rgba(0,0,0,.18)}
.ugp .upgp-ntab:hover{background:#2c2e30}
.ugp .upgp-ncount{color:#3a3d40}
.ugp .upgp-nhide{border-color:#c9c9ce;color:#3a3d40}
.ugp .upgp-nhide:hover{background:#3a3d40;color:#fff}
.ugp .upgp-side{background:#f4f4f5;border-color:#dcdcdf}
.ugp .upgp-side h3{color:#2c2e30}
.ugp .upg-fb h3{color:#2c2e30}
.ugp .upgp-notes .att-file{color:#2c2e30;text-decoration:underline}
.ugp .upgp-del{color:#3a3d40;border-color:#c9c9ce}
.ugp .upgp-del:hover,.ugp .upgp-del:focus-visible{background:#3a3d40;color:#fff}
.ugp .upg-fb .upgp-name:focus,.ugp .upg-fb textarea:focus,.ugp .upg-fb select.upgp-name:focus,.ugp .upgp-editbox textarea:focus{outline:3px solid #55585c;outline-offset:1px;border-color:#55585c}
.ugp .upgp-btn{background:#4a4d50;border-color:#4a4d50;color:#fff}
.ugp .upgp-btn:hover{background:#2c2e30;border-color:#2c2e30}
.ugp .upgp-btn.ghost{background:#fff;color:#3a3d40;border-color:#9a9ca0}
.ugp .upgp-btn.ghost:hover{background:#f1f1f3}
.ugp .upgp-btn.on{background:#2c2e30;border-color:#2c2e30;color:#fff;animation:upgp-pulse-g 1.2s infinite}
.ugp .upgp-msg.bad,.ugp .upg-fb .upgp-msg.bad{color:#2c2e30;font-weight:700}
@keyframes upgp-pulse-g{50%{box-shadow:0 0 0 6px rgba(44,46,48,.2)}}
@media (prefers-reduced-motion:reduce){.ugp .upgp-btn.on{animation:none}}
.ugp .upgp-wrap.ugw section.post{padding-top:0;border-top:0}
.ugp .upgp-wrap.ugw section.post:not(.upgp-closed) > .ph.upgp-acc{background:#e4e4e7;border-color:#c9c9ce}
.ugp .upgp-pane{position:sticky;top:100px;display:flex;flex-direction:column;gap:18px;max-height:calc(100vh - 120px);overflow-y:auto;overscroll-behavior:contain;padding-inline-end:4px;scrollbar-width:thin}
.ugp .upgp-pane .upgp-side,.ugp .upgp-pane .upg-fb{margin:0;flex:none}
@media (max-width:720px){.ugp .upgp-pane{position:static;max-height:none;overflow:visible;padding:0}}
/* 1.14: compact notes pane, vertical hide strip, soft scrollbar */
.ugp .upgp-pane{flex-direction:row;align-items:stretch;gap:10px;overflow:visible;padding:0}
.ugp .upgp-inner{flex:1 1 auto;min-width:0;display:flex;flex-direction:column;gap:12px;max-height:calc(100vh - 120px);overflow-y:auto;overscroll-behavior:contain;padding-inline-end:14px;scrollbar-width:thin;scrollbar-color:#d6d6da transparent}
.ugp .upgp-inner::-webkit-scrollbar{width:10px}
.ugp .upgp-inner::-webkit-scrollbar-track{background:transparent}
.ugp .upgp-inner::-webkit-scrollbar-thumb{background:#dcdce0;border-radius:999px;border:2px solid #fff}
.ugp .upgp-inner::-webkit-scrollbar-thumb:hover{background:#c4c4c9}
.ugp .upgp-pane .upgp-nhide{align-self:stretch;flex:none;width:40px;display:flex;align-items:center;justify-content:center;padding:12px 0;border-radius:12px;border:1.5px solid #d6d6da;background:#f4f4f5;color:#3a3d40;font-size:15px}
.ugp .upgp-pane .upgp-nhide .upgp-nlbl{writing-mode:vertical-rl;white-space:nowrap}
.ugp .upgp-pane .upgp-nhide:hover{background:#3a3d40;color:#fff;border-color:#3a3d40}
.ugp .upgp-inner .upgp-side{padding:12px 14px;border-width:1.5px;border-radius:12px;font-size:16px}
.ugp .upgp-inner .upgp-side h3{font-size:18px;margin:0 0 8px}
.ugp .upgp-inner .upgp-notes{gap:8px}
.ugp .upgp-inner .upgp-notes li{padding:10px 12px}
.ugp .upgp-inner .upgp-notes li.empty{padding:6px 10px;font-size:15px}
.ugp .upgp-inner .upgp-notes p{font-size:16px;line-height:1.6}
.ugp .upgp-inner .upg-fb{padding:12px 14px;border-width:1.5px;border-radius:12px;font-size:16px}
.ugp .upgp-inner .upg-fb h3{font-size:18px;margin:0 0 8px}
.ugp .upgp-inner .upg-fb .upgp-name,.ugp .upgp-inner .upg-fb textarea,.ugp .upgp-inner .upg-fb select.upgp-name{font-size:16px;padding:8px 12px;margin-bottom:8px;min-height:44px;border-width:1.5px;border-radius:10px}
.ugp .upgp-inner .upg-fb textarea{min-height:76px}
.ugp .upgp-inner .upgp-row{gap:6px}
.ugp .upgp-inner .upgp-btn{min-height:42px;padding:6px 12px;font-size:15px;border-radius:10px}
.ugp .upgp-inner .upgp-preview{margin-top:6px;gap:6px}
.ugp .upgp-inner .upgp-preview:empty{display:none}
.ugp .upgp-inner .upgp-msg{margin:6px 0 0;min-height:0;font-size:15px}
.ugp .upgp-inner .upgp-msg:empty{display:none}
@media (max-width:720px){.ugp .upgp-pane{flex-direction:column}.ugp .upgp-inner{max-height:none;overflow:visible;padding:0}.ugp .upgp-pane .upgp-nhide{width:auto;order:-1;padding:8px 14px}.ugp .upgp-pane .upgp-nhide .upgp-nlbl{writing-mode:horizontal-tb}}
.ugp .upgp-inner .upgp-row{flex-wrap:wrap;gap:6px}
.ugp .upgp-inner .upgp-btn.send{margin-inline-start:auto;padding-inline:20px}
@media (max-width:600px){.ugp .upgp-inner .upgp-btn{flex:1 1 auto}.ugp .upgp-inner .upgp-btn.send{flex:1 1 100%;margin:0}}
.ugp .upgp-feed .fd-bar{justify-content:flex-start;gap:34px;padding:10px 4px 12px}
.ugp .upgp-feed .fd-lb{display:none}
.ugp .upgp-feed .fd-ic svg{width:24px;height:24px;stroke-width:1.6}
.ugp .upgp-feed .fd-rx{margin-inline-start:auto;display:inline-flex}
.ugp .upgp-feed .fd-r{width:20px;height:20px;border-radius:50%;display:inline-grid;place-items:center;border:2px solid #fff;box-sizing:content-box}
.ugp .upgp-feed .fd-r + .fd-r{margin-inline-start:-6px}
.ugp .upgp-feed .fd-r-like{background:linear-gradient(#18aaff,#0866ff)}
.ugp .upgp-feed .fd-r-love{background:linear-gradient(#ff6680,#e61739)}
.ugp .upgp-feed .fd-r svg{width:12px;height:12px;display:block}
.ugp .upgp-feed .fd-r svg path{fill:#fff;stroke:none}
/* 1.16: Facebook-like action icons, calendar links */
.ugp .upgp-feed .fd-bar{gap:30px;padding:10px 4px 12px}
.ugp .upgp-feed .fd-ic svg{width:24px;height:24px;fill:none;stroke:#65676b;stroke-width:1.7;stroke-linejoin:round;stroke-linecap:round}
.ugp .upgp-feed .fd-ic svg path{fill:none;stroke:#65676b;stroke-width:1.7;stroke-linejoin:round;stroke-linecap:round}
.ugp .upgp-feed .fd-rx{display:inline-flex;align-items:center}
.ugp .upgp-feed .fd-r{width:18px;height:18px;border:2px solid #fff;border-radius:50%;display:inline-grid;place-items:center;position:relative;box-sizing:content-box}
.ugp .upgp-feed .fd-r-like{z-index:2}
.ugp .upgp-feed .fd-r-love{z-index:1}
.ugp .upgp-feed .fd-r + .fd-r{margin-inline-start:-4px}
.ugp .upgp-feed .fd-r svg{width:11px;height:11px;display:block}
.ugp .upgp-feed .fd-r svg path{fill:#fff;stroke:none}
.ugp .cal .d.upgp-callink{cursor:pointer;transition:transform .12s,box-shadow .12s}
.ugp .cal .d.upgp-callink:hover{transform:translateY(-2px);box-shadow:0 4px 10px rgba(0,0,0,.18)}
.ugp .cal .d.upgp-callink:focus-visible{outline:3px solid #2c2e30;outline-offset:2px}
.ugp .upgp-feed img.fd-svg{display:block;width:24px;height:24px;border:0;margin:0;max-width:none}
.ugp .upgp-feed .fd-sub img.fd-svg{width:12px;height:12px;display:inline-block;vertical-align:-1px}
.ugp .upgp-feed img.fd-r{display:block;width:18px;height:18px;padding:0;border:2px solid #fff;border-radius:50%;background:#fff;max-width:none;box-sizing:content-box}
/* per-post text size control (1.18.0): small, quiet, top right of the open post */
.ugp .ugw .post .body{position:relative}
.ugp .ugw .post .body > .upgp-fsz{position:absolute;top:2px;right:0;display:flex;gap:2px;z-index:3;opacity:.45;transition:opacity .15s}
.ugp .ugw .post .body > .upgp-fsz:hover,.ugp .ugw .post .body > .upgp-fsz:focus-within{opacity:1}
.ugp .ugw .post .body > .upgp-fsz .upgp-fsz-b{all:unset;box-sizing:border-box;cursor:pointer;min-width:26px;height:22px;padding:0 5px;border:1px solid #dcdce0;border-radius:6px;background:#fff;color:#6b6b70;font:600 11px/20px Montserrat,Arial,sans-serif;text-align:center}
.ugp .ugw .post .body > .upgp-fsz .upgp-fsz-b:hover{background:#f2f2f4;color:#333}
.ugp .ugw .post .body > .upgp-fsz .upgp-fsz-b:disabled{opacity:.35;cursor:default}
@media (max-width:720px){.ugp .ugw .post .body > .upgp-fsz{top:4px}}
/* 1.19.0: back-to-top arrow + no sideways scroll on phones */
.upgp-totop{all:unset;position:fixed;left:24px;bottom:86px;z-index:61;width:44px;height:44px;border-radius:50%;background:#3b3836;box-shadow:0 2px 10px rgba(0,0,0,.18);display:flex;align-items:center;justify-content:center;cursor:pointer;opacity:0;visibility:hidden;transform:translateY(8px);transition:opacity .2s,transform .2s,visibility .2s}
.upgp-totop.show{opacity:.88;visibility:visible;transform:none}
.upgp-totop:hover,.upgp-totop:focus-visible{opacity:1}
.upgp-totop img{width:20px;height:20px;display:block}
.ugp{overflow-x:clip}
@media (max-width:720px){
.ugp .ugw .foot{flex-wrap:wrap;justify-content:center;text-align:center;gap:12px}
.ugp .ugw .foot > *{min-width:0;max-width:100%}
.ugp .ugw .foot .upg-docs a{white-space:normal !important}
}
/* 1.21.0 tabs + approve */
.ugp .upgp-tabs{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:10px;padding:18px max(16px,3vw) 0;font-family:'Almarai','Montserrat',sans-serif}
.ugp .upgp-tabs .upgp-tl{display:flex;flex-wrap:wrap;gap:6px;background:#f1f1f3;border-radius:999px;padding:5px}
.ugp .upgp-tabs .upgp-tl a{all:unset;box-sizing:border-box;cursor:pointer;font:700 17px/1.2 'Almarai','Montserrat',sans-serif;color:#4a4c50;padding:11px 22px;border-radius:999px;white-space:nowrap;transition:background .15s,color .15s}
.ugp .upgp-tabs .upgp-tl a:hover{background:#e4e4e7;color:#2c2e30}
.ugp .upgp-tabs .upgp-tl a.on{background:#d7012e;color:#fff;box-shadow:0 2px 8px rgba(215,1,46,.25)}
.ugp .upgp-tabs .upgp-tl a:focus-visible{outline:3px solid #2c2e30;outline-offset:2px}
.ugp .upgp-tabs .upgp-fsz-page{display:flex;gap:4px;opacity:.7}
.ugp .upgp-tabs .upgp-fsz-page:hover,.ugp .upgp-tabs .upgp-fsz-page:focus-within{opacity:1}
.ugp .upgp-tabs .upgp-fsz-b{all:unset;box-sizing:border-box;cursor:pointer;min-width:34px;height:30px;padding:0 8px;border:1px solid #dcdce0;border-radius:8px;background:#fff;color:#55575c;font:600 13px/28px Montserrat,Arial,sans-serif;text-align:center}
.ugp .upgp-tabs .upgp-fsz-b:hover{background:#f2f2f4;color:#222}
.ugp .upgp-tabs .upgp-fsz-b:disabled{opacity:.35;cursor:default}
@media (max-width:600px){.ugp .upgp-tabs .upgp-tl{flex:1 1 100%}.ugp .upgp-tabs .upgp-tl a{flex:1 1 0;text-align:center;font-size:15px;padding:10px 8px}}
.ugp .upgp-btn.approve{background:#1f8a4c!important;color:#fff!important;border-color:#1f8a4c!important}
.ugp .upg-fb[data-approve] .upgp-side h3{font-size:15px}

/* locked services inside the tab bar (1.23.0) */
.ugp .upgp-tabs .upgp-tl .upgp-lkb{all:unset;box-sizing:border-box;cursor:pointer;display:inline-flex;align-items:center;justify-content:center;gap:8px;font:700 17px/1.2 'Almarai','Montserrat',sans-serif;color:#4a4c50;padding:11px 22px;border-radius:999px;white-space:nowrap;opacity:.42;transition:opacity .15s,background .15s}
.ugp .upgp-tabs .upgp-tl .upgp-lkb .lock{font-size:13px}
.ugp .upgp-tabs .upgp-tl .upgp-lkb:hover,.ugp .upgp-tabs .upgp-tl .upgp-lkb.sel{opacity:.75;background:#e4e4e7}
.ugp .upgp-tabs .upgp-tl .upgp-lkb:focus-visible{outline:3px solid #2c2e30;outline-offset:2px}
.ugp .upgp-tabs .upgp-lkpop{flex:1 1 100%;order:4;box-sizing:border-box;background:#fff5f7;border:1px solid #f3c6d0;border-radius:14px;padding:12px 16px;font:400 15px/1.6 'Almarai','Montserrat',sans-serif;color:#3a3c40}
.ugp .upgp-tabs .upgp-lkpop[hidden]{display:none}
.ugp .upgp-tabs .upgp-lkpop p{margin:0 0 8px}
.ugp .upgp-tabs .upgp-lkpop .ac{display:flex;flex-wrap:wrap;gap:8px}
.ugp .upgp-tabs .upgp-lkpop .ac a{all:unset;cursor:pointer;padding:7px 16px;border-radius:999px;font:700 14px/1.3 'Almarai','Montserrat',sans-serif}
.ugp .upgp-tabs .upgp-lkpop .ac a.more{border:1px solid #d7012e;color:#d7012e}
.ugp .upgp-tabs .upgp-lkpop .ac a.wa{background:#25d366;color:#fff}
.ugp .upgp-tabs .upgp-tl{order:1}.ugp .upgp-tabs .upgp-fsz-page{order:2}
@media (max-width:1100px){.ugp .upgp-tabs .upgp-tl{flex:1 1 100%;border-radius:24px}}
@media (max-width:600px){.ugp .upgp-tabs .upgp-tl a,.ugp .upgp-tabs .upgp-tl .upgp-lkb{flex:1 1 calc(50% - 6px);font-size:14px;padding:10px 6px;white-space:normal;text-align:center}}

/* 1.26.0 hero logo + grey full-width client footer */
.page-hero h1.upgp-hero-h1{display:flex;align-items:center;justify-content:space-between;gap:22px;flex-wrap:wrap;width:100%;max-width:none}
.page-hero .upgp-hero-logo{height:58px;width:auto;filter:brightness(0) invert(1);flex:0 0 auto}
@media (max-width:600px){.page-hero .upgp-hero-logo{height:40px}.page-hero h1.upgp-hero-h1{gap:14px}}
.ugp .upgp-wrap:has(> footer.foot:last-child){padding-bottom:0!important}
.ugp .upgp-wrap > footer.foot:last-child{background:#eeeef0;box-shadow:0 0 0 100vmax #eeeef0;clip-path:inset(0 -100vmax);padding-top:22px!important;padding-bottom:26px!important;margin-bottom:0!important}
