@font-face{font-family:"Plus Jakarta Sans";font-style:normal;font-weight:400 800;font-display:swap;src:url(../fonts/pjs-latin.woff2) format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
:root{
  --ink:#0b1533;--body:#28324d;--text2:#3d4760;--muted:#5b6478;--faint:#9aa3b8;
  --line:#e6ebf5;--line2:#e1e7f3;--bg:#f6f8fd;--soft:#eef3ff;--card:#fff;--card2:#f7f9fd;--rank:#c3cbdc;
  --blue:#1d64f2;--blue-d:#0f4fd1;--navy:#0b1638;--hover-line:#bcd0fb;--hover-bg:#eaf0fd;
  --head-bg:rgba(246,248,253,.88);--glow:#e8efff;
  --gutter:clamp(15px,calc((100vw - 760px) * .1 + 15px),40px);
  --font:"Plus Jakarta Sans",system-ui,-apple-system,"Segoe UI",sans-serif;
  --shadow:0 10px 24px -14px rgba(29,100,242,.35);
  color-scheme:light;
}
html.dark{
  --ink:#e9eefb;--body:#c9d2e8;--text2:#b7c1da;--muted:#8f9bb8;--faint:#6d7895;
  --line:#1f2a47;--line2:#26335a;--bg:#0a0f1f;--soft:#131d38;--card:#101830;--card2:#0d1429;--rank:#3a4769;
  --blue:#5b95ff;--blue-d:#82adff;--navy:#060b18;--hover-line:#34508f;--hover-bg:#16223f;
  --head-bg:rgba(10,15,31,.86);--glow:#111a36;
  --shadow:0 10px 24px -14px rgba(0,0,0,.6);
  color-scheme:dark;
}
*,*::before,*::after{box-sizing:border-box}
html{scroll-padding-top:76px;scroll-behavior:smooth;-webkit-text-size-adjust:100%}
body{margin:0;min-height:100vh;background:radial-gradient(1200px 520px at 80% -10%,var(--glow) 0%,transparent 60%) no-repeat,var(--bg);color:var(--ink);font-family:var(--font);-webkit-font-smoothing:antialiased;overflow-x:hidden}
h1,h2,h3{margin:0}
p{font-size:17px;line-height:1.6;margin:0}
a{color:var(--blue);text-decoration:none}
a:hover{color:var(--blue-d)}
button,input,textarea,select{font:inherit;color:inherit}
button{cursor:pointer}
img{max-width:100%;height:auto}
.ic{display:inline-block;flex:none;width:1em;height:1em;vertical-align:-.125em}
.emo{display:inline-block;flex:none;line-height:1;font-family:"Apple Color Emoji","Segoe UI Emoji","Noto Color Emoji",sans-serif}
::-webkit-scrollbar{height:6px;width:8px}::-webkit-scrollbar-thumb{background:#cfd8ea;border-radius:9px}
html.dark ::-webkit-scrollbar-thumb{background:#2a3658}
.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.skip-link{position:absolute;left:12px;top:-60px;z-index:90;padding:10px 16px;border-radius:10px;background:var(--blue);color:#fff;font-weight:700}
.skip-link:focus{top:12px;color:#fff}
.i16{font-size:16px}.i18{font-size:18px}.i20{font-size:20px}.i24{font-size:24px}.i30{font-size:30px}.i38{font-size:38px}.i40{font-size:40px}
.c-blue{color:var(--blue)}
.min0{min-width:0}.grow{flex:1}.pt-16{padding-top:16px}
[hidden]{display:none!important}
:focus-visible{outline:2px solid var(--blue);outline-offset:2px}

/* Layout */
.container{max-width:1200px;margin:0 auto;padding-inline:var(--gutter)}
.section{padding-top:40px}
.scroll-x{display:flex;gap:8px;overflow-x:auto;padding-bottom:6px;scrollbar-width:thin}
.split{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,420px),1fr));gap:18px;align-items:start}
.pb-page{padding-bottom:56px}

/* Header */
.site-header{position:sticky;top:0;z-index:40;min-height:61px;background:var(--head-bg);backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px);border-bottom:1px solid var(--line)}
.site-header__inner{display:flex;align-items:center;gap:24px;min-height:61px;padding-block:10px}
.logo{display:flex;align-items:center;gap:8px;color:var(--ink);flex:none;min-width:0}
.logo:hover{color:var(--ink)}
.logo__mark{font-size:28px;line-height:1;font-family:"Apple Color Emoji","Segoe UI Emoji","Noto Color Emoji",sans-serif}
.logo span:last-child{font-size:22px;font-weight:800;letter-spacing:-.02em;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.nav{display:none;margin-left:24px;min-width:0}
.nav ul{list-style:none;margin:0;padding:0}
.nav__list{display:flex;gap:4px}
.nav li{position:relative}
.nav a{display:flex;align-items:center;gap:3px;padding:8px 12px;border-radius:9px;font-size:15px;font-weight:600;color:var(--ink);white-space:nowrap}
.nav a:hover{background:var(--hover-bg);color:var(--ink)}
.nav .current-menu-item>a,.nav .current-menu-ancestor>a{background:var(--hover-bg);color:var(--blue)}
.nav .menu-item-has-children>a::after{content:"";width:6px;height:6px;margin-left:4px;border:solid var(--muted);border-width:0 1.5px 1.5px 0;transform:rotate(45deg) translateY(-2px)}
.nav .sub-menu{position:absolute;left:0;top:100%;z-index:5;display:none;min-width:200px;padding:6px;background:var(--card);border:1px solid var(--line);border-radius:12px;box-shadow:0 14px 30px -16px rgba(11,21,51,.35)}
.nav li:hover>.sub-menu,.nav li:focus-within>.sub-menu{display:block}
.header-actions{margin-left:auto;display:flex;align-items:center;gap:10px;flex:none}
.icon-btn{width:40px;height:40px;display:grid;place-items:center;border:1px solid var(--line2);background:var(--card);border-radius:999px;color:var(--ink);font-size:18px;padding:0}

/* Buttons, chips, boxes */
.btn-outline{display:inline-flex;align-items:center;gap:6px;padding:8px 16px;border:1.5px solid var(--blue);border-radius:999px;background:var(--card);color:var(--blue);font-size:15px;font-weight:700;white-space:nowrap;cursor:pointer}
.btn-outline:hover{background:var(--blue);color:#fff}
.btn-primary{display:inline-flex;align-items:center;justify-content:center;gap:8px;height:42px;padding:0 18px;border:0;border-radius:10px;background:var(--blue);color:#fff;font-size:15px;font-weight:700;white-space:nowrap}
.btn-primary:hover{background:var(--blue-d);color:#fff}
html.dark .btn-primary{background:#2f6ff0}html.dark .btn-primary:hover{background:#4a83f5}
.btn-ghost{display:inline-flex;align-items:center;justify-content:center;height:42px;padding:0 16px;border:1px solid var(--line2);background:var(--card);border-radius:10px;font-size:15px;font-weight:600;color:var(--text2)}
.btn-dark{display:inline-flex;align-items:center;gap:6px;height:42px;padding:0 14px;border:0;border-radius:10px;background:var(--ink);color:var(--bg);font-size:14px;font-weight:700;white-space:nowrap}
.link-btn{border:0;background:none;padding:0;color:var(--blue);font-weight:700;font-size:inherit}
.chip{flex:none;display:inline-flex;align-items:center;justify-content:center;gap:8px;white-space:nowrap;padding:8px 16px;border:1px solid var(--line);background:var(--card);border-radius:999px;font-size:14px;font-weight:600;color:var(--ink)}
.chip:hover{border-color:var(--blue);color:var(--blue)}
.chip.is-active{background:var(--blue);border-color:var(--blue);color:#fff}
.chip--sq{border-radius:10px;min-width:86px;padding:9px 18px}
.chip--lg{font-size:17px;padding:10px 18px;font-weight:500}
.chip--soft{background:var(--soft);border-color:var(--line2)}
.chip__count{font-size:12px;font-weight:700;opacity:.7}
.chip__dot{width:8px;height:8px;border-radius:50%;background:var(--cc)}
.box{background:var(--card);border:1px solid var(--line);border-radius:18px;padding:20px 22px}
.box--lg{border-radius:22px;padding:26px 24px}
.card{background:var(--card);border:1px solid var(--line);border-radius:14px}
.card-hover:hover{border-color:var(--hover-line);box-shadow:var(--shadow)}
.empty{margin-top:16px;padding:28px 16px;text-align:center;background:var(--card);border:1px dashed var(--line2);border-radius:16px;color:var(--muted);font-size:16px}
.when-open{display:none}
[aria-expanded="true"] .when-open,[open]>summary .when-open{display:inline}
[aria-expanded="true"] .when-closed,[open]>summary .when-closed{display:none}

/* Section head */
.sec-head{display:flex;align-items:flex-end;gap:16px;flex-wrap:wrap}
.sec-head__main{display:flex;gap:14px;align-items:flex-start;flex:1 1 360px;min-width:0}
.sec-head__icon{font-size:38px;color:var(--blue)}
.sec-head__main>.emo{font-size:38px}
.sec-title{font-size:clamp(24px,3vw,30px);line-height:1.2;font-weight:800;letter-spacing:-.02em}
.sec-title--sm{font-size:clamp(22px,2.6vw,26px)}
.sec-title--xs{font-size:18px;display:flex;align-items:center;gap:8px;font-weight:800}
.sec-sub{margin-top:2px;color:var(--muted);font-size:16px}
.sec-meta{font-size:14px;color:var(--muted);display:flex;align-items:center;gap:6px}

/* Hero */
.hero{padding-top:clamp(20px,4vw,36px);padding-bottom:12px}
.hero__grid{display:flex;flex-wrap:wrap;gap:24px;align-items:center}
.hero__main{flex:1 1 560px;min-width:0}
.pill{display:inline-flex;align-items:center;gap:8px;max-width:100%;padding:6px 12px;background:var(--card);border:1px solid var(--line2);border-radius:999px;font-size:14px;font-weight:500;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.hero__title{margin-top:18px;font-size:clamp(40px,7.2vw,68px);line-height:1.02;font-weight:800;letter-spacing:-.035em}
.hero__accent{position:relative;color:var(--blue);white-space:nowrap}
.hero__accent svg{position:absolute;left:0;bottom:-8px;width:100%;height:12px}
.hero__lead{margin-top:22px;color:var(--text2);max-width:620px}
.search-bar{margin-top:22px;display:flex;align-items:center;gap:8px;max-width:660px;background:var(--card);border:1px solid var(--line2);border-radius:18px;padding:6px 6px 6px 16px;box-shadow:0 10px 30px -12px rgba(29,100,242,.25)}
.search-bar>.ic{font-size:22px}
.search-bar input{flex:1;min-width:0;border:0;outline:0;background:transparent;font-size:16px;padding:12px 4px}
.search-bar .btn-primary{height:48px;border-radius:14px;font-size:16px;padding:0 clamp(14px,2.4vw,24px)}
.kbd-group{display:none;gap:6px}
kbd{font-family:var(--font);font-size:13px;font-weight:600;padding:6px 9px;border:1px solid var(--line2);border-radius:7px;color:var(--text2);background:var(--card2)}
.only-desk{display:none}
.popular{margin-top:18px;align-items:center}
.popular__label{flex:none;font-size:14px;color:var(--muted)}
.hero__art{display:none;position:relative;flex:0 1 380px;min-width:300px;height:330px}
.hero__ring{position:absolute;inset:10px 20px;border:1.5px dashed #c9d6f5;border-radius:50%}
.hero__ring--in{inset:50px 60px;border:1px dashed #d8e2f8}
html.dark .hero__ring{border-color:#23315a}
.hero__globe{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);font-size:260px;color:#c3d2f3}
html.dark .hero__globe{color:#1c2a52}
.float-tag{position:absolute;display:flex;align-items:center;gap:8px;padding:10px 16px;background:var(--card);border-radius:14px;box-shadow:0 8px 24px -10px rgba(11,21,51,.25);font-size:14px;font-weight:600;animation:glFloat 5.5s ease-in-out infinite}
.float-tag .ic{font-size:18px}
.float-tag--1{left:4px;top:18px}.float-tag--2{right:0;top:66px;animation-delay:-1s}.float-tag--3{left:44px;top:176px;animation-delay:-2s}.float-tag--4{right:14px;top:222px;animation-delay:-3s}
.dot{position:absolute;width:6px;height:6px;border-radius:50%;background:var(--blue)}

/* Perks */
.perks{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:12px 0}
.perk{display:flex;align-items:center;gap:14px;padding:6px 0}
.perk .ic{font-size:28px}
.perk__title{font-size:16px;font-weight:700}
.perk__sub{font-size:14px;color:var(--muted)}

/* Featured library */
.tabs{margin-top:20px}
.lib-grid{margin-top:14px;display:grid;grid-template-columns:repeat(auto-fill,minmax(min(46%,176px),1fr));gap:12px}
.lib-grid:not(.is-all):not(.is-filtered) .is-more{display:none}
.lib-card{position:relative;display:flex;flex-direction:column;gap:12px;min-width:0;padding:16px 12px 12px}
.lib-card__text{text-align:center;font-size:20px;font-weight:500;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;padding:0 18px}
.lib-card__meta{display:flex;align-items:center;justify-content:space-between;gap:6px;font-size:13px;color:var(--muted);white-space:nowrap}
.heart-btn{position:absolute;top:6px;right:6px;width:30px;height:30px;display:grid;place-items:center;border:0;background:transparent;border-radius:8px;color:#b3bccf;font-size:17px;padding:0}
.heart-btn.is-on{color:#ff3d6e}
.tag{padding:3px 10px;border-radius:999px;font-size:12px;font-weight:600;white-space:nowrap;background:var(--tb,#e6efff);color:var(--tf,var(--blue))}
html.dark .tag{background:var(--soft);color:var(--blue)}
.copy-btn{display:flex;align-items:center;justify-content:center;gap:8px;height:38px;border:1px solid var(--line);border-radius:10px;background:var(--card);color:var(--ink);font-size:14px;font-weight:700}
.copy-btn:hover{border-color:var(--blue)}
.copy-btn.is-copied{background:var(--blue);border-color:var(--blue);color:#fff}

/* Top */
.top-row{margin-top:18px;display:flex;gap:10px;overflow-x:auto;scroll-snap-type:x mandatory;padding-bottom:8px}
.top-row.is-all{display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));overflow:visible}
.top-card{flex:1 0 104px;min-width:0;scroll-snap-align:start;display:flex;flex-direction:column;gap:6px;padding:10px 10px 12px;text-align:left;color:var(--ink)}
.top-row:not(.is-all) .top-card:nth-child(n+11){display:none}
.top-card:hover{border-color:var(--hover-line)}
.rank-badge{width:20px;height:20px;border-radius:50%;display:grid;place-items:center;background:var(--c);color:#fff;font-size:11px;font-weight:800}
.top-card__text{font-size:15px;font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%}
.top-card__copies{font-size:13px;color:var(--muted)}
.trend-up{font-size:12px;font-weight:700;color:#10a36b}
.trend-down{font-size:12px;font-weight:700;color:#e5484d}

/* Hall of fame */
.podium{margin-top:28px;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:clamp(6px,1.6vw,18px);align-items:end}
.podium__item{display:flex;flex-direction:column;gap:10px;min-width:0}
.podium__item--1{--ring:#f2a900;--pso:#fff4d6;--ink2:#a86b00;--h:136px}
.podium__item--2{--ring:#9aa7c2;--pso:#eef1f7;--ink2:#56617a;--h:96px}
.podium__item--3{--ring:#d9793a;--pso:#fdebdf;--ink2:#a4501c;--h:70px}
html.dark .podium__item{--pso:var(--soft);--ink2:var(--ink)}
.podium__card{position:relative;display:flex;flex-direction:column;align-items:center;gap:8px;padding:26px 8px 14px;background:var(--card);border:1.5px solid var(--ring);border-radius:16px;box-shadow:0 14px 30px -18px var(--ring);color:var(--ink);transition:transform .15s}
.podium__card:hover{transform:translateY(-2px)}
.podium__medal{position:absolute;top:-20px;left:50%;transform:translateX(-50%);font-size:40px}
.podium__name{font-size:clamp(14px,2vw,21px);font-weight:600;max-width:100%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.podium__votes{font-size:12px;font-weight:700;color:var(--ink2);background:var(--pso);padding:4px 10px;border-radius:999px;white-space:nowrap}
.podium__base{height:var(--h);border-radius:14px 14px 4px 4px;background:linear-gradient(180deg,var(--pso),transparent);border-top:3px solid var(--ring);display:grid;place-items:start center;padding-top:8px;font-size:clamp(30px,5vw,48px);font-weight:800;color:var(--ring);letter-spacing:-.04em}
.hall-list{list-style:none;margin:18px 0 0;padding:0;display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,340px),1fr));gap:8px 18px}
.hall-item{display:grid;grid-template-columns:28px minmax(0,1fr) auto;align-items:center;gap:10px;padding:10px 12px}
.hall-item__rank{font-size:14px;font-weight:800;color:var(--faint)}
.hall-item__name{font-size:16px;font-weight:500;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.bar{margin-top:6px;height:4px;border-radius:9px;background:var(--soft)}
.bar i{display:block;height:4px;border-radius:9px;background:var(--blue)}
.sq-btn{width:36px;height:36px;display:grid;place-items:center;border:1px solid var(--line);border-radius:10px;background:var(--card2);color:var(--blue);font-size:16px;padding:0}

/* Browse by intent */
.intent-grid{margin-top:18px;display:grid;grid-template-columns:repeat(auto-fill,minmax(min(30%,96px),1fr));gap:10px}
.intent{display:flex;flex-direction:column;align-items:center;gap:6px;padding:18px 6px 14px;color:var(--ink);transition:transform .15s}
.intent:hover{color:var(--ink);border-color:var(--hover-line);transform:translateY(-2px)}
.intent__icon{height:34px;display:grid;place-items:center;font-size:30px;line-height:1;white-space:nowrap;font-family:"Apple Color Emoji","Segoe UI Emoji","Noto Color Emoji",var(--font);color:var(--blue)}
.intent:nth-child(8) .intent__icon{font-size:18px;font-weight:700}
.intent__label{margin-top:4px;font-size:15px;font-weight:700;text-align:center}
.intent__count{font-size:13px;color:var(--muted)}

/* Studio / generator */
.studio-input{margin-top:20px;display:flex;align-items:center;gap:10px;background:var(--card2);border:1.5px solid var(--line2);border-radius:14px;padding:4px 6px 4px 16px}
.studio-input:focus-within{border-color:var(--blue)}
.studio-input input{flex:1;min-width:0;border:0;outline:0;background:transparent;font-size:18px;font-weight:600;padding:12px 0}
.studio-input .btn-primary,.studio-input .btn-dark{height:44px}
.styled-grid{margin-top:14px;display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,250px),1fr));gap:10px}
.styled{display:flex;flex-direction:column;gap:6px;min-width:0;padding:14px 16px;text-align:left;color:var(--ink)}
.styled:hover,.styled.is-copied{border-color:var(--blue)}
.styled__label{display:flex;justify-content:space-between;gap:8px;font-size:12px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:var(--faint)}
.styled__label em{font-style:normal;color:var(--blue);text-transform:none;letter-spacing:0}
.styled__text{font-size:20px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.sub-title{margin:28px 0 12px;font-size:18px;font-weight:800}
.marquee{overflow:hidden;-webkit-mask-image:linear-gradient(90deg,transparent,#000 6%,#000 94%,transparent);mask-image:linear-gradient(90deg,transparent,#000 6%,#000 94%,transparent)}
.marquee__track{display:flex;gap:10px;width:max-content;animation:glMarquee 40s linear infinite}
.marquee__track+.marquee__track{margin-top:10px;animation:glMarqueeR 46s linear infinite}
.marquee__track:hover{animation-play-state:paused}
.g-deco{margin-top:12px}
.g-deco summary{list-style:none;display:inline-flex;align-items:center;gap:8px;cursor:pointer;font-size:14px;font-weight:700;color:var(--text2)}
.g-deco summary::-webkit-details-marker{display:none}
.g-deco summary small{font-weight:500;color:var(--faint)}
.g-deco summary .ic:last-child{transition:transform .2s}
.g-deco[open] summary .ic:last-child{transform:rotate(180deg)}
.g-deco__row{margin-top:10px;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.g-sel{display:flex;flex-direction:column;gap:4px;font-size:12px;font-weight:700;color:var(--faint);text-transform:uppercase;letter-spacing:.05em;min-width:0}
.g-sel select{width:100%;height:42px;padding:0 10px;border:1px solid var(--line2);border-radius:10px;background:var(--card);font-size:16px;text-transform:none;letter-spacing:0;color:var(--ink)}
.g-status{min-height:0;font-size:14px;color:var(--muted)}
.g-status:not(:empty){margin-top:12px;display:flex;align-items:center;gap:8px}
.g-status .spin{animation:glSpin 1s linear infinite}
.g-status.is-error{color:#e5484d}
.g-head{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-top:22px}
.g-head .sub-title{margin:0}
.g-sec{margin-top:22px}
.g-sec__title{display:flex;align-items:baseline;gap:8px;margin:0 0 4px;font-size:16px;font-weight:800;color:var(--text2)}
.g-sec__title small{font-size:13px;font-weight:600;color:var(--faint)}
.g-sec .styled-grid{margin-top:8px}
.g-sec:not(.is-all) .styled:nth-child(n+13){display:none}
.g-sec__more{margin-top:10px}
.g-block{margin-top:6px}
.chip-cloud{display:flex;flex-wrap:wrap;gap:8px}
.chip-cloud .chip{font-size:16px;font-weight:500;max-width:100%;overflow:hidden;text-overflow:ellipsis}
.com-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,230px),1fr));gap:8px}
.com-item{display:flex;align-items:center;min-width:0;background:var(--card);border:1px solid var(--line);border-radius:12px}
.com-item:hover{border-color:var(--hover-line)}
.com-item__text{flex:1;min-width:0;padding:11px 12px;border:0;background:none;text-align:left;font-size:17px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:var(--ink)}
.com-item.is-copied{border-color:var(--blue)}
.like-btn{flex:none;display:flex;align-items:center;gap:4px;height:34px;margin-right:6px;padding:0 10px;border:0;border-radius:9px;background:var(--soft);color:var(--muted);font-size:13px;font-weight:700}
.like-btn.is-on{color:var(--blue)}
.g-empty{padding:16px;border:1px dashed var(--line2);border-radius:12px;font-size:15px;color:var(--muted);text-align:center}
.g-vote{margin-top:22px;display:flex;flex-wrap:wrap;gap:10px}
.g-vote__item{flex:1 1 300px;display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap;padding:12px 14px;background:var(--soft);border-radius:14px}
.g-vote__q{font-size:15px;font-weight:600}
.g-vote__btns{display:flex;gap:6px}
.vote-btn{display:inline-flex;align-items:center;gap:6px;height:36px;padding:0 12px;border:1px solid var(--line2);border-radius:999px;background:var(--card);font-size:14px;font-weight:700;color:var(--text2)}
.vote-btn b{font-weight:800;color:var(--ink)}
.vote-btn:hover{border-color:var(--blue)}
.vote-btn.is-on{border-color:var(--blue);color:var(--blue)}
.vote-btn--m .ic{color:#1d64f2}.vote-btn--f .ic{color:#e11d74}
.g-add__row{display:flex;gap:8px}
.g-add__row input{flex:1;min-width:0;height:44px;padding:0 14px;border:1px solid var(--line2);border-radius:10px;background:var(--card);font-size:16px;outline-color:var(--blue)}
.g-add__row .btn-primary{height:44px}
.g-note{margin-top:6px;font-size:13px;color:var(--faint)}
.g-related{margin-top:18px;display:flex;flex-wrap:wrap;align-items:center;gap:8px;font-size:15px;color:var(--muted)}
.gen--inline{margin:24px 0}
.gen--inline .sec-title{font-weight:800}

/* Trending */
.trend-grid{margin-top:18px;display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,260px),1fr));gap:10px}
.trend{position:relative;overflow:hidden;display:flex;align-items:center;gap:14px;padding:14px 16px;text-align:left;color:var(--ink)}
.trend:hover{border-color:var(--hover-line)}
.trend::after{content:"";position:absolute;left:0;bottom:0;height:3px;width:var(--p);background:linear-gradient(90deg,#ff7a45,#ff3d6e)}
.trend__rank{width:34px;font-size:26px;font-weight:800;letter-spacing:-.04em;color:var(--rank)}
.trend__rank.is-hot{color:#ff5a3c}
.trend__body{flex:1;min-width:0}
.trend__name{display:block;font-size:16px;font-weight:700;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.trend__sub{font-size:13px;color:var(--muted)}
.trend__delta{display:flex;align-items:center;gap:2px;font-size:12px;font-weight:700;color:#10a36b}
.trend__delta.is-down{color:#e5484d}

/* Why */
.why-grid{margin-top:18px;display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,240px),1fr));gap:12px}
.why{display:flex;gap:16px;align-items:flex-start;padding:20px}
.why .ic{font-size:34px;color:var(--blue)}
.why h3{margin-bottom:4px;font-size:17px;font-weight:700}
.why p{font-size:15px;line-height:1.5;color:var(--muted)}

/* About */
.about{display:flex;flex-wrap:wrap;gap:20px;align-items:flex-start}
.about__main{flex:1 1 520px;min-width:0;display:flex;gap:14px;align-items:flex-start}
.about__side{flex:0 1 380px;min-width:0}
.about__text{margin-top:10px;color:var(--text2)}
.more summary{list-style:none;margin-top:14px;display:inline-flex}
.more summary::-webkit-details-marker{display:none}
.more__body{margin-top:14px;display:flex;flex-direction:column;gap:12px;color:var(--text2)}
.more__body h3{margin-top:8px;font-size:19px;font-weight:800;color:var(--ink)}
.more__body ol{margin:0;padding-left:22px;font-size:17px;line-height:1.7}
.usecases{margin-top:12px;display:flex;flex-wrap:wrap;gap:8px}
.usecases span{padding:8px 14px;border:1px solid var(--line2);background:var(--card);border-radius:10px;font-size:14px;color:var(--text2)}

/* Table */
.table-wrap{margin-top:16px;overflow-x:auto;background:var(--card);border:1px solid var(--line);border-radius:14px}
.table{width:100%;border-collapse:collapse;font-size:16px}
.table th{padding:14px 18px;background:var(--soft);text-align:left;font-size:14px;color:var(--muted);white-space:nowrap}
.table td{padding:14px 18px;border-top:1px solid var(--line);color:var(--text2);vertical-align:top}
.table td:first-child{font-weight:700;color:var(--ink)}
.badge{display:inline-block;padding:3px 10px;border-radius:999px;font-size:13px;font-weight:700;white-space:nowrap}
.badge--full{background:#e6f8ee;color:#139a4f}.badge--most{background:#e6efff;color:#1d64f2}.badge--partial{background:#fff4d6;color:#a86b00}

/* Feedback */
.fb-grid{margin-top:18px;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.fb-col{display:flex;flex-direction:column;gap:10px;text-align:center}
.fb-btn{display:flex;align-items:center;justify-content:center;gap:10px;height:clamp(56px,7vw,66px);border-radius:12px;font-size:17px;font-weight:700;padding:0 8px}
.fb-btn .ic{font-size:28px}
.fb-btn--good{border:1px solid #c9f0d8;background:#e6f8ee;color:#139a4f}.fb-btn--good:hover{background:#d6f3e3}.fb-btn--good .ic{color:#22b35e}
.fb-btn--bad{border:1px solid #fbd0d6;background:#fdecee;color:#e11d48}.fb-btn--bad:hover{background:#fbdfe3}.fb-btn--bad .ic{color:#ef3b54}
html.dark .fb-btn--good{background:#0f2a1f;border-color:#1c4a35}html.dark .fb-btn--bad{background:#2d1319;border-color:#57222e}
.fb-note{font-size:14px;color:var(--muted)}
.fb-form{margin-top:18px;display:none;flex-direction:column;gap:10px}
.fb-form textarea{font-size:16px;padding:12px 14px;border:1px solid var(--line2);border-radius:12px;resize:vertical;outline-color:var(--blue);background:var(--card)}
.fb-chips{display:flex;flex-wrap:wrap;gap:8px}
.fb-actions{display:flex;gap:8px;justify-content:flex-end}
.fb-done{margin-top:18px;display:none;align-items:center;gap:14px;padding:18px;border-radius:14px;background:var(--soft)}
.fb-done .emo{font-size:34px}
.fb-done__title{font-size:17px;font-weight:700}
.fb-done__msg{font-size:15px;color:var(--muted)}
.feedback[data-state="bad"] .fb-grid,.feedback[data-state="done"] .fb-grid{display:none}
.feedback[data-state="bad"] .fb-form{display:flex}
.feedback[data-state="done"] .fb-done{display:flex}

/* FAQ */
.faq{margin-top:14px;display:flex;flex-direction:column;gap:8px}
.faq__item{border:1px solid var(--line);border-radius:10px;background:var(--card)}
.faq__item summary{list-style:none;display:flex;align-items:center;gap:10px;padding:12px 14px;font-size:15px;font-weight:600;cursor:pointer}
.faq__item summary::-webkit-details-marker{display:none}
.faq__item summary span{flex:1}
.faq__item summary .ic{font-size:18px;transition:transform .2s}
.faq__item[open] summary .ic{transform:rotate(180deg)}
.faq__item p{padding:0 14px 14px;font-size:15px;color:var(--text2)}

/* Footer + mobile dock */
.site-footer{background:var(--navy);color:#c9d2ea}
.footer-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,150px),1fr));gap:24px;padding-block:32px 28px}
.footer-brand{grid-column:span 2;min-width:0}
.footer-brand .logo span:last-child{color:#fff;font-size:21px}
.footer-brand__tag{margin-top:6px;font-size:14px;color:#fff}
.footer-brand p{margin-top:6px;font-size:14px;line-height:1.55;color:#aab5d3}
.footer-copy{margin-top:12px;font-size:13px;color:#8391b5}
.footer-col__title{margin-bottom:8px;font-size:14px;font-weight:700;color:#fff}
.footer-col a{display:block;font-size:14px;line-height:1.9;color:#aab5d3}
.footer-col a:hover{color:#fff}
.socials{display:flex;flex-wrap:wrap;gap:8px}
.socials a{width:34px;height:34px;display:grid;place-items:center;border-radius:9px;background:var(--sb);color:#fff;font-size:18px}
.footer-tools{margin-top:14px;display:flex;gap:8px}
.footer-tools button{display:flex;align-items:center;gap:6px;height:36px;padding:0 12px;border:1px solid #2a3867;background:transparent;border-radius:999px;color:#fff;font-size:14px;font-weight:600}
.dock{display:none;position:fixed;left:10px;right:10px;bottom:calc(10px + env(safe-area-inset-bottom));z-index:60;height:66px;grid-template-columns:repeat(5,1fr);align-items:center;padding:0 6px;background:rgba(11,22,56,.94);backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px);border-radius:24px;box-shadow:0 18px 40px -12px rgba(11,22,56,.55)}
.dock__item{position:relative;height:56px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;border:0;background:transparent;color:#8f9bbd;font-size:11px;font-weight:700;padding:0}
.dock__item:hover{color:#fff}
.dock__icon{display:grid;place-items:center;width:30px;height:30px;border-radius:10px;font-size:21px}
.dock__item.is-active{color:#fff}
.dock__item.is-active::after{content:"";position:absolute;bottom:2px;width:16px;height:4px;border-radius:4px;background:#5b95ff}
.dock__item--create{color:#fff}
.dock__item--create .dock__icon{width:52px;height:52px;margin-top:-26px;border-radius:18px;background:#1d64f2;font-size:24px;box-shadow:0 10px 22px -6px rgba(29,100,242,.7),0 0 0 5px var(--bg)}
.sheet{position:fixed;inset:0;z-index:70;display:none;background:rgba(11,21,51,.45)}
.sheet.is-open{display:block}
.sheet__panel{position:absolute;left:0;right:0;bottom:0;padding:10px 15px calc(28px + env(safe-area-inset-bottom));background:var(--card);border-radius:24px 24px 0 0;animation:glSheet .25s ease-out}
.sheet__handle{width:44px;height:5px;margin:0 auto 14px;border-radius:5px;background:var(--line2)}
.sheet__grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.sheet__grid a{display:flex;flex-direction:column;align-items:center;gap:6px;padding:14px 6px;border:1px solid var(--line);border-radius:14px;color:var(--ink);font-size:14px;font-weight:600;text-align:center}
.sheet__grid .emo{font-size:28px}
.toast{position:fixed;left:50%;bottom:28px;z-index:80;display:none;align-items:center;gap:8px;max-width:calc(100vw - 30px);padding:11px 18px;background:#0b1533;color:#fff;border-radius:999px;font-size:15px;font-weight:600;box-shadow:0 12px 30px -10px rgba(11,21,51,.5);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;transform:translateX(-50%)}
.toast span{overflow:hidden;text-overflow:ellipsis}
.toast.is-on{display:flex;animation:glToast .2s ease-out}
.toast .ic{font-size:18px;color:#4ade80}

/* Tiles, meta, avatar */
.tile{position:relative;display:grid;place-items:center;overflow:hidden;border-radius:14px;background:linear-gradient(135deg,var(--a,#1d64f2),var(--b,#5b95ff));color:#fff}
.tile::before{content:"";position:absolute;inset:0;background-image:radial-gradient(rgba(255,255,255,.2) 1px,transparent 1px);background-size:14px 14px}
.tile--img{background:var(--soft)}
.tile--img::before{display:none}
.tile--img img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.tile__art{position:relative;font-weight:600;white-space:nowrap;text-shadow:0 6px 24px rgba(0,0,0,.2)}
.tile__badge{position:absolute;top:14px;left:14px;display:flex;align-items:center;gap:6px;padding:6px 12px;border-radius:999px;background:#fff;color:#0b1533;font-size:13px;font-weight:700}
.meta{display:flex;align-items:center;gap:8px;flex-wrap:wrap;font-size:13px;color:var(--muted)}
.cat-pill{display:inline-block;padding:4px 10px;border-radius:999px;font-size:13px;font-weight:700;background:var(--cs);color:var(--cc)}
html.dark .cat-pill{background:var(--soft)}
.cat-text{font-weight:700;color:var(--cc)}
html.dark .cat-text{filter:brightness(1.4)}
.avatar{width:38px;height:38px;flex:none;display:grid;place-items:center;border-radius:50%;background:var(--ink);color:var(--bg);font-size:13px;font-weight:800}
.avatar--sm{width:24px;height:24px;font-size:10px}
.avatar--lg{width:42px;height:42px;font-size:14px}
.breadcrumb{display:flex;align-items:center;gap:6px;font-size:14px;color:var(--muted);white-space:nowrap;overflow:hidden}
.breadcrumb a{color:var(--muted);flex:none}
.breadcrumb .ic{font-size:14px;color:var(--faint)}
.breadcrumb span{color:var(--ink);font-weight:600;overflow:hidden;text-overflow:ellipsis}

/* Blog list */
.page-top{padding-top:24px}
.page-head{margin-top:14px;display:flex;flex-wrap:wrap;gap:20px;align-items:flex-end;justify-content:space-between}
.page-head__main{flex:1 1 520px;min-width:0}
.page-title{font-size:clamp(34px,5.4vw,56px);line-height:1.05;font-weight:800;letter-spacing:-.035em;overflow-wrap:anywhere}
.page-title em{font-style:normal;color:var(--blue)}
.page-lead{margin-top:12px;color:var(--text2);max-width:620px}
.field{flex:1 1 300px;max-width:420px;min-width:0;height:52px;display:flex;align-items:center;gap:10px;padding:0 8px 0 14px;background:var(--card);border:1px solid var(--line2);border-radius:14px;box-shadow:0 10px 30px -16px rgba(29,100,242,.3)}
.field>.ic{font-size:20px}
.field input{flex:1;min-width:0;border:0;outline:0;background:transparent;font-size:16px}
.field input::-webkit-search-cancel-button{display:none}
.field__clear{width:36px;height:36px;display:none;place-items:center;border:0;border-radius:10px;background:var(--soft);color:var(--muted);font-size:16px;padding:0}
.field__clear.is-on{display:grid}
.feat-card{margin-top:20px;display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);overflow:hidden;background:var(--card);border:1px solid var(--line);border-radius:24px;color:var(--ink)}
.feat-card:hover{color:var(--ink);box-shadow:0 20px 40px -24px rgba(29,100,242,.45)}
.feat-card .tile{min-height:340px;border-radius:0}
.feat-card .tile__art{font-size:clamp(44px,7vw,80px)}
.feat-card__body{min-width:0;padding:32px 36px;display:flex;flex-direction:column;justify-content:center;gap:12px}
.feat-card__title{font-size:clamp(24px,3vw,34px);line-height:1.15;font-weight:800;letter-spacing:-.025em;text-wrap:pretty}
.feat-card__body p{color:var(--text2)}
.author{margin-top:4px;display:flex;align-items:center;gap:10px}
.author__txt{flex:1;min-width:0;line-height:1.3}
.author__name{display:block;font-size:14px;font-weight:700}
.author__role{font-size:13px;color:var(--muted)}
.read-more{display:flex;align-items:center;gap:6px;font-size:15px;font-weight:700;color:var(--blue);white-space:nowrap}
.blog-layout{display:grid;grid-template-columns:minmax(0,1fr);gap:36px;align-items:start;padding-block:32px 56px}
.list-head{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}
.list-head small{font-size:15px;font-weight:600;color:var(--faint)}
.segmented{display:flex;gap:2px;padding:4px;background:var(--soft);border-radius:12px}
.segmented a{display:flex;align-items:center;height:34px;padding:0 14px;border-radius:9px;color:var(--muted);font-size:14px;font-weight:700;white-space:nowrap}
.segmented a.is-active{background:var(--card);color:var(--ink);box-shadow:0 1px 3px rgba(11,21,51,.12)}
.post-list{margin-top:14px;display:flex;flex-direction:column;gap:12px}
.post-row{display:grid;grid-template-columns:220px minmax(0,1fr);gap:22px;align-items:center;min-width:0;padding:12px;background:var(--card);border:1px solid var(--line);border-radius:18px;color:var(--ink)}
.post-row:hover{color:var(--ink);border-color:var(--hover-line)}
.post-row .tile{aspect-ratio:16/10}
.post-row .tile__art{font-size:30px}
.post-row__body{min-width:0;display:flex;flex-direction:column;gap:6px}
.post-row__body .meta{flex-wrap:nowrap;white-space:nowrap;overflow:hidden}
.post-row__title{font-size:clamp(17px,2vw,21px);line-height:1.3;font-weight:800;letter-spacing:-.01em;text-wrap:pretty}
.post-row__excerpt{font-size:15px;line-height:1.5;color:var(--muted);display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.post-row__author{margin-top:4px;display:flex;align-items:center;gap:8px;font-size:13px;color:var(--muted)}
.load-more{margin:20px auto 0;display:flex;height:46px;padding:0 22px}
.pager{margin-top:24px;display:flex;flex-wrap:wrap;justify-content:center;gap:6px}
.pager .page-numbers,.pager>a,.pager>span{min-width:42px;height:42px;display:grid;place-items:center;padding:0 12px;border:1px solid var(--line);border-radius:12px;background:var(--card);font-size:15px;font-weight:700;color:var(--ink)}
.pager .page-numbers.current,.pager>span.current{background:var(--blue);border-color:var(--blue);color:#fff}
.pager .dots{border:0;background:none}
.pager a:hover{border-color:var(--blue);color:var(--blue)}
.aside{display:flex;flex-direction:column;gap:28px;min-width:0}
.rank-list{list-style:none;margin:12px 0 0;padding:0}
.rank-list li+li{border-top:1px solid var(--line)}
.rank-list a{display:grid;grid-template-columns:34px minmax(0,1fr);gap:10px;padding:12px 0;color:var(--ink)}
.rank-list a:hover{color:var(--blue)}
.rank-list b{font-size:24px;font-weight:800;line-height:1;letter-spacing:-.04em;color:var(--rank)}
.rank-list li:nth-child(-n+3) b{color:var(--blue)}
.rank-list strong{display:block;font-size:15px;line-height:1.35}
.rank-list small{font-size:13px;color:var(--muted)}
.topics{margin-top:12px;display:flex;flex-wrap:wrap;gap:8px}
.topics .chip{border-radius:10px;padding:8px 12px}
.cta-dark{display:flex;align-items:center;gap:14px;padding:18px;border-radius:18px;background:#0b1638;color:#fff}
.cta-dark:hover{background:#13214d;color:#fff}
.cta-dark__emo{font-size:34px}
.cta-dark span{flex:1;min-width:0}
.cta-dark .emo{flex:none}
.cta-dark strong{display:block;font-size:16px}
.cta-dark small{font-size:14px;color:#aab5d3}
html.dark .cta-dark{background:#16224a}

/* Article */
.progress{position:fixed;left:0;top:0;z-index:60;height:3px;width:0;background:var(--blue);transition:width .1s linear}
.article-head{margin-top:18px;max-width:840px}
.article-title{margin-top:14px;font-size:clamp(30px,5vw,50px);line-height:1.08;font-weight:800;letter-spacing:-.03em;text-wrap:pretty;overflow-wrap:anywhere}
.article-lead{margin-top:14px;font-size:clamp(17px,1.8vw,19px);color:var(--text2);text-wrap:pretty}
.byline{margin-top:20px;display:flex;align-items:center;gap:12px;flex-wrap:wrap}
.byline .author__txt{line-height:1.35}
.pill-btn{flex:none;display:flex;align-items:center;gap:6px;height:40px;padding:0 14px;border:1px solid var(--line2);background:var(--card);border-radius:999px;font-size:14px;font-weight:700;white-space:nowrap}
.hero-tile{margin-top:24px;aspect-ratio:21/8;border-radius:26px}
.hero-tile::before{background-size:18px 18px}
.hero-tile .tile__art{font-size:clamp(48px,9vw,112px)}
.article-layout{margin-top:32px;display:grid;grid-template-columns:minmax(0,1fr);gap:56px;align-items:start}
.prose{min-width:0;max-width:740px}
.entry{color:var(--body);overflow-wrap:break-word}
.entry>*{margin:0 0 16px}
.entry h2{margin:32px 0 12px;font-size:clamp(22px,2.6vw,28px);line-height:1.2;font-weight:800;letter-spacing:-.02em;color:var(--ink);scroll-margin-top:84px}
.entry h3{margin:26px 0 10px;font-size:clamp(19px,2.1vw,22px);line-height:1.3;font-weight:800;color:var(--ink)}
.entry h4{margin:22px 0 8px;font-size:18px;color:var(--ink)}
.entry p{color:var(--body)}
.entry ul,.entry ol{padding-left:22px;font-size:17px;line-height:1.65}
.entry li{margin-bottom:6px}
.entry a{text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:3px}
.entry img,.entry video,.entry iframe{max-width:100%;border-radius:14px}
.entry figure{margin-inline:0}
.entry figcaption{margin-top:6px;font-size:14px;color:var(--muted);text-align:center}
.entry blockquote{margin-inline:0;padding:14px 18px;border-left:4px solid var(--blue);background:var(--soft);border-radius:0 14px 14px 0}
.entry blockquote p{margin:0}
.entry pre{padding:14px 16px;overflow-x:auto;background:var(--card2);border:1px solid var(--line);border-radius:12px;font-size:14px}
.entry code{font-size:.92em;padding:2px 6px;border-radius:6px;background:var(--soft)}
.entry pre code{padding:0;background:none}
.entry table{width:100%;border-collapse:collapse;font-size:15px;display:block;overflow-x:auto}
.entry th,.entry td{padding:10px 14px;border:1px solid var(--line);text-align:left;vertical-align:top}
.entry th{background:var(--soft);color:var(--muted);font-size:13px}
.entry hr{border:0;border-top:1px solid var(--line);margin:28px 0}
.entry .aligncenter{margin-inline:auto;display:block}
.entry .alignleft{float:left;margin:0 18px 12px 0}
.entry .alignright{float:right;margin:0 0 12px 18px}
.entry .wp-block-table table{display:table}
.entry .wp-block-button__link{display:inline-flex;padding:10px 18px;border-radius:10px;background:var(--blue);color:#fff;text-decoration:none;font-weight:700}
.post-tags{margin-top:24px;display:flex;flex-wrap:wrap;gap:8px}
.post-tags .chip{padding:6px 12px;font-size:13px}
.toc-inline{margin-bottom:8px;background:var(--soft);border-radius:14px}
.toc-inline summary{list-style:none;display:flex;align-items:center;gap:10px;padding:14px 16px;font-size:15px;font-weight:700;cursor:pointer}
.toc-inline summary::-webkit-details-marker{display:none}
.toc-inline summary span{flex:1}
.toc-inline summary .ic{font-size:18px;transition:transform .2s}
.toc-inline summary .ic:first-child{color:var(--blue)}
.toc-inline[open] summary .ic:last-child{transform:rotate(180deg)}
.toc-inline ol{margin:0;padding:0 16px 14px 40px;font-size:15px;line-height:1.5}
.toc-inline li{padding:5px 0}
.toc-inline a{color:var(--ink);font-weight:600}
.toc-side{display:none;position:sticky;top:84px;flex-direction:column;gap:18px}
.toc-side__label{font-size:13px;font-weight:800;letter-spacing:.06em;text-transform:uppercase;color:var(--faint)}
.toc-side nav{margin-top:10px;display:flex;flex-direction:column;gap:2px}
.toc-side nav a{display:block;padding:8px 10px;border-radius:10px;font-size:14px;font-weight:600;line-height:1.35;color:var(--text2)}
.toc-side nav a:hover{color:var(--blue)}
.toc-side nav a.is-active{background:var(--soft);color:var(--blue)}
.share{margin-top:36px;padding-top:20px;border-top:1px solid var(--line);display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.share__label{margin-right:4px;font-size:15px;font-weight:700}
.share a,.share button{width:40px;height:40px;display:grid;place-items:center;border:0;border-radius:12px;background:var(--sb);color:#fff;font-size:19px;padding:0}
.share a:hover{color:#fff;opacity:.9}
.article-fb{margin-top:24px}
.article-fb h2{margin:0;font-size:20px;font-weight:800}
.article-fb .fb-grid,.article-fb .fb-form,.article-fb .fb-done{margin-top:14px}
.article-fb .fb-btn{height:58px;font-size:16px}
.prevnext{margin-top:24px;display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,240px),1fr));gap:12px}
.prevnext a{display:flex;flex-direction:column;gap:4px;padding:14px 16px;color:var(--ink)}
.prevnext a:hover{color:var(--ink);border-color:var(--hover-line)}
.prevnext small{display:flex;align-items:center;gap:4px;font-size:13px;color:var(--muted)}
.prevnext strong{font-size:15px;line-height:1.35}
.prevnext .is-next{text-align:right}
.prevnext .is-next small{justify-content:flex-end}
.related{padding-block:48px 56px}
.related-grid{margin-top:16px;display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,300px),1fr));gap:16px}
.rel-card{display:flex;flex-direction:column;gap:12px;min-width:0;padding:12px;background:var(--card);border:1px solid var(--line);border-radius:18px;color:var(--ink)}
.rel-card:hover{color:var(--ink);border-color:var(--hover-line)}
.rel-card .tile{aspect-ratio:16/9}
.rel-card .tile::before{background-size:12px 12px}
.rel-card .tile__art{font-size:32px}
.rel-card h3{font-size:18px;line-height:1.3;font-weight:800;text-wrap:pretty}

/* Comments */
.comments{margin-top:32px;padding-top:24px;border-top:1px solid var(--line)}
.comments h2,.comment-reply-title{font-size:22px;font-weight:800;margin:0 0 14px}
.comment-list{list-style:none;margin:0 0 20px;padding:0}
.comment-list .children{list-style:none;padding-left:20px}
.comment-body{margin-bottom:12px;padding:14px 16px;background:var(--card);border:1px solid var(--line);border-radius:14px}
.comment-meta{font-size:13px;color:var(--muted)}
.comment-meta .fn{font-size:15px;font-style:normal;font-weight:700;color:var(--ink)}
.comment-content p{font-size:16px;margin-top:8px}
.reply a{font-size:13px;font-weight:700}
.comment-form{display:flex;flex-direction:column;gap:10px}
.comment-form label{display:block;font-size:14px;font-weight:600;margin-bottom:4px}
.comment-form input[type=text],.comment-form input[type=email],.comment-form input[type=url],.comment-form textarea{width:100%;padding:10px 12px;border:1px solid var(--line2);border-radius:10px;background:var(--card);font-size:16px}
.comment-form .comment-form-cookies-consent{display:flex;gap:8px;align-items:flex-start;font-size:14px}
.comment-form .comment-form-cookies-consent label{font-weight:500}

/* 404 */
.nf__box{margin:28px auto 0;max-width:720px;text-align:center;display:flex;flex-direction:column;align-items:center;gap:6px}
.nf__art{font-size:clamp(48px,9vw,84px);font-weight:600;color:var(--blue);margin-bottom:10px}
.nf__box .page-lead{margin-inline:auto}
.nf__search{margin-top:18px;width:100%;max-width:520px;flex:none}
.nf__search .btn-primary{height:40px}
.nf__links{margin-top:16px;display:flex;flex-wrap:wrap;justify-content:center;gap:10px}
.nf__links .btn-primary,.nf__links .btn-outline{height:44px}

/* Animations */
@keyframes glFloat{0%,100%{transform:translateY(0)}50%{transform:translateY(-8px)}}
@keyframes glMarquee{from{transform:translateX(0)}to{transform:translateX(-50%)}}
@keyframes glMarqueeR{from{transform:translateX(-50%)}to{transform:translateX(0)}}
@keyframes glToast{from{opacity:0;transform:translate(-50%,10px)}to{opacity:1;transform:translate(-50%,0)}}
@keyframes glSheet{from{transform:translateY(100%)}to{transform:translateY(0)}}
@keyframes glSpin{to{transform:rotate(360deg)}}
@media (prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important}html{scroll-behavior:auto}}

/* ≥760px */
@media (min-width:760px){
  .kbd-group{display:flex}
  .only-desk{display:inline}.only-mob{display:none}
  .hero__art{display:block}
  .perks{grid-template-columns:repeat(auto-fit,minmax(210px,1fr))}
  .perk{padding:6px 20px}
  .perk+.perk{border-left:1px solid var(--line)}
}
/* ≥1000px */
@media (min-width:1000px){
  .nav{display:block}
  .blog-layout{grid-template-columns:minmax(0,1fr) 320px}
  .aside{position:sticky;top:84px}
  .article-layout{grid-template-columns:minmax(0,1fr) 280px}
  .article-layout--single{grid-template-columns:minmax(0,1fr)}
  .toc-side{display:flex}
  .toc-inline{display:none}
}
/* <760px: edge-to-edge content */
@media (max-width:759px){
  .box,.box--lg{background:transparent;border:0;border-radius:0;padding:0}
  .gen--inline{padding:16px;background:var(--card);border:1px solid var(--line);border-radius:18px}
  .lib-grid{gap:10px}
  .podium__item--1{--h:92px}.podium__item--2{--h:64px}.podium__item--3{--h:48px}
  .table-wrap{overflow:visible;background:none;border:0;border-radius:0}
  .table thead{display:none}
  .table,.table tbody,.table tr,.table td{display:block;width:100%}
  .table tr{margin-bottom:10px;padding:12px 14px;background:var(--card);border:1px solid var(--line);border-radius:14px}
  .table td{display:flex;justify-content:space-between;gap:12px;padding:4px 0;border:0;font-size:15px;text-align:right}
  .table td::before{content:attr(data-label);flex:none;text-align:left;font-weight:600;color:var(--muted)}
  .table td:first-child{padding-bottom:6px;font-size:17px;font-weight:800;text-align:left}
  .table td:first-child::before{display:none}
  .site-footer{padding-bottom:92px}
  .dock{display:grid}
  .toast{bottom:96px}
  .feat-card{grid-template-columns:minmax(0,1fr);background:none;border:0;border-radius:0}
  .feat-card:hover{box-shadow:none}
  .feat-card .tile{min-height:210px;border-radius:20px}
  .feat-card__body{padding:16px 0 0}
  .field{max-width:none}
  .post-list{gap:0}
  .post-row{grid-template-columns:minmax(0,1fr) 92px;gap:14px;padding:16px 0;background:none;border:0;border-top:1px solid var(--line);border-radius:0}
  .post-row:first-child{border-top:0}
  .post-row .tile{order:2;aspect-ratio:1/1}
  .post-row .tile__art{font-size:17px}
  .post-row__author{display:none}
  .hero-tile{aspect-ratio:16/10;border-radius:18px}
  .related-grid{gap:28px}
  .rel-card{padding:0;background:none;border:0;border-radius:0}
  .studio-input{padding-left:12px;gap:6px}
  .studio-input>.ic{display:none}
  .studio-input input{font-size:17px}
  .studio-input .btn-dark{padding:0 12px}
  .studio-input .btn-primary{padding:0 14px}
  .g-deco__row{grid-template-columns:minmax(0,1fr)}
  .footer-brand{grid-column:1/-1}
}
@media (max-width:380px){
  .logo span:last-child{font-size:19px}
  .studio-input .btn-primary .ic{display:none}
}
