/* =====================================================
   11Suite – Vereinsplattform · hell, freundlich, Vereinsfarben
   Grundfarben = 11Suite (Gold/Anthrazit); Vereinsfarben kommen per brand_css()
   ===================================================== */
@font-face { font-family: "Montserrat"; font-weight: 400; font-display: swap; src: url(../fonts/montserrat-latin-400-normal.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Montserrat"; font-weight: 500; font-display: swap; src: url(../fonts/montserrat-latin-500-normal.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Montserrat"; font-weight: 600; font-display: swap; src: url(../fonts/montserrat-latin-600-normal.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Montserrat"; font-weight: 700; font-display: swap; src: url(../fonts/montserrat-latin-700-normal.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Montserrat"; font-weight: 400; font-display: swap; src: url(../fonts/montserrat-latin-ext-400-normal.woff2) format("woff2"); unicode-range: U+0100-02AF, U+1E00-1E9F, U+20A0-20AB, U+20AD-20C0, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Montserrat"; font-weight: 600; font-display: swap; src: url(../fonts/montserrat-latin-ext-600-normal.woff2) format("woff2"); unicode-range: U+0100-02AF, U+1E00-1E9F, U+20A0-20AB, U+20AD-20C0, U+2C60-2C7F, U+A720-A7FF; }

:root {
  --yellow: #C9A45C;
  --yellow-2: #B19051;
  --yellow-soft: #F5EFE2;
  --yellow-tint: #FBF8F2;
  --ink: #141414;
  --on-accent: #141414;
  --ink-2: #2E2E2E;
  --muted: #6B6B6B;
  --line: #ECEAE2;
  --line-2: #DEDAD0;
  --paper: #FAF9F5;
  --white: #fff;
  --danger: #D64545;
  --success: #23955F;
  --info: #2F80ED;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 1px 2px rgba(20,20,20,.05), 0 8px 24px rgba(20,20,20,.05);
  --shadow-hover: 0 2px 6px rgba(20,20,20,.07), 0 16px 36px rgba(20,20,20,.10);
  --font: "Montserrat", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --brand-dark: #1A1C1F;
  --on-yellow: #141414;
  --on-dark: #fff;
  --accent-on-dark: var(--yellow);
  --yellow-mid: #E1CDA5;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); font-size: 15px; line-height: 1.6; color: var(--ink); background: var(--white); display: flex; flex-direction: column; min-height: 100vh; -webkit-font-smoothing: antialiased; }
main { flex: 1; }
a { color: var(--ink); text-decoration: none; }
a:hover { color: #000; }
img { max-width: 100%; height: auto; }
h1, h2, h3, h4 { font-weight: 600; line-height: 1.2; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(1.7rem, 3vw, 2.4rem); }
h2 { font-size: clamp(1.25rem, 2vw, 1.55rem); }
h3 { font-size: 1.05rem; }
p { margin: 0 0 1em; }
[hidden] { display: none !important; }
.muted { color: var(--muted); }
.small { font-size: .85rem; }
.icon { width: 1.15em; height: 1.15em; flex: none; vertical-align: -.2em; }
.container { width: 100%; max-width: 1360px; margin: 0 auto; padding: 0 24px; }
.container-narrow { max-width: 880px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 100; background: #fff; padding: 8px 14px; border-radius: 8px; }
:focus-visible { outline: 3px solid color-mix(in srgb, var(--yellow) 65%, transparent); outline-offset: 2px; border-radius: 6px; }
mark { background: var(--yellow-soft); color: inherit; border-radius: 2px; box-shadow: 0 0 0 1px var(--yellow-soft); }
code { font-family: var(--mono); font-size: .88em; background: var(--paper); padding: 2px 6px; border-radius: 5px; border: 1px solid var(--line); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; font: 600 .9rem/1 var(--font); padding: 11px 18px; border-radius: 50px; border: 2px solid transparent; cursor: pointer; transition: all .16s ease; white-space: nowrap; color: var(--ink); background: none; }
.btn-primary { background: var(--yellow); color: var(--on-yellow); border-color: var(--yellow); }
.btn-primary:hover { background: var(--yellow-2); border-color: var(--yellow-2); transform: translateY(-1px); box-shadow: 0 6px 16px color-mix(in srgb, var(--yellow) 35%, transparent); }
.btn-dark { background: var(--brand-dark); color: var(--accent-on-dark); }
.btn-dark:hover { background: color-mix(in srgb, var(--brand-dark) 80%, #000); color: var(--accent-on-dark); }
.btn-outline { border-color: var(--line-2); background: #fff; }
.btn-outline:hover { border-color: var(--ink); }
.btn-ghost { padding: 9px 12px; }
.btn-ghost:hover { background: var(--paper); }
.btn-danger { border-color: #F3D2D2; color: var(--danger); background: #fff; }
.btn-danger:hover { background: var(--danger); border-color: var(--danger); color: #fff; }
.btn-sm { padding: 8px 14px; font-size: .84rem; }
.btn-xs { padding: 5px 10px; font-size: .78rem; }
.btn-block { width: 100%; }
.btn-icon { padding: 8px; border-radius: 10px; }
.btn[disabled] { opacity: .5; pointer-events: none; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.94); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); }
.site-header::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 3px; background: linear-gradient(90deg, var(--yellow) 0%, var(--yellow) 60%, var(--ink) 60%, var(--ink) 100%); }
.header-inner { display: flex; align-items: center; gap: 20px; height: 72px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand-crest { width: 36px; height: auto; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-text b { font-size: 1.02rem; font-weight: 700; }
.brand-text span { font-size: .74rem; color: var(--muted); font-weight: 500; }
.header-search { flex: 1; max-width: 480px; position: relative; display: flex; align-items: center; }
.header-search > .icon { position: absolute; left: 15px; color: var(--muted); }
.header-search input[type=search] { width: 100%; height: 42px; border: 1px solid var(--line); background: var(--paper); border-radius: 50px; padding: 0 40px 0 42px; font: inherit; font-size: .9rem; color: var(--ink); transition: .16s; }
.header-search input[type=search]:focus { outline: none; background: #fff; border-color: var(--yellow-2); box-shadow: 0 0 0 4px color-mix(in srgb, var(--yellow) 25%, transparent); }
.header-search kbd { position: absolute; right: 12px; font: 600 .72rem var(--font); color: var(--muted); border: 1px solid var(--line-2); border-radius: 6px; padding: 1px 7px; background: #fff; }
.main-nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.main-nav > a { font-weight: 500; padding: 9px 14px; border-radius: 50px; font-size: .92rem; }
.main-nav > a:hover { background: var(--paper); }
.main-nav > a.active { background: var(--yellow-soft); font-weight: 600; }
.nav-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; margin-left: auto; }
.nav-toggle .icon { width: 26px; height: 26px; }
.online { display: flex; margin: 0 6px 0 10px; }
.online .avatar { margin-left: -7px; border: 2px solid #fff; }
.avatar { --a: #888; display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--a); color: #fff; font-weight: 700; font-size: .78rem; flex: none; letter-spacing: .02em; }
.avatar.sm { width: 28px; height: 28px; font-size: .68rem; }
.avatar.lg { width: 48px; height: 48px; font-size: 1rem; }
.avatar.more { background: var(--ink); }
.user-menu { position: relative; }
.user-btn { display: flex; align-items: center; gap: 8px; border: 1px solid var(--line); background: #fff; border-radius: 50px; padding: 3px 10px 3px 3px; cursor: pointer; font: 600 .86rem var(--font); color: var(--ink); }
.user-btn:hover, .user-btn[aria-expanded="true"] { border-color: var(--ink); }
.user-name { max-width: 140px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dropdown { position: absolute; right: 0; top: calc(100% + 10px); min-width: 230px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-hover); padding: 8px; display: none; z-index: 60; }
.dropdown.open { display: block; }
.dropdown-head { padding: 10px 12px; font-size: .82rem; color: var(--muted); border-bottom: 1px solid var(--line); margin-bottom: 6px; }
.dropdown-head strong { color: var(--ink); font-size: .92rem; }
.dropdown-sep { font-size: .7rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); padding: 10px 12px 4px; font-weight: 600; }
.dropdown a, .dropdown button { display: flex; align-items: center; gap: 10px; width: 100%; padding: 9px 12px; border-radius: 8px; font: 500 .9rem var(--font); background: none; border: 0; cursor: pointer; text-align: left; color: var(--ink); }
.dropdown a:hover, .dropdown button:hover { background: var(--yellow-tint); }
.dropdown form { margin: 0; }

.site-main { padding-bottom: 64px; }
.site-footer { border-top: 1px solid var(--line); background: var(--paper); padding: 18px 0; font-size: .82rem; }
.footer-inner { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }

/* Flash */
.flash-wrap { margin-top: 18px; display: grid; gap: 10px; }
.flash { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 13px 16px; border-radius: var(--radius-sm); font-weight: 500; font-size: .92rem; border: 1px solid; animation: slidein .25s ease; }
.flash-success { background: #EEF8F2; border-color: #C8E8D6; color: #1B6E47; }
.flash-error { background: #FDF0F0; border-color: #F2CFCF; color: #A33232; }
.flash-info { background: var(--yellow-tint); border-color: color-mix(in srgb, var(--yellow) 40%, white); color: #6B5300; }
.flash-close { background: none; border: 0; color: inherit; cursor: pointer; opacity: .6; padding: 2px; }
@keyframes slidein { from { opacity: 0; transform: translateY(-6px); } }

/* Hero (Start) */
.hero { position: relative; overflow: hidden; background: linear-gradient(180deg, var(--yellow-tint), #fff 85%); border-bottom: 1px solid var(--line); }
.hero-inner { display: grid; grid-template-columns: 1fr 260px; gap: 30px; align-items: center; padding: 48px 24px 44px; }
.hero .eyebrow { font-size: .85rem; font-weight: 600; color: var(--muted); display: block; margin-bottom: 10px; }
.hero h1 { max-width: 720px; }
.hero h1 .hl { background: linear-gradient(transparent 62%, var(--yellow) 62%); padding: 0 4px; }
.hero-logo { justify-self: end; width: 230px; filter: drop-shadow(0 12px 30px rgba(0,0,0,.08)); }
.hero-search { display: flex; gap: 10px; max-width: 680px; margin-top: 22px; }
.hero-search .field { position: relative; flex: 1; }
.hero-search .field .icon { position: absolute; left: 20px; top: 50%; transform: translateY(-50%); width: 21px; height: 21px; }
.hero-search input[type=search] { width: 100%; height: 56px; border-radius: 50px; border: 2px solid var(--line-2); padding: 0 22px 0 54px; font: 500 1rem var(--font); background: #fff; box-shadow: var(--shadow); transition: .16s; }
.hero-search input[type=search]:focus { outline: none; border-color: var(--yellow-2); box-shadow: 0 0 0 5px color-mix(in srgb, var(--yellow) 25%, transparent), var(--shadow); }
.hero-search .btn { height: 56px; padding: 0 28px; }
.quick { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 20px; }

/* Abschnitte */
.section { padding-top: 40px; }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 14px; margin-bottom: 16px; flex-wrap: wrap; }
.section-head h2 { margin: 0; }
.section-head .more { font-weight: 600; font-size: .88rem; display: inline-flex; gap: 6px; align-items: center; }
.page-head { padding: 30px 0 18px; }
.page-head h1 { margin: 0 0 6px; }
.page-head p { margin: 0; }
.row-between { display: flex; justify-content: space-between; align-items: center; gap: 14px; flex-wrap: wrap; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.card-pad { padding: 26px; }
.grid { display: grid; gap: 16px; }
.two-col { display: grid; grid-template-columns: 1fr 340px; gap: 28px; align-items: start; }

/* Breadcrumb */
.breadcrumb { display: flex; align-items: center; flex-wrap: wrap; gap: 4px; font-size: .86rem; color: var(--muted); margin-bottom: 8px; }
.breadcrumb a { color: var(--muted); display: inline-flex; align-items: center; gap: 6px; padding: 2px 4px; border-radius: 6px; }
.breadcrumb a:hover { color: var(--ink); background: var(--paper); }
.breadcrumb .sep .icon { width: 14px; height: 14px; opacity: .6; }

/* Explorer-Layout */
.explorer { display: grid; grid-template-columns: 270px 1fr; gap: 28px; align-items: start; padding-top: 24px; }
.side { position: sticky; top: 96px; max-height: calc(100vh - 120px); overflow: auto; padding-right: 4px; }
.tree-wrap { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 8px; }
.tree-head a { display: flex; gap: 8px; align-items: center; font-weight: 700; padding: 8px 10px; font-size: .9rem; }
.tree { list-style: none; margin: 0; padding: 0; }
.tree.sub { padding-left: 14px; display: none; }
.tree li.open > .tree.sub { display: block; }
.tree-row { display: flex; align-items: center; border-radius: 8px; }
.tree-row:hover { background: #fff; }
.tree-row.active { background: var(--yellow-soft); }
.tree-row a { flex: 1; display: flex; align-items: center; gap: 8px; padding: 6px 8px 6px 2px; font-size: .88rem; font-weight: 500; min-width: 0; }
.tree-row a span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tree-row a .icon { color: var(--fc); fill: color-mix(in srgb, var(--fc) 22%, transparent); }
.tree-row.active a { font-weight: 700; }
.tree-toggle { width: 22px; height: 22px; border: 0; background: none; padding: 0; display: grid; place-items: center; cursor: pointer; color: var(--muted); flex: none; border-radius: 6px; }
.tree-toggle .icon { width: 14px; height: 14px; transition: transform .15s; }
.tree li.open > .tree-row .tree-toggle .icon { transform: rotate(90deg); }
.tree-toggle.blank { cursor: default; }

.folder-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; flex-wrap: wrap; margin-bottom: 14px; }
.folder-title { display: flex; align-items: center; gap: 12px; }
.folder-title h1 { margin: 0; font-size: clamp(1.5rem, 2.4vw, 2rem); }
.folder-title .ficon { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: color-mix(in srgb, var(--fc) 18%, white); color: var(--fc); }
.folder-title .ficon .icon { width: 26px; height: 26px; fill: color-mix(in srgb, var(--fc) 25%, transparent); }
.folder-meta { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 6px; }
.chip { display: inline-flex; align-items: center; gap: 5px; font-size: .76rem; font-weight: 600; padding: 4px 10px; border-radius: 50px; background: var(--paper); border: 1px solid var(--line); color: var(--ink-2); }
.chip .icon { width: 14px; height: 14px; }
.chip-lock { background: #FFF3E8; border-color: #F8DCC2; color: #9A4D00; }
.chip-drive { background: #EAF6EF; border-color: #CBE9D6; color: #1E7A4C; }
.chip-yellow { background: var(--yellow-soft); border-color: color-mix(in srgb, var(--yellow) 47%, white); }

.toolbar { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; padding: 10px; border: 1px solid var(--line); border-radius: 14px; background: #fff; margin-bottom: 18px; position: sticky; top: 84px; z-index: 20; box-shadow: var(--shadow); }
.toolbar .group { display: flex; gap: 6px; align-items: center; flex-wrap: wrap; }
.seg { display: inline-flex; background: var(--paper); border: 1px solid var(--line); border-radius: 10px; padding: 3px; }
.seg a, .seg button { padding: 6px 9px; border-radius: 7px; display: grid; place-items: center; border: 0; background: none; cursor: pointer; color: var(--muted); }
.seg .active { background: #fff; color: var(--ink); box-shadow: 0 1px 3px rgba(0,0,0,.08); }
.toolbar select { width: auto; padding: 7px 34px 7px 12px; font-size: .84rem; border-radius: 10px; }
.bulkbar { display: none; align-items: center; gap: 8px; background: var(--ink); color: #fff; padding: 8px 10px 8px 16px; border-radius: 12px; font-size: .88rem; font-weight: 600; flex-wrap: wrap; }
.bulkbar.show { display: flex; }
.bulkbar .btn { color: #fff; border-color: rgba(255,255,255,.25); }
.bulkbar .btn:hover { background: rgba(255,255,255,.1); }
.bulkbar .btn-primary { color: var(--ink); }

/* Ordner- & Datei-Kacheln */
.tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 14px; }
.sub-label { font-size: .74rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); font-weight: 700; margin: 4px 0 10px; }
.ftile { --fc: color-mix(in srgb, var(--yellow) 87%, black); position: relative; display: flex; align-items: center; gap: 12px; padding: 14px; border: 1px solid var(--line); border-radius: 14px; background: #fff; transition: .16s; }
.ftile:hover { border-color: var(--line-2); box-shadow: var(--shadow-hover); transform: translateY(-1px); }
.ftile .ficon { width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; background: color-mix(in srgb, var(--fc) 16%, white); color: var(--fc); flex: none; }
.ftile .ficon .icon { width: 22px; height: 22px; fill: color-mix(in srgb, var(--fc) 25%, transparent); }
.ftile .fname { font-weight: 600; font-size: .9rem; line-height: 1.25; overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.ftile .fsub { font-size: .76rem; color: var(--muted); }
.ftile.drop-target { border-color: var(--yellow-2); background: var(--yellow-tint); box-shadow: 0 0 0 3px color-mix(in srgb, var(--yellow) 35%, transparent); }
.stretch::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }

.itile { position: relative; border: 1px solid var(--line); border-radius: 14px; background: #fff; overflow: hidden; transition: .16s; display: flex; flex-direction: column; }
.itile:hover { border-color: var(--line-2); box-shadow: var(--shadow-hover); transform: translateY(-1px); }
.itile.selected { border-color: var(--ink); box-shadow: 0 0 0 2px var(--ink); }
.itile .visual { aspect-ratio: 4/3; background: var(--paper); display: grid; place-items: center; overflow: hidden; border-bottom: 1px solid var(--line); }
.itile .visual img { width: 100%; height: 100%; object-fit: cover; }
.itile .body { padding: 10px 12px 12px; min-width: 0; }
.itile .title { font-weight: 600; font-size: .88rem; line-height: 1.3; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; display: block; }
.itile .sub { font-size: .74rem; color: var(--muted); display: flex; gap: 6px; align-items: center; overflow: hidden; white-space: nowrap; }
.itile .check { position: absolute; top: 8px; left: 8px; z-index: 3; opacity: 0; transition: .15s; }
.itile:hover .check, .itile.selected .check, .has-selection .itile .check { opacity: 1; }
.check input { width: 20px; height: 20px; accent-color: var(--ink); cursor: pointer; margin: 0; }
.itile .badges { position: absolute; top: 8px; right: 8px; z-index: 2; display: flex; gap: 4px; }
.mini { font-size: .66rem; font-weight: 700; padding: 3px 7px; border-radius: 50px; background: rgba(255,255,255,.92); border: 1px solid var(--line); display: inline-flex; align-items: center; gap: 4px; }
.mini.lock { background: #FFF3E8; color: #9A4D00; border-color: #F8DCC2; }
.big-badge { display: flex; flex-direction: column; align-items: center; gap: 6px; color: var(--muted); }
.big-badge .icon { width: 40px; height: 40px; stroke-width: 1.4; }
.big-badge b { font-size: .72rem; letter-spacing: .06em; padding: 3px 8px; border-radius: 6px; background: #fff; border: 1px solid var(--line); color: var(--ink-2); }
.fk-pdf .icon { color: #D64545; } .fk-word .icon { color: #2B6CC4; } .fk-excel .icon { color: #23955F; } .fk-powerpoint .icon { color: #D9692E; }
.fk-design .icon { color: #1F6FEB; } .fk-image .icon { color: #9B51E0; } .fk-video .icon { color: #C2417C; } .fk-audio .icon { color: #00A3A3; }
.fk-archive .icon { color: #7A6431; } .fk-note .icon { color: color-mix(in srgb, var(--yellow) 68%, black); } .fk-link .icon { color: var(--info); } .fk-gdrive .icon { color: #1E7A4C; }

.fk { display: inline-grid; place-items: center; min-width: 40px; height: 22px; padding: 0 6px; border-radius: 6px; font-size: .64rem; font-weight: 700; letter-spacing: .03em; color: #fff; background: #8B8B8B; }
.fk.fk-pdf { background: #D64545; } .fk.fk-word { background: #2B6CC4; } .fk.fk-excel { background: #23955F; } .fk.fk-powerpoint { background: #D9692E; }
.fk.fk-image { background: #9B51E0; } .fk.fk-design { background: #1F6FEB; } .fk.fk-archive { background: #7A6431; } .fk.fk-text { background: #5A6472; } .fk.fk-video { background: #C2417C; } .fk.fk-audio { background: #00A3A3; }

/* Listenansicht */
.ltable { width: 100%; border-collapse: collapse; font-size: .88rem; background: #fff; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.ltable th { text-align: left; font-size: .72rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); padding: 10px 12px; border-bottom: 1px solid var(--line); font-weight: 600; background: var(--paper); }
.ltable td { padding: 9px 12px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.ltable tr:last-child td { border-bottom: 0; }
.ltable tr:hover td { background: var(--yellow-tint); }
.ltable tr.selected td { background: var(--yellow-soft); }
.ltable .nm { display: flex; align-items: center; gap: 10px; font-weight: 600; min-width: 0; }
.ltable .nm .thumb { width: 38px; height: 38px; border-radius: 8px; overflow: hidden; background: var(--paper); display: grid; place-items: center; flex: none; border: 1px solid var(--line); }
.ltable .nm .thumb img { width: 100%; height: 100%; object-fit: cover; }
.ltable .nm .thumb .icon { width: 20px; height: 20px; }
.ltable .nm a { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ltable .w-check { width: 36px; }
.table-scroll { overflow-x: auto; }

/* Upload */
.drop-overlay { position: fixed; inset: 0; z-index: 90; background: color-mix(in srgb, var(--yellow) 18%, transparent); backdrop-filter: blur(2px); display: none; align-items: center; justify-content: center; pointer-events: none; }
.drop-overlay.show { display: flex; }
.drop-overlay .box { background: #fff; border: 3px dashed var(--ink); border-radius: 24px; padding: 40px 56px; text-align: center; box-shadow: var(--shadow-hover); }
.drop-overlay .box .icon { width: 48px; height: 48px; }
.drop-overlay .box strong { display: block; font-size: 1.2rem; margin-top: 8px; }
.uploads { position: fixed; right: 20px; bottom: 20px; width: 380px; max-width: calc(100vw - 40px); z-index: 80; background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow-hover); overflow: hidden; display: none; }
.uploads.show { display: block; }
.uploads-head { display: flex; justify-content: space-between; align-items: center; padding: 12px 16px; background: var(--ink); color: #fff; font-weight: 600; font-size: .9rem; }
.uploads-head button { background: none; border: 0; color: #fff; cursor: pointer; }
.uploads ul { list-style: none; margin: 0; padding: 6px; max-height: 320px; overflow: auto; }
.uploads li { padding: 8px 10px; font-size: .82rem; border-radius: 8px; }
.uploads li .row { display: flex; justify-content: space-between; gap: 10px; }
.uploads li .nm { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 600; }
.uploads li .st { color: var(--muted); white-space: nowrap; }
.uploads li.done .st { color: var(--success); }
.uploads li.err .st { color: var(--danger); white-space: normal; }
.pbar { height: 5px; border-radius: 5px; background: var(--paper); margin-top: 6px; overflow: hidden; }
.pbar span { display: block; height: 100%; width: 0; background: var(--yellow-2); transition: width .2s; }
.uploads li.done .pbar span { background: var(--success); }
.uploads .foot { padding: 8px 14px 12px; display: flex; gap: 8px; align-items: center; font-size: .8rem; color: var(--muted); }

/* Leerer Zustand */
.empty { text-align: center; padding: 56px 20px; border: 2px dashed var(--line-2); border-radius: var(--radius); background: var(--paper); }
.empty .icon { width: 46px; height: 46px; margin-bottom: 8px; }
.empty p { color: var(--muted); max-width: 460px; margin: 0 auto 18px; }

/* Formulare */
.form-grid { display: grid; gap: 20px; align-content: start; }
.form-row { display: grid; gap: 20px; grid-template-columns: 1fr 1fr; }
label, .label { display: block; font-weight: 600; font-size: .88rem; margin-bottom: 7px; }
.hint { font-size: .8rem; color: var(--muted); margin-top: 6px; font-weight: 400; }
input[type=text], input:not([type]), input[type=tel], input[type=month], input[type=password], input[type=url], input[type=email], input[type=number], input[type=search], input[type=date], input[type=time], select, textarea {
  width: 100%; font: 500 .94rem var(--font); color: var(--ink); background: #fff; border: 1px solid var(--line-2); border-radius: 10px; padding: 11px 13px; transition: .16s; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--yellow-2); box-shadow: 0 0 0 4px color-mix(in srgb, var(--yellow) 25%, transparent); }
textarea { min-height: 120px; resize: vertical; line-height: 1.6; }
select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23141414' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 11px center; background-size: 17px; padding-right: 38px; }
.input-title { font-size: 1.3rem !important; font-weight: 600 !important; }
.checkbox { display: inline-flex; align-items: center; gap: 9px; font-weight: 500; cursor: pointer; margin: 0; }
.checkbox input { width: 18px; height: 18px; accent-color: var(--ink); }
.checks { display: flex; flex-wrap: wrap; gap: 8px; }
.checks label { margin: 0; display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px; border: 1px solid var(--line-2); border-radius: 50px; font-weight: 500; font-size: .86rem; cursor: pointer; }
.checks label:has(input:checked) { background: var(--yellow-soft); border-color: var(--yellow-2); }
.checks input { accent-color: var(--ink); }
.form-actions { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.form-actions .spacer { flex: 1; }
.input-icon { position: relative; }
.input-icon > .icon { position: absolute; left: 13px; top: 50%; transform: translateY(-50%); color: var(--muted); }
.input-icon input { padding-left: 42px; }
.pw-toggle { position: absolute; right: 8px; top: 50%; transform: translateY(-50%); background: none; border: 0; color: var(--muted); cursor: pointer; padding: 6px; }
.color-swatches { display: flex; gap: 8px; flex-wrap: wrap; }
.color-swatches input { position: absolute; opacity: 0; }
.color-swatches label { width: 30px; height: 30px; border-radius: 50%; background: var(--c); cursor: pointer; margin: 0; border: 3px solid #fff; box-shadow: 0 0 0 1px var(--line-2); }
.color-swatches input:checked + label { box-shadow: 0 0 0 2px var(--ink); transform: scale(1.08); }

/* Editor */
.editor { border: 1px solid var(--line-2); border-radius: 12px; overflow: hidden; background: #fff; }
.editor:focus-within { border-color: var(--yellow-2); box-shadow: 0 0 0 4px color-mix(in srgb, var(--yellow) 25%, transparent); }
.editor-bar { display: flex; align-items: center; gap: 2px; padding: 6px 8px; border-bottom: 1px solid var(--line); background: var(--paper); flex-wrap: wrap; }
.editor-bar button { background: none; border: 0; min-width: 32px; height: 32px; border-radius: 8px; cursor: pointer; font: 600 .84rem var(--font); color: var(--ink); padding: 0 8px; }
.editor-bar button:hover { background: #fff; }
.editor-bar .sep { width: 1px; height: 20px; background: var(--line-2); margin: 0 6px; }
.editor-bar .tabs { margin-left: auto; display: flex; gap: 2px; }
.editor-bar .tabs button.active { background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.08); }
.editor textarea { border: 0; border-radius: 0; min-height: 380px; font-family: var(--mono); font-size: .9rem; box-shadow: none !important; }
.editor .preview { padding: 18px 22px; min-height: 380px; display: none; }
.editor.show-preview textarea { display: none; }
.editor.show-preview .preview { display: block; }
.tag-input { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; border: 1px solid var(--line-2); border-radius: 10px; padding: 6px 8px; background: #fff; cursor: text; }
.tag-input:focus-within { border-color: var(--yellow-2); box-shadow: 0 0 0 4px color-mix(in srgb, var(--yellow) 25%, transparent); }
.tag-input .tag button { background: none; border: 0; padding: 0 2px; cursor: pointer; color: var(--muted); font-size: 1rem; line-height: 1; }
.tag-input input { border: 0 !important; box-shadow: none !important; padding: 5px 4px !important; flex: 1; min-width: 140px; }
.tags { display: flex; gap: 6px; flex-wrap: wrap; }
.tag { font-size: .76rem; font-weight: 600; background: var(--paper); padding: 3px 10px; border-radius: 50px; border: 1px solid var(--line); display: inline-flex; align-items: center; gap: 4px; }
a.tag:hover { background: var(--yellow); border-color: var(--yellow); color: var(--on-yellow);}

/* Detailansicht */
.item-head { display: flex; justify-content: space-between; gap: 16px; align-items: flex-start; flex-wrap: wrap; padding: 22px 0 18px; }
.item-head h1 { margin: 6px 0 8px; word-break: break-word; font-size: clamp(1.5rem, 2.6vw, 2.1rem); }
.meta { display: flex; gap: 8px 16px; flex-wrap: wrap; color: var(--muted); font-size: .85rem; align-items: center; }
.meta span { display: inline-flex; align-items: center; gap: 6px; }
.actions { display: flex; gap: 8px; flex-wrap: wrap; }
.viewer { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: grid; place-items: center; min-height: 260px; }
.viewer img { max-height: 76vh; width: auto; display: block; }
.viewer iframe { width: 100%; height: 78vh; border: 0; background: #fff; }
.viewer video { width: 100%; max-height: 76vh; background: #000; }
.viewer .nopreview { text-align: center; padding: 50px 20px; }
.viewer .nopreview .icon { width: 56px; height: 56px; }
.side-card { padding: 18px 20px; }
.side-card h4 { font-size: .74rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin-bottom: 12px; }
.kv { display: grid; grid-template-columns: auto 1fr; gap: 6px 14px; font-size: .86rem; }
.kv dt { color: var(--muted); }
.kv dd { margin: 0; font-weight: 500; word-break: break-word; }
.versions { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.versions li { display: flex; gap: 10px; align-items: center; padding: 8px 10px; border: 1px solid var(--line); border-radius: 10px; font-size: .82rem; }
.versions li.cur { border-color: var(--yellow-2); background: var(--yellow-tint); }
.versions .vno { font-weight: 700; min-width: 26px; }
.versions .vinfo { flex: 1; min-width: 0; }
.versions .vinfo span { display: block; color: var(--muted); font-size: .76rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.timeline { list-style: none; margin: 0; padding: 0; }
.timeline li { display: flex; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: .88rem; }
.timeline li:last-child { border-bottom: 0; }
.timeline .when { color: var(--muted); font-size: .78rem; white-space: nowrap; }
.timeline .what { flex: 1; min-width: 0; }
.timeline .what a { font-weight: 600; }
.timeline .where { color: var(--muted); font-size: .78rem; }
.lockbar { display: flex; gap: 10px; align-items: center; padding: 12px 16px; border-radius: 12px; background: #FFF3E8; border: 1px solid #F8DCC2; color: #8A4500; font-weight: 500; margin-bottom: 16px; }
.preview-text { white-space: pre-wrap; font-family: var(--font); font-size: .9rem; background: var(--paper); padding: 18px; border-radius: 12px; max-height: 60vh; overflow: auto; border: 1px solid var(--line); line-height: 1.65; }
details.extracted summary { cursor: pointer; font-size: .85rem; font-weight: 600; margin: 14px 0 8px; }

/* Markdown */
.prose { font-size: 1rem; line-height: 1.75; word-wrap: break-word; }
.prose h1, .prose h2, .prose h3 { margin: 1.4em 0 .5em; }
.prose > :first-child { margin-top: 0; }
.prose ul, .prose ol { padding-left: 1.4em; }
.prose blockquote { margin: 1.2em 0; padding: 12px 18px; border-left: 4px solid var(--yellow); background: var(--yellow-tint); border-radius: 0 10px 10px 0; }
.prose blockquote p:last-child { margin: 0; }
.prose pre { background: var(--ink); color: #f3f3f3; padding: 16px 18px; border-radius: 12px; overflow-x: auto; font-size: .86rem; }
.prose pre code { background: none; border: 0; color: inherit; padding: 0; }
.prose a { text-decoration: underline; text-decoration-color: var(--yellow-2); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.table-wrap { overflow-x: auto; margin: 1em 0; border: 1px solid var(--line); border-radius: 10px; }
.prose table { border-collapse: collapse; width: 100%; font-size: .92rem; }
.prose th, .prose td { padding: 9px 13px; border-bottom: 1px solid var(--line); text-align: left; }
.prose th { background: var(--paper); }
.prose li.task { list-style: none; margin-left: -1.3em; display: flex; gap: 10px; align-items: baseline; }
.task-box { width: 16px; height: 16px; border: 2px solid #B9B4A6; border-radius: 4px; display: inline-block; flex: none; position: relative; top: 2px; }
.task-box.done { background: var(--success); border-color: var(--success); }
.task-box.done::after { content: ""; position: absolute; left: 4px; top: 0; width: 4px; height: 8px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.prose li.task.done { color: var(--muted); text-decoration: line-through; }

/* Suche */
.search-hero { background: var(--yellow-tint); border-bottom: 1px solid var(--line); padding: 30px 0 26px; }
.result { display: flex; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.result .rthumb { width: 64px; height: 64px; border-radius: 10px; overflow: hidden; background: var(--paper); border: 1px solid var(--line); display: grid; place-items: center; flex: none; }
.result .rthumb img { width: 100%; height: 100%; object-fit: cover; }
.result .rthumb .big-badge .icon { width: 26px; height: 26px; }
.result .rthumb .big-badge b { display: none; }
.result h3 { margin: 0 0 2px; font-size: 1.02rem; }
.result .path { font-size: .78rem; color: var(--muted); display: flex; gap: 6px; align-items: center; }
.result .snippet { margin: 4px 0 0; font-size: .88rem; color: #444; }
.result .found-in { font-size: .76rem; font-weight: 600; color: #8A6D00; }

/* Verwaltung */
.table { width: 100%; border-collapse: collapse; font-size: .9rem; }
.table th { text-align: left; font-size: .72rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); padding: 11px 14px; border-bottom: 1px solid var(--line); font-weight: 600; }
.table td { padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.table tr:last-child td { border-bottom: 0; }
.status-dot { display: inline-flex; align-items: center; gap: 6px; font-size: .8rem; font-weight: 600; }
.status-dot::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--success); }
.status-dot.off::before { background: #BBB; }
.role { font-size: .72rem; font-weight: 700; padding: 3px 9px; border-radius: 50px; background: var(--paper); border: 1px solid var(--line); }
.role.admin { background: var(--brand-dark); color: var(--accent-on-dark); border-color: var(--brand-dark); }
.gchip { --c: var(--yellow); display: inline-flex; align-items: center; gap: 6px; font-size: .76rem; font-weight: 600; padding: 3px 10px; border-radius: 50px; background: color-mix(in srgb, var(--c) 14%, white); border: 1px solid color-mix(in srgb, var(--c) 35%, white); }
.gchip::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--c); }
.stat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; }
.stat { padding: 16px 18px; border: 1px solid var(--line); border-radius: 14px; background: #fff; }
.stat b { display: block; font-size: 1.5rem; font-weight: 700; }
.stat span { font-size: .8rem; color: var(--muted); }

/* Modal */
.modal { position: fixed; inset: 0; z-index: 100; background: rgba(20,20,20,.45); display: none; align-items: center; justify-content: center; padding: 16px; }
.modal.show { display: flex; }
.modal-box { background: #fff; border-radius: 18px; width: 100%; max-width: 520px; box-shadow: 0 30px 80px rgba(0,0,0,.25); max-height: calc(100vh - 32px); overflow: auto; }
.modal-head { display: flex; justify-content: space-between; align-items: center; padding: 18px 22px 0; }
.modal-head h3 { margin: 0; font-size: 1.15rem; }
.modal-head button { background: none; border: 0; cursor: pointer; padding: 6px; }
.modal-body { padding: 18px 22px 22px; }

/* Login */
body.bare { background: var(--paper); }
.auth-wrap { min-height: 100vh; display: grid; grid-template-columns: 1.05fr 1fr; }
.auth-side { background: var(--ink); color: #fff; padding: 52px; display: flex; flex-direction: column; justify-content: space-between; position: relative; overflow: hidden; }
.auth-side::before { content: ""; position: absolute; right: -120px; top: -120px; width: 420px; height: 420px; border-radius: 50%; background: radial-gradient(circle, color-mix(in srgb, var(--yellow) 25%, transparent), transparent 70%); }
.auth-side::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 10px; background: var(--yellow); color: var(--on-yellow);}
.auth-logo { width: 220px; position: relative; }
.auth-side h1 { color: #fff; font-size: clamp(1.9rem, 3.2vw, 2.8rem); max-width: 520px; position: relative; }
.auth-side h1 .hl { color: var(--yellow); }
.auth-side p { opacity: .8; max-width: 440px; position: relative; }
.auth-features { display: grid; gap: 12px; margin-top: 26px; position: relative; }
.auth-features div { display: flex; gap: 12px; align-items: center; font-weight: 500; }
.auth-features .icon { width: 34px; height: 34px; padding: 7px; border-radius: 50%; background: color-mix(in srgb, var(--yellow) 15%, transparent); color: var(--yellow); }
.auth-main { display: grid; place-items: center; padding: 40px 24px; }
.auth-card { width: 100%; max-width: 410px; }
.auth-card .card { padding: 30px; }
.install-wrap { max-width: 780px; margin: 0 auto; padding: 44px 24px; }

/* Responsive */
@media (max-width: 1100px) {
  .explorer { grid-template-columns: 1fr; }
  .side { position: static; max-height: none; display: none; }
  .side.show-mobile { display: block; }
  .two-col { grid-template-columns: 1fr; }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-logo { display: none; }
}
@media (max-width: 860px) {
  .header-inner { height: auto; padding-top: 10px; padding-bottom: 12px; flex-wrap: wrap; gap: 10px; }
  .header-search { order: 3; max-width: none; flex-basis: 100%; }
  .nav-toggle { display: block; }
  .main-nav { display: none; flex-basis: 100%; flex-direction: column; align-items: stretch; order: 4; }
  .main-nav.open { display: flex; }
  .online { display: none; }
  .user-btn { display: none; }
  .main-nav .dropdown { display: block; position: static; box-shadow: none; border: 0; padding: 0; }
  .actions .dropdown { right: auto; left: 0; }
  .auth-wrap { grid-template-columns: 1fr; }
  .auth-side { padding: 32px 24px 40px; }
  .auth-features, .auth-side p { display: none; }
  .auth-logo { width: 120px; }
  .form-row { grid-template-columns: 1fr; }
  .hide-sm { display: none !important; }
  .toolbar { position: static; }
  .hero-search { flex-direction: column; }
}
@media (max-width: 520px) {
  .container { padding: 0 16px; }
  .tiles { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .card-pad { padding: 18px; }
}

/* ---------------- Google Drive ---------------- */
.gd-status { display: flex; align-items: center; gap: 18px; padding: 22px 24px; flex-wrap: wrap; margin-bottom: 28px; }
.gd-logo { width: 54px; height: 54px; border-radius: 14px; display: grid; place-items: center; background: linear-gradient(135deg, var(--yellow-soft), #fff); border: 1px solid var(--line); color: var(--ink); flex: none; }
.gd-logo .icon { width: 28px; height: 28px; }
.gd-status-text { display: flex; flex-direction: column; gap: 2px; min-width: 180px; }
.gd-stats { display: flex; gap: 26px; margin-left: auto; flex-wrap: wrap; }
.gd-stats div { display: flex; flex-direction: column; }
.gd-stats b { font-size: 1.15rem; font-weight: 600; }
.gd-stats span { font-size: .78rem; color: var(--muted); }
.ok-dot, .off-dot { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; }
.ok-dot::before, .off-dot::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--success); box-shadow: 0 0 0 3px #dcf2e7; }
.off-dot::before { background: #b4c2cd; box-shadow: 0 0 0 3px #edf1f4; }
.ok-dot { color: #1d6f4a; }
.gd-step { padding: 26px 28px; margin-bottom: 18px; transition: .2s; }
.gd-step.current { border-color: var(--yellow-2); box-shadow: 0 0 0 4px color-mix(in srgb, var(--yellow) 20%, transparent), var(--shadow); }
.gd-step.todo { opacity: .6; }
.gd-step-head { display: flex; gap: 16px; align-items: flex-start; }
.gd-step-head h2 { font-size: 1.2rem; margin: 4px 0 4px; font-weight: 600; }
.gd-step-head p { margin: 0; }
.gd-num { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; flex: none; background: var(--yellow-soft); color: var(--ink); }
.gd-step.current .gd-num { background: var(--yellow); color: var(--on-yellow); }
.gd-step.done .gd-num { background: var(--success); color: #fff; }
.gd-step > *:not(.gd-step-head) { margin-left: 52px; }
.gd-step .form-actions { margin-top: 16px; }
.gd-guide { margin-top: 16px; }
.gd-guide summary { cursor: pointer; font-weight: 600; color: var(--ink); font-size: .92rem; }
.guide-list { margin: 14px 0 0; padding-left: 1.3em; display: grid; gap: 12px; font-size: .93rem; line-height: 1.6; }
.copy-box { display: flex; gap: 8px; align-items: center; margin-top: 8px; background: var(--paper); border: 1px solid var(--line); border-radius: 10px; padding: 8px 8px 8px 14px; }
.copy-box code { flex: 1; font-family: var(--mono); font-size: .82rem; word-break: break-all; color: var(--ink-2); }
.gd-add { display: flex; gap: 10px; flex-wrap: wrap; }
.gd-add input { flex: 1; min-width: 240px; }
.gd-folder-ico { color: var(--gold); display: grid; }
.file-list form { margin: 0; }
.gd-browser { margin-top: 16px; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.gd-browser-head { display: flex; align-items: center; gap: 10px; padding: 10px 14px; background: var(--paper); border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.gd-browser-list { list-style: none; margin: 0; padding: 6px; max-height: 360px; overflow: auto; }
.gd-browser-list li { display: flex; align-items: center; gap: 10px; padding: 4px 8px; border-radius: 8px; }
.gd-browser-list li:hover { background: var(--paper); }
.gd-browser-list a { flex: 1; color: var(--ink); font-weight: 500; display: flex; align-items: center; gap: 8px; padding: 6px 0; }
.gd-browser-list a .icon { color: var(--gold); }
.gd-browser-list form { margin: 0; }
.gd-progress { margin-top: 18px; }
.gd-progress .bar { height: 10px; border-radius: 10px; background: var(--yellow-soft); overflow: hidden; }
.gd-progress .bar span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--ink), var(--yellow)); border-radius: 10px; transition: width .4s ease; }
.gd-progress .bar.indet span { width: 35% !important; animation: indet 1.2s ease-in-out infinite; }
@keyframes indet { from { transform: translateX(-100%); } to { transform: translateX(300%); } }
.gd-errors { color: var(--danger); margin: 8px 0 0; padding-left: 1.2em; }
.gd-teaser { display: flex; align-items: center; gap: 18px; color: var(--ink); transition: .2s; }
.gd-teaser:hover { color: var(--ink); border-color: var(--yellow-2); box-shadow: var(--shadow-hover); }
.gd-teaser > .icon { margin-left: auto; color: var(--ink); }
.type-gdrive { background: #e9f5ee; color: #1f7a4d; }
.gd-box .lb-ico { color: #1f7a4d; }
@media (max-width: 860px) {
  .gd-step { padding: 20px; }
  .gd-step > *:not(.gd-step-head) { margin-left: 0; }
  .gd-stats { margin-left: 0; }
}

.gd-text { max-height: 70vh; font-family: var(--font); font-size: .92rem; line-height: 1.65; }

.gd-progress .bar span { background: linear-gradient(90deg, var(--yellow-2), var(--yellow)); }
.file-list { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 8px; }
.file-list li { display: flex; align-items: center; gap: 12px; padding: 10px 14px; border: 1px solid var(--line); border-radius: 10px; background: #fff; font-size: .9rem; }
.file-list .fname { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 600; }
.file-list .remove { background: none; border: 0; color: var(--muted); cursor: pointer; padding: 4px; border-radius: 6px; }
.file-list .remove:hover { color: var(--danger); }
label.btn { display: inline-flex; margin: 0; font-size: .9rem; }

/* Office-Vorschau */
.office-view { background: #EEECE6; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; min-height: 240px; position: relative; }
.office-loading { display: flex; align-items: center; justify-content: center; gap: 10px; padding: 70px 20px; color: var(--muted); font-weight: 500; text-align: center; }
.spinner { width: 20px; height: 20px; border: 3px solid var(--line-2); border-top-color: var(--yellow-2); border-radius: 50%; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.office-fallback { display: block; max-width: 100%; margin: 0 auto 16px; }
.office-out { max-height: 80vh; overflow: auto; }
.office-docx .docx-wrapper { background: transparent !important; padding: 20px !important; }
.office-docx .docx-wrapper > section.docx { box-shadow: 0 2px 12px rgba(0,0,0,.12) !important; margin-bottom: 20px !important; }
.office-sheet { background: #fff; display: flex; flex-direction: column; }
.sheet-pane { overflow: auto; max-height: 72vh; }
.sheet-pane table { border-collapse: collapse; font-size: .82rem; font-family: var(--font); }
.sheet-pane td, .sheet-pane th { border: 1px solid #E3E1DA; padding: 4px 8px; white-space: nowrap; min-width: 40px; }
.sheet-pane tr:first-child td { background: var(--paper); font-weight: 600; position: sticky; top: 0; }
.sheet-tabs { display: flex; gap: 2px; padding: 6px 8px; border-top: 1px solid var(--line); background: var(--paper); overflow-x: auto; }
.sheet-tabs button { border: 1px solid transparent; background: none; padding: 6px 14px; border-radius: 8px; font: 600 .8rem var(--font); cursor: pointer; color: var(--muted); white-space: nowrap; }
.sheet-tabs button.active { background: #fff; border-color: var(--line-2); color: var(--ink); }
.office-pptx { padding: 16px; display: flex; justify-content: center; }
.office-pptx > div { margin: 0 auto; }
.svg-view { display: block; padding: 20px; background: repeating-conic-gradient(#f3f2ee 0% 25%, #fff 0% 50%) 0 / 20px 20px; width: 100%; text-align: center; }
.svg-view img { max-height: 70vh; max-width: 100%; }
.itile .visual img.svg-thumb { object-fit: contain; padding: 12px; background: #fff; }
.ltable .nm .thumb img.svg-thumb { object-fit: contain; padding: 3px; }
.two-col > *, .explorer > * { min-width: 0; }
.office-pptx .pptx-preview-wrapper { height: auto !important; max-height: 78vh; background: transparent !important; padding: 4px 0; }
.office-pptx .pptx-preview-slide-wrapper { box-shadow: 0 2px 12px rgba(0,0,0,.14); border-radius: 4px; margin-bottom: 16px !important; }
.office-pptx { max-height: none; }

.office-view:has(.office-sheet) { background: #fff; min-height: 0; }
.itile .visual img.doc-thumb { object-fit: contain; background: #fff; padding: 8px; box-shadow: none; }
.itile .visual:has(img.doc-thumb) { background: #F1EFE9; }
.ltable .nm .thumb img.doc-thumb { object-fit: contain; background: #fff; }
.itile .visual img.svg-thumb { object-fit: contain !important; }

/* =====================================================
   Trainingsmodul
   ===================================================== */
.container-wide { max-width: 1520px; }
.t-tabs { display: flex; gap: 6px; margin: 4px 0 6px; border-bottom: 1px solid var(--line); }
.t-tabs a { display: inline-flex; align-items: center; gap: 8px; padding: 10px 14px; font-weight: 600; color: var(--muted); border-bottom: 3px solid transparent; margin-bottom: -1px; text-decoration: none; }
.t-tabs a:hover { color: var(--ink); }
.t-tabs a.active { color: var(--ink); border-bottom-color: var(--yellow); }
.vis { display: inline-flex; align-items: center; gap: 5px; font-size: .78rem; font-weight: 600; color: var(--muted); }
.vis .icon { width: 14px; height: 14px; }
.vis-club { color: #23955F; } .vis-group { color: #2F80ED; }
.plain-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; font-size: .9rem; }
ul.pts, ol.pts { margin: 0; padding-left: 20px; display: grid; gap: 4px; }
.inline-form { display: inline; }
.seg-text a { padding: 6px 12px; font-weight: 600; font-size: .85rem; text-decoration: none; }

/* Bibliothek */
.cat-pills { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 14px; }
.cat-pills a { --c: var(--ink); display: inline-flex; align-items: center; gap: 7px; padding: 7px 13px; border-radius: 50px; background: #fff; border: 1px solid var(--line); font-weight: 600; font-size: .86rem; color: var(--ink); text-decoration: none; }
.cat-pills a::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--c); }
.cat-pills a span { color: var(--muted); font-weight: 500; font-size: .78rem; }
.cat-pills a.active { background: var(--ink); color: #fff; border-color: var(--ink); }
.cat-pills a.active span { color: #ccc; }
.ex-filter { justify-content: flex-start; position: static; }
.ex-filter .input-icon { flex: 1 1 260px; }
.ex-filter select { width: auto; }
.ex-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 18px; }
.ex-card { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); transition: box-shadow .2s, transform .2s; display: flex; flex-direction: column; }
.ex-card:hover { box-shadow: var(--shadow-hover); transform: translateY(-2px); }
.ex-card::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: var(--c); z-index: 1; }
.ex-img { position: relative; aspect-ratio: 11 / 7.2; background: #2E8B47; display: grid; place-items: center; overflow: hidden; }
.ex-img img { width: 100%; height: 100%; object-fit: cover; }
.ex-noimg { color: rgba(255,255,255,.6); } .ex-noimg .icon { width: 56px; height: 56px; }
.ex-anim { position: absolute; right: 10px; bottom: 10px; background: rgba(20,20,20,.75); color: #fff; font-size: .75rem; font-weight: 700; border-radius: 50px; padding: 4px 9px; display: inline-flex; gap: 4px; align-items: center; }
.ex-anim .icon { width: 12px; height: 12px; fill: currentColor; }
.ex-body { padding: 14px 16px 16px; display: grid; gap: 7px; }
.ex-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.ex-title { font-weight: 700; font-size: 1.02rem; color: var(--ink); text-decoration: none; line-height: 1.3; }
.ex-sub { display: flex; flex-wrap: wrap; gap: 4px 12px; font-size: .8rem; color: var(--ink-2); }
.ex-sub > span { display: inline-flex; align-items: center; gap: 4px; }
.ex-sub .icon { width: 14px; height: 14px; }

/* Übungsansicht */
.ex-head .actions { flex-wrap: wrap; justify-content: flex-end; }
.ex-head .user-menu .dropdown { right: 0; left: auto; min-width: 280px; }
.ex-visual { overflow: hidden; border-top: 4px solid var(--c); }
.ex-cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.ex-cols h3, .ex-detail .card h3 { font-size: 1rem; margin: 0 0 10px; }
.drill-view { display: grid; }
.dv-canvas svg { display: block; width: 100%; height: auto; background: #2E8B47; }
.dv-bar { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; padding: 10px 14px; border-top: 1px solid var(--line); }
.dv-dots { display: inline-flex; gap: 4px; }
.dv-dot { width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--line-2); background: #fff; font: 600 .78rem var(--font); cursor: pointer; }
.dv-dot.active { background: var(--yellow); border-color: var(--yellow-2); color: var(--on-yellow);}
.dv-play .icon { fill: currentColor; }
.dv-play .dv-stop-l, .dv-play.on .dv-play-l { display: none; }
.dv-play.on .dv-stop-l { display: inline; }
.dv-speed { width: auto; padding: 5px 8px; font-size: .8rem; }
.dv-caption { flex: 1 1 200px; font-size: .9rem; color: var(--ink-2); }
.dv-empty { aspect-ratio: 11/7; display: grid; place-items: center; align-content: center; gap: 6px; background: var(--paper); color: var(--muted); }
.drill-view.compact .dv-bar { padding: 6px 8px; gap: 4px; }
.drill-view.compact .dv-play-l { display: none; }
.drill-view.compact .dv-play:not(.on)::after { content: "Abspielen"; }
.drill-view.compact .dv-caption { display: none; }
.drill-view.compact .dv-speed, .drill-view.compact [data-dv-prev], .drill-view.compact [data-dv-next] { display: none; }
.drill-view.compact .dv-dot { width: 24px; height: 24px; }

/* Editor */
.page-editor .site-main { padding-bottom: 40px; }
.ex-meta-top { padding: 16px 20px; margin-bottom: 16px; display: grid; gap: 12px; }
.ex-meta-top .input-title { font-size: 1.35rem; }
.ex-meta-row { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
.ex-meta-row label { font-size: .8rem; }
.drill-editor { margin-bottom: 18px; overflow: hidden; outline: none; }
.drill-editor:focus-visible { box-shadow: 0 0 0 3px var(--yellow); }
.ed-bar { display: flex; align-items: center; gap: 6px; padding: 10px 12px; border-bottom: 1px solid var(--line); background: var(--paper); flex-wrap: wrap; }
.ed-bar .spacer { flex: 1; }
.ed-bar .btn .icon { width: 16px; height: 16px; }
.ed-bar #ed-play .icon { fill: currentColor; }
.ed-pitch-l { display: inline-flex; align-items: center; gap: 8px; margin: 0; font-size: .85rem; }
.ed-pitch-l select { width: auto; padding: 6px 10px; }
.ed-sep { width: 1px; height: 24px; background: var(--line-2); margin: 0 4px; }
.ed-body { display: grid; grid-template-columns: 172px minmax(0, 1fr) 240px; min-height: 520px; }
.ed-tools { border-right: 1px solid var(--line); padding: 8px; display: grid; grid-template-columns: 1fr 1fr; gap: 4px; align-content: start; max-height: 78vh; overflow: auto; }
.ed-group { grid-column: 1 / -1; font-size: .66rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin: 8px 2px 2px; }
.ed-group:first-child { margin-top: 0; }
.ed-tool { display: grid; justify-items: center; gap: 2px; padding: 6px 2px 5px; border: 1px solid transparent; border-radius: 9px; background: none; cursor: pointer; color: var(--ink); font: 500 .66rem var(--font); }
.ed-tool span { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ed-tool:hover { background: var(--paper); border-color: var(--line); }
.ed-tool.active { background: var(--yellow-soft); border-color: var(--yellow-2); }
.ed-stage { padding: 12px; display: grid; gap: 10px; align-content: start; background: #F3F2EC; min-width: 0; }
.ed-canvas { background: #2E8B47; border-radius: 10px; overflow: hidden; box-shadow: 0 2px 10px rgba(0,0,0,.12); }
.ed-canvas svg { display: block; width: 100%; height: auto; touch-action: none; user-select: none; -webkit-user-select: none; }
.ed-frame-bar { overflow-x: auto; }
.ed-frames { display: flex; gap: 8px; padding-bottom: 2px; }
.ed-frame { flex: 0 0 auto; width: 112px; border: 2px solid var(--line-2); border-radius: 9px; padding: 3px; background: #fff; cursor: pointer; display: grid; gap: 3px; font: 600 .72rem var(--font); color: var(--ink); }
.ed-frame svg { width: 100%; height: auto; display: block; border-radius: 5px; pointer-events: none; }
.ed-frame.active { border-color: var(--ink); box-shadow: 0 0 0 2px var(--yellow); }
.ed-frame.ed-add { border-style: dashed; place-items: center; align-content: center; color: var(--muted); min-height: 86px; }
.ed-frame.ed-add b { font-size: 1.4rem; line-height: 1; }
.ed-caption-row { display: flex; gap: 6px; align-items: center; }
.ed-caption-row input { flex: 1; }
.ed-props { border-left: 1px solid var(--line); padding: 14px; display: grid; gap: 12px; align-content: start; font-size: .86rem; }
.ed-prop { display: grid; gap: 6px; }
.ed-prop .lbl { font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.ed-prop input[type=range] { padding: 0; accent-color: var(--ink); }
.ed-colors { display: flex; flex-wrap: wrap; gap: 6px; }
.ed-colors button { width: 24px; height: 24px; border-radius: 50%; border: 2px solid rgba(0,0,0,.15); cursor: pointer; }
.ed-colors button.on { box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--ink); }
.ed-actions { display: flex; flex-wrap: wrap; gap: 6px; }
.ed-hint { color: var(--ink-2); line-height: 1.55; font-size: .82rem; }
.ed-hint kbd, .ed-foot kbd { font: 600 .7rem var(--font); background: var(--paper); border: 1px solid var(--line-2); border-radius: 4px; padding: 1px 5px; }
.ed-foot { margin: 0; padding: 10px 14px; border-top: 1px solid var(--line); }
.ex-texts textarea { min-height: 0; }
.vis-opts { display: grid; gap: 8px; margin-top: 8px; }
.vis-opt { display: flex; gap: 10px; align-items: flex-start; border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; cursor: pointer; font-weight: 400; }
.vis-opt:has(input:checked) { border-color: var(--yellow-2); background: var(--yellow-tint); }
.vis-opt:has(input:disabled) { opacity: .5; cursor: not-allowed; }
.vis-opt input { margin-top: 3px; accent-color: var(--ink); }
.vis-opt span { display: grid; } .vis-opt b { display: inline-flex; gap: 6px; align-items: center; } .vis-opt small { color: var(--muted); }
.vis-opt .icon { width: 15px; height: 15px; }

/* Kalender */
.cal-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 24px; align-items: start; }
.cal-card { padding: 14px; }
.cal-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 12px; }
.cal-nav { display: flex; align-items: center; gap: 6px; }
.cal-nav h2 { margin: 0 0 0 8px; font-size: 1.25rem; }
.cal-tools { display: flex; gap: 8px; align-items: center; }
.cal-tools select { width: auto; padding: 7px 10px; }
.cal { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; background: var(--line); gap: 1px; }
.cal-wd { background: var(--paper); text-align: center; font-size: .74rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); padding: 8px 0; }
.cal-day { background: #fff; min-height: 112px; padding: 6px; display: flex; flex-direction: column; gap: 4px; transition: background .15s; }
.cal-week .cal-day { min-height: 340px; }
.cal-week .cal-wd { display: none; }
.cal-day.out { background: #FBFAF7; } .cal-day.out .cal-dnum { opacity: .45; }
.cal-day.past .cal-ev { opacity: .72; }
.cal-day.over { background: var(--yellow-tint); box-shadow: inset 0 0 0 2px var(--yellow-2); }
.cal-dnum { display: flex; justify-content: space-between; align-items: center; font-size: .82rem; font-weight: 600; }
.cal-dnum > span { display: inline-grid; place-items: center; min-width: 26px; height: 26px; border-radius: 13px; padding: 0 6px; }
.cal-day.today .cal-dnum > span { background: var(--yellow); color: var(--on-yellow);}
.cal-add { opacity: 0; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; color: var(--muted); font-weight: 700; text-decoration: none; }
.cal-day:hover .cal-add, .cal-add:focus { opacity: 1; background: var(--paper); }
.cal-events { display: grid; gap: 4px; align-content: start; flex: 1; }
.cal-ev { --c: #9CA3AF; display: block; background: color-mix(in srgb, var(--c) 16%, white); border-left: 3px solid var(--c); border-radius: 6px; padding: 4px 6px; font-size: .76rem; line-height: 1.3; color: var(--ink); text-decoration: none; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cal-ev:hover { background: color-mix(in srgb, var(--c) 28%, white); }
.cal-ev[draggable=true] { cursor: grab; }
.cal-ev.dragging { opacity: .4; }
.cal-week .cal-ev { white-space: normal; padding: 7px 8px; display: grid; gap: 2px; }
.cal-ev small { display: block; font-size: .72rem; color: var(--ink-2); }
.cal-ev .cal-focus { font-style: italic; }
.cal-hint { margin: 10px 2px 0; }
.up-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.up-list a { display: flex; gap: 10px; align-items: center; text-decoration: none; color: var(--ink); padding: 6px; border-radius: 10px; }
.up-list a:hover { background: var(--paper); }
.up-date { flex: 0 0 46px; height: 46px; border-radius: 10px; background: color-mix(in srgb, var(--c) 18%, white); border: 1px solid color-mix(in srgb, var(--c) 40%, white); display: grid; place-items: center; align-content: center; font-size: .66rem; text-transform: uppercase; font-weight: 600; line-height: 1.1; }
.up-date b { font-size: 1.15rem; }
.up-txt { display: grid; min-width: 0; } .up-txt strong { font-size: .9rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .up-txt small { color: var(--muted); font-size: .76rem; }
.t-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.t-stats div { background: var(--paper); border-radius: 12px; padding: 10px; display: grid; }
.t-stats b { font-size: 1.5rem; } .t-stats span { font-size: .78rem; color: var(--muted); }
.team-legend { display: flex; flex-wrap: wrap; gap: 6px; } .team-legend a { text-decoration: none; color: var(--ink); }
.quick-link { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); }
.quick-link span { display: grid; flex: 1; } .quick-link small { color: var(--muted); }
.quick-link > .icon:first-child { width: 30px; height: 30px; }

/* Einheit bearbeiten */
.s-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.si-total { font-weight: 700; font-size: .9rem; background: var(--paper); border-radius: 50px; padding: 4px 12px; }
.si-total.over { background: #FDECEC; color: var(--danger); }
.phase-block { border-top: 1px solid var(--line); padding: 12px 0; }
.phase-block:first-of-type { border-top: 0; }
.phase-head { display: flex; justify-content: space-between; align-items: baseline; }
.phase-head h4 { margin: 0 0 8px; font-size: .95rem; }
.si-list { display: grid; gap: 8px; min-height: 8px; border-radius: 10px; transition: background .15s; }
.si-list.over { background: var(--yellow-tint); outline: 2px dashed var(--yellow-2); outline-offset: 3px; }
.phase-empty { margin: 2px 0 6px; }
.phase-add { display: flex; gap: 6px; margin-top: 8px; flex-wrap: wrap; }
.si-row { display: grid; grid-template-columns: 18px 84px minmax(0, 1fr) 86px auto; gap: 10px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 8px 10px; }
.si-row.dragging { opacity: .45; }
.si-drag { cursor: grab; color: var(--muted); letter-spacing: -2px; font-weight: 700; user-select: none; }
.si-thumb { width: 84px; aspect-ratio: 11/7.2; border-radius: 7px; overflow: hidden; background: var(--paper); display: grid; place-items: center; font-size: .7rem; color: var(--muted); }
.si-thumb img { width: 100%; height: 100%; object-fit: cover; }
.si-main { display: grid; gap: 5px; min-width: 0; }
.si-title { font-weight: 600; display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.si-title a { color: var(--ink); }
.si-main input[type=text] { padding: 7px 10px; font-size: .88rem; }
.si-notes { font-size: .82rem !important; }
.si-min { display: flex; align-items: center; gap: 4px; margin: 0; font-size: .8rem; color: var(--muted); }
.si-min input { padding: 7px 6px; text-align: center; }
.si-btns { display: flex; gap: 2px; }
.si-btns button { border: 0; background: none; cursor: pointer; padding: 5px 6px; border-radius: 6px; color: var(--muted); font-size: .8rem; }
.si-btns button:hover { background: var(--paper); color: var(--ink); }
.si-btns button[data-si=del]:hover { color: var(--danger); }
.modal-wide { max-width: 860px; }
.picker-filter { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; margin-bottom: 12px; }
.picker-filter .input-icon { flex: 1 1 240px; }
.picker-filter select { width: auto; }
.picker-results { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 10px; max-height: 56vh; overflow: auto; padding: 2px; }
.pick { text-align: left; border: 1px solid var(--line); border-radius: 12px; background: #fff; padding: 0; cursor: pointer; overflow: hidden; font: inherit; color: var(--ink); transition: box-shadow .15s, transform .15s; }
.pick:hover { box-shadow: var(--shadow-hover); }
.pick.added { box-shadow: 0 0 0 3px var(--success); }
.pick-img { aspect-ratio: 11/7.2; background: #2E8B47; }
.pick-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pick-body { padding: 8px 10px 10px; display: grid; gap: 4px; font-size: .85rem; }
.pick-body > span { display: flex; gap: 6px; align-items: center; font-size: .78rem; }

/* Einheit ansehen */
.focus-card { display: grid; gap: 4px; background: var(--yellow-tint); border-color: var(--yellow-soft); }
.focus-card .eyebrow { font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); font-weight: 700; }
.focus-card strong { font-size: 1.1rem; }
.phase-view { display: grid; gap: 12px; }
.phase-view .phase-head h2 { margin: 6px 0 0; font-size: 1.15rem; }
.s-item { display: grid; grid-template-columns: 34px minmax(0, 360px) minmax(0, 1fr); gap: 16px; padding: 14px; align-items: start; }
.s-item.free { grid-template-columns: 34px minmax(0, 1fr); }
.s-num { width: 32px; height: 32px; border-radius: 50%; background: var(--yellow); display: grid; place-items: center; font-weight: 700; color: var(--on-yellow);}
.s-visual { border-radius: 10px; overflow: hidden; border: 1px solid var(--line); }
.s-body { display: grid; gap: 8px; min-width: 0; }
.s-body h3 { margin: 0; font-size: 1.05rem; } .s-body h3 a { color: var(--ink); }
.s-min { background: var(--ink); color: #fff; border-radius: 50px; padding: 3px 10px; font-size: .78rem; font-weight: 700; white-space: nowrap; }
.s-desc { margin: 0; font-size: .9rem; color: var(--ink-2); }
.s-coach { font-size: .86rem; } .s-coach ul { margin-top: 4px; }
.s-note { margin: 0; font-size: .86rem; background: var(--paper); border-radius: 8px; padding: 6px 10px; display: flex; gap: 6px; align-items: center; }
.timeplan { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; font-size: .86rem; }
.timeplan li { display: flex; gap: 10px; } .timeplan span { flex: 0 0 42px; color: var(--muted); font-variant-numeric: tabular-nums; }
.t-bar { margin-top: 10px; } .t-bar.over span { background: var(--danger); }

/* Startseite */
.t-widget .up-list { grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); }

@media (max-width: 1200px) {
  .ed-body { grid-template-columns: 150px minmax(0, 1fr); }
  .ed-props { grid-column: 1 / -1; border-left: 0; border-top: 1px solid var(--line); grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
  .ed-props .ed-hint { grid-column: 1 / -1; }
}
@media (max-width: 1100px) { .cal-layout { grid-template-columns: 1fr; } .s-item { grid-template-columns: 34px minmax(0, 1fr); } .s-item .s-visual { grid-column: 2; } .s-item .s-body { grid-column: 2; } }
@media (max-width: 860px) {
  .ex-meta-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .s-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ed-body { grid-template-columns: 1fr; }
  .ed-tools { border-right: 0; border-bottom: 1px solid var(--line); grid-template-columns: repeat(auto-fill, minmax(58px, 1fr)); max-height: none; }
  .ed-group { display: none; }
  .ed-stage { padding: 8px; }
  .cal-day { min-height: 74px; padding: 3px; }
  .cal-ev { font-size: .66rem; padding: 2px 4px; }
  .cal-ev b { display: none; }
  .cal-week { grid-template-columns: 1fr; }
  .cal-week .cal-day { min-height: 0; }
  .si-row { grid-template-columns: 14px 60px minmax(0, 1fr); }
  .si-thumb { width: 60px; }
  .si-min { grid-column: 3; } .si-btns { grid-column: 3; justify-content: flex-end; margin-top: -34px; }
}
.cal-tools select, .ex-filter select, .picker-filter select, .ed-pitch-l select, .dv-speed { padding-right: 34px; }
.dv-speed { padding-right: 28px; }

/* PDF-Import */
.imp-drop { display: grid; justify-items: center; gap: 8px; padding: 34px 20px; border: 2px dashed var(--line-2); text-align: center; cursor: pointer; margin-bottom: 18px; transition: background .15s, border-color .15s; }
.imp-drop .icon { width: 34px; height: 34px; color: var(--muted); }
.imp-drop:hover, .imp-drop.over { background: var(--yellow-tint); border-color: var(--yellow-2); }
.imp-drop.loading { opacity: .7; pointer-events: none; }
.imp-drop.done { padding: 14px 20px; grid-auto-flow: column; justify-content: center; align-items: center; }
.imp-drop.done .icon { width: 22px; height: 22px; } .imp-drop.done span { display: none; }
.imp-pages { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; }
.imp-page { border: 2px solid var(--line); border-radius: 12px; padding: 8px; display: grid; gap: 6px; background: #fff; opacity: .55; transition: opacity .15s, border-color .15s; }
.imp-page.on { opacity: 1; border-color: var(--yellow-2); }
.imp-check { display: flex; gap: 6px; align-items: center; font-size: .82rem; font-weight: 600; margin: 0; cursor: pointer; }
.imp-check input { accent-color: var(--ink); }
.imp-thumb { position: relative; border: 1px solid var(--line); border-radius: 6px; overflow: hidden; line-height: 0; }
.imp-thumb canvas { width: 100%; height: auto; }
.imp-cropmark { position: absolute; border: 2px solid #E03C3C; background: rgba(224,60,60,.08); box-shadow: 0 0 0 999px rgba(255,255,255,.55); }
.imp-meta { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.crop-stage { position: relative; line-height: 0; user-select: none; touch-action: none; cursor: crosshair; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; max-height: 62vh; overflow-y: auto; }
.crop-stage canvas { width: 100%; height: auto; }
.crop-box { position: absolute; border: 2px solid #E03C3C; background: rgba(224,60,60,.1); box-shadow: 0 0 0 9999px rgba(20,20,20,.35); pointer-events: none; }
.pdf-link { display: flex; gap: 10px; align-items: center; color: var(--ink); text-decoration: none; margin-bottom: 8px; }
.pdf-link .icon { width: 28px; height: 28px; color: #D64545; } .pdf-link span { display: grid; min-width: 0; } .pdf-link b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: .88rem; } .pdf-link small { color: var(--muted); }
.ex-img img { object-position: top center; background: #fff; }

/* In Google bearbeiten */
.gedit-bar { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; background: #EAF3FE; border: 1px solid #C7DEFB; border-radius: 14px; padding: 12px 16px; margin-bottom: 16px; }
.gedit-ic { width: 38px; height: 38px; border-radius: 10px; background: #fff; display: grid; place-items: center; color: #2F80ED; }
.gedit-txt { display: grid; flex: 1 1 260px; min-width: 0; } .gedit-txt span { font-size: .84rem; color: var(--ink-2); }
.gedit-actions { display: flex; gap: 6px; flex-wrap: wrap; }
.gd-edit { margin-top: 18px; margin-bottom: 18px; }
.item-head > div:first-child { min-width: min(100%, 340px) !important; }
aside.grid, .two-col > .grid { grid-template-columns: minmax(0, 1fr); }
.versions .vinfo span { white-space: normal; overflow-wrap: anywhere; }

/* =====================================================
   Social Media
   ===================================================== */
.nav-badge { display: inline-grid; place-items: center; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: #EB5757; color: #fff; font-size: .68rem; font-weight: 700; margin-left: 4px; vertical-align: 1px; }
.ig-logo { background: linear-gradient(45deg, color-mix(in srgb, var(--yellow) 81%, white), #EE2A7B, #6228D7) !important; color: #fff !important; }
.sm-legend { display: flex; flex-wrap: wrap; gap: 6px 14px; margin: 12px 2px 0; font-size: .76rem; color: var(--muted); }
.sm-legend span::before { content: ""; display: inline-block; width: 9px; height: 9px; border-radius: 3px; background: var(--c); margin-right: 5px; vertical-align: -1px; }
.sm-ev { display: flex; gap: 6px; align-items: center; }
.sm-ev .sm-ev-t { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.cal-week .sm-ev { display: grid; grid-template-columns: 1fr; }
.cal-week .sm-ev .sm-ev-t { white-space: normal; }
.sm-tp { font-style: normal; font-size: .66rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; opacity: .7; }
.sm-th { flex: 0 0 auto; width: 34px; height: 34px; border-radius: 6px; overflow: hidden; background: var(--paper); display: block; position: relative; }
.sm-th img, .sm-th video { width: 100%; height: 100%; object-fit: cover; display: block; }
.sm-th.vid::after { content: "▶"; position: absolute; inset: 0; display: grid; place-items: center; color: #fff; font-size: .7rem; text-shadow: 0 1px 3px rgba(0,0,0,.6); }
.sm-th.lg { width: 56px; height: 56px; border-radius: 8px; }
.cal-week .sm-th { width: 100%; height: auto; aspect-ratio: 1; }
.sm-list { display: grid; gap: 8px; }
.sm-row { display: flex; align-items: center; gap: 14px; padding: 8px; border-radius: 12px; border: 1px solid var(--line); text-decoration: none; color: var(--ink); }
.sm-row:hover { background: var(--paper); }
.sm-row-main { flex: 1; min-width: 0; display: grid; } .sm-row-main b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .sm-row-main small { color: var(--muted); }
.sm-row-when { font-size: .84rem; color: var(--ink-2); white-space: nowrap; }
.sm-mini { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.sm-mini a { display: flex; gap: 10px; align-items: center; text-decoration: none; color: var(--ink); padding: 4px; border-radius: 8px; }
.sm-mini a:hover { background: var(--paper); }
.sm-mini span:last-child { display: grid; min-width: 0; } .sm-mini b { font-size: .86rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .sm-mini small { color: var(--muted); font-size: .74rem; }
.sm-review { border-color: #F7C99B; background: #FFF8F1; }
.sm-failed { border-color: #F5B5B5; background: #FFF5F5; }
.sm-banner { display: flex; gap: 10px; align-items: center; background: #EAF3FE; border: 1px solid #C7DEFB; border-radius: 12px; padding: 10px 14px; margin-bottom: 16px; font-size: .92rem; }

/* Editor */
.sm-layout { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 24px; align-items: start; }
.sm-types { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.sm-type { display: flex; gap: 8px; align-items: flex-start; border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; cursor: pointer; font-weight: 400; margin: 0; }
.sm-type:has(input:checked) { border-color: var(--yellow-2); background: var(--yellow-tint); }
.sm-type input { margin-top: 3px; accent-color: var(--ink); }
.sm-type span { display: grid; } .sm-type small { color: var(--muted); font-size: .76rem; }
.sm-tray { display: flex; flex-wrap: wrap; gap: 10px; min-height: 10px; }
.sm-item { position: relative; width: 112px; height: 112px; border-radius: 10px; overflow: hidden; background: var(--paper); border: 1px solid var(--line); cursor: grab; }
.sm-item img, .sm-item video { width: 100%; height: 100%; object-fit: cover; display: block; pointer-events: none; }
.sm-item.dragging { opacity: .4; }
.sm-n { position: absolute; left: 6px; top: 6px; background: rgba(20,20,20,.75); color: #fff; font-size: .7rem; font-weight: 700; border-radius: 50%; width: 20px; height: 20px; display: grid; place-items: center; }
.sm-vid { position: absolute; left: 6px; bottom: 6px; background: rgba(20,20,20,.75); color: #fff; font-size: .66rem; font-weight: 700; border-radius: 6px; padding: 2px 6px; }
.sm-warn { position: absolute; right: 6px; bottom: 6px; background: #F2994A; color: #fff; font-size: .62rem; font-weight: 700; border-radius: 6px; padding: 2px 5px; }
.sm-del { position: absolute; right: 5px; top: 5px; width: 24px; height: 24px; border-radius: 50%; border: 0; background: rgba(255,255,255,.9); cursor: pointer; font-size: .75rem; }
.sm-del:hover { background: #fff; color: var(--danger); }
.sm-add { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 12px; }
.sm-progress { display: grid; gap: 6px; margin-top: 10px; font-size: .82rem; }
.sm-up { display: grid; gap: 4px; } .sm-up.err span { color: var(--danger); }
.sm-counters { display: flex; justify-content: space-between; font-size: .78rem; color: var(--muted); }
.sm-counters .over { color: var(--danger); font-weight: 700; }
.sm-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.sm-preview-col { position: sticky; top: 96px; display: grid; gap: 10px; }
.sm-phone { background: #fff; border: 10px solid var(--brand-dark); border-radius: 34px; overflow: hidden; box-shadow: var(--shadow-hover); font-size: .84rem; }
.sm-ph-head { display: flex; align-items: center; gap: 8px; padding: 10px 12px; }
.sm-ph-head img { width: 28px; height: 28px; border-radius: 50%; border: 2px solid #EE2A7B; padding: 2px; object-fit: contain; background: #fff; }
.sm-ph-type { margin-left: auto; font-size: .7rem; color: var(--muted); font-weight: 600; }
.sm-ph-media { position: relative; aspect-ratio: 4 / 5; background: #111; display: grid; place-items: center; overflow: hidden; }
.sm-phone.t-feed .sm-ph-media { aspect-ratio: 1; }
.sm-phone.t-reel .sm-ph-media, .sm-phone.t-story .sm-ph-media { aspect-ratio: 9 / 16; }
.sm-ph-bg { position: absolute; inset: -20px; background-size: cover; background-position: center; filter: blur(14px) brightness(.8); }
.sm-ph-media img { position: relative; max-width: 100%; max-height: 100%; object-fit: contain; }
.sm-ph-media video { width: 100%; height: 100%; object-fit: cover; }
.sm-ph-empty { color: #888; font-size: .85rem; }
.sm-ph-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 26px; height: 26px; border-radius: 50%; border: 0; background: rgba(255,255,255,.85); cursor: pointer; font-size: 1.1rem; line-height: 1; }
.sm-ph-nav.l { left: 8px; } .sm-ph-nav.r { right: 8px; }
.sm-ph-dots { display: flex; justify-content: center; gap: 4px; padding: 6px 0 0; min-height: 12px; }
.sm-ph-dots i { width: 6px; height: 6px; border-radius: 50%; background: #ccc; } .sm-ph-dots i.on { background: #2F80ED; }
.sm-ph-icons { display: flex; gap: 14px; padding: 6px 12px; }
.sm-ph-icons svg { width: 22px; height: 22px; fill: none; stroke: var(--brand-dark); stroke-width: 1.8; stroke-linejoin: round; }
.sm-ph-caption { padding: 0 12px 14px; line-height: 1.45; word-break: break-word; }
.sm-ph-caption .sm-tag, .tag-hl { color: #2F6FED; }
.timeline .where { overflow-wrap: anywhere; }
.sm-phone.t-story .sm-ph-icons, .sm-phone.t-story .sm-ph-caption, .sm-phone.t-story .sm-ph-dots { display: none; }
.sm-checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; font-size: .84rem; }
.sm-checks li.ok { color: var(--success); } .sm-checks li.no { color: #C26A1B; }
.smp-results { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 10px; max-height: 56vh; overflow: auto; padding: 2px; }
.smp-item { text-align: left; border: 2px solid var(--line); border-radius: 12px; background: #fff; padding: 6px; cursor: pointer; display: grid; gap: 3px; font: inherit; color: var(--ink); }
.smp-item.on { border-color: var(--yellow-2); box-shadow: 0 0 0 2px var(--yellow); }
.smp-img { aspect-ratio: 1; border-radius: 8px; overflow: hidden; background: var(--paper); display: grid; place-items: center; font-weight: 700; color: var(--muted); }
.smp-img img { width: 100%; height: 100%; object-fit: cover; }
.smp-item b { font-size: .8rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .smp-item small { color: var(--muted); font-size: .7rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sm-gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 12px; }
.sm-gallery figure { margin: 0; } .sm-gallery img, .sm-gallery video { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 10px; display: block; background: #111; }
.sm-gallery figcaption { font-size: .76rem; color: var(--muted); margin-top: 4px; display: flex; gap: 6px; align-items: center; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.sm-gallery figcaption .icon { width: 14px; height: 14px; }
.sm-caption-view { white-space: normal; line-height: 1.6; }
@media (max-width: 1100px) { .sm-layout { grid-template-columns: 1fr; } .sm-preview-col { position: static; max-width: 380px; margin: 0 auto; } }
@media (max-width: 640px) { .sm-types { grid-template-columns: 1fr; } .sm-row { flex-wrap: wrap; } .sm-item { width: 96px; height: 96px; } }
.cal-layout > *, .sm-layout > * { min-width: 0; } .cal-card .cal { overflow: hidden; }
.auth-single { grid-template-columns: 1fr; background: var(--paper); } .notify-checks { display: grid; gap: 8px; }

/* Grafik-Vorlagen */
.gr-tpls { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-bottom: 16px; }
.gr-tpl { display: grid; gap: 2px; padding: 12px 16px; border: 1px solid var(--line); border-radius: 14px; background: #fff; text-decoration: none; color: var(--ink); }
.gr-tpl small { color: var(--muted); }
.gr-tpl.active { border-color: var(--yellow-2); background: var(--yellow-tint); box-shadow: 0 0 0 2px var(--yellow); }
.gr-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 480px); gap: 24px; align-items: start; }
.gr-layout > * { min-width: 0; }
.gr-preview { position: sticky; top: 96px; }
.gr-preview canvas { width: 100%; height: auto; border-radius: 14px; box-shadow: var(--shadow-hover); display: block; background: var(--brand-dark); }
.gr-score input { font-size: 1.4rem; font-weight: 700; text-align: center; }
.gr-rows { display: grid; gap: 8px; }
.gr-row { display: grid; grid-template-columns: 1.1fr 1.3fr .9fr 1.1fr .8fr auto; gap: 6px; align-items: center; }
.gr-row input, .gr-row select { padding: 8px 9px; font-size: .86rem; }
.gr-media { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.gr-media-btns { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
.gr-format { align-self: start; }
.gr-format label { margin: 0; cursor: pointer; }
.gr-format span { display: block; padding: 6px 12px; border-radius: 7px; font-weight: 600; font-size: .85rem; color: var(--muted); }
.gr-format label.active span { background: #fff; color: var(--ink); box-shadow: 0 1px 3px rgba(0,0,0,.08); }
@media (max-width: 1000px) { .gr-layout { grid-template-columns: 1fr; } .gr-preview { position: static; max-width: 460px; margin: 0 auto; width: 100%; } }
@media (max-width: 700px) { .gr-tpls { grid-template-columns: 1fr; } .gr-row { grid-template-columns: 1fr 1fr; } .gr-media { grid-template-columns: 1fr; } }
.t-tabs { overflow-x: auto; scrollbar-width: none; } .t-tabs a { white-space: nowrap; flex: 0 0 auto; }
#gr-form.grid, #sm-form .grid { grid-template-columns: minmax(0, 1fr); } .gr-row > * { min-width: 0; width: 100%; } .gr-row > button { width: auto; }
.fd-table td { vertical-align: top; }

/* Ergebnisse der Woche */
.res-weeks { display: flex; gap: 8px; overflow-x: auto; margin-bottom: 14px; padding-bottom: 2px; }
.res-week { flex: 0 0 auto; display: grid; padding: 8px 14px; border: 1px solid var(--line); border-radius: 12px; background: #fff; text-decoration: none; color: var(--ink); }
.res-week small { color: var(--muted); }
.res-week.active { border-color: var(--yellow-2); background: var(--yellow-tint); box-shadow: 0 0 0 2px var(--yellow); }
.res-status { padding: 14px 18px; display: flex; flex-wrap: wrap; gap: 12px 24px; align-items: center; justify-content: space-between; margin-bottom: 8px; position: sticky; top: 84px; z-index: 5; }
.res-progress { display: grid; gap: 6px; flex: 1 1 260px; }
.res-post { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.res-day { margin: 22px 0 8px; font-size: 1rem; }
.res-list { display: grid; gap: 10px; }
.res-game { padding: 12px 16px; display: grid; gap: 10px; border-left: 5px solid var(--line-2); }
.res-game.st-entered { border-left-color: var(--success); }
.res-game.st-none { border-left-color: #9CA3AF; opacity: .8; }
.res-meta { display: flex; flex-wrap: wrap; gap: 6px 10px; align-items: center; }
.res-time { font-weight: 700; font-variant-numeric: tabular-nums; }
.res-badge { margin-left: auto; font-size: .78rem; color: var(--muted); }
.res-badge.ok { color: var(--success); font-weight: 600; } .res-badge.err { color: var(--danger); }
.res-score { display: grid; grid-template-columns: minmax(0, 1fr) 64px auto 64px minmax(0, 1fr); gap: 8px; align-items: center; }
.res-name { font-weight: 600; font-size: .95rem; overflow-wrap: anywhere; }
.res-name:first-child { text-align: right; }
.res-name.us { color: var(--ink); text-decoration: underline; text-decoration-color: var(--yellow); text-decoration-thickness: 3px; text-underline-offset: 4px; }
.res-in { text-align: center; font-size: 1.4rem; font-weight: 700; padding: 8px 4px; }
.res-colon { font-weight: 700; font-size: 1.3rem; }
.res-extra { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.res-scorers { flex: 1 1 260px; }
.res-none { margin: 0; white-space: nowrap; }
.res-by { margin-top: -4px; }
@media (max-width: 640px) { .res-score { grid-template-columns: minmax(0, 1fr) 54px auto 54px minmax(0, 1fr); gap: 6px; } .res-name { font-size: .8rem; } .res-status { top: 64px; } }

/* ---------- Werbepartner ---------- */
.sp-form-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); gap: 14px; }
.sp-card select, .sp-card input[type=text], .sp-form-grid select, .sp-form-grid input:not([type=radio]):not([type=checkbox]) { width: 100%; max-width: 100%; min-width: 0; }
.sp-form-grid > * { min-width: 0; }
.sp-bg-choice { display: flex; gap: 10px; }
.sp-bg-choice label { cursor: pointer; }
.sp-bg-choice input { position: absolute; opacity: 0; pointer-events: none; }
.sp-bg { display: inline-flex; align-items: center; justify-content: center; min-width: 96px; padding: 10px 14px; border-radius: 12px; font-weight: 600; border: 2px solid var(--line); }
.sp-bg-light { background: #fff; color: var(--brand-dark); }
.sp-bg-dark { background: #0B0B0B; color: #fff; }
.sp-bg-choice input:checked + .sp-bg { border-color: var(--yellow); box-shadow: 0 0 0 3px color-mix(in srgb, var(--yellow) 35%, transparent); }
.sp-bg-choice input:focus-visible + .sp-bg { outline: 2px solid var(--ink); outline-offset: 2px; }
.sp-list { display: grid; gap: 12px; }
.sp-item { display: grid; grid-template-columns: 260px minmax(0, 1fr) auto; gap: 16px; align-items: center; padding: 12px; }
.sp-item.sp-off { opacity: .6; }
.sp-preview img { display: block; width: 100%; border-radius: 10px; }
.sp-info h3 { margin: 0; font-size: 1.05rem; display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.sp-actions { display: flex; gap: 8px; align-items: center; }
.sp-actions form { margin: 0; }
@media (max-width: 720px) { .sp-item { grid-template-columns: 1fr; } .sp-actions { justify-content: flex-start; } }
.sp-card { border-left: 4px solid var(--line); }
.sp-card-on { border-left-color: var(--yellow); }
.sp-card-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; }
.sp-card-head h3 { display: flex; gap: 8px; align-items: center; }
.sp-block { border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px 14px; margin: 0; min-width: 0; min-inline-size: 0; }
.sp-card form, .sp-card { min-width: 0; }
.sp-card form.grid, #form form.grid { grid-template-columns: minmax(0, 1fr); }
.sp-block legend { font-weight: 700; padding: 0 6px; }
.sp-games { display: grid; gap: 8px; }
.sp-game { border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; display: grid; gap: 8px; background: var(--paper); }
.sp-game.on, .sp-game:has(input[type=checkbox]:checked) { border-color: color-mix(in srgb, var(--yellow) 47%, white); background: var(--yellow-soft); }
.sp-game-pick span { display: inline-flex; flex-wrap: wrap; gap: 4px 8px; align-items: center; }
.sp-game-fields { display: grid; grid-template-columns: minmax(0, 200px) minmax(0, 1fr); gap: 8px; }
.sp-game:not(:has(input[type=checkbox]:checked)) .sp-game-fields { display: none; }
@media (max-width: 560px) { .sp-game-fields { grid-template-columns: 1fr; } }

/* ---------- Grafik erstellen: Spiel übernehmen, Logo-Ordner ---------- */
.gr-pick { background: var(--yellow-soft); border: 1px solid color-mix(in srgb, var(--yellow) 47%, white); border-radius: 12px; padding: 12px 14px; min-width: 0; }
.gr-pick label { display: flex; align-items: center; gap: 6px; font-weight: 700; margin-bottom: 6px; }
.gr-pick select { width: 100%; max-width: 100%; min-width: 0; }
.logo-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 10px; max-height: 60vh; overflow: auto; padding: 2px; }
.logo-tile { display: grid; gap: 6px; justify-items: center; padding: 10px; border: 1px solid var(--line); border-radius: 12px; background: #fff; cursor: pointer; font: inherit; text-align: center; }
.logo-tile:hover, .logo-tile:focus-visible { border-color: var(--yellow); box-shadow: 0 0 0 3px color-mix(in srgb, var(--yellow) 35%, transparent); outline: none; }
.logo-tile b { font-size: .8rem; font-weight: 600; line-height: 1.25; word-break: break-word; }
.logo-img { width: 90px; height: 90px; display: flex; align-items: center; justify-content: center; background: repeating-conic-gradient(#f2f2f2 0 25%, #fff 0 50%) 0 0 / 14px 14px; border-radius: 8px; }
.logo-img img { max-width: 82px; max-height: 82px; object-fit: contain; }
.logo-tile.sel { border-color: var(--brand-dark); box-shadow: 0 0 0 2px var(--yellow); }
.logo-grid-sm { grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); max-height: 320px; margin-top: 6px; }
.logo-tile:has(input:checked) { border-color: var(--brand-dark); box-shadow: 0 0 0 3px var(--yellow); background: var(--yellow-soft); }
.sp-import { display: flex; gap: 12px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.sp-import form { margin: 0; }

/* ---------- Statistik ---------- */
.st-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; flex-wrap: wrap; }
.st-kpis { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 10px; margin-bottom: 18px; }
.st-kpis > div { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 14px; display: flex; flex-direction: column; gap: 2px; }
.st-kpis > div.hl { background: var(--brand-dark); border-color: var(--brand-dark); color: #fff; } .st-kpis > div.hl b { color: var(--yellow); }
.st-kpis b { font-size: 1.7rem; line-height: 1.1; } .st-kpis span { font-size: .8rem; color: var(--ink-2); } .st-kpis .hl span { color: rgba(255,255,255,.75); }
@media (max-width: 800px) { .st-kpis { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.st-table { width: 100%; border-collapse: collapse; font-size: .92rem; }
.st-table th { text-align: center; font-size: .75rem; color: var(--ink-2); padding: 8px 6px; border-bottom: 1px solid var(--line); }
.st-table th:first-child, .st-table td:first-child { text-align: left; padding-left: 12px; }
.st-table td { text-align: center; padding: 8px 6px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.st-table tr:last-child td { border-bottom: 0; }
.st-table td.w { font-weight: 700; } .st-table td.pos { color: #1E7B45; } .st-table td.neg { color: var(--danger); }
.st-table a { color: inherit; text-decoration: none; } .st-table a:hover b { text-decoration: underline; }
.st-sc-head { display: flex; justify-content: space-between; gap: 10px; align-items: center; flex-wrap: wrap; margin-bottom: 10px; }
.st-sc-head select { max-width: 100%; }
.st-scorers { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.st-scorers li { display: grid; grid-template-columns: 34px minmax(0, 1fr) auto; gap: 8px; align-items: center; padding: 7px 10px; border-radius: 10px; background: var(--paper); }
.st-scorers li:nth-child(-n+3) { background: var(--yellow-soft); }
.st-scorers .rk { color: var(--ink-2); font-weight: 600; } .st-scorers .nm small { color: var(--ink-2); margin-left: 6px; }
.st-scorers .gl { font-weight: 700; font-size: 1.05rem; }
.st-months { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.st-months li { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 8px 10px; border: 1px solid var(--line); border-radius: 10px; }
.st-months li div { display: flex; flex-direction: column; min-width: 0; } .st-months small { color: var(--ink-2); }
.st-months form, .st-auto { margin: 0; } .st-auto { margin-top: 12px; }

/* ---------- Spieltag-Story-Video ---------- */
.gd-card { border-left: 4px solid var(--yellow); }
.gd-row { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 16px; align-items: start; }
#gd-canvas { width: 150px; height: auto; aspect-ratio: 9 / 16; border-radius: 12px; background: var(--brand-dark); display: block; }
.gd-progress { height: 8px; background: var(--paper); border: 1px solid var(--line); border-radius: 99px; overflow: hidden; }
.gd-progress span { display: block; height: 100%; width: 0; background: var(--yellow); transition: width .2s; color: var(--on-yellow);}
.gd-running #gd-canvas { box-shadow: 0 0 0 3px var(--yellow); }
@media (max-width: 520px) { .gd-row { grid-template-columns: 110px minmax(0, 1fr); } #gd-canvas { width: 110px; } }

/* ---------- Öffentlicher Foto-Eingang ---------- */
.up-wrap { max-width: 560px; margin: 0 auto; padding: 18px 16px 40px; }
.up-head { display: flex; gap: 12px; align-items: center; margin-bottom: 14px; }
.up-head div { display: flex; flex-direction: column; } .up-head span { color: var(--ink-2); font-size: .9rem; }
.up-card h1 { font-size: 1.45rem; margin: 0 0 6px; } .up-card .hl { background: var(--yellow); padding: 0 6px; border-radius: 6px; color: var(--on-yellow);}
.up-card label { display: block; font-weight: 600; margin: 12px 0 6px; } .up-card select, .up-card input[type=text] { width: 100%; }
.up-drop { display: flex !important; flex-direction: column; align-items: center; gap: 4px; text-align: center; padding: 26px 16px; margin-top: 16px !important; border: 2px dashed color-mix(in srgb, var(--yellow) 89%, black); border-radius: 16px; background: var(--yellow-soft); cursor: pointer; }
.up-drop small { color: var(--ink-2); font-weight: 400; } .up-icon .icon { width: 30px; height: 30px; }
.up-list { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 8px; }
.up-list li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 10px; padding: 8px 10px; border: 1px solid var(--line); border-radius: 10px; font-size: .88rem; }
.up-list .nm { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .up-list .st { color: var(--ink-2); }
.up-list .bar { grid-column: 1 / -1; height: 6px; background: var(--paper); border-radius: 9px; overflow: hidden; } .up-list .bar i { display: block; height: 100%; width: 0; background: var(--yellow); transition: width .2s; color: var(--on-yellow);}
.up-list li.ok .st { color: #1E7B45; font-weight: 600; } .up-list li.err .st { color: var(--danger); grid-column: 1 / -1; }
.up-done { margin: 14px 0 0; padding: 10px 12px; border-radius: 10px; background: #E7F6EC; color: #1E7B45; font-weight: 600; }

/* ---------- Foto-Eingang (intern) ---------- */
.tab-badge { display: inline-grid; place-items: center; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 99px; background: var(--yellow); color: var(--on-yellow); font-size: .72rem; font-weight: 700; }
.inbox-filter { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 14px; } .inbox-filter select { max-width: 100%; }
.inbox-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 12px; }
.inbox-tile { position: relative; display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; background: #fff; cursor: pointer; }
.inbox-tile input { position: absolute; top: 10px; left: 10px; width: 22px; height: 22px; z-index: 2; accent-color: var(--brand-dark); }
.inbox-tile.sel { border-color: var(--brand-dark); box-shadow: 0 0 0 3px var(--yellow); }
.inbox-tile.hidden { opacity: .5; }
.it-media { position: relative; aspect-ratio: 4 / 5; background: var(--brand-dark); display: block; }
.it-media img, .it-media video { width: 100%; height: 100%; object-fit: cover; display: block; }
.it-play { position: absolute; inset: 0; display: grid; place-items: center; color: #fff; } .it-play .icon { width: 42px; height: 42px; filter: drop-shadow(0 2px 6px rgba(0,0,0,.6)); }
.it-meta { padding: 8px 10px; font-size: .8rem; line-height: 1.35; } .it-meta small { color: var(--ink-2); }
.it-new, .it-used { position: absolute; top: 10px; right: 10px; font-size: .7rem; font-weight: 700; padding: 2px 8px; border-radius: 99px; background: var(--yellow); color: var(--on-yellow);}
.it-used { background: #E7F6EC; color: #1E7B45; }
.it-open { position: absolute; right: 8px; bottom: 54px; background: rgba(0,0,0,.55); color: #fff; border-radius: 8px; padding: 4px 6px; display: grid; place-items: center; }
.inbox-bar { position: sticky; top: 74px; z-index: 20; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; padding: 10px 12px; margin-bottom: 12px; background: var(--brand-dark); color: #fff; border-radius: 14px; }
.inbox-bar .btn-ghost, .inbox-bar .btn-outline { color: #fff; border-color: rgba(255,255,255,.35); }
.inbox-links { display: grid; gap: 12px; }
.il-head { display: flex; justify-content: space-between; gap: 8px; flex-wrap: wrap; align-items: baseline; margin-bottom: 8px; }
.il-actions { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 10px; } .il-actions form { margin: 0; }
.inbox-addlink { display: flex; gap: 8px; flex-wrap: wrap; } .inbox-addlink input { flex: 1 1 220px; min-width: 0; }
.copy-box code { word-break: break-all; }

/* ---------- Spiel-Reel ---------- */
.reel-layout { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 24px; align-items: start; }
.reel-preview { position: sticky; top: 90px; } #reel-canvas { width: 100%; height: auto; aspect-ratio: 9 / 16; border-radius: 18px; background: var(--brand-dark); display: block; box-shadow: var(--shadow, 0 10px 30px rgba(0,0,0,.15)); }
@media (max-width: 900px) { .reel-layout { grid-template-columns: 1fr; } .reel-preview { position: static; max-width: 300px; margin: 0 auto; } }
.reel-clips-head { display: flex; justify-content: space-between; align-items: center; gap: 8px; flex-wrap: wrap; }
.reel-clips { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.reel-clip { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 12px; padding: 10px; border: 1px solid var(--line); border-radius: 12px; background: var(--paper); }
.rc-vid video { width: 120px; height: 160px; object-fit: cover; border-radius: 8px; background: #000; display: block; }
.rc-body { display: flex; flex-direction: column; gap: 4px; min-width: 0; } .rc-body small { color: var(--ink-2); }
.rc-trim { display: flex; gap: 8px; align-items: end; flex-wrap: wrap; } .rc-trim label { font-size: .8rem; display: flex; flex-direction: column; gap: 2px; } .rc-trim input { width: 84px; }
.rc-len { font-weight: 700; padding-bottom: 8px; } .rc-btns { display: flex; gap: 4px; margin-top: auto; }
.gr-tpls { grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); }
@media (max-width: 700px) { .gr-tpls { grid-template-columns: 1fr 1fr; } }
.gr-tpl-reel { background: var(--brand-dark) !important; color: #fff !important; } .gr-tpl-reel small { color: rgba(255,255,255,.7) !important; } .gr-tpl-reel .icon { width: 16px; height: 16px; vertical-align: -2px; }
.inbox-pick .logo-img { width: 120px; height: 120px; } .inbox-pick .logo-img img { max-width: 120px; max-height: 120px; object-fit: cover; }

/* ---------- Kommentare ---------- */
.cm-list { display: grid; gap: 14px; }
.cm-post { padding: 14px; }
.cm-head { display: flex; gap: 12px; align-items: center; margin-bottom: 10px; } .cm-head div { display: flex; flex-direction: column; min-width: 0; }
.cm-thumb img, .cm-thumb video { width: 52px; height: 64px; object-fit: cover; border-radius: 8px; display: block; background: var(--brand-dark); }
.cm-thread { border-top: 1px solid var(--line); padding: 10px 0 4px; } .cm-thread.is-hidden { opacity: .6; }
.cm-c { padding: 6px 10px; border-radius: 10px; } .cm-c.reply { margin-left: 28px; } .cm-c.own { background: var(--paper); } .cm-c.unseen { background: var(--yellow-soft); }
.cm-text { white-space: normal; word-break: break-word; margin-top: 2px; }
.cm-admin { display: flex; gap: 6px; margin-top: 4px; }
.cm-reply { display: flex; gap: 8px; margin: 6px 0 4px 28px; } .cm-reply input { flex: 1; min-width: 0; }

/* ---------- Dashboard ---------- */
.dash-kpis { grid-template-columns: repeat(4, minmax(0, 1fr)); } .dash-kpis small.up { color: #1E7B45; } .dash-kpis .hl small.up { color: #7BE3A1; } .dash-kpis small.down { color: var(--danger); }
@media (max-width: 800px) { .dash-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.dash-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; } .dash-wide { grid-column: 1 / -1; }
@media (max-width: 900px) { .dash-grid { grid-template-columns: 1fr; } }
.dash-h { margin: 0 0 10px; font-size: 1.1rem; } .dash-h small { font-weight: 400; font-size: .8rem; }
.ch-wrap { position: relative; } .ch { width: 100%; height: auto; display: block; overflow: visible; }
.ch-grid { stroke: var(--line); stroke-width: 1; } .ch-ax { font-size: 14px; fill: var(--ink-2); font-family: inherit; }
.ch-line { fill: none; stroke: var(--brand-dark); stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; }
.ch-end, .ch-dot { fill: var(--yellow); stroke: var(--brand-dark); stroke-width: 2; } .ch-cross { stroke: var(--ink-2); stroke-width: 1; stroke-dasharray: 3 3; }
.ch-tip { position: absolute; background: var(--brand-dark); color: #fff; font-size: .78rem; padding: 5px 8px; border-radius: 6px; pointer-events: none; white-space: nowrap; }
.dash-top { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.dash-top li { display: grid; grid-template-columns: 20px 44px minmax(0, 1fr) auto; gap: 10px; align-items: center; }
.dash-top .rk { font-weight: 700; color: var(--ink-2); } .dash-top .th img, .dash-top .th video { width: 44px; height: 55px; object-fit: cover; border-radius: 6px; display: block; background: var(--brand-dark); }
.dash-top .tx { display: flex; flex-direction: column; min-width: 0; } .dash-top .tx b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; display: block; } .dash-top .tx small { color: var(--ink-2); }
.dash-top .vl { font-weight: 700; text-align: right; display: flex; flex-direction: column; } .dash-top .vl small { font-weight: 400; color: var(--ink-2); font-size: .72rem; }
.bars { display: grid; gap: 8px; }
.bar-row { display: grid; grid-template-columns: 120px minmax(0, 1fr) 56px; gap: 10px; align-items: center; font-size: .88rem; }
.bar-l small { color: var(--ink-2); } .bar-t { height: 14px; background: var(--paper); border-radius: 4px; overflow: hidden; } .bar-t i { display: block; height: 100%; background: var(--brand-dark); border-radius: 0 4px 4px 0; }
.bar-v { text-align: right; font-weight: 700; }
.heat { width: 100%; border-collapse: separate; border-spacing: 2px; font-size: .75rem; } .heat th { font-weight: 600; color: var(--ink-2); padding: 4px; } .heat td { text-align: center; padding: 8px 2px; border-radius: 4px; background: var(--paper); font-weight: 700; min-width: 34px; }
.best-slots .chip { cursor: pointer; font: inherit; font-size: .76rem; font-weight: 600; }
.reel-logo { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 12px; align-items: center; padding: 10px 12px; border: 1px solid var(--line); border-radius: 12px; }
.reel-logo-prev { width: 64px; height: 64px; border-radius: 50%; background: #fff; border: 1px solid var(--line); display: grid; place-items: center; overflow: hidden; }
.reel-logo-prev img { max-width: 46px; max-height: 46px; object-fit: contain; }
.gd-opts { margin: 12px 0; } .gd-opts h4 { margin: 0 0 6px; font-size: .9rem; }
.gd-logos { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.gd-logos li { display: grid; grid-template-columns: 44px minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 6px 8px; border: 1px solid var(--line); border-radius: 10px; }
.gd-logos li.miss { border-color: #F3C46B; background: #FFF6E5; }
.gd-logos .lg { width: 44px; height: 44px; border-radius: 50%; background: #fff; border: 1px solid var(--line); display: grid; place-items: center; overflow: hidden; } .gd-logos .lg img { max-width: 32px; max-height: 32px; object-fit: contain; }
.gd-logos .tx { display: flex; flex-direction: column; min-width: 0; font-size: .85rem; } .gd-logos .tx small { color: var(--ink-2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.gd-logos .miss-t { color: #B86E00; font-weight: 600; } .gd-logos .bt { display: flex; gap: 4px; flex-wrap: wrap; justify-content: flex-end; }
.gd-styles { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 6px; }
@media (max-width: 700px) { .gd-styles { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.gd-style { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 4px; border: 2px solid var(--line); border-radius: 10px; background: #fff; cursor: pointer; font: inherit; font-size: .7rem; font-weight: 600; min-width: 0; }
.gd-style canvas { width: 100%; height: auto; aspect-ratio: 9 / 16; border-radius: 6px; display: block; }
.gd-style.on { border-color: var(--brand-dark); box-shadow: 0 0 0 3px var(--yellow); }
.gd-style span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 100%; }
.gd-style-checks { display: flex; flex-wrap: wrap; gap: 4px 16px; margin-top: 4px; }

/* ================= Design-Studio ================= */
@font-face { font-family: "Anton"; font-display: swap; src: url(../fonts/studio/anton-latin-400-normal.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+2000-206F, U+20AC, U+2122, U+2190-2199; }
@font-face { font-family: "Anton"; font-display: swap; src: url(../fonts/studio/anton-latin-ext-400-normal.woff2) format("woff2"); unicode-range: U+0100-02AF, U+1E00-1E9F, U+A720-A7FF; }
@font-face { font-family: "Bebas Neue"; font-display: swap; src: url(../fonts/studio/bebas-neue-latin-400-normal.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+2000-206F, U+20AC, U+2122, U+2190-2199; }
@font-face { font-family: "Bebas Neue"; font-display: swap; src: url(../fonts/studio/bebas-neue-latin-ext-400-normal.woff2) format("woff2"); unicode-range: U+0100-02AF, U+1E00-1E9F, U+A720-A7FF; }
@font-face { font-family: "Oswald"; font-weight: 400; font-display: swap; src: url(../fonts/studio/oswald-latin-400-normal.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+2000-206F, U+20AC, U+2122, U+2190-2199; }
@font-face { font-family: "Oswald"; font-weight: 700; font-display: swap; src: url(../fonts/studio/oswald-latin-700-normal.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+2000-206F, U+20AC, U+2122, U+2190-2199; }
@font-face { font-family: "Oswald"; font-weight: 400; font-display: swap; src: url(../fonts/studio/oswald-latin-ext-400-normal.woff2) format("woff2"); unicode-range: U+0100-02AF, U+1E00-1E9F, U+A720-A7FF; }
@font-face { font-family: "Oswald"; font-weight: 700; font-display: swap; src: url(../fonts/studio/oswald-latin-ext-700-normal.woff2) format("woff2"); unicode-range: U+0100-02AF, U+1E00-1E9F, U+A720-A7FF; }
@font-face { font-family: "Playfair Display"; font-weight: 400; font-display: swap; src: url(../fonts/studio/playfair-display-latin-400-normal.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+2000-206F, U+20AC, U+2122; }
@font-face { font-family: "Playfair Display"; font-weight: 700; font-display: swap; src: url(../fonts/studio/playfair-display-latin-700-normal.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+2000-206F, U+20AC, U+2122; }
@font-face { font-family: "Playfair Display"; font-weight: 400; font-style: italic; font-display: swap; src: url(../fonts/studio/playfair-display-latin-400-italic.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+2000-206F, U+20AC, U+2122; }
@font-face { font-family: "Playfair Display"; font-weight: 700; font-style: italic; font-display: swap; src: url(../fonts/studio/playfair-display-latin-700-italic.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+2000-206F, U+20AC, U+2122; }
@font-face { font-family: "Playfair Display"; font-weight: 400; font-display: swap; src: url(../fonts/studio/playfair-display-latin-ext-400-normal.woff2) format("woff2"); unicode-range: U+0100-02AF, U+1E00-1E9F, U+A720-A7FF; }
@font-face { font-family: "Playfair Display"; font-weight: 700; font-display: swap; src: url(../fonts/studio/playfair-display-latin-ext-700-normal.woff2) format("woff2"); unicode-range: U+0100-02AF, U+1E00-1E9F, U+A720-A7FF; }
@font-face { font-family: "Permanent Marker"; font-display: swap; src: url(../fonts/studio/permanent-marker-latin-400-normal.woff2) format("woff2"); }

body.studio-body { height: 100vh; overflow: hidden; background: #EDEBE4; }
body.studio-body > main, body.studio-body #main { flex: 1; display: flex; min-height: 0; min-width: 0; width: 100%; }
.studio { position: relative; flex: 1; min-width: 0; display: flex; flex-direction: column; height: 100vh; min-height: 0; background: #EDEBE4; color: var(--ink); font-size: 14px; }
.studio svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.st-top { display: flex; align-items: center; gap: 10px; padding: 8px 12px; background: var(--brand-dark); color: #fff; flex: none; min-width: 0; }
.st-brand { display: flex; align-items: center; gap: 8px; font-size: .95rem; white-space: nowrap; }
.st-brand img { height: 26px; }
.st-spacer { flex: 1; }
.st-group { display: flex; gap: 2px; background: rgba(255,255,255,.08); border-radius: 10px; padding: 2px; }
.st-btn, .st-icon { display: inline-flex; align-items: center; gap: 6px; border: 0; background: transparent; color: inherit; font: 600 .82rem var(--font); padding: 7px 11px; border-radius: 8px; cursor: pointer; text-decoration: none; white-space: nowrap; }
.st-top .st-btn:hover, .st-top .st-icon:hover:not(:disabled) { background: rgba(255,255,255,.12); }
.st-icon { padding: 7px 9px; font-size: 1rem; line-height: 1; }
.st-icon:disabled { opacity: .35; cursor: default; }
.st-btn.st-primary { background: var(--yellow); color: var(--on-yellow); }
.st-top .st-btn.st-primary:hover { background: color-mix(in srgb, var(--yellow) 70%, white); }
.st-btn.btn-xs { padding: 4px 10px; font-size: .78rem; }
.st-zval { min-width: 60px; justify-content: center; }
.st-format select { background: rgba(255,255,255,.08); color: #fff; border: 1px solid rgba(255,255,255,.18); border-radius: 8px; padding: 6px 8px; font: 600 .8rem var(--font); }
.st-format select option { color: var(--brand-dark); }
.st-saved { color: rgba(255,255,255,.55); white-space: nowrap; }
.st-main { flex: 1; display: grid; grid-template-columns: 76px 300px minmax(0, 1fr) 280px; min-height: 0; }
.studio.st-panel-closed .st-main { grid-template-columns: 76px 0 minmax(0, 1fr) 280px; }
.studio.st-panel-closed .st-panel { display: none; }
.st-tabs { background: #fff; border-right: 1px solid var(--line); display: flex; flex-direction: column; padding: 6px 0; overflow-y: auto; }
.st-tabs button { display: flex; flex-direction: column; align-items: center; gap: 3px; border: 0; background: none; padding: 10px 4px; font: 600 .66rem var(--font); color: var(--muted); cursor: pointer; border-left: 3px solid transparent; }
.st-tabs button svg { width: 22px; height: 22px; }
.st-tabs button:hover { color: var(--ink); background: var(--paper); }
.st-tabs button.on { color: var(--ink); border-left-color: var(--yellow); background: var(--yellow-tint); }
.st-panel, .st-props { background: #fff; overflow-y: auto; min-height: 0; padding: 4px 14px 30px; }
.st-panel { border-right: 1px solid var(--line); }
.st-props { border-left: 1px solid var(--line); }
.st-sec { padding: 12px 0; border-bottom: 1px solid var(--line); }
.st-sec:last-child { border-bottom: 0; }
.st-sec h4 { margin: 0 0 8px; font-size: .78rem; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-2); }
.st-sec h4:empty { display: none; }
.st-sec h4 small { display: block; text-transform: none; letter-spacing: 0; font-weight: 500; color: var(--muted); font-size: .74rem; margin-top: 2px; }
.st-sec-b { display: flex; flex-direction: column; gap: 6px; }
.st-grid2 > .st-sec-b, .st-sec-b.st-grid3, .st-grid3 > .st-sec-b, .st-grid4 > .st-sec-b, .st-grid5 > .st-sec-b { display: grid; gap: 6px; }
.st-grid2 > .st-sec-b { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.st-grid3 > .st-sec-b, .st-sec-b.st-grid3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.st-grid4 > .st-sec-b { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.st-grid5 > .st-sec-b { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.st-grid2 > .st-sec-b > p, .st-grid3 > .st-sec-b > p, .st-sec-b.st-grid3 > p { grid-column: 1 / -1; margin: 0; }
.st-tile { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; border: 1px solid var(--line); background: var(--paper); border-radius: 10px; padding: 6px; cursor: pointer; font: 600 .74rem var(--font); color: var(--ink); min-width: 0; transition: border-color .12s, transform .12s; }
.st-tile:hover { border-color: var(--brand-dark); }
.st-tile.on { border-color: var(--brand-dark); box-shadow: 0 0 0 2px var(--yellow); }
.st-tile.st-sq { aspect-ratio: 1; padding: 8px; }
.st-tile .st-cap { font-size: .7rem; line-height: 1.2; text-align: center; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 100%; }
.st-tile small { font-size: .64rem; text-align: center; }
.st-tile-img { padding: 5px; background: #fff; }
.st-thumb { display: block; width: 100%; aspect-ratio: 4 / 5; background: var(--paper); border-radius: 6px; overflow: hidden; }
.st-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.st-tile-del { position: absolute; top: 4px; right: 4px; width: 22px; height: 22px; border-radius: 50%; background: var(--brand-dark); color: #fff; font-size: .7rem; display: grid; place-items: center; opacity: 0; }
.st-tile:hover .st-tile-del { opacity: 1; }
.st-tile.st-ph { aspect-ratio: 1; padding: 0; overflow: hidden; background: var(--paper); }
.st-tile.st-ph img { width: 100%; height: 100%; object-fit: cover; }
.st-tile.st-logo { aspect-ratio: 1; background: repeating-conic-gradient(#F1EFE8 0 25%, #fff 0 50%) 0 0 / 14px 14px; }
.st-tile.st-logo img { max-width: 78%; max-height: 62%; object-fit: contain; }
.st-ext { font-size: .7rem; color: var(--muted); }
.st-shape { width: 100% !important; height: 100% !important; fill: var(--brand-dark) !important; stroke: var(--brand-dark) !important; stroke-width: 0 !important; }
.st-shape [fill="none"] { fill: none !important; stroke-width: 2.5 !important; }
.st-ic { width: 100% !important; height: 100% !important; stroke-width: 1.6 !important; }
.st-row { display: flex; flex-direction: column; align-items: flex-start; gap: 1px; text-align: left; border: 1px solid var(--line); background: #fff; border-radius: 10px; padding: 9px 12px; cursor: pointer; font: 600 .82rem var(--font); color: var(--ink); }
.st-row:hover { border-color: var(--brand-dark); }
.st-row small { font-weight: 500; color: var(--muted); font-size: .74rem; }
.st-row.st-row-hl { background: var(--yellow); border-color: var(--yellow); color: var(--on-yellow);}
.st-upload { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 16px 10px; border: 2px dashed var(--line-2); border-radius: 12px; background: var(--paper); cursor: pointer; font: 600 .86rem var(--font); color: var(--ink); text-align: center; }
.st-upload:hover { border-color: var(--brand-dark); }
.st-upload small { font-weight: 500; color: var(--muted); font-size: .74rem; }
.st-tip { margin: 2px 0 0; line-height: 1.45; }
.st-link { border: 0; background: none; color: var(--muted); font: 600 .76rem var(--font); text-align: left; padding: 2px 0; cursor: pointer; text-decoration: underline; }
.st-chip { border: 1px solid var(--line); background: var(--paper); border-radius: 8px; padding: 7px 4px; font: 600 .74rem var(--font); cursor: pointer; }
.st-chip:hover { border-color: var(--brand-dark); }
.st-tstyle { display: block; width: 100%; padding: 10px 4px; border-radius: 6px; font-size: 15px; text-align: center; white-space: nowrap; overflow: hidden; }
.st-sticker { display: inline-block; padding: 5px 10px; border-radius: 6px; font-size: 13px; letter-spacing: .04em; white-space: nowrap; }
.st-emojis > .st-sec-b { display: grid; grid-template-columns: repeat(7, 1fr); gap: 2px; }
.st-emoji { border: 0; background: none; font-size: 22px; padding: 4px 0; border-radius: 8px; cursor: pointer; }
.st-emoji:hover { background: var(--paper); }
.st-fr { display: block; width: 70%; height: 70%; background: #CFCABA; border: 2px dashed #9B9480; }
.st-fr-circle { border-radius: 50%; } .st-fr-round { border-radius: 22%; } .st-fr-portrait { width: 52%; } .st-fr-wide { height: 46%; width: 86%; } .st-fr-full { width: 86%; height: 86%; }
.st-fr-arch { border-radius: 50% 50% 0 0 / 36% 36% 0 0; width: 56%; height: 78%; }
.st-fr-hex { clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%); border: 0; }
.st-fr-star { clip-path: polygon(50% 0, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%); border: 0; }
.st-fr-heart { clip-path: path('M22 40C9 31 2 24 2 14 2 7 7 2 13 2c4 0 7 2 9 5 2-3 5-5 9-5 6 0 11 5 11 12 0 10-7 17-20 26z'); border: 0; width: 44px; height: 42px; }
.st-fr-blob { border-radius: 58% 42% 55% 45% / 45% 55% 45% 55%; }
.st-deco { display: block; width: 100%; height: 44px; border-radius: 6px; background-color: var(--brand-dark); }
.st-deco-dots { background: radial-gradient(var(--yellow) 3px, transparent 3.5px) 0 0 / 12px 12px, var(--brand-dark); }
.st-deco-stripes { background: repeating-linear-gradient(110deg, var(--yellow) 0 6px, transparent 6px 14px), var(--brand-dark); }
.st-deco-confetti { background: radial-gradient(var(--yellow) 3px, transparent 4px) 4px 6px / 22px 18px, radial-gradient(#FF7043 3px, transparent 4px) 12px 0 / 26px 20px, radial-gradient(#1E88E5 2px, transparent 3px) 0 10px / 18px 22px, #fff; border: 1px solid var(--line); }
.st-deco-halftone { background: radial-gradient(var(--brand-dark) 35%, transparent 40%) 0 0 / 9px 9px, #fff; border: 1px solid var(--line); }
.st-deco-zigzag { background: linear-gradient(135deg, transparent 40%, var(--yellow) 40% 60%, transparent 60%) 0 0 / 18px 18px, linear-gradient(45deg, transparent 40%, var(--yellow) 40% 60%, transparent 60%) 9px 0 / 18px 18px, var(--brand-dark); }
.st-deco-plus { background: linear-gradient(var(--yellow), var(--yellow)) center / 3px 12px no-repeat, linear-gradient(var(--yellow), var(--yellow)) center / 12px 3px no-repeat, var(--brand-dark); }
.st-deco-sparkle { background: radial-gradient(circle, var(--yellow) 15%, transparent 16%) 50% 50% / 16px 16px, var(--brand-dark); }
.st-deco-lines { background: linear-gradient(var(--yellow), var(--yellow)) 8px 10px / 70% 4px no-repeat, linear-gradient(var(--yellow), var(--yellow)) 8px 20px / 55% 4px no-repeat, linear-gradient(var(--yellow), var(--yellow)) 8px 30px / 40% 4px no-repeat, var(--brand-dark); }
.st-deco-pitch { background: linear-gradient(#fff, #fff) center / 100% 2px no-repeat, radial-gradient(circle, transparent 8px, #fff 8.5px 10px, transparent 10.5px) center no-repeat, #2E7D32; }
.st-inline { display: flex; gap: 6px; }
.st-inline input, .st-select { flex: 1; min-width: 0; width: 100%; border: 1px solid var(--line-2); border-radius: 8px; padding: 7px 10px; font: 500 .84rem var(--font); background: #fff; }
.st-size button { border: 1px solid var(--line-2); background: var(--paper); border-radius: 8px; padding: 0 10px; font: 700 .78rem var(--font); cursor: pointer; }
.st-size input { text-align: center; }
.st-check { display: flex; align-items: center; gap: 8px; font-size: .84rem; cursor: pointer; }
.st-ibrow { display: flex; flex-wrap: wrap; gap: 3px; }
.st-ib { min-width: 34px; height: 34px; display: grid; place-items: center; border: 1px solid var(--line); background: #fff; border-radius: 8px; cursor: pointer; font: 600 .86rem var(--font); color: var(--ink); padding: 0 6px; }
.st-ib:hover { border-color: var(--brand-dark); }
.st-ib.on { background: var(--yellow); border-color: var(--brand-dark); color: var(--on-yellow);}
.st-lbl { font-size: .72rem; font-weight: 600; color: var(--muted); margin-top: 4px; }
.st-slider { display: grid; grid-template-columns: 1fr auto; gap: 0 8px; align-items: center; font-size: .78rem; font-weight: 600; }
.st-slider input { grid-column: 1 / -1; width: 100%; accent-color: var(--brand-dark); margin: 2px 0 0; }
.st-slider output { font-weight: 500; color: var(--muted); font-size: .74rem; grid-row: 1; grid-column: 2; }
.st-fill { display: flex; flex-direction: column; gap: 8px; }
.st-seg { display: inline-flex; background: var(--paper); border: 1px solid var(--line); border-radius: 9px; padding: 2px; align-self: flex-start; }
.st-seg button { border: 0; background: none; font: 600 .74rem var(--font); padding: 4px 10px; border-radius: 7px; cursor: pointer; color: var(--muted); }
.st-seg button.on { background: #fff; color: var(--ink); box-shadow: 0 1px 3px rgba(0,0,0,.12); }
.st-swatches { display: grid; grid-template-columns: repeat(auto-fill, minmax(26px, 1fr)); gap: 5px; }
.st-sw { aspect-ratio: 1; border-radius: 50%; border: 1px solid rgba(0,0,0,.15); cursor: pointer; padding: 0; position: relative; overflow: hidden; display: grid; place-items: center; font-size: .9rem; background: #fff; }
.st-sw.on { box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--brand-dark); }
.st-sw-pick { background: conic-gradient(red, yellow, lime, cyan, blue, magenta, red); }
.st-sw-pick input { opacity: 0; position: absolute; inset: 0; width: 100%; height: 100%; cursor: pointer; }
.st-grads .st-sw { border-radius: 8px; }
.st-grad2 { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-size: .76rem; font-weight: 600; }
.st-grad2 label { display: flex; align-items: center; gap: 4px; }
.st-grad2 input { width: 34px; height: 26px; border: 1px solid var(--line-2); border-radius: 6px; padding: 0; background: none; }
.st-fx .st-tile { padding: 3px 3px 5px; }
.st-fxp { display: block; width: 100%; aspect-ratio: 1; border-radius: 6px; background-size: cover; background-position: center; }
.st-props-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 12px 0 4px; font-size: .95rem; }
.st-keys dl { display: grid; grid-template-columns: auto 1fr; gap: 4px 10px; margin: 0; font-size: .74rem; }
.st-keys dt { font-weight: 700; white-space: nowrap; }
.st-keys dd { margin: 0; color: var(--muted); }
.st-layers { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 3px; }
.st-layers li { display: flex; align-items: center; gap: 8px; padding: 6px 8px; border: 1px solid var(--line); border-radius: 8px; cursor: pointer; font-size: .8rem; background: #fff; }
.st-layers li.on { border-color: var(--brand-dark); background: var(--yellow-tint); }
.st-layers li.hid { opacity: .5; }
.st-layers li.over { border-top: 3px solid var(--yellow); }
.st-l-ic { width: 22px; height: 22px; display: grid; place-items: center; background: var(--paper); border-radius: 5px; font-size: .74rem; flex: none; }
.st-l-n { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.st-layers button { border: 0; background: none; cursor: pointer; font-size: .8rem; padding: 2px; opacity: .7; }
.st-stage-wrap { position: relative; display: flex; flex-direction: column; min-width: 0; min-height: 0; }
.st-stage-wrap.drop::after { content: "Bild hier ablegen"; position: absolute; inset: 10px; border: 3px dashed var(--brand-dark); border-radius: 16px; background: color-mix(in srgb, var(--yellow) 18%, transparent); display: grid; place-items: center; font-weight: 700; pointer-events: none; z-index: 5; }
.st-stage { flex: 1; overflow: auto; display: flex; min-height: 0; padding: 24px; }
.st-canvas-box { margin: auto; flex: none; box-shadow: 0 10px 40px rgba(0,0,0,.18); background: #fff; }
.st-hint { position: absolute; top: 10px; left: 50%; transform: translateX(-50%); z-index: 4; background: var(--brand-dark); color: #fff; padding: 8px 14px; border-radius: 12px; font-size: .82rem; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; justify-content: center; max-width: calc(100% - 20px); box-shadow: 0 6px 20px rgba(0,0,0,.2); }
.st-hint .st-btn:not(.st-primary) { background: rgba(255,255,255,.14); }
.st-pages { flex: none; display: flex; align-items: center; gap: 10px; padding: 8px 14px; background: #fff; border-top: 1px solid var(--line); overflow-x: auto; min-height: 88px; }
.st-page { position: relative; display: flex; flex-direction: column; align-items: center; gap: 2px; flex: none; }
.st-page-img { height: 64px; padding: 0; border: 2px solid var(--line); border-radius: 6px; overflow: hidden; background: #fff; cursor: pointer; display: block; }
.st-page-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.st-page.on .st-page-img { border-color: var(--brand-dark); box-shadow: 0 0 0 2px var(--yellow); }
.st-page > span { font-size: .66rem; color: var(--muted); font-weight: 600; }
.st-page-act { position: absolute; top: -6px; right: -8px; display: none; gap: 2px; }
.st-page:hover .st-page-act { display: flex; }
.st-page-act button { width: 20px; height: 20px; border-radius: 50%; border: 0; background: var(--brand-dark); color: #fff; font-size: .62rem; cursor: pointer; padding: 0; }
.st-page-add { flex: none; height: 64px; width: 52px; border: 2px dashed var(--line-2); border-radius: 6px; background: var(--paper); cursor: pointer; display: flex; flex-direction: column; align-items: center; justify-content: center; font: 600 .66rem var(--font); color: var(--muted); align-self: flex-start; }
.st-page-add b { font-size: 1.3rem; line-height: 1; color: var(--ink); }
.st-pages-info { white-space: nowrap; }
.st-busy { position: absolute; inset: 0; z-index: 30; background: rgba(237,235,228,.75); display: grid; place-items: center; }
.st-busy > div { background: #fff; padding: 22px 28px; border-radius: 16px; box-shadow: var(--shadow-hover); text-align: center; }
.st-busy p { margin: 10px 0 0; font-weight: 600; }
.st-spin { display: inline-block; width: 30px; height: 30px; border: 3px solid var(--line); border-top-color: var(--brand-dark); border-radius: 50%; animation: stspin .8s linear infinite; }
@keyframes stspin { to { transform: rotate(360deg); } }
.st-menu { position: absolute; z-index: 40; background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow-hover); padding: 6px; min-width: 190px; display: flex; flex-direction: column; }
.st-menu[hidden] { display: none; }
.st-menu button { border: 0; background: none; text-align: left; padding: 7px 10px; border-radius: 7px; font: 500 .84rem var(--font); cursor: pointer; }
.st-menu button:hover:not(:disabled) { background: var(--paper); }
.st-menu button:disabled { opacity: .4; }
.st-menu hr { border: 0; border-top: 1px solid var(--line); margin: 4px 0; width: 100%; }
@media (max-width: 1180px) {
  .st-main { grid-template-columns: 68px 260px minmax(0, 1fr) 240px; }
  .st-top .st-btn span { display: none; }
  .st-top .st-btn.st-primary span, .st-top .st-back span { display: inline; }
}
@media (max-width: 860px) {
  .studio { height: auto; min-height: 100vh; }
  body.studio-body { overflow: auto; height: auto; }
  .st-top { flex-wrap: wrap; }
  .st-brand b, .st-zoom, .st-saved { display: none; }
  .st-main, .studio.st-panel-closed .st-main { display: flex; flex-direction: column; }
  .st-main > * { width: 100%; min-width: 0; box-sizing: border-box; }
  .st-brand { display: none; }
  .st-format { order: 10; flex: 1 1 100%; min-width: 0; } .st-format select { width: 100%; }
  .st-top .st-back span { display: none; }
  .st-grid2 > .st-sec-b { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .st-tabs { flex-direction: row; overflow-x: auto; border-right: 0; border-bottom: 1px solid var(--line); padding: 0; }
  .st-tabs button { border-left: 0; border-bottom: 3px solid transparent; padding: 8px 10px; flex: none; }
  .st-tabs button.on { border-bottom-color: var(--yellow); }
  .st-panel { max-height: 42vh; border-right: 0; border-bottom: 1px solid var(--line); }
  .st-stage { min-height: 60vh; padding: 12px; }
  .st-props { border-left: 0; border-top: 1px solid var(--line); }
}
/* Studio im Beitragseditor (Vollbild-Overlay) */
.studio-overlay { position: fixed; inset: 0; z-index: 200; background: var(--brand-dark); }
.studio-overlay iframe { width: 100%; height: 100%; border: 0; display: block; }
body.has-studio { overflow: hidden; }
.sm-item .sm-design { position: absolute; left: 6px; bottom: 6px; border: 0; background: var(--yellow); color: var(--on-yellow); font: 700 .68rem var(--font); padding: 4px 8px; border-radius: 6px; cursor: pointer; box-shadow: 0 2px 6px rgba(0,0,0,.2); }
.sm-add .btn-studio { background: var(--brand-dark); color: var(--accent-on-dark); border-color: var(--brand-dark); }
.sm-add .btn-studio:hover { background: #2B2B2B; }

/* System-Update */
.upd-status { display: flex; gap: 24px; align-items: flex-start; flex-wrap: wrap; margin-bottom: 16px; }
.upd-ver { display: flex; flex-direction: column; min-width: 140px; }
.upd-ver b { font-size: 1.8rem; line-height: 1.2; }
.upd-req { list-style: none; margin: 0; padding: 0; flex: 1; min-width: 240px; font-size: .88rem; display: grid; gap: 4px; }
.upd-req .ok { color: #1E7A4C; } .upd-req .no { color: #B3261E; font-weight: 600; }
.upd-status .hint { flex-basis: 100%; }
#upd { margin-bottom: 16px; }
.upd-drop { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 26px 16px; border: 2px dashed var(--line-2); border-radius: 14px; background: var(--paper); cursor: pointer; text-align: center; }
.upd-drop:hover, .upd-drop.over { border-color: var(--brand-dark); background: var(--yellow-tint); }
.upd-drop .icon { width: 26px; height: 26px; }
.upd-arrow { display: flex; align-items: center; gap: 10px; font-size: 1.3rem; flex-wrap: wrap; }
.upd-files { margin: 10px 0 14px; font-size: .84rem; }
.upd-files summary { cursor: pointer; font-weight: 600; }
.upd-files ul { margin: 4px 0 8px; padding-left: 18px; max-height: 220px; overflow: auto; font-family: var(--mono); font-size: .76rem; }
.upd-spin { display: inline-block; width: 14px; height: 14px; border: 2px solid var(--line-2); border-top-color: var(--brand-dark); border-radius: 50%; animation: stspin .8s linear infinite; vertical-align: -2px; margin-right: 6px; }

/* ================= Live-Ticker ================= */
body.tk-body { background: #F4F2EB; }
body.tk-noscroll { overflow: hidden; }
.tk { max-width: 560px; margin: 0 auto; padding: 12px 14px 40px; }
.tk-head { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.tk-head > div { display: flex; flex-direction: column; flex: 1; min-width: 0; line-height: 1.25; }
.tk-head span { font-size: .82rem; color: var(--ink-2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tk-head img { object-fit: contain; }
.tk-share { border: 1px solid var(--line-2); background: #fff; border-radius: 30px; padding: 7px 12px; font: 600 .78rem var(--font); cursor: pointer; white-space: nowrap; }
.tk-live { background: #E53935; color: #fff; font: 700 .72rem var(--font); padding: 4px 9px; border-radius: 6px; letter-spacing: .08em; animation: tkpulse 1.6s infinite; }
@keyframes tkpulse { 50% { opacity: .55; } }
.tk-board { background: var(--brand-dark); color: #fff; border-radius: 20px; padding: 16px 12px 12px; display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 6px 10px; box-shadow: 0 10px 30px rgba(0,0,0,.15); }
.tk-team { display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center; font-weight: 700; font-size: .92rem; line-height: 1.2; min-width: 0; overflow-wrap: anywhere; }
.tk-logo { width: 54px; height: 54px; object-fit: contain; }
.tk-score { display: flex; align-items: center; gap: 6px; font-size: 3rem; font-weight: 700; line-height: 1; color: var(--yellow); font-variant-numeric: tabular-nums; }
.tk-score i { font-style: normal; opacity: .6; font-size: 2.4rem; }
.tk-board-big .tk-score { font-size: 3.6rem; }
.tk-clock { grid-column: 1 / -1; text-align: center; font-size: .86rem; font-weight: 600; color: rgba(255,255,255,.75); padding-top: 4px; }
.tk-clock.run { color: var(--yellow); }
.tk-clock.run::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: #E53935; margin-right: 7px; vertical-align: 1px; animation: tkpulse 1.6s infinite; }
.tk-offline { margin: 10px 0 0; padding: 8px 12px; border-radius: 10px; background: #FFF6D6; font-size: .84rem; font-weight: 600; }
.tk-offline.bad { background: #FDE7E7; color: #9B1C1C; }
.tk-expired { margin: 14px 0; padding: 12px; border-radius: 12px; background: #fff; border: 1px solid var(--line); font-weight: 600; }
.tk-phase { display: block; width: 100%; margin: 14px 0 4px; padding: 16px; border: 0; border-radius: 16px; background: #2E7D32; color: #fff; font: 700 1.1rem var(--font); cursor: pointer; }
.tk-phase.ph-first, .tk-phase.ph-second { background: var(--brand-dark); }
.tk-phase.ph-half { background: #2E7D32; }
.tk-phase:disabled { background: #BDBDBD; cursor: default; }
.tk-undo { display: block; margin: 0 auto 8px; border: 0; background: none; color: var(--muted); font: 600 .78rem var(--font); text-decoration: underline; cursor: pointer; padding: 4px; }
.tk-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 8px; }
.tk-actions.pre { opacity: .55; }
.tk-col { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.tk-col h2 { margin: 2px 0 0; font-size: .78rem; text-transform: uppercase; letter-spacing: .06em; text-align: center; color: var(--ink-2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tk-row { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.tk-btn { border: 1px solid var(--line-2); background: #fff; border-radius: 12px; padding: 12px 6px; font: 700 .86rem var(--font); cursor: pointer; color: var(--ink); min-height: 48px; }
.tk-btn:active { transform: scale(.97); }
.tk-btn.tk-goal { background: var(--yellow); border-color: color-mix(in srgb, var(--yellow) 89%, black); font-size: 1.15rem; padding: 18px 6px; color: var(--on-yellow);}
.tk-btn.tk-goal.them { background: #fff; border-color: var(--brand-dark); }
.tk-h3 { margin: 20px 0 8px; font-size: .9rem; text-transform: uppercase; letter-spacing: .06em; }
.tk-events { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.tk-view .tk-events { margin-top: 14px; }
.tk-ev { display: grid; grid-template-columns: 38px 26px minmax(0, 1fr) auto; gap: 8px; align-items: start; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 10px; font-size: .9rem; line-height: 1.35; }
.tk-ev.pend { opacity: .6; border-style: dashed; }
.tk-ev.k-goal.s-us, .tk-ev.k-penalty.s-us, .tk-ev.k-owngoal.s-us { background: color-mix(in srgb, var(--yellow) 20%, white); border-color: color-mix(in srgb, var(--yellow) 72%, white); }
.tk-m { font-weight: 700; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.tk-i { font-size: 1.05rem; }
.tk-name { font-weight: 700; }
.tk-sub { color: var(--ink-2); font-size: .82rem; }
.tk-sc { display: inline-block; background: var(--brand-dark); color: var(--accent-on-dark); font-weight: 700; padding: 1px 8px; border-radius: 6px; font-size: .8rem; margin-left: 4px; }
.tk-by { color: var(--muted); font-size: .72rem; }
.tk-del { border: 0; background: none; color: var(--muted); font-size: .9rem; cursor: pointer; padding: 2px 4px; }
.tk-mark { text-align: center; font-size: .76rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-2); padding: 4px 0; display: flex; align-items: center; gap: 10px; }
.tk-mark::before, .tk-mark::after { content: ""; flex: 1; height: 1px; background: var(--line-2); }
.tk-empty { color: var(--muted); font-size: .9rem; padding: 12px; text-align: center; background: #fff; border-radius: 12px; border: 1px dashed var(--line-2); }
.tk-me { margin-top: 18px; }
.tk-me label { display: block; font-weight: 600; font-size: .86rem; margin-bottom: 4px; }
.tk-me input { width: 100%; }
.tk-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 16px; }
.tk-sheet { position: fixed; inset: 0; z-index: 100; background: rgba(20,20,20,.45); display: flex; align-items: flex-end; justify-content: center; }
.tk-sheet[hidden] { display: none; }
.tk-sheet-box { background: #fff; width: 100%; max-width: 560px; border-radius: 20px 20px 0 0; padding: 18px 16px calc(18px + env(safe-area-inset-bottom)); display: flex; flex-direction: column; gap: 12px; max-height: 92vh; overflow-y: auto; animation: tkup .18s ease-out; }
@keyframes tkup { from { transform: translateY(30px); opacity: .5; } }
.tk-sheet-box h3 { margin: 0; font-size: 1.15rem; }
.tk-f { display: flex; flex-direction: column; gap: 5px; }
.tk-f[hidden] { display: none; }
.tk-l { font-weight: 600; font-size: .86rem; }
.tk-f input, .tk-f textarea { width: 100%; font-size: 1rem; }
.tk-min input { width: 110px; }
.tk-seg { display: flex; gap: 6px; flex-wrap: wrap; }
.tk-seg button { flex: 1; border: 1px solid var(--line-2); background: #fff; border-radius: 10px; padding: 9px 6px; font: 600 .84rem var(--font); cursor: pointer; }
.tk-seg button.on { background: var(--yellow); border-color: var(--brand-dark); color: var(--on-yellow);}
.tk-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.tk-chip { border: 1px solid var(--line-2); background: var(--paper); border-radius: 20px; padding: 5px 11px; font: 600 .82rem var(--font); cursor: pointer; }
.tk-sheet-act { display: flex; gap: 10px; justify-content: space-between; margin-top: 4px; }
.tk-sheet-act .btn-primary { flex: 1; justify-content: center; font-size: 1rem; padding: 13px; }
.tk-toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); background: var(--brand-dark); color: #fff; padding: 10px 16px; border-radius: 12px; font-weight: 600; font-size: .9rem; z-index: 200; box-shadow: 0 6px 20px rgba(0,0,0,.25); max-width: calc(100% - 32px); }
.tk-toast.err { background: #B3261E; }
/* Planer */
.tk-banner { display: flex; flex-direction: column; gap: 6px; margin: -6px 0 16px; }
.tk-banner a { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; padding: 10px 14px; border-radius: 12px; background: var(--brand-dark); color: #fff; text-decoration: none; font-size: .9rem; }
.tk-banner a b { color: var(--yellow); }
.tk-banner .tk-cta { margin-left: auto; font-weight: 600; font-size: .82rem; color: rgba(255,255,255,.8); }
.tk-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: #E53935; animation: tkpulse 1.6s infinite; vertical-align: 1px; }
.tk-new { margin-bottom: 22px; }
.tk-auto { border: 1px solid var(--line); border-radius: 12px; padding: 10px 14px; display: grid; gap: 6px; }
.tk-auto legend { font-weight: 600; font-size: .86rem; padding: 0 6px; }
.tk-h2 { font-size: 1.1rem; margin: 0 0 10px; }
.tk-list { display: grid; gap: 14px; }
.tk-card { padding: 16px 18px; display: grid; gap: 10px; }
.tk-card.is-new { box-shadow: 0 0 0 3px var(--yellow); }
.tk-card-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; }
.tk-chip-live { background: #FDE7E7; border-color: #F5B5B5; color: #B3261E; }
.tk-card-score { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); gap: 12px; align-items: center; font-weight: 600; }
.tk-card-score span:last-child { text-align: right; }
.tk-card-score b { font-size: 1.7rem; background: var(--brand-dark); color: var(--accent-on-dark); padding: 2px 14px; border-radius: 10px; font-variant-numeric: tabular-nums; }
.tk-posts { margin: 0; display: flex; flex-wrap: wrap; gap: 4px 6px; align-items: center; }
.tk-links { display: grid; gap: 8px; }
.tk-link { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; padding: 8px 10px; border-radius: 10px; background: var(--paper); border: 1px solid var(--line); }
.tk-link-l { font-size: .84rem; flex: 0 0 100%; }
.tk-link input { flex: 1 1 200px; min-width: 0; font-size: .8rem; padding: 6px 8px; font-family: var(--mono); }
.tk-card-act { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.tk-card-act .spacer { flex: 1; }
.tk-report textarea { width: 100%; font-size: .86rem; }
.res-ticker { display: inline-flex; align-items: center; gap: 4px; margin-left: auto; text-decoration: none; font-weight: 600; color: var(--ink-2); }
@media (max-width: 380px) { .tk-score { font-size: 2.4rem; } .tk-btn { font-size: .8rem; } }
.gd-checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; font-size: .9rem; }
.gd-checks .ok { color: #1E6B3E; } .gd-checks .no { color: #9A4D00; }
.gd-checks a { color: inherit; }

/* ---------------- Platz- & Hallenbelegung (ab 2.6) ---------------- */
.bel-bar { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; padding: 12px 14px; margin-bottom: 10px; }
.bel-bar .cal-nav { flex-wrap: wrap; }
.bel-bar select { width: auto; padding: 7px 34px 7px 10px; }
.bel-jump { width: auto !important; padding: 6px 8px !important; font-size: .84rem !important; }
.bel-filters { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.bel-facseg { flex-wrap: wrap; }
.bel-plans { margin: 0 2px 14px; }
.bel-plans a { text-decoration: underline; }
.bel-sheets { display: grid; gap: 18px; }
.bel-fac { padding: 14px; }
.bel-fac-head { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 10px; }
.bel-fac-head h3 { margin: 0; font-size: 1.15rem; display: flex; align-items: center; gap: 8px; }
.bel-dot { width: 12px; height: 12px; border-radius: 4px; background: var(--fc); }
.bel-print-head { display: none; }
.bel-grid { display: grid; grid-template-columns: 50px repeat(7, minmax(0, 1fr)); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; background: var(--line); gap: 1px; }
.bel-dh { background: var(--paper); text-align: center; font-size: .78rem; color: var(--muted); padding: 7px 2px; height: 34px; white-space: nowrap; overflow: hidden; }
.bel-dh b { color: var(--ink); text-transform: uppercase; letter-spacing: .04em; }
.bel-day.today .bel-dh { background: var(--yellow); color: var(--on-yellow); }
.bel-axis { background: #fff; }
.bel-axis-body { position: relative; height: calc(var(--h) * 46px); }
.bel-axis-body span { position: absolute; right: 6px; transform: translateY(-1px); font-size: .7rem; color: var(--muted); font-variant-numeric: tabular-nums; }
.bel-day { background: #fff; min-width: 0; }
.bel-day.past .bel-body { background-color: #FCFBF8; }
.bel-body { position: relative; height: calc(var(--h) * 46px);
  background-image: linear-gradient(to bottom, var(--line) 1px, transparent 1px), linear-gradient(to right, rgba(20,20,20,.045) 1px, transparent 1px);
  background-size: 100% calc(100% / var(--h)), calc(100% / var(--parts)) 100%; }
.bel-body:not([data-lanes]) { background-size: 100% calc(100% / var(--h)), 0 0; }
.bel-add { cursor: copy; }
.bel-add:hover { background-color: var(--yellow-tint); }
.bel-ev { --c: #9CA3AF; position: absolute; display: flex; flex-direction: column; align-items: stretch; text-align: left; gap: 0; padding: 3px 5px; margin: 0; border: 1px solid #fff; border-left: 3px solid var(--c); border-radius: 6px;
  background: color-mix(in srgb, var(--c) 20%, white); color: var(--ink); font: 500 .7rem/1.25 var(--font); overflow: hidden; cursor: pointer; z-index: 1; transition: box-shadow .12s, opacity .12s; }
.bel-ev:hover, .bel-ev:focus-visible { z-index: 3; box-shadow: 0 4px 14px rgba(20,20,20,.18); }
.bel-ev b { font-weight: 700; font-size: .74rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bel-ev span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bel-ev-t { color: var(--ink-2); font-size: .66rem; font-variant-numeric: tabular-nums; }
.bel-ev-p { color: var(--muted); font-size: .64rem; }
.bel-short { flex-direction: row; flex-wrap: wrap; gap: 0 4px; align-content: flex-start; }
.bel-ev.bel-extra { border-style: dashed; border-left-style: solid; }
.bel-ev.bel-game { background: var(--brand-dark); color: #fff; border-left-color: var(--yellow); }
.bel-ev.bel-game .bel-ev-t, .bel-ev.bel-game .bel-ev-p { color: rgba(255,255,255,.75); }
.bel-ev.bel-block { background: repeating-linear-gradient(135deg, #EDEBE4 0 6px, #F8F7F3 6px 12px); border-left-color: #6B6B6B; color: var(--ink-2); z-index: 0; }
.bel-ev.bel-off { opacity: .6; background: repeating-linear-gradient(135deg, color-mix(in srgb, var(--c) 12%, white) 0 5px, #fff 5px 10px); }
.bel-ev.bel-off b { text-decoration: line-through; }
.bel-ev-x { color: var(--danger); font-weight: 600; }
.bel-ev.bel-clash { box-shadow: inset 0 0 0 2px var(--danger); }
.bel-ev.bel-dim { opacity: .25; }
.bel-ev.bel-hl { box-shadow: 0 0 0 2px var(--ink); z-index: 2; }
.bel-legend { display: flex; flex-wrap: wrap; gap: 6px 18px; align-items: center; margin: 14px 2px 0; }
.bel-legend .lg { display: inline-block; width: 18px; height: 12px; border-radius: 3px; vertical-align: -1px; margin-right: 4px; border-left: 3px solid #2F80ED; background: #D5E6FB; }
.lg.lg-extra { border: 1px dashed #2F80ED; border-left: 3px solid #2F80ED; }
.lg.lg-game { background: var(--brand-dark); border-left-color: var(--yellow); }
.lg.lg-off { background: repeating-linear-gradient(135deg, #D5E6FB 0 3px, #fff 3px 6px); opacity: .7; }
.lg.lg-block { background: repeating-linear-gradient(135deg, #DCD9D0 0 3px, #F8F7F3 3px 6px); border-left-color: #6B6B6B; }
.lg.lg-clash { background: #fff; box-shadow: inset 0 0 0 2px var(--danger); border-left-color: var(--danger); }
.bel-tip { margin-left: auto; }
.bel-list { display: none; }
.bel-lday { margin-bottom: 18px; }
.bel-lday h4 { margin: 0 0 8px; font-size: .95rem; display: flex; align-items: center; gap: 8px; }
.bel-li { --c: #9CA3AF; width: 100%; display: grid; grid-template-columns: 92px minmax(0, 1fr); gap: 10px; align-items: start; text-align: left; font: 500 .88rem/1.35 var(--font); color: var(--ink);
  background: color-mix(in srgb, var(--c) 12%, white); border: 1px solid var(--line); border-left: 4px solid var(--c); border-radius: 10px; padding: 9px 12px; margin-bottom: 6px; cursor: pointer; }
.bel-li small { display: block; color: var(--muted); font-size: .78rem; }
.bel-li-t { font-variant-numeric: tabular-nums; font-weight: 600; }
.bel-li.bel-game { background: var(--brand-dark); color: #fff; border-left-color: var(--yellow); }
.bel-li.bel-game small { color: rgba(255,255,255,.7); }
.bel-li.bel-block { background: repeating-linear-gradient(135deg, #EDEBE4 0 6px, #F8F7F3 6px 12px); border-left-color: #6B6B6B; }
.bel-li.bel-extra { border-style: dashed; border-left-style: solid; }
.bel-li.bel-off { opacity: .7; } .bel-li.bel-off b { text-decoration: line-through; }
.bel-x { color: var(--danger); font-weight: 600; }
.bel-i-type { font-size: .72rem; text-transform: uppercase; letter-spacing: .07em; color: var(--muted); font-weight: 600; margin: 0 0 2px; }
.bel-i-title { font-size: 1.2rem; margin: 0 0 8px; }
.bel-i-dl { display: grid; grid-template-columns: 110px 1fr; gap: 6px 12px; margin: 0; font-size: .9rem; }
.bel-i-dl dt { color: var(--muted); font-weight: 600; } .bel-i-dl dd { margin: 0; }
.bel-cancel { flex-basis: 100%; padding: 12px; border-radius: 12px; background: var(--paper); border: 1px solid var(--line); margin-bottom: 4px; }
.bel-cancel label { margin-bottom: 6px; }
.bel-cancel-row { display: flex; gap: 8px; flex-wrap: wrap; } .bel-cancel-row input { flex: 1 1 200px; padding: 8px 10px; }
.bel-set { margin-bottom: 20px; }
.bel-set h2 { margin: 0; }
.bel-set .table { margin-top: 12px; }
.bel-set .t-actions { text-align: right; white-space: nowrap; }
.bel-start { margin-bottom: 20px; background: var(--yellow-tint); border-color: color-mix(in srgb, var(--yellow) 47%, white); }
@media (max-width: 860px) {
  .bel-page .bel-sheets { display: none; }
  .bel-page .bel-list { display: block; }
  .bel-tip { display: none; }
  .bel-bar { align-items: stretch; }
  .bel-actions { width: 100%; }
}
@page bel { size: A4 landscape; margin: 9mm; }
@media print {
  .bel-page .site-header, .bel-page .site-footer, .bel-page .t-tabs, .bel-page .page-head, .bel-page .bel-bar, .bel-page .bel-plans, .bel-page .bel-list, .bel-page .bel-tip, .bel-page .flash-wrap, .bel-page .modal { display: none !important; }
  .bel-page { background: #fff; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  .bel-page .container { max-width: none; padding: 0; }
  .bel-page .bel-sheets { display: block !important; }
  .bel-fac { page: bel; break-after: page; box-shadow: none; border: 0; padding: 0; }
  .bel-fac:last-child { break-after: auto; }
  .bel-print-head { display: flex; align-items: center; gap: 10px; border-bottom: 3px solid var(--yellow); padding-bottom: 6px; margin-bottom: 8px; }
  .bel-print-head img { width: 28px; }
  .bel-print-head small { display: block; font-size: 8pt; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; }
  .bel-print-head b { font-size: 13pt; }
  .bel-body, .bel-axis-body { height: 148mm; }
  .bel-ev { font-size: 7pt; } .bel-ev b { font-size: 7.5pt; }
  .bel-ev.bel-dim { opacity: .35; }
  .bel-page .bel-legend { display: none; }
  .bel-day.today .bel-dh { background: var(--paper); }
  .bel-day.past .bel-body { background-color: #fff; }
  .bel-add:hover { background-color: transparent; }
}
/* Hauptmenü mit „Belegung“: bei mittlerer Breite enger setzen */
.main-nav > a, .brand-text b, .brand-text span { white-space: nowrap; }
@media (min-width: 861px) and (max-width: 1280px) {
  .main-nav > a { padding: 9px 10px; font-size: .88rem; }
  .online { display: none; }
  .header-inner { gap: 14px; }
}
@media (min-width: 861px) and (max-width: 1100px) { .user-name { display: none; } .brand-text span { display: none; } }

/* ---------- Verein & Design (2.7) ---------- */
.vd-logo-row { display: flex; gap: 20px; align-items: flex-start; flex-wrap: wrap; }
.vd-logo { width: 120px; height: 120px; object-fit: contain; background: var(--bg, #f6f6f4); border-radius: 14px; padding: 10px; border: 1px solid var(--line, #e6e6e1); }
.vd-swatches { display: flex; gap: 8px; flex-wrap: wrap; }
.vd-sw { width: 38px; height: 38px; border-radius: 10px; border: 2px solid #fff; box-shadow: 0 0 0 1px rgba(0,0,0,.18); cursor: pointer; }
.vd-sw:hover, .vd-sw:focus-visible { box-shadow: 0 0 0 2px #141414; }
.vd-color { display: flex; gap: 8px; align-items: center; }
.vd-color input[type=color] { width: 46px; height: 42px; padding: 2px; border-radius: 10px; border: 1px solid var(--line, #ddd); background: #fff; cursor: pointer; flex: none; }
.vd-color input[type=text] { font-family: ui-monospace, monospace; text-transform: uppercase; }
.vd-preview { display: grid; grid-template-columns: minmax(0, 260px) 1fr; gap: 18px; align-items: start; }
.vd-post { background: var(--d); color: var(--on-d); border-radius: 14px; padding: 16px; aspect-ratio: 4 / 5; display: flex; flex-direction: column; gap: 10px; font-weight: 600; }
.vd-post-top { display: flex; align-items: center; gap: 8px; font-size: 13px; }
.vd-post-top img { width: 30px; height: 30px; object-fit: contain; }
.vd-post-title { font-size: 34px; font-weight: 900; color: var(--acc); letter-spacing: .02em; line-height: 1; margin: 10px 0 6px; }
.vd-post-row { font-size: 13px; display: flex; gap: 8px; align-items: center; }
.vd-chip { background: var(--p); color: var(--on-p); padding: 3px 8px; border-radius: 6px; font-weight: 800; font-size: 12px; white-space: nowrap; }
.vd-post-tag { margin-top: auto; color: var(--acc); font-size: 13px; }
.vd-ui { display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
.vd-btn { background: var(--p); color: var(--on-p); padding: 10px 18px; border-radius: 10px; font-weight: 700; }
.vd-badge { background: var(--soft); color: #141414; padding: 3px 10px; border-radius: 999px; font-size: 12px; font-weight: 700; }
.vd-contrast { margin: 0; font-size: 13px; color: var(--muted, #666); }
.vd-modules { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.vd-modules li { display: flex; gap: 10px; align-items: flex-start; padding: 10px 12px; border-radius: 10px; border: 1px solid var(--line, #e6e6e1); }
.vd-modules li.on { background: var(--yellow-tint); }
.vd-modules li.off { opacity: .75; }
.vd-modules li > svg { flex: none; width: 18px; height: 18px; margin-top: 2px; }
.onb { border-left: 4px solid var(--yellow); }
.onb ol { margin: 0; padding-left: 0; list-style: none; display: grid; gap: 8px; }
.onb li { display: flex; gap: 10px; align-items: center; }
.onb li .onb-dot { width: 22px; height: 22px; border-radius: 50%; border: 2px solid var(--line, #ccc); display: inline-grid; place-items: center; flex: none; }
.onb li.done .onb-dot { background: var(--yellow); border-color: var(--yellow); color: var(--on-yellow); }
.onb li.done a { color: var(--muted, #777); text-decoration: line-through; }
@media (max-width: 640px) { .vd-preview { grid-template-columns: 1fr; } }

/* ---------- Zentrale (2.7) ---------- */
.pl-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 14px; }
.pl-card { display: flex; flex-direction: column; gap: 8px; }
.pl-card.pl-off { opacity: .7; }
.pl-head { display: flex; justify-content: space-between; gap: 10px; align-items: baseline; }
.pl-edit summary { cursor: pointer; font-weight: 600; font-size: 14px; }
.pl-remove { border-top: 1px solid var(--line); padding-top: 12px; }
.pl-mods { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 6px 14px; }
.pl-fs { border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px 14px; margin: 0; display: grid; gap: 12px; }
.pl-fs legend { font-weight: 700; padding: 0 6px; }
.pl-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: start; }
.pl-code { display: block; padding: 8px 10px; background: var(--yellow-tint); border-radius: 8px; word-break: break-all; font-size: 13px; }
.pl-created { border: 2px solid var(--yellow); margin-bottom: 24px; }
.pl-admins { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.pl-admins li { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
@media (max-width: 820px) { .pl-cols { grid-template-columns: 1fr; } }

/* ---------- Vorstellungsseite (Betreiber, 2.7.1) ---------- */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }
.btn-lg { padding: 14px 24px; font-size: 1rem; }
body.lp { background: #fff; }
.lp-wrap { max-width: 1160px; margin: 0 auto; padding: 0 24px; }
.lp-head { position: sticky; top: 0; z-index: 20; background: rgba(255,255,255,.92); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.lp-head-in { display: flex; align-items: center; justify-content: space-between; height: 66px; gap: 16px; }
.lp-brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 1.2rem; color: var(--ink); text-decoration: none; }
.lp-brand img { border-radius: 9px; }
.lp-nav { display: flex; gap: 22px; align-items: center; }
.lp-nav a { color: var(--ink); text-decoration: none; font-weight: 600; font-size: .95rem; }
.lp-nav a:hover { color: var(--brand-dark); text-decoration: underline; }
.lp-nav .lp-nav-cta { background: var(--brand-dark); color: var(--on-dark); padding: 9px 16px; border-radius: 999px; }
.lp-nav .lp-nav-cta:hover { color: var(--on-dark); text-decoration: none; opacity: .9; }
.lp-hero { background: linear-gradient(180deg, var(--yellow-tint), #fff 90%); border-bottom: 1px solid var(--line); }
.lp-hero-in { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; padding-top: 72px; padding-bottom: 80px; }
.lp-eyebrow { display: inline-block; font-weight: 700; font-size: .85rem; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }
.lp-hero h1 { font-size: clamp(2rem, 4.4vw, 3.3rem); line-height: 1.08; margin: 0 0 18px; letter-spacing: -.02em; }
.lp-hl { background: linear-gradient(transparent 62%, var(--yellow-mid) 62%); }
.lp-lead { font-size: 1.12rem; line-height: 1.6; color: #3d3d3d; max-width: 560px; margin: 0 0 28px; }
.lp-cta { display: flex; gap: 12px; flex-wrap: wrap; }
.lp-demo { position: relative; height: 400px; }
.lp-card { position: absolute; width: 230px; aspect-ratio: 4 / 5; border-radius: 18px; padding: 18px; background: var(--d); color: var(--t); display: flex; flex-direction: column; gap: 10px; box-shadow: 0 24px 50px -18px rgba(15,27,45,.45); border: 1px solid rgba(0,0,0,.06); }
.lp-card b { font-size: 2rem; font-weight: 800; color: var(--a); line-height: 1; margin: 18px 0 8px; }
.lp-card-club { font-size: .8rem; font-weight: 700; opacity: .85; }
.lp-card-row { font-size: .85rem; font-weight: 600; display: flex; gap: 8px; align-items: center; }
.lp-card-row i { white-space: nowrap; font-style: normal; background: var(--a); color: var(--on-a); padding: 3px 8px; border-radius: 6px; font-size: .75rem; font-weight: 800; }
.lp-card-0 { left: 0; top: 40px; transform: rotate(-6deg); }
.lp-card-1 { left: 31%; top: 0; z-index: 2; }
.lp-card-2 { right: 0; top: 60px; transform: rotate(6deg); }
.lp-card-2 b { color: var(--a); }
.lp-card-2 .lp-card-row i { color: #fff; }
.lp-sec { padding: 80px 0; }
.lp-sec-alt { background: #FAF9F5; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.lp-sec h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin: 0 0 10px; letter-spacing: -.01em; }
.lp-sub { color: var(--muted); font-size: 1.05rem; margin: 0 0 34px; max-width: 640px; }
.lp-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 18px; }
.lp-mod { border: 1px solid var(--line); border-radius: 16px; padding: 22px; display: flex; flex-direction: column; gap: 8px; background: #fff; }
.lp-mod h3 { margin: 4px 0 0; font-size: 1.1rem; }
.lp-mod p, .lp-mod ul { margin: 0; color: #4a4a4a; font-size: .93rem; line-height: 1.5; }
.lp-mod ul { padding-left: 18px; }
.lp-mod-basis { grid-row: span 2; background: var(--brand-dark); color: var(--on-dark); border-color: var(--brand-dark); }
.lp-mod-basis ul { color: inherit; opacity: .9; }
.lp-mod-basis .lp-ico { background: var(--accent-on-dark); color: var(--on-accent, #141414); }
.lp-ico { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: var(--yellow-soft); color: var(--ink); }
.lp-ico svg { width: 22px; height: 22px; }
.lp-tag { margin-top: auto; align-self: flex-start; font-size: .75rem; font-weight: 700; padding: 4px 10px; border-radius: 999px; background: var(--accent-on-dark); color: var(--brand-dark); }
.lp-tag-add { background: #F1F0EB; color: #444; }
.lp-steps { list-style: none; counter-reset: s; margin: 26px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.lp-steps li { counter-increment: s; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 22px; display: flex; flex-direction: column; gap: 8px; }
.lp-steps li::before { content: counter(s); width: 34px; height: 34px; border-radius: 50%; background: var(--yellow); color: var(--on-yellow); display: grid; place-items: center; font-weight: 800; }
.lp-steps span { color: #4a4a4a; line-height: 1.5; font-size: .95rem; }
.lp-find { max-width: 720px; }
.lp-search { display: flex; gap: 10px; }
.lp-search input { flex: 1; padding: 14px 16px; font-size: 1rem; }
.lp-hits { margin-top: 18px; display: grid; gap: 10px; }
.lp-hit { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 14px 18px; border: 1px solid var(--line); border-radius: 12px; color: var(--ink); text-decoration: none; }
.lp-hit:hover { border-color: var(--brand-dark); }
.lp-final { background: var(--brand-dark); color: var(--on-dark); text-align: center; }
.lp-final p { opacity: .85; margin: 0 0 24px; font-size: 1.05rem; }
.lp-foot { border-top: 1px solid var(--line); padding: 26px 0; font-size: .9rem; }
.lp-foot-in { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; color: var(--muted); }
.lp-foot-links { display: flex; gap: 18px; flex-wrap: wrap; }
.lp-foot a { color: var(--ink); }
.lp-legal { max-width: 780px; padding-top: 56px; padding-bottom: 80px; }
.lp-legal h1 { margin-top: 0; }
.legal-links a { color: inherit; }
@media (max-width: 900px) {
  .lp-hero-in { grid-template-columns: 1fr; padding-top: 44px; padding-bottom: 50px; }
  .lp-demo { height: 330px; max-width: 520px; }
  .lp-card { width: 190px; }
  .lp-steps { grid-template-columns: 1fr; }
  .lp-mod-basis { grid-row: auto; }
}
@media (max-width: 560px) {
  .lp-nav a:not(.lp-nav-cta) { display: none; }
  .lp-demo { height: 280px; }
  .lp-card { width: 150px; padding: 12px; }
  .lp-card b { font-size: 1.4rem; }
  .lp-card-row { font-size: .7rem; }
  .lp-search { flex-direction: column; }
  .lp-sec { padding: 56px 0; }
}

/* „ein System von 11Suite“ (2.7.2) */
.footer-right { display: inline-flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.by11 { display: inline-flex; align-items: center; gap: 8px; color: var(--muted); text-decoration: none; font-size: .82rem; margin-left: 10px; vertical-align: middle; }
.by11 img { height: 30px; width: auto; display: block; transition: transform .15s; }
.by11:hover img { transform: translateY(-1px); }
.by11:hover span { color: var(--ink); }
.by11-lg { margin-left: 0; }
.by11-lg img { height: 40px; }
.auth-card .by11 { margin-left: 0; }

.lp-brand .lp-wordmark { height: 44px; width: auto; border-radius: 0; }

/* ---------- Suiten-Navigation (2.8) – hell & ruhig: 11Suite-Gold + Vereinsfarbe ---------- */
:root { --suite-gold: #C9A45C; --suite-gold-dark: #9A7333; --suite-grad: linear-gradient(135deg, #A27A38 0%, #D7B46C 40%, #F2DDA6 52%, #C79E52 70%, #A27A38 100%); --suite-ink: #2E343B; }
.main-nav > a.nav-suite { font-weight: 600; }
.sx { margin: 18px 0 4px; }
.sx-top { display: flex; align-items: center; gap: 18px; }
.sx-name { display: inline-flex; align-items: center; gap: 10px; flex: none; }
.sx-name svg { width: 30px; height: 30px; padding: 7px; border-radius: 9px; color: #fff; background: var(--suite-ink); box-shadow: inset 0 0 0 1.5px rgba(242, 221, 166, .55); stroke: #F2DDA6; }
.sx-name b { font-size: 1.05rem; letter-spacing: -.015em; white-space: nowrap; color: var(--ink); }
.sx-groups { display: inline-flex; gap: 2px; padding: 4px; border-radius: 14px; background: #F2F1EC; min-width: 0; overflow-x: auto; scrollbar-width: none; }
.sx-groups::-webkit-scrollbar { display: none; }
.sx-groups a { position: relative; display: inline-flex; align-items: center; gap: 7px; padding: 8px 15px; border-radius: 10px; color: #6B6F75; font-weight: 600; font-size: .88rem; text-decoration: none; white-space: nowrap; transition: background .2s, color .2s, box-shadow .2s; }
.sx-groups a svg { width: 15px; height: 15px; opacity: .7; }
.sx-groups a:hover { color: var(--ink); }
.sx-groups a.active { background: #fff; color: var(--ink); box-shadow: 0 1px 2px rgba(0, 0, 0, .06), 0 4px 12px -6px rgba(0, 0, 0, .18); }
.sx-groups a.active svg { opacity: 1; color: var(--suite-gold-dark); }
.sx-groups a.active::after { content: ""; position: absolute; left: 50%; bottom: 3px; width: 16px; height: 3px; margin-left: -8px; border-radius: 2px; background: var(--yellow); }
.sx-badge { display: inline-grid; place-items: center; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: #EB5757; color: #fff; font-size: .68rem; font-weight: 700; font-style: normal; }
.sx-gear { flex: none; margin-left: auto; width: 38px; height: 38px; display: grid; place-items: center; border-radius: 12px; color: #7A7F86; border: 1px solid var(--line); background: #fff; transition: color .2s, border-color .2s; }
.sx-gear svg { width: 18px; height: 18px; }
.sx-gear:hover, .sx-gear.active { color: var(--ink); border-color: var(--suite-gold); }
.sx-sub { display: flex; gap: 4px; margin-top: 14px; overflow-x: auto; scrollbar-width: none; border-bottom: 1px solid var(--line); }
.sx-sub::-webkit-scrollbar { display: none; }
.sx-sub a { display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px 11px; color: #7A7F86; font-weight: 500; font-size: .9rem; text-decoration: none; white-space: nowrap; border-bottom: 2px solid transparent; margin-bottom: -1px; transition: color .2s, border-color .2s; }
.sx-sub a:hover { color: var(--ink); }
.sx-sub a.active { color: var(--ink); font-weight: 600; border-bottom-color: var(--suite-gold); }
.sx + .page-head { padding-top: 20px; }
@media (max-width: 720px) {
  .sx-top { gap: 10px; }
  .sx-name b { display: none; }
  .sx-groups { flex: 1; }
  .sx-groups a { padding: 8px 11px; font-size: .84rem; }
  .sx-groups a svg { display: none; }
}

@media (min-width: 861px) and (max-width: 1240px) { .nav-suf { display: none; } .header-search { max-width: 220px; } }

/* ---------- 11Suite-Marke (2.8.2) ---------- */
.l11 { display: inline-flex; align-items: center; text-decoration: none; flex: none; }
.l11 img { display: block; transition: transform .15s, opacity .15s; }
.l11:hover img { transform: translateY(-1px); }
.l11-mark { display: none !important; }
.hdr-11 { padding-left: 18px; margin-left: 4px; border-left: 1px solid var(--line); height: 40px; }
.hdr-11 .l11-word { height: 40px; width: auto; }
@media (min-width: 861px) and (max-width: 1360px) {
  .hdr-11 .l11-word { display: none; }
  .hdr-11 .l11-mark { display: block !important; height: 38px; width: 38px; }
  .hdr-11 { padding-left: 12px; }
}
@media (max-width: 860px) {
  .hdr-11 { order: 1; margin-left: auto; border: 0; padding: 0; height: auto; }
  .hdr-11 .l11-word { height: 32px; }
  .nav-toggle { order: 2; margin-left: 0; }
}
/* Anmeldung */
.auth-11 { position: relative; display: flex; flex-direction: column; gap: 18px; }
.auth-11 .l11-word { height: 64px; width: auto; }
.auth-for { display: flex; align-items: center; gap: 14px; padding: 10px 16px 10px 10px; border-radius: 16px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); width: max-content; max-width: 100%; }
.auth-for img { width: 46px; height: 46px; object-fit: contain; }
.auth-for small { display: block; font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: #C9A45C; font-weight: 700; }
.auth-for b { font-size: 1.05rem; color: #fff; }
.auth-side.s11 { background: radial-gradient(ellipse at 85% 0%, rgba(201,164,92,.22), transparent 55%), #23272C; }
.auth-side.s11::before { background: radial-gradient(circle, color-mix(in srgb, var(--yellow) 18%, transparent), transparent 70%); right: -160px; top: auto; bottom: -160px; }
.auth-side.s11::after { background: linear-gradient(90deg, #C9A45C 0 50%, var(--yellow) 50% 100%); height: 6px; }
.auth-side.s11 h1 .hl { color: #C9A45C; }
.auth-side.s11 .auth-features .icon { background: rgba(201,164,92,.14); color: #C9A45C; }
.auth-suite { display: flex; gap: 12px; align-items: center; }
.auth-suite b { color: #fff; } .auth-suite span { opacity: .7; font-weight: 400; }
/* 2.29: sechs Suiten in zwei Spalten, Betreiber-Zugang im 11Suite-Look */
.auth-features.cols2 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 22px; max-width: 560px; }
.auth-features.cols2 .auth-suite { flex-direction: column; align-items: flex-start; gap: 0; line-height: 1.35; }
.auth-features.cols2 .auth-suite span { font-size: .84rem; }
.auth-side.s11.op h1 .hl { display: block; }
.auth-op-ic { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: rgba(201,164,92,.16); color: #E9D09A; }
.auth-op-ic .icon { width: 24px; height: 24px; }
.auth-side.s11.op { background: radial-gradient(ellipse at 85% 0%, rgba(201,164,92,.26), transparent 55%), radial-gradient(ellipse at 0% 100%, rgba(201,164,92,.12), transparent 50%), #0C0D0F; }
.auth-side.s11.op::after { background: linear-gradient(90deg, #A27A38, #D7B46C 38%, #F2DDA6 50%, #C79E52 66%, #A27A38); }
.auth-crest { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.auth-crest img { width: 52px; height: 52px; object-fit: contain; }
.auth-crest h2 { margin: 0; }
.auth-crest small { display: block; color: var(--muted); font-size: .85rem; }
@media (max-width: 860px) {
  .auth-11 .l11-word { height: 40px; }
  .auth-for img { width: 34px; height: 34px; }
}
/* Live-Ticker: Absender */
.tk-by { margin: 28px auto 6px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 6px; }
.tk-by small { font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); font-weight: 700; }
.tk-by .l11-word { height: 44px; width: auto; }
.tk-by p { margin: 0; font-size: .82rem; color: var(--muted); }
.tk-by p a { color: inherit; }
.header-search { min-width: 170px; }
@media (min-width: 861px) and (max-width: 1480px) { .main-nav .online, .user-name { display: none; } .brand { flex: none; } }
@media (min-width: 861px) and (max-width: 1060px) { .header-search { min-width: 120px; } }
.vd-mark { border-top: 1px solid var(--line); padding-top: 16px; margin-top: 4px; }

/* ---------- Kopfzeile 2.9: Wappen · Suiten · Lupe/Avatar · 11Suite ---------- */
.brand { flex: none; min-width: 0; }
.main-nav { margin-left: auto; margin-right: auto; }
.hdr-tools { display: flex; align-items: center; gap: 6px; flex: none; }
.hdr-search { width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line); background: #fff; display: grid; place-items: center; cursor: pointer; color: var(--ink); transition: background .15s, border-color .15s; }
.hdr-search:hover { background: #F2F1EC; border-color: #D9D6CC; }
.hdr-search .icon { width: 19px; height: 19px; }
.hdr-tools .user-btn { padding: 3px 8px 3px 3px; gap: 4px; }
.hdr-tools .dropdown { right: 0; }
.search-ov { position: fixed; inset: 0; z-index: 200; }
.search-ov-bg { position: absolute; inset: 0; background: rgba(24,26,30,.38); backdrop-filter: blur(6px); opacity: 0; transition: opacity .16s; }
.search-ov-box { position: relative; margin-top: 84px !important; max-width: 760px !important; display: flex; align-items: center; gap: 14px; background: #fff; border-radius: 20px; padding: 6px 18px 6px 22px; box-shadow: 0 24px 60px rgba(0,0,0,.22); transform: translateY(-10px); opacity: 0; transition: transform .16s, opacity .16s; }
.search-ov.show .search-ov-bg { opacity: 1; }
.search-ov.show .search-ov-box { transform: none; opacity: 1; }
.search-ov-box .icon { width: 24px; height: 24px; color: var(--muted); flex: none; }
.search-ov-box input { flex: 1; border: 0; outline: 0; font: inherit; font-size: 1.25rem; padding: 18px 0; background: transparent; min-width: 0; }
.search-ov-box kbd { font-size: .75rem; color: var(--muted); border: 1px solid var(--line); border-radius: 6px; padding: 2px 7px; }
body.ov-open { overflow: hidden; }
@media (min-width: 1101px) and (max-width: 1240px) { .nav-suf { display: inline; } }
@media (min-width: 1200px) and (max-width: 1360px) {
  .hdr-11 .l11-word { display: block; } .hdr-11 .l11-mark { display: none !important; } .hdr-11 { padding-left: 18px; }
}
@media (max-width: 860px) {
  .hdr-tools { order: 1; margin-left: auto; }
  .hdr-tools .user-btn { display: flex; }
  .hdr-11 { order: 2; margin-left: 4px; }
  .nav-toggle { order: 3; }
  .main-nav { order: 4; margin: 0; }
  .search-ov-box { margin: 70px 12px 0 !important; padding: 4px 14px; }
  .search-ov-box input { font-size: 1.05rem; padding: 14px 0; }
  .search-ov-box kbd { display: none; }
}
@media (max-width: 520px) {
  .hdr-11 .l11-word { display: none; } .hdr-11 .l11-mark { display: block !important; width: 32px; height: 32px; }
  .hdr-tools .user-btn .icon { display: none; } .hdr-tools .user-btn { padding: 3px; }
  .hdr-search { width: 38px; height: 38px; }
  .brand-text span { display: none; }
}
/* Startseite: Suiten-Kacheln (2.9) */
.suites { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 16px; margin-top: 28px; }
.suite-tile { display: flex; flex-direction: column; gap: 16px; padding: 20px 20px 18px; background: #fff; border: 1px solid var(--line); border-radius: 18px; text-decoration: none; color: var(--ink); position: relative; overflow: hidden; transition: transform .15s, box-shadow .15s, border-color .15s; }
.suite-tile::after { content: ""; position: absolute; left: 20px; right: 20px; bottom: 0; height: 3px; border-radius: 3px 3px 0 0; background: linear-gradient(90deg, #C9A45C 0 45%, var(--yellow) 45% 100%); opacity: 0; transition: opacity .15s; }
.suite-tile:hover { transform: translateY(-2px); box-shadow: 0 14px 34px rgba(20,20,20,.08); border-color: #DDD9CE; }
.suite-tile:hover::after { opacity: 1; }
.st-head { display: flex; align-items: center; gap: 10px; }
.st-head b { font-size: 1.05rem; letter-spacing: -.015em; flex: 1; }
.st-head > .icon { width: 18px; height: 18px; color: var(--muted); transition: transform .15s; }
.suite-tile:hover .st-head > .icon { transform: translateX(3px); color: var(--ink); }
.st-ico svg { width: 34px; height: 34px; padding: 8px; border-radius: 10px; background: var(--suite-ink, #23272C); stroke: #F2DDA6; color: #fff; box-shadow: inset 0 0 0 1.5px rgba(242,221,166,.55); display: block; }
.stl-rows { display: grid; gap: 8px; }
.stl-row { display: flex; align-items: baseline; gap: 10px; font-size: .9rem; color: var(--muted); }
.stl-row b { color: var(--ink); font-size: 1.15rem; min-width: 2.2ch; font-variant-numeric: tabular-nums; }
.st-off { background: #F7F6F2; border-style: dashed; color: var(--muted); }
.st-off .st-ico svg { background: #D9D6CC; stroke: #fff; box-shadow: none; }
.st-off-txt { font-size: .88rem; }
.st-more { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: .86rem; color: #9A7A3C; margin-top: auto; }
.st-more .icon { width: 16px; height: 16px; }
.online-chip { display: inline-flex; align-items: center; gap: 8px; }
.online-chip .online { display: inline-flex; padding-left: 7px; }
.search-ov-box input, .search-ov-box input:focus { border: 0 !important; box-shadow: none !important; outline: 0 !important; background: transparent !important; border-radius: 0; }
.stl-row { flex-direction: row; border: 0; background: none; padding: 0; cursor: inherit; border-radius: 0; font-weight: 500; }
.stl-row b { white-space: nowrap; }
@media (max-width: 860px) { .search-ov-box { width: auto !important; max-width: none !important; margin: 70px 12px 0 !important; } }

/* =====================================================================
   Responsiv 2.10 – Handy (≤ 700 px), Tablet (701–1100 px), Computer
   ===================================================================== */
.tabbar, .sx-switch { display: none; }
.mob-only { display: none !important; }
.form-grid > * { min-width: 0; }
/* Blatt (Bottom Sheet) */
.sheet { position: fixed; inset: 0; z-index: 300; }
.sheet[hidden] { display: none; }
.sheet-bg { position: absolute; inset: 0; background: rgba(20, 22, 26, .42); opacity: 0; transition: opacity .2s; }
.sheet-panel { position: absolute; left: 0; right: 0; bottom: 0; max-height: 86vh; overflow: auto; overscroll-behavior: contain; background: #fff; border-radius: 22px 22px 0 0; padding: 6px 16px calc(16px + env(safe-area-inset-bottom)); transform: translateY(100%); transition: transform .24s cubic-bezier(.2, .8, .2, 1); box-shadow: 0 -20px 50px rgba(0, 0, 0, .18); }
.sheet.show .sheet-bg { opacity: 1; }
.sheet.show .sheet-panel { transform: none; }
.sheet-panel::before { content: ""; display: block; width: 40px; height: 5px; border-radius: 3px; background: #DDD9CE; margin: 4px auto 8px; }
.sheet-head { display: flex; align-items: center; justify-content: space-between; padding: 2px 0 12px; border-bottom: 1px solid var(--line); }
.sheet-x { width: 40px; height: 40px; border: 0; background: #F2F1EC; border-radius: 50%; display: grid; place-items: center; cursor: pointer; color: var(--ink); }
.sheet-x svg { width: 18px; height: 18px; }
.sheet-group { padding: 12px 0 8px; border-bottom: 1px solid var(--line); }
.sheet-group:last-child { border-bottom: 0; }
.sheet-group h4 { display: flex; gap: 8px; align-items: center; margin: 0 0 6px 12px; font-size: .7rem; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); font-weight: 700; }
.sheet-group h4 svg { width: 14px; height: 14px; }
.sheet-link { display: flex; align-items: center; gap: 14px; min-height: 50px; padding: 0 12px; border-radius: 12px; color: var(--ink); text-decoration: none; font-weight: 500; font-size: 1rem; }
.sheet-link svg { width: 20px; height: 20px; color: #7A7F86; flex: none; }
.sheet-link:active { background: #F2F1EC; }
.sheet-link.active { background: #F7F2E6; font-weight: 700; }
.sheet-link.active svg { color: var(--suite-gold-dark); }
.sheet-link .sx-badge { margin-left: auto; }

/* Tablet & kleiner: größere Tippflächen */
@media (pointer: coarse) {
  .btn-sm { min-height: 40px; }
  .btn-xs { min-height: 34px; }
  .sx-gear { width: 44px; height: 44px; }
  .sx-groups a { padding: 10px 15px; }
  .sx-sub a { padding: 11px 13px 13px; }
  .dropdown a, .dropdown button { padding: 12px 14px; }
  .cal-add { width: 30px; height: 30px; }
}

/* kleine Tablets (701–860): Menü oben bleibt sichtbar, kurze Namen */
@media (min-width: 701px) and (max-width: 860px) {
  .header-inner { flex-wrap: nowrap; height: 68px; padding-top: 0; padding-bottom: 0; gap: 12px; }
  .nav-toggle { display: none; }
  .main-nav { display: flex; flex-direction: row; flex-basis: auto; align-items: center; order: 1; margin: 0 auto; gap: 2px; }
  .main-nav > a { padding: 8px 10px; }
  .nav-suf { display: none; }
  .hdr-tools { order: 2; margin-left: 0; }
  .hdr-11 { order: 3; margin-left: 0; }
  .hdr-11 .l11-word { display: none; } .hdr-11 .l11-mark { display: block !important; width: 34px; height: 34px; }
  .brand-text span { display: none; }
  /* ab 7 Suiten (Event Suite, 2.13): Vereinsname nur als Wappen, Menü enger */
  .brand-text { display: none; }
  .main-nav > a { padding: 8px 7px; font-size: .86rem; }
}

/* Handy */
@media (max-width: 700px) {
  body:not(.bare) { padding-bottom: calc(74px + env(safe-area-inset-bottom)); }
  .site-header { position: sticky; top: 0; backdrop-filter: none; -webkit-backdrop-filter: none; background: #fff; }
  .btn { max-width: 100%; white-space: normal; line-height: 1.25; }
  input, select, textarea { max-width: 100%; min-width: 0; }
  input[type=file] { width: 100%; }
  .vd-logo-row { flex-wrap: wrap; }
  .sheet .sx-name b { display: inline; }
  .header-inner { flex-wrap: nowrap; height: 60px; padding-top: 0; padding-bottom: 0; gap: 8px; }
  .nav-toggle, .main-nav { display: none !important; }
  .hdr-tools { margin-left: auto; }
  .brand-crest { width: 38px; height: 38px; }
  .brand-text b { font-size: .98rem; }
  /* Tab-Leiste */
  .tabbar { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; background: rgba(255, 255, 255, .97); backdrop-filter: saturate(1.4) blur(12px); border-top: 1px solid var(--line); padding: 6px 4px calc(6px + env(safe-area-inset-bottom)); }
  .tabbar a, .tabbar .tb-more { flex: 1; position: relative; border: 0; background: none; font-family: inherit; cursor: pointer; display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 6px 0 4px; color: #7A7F86; text-decoration: none; font-size: .68rem; font-weight: 600; letter-spacing: .01em; -webkit-tap-highlight-color: transparent; }
  .tabbar a svg, .tabbar .tb-more svg { width: 23px; height: 23px; }
  .tabbar a.active, .tabbar .tb-more.active { color: var(--ink); }
  .tabbar a.active svg, .tabbar .tb-more.active svg { color: var(--suite-gold-dark); }
  .tabbar a.active::before, .tabbar .tb-more.active::before { content: ""; position: absolute; top: -6px; left: 32%; right: 32%; height: 3px; border-radius: 0 0 3px 3px; background: var(--yellow); }
  .tb-badge { position: absolute; top: 1px; left: calc(50% + 5px); min-width: 17px; height: 17px; padding: 0 4px; border-radius: 9px; background: #EB5757; color: #fff; font-size: .6rem; font-style: normal; font-weight: 700; display: grid; place-items: center; }
  /* Suiten: ein Knopf statt zwei Leisten */
  .sx { margin: 14px 0 0; }
  .sx-top, .sx-sub { display: none; }
  .sx-switch { display: flex; width: 100%; align-items: center; gap: 12px; padding: 9px 14px 9px 9px; border: 1px solid var(--line); background: #fff; border-radius: 16px; text-align: left; font: inherit; color: var(--ink); cursor: pointer; box-shadow: 0 1px 2px rgba(0, 0, 0, .04); -webkit-tap-highlight-color: transparent; }
  .sx-switch:active { background: #FAF9F5; }
  .sx-switch > svg:first-child { width: 38px; height: 38px; padding: 9px; border-radius: 11px; background: var(--suite-ink); stroke: #F2DDA6; color: #fff; flex: none; box-shadow: inset 0 0 0 1.5px rgba(242, 221, 166, .55); }
  .sx-switch-t { display: flex; flex-direction: column; min-width: 0; flex: 1; line-height: 1.25; }
  .sx-switch-t small { font-size: .72rem; color: var(--muted); font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .sx-switch-t b { font-size: 1.02rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .sx-switch > svg:last-child { width: 20px; height: 20px; color: #7A7F86; flex: none; }
  .sx + .page-head { padding-top: 16px; }
  /* Benutzermenü als Blatt von unten */
  .mob-only { display: flex !important; }
  .dropdown-sep.mob-only { display: block !important; }
  .hdr-tools .dropdown.open { position: fixed; left: 0; right: 0; bottom: 0; top: auto; min-width: 0; max-height: 86vh; overflow: auto; border-radius: 22px 22px 0 0; border: 0; padding: 8px 14px calc(14px + env(safe-area-inset-bottom)); box-shadow: 0 0 0 100vmax rgba(20, 22, 26, .42), 0 -20px 50px rgba(0, 0, 0, .18); z-index: 310; }
  .hdr-tools .dropdown.open::before { content: ""; display: block; width: 40px; height: 5px; border-radius: 3px; background: #DDD9CE; margin: 2px auto 10px; }
  .hdr-tools .dropdown a, .hdr-tools .dropdown button { min-height: 50px; font-size: 1rem; }
  .hdr-tools .dropdown .icon { width: 20px; height: 20px; }
  /* Formulare: 16 px verhindert das Hineinzoomen auf dem iPhone */
  input:not([type=checkbox]):not([type=radio]):not([type=range]), select, textarea { font-size: 16px !important; }
  /* Tabellen seitlich wischbar statt abgeschnitten */
  .table { display: block; overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .table td, .table th { white-space: nowrap; }
  .page-head h1 { font-size: 1.65rem; }
  .page-head.row-between { flex-direction: column; align-items: stretch; gap: 12px; }
  /* Dialoge: von unten, volle Breite */
  .modal { align-items: flex-end; padding: 0; }
  .modal-box { max-width: none; border-radius: 22px 22px 0 0; max-height: 92vh; padding-bottom: env(safe-area-inset-bottom); }
  /* Hinweise über der Tab-Leiste */
  .toast-wrap, .toasts { bottom: calc(84px + env(safe-area-inset-bottom)) !important; }
  .site-footer { padding-bottom: 8px; }
}
@media (max-width: 700px) {
  .sm-row { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; grid-template-areas: "th main main" "th when st"; column-gap: 12px; row-gap: 4px; align-items: center; }
  .sm-row > :first-child { grid-area: th; }
  .sm-row-main { grid-area: main; }
  .sm-row-when { grid-area: when; font-size: .8rem; }
  .sm-row > :last-child { grid-area: st; justify-self: end; }
}
.flash:not(:has(.flash-close)):not(:has(> span, > div, > form)) { display: block; }

/* ---------- Foto mit Logo (2.11) ---------- */
.gr-tpl-photo { background: linear-gradient(135deg, #2E343B, #1D2125) !important; color: #fff !important; } .gr-tpl-photo small { color: #F2DDA6 !important; } .gr-tpl-photo .icon { width: 16px; height: 16px; vertical-align: -2px; }
.pb-sec { display: grid; gap: 12px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.pb-h { display: flex; align-items: center; gap: 10px; margin: 0; font-size: 1.05rem; }
.pb-h > span { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--suite-ink); color: #F2DDA6; font-size: .8rem; flex: none; }
.pb-h small { font-weight: 500; font-size: .8rem; }
.pb-h .switch { margin-left: auto; }
.switch { position: relative; display: inline-block; width: 46px; height: 28px; flex: none; cursor: pointer; }
.switch input { position: absolute; opacity: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; z-index: 1; }
.switch span { position: absolute; inset: 0; border-radius: 14px; background: #D9D6CC; transition: background .2s; }
.switch span::after { content: ""; position: absolute; top: 3px; left: 3px; width: 22px; height: 22px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.25); transition: transform .2s; }
.switch input:checked + span { background: var(--suite-gold); }
.switch input:checked + span::after { transform: translateX(18px); }
.switch input:disabled + span { opacity: .5; }
.switch input:focus-visible + span { outline: 2px solid var(--ink); outline-offset: 2px; }
.pb-opts { display: grid; gap: 12px; transition: opacity .2s; }
.pb-opts.off { opacity: .4; pointer-events: none; }
.pb-opts .seg { flex-wrap: wrap; }
.pb-row2 { display: flex; gap: 16px; flex-wrap: wrap; }
.pb-pos span { min-width: 34px; text-align: center; font-size: 1.05rem; }
.pb-zoom { display: flex; align-items: center; gap: 12px; font-weight: 600; font-size: .9rem; }
.pb-zoom input { flex: 1; accent-color: var(--suite-gold); }
.pb-thumbs { display: flex; gap: 8px; flex-wrap: wrap; }
.pb-thumbs:empty { display: none; }
.pb-thumb { position: relative; width: 74px; height: 74px; border-radius: 10px; overflow: hidden; cursor: pointer; border: 2px solid transparent; background: #eee; }
.pb-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; pointer-events: none; }
.pb-thumb.active { border-color: var(--suite-gold); box-shadow: 0 0 0 2px rgba(201, 164, 92, .3); }
.pb-thumb-n { position: absolute; left: 4px; bottom: 4px; min-width: 18px; height: 18px; border-radius: 9px; background: rgba(0,0,0,.6); color: #fff; font-size: .68rem; font-weight: 700; display: grid; place-items: center; padding: 0 4px; }
.pb-thumb-x { position: absolute; right: 3px; top: 3px; width: 24px; height: 24px; border-radius: 50%; border: 0; background: rgba(0,0,0,.6); color: #fff; font-size: 16px; line-height: 1; cursor: pointer; }
.pb-sp { display: grid; grid-template-columns: repeat(auto-fill, minmax(118px, 1fr)); gap: 8px; }
.pb-sp-item { position: relative; display: grid; gap: 6px; padding: 8px; border: 2px solid var(--line); border-radius: 12px; cursor: pointer; background: #fff; transition: border-color .15s; }
.pb-sp-item input { position: absolute; opacity: 0; }
.pb-sp-item.on { border-color: var(--suite-gold); background: #FBF6EA; }
.pb-sp-logo { height: 44px; display: grid; place-items: center; border-radius: 8px; background: #fff; padding: 4px; overflow: hidden; }
.pb-sp-logo.dark { background: #14171A; }
.pb-sp-logo img { max-width: 100%; max-height: 36px; object-fit: contain; }
.pb-sp-logo b { font-size: .72rem; text-align: center; }
.pb-sp-item small { font-size: .74rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pb-sp-n { position: absolute; top: -8px; right: -8px; min-width: 22px; height: 22px; border-radius: 11px; background: var(--suite-ink); color: #F2DDA6; font-size: .72rem; font-weight: 700; font-style: normal; display: none; place-items: center; }
.pb-sp-item.on .pb-sp-n { display: grid; }
.pb-stage { position: relative; }
.pb-stage canvas { touch-action: none; cursor: grab; }
.pb-stage canvas.dragging { cursor: grabbing; }
.pb-empty { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 6px; text-align: center; color: var(--muted); padding: 20px; pointer-events: none; }
.pb-empty .icon { width: 40px; height: 40px; color: #B9B4A6; }
.pb-empty b { color: var(--ink); }
.pb-nav { display: flex; align-items: center; justify-content: center; gap: 14px; margin-top: 10px; font-weight: 600; }
.pb-nav .btn { font-size: 1.3rem; min-width: 44px; }
.logo-tile.sel, .smp-item.sel { border-color: var(--suite-gold); box-shadow: 0 0 0 2px rgba(201, 164, 92, .35); }
@media (max-width: 1000px) { .pb-layout .pb-preview { order: -1; } }
.pb-sec .seg, .pb-opts .seg { align-self: start; justify-self: start; display: inline-flex; flex-wrap: wrap; gap: 2px; }
.pb-sec .seg label, .pb-opts .seg label { margin: 0; cursor: pointer; }
.pb-sec .seg span, .pb-opts .seg span { display: block; padding: 8px 13px; border-radius: 7px; font-weight: 600; font-size: .86rem; color: var(--muted); }
.pb-sec .seg input:checked + span { background: #fff; color: var(--ink); box-shadow: 0 1px 3px rgba(0,0,0,.08); }
.pb-sec .seg input:focus-visible + span { outline: 2px solid var(--suite-gold); }
.pb-opts > div > .label, .pb-row2 .label { display: block; margin-bottom: 6px; }

/* =====================================================================
   Member Suite (2.12)
   ===================================================================== */
.mb-chip { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px 3px 8px; border-radius: 999px; font-size: .76rem; font-weight: 600; white-space: nowrap; color: color-mix(in srgb, var(--c) 78%, #000); background: color-mix(in srgb, var(--c) 13%, #fff); }
.mb-chip::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--c); }
.mb-tag { display: inline-block; font-style: normal; font-size: .68rem; font-weight: 700; padding: 1px 7px; border-radius: 6px; background: #F2F1EC; color: #6B6F75; vertical-align: 1px; }
.mb-tag.active { background: #E8F5EC; color: #1F7A45; } .mb-tag.passive { background: #EEF0F3; color: #5B6470; } .mb-tag.left { background: #FBEAEA; color: #B33A3A; }
.row-actions { display: flex; gap: 8px; flex-wrap: wrap; }
/* Filter */
.mb-filter { display: flex; flex-wrap: wrap; gap: 8px; padding: 12px; margin-bottom: 16px; align-items: center; }
.mb-filter .mb-q { flex: 1 1 260px; }
.mb-filter select { width: auto; flex: 0 1 auto; }
/* Liste */
.mb-list { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.mb-row { display: grid; grid-template-columns: 34px minmax(200px, 2.2fr) 90px 70px minmax(150px, 2fr) minmax(140px, 1.6fr) 170px; gap: 12px; align-items: center; padding: 10px 14px; border-bottom: 1px solid var(--line); }
.mb-row:last-child { border-bottom: 0; }
.mb-row:not(.mb-head):hover { background: #FBFAF7; }
.mb-row.sel { background: #FBF6EA; }
.mb-row.left { opacity: .65; }
.mb-head { background: #FAF9F5; font-size: .72rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); font-weight: 600; padding-top: 9px; padding-bottom: 9px; }
.mb-chk { display: grid; place-items: center; }
.mb-chk input { width: 18px; height: 18px; }
.mb-name { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); min-width: 0; }
.mb-name > span:last-child { display: grid; min-width: 0; }
.mb-name b { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mb-name small { color: var(--muted); font-size: .78rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mb-no { font-variant-numeric: tabular-nums; color: var(--ink-2); font-size: .88rem; }
.mb-dept, .mb-fee { font-size: .88rem; min-width: 0; }
.mb-fee small { display: block; color: var(--muted); font-size: .76rem; }
.mb-bulkbar { position: sticky; top: 80px; z-index: 5; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; padding: 10px 12px; margin-bottom: 10px; background: var(--suite-ink); color: #fff; border-radius: 14px; box-shadow: 0 10px 30px -10px rgba(0,0,0,.35); }
.mb-bulkbar[hidden] { display: none; }
.mb-bulkbar select { width: auto; }
.mb-bulkbar .btn-outline, .mb-bulkbar .btn-ghost { color: #fff; border-color: rgba(255,255,255,.35); }
#mb-charges .mb-bulkbar { position: static; background: #fff; color: var(--ink); border: 1px solid var(--line); box-shadow: none; }
#mb-charges .mb-bulkbar .btn-outline { color: var(--ink); border-color: var(--line); }
.mb-empty h2 { margin-bottom: 4px; }
.mb-start { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; }
.mb-start-c { display: grid; gap: 4px; padding: 18px; border: 1px solid var(--line); border-radius: 14px; text-decoration: none; color: var(--ink); background: #FAF9F5; }
.mb-start-c:hover { border-color: var(--suite-gold); }
.mb-start-c .icon { width: 26px; height: 26px; color: var(--suite-gold-dark); }
.mb-start-c span { color: var(--muted); font-size: .86rem; }
/* Detail */
.mb-hero { display: flex; gap: 18px; align-items: center; }
.avatar.lg { width: 64px; height: 64px; font-size: 1.3rem; }
.mb-hero h1 { margin: 0 0 4px; }
.mb-quick { display: flex; gap: 8px; margin-top: 10px; flex-wrap: wrap; }
.back-link { display: inline-flex; align-items: center; gap: 6px; font-size: .86rem; color: var(--muted); text-decoration: none; margin-bottom: 10px; }
.back-link .icon { width: 15px; height: 15px; transform: rotate(180deg); }
.mb-h2 { display: flex; align-items: center; gap: 10px; margin: 0; font-size: 1.08rem; }
.mb-h2 .icon { width: 20px; height: 20px; color: var(--suite-gold-dark); }
.mb-h2 small { font-weight: 500; font-size: .78rem; }
.mb-r3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.mb-zip { grid-template-columns: 140px minmax(0, 1fr); }
.mb-need { box-shadow: inset 4px 0 0 var(--suite-gold); }
.mb-guard { padding: 14px; border: 1px dashed var(--line); border-radius: 14px; display: grid; gap: 12px; background: #FCFBF8; }
.mb-guards { display: grid; gap: 12px; }
.mb-guards:empty { display: none; }
.mb-guard-end { display: flex; flex-direction: column; justify-content: flex-end; gap: 6px; }
.mb-seg { display: inline-flex; flex-wrap: wrap; }
.mb-seg label { margin: 0; cursor: pointer; }
.mb-seg span { display: block; padding: 8px 14px; border-radius: 7px; font-weight: 600; font-size: .88rem; color: var(--muted); }
.mb-seg input:checked + span { background: #fff; color: var(--ink); box-shadow: 0 1px 3px rgba(0,0,0,.08); }
.mb-checks { display: flex; flex-wrap: wrap; gap: 8px; }
.mb-pill { margin: 0; cursor: pointer; }
.mb-pill input { position: absolute; opacity: 0; }
.mb-pill span { display: inline-block; padding: 8px 14px; border: 1px solid var(--line); border-radius: 999px; font-weight: 600; font-size: .88rem; background: #fff; }
.mb-pill input:checked + span { background: var(--suite-ink); color: #F2DDA6; border-color: var(--suite-ink); }
.mb-pill input:focus-visible + span { outline: 2px solid var(--suite-gold); }
.mb-privacy-status { display: flex; flex-wrap: wrap; gap: 8px; }
.mb-ps { margin: 0; cursor: pointer; }
.mb-ps input { position: absolute; opacity: 0; }
.mb-ps span { display: inline-flex; align-items: center; gap: 7px; padding: 8px 14px; border: 1.5px solid var(--line); border-radius: 999px; font-weight: 600; font-size: .86rem; background: #fff; }
.mb-ps span::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--c); }
.mb-ps input:checked + span { border-color: var(--c); background: color-mix(in srgb, var(--c) 12%, #fff); }
.mb-ps input:focus-visible + span { outline: 2px solid var(--ink); }
.mb-consents { display: grid; gap: 4px; }
.mb-consent { display: flex; gap: 12px; align-items: flex-start; margin: 0; padding: 10px 12px; border-radius: 12px; cursor: pointer; font-weight: 500; }
.mb-consent:hover { background: #FAF9F5; }
.mb-consent input { width: 20px; height: 20px; flex: none; margin-top: 1px; accent-color: var(--suite-gold-dark); }
.mb-savebar { position: sticky; bottom: 12px; display: flex; justify-content: flex-end; gap: 10px; padding: 12px; background: rgba(255,255,255,.94); backdrop-filter: blur(8px); border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 10px 30px -12px rgba(0,0,0,.25); z-index: 6; }
input.bad { border-color: #D64545 !important; } input.good { border-color: #1F9D55 !important; }
.mb-log { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; font-size: .86rem; color: var(--ink-2); }
.mb-log b { font-weight: 600; color: var(--ink); }
.mb-danger { margin-top: 20px; padding: 14px 0; border-top: 1px solid var(--line); }
.mb-mandate img { display: block; max-width: 320px; margin-top: 8px; border: 1px solid var(--line); border-radius: 8px; }
.mb-exit { grid-template-columns: 200px minmax(0, 1fr); }
/* Anträge */
.mb-app { display: grid; gap: 14px; margin-bottom: 16px; }
.mb-app-h { display: flex; justify-content: space-between; gap: 12px; align-items: flex-start; flex-wrap: wrap; }
.mb-app-h h2 { margin: 0 0 4px; }
.mb-dl { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 6px 16px; margin: 0; font-size: .92rem; }
.mb-dl dt { color: var(--muted); }
.mb-dl dd { margin: 0; }
.mb-cons-list { display: grid; gap: 2px; }
.mb-cons-list .yes { color: #1F7A45; } .mb-cons-list .no { color: #9A9FA6; }
.mb-sig img { max-width: 360px; width: 100%; border: 1px solid var(--line); border-radius: 10px; display: block; }
/* Tarife */
.mb-fee-table input, .mb-fee-table select { min-width: 0; }
.mb-fee-table td { vertical-align: middle; }
.mb-fee-table td:first-child input { min-width: 170px; font-weight: 600; }
.mb-eur { display: flex; align-items: center; gap: 6px; } .mb-eur input { width: 96px; text-align: right; }
.mb-age2 { display: flex; align-items: center; gap: 6px; } .mb-age2 input { width: 58px; text-align: center; }
.mb-new td:first-child input { border-style: dashed; }
/* Beitragsläufe */
.mb-run-pick, .mb-run-go { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 14px; }
.mb-run-pick label, .mb-run-go label { display: grid; gap: 4px; margin: 0; }
.mb-warn summary { cursor: pointer; font-weight: 600; color: #A86A00; }
.mb-warn ul { margin: 8px 0 0; padding-left: 20px; }
/* Auswertung */
.mb-kpis { margin-bottom: 20px; }
.mb-grid2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); gap: 18px; }
.mb-grid2 .mb-h2 { margin-bottom: 14px; }
.mb-bars { display: grid; gap: 8px; }
.mb-bar { display: grid; grid-template-columns: 130px minmax(0, 1fr) 40px; align-items: center; gap: 10px; font-size: .88rem; color: var(--ink); text-decoration: none; }
.mb-bar i { height: 10px; border-radius: 5px; background: #F2F1EC; overflow: hidden; }
.mb-bar i b { display: block; height: 100%; border-radius: 5px; }
.mb-bar em { font-style: normal; font-weight: 700; text-align: right; font-variant-numeric: tabular-nums; }
.mb-dates { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.mb-dates li { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; padding: 8px; border-radius: 12px; }
.mb-dates li.round { background: #FBF6EA; }
.mb-dates a { font-weight: 600; color: var(--ink); }
.mb-dates .muted { font-size: .84rem; }
.mb-date { display: grid; place-items: center; width: 52px; height: 48px; border-radius: 10px; background: var(--suite-ink); color: #F2DDA6; font-size: .68rem; line-height: 1.1; flex: none; }
.mb-date b { font-size: 1.05rem; color: #fff; }
.mb-inline { margin-left: auto; }
/* Einstellungen */
.mb-apply-link { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 18px; align-items: start; padding: 14px; border: 1px solid var(--line); border-radius: 14px; background: #FAF9F5; }
#mb-qr svg { width: 150px; height: 150px; display: block; background: #fff; border-radius: 10px; padding: 6px; }
.mb-depts { display: grid; gap: 8px; }
.mb-dept { display: flex; gap: 10px; align-items: center; }
.mb-dept.off input { opacity: .55; }
/* Import */
.mb-drop { display: grid; justify-items: center; gap: 6px; padding: 34px 20px; border: 2px dashed var(--line); border-radius: 16px; text-align: center; cursor: pointer; background: #FAF9F5; }
.mb-drop .icon { width: 34px; height: 34px; color: var(--suite-gold-dark); }
.mb-drop input { margin-top: 8px; max-width: 320px; }
.mb-imp-h { display: grid; gap: 6px; min-width: 150px; text-transform: none; letter-spacing: 0; }
.mb-imp-h b { color: var(--ink); font-size: .82rem; }
.mb-imp-h select { font-size: .85rem; }
.mb-imp-h select.dup { border-color: #E09B12; }
.mb-imp-table td { white-space: nowrap; font-size: .85rem; }
/* Online-Antrag (öffentlich) */
body.ap-body { background: #F4F3EF; }
.ap-wrap { max-width: 720px; margin: 0 auto; padding: 18px 16px 60px; display: grid; gap: 16px; }
.ap-head { display: flex; align-items: center; gap: 14px; padding: 6px 0; }
.ap-head img { width: 56px; height: 56px; object-fit: contain; }
.ap-head small { display: block; font-size: .72rem; text-transform: uppercase; letter-spacing: .14em; color: var(--suite-gold-dark); font-weight: 700; }
.ap-head b { font-size: 1.15rem; }
.ap-title { margin: 6px 0 0; font-size: 2rem; }
.ap-form { gap: 16px; }
.ap-h { display: flex; align-items: center; gap: 10px; margin: 0; font-size: 1.1rem; }
.ap-h span { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--suite-ink); color: #F2DDA6; font-size: .82rem; }
.ap-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.ap-fees { display: grid; gap: 8px; }
.ap-fee { display: flex; gap: 12px; align-items: center; margin: 0; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 14px; cursor: pointer; background: #fff; }
.ap-fee[hidden] { display: none; }
.ap-fee input { width: 20px; height: 20px; accent-color: var(--suite-gold-dark); }
.ap-fee span { display: grid; } .ap-fee small { color: var(--muted); }
.ap-fee:has(input:checked) { border-color: var(--suite-gold); background: #FBF6EA; }
.ap-legal { font-size: .8rem; color: var(--muted); margin: 0; line-height: 1.5; }
.ap-sig { position: relative; }
.ap-sig canvas { width: 100%; height: auto; aspect-ratio: 3 / 1; border: 2px dashed var(--line); border-radius: 14px; background: #fff; touch-action: none; display: block; }
.ap-sig canvas.signed { border-style: solid; border-color: var(--suite-gold); }
.ap-sig button { position: absolute; right: 8px; top: 8px; }
.ap-sig::after { content: "Hier unterschreiben"; position: absolute; left: 16px; bottom: 14px; font-size: .78rem; color: #B9B4A6; pointer-events: none; border-top: 1px solid #DDD9CE; padding-top: 4px; width: 50%; }
.ap-submit { font-size: 1.05rem; padding: 16px; }
.ap-more summary { cursor: pointer; font-weight: 600; font-size: .9rem; }
.ap-done { text-align: center; display: grid; justify-items: center; gap: 6px; padding: 40px 20px; }
.ap-ok { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: #E8F5EC; color: #1F9D55; }
.ap-ok .icon { width: 32px; height: 32px; }
/* Handy */
@media (max-width: 760px) {
  .mb-row { grid-template-columns: 30px minmax(0, 1fr) auto; grid-template-areas: "c n p" "c d d" "c f f"; row-gap: 4px; padding: 12px; }
  .mb-head { display: none; }
  .mb-row .mb-chk { grid-area: c; align-self: start; padding-top: 8px; }
  .mb-row .mb-name { grid-area: n; }
  .mb-row .mb-priv { grid-area: p; }
  .mb-row .mb-no, .mb-row .mb-age { display: none; }
  .mb-row .mb-dept { grid-area: d; padding-left: 42px; color: var(--ink-2); }
  .mb-row .mb-fee { grid-area: f; padding-left: 42px; }
  .mb-row .mb-fee small { display: inline; margin-left: 4px; }
  .mb-priv .mb-chip { font-size: 0; padding: 6px; gap: 0; }
  .mb-filter select { flex: 1 1 45%; }
  .mb-r3, .mb-zip, .mb-exit { grid-template-columns: 1fr; }
  .mb-dl { grid-template-columns: 1fr; gap: 0 0; } .mb-dl dt { margin-top: 8px; font-size: .78rem; }
  .mb-apply-link { grid-template-columns: 1fr; justify-items: start; }
  .mb-bar { grid-template-columns: 100px minmax(0, 1fr) 34px; }
  .mb-bulkbar { top: 64px; }
  .mb-savebar { bottom: calc(80px + env(safe-area-inset-bottom)); }
  .mb-hero { align-items: flex-start; }
  .ap-title { font-size: 1.6rem; }
}
@media (min-width: 701px) and (max-width: 860px) {
  .main-nav > a { padding: 8px 7px; font-size: .9rem; }
  .main-nav .nav-badge { margin-left: 2px; }
  .hdr-search { width: 38px; height: 38px; }
  .header-inner { gap: 8px; }
}
@media (min-width: 861px) and (max-width: 1100px) { .main-nav > a { padding-left: 10px; padding-right: 10px; } }
.mb-ftoggle { display: none; }
@media (max-width: 760px) {
  .mb-ftoggle { display: inline-flex; flex: none; }
  .mb-filter .mb-q { flex: 1 1 0; min-width: 0; }
  .mb-filter:not(.open) select, .mb-filter:not(.open) > .btn-ghost { display: none; }
}

/* Ergebnisse der Woche: Design-Auswahl (2.12.1) */
.rl-styles { display: flex; gap: 12px; flex-wrap: wrap; }
.rl-style { display: grid; gap: 6px; justify-items: center; cursor: pointer; }
.rl-style input { position: absolute; opacity: 0; pointer-events: none; }
.rl-sw { position: relative; width: 104px; aspect-ratio: 4 / 5; border-radius: 10px; overflow: hidden; display: flex; flex-direction: column; justify-content: center; padding: 0 10px;
  font: 400 .78rem/1.05 Anton, Oswald, sans-serif; letter-spacing: .02em; border: 2px solid var(--line); box-shadow: 0 1px 3px rgba(0,0,0,.08); }
.rl-sw i { position: absolute; top: 0; right: 0; width: 34px; height: 34px; clip-path: polygon(0 0, 100% 0, 100% 100%); }
.rl-sw em { position: absolute; left: 0; right: 0; bottom: 0; height: 6px; }
.rl-n { font-size: .85rem; font-weight: 600; color: var(--muted); }
.rl-style input:checked + .rl-sw { border-color: var(--yellow); box-shadow: 0 0 0 3px rgba(201,164,92,.35); }
.rl-style input:checked ~ .rl-n { color: var(--ink); }
.rl-style input:focus-visible + .rl-sw { outline: 2px solid var(--ink); outline-offset: 2px; }
.gd-games { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.gd-games li { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border: 1px solid var(--line); border-radius: 10px; background: #fff; }
.gd-games li.off { background: var(--paper); }
.gd-games li.off .tx { opacity: .55; text-decoration: line-through; }
.gd-games .tx { flex: 1; min-width: 0; display: grid; }
.gd-games .tx b, .gd-games .tx small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.gd-games li.cx { opacity: .7; }
.gd-games .sw { position: relative; width: 42px; height: 24px; flex: none; }
.gd-games .sw input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; z-index: 1; }
.gd-games .sw span { position: absolute; inset: 0; border-radius: 12px; background: #c9ccd0; transition: background .15s; }
.gd-games .sw span::after { content: ''; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; transition: transform .15s; box-shadow: 0 1px 2px rgba(0,0,0,.2); }
.gd-games .sw input:checked + span { background: var(--yellow); }
.gd-games .sw input:checked + span::after { transform: translateX(18px); }
.gd-games .sw input:disabled { cursor: not-allowed; }
.gd-games .sw input:focus-visible + span { outline: 2px solid var(--ink); outline-offset: 2px; }

/* =====================================================================
   Event Suite (2.13): Turniertage, Turniere, Turnierleitung, Live-Seite & Monitor
   ===================================================================== */
.ev-dot { display: inline-block; width: 12px; height: 12px; border-radius: 50%; background: var(--tc, var(--suite-gold)); flex: none; }
.ev-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 14px; flex-wrap: wrap; }
.ev-head-a { display: flex; gap: 8px; flex-wrap: wrap; }
.ev-head-a form { display: contents; }
.ev-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 18px; align-items: start; }
.ev-r4 { grid-template-columns: 2fr 1.2fr 1.4fr 1fr; gap: 12px; }
.ev-days { display: grid; gap: 10px; margin-bottom: 18px; }
.ev-day-card { display: flex; align-items: center; gap: 16px; padding: 14px 18px; text-decoration: none; color: inherit; transition: box-shadow .15s; }
.ev-day-card:hover { box-shadow: var(--shadow-hover); }
.ev-day-card.is-today { border-left: 4px solid var(--suite-gold); }
.ev-date { display: grid; place-items: center; width: 58px; height: 58px; border-radius: 12px; background: var(--suite-ink); color: #fff; flex: none; line-height: 1; }
.ev-date b { font-size: 1.5rem; } .ev-date small { font-size: .62rem; letter-spacing: .08em; color: var(--suite-gold); font-weight: 700; }
.ev-day-t { flex: 1; min-width: 0; display: grid; gap: 2px; } .ev-day-t small { color: var(--muted); }
.ev-day-s { display: flex; gap: 6px; flex-wrap: wrap; justify-content: flex-end; }
.ev-tours { display: grid; gap: 8px; margin: 12px 0; }
.ev-tour { display: grid; grid-template-columns: minmax(0, 1fr) auto auto auto 18px; gap: 16px; align-items: center; padding: 12px 14px 12px 18px; border: 1px solid var(--line); border-left: 5px solid var(--tc); border-radius: 12px; text-decoration: none; color: inherit; background: #fff; }
.ev-tour:hover { border-color: var(--line-2); border-left-color: var(--tc); box-shadow: var(--shadow); }
.ev-tour-n { display: grid; min-width: 0; } .ev-tour-n b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .ev-tour-n small, .ev-tour-m small { color: var(--muted); font-size: .74rem; }
.ev-tour-m { display: grid; text-align: right; } .ev-tour-m b { font-size: .95rem; }
.ev-add summary { list-style: none; display: inline-flex; cursor: pointer; } .ev-add summary::-webkit-details-marker { display: none; }
.ev-posts { margin: 10px 0 0; padding: 0; list-style: none; display: grid; gap: 6px; } .ev-posts li { display: flex; gap: 8px; align-items: center; justify-content: space-between; }
.ev-qr-row { display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 14px; align-items: center; }
.ev-qr-row #ev-qr svg { width: 110px; height: 110px; display: block; }
.ev-qr-row input { width: 100%; font-size: .82rem; }
.ev-fields { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 8px; }
.ev-max { display: grid; gap: 6px; } .ev-max-r { display: flex; justify-content: space-between; align-items: center; gap: 10px; font-size: .88rem; } .ev-max-r input { width: 80px; }
.ev-del { text-align: right; }
.seg-radio { border: 0; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 6px 16px; } .seg-radio legend { margin-bottom: 4px; } .seg-radio label { display: inline-flex; gap: 6px; align-items: center; font-size: .9rem; }
/* Zeitachse */
.ev-legend { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 10px; font-size: .85rem; } .ev-legend span { display: inline-flex; gap: 6px; align-items: center; } .ev-legend i { width: 12px; height: 12px; border-radius: 3px; background: var(--tc); }
.ev-tl-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.ev-tl { position: relative; display: grid; grid-template-columns: 56px repeat(var(--cols), minmax(170px, 1fr)); min-width: calc(56px + var(--cols) * 170px); }
.ev-tl-times { position: relative; border-right: 1px solid var(--line); }
.ev-tl-times span { position: absolute; left: 8px; font-size: .72rem; color: var(--muted); transform: translateY(-50%); }
.ev-tl-col { position: relative; border-right: 1px solid var(--line); background: repeating-linear-gradient(to bottom, transparent 0 131px, var(--line) 131px 132px); background-position: 0 30px; }
.ev-tl-h { position: sticky; top: 0; display: block; padding: 6px 10px; font-size: .82rem; background: var(--paper); border-bottom: 1px solid var(--line); z-index: 2; }
.ev-tl-m { position: absolute; left: 4px; right: 4px; border: 0; border-left: 4px solid var(--tc); border-radius: 6px; background: color-mix(in srgb, var(--tc) 14%, white); text-align: left; padding: 3px 6px; overflow: hidden; cursor: pointer; font: inherit; display: grid; align-content: start; line-height: 1.2; }
.ev-tl-m small { font-size: .66rem; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ev-tl-m b { font-size: .74rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-weight: 600; }
.ev-tl-m i { position: absolute; right: 6px; top: 3px; font-style: normal; font-weight: 700; font-size: .78rem; }
.ev-tl-m:hover:not(:disabled) { box-shadow: 0 2px 8px rgba(0,0,0,.15); z-index: 3; }
.ev-tl-m.st-done { opacity: .6; cursor: default; } .ev-tl-m.st-live { box-shadow: 0 0 0 2px var(--danger); cursor: default; }
/* Anmeldungen */
.ev-regs h2 { display: flex; gap: 10px; align-items: center; }
.ev-regs .ev-dot { background: var(--tc); }
.ev-reg-list { display: grid; gap: 8px; margin-top: 10px; }
.ev-reg { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 12px; align-items: center; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; }
.ev-reg.st-pending { border-color: #BCD6FA; background: #F5F9FF; } .ev-reg.st-withdrawn { opacity: .6; }
.ev-reg-n { display: grid; min-width: 0; } .ev-reg-n small { color: var(--muted); } .ev-note { font-style: italic; }
.ev-st { font-size: .74rem; font-weight: 700; color: var(--sc); border: 1px solid color-mix(in srgb, var(--sc) 40%, white); border-radius: 50px; padding: 3px 9px; white-space: nowrap; }
.ev-reg-a { display: flex; gap: 6px; flex-wrap: wrap; justify-content: flex-end; }
/* Turnier */
.ev-teams { display: grid; gap: 6px; }
.ev-team { display: grid; grid-template-columns: 36px minmax(0, 1fr) auto auto; gap: 8px; align-items: center; position: relative; }
.ev-team.off { opacity: .55; }
.ev-logo { width: 36px; height: 36px; border-radius: 8px; background: var(--paper); display: grid; place-items: center; overflow: hidden; border: 1px solid var(--line); }
.ev-logo img { width: 30px; height: 30px; object-fit: contain; } .ev-logo b { font-size: .72rem; color: var(--muted); }
.ev-grp { width: 64px; }
.ev-team-more summary { list-style: none; cursor: pointer; padding: 6px; border-radius: 8px; color: var(--muted); } .ev-team-more summary::-webkit-details-marker { display: none; }
.ev-team-more[open] { grid-column: 1 / -1; order: 9; } .ev-team-more[open] summary { display: none; }
.ev-team-more[open] > div { padding: 10px 12px; background: var(--paper); border-radius: 10px; }
.ev-modes { border: 0; padding: 0; margin: 0; display: grid; gap: 6px; } .ev-modes legend { margin-bottom: 4px; }
.ev-mode { display: flex; gap: 10px; align-items: flex-start; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; cursor: pointer; }
.ev-mode:has(input:checked) { border-color: var(--suite-gold); background: #FCF8EF; } .ev-mode span { display: grid; } .ev-mode small { color: var(--muted); font-size: .78rem; }
.ev-fieldpick { display: flex; gap: 4px 14px; flex-wrap: wrap; }
.ev-colors { display: flex; gap: 6px; margin-top: 4px; } .ev-colors label { cursor: pointer; } .ev-colors input { position: absolute; opacity: 0; pointer-events: none; }
.ev-colors i { display: block; width: 26px; height: 26px; border-radius: 50%; border: 3px solid #fff; box-shadow: 0 0 0 1px var(--line-2); } .ev-colors input:checked + i { box-shadow: 0 0 0 2px var(--ink); } .ev-colors input:focus-visible + i { outline: 2px solid var(--ink); outline-offset: 2px; }
.ev-mt td { vertical-align: middle; } .ev-mt td.r, .ev-mt th.r, .ev-tab .r { text-align: right; } .ev-mt tr.st-done td { color: var(--ink-2); } .ev-mt tr.st-cancelled td { text-decoration: line-through; color: var(--muted); }
.ev-stage td { background: var(--paper); font-weight: 700; font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.ev-live-dot { display: inline-block; background: var(--danger); color: #fff; font-size: .62rem; font-weight: 800; letter-spacing: .08em; padding: 2px 6px; border-radius: 4px; animation: evPulse 1.4s infinite; }
@keyframes evPulse { 50% { opacity: .55; } }
.ev-tables { display: grid; grid-template-columns: repeat(auto-fit, minmax(330px, 1fr)); gap: 14px; }
.ev-tab th, .ev-tab td { white-space: nowrap; } .ev-tab td:nth-child(2) { white-space: normal; }
.ev-tab tr.ev-tie td { background: #FFF4E5; }
.ev-rank { margin: 0 0 10px; padding-left: 26px; columns: 2; } .ev-rank li { margin: 2px 0; } .ev-rank li:first-child { font-weight: 700; }
/* Anmeldung (öffentlich) */
.ev-reg-t { border: 1px solid var(--line); border-left: 4px solid var(--tc); border-radius: 12px; padding: 12px 14px; display: grid; gap: 8px; }
.ev-reg-t legend { display: flex; gap: 8px; align-items: center; font-weight: 700; padding: 0 6px; } .ev-reg-t .ev-dot { background: var(--tc); }
.ev-reg-n { max-width: 200px; } .ev-reg-names { display: grid; gap: 6px; } .ev-reg-done { padding-left: 18px; }

/* ---------- Turnierleitung ---------- */
.ec-top { display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; flex-wrap: wrap; margin: 18px 0 12px; }
.ec-top-a { display: flex; gap: 8px; flex-wrap: wrap; }
.ec-notice { display: flex; gap: 8px; align-items: center; background: var(--suite-ink); color: #fff; border-radius: 12px; padding: 8px 10px; margin-bottom: 12px; flex-wrap: wrap; }
.ec-notice label { display: flex; gap: 6px; align-items: center; font-size: .8rem; font-weight: 600; color: var(--suite-gold); white-space: nowrap; }
.ec-notice input { flex: 1; min-width: 200px; background: rgba(255,255,255,.1); border-color: transparent; color: #fff; }
.ec-notice input::placeholder { color: rgba(255,255,255,.5); }
.ec-filter { display: flex; gap: 6px; overflow-x: auto; padding-bottom: 4px; margin-bottom: 10px; }
.ec-filter button { display: inline-flex; gap: 6px; align-items: center; border: 1px solid var(--line-2); background: #fff; border-radius: 50px; padding: 7px 14px; font: 600 .85rem var(--font); cursor: pointer; white-space: nowrap; }
.ec-filter button i { width: 10px; height: 10px; border-radius: 50%; background: var(--tc); }
.ec-filter button.on { background: var(--suite-ink); color: #fff; border-color: var(--suite-ink); }
.ec-alerts { display: grid; gap: 8px; margin-bottom: 10px; } .ec-alerts .flash { display: flex; gap: 10px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.ec-fields { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr)); gap: 14px; margin-bottom: 18px; }
.ec-field { padding: 0; overflow: hidden; }
.ec-field > header { display: flex; justify-content: space-between; align-items: center; padding: 10px 14px; background: var(--suite-ink); color: #fff; }
.ec-field > header small { color: rgba(255,255,255,.65); }
.ec-free { padding: 24px 16px; text-align: center; color: var(--muted); margin: 0; }
.ec-m { padding: 12px 14px 14px; border-top: 4px solid var(--tc); }
.ec-m.is-live { background: linear-gradient(#fff, #FFF9F0); }
.ec-m-sub { font-size: .8rem; color: var(--muted); display: flex; gap: 6px; align-items: center; flex-wrap: wrap; }
.ec-delay { color: var(--danger); font-weight: 700; }
.ec-m-board { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); gap: 10px; align-items: center; margin: 12px 0 6px; }
.ec-team { display: grid; justify-items: center; gap: 6px; text-align: center; min-width: 0; }
.ec-team img { width: 48px; height: 48px; object-fit: contain; } .ec-team > b { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: var(--paper); color: var(--muted); }
.ec-team span { font-weight: 700; font-size: .95rem; line-height: 1.2; overflow-wrap: break-word; hyphens: auto; -webkit-hyphens: auto; max-width: 100%; }
.ec-score { display: flex; align-items: center; gap: 8px; }
.ec-num { font-size: 2.6rem; font-weight: 800; min-width: 36px; text-align: center; font-variant-numeric: tabular-nums; } .ec-score i { font-style: normal; font-size: 1.8rem; color: var(--muted); }
.ec-g { width: 54px; height: 54px; border-radius: 50%; border: 0; background: var(--suite-gold); color: #fff; font-size: 1.8rem; font-weight: 800; cursor: pointer; box-shadow: 0 3px 0 #9A7333; touch-action: manipulation; }
.ec-g:active { transform: translateY(2px); box-shadow: 0 1px 0 #9A7333; }
.ec-minus { display: flex; justify-content: center; align-items: center; gap: 10px; margin-bottom: 8px; }
.ec-gm { border: 1px solid var(--line-2); background: #fff; border-radius: 8px; padding: 4px 10px; font: 600 .78rem var(--font); color: var(--muted); cursor: pointer; }
.ec-time { font: 800 1.5rem var(--mono); font-variant-numeric: tabular-nums; } .ec-time.over { color: var(--danger); animation: evPulse 1s infinite; }
.ec-m-act { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; margin-top: 6px; }
.ec-big { padding: 12px 22px; font-size: 1rem; min-width: 150px; }
.ec-next { list-style: none; margin: 0; padding: 8px 14px 12px; border-top: 1px solid var(--line); display: grid; gap: 4px; font-size: .84rem; }
.ec-next li { display: grid; grid-template-columns: 46px minmax(0, 1fr); column-gap: 8px; } .ec-next li span { color: var(--muted); font-variant-numeric: tabular-nums; } .ec-next li small { grid-column: 2; color: var(--muted); font-size: .74rem; }
.ec-next .ec-next-h { display: block; font-size: .7rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); font-weight: 700; }
.ec-list { display: grid; gap: 4px; margin-top: 10px; }
.ec-row-m { display: grid; grid-template-columns: 54px 70px minmax(0, 1fr) auto; gap: 10px; align-items: center; text-align: left; border: 1px solid var(--line); border-left: 4px solid var(--tc); background: #fff; border-radius: 8px; padding: 8px 10px; font: inherit; cursor: pointer; }
.ec-row-m:hover { border-color: var(--line-2); border-left-color: var(--tc); }
.ec-row-m.st-live { background: #FFF9F0; } .ec-row-m.st-cancelled { opacity: .55; }
.ec-lt { font-variant-numeric: tabular-nums; font-weight: 600; display: grid; } .ec-lt small { color: var(--danger); font-size: .7rem; }
.ec-lf { font-size: .8rem; color: var(--muted); } .ec-ln { display: grid; min-width: 0; } .ec-ln b { font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .ec-ln small { color: var(--muted); font-size: .74rem; }
.ec-lr { text-align: right; display: grid; } .ec-lr small { color: var(--muted); font-size: .7rem; }
.ec-tools { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 14px; }
.ec-tool { display: grid; gap: 4px; } .ec-row { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 4px; } .ec-row select { flex: 1; min-width: 120px; }
.ec-res-row { display: grid; grid-template-columns: minmax(0, 1fr) 64px auto 64px minmax(0, 1fr); gap: 8px; align-items: center; }
.ec-res-row span:first-child { text-align: right; font-weight: 600; } .ec-res-row span:last-child { font-weight: 600; }
.ec-res-row input { text-align: center; font-size: 1.3rem; font-weight: 700; padding: 8px 4px; }
.ec-pen span:first-child { font-size: .82rem; color: var(--muted); font-weight: 600; }
.ec-lot-list { margin: 0; padding-left: 22px; display: grid; gap: 6px; } .ec-lot-list li span { display: inline-block; min-width: 180px; font-weight: 600; }

/* ---------- Live-Seite (öffentlich) ---------- */
.evl-body { background: #F2F1EC; }
body.evl-body { background: #F2F1EC; }
.evl { max-width: 760px; margin: 0 auto; padding: 0 0 30px; }
.evl-preview { background: #FFF4E5; color: #8A4B00; text-align: center; padding: 8px; font-size: .85rem; }
.evl-head { display: flex; align-items: center; gap: 12px; padding: 14px 16px; background: var(--suite-ink); color: #fff; position: sticky; top: 0; z-index: 5; }
.evl-head img { width: 44px; height: 44px; object-fit: contain; }
.evl-head > div { flex: 1; min-width: 0; display: grid; line-height: 1.25; }
.evl-head small { font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; color: var(--suite-gold); font-weight: 700; }
.evl-head b { font-size: 1.05rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .evl-head span { font-size: .78rem; color: rgba(255,255,255,.7); }
.evl-clock { font: 700 1rem var(--mono); color: var(--suite-gold); }
.evl-fs { background: transparent; border: 1px solid rgba(255,255,255,.3); color: #fff; border-radius: 8px; font-size: 1.1rem; padding: 4px 8px; cursor: pointer; }
.evl-notice { background: var(--suite-gold); color: #1B1F24; font-weight: 700; padding: 10px 16px; text-align: center; }
.evl-main { padding: 0 12px; }
.evl-loading, .evl-empty { color: var(--muted); text-align: center; padding: 16px; margin: 0; }
.evl-tabs { display: flex; gap: 6px; overflow-x: auto; padding: 12px 0 4px; }
.evl-tabs button, .evl-views button { border: 1px solid var(--line-2); background: #fff; border-radius: 50px; padding: 7px 13px; font: 600 .85rem var(--font); cursor: pointer; white-space: nowrap; display: inline-flex; gap: 6px; align-items: center; color: var(--ink); }
.evl-tabs button i { width: 10px; height: 10px; border-radius: 50%; background: var(--tc); }
.evl-tabs button.on { background: var(--suite-ink); border-color: var(--suite-ink); color: #fff; }
.evl-views { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin: 8px 0 4px; background: #fff; border: 1px solid var(--line-2); border-radius: 12px; padding: 3px; }
.evl-views button { border: 0; border-radius: 9px; justify-content: center; }
.evl-views button.on { background: var(--suite-gold); color: #1B1F24; }
.evl-body section { margin-top: 14px; }
.evl-body h3 { font-size: .78rem; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); margin: 0 0 8px; display: flex; gap: 8px; align-items: center; }
.evl-tc { width: 10px; height: 10px; border-radius: 50%; background: var(--tc); display: inline-block; }
.evl-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--danger); display: inline-block; animation: evPulse 1.2s infinite; }
.evl-m { background: #fff; border-radius: 12px; border-left: 4px solid var(--tc); padding: 8px 12px 10px; margin-bottom: 8px; box-shadow: 0 1px 2px rgba(0,0,0,.04); }
.evl-m.is-live { box-shadow: 0 0 0 2px color-mix(in srgb, var(--danger) 60%, transparent), 0 6px 16px rgba(0,0,0,.06); }
.evl-m.st-done { opacity: .92; } .evl-m.st-cancelled { opacity: .5; }
.evl-m-sub { display: flex; justify-content: space-between; gap: 8px; font-size: .72rem; color: var(--muted); margin-bottom: 6px; }
.evl-m-sub span:first-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .evl-m-sub span:last-child { white-space: nowrap; } .evl-m-sub em { color: var(--danger); font-style: normal; font-weight: 700; }
.evl-live { color: var(--danger); }
.evl-m-row { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); gap: 10px; align-items: center; }
.evl-t { display: flex; gap: 8px; align-items: center; min-width: 0; font-weight: 600; font-size: .92rem; line-height: 1.2; } .evl-t.r { justify-content: flex-end; text-align: right; }
.evl-t img, .evl-t > b, .evl-tt img, .evl-tt > b, .evl-rank li img, .evl-rank li > b { width: 30px; height: 30px; object-fit: contain; flex: none; }
.evl-t > b, .evl-tt > b, .evl-rank li > b { border-radius: 50%; background: #ECEAE4; display: grid; place-items: center; font-size: .62rem; color: var(--muted); }
.evl-t span { overflow-wrap: break-word; hyphens: auto; -webkit-hyphens: auto; min-width: 0; }
.evl-sc { font-weight: 800; font-size: 1.25rem; font-variant-numeric: tabular-nums; white-space: nowrap; } .evl-sc i { font-style: normal; color: var(--muted); margin: 0 3px; } .evl-sc.big { font-size: 1.7rem; }
.evl-vs { color: var(--muted); font-size: .85rem; font-weight: 600; }
.evl-pen { display: block; text-align: center; font-size: .66rem; color: var(--muted); grid-column: 2; }
.evl-champ { display: flex; gap: 10px; align-items: center; background: var(--suite-ink); color: #fff; border-radius: 12px; padding: 12px 14px; margin-top: 12px; border-left: 5px solid var(--tc); }
.evl-champ span { color: rgba(255,255,255,.7); font-size: .85rem; } .evl-champ b { margin-left: auto; color: var(--suite-gold); }
.evl-tab { background: #fff; border-radius: 12px; padding: 10px 12px; margin-bottom: 10px; }
.evl-tab h4, .evl-rank h4, .evl-ko h4 { margin: 0 0 6px; font-size: .85rem; } .evl-tab h4 small { color: var(--success); }
.evl-tab table { width: 100%; border-collapse: collapse; font-size: .86rem; }
.evl-tab th { font-size: .66rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); text-align: right; padding: 4px; font-weight: 600; } .evl-tab th:nth-child(2) { text-align: left; }
.evl-tab td { padding: 5px 4px; border-top: 1px solid var(--line); text-align: right; font-variant-numeric: tabular-nums; } .evl-tab td:nth-child(2) { text-align: left; } .evl-tab td:first-child { color: var(--muted); width: 22px; }
.evl-tab tr.own td { background: #FCF8EF; }
.evl-tt { display: flex; gap: 8px; align-items: center; } .evl-tt img, .evl-tt > b { width: 22px; height: 22px; }
.evl-rank { background: #fff; border-radius: 12px; padding: 10px 12px; margin-bottom: 10px; }
.evl-rank ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.evl-rank li { display: flex; gap: 10px; align-items: center; padding: 4px 0; } .evl-rank .pl { width: 28px; font-weight: 800; color: var(--muted); }
.evl-rank li.p1 { font-size: 1.1rem; } .evl-rank li.p1 .pl { color: var(--suite-gold-dark); } .evl-rank li.p1 b::after { content: " 🏆"; }
.evl-ko { display: grid; gap: 8px; }
.evl-info { margin: 18px 12px 0; background: #fff; border-radius: 12px; padding: 12px 14px; } .evl-info h3 { margin: 0 0 4px; font-size: .9rem; } .evl-info p { margin: 0; font-size: .9rem; }
.evl-foot { display: flex; gap: 12px; align-items: center; justify-content: center; flex-wrap: wrap; padding: 14px; margin: 18px 12px 0; background: #fff; border-radius: 12px; }
.evl-sp-l { width: 100%; text-align: center; font-size: .66rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); font-weight: 700; }
.evl-sp { display: grid; place-items: center; padding: 8px 14px; border-radius: 10px; background: #fff; min-height: 52px; } .evl-sp.dark { background: #14171A; color: #fff; }
.evl-sp img { max-height: 40px; max-width: 160px; object-fit: contain; }
/* Hallen-Monitor (16:9, Vollbild) */
body.evl-monitor { background: #1B1F24; color: #fff; overflow: hidden; }
.evl-monitor .evl { max-width: none; height: 100vh; display: grid; grid-template-rows: auto auto 1fr auto; padding: 0; }
.evl-monitor .evl-head { position: static; padding: 1.2vh 2vw; background: #23272C; } .evl-monitor .evl-head img { width: 6vh; height: 6vh; }
.evl-monitor .evl-head b { font-size: 3vh; } .evl-monitor .evl-head span { font-size: 1.8vh; } .evl-monitor .evl-clock { font-size: 4vh; }
.evl-monitor .evl-notice { font-size: 2.6vh; padding: 1vh 2vw; }
.evl-monitor .evl-main { padding: 1.6vh 2vw; min-height: 0; }
.evm { display: grid; grid-template-columns: 1.15fr 1fr; gap: 2vw; height: 100%; min-height: 0; }
.evm h2, .evm h3 { color: var(--suite-gold); font-size: 2.2vh; letter-spacing: .14em; text-transform: uppercase; margin: 0 0 1.2vh; display: flex; gap: .8vw; align-items: center; }
.evm-live, .evm-side { min-height: 0; overflow: hidden; display: flex; flex-direction: column; }
.evm-f { margin-bottom: 1.4vh; } .evm-fn { display: block; font-size: 1.7vh; color: rgba(255,255,255,.6); font-weight: 700; letter-spacing: .1em; text-transform: uppercase; margin-bottom: .5vh; }
.evl-monitor .evl-m { background: #2A2F35; color: #fff; padding: 1.2vh 1.2vw; border-radius: 1.2vh; margin-bottom: 1vh; box-shadow: none; }
.evl-monitor .evl-m.is-live { box-shadow: 0 0 0 .3vh var(--danger); }
.evl-monitor .evl-m-sub { font-size: 1.6vh; color: rgba(255,255,255,.6); }
.evl-monitor .evl-t { font-size: 2.4vh; } .evl-monitor .evl-t img, .evl-monitor .evl-t > b { width: 4.6vh; height: 4.6vh; }
.evl-monitor .evm-live .evl-t { font-size: 3vh; } .evl-monitor .evm-live .evl-t img, .evl-monitor .evm-live .evl-t > b { width: 7vh; height: 7vh; }
.evl-monitor .evl-sc { font-size: 3.4vh; } .evl-monitor .evl-sc.big { font-size: 7vh; color: var(--suite-gold); } .evl-monitor .evl-vs { color: rgba(255,255,255,.6); font-size: 2.4vh; }
.evl-monitor .evl-tab, .evl-monitor .evl-rank { background: #2A2F35; color: #fff; padding: 1.4vh 1.2vw; }
.evl-monitor .evl-tab table { font-size: 2.3vh; } .evl-monitor .evl-tab th { font-size: 1.5vh; color: rgba(255,255,255,.5); } .evl-monitor .evl-tab td { border-top-color: rgba(255,255,255,.08); }
.evl-monitor .evl-tab tr.own td { background: rgba(201,164,92,.15); } .evl-monitor .evl-tt img, .evl-monitor .evl-tt > b { width: 3.4vh; height: 3.4vh; }
.evl-monitor .evl-rank li { font-size: 2.6vh; } .evl-monitor .evl-rank li img, .evl-monitor .evl-rank li > b { width: 4vh; height: 4vh; }
.evl-monitor .evl-tab h4, .evl-monitor .evl-rank h4 { font-size: 2.2vh; color: var(--suite-gold); }
.evm-slide { flex: 1; min-height: 0; overflow: hidden; } .evm-slide.anim { animation: evFade .6s; }
@keyframes evFade { from { opacity: 0; transform: translateY(1vh); } }
.evm-dots { display: flex; gap: .6vw; justify-content: center; padding-top: 1vh; } .evm-dots i { width: 1vh; height: 1vh; border-radius: 50%; background: rgba(255,255,255,.25); } .evm-dots i.on { background: var(--suite-gold); }
.evl-monitor .evl-foot { margin: 0; border-radius: 0; background: #fff; padding: 1.2vh 2vw; flex-wrap: nowrap; } .evl-monitor .evl-sp-l { width: auto; font-size: 1.5vh; }
.evl-monitor .evl-sp img { max-height: 5.5vh; } .evl-monitor .evl-empty { color: rgba(255,255,255,.6); font-size: 2.4vh; }
.evl-monitor .evl-champ { font-size: 2.4vh; }

@media (max-width: 1000px) { .ev-grid { grid-template-columns: 1fr; } }
@media (max-width: 700px) {
  .ev-r4 { grid-template-columns: 1fr 1fr; }
  .ev-tour { grid-template-columns: minmax(0, 1fr) auto 18px; } .ev-tour .ev-tour-m:nth-of-type(2), .ev-tour .ev-tour-m:nth-of-type(3) { display: none; }
  .ev-day-card { flex-wrap: wrap; } .ev-day-s { width: 100%; justify-content: flex-start; } .ev-day-card > svg { display: none; }
  .ev-reg { grid-template-columns: 1fr auto; } .ev-reg-a { grid-column: 1 / -1; justify-content: flex-start; }
  .ev-head-a .btn { flex: 1 1 auto; justify-content: center; }
  .ec-num { font-size: 2.2rem; } .ec-g { width: 48px; height: 48px; }
  .evl-t { font-size: .84rem; gap: 6px; } .evl-t img, .evl-t > b { width: 24px; height: 24px; } .evl-m-row { gap: 6px; }
  .ec-row-m { grid-template-columns: 46px minmax(0, 1fr) auto; } .ec-lf { display: none; }
  .ec-res-row { grid-template-columns: minmax(0, 1fr) 56px auto 56px minmax(0, 1fr); gap: 6px; }
  .ev-qr-row { grid-template-columns: 1fr; } .ev-qr-row #ev-qr svg { width: 140px; height: 140px; margin: 0 auto; }
}
.ev-fields2 { display: grid; gap: 6px; }
.ev-field-r { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px; align-items: center; }
.ev-field-r.is-whole input:not([type]) , .ev-field-r.is-whole input[name^="f["] { border-color: var(--suite-gold); background: #FCF8EF; }
.ev-tl-col.is-whole .ev-tl-h { background: #FCF8EF; color: var(--suite-gold-dark); }
.ev-reg-nr { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 6px; } .ev-reg-nr[hidden] { display: none; } .ev-reg-nr select { width: 92px; }
.ev-lvl { width: 92px; }
.ev-gsum { display: flex; gap: 6px; flex-wrap: wrap; }
.ev-gsum span { font-size: .8rem; border: 1px solid var(--line-2); border-radius: 50px; padding: 4px 10px; background: #fff; }
.ev-gsum span.empty { border-style: dashed; color: var(--muted); } .ev-gsum span.warn { border-color: #F2B8B5; background: #FFF4F3; color: var(--danger); }
.ev-grp { width: 112px; } .ev-grp-none { border-color: var(--danger) !important; background: #FFF4F3; }
.ev-cfg [hidden], .ev-cfg option[hidden] { display: none !important; }

/* Event Suite 2.14: Einstellungen & Vorschau */
.ev-sec { border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px 14px; margin: 0; display: grid; gap: 10px; min-width: 0; }
.ev-sec > legend { font-weight: 700; font-size: .9rem; padding: 0 6px; }
.ev-modecards { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 8px; }
.ev-mc { cursor: pointer; position: relative; }
.ev-mc input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; margin: 0; cursor: pointer; z-index: 1; }
.ev-mc span { display: grid; gap: 3px; height: 100%; padding: 10px 12px; border: 1px solid var(--line-2); border-radius: 10px; background: #fff; transition: border-color .15s, box-shadow .15s; }
.ev-mc b { font-size: .9rem; } .ev-mc small { color: var(--muted); font-size: .76rem; line-height: 1.35; } .ev-mc i { font-style: normal; font-size: .7rem; color: var(--suite-gold-dark); font-weight: 700; margin-top: 2px; }
.ev-mc input:checked + span { border-color: var(--suite-gold); box-shadow: 0 0 0 2px rgba(201,164,92,.35); background: #FCF8EF; }
.ev-mc input:focus-visible + span { outline: 2px solid var(--ink); outline-offset: 2px; }
fieldset[disabled] .ev-mc span { opacity: .6; cursor: not-allowed; }
.ev-seg { display: inline-flex; flex-wrap: wrap; gap: 0; border: 1px solid var(--line-2); border-radius: 10px; padding: 3px; background: var(--paper); width: max-content; max-width: 100%; }
.ev-seg label { cursor: pointer; position: relative; } .ev-seg input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; margin: 0; cursor: pointer; z-index: 1; }
.ev-seg span { display: block; padding: 6px 12px; border-radius: 7px; font-size: .84rem; font-weight: 600; color: var(--muted); }
.ev-seg input:checked + span { background: #fff; color: var(--ink); box-shadow: 0 1px 3px rgba(0,0,0,.1); }
.ev-seg input:focus-visible + span { outline: 2px solid var(--ink); }
.ev-cfg [hidden] { display: none !important; }
.ev-prev { position: sticky; top: 84px; z-index: 2; }
.ev-prev-kpi { display: flex; flex-wrap: wrap; gap: 6px; margin: 10px 0 6px; }
.ev-prev-kpi span { background: var(--paper); border: 1px solid var(--line); border-radius: 10px; padding: 6px 10px; font-size: .8rem; color: var(--muted); }
.ev-prev-kpi span b { color: var(--ink); font-size: 1rem; margin-right: 3px; }
.ev-prev-kpi span.good { border-color: #BFE3CD; background: #F1FAF4; } .ev-prev-kpi span.bad { border-color: #F2B8B5; background: #FFF4F3; } .ev-prev-kpi span.bad b { color: var(--danger); }
.ev-prev-notes { margin: 0 0 8px; padding-left: 18px; font-size: .82rem; color: var(--ink-2); } .ev-prev-notes li.warn { color: var(--danger); font-weight: 600; }
.ev-prev-list { list-style: none; margin: 0; padding: 0; max-height: 340px; overflow: auto; border-top: 1px solid var(--line); font-size: .8rem; }
.ev-prev-list li { display: grid; grid-template-columns: 42px 62px 74px minmax(0, 1fr); gap: 6px; padding: 5px 2px; border-bottom: 1px solid var(--line); align-items: baseline; }
.ev-prev-list li span { color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ev-prev-list li b { font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ev-prev-list li.g1 { box-shadow: inset 3px 0 0 #C9A45C; } .ev-prev-list li.g2 { box-shadow: inset 3px 0 0 #2F80ED; } .ev-prev-list li.g3 { box-shadow: inset 3px 0 0 #27AE60; } .ev-prev-list li.g4 { box-shadow: inset 3px 0 0 #D64545; }
.ev-prev-list li.sep, .ev-prev-list li.more { display: block; text-align: center; font-weight: 700; color: var(--muted); background: var(--paper); }
@media (max-width: 1000px) { .ev-prev { position: static; } }
@media (max-width: 700px) { .ev-modecards { grid-template-columns: 1fr 1fr; } .ev-prev-list li { grid-template-columns: 40px 54px minmax(0, 1fr); } .ev-prev-list li span:nth-child(3) { display: none; } }
.ec-up { display: grid; gap: 6px; } .ec-up[hidden] { display: none; }
.ev-setup-h { margin: 26px 0 12px; }
.ev-setup { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 18px; align-items: start; }
.ev-setup-side { position: sticky; top: 84px; }
.ev-prev { position: static; }
@media (max-width: 1000px) { .ev-setup { grid-template-columns: 1fr; } .ev-setup-side { position: static; order: -1; } }


/* ================= Admin Console & Menü (2.15) ================= */
.hdr-admin { display: inline-flex; align-items: center; gap: 6px; height: 42px; padding: 0 14px 0 11px; border-radius: 50px; border: 1px solid var(--line); background: #fff; color: var(--ink); font-weight: 600; font-size: .88rem; text-decoration: none; position: relative; transition: background .15s, border-color .15s; }
.hdr-admin:hover { background: #F2F1EC; border-color: #D9D6CC; text-decoration: none; }
.hdr-admin .icon { width: 18px; height: 18px; }
.hdr-admin.active { background: var(--suite-ink); border-color: var(--suite-ink); color: #fff; }
.hdr-admin.active .icon { color: #F2DDA6; }
.hdr-admin .nav-badge { font-style: normal; margin-left: 0; }
@media (min-width: 701px) and (max-width: 1100px) { .hdr-admin span { display: none; } .hdr-admin { padding: 0; width: 42px; justify-content: center; } .hdr-admin .nav-badge { position: absolute; top: -4px; right: -4px; } }
@media (max-width: 700px) { .hdr-admin { width: 38px; height: 38px; padding: 0; justify-content: center; } .hdr-admin span { display: none; } .hdr-admin .nav-badge { position: absolute; top: -4px; right: -4px; } }
.sheet-link .tb-pin { margin-left: auto; font-size: .68rem; color: var(--muted); font-weight: 600; }
.sheet-link .sx-badge + .tb-pin { margin-left: 8px; }
.sx-admin .sx-name > svg:first-child, .sx-admin .sx-switch > svg:first-child { background: var(--suite-ink); }

.adm-update { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-bottom: 16px; border-color: #F2C94C; background: linear-gradient(90deg, #FFF8D6, #fff 70%); }
.adm-ic { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--paper); flex: none; }
.adm-ic .icon { width: 20px; height: 20px; }
.adm-tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 12px; margin-bottom: 18px; }
.adm-tile { display: flex; gap: 12px; align-items: flex-start; padding: 14px; border: 1px solid var(--line); border-radius: 14px; background: #fff; color: var(--ink); text-decoration: none; position: relative; transition: .15s; }
.adm-tile:hover { border-color: var(--line-2); box-shadow: var(--shadow-hover); text-decoration: none; transform: translateY(-1px); }
.adm-tile::after { content: ""; position: absolute; top: 14px; right: 14px; width: 9px; height: 9px; border-radius: 50%; background: transparent; }
.adm-tile.ok::after { background: #27AE60; } .adm-tile.warn::after { background: #F2994A; } .adm-tile.bad::after { background: #EB5757; }
.adm-tile.ok .adm-ic { background: #E9F7EF; color: #1E8449; } .adm-tile.warn .adm-ic { background: #FFF3E6; color: #B9650F; } .adm-tile.bad .adm-ic { background: #FDECEC; color: #C0392B; }
.adm-t { display: flex; flex-direction: column; min-width: 0; line-height: 1.3; }
.adm-t small { font-size: .74rem; color: var(--muted); font-weight: 600; }
.adm-t b { font-size: 1.08rem; }
.adm-t span { font-size: .78rem; color: var(--muted); overflow: hidden; text-overflow: ellipsis; }
.adm-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; align-items: start; }
@media (max-width: 900px) { .adm-cols { grid-template-columns: 1fr; } }
.adm-h { display: flex; align-items: center; gap: 8px; font-size: 1.02rem; margin: 0 0 10px; }
.adm-h .icon { width: 18px; height: 18px; color: var(--muted); }
.adm-ok { display: flex; align-items: center; gap: 8px; color: #1E8449; font-weight: 600; margin: 0; }
.adm-todo { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.adm-todo a { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 10px; background: var(--paper); color: var(--ink); text-decoration: none; font-size: .9rem; }
.adm-todo a:hover { background: #F2F0E8; text-decoration: none; }
.adm-todo a span { flex: 1; } .adm-todo .icon { width: 17px; height: 17px; color: var(--muted); flex: none; }
.adm-suites { display: flex; flex-wrap: wrap; gap: 6px; }
.adm-check { display: flex; align-items: center; gap: 10px; margin-top: 16px; padding-top: 12px; border-top: 1px solid var(--line); flex-wrap: wrap; }
.adm-log { border-top: 1px solid var(--line); padding: 8px 0; }
.adm-log:first-of-type { border-top: 0; }
.adm-log summary { cursor: pointer; font-size: .92rem; }
.adm-log summary b { display: inline-block; min-width: 52px; font-variant-numeric: tabular-nums; }
.adm-log ul { margin: 6px 0 4px; padding-left: 20px; } .adm-log li { margin: 3px 0; }
.adm-map { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; }
.adm-map h3 { display: flex; align-items: center; gap: 8px; margin: 0 0 8px; font-size: .98rem; }
.adm-map h3 .icon { width: 18px; height: 18px; color: var(--muted); }
.adm-map a { display: block; padding: 8px 10px; margin: 0 -10px; border-radius: 9px; color: var(--ink); font-weight: 600; font-size: .9rem; text-decoration: none; }
.adm-map a:hover { background: var(--paper); text-decoration: none; }
.adm-map a small { display: block; font-weight: 400; color: var(--muted); font-size: .78rem; }
.adm-access { margin-bottom: 16px; }
.adm-access-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 12px; margin-bottom: 12px; }
.adm-access-grid label > span { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; margin-bottom: 4px; }
.adm-access-grid .icon { width: 16px; height: 16px; }
.adm-rights { overflow: hidden; }
.adm-matrix th.c, .adm-matrix td.c { text-align: center; width: 64px; }
.adm-matrix th.c span { display: inline-flex; flex-direction: column; align-items: center; gap: 2px; }
.adm-matrix th.c .icon { width: 17px; height: 17px; }
.adm-matrix th.c small { font-size: .66rem; text-transform: none; letter-spacing: 0; }
.adm-matrix tr.is-off td { opacity: .5; }
.adm-user { display: flex; align-items: center; gap: 10px; } .adm-user > span:not(.avatar) { display: flex; flex-direction: column; line-height: 1.25; }
.adm-y { display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: #E9F7EF; color: #1E8449; font-weight: 700; font-size: .8rem; }
.adm-y.adm-a { background: var(--suite-ink); color: #F2DDA6; } .adm-y.adm-g { background: #FFF3C4; color: #7A5B00; }
.adm-n { color: #C2BFB5; font-weight: 700; }
.adm-legend { padding: 10px 16px; margin: 0; border-top: 1px solid var(--line); display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.adm-legend .adm-y { width: 20px; height: 20px; font-size: .7rem; }
.adm-tabs { display: flex; gap: 4px; flex-wrap: wrap; margin-bottom: 12px; }
.adm-tabs a { display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border-radius: 50px; border: 1px solid var(--line); background: #fff; color: var(--ink); font-weight: 600; font-size: .86rem; text-decoration: none; }
.adm-tabs a .icon { width: 16px; height: 16px; color: var(--muted); }
.adm-tabs a.active { background: var(--suite-ink); border-color: var(--suite-ink); color: #fff; } .adm-tabs a.active .icon { color: #F2DDA6; }
.adm-logcard { overflow: hidden; }
.adm-logbar { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; padding: 12px 16px; border-bottom: 1px solid var(--line); background: var(--paper); }
.adm-cronurl { padding: 10px 16px; border-bottom: 1px solid var(--line); }
.adm-cronurl summary { cursor: pointer; display: flex; align-items: center; gap: 6px; } .adm-cronurl summary .icon { width: 15px; height: 15px; }
.adm-empty { padding: 28px 16px; margin: 0; text-align: center; }
.adm-logcard tr.is-bad td { background: #FFF6F5; }
.adm-err { color: #C0392B; }
.adm-pre { white-space: pre-wrap; font: .78rem/1.45 var(--mono); background: var(--paper); padding: 10px; border-radius: 8px; margin: 6px 0 0; max-height: 320px; overflow: auto; }
.adm-two { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; padding: 16px; }
@media (max-width: 800px) { .adm-two { grid-template-columns: 1fr; } }
.adm-list { list-style: none; margin: 0; padding: 0; } .adm-list li { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 7px 0; border-bottom: 1px solid var(--line); }
.adm-list li > span:first-child { display: flex; align-items: center; gap: 8px; }
.adm-pager { display: flex; align-items: center; justify-content: center; gap: 12px; padding: 12px; border-top: 1px solid var(--line); }
.nowrap { white-space: nowrap; }
.upd-feed { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; flex: 1; font-size: .86rem; padding: 10px 12px; border-radius: 10px; background: var(--paper); }
.upd-feed > span { flex: 1; min-width: 200px; }
.upd-feed.is-new { background: #FFF8D6; border: 1px solid #F2C94C; }
.tb-pick { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
@media (max-width: 560px) { .tb-pick { grid-template-columns: 1fr; } }
.tb-demo { display: flex; justify-content: space-around; padding: 8px 4px; border: 1px solid var(--line); border-radius: 14px; background: #fff; max-width: 420px; }
.tb-demo span { display: flex; flex-direction: column; align-items: center; gap: 2px; font-size: .68rem; font-weight: 600; color: #7A7F86; }
.tb-demo .icon { width: 21px; height: 21px; }
@media (min-width: 861px) and (max-width: 1560px) { .main-nav .nav-suf { display: none; } .main-nav > a { padding: 9px 12px; } }
@media (min-width: 861px) and (max-width: 1000px) { .brand-text { display: none; } .hdr-11 .l11-word { display: none; } .hdr-11 .l11-mark { display: block !important; width: 34px; height: 34px; } .main-nav > a { padding: 9px 9px; } }
@media (min-width: 701px) and (max-width: 790px) { .hdr-11 { display: none; } .main-nav > a { padding: 8px 6px; font-size: .84rem; } .header-inner { gap: 8px; } }
@media (max-width: 700px) { .adm-tiles { grid-template-columns: 1fr 1fr; gap: 8px; } .adm-tile { padding: 11px; gap: 8px; } .adm-tile .adm-ic { width: 32px; height: 32px; } .adm-t b { font-size: .98rem; } }
.adm-logcard .table-wrap, .adm-rights .table-wrap { border: 0; border-radius: 0; box-shadow: none; margin: 0; }

/* ================= WhatsApp-Text (2.16) ================= */
.wa-week { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-bottom: 14px; }
.wa-week-t { display: flex; flex-direction: column; line-height: 1.2; min-width: 150px; text-align: center; }
.wa-week-t b { font-size: 1.05rem; }
.wa-chips { display: flex; gap: 6px; flex-wrap: wrap; margin-left: auto; }
.wa-chips a { display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px; border-radius: 50px; border: 1px solid var(--line); background: #fff; color: var(--ink); font-size: .8rem; font-weight: 600; text-decoration: none; font-variant-numeric: tabular-nums; }
.wa-chips a i { font-style: normal; min-width: 18px; height: 18px; border-radius: 9px; background: #E7F8EE; color: #128C4A; display: inline-grid; place-items: center; font-size: .68rem; padding: 0 4px; }
.wa-chips a.is-empty i { background: var(--paper); color: var(--muted); }
.wa-chips a.active { background: var(--suite-ink); border-color: var(--suite-ink); color: #fff; }
.wa-chips a:hover { text-decoration: none; border-color: var(--line-2); }
.wa-grid { display: grid; grid-template-columns: 320px 1fr; gap: 16px; align-items: start; }
@media (max-width: 860px) { .wa-grid { grid-template-columns: 1fr; } .wa-out { order: -1; } .wa-chips { margin-left: 0; } }
.wa-opts { display: grid; gap: 8px; }
.wa-opts .label { margin-top: 6px; }
.wa-seg { display: flex; width: 100%; }
.wa-seg label { flex: 1; position: relative; margin: 0; cursor: pointer; }
.wa-seg input { position: absolute; inset: 0; opacity: 0; cursor: pointer; margin: 0; }
.wa-seg span { display: block; text-align: center; padding: 7px 6px; border-radius: 8px; font-size: .84rem; font-weight: 600; color: var(--muted); }
.wa-seg input:checked + span { background: #fff; color: var(--ink); box-shadow: 0 1px 3px rgba(0,0,0,.12); }
.wa-seg input:focus-visible + span { outline: 2px solid var(--suite-gold); }
.wa-checks { display: grid; gap: 6px; font-size: .88rem; }
.wa-checks label { display: flex; align-items: center; gap: 8px; margin: 0; font-weight: 500; cursor: pointer; }
.wa-text { width: 100%; min-height: 260px; resize: vertical; font: 400 .95rem/1.5 -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; background: #F0EBE3; border: 1px solid #E2DBCF; border-radius: 12px; padding: 14px 16px; color: #111B21; white-space: pre-wrap; }
.wa-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 12px; }
.btn-wa { background: #25D366; border-color: #25D366; color: #fff; }
.btn-wa:hover { background: #1EBE5A; color: #fff; text-decoration: none; }
#wa-copy.is-done { background: #27AE60; border-color: #27AE60; color: #fff; }
.wa-sync { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--line); }
.linklike { background: none; border: 0; padding: 0; font: inherit; color: inherit; text-decoration: underline; cursor: pointer; }
.wa-teaser .gd-logo { background: #E7F8EE; color: #128C4A; }

/* ================= Torschützen-Maske (2.17) ================= */
.ge { display: grid; gap: 6px; }
.ge-head, .ge-rows li { display: grid; grid-template-columns: 22px minmax(0, 1fr) 72px 150px 32px; gap: 6px; align-items: center; }
.ge-head { font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); padding: 0 2px; }
.ge-head:has(+ .ge-rows:empty) { display: none; }
.ge-rows { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.ge-rows li { padding: 4px; border-radius: 10px; background: var(--paper); transition: background .3s; }
.ge-rows li.ge-moved { background: #FFF6CC; }
.ge-rows li.ge-digits .ge-p { border-color: #F2994A; }
.ge-ball { text-align: center; font-size: .9rem; }
.ge input, .ge select { padding: 7px 9px; font-size: .9rem; border-radius: 8px; min-width: 0; width: 100%; }
.ge .ge-m { text-align: center; }
.ge .ge-m.flash-in { background: #FFF1A8; }
.ge .ge-p:disabled { background: transparent; border-style: dashed; }
.ge-x { width: 32px; height: 32px; border: 0; background: none; border-radius: 8px; font-size: 1.2rem; color: var(--muted); cursor: pointer; }
.ge-x:hover { background: #fff; color: #C0392B; }
.ge-foot { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.ge-hint { color: var(--muted); }
.ge-hint.ok { color: #1E8449; font-weight: 600; }
.ge-hint.warn { color: #B9650F; font-weight: 600; }
@media (max-width: 560px) {
  .ge-head { display: none; }
  .ge-rows li { grid-template-columns: 20px minmax(0, 1fr) 62px 32px; }
  .ge-rows li .ge-k { grid-column: 2 / 4; grid-row: 2; }
}
.res-goals-wrap { display: grid; gap: 6px; flex: 1 1 100%; }
.res-goals-l { font-weight: 600; }
.res-raw { margin: 0; padding: 6px 10px; border-radius: 8px; background: #FFF6E5; color: #8A5A00; }
.gr-goals-wrap { display: grid; gap: 6px; }
.st-pen { color: var(--muted); }

/* ================= Umfragen (2.18) ================= */
.pl-filter { display: flex; gap: 6px; align-items: center; flex-wrap: wrap; margin-bottom: 14px; }
.pl-filter a { padding: 7px 14px; border-radius: 50px; border: 1px solid var(--line); background: #fff; color: var(--ink); font-weight: 600; font-size: .86rem; text-decoration: none; }
.pl-filter a.active { background: var(--suite-ink); border-color: var(--suite-ink); color: #fff; }
.pl-filter select { width: auto; padding: 7px 12px; font-size: .86rem; }
.pl-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 14px; }
.pl-card { display: flex; flex-direction: column; overflow: hidden; transition: .15s; }
.pl-card:hover { box-shadow: var(--shadow-hover); border-color: var(--line-2); }
.pl-main { display: flex; flex-direction: column; gap: 6px; padding: 16px; color: var(--ink); text-decoration: none; flex: 1; }
.pl-main:hover { text-decoration: none; }
.pl-top { display: flex; gap: 6px; flex-wrap: wrap; }
.pl-title { font-size: 1.08rem; line-height: 1.3; }
.pl-n { margin-top: 6px; font-size: .9rem; } .pl-n b { font-size: 1.3rem; } .pl-n small { color: var(--muted); }
.pl-act { display: flex; gap: 2px; padding: 6px 8px; border-top: 1px solid var(--line); background: var(--paper); flex-wrap: wrap; }
.pn-tpls { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px; }
.pn-tpl { position: relative; margin: 0; cursor: pointer; }
.pn-tpl input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.pn-tpl > span { display: flex; flex-direction: column; gap: 4px; height: 100%; padding: 12px; border: 2px solid var(--line); border-radius: 12px; background: #fff; transition: .15s; }
.pn-tpl > span .icon { width: 22px; height: 22px; color: var(--suite-gold-dark); }
.pn-tpl small { color: var(--muted); font-size: .76rem; line-height: 1.35; font-weight: 400; }
.pn-tpl input:checked + span { border-color: var(--suite-gold); background: #FFFBEA; box-shadow: 0 0 0 3px rgba(201, 164, 92, .18); }
.pn-tpl input:focus-visible + span { outline: 2px solid var(--suite-gold-dark); }
/* Editor */
.pe-head { display: grid; gap: 6px; margin: 16px 0 12px; }
.pe-grid { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 18px; align-items: start; }
@media (max-width: 960px) { .pe-grid { grid-template-columns: 1fr; } }
.pe-side { display: grid; gap: 14px; position: sticky; top: 90px; }
@media (max-width: 960px) { .pe-side { position: static; } }
.pe-main { display: grid; gap: 14px; }
.pe-titlecard { display: grid; gap: 10px; border-top: 5px solid var(--suite-gold); }
.pe-title { font-size: 1.5rem !important; font-weight: 700; border: 0 !important; border-bottom: 2px solid var(--line) !important; border-radius: 0 !important; padding: 6px 0 !important; background: transparent !important; }
.pe-title:focus { border-bottom-color: var(--suite-gold) !important; box-shadow: none !important; }
.pe-qs { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.pe-q { padding: 14px 16px 12px; display: grid; gap: 8px; border-left: 4px solid transparent; transition: border-color .2s, box-shadow .2s; }
.pe-q:focus-within { border-left-color: var(--suite-gold); box-shadow: var(--shadow-hover); }
.pe-q.pe-err { border-left-color: #EB5757; }
.pe-q-head { display: flex; align-items: center; gap: 8px; }
.pe-num-badge { width: 26px; height: 26px; border-radius: 50%; background: var(--suite-ink); color: #fff; display: grid; place-items: center; font-weight: 700; font-size: .78rem; flex: none; }
.pe-type-sel { width: auto !important; padding: 6px 10px !important; font-size: .84rem !important; }
.pe-ic { width: 32px; height: 32px; border: 0; border-radius: 8px; background: none; cursor: pointer; color: var(--muted); font-size: .95rem; }
.pe-ic:hover { background: var(--paper); color: var(--ink); }
.pe-label { font-size: 1.02rem !important; font-weight: 600; }
.pe-help { font-size: .86rem !important; padding: 7px 11px !important; color: var(--muted); }
.pe-items { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.pe-item { display: grid; grid-template-columns: 18px minmax(0, 1fr) 110px 32px; gap: 8px; align-items: center; }
.pe-items.is-slots .pe-item { grid-template-columns: 150px 110px minmax(0, 1fr) 32px; }
.pe-dot { width: 16px; height: 16px; border-radius: 50%; border: 2px solid var(--line-2); }
.pe-items.is-multi .pe-dot { border-radius: 4px; }
.pe-item input { padding: 8px 10px !important; font-size: .9rem !important; }
.pe-lim { display: flex; align-items: center; gap: 4px; margin: 0; font-size: .74rem; color: var(--muted); font-weight: 600; }
.pe-lim input { text-align: center; }
.pe-x { width: 32px; height: 32px; border: 0; background: none; border-radius: 8px; font-size: 1.2rem; color: var(--muted); cursor: pointer; }
.pe-x:hover { background: var(--paper); color: #C0392B; }
.pe-items-foot { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 4px; }
.pe-inline { display: inline-flex; align-items: center; gap: 6px; margin: 0; font-size: .84rem; font-weight: 500; }
.pe-inline input { width: 64px; padding: 5px 8px !important; }
.pe-num { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.pe-num label { display: inline-flex; gap: 6px; align-items: center; margin: 0; font-weight: 500; font-size: .88rem; }
.pe-num input[type=number] { width: 90px; }
.pe-prevtxt { margin: 0; }
.pe-reqwrap { margin: 2px 0 0; justify-self: end; }
.pe-qs.is-empty::before { content: "Noch keine Fragen – unten einen Fragetyp wählen."; display: block; padding: 22px; text-align: center; color: var(--muted); border: 2px dashed var(--line-2); border-radius: var(--radius); }
.pe-types { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 8px; margin-top: 6px; }
.pe-type { display: flex; align-items: center; gap: 8px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; background: #fff; cursor: pointer; font: 600 .86rem var(--font); color: var(--ink); text-align: left; }
.pe-type:hover { border-color: var(--suite-gold); background: #FFFBEA; }
.pe-type .icon { width: 18px; height: 18px; color: var(--suite-gold-dark); flex: none; }
.pe-actions { display: grid; gap: 8px; }
.pe-warn { margin: 0; }
@media (max-width: 560px) {
  .pe-item { grid-template-columns: 14px minmax(0, 1fr) 76px 30px; gap: 6px; }
  .pe-lim span { display: none; }
  .pe-items.is-slots .pe-item { grid-template-columns: 1fr 1fr 30px; }
  .pe-items.is-slots .pe-i-label { grid-column: 1 / 3; grid-row: 2; }
}
/* Ergebnisse */
.pl-share { display: flex; gap: 18px; align-items: center; margin-bottom: 16px; }
.pl-share.is-new { border-color: #F2C94C; box-shadow: 0 0 0 4px rgba(242, 201, 76, .25); }
.pl-share-main { flex: 1; min-width: 0; }
.pl-share .copy-box code { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; flex: 1; }
.pl-share-act { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 10px; }
.pl-qr { width: 120px; height: 120px; flex: none; }
.pl-qr svg { width: 100%; height: 100%; }
@media (max-width: 640px) { .pl-qr { display: none; } }
.pl-kpis { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 10px; margin-bottom: 14px; }
.pl-tabs button { display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border-radius: 50px; border: 1px solid var(--line); background: #fff; color: var(--ink); font: 600 .86rem var(--font); cursor: pointer; }
.pl-tabs button .icon { width: 16px; height: 16px; color: var(--muted); }
.pl-tabs button.active { background: var(--suite-ink); border-color: var(--suite-ink); color: #fff; }
.pl-tabs button.active .icon { color: #F2DDA6; }
.pl-results { display: grid; gap: 14px; }
.pl-q-head { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 12px; }
.pl-q-head h3 { margin: 0 0 2px; font-size: 1.05rem; }
.pl-q-no { width: 28px; height: 28px; border-radius: 50%; background: var(--paper); display: grid; place-items: center; font-weight: 700; font-size: .8rem; flex: none; }
.pl-bars { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.pl-bar-t { display: flex; justify-content: space-between; gap: 10px; font-size: .92rem; margin-bottom: 4px; }
.pl-bar { height: 12px; border-radius: 6px; background: var(--paper); overflow: hidden; }
.pl-bar span { display: block; height: 100%; background: linear-gradient(90deg, var(--suite-gold), #E6C77E); border-radius: 6px; min-width: 2px; }
.pl-bars li.is-full .pl-bar span { background: linear-gradient(90deg, #27AE60, #6FCF97); }
.pl-names { color: var(--muted); margin-top: 4px; }
.pl-slots tr.is-best td { background: #F0FAF3; }
.pl-slots .c { text-align: center; }
.pl-nums { display: flex; gap: 24px; flex-wrap: wrap; }
.pl-nums div { display: flex; flex-direction: column; } .pl-nums b { font-size: 1.5rem; } .pl-nums span { font-size: .78rem; color: var(--muted); }
.pl-list { margin-top: 10px; } .pl-list ul { margin: 6px 0 0; padding-left: 18px; }
.pl-texts { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.pl-texts li { display: grid; grid-template-columns: 180px 1fr; gap: 10px; padding: 8px 10px; background: var(--paper); border-radius: 8px; font-size: .9rem; }
@media (max-width: 560px) { .pl-texts li { grid-template-columns: 1fr; gap: 2px; } }
.pl-answers td, .pl-answers th { vertical-align: top; }
.pl-foot { display: flex; gap: 8px; justify-content: flex-end; margin-top: 22px; }
.pl-del { color: #C0392B; }
/* öffentliche Umfrage */
.uf-body { background: var(--paper); }
.uf-preview { padding: 10px 14px; border-radius: 10px; background: #FFF6D6; border: 1px solid #F2C94C; font-size: .9rem; display: flex; gap: 8px; align-items: center; }
.uf-intro { border-top: 6px solid var(--suite-gold); }
.uf-intro h1 { margin: 0 0 8px; font-size: 1.6rem; }
.uf-intro p { margin: 0 0 8px; white-space: normal; }
.uf-dl { display: flex; gap: 6px; align-items: center; color: #8A5A00; }
.uf-form { display: grid; gap: 12px; }
.uf-q { border: 1px solid var(--line); margin: 0; min-width: 0; }
.uf-q.has-err { border-color: #EB5757; box-shadow: 0 0 0 3px rgba(235, 87, 87, .12); }
.uf-label { display: block; font-weight: 700; font-size: 1rem; margin-bottom: 8px; padding: 0; }
.uf-req { color: #C0392B; }
.uf-help { margin: -4px 0 10px; color: var(--muted); font-size: .86rem; }
.uf-err { margin: 8px 0 0; color: #C0392B; font-size: .86rem; font-weight: 600; }
.uf-opts { display: grid; gap: 8px; }
.uf-opt { display: flex; align-items: center; gap: 10px; margin: 0; padding: 12px 14px; border: 1px solid var(--line-2); border-radius: 12px; background: #fff; cursor: pointer; font-weight: 500; }
.uf-opt input { width: 20px; height: 20px; margin: 0; accent-color: var(--suite-gold-dark); flex: none; }
.uf-opt span { flex: 1; }
.uf-opt:has(input:checked) { border-color: var(--suite-gold); background: #FFFBEA; }
.uf-opt.is-full { opacity: .55; cursor: not-allowed; text-decoration: line-through; }
.uf-left { font-size: .76rem; color: var(--muted); font-weight: 600; white-space: nowrap; text-decoration: none; }
.uf-slots { display: grid; gap: 8px; }
.uf-slot { display: flex; align-items: center; gap: 10px; justify-content: space-between; padding: 10px 12px; border: 1px solid var(--line); border-radius: 12px; background: #fff; flex-wrap: wrap; }
.uf-yn { display: flex; gap: 4px; }
.uf-yn label { margin: 0; position: relative; cursor: pointer; }
.uf-yn input { position: absolute; opacity: 0; inset: 0; margin: 0; }
.uf-yn span { display: block; padding: 7px 10px; border-radius: 8px; border: 1px solid var(--line-2); font-size: .84rem; font-weight: 600; color: var(--muted); background: #fff; }
.uf-yn-y input:checked + span { background: #27AE60; border-color: #27AE60; color: #fff; }
.uf-yn-m input:checked + span { background: #F2C94C; border-color: #F2C94C; color: #3A2C00; }
.uf-yn-n input:checked + span { background: #EB5757; border-color: #EB5757; color: #fff; }
.uf-yn input:focus-visible + span { outline: 2px solid var(--suite-gold-dark); }
.uf-num, .uf-date { max-width: 220px; }
.uf-submit { display: grid; gap: 8px; justify-items: start; padding: 4px 2px; }
.uf-done { text-align: center; display: grid; gap: 8px; justify-items: center; }
.uf-done h1 { margin: 0; }
.uf-check { width: 64px; height: 64px; border-radius: 50%; background: #E9F7EF; color: #1E8449; display: grid; place-items: center; }
.uf-check .icon { width: 34px; height: 34px; }
.uf-sum { display: grid; grid-template-columns: auto 1fr; gap: 6px 14px; text-align: left; background: var(--paper); padding: 12px 16px; border-radius: 12px; width: 100%; margin: 6px 0; }
.uf-sum dt { color: var(--muted); font-size: .86rem; } .uf-sum dd { margin: 0; font-weight: 600; }
@media (max-width: 520px) { .uf-sum { grid-template-columns: 1fr; } .uf-sum dd { margin-bottom: 6px; } }
.uf-again-act { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 10px; }
.uf-results h2 { margin: 0 0 10px; font-size: 1.1rem; }
.uf-res { padding: 8px 0; border-top: 1px solid var(--line); }
.uf-res ul { list-style: none; margin: 6px 0 0; padding: 0; display: grid; gap: 4px; }
.uf-res li { display: grid; grid-template-columns: 1fr auto; gap: 2px 10px; font-size: .92rem; }
.uf-res li small { grid-column: 1 / -1; color: var(--muted); }
.uf-res li.best span { font-weight: 700; color: #1E8449; }
.ap-foot { text-align: center; padding: 10px; }
.uf-q > legend.uf-label { float: left; width: 100%; }
.uf-q > legend.uf-label + * { clear: both; }
.uf-dl { display: block; } .uf-dl .icon { width: 16px; height: 16px; vertical-align: -3px; margin-right: 4px; }

/* ================= Suiten & Funktionen je Benutzer (2.19) ================= */
.up { display: grid; gap: 8px; }
.up-suite { border: 1px solid var(--line); border-radius: 12px; background: #fff; overflow: hidden; }
.up-suite > summary { display: flex; align-items: center; gap: 8px; padding: 10px 12px; cursor: pointer; list-style: none; flex-wrap: wrap; }
.up-suite > summary::-webkit-details-marker { display: none; }
.up-suite > summary .icon { width: 18px; height: 18px; color: var(--suite-gold-dark); }
.up-suite > summary b { margin-right: auto; }
.up-suite[open] > summary { border-bottom: 1px solid var(--line); background: var(--paper); }
.up-fix { margin-right: 6px; }
.up-seg { display: inline-flex; background: var(--paper); border: 1px solid var(--line); border-radius: 9px; padding: 2px; flex: none; }
.up-seg label { position: relative; margin: 0; cursor: pointer; }
.up-seg input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.up-seg span { display: block; padding: 4px 9px; border-radius: 7px; font-size: .76rem; font-weight: 600; color: var(--muted); }
.up-seg input:checked + span { background: #fff; color: var(--ink); box-shadow: 0 1px 2px rgba(0,0,0,.12); }
.up-seg .up-on input:checked + span { background: #27AE60; color: #fff; }
.up-seg .up-off input:checked + span { background: #EB5757; color: #fff; }
.up-seg input:focus-visible + span { outline: 2px solid var(--suite-gold-dark); }
.up-feats { list-style: none; margin: 0; padding: 4px 12px 8px; display: grid; }
.up-feats li { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 8px 0; border-bottom: 1px solid var(--line); }
.up-feats li:last-child { border-bottom: 0; }
.up-feats li > div { display: flex; flex-direction: column; min-width: 0; line-height: 1.3; }
.up-feats b { font-size: .88rem; } .up-feats small { font-size: .74rem; }
.up-eff.on { color: #1E8449; font-weight: 600; } .up-eff.off { color: #B03A2E; font-weight: 600; }
@media (max-width: 520px) { .up-feats li { flex-direction: column; align-items: stretch; } .up-feats .up-seg { align-self: flex-start; } }
.up-chips { display: flex; gap: 4px; flex-wrap: wrap; }
.up-chip { display: inline-flex; align-items: center; gap: 3px; padding: 2px 7px; border-radius: 50px; font-size: .7rem; font-weight: 600; background: #E9F7EF; color: #1E8449; }
.up-chip .icon { width: 12px; height: 12px; }
.up-chip.part { background: #FFF3C4; color: #7A5B00; }
.up-chip.off { background: #FDECEC; color: #B03A2E; text-decoration: line-through; }
.up-chip.cust { box-shadow: inset 0 0 0 1.5px currentColor; }
.up-chip small { font-size: .66rem; opacity: .8; }
.adm-y.adm-p { width: auto; padding: 0 7px; border-radius: 12px; background: #FFF3C4; color: #7A5B00; font-size: .72rem; } .adm-cust { font-style: normal; color: #2F80ED; font-size: .6rem; margin-left: 3px; vertical-align: 6px; }
@media (min-width: 1101px) { .two-col.users-two { grid-template-columns: minmax(0, 1fr) 500px; } }
@media (max-width: 1100px) { .two-col.users-two { grid-template-columns: 1fr; } }
.uf-endnote { margin: 10px 0 0; padding: 8px 12px; border-radius: 10px; background: #E9F7EF; color: #1E8449; font-weight: 600; font-size: .9rem; display: flex; gap: 6px; align-items: center; }
.uf-endnote[hidden] { display: none; }
.uf-endnote .icon { width: 16px; height: 16px; }
.uf-q[hidden] { display: none; }
.uf-by { margin-top: 10px; }
.uf-by p { max-width: 420px; margin: 0 auto; text-align: center; }
.pe-item { grid-template-columns: 18px minmax(0, 1fr) 110px 66px 32px; }
.pe-items.is-slots .pe-item { grid-template-columns: 150px 110px minmax(0, 1fr) 32px; }
.pe-end { display: inline-flex; align-items: center; gap: 4px; margin: 0; font-size: .74rem; font-weight: 600; color: var(--muted); cursor: pointer; }
.pe-end input { width: 15px; height: 15px; margin: 0; accent-color: #C0392B; }
.pe-end:has(input:checked) { color: #C0392B; }
.pe-cond { display: grid; gap: 6px; padding: 8px 10px; border-radius: 10px; background: var(--paper); }
.pe-cond[hidden] { display: none; }
.pe-cond-l { display: flex; align-items: center; gap: 8px; margin: 0; font-size: .82rem; font-weight: 600; flex-wrap: wrap; }
.pe-cond-l select { width: auto !important; max-width: 100%; padding: 5px 9px !important; font-size: .82rem !important; }
.pe-cond-o { display: flex; gap: 6px 12px; flex-wrap: wrap; align-items: center; }
.pe-cond-o .checkbox { margin: 0; }
.pe-cond-warn { color: #B9650F; font-weight: 600; }
.pe-q.has-cond { border-left-color: #2F80ED; }
.pe-q.has-cond .pe-cond { background: #EEF5FD; }
@media (max-width: 560px) { .pe-item { grid-template-columns: 14px minmax(0, 1fr) 70px 52px 30px; } }
.pl-cond { display: inline-block; margin-top: 2px; font-size: .78rem; color: #2F80ED; }
.pl-end { font-size: .72rem; color: #C0392B; font-weight: 600; margin-left: 4px; }
.pe-mode { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; margin-bottom: 4px; }
.pe-mode > span { font-weight: 600; color: var(--muted); }
.pe-mode label { position: relative; margin: 0; cursor: pointer; }
.pe-mode input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.pe-mode label span { display: block; padding: 5px 11px; border-radius: 50px; border: 1px solid var(--line-2); font-size: .8rem; font-weight: 600; color: var(--muted); background: #fff; }
.pe-mode input:checked + span { background: var(--suite-ink); border-color: var(--suite-ink); color: #fff; }
.pe-mode input:focus-visible + span { outline: 2px solid var(--suite-gold-dark); }
.uf-mode { margin: -4px 0 10px; color: var(--muted); font-size: .84rem; }
.uf-missing { margin: 0; padding: 8px 12px; border-radius: 10px; background: #FDECEC; color: #B03A2E; font-weight: 600; font-size: .9rem; }
.uf-missing[hidden] { display: none; }

/* Startseite: Neuerungen (2.22) */
.lp-new { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 26px; }
@media (max-width: 980px) { .lp-new { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .lp-new { grid-template-columns: 1fr; } }
.lp-new-card { position: relative; background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 22px 22px 20px; display: flex; flex-direction: column; gap: 8px; box-shadow: var(--shadow); transition: transform .15s, box-shadow .15s; }
.lp-new-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-hover); }
.lp-new-card h3 { margin: 4px 0 0; font-size: 1.08rem; }
.lp-new-card p { margin: 0; color: var(--ink-2, #3A3A3A); font-size: .92rem; line-height: 1.55; }
.lp-new-tag { position: absolute; top: 20px; right: 20px; font-size: .7rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--suite-gold-dark, #9A7333); background: #FFF6DC; padding: 3px 9px; border-radius: 50px; }
#neu .lp-eyebrow { display: inline-block; margin-bottom: 6px; }

/* Sprache (2.23) */
.auth-lang { display: flex; justify-content: center; gap: 4px; margin: 14px 0 0; }
.auth-lang a { padding: 5px 12px; border-radius: 50px; border: 1px solid var(--line); font-size: .8rem; font-weight: 600; color: var(--muted); text-decoration: none; background: #fff; }
.auth-lang a.active { background: var(--suite-ink); border-color: var(--suite-ink); color: #fff; }
.lang-pick { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px; }
.lang-pick label { position: relative; margin: 0; cursor: pointer; }
.lang-pick input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.lang-pick label > span { display: flex; flex-direction: column; gap: 2px; padding: 12px 14px; border: 2px solid var(--line); border-radius: 12px; background: #fff; }
.lang-pick small { color: var(--muted); }
.lang-pick input:checked + span { border-color: var(--suite-gold); background: #FFFBEA; }
.lang-pick input:focus-visible + span { outline: 2px solid var(--suite-gold-dark); }

/* ---------- Trainingsplaner: regelmäßiges Training (2.24) ---------- */
.rep-days { display: flex; flex-wrap: wrap; gap: 6px; }
.rep-day { position: relative; margin: 0; }
.rep-day input { position: absolute; opacity: 0; pointer-events: none; }
.rep-day span { display: inline-grid; place-items: center; min-width: 38px; height: 34px; padding: 0 6px; border-radius: 8px; border: 1px solid var(--line); background: #fff; font-weight: 600; font-size: .85rem; cursor: pointer; user-select: none; }
.rep-day input:checked + span { background: var(--ink); color: #fff; border-color: var(--ink); }
.rep-day input:focus-visible + span { outline: 2px solid var(--yellow); outline-offset: 2px; }
.rep-info { margin: 0; font-weight: 600; font-size: .88rem; }
.rep-info.err { color: var(--danger); }
.series-card { display: grid; gap: 4px; }
.series-card .eyebrow svg, .ser-chip svg { width: 14px; height: 14px; vertical-align: -2px; }
.rep-scope { border: 0; padding: 10px 0 0; margin: 6px 0 0; border-top: 1px solid var(--line); display: grid; gap: 4px; }
.rep-scope legend { font-size: .82rem; font-weight: 600; padding: 0; margin-bottom: 4px; }
.rep-scope.ask { animation: repAsk .5s ease 1; }
@keyframes repAsk { 0% { background: color-mix(in srgb, var(--yellow) 35%, white); } 100% { background: transparent; } }
.ser-chip { display: inline-flex; align-items: center; gap: 5px; font-size: .78rem; font-weight: 600; padding: 3px 10px; border-radius: 50px; background: #F3F1EA; color: var(--ink); text-decoration: none; }
.cal-ev .cal-rep { width: 11px; height: 11px; vertical-align: -1px; margin-right: 2px; opacity: .7; }
.cal-ev.is-cancelled { opacity: .55; text-decoration: line-through; background: repeating-linear-gradient(135deg, #F5F5F4 0 6px, #ECEAE2 6px 12px); }
.cal-ev.is-cancelled small { text-decoration: none; }
.cal-ev .cal-cancel { color: var(--danger); font-weight: 600; }
.cal-ev .cal-open { color: var(--muted); }
.ser-stats { grid-template-columns: repeat(4, 1fr); }
.ser-table td { vertical-align: middle; }
.ser-table td small { display: block; }
.ser-table tr.is-past { opacity: .6; }
.ser-table tr.is-next { background: color-mix(in srgb, var(--yellow) 12%, white); }
.ser-table tr.is-cancelled td:first-child b { text-decoration: line-through; }
.ser-act { text-align: right; }
.ser-act form { display: inline; }
.badge-cancel { display: inline-block; font-size: .74rem; font-weight: 700; color: var(--danger); background: color-mix(in srgb, var(--danger) 10%, white); border-radius: 50px; padding: 2px 9px; }
@media (max-width: 640px) { .ser-stats { grid-template-columns: 1fr 1fr; } .ser-table th:nth-child(3), .ser-table td:nth-child(3) { display: none; } }
.ser-2 { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 10px; }
.ser-2 label { min-width: 0; }
.ser-2 input, .ser-2 select { width: 100%; min-width: 0; }
.ser-end { white-space: normal; height: auto; line-height: 1.3; padding-block: 10px; }

/* ---------- Coach Suite: Spieler, Anwesenheit, Bewertungen (2.25) ---------- */
.pl-tools { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; margin-bottom: 14px; }
.pl-wrap { margin: 0; border: 0; border-radius: 0; }
.pl-table td, .mr-table td { vertical-align: middle; }
.pl-table td small, .pl-table td b + small { display: block; }
.pl-table tr.is-inactive { opacity: .55; }
.pl-table .num, .mr-table .c { text-align: center; }
.shirt { display: inline-grid; place-items: center; min-width: 26px; height: 26px; padding: 0 4px; border-radius: 7px; background: var(--ink); color: #fff; font-weight: 700; font-size: .78rem; margin-right: 6px; }
.shirt-lg { min-width: 40px; height: 40px; font-size: 1.1rem; border-radius: 10px; margin-right: 12px; vertical-align: 4px; }
.pl-h1 { display: flex; align-items: center; }
.q-bar { display: inline-block; width: 70px; height: 7px; border-radius: 9px; background: #EEECE5; overflow: hidden; vertical-align: middle; }
.q-bar span { display: block; height: 100%; border-radius: 9px; background: #16A34A; }
.q-mid span { background: #E5A50A; } .q-low span { background: var(--danger); }
.q-n { font-size: .84rem; margin-left: 4px; }
.pl-table td .q-n + small, .pl-table td .q-bar ~ small { display: block; }
.stars-v { position: relative; display: inline-block; font-size: 1rem; line-height: 1; letter-spacing: 1px; vertical-align: -1px; }
.stars-bg { color: #E2DFD5; }
.stars-fg { position: absolute; left: 0; top: 0; overflow: hidden; white-space: nowrap; color: #F2B705; }
.stars-n { font-weight: 700; color: var(--ink-2); }
.stars-in { display: inline-flex; flex-direction: row-reverse; justify-content: flex-end; align-items: center; gap: 1px; }
.stars-in input { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.stars-in label { cursor: pointer; font-size: 1.45rem; line-height: 1; color: #DAD6CB; padding: 0 1px; transition: color .1s, transform .1s; margin: 0; }
.stars-in label.st-clear { font-size: .95rem; color: var(--muted); padding: 0 6px 0 2px; }
.stars-in input:checked ~ label:not(.st-clear), .stars-in label:not(.st-clear):hover, .stars-in label:not(.st-clear):hover ~ label:not(.st-clear) { color: #F2B705; }
.stars-in:hover input:checked ~ label:not(.st-clear):not(:hover):not(:hover ~ label) { color: #DAD6CB; }
.stars-in label:hover { transform: scale(1.12); }
.stars-in input:focus-visible + label { outline: 2px solid var(--ink); outline-offset: 1px; border-radius: 4px; }
.rate-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 6px 0; border-bottom: 1px solid var(--line); }
.rate-row small { display: block; font-size: .76rem; }
.imp-list { max-height: 50vh; overflow: auto; border: 1px solid var(--line); border-radius: 10px; }
.imp-row { display: flex; gap: 10px; align-items: center; padding: 8px 12px; border-bottom: 1px solid var(--line); margin: 0; cursor: pointer; }
.imp-row:last-child { border-bottom: 0; }
.imp-row small { display: block; }
.imp-row.is-taken { opacity: .5; cursor: default; }
.pl-kpis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-bottom: 16px; }
.pl-kpis .card { display: grid; gap: 6px; }
.pl-kpis small { font-size: .78rem; }
.cls-bars { display: grid; gap: 10px; margin-top: 14px; }
.cls-row { display: grid; grid-template-columns: minmax(130px, 34%) 1fr 64px; align-items: center; gap: 12px; }
.cls-l { font-weight: 600; font-size: .9rem; } .cls-l small { display: block; font-weight: 400; font-size: .74rem; }
.cls-bar { height: 10px; border-radius: 10px; background: #EEECE5; overflow: hidden; }
.cls-bar span { display: block; height: 100%; border-radius: 10px; background: linear-gradient(90deg, #F2B705, #E08A00); }
.cls-v { font-weight: 700; font-size: .88rem; } .cls-v i { font-style: normal; font-size: .7rem; } .cls-v .up { color: #16A34A; } .cls-v .down { color: var(--danger); }
.cls-hist td small { display: block; }
.cls-hist .num { text-align: center; }
.att-sum { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 10px; }
.att-chip { font-size: .76rem; padding: 3px 9px; border-radius: 50px; background: #F3F1EA; }
.att-recent { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.att-recent li { display: grid; grid-template-columns: 74px 24px 1fr; align-items: center; gap: 6px; font-size: .84rem; }
.att-dot { display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 6px; font-size: .74rem; font-weight: 700; background: #EEECE5; color: var(--muted); }
.att-present.att-dot, .att-b.att-present[aria-pressed=true] { background: #16A34A; color: #fff; border-color: #16A34A; }
.att-late.att-dot, .att-b.att-late[aria-pressed=true] { background: #84CC16; color: #fff; border-color: #84CC16; }
.att-excused.att-dot, .att-b.att-excused[aria-pressed=true] { background: #E5A50A; color: #fff; border-color: #E5A50A; }
.att-unexcused.att-dot, .att-b.att-unexcused[aria-pressed=true] { background: var(--danger); color: #fff; border-color: var(--danger); }
.att-injured.att-dot, .att-b.att-injured[aria-pressed=true] { background: #7C3AED; color: #fff; border-color: #7C3AED; }
.att-list { display: grid; gap: 4px; }
.att-row { display: grid; grid-template-columns: minmax(120px, 1fr) auto; align-items: center; gap: 4px 12px; padding: 6px 0; border-bottom: 1px solid var(--line); }
.att-row:last-child { border-bottom: 0; }
.att-row[data-st=""] .att-name { color: var(--ink-2); }
.att-name { display: inline-flex; align-items: center; font-weight: 600; text-decoration: none; color: var(--ink); min-width: 0; }
.att-btns { display: inline-flex; gap: 4px; }
.att-b { width: 36px; height: 34px; border-radius: 8px; border: 1px solid var(--line); background: #fff; font-weight: 700; font-size: .9rem; cursor: pointer; color: var(--ink-2); }
.att-b:hover { border-color: var(--ink-2); }
.att-note { grid-column: 1 / -1; font-size: .84rem; padding: 6px 10px; }
.res { display: inline-block; min-width: 42px; text-align: center; font-weight: 800; border-radius: 7px; padding: 2px 8px; background: #EEECE5; }
.res-g { background: #DCF5E3; color: #166534; } .res-v { background: #FBE3E3; color: #9B1C1C; } .res-u { background: #FFF2CC; color: #7A5B00; }
.res-lg { font-size: 1.4rem; vertical-align: 4px; padding: 3px 12px; margin-left: 8px; }
.rec3 { grid-template-columns: repeat(3, 1fr); }
.fd-pick { list-style: none; margin: 0 0 8px; padding: 0; display: grid; gap: 6px; }
.fd-btn { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 8px; text-align: left; padding: 8px 10px; border-radius: 10px; border: 1px solid var(--line); background: #fff; cursor: pointer; }
.fd-btn:hover { border-color: var(--ink-2); }
.fd-btn small { display: block; }
.mr-head { gap: 12px; flex-wrap: wrap; }
.mr-row td { opacity: .55; }
.mr-row td:first-child, .mr-row td:nth-child(2), .mr-row.is-played td { opacity: 1; }
.mr-n { width: 64px; text-align: center; padding: 6px; }
.mr-note { min-width: 140px; padding: 6px 10px; }
@media (max-width: 760px) {
  .pl-kpis { grid-template-columns: 1fr; }
  .cls-row { grid-template-columns: 1fr 52px; } .cls-row .cls-bar { grid-column: 1 / -1; grid-row: 2; }
  .att-row { grid-template-columns: 1fr; }
  .att-b { width: 40px; height: 38px; }
  .pl-table th:nth-child(5), .pl-table td:nth-child(5), .pl-table th:nth-child(6), .pl-table td:nth-child(6) { display: none; }
}
.stars-w { display: inline-flex; align-items: center; gap: 5px; white-space: nowrap; } .pl-table td .stars-w small, .stars-w small { display: inline; }
/* 2.26: Hallen-Monitor – Partnerleiste nie abgeschnitten (dynamische Bildschirmhöhe, Rand gegen Overscan am TV, Vorschau-Hinweis eingerechnet) */
.evl-monitor .evl { height: 100vh; height: 100dvh; }
.evl-monitor .evl-preview { position: fixed; left: 0; right: 0; top: 0; z-index: 50; opacity: .92; }
.evl-monitor .evl-main { overflow: hidden; }
.evl-monitor .evl-foot { padding: 1vh 2.5vw calc(1.6vh + env(safe-area-inset-bottom, 0px)); min-height: 0; }
.evl-monitor .evl-sp { min-height: 0; padding: .6vh 1vw; }
.evl-monitor .evl-sp img { max-height: 5vh; max-width: 14vw; }
/* 2.26: Turnier bearbeiten */
.ev-tour-wrap { position: relative; }
.ev-tour-wrap .ev-tour { padding-right: 56px; }
.ev-tour-edit { position: absolute; right: 10px; top: 50%; transform: translateY(-50%); width: 32px; height: 32px; display: grid; place-items: center; border-radius: 8px; border: 1px solid transparent; background: none; cursor: pointer; color: var(--muted); }
.ev-tour-edit:hover, .ev-tour-edit:focus-visible { border-color: var(--line-2); color: var(--ink); background: #fff; }
.ev-tour-edit svg { width: 16px; height: 16px; }
.ev-colors { flex-wrap: wrap; align-items: center; }
.ev-col-own { position: relative; display: inline-flex; align-items: center; gap: 4px; }
.ev-col-own i { background-image: conic-gradient(#f00, #ff0, #0f0, #0ff, #00f, #f0f, #f00) !important; }
.ev-col-own input:checked + i { background-image: none !important; }
.ev-col-own input[type=color] { position: static; opacity: 1; pointer-events: auto; width: 34px; height: 28px; padding: 0; border: 1px solid var(--line-2); border-radius: 6px; background: none; cursor: pointer; }

/* ---------- Event Suite: Helferplanung (2.27) ---------- */
.hp-list { display: grid; gap: 10px; margin-bottom: 18px; }
.hp-item { display: grid; grid-template-columns: 56px minmax(0, 1fr) 180px auto; gap: 16px; align-items: center; padding: 12px 16px; text-decoration: none; color: inherit; }
.hp-item:hover { box-shadow: var(--shadow); }
.hp-item.is-past { opacity: .6; }
.hp-date { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 12px; background: var(--paper); font-size: .72rem; text-transform: uppercase; color: var(--muted); line-height: 1.1; }
.hp-date b { font-size: 1.3rem; color: var(--ink); }
.hp-t { display: grid; min-width: 0; } .hp-t b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hp-fill { display: flex; align-items: center; gap: 8px; } .hp-fill .q-bar { width: 90px; } .hp-fill small { color: var(--muted); font-size: .78rem; white-space: nowrap; }
.hp-st-open { background: #E9F7EF; border-color: #BFE5CC; color: #1E7A4C; } .hp-st-draft { background: #FFF4E5; border-color: #F8DCC2; color: #9A4D00; }
.hp-new summary { cursor: pointer; list-style: none; } .hp-new summary::-webkit-details-marker { display: none; }
.hp-presets { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.hp-times[hidden] { display: none; }
.hp-kpis { display: grid; grid-template-columns: repeat(3, auto) 1fr; gap: 10px 24px; align-items: center; }
.hp-kpis > div:not(.hp-kpi-bar) { display: grid; } .hp-kpis b { font-size: 1.4rem; } .hp-kpis span { font-size: .78rem; color: var(--muted); }
.hp-kpi-bar { display: flex; align-items: center; justify-content: flex-end; gap: 6px; } .hp-kpi-bar .q-bar { width: 140px; height: 9px; }
.hp-group { padding: 0; overflow: hidden; }
.hp-gh { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; padding: 14px 18px 6px; } .hp-gh h3 { margin: 0; }
.hp-note { margin: 0 18px 6px; }
.hp-task { border-top: 1px solid var(--line); padding: 10px 18px; transition: background .4s; }
.hp-task.hp-flash { background: var(--yellow-tint); }
.hp-task-h { display: grid; grid-template-columns: 74px 1fr auto; gap: 12px; align-items: center; }
.hp-time { font-weight: 700; font-size: .95rem; } .hp-time small { font-weight: 500; color: var(--muted); } .hp-time .icon { width: 16px; height: 16px; color: var(--muted); }
.hp-slots { display: flex; flex-wrap: wrap; align-items: center; gap: 4px; } .hp-slots i { width: 14px; height: 14px; border-radius: 4px; border: 1.5px dashed var(--line-2); }
.hp-slots i.on { background: #27AE60; border: 0; } .hp-slots b { margin-left: 6px; font-size: .82rem; color: var(--muted); }
.hp-task.is-full .hp-slots b { color: #1E7A4C; }
.hp-task-a { display: flex; gap: 2px; }
.hp-people { list-style: none; margin: 8px 0 0 86px; padding: 0; display: grid; gap: 4px; }
.hp-people li { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; font-size: .9rem; }
.hp-pnote { font-size: .8rem; background: var(--paper); border-radius: 6px; padding: 1px 6px; }
.hp-contact { display: inline-flex; flex-wrap: wrap; gap: 10px; font-size: .8rem; } .hp-contact i { font-style: normal; font-size: .74rem; }
.hp-x { margin-left: auto; } .hp-x .btn { padding: 2px 6px; }
.hp-inline { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin: 10px 0 2px 86px; }
.hp-inline input:not([type=hidden]) { flex: 1 1 130px; min-width: 0; padding: 6px 10px; font-size: .88rem; }
.hp-inline input[type=time] { flex: 0 0 110px; } .hp-need { display: inline-flex; align-items: center; gap: 6px; font-size: .82rem; margin: 0; } .hp-need input { width: 70px; flex: none !important; }
.hp-share { display: grid; gap: 10px; }
.hp-qr { width: 120px; height: 120px; margin: 0 auto; } .hp-qr svg { width: 100%; height: 100%; display: block; }
.input-copy { display: flex; gap: 6px; } .input-copy input { flex: 1; min-width: 0; font-size: .8rem; }
.hp-share-a { display: flex; flex-wrap: wrap; gap: 6px; }
.hp-wa-text { font-family: inherit; font-size: .88rem; line-height: 1.45; }
.hp-status button { font-weight: 600; font-size: .85rem; padding: 6px 12px; border: 0; background: none; border-radius: 7px; cursor: pointer; color: var(--muted); }
.hp-status button.active { background: #fff; color: var(--ink); box-shadow: 0 1px 3px rgba(0,0,0,.08); }
/* öffentliche Seite */
.hf-intro h1 { margin: 0 0 6px; }
.hf-when { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 0 0 8px; } .hf-when .icon { width: 16px; height: 16px; }
.hf-progress { display: flex; align-items: center; gap: 10px; margin-top: 10px; } .hf-progress .q-bar { width: 120px; height: 9px; } .hf-progress small { color: var(--muted); }
.hf-group h2 { margin: 0 0 4px; font-size: 1.15rem; } .hf-gnote { margin: 0 0 8px; }
.hf-tasks { display: grid; gap: 8px; margin-top: 8px; }
.hf-task { display: flex; gap: 12px; align-items: flex-start; margin: 0; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 14px; cursor: pointer; background: #fff; }
.hf-task input[type=checkbox] { width: 22px; height: 22px; margin-top: 1px; flex: none; accent-color: var(--suite-gold-dark); }
.hf-task:has(input:checked) { border-color: var(--suite-gold); background: #FBF6EA; }
.hf-task.is-full { cursor: default; opacity: .6; background: var(--paper); }
.hf-task.is-mine { border-color: #BFE5CC; background: #F1FAF4; opacity: 1; }
.hf-tb { display: grid; gap: 4px; flex: 1; min-width: 0; }
.hf-tt { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; }
.hf-free { font-style: normal; font-size: .8rem; font-weight: 600; color: #1E7A4C; margin-left: auto; }
.hf-task.is-full .hf-free { color: var(--muted); }
.hf-names { color: var(--muted); font-size: .82rem; }
.hf-note { margin-top: 4px; font-size: .9rem; }
.hf-person { display: grid; gap: 10px; position: sticky; bottom: 10px; box-shadow: 0 -4px 30px rgba(0,0,0,.08); }
.hf-person h2 { margin: 0; font-size: 1.15rem; }
.hf-count { margin: 0; } .hf-count.on { color: var(--ink); font-weight: 600; } .hf-count.err { color: #C0392B; font-weight: 600; }
.hf-submit { font-size: 1rem; padding: 12px; }
.hf-done { display: grid; justify-items: center; text-align: center; gap: 6px; } .hf-done h2 { margin: 6px 0 0; }
.hf-mine { list-style: none; padding: 0; margin: 0; display: grid; gap: 4px; }
.hf-again { background: #F1FAF4; border: 1px solid #BFE5CC; }
.hp-daycard .hp-fill .q-bar { width: 120px; }
@media (max-width: 760px) {
  .hp-item { grid-template-columns: 48px minmax(0, 1fr); } .hp-item .hp-fill, .hp-item > .chip { grid-column: 2; }
  .hp-kpis { grid-template-columns: repeat(3, 1fr); } .hp-kpi-bar { grid-column: 1 / -1; justify-content: flex-start; }
  .hp-task-h { grid-template-columns: 64px 1fr; } .hp-task-a { grid-column: 1 / -1; justify-content: flex-end; }
  .hp-people, .hp-inline { margin-left: 0; }
  .hf-person { position: static; }
}
@media print { .hp-p-tab td { padding: 7px 6px; } }
.hp-task-h { grid-template-columns: 104px 1fr auto; } .hp-time { white-space: nowrap; }
.hp-people, .hp-inline { margin-left: 116px; }
.hf-venue { display: inline-flex; align-items: center; gap: 4px; white-space: nowrap; }
@media (max-width: 760px) { .hp-task-h { grid-template-columns: 96px 1fr; } .hp-people, .hp-inline { margin-left: 0; } }

/* ---------- Baustein Fahrtkosten (2.28) ---------- */
.tc-home { display: flex; align-items: center; gap: 14px; margin-top: 18px; text-decoration: none; color: inherit; border-left: 4px solid var(--yellow); }
.tc-home > .icon:first-child { width: 28px; height: 28px; flex: none; } .tc-home span { flex: 1; display: grid; } .tc-home:hover { box-shadow: var(--shadow); }
.tc-months { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin-bottom: 16px; }
.tc-months a { display: grid; text-align: center; min-width: 70px; padding: 6px 10px; border-radius: 10px; border: 1px solid var(--line); background: #fff; text-decoration: none; color: var(--ink); }
.tc-months a small { font-size: .7rem; color: var(--muted); } .tc-months a.active { border-color: var(--ink); box-shadow: 0 0 0 1px var(--ink); }
.tc-months form { margin-left: auto; }
.tc-head { display: grid; grid-template-columns: repeat(3, auto) 1fr; gap: 12px 28px; align-items: center; }
.tc-kpi { display: grid; } .tc-kpi b { font-size: 1.35rem; } .tc-kpi span { font-size: .76rem; color: var(--muted); } .tc-kpi-big b { font-size: 1.7rem; color: #1E7A4C; }
.tc-kpi-st { display: grid; justify-items: end; gap: 4px; text-align: right; } .tc-kpi-st small { font-size: .76rem; }
.tc-st-submitted { background: #FFF4E5; border-color: #F8DCC2; color: #9A4D00; } .tc-st-approved { background: #E8F1FD; border-color: #C5DAF7; color: #1D4F91; }
.tc-st-paid { background: #E9F7EF; border-color: #BFE5CC; color: #1E7A4C; } .tc-st-rejected { background: #FBE3E3; border-color: #F2C2C2; color: #9B1C1C; }
.tc-wrap { margin: 8px 0 0; } .tc-table td { vertical-align: middle; } .tc-table td small { display: block; } .tc-table .r { text-align: right; }
.tc-table tfoot td { border-top: 2px solid var(--line-2); }
.tc-sug { display: grid; gap: 4px; }
.tc-sug-row { display: grid; grid-template-columns: 22px 78px minmax(0, 1fr) 110px; gap: 10px; align-items: center; margin: 0; padding: 7px 8px; border-radius: 10px; cursor: pointer; }
.tc-sug-row:hover { background: var(--paper); } .tc-sug-row input[type=checkbox] { width: 18px; height: 18px; }
.tc-sug-d { font-weight: 600; font-size: .88rem; } .tc-sug-p small { display: block; }
.tc-sug-km { display: flex; align-items: center; gap: 6px; font-size: .85rem; color: var(--muted); } .tc-sug-km input { width: 70px; text-align: right; padding: 5px 8px; }
.tc-routes, .tc-hist { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.tc-routes li { display: flex; align-items: center; gap: 6px; font-size: .88rem; } .tc-routes li span { flex: 1; min-width: 0; }
.tc-hist li { display: grid; grid-template-columns: 1fr auto auto; gap: 8px; align-items: center; font-size: .86rem; }
.tc-submit { display: grid; gap: 10px; border-left: 4px solid var(--yellow); }
.tc-tr { display: grid; gap: 8px; }
.tc-tr-row { display: grid; grid-template-columns: minmax(110px, 160px) 1fr 1fr; gap: 8px; align-items: center; }
.tc-tr-row .gchip { justify-self: start; }
.tc-appr { display: grid; gap: 4px; max-height: 280px; overflow: auto; }
@media (max-width: 760px) {
  .tc-head { grid-template-columns: repeat(3, 1fr); } .tc-kpi-st { grid-column: 1 / -1; justify-items: start; text-align: left; }
  .tc-sug-row { grid-template-columns: 22px minmax(0, 1fr) 96px; } .tc-sug-d { grid-column: 2; grid-row: 1; } .tc-sug-p { grid-column: 2; grid-row: 2; } .tc-sug-km { grid-column: 3; grid-row: 1 / span 2; }
  .tc-tr-row { grid-template-columns: 1fr; }
  .tc-months form { margin-left: 0; }
}
.tc-table tr.tc-off td { color: var(--muted); } .tc-table tr.tc-off td b { text-decoration: line-through; } .tc-no { color: var(--danger); font-weight: 600; text-decoration: none !important; }
.tc-kinds-l { display: grid; gap: 4px; }
.seg-text a .sx-badge { position: static; margin-left: 4px; } .pl-tools .seg-text a { display: inline-flex; align-items: center; white-space: nowrap; }

/* ---------- Demo-System (2.30) ---------- */
.demo-bar { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; padding: 8px 24px; background: #0C0D0F; color: rgba(255,255,255,.82); font-size: .82rem; line-height: 1.4; }
.demo-bar b { color: #fff; }
.demo-bar a { color: #E9D09A; text-decoration: underline; text-underline-offset: 2px; }
.demo-bar .demo-cta { margin-left: auto; text-decoration: none; background: linear-gradient(120deg, #A27A38, #D7B46C 38%, #F2DDA6 50%, #C79E52 66%, #A27A38); color: #1A1C1F; font-weight: 700; padding: 5px 14px; border-radius: 99px; white-space: nowrap; }
.demo-pill { display: inline-block; font-size: .68rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; padding: 3px 9px; border-radius: 99px; background: rgba(201,164,92,.18); color: #C9A45C; border: 1px solid rgba(201,164,92,.5); }
.demo-roles { display: grid; gap: 8px; margin-bottom: 14px; padding: 18px; }
.demo-roles-h { display: grid; gap: 4px; margin-bottom: 6px; }
.demo-roles-h .demo-pill { justify-self: start; }
.demo-roles-h b { font-size: 1.02rem; } .demo-roles-h small { color: var(--muted); font-size: .8rem; }
.demo-role { display: flex; align-items: center; gap: 12px; width: 100%; text-align: left; padding: 11px 12px; border-radius: 12px; border: 1px solid var(--line); background: #fff; cursor: pointer; font: inherit; color: var(--ink); transition: border-color .15s, background .15s, transform .15s; }
.demo-role:hover { border-color: var(--yellow); background: var(--yellow-tint); transform: translateY(-1px); }
.demo-role > .icon { width: 36px; height: 36px; padding: 8px; border-radius: 10px; background: var(--yellow-soft); color: var(--ink); flex: none; }
.demo-role > .icon:last-child { width: 18px; height: 18px; padding: 0; background: none; margin-left: auto; color: var(--muted); }
.demo-role span { display: grid; line-height: 1.3; } .demo-role b { font-size: .95rem; } .demo-role small { color: var(--muted); font-size: .78rem; }
.demo-own { margin-top: 4px; } .demo-own summary { cursor: pointer; text-align: center; font-size: .85rem; color: var(--muted); padding: 6px; }
.demo-own[open] summary { margin-bottom: 10px; }
@media (max-width: 640px) { .demo-bar { padding: 8px 14px; } .demo-bar .demo-cta { margin-left: 0; } }
.demo-admin { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 18px; border-color: rgba(201,164,92,.5); background: linear-gradient(90deg, #FBF8F2, #fff 70%); }
/* Startseite: Termin-Zeile in den Suite-Kacheln (2.30.2) */
.stl-row b { flex: none; }
.stl-next { display: grid; gap: 2px; margin-top: 2px; padding: 9px 11px; border-radius: 10px; background: var(--paper); border: 1px solid var(--line); font-size: .86rem; color: var(--ink-2); line-height: 1.35; }
.stl-next small { font-size: .7rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.stl-next b { color: var(--ink); font-variant-numeric: tabular-nums; }
/* Dunkle Auswahlleisten: Umriss-Knöpfe durchsichtig, sonst weiße Schrift auf weißem Grund (2.30.3) */
.mb-bulkbar .btn-outline, .bulkbar .btn-outline { background: transparent; }
.mb-bulkbar .btn-outline:hover, .mb-bulkbar .btn-ghost:hover { background: rgba(255,255,255,.12); color: #fff; border-color: rgba(255,255,255,.6); }
.mb-bulkbar .btn .icon { stroke: currentColor; }
#mb-charges .mb-bulkbar .btn-outline:hover { background: var(--paper); color: var(--ink); border-color: var(--line-2); }
/* Zeitplan: gespielte Partien lesbar lassen (deaktivierte Knöpfe sonst grau auf hell) (2.30.3) */
.ev-tl-m:disabled { color: var(--ink); }
.ev-tl-m.st-done { opacity: 1; background: color-mix(in srgb, var(--tc) 7%, #F4F3EF); }
.ev-tl-m.st-done b { color: var(--ink-2); }
.ev-tl-m.st-done i { color: var(--ink); }
