/* V1.4.4: frames outside content, never on individual album photos */
#content > :is(header,section,footer){--corner:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 90 90'%3E%3Cg fill='none' stroke='%23b68a48' stroke-width='1.5'%3E%3Cpath d='M3 85V3H85M9 65V9H65M15 45V15H45M9 35Q36 36 35 9M15 28Q29 29 28 15'/%3E%3Cpath d='M17 17Q40 7 48 20Q31 30 17 17Q7 40 20 48Q30 31 17 17' fill='%23d4ad65' fill-opacity='.35'/%3E%3Ccircle cx='17' cy='17' r='4' fill='%238d2028'/%3E%3C/g%3E%3C/svg%3E");border:3px double #b68a48;border-radius:2px;isolation:isolate;}
#content > :is(header,section,footer)::before,#content > :is(header,section,footer)::after{content:"";position:absolute;left:7px;right:7px;height:clamp(38px,8vw,76px);pointer-events:none;background-image:var(--corner),var(--corner);background-size:contain;background-repeat:no-repeat;background-position:left top,right top;z-index:0}
/* separate mirrored corners using two pseudo-elements plus SVG background */
#content > :is(header,section,footer)::before{top:7px;background-image:var(--corner),url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 90 90'%3E%3Cg transform='translate(90 0) scale(-1 1)' fill='none' stroke='%23b68a48' stroke-width='1.5'%3E%3Cpath d='M3 85V3H85M9 65V9H65M15 45V15H45M9 35Q36 36 35 9M15 28Q29 29 28 15'/%3E%3Cpath d='M17 17Q40 7 48 20Q31 30 17 17Q7 40 20 48Q30 31 17 17' fill='%23d4ad65' fill-opacity='.35'/%3E%3Ccircle cx='17' cy='17' r='4' fill='%238d2028'/%3E%3C/g%3E%3C/svg%3E")}
#content > :is(header,section,footer)::after{bottom:7px;transform:rotate(180deg);background-image:inherit;background-image:var(--corner),url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 90 90'%3E%3Cg transform='translate(90 0) scale(-1 1)' fill='none' stroke='%23b68a48' stroke-width='1.5'%3E%3Cpath d='M3 85V3H85M9 65V9H65M15 45V15H45M9 35Q36 36 35 9M15 28Q29 29 28 15'/%3E%3Cpath d='M17 17Q40 7 48 20Q31 30 17 17Q7 40 20 48Q30 31 17 17' fill='%23d4ad65' fill-opacity='.35'/%3E%3Ccircle cx='17' cy='17' r='4' fill='%238d2028'/%3E%3C/g%3E%3C/svg%3E")}
#content > :is(header,section,footer) > .eyebrow{display:flex;align-items:center;justify-content:center;gap:12px}
#content > :is(header,section,footer) > .eyebrow::before,#content > :is(header,section,footer) > .eyebrow::after{content:"";width:clamp(18px,8vw,65px);height:5px;background:linear-gradient(transparent 1px,#b68a48 1px 2px,transparent 2px 3px,#b68a48 3px 4px,transparent 4px)}
#content > section.tint{background:radial-gradient(ellipse,#fff8e9,#eed9b4)}
#content .families h3::before{content:'❦';display:block;color:#b68a48;font-size:26px;margin-bottom:6px}
#content .count div{border:3px double #d4ad65;border-radius:8px 8px 2px 2px;background:linear-gradient(145deg,#a62d37,#761822)}
#content > section:has(.album){border-color:transparent;background:radial-gradient(ellipse,#fffaf0,#f5e5c8)}
#content > section:has(.album) .gallery,#content > section:has(.album) .gallery > *{border:0}
#content .button,#content form button{box-shadow:0 3px 10px #8d202822;transition:filter .2s}
#content .button:hover,#content form button:hover{filter:brightness(1.12)}
@media(max-width:420px){#content > :is(header,section,footer){border-width:2px}#content > :is(header,section,footer)::before,#content > :is(header,section,footer)::after{left:4px;right:4px}}
/* FIX: Căn chỉnh đối xứng hai cụm hoa */

#content .cover {
    position: relative;
}

#content .cover .flower {
    position: absolute;
    top: 0;
    width: clamp(85px, 25%, 180px);
    margin: 0;
    scale: none;
    pointer-events: none;
}

#content .cover .flower.left {
    left: 0;
    right: auto;
    transform-origin: top left;
    animation: flowerLeft 6s ease-in-out infinite alternate;
}

#content .cover .flower.right {
    right: 0;
    left: auto;
    transform-origin: top right;
    animation: flowerRight 6s ease-in-out infinite alternate;
}

@keyframes flowerLeft {
    from { transform: rotate(0deg); }
    to   { transform: rotate(3deg); }
}

@keyframes flowerRight {
    from { transform: scaleX(-1) rotate(0deg); }
    to   { transform: scaleX(-1) rotate(3deg); }
}