/*
Theme Name: NickFun
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 8.1
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: nickfun
Tags: one-column, custom-menu, translation-ready
*/

/* Breakpoints: 400 / 560 / 620 / 640 / 860 / 900 / 1024.
   Mobile side gutter is locked to 15px via --gutter. */

:root{
  --ink:#171b33; --ink-2:#262b45; --ink-3:#33384f;
  --muted:#6a7089; --muted-2:#7b8098; --muted-3:#9aa0b5;
  --line:#eceef5; --line-2:#e6e8f0; --line-3:#f1f2f7;
  --blue:#3b82f6; --blue-d:#1d4ed8; --indigo:#6366f1; --indigo-d:#4f46e5;
  --purple:#a855f7; --purple-d:#7c3aed; --pink:#ec4899; --yellow:#fbcf33;
  --green:#16a34a;
  --grad:linear-gradient(95deg,#3b82f6 0%,#8b5cf6 55%,#a855f7 100%);
  --grad-band:linear-gradient(95deg,#3b82f6 0%,#7c3aed 46%,#c026d3 74%,#ec4899 100%);
  --grad-btn:linear-gradient(95deg,#3b82f6,#6366f1);
  --gutter:clamp(15px,3vw,28px);
  --sans:'Nunito',system-ui,-apple-system,Segoe UI,sans-serif;
  --display:'Poppins',var(--sans);
  --glyph:'Noto Sans Symbols 2','Segoe UI Symbol','Apple Symbols',var(--sans);
  --mono:ui-monospace,SFMono-Regular,Menlo,monospace;
  --r-sm:8px; --r:11px; --r-md:14px; --r-lg:18px;
  --sh-card:0 8px 24px -20px rgba(30,35,64,.55);
  --sh-soft:0 6px 18px -14px rgba(30,35,64,.4);
  --sh-band:0 20px 44px -28px rgba(124,58,237,.75);
}

*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%}
body{
  margin:0; background:#fff; color:var(--ink-3);
  font-family:var(--sans); font-weight:600;
  -webkit-font-smoothing:antialiased; overflow-x:hidden;
}
img,svg,iframe,video{display:block;max-width:100%}
img{height:auto}
[hidden]{display:none !important}
a{color:var(--indigo);text-decoration:none}
a:hover{color:var(--indigo-d)}
button{font:inherit;color:inherit;cursor:pointer}
input,select,textarea{font:inherit}
::placeholder{color:#b4b8c5}
h1,h2,h3,h4,h5,h6,p{margin:0}
ul,ol{margin:0;padding:0}
:focus-visible{outline:2px solid var(--indigo);outline-offset:2px}

/* ---------- layout ---------- */
.wrap{width:100%;max-width:1024px;margin:0 auto;padding-inline:var(--gutter)}
.wrap--narrow{max-width:800px}
.prose-col{max-width:680px;margin-inline:auto}
.sec{padding-top:clamp(26px,4.5vw,40px)}
.spacer{height:48px}
.sr,.screen-reader-text{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.skip{position:absolute;left:-9999px;top:0;z-index:100;background:#fff;color:var(--indigo-d);
  padding:10px 16px;border-radius:0 0 var(--r) 0;font-size:13px;font-weight:800}
.skip:focus{left:0}

/* ---------- header ---------- */
.hdr{position:relative;z-index:50;border-bottom:1px solid var(--line-3);background:rgba(255,255,255,.92);backdrop-filter:blur(10px)}
.hdr__inner{display:flex;align-items:center;justify-content:space-between;gap:16px;height:66px}
.logo{display:flex;align-items:center;gap:6px;position:relative;flex:none}
.logo__word{
  font-family:var(--display);font-weight:800;letter-spacing:-.02em;line-height:1;
  font-size:clamp(19px,4.2vw,26px);white-space:nowrap;
  background:linear-gradient(90deg,#1e2340 0%,#1e2340 62%,#7c3aed 100%);
  -webkit-background-clip:text;background-clip:text;color:transparent;
}
.logo__img{max-height:40px;width:auto}
.logo__s1{width:15px;height:15px;color:#60a5fa;margin-bottom:14px;flex:none}
.logo__s2{width:13px;height:13px;color:var(--purple);margin:0 0 16px -2px;flex:none}
.logo__s3{width:9px;height:9px;color:#22d3ee;position:absolute;right:-12px;top:26px}
.nav{display:flex;align-items:center;gap:clamp(14px,2.4vw,28px);font-size:14.5px;list-style:none}
.nav li{position:relative}
.nav a{display:inline-flex;align-items:center;gap:4px;white-space:nowrap;
  color:#4b5168;padding-bottom:3px;border-bottom:2px solid transparent}
.nav a:hover{color:var(--ink)}
.nav .current-menu-item>a,.nav .current_page_item>a,.nav .current-menu-ancestor>a,.nav .current-post-ancestor>a{
  color:#1e2340;border-bottom-color:var(--indigo)}
.nav .sub-menu{display:none}
.hdr__actions{display:flex;align-items:center;gap:10px;flex:none}
.btn-icon{width:34px;height:34px;border-radius:50%;border:1.5px solid #e6d9fb;background:#fff;display:grid;place-items:center;padding:0}
.btn-icon svg{width:17px;height:17px;stroke:var(--purple);fill:none}
.burger{display:none;width:34px;height:34px;border-radius:9px;border:1.5px solid #e5e7f0;background:#fff;place-items:center;padding:0}
.burger svg{width:19px;height:19px;stroke:#3b415c;fill:none}
.hdr__search{display:none;border-top:1px solid var(--line-3);background:#fff;padding:12px 0}
.hdr__search.is-open{display:block}

@media (max-width:860px){
  #site-nav{display:none;position:absolute;left:0;right:0;top:100%;
    background:#fff;border-top:1px solid var(--line-3);border-bottom:1px solid var(--line-3);
    padding:6px var(--gutter) 14px;box-shadow:0 18px 30px -26px rgba(30,35,64,.7)}
  #site-nav.is-open{display:block}
  .nav{flex-direction:column;align-items:stretch;gap:0}
  .nav a{display:flex;padding:11px 2px;font-size:15px;font-weight:700;color:#3b415c;border-bottom:1px solid #f5f6fa}
  .nav .current-menu-item>a,.nav .current_page_item>a{color:var(--indigo-d);border-bottom-color:#f5f6fa}
  .burger{display:grid}
}

/* ---------- decorative shapes (desktop only) ---------- */
.decor{display:none}
@media (min-width:1024px){.decor{display:block;position:absolute;inset:0;pointer-events:none;z-index:0}}
.decor > *{position:absolute}
@keyframes twinkle{0%,100%{opacity:.35;transform:scale(.85)}50%{opacity:1;transform:scale(1.1)}}
@keyframes floaty{0%,100%{transform:translateY(0) rotate(-18deg)}50%{transform:translateY(-10px) rotate(-14deg)}}
.tw{animation:twinkle 4s ease-in-out infinite}
.tw--2{animation-duration:5s;animation-delay:.6s}
.tw--3{animation-duration:4.5s;animation-delay:.3s}
.ring{border-radius:50%}
.dots{display:grid}
.dots span{border-radius:50%}

/* ---------- hero ---------- */
.hero{position:relative;z-index:1;padding-top:clamp(30px,5vw,46px);text-align:center}
.hero__title{font-family:var(--display);font-size:clamp(25px,5.2vw,35px);font-weight:800;letter-spacing:-.025em;line-height:1.15;color:var(--ink);text-wrap:balance}
.hero__title .b{color:var(--blue)}
.hero__title .p{color:var(--purple)}
.hero__sub{margin-top:12px;font-family:var(--display);font-size:clamp(16px,3.5vw,19.5px);font-weight:700;color:#232842;text-wrap:balance}
.u-mark{text-decoration:underline;text-decoration-color:var(--yellow);text-decoration-thickness:3px;text-underline-offset:5px}
.hero__note{margin-top:16px;font-size:clamp(12px,2.6vw,14px);font-weight:600;color:var(--muted);letter-spacing:.01em}
.hero > p.wp-block-paragraph{max-width:760px;margin:26px auto 0;text-align:left;font-size:clamp(15px,2.9vw,16.5px);font-weight:500;color:var(--ink-3);line-height:1.85;text-wrap:pretty;overflow-wrap:break-word}

/* ---------- name maker ---------- */
.maker{position:relative;z-index:1;width:100%;max-width:796px;margin:30px auto 0;
  border:1.5px solid #d9d5fb;border-radius:16px;padding:20px 22px 22px;
  background:linear-gradient(180deg,#fbfaff 0%,#fff 100%);
  box-shadow:0 10px 34px -22px rgba(80,60,190,.35)}
.maker__step{display:flex;align-items:center;gap:9px}
.badge-step{font-size:9.5px;font-weight:800;letter-spacing:.08em;color:#6d5fd6;background:#ede9fe;border-radius:999px;padding:4px 9px;white-space:nowrap}
.maker__label{font-size:13.5px;font-weight:700;color:var(--ink-2)}
.maker__grid{display:grid;grid-template-columns:minmax(0,1fr) 210px;gap:22px;align-items:end;margin-top:12px}
.field{position:relative;min-width:0}
.field__count{position:absolute;right:12px;top:-16px;font-size:11px;font-weight:700;color:var(--muted-3)}
.input-row{display:flex;align-items:center;gap:10px;height:50px;border:1.5px solid #e3e5ee;border-radius:var(--r);background:#fff;padding:0 12px}
.input-row:focus-within{border-color:#c7bff7;box-shadow:0 0 0 3px rgba(139,92,246,.12)}
.input-row > svg{width:19px;height:19px;flex:none;stroke:#8b90a6;fill:none}
.input{flex:1;min-width:0;border:0;outline:0;background:transparent;font-size:15px;font-weight:600;color:var(--ink-2)}
.clear{width:19px;height:19px;flex:none;border:0;border-radius:50%;background:#dfe2ec;display:grid;place-items:center;padding:0}
.clear svg{width:11px;height:11px;stroke:#fff;fill:none}
.maker__act{position:relative}
.maker__act .badge-step{position:absolute;right:0;top:-26px}
.btn-gen{width:100%;height:50px;border:0;border-radius:var(--r);background:var(--grad);color:#fff;
  font-family:var(--display);font-size:15px;font-weight:700;letter-spacing:.04em;
  display:inline-flex;align-items:center;justify-content:center;gap:8px;
  box-shadow:0 10px 20px -10px rgba(124,58,237,.7)}
.btn-gen:hover{filter:brightness(1.05)}
.btn-gen[disabled]{opacity:.65;cursor:progress}
.btn-gen svg{width:16px;height:16px;fill:currentColor}
.maker__styles{margin-top:18px;font-size:12.5px;font-weight:700;color:#3b415c}
.chips{margin-top:10px;display:flex;flex-wrap:wrap;gap:5px}
.chips .chip{height:38px;padding:0 12px;border-radius:9px;border:1.5px solid var(--line-2);background:#fff;color:#454b64;
  display:inline-flex;align-items:center;gap:6px;font-size:12px;font-weight:700;white-space:nowrap}
.chips .chip svg{width:15px;height:15px}
.chips .chip:hover{border-color:#c7d2fe}
.chips .chip.is-on{border-color:transparent;background:var(--grad-btn);color:#fff;box-shadow:0 8px 16px -10px rgba(59,130,246,.9)}
.deco{margin-top:14px;display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:8px}
.deco select{width:100%;height:40px;padding:0 10px;border:1.5px solid var(--line-2);border-radius:9px;background:#fff;
  color:#454b64;font-size:13px;font-weight:400;font-family:var(--glyph),var(--sans)}
.deco select:focus{border-color:#c7bff7;outline:0}
.pill-free{position:relative;z-index:1;display:flex;justify-content:center;margin-top:22px}
.pill-free span{display:inline-flex;align-items:center;gap:7px;background:#f3f4f9;border-radius:999px;padding:8px 16px;font-size:12.5px;font-weight:700;color:#454b64;text-align:center}
.pill-free svg{width:14px;height:14px;color:#fbbf24;flex:none}

/* ---------- results ---------- */
.res{position:relative;z-index:1;width:100%;max-width:900px;margin:26px auto 0;scroll-margin-top:20px}
.res__head{display:flex;align-items:baseline;justify-content:space-between;gap:12px;flex-wrap:wrap}.res__for{font-family:var(--display);font-size:clamp(17px,3.4vw,22px);color:var(--ink);letter-spacing:-.015em;min-width:0;overflow-wrap:anywhere}
.res__count{font-size:12.5px;font-weight:700;color:var(--muted-3)}
.res__sec{margin-top:22px}
.res__title{font-family:var(--display);font-size:15px;font-weight:700;color:#3b415c;display:flex;align-items:center;gap:8px}
.res__title::before{content:"";width:5px;height:16px;border-radius:3px;background:var(--grad-btn);flex:none}
.nicks{margin-top:12px;display:flex;flex-wrap:wrap;gap:12px}
.nick{flex:1 1 auto;max-width:420px;min-width:0;min-height:56px;display:flex;align-items:center;justify-content:space-between;gap:10px;
  padding:8px 14px;border:1.5px solid var(--line);border-radius:12px;background:#fff;box-shadow:0 6px 18px -15px rgba(30,35,64,.45)}
.nick:hover{border-color:#c7d2fe}
.nick__text{font-family:var(--glyph),var(--sans);font-size:15px;font-weight:400;color:#1c2138;letter-spacing:.02em;
  text-align:left;overflow-wrap:anywhere;min-width:0;line-height:1.6}
.nick__tag{display:block;font-family:var(--sans);font-size:10px;font-weight:700;color:var(--muted-3);letter-spacing:.05em;text-transform:uppercase}
.nick__copy{border:0;background:transparent;padding:0;display:grid;place-items:center;flex:none;color:var(--blue)}
.nick__copy--pink{color:var(--pink)}
.nick__copy svg{width:18px;height:18px;fill:none}
.nick__copy.is-done{color:var(--green)}
.strip{margin-top:12px;display:flex;flex-wrap:wrap;gap:6px}
.strip button{flex:1 1 auto;max-width:124px;font-weight:400;min-width:44px;min-height:40px;padding:0 8px;border:1.5px solid var(--line-2);border-radius:10px;background:#fff;
  font-family:var(--glyph),var(--sans);font-size:18px;line-height:1;display:inline-flex;align-items:center;justify-content:center}
.strip button:hover{border-color:#c7d2fe;background:#f8f9ff}
.res__empty,.state{border:1.5px dashed #dfe2ec;border-radius:var(--r-md);padding:26px 18px;text-align:center;
  font-size:13.5px;font-weight:600;color:var(--muted-3)}
.suggest{margin-top:16px;font-size:13px;font-weight:600;color:var(--muted)}
.suggest a{margin-right:12px}
.skel{display:grid;grid-template-columns:repeat(auto-fit,minmax(232px,1fr));gap:12px;margin-top:12px}
.skel i{display:block;height:56px;border-radius:12px;background:linear-gradient(90deg,#f2f3f8 25%,#e9ebf4 37%,#f2f3f8 63%);
  background-size:400% 100%;animation:shim 1.2s ease-in-out infinite}
@keyframes shim{0%{background-position:100% 0}100%{background-position:0 0}}

/* ---------- community block ---------- */
.comm{position:relative;z-index:1;width:100%;max-width:900px;margin:34px auto 0}
.comm__block{border:1.5px solid var(--line);border-radius:var(--r-md);background:#fff;padding:clamp(14px,2.4vw,20px);
  box-shadow:var(--sh-card);margin-top:14px}
.comm__h{font-family:var(--display);font-size:14.5px;font-weight:700;color:var(--ink-2);display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.comm__name{color:var(--indigo-d);overflow-wrap:anywhere}
.tiles{margin-top:12px;display:flex;flex-wrap:wrap;gap:8px}
.tile{display:inline-flex;flex:1 1 auto;justify-content:space-between;align-items:center;gap:8px;max-width:420px;min-width:0;padding:6px 8px 6px 12px;border:1.5px solid var(--line-2);
  border-radius:10px;background:#fff}
.tile:hover{border-color:#c7d2fe}
.tile__nm{font-family:var(--glyph),var(--sans);font-size:14.5px;font-weight:400;color:#1c2138;line-height:1.7;
  min-width:0;overflow-wrap:anywhere}
.tile button{border:0;background:transparent;padding:2px 4px;border-radius:6px;font-size:12px;font-weight:700;color:var(--muted);display:inline-flex;align-items:center;gap:4px}
.tile button:hover{background:#f3f4f9;color:var(--ink-2)}
.tile button svg{width:14px;height:14px;fill:none;stroke:currentColor}
.tile .is-done{color:var(--green)}
.comm__form{margin-top:12px;display:flex;gap:8px;flex-wrap:wrap}
.comm__form .input-row{flex:1;min-width:200px}
.btn-sm{height:44px;padding:0 18px;border:0;border-radius:var(--r);background:var(--grad-btn);color:#fff;
  font-size:12.5px;font-weight:800;letter-spacing:.05em;display:inline-flex;align-items:center;gap:8px;white-space:nowrap}
.btn-sm:hover{filter:brightness(1.05);color:#fff}
.comm__note{margin-top:8px;font-size:11.5px;font-weight:600;color:var(--muted-3)}

/* ---------- category cards ---------- */
.cats{position:relative;z-index:1;width:100%;max-width:900px;margin:40px auto 0;
  display:grid;grid-template-columns:repeat(auto-fit,minmax(156px,1fr));gap:14px}
.cat{min-width:0;display:flex;align-items:center;gap:9px;padding:13px 11px;
  border:1.5px solid var(--line);border-radius:13px;background:#fff;box-shadow:var(--sh-soft)}
.cat:hover{border-color:#c7d2fe}
.cat__icon{width:37px;height:37px;border-radius:10px;flex:none;display:grid;place-items:center}
.cat__icon svg{width:19px;height:19px}
.cat__title{display:block;font-family:var(--display);font-size:12px;font-weight:700;color:#1e2340;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.cat__sub{display:block;font-size:10.5px;font-weight:600;color:#8b90a6;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.i-green{background:#dcfce7;color:var(--green)}
.i-pink{background:linear-gradient(135deg,#f472b6,#ec4899);color:#fff}
.i-blue{background:#dbeafe;color:var(--blue-d)}
.i-amber{background:#fef3c7;color:#f59e0b}
.i-violet{background:#ede9fe;color:var(--purple-d)}

/* ---------- section titles ---------- */
.sec-title{font-family:var(--display);font-size:clamp(19px,4vw,25px);font-weight:800;color:var(--ink);letter-spacing:-.01em}
.sec-title--center{text-align:center}

/* ---------- popular strip ---------- */
.popular{position:relative;z-index:1;margin-top:46px;text-align:center}
.popular .nicks{width:100%;max-width:826px;margin:24px auto 0}
.btn-outline{margin-top:26px;height:42px;padding:0 20px;border-radius:10px;border:1.5px solid #c7d2fe;background:#fff;color:var(--indigo-d);
  font-size:12.5px;font-weight:800;letter-spacing:.06em;display:inline-flex;align-items:center;gap:9px}
.btn-outline:hover{background:#f5f6ff}
.btn-outline svg{width:15px;height:15px;fill:none}

/* ---------- stats band ---------- */
.stats{position:relative;z-index:1;width:100%;max-width:848px;margin:34px auto 0;border-radius:var(--r-lg);
  background:var(--grad-band);color:#fff;padding:clamp(24px,4vw,30px) 0;box-shadow:var(--sh-band);
  display:grid;grid-template-columns:repeat(auto-fit,minmax(178px,1fr))}
.stat{text-align:center;padding:8px 6px}
.stat svg{width:28px;height:28px;margin:0 auto 12px;fill:none;stroke:currentColor}
.stat__val{font-family:var(--display);font-size:26px;font-weight:800;letter-spacing:-.01em}
.stat__label{margin-top:4px;font-size:12.5px;font-weight:600;opacity:.92}
@media (min-width:900px){.stat:nth-child(2){border-right:1px solid rgba(255,255,255,.28)}}

/* ---------- how it works ---------- */
.how{position:relative;z-index:1;margin-top:44px;text-align:center;padding-bottom:54px}
.steps{width:100%;max-width:760px;margin:30px auto 0;display:grid;gap:26px 18px;grid-template-columns:minmax(0,1fr);align-items:start}
.step{text-align:center;min-width:0}
.step__circle{width:66px;height:66px;border-radius:50%;margin:0 auto;display:grid;place-items:center}
.step__circle svg{width:26px;height:26px;fill:none;stroke:currentColor}
.step__title{margin-top:15px;font-family:var(--display);font-size:14px;font-weight:700;color:#1e2340}
.step__desc{margin-top:6px;font-size:12.5px;font-weight:600;color:#8b90a6;line-height:1.55}
.step__arrow{display:none;place-items:center;padding-top:27px}
.step__arrow svg{width:58px;height:14px}
@media (min-width:560px){.steps{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (min-width:900px){
  .steps{grid-template-columns:minmax(0,1fr) 60px minmax(0,1fr) 60px minmax(0,1fr) 60px minmax(0,1fr);gap:0}
  .step__arrow{display:grid}
}

/* ---------- footer ---------- */
.ftr{position:relative;background:#f8f8fc;border-top:1px solid #eef0f6;overflow:hidden;margin-top:auto}
.ftr__decor{display:none}
@media (min-width:900px){.ftr__decor{display:block;position:absolute;inset:0;pointer-events:none}}
.ftr__decor > *{position:absolute}
.ftr__inner{position:relative;padding-top:34px}
.ftr__grid{display:grid;grid-template-columns:1fr 1fr;gap:28px 20px}
.ftr__about{min-width:0}
.ftr__logo{display:flex;align-items:center;gap:5px}
.ftr__logo .logo__word{font-size:21px}
.ftr__logo .logo__s1{width:12px;height:12px;margin-bottom:12px}
.ftr__logo .logo__s2{width:11px;height:11px;margin-bottom:13px}
.ftr__text{margin-top:14px;max-width:290px;font-size:12.5px;font-weight:600;color:var(--muted);line-height:1.75;text-wrap:pretty}
.socials{margin-top:18px;display:flex;gap:10px}
.social{width:34px;height:34px;border-radius:50%;border:1.5px solid var(--line-2);background:#fff;display:grid;place-items:center}
.social svg{width:15px;height:15px;fill:currentColor}
.social--x{border-color:#dbeafe;color:var(--blue-d)}
.social--fb{border-color:#dbeafe;color:#1d4ed8}
.social--ig{border-color:#fbcfe8;color:#db2777}
.social--yt{border-color:#fde68a;color:#f59e0b}
.social--tg{border-color:#bae6fd;color:#0284c7}
.ftr__col{min-width:0}
.ftr__head{font-family:var(--display);font-size:11.5px;font-weight:700;letter-spacing:.1em;color:#1e2340}
.ftr__list{margin-top:14px;display:flex;flex-direction:column;gap:11px;align-items:flex-start;list-style:none}
.ftr__list a{font-size:12.5px;font-weight:600;color:var(--muted)}
.ftr__list a:hover{color:var(--indigo-d)}
.ftr__bottom{position:relative;margin-top:34px;border-top:1px solid #eaecf3;min-height:62px;
  display:flex;align-items:center;justify-content:center;padding:14px 44px}
.ftr__copy{font-size:12.5px;font-weight:600;color:var(--muted-2);text-align:center}
.totop{position:absolute;right:0;width:32px;height:32px;border-radius:50%;border:1.5px solid #c7d2fe;background:#fff;display:grid;place-items:center;padding:0}
.totop svg{width:15px;height:15px;stroke:var(--indigo-d);fill:none}
@media (min-width:560px){.ftr__grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media (min-width:860px){.ftr__grid{grid-template-columns:290px repeat(3,minmax(0,1fr));gap:26px}}

/* ---------- media placeholders ---------- */
.ph{position:relative;overflow:hidden;background:repeating-linear-gradient(45deg,#eef0f7 0 7px,#e1e4ef 7px 14px)}
.ph img,.feat__media img,.post__thumb img,.rcard__media img,.cover img{width:100%;height:100%;object-fit:cover}

/* ---------- page head ---------- */
.phead{position:relative;overflow:hidden;padding-top:clamp(28px,5vw,48px);text-align:center}
.eyebrow{display:inline-flex;align-items:center;gap:7px;background:#f3f4f9;border-radius:999px;
  padding:7px 15px;font-size:12px;font-weight:800;letter-spacing:.06em;color:#6d5fd6}
.eyebrow svg{width:13px;height:13px;color:var(--purple)}
.phead__title{margin-top:16px;font-family:var(--display);font-size:clamp(26px,5.4vw,38px);font-weight:800;
  letter-spacing:-.025em;line-height:1.15;color:var(--ink);text-wrap:balance}
.phead__lede{margin:12px auto 0;max-width:560px;font-size:clamp(13px,2.6vw,15px);font-weight:600;color:var(--muted);line-height:1.7;text-wrap:pretty}

/* ---------- search + tabs ---------- */
.search{display:flex;align-items:center;gap:10px;height:48px;border:1.5px solid #e3e5ee;border-radius:12px;
  background:#fff;padding:0 14px;box-shadow:0 8px 22px -18px rgba(30,35,64,.5)}
.search:focus-within{border-color:#c7bff7;box-shadow:0 0 0 3px rgba(139,92,246,.12)}
.search > svg{width:18px;height:18px;flex:none;stroke:#8b90a6;fill:none}
.search .input{font-size:14.5px}
.search button[type=submit]{border:0;background:transparent;padding:0;color:var(--indigo-d);font-size:12.5px;font-weight:800;letter-spacing:.05em}
.tabs{margin-top:14px;display:flex;flex-wrap:wrap;gap:8px}
.tab{height:36px;padding:0 13px;border-radius:9px;border:1.5px solid var(--line-2);background:#fff;color:#454b64;
  display:inline-flex;align-items:center;gap:7px;font-size:12.5px;font-weight:700;white-space:nowrap}
.tab:hover{border-color:#c7d2fe}
.tab.is-on{border-color:transparent;background:var(--grad-btn);color:#fff;box-shadow:0 8px 16px -11px rgba(59,130,246,.95)}
.tab__count{font-size:10.5px;font-weight:800;padding:2px 6px;border-radius:5px;background:#f1f2f8;color:#8b90a6}
.tab.is-on .tab__count{background:rgba(255,255,255,.22);color:#fff}

/* ---------- featured ---------- */
.feat{margin-top:26px;display:grid;grid-template-columns:minmax(0,1fr);gap:clamp(16px,3vw,26px);
  border:1.5px solid #e6e2fb;border-radius:16px;padding:clamp(14px,2.4vw,18px);
  background:linear-gradient(180deg,#fbfaff,#fff);box-shadow:0 14px 36px -26px rgba(80,60,190,.5)}
.feat__media{position:relative;min-width:0;min-height:200px;border-radius:12px;overflow:hidden;display:block}
.feat__flag{position:absolute;left:12px;top:12px;background:var(--grad);color:#fff;
  font-size:10.5px;font-weight:800;letter-spacing:.07em;border-radius:999px;padding:5px 11px}
.feat__body{min-width:0;display:flex;flex-direction:column;justify-content:center}
.feat__title{margin-top:12px;font-family:var(--display);font-size:clamp(19px,3.4vw,25px);font-weight:800;
  letter-spacing:-.02em;line-height:1.28;color:var(--ink);text-wrap:balance}
.feat__title a{color:inherit}
.feat__excerpt{margin-top:10px;font-size:13.5px;font-weight:600;color:var(--muted);line-height:1.72;text-wrap:pretty}
.feat__foot{margin-top:18px;display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.btn-read{margin-left:auto;height:38px;padding:0 16px;border-radius:10px;background:linear-gradient(95deg,#3b82f6,#8b5cf6);
  color:#fff;font-size:12px;font-weight:800;letter-spacing:.05em;display:inline-flex;align-items:center;gap:8px;
  white-space:nowrap;box-shadow:0 10px 20px -12px rgba(124,58,237,.8)}
.btn-read:hover{color:#fff;filter:brightness(1.05)}
.btn-read svg{width:14px;height:14px;fill:none}
@media (min-width:620px){.feat{grid-template-columns:minmax(0,44%) minmax(0,1fr)}}

/* ---------- meta / tags / avatars ---------- */
.metarow{display:flex;align-items:center;gap:9px;flex-wrap:wrap}
.tag{font-size:10.5px;font-weight:800;letter-spacing:.06em;border-radius:6px;padding:4px 9px;align-self:flex-start;white-space:nowrap;
  background:#dbeafe;color:var(--blue-d)}
a.tag:hover{filter:brightness(.97)}
.meta{font-size:12px;font-weight:600;color:var(--muted-3)}
.author{display:flex;align-items:center;gap:10px;min-width:0}
.avatar{border-radius:50%;flex:none;display:grid;place-items:center;color:#fff;font-weight:800;overflow:hidden;
  background:linear-gradient(135deg,#a5b4fc,#c4b5fd)}
.avatar--sm{width:26px;height:26px;font-size:10px}
.avatar--md{width:32px;height:32px;font-size:12px}
.avatar--lg{width:40px;height:40px;font-size:14px}
.avatar--xl{width:52px;height:52px;font-size:18px}
.author__name{display:block;font-size:12.5px;font-weight:700;color:var(--ink-2)}
.author__role{font-size:11.5px;font-weight:600;color:var(--muted-3)}

/* ---------- post list ---------- */
.list-head{display:flex;align-items:baseline;justify-content:space-between;gap:12px;flex-wrap:wrap}
.list-count{font-size:12.5px;font-weight:700;color:var(--muted-3)}
.list{margin-top:18px;display:flex;flex-direction:column;gap:14px}
.post{display:flex;flex-direction:column;gap:clamp(12px,2.2vw,18px);
  border:1.5px solid var(--line);border-radius:var(--r-md);background:#fff;padding:clamp(12px,2vw,14px);box-shadow:var(--sh-card)}
.post:hover{border-color:#c7d2fe}
.post__thumb{position:relative;flex:none;width:100%;height:150px;border-radius:10px;overflow:hidden;display:block}
.post__body{min-width:0;flex:1;display:flex;flex-direction:column}
.post__title{margin-top:9px;font-family:var(--display);font-size:clamp(15px,2.8vw,17.5px);font-weight:700;
  letter-spacing:-.015em;line-height:1.35;color:var(--ink);text-wrap:balance}
.post__title a{color:inherit}
.post__excerpt{margin-top:8px;font-size:13px;font-weight:600;color:var(--muted-2);line-height:1.7;text-wrap:pretty}
.post__foot{margin-top:12px;display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.post__author{font-size:11.5px;font-weight:700;color:var(--muted)}
.readmore{margin-left:auto;font-size:11.5px;font-weight:800;letter-spacing:.05em;color:var(--indigo-d);
  display:inline-flex;align-items:center;gap:6px;white-space:nowrap}
.readmore svg{width:13px;height:13px;fill:none}
@media (min-width:620px){
  .post{flex-direction:row;align-items:stretch}
  .post__thumb{width:clamp(140px,20vw,190px);height:auto;min-height:118px}
}
.empty{text-align:center;border:1.5px dashed #dfe2ec;border-radius:var(--r-md);padding:34px 18px;margin-top:4px}
.empty__title{font-family:var(--display);font-size:16px;font-weight:700;color:#3b415c}
.empty__sub{margin-top:8px;font-size:13px;font-weight:600;color:var(--muted-3)}

/* ---------- pagination ---------- */
.pager{margin-top:28px}
.pager .nav-links{display:flex;align-items:center;justify-content:center;gap:8px;flex-wrap:wrap}
.pager .is-prev{transform:rotate(180deg)}
.pager .page-numbers{height:38px;min-width:38px;padding:0 12px;border-radius:10px;border:1.5px solid var(--line-2);
  background:#fff;color:#454b64;display:inline-flex;align-items:center;justify-content:center;gap:6px;font-size:12.5px;font-weight:700}
.pager .page-numbers:hover{border-color:#c7d2fe}
.pager .page-numbers.current{border-color:transparent;background:var(--grad-btn);color:#fff}
.pager .page-numbers.dots{border:0;background:transparent}
.pager .next,.pager .prev{border-color:#c7d2fe;color:var(--indigo-d)}
.pagination{margin-top:22px;display:flex;gap:8px;flex-wrap:wrap;font-size:13px;font-weight:700}

/* ---------- CTA band ---------- */
.cta{margin-top:clamp(34px,5vw,44px);border-radius:var(--r-lg);background:var(--grad-band);color:#fff;
  padding:clamp(22px,4vw,32px);display:flex;flex-wrap:wrap;align-items:center;gap:18px;box-shadow:var(--sh-band)}
.cta__body{min-width:220px;flex:1}
.cta__title{font-family:var(--display);font-size:clamp(18px,3.4vw,23px);font-weight:800;letter-spacing:-.01em}
.cta__sub{margin-top:7px;font-size:13.5px;font-weight:600;opacity:.94;line-height:1.65}
.cta__btn{height:46px;padding:0 22px;border-radius:var(--r);background:#fff;color:#6d28d9;
  font-family:var(--display);font-size:13.5px;font-weight:800;letter-spacing:.04em;
  display:inline-flex;align-items:center;gap:9px;white-space:nowrap}
.cta__btn:hover{color:#5b21b6}
.cta__btn svg{width:16px;height:16px;fill:currentColor}

/* ---------- article ---------- */
.progress{position:sticky;top:0;z-index:40;height:3px;background:var(--line-3)}
.progress__bar{height:100%;width:0;background:linear-gradient(90deg,#3b82f6,#a855f7,#ec4899)}
.crumbs{display:flex;align-items:center;gap:7px;flex-wrap:wrap;font-size:12px;font-weight:700;color:var(--muted-3)}
.crumbs a{color:var(--muted-3)}
.crumbs svg{width:12px;height:12px;stroke:#c8ccd8;fill:none;flex:none}
.crumbs__here{color:var(--indigo-d)}
.art{position:relative;overflow:hidden;padding-top:clamp(22px,4vw,36px)}
.art__meta{margin-top:16px}
.art__title{margin-top:14px;font-family:var(--display);font-size:clamp(25px,5.2vw,38px);font-weight:800;
  letter-spacing:-.028em;line-height:1.18;color:var(--ink);text-wrap:balance}
.art__lede{margin-top:14px;font-size:clamp(14px,2.8vw,17px);font-weight:600;color:var(--muted);line-height:1.7;text-wrap:pretty}
.byline{margin-top:22px;padding:16px 0;border-top:1px solid var(--line-3);border-bottom:1px solid var(--line-3);
  display:flex;align-items:center;gap:12px;flex-wrap:wrap}
.shares{margin-left:auto;display:flex;align-items:center;gap:8px}
.share{width:32px;height:32px;border-radius:9px;flex:none;display:grid;place-items:center;padding:0;
  background:#fff;border:1.5px solid var(--line-2);color:var(--muted)}
.share svg{width:15px;height:15px}
.share--x{border-color:#dbeafe;color:var(--blue-d)}
.share.is-on{border-color:#bbf7d0;background:#f0fdf4;color:var(--green)}
.share.is-saved{border-color:#e9d5ff;background:#faf5ff;color:var(--purple)}
.cover{margin-top:22px;border-radius:var(--r-md);aspect-ratio:16/9;overflow:hidden}
.cover__cap{margin-top:9px;font-size:11.5px;font-weight:600;color:var(--muted-3);text-align:center}
.toc{border:1.5px solid #e6e2fb;border-radius:13px;background:linear-gradient(180deg,#fbfaff,#fff);padding:clamp(15px,2.6vw,20px)}
.toc__head{font-family:var(--display);font-size:11.5px;font-weight:800;letter-spacing:.1em;color:#6d5fd6}
.toc__list{margin-top:12px;display:flex;flex-direction:column;gap:9px;align-items:flex-start;list-style:none}
.toc__list a{font-size:13.5px;font-weight:700;color:#454b64;display:inline-flex;align-items:baseline;gap:9px;text-wrap:pretty}
.toc__list a::before{content:"";width:5px;height:5px;border-radius:50%;background:#a5b4fc;flex:none;position:relative;top:-3px}

/* ---------- prose (post/page content) ---------- */
.prose{max-width:760px;margin-inline:auto;overflow-wrap:break-word}
/* The maker and its result panels sit in the text column but are allowed to use
   the full page width, exactly as they do on a page with no article text. */
.prose > .maker,.prose > .pill-free,.prose > .res,.prose > .comm{
  width:min(900px,calc(100vw - 2 * var(--gutter)));margin-left:50%;transform:translateX(-50%)}
.prose > *:first-child{margin-top:26px}
.prose p,.prose ul,.prose ol,.prose figure,.prose table,.prose pre,.prose blockquote,.prose iframe,.prose .wp-block-embed{margin-top:16px}
.prose p{font-size:clamp(15px,2.9vw,16.5px);font-weight:500;color:var(--ink-3);line-height:1.85;text-wrap:pretty}
.prose h2{margin-top:32px;font-family:var(--display);font-size:clamp(19px,3.6vw,24px);font-weight:800;letter-spacing:-.02em;color:var(--ink);scroll-margin-top:24px;text-wrap:balance}
.prose h3{margin-top:24px;font-family:var(--display);font-size:clamp(16.5px,3vw,19px);font-weight:700;color:var(--ink-2);scroll-margin-top:24px}
.prose h4,.prose h5,.prose h6{margin-top:20px;font-family:var(--display);font-size:16px;font-weight:700;color:var(--ink-2)}
.prose strong,.prose b{color:var(--ink);font-weight:700}
.prose a{text-decoration:underline;text-underline-offset:3px;text-decoration-thickness:1.5px;text-decoration-color:#c7d2fe}
.prose ul,.prose ol{padding-left:22px}
.prose li{margin-top:8px;font-size:clamp(14.5px,2.8vw,16px);font-weight:500;color:var(--ink-3);line-height:1.8}
.prose ul{list-style:disc}
.prose ol{list-style:decimal}
.prose li::marker{color:var(--purple)}
.prose blockquote{border-left:3px solid var(--purple);background:#faf8ff;border-radius:0 var(--r) var(--r) 0;padding:16px 18px}
.prose blockquote p{margin-top:0;font-family:var(--display);font-size:clamp(15px,3vw,17px);font-weight:600;color:#3b2c66;line-height:1.65}
.prose blockquote p + p{margin-top:10px}
.prose img{border-radius:var(--r-md)}
.prose figure{margin-inline:0}
.prose figcaption{margin-top:8px;font-size:11.5px;font-weight:600;color:var(--muted-3);text-align:center}
.prose code{font-family:var(--mono);font-size:.9em;background:#f3f4f9;border-radius:6px;padding:2px 6px;color:#4c3f8a}
.prose pre{background:#1e2340;color:#e6e8f5;border-radius:var(--r-md);padding:16px;overflow-x:auto;font-family:var(--mono);font-size:13px;line-height:1.7}
.prose pre code{background:transparent;color:inherit;padding:0}
.prose hr{margin-top:26px;border:0;border-top:1px solid var(--line-2)}
.prose table{width:100%;border-collapse:collapse;display:block;overflow-x:auto;font-size:14px}
.prose th,.prose td{border:1px solid var(--line-2);padding:9px 12px;text-align:left}
.prose td{font-weight:500}
.prose th{background:#f8f8fc;font-weight:700;color:var(--ink-2)}
.prose .wp-block-image{margin-top:22px}
.prose .aligncenter{margin-inline:auto;text-align:center}
.prose .alignleft{float:left;margin:6px 18px 12px 0;max-width:50%}
.prose .alignright{float:right;margin:6px 0 12px 18px;max-width:50%}
.prose .alignwide{width:min(100vw - 2 * var(--gutter),920px);max-width:none;margin-inline:auto}
.prose .alignfull{width:calc(100vw - 2 * var(--gutter));max-width:none;margin-inline:calc(50% - 50vw + var(--gutter))}
.prose .wp-block-buttons{display:flex;flex-wrap:wrap;gap:10px;margin-top:18px}
.prose .wp-element-button,.prose .wp-block-button__link{display:inline-flex;align-items:center;height:44px;padding:0 20px;
  border-radius:var(--r);background:var(--grad-btn);color:#fff;font-size:13.5px;font-weight:800;text-decoration:none}
.prose .wp-block-separator{margin-top:26px;border:0;border-top:1px solid var(--line-2)}
.prose .mt-3,.prose .mt-4,.prose .my-3,.prose .my-4{margin-top:18px}
.prose .mb-3,.prose .mb-4{margin-bottom:18px}

/* ---------- tags / author box / related ---------- */
.tags{margin-top:30px;padding-top:22px;border-top:1px solid var(--line-3);display:flex;flex-wrap:wrap;gap:8px;align-items:center}
.tags__head{font-size:11.5px;font-weight:800;letter-spacing:.08em;color:var(--muted-3);margin-right:4px}
.tag-link{height:30px;padding:0 11px;border-radius:var(--r-sm);border:1.5px solid var(--line-2);background:#fff;
  color:#454b64;font-size:12px;font-weight:700;display:inline-flex;align-items:center}
.tag-link:hover{border-color:#c7d2fe;color:var(--indigo-d)}
.authorbox{margin-top:26px;border:1.5px solid var(--line);border-radius:var(--r-md);background:#fbfbfe;
  padding:clamp(15px,2.6vw,20px);display:flex;gap:15px;flex-wrap:wrap;align-items:flex-start}
.authorbox__body{min-width:200px;flex:1}
.authorbox__name{font-family:var(--display);font-size:15px;font-weight:700;color:#1e2340}
.authorbox__bio{margin-top:7px;font-size:13px;font-weight:600;color:var(--muted-2);line-height:1.72;text-wrap:pretty}
.related{margin-top:18px;display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:14px}
.rcard{border:1.5px solid var(--line);border-radius:var(--r-md);background:#fff;overflow:hidden;
  box-shadow:var(--sh-card);display:flex;flex-direction:column}
.rcard:hover{border-color:#c7d2fe}
.rcard__media{position:relative;height:128px;display:block}
.rcard__body{padding:14px;display:flex;flex-direction:column;gap:8px}
.rcard__title{display:block;font-family:var(--display);font-size:14.5px;font-weight:700;color:var(--ink);line-height:1.4;text-wrap:balance}
.rcard__meta{display:block;font-size:11.5px;font-weight:600;color:var(--muted-3)}

/* ---------- comments ---------- */
.comments{margin-top:34px;padding-top:26px;border-top:1px solid var(--line-3)}
.comments__list{list-style:none;margin-top:18px;display:flex;flex-direction:column;gap:16px}
.comments__list ul{list-style:none;padding-left:clamp(14px,3vw,32px);margin-top:16px;display:flex;flex-direction:column;gap:16px}
.comment-body{border:1.5px solid var(--line);border-radius:var(--r-md);background:#fff;padding:16px;box-shadow:var(--sh-soft)}
.comment-meta{display:flex;align-items:center;gap:9px;font-size:12px;font-weight:700;color:var(--muted)}
.comment-content{margin-top:10px;font-size:14.5px;font-weight:500;color:var(--ink-3);line-height:1.8}
.comment-respond{margin-top:22px}
.comment-form p{margin-top:12px}
.comment-form label{display:block;font-size:12.5px;font-weight:700;color:#3b415c;margin-bottom:6px}
.comment-form input[type=text],.comment-form input[type=email],.comment-form input[type=url],.comment-form textarea{
  width:100%;border:1.5px solid #e3e5ee;border-radius:var(--r);background:#fff;padding:11px 13px;font-size:14.5px;font-weight:600;color:var(--ink-2)}
.comment-form textarea{min-height:130px;resize:vertical}
.comment-form .submit{height:46px;padding:0 22px;border:0;border-radius:var(--r);background:var(--grad-btn);color:#fff;font-size:13px;font-weight:800;letter-spacing:.04em}

/* ---------- 404 ---------- */
.e404{text-align:center;padding-top:clamp(30px,6vw,60px)}
.e404__num{font-family:var(--display);font-size:clamp(72px,18vw,140px);font-weight:800;line-height:1;letter-spacing:-.04em;
  background:var(--grad-band);-webkit-background-clip:text;background-clip:text;color:transparent}
.e404__links{margin-top:24px;display:flex;flex-wrap:wrap;gap:10px;justify-content:center}
.e404 .search{max-width:460px;margin:24px auto 0}

/* ---------- toast ---------- */
.nf-toast{position:fixed;left:50%;bottom:24px;transform:translate(-50%,16px);z-index:90;opacity:0;pointer-events:none;
  transition:opacity .18s ease,transform .18s ease}
.nf-toast.is-on{opacity:1;transform:translate(-50%,0)}
.nf-toast span{display:block;background:#1e2340;color:#fff;border-radius:999px;padding:10px 18px;font-size:13px;font-weight:700;
  box-shadow:0 16px 30px -18px rgba(30,35,64,.9)}

/* ---------- components used inside published content ---------- */
.drawer{margin-top:18px;border:1.5px solid var(--line);border-radius:var(--r-md);background:#fff;overflow:hidden;box-shadow:var(--sh-card)}
.drawer-head{display:flex;align-items:center;gap:9px;padding:10px 14px;font-family:var(--display);font-size:13px;font-weight:700;color:#1e2340}
.drawer-head .t{flex:1;min-width:0}
.drawer-head .n{font-size:11px;font-weight:800;background:rgba(255,255,255,.55);border-radius:999px;padding:2px 8px}
.drawer-body{display:flex;flex-wrap:wrap;gap:6px;padding:12px 14px}
.drawer-body a{font-size:13.5px;font-weight:700}
.glyph{flex:1 1 auto;min-width:44px;max-width:200px;min-height:42px;padding:0 8px;border:1.5px solid var(--line-2);border-radius:10px;background:#fff;
  font-family:var(--glyph),var(--sans);font-size:17px;font-weight:400;line-height:1;display:inline-flex;align-items:center;justify-content:center;color:#1c2138}
.glyph:hover{border-color:#c7d2fe;background:#f8f9ff}
.grid-cards{display:flex;flex-wrap:wrap;gap:8px;margin-top:14px}
.grid-cards .chip{display:inline-flex;flex:1 1 auto;justify-content:space-between;align-items:center;gap:8px;max-width:420px;min-width:0;padding:6px 8px 6px 12px;
  border:1.5px solid var(--line-2);border-radius:10px;background:#fff}
.grid-cards .chip:hover{border-color:#c7d2fe}
.grid-cards .nm{font-family:var(--glyph),var(--sans);font-size:14.5px;font-weight:400;color:#1c2138;line-height:1.7;
  min-width:0;overflow-wrap:anywhere}
.grid-cards .chip button{border:0;background:transparent;padding:2px 4px;border-radius:6px;font-size:14px;color:var(--muted)}
.grid-cards .chip button:hover{background:#f3f4f9;color:var(--indigo-d)}
.trend-grid{display:flex;flex-wrap:wrap;gap:8px;margin-top:14px}
.card-small{display:inline-flex;align-items:center;height:34px;padding:0 12px;border-radius:var(--r-sm);
  border:1.5px solid var(--line-2);background:#fff;color:#454b64;font-size:12.5px;font-weight:700}
.card-small:hover{border-color:#c7d2fe;color:var(--indigo-d)}

/* ---------- responsive switches ---------- */
@media (max-width:640px){
  .maker__grid{grid-template-columns:minmax(0,1fr);gap:26px}
}
@media (max-width:400px){
  .maker{padding:16px 15px 18px}
  .ftr__bottom{padding:14px 0 58px}
  .totop{right:50%;transform:translateX(50%);top:auto;bottom:8px}
}
@media (prefers-reduced-motion:reduce){
  *{animation-duration:.001ms !important;transition-duration:.001ms !important;scroll-behavior:auto !important}
}
/* Nhom bo ky tu copy (trang /generator) */
.nf-set{margin-top:22px}
.nf-set .nf-count{display:inline-block;margin-left:8px;padding:2px 9px;border-radius:999px;background:#eef0f8;color:#454b64;font-size:12px;font-weight:400;vertical-align:middle}
.nf-set .drawer-body{display:flex;flex-wrap:wrap;gap:6px;padding:12px 0}

/* A wide table scrolls inside its own box. inline-size containment is the part
   that matters: without it the table's min-width propagates up through the flex
   item holding the article and puts the scrollbar on the page instead. */
.tbl-wrap{overflow-x:auto;-webkit-overflow-scrolling:touch;margin:0 0 22px;border-radius:11px;contain:inline-size;width:100%;max-width:100%}
.tbl-wrap table{margin:0;min-width:520px}

/* Copy grids in article body. The badge is a measured font count. */
.cp-grid{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 22px}
.cp-chip{font-weight:400;flex:1 1 auto;justify-content:center;max-width:260px;display:inline-flex;align-items:center;gap:8px;min-height:44px;padding:8px 12px;
  border:1px solid rgba(128,128,150,.28);border-radius:10px;background:rgba(255,255,255,.04);
  color:inherit;font-size:17px;line-height:1.5;cursor:pointer;min-width:0;overflow-wrap:anywhere}
.cp-chip .c{font-size:12px;opacity:.6;padding:1px 6px;border-radius:20px;
  background:rgba(128,128,150,.18);flex:none}
.nota{font-size:15px;opacity:.85;border-left:3px solid rgba(128,128,150,.4);padding:2px 0 2px 12px;margin:0 0 16px}
.tbl-wrap{overflow-x:auto;-webkit-overflow-scrolling:touch;margin:0 0 22px;border-radius:11px;contain:inline-size;width:100%;max-width:100%}
.tbl-wrap table{margin:0;min-width:420px}
.tbl-wrap tr.hi td{font-weight:600}
