/*
 * Siam Blockchain theme 2.0 — the glass look.
 *
 * Every rule starts with html.sbg, so nothing in this file applies until the loader (glass/glass.php) turns the look on.
 * Light and dark share one set of rules: html.sbg-dark only swaps the colour tokens below.
 * Font sizes and weights are the site's own (Sukhumvit Set 18/700 menu, Tahoma 18 body…) — this file changes surfaces,
 * not type and not the order of things.
 */

/* ---------- 1. tokens ---------- */
html.sbg{
  --g-teal:#4ac5db; --g-teal-hi:#7fdcee; --g-on-teal:#04232a;
  --g-base:#e9eff5;
  --g-fx:radial-gradient(900px 640px at 0% 6%,rgba(74,197,219,.34),transparent 66%),radial-gradient(860px 620px at 100% 14%,rgba(84,112,255,.22),transparent 66%),radial-gradient(900px 660px at 98% 44%,rgba(146,92,255,.17),transparent 66%),radial-gradient(880px 640px at 0% 56%,rgba(38,180,150,.20),transparent 66%),radial-gradient(900px 660px at 100% 82%,rgba(74,197,219,.34),transparent 66%),radial-gradient(820px 620px at 0% 94%,rgba(84,112,255,.22),transparent 66%);
  --g-stage-base:#171a20;
  --g-stage:radial-gradient(640px 280px at 4% 0%,rgba(74,197,219,.44),transparent 66%),radial-gradient(620px 280px at 96% 0%,rgba(84,112,255,.36),transparent 66%),radial-gradient(560px 260px at 54% 130%,rgba(146,92,255,.24),transparent 66%),var(--g-stage-base);
  --g-ink:#12161d; --g-ink2:#3b4656; --g-ink3:#566174; --g-link:#0b6474; --g-link-h:#084f5c;
  --g-line:rgba(15,23,42,.10);
  --g-down:#c02a26; --g-down-bg:rgba(200,50,45,.12); --g-up:#0e7a43; --g-up-bg:rgba(22,163,74,.13);
  /* the floating menu: tinted teal glass */
  --g-nav-bg:linear-gradient(180deg,rgba(134,228,244,.80),rgba(74,197,219,.66)); --g-nav-line:rgba(255,255,255,.70);
  --g-nav-shadow:inset 0 1px 0 rgba(255,255,255,.80),inset 0 -1px 0 rgba(4,35,42,.10),0 20px 38px -20px rgba(18,128,152,.85),0 2px 8px rgba(15,23,42,.10);
  --g-nav-ink:#04232a; --g-nav-ctl:rgba(255,255,255,.40); --g-nav-ctl-line:rgba(255,255,255,.65); --g-nav-hover:rgba(255,255,255,.42);
  --g-nav-on:#ffffff; --g-nav-on-ink:#04232a; --g-nav-off-ink:rgba(4,35,42,.72); --g-nav-field:rgba(255,255,255,.52); --g-nav-holder:rgba(4,35,42,.66);
  /* glass that floats over the page (ticker, share bar, round buttons) */
  --g-chrome-bg:linear-gradient(180deg,rgba(255,255,255,.74),rgba(255,255,255,.48)); --g-chrome-line:rgba(255,255,255,.86);
  --g-chrome-shadow:inset 0 1px 0 rgba(255,255,255,.96),0 20px 42px -24px rgba(15,23,42,.42),0 2px 8px rgba(15,23,42,.07);
  /* panes that hold content (cards, article, press release): no blur, so text stays sharp and phones stay fast */
  --g-panel-bg:linear-gradient(180deg,rgba(255,255,255,.82),rgba(255,255,255,.58)); --g-panel-line:rgba(255,255,255,.90);
  --g-panel-shadow:inset 0 1px 0 #fff,0 1px 2px rgba(15,23,42,.05),0 24px 46px -28px rgba(15,23,42,.38);
  --g-rim:linear-gradient(140deg,#fff,rgba(255,255,255,.40) 26%,rgba(255,255,255,.10) 58%,rgba(255,255,255,.80));
  --g-hero-shadow:0 32px 60px -30px rgba(15,23,42,.55),0 2px 8px rgba(15,23,42,.10);
  --g-tile-bg:rgba(255,255,255,.55); --g-tile-line:rgba(255,255,255,.85); --g-tile-shadow:inset 0 1px 0 rgba(255,255,255,.95);
  --g-ctl-bg:linear-gradient(180deg,rgba(255,255,255,.95),rgba(255,255,255,.70)); --g-ctl-line:rgba(255,255,255,.95);
  --g-ctl-shadow:inset 0 1px 0 #fff,0 6px 14px -8px rgba(15,23,42,.45);
  --g-side-bg:linear-gradient(180deg,rgba(40,62,82,.92),rgba(26,41,55,.88)); --g-side-line:rgba(255,255,255,.22);
  --g-side-shadow:inset 0 1px 0 rgba(255,255,255,.22),0 26px 50px -28px rgba(15,23,42,.65);
  /* things that open over the page (drop-down, search, sheets) */
  --g-pop-bg:linear-gradient(180deg,rgba(255,255,255,.80),rgba(255,255,255,.60)); --g-pop-line:rgba(255,255,255,.9);
  --g-pop-shadow:inset 0 1px 0 #fff,0 30px 60px -24px rgba(15,23,42,.5),0 4px 14px rgba(15,23,42,.1); --g-pop-ink:#12161d;
  --g-pop-hover:rgba(15,23,42,.07);
  --g-ad-bg:rgba(15,23,42,.04); --g-ad-line:rgba(15,23,42,.26); --g-ad-ink:#566174;
  --g-field-bg:rgba(255,255,255,.70); --g-field-line:rgba(15,23,42,.14);
  --g-blur:blur(26px) saturate(180%); --g-blur-pop:blur(30px) saturate(190%);
  /* springs: the overshoot of glass that is tapped or opened (same curves as the app) */
  --g-spr:linear(0,0.02,0.074,0.153,0.249,0.355,0.463,0.571,0.673,0.766,0.85,0.922,0.983,1.031,1.069,1.096,1.114,1.123,1.126,1.124,1.117,1.107,1.095,1.081,1.068,1.054,1.041,1.029,1.019,1.01,1.002,0.996,0.991,0.988,0.986,0.984,0.984,0.984,0.985,0.987,1);
  --g-spr2:linear(0,0.01,0.035,0.074,0.121,0.175,0.233,0.294,0.354,0.415,0.473,0.53,0.583,0.633,0.68,0.723,0.762,0.798,0.829,0.858,0.883,0.906,0.925,0.942,0.956,0.968,0.979,0.987,0.994,1,1.005,1.008,1.011,1.013,1.014,1.015,1.015,1.015,1.015,1.014,1);
  color-scheme:light;
}
@supports not (transition-timing-function:linear(0,1)){
  html.sbg{--g-spr:cubic-bezier(.3,1.45,.5,1);--g-spr2:cubic-bezier(.25,1.1,.4,1)}
}
html.sbg-dark{
  --g-base:#090b0f;
  --g-fx:radial-gradient(900px 640px at 0% 6%,rgba(74,197,219,.34),transparent 66%),radial-gradient(860px 620px at 100% 14%,rgba(84,112,255,.30),transparent 66%),radial-gradient(900px 660px at 98% 44%,rgba(146,92,255,.22),transparent 66%),radial-gradient(880px 640px at 0% 56%,rgba(38,180,150,.20),transparent 66%),radial-gradient(900px 660px at 100% 82%,rgba(74,197,219,.34),transparent 66%),radial-gradient(820px 620px at 0% 94%,rgba(84,112,255,.30),transparent 66%);
  --g-stage-base:#0b0e13;
  --g-ink:#f3f5f8; --g-ink2:#c5cbd6; --g-ink3:#98a1b1; --g-link:#7fdcee; --g-link-h:#a5e8f4;
  --g-line:rgba(255,255,255,.10);
  --g-down:#ff7b7b; --g-down-bg:rgba(255,107,107,.14); --g-up:#4ade80; --g-up-bg:rgba(74,222,128,.14);
  --g-nav-bg:linear-gradient(180deg,rgba(74,197,219,.36),rgba(74,197,219,.18)); --g-nav-line:rgba(127,220,238,.36);
  --g-nav-shadow:inset 0 1px 0 rgba(255,255,255,.24),0 24px 50px -24px rgba(0,0,0,.85),0 2px 10px rgba(0,0,0,.30);
  --g-nav-ink:#eafaff; --g-nav-ctl:rgba(255,255,255,.10); --g-nav-ctl-line:rgba(255,255,255,.16); --g-nav-hover:rgba(255,255,255,.14);
  --g-nav-on:#4ac5db; --g-nav-on-ink:#04232a; --g-nav-off-ink:rgba(234,250,255,.72); --g-nav-field:rgba(255,255,255,.10); --g-nav-holder:rgba(234,250,255,.74);
  --g-chrome-bg:linear-gradient(180deg,rgba(255,255,255,.115),rgba(255,255,255,.05)); --g-chrome-line:rgba(255,255,255,.12);
  --g-chrome-shadow:inset 0 1px 0 rgba(255,255,255,.18),0 24px 60px -28px rgba(0,0,0,.85),0 2px 10px rgba(0,0,0,.30);
  --g-panel-bg:linear-gradient(180deg,rgba(255,255,255,.090),rgba(255,255,255,.040)); --g-panel-line:rgba(255,255,255,.10);
  --g-panel-shadow:inset 0 1px 0 rgba(255,255,255,.10),0 1px 2px rgba(0,0,0,.25),0 16px 36px -20px rgba(0,0,0,.65);
  --g-rim:linear-gradient(140deg,rgba(255,255,255,.46),rgba(255,255,255,.09) 26%,rgba(255,255,255,.02) 58%,rgba(255,255,255,.24));
  --g-hero-shadow:0 32px 70px -30px rgba(0,0,0,.95),0 0 0 1px rgba(255,255,255,.08);
  --g-tile-bg:rgba(255,255,255,.045); --g-tile-line:rgba(255,255,255,.07); --g-tile-shadow:inset 0 1px 0 rgba(255,255,255,.06);
  --g-ctl-bg:rgba(255,255,255,.08); --g-ctl-line:rgba(255,255,255,.12); --g-ctl-shadow:inset 0 1px 0 rgba(255,255,255,.12),0 6px 14px -8px rgba(0,0,0,.6);
  --g-side-bg:linear-gradient(180deg,rgba(74,197,219,.13),rgba(255,255,255,.04)); --g-side-line:rgba(255,255,255,.11);
  --g-side-shadow:inset 0 1px 0 rgba(255,255,255,.12),0 16px 36px -20px rgba(0,0,0,.65);
  --g-pop-bg:linear-gradient(180deg,rgba(30,37,48,.72),rgba(20,25,33,.62)); --g-pop-line:rgba(255,255,255,.16);
  --g-pop-shadow:inset 0 1px 0 rgba(255,255,255,.22),0 30px 70px -24px rgba(0,0,0,.9),0 4px 14px rgba(0,0,0,.35); --g-pop-ink:#f3f5f8;
  --g-pop-hover:rgba(255,255,255,.10);
  --g-ad-bg:rgba(255,255,255,.03); --g-ad-line:rgba(255,255,255,.24); --g-ad-ink:#98a1b1;
  --g-field-bg:rgba(255,255,255,.07); --g-field-line:rgba(255,255,255,.14);
  color-scheme:dark;
}

/* ---------- 2. page ---------- */
html.sbg{background:var(--g-base)}
html.sbg body{background:var(--g-fx),var(--g-base);background-repeat:no-repeat;color:var(--g-ink);-webkit-font-smoothing:antialiased}
html.sbg a{color:var(--g-link)}
html.sbg a:hover{color:var(--g-link-h)}
html.sbg ::selection{background:rgba(74,197,219,.35)}
html.sbg :focus-visible{outline:2px solid var(--g-teal);outline-offset:2px}

/* the rim of light on a pane of glass: a 1px gradient border drawn by a pseudo-element */
html.sbg .main-menu > .container::after,
html.sbg .sbc-ticker-wrap::after,
html.sbg .small-thumb-posts::after,
html.sbg .latestPost.grid .latestPost-inner::after,
html.sbg .primary-slider .slide-post-info::after,
html.sbg .single-content-wrapper > .article::after,
html.sbg .single-content-wrapper > #sidebar::after,
html.sbg .siam-social-bar::after,
html.sbg .sbg-rim::after{content:"";position:absolute;inset:0;border-radius:inherit;padding:1px;pointer-events:none;background:var(--g-rim);-webkit-mask:linear-gradient(#000 0 0) content-box,linear-gradient(#000 0 0);-webkit-mask-composite:xor;mask:linear-gradient(#000 0 0) content-box exclude,linear-gradient(#000 0 0);display:block;float:none;clear:none;width:auto;height:auto}
html.sbg .primary-slider .slide-post-info::after,
html.sbg .sbg-rim-photo::after{background:linear-gradient(140deg,rgba(255,255,255,.70),rgba(255,255,255,.14) 26%,rgba(255,255,255,.03) 58%,rgba(255,255,255,.36))}

/* ---------- 3. header: the dark stage with the logo ---------- */
/* the header's own box is dissolved so the menu inside it can stay with the reader all the way down the page */
html.sbg #site-header{display:contents}
html.sbg #primary-navigation{display:none}
html.sbg #header{float:none;width:auto;background:var(--g-stage)}
html.sbg #header .container{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:90px;padding:14px 0;box-sizing:content-box}
html.sbg #header .container::before,html.sbg #header .container::after{content:none}
html.sbg .inner-header{display:contents}
html.sbg .logo-wrap{float:none;margin:0}
html.sbg #logo{float:none;margin:0;line-height:0}
html.sbg #logo a{display:inline-flex}
html.sbg #logo img{float:none;height:62px;width:auto}
html.sbg .mts-header-button-social{float:none;margin:0}
html.sbg .header-social{float:none;display:flex;gap:8px;margin:0}
html.sbg .header-social a,
html.sbg #site-footer .social-profile-icons li a{float:none;display:inline-flex;align-items:center;justify-content:center;width:36px;height:36px;margin:0;border-radius:12px;background:linear-gradient(180deg,rgba(255,255,255,.17),rgba(255,255,255,.06));border:1px solid rgba(255,255,255,.14);box-shadow:inset 0 1px 0 rgba(255,255,255,.22),0 8px 16px -10px rgba(0,0,0,.7);-webkit-backdrop-filter:var(--g-blur);backdrop-filter:var(--g-blur);color:#eef2f7;font-size:17px;line-height:1;box-sizing:border-box}
html.sbg .header-social a:hover,
html.sbg #site-footer .social-profile-icons li a:hover{background:linear-gradient(180deg,rgba(255,255,255,.26),rgba(255,255,255,.10));color:#fff}

/* ---------- 4. the menu: a floating capsule of tinted glass ---------- */
html.sbg .main-menu{position:sticky;top:10px;z-index:120;float:none;background:none;padding:12px 0 0;pointer-events:none}
html.sbg .main-menu > .container{pointer-events:auto;position:relative;z-index:0;display:flex;align-items:center;gap:2px;box-sizing:border-box;max-width:1160px;min-height:56px;padding:7px 8px 7px 12px;border-radius:30px;border:1px solid var(--g-nav-line);box-shadow:var(--g-nav-shadow)}
/* the glass itself sits on a layer behind the menu items, so the drop-downs can blur the page too */
html.sbg .main-menu > .container::before{content:"";display:block;position:absolute;inset:-1px;z-index:-1;border-radius:inherit;background:var(--g-nav-bg);-webkit-backdrop-filter:var(--g-blur);backdrop-filter:var(--g-blur);float:none;clear:none}
html.sbg #secondary-navigation{float:none;flex:1 1 auto;min-width:0;width:auto;margin:0}
html.sbg #secondary-navigation .navigation{float:none;width:auto}
html.sbg #secondary-navigation .navigation .menu{display:flex;flex-wrap:wrap;align-items:center;gap:2px;margin:0;padding:0}
html.sbg #secondary-navigation .navigation .menu::before,html.sbg #secondary-navigation .navigation .menu::after{content:none}
html.sbg #secondary-navigation .navigation .menu > li{float:none;margin:0;padding:0;background:none;transition:none}
html.sbg #secondary-navigation .navigation .menu > li > a{display:inline-flex;align-items:center;gap:6px;height:40px;padding:0 12px;border-radius:999px;background:none;color:var(--g-nav-ink);line-height:1.2;transition:background-color .2s ease}
html.sbg #secondary-navigation .navigation .menu > li:hover > a,
html.sbg #secondary-navigation .navigation .menu > li.sbg-open > a{background:var(--g-nav-hover);color:var(--g-nav-ink)}
html.sbg #secondary-navigation .navigation .menu > li.current-menu-item > a,
html.sbg #secondary-navigation .navigation .menu > li.current-menu-parent > a,
html.sbg #secondary-navigation .navigation .menu > li.current-menu-ancestor > a,
html.sbg #secondary-navigation .navigation .menu > li.current-post-parent > a{background:var(--g-nav-ctl);box-shadow:inset 0 0 0 1px var(--g-nav-ctl-line);color:var(--g-nav-ink)}
html.sbg #secondary-navigation .navigation .menu > li > a .fa,
html.sbg #secondary-navigation .navigation .menu > li > a::after{color:inherit}
html.sbg #secondary-navigation .toggle-caret{display:none}

/* drop-down: a pane of clear glass that grows out of its menu item */
html.sbg #secondary-navigation .navigation .menu > li > .sub-menu{display:block!important;position:absolute;top:calc(100% + 12px);left:-6px;z-index:5;float:none;width:auto;min-width:230px;height:auto!important;margin:0!important;padding:6px!important;overflow:visible!important;border-radius:22px;border:1px solid var(--g-pop-line);background:var(--g-pop-bg);box-shadow:var(--g-pop-shadow);-webkit-backdrop-filter:var(--g-blur-pop);backdrop-filter:var(--g-blur-pop);color:var(--g-pop-ink);visibility:hidden;opacity:0!important;transform:translateY(-10px) scale(.86);transform-origin:38px -20px;transition:transform .26s cubic-bezier(.4,0,.7,.2),opacity .2s ease .04s,visibility 0s linear .3s}
html.sbg #secondary-navigation .navigation .menu > li:hover > .sub-menu,
html.sbg #secondary-navigation .navigation .menu > li:focus-within > .sub-menu,
html.sbg #secondary-navigation .navigation .menu > li.sbg-open > .sub-menu{visibility:visible;opacity:1!important;transform:none;transition:transform .5s var(--g-spr),opacity .16s ease,visibility 0s}
/* a bridge over the gap, so the pointer can travel from the item to its drop-down */
html.sbg #secondary-navigation .navigation .menu > li > .sub-menu::before{content:"";position:absolute;left:0;right:0;top:-14px;height:14px}
html.sbg #secondary-navigation .navigation .sub-menu li{float:none;display:block;width:auto;margin:0;padding:0;background:none}
html.sbg #secondary-navigation .navigation .sub-menu li a{display:block;width:auto;padding:9px 14px;border-radius:16px;background:none;color:var(--g-pop-ink);white-space:nowrap;transition:background-color .15s ease}
html.sbg #secondary-navigation .navigation .sub-menu li a:hover,
html.sbg #secondary-navigation .navigation .sub-menu li a:focus-visible{background:var(--g-pop-hover);color:var(--g-pop-ink)}

/* search + the light/dark switch, at the right end of the capsule */
html.sbg #site-header .main-menu .header-search{float:none;flex:0 0 auto;display:flex;align-items:center;gap:8px;width:auto;margin:0 0 0 auto;padding:0}
html.sbg #site-header .main-menu #searchform{float:none;position:static;width:auto;margin:0;padding:0;background:none}
html.sbg #site-header .main-menu #searchform fieldset{display:flex;align-items:center;margin:0;padding:0;border:0;width:auto}
html.sbg #site-header .main-menu #s{display:none}
html.sbg #site-header .main-menu #search-image,
html.sbg .sbg-round{position:static;display:inline-flex;align-items:center;justify-content:center;width:40px;height:40px;margin:0;padding:0;border-radius:50%;border:1px solid var(--g-nav-ctl-line);background:var(--g-nav-ctl);color:var(--g-nav-ink);font-size:16px;line-height:1;cursor:pointer;box-shadow:none;transition:none;-webkit-appearance:none;appearance:none}
html.sbg .main-menu #search-image .fa{color:inherit;font-size:16px;line-height:1}
html.sbg .sbg-switch{flex:0 0 auto;display:flex;padding:3px;border-radius:999px;border:1px solid var(--g-nav-ctl-line);background:var(--g-nav-ctl);position:relative}
html.sbg .sbg-switch button{position:relative;z-index:1;display:inline-flex;align-items:center;justify-content:center;width:36px;height:34px;margin:0;padding:0;border:0;border-radius:999px;background:none;color:var(--g-nav-off-ink);cursor:pointer;-webkit-appearance:none;appearance:none;transition:color .25s ease}
html.sbg .sbg-switch button[aria-pressed="true"]{color:var(--g-nav-on-ink)}
html.sbg .sbg-switch::before{content:"";position:absolute;top:3px;left:3px;width:36px;height:34px;border-radius:999px;background:var(--g-nav-on);box-shadow:inset 0 1px 0 rgba(255,255,255,.7),0 2px 6px rgba(4,35,42,.30);transition:transform .5s var(--g-spr)}
html.sbg-dark .sbg-switch::before{transform:translateX(36px)}
html.sbg .sbg-switch svg,html.sbg .sbg-round svg{display:block}
html.sbg #pull{display:none}

/* ---------- 5. coin prices: a clear glass capsule ---------- */
html.sbg .sbc-ticker-wrap{position:relative;box-sizing:border-box;width:auto;max-width:1160px;height:46px;margin:10px auto 0;border-radius:999px;border:1px solid var(--g-chrome-line);background:var(--g-chrome-bg);box-shadow:var(--g-chrome-shadow);-webkit-backdrop-filter:var(--g-blur);backdrop-filter:var(--g-blur);overflow:hidden;z-index:1}
html.sbg .sbc-ticker-content{-webkit-mask-image:none;mask-image:none}
html.sbg .sbc-ticker-wrap{-webkit-mask-image:linear-gradient(90deg,transparent,#000 5%,#000 95%,transparent);mask-image:linear-gradient(90deg,transparent,#000 5%,#000 95%,transparent)}
html.sbg .sbc-ticker-wrap::before{display:none}
html.sbg .sbc-ticker-item{gap:9px;padding:0 18px;border-right:1px solid var(--g-line);border-left:0;background:none;color:var(--g-ink)}
html.sbg .sbc-ticker-item:hover{background:var(--g-pop-hover)}
html.sbg .sbc-ticker-symbol{color:var(--g-link)}
html.sbg .sbc-ticker-price{color:var(--g-ink)}
html.sbg .sbc-ticker-change{padding:3px 8px;border-radius:999px}
html.sbg .sbc-ticker-change.sbc-down{background:var(--g-down-bg);color:var(--g-down)}
html.sbg .sbc-ticker-change.sbc-up{background:var(--g-up-bg);color:var(--g-up)}
html.sbg .sbc-ticker-logo{background:rgba(255,255,255,.9)!important}

/* ---------- 6. home ---------- */
html.sbg .header-banner{padding-top:22px}
html.sbg .header-banner .widget-header{padding-top:0}
html.sbg #page{padding-bottom:56px}
html.sbg .home-sections,html.sbg #content_box{float:none}

/* hero: the photo fills a rounded frame; title and details float on it as smoked glass */
html.sbg .featured-area{margin:24px 0;padding:0;background:none;border-radius:0;box-shadow:none}
html.sbg .primary-slider-container{position:relative;border-radius:26px;overflow:hidden;background:#0b0d11;box-shadow:var(--g-hero-shadow)}
html.sbg .primary-slider-container::before,html.sbg .primary-slider-container::after{content:none}
html.sbg #slider.primary-slider{float:none;display:block}
html.sbg .primary-slider .mts-primary-slider-content{position:relative}
html.sbg .primary-slider .mts-primary-slider-content > img{float:none;display:block;width:100%;height:auto;aspect-ratio:1120/600;object-fit:cover}
html.sbg .primary-slider .slide-post-info,
html.sbg .primary-slider .owl-prev,
html.sbg .primary-slider .owl-next,
html.sbg .sbg-dots{border:1px solid rgba(255,255,255,.22);background:linear-gradient(180deg,rgba(16,20,26,.58),rgba(16,20,26,.40));box-shadow:inset 0 1px 0 rgba(255,255,255,.30),0 18px 40px -18px rgba(0,0,0,.70);-webkit-backdrop-filter:var(--g-blur);backdrop-filter:var(--g-blur);color:#fff}
/* the headline: straight on the picture, at the top where it has always been, on a soft shadow from the top edge */
html.sbg .primary-slider .mts-primary-slider-content::after{content:"";display:block;position:absolute;left:0;right:0;top:0;height:46%;pointer-events:none;background:linear-gradient(to bottom,rgba(6,8,12,.86),rgba(6,8,12,.52) 44%,transparent)}
html.sbg .slide-caption{z-index:1;left:34px;right:34px;top:26px;width:auto;box-sizing:border-box;padding:0;border:0;border-radius:0;background:none;box-shadow:none}
html.sbg .slide-caption::after{content:none}
html.sbg .slide-title{margin:0;text-wrap:balance;text-shadow:0 2px 14px rgba(0,0,0,.45)}
html.sbg .slide-title a{color:#fff}
html.sbg .primary-slider .slide-post-info{left:18px;right:auto;top:auto;bottom:18px;width:auto;height:46px;box-sizing:border-box;display:flex;align-items:center;gap:14px;padding:0 20px;border-radius:999px;color:#e6ebf1}
html.sbg .primary-slider .slide-post-info > span{float:none;display:inline-flex;align-items:center;height:16px;padding:0;border-right:0;line-height:16px;white-space:nowrap}
html.sbg .primary-slider .slide-post-info > span + span{padding-left:14px;border-left:1px solid rgba(255,255,255,.28)}
html.sbg .primary-slider .slide-post-info .thecategory a{color:var(--g-teal-hi);line-height:inherit}
html.sbg .primary-slider .slide-post-info .theauthor a{color:inherit}
html.sbg .primary-slider .slide-post-info .thetime{text-transform:none}
html.sbg .primary-slider .owl-prev,
html.sbg .primary-slider .owl-next{top:55%;display:flex;align-items:center;justify-content:center;width:48px;height:48px;margin:-24px 0 0;border-radius:50%;font-size:22px;line-height:1;opacity:1;box-sizing:border-box}
html.sbg .primary-slider .owl-prev{left:18px}
html.sbg .primary-slider .owl-next{right:18px}
html.sbg .primary-slider .owl-prev:hover,
html.sbg .primary-slider .owl-next:hover{background:linear-gradient(180deg,rgba(16,20,26,.72),rgba(16,20,26,.54));color:#fff}
html.sbg .primary-slider .owl-prev .fa,html.sbg .primary-slider .owl-next .fa{color:inherit;line-height:1}
html.sbg .sbg-dots{position:absolute;right:18px;bottom:18px;z-index:2;display:flex;align-items:center;gap:7px;height:46px;padding:0 18px;box-sizing:border-box;border-radius:999px}
html.sbg .sbg-dots i{display:block;width:7px;height:7px;border-radius:999px;background:rgba(255,255,255,.45);transition:width .45s var(--g-spr2),background-color .25s ease}
html.sbg .sbg-dots i.on{width:22px;background:var(--g-teal)}

/* press release: same teal frame, now a pane of glass */
html.sbg .small-thumb-posts{position:relative;margin:0 0 24px;padding:18px 20px 20px;border:1.5px solid rgba(74,197,219,.75);border-radius:22px;background:var(--g-panel-bg);box-shadow:var(--g-panel-shadow)}
html.sbg .small-thumb-posts::before{content:none}
html.sbg .small-thumb-posts .featured-category-title{display:flex;align-items:center;gap:7px;margin:0 0 14px;padding:0;color:var(--g-link)}
html.sbg .small-thumb-posts .featured-category-title::after{content:none}
html.sbg .small-thumb-posts .featured-category-title .fa{color:inherit}
html.sbg .small-thumb-post-wrapper{height:auto}
html.sbg .small-thumb-post-wrapper::before,html.sbg .small-thumb-post-wrapper::after{content:none}
html.sbg .small-thumb-inner{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:18px}
html.sbg .small-thumb-posts .latestPost{float:none;display:flex;align-items:flex-start;gap:14px;width:auto;max-height:none;margin:0;padding:0;overflow:visible}
html.sbg .small-thumb-posts .latestPost::before{content:none}
html.sbg .small-thumb-posts .post-image{float:none;flex:0 0 auto;margin:0}
html.sbg .small-thumb-posts .featured-thumbnail{float:none;display:block}
html.sbg .small-thumb-posts .featured-thumbnail img{float:none;display:block;width:80px;height:80px;border-radius:14px;object-fit:cover}
html.sbg .small-thumb-posts header{float:none;min-width:0;overflow:visible;padding:0}
html.sbg .small-thumb-posts .title{float:none;margin:0}
html.sbg .small-thumb-posts .title a{color:var(--g-ink)}
html.sbg .small-thumb-posts .title a:hover{color:var(--g-link)}

/* news cards: each one a pane of glass with the photo set inside it */
html.sbg .blog-section{float:none}
/* category, tag, author and search pages: the old heading floats, so the grid below has to clear it */
html.sbg #content_box > .postsby{color:var(--g-ink)}
html.sbg #content_box > .postsby::before{height:3px;border-radius:3px;background:var(--g-teal)}
html.sbg .blog-section-grid-posts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;margin:0;clear:both}
html.sbg .blog-section-grid-posts::before,html.sbg .blog-section-grid-posts::after{content:none}
html.sbg .blog-section-grid-posts > :not(.latestPost){grid-column:1/-1}
html.sbg .latestPost.grid{float:none;width:auto;margin:0;padding:0;clear:none}
html.sbg .latestPost.grid::before{content:none}
html.sbg .latestPost.grid .latestPost-inner{position:relative;float:none;display:flex;flex-direction:column;height:100%;box-sizing:border-box;margin:0;padding:8px;border-radius:22px;border:1px solid var(--g-panel-line);background:var(--g-panel-bg);box-shadow:var(--g-panel-shadow)}
html.sbg .latestPost.grid .latestPost-inner:hover{box-shadow:var(--g-panel-shadow)}
html.sbg .latestPost.grid .post-image{float:none;display:block;width:auto;border-radius:15px;overflow:hidden}
html.sbg .latestPost.grid .featured-thumbnail{float:none;display:block;width:auto;max-width:none}
html.sbg .latestPost.grid .featured-thumbnail img{float:none;display:block;width:100%;height:auto;aspect-ratio:374/264;object-fit:cover;border-radius:15px}
/* category tags on photos — Apple's "clear" Liquid Glass: no colour of its own (the photo shows through), a soft
   dark dimming layer so the white label stays readable on any picture, light caught along the edge, nothing glossy.
   Tint is used sparingly: only a category that has its own colour in Theme Options (Bitcoin's yellow) is stained. */
html.sbg .latestPost .post-image .thecategory{right:10px;bottom:10px;top:auto;left:auto;padding:5px 12px;border-radius:999px;border:0;
  background:rgba(14,18,24,.34)!important;
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.10),inset 0 1px 0 rgba(255,255,255,.30),inset 0 0 8px rgba(255,255,255,.10),0 6px 16px -6px rgba(0,0,0,.55);
  -webkit-backdrop-filter:blur(10px) saturate(180%);backdrop-filter:blur(10px) saturate(180%);
  color:#fff!important;line-height:1.4;text-shadow:0 1px 2px rgba(0,0,0,.35)}
/* the edge of the glass: bright where the light comes from, almost gone on the far side */
html.sbg .latestPost .post-image .thecategory::after{content:"";position:absolute;inset:0;border-radius:inherit;padding:1px;pointer-events:none;background:linear-gradient(150deg,rgba(255,255,255,.80),rgba(255,255,255,.16) 30%,rgba(255,255,255,.05) 62%,rgba(255,255,255,.46));-webkit-mask:linear-gradient(#000 0 0) content-box,linear-gradient(#000 0 0);-webkit-mask-composite:xor;mask:linear-gradient(#000 0 0) content-box exclude,linear-gradient(#000 0 0)}
html.sbg .latestPost .post-image .thecategory[style*="f4d122" i]{background:linear-gradient(180deg,rgba(255,184,0,.62),rgba(232,146,0,.56))!important;-webkit-backdrop-filter:blur(10px) saturate(180%) brightness(1.18);backdrop-filter:blur(10px) saturate(180%) brightness(1.18);text-shadow:0 1px 2px rgba(96,56,0,.60)}
html.sbg .latestPost.grid header{float:none;display:flex;flex-direction:column;gap:8px;width:auto;padding:12px 10px}
html.sbg .latestPost.grid .post-info{float:none;display:flex;justify-content:space-between;gap:12px;width:auto;margin:0;color:var(--g-ink3)}
html.sbg .latestPost.grid .post-info > span{float:none;padding:0;color:inherit}
html.sbg .latestPost.grid .post-info .theauthor a{color:var(--g-ink2)}
html.sbg .latestPost.grid .post-info .thetime{text-transform:none}
html.sbg .latestPost.grid .title{float:none;margin:0}
html.sbg .latestPost.grid .title a{color:var(--g-ink)}
html.sbg .latestPost.grid .title a:hover{color:var(--g-link)}

/* อ่านข่าวเพิ่ม: the same button and the same words, as a teal glass capsule */
html.sbg #load-posts{float:none;display:flex;justify-content:center;width:auto;margin:16px 0 0;text-align:center}
html.sbg #load-posts a{position:relative;display:inline-flex;align-items:center;justify-content:center;gap:10px;min-width:0;height:50px;box-sizing:border-box;padding:0 32px;border-radius:999px;border:1px solid rgba(255,255,255,.55);background:linear-gradient(180deg,#7fdcee,#4ac5db);box-shadow:inset 0 1px 0 rgba(255,255,255,.65),0 14px 26px -12px rgba(74,197,219,.95),0 2px 6px rgba(4,35,42,.18);color:var(--g-on-teal);line-height:1;transform:none;overflow:hidden;transition:transform .5s var(--g-spr),box-shadow .3s ease,opacity .3s ease}
html.sbg #load-posts a:hover{border-color:rgba(255,255,255,.55);background:linear-gradient(180deg,#8fe2f2,#56cbe0);color:var(--g-on-teal);transform:none;box-shadow:inset 0 1px 0 rgba(255,255,255,.65),0 14px 26px -12px rgba(74,197,219,.95),0 2px 6px rgba(4,35,42,.18)}
html.sbg #load-posts a .fa{display:none;margin:0}
/* loading: a ring turns beside the words while a band of light crosses the capsule */
html.sbg #load-posts a.loading{opacity:1;pointer-events:none}
html.sbg #load-posts a.loading .fa{display:block;width:16px;height:16px;box-sizing:border-box;border-radius:50%;border:2px solid rgba(4,35,42,.22);border-top-color:var(--g-on-teal);animation:sbg-spin .75s linear infinite}
html.sbg #load-posts a.loading .fa::before{content:none}
html.sbg #load-posts a.loading::after{content:"";position:absolute;top:0;bottom:0;left:0;width:60%;background:linear-gradient(100deg,transparent 22%,rgba(255,255,255,.55) 50%,transparent 78%);animation:sbg-sweep 1.25s ease-in-out infinite}
html.sbg #load-posts a.disabled,
html.sbg #load-posts a.disabled:hover{border-color:var(--g-panel-line);background:var(--g-panel-bg);box-shadow:var(--g-panel-shadow);color:var(--g-ink3);cursor:default}
@keyframes sbg-spin{
  to{transform:rotate(360deg)}
}
@keyframes sbg-sweep{
  from{transform:translateX(-110%)}
  to{transform:translateX(280%)}
}

/* ---------- 7. footer: the dark stage again ---------- */
html.sbg #site-footer{margin:0;padding:48px 0 28px;border-top:1px solid rgba(255,255,255,.08);background:var(--g-stage);color:#c5cbd6;overflow:visible}
html.sbg #site-footer .footer-widgets{display:grid;grid-template-columns:minmax(0,2fr) minmax(0,1fr);column-gap:40px;row-gap:18px;margin:0;padding:0;overflow:visible}
html.sbg #site-footer .footer-widgets::before,html.sbg #site-footer .footer-widgets::after{content:none}
html.sbg #site-footer .f-widget{float:none;width:auto;margin:0;padding:0}
html.sbg #site-footer .f-widget-1{grid-column:1;grid-row:1}
html.sbg #site-footer .f-widget-2{grid-column:1;grid-row:2}
html.sbg #site-footer .f-widget-3{grid-column:2;grid-row:1/span 2}
html.sbg #site-footer .widget{float:none;width:auto;margin:0;overflow:visible}
html.sbg #site-footer .widget-title{margin:0 0 12px;padding:0;color:#fff}
html.sbg #site-footer .widget-title::after{content:none}
html.sbg #site-footer .textwidget p{margin:0;max-width:62ch}
html.sbg #site-footer .textwidget p span{color:#b4bdc9!important;line-height:1.45}
/* เกี่ยวกับเว็บไซต์นี้: the same links, set in one row */
html.sbg #site-footer .f-widget-2 .widget{display:flex;flex-wrap:wrap;align-items:baseline;gap:8px 20px}
html.sbg #site-footer .f-widget-2 .widget-title{flex:0 0 100%;margin:0;color:#fff}
html.sbg #site-footer .f-widget-2 .textwidget,
html.sbg #site-footer .f-widget-2 table,
html.sbg #site-footer .f-widget-2 tbody,
html.sbg #site-footer .f-widget-2 tr{display:contents}
html.sbg #site-footer .f-widget-2 td{display:block;padding:0;border:0;line-height:1.45}
html.sbg #site-footer .f-widget-2 td:empty{display:none}
html.sbg #site-footer .f-widget-2 a{color:var(--g-teal-hi)}
html.sbg #site-footer .f-widget-2 a:hover{color:#fff}
html.sbg #site-footer .social-profile-icons ul{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 18px;padding:0}
html.sbg #site-footer .social-profile-icons li{float:none;margin:0;padding:0;list-style:none}
html.sbg #site-footer .social-profile-icons li a{width:40px;height:40px;border-radius:13px}
html.sbg #site-footer .sb-app-buttons{margin:0;gap:10px}
html.sbg #site-footer .copyrights{float:none;width:auto;margin:36px 0 0;padding:0;background:none;border:0}
html.sbg #site-footer .copyrights .container{padding-top:20px;border-top:1px solid rgba(255,255,255,.10)}
html.sbg #site-footer #copyright-note{text-align:left;color:#98a2b1}
html.sbg #site-footer #copyright-note a{color:inherit}
html.sbg #site-footer #copyright-note > div{float:none}
html.sbg #site-footer .to-top{display:none}

/* back to top: a round pane of glass */
html.sbg #move-to-top{right:20px;bottom:24px;top:auto;display:flex;align-items:center;justify-content:center;width:50px;height:50px;border-radius:50%;border:1px solid var(--g-chrome-line);background:var(--g-chrome-bg);box-shadow:var(--g-chrome-shadow);-webkit-backdrop-filter:var(--g-blur);backdrop-filter:var(--g-blur);color:var(--g-ink);font-size:22px;line-height:1;transition:transform .5s var(--g-spr),opacity .25s ease,visibility 0s}
html.sbg #move-to-top .fa{color:inherit;line-height:1}
html.sbg #move-to-top.hiding,html.sbg #move-to-top:not(.filling){opacity:0;visibility:hidden;transform:scale(.6);transition:transform .26s cubic-bezier(.4,0,.7,.2),opacity .2s ease,visibility 0s linear .3s}

/* Darkify (the old dark-mode plugin) is replaced by the switch in the menu */
html.sbg .darkify_switch{display:none!important}

/* ---------- 6b. article ---------- */
/* today: one white box with a dark strip behind the sidebar. now: two panes of glass side by side, same widths
   (730px of text, 300px of sidebar), so nothing inside them moves */
html.sbg .single-content-wrapper{display:flex;align-items:flex-start;gap:30px;float:none;width:auto;margin:22px 0 0;padding:0;background:none;border-radius:0;box-shadow:none}
html.sbg .single-content-wrapper::before,html.sbg .single-content-wrapper::after{content:none;display:none}
html.sbg .single-content-wrapper > .article{position:relative;flex:1 1 0;min-width:0;max-width:none;width:auto!important;float:none;box-sizing:border-box;padding:28px 30px 30px;border-radius:26px;background:var(--g-panel-bg);border:1px solid var(--g-panel-line);box-shadow:var(--g-panel-shadow)}
html.sbg .single-content-wrapper > .article:only-child{flex-basis:100%}
html.sbg .article #content_box,html.sbg .article .svc_infinite_container{float:none;width:auto}
html.sbg .article .single_post{float:none;width:auto;margin:0 0 26px;padding:0;background:none}
html.sbg .article .single_post::after{content:"";display:block;clear:both}

/* by-line, headline, category */
html.sbg .single_post > header{float:none;width:auto;margin:0 0 20px}
html.sbg .single_post .post-info-upper{display:flex;align-items:center;gap:10px;margin:0 0 14px;color:var(--g-ink3)}
html.sbg .single_post .post-info-upper .author-image img{width:40px;height:40px;margin:0;object-fit:cover}
html.sbg .single_post .post-info-upper .theauthor{padding:0}
html.sbg .single_post .post-info-upper .theauthor a{color:var(--g-ink);font-weight:600}
html.sbg .single_post .post-info-upper .right{float:none;margin-left:auto}
html.sbg .single_post .single-title{float:none;width:auto;margin:0 0 16px;color:var(--g-ink)}
html.sbg .single_post .post-info{float:none;width:auto;display:flex;flex-wrap:wrap;gap:8px;margin:0;padding:12px 0;border-top:1px solid var(--g-line);border-bottom:1px solid var(--g-line);color:var(--g-ink2)}
/* the category under the headline: a capsule of clear glass. Light gathers on its edges and a trace of the
   category's colour pools along the bottom; the words stay one colour (Apple: glass has no colour of its own, it
   takes it from what is around it, and labels on small glass are monochrome) */
html.sbg .single_post .post-info .thecategory{--sbg-stain:74,197,219;--sbg-stain-ink:#12829a;position:relative;float:none;display:inline-flex;align-items:center;gap:8px;margin:0;padding:7px 16px 7px 13px;border:0;border-radius:999px;
  background:linear-gradient(180deg,rgba(255,255,255,.94),rgba(243,248,251,.58))!important;
  box-shadow:inset 0 1px 0 #fff,inset 0 -9px 12px -8px rgba(var(--sbg-stain),.50),0 1px 2px rgba(15,23,42,.10),0 10px 20px -10px rgba(15,23,42,.45);
  -webkit-backdrop-filter:blur(12px) saturate(180%);backdrop-filter:blur(12px) saturate(180%);
  color:var(--g-ink)!important;line-height:1.4;transition:transform .5s var(--g-spr),box-shadow .25s ease}
html.sbg .single_post .post-info .thecategory::after{content:"";position:absolute;inset:0;border-radius:inherit;padding:1px;pointer-events:none;background:linear-gradient(145deg,#fff,rgba(15,23,42,.16) 36%,rgba(15,23,42,.07) 64%,rgba(255,255,255,.95));-webkit-mask:linear-gradient(#000 0 0) content-box,linear-gradient(#000 0 0);-webkit-mask-composite:xor;mask:linear-gradient(#000 0 0) content-box exclude,linear-gradient(#000 0 0)}
html.sbg .single_post .post-info .thecategory:hover{transform:translateY(-1px);box-shadow:inset 0 1px 0 #fff,inset 0 -10px 14px -8px rgba(var(--sbg-stain),.62),0 1px 2px rgba(15,23,42,.10),0 14px 24px -10px rgba(15,23,42,.50)}
html.sbg .single_post .post-info .thecategory i{color:var(--sbg-stain-ink);font-size:13px}
html.sbg .single_post .post-info .thecategory a{color:inherit!important;line-height:inherit}
/* a category about a coin shows that coin's own logo instead of the tag icon; a trace of the coin's colour pools
   in the glass. The logo is printed hidden for the old look (see glass.php) */
html.sbg .single_post .post-info .thecategory img.sbg-coin{display:block!important;flex:0 0 auto;width:22px;height:22px;margin:0;border-radius:50%;background:#fff;box-shadow:0 1px 2px rgba(15,23,42,.30)}
html.sbg .single_post .post-info .thecategory:has(> img.sbg-coin){padding:5px 16px 5px 6px}
html.sbg .single_post .post-info .thecategory:has(> img.sbg-coin) > i{display:none}
/* the glow of a coin's pill is that coin's own colour: glass.js reads it from the logo and sets --sbg-stain on the
   pill (no list of coins here — a coin without a colour of its own keeps the teal) */
html.sbg .single_post .post-info .thecategory[style*="f4d122" i]{--sbg-stain:255,176,0;--sbg-stain-ink:#c27c00}
html.sbg-dark .single_post .post-info .thecategory{--sbg-stain-ink:#7fdcee;background:linear-gradient(180deg,rgba(255,255,255,.17),rgba(255,255,255,.06))!important;box-shadow:inset 0 1px 0 rgba(255,255,255,.34),inset 0 -9px 12px -8px rgba(var(--sbg-stain),.46),0 10px 22px -10px rgba(0,0,0,.85);color:#fff!important}
html.sbg-dark .single_post .post-info .thecategory::after{background:linear-gradient(145deg,rgba(255,255,255,.62),rgba(255,255,255,.10) 36%,rgba(255,255,255,.04) 64%,rgba(255,255,255,.36))}
html.sbg-dark .single_post .post-info .thecategory:hover{box-shadow:inset 0 1px 0 rgba(255,255,255,.40),inset 0 -10px 14px -8px rgba(var(--sbg-stain),.60),0 14px 26px -10px rgba(0,0,0,.9)}
html.sbg-dark .single_post .post-info .thecategory[style*="f4d122" i]{--sbg-stain-ink:#ffd666}

/* the photo */
html.sbg .single_post > .featured-thumbnail{float:none;width:auto;margin:0 0 20px}
html.sbg .single_post > .featured-thumbnail img{float:none;display:block;width:100%;height:auto;margin:0;border-radius:18px}

/* share bar: one capsule, round buttons (today's rules are all !important, so these are too) */
html.sbg .siam-social-bar{position:relative;gap:10px!important;margin:0 0 22px!important;padding:9px 14px!important;border-radius:30px!important;background:var(--g-chrome-bg)!important;border:1px solid var(--g-chrome-line)!important;box-shadow:var(--g-chrome-shadow)}
html.sbg .siam-social-bar > a{box-sizing:border-box;width:40px!important;height:40px!important;border-radius:50%!important;background:var(--g-ctl-bg)!important;border:1px solid var(--g-ctl-line);box-shadow:var(--g-ctl-shadow);color:var(--g-link)!important}
html.sbg .siam-social-bar > a:hover{background:var(--g-ctl-bg)!important;color:var(--g-link-h)!important;transform:none!important}
html.sbg .siam-social-bar > a.siam-gnews-link{width:auto!important;padding:0 14px!important;border-radius:999px!important;background:#fff!important;border-color:rgba(15,23,42,.08);color:#555!important}
html.sbg .siam-social-bar > a.siam-gnews-link img{height:22px!important;max-height:22px!important;box-shadow:none}
html.sbg .siam-social-bar .siam-social-divider{height:22px!important;background:var(--g-line)!important}
html.sbg .siam-social-bar .sb-tts-btn{height:40px;padding:0 16px;border-radius:999px;background:var(--g-ctl-bg);border:1.5px solid rgba(74,197,219,.80);box-shadow:var(--g-ctl-shadow);color:var(--g-link)}
html.sbg .shareit.top:empty{display:none}

/* สรุปข่าว: one rounded box — the teal bar, the points, the outlook as a soft block of its own colour, and the
   ask-น้องบล็อก row inside the same box (the summary-box plugin's rules are all !important, so these are too) */
html.sbg .thecontent details.wp-block-details.is-layout-flow{border:1px solid var(--g-tile-line)!important;border-radius:20px!important;background:var(--g-tile-bg)!important;box-shadow:var(--g-tile-shadow),0 10px 26px -18px rgba(15,23,42,.35)!important}
html.sbg .thecontent details.wp-block-details.is-layout-flow.sbsb-attached{border-bottom:0!important;border-bottom-left-radius:0!important;border-bottom-right-radius:0!important;box-shadow:var(--g-tile-shadow)!important}
html.sbg .thecontent details.wp-block-details.is-layout-flow > summary{box-shadow:inset 0 1px 0 rgba(255,255,255,.28)}
html.sbg .thecontent details.wp-block-details.is-layout-flow p,
html.sbg .thecontent details.wp-block-details.is-layout-flow ul li,
html.sbg .thecontent details.wp-block-details.is-layout-flow ol li{color:var(--g-ink2)!important}
html.sbg .thecontent details.wp-block-details.is-layout-flow ul{margin-top:0!important;margin-bottom:6px!important}
html.sbg .thecontent details.wp-block-details.is-layout-flow > ul:first-of-type{padding-top:20px!important}
html.sbg .thecontent details.wp-block-details.is-layout-flow ul li{list-style:disc!important;margin-bottom:10px!important}
html.sbg .thecontent details.wp-block-details.is-layout-flow ul li::marker{color:var(--g-ink3)!important}
html.sbg .thecontent details.wp-block-details.is-layout-flow strong{color:var(--g-ink)!important}
html.sbg .thecontent details.wp-block-details.is-layout-flow a{color:var(--g-link)!important}
html.sbg .thecontent details.wp-block-details.is-layout-flow hr{border-top-color:var(--g-line)!important}
/* the outlook */
html.sbg .thecontent details.wp-block-details .sbg-impact,
html.sbg .thecontent details.wp-block-details .sbg-impact-note{--sbg-tone:var(--g-down);--sbg-tone-bg:rgba(200,50,45,.09);background:var(--sbg-tone-bg)}
html.sbg-dark .thecontent details.wp-block-details .sbg-impact,
html.sbg-dark .thecontent details.wp-block-details .sbg-impact-note{--sbg-tone-bg:rgba(255,107,107,.10)}
html.sbg .thecontent details.wp-block-details .sbg-bullish{--sbg-tone:var(--g-up);--sbg-tone-bg:rgba(22,163,74,.10)}
html.sbg-dark .thecontent details.wp-block-details .sbg-bullish{--sbg-tone-bg:rgba(74,222,128,.10)}
html.sbg .thecontent details.wp-block-details .sbg-neutral{--sbg-tone:#946200;--sbg-tone-bg:rgba(245,158,11,.12)}
html.sbg-dark .thecontent details.wp-block-details .sbg-neutral{--sbg-tone:#fbbf24;--sbg-tone-bg:rgba(251,191,36,.10)}
html.sbg .thecontent details.wp-block-details.is-layout-flow > p.sbg-impact{margin:6px 20px 0!important;padding:14px 16px 4px!important;border-radius:14px 14px 0 0;color:var(--sbg-tone)!important;font-weight:700!important}
html.sbg .thecontent details.wp-block-details.is-layout-flow > p.sbg-impact.sbg-impact-solo{margin-bottom:16px!important;padding-bottom:14px!important;border-radius:14px}
html.sbg .thecontent details.wp-block-details.is-layout-flow > p.sbg-impact strong,
html.sbg .thecontent details.wp-block-details.is-layout-flow > p.sbg-impact .sentiment-badge{color:inherit!important;font-weight:700}
html.sbg .thecontent details.wp-block-details.is-layout-flow > p.sbg-impact::before{content:"\25BC\00A0";font-size:.82em}
html.sbg .thecontent details.wp-block-details.is-layout-flow > p.sbg-impact.sbg-bullish::before{content:"\25B2\00A0"}
html.sbg .thecontent details.wp-block-details.is-layout-flow > p.sbg-impact.sbg-neutral::before{content:"\25CF\00A0"}
html.sbg .thecontent details.wp-block-details.is-layout-flow > p.sbg-impact-note{margin:0 20px 18px!important;padding:0 16px 14px!important;border-radius:0 0 14px 14px}
/* ask น้องบล็อก: the last row of the same box */
html.sbg .thecontent details.sbsb-attached + .sbsb{margin-bottom:26px!important;padding:0 20px 20px;border:1px solid var(--g-tile-line);border-top:0;border-radius:0 0 20px 20px;background:var(--g-tile-bg)!important;box-shadow:0 10px 26px -18px rgba(15,23,42,.35)}
html.sbg .thecontent details.sbsb-attached:not([open]) + .sbsb{padding-top:14px}
html.sbg-dark .sbsb .sbsb-launch{background:rgba(74,197,219,.10);border-color:rgba(74,197,219,.40);color:var(--g-ink)}
html.sbg-dark .sbsb .sbsb-launch__text b{color:var(--g-link)}
html.sbg-dark .sbsb .sbsb-launch__text span{color:#a6b4c2}

/* the text itself keeps its typeface, size and line spacing; only colours follow the theme */
html.sbg .thecontent{color:var(--g-ink)}
html.sbg .thecontent h2,html.sbg .thecontent h3,html.sbg .thecontent h4,html.sbg .thecontent h5{color:var(--g-ink)}
html.sbg .thecontent a{color:var(--g-link)}
html.sbg .thecontent a:hover{color:var(--g-link-h)}
html.sbg .thecontent figure.wp-block-image img,html.sbg .thecontent > p > img{border-radius:14px}
html.sbg .thecontent figcaption{color:var(--g-ink3)}
html.sbg .thecontent hr.wp-block-separator{height:1px;border:0;background:var(--g-line)}
html.sbg .thecontent blockquote:not(.twitter-tweet){margin:0 0 20px;padding:14px 18px;border:0;border-left:3px solid var(--g-teal);border-radius:0 14px 14px 0;background:var(--g-tile-bg);color:var(--g-ink2)}
html.sbg .thecontent table{border-collapse:separate;border-spacing:0;border:1px solid var(--g-line);border-radius:14px;overflow:hidden}
html.sbg .thecontent table th{background:var(--g-tile-bg);color:var(--g-ink)}
html.sbg .thecontent table td,html.sbg .thecontent table th{border-color:var(--g-line)}
html.sbg .thecontent .sb-coin-price-link{padding:12px 16px;border:1px solid var(--g-line);border-radius:14px;background:var(--g-tile-bg);box-shadow:var(--g-tile-shadow);color:var(--g-ink2)}

/* tags and the writer */
html.sbg .article .tags{float:none;width:auto;margin:0 0 22px;padding-top:20px;border-top:1px solid var(--g-line)}
html.sbg .article .tags a{margin:0 8px 8px 0;padding:5px 14px;border-radius:999px;background:var(--g-tile-bg);border:1px solid var(--g-line);box-shadow:var(--g-tile-shadow);color:var(--g-link)}
html.sbg .article .tags a:hover{color:var(--g-link-h);border-color:rgba(74,197,219,.60)}
html.sbg .article .postauthor{float:none;width:auto;min-height:0;margin:0 0 26px}
html.sbg .article .postauthor-inner{float:none;display:flow-root;border:1.5px solid rgba(74,197,219,.55);border-radius:20px;background:var(--g-tile-bg);box-shadow:var(--g-tile-shadow)}
html.sbg .article .postauthor h5,html.sbg .article .postauthor h5 a{color:var(--g-ink)}
html.sbg .article .postauthor .author-description{color:var(--g-ink2)}
html.sbg .article .bottomad{margin:0 0 26px}
/* ข่าวต่อไป — where one article ends and the next begins (plugin sb-next-post).
   A soft line that fades out at both ends, with the label as a small pill sitting on it and the same room above and
   below. The ad wrapper above it keeps its reserved height only while an ad is in it: with nothing booked it used to
   hold 90 px (250 px on a phone) of blank page. It is collapsed, not hidden, so the ads platform still sees the slot. */
html.sbg .article .single_post{border-bottom-color:var(--g-line)}
html.sbg .article .bottomad:has(> .sbads-slot:empty):not(:has(> :not(.sbads-slot))){min-height:0;margin:0}
html.sbg .article .bottomad > .sbads-slot:empty{margin:0!important}
html.sbg .article .svc_pre_container_after{clear:both;margin:18px 0 44px;padding:0;color:var(--g-ink3)}
html.sbg .article .svc_next_content{background:none}
html.sbg .article .svc_next_content:empty{display:none}
html.sbg .article .svc_next_ref{display:flex;align-items:center;gap:18px;margin:0;border:0;color:var(--g-ink3)}
html.sbg .article .svc_next_ref::before,
html.sbg .article .svc_next_ref::after{content:"";display:block;flex:1 1 0;width:auto;height:1px;margin:0;border:0;opacity:.42;background:linear-gradient(90deg,transparent,currentColor 70%)}
html.sbg .article .svc_next_ref::after{background:linear-gradient(270deg,transparent,currentColor 70%)}
html.sbg .article .svc_next_ref .svc_next_txt{display:inline-flex;align-items:center;gap:8px;margin:0;padding:9px 16px 9px 20px;border-radius:999px;background:var(--g-tile-bg);border:1px solid var(--g-line);box-shadow:var(--g-tile-shadow),0 8px 20px -12px rgba(15,23,42,.30);color:var(--g-ink2);font-size:16px;line-height:1.3;letter-spacing:0;white-space:nowrap}
html.sbg .article .svc_next_ref .svc_next_txt::after{content:"";flex:none;width:16px;height:16px;background:var(--g-link);-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9.5l6 6 6-6'/%3E%3C/svg%3E") center/contain no-repeat;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9.5l6 6 6-6'/%3E%3C/svg%3E") center/contain no-repeat}
/* while the next article is on its way: a small ring under the pill instead of the plugin's big grey one */
html.sbg .article .svc_pre_container_after .lds-dual-ring{width:26px;height:26px;margin:22px auto 0}
html.sbg .article .svc_pre_container_after .lds-dual-ring::after{width:22px;height:22px;margin:2px;border:2.5px solid var(--g-line);border-top-color:var(--g-teal);animation:sbg-spin .8s linear infinite}
html.sbg .article .svc_pre_container_after:has(> .lds-dual-ring){margin-bottom:30px}
html.sbg .article .svc_infinite_container:last-child > .bottomad:last-child,
html.sbg .article > .bottomad:last-child{margin-bottom:0}

/* sidebar: a pane of dark glass, only as tall as what it holds */
html.sbg .single-content-wrapper > #sidebar{position:relative;display:flex;flex-direction:column;gap:30px;flex:0 0 340px;float:none;box-sizing:border-box;width:340px;max-width:340px;margin:0;padding:20px;border-radius:26px;background:var(--g-side-bg);border:1px solid var(--g-side-line);box-shadow:var(--g-side-shadow);color:#fff}
html.sbg #sidebar .widget{float:none;width:auto;margin:0;padding:0;background:none;color:#fff;overflow:visible}
html.sbg #sidebar .widget:has(> .sbads-slot:empty):not(:has(> :not(.sbads-slot))){display:none}
html.sbg #sidebar .widget:empty{display:none}
html.sbg #sidebar .widget-title,html.sbg #sidebar .widget > h3.wp-block-heading{margin:0 0 16px;padding:0 0 12px;line-height:1.3;color:#fff}
html.sbg #sidebar .widget-title::before,html.sbg #sidebar .widget > h3.wp-block-heading::before{width:44px;height:3px;border-radius:3px;background:var(--g-teal)}
html.sbg #sidebar #block-10{margin-bottom:-30px}
html.sbg #sidebar .textwidget > img{display:block;box-sizing:border-box;width:100%;margin:0;padding:10px;border-radius:16px;background:#fff}
html.sbg #sidebar .textwidget > iframe{display:block;border-radius:12px}
html.sbg #sidebar .wp-block-latest-posts{margin:0;padding:0}
html.sbg #sidebar .wp-block-latest-posts li{display:flex;align-items:flex-start;gap:14px;margin:0 0 16px;padding:0;list-style:none}
html.sbg #sidebar .wp-block-latest-posts li:last-child{margin-bottom:0}
html.sbg #sidebar .wp-block-latest-posts__featured-image{flex:0 0 auto;float:none;margin:0}
html.sbg #sidebar .wp-block-latest-posts__featured-image img{display:block;float:none;width:64px;height:64px;max-width:64px;margin:0;border-radius:13px;object-fit:cover}
html.sbg #sidebar .wp-block-latest-posts__post-title{min-width:0;color:#8fe2f1}
html.sbg #sidebar .wp-block-latest-posts__post-title:hover{color:#c3f1f9}
html.sbg #sidebar a{color:#8fe2f1}

/* >>> sidebar blocks */
/* sidebar 2.0: our own tools (parts/side.php) — prices, the app's free market cards, trending coins, most read,
   the calendar and the app card. Each is a widget, placed in Appearance → Widgets. The pane is dark glass in both
   colour modes; what sits inside it is plain (never glass on glass). In preview the tools are in the page but
   hidden, and shown here; a tool with nothing to show yet stays out of sight; widgets of the old look step aside. */
html.sbg #sidebar .sbg-sb[hidden]{display:block}
html.sbg #sidebar .sbg-sb.is-empty{display:none}
html.sbg #sidebar .sbg-old{display:none}
html.sbg #sidebar .sbg-sb{--sb-fill:rgba(255,255,255,.06);--sb-line:rgba(255,255,255,.10);--sb-ink2:rgba(255,255,255,.72);--sb-ink3:rgba(255,255,255,.58);--sb-up:#4ade80;--sb-dn:#f87171}
html.sbg #sidebar .sbg-sb a{color:#fff;text-decoration:none}
html.sbg #sidebar .sbg-sb :is(i,em,u){font-style:normal;text-decoration:none}
html.sbg #sidebar .sbg-sb :is(ul,ol,li){margin:0;padding:0;list-style:none;background:none;border:0}
html.sbg #sidebar .sbg-sb li::before{content:none}
html.sbg #sidebar .sbg-sb img{float:none;margin:0;max-width:none}
html.sbg #sidebar .sbg-sb .up{color:var(--sb-up)}
html.sbg #sidebar .sbg-sb .dn{color:var(--sb-dn)}
html.sbg #sidebar .sbg-sb .sbg-sb-more{display:inline-flex;align-items:center;gap:6px;margin-top:14px;font-size:15px;line-height:1.4;font-weight:600;color:#8fe2f1}
html.sbg #sidebar .sbg-sb .sbg-sb-more:hover{color:#c3f1f9}
html.sbg #sidebar .sbg-sb-note{margin:12px 0 0;font-size:13px;line-height:1.5;color:var(--sb-ink3)}

/* ราคาเหรียญวันนี้ */
html.sbg #sidebar .sbg-pr{display:flex;flex-direction:column;border-radius:18px;background:var(--sb-fill);border:1px solid var(--sb-line);overflow:hidden}
html.sbg #sidebar .sbg-pr-row{display:flex;align-items:center;gap:12px;padding:11px 14px;border-top:1px solid rgba(255,255,255,.08);transition:background .18s}
html.sbg #sidebar .sbg-pr-row:first-child{border-top:0}
html.sbg #sidebar .sbg-pr-row:hover{background:rgba(255,255,255,.07)}
html.sbg #sidebar .sbg-pr-row img,html.sbg #sidebar .sbg-pr-dot{flex:0 0 28px;width:28px;height:28px;border-radius:50%}
html.sbg #sidebar .sbg-pr-row img{background:rgba(255,255,255,.92)}
html.sbg #sidebar .sbg-pr-dot{display:grid;place-items:center;background:rgba(255,255,255,.14);font-size:13px;font-weight:700}
html.sbg #sidebar .sbg-pr-n{flex:1;min-width:0;display:flex;flex-direction:column;line-height:1.25}
html.sbg #sidebar .sbg-pr-n b{font-size:16px;font-weight:700}
html.sbg #sidebar .sbg-pr-n i{font-size:13px;color:var(--sb-ink3);overflow:hidden;white-space:nowrap;text-overflow:ellipsis}
html.sbg #sidebar .sbg-pr-v{display:flex;flex-direction:column;align-items:flex-end;line-height:1.25;font-variant-numeric:tabular-nums;white-space:nowrap}
html.sbg #sidebar .sbg-pr-v b{font-size:16px;font-weight:700}
html.sbg #sidebar .sbg-pr-v i{font-size:13px;font-weight:600}

/* ตลาดวันนี้ + เหรียญที่กำลังนิยม: the app's free cards, headline number only */
html.sbg #sidebar .sbg-mcs{display:flex;flex-direction:column;gap:10px}
html.sbg #sidebar .sbg-mcs-2{display:grid;grid-template-columns:1fr 1fr;gap:10px}
html.sbg #sidebar .sbg-mcs-2 .sbg-mc-h{min-height:2.8em}
html.sbg #sidebar .sbg-mcs-2 .sbg-bar3 ~ .sbg-mc-sub{display:none}
html.sbg #sidebar .sbg-mcs-2 .sbg-bar3{margin-bottom:2px}
html.sbg #sidebar .sbg-mc{display:flex;flex-direction:column;gap:4px;min-width:0;padding:14px 14px 13px;border-radius:18px;background:var(--sb-fill);border:1px solid var(--sb-line);color:#fff;transition:background .18s}
html.sbg #sidebar a.sbg-mc:hover{background:rgba(255,255,255,.10)}
html.sbg #sidebar .sbg-mc-h{font-size:14px;line-height:1.4;font-weight:600;color:var(--sb-ink2)}
html.sbg #sidebar .sbg-gauge{position:relative;display:block;width:168px;max-width:100%;margin:8px auto 0}
html.sbg #sidebar .sbg-gauge svg{display:block;width:100%;height:auto;overflow:visible}
html.sbg #sidebar .sbg-gauge b{position:absolute;left:0;right:0;bottom:-5px;text-align:center;font-size:40px;line-height:1;font-weight:700}
html.sbg #sidebar .sbg-mc-word{display:flex;align-items:center;justify-content:center;gap:8px;margin-top:12px;font-size:18px;font-weight:700;line-height:1.3}
html.sbg #sidebar .sbg-mc-word::before{content:"";flex:0 0 9px;width:9px;height:9px;border-radius:50%;background:rgba(255,255,255,.5)}
html.sbg #sidebar .sbg-mc-big{justify-content:flex-start;margin-top:2px;font-size:26px}
html.sbg #sidebar .sbg-mc-dom .sbg-mc-big::before{content:none}
html.sbg #sidebar .sbg-tone-fear2::before{background:#ef4444}
html.sbg #sidebar .sbg-tone-fear::before{background:#fb923c}
html.sbg #sidebar .sbg-tone-mid::before{background:#fbbf24}
html.sbg #sidebar .sbg-tone-greed::before{background:#4ade80}
html.sbg #sidebar .sbg-tone-greed2::before{background:#22c55e}
html.sbg #sidebar .sbg-mc-sub{font-size:13px;line-height:1.5;color:var(--sb-ink3)}
html.sbg #sidebar .sbg-mc-fng .sbg-mc-sub{text-align:center}
html.sbg #sidebar .sbg-bar3{display:flex;gap:2px;height:7px;margin:8px 0 4px}
html.sbg #sidebar .sbg-bar3 i{min-width:4px;border-radius:4px;background:rgba(255,255,255,.26)}
html.sbg #sidebar .sbg-bar3 i.up{background:var(--sb-up)}
html.sbg #sidebar .sbg-bar3 i.dn{background:var(--sb-dn)}
html.sbg #sidebar .sbg-bar3 i.btc{background:#f7931a}
html.sbg #sidebar .sbg-bar3 i.eth{background:#8ea2ff}
html.sbg #sidebar .sbg-mc-more{display:flex;align-items:center;gap:5px;margin-top:auto;padding-top:8px;font-size:13.5px;line-height:1.4;font-weight:600;color:#8fe2f1}
html.sbg #sidebar .sbg-sb-trend .sbg-mc-h{display:none}
html.sbg #sidebar .sbg-sb-trend .sbg-mc{padding-top:6px}
html.sbg #sidebar .sbg-mc-list{display:flex;flex-direction:column}
html.sbg #sidebar .sbg-mc-row{display:flex;align-items:center;gap:10px;padding:9px 0;border-top:1px solid rgba(255,255,255,.08);font-size:15px;line-height:1.3}
html.sbg #sidebar .sbg-mc-row:first-child{border-top:0}
html.sbg #sidebar .sbg-mc-row em{flex:0 0 14px;font-size:13px;color:var(--sb-ink3);text-align:center}
html.sbg #sidebar .sbg-mc-row img,html.sbg #sidebar .sbg-mc-row u{flex:0 0 22px;width:22px;height:22px;border-radius:50%}
html.sbg #sidebar .sbg-mc-row u{display:grid;place-items:center;background:rgba(255,255,255,.14);font-size:11px;font-weight:700}
html.sbg #sidebar .sbg-mc-row b{font-weight:700}
html.sbg #sidebar .sbg-mc-row > span{flex:1;min-width:0;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;color:var(--sb-ink3)}
html.sbg #sidebar .sbg-mc-row i{font-weight:600;font-variant-numeric:tabular-nums;white-space:nowrap}

/* ข่าวที่คนอ่านมากที่สุด */
html.sbg #sidebar .sbg-most{display:flex;flex-direction:column;gap:16px}
html.sbg #sidebar .sbg-most a{display:flex;align-items:flex-start;gap:12px;color:#8fe2f1}
html.sbg #sidebar .sbg-most a:hover{color:#c3f1f9}
html.sbg #sidebar .sbg-most em{flex:0 0 18px;font-size:22px;line-height:1.25;font-weight:700;color:rgba(255,255,255,.42);text-align:center;font-variant-numeric:tabular-nums}
html.sbg #sidebar .sbg-most img{flex:0 0 64px;width:64px;height:64px;border-radius:13px;object-fit:cover}
html.sbg #sidebar .sbg-most span{min-width:0;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden}

/* ปฏิทินเศรษฐกิจ */
html.sbg #sidebar .sbg-cal{display:flex;flex-direction:column;gap:10px}
html.sbg #sidebar .sbg-cal li{display:flex;align-items:center;gap:12px;padding:10px 12px;border-radius:16px;background:var(--sb-fill);border:1px solid var(--sb-line)}
html.sbg #sidebar .sbg-cal-d{flex:0 0 46px;display:flex;flex-direction:column;align-items:center;justify-content:center;height:50px;border-radius:12px;background:rgba(255,255,255,.10);line-height:1.1}
html.sbg #sidebar .sbg-cal-d b{font-size:20px;font-weight:700}
html.sbg #sidebar .sbg-cal-d i{font-size:12px;color:var(--sb-ink2)}
html.sbg #sidebar .sbg-cal-d.is-today{background:var(--g-teal);color:var(--g-on-teal)}
html.sbg #sidebar .sbg-cal-d.is-today i{color:inherit}
html.sbg #sidebar .sbg-cal-t{min-width:0;display:flex;flex-direction:column;gap:2px;line-height:1.35}
html.sbg #sidebar .sbg-cal-t b{font-size:15px;font-weight:700}
html.sbg #sidebar .sbg-cal-t i{font-size:13px;color:var(--sb-ink3)}

/* โหลดแอป */
html.sbg #sidebar .sbg-appc{display:grid;grid-template-columns:60px minmax(0,1fr);gap:6px 14px;align-items:center;padding:16px;border-radius:20px;background:radial-gradient(260px 170px at 0% 0%,rgba(74,197,219,.30),transparent 70%),radial-gradient(250px 170px at 100% 100%,rgba(84,112,255,.28),transparent 70%),var(--sb-fill);border:1px solid rgba(255,255,255,.16);color:#fff;transition:border-color .18s}
html.sbg #sidebar .sbg-appc:hover{border-color:rgba(255,255,255,.34)}
html.sbg #sidebar .sbg-appc img{width:60px;height:60px;border-radius:14px}
html.sbg #sidebar .sbg-appc-t{display:flex;flex-direction:column;gap:3px;line-height:1.35}
html.sbg #sidebar .sbg-appc-t b{font-size:17px;font-weight:700}
html.sbg #sidebar .sbg-appc-t i{font-size:13.5px;color:var(--sb-ink2)}
html.sbg #sidebar .sbg-appc-go{grid-column:1 / -1;display:flex;align-items:center;justify-content:center;gap:6px;height:42px;margin-top:8px;border-radius:999px;background:#fff;color:#04232a;font-size:15px;font-weight:700}
/* <<< sidebar blocks */

/* >>> cookie pop-up */
/* cookie pop-up (plugin sb-cookie-consent): same words, same three buttons, same place — as glass that opens over the
   page. The plugin marks every one of its rules !important, so these are too; they win by naming html.sbg first. */
html.sbg #sbcc .sbcc-banner{border-radius:26px!important;border:1px solid var(--g-pop-line)!important;background:var(--g-pop-bg)!important;box-shadow:var(--g-pop-shadow)!important;-webkit-backdrop-filter:var(--g-blur-pop)!important;backdrop-filter:var(--g-blur-pop)!important}
/* one thing at a time: while the app pop-up is open (its plugin puts "sbp-lock" on <body>) the cookie box steps aside
   and comes back the moment the pop-up is closed — it used to lie over the pop-up's store buttons */
html.sbg body.sbp-lock #sbcc .sbcc-banner{opacity:0!important;visibility:hidden!important;pointer-events:none!important}
html.sbg #sbcc .sbcc-icon{width:40px!important;height:40px!important;margin:0!important;border-radius:50%!important;border:1px solid var(--g-ctl-line)!important;background:var(--g-ctl-bg)!important;box-shadow:var(--g-ctl-shadow)!important}
html.sbg #sbcc .sbcc-icon svg{width:22px!important;height:22px!important}
html.sbg #sbcc .sbcc-icon svg circle[stroke]{stroke:var(--g-link)!important}
html.sbg #sbcc .sbcc-icon svg circle[fill]{fill:var(--g-link)!important}
html.sbg #sbcc .sbcc-title{margin-bottom:6px!important;color:var(--g-pop-ink)!important}
html.sbg #sbcc .sbcc-desc{margin-bottom:16px!important;color:var(--g-ink2)!important}
html.sbg #sbcc .sbcc-desc a{color:var(--g-link)!important;text-decoration-color:currentColor!important}
html.sbg #sbcc .sbcc-desc a:hover{color:var(--g-link-h)!important}
html.sbg #sbcc .sbcc-actions{flex-wrap:wrap!important}
html.sbg #sbcc .sbcc-btn{height:40px!important;padding:0 18px!important;border-radius:999px!important;-webkit-tap-highlight-color:transparent!important;transition:transform .5s var(--g-spr),filter .2s ease,background-color .2s ease,color .2s ease!important}
html.sbg #sbcc .sbcc-btn:active{transform:scale(1.06)!important;filter:brightness(1.05)!important;transition:transform .14s cubic-bezier(.2,.7,.3,1),filter .14s ease!important}
html.sbg #sbcc .sbcc-btn-accept,html.sbg #sbcc .sbcc-btn-accept:hover{border:1px solid rgba(255,255,255,.55)!important;background:linear-gradient(180deg,#7fdcee,#4ac5db)!important;box-shadow:inset 0 1px 0 rgba(255,255,255,.65),0 12px 22px -12px rgba(74,197,219,.95)!important;color:#04232a!important}
html.sbg #sbcc .sbcc-btn-accept:hover{filter:brightness(1.05)!important}
html.sbg #sbcc .sbcc-btn-deny,html.sbg #sbcc .sbcc-btn-deny:hover{border:1px solid var(--g-ctl-line)!important;background:var(--g-ctl-bg)!important;box-shadow:var(--g-ctl-shadow)!important;color:var(--g-ink2)!important}
html.sbg #sbcc .sbcc-btn-deny:hover{color:var(--g-pop-ink)!important}
html.sbg #sbcc .sbcc-btn-settings,html.sbg #sbcc .sbcc-btn-settings:hover{padding:0 12px!important;border:1px solid transparent!important;border-radius:999px!important;background:transparent!important;color:var(--g-link)!important}
html.sbg #sbcc .sbcc-btn-settings:hover{background:var(--g-pop-hover)!important}
html.sbg #sbcc .sbcc-modal-overlay{background:rgba(15,23,42,.30)!important;-webkit-backdrop-filter:blur(8px)!important;backdrop-filter:blur(8px)!important}
html.sbg-dark #sbcc .sbcc-modal-overlay{background:rgba(0,0,0,.5)!important}
html.sbg #sbcc .sbcc-modal-box{border-radius:28px!important;border:1px solid var(--g-pop-line)!important;background:var(--g-pop-bg)!important;box-shadow:var(--g-pop-shadow)!important;-webkit-backdrop-filter:var(--g-blur-pop)!important;backdrop-filter:var(--g-blur-pop)!important}
html.sbg #sbcc .sbcc-modal-header h3{color:var(--g-pop-ink)!important}
html.sbg #sbcc .sbcc-modal-close,html.sbg #sbcc .sbcc-modal-close:hover{border:1px solid var(--g-ctl-line)!important;background:var(--g-ctl-bg)!important;box-shadow:var(--g-ctl-shadow)!important;color:var(--g-ink2)!important}
html.sbg #sbcc .sbcc-modal-close:hover{color:var(--g-pop-ink)!important}
html.sbg #sbcc .sbcc-modal-desc{margin-bottom:16px!important;color:var(--g-ink2)!important}
html.sbg #sbcc .sbcc-category{margin-bottom:12px!important;border-radius:18px!important;border:1px solid var(--g-tile-line)!important;background:var(--g-tile-bg)!important;box-shadow:var(--g-tile-shadow)!important}
html.sbg #sbcc .sbcc-category:last-child{margin-bottom:0!important}
html.sbg #sbcc .sbcc-category-name{color:var(--g-pop-ink)!important}
html.sbg #sbcc .sbcc-category-desc{margin-top:8px!important;color:var(--g-ink3)!important}
html.sbg #sbcc .sbcc-badge-required{border:1px solid rgba(74,197,219,.45)!important;background:rgba(74,197,219,.18)!important;color:var(--g-link)!important}
html.sbg #sbcc .sbcc-toggle{width:46px!important;height:28px!important}
html.sbg #sbcc .sbcc-slider{border-radius:999px!important;background:rgba(15,23,42,.16)!important;box-shadow:inset 0 1px 2px rgba(4,35,42,.25)!important;transition:background-color .25s ease!important}
html.sbg-dark #sbcc .sbcc-slider{background:rgba(255,255,255,.14)!important}
html.sbg #sbcc .sbcc-slider::before{left:3px!important;bottom:3px!important;width:22px!important;height:22px!important;background:linear-gradient(180deg,#fff,#eef3f7)!important;box-shadow:inset 0 1px 0 #fff,0 2px 5px rgba(4,35,42,.35)!important;transition:transform .45s var(--g-spr)!important}
html.sbg #sbcc .sbcc-toggle input:checked + .sbcc-slider,html.sbg #sbcc .sbcc-toggle-locked .sbcc-slider{background:linear-gradient(180deg,#5fd0e3,#3fb9d0)!important}
html.sbg #sbcc .sbcc-toggle input:checked + .sbcc-slider::before,html.sbg #sbcc .sbcc-toggle-locked input:checked + .sbcc-slider::before{transform:translateX(18px)!important}
html.sbg #sbcc .sbcc-toggle-locked{opacity:.6!important}
html.sbg #sbcc .sbcc-toggle input:focus-visible + .sbcc-slider{outline:2px solid var(--g-link)!important;outline-offset:2px!important}
html.sbg #sbcc .sbcc-modal-footer{border-top:1px solid var(--g-line)!important}
html.sbg #sbcc .sbcc-modal-footer .sbcc-btn{height:44px!important;min-height:44px!important}
html.sbg #sbcc .sbcc-modal-footer #sbcc-save,html.sbg #sbcc .sbcc-modal-footer #sbcc-save:hover{border:1px solid var(--g-ctl-line)!important;background:var(--g-ctl-bg)!important;box-shadow:var(--g-ctl-shadow)!important;color:var(--g-ink2)!important;filter:none!important}
html.sbg #sbcc .sbcc-modal-footer #sbcc-save:hover{color:var(--g-pop-ink)!important}
html.sbg #sbcc .sbcc-modal-links a,html.sbg #sbcc .sbcc-sep{color:var(--g-ink3)!important}
html.sbg #sbcc .sbcc-modal-links a:hover{color:var(--g-link)!important}
@media (max-width:480px){
  html.sbg #sbcc .sbcc-banner{border-radius:26px!important}
  html.sbg #sbcc .sbcc-icon{display:flex!important}
  html.sbg #sbcc .sbcc-btn{height:44px!important;padding:0 16px!important}
  html.sbg #sbcc .sbcc-btn-settings{padding:0 12px!important}
  html.sbg #sbcc .sbcc-modal-box{border-radius:28px!important}
}
@media (prefers-reduced-motion:reduce){
  html.sbg #sbcc .sbcc-btn,html.sbg #sbcc .sbcc-btn:active{transform:none!important;transition:none!important}
  html.sbg #sbcc .sbcc-slider::before{transition:none!important}
}
/* <<< cookie pop-up */

/* >>> coin page */
/* coin pages (plugin sb-price-ticker, /coinprice/<coin>/): the same blocks in the same order, the live sizes and
   weights, drawn as panes of glass. The plugin paints from its own colour variables, so most of the work is handing
   it ours; the rest gives each block its shape. Nothing in the plugin's files changes. */
html.sbg body.sbc-coin-page{
  --sbc-accent:var(--g-teal);--sbc-accent-dark:var(--g-link);--sbc-accent-darker:var(--g-link);--sbc-accent-light:rgba(74,197,219,.30);
  --sbc-accent-bg:var(--g-pop-hover);--sbc-accent-bg-strong:rgba(74,197,219,.16);
  --sbc-bg:transparent;--sbc-bg-subtle:var(--g-tile-bg);--sbc-bg-muted:var(--g-tile-bg);--sbc-card:transparent;--sbc-card-hover:var(--g-pop-hover);
  --sbc-text:var(--g-ink);--sbc-text-primary:var(--g-ink);--sbc-text-secondary:var(--g-ink2);--sbc-text-tertiary:var(--g-ink3);--sbc-muted:var(--g-ink3);
  --sbc-border:var(--g-line);--sbc-border-strong:var(--g-line);
  --sbc-up:var(--g-up);--sbc-up-bg:var(--g-up-bg);--sbc-down:var(--g-down);--sbc-down-bg:var(--g-down-bg);
  --sbc-radius:22px;--sbc-shadow:var(--g-panel-shadow);--sbc-shadow-hover:var(--g-panel-shadow);
  --sbc-ring:rgba(15,23,42,.08);
  --sbc-tint:linear-gradient(180deg,#7fdcee,#4ac5db);--sbc-tint-line:rgba(255,255,255,.55);--sbc-tint-shadow:inset 0 1px 0 rgba(255,255,255,.65),0 10px 18px -11px rgba(74,197,219,.95);
  background:var(--g-fx),var(--g-base);background-repeat:no-repeat;color:var(--g-ink)}
html.sbg-dark body.sbc-coin-page{--sbc-ring:rgba(255,255,255,.26)}
html.sbg .sbc-page-wrapper{padding-bottom:56px}
html.sbg .sbc-container{max-width:1200px;padding:0 20px}

/* where you are */
html.sbg .sbc-breadcrumbs{padding:10px 4px 14px}
html.sbg .sbc-breadcrumbs ol{flex-wrap:wrap;line-height:1.7}
html.sbg .sbc-breadcrumbs a{color:var(--g-ink3)}
html.sbg .sbc-breadcrumbs a:hover{color:var(--g-link)}

/* the coin and its price: one pane. The tabs are the last thing inside the same box, so the pane is drawn behind
   everything above them and the tabs float under it as their own capsule. */
html.sbg .sbc-coin-header{--sbc-tabs:54px;--sbc-tabs-gap:20px;position:relative;isolation:isolate;padding:28px 32px 0;border:0}
html.sbg .sbc-coin-header::before{content:"";position:absolute;z-index:-1;left:0;right:0;top:0;bottom:calc(var(--sbc-tabs) + var(--sbc-tabs-gap));border-radius:26px;border:1px solid var(--g-panel-line);background:var(--g-panel-bg);box-shadow:var(--g-panel-shadow)}
html.sbg .sbc-coin-identity{margin-bottom:22px}
html.sbg .sbc-coin-logo{flex:0 0 auto;width:48px;height:48px;margin:8px;border:0;border-radius:50%;background:rgba(255,255,255,.92);box-shadow:0 0 0 1px var(--sbc-ring),0 0 0 7px var(--g-tile-bg),0 0 0 8px var(--g-tile-line)}
html.sbg .sbc-coin-titles{min-width:0}
html.sbg .sbc-coin-titles h1{margin:0;color:var(--g-ink)}
html.sbg .sbc-coin-symbol-badge{padding:4px 10px;border:1px solid rgba(74,197,219,.45);border-radius:999px;background:rgba(74,197,219,.16);color:var(--g-link);line-height:1.2;vertical-align:middle}
html.sbg .sbc-coin-subtitle{margin:6px 0 0;color:var(--g-ink3)}
html.sbg .sbc-price-hero{align-items:center}
html.sbg .sbc-price-main{color:var(--g-ink)}
html.sbg .sbc-price-change-badge{border-radius:999px}
html.sbg .sbc-price-meta{gap:14px 36px;margin-top:18px;padding-bottom:30px}
html.sbg .sbc-price-meta-item .label{letter-spacing:0;color:var(--g-ink3)}
html.sbg .sbc-price-meta-item .value{color:var(--g-ink)}

/* the tabs: a capsule of glass with one raised choice */
html.sbg .sbc-tabs{display:flex;gap:2px;box-sizing:border-box;width:-moz-fit-content;width:fit-content;max-width:calc(100% + 64px);height:var(--sbc-tabs);margin:var(--sbc-tabs-gap) -32px 0;padding:5px;border:1px solid var(--g-chrome-line);border-radius:999px;background:var(--g-chrome-bg);box-shadow:var(--g-chrome-shadow);-webkit-backdrop-filter:var(--g-blur);backdrop-filter:var(--g-blur);overflow-x:auto;scrollbar-width:none}
html.sbg .sbc-tabs::-webkit-scrollbar{display:none}
html.sbg .sbc-tab{flex:1 0 auto;display:inline-flex;align-items:center;justify-content:center;height:42px;box-sizing:border-box;margin:0;padding:0 22px;border:1px solid transparent;border-radius:999px;background:none;color:var(--g-ink2);line-height:1;white-space:nowrap;transition:color .2s ease}
html.sbg .sbc-tab:hover{color:var(--g-ink)}
html.sbg .sbc-tab.active,html.sbg .sbc-tab.active:hover{border-color:var(--sbc-tint-line);background:var(--sbc-tint);box-shadow:var(--sbc-tint-shadow);color:var(--g-on-teal)}

/* overview: chart beside the converter and the facts */
html.sbg .sbc-grid{grid-template-columns:minmax(0,1fr) 380px;gap:28px;padding:20px 0 24px}
html.sbg .sbc-chart-wrap{min-width:0;border:1px solid var(--g-panel-line);border-radius:22px;background:var(--g-panel-bg);box-shadow:var(--g-panel-shadow)}
html.sbg .sbc-chart-toolbar{gap:16px;margin-bottom:18px}
html.sbg .sbc-chart-timeframes,html.sbg .sbc-chart-type-btns{gap:2px;padding:4px;border:1px solid var(--g-tile-line);border-radius:999px;background:var(--g-tile-bg);box-shadow:var(--g-tile-shadow)}
html.sbg .sbc-chart-tf,html.sbg .sbc-chart-type-btn{display:inline-flex;align-items:center;justify-content:center;height:34px;box-sizing:border-box;margin:0;padding:0 16px;border:1px solid transparent;border-radius:999px;background:none;color:var(--g-ink2);line-height:1;white-space:nowrap;transition:color .2s ease}
html.sbg .sbc-chart-type-btn{width:38px;padding:0}
html.sbg .sbc-chart-tf:hover,html.sbg .sbc-chart-type-btn:hover{border-color:transparent;color:var(--g-ink)}
html.sbg .sbc-chart-tf.active,html.sbg .sbc-chart-tf.active:hover,html.sbg .sbc-chart-type-btn.active,html.sbg .sbc-chart-type-btn.active:hover{border-color:var(--sbc-tint-line);background:var(--sbc-tint);box-shadow:var(--sbc-tint-shadow);color:var(--g-on-teal)}
/* the chart builds itself out of a table: the theme's table frame and bottom margin must not reach it */
html.sbg #sbc-price-chart table{margin:0;border:0;background:none}
html.sbg #sbc-price-chart td{padding:0;border:0;background:none}
/* the day's four numbers: tiles set into the pane; up and down always carry an arrow, never colour alone */
html.sbg .sbc-chart-stats-big{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-top:20px;padding-top:0;border-top:0}
html.sbg .sbc-chart-stat-big{width:auto;padding:14px 10px;border:1px solid var(--g-tile-line);border-radius:14px;background:var(--g-tile-bg);box-shadow:var(--g-tile-shadow)}
html.sbg .sbc-chart-stat-big .stat-label{color:var(--g-ink3)}
html.sbg .sbc-chart-stat-big .stat-value.sbc-up-text::before{content:"\25B2\00a0"}
html.sbg .sbc-chart-stat-big .stat-value.sbc-down-text::before{content:"\25BC\00a0"}
html.sbg .sbc-blockchain-stats{gap:12px;margin-top:12px;padding:0;border-top:0}
html.sbg .sbc-bstat{flex:1 1 0;min-width:0;width:auto;padding:12px 10px;border:1px solid var(--g-tile-line);border-radius:14px;background:var(--g-tile-bg);box-shadow:var(--g-tile-shadow)}
html.sbg .sbc-bstat .stat-label{color:var(--g-ink3)}

/* cards */
html.sbg .sbc-card,html.sbg .sbc-allcoins-card{border:1px solid var(--g-panel-line);border-radius:22px;background:var(--g-panel-bg);box-shadow:var(--g-panel-shadow)}
html.sbg .sbc-card-header{padding:14px 20px;border-bottom:1px solid var(--g-line);background:none}
html.sbg .sbc-card-title{color:var(--g-link)}
html.sbg .sbc-card-body > p:last-child{margin-bottom:0}

/* the converter: two fields set into the pane, the swap button between them */
html.sbg .sbc-converter-input-group{margin-bottom:0}
html.sbg .sbc-converter-input{height:54px;box-sizing:border-box;margin:0;padding:0 92px 0 16px;border:1px solid var(--g-tile-line);border-radius:16px;background:var(--g-tile-bg);box-shadow:var(--g-tile-shadow);color:var(--g-ink)}
html.sbg .sbc-converter-input:focus{border-color:var(--g-teal);box-shadow:0 0 0 3px rgba(74,197,219,.28)}
html.sbg .sbc-converter-label{right:16px;gap:8px;color:var(--g-ink3)}
html.sbg .sbc-converter-label img{background:rgba(255,255,255,.92);box-shadow:0 0 0 1px var(--sbc-ring)}
html.sbg .sbc-converter-swap{align-items:center;height:14px;margin:0}
html.sbg .sbc-converter-swap-btn{width:36px;height:36px;box-sizing:border-box;margin:0;padding:0;border:1px solid var(--sbc-tint-line);background:var(--sbc-tint);box-shadow:var(--sbc-tint-shadow);color:var(--g-on-teal);line-height:1}

/* the facts, and the links out */
html.sbg .sbc-info-grid{gap:0;background:none}
html.sbg .sbc-info-item{padding:14px 20px;border-bottom:1px solid var(--g-line);background:none}
html.sbg .sbc-info-item:nth-child(odd){border-right:1px solid var(--g-line)}
html.sbg .sbc-info-grid:last-child .sbc-info-item:last-child,html.sbg .sbc-info-grid:last-child .sbc-info-item:nth-last-child(2):nth-child(odd){border-bottom:0}
html.sbg .sbc-info-item .info-label{letter-spacing:0;color:var(--g-ink3)}
html.sbg .sbc-info-item .info-value{color:var(--g-ink)}
html.sbg .sbc-info-item .info-value a{color:var(--g-link)}
html.sbg .sbc-link-pills{padding:16px 20px 20px}
html.sbg .sbc-link-pill{gap:7px;height:38px;box-sizing:border-box;padding:0 14px;border:1px solid var(--g-ctl-line);border-radius:999px;background:var(--g-ctl-bg);box-shadow:var(--g-ctl-shadow);color:var(--g-ink2);transition:color .2s ease}
html.sbg .sbc-link-pill:hover{border-color:var(--g-ctl-line);background:var(--g-ctl-bg);color:var(--g-link)}
html.sbg .sbc-link-pill svg{opacity:1}

/* the questions: the arrow sits in a small round control, raised while its answer is open */
html.sbg .sbc-accordion{border-top:0}
html.sbg .sbc-accordion-item:last-child{border-bottom:0}
html.sbg .sbc-accordion-trigger{gap:16px;min-height:64px;box-sizing:border-box;margin:0;padding:12px 20px 12px 24px;border-radius:0;color:var(--g-ink)}
html.sbg .sbc-accordion-trigger:hover{background:var(--g-pop-hover)}
html.sbg .sbc-accordion-trigger .arrow{box-sizing:content-box;width:18px;height:18px;padding:7px;border:1px solid var(--g-ctl-line);border-radius:50%;background:var(--g-ctl-bg);box-shadow:var(--g-ctl-shadow);color:var(--g-link);transition:transform .5s var(--g-spr),color .2s ease}
html.sbg .sbc-accordion-item.open .sbc-accordion-trigger .arrow{border-color:var(--sbc-tint-line);background:var(--sbc-tint);box-shadow:var(--sbc-tint-shadow);color:var(--g-on-teal)}
html.sbg .sbc-accordion-content-inner{padding:2px 24px 24px;color:var(--g-ink2)}
html.sbg .sbc-accordion-content-inner > p:last-child{margin-bottom:0}
html.sbg .sbc-accordion-content-inner a{color:var(--g-link)}
html.sbg .sb-coin-analysis-link a{display:inline-flex;align-items:center;gap:10px;min-height:50px;box-sizing:border-box;padding:6px 22px;border:1px solid var(--g-ctl-line);border-radius:999px;background:var(--g-ctl-bg);box-shadow:var(--g-ctl-shadow);color:var(--g-link);line-height:1.4;text-decoration:none}
html.sbg .sb-coin-analysis-link a:hover{color:var(--g-link-h)}

/* news about the coin: the same cards as the front page */
html.sbg .sbc-related-section{padding:44px 0 0}
html.sbg .sbc-section-title{margin:0 0 18px;color:var(--g-ink)}
html.sbg .sbc-news-grid{gap:20px}
html.sbg .sbc-news-card{padding:8px;border:1px solid var(--g-panel-line);border-radius:22px;background:var(--g-panel-bg);box-shadow:var(--g-panel-shadow);overflow:visible;color:var(--g-ink)}
html.sbg .sbc-news-card:hover{border-color:var(--g-panel-line);box-shadow:var(--g-panel-shadow);transform:none}
html.sbg .sbc-news-thumb{border-radius:15px}
html.sbg .sbc-news-thumb img{display:block}
html.sbg .sbc-news-card:hover .sbc-news-thumb img{transform:none}
html.sbg .sbc-news-cat{right:10px;bottom:10px;padding:3px 10px;border-radius:999px;background:rgba(14,18,24,.34);box-shadow:inset 0 0 0 1px rgba(255,255,255,.10),inset 0 1px 0 rgba(255,255,255,.30),inset 0 0 8px rgba(255,255,255,.10),0 6px 16px -6px rgba(0,0,0,.55);-webkit-backdrop-filter:blur(10px) saturate(180%);backdrop-filter:blur(10px) saturate(180%);color:#fff;line-height:1.7;letter-spacing:0;text-shadow:0 1px 2px rgba(0,0,0,.35)}
html.sbg .sbc-news-cat::after{content:"";position:absolute;inset:0;border-radius:inherit;padding:1px;pointer-events:none;background:linear-gradient(150deg,rgba(255,255,255,.80),rgba(255,255,255,.16) 30%,rgba(255,255,255,.05) 62%,rgba(255,255,255,.46));-webkit-mask:linear-gradient(#000 0 0) content-box,linear-gradient(#000 0 0);-webkit-mask-composite:xor;mask:linear-gradient(#000 0 0) content-box exclude,linear-gradient(#000 0 0)}
html.sbg .sbc-news-meta{gap:14px;padding:12px 10px 0;color:var(--g-ink3)}
html.sbg .sbc-news-title{padding:6px 10px 12px;color:var(--g-ink)}
html.sbg .sbc-news-load-more{padding:28px 0 8px}
html.sbg .sbc-load-more-btn{display:inline-flex;align-items:center;justify-content:center;height:50px;box-sizing:border-box;margin:0;padding:0 32px;border:1px solid var(--sbc-tint-line);border-radius:999px;background:var(--sbc-tint);box-shadow:inset 0 1px 0 rgba(255,255,255,.65),0 14px 26px -12px rgba(74,197,219,.95),0 2px 6px rgba(4,35,42,.18);color:var(--g-on-teal);line-height:1}
html.sbg .sbc-load-more-btn:hover{border-color:var(--sbc-tint-line);background:var(--sbc-tint);color:var(--g-on-teal)}
html.sbg .sbc-spinner{border-color:rgba(74,197,219,.28);border-top-color:var(--g-teal)}

/* the coins next door */
html.sbg .sbc-related-card{gap:0;padding:20px 10px 18px;border:1px solid var(--g-panel-line);border-radius:20px;background:var(--g-panel-bg);box-shadow:var(--g-panel-shadow);color:var(--g-ink)}
html.sbg .sbc-related-card:hover{border-color:var(--g-panel-line);box-shadow:var(--g-panel-shadow);transform:none}
html.sbg .sbc-related-card img{background:rgba(255,255,255,.92);box-shadow:0 0 0 1px var(--sbc-ring)}
html.sbg .sbc-related-card .coin-name{margin-top:10px;line-height:1.7}
html.sbg .sbc-related-card .coin-sym{line-height:1.7;color:var(--g-ink3)}
html.sbg .sbc-related-card .coin-price{margin:4px 0 8px;line-height:1.7}
html.sbg .sbc-related-card .coin-change{padding:2px 9px;border-radius:999px;line-height:1.7}

/* the two tables (markets, every coin) */
html.sbg .sbc-market-table,html.sbg .sbc-allcoins-table{margin:0;border:0;background:none}
html.sbg .sbc-market-table th,html.sbg .sbc-allcoins-table thead th{border:0;border-bottom:1px solid var(--g-line);background:none;color:var(--g-ink3);letter-spacing:0}
html.sbg .sbc-market-table td,html.sbg .sbc-allcoins-table td{border:0;border-bottom:1px solid var(--g-line);background:none}
html.sbg .sbc-market-table thead,html.sbg .sbc-allcoins-table thead,html.sbg .sbc-market-table tr,html.sbg .sbc-allcoins-table tr{background:none}
html.sbg .sbc-market-table td{vertical-align:middle}
html.sbg .sbc-market-table tbody tr:last-child td,html.sbg .sbc-allcoins-table tbody tr:last-child td{border-bottom:0}
html.sbg .sbc-market-table tbody tr:hover,html.sbg .sbc-allcoins-table tbody tr:hover{background:var(--g-pop-hover)}
html.sbg .sbc-market-table td{color:var(--g-ink2)}
html.sbg .sbc-exchange-name,html.sbg .sbc-ac-label,html.sbg .sbc-allcoins-table td.col-price{color:var(--g-ink)}
html.sbg .sbc-ac-logo,html.sbg .sbc-exchange-logo{background:rgba(255,255,255,.92)}
html.sbg .sbc-ac-pct{padding:3px 9px;border-radius:999px}
html.sbg .sbc-allcoins-updated{padding:4px 10px;border:1px solid var(--g-tile-line);border-radius:999px;background:var(--g-tile-bg);color:var(--g-ink3)}

@media (max-width:1024px){
  html.sbg .sbc-grid{grid-template-columns:minmax(0,1fr)}
}
@media (max-width:768px){
  html.sbg .sbc-container{padding:0 16px}
  html.sbg .sbc-coin-header{--sbc-tabs:52px;--sbc-tabs-gap:14px;padding:20px 18px 0}
  html.sbg .sbc-coin-header::before{border-radius:24px}
  html.sbg .sbc-coin-identity{margin-bottom:16px}
  html.sbg .sbc-price-meta{gap:12px 22px;margin-top:14px;padding-bottom:22px}
  html.sbg .sbc-tabs{max-width:calc(100% + 36px);margin-left:-18px;margin-right:-18px}
  html.sbg .sbc-tab{height:40px;padding:0 14px}
  html.sbg .sbc-grid{gap:16px;padding:14px 0 16px}
  html.sbg .sbc-chart-toolbar{flex-direction:column;align-items:stretch;gap:10px;margin-bottom:14px}
  html.sbg .sbc-chart-timeframes{display:flex;width:auto;overflow:visible}
  html.sbg .sbc-chart-tf{flex:1 1 0;height:40px;padding:0 4px}
  html.sbg .sbc-chart-type-btns{align-self:flex-start;width:auto}
  html.sbg .sbc-chart-type-btn{width:44px;height:40px;padding:0}
  html.sbg .sbc-chart-stats-big{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-top:14px}
  html.sbg .sbc-chart-stat-big{padding:10px 8px}
  html.sbg .sbc-bstat{flex:1 1 30%}
  html.sbg .sbc-link-pill{height:44px}
  html.sbg .sbc-news-grid{gap:16px}
  html.sbg .sbc-related-grid{gap:12px}
  html.sbg .sbc-related-section{padding-top:34px}
}
@media (max-width:480px){
  html.sbg .sbc-container{padding:0 12px}
  html.sbg .sbc-coin-identity{gap:12px}
  html.sbg .sbc-coin-logo{width:38px;height:38px;margin:7px}
  html.sbg .sbc-chart-wrap{padding:16px}
  html.sbg .sbc-bstat{flex:1 1 40%}
  html.sbg .sbc-info-item:nth-child(odd){border-right:0}
  html.sbg .sbc-info-grid:last-child .sbc-info-item:nth-last-child(2):nth-child(odd){border-bottom:1px solid var(--g-line)}
  html.sbg .sbc-accordion-trigger{min-height:58px;padding:10px 16px 10px 18px}
  html.sbg .sbc-accordion-content-inner{padding:2px 18px 20px}
  html.sbg .sbc-related-card{padding:16px 8px 14px}
}
/* <<< coin page */

/* >>> pop-up, listen player, hot bar */
/* app pop-up (plugin sb-popup): the same picture in the same place — the page behind it goes soft and out of focus,
   the picture gets the round corners and hairline of the app's cards, the close button is a glass control, and the
   whole thing springs open. The plugin marks its rules !important, so these are too. */
html.sbg #sbp .sbp-backdrop{background:rgba(10,18,30,.40)!important;-webkit-backdrop-filter:blur(16px) saturate(140%);backdrop-filter:blur(16px) saturate(140%);transition:opacity .35s ease}
html.sbg-dark #sbp .sbp-backdrop{background:rgba(0,0,0,.56)!important}
html.sbg #sbp .sbp-card{border-radius:32px!important;background:#070b11!important;box-shadow:0 44px 90px -28px rgba(4,10,20,.78),0 14px 30px -14px rgba(4,10,20,.50)!important;transform:translate(-50%,-47%) scale(.9);transition:opacity .28s ease,transform .7s var(--g-spr2)}
html.sbg #sbp.sbp-open .sbp-card{transform:translate(-50%,-50%) scale(1)}
html.sbg #sbp .sbp-card::after{content:"";position:absolute;inset:0;z-index:1;border-radius:inherit;pointer-events:none;box-shadow:inset 0 0 0 1px rgba(255,255,255,.16),inset 0 1px 0 rgba(255,255,255,.30)}
html.sbg #sbp .sbp-link{transition:filter .25s ease}
html.sbg #sbp .sbp-link:active{filter:brightness(1.07)}
html.sbg #sbp .sbp-close,html.sbg #sbp .sbp-close:hover,html.sbg #sbp .sbp-close:focus{top:14px!important;right:14px!important;width:38px!important;height:38px!important;border:1px solid rgba(255,255,255,.34)!important;background:rgba(18,26,38,.46)!important;-webkit-backdrop-filter:blur(16px) saturate(180%);backdrop-filter:blur(16px) saturate(180%);box-shadow:inset 0 1px 0 rgba(255,255,255,.30),0 8px 18px -8px rgba(0,0,0,.70)!important;color:#fff!important}
html.sbg #sbp .sbp-close:hover,html.sbg #sbp .sbp-close:focus{background:rgba(18,26,38,.66)!important}
html.sbg #sbp .sbp-close:focus-visible{box-shadow:0 0 0 2px rgba(255,255,255,.9)!important}
@media (max-width:767px){
  html.sbg #sbp .sbp-card{border-radius:28px!important;transform:translate(-50%,-47%) scale(.9)}
  html.sbg #sbp.sbp-open .sbp-card{transform:translate(-50%,-50%) scale(1)}
}
@media (prefers-reduced-motion:reduce){
  html.sbg #sbp .sbp-card,html.sbg #sbp.sbp-open .sbp-card{transform:translate(-50%,-50%);transition:none}
}

/* listen player (the theme's own block under the share bar): the same parts in the same order — play, status and
   time over the track, speed, close — as a second capsule of the share bar's glass, with round controls. It used to
   stay light grey in dark mode; now it follows light and dark. The outer box clips while it slides open, so it is
   given room on every side for the capsule's shadow. */
html.sbg .sb-tts-player{margin:0 -20px;padding:0 20px}
html.sbg .sb-tts-player.open{max-height:112px;margin:-10px -20px 0}
html.sbg .sb-tts-player-inner{gap:12px;margin:2px 0 24px;padding:9px 12px 9px 9px;border-radius:999px;border:1px solid var(--g-chrome-line);background:var(--g-chrome-bg);box-shadow:var(--g-chrome-shadow)}
html.sbg .sb-tts-play{width:42px;height:42px;border:1px solid rgba(255,255,255,.55);background:linear-gradient(180deg,#7fdcee,#4ac5db);box-shadow:inset 0 1px 0 rgba(255,255,255,.65),0 12px 22px -12px rgba(74,197,219,.95);color:#04232a}
html.sbg .sb-tts-play:hover{transform:none;box-shadow:inset 0 1px 0 rgba(255,255,255,.65),0 12px 22px -12px rgba(74,197,219,.95);filter:brightness(1.05)}
html.sbg .sb-tts-play svg{width:17px;height:17px}
html.sbg .sb-tts-mid{gap:7px}
html.sbg .sb-tts-status{gap:6px;color:var(--g-link)}
html.sbg .sb-tts-dot{width:6px;height:6px;background:currentColor}
html.sbg .sb-tts-time{color:var(--g-ink3)}
html.sbg .sb-tts-track,html.sbg .sb-tts-track:hover{height:6px;border-radius:999px;background:rgba(15,23,42,.12);box-shadow:inset 0 1px 1px rgba(15,23,42,.10)}
html.sbg-dark .sb-tts-track,html.sbg-dark .sb-tts-track:hover{background:rgba(255,255,255,.16);box-shadow:none}
html.sbg .sb-tts-fill{border-radius:999px;background:linear-gradient(90deg,#4ac5db,#7fdcee)}
html.sbg .sb-tts-fill::after{right:-7px;width:14px;height:14px;background:linear-gradient(180deg,#fff,#eef3f7);box-shadow:0 0 0 1px rgba(15,23,42,.08),0 2px 6px rgba(4,35,42,.40);transition:transform .35s var(--g-spr)}
html.sbg .sb-tts-spd{min-width:50px;height:32px;padding:0 10px;border-radius:999px;border:1px solid var(--g-ctl-line);background:var(--g-ctl-bg);box-shadow:var(--g-ctl-shadow);color:var(--g-ink2);font-size:12.5px;font-weight:700}
html.sbg .sb-tts-spd:hover{border-color:var(--g-ctl-line);color:var(--g-link)}
html.sbg .sb-tts-close{width:32px;height:32px;border-radius:50%;border:1px solid var(--g-ctl-line);background:var(--g-ctl-bg);box-shadow:var(--g-ctl-shadow);color:var(--g-ink3);font-size:19px}
html.sbg .sb-tts-close:hover{background:var(--g-ctl-bg);color:var(--g-ink)}
html.sbg .siam-social-bar .sb-tts-btn.active{border-color:rgba(255,255,255,.55);background:linear-gradient(180deg,#7fdcee,#4ac5db);box-shadow:inset 0 1px 0 rgba(255,255,255,.65),0 12px 22px -12px rgba(74,197,219,.95);color:#04232a}
@media (max-width:600px){
  html.sbg .sb-tts-player{margin:0 -12px;padding:0 12px}
  html.sbg .sb-tts-player.open{margin:-10px -12px 0}
  html.sbg .sb-tts-player-inner{gap:10px;padding:8px 10px 8px 8px}
  html.sbg .sb-tts-play{width:40px;height:40px}
}

/* hot-news bar (the theme's own, shown while a live thread runs): the same words running the same way and the same
   close button — as a capsule of glass floating at the bottom with a red LIVE badge, not a red wall across the
   screen. It stands above the footer ad (--sbg-foot is that ad's height, set by glass.js) and no longer covers it. */
html.sbg .sb-hot-bar{left:50%;right:auto;bottom:calc(14px + var(--sbg-foot,0px));width:min(760px,calc(100vw - 24px));border-radius:999px;border:1px solid var(--g-chrome-line);background:var(--g-chrome-bg);-webkit-backdrop-filter:var(--g-blur);backdrop-filter:var(--g-blur);box-shadow:var(--g-chrome-shadow);color:var(--g-ink);transform:translate(-50%,calc(100% + 40px + var(--sbg-foot,0px)));transition:transform .7s var(--g-spr2)}
html.sbg .sb-hot-bar.sb-hot-active{transform:translate(-50%,0)}
html.sbg .sb-hot-bar-inner{height:48px;gap:10px;padding:0 8px}
html.sbg .sb-hot-bar-badge{height:32px;gap:7px;padding:0 13px 0 11px;border-radius:999px;border:1px solid rgba(255,255,255,.38);background:linear-gradient(180deg,#ff6259,#df3229);box-shadow:inset 0 1px 0 rgba(255,255,255,.42),0 10px 18px -10px rgba(223,50,41,.95);color:#fff;font-size:12.5px;letter-spacing:.6px}
html.sbg .sb-hot-bar-dot{width:7px;height:7px}
html.sbg .sb-hot-bar-marquee{-webkit-mask-image:linear-gradient(90deg,transparent,#000 22px,#000 calc(100% - 22px),transparent);mask-image:linear-gradient(90deg,transparent,#000 22px,#000 calc(100% - 22px),transparent)}
html.sbg .sb-hot-bar-text{color:var(--g-ink)}
html.sbg .sb-hot-bar-close{display:flex;align-items:center;justify-content:center;width:32px;height:32px;padding:0;border-radius:50%;border:1px solid var(--g-ctl-line);background:var(--g-ctl-bg);box-shadow:var(--g-ctl-shadow);color:var(--g-ink3);font-size:19px;line-height:1}
html.sbg .sb-hot-bar-close:hover{color:var(--g-ink)}
@media (max-width:600px){
  html.sbg .sb-hot-bar{bottom:calc(10px + var(--sbg-foot,0px));width:calc(100vw - 20px)}
  html.sbg .sb-hot-bar-inner{height:46px;gap:8px;padding:0 7px}
  html.sbg .sb-hot-bar-badge{padding:0 11px 0 10px;font-size:11.5px}
}
/* the back-to-top button also stands above the footer ad where the two would meet (narrow screens), and above the
   hot-news bar while that is up */
@media (max-width:940px){
  html.sbg body #move-to-top{bottom:calc(18px + var(--sbg-foot,0px))}
  html.sbg body:has(.sb-hot-bar.sb-hot-active) #move-to-top{bottom:calc(70px + var(--sbg-foot,0px))}
}

/* น้องบล็อก chat (plugin sb-smart-box): it keeps the app's own dark look in light and dark, as the plugin intends;
   here only its corners and edges are brought in line with the box it sits in. */
html.sbg .sbsb .sbsb-panel{border-radius:20px;border-color:rgba(127,220,238,.30);box-shadow:inset 0 1px 0 rgba(255,255,255,.08),0 18px 36px -20px rgba(4,10,20,.55)}
html.sbg .sbsb .sbsb-send:not(:disabled){background:linear-gradient(180deg,#7fdcee,#4ac5db);box-shadow:inset 0 1px 0 rgba(255,255,255,.55)}
/* <<< pop-up, listen player, hot bar */

/* >>> ad boxes */
/* ad boxes (parts/ads.php): each box and its size come from the page itself; here is only the look — a quiet
   label, a soft plate that holds the room while the ad loads, and the stand-in shown when Google has no ad for a
   box (our app, as Google's own help suggests). Nothing here clips, covers or hides an ad that is showing. */
html.sbg .sbg-ad-tag{font-family:"Sukhumvit Set",Tahoma,sans-serif;letter-spacing:0;color:var(--g-ad-ink)}
html.sbg .sbg-ad-in{border-radius:16px;background:var(--g-ad-bg)}
html.sbg .sbg-ad-in > ins.sbg-ad[data-ad-status="unfilled"]{display:none!important}
html.sbg .sbg-ad-in > ins.sbg-ad[data-ad-status="unfilled"] ~ .sbg-ad-house{display:flex}
html.sbg .thecontent a.sbg-ad-house,html.sbg .thecontent a.sbg-ad-house:hover{position:absolute;inset:0;z-index:1;box-sizing:border-box;flex-direction:column;align-items:flex-start;justify-content:center;padding:20px 22px;border:0;border-radius:16px;overflow:hidden;text-align:left;text-decoration:none;color:#f5f8fc;font-family:"Sukhumvit Set",Tahoma,sans-serif;
  background:radial-gradient(90% 70% at 106% -10%,rgba(42,172,206,.52),transparent 70%),radial-gradient(70% 60% at -16% 30%,rgba(64,96,226,.36),transparent 70%),radial-gradient(80% 60% at 110% 112%,rgba(126,76,226,.32),transparent 70%),#04060c;
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.14),inset 0 1px 0 rgba(255,255,255,.24)}
html.sbg .sbg-ah-brand{display:flex;align-items:center;gap:9px;font-size:14px;font-weight:700;line-height:1;color:#fff}
html.sbg .sbg-ah-brand i{flex:0 0 auto;width:30px;height:30px;border-radius:8px;background:url(../img/app/icon.webp) center/cover no-repeat;box-shadow:0 0 0 1px rgba(255,255,255,.16)}
html.sbg .sbg-ah-head{display:block;margin:12px 0 0;padding:.08em 0;font-size:29px;line-height:1.25;font-weight:700;white-space:nowrap;background:linear-gradient(92deg,#fff 20%,#9eeaf2 60%,#6c9dff 100%);-webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent;color:transparent}
html.sbg .sbg-ah-sub{display:block;margin:4px 0 0;font-size:14.5px;line-height:1.5;color:rgba(232,240,255,.82)}
html.sbg .sbg-ah-sub span{white-space:nowrap}
html.sbg .sbg-ah-go{display:inline-flex;align-items:center;height:38px;margin:15px 0 0;padding:0 20px;border-radius:999px;border:1px solid rgba(255,255,255,.55);background:linear-gradient(180deg,#7fdcee,#4ac5db);box-shadow:inset 0 1px 0 rgba(255,255,255,.65),0 12px 22px -12px rgba(74,197,219,.95);font-size:14.5px;font-weight:700;line-height:1;color:#04232a}
html.sbg .sbg-ah-phone{display:none}
@media (max-width:339px){
  html.sbg .thecontent a.sbg-ad-house,html.sbg .thecontent a.sbg-ad-house:hover{padding:16px 18px}
  html.sbg .sbg-ah-head{font-size:25px}
  html.sbg .sbg-ah-sub{font-size:13.5px}
}
@media (min-width:410px){
  html.sbg .thecontent a.sbg-ad-house,html.sbg .thecontent a.sbg-ad-house:hover{padding:24px 26px}
  html.sbg .sbg-ah-head{font-size:33px}
  html.sbg .sbg-ah-sub{font-size:15.5px}
}
/* the wide box: words on the left, the app's home screen standing on the right */
@media (min-width:1200px){
  html.sbg .thecontent a.sbg-ad-house,html.sbg .thecontent a.sbg-ad-house:hover{padding:0 300px 0 44px}
  html.sbg .sbg-ah-brand{font-size:16px}
  html.sbg .sbg-ah-brand i{width:36px;height:36px;border-radius:9px}
  html.sbg .sbg-ah-head{margin-top:14px;font-size:46px}
  html.sbg .sbg-ah-sub{font-size:17px}
  html.sbg .sbg-ah-go{height:42px;margin-top:18px;padding:0 24px;font-size:15.5px}
  html.sbg .sbg-ah-phone{display:block;position:absolute;right:64px;top:30px;width:196px;height:426px;border-radius:34px;border:6px solid #12161d;background:#000 url(../img/app/scr-homebtc.webp) top center/cover no-repeat;box-shadow:0 0 0 1px rgba(255,255,255,.22),0 30px 60px -22px rgba(0,0,0,.9),0 0 80px -10px rgba(74,197,219,.45)}
}
/* <<< ad boxes */

@media (max-width:1024px){
  html.sbg .single-content-wrapper{gap:20px}
  html.sbg .single-content-wrapper > .article{padding:22px 22px 24px}
}
@media (max-width:768px){
  html.sbg .single-content-wrapper{flex-direction:column;align-items:stretch;gap:18px;margin-top:14px;padding:0}
  html.sbg .single-content-wrapper > .article{padding:20px 18px 22px;border-radius:24px}
  html.sbg .single-content-wrapper > #sidebar{flex:0 0 auto;width:auto;max-width:none;padding:20px;border-radius:24px;overflow:visible}
  html.sbg .siam-social-bar{flex-wrap:wrap;gap:8px!important;padding:9px 10px!important;border-radius:26px!important}
  html.sbg .article .postauthor-inner{padding:20px}
  html.sbg .thecontent details.wp-block-details.is-layout-flow ul{padding-left:32px!important;padding-right:14px!important}
  html.sbg .thecontent details.wp-block-details.is-layout-flow > p.sbg-impact{margin-left:14px!important;margin-right:14px!important}
  html.sbg .thecontent details.wp-block-details.is-layout-flow > p.sbg-impact-note{margin-left:14px!important;margin-right:14px!important}
  html.sbg .thecontent details.sbsb-attached + .sbsb{padding:0 14px 16px}
}

/* ---------- 6c. search, the Mac way ---------- */
/* One glass panel: the field on top, answers in groups, the chosen row lit. Three uses of the same panel:
   .sbg-spot-over  poured out of the menu's round search button (desktop)
   .sbg-spot-sheet drops out of the menu capsule under its own search field (phone)
   .sbg-spot-inline printed in the page (the "page not found" page) */
html.sbg .ajax-search-results-container{display:none!important}
html.sbg .sbg-spot{position:relative;box-sizing:border-box;padding:10px;border-radius:30px;border:1px solid var(--g-pop-line);background:var(--g-pop-bg);box-shadow:var(--g-pop-shadow);-webkit-backdrop-filter:var(--g-blur-pop);backdrop-filter:var(--g-blur-pop);color:var(--g-pop-ink);font-family:"Sukhumvit Set",Tahoma,sans-serif;font-size:16px;font-weight:400;line-height:1.4;text-align:left;text-transform:none}
html.sbg .sbg-spot-over{position:absolute;z-index:8;opacity:0;visibility:hidden;pointer-events:none;transform:scale(.08,.12);transition:transform .24s cubic-bezier(.5,0,.85,.45),opacity .18s ease .05s,visibility 0s .24s}
html.sbg .sbg-spot-over.is-open{opacity:1;visibility:visible;pointer-events:auto;transform:none;transition:transform .62s var(--g-spr2),opacity .16s ease,visibility 0s}
html.sbg .sbg-spot-sheet{display:none}
html.sbg .sbg-spot .sbg-spot-top{position:static;float:none;display:flex;align-items:center;gap:12px;width:auto;max-width:none;height:56px;margin:0;padding:0 6px 0 14px;border:0;background:none}
html.sbg .sbg-spot-mag{position:relative;flex:0 0 auto;display:flex;color:var(--g-ink3)}
html.sbg .sbg-spot-mag svg{display:block;transition:opacity .15s ease}
html.sbg .sbg-spot.is-busy .sbg-spot-mag svg{opacity:0}
html.sbg .sbg-spot.is-busy .sbg-spot-mag::after{content:"";position:absolute;inset:2px;box-sizing:border-box;border-radius:50%;border:2.4px solid rgba(74,197,219,.28);border-top-color:var(--g-teal);animation:sbg-spin .7s linear infinite}
html.sbg .sbg-spot .sbg-spot-in{flex:1 1 auto;float:none;min-width:0;width:auto;height:56px;margin:0;padding:0;border:0;border-radius:0;outline:0;background:transparent;box-shadow:none;color:inherit;font-family:inherit;font-size:22px;font-weight:500;line-height:1.2;text-indent:0;-webkit-appearance:none;appearance:none}
html.sbg .sbg-spot .sbg-spot-in::placeholder{color:var(--g-ink3);opacity:1}
html.sbg .sbg-spot .sbg-spot-in::-webkit-search-cancel-button{-webkit-appearance:none;display:none}
html.sbg .sbg-spot .sbg-spot-in:focus,html.sbg .sbg-spot .sbg-spot-in:focus-visible{outline:0;box-shadow:none}
html.sbg .sbg-spot-fs{flex:0 0 auto;display:flex;gap:8px}
html.sbg .sbg-spot-f{display:inline-flex;align-items:center;justify-content:center;width:40px;height:40px;margin:0;padding:0;border-radius:50%;border:1px solid var(--g-ctl-line);background:var(--g-ctl-bg);box-shadow:var(--g-ctl-shadow);color:var(--g-link);cursor:pointer;-webkit-appearance:none;appearance:none}
html.sbg .sbg-spot-f svg{display:block}
html.sbg .sbg-spot-f[aria-pressed="true"]{border-color:rgba(255,255,255,.55);background:linear-gradient(180deg,#7fdcee,#4ac5db);box-shadow:inset 0 1px 0 rgba(255,255,255,.65),0 12px 22px -12px rgba(74,197,219,.95);color:var(--g-on-teal)}
/* the answers grow out of the field */
html.sbg .sbg-spot-res{display:grid;grid-template-rows:0fr;transition:grid-template-rows .45s cubic-bezier(.2,.8,.2,1)}
html.sbg .sbg-spot-res.has{grid-template-rows:1fr}
html.sbg .sbg-spot-res > div{min-height:0;overflow:hidden}
html.sbg .sbg-spot-over .sbg-spot-res > div,html.sbg .sbg-spot-sheet .sbg-spot-res > div{position:relative;max-height:min(62vh,540px);overflow-y:auto;overscroll-behavior:contain}
html.sbg .sbg-spot-h{padding:12px 14px 6px;font-size:13px;font-weight:700;line-height:1.4;color:var(--g-ink3)}
html.sbg .sbg-spot a.sbg-spot-row{display:flex;align-items:center;gap:12px;height:52px;box-sizing:border-box;margin:0;padding:0 12px;border-radius:14px;color:inherit;text-decoration:none}
html.sbg .sbg-spot a.sbg-spot-row.is-sel{background:linear-gradient(180deg,#7fdcee,#4ac5db);box-shadow:inset 0 1px 0 rgba(255,255,255,.65),0 12px 22px -12px rgba(74,197,219,.95);color:var(--g-on-teal)}
html.sbg .sbg-spot-row img,html.sbg .sbg-spot-ico{flex:0 0 36px;width:36px;height:36px;margin:0;border-radius:10px;object-fit:cover}
html.sbg .sbg-spot-row img.sbg-spot-coin{border-radius:50%;background:#fff}
html.sbg .sbg-spot-ico{display:flex;align-items:center;justify-content:center;background:rgba(74,197,219,.22);color:var(--g-link)}
html.sbg .sbg-spot-row.is-sel .sbg-spot-ico{background:rgba(255,255,255,.45);color:var(--g-on-teal)}
html.sbg .sbg-spot-t{flex:1 1 auto;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:16px;font-weight:600}
html.sbg .sbg-spot-k{flex:0 0 auto;font-size:13px;white-space:nowrap;color:var(--g-ink3)}
html.sbg .sbg-spot-price{display:inline-flex;align-items:center;gap:10px;font-family:"JetBrains Mono",ui-monospace,SFMono-Regular,Menlo,monospace;font-weight:600}
html.sbg .sbg-spot-price b{font-weight:600;color:var(--g-ink)}
html.sbg .sbg-spot-price i{font-style:normal}
html.sbg .sbg-spot-price i.dn{color:var(--g-down)}
html.sbg .sbg-spot-price i.up{color:var(--g-up)}
html.sbg .sbg-spot-row.is-sel .sbg-spot-k,html.sbg .sbg-spot-row.is-sel .sbg-spot-price b,html.sbg .sbg-spot-row.is-sel .sbg-spot-price i{color:rgba(4,35,42,.82)}
html.sbg .sbg-spot-none{padding:16px 14px 10px;font-size:15px;color:var(--g-ink2)}
html.sbg .sbg-spot-foot{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:8px 12px;margin-top:6px;padding:10px 14px 6px;border-top:1px solid var(--g-line);font-size:13px;color:var(--g-ink3)}
html.sbg .sbg-spot-foot a{font-weight:700;color:var(--g-link);text-decoration:none}
html.sbg .sbg-spot-foot a:hover{color:var(--g-link-h)}
html.sbg .sbg-spot kbd{display:inline-flex;align-items:center;justify-content:center;min-width:22px;height:22px;box-sizing:border-box;margin:0 2px;padding:0 6px;border-radius:7px;border:1px solid var(--g-field-line);background:var(--g-field-bg);box-shadow:none;color:var(--g-ink2);font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:12px;line-height:1}
/* in the page: the field swells a little when it is in use, and the answers push the page down */
html.sbg .sbg-spot-inline{width:100%;max-width:640px;margin:0 auto;transition:transform .6s var(--g-spr),box-shadow .3s ease}
html.sbg .sbg-spot-inline:focus-within{transform:scale(1.015);box-shadow:var(--g-pop-shadow),0 0 0 4px rgba(74,197,219,.30)}
html.sbg.sbg-calm .sbg-spot-inline:focus-within{transform:none}
html.sbg.sbg-calm .sbg-spot-over,html.sbg.sbg-calm .sbg-spot-over.is-open,html.sbg.sbg-calm .sbg-spot-res{transition:opacity .16s ease,visibility 0s}
html.sbg.sbg-calm .sbg-spot-over{transform:none}

/* ---------- 6d. page not found ---------- */
/* in preview mode the page carries the old and the new version; this sheet picks the new one */
html.sbg .sbg-old{display:none!important}
html.sbg .sbg-new{display:block!important}
/* no pane here: words on the page, and one piece of glass, the search field */
html.sbg .sbg-404{box-sizing:border-box;max-width:760px;margin:0 auto;padding:34px 0 52px;text-align:center}
html.sbg .sbg-404-code{display:flex;justify-content:center;gap:.04em;margin:0 0 6px;font-family:"Sukhumvit Set",Tahoma,sans-serif;font-size:168px;font-weight:700;line-height:1;letter-spacing:-.02em;color:var(--g-teal)}
html.sbg .sbg-404-code span{display:block;background:linear-gradient(180deg,#8fe6f5 8%,#4ac5db 46%,rgba(74,197,219,.30) 96%);-webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent;color:transparent;animation:sbg-rise .7s var(--g-spr2) both}
html.sbg .sbg-404-code span:nth-child(2){animation-delay:.07s}
html.sbg .sbg-404-code span:nth-child(3){animation-delay:.14s}
html.sbg.sbg-calm .sbg-404-code span{animation:none}
html.sbg .sbg-404-title{margin:0 0 10px;padding:0;font-family:"Sukhumvit Set",Tahoma,sans-serif;font-size:30px;font-weight:700;line-height:1.3;color:var(--g-ink)}
html.sbg .sbg-404-text{margin:0 0 28px;font-family:Tahoma,sans-serif;font-size:18px;font-weight:400;line-height:30.6px;color:var(--g-ink2)}
html.sbg .sbg-404-links{display:flex;flex-wrap:wrap;justify-content:center;gap:10px;margin:26px 0 0}
html.sbg .sbg-404-links a.sbg-btn{display:inline-flex;align-items:center;height:42px;box-sizing:border-box;padding:0 18px;border-radius:999px;border:1px solid var(--g-chrome-line);background:var(--g-chrome-bg);box-shadow:var(--g-chrome-shadow);-webkit-backdrop-filter:var(--g-blur);backdrop-filter:var(--g-blur);color:var(--g-ink);font-family:"Sukhumvit Set",Tahoma,sans-serif;font-size:15px;font-weight:700;line-height:1;text-decoration:none;white-space:nowrap}
html.sbg .sbg-404-links a.sbg-btn:hover{color:var(--g-link)}
html.sbg .sbg-404-h{position:relative;clear:both;margin:0 0 30px;padding:0;font-family:"Sukhumvit Set",Tahoma,sans-serif;font-size:22px;font-weight:700;line-height:1.3;color:var(--g-ink)}
html.sbg .sbg-404-h::before{content:"";position:absolute;left:0;bottom:-11px;width:44px;height:3px;border-radius:3px;background:var(--g-teal)}

/* ---------- 6e. author page, search forms in the page ---------- */
/* author page: the old white strip goes; the box inside becomes one pane */
html.sbg #page > .article > #content_box > .postauthor{margin:0 0 30px;padding:0;border:0;background:none;box-shadow:none}
html.sbg #page > .article > #content_box > .postauthor > .postauthor-inner{position:relative;border:1px solid var(--g-panel-line);border-radius:26px;background:var(--g-panel-bg);box-shadow:var(--g-panel-shadow)}
html.sbg #page > .article > #content_box > h1{color:var(--g-ink);border-bottom-color:var(--g-line)}
html.sbg #page #searchform{float:none;max-width:420px}
html.sbg #page #searchform #s{height:46px;box-sizing:border-box;padding:0 46px 0 18px;border:1px solid var(--g-field-line);border-radius:999px;background:var(--g-field-bg);color:var(--g-ink);font-size:16px}
html.sbg #page #searchform #s::placeholder{color:var(--g-ink3);opacity:1}
html.sbg #page #searchform #s:focus{outline:0;border-color:var(--g-teal);box-shadow:0 0 0 3px rgba(74,197,219,.28)}
html.sbg #page #searchform #search-image{top:3px;right:3px;width:40px;height:40px;border:0;border-radius:50%;background:none;color:var(--g-ink2)}
html.sbg #page #content_box > header .title h1{color:var(--g-ink)}

@media screen and (max-width:768px){
  html.sbg .sbg-spot-over{display:none}
  html.sbg .sbg-spot-sheet{display:block;position:absolute;left:0;right:0;top:calc(100% + 8px);z-index:7;padding:8px;border-radius:26px;opacity:0;visibility:hidden;pointer-events:none;transform:scale(.5,.1);transform-origin:50% -36px;transition:transform .22s cubic-bezier(.5,0,.85,.45),opacity .18s ease .04s,visibility 0s .22s}
  html.sbg .sbg-spot-sheet.is-open{opacity:1;visibility:visible;pointer-events:auto;transform:none;transition:transform .62s var(--g-spr2),opacity .16s ease,visibility 0s}
  html.sbg .sbg-spot-sheet .sbg-spot-res > div{max-height:min(60vh,60dvh,460px)}
  html.sbg .sbg-spot-keys{display:none}
  html.sbg .sbg-spot-foot{justify-content:center}
  html.sbg .sbg-spot-inline .sbg-spot-fs{display:none}
  html.sbg .sbg-spot-inline{border-radius:26px;padding:6px}
  html.sbg .sbg-spot-inline .sbg-spot-top{height:50px;padding:0 10px 0 12px}
  html.sbg .sbg-spot .sbg-spot-in{font-size:18px}
  html.sbg .sbg-spot-inline .sbg-spot-in{height:50px}
  html.sbg .sbg-404{padding:14px 0 40px}
  html.sbg .sbg-404-code{font-size:112px}
  html.sbg .sbg-404-title{font-size:26px}
  html.sbg .sbg-404-text{margin-bottom:22px}
  html.sbg .sbg-404-links{gap:8px;margin-top:20px}
  html.sbg .sbg-404-links a.sbg-btn{height:40px;padding:0 15px}
  html.sbg #page > .article > #content_box > .postauthor > .postauthor-inner{padding:20px;border-radius:24px}
}

/* ---------- 7b. tablets and phones ---------- */
@media screen and (max-width:1024px){
  html.sbg .blog-section-grid-posts{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media screen and (max-width:865px){
  /* header: logo and social buttons, centred */
  html.sbg #header .container{flex-direction:column;align-items:center;justify-content:center;gap:12px;min-height:0;width:auto;max-width:none;margin:0;padding:16px}
  html.sbg #logo img{height:54px}
  html.sbg .mts-header-button-social{width:auto;margin:0}
  html.sbg .header-social{justify-content:center;width:auto}
  html.sbg .header-social a{width:44px;height:44px;border-radius:14px;font-size:19px}

  /* the capsule: menu button, search field, light/dark button */
  html.sbg .main-menu{top:8px;width:auto;box-sizing:border-box;padding:10px 12px 0}
  html.sbg .main-menu > .container{gap:8px;width:auto;max-width:none;min-height:0;margin:0;padding:6px;border-radius:999px}
  html.sbg #secondary-navigation{position:static!important;flex:0 0 auto;width:auto}
  html.sbg #pull{display:inline-flex;align-items:center;gap:8px;height:44px;box-sizing:border-box;padding:0 16px;border-radius:999px;border:1px solid var(--g-nav-ctl-line);background:var(--g-nav-ctl);color:var(--g-nav-ink);font-size:17px!important;line-height:1;text-transform:none;text-decoration:none}
  html.sbg #pull::before{content:none}
  html.sbg #pull .sbg-ic{position:relative;display:block;width:20px;height:20px}
  html.sbg #pull .sbg-ic span{position:absolute;inset:0;display:flex;transition:transform .5s var(--g-spr),opacity .25s ease}
  html.sbg #pull .sbg-ic .x{opacity:0;transform:rotate(-90deg) scale(.5)}
  html.sbg.sbg-menu-open #pull .sbg-ic .m{opacity:0;transform:rotate(90deg) scale(.5)}
  html.sbg.sbg-menu-open #pull .sbg-ic .x{opacity:1;transform:none}
  html.sbg.sbg-menu-open #pull{background:#fff;border-color:#fff}
  html.sbg-dark.sbg-menu-open #pull{background:var(--g-teal);border-color:var(--g-teal-hi);color:var(--g-on-teal)}
  html.sbg #site-header .main-menu .header-search{flex:1 1 auto;min-width:0;width:auto;margin:0}
  html.sbg #site-header .main-menu #searchform{position:relative;flex:1 1 auto;min-width:0}
  html.sbg #site-header .main-menu #searchform fieldset{display:block}
  html.sbg #site-header .main-menu #s{display:block;float:none;width:100%;height:44px;box-sizing:border-box;margin:0;padding:0 14px 0 42px;border-radius:999px;border:1px solid var(--g-nav-ctl-line);background:var(--g-nav-field);color:var(--g-nav-ink);font-size:16px;line-height:1.2;box-shadow:none;transition:box-shadow .3s ease,background-color .3s ease;-webkit-appearance:none;appearance:none}
  html.sbg #site-header .main-menu #s::placeholder{color:var(--g-nav-holder);opacity:1}
  html.sbg #site-header .main-menu #s:focus{outline:0;background:rgba(255,255,255,.86);box-shadow:0 0 0 3px rgba(255,255,255,.6),0 10px 20px -12px rgba(4,35,42,.5)}
  html.sbg-dark #site-header .main-menu #s:focus{background:rgba(255,255,255,.18);box-shadow:0 0 0 3px rgba(127,220,238,.4),0 10px 20px -12px rgba(0,0,0,.8)}
  html.sbg #site-header .main-menu #search-image{position:absolute;left:2px;top:2px;width:40px;height:40px;border:0;background:none}
  /* light/dark: one round button that shows the look you can change to */
  html.sbg .sbg-switch{padding:0;border:0;background:none}
  html.sbg .sbg-switch::before{display:none}
  html.sbg .sbg-switch button{width:44px;height:44px;border-radius:50%;border:1px solid var(--g-nav-ctl-line);background:var(--g-nav-ctl);color:var(--g-nav-ink)}
  html.sbg .sbg-switch button[aria-pressed="true"]{display:none}

  /* the menu itself: a sheet of glass that drops out of the capsule */
  html.sbg #secondary-navigation .navigation:not(.mobile-menu-wrapper){display:none}
  html.sbg #secondary-navigation .navigation.mobile-menu-wrapper{display:block;position:absolute;left:0;right:0;top:calc(100% + 8px);z-index:6;width:auto;height:auto;max-height:calc(100vh - 150px);max-height:calc(100dvh - 150px);overflow:auto;box-sizing:border-box;padding:8px;border-radius:30px;border:1px solid var(--g-pop-line);background:var(--g-pop-bg);box-shadow:var(--g-pop-shadow);-webkit-backdrop-filter:var(--g-blur-pop);backdrop-filter:var(--g-blur-pop);color:var(--g-pop-ink);visibility:hidden;opacity:0;pointer-events:none;transform:scale(.3,.08);transform-origin:56px -36px;transition:transform .26s cubic-bezier(.4,0,.7,.2),opacity .2s ease .04s,visibility 0s linear .3s}
  html.sbg.sbg-menu-open #secondary-navigation .navigation.mobile-menu-wrapper{visibility:visible;opacity:1;pointer-events:auto;transform:none;transition:transform .62s var(--g-spr),opacity .16s ease,visibility 0s}
  html.sbg #secondary-navigation .navigation.mobile-menu-wrapper .menu{display:block!important;position:static;margin:0;padding:0}
  html.sbg #secondary-navigation .navigation.mobile-menu-wrapper .menu li{position:relative;float:none;display:block;width:auto!important;margin:0;padding:0;border:0;background:none;opacity:1;transform:none}
  html.sbg #secondary-navigation .navigation.mobile-menu-wrapper .menu > li{opacity:0;transform:translateY(-8px) scale(.96);transition:opacity .12s ease,transform .2s ease}
  html.sbg.sbg-menu-open #secondary-navigation .navigation.mobile-menu-wrapper .menu > li{opacity:1;transform:none;transition:opacity .3s ease,transform .55s var(--g-spr)}
  html.sbg.sbg-menu-open #secondary-navigation .navigation.mobile-menu-wrapper .menu > li:nth-child(1){transition-delay:.05s}
  html.sbg.sbg-menu-open #secondary-navigation .navigation.mobile-menu-wrapper .menu > li:nth-child(2){transition-delay:.08s}
  html.sbg.sbg-menu-open #secondary-navigation .navigation.mobile-menu-wrapper .menu > li:nth-child(3){transition-delay:.11s}
  html.sbg.sbg-menu-open #secondary-navigation .navigation.mobile-menu-wrapper .menu > li:nth-child(4){transition-delay:.14s}
  html.sbg.sbg-menu-open #secondary-navigation .navigation.mobile-menu-wrapper .menu > li:nth-child(5){transition-delay:.17s}
  html.sbg.sbg-menu-open #secondary-navigation .navigation.mobile-menu-wrapper .menu > li:nth-child(n+6){transition-delay:.20s}
  html.sbg #secondary-navigation .navigation.mobile-menu-wrapper .menu a{display:flex;align-items:center;width:auto!important;height:52px;box-sizing:border-box;margin:0!important;padding:0 16px!important;border:0;border-radius:18px;background:none;color:var(--g-pop-ink);font-size:16px;font-weight:700;line-height:1.2;text-indent:0;white-space:normal}
  html.sbg #secondary-navigation .navigation.mobile-menu-wrapper .menu a::after{content:none}
  html.sbg #secondary-navigation .navigation.mobile-menu-wrapper .menu a:active{background:var(--g-pop-hover)}
  html.sbg #secondary-navigation .navigation.mobile-menu-wrapper .menu li.menu-item-has-children > a{padding-right:60px!important}
  html.sbg #secondary-navigation .navigation.mobile-menu-wrapper .toggle-caret{display:flex;align-items:center;justify-content:center;position:absolute;right:4px;top:4px;width:44px;height:44px;border:0;border-radius:50%;background:var(--g-pop-hover);color:var(--g-pop-ink);font-size:14px;line-height:1;cursor:pointer}
  html.sbg #secondary-navigation .navigation.mobile-menu-wrapper .toggle-caret .fa{color:inherit;transition:transform .5s var(--g-spr)}
  html.sbg #secondary-navigation .navigation.mobile-menu-wrapper .toggle-caret .fa::before{content:"\f078"}
  html.sbg #secondary-navigation .navigation.mobile-menu-wrapper li.sbg-sub-open > .toggle-caret .fa{transform:rotate(180deg)}
  html.sbg #secondary-navigation .navigation.mobile-menu-wrapper .menu .sub-menu{display:none!important;position:static;float:none;width:auto;height:auto!important;margin:0 0 6px!important;padding:0 0 0 14px!important;border:0;background:none;box-shadow:none;-webkit-backdrop-filter:none;backdrop-filter:none;visibility:visible;opacity:1!important;transform:none;transition:none}
  html.sbg #secondary-navigation .navigation.mobile-menu-wrapper .menu li.sbg-sub-open > .sub-menu{display:block!important}
  html.sbg #secondary-navigation .navigation.mobile-menu-wrapper .menu .sub-menu a{height:46px;font-weight:600;color:var(--g-ink2)}
  html.sbg #mobile-menu-overlay{display:none!important}
  html.sbg .main-container{left:0!important}

  html.sbg .sbc-ticker-wrap{width:auto;max-width:none;margin:8px 12px 0}
  html.sbg #page{width:auto;max-width:none;margin:0;padding:0 16px 40px}
  html.sbg .header-banner{max-width:none;margin:0;padding:16px 16px 0}

  /* hero: the photo on top, the words under it */
  html.sbg .featured-area{margin:16px 0}
  html.sbg .primary-slider-container{border-radius:24px;background:#0d1014}
  html.sbg .primary-slider .mts-primary-slider-content{display:flex;flex-direction:column}
  html.sbg .slide-caption{position:static;width:auto;margin:0;padding:14px 16px 6px!important;border:0;border-radius:0;background:none!important;box-shadow:none;-webkit-backdrop-filter:none;backdrop-filter:none}
  html.sbg .primary-slider .mts-primary-slider-content::after,html.sbg .primary-slider .slide-post-info::after{content:none}
  html.sbg .slide-title{text-shadow:none}
  html.sbg .primary-slider .slide-post-info{position:static;width:auto;height:auto;gap:10px;padding:8px 16px 16px!important;border:0;border-radius:0;background:none!important;box-shadow:none;-webkit-backdrop-filter:none;backdrop-filter:none;color:#c5cbd6;flex-wrap:wrap}
  html.sbg .primary-slider .slide-post-info > span + span{padding-left:10px}
  html.sbg .primary-slider .owl-prev,
  html.sbg .primary-slider .owl-next{top:calc((100vw - 32px) * .2679);width:44px;height:44px;margin-top:-22px}
  html.sbg .primary-slider .owl-prev{left:10px}
  html.sbg .primary-slider .owl-next{right:10px}
  html.sbg .sbg-dots{top:calc((100vw - 32px) * .5357 - 38px);bottom:auto;right:10px;height:28px;padding:0 12px;gap:6px}

  html.sbg .small-thumb-posts{margin-bottom:16px;padding:16px 16px 18px}
  html.sbg .small-thumb-posts .featured-category-title{margin-bottom:12px}
  html.sbg .small-thumb-inner{display:flex;flex-direction:column;gap:14px}
  html.sbg .small-thumb-posts .latestPost{gap:12px}
  html.sbg .small-thumb-posts .featured-thumbnail img{width:60px;height:60px}

  html.sbg .blog-section-grid-posts{gap:16px}
  html.sbg #load-posts{margin-top:12px}

  html.sbg #site-footer{padding:36px 0 24px}
  html.sbg #site-footer > .container,html.sbg #site-footer .copyrights .container{max-width:none;margin:0 16px}
  html.sbg #site-footer .footer-widgets{grid-template-columns:minmax(0,1fr);row-gap:22px}
  html.sbg #site-footer .f-widget-1,html.sbg #site-footer .f-widget-2,html.sbg #site-footer .f-widget-3{grid-column:1;grid-row:auto}
  html.sbg #site-footer .f-widget-2 .widget{gap:8px 18px}
  html.sbg #site-footer .social-profile-icons li a{width:44px;height:44px;border-radius:14px}
  html.sbg #site-footer .copyrights{margin-top:28px}
  html.sbg #move-to-top{right:14px;bottom:18px;width:48px;height:48px}
}
@media screen and (max-width:600px){
  html.sbg .blog-section-grid-posts{grid-template-columns:minmax(0,1fr)}
}

/* ---------- 8. motion: what the glass does under a pointer or a finger ---------- */
/* the lens: a bright drop of glass that slides under the menu item the pointer is on */
html.sbg #secondary-navigation .navigation .menu{position:relative}
html.sbg #secondary-navigation .navigation .menu > li{position:relative;z-index:1}
html.sbg #secondary-navigation .navigation .menu > li.sbg-lens{position:absolute;z-index:0;left:0;top:0;width:0;height:40px;border-radius:999px;pointer-events:none;list-style:none;opacity:0;transform:scale(.8);background:linear-gradient(180deg,rgba(255,255,255,.68),rgba(255,255,255,.38));box-shadow:inset 0 1px 0 rgba(255,255,255,.95),inset 0 -1px 0 rgba(4,35,42,.06),0 6px 12px -8px rgba(4,35,42,.5);transition:left .5s var(--g-spr2),width .5s var(--g-spr2),opacity .25s ease,transform .5s var(--g-spr)}
html.sbg-dark #secondary-navigation .navigation .menu > li.sbg-lens{background:linear-gradient(180deg,rgba(255,255,255,.22),rgba(255,255,255,.09));box-shadow:inset 0 1px 0 rgba(255,255,255,.32),0 6px 12px -8px rgba(0,0,0,.7)}
html.sbg #secondary-navigation .navigation .menu > li.sbg-lens.on{opacity:1;transform:none}
html.sbg #secondary-navigation .navigation .menu.sbg-has-lens > li:hover > a,
html.sbg #secondary-navigation .navigation .menu.sbg-has-lens > li.sbg-open > a{background:none}
/* the little arrow turns over while its drop-down is open */
html.sbg #secondary-navigation .navigation .menu > li > a::after{display:inline-block;margin-left:0;transition:transform .5s var(--g-spr)}
html.sbg #secondary-navigation .navigation .menu > li:hover > a::after,
html.sbg #secondary-navigation .navigation .menu > li:focus-within > a::after,
html.sbg #secondary-navigation .navigation .menu > li.sbg-open > a::after{transform:rotate(180deg)}
/* the rows of a drop-down arrive one after the other */
html.sbg #secondary-navigation .navigation .menu > li > .sub-menu > li{opacity:0;transform:translateY(-8px) scale(.96);transition:opacity .12s ease,transform .2s ease}
html.sbg #secondary-navigation .navigation .menu > li:hover > .sub-menu > li,
html.sbg #secondary-navigation .navigation .menu > li:focus-within > .sub-menu > li,
html.sbg #secondary-navigation .navigation .menu > li.sbg-open > .sub-menu > li{opacity:1;transform:none;transition:opacity .3s ease,transform .55s var(--g-spr)}
html.sbg #secondary-navigation .navigation .menu > li > .sub-menu > li:nth-child(1){transition-delay:.05s}
html.sbg #secondary-navigation .navigation .menu > li > .sub-menu > li:nth-child(2){transition-delay:.08s}
html.sbg #secondary-navigation .navigation .menu > li > .sub-menu > li:nth-child(3){transition-delay:.11s}
html.sbg #secondary-navigation .navigation .menu > li > .sub-menu > li:nth-child(4){transition-delay:.14s}
html.sbg #secondary-navigation .navigation .menu > li > .sub-menu > li:nth-child(5){transition-delay:.17s}
html.sbg #secondary-navigation .navigation .menu > li > .sub-menu > li:nth-child(n+6){transition-delay:.20s}
html.sbg #secondary-navigation .navigation .menu > li:not(:hover):not(:focus-within):not(.sbg-open) > .sub-menu > li{transition-delay:0s}

/* the swell: glass grows a little under the finger and springs back when it is let go */
html.sbg .sbg-press{isolation:isolate;-webkit-tap-highlight-color:transparent;transition:transform .6s var(--g-spr),filter .35s ease,background-color .2s ease,opacity .25s ease}
html.sbg .sbg-press-rel{position:relative}
html.sbg .sbg-press::before{content:"";position:absolute;inset:0;z-index:-1;border-radius:inherit;pointer-events:none;opacity:0;background:radial-gradient(120% 150% at 50% 0%,rgba(255,255,255,.92),rgba(255,255,255,.28) 55%,rgba(255,255,255,0) 78%);transition:opacity .5s ease}
html.sbg-dark .sbg-press::before{background:radial-gradient(120% 150% at 50% 0%,rgba(255,255,255,.5),rgba(255,255,255,.13) 55%,rgba(255,255,255,0) 78%)}
html.sbg .sbg-press.sbg-down{transform:scale(var(--sbg-s,1.08));filter:brightness(1.06);transition:transform .16s cubic-bezier(.2,.7,.3,1),filter .16s ease}
html.sbg .sbg-press.sbg-down::before{opacity:1;transition:opacity .1s ease}
html.sbg #move-to-top .fa{transition:transform .5s var(--g-spr)}
html.sbg #move-to-top.sbg-down .fa{transform:translateY(-3px)}
/* the thumb of the light/dark switch stretches as it crosses, like a drop of water */
html.sbg .sbg-switch.sbg-go::before{animation:sbg-thumb-l .55s ease}
html.sbg-dark .sbg-switch.sbg-go::before{animation:sbg-thumb-d .55s ease}
@keyframes sbg-thumb-l{
  0%{transform:translateX(36px) scale(1.18)}
  40%{transform:translateX(14px) scale(1.6,.76)}
  72%{transform:translateX(0) scale(.9,1.08)}
  100%{transform:translateX(0) scale(1)}
}
@keyframes sbg-thumb-d{
  0%{transform:translateX(0) scale(1.18)}
  40%{transform:translateX(22px) scale(1.6,.76)}
  72%{transform:translateX(36px) scale(.9,1.08)}
  100%{transform:translateX(36px) scale(1)}
}
/* the page changes between light and dark as one soft fade */
::view-transition-old(root),::view-transition-new(root){animation-duration:.45s}

/* อ่านข่าวเพิ่ม: placeholders of glass, then the new cards settle in one after the other */
html.sbg .sbg-ghost .latestPost-inner{display:flex;flex-direction:column;gap:10px;min-height:0;overflow:hidden}
html.sbg .sbg-ghost .latestPost-inner > b,
html.sbg .sbg-ghost .latestPost-inner > i{position:relative;display:block;border-radius:8px;background:var(--g-line);overflow:hidden}
html.sbg .sbg-ghost .latestPost-inner > b{aspect-ratio:374/264;border-radius:15px}
html.sbg .sbg-ghost .latestPost-inner > i{height:14px;margin:0 10px}
html.sbg .sbg-ghost .latestPost-inner > i:nth-of-type(1){width:46%;margin-top:8px}
html.sbg .sbg-ghost .latestPost-inner > i:nth-of-type(2){width:86%}
html.sbg .sbg-ghost .latestPost-inner > i:nth-of-type(3){width:62%;margin-bottom:14px}
html.sbg .sbg-ghost .latestPost-inner > b::after,
html.sbg .sbg-ghost .latestPost-inner > i::after{content:"";position:absolute;top:0;bottom:0;left:0;width:90%;background:linear-gradient(100deg,transparent 24%,rgba(255,255,255,.55) 50%,transparent 76%);animation:sbg-ghost 1.35s ease-in-out infinite}
html.sbg-dark .sbg-ghost .latestPost-inner > b::after,
html.sbg-dark .sbg-ghost .latestPost-inner > i::after{background:linear-gradient(100deg,transparent 24%,rgba(255,255,255,.10) 50%,transparent 76%)}
html.sbg .sbg-ghost{animation:sbg-rise .5s var(--g-spr2) both}
html.sbg .latestPost.sbg-new{animation:sbg-rise .7s var(--g-spr2) both;animation-delay:calc(var(--sbg-i,0) * .1s)}
@keyframes sbg-ghost{
  from{transform:translateX(-110%)}
  to{transform:translateX(190%)}
}
@keyframes sbg-rise{
  from{opacity:0;transform:translateY(18px) scale(.97)}
  to{opacity:1;transform:none}
}

/* people who ask their device for less motion get none of the above */
html.sbg.sbg-calm *,html.sbg.sbg-calm *::before,html.sbg.sbg-calm *::after{animation-duration:.01s!important;animation-iteration-count:1!important;transition-duration:.01s!important}
@media (prefers-reduced-motion:reduce){
  html.sbg *,html.sbg *::before,html.sbg *::after{animation-duration:.01s!important;animation-iteration-count:1!important;transition-duration:.01s!important}
}
/* and people who ask for less transparency (or phones that struggle with blur) get solid panes */
@media (prefers-reduced-transparency:reduce){
  html.sbg{--g-blur:none;--g-blur-pop:none;--g-chrome-bg:#f4f7fa;--g-pop-bg:#f6f8fb;--g-nav-bg:linear-gradient(180deg,#86e4f4,#4ac5db)}
  html.sbg-dark{--g-chrome-bg:#171c24;--g-pop-bg:#1b212b;--g-nav-bg:linear-gradient(180deg,#1f5561,#17404a)}
}
/* Theme Options → Glass & Motion. "Light" glass: half the blur, a little more body, so text over a busy photo stays easy.
   "Light fields" off: the page has its plain base colour. "Dim photos": news photos a touch less bright at night. */
html.sbg-soft{--g-blur:blur(12px) saturate(150%);--g-blur-pop:blur(14px) saturate(160%);
  --g-chrome-bg:linear-gradient(180deg,rgba(255,255,255,.86),rgba(255,255,255,.70));--g-pop-bg:linear-gradient(180deg,rgba(255,255,255,.90),rgba(255,255,255,.78))}
html.sbg-soft.sbg-dark{--g-chrome-bg:linear-gradient(180deg,rgba(36,44,56,.80),rgba(26,32,42,.72));--g-pop-bg:linear-gradient(180deg,rgba(30,37,48,.88),rgba(20,25,33,.82))}
html.sbg.sbg-flat{--g-fx:none}
html.sbg-dark.sbg-dim .featured-thumbnail img,html.sbg-dark.sbg-dim .thecontent figure.wp-block-image img,html.sbg-dark.sbg-dim .thecontent > p > img,
html.sbg-dark.sbg-dim .primary-slider .mts-primary-slider-content > img,html.sbg-dark.sbg-dim .sbc-news-thumb img,html.sbg-dark.sbg-dim #sidebar .sbg-most img{filter:brightness(.86)}
html.sbg-lite{--g-blur:none;--g-blur-pop:none;--g-chrome-bg:#f4f7fa;--g-pop-bg:#f6f8fb;--g-nav-bg:linear-gradient(180deg,#86e4f4,#4ac5db)}
html.sbg-lite.sbg-dark{--g-chrome-bg:#171c24;--g-pop-bg:#1b212b;--g-nav-bg:linear-gradient(180deg,#1f5561,#17404a)}
/* solid panes also switch off the few blurs that carry their own value (pills on photos, pop-up and cookie backdrops)
   and give those a little more body, so a label stays readable without the blur behind it */
html.sbg-lite .latestPost .post-image .thecategory,html.sbg-lite .single_post .post-info .thecategory,html.sbg-lite .sbc-news-cat,
html.sbg-lite #sbcc .sbcc-modal-overlay,html.sbg-lite #sbp .sbp-backdrop,html.sbg-lite #sbp .sbp-close{-webkit-backdrop-filter:none!important;backdrop-filter:none!important}
html.sbg-lite .latestPost .post-image .thecategory:not([style*="f4d122" i]),html.sbg-lite .sbc-news-cat{background:rgba(14,18,24,.62)!important}
html.sbg-lite .latestPost .post-image .thecategory[style*="f4d122" i]{background:linear-gradient(180deg,rgba(255,184,0,.92),rgba(232,146,0,.86))!important}
html.sbg-lite #sbcc .sbcc-modal-overlay{background:rgba(15,23,42,.52)!important}
html.sbg-lite #sbp .sbp-backdrop{background:rgba(10,18,30,.62)!important}
html.sbg-lite #sbp .sbp-close,html.sbg-lite #sbp .sbp-close:hover,html.sbg-lite #sbp .sbp-close:focus{background:rgba(18,26,38,.72)!important}
