/* Atlas v6.18 — master-reference rebuild
   Source of truth: approved 1448×1086 home/search reference screenshots.
   Unique a18-* component namespace prevents historical Atlas CSS drift. */
:root{
  --a18-canvas:#f5f7fb;
  --a18-surface:#fff;
  --a18-text:#111a30;
  --a18-muted:#68758d;
  --a18-soft:#8e99aa;
  --a18-line:#e5e9f0;
  --a18-line-2:#edf0f5;
  --a18-blue:#315ff4;
  --a18-link:#1758e7;
  --a18-purple:#7650ec;
  --a18-radius:18px;
  --a18-shadow:0 10px 28px rgba(30,43,74,.055);
  --a18-shadow-soft:0 4px 14px rgba(30,43,74,.045);
  --a18-font:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif;
}
html{background:var(--a18-canvas)!important}
body.home,body.search-results{margin:0!important;padding:14px!important;background:var(--a18-canvas)!important;color:var(--a18-text)!important;font-family:var(--a18-font)!important;-webkit-font-smoothing:antialiased!important;text-rendering:optimizeLegibility!important}
body.home #content,body.search-results #content{margin:0!important;padding:0!important;max-width:none!important;min-height:0!important;background:transparent!important}
body.home #header,body.home #footer{display:none!important}
body.search-results #footer{display:none!important}
body.home *,body.search-results *{box-sizing:border-box}
body.home button,body.search-results button,body.home input,body.search-results input{font:inherit}
body.home a,body.search-results a{text-decoration:none}
.a18-frame{position:relative;min-height:calc(100vh - 28px);overflow:hidden;border:1px solid #e5e8ee;border-radius:20px;background:#fff;box-shadow:0 8px 36px rgba(35,46,72,.065)}
.a18-frame>header#header,.a18-frame>main#content,.a18-frame>footer#footer{position:relative}

/* shared clean icons/buttons */
.a18-icon{display:inline-grid;place-items:center;width:18px;height:18px;color:currentColor}
.a18-icon svg{display:block;width:100%;height:100%;fill:currentColor}
.a18-kebab{display:grid!important;place-items:center!important;width:28px!important;height:28px!important;padding:0!important;border:0!important;background:transparent!important;color:currentColor!important;opacity:.8!important;font-size:21px!important;line-height:1!important}
.a18-visually-hidden{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}

/* ================================================================
   HOME — exact composition lock
   ================================================================ */
.a18-home{min-height:100%;background:linear-gradient(180deg,#fff 0%,#fbfcff 55%,#fff 100%);color:var(--a18-text)}
.a18-homebar{height:74px;display:grid;grid-template-columns:220px 1fr 300px;align-items:center;padding:0 39px;border-bottom:1px solid #edf0f4;background:rgba(255,255,255,.98)}
.a18-brand{display:inline-flex;align-items:center;gap:10px;width:max-content;color:#11182c}
.a18-brand img{display:block;width:39px;height:39px;object-fit:contain}
.a18-brand b{font-size:27px;line-height:1;font-weight:760;letter-spacing:-.045em}
.a18-home-nav{display:flex;align-items:stretch;justify-content:center;gap:48px;height:74px}
.a18-home-nav a{position:relative;display:flex;align-items:center;height:74px;color:#59647b;font-size:13px;font-weight:560;white-space:nowrap}
.a18-home-nav a:hover,.a18-home-nav a.is-active{color:#4d62ef}
.a18-home-nav a.is-active::after{content:"";position:absolute;left:0;right:0;bottom:0;height:2px;border-radius:2px;background:#536cff}
.a18-home-tools{display:flex;align-items:center;justify-content:flex-end;gap:12px}
.a18-tool{height:42px;display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:8px;padding:0 15px!important;border:1px solid #e5e9ef!important;border-radius:13px!important;background:#fff!important;color:#58647c!important;box-shadow:0 4px 12px rgba(29,43,73,.04)!important}
.a18-tool .a18-icon{width:17px;height:17px}
.a18-tool b{font-size:11px;font-weight:560}
.a18-profile{width:42px!important;padding:0!important;border-radius:50%!important;background:#f0f1ff!important;color:#5f66f3!important}
.a18-profile::before{content:"";width:17px;height:17px;border:2px solid currentColor;border-radius:50%;box-shadow:inset 0 -7px 0 -4px currentColor}

.a18-home-main{width:min(1298px,calc(100% - 88px));margin:0 auto;padding:33px 0 0}
.a18-hero{text-align:center}
.a18-hero-mark{height:105px;display:flex;align-items:center;justify-content:center;gap:20px}
.a18-hero-mark img{display:block;width:96px;height:96px;object-fit:contain;filter:drop-shadow(0 10px 18px rgba(92,77,225,.10))}
.a18-hero-mark h1{margin:0;color:#10172b;font-size:75px;line-height:.95;font-weight:780;letter-spacing:-.065em}
.a18-home-search{position:relative;width:930px;max-width:100%;height:73px;margin:16px auto 0;border:1.5px solid transparent;border-radius:17px;background:linear-gradient(#fff,#fff) padding-box,linear-gradient(100deg,#5b8cff,#c56cff) border-box;box-shadow:0 11px 27px rgba(61,74,132,.09)}
.a18-home-search .a18-search-leading{position:absolute;left:25px;top:50%;transform:translateY(-50%);width:23px;height:23px;color:#526078}
.a18-home-search input[name="q"]{position:absolute!important;left:63px!important;right:142px!important;top:0!important;width:calc(100% - 205px)!important;height:70px!important;margin:0!important;padding:0!important;border:0!important;border-radius:0!important;background:transparent!important;color:#172037!important;box-shadow:none!important;outline:0!important;font-size:17px!important;line-height:70px!important;font-weight:450!important}
.a18-home-search input[name="q"]::placeholder{color:#98a1b2!important;opacity:1!important}
.a18-home-search .a18-search-action{position:absolute!important;top:50%!important;transform:translateY(-50%)!important;display:grid!important;place-items:center!important;width:39px!important;height:39px!important;min-width:39px!important;padding:0!important;border:0!important;border-radius:10px!important;background:transparent!important;color:#5c6881!important;box-shadow:none!important}
.a18-home-search .a18-search-action svg{width:22px;height:22px;display:block}
.a18-home-search .a18-voice{right:101px!important}
.a18-home-search .a18-image-shortcut{right:58px!important}
.a18-home-search .a18-ai-shortcut{right:15px!important;color:#9b54ed!important}
.a18-home-search .a18-ai-shortcut svg{width:23px;height:23px}

.a18-quick{display:flex;justify-content:center;align-items:center;gap:13px;margin:17px auto 0;white-space:nowrap}
.a18-chip{height:38px;display:inline-flex;align-items:center;gap:8px;padding:0 15px;border:1px solid #e5e8ee;border-radius:12px;background:#fff;color:#5e687e;font-size:11px;font-weight:530;box-shadow:0 4px 11px rgba(29,42,70,.035)}
.a18-chip .a18-chip-icon{font-size:15px;line-height:1}
.a18-chip--weather .a18-chip-icon{color:#f1b319}.a18-chip--currency .a18-chip-icon{color:#13a86f}.a18-chip--moon .a18-chip-icon{color:#5965c8}.a18-chip--tv .a18-chip-icon{color:#4866d8}.a18-chip--horo .a18-chip-icon{color:#7062dd}
.a18-inline-alert{margin:14px 0 0;padding:11px 14px;border:1px solid #efcfd2;border-radius:12px;background:#fff6f6;color:#94494f;font-size:12px}
.a18-services{margin-top:27px}
.a18-grid{display:grid;grid-template-columns:1.07fr 1fr 1.07fr;gap:18px;align-items:stretch}
.a18-card{position:relative;min-width:0;height:253px;overflow:hidden;border:1px solid rgba(222,227,236,.95);border-radius:18px;background:#fff;box-shadow:var(--a18-shadow);isolation:isolate}
.a18-card:nth-child(n+4){height:259px}
.a18-card button,.a18-card a{font-family:inherit}
.a18-card-head{position:relative;z-index:5;height:51px;padding:18px 18px 0;display:flex;align-items:flex-start;justify-content:space-between;color:#20283b}
.a18-card-head h2{margin:0;color:inherit;font-size:12px;line-height:1.2;font-weight:720;letter-spacing:-.01em}
.a18-head-light{color:#fff;text-shadow:0 1px 5px rgba(0,0,0,.14)}
.a18-card-foot{position:absolute;z-index:8;left:18px;right:18px;bottom:0;height:41px;border-top:1px solid rgba(255,255,255,.20);display:flex;align-items:center;color:inherit}
.a18-card-foot>a,.a18-card-foot>button{display:inline-flex!important;align-items:center!important;gap:9px!important;padding:0!important;border:0!important;background:transparent!important;color:inherit!important;font-size:10px!important;font-weight:550!important}
.a18-card-foot .arrow{font-size:15px;line-height:1}

/* home weather */
.a18-weather{color:#fff;border-color:rgba(80,145,245,.25);background:linear-gradient(135deg,#2a78eb 0%,#56a6f7 100%)}
.a18-weather::before{content:"";position:absolute;inset:0;z-index:1;background:linear-gradient(90deg,rgba(28,103,220,.38) 0%,rgba(34,120,229,.10) 48%,rgba(255,255,255,0) 78%);pointer-events:none}
.a18-weather-art{position:absolute;z-index:0;right:-4px;top:0;width:74%;height:72%;background-position:center;background-size:cover;filter:saturate(.98) contrast(.98);-webkit-mask-image:linear-gradient(90deg,transparent 0,#000 20%);mask-image:linear-gradient(90deg,transparent 0,#000 20%)}
.a18-weather[data-weather-scene="clear-day"] .a18-weather-art{background-image:url('../img/atlas-v6183/weather-clear-day.jpg')}
.a18-weather[data-weather-scene="partly-cloudy"] .a18-weather-art{background-image:url('../img/atlas-v6183/weather-partly-cloudy.jpg')}
.a18-weather[data-weather-scene="cloudy"] .a18-weather-art{background-image:url('../img/atlas-v6183/weather-cloudy.jpg')}
.a18-weather[data-weather-scene="rain"] .a18-weather-art{background-image:url('../img/atlas-v6183/weather-rain.jpg')}
.a18-weather[data-weather-scene="storm"] .a18-weather-art{background-image:url('../img/atlas-v6183/weather-storm.jpg')}
.a18-weather[data-weather-scene="snow"] .a18-weather-art{background-image:url('../img/atlas-v6183/weather-snow.jpg')}
.a18-weather[data-weather-scene="fog"] .a18-weather-art{background-image:url('../img/atlas-v6183/weather-fog.jpg')}
.a18-weather[data-weather-scene="clear-night"] .a18-weather-art{background-image:url('../img/atlas-v6183/weather-clear-night.jpg')}
.a18-weather[data-weather-scene="cloudy-night"] .a18-weather-art{background-image:url('../img/atlas-v6183/weather-cloudy-night.jpg')}
.a18-weather-main{position:relative;z-index:5;padding:0 18px;color:#fff}
.a18-weather-main strong{display:block;margin:0 0 6px;font-size:49px;line-height:.95;font-weight:450;letter-spacing:-.05em}
.a18-weather-main b{display:block;font-size:11px;line-height:1.25;font-weight:650}
.a18-weather-main>span{display:block;margin-top:3px;font-size:9.5px;opacity:.9}
.a18-weather-stats{position:absolute;z-index:5;left:18px;right:18px;bottom:42px;height:51px;display:grid;grid-template-columns:repeat(4,1fr);align-items:center;border-top:1px solid rgba(255,255,255,.19)}
.a18-weather-stat{min-width:0;padding:0 8px;border-right:1px solid rgba(255,255,255,.16)}
.a18-weather-stat:first-child{padding-left:0}.a18-weather-stat:last-child{padding-right:0;border-right:0}
.a18-weather-stat span{display:block;font-size:8.5px;line-height:1.25;opacity:.8}
.a18-weather-stat b{display:block;margin-top:2px;font-size:10px;line-height:1.25;font-weight:650;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}

/* home today/moon */
.a18-today{color:#fff;border-color:rgba(85,72,190,.18);background:linear-gradient(120deg,#4935b1 0%,#292d92 58%,#212a80 100%)}
.a18-today::before{content:"";position:absolute;inset:0;background:radial-gradient(circle at 78% 28%,rgba(122,153,255,.23),transparent 32%),linear-gradient(90deg,rgba(52,36,148,.12),transparent);z-index:0}
.a18-moon-art{position:absolute;right:-3px;top:18px;width:47%;height:72%;z-index:1;background:url('../img/atlas-v6183/moon-reference.jpg') center/cover no-repeat;border-radius:50%;mix-blend-mode:screen;opacity:.88;-webkit-mask-image:radial-gradient(circle,#000 52%,transparent 75%);mask-image:radial-gradient(circle,#000 52%,transparent 75%)}
.a18-today::after{content:"";position:absolute;left:23px;top:137px;width:47px;height:47px;border-radius:50%;background:#eef1ff;box-shadow:inset 14px 0 0 #4540aa,0 0 22px rgba(213,221,255,.15);z-index:3}
.a18-date-main{position:relative;z-index:4;padding:0 18px;color:#fff}
.a18-date-main strong{display:block;margin-top:0;font-size:20px;line-height:1.1;font-weight:760;letter-spacing:-.02em}
.a18-date-main small{display:block;margin-top:3px;font-size:9px;opacity:.92}
.a18-moon-meta{position:absolute;z-index:4;left:84px;top:132px;display:grid;gap:2px;color:#fff}
.a18-moon-meta span{font-size:8px;opacity:.68}.a18-moon-meta b{font-size:11px;line-height:1.1}.a18-moon-meta strong{font-size:11px;line-height:1.1}.a18-moon-meta small{margin-top:10px;font-size:8px;opacity:.8}

/* home currency */
.a18-currency{color:#fff;border-color:rgba(11,128,116,.2);background:linear-gradient(135deg,#189f94 0%,#0a8f82 100%)}
.a18-fx-list{position:relative;z-index:4;list-style:none;margin:0;padding:0 18px;color:#fff}
.a18-fx-list li{height:39px;display:grid;grid-template-columns:1fr auto;align-items:center;border-bottom:1px solid rgba(255,255,255,.15)}
.a18-fx-list li:last-child{border-bottom:0}
.a18-fx-list li>span{display:flex;align-items:center;gap:10px;min-width:0}
.a18-fx-list li>span::before{display:grid;place-items:center;width:24px;height:24px;border-radius:50%;background:rgba(255,255,255,.18);font-size:12px;font-weight:700;content:"¤"}
.a18-fx-list li:nth-child(1)>span::before{content:"$"}.a18-fx-list li:nth-child(2)>span::before{content:"€"}.a18-fx-list li:nth-child(3)>span::before{content:"¥"}.a18-fx-list li:nth-child(4)>span::before{content:"₿";background:#f2941b}
.a18-fx-list b{font-size:10px}.a18-fx-list small{font-size:8px;opacity:.72}.a18-fx-list strong{font-size:10px;font-weight:650;white-space:nowrap}

/* home horoscope */
.a18-horo{color:#fff;border-color:rgba(100,65,218,.2);background:linear-gradient(135deg,#7548d9 0%,#5430c8 100%)}
.a18-horo::before{content:"";position:absolute;inset:0;background:radial-gradient(circle at 22% 36%,rgba(255,255,255,.10),transparent 20%),linear-gradient(110deg,rgba(255,255,255,.03),transparent);z-index:0}
.a18-horo-main{position:relative;z-index:4;display:grid;grid-template-columns:88px 1fr;gap:18px;align-items:center;padding:4px 18px 0}
.a18-zodiac-disc{display:grid;place-items:center;width:72px;height:72px;border-radius:50%;background:radial-gradient(circle at 35% 30%,#9a73f8,#6931cc 70%);box-shadow:0 8px 20px rgba(48,22,126,.22),inset 0 0 0 1px rgba(255,255,255,.15)}
.a18-zodiac-disc span{font-size:43px;line-height:1;color:#fff}
.a18-horo-copy h3{margin:0;color:#fff;font-size:19px;line-height:1.1;font-weight:730}
.a18-horo-copy>span{display:block;margin-top:5px;font-size:8px;opacity:.78}
.a18-horo-copy p{margin:11px 0 0;max-width:265px;color:#fff;font-size:9.7px;line-height:1.47;opacity:.96}
.a18-horo-meters{position:absolute;z-index:4;left:18px;right:18px;bottom:43px;height:47px;display:grid;grid-template-columns:repeat(3,1fr);align-items:center;border-top:1px solid rgba(255,255,255,.12)}
.a18-horo-meters span{font-size:8px;opacity:.85}.a18-horo-meters i{display:block;margin-top:5px;font-size:9px;letter-spacing:2px;font-style:normal;color:#d7c9ff}

/* home tv */
.a18-tv{color:#fff;border-color:rgba(54,103,224,.18);background:linear-gradient(135deg,#4968dc 0%,#438af4 100%)}
.a18-tv-list{position:relative;z-index:4;margin:0 18px;color:#fff}
.a18-tv-list .atlas-tv-widget-loading{height:135px}
.a18-tv-list .atlas-tv-widget-loading span{background:rgba(255,255,255,.16)!important}
.a18-tv-list .atlas-tv-widget-row,.a18-tv-list [data-tv-row]{min-height:36px!important;border-bottom:1px solid rgba(255,255,255,.12)!important;color:#fff!important;background:transparent!important}
.a18-tv-list *{color:inherit}

/* home ai */
.a18-ai-home{color:#18213a;background:#fff}
.a18-ai-home::before{content:"";position:absolute;right:-4px;top:30px;width:52%;height:78%;background:url('../img/atlas-v6183/ai-orb-reference.jpg') center/cover no-repeat;opacity:.42;-webkit-mask-image:radial-gradient(circle at center,#000 42%,transparent 76%);mask-image:radial-gradient(circle at center,#000 42%,transparent 76%)}
.a18-ai-badge{display:grid;place-items:center;width:26px;height:26px;border-radius:7px;background:#7652e8;color:#fff;font-size:9px;font-weight:700}
.a18-ai-home-copy{position:relative;z-index:4;width:72%;padding:2px 18px 0}
.a18-ai-question{display:block;height:31px;padding:0 12px;border-radius:10px;background:#f2f6fd;color:#58657b;font-size:9px;line-height:31px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.a18-ai-bubble{margin-top:9px;padding:12px;border:1px solid #e2e8f1;border-radius:12px;background:rgba(255,255,255,.93);box-shadow:0 5px 14px rgba(42,55,85,.055)}
.a18-ai-bubble b{display:block;font-size:10px;line-height:1.45}.a18-ai-bubble p{margin:5px 0 0;color:#7b879b;font-size:8px;line-height:1.45}
.a18-ai-home .a18-card-foot{border-top-color:#edf0f4;color:#748099}

.a18-featurebar{height:74px;margin-top:22px;border-top:1px solid #edf0f4;background:#fff;display:grid;grid-template-columns:repeat(3,1fr);align-items:center;padding:0 112px}
.a18-feature{display:flex;align-items:center;justify-content:center;gap:12px;color:#5f6c83}
.a18-feature>span{display:grid;place-items:center;width:36px;height:36px;border-radius:50%;background:#f0f2ff;color:#6877ff;font-size:18px}
.a18-feature p{margin:0;display:grid;gap:2px;text-align:left}.a18-feature b{font-size:10px;font-weight:650}.a18-feature small{font-size:8px;color:#9aa4b4}

/* ================================================================
   SEARCH HEADER
   ================================================================ */
.a18-search-header{position:relative!important;height:113px!important;background:#fff!important;border-bottom:1px solid #e9edf3!important;box-shadow:none!important;z-index:40!important}
.a18-search-row{height:68px;border-bottom:1px solid #edf0f5}
.a18-search-row-inner{height:68px;display:grid;grid-template-columns:205px 1fr 310px;align-items:center;width:1378px;max-width:calc(100% - 56px);margin:0 auto}
.a18-search-brand{display:inline-flex;align-items:center;gap:8px;width:max-content;color:#11182b}
.a18-search-brand img{width:38px;height:38px;object-fit:contain}.a18-search-brand b{font-size:25px;font-weight:760;letter-spacing:-.045em}
.a18-results-form{position:relative;width:674px;height:43px;justify-self:start;border:1px solid #e2e7ef;border-radius:13px;background:#fff;box-shadow:0 4px 13px rgba(30,43,73,.04)}
.a18-results-form .a18-search-leading{position:absolute;left:17px;top:50%;width:18px;height:18px;transform:translateY(-50%);color:#5a6880}
.a18-results-form input[name="q"]{position:absolute!important;left:49px!important;right:116px!important;top:0!important;width:calc(100% - 165px)!important;height:41px!important;margin:0!important;padding:0!important;border:0!important;background:transparent!important;box-shadow:none!important;outline:0!important;color:#263049!important;font-size:12px!important;line-height:41px!important}
.a18-results-form .a18-search-action{position:absolute!important;top:50%!important;transform:translateY(-50%)!important;display:grid!important;place-items:center!important;width:34px!important;height:34px!important;padding:0!important;border:0!important;background:transparent!important;color:#66738b!important;box-shadow:none!important}
.a18-results-form .a18-voice{right:75px!important}.a18-results-form .a18-image-shortcut{right:40px!important}.a18-results-form .a18-ai-shortcut{right:7px!important;color:#a35af2!important}
.a18-search-tools{display:flex;align-items:center;justify-content:flex-end;gap:10px}
.a18-search-tools .a18-tool{height:39px;padding:0 13px!important}.a18-search-tools .a18-tool b{font-size:10px}.a18-search-tools .a18-profile{width:39px!important}
.a18-tabs{height:45px;background:#fff}
.a18-tabs-inner{height:45px;display:flex;align-items:flex-end;justify-content:center}
.a18-tabs ul{height:45px;margin:0!important;padding:0!important;display:flex!important;align-items:flex-end!important;gap:48px!important;list-style:none!important}
.a18-tabs li{height:45px!important;margin:0!important;padding:0!important}
.a18-tabs a,.a18-tabs button{position:relative!important;height:45px!important;display:flex!important;align-items:center!important;padding:0 3px!important;border:0!important;background:transparent!important;color:#667289!important;font-size:11px!important;font-weight:550!important;box-shadow:none!important}
.a18-tabs a.active,.a18-tabs a[aria-current="page"],.a18-tabs button.is-active{color:#4b62f0!important}
.a18-tabs a.active::after,.a18-tabs a[aria-current="page"]::after{content:"";position:absolute;left:0;right:0;bottom:-1px;height:2px;border-radius:2px;background:#5b65ff}

/* ================================================================
   SEARCH PAGE
   ================================================================ */
.a18-search-page{width:1304px;max-width:calc(100% - 98px);margin:0 auto;padding:18px 0 26px;color:var(--a18-text)}
.a18-result-meta{height:28px;display:flex;align-items:center;color:#8c97aa;font-size:9px;font-weight:450}
.a18-search-layout{display:grid;grid-template-columns:minmax(0,916px) 350px;gap:37px;align-items:start}
.a18-results-main{min-width:0}
.a18-sidebar{display:flex;flex-direction:column;gap:11px;margin-top:-28px;min-width:0}

/* AI answer */
.a18-ai-answer{position:relative;height:306px;overflow:hidden;border:1px solid #e3e8ef;border-radius:15px;background:#fff;box-shadow:var(--a18-shadow-soft)}
.a18-ai-answer::after{content:"";position:absolute;right:12px;top:28px;width:260px;height:190px;background:url('../img/atlas-v6183/ai-orb-reference.jpg') center/cover no-repeat;opacity:.88;-webkit-mask-image:radial-gradient(circle at center,#000 46%,transparent 77%);mask-image:radial-gradient(circle at center,#000 46%,transparent 77%);pointer-events:none}
.a18-ai-head{position:relative;z-index:3;height:55px;display:flex;align-items:center;gap:10px;padding:0 22px;color:#19213a}
.a18-ai-head .spark{color:#7d5ef0;font-size:22px;line-height:1}.a18-ai-head b{font-size:17px;font-weight:710}.a18-ai-head em{display:none}
.a18-ai-body{position:relative;z-index:3;width:69%;padding:3px 22px 0}
.a18-ai-body .atlas-ai-summary{margin:0 0 13px!important;color:#131c36!important;font-size:19px!important;line-height:1.25!important;font-weight:690!important;letter-spacing:-.02em!important}
.a18-ai-body .atlas-ai-points{margin:0!important;padding:0 0 0 20px!important;display:grid!important;gap:8px!important;color:#40506d!important;font-size:11px!important;line-height:1.45!important}
.a18-ai-body .atlas-ai-points li::marker{color:#6b5cff}
.a18-ai-body .atlas-ai-followups{display:none!important}
.a18-ai-footer{position:absolute;z-index:4;left:22px;right:22px;bottom:16px;display:flex;align-items:center;justify-content:space-between}
.a18-ai-actions{display:flex;gap:10px}.a18-ai-actions button{height:36px!important;padding:0 14px!important;display:inline-flex!important;align-items:center!important;gap:7px!important;border:1px solid #e1e6ee!important;border-radius:10px!important;background:#fff!important;color:#65728a!important;font-size:10px!important;font-weight:540!important;box-shadow:0 3px 10px rgba(28,42,72,.035)!important}
.a18-ai-actions button:disabled{opacity:.55!important}.a18-ai-status{color:#98a2b2;font-size:8px}.a18-ai-sources{display:none!important}
.a18-ai-answer .atlas-ai-loading-copy{margin:8px 0;color:#68758b;font-size:13px}.a18-ai-answer .atlas-ai-skeleton{display:grid;gap:8px;margin-top:13px}.a18-ai-answer .atlas-ai-skeleton span{display:block;height:10px;border-radius:6px;background:linear-gradient(90deg,#eef1f6,#f8f9fb,#eef1f6);background-size:200% 100%;animation:a18shimmer 1.3s linear infinite}.a18-ai-answer .atlas-ai-skeleton span:nth-child(2){width:88%}.a18-ai-answer .atlas-ai-skeleton span:nth-child(3){width:73%}
.a18-ai-answer .atlas-ai-error{max-width:570px;margin-top:5px;padding:12px 14px;border:1px solid #eadfe7;border-radius:10px;background:#fff9fb;color:#5d4552;font-size:11px}.a18-ai-answer .atlas-ai-error b{display:block;margin-bottom:5px;font-size:13px}.a18-ai-answer .atlas-ai-error p{margin:0 0 9px}.a18-ai-answer .atlas-ai-error button{height:32px;padding:0 12px;border:1px solid #e2dbe1;border-radius:9px;background:#fff;color:#5d4552}
@keyframes a18shimmer{to{background-position:-200% 0}}

/* CSE results — neutral cards */
.a18-results-panel{margin-top:14px;background:transparent!important;border:0!important}
.a18-results-panel .gsc-control-cse,.a18-results-panel .gsc-control-wrapper-cse,.a18-results-panel .gsc-results,.a18-results-panel .gsc-webResult,.a18-results-panel .gsc-result{margin:0!important;padding:0!important;border:0!important;background:transparent!important}
.a18-results-panel .gsc-expansionArea{display:grid!important;gap:7px!important}
.a18-results-panel .gsc-webResult.gsc-result{position:relative!important;min-height:111px!important;padding:17px 46px 15px 96px!important;border:1px solid #e2e7ee!important;border-radius:14px!important;background:#fff!important;box-shadow:0 4px 13px rgba(31,44,75,.035)!important}
.a18-results-panel .gsc-webResult.gsc-result:hover{border-color:#d8dee8!important;box-shadow:0 7px 18px rgba(31,44,75,.05)!important}
.a18-results-panel .gs-title,.a18-results-panel .gs-title *{height:auto!important;color:#1554e7!important;font-size:15px!important;line-height:1.25!important;font-weight:650!important;text-decoration:none!important}
.a18-results-panel .gs-visibleUrl,.a18-results-panel .gs-visibleUrl *{color:#6e7c94!important;font-size:9px!important;line-height:1.3!important}
.a18-results-panel .gs-snippet{margin-top:5px!important;color:#65738b!important;font-size:10.5px!important;line-height:1.45!important}
.a18-results-panel .gsc-url-top{margin-bottom:6px!important}
.a18-results-panel .gsc-table-result,.a18-results-panel .gsc-thumbnail-inside,.a18-results-panel .gsc-url-top{padding:0!important;margin-left:0!important}
.a18-results-panel .gs-web-image-box,.a18-results-panel .gsc-thumbnail{display:none!important}
.a18-result-favicon{position:absolute;left:17px;top:22px;width:48px;height:48px;display:grid;place-items:center;border:1px solid #e2e7ef;border-radius:50%;background:#fff;overflow:hidden}
.a18-result-favicon img{width:28px;height:28px;object-fit:contain}.a18-result-favicon span{font-size:18px;font-weight:750;color:#56627a}
.a18-results-panel .gcsc-find-more-on-google,.a18-results-panel .gcsc-more-maybe-branding-root{display:none!important}
.a18-results-panel .gsc-cursor-box{margin:18px 0!important;text-align:left!important}.a18-results-panel .gsc-cursor-page{display:inline-grid!important;place-items:center!important;min-width:34px!important;height:34px!important;margin-right:6px!important;border:1px solid #e0e5ed!important;border-radius:9px!important;background:#fff!important;color:#55627b!important;text-decoration:none!important}.a18-results-panel .gsc-cursor-current-page{background:#5268ef!important;color:#fff!important;border-color:#5268ef!important}
.a18-results-panel .gsc-adBlock,.a18-results-panel .gsc-adBlockVertical{display:none!important}
.a18-related{margin-top:16px;padding:17px 18px;border:1px solid #e3e7ee;border-radius:14px;background:#fff}.a18-related>span{color:#8d98aa;font-size:9px}.a18-related h2{margin:3px 0 12px;font-size:15px}.a18-related>div{display:flex;flex-wrap:wrap;gap:8px}.a18-related a{height:32px;display:inline-flex;align-items:center;gap:8px;padding:0 11px;border:1px solid #e3e8ef;border-radius:9px;color:#59667d;font-size:10px}

/* sidebar shared */
.a18-side-card{position:relative;width:350px;overflow:hidden;border:1px solid rgba(226,230,238,.86);border-radius:13px;box-shadow:0 7px 20px rgba(30,43,74,.045);color:#fff;isolation:isolate}
.a18-side-head{position:relative;z-index:5;height:39px;padding:13px 13px 0;display:flex;align-items:flex-start;justify-content:space-between}.a18-side-head h2{margin:0;color:inherit;font-size:9px;line-height:1.2;font-weight:680}.a18-side-head button,.a18-side-head a{padding:0;border:0;background:transparent;color:inherit;font-size:15px;line-height:1;opacity:.78}
.a18-side-foot{position:absolute;z-index:5;left:13px;right:13px;bottom:0;height:31px;border-top:1px solid rgba(255,255,255,.16);display:flex;align-items:center}.a18-side-foot a,.a18-side-foot button{padding:0;border:0;background:transparent;color:inherit;font-size:8px;font-weight:540}

.a18-side-weather{height:186px;background:linear-gradient(135deg,#347fe9,#57a6f7)}
.a18-side-weather::before{content:"";position:absolute;inset:0;z-index:1;background:linear-gradient(90deg,rgba(29,107,222,.28),transparent 60%)}
.a18-side-weather-art{position:absolute;right:-5px;top:0;width:73%;height:78%;background-position:center;background-size:cover;-webkit-mask-image:linear-gradient(90deg,transparent,#000 20%);mask-image:linear-gradient(90deg,transparent,#000 20%)}
.a18-side-weather[data-weather-scene="clear-day"] .a18-side-weather-art{background-image:url('../img/atlas-v6183/weather-clear-day.jpg')}.a18-side-weather[data-weather-scene="partly-cloudy"] .a18-side-weather-art{background-image:url('../img/atlas-v6183/weather-partly-cloudy.jpg')}.a18-side-weather[data-weather-scene="cloudy"] .a18-side-weather-art{background-image:url('../img/atlas-v6183/weather-cloudy.jpg')}.a18-side-weather[data-weather-scene="rain"] .a18-side-weather-art{background-image:url('../img/atlas-v6183/weather-rain.jpg')}.a18-side-weather[data-weather-scene="storm"] .a18-side-weather-art{background-image:url('../img/atlas-v6183/weather-storm.jpg')}.a18-side-weather[data-weather-scene="snow"] .a18-side-weather-art{background-image:url('../img/atlas-v6183/weather-snow.jpg')}.a18-side-weather[data-weather-scene="fog"] .a18-side-weather-art{background-image:url('../img/atlas-v6183/weather-fog.jpg')}.a18-side-weather[data-weather-scene="clear-night"] .a18-side-weather-art{background-image:url('../img/atlas-v6183/weather-clear-night.jpg')}.a18-side-weather[data-weather-scene="cloudy-night"] .a18-side-weather-art{background-image:url('../img/atlas-v6183/weather-cloudy-night.jpg')}
.a18-side-weather-main{position:relative;z-index:4;padding:0 13px;color:#fff}.a18-side-weather-main strong{display:block;font-size:30px;line-height:1;font-weight:440}.a18-side-weather-main b{display:block;margin-top:4px;font-size:8px}.a18-side-weather-main span{display:block;margin-top:2px;font-size:7px;opacity:.9}
.a18-side-weather-stats{position:absolute;z-index:4;left:13px;right:13px;bottom:32px;height:43px;display:grid;grid-template-columns:repeat(4,1fr);align-items:center;border-top:1px solid rgba(255,255,255,.17)}.a18-side-weather-stats span{font-size:6.5px;opacity:.82}.a18-side-weather-stats b{display:block;margin-top:2px;font-size:7.5px;white-space:nowrap}

.a18-side-today{height:161px;background:linear-gradient(135deg,#4034a9,#282b86)}
.a18-side-today::before{content:"";position:absolute;right:8px;top:17px;width:42%;height:72%;background:url('../img/atlas-v6183/moon-reference.jpg') center/cover no-repeat;opacity:.8;-webkit-mask-image:radial-gradient(circle,#000 50%,transparent 76%);mask-image:radial-gradient(circle,#000 50%,transparent 76%)}
.a18-side-date{position:relative;z-index:3;padding:0 13px;color:#fff}.a18-side-date strong{display:block;font-size:14px}.a18-side-date small{display:block;margin-top:2px;font-size:7px}.a18-side-moon{position:absolute;z-index:3;left:13px;bottom:40px;padding-left:51px;color:#fff}.a18-side-moon::before{content:"";position:absolute;left:0;top:-1px;width:35px;height:35px;border-radius:50%;background:#eef1ff;box-shadow:inset 11px 0 0 #403ca4}.a18-side-moon b{display:block;font-size:8px}.a18-side-moon span{display:block;margin-top:2px;font-size:7px;opacity:.84}.a18-side-moon small{font-size:7px;opacity:.78}

.a18-side-currency{height:167px;background:linear-gradient(135deg,#159b91,#0c8d81)}
.a18-side-fx{list-style:none;margin:0;padding:0 13px;color:#fff}.a18-side-fx li{height:25px;display:grid;grid-template-columns:1fr auto;align-items:center;border-bottom:1px solid rgba(255,255,255,.13)}.a18-side-fx li>span{display:flex;align-items:center;gap:7px}.a18-side-fx b{font-size:7.5px}.a18-side-fx small{font-size:6px;opacity:.72}.a18-side-fx strong{font-size:7.5px}.a18-side-fx li>span::before{content:"¤";display:grid;place-items:center;width:18px;height:18px;border-radius:50%;background:rgba(255,255,255,.18);font-size:9px}.a18-side-fx li:nth-child(1)>span::before{content:"$"}.a18-side-fx li:nth-child(2)>span::before{content:"€"}.a18-side-fx li:nth-child(3)>span::before{content:"¥"}.a18-side-fx li:nth-child(4)>span::before{content:"₿";background:#f49b1e}

.a18-side-horo{height:127px;background:linear-gradient(135deg,#7748d8,#5530c6)}
.a18-side-horo-main{position:relative;z-index:3;display:grid;grid-template-columns:1fr 78px;gap:8px;padding:0 13px;color:#fff}.a18-side-horo-main h3{margin:0;font-size:14px}.a18-side-horo-main span{font-size:6px;opacity:.78}.a18-side-horo-main p{margin:5px 0 0;font-size:6.5px;line-height:1.4;max-width:220px}.a18-side-zodiac{display:grid;place-items:center;width:58px;height:58px;margin-top:-5px;border-radius:50%;background:rgba(255,255,255,.12)}.a18-side-zodiac span{font-size:36px;color:#fff}

.a18-side-tv{height:178px;background:linear-gradient(135deg,#4968dd,#478bf2)}
.a18-side-tv-list{margin:0 13px;color:#fff}.a18-side-tv-list .atlas-tv-widget-row,.a18-side-tv-list [data-tv-row]{min-height:27px!important;border-bottom:1px solid rgba(255,255,255,.11)!important;background:transparent!important;color:#fff!important;font-size:7px!important}.a18-side-tv-list *{color:inherit!important}

/* image results */
.a18-results-panel.atlas-image-results .gsc-results .gsc-imageResult{border-radius:12px!important;overflow:hidden!important;background:#fff!important;border:1px solid #e3e7ee!important}.a18-results-panel.atlas-image-results .gs-image{border-radius:9px!important}

/* ================================================================
   Responsive
   ================================================================ */
@media(max-width:1180px){
  body.home,body.search-results{padding:0!important}
  .a18-frame{border-radius:0;border-left:0;border-right:0;min-height:100vh}
  .a18-homebar{grid-template-columns:170px 1fr 170px;padding:0 24px}.a18-home-nav{gap:26px}.a18-tool b{display:none}.a18-home-main{width:min(100% - 36px,960px)}
  .a18-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.a18-card,.a18-card:nth-child(n+4){height:260px}
  .a18-search-row-inner{grid-template-columns:150px 1fr 160px;max-width:calc(100% - 32px)}.a18-results-form{width:min(650px,100%)}
  .a18-search-page{max-width:calc(100% - 32px)}.a18-search-layout{grid-template-columns:minmax(0,1fr) 310px;gap:22px}.a18-side-card{width:310px}
}
@media(max-width:860px){
  .a18-homebar{height:64px;grid-template-columns:1fr auto;padding:0 18px}.a18-home-nav{display:none}.a18-brand img{width:34px;height:34px}.a18-brand b{font-size:24px}.a18-home-tools{gap:7px}.a18-tool{height:38px!important;padding:0 10px!important}
  .a18-home-main{width:calc(100% - 28px);padding-top:22px}.a18-hero-mark{height:82px}.a18-hero-mark img{width:68px;height:68px}.a18-hero-mark h1{font-size:55px}.a18-home-search{height:62px}.a18-home-search input[name="q"]{height:59px!important;line-height:59px!important}.a18-quick{justify-content:flex-start;overflow-x:auto;padding:0 1px 6px;scrollbar-width:none}.a18-quick::-webkit-scrollbar{display:none}
  .a18-grid{grid-template-columns:1fr}.a18-card,.a18-card:nth-child(n+4){height:260px}.a18-featurebar{height:auto;margin-top:16px;padding:16px;grid-template-columns:1fr;gap:12px}.a18-feature{justify-content:flex-start}
  .a18-search-header{height:109px!important}.a18-search-row{height:64px}.a18-search-row-inner{height:64px;grid-template-columns:46px 1fr 46px;gap:8px;max-width:calc(100% - 22px)}.a18-search-brand b{display:none}.a18-search-brand img{width:36px;height:36px}.a18-results-form{width:100%}.a18-search-tools .a18-tool:not(.a18-profile){display:none!important}.a18-tabs ul{gap:28px!important;overflow-x:auto}.a18-tabs li:last-child{display:none}
  .a18-search-page{max-width:calc(100% - 22px);padding-top:14px}.a18-result-meta{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.a18-search-layout{display:block}.a18-sidebar{margin:14px 0 0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.a18-side-card{width:100%}.a18-ai-answer{height:auto;min-height:305px}.a18-ai-answer::after{opacity:.28}.a18-ai-body{width:100%;padding-right:22px}.a18-ai-body .atlas-ai-summary{font-size:17px!important}.a18-results-panel .gsc-webResult.gsc-result{padding-left:76px!important}.a18-result-favicon{left:15px;width:42px;height:42px}
}
@media(max-width:560px){
  .a18-home-tools .a18-tool:not(.a18-profile){display:none!important}.a18-home-main{width:calc(100% - 20px)}.a18-hero-mark{gap:12px}.a18-hero-mark img{width:55px;height:55px}.a18-hero-mark h1{font-size:46px}.a18-home-search{height:58px}.a18-home-search .a18-search-leading{left:17px;width:20px;height:20px}.a18-home-search input[name="q"]{left:48px!important;right:100px!important;width:calc(100% - 148px)!important;height:55px!important;line-height:55px!important;font-size:15px!important}.a18-home-search .a18-image-shortcut{display:none!important}.a18-home-search .a18-voice{right:52px!important}.a18-home-search .a18-ai-shortcut{right:10px!important}.a18-services{margin-top:17px}.a18-card,.a18-card:nth-child(n+4){height:250px}.a18-weather-main strong{font-size:44px}.a18-horo-main{grid-template-columns:78px 1fr;gap:10px}.a18-horo-copy p{font-size:9px}
  .a18-sidebar{grid-template-columns:1fr}.a18-side-card{min-height:150px}.a18-side-weather{height:186px}.a18-side-today{height:161px}.a18-side-currency{height:167px}.a18-side-horo{height:137px}.a18-side-tv{height:178px}.a18-ai-actions button span{display:none}.a18-ai-actions button{width:38px!important;padding:0!important;justify-content:center!important}.a18-ai-footer{right:14px;left:14px}.a18-results-panel .gsc-webResult.gsc-result{min-height:104px!important;padding:15px 14px 14px 66px!important}.a18-results-panel .gs-title,.a18-results-panel .gs-title *{font-size:14px!important}.a18-result-favicon{left:12px;top:18px;width:38px;height:38px}
}
/* ---- v6.18 geometry calibration against the 1448×1086 master screenshot ---- */
body.search-results{padding:7px!important}
body.search-results>.a18-frame{min-height:calc(100vh - 14px)}
.a18-home-main{transform:none}
.a18-hero-mark{height:118px}
.a18-hero-mark img{width:120px;height:100px;object-fit:contain}
.a18-hero-mark h1{font-size:89px;transform:translateY(3px)}
.a18-quick{gap:18px;margin-top:23px}
.a18-chip{padding-left:29px;padding-right:29px}
.a18-services{margin-top:28px}
.a18-grid{transform:translateX(-2px)}
.a18-card{height:260px}
.a18-card:nth-child(n+4){height:266px}
.a18-featurebar{height:77px;margin-top:25px}
.a18-search-page{padding-top:9px}
.a18-weather-art{right:-43px;width:82%}
.a18-side-weather-art{right:-36px;width:82%}
.a18-brand img,.a18-search-brand img{object-fit:contain}
.a18-weather-title,.a18-weather-location{display:flex;align-items:center;gap:7px}
.a18-weather-title>span{font-size:16px;line-height:1;color:#fff}.a18-weather-location{font-size:9px}.a18-weather-location>b{font-size:9px;font-weight:560}.a18-weather-location>span{font-size:13px;opacity:.9}
.a18-head-icon::before{display:inline-block;margin-right:7px;font-size:13px;line-height:1;vertical-align:-1px;opacity:.95}
.a18-today .a18-head-icon::before{content:"▣"}.a18-currency .a18-head-icon::before{content:"✧"}.a18-horo .a18-head-icon::before{content:"✦"}.a18-tv .a18-head-icon::before{content:"▣"}.a18-ai-home .a18-head-icon::before{content:"✦";color:#7b5bf0}
.a18-zodiac-disc span,.a18-side-zodiac span{font-family:"Segoe UI Symbol","Noto Sans Symbols 2","Arial Unicode MS",sans-serif!important;font-variant-emoji:text!important;color:#fff!important;text-shadow:none!important}
.a18-ai-feedback{display:flex;gap:8px;margin-left:auto}.a18-ai-feedback button{display:grid!important;place-items:center!important;width:28px!important;height:28px!important;padding:0!important;border:0!important;background:transparent!important;color:#77849a!important;box-shadow:none!important}.a18-ai-feedback button svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.6}.a18-ai-feedback button[aria-pressed="true"]{color:#5369ef!important}
@media(max-width:860px){.a18-grid{transform:none}.a18-chip{padding-left:15px;padding-right:15px}.a18-hero-mark{height:82px}.a18-hero-mark img{width:68px;height:57px}.a18-hero-mark h1{font-size:55px;transform:none}.a18-services{margin-top:17px}.a18-featurebar{height:auto;margin-top:16px}.a18-search-page{padding-top:9px}}
@media(max-width:560px){.a18-hero-mark img{width:55px;height:46px}.a18-hero-mark h1{font-size:46px}}


/* =====================================================================
   v6.18.1 — FINAL REFERENCE LOCK
   Measured against the approved 1448×1086 Atlas master screenshots.
   This file is loaded last and only corrects verified residual drift.
   ===================================================================== */
@media (min-width:1181px){
  /* Search master: left content x=65, sidebar x=1018. */
  .a18-search-page{transform:translateX(-7px)!important;}

  /* Header search master: x≈309, width≈696; current historical stack x≈241. */
  .a18-results-form{width:696px!important;transform:translateX(68px)!important;}

  /* Header tools master bboxes: bookmarks≈1088×108, history≈1214×101. */
  .a18-search-tools{width:290px!important;justify-self:end!important;justify-content:flex-start!important;gap:18px!important;transform:translateX(-34px)!important;}
  .a18-search-tools .a18-tool:nth-child(1){width:108px!important;justify-content:center!important;}
  .a18-search-tools .a18-tool:nth-child(2){width:101px!important;justify-content:center!important;}
  .a18-search-tools .a18-profile{margin-left:13px!important;}

  /* Sidebar master y positions: 140 / 336 / 509 / 688 / 827. */
  .a18-sidebar{margin-top:-27px!important;gap:12px!important;}
  .a18-side-weather{height:184px!important;}
}

/* AI bullet list: historical layers used circular check badges. The master uses
   small simple violet bullets and no generated pseudo-icon. */
.a18-ai-body .atlas-ai-points{list-style:disc!important;padding-left:20px!important;}
.a18-ai-body .atlas-ai-points li{position:static!important;padding-left:0!important;background:none!important;border:0!important;box-shadow:none!important;}
.a18-ai-body .atlas-ai-points li::before,
.a18-ai-body .atlas-ai-points li::after{content:none!important;display:none!important;}
.a18-ai-body .atlas-ai-points li::marker{color:#6957ff!important;font-size:.9em!important;}

/* Keep the final home composition locked to the approved reference. */
@media (min-width:1181px){
  .a18-home-main{width:1298px!important;}
  .a18-grid{grid-template-columns:430px 402px 430px!important;column-gap:18px!important;}
  .a18-card{height:260px!important;}
  .a18-card:nth-child(n+4){height:266px!important;}
}

/* Deterministic zodiac artwork: image glyphs are injected by the widget runtime.
   Avoid OS-dependent emoji / symbol rendering. */
.a18-zodiac-disc [data-horoscope-symbol],
.a18-side-zodiac [data-horoscope-symbol]{display:grid!important;place-items:center!important;width:100%!important;height:100%!important;font-size:0!important;}
.a18-zodiac-disc [data-horoscope-symbol] img{display:block;width:54px;height:54px;object-fit:contain;filter:brightness(0) invert(1);}
.a18-side-zodiac [data-horoscope-symbol] img{display:block;width:38px;height:38px;object-fit:contain;filter:brightness(0) invert(1);}

/* Master typography/spacing cleanup. */
.a18-ai-head em{display:none!important;}
.a18-ai-status{max-width:180px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
.a18-result-meta{letter-spacing:0!important;}
.a18-results-panel .gsc-webResult.gsc-result::before,
.a18-results-panel .gsc-webResult.gsc-result::after{content:none!important;}

/* Mobile: never carry desktop calibration transforms into the narrow layout. */
@media (max-width:1180px){
  .a18-search-page,.a18-results-form,.a18-search-tools{transform:none!important;}
}
