/* RagdollCats.online Studio 4.0 - responsive, distinctive themes, accessible design explorer */
:root{--v4-ink:#243c33;--v4-cream:#fbf7f0;--v4-sage:#728971;--v4-blue:#436f82}
.brand.brand-v4{display:flex;align-items:center;min-width:0;line-height:1}.brand-v4 img{width:clamp(164px,19vw,230px);height:auto;max-height:60px;object-fit:contain;object-position:left center}.footer-brand img{width:220px;max-height:90px}
.theme-intro{padding-bottom:24px}.theme-intro h1{max-width:960px}.theme-intro .actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:23px}
#design-lab{scroll-margin-top:110px}.theme-lab-header{display:flex;justify-content:space-between;align-items:flex-end;gap:24px;margin-bottom:18px}.theme-lab-header h2{font-size:clamp(1.8rem,3vw,2.7rem);margin:6px 0}.theme-lab-header p{margin:4px 0;color:#5e7066;max-width:680px}
.device-buttons{border:1px solid #d7e0d7;background:#fff;border-radius:15px;padding:5px;display:flex;gap:3px;flex-shrink:0}.device-buttons button{border:0;border-radius:10px;background:transparent;color:#53675b;font-size:.86rem;min-height:44px;padding:0 13px;cursor:pointer}.device-buttons button.selected{background:#315d4d;color:white;font-weight:750}
.theme-lab-grid{display:grid;grid-template-columns:minmax(250px,318px) minmax(0,1fr);gap:20px;align-items:start}.theme-lab-controls{background:#fff;border:1px solid #dce5dd;border-radius:24px;padding:22px;box-shadow:0 20px 65px #253a3010;min-width:0}.theme-lab-controls>label{display:block;font-weight:750;margin:18px 0 7px;color:#2c4b3b;font-size:.94rem}.theme-lab-controls>label:first-child{margin-top:0}.theme-lab-controls select,.theme-lab-controls input[type=text]{background:#fafbf8;width:100%;min-height:49px;padding:11px;border:1px solid #d8e2d7;border-radius:10px;color:#243c32}.theme-lab-controls select{cursor:pointer}.theme-lab-controls p{margin:18px 0 0}.theme-divider{border-bottom:1px solid #e7eee7;margin:18px 0 2px}.live-color{display:flex;align-items:center;gap:14px}.live-color input{width:55px;height:47px;border:1px solid #d8e2d7;background:white;padding:3px;border-radius:10px;cursor:pointer}.live-color button{background:none;border:0;text-align:left;cursor:pointer;min-height:44px;color:#285946;font-weight:700;font-size:.9rem}
.theme-quick-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:7px;max-height:273px;overflow:auto;margin-top:12px;padding:3px}.theme-quick-btn{border:1px solid #dbe4da;background:#fff;border-radius:10px;padding:5px 3px 7px;min-width:0;cursor:pointer;color:#304438}.theme-quick-btn[aria-pressed=true]{outline:2px solid #426d56;outline-offset:0;background:#f5f9f4}.theme-quick-btn small{font-size:.56rem;display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.quick-drawing{position:relative;display:block;width:100%;aspect-ratio:1.3;background:var(--tp-bg,#f1e9db);border-radius:5px;overflow:hidden}.quick-drawing i{position:absolute;left:9%;top:19%;width:30%;height:8%;background:var(--tp-ink,#4a6451);opacity:.75}.quick-drawing b{position:absolute;right:9%;top:14%;width:43%;height:72%;border-radius:30% 30% 8% 8%;background:url('img/hero-family.webp') center/cover}.quick-drawing em{position:absolute;left:9%;top:37%;height:22%;width:32%;border-top:4px solid var(--tp-ink,#4a6451);border-bottom:4px solid var(--tp-ink,#4a6451);opacity:.35}
.theme-lab-workspace{min-width:0;border:1px solid #dbe3dd;background:linear-gradient(145deg,#eff3ee,#fdfaf5);border-radius:24px;padding:15px;box-shadow:0 28px 85px #243a3011}.browser-bar{display:flex;align-items:center;gap:12px;margin:0 auto 12px;max-width:100%;color:#66756a;font-size:.75rem}.browser-dots{letter-spacing:2px;color:#a3b3a7}.browser-url{flex:1;text-align:center;border:1px solid #e0e8df;border-radius:10px;background:white;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding:7px}.browser-device{white-space:nowrap}.theme-preview-viewport{min-height:540px;display:flex;justify-content:center;align-items:flex-start;overflow:hidden;padding:6px 0 16px}.v4-preview{--cat-bg:#e7efe5;--cat-ink:#293c32;--cat-accent:var(--preview-accent,#486856);width:100%;max-width:100%;color:var(--cat-ink);background:#fff;min-width:0;overflow:hidden;border:1px solid #dbe2d9;border-radius:14px;box-shadow:0 13px 35px #1d362b17;transition:max-width .22s ease}.v4-preview *{box-sizing:border-box}.v4-preview-nav{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:13px 20px;min-height:55px;background:#fff}.v4-preview-brand{font-size:clamp(.82rem,1.3vw,1rem);display:flex;align-items:center;min-width:0}.v4-preview-brand strong{white-space:nowrap;text-overflow:ellipsis;overflow:hidden;max-width:255px}.v4-brand-symbol{display:inline-grid;place-items:center;color:var(--cat-accent);font-size:1.3rem;margin-right:9px}.v4-preview-links{font-size:.66rem;white-space:nowrap;color:#5f6c62}.v4-preview-menu{display:none;font-size:1.2rem}.v4-preview-hero{display:grid;grid-template-columns:1fr 1fr;min-height:345px;align-items:stretch;background:var(--cat-bg)}.v4-preview-words{padding:clamp(18px,3vw,45px);align-self:center;min-width:0;position:relative;z-index:1}.v4-eyebrow{font-size:.62rem;letter-spacing:.16em;font-weight:850;color:var(--cat-accent)}.v4-preview-words h3{font:normal clamp(1.45rem,3.2vw,3.55rem)/1.04 Georgia,'Times New Roman',serif;letter-spacing:-.04em;margin:16px 0;color:var(--cat-ink)}.v4-preview-words h3 em{font-weight:400}.v4-preview-words p{font-size:clamp(.68rem,1vw,.9rem);line-height:1.65;max-width:400px;color:var(--cat-ink);opacity:.83}.v4-preview-cta{display:inline-flex;border-radius:100px;padding:11px 17px;background:var(--cat-accent);color:white;font-size:.71rem;font-weight:750;margin-top:12px}.v4-preview-secondary{margin-left:10px;color:var(--cat-accent);font-size:.75rem;font-weight:700}.v4-preview-photo{height:100%;overflow:hidden;min-height:330px}.v4-preview-photo img{width:100%;height:100%;object-fit:cover;object-position:43% center}.v4-preview-under{display:flex;justify-content:center;background:#fff;gap:35px;padding:18px 14px}.v4-preview-under div{display:flex;align-items:center;gap:7px;font-size:.7rem}.v4-preview-under span{font-size:1.05rem;color:var(--cat-accent)}.v4-preview-listings{padding:22px 25px;background:#fffdfa;display:flex;align-items:center;justify-content:space-between;gap:14px}.v4-preview-listings small{color:var(--cat-accent);font-size:.56rem;font-weight:800;letter-spacing:.15em}.v4-preview-listings h4{font-family:Georgia,serif;font-size:1.35rem;line-height:1.2;margin:5px 0}.v4-preview-cats{display:grid;grid-template-columns:repeat(3,1fr);gap:9px;max-width:48%}.v4-preview-cats img{height:76px;width:100%;object-fit:cover;border-radius:10px}.theme-lab-actions{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:15px;padding:12px 2px 3px}.theme-lab-actions strong{display:block;font-family:Georgia,serif;font-size:1.35rem;color:#2f5140}.theme-lab-actions small{display:block;color:#67766b}.theme-lab-actions .button{min-height:52px}
.theme-preview-viewport[data-device-mode=tablet] .v4-preview{max-width:600px}.theme-preview-viewport[data-device-mode=mobile] .v4-preview{max-width:352px}.theme-preview-viewport[data-device-mode=mobile] .v4-preview-nav,.theme-preview-viewport[data-device-mode=tablet] .v4-preview-nav{padding:10px 12px}.theme-preview-viewport[data-device-mode=mobile] .v4-preview-links{display:none}.theme-preview-viewport[data-device-mode=mobile] .v4-preview-menu{display:block}.theme-preview-viewport[data-device-mode=mobile] .v4-preview-hero{display:flex;flex-direction:column-reverse}.theme-preview-viewport[data-device-mode=mobile] .v4-preview-photo{height:190px;min-height:190px}.theme-preview-viewport[data-device-mode=mobile] .v4-preview-words{padding:20px}.theme-preview-viewport[data-device-mode=mobile] .v4-preview-words h3{font-size:1.85rem}.theme-preview-viewport[data-device-mode=mobile] .v4-preview-words p{font-size:.8rem}.theme-preview-viewport[data-device-mode=mobile] .v4-preview-under{gap:10px;justify-content:space-around}.theme-preview-viewport[data-device-mode=mobile] .v4-preview-under div{display:flex;flex-direction:column;text-align:center;font-size:.56rem}.theme-preview-viewport[data-device-mode=mobile] .v4-preview-listings{display:block}.theme-preview-viewport[data-device-mode=mobile] .v4-preview-cats{max-width:100%;margin-top:12px}.theme-preview-viewport[data-device-mode=mobile] .v4-preview-cats img{height:85px}
/* Genuine distinct layouts, shared between actual cattery sites and the live visualizer */
.cattery.hero-magazine .cattery-hero-grid,.v4-preview.hero-magazine .v4-preview-hero{grid-template-columns:.72fr 1.28fr;align-items:stretch}.cattery.hero-magazine .cattery-hero{background:#fff;padding:0}.cattery.hero-magazine .cattery-hero-grid{width:100%;max-width:1450px;gap:0}.cattery.hero-magazine .cattery-hero-grid>div:first-child,.v4-preview.hero-magazine .v4-preview-words{background:var(--cat-bg);padding:clamp(35px,5vw,75px)}.cattery.hero-magazine .cattery-picture{height:610px;border-radius:0}.v4-preview.hero-magazine .v4-preview-photo{min-height:420px}.cattery.hero-magazine .cattery-hero h1,.v4-preview.hero-magazine h3{font-style:italic}.v4-preview.hero-magazine .v4-preview-photo img{object-position:36% center}
.cattery.hero-portrait .cattery-hero-grid,.v4-preview.hero-portrait .v4-preview-hero{grid-template-columns:.78fr 1.22fr;gap:25px}.cattery.hero-portrait .cattery-picture,.v4-preview.hero-portrait .v4-preview-photo{border-radius:46% 46% 6px 6px;max-width:590px}.cattery.hero-portrait .cattery-picture{height:520px;order:-1}.v4-preview.hero-portrait .v4-preview-photo{order:-1;min-height:360px;margin:20px 0 20px 25px}.cattery.hero-portrait .cattery-hero h1,.v4-preview.hero-portrait h3{font-family:Georgia,serif;font-weight:400}.cattery.hero-portrait .cattery-hero-grid>div:first-child{padding:30px 0}
.cattery.hero-gallery .cattery-hero-grid,.v4-preview.hero-gallery .v4-preview-hero{grid-template-columns:1fr;gap:0}.cattery.hero-gallery .cattery-hero{padding:35px 0;background:#fff}.cattery.hero-gallery .cattery-hero-grid>div:first-child,.v4-preview.hero-gallery .v4-preview-words{order:2;text-align:center;max-width:860px;width:100%;margin:auto}.cattery.hero-gallery .cattery-picture{height:460px;order:1;width:100%;max-width:none;border-radius:18px}.v4-preview.hero-gallery .v4-preview-photo{order:1;min-height:290px;max-height:335px}.v4-preview.hero-gallery .v4-preview-words{padding:25px 20px;background:#fff}.v4-preview.hero-gallery h3{font-size:2.45rem}.cattery.hero-gallery .cattery-intro{margin:auto}.cattery.hero-gallery .hero-actions{justify-content:center}
.cattery.hero-banner .cattery-hero,.v4-preview.hero-banner .v4-preview-hero{background:#25392f}.cattery.hero-banner .cattery-hero-grid,.v4-preview.hero-banner .v4-preview-hero{grid-template-columns:1fr;position:relative;isolation:isolate;min-height:480px;align-items:center}.cattery.hero-banner .cattery-picture,.v4-preview.hero-banner .v4-preview-photo{position:absolute;inset:0;z-index:-1;height:100%;width:100%;max-width:none;border-radius:0}.cattery.hero-banner .cattery-picture:after,.v4-preview.hero-banner .v4-preview-photo:after{content:'';position:absolute;inset:0;background:linear-gradient(90deg,rgba(17,31,29,.83),rgba(17,31,29,.28))}.cattery.hero-banner .cattery-picture img,.v4-preview.hero-banner .v4-preview-photo img{width:100%;height:100%;object-fit:cover}.cattery.hero-banner .cattery-hero-grid>div:first-child,.v4-preview.hero-banner .v4-preview-words{max-width:750px;padding:clamp(24px,6vw,84px);color:#fff}.cattery.hero-banner .cattery-hero h1,.cattery.hero-banner .cattery-eyebrow,.cattery.hero-banner .cattery-loc,.cattery.hero-banner .cattery-intro,.v4-preview.hero-banner h3,.v4-preview.hero-banner p,.v4-preview.hero-banner .v4-eyebrow{color:white}.cattery.hero-banner .cattery-hero .button-outline{border-color:white;color:white}.v4-preview.hero-banner .v4-preview-cta{background:#fff;color:#254d41}.v4-preview.hero-banner .v4-preview-secondary{color:#fff}
.v4-preview.hero-full .v4-preview-hero,.v4-preview.hero-center .v4-preview-hero,.v4-preview.hero-overlap .v4-preview-hero{grid-template-columns:1fr}.v4-preview.hero-full .v4-preview-hero{display:flex;flex-direction:column}.v4-preview.hero-full .v4-preview-photo{order:-1;min-height:230px;max-height:260px}.v4-preview.hero-full .v4-preview-words,.v4-preview.hero-center .v4-preview-words{text-align:center;max-width:700px;margin:auto}.v4-preview.hero-center .v4-preview-photo{min-height:240px;max-height:255px;border-radius:170px 170px 10px 10px;width:65%;margin:0 auto 20px}.v4-preview.hero-overlap .v4-preview-hero{grid-template-columns:1fr 1fr;position:relative}.v4-preview.hero-overlap .v4-preview-words{padding:22px;background:#fffdf8;border-radius:18px;margin:18px -30px 18px 16px;box-shadow:0 8px 40px #26373017}.v4-preview.hero-overlap .v4-preview-photo{min-height:340px}
.v4-preview.font-modern h3,.v4-preview.font-geometric h3{font-family:Arial,system-ui,sans-serif;font-weight:800}.v4-preview.font-friendly h3{font-family:'Trebuchet MS',system-ui,sans-serif;font-weight:700}.v4-preview.font-editorial h3{font-family:Palatino,Georgia,serif;font-weight:400;font-style:italic}
.cattery.hero-magazine .cat-grid,.cattery.hero-gallery .cat-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.cattery.hero-magazine .cat-image{height:260px}.cattery.hero-banner .cattery-subnav{background:#f9faf6}
.v4-theme-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin:30px 0}.v4-theme-card{text-align:left;border:1px solid #dee6df;background:white;padding:11px 11px 16px;border-radius:18px;cursor:pointer;box-shadow:0 7px 24px #20372908;min-width:0;transition:transform .2s,box-shadow .2s}.v4-theme-card:hover{transform:translateY(-4px);box-shadow:0 13px 35px #20372918}.v4-theme-card strong{display:block;font-size:1.03rem;color:#2d4637;margin:10px 4px 4px}.v4-theme-card>span:last-child{display:block;font-size:.75rem;color:#64746b;margin:0 4px}.v4-theme-card-art{position:relative;display:block;border-radius:10px;background:var(--tp-bg,#eaf0e8);height:145px;overflow:hidden}.v4-card-menu{position:absolute;top:8px;left:8px;right:8px;height:9px;display:flex;justify-content:space-between}.v4-card-menu i{height:4px;width:26px;background:var(--tp-ink,#486856);opacity:.3;border-radius:3px}.v4-card-pic{position:absolute;right:5%;top:20%;width:46%;height:72%;background:url('img/hero-family.webp') center/cover;border-radius:10px}.v4-card-lines{position:absolute;left:8%;top:35%;width:39%;display:grid;gap:9px}.v4-card-lines i{display:block;background:var(--tp-ink,#486856);opacity:.6;height:5px;border-radius:3px}.v4-card-lines i:nth-child(2){width:75%;opacity:.35}.v4-card-lines i:nth-child(3){width:55%;opacity:.35}
.v4-theme-card:nth-child(4n+2) .v4-card-pic{right:auto;left:6%;width:36%;height:78%;border-radius:40% 40% 5px 5px}.v4-theme-card:nth-child(4n+2) .v4-card-lines{left:auto;right:7%;width:39%}.v4-theme-card:nth-child(4n+3) .v4-card-pic{inset:17% 4% auto;width:92%;height:48%;border-radius:6px}.v4-theme-card:nth-child(4n+3) .v4-card-lines{top:72%;left:19%;width:62%}.v4-theme-card:nth-child(4n+4) .v4-card-pic{inset:18% 5% 8%;width:90%;height:74%;filter:brightness(.65);border-radius:5px}.v4-theme-card:nth-child(4n+4) .v4-card-lines{left:17%;top:45%;z-index:1}.v4-theme-card:nth-child(4n+4) .v4-card-lines i{background:white;opacity:.9}
/* Inline site editor preview for instant feedback before saving. */
.studio-inline-preview{border:1px solid #dce5db;padding:20px;border-radius:18px;background:var(--cat-bg);margin:16px 0;display:grid;grid-template-columns:1fr 160px;gap:12px;min-height:148px;overflow:hidden}.studio-inline-preview.hero-banner{background:linear-gradient(90deg,#263d35dc,#263d3528),url('img/hero-family.webp') center/cover;color:#fff}.studio-inline-preview.hero-gallery,.studio-inline-preview.hero-full,.studio-inline-preview.hero-center{grid-template-columns:1fr;text-align:center}.studio-inline-preview.hero-gallery img,.studio-inline-preview.hero-full img,.studio-inline-preview.hero-center img{max-height:170px;width:100%;object-fit:cover;border-radius:11px}.studio-inline-preview.hero-banner img{display:none}.studio-inline-preview.hero-portrait img{border-radius:48% 48% 9px 9px}.studio-inline-preview h3{font-size:clamp(1.35rem,2vw,2rem);font-family:Georgia,serif;color:inherit;margin:6px 0}.studio-inline-preview small{display:block;font-size:.68rem;letter-spacing:.13em;color:var(--cat-accent);font-weight:800}.studio-inline-preview img{width:100%;height:115px;object-fit:cover;border-radius:12px}
/* Prevent browser overflow for narrow mobile devices. */
.theme-lab-grid>*,.theme-lab-workspace>*,.theme-lab-controls>*{min-width:0}.theme-lab-controls .theme-quick-grid{min-width:0}input,select,textarea{font-size:max(16px,1rem)}.topbar,.nav-inner{max-width:100%}
@media(max-width:1100px){.theme-lab-grid{grid-template-columns:265px minmax(0,1fr)}.v4-theme-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.theme-lab-header{align-items:flex-start;flex-wrap:wrap}.theme-preview-viewport .v4-preview-hero{min-height:330px}.v4-preview-words{padding:24px}.v4-preview-words h3{font-size:clamp(1.7rem,3vw,2.5rem)}}
@media(max-width:820px){.theme-lab-grid{grid-template-columns:1fr}.theme-lab-controls{order:2}.theme-lab-workspace{order:1}.theme-quick-grid{grid-template-columns:repeat(5,minmax(0,1fr));max-height:none}.v4-theme-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.cattery.hero-magazine .cattery-hero-grid,.cattery.hero-portrait .cattery-hero-grid,.cattery.hero-gallery .cattery-hero-grid{grid-template-columns:1fr}.cattery.hero-magazine .cattery-picture,.cattery.hero-portrait .cattery-picture,.cattery.hero-gallery .cattery-picture{height:clamp(240px,48vw,460px);order:-1;max-width:100%;margin:0}.cattery.hero-portrait .cattery-picture{width:78%;margin-inline:auto}.cattery.hero-magazine .cattery-hero-grid>div:first-child{padding:27px}.cattery.hero-magazine .cat-grid,.cattery.hero-gallery .cat-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:560px){.theme-lab-header{gap:12px}.device-buttons{width:100%;justify-content:space-between}.device-buttons button{flex:1}.theme-lab-workspace{padding:9px}.browser-device{display:none}.v4-preview-hero{display:flex!important;flex-direction:column-reverse!important}.v4-preview-photo{position:relative!important;min-height:190px!important;max-height:210px!important;width:100%!important;order:0!important;margin:0!important;border-radius:0!important}.v4-preview-words{order:1!important;margin:0!important;padding:22px!important;max-width:none!important;text-align:left!important;border-radius:0!important;box-shadow:none!important;color:var(--cat-ink)}.v4-preview-words h3{font-size:1.9rem!important;color:inherit}.v4-preview.hero-banner .v4-preview-words{color:#fff;background:#273b31}.v4-preview.hero-banner .v4-preview-photo img{filter:brightness(.75)}.v4-preview-nav{padding:10px 14px}.v4-preview-links{display:none}.v4-preview-menu{display:block}.v4-preview-listings{padding:15px;display:block}.v4-preview-cats{margin-top:15px;max-width:none}.v4-preview-cats img{height:85px}.v4-preview-under{gap:10px}.v4-preview-under strong{font-size:.6rem}.v4-preview-words p{font-size:.8rem}.theme-quick-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.v4-theme-grid{gap:9px}.v4-theme-card{padding:7px 7px 12px}.v4-theme-card-art{height:112px}.v4-theme-card strong{font-size:.86rem}.v4-theme-card>span:last-child{font-size:.65rem}.theme-lab-actions .button{width:100%;text-align:center}.studio-inline-preview{grid-template-columns:1fr}.studio-inline-preview img{max-width:100%;height:125px}.cattery.hero-banner .cattery-hero-grid{min-height:auto;display:flex;flex-direction:column}.cattery.hero-banner .cattery-picture{position:relative;z-index:0;height:270px}.cattery.hero-banner .cattery-picture:after{display:none}.cattery.hero-banner .cattery-hero-grid>div:first-child{padding:30px 0}.cattery.hero-banner .cattery-hero h1,.cattery.hero-banner .cattery-eyebrow,.cattery.hero-banner .cattery-loc,.cattery.hero-banner .cattery-intro{color:white}}
@media(prefers-reduced-motion:reduce){.v4-theme-card,.v4-preview{transition:none}.v4-theme-card:hover{transform:none}}
