:root{--blue:#0867d8;--blue2:#004d9f;--navy:#07325f;--ink:#0b2e55;--muted:#6d7f93;--line:#dce9f6;--bg:#f7fbff;--gold:#f7b928;--shadow:0 12px 30px rgba(13,65,116,.10)}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;font-family:'Sarabun',system-ui,sans-serif;color:var(--ink);background:#fff}a{text-decoration:none;color:inherit}img{max-width:100%;display:block}.wrap{width:min(1180px,calc(100% - 36px));margin:auto}.display{font-family:'Prompt','Sarabun',sans-serif}
.site-header{position:sticky;top:0;z-index:80;background:rgba(255,255,255,.97);border-bottom:1px solid #e7f0f8;backdrop-filter:blur(10px)}.head-top{display:flex;align-items:center;gap:24px;min-height:76px}.brand{display:flex;align-items:center;min-width:300px}.brand-face{width:66px;height:66px;object-fit:contain;margin-right:8px}.brand-name{font:800 31px/1 'Prompt';color:var(--navy)}.brand-name b{color:#d6a226}.brand-sub{font-size:11.5px;margin-top:7px;color:#375b7d;white-space:nowrap}.main-nav{display:flex;align-items:center;gap:6px;flex:1;justify-content:center}.main-nav a{padding:10px 13px;border-radius:9px;font-weight:700;font-size:14px;white-space:nowrap}.main-nav a:hover{background:#eef6ff;color:var(--blue)}.main-nav a.active{background:var(--blue);color:#fff;box-shadow:0 6px 15px rgba(8,103,216,.22)}.head-side{min-width:235px;text-align:right}.slogan{font:700 15px/1.5 'Prompt';font-style:italic;color:#183c69;display:inline-block;border-bottom:3px solid var(--gold);transform:rotate(-1deg);padding-bottom:2px}.search-mini{margin-top:8px;display:flex}.search-mini input{width:100%;border:1px solid #dbe8f5;border-radius:18px;padding:8px 13px;font:13px 'Sarabun';outline:0;background:#fbfdff}.search-mini input:focus{border-color:#8dbdeb}
.home-grid{display:grid;grid-template-columns:minmax(0,2.05fr) minmax(310px,.95fr);gap:16px;margin-top:18px}.hero{position:relative;overflow:hidden;border-radius:12px;min-height:370px;background:#053c78;box-shadow:var(--shadow)}.hero-slide{display:none;position:absolute;inset:0}.hero-slide.active{display:block}.hero-slide img{width:100%;height:100%;object-fit:cover;position:absolute;inset:0}.hero-shade{position:absolute;inset:0;background:linear-gradient(90deg,rgba(3,40,78,.96) 0%,rgba(3,40,78,.78) 43%,rgba(3,40,78,.08) 78%)}.hero-copy{position:relative;z-index:2;color:#fff;padding:48px 50px;max-width:610px}.pill{display:inline-block;background:#ffc738;color:#173a65;border-radius:9px;padding:8px 15px;font-weight:800;font-size:14px}.hero h1{font:800 clamp(32px,3.1vw,48px)/1.18 'Prompt';margin:15px 0 8px}.hero h1 em{font-style:normal;color:#ffca2f}.hero p{font-size:18px;line-height:1.55;margin:0 0 22px;max-width:540px}.hero-btn{display:inline-flex;align-items:center;gap:9px;background:#fff;color:var(--navy);padding:12px 20px;border-radius:24px;font-weight:800}.hero-btn:hover{transform:translateY(-1px)}.hero-arrow{position:absolute;z-index:4;top:50%;transform:translateY(-50%);width:34px;height:34px;border:0;border-radius:50%;background:#fff;color:#104f8e;font-size:22px;cursor:pointer}.hero-arrow.prev{left:10px}.hero-arrow.next{right:10px}.hero-dots{position:absolute;z-index:4;bottom:13px;left:50%;transform:translateX(-50%);display:flex;gap:7px}.hero-dots button{width:9px;height:9px;border-radius:50%;border:0;background:rgba(255,255,255,.5);padding:0}.hero-dots button.active{background:#fff}
.side-stack{display:grid;gap:14px}.panel{border:1px solid var(--line);border-radius:13px;background:#fff;box-shadow:0 8px 24px rgba(8,57,104,.05);padding:16px}.panel-title{display:flex;align-items:center;justify-content:space-between;margin-bottom:10px}.panel-title h2{font:800 20px 'Prompt';margin:0}.panel-title a{color:var(--blue);font-weight:700;font-size:13px}.hot-list{display:grid;gap:8px}.hot-row{display:grid;grid-template-columns:30px 64px 1fr;gap:9px;align-items:center;padding-bottom:8px;border-bottom:1px solid #edf3f8}.hot-row:last-child{border:0;padding-bottom:0}.rank{width:28px;height:28px;border-radius:50%;display:grid;place-items:center;background:var(--blue);color:#fff;font-weight:800}.hot-row img{width:64px;height:42px;border-radius:7px;object-fit:cover}.hot-row b{font-size:13px;line-height:1.3}.hot-row small{color:#8596a7}.quote-card{background:linear-gradient(135deg,#fffaf0,#fff);min-height:116px}.quote-text{font:700 17px/1.55 'Prompt';font-style:italic;color:#173a65}.quote-meta{display:flex;justify-content:space-between;align-items:end;margin-top:7px;color:#5f7891;font-size:12px}.sprout{font-size:32px}
.quick-nav{display:grid;grid-template-columns:repeat(6,1fr);gap:10px;margin:16px 0}.quick-card{border:1px solid var(--line);border-radius:12px;padding:14px 10px;text-align:center;background:#fff;transition:.2s}.quick-card:hover{transform:translateY(-2px);box-shadow:var(--shadow)}.quick-icon{width:50px;height:50px;border-radius:14px;margin:0 auto 8px;display:grid;place-items:center;font-size:26px;background:#ecf5ff}.quick-card:nth-child(2) .quick-icon{background:#e6fbf2}.quick-card:nth-child(3) .quick-icon{background:#fff0f4}.quick-card:nth-child(4) .quick-icon{background:#fff4df}.quick-card:nth-child(5) .quick-icon{background:#f1ebff}.quick-card:nth-child(6) .quick-icon{background:#e8f7ff}.quick-card b{display:block;font-size:14px}.quick-card small{color:#7890a8}
.content-grid{display:grid;grid-template-columns:minmax(0,2.05fr) minmax(310px,.95fr);gap:16px}.section{margin:17px 0}.section-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:11px}.section-head h2{font:800 22px 'Prompt';margin:0}.section-head a{font-weight:700;color:var(--blue);font-size:13px}.cards4{display:grid;grid-template-columns:repeat(4,1fr);gap:12px}.article-card{overflow:hidden;border:1px solid var(--line);border-radius:12px;background:#fff;box-shadow:0 7px 20px rgba(9,58,106,.05)}.article-card img{width:100%;aspect-ratio:16/10;object-fit:cover}.article-card .pad{padding:10px 11px 12px}.tag{display:inline-block;background:#eaf4ff;color:#1165bc;border-radius:7px;padding:4px 8px;font-size:11px;font-weight:700;margin-bottom:7px}.article-card h3{font-size:14px;line-height:1.4;margin:0 0 7px;min-height:40px}.article-card time{font-size:12px;color:#7e91a4}.side-col{display:grid;gap:14px;align-content:start}.tools-mini{padding:15px}.tools-mini-grid{display:grid;grid-template-columns:1fr 1fr;gap:9px}.tool-mini{display:flex;align-items:center;gap:8px;border-radius:11px;padding:11px 10px;font-weight:800;font-size:12.5px}.tool-mini:nth-child(1){background:#e8f3ff}.tool-mini:nth-child(2){background:#e8fbf1}.tool-mini:nth-child(3){background:#fff2e4}.tool-mini:nth-child(4){background:#eee9ff}.tool-mini:nth-child(5){background:#fff0f4}.tool-mini:nth-child(6){background:#fff7dc}.tool-mini span{font-size:23px}.brand-note{background:linear-gradient(135deg,#eef8ff,#fff9e8);min-height:150px;display:flex;align-items:center;justify-content:center;text-align:center}.brand-note strong{font:800 24px/1.4 'Prompt';color:#143c68}
.resource-row{display:grid;grid-template-columns:repeat(4,1fr);gap:12px}.resource-box{border-radius:13px;border:1px solid var(--line);padding:18px 14px;background:#fff;text-align:center}.resource-box:nth-child(1){background:#ecfff4}.resource-box:nth-child(2){background:#fff1f1}.resource-box:nth-child(3){background:#f4efff}.resource-box:nth-child(4){background:#eef8ff}.resource-box .ri{font-size:38px;margin-bottom:8px}.resource-box b{font:800 18px 'Prompt';display:block}.resource-box p{font-size:12px;color:#58738c;min-height:36px}.resource-box a{display:inline-block;margin-top:8px;font-weight:800;color:var(--blue);font-size:12px}
.site-footer{margin-top:24px;background:linear-gradient(100deg,#063462,#001f41);color:#fff}.foot-main{display:grid;grid-template-columns:1.25fr 1fr .9fr;gap:34px;padding:34px 0 24px}.foot-brand{display:flex;align-items:center;gap:10px}.foot-brand img{width:58px;height:58px;object-fit:contain}.foot-brand .brand-name{color:#fff;font-size:28px}.foot-brand .brand-name b{color:#f4bd32}.foot-slogan{font:700 18px/1.6 'Prompt';font-style:italic;text-align:center;border-bottom:3px solid #f6b820;padding-bottom:4px;display:inline-block}.foot-links{display:flex;gap:12px;justify-content:center;flex-wrap:wrap;font-size:13px}.socials{display:flex;gap:10px;justify-content:flex-end}.social{width:34px;height:34px;border-radius:50%;background:#fff;color:#064a91;display:grid;place-items:center;font-weight:900}.foot-bottom{border-top:1px solid rgba(255,255,255,.13);padding:13px 0;display:flex;justify-content:space-between;color:#b9cee0;font-size:12px}
/* Tools directory */.tools-hero{margin-top:18px;background:linear-gradient(110deg,#063f7d,#0c67c2);color:#fff;border-radius:16px;padding:30px 36px;display:flex;align-items:center;justify-content:space-between;box-shadow:var(--shadow)}.tools-hero h1{font:800 36px 'Prompt';margin:0}.tools-hero p{margin:7px 0 0;color:#dcecff}.tools-hero .hero-emoji{font-size:74px}.tools-layout{display:grid;grid-template-columns:230px 1fr;gap:18px;margin:18px 0}.tools-side{border:1px solid var(--line);border-radius:13px;padding:10px;background:#fff;align-self:start;position:sticky;top:94px}.tools-side a{display:block;padding:11px 12px;border-radius:9px;font-weight:700;font-size:13px}.tools-side a:hover,.tools-side a.active{background:#eaf4ff;color:var(--blue)}.tools-main{display:grid;gap:20px}.tool-section h2{font:800 21px 'Prompt';margin:0 0 10px}.tools-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.tool-card{border:1px solid var(--line);border-radius:14px;padding:17px;background:#fff;box-shadow:0 7px 20px rgba(9,58,106,.04);min-height:180px;display:flex;flex-direction:column}.tool-card .icon{font-size:40px}.tool-card h3{font:800 17px 'Prompt';margin:8px 0 4px}.tool-card p{font-size:13px;color:#657f98;line-height:1.55;margin:0 0 14px;flex:1}.tool-card .go{align-self:flex-start;color:var(--blue);font-weight:800;font-size:13px}
/* tool pages */.tool-page{width:min(980px,calc(100% - 36px));margin:24px auto 50px}.tool-box{border:1px solid var(--line);border-radius:16px;background:#fff;box-shadow:var(--shadow);padding:24px}.tool-box h1{font:800 30px 'Prompt';margin:0 0 4px}.tool-desc{color:#687f95;margin:0 0 20px}.form-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:14px}.field label{display:block;font-weight:800;margin-bottom:6px}.field input,.field select,.field textarea{width:100%;padding:11px 12px;border:1px solid #cedded;border-radius:9px;font:14px 'Sarabun';outline:none}.field input:focus,.field textarea:focus,.field select:focus{border-color:#68a9e8;box-shadow:0 0 0 3px #e8f4ff}.btn{display:inline-flex;align-items:center;justify-content:center;border:0;border-radius:9px;padding:11px 18px;background:var(--blue);color:#fff;font-weight:800;cursor:pointer}.btn.alt{background:#eef5fc;color:#0b5eae}.result{margin-top:18px;border-radius:12px;background:#f2f8ff;padding:16px;border:1px solid #d8e9fa}.result strong.big{font:800 28px 'Prompt';color:#075eb9}.table-wrap{overflow:auto}.data-table{width:100%;border-collapse:collapse}.data-table th,.data-table td{border:1px solid #dbe7f2;padding:9px;text-align:center}.data-table th{background:#edf6ff}.danger{color:#c52f39}.success{color:#0a8a51}.canvas-wrap{display:grid;grid-template-columns:330px 1fr;gap:18px}.reward-canvas{width:100%;border:1px solid #d9e6f1;border-radius:14px;background:#fff}
@media(max-width:1000px){.head-side{display:none}.brand{min-width:auto}.main-nav{overflow:auto;justify-content:flex-start}.home-grid,.content-grid{grid-template-columns:1fr}.quick-nav{grid-template-columns:repeat(3,1fr)}.cards4{grid-template-columns:repeat(2,1fr)}.side-col{grid-template-columns:1fr 1fr}.tools-layout{grid-template-columns:1fr}.tools-side{position:static;display:flex;overflow:auto}.tools-grid{grid-template-columns:repeat(2,1fr)}.canvas-wrap{grid-template-columns:1fr}.hero{min-height:360px}}
@media(max-width:640px){.wrap{width:min(100% - 22px,1180px)}.head-top{min-height:66px}.brand-face{width:52px;height:52px}.brand-name{font-size:23px}.brand-sub{display:none}.main-nav{display:none}.hero{min-height:430px}.hero-copy{padding:42px 28px}.quick-nav{grid-template-columns:repeat(2,1fr)}.cards4,.resource-row,.side-col,.tools-grid,.form-grid{grid-template-columns:1fr}.tools-mini-grid{grid-template-columns:1fr 1fr}.foot-main{grid-template-columns:1fr;text-align:center}.socials{justify-content:center}.foot-bottom{gap:10px;flex-direction:column;text-align:center}}
@media print{.site-header,.site-footer,.no-print{display:none!important}.tool-page{width:100%;margin:0}.tool-box{box-shadow:none;border:0;padding:0}}
.tool-card .icon{width:64px;height:64px}.tool-card .icon img{width:64px;height:64px}.tool-mini img{width:30px;height:30px;flex:0 0 30px}.quick-icon img{width:34px;height:34px;margin:auto}
/* v26 homepage refinements */
.brand-face{width:64px;height:64px;border-radius:50%;object-fit:cover;object-position:42% 28%;border:2px solid #e5eef7;background:#fff;box-shadow:0 4px 12px rgba(7,52,98,.12)}
.brand{min-width:325px}.brand-sub{font-size:10.5px;letter-spacing:-.1px}.main-nav a{padding:10px 10px;font-size:13px}.head-side{min-width:250px}
.slogan-brand{font-size:16px;font-weight:800;letter-spacing:.1px;padding:2px 8px 4px;background:linear-gradient(180deg,#fff 0%,#fffdf7 100%)}
.hero{aspect-ratio:16/9;min-height:0}.hero-copy{padding:42px 46px}.hero h1{font-size:clamp(30px,2.7vw,44px)}
.quote-card{overflow:hidden}.quote-art{margin-top:4px;border-radius:11px;min-height:160px;padding:26px 20px 18px;text-align:center;background:linear-gradient(135deg,#eef8ff 0%,#fffaf0 70%);position:relative}.quote-art:after{content:' ';position:absolute;right:18px;bottom:10px;width:52px;height:70px;background:radial-gradient(circle at 50% 25%,#9bd16d 0 9px,transparent 10px),radial-gradient(circle at 30% 45%,#7fbe58 0 11px,transparent 12px),radial-gradient(circle at 70% 50%,#a8d87e 0 12px,transparent 13px);opacity:.7}.quote-text{font:800 21px/1.5 'Prompt';color:#0b3767;max-width:330px;margin:auto}.quote-meta{justify-content:center!important;color:#0b3767!important;margin-top:10px!important}.quote-meta b{color:#d6a226}
.quick-card{padding:12px 8px;background:#fff;box-shadow:0 5px 14px rgba(9,58,106,.05)}.quick-icon{width:48px;height:48px;font:800 24px/1 'Prompt';box-shadow:inset 0 0 0 1px rgba(255,255,255,.5)}.q-news .quick-icon{background:#dceeff;color:#0874dc}.q-article .quick-icon{background:#dff8ec;color:#009d80}.q-media .quick-icon{background:#ffe3ec;color:#e94678}.q-work .quick-icon{background:#ffedd3;color:#f18a00}.q-pa .quick-icon{background:#eee4ff;color:#7b49d6}.q-tools .quick-icon{background:#dff4ff;color:#0780bd}.quick-card b{font-size:14px;color:#082f5a}.quick-card small{font-size:11.5px}
.resource-row{align-items:stretch}.resource-box{padding:0;overflow:hidden;text-align:left;display:block;background:#fff!important;box-shadow:0 6px 18px rgba(9,58,106,.05)}.resource-thumb{aspect-ratio:16/9;overflow:hidden;background:#eef5fb}.resource-thumb img{width:100%;height:100%;object-fit:cover;display:block}.resource-body{padding:12px 14px 14px;text-align:center}.resource-body b{font:800 18px 'Prompt';display:block;color:#082f5a}.resource-body p{font-size:12px;color:#58738c;min-height:36px;margin:5px 0}.resource-body span{display:inline-block;margin-top:5px;font-weight:800;color:var(--blue);font-size:12px}
.foot-brand img{width:62px;height:62px;border-radius:50%;object-fit:cover;object-position:42% 28%;border:2px solid rgba(255,255,255,.75)}.footer-slogan-art{font-size:18px;letter-spacing:.1px;text-shadow:0 2px 8px rgba(0,0,0,.18)}.social{text-decoration:none}.social.fb{background:#1877f2;color:#fff}.social.yt{background:#ff0033;color:#fff}.footer-purpose{font:700 13px/1.5 'Prompt';color:#eaf4ff;letter-spacing:.1px}
@media(max-width:1180px){.brand{min-width:285px}.brand-sub{font-size:9.5px}.main-nav a{font-size:12px;padding:9px 8px}.head-side{min-width:210px}.slogan-brand{font-size:13px}}
/* ===== Kruboy101 v27 desktop-first refinement ===== */
.home-v27 .wrap,.v27-footer .wrap{width:min(1440px,calc(100% - 40px))}
.v27-header{gap:18px;min-height:86px}.v27-header .brand{min-width:365px}.v27-header .brand-face{width:72px;height:72px;object-fit:contain;border:0;box-shadow:none;background:transparent;margin-right:10px}.v27-header .brand-name{font-size:32px}.v27-header .brand-sub{font-size:10.8px;line-height:1.2;margin-top:7px;white-space:nowrap}.v27-header .main-nav{gap:4px}.v27-header .main-nav a{font-size:13px;padding:10px 11px}.v27-header .head-side{min-width:300px;max-width:320px}.header-slogan-img{width:280px;height:auto;margin-left:auto}.v27-header .search-mini{margin-top:4px}.v27-header .search-mini input{height:34px}
.v27-hero-grid{grid-template-columns:minmax(0,2.2fr) minmax(340px,.8fr);gap:18px;margin-top:18px;align-items:start}.v27-hero{aspect-ratio:16/9;min-height:0}.hero-side{gap:14px}.hot-panel{padding:15px}.hot-panel .hot-list{gap:7px}.hot-panel .hot-row{grid-template-columns:31px 70px 1fr;gap:9px}.hot-panel .hot-row img{width:70px;height:44px}.hot-panel .hot-row b{font-size:13px}.quote-card .quote-art{min-height:150px;padding:19px 18px 14px}.quote-card .quote-text{font-size:18px;line-height:1.55}
.v27-quick{margin:18px 0 6px;gap:11px}.v27-quick .quick-card{padding:12px 8px 13px;border-color:#d7e6f5;border-radius:13px;box-shadow:0 6px 18px rgba(9,58,106,.055)}.v27-quick .quick-icon{width:58px;height:58px;border-radius:16px;background:transparent!important;box-shadow:none}.v27-quick .quick-icon img{width:58px;height:58px}.v27-quick .quick-card b{font-size:14px;margin-top:1px}.v27-quick .quick-card small{font-size:11.5px;margin-top:3px;display:block}
.v27-content{grid-template-columns:minmax(0,2.15fr) minmax(340px,.85fr);gap:18px}.v27-content .section{margin:18px 0}.v27-content .cards4{gap:12px}.v27-content .article-card{border-radius:12px}.v27-content .article-card img{height:145px}
.v27-tools-mini{padding:16px}.tools-caption{margin:-4px 0 12px;color:#6e879f;font-size:12px}.v27-tools-mini .tools-mini-grid{gap:10px}.v27-tools-mini .tool-mini{min-height:57px;border:1px solid rgba(123,157,190,.15);font-size:12.5px}.v27-tools-mini .tool-mini:nth-child(1){background:#e6f0ff}.v27-tools-mini .tool-mini:nth-child(2){background:#e1f8ec}.v27-tools-mini .tool-mini:nth-child(3){background:#fff0dc}.v27-tools-mini .tool-mini:nth-child(4){background:#ebe5ff}.v27-tools-mini .tool-mini:nth-child(5){background:#e8f2ff}.v27-tools-mini .tool-mini:nth-child(6){background:#fff2cc}.v27-tools-mini .tool-mini img{width:32px;height:32px}
.brand-note-img{display:block;padding:0!important;overflow:hidden}.brand-note-img img{width:100%;aspect-ratio:2/1;object-fit:cover}.category-mini .tool-mini{justify-content:center;text-align:center;background:#f6faff!important;border:1px solid #dce9f6}
.v27-resources{gap:13px}.v27-resources .resource-box{border-radius:13px;border:1px solid #d9e7f4;overflow:hidden;background:#fff!important}.v27-resources .resource-thumb{aspect-ratio:16/9}.v27-resources .resource-body{padding:11px 12px 14px}.resource-type{display:inline-block;background:#eaf4ff;color:#0870cf;border-radius:7px;padding:3px 8px;font-size:11px;font-weight:800;margin-bottom:7px}.v27-resources .resource-body b{font-size:15px;line-height:1.35;min-height:40px}.v27-resources .resource-body p{font-size:11.5px;line-height:1.45;min-height:34px}.resource-link{font-size:11.5px!important}
.v27-footer{margin-top:28px}.v27-footer .foot-main{grid-template-columns:1.25fr 1fr .55fr;gap:28px;padding:26px 0 18px;align-items:center}.foot-brand-v27{display:flex;align-items:center;gap:12px}.footer-avatar{width:68px;height:68px;object-fit:contain}.footer-wordmark{width:365px;max-width:calc(100% - 80px)}.footer-center{text-align:center}.footer-slogan-img{width:330px;max-width:100%;margin:0 auto 10px}.v27-footer .foot-links{margin-top:7px}.footer-social .socials{justify-content:flex-end}.social-img{width:40px;height:40px;display:block}.social-img img{width:40px;height:40px}.v27-footer .foot-bottom{align-items:center;gap:24px}.footer-purpose-img{width:390px;height:auto;max-width:55%}
/* tools page v27 */
.tools-v27 .wrap{width:min(1360px,calc(100% - 40px))}.tools-v27 .brand{min-width:365px}.tools-v27 .brand-face{width:72px;height:72px;object-fit:contain;border:0;box-shadow:none;background:transparent}.tools-v27 .head-side{min-width:285px}.tools-v27 .tools-hero{padding:0;overflow:hidden;min-height:245px;background:linear-gradient(110deg,#063c76,#0a6ac7);position:relative}.tools-v27 .tools-hero-copy{padding:34px 42px;position:relative;z-index:2;max-width:760px}.tools-v27 .tools-hero h1{font-size:42px}.tools-v27 .tools-hero p{font-size:16px;line-height:1.65;max-width:650px}.tools-v27 .tools-hero-person{position:absolute;right:38px;bottom:-18px;width:250px;height:250px;object-fit:contain}.tools-v27 .tools-hero:after{content:"";position:absolute;right:-80px;top:-120px;width:520px;height:520px;border-radius:50%;background:rgba(255,255,255,.08)}.tools-v27 .tools-layout{grid-template-columns:240px 1fr;gap:22px}.tools-v27 .tools-side{top:105px}.tools-v27 .tools-side a{padding:12px 13px}.tools-v27 .tools-grid{grid-template-columns:repeat(4,1fr);gap:14px}.tools-v27 .tool-card{min-height:210px;border-radius:15px;padding:18px;transition:.18s}.tools-v27 .tool-card:hover{transform:translateY(-2px);box-shadow:0 12px 28px rgba(9,58,106,.09)}.tools-v27 .tool-card .icon{width:70px;height:70px}.tools-v27 .tool-card .icon img{width:70px;height:70px}.tools-v27 .tool-card h3{font-size:17px}.tools-v27 .tool-card:nth-child(6n+1){background:#fff6f9}.tools-v27 .tool-card:nth-child(6n+2){background:#f3fbff}.tools-v27 .tool-card:nth-child(6n+3){background:#f2fff8}.tools-v27 .tool-card:nth-child(6n+4){background:#fff9ee}.tools-v27 .tool-card:nth-child(6n+5){background:#f7f3ff}.tools-v27 .tool-card:nth-child(6n){background:#f1f8ff}
@media(max-width:1280px){.home-v27 .wrap,.v27-footer .wrap,.tools-v27 .wrap{width:min(1180px,calc(100% - 34px))}.v27-header .brand,.tools-v27 .brand{min-width:315px}.v27-header .brand-sub,.tools-v27 .brand-sub{font-size:9.5px}.v27-header .head-side,.tools-v27 .head-side{min-width:235px}.header-slogan-img{width:225px}.v27-header .main-nav a{font-size:12px;padding:9px 8px}.tools-v27 .tools-grid{grid-template-columns:repeat(3,1fr)}}
@media(max-width:1000px){.v27-header .head-side,.tools-v27 .head-side{display:none}.v27-header .brand,.tools-v27 .brand{min-width:auto}.v27-hero-grid,.v27-content{grid-template-columns:1fr}.v27-quick{grid-template-columns:repeat(3,1fr)}.tools-v27 .tools-layout{grid-template-columns:1fr}.tools-v27 .tools-grid{grid-template-columns:repeat(2,1fr)}.v27-footer .foot-main{grid-template-columns:1fr;text-align:center}.foot-brand-v27{justify-content:center}.footer-social .socials{justify-content:center}.v27-footer .foot-bottom{flex-direction:column;text-align:center}.footer-purpose-img{max-width:90%}}
@media(max-width:640px){.home-v27 .wrap,.v27-footer .wrap,.tools-v27 .wrap{width:min(100% - 22px,1180px)}.v27-quick{grid-template-columns:repeat(2,1fr)}.tools-v27 .tools-grid{grid-template-columns:1fr}.footer-wordmark{width:290px}.footer-purpose-img{width:310px;max-width:100%}}

/* ===== Kruboy101 v28: proportion rebuild for desktop header + hero ===== */
.home-v28 .wrap{width:min(1400px,calc(100% - 40px))}
.home-v28 .site-header{position:sticky;top:0;z-index:80;background:#fff;border-bottom:1px solid #e3edf7;box-shadow:0 2px 14px rgba(7,50,95,.04)}
.v28-header{display:grid;grid-template-columns:300px minmax(0,1fr) 280px;align-items:center;gap:16px;min-height:82px}
.v28-header .brand{min-width:0;width:300px;display:flex;align-items:center;overflow:visible}
.v28-header .brand-face{width:62px;height:62px;flex:0 0 62px;object-fit:contain;margin-right:9px}
.v28-header .brand-name{font:800 28px/1 'Prompt';letter-spacing:-.5px;white-space:nowrap}
.v28-header .brand-sub{font:600 10.2px/1.35 'Sarabun';margin-top:6px;color:#315a81;white-space:nowrap;letter-spacing:-.05px}
.v28-header .main-nav{display:flex;align-items:center;justify-content:center;gap:2px;min-width:0;overflow:visible}
.v28-header .main-nav a{font:700 12.4px/1.2 'Sarabun';padding:10px 8px;border-radius:9px;white-space:nowrap}
.v28-header .main-nav a.active{padding-inline:11px;background:#1478e8;color:#fff;box-shadow:0 5px 12px rgba(20,120,232,.2)}
.v28-header .head-side{min-width:0;width:280px;text-align:right}
.header-slogan-text{display:inline-block;max-width:100%;font:800 15px/1.25 'Prompt';font-style:italic;color:#173c68;white-space:nowrap;padding:0 2px 5px;position:relative;transform:rotate(-1deg)}
.header-slogan-text:after{content:"";position:absolute;left:8px;right:0;bottom:0;height:3px;border-radius:3px;background:#f4b400;transform:skewX(-16deg)}
.v28-header .search-mini{margin-top:6px}
.v28-header .search-mini input{height:34px;border-radius:18px;background:#fbfdff;padding:7px 12px;font-size:12.5px}

.v28-hero-grid{display:grid;grid-template-columns:minmax(0,2.35fr) minmax(360px,.95fr);gap:18px;margin-top:18px;align-items:start}
.v28-hero{aspect-ratio:16/9;min-height:0;width:100%;border-radius:14px;box-shadow:0 10px 28px rgba(7,50,95,.12)}
.v28-hero .hero-copy{padding:42px 46px;max-width:560px}
.v28-hero .hero h1{font:800 clamp(32px,2.7vw,45px)/1.16 'Prompt';margin:14px 0 10px}
.v28-hero .hero p{font-size:17px;line-height:1.55;max-width:500px;margin-bottom:20px}
.v28-hero .pill{padding:7px 13px;font-size:13px}
.v28-hero .hero-btn{padding:11px 19px;font-size:14px}
.v28-hero .hero-slide img{object-fit:cover;object-position:center}
.v28-hero .hero-shade{background:linear-gradient(90deg,rgba(3,37,73,.96) 0%,rgba(3,37,73,.82) 38%,rgba(3,37,73,.34) 60%,rgba(3,37,73,.04) 82%)}

.v28-hero-grid .hero-side{height:auto;display:grid;grid-template-rows:auto auto;gap:12px;align-content:start}
.v28-hero-grid .hot-panel{padding:14px 14px 12px;border-radius:14px;box-shadow:none}
.v28-hero-grid .panel-title{margin-bottom:9px}
.v28-hero-grid .panel-title h2{font-size:19px}
.v28-hero-grid .hot-list{gap:0}
.v28-hero-grid .hot-row{display:grid;grid-template-columns:28px 72px minmax(0,1fr);gap:9px;align-items:center;min-height:57px;padding:6px 0;border-bottom:1px solid #eaf1f7}
.v28-hero-grid .hot-row:last-child{border-bottom:0}
.v28-hero-grid .rank{width:27px;height:27px;font-size:12px}
.v28-hero-grid .hot-row img{width:72px;height:46px;border-radius:7px;object-fit:cover;display:block;background:#eef4f9}
.v28-hero-grid .hot-row div{min-width:0}
.v28-hero-grid .hot-row b{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;font-size:12.5px;line-height:1.32}
.v28-hero-grid .hot-row small{font-size:10.5px;color:#8093a6}
.v28-hero-grid .quote-card{padding:13px 14px;border-radius:14px;background:#fffdf7;box-shadow:none}
.v28-hero-grid .quote-card .panel-title{margin-bottom:7px}
.v28-hero-grid .quote-card .quote-art{min-height:124px;margin:0;padding:15px 18px 12px;border-radius:10px;background:linear-gradient(135deg,#eef8ff 0%,#fff9ee 100%);display:flex;flex-direction:column;justify-content:center}
.v28-hero-grid .quote-card .quote-text{font:800 16px/1.55 'Prompt';max-width:320px;margin:0 auto;color:#123b67}
.v28-hero-grid .quote-card .quote-meta{justify-content:center;margin-top:8px;font-size:11.5px}
.v28-hero-grid .quote-card .quote-art:after{width:36px;height:46px;right:13px;bottom:5px;opacity:.45}

/* quick navigation: fixed dimensions and reliable icons */
.home-v28 .v27-quick{grid-template-columns:repeat(6,minmax(0,1fr));gap:10px;margin:16px 0 8px}
.home-v28 .v27-quick .quick-card{min-width:0;min-height:118px;padding:13px 7px 11px;display:flex;flex-direction:column;align-items:center;justify-content:center}
.home-v28 .v27-quick .quick-icon,.home-v28 .v27-quick .quick-icon img{width:48px;height:48px}
.home-v28 .v27-quick .quick-card b{font-size:13px;line-height:1.25}
.home-v28 .v27-quick .quick-card small{font-size:10.8px;line-height:1.3}

@media (max-width:1365px){
  .home-v28 .wrap{width:min(1280px,calc(100% - 32px))}
  .v28-header{grid-template-columns:280px minmax(0,1fr) 245px;gap:10px}
  .v28-header .brand{width:280px}.v28-header .brand-face{width:56px;height:56px;flex-basis:56px}.v28-header .brand-name{font-size:25px}.v28-header .brand-sub{font-size:9px}
  .v28-header .main-nav a{font-size:11.4px;padding:9px 6px}.v28-header .head-side{width:245px}.header-slogan-text{font-size:13.5px}
  .v28-hero-grid{grid-template-columns:minmax(0,2.28fr) minmax(340px,.92fr);gap:14px}
  .v28-hero .hero-copy{padding:36px 40px;max-width:520px}.v28-hero .hero p{font-size:15.5px}
}
@media (max-width:1100px){
  .v28-header{grid-template-columns:280px 1fr}.v28-header .head-side{display:none}.v28-header .main-nav{justify-content:flex-end;overflow-x:auto}
  .v28-hero-grid{grid-template-columns:1fr}.v28-hero-grid .hero-side{grid-template-columns:1fr 1fr;grid-template-rows:auto}
}
@media (max-width:760px){
  .home-v28 .wrap{width:min(100% - 22px,1280px)}.v28-header{display:flex;flex-wrap:wrap;padding:8px 0}.v28-header .brand{width:auto}.v28-header .main-nav{width:100%;justify-content:flex-start}
  .v28-hero-grid .hero-side{grid-template-columns:1fr}.home-v28 .v27-quick{grid-template-columns:repeat(2,1fr)}.v28-hero .hero-copy{padding:26px}.v28-hero .hero h1{font-size:29px}.v28-hero .hero p{font-size:14px}
}

/* ===== Kruboy101 v29: top block matched to approved reference ===== */
.v29-top-grid{
  display:grid;
  grid-template-columns:minmax(0,1.98fr) minmax(390px,1fr);
  grid-template-areas:
    "hero hot"
    "quick quote";
  gap:12px 18px;
  margin-top:18px;
  align-items:stretch;
}
.v29-hero{grid-area:hero;aspect-ratio:16/9;min-height:0;width:100%;border-radius:12px;overflow:hidden;box-shadow:0 6px 18px rgba(7,50,95,.08)}
.v29-hero .hero-copy{padding:34px 40px;max-width:500px}
.v29-hero .hero h1{font:800 clamp(30px,2.35vw,42px)/1.14 'Prompt';margin:12px 0 9px}
.v29-hero .hero p{font-size:15.5px;line-height:1.5;max-width:450px;margin-bottom:18px}
.v29-hero .pill{padding:6px 12px;font-size:12px}
.v29-hero .hero-btn{padding:10px 18px;font-size:13.5px}
.v29-hero .hero-slide img{object-fit:cover;object-position:center}
.v29-hero .hero-shade{background:linear-gradient(90deg,rgba(2,34,68,.93) 0%,rgba(2,34,68,.76) 38%,rgba(2,34,68,.22) 61%,rgba(2,34,68,.02) 84%)}
.v29-hero .hero-arrow{width:38px;height:38px;font-size:28px}
.v29-hero .hero-dots{bottom:13px}

.v29-hot-panel{grid-area:hot;border-radius:12px;padding:13px 14px 10px;display:flex;flex-direction:column;min-width:0;box-shadow:none}
.v29-hot-panel .panel-title{margin-bottom:6px}
.v29-hot-panel .panel-title h2{font-size:18px}
.v29-hot-panel .panel-title a{font-size:11.5px}
.v29-hot-panel .hot-list{display:flex;flex-direction:column;flex:1;min-height:0}
.v29-hot-panel .hot-row{display:grid;grid-template-columns:30px 78px minmax(0,1fr);gap:10px;align-items:center;flex:1;min-height:0;padding:6px 0;border-bottom:1px solid #e6eef6}
.v29-hot-panel .hot-row:last-child{border-bottom:0}
.v29-hot-panel .rank{width:28px;height:28px;font-size:12px}
.v29-hot-panel .hot-row img{width:78px;height:48px;display:block;object-fit:cover;border-radius:7px;background:#eef4f9}
.v29-hot-panel .hot-row div{min-width:0}
.v29-hot-panel .hot-row b{font-size:12.5px;line-height:1.3;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}
.v29-hot-panel .hot-row small{font-size:10.5px;color:#7890a7}

.v29-quick{grid-area:quick;display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:8px;margin:0}
.v29-quick .quick-card{min-width:0;min-height:108px;padding:9px 5px 8px;border-radius:11px;border:1px solid #dfeaf4;background:#fff;display:flex;flex-direction:column;align-items:center;justify-content:center;box-shadow:0 4px 12px rgba(8,62,111,.035)}
.v29-quick .quick-icon{width:46px;height:46px;margin-bottom:4px}
.v29-quick .quick-icon img{width:46px;height:46px;display:block}
.v29-quick .quick-card b{font-size:12.2px;line-height:1.2;margin-top:1px;white-space:nowrap}
.v29-quick .quick-card small{font-size:10.2px;line-height:1.25;margin-top:3px;white-space:nowrap;color:#7c91a7}

.v29-quote-card{grid-area:quote;padding:10px 14px 10px;border-radius:12px;background:#fffdf7;box-shadow:none;min-height:108px}
.v29-quote-card .panel-title{margin:0 0 5px;display:flex;align-items:center;justify-content:space-between}
.v29-quote-card .panel-title h2{font-size:17px;display:flex;align-items:center;gap:4px}
.v29-quote-card .quote-mark{font:800 28px/1 Georgia,serif;color:#f0a000;margin-top:-3px}
.v29-quote-card .quote-faux-link{font-size:10.8px;color:#1478e8;font-weight:700;white-space:nowrap}
.v29-quote-card .quote-art{min-height:70px;margin:0;padding:10px 50px 9px 18px;border-radius:9px;background:linear-gradient(135deg,#fffdf8 0%,#fff9e9 100%);position:relative;display:flex;align-items:center;justify-content:center}
.v29-quote-card .quote-text{font:700 15px/1.45 'Prompt';color:#173d67;text-align:center;margin:0;max-width:310px}
.v29-quote-card .quote-sprout{position:absolute;right:18px;bottom:10px;font-size:35px;line-height:1}
.v29-quote-card .quote-art:after{display:none}

@media (max-width:1365px){
  .v29-top-grid{grid-template-columns:minmax(0,1.92fr) minmax(360px,1fr);gap:11px 14px}
  .v29-hero .hero-copy{padding:30px 34px;max-width:460px}.v29-hero .hero p{font-size:14.5px}
  .v29-hot-panel .hot-row{grid-template-columns:28px 70px minmax(0,1fr);gap:8px}.v29-hot-panel .hot-row img{width:70px;height:44px}.v29-hot-panel .hot-row b{font-size:11.8px}
  .v29-quick .quick-card{min-height:102px}.v29-quick .quick-icon,.v29-quick .quick-icon img{width:42px;height:42px}.v29-quick .quick-card b{font-size:11.5px}.v29-quick .quick-card small{font-size:9.6px}
}
@media (max-width:1100px){
  .v29-top-grid{grid-template-columns:1fr;grid-template-areas:"hero" "hot" "quick" "quote"}.v29-hot-panel .hot-row{min-height:57px}.v29-quick{grid-template-columns:repeat(3,1fr)}
}
@media (max-width:760px){.v29-quick{grid-template-columns:repeat(2,1fr)}.v29-hero .hero-copy{padding:24px}.v29-hero .hero h1{font-size:28px}.v29-hero .hero p{font-size:13.5px}}

/* ===== v30 exact top-layout correction from approved reference ===== */
.home-v28 main.wrap{width:min(1180px,calc(100% - 36px));}
.v29-top-grid{
  grid-template-columns:minmax(0,2.03fr) minmax(0,1fr);
  grid-template-areas:"hero hot" "quick quote";
  column-gap:18px;
  row-gap:14px;
  align-items:stretch;
}
.v29-hero{aspect-ratio:16/9;min-width:0;width:100%;height:auto;}
.v29-hot-panel{min-width:0;height:100%;}
.v29-hot-panel .hot-row{grid-template-columns:30px 72px minmax(0,1fr);padding:5px 0;}
.v29-hot-panel .hot-row img{width:72px;height:46px;}
.v29-hot-panel .hot-row b{font-size:12.4px;}

/* row 2 must stay inside its own column, exactly like the reference */
.v29-quick{min-width:0;width:100%;max-width:100%;overflow:hidden;grid-template-columns:repeat(6,minmax(0,1fr));gap:7px;}
.v29-quick .quick-card{width:100%;min-width:0;max-width:100%;min-height:94px;padding:8px 2px 7px;overflow:hidden;}
.v29-quick .quick-icon,.v29-quick .quick-icon img{width:40px;height:40px;}
.v29-quick .quick-card b{font-size:11px;white-space:normal;line-height:1.15;text-align:center;}
.v29-quick .quick-card small{font-size:9.2px;white-space:normal;line-height:1.15;text-align:center;}
.v29-quote-card{min-width:0;width:100%;max-width:100%;min-height:94px;padding:9px 12px;overflow:hidden;}
.v29-quote-card .panel-title{margin-bottom:3px;}
.v29-quote-card .panel-title h2{font-size:16px;}
.v29-quote-card .quote-art{min-height:58px;padding:7px 46px 7px 12px;}
.v29-quote-card .quote-text{font-size:13.5px;line-height:1.38;}
.v29-quote-card .quote-sprout{font-size:31px;right:13px;bottom:7px;}

/* compact hero typography to match the supplied reference */
.v29-hero .hero-copy{padding:31px 34px;max-width:440px;}
.v29-hero .hero h1{font-size:36px;line-height:1.12;margin:10px 0 7px;}
.v29-hero .hero p{font-size:14.5px;line-height:1.45;max-width:390px;margin-bottom:16px;}
.v29-hero .hero-btn{padding:9px 17px;font-size:13px;}
.v29-hero .pill{padding:6px 11px;font-size:11.5px;}

@media (min-width:1366px){
  .home-v28 main.wrap{width:1180px;}
}
@media (max-width:1100px){
  .home-v28 main.wrap{width:min(100% - 28px,1180px);}
  .v29-top-grid{grid-template-columns:1fr;grid-template-areas:"hero" "hot" "quick" "quote";}
  .v29-quick{grid-template-columns:repeat(3,1fr);overflow:visible;}
}
@media (max-width:760px){.v29-quick{grid-template-columns:repeat(2,1fr);}}

/* ===== v31: rebuilt top section from the approved reference, real two-column DOM ===== */
.home-v28 main.wrap{max-width:1320px}
.top-reference-layout{
  display:grid;
  grid-template-columns:minmax(0,1.78fr) minmax(340px,.92fr);
  gap:14px;
  align-items:start;
  margin-top:16px;
}
.top-left-stack,.top-right-stack{min-width:0;display:flex;flex-direction:column;gap:14px}
.top-reference-layout .v29-hero{width:100%;aspect-ratio:16/9;border-radius:12px;overflow:hidden;box-shadow:0 4px 14px rgba(9,52,94,.08)}
.top-reference-layout .v29-hero .hero-copy{padding:30px 34px;max-width:470px}
.top-reference-layout .v29-hero .hero h1{font-size:clamp(31px,2.35vw,40px);line-height:1.12;margin:10px 0 8px}
.top-reference-layout .v29-hero .hero p{font-size:14.5px;line-height:1.48;margin:0 0 16px;max-width:430px}
.top-reference-layout .v29-hero .hero-btn{padding:9px 17px;font-size:13px}
.top-reference-layout .v29-hero .hero-arrow{width:34px;height:34px;font-size:24px}

.top-right-stack .v29-hot-panel{height:auto;min-height:0;padding:12px 13px 10px;border-radius:12px}
.top-right-stack .v29-hot-panel .panel-title{margin-bottom:4px}
.top-right-stack .v29-hot-panel .panel-title h2{font-size:18px}
.top-right-stack .v29-hot-panel .hot-list{display:flex;flex-direction:column}
.top-right-stack .v29-hot-panel .hot-row{display:grid;grid-template-columns:28px 72px minmax(0,1fr);gap:9px;min-height:58px;padding:6px 0}
.top-right-stack .v29-hot-panel .hot-row img{width:72px;height:46px}
.top-right-stack .v29-hot-panel .hot-row b{font-size:12.5px;line-height:1.25}
.top-right-stack .v29-hot-panel .hot-row small{font-size:10.4px}

.top-left-stack .v29-quick{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:8px;width:100%;margin:0}
.top-left-stack .v29-quick .quick-card{min-height:106px;padding:10px 4px 8px;border-radius:11px}
.top-left-stack .v29-quick .quick-icon,.top-left-stack .v29-quick .quick-icon img{width:42px;height:42px}
.top-left-stack .v29-quick .quick-card b{font-size:11.8px;line-height:1.18}
.top-left-stack .v29-quick .quick-card small{font-size:9.6px;line-height:1.18}

.top-right-stack .v29-quote-card{min-height:106px;padding:10px 13px;border-radius:12px}
.top-right-stack .v29-quote-card .panel-title{margin-bottom:4px}
.top-right-stack .v29-quote-card .panel-title h2{font-size:16.5px}
.top-right-stack .v29-quote-card .quote-art{min-height:64px;padding:8px 48px 8px 14px}
.top-right-stack .v29-quote-card .quote-text{font-size:13.4px;line-height:1.38}
.top-right-stack .v29-quote-card .quote-sprout{font-size:30px;right:13px;bottom:7px}

@media (max-width:1180px){
  .top-reference-layout{grid-template-columns:minmax(0,1.62fr) minmax(320px,.9fr);gap:12px}
  .top-reference-layout .v29-hero .hero-copy{padding:26px 28px;max-width:420px}
  .top-reference-layout .v29-hero .hero h1{font-size:31px}
  .top-left-stack .v29-quick .quick-card b{font-size:10.8px}
  .top-left-stack .v29-quick .quick-card small{font-size:9px}
}
@media (max-width:980px){
  .top-reference-layout{grid-template-columns:1fr}
  .top-right-stack{gap:12px}
  .top-left-stack .v29-quick{grid-template-columns:repeat(3,1fr)}
}
@media (max-width:640px){
  .top-left-stack .v29-quick{grid-template-columns:repeat(2,1fr)}
  .top-reference-layout .v29-hero .hero-copy{padding:22px}
  .top-reference-layout .v29-hero .hero h1{font-size:27px}
  .top-reference-layout .v29-hero .hero p{font-size:13px}
}
/* v32: stable embedded header slogan, 6-hour quote, real autocomplete, hot thumbnails */
.header-slogan-img-v32{display:block;width:238px;max-width:100%;height:42px;object-fit:contain;object-position:right center;margin:0 0 3px auto}
.search-v32{position:relative;display:flex;align-items:center}
.search-v32 input{width:100%;padding-left:34px!important;padding-right:34px!important}
.search-icon-v32{position:absolute;left:12px;top:50%;transform:translateY(-52%);font-size:18px;color:#7d91a7;z-index:2;pointer-events:none}
.search-clear-v32{position:absolute;right:9px;top:50%;transform:translateY(-50%);width:22px;height:22px;border:0;border-radius:50%;background:#e9f1f8;color:#647b92;font:700 16px/22px Arial;cursor:pointer;z-index:3;padding:0}
.search-suggestions-v32{position:absolute;z-index:1000;top:calc(100% + 7px);left:0;right:0;background:#fff;border:1px solid #d8e6f4;border-radius:12px;box-shadow:0 14px 34px rgba(20,59,103,.16);padding:6px;max-height:330px;overflow:auto}
.search-suggestions-v32[hidden]{display:none}
.search-suggestion-v32{display:flex;align-items:center;gap:9px;padding:9px 10px;border-radius:8px;color:#173d67;text-decoration:none;font-size:12px;line-height:1.3}
.search-suggestion-v32:hover,.search-suggestion-v32.active{background:#edf6ff;color:#086fd8}
.search-suggestion-v32 .sicon{flex:0 0 22px;width:22px;height:22px;border-radius:7px;background:#e9f4ff;display:grid;place-items:center;color:#1478e8;font-size:12px}
.search-suggestion-v32 .stext{min-width:0}.search-suggestion-v32 b{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.search-suggestion-v32 small{display:block;color:#8798aa;margin-top:2px}
.search-empty-v32{padding:12px;color:#71869b;font-size:12px;text-align:center}
.top-right-stack .v29-hot-panel .hot-row img{object-fit:cover;object-position:center;width:72px;height:46px;aspect-ratio:36/23;background:#eef4f9}
@media(max-width:1180px){.header-slogan-img-v32{width:205px;height:37px}}

/* v33 — latest news + teacher tools, matched to approved reference */
.v33-content{grid-template-columns:minmax(0,2.12fr) minmax(360px,.88fr);gap:18px;align-items:start}
.v33-content>.side-col{gap:14px}
.v33-news{margin-top:18px!important}
.v33-section-head{margin-bottom:12px}.v33-section-head h2{display:flex;align-items:center;gap:9px;font-size:21px}.section-icon.news-icon{display:grid;place-items:center;width:28px;height:28px;border-radius:7px;background:#e0efff;color:#0874dc;font-size:18px}
.v33-news-grid{gap:12px!important}.v33-news-card{border-radius:12px!important;box-shadow:0 5px 16px rgba(18,70,120,.07)!important;transition:.18s transform,.18s box-shadow}.v33-news-card:hover{transform:translateY(-2px);box-shadow:0 9px 22px rgba(18,70,120,.12)!important}
.v33-news-card .news-thumb{position:relative;height:155px;overflow:hidden}.v33-news-card .news-thumb img{width:100%;height:100%;object-fit:cover;display:block}.v33-news-card .news-badge{position:absolute;left:10px;top:10px;background:#1686e8;color:#fff;border-radius:7px;padding:4px 9px;font:700 11px 'Prompt'}.v33-news-card .news-badge.hot{background:#1686e8}.v33-news-card .pad{padding:10px 11px 11px!important}.v33-news-card h3{font-size:13.5px!important;line-height:1.42!important;min-height:58px!important;margin:0 0 5px!important}.v33-news-card time{display:block;margin-bottom:8px}.v33-news-card .tag{margin:0!important}
.v33-tools-panel{padding:15px 14px 14px!important;margin-top:18px}.v33-tools-title{align-items:flex-start!important;margin-bottom:11px!important}.v33-tools-title>div{min-width:0}.v33-tools-title h2{font-size:21px!important;display:flex;align-items:center;gap:8px}.v33-tools-title p{margin:3px 0 0;color:#6e8499;font-size:11.5px}.toolbox-icon{display:grid;place-items:center;width:29px;height:29px;border-radius:8px;background:#ef3e63;color:#fff;font-size:17px}.v33-tools-title>a{white-space:nowrap;padding-top:4px}
.v33-tools-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}.v33-tool{min-height:86px;border-radius:12px;padding:10px;display:grid;grid-template-columns:48px minmax(0,1fr) 22px;align-items:center;gap:9px;border:1px solid rgba(30,85,140,.06);box-shadow:inset 0 1px 0 rgba(255,255,255,.45);transition:.18s transform,.18s filter}.v33-tool:hover{transform:translateY(-2px);filter:saturate(1.06)}
.v33-tool-icon{width:48px;height:48px;border-radius:12px;display:grid;place-items:center;background:rgba(255,255,255,.5);box-shadow:0 3px 9px rgba(26,63,102,.08)}.v33-tool-icon img{width:42px!important;height:42px!important;display:block}.v33-tool b{display:block;font:800 13px/1.35 'Prompt';color:#0b3564}.v33-tool small{display:block;margin-top:3px;color:#496b8c;font-size:10.5px}.v33-tool i{font-style:normal;width:22px;height:22px;border-radius:50%;background:rgba(255,255,255,.8);display:grid;place-items:center;font-size:21px;font-weight:700;line-height:1;color:#1265ba}
.v33-tool.t-blue{background:linear-gradient(135deg,#b9e2ff,#a8d8fb)}.v33-tool.t-green{background:linear-gradient(135deg,#b9f0dd,#a5e8d2)}.v33-tool.t-orange{background:linear-gradient(135deg,#ffd7a4,#ffc981)}.v33-tool.t-purple{background:linear-gradient(135deg,#d8c8ff,#c8b3f7)}.v33-tool.t-pink{background:linear-gradient(135deg,#ffc0d2,#f5aec7)}.v33-tool.t-yellow{background:linear-gradient(135deg,#ffe6a3,#ffda72)}
@media(max-width:1000px){.v33-content{grid-template-columns:1fr}.v33-tools-panel{margin-top:0}.v33-news-card .news-thumb{height:auto;aspect-ratio:16/10}}
@media(max-width:640px){.v33-tools-grid{grid-template-columns:1fr}.v33-news-grid{grid-template-columns:1fr 1fr!important}}

/* v34 — corrected news imagery + larger polished tool icons */
.v33-section-head h2{font-size:22px}
.section-icon.news-icon{width:34px;height:34px;border-radius:9px;background:transparent;padding:0;overflow:hidden}
.section-icon.news-icon img{display:block;width:34px;height:34px;object-fit:contain}
.toolbox-icon{width:36px;height:36px;border-radius:0;background:transparent;padding:0;overflow:visible}
.toolbox-icon img{display:block;width:36px;height:36px;object-fit:contain}
.v33-tools-title h2{font-size:22px!important;gap:10px}
.v33-tools-title p{font-size:12px}
.v33-tools-grid{gap:11px}
.v33-tool{min-height:96px;padding:11px 12px;grid-template-columns:60px minmax(0,1fr) 24px;gap:11px;border-radius:13px}
.v33-tool-icon{width:60px;height:60px;border-radius:15px;background:transparent;box-shadow:0 5px 12px rgba(24,65,110,.13);overflow:hidden}
.v33-tool-icon img{width:60px!important;height:60px!important;object-fit:contain!important;aspect-ratio:1/1!important;display:block}
.v33-tool b{font-size:13.8px;line-height:1.38}.v33-tool small{font-size:10.8px;margin-top:4px}
.v33-tool i{width:24px;height:24px;font-size:22px}
.v33-tool.t-blue{background:linear-gradient(135deg,#cbe6ff,#b3d9ff)}
.v33-tool.t-green{background:linear-gradient(135deg,#c8f1e0,#abe8d1)}
.v33-tool.t-orange{background:linear-gradient(135deg,#ffe0b7,#ffcb8d)}
.v33-tool.t-purple{background:linear-gradient(135deg,#dfd2ff,#c9b6f6)}
.v33-tool.t-pink{background:linear-gradient(135deg,#ffd0dc,#f5b3c8)}
.v33-tool.t-yellow{background:linear-gradient(135deg,#ffedb5,#ffdb79)}
.v33-news-card .news-thumb{height:auto;aspect-ratio:16/10;background:#edf4fb}
.v33-news-card .news-thumb img{width:100%!important;height:100%!important;aspect-ratio:auto!important;object-fit:cover!important;object-position:center!important;display:block!important;max-width:none!important}
