/* KTS Design System 2.0 — canonical stylesheet owner for ALL templates.
   Editing policy: modify token/component here, never add page-specific CSS files. */
:root{
 --ink:#10203c;--muted:#64748a;--teal:#009e96;--teal-dark:#007f7b;--teal-soft:#e9f9f7;
 --bg:#fbfdff;--white:#fff;--surface:#f5f9fc;--line:#e4ebf0;--line-strong:#d4e0e8;
 --shadow:0 7px 22px rgba(22,48,73,.045);--shadow-hover:0 12px 30px rgba(22,48,73,.085);
 --radius:14px;--radius-sm:10px;--wrap:1200px;--font:'Segoe UI',Arial,sans-serif;
 --blue:#287bfa;--rose:#ee4878;--amber:#e5a000;--purple:#8d52ed;--green:#0ea878;
}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--bg);font:15px/1.6 var(--font);color:var(--ink);-webkit-font-smoothing:antialiased}button,input,textarea{font:inherit}button{cursor:pointer}a{color:var(--teal-dark);text-decoration:none}a:hover{text-decoration:none}h1,h2,h3,p{margin-top:0}h1,h2,h3{line-height:1.24;letter-spacing:-.033em}p{color:var(--muted)}img,svg{max-width:100%}img{height:auto}.ui-icon{display:inline-block;width:20px;height:20px;vertical-align:middle;flex-shrink:0}.site-container{width:min(calc(100% - 40px),var(--wrap));margin-inline:auto}.sr-only,.skip-link:not(:focus){position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.skip-link:focus{position:fixed;top:8px;left:8px;z-index:99;background:var(--white);padding:12px;border-radius:8px}a:focus-visible,button:focus-visible,input:focus-visible,textarea:focus-visible,summary:focus-visible,select:focus-visible{outline:3px solid #168f86;outline-offset:3px}
/* Shared navigation */
.site-header{background:var(--white);border-bottom:1px solid var(--line);position:relative;z-index:25}.header-inner{height:68px;display:flex;align-items:center;gap:27px}.brand{display:inline-flex;gap:9px;align-items:center;min-height:44px;color:var(--ink);font-weight:800;white-space:nowrap}.brand:hover{color:var(--ink)}.brand-mark{width:36px;height:36px;background:linear-gradient(135deg,#0db7ac,#008e89);border-radius:9px;color:white;display:grid;place-items:center;box-shadow:0 3px 10px #009e9620}.brand-mark .ui-icon{width:22px;height:22px}.brand-word{font-size:19px;letter-spacing:-.04em}.primary-nav{display:flex;align-items:stretch;gap:15px;flex:1;height:100%;min-width:0}.nav-link{display:flex;align-items:center;position:relative;font-size:14px;font-weight:650;color:#41536c;white-space:nowrap}.nav-link:after{content:"";position:absolute;bottom:0;left:0;right:0;height:3px;border-radius:3px 3px 0 0;transform:scaleX(0);background:var(--teal);transition:transform .15s}.nav-link:hover,.nav-link.is-current{color:var(--teal-dark)}.nav-link.is-current:after{transform:scaleX(1)}.header-actions{margin-left:auto;display:flex;align-items:center;gap:8px}.header-icon,.header-favorite,.menu-toggle{height:44px;min-width:44px;display:inline-flex;align-items:center;justify-content:center;gap:7px;background:var(--white);border:1px solid var(--line);border-radius:10px;color:#43566f}.header-icon:hover,.header-favorite:hover,.menu-toggle:hover{background:var(--teal-soft);border-color:#abded8;color:var(--teal-dark)}.header-icon .ui-icon,.header-favorite .ui-icon{width:17px;height:17px}.header-favorite{padding:0 12px;font-size:12px;font-weight:700}.menu-toggle{display:none;padding:0}
/* Shared sections, headings and cards */
.main-content{padding-bottom:66px}.section-kicker{display:flex;align-items:center;gap:7px;font-size:11px;font-weight:800;letter-spacing:.055em;color:var(--teal-dark);margin:0 0 10px}.section-kicker .ui-icon{width:16px;height:16px}.home-sections{display:grid;gap:37px}.home-block{min-width:0}.section-top{display:flex;justify-content:space-between;align-items:end;gap:18px;margin-bottom:17px}.section-top h2{font-size:26px;margin:0 0 5px}.section-top p:not(.section-kicker){font-size:14px;margin:0;line-height:1.65}.section-link{display:inline-flex;gap:7px;align-items:center;white-space:nowrap;font-size:13px;font-weight:700;color:var(--teal-dark)}.section-link .ui-icon,.read-more .ui-icon{width:16px;height:16px}.section-link:hover{text-decoration:underline}.app-panel,.side-panel,.article-panel,.post-card,.editorial-card{background:var(--white);border:1px solid var(--line);border-radius:var(--radius);box-shadow:var(--shadow)}.app-panel{padding:25px;min-width:0}.article-panel{padding:28px}.icon-tile{width:46px;height:46px;border-radius:13px;display:grid;place-items:center;flex-shrink:0;background:var(--teal-soft);color:var(--teal)}.icon-tile .ui-icon{width:26px;height:26px}.tone-teal,.tone-mint{--tone:#069c90;--tone-bg:#e6faf4}.tone-blue{--tone:#2676ef;--tone-bg:#eaf3ff}.tone-amber{--tone:#df9c00;--tone-bg:#fff6df}.tone-rose{--tone:#e83c6c;--tone-bg:#fff0f4}.tone-pink{--tone:#cc35bd;--tone-bg:#fbedfc}.tone-violet,.tone-purple{--tone:#8153df;--tone-bg:#f2edff}.tone-green{--tone:#11a37e;--tone-bg:#e7f9f0}.tone-orange{--tone:#e48a27;--tone-bg:#fff4e6}.icon-tile[class*="tone-"]{background:var(--tone-bg);color:var(--tone)}
/* Home: hero with actual shared generator, no duplicate markup */

/* Form, chips, and result components shared by home, tool & game templates */
.panel-title-line,.result-title-row,.field-label.space-between{display:flex;align-items:center;justify-content:space-between;gap:12px}.eyebrow{display:inline-flex;align-items:center;gap:6px;font-size:11px;font-weight:800;color:var(--teal-dark);letter-spacing:.055em}.eyebrow .ui-icon{width:17px;height:17px}.tiny-note{font-size:12px;color:#526579;line-height:1.4}.panel-heading{margin:14px 0 21px}.panel-heading h2{font-size:23px;margin:0 0 7px}.panel-heading p{font-size:13px;margin:0}.field-label{display:block;font-size:12px;font-weight:700;color:#344861;margin:0 0 7px}.text-input,.search-box input{width:100%;min-height:46px;border:1px solid var(--line-strong);background:#fff;border-radius:9px;color:var(--ink);padding:11px 13px;outline:none;transition:border-color .15s,box-shadow .15s}.text-input:focus,.search-box:focus-within,.blog-search:focus-within{border-color:#5ecfc5;box-shadow:0 0 0 3px #dcf7f3}.text-input::placeholder,.search-box input::placeholder{color:#596b7c}.name-input{font-size:14px;padding-right:68px}.input-wrap{position:relative;margin-bottom:15px}.input-hint{font-size:11px;color:#8b9bb0;position:absolute;right:14px;top:50%;transform:translateY(-50%);pointer-events:none}.field-row{display:grid;grid-template-columns:1fr 1fr;gap:11px;margin-bottom:15px}.preset-row{display:flex;gap:8px;flex-wrap:wrap;margin:9px 0 19px}.preset-chip,.symbol-tab{min-height:44px;display:inline-flex;align-items:center;gap:5px;justify-content:center;border:1px solid var(--line);border-radius:9px;background:#f7fafc;color:#53647a;padding:8px 12px;font-size:12px;font-weight:700}.preset-chip:hover,.symbol-tab:hover{background:#e9f8f6}.preset-chip[aria-pressed=true],.symbol-tab[aria-pressed=true]{background:var(--teal);border-color:var(--teal);color:white}.result-title-row{margin:0 0 12px}.result-title-row h3{font-size:15px;margin:0}.result-count{color:#078f88;font-size:12px;font-weight:700}.results{display:grid;gap:9px}.result-card{display:flex;align-items:center;gap:8px;padding:10px 12px;min-height:63px;border:1px solid var(--line);border-radius:10px;background:var(--white);min-width:0}.result-card:hover{border-color:#aae1d8;background:#fdfffe}.result-body{flex:1;min-width:0}.result-label{display:block;font-size:12px;font-weight:700;color:#596b7c;margin-bottom:1px}.result-value{display:block;font-size:17px;font-weight:650;line-height:1.45;color:var(--ink);overflow-wrap:anywhere}.result-actions{display:flex;gap:5px;flex-shrink:0}.copy-button,.save-button,.symbol-clear,.symbol-load-more{min-width:44px;min-height:44px;display:inline-flex;align-items:center;justify-content:center;gap:5px;padding:0 10px;border:1px solid #bceae3;border-radius:8px;background:#effaf8;color:var(--teal-dark);font-size:12px;font-weight:700}.copy-button:hover,.save-button:hover,.symbol-clear:hover:not(:disabled),.symbol-load-more:hover{background:#d5f3ee}.copy-button .ui-icon,.copy-button svg{width:15px;height:15px}.save-button{background:#fff;color:#8293a6;border-color:var(--line);font-size:20px}.save-button .ui-icon,.save-button svg{width:18px;height:18px}.save-button.is-saved{color:#e64271;background:#fff1f6;border-color:#ffd6e1}.tool-disclaimer{background:#f4f9fb;border-left:3px solid #81cfc9;border-radius:0 6px 6px 0;color:#64778d;padding:11px 13px;font-size:12px;line-height:1.7;margin:18px 0 0}.app-panel textarea{resize:vertical;min-height:90px;margin-bottom:18px}/* Tool editor/results: shared layout with a single Unicode-font variant. */
.font-workspace .panel-heading{margin-bottom:17px}
.font-status-note{display:inline-flex;align-items:center;gap:5px;color:var(--teal-dark);font-weight:650}
.font-status-note .ui-icon{width:15px;height:15px}
.font-editor{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius-sm);padding:16px;margin-bottom:23px}
.font-editor-label{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:8px}
.font-editor-label .field-label{margin:0;font-size:13px}
.font-editor .text-input{min-height:100px;background:var(--white);margin:0;padding:14px 15px;font-size:16px;line-height:1.7}
.font-editor .text-input:focus{border-color:#5ecfc5;box-shadow:0 0 0 3px #dcf7f3}
.font-editor-hint{display:flex;align-items:flex-start;gap:8px;font-size:12px;margin:10px 0 0;line-height:1.6}
.font-editor-hint .ui-icon{width:16px;height:16px;color:var(--teal-dark);margin-top:2px}
.font-filter-row{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin:0 0 16px}.font-filter-row .preset-chip{min-height:44px;white-space:normal;line-height:1.35;text-align:center}.font-result-heading{margin-bottom:14px}
.font-result-heading h3{font-size:18px;margin:0 0 4px}
.font-result-heading p{font-size:12px;margin:0}
.results--fonts{gap:11px}
.results--fonts .result-card{padding:13px 15px;min-height:78px;border-radius:var(--radius-sm);gap:14px}
.results--fonts .result-label{color:#65758b;font-size:12px;margin-bottom:6px}
.results--fonts .result-value{font-size:19px;line-height:1.5;font-weight:600;letter-spacing:.005em;overflow-wrap:anywhere;word-break:normal}
.results--fonts .copy-button{min-width:106px;min-height:44px;background:var(--white);border-color:var(--line-strong);font-size:12px}
.results--fonts .copy-button:hover{background:var(--teal-soft);border-color:#8bdfd5}
.font-notice{display:flex;align-items:flex-start;gap:9px}
.font-notice .ui-icon{width:17px;height:17px;flex-shrink:0;color:var(--teal-dark);margin-top:2px}
.font-notice strong{color:#435671}
.generator-compact .results{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}.generator-compact .result-card{min-height:58px;padding:7px 10px}.generator-compact .result-value{font-size:15px}.generator-compact .result-label{display:none}.generator-compact .copy-button,.generator-compact .save-button{min-width:44px;min-height:44px;height:44px;padding:0 6px}.generator-compact .copy-label{display:none}
/* Six reusable shortcut cards */
.shortcut-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:12px}.feature-link{border:1px solid var(--line);border-radius:13px;background:#fff;display:flex;min-width:0;align-items:flex-start;flex-direction:column;gap:10px;padding:16px 12px;box-shadow:var(--shadow);position:relative}.feature-link:hover{transform:translateY(-2px);box-shadow:var(--shadow-hover);border-color:#a1dcd5}.feature-link .icon-tile{width:43px;height:43px}.feature-link .icon-tile .ui-icon{width:25px;height:25px}.feature-link-copy{display:grid;gap:4px}.feature-link-copy strong{color:var(--ink);font-size:14px}.feature-link-copy small{font-size:12px;color:var(--muted);line-height:1.55}.feature-arrow{position:absolute;top:22px;right:12px;width:14px;height:14px;color:#94c6c1}
/* Saved names, symbol library, banners */
.saved-showcase{padding:18px;background:#f4f9fc;border:1px solid #eaf0f4;border-radius:14px}.saved-items{display:grid;gap:8px}.saved-items-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.saved-item{display:flex;align-items:center;gap:7px;background:var(--white);border:1px solid var(--line);border-radius:9px;padding:7px 9px;min-width:0;min-height:52px}.saved-item>span{flex:1;min-width:0;font-weight:700;font-size:13px;overflow-wrap:anywhere}.saved-item button:not(.copy-button){background:#fff;border:1px solid var(--line);color:var(--muted);min-height:44px;min-width:44px;padding:5px 7px;border-radius:7px;font-size:11px}.saved-item .copy-button{min-width:44px;min-height:44px}.saved-item .copy-label{display:none}.empty-save{grid-column:1/-1;color:var(--muted);font-size:13px;margin:0;padding:15px}.symbols-panel{padding:20px}.symbols-panel .panel-heading{margin:8px 0 17px}.symbols-panel .panel-heading h2{font-size:18px}.symbol-search-row{display:flex;gap:9px;margin:0 0 14px}.search-box{display:flex;align-items:center;gap:7px;min-width:0;flex:1;border:1px solid var(--line-strong);background:#fff;padding:0 13px;border-radius:9px}.search-box svg{width:19px;height:19px;color:#8095a4;flex-shrink:0}.search-box input{border:0;box-shadow:none;min-width:0;background:transparent;padding:10px 0}.symbol-clear{flex-shrink:0}.symbol-clear:disabled{cursor:not-allowed;background:var(--surface);border-color:var(--line);color:#acb9c5}.symbol-tabs{display:flex;gap:8px;flex-wrap:wrap;margin:0 0 18px}.symbol-tab{min-height:44px}.symbol-tab .ui-icon{width:15px;height:15px}.symbol-results-label{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:6px 12px;color:var(--teal-dark);font-size:13px;font-weight:700;margin:0 0 12px}.symbol-results-hint{font-weight:400;color:#5e7184}.symbol-grid{display:grid;grid-template-columns:repeat(8,minmax(0,1fr));gap:9px}.symbol-cell{display:grid;place-items:center;min-width:0;width:100%;height:68px;background:#fff;color:#172c42;font-size:26px;border:1px solid var(--line);border-radius:10px}.symbol-cell:hover,.symbol-cell.is-copied{background:#eafaf7;border-color:#68cabe;color:var(--teal-dark)}.symbol-cell:focus-visible{outline:3px solid #087f78;outline-offset:2px}.symbol-paging{display:flex;justify-content:center;margin-top:18px}.symbol-inspector{display:flex;align-items:center;gap:14px;padding:13px;background:var(--surface);border:1px solid var(--line);border-radius:10px;margin:0 0 14px}.symbol-inspector-preview{flex-shrink:0;display:grid;place-items:center;background:#fff;width:58px;height:58px;font-size:32px;border:1px solid var(--line);border-radius:10px}.symbol-inspector-text{flex:1;min-width:0;display:grid;gap:2px}.symbol-inspector-text strong{font-size:13px;overflow-wrap:anywhere}.symbol-inspector-text>span{font-size:12px;color:var(--teal-dark);font-weight:700}.symbol-inspector-text p{font-size:11px;margin:0}.symbol-inspector[hidden],.symbol-paging[hidden],.empty-state[hidden]{display:none}.empty-state{background:#f3f8fb;border-radius:10px;padding:18px;font-size:13px;color:var(--muted)}
/* Blog and editorial layout (real WP posts only) */
.editorial-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.editorial-card{overflow:hidden;min-width:0}.editorial-visual{display:grid;place-items:center;height:160px;background:linear-gradient(140deg,#e1f5f8,#eaf3ff);overflow:hidden}.editorial-visual img{width:100%;height:100%;object-fit:cover}.editorial-placeholder{color:#109f98}.editorial-placeholder .ui-icon{width:63px;height:63px}.editorial-copy{padding:15px 17px 19px}.editorial-type{display:inline-block;font-size:11px;font-weight:800;color:var(--teal-dark);background:#e9f8f4;padding:3px 9px;border-radius:6px;margin-bottom:9px}.editorial-copy h2,.editorial-copy h3{font-size:16px;line-height:1.4;margin:0 0 9px}.editorial-copy h2 a,.editorial-copy h3 a{color:var(--ink)}.editorial-copy h2 a:hover,.editorial-copy h3 a:hover{color:var(--teal-dark)}.editorial-copy p{font-size:12px;line-height:1.6;margin:0 0 13px}.read-more{display:inline-flex;align-items:center;gap:6px;font-size:12px;font-weight:800}.empty-editorial{background:var(--surface);border:1px solid var(--line);border-radius:13px;display:flex;align-items:center;gap:17px;padding:24px}.empty-editorial>.ui-icon{width:40px;height:40px;color:#0c9e95}.empty-editorial>div{flex:1}.empty-editorial strong,.empty-editorial h2{font-size:17px;margin:0 0 3px}.empty-editorial p{margin:0;font-size:13px}.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px;border-radius:9px;padding:10px 15px;font-size:13px;font-weight:750;border:1px solid transparent}.btn .ui-icon{width:16px;height:16px}.btn-primary{background:var(--teal);color:#fff}.btn-primary:hover{background:var(--teal-dark);color:#fff}.btn-outline{border-color:#c9e5e2;background:#fff;color:var(--teal-dark)}.btn-outline:hover{background:var(--teal-soft)}.blog-search{display:flex;align-items:center;gap:10px;background:#fff;border:1px solid var(--line-strong);border-radius:13px;padding:8px 8px 8px 15px;margin-bottom:24px;max-width:750px}.blog-search>.ui-icon{color:#8291a3}.blog-search input{border:0;background:transparent;outline:0;min-width:0;flex:1;font-size:14px}/* Editorial hub: one search owner, built on shared input/card/feature components. */
.blog-search--directory{display:grid;grid-template-columns:minmax(0,1fr) minmax(160px,230px) auto;align-items:end;max-width:none;padding:14px;gap:12px}
.blog-search--directory .blog-filter-field{min-width:0}
.blog-search--directory .text-input{display:block;width:100%;border:1px solid var(--line-strong);background:#fff;min-height:46px;padding:10px 12px;border-radius:9px;font-size:14px;box-shadow:none}
.blog-search--directory .text-input:focus-visible{outline:3px solid #168f86;outline-offset:2px}
.blog-filter-summary{margin:0 0 23px;font-size:13px;line-height:1.65;overflow-wrap:anywhere}
.blog-filter-summary a{font-weight:700;text-decoration:underline}
.blog-start{margin:4px 0 30px}
.blog-articles{margin:24px 0 30px;min-width:0}
.blog-pagination{margin:22px 0 0}
.blog-pagination .page-numbers{display:flex;justify-content:center;flex-wrap:wrap;gap:8px}
.blog-pagination .page-numbers a,.blog-pagination .page-numbers .current{width:auto;min-width:44px;padding:0 13px;min-height:44px}
.blog-help{margin-top:29px}
.blog-help h2{font-size:22px;margin:0 0 13px}
.blog-help h2:not(:first-child){margin-top:23px}
.blog-help p{font-size:14px;line-height:1.8}
.blog-articles .editorial-copy h3 a{overflow-wrap:anywhere}
.blog-grid .editorial-card--text-only .editorial-copy{padding:21px}
@media(max-width:700px){.blog-search--directory{grid-template-columns:1fr 1fr}.blog-search--directory .blog-filter-field:first-child{grid-column:1/-1}.blog-search--directory .btn{align-self:end}}
@media(max-width:460px){.blog-search--directory{grid-template-columns:1fr}.blog-search--directory .blog-filter-field:first-child{grid-column:auto}.blog-search--directory .btn{width:100%}}
.blog-grid{margin-bottom:28px}.page-numbers{display:flex;gap:7px;list-style:none;padding:0}.page-numbers a,.page-numbers .current{display:grid;place-items:center;width:44px;height:44px;border:1px solid var(--line);border-radius:8px;background:#fff}.page-numbers .current{background:var(--teal);color:white}.faq-items{border:1px solid var(--line);border-radius:13px;background:#fff;padding:0 20px}.faq-items details+details{border-top:1px solid var(--line)}summary{list-style:none;display:flex;align-items:center;justify-content:space-between;min-height:57px;gap:12px;cursor:pointer;color:var(--ink);font-size:14px;font-weight:700}summary::-webkit-details-marker{display:none}summary:after{content:'+';font-size:22px;color:var(--teal);font-weight:500}details[open] summary:after{content:'−'}details p{font-size:13px;line-height:1.8;margin:0;padding:0 0 17px}.breadcrumb{padding-top:23px;color:#607387;font-size:12px}.breadcrumb-list{list-style:none;display:flex;align-items:center;flex-wrap:wrap;gap:4px 8px;margin:0;padding:0;min-width:0}.breadcrumb-list li{display:inline-flex;align-items:center;gap:9px;max-width:100%;min-width:0;overflow-wrap:anywhere}.breadcrumb-list li+li::before{content:"";width:6px;height:6px;flex:none;border-top:1.5px solid #8b9bab;border-right:1.5px solid #8b9bab;transform:rotate(45deg);margin-right:1px}.breadcrumb-list a{color:#526b80;min-height:32px;display:inline-flex;align-items:center;overflow-wrap:anywhere}.breadcrumb-list [aria-current="page"]{color:#334b62;font-weight:600;min-width:0}.tool-page-header{padding:29px 0 24px}.tool-page-header h1{font-size:clamp(28px,3.1vw,38px);margin:0 0 10px}.tool-page-header>p{font-size:15px;max-width:760px;margin:0;line-height:1.75}.tool-page-layout,.game-workspace{display:grid;grid-template-columns:minmax(0,1fr) 268px;align-items:start;gap:20px}.tool-main{min-width:0;display:grid;gap:23px}.tool-aside{display:grid;gap:16px}.side-panel{padding:20px}.side-panel h2{font-size:16px;margin:0 0 12px}.side-panel p{font-size:13px}.side-help .icon-tile{margin-bottom:12px}.side-help a{font-size:12px;font-weight:700;display:inline-flex;align-items:center;gap:7px}.side-help a .ui-icon{width:14px;height:14px}.aside-links{display:grid}.aside-links a{display:flex;align-items:center;gap:10px;min-height:45px;border-top:1px solid var(--line);color:var(--ink);font-size:12px;font-weight:700}.aside-links a:hover{color:var(--teal-dark)}.aside-links a .ui-icon:first-child{width:19px;height:19px;color:var(--teal)}.aside-links a span{flex:1}.aside-links a .ui-icon:last-child{width:14px;height:14px;color:#8da2b3}.tool-article h2{font-size:22px;margin:0 0 12px}.tool-article h2:not(:first-child){margin-top:26px}.tool-article h3{font-size:17px;margin:22px 0 8px}.tool-article p,.tool-article li{font-size:14px;line-height:1.85}.tool-article ol{color:var(--muted);padding-left:22px}.tool-article code{background:#f0f8f7;color:#087f78;font-size:.95em;border-radius:4px;padding:1px 4px}.tool-article>details{border-bottom:1px solid var(--line)}.editorial-extension{border-top:1px solid var(--line);margin-top:24px;padding-top:22px}.standard-page{margin-top:0;min-height:250px}.standard-page h1{font-size:32px;margin-bottom:11px}.standard-page h2{font-size:22px;margin:28px 0 10px}.standard-page h3{font-size:18px;margin:22px 0 9px}.standard-page .entry-content{font-size:15px;line-height:1.9}.standard-page .entry-content p{font-size:15px;line-height:1.9}.standard-page .entry-content a{text-decoration:underline}
/* Canonical editorial overflow owner: user-written long links, Unicode runs and tables. */
.entry-content{min-width:0;overflow-wrap:anywhere}
.entry-content :is(pre,code){overflow-wrap:anywhere;white-space:pre-wrap;word-break:break-word}
.entry-content :is(img,video,iframe){max-width:100%;height:auto}
.entry-content table{width:100%;max-width:100%;table-layout:fixed;border-collapse:collapse}
.entry-content :is(th,td){overflow-wrap:anywhere;word-break:normal}
/* Shared article table layout: readable cells and horizontal scrolling on narrow screens. */
.article-detail .entry-content figure.wp-block-table :is(th,td){padding:10px 12px;vertical-align:top;text-align:left;border-bottom:1px solid var(--line)}
.article-detail .entry-content figure.wp-block-table th{background:var(--surface);font-weight:700}
.article-detail .entry-content figure.wp-block-table :is(th,td):first-child{width:34%}
@media(max-width:600px){.article-detail .entry-content figure.wp-block-table{max-width:100%;overflow-x:auto;overscroll-behavior-inline:contain}.article-detail .entry-content figure.wp-block-table table{min-width:440px;max-width:none}}

/* Article details: one editorial owner; no new stylesheet or copied card styles. */
.narrow-page{max-width:900px}.article-detail{margin-top:23px;min-height:0}.article-detail h1{font-size:clamp(28px,3vw,38px);margin:0 0 11px;overflow-wrap:anywhere}.article-meta{display:flex;gap:7px 20px;flex-wrap:wrap;font-size:12px;margin:0;color:var(--muted)}.article-cover{margin:20px 0 24px}.article-cover img{width:100%;height:auto;border-radius:11px;display:block}.article-cover figcaption{font-size:12px;color:var(--muted);margin-top:8px;line-height:1.6}.article-detail .entry-content{font-size:16px;line-height:1.85}.article-detail .entry-content :is(p,li){font-size:16px;line-height:1.85}.article-detail .entry-content :is(h2,h3){scroll-margin-top:24px;overflow-wrap:anywhere}.article-detail .entry-content h2{font-size:24px;line-height:1.38;margin:34px 0 13px}.article-detail .entry-content h3{font-size:19px;margin:26px 0 10px}.article-detail .entry-content :is(ul,ol){padding-left:24px}.article-detail .entry-content li+li{margin-top:7px}.article-detail .entry-content blockquote{border-left:3px solid var(--teal);padding:7px 0 7px 16px;margin:20px 0;background:transparent}.article-toc{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius-sm);padding:18px 20px;margin:22px 0 27px}.article-toc .article-toc-title{font-size:17px;margin:0 0 10px;letter-spacing:0}.article-toc ol{margin:0;padding-left:24px;display:grid;gap:4px}.article-toc a{display:inline-flex;align-items:center;min-height:40px;line-height:1.5;font-size:14px;overflow-wrap:anywhere}.article-toc a:hover{text-decoration:underline}.article-next-tool{border-top:1px solid var(--line);margin-top:28px;padding-top:22px;display:flex;flex-wrap:wrap;align-items:center;gap:10px 18px}.article-next-tool p{margin:0;font-weight:650;color:var(--ink)}.article-next-tool .btn{min-height:44px}.article-pagination{display:flex;gap:9px;flex-wrap:wrap;margin-top:20px}.article-pagination a,.article-pagination>span{display:inline-flex;min-height:44px;min-width:44px;align-items:center;justify-content:center;padding:5px 12px;border:1px solid var(--line);border-radius:8px}.article-related{margin:30px 0}.article-related>h2{font-size:22px;margin-bottom:14px}.article-related-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.article-related-grid .post-card{min-width:0;padding:18px}.article-related-grid h3{font-size:16px;line-height:1.4;margin:0 0 10px;overflow-wrap:anywhere}.article-related-grid p{font-size:13px;line-height:1.65;margin-bottom:14px}.article-related-grid .read-more{display:inline-flex;align-items:center;gap:6px;min-height:44px;font-size:13px}.article-back-link{margin:18px 0}.article-back-link a{display:inline-flex;align-items:center;min-height:44px;font-weight:700}@media(max-width:700px){.article-related-grid{grid-template-columns:1fr 1fr}.article-detail .entry-content :is(p,li){font-size:15px}.article-detail .entry-content h2{font-size:21px}}
@media(max-width:460px){.article-detail{padding:19px}.article-toc{padding:14px 15px}.article-related-grid{grid-template-columns:1fr}.article-next-tool{align-items:stretch}.article-next-tool .btn{width:100%;justify-content:center}}
.post-list{display:grid;gap:14px}.post-card{padding:22px}.post-card h2{font-size:20px;margin:0 0 7px}.post-card h2 a{color:var(--ink)}.post-card p{font-size:13px}.favorites-page h2{font-size:19px}.favorites-page .saved-items{margin:18px 0}.favorites-page .btn{margin-top:10px}
/* Favorites manager: the only saved-list toolbar owner, using shared fields/cards. */
.favorites-backup[hidden]{display:none}
.favorites-backup{display:flex;align-items:center;flex-wrap:wrap;gap:12px 20px;border-radius:10px;background:var(--surface);padding:15px 17px;margin:15px 0 10px}
.favorites-backup-info{flex:1 1 280px;min-width:0}.favorites-backup-info strong{display:block;font-size:14px;color:var(--ink)}.favorites-backup-info p{margin:4px 0 0;line-height:1.55}
.favorites-backup-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.favorites-backup-actions .btn{margin:0}.favorites-backup-actions .btn:disabled{opacity:.5;cursor:not-allowed}
.favorites-backup-status{flex-basis:100%;margin:0;line-height:1.5}.favorites-backup-status:empty{display:none}
.favorites-undo[hidden]{display:none}.favorites-undo{display:flex;align-items:center;flex-wrap:wrap;gap:10px 16px;background:var(--teal-soft);padding:12px 15px;border-radius:9px;color:var(--ink);font-size:13px}
.favorites-undo .btn{margin:0}
@media(max-width:460px){.favorites-backup{padding:13px}.favorites-backup-actions{width:100%;display:grid;grid-template-columns:1fr 1fr}.favorites-backup-actions .btn{padding-inline:9px;white-space:normal}.favorites-undo{align-items:stretch}.favorites-undo .btn{width:100%}}

.favorites-toolbar[hidden],.favorites-clear[hidden]{display:none}
.favorites-toolbar{display:grid;grid-template-columns:minmax(0,1fr) minmax(165px,215px) auto;align-items:end;gap:12px;margin:20px 0 12px;min-width:0}
.favorites-toolbar>div{min-width:0}.favorites-toolbar .text-input{min-width:0}
.favorites-toolbar .favorites-clear{min-height:46px;white-space:nowrap;margin-top:0}
.favorites-result-summary{margin:0 0 7px;min-height:18px}
.favorites-page .saved-item>span{overflow-wrap:anywhere}.favorites-page .saved-items[hidden]{display:none}
.favorites-help{margin-top:20px}.favorites-help .faq-items{margin:10px 0 18px}
@media(max-width:700px){.favorites-toolbar{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}.favorites-filter-field{grid-column:1/-1}.favorites-toolbar .favorites-clear{grid-column:1/-1;justify-self:start}}
@media(max-width:460px){.favorites-toolbar{grid-template-columns:minmax(0,1fr)}.favorites-filter-field{grid-column:auto}.favorites-toolbar .favorites-clear{grid-column:auto;width:100%}}

/* Game group and game-specific screens: ONE shared template */
.game-directory{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin-bottom:24px}.game-entry{border:1px solid var(--line);border-radius:15px;background:linear-gradient(140deg,var(--tone-bg),white 95%);min-height:203px;padding:23px;display:flex;flex-direction:column;align-items:flex-start}.game-entry:hover{transform:translateY(-3px);box-shadow:var(--shadow-hover)}.game-entry-icon{display:grid;place-items:center;color:var(--tone);margin-bottom:17px}.game-entry-icon .ui-icon{width:42px;height:42px}.game-entry strong{font-size:18px;color:var(--ink);margin-bottom:4px}.game-entry small{font-size:13px;line-height:1.6;overflow-wrap:anywhere;color:var(--muted)}.game-entry-cta{display:inline-flex;align-items:center;gap:6px;font-size:12px;font-weight:750;color:var(--tone);margin-top:auto;padding-top:15px}.game-entry-cta .ui-icon{width:14px;height:14px}.game-hero{position:relative;overflow:hidden;display:flex;align-items:center;justify-content:space-between;min-height:220px;gap:20px;border-radius:16px;padding:32px;background:linear-gradient(110deg,var(--tone-bg),#fff 80%);border:1px solid var(--line);margin:24px 0}.game-hero h1{font-size:clamp(29px,3.2vw,39px);margin:0 0 8px}.game-hero p:not(.section-kicker){max-width:620px;font-size:14px;margin:0}.game-hero .section-kicker{color:var(--tone)}.game-hero-art .ui-icon{width:135px;height:135px;color:var(--tone);opacity:.3}.game-notes{margin-top:25px}.game-notes h2{font-size:20px}.game-notes p{font-size:14px;margin:0 0 12px}/* Game directory hub: text-first comparison with one canonical game component owner. */
/* Game directory search and comparison — single canonical owner, no extra stylesheet. */
.game-hub-header{padding-bottom:15px}.game-hub-search{display:flex;align-items:end;gap:12px;flex-wrap:wrap;background:var(--surface);border:1px solid var(--line);border-radius:13px;padding:15px;margin:0 0 12px}.game-hub-search-field{flex:1 1 340px;min-width:0}.game-hub-search-label{display:block;font-size:13px;font-weight:750;color:var(--ink);margin:0 0 7px}.game-hub-input{display:block;width:100%;min-width:0;min-height:46px;padding:10px 13px;font-size:14px;background:#fff;border:1px solid var(--line-strong);border-radius:9px}.game-hub-search-actions{display:flex;align-items:center;flex-wrap:wrap;gap:8px}.game-hub-count{font-size:13px;color:var(--muted);margin:0 0 12px}.game-entry[hidden],.game-hub-row[hidden],.game-hub-compare[hidden],.game-hub-empty[hidden],.game-hub-clear[hidden]{display:none}.game-hub-empty{margin:0 0 15px}.game-hub-compare,.game-hub-guide{margin-top:22px}.game-hub-compare>p{margin-bottom:16px}.game-hub-rows{display:grid;gap:0}.game-hub-row{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,1fr) auto;gap:20px;align-items:center;padding:17px 0;border-top:1px solid var(--line)}.game-hub-row h3{font-size:16px;margin:0 0 4px}.game-hub-row p{font-size:13px;line-height:1.65;margin:0;color:var(--muted)}.game-hub-row-label{font-size:11px;font-weight:700;color:var(--ink)}.game-hub-row .btn{white-space:nowrap}.game-hub-guide .faq-items{margin-top:12px}.game-hub-guide ol{margin:10px 0 21px}
/* Free Fire enhancements share the game template and name builder owners. */
.game-name-quick .preset-row{margin:0 0 15px}.game-symbol-picker{border:1px solid var(--line);border-radius:10px;padding:14px;margin:0 0 19px;background:var(--surface)}.game-symbol-heading{display:flex;align-items:flex-start;justify-content:space-between;flex-wrap:wrap;gap:10px;margin-bottom:12px}.game-symbol-heading .field-label{margin-bottom:3px}.game-symbol-heading .tiny-note{margin:0}.game-symbol-side{display:flex;gap:10px;border:0;padding:0;margin:0;min-width:0;flex-wrap:wrap}.game-symbol-side label{display:inline-flex;align-items:center;gap:5px;min-height:44px;font-size:12px;font-weight:700;cursor:pointer}.game-symbol-side input{width:17px;height:17px;accent-color:var(--teal)}.game-symbol-grid{display:flex;gap:7px;flex-wrap:wrap}.game-symbol-grid .preset-chip{min-width:44px;font-size:20px;padding:6px 10px}.game-symbol-picker>[data-name-symbol-message]{margin:10px 0 0}/* Invisible spaces: one shared result/form visual language, scoped variant inside canonical owner */
.spaces-workspace .panel-heading{margin-bottom:17px}
.space-status-note{display:inline-flex;align-items:center;gap:5px;color:var(--teal-dark);font-weight:700;white-space:nowrap}
.space-status-note .ui-icon{width:15px;height:15px}
.space-intro{display:flex;align-items:flex-start;gap:12px;background:var(--surface);border:1px solid var(--line);border-radius:var(--radius-sm);padding:14px;margin-bottom:23px}
.space-intro .icon-tile{width:38px;height:38px;border-radius:10px}
.space-intro .icon-tile .ui-icon{width:20px;height:20px}
.space-intro strong{display:block;font-size:13px;line-height:1.5}
.space-intro p{font-size:12px;line-height:1.65;margin:3px 0 0}
.space-list-heading{margin:0 0 13px}
.space-list-heading h3,.space-preview-heading h3{font-size:18px;margin:0 0 4px}
.space-list-heading p,.space-preview-heading p{font-size:12px;line-height:1.65;margin:0}
.space-options{display:grid;gap:10px}
.space-option{display:grid;grid-template-columns:50px minmax(0,1fr) auto;align-items:center;gap:13px;background:#fff;border:1px solid var(--line);border-radius:10px;padding:15px;min-width:0}
.space-option:hover{border-color:#b7e3df}
.space-option-icon{width:50px;height:50px;display:grid;place-items:center;background:var(--teal-soft);border-radius:10px;color:var(--teal-dark);line-height:1}
.space-option-icon .ui-icon{width:24px;height:24px}
.space-option:nth-child(2) .space-option-icon{background:#ebf2ff;color:#397ce3}
.space-option:nth-child(3) .space-option-icon{background:#f5edff;color:#8654dd}
.space-option:nth-child(4) .space-option-icon{background:#fff5e6;color:#d68b1e}
.space-option-body{min-width:0}
.space-option-title{display:flex;align-items:center;gap:9px;flex-wrap:wrap;margin-bottom:3px}
.space-option h3{font-size:14px;margin:0;overflow-wrap:anywhere}
.space-option p{font-size:12px;line-height:1.6;margin:0 0 6px}
.space-code{display:inline-flex;align-items:center;background:#eef8f6;border-radius:5px;padding:2px 7px;font:700 11px/1.55 var(--font);color:var(--teal-dark)}
.space-kind{display:inline-block;font-size:11px;font-weight:700;color:#698096}
.space-copy{flex-shrink:0}
.space-preview{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius-sm);padding:18px;margin-top:23px}
.space-preview-heading{margin-bottom:17px;display:flex;align-items:flex-start;justify-content:space-between;gap:12px;flex-wrap:wrap}.space-preview-heading>div{flex:1 1 250px;min-width:0}.space-preview-heading .btn{min-height:44px;flex-shrink:0}.space-preview-heading .btn:disabled{opacity:.55;cursor:not-allowed}
.space-preview .field-label{font-size:13px}
.space-preview .text-input{background:#fff;font-size:15px}
.space-preview-note{display:flex;align-items:flex-start;gap:8px;font-size:12px;line-height:1.7;margin:10px 0 0}
.space-preview-note .ui-icon{width:16px;height:16px;flex-shrink:0;margin-top:2px;color:var(--teal-dark)}
/* /ki-tu-khoang-trong/: canonical spaces card owner; shared button/form tokens. */
.space-example{display:flex;flex-wrap:wrap;gap:6px 10px;align-items:center;margin-top:7px;font-size:12px;color:var(--muted)}
.space-example-value{display:inline-block;white-space:pre;font-size:18px;font-weight:700;letter-spacing:0;padding:4px 9px;min-width:48px;text-align:center;background:var(--surface);border:1px solid var(--line);border-radius:7px;color:var(--ink)}
.space-action-feedback{margin:12px 0 0;line-height:1.6}
.space-paste-report{min-height:44px;margin-top:12px;padding:10px 12px;border-radius:8px;background:#fff;border:1px solid var(--line);color:var(--ink);font-size:13px;line-height:1.65;overflow-wrap:anywhere}
.space-paste-codes{display:flex;flex-wrap:wrap;align-items:center;gap:6px;margin-top:10px;max-width:100%;overflow-wrap:anywhere}
.space-paste-codes code{padding:4px 7px;border-radius:6px;background:#eaf6f4;color:var(--teal-dark);font-size:12px;font-weight:700}
.space-paste-codes>span{font-size:12px;color:var(--muted)}
/* Shared not-found shell — reuses existing feature cards and buttons. */
.error-panel .section-kicker{justify-content:center;margin-top:10px}
.error-panel>p:not(.section-kicker){max-width:500px;margin:0 auto 22px;line-height:1.75}
.error-actions{display:flex;justify-content:center;flex-wrap:wrap;gap:10px}
.error-shortcuts-heading{font-size:19px;margin:28px 0 15px}
.error-shortcuts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.error-shortcuts .feature-link{min-height:136px}
/* Footer, toast, error */
.site-footer{border-top:1px solid var(--line);background:#f8fbfd;padding-top:38px}.footer-grid{display:grid;grid-template-columns:minmax(0,1.6fr) repeat(2,minmax(0,1fr));gap:30px;padding-bottom:28px}.footer-intro{min-width:0}.footer-intro p{max-width:390px;font-size:14px;line-height:1.75;margin:12px 0}.footer-grid h2{font-size:14px;margin:6px 0 10px}.footer-grid>nav{min-width:0}.footer-grid>nav>a{display:flex;align-items:center;min-height:44px;color:#52677f;font-size:14px;padding:8px 0;overflow-wrap:anywhere}.footer-grid>nav>a:hover{color:var(--teal-dark)}.footer-status{font-size:13px;color:var(--teal-dark);display:flex;align-items:center;gap:7px}.footer-status .ui-icon{width:16px;height:16px}.footer-intro .footer-information{font-size:13px;line-height:1.6;margin:10px 0 0;max-width:390px}.footer-bottom{border-top:1px solid var(--line);padding:16px 0;font-size:13px;color:#526579}.toast{position:fixed;bottom:25px;left:50%;transform:translate(-50%,20px);background:#182941;color:#fff;padding:11px 18px;border-radius:10px;opacity:0;pointer-events:none;z-index:99;box-shadow:0 14px 34px #172a4333;transition:opacity .17s,transform .17s;max-width:min(460px,calc(100vw - 32px));width:max-content;white-space:normal;overflow-wrap:anywhere;text-align:center;line-height:1.5;font-size:12px;font-weight:700}.toast.is-visible{opacity:1;transform:translate(-50%,0)}.error-panel{text-align:center;margin:28px auto 24px;padding:46px 22px;display:flex;flex-direction:column;align-items:center}.error-panel h1{font-size:28px}.error-panel p{font-size:14px}.error-mark{font-size:75px;color:var(--teal);font-weight:800}
/* Responsive design: same owner for all templates (1440/1280/1024/768/430/390/360/320). */
@media(max-width:1150px){.header-inner{gap:18px}.primary-nav{gap:10px}.nav-link{font-size:13px}.shortcut-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.feature-link{flex-direction:row;align-items:center;min-height:85px}.feature-arrow{display:none}.symbol-grid{grid-template-columns:repeat(7,minmax(0,1fr))}}
@media(max-width:990px){.game-hub-row{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}.game-hub-row .btn{grid-column:1/-1;justify-self:start}.header-inner{height:65px}.primary-nav{display:none;position:absolute;top:65px;left:0;right:0;height:auto;padding:12px max(20px,calc((100vw - var(--wrap))/2));background:#fff;border-bottom:1px solid var(--line);box-shadow:0 12px 25px #19394a10;flex-direction:column;gap:0;max-height:calc(100vh - 65px);max-height:calc(100dvh - 65px);overflow-y:auto;overscroll-behavior:contain}.primary-nav.is-open{display:flex}.nav-link{font-size:14px;min-height:44px;padding:0 12px;border-radius:8px}.nav-link:after{display:none}.nav-link.is-current{background:var(--teal-soft)}.menu-toggle{display:inline-flex}html:not(.kts-js) .header-inner{height:auto;min-height:65px;flex-wrap:wrap;align-content:center;padding-block:10px}html:not(.kts-js) .primary-nav{position:static;order:3;flex:1 0 100%;width:100%;max-height:none;overflow:visible;display:flex;box-shadow:none;border:0;border-top:1px solid var(--line);padding:10px 0 0}html:not(.kts-js) .menu-toggle{display:none}.tool-page-layout,.game-workspace{grid-template-columns:1fr}.tool-aside{grid-template-columns:repeat(2,minmax(0,1fr))}.game-directory{grid-template-columns:repeat(2,minmax(0,1fr))}.footer-grid{grid-template-columns:minmax(0,1.4fr) repeat(2,minmax(0,1fr));gap:22px}}
@media(max-width:700px){.results--fonts .result-value{font-size:17px}.font-editor{padding:13px}.site-container{width:min(calc(100% - 28px),var(--wrap))}.shortcut-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.feature-link{padding:12px;min-height:84px}.icon-tile{width:41px;height:41px}.feature-link-copy strong{font-size:13px}.feature-link-copy small{font-size:11px}.saved-items-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.symbol-grid{grid-template-columns:repeat(6,minmax(0,1fr));gap:7px}.symbol-cell{height:58px;font-size:25px}.symbol-tabs{flex-wrap:wrap;overflow:visible;padding-bottom:0}.symbol-tab{flex-shrink:0}.editorial-grid{grid-template-columns:1fr}.editorial-visual{height:185px}.section-top{align-items:flex-start}.section-top h2{font-size:22px}.section-link{font-size:11px;padding-top:8px}.tool-page-header{padding:23px 0 20px}.tool-page-header h1{font-size:28px}.error-shortcuts{grid-template-columns:1fr}.error-shortcuts .feature-link{min-height:72px;flex-direction:row;align-items:center}.footer-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.footer-intro{grid-column:1/-1}.footer-bottom{padding-block:14px}.tool-aside{grid-template-columns:1fr}}
@media(max-width:460px){.game-hero{min-height:0;margin:15px 0 18px}.game-hero-art{display:none}.game-hero h1{font-size:27px;line-height:1.2}.game-directory{grid-template-columns:1fr;gap:10px}.game-entry{min-height:0;gap:6px;padding:15px}.game-entry-icon{margin-bottom:3px}.game-entry-cta{padding-top:6px}.game-hub-row{grid-template-columns:1fr;gap:8px}.game-hub-row .btn{grid-column:auto;justify-self:stretch} .game-hub-search{padding:12px;gap:10px}.game-hub-search-field{flex-basis:100%}.game-hub-search-actions{width:100%}.game-hub-search-actions>.btn{flex:1;min-width:0}.game-hub-compare,.game-hub-guide{margin-top:16px}.font-status-note{font-size:10px}.results--fonts .result-card{padding:12px;gap:10px}.results--fonts .copy-button{min-width:44px;width:44px;padding:0}.results--fonts .copy-label{display:none}.font-workspace .panel-heading h2{font-size:21px}.font-result-heading h3{font-size:17px}.header-inner{gap:10px}.brand-word{font-size:16px}.brand-mark{width:33px;height:33px}.header-icon{display:inline-flex}.header-favorite{min-width:44px;width:44px;padding:0}.header-favorite span{display:none}.app-panel,.article-panel{padding:17px}.generator-compact .results{grid-template-columns:1fr 1fr}.generator-compact .result-value{font-size:12px}.generator-compact .result-card{padding:6px}.generator-compact .copy-button,.generator-compact .save-button{min-width:44px;padding:0 4px}.field-row{gap:8px}.field-label{font-size:11px}.preset-chip{font-size:11px;padding-inline:9px}.shortcut-grid{gap:9px}.feature-link{gap:8px;padding:10px;flex-direction:column;align-items:flex-start;min-height:139px}.feature-link .icon-tile{width:41px;height:41px}.feature-link-copy strong{font-size:13px}.feature-link-copy small{font-size:11px}.section-top{flex-wrap:wrap;gap:5px}.section-link{padding-top:0}.saved-items-grid{grid-template-columns:1fr}.saved-item{min-height:48px}.symbol-grid{grid-template-columns:repeat(6,minmax(0,1fr));gap:6px}.symbol-cell{height:48px;font-size:22px}.symbol-inspector{flex-wrap:wrap}.symbol-inspector-text p{font-size:12px}.symbol-inspector>.copy-button{margin-left:auto}.symbol-results-hint{display:none}.symbols-panel{padding:14px}.symbols-panel .panel-heading h2{font-size:17px}.symbol-search-row{gap:6px}.symbol-clear{padding:0 10px}.faq-items{padding-inline:15px}.game-entry strong{font-size:15px}.game-hero{padding:23px}.game-hero-art .ui-icon{width:72px;height:72px}.space-option{grid-template-columns:42px minmax(0,1fr);gap:10px;padding:12px}.space-option-icon{width:42px;height:42px}.space-option .space-copy{grid-column:1/-1;width:100%}.space-intro{padding:11px}.space-preview{padding:14px}.space-list-heading{align-items:flex-start}.space-list-heading .result-count{white-space:nowrap}.empty-editorial{flex-wrap:wrap}.empty-editorial .btn{width:100%}}
@media(max-width:360px){.header-inner{gap:8px}.header-actions{gap:5px}.symbol-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.generator-compact .results{grid-template-columns:1fr}.field-row{grid-template-columns:1fr}.brand-word{font-size:15px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;animation:none!important;transition:none!important}}

/* Thư viện kí tự: bổ sung thành phần dùng chung, không tạo tệp CSS riêng. */

/* Dedicated name builder: one canonical owner; homepage compact variant is unchanged. */
.name-input-help{margin:-8px 0 16px;line-height:1.6}.name-filter-section{margin:9px 0 17px}
.name-filter-row{display:flex;flex-wrap:wrap;gap:7px}
.name-filter-row .preset-chip{font-size:13px}
.name-filter-row [data-name-clear-filters][hidden]{display:none}
/* Canonical generator cutoff control (reuses the existing name-filter owner). */
.name-filter-cutoff{display:flex;align-items:center;gap:9px;min-height:44px;font-size:13px;line-height:1.5;font-weight:650;cursor:pointer;margin:4px 0 6px}.name-filter-cutoff input{width:19px;height:19px;flex:0 0 auto;accent-color:var(--teal)}

.name-limit-control{display:flex;align-items:end;justify-content:space-between;gap:12px;margin:4px 0 5px}.name-limit-control .field-label{margin:0 0 3px}.name-limit-control .tiny-note{margin:0}.name-limit-control select{width:160px;min-width:160px;min-height:44px;font-size:13px;padding:9px 11px}.name-limit-summary{margin:0 0 15px}.name-result-length{display:block;font-size:11px;line-height:1.45;color:#536b7a;margin-top:3px}.name-result-length.is-over{color:#a15a0c;font-weight:700}
.name-preview{border:1px solid var(--line);border-radius:10px;background:var(--surface);padding:16px;margin:0 0 20px;min-width:0}.name-preview-top{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.name-preview-top h3{font-size:16px;margin:0 0 3px}.name-preview-top p{margin:0}.name-preview-size{display:flex;gap:5px;flex-shrink:0}.name-preview-size .preset-chip{min-height:44px}.name-preview-label{margin:12px 0 5px;font-weight:700}.name-preview-sample{padding:17px 12px;text-align:center;background:#fff;border:1px solid var(--line);border-radius:8px;font-size:18px;line-height:1.5;font-weight:650;color:var(--ink);overflow-wrap:anywhere;min-width:0}.name-preview-sample[data-size=large]{font-size:29px;min-height:94px}.name-preview-actions{display:flex;align-items:center;flex-wrap:wrap;gap:9px;margin-top:12px}.name-preview-actions .tiny-note{flex-basis:100%}.name-result-select{border:0;background:transparent;display:block;text-align:left;cursor:pointer;padding:3px 0;color:inherit;font:inherit;border-radius:4px}.name-result-select:focus-visible{outline:3px solid #80d7ce;outline-offset:2px}.generator-panel:not(.generator-compact) .result-card.is-previewed{border-color:#70cbc2;background:#f7fcfb}.generator-panel:not(.generator-compact) .name-result-select[aria-pressed=true] .result-label{color:var(--teal-dark)}.name-preview-actions [disabled]{opacity:.5;cursor:not-allowed}
/* v1.51: readable name results and honest per-result Unicode compatibility guidance. */
.generator-panel:not(.generator-compact) .name-result-select{width:100%;min-height:44px;padding:4px 5px 4px 0;overflow-wrap:anywhere;word-break:normal}
.generator-panel:not(.generator-compact) .result-value{font-size:18px;line-height:1.55;overflow-wrap:anywhere;word-break:normal}
.generator-panel:not(.generator-compact) .result-card{align-items:flex-start}
.generator-panel:not(.generator-compact) .result-actions{align-self:center}
.name-compat-intro{margin:-7px 0 15px;line-height:1.65}
.name-input-warning{margin:0 0 15px;color:#8c4c08;background:#fff8e9;border-radius:8px;padding:10px 12px}
.name-input-warning[hidden]{display:none}
.name-compat{display:inline-block;color:#5b6979;font-size:11px;line-height:1.55;margin-top:3px}
.name-compat--hidden,.name-compat--emoji{color:#995400;font-weight:700}
.name-compat--font,.name-compat--decor{color:#705c83}
.name-preview-original{margin:0 0 9px;line-height:1.6;overflow-wrap:anywhere}.name-preset-help{margin:8px 0 16px;line-height:1.6}
.name-preview-compat{margin:9px 0 0;line-height:1.6}
.name-preview-compat[data-kind=hidden],.name-preview-compat[data-kind=emoji]{color:#92500a}
.name-preview-sample[data-size=small]{font-size:14px;line-height:1.65;min-height:68px}
@media(max-width:460px){
 .generator-panel:not(.generator-compact) .result-card{flex-direction:column;align-items:stretch;gap:9px;padding:12px}
 .generator-panel:not(.generator-compact) .result-actions{width:100%;align-self:stretch;justify-content:flex-end}
 .generator-panel:not(.generator-compact) .result-actions .copy-button{flex:1;max-width:180px}
 .generator-panel:not(.generator-compact) .result-value{font-size:17px;line-height:1.6}
 .generator-panel:not(.generator-compact) .result-label{font-size:12px}
 .name-preview-size{flex-wrap:wrap;width:100%}
 .name-preview-size .preset-chip{min-width:0;flex:1}
 .name-preview-sample{font-size:17px;overflow-wrap:anywhere}
}
.name-more-row{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:10px;margin-top:16px}
.name-more-row .btn{min-height:44px}
.name-more-row [hidden]{display:none}
.generator-panel:not(.generator-compact) .result-card:focus{outline:3px solid #80d7ce;outline-offset:2px}
@media(max-width:460px){.name-preview{padding:12px}.name-preview-top{flex-direction:column;gap:10px}.name-preview-sample[data-size=large]{font-size:23px}.name-preview-actions .btn{flex:1;min-width:0}.name-limit-control{align-items:stretch;flex-direction:column;gap:7px}.name-limit-control select{width:100%}.name-filter-row{gap:6px}.name-filter-row .preset-chip{font-size:12px;padding-inline:10px}.name-more-row .btn{width:100%}}

/* Tạo tên v1.53: repair paths for blocked clipboard and local saved names.
   Scoped to the existing name tool owner; no new stylesheet or generic override. */
.name-manual-copy[hidden]{display:none}
.name-manual-copy{margin:17px 0;padding:15px;border:1px solid var(--line-strong);border-radius:10px;background:var(--surface)}
.name-manual-copy-heading{display:flex;align-items:center;justify-content:space-between;gap:12px}
.name-manual-copy-heading h3{font-size:16px;margin:0}
.name-manual-copy p{margin:8px 0 12px;line-height:1.6}
.name-manual-copy textarea{width:100%;min-height:74px;margin:0;resize:vertical;overflow-wrap:anywhere;line-height:1.6}
.name-saved-drawer{margin:15px 0;border:1px solid var(--line);border-radius:10px;padding:0 15px;background:var(--white)}
.name-saved-drawer>summary{font-size:14px;gap:9px}
.name-saved-drawer>summary .tiny-note{margin-left:auto;font-weight:400}
.name-saved-drawer>div{padding:0 0 16px}
.name-saved-drawer>div>.tiny-note{margin:0 0 12px;line-height:1.6}
.name-saved-drawer .saved-items{grid-template-columns:1fr 1fr}
.name-saved-drawer .saved-item{min-width:0}
.name-no-script{border-left:3px solid var(--teal);padding:12px 15px;background:var(--surface);font-size:14px;line-height:1.7;margin:0 0 18px}
.name-compat--broken,.name-preview-compat[data-kind=broken]{color:#9a3a26;font-weight:700}
@media(max-width:700px){.name-saved-drawer .saved-items{grid-template-columns:1fr}}
@media(max-width:360px){.name-manual-copy{padding:12px}.name-saved-drawer{padding-inline:12px}}

/* Canonical symbol-browser owner: functional catalogue layout (v1.7).
   The variant only applies to the full catalogue page; homepage retains compact browser.
   No site-wide overrides, new stylesheet or decorative card system. */
.tool-page-layout--symbols{grid-template-columns:minmax(0,1fr)}
.tool-page-header--symbols{padding:22px 0 20px}
.tool-page-header--symbols h1{font-size:clamp(27px,2.7vw,34px);letter-spacing:-.025em;margin-bottom:6px}
.tool-page-header--symbols p{font-size:14px;line-height:1.6}
.tool-page-layout--symbols .tool-main{gap:22px}
.tool-page-layout--symbols .tool-aside{display:block}
.tool-page-layout--symbols .tool-aside .side-panel{padding:19px 24px;box-shadow:none}
.tool-page-layout--symbols .tool-aside .side-panel h2{font-size:16px;margin-bottom:7px}
.tool-page-layout--symbols .aside-links{grid-template-columns:repeat(4,minmax(0,1fr));gap:0 18px}
.tool-page-layout--symbols .aside-links a{font-size:13px;min-width:0}
.tool-page-layout--symbols .tool-article{box-shadow:none;padding:30px 34px;width:100%}
/* One editorial directory for the symbol catalogue; no page-level overrides. */
.symbol-guide-directory{display:grid;gap:9px;margin:16px 0 20px;min-width:0}
.symbol-guide-directory>details{border:1px solid var(--line);border-radius:9px;background:#fff;min-width:0;overflow:hidden}
.symbol-guide-directory>details>summary{display:flex;align-items:center;justify-content:space-between;gap:8px 18px;flex-wrap:wrap;min-height:52px;padding:10px 14px}
.symbol-guide-directory>details>summary>span{font-weight:700;flex:1;min-width:160px}
.symbol-guide-directory>details>summary>small{font-weight:400;color:var(--muted);font-size:12px;line-height:1.5}
.symbol-guide-directory>details>summary:after{margin-left:0}
.symbol-guide-directory ul{padding:0;margin:0;list-style:none}
.symbol-guide-directory li{display:grid;grid-template-columns:minmax(125px,1fr) minmax(96px,1fr) minmax(0,1.6fr);align-items:center;gap:9px 13px;padding:10px 14px;border-top:1px solid var(--line);min-width:0}
.symbol-guide-pick{display:inline-flex;align-items:center;justify-content:space-between;gap:8px;min-height:44px;min-width:0;text-align:left;padding:8px 10px;border:1px solid var(--line-strong);border-radius:7px;background:var(--teal-soft);color:var(--teal-dark);font:inherit;font-weight:700;cursor:pointer}
.symbol-guide-pick:hover{border-color:var(--teal)}
.symbol-guide-pick:focus-visible{outline:3px solid var(--teal);outline-offset:2px}
.symbol-guide-sample{font-size:20px;line-height:1.6;overflow-wrap:anywhere}
.symbol-guide-purpose{color:var(--muted);overflow-wrap:anywhere}
.symbol-guide-compare{display:grid;gap:10px;margin:14px 0 20px}
.symbol-guide-compare>div{padding:12px 15px;background:var(--teal-soft);border-radius:9px;min-width:0}
.symbol-guide-compare dt{font-weight:700}
.symbol-guide-compare dd{margin:5px 0 0;line-height:1.75}
@media(max-width:700px){.symbol-guide-directory li{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}.symbol-guide-purpose{grid-column:1/-1}.symbol-guide-directory>details>summary{display:grid;grid-template-columns:minmax(0,1fr) auto;justify-content:stretch}.symbol-guide-directory>details>summary>span{grid-column:1;grid-row:1;min-width:0}.symbol-guide-directory>details>summary>small{grid-column:1/-1;grid-row:2;min-width:0}.symbol-guide-directory>details>summary:after{grid-column:2;grid-row:1}}
@media(max-width:380px){.symbol-guide-directory li{grid-template-columns:minmax(0,1fr)}.symbol-guide-purpose{grid-column:auto}}
.tool-page-layout--symbols .tool-article h2{font-size:22px;letter-spacing:-.012em}
.tool-page-layout--symbols .tool-article h3{font-size:17px;letter-spacing:0}
.tool-page-layout--symbols .tool-article p,.tool-page-layout--symbols .tool-article li{font-size:15px;line-height:1.8}
.symbols-panel--catalog{padding:0;overflow:hidden;box-shadow:none;border-radius:11px}
.symbol-catalog-header{display:flex;justify-content:space-between;align-items:center;gap:18px;padding:21px 25px;border-bottom:1px solid var(--line)}
.symbol-catalog-header h2{font-size:21px;letter-spacing:-.025em;margin:0 0 4px;font-weight:750}
.symbol-catalog-header p{font-size:14px;line-height:1.55;margin:0}
.symbol-catalog-total{font-size:12px;color:#53677c;font-weight:650;white-space:nowrap}
.symbol-catalog-body{display:grid;grid-template-columns:206px minmax(0,1fr);align-items:start}
.symbol-catalog-rail{min-width:0;background:#fafcfd;border-right:1px solid var(--line);padding:18px 10px 20px 14px;max-height:465px;overflow-y:auto;scrollbar-width:thin}
.symbol-catalog-rail h3{font-size:14px;margin:0 9px 11px;display:flex;align-items:center;justify-content:space-between;gap:10px;letter-spacing:0}
.symbol-catalog-rail h3 span{font-size:11px;font-weight:500;color:#748298;white-space:nowrap}
.symbol-catalog-categories{display:grid;gap:2px}
.symbol-catalog-category{width:100%;min-height:44px;display:flex;align-items:center;justify-content:space-between;text-align:left;gap:9px;padding:8px 10px;border:0;border-left:2px solid transparent;background:transparent;color:#35465d;font-size:13px;font-weight:570;border-radius:4px}
.symbol-catalog-category:hover{background:#edf3f4;color:#172f41}
.symbol-catalog-category[aria-pressed=true]{background:#e8f5f3;color:#066c69;border-left-color:#008f86;font-weight:740}
.symbol-catalog-category small{font-size:11px;color:#8996a6;font-weight:500;font-variant-numeric:tabular-nums}
.symbol-catalog-category[aria-pressed=true] small{color:#237e78}
.symbol-catalog-main{min-width:0;padding:21px 24px 27px}
.symbol-catalog-label{display:block;color:#253b51;font-size:14px;font-weight:700;margin-bottom:8px}
.symbol-catalog-search{margin:0 0 13px;gap:9px}
.symbol-catalog-search .search-box{min-width:0;flex:1}
.symbol-catalog-search .search-box input{min-height:48px;font-size:15px}
.symbol-catalog-search .symbol-clear{font-size:13px;min-width:54px}
.symbol-catalog-quick{display:flex;flex-wrap:wrap;gap:7px;margin:0 0 12px}
.symbol-catalog-quick-button{background:white;border:1px solid #d9e2e8;border-radius:6px;min-height:44px;padding:7px 12px;font-size:13px;font-weight:550;color:#31455c}
.symbol-catalog-quick-button:hover{background:#f4f8f8}
.symbol-catalog-quick-button[aria-pressed=true]{background:#e8f5f3;border-color:#87c8be;color:#006e67;font-weight:730}
.symbol-catalog-tools{display:flex;align-items:center;gap:7px;flex-wrap:wrap;margin:0 0 22px;color:#76879b;font-size:12px}
.symbol-catalog-tools .symbol-example{background:transparent;border:0;border-radius:4px;min-height:44px;font-size:12px;padding:3px 6px;color:#236f70;font-weight:600;text-decoration:underline;text-underline-offset:3px}
.symbol-catalog-tools .symbol-example:hover{background:#eef6f5}
.symbol-catalog-results-heading{display:flex;align-items:baseline;justify-content:space-between;gap:14px;border-top:1px solid var(--line);padding-top:15px;margin:0 0 14px}
.symbol-catalog-results-heading h3{font-size:16px;font-weight:730;letter-spacing:0;margin:0}
.symbol-catalog-results-heading h3 span{font-size:13px;color:#657789;font-weight:500;margin-left:6px}
.symbol-catalog-results-heading>span{font-size:12px;color:#7b8b99}
.symbols-panel--catalog .symbol-grid{grid-template-columns:repeat(auto-fill,minmax(57px,1fr));gap:7px}
.symbols-panel--catalog .symbol-cell{height:64px;font-size:27px;border-radius:6px;color:#1c3042;background:white;border:1px solid #dfe6eb;transition:background-color .1s,border-color .1s}
.symbols-panel--catalog .symbol-cell:hover,.symbols-panel--catalog .symbol-cell:focus-visible{background:#f1faf8;border-color:#36a69c}
.symbols-panel--catalog .symbol-cell.is-copied{background:#e4f6f3;border-color:#008f86;color:#006b66;box-shadow:inset 0 0 0 1px #008f86}
.symbols-panel--catalog .symbol-cell:focus-visible,.symbol-catalog-category:focus-visible,.symbol-catalog-quick-button:focus-visible,.symbol-catalog-tools button:focus-visible{outline:3px solid #198b83;outline-offset:2px}
.symbols-panel--catalog .symbol-paging{margin:20px 0 0}
.symbols-panel--catalog .symbol-load-more{min-height:44px;border-radius:7px;font-size:13px}
.symbols-panel--catalog .symbol-inspector{margin:0 0 13px;border-radius:7px;gap:12px;padding:10px 13px;background:#f2f8f7;border-color:#c5e2df}
.symbols-panel--catalog .symbol-inspector-preview{width:51px;height:51px;font-size:29px;border-radius:5px}
.symbols-panel--catalog .symbol-inspector-text strong{font-size:14px}
.symbols-panel--catalog .symbol-inspector-text p{font-size:12px}
.symbols-panel--catalog .symbol-inspector>.copy-button{min-height:44px}
.symbols-panel--catalog .symbol-inspector.is-awaiting{background:#f7fafc;border-color:#e0e8ee}
.symbols-panel--catalog .symbol-inspector.is-awaiting .symbol-inspector-preview{background:#eef3f7;color:#8695a2}
.symbols-panel--catalog .symbol-inspector [data-symbol-copy-code]:disabled{opacity:.55;cursor:not-allowed}
/* Trước khi chọn kí tự, không chiếm hai hàng nút bị vô hiệu trên mobile. */
.symbols-panel--catalog .symbol-inspector.is-awaiting [data-symbol-copy-code],.symbols-panel--catalog .symbol-inspector.is-awaiting [data-symbol-compose-add]{display:none}
/* Bảng ghép dùng native details: mặc định thu gọn để nhìn thấy lưới kí tự sớm hơn. */
.symbol-composer{min-width:0;margin:0 0 17px;padding:10px 15px;border:1px solid var(--line);border-radius:10px;background:#fafcfc}
.symbol-composer-toggle{display:flex;align-items:center;gap:10px;min-height:44px;cursor:pointer;list-style:none}
.symbol-composer-toggle::-webkit-details-marker{display:none}
.symbol-composer-toggle>span:first-child{display:grid;gap:2px;flex:1;min-width:0}
.symbol-composer-toggle strong{font-size:15px;line-height:1.35;color:var(--ink)}
.symbol-composer-toggle small{font-size:12px;line-height:1.4;color:var(--muted)}
.symbol-composer-toggle [data-symbol-compose-count]{font-size:13px;font-variant-numeric:tabular-nums;flex-shrink:0;color:var(--muted)}
.symbol-composer-toggle::after{content:'+';font-size:20px;color:var(--teal-dark);line-height:1;font-weight:600}
.symbol-composer[open] .symbol-composer-toggle::after{content:'−'}
.symbol-composer-toggle:focus-visible{outline:3px solid #198b83;outline-offset:2px;border-radius:5px}
.symbol-composer-content{padding-top:12px}
.symbol-composer-intro{font-size:13px;line-height:1.6;color:var(--muted);margin:0 0 12px}
.symbol-composer label{display:block;margin-bottom:6px;font-size:13px;font-weight:700;color:var(--ink)}
.symbol-composer textarea{display:block;width:100%;min-height:69px;resize:vertical;border:1px solid var(--line-strong);border-radius:7px;padding:10px 12px;font:22px/1.65 'Segoe UI',Arial,sans-serif;overflow-wrap:anywhere;background:#fff;color:var(--ink)}
.symbol-composer-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:10px}
.symbol-composer-actions button{min-height:44px;border:1px solid var(--line-strong);border-radius:7px;padding:9px 12px;background:#fff;color:var(--ink);font-size:13px;font-weight:650}
.symbol-composer-actions button:first-child{background:var(--teal-dark);color:#fff;border-color:var(--teal-dark)}
.symbol-composer-actions button:disabled{opacity:.52;cursor:not-allowed}
.symbol-composer-actions [data-symbol-compose-mode][aria-pressed="true"]{background:#e1f3ef;border-color:#008f86;color:#00685f}
.symbol-composer-feedback{font-size:12px;line-height:1.65;color:var(--muted);margin:10px 0 0}
.symbols-panel--catalog .symbol-inspector-add{min-height:44px}
@media(max-width:700px){.symbols-panel--catalog .symbol-inspector-add{grid-column:2;justify-self:start}.symbol-composer{padding:13px}.symbol-composer-actions button{flex:1;min-width:130px}}
.symbol-catalog-results-heading [data-symbol-quick-reset]{min-height:44px;flex-shrink:0}
.symbol-catalog-results-heading [data-symbol-quick-reset][hidden]{display:none}
.symbol-catalog-share{display:flex;align-items:center;justify-content:flex-end;gap:12px;flex-wrap:wrap;padding:15px 0 0;border-top:1px solid var(--line);margin-top:17px;font-size:12px;color:var(--muted)}
.symbol-share-filter{min-height:44px;padding:8px 14px;border:1px solid #b6d6d3;border-radius:7px;background:#fff;color:#006e67;font-size:13px;font-weight:700}
.symbol-share-filter:hover,.symbol-share-filter:focus-visible{background:#e8f5f3}
.symbol-mobile-groups{display:none}
@media(max-width:990px){
 .symbol-catalog-body{grid-template-columns:176px minmax(0,1fr)}
 .symbol-catalog-main{padding:18px}
 .symbol-catalog-rail{padding:16px 7px 16px 9px}
 .symbols-panel--catalog .symbol-grid{grid-template-columns:repeat(auto-fill,minmax(53px,1fr))}
}
@media(max-width:700px){
 .symbol-catalog-header{padding:17px 17px 14px;display:block}
 .symbol-catalog-header h2{font-size:19px}
 .symbol-catalog-header p{font-size:13px}
 .symbol-catalog-total{display:block;margin-top:6px;font-size:12px}
 .symbol-catalog-body{display:block}
 .symbol-catalog-rail{display:none}
 .symbol-catalog-main{padding:16px}
 .symbol-catalog-label{font-size:13px}
 .symbol-catalog-quick{flex-wrap:nowrap;overflow-x:auto;scrollbar-width:thin;padding-bottom:5px;margin-bottom:7px}
 .symbol-catalog-quick-button{flex-shrink:0}
 .symbol-mobile-groups{display:block;border-bottom:1px solid var(--line);margin-bottom:12px}
 .symbol-mobile-groups summary{font-size:13px;color:#245c5b;min-height:44px;font-weight:700;justify-content:flex-start}
 .symbol-mobile-groups summary:after{content:'+';margin-left:auto;font-size:20px}
 .symbol-mobile-groups[open] summary:after{content:'−'}
 .symbol-mobile-category-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:3px 6px;padding:0 0 14px}
 .symbol-mobile-category-list .symbol-catalog-category{border:1px solid #e3e9ed;border-left:2px solid transparent;min-height:44px;font-size:12px}
 .symbol-mobile-category-list .symbol-catalog-category[aria-pressed=true]{border-color:#c2e2dc;border-left-color:#008f86}
 .symbol-catalog-tools{margin-bottom:12px;flex-wrap:nowrap;overflow-x:auto;scrollbar-width:thin;white-space:nowrap}
 .symbol-catalog-results-heading{margin-bottom:10px;align-items:flex-start}
 .symbol-catalog-results-heading h3{font-size:15px}
 .symbol-catalog-results-heading h3 span{display:block;margin:2px 0 0}
 .symbol-catalog-results-heading>span{display:none}
 .symbols-panel--catalog .symbol-grid{grid-template-columns:repeat(auto-fill,minmax(52px,1fr));gap:6px}
 .symbols-panel--catalog .symbol-cell{height:59px;font-size:26px}
 .symbols-panel--catalog .symbol-inspector{display:grid;grid-template-columns:48px minmax(0,1fr);gap:8px 10px;align-items:center}
 .symbols-panel--catalog .symbol-inspector-preview{width:48px;height:48px}
 .symbols-panel--catalog .symbol-inspector-text p{display:none}
 .symbols-panel--catalog .symbol-inspector>.copy-button{grid-column:2;justify-self:start;margin-left:0}
 .tool-page-layout--symbols .tool-article{padding:22px 18px}
 .tool-page-layout--symbols .aside-links{grid-template-columns:repeat(2,minmax(0,1fr));gap:0 12px}
 .tool-page-layout--symbols .tool-aside .side-panel{padding:17px}
}
@media(max-width:390px){
 .symbols-panel--catalog .symbol-grid{grid-template-columns:repeat(auto-fill,minmax(51px,1fr))}
 .symbols-panel--catalog .symbol-cell{height:56px;font-size:25px}
 .symbol-catalog-main{padding:13px}
 .symbol-catalog-search .search-box input{font-size:14px}
 .symbols-panel--catalog .symbol-inspector>.copy-button{min-width:44px}
}
@media(max-width:360px){
 .symbol-mobile-category-list{grid-template-columns:1fr}
 .symbols-panel--catalog .symbol-grid{grid-template-columns:repeat(4,minmax(0,1fr))}
}

.symbol-examples{display:flex;align-items:center;gap:7px;flex-wrap:wrap;margin:-2px 0 14px;font-size:12px;color:var(--muted)}
/* Actions in an empty Unicode result must wrap, not hide the last recovery button on mobile. */
.symbols-panel--catalog .symbol-empty-actions{flex-wrap:wrap;overflow:visible;margin:12px 0 0;padding-bottom:0}
.symbols-panel--catalog .symbol-empty-actions .symbol-example{min-height:44px}
.symbols-panel--catalog [data-symbol-search-all][hidden]{display:none}
.symbol-example{min-height:44px;background:var(--surface);border:1px solid var(--line);border-radius:9px;padding:7px 11px;color:var(--ink);font-weight:600;font-size:12px}
.symbol-example:hover,.symbol-example:focus-visible{background:#e6f8f4;border-color:#8ccdc3}
.symbol-tab-number{font-size:11px;color:var(--muted);font-weight:500}
.symbol-tab.is-active .symbol-tab-number{color:inherit}
.symbol-more-groups{margin:-5px 0 18px}
.symbol-more-groups summary{display:inline-flex;align-items:center;gap:7px;min-height:44px;cursor:pointer;color:var(--teal-dark);font-size:13px;font-weight:700;list-style:none}
.symbol-more-groups summary::-webkit-details-marker{display:none}
.symbol-more-groups[open] summary span{transform:rotate(180deg)}
.symbol-extra-tabs{margin:7px 0 8px}
.symbols-panel .symbol-inspector-text strong{font-size:14px}
@media(max-width:700px){.symbol-examples{flex-wrap:nowrap;overflow-x:auto;scrollbar-width:thin;padding-bottom:5px}.symbol-example{white-space:nowrap;flex-shrink:0}.symbol-more-groups .symbol-extra-tabs{flex-wrap:wrap;overflow:visible}.symbol-tab-number{font-size:10px}}

/* Trang chủ — owner giao diện tra cứu kí tự. Không tạo CSS trang hay lớp sửa đè.
   Dành điểm nhấn cho công cụ/kí tự; nội dung hướng dẫn theo bố cục biên tập. */
.hero-section{background:#f7fafb;border-bottom:1px solid var(--line);margin-bottom:16px}
.hero-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.04fr);align-items:center;gap:46px;padding-block:43px 39px}
.hero-copy{min-width:0}
.hero-tag{font-size:14px;font-weight:700;letter-spacing:0;color:var(--teal-dark);margin:0 0 11px}
.hero-copy h1{font-size:clamp(37px,3.7vw,52px);line-height:1.14;letter-spacing:-.038em;margin:0 0 16px;max-width:570px;font-weight:780}
.hero-copy h1 span{color:var(--teal-dark)}
.hero-description{font-size:16px;line-height:1.7;color:#415269;margin:0 0 18px;max-width:545px}
.hero-microcopy{color:#5b6c7d;font-size:14px;line-height:1.6;margin:9px 0 0}
.hero-microcopy a{text-decoration:underline;text-underline-offset:3px}
.hero-search{margin:18px 0 8px;max-width:590px}
.hero-search>label{display:block;font-size:14px;font-weight:700;color:#273c53;margin-bottom:8px}
.hero-search-row{display:flex;gap:8px;min-width:0}
.hero-search-row input{min-width:0;flex:1;min-height:52px;border-radius:7px;background:#fff;border:1px solid #c9d8e1;padding:0 15px;color:var(--ink);font-size:15px}
.hero-search-row input:focus{border-color:var(--teal);box-shadow:0 0 0 3px #d9f3ed;outline:0}
.hero-search-row .btn{min-height:52px;padding-inline:21px;white-space:nowrap;border-radius:7px;font-size:14px}
.hero-search-suggestions{display:flex;flex-wrap:wrap;align-items:center;gap:6px 8px;margin-top:8px;color:#667789;font-size:14px}
.hero-search-suggestions button{padding:8px 10px;border:0;border-radius:5px;color:#125f5a;background:transparent;font-size:14px;min-height:44px;text-decoration:underline;text-underline-offset:3px}
.hero-search-suggestions button:hover,.hero-search-suggestions button:focus-visible{background:#e3f3ef}
.hero-samples{padding:24px;background:#fff;border:1px solid #dbe6eb;border-radius:10px;box-shadow:0 6px 20px rgba(24,54,71,.035);min-width:0}
.hero-samples-heading h2{font-size:19px;line-height:1.3;margin:0 0 5px;letter-spacing:-.015em}
.hero-samples-heading p{font-size:14px;line-height:1.65;margin:0 0 12px;color:#5b6b7d}
.home-copy-list{display:grid;grid-template-columns:repeat(8,minmax(0,1fr));gap:7px}
.home-copy-item,.home-symbol{background:#fff;display:grid;place-items:center;min-width:0;min-height:52px;border:1px solid #dbe5ea;border-radius:6px;font-family:var(--font);font-size:25px;line-height:1.25;color:#20334b;transition:background-color .14s,border-color .14s}
/* Home quick examples: first 12 visible, remaining 12 opt-in; native details works without JS. */
.home-quick-more{margin-top:9px;min-width:0}
.home-quick-more>summary{min-height:44px;display:flex;align-items:center;justify-content:flex-start;color:var(--teal-dark);font-size:14px;font-weight:700;cursor:pointer;list-style:none}
.home-quick-more>summary::-webkit-details-marker{display:none}
.home-quick-more>summary:after{content:"+";margin-left:9px;font-size:18px;font-weight:500;line-height:1}
.home-quick-more[open]>summary:after{content:"−"}
.home-quick-more .home-copy-list{margin-top:3px}
.home-copy-item:hover,.home-copy-item.is-copied,.home-symbol:hover,.home-symbol.is-copied{background:#eaf7f4;border-color:#77beb5;color:#086c67}
.home-copy-item:focus-visible,.home-symbol:focus-visible{outline:3px solid #007f7b;outline-offset:2px}
.home-manual-copy{margin-top:10px;padding-top:8px;border-top:1px solid var(--line)}
.home-manual-copy summary{cursor:pointer;font-size:13px;font-weight:650;color:var(--teal-dark);min-height:44px;display:flex;align-items:center}
.home-manual-copy label{display:block;margin:5px 0 7px;font-size:13px;color:var(--muted)}
.home-manual-copy textarea{display:block;width:100%;min-height:64px;border:1px solid var(--line-strong);border-radius:6px;background:#fff;color:var(--ink);font-size:20px;line-height:1.65;padding:8px 10px;resize:vertical}
.home-no-script{color:#5d4c2a;background:#fffbec;border:1px solid #e8d7a6;padding:10px 12px;border-radius:6px;font-size:13px;line-height:1.65}

.home-sections>.home-block{scroll-margin-top:18px}
.home-sections .section-top{align-items:start}
.home-sections .section-top h2{font-size:26px;line-height:1.26;font-weight:760;letter-spacing:-.025em}
.home-sections .section-top p{font-size:15px;line-height:1.65;color:#576b7e;max-width:760px}
.home-sections .section-link{font-size:14px;min-height:44px;padding:8px 0}
.home-jump{display:flex;align-items:center;gap:5px 22px;flex-wrap:wrap;border-bottom:1px solid #dce5ea;padding:5px 0 17px}
.home-jump span{color:#607187;font-size:14px;font-weight:700;margin-right:2px}
.home-jump a{display:inline-flex;align-items:center;padding:7px 0;color:#31465e;border:0;border-bottom:2px solid transparent;background:transparent;font-size:14px;font-weight:650;min-height:44px;border-radius:0}
.home-jump a:hover,.home-jump a:focus-visible{color:var(--teal-dark);border-bottom-color:var(--teal)}
/* Nhóm mẫu: dạng bảng tra cứu, không biến mỗi nhóm thành một thẻ trang trí. */
.home-collections{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:28px;row-gap:0;border-top:1px solid #dae4e9}
.home-collection{min-width:0;padding:16px 0 17px;background:transparent;border:0;border-bottom:1px solid #dae4e9;border-radius:0}
.home-collection-heading{display:flex;align-items:start;justify-content:space-between;gap:14px;margin-bottom:10px}
.home-collection-heading>div{min-width:0}
.home-collection h3{font-size:18px;margin:0 0 4px;letter-spacing:-.02em;font-weight:750}
.home-collection p{font-size:14px;line-height:1.6;margin:0;color:#5a6c7d}
.home-collection-heading a{flex-shrink:0;font-size:14px;color:var(--teal-dark);font-weight:650;white-space:nowrap;min-height:44px;display:flex;align-items:center;gap:5px}
.home-collection-heading a:hover{text-decoration:underline;text-underline-offset:3px}
.home-collection-expand{margin-top:6px}
.home-collection-expand summary{display:inline-flex;align-items:center;gap:7px;min-height:44px;color:#316c70;font-size:14px;font-weight:650;cursor:pointer;list-style:none}
.home-collection-expand summary::-webkit-details-marker{display:none}
.home-collection-expand summary:after{content:none}
.home-collection-expand summary span{display:inline-grid;place-items:center;width:17px;height:17px;border:1px solid #bdd5d6;border-radius:4px;font-size:13px;font-weight:500}
.home-collection-expand[open] summary span{transform:rotate(45deg)}
.home-collection-extra{margin-top:7px}
.home-collection-items{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:8px}
.home-symbol{min-height:50px;font-size:24px;border-radius:6px}
/* Công cụ hiện có vẫn dùng chung CSS/JS gốc với trang chi tiết. */
/* Bảng kí tự trang chủ: mật độ desktop phù hợp tra cứu, không đổi template trang công cụ. */
.home-sections .symbol-grid{grid-template-columns:repeat(10,minmax(0,1fr))}
.home-sections .symbol-paging{margin:17px 0 10px;text-align:center}
.home-sections .symbol-load-more{min-height:46px;min-width:180px}
.home-sections [data-saved-showcase-section][hidden]{display:none}
.home-sections .symbols-panel{box-shadow:none;border-color:#dbe5ea;border-radius:9px}
.home-browser-summary{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:6px 18px;margin:0 0 14px;color:#314962;font-size:14px;font-weight:650}
.symbol-home-groups{display:none}
.home-browser-summary .tiny-note{font-size:13px;font-weight:500;color:#526579}
.home-tool-note{font-size:14px;line-height:1.7;margin:12px 2px 0}
.home-generator .generator-panel{box-shadow:none}
.home-generator .generator-compact .results{grid-template-columns:repeat(3,minmax(0,1fr))}
.home-generator .generator-compact .result-card{min-width:0}
/* Trang chủ: công cụ phụ đóng gọn, không lặp thẻ tính năng */
.home-generator-disclosure{border:1px solid #dbe5ea;border-radius:9px;background:#fff;overflow:hidden}
.home-generator-disclosure>summary{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:17px 20px;min-height:74px;cursor:pointer;list-style:none}
.home-generator-disclosure>summary::-webkit-details-marker{display:none}
.home-generator-disclosure>summary:after{content:none}
.home-generator-disclosure>summary strong{display:block;font-size:16px;color:var(--ink);margin-bottom:3px}
.home-generator-disclosure>summary small{display:block;color:var(--muted);font-size:14px;line-height:1.55}
.home-generator-disclosure .disclosure-state{flex-shrink:0;width:28px;height:28px;border:1px solid #d2e2e5;border-radius:7px;position:relative;background:#f4faf9}
.home-generator-disclosure .disclosure-state:before,.home-generator-disclosure .disclosure-state:after{content:"";position:absolute;top:13px;left:8px;width:11px;height:2px;border-radius:2px;background:#166f6a}
.home-generator-disclosure .disclosure-state:after{transform:rotate(90deg)}
.home-generator-disclosure[open] .disclosure-state:after{display:none}
.home-generator-workspace{border-top:1px solid var(--line)}
.home-generator-workspace .generator-panel{border:0;border-radius:0;box-shadow:none;padding:19px 20px 22px}


.home-sections .shortcut-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.home-sections .feature-link{box-shadow:none;border-radius:9px;gap:12px;min-height:92px;flex-direction:row;align-items:center}
.home-sections .feature-link:hover{transform:none;box-shadow:none;border-color:#89c7c0;background:#fcfefd}
.home-sections .feature-link-copy strong{font-size:15px}
.home-sections .feature-link-copy small{font-size:14px;line-height:1.55}
/* Trang chủ: hướng dẫn và giải thích cùng một khối biên tập */
/* Homepage curated name frames. One owner under Home collection, shared copy JS. */
.home-name-frames{min-width:0;padding:20px 0 0;scroll-margin-top:22px}
.home-name-frames-heading{display:flex;justify-content:space-between;align-items:start;gap:14px;margin-bottom:13px}
.home-name-frames-heading>div{min-width:0}
.home-name-frames-heading h3{font-size:19px;line-height:1.35;margin:0 0 5px}
.home-name-frames-heading p{color:var(--muted);font-size:14px;line-height:1.6;margin:0}
.home-name-frames-heading>a{color:var(--teal-dark);font-size:13px;font-weight:700;display:inline-flex;align-items:center;min-height:44px;white-space:nowrap}
.home-name-frames-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}
.home-name-frame{min-width:0;min-height:84px;padding:11px 9px;border:1px solid var(--line-strong);border-radius:10px;background:#fff;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:5px;text-align:center;color:var(--ink)}
.home-name-frame-value{font-size:21px;line-height:1.35;font-weight:700;overflow-wrap:anywhere;max-width:100%}
.home-name-frame-label{font-size:12px;line-height:1.3;color:var(--muted)}
.home-name-frame:hover,.home-name-frame.is-copied{background:var(--teal-soft);border-color:#77beb5}
.home-name-frame:focus-visible{outline:3px solid var(--teal-dark);outline-offset:2px}
.home-name-frames-note{font-size:12px;line-height:1.6;color:var(--muted);margin:10px 0 0}
.home-name-frames noscript textarea{width:100%;max-width:100%;margin-top:8px}
@media(max-width:700px){.home-name-frames-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.home-name-frames-heading{flex-wrap:wrap;gap:3px}.home-name-frames-heading>a{min-height:44px}.home-name-frame{min-height:74px}.home-name-frame-value{font-size:19px}}


.home-guidance-grid{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,.85fr);gap:28px;border-top:1px solid #dce5eb;padding-top:20px}
.home-guidance-steps article{padding:0 0 12px;margin-bottom:12px;border-bottom:1px solid #e5ecef}
.home-guidance-steps article:last-child{padding:0;margin:0;border:0}
.home-guidance-grid h3{font-size:17px;line-height:1.42;margin:0 0 6px}
.home-guidance-grid h4{font-size:15px;margin:15px 0 6px;line-height:1.4}
.home-guidance-grid p{font-size:15px;line-height:1.72;margin:0 0 9px;color:#495d71}
.home-guidance-grid p:last-child{margin-bottom:0}
.home-guidance-grid a{text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:3px}
.home-guidance-explainer{border-left:1px solid #dce5eb;padding-left:26px}
@media(max-width:1150px){.hero-grid{gap:28px}.home-copy-list{grid-template-columns:repeat(6,minmax(0,1fr))}.home-sections .symbol-grid{grid-template-columns:repeat(8,minmax(0,1fr))}}
@media(max-width:990px){.hero-grid{grid-template-columns:1fr;gap:22px;padding-block:37px}.hero-copy h1{max-width:800px}.hero-description{max-width:760px}.hero-samples{max-width:900px}.home-copy-list{grid-template-columns:repeat(8,minmax(0,1fr))}.home-sections .shortcut-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.home-generator .generator-compact .results{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:700px){.home-sections .symbol-grid{grid-template-columns:repeat(6,minmax(0,1fr))}.hero-grid{padding-block:26px}.hero-copy h1{font-size:clamp(30px,7vw,39px)}.hero-description{font-size:15px;line-height:1.7}.hero-samples{padding:17px}.home-collections{grid-template-columns:1fr;gap:0}.home-collection-items{grid-template-columns:repeat(6,minmax(0,1fr))}.home-guidance-grid{grid-template-columns:1fr;gap:17px}.home-guidance-explainer{border-left:0;border-top:1px solid #dce5eb;padding:17px 0 0}.home-jump{flex-wrap:wrap;overflow:visible;padding-bottom:12px;gap:2px 14px}.home-jump span,.home-jump a{flex-shrink:0}.home-sections{gap:34px}.home-sections .section-top{align-items:start}.home-sections .section-top h2{font-size:23px}}
@media(max-width:460px){.hero-copy h1{font-size:34px}.hero-search-row{flex-direction:column}.hero-search-row input,.hero-search-row .btn{width:100%}.hero-search{margin-top:17px}.hero-search-suggestions{gap:1px 5px}.hero-samples{padding:16px}.home-copy-list{grid-template-columns:repeat(6,minmax(0,1fr));gap:6px}.home-copy-item{min-height:48px;font-size:23px}.home-collection{padding:14px 0 15px}.home-collection h3{font-size:17px}.home-collection-heading{align-items:start}.home-collection-heading a{font-size:14px}.home-collection-items{gap:6px}.home-symbol{min-height:50px;font-size:23px}.home-sections .shortcut-grid{grid-template-columns:1fr;gap:9px}.home-sections .feature-link{min-height:76px;flex-direction:row;align-items:center;gap:12px;padding:12px 14px}.home-sections .feature-link-copy strong{font-size:15px}.home-sections .feature-link-copy small{font-size:13px}.symbols-panel:not(.symbols-panel--catalog) .symbol-inspector{display:grid;grid-template-columns:50px minmax(0,1fr);gap:8px 10px}.symbols-panel:not(.symbols-panel--catalog) .symbol-inspector>.copy-button{grid-column:1/-1}.symbols-panel:not(.symbols-panel--catalog)>.symbol-tabs>.symbol-tab:nth-child(n+5){display:none}.symbol-home-groups{display:block;margin:-7px 0 14px}.symbol-home-groups>summary{min-height:44px;justify-content:flex-start;gap:5px;color:var(--teal-dark);font-size:13px;font-weight:700}.symbol-home-groups>summary:after{margin-left:auto}.symbol-home-groups .symbol-tabs{margin:0 0 11px}.home-generator-disclosure>summary{padding:14px 15px}.home-generator-workspace .generator-panel{padding:15px}.home-tool-note{font-size:14px}.home-generator .generator-compact .results{grid-template-columns:1fr}.home-generator .generator-compact .result-value{font-size:15px}.home-generator .generator-compact .result-card{padding:9px 11px;min-height:63px}}
@media(max-width:360px){.hero-copy h1{font-size:30px}.home-copy-list{grid-template-columns:repeat(5,minmax(0,1fr))}.home-collection-items{grid-template-columns:repeat(6,minmax(0,1fr));gap:4px}.home-sections .symbol-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}
/* Invisible-character builder: one owner in shared Unicode tool stylesheet */
.space-builder{margin-top:23px;padding:18px;background:var(--surface);border:1px solid var(--line);border-radius:var(--radius-sm);min-width:0}
.space-builder-heading h3{font-size:18px;margin:0 0 5px}.space-builder-heading p{font-size:13px;line-height:1.6;margin:0 0 16px}
.space-builder-fields{display:grid;grid-template-columns:minmax(0,1fr) minmax(130px,180px);gap:12px;margin-bottom:12px}
.space-builder-fields>div{min-width:0}.space-builder select.text-input{max-width:100%;font-size:13px}
.space-builder-presets{margin:0 0 9px}.space-builder-presets .preset-chip{min-height:44px}
.space-builder-actions{display:flex;flex-wrap:wrap;gap:8px;margin:12px 0 15px}.space-builder-actions>button{min-height:44px}
.space-builder-actions>button:disabled{opacity:.55;cursor:not-allowed}
.spaces-workspace .space-builder .space-builder-output{margin:0 0 8px;min-height:74px;overflow-wrap:anywhere;white-space:pre-wrap;line-height:1.6}
.space-build-feedback{min-height:20px;overflow-wrap:anywhere;margin:0}
@media(max-width:460px){.space-builder{padding:14px}.space-builder-fields{grid-template-columns:minmax(0,1fr)}.space-builder-actions>button{flex:1 1 calc(50% - 8px)}.space-builder-presets{gap:7px}}
