/* MyTappo — premium public profile (/card/{token}/) */
.mms-sck-profile-page {
    --mt-bg: #f4f1ec;
    --mt-ink: #1a1f2b;
    --mt-muted: #5c6478;
    --mt-accent: #1e4a6f;
    --mt-accent-dark: #163a57;
    --mt-line: #e3ddd4;
    --mt-card: #ffffff;
    --mt-radius: 16px;
    margin: 0;
    font-family: "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
    background: radial-gradient(ellipse 120% 80% at 50% -10%, rgba(30, 74, 111, 0.08), transparent 55%), var(--mt-bg);
    color: var(--mt-ink);
    -webkit-font-smoothing: antialiased;
    min-height: 100vh;
    min-height: 100dvh;
}
.mms-sck-profile-page * { box-sizing: border-box; }
.mms-sck-profile-wrap {
    max-width: 440px;
    margin: 0 auto;
    padding: 20px 16px 36px;
}
.mms-sck-profile-card {
    background: var(--mt-card);
    border: 1px solid var(--mt-line);
    border-radius: var(--mt-radius);
    padding: 24px 20px 20px;
    box-shadow: 0 16px 40px rgba(26, 31, 43, 0.08);
}
.mms-sck-profile-header {
    text-align: center;
    margin-bottom: 14px;
}
.mms-sck-profile-avatars {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 14px;
    flex-wrap: wrap;
}
.mms-sck-profile-photo {
    width: 88px;
    height: 88px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #fff;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
}
.mms-sck-profile-logo-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border: 1px solid var(--mt-line);
    border-radius: 12px;
    padding: 8px;
    overflow: hidden;
}
.mms-sck-profile-logo-wrap.frame-square { width: 88px; height: 88px; }
.mms-sck-profile-logo-wrap.frame-landscape { width: 160px; height: 64px; }
.mms-sck-profile-logo-wrap.frame-portrait { width: 72px; height: 96px; }
.mms-sck-profile-logo-wrap--hero.frame-landscape { width: 200px; height: 80px; }
.mms-sck-profile-logo { width: 100%; height: 100%; object-fit: contain; }
.mms-sck-profile-brand {
    display: flex;
    justify-content: center;
    margin: 2px 0 16px;
}
.mms-sck-profile-logo-wrap--brand.frame-square { width: 96px; height: 96px; }
.mms-sck-profile-logo-wrap--brand.frame-landscape { width: 220px; height: 72px; }
.mms-sck-profile-logo-wrap--brand.frame-portrait { width: 80px; height: 104px; }
.mms-sck-profile-name {
    margin: 0 0 4px;
    font-size: 1.65rem;
    font-weight: 650;
    line-height: 1.2;
    letter-spacing: -0.02em;
}
.mms-sck-profile-title {
    margin: 0;
    font-size: 0.95rem;
    color: var(--mt-accent);
    font-weight: 600;
}
.mms-sck-profile-company {
    margin: 4px 0 0;
    font-size: 0.9rem;
    color: var(--mt-muted);
}
.mms-sck-profile-about {
    margin: 0 0 16px;
    padding: 12px 14px;
    background: #f8f9fb;
    border-radius: 10px;
    font-size: 0.9rem;
    line-height: 1.55;
    color: #334155;
}
.mms-sck-profile-about strong {
    display: block;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--mt-muted);
    margin-bottom: 4px;
}
.mms-sck-profile-address {
    margin: 0 0 16px;
    font-size: 0.88rem;
    line-height: 1.5;
    color: var(--mt-muted);
    text-align: center;
}
.mms-sck-profile-location {
    margin: 0 0 16px;
    padding: 12px 14px;
    background: #f8f9fb;
    border-radius: 10px;
    font-size: 0.9rem;
    line-height: 1.55;
    color: #334155;
}
.mms-sck-profile-location strong {
    display: block;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--mt-muted);
    margin-bottom: 6px;
}
.mms-sck-profile-location__address {
    margin: 0 0 12px;
    font-size: 0.9rem;
    line-height: 1.5;
    color: var(--mt-ink);
    text-align: left;
}
.mms-sck-profile-location__map-wrap {
    position: relative;
    margin: 0 0 12px;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid var(--mt-line);
    background: #e8ecef;
    box-shadow: inset 0 1px 2px rgba(26, 31, 43, 0.04);
}
.mms-sck-profile-location__map {
    display: block;
    width: 100%;
    height: 152px;
    border: 0;
    pointer-events: none;
}
.mms-sck-profile-location__map-link {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 0 10px 10px;
    text-decoration: none;
    background: linear-gradient(180deg, rgba(26, 31, 43, 0) 45%, rgba(26, 31, 43, 0.35) 100%);
}
.mms-sck-profile-location__map-hint {
    display: inline-block;
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.94);
    color: var(--mt-accent-dark);
    font-size: 0.72rem;
    font-weight: 650;
    letter-spacing: 0.02em;
    box-shadow: 0 2px 8px rgba(26, 31, 43, 0.12);
}
.mms-sck-profile-location__map-link:hover .mms-sck-profile-location__map-hint {
    background: #fff;
    color: var(--mt-accent);
}
.mms-sck-profile-location__directions {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 9px 14px;
    border-radius: 999px;
    border: 1px solid #c5d4e0;
    background: #fff;
    color: var(--mt-accent-dark);
    text-decoration: none;
    font-size: 0.82rem;
    font-weight: 650;
    transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
.mms-sck-profile-location__directions:hover {
    background: #f0f4f8;
    border-color: var(--mt-accent);
    color: var(--mt-accent);
}
.mms-sck-profile-location__directions-icon {
    display: inline-flex;
    width: 16px;
    height: 16px;
    fill: currentColor;
}
.mms-sck-profile-location__directions-icon svg {
    display: block;
    width: 16px;
    height: 16px;
    fill: currentColor;
}
.mms-sck-profile-story .mms-sck-profile-location {
    margin-bottom: 0;
}
.mms-sck-profile-notice {
    margin: 0 0 14px;
    padding: 10px 12px;
    background: #fef7f1;
    border: 1px solid #f2d4b3;
    color: #7c4a12;
    border-radius: 10px;
    font-size: 0.88rem;
}
.mms-sck-profile-actions {
    margin-bottom: 18px;
}
.mms-sck-profile-story {
    padding-top: 16px;
    margin-bottom: 4px;
    border-top: 1px solid var(--mt-line);
}
.mms-sck-profile-story .mms-sck-profile-about:first-child {
    margin-top: 0;
}
.mms-sck-profile-story .mms-sck-profile-address,
.mms-sck-profile-story .mms-sck-profile-location {
    margin-bottom: 0;
}
.mms-sck-profile-cta {
    display: block;
    width: 100%;
    text-align: center;
    text-decoration: none;
    padding: 14px 16px;
    border-radius: 12px;
    font-weight: 650;
    font-size: 1rem;
    background: linear-gradient(135deg, var(--mt-accent) 0%, var(--mt-accent-dark) 100%);
    color: #fff;
    border: none;
    box-shadow: 0 6px 18px rgba(30, 74, 111, 0.25);
    margin-bottom: 14px;
}
.mms-sck-profile-cta:hover { color: #fff; opacity: 0.95; }
.mms-sck-profile-quick {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    margin-bottom: 0;
}
.mms-sck-profile-quick--compact {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}
.mms-sck-profile-quick--compact .mms-sck-profile-quick__label { display: none; }
.mms-sck-profile-quick__btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-height: 64px;
    padding: 10px 8px;
    border-radius: 12px;
    border: 1px solid var(--mt-line);
    background: #fafafa;
    color: var(--mt-ink);
    text-decoration: none;
    font-size: 0.78rem;
    font-weight: 600;
    text-align: center;
    transition: background 0.15s ease, border-color 0.15s ease;
}
.mms-sck-profile-quick__btn:hover {
    background: #f0f4f8;
    border-color: #c5d4e0;
    color: var(--mt-accent-dark);
}
.mms-sck-profile-quick__icon {
    width: 22px;
    height: 22px;
    fill: currentColor;
}
.mms-sck-profile-quick__icon svg {
    display: block;
    width: 22px;
    height: 22px;
    fill: currentColor;
}
.mms-sck-profile-social {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
    margin: 4px 0 14px;
    padding-top: 12px;
    border-top: 1px solid var(--mt-line);
}
.mms-sck-profile-social__link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 12px;
    border-radius: 999px;
    border: 1px solid var(--mt-line);
    background: #fff;
    color: var(--mt-ink);
    text-decoration: none;
    font-size: 0.78rem;
    font-weight: 600;
}
.mms-sck-profile-social__link:hover {
    border-color: var(--mt-accent);
    color: var(--mt-accent);
}
.mms-sck-profile-social--icons-only .mms-sck-profile-social__label { display: none; }
.mms-sck-profile-social--icons-only .mms-sck-profile-social__link {
    width: 42px;
    height: 42px;
    padding: 0;
    justify-content: center;
    border-radius: 50%;
}
.mms-sck-profile-social__icon svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
}
.mms-sck-profile-connect { margin-top: 8px; margin-bottom: 0; }
.mms-sck-profile-manage {
    margin-top: 20px;
    text-align: center;
    font-size: 0.82rem;
}
.mms-sck-profile-manage a { color: var(--mt-muted); text-decoration: none; }
.mms-sck-profile-manage a span { color: var(--mt-accent); text-decoration: underline; }
.mms-sck-profile-footer {
    margin-top: 16px;
    padding-top: 14px;
    border-top: 1px solid var(--mt-line);
    text-align: center;
    font-size: 0.78rem;
    color: var(--mt-muted);
}
.mms-sck-profile-footer a { color: var(--mt-accent); font-weight: 600; text-decoration: none; }
