:root{--primary:#6c55f5;--primary-dark:#5140d8;--primary-light:#8d7cff;--blue:#55bdf7;--blue-light:#dff5ff;--sky:#aee8ff;--pink:#f486ba;--pink-light:#ffe2f0;--green:#54ce72;--green-light:#dcf8e4;--yellow:#ffd95b;--yellow-light:#fff4bd;--red:#ff6868;--red-light:#ffe1e1;--purple-soft:#eee9ff;--background:#f7fbff;--surface:#fff;--surface-soft:#f4f8ff;--text:#17214d;--text-soft:#66708f;--border:#dce7f5;--shadow-sm:0 4px 12px #27417814;--shadow-md:0 12px 28px #2741781f;--shadow-lg:0 20px 45px #27417829;--radius-sm:10px;--radius-md:16px;--radius-lg:24px;--radius-xl:32px}
*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:110px}body{margin:0;background:var(--background);color:var(--text);font:16px/1.65 'Trebuchet MS','Arial Rounded MT Bold',Arial,sans-serif}button,input,select,textarea{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}a{color:var(--primary-dark);text-decoration:none}a:hover{text-decoration:underline}button{cursor:pointer}button,a{touch-action:manipulation}button:disabled{opacity:.5;cursor:not-allowed}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,summary:focus-visible{outline:3px solid var(--primary);outline-offset:4px}h1,h2,h3,p{margin-top:0}h1,h2,h3{line-height:1.2;letter-spacing:-.035em}h2{font-size:30px}h3{font-size:19px}p{color:var(--text-soft)}.wrap{width:min(1120px,calc(100% - 48px));margin:auto}.skip{position:fixed;top:-60px;left:12px;z-index:100;background:white;padding:12px}.skip:focus{top:10px}.site-header{position:sticky;top:14px;z-index:20;margin:20px auto 0;display:flex;align-items:center;justify-content:space-between;padding:15px 22px;border-radius:20px;background:#ffffffed;box-shadow:var(--shadow-sm);border:1px solid #fff;gap:20px}.brand{display:flex;align-items:center;gap:10px;color:var(--text);font-size:15px;font-weight:bold;line-height:1.2}.brand small{display:block;font-size:11px;color:var(--text-soft);margin-top:4px;letter-spacing:.04em}.brand img{width:42px;height:42px}.nav{display:flex;gap:5px;align-items:center}.nav a{font-size:13px;font-weight:bold;color:var(--text-soft);padding:10px 12px;border-radius:10px}.nav a[aria-current=page]{background:var(--purple-soft);color:var(--primary-dark)}.icon-btn,.menu-toggle{border:1px solid var(--border);background:var(--surface-soft);border-radius:12px;min-width:42px;min-height:42px;color:var(--primary-dark)}.menu-toggle{display:none}.sky-world{position:absolute;inset:0 0 auto;height:890px;z-index:-1;overflow:hidden;background:linear-gradient(#b8eaff 0%,#e6f7ff 58%,#f7fbff 100%)}.cloud{position:absolute;background:white;border-radius:70px;width:145px;height:35px;opacity:.75;top:145px;left:2%}.cloud:before,.cloud:after{content:'';position:absolute;background:inherit;border-radius:50%;width:65px;height:65px;bottom:0;left:20px}.cloud:after{width:85px;height:85px;left:55px}.cloud.c2{left:auto;right:3%;top:190px;transform:scale(.8)}.cloud.c3{left:20%;top:270px;transform:scale(.45);opacity:.45}.hill{position:absolute;bottom:80px;left:-20%;width:65%;height:260px;border-radius:50% 60% 0 0;background:#d4edcf;transform:rotate(8deg)}.hill.h2{left:auto;right:-22%;height:310px;background:#c8e8ce;transform:rotate(-12deg)}.village{position:absolute;right:2%;bottom:200px;width:56px;height:65px;background:#fff3d4;border:5px solid #e6d3bb;border-radius:6px}.village:before{content:'';position:absolute;top:-37px;left:-15px;border-left:38px solid transparent;border-right:38px solid transparent;border-bottom:35px solid #a393e4}.village:after{content:'';position:absolute;width:18px;height:26px;background:#a2cfe4;left:14px;bottom:0;border-radius:9px 9px 0 0}.hero{text-align:center;padding:35px 0 23px;position:relative}.eyebrow{display:inline-flex;align-items:center;gap:7px;font-size:11px;letter-spacing:.12em;font-weight:bold;text-transform:uppercase;color:var(--primary-dark);background:#ffffffa8;padding:5px 13px;border-radius:30px;margin-bottom:13px}.hero h1{font-size:clamp(31px,4vw,48px);max-width:700px;margin:0 auto 13px;line-height:1.08;color:#30286a}.hero h1::first-line{color:var(--text)}.hero p{font-size:14px;max-width:580px;margin:0 auto}.hero .spark{position:absolute;color:#dca530;left:15%;top:60px;font-size:30px}.hero .spark.right{left:auto;right:14%;top:90px;color:var(--primary-light)}.calculator{background:white;border:1px solid white;border-radius:28px;padding:25px;box-shadow:var(--shadow-lg);position:relative}.calc-top{display:flex;align-items:center;justify-content:space-between;margin-bottom:18px}.calc-top h2{font-size:17px;margin:0;letter-spacing:-.02em}.small{font-size:12px;color:var(--text-soft)}.saved-dot:before{content:'●';color:#358348;margin-right:6px}.offers{display:grid;grid-template-columns:1fr 48px 1fr;align-items:center;gap:0}.offer{border:1px solid #e2ddfa;border-radius:19px;background:linear-gradient(#faf8ff,#fff);padding:18px;min-width:0}.offer.theirs{background:linear-gradient(#f1faff,#fff);border-color:#d4eaf9}.offer-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:14px}.offer h3{font-size:16px;margin:0;letter-spacing:0}.offer-heading small{font-size:11px;color:var(--text-soft)}.offer-icon{display:inline-grid;place-items:center;background:var(--purple-soft);border-radius:9px;width:29px;height:29px;margin-right:7px;color:var(--primary)}.theirs .offer-icon{background:var(--blue-light);color:#257cae}.slots{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;min-height:140px}.slot{position:relative;min-width:0;min-height:140px;border:1px solid var(--border);background:white;border-radius:13px;padding:8px 6px;text-align:center;font-size:11px;box-shadow:0 2px 4px #27417805}.slot img{height:68px;width:100%;object-fit:contain}.slot strong{display:block;font-size:12px;line-height:1.3}.slot .edit{border:0;background:transparent;color:var(--primary-dark);font-size:10px;padding:4px}.slot .remove{position:absolute;right:3px;top:1px;border:0;background:#fff;color:var(--text-soft);border-radius:50%;width:25px;height:25px}.slot .price{font-size:12px;font-weight:bold}.empty-slot{border:1.5px dashed #c8bbf6;background:#f4f0ff;color:var(--primary-dark);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:9px;box-shadow:none}.theirs .empty-slot{background:#eff9ff;border-color:#b5ddf3;color:#2778b0}.empty-slot span{font-size:29px;line-height:1}.empty-slot.ghost{opacity:.45;min-height:140px}.total{border-top:1px solid var(--border);margin-top:15px;padding-top:11px;display:flex;justify-content:space-between;font-size:12px;color:var(--text-soft)}.total strong{color:var(--primary-dark);font-size:20px;line-height:1.3}.theirs .total strong{color:#287bac}.vs{margin:auto;background:linear-gradient(130deg,var(--primary-light),var(--primary));width:37px;height:37px;border-radius:50%;display:grid;place-items:center;color:white;font-size:11px;font-weight:bold;box-shadow:0 4px 10px #6c55f530}.result{text-align:center;padding:19px 12px 3px}.result p{font-size:12px;margin:6px 0 0}.badge{display:inline-block;padding:5px 20px;border-radius:30px;font-size:13px;font-weight:bold;background:var(--yellow-light);color:var(--text)}.badge.win{background:var(--green-light);color:#226236}.badge.lose{background:var(--red-light);color:#9c2929}.result-stats{display:flex;justify-content:center;gap:35px;margin:12px 0;font-size:12px}.result-stats strong{display:block;font-size:17px}.actions{display:flex;justify-content:center;gap:9px;margin-top:17px;padding-top:17px;border-top:1px solid var(--border);flex-wrap:wrap}.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:42px;padding:10px 17px;border:1px solid var(--border);border-radius:11px;background:white;color:var(--text);font-size:12px;font-weight:bold;transition:transform .15s,box-shadow .15s}.btn:hover,.empty-slot:hover{transform:translateY(-2px);text-decoration:none;box-shadow:var(--shadow-sm)}.btn.primary{background:linear-gradient(130deg,#8169fa,var(--primary));border-color:var(--primary);color:white}.btn.soft{background:var(--purple-soft);color:var(--primary-dark);border-color:var(--purple-soft)}.btn.danger{color:#a53333}.data-note{text-align:center;font-size:11px;margin:13px 0 0;color:#636684}.decor-pet{position:absolute;width:125px;height:125px;pointer-events:none;z-index:-1;bottom:20px}.decor-pet.left{left:-97px;transform:rotate(-14deg)}.decor-pet.right{right:-97px;transform:rotate(12deg)}.features{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin-top:24px}.feature{display:flex;align-items:center;gap:12px;padding:18px 15px;background:#ffffffd9;border:1px solid #fff;border-radius:16px;box-shadow:var(--shadow-sm)}.feature .feature-icon{width:40px;height:40px;display:grid;place-items:center;border-radius:13px;background:var(--pink-light);color:#ac4779;font-size:20px;flex-shrink:0}.feature:nth-child(2) .feature-icon{background:var(--purple-soft);color:var(--primary)}.feature:nth-child(3) .feature-icon{background:var(--blue-light);color:#257cae}.feature:nth-child(4) .feature-icon{background:var(--yellow-light);color:#856510}.feature b{font-size:12px;display:block}.feature small{font-size:10px;color:var(--text-soft)}.section{margin-top:54px}.section-head{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:22px}.section-head h2{margin-bottom:5px;font-size:26px}.section-head p{font-size:12px;margin:0}.section-head>a{font-size:12px;font-weight:bold;white-space:nowrap}.pet-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:17px}.pet-card{background:white;border:1px solid var(--border);border-radius:18px;padding:13px;position:relative;transition:transform .18s;box-shadow:var(--shadow-sm);min-width:0}.pet-card:hover{transform:translateY(-4px)}.pet-art{background:linear-gradient(145deg,#f5f0ff,#edf7ff);border-radius:12px;display:grid;place-items:center;height:128px;margin-bottom:13px}.pet-card:nth-child(3n+2) .pet-art{background:linear-gradient(145deg,#e7f8ff,#eefbfb)}.pet-card:nth-child(3n) .pet-art{background:linear-gradient(145deg,#fff3df,#fff9ef)}.pet-art img{width:125px;height:115px;max-width:100%;object-fit:contain}.pet-card h3{font-size:15px;margin:0 0 6px;letter-spacing:-.02em}.rarity{display:inline-block;font-size:9px;font-weight:bold;border-radius:6px;background:var(--yellow-light);color:#785b10;padding:2px 7px}.rarity.common{background:#edf0f6;color:#596078}.rarity.uncommon{background:var(--green-light);color:#286b3d}.rarity.rare{background:var(--blue-light);color:#266b97}.rarity.ultra-rare{background:var(--purple-soft);color:var(--primary-dark)}.pet-meta{display:flex;justify-content:space-between;align-items:center;font-size:11px;margin-top:11px}.pet-meta b{font-size:18px}.pet-card .btn{width:100%;min-height:34px;padding:6px;margin-top:12px;font-size:10px;background:var(--surface-soft)}.trend{font-size:10px;color:#47705b}.favorite{position:absolute;right:19px;top:19px;background:#ffffffed;color:#69708e;border:0;border-radius:50%;width:30px;height:30px;font-size:19px;z-index:1}.favorite[aria-pressed=true]{color:#ba3972;background:var(--pink-light)}.split{display:grid;grid-template-columns:1fr 1fr;gap:22px}.box{background:white;padding:25px;border:1px solid var(--border);border-radius:22px;box-shadow:var(--shadow-sm)}.box h3{margin-bottom:12px}.box p{font-size:14px}.box.green{background:#effbf3}.box.pink{background:#fff2f6}.link-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:12px}.link-card{padding:20px;background:var(--purple-soft);border-radius:15px;font-weight:bold;font-size:13px}.guide-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:15px}.guide-card{padding:24px;background:#fff;border:1px solid var(--border);border-radius:18px}.guide-card h3{font-size:17px;margin:12px 0}.guide-card p{font-size:13px}.guide-card .number{color:var(--primary);font-size:11px;letter-spacing:.1em}.faq-list details{border:1px solid var(--border);border-radius:13px;background:white;margin-bottom:10px;padding:16px 20px}.faq-list summary{cursor:pointer;font-size:14px;font-weight:bold}.faq-list p{font-size:14px;padding-top:12px;margin-bottom:0}.site-footer{margin-top:65px;padding:45px 0 20px;background:linear-gradient(130deg,#eaf4ff,#efebff)}.footer-grid{display:grid;grid-template-columns:2fr repeat(4,1fr);gap:30px}.footer-grid h3{font-size:13px;letter-spacing:0}.footer-grid a{display:block;font-size:12px;color:var(--text-soft);margin-bottom:9px}.footer-grid .brand{font-size:14px;display:flex;color:var(--text)}.footer-grid p{font-size:12px;max-width:245px;margin-top:13px}.footer-bottom{margin-top:28px;padding-top:18px;border-top:1px solid #d9def1;display:flex;justify-content:space-between;gap:20px;font-size:10px;color:var(--text-soft)}.breadcrumb{display:flex;gap:9px;font-size:12px;margin:32px 0 20px;flex-wrap:wrap}.page-title{margin:30px 0}.page-title h1{font-size:38px;margin-bottom:12px}.page-title p{max-width:720px}.callout{background:var(--blue-light);border-radius:14px;padding:17px 20px;font-size:13px;margin:20px 0;color:var(--text)}.callout.yellow{background:var(--yellow-light)}.callout.pink{background:var(--pink-light)}.search-field{display:flex;align-items:center;gap:10px;background:white;border:1px solid var(--border);border-radius:14px;padding:0 16px;box-shadow:var(--shadow-sm)}.search-field input{border:0;background:transparent;width:100%;padding:15px 0;min-width:0;color:var(--text)}.filter-bar{display:flex;gap:10px;flex-wrap:wrap;margin:16px 0}.chip{border:1px solid var(--border);background:white;color:var(--text);padding:8px 15px;border-radius:30px;font-size:12px;min-height:40px}.chip[aria-pressed=true]{background:var(--primary);border-color:var(--primary);color:white}.filters{display:grid;grid-template-columns:repeat(5,1fr);gap:12px;align-items:end;margin:20px 0}.filters label,.field-label{display:block;font-size:12px;font-weight:bold}.filters select{width:100%;border:1px solid var(--border);padding:10px;border-radius:10px;background:white;color:var(--text);font-size:12px;margin-top:6px}.table-wrap{overflow:auto;border:1px solid var(--border);border-radius:19px;background:white}table{width:100%;border-collapse:collapse;font-size:13px}th{text-align:left;background:var(--surface-soft);color:var(--text-soft);font-size:11px}th,td{padding:14px 16px;border-bottom:1px solid var(--border)}tr:last-child td{border:0}tbody tr:nth-child(even){background:#fbfdff}.table-item{display:flex;align-items:center;gap:12px;font-weight:bold}.table-item img{width:48px;height:48px;object-fit:contain}.table-fav{position:static;flex-shrink:0}.empty-message{text-align:center;padding:40px;color:var(--text-soft)}.detail-hero{display:grid;grid-template-columns:260px 1fr;gap:35px;align-items:center}.detail-image{width:100%;height:240px;object-fit:contain;background:linear-gradient(135deg,var(--purple-soft),var(--blue-light));border-radius:20px}.detail-hero h1{font-size:37px;margin:12px 0}.detail-hero p{font-size:14px}.article{max-width:850px;margin:0 auto;padding:36px}.article h2{font-size:24px;margin-top:30px}.article p,.article li{font-size:15px;color:var(--text-soft)}.article .toc{padding:20px;background:var(--surface-soft);border-radius:14px}.toc a{display:block;font-size:14px;margin:6px 0}.timeline{border-left:3px solid var(--purple-soft);padding-left:24px}.timeline .box{margin:20px 0}.timeline time{color:var(--primary-dark);font-weight:bold;font-size:13px}dialog{border:0;border-radius:24px;padding:26px;width:min(740px,calc(100% - 28px));max-height:88dvh;color:var(--text);box-shadow:var(--shadow-lg)}dialog::backdrop{background:#395d8a77;backdrop-filter:blur(4px)}.modal-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:18px}.modal-head h2{font-size:24px;margin:0}.modal-head button{font-size:24px}.item-results{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;max-height:42vh;overflow:auto;padding:5px}.item-choice{background:var(--surface-soft);border:1px solid var(--border);border-radius:14px;padding:12px 6px;color:var(--text);font-size:12px}.item-choice img{display:block;width:100%;height:75px;object-fit:contain;margin-bottom:7px}.item-choice:hover{border-color:var(--primary)}.config-layout{display:grid;grid-template-columns:180px 1fr;gap:25px}.config-layout>img{width:180px;height:210px;object-fit:contain}.config-layout fieldset{border:0;padding:0;margin:0 0 18px}.config-layout legend{font-size:13px;font-weight:bold;margin-bottom:7px}.quantity{display:flex;gap:10px;align-items:center}.quantity input{width:64px;text-align:center;border:1px solid var(--border);border-radius:10px;padding:8px}.config-total{padding:15px;background:var(--purple-soft);border-radius:12px;margin:15px 0}.config-total strong{float:right}.toast{position:fixed;bottom:24px;left:50%;transform:translateX(-50%);background:var(--text);color:white;box-shadow:var(--shadow-md);padding:12px 22px;border-radius:13px;font-size:13px;z-index:100;max-width:90%;text-align:center}.toast:empty{display:none}textarea{width:100%;border:1px solid var(--border);border-radius:12px;padding:12px;min-height:120px;color:var(--text)}.contact-form label{display:block;font-weight:bold;font-size:13px;margin-top:15px}.contact-form input,.contact-form select{display:block;width:100%;padding:12px;border:1px solid var(--border);border-radius:12px;background:white}.hidden,[hidden]{display:none!important}body.modal-open{overflow:hidden}.pop{animation:pop .22s ease}@keyframes pop{from{transform:scale(.93);opacity:.6}to{transform:scale(1);opacity:1}}
@media(min-width:1400px){.decor-pet{width:150px;height:150px;bottom:30px}.decor-pet.left{left:-135px}.decor-pet.right{right:-135px}}@media(max-width:1000px){.nav a{padding:9px 7px;font-size:11px}.pet-grid{grid-template-columns:repeat(3,1fr)}.pet-grid .pet-card:nth-child(n+4){display:none}.directory-grid .pet-card:nth-child(n){display:block}.decor-pet{display:none}.feature{padding:13px 10px;gap:7px}.feature .feature-icon{width:32px;height:32px}.footer-grid{grid-template-columns:2fr 1fr 1fr}.guide-grid{grid-template-columns:repeat(2,1fr)}}@media(max-width:720px){.wrap{width:calc(100% - 28px)}.site-header{padding:12px 14px;top:8px;margin-top:12px;border-radius:17px}.brand{font-size:12px}.brand img{width:35px;height:35px}.brand small{font-size:10px}.menu-toggle{display:block}.nav{display:none;position:absolute;left:0;right:0;top:75px;flex-direction:column;align-items:stretch;background:white;padding:15px;border-radius:20px;box-shadow:var(--shadow-md)}.nav.open{display:flex}.nav a{padding:14px;font-size:14px}.nav .icon-btn{align-self:start}.hero{padding:28px 8px 22px}.hero h1{font-size:34px}.hero p{font-size:12px}.hero .spark{display:none}.eyebrow{font-size:9px}.calculator{padding:17px;border-radius:22px}.calc-top h2{font-size:14px}.calc-top .small{font-size:10px}.offers{grid-template-columns:1fr;gap:11px}.offer{padding:14px}.vs{width:30px;height:30px}.slots{min-height:120px}.slot,.empty-slot.ghost{min-height:120px}.offer-heading{margin-bottom:10px}.total{margin-top:12px}.result-stats{gap:23px}.actions{gap:7px}.actions .btn{flex:1 1 42%;font-size:11px}.features{grid-template-columns:1fr 1fr;gap:10px;margin-top:18px}.feature{padding:14px 10px}.section{margin-top:38px}.section-head h2{font-size:22px}.section-head>a{font-size:10px}.section-head p{font-size:11px}.pet-grid{grid-template-columns:1fr 1fr;gap:12px}.pet-grid .pet-card:nth-child(4){display:block}.pet-art{height:110px}.pet-card{padding:11px}.pet-card h3{font-size:14px}.pet-meta b{font-size:16px}.split,.guide-grid{grid-template-columns:1fr}.link-grid{grid-template-columns:1fr 1fr}.box{padding:21px}.footer-grid{grid-template-columns:1fr 1fr;gap:20px}.footer-grid>div:first-child{grid-column:1/-1}.footer-bottom{flex-direction:column;gap:5px}.page-title h1{font-size:30px}.filters{grid-template-columns:1fr 1fr}.detail-hero{grid-template-columns:1fr;gap:18px}.detail-image{height:200px}.detail-hero h1{font-size:29px}.article{padding:23px}.item-results{grid-template-columns:1fr 1fr}.config-layout{grid-template-columns:1fr;gap:5px}.config-layout>img{height:105px;width:100%}dialog{padding:20px}.config-layout .chip{padding:8px 12px}.directory-table thead{display:none}.directory-table,.directory-table tbody{display:block}.directory-table tr{display:grid;grid-template-columns:1fr 1fr;padding:12px;border-bottom:1px solid var(--border)}.directory-table td{display:flex;gap:8px;padding:6px;border:0;align-items:center}.directory-table td:first-child{grid-column:1/-1}.directory-table td[data-label]:before{content:attr(data-label) ': ';font-size:11px;color:var(--text-soft)}.sky-world{height:1150px}.hill{bottom:0}.village{bottom:70px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}

/* Keep edge scenery decorative without creating horizontal scroll. */
body{overflow-x:clip}.hero h1{font-size:clamp(30px,3.7vw,45px);max-width:900px}.hero h1 span{display:block;font-size:.82em;line-height:1.35}.hero{padding-top:28px}.decor-pet{z-index:0}.calculator>.decor-pet{opacity:.95}.favorite{width:36px;height:36px}.slot .remove{width:30px;height:30px}.slot .edit{min-height:32px}.village{right:1%}.table-wrap th,.table-wrap td{white-space:normal}@media(max-width:1399px){.decor-pet{display:none}}@media(max-width:720px){.hero h1{font-size:30px}.hero h1 span{font-size:.85em}.config-layout .chip{margin-bottom:5px}.table-item{gap:8px}.favorite{width:36px;height:36px}}

/* ===== Readability, result badges, trends and history (appended) ===== */
.hero h1{text-wrap:balance}
.hero p,.result p,.section-head p,.footer-grid p,.footer-grid a,.total,.result-stats{font-size:14px}
.small,.breadcrumb,.data-note,.pet-meta,.slot strong,.slot .price,.item-choice,.filters label,.field-label,.filters select,.offer-heading small,.calc-top .small,.feature b,.section-head>a,.chip,.btn,.actions .btn,.brand{font-size:13px}
.feature small,.brand small,.eyebrow,.footer-bottom,.guide-card .number,.slot .edit,.pet-card .btn,.trend,th,.directory-table td[data-label]:before,.vs{font-size:12px}
.rarity{font-size:12px;padding:3px 8px}
.trend{color:#3d6650}
.slot{font-size:12px}
@media(max-width:720px){.hero p{font-size:14px}.eyebrow{font-size:12px}}
.chip,.btn,.icon-btn,.menu-toggle,.slot .edit,.slot .remove{min-height:40px}
.slot .remove{min-width:32px;min-height:32px}
.slot .edit{min-height:32px}
.result .result-badge{font-size:18px;padding:9px 28px;letter-spacing:.04em;box-shadow:var(--shadow-sm)}
.result-badge.fair{background:var(--yellow);color:var(--text)}
.result-badge.win{background:#1b7a43;color:#fff}
.result-badge.big-win{background:#0b7d74;color:#fff}
.result-badge.lose{background:#c2385a;color:#fff}
.result-badge.big-lose{background:#b42323;color:#fff}
.trend-tag{display:inline-block;font-weight:bold;font-size:12px;padding:3px 9px;border-radius:20px;background:var(--surface-soft);color:var(--text-soft)}
.trend-tag.up{background:var(--green-light);color:#1f6b3b}
.trend-tag.down{background:var(--red-light);color:#9c2929}
.trend-tag.flat{background:var(--blue-light);color:#1f5f86}
.trend-list{list-style:none;margin:0 0 14px;padding:0;display:grid;gap:10px}
.trend-card{display:flex;align-items:center;gap:12px;padding:10px 12px;border-radius:var(--radius-md);background:var(--surface);border:1px solid var(--border);box-shadow:var(--shadow-sm)}
.trend-card strong{display:block}
.trend-card.up{border-left:5px solid var(--green)}
.trend-card.down{border-left:5px solid var(--red)}
.history-list{display:grid;gap:0}
.update-card h2{font-size:18px;margin:0 0 4px}
.update-card.up{border-left:5px solid var(--green)}
.update-card.down{border-left:5px solid var(--red)}
.eyebrow{font-size:12px}
.faq-list summary,details>summary{min-height:44px;display:flex;align-items:center;padding-top:10px;padding-bottom:10px}
.footer-grid a{display:flex;align-items:center;min-height:36px}
.section-head>a,.box a:not(.btn),.link-card{display:inline-flex;align-items:center;min-height:36px}
.directory-table td a{display:inline-flex;align-items:center;min-height:36px}
#favorites-only{width:20px;height:20px;vertical-align:middle;accent-color:var(--primary)}
label.small:has(#favorites-only){display:inline-flex;align-items:center;gap:6px;min-height:40px;cursor:pointer}
#favorites-only{flex:none}
@media(max-width:720px){.directory-table caption{display:block;width:100%;text-align:left;padding:12px 14px}}
.toc strong{display:block;margin-bottom:4px}.box .toc a,.toc a{display:flex;align-items:center;min-height:32px;margin:2px 0}

/* ===== Classic & Friendly game-world scenery (appended) ===== */
body{background:var(--background) url(../images/backgrounds/sky-soft.svg) center top/max(1600px,100%) auto no-repeat}
.sky-world{height:1060px;background:url(../images/backgrounds/world.svg) center bottom/cover no-repeat,linear-gradient(#9fdcff,#eefaff)}
.sky-world::after{content:'';position:absolute;left:0;right:0;bottom:0;height:170px;background:linear-gradient(rgba(247,251,255,0),var(--background))}
.cloud{animation:drift 38s ease-in-out infinite alternate}
.cloud.c2{animation-duration:46s}.cloud.c3{animation-duration:30s}
@keyframes drift{from{translate:0 0}to{translate:60px 0}}
.hero h1{max-width:11.5em;margin-left:auto;margin-right:auto}
.hero p{color:#3f4a72}
.decor-pet{display:none;position:absolute;pointer-events:none;height:auto;z-index:2;filter:drop-shadow(0 10px 14px rgba(39,65,120,.14))}
@media(min-width:1000px){.decor-pet{display:block;width:120px;bottom:-26px;transform:none}.decor-pet.left{left:-22px}.decor-pet.right{right:-22px}}
@media(min-width:1320px){.decor-pet{width:190px;bottom:-34px}.decor-pet.left{left:-150px}.decor-pet.right{right:-150px}}
@media(prefers-reduced-motion:reduce){.cloud{animation:none}}

/* ===== Layout fixes: solid header, symmetric panels, edge scenery, mascots ===== */
.site-header{background:#fff;border-color:var(--border);box-shadow:0 8px 24px rgba(39,65,120,.12)}
.offer{display:flex;flex-direction:column}
.slots{grid-auto-rows:minmax(150px,auto);align-content:start;flex:1}
.slot,.empty-slot.ghost{min-height:0;height:100%}
.slot{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px}
.slot img{height:60px}
.total{margin-top:auto;padding-top:12px}
.offers>.offer{margin-bottom:0}
@media(min-width:721px){.offers{align-items:stretch}.vs{align-self:center}.offers .offer .slots{margin-bottom:15px}}
.sky-world{background:
  url(../images/backgrounds/scene-left.svg) left -24px bottom 150px/clamp(250px,23vw,400px) auto no-repeat,
  url(../images/backgrounds/scene-right.svg) right -24px bottom 150px/clamp(250px,23vw,400px) auto no-repeat,
  url(../images/backgrounds/world.svg) center bottom/cover no-repeat,
  linear-gradient(#9fdcff,#eefaff)}
@media(max-width:720px){.sky-world{background:url(../images/backgrounds/world.svg) center bottom/cover no-repeat,linear-gradient(#9fdcff,#eefaff)}}
.calculator{--gutter:calc((100vw - 1120px)/2)}
@media(min-width:1000px){.decor-pet{width:110px;top:auto;bottom:-24px}.decor-pet.left{left:-18px}.decor-pet.right{right:-18px}}
@media(min-width:1400px){.decor-pet{width:min(185px,calc(var(--gutter) - 24px));top:120px;bottom:auto}.decor-pet.left{left:auto;right:calc(100% + 8px)}.decor-pet.right{right:auto;left:calc(100% + 8px)}}
@media(max-width:480px){.slots{grid-template-columns:repeat(2,minmax(0,1fr));grid-auto-rows:minmax(140px,auto)}.slot img{height:52px}}
@media(max-width:480px){.empty-slot.ghost{display:none}}

/* ===== Trade-window layout: 3x3 slot grids + central TRADE control ===== */
.offers{grid-template-columns:1fr 108px 1fr}
.offer{background:linear-gradient(#f6f2ff,#fbf9ff);border:2px solid #d9cdfb;border-radius:22px;padding:14px}
.offer.theirs{background:linear-gradient(#f1f8ff,#fbfdff);border-color:#c3e0f6}
.offer-heading{align-items:center;gap:8px;margin-bottom:10px}
.offer h3{font-size:15px;color:var(--primary-dark)}
.theirs .offer-heading h3{color:#1d6fa0}
.slots{grid-template-columns:repeat(3,minmax(0,1fr));grid-auto-rows:1fr;gap:9px;min-height:0}
.slot{aspect-ratio:1/1;height:auto;min-height:0;border-radius:14px;border:2px solid #ded3fb;background:#fff;padding:6px 4px}
.theirs .slot{border-color:#cfe6f8}
.slot img{height:clamp(38px,4.6vw,56px)}
.slot strong{font-size:12px}
.empty-slot{border:2px dashed #cbbcf7;background:#efe9ff}
.theirs .empty-slot{background:#e8f4ff;border-color:#b6dcf5}
.empty-slot.ghost{opacity:1;color:#b6a5ee;gap:0}
.theirs .empty-slot.ghost{color:#8fc3e6}
.empty-slot.ghost b{display:none}
.empty-slot.ghost span{font-size:24px}
.empty-slot.add{background:linear-gradient(#63d98a,#3fbf6d);border:2px solid #34a75e;color:#fff;box-shadow:0 4px 0 #2f9152}
.empty-slot.add:hover{background:linear-gradient(#6fe295,#46c976);box-shadow:0 5px 0 #2f9152}
.empty-slot.add span{font-size:30px;text-shadow:0 2px 0 rgba(0,0,0,.12)}
.empty-slot.add b{font-size:12px}
.trade-mid{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;align-self:center}
.trade-word{font-weight:bold;font-size:13px;letter-spacing:.14em;color:var(--primary-dark)}
.trade-swap{width:62px;height:62px;border-radius:50%;border:3px solid #fff;cursor:pointer;display:grid;place-items:center;color:#fff;background:linear-gradient(145deg,var(--primary-light),var(--primary));box-shadow:0 6px 16px rgba(108,85,245,.35)}
.trade-swap:hover{transform:translateY(-2px)}
.trade-swap:active{transform:translateY(1px)}
.total{border-top-color:#e4dbfb}
.theirs .total{border-top-color:#d5e9f8}
@media(max-width:720px){
 .offers{grid-template-columns:1fr}
 .trade-mid{flex-direction:row;gap:12px;margin:2px 0}
 .trade-swap{width:52px;height:52px}
}
@media(max-width:480px){.slots{grid-template-columns:repeat(3,minmax(0,1fr));grid-auto-rows:1fr}.slot{padding:4px 2px}.slot strong{font-size:11px}.slot .edit{font-size:11px}.empty-slot.ghost{display:flex}}
@media(max-width:600px){
 .slots{grid-auto-rows:minmax(122px,auto)}
 .slot{aspect-ratio:auto;min-height:122px;overflow:hidden}
 .slot img{height:40px}
 .slot strong{font-size:11px}
 .slot .edit{font-size:10px;padding:2px;line-height:1.25}
 .slot .price{font-size:12px}
 .empty-slot.add b{font-size:11px}
}
