:root {
    --bg: #f4ecdd;
    --panel: rgba(255, 252, 246, 0.78);
    --panel-border: rgba(94, 73, 55, 0.15);
    --text: #43372f;
    --muted: #77685d;
    --accent: #806650;
    --accent-dark: #654d3b;
    --input-bg: rgba(255, 255, 255, 0.68);
    --error-bg: rgba(149, 61, 61, 0.08);
    --error-text: #7f3636;
    --shadow: 0 28px 80px rgba(79, 56, 39, 0.13);
    --place-icon-profile-rgb: 79 113 72;
    --place-icon-discovery-rgb: 91 116 128;
    --place-icon-messages-rgb: 145 91 78;
    --place-icon-activity-companion-rgb: 117 105 139;
    --place-icon-settings-rgb: 112 101 126;
}

* {
    box-sizing: border-box;
}

html {
    min-height: 100%;
}

body {
    margin: 0;
    min-height: 100vh;
    color: var(--text);
    font-family: Inter, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background:
        radial-gradient(circle at 20% 15%, rgba(255,255,255,.72), transparent 34%),
        radial-gradient(circle at 80% 82%, rgba(218,196,167,.38), transparent 35%),
        linear-gradient(135deg, #f8f1e6, var(--bg));
}

button,
input {
    font: inherit;
}

.page-shell {
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: 48px 20px;
    position: relative;
}

.brand {
    position: absolute;
    top: 28px;
    left: 34px;
    color: var(--text);
    text-decoration: none;
}

.brand-name {
    display: block;
    font-family: Arial, sans-serif;
    font-size: .9rem;
    letter-spacing: .24em;
    font-weight: 700;
}

.brand-note {
    display: block;
    margin-top: 4px;
    font-size: .78rem;
    color: var(--muted);
}

.welcome-card {
    width: min(100%, 660px);
    padding: clamp(34px, 6vw, 68px);
    border: 1px solid var(--panel-border);
    border-radius: 36px;
    background: var(--panel);
    backdrop-filter: blur(20px);
    box-shadow: var(--shadow);
    animation: arrive .7s ease both;
}

.intro {
    max-width: 540px;
}

.eyebrow {
    margin: 0 0 18px;
    color: var(--accent);
    font-size: 1.05rem;
    letter-spacing: .08em;
}

h1 {
    margin: 0 0 24px;
    font-size: clamp(2.1rem, 5vw, 3.6rem);
    line-height: 1.03;
    font-weight: 500;
}

p {
    color: var(--muted);
    font-size: 1.08rem;
    line-height: 1.72;
}

.soft-line {
    margin-top: 26px;
    color: var(--text);
}

.message {
    margin: 24px 0;
    padding: 15px 17px;
    border-radius: 16px;
    font-family: Arial, sans-serif;
    font-size: .92rem;
}

.message-error {
    background: var(--error-bg);
    color: var(--error-text);
}

.registration-form {
    margin-top: 34px;
}

.step {
    display: none;
}

.step.is-active {
    display: block;
    animation: stepIn .36s ease both;
}

.step-intro {
    margin: 0 0 26px;
}

.field {
    margin-bottom: 22px;
}

.field label {
    display: block;
    margin-bottom: 9px;
    font-size: 1rem;
}

.field input,
.field select {
    width: 100%;
    padding: 16px 18px;
    border: 1px solid rgba(99, 76, 57, .19);
    border-radius: 18px;
    outline: none;
    color: var(--text);
    background: var(--input-bg);
    transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.field input:focus,
.field select:focus {
    border-color: rgba(101, 77, 59, .55);
    box-shadow: 0 0 0 5px rgba(128, 102, 80, .09);
    transform: translateY(-1px);
}

.password-wrap {
    position: relative;
}

.password-wrap input {
    padding-right: 84px;
}

.show-password {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    border: 0;
    background: transparent;
    color: var(--accent);
    cursor: pointer;
    font-family: Arial, sans-serif;
    font-size: .8rem;
}

.primary-button {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    min-height: 52px;
    padding: 0 26px;
    border: 1px solid var(--accent-dark);
    border-radius: 999px;
    background: var(--accent-dark);
    color: #fffaf3;
    cursor: pointer;
    text-decoration: none;
    transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

.primary-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(80, 57, 42, .18);
    background: #594231;
}

.next-button {
    margin-top: 8px;
}

.actions {
    margin-top: 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.back-button {
    border: 0;
    background: transparent;
    color: var(--muted);
    cursor: pointer;
    padding: 12px 4px;
}

.consent {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    color: var(--muted);
    font-family: Arial, sans-serif;
    font-size: .86rem;
    line-height: 1.55;
}

.consent input {
    margin-top: 4px;
    accent-color: var(--accent-dark);
}

.progress {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 32px;
}

.progress-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: rgba(101, 77, 59, .22);
    transition: width .25s ease, background .25s ease;
}

.progress-dot.is-active {
    width: 25px;
    border-radius: 99px;
    background: var(--accent);
}

.login-note {
    margin: 24px 0 0;
    text-align: center;
    font-family: Arial, sans-serif;
    font-size: .88rem;
}

.login-note a,
.secondary-link {
    color: var(--accent-dark);
    text-underline-offset: 4px;
}

.login-page .guide-card {
    width: min(100%, 820px);
    margin-top: clamp(38px, 7vh, 70px);
}

.login-page .guide-card__text p:nth-child(3) {
    color: var(--text);
    font-weight: 600;
    overflow-wrap: anywhere;
}

.login-page .guide-card[data-guide-state="unknown_email"] .guide-card__text p:nth-child(2),
.login-page .guide-card[data-guide-state="unknown_email"] .guide-card__text p:nth-child(4) {
    font-weight: 600;
}

.success-card {
    text-align: center;
}

.button-link {
    margin-top: 18px;
}

@keyframes arrive {
    from {
        opacity: 0;
        transform: translateY(14px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes stepIn {
    from {
        opacity: 0;
        transform: translateY(8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 640px) {
    .page-shell {
        padding: 90px 14px 24px;
        place-items: start center;
    }

    .brand {
        top: 24px;
        left: 22px;
    }

    .welcome-card {
        border-radius: 28px;
        padding: 34px 24px;
    }

    .actions {
        align-items: stretch;
        flex-direction: column-reverse;
    }

    .primary-button {
        width: 100%;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        animation-duration: .01ms !important;
        transition-duration: .01ms !important;
    }
}

.is-editor-target-highlight {
    outline: 3px solid rgba(105, 128, 94, .62) !important;
    outline-offset: 5px;
    box-shadow: 0 0 0 8px rgba(105, 128, 94, .1) !important;
}

@media (prefers-reduced-motion: no-preference) {
    .is-editor-target-highlight { animation: editor-target-highlight 1.8s ease-out; }
}

@keyframes editor-target-highlight {
    0%, 35% { outline-color: rgba(105, 128, 94, .8); box-shadow: 0 0 0 10px rgba(105, 128, 94, .14); }
    100% { outline-color: rgba(105, 128, 94, .3); box-shadow: 0 0 0 3px rgba(105, 128, 94, 0); }
}

/* MW Worlds v1.0 */
.profile-page, .profile-shell, .profile-step-stage, .profile-chapter, .profile-chapter-content { min-width: 0; max-width: 100%; }
.worlds-lead { color: var(--text) !important; font-size: 1.08rem; }
.profile-step-stage .profile-worlds { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; max-width: 100%; min-width: 0; margin-top: 24px; }
.profile-step-stage .profile-world-card { min-width: 0; padding: 19px; border: 1px solid rgba(101,77,59,.18); border-radius: 20px; background: rgba(255,255,255,.34); transition: border-color .2s ease, background .2s ease, box-shadow .2s ease; }
.profile-step-stage .profile-world-card.is-selected { border-color: rgba(95,112,86,.42); background: rgba(236,244,232,.56); box-shadow: inset 0 0 0 1px rgba(95,112,86,.08); }
.profile-step-stage .profile-world-heading, .profile-step-stage .profile-world-heading > div { min-width: 0; max-width: 100%; }
.profile-step-stage .profile-world-heading { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 13px; align-items: start; }
.profile-step-stage .profile-world-icon { font-size: 1.7rem; line-height: 1.2; }
.profile-step-stage .profile-world-heading h3 { margin: 0; font-size: 1.03rem; line-height: 1.35; }
.profile-step-stage .profile-world-heading p { margin: 6px 0 0; color: var(--muted); line-height: 1.55; overflow-wrap: anywhere; }
.profile-step-stage .profile-world-heading .profile-world-summary { color: var(--accent-dark); font-size: .86rem; font-weight: 600; }
.profile-step-stage .profile-world-summary[hidden] { display: none; }
.profile-step-stage .profile-world-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 14px; margin-top: 17px; }
.profile-step-stage .profile-world-select { display: inline-flex; align-items: center; gap: 9px; min-width: 0; cursor: pointer; font-weight: 700; }
.profile-step-stage .profile-world-select input { width: 19px; height: 19px; flex: 0 0 auto; accent-color: #5f7056; }
.profile-step-stage .profile-world-toggle { min-width: 0; padding: 6px 0; border: 0; color: var(--accent-dark); background: transparent; font: inherit; font-size: .88rem; cursor: pointer; text-align: left; }
.profile-step-stage .profile-world-toggle:hover { text-decoration: underline; text-underline-offset: 3px; }
.profile-step-stage .profile-world-select input:focus-visible, .profile-step-stage .profile-world-toggle:focus-visible, .profile-step-stage .profile-world-activity input:focus-visible { outline: 3px solid rgba(128,102,80,.25); outline-offset: 3px; }
.profile-step-stage .profile-world-activities { margin: 14px 0 0 14px; overflow: hidden; }
.profile-step-stage .profile-world-activities[hidden] { display: none; }
.profile-step-stage .profile-world-activity-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; padding-top: 13px; border-top: 1px solid rgba(101,77,59,.14); animation: worldActivitiesIn .2s ease both; }
.profile-step-stage .profile-world-activity { display: flex; align-items: flex-start; gap: 8px; min-width: 0; padding: 7px 8px; border-radius: 10px; cursor: pointer; line-height: 1.4; }
.profile-step-stage .profile-world-activity:hover { background: rgba(255,255,255,.55); }
.profile-step-stage .profile-world-activity input { width: 18px; height: 18px; flex: 0 0 auto; margin-top: 1px; accent-color: #5f7056; }
.profile-step-stage .profile-world-activity-list.is-intimacy-details { grid-template-columns: 1fr; }
.profile-step-stage .profile-world-intimacy-group { min-width: 0; margin: 0; padding: 0; border: 0; }
.profile-step-stage .profile-world-intimacy-group + .profile-world-intimacy-group { margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--intimacy-border); }
.profile-step-stage .profile-world-intimacy-group legend { margin-bottom: 6px; padding: 0 8px; color: var(--intimacy-accent); font-weight: 700; }
.profile-step-stage [data-world-card="intimacy"] { border-color: var(--intimacy-border); background: var(--intimacy-background); }
.profile-step-stage [data-world-card="intimacy"] input { accent-color: var(--intimacy-accent); }
.profile-step-stage .profile-world-count { margin-top: 14px; }
.profile-preview-worlds { display: grid; gap: 12px 28px; }
.profile-preview-world { display: grid; gap: 3px; }
.profile-preview-world strong { color: var(--text); font-weight: 400; }
.profile-preview-world span { padding-left: 1.75rem; color: var(--muted); font-size: .9rem; line-height: 1.5; }
.profile-preview-world-note { margin-top: 14px !important; color: var(--text) !important; }
@media (min-width: 760px) {
    .profile-preview-worlds { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@keyframes worldActivitiesIn { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }
@media (max-width: 760px) {
    .profile-shell { width: 100%; padding-inline: 12px; }
    .profile-step-stage, .profile-chapters, .profile-step-stage .profile-worlds { width: 100%; min-width: 0; }
    .profile-step-stage .profile-worlds { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 420px) {
    .profile-step-stage .profile-world-card { padding: 16px; }
    .profile-step-stage .profile-world-actions { align-items: flex-start; flex-direction: column; gap: 5px 10px; }
    .profile-step-stage .profile-world-activity-list { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
    .profile-step-stage .profile-world-card { transition: none; }
    .profile-step-stage .profile-world-activity-list { animation: none; }
}

.profile-preview-seek-list { display: grid; gap: 10px; }
.profile-preview-seek-item { display: grid; gap: 3px; }
.profile-preview-seek-item strong { color: var(--text); font-weight: 400; }
.profile-preview-seek-item span { padding-left: 1rem; color: var(--muted); font-size: .9rem; line-height: 1.5; }
.profile-preview-seek-note { margin-top: 14px !important; color: var(--text) !important; }
@media (min-width: 760px) {
    .profile-preview-seek-list { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 28px; }
}
/* Životný cyklus predstavenia: režim úpravy */
.profile-edit-home {
    scroll-margin-top: 18px;
}

.profile-lifecycle-message {
    margin-bottom: 24px;
    padding: clamp(22px, 4vw, 34px);
    border: 1px solid var(--panel-border);
    border-radius: 24px;
    background: rgba(255, 255, 255, .3);
    box-shadow: 0 14px 42px rgba(74, 52, 38, .05);
}

.profile-lifecycle-message[hidden] {
    display: none;
}

.profile-lifecycle-message h2 {
    margin: 0 0 10px;
    font-size: clamp(1.35rem, 3vw, 1.9rem);
}

.profile-lifecycle-message p {
    margin: 0;
    color: var(--muted);
    line-height: 1.7;
}

.profile-lifecycle-message .primary-button {
    margin-top: 20px;
}

.profile-edit-home[hidden],
.profile-step-stage[hidden],
.profile-step-progress[hidden] {
    display: none;
}

.profile-edit-home .profile-live-preview {
    margin-bottom: 22px;
}

.profile-owner-preview {
    width: min(1160px, calc(100vw - 48px));
    margin-inline-start: 50%;
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
    transform: translateX(-50%);
}

.profile-owner-preview .profile-live-preview-head {
    margin-bottom: 22px;
    padding: 0;
}

.profile-page.has-owner-presentation .profile-intro {
    width: min(1160px, calc(100vw - 48px));
    max-width: none;
    margin-inline-start: 50%;
    transform: translateX(-50%);
}

.profile-page.has-owner-presentation .place-header {
    width: min(1160px, calc(100vw - 48px));
    max-width: none;
    margin-inline-start: 50%;
    transform: translateX(-50%);
}

.profile-page.has-owner-presentation .profile-intro > * {
    max-width: 720px;
}

.profile-owner-presentation {
    --ink: #463c34;
    --muted: #776d64;
    --line: rgba(91, 72, 56, .14);
    --paper: #fbf8f1;
    --green: #667b5e;
    --green-dark: #52674b;
    --content-axis: 1160px;
    --reading-axis: 1040px;
    --reading-inset: max(0px, calc((100% - var(--reading-axis)) / 2));
    --chapter-space: clamp(48px, 7vw, 82px);
    --chapter-heading-space: clamp(22px, 3vw, 30px);
    width: 100%;
    margin: 0 auto;
}

@media (max-width: 800px) {
    .profile-owner-preview {
        width: 100%;
        margin-inline-start: 0;
        transform: none;
    }
    .profile-page.has-owner-presentation .profile-intro {
        width: 100%;
        margin-inline-start: 0;
        transform: none;
    }
    .profile-page.has-owner-presentation .place-header {
        width: 100%;
        margin-inline-start: 0;
        transform: none;
    }
}

.profile-live-preview h2:focus {
    outline: none;
}

.profile-edit-home .profile-published {
    margin-top: 0;
}

.profile-chapter-overview {
    margin-top: 28px;
    padding: clamp(22px, 4vw, 34px);
    border: 1px solid var(--panel-border);
    border-radius: 26px;
    background: rgba(255, 255, 255, .3);
    box-shadow: var(--shadow);
}

.profile-chapter-overview[hidden] {
    display: none;
}

.profile-chapter-overview-head {
    margin-bottom: 20px;
}

.profile-chapter-overview-head h2 {
    margin: 0 0 8px;
    font-size: clamp(1.35rem, 3vw, 1.8rem);
}

.profile-chapter-overview-head p {
    margin: 0;
    color: var(--muted);
}

.profile-chapter-overview-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.profile-overview-item {
    min-width: 0;
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: center;
    gap: 14px;
    padding: 17px;
    color: var(--text);
    text-align: left;
    border: 1px solid var(--panel-border);
    border-radius: 18px;
    background: rgba(255, 255, 255, .4);
    cursor: pointer;
    transition: background .2s ease, border-color .2s ease, transform .2s ease;
}

.profile-overview-item:hover {
    background: rgba(255, 255, 255, .7);
}

.profile-overview-item:focus-visible {
    outline: 3px solid rgba(128, 102, 80, .28);
    outline-offset: 2px;
}

.profile-overview-icon {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    color: #77736d;
    border: 1px solid currentColor;
    border-radius: 14px;
    background: rgba(119, 115, 109, .08);
}

.profile-overview-icon svg {
    width: 25px;
    height: 25px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
}

.profile-overview-item.is-started .profile-overview-icon {
    color: #a0642e;
    background: rgba(160, 100, 46, .09);
}

.profile-overview-item.is-complete .profile-overview-icon {
    color: #4f7148;
    background: rgba(79, 113, 72, .09);
    box-shadow: 0 0 0 4px rgba(79, 113, 72, .08);
}

.profile-overview-copy,
.profile-overview-copy strong,
.profile-overview-copy span {
    display: block;
    min-width: 0;
}

.profile-overview-copy strong {
    margin-bottom: 4px;
    font-size: 1rem;
}

.profile-overview-copy span {
    color: var(--muted);
    font-size: .86rem;
}

@media (max-width: 700px) {
    .profile-chapter-overview-grid {
        grid-template-columns: 1fr;
    }

    .profile-overview-item {
        width: 100%;
    }
}

.email-summary {
    margin: 30px 0 6px;
    padding: 18px 20px;
    display: grid;
    gap: 5px;
    border: 1px solid var(--panel-border);
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.42);
}

.email-summary-label {
    color: var(--muted);
    font-family: Arial, sans-serif;
    font-size: .78rem;
    letter-spacing: .05em;
    text-transform: uppercase;
}

.email-summary strong {
    overflow-wrap: anywhere;
    font-size: 1.05rem;
    font-weight: 600;
}

.email-summary a {
    width: fit-content;
    margin-top: 4px;
    color: var(--accent-dark);
    font-family: Arial, sans-serif;
    font-size: .84rem;
    text-underline-offset: 4px;
}

.back-button {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
}


.email-summary {
    margin: 28px 0 8px;
    padding: 18px 20px;
    border: 1px solid var(--panel-border);
    border-radius: 18px;
    background: rgba(255, 255, 255, .36);
}
.email-summary-label { display:block; margin-bottom:5px; color:var(--muted); font-size:.82rem; }
.email-summary strong { display:block; overflow-wrap:anywhere; }
.email-summary a { display:inline-block; margin-top:8px; color:var(--accent-dark); text-underline-offset:4px; font-size:.88rem; }
.consent-list { display:grid; gap:12px; margin-top:8px; }
.primary-button:disabled, .secondary-button:disabled { cursor:wait; opacity:.68; transform:none; box-shadow:none; }
.secondary-button { display:inline-flex; align-items:center; justify-content:center; min-height:48px; padding:0 22px; border:1px solid rgba(101,77,59,.32); border-radius:999px; background:rgba(255,255,255,.4); color:var(--accent-dark); cursor:pointer; }
.message-success { background:rgba(67,111,76,.09); color:#3d6845; }
.mail-help { margin-top:34px; padding-top:28px; border-top:1px solid var(--panel-border); }
.mail-help h2 { margin:0 0 8px; font-size:1.15rem; font-weight:500; }
.mail-help p { margin:0 0 18px; font-size:.96rem; }
.success-card strong { color:var(--text); }

.verification-recipient {
    display: grid;
    justify-items: center;
    gap: 4px;
    line-height: 1.65;
    text-align: center;
}

.verification-recipient strong {
    display: block;
    max-width: 100%;
    text-align: center;
    overflow-wrap: anywhere;
}

.verification-sender strong {
    overflow-wrap: anywhere;
}

.verification-guidance {
    margin-top: 28px;
    padding: clamp(20px, 4vw, 28px);
    border: 1px solid rgba(95, 112, 86, .2);
    border-radius: 22px;
    color: var(--text);
    background: rgba(241, 247, 238, .48);
    text-align: left;
}

.verification-guidance-heading {
    display: flex;
    align-items: center;
    gap: 11px;
    margin-bottom: 17px;
}

.verification-guidance-heading svg {
    width: 25px;
    height: 25px;
    flex: 0 0 auto;
    fill: none;
    stroke: #687b60;
    stroke-width: 1.45;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.verification-guidance h2 {
    margin: 0;
    font-size: clamp(1.1rem, 3vw, 1.28rem);
    font-weight: 600;
}

.verification-guidance p {
    margin: 0 0 14px;
    line-height: 1.68;
}

.verification-guidance p:last-child { margin-bottom: 0; }

.verification-guidance ul {
    margin: -3px 0 17px;
    padding-left: 1.35rem;
    line-height: 1.75;
}

.verification-sender { margin-top: -5px !important; }

.mail-help form {
    display: grid;
    justify-items: center;
    gap: 10px;
}

.resend-status {
    max-width: 460px;
    margin: 0 !important;
    color: var(--muted);
    font-size: .84rem !important;
    line-height: 1.5;
}

@media (max-width: 520px) {
    .mail-help .secondary-button { width: 100%; min-height: 52px; padding-inline: 16px; }
}

.message-success {
    background: rgba(71, 122, 85, .09);
    color: #3f6f4b;
}

.primary-button:disabled,
.secondary-button:disabled {
    cursor: wait;
    opacity: .72;
    transform: none;
    box-shadow: none;
}

.remember-line {
    width: fit-content;
    margin-top: 4px;
}

.login-actions {
    align-items: center;
}

.secondary-button {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    min-height: 48px;
    padding: 0 22px;
    border: 1px solid rgba(101, 77, 59, .28);
    border-radius: 999px;
    background: rgba(255,255,255,.32);
    color: var(--accent-dark);
    cursor: pointer;
}

.inline-action-form {
    margin-top: 18px;
    text-align: center;
}

.soft-loader {
    width: 44px;
    height: 4px;
    margin: 28px auto 0;
    overflow: hidden;
    border-radius: 999px;
    background: rgba(101,77,59,.16);
}

.soft-loader::after {
    content: "";
    display: block;
    width: 55%;
    height: 100%;
    border-radius: inherit;
    background: var(--accent);
    animation: quietLoad .8s ease-in-out infinite alternate;
}

@keyframes quietLoad {
    from { transform: translateX(-10%); opacity: .55; }
    to { transform: translateX(90%); opacity: 1; }
}

/* CONNECT – Môj priestor v1.0 */
.place-page {
    min-height: 100vh;
}

.place-shell {
    width: min(1120px, 100%);
    min-height: 100vh;
    margin: 0 auto;
    padding: 34px clamp(18px, 5vw, 64px) 54px;
}

.place-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 24px;
}

.place-brand {
    position: static;
}

.place-logout {
    padding: 8px 0;
    color: var(--muted);
    font-family: Arial, sans-serif;
    font-size: .86rem;
    text-decoration: none;
    text-underline-offset: 4px;
}

.place-logout:hover {
    color: var(--accent-dark);
    text-decoration: underline;
}

.place-intro {
    max-width: 720px;
    margin: clamp(72px, 10vh, 124px) 0 42px;
}

.place-intro h1 {
    max-width: 690px;
}

.place-intro p:last-child {
    margin-bottom: 0;
}

.place-intro-emphasis {
    color: var(--text);
    font-weight: 600;
}

.place-tablet {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    overflow: hidden;
    border: 1px solid rgba(94, 73, 55, .18);
    border-radius: 34px;
    background: rgba(255, 252, 246, .58);
    box-shadow: var(--shadow);
    backdrop-filter: blur(18px);
}

.place-tile {
    min-height: 168px;
    display: flex;
    gap: 22px;
    padding: clamp(22px, 3vw, 32px);
    color: var(--text);
    text-decoration: none;
    background: rgba(255, 255, 255, .12);
    transition: background .22s ease, transform .22s ease, box-shadow .22s ease;
}

.place-tile:nth-child(2) {
    border-top: 1px solid rgba(94, 73, 55, .16);
}

.place-tablet > .place-tile:nth-child(2) {
    border-top: 0;
}

.place-tile:nth-child(3) {
    border-top: 1px solid rgba(94, 73, 55, .16);
    border-left: 1px solid rgba(94, 73, 55, .16);
}

.place-tile-wide {
    grid-column: 1 / -1;
    min-height: 168px;
    border-top: 1px solid rgba(94, 73, 55, .16);
}

.place-tile-wide:first-child {
    border-top: 0;
}

.place-tile:hover {
    position: relative;
    z-index: 1;
    background: rgba(255, 255, 255, .46);
    box-shadow: inset 0 0 0 1px rgba(128, 102, 80, .08);
}

.place-tile:focus-visible {
    position: relative;
    z-index: 2;
    outline: 3px solid rgba(128, 102, 80, .28);
    outline-offset: -5px;
}

.place-tile-primary {
    background: rgba(255, 255, 255, .3);
}

.place-tile-onboarding {
    background: linear-gradient(135deg, rgba(255, 250, 232, .76), rgba(248, 237, 210, .48));
    box-shadow: inset 0 0 0 1px rgba(166, 116, 54, .3), 0 8px 24px rgba(111, 77, 42, .08);
}

.place-tile-onboarding:hover {
    background: linear-gradient(135deg, rgba(255, 251, 237, .9), rgba(248, 237, 210, .62));
    box-shadow: inset 0 0 0 1px rgba(166, 116, 54, .36), 0 10px 28px rgba(111, 77, 42, .11);
}

.place-onboarding {
    display: grid;
    gap: 2px;
    max-width: 100%;
    margin-top: 10px;
    color: #776658;
    font-size: .72rem;
    line-height: 1.25;
}

.place-onboarding strong {
    color: #936126;
    font-size: .84rem;
    font-weight: 700;
    letter-spacing: .075em;
}

.place-tile-admin {
    background: rgba(236, 232, 244, .3);
}

.place-icon-admin {
    color: #665779;
    border-color: rgba(102, 87, 121, .24);
    background: rgba(245, 241, 250, .55);
}

.place-tile-empty {
    cursor: default;
    background: rgba(255, 255, 255, .08);
}

.place-tile-empty:hover {
    z-index: auto;
    background: rgba(255, 255, 255, .08);
    box-shadow: none;
    transform: none;
}

.place-tile-lower {
    border-top: 1px solid rgba(94, 73, 55, .16);
}

.place-tile-right {
    border-left: 1px solid rgba(94, 73, 55, .16);
}

.place-icon {
    flex: 0 0 auto;
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(101, 77, 59, .18);
    border-radius: 50%;
    color: var(--accent-dark);
    font-size: 1.15rem;
    background: rgba(255, 255, 255, .3);
}

.place-module-icon {
    flex: 0 0 76px;
    width: 76px;
    height: 76px;
    object-fit: contain;
}

.place-tile-body {
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.place-tile-title {
    font-size: clamp(1.35rem, 3vw, 2rem);
    font-weight: 500;
}

.place-tile-text {
    max-width: 430px;
    margin-top: 13px;
    color: var(--muted);
    font-size: 1rem;
    line-height: 1.65;
}

.place-tile-guides:hover {
    z-index: auto;
    background: rgba(255, 255, 255, .12);
    box-shadow: none;
}

.place-guides-intro {
    max-width: none;
}

.place-guides-people {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    width: 100%;
    margin-top: 17px;
}

.place-guide-person {
    display: grid;
    gap: 5px;
    padding: 14px 16px;
    border: 1px solid rgba(94, 73, 55, .12);
    border-radius: 16px;
    background: rgba(255, 255, 255, .28);
    color: var(--muted);
    line-height: 1.55;
    text-decoration: none;
    transition: background .2s ease, border-color .2s ease;
}

.place-guide-person:hover {
    border-color: rgba(94, 73, 55, .22);
    background: rgba(255, 255, 255, .58);
}

.place-guide-person:focus-visible {
    outline: 3px solid rgba(128, 102, 80, .28);
    outline-offset: 2px;
}

.place-guide-person strong {
    color: var(--text);
    font-weight: 600;
}

.place-principle {
    margin: 28px 0 0;
    text-align: center;
    font-size: .92rem;
    letter-spacing: .035em;
}

.place-coming {
    margin-top: 24px;
    padding: 20px 22px 18px;
    border: 1px solid rgba(94, 73, 55, .12);
    border-radius: 22px;
    background: rgba(255, 252, 246, .3);
}

.place-coming h2 {
    margin: 0;
    color: var(--text);
    font-size: 1.08rem;
    font-weight: 600;
}

.place-coming > p {
    margin: 4px 0 15px;
    color: var(--muted);
    font-size: .76rem;
}

.place-coming-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
}

.place-coming-item {
    flex: 0 1 calc(25% - 6px);
    min-width: 0;
    display: grid;
    grid-template-rows: 48px auto auto;
    justify-items: center;
    padding: 8px 4px;
    border-radius: 14px;
    color: var(--muted);
    text-align: center;
    cursor: default;
    transition: background .2s ease, transform .2s ease;
}

.place-coming-item img,
.place-coming-placeholder {
    width: 44px;
    height: 44px;
}

.place-coming-item img {
    object-fit: contain;
    filter: grayscale(1) sepia(.12) saturate(.4);
    opacity: .38;
    transition: opacity .2s ease;
}

.place-coming-placeholder {
    display: grid;
    place-items: center;
    border: 1px solid rgba(94, 73, 55, .2);
    border-radius: 50%;
    color: rgba(94, 73, 55, .46);
    font: 600 1.05rem/1 "Cormorant Garamond", serif;
}

.place-coming-name {
    font-size: .7rem;
    font-weight: 600;
    line-height: 1.25;
}

.place-coming-state {
    margin-top: 4px;
    color: #8b7260;
    font-size: .52rem;
    font-weight: 600;
    letter-spacing: .09em;
    text-transform: uppercase;
}

.place-coming-item:hover {
    background: rgba(255, 255, 255, .25);
    transform: translateY(-1px);
}

.place-coming-item:hover img {
    opacity: .46;
}

@media (max-width: 900px) {
    .place-coming-item { flex-basis: calc(33.333% - 6px); }
}

@media (max-width: 520px) {
    .place-coming { padding: 18px 14px 14px; }
    .place-coming-grid { gap: 6px; }
    .place-coming-item { flex-basis: calc(50% - 3px); }
}

@media (prefers-reduced-motion: reduce) {
    .place-coming-item,
    .place-coming-item img { transition: none; }
}

.settings-list {
    display: grid;
    gap: 12px;
    margin-top: 32px;
}

.settings-item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    padding: 18px 20px;
    border: 1px solid var(--panel-border);
    border-radius: 18px;
    background: rgba(255, 255, 255, .3);
}

.account-danger-zone {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 28px;
    margin-top: 48px;
    padding: 28px;
    border: 1px solid rgba(151, 58, 45, .35);
    border-radius: 20px;
    background: rgba(151, 58, 45, .045);
}
.account-danger-zone h2 { margin: 4px 0 10px; }
.account-danger-zone p:last-child { max-width: 680px; margin: 0; color: var(--muted); line-height: 1.65; }
.danger-outline-button, .danger-button {
    display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 12px 20px;
    border: 1px solid #973a2d; border-radius: 999px; color: #873126; background: transparent;
    font: inherit; font-weight: 700; text-decoration: none; cursor: pointer; white-space: nowrap;
}
.danger-button { color: #fff; background: #873126; }
.danger-outline-button:focus-visible, .danger-button:focus-visible { outline: 3px solid rgba(151,58,45,.25); outline-offset: 3px; }
.account-deletion-card { border-color: rgba(151,58,45,.28); }
.danger-consent { padding: 16px; border: 1px solid rgba(151,58,45,.25); border-radius: 14px; background: rgba(151,58,45,.04); }
.account-deletion-confirmation { margin-top: 14px; }
@media (max-width: 700px) {
    .account-danger-zone { align-items: stretch; flex-direction: column; padding: 22px 18px; }
    .danger-outline-button, .danger-button { width: 100%; white-space: normal; text-align: center; }
}

.settings-title {
    display: block;
    color: var(--text);
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.35;
}

.settings-value {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--muted);
    font-size: .95rem;
    line-height: 1.55;
    text-align: left;
}

.settings-value-positive {
    color: #5f7056;
}

.account-information {
    margin-top: 24px;
    padding: 18px 20px;
    border: 1px solid var(--panel-border);
    border-radius: 18px;
    background: rgba(255, 255, 255, .22);
}

.account-information h2 {
    margin: 0 0 12px;
    color: var(--text);
    font-size: 1rem;
    font-weight: 600;
}

.account-information dl,
.account-information dl div {
    margin: 0;
}

.account-information dl {
    display: grid;
    gap: 9px;
}

.account-information dl div {
    display: grid;
    grid-template-columns: minmax(180px, .8fr) minmax(0, 1fr);
    gap: 14px;
}

.account-information dt {
    color: var(--muted);
}

.account-information dd {
    color: var(--text);
}

@media (max-width: 560px) {
    .account-information dl div {
        grid-template-columns: 1fr;
        gap: 1px;
    }
}

.status-dot {
    flex: 0 0 auto;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: currentColor;
    box-shadow: 0 0 0 4px rgba(95, 112, 86, .10);
}

.profile-next-placeholder {
    cursor: default;
    opacity: .58;
}

@media (max-width: 700px) {
    .place-shell {
        padding-top: 24px;
    }

    .place-intro {
        margin-top: 70px;
    }

    .place-tablet {
        grid-template-columns: 1fr;
        border-radius: 28px;
    }

    .place-tile,
    .place-tile-wide {
        grid-column: auto;
        min-height: 148px;
    }

    .place-guides-people {
        grid-template-columns: 1fr;
    }

    .place-tablet > .place-tile:nth-child(2) {
        border-top: 1px solid rgba(94, 73, 55, .16);
        border-left: 0;
    }

    .place-tile:nth-child(3) {
        border-left: 0;
    }

    .place-tile-right {
        border-left: 0;
    }

    .place-tile {
        padding: 22px 20px;
    }

    .place-module-icon {
        flex-basis: 64px;
        width: 64px;
        height: 64px;
    }

}

/* CONNECT – Tvoje predstavenie v1.0 */
.profile-shell {
    width: min(980px, 100%);
}

.profile-intro {
    max-width: 720px;
    margin: clamp(68px, 9vh, 110px) 0 34px;
}

.profile-intro h1 {
    margin-bottom: 18px;
}

.profile-readiness {
    margin-bottom: 24px;
    padding: 24px 26px;
    border: 1px solid var(--panel-border);
    border-radius: 24px;
    background: rgba(255, 255, 255, .28);
    box-shadow: 0 16px 50px rgba(74, 52, 38, .06);
}

.profile-readiness-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 20px;
    margin-bottom: 16px;
}

.profile-readiness-label,
.profile-readiness-note {
    display: block;
    color: var(--muted);
    font-size: .9rem;
}

.profile-readiness-value {
    display: block;
    margin-top: 5px;
    font-size: 1.55rem;
    font-weight: 500;
}

.profile-progress {
    height: 9px;
    overflow: hidden;
    border-radius: 999px;
    background: rgba(101, 77, 59, .12);
}

.profile-progress span {
    display: block;
    width: 0;
    height: 100%;
    border-radius: inherit;
    background: var(--accent);
    transition: width .45s ease;
}

.profile-chapters {
    display: grid;
    gap: 13px;
}

.profile-step-layout { display: grid; grid-template-columns: minmax(0, 1fr); align-items: start; gap: 16px; }
.profile-martina-help { margin: 9px 0 16px; overflow: hidden; border: 1px solid rgba(190,151,57,.2); border-radius: 16px; background: rgba(255,248,205,.48); box-shadow: 0 8px 22px rgba(119,85,39,.06); }
.profile-martina-help-toggle { display: grid; grid-template-columns: 40px 1fr auto; align-items: center; gap: 11px; width: 100%; padding: 11px 14px; border: 0; color: var(--text); background: transparent; text-align: left; cursor: pointer; }
.profile-martina-help-toggle img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; object-position: center 24%; }
.profile-martina-help-toggle strong, .profile-martina-help-toggle small { display: block; }
.profile-martina-help-toggle strong { color: #75591f; font-size: .84rem; }
.profile-martina-help-toggle small { margin-top: 2px; color: var(--muted); font-size: .7rem; font-weight: 400; line-height: 1.35; }
.profile-martina-help-toggle > span:last-child { color: #806322; font-size: 1.1rem; }
.profile-martina-help-toggle[aria-expanded="false"] > span:last-child { transform: rotate(45deg); }
.profile-martina-help-toggle:focus-visible { outline: 3px solid rgba(190,151,57,.3); outline-offset: -3px; }
.profile-martina-help-content { padding: 0 14px 13px 65px; }
.profile-martina-help-content[hidden] { display: none; }
.profile-martina-help-content p { margin: 0; color: var(--muted); font-size: .82rem; line-height: 1.5; }
.profile-martina-help-content p + p { margin-top: 9px; }
.profile-martina-help-content strong { color: var(--text); font-weight: 600; }

.profile-activity-partner-editor { margin-top: 22px; padding: 18px; border: 1px solid rgba(95,112,86,.18); border-radius: 18px; background: rgba(255,255,255,.34); }
.profile-activity-partner-editor > label { display: flex; align-items: flex-start; gap: 10px; font-weight: 600; line-height: 1.5; cursor: pointer; }
.profile-activity-partner-editor input { flex: 0 0 auto; width: 19px; height: 19px; accent-color: var(--green-dark); }
.profile-activity-partner-editor > .profile-martina-help { margin: 14px 0; }
.profile-activity-partner-editor fieldset { margin: 16px 0 0 29px; padding: 16px 0 0; border: 0; border-top: 1px solid rgba(95,112,86,.16); }
.profile-activity-partner-editor fieldset[hidden] { display: none; }
.profile-activity-partner-editor legend { padding: 0; font-size: .9rem; font-weight: 600; }
.profile-activity-partner-editor fieldset > div { display: flex; flex-wrap: wrap; gap: 9px 14px; margin-top: 12px; }
.profile-activity-partner-editor fieldset label { display: inline-flex; align-items: center; gap: 7px; cursor: pointer; font-size: .84rem; }
.profile-activity-partner-editor input:focus-visible { outline: 3px solid rgba(95,112,86,.28); outline-offset: 2px; }

@media (max-width: 560px) {
    .profile-martina-help-toggle { grid-template-columns: 36px 1fr auto; gap: 10px; padding: 11px 12px; }
    .profile-martina-help-toggle img { width: 36px; height: 36px; }
    .profile-martina-help-content { padding: 0 12px 12px; }
    .profile-activity-partner-owner-control > .profile-martina-help { width: 100%; margin-left: 0; }
    .profile-activity-partner-editor { padding: 15px; }
    .profile-activity-partner-editor fieldset { margin-left: 0; }
    .profile-activity-partner-editor fieldset > div { display: grid; grid-template-columns: 1fr; }
}


.profile-chapter {
    overflow: hidden;
    border: 1px solid var(--panel-border);
    border-radius: 24px;
    background: rgba(255, 255, 255, .31);
    transition: opacity .25s ease, background .25s ease, border-color .25s ease;
}

.profile-chapter.is-complete {
    border-color: rgba(95, 112, 86, .27);
    background: rgba(246, 250, 244, .44);
}

.profile-chapter.is-locked {
    opacity: .52;
}

.profile-chapter-head {
    width: 100%;
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: center;
    gap: 20px;
    padding: 24px 26px;
    border: 0;
    color: var(--text);
    text-align: left;
    background: transparent;
    cursor: pointer;
}

.profile-chapter-head:disabled {
    cursor: default;
}

.profile-chapter-number {
    color: var(--accent-dark);
    font-family: Arial, sans-serif;
    font-size: .78rem;
    letter-spacing: .12em;
}

.profile-chapter-copy strong,
.profile-chapter-copy span {
    display: block;
}

.profile-chapter-copy strong {
    margin-bottom: 5px;
    font-size: 1.18rem;
    font-weight: 600;
}

.profile-chapter-copy span {
    color: var(--muted);
    font-size: .94rem;
    line-height: 1.5;
}

.profile-chapter-content {
    padding: 0 26px 28px 73px;
    border-top: 1px solid rgba(94, 73, 55, .10);
}

.profile-field {
    display: grid;
    gap: 9px;
    padding-top: 24px;
}

.profile-field > span,
.profile-options legend {
    font-weight: 600;
}

.profile-field textarea,
.profile-field input[type="text"] {
    width: 100%;
    border: 1px solid var(--panel-border);
    border-radius: 16px;
    padding: 14px 16px;
    color: var(--text);
    font: inherit;
    line-height: 1.55;
    background: rgba(255, 255, 255, .58);
    resize: vertical;
}

.profile-field textarea:focus,
.profile-field input[type="text"]:focus {
    outline: 3px solid rgba(128, 102, 80, .15);
    border-color: rgba(128, 102, 80, .35);
}

.profile-field small,
.profile-photo-drop small {
    color: var(--muted);
    font-size: .82rem;
}

.profile-chapter-actions {
    display: flex;
    justify-content: flex-end;
    margin-top: 22px;
}

.profile-complete {
    width: auto;
    min-width: 210px;
}

.profile-photo-drop {
    display: flex;
    align-items: center;
    gap: 18px;
    padding-top: 24px;
    cursor: pointer;
}

.profile-photo-drop input {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    opacity: 0;
}

.profile-photo-preview {
    flex: 0 0 auto;
    width: 94px;
    height: 94px;
    display: grid;
    place-items: center;
    border: 1px dashed rgba(101, 77, 59, .35);
    border-radius: 26px;
    color: var(--accent-dark);
    font-size: 1.8rem;
    background-position: center;
    background-size: cover;
}

.profile-photo-preview.has-image {
    border-style: solid;
}

.profile-photo-drop strong,
.profile-photo-drop small {
    display: block;
}

.profile-photo-drop strong {
    margin-bottom: 7px;
}

.profile-options {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin: 0;
    padding: 24px 0 0;
    border: 0;
}

.profile-options legend {
    grid-column: 1 / -1;
    margin-bottom: 7px;
}

.profile-options label {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
    border: 1px solid var(--panel-border);
    border-radius: 14px;
    background: rgba(255, 255, 255, .36);
}

.profile-publish,
.profile-published {
    margin-top: 28px;
    padding: clamp(28px, 5vw, 48px);
    border: 1px solid var(--panel-border);
    border-radius: 30px;
    text-align: center;
    background: rgba(255, 255, 255, .38);
    box-shadow: var(--shadow);
}

.profile-publish h2 {
    margin: 10px auto 14px;
    max-width: 620px;
    font-size: clamp(1.7rem, 4vw, 2.7rem);
    font-weight: 500;
}

.profile-publish-button {
    width: auto;
    min-width: min(100%, 310px);
    margin-top: 18px;
    padding-inline: 32px;
}

.profile-published {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    text-align: left;
    color: #5f7056;
}

.profile-published[hidden],
.profile-publish[hidden] {
    display: none;
}

.profile-published strong,
.profile-published span {
    display: block;
}

.profile-published span:last-child {
    margin-top: 4px;
    color: var(--muted);
}

@media (max-width: 700px) {
    .profile-readiness-head {
        align-items: flex-start;
        flex-direction: column;
        gap: 10px;
    }

    .profile-chapter-head {
        grid-template-columns: auto 1fr;
        gap: 14px;
        padding: 22px 20px;
    }

    .profile-chapter-content {
        padding: 0 20px 24px;
    }

    .profile-options {
        grid-template-columns: 1fr;
    }

    .profile-chapter-actions,
    .profile-complete {
        width: 100%;
    }
}

/* CONNECT – Tvoje predstavenie: kapitola Niečo o mne */
.profile-guidance {
    padding-top: 26px;
}

.profile-guidance h2 {
    margin: 0 0 10px;
    font-size: clamp(1.35rem, 3vw, 1.75rem);
    font-weight: 600;
}

.profile-guidance > p {
    max-width: 720px;
    margin: 0;
    color: var(--muted);
    line-height: 1.7;
}

.profile-example {
    max-width: 760px;
    margin-top: 22px;
    padding: 18px 20px;
    border: 1px solid rgba(128, 102, 80, .14);
    border-radius: 18px;
    background: rgba(255, 255, 255, .34);
}

.profile-example-label {
    display: block;
    margin-bottom: 8px;
    color: var(--accent-dark);
    font-family: Arial, sans-serif;
    font-size: .76rem;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.profile-example p {
    margin: 0;
    color: var(--muted);
    font-style: italic;
    line-height: 1.65;
}

.profile-field-about textarea {
    min-height: 95px;
}

.profile-about-example {
    margin-top: 18px;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
}

.profile-field-inspiration {
    color: var(--muted);
    font-style: italic;
    line-height: 1.55;
}

.profile-field-meta {
    display: flex;
    justify-content: space-between;
    gap: 16px;
}

.profile-field-status {
    min-height: 1.3em;
    color: var(--muted);
    font-size: .84rem;
}

.profile-field-status.is-ready {
    color: #5f7056;
}

.profile-complete:disabled {
    cursor: not-allowed;
    opacity: .48;
    box-shadow: none;
}

.profile-placeholder-note {
    margin: 24px 0 0;
    color: var(--muted);
    line-height: 1.6;
}

@media (max-width: 700px) {
    .profile-field-meta {
        align-items: flex-start;
        flex-direction: column;
        gap: 5px;
    }
}

/* CONNECT – Tvoje predstavenie v1.2: všetky komponenty */
.profile-live-preview {
    margin-bottom: 24px;
    padding: clamp(22px, 4vw, 34px);
    border: 1px solid var(--panel-border);
    border-radius: 26px;
    background: rgba(255, 255, 255, .32);
    box-shadow: var(--shadow);
}
.profile-live-preview[hidden] { display: none; }
.profile-live-preview-head {
    display: flex;
    justify-content: space-between;
    gap: 24px;
    align-items: flex-end;
    margin-bottom: 18px;
}
.profile-live-preview h2 { margin: 5px 0 0; font-size: clamp(1.35rem, 3vw, 1.8rem); font-weight: 600; }
.profile-live-preview-note { max-width: 280px; color: var(--muted); font-size: .86rem; text-align: right; }
.profile-preview-card { display: grid; gap: 18px; }
.profile-preview-section { position: relative; margin-top: 17px; padding: 24px 17px 15px; border-radius: 16px; background: rgba(255, 255, 255, .42); }
.profile-preview-section h3 {
    position: absolute;
    top: -17px;
    left: -1px;
    display: flex;
    align-items: center;
    width: min(300px, calc(100% + 1px));
    min-height: 36px;
    margin: 0;
    padding: 8px 14px;
    border: 1px solid rgba(166, 129, 67, .16);
    border-bottom: 0;
    border-radius: 12px 12px 0 0;
    color: var(--accent-dark);
    background: rgba(255, 253, 247, .94);
    font-family: Arial, sans-serif;
    font-size: .78rem;
    letter-spacing: .04em;
    line-height: 1.35;
    text-transform: uppercase;
}
.profile-preview-section p { margin: 0; line-height: 1.65; color: var(--muted); }
.profile-preview-section.is-about p { color: var(--text); }
.profile-preview-photo-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.profile-preview-photo { position: relative; min-width: 0; margin: 0; overflow: hidden; border: 1px solid rgba(101, 77, 59, .16); border-radius: 13px; background: rgba(255, 255, 255, .5); }
.profile-preview-photo.is-main { border-color: rgba(79, 113, 72, .48); box-shadow: 0 0 0 2px rgba(79, 113, 72, .08); }
.profile-preview-photo img { display: block; width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }
.profile-preview-photo figcaption { position: absolute; right: 6px; bottom: 6px; padding: 3px 7px; border-radius: 999px; color: #fff; background: rgba(55, 79, 50, .84); font-size: .68rem; line-height: 1.3; }

.profile-form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin-top: 24px; }
.profile-basic-details-grid { grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr) minmax(0, .72fr); }
.profile-location-secondary {
    margin-top: 32px;
    padding-top: 25px;
    border-top: 1px solid rgba(103, 82, 64, .12);
}
.profile-location-secondary h3 {
    margin: 0 0 10px;
    font-size: clamp(1.35rem, 3vw, 1.75rem);
    font-weight: 600;
}
.profile-field select,
.profile-field input[type="number"],
.profile-field input[type="date"] {
    width: 100%;
    min-height: 50px;
    padding: 12px 14px;
    border: 1px solid var(--panel-border);
    border-radius: 14px;
    color: var(--text);
    background: rgba(255, 255, 255, .46);
    font: inherit;
}
.profile-field select:focus,
.profile-field input[type="number"]:focus,
.profile-field input[type="date"]:focus { outline: 3px solid rgba(128, 102, 80, .15); border-color: rgba(128, 102, 80, .35); }
.profile-input-suffix { position: relative; }
.profile-input-suffix input { padding-right: 48px !important; }
.profile-input-suffix > span { position: absolute; right: 15px; top: 50%; transform: translateY(-50%); color: var(--muted); }
.profile-choice-group { margin: 24px 0 0; padding: 0; border: 0; }
.profile-choice-group legend { font-weight: 700; }
.profile-choice-group > p { margin: 6px 0 0; color: var(--muted); }
.profile-choice-chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 15px; }
.profile-choice-chips label { cursor: pointer; }
.profile-choice-chips input { position: absolute; opacity: 0; pointer-events: none; }
.profile-choice-chips span { display: inline-flex; align-items: center; min-height: 42px; padding: 9px 14px; border: 1px solid var(--panel-border); border-radius: 999px; background: rgba(255,255,255,.38); transition: .18s ease; }
.profile-choice-chips input:focus-visible + span { outline: 3px solid rgba(128,102,80,.18); }
.profile-choice-chips input:checked + span { border-color: rgba(95,112,86,.38); background: rgba(225,237,219,.72); box-shadow: inset 0 0 0 1px rgba(95,112,86,.12); }
.profile-choice-chips input:checked + span::before { content: "✓"; margin-right: 7px; color: #5f7056; font-weight: 700; }
.profile-privacy-note {
    display: grid;
    gap: 2px;
    margin: 22px 0 0;
    padding: 15px 17px;
    border: 1px solid rgba(93, 117, 83, .2);
    border-radius: 14px;
    background: rgba(231, 239, 226, .52);
    color: #5f6759;
    line-height: 1.6;
}
.profile-privacy-note strong { display: block; margin-bottom: 2px; color: #52654b; font-weight: 700; }
.profile-privacy-note span { display: block; font-weight: 400; }

.profile-photo-upload-options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-top: 24px; }
.profile-photo-uploader { display: grid; place-items: center; gap: 7px; min-height: 190px; padding: 26px; border: 1px dashed rgba(101,77,59,.35); border-radius: 22px; background: rgba(255,255,255,.3); text-align: center; cursor: pointer; }
.profile-photo-uploader.is-main-photo { border-color: rgba(82,103,75,.38); background: rgba(236,244,232,.45); }
.profile-photo-uploader input { position: absolute; width: 1px; height: 1px; opacity: 0; overflow: hidden; }
.profile-photo-uploader-icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: rgba(255,255,255,.56); font-size: 1.55rem; }
.profile-photo-uploader small { color: var(--muted); }
.profile-photo-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 18px; }
.profile-photo-item { margin: 0; overflow: hidden; border-radius: 16px; background: rgba(255,255,255,.44); }
.profile-photo-item img { display: block; width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }
.profile-photo-item figcaption { padding: 8px 10px; color: var(--muted); font-size: .78rem; }

@media (max-width: 700px) {
    .profile-live-preview-head { align-items: flex-start; flex-direction: column; gap: 10px; }
    .profile-live-preview-note { text-align: left; }
    .profile-form-grid { grid-template-columns: 1fr; }
    .profile-photo-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .profile-photo-upload-options { grid-template-columns: 1fr; }
    .profile-preview-photo-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 420px) {
    .profile-preview-photo-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* CONNECT – Tvoje predstavenie v1.3 */
.profile-welcome {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: grid;
    place-items: center;
    padding: 24px;
    background: rgba(35, 27, 21, .72);
    backdrop-filter: blur(15px);
    animation: profileWelcomeIn .55s ease both;
    cursor: pointer;
}
.profile-welcome[hidden] { display: none; }
.profile-welcome.is-closing { animation: profileWelcomeOut .26s ease both; }
.profile-welcome-card {
    width: min(640px, 100%);
    padding: clamp(30px, 6vw, 56px);
    border: 1px solid rgba(255,255,255,.36);
    border-radius: 32px;
    background: rgba(255, 250, 244, .9);
    box-shadow: 0 28px 90px rgba(18, 11, 7, .3);
    text-align: center;
}
.profile-welcome-card h1 { margin: 12px 0 16px; font-size: clamp(2rem, 5vw, 3.7rem); line-height: 1.04; }
.profile-welcome-card p { margin: 0 auto; max-width: 520px; color: var(--muted); font-size: 1.05rem; line-height: 1.7; }
.profile-welcome-skip { display: block; margin-top: 28px; color: rgba(76, 57, 44, .72); font-size: .86rem; }
.has-profile-welcome { overflow: hidden; }
@keyframes profileWelcomeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes profileWelcomeOut { from { opacity: 1; } to { opacity: 0; } }

.profile-photo-processing {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 14px;
    color: var(--muted);
    font-size: .88rem;
}
.profile-photo-processing[hidden] { display: none; }
.profile-photo-spinner {
    width: 18px;
    height: 18px;
    border: 2px solid rgba(101,77,59,.18);
    border-top-color: rgba(101,77,59,.72);
    border-radius: 50%;
    animation: profilePhotoSpin .75s linear infinite;
}
@keyframes profilePhotoSpin { to { transform: rotate(360deg); } }
.profile-photo-item { position: relative; border: 1px solid transparent; }
.profile-photo-item.is-main { border-color: rgba(92, 123, 77, .55); box-shadow: 0 0 0 3px rgba(92, 123, 77, .08); }
.profile-photo-item figcaption { display: flex; align-items: flex-start; justify-content: space-between; gap: 8px; }
.profile-photo-item figcaption span { color: var(--text); font-weight: 700; }
.profile-photo-item figcaption small { white-space: nowrap; }
.profile-photo-actions { display: flex; flex-wrap: wrap; gap: 6px; padding: 0 9px 10px; }
.profile-photo-actions button {
    min-height: 34px;
    padding: 6px 9px;
    border: 1px solid rgba(101,77,59,.2);
    border-radius: 999px;
    background: rgba(255,255,255,.55);
    color: var(--text);
    font: inherit;
    font-size: .72rem;
    cursor: pointer;
}
.profile-photo-actions button:hover { background: rgba(255,255,255,.9); }
.profile-photo-actions .is-remove { color: #8b3f3f; }
.profile-photo-prototype-note { margin: 10px 0 0; color: var(--muted); font-size: .8rem; line-height: 1.5; }

@media (max-width: 640px) {
    .profile-welcome { padding: 14px; }
    .profile-welcome-card { border-radius: 24px; }
    .profile-photo-actions { display: grid; }
    .profile-photo-actions button { width: 100%; }
}

/* CONNECT – Tvoje predstavenie v1.4: databáza a zreteľné stavové prvky */
.profile-live-preview {
    border-color: rgba(166, 129, 67, .34);
    background:
        linear-gradient(135deg, rgba(255, 250, 233, .82), rgba(248, 239, 215, .52));
    box-shadow:
        0 18px 54px rgba(119, 85, 39, .10),
        inset 0 1px 0 rgba(255, 255, 255, .68);
}

.profile-live-preview .profile-example-label,
.profile-live-preview h2 {
    color: #71552f;
}

.profile-preview-section {
    border: 1px solid rgba(166, 129, 67, .12);
    background: rgba(255, 255, 255, .52);
}

.profile-published {
    border-color: rgba(83, 119, 74, .34);
    background:
        linear-gradient(135deg, rgba(238, 248, 234, .9), rgba(225, 240, 219, .58));
    box-shadow:
        0 18px 54px rgba(70, 100, 62, .11),
        inset 0 1px 0 rgba(255, 255, 255, .72);
}

.profile-published .status-dot {
    width: 11px;
    height: 11px;
    color: #5f7f56;
    box-shadow: 0 0 0 6px rgba(95, 127, 86, .12);
}

.profile-published strong {
    color: #4d6d46;
    font-size: 1.08rem;
}

.profile-published span:last-child {
    color: #667761;
}

.place-icon-status.is-empty {
    color: #77736d;
    border-color: rgba(119, 115, 109, .34);
    background: rgba(119, 115, 109, .08);
}

.place-icon-status.is-started {
    color: #a0642e;
    border-color: rgba(160, 100, 46, .38);
    background: rgba(160, 100, 46, .09);
}

.place-icon-status.is-complete {
    color: rgb(var(--place-icon-profile-rgb));
    border-color: rgb(var(--place-icon-profile-rgb) / .4);
    background: rgb(var(--place-icon-profile-rgb) / .09);
    box-shadow: 0 0 0 5px rgb(var(--place-icon-profile-rgb) / .08);
}

.place-icon-discovery {
    color: rgb(var(--place-icon-discovery-rgb));
    border-color: rgb(var(--place-icon-discovery-rgb) / .4);
    background: rgb(var(--place-icon-discovery-rgb) / .09);
    box-shadow: 0 0 0 5px rgb(var(--place-icon-discovery-rgb) / .08);
}

.place-icon-messages {
    color: rgb(var(--place-icon-messages-rgb));
    border-color: rgb(var(--place-icon-messages-rgb) / .38);
    background: rgb(var(--place-icon-messages-rgb) / .085);
    box-shadow: 0 0 0 5px rgb(var(--place-icon-messages-rgb) / .07);
}

.place-icon-activity-companion {
    color: rgb(var(--place-icon-activity-companion-rgb));
    border-color: rgb(var(--place-icon-activity-companion-rgb) / .36);
    background: rgb(var(--place-icon-activity-companion-rgb) / .08);
    box-shadow: 0 0 0 5px rgb(var(--place-icon-activity-companion-rgb) / .065);
}

.place-tile-text.is-unread {
    color: rgb(var(--place-icon-messages-rgb) / .92);
    font-weight: 600;
}

.place-icon-settings {
    color: rgb(var(--place-icon-settings-rgb));
    border-color: rgb(var(--place-icon-settings-rgb) / .36);
    background: rgb(var(--place-icon-settings-rgb) / .08);
    box-shadow: 0 0 0 5px rgb(var(--place-icon-settings-rgb) / .065);
}

.profile-global-message {
    margin: -8px 0 24px;
    padding: 14px 17px;
    border: 1px solid rgba(95, 112, 86, .20);
    border-radius: 16px;
    color: #5f7056;
    background: rgba(241, 247, 238, .64);
    font-size: .92rem;
}

.profile-global-message[hidden] {
    display: none;
}

.profile-global-message.is-error {
    border-color: rgba(149, 61, 61, .18);
    color: #7f3636;
    background: rgba(149, 61, 61, .07);
}

/* MW Step Card v1.0 */
.visually-hidden {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

.profile-step-progress {
    margin-bottom: 24px;
    padding: 18px 20px 17px;
    border: 1px solid var(--panel-border);
    border-radius: 22px;
    background: rgba(255, 255, 255, .28);
    text-align: center;
}

.profile-progress-copy h2 {
    margin: 0;
    color: var(--text);
    font-size: .96rem;
    font-weight: 600;
    letter-spacing: .01em;
}

.profile-progress-copy p {
    margin: 5px 0 0;
    color: var(--muted);
    font-size: .78rem;
    font-weight: 400;
}

.profile-leaves {
    display: flex;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: center;
    gap: clamp(7px, 1.4vw, 17px);
    width: 100%;
    margin-top: 14px;
    overflow: hidden;
}

.profile-leaf {
    display: inline-grid;
    flex: 0 1 31px;
    place-items: center;
    min-width: 0;
    height: 32px;
}

.profile-leaf svg {
    display: block;
    width: min(100%, 30px);
    height: 30px;
    overflow: visible;
    fill: transparent;
    stroke: #b8bbb6;
    --leaf-vein: #c1c4bf;
    transition: fill .28s ease, stroke .28s ease;
}

.profile-leaf.is-current:not(.is-complete) svg {
    fill: rgba(125, 151, 112, .13);
    stroke: #819777;
    --leaf-vein: #8da083;
}

.profile-leaf.is-complete svg {
    fill: #78906d;
    stroke: #6d8563;
    --leaf-vein: rgba(255, 255, 255, .72);
}

.profile-progress-complete {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 13px;
    color: #65765e;
}

.profile-progress-complete[hidden] { display: none; }

.profile-progress-complete p {
    margin: 0;
    font-size: .78rem;
    line-height: 1.4;
    text-align: center;
}

.profile-progress-complete strong,
.profile-progress-complete span { display: block; }

.profile-progress-complete strong { font-weight: 600; }
.profile-progress-complete span { color: var(--muted); }

.profile-step-stage {
    width: 100%;
    overflow-x: clip;
    scroll-margin-top: 18px;
}

.profile-step-stage .profile-chapters {
    display: block;
}

.profile-step-stage .profile-chapter {
    width: 100%;
    min-width: 0;
}

.profile-step-stage .profile-chapter[hidden] {
    display: none;
}

.profile-chapter.is-entering-left,
.profile-chapter.is-entering-right {
    opacity: 0;
}

.profile-chapter.is-entering-left { transform: translateX(-34px); }
.profile-chapter.is-entering-right { transform: translateX(34px); }
.profile-chapter.is-entering-active { opacity: 1; transform: translateX(0); }
.profile-chapter.is-leaving-left { opacity: 0; transform: translateX(-34px); }
.profile-chapter.is-leaving-right { opacity: 0; transform: translateX(34px); }

.profile-step-stage .profile-chapter {
    transition: opacity .3s ease, transform .3s ease, background .25s ease, border-color .25s ease;
}

.profile-step-stage .profile-chapter-head {
    cursor: default;
}

.profile-step-stage .profile-chapter-content {
    border-top: 1px solid rgba(94, 73, 55, .10);
}

.profile-chapter-actions,
.profile-summary-actions {
    gap: 12px;
}

.profile-step-back {
    margin-right: auto;
}

.profile-looking-followup {
    margin-top: 22px;
    padding: clamp(18px, 4vw, 26px);
    border: 1px solid var(--panel-border);
    border-radius: 20px;
    background: rgba(255, 255, 255, .3);
}

.profile-looking-followup[hidden] {
    display: none;
}

.profile-looking-followup h3 {
    margin: 0 0 7px;
    font-size: 1.2rem;
}

.profile-looking-followup > p {
    margin: 0 0 15px;
    color: var(--muted);
}

.profile-toggle-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.profile-toggle-chip {
    min-height: 44px;
    padding: 10px 15px;
    color: var(--text);
    font: inherit;
    line-height: 1.35;
    border: 1px solid rgba(101, 77, 59, .2);
    border-radius: 999px;
    background: rgba(255, 255, 255, .42);
    cursor: pointer;
    transition: border-color .2s ease, background .2s ease, box-shadow .2s ease, transform .2s ease;
}

.profile-toggle-chip:hover {
    background: rgba(255, 255, 255, .72);
}

.profile-toggle-chip[aria-pressed="true"] {
    border-color: rgba(101, 77, 59, .54);
    background: rgba(224, 210, 190, .62);
    box-shadow: inset 0 0 0 1px rgba(101, 77, 59, .12);
}

.profile-toggle-chip[aria-checked="true"] {
    border-color: rgba(101, 77, 59, .54);
    background: rgba(224, 210, 190, .62);
    box-shadow: inset 0 0 0 1px rgba(101, 77, 59, .12);
}

.profile-toggle-chip[aria-pressed="true"]::after {
    content: " ✓";
    font-weight: 700;
}

.profile-toggle-chip[aria-checked="true"]::after {
    content: " ✓";
    font-weight: 700;
}

.profile-toggle-chip:focus-visible {
    outline: 3px solid rgba(128, 102, 80, .3);
    outline-offset: 2px;
}

.profile-radio-chip {
    position: relative;
    display: inline-flex;
    min-height: 44px;
    cursor: pointer;
}

.profile-radio-chip input {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
}

.profile-radio-chip span {
    display: inline-flex;
    align-items: center;
    padding: 10px 15px;
    color: var(--text);
    line-height: 1.35;
    border: 1px solid rgba(101, 77, 59, .2);
    border-radius: 999px;
    background: rgba(255, 255, 255, .42);
    transition: border-color .2s ease, background .2s ease, box-shadow .2s ease;
}

.profile-radio-chip input:checked + span {
    border-color: rgba(101, 77, 59, .54);
    background: rgba(224, 210, 190, .62);
    box-shadow: inset 0 0 0 1px rgba(101, 77, 59, .12);
}

.profile-radio-chip input:checked + span::after {
    content: " ✓";
    margin-left: 4px;
    font-weight: 700;
}

.profile-radio-chip input:focus-visible + span {
    outline: 3px solid rgba(128, 102, 80, .3);
    outline-offset: 2px;
}

@media (max-width: 700px) {
    .profile-toggle-chip {
        flex: 1 1 calc(50% - 10px);
        text-align: center;
    }

    .profile-radio-chip {
        flex: 1 1 calc(50% - 10px);
    }

    .profile-radio-chip span {
        width: 100%;
        justify-content: center;
        text-align: center;
    }
}

@media (max-width: 390px) {
    .profile-toggle-chip {
        flex-basis: 100%;
    }

    .profile-radio-chip {
        flex-basis: 100%;
    }
}

.profile-step-summary {
    scroll-margin-top: 18px;
}

.profile-step-summary .profile-live-preview {
    margin: 28px 0 0;
    text-align: left;
}

.profile-publish-confirmations {
    max-width: 720px;
    margin: 28px auto 0;
    padding: clamp(20px, 4vw, 30px);
    border: 1px solid var(--panel-border);
    border-radius: 22px;
    text-align: left;
    background: rgba(255, 255, 255, .3);
}

.profile-publish-confirmations h3 {
    margin: 0 0 10px;
    font-size: clamp(1.2rem, 3vw, 1.55rem);
}

.profile-publish-confirmations .consent { margin-top: 14px; }

.profile-summary-actions {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 22px;
}

.profile-summary-actions .secondary-button,
.profile-summary-actions .primary-button {
    min-height: 52px;
}

@media (max-width: 700px) {
    .profile-step-progress { padding: 16px 10px 15px; }
    .profile-leaves { gap: clamp(3px, 2vw, 9px); }
    .profile-leaf { flex-basis: 28px; }
    .profile-step-stage .profile-chapter-content { padding: 0 20px 24px; }
    .profile-chapter-actions,
    .profile-summary-actions { align-items: stretch; flex-direction: column-reverse; }
    .profile-step-back,
    .profile-summary-actions .secondary-button,
    .profile-summary-actions .primary-button { width: 100%; margin: 0; }
    .profile-basic-details-grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
    .profile-step-stage .profile-chapter,
    .profile-leaf svg { transition: none; }
}

/* CONNECT – Môj priestor: sekundárna akcia „MOJE / INZERÁTY“ */
.place-tile-companion {
    align-items: stretch;
}

.place-tile-companion-side {
    flex: 0 0 76px;
    min-width: 76px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 14px;
}

.place-tile-companion .place-module-icon {
    flex: 0 0 60px;
    width: 60px;
    height: 60px;
}

.place-tile-main-action {
    flex: 1 1 auto;
    align-self: stretch;
    padding: 0;
    color: var(--text);
    text-decoration: none;
}

.place-tile-main-action:focus-visible,
.place-tile-subaction:focus-visible {
    outline: 3px solid rgba(128, 102, 80, .28);
    outline-offset: 3px;
}

.place-tile-subaction {
    width: 76px;
    min-height: 38px;
    display: grid;
    place-items: center;
    align-content: center;
    gap: 1px;
    padding: 5px 4px;
    border: 1px solid rgba(117, 105, 139, .32);
    border-radius: 11px;
    color: rgb(var(--place-icon-activity-companion-rgb));
    background: rgba(255, 255, 255, .42);
    text-align: center;
    text-decoration: none;
    line-height: 1.02;
    transition: background .2s ease, border-color .2s ease, transform .2s ease;
}

.place-tile-subaction span {
    font-size: .57rem;
    font-weight: 600;
    letter-spacing: .08em;
}

.place-tile-subaction strong {
    font-size: .65rem;
    font-weight: 700;
    letter-spacing: .035em;
}

.place-tile-subaction:hover {
    border-color: rgba(117, 105, 139, .5);
    background: rgba(255, 255, 255, .72);
    transform: translateY(-1px);
}

@media (max-width: 700px) {
    .place-tile-companion-side {
        flex-basis: 64px;
        min-width: 64px;
        gap: 12px;
    }

    .place-tile-companion .place-module-icon {
        flex-basis: 54px;
        width: 54px;
        height: 54px;
    }

    .place-tile-subaction {
        width: 64px;
        min-height: 36px;
        padding-inline: 3px;
    }

    .place-tile-subaction span {
        font-size: .53rem;
    }

    .place-tile-subaction strong {
        font-size: .58rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .place-tile-subaction {
        transition: none;
    }
}
