* {
    box-sizing: border-box
}

:root {
    color-scheme: dark;
    --bg: #09070d;
    --surface: #16111e;
    --surface2: #1d1628;
    --border: rgba(181, 103, 255, .24);
    --border2: rgba(191, 117, 255, .52);
    --text: #f6f0fc;
    --muted: #a99fb4;
    --muted2: #776e80;
    --accent: #a95bff;
    --light: #d69dff;
    --soft: rgba(169, 91, 255, .12);
    --success: #69dba5;
    --sidebar: 248px;
    --chat: 310px;
    --shadow: 0 20px 55px rgba(0, 0, 0, .34)
}

html,
body {
    margin: 0;
    min-width: 320px;
    min-height: 100%;
    background: var(--bg)
}

body {
    font-family: "Segoe UI", Arial, sans-serif;
    color: var(--text);
    background: radial-gradient(circle at 70% -10%, rgba(135, 53, 204, .2), transparent 34%), linear-gradient(145deg, #08060b, #0b0810 48%, #09070d);
    overflow-x: hidden
}

button,
input {
    font: inherit
}

button {
    color: inherit
}

.sidebar {
    position: fixed;
    inset: 0 auto 0 0;
    z-index: 30;
    width: var(--sidebar);
    padding: 18px 16px;
    display: flex;
    flex-direction: column;
    border-right: 1px solid var(--border);
    background: #0d0a12;
    box-shadow: 14px 0 40px rgba(0, 0, 0, .24);
    transition: .18s
}

.brand {
    padding: 4px 4px 18px;
    display: flex;
    align-items: center;
    gap: 12px;
    border-bottom: 1px solid var(--border)
}

.brand img {
    width: 48px;
    height: 48px;
    object-fit: cover;
    border: 1px solid var(--border2);
    border-radius: 13px;
    background: #100b17
}

.brand strong {
    font-family: Georgia, serif;
    font-size: 18px;
    letter-spacing: .16em
}

.nav {
    margin-top: 20px;
    display: grid;
    gap: 7px
}

.nav a {
    min-height: 46px;
    padding: 0 13px;
    display: grid;
    grid-template-columns: 26px 1fr;
    align-items: center;
    gap: 10px;
    border: 1px solid transparent;
    border-radius: 11px;
    background: transparent;
    color: var(--muted);
    cursor: pointer;
    text-align: left;
    text-decoration: none;
    transition: .15s
}

.nav a:hover {
    transform: translateX(2px);
    border-color: var(--border);
    background: var(--soft);
    color: var(--text)
}

.nav a.active {
    border-color: var(--border2);
    background: linear-gradient(90deg, rgba(169, 91, 255, .2), rgba(169, 91, 255, .04));
    color: var(--light);
    box-shadow: inset 3px 0 0 var(--accent)
}

.nav a span:first-child {
    color: var(--light);
    font-size: 20px;
    text-align: center
}

.profile-wrap {
    margin-top: auto;
    position: relative;
}

.profile {
    margin-top: 0;
    width: 100%;
    padding: 12px;
    display: grid;
    grid-template-columns: 40px 1fr 24px;
    align-items: center;
    gap: 10px;
    border: 1px solid var(--border);
    border-radius: 13px;
    background: rgba(25, 19, 34, .82)
}

.profile strong,
.profile small {
    display: block
}

.profile small {
    margin-top: 3px;
    color: var(--light)
}

.profile button {
    border: 0;
    background: transparent;
    color: var(--muted)
}

.avatar {
    display: grid;
    place-items: center;
    border: 1px solid var(--border2);
    border-radius: 50%;
    background: linear-gradient(145deg, #2a193c, #120b19);
    color: var(--light);
    font-weight: 800
}

.avatar.small {
    width: 34px;
    height: 34px
}

.workspace {
    margin-left: var(--sidebar);
    min-width: 0
}

.topbar {
    min-height: 82px;
    padding: 14px 24px;
    position: sticky;
    top: 0;
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    border-bottom: 1px solid var(--border);
    background: rgba(9, 7, 13, .86);
    backdrop-filter: blur(14px)
}

.title-wrap {
    display: flex;
    align-items: center;
    gap: 12px
}

.title-wrap small,
.card small,
.community small {
    color: var(--light);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .13em
}

.topbar h1 {
    margin: 3px 0 0;
    font-size: clamp(21px, 2.2vw, 29px)
}

.menu {
    display: none
}

.top-actions {
    display: flex;
    align-items: center;
    gap: 9px
}

.search {
    width: min(330px, 30vw);
    min-height: 42px;
    padding: 0 12px;
    display: flex;
    align-items: center;
    gap: 8px;
    border: 1px solid var(--border);
    border-radius: 11px;
    background: rgba(23, 18, 32, .8)
}

.search span {
    color: var(--light);
    font-size: 20px
}

.search input {
    width: 100%;
    border: 0;
    outline: 0;
    background: transparent;
    color: var(--text)
}

.search input::placeholder {
    color: var(--muted2)
}

.icon,
.account {
    border: 1px solid var(--border);
    background: rgba(23, 18, 32, .8);
    cursor: pointer
}

.icon {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: 11px;
    color: var(--light)
}

.account {
    min-height: 46px;
    padding: 5px 10px 5px 6px;
    display: grid;
    grid-template-columns: 34px auto;
    align-items: center;
    gap: 8px;
    border-radius: 12px;
    text-align: left
}

.account strong,
.account small {
    display: block
}

.account small {
    margin-top: 2px;
    color: var(--light);
    font-size: 10px
}

.dashboard {
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 22px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, var(--chat));
    gap: 20px;
    align-items: start
}

.main-column {
    min-width: 0;
    display: grid;
    gap: 18px
}

.card {
    border: 1px solid var(--border);
    border-radius: 17px;
    background: linear-gradient(145deg, rgba(24, 18, 33, .96), rgba(13, 10, 18, .96));
    box-shadow: var(--shadow)
}

.hero {
    min-height: 260px;
    padding: 32px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 210px;
    align-items: center;
    gap: 24px;
    overflow: hidden;
    position: relative
}

.hero:before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, rgba(169, 91, 255, .12), transparent 44%), radial-gradient(circle at 88% 50%, rgba(169, 91, 255, .18), transparent 28%);
    pointer-events: none
}

.hero-copy {
    position: relative;
    z-index: 1
}

.hero-copy>small {
    color: var(--light);
    font-weight: 800;
    letter-spacing: .1em
}

.hero h2 {
    max-width: 800px;
    margin: 12px 0 0;
    font-family: Georgia, serif;
    font-size: clamp(28px, 3vw, 42px);
    line-height: 1.08
}

.hero p {
    max-width: 690px;
    margin: 17px 0 0;
    color: var(--muted);
    line-height: 1.6
}

.hero-actions {
    margin-top: 26px;
    display: flex;
    flex-wrap: wrap;
    gap: 11px
}

.primary,
.secondary {
    min-height: 45px;
    padding: 0 18px;
    border-radius: 10px;
    cursor: pointer;
    font-weight: 800
}

.primary {
    border: 0;
    background: linear-gradient(135deg, #8f3df0, #bd69ff);
    box-shadow: 0 11px 26px rgba(155, 63, 239, .23)
}

.secondary {
    border: 1px solid var(--border2);
    background: rgba(169, 91, 255, .08);
    color: var(--light)
}

.orb {
    width: 180px;
    aspect-ratio: 1;
    margin: auto;
    display: grid;
    place-items: center;
    position: relative
}

.ring {
    position: absolute;
    inset: 0;
    border: 3px solid rgba(205, 143, 255, .68);
    border-radius: 50%;
    box-shadow: 0 0 24px rgba(174, 83, 255, .66), inset 0 0 28px rgba(174, 83, 255, .15);
    animation: pulse 3.2s ease-in-out infinite
}

.ring:after {
    content: "";
    position: absolute;
    top: -5px;
    left: 50%;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    transform: translateX(-50%);
    background: var(--light);
    box-shadow: 0 0 18px var(--accent)
}

.core {
    width: 96px;
    height: 96px;
    display: grid;
    place-items: center;
    z-index: 1;
    border: 1px solid var(--border2);
    border-radius: 50%;
    background: #100b17;
    color: #f0e2ff;
    font-family: Georgia, serif;
    font-size: 56px;
    box-shadow: 0 0 38px rgba(158, 65, 239, .26)
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(.98);
        opacity: .72
    }

    50% {
        transform: scale(1.02);
        opacity: 1
    }
}

.stats {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 13px
}

.stat {
    min-height: 128px;
    padding: 22px;
    transition: 25s;
    cursor: pointer;
}

.stat:hover {
    transform: translateY(-6px);
    border-color: var(--border2);
    box-shadow: 0 18px 45px rgba(169, 91, 255, .22);
}

.stat>span {
    color: var(--muted);
    font-size: 13px;
    display: block;
    margin-bottom: 10px;
    margin-bottom: 10px;
}

.stat strong {
    margin-top: 10px;
    display: block;
    color: var(--light);
    font-family: Georgia, serif;
    font-size: 44px
}

.stat small {
    margin-top: 7px;
    display: block;
    color: var(--muted2);
    line-height: 1.35
}

.lower-grid {
    display: grid;
    grid-template-columns: .9fr 1.4fr;
    gap: 18px
}

.panel {
    padding: 20px
}

.section-head,
.community-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px
}

.section-head h2,
.community-head h2 {
    margin: 4px 0 0;
    font-size: 21px
}

.section-head>button {
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--light)
}

.empty {
    min-height: 220px;
    display: grid;
    place-items: center;
    align-content: center;
    text-align: center;
    color: var(--muted)
}

.empty>span {
    color: var(--light);
    font-size: 34px
}

.empty strong {
    margin-top: 10px;
    color: var(--text)
}

.empty p {
    max-width: 360px;
    margin: 7px 0 0;
    line-height: 1.5
}

.clip-grid {
    margin-top: 17px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 11px
}

.clip-grid>div {
    min-height: 155px;
    padding: 14px;
    display: grid;
    place-items: center;
    border: 1px dashed rgba(187, 108, 255, .3);
    border-radius: 12px;
    background: linear-gradient(145deg, rgba(169, 91, 255, .08), transparent), rgba(13, 10, 18, .78);
    color: var(--muted2);
    text-align: center
}

.development-status {
    overflow: hidden
}

.development-status-toggle {
    width: 100%;
    min-height: 76px;
    padding: 17px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    border: 0;
    background: linear-gradient(100deg, rgba(169, 91, 255, .1), transparent 55%);
    cursor: pointer;
    text-align: left
}

.development-status-toggle:hover {
    background: linear-gradient(100deg, rgba(169, 91, 255, .17), rgba(169, 91, 255, .03))
}

.development-status-toggle:focus-visible {
    outline: 2px solid var(--light);
    outline-offset: -3px
}

.development-status-heading {
    display: grid;
    gap: 4px
}

.development-status-heading strong {
    font-size: 21px
}

.development-status-chevron {
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    border: 1px solid var(--border);
    border-radius: 10px;
    color: var(--light);
    font-size: 24px;
    transition: transform .18s ease, background .18s ease
}

.development-status-toggle[aria-expanded="true"] .development-status-chevron {
    transform: rotate(180deg);
    background: var(--soft)
}

.development-status-content {
    padding: 0 20px 20px;
    border-top: 1px solid var(--border)
}

.development-status-intro {
    max-width: 760px;
    margin: 18px 0;
    color: var(--muted);
    line-height: 1.55
}

.development-status-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 13px
}

.development-status-group {
    min-height: 190px;
    padding: 17px;
    border: 1px solid var(--border);
    border-radius: 13px;
    background: rgba(13, 10, 18, .6)
}

.development-status-group h3 {
    margin: 0;
    display: flex;
    align-items: center;
    gap: 9px;
    font-size: 16px
}

.development-status-group ul {
    margin: 15px 0 0;
    padding: 0;
    display: grid;
    gap: 10px;
    list-style: none
}

.development-status-group li {
    position: relative;
    padding-left: 16px;
    color: var(--muted);
    line-height: 1.4
}

.development-status-group li:before {
    content: "";
    width: 5px;
    height: 5px;
    position: absolute;
    top: .55em;
    left: 0;
    border-radius: 50%;
    background: var(--muted2)
}

.status-available {
    border-color: rgba(105, 219, 165, .26)
}

.status-in-progress {
    border-color: rgba(244, 207, 91, .26)
}

.status-planned {
    border-color: rgba(86, 155, 255, .26)
}

.future-usage-grid {
    margin-top: 20px
}

.future-usage .development-status-group {
    min-height: 150px
}

.future-usage .development-status-group p {
    margin: 18px 0 0;
    color: var(--muted);
    line-height: 1.5
}

.future-usage .development-status-group .future-usage-label {
    color: var(--text);
    font-size: 20px;
    font-weight: 700
}

.future-usage-note {
    margin: 16px 2px 0;
    color: var(--muted2);
    font-size: 12px;
    line-height: 1.5
}

.community-column {
    min-width: 0;
    display: grid;
    gap: 14px;
    position: sticky;
    top: 104px
}

.community,
.note {
    padding: 18px
}

.online {
    width: 10px;
    height: 10px;
    margin-top: 5px;
    border-radius: 50%;
    background: var(--success);
    box-shadow: 0 0 13px rgba(105, 219, 165, .72)
}

.tabs {
    margin-top: 15px;
    padding: 4px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 4px;
    border: 1px solid var(--border);
    border-radius: 10px;
    background: rgba(9, 7, 13, .72)
}

.tabs button {
    min-height: 33px;
    border: 0;
    border-radius: 7px;
    background: transparent;
    color: var(--muted)
}

.tabs .active {
    background: var(--soft);
    color: var(--light)
}

.messages {
    margin-top: 14px;
    display: grid;
    gap: 11px
}

.messages article {
    padding: 11px;
    display: grid;
    grid-template-columns: 34px minmax(0, 1fr);
    gap: 9px;
    border: 1px solid var(--border);
    border-radius: 11px;
    background: rgba(21, 16, 29, .72)
}

.messages .muted {
    opacity: .72
}

.meta {
    display: flex;
    justify-content: space-between;
    gap: 8px
}

.meta small {
    color: var(--muted2);
    font-size: 10px
}

.messages p {
    margin: 5px 0 0;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.45
}

.chat-input {
    margin-top: 14px;
    min-height: 41px;
    padding: 4px 4px 4px 11px;
    display: grid;
    grid-template-columns: 1fr 35px;
    gap: 5px;
    border: 1px solid var(--border);
    border-radius: 10px;
    background: rgba(9, 7, 13, .72)
}

.chat-input input {
    min-width: 0;
    border: 0;
    outline: 0;
    background: transparent;
    color: var(--text)
}

.chat-input button {
    border: 0;
    border-radius: 7px;
    background: var(--soft);
    color: var(--light)
}

.translation {
    margin: 9px 0 0;
    color: var(--muted2);
    font-size: 10px;
    text-align: center
}

.note h3 {
    margin: 6px 0 0
}

.note p {
    margin: 9px 0 0;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.5
}

@media(max-width:1280px) {
    :root {
        --chat: 280px
    }

    .lower-grid {
        grid-template-columns: 1fr
    }
}

@media(max-width:1040px) {
    .dashboard {
        grid-template-columns: 1fr
    }

    .community-column {
        position: static;
        grid-template-columns: repeat(2, minmax(0, 1fr))
    }

    .community {
        grid-row: span 2
    }

    .stats {
        grid-template-columns: repeat(2, minmax(0, 1fr))
    }
}

@media(max-width:800px) {
    .sidebar {
        transform: translateX(-105%)
    }

    body.sidebar-open .sidebar {
        transform: translateX(0)
    }

    .workspace {
        margin-left: 0
    }

    .menu {
        width: 40px;
        height: 40px;
        display: grid;
        place-items: center;
        border: 1px solid var(--border);
        border-radius: 10px;
        background: rgba(23, 18, 32, .8);
        color: var(--light)
    }

    .search {
        display: none
    }

    .hero {
        grid-template-columns: 1fr
    }

    .orb {
        width: 155px
    }

    .clip-grid {
        grid-template-columns: 1fr
    }

    .development-status-grid {
        grid-template-columns: 1fr
    }
}

@media(max-width:600px) {
    .topbar {
        padding: 12px 13px
    }

    .account>span:last-child {
        display: none
    }

    .dashboard {
        padding: 13px
    }

    .stats,
    .community-column {
        grid-template-columns: 1fr
    }

    .community {
        grid-row: auto
    }

    .hero,
    .panel,
    .community,
    .note,
    .development-status {
        border-radius: 13px
    }

    .hero h2 {
        font-size: 32px
    }
}

/* Mobile Beta Polish */
@media(max-width:800px) {
    .workspace,
    .dashboard,
    .hero-copy,
    .panel,
    .community-column {
        min-width: 0;
    }

    .topbar {
        padding-top: max(12px, env(safe-area-inset-top));
        padding-right: max(13px, env(safe-area-inset-right));
        padding-left: max(13px, env(safe-area-inset-left));
    }

    .menu,
    .top-actions a,
    .top-actions button,
    .hero-actions a,
    .hero-actions button,
    .tabs button,
    .section-head > button,
    .chat-input button {
        min-width: 44px;
        min-height: 44px;
    }

    input,
    select,
    textarea {
        font-size: 16px;
    }

    .hero-actions,
    .top-actions {
        flex-wrap: wrap;
    }

    .development-status-heading,
    .development-status-group li,
    .note,
    .messages p {
        overflow-wrap: anywhere;
    }
}

@media(max-width:480px) {
    .hero,
    .panel,
    .community,
    .note,
    .development-status {
        padding: 16px;
    }

    .hero h2 {
        font-size: clamp(27px, 9vw, 32px);
    }

    .hero-actions > *,
    .top-actions > * {
        flex: 1 1 100%;
        width: 100%;
    }

    .development-status-toggle {
        padding: 15px;
    }
}

@media(prefers-reduced-motion:reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        animation: none !important;
        transition: none !important;
    }
}
/* Crystal Bond v1.0: rein visuelle, ruhige Langzeitdarstellung. */
.dashboard-crystal-bond{
  padding:22px;
  display:grid;
  justify-items:center;
  gap:10px;
  text-align:center
}
