:root {
    --bg: #f3efe9;
    --surface: rgba(255, 255, 255, 0.78);
    --surface-strong: #ffffff;
    --text: #121212;
    --muted: #61564d;
    --line: rgba(47, 35, 27, 0.12);
    --primary: #121212;
    --accent: #5d4030;
    --accent-soft: #a1785d;
    --shadow: 0 24px 70px rgba(30, 21, 16, 0.12);
    --radius-xl: 32px;
    --radius-lg: 24px;
    --radius-md: 18px;
    --container: min(1180px, calc(100vw - 32px));
    --font-sans: "Plus Jakarta Sans", sans-serif;
    --font-serif: "Cormorant Garamond", serif;
    --font-arabic: "Alexandria", "Cairo", sans-serif;
    --font-body: var(--font-sans);
    --font-display: var(--font-sans);
    --font-accent: var(--font-serif);
}

html[dir="rtl"] {
    --font-body: var(--font-arabic);
    --font-display: var(--font-arabic);
    --font-accent: var(--font-arabic);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: var(--font-body);
    color: var(--text);
    background:
        radial-gradient(circle at top right, rgba(93, 64, 48, 0.12), transparent 30%),
        radial-gradient(circle at top left, rgba(18, 18, 18, 0.08), transparent 28%),
        linear-gradient(180deg, #fffcf8 0%, var(--bg) 100%);
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    width: var(--container);
    margin: 0 auto;
}

.site-shell {
    min-height: 100vh;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    backdrop-filter: blur(18px);
    background: rgba(255, 252, 248, 0.8);
    border-bottom: 1px solid rgba(47, 35, 27, 0.06);
}

.nav-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    min-height: 84px;
    position: relative;
}

.brand-mark {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    min-width: 0;
}

.brand-copy {
    display: grid;
    gap: 2px;
    min-width: 0;
}

.brand-mark strong {
    display: block;
    font-family: var(--font-display);
    font-size: 1.02rem;
    font-weight: 700;
    line-height: 1.1;
}

.brand-mark small {
    color: var(--muted);
    font-size: 0.82rem;
    line-height: 1.45;
}

.brand-orb {
    width: 16px;
    height: 16px;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    box-shadow: 0 0 0 8px rgba(93, 64, 48, 0.12);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
    font-size: 0.92rem;
    color: var(--muted);
    min-width: 0;
    flex: 1 1 auto;
    justify-content: center;
}

.nav-panel {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex: 1 1 auto;
    min-width: 0;
}

.nav-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 8px 12px;
    border-radius: 999px;
    font-weight: 700;
    transition: color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.nav-links a:hover {
    color: var(--accent);
    background: rgba(255, 255, 255, 0.84);
    box-shadow: 0 10px 26px rgba(28, 18, 12, 0.08);
}

.nav-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    gap: 5px;
    width: 48px;
    height: 48px;
    border: 1px solid rgba(47, 35, 27, 0.12);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.82);
    color: var(--primary);
    cursor: pointer;
    flex-direction: column;
    flex: 0 0 auto;
}

.nav-toggle-line {
    width: 18px;
    height: 2px;
    border-radius: 999px;
    background: currentColor;
    transition: transform 180ms ease, opacity 180ms ease;
}

.nav-toggle-label {
    display: none;
}

.nav-toggle.is-open .nav-toggle-line:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.nav-toggle.is-open .nav-toggle-line:nth-child(2) {
    opacity: 0;
}

.nav-toggle.is-open .nav-toggle-line:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: flex-end;
    min-width: 0;
    flex: 0 0 auto;
}

.logout-form {
    margin: 0;
}

.user-pill {
    display: inline-flex;
    align-items: center;
    min-height: 48px;
    padding: 0 16px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(47, 35, 27, 0.12);
    color: var(--muted);
    font-size: 0.92rem;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border-radius: 999px;
    padding: 14px 22px;
    border: 1px solid transparent;
    font-weight: 700;
    transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.button:hover {
    transform: translateY(-2px);
}

.button-primary {
    background: linear-gradient(135deg, var(--primary), #4a3327);
    color: #fff;
    box-shadow: 0 16px 38px rgba(28, 18, 12, 0.24);
}

.button-secondary {
    background: rgba(255, 255, 255, 0.7);
    border-color: rgba(47, 35, 27, 0.12);
    color: var(--primary);
}

.button-compact {
    padding-inline: 16px;
}

.button-block {
    width: 100%;
}

.hero-section,
.feature-section,
.workflow-section,
.builder-section,
.public-section,
.public-story {
    padding: 64px 0;
}

.hero-grid,
.workflow-grid,
.builder-grid,
.public-hero-grid,
.story-layout {
    display: grid;
    gap: 32px;
}

.hero-grid,
.public-hero-grid {
    grid-template-columns: minmax(0, 1.1fr) minmax(340px, 620px);
    align-items: center;
}

.hero-copy,
.hero-visual,
.preview-stack {
    min-width: 0;
}

.hero-copy h1,
.page-header h1,
.public-copy h1 {
    margin: 0 0 18px;
    line-height: 1.04;
    font-family: var(--font-display);
    font-size: clamp(2.2rem, 5vw, 4.6rem);
    letter-spacing: -0.04em;
    font-weight: 800;
}

.hero-copy h1 {
    max-inline-size: 11ch;
    text-wrap: balance;
}

.hero-text,
.page-header p,
.public-subheadline,
.public-description {
    color: var(--muted);
    font-size: 1.05rem;
    line-height: 1.9;
    max-width: 760px;
}

.eyebrow,
.card-kicker,
.success-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    border-radius: 999px;
    font-size: 0.84rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(21, 50, 67, 0.08);
}

.hero-actions,
.download-row {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-top: 28px;
}

.access-note {
    margin: 18px 0 0;
    color: var(--muted);
    max-width: 660px;
    line-height: 1.9;
}

.stat-row,
.feature-grid,
.info-grid {
    display: grid;
    gap: 18px;
}

.stat-row {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-top: 34px;
}

.stat-card,
.feature-card,
.timeline-card,
.detail-card,
.panel-card,
.browser-card {
    background: var(--surface);
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
    backdrop-filter: blur(14px);
    border-radius: var(--radius-xl);
}

.stat-card,
.feature-card,
.timeline-card,
.detail-card,
.panel-card {
    padding: 24px;
}

.stat-card strong {
    display: block;
    font-size: 2rem;
    font-family: var(--font-display);
    font-weight: 700;
}

.stat-card span,
.feature-card p,
.timeline-card p,
.detail-card p,
.mini-benefits p,
.footer-list,
.browser-body p {
    color: var(--muted);
    line-height: 1.8;
}

.preview-stack {
    position: relative;
    min-height: 720px;
    isolation: isolate;
}

.browser-card {
    position: absolute;
    inset-inline-start: 18px;
    bottom: 18px;
    width: min(100%, 320px);
    overflow: hidden;
    z-index: 3;
}

.browser-top {
    display: flex;
    gap: 8px;
    padding: 14px 16px;
    border-bottom: 1px solid rgba(21, 50, 67, 0.08);
}

.browser-top span {
    width: 10px;
    height: 10px;
    border-radius: 999px;
    background: rgba(21, 50, 67, 0.18);
}

.browser-body {
    padding: 22px;
}

.browser-body h3 {
    margin: 10px 0;
    font-family: var(--font-accent);
    font-size: 2rem;
}

.browser-tags {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.browser-tags span {
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(47, 35, 27, 0.06);
    font-size: 0.84rem;
}

.qr-preview-card {
    position: relative;
    margin-inline-start: auto;
    width: min(100%, 420px);
    padding: 26px;
    border-radius: 34px;
    overflow: hidden;
    color: var(--text);
    background:
        radial-gradient(circle at top right, color-mix(in srgb, var(--qr-accent) 16%, transparent), transparent 36%),
        linear-gradient(180deg, color-mix(in srgb, var(--qr-bg) 94%, white) 0%, var(--qr-bg) 100%);
    border: 1px solid color-mix(in srgb, var(--qr-fill) 12%, transparent);
    box-shadow: 0 28px 70px color-mix(in srgb, var(--qr-fill) 18%, transparent);
}

.preview-stack > .qr-preview-card {
    position: absolute;
    inset-inline-end: 18px;
    top: 34px;
    z-index: 4;
}

.editorial-photo-card {
    margin: 0;
    border-radius: 34px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.76);
    border: 1px solid rgba(47, 35, 27, 0.08);
    box-shadow: var(--shadow);
}

.editorial-photo-card img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.hero-photo-card {
    width: min(100%, 620px);
    margin-inline-start: auto;
    min-height: 620px;
}

.qr-preview-card h3 {
    margin: 14px 0 6px;
    font-family: var(--font-display);
    font-size: 1.6rem;
    font-weight: 700;
}

.qr-preview-card p {
    margin: 0;
    color: color-mix(in srgb, var(--qr-fill) 74%, #ffffff);
    line-height: 1.7;
}

.preview-engine {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 18px;
    padding: 12px 14px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(47, 35, 27, 0.08);
    font-size: 0.9rem;
}

.preview-engine strong {
    color: var(--text);
}

.preview-note,
.helper-note {
    margin-top: 16px;
    color: var(--muted);
    line-height: 1.8;
}

.qr-visual {
    display: flex;
    justify-content: center;
    margin: 28px 0 18px;
    padding: 20px;
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.78);
}

.qr-visual img {
    width: 100%;
    max-width: 280px;
    border-radius: 18px;
}

.qr-visual-guided {
    padding: 10px 0 0;
    background: transparent;
}

.qr-visual-guided img,
.guided-qr-image {
    width: auto;
    max-width: min(100%, 320px);
    border-radius: 0;
    filter: drop-shadow(0 18px 40px rgba(26, 26, 26, 0.16));
}

.card-caption {
    display: block;
    text-align: center;
    font-weight: 700;
    color: color-mix(in srgb, var(--qr-fill) 70%, #111111);
}

.frame-editorial::before,
.frame-luxury::before,
.frame-playful::before,
.frame-minimal::before {
    content: "";
    position: absolute;
    inset: 14px;
    border-radius: 24px;
    pointer-events: none;
}

.frame-editorial::before {
    border: 1px dashed rgba(61, 64, 91, 0.22);
}

.frame-luxury::before {
    border: 1px solid rgba(164, 118, 67, 0.3);
}

.frame-playful::before {
    border: 2px solid rgba(231, 111, 81, 0.18);
}

.frame-minimal::before {
    border: 1px solid rgba(0, 0, 0, 0.08);
}

.section-heading {
    margin-bottom: 28px;
}

.section-heading h2,
.workflow-grid h2,
.panel-card h2,
.public-section h2,
.story-layout h2 {
    margin: 10px 0 0;
    font-family: var(--font-display);
    font-size: clamp(1.7rem, 3.2vw, 2.6rem);
    line-height: 1.12;
    font-weight: 800;
}

.feature-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.showcase-section {
    padding: 0 0 64px;
}

.showcase-grid,
.public-scene-grid,
.ambient-info-row {
    display: grid;
    gap: 20px;
}

.showcase-grid {
    grid-template-columns: 1.3fr 1fr 1fr;
}

.showcase-card {
    border-radius: 32px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.74);
    border: 1px solid rgba(47, 35, 27, 0.08);
    box-shadow: var(--shadow);
}

.showcase-card img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    display: block;
}

.showcase-card-wide {
    display: grid;
    grid-template-columns: 0.82fr 1.18fr;
}

.showcase-card-wide img {
    height: 100%;
    min-height: 340px;
}

.showcase-copy {
    padding: 26px;
}

.showcase-copy h2,
.showcase-copy h3 {
    margin: 10px 0 0;
    line-height: 1.35;
}

.showcase-copy p {
    color: var(--muted);
    line-height: 1.85;
}

.feature-card h3,
.timeline-card h3,
.detail-card h2 {
    margin: 0 0 10px;
}

.workflow-grid {
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
    align-items: start;
}

.timeline-list {
    display: grid;
    gap: 18px;
}

.timeline-card strong {
    display: inline-flex;
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    background: rgba(47, 35, 27, 0.08);
    margin-bottom: 14px;
}

.page-header {
    margin-bottom: 26px;
}

.builder-grid {
    grid-template-columns: minmax(0, 420px) minmax(0, 1fr);
    align-items: start;
}

.builder-grid-wide {
    grid-template-columns: minmax(0, 1.2fr) minmax(300px, 0.8fr);
}

.compact-photo-card {
    margin-bottom: 22px;
    min-height: 240px;
}

.ambient-photo-card {
    margin-top: 22px;
    min-height: 220px;
}

.stack-form {
    display: grid;
    gap: 18px;
}

.field-group {
    display: grid;
    gap: 8px;
}

.field-group label {
    font-weight: 700;
}

.field-group small {
    color: var(--muted);
}

.field-group ul {
    margin: 6px 0 0;
    padding-inline-start: 18px;
    color: var(--muted);
    line-height: 1.75;
}

.field-error {
    color: #a12c2c;
}

.form-control {
    width: 100%;
    border: 1px solid rgba(47, 35, 27, 0.14);
    background: rgba(255, 255, 255, 0.86);
    border-radius: 16px;
    padding: 14px 16px;
    font: inherit;
    color: var(--text);
    outline: none;
}

.form-control:focus {
    border-color: rgba(93, 64, 48, 0.34);
    box-shadow: 0 0 0 4px rgba(93, 64, 48, 0.08);
}

textarea.form-control {
    resize: vertical;
    min-height: 100px;
}

input[type="file"].form-control {
    padding: 12px;
}

.color-control {
    min-height: 56px;
    padding: 8px;
}

.mini-benefits {
    display: grid;
    gap: 16px;
}

.mini-benefits article {
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(47, 35, 27, 0.08);
}

.theme-preview-box {
    margin-top: 26px;
    padding: 20px;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(47, 35, 27, 0.08);
}

.reference-panel {
    display: grid;
    gap: 18px;
    margin-top: 22px;
    padding: 20px;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(47, 35, 27, 0.08);
}

.ambient-info-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 18px;
}

.ambient-mini-card {
    padding: 18px;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(47, 35, 27, 0.08);
}

.ambient-mini-card strong {
    display: block;
    margin-bottom: 10px;
}

.ambient-mini-card p {
    margin: 0;
    color: var(--muted);
    line-height: 1.8;
}

.reference-thumb {
    display: inline-grid;
    gap: 10px;
    width: fit-content;
}

.reference-thumb small {
    color: var(--muted);
}

.reference-thumb img {
    width: 140px;
    height: 140px;
    object-fit: cover;
    border-radius: 22px;
    background: rgba(17, 17, 17, 0.04);
    border: 1px solid rgba(47, 35, 27, 0.08);
}

.message-stack {
    padding-top: 14px;
}

.message-banner,
.success-chip {
    color: #103b2d;
    background: rgba(206, 240, 222, 0.92);
    border: 1px solid rgba(19, 95, 55, 0.18);
}

.site-popup-backdrop {
    position: fixed;
    inset: 0;
    z-index: 80;
    background: rgba(18, 18, 18, 0.42);
    backdrop-filter: blur(8px);
}

.site-popup {
    position: fixed;
    inset-inline: max(16px, calc((100vw - 980px) / 2));
    top: 50%;
    z-index: 81;
    transform: translateY(-50%);
}

.site-popup-shell {
    position: relative;
    display: grid;
    grid-template-columns: minmax(240px, 0.92fr) minmax(0, 1.08fr);
    overflow: hidden;
    border-radius: 34px;
    background: rgba(255, 252, 248, 0.97);
    border: 1px solid rgba(47, 35, 27, 0.08);
    box-shadow: 0 40px 120px rgba(18, 18, 18, 0.26);
}

.site-popup-figure {
    margin: 0;
    min-height: 100%;
}

.site-popup-figure img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.site-popup-copy {
    display: grid;
    gap: 14px;
    padding: 34px;
}

.site-popup-copy h2 {
    margin: 0;
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 3vw, 2.8rem);
    line-height: 1.08;
}

.site-popup-copy p {
    margin: 0;
    color: var(--muted);
    line-height: 1.9;
}

.site-popup-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 4px;
}

.site-popup-close {
    position: absolute;
    top: 18px;
    inset-inline-end: 18px;
    width: 42px;
    height: 42px;
    border: 1px solid rgba(47, 35, 27, 0.12);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.86);
    color: var(--primary);
    font-size: 1.5rem;
    line-height: 1;
    cursor: pointer;
}

body.popup-open {
    overflow: hidden;
}

.inline-link {
    display: inline-flex;
    margin-top: 18px;
    color: var(--accent);
    font-weight: 700;
}

.inline-link:hover {
    text-decoration: underline;
}

.site-footer {
    padding: 40px 0 54px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    padding: 30px;
    border-radius: 32px;
    background: rgba(255, 255, 255, 0.76);
    border: 1px solid rgba(47, 35, 27, 0.08);
}

.footer-grid h3,
.footer-grid h4 {
    margin-top: 0;
}

.footer-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 10px;
}

.about-hero-section {
    padding-bottom: 40px;
}

.about-hero-grid,
.about-story-grid,
.about-split-grid,
.about-contact-grid {
    display: grid;
    gap: 24px;
}

.about-hero-grid {
    grid-template-columns: minmax(0, 1.02fr) minmax(320px, 0.98fr);
    align-items: center;
}

.about-hero-visual,
.about-signature-card,
.about-column-card,
.about-contact-card {
    min-width: 0;
}

.about-signature-card,
.about-column-card,
.about-contact-card {
    padding: 28px;
}

.about-signature-top h2,
.about-story-card h2,
.about-contact-card h2 {
    margin: 12px 0 14px;
    font-size: clamp(1.7rem, 3vw, 2.5rem);
    line-height: 1.15;
}

.about-signature-top p,
.about-story-card p,
.about-contact-card p,
.about-faq-item p,
.about-mini-fact span {
    color: var(--muted);
    line-height: 1.9;
}

.about-photo-card {
    min-height: 300px;
    margin: 24px 0;
}

.about-mini-facts,
.about-stat-grid,
.about-mission-grid {
    display: grid;
    gap: 18px;
}

.about-mini-facts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.about-mini-fact {
    padding: 18px;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.76);
    border: 1px solid rgba(47, 35, 27, 0.08);
}

.about-mini-fact strong {
    display: block;
    margin-bottom: 8px;
    font-size: 1.5rem;
    font-family: var(--font-display);
    font-weight: 700;
}

.about-story-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.about-story-card {
    padding: 30px;
}

.about-story-card-accent {
    background:
        radial-gradient(circle at top right, rgba(93, 64, 48, 0.12), transparent 30%),
        rgba(255, 255, 255, 0.82);
}

.about-facts-section {
    padding-top: 0;
}

.about-stat-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.about-split-grid,
.about-contact-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.about-list-grid {
    display: grid;
    gap: 16px;
    margin-top: 20px;
}

.about-inline-card {
    padding: 22px;
}

.about-mission-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.about-contact-list {
    display: grid;
    gap: 14px;
    margin-top: 22px;
    font-style: normal;
}

.about-contact-list a,
.about-contact-list div {
    display: grid;
    gap: 4px;
    padding: 16px 18px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(47, 35, 27, 0.08);
}

.about-contact-list strong {
    font-size: 0.9rem;
}

.about-contact-list span {
    color: var(--muted);
    line-height: 1.8;
    overflow-wrap: anywhere;
}

.about-faq-list {
    display: grid;
    gap: 12px;
    margin-top: 20px;
}

.about-faq-item {
    padding: 18px 20px;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.76);
    border: 1px solid rgba(47, 35, 27, 0.08);
}

.about-faq-item summary {
    cursor: pointer;
    font-weight: 800;
    line-height: 1.7;
    list-style: none;
}

.about-faq-item summary::-webkit-details-marker {
    display: none;
}

.about-faq-item p {
    margin: 12px 0 0;
}

html[dir="rtl"] .nav-links a,
html[dir="rtl"] .button {
    font-weight: 700;
}

html[dir="rtl"] .hero-copy h1,
html[dir="rtl"] .page-header h1,
html[dir="rtl"] .public-copy h1 {
    letter-spacing: 0;
    line-height: 1.16;
    font-weight: 700;
}

html[dir="rtl"] .eyebrow,
html[dir="rtl"] .card-kicker,
html[dir="rtl"] .success-chip {
    letter-spacing: 0;
}

html[dir="rtl"] .section-heading h2,
html[dir="rtl"] .workflow-grid h2,
html[dir="rtl"] .panel-card h2,
html[dir="rtl"] .public-section h2,
html[dir="rtl"] .story-layout h2,
html[dir="rtl"] .qr-preview-card h3,
html[dir="rtl"] .browser-body h3,
html[dir="rtl"] .about-signature-top h2,
html[dir="rtl"] .about-story-card h2,
html[dir="rtl"] .about-contact-card h2,
html[dir="rtl"] .feature-card h3,
html[dir="rtl"] .timeline-card h3,
html[dir="rtl"] .detail-card h2,
html[dir="rtl"] .about-faq-item summary {
    font-family: var(--font-display);
    letter-spacing: 0;
    font-weight: 700;
}

html[dir="rtl"] .brand-mark small,
html[dir="rtl"] .hero-text,
html[dir="rtl"] .page-header p,
html[dir="rtl"] .public-subheadline,
html[dir="rtl"] .public-description,
html[dir="rtl"] .about-signature-top p,
html[dir="rtl"] .about-story-card p,
html[dir="rtl"] .about-contact-card p,
html[dir="rtl"] .about-contact-list span,
html[dir="rtl"] .about-faq-item p,
html[dir="rtl"] .feature-card p,
html[dir="rtl"] .timeline-card p,
html[dir="rtl"] .browser-body p,
html[dir="rtl"] .stat-card span {
    font-family: var(--font-body);
    line-height: 1.95;
}

html[dir="rtl"] .theme-luxury .public-copy h1 {
    font-family: var(--font-display);
}

html[dir="rtl"] .hero-copy h1,
html[dir="rtl"] .page-header h1,
html[dir="rtl"] .public-copy h1,
html[dir="rtl"] .section-heading h2,
html[dir="rtl"] .workflow-grid h2,
html[dir="rtl"] .panel-card h2,
html[dir="rtl"] .feature-card h3,
html[dir="rtl"] .timeline-card h3,
html[dir="rtl"] .detail-card h2,
html[dir="rtl"] .brand-mark small,
html[dir="rtl"] .hero-text,
html[dir="rtl"] .page-header p,
html[dir="rtl"] .public-subheadline,
html[dir="rtl"] .public-description,
html[dir="rtl"] .about-signature-top p,
html[dir="rtl"] .about-story-card p,
html[dir="rtl"] .about-contact-card p,
html[dir="rtl"] .about-contact-list span,
html[dir="rtl"] .about-faq-item p,
html[dir="rtl"] .about-faq-item summary,
html[dir="rtl"] .feature-card p,
html[dir="rtl"] .timeline-card p,
html[dir="rtl"] .browser-body p,
html[dir="rtl"] .browser-body h3,
html[dir="rtl"] .stat-card span,
html[dir="rtl"] .footer-grid p,
html[dir="rtl"] .footer-list li,
html[dir="rtl"] .card-caption {
    unicode-bidi: plaintext;
}

.about-hero-section .hero-copy h1 {
    max-inline-size: 8ch;
}

.public-page {
    background:
        radial-gradient(circle at top left, color-mix(in srgb, var(--brand-accent) 22%, transparent), transparent 28%),
        radial-gradient(circle at top right, color-mix(in srgb, var(--brand-primary) 18%, transparent), transparent 28%),
        linear-gradient(180deg, color-mix(in srgb, var(--brand-secondary) 85%, white), var(--brand-secondary));
}

.public-showcase-section {
    padding-top: 0;
}

.public-scene-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.public-scene-card {
    min-height: 320px;
}

.public-hero,
.public-story {
    padding: 72px 0;
}

.public-copy h1,
.story-layout h2 {
    color: var(--brand-primary);
}

.public-subheadline,
.public-description,
.public-meta {
    color: color-mix(in srgb, var(--brand-primary) 72%, #ffffff);
}

.public-meta {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 22px;
}

.public-meta span {
    padding: 10px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.6);
    border: 1px solid rgba(0, 0, 0, 0.06);
}

.detail-card {
    background: rgba(255, 255, 255, 0.68);
}

.info-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.story-layout {
    grid-template-columns: minmax(0, 0.7fr) minmax(0, 1fr);
    align-items: start;
    padding: 32px;
    border-radius: 32px;
    background: rgba(255, 255, 255, 0.68);
    border: 1px solid rgba(0, 0, 0, 0.07);
}

.theme-luxury .public-copy h1 {
    font-family: "Cormorant Garamond", serif;
    font-size: clamp(2.6rem, 5vw, 5rem);
}

.theme-playful .qr-preview-card,
.frame-playful {
    transform: rotate(-1.5deg);
}

.theme-minimal .public-hero,
.theme-minimal .public-story {
    padding-top: 56px;
}

[data-reveal] {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 520ms ease, transform 520ms ease;
}

[data-reveal].is-visible {
    opacity: 1;
    transform: translateY(0);
}

.tilt-surface {
    transform: perspective(1200px) rotateX(var(--tilt-x, 0deg)) rotateY(var(--tilt-y, 0deg));
    transform-style: preserve-3d;
    transition: transform 220ms ease, box-shadow 220ms ease;
    will-change: transform;
}

.tilt-surface:hover {
    box-shadow: 0 32px 84px rgba(28, 18, 12, 0.18);
}

.auth-section {
    padding: 72px 0;
}

.auth-grid,
.game-grid,
.member-grid {
    display: grid;
    gap: 24px;
}

.auth-grid {
    grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.85fr);
    align-items: stretch;
}

.auth-card,
.auth-side-card {
    padding: 30px;
}

.auth-card h1 {
    margin: 14px 0 14px;
    line-height: 1.1;
}

.auth-card p,
.auth-side-copy p,
.member-card p,
.game-copy-card p,
.unlock-poster p {
    color: var(--muted);
    line-height: 1.85;
}

.auth-photo-card {
    min-height: 320px;
    margin-bottom: 20px;
}

.auth-side-copy {
    display: grid;
    gap: 10px;
}

.member-section {
    padding-top: 0;
}

.member-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.member-card {
    padding: 24px;
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.76);
    border: 1px solid rgba(47, 35, 27, 0.08);
    box-shadow: var(--shadow);
}

.member-card h3 {
    margin: 12px 0 8px;
    line-height: 1.32;
}

.member-meta,
.unlock-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 18px 0 20px;
}

.member-meta span,
.unlock-meta span {
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(47, 35, 27, 0.06);
    color: var(--muted);
    font-size: 0.84rem;
}

.member-empty {
    display: grid;
    gap: 18px;
    justify-items: start;
}

.public-card-shell {
    position: relative;
    perspective: 1200px;
}

.signature-stage-shell {
    width: min(100%, 620px);
    margin-inline-start: auto;
}

.signature-stage {
    position: relative;
    min-height: 760px;
    isolation: isolate;
    transform-style: preserve-3d;
    transform: perspective(1600px) rotateX(var(--stage-rotate-x, 0deg)) rotateY(var(--stage-rotate-y, 0deg));
    transition: transform 220ms ease;
    animation: signatureFloat 9s ease-in-out infinite;
}

.signature-stage:hover {
    animation-play-state: paused;
}

.signature-wave,
.signature-glass,
.signature-ghost {
    position: absolute;
    inset: auto;
    pointer-events: none;
}

.signature-wave {
    border: 1px solid rgba(68, 56, 44, 0.12);
    border-radius: 48% 52% 45% 55% / 58% 42% 58% 42%;
    animation: waveDrift 16s ease-in-out infinite;
}

.wave-one {
    top: 20px;
    left: -18px;
    width: 520px;
    height: 180px;
    --wave-rotate: -12deg;
}

.wave-two {
    top: 148px;
    right: -12px;
    width: 460px;
    height: 200px;
    --wave-rotate: 8deg;
    animation-delay: -4s;
}

.wave-three {
    bottom: 78px;
    left: 22px;
    width: 520px;
    height: 220px;
    --wave-rotate: 10deg;
    animation-delay: -8s;
}

.signature-glass {
    inset-inline-start: 104px;
    top: 20px;
    width: 404px;
    height: 646px;
    border-radius: 220px 220px 54px 54px;
    border: 1px solid rgba(68, 56, 44, 0.12);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.34), rgba(255, 255, 255, 0.08));
    backdrop-filter: blur(2px);
    transform: translateZ(10px);
}

.signature-ghost {
    background: rgba(68, 56, 44, 0.06);
    filter: blur(0.4px);
}

.signature-ghost-left {
    left: 12px;
    top: 210px;
    width: 214px;
    height: 122px;
    border-radius: 54% 46% 62% 38% / 52% 42% 58% 48%;
    transform: rotate(-10deg);
}

.signature-ghost-right {
    right: 10px;
    top: 128px;
    width: 124px;
    height: 118px;
    border-radius: 50% 50% 40% 60% / 58% 42% 58% 42%;
    transform: rotate(18deg);
}

.portrait-core,
.portrait-shard {
    position: absolute;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center 14%;
    box-shadow: 0 26px 72px rgba(18, 18, 18, 0.14);
    transition: transform 520ms cubic-bezier(.22, 1, .36, 1), filter 520ms ease, opacity 520ms ease;
    will-change: transform;
}

.portrait-core {
    bottom: 14px;
    width: 58%;
    height: 84%;
    opacity: 0.96;
}

.portrait-left {
    left: 34px;
    border-radius: 240px 220px 58px 68px;
    clip-path: polygon(0 0, 84% 0, 62% 100%, 0 100%);
}

.portrait-right {
    right: 34px;
    border-radius: 220px 240px 68px 58px;
    clip-path: polygon(18% 0, 100% 0, 100% 100%, 38% 100%);
}

.portrait-shard {
    filter: saturate(1.02) contrast(1.02);
}

.shard-top-left {
    top: 78px;
    left: 102px;
    width: 246px;
    height: 182px;
    border-radius: 34px 110px 28px 92px;
    clip-path: polygon(0 16%, 88% 0, 100% 58%, 38% 100%, 0 74%);
    transform: translateZ(88px) rotate(-8deg);
}

.shard-top-right {
    top: 108px;
    right: 72px;
    width: 228px;
    height: 212px;
    border-radius: 104px 36px 96px 28px;
    clip-path: polygon(22% 0, 100% 16%, 88% 100%, 0 76%, 0 26%);
    transform: translateZ(96px) rotate(8deg);
}

.shard-center {
    top: 236px;
    left: 176px;
    width: 238px;
    height: 214px;
    border-radius: 120px 24px 120px 30px;
    clip-path: polygon(16% 0, 100% 14%, 82% 100%, 0 84%, 0 18%);
    background-position: center 22%;
    transform: translateZ(126px);
}

.shard-bottom {
    bottom: 86px;
    left: 116px;
    width: 356px;
    height: 228px;
    border-radius: 42px 42px 120px 120px;
    clip-path: polygon(14% 0, 100% 10%, 86% 100%, 0 88%);
    background-position: center 76%;
    transform: translateZ(82px) rotate(-2deg);
}

.signature-stage:hover .portrait-left {
    transform: translate3d(-12px, 0, 0) scale(1.01);
}

.signature-stage:hover .portrait-right {
    transform: translate3d(12px, 0, 0) scale(1.01);
}

.signature-stage:hover .shard-top-left {
    transform: translate3d(-126px, -42px, 122px) rotate(-18deg);
}

.signature-stage:hover .shard-top-right {
    transform: translate3d(116px, -28px, 132px) rotate(18deg);
}

.signature-stage:hover .shard-center {
    transform: translate3d(-16px, -34px, 160px) rotate(-6deg);
}

.signature-stage:hover .shard-bottom {
    transform: translate3d(22px, 54px, 118px) rotate(7deg);
}

.signature-label {
    position: absolute;
    z-index: 10;
    display: inline-grid;
    gap: 4px;
    padding: 10px 14px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(68, 56, 44, 0.1);
    box-shadow: 0 20px 40px rgba(18, 18, 18, 0.08);
    backdrop-filter: blur(8px);
}

.signature-label small {
    color: var(--muted);
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.signature-label span {
    font-weight: 800;
}

.signature-label-left {
    left: 30px;
    top: 154px;
}

.signature-label-right {
    right: 18px;
    bottom: 190px;
}

.signature-qr-chip {
    position: absolute;
    right: 20px;
    bottom: 12px;
    z-index: 12;
    width: 168px;
    padding: 16px;
    border-radius: 26px;
}

.signature-qr-mini {
    display: grid;
    place-items: center;
    margin: 12px 0 10px;
    padding: 12px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.82);
}

.signature-qr-mini img {
    width: 96px;
    border-radius: 12px;
}

.depth-orb {
    position: absolute;
    inset-inline-end: 18px;
    border-radius: 999px;
    filter: blur(2px);
    pointer-events: none;
    opacity: 0.9;
}

.depth-orb-one {
    top: -22px;
    width: 120px;
    height: 120px;
    background: radial-gradient(circle, color-mix(in srgb, var(--brand-accent) 34%, transparent), transparent 68%);
}

.depth-orb-two {
    bottom: -28px;
    inset-inline-start: 18px;
    width: 150px;
    height: 150px;
    background: radial-gradient(circle, color-mix(in srgb, var(--brand-primary) 18%, transparent), transparent 72%);
}

.depth-layered .public-card-shell .qr-preview-card,
.depth-immersive .public-card-shell .qr-preview-card {
    transform: translateZ(28px);
}

.depth-immersive .detail-card,
.depth-immersive .story-layout,
.depth-immersive .game-stage-card,
.depth-immersive .game-copy-card {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.76), rgba(255, 255, 255, 0.64));
    box-shadow: 0 30px 90px rgba(18, 18, 18, 0.12);
}

@keyframes signatureFloat {
    0%, 100% {
        transform: perspective(1600px) rotateX(var(--stage-rotate-x, 0deg)) rotateY(var(--stage-rotate-y, 0deg)) translateY(0);
    }
    50% {
        transform: perspective(1600px) rotateX(var(--stage-rotate-x, 0deg)) rotateY(var(--stage-rotate-y, 0deg)) translateY(-10px);
    }
}

@keyframes waveDrift {
    0%, 100% {
        transform: translate3d(0, 0, 0) rotate(var(--wave-rotate, -4deg));
    }
    50% {
        transform: translate3d(10px, -12px, 0) rotate(var(--wave-rotate, -4deg));
    }
}

.game-section {
    padding-top: 0;
}

.game-grid {
    grid-template-columns: minmax(0, 0.82fr) minmax(320px, 1.18fr);
    align-items: start;
}

.game-copy-card,
.game-stage-card {
    padding: 28px;
}

.game-actions,
.game-controls-row {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.game-goals {
    margin-top: 20px;
    padding: 18px;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(47, 35, 27, 0.08);
}

.game-goals strong {
    display: block;
    margin-bottom: 8px;
}

.game-status {
    margin: 20px 0 0;
    font-weight: 700;
    color: var(--accent);
}

.game-stage {
    display: grid;
    place-items: center;
    min-height: 360px;
    padding: 18px;
    border-radius: 28px;
    background:
        radial-gradient(circle at top right, rgba(93, 64, 48, 0.12), transparent 34%),
        rgba(255, 255, 255, 0.78);
    border: 1px solid rgba(47, 35, 27, 0.08);
}

.game-stage [hidden] {
    display: none !important;
}

.game-canvas {
    width: min(100%, 320px);
    height: auto;
    border-radius: 28px;
    background: #f5f0ea;
}

.maze-board,
.memory-board {
    display: grid;
    width: min(100%, 320px);
    aspect-ratio: 1;
    gap: 8px;
}

.maze-board {
    grid-template-columns: repeat(7, minmax(0, 1fr));
}

.maze-cell {
    border-radius: 12px;
    background: rgba(17, 17, 17, 0.06);
}

.maze-cell.is-wall {
    background: #1b1b1b;
}

.maze-cell.is-goal {
    background: #b58a68;
}

.maze-cell.is-player {
    background: linear-gradient(135deg, #1b1b1b, #6a4b3b);
    box-shadow: 0 0 0 4px rgba(181, 138, 104, 0.18);
}

.memory-board {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.memory-card {
    border: 0;
    border-radius: 18px;
    background: linear-gradient(135deg, rgba(93, 64, 48, 0.9), rgba(18, 18, 18, 0.94));
    color: transparent;
    cursor: pointer;
    transition: transform 180ms ease, background 180ms ease, color 180ms ease;
    font: inherit;
    font-weight: 800;
}

.memory-card span {
    opacity: 0;
    transition: opacity 180ms ease;
}

.memory-card.is-open,
.memory-card.is-matched {
    background: rgba(255, 255, 255, 0.92);
    color: var(--accent);
    transform: translateY(-3px);
}

.memory-card.is-open span,
.memory-card.is-matched span {
    opacity: 1;
}

.game-controls {
    display: grid;
    justify-content: center;
    gap: 12px;
    margin-top: 20px;
}

.game-controls-row {
    justify-content: center;
}

.game-control {
    min-width: 76px;
    min-height: 48px;
    border: 1px solid rgba(47, 35, 27, 0.12);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.82);
    color: var(--text);
    font: inherit;
    font-weight: 700;
    cursor: pointer;
}

.unlock-poster {
    margin-top: 24px;
    padding: 26px;
    border-radius: 30px;
    color: #fff;
    background:
        radial-gradient(circle at top right, rgba(255, 255, 255, 0.16), transparent 28%),
        linear-gradient(135deg, #1b1b1b, #6a4b3b 58%, #b58a68 100%);
    box-shadow: 0 22px 70px rgba(18, 18, 18, 0.2);
}

.unlock-poster h3 {
    margin: 14px 0 10px;
    font-size: clamp(1.6rem, 2.4vw, 2.2rem);
}

.unlock-poster p,
.unlock-meta span {
    color: rgba(255, 255, 255, 0.86);
}

@media (max-width: 1040px) {
    .feature-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .hero-grid,
    .showcase-grid,
    .workflow-grid,
    .builder-grid,
    .builder-grid-wide,
    .public-hero-grid,
    .story-layout,
    .info-grid,
    .public-scene-grid,
    .auth-grid,
    .game-grid,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .preview-stack {
        display: grid;
        gap: 18px;
        min-height: auto;
    }

    .preview-stack > .qr-preview-card {
        position: relative;
        inset: auto;
        margin-top: 0;
        order: 2;
    }

    .hero-photo-card {
        width: 100%;
        min-height: auto;
        order: 1;
    }

    .browser-card {
        position: relative;
        width: 100%;
        margin-top: 0;
        order: 3;
    }

    .qr-preview-card {
        margin-inline: 0;
        width: 100%;
    }

    .showcase-card-wide {
        grid-template-columns: 1fr;
    }

    .showcase-card-wide img,
    .showcase-card img,
    .public-scene-card {
        min-height: auto;
        height: 280px;
    }

    .ambient-info-row {
        grid-template-columns: 1fr;
    }

    .member-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .about-hero-grid,
    .about-story-grid,
    .about-split-grid,
    .about-contact-grid,
    .about-mission-grid {
        grid-template-columns: 1fr;
    }

    .about-stat-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .site-popup-shell {
        grid-template-columns: 1fr;
    }

    .site-popup-figure {
        max-height: 280px;
    }

    .signature-stage {
        min-height: 700px;
    }

    .signature-glass {
        inset-inline-start: 74px;
        width: 370px;
        height: 612px;
    }
}

@media (max-width: 900px) {
    .nav-row {
        min-height: 76px;
    }
}

@media (max-width: 720px) {
    .nav-row {
        min-height: 72px;
        gap: 12px;
        padding: 12px 0;
    }

    .brand-mark {
        width: auto;
        justify-content: flex-start;
        flex: 1 1 auto;
    }

    .brand-copy {
        text-align: start;
    }

    .brand-tagline {
        display: none;
    }

    body.js-enabled .nav-toggle {
        display: inline-flex;
    }

    body.js-enabled .nav-panel {
        display: none;
        position: absolute;
        top: calc(100% + 10px);
        inset-inline: 0;
        z-index: 30;
        padding: 14px;
        border-radius: 26px;
        border: 1px solid rgba(47, 35, 27, 0.08);
        background: rgba(255, 252, 248, 0.96);
        box-shadow: 0 24px 60px rgba(28, 18, 12, 0.12);
        backdrop-filter: blur(18px);
    }

    body.js-enabled .nav-panel.is-open {
        display: grid;
        gap: 14px;
    }

    body.js-enabled .nav-links {
        width: 100%;
        display: grid;
        gap: 8px;
    }

    body.js-enabled .nav-links a {
        width: 100%;
        padding: 12px 14px;
        justify-content: center;
    }

    body.js-enabled .header-actions {
        width: 100%;
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }

    body.js-enabled .nav-cta,
    body.js-enabled .user-pill,
    body.js-enabled .logout-form,
    body.js-enabled .logout-form button,
    body.js-enabled .header-actions > .button {
        width: 100%;
    }

    body.js-enabled .nav-cta,
    body.js-enabled .user-pill,
    body.js-enabled .logout-form {
        grid-column: 1 / -1;
    }

    body.js-enabled .user-pill {
        justify-content: center;
        text-align: center;
    }

    body:not(.js-enabled) .nav-panel {
        display: grid;
        gap: 12px;
        width: 100%;
    }

    body:not(.js-enabled) .nav-links {
        width: 100%;
        justify-content: center;
        gap: 8px;
    }

    body:not(.js-enabled) .header-actions {
        width: 100%;
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }

    .stat-row,
    .feature-grid,
    .member-grid,
    .about-stat-grid,
    .about-mini-facts {
        grid-template-columns: 1fr;
    }

    .hero-copy h1,
    .page-header h1,
    .public-copy h1 {
        font-size: 2.15rem;
    }

    .hero-section,
    .feature-section,
    .workflow-section,
    .builder-section,
    .auth-section,
    .public-section,
    .public-story {
        padding: 42px 0;
    }

    .game-control {
        min-width: 64px;
    }

    .game-actions,
    .game-controls-row {
        flex-direction: column;
    }

    .about-signature-card,
    .about-column-card,
    .about-contact-card,
    .about-story-card {
        padding: 22px;
    }

    .site-popup {
        inset-inline: 14px;
        top: 50%;
    }

    .site-popup-copy {
        padding: 24px 20px 20px;
    }

    .site-popup-actions {
        flex-direction: column;
    }

    .site-popup-actions > * {
        width: 100%;
    }

    .signature-stage-shell {
        width: 100%;
    }

    .signature-stage {
        min-height: 560px;
    }

    .signature-glass {
        inset-inline-start: 54px;
        top: 24px;
        width: 260px;
        height: 470px;
    }

    .portrait-core {
        height: 78%;
        width: 60%;
    }

    .portrait-left {
        left: 18px;
    }

    .portrait-right {
        right: 18px;
    }

    .shard-top-left {
        top: 78px;
        left: 44px;
        width: 162px;
        height: 132px;
    }

    .shard-top-right {
        top: 100px;
        right: 34px;
        width: 156px;
        height: 142px;
    }

    .shard-center {
        top: 198px;
        left: 102px;
        width: 168px;
        height: 146px;
    }

    .shard-bottom {
        bottom: 92px;
        left: 54px;
        width: 248px;
        height: 156px;
    }

    .signature-label {
        padding: 8px 10px;
    }

    .signature-label-left {
        left: 8px;
        top: 132px;
    }

    .signature-label-right {
        right: 8px;
        bottom: 148px;
    }

    .signature-qr-chip {
        right: 8px;
        bottom: 0;
        width: 132px;
        padding: 12px;
    }

    .signature-qr-mini img {
        width: 74px;
    }
}
