:root {
    --ink: #30382e;
    --muted: #838578;
    --olive: #626e51;
    --olive-dark: #434e37;
    --gold: #aa8d55;
    --cream: #f8f7f2;
    --line: #e5e5da;
    --paper: #fffef9;
    --font: "Tajawal", sans-serif;
    --serif: "Amiri", serif;
}
* {
    box-sizing: border-box;
}
html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
}
body {
    margin: 0;
    background: var(--cream);
    color: var(--ink);
    font-family: var(--font);
    font-size: 16px;
    line-height: 1.7;
}
a {
    color: inherit;
    text-decoration: none;
}
button,
input,
textarea,
select {
    font: inherit;
}
button,
a,
input,
summary,
textarea,
select {
    -webkit-tap-highlight-color: transparent;
}
button {
    cursor: pointer;
}
button:disabled {
    cursor: wait;
    opacity: 0.6;
}
img {
    max-width: 100%;
    display: block;
}
h1,
h2,
h3,
h4,
p {
    margin: 0;
}
h1,
h2 {
    font-family: var(--serif);
    font-weight: 400;
    line-height: 1.45;
}
h3 {
    font-size: 19px;
    font-weight: 500;
}
button {
    color: inherit;
}
svg {
    flex-shrink: 0;
}
::selection {
    background: #dce1cf;
}
a:focus-visible,
button:focus-visible,
summary:focus-visible {
    outline: 3px solid var(--gold);
    outline-offset: 5px;
}
[hidden] {
    display: none !important;
}
.container {
    width: min(1216px, calc(100% - 96px));
    margin-inline: auto;
}
.site-header {
    border-bottom: 1px solid var(--line);
    position: relative;
    z-index: 20;
    background: var(--cream);
}
.header-inner {
    height: 104px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
}
.brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    line-height: 1;
    min-width: 90px;
}
.brand-word {
    font: 47px/1 var(--serif);
    color: var(--olive);
    position: relative;
}
.brand-star {
    font-size: 20px;
    position: absolute;
    left: -18px;
    top: -4px;
    color: var(--gold);
}
.brand small {
    font:
        9px/1.7 Georgia,
        serif;
    letter-spacing: 3px;
    margin: 10px 0 0 3px;
    color: var(--olive);
}
.desktop-nav {
    display: flex;
    align-items: center;
    gap: 29px;
    font-size: 14px;
}
.desktop-nav a {
    padding-block: 38px;
    position: relative;
    transition: color 0.2s;
}
.desktop-nav a:hover,
.desktop-nav a.active {
    color: var(--olive);
}
.desktop-nav a.active:after {
    content: "";
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--olive);
    position: absolute;
    bottom: 23px;
    right: 50%;
}
.header-actions {
    display: flex;
    align-items: center;
    gap: 25px;
}
.login-link {
    font-size: 14px;
}
.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    padding: 16px 26px 13px;
    border: 1px solid var(--olive);
    background: var(--olive);
    color: white;
    border-radius: 5px;
    font-size: 15px;
    line-height: 1.7;
    font-weight: 500;
    transition:
        background 0.2s,
        transform 0.2s;
}
.button:hover {
    background: var(--olive-dark);
    transform: translateY(-2px);
}
.button.small {
    padding: 10px 19px 8px;
    font-size: 13px;
}
.button.light {
    background: #f6f4e8;
    color: var(--olive-dark);
    border-color: #f6f4e8;
}
.button.outline {
    background: transparent;
    color: var(--olive);
    border-color: #bdc4b2;
}
.button.outline:hover {
    background: #edf0e6;
}
.button.danger {
    background: #9b514b;
    border-color: #9b514b;
}
.menu-toggle {
    display: none;
}
.icon-button {
    border: 1px solid var(--line);
    background: transparent;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    align-items: center;
    justify-content: center;
}
.mobile-nav {
    padding: 10px 25px;
    border-top: 1px solid var(--line);
}
.mobile-nav a {
    display: block;
    padding: 10px;
}
.hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 70px;
    padding-block: 64px 57px;
    align-items: center;
}
.hero-copy {
    padding-block: 10px;
}
.eyebrow {
    font-size: 13px;
    color: var(--olive);
    display: flex;
    align-items: center;
    gap: 10px;
    letter-spacing: 0.3px;
    font-weight: 500;
    margin-bottom: 19px;
}
.eyebrow > span:empty {
    width: 22px;
    height: 1px;
    background: var(--gold);
}
.hero h1 {
    font-size: 72px;
    line-height: 1.32;
    position: relative;
    letter-spacing: -1.4px;
    margin-bottom: 26px;
}
.hero h1 em,
h2 em {
    font-style: normal;
    color: var(--olive);
}
.heading-spark {
    display: inline-block;
    color: var(--gold);
    font-size: 35px;
    vertical-align: top;
    margin: 15px 14px 0 0;
}
.hero-description {
    font-size: 17px;
    color: #777c6f;
    line-height: 1.95;
}
.hero-buttons {
    display: flex;
    align-items: center;
    gap: 26px;
    margin-top: 31px;
}
.text-button {
    display: inline-flex;
    gap: 10px;
    align-items: center;
    font-size: 14px;
}
.play-circle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 1px solid #c8cbbf;
}
.play-circle svg {
    margin-right: -2px;
}
.hero-details {
    display: flex;
    gap: 17px;
    margin-top: 25px;
    font-size: 12px;
    color: #7f8578;
    align-items: center;
}
.hero-details span {
    display: flex;
    align-items: center;
    gap: 6px;
}
.hero-details i {
    height: 12px;
    border-right: 1px solid var(--line);
}
.hero-note {
    display: flex;
    gap: 13px;
    margin-top: 37px;
    align-items: center;
    color: var(--muted);
    font-size: 12px;
}
.hero-note strong {
    font-weight: 400;
    color: #5d6656;
}
.hand-drawn {
    font: 37px Georgia;
    transform: rotate(-18deg);
    color: #9aa185;
}
.hero-visual {
    position: relative;
    padding-left: 22px;
}
.hero-image-wrap {
    height: 528px;
    border-radius: 180px 180px 7px 7px;
    overflow: hidden;
    background: #e9e3d4;
    position: relative;
}
.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 53%;
    transition: transform 1.5s;
}
.hero-visual:hover .hero-image {
    transform: scale(1.025);
}
.hero-image-wrap:after {
    content: "";
    position: absolute;
    inset: 12px;
    border: 1px solid #fff8;
    border-radius: 170px 170px 3px 3px;
    pointer-events: none;
}
.floating-label {
    position: absolute;
    bottom: 70px;
    left: -22px;
    display: flex;
    gap: 14px;
    align-items: center;
    padding: 17px 21px;
    background: #fffff4ee;
    backdrop-filter: blur(8px);
    box-shadow: 0 10px 50px #3a362017;
    border: 1px solid white;
    border-radius: 6px;
    transform: rotate(-3deg);
}
.floating-label strong {
    font-size: 15px;
    font-weight: 500;
}
.floating-label small {
    display: block;
    font-size: 11px;
    color: var(--muted);
}
.label-icon {
    width: 40px;
    height: 40px;
    background: #e9ecdf;
    color: var(--olive);
    display: grid;
    place-items: center;
    border-radius: 50%;
}
.tiny-spark {
    color: var(--gold);
    font-size: 13px;
    margin-right: 15px;
}
.visual-caption {
    display: flex;
    justify-content: space-between;
    font: 9px Georgia;
    letter-spacing: 2px;
    margin-top: 19px;
    color: #7e8273;
}
.visual-star {
    position: absolute;
    right: -25px;
    top: 27px;
    color: var(--gold);
    font-size: 68px;
    font-family: Georgia;
    font-weight: 200;
}
.promise-strip {
    border-block: 1px solid var(--line);
    background: #f1f2ea;
}
.promise-strip > .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding-block: 23px;
    color: #68705e;
    font-size: 13px;
}
.promise-strip span {
    display: flex;
    align-items: center;
    gap: 10px;
}
.promise-strip span:first-child {
    font-family: var(--serif);
    font-size: 20px;
}
.section {
    padding-block: 85px;
}
.section-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 30px;
    margin-bottom: 32px;
}
.section h2,
.experience-section h2,
.faq-section h2 {
    font-size: 43px;
    letter-spacing: -0.6px;
}
.section-heading .eyebrow {
    margin-bottom: 8px;
}
.section-heading p:not(.eyebrow),
.center-heading > p:last-child {
    color: var(--muted);
    font-size: 15px;
    margin-top: 8px;
}
.underlined-link {
    display: flex;
    gap: 15px;
    align-items: center;
    border-bottom: 1px solid var(--olive);
    font-size: 13px;
    padding-bottom: 6px;
    white-space: nowrap;
    color: var(--olive);
}
.filter-tabs {
    display: flex;
    gap: 10px;
    margin-block: 27px 33px;
    flex-wrap: wrap;
}
.filter-tabs button {
    border: 1px solid transparent;
    background: transparent;
    border-radius: 4px;
    padding: 8px 18px 6px;
    color: #7c8176;
    font-size: 13px;
}
.filter-tabs button.selected {
    border-color: var(--olive);
    color: var(--olive);
    background: #eff0e7;
}
.filter-tabs button:hover {
    background: #eff0e7;
}
.filter-tabs span {
    font: 10px Georgia;
    margin-right: 6px;
}
.centered {
    justify-content: center;
}
.template-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 37px 27px;
}
.template-card {
    min-width: 0;
}
.template-art {
    height: 364px;
    background: #e8eadd;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    border-radius: 7px;
    transition: transform 0.35s;
}
.template-tag {
    position: absolute;
    right: 15px;
    top: 15px;
    background: #fff9;
    padding: 3px 11px;
    border-radius: 20px;
    font-size: 10px;
    z-index: 1;
    color: #515b43;
}
.paper-invitation {
    position: relative;
    width: 62%;
    height: 82%;
    background: #faf8ed;
    box-shadow: 9px 14px 22px #41472720;
    transform: rotate(-4deg);
    text-align: center;
    padding: 20px 15px;
    color: #626e51;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: transform 0.45s;
    border: 1px solid #dedfcf;
}
.paper-line {
    position: absolute;
    inset: 10px;
    border: 1px solid currentColor;
    opacity: 0.25;
    pointer-events: none;
}
.paper-invitation h3 {
    font: 35px/1.3 var(--serif);
    margin-top: 12px;
}
.paper-invitation h3 span {
    font: italic 24px Georgia;
    display: block;
    color: #a29066;
}
.paper-invitation small {
    font: 9px var(--font);
    margin-block: 9px;
}
.paper-symbol {
    font-size: 42px;
    line-height: 1.2;
    color: #8b9474;
}
.paper-divider {
    font-size: 9px;
    letter-spacing: 3px;
    color: #a19169;
    margin: 9px 0;
}
.paper-invitation p {
    font-size: 11px;
}
.paper-invitation time {
    font: 13px Georgia;
    letter-spacing: 2px;
    margin-top: 14px;
}
.paper-bottom {
    font: 7px Georgia;
    letter-spacing: 1.8px;
    margin-top: 15px;
}
.template-art:before,
.template-art:after {
    content: "❦";
    position: absolute;
    font-family: Georgia;
    font-size: 160px;
    color: #758367;
    opacity: 0.2;
    transform: rotate(-38deg);
    left: -15px;
    bottom: -80px;
}
.template-art:after {
    top: -90px;
    right: -20px;
    bottom: auto;
    left: auto;
    transform: rotate(135deg);
}
.template-card:hover .paper-invitation {
    transform: rotate(0deg) translateY(-5px);
}
.art-cta {
    position: absolute;
    bottom: 14px;
    left: 50%;
    transform: translate(-50%, 10px);
    opacity: 0;
    background: #fffdf1ed;
    color: #45513b;
    box-shadow: 0 4px 18px #0002;
    padding: 7px 15px 5px;
    border-radius: 30px;
    font-size: 12px;
    display: flex;
    gap: 7px;
    align-items: center;
    transition: 0.3s;
    white-space: nowrap;
}
.template-art:hover .art-cta,
.template-art:focus-visible .art-cta {
    opacity: 1;
    transform: translate(-50%, 0);
}
.template-info {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 3px 0;
}
.template-info h3 {
    font-size: 18px;
    margin-bottom: 4px;
}
.template-info small {
    font: 8px Georgia;
    letter-spacing: 1.8px;
    color: var(--muted);
}
.round-link {
    width: 34px;
    height: 34px;
    border: 1px solid #d9ddce;
    border-radius: 50%;
    display: grid;
    place-items: center;
    color: var(--olive);
    transition: 0.2s;
}
.round-link:hover {
    background: var(--olive);
    color: white;
}
.theme-royal {
    background: #e9e1d0;
    --theme: #9c7b44;
}
.theme-royal .paper-invitation {
    color: #917342;
    background: #fbf5e6;
    border-radius: 110px 110px 0 0;
    transform: rotate(3deg);
}
.theme-royal .paper-line {
    border-radius: 100px 100px 0 0;
}
.template-art.theme-royal:before,
.template-art.theme-royal:after {
    content: "✧";
    color: #ad8f57;
}
.theme-rose {
    background: #ecdfe0;
    --theme: #ac777b;
}
.theme-rose .paper-invitation {
    color: #a66b70;
    background: #fff8f6;
}
.template-art.theme-rose:before,
.template-art.theme-rose:after {
    color: #b4777f;
    content: "❀";
    font-size: 230px;
    opacity: 0.2;
}
.theme-night {
    background: #243345;
    --theme: #bba879;
}
.theme-night .paper-invitation {
    background: #344459;
    color: #ddd2ab;
    border-color: #718095;
    transform: rotate(4deg);
}
.theme-night .paper-symbol {
    color: #dbcc9a;
}
.template-art.theme-night:before,
.template-art.theme-night:after {
    content: "✦";
    color: #e6c778;
    font-size: 90px;
    opacity: 0.5;
    bottom: 0;
}
.theme-minimal {
    background: #e7e2da;
    --theme: #947c65;
}
.theme-minimal .paper-invitation {
    color: #826b58;
    background: #fcf9f4;
    transform: rotate(-2deg);
}
.theme-minimal .paper-line {
    border: 0;
    border-top: 1px solid;
    border-bottom: 1px solid;
}
.template-art.theme-minimal:before,
.template-art.theme-minimal:after {
    content: "";
}
.theme-garden {
    background: #cfdcd3;
    --theme: #4e6c63;
}
.theme-garden .paper-invitation {
    color: #4e6c63;
    border-radius: 100px 100px 0 0;
    transform: rotate(3deg);
}
.theme-garden .paper-line {
    border-radius: 90px 90px 0 0;
}
.template-art.theme-garden:before,
.template-art.theme-garden:after {
    color: #45695b;
    font-size: 240px;
    opacity: 0.25;
}
.experience-section {
    background: #4c5942;
    color: #f4f3e8;
    padding-block: 80px;
    position: relative;
    overflow: hidden;
}
.experience-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.4fr;
    gap: 95px;
}
.experience-section .eyebrow {
    color: #c9d1bb;
}
.experience-section h2 {
    font-size: 47px;
    line-height: 1.5;
}
.experience-section h2 em {
    color: #d6dcbf;
}
.experience-copy > p:not(.eyebrow) {
    color: #c0c9b7;
    font-size: 15px;
    line-height: 1.9;
    margin: 18px 0 28px;
}
.experience-copy {
    position: relative;
}
.experience-ornament {
    font: 190px/1 Georgia;
    color: #a9b393;
    opacity: 0.1;
    position: absolute;
    bottom: -100px;
    right: -100px;
    transform: rotate(-20deg);
}
.feature-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 35px 40px;
}
.feature-grid article {
    padding-top: 20px;
    border-top: 1px solid #8a967b66;
}
.feature-icon {
    color: #d6ddbf;
    margin-bottom: 15px;
    display: block;
}
.feature-grid h3 {
    font-size: 18px;
    margin-bottom: 8px;
}
.feature-grid p {
    color: #bdc7b3;
    font-size: 13px;
    line-height: 1.9;
}
.center-heading {
    text-align: center;
    margin-bottom: 45px;
}
.center-heading .eyebrow {
    justify-content: center;
    margin-bottom: 10px;
}
.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 65px;
}
.steps-grid article {
    text-align: center;
    position: relative;
    padding: 20px 15px;
}
.steps-grid article > span {
    font: 13px Georgia;
    color: #a2a78e;
    position: absolute;
    top: 0;
    right: 20px;
}
.steps-grid svg {
    color: var(--olive);
    margin-bottom: 18px;
}
.steps-grid h3 {
    margin-bottom: 12px;
}
.steps-grid p {
    font-size: 14px;
    color: var(--muted);
}
.steps-grid article:not(:last-child):after {
    content: "";
    height: 1px;
    width: 90px;
    background: var(--line);
    position: absolute;
    top: 32px;
    left: -75px;
}
.faq-section {
    display: grid;
    grid-template-columns: 0.8fr 1.4fr;
    gap: 100px;
    padding-block: 25px 90px;
}
.faq-section .eyebrow {
    margin-bottom: 9px;
}
.faq-section > div > p:not(.eyebrow) {
    font-size: 14px;
    color: var(--muted);
    margin-top: 10px;
}
.faq-flower {
    font: 95px/1.7 Georgia;
    color: #b7bda7;
    display: block;
}
.faq-list details {
    border-bottom: 1px solid var(--line);
}
.faq-list summary {
    list-style: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 21px 0 17px;
    font-size: 16px;
}
.faq-list summary::-webkit-details-marker {
    display: none;
}
.faq-list summary span {
    font-size: 23px;
    color: var(--olive);
    font-weight: 300;
    transition: 0.2s;
}
.faq-list details[open] summary span {
    transform: rotate(45deg);
}
.faq-list details p {
    font-size: 14px;
    color: var(--muted);
    line-height: 1.9;
    padding-bottom: 25px;
    max-width: 95%;
}
.final-cta {
    background: #e9ecdf;
    text-align: center;
    padding: 57px 25px 60px;
    border-radius: 8px;
    position: relative;
    overflow: hidden;
    margin-bottom: 85px;
}
.final-cta .eyebrow {
    justify-content: center;
    font-size: 12px;
}
.final-cta h2 {
    font-size: 43px;
    line-height: 1.5;
    margin-bottom: 26px;
}
.cta-spark {
    position: absolute;
    right: 17%;
    top: 45px;
    font: 70px Georgia;
    color: #9b9e80;
}
.cta-flower {
    position: absolute;
    left: 5%;
    bottom: -60px;
    font: 250px Georgia;
    color: #aeb79a;
    opacity: 0.25;
    transform: rotate(-20deg);
}
.site-footer {
    border-top: 1px solid var(--line);
    padding-block: 33px 20px;
}
.footer-top {
    display: flex;
    align-items: center;
    gap: 35px;
    padding-bottom: 32px;
}
.footer-top > p {
    color: var(--muted);
    font-size: 14px;
}
.footer-top > div {
    display: flex;
    gap: 28px;
    margin-right: auto;
    font-size: 12px;
    color: #7a806f;
}
.footer-bottom {
    display: flex;
    justify-content: space-between;
    border-top: 1px solid var(--line);
    padding-top: 20px;
    color: #939787;
    font-size: 11px;
}
.gold {
    color: var(--gold);
}
.page-title {
    font-size: 52px;
}
.skip-link {
    position: fixed;
    top: -100px;
    right: 10px;
    background: white;
    padding: 12px;
    z-index: 100;
}
.skip-link:focus {
    top: 10px;
}
.notice {
    padding: 15px 20px;
    margin-block: 20px;
    border: 1px solid;
    border-radius: 6px;
    font-size: 14px;
}
.notice.success {
    background: #edf3e7;
    border-color: #bdcda8;
    display: flex;
    gap: 10px;
    align-items: center;
}
.notice.error {
    background: #fff1ee;
    border-color: #dcb6ae;
    color: #8c4a3f;
}
.toast {
    position: fixed;
    bottom: 25px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--olive-dark);
    color: white;
    padding: 13px 25px;
    border-radius: 6px;
    z-index: 100;
    font-size: 14px;
    box-shadow: 0 8px 30px #0002;
}
.text-muted {
    color: var(--muted);
}
.empty-state {
    border: 1px dashed #c9cebb;
    background: #f0f2e8;
    text-align: center;
    padding: 65px 25px;
    border-radius: 10px;
    margin-top: 35px;
}
.empty-state svg {
    color: var(--olive);
    margin-bottom: 15px;
}
.empty-state h2 {
    font-size: 35px;
}
.empty-state p {
    margin: 12px 0 24px;
    color: var(--muted);
}
.field {
    display: block;
    margin-bottom: 18px;
}
.field > span {
    display: block;
    font-size: 13px;
    font-weight: 500;
    margin-bottom: 7px;
}
.field input,
.field select,
.field textarea,
.search-field {
    width: 100%;
    padding: 12px 14px 10px;
    background: #fffefa;
    border: 1px solid #dce0d2;
    border-radius: 5px;
    outline: none;
    color: var(--ink);
    font-size: 14px;
    transition: border 0.2s;
}
.field input:focus,
.field select:focus,
.field textarea:focus,
.search-field:focus {
    border-color: var(--olive);
    box-shadow: 0 0 0 3px #626e5110;
}
.field textarea {
    resize: vertical;
    min-height: 100px;
}
.field small {
    display: block;
    color: var(--muted);
    font-size: 11px;
    margin-top: 5px;
}
.field-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}
.check-label {
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 20px;
}
.check-label input {
    accent-color: var(--olive);
}
.auth-shell {
    display: grid;
    grid-template-columns: 1fr 1fr;
    max-width: 1000px;
    margin: 65px auto 90px;
    border: 1px solid var(--line);
    border-radius: 12px;
    overflow: hidden;
    min-height: 540px;
    background: #fffefa;
}
.auth-form {
    padding: 45px 48px;
}
.auth-form h1 {
    font-size: 36px;
}
.auth-form > p {
    font-size: 14px;
    color: var(--muted);
    margin: 10px 0 25px;
}
.auth-form .button {
    width: 100%;
}
.auth-switch {
    text-align: center;
    font-size: 13px;
    margin-top: 22px;
}
.auth-switch a {
    color: var(--olive);
    text-decoration: underline;
}
.auth-art {
    position: relative;
    background: url("/assets/wedding-stationery.jpg") center/cover;
}
.auth-art:after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, #293322a6, transparent 70%);
}
.auth-art > div {
    position: absolute;
    bottom: 40px;
    right: 35px;
    left: 35px;
    color: #fff;
    z-index: 1;
}
.auth-art h2 {
    font-size: 35px;
}
.auth-art p {
    font-size: 13px;
    opacity: 0.9;
}
.dashboard-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
}
.dashboard-head h1 {
    font-size: 40px;
}
.dashboard-head p {
    color: var(--muted);
    font-size: 14px;
    margin-top: 5px;
}
.account-bar {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 13px;
    margin-bottom: 30px;
    color: var(--muted);
}
.link-button {
    background: none;
    border: 0;
    color: var(--olive);
    padding: 0;
    text-decoration: underline;
    font-size: 13px;
}
.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 35px;
}
.dashboard-card {
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 25px;
    background: #fffefa;
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.dashboard-card h2 {
    font-size: 30px;
}
.dashboard-card p {
    color: var(--muted);
    font-size: 13px;
}
.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border-radius: 20px;
    padding: 3px 11px;
    background: #eeefe6;
    color: #737a65;
    font-size: 11px;
    width: max-content;
}
.status-badge.live {
    background: #e3eddb;
    color: #4e6d3d;
}
.status-badge.live:before {
    content: "";
    width: 5px;
    height: 5px;
    background: #66914e;
    border-radius: 50%;
}
.card-actions {
    display: flex;
    gap: 12px;
    margin-top: auto;
}
.editor-shell {
    padding-block: 45px 80px;
}
.editor-layout {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 65px;
    margin-top: 35px;
    align-items: start;
}
.editor-panel {
    background: var(--paper);
    border: 1px solid var(--line);
    padding: 30px;
    border-radius: 8px;
}
.editor-steps {
    display: flex;
    gap: 5px;
    border-bottom: 1px solid var(--line);
    margin-bottom: 28px;
}
.editor-steps button {
    padding: 0 10px 15px;
    font-size: 13px;
    background: none;
    border: 0;
    border-bottom: 2px solid transparent;
    flex: 1;
    color: var(--muted);
}
.editor-steps button.active {
    border-color: var(--olive);
    color: var(--olive);
}
.editor-steps b {
    display: inline-grid;
    place-items: center;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #edf0e4;
    font: 11px Georgia;
    margin-left: 5px;
}
.step-title {
    font-size: 23px;
    margin-bottom: 5px;
}
.step-description {
    font-size: 13px;
    color: var(--muted);
    margin-bottom: 25px;
}
.theme-choices {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-bottom: 25px;
}
.theme-choice {
    border: 1px solid var(--line);
    padding: 13px 8px 10px;
    border-radius: 5px;
    text-align: center;
    cursor: pointer;
    font-size: 12px;
}
.theme-choice:has(input:checked) {
    border-color: var(--olive);
    box-shadow: inset 0 0 0 1px var(--olive);
    background: #f4f6ee;
}
.theme-choice input {
    position: absolute;
    opacity: 0;
    width: 1px;
    height: 1px;
}
.theme-choice:focus-within {
    outline: 2px solid var(--gold);
}
.theme-swatch {
    display: block;
    width: 27px;
    height: 27px;
    border-radius: 50%;
    margin: 0 auto 8px;
    border: 4px solid #ffffff90;
}
.editor-navigation {
    display: flex;
    justify-content: space-between;
    gap: 15px;
    margin-top: 25px;
    border-top: 1px solid var(--line);
    padding-top: 23px;
}
.live-preview {
    position: sticky;
    top: 30px;
    text-align: center;
}
.live-preview-label {
    font-size: 12px;
    color: var(--olive);
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 7px;
    margin-bottom: 17px;
}
.live-preview-label:before {
    content: "";
    width: 6px;
    height: 6px;
    background: #82965c;
    border-radius: 50%;
    box-shadow: 0 0 0 4px #82965c14;
}
.preview-phone {
    width: 300px;
    height: 570px;
    border: 7px solid #3e433b;
    box-shadow: 0 18px 60px #41462f1c;
    border-radius: 42px;
    overflow: hidden;
    margin: auto;
    background: #f3f1e6;
    position: relative;
}
.preview-phone:before {
    content: "";
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    width: 75px;
    height: 18px;
    border-radius: 15px;
    background: #3e433b;
    z-index: 2;
}
.preview-phone .mini-content {
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 30px 25px;
    color: var(--theme, #626e51);
    background: inherit;
    position: relative;
}
.mini-content:before {
    content: "";
    position: absolute;
    inset: 40px 18px 23px;
    border: 1px solid currentColor;
    border-radius: 110px 110px 10px 10px;
    opacity: 0.3;
}
.mini-content .ornament {
    font: 70px Georgia;
    margin-bottom: 20px;
}
.mini-content h2 {
    font-size: 37px;
    line-height: 1.5;
}
.mini-content h2 i {
    font: italic 24px Georgia;
    display: block;
    margin: 4px;
}
.mini-content small {
    font-size: 10px;
    margin: 15px 0;
}
.mini-date {
    font-size: 12px;
    border-block: 1px solid #c3c8b870;
    padding: 13px 0;
    margin: 15px 0;
    max-width: 90%;
}
.mini-venue {
    font-size: 13px;
}
.live-preview > p {
    font-size: 12px;
    color: var(--muted);
    margin-top: 18px;
}
.upload-field {
    padding: 18px;
    border: 1px dashed #c5cbb7;
    border-radius: 6px;
    background: #f6f7ef;
}
.upload-field input {
    border: 0;
    background: transparent;
    padding: 5px;
}
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin: 30px 0;
}
.stat {
    padding: 22px;
    background: #eeefe5;
    border-radius: 6px;
}
.stat strong {
    display: block;
    font: 35px Georgia;
    color: var(--olive);
    margin-bottom: 10px;
}
.stat span {
    font-size: 13px;
    color: var(--muted);
}
.manage-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 20px;
}
.share-panel {
    display: flex;
    gap: 25px;
    align-items: center;
    background: #fffefa;
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 25px;
    margin: 30px 0;
}
.share-panel > img {
    width: 110px;
    height: 110px;
}
.share-panel > div {
    flex: 1;
    min-width: 0;
}
.share-panel h3 {
    margin-bottom: 10px;
}
.share-url {
    display: flex;
    gap: 10px;
}
.share-url input {
    width: 100%;
    direction: ltr;
    text-align: left;
    border: 1px solid var(--line);
    border-radius: 5px;
    padding: 9px;
    font-size: 13px;
    background: var(--cream);
    min-width: 0;
}
.table-panel {
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fffefa;
    overflow: hidden;
}
.table-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 20px;
}
.table-toolbar .search-field {
    max-width: 280px;
}
.table-scroll {
    overflow: auto;
}
table {
    width: 100%;
    border-collapse: collapse;
    text-align: right;
    font-size: 13px;
}
th {
    font-weight: 500;
    background: #f0f2e9;
    padding: 14px 18px;
    color: #737c66;
}
td {
    padding: 16px 18px;
    border-bottom: 1px solid var(--line);
}
td.message-cell {
    max-width: 250px;
    overflow-wrap: anywhere;
}
.table-empty {
    text-align: center;
    color: var(--muted);
    padding: 40px;
}
.ticket-card {
    max-width: 440px;
    margin: 60px auto;
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 100px 100px 10px 10px;
    padding: 50px 35px;
    text-align: center;
}
.ticket-card h1 {
    font-size: 40px;
    margin: 15px 0;
}
.ticket-card > img {
    width: 200px;
    margin: 20px auto;
}
.ticket-card p {
    font-size: 14px;
    color: var(--muted);
    margin: 8px 0;
}
.ticket-divider {
    border-top: 1px dashed var(--line);
    margin: 25px 0;
}
.ticket-card .button {
    margin-top: 15px;
}
.ticket-card small {
    font-size: 11px;
    color: var(--muted);
    display: block;
}
@media (min-width: 1500px) {
    .hero {
        gap: 100px;
        padding-block: 78px;
    }
    .hero-image-wrap {
        height: 570px;
    }
}
@media (max-width: 1120px) {
    .container {
        width: calc(100% - 64px);
    }
    .desktop-nav {
        gap: 18px;
        font-size: 13px;
    }
    .header-actions {
        gap: 15px;
    }
    .hero {
        gap: 40px;
    }
    .hero h1 {
        font-size: 60px;
    }
    .hero-image-wrap {
        height: 490px;
    }
    .hero-buttons {
        gap: 16px;
    }
    .hero-buttons .button {
        padding-inline: 18px;
    }
    .hero-description {
        font-size: 15px;
    }
    .promise-strip > .container {
        gap: 15px;
        font-size: 11px;
    }
    .promise-strip span:first-child {
        font-size: 17px;
    }
    .experience-grid {
        gap: 50px;
    }
    .template-art {
        height: 330px;
    }
    .paper-invitation h3 {
        font-size: 30px;
    }
    .editor-layout {
        gap: 35px;
    }
}
@media (max-width: 900px) {
    .desktop-nav {
        display: none;
    }
    .menu-toggle {
        display: flex;
    }
    .header-inner {
        height: 90px;
    }
    .hero {
        gap: 30px;
        padding-block: 45px;
    }
    .hero h1 {
        font-size: 51px;
    }
    .hero-image-wrap {
        height: 450px;
    }
    .hero-note {
        margin-top: 25px;
    }
    .hero-buttons {
        flex-wrap: wrap;
        margin-top: 22px;
    }
    .hero-details {
        gap: 8px;
        font-size: 10px;
    }
    .hero-description {
        font-size: 14px;
    }
    .floating-label {
        left: -10px;
        padding: 12px;
        gap: 9px;
    }
    .floating-label strong {
        font-size: 12px;
    }
    .tiny-spark {
        display: none;
    }
    .promise-strip > .container {
        flex-wrap: wrap;
        justify-content: center;
    }
    .promise-strip span:first-child {
        width: 100%;
        justify-content: center;
    }
    .template-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .template-art {
        height: 380px;
    }
    .section {
        padding-block: 65px;
    }
    .experience-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .experience-copy {
        max-width: 100%;
    }
    .experience-copy > p {
        max-width: 420px;
    }
    .experience-ornament {
        right: auto;
        left: 0;
        bottom: -10px;
        font-size: 270px;
    }
    .feature-grid {
        gap: 30px;
    }
    .steps-grid {
        gap: 15px;
    }
    .steps-grid article:not(:last-child):after {
        display: none;
    }
    .faq-section {
        gap: 35px;
        grid-template-columns: 1fr 1.5fr;
    }
    .footer-top {
        gap: 25px;
        flex-wrap: wrap;
    }
    .footer-top > div {
        gap: 18px;
    }
    .auth-form {
        padding: 35px;
    }
    .dashboard-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .editor-layout {
        grid-template-columns: 1.2fr 1fr;
        gap: 25px;
    }
    .editor-panel {
        padding: 20px;
    }
    .preview-phone {
        width: 260px;
        height: 510px;
    }
    .editor-steps button {
        font-size: 11px;
        padding-inline: 2px;
    }
    .stats-grid {
        gap: 12px;
    }
    .stat {
        padding: 18px;
    }
}
@media (max-width: 650px) {
    .container {
        width: calc(100% - 40px);
    }
    .header-inner {
        height: 84px;
        gap: 12px;
    }
    .brand {
        min-width: 65px;
    }
    .brand-word {
        font-size: 39px;
    }
    .brand small {
        font-size: 7px;
        margin-top: 6px;
    }
    .brand-star {
        font-size: 16px;
        left: -12px;
    }
    .header-actions {
        gap: 12px;
    }
    .header-actions .button {
        font-size: 11px;
        padding: 9px 12px 7px;
        gap: 10px;
    }
    .login-link {
        display: none;
    }
    .icon-button {
        width: 34px;
        height: 34px;
    }
    .hero {
        grid-template-columns: 1fr;
        padding-block: 35px 32px;
        gap: 30px;
    }
    .hero-copy {
        text-align: center;
        padding: 0;
    }
    .hero .eyebrow {
        justify-content: center;
        font-size: 12px;
        margin-bottom: 17px;
    }
    .hero h1 {
        font-size: 57px;
        line-height: 1.3;
        margin-bottom: 20px;
    }
    .heading-spark {
        font-size: 27px;
        margin-right: 8px;
    }
    .hero-description {
        font-size: 14px;
        line-height: 1.9;
        max-width: 340px;
        margin: auto;
    }
    .desktop-only {
        display: none;
    }
    .hero-buttons {
        justify-content: center;
        gap: 19px;
        margin-top: 24px;
    }
    .hero-buttons .button {
        font-size: 13px;
        padding: 13px 18px 10px;
    }
    .hero-buttons .text-button {
        font-size: 12px;
    }
    .hero-details {
        justify-content: center;
        font-size: 10px;
        margin-top: 20px;
        gap: 13px;
    }
    .hero-note {
        display: none;
    }
    .hero-visual {
        padding: 0 15px;
        max-width: 420px;
        width: 100%;
        margin: auto;
    }
    .hero-image-wrap {
        height: 410px;
        border-radius: 150px 150px 5px 5px;
    }
    .hero-image-wrap:after {
        border-radius: 140px 140px 3px 3px;
    }
    .visual-star {
        right: 0;
        top: 0;
        font-size: 55px;
    }
    .floating-label {
        left: 0;
        bottom: 51px;
        padding: 12px 15px;
    }
    .visual-caption {
        font-size: 8px;
        margin-top: 15px;
    }
    .promise-strip > .container {
        padding-block: 19px;
        column-gap: 20px;
        row-gap: 10px;
        font-size: 10px;
    }
    .promise-strip span {
        gap: 5px;
    }
    .promise-strip span svg {
        width: 16px;
    }
    .promise-strip span:first-child {
        font-size: 17px;
        margin-bottom: 3px;
    }
    .section {
        padding-block: 49px;
    }
    .section-heading {
        align-items: flex-start;
        flex-direction: column;
        gap: 16px;
        margin-bottom: 15px;
    }
    .section h2,
    .faq-section h2 {
        font-size: 34px;
    }
    .section-heading p:not(.eyebrow) {
        font-size: 13px;
    }
    .eyebrow {
        font-size: 11px;
    }
    .underlined-link {
        font-size: 12px;
    }
    .filter-tabs {
        gap: 5px;
        margin: 23px 0;
    }
    .filter-tabs button {
        font-size: 11px;
        padding: 7px 10px 5px;
    }
    .template-grid {
        gap: 25px 14px;
    }
    .template-art {
        height: 250px;
    }
    .template-tag {
        font-size: 8px;
        top: 10px;
        right: 8px;
        padding: 2px 7px;
    }
    .paper-invitation {
        width: 75%;
        height: 77%;
        padding: 15px 8px;
    }
    .paper-invitation h3 {
        font-size: 23px;
        margin-top: 5px;
    }
    .paper-invitation h3 span {
        font-size: 15px;
    }
    .paper-invitation small {
        font-size: 6px;
        margin-block: 4px;
    }
    .paper-symbol {
        font-size: 26px;
    }
    .paper-invitation p {
        font-size: 8px;
    }
    .paper-invitation time {
        font-size: 8px;
        letter-spacing: 1px;
        margin-top: 9px;
    }
    .paper-divider {
        font-size: 6px;
        letter-spacing: 1px;
        margin: 5px 0;
    }
    .paper-bottom {
        font-size: 5px;
        margin-top: 9px;
    }
    .paper-line {
        inset: 7px;
    }
    .template-info {
        padding: 11px 0 0;
    }
    .template-info h3 {
        font-size: 14px;
        margin-bottom: 0;
    }
    .template-info small {
        font-size: 6px;
        letter-spacing: 0.5px;
    }
    .round-link {
        width: 27px;
        height: 27px;
    }
    .round-link svg {
        width: 16px;
    }
    .art-cta {
        font-size: 9px;
        padding: 5px 9px;
        bottom: 8px;
        opacity: 1;
        transform: translate(-50%, 0);
        gap: 4px;
    }
    .art-cta svg {
        width: 11px;
    }
    .experience-section {
        padding-block: 45px;
    }
    .experience-section h2 {
        font-size: 38px;
    }
    .experience-copy > p:not(.eyebrow) {
        font-size: 13px;
    }
    .feature-grid {
        gap: 25px 22px;
    }
    .feature-grid h3 {
        font-size: 15px;
    }
    .feature-grid p {
        font-size: 12px;
    }
    .feature-grid article {
        padding-top: 15px;
    }
    .experience-ornament {
        font-size: 190px;
    }
    .center-heading {
        margin-bottom: 25px;
    }
    .center-heading > p:last-child {
        font-size: 13px;
    }
    .steps-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    .steps-grid article {
        padding: 20px 30px 20px 0;
        text-align: right;
        display: grid;
        grid-template-columns: 38px 1fr;
        column-gap: 20px;
        align-items: center;
        border-bottom: 1px solid var(--line);
    }
    .steps-grid article > span {
        right: 0;
        top: 24px;
        font-size: 9px;
    }
    .steps-grid svg {
        grid-row: span 2;
        width: 24px;
        margin: 0;
    }
    .steps-grid h3 {
        font-size: 17px;
        margin: 0;
    }
    .steps-grid p {
        font-size: 12px;
    }
    .steps-grid p br {
        display: none;
    }
    .faq-section {
        grid-template-columns: 1fr;
        gap: 20px;
        padding-block: 5px 45px;
    }
    .faq-flower {
        display: none;
    }
    .faq-list summary {
        font-size: 14px;
        padding-block: 18px;
    }
    .faq-list details p {
        font-size: 13px;
    }
    .final-cta {
        padding: 40px 20px;
        margin-bottom: 45px;
    }
    .final-cta h2 {
        font-size: 31px;
    }
    .cta-spark {
        right: 15px;
        top: 25px;
        font-size: 36px;
    }
    .cta-flower {
        font-size: 150px;
        bottom: -30px;
        left: -40px;
    }
    .footer-top {
        justify-content: center;
        gap: 20px;
        padding-bottom: 22px;
    }
    .footer-top > p {
        font-size: 12px;
    }
    .footer-top > div {
        width: 100%;
        justify-content: center;
        margin: 0;
        font-size: 11px;
    }
    .footer-bottom {
        flex-direction: column;
        gap: 8px;
        text-align: center;
        font-size: 10px;
    }
    .site-footer {
        padding-top: 25px;
    }
    .page-title {
        font-size: 38px;
    }
    .auth-shell {
        grid-template-columns: 1fr;
        margin: 35px auto 45px;
    }
    .auth-art {
        display: none;
    }
    .auth-form {
        padding: 30px 25px;
    }
    .dashboard-head {
        align-items: flex-start;
        flex-direction: column;
        gap: 15px;
    }
    .dashboard-head h1 {
        font-size: 34px;
    }
    .dashboard-grid {
        grid-template-columns: 1fr;
    }
    .editor-shell {
        padding-block: 30px 45px;
    }
    .editor-layout {
        grid-template-columns: 1fr;
        gap: 30px;
        margin-top: 25px;
    }
    .live-preview {
        position: static;
        grid-row: 1;
    }
    .preview-phone {
        width: 220px;
        height: 385px;
        border-width: 5px;
        border-radius: 28px;
    }
    .mini-content:before {
        inset: 30px 13px 16px;
    }
    .mini-content .ornament {
        font-size: 40px;
        margin-bottom: 5px;
    }
    .mini-content h2 {
        font-size: 29px;
    }
    .mini-content small {
        margin: 9px 0;
    }
    .mini-content h2 i {
        font-size: 19px;
    }
    .mini-date {
        font-size: 10px;
        padding: 8px 0;
        margin: 8px 0;
    }
    .mini-venue {
        font-size: 11px;
    }
    .live-preview > p {
        display: none;
    }
    .live-preview-label {
        margin-bottom: 12px;
        font-size: 11px;
    }
    .editor-panel {
        padding: 21px 18px;
    }
    .editor-steps button {
        font-size: 11px;
    }
    .field-grid {
        gap: 12px;
    }
    .stats-grid {
        grid-template-columns: 1fr 1fr;
    }
    .stat strong {
        font-size: 29px;
    }
    .stat span {
        font-size: 12px;
    }
    .share-panel {
        flex-direction: column;
        padding: 20px;
        gap: 15px;
    }
    .share-panel > div {
        width: 100%;
    }
    .share-url {
        flex-wrap: wrap;
    }
    .table-toolbar {
        flex-direction: column;
        align-items: stretch;
        padding: 16px;
    }
    .table-toolbar .search-field {
        max-width: none;
    }
    .ticket-card {
        margin: 35px auto;
        padding: 40px 25px;
        width: calc(100% - 40px);
    }
    .notice {
        font-size: 12px;
    }
    .toast {
        width: max-content;
        max-width: 90%;
        text-align: center;
        font-size: 13px;
    }
    .manage-actions .button {
        padding: 9px 13px;
        font-size: 12px;
    }
}
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    *,
    *:before,
    *:after {
        animation: none !important;
        transition: none !important;
    }
}

.dashboard-card h2,
.dashboard-head h1,
.ticket-card h1,
.mini-content h2 {
    overflow-wrap: anywhere;
}
/* Original visual collections */
.template-art:has(.reference-cover) {
    padding: 0;
    aspect-ratio: 1/1;
    min-height: 0;
    background: #f3ebdf;
    overflow: hidden;
}
.template-art:has(.reference-cover)::before,
.template-art:has(.reference-cover)::after {
    display: none;
}
.reference-cover {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s ease;
}
.template-art:hover .reference-cover {
    transform: scale(1.035);
}
.template-art:has(.reference-cover) .template-tag {
    background: #fffaf0ed;
    z-index: 2;
}
.theme-choice img.theme-swatch {
    width: 48px;
    height: 54px;
    border-radius: 5px;
    object-fit: cover;
}
.theme-choices {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}
.theme-choice {
    font-size: 12px;
}
.preview-phone {
    background-size: cover;
    background-position: center;
}
.preview-phone .mini-content {
    position: relative;
    z-index: 1;
}
.preview-phone.has-video-poster .mini-content {
    background: #fff8e6c9;
    backdrop-filter: blur(6px);
    margin: 80px 12px 0;
    padding: 24px 12px;
    border-radius: 12px;
}
.mini-entrance.original {
    background: #f4ebd9;
    animation: none;
    z-index: 3;
}
.mini-entrance video,
.mini-entrance img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.mini-entrance .preview-close {
    position: absolute;
    bottom: 18px;
    left: 50%;
    transform: translateX(-50%);
    background: #fff9;
    border: 0;
    border-radius: 25px;
    padding: 8px 18px;
    font: 12px Tajawal;
    z-index: 4;
}
.template-art:has(.collection-scene) {
    padding: 0;
    aspect-ratio: 1/1;
    min-height: 0;
    overflow: hidden;
}
.template-art:has(.collection-scene)::before,
.template-art:has(.collection-scene)::after {
    display: none;
}
.collection-scene {
    position: relative;
    display: grid;
    place-items: center;
    width: 100%;
    height: 100%;
    background:
        var(--collection-image) center/cover,
        var(--collection-color);
    isolation: isolate;
}
.collection-scene::before {
    content: "";
    position: absolute;
    inset: 0;
    backdrop-filter: blur(3px);
    background: #fff2;
    z-index: -1;
}
.collection-phone {
    height: 88%;
    width: 50%;
    border: 5px solid #28231e;
    border-radius: 25px;
    box-shadow: 0 14px 30px #211a2240;
    display: grid;
    place-items: center;
    padding: 9px;
    position: relative;
    overflow: hidden;
    background:
        var(--collection-image) center/cover,
        var(--collection-color);
}
.collection-phone::before {
    content: "";
    position: absolute;
    top: 5px;
    left: 30%;
    right: 30%;
    height: 10px;
    border-radius: 8px;
    background: #28231e;
}
.collection-letter {
    width: 100%;
    padding: 25px 8px 14px;
    border: 1px solid #b9a78588;
    border-radius: 14px;
    background: #fffaf1e8;
    color: var(--collection-color);
    text-align: center;
}
.collection-letter small {
    font:
        7px Georgia,
        serif;
    letter-spacing: 1px;
}
.collection-letter strong {
    font:
        26px/1.2 Amiri,
        Georgia,
        serif;
    display: block;
    margin: 20px 0 12px;
}
.collection-letter i {
    display: block;
    font:
        16px/1.5 Georgia,
        serif;
}
.collection-letter span {
    font:
        8px Tajawal,
        sans-serif;
}
.collection-letter b {
    display: block;
    font:
        24px Georgia,
        serif;
    margin-top: 12px;
}
.template-art:has(.collection-scene) .template-tag {
    z-index: 3;
    background: #fffaf0ed;
}

/* Keep the selected entrance in view on phones and laptops. */
.entrance-preview-dialog{width:min(420px,calc(100vw - 24px));max-height:calc(100dvh - 24px);padding:16px;border:1px solid var(--line);border-radius:18px;background:var(--cream,#f8f7f2);color:var(--ink);overflow:auto}
.entrance-preview-dialog::backdrop{background:#102720bb;backdrop-filter:blur(5px)}
.entrance-preview-dialog header{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px}
.entrance-preview-dialog h2{font-size:22px;margin:0}
.entrance-preview-screen{position:relative;height:clamp(180px,calc(100dvh - 190px),600px);overflow:hidden;background:#102720;border-radius:10px}
.entrance-preview-screen>video,.entrance-preview-screen>iframe{display:block;width:100%;height:100%;object-fit:contain;border:0}
.entrance-preview-screen>.mini-content{background:#f4eddf;color:#274339;min-height:100%;text-align:center}
.entrance-preview-status{font-size:12px;line-height:1.8;margin:10px 0}
.entrance-preview-dialog>[data-full-preview]{font-size:12px}
