/* Farben kommen aus dem gewählten Farbschema (js/themes.js); alles andere wird daraus abgeleitet. */
:root {
  --bg: #12171A;
  --text: #E2E6E8;
  --accent: #7A948A;
  --font-head: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'Plus Jakarta Sans', system-ui, sans-serif;
  --panel: color-mix(in srgb, var(--bg) 95%, var(--text));
  --panel-2: color-mix(in srgb, var(--bg) 89%, var(--text));
  --line: color-mix(in srgb, var(--bg) 80%, var(--text));
  --muted: color-mix(in srgb, var(--text) 62%, var(--bg));
  --accent-soft: color-mix(in srgb, var(--accent) 16%, transparent);
  --danger: #c4545a;
  --warn: #c99434;
  --radius: 10px;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html, body { margin: 0; height: 100%; background: var(--bg); color: var(--text); font: 14px/1.6 var(--font-body); }
button, input, select, textarea { font: inherit; color: inherit; }

#app { display: flex; height: 100vh; overflow: hidden; }
#sidebar { width: 350px; min-width: 350px; background: var(--panel); border-right: 1px solid var(--line); display: flex; flex-direction: column; transition: margin .25s ease; }
#app.collapsed #sidebar { margin-left: -350px; }
.brand { display: flex; align-items: center; gap: 10px; padding: 14px 16px; border-bottom: 1px solid var(--line); }
.brand h1 { font: 400 22px/1.2 var(--font-head); margin: 0; flex: 1; letter-spacing: .4px; }
.emblem { width: 30px; height: 30px; color: var(--accent); flex: none; }
.scroll { overflow-y: auto; padding: 6px 12px 28px; flex: 1; scrollbar-width: thin; }

details { border-bottom: 1px solid var(--line); padding: 4px 0 10px; }
summary { cursor: pointer; list-style: none; padding: 14px 4px 8px; color: var(--text); user-select: none; display: flex; align-items: baseline; gap: 10px; }
summary .kicker { font: 500 14px/1 var(--font-head); letter-spacing: 1.5px; color: var(--accent); min-width: 34px; }
summary .sum-title { font: 400 19px/1.25 var(--font-head); letter-spacing: .2px; flex: 1; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "›"; color: var(--muted); transition: transform .2s; font-family: var(--font-body); align-self: center; }
details[open] summary::after { transform: rotate(90deg); }
details > *:not(summary) { margin: 8px 4px; }

textarea, select, input[type="password"], input[type="number"] { width: 100%; background: var(--panel-2); border: 1px solid var(--line); border-radius: 8px; padding: 7px 10px; outline: none; }
textarea { resize: vertical; min-height: 64px; line-height: 1.5; }
textarea:focus, select:focus, input:focus-visible { border-color: var(--accent); }

.field { display: flex; flex-direction: column; gap: 4px; color: var(--muted); font-size: 13px; position: relative; }
.field output { color: var(--text); position: absolute; right: 0; top: 0; font-variant-numeric: tabular-nums; }
.field.grow { flex: 1; min-width: 0; }
.check { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--text); cursor: pointer; }
input[type="range"] { width: 100%; accent-color: var(--accent); }
input[type="checkbox"] { accent-color: var(--accent); width: 16px; height: 16px; }
input[type="color"] { width: 44px; height: 32px; border: 1px solid var(--line); border-radius: 8px; background: var(--panel-2); padding: 2px; cursor: pointer; }
.colors input[type="color"] { flex: 1; }

.row { display: flex; align-items: center; flex-wrap: wrap; }
.gap { gap: 8px; }
.end { justify-content: flex-end; }
.between { justify-content: space-between; }
.stack { display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }

.btn { background: transparent; border: 1px solid var(--line); border-radius: 999px; padding: 6px 14px; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; transition: background .15s, border-color .15s; }
.btn:hover { border-color: var(--accent); background: var(--accent-soft); }
.btn.cta { text-transform: uppercase; letter-spacing: 2.5px; font-size: 12px; padding: 9px 20px; align-self: flex-start; }
.btn.primary { background: var(--accent); color: var(--bg); border-color: var(--accent); font-weight: 600; }
.btn.primary:hover { filter: brightness(1.06); }
.btn.danger { border-color: color-mix(in srgb, var(--danger) 50%, var(--line)); color: var(--danger); }
.btn.ghost { background: transparent; }
.btn.small { padding: 3px 9px; font-size: 12px; }
.btn.recording { background: var(--danger); border-color: var(--danger); color: #fff; }
.btn:disabled { opacity: .45; cursor: default; }
.file-btn { position: relative; }
.icon-btn { background: transparent; border: 1px solid transparent; color: var(--text); border-radius: 8px; width: 34px; height: 34px; font-size: 16px; cursor: pointer; }
.icon-btn:hover { background: var(--accent-soft); border-color: var(--line); }
.link-btn { background: none; border: none; padding: 0; color: var(--accent); cursor: pointer; text-decoration: underline; text-underline-offset: 3px; font-size: 13px; }

.preview { background: var(--panel-2); border-radius: 8px; padding: 8px 10px; font-size: 13px; word-break: break-word; }
.preview .label { color: var(--muted); }
#transformed { color: var(--accent); font-weight: 600; }
.rules-chip { font-size: 12px; color: var(--accent); cursor: help; border: 1px solid var(--line); border-radius: 999px; padding: 0 8px; }
.hint { color: var(--muted); font-size: 12px; line-height: 1.5; }
.warn { background: color-mix(in srgb, var(--warn) 14%, transparent); border: 1px solid color-mix(in srgb, var(--warn) 45%, transparent); border-radius: 8px; padding: 8px 10px; font-size: 12.5px; }

/* Farbschema-Auswahl */
.theme-picker { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.theme-opt { border-radius: 10px; padding: 10px 10px 9px; cursor: pointer; text-align: left; border: 2px solid transparent; display: flex; flex-direction: column; gap: 2px; min-height: 86px; position: relative; }
.theme-opt.active { outline: 2px solid var(--accent); outline-offset: 2px; }
.theme-opt .t-name { font-size: 16px; line-height: 1.15; }
.theme-opt .t-sub { font-size: 10.5px; opacity: .75; }
.theme-opt .t-sw { display: flex; gap: 4px; margin-top: auto; }
.theme-opt .t-sw i { width: 14px; height: 14px; border-radius: 50%; border: 1px solid rgba(127,127,127,.4); }

/* Spiral-Auswahl zum Gestalten */
.spiral-tabs { display: grid; grid-template-columns: repeat(2, 1fr); gap: 6px; }
.ico { width: 26px; height: 26px; color: var(--muted); }
.spiral-tabs button[aria-selected="true"] .ico, .pick:has(input:checked) .ico { color: var(--accent); }
.spiral-tabs button, .pick { display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 10px 4px 8px; border: 1px solid var(--line); border-radius: 14px; cursor: pointer; font-size: 12px; text-align: center; background: var(--panel-2); line-height: 1.3; position: relative; }
.spiral-tabs button[aria-selected="true"] { border-color: var(--accent); background: var(--accent-soft); box-shadow: inset 0 -3px 0 var(--accent); }
.pick-ico { font-size: 22px; color: var(--muted); line-height: 1.1; }
.spiral-tabs button[aria-selected="true"] .pick-ico { color: var(--accent); }
.editor { border: 1px solid var(--line); border-radius: 14px; padding: 10px 12px; display: flex; flex-direction: column; gap: 10px; background: color-mix(in srgb, var(--panel-2) 50%, transparent); }
.editor-title { font: 600 15px/1.3 var(--font-head); }
.only-parastichy, .only-custom, .only-goldspiral, .only-even { display: none; }
body.edit-parastichy .only-parastichy, body.edit-goldspiral .only-goldspiral { display: flex; flex-direction: column; gap: 10px; }
body.edit-parastichy.pair-custom .only-custom { display: flex; }
body.growth-even .only-golden { display: none; }
body.growth-even .only-even { display: flex; }

.spiral-picks { display: grid; grid-template-columns: repeat(2, 1fr); gap: 6px; }
.pick input { position: absolute; opacity: 0; pointer-events: none; }
.pick:has(input:checked) { border-color: var(--accent); background: var(--accent-soft); }
.pick:has(input:checked) .pick-ico { color: var(--accent); }
.pick:has(input:checked)::after { content: "✓"; position: absolute; top: 3px; right: 6px; color: var(--accent); font-size: 11px; }
.pick:has(input:focus-visible) { outline: 2px solid var(--accent); }

.flash-only { display: none; }
body.flash-mode .flash-only { display: block; }
.flash-only > * { margin: 8px 0; }
.fx-pixel, .fx-blur, .mono-only { display: none; }
body.fx-is-pixel .fx-pixel { display: flex; }
body.fx-is-blur .fx-blur { display: flex; }
body.mono-on .mono-only { display: flex; flex-direction: column; gap: 8px; }

.ls-picker { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.ls-opt { aspect-ratio: 16/10; border-radius: 8px; background: center/cover no-repeat var(--panel-2); border: 2px solid var(--line); cursor: pointer; padding: 0; }
.ls-opt.active { border-color: var(--accent); box-shadow: 0 0 0 2px var(--accent-soft); }
.ls-opt:focus-visible { outline: 2px solid var(--accent); }

/* Bühne */
#stage-wrap { flex: 1; position: relative; background: var(--bg); min-width: 0; }
#stage { width: 100%; height: 100%; display: block; }
#toolbar { position: absolute; left: 50%; bottom: 16px; transform: translateX(-50%); display: flex; align-items: center; gap: 4px; padding: 6px 10px; background: color-mix(in srgb, var(--bg) 78%, transparent); backdrop-filter: blur(8px); border: 1px solid var(--line); border-radius: 999px; transition: opacity .3s; z-index: 5; }
#stage-wrap:not(:hover) #toolbar { opacity: .35; }
#now-label { font-size: 12px; color: var(--muted); min-width: 170px; text-align: center; }
#busy { position: absolute; top: 14px; right: 14px; background: color-mix(in srgb, var(--bg) 85%, transparent); padding: 4px 10px; border-radius: 999px; font-size: 12px; color: var(--muted); z-index: 6; }
body.saver, body.saver * { cursor: none !important; }
:fullscreen #toolbar, :fullscreen .intro { display: none; }

/* Start-Anleitung */
.intro { position: absolute; inset: 0; display: grid; place-items: center; padding: 24px; background: color-mix(in srgb, var(--bg) 55%, transparent); backdrop-filter: blur(3px); z-index: 7; overflow-y: auto; }
.intro[hidden] { display: none; }
.intro-card { width: min(560px, 100%); background: var(--bg); color: var(--text); border: 1px solid var(--line); border-radius: 16px; padding: 34px 38px 22px; box-shadow: 0 24px 80px rgba(0,0,0,.35); text-align: center; }
.intro-card.wide { width: min(860px, 100%); }
.intro-kicker { font-size: 11px; letter-spacing: 3px; text-transform: uppercase; color: var(--muted); }
.intro-title { font: 400 clamp(28px, 3.4vw, 40px)/1.15 var(--font-head); margin: 10px 0 6px; }
.intro-ornament { display: flex; align-items: center; justify-content: center; gap: 10px; color: var(--accent); margin-bottom: 14px; }
.intro-ornament span { width: 70px; height: 1px; background: var(--accent); opacity: .7; }
.intro-ornament i { font-style: normal; font-size: 12px; }
.intro-body { font-size: 15px; line-height: 1.75; max-width: 62ch; margin: 0 auto; text-align: left; }
.intro-body p { margin: 0 0 12px; }
.intro-body .formula { text-align: center; font: italic 20px var(--font-head); color: var(--accent); }
.intro-body .muted { color: var(--muted); font-size: 13.5px; }
.why-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin: 16px 0; }
.why-grid > div { border: 1px solid var(--line); border-radius: 12px; padding: 14px; background: var(--panel); }
.why-grid h4 { font: 600 17px/1.2 var(--font-head); margin: 4px 0 6px; }
.why-grid p { font-size: 13px; line-height: 1.6; margin: 0; }
.why-ico { width: 30px; height: 30px; color: var(--accent); }
.intro-dots { display: flex; justify-content: center; gap: 7px; margin: 14px 0 16px; }
.intro-dots button { width: 8px; height: 8px; border-radius: 50%; border: none; background: var(--line); cursor: pointer; padding: 0; }
.intro-dots button.active { background: var(--accent); transform: scale(1.3); }
.intro-foot { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; border-top: 1px solid var(--line); padding-top: 14px; }

#toast { position: fixed; left: 50%; top: 18px; transform: translateX(-50%) translateY(-20px); background: var(--panel-2); border: 1px solid var(--accent); padding: 9px 16px; border-radius: 10px; opacity: 0; pointer-events: none; transition: all .25s; z-index: 50; max-width: 80vw; }
#toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }
#toast.warn { border-color: var(--warn); }

#tooltip { position: fixed; z-index: 60; max-width: 300px; background: var(--text); color: var(--bg); padding: 7px 10px; border-radius: 8px; font-size: 12.5px; line-height: 1.45; box-shadow: 0 6px 24px rgba(0,0,0,.3); pointer-events: none; opacity: 0; transition: opacity .12s; }
#tooltip.show { opacity: 1; }

.modal { background: var(--panel); color: var(--text); border: 1px solid var(--line); border-radius: 14px; padding: 18px 20px; width: min(640px, 94vw); }
.modal.wide { width: min(860px, 96vw); min-height: 60vh; }
.modal.small { width: min(380px, 94vw); }
.modal::backdrop { background: rgba(0,0,0,.5); backdrop-filter: blur(2px); }
.modal h2 { font: 600 20px/1.3 var(--font-head); margin: 0 0 12px; }
.modal video { width: 100%; border-radius: 10px; background: #000; max-height: 60vh; }
.modal video.mirror { transform: scaleX(-1); }
.modal-head { display: flex; justify-content: space-between; align-items: center; }
.pin-input { font-size: 20px; letter-spacing: 6px; text-align: center; margin-bottom: 14px; }
.tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--line); margin-bottom: 14px; flex-wrap: wrap; }
.tabs button { background: none; border: none; padding: 8px 12px; cursor: pointer; color: var(--muted); border-bottom: 2px solid transparent; }
.tabs button.active { color: var(--text); border-bottom-color: var(--accent); }
.muted { color: var(--muted); }
.ls-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 12px; margin-top: 14px; }
.ls-card { border: 1px solid var(--line); border-radius: 10px; overflow: hidden; background: var(--panel-2); }
.ls-card.is-default { border-color: var(--accent); }
.ls-thumb { aspect-ratio: 16/9; background: center/cover no-repeat #000; }
.ls-meta { padding: 8px; display: flex; flex-direction: column; gap: 6px; font-size: 12.5px; }
.ls-meta > span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ls-actions { display: flex; gap: 6px; flex-wrap: wrap; }
.roadmap li { margin: 4px 0; }
.roadmap li.done { color: var(--accent); }
.confirm-msg { margin: 0 0 16px; }

#print-area { display: none; }
@media print {
  body > *:not(#print-area) { display: none !important; }
  #print-area { display: block; }
  #print-img { display: block; object-fit: cover; }
  html, body { background: #fff; }
}

@media (max-width: 860px) {
  .why-grid { grid-template-columns: 1fr; }
  .intro-card { padding: 24px 20px 16px; }
}
@media (max-width: 760px) {
  #sidebar { position: absolute; z-index: 20; height: 100%; width: 88vw; min-width: 0; }
  #app.collapsed #sidebar { margin-left: -88vw; }
}

/* Verlauf & Gestaltungen */
details.sub { border: 1px solid var(--line); border-radius: 14px; padding: 0 10px 8px; margin-top: 12px; }
details.sub > summary { font: 400 16px/1.3 var(--font-head); padding: 10px 2px 6px; }
details.sub > *:not(summary) { margin: 8px 0; }
.save-row { flex-wrap: nowrap; }
.save-row input { flex: 1; min-width: 0; background: var(--panel-2); border: 1px solid var(--line); border-radius: 999px; padding: 5px 12px; outline: none; }
.save-row input:focus { border-color: var(--accent); }
.list-title { font-size: 11px; letter-spacing: 2px; text-transform: uppercase; color: var(--muted); margin-top: 12px !important; }
.mini-list { list-style: none; padding: 0; max-height: 210px; overflow-y: auto; display: flex; flex-direction: column; gap: 2px; scrollbar-width: thin; }
.mini-list li { display: flex; align-items: center; gap: 4px; }
.mini-list li > button:first-child { flex: 1; min-width: 0; display: flex; justify-content: space-between; gap: 8px; background: none; border: 1px solid transparent; border-radius: 8px; padding: 4px 8px; cursor: pointer; text-align: left; font-size: 12.5px; }
.mini-list li > button:first-child:hover { border-color: var(--line); background: var(--accent-soft); }
.mini-list li.current > button:first-child { border-color: var(--accent); }
.mini-list span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mini-list time { color: var(--muted); font-size: 11px; flex: none; font-variant-numeric: tabular-nums; }
.mini-list .del { background: none; border: none; color: var(--muted); cursor: pointer; padding: 2px 6px; border-radius: 6px; }
.mini-list .del:hover { color: var(--danger); }
.icon-btn:disabled { opacity: .35; cursor: default; }
.tb-sep { width: 1px; height: 20px; background: var(--line); margin: 0 4px; }
.portrait-picker { grid-template-columns: repeat(4, 1fr); }
.portrait-picker .ls-opt { aspect-ratio: 1; background-size: cover; }

/* ---------- Beta, Teilen, Feedback ---------- */
.beta-badge { font: 600 10px/1 var(--font-body); letter-spacing: 2px; text-transform: uppercase; color: var(--accent); border: 1px solid var(--accent); border-radius: 999px; padding: 4px 8px; background: transparent; cursor: pointer; }
.side-foot { display: flex; gap: 14px; align-items: center; padding: 10px 16px; border-top: 1px solid var(--line); font-size: 12px; }
.side-foot a { color: var(--muted); text-decoration: none; }
.side-foot a:hover { color: var(--accent); }
.share-box { border-top: 1px solid var(--line); padding-top: 10px; display: flex; flex-direction: column; gap: 8px; }
.mini-list li > .btn-like { flex: 1; min-width: 0; display: flex; justify-content: space-between; gap: 8px; border: 1px solid transparent; border-radius: 8px; padding: 4px 8px; font-size: 12.5px; color: var(--text); text-decoration: none; }
.mini-list li > .btn-like:hover { border-color: var(--line); background: var(--accent-soft); }
.mini-list li.list-title { display: block; }
.beta-note { background: var(--accent-soft); border: 1px solid color-mix(in srgb, var(--accent) 40%, transparent); border-radius: 12px; padding: 10px 12px; font-size: 13px; line-height: 1.6; margin-bottom: 12px; }
.beta-note.small { font-size: 12px; margin: 0; }
.stack-form { display: flex; flex-direction: column; gap: 12px; }
.stack-form input[type="text"], .stack-form input[type="email"], .stack-form select, .comment-form input[type="text"], .comment-form textarea, .grow-input {
  width: 100%; background: var(--panel-2); border: 1px solid var(--line); border-radius: 8px; padding: 7px 10px; outline: none; }
.stack-form input:focus, .comment-form input:focus, .comment-form textarea:focus { border-color: var(--accent); }
.check span a, .beta-note a { color: var(--accent); }
.check { align-items: flex-start; }
.check input { margin-top: 3px; flex: none; }
.seg { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.seg label { cursor: pointer; }
.seg input, .stars input { position: absolute; opacity: 0; pointer-events: none; }
.seg span { display: block; text-align: center; border: 1px solid var(--line); border-radius: 999px; padding: 6px 4px; font-size: 13px; }
.seg input:checked + span { border-color: var(--accent); background: var(--accent-soft); color: var(--text); }
.seg input:focus-visible + span, .stars input:focus-visible + span { outline: 2px solid var(--accent); }
.stars { display: flex; gap: 4px; flex-direction: row; }
.stars label { cursor: pointer; font-size: 22px; line-height: 1; color: var(--line); }
.stars:has(input:checked) label { color: var(--accent); }
.stars label:has(input:checked) ~ label { color: var(--line); }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }
.ok-note { font: 400 20px/1.3 var(--font-head); color: var(--accent); margin: 0 0 12px; }
.share-link { flex-wrap: nowrap; }
.share-link input { flex: 1; min-width: 0; background: var(--panel-2); border: 1px solid var(--line); border-radius: 999px; padding: 6px 12px; }
.share-grid { display: grid; grid-template-columns: 150px 1fr; gap: 16px; margin-top: 14px; align-items: start; }
.share-qr { border: 1px solid var(--line); border-radius: 12px; overflow: hidden; line-height: 0; }
.share-qr svg { width: 100%; height: auto; }
.share-social { display: flex; flex-wrap: wrap; gap: 6px; align-content: flex-start; }
.share-social a { text-decoration: none; color: var(--text); }

/* ---------- Öffentliche Ansicht (viewer.html) und Moderation ---------- */
body.viewer { height: auto; min-height: 100%; }
.v-head { display: flex; align-items: center; justify-content: space-between; padding: 18px clamp(16px, 4vw, 48px); }
.v-brand { display: flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font: 400 20px/1 var(--font-head); letter-spacing: .5px; }
.v-stage { position: relative; height: min(78vh, 900px); margin: 0 clamp(0px, 3vw, 40px); border-radius: 18px; overflow: hidden; border: 1px solid var(--line); background: var(--bg); }
.v-stage #toolbar { opacity: .7; }
.v-content { max-width: 760px; margin: 0 auto; padding: 40px 16px 24px; }
.v-content.wide { max-width: 1000px; }
.kicker-line { text-align: center; font-size: 11px; letter-spacing: 3px; text-transform: uppercase; color: var(--accent); }
.v-content h1 { text-align: center; font: 400 clamp(30px, 5vw, 48px)/1.15 var(--font-head); margin: 10px 0 6px; }
.v-card { border: 1px solid var(--line); border-radius: 16px; padding: 20px 22px; margin: 22px 0; background: var(--panel); }
.v-card h2 { font: 400 22px/1.2 var(--font-head); margin: 0 0 14px; }
.comment-list { list-style: none; padding: 0; margin: 0 0 18px; display: flex; flex-direction: column; gap: 14px; }
.comment-list li { border-left: 2px solid var(--accent); padding: 2px 0 2px 14px; }
.comment-list p { margin: 4px 0 0; line-height: 1.7; white-space: pre-wrap; }
.c-meta { font-size: 12px; color: var(--muted); }
.comment-form { display: flex; flex-direction: column; gap: 12px; }
.v-cta { text-align: center; margin: 30px 0 10px; }
.v-cta .btn { color: var(--text); text-decoration: none; }
.v-foot { display: flex; gap: 18px; justify-content: center; padding: 24px 16px 40px; font-size: 12px; color: var(--muted); }
.v-foot a { color: var(--muted); }
.mod-item { border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; margin: 10px 0; background: var(--panel); }
.mod-item.st-pending, .mod-item.fb-neu { border-color: var(--accent); }
.mod-item p { margin: 6px 0 10px; white-space: pre-wrap; line-height: 1.6; }
.mod-item .c-meta a { color: var(--accent); }
.tag { border: 1px solid var(--line); border-radius: 999px; padding: 1px 8px; font-size: 11px; }
.count:not(:empty) { background: var(--accent); color: var(--bg); border-radius: 999px; padding: 0 7px; font-size: 11px; margin-left: 4px; }
.tabs .right { margin-left: auto; }
.mod-item select { width: auto; }
@media (max-width: 560px) { .share-grid { grid-template-columns: 1fr; } .share-qr { max-width: 220px; } .seg { grid-template-columns: repeat(2, 1fr); } }
