:root{--ink:#243c39;--muted:#6e8580;--mint:#dff5e9;--green:#247d67;--cream:#fbfaf5;--line:#e6ece6;--peach:#ffe7d7}*{box-sizing:border-box}body{margin:0;background:var(--cream);color:var(--ink);font:16px/1.55 system-ui,-apple-system,Segoe UI,sans-serif}a{color:var(--green);text-decoration:none}a:hover{text-decoration:underline}.wrap{width:min(1120px,calc(100% - 32px));margin:auto}.top{background:#fff;border-bottom:1px solid var(--line);position:sticky;top:0;z-index:10}.nav{display:flex;justify-content:space-between;align-items:center;gap:20px;padding:14px 0}.brand{font-size:1.5rem;color:var(--ink)}nav{display:flex;gap:18px;flex-wrap:wrap;font-size:.9rem}.pagehead{padding:20px 0 4px}h1{font-size:clamp(1.7rem,4vw,2.4rem);letter-spacing:-.035em}h2{letter-spacing:-.025em}.hero{background:linear-gradient(120deg,var(--mint),#fff4e7);border-radius:25px;padding:36px;margin-bottom:28px}.hero h2{font-size:clamp(1.6rem,4vw,2.8rem);max-width:620px;margin:8px 0}.hero p{max-width:560px}.eyebrow{font-size:.75rem;letter-spacing:.15em;font-weight:800;color:var(--green)}.btn,button{display:inline-block;border:0;border-radius:11px;padding:11px 17px;background:var(--green);color:white;font-weight:700;cursor:pointer;font:inherit}button:hover,.btn:hover{filter:brightness(.94);text-decoration:none}.btn.ghost{background:var(--mint);color:var(--green)}.danger{background:#b54b4b}.layout{display:grid;grid-template-columns:minmax(0,2fr) minmax(240px,1fr);gap:24px;align-items:start}.panel{background:white;border:1px solid var(--line);border-radius:20px;padding:22px;margin-bottom:20px;box-shadow:0 7px 24px #1b4e3510}.narrow{max-width:680px;margin:auto}.meta,small{color:var(--muted);font-size:.84rem}.post h3{font-size:1.35rem;margin:8px 0}.tags{display:flex;flex-wrap:wrap;gap:7px;margin:14px 0}.tag{display:inline-block;border-radius:99px;padding:4px 11px;background:var(--mint);font-size:.83rem;color:var(--green)}.media-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:15px 0}.media-frame{min-width:0;overflow:hidden}.media-frame img,.media-frame video{width:100%;max-height:400px;object-fit:cover;border-radius:12px;display:block}.media-frame audio{width:100%}.gallery{grid-template-columns:repeat(3,minmax(0,1fr))}.gallery img,.gallery video{aspect-ratio:4/3}.smalllink{display:inline-block;margin-top:8px;font-size:.8rem}.cat-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.cat-card{text-align:center;color:var(--ink)}.cat-cover{height:210px;background:var(--mint);border-radius:14px;display:grid;place-items:center;font-size:5rem;overflow:hidden}.cat-cover img{width:100%;height:100%;object-fit:cover}.profile{display:flex;gap:25px;align-items:center}.avatar{height:190px;width:190px;flex-shrink:0;background:var(--mint);border-radius:22px;display:grid;place-items:center;font-size:5rem;overflow:hidden}.avatar img{width:100%;height:100%;object-fit:cover}form{display:grid;gap:14px}label{display:grid;gap:5px;font-weight:600}input,textarea,select{width:100%;border:1px solid #cedbd5;border-radius:10px;padding:11px;font:inherit;background:white;color:var(--ink)}input[type=checkbox]{width:auto}.check{display:inline-flex;align-items:center;gap:8px;margin:7px 12px 7px 0}.filters{display:flex;gap:12px;margin-bottom:20px}.filters select{max-width:240px}fieldset{border:1px solid var(--line);border-radius:12px}.notice{background:var(--mint);padding:12px;border-radius:12px;margin-bottom:18px}.error{background:#ffdfdf;padding:12px;border-radius:12px;margin-bottom:18px}.inline{display:inline-flex;align-items:center;gap:8px;margin:6px}.inline input{width:200px}.userrow{border-bottom:1px solid var(--line);padding:14px 0}.foot{padding:36px 0;color:var(--muted);font-size:.85rem}@media(max-width:750px){.nav{align-items:flex-start;flex-direction:column}nav{gap:10px}.layout{grid-template-columns:1fr}.cat-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.gallery{grid-template-columns:repeat(2,minmax(0,1fr))}.profile{flex-direction:column;align-items:flex-start}.hero{padding:24px}.filters{flex-wrap:wrap}.inline{flex-wrap:wrap}}@media(max-width:450px){.cat-grid,.gallery{grid-template-columns:1fr}.media-grid{grid-template-columns:1fr}}

.media-picker{display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:12px;max-height:500px;overflow:auto;padding:10px}.pick{border:1px solid var(--line);border-radius:12px;padding:10px;display:flex;align-items:flex-start;gap:8px;min-width:0;cursor:pointer}.pick input{margin-top:6px}.pick span{min-width:0;overflow-wrap:anywhere}.pick img,.pick video{width:100%;height:100px;object-fit:cover;border-radius:8px}.pick audio{width:100%;max-width:140px}.pick small{display:block}.pick:has(input:checked){background:var(--mint);border-color:var(--green)}
/* Purrbook Erlebniswelt · V4 */
:root{--ink:#303b39;--muted:#788581;--mint:#e2f5ec;--green:#347e69;--cream:#fdf9f4;--line:#ecebe6;--peach:#ffe4d4;--lilac:#f2eaff;--shadow:0 12px 42px rgba(48,59,57,.055)}
body{background:radial-gradient(ellipse 650px 450px at 98% 2%,#fff0e4 0%,transparent 80%),radial-gradient(ellipse 550px 400px at 0% 22%,#eff9f0 0%,transparent 80%),var(--cream);font-family:system-ui,-apple-system,'Segoe UI',sans-serif;min-height:100vh}
h1,h2,h3,.brand{font-family:system-ui,-apple-system,'Segoe UI',sans-serif;line-height:1.2}h1{font-weight:900;letter-spacing:-.045em}h2{font-weight:900}.wrap{width:min(1240px,calc(100% - 40px))}.top{background:rgba(255,255,255,.91);backdrop-filter:blur(18px);border-bottom:1px solid #edf0eb;box-shadow:0 2px 18px #303b3907}.nav{gap:22px;padding:13px 0;min-height:82px}.brand{display:flex;align-items:center;gap:10px;white-space:nowrap;font-weight:900;font-size:1.7rem;letter-spacing:-.07em;color:#2d6f5d}.brand small{display:block;font:700 .57rem/1.4 system-ui,sans-serif;letter-spacing:.16em;color:#acaaa2}.brand-icon{display:grid;place-items:center;background:#e6f6ed;border-radius:17px;width:46px;height:46px;font-size:1.4rem}.nav nav{gap:3px;justify-content:center}.nav-link{padding:11px 13px;border-radius:12px;font-weight:700;color:#6b7974;white-space:nowrap}.nav-link.active,.nav-link:hover{background:#eaf7ef;color:#2e745e;text-decoration:none}.nav-actions{display:flex;align-items:center;gap:12px}.nav-add{white-space:nowrap}.user-menu{position:relative}.user-menu summary{list-style:none;cursor:pointer;padding:10px;border-radius:12px;background:#f6f5f0;font-weight:700;white-space:nowrap}.user-menu summary::-webkit-details-marker{display:none}.user-dropdown{position:absolute;right:0;top:calc(100% + 10px);background:white;box-shadow:var(--shadow);border:1px solid var(--line);border-radius:14px;min-width:190px;padding:10px;z-index:20}.user-dropdown a{display:block;padding:10px;border-radius:8px}.user-dropdown a:hover{background:var(--mint)}.pagehead{padding:34px 0 17px}.pagehead h1{margin:5px 0 0}.eyebrow{color:#d28a6b;letter-spacing:.16em;font-size:.7rem}.hero{position:relative;overflow:hidden;padding:56px 52px;border-radius:30px;background:linear-gradient(110deg,#dff4e7 0%,#f2f9e8 48%,#ffe7db 100%);border:1px solid #e5efdf;box-shadow:var(--shadow)}.hero:after{content:'🐈';position:absolute;right:7%;bottom:-80px;font-size:230px;opacity:.12;transform:rotate(-12deg);pointer-events:none}.hero h2{font-size:clamp(2rem,4vw,3.4rem);font-weight:900;letter-spacing:-.045em;position:relative;z-index:1}.hero p{font-size:1.07rem;color:#62766c;position:relative;z-index:1}.hero .btn{position:relative;z-index:1}.btn,button{background:#347e69;border-radius:13px;padding:12px 19px;font-weight:800;font-family:inherit;transition:transform .18s,box-shadow .18s,background .18s;box-shadow:0 5px 13px #347e6920}.btn:hover,button:hover{transform:translateY(-2px);box-shadow:0 9px 18px #347e692a;filter:none}.btn.ghost{background:#e7f6ed;color:#347e69;box-shadow:none}.panel{border:1px solid #eeeee9;border-radius:23px;padding:24px;box-shadow:var(--shadow)}.post{padding:27px}.post h3{font-size:1.5rem}.post h3 a{color:#303b39}.post .meta:first-child{font-weight:700;color:#d38b6e}.tag{background:#e9f6ef;color:#347e69;padding:6px 12px;font-weight:700}.tag:hover{background:#d4ecdd;text-decoration:none}.cat-card{transition:transform .2s,box-shadow .2s}.cat-card:hover{transform:translateY(-5px);box-shadow:0 20px 40px #303b3914}.cat-cover{height:235px;background:linear-gradient(135deg,#e2f5e8,#ffe9df);border-radius:17px}.media-frame img,.media-frame video{border-radius:15px}.gallery-card{position:relative;padding:12px}.gallery-card img,.gallery-card video{aspect-ratio:4/3;object-fit:cover}.gallery-card img[data-full]{cursor:zoom-in}.gallery-card .meta{padding:5px 3px;overflow-wrap:anywhere}.gallery-card .tags{margin:7px 0}.bulk-form{display:block;margin:0 0 20px}.bulk-toolbar{display:flex;align-items:center;flex-wrap:wrap;gap:12px;background:white;border:1px solid var(--line);border-radius:19px;padding:14px 17px;box-shadow:var(--shadow)}.bulk-toolbar select{width:auto;max-width:240px}.bulk-toolbar .check{margin:0}.bulk-toolbar strong{font-size:.85rem;color:var(--green)}.bulk-cats{flex-basis:100%;padding:10px;background:#f6faf6;border-radius:12px}.bulk-cats[hidden],#album-target[hidden]{display:none}.bulk-check{display:flex;align-items:center;gap:6px;margin:0 0 10px;font-size:.8rem;font-weight:700;color:var(--green);cursor:pointer}.bulk-check input{accent-color:var(--green)}.profile{background:linear-gradient(120deg,#fff,#f1faf3)}.avatar{border-radius:26px}.foot{display:flex;justify-content:space-between;gap:15px;border-top:1px solid var(--line);margin-top:45px;padding:27px 0 40px}.foot strong{font-weight:500}.notice{background:#e1f5e7;color:#286b51;border:1px solid #c7e9d2}.lightbox{border:0;border-radius:20px;padding:15px;background:#fff;max-width:min(94vw,1300px);max-height:94vh;box-shadow:0 30px 100px #0006}.lightbox::backdrop{background:#172923d9;backdrop-filter:blur(5px)}.lightbox img{display:block;max-width:90vw;max-height:78vh;object-fit:contain;border-radius:12px;margin-top:10px}.lightbox button{display:block;margin-left:auto}input:focus,textarea:focus,select:focus{outline:3px solid #cdebdc;border-color:#6cab91}fieldset{padding:16px}.media-picker{background:#fcfdfa;border-radius:14px}
@media(max-width:1100px){.nav{flex-wrap:wrap}.nav nav{order:3;width:100%;justify-content:flex-start;overflow-x:auto;flex-wrap:nowrap}.nav-actions{margin-left:auto}}@media(max-width:750px){.nav{flex-direction:row;align-items:center}.nav nav{gap:0}.nav-link{font-size:.84rem;padding:9px}.nav-add{padding:10px}.hero{padding:32px 25px}.hero:after{right:-30px;font-size:160px;bottom:-50px}.foot{flex-direction:column}.cat-grid{gap:12px}.cat-cover{height:180px}}@media(max-width:460px){.wrap{width:min(100% - 24px,1240px)}.brand{font-size:1.4rem}.brand-icon{width:40px;height:40px}.brand small{font-size:.48rem}.nav-actions{gap:5px}.user-menu summary{font-size:.8rem}.nav-add{font-size:.82rem}.pagehead{padding-top:23px}.panel{padding:17px}.hero h2{font-size:2rem}.gallery{grid-template-columns:repeat(2,minmax(0,1fr))}.gallery-card{padding:7px}.gallery-card .smalllink{font-size:.73rem}.gallery-card .tags{gap:3px}.gallery-card .tag{padding:3px 6px;font-size:.7rem}}

/* Purrbook V5 – die persönliche Erlebniswelt */
:root{--ink:#273c37;--green:#287d68;--cream:#fffaf5;--mint:#e9f8ed;--peach:#ffe6d5;--line:#e9eee8;--shadow:0 18px 45px rgba(36,77,59,.075)}
body{background:radial-gradient(ellipse 850px 400px at 96% 0%,#ffe9db 0%,transparent 72%),radial-gradient(ellipse 700px 500px at 0% 25%,#edf8eb 0%,transparent 75%),#fffaf6}
.pagehead{padding:25px 0 12px}.pagehead h1{font-size:clamp(1.45rem,2.6vw,2rem)}
.dream-hero{min-height:390px;display:grid;grid-template-columns:1.2fr 1fr;align-items:center;gap:25px;position:relative;overflow:hidden;padding:50px clamp(24px,5vw,65px);border-radius:34px;background:linear-gradient(115deg,#e4f5e6 0%,#f7f8e9 55%,#ffe5d8 100%);box-shadow:var(--shadow);margin:10px 0 45px}
.dream-hero:before{content:'✦';position:absolute;right:44%;top:8%;font-size:3rem;color:#fff9}.dream-copy{position:relative;z-index:2}.dream-copy h2{font-size:clamp(2.6rem,5.2vw,5.4rem);letter-spacing:-.065em;line-height:1.02;margin:15px 0 22px;max-width:650px}.dream-copy h2 em{font-style:normal;color:#dc947c}.dream-copy p{max-width:520px;font-size:1.15rem;line-height:1.65;color:#61746a}.hero-actions{display:flex;gap:12px;flex-wrap:wrap;margin:24px 0}.hero-stat{font-size:.86rem;color:#698477}.hero-stat strong{color:#2a735f}.hero-stat span{padding:0 9px}.dream-portraits{min-height:300px;position:relative;display:grid;grid-template-columns:repeat(2,1fr);gap:18px;align-items:center;justify-items:center}.portrait{width:min(100%,195px);aspect-ratio:1;position:relative;border:7px solid #fff;border-radius:36% 44% 40% 36%;overflow:hidden;background:#f8e6d5;box-shadow:0 20px 35px #2d5d4a21;display:grid;place-items:center;font-size:4rem;transform:rotate(-5deg);transition:transform .2s}.portrait:nth-child(even){transform:rotate(7deg);background:#e3f0e4}.portrait:hover{transform:rotate(0) scale(1.05)}.portrait img{width:100%;height:100%;object-fit:cover}.portrait span{position:absolute;bottom:0;left:0;right:0;background:#ffffffdd;text-align:center;font-size:.85rem;font-weight:800;padding:7px;color:#2e6856}.hero-placeholder{font-size:6rem;text-align:center}.hero-placeholder small{display:block;font-size:.9rem}.section-heading{display:flex;align-items:end;justify-content:space-between;gap:15px;margin:30px 0 19px}.section-heading h2{margin:6px 0;font-size:clamp(1.5rem,2.5vw,2.1rem);letter-spacing:-.035em}.section-heading>a{font-weight:800;font-size:.9rem;white-space:nowrap}.dream-cat-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(145px,1fr));gap:18px;margin-bottom:46px}.dream-cat{display:flex;align-items:center;flex-direction:column;text-align:center;color:var(--ink);padding:18px 10px 16px;background:#fff;border:1px solid var(--line);border-radius:24px;box-shadow:var(--shadow);transition:transform .2s}.dream-cat:hover{transform:translateY(-6px);text-decoration:none}.dream-cat-photo{width:112px;height:112px;border-radius:50%;background:linear-gradient(135deg,#e4f3e9,#ffe2d4);display:grid;place-items:center;font-size:3rem;overflow:hidden;border:5px solid #f7faf4;margin-bottom:10px}.dream-cat-photo img{width:100%;height:100%;object-fit:cover}.dream-cat strong{font-size:1.15rem}.dream-cat small{margin-top:4px;text-align:center}.dream-layout{grid-template-columns:minmax(0,1.85fr) minmax(240px,.8fr)}.dream-post{padding:27px;margin-bottom:24px}.post-top{display:flex;align-items:center;gap:12px;margin-bottom:18px}.post-paw{display:grid;place-items:center;width:46px;height:46px;border-radius:50%;background:#e8f6eb;font-size:1.4rem}.dream-post h3{font-size:1.65rem}.post-media{margin:18px 0}.post-foot{border-top:1px solid var(--line);padding-top:17px;display:flex;justify-content:space-between;font-weight:700;color:#668374}.side-welcome{background:linear-gradient(140deg,#fff0e5,#fffdf9)}.side-emoji{font-size:2.7rem}.dream-aside .panel{margin-bottom:20px}.mini-media{display:grid;grid-template-columns:repeat(3,1fr);gap:7px;margin:14px 0}.mini-media a{aspect-ratio:1;display:grid;place-items:center;background:#e7f3e8;border-radius:10px;overflow:hidden;font-size:1.5rem}.mini-media img{width:100%;height:100%;object-fit:cover}.empty-state{text-align:center;padding:40px;font-size:1.3rem}.empty-state h3{font-size:1.6rem}.cat-profile-hero{display:grid;grid-template-columns:minmax(240px,.85fr) 1.4fr;gap:35px;align-items:center;border-radius:30px;background:linear-gradient(125deg,#eaf8ed,#fff4e9);padding:35px;margin:12px 0 45px;box-shadow:var(--shadow)}.cat-profile-cover{height:350px;border:8px solid white;border-radius:26px;background:#f9e6d7;display:grid;place-items:center;font-size:8rem;overflow:hidden;box-shadow:0 15px 32px #284c3820}.cat-profile-cover img{width:100%;height:100%;object-fit:cover}.cat-profile-info h2{font-size:clamp(2.6rem,5vw,4.5rem);margin:12px 0;letter-spacing:-.06em}.cat-profile-info h2 span{font-size:.5em}.cat-subtitle{font-size:1.3rem;color:#cf8a74;font-weight:800}.cat-facts{display:flex;gap:10px;flex-wrap:wrap;margin:18px 0}.cat-facts span{padding:8px 12px;border-radius:25px;background:#fff;font-size:.87rem;font-weight:700}.personality{font-weight:700}.life-timeline{position:relative;max-width:900px;margin:20px auto 45px;padding-left:44px}.life-timeline:before{content:'';position:absolute;top:0;bottom:0;left:15px;width:3px;background:linear-gradient(#efbfa8,#a7d9c0)}.timeline-item{position:relative;margin-bottom:20px}.timeline-dot{position:absolute;left:-44px;top:20px;width:32px;height:32px;border-radius:50%;background:#f7d6c6;color:#a35b51;display:grid;place-items:center;border:4px solid white}.timeline-item .panel{margin:0}.timeline-item h3{margin:10px 0}.dream-gallery{margin-bottom:35px}.album-card{overflow:hidden}.album-cover{height:180px;background:linear-gradient(125deg,#e4f4e9,#ffe7db);border-radius:16px;display:grid;place-items:center;font-size:4rem;overflow:hidden;margin-bottom:16px}.album-cover img{width:100%;height:100%;object-fit:cover}.album-card h2{font-size:1.35rem}.celebrations{background:#fff1e5}
@media(max-width:850px){.dream-hero{grid-template-columns:1fr}.dream-portraits{grid-template-columns:repeat(4,1fr);min-height:130px;gap:10px}.portrait{border-width:4px;border-radius:35%;font-size:2rem}.portrait span{font-size:.65rem}.dream-layout{grid-template-columns:1fr}.cat-profile-hero{grid-template-columns:1fr}.cat-profile-cover{height:300px}}@media(max-width:520px){.dream-hero{padding:28px 20px;border-radius:24px;margin-bottom:30px}.dream-copy h2{font-size:2.8rem}.dream-copy p{font-size:1rem}.dream-portraits{min-height:80px}.portrait span{font-size:.55rem;padding:4px}.dream-cat-grid{grid-template-columns:repeat(2,1fr);gap:10px}.dream-cat-photo{width:90px;height:90px}.section-heading{align-items:start}.section-heading>a{font-size:.77rem}.cat-profile-hero{padding:18px;gap:18px}.cat-profile-cover{height:230px}.cat-profile-info h2{font-size:2.7rem}.life-timeline{padding-left:35px}.timeline-dot{left:-35px}.hero-actions .btn{font-size:.88rem}}

/* Eigenstaendiges Katzen-Profilbild */
.purr-profile-avatar { width: 116px; height: 116px; object-fit: cover; border-radius: 50%; border: 5px solid #fff; box-shadow: 0 8px 28px rgba(30,55,45,.16); display: block; margin: -65px 0 18px; position: relative; z-index: 2; background: #fff; }

/* V7 · Das Purrbook-Erlebnis */
:root{--green:#276f5c;--ink:#253d36;--shadow:0 15px 45px rgba(45,77,59,.08)}
.v7-composer{display:flex;align-items:center;gap:18px;padding:20px 24px;background:linear-gradient(105deg,#fff,#fff7ed);border-color:#f1e7dc}.v7-composer-icon{display:grid;place-items:center;flex:none;width:56px;height:56px;border-radius:20px;background:#e6f5e9;color:#2b8063;font-size:2rem}.v7-composer>div:nth-child(2){flex:1}.v7-composer p{margin:5px 0 0;color:var(--muted);font-size:.92rem}.v7-composer .btn{white-space:nowrap}
.v7-stories-section{margin:25px 0 40px}.v7-stories{display:flex;gap:14px;overflow-x:auto;padding:5px 3px 17px;scroll-snap-type:x mandatory;scrollbar-color:#bddbca transparent}.v7-story{position:relative;flex:0 0 clamp(125px,16vw,180px);height:220px;border:4px solid white;border-radius:24px;overflow:hidden;scroll-snap-align:start;padding:0;box-shadow:0 12px 25px #31553b20;background:#e6f4e9;transition:transform .2s}.v7-story:hover{transform:translateY(-5px)}.v7-story img{width:100%;height:100%;object-fit:cover}.v7-story span{position:absolute;bottom:0;left:0;right:0;padding:30px 8px 12px;background:linear-gradient(transparent,#17291fc9);color:white;font-size:.83rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.v7-feed-media img{cursor:zoom-in}.v7-feed-media:has(>.media-frame:only-child){grid-template-columns:1fr}.v7-feed-media:has(>.media-frame:only-child) img{max-height:560px}.dream-post{border:1px solid #e6eee6;box-shadow:0 16px 40px #2349340b}.dream-post h3 a{color:var(--ink)}
.v7-editor-intro{text-align:center;margin:16px auto 25px;max-width:700px}.v7-editor-intro h2{font-size:clamp(1.9rem,4vw,3rem);margin:8px 0}.v7-editor-intro p{color:var(--muted)}.v7-editor{max-width:760px;padding:clamp(20px,4vw,38px)}.v7-editor input:not([type=checkbox]),.v7-editor textarea{border-radius:15px}.v7-upload-zone{padding:25px;border:2px dashed #a5d3ba;border-radius:22px;background:#f5fcf7;text-align:center;cursor:pointer}.v7-upload-zone input{margin:12px 0}.v7-upload-zone span{font-weight:400;font-size:.84rem;color:var(--muted)}.v7-upload-preview{display:grid;grid-template-columns:repeat(auto-fill,minmax(110px,1fr));gap:10px}.v7-preview-card{border:1px solid var(--line);padding:7px;border-radius:15px;min-width:0;background:#fff}.v7-preview-card img,.v7-preview-icon{width:100%;height:100px;object-fit:cover;border-radius:10px;background:#eef7ed;display:grid;place-items:center;font-size:2.5rem}.v7-preview-card small{display:block;overflow-wrap:anywhere;font-size:.7rem;margin-top:5px}
.v7-story-dialog{border:0;background:transparent;padding:15px;max-width:100vw;max-height:100vh;color:white}.v7-story-dialog::backdrop{background:#101b17ed}.v7-story-view{display:grid;grid-template-columns:48px minmax(0,1fr) 48px;align-items:center;gap:12px;max-width:1100px}.v7-story-view img{grid-column:2;grid-row:2;max-width:100%;max-height:75vh;object-fit:contain;border-radius:15px}.v7-story-view p{grid-column:1/-1;text-align:center}.v7-story-view button{background:#ffffff25;border:1px solid #ffffff50;color:white}.v7-story-close{grid-column:1/-1;justify-self:end}.v7-story-prev{grid-column:1;grid-row:2}.v7-story-next{grid-column:3;grid-row:2}
@media(max-width:650px){.v7-composer{flex-wrap:wrap;padding:16px}.v7-composer .btn{width:100%;text-align:center}.v7-story{height:175px;flex-basis:120px}.v7-story-view{grid-template-columns:32px minmax(0,1fr) 32px;gap:4px}.v7-story-view button{padding:8px}.v7-story-dialog{padding:4px}}
@media(prefers-reduced-motion:reduce){.v7-story,.dream-post{transition:none}}

/* Purrbook V8 – Lebensreise & Tagebuch */
.v8-intro{background:linear-gradient(125deg,#fff2e7,#f2fff8);border-radius:28px;padding:clamp(22px,5vw,55px);margin-bottom:24px}.v8-intro h2{font-size:clamp(1.6rem,3vw,2.7rem);margin:8px 0}.v8-intro p{max-width:650px}.v8-filters{display:flex;gap:8px;flex-wrap:wrap;margin:20px 0 28px}.v8-chip{border-radius:99px;padding:9px 15px;background:#fff;border:1px solid #e7e4de;text-decoration:none;color:#39544c}.v8-chip.active{background:#d6f3e6;border-color:#a9d9c3;font-weight:700}.v8-journal-list{max-width:850px;margin:0 auto}.v8-journal-entry{margin-bottom:20px;padding:clamp(18px,4vw,32px)}.v8-journal-entry time,.v8-milestone time{color:#718077;font-size:.9rem}.v8-journal-entry h2{margin:10px 0}.v8-journal-entry h2 a{color:inherit;text-decoration:none}.v8-tags{display:flex;gap:8px;flex-wrap:wrap;margin:15px 0}.v8-tags a{background:#f2f8f3;border-radius:20px;padding:5px 12px;text-decoration:none;color:#426650;font-size:.85rem}.v8-life{margin-top:40px;scroll-margin-top:110px}.v8-milestones{position:relative;margin:26px 0 40px;max-width:900px}.v8-milestones:before{content:'';position:absolute;left:25px;top:0;bottom:0;width:3px;background:#d9eade}.v8-milestone{position:relative;display:grid;grid-template-columns:52px 1fr;gap:16px;margin-bottom:20px}.v8-milestone-icon{position:relative;z-index:1;width:52px;height:52px;border-radius:50%;display:grid;place-items:center;background:#fff2e7;border:3px solid #fff;font-size:23px;box-shadow:0 3px 14px #b7c9bc44}.v8-milestone .panel{padding:22px}.v8-milestone h3{margin:8px 0}.v8-milestone-photo{display:block;max-width:420px;width:100%;max-height:280px;object-fit:cover;border-radius:14px;margin-top:12px}.v8-edit{display:inline-block;margin-top:12px}.v8-diary-link{display:flex;justify-content:space-between;align-items:center;gap:18px;padding:24px;margin:25px 0;flex-wrap:wrap;background:#fff9f2}.v8-diary-link h3{margin:8px 0}.v8-delete{margin-top:22px}@media(max-width:650px){.v8-milestone{gap:10px}.v8-journal-entry .media-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* V9 – Erinnerungswelt */
.v9-hero{background:linear-gradient(120deg,#fff3e5,#f2fbf4);border:1px solid #f0e9db}.v9-filter{display:flex;flex-wrap:wrap;align-items:end;gap:16px;margin:24px 0}.v9-filter label{flex:1;min-width:150px}.v9-filter button{min-height:44px}.v9-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin:22px 0 35px}.v9-stats .panel{text-align:center;padding:18px}.v9-stats strong{display:block;font-size:2rem;color:#357a69}.v9-stats span{font-size:.9rem}.v9-month{margin:38px 0}.v9-photo-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-bottom:16px}.v9-photo{position:relative;min-height:140px;aspect-ratio:1;overflow:hidden;border-radius:18px;background:#f6ede1;display:grid;place-items:center;text-decoration:none;color:#35483e}.v9-photo img{width:100%;height:100%;object-fit:cover}.v9-photo>span{font-size:2.5rem}.v9-photo small{position:absolute;bottom:0;left:0;right:0;padding:18px 9px 9px;background:linear-gradient(transparent,#0009);color:white;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.v9-entry{margin:12px 0}.v9-story-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin:25px 0}.v9-story-card{overflow:hidden;padding:0!important;text-decoration:none;color:inherit}.v9-story-cover{height:210px;background:#f9e9d8;display:grid;place-items:center;font-size:4rem}.v9-story-cover img{width:100%;height:100%;object-fit:cover}.v9-story-body{padding:18px}.v9-story-body h3{margin:8px 0}.v9-story-sequence{max-width:850px;margin:24px auto}.v9-story-item{overflow:hidden;margin:20px 0;padding:0!important}.v9-story-image img,.v9-story-image video{display:block;width:100%;max-height:620px;object-fit:contain;background:#f8f5ef}.v9-story-image audio{width:100%;padding:20px}.v9-story-caption{padding:22px}.v9-story-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:14px}.v9-story-actions form{margin:0}@media(max-width:750px){.v9-stats,.v9-story-grid{grid-template-columns:1fr 1fr}.v9-photo-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(max-width:520px){.v9-stats,.v9-story-grid{grid-template-columns:1fr}.v9-photo-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* V10: mobile-first Medienerlebnis */
.v10-gallery-intro,.v10-upload-hero{display:flex;justify-content:space-between;align-items:center;gap:24px;background:linear-gradient(120deg,#f1faf3,#fff0e4);border:1px solid #e6eee4;border-radius:28px;padding:clamp(20px,4vw,38px);margin:15px 0 24px}.v10-gallery-intro h2,.v10-upload-hero h2{font-size:clamp(1.6rem,3vw,2.5rem);margin:6px 0}.v10-gallery-intro p,.v10-upload-hero p{color:var(--muted);margin:0}.v10-favorite-filter{display:flex!important;align-items:center;gap:8px;white-space:nowrap}.v10-favorite-filter input{width:auto!important}.v10-upload-hero{display:block}.v10-upload-panel{max-width:900px;margin:0 auto 32px}.v10-dropzone{border:2px dashed #98cbb2;border-radius:24px;background:#f4fbf6;padding:32px 18px;text-align:center;display:flex!important;align-items:center;flex-direction:column;gap:8px;cursor:pointer}.v10-dropzone.dragging{border-color:#246f57;background:#e5f6e9}.v10-drop-icon{font-size:2.6rem}.v10-dropzone input{max-width:100%;margin-top:10px}.v10-preview{display:grid;grid-template-columns:repeat(auto-fill,minmax(120px,1fr));gap:12px;margin:18px 0}.v10-preview-card{min-width:0;background:#fff;border:1px solid var(--line);border-radius:16px;padding:8px}.v10-preview-card img,.v10-preview-symbol{width:100%;height:110px;object-fit:cover;border-radius:10px;background:#e9f5ed;display:grid;place-items:center;font-size:2rem}.v10-preview-card small{display:block;overflow-wrap:anywhere;font-size:.75rem;margin-top:7px}.v10-cat-checks{display:flex;gap:8px 18px;flex-wrap:wrap}.v10-upload-options{display:grid;grid-template-columns:1fr 1fr;gap:16px}.gallery-card{transition:transform .15s,box-shadow .15s}.gallery-card:hover{transform:translateY(-2px);box-shadow:0 15px 35px #244c3218}.gallery-card .meta{overflow-wrap:anywhere}@media(max-width:700px){.v10-gallery-intro{flex-direction:column;align-items:stretch}.v10-gallery-intro .btn{text-align:center}.v10-upload-options{grid-template-columns:1fr}.gallery{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.gallery-card{padding:10px}.gallery-card .smalllink{font-size:.75rem}.bulk-toolbar{flex-wrap:wrap}.filters{flex-wrap:wrap}.filters>*{min-width:0;flex:1 1 150px}}@media(max-width:420px){.gallery{grid-template-columns:1fr 1fr}.gallery-card{padding:7px;border-radius:13px}.gallery-card .tags{gap:3px}.gallery-card .tag{font-size:.7rem;padding:3px 7px}.gallery-card .media-frame img{border-radius:8px}}

/* V13 photo gallery */
.media-grid.gallery .gallery-card img[data-full]{cursor:zoom-in}
.v13-lightbox{border:0;border-radius:22px;padding:0;background:#1d2424;color:#fff;width:min(1100px,96vw);max-height:94vh;box-shadow:0 25px 80px #0008}
.v13-lightbox::backdrop{background:#111c1cdd}
.v13-lightbox-inner{display:grid;grid-template-columns:48px minmax(0,1fr) 48px;align-items:center;gap:8px;padding:42px 12px 12px;position:relative}
.v13-lightbox figure{margin:0;min-width:0;text-align:center}
.v13-lightbox img{display:block;max-width:100%;max-height:74vh;object-fit:contain;margin:auto;border-radius:10px}
.v13-lightbox figcaption{padding:12px;font-size:.92rem;overflow-wrap:anywhere}
.v13-lightbox button{border:0;background:#ffffff24;color:#fff;border-radius:100px;cursor:pointer;font-size:2rem;min-width:42px;min-height:42px}
.v13-lightbox .v13-close{position:absolute;right:12px;top:8px;font-size:1rem;padding:8px 12px}
@media(max-width:600px){.v13-lightbox-inner{grid-template-columns:32px minmax(0,1fr) 32px;gap:2px;padding-left:4px;padding-right:4px}.v13-lightbox button{min-width:30px;min-height:40px}}

/* V13 Navigation Update: compact, accessible hamburger on phones/tablets */
.brand{cursor:default;text-decoration:none!important;user-select:none}.brand-logo{width:48px;height:48px;display:block;flex:none;border-radius:15px}.mobile-menu{display:none}.desktop-nav{min-width:0}.desktop-nav .nav-link{font-size:.83rem;padding:9px 8px}.nav{gap:12px}.nav-actions{flex-shrink:0}
@media(max-width:1240px){
  .nav{flex-direction:row;flex-wrap:nowrap;align-items:center;min-height:72px;padding:10px 0;position:relative}
  .nav .desktop-nav,.nav .nav-actions{display:none}
  .mobile-menu{display:block;margin-left:auto;position:static}
  .mobile-menu>summary{list-style:none;display:flex;align-items:center;gap:10px;cursor:pointer;border:1px solid #d9e8dd;border-radius:13px;padding:11px 14px;background:#f2faf4;color:#286b51;font-weight:800;min-height:46px;box-shadow:none}
  .mobile-menu>summary::-webkit-details-marker{display:none}
  .mobile-menu>summary:focus-visible{outline:3px solid #8fceb2;outline-offset:3px}
  .hamburger-bars{width:22px;display:grid;gap:5px}.hamburger-bars i{height:2px;width:22px;border-radius:2px;background:currentColor;display:block;transition:transform .2s,opacity .2s}
  .mobile-menu[open] .hamburger-bars i:nth-child(1){transform:translateY(7px) rotate(45deg)}
  .mobile-menu[open] .hamburger-bars i:nth-child(2){opacity:0}
  .mobile-menu[open] .hamburger-bars i:nth-child(3){transform:translateY(-7px) rotate(-45deg)}
  .mobile-menu-panel{position:absolute;right:0;top:calc(100% - 1px);width:min(420px,100%);max-height:min(78vh,700px);overflow-y:auto;overscroll-behavior:contain;background:#fff;border:1px solid #e4ede5;border-radius:0 0 20px 20px;box-shadow:0 20px 38px #1b4e3526;padding:12px;z-index:40}
  .mobile-menu-panel nav{display:grid!important;overflow:visible!important;flex-wrap:initial!important;width:100%!important;gap:3px!important}
  .mobile-nav-link{display:flex;align-items:center;gap:13px;padding:12px 14px;border-radius:11px;color:#39584d;font-weight:750;min-height:45px}
  .mobile-nav-link span{font-size:1.25rem;width:24px;text-align:center;color:#347e69}
  .mobile-nav-link:hover,.mobile-nav-link.active{background:#eaf7ef;color:#286b51;text-decoration:none}
  .mobile-menu-bottom{display:grid;gap:2px;border-top:1px solid #e4ede5;margin-top:10px;padding-top:10px}
  .mobile-menu-bottom a{padding:10px 14px;border-radius:10px;color:#347e69;font-weight:700}
  .mobile-menu-bottom a:hover{background:#eaf7ef;text-decoration:none}
  .mobile-username{padding:10px 14px 2px;font-size:.8rem;color:#71857b}
}
@media(max-width:460px){.brand-logo{width:42px;height:42px}.brand{gap:8px}.brand small{font-size:.44rem;letter-spacing:.09em}.mobile-menu>summary{padding:10px 12px}.menu-label{display:none}.mobile-menu-panel{left:0;right:0;width:100%}}

/* Brand remains a quiet, accessible home link on every screen. */
a.brand,a.brand:visited,a.brand:hover,a.brand:active{color:#2d6f5d;text-decoration:none!important;cursor:pointer}a.brand:focus-visible{outline:3px solid #347e69;outline-offset:5px;border-radius:12px}

/* V15.1 Papierkorb */
.trash-list{display:grid;gap:12px}.trash-item{display:flex;justify-content:space-between;align-items:center;gap:18px;flex-wrap:wrap}.trash-item p{margin:6px 0 0}.trash-actions{display:flex;gap:8px;flex-wrap:wrap}.trash-actions form{margin:0}@media(max-width:600px){.trash-item{align-items:stretch}.trash-actions{width:100%}.trash-actions button{min-height:44px}}

/* V15.2: multi-edit clarity and responsive media actions */
.bulk-toolbar #clear-selection{padding:.45rem .8rem;font-size:.85rem}
.bulk-toolbar #bulk-submit:disabled{opacity:.48;cursor:not-allowed}
.bulk-toolbar select[hidden],.bulk-toolbar label[hidden],.bulk-toolbar div[hidden]{display:none!important}
.gallery-card:has(.media-select:checked){outline:3px solid var(--accent,#b5d78b);outline-offset:2px}
@media(max-width:720px){.bulk-toolbar{display:flex;flex-wrap:wrap;gap:.65rem}.bulk-toolbar>select,.bulk-toolbar>button{max-width:100%;min-height:42px}.gallery-card .bulk-check{min-height:40px}}

/* V16 – memories and shared moments */
.v16-remembrance{margin:1rem 0;padding:1.15rem 1.3rem;border-radius:1.2rem;background:linear-gradient(110deg,#f8f0fc,#fff6ef);border:1px solid #eeddf0;display:flex;flex-wrap:wrap;gap:.4rem 1rem;align-items:center;color:#66466d}
.v16-remembrance strong{font-size:1.05rem}.v16-remembrance p{flex-basis:100%;margin:.3rem 0 0;line-height:1.6}
.v16-memory-tag{display:inline-block;margin-top:.5rem;color:#825b88;font-size:.82rem}
.v16-memorial-fields{border:1px solid #e8dbea;border-radius:1rem;margin:1.2rem 0;padding:1rem}.v16-memorial-fields legend{padding:0 .5rem;font-weight:700}
.v16-shared{margin:2rem 0}.v16-shared-grid,.v16-event-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,240px),1fr));gap:1rem;margin:1rem 0 2rem}
.v16-shared-card{display:flex;flex-direction:column;gap:.4rem;text-decoration:none;color:inherit}.v16-shared-card>span{font-size:1.7rem;color:#bd8ac1}.v16-shared-card small{opacity:.75}
.v16-shared-intro,.v16-anniversary-intro{margin-bottom:1.3rem}.v16-event{display:flex;gap:1rem;align-items:center;text-decoration:none;color:inherit}.v16-event-icon{font-size:2rem}.v16-event p{margin:.25rem 0}.v16-event small{opacity:.75}
@media(max-width:640px){.v16-remembrance{display:block}.v16-remembrance>*{display:block;margin:.3rem 0}}

/* V17 – Mobile First: accessible touch targets, flexible layouts and safe areas */
html{overflow-x:hidden;-webkit-text-size-adjust:100%;scroll-padding-top:90px}body{min-width:0;overflow-wrap:break-word}img,video,svg{max-width:100%}img,video{height:auto}main,.panel,.layout,.media-grid,.gallery-card{min-width:0}button,input,select,textarea{font:inherit}input,select,textarea{max-width:100%}a,button,summary,input,select,textarea{-webkit-tap-highlight-color:transparent}a:focus-visible,button:focus-visible,summary:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #278568;outline-offset:3px}
.v17-camera-actions{display:flex;flex-wrap:wrap;gap:10px;margin:0 0 16px}.v17-camera-actions button{min-height:48px;display:inline-flex;align-items:center;gap:8px}.v17-camera-hint{font-size:.88rem;color:var(--muted);margin:0 0 14px}.v17-upload-status{font-size:.9rem;color:var(--green);margin:10px 0;min-height:1.2em}.v17-camera-input{position:absolute;width:1px;height:1px;opacity:0;pointer-events:none}
@media(max-width:900px){.wrap{width:min(100% - 28px,720px)}.layout{grid-template-columns:minmax(0,1fr)}.panel{padding:clamp(15px,4vw,24px)}.pagehead{padding-top:18px}.v10-gallery-intro,.v10-upload-hero{flex-direction:column;align-items:stretch}.v10-upload-options{grid-template-columns:minmax(0,1fr)}.v16-shared-grid,.v16-event-grid{grid-template-columns:repeat(auto-fit,minmax(min(100%,210px),1fr))}}
@media(max-width:600px){.wrap{width:calc(100% - 24px)}.top .nav{min-height:66px}.brand{min-width:0}.brand span{min-width:0}.brand small{white-space:normal}.mobile-menu-panel{max-height:calc(100dvh - 76px);padding-bottom:max(12px,env(safe-area-inset-bottom))}.mobile-nav-link{min-height:48px}.mobile-menu-bottom a{min-height:46px;display:flex;align-items:center}.pagehead h1{font-size:clamp(1.65rem,8vw,2.25rem)}.hero,.v8-intro,.v10-gallery-intro,.v10-upload-hero{padding:20px;border-radius:20px}.panel{border-radius:17px}.media-grid.gallery{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.media-grid.gallery .gallery-card{min-width:0}.gallery-card img{object-fit:cover}.bulk-toolbar{align-items:stretch}.bulk-toolbar select,.bulk-toolbar button,.bulk-toolbar input{min-height:46px;max-width:100%}.v10-dropzone{min-height:140px}.v10-preview{grid-template-columns:repeat(2,minmax(0,1fr))}form input:not([type=checkbox]):not([type=radio]):not([type=file]),form select,form textarea{font-size:16px;min-height:44px}form textarea{min-height:100px}button,.btn{min-height:44px}fieldset{min-width:0}.v10-cat-checks{display:flex;flex-wrap:wrap;gap:8px}.v10-cat-checks .check{min-height:44px;display:inline-flex;align-items:center;gap:8px}.v17-camera-actions{display:grid;grid-template-columns:1fr 1fr}.v17-camera-actions button{justify-content:center;padding:10px}.v13-lightbox .v13-lightbox-inner{max-height:calc(100dvh - 36px)}.v13-lightbox figure img{max-height:70dvh;object-fit:contain}}
@media(max-width:370px){.v17-camera-actions{grid-template-columns:1fr}.brand-logo{width:38px;height:38px}.media-grid.gallery{gap:7px}.v10-preview{grid-template-columns:1fr}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;animation-duration:.01ms!important;transition-duration:.01ms!important}}

/* V17.1 — calm visual system and four-part navigation */
:root{--ink:#263b37;--muted:#667e76;--green:#287a60;--cream:#fbfaf7;--line:#e4ebe5;--mint:#e7f4eb;--peach:#fce8dc;--v171-shadow:0 10px 34px rgba(42,70,55,.065)}
body{background:radial-gradient(ellipse at 95% 0%,#f0f8f0 0%,transparent 34%),var(--cream)}
.top{box-shadow:0 3px 18px rgba(28,58,43,.035)}.nav{gap:14px}.brand{flex-shrink:0}.brand:hover{text-decoration:none}
.pagehead{padding-top:27px}.pagehead h1{line-height:1.15;margin:.3em 0 .6em}.eyebrow{letter-spacing:.13em}
.panel{box-shadow:var(--v171-shadow);border-color:#e7eee8;border-radius:22px}.panel:hover{border-color:#d8e8dc}
.hero{background:linear-gradient(115deg,#e7f5e9,#fff1e5);border:1px solid #e6efe5;box-shadow:var(--v171-shadow)}
.btn,button{transition:background .18s ease,transform .18s ease,box-shadow .18s ease}.btn:hover,button:hover{filter:none;box-shadow:0 4px 12px rgba(29,91,65,.13)}
input,textarea,select{border-color:#cfdfd5}input:focus,textarea:focus,select:focus{border-color:#328368;box-shadow:0 0 0 3px #d9f0e4;outline:0}
.cat-card,.gallery-card{transition:transform .2s ease,box-shadow .2s ease}.cat-card:hover{transform:translateY(-2px)}
.v171-desktop{align-items:center;gap:7px;flex-wrap:nowrap}.v171-desktop .nav-link,.v171-nav-group>summary{white-space:nowrap;padding:10px 12px;border-radius:12px;color:#385a4b;font-weight:700;font-size:.87rem;cursor:pointer;list-style:none}
.v171-nav-group>summary::-webkit-details-marker{display:none}.v171-nav-group>summary span{margin-left:6px;color:#739182}.v171-nav-group{position:relative}.v171-nav-group>summary:hover,.v171-nav-group[open]>summary,.v171-nav-group.is-current>summary,.v171-desktop .nav-link.active{background:#e9f5ed;color:#236e55}
.v171-dropdown{position:absolute;top:calc(100% + 12px);left:0;z-index:55;min-width:230px;background:#fff;border:1px solid #e1ebe3;box-shadow:0 18px 40px #173c2720;border-radius:16px;padding:8px;display:grid;gap:3px}
.v171-dropdown a{display:flex;align-items:center;gap:10px;padding:11px 12px;border-radius:10px;font-size:.88rem;color:#365b49;text-decoration:none}.v171-dropdown a:hover,.v171-dropdown a[aria-current=page]{background:#eaf6ee;color:#22694e}.v171-nav-icon{width:22px;display:inline-flex;justify-content:center;font-size:1.15rem;flex-shrink:0}
.v171-mobile-section{padding:5px 0 10px;border-bottom:1px solid #edf1ec}.v171-mobile-section:last-child{border-bottom:0}.v171-mobile-heading{padding:9px 13px 3px;color:#778b7f;text-transform:uppercase;font-size:.69rem;letter-spacing:.11em;font-weight:800}.v171-mobile-section .mobile-nav-link{display:flex;align-items:center;gap:9px}
@media(min-width:1250px){.v171-desktop{display:flex!important}.nav .nav-actions{display:flex!important}.mobile-menu{display:none!important}}
@media(max-width:1249px){.v171-desktop{display:none!important}.nav .nav-actions{display:none!important}.mobile-menu{display:block!important}}
@media(max-width:600px){.pagehead{padding-top:21px}.panel{box-shadow:0 5px 20px #173c270b}.v171-mobile-heading{padding-top:12px}}
@media(prefers-reduced-motion:reduce){.cat-card,.gallery-card{transition:none}.cat-card:hover{transform:none}}

/* V17.1.1 – Accessible, aligned single-open navigation dropdowns. */
.v171-nav-group>summary{display:inline-flex;align-items:center;justify-content:center;gap:9px;line-height:1.35;min-height:42px}
.v171-nav-group>summary .v171-chevron{display:inline-block;flex:none;width:7px;height:7px;margin:0 2px 3px 0;border-right:1.8px solid currentColor;border-bottom:1.8px solid currentColor;transform:rotate(45deg);transition:transform .16s ease;color:#62816e}
.v171-nav-group[open]>summary .v171-chevron{transform:translateY(3px) rotate(225deg)}
.v171-nav-group:not([open])>.v171-dropdown,.user-menu:not([open])>.user-dropdown{display:none!important}
.v171-nav-group[open]{z-index:80}.v171-nav-group .v171-dropdown{top:calc(100% + 6px)}
.v171-nav-group>summary:focus-visible,.user-menu>summary:focus-visible{outline:3px solid #a9d8c0;outline-offset:2px}
@media(prefers-reduced-motion:reduce){.v171-nav-group>summary .v171-chevron{transition:none}}

/* V17.1.3: exclusive native details groups; keep closed panels inert */
.v171-nav-group:not([open])>.v171-dropdown,.user-menu:not([open])>.user-dropdown{display:none!important;visibility:hidden!important;pointer-events:none!important}
.v171-nav-group[open]>.v171-dropdown,.user-menu[open]>.user-dropdown{visibility:visible;pointer-events:auto}

/* Purrbook V17.2 – emotionale Startseite und Profilnavigation */
.v172-home-welcome{margin:2.5rem 0 2rem}.v172-section-intro{margin-bottom:1.1rem}.v172-section-intro h2{margin:.35rem 0;font-size:clamp(1.7rem,3vw,2.5rem)}.v172-section-intro p{margin:.2rem 0;color:#61746b}.v172-quicklinks{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1rem}.v172-quicklinks a{display:flex;flex-direction:column;gap:.35rem;min-height:132px;padding:1.35rem 1.5rem;border:1px solid #e2eae2;border-radius:22px;background:linear-gradient(145deg,#fff,#f5f9f3);color:#274c40;text-decoration:none;transition:transform .2s ease,box-shadow .2s ease}.v172-quicklinks a:hover,.v172-quicklinks a:focus-visible{transform:translateY(-3px);box-shadow:0 12px 30px #234b3214}.v172-quicklinks a>span{font-size:1.5rem;color:#37836c}.v172-quicklinks strong{font-size:1.05rem}.v172-quicklinks small{color:#62796e}.v172-on-this-day{margin:1.5rem 0;padding:1.5rem}.v172-memory-list{display:grid;gap:.6rem}.v172-memory-list a{display:flex;align-items:center;gap:1rem;padding:1rem;border:1px solid #e7eee8;border-radius:15px;color:inherit;text-decoration:none;background:#fff}.v172-memory-list a>span:first-child{color:#d78975;font-size:1.4rem}.v172-memory-list a>span:last-child{margin-left:auto}.v172-memory-list a div{display:grid;gap:.2rem}.v172-memory-list small{color:#6a7b72}.v172-featured{margin:2rem 0}.v172-featured-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:.8rem}.v172-featured-grid a{display:block;overflow:hidden;border-radius:19px;aspect-ratio:1.2;background:#e8f0e7}.v172-featured-grid img{width:100%;height:100%;object-fit:cover;transition:transform .25s ease}.v172-featured-grid a:hover img{transform:scale(1.045)}.v172-profile-nav{display:flex;flex-wrap:wrap;gap:.6rem;margin:1.3rem 0 1.5rem}.v172-profile-nav a{padding:.65rem 1rem;border:1px solid #dce8de;border-radius:999px;background:#f4f9f4;color:#285b4b;text-decoration:none;font-weight:600;font-size:.9rem}.v172-profile-nav a:hover,.v172-profile-nav a:focus-visible{background:#dfeee4}.v172-profile-intro{padding:1.6rem 1.8rem;margin-bottom:2rem;background:linear-gradient(110deg,#f5faf3,#fff8f2)}.v172-profile-intro h2{margin:.3rem 0}.v172-profile-intro p{color:#63766c}.v172-profile-stats{display:flex;flex-wrap:wrap;gap:1rem;margin-top:1.3rem}.v172-profile-stats>div{display:flex;flex-direction:column;gap:.2rem;min-width:120px;padding:.8rem 1rem;border-radius:15px;background:#ffffffba}.v172-profile-stats strong{color:#286d59;font-size:1.2rem}.v172-profile-stats span{color:#6b796f;font-size:.85rem}.v172-photo-empty{text-align:center;padding:2rem;margin:1rem 0}.v172-photo-empty>span{font-size:2rem;color:#d88e79}#lebensreise,#gemeinsam,#geschichten,#fotos{scroll-margin-top:100px}@media(max-width:760px){.v172-quicklinks{grid-template-columns:1fr}.v172-quicklinks a{min-height:unset;padding:1rem 1.2rem}.v172-featured-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.v172-profile-nav{gap:.4rem}.v172-profile-nav a{font-size:.82rem;padding:.55rem .8rem}.v172-profile-intro{padding:1.2rem}}
@media(prefers-reduced-motion:reduce){.v172-quicklinks a,.v172-featured-grid img{transition:none}}

/* V17.3 – Medien und Erinnerungen als zusammenhaengender Bereich */
.v173-collection-nav{display:flex;gap:.55rem;flex-wrap:wrap;margin:1rem 0 1.6rem;padding:.45rem;background:#edf4ee;border:1px solid #e0e9e1;border-radius:20px}
.v173-collection-nav a{display:inline-flex;align-items:center;gap:.45rem;padding:.72rem 1.05rem;border-radius:14px;text-decoration:none;color:#416457;font-size:.91rem;font-weight:700;transition:background .15s,color .15s}
.v173-collection-nav a:hover,.v173-collection-nav a:focus-visible{background:#fff;color:#276d57}
body:has(.v173-collection-nav) .v173-collection-nav a{white-space:nowrap}
body:has(.v10-gallery-intro) .v173-nav-gallery,body:has(.v173-album-grid) .v173-nav-albums,body:has(.v9-story-grid) .v173-nav-stories,body:has(.v173-memory-hint) .v173-nav-memories{background:#fff;color:#246b55;box-shadow:0 2px 10px #2b5d3b12}
.v173-filter-panel{background:#fff;border:1px solid #e0e8e1;border-radius:18px;margin:1rem 0 1.4rem;overflow:hidden}
.v173-filter-panel summary{display:flex;align-items:center;gap:1rem;cursor:pointer;padding:1rem 1.25rem;font-weight:800;color:#2a6554;list-style:none}
.v173-filter-panel summary::-webkit-details-marker{display:none}.v173-filter-panel summary:after{content:'⌄';margin-left:auto;font-size:1.2rem}.v173-filter-panel[open] summary:after{content:'⌃'}
.v173-filter-panel summary span{font-weight:400;color:#74847a;font-size:.85rem}.v173-filter-panel .filters{padding:0 1rem 1rem;margin:0}
.v173-empty{text-align:center;padding:2.4rem 1.5rem!important;margin:1rem 0 2rem}.v173-empty>span{display:block;font-size:2.4rem;color:#6a9b85;margin-bottom:.5rem}.v173-empty h2{margin:.35rem 0}.v173-empty p{max-width:550px;margin:0 auto 1.2rem;color:#687c70}
.v173-memory-hint{background:#f2f8f2;border:1px solid #dfeae1;border-radius:16px;padding:1.2rem;margin:1rem 0 2rem;color:#526b5d}.v173-memory-hint a{font-weight:700}
@media(max-width:650px){.v173-collection-nav{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.3rem}.v173-collection-nav a{font-size:.82rem;padding:.7rem .6rem}.v173-filter-panel summary span{display:none}.v173-empty{padding:1.5rem 1rem!important}}
@media(prefers-reduced-motion:reduce){.v173-collection-nav a{transition:none}}


/* V17.3.1 – Purrbook Atelier: warm, modern, unmistakably for our cats */
:root{--ink:#233d37;--muted:#71847d;--green:#26735d;--cream:#fffcf8;--mint:#e8f6ec;--peach:#ffe6dc;--line:#e7ede7;--shadow:0 16px 50px rgba(47,77,62,.075);--pb-radius:26px}
html{scroll-behavior:smooth}body{background:radial-gradient(circle at 8% 9%,#eaf8ed 0,transparent 28%),radial-gradient(circle at 94% 17%,#fff0e6 0,transparent 26%),#fffcf8;color:var(--ink);font-family:ui-sans-serif,system-ui,-apple-system,'Segoe UI',sans-serif;letter-spacing:-.008em}
.top{background:rgba(255,252,248,.94);backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px);border-bottom:1px solid #e7ece5;box-shadow:0 5px 28px rgba(38,75,56,.035)}
.brand{letter-spacing:-.045em}.brand-logo{filter:drop-shadow(0 5px 8px rgba(34,97,72,.10))}.brand small{letter-spacing:.13em}
.pagehead h1{font-size:clamp(1.9rem,3.8vw,3.4rem);letter-spacing:-.06em;line-height:1.09}.eyebrow{font-size:.72rem;letter-spacing:.15em;font-weight:850;color:#d47c68}
h1,h2,h3{letter-spacing:-.045em}h2{line-height:1.17}.section-heading{gap:12px;align-items:end;margin-bottom:18px}.section-heading h2{font-size:clamp(1.55rem,2.6vw,2.35rem);margin:.28rem 0}
.section-heading>a{font-weight:750;text-decoration:none;color:var(--green);border-bottom:1px solid #bad8c7;padding-bottom:3px}.section-heading>a:hover{border-color:var(--green)}
.panel{border:1px solid rgba(207,225,211,.7);border-radius:var(--pb-radius);box-shadow:var(--shadow);background:#fff}.panel:hover{border-color:#d6e7da}
.btn,button.btn,a.btn{border-radius:14px;font-weight:800;letter-spacing:-.012em;box-shadow:0 6px 16px rgba(30,100,72,.09)}.btn.ghost{box-shadow:none;background:#fffaf5;border:1px solid #dce8de;color:#356e59}.btn:hover{transform:translateY(-1px)}
.dream-hero{isolation:isolate;min-height:440px;border-radius:38px;padding:clamp(28px,5.4vw,76px);background:radial-gradient(circle at 90% 10%,#ffdfd2 0,transparent 38%),radial-gradient(circle at 0% 90%,#e0f5e6 0,transparent 50%),linear-gradient(120deg,#ecf9ee,#fff6e8);border:1px solid #e8eee2;box-shadow:0 24px 70px rgba(58,92,62,.085)}
.dream-hero:after{content:'✦';position:absolute;right:4%;top:8%;color:#e7ad92;opacity:.5;font-size:clamp(28px,5vw,72px);pointer-events:none}
.dream-copy h2{font-size:clamp(3rem,6.2vw,6.3rem);line-height:1.01;letter-spacing:-.08em;font-weight:900}.dream-copy h2 em{font-style:normal;color:#d98572}.dream-copy>p{font-size:clamp(1rem,1.45vw,1.16rem);max-width:34rem;line-height:1.75;color:#5c756a}
.dream-portraits{gap:15px}.portrait{box-shadow:0 16px 35px #42694a20;border:7px solid #fff;transition:transform .22s ease,box-shadow .22s ease}.portrait:hover{transform:rotate(0deg) translateY(-6px);box-shadow:0 22px 40px #42694a2c}
.v172-home-welcome{margin:3.3rem 0 2.5rem}.v172-quicklinks{gap:16px}.v172-quicklinks a{border-radius:24px;background:linear-gradient(150deg,#fff,#fffaf6);border:1px solid #e4ede5;box-shadow:0 10px 30px #315f4210;padding:clamp(18px,2.2vw,28px);transition:transform .2s ease,box-shadow .2s ease}.v172-quicklinks a:hover{transform:translateY(-4px);box-shadow:0 20px 40px #315f421c}.v172-quicklinks a>span{display:grid;place-items:center;width:52px;height:52px;background:#e9f5ec;color:#28745b;border-radius:17px;font-size:1.7rem;margin-bottom:12px}
.v172-featured-grid{gap:12px}.v172-featured-grid a{border-radius:22px;overflow:hidden;box-shadow:0 12px 28px #304e3e17;display:block;position:relative}.v172-featured-grid img{width:100%;height:100%;object-fit:cover;transition:transform .3s ease}.v172-featured-grid a:hover img{transform:scale(1.045)}
.dream-cat-grid{gap:18px}.dream-cat{border-radius:25px;background:#fff;border:1px solid #e7eee7;box-shadow:0 10px 28px #365b4312;transition:transform .22s ease,box-shadow .22s ease;overflow:hidden}.dream-cat:hover{transform:translateY(-5px);box-shadow:0 20px 44px #365b4320}.dream-cat-photo{overflow:hidden}.dream-cat-photo img{transition:transform .35s ease}.dream-cat:hover .dream-cat-photo img{transform:scale(1.04)}
.cat-card{border-radius:24px;overflow:hidden}.cat-card:hover{transform:translateY(-4px);box-shadow:0 20px 40px #315f421a}
.v7-composer{border-radius:25px;background:linear-gradient(110deg,#fff,#fff5ee);border:1px solid #f0e6dc;box-shadow:0 10px 30px #9e745512}.v7-composer-icon{background:#fbe8dc;color:#be765d;border-radius:18px}
.v7-story{border-radius:20px;overflow:hidden}.v7-story img{transition:transform .25s ease}.v7-story:hover img{transform:scale(1.04)}
.v173-collection-nav{background:#f0f6f0;border:1px solid #e3eee4;border-radius:19px;gap:5px;padding:6px}.v173-collection-nav a{border-radius:13px}.v173-filter-panel{border-radius:20px;box-shadow:0 8px 25px #375b4010}
.gallery-card{border-radius:19px;overflow:hidden;border:1px solid #e8eee8;box-shadow:0 8px 24px #355f4312}.gallery-card:hover{transform:translateY(-3px);box-shadow:0 16px 35px #355f431c}
.v172-profile-nav{border-radius:18px}.v172-profile-stats>*{border-radius:18px}.v16-remembrance{border-radius:25px;background:linear-gradient(115deg,#fff4f0,#f7f0ff);border-color:#eadde6}
input,textarea,select{border-radius:13px;background:#fff;border:1px solid #dce8de;min-height:44px}input:focus,textarea:focus,select:focus{border-color:#34836b;box-shadow:0 0 0 4px #dff3e8}
.v171-dropdown,.user-dropdown{border-radius:17px;box-shadow:0 20px 50px #244b3626} .v171-nav-group:not([open])>.v171-dropdown,.user-menu:not([open])>.user-dropdown{display:none!important}
::selection{background:#d3eeda;color:#254d3b}
@media(max-width:850px){.dream-hero{min-height:0;border-radius:29px;padding:30px 24px}.dream-copy h2{font-size:clamp(2.8rem,9vw,4.7rem)}.dream-portraits{gap:9px}.portrait{border-width:4px}.v172-home-welcome{margin:2rem 0}}
@media(max-width:600px){.dream-hero{border-radius:25px}.section-heading{align-items:start}.section-heading h2{font-size:1.65rem}.v172-quicklinks{gap:10px}.v172-quicklinks a{border-radius:18px;padding:15px}.v172-quicklinks a>span{width:42px;height:42px;border-radius:14px}.panel{border-radius:19px}.dream-cat-grid{gap:10px}.dream-cat{border-radius:18px}.v172-featured-grid a{border-radius:14px}.pagehead h1{font-size:2.05rem}}
@media(prefers-reduced-motion:reduce){.portrait,.dream-cat,.dream-cat-photo img,.v172-quicklinks a,.v172-featured-grid img,.v7-story img{transition:none!important;transform:none!important}}

/* ================================================================
   PURRBOOK V17.3.2 — MOONLIT MEMORIES
   Editorial pet-journal design: plum / lilac / apricot / ivory.
   Presentation only. Native details[name] dropdown behavior untouched.
   ================================================================ */
:root{--ink:#30273d;--muted:#796f82;--mint:#f0e8fa;--green:#69417e;--cream:#fffcf8;--line:#eee5ee;--peach:#ffe4d4;--pb-radius:24px;--shadow:0 12px 40px rgba(66,38,83,.065)}
html{scroll-behavior:smooth}body{background:radial-gradient(ellipse at 0% 5%,#f4ecff 0,transparent 35%),radial-gradient(ellipse at 100% 35%,#fff0e6 0,transparent 36%),linear-gradient(180deg,#fffcf9,#fcf9ff 75%,#fffaf5);color:var(--ink);font-family:'Nunito Sans',ui-sans-serif,system-ui,-apple-system,'Segoe UI',sans-serif;line-height:1.62}a{color:#69417e}a:hover{color:#523063}h1,h2,h3{color:#30243d;letter-spacing:-.05em}h1{font-weight:850}h2{font-weight:820}p{line-height:1.72}.wrap{width:min(1200px,calc(100% - 40px))}
.top{background:rgba(255,251,250,.94);border-bottom:1px solid #efe5ef;box-shadow:0 5px 24px #3925440b;backdrop-filter:blur(20px);-webkit-backdrop-filter:blur(20px)}.brand{color:#35253f}.brand small{color:#8d718e}.brand-logo{filter:drop-shadow(0 5px 10px #70457d20)}.nav-link,.desktop-nav a{color:#51445c}.nav-link:hover,.desktop-nav a:hover{color:#69417e}.v171-nav-group[open]>summary,.user-menu[open]>summary{color:#69417e;background:#f5eafa}.v171-dropdown,.user-dropdown{background:#fffdfa;border:1px solid #eee2ee;box-shadow:0 22px 55px #38234124;border-radius:20px}.v171-dropdown a:hover,.user-dropdown a:hover{background:#f7effa;color:#59336d}
/* Protect the proven browser-native exclusive dropdown fix. */
.v171-nav-group:not([open])>.v171-dropdown,.user-menu:not([open])>.user-dropdown{display:none!important}
.eyebrow{color:#b86b78;letter-spacing:.18em;font-weight:900}.pagehead{padding-top:30px}.pagehead h1{font-size:clamp(2.1rem,4.2vw,3.8rem);font-weight:900;letter-spacing:-.07em}.section-heading h2{font-size:clamp(1.65rem,2.7vw,2.55rem);font-weight:850}.section-heading>a{color:#73498b;border-bottom-color:#e0c7e8}.section-heading>a:hover{border-bottom-color:#73498b}
.panel{background:rgba(255,255,255,.93);border:1px solid #f0e8ee;border-radius:26px;box-shadow:0 14px 40px #5034540b}.panel:hover{border-color:#e6d8e9}.tag,.badge{background:#f3e9f8;color:#68417c}.notice{background:#f4ebfa;color:#503662;border:1px solid #e9d9f2}.meta,small{color:#786f81}
.btn,button.btn,a.btn,button[type=submit]{background:#69417e;color:#fff;border-radius:15px;font-weight:800;box-shadow:0 7px 18px #69417e24;transition:transform .2s ease,box-shadow .2s ease,background .2s ease}.btn:hover,button.btn:hover,a.btn:hover,button[type=submit]:hover{background:#553169;color:#fff;box-shadow:0 12px 24px #69417e2d;transform:translateY(-2px)}.btn.ghost,.btn.secondary{background:#f5ebf8;color:#653c78;border:1px solid #e9d8f0;box-shadow:none}.btn.ghost:hover,.btn.secondary:hover{background:#ecdef3;color:#523065}.danger,.btn.danger{background:#a84259;color:white}.danger:hover,.btn.danger:hover{background:#92344b}a:focus-visible,button:focus-visible,summary:focus-visible{outline:3px solid #d4a5dc;outline-offset:3px}
input,textarea,select{border:1px solid #e7dce9;border-radius:15px;background:#fffdfd;color:#352941;min-height:46px}input:focus,textarea:focus,select:focus{border-color:#9766ae;outline:0;box-shadow:0 0 0 4px #f0e1f5}input[type=checkbox],input[type=radio]{accent-color:#704486}
.dream-hero{min-height:450px;border-radius:40px;background:radial-gradient(circle at 90% 10%,#ffdcca 0,transparent 38%),radial-gradient(circle at 8% 90%,#e9d9f8 0,transparent 49%),linear-gradient(120deg,#f5ecfc 0%,#fff8f4 65%,#fff1e7);border:1px solid #eee2f1;box-shadow:0 26px 70px #4f2c6314}.dream-hero:after{content:'✧';color:#c88cb1;opacity:.65}.dream-copy h2{color:#382443;font-weight:950;letter-spacing:-.085em}.dream-copy h2 em{color:#ad607e}.dream-copy>p{color:#685c70}.portrait{border:7px solid #fffdfb;box-shadow:0 16px 35px #593c6b25}.portrait:hover{box-shadow:0 22px 40px #593c6b30}
.v172-home-welcome{margin-top:3.5rem}.v172-quicklinks a{background:linear-gradient(145deg,#fff,#fff8fd);border:1px solid #eee3f0;border-radius:26px;box-shadow:0 12px 32px #65436d10}.v172-quicklinks a:hover{box-shadow:0 20px 42px #65436d20}.v172-quicklinks a>span{background:#f1e3f9;color:#74488a;border-radius:18px}.v172-quicklinks a:nth-child(2)>span{background:#ffeadc;color:#ac6753}.v172-quicklinks a:nth-child(3)>span{background:#f9e5ed;color:#a65378}.v172-featured-grid a{border-radius:25px;box-shadow:0 12px 30px #53345d20}
.dream-cat{background:#fffdfc;border:1px solid #f0e6ed;border-radius:29px;box-shadow:0 12px 35px #4b30550f}.dream-cat:hover{box-shadow:0 22px 46px #4b305526}.dream-cat-photo,.cat-cover{background:#f2e8f8}.cat-card{border-radius:27px}.cat-card:hover{box-shadow:0 20px 40px #51345c21}.cat-profile-hero{border-radius:30px}.avatar{background:#f3e8f7}.v172-profile-nav{background:#f7f0fa;border:1px solid #eddef2;border-radius:20px}.v172-profile-stats>*{background:#fff9fb;border:1px solid #f0e5ef;border-radius:20px}
.v7-composer{background:linear-gradient(120deg,#fff,#fdf0f6);border:1px solid #f3e1ec;border-radius:27px;box-shadow:0 12px 34px #77445e12}.v7-composer-icon{background:#f8dfeb;color:#a64f76}.v7-story{border-radius:23px}.v173-collection-nav{background:#f5eafa;border:1px solid #ead9f0;border-radius:21px}.v173-collection-nav a{border-radius:15px;color:#6b427d}.v173-filter-panel{border-radius:23px;box-shadow:0 10px 30px #65436d12}.gallery-card{border-radius:23px;border:1px solid #eee3ed;box-shadow:0 10px 30px #52335d15}.gallery-card:hover{box-shadow:0 20px 40px #52335d25}.v16-remembrance{background:linear-gradient(120deg,#fff3f2,#f4eafa);border:1px solid #eedbe7;border-radius:29px}
/* Soft framed photographs, subtle editorial depth */
.media-frame img,.media-frame video{border-radius:17px}.cat-cover img,.dream-cat-photo img,.gallery-card img{object-fit:cover}.v172-featured-grid img{filter:saturate(1.025)}.dream-cat,.gallery-card,.v172-quicklinks a{transition:transform .22s ease,box-shadow .22s ease,border-color .22s ease}::selection{background:#e8ccec;color:#3c2450}
@media(max-width:850px){.dream-hero{border-radius:30px}.wrap{width:min(1200px,calc(100% - 28px))}.mobile-menu-panel{background:#fffcfb}.v171-mobile-section{border-color:#efe2ef}}
@media(max-width:600px){.dream-hero{border-radius:26px}.dream-copy h2{font-size:clamp(2.7rem,11vw,4.5rem)}.panel{border-radius:21px}.dream-cat{border-radius:21px}.v172-quicklinks a{border-radius:20px}.pagehead h1{font-size:2.2rem}.portrait{border-width:4px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}.btn,.dream-cat,.gallery-card,.v172-quicklinks a{transition:none!important;transform:none!important}}

/* V17.3.3: Ruhige, editorial gestaltete Katzenprofile */
.purr-cat-page{max-width:1100px;margin:0 auto 4rem}.purr-cat-head{overflow:hidden;background:#fffdfb;border:1px solid #eadfe9;border-radius:32px;box-shadow:0 20px 60px #51324d12}.purr-cat-cover{height:clamp(220px,32vw,365px);background:linear-gradient(135deg,#e8d9f2,#f9e4da);overflow:hidden}.purr-cat-cover>img{width:100%;height:100%;object-fit:cover;display:block}.purr-cat-cover-placeholder{height:100%;display:grid;place-items:center;font-size:8rem;color:#fff9}.purr-cat-head-body{padding:0 clamp(22px,4.5vw,56px) clamp(28px,4vw,48px)}.purr-cat-identity{display:flex;align-items:end;gap:24px;margin-top:-60px;position:relative}.purr-cat-avatar{width:144px;height:144px;flex:none;border:7px solid #fffdfb;border-radius:34px;object-fit:cover;background:#f1e4f4;box-shadow:0 12px 28px #52325220}.purr-cat-avatar-empty{display:grid;place-items:center;font-size:3rem}.purr-cat-name{padding-bottom:8px;min-width:0}.purr-cat-name h1{font-size:clamp(2.5rem,5vw,4.6rem);letter-spacing:-.065em;margin:.2rem 0;color:#432a4c}.purr-cat-name>p{font-size:1.08rem;color:#8c708b;margin:0}.purr-cat-facts{display:flex;flex-wrap:wrap;gap:9px;margin:28px 0 16px}.purr-cat-facts span{background:#f7f0f8;border:1px solid #eee0f0;color:#674e6e;padding:8px 14px;border-radius:999px;font-size:.88rem;font-weight:650}.purr-cat-character{font-weight:700;font-size:1.08rem;color:#704e78;margin:14px 0 6px}.purr-cat-biography{max-width:75ch;color:#594e5b;line-height:1.8;margin:8px 0 22px}.purr-cat-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:22px}.purr-cat-memory{display:flex;gap:16px;background:linear-gradient(120deg,#fbf2fa,#fff3ed);border:1px solid #f0dfe9;padding:20px 22px;border-radius:22px;margin-top:22px}.purr-cat-memory>span{font-size:1.7rem;color:#a679a8}.purr-cat-memory strong{color:#694a71}.purr-cat-memory p{margin:4px 0;color:#725e71}.purr-cat-tabs{position:sticky;top:82px;z-index:5;display:flex;flex-wrap:wrap;gap:6px;margin:22px 0 12px;padding:7px;background:#fffdfbed;border:1px solid #eaddE8;border-radius:20px;box-shadow:0 8px 25px #5738520b;backdrop-filter:blur(12px)}.purr-cat-tabs a{padding:10px 17px;border-radius:13px;color:#6a5270;font-weight:750;text-decoration:none}.purr-cat-tabs a:hover,.purr-cat-tabs a:focus-visible{background:#f3e6f5;color:#593a65}.purr-cat-summary{display:flex;gap:22px;flex-wrap:wrap;margin:0 0 36px;padding:0 8px;color:#857384;font-size:.9rem}.purr-cat-summary strong{font-size:1.18rem;color:#513557;margin-right:5px}.purr-cat-page .section-heading{margin-top:46px;margin-bottom:14px}.purr-cat-page .section-heading h2{font-size:clamp(1.6rem,3vw,2.2rem);color:#49324f}.purr-cat-page .dream-gallery{margin-bottom:22px}.purr-cat-page .v8-life,.purr-cat-page .v16-shared{margin:0 0 36px}.purr-cat-page .v8-diary-link{margin-top:32px}.purr-cat-page [id]{scroll-margin-top:175px}
@media(max-width:700px){.purr-cat-head{border-radius:23px}.purr-cat-cover{height:220px}.purr-cat-identity{align-items:center;gap:14px;margin-top:-43px}.purr-cat-avatar{width:94px;height:94px;border-width:5px;border-radius:25px}.purr-cat-name{padding-top:38px}.purr-cat-name h1{font-size:2.25rem}.purr-cat-name .eyebrow{font-size:.6rem}.purr-cat-head-body{padding:0 20px 26px}.purr-cat-tabs{position:static;overflow-x:auto;flex-wrap:nowrap;border-radius:15px}.purr-cat-tabs a{white-space:nowrap;padding:10px 12px;font-size:.85rem}.purr-cat-summary{gap:12px}.purr-cat-facts{margin-top:22px}.purr-cat-page .section-heading{margin-top:34px}}
@media(prefers-reduced-motion:reduce){.purr-cat-tabs a{transition:none}}

/* V17.3.4 – lesbarer Profilkopf auf jedem Titelbild */
.purr-cat-identity{align-items:flex-end;gap:18px;margin-top:-66px;isolation:isolate}
.purr-cat-name{position:relative;z-index:1;min-width:0;max-width:min(100%,700px);padding:16px 25px 17px;border-radius:23px;background:#fffdfb;background:linear-gradient(125deg,#fffdfb 0%,#fcf5fc 100%);border:1px solid #eadde9;box-shadow:0 12px 35px rgba(53,28,61,.16);overflow-wrap:anywhere}
.purr-cat-name .eyebrow{display:block!important;color:#704486!important;background:#f0e3f5!important;border:1px solid #e8d3ef!important;border-radius:999px;padding:5px 11px!important;font-size:.72rem!important;font-weight:800!important;letter-spacing:.09em!important;line-height:1.35!important;text-shadow:none!important;opacity:1!important;width:max-content;max-width:100%}
.purr-cat-name h1{color:#39233f!important;text-shadow:none!important;line-height:1.08;margin:9px 0 5px!important}
.purr-cat-name>p{color:#66526a!important;text-shadow:none!important}
.purr-cat-avatar{position:relative;z-index:2}
@media(max-width:700px){.purr-cat-identity{margin-top:-46px;gap:10px;align-items:flex-start}.purr-cat-avatar{width:86px;height:86px}.purr-cat-name{padding:12px 14px 13px;border-radius:17px;margin-top:5px;flex:1}.purr-cat-name h1{font-size:clamp(1.55rem,7vw,2.4rem)}.purr-cat-name .eyebrow{font-size:.57rem!important;letter-spacing:.045em!important;padding:4px 8px!important}.purr-cat-name>p{font-size:.87rem}.purr-cat-head-body{padding-left:14px;padding-right:14px}}
@media(max-width:370px){.purr-cat-identity{gap:7px}.purr-cat-avatar{width:68px;height:68px;border-width:4px}.purr-cat-name{padding:10px}.purr-cat-name h1{font-size:1.55rem}}

/* V17.3.5 – Nur Schrift, keine Karten oder Labels im Profil-Titelbild. */
.purr-cat-name{background:transparent!important;border:0!important;box-shadow:none!important;border-radius:0!important;padding:0 0 8px!important;overflow:visible!important;filter:none!important}
.purr-cat-name .eyebrow{display:block!important;width:auto!important;max-width:100%;background:transparent!important;border:0!important;border-radius:0!important;padding:0!important;color:#38243f!important;font-weight:900!important;letter-spacing:.13em!important;text-shadow:0 1px 2px #fff,0 0 7px #fff,0 0 17px rgba(255,255,255,.95),0 2px 25px rgba(255,255,255,.9)!important}
.purr-cat-name h1{color:#39233f!important;margin:.2rem 0!important;text-shadow:0 1px 2px #fff,0 0 8px #fff,0 0 20px rgba(255,255,255,.98),0 3px 32px rgba(255,255,255,.9)!important}
.purr-cat-name>p{color:#55405e!important;text-shadow:0 1px 3px #fff,0 0 10px #fff,0 0 20px rgba(255,255,255,.95)!important}
@media(max-width:700px){.purr-cat-name{margin-top:5px!important;padding:0 0 5px!important}.purr-cat-name .eyebrow{font-size:.62rem!important;letter-spacing:.08em!important}}

/* V17.3.6: Bildausschnitt-Editor für Katzenporträts und Titelbilder */
.purr-crop-dialog{border:0;border-radius:24px;padding:0;width:min(94vw,850px);max-height:92vh;background:#fffafc;color:#46334c;box-shadow:0 30px 90px #25112c66}
.purr-crop-dialog::backdrop{background:#24152cbb;backdrop-filter:blur(5px)}
.purr-crop-shell{padding:clamp(16px,3vw,28px);display:grid;gap:16px}.purr-crop-top{display:flex;align-items:flex-start;justify-content:space-between;gap:15px}.purr-crop-top h2{margin:0 0 4px;color:#51315e}.purr-crop-top p{margin:0}.purr-crop-close{border:0;background:#f1e4f5;border-radius:50%;width:38px;height:38px;font-size:25px;cursor:pointer;color:#62436e}.purr-crop-stage{display:flex;align-items:center;justify-content:center;min-height:0;overflow:hidden;background:#e9d9ed;border-radius:18px}.purr-crop-stage canvas{display:block;max-width:100%;max-height:55vh;width:auto;height:auto;aspect-ratio:auto;touch-action:none;cursor:grab}.purr-crop-stage canvas:active{cursor:grabbing}.purr-crop-zoom{display:flex;align-items:center;gap:16px;font-weight:700}.purr-crop-zoom input{flex:1;accent-color:#704486}.purr-crop-buttons{display:flex;justify-content:flex-end;gap:10px;flex-wrap:wrap}
@media(max-width:600px){.purr-crop-dialog{width:96vw;border-radius:18px}.purr-crop-shell{gap:12px}.purr-crop-stage canvas{max-height:48vh}.purr-crop-buttons>*{flex:1}}


/* V17.3.7 – Mediathek: lesbare, responsive Such- und Filtermaske */
.v173-filter-panel .purr-gallery-filters{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px 16px;padding:22px 24px 24px!important;margin:0!important;align-items:end}
.purr-gallery-filters .purr-filter-field{display:flex;flex-direction:column;gap:7px;min-width:0}
.purr-gallery-filters .purr-filter-field>label{font-size:.83rem;line-height:1.35;font-weight:750;color:#5c4168;white-space:normal}
.purr-gallery-filters .purr-filter-field input,.purr-gallery-filters .purr-filter-field select{display:block;width:100%!important;min-width:0!important;max-width:none!important;min-height:48px;padding:11px 13px;border:1px solid #ddcfe3;border-radius:12px;background:#fff;color:#35283d;font-size:.94rem;line-height:1.35;box-shadow:none}
.purr-gallery-filters .purr-filter-field input:focus,.purr-gallery-filters .purr-filter-field select:focus{outline:3px solid #d9bce9;outline-offset:1px;border-color:#865a99}
.purr-gallery-filters .purr-filter-search{grid-column:span 2}
.purr-gallery-filters .purr-filter-actions{grid-column:1/-1;display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:14px;border-top:1px solid #eee3f1;padding-top:18px;margin-top:2px}
.purr-gallery-filters .purr-filter-favorite{display:inline-flex;align-items:center;gap:10px;font-size:.9rem;font-weight:650;color:#543f60;cursor:pointer}
.purr-gallery-filters .purr-filter-favorite input{width:18px;height:18px;accent-color:#704486;margin:0}
.purr-gallery-filters .purr-filter-buttons{display:flex;gap:10px;flex-wrap:wrap;align-items:center}
.purr-gallery-filters .purr-filter-buttons button,.purr-gallery-filters .purr-filter-buttons .btn{min-height:45px;display:inline-flex;align-items:center;justify-content:center;padding:10px 18px;white-space:nowrap}
@media(max-width:1050px){.v173-filter-panel .purr-gallery-filters{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:720px){.v173-filter-panel .purr-gallery-filters{grid-template-columns:repeat(2,minmax(0,1fr));gap:15px;padding:18px!important}.purr-gallery-filters .purr-filter-search{grid-column:1/-1}.purr-gallery-filters .purr-filter-actions{align-items:stretch}.purr-gallery-filters .purr-filter-buttons{width:100%}.purr-gallery-filters .purr-filter-buttons>*{flex:1}}
@media(max-width:430px){.v173-filter-panel .purr-gallery-filters{grid-template-columns:minmax(0,1fr)}.purr-gallery-filters .purr-filter-search{grid-column:auto}.purr-gallery-filters .purr-filter-buttons{flex-direction:column}.purr-gallery-filters .purr-filter-buttons>*{width:100%}}

/* V17.3.9: Lebenschronik und automatische Erinnerungen */
.purr-inline-edit{display:inline-flex;align-items:center;gap:.35rem;margin:.3rem 0 .65rem;color:#704486;font-weight:700;font-size:.85rem;text-decoration:none}.purr-inline-edit:hover{text-decoration:underline}.purr-memory-intro{margin:1.5rem 0}.purr-memory-intro p{margin:.5rem 0 1rem}.purr-auto-photo-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:1rem;margin:1rem 0 2rem}.purr-auto-photo{display:block;text-decoration:none;color:inherit}.purr-auto-photo-frame{position:relative;aspect-ratio:4/3;background:#f0e8f4;border-radius:18px;overflow:hidden;display:grid;place-items:center}.purr-auto-photo-frame img{width:100%;height:100%;object-fit:cover}.purr-auto-photo small{display:block;margin-top:.4rem;color:#704486}.purr-video-icon{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);display:grid;place-items:center;width:44px;height:44px;background:#ffffffdf;border-radius:50%;color:#704486}.purr-year-notes{margin:2rem 0}.purr-year-note{margin-bottom:1rem}.purr-year-note p{white-space:normal;line-height:1.75}
