:root {
  --bg: #111218;
  --surface: #1a1c24;
  --surface-2: #20232d;
  --surface-3: #292d39;
  --input: #12141b;
  --border: #2b2f3b;
  --border-soft: #242731;
  --text: #f5f6fa;
  --muted: #9298aa;
  --muted-2: #656b7e;
  --primary: #ff6200;
  --primary-hover: #ff7a24;
  --danger: #ff2a12;
  --amber: #ffaa00;
  --green: #35d07f;
  --shadow: 0 18px 50px rgb(0 0 0 / 28%);
}

* { box-sizing: border-box; }
html { min-width: 320px; background: var(--bg); }
body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  background:
    radial-gradient(circle at 80% -10%, rgb(255 98 0 / 9%), transparent 30%),
    var(--bg);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
button, input, textarea, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { color: inherit; }
a { color: inherit; text-decoration: none; }
.hidden { display: none !important; }

.login-view {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
}
.login-card {
  width: min(480px, 100%);
  padding: 48px;
  text-align: center;
  border: 1px solid var(--border);
  border-radius: 22px;
  background: linear-gradient(145deg, rgb(32 35 45 / 98%), rgb(22 24 31 / 98%));
  box-shadow: var(--shadow);
}
.login-card h1 { margin: 10px 0 12px; font-size: clamp(30px, 5vw, 42px); }
.login-card .muted { margin: 0 auto 30px; max-width: 390px; }

.brand-mark {
  width: 76px;
  height: 76px;
  margin: 0 auto;
  display: grid;
  place-items: center;
  border-radius: 22px;
  color: #08090c;
  background: linear-gradient(145deg, var(--amber), var(--primary) 62%, var(--danger));
  font-size: 40px;
  font-weight: 950;
  box-shadow: 0 15px 45px rgb(255 98 0 / 24%);
}
.brand-mark.small { width: 44px; height: 44px; margin: 0; border-radius: 13px; font-size: 24px; }
.eyebrow { margin: 0; color: var(--primary); font-size: 12px; font-weight: 900; letter-spacing: .18em; }
.muted { color: var(--muted); line-height: 1.65; }

.app-shell { min-height: 100vh; display: grid; grid-template-columns: 260px minmax(0, 1fr); }
.sidebar {
  position: fixed;
  inset: 0 auto 0 0;
  z-index: 20;
  width: 260px;
  display: flex;
  flex-direction: column;
  padding: 22px 16px;
  border-right: 1px solid var(--border-soft);
  background: rgb(20 22 29 / 97%);
  backdrop-filter: blur(18px);
}
.brand { display: flex; align-items: center; gap: 13px; padding: 0 7px 24px; border-bottom: 1px solid var(--border-soft); }
.brand strong { display: block; font-size: 17px; }
.brand span { display: block; margin-top: 3px; color: var(--muted-2); font-size: 11px; }
.navigation { display: grid; gap: 7px; margin-top: 22px; }
.nav-item {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border: 1px solid transparent;
  border-radius: 11px;
  color: var(--muted);
  background: transparent;
  font-weight: 750;
  text-align: left;
  cursor: pointer;
  transition: .18s ease;
}
.nav-item:hover { color: var(--text); background: var(--surface-2); }
.nav-item.active { color: var(--text); border-color: rgb(255 98 0 / 22%); background: rgb(255 98 0 / 10%); }
.nav-icon { width: 25px; height: 25px; display: grid; place-items: center; color: var(--primary); border-radius: 7px; background: rgb(255 98 0 / 12%); }
.sidebar-note { margin-top: auto; padding: 15px; border: 1px solid var(--border); border-radius: 12px; background: var(--surface); }
.sidebar-note strong { display: block; margin-bottom: 5px; font-size: 13px; }
.sidebar-note span { display: block; color: var(--muted-2); font-size: 11px; line-height: 1.5; }

.workspace { grid-column: 2; min-width: 0; }
.topbar {
  position: sticky;
  top: 0;
  z-index: 15;
  height: 84px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 0 32px;
  border-bottom: 1px solid var(--border-soft);
  background: rgb(17 18 24 / 88%);
  backdrop-filter: blur(20px);
}
.server-picker-wrap { display: grid; grid-template-columns: auto minmax(220px, 340px); align-items: center; gap: 13px; }
.server-picker-wrap label { color: var(--muted); font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.user-menu { display: flex; align-items: center; gap: 10px; }
.user-menu img { width: 38px; height: 38px; border-radius: 50%; background: var(--surface-3); }
.user-menu strong, .user-menu span { display: block; }
.user-menu strong { font-size: 13px; }
.user-menu span { margin-top: 2px; color: var(--muted-2); font-size: 10px; }

.content { width: min(1500px, 100%); margin: 0 auto; padding: 36px 32px 70px; }
.page-heading { display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; margin-bottom: 28px; }
.page-heading h1 { margin: 6px 0 8px; font-size: clamp(30px, 4vw, 43px); letter-spacing: -.04em; }
.page-heading p:not(.eyebrow) { max-width: 730px; margin: 0; color: var(--muted); line-height: 1.6; }
.heading-actions { display: flex; gap: 10px; flex-shrink: 0; }
.panel-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(360px, 520px); gap: 24px; align-items: start; }
.panel-stack { display: grid; gap: 18px; }
.panel {
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: linear-gradient(145deg, rgb(29 31 40 / 98%), rgb(24 26 34 / 98%));
  box-shadow: 0 8px 30px rgb(0 0 0 / 10%);
}
.panel h2, .panel h3 { margin: 0; }
.panel h2 { font-size: 17px; }
.panel h3 { font-size: 14px; }
.panel > p, .panel-title-row p { margin: 6px 0 0; color: var(--muted); font-size: 12px; line-height: 1.55; }
.panel-title-row { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; }
.compact-title-row { margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--border-soft); align-items: center; }
.conditional-fields { display: grid; gap: 17px; margin-top: 22px; }
.conditional-fields.disabled { opacity: .42; pointer-events: none; }
.two-columns { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }

.field { display: grid; gap: 8px; margin-top: 20px; }
.conditional-fields .field { margin-top: 0; }
.field label, .label-row label { color: #d9dce6; font-size: 12px; font-weight: 760; }
.label-row { display: flex; justify-content: space-between; align-items: center; gap: 15px; }
.field-help, .counter, #overlayValue { margin: 0; color: var(--muted-2); font-size: 10px; }
.required { color: var(--danger); }
code { padding: 2px 5px; border: 1px solid var(--border); border-radius: 5px; color: #ffc29c; background: #11131a; font-size: .9em; }
input[type="text"], textarea, .select {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 9px;
  outline: none;
  color: var(--text);
  background: var(--input);
  transition: border-color .15s, box-shadow .15s;
}
input[type="text"], .select { height: 45px; padding: 0 13px; }
textarea { min-height: 110px; padding: 13px; resize: vertical; line-height: 1.55; }
input[type="text"]:focus, textarea:focus, .select:focus { border-color: rgb(255 98 0 / 70%); box-shadow: 0 0 0 3px rgb(255 98 0 / 9%); }
.select { appearance: none; padding-right: 40px; background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: calc(100% - 18px) 19px, calc(100% - 13px) 19px; background-size: 5px 5px; background-repeat: no-repeat; }
.color-input { display: grid; grid-template-columns: 46px minmax(0, 1fr); gap: 8px; }
.color-input input[type="color"] { width: 46px; height: 45px; padding: 4px; border: 1px solid var(--border); border-radius: 9px; background: var(--input); cursor: pointer; }
input[type="range"] { width: 100%; accent-color: var(--primary); }
.upload-row { display: flex; gap: 9px; }
.upload-row > input { flex: 1; }
.file-button { flex: 0 0 auto; }
.file-button input { display: none; }

.switch { position: relative; width: 48px; height: 26px; display: inline-flex; flex-shrink: 0; }
.switch input { position: absolute; opacity: 0; pointer-events: none; }
.switch > span { width: 100%; height: 100%; border: 1px solid #474c5e; border-radius: 999px; background: #343846; cursor: pointer; transition: .2s; }
.switch > span::after { content: ""; position: absolute; top: 4px; left: 4px; width: 18px; height: 18px; border-radius: 50%; background: #e7e9ef; transition: .2s; }
.switch input:checked + span { border-color: var(--primary); background: var(--primary); }
.switch input:checked + span::after { transform: translateX(22px); background: #fff; }

.button {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 17px;
  border: 1px solid transparent;
  border-radius: 9px;
  font-weight: 800;
  font-size: 12px;
  cursor: pointer;
  transition: .18s ease;
}
.button:hover { transform: translateY(-1px); }
.button:disabled { opacity: .5; pointer-events: none; }
.button.primary { color: #140b05; background: linear-gradient(135deg, var(--amber), var(--primary) 48%, #ff4a18); box-shadow: 0 10px 28px rgb(255 98 0 / 17%); }
.button.primary:hover { filter: brightness(1.08); }
.button.secondary { border-color: var(--border); color: #d8dbe5; background: var(--surface-2); }
.button.secondary:hover { border-color: #424759; background: var(--surface-3); }
.button.ghost { color: var(--muted); background: transparent; }
.button.danger { color: #ff978a; border-color: rgb(255 42 18 / 20%); background: rgb(255 42 18 / 8%); }
.button.large { min-height: 49px; padding-inline: 22px; }
.full-width { width: 100%; }
.icon-button { width: 34px; height: 34px; border: 0; border-radius: 8px; color: var(--muted); background: transparent; cursor: pointer; }
.icon-button:hover { color: var(--text); background: var(--surface-2); }

.preview-column { min-width: 0; }
.preview-sticky { position: sticky; top: 109px; }
.preview-label { margin: 0 0 10px; color: var(--muted-2); font-size: 10px; font-weight: 900; letter-spacing: .16em; }
.discord-preview { padding: 20px; border: 1px solid var(--border); border-radius: 14px; background: #15171e; box-shadow: var(--shadow); }
.discord-message-head { display: flex; align-items: center; gap: 10px; margin-bottom: 13px; }
.bot-avatar { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; color: #08090c; background: linear-gradient(145deg, var(--amber), var(--primary)); font-weight: 950; }
.discord-message-head strong, .discord-message-head span { display: block; }
.discord-message-head strong { font-size: 13px; }
.discord-message-head span { margin-top: 2px; color: var(--muted-2); font-size: 9px; }
.bot-tag { display: inline-block !important; margin: 0 0 0 4px !important; padding: 2px 4px; border-radius: 3px; color: #fff !important; background: #5865f2; font-size: 7px !important; }
.message-content { min-height: 18px; margin: 0 0 12px; color: #dcdee6; font-size: 13px; line-height: 1.55; white-space: pre-wrap; overflow-wrap: anywhere; }
.embed-preview { min-height: 74px; margin: 11px 0 14px; padding: 13px 14px; border-left: 4px solid var(--primary); border-radius: 4px 8px 8px 4px; background: #1b1d25; }
.embed-preview strong { display: block; font-size: 13px; }
.embed-preview p { margin: 7px 0 0; color: #c4c8d3; font-size: 12px; line-height: 1.55; white-space: pre-wrap; }
.welcome-card-preview { position: relative; min-height: 240px; display: flex; align-items: center; gap: 28px; padding: 30px; overflow: hidden; border-radius: 9px; background-color: #09090c; background-position: center; background-size: cover; }
.card-overlay { position: absolute; inset: 0; background: rgb(0 0 0 / 58%); }
.welcome-card-preview > img { position: relative; z-index: 1; width: 118px; height: 118px; border: 5px solid #fff; border-radius: 50%; object-fit: cover; }
.card-copy { position: relative; z-index: 1; min-width: 0; }
.card-copy strong { display: block; font-size: clamp(18px, 2.2vw, 28px); line-height: 1.2; overflow-wrap: anywhere; }
.card-copy span { display: block; margin-top: 9px; opacity: .8; font-size: 15px; }
.card-copy i { display: block; width: 90px; height: 4px; margin-top: 20px; background: var(--primary); }

.mapping-list { display: grid; gap: 10px; margin: 18px 0 12px; }
.mapping-row { display: grid; grid-template-columns: minmax(90px, 150px) minmax(0, 1fr) 42px; gap: 9px; padding: 10px; border: 1px solid var(--border); border-radius: 10px; background: var(--input); }
.mapping-row input, .mapping-row select { margin: 0; }
.mapping-row .remove-mapping { border: 1px solid rgb(255 42 18 / 17%); border-radius: 8px; color: #ff8d80; background: rgb(255 42 18 / 7%); cursor: pointer; }
.radio-card-list { display: grid; gap: 10px; margin-top: 18px; }
.radio-card { display: flex; align-items: flex-start; gap: 11px; padding: 14px; border: 1px solid var(--border); border-radius: 10px; background: var(--input); cursor: pointer; }
.radio-card:has(input:checked) { border-color: rgb(255 98 0 / 55%); background: rgb(255 98 0 / 6%); }
.radio-card input { margin-top: 3px; accent-color: var(--primary); }
.radio-card strong, .radio-card small { display: block; }
.radio-card strong { font-size: 13px; }
.radio-card small, .toggle-line small { margin-top: 4px; color: var(--muted); line-height: 1.5; }
.toggle-line { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--border-soft); }
.toggle-line strong, .toggle-line small { display: block; font-size: 12px; }
.emoji-preview { display: flex; flex-wrap: wrap; gap: 6px; min-height: 24px; }
.emoji-chip { padding: 5px 8px; border-radius: 7px; background: #242732; font-size: 17px; }
.existing-panel { margin-top: 18px; }
.existing-list { display: grid; gap: 9px; margin-top: 16px; max-height: 430px; overflow: auto; }
.existing-item { padding: 12px; border: 1px solid var(--border); border-radius: 10px; background: var(--input); }
.existing-item-head { display: flex; justify-content: space-between; gap: 10px; }
.existing-item strong { display: block; max-width: 260px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 12px; }
.existing-item small { display: block; margin-top: 4px; color: var(--muted-2); font-size: 10px; }
.existing-actions { display: flex; gap: 5px; margin-top: 10px; }
.existing-actions .button { min-height: 32px; padding: 0 10px; font-size: 10px; }

.empty-state { min-height: calc(100vh - 180px); display: grid; place-items: center; align-content: center; text-align: center; }
.empty-state h2 { margin: 16px 0 6px; }
.empty-state p { margin: 0 0 22px; color: var(--muted); }
.empty-icon { width: 68px; height: 68px; display: grid; place-items: center; border: 1px solid var(--border); border-radius: 20px; color: var(--primary); background: var(--surface); font-size: 34px; }
.loading-overlay { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; align-content: center; gap: 13px; color: var(--muted); background: rgb(10 11 15 / 72%); backdrop-filter: blur(5px); }
.spinner { width: 35px; height: 35px; border: 3px solid #343845; border-top-color: var(--primary); border-radius: 50%; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.toast { position: fixed; right: 22px; bottom: 22px; z-index: 110; max-width: min(420px, calc(100vw - 44px)); padding: 13px 16px; border: 1px solid var(--border); border-radius: 10px; color: var(--text); background: #242731; box-shadow: var(--shadow); font-size: 12px; }
.toast.success { border-color: rgb(53 208 127 / 28%); }
.toast.error { border-color: rgb(255 42 18 / 35%); }

@media (max-width: 1120px) {
  .panel-grid { grid-template-columns: 1fr; }
  .preview-sticky { position: static; }
  .preview-column { order: -1; }
  .reaction-layout .preview-column { order: 0; }
}
@media (max-width: 780px) {
  .app-shell { display: block; }
  .sidebar { position: static; width: 100%; height: auto; padding-bottom: 12px; border-right: 0; border-bottom: 1px solid var(--border); }
  .navigation { grid-template-columns: 1fr 1fr; }
  .sidebar-note { display: none; }
  .workspace { display: block; }
  .topbar { position: static; height: auto; align-items: stretch; flex-direction: column; padding: 16px; }
  .server-picker-wrap { grid-template-columns: 1fr; gap: 6px; }
  .user-menu { justify-content: flex-end; }
  .content { padding: 24px 16px 50px; }
  .page-heading { align-items: flex-start; flex-direction: column; }
  .heading-actions { width: 100%; }
  .heading-actions .button { flex: 1; }
  .two-columns { grid-template-columns: 1fr; }
  .panel { padding: 18px; }
  .welcome-card-preview { min-height: 210px; gap: 18px; padding: 22px; }
  .welcome-card-preview > img { width: 92px; height: 92px; }
  .mapping-row { grid-template-columns: 100px minmax(0, 1fr) 38px; }
}
@media (max-width: 520px) {
  .navigation { grid-template-columns: 1fr; }
  .welcome-card-preview { flex-direction: column; text-align: center; }
  .card-copy i { margin-inline: auto; }
  .mapping-row { grid-template-columns: 1fr 42px; }
  .mapping-row .role-select { grid-column: 1 / -1; grid-row: 2; }
  .upload-row { flex-direction: column; }
}

/* Premium-Zugriffsverwaltung */
.login-error { margin: 18px 0 0; padding: 12px 14px; border: 1px solid rgb(255 42 18 / 35%); border-radius: 10px; color: #ffb4ab; background: rgb(255 42 18 / 8%); font-size: 12px; line-height: 1.55; text-align: left; }
.login-hint { margin: 14px 0 0; color: var(--muted-2); font-size: 10px; line-height: 1.5; }
.access-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(330px, .75fr); gap: 18px; align-items: start; }
.access-form-grid { align-items: end; }
.access-user-list { display: grid; gap: 10px; margin-top: 16px; }
.access-user-item { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 14px; border: 1px solid var(--border); border-radius: 11px; background: var(--input); transition: opacity .2s ease, border-color .2s ease; }
.access-user-item.disabled-user { opacity: .62; }
.access-identity { min-width: 0; display: flex; align-items: center; gap: 12px; }
.access-identity img { width: 44px; height: 44px; flex: 0 0 auto; border: 1px solid var(--border); border-radius: 50%; object-fit: cover; background: var(--surface-3); }
.access-identity strong, .access-identity code, .access-identity small { display: block; }
.access-identity strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 13px; }
.access-identity code { width: fit-content; margin-top: 4px; color: #c7cad4; background: transparent; font-size: 10px; }
.access-identity small { margin-top: 5px; color: var(--muted-2); font-size: 10px; line-height: 1.45; }
.access-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; align-items: center; gap: 6px; }
.access-actions .button { min-height: 32px; padding-inline: 10px; font-size: 10px; }
.status-badge { display: inline-flex; align-items: center; min-height: 25px; padding: 0 9px; border: 1px solid var(--border); border-radius: 999px; color: var(--muted); background: var(--surface-2); font-size: 9px; font-weight: 850; white-space: nowrap; }
.status-badge.online { border-color: rgb(53 208 127 / 28%); color: #7ee2ad; background: rgb(53 208 127 / 8%); }
.status-badge.offline { border-color: rgb(255 42 18 / 28%); color: #ff998d; background: rgb(255 42 18 / 8%); }
.diagnostics-list { display: grid; grid-template-columns: minmax(100px, .72fr) minmax(0, 1.28fr); gap: 0; margin: 16px 0 0; overflow: hidden; border: 1px solid var(--border); border-radius: 10px; }
.diagnostics-list dt, .diagnostics-list dd { min-width: 0; margin: 0; padding: 10px 12px; border-bottom: 1px solid var(--border-soft); font-size: 10px; line-height: 1.45; }
.diagnostics-list dt { color: var(--muted); background: var(--surface-2); font-weight: 750; }
.diagnostics-list dd { color: #d7dae4; overflow-wrap: anywhere; }
.diagnostics-list dt:nth-last-of-type(1), .diagnostics-list dd:nth-last-of-type(1) { border-bottom: 0; }
.audit-log-list { display: grid; gap: 8px; max-height: 540px; margin-top: 16px; overflow: auto; }
.audit-log-item { padding: 11px 12px; border: 1px solid var(--border); border-radius: 9px; background: var(--input); }
.audit-log-item > div { display: flex; justify-content: space-between; gap: 12px; }
.audit-log-item strong { font-size: 11px; }
.audit-log-item time { color: var(--muted-2); font-size: 9px; white-space: nowrap; }
.audit-log-item small { display: block; margin-top: 5px; color: var(--muted-2); font-size: 9px; line-height: 1.45; overflow-wrap: anywhere; }

@media (max-width: 1120px) {
  .access-grid { grid-template-columns: 1fr; }
}
@media (max-width: 780px) {
  .access-user-item { align-items: flex-start; flex-direction: column; }
  .access-actions { width: 100%; justify-content: flex-start; }
}
@media (max-width: 520px) {
  .diagnostics-list { grid-template-columns: 1fr; }
  .diagnostics-list dt { border-bottom: 0; }
  .access-actions .button { flex: 1; }
}

/* Bot-Profil */
.bot-avatar-image {
  width: 40px;
  height: 40px;
  flex: 0 0 auto;
  border: 1px solid var(--border);
  border-radius: 50%;
  object-fit: cover;
  background: linear-gradient(145deg, var(--amber), var(--primary));
}
.profile-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  align-items: start;
}
.profile-panel { min-width: 0; }
.profile-identity-preview {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 22px;
  padding: 15px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background:
    radial-gradient(circle at 12% 0%, rgb(255 98 0 / 11%), transparent 44%),
    var(--input);
}
.profile-identity-preview img {
  width: 68px;
  height: 68px;
  flex: 0 0 auto;
  border: 2px solid rgb(255 255 255 / 12%);
  border-radius: 50%;
  object-fit: cover;
  background: var(--surface-3);
  box-shadow: 0 10px 24px rgb(0 0 0 / 24%);
}
.profile-identity-preview strong,
.profile-identity-preview span { display: block; }
.profile-identity-preview strong {
  max-width: 360px;
  overflow: hidden;
  color: var(--text);
  font-size: 16px;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.profile-identity-preview span {
  margin-top: 5px;
  color: var(--muted-2);
  font-size: 10px;
}
.profile-panel input[type="file"] {
  width: 100%;
  min-height: 45px;
  padding: 8px;
  border: 1px dashed #3a3f4e;
  border-radius: 9px;
  color: var(--muted);
  background: var(--input);
  cursor: pointer;
}
.profile-panel input[type="file"]::file-selector-button {
  height: 29px;
  margin-right: 10px;
  padding: 0 12px;
  border: 1px solid var(--border);
  border-radius: 7px;
  color: #d8dbe5;
  background: var(--surface-2);
  font-weight: 800;
  cursor: pointer;
}
.compact-toggle-line { margin-bottom: 20px; }
.notice-panel {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 20px;
  padding: 15px 18px;
  border: 1px solid rgb(255 98 0 / 22%);
  border-radius: 12px;
  background: rgb(255 98 0 / 6%);
}
.notice-panel strong {
  flex: 0 0 auto;
  color: #ffc29c;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .08em;
}
.notice-panel span {
  color: var(--muted);
  font-size: 11px;
  line-height: 1.5;
}
.profile-panel.is-disabled {
  opacity: .52;
}
.profile-panel.is-disabled input,
.profile-panel.is-disabled button,
.profile-panel.is-disabled .switch {
  pointer-events: none;
}

@media (max-width: 1120px) {
  .profile-grid { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
  .notice-panel { align-items: flex-start; flex-direction: column; }
  .profile-identity-preview img { width: 58px; height: 58px; }
}
