/* SIGVORA SPV-Wallet – Handyansicht v2 + Feinschliff Computer (17.10.2026, Claude).
   Handy: das Skript setzt html.svm bis 767 px Breite (oder mit html.sv-force-mobile zum Testen).
   Computer: eigene Regeln ab 768 px. Inhalte und Daten bleiben unverändert. */

/* ===================== Alle Größen ===================== */

/* SIGVORA-ID in „Mein Konto“ */
.sigvora-id{margin:0 0 1.25rem;padding:1rem 1.1rem;border:1px solid rgba(201,162,77,.35);border-radius:14px;background:rgba(255,255,255,.03)}
.sigvora-id h3{margin:0 0 .3rem}
.sigvora-id p{margin:0 0 .6rem;opacity:.8}
.sigvora-id-row{display:flex!important;flex-direction:row!important;flex-wrap:wrap;gap:.6rem;align-items:center;margin:.4rem 0 .8rem}
.sigvora-id-code{font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:1.05rem;letter-spacing:.06em;padding:.45rem .7rem;border-radius:10px;background:rgba(127,127,127,.16);user-select:all;word-break:break-all}
.sigvora-id .sigvora-id-row button{display:inline-flex!important;align-items:center;min-height:40px!important;padding:.4rem 1rem!important;border:1px solid rgba(201,162,77,.7)!important;border-radius:999px!important;background:transparent!important;color:inherit!important;font-weight:600;cursor:pointer}
.sigvora-id a.sigvora-messenger-link{display:inline-flex!important;align-items:center;min-height:44px!important;margin-top:.9rem!important;padding:.5rem 1.2rem!important;border-radius:999px!important;background:#d2a24c!important;color:#0b1a2b!important;font-weight:700!important;text-decoration:none!important}
.sigvora-id-qr img{display:block;width:140px;height:140px;background:#fff;padding:6px;border-radius:10px}

/* Jedes Thema nur einmal (Garten, Tiere, Beauty kamen bis zu 3× vor) */
.wallet-card-grid > .wallet-area.svm-dup{display:none!important}

/* Ladehinweis statt leerer Fläche */
.svm-loading{display:flex;align-items:center;gap:.75rem;min-height:40vh;justify-content:center;opacity:.8;font-size:1rem}
.svm-loading::before{content:"";width:22px;height:22px;border-radius:50%;border:2px solid rgba(201,162,77,.35);border-top-color:#d2a24c;animation:svm-spin .9s linear infinite}
@keyframes svm-spin{to{transform:rotate(360deg)}}
@media (prefers-reduced-motion:reduce){.svm-loading::before{animation:none}}

/* Hinweis „Neue Nachrichten“ unter dem Profil */
.svm-notice{display:flex;align-items:center;gap:.75rem;margin:1rem 0 0;padding:.75rem 1rem;border-radius:14px;border:1px solid rgba(201,162,77,.45);background:rgba(201,162,77,.08);color:inherit;text-decoration:none;font-weight:600}
.svm-notice svg{width:22px;height:22px;flex:none;stroke:#d2a24c;fill:none;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.svm-notice span{flex:1}
.svm-notice::after{content:"›";font-size:1.4rem;opacity:.7}
.svm-notice[hidden]{display:none}

/* „Bald verfügbar“: klein und ruhig, ohne große Platzhalterbilder */
.wallet-area.svm-soon .wallet-photo{display:none!important}
.wallet-area.svm-soon{opacity:.85}

/* Symbole (nur Handy sichtbar) */
.svm-icon{display:none}
.svm-icon svg{width:26px;height:26px;fill:none;stroke:#d2a24c;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}

/* Untere Leiste und Blatt „Alle Bereiche“ (nur Handy sichtbar) */
.svm-bar{display:none}
.svm-bar{position:fixed;left:0;right:0;bottom:0;z-index:50;grid-template-columns:repeat(5,1fr);align-items:end;padding:.35rem .25rem calc(.35rem + env(safe-area-inset-bottom));background:rgba(6,18,33,.96);border-top:1px solid rgba(201,162,77,.25);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}
.svm-bar button{position:relative;display:flex;flex-direction:column;align-items:center;gap:.15rem;min-height:52px;justify-content:center;padding:.2rem 0;border:0;background:none;color:#f4efe6;font:inherit;font-size:.72rem;cursor:pointer;opacity:.85}
.svm-bar svg{width:24px;height:24px;stroke:currentColor;fill:none;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.svm-bar .svm-plus{opacity:1}
.svm-bar .svm-ring{display:flex;align-items:center;justify-content:center;width:48px;height:48px;margin-top:-18px;border-radius:50%;background:#d2a24c;box-shadow:0 4px 14px rgba(0,0,0,.35)}
.svm-bar .svm-plus svg{stroke:#0b1a2b;stroke-width:2.4}
.svm-bar [aria-current=page]{opacity:1;color:#d2a24c}
.svm-badge{position:absolute;top:2px;left:calc(50% + 6px);min-width:18px;height:18px;padding:0 5px;border-radius:9px;background:#c0392b;color:#fff;font-size:.68rem;line-height:18px;text-align:center}
.svm-badge[hidden]{display:none}
.svm-sheet{position:fixed;inset:auto 0 0 0;z-index:60;max-height:78vh;overflow:auto;padding:1rem 1rem calc(90px + env(safe-area-inset-bottom));border-radius:18px 18px 0 0;background:#0b1a2b;color:#f4efe6;box-shadow:0 -10px 30px rgba(0,0,0,.45)}
.svm-sheet[hidden]{display:none}
.svm-sheet h2{margin:0 0 .5rem;font-size:1.2rem}
.svm-sheet button{display:flex;width:100%;min-height:48px;align-items:center;justify-content:space-between;padding:.5rem .25rem;border:0;border-bottom:1px solid rgba(255,255,255,.08);background:none;color:inherit;font:inherit;text-align:left;cursor:pointer}
.svm-sheet button::after{content:"›";opacity:.6}
.svm-sheet .svm-logout{color:#e6a39a}
.svm-scrim{position:fixed;inset:0;z-index:55;background:rgba(0,0,0,.45)}
.svm-scrim[hidden]{display:none}

/* ===================== Handy (html.svm) ===================== */
html.svm.svm-on body{padding-bottom:calc(80px + env(safe-area-inset-bottom))!important}
html.svm.svm-on .svm-bar{display:grid}

/* Kopfzeile: eine schlanke Zeile */
html.svm .sv-shell-header{display:flex!important;flex-direction:row!important;flex-wrap:nowrap!important;align-items:center!important;justify-content:space-between!important;gap:.5rem!important;min-height:56px!important;height:auto!important;padding:6px 16px!important}
html.svm .sv-shell-brand{display:flex!important;flex-direction:row!important;align-items:center!important;gap:.5rem!important;min-width:0}
html.svm .sv-shell-logo-emblem,html.svm .sv-shell-logo-emblem img{width:34px!important;height:34px!important;min-width:34px}
html.svm .sv-shell-wordmark{font-size:1.15rem!important;line-height:1!important}
html.svm .sv-shell-section{display:none!important}
html.svm .sv-shell-header .sv-shell-nav{display:flex!important;flex-wrap:nowrap!important;gap:.25rem!important;margin:0!important}
html.svm .sv-shell-header .sv-shell-nav > a{display:none!important}
html.svm .sv-shell-language{min-height:38px!important;padding:0 .35rem!important;gap:.25rem!important}
html.svm .sv-shell-language select{min-height:38px!important;max-width:6.8rem;font-size:.9rem!important;padding:0 1.4rem 0 .35rem!important}

/* Alte Kopfreihen der Wallet ausblenden (Ersatz: untere Leiste) */
html.svm #app > .wallet-top,html.svm #app > .wallet-nav{display:none!important}
html.svm main#main > .eyebrow,html.svm main#main > #page-title{display:none!important}
html.svm main#main{padding:0 16px 24px!important}

/* Profil oben: Bildstreifen statt großem Bild */
html.svm .wallet-hero{min-height:0!important;margin:0!important;border-radius:0!important;padding:0!important}
html.svm .wallet-hero > .wallet-photo,html.svm .wallet-hero > img{display:none!important}
html.svm .wallet-hero{background:none!important}
html.svm .wallet-hero-content{position:static!important;padding:14px 0 4px!important;gap:.35rem;max-width:none!important}
html.svm .wallet-hero-content .eyebrow{display:none!important}
html.svm .wallet-hero-content h1{font-size:1.75rem!important;line-height:1.05!important;margin:0!important}
html.svm .wallet-profession{font-size:1rem!important;margin:.15rem 0 .35rem!important;opacity:.9}
html.svm .profession-choice{display:flex!important;flex-wrap:wrap!important;align-items:center;gap:.4rem!important;margin:.25rem 0 .6rem!important;font-size:.85rem!important}
html.svm .profession-choice > :first-child:not(button){flex:1 1 100%;opacity:.75}
html.svm .profession-choice button{min-height:34px!important;padding:.25rem .8rem!important;border:1px solid rgba(201,162,77,.5)!important;border-radius:999px!important;font-size:.85rem!important;margin:0!important}
html.svm .wallet-progress-label{font-size:.85rem!important}
html.svm .wallet-hero-content progress{margin:.25rem 0!important}
html.svm .wallet-progress-note{font-size:.75rem!important;opacity:.7}
html.svm .hero-actions{display:flex!important;flex-wrap:wrap!important;align-items:center!important;gap:.5rem 1rem!important;margin-top:.5rem!important}
html.svm .hero-actions > :first-child{flex:1 1 100%;justify-content:center;min-height:48px}

/* Bereiche: Symbol-Kacheln, 3 Spalten, keine Fotos (Dirks Vorgabe) */
html.svm .wallet-areas,html.svm .wallet-suggestions{margin:1.4rem 0 0!important;padding:0!important}
html.svm .wallet-areas > h2,html.svm .wallet-suggestions > h2{font-size:1.2rem!important;margin:0 0 .6rem!important}
html.svm .wallet-applications-intro{display:none!important}
html.svm body .wallet-card-grid{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:.6rem!important}
html.svm body .wallet-card-grid > .wallet-area{position:relative!important;display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:flex-start!important;text-align:center!important;gap:.45rem!important;min-height:100px!important;height:auto!important;padding:.8rem .35rem .65rem!important;border-radius:16px!important;overflow:hidden}
html.svm body .wallet-card-grid > .wallet-area > .wallet-photo{display:none!important}
html.svm body .wallet-card-grid > .wallet-area > .svm-icon{display:flex!important;flex:none;width:46px;height:46px;align-items:center;justify-content:center;border-radius:13px;background:rgba(210,162,76,.14)}
html.svm body .wallet-area-copy{display:block!important;padding:0!important;min-width:0;width:100%;flex:none!important}
html.svm body .wallet-area-copy h3{font-family:inherit!important;font-size:.8rem!important;font-weight:600!important;line-height:1.2!important;margin:0!important;overflow-wrap:anywhere;-webkit-hyphens:auto;hyphens:auto}
html.svm body .wallet-area-copy p{display:none!important}
html.svm body .wallet-area-copy .wallet-text-link{position:static!important;display:block!important;min-height:0!important;height:0!important;font-size:0!important;line-height:0!important;padding:0!important;margin:0!important;color:transparent!important;overflow:hidden;border:0!important}
html.svm body .wallet-area-copy .wallet-text-link::after{content:""!important;position:absolute!important;inset:0!important;border-radius:16px}
html.svm body .wallet-card-grid > .wallet-area.svm-soon{opacity:.55;min-height:92px!important}
html.svm body .wallet-card-grid > .wallet-area.svm-soon > .svm-icon{background:rgba(127,127,127,.15)}
html.svm .wallet-area.svm-soon .svm-icon svg{stroke:currentColor}
html.svm body .wallet-card-grid > .wallet-area.svm-dup{display:none!important}
/* „Das passt zu dir“ ebenfalls als Kacheln */
html.svm body .suggestion-list{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:.6rem!important}
html.svm body .suggestion-list > *{position:relative;display:flex!important;flex-direction:column!important;align-items:center!important;text-align:center!important;gap:.35rem;padding:.65rem .3rem!important;border-radius:16px;background:rgba(255,255,255,.04);border:0!important}
html.svm body .suggestion-list > * > .svm-icon{display:flex!important;width:40px;height:40px;align-items:center;justify-content:center;border-radius:12px;background:rgba(210,162,76,.14)}
html.svm body .suggestion-list > * p,html.svm body .suggestion-list > * small{display:none!important}
html.svm body .suggestion-list > * h3{font-family:inherit!important;font-size:.8rem!important;margin:0!important}
html.svm body .suggestion-list a,html.svm body .suggestion-list button{position:static!important;font-size:0!important;min-height:0!important;padding:0!important;color:transparent!important}
html.svm body .suggestion-list a::after,html.svm body .suggestion-list button::after{content:""!important;position:absolute;inset:0}

/* „Entdecken“: Leidenschaften und Vorschläge zugeklappt */
html.svm .svm-collapsible > h2{display:flex!important;align-items:center;justify-content:space-between;cursor:pointer;user-select:none;min-height:44px}
html.svm .svm-collapsible > h2::after{content:"▾";font-size:1rem;opacity:.7;transition:transform .2s}
html.svm .svm-collapsible.svm-open > h2::after{transform:rotate(180deg)}
html.svm .svm-collapsible:not(.svm-open) > :not(h2){display:none!important}
html.svm .suggestion-list{display:flex!important;flex-direction:column!important;gap:.25rem!important}


/* Unterseiten (Konto, Ordner): weniger Innenabstand, Überschriften ohne Worttrennung */
html.svm #app h1{font-size:1.7rem!important;line-height:1.15!important;overflow-wrap:break-word;hyphens:auto}
html.svm #app > section:not(.wallet-hero):not(.wallet-areas):not(.wallet-suggestions){padding:16px!important;margin:1rem 0 0!important;border-radius:16px}
html.svm .wallet-account-area .sv-login-card{padding:16px!important;width:100%!important;max-width:none!important;box-sizing:border-box}
html.svm .wallet-settings-template{max-width:none!important;width:100%!important}
html.svm .sigvora-id{padding:12px!important}
html.svm .sigvora-id-code{font-size:.95rem;letter-spacing:.03em}


/* Anmeldung / Konto erstellen (nicht angemeldet) */
html.svm .sv-auth-hero{min-height:0!important;margin:0 -16px!important;width:auto!important;max-width:none!important;border-radius:0!important}
html.svm .sv-auth-hero-copy{padding:22px 16px 20px!important;min-height:0!important}
html.svm .sv-auth-hero #page-title{font-size:1.85rem!important;line-height:1.1!important;margin:0 0 .4rem!important}
html.svm .sv-auth-hero p{font-size:1rem!important;line-height:1.45!important;margin:0!important}
html.svm .sv-auth-trial{font-size:.8rem!important;margin:.6rem 0 0!important;opacity:.75}
html.svm #app > section.wallet-access{padding:0!important;margin:.5rem 0 0!important;border:0!important;background:none!important;box-shadow:none!important}
html.svm .wallet-access-tabs{margin:0 0 .25rem!important}
html.svm .wallet-access-panel{padding:0!important;margin:0!important;width:100%!important;max-width:none!important}
html.svm .wallet-login-template .sv-login-card{margin:.5rem 0 0!important;padding:16px!important;width:100%!important;max-width:none!important;box-sizing:border-box}
html.svm .wallet-access-tabs ~ .sv-login-template .sv-login-card > h2:first-child{display:none!important}

/* Fußzeile: knapp */
html.svm .sv-shell-footer{padding:1rem 16px!important;font-size:.85rem}
html.svm .sv-shell-footer-brand{display:none!important}
html.svm .sv-shell-footer-top{gap:.5rem!important}
html.svm .sv-shell-footer .sv-shell-links{display:flex!important;flex-wrap:wrap!important;gap:0 1rem!important}
html.svm .sv-shell-footer .sv-shell-links a,html.svm .sv-shell-footer .sv-shell-text{min-height:40px!important}

/* Testschalter am großen Bildschirm */
html.sv-force-mobile body{max-width:390px;margin:0 auto!important;box-shadow:0 0 0 1px rgba(255,255,255,.12)}
html.sv-force-mobile .svm-bar,html.sv-force-mobile .svm-sheet{max-width:390px;margin:0 auto}

/* ===================== Computer (ab 768 px) ===================== */
@media (min-width:768px){
  /* Menü lesbarer statt 9 winziger Punkte */
  html:not(.svm) .wallet-nav{display:flex!important;flex-wrap:wrap!important;gap:.35rem .5rem!important;padding:.5rem 0!important}
  html:not(.svm) .wallet-nav > *{font-size:.95rem!important;padding:.45rem .9rem!important;border-radius:999px!important;border:1px solid rgba(201,162,77,.22)!important;min-height:40px}
  html:not(.svm) .wallet-nav > [aria-current],html:not(.svm) .wallet-nav > .active{border-color:#d2a24c!important}
  /* Mehr Luft zwischen den Abschnitten */
  html:not(.svm) .wallet-areas,html:not(.svm) .wallet-suggestions{margin-top:72px!important}
  html:not(.svm) .wallet-areas > h2,html:not(.svm) .wallet-suggestions > h2{margin-bottom:24px!important}
  html:not(.svm) .wallet-card-grid{gap:24px!important}
  /* Nachrichten-Hinweis neben dem Profil */
  html:not(.svm) .svm-notice{max-width:420px}
  /* „Bald verfügbar“: kompakte Kacheln ohne Platzhalterbild */
  html:not(.svm) .wallet-passions .wallet-card-grid{grid-template-columns:repeat(auto-fill,minmax(230px,1fr))!important}
  html:not(.svm) .wallet-area.svm-soon .wallet-area-copy{padding:18px 20px!important}
  html:not(.svm) .wallet-area.svm-soon h3{font-size:1.1rem!important}
}

/* mobile-5 (18.10.2026): keine Silbentrennung in Symbol-Kacheln und Titeln */
html.svm body .wallet-area-copy h3{-webkit-hyphens:none!important;hyphens:none!important;overflow-wrap:normal!important;word-break:normal!important;font-size:.76rem!important}
.sv-wallet-design main :is(h1,h2,h3,p){overflow-wrap:break-word;-webkit-hyphens:manual;hyphens:manual}
html.svm #app h1{-webkit-hyphens:manual;hyphens:manual}
