/* ============================================================
   HEADER + HEADER OVERLAYS
   Migrated 1:1 from `header 2.html` <style> block.
   Removed only: .dc{} and .df{} (demo chrome — not real markup).
   ============================================================ */

*{box-sizing:border-box;margin:0;padding:0}
body{
  font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif;
  background:#E8E8EC;color:#18181B;
  -webkit-font-smoothing:antialiased;
}
:root{
  --brand-red:#D5123B; --brand-red-dark:#B80D30;
  --brand-black:#0F0F0F;
  --ink-900:#18181B; --ink-700:#3F3F46; --ink-500:#71717A;
  --ink-400:#A1A1AA; --ink-300:#D4D4D8; --ink-200:#E4E4E7; --ink-100:#F4F4F5;
}

/* ========================== HEADER ========================== */
.sr-header{position:sticky;top:0;z-index:900;background:#000;width:100%}

.sr-row-1{
  background:var(--brand-red);height:60px;
  display:flex;align-items:center;justify-content:center;
  position:relative;border-bottom:2px solid #000;
}
.sr-brand{
  display:flex;align-items:baseline;gap:8px;
  font-size:26px;font-weight:900;letter-spacing:-.04em;
  text-decoration:none;white-space:nowrap;color:#FFFFFF;
  -webkit-text-stroke:3px #000000;paint-order:stroke fill;
  text-shadow:0 2px 0 rgba(0,0,0,.25);
}
.sr-brand .a,.sr-brand .b{color:#FFFFFF;-webkit-text-stroke:3px #000000}

.sr-row-2{
  background:var(--brand-black);height:56px;
  display:flex;align-items:center;padding:0 12px;gap:8px;
  position:relative;
}

.sr-btn{
  height:40px;padding:0 20px;border-radius:10px;
  background:rgba(255,255,255,.10);
  border:1px solid rgba(255,255,255,.14);
  color:#FFFFFF;font-family:inherit;font-size:13.5px;font-weight:800;
  cursor:pointer;display:inline-flex;align-items:center;gap:8px;
  flex-shrink:0;transition:.15s;letter-spacing:-.005em;
}
.sr-btn:hover{background:rgba(255,255,255,.18);border-color:rgba(255,255,255,.28)}
.sr-btn svg{width:17px;height:17px;stroke:currentColor;fill:none;
  stroke-width:2.5;stroke-linecap:round;stroke-linejoin:round}

.sr-btn-icon{
  width:40px;height:40px;border-radius:10px;
  background:rgba(255,255,255,.10);
  border:1px solid rgba(255,255,255,.14);
  color:#FFFFFF;
  display:grid;place-items:center;cursor:pointer;
  flex-shrink:0;transition:.15s;
  position:relative;
}
.sr-btn-icon:hover{background:rgba(255,255,255,.18);border-color:rgba(255,255,255,.28)}
.sr-btn-icon svg{width:18px;height:18px;stroke:currentColor;fill:none;
  stroke-width:2.3;stroke-linecap:round;stroke-linejoin:round}

.sr-btn-icon.profile::after{
  content:'';
  position:absolute;
  bottom:4px;right:4px;
  width:10px;height:10px;
  border-radius:50%;
  background:#22A06B;
  border:2px solid var(--brand-black);
  z-index:2;
  box-shadow:0 0 6px rgba(34,160,107,.5);
}

.sr-row-2-spacer{flex:1;min-width:8px}

/* ============================================================
   TOOLTIP — appears BELOW the icon
   ============================================================ */
.sr-tipbox{
  position:absolute;
  top:calc(100% + 14px);
  left:50%;
  transform:translateX(-50%) translateY(-6px);
  background:#0F0F0F;
  color:#fff;
  padding:12px 16px;
  border-radius:12px;
  min-width:220px;
  max-width:280px;
  white-space:normal;
  opacity:0;
  visibility:hidden;
  pointer-events:none;
  transition:opacity .18s ease, transform .18s ease, visibility .18s;
  z-index:9999;
  box-shadow:0 12px 32px rgba(0,0,0,.55), 0 0 0 1px rgba(255,255,255,.08);
  text-align:left;
  line-height:1.35;
  font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif;
}
.sr-tipbox::before{
  content:'';
  position:absolute;
  bottom:100%;
  left:50%;
  transform:translateX(-50%);
  width:0;height:0;
  border:7px solid transparent;
  border-bottom-color:#0F0F0F;
}
.sr-tipbox-title{
  font-size:13.5px;font-weight:800;letter-spacing:-.005em;
  margin-bottom:5px;color:#fff;
  display:flex;align-items:center;gap:6px;
}
.sr-tipbox-desc{
  font-size:12px;font-weight:500;
  color:rgba(255,255,255,.75);line-height:1.45;
}
.sr-btn-icon:hover .sr-tipbox,
.sr-btn-icon.tip-show .sr-tipbox{
  opacity:1;visibility:visible;
  transform:translateX(-50%) translateY(0);
}
.sr-row-2 > .sr-btn-icon:nth-last-child(-n+2) .sr-tipbox{
  left:auto;right:0;transform:translateY(-6px);
}
.sr-row-2 > .sr-btn-icon:nth-last-child(-n+2):hover .sr-tipbox,
.sr-row-2 > .sr-btn-icon:nth-last-child(-n+2).tip-show .sr-tipbox{
  transform:translateY(0);
}
.sr-row-2 > .sr-btn-icon:nth-last-child(-n+2) .sr-tipbox::before{
  left:auto;right:16px;transform:none;
}

/* SCRIM */
.sr-scrim{
  position:fixed;inset:0;background:rgba(15,10,18,.5);
  opacity:0;visibility:hidden;transition:.22s ease;z-index:1000;
}
body.sr-menu-open .sr-scrim,
body.sr-profile-open .sr-scrim,
body.sr-options-open .sr-scrim,
body.sr-language-open .sr-scrim,
body.sr-search-open .sr-scrim{opacity:1;visibility:visible}

/* ========================== DRAWER ========================== */
.sr-drawer{
  position:fixed;top:0;left:0;bottom:0;
  width:88%;max-width:340px;
  background:#fff;display:flex;flex-direction:column;
  transform:translateX(-100%);
  transition:transform .3s cubic-bezier(.4,0,.2,1);
  box-shadow:8px 0 32px rgba(15,10,18,.16);z-index:1010;
}
body.sr-menu-open .sr-drawer{transform:none}
.sr-drawer-head{
  display:flex;align-items:center;justify-content:space-between;
  padding:14px 16px;background:var(--brand-red);color:#fff;flex-shrink:0;
}
.sr-drawer-head .sr-brand{font-size:18px;-webkit-text-stroke:2px #000;color:#fff}
.sr-drawer-head .sr-brand .a,
.sr-drawer-head .sr-brand .b{-webkit-text-stroke:2px #000;color:#fff}
.sr-drawer-close{
  width:36px;height:36px;border-radius:9px;
  background:rgba(0,0,0,.28);border:1px solid rgba(255,255,255,.12);
  color:#fff;display:grid;place-items:center;cursor:pointer;transition:.15s;
}
.sr-drawer-close:hover{background:rgba(0,0,0,.42)}
.sr-drawer-close svg{width:18px;height:18px;stroke:currentColor;fill:none;
  stroke-width:2.5;stroke-linecap:round}
.sr-drawer-scroll{flex:1;overflow-y:auto;padding-bottom:40px;-webkit-overflow-scrolling:touch}

.sr-label{
  padding:14px 18px 6px;font-size:10.5px;font-weight:800;
  letter-spacing:.09em;text-transform:uppercase;color:var(--ink-400);
}
.sr-quicklinks{
  padding:0 12px;display:grid;grid-template-columns:1fr 1fr;
  gap:8px;margin-bottom:6px;
}
.sr-quicklink{
  display:flex;align-items:center;gap:9px;
  padding:10px 12px;background:var(--ink-100);border-radius:10px;
  text-decoration:none;font-size:12.5px;font-weight:700;
  color:var(--ink-900);letter-spacing:-.005em;
  transition:background .15s,color .15s,transform .15s;
  border:1px solid transparent;
}
.sr-quicklink:hover{background:#FEF2F4;color:var(--brand-red);
  border-color:#FBCFE8;transform:translateY(-1px)}
.sr-quicklink:hover svg{color:var(--brand-red)}
.sr-quicklink svg{width:16px;height:16px;stroke:currentColor;fill:none;
  stroke-width:2.4;stroke-linecap:round;stroke-linejoin:round;transition:.15s}
.sr-quicklink.is-new{color:var(--brand-red)}
.sr-quicklink.is-new svg{color:var(--brand-red)}
.sr-quicklink.is-blog{color:#7C5AC7}
.sr-quicklink.is-blog svg{color:#7C5AC7}
.sr-quicklink.is-blog:hover{background:#F2EDFB;color:#7C5AC7;border-color:#DDD0F5}

.sr-acc{border-bottom:1px solid var(--ink-200);transition:background .2s}
.sr-acc:last-of-type{border-bottom:0}
.sr-acc-head{
  display:flex;align-items:center;gap:12px;
  padding:13px 18px;font-size:14.5px;font-weight:600;
  color:var(--ink-900);background:none;border:0;
  width:100%;text-align:left;font-family:inherit;cursor:pointer;
  transition:background .18s,color .18s;letter-spacing:-.005em;
  position:relative;
}
.sr-acc-head::before{
  content:'';position:absolute;left:0;top:0;bottom:0;
  width:3px;background:var(--acc-color);
  transform:scaleY(0);transform-origin:center;
  transition:transform .22s ease;
}
.sr-acc-icon{
  width:36px;height:36px;border-radius:10px;
  display:grid;place-items:center;flex-shrink:0;
  color:var(--acc-color);background:var(--acc-bg);
  transition:transform .22s ease,box-shadow .22s ease;
}
.sr-acc-icon svg{width:19px;height:19px;stroke:currentColor;fill:none;
  stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round}
.sr-acc-text{flex:1;min-width:0}
.sr-acc-title{
  font-size:14.5px;font-weight:600;color:var(--ink-900);
  display:block;line-height:1.25;margin-bottom:2px;transition:color .18s;
}
.sr-acc-desc{
  font-size:11.5px;color:var(--ink-500);line-height:1.3;
  display:block;font-weight:500;
}
.sr-acc-chev{
  margin-left:auto;color:var(--ink-400);
  transition:transform .25s ease,color .18s;flex-shrink:0;
}
.sr-acc-chev svg{width:15px;height:15px;stroke:currentColor;fill:none;
  stroke-width:2.6;stroke-linecap:round;stroke-linejoin:round}
.sr-acc:hover{background:var(--acc-bg)}
.sr-acc:hover .sr-acc-head{color:var(--acc-color);background:transparent}
.sr-acc:hover .sr-acc-title{color:var(--acc-color)}
.sr-acc:hover .sr-acc-head::before{transform:scaleY(1)}
.sr-acc:hover .sr-acc-icon{
  transform:scale(1.08);
  box-shadow:0 4px 14px color-mix(in srgb,var(--acc-color) 32%,transparent);
}
.sr-acc:hover .sr-acc-chev{color:var(--acc-color);transform:rotate(180deg)}

.sr-acc-body{
  max-height:0;overflow:hidden;padding:0 18px;
  transition:max-height .32s cubic-bezier(.4,0,.2,1),
             padding .32s cubic-bezier(.4,0,.2,1);
}
.sr-acc:hover .sr-acc-body,
.sr-acc.is-open .sr-acc-body{
  max-height:420px;padding:4px 18px 14px 66px;
}
.sr-acc-body a{
  display:flex;align-items:center;gap:8px;
  padding:9px 10px;margin:0 -10px 2px;
  font-size:13.5px;color:var(--ink-700);
  text-decoration:none;border-radius:7px;font-weight:500;
  transition:background .18s,color .18s,padding .18s;
  border-left:2px solid transparent;
}
.sr-acc-body a:hover{
  background:#fff;color:var(--acc-color);
  padding-left:16px;border-left-color:var(--acc-color);
  box-shadow:0 2px 8px rgba(15,10,18,.06);
}
.sr-acc-body a svg{width:11px;height:11px;opacity:.55;
  stroke:currentColor;fill:none;stroke-width:2.6;transition:.18s}
.sr-acc-body a:hover svg{opacity:1;transform:translateX(2px)}
.sr-acc-viewall{font-weight:700 !important;color:var(--brand-red) !important}
.sr-acc-viewall:hover{background:#FEF2F4 !important;border-left-color:var(--brand-red) !important}

.sr-web-list{
  max-height:0;overflow:hidden;
  transition:max-height .32s cubic-bezier(.4,0,.2,1),
             padding .32s cubic-bezier(.4,0,.2,1);
}
.sr-acc:hover .sr-web-list,
.sr-acc.is-open .sr-web-list{max-height:500px;padding:2px 0 10px}
.sr-web-row{
  display:flex;align-items:center;gap:12px;
  padding:10px 18px 10px 66px;
  text-decoration:none;color:var(--ink-900);
  transition:.18s;position:relative;
}
.sr-web-row::before{
  content:'';position:absolute;left:0;top:0;bottom:0;
  width:3px;background:var(--web-color);
  transform:scaleY(0);transition:transform .22s ease;
}
.sr-web-row:hover{background:#fff}
.sr-web-row:hover::before{transform:scaleY(1)}
.sr-web-icon{
  width:30px;height:30px;border-radius:8px;
  display:grid;place-items:center;flex-shrink:0;
  color:var(--web-color);background:var(--web-bg);
  transition:transform .2s ease;
}
.sr-web-row:hover .sr-web-icon{transform:scale(1.08)}
.sr-web-icon svg{width:15px;height:15px;stroke:currentColor;fill:none;
  stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round}
.sr-web-body{flex:1;min-width:0}
.sr-web-name{font-size:13px;font-weight:700;color:var(--ink-900);
  display:block;margin-bottom:1px;transition:color .18s}
.sr-web-row:hover .sr-web-name{color:var(--web-color)}
.sr-web-url{font-size:10.5px;color:var(--ink-400);
  display:block;font-family:"SF Mono",Menlo,monospace}
.sr-web-arrow{color:var(--ink-400);flex-shrink:0;transition:.18s}
.sr-web-row:hover .sr-web-arrow{color:var(--web-color);transform:translateX(3px)}
.sr-web-arrow svg{width:12px;height:12px;stroke:currentColor;fill:none;
  stroke-width:2.4;stroke-linecap:round;stroke-linejoin:round}

.sr-legal{display:grid;gap:2px;padding:0}
.sr-legal a{
  display:flex;align-items:center;gap:12px;
  padding:12px 18px;font-size:14px;font-weight:600;
  color:var(--ink-700);text-decoration:none;
  border-bottom:1px solid var(--ink-100);
  transition:.18s;position:relative;
}
.sr-legal a:last-child{border-bottom:0}
.sr-legal a::before{
  content:'';position:absolute;left:0;top:0;bottom:0;
  width:3px;background:var(--brand-red);
  transform:scaleY(0);transform-origin:center;transition:transform .22s ease;
}
.sr-legal a:hover{background:#FEF2F4;color:var(--brand-red);padding-left:22px}
.sr-legal a:hover::before{transform:scaleY(1)}
.sr-legal svg{width:16px;height:16px;stroke:currentColor;fill:none;
  stroke-width:2.3;stroke-linecap:round;stroke-linejoin:round;
  color:var(--ink-400);transition:color .18s}
.sr-legal a:hover svg{color:var(--brand-red)}

/* ========================== SHEETS ========================== */
.sr-sheet{
  position:fixed;left:0;right:0;bottom:0;background:#fff;
  border-radius:24px 24px 0 0;padding:8px 0 24px;
  transform:translateY(100%);
  transition:transform .3s cubic-bezier(.4,0,.2,1);
  max-height:88%;display:flex;flex-direction:column;
  box-shadow:0 -12px 40px rgba(15,10,18,.15);z-index:1010;
}
body.sr-profile-open .sr-profile-sheet,
body.sr-options-open .sr-options-sheet,
body.sr-language-open .sr-language-sheet{transform:none}

.sr-sheet-handle{
  width:40px;height:4px;border-radius:2px;background:var(--ink-300);
  margin:8px auto 12px;flex-shrink:0;
}
.sr-sheet-title{
  padding:0 22px 14px;font-size:11px;font-weight:800;
  letter-spacing:.09em;text-transform:uppercase;color:var(--ink-400);
  border-bottom:1px solid var(--ink-200);flex-shrink:0;
  display:flex;align-items:center;gap:10px;
}
.sr-sheet-back{
  width:28px;height:28px;border-radius:8px;background:var(--ink-100);
  border:0;color:var(--ink-900);display:grid;place-items:center;
  cursor:pointer;flex-shrink:0;transition:.15s;
}
.sr-sheet-back:hover{background:#FEF2F4;color:var(--brand-red)}
.sr-sheet-back svg{width:14px;height:14px;stroke:currentColor;fill:none;
  stroke-width:2.5;stroke-linecap:round;stroke-linejoin:round}
.sr-sheet-scroll{flex:1;overflow-y:auto;padding:8px 0;-webkit-overflow-scrolling:touch}
.sr-sheet-group{padding:8px 0;border-bottom:1px solid var(--ink-200)}
.sr-sheet-group:last-child{border-bottom:0}
.sr-sheet-group-title{
  padding:6px 22px;font-size:10px;font-weight:800;
  letter-spacing:.09em;text-transform:uppercase;color:var(--ink-400);
}

.sr-item{
  display:flex;align-items:center;gap:14px;
  padding:13px 22px;text-decoration:none;color:var(--ink-900);
  background:none;border:0;font-family:inherit;cursor:pointer;
  width:100%;text-align:left;transition:background .18s,padding .18s;
  position:relative;
}
.sr-item::before{
  content:'';position:absolute;left:0;top:0;bottom:0;
  width:3px;background:var(--s-color);
  transform:scaleY(0);transform-origin:center;transition:transform .22s ease;
}
.sr-item:hover{background:var(--s-bg);padding-left:26px}
.sr-item:hover::before{transform:scaleY(1)}
.sr-item-icon{
  width:38px;height:38px;border-radius:10px;
  display:grid;place-items:center;flex-shrink:0;
  color:var(--s-color);background:var(--s-bg);
  transition:transform .22s ease,box-shadow .22s ease;
}
.sr-item:hover .sr-item-icon{
  transform:scale(1.08);
  box-shadow:0 4px 14px color-mix(in srgb,var(--s-color) 32%,transparent);
}
.sr-item-icon svg{width:18px;height:18px;stroke:currentColor;fill:none;
  stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round}
.sr-item-body{flex:1;min-width:0}
.sr-item-name{font-size:14px;font-weight:700;color:var(--ink-900);
  display:block;margin-bottom:2px;transition:color .18s}
.sr-item:hover .sr-item-name{color:var(--s-color)}
.sr-item-desc{font-size:11.5px;color:var(--ink-500);line-height:1.35}
.sr-item-arrow{color:var(--ink-400);flex-shrink:0;transition:.18s}
.sr-item:hover .sr-item-arrow{color:var(--s-color);transform:translateX(3px)}
.sr-item-arrow svg{width:14px;height:14px;stroke:currentColor;fill:none;
  stroke-width:2.4;stroke-linecap:round;stroke-linejoin:round}
.sr-badge{display:inline-flex;padding:2px 7px;border-radius:5px;
  font-size:9.5px;font-weight:800;letter-spacing:.05em;
  text-transform:uppercase;margin-left:6px;vertical-align:middle}
.sr-badge.new{background:var(--brand-red);color:#fff}

.sr-toggle{width:44px;height:26px;border-radius:13px;
  background:var(--ink-300);flex-shrink:0;position:relative;
  transition:background .2s;cursor:pointer}
.sr-toggle::after{content:'';position:absolute;top:3px;left:3px;
  width:20px;height:20px;border-radius:50%;background:#fff;
  box-shadow:0 2px 4px rgba(0,0,0,.15);transition:transform .2s}
.sr-toggle.on{background:var(--brand-red)}
.sr-toggle.on::after{transform:translateX(18px)}

.sr-chip{font-size:11px;font-weight:800;padding:5px 10px;
  border-radius:999px;background:var(--ink-100);color:var(--ink-700);
  display:inline-flex;align-items:center;gap:4px;flex-shrink:0}
.sr-chip.active{background:#FEF2F4;color:var(--brand-red);
  border:1px solid #FBCFE8}

.sr-profile-hero{padding:4px 22px 18px;border-bottom:1px solid var(--ink-200);
  display:flex;align-items:center;gap:14px}
.sr-avatar{width:52px;height:52px;border-radius:50%;
  background:linear-gradient(135deg,#D5123B,#EC4899);
  display:grid;place-items:center;color:#fff;flex-shrink:0;position:relative}
.sr-avatar::after{content:'';position:absolute;bottom:1px;right:1px;
  width:12px;height:12px;border-radius:50%;background:#22A06B;
  border:3px solid #fff}
.sr-avatar svg{width:26px;height:26px;stroke:currentColor;fill:none;
  stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round}
.sr-hero-text{flex:1;min-width:0}
.sr-hero-title{font-size:17px;font-weight:800;color:var(--ink-900);
  letter-spacing:-.015em;margin-bottom:3px}
.sr-hero-sub{font-size:12.5px;color:var(--ink-500);line-height:1.4}

.sr-profile-actions{padding:16px 22px;display:grid;
  grid-template-columns:1fr 1fr;gap:10px;
  border-bottom:1px solid var(--ink-200)}
.sr-pbtn{height:44px;border-radius:11px;border:0;
  font-family:inherit;font-size:13.5px;font-weight:800;
  cursor:pointer;text-decoration:none;
  display:flex;align-items:center;justify-content:center;gap:7px;
  transition:.18s}
.sr-pbtn svg{width:15px;height:15px;stroke:currentColor;fill:none;
  stroke-width:2.4;stroke-linecap:round;stroke-linejoin:round}
.sr-pbtn.primary{background:var(--brand-red);color:#fff;
  box-shadow:0 4px 12px rgba(213,18,59,.25)}
.sr-pbtn.primary:hover{background:var(--brand-red-dark);transform:translateY(-1px)}
.sr-pbtn.secondary{background:#fff;color:var(--ink-900);
  border:1.5px solid var(--ink-200)}
.sr-pbtn.secondary:hover{border-color:var(--brand-red);color:var(--brand-red)}

.sr-lang-group{padding:8px 0;border-bottom:1px solid var(--ink-200)}
.sr-lang-group:last-child{border-bottom:0}
.sr-lang-group-title{padding:10px 22px 6px;font-size:10.5px;font-weight:800;
  letter-spacing:.09em;text-transform:uppercase;color:var(--ink-400);
  display:flex;align-items:center;gap:8px}
.sr-lang-group-title .line{flex:1;height:1px;background:var(--ink-200)}
.sr-lang-item{display:flex;align-items:center;gap:14px;
  padding:11px 22px;background:none;border:0;font-family:inherit;
  cursor:pointer;width:100%;text-align:left;
  transition:background .18s,padding .18s;
  position:relative;color:var(--ink-900)}
.sr-lang-item::before{content:'';position:absolute;left:0;top:0;bottom:0;
  width:3px;background:var(--brand-red);transform:scaleY(0);
  transition:transform .22s ease}
.sr-lang-item:hover{background:#FEF2F4;padding-left:26px}
.sr-lang-item:hover::before{transform:scaleY(1)}
.sr-lang-item.active{background:#FEF2F4}
.sr-lang-item.active::before{transform:scaleY(1)}
.sr-lang-name{font-size:14px;font-weight:700;flex:1}
.sr-lang-native{font-size:12px;color:var(--ink-500);margin-right:8px}
.sr-lang-check{width:18px;height:18px;border-radius:50%;
  background:var(--brand-red);color:#fff;
  display:grid;place-items:center;flex-shrink:0;opacity:0;
  transition:opacity .2s}
.sr-lang-check svg{width:10px;height:10px;stroke:currentColor;
  fill:none;stroke-width:3;stroke-linecap:round;stroke-linejoin:round}
.sr-lang-item.active .sr-lang-check{opacity:1}

.sr-opt-acc{background:none;border:0;width:100%}
.sr-opt-acc-head{
  display:flex;align-items:center;gap:14px;
  padding:13px 22px;text-decoration:none;color:var(--ink-900);
  background:none;border:0;font-family:inherit;cursor:pointer;
  width:100%;text-align:left;transition:background .18s,padding .18s;
  position:relative;
}
.sr-opt-acc-head::before{
  content:'';position:absolute;left:0;top:0;bottom:0;
  width:3px;background:var(--s-color);
  transform:scaleY(0);transform-origin:center;transition:transform .22s ease;
}
.sr-opt-acc-head:hover{background:var(--s-bg);padding-left:26px}
.sr-opt-acc-head:hover::before{transform:scaleY(1)}
.sr-opt-acc-head .sr-item-icon{
  width:38px;height:38px;border-radius:10px;
  display:grid;place-items:center;flex-shrink:0;
  color:var(--s-color);background:var(--s-bg);
  transition:transform .22s ease,box-shadow .22s ease;
}
.sr-opt-acc-head:hover .sr-item-icon{
  transform:scale(1.08);
  box-shadow:0 4px 14px color-mix(in srgb,var(--s-color) 32%,transparent);
}
.sr-opt-acc-head .sr-item-icon svg{width:18px;height:18px;
  stroke:currentColor;fill:none;
  stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round}
.sr-opt-acc-head .sr-item-body{flex:1;min-width:0}
.sr-opt-acc-head .sr-item-name{font-size:14px;font-weight:700;
  color:var(--ink-900);display:block;margin-bottom:2px;transition:color .18s}
.sr-opt-acc-head:hover .sr-item-name{color:var(--s-color)}
.sr-opt-acc-head .sr-item-desc{font-size:11.5px;color:var(--ink-500);
  line-height:1.35}
.sr-opt-acc-chev{
  color:var(--ink-400);flex-shrink:0;
  transition:transform .25s ease,color .18s;
}
.sr-opt-acc-chev svg{width:14px;height:14px;stroke:currentColor;fill:none;
  stroke-width:2.4;stroke-linecap:round;stroke-linejoin:round}
.sr-opt-acc-body{
  max-height:0;overflow:hidden;
  transition:max-height .35s cubic-bezier(.4,0,.2,1);
  background:linear-gradient(180deg,#F8F9FB 0%,#fff 100%);
  border-top:1px solid var(--ink-100);
}
.sr-opt-acc.is-open .sr-opt-acc-body{max-height:500px;border-bottom:1px solid var(--ink-100)}
.sr-opt-acc.is-open .sr-opt-acc-chev{transform:rotate(180deg);color:var(--s-color)}
.sr-opt-acc:hover .sr-opt-acc-body{max-height:500px;border-bottom:1px solid var(--ink-100)}
.sr-opt-acc:hover .sr-opt-acc-chev{transform:rotate(180deg);color:var(--s-color)}
.sr-opt-acc:hover .sr-opt-acc-head{background:var(--s-bg);padding-left:26px}
.sr-opt-acc:hover .sr-opt-acc-head::before{transform:scaleY(1)}

.sr-opt-web{
  display:flex;align-items:center;gap:12px;
  padding:12px 22px 12px 74px;
  text-decoration:none;color:var(--ink-900);
  transition:.18s;position:relative;
}
.sr-opt-web::before{
  content:'';position:absolute;left:0;top:0;bottom:0;
  width:3px;background:var(--web-color);
  transform:scaleY(0);transition:transform .22s ease;
}
.sr-opt-web:hover{background:var(--web-bg);padding-left:78px}
.sr-opt-web:hover::before{transform:scaleY(1)}
.sr-opt-web .sr-web-icon{
  width:34px;height:34px;border-radius:9px;
  display:grid;place-items:center;flex-shrink:0;
  color:var(--web-color);background:var(--web-bg);
  transition:transform .2s ease;
}
.sr-opt-web:hover .sr-web-icon{transform:scale(1.08)}
.sr-opt-web .sr-web-icon svg{width:16px;height:16px;
  stroke:currentColor;fill:none;
  stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round}
.sr-opt-web .sr-web-body{flex:1;min-width:0}
.sr-opt-web .sr-web-name{font-size:13.5px;font-weight:700;
  color:var(--ink-900);display:block;margin-bottom:2px;
  transition:color .18s}
.sr-opt-web:hover .sr-web-name{color:var(--web-color)}
.sr-opt-web .sr-web-url{font-size:11px;color:var(--ink-400);
  display:block;font-family:"SF Mono",Menlo,monospace}
.sr-opt-web .sr-web-arrow{color:var(--ink-400);flex-shrink:0;transition:.18s}
.sr-opt-web:hover .sr-web-arrow{color:var(--web-color);transform:translateX(3px)}
.sr-opt-web .sr-web-arrow svg{width:13px;height:13px;
  stroke:currentColor;fill:none;
  stroke-width:2.4;stroke-linecap:round;stroke-linejoin:round}

.sr-social-row{
  display:grid;grid-template-columns:1fr 1fr;gap:10px;
  padding:14px 22px;
}
.sr-social-btn{
  height:44px;border-radius:11px;
  display:flex;align-items:center;justify-content:center;gap:8px;
  font-family:inherit;font-size:13px;font-weight:800;
  text-decoration:none;cursor:pointer;
  transition:.18s;border:1.5px solid transparent;
}
.sr-social-btn svg{width:18px;height:18px;stroke:currentColor;fill:none;
  stroke-width:2.3;stroke-linecap:round;stroke-linejoin:round}
.sr-social-btn.wa{background:#25D366;color:#fff;
  box-shadow:0 4px 12px rgba(37,211,102,.25)}
.sr-social-btn.wa:hover{background:#1EBE5A;transform:translateY(-1px)}
.sr-social-btn.tg{background:#229ED9;color:#fff;
  box-shadow:0 4px 12px rgba(34,158,217,.25)}
.sr-social-btn.tg:hover{background:#1B8BC2;transform:translateY(-1px)}

.sr-install-card{
  margin:8px 22px 4px;padding:16px;
  background:linear-gradient(135deg,#EFF4FF,#E0E7FF);
  border:1px solid #C7D2FE;border-radius:14px;
  display:flex;align-items:center;gap:14px;
  transition:.2s;
}
.sr-install-card:hover{transform:translateY(-1px);
  box-shadow:0 6px 20px rgba(99,102,241,.15)}
.sr-install-icon{
  width:48px;height:48px;border-radius:12px;
  background:linear-gradient(135deg,#2563EB,#4F46E5);color:#fff;
  display:grid;place-items:center;flex-shrink:0;
  box-shadow:0 4px 12px rgba(37,99,235,.3);
}
.sr-install-icon svg{width:24px;height:24px;stroke:currentColor;fill:none;
  stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round}
.sr-install-body{flex:1;min-width:0}
.sr-install-title{font-size:14px;font-weight:800;color:var(--ink-900);
  margin-bottom:3px;letter-spacing:-.005em}
.sr-install-desc{font-size:11.5px;color:var(--ink-500);line-height:1.35}
.sr-install-btn{
  height:36px;padding:0 14px;border-radius:9px;border:0;
  background:#2563EB;color:#fff;
  font-family:inherit;font-size:12px;font-weight:800;
  cursor:pointer;flex-shrink:0;transition:.15s;
}
.sr-install-btn:hover{background:#1D4ED8}
.sr-install-btn:disabled{background:var(--ink-300);cursor:not-allowed}

.sr-search-overlay{position:fixed;inset:0;z-index:1020;background:#fff;
  display:flex;flex-direction:column;
  opacity:0;visibility:hidden;transition:.18s ease}
body.sr-search-open .sr-search-overlay{opacity:1;visibility:visible}
.sr-search-head{display:flex;align-items:center;gap:10px;padding:14px 16px;
  border-bottom:1px solid var(--ink-200);flex-shrink:0}
.sr-search-back{width:38px;height:38px;border-radius:10px;
  background:var(--ink-100);border:0;color:var(--ink-900);
  display:grid;place-items:center;cursor:pointer;flex-shrink:0;transition:.18s}
.sr-search-back:hover{background:#FEF2F4;color:var(--brand-red)}
.sr-search-back svg{width:18px;height:18px;stroke:currentColor;fill:none;
  stroke-width:2.5;stroke-linecap:round;stroke-linejoin:round}
.sr-search-input-wrap{flex:1;position:relative}
.sr-search-input-wrap input{width:100%;height:44px;border:1.5px solid var(--ink-200);
  border-radius:11px;padding:0 14px 0 42px;font-size:14.5px;outline:none;
  font-family:inherit;color:var(--ink-900);background:#fff;transition:.15s}
.sr-search-input-wrap input:focus{border-color:var(--brand-red);
  box-shadow:0 0 0 4px rgba(213,18,59,.10)}
.sr-search-input-wrap svg{position:absolute;left:14px;top:50%;transform:translateY(-50%);
  width:17px;height:17px;color:var(--ink-400);
  stroke:currentColor;fill:none;stroke-width:2.4;stroke-linecap:round;
  pointer-events:none}
.sr-search-body{flex:1;overflow-y:auto;padding:16px 0}
.sr-search-label{padding:0 20px 10px;font-size:10.5px;font-weight:800;
  letter-spacing:.09em;text-transform:uppercase;color:var(--ink-400)}
.sr-search-item{display:flex;align-items:center;gap:12px;padding:12px 20px;
  text-decoration:none;color:inherit;
  transition:background .18s,padding .18s;position:relative}
.sr-search-item::before{content:'';position:absolute;left:0;top:0;bottom:0;
  width:3px;background:var(--s-color);transform:scaleY(0);
  transition:transform .22s ease}
.sr-search-item:hover{background:var(--s-bg);padding-left:24px}
.sr-search-item:hover::before{transform:scaleY(1)}
.sr-search-icon{width:38px;height:38px;border-radius:10px;
  display:grid;place-items:center;flex-shrink:0;
  color:var(--s-color);background:var(--s-bg);transition:transform .22s ease}
.sr-search-item:hover .sr-search-icon{transform:scale(1.08)}
.sr-search-icon svg{width:19px;height:19px;stroke:currentColor;fill:none;
  stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round}
.sr-search-name{display:block;font-size:14.5px;font-weight:700;
  color:var(--ink-900);letter-spacing:-.005em;margin-bottom:2px;
  transition:color .18s}
.sr-search-item:hover .sr-search-name{color:var(--s-color)}
.sr-search-cat{display:block;font-size:12px;color:var(--ink-500)}

body.sr-menu-open,body.sr-profile-open,body.sr-options-open,
body.sr-language-open,body.sr-search-open{overflow:hidden}

/* ========================== DESKTOP ========================== */
@media(min-width:1024px){
  .sr-row-1{height:72px;padding:0 32px}
  .sr-brand{font-size:32px;-webkit-text-stroke:3.5px #000}
  .sr-brand .a,.sr-brand .b{-webkit-text-stroke:3.5px #000}
  .sr-row-2{height:64px;padding:0 32px;gap:10px}
  .sr-btn{height:44px;padding:0 26px;font-size:14.5px;gap:9px;border-radius:11px}
  .sr-btn svg{width:18px;height:18px}
  .sr-btn-icon{width:44px;height:44px;border-radius:11px}
  .sr-btn-icon svg{width:20px;height:20px}
  .sr-btn-icon.profile::after{bottom:5px;right:5px;width:11px;height:11px}
  .sr-row-2-spacer{flex:1;min-width:24px}
}
@media(min-width:1440px){
  .sr-row-1{padding:0 max(48px, calc((100vw - 1320px) / 2))}
  .sr-row-2{padding:0 max(48px, calc((100vw - 1320px) / 2))}
}

/* ============================================================
   MOBILE — FULL-SCREEN APP STYLE (up to 767px)
   ============================================================ */
@media (max-width: 767px){

  /* Full-screen drawer like a native app */
  .sr-drawer{
    width:100%;
    max-width:100%;
    box-shadow:none;
    border-radius:0;
  }
  .sr-drawer-head{
    padding-top:calc(14px + env(safe-area-inset-top, 0px));
    padding-bottom:14px;
  }
  .sr-drawer-scroll{
    padding-bottom:calc(48px + env(safe-area-inset-bottom, 0px));
  }

  /* Sheets go higher — app-like feel */
  .sr-sheet{
    max-height:96vh;
    border-radius:20px 20px 0 0;
    padding-bottom:calc(30px + env(safe-area-inset-bottom, 0px));
  }

  /* Search overlay handles notch and full-screen */
  .sr-search-overlay{
    padding-top:env(safe-area-inset-top, 0px);
  }
  .sr-search-head{
    padding-top:calc(14px + env(safe-area-inset-top, 0px));
  }
  .sr-search-body{
    padding-bottom:calc(24px + env(safe-area-inset-bottom, 0px));
  }

  /* Hide tooltips on mobile (touch, no hover) */
  .sr-tipbox{display:none !important}

  /* Bigger, app-like tap targets */
  .sr-row-2{height:58px;padding:0 12px;gap:8px}
  .sr-btn{height:42px;padding:0 18px;font-size:13.5px;gap:7px;border-radius:11px}
  .sr-btn svg{width:18px;height:18px}
  .sr-btn-icon{width:42px;height:42px;border-radius:11px}
  .sr-btn-icon svg{width:20px;height:20px}
  .sr-btn-icon.profile::after{bottom:4px;right:4px;width:10px;height:10px}

  /* Menu drawer items — bigger touch targets */
  .sr-quicklink{padding:13px 14px;font-size:13px;gap:10px}
  .sr-quicklink svg{width:18px;height:18px}

  .sr-acc-head{padding:15px 18px;gap:13px}
  .sr-acc-icon{width:40px;height:40px;border-radius:11px}
  .sr-acc-icon svg{width:20px;height:20px}
  .sr-acc-title{font-size:15px}
  .sr-acc-desc{font-size:12px;line-height:1.35}
  .sr-acc-body a{padding:11px 10px;font-size:14px;gap:9px}
  .sr-acc-body a svg{width:12px;height:12px}
  .sr-acc:hover .sr-acc-body,
  .sr-acc.is-open .sr-acc-body{padding:6px 18px 16px 68px}

  .sr-legal a{padding:14px 18px;font-size:14.5px;gap:13px}
  .sr-legal svg{width:18px;height:18px}

  .sr-web-row{padding:12px 18px 12px 68px;gap:13px}
  .sr-web-icon{width:34px;height:34px;border-radius:9px}
  .sr-web-icon svg{width:16px;height:16px}
  .sr-web-name{font-size:14px}
  .sr-web-url{font-size:11px}

  /* Sheets — bigger touch targets */
  .sr-item{padding:15px 20px;gap:14px}
  .sr-item-icon{width:42px;height:42px;border-radius:11px}
  .sr-item-icon svg{width:19px;height:19px}
  .sr-item-name{font-size:15px}
  .sr-item-desc{font-size:12px}
  .sr-item-arrow svg{width:15px;height:15px}

  .sr-profile-hero{padding:6px 22px 20px;gap:15px}
  .sr-avatar{width:56px;height:56px}
  .sr-avatar svg{width:28px;height:28px}
  .sr-hero-title{font-size:18px}
  .sr-hero-sub{font-size:13px}

  .sr-profile-actions{padding:18px 22px;gap:12px}
  .sr-pbtn{height:48px;font-size:14px;gap:8px}
  .sr-pbtn svg{width:16px;height:16px}

  .sr-lang-item{padding:14px 22px;gap:14px}
  .sr-lang-name{font-size:15px}
  .sr-lang-native{font-size:13px}
  .sr-lang-check{width:20px;height:20px}

  .sr-opt-acc-head{padding:15px 20px;gap:14px}
  .sr-opt-acc-head .sr-item-icon{width:42px;height:42px}
  .sr-opt-acc-head .sr-item-icon svg{width:19px;height:19px}
  .sr-opt-acc-head .sr-item-name{font-size:15px}
  .sr-opt-acc-head .sr-item-desc{font-size:12px}
  .sr-opt-web{padding:13px 20px 13px 78px;gap:13px}
  .sr-opt-web .sr-web-icon{width:36px;height:36px}
  .sr-opt-web .sr-web-name{font-size:14px}
  .sr-opt-web .sr-web-url{font-size:11px}
  .sr-opt-web:hover{padding-left:82px}

  .sr-social-row{padding:14px 22px;gap:12px}
  .sr-social-btn{height:50px;font-size:14px;gap:10px}
  .sr-social-btn svg{width:20px;height:20px}

  .sr-install-card{margin:10px 22px 6px;padding:18px;gap:14px}
  .sr-install-icon{width:52px;height:52px}
  .sr-install-icon svg{width:26px;height:26px}
  .sr-install-title{font-size:15px}
  .sr-install-desc{font-size:12px}
  .sr-install-btn{height:42px;padding:0 18px;font-size:13px}

  .sr-search-head{padding:14px 14px}
  .sr-search-input-wrap input{height:46px;font-size:15px}
  .sr-search-item{padding:14px 20px;gap:13px}
  .sr-search-icon{width:42px;height:42px}
  .sr-search-icon svg{width:20px;height:20px}
  .sr-search-name{font-size:15px}
  .sr-search-cat{font-size:12.5px}

  /* Prevent overscroll bounce on panels */
  .sr-drawer-scroll,
  .sr-sheet-scroll,
  .sr-search-body{
    overscroll-behavior:contain;
  }
}

/* ============================================================
   SMALL PHONES — extra tight (up to 380px)
   ============================================================ */
@media (max-width: 380px){
  .sr-row-2{height:54px;padding:0 8px;gap:4px}
  .sr-btn{height:38px;padding:0 12px;font-size:12.5px;gap:5px;border-radius:9px}
  .sr-btn svg{width:16px;height:16px}
  .sr-btn-icon{width:38px;height:38px;border-radius:9px}
  .sr-btn-icon svg{width:18px;height:18px}
  .sr-btn-icon.profile::after{bottom:3px;right:3px;width:8px;height:8px;border-width:1.5px}
  .sr-row-2-spacer{min-width:4px}
  .sr-brand{font-size:24px;-webkit-text-stroke:2.5px #000}
  .sr-brand .a,.sr-brand .b{-webkit-text-stroke:2.5px #000}
}

@media(prefers-reduced-motion:reduce){
  *{transition-duration:.001ms !important}
}