/* =====================================================
   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; object-fit: contain; }
.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 .btn .icon { width: 18px; height: 18px; margin: 0; }
.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], input[type=datetime-local], 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: 1460px) {
  .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; } }
/* 3.2.2: Wortmarke erst ab 1461 px – mit sieben Suiten im Menü sonst zu breit */
@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: auto; height: 38px; max-width: 48px; object-fit: contain; }
  .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-charges .mb-bulkbar .btn-ghost { color: var(--ink); }
.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, .ws-games .sw { position: relative; width: 42px; height: 24px; flex: none; }
.gd-games .sw input, .ws-games .sw input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; z-index: 1; }
.gd-games .sw span, .ws-games .sw span { position: absolute; inset: 0; border-radius: 12px; background: #c9ccd0; transition: background .15s; }
.gd-games .sw span::after, .ws-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, .ws-games .sw input:checked + span { background: var(--yellow); }
.gd-games .sw input:checked + span::after, .ws-games .sw input:checked + span::after { transform: translateX(18px); }
.gd-games .sw input:disabled { cursor: not-allowed; }
.gd-games .sw input:focus-visible + span, .ws-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: 10px 18px; border-radius: 12px; background: #fff; min-height: 80px; } .evl-sp.dark { background: #14171A; color: #fff; }
.evl-sp img { max-height: 64px; max-width: 240px; 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: 8.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: 8vh; max-width: 22vw; }
/* 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); }

/* Spiel-Reel 2.32: Looks & Einblendungen */
.reel-design { border: 1px solid var(--line); border-radius: 14px; padding: 12px 14px 14px; display: grid; gap: 12px; margin: 0; min-width: 0; }
.reel-design legend { font-weight: 700; padding: 0 6px; }
.reel-looks { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; }
.reel-look { display: grid; gap: 2px; text-align: left; padding: 6px; border: 2px solid var(--line); border-radius: 12px; background: #fff; cursor: pointer; font: inherit; color: var(--ink); min-width: 0; }
.reel-look canvas { width: 100%; height: auto; aspect-ratio: 9 / 16; border-radius: 8px; background: #111; display: block; margin-bottom: 4px; }
.reel-look b { font-size: .86rem; } .reel-look small { font-size: .72rem; color: var(--ink-2); line-height: 1.3; }
.reel-look:hover { border-color: var(--line-2, #cfcfcf); }
.reel-look.active { border-color: var(--yellow); box-shadow: 0 0 0 3px var(--yellow-soft); }
.reel-pv { display: flex; justify-content: center; margin-top: 10px; }
.reel-pv button { flex: 1; }
.rc-ev { display: flex; gap: 8px; flex-wrap: wrap; align-items: end; }
.rc-ev label { font-size: .8rem; display: flex; flex-direction: column; gap: 2px; }
.rc-ev select { padding: 6px 30px 6px 8px; font-size: .84rem; }
.rc-ev .rc-txt input { width: 170px; } .rc-ev .rc-min input { width: 70px; } .rc-ev .rc-at input { width: 70px; }
.rc-btns { align-items: center; flex-wrap: wrap; } .rc-btns .spacer { flex: 1; }
@media (max-width: 1100px) { .reel-looks { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 560px) { .reel-looks { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* Event Suite: Zuschauer-Plakat (2.33) */
.evp-layout { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 24px; align-items: start; }
.evp-side { position: sticky; top: 90px; }
.evp-tabs { display: flex; margin-bottom: 12px; } .evp-tabs button { flex: 1; }
.evp-pv img { width: 100%; height: auto; display: block; border-radius: 10px; background: var(--paper); box-shadow: 0 6px 24px rgba(0,0,0,.12); margin-bottom: 12px; }
.evp-themes { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.evp-theme { position: relative; display: grid; gap: 2px; padding: 6px; border: 2px solid var(--line); border-radius: 12px; cursor: pointer; margin: 0; font-weight: 500; }
.evp-theme input { position: absolute; opacity: 0; }
.evp-theme img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 8px; background: var(--paper); margin-bottom: 4px; }
.evp-theme b { font-size: .84rem; } .evp-theme small { font-size: .72rem; color: var(--ink-2); line-height: 1.3; }
.evp-theme:has(input:checked) { border-color: var(--yellow); box-shadow: 0 0 0 3px var(--yellow-soft); }
.evp-orig { display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 14px; align-items: start; }
.evp-orig img { width: 110px; border-radius: 8px; box-shadow: 0 4px 14px rgba(0,0,0,.15); }
.evp-teaser { display: flex; gap: 14px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
@media (max-width: 1000px) { .evp-layout { grid-template-columns: 1fr; } .evp-side { position: static; } .evp-themes { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* Social Suite: Plakate & Aufrufe (2.34) */
.cp-kinds { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.cp-kind { display: grid; gap: 4px; text-align: left; padding: 14px; border: 1px solid var(--line); border-radius: 14px; background: #fff; cursor: pointer; font: inherit; color: var(--ink); transition: border-color .15s, box-shadow .15s, transform .15s; }
.cp-kind:hover { border-color: var(--yellow); box-shadow: 0 6px 18px rgba(0,0,0,.08); transform: translateY(-1px); }
.cp-kind-i { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--yellow-soft); margin-bottom: 4px; }
.cp-kind small { color: var(--ink-2); line-height: 1.35; }
.cp-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 14px; }
.cp-item { display: grid; gap: 2px; padding: 8px; text-decoration: none; color: var(--ink); }
.cp-item img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 8px; background: var(--paper); margin-bottom: 6px; }
.cp-item b { font-size: .88rem; } .cp-item small { font-size: .75rem; }
@media (max-width: 900px) { .cp-kinds { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* Zuschauer-Plakat: Blöcke frei einstellen (2.35) */
.evp-checks { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px 14px; }
.evp-items { display: grid; gap: 10px; }
.evp-item { display: grid; gap: 8px; padding: 12px; border: 1px solid var(--line); border-radius: 12px; background: var(--paper); }
.evp-item:has(.evp-item-on input:not(:checked)) { opacity: .55; }
.evp-item-on { display: flex; gap: 8px; align-items: center; margin: 0; }
.evp-item > .evp-f-join { display: grid; gap: 4px; font-size: .82rem; margin: 0; }
.evp-own { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1fr) 70px; gap: 8px; align-items: end; }
.evp-own label { display: grid; gap: 4px; font-size: .82rem; margin: 0; }
.evp-own[hidden], .evp-own [hidden] { display: none; }
@media (max-width: 640px) { .evp-own { grid-template-columns: 1fr 1fr; } .evp-checks { grid-template-columns: 1fr; } }

/* Zuschauer-Plakat: Reel-Modus (2.37) */
.evr { margin-top: 18px; display: grid; gap: 16px; }
.evr-grid { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 24px; align-items: start; }
.evr-stage { display: grid; gap: 10px; position: sticky; top: 80px; }
.evr-canvas { border-radius: 14px; overflow: hidden; background: #111; box-shadow: 0 8px 24px rgba(0,0,0,.18); aspect-ratio: 9 / 16; }
.evr-canvas canvas { width: 100%; height: 100%; display: block; }
.evr-ctrl { display: flex; gap: 8px; align-items: center; }
.evr-ctrl input[type=range] { flex: 1; min-width: 0; accent-color: var(--yellow); }
.evr-progress { height: 6px; border-radius: 3px; background: var(--paper); overflow: hidden; }
.evr-progress span { display: block; height: 100%; width: 0; background: var(--yellow); transition: width .2s; }
.evr-result video { width: 100%; border-radius: 12px; background: #000; aspect-ratio: 9 / 16; }
.evr-looks { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 8px; }
.evr-look { display: grid; gap: 4px; padding: 4px; border: 2px solid var(--line); border-radius: 10px; background: #fff; cursor: pointer; font: inherit; font-size: .76rem; font-weight: 600; color: var(--ink); }
.evr-look canvas { width: 100%; aspect-ratio: 9 / 16; border-radius: 6px; display: block; }
.evr-look.on { border-color: var(--yellow); box-shadow: 0 0 0 3px var(--yellow-soft); }
.evr-running .evr-set { opacity: .5; pointer-events: none; }
@media (max-width: 900px) { .evr-grid { grid-template-columns: 1fr; } .evr-stage { position: static; max-width: 340px; margin: 0 auto; width: 100%; } .evr-looks { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* Logos freistellen (2.38) */
.lc-card { padding: 20px 22px; display: grid; gap: 14px; }
.lc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.lc-view { position: relative; border: 1px solid var(--line); border-radius: 12px; min-height: 260px; display: grid; place-items: center; padding: 34px 14px 14px; background: #fff; }
.lc-view canvas { max-width: 100%; max-height: 300px; object-fit: contain; }
.lc-view canvas[data-out] { cursor: crosshair; touch-action: none; }
.lc-tag { position: absolute; top: 8px; left: 12px; right: 12px; font-size: .74rem; color: var(--ink-2); font-weight: 600; }
.lc-check { background-color: #fff; background-image: linear-gradient(45deg, #E6E8EC 25%, transparent 25%), linear-gradient(-45deg, #E6E8EC 25%, transparent 25%), linear-gradient(45deg, transparent 75%, #E6E8EC 75%), linear-gradient(-45deg, transparent 75%, #E6E8EC 75%); background-size: 18px 18px; background-position: 0 0, 0 9px, 9px -9px, -9px 0; }
.lc-ctrl { display: flex; flex-wrap: wrap; gap: 10px 18px; align-items: center; }
.lc-range { display: flex; gap: 8px; align-items: center; font-weight: 600; margin: 0; }
.lc-range input { width: 180px; accent-color: var(--yellow); }
@media (max-width: 700px) { .lc-grid { grid-template-columns: 1fr; } }

/* Wochen-Story (Video) (2.38) */
.ws-games { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 6px; }
.ws-games li { display: grid; grid-template-columns: auto 44px minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 6px 8px; border: 1px solid var(--line); border-radius: 10px; background: #fff; }
.ws-games li.off { background: var(--paper); } .ws-games li.off .tx, .ws-games li.off .lg { opacity: .5; }
.ws-games .lg { width: 44px; height: 44px; border-radius: 10px; display: grid; place-items: center; overflow: hidden; border: 1px solid var(--line);
  background-color: #fff; background-image: linear-gradient(45deg, #EEF0F3 25%, transparent 25%), linear-gradient(-45deg, #EEF0F3 25%, transparent 25%), linear-gradient(45deg, transparent 75%, #EEF0F3 75%), linear-gradient(-45deg, transparent 75%, #EEF0F3 75%); background-size: 10px 10px; background-position: 0 0, 0 5px, 5px -5px, -5px 0; }
.ws-games .lg img { max-width: 38px; max-height: 38px; object-fit: contain; } .ws-games .lg b { font-size: .7rem; }
.ws-games .tx { display: grid; min-width: 0; font-size: .85rem; } .ws-games .tx b, .ws-games .tx small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .ws-games .tx small { color: var(--ink-2); }
.ws-games .miss-t { color: #B86E00; font-weight: 600; } .ws-games .ok-t { color: #1E8E3E; font-weight: 600; }
.ws-games .bt { display: flex; gap: 4px; flex-wrap: wrap; justify-content: flex-end; }
@media (max-width: 640px) { .ws-games li { grid-template-columns: auto 40px minmax(0, 1fr); } .ws-games .bt { grid-column: 1 / -1; justify-content: flex-start; } }

/* Übungsbibliothek: Grundstock (2.39) */
.ex-img svg.ex-svg { width: 100%; height: 100%; display: block; }
.ex-starter { display: inline-block; padding: 1px 8px; border-radius: 999px; background: var(--yellow-soft); color: var(--ink); font-weight: 600; font-size: .72rem; }

/* Übungsdesigner: Symbolgröße (2.40) */
.ed-size-l { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 0 6px; font-size: .85rem; font-weight: 600; }
.ed-size-l input { width: 120px; accent-color: var(--yellow); padding: 0; }
.ed-size-l output { min-width: 44px; font-variant-numeric: tabular-nums; color: var(--ink-2); font-weight: 500; }
@media (max-width: 700px) { .ed-size-l input { width: 80px; } }

/* Clubboard pflegen (2.41) */
.cbadm-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 18px; align-items: start; }
.cbadm-on { padding: 14px; border-radius: 12px; background: var(--yellow-soft); }
.cbadm-qr { width: 180px; max-width: 100%; margin: 0 auto 10px; } .cbadm-qr svg { width: 100%; height: auto; display: block; }
.cbadm-url { display: flex; gap: 6px; } .cbadm-url input { flex: 1; min-width: 0; }
.cbadm-social { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.cbadm-table td { vertical-align: middle; } .cbadm-act { white-space: nowrap; text-align: right; } .cbadm-act .inline-form { display: inline-flex; gap: 4px; }
.cbadm-edit { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); gap: 18px; align-items: start; }
.cbadm-cover { width: 100%; border-radius: 10px; margin-bottom: 6px; aspect-ratio: 16 / 10; object-fit: cover; }
.chip-ok { background: #E3F6EA; color: #1E7A45; }
@media (max-width: 900px) { .cbadm-grid, .cbadm-edit { grid-template-columns: 1fr; } }

/* 2.42 Trainerteams (Pflege & Mein Trainerprofil) */
.bc-teams { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 12px; }
.bc-team { display: flex; gap: 12px; align-items: center; padding: 12px; text-decoration: none; color: inherit; border-left: 5px solid var(--c); }
.bc-team:hover { text-decoration: none; box-shadow: 0 6px 18px rgba(0,0,0,.08); }
.bc-team-img { width: 64px; height: 48px; border-radius: 10px; overflow: hidden; background: #F2F1EC; display: grid; place-items: center; flex: none; color: var(--muted); }
.bc-team-img img { width: 100%; height: 100%; object-fit: cover; }
.bc-teamform { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 18px; }
.bc-teamphoto { display: grid; gap: 8px; align-content: start; justify-items: start; }
.bc-teamphoto img, .bc-teamphoto > span { width: 100%; aspect-ratio: 16/10; object-fit: cover; border-radius: 12px; background: #F2F1EC; display: grid; place-items: center; color: var(--muted); }
.bc-teamphoto > span { gap: 4px; align-content: center; justify-items: center; }
.bc-coach > summary { display: flex; gap: 12px; align-items: center; padding: 12px 14px; cursor: pointer; list-style: none; }
.bc-coach > summary::-webkit-details-marker { display: none; }
.bc-av { width: 46px; height: 46px; border-radius: 12px; overflow: hidden; background: #F2F1EC; display: grid; place-items: center; flex: none; color: var(--muted); }
.bc-av img { width: 100%; height: 100%; object-fit: cover; }
.bc-coach[open] > summary { border-bottom: 1px solid var(--line); }
.bc-form { display: grid; grid-template-columns: 130px minmax(0, 1fr); gap: 18px; }
.bc-photo { display: grid; gap: 8px; justify-items: center; align-content: start; }
.bc-photo img, .bc-photo > span { width: 120px; height: 120px; border-radius: 16px; object-fit: cover; background: #F2F1EC; display: grid; place-items: center; color: var(--muted); }
.bc-photo > span .icon { width: 40px; height: 40px; }
.bc-fields { display: grid; gap: 10px; min-width: 0; }
.bc-pub { display: grid; gap: 6px; padding: 12px 14px; border-radius: 12px; background: var(--yellow-tint); border: 1px solid var(--line); }
.bc-consent { margin-top: 4px; padding-top: 8px; border-top: 1px dashed var(--line-2); }
@media (max-width: 720px) { .bc-teamform, .bc-form { grid-template-columns: 1fr; } .bc-photo { justify-items: start; } }
.hdr-chat .nav-badge { background: #E5484D; }

/* 2.43 Musik für Videos */
.mu { display: grid; gap: 6px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--yellow-tint); }
.mu-head { display: flex; justify-content: space-between; align-items: center; gap: 8px; flex-wrap: wrap; }
.mu-row { display: flex; gap: 6px; } .mu-row select { flex: 1; min-width: 0; }
.mu-opts { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; font-size: .85rem; }
.mu-opts label { display: flex; align-items: center; gap: 6px; } .mu-opts input[type=number] { width: 80px; }
.mu-opts[hidden], .mu-opts label[hidden], .mu-play[hidden] { display: none; }
.mu-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 18px; align-items: start; }
.mu-builtin { display: grid; gap: 8px; }
.mu-b { display: flex; gap: 10px; align-items: center; } .mu-b span { display: grid; } .mu-b small { color: var(--muted); }
@media (max-width: 860px) { .mu-grid { grid-template-columns: 1fr; } }

/* 2.44 Belegung: wiederkehrende Termine */
.bel-repeat { padding: 12px 14px; border-radius: 12px; background: var(--yellow-tint); border: 1px solid var(--line); display: grid; gap: 10px; }
.bel-repeat[hidden], .bel-repeat-opts[hidden], #be-to-wrap[hidden] { display: none; }
.bel-repeat-opts { display: grid; gap: 8px; }
.bel-until-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip-btn { border: 1px solid var(--line-2); background: #fff; border-radius: 999px; padding: 5px 12px; font: 600 .8rem inherit; font-family: inherit; cursor: pointer; }
.chip-btn:hover { border-color: var(--yellow); } .chip-btn.on { background: var(--yellow); border-color: var(--yellow); color: var(--on-accent); }
.bel-scope-note { margin: 0; padding: 10px 12px; border-radius: 10px; background: #EEF4FF; color: #1F3A68; font-size: .88rem; }
.bel-scope-note[hidden] { display: none; }

/* 2.45 Belegung: Verfügbarkeit (z. B. Hallenzeit) als Hintergrundband */
.bel-band { position: absolute; z-index: 0; pointer-events: none; border-radius: 8px; border: 2px dashed color-mix(in srgb, var(--fc, #27AE60) 70%, transparent);
  background: repeating-linear-gradient(135deg, color-mix(in srgb, var(--fc, #27AE60) 13%, transparent) 0 8px, color-mix(in srgb, var(--fc, #27AE60) 6%, transparent) 8px 16px); }
.bel-avail-t { position: absolute; left: 4px; bottom: 2px; font: 700 .6rem inherit; font-family: inherit; letter-spacing: .04em; text-transform: uppercase; color: color-mix(in srgb, var(--fc, #27AE60) 80%, #000); opacity: .75; }
.bel-avail-l { display: block; margin: 3px auto 0; border: 1.5px dashed color-mix(in srgb, var(--fc, #27AE60) 75%, transparent); border-radius: 6px; padding: 0 5px; font: 700 .64rem inherit; font-family: inherit; color: color-mix(in srgb, var(--fc, #27AE60) 70%, #000); background: color-mix(in srgb, var(--fc, #27AE60) 10%, #fff); cursor: pointer; white-space: nowrap; max-width: 100%; overflow: hidden; text-overflow: ellipsis; }
.bel-avail-l:hover { background: color-mix(in srgb, var(--fc, #27AE60) 22%, #fff); }
.bel-body .bel-ev { z-index: 1; }
.lg-avail { background: repeating-linear-gradient(135deg, #27AE6033 0 4px, #27AE6011 4px 8px); border: 1.5px dashed #27AE60; }
.bel-li.bel-avail { opacity: .8; border-style: dashed; }
@media print { .bel-band { border-color: #999; background: #f2f2f2; } .bel-avail-l { color: #000; background: #fff; border-color: #999; } }
.bel-grid.has-avail .bel-dh { height: 56px; }
.bel-ev.bel-outside { outline: 2px dashed #D9363E; outline-offset: -2px; } .bel-ev.bel-outside::after { content: "⚠"; position: absolute; top: 2px; right: 4px; font-size: .7rem; color: #D9363E; }
.lg-outside { border: 2px dashed #D9363E; background: #fff; }
.bel-avail-l.off { text-decoration: line-through; opacity: .55; }

/* 2.47 Kabinen-Aushang */
.cab-grid { display: grid; grid-template-columns: 320px minmax(0, 1fr); gap: 18px; align-items: start; }
.cab-set { position: sticky; top: 90px; }
.cab-block + .cab-block { margin-top: 22px; }
.cab-bh { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; font-size: 1.1rem; margin: 0 0 10px; }
.cab-bh span { display: flex; flex-wrap: wrap; gap: 6px; }
.cab-chip { font-style: normal; font-size: .74rem; font-weight: 600; padding: 2px 9px; border-radius: 999px; background: color-mix(in srgb, var(--c) 18%, #fff); border: 1px solid var(--c); }
.cab-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 12px; }
.cab-card { overflow: hidden; padding-bottom: 6px; }
.cab-card header { display: flex; justify-content: space-between; align-items: center; padding: 9px 12px; background: var(--suite-ink, #2E343B); color: #fff; }
.cab-card header small { opacity: .75; }
.cab-team { display: grid; grid-template-columns: 34px minmax(0, 1fr) auto; gap: 8px; align-items: center; padding: 6px 10px; border-bottom: 1px solid var(--line); }
.cab-team:last-child { border-bottom: 0; }
.cab-logo { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 8px; background: #F2F1EC; font-weight: 700; font-size: .8rem; color: var(--muted); overflow: hidden; }
.cab-logo img { width: 100%; height: 100%; object-fit: contain; }
.cab-tn { display: grid; min-width: 0; } .cab-tn b { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-size: .9rem; }
.cab-tn small { color: var(--muted); font-size: .74rem; display: flex; align-items: center; gap: 5px; } .cab-tn small i { width: 8px; height: 8px; border-radius: 2px; background: var(--c); flex: none; }
.cab-team select { font-size: .78rem; padding: 3px 24px 3px 8px; height: auto; max-width: 130px; }
@media (max-width: 900px) { .cab-grid { grid-template-columns: 1fr; } .cab-set { position: static; } }
.cab-per { display: flex; flex-wrap: wrap; gap: 4px 10px; padding: 6px 12px 2px; font-size: .72rem; color: var(--muted); }
.cab-per span { display: inline-flex; align-items: center; gap: 4px; } .cab-per i { width: 8px; height: 8px; border-radius: 2px; background: var(--c); }
.ev-date-to { font-style: normal; font-size: .6em; margin-left: 1px; }

/* 2.49: mehrtägige Helferpläne – ein Abschnitt je Tag */
.hp-dayh { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin: 10px 2px -4px; padding-bottom: 6px; border-bottom: 2px solid var(--yellow); }
.hp-dayh h2 { margin: 0; font-size: 1.15rem; }
.hp-dayh:first-of-type { margin-top: 0; }
.hp-dayempty { border-style: dashed; }
.hp-days { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; }
.hp-inline select { max-width: 120px; }
.hp-pday { margin: 18px 0 8px; padding: 6px 10px; border-radius: 10px; background: var(--paper); border: 1px solid var(--line); font-size: 1rem; }
.hp-pday:first-child { margin-top: 0; }
.hf-day { display: flex; align-items: center; gap: 8px; margin: 18px 4px 2px; font-size: 1.2rem; color: var(--ink); }
.hf-day .icon { width: 20px; height: 20px; }
.hf-day.is-past { opacity: .55; }

/* 2.50 Kabinen: Liste mit Nutzung, Belegungsverlauf, Schiedsrichter-Kabine */
.cab-list { display: grid; gap: 6px; }
.cab-lh { display: none; }
.cab-li { display: grid; grid-template-columns: 26px minmax(0, 1fr) 76px; grid-template-areas: 'ic name name' '. use cap'; gap: 4px 6px; align-items: center; padding: 6px 0; border-bottom: 1px solid var(--line); }
.cab-li .cab-ic { grid-area: ic; } .cab-li input:not([type=number]) { grid-area: name; } .cab-li select { grid-area: use; } .cab-li input[type=number] { grid-area: cap; }
.cab-li[hidden] { display: none; }
.cab-li input, .cab-li select { min-width: 0; padding: 6px 8px; font-size: .85rem; height: auto; }
.cab-ic { width: 26px; height: 26px; border-radius: 7px; display: grid; place-items: center; background: #F2F1EC; color: var(--muted); }
.cab-ic .icon { width: 15px; height: 15px; }
.cab-use-ref .cab-ic { background: var(--suite-ink, #2E343B); color: #F2DDA6; }
.cab-use-home .cab-ic { background: var(--yellow-soft); color: var(--ink); }
.cab-use-off .cab-ic { background: #F6E3E3; color: #9B1C1C; } .cab-use-off input { opacity: .55; }
.cab-card header b { display: inline-flex; align-items: center; gap: 6px; } .cab-card header .icon { width: 16px; height: 16px; color: #F2DDA6; }
.cab-ref { display: grid; justify-items: center; gap: 4px; padding: 22px 12px 26px; text-align: center; color: var(--ink); }
.cab-ref .icon { width: 44px; height: 44px; color: var(--suite-ink, #2E343B); } .cab-ref small { color: var(--muted); }
.cab-c-ref { background: repeating-linear-gradient(135deg, #FBFAF6 0 10px, #F5F3EC 10px 20px); }
.cab-load { display: flex; align-items: flex-end; gap: 1px; height: 30px; padding: 8px 12px 0; }
.cab-load i { flex: 1; min-width: 1px; height: calc(var(--v) / var(--m) * 100%); background: var(--suite-ink, #2E343B); opacity: .55; border-radius: 2px 2px 0 0; }
.cab-load.over i { background: #D9363E; }
.cab-axis { display: flex; justify-content: space-between; padding: 2px 12px 4px; font-size: .66rem; color: var(--muted); border-bottom: 1px solid var(--line); }
.cab-warn { margin: 6px 12px 0; font-size: .78rem; color: #9B1C1C; }
.cab-ref-t { font-size: .85rem; font-style: italic; max-width: 240px; }

/* 2.53 Willkommens-Mail beim Anlegen eines Benutzers */
.wm-box { border: 1px solid var(--line, #ECEAE2); border-radius: 14px; padding: 14px 16px; background: var(--yellow-tint, #FFFBE6); display: grid; gap: 12px; }
.wm-check { display: flex; gap: 10px; align-items: flex-start; cursor: pointer; margin: 0; }
.wm-check input { margin-top: 3px; }
.wm-check b { display: inline-flex; gap: 6px; align-items: center; }
.wm-check b .icon { width: 16px; height: 16px; }
.wm-check small { display: block; margin-top: 2px; font-weight: 400; }
.wm-more { display: grid; gap: 6px; }
.wm-more a { display: inline-flex; gap: 6px; align-items: center; justify-self: start; }
.wm-more a .icon { width: 15px; height: 15px; }
.wm-box.off .wm-more { display: none; }
.wm-box .wm-noemail { display: none; margin: 0; }
.wm-box.no-email { background: transparent; }
.wm-box.no-email .wm-more, .wm-box.no-email .wm-check { opacity: .45; pointer-events: none; }
.wm-box.no-email .wm-noemail { display: block; }
.wm-sent { display: flex; gap: 8px; align-items: center; padding: 10px 12px; border-radius: 10px; margin: 0 0 10px; }
.wm-sent .icon { width: 18px; height: 18px; flex: none; }
.wm-sent.ok { background: rgba(32, 163, 90, .12); color: #146B3A; }
.wm-sent.bad { background: rgba(224, 60, 60, .1); color: #A12626; }

/* 2.54 Platz „Hälften, Drittel & Viertel“: Hilfslinien bei Dritteln (fein) und Hälfte (kräftiger) statt 12 Spuren */
.bel-body[data-lanes="12"] {
  background-image: linear-gradient(to bottom, var(--line) 1px, transparent 1px),
    linear-gradient(to right, transparent calc(33.333% - .5px), rgba(20,20,20,.05) calc(33.333% - .5px), rgba(20,20,20,.05) calc(33.333% + .5px), transparent calc(33.333% + .5px),
      transparent calc(50% - .5px), rgba(20,20,20,.09) calc(50% - .5px), rgba(20,20,20,.09) calc(50% + .5px), transparent calc(50% + .5px),
      transparent calc(66.667% - .5px), rgba(20,20,20,.05) calc(66.667% - .5px), rgba(20,20,20,.05) calc(66.667% + .5px), transparent calc(66.667% + .5px));
  background-size: 100% calc(100% / var(--h)), 100% 100%; }

/* 2.54.1 Überschneidungen: versetzt übereinander statt in schmale Streifen geschnitten */
.bel-body .bel-ev { z-index: var(--zi, 1); }
.bel-body .bel-ev.bel-stack { box-shadow: -3px 0 0 #fff, -4px 2px 10px rgba(20,20,20,.18); }
.bel-body .bel-ev.bel-stack.bel-clash { box-shadow: inset 0 0 0 2px var(--danger), -3px 0 0 #fff, -4px 2px 10px rgba(20,20,20,.18); }
.bel-body .bel-ev:hover, .bel-body .bel-ev:focus-visible { z-index: 30; }
.bel-body .bel-ev.bel-block { z-index: 0; }

/* 2.55 Schreibrecht Belegung */
.bel-set h2 .icon { width: 18px; height: 18px; vertical-align: -2px; }
.bel-edit-form { display: flex; gap: 10px; align-items: flex-end; flex-wrap: wrap; margin: 12px 0; }
.bel-edit-form > div { flex: 1 1 280px; max-width: 420px; }
.bel-editors { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.bel-editors .chip small { margin-left: 3px; }
.bel-editors a { display: inline-flex; gap: 5px; align-items: center; margin-left: 6px; }
.bel-editors a .icon { width: 14px; height: 14px; }
.bel-ro { display: inline-flex; gap: 6px; align-items: center; color: var(--muted); font-size: .82rem; }
.bel-ro .icon { width: 14px; height: 14px; }

/* 2.56 Gruppenfarben automatisch */
.grp-auto { display: flex; gap: 8px; align-items: flex-start; font-weight: 400; margin: 4px 0 0; cursor: pointer; }
.grp-auto input { margin-top: 3px; }
.grp-auto small { display: inline; }

/* 2.57 Sponsor-Dashboard */
.spd-head { align-items: flex-end; gap: 14px; flex-wrap: wrap; }
.spd-title { display: flex; align-items: center; gap: 12px; }
.spd-ctrl { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.spd-pick select { min-width: 200px; }
.spd-kpis { grid-template-columns: repeat(5, minmax(0, 1fr)); }
@media (max-width: 900px) { .spd-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); } .spd-kpis > div.hl { grid-column: 1 / -1; } }
.spd-sec-h { gap: 10px; flex-wrap: wrap; margin-bottom: 6px; } .spd-sec-h .dash-h { margin: 0; }
.spd-col { fill: color-mix(in srgb, var(--brand-dark) 70%, white); } .spd-col.cur { fill: var(--yellow); stroke: var(--brand-dark); stroke-width: 1.5; }
.spd-logo { display: inline-grid; place-items: center; width: 54px; height: 40px; border-radius: 8px; background: #fff; border: 1px solid var(--line); padding: 4px; flex: none; }
.spd-logo.dark { background: var(--brand-dark); border-color: var(--brand-dark); }
.spd-logo img { max-width: 100%; max-height: 100%; object-fit: contain; display: block; }
.spd-logo.sm { width: 44px; height: 30px; padding: 3px; }
.spd-table-card { overflow: hidden; }
.spd-table td, .spd-table th { vertical-align: middle; } .spd-table .n { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.spd-name { display: flex; gap: 10px; align-items: center; color: inherit; text-decoration: none; } .spd-name > span:last-child { display: flex; flex-direction: column; } .spd-name:hover b { text-decoration: underline; }
.spd-spark { width: 110px; height: 28px; display: block; } .spd-spark polyline { fill: none; stroke: var(--brand-dark); stroke-width: 1.6; vector-effect: non-scaling-stroke; }
.spd-gain { color: #1E7B45; } .spd-chg small.up { color: #1E7B45; font-weight: 600; } .spd-chg small.down { color: var(--danger); font-weight: 600; }
.spd-kpis small.up, .spd-kpis small.down { font-weight: 600; }
.spd-zero { opacity: .55; }

/* ===== Startseite 2.58: Fakten, Zusatz, Rollen, Kontaktformular ===== */
.lp-facts { list-style: none; margin: -28px 0 0; padding: 0 0 44px; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
.lp-facts li { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 16px 18px; display: flex; flex-direction: column; gap: 2px; box-shadow: var(--shadow); }
.lp-facts b { font-size: 1.7rem; font-weight: 800; letter-spacing: -.02em; line-height: 1.1; }
.lp-facts span { color: var(--muted); font-size: .86rem; line-height: 1.35; }
@media (max-width: 980px) { .lp-facts { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 560px) { .lp-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: -18px; } .lp-facts li:last-child { grid-column: 1 / -1; } }
.lp-mod-addon { border-style: dashed; background: #FCFBF8; }
.lp-new { grid-auto-flow: dense; }
.lp-new-big { grid-column: span 2; background: linear-gradient(135deg, #fff 55%, var(--yellow-tint)); }
.lp-new-big h3 { font-size: 1.3rem; } .lp-new-big p { font-size: .98rem; max-width: 560px; }
@media (max-width: 640px) { .lp-new-big { grid-column: auto; } }
.lp-roles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.lp-roles article { border: 1px solid var(--line); border-radius: 18px; padding: 22px; background: #fff; display: flex; flex-direction: column; gap: 8px; }
.lp-roles h3 { margin: 4px 0 0; font-size: 1.05rem; }
.lp-roles ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 6px; color: #4a4a4a; font-size: .92rem; line-height: 1.45; }
.lp-roles li { padding-left: 18px; position: relative; } .lp-roles li::before { content: ""; position: absolute; left: 0; top: .55em; width: 7px; height: 7px; border-radius: 50%; background: var(--yellow); }
@media (max-width: 980px) { .lp-roles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .lp-roles { grid-template-columns: 1fr; } }

.lp-contact { display: grid; grid-template-columns: .85fr 1.15fr; gap: 48px; align-items: start; }
.lp-contact-info { position: sticky; top: 96px; }
.lp-contact-info h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); }
.lp-checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.lp-checks li { display: flex; gap: 12px; align-items: flex-start; line-height: 1.45; color: #3d3d3d; }
.lp-checks .icon { flex: none; width: 26px; height: 26px; padding: 5px; border-radius: 50%; background: var(--brand-dark); color: var(--accent-on-dark); }
.lp-form-card { background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 30px; box-shadow: 0 18px 50px rgba(20, 20, 20, .08); }
.lp-form { display: grid; gap: 16px; }
.lp-f { display: flex; flex-direction: column; gap: 6px; margin: 0; min-width: 0; border: 0; padding: 0; }
.lp-f label, .lp-f legend { font-weight: 600; font-size: .9rem; padding: 0; } .lp-f label small { font-weight: 400; color: var(--muted); }
.lp-f input, .lp-f select, .lp-f textarea { width: 100%; font-size: 1rem; padding: 12px 14px; border-radius: 12px; }
.lp-f [aria-invalid="true"] { border-color: var(--danger); box-shadow: 0 0 0 3px rgba(224, 60, 60, .12); }
.lp-f-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.lp-f-err { color: var(--danger); font-size: .82rem; font-weight: 600; }
.lp-f-alert { margin: 0; padding: 10px 14px; border-radius: 12px; background: #FDECEC; color: #A12626; font-weight: 600; font-size: .92rem; }
.lp-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 2px; }
.lp-chip { position: relative; margin: 0; cursor: pointer; }
.lp-chip input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.lp-chip span { display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border: 1.5px solid var(--line); border-radius: 999px; font-size: .88rem; font-weight: 600; background: #fff; color: #3d3d3d; transition: background .12s, border-color .12s; }
.lp-chip span::before { content: "+"; font-weight: 800; color: var(--muted); }
.lp-chip input:checked + span { background: var(--brand-dark); border-color: var(--brand-dark); color: var(--on-dark); }
.lp-chip input:checked + span::before { content: "✓"; color: var(--accent-on-dark); }
.lp-chip input:focus-visible + span { outline: 2px solid var(--brand-dark); outline-offset: 2px; }
.lp-consent { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; font-size: .86rem; line-height: 1.45; color: #4a4a4a; margin: 0; cursor: pointer; }
.lp-consent input { margin-top: 3px; flex: none; width: 18px; height: 18px; }
.lp-consent.err { color: #A12626; }
.lp-f-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-top: 4px; }
.lp-f-foot .btn .icon { width: 18px; height: 18px; }
.lp-hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.lp-thanks { text-align: center; padding: 30px 10px; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.lp-thanks h3 { margin: 6px 0 0; font-size: 1.5rem; } .lp-thanks p { margin: 0 0 10px; color: var(--muted); max-width: 420px; }
.lp-thanks-ico { width: 64px; height: 64px; border-radius: 50%; background: var(--yellow); color: var(--on-yellow); display: grid; place-items: center; }
.lp-thanks-ico .icon { width: 32px; height: 32px; }
@media (max-width: 900px) { .lp-contact { grid-template-columns: 1fr; gap: 26px; } .lp-contact-info { position: static; } }
@media (max-width: 560px) { .lp-form-card { padding: 20px; border-radius: 18px; } .lp-f-row { grid-template-columns: 1fr; } }

/* Zentrale: Anfragen (2.58) */
.badge { display: inline-block; font-size: .72rem; font-weight: 700; padding: 2px 8px; border-radius: 999px; background: var(--yellow); color: var(--on-yellow); vertical-align: middle; }
.pl-inq { margin-bottom: 28px; overflow: hidden; }
.pl-inq-head { padding: 18px 20px 12px; gap: 10px; flex-wrap: wrap; }
.pl-inq-done { opacity: .55; }
.pl-inq-msg { max-width: 340px; }

/* ===== 2.59 Zusatz 10er-Karten ===== */
/* Die Karte */
.pc { --pc-bg: #141414; --pc-fg: #fff; --pc-ac: #FEDC00; --pc-on-ac: #141414; position: relative; width: 100%; max-width: 420px; aspect-ratio: 1.586; border-radius: 22px; padding: 18px 20px 16px;
  background: radial-gradient(120% 90% at 100% 0%, color-mix(in srgb, var(--pc-ac) 26%, transparent), transparent 60%), linear-gradient(150deg, color-mix(in srgb, var(--pc-bg) 88%, #fff) 0%, var(--pc-bg) 55%, color-mix(in srgb, var(--pc-bg) 82%, #000) 100%);
  color: var(--pc-fg); display: flex; flex-direction: column; gap: 10px; overflow: hidden; box-shadow: 0 24px 50px -24px rgba(0,0,0,.55), inset 0 0 0 1px rgba(255,255,255,.08); font-size: 14px; isolation: isolate; }
.pc::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: .07; background: repeating-linear-gradient(135deg, var(--pc-fg) 0 2px, transparent 2px 14px); }
.pc-top { display: flex; align-items: center; gap: 9px; }
.pc-crest { width: 30px; height: 30px; object-fit: contain; filter: drop-shadow(0 2px 4px rgba(0,0,0,.25)); }
.pc-club { font-weight: 700; font-size: .78em; letter-spacing: .06em; text-transform: uppercase; opacity: .9; flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pc-no { font-size: .7em; opacity: .6; font-variant-numeric: tabular-nums; }
.pc-mid { display: flex; align-items: center; gap: 12px; flex: 1; min-height: 0; }
.pc-dots i.u::after { font-size: .9em; }
.pc-photo { width: 3.6em; height: 3.6em; border-radius: 50%; object-fit: cover; border: 2px solid var(--pc-ac); flex: none; }
.pc-txt { display: flex; flex-direction: column; min-width: 0; flex: 1; }
.pc-title { font-size: 1.32em; line-height: 1.1; font-weight: 800; letter-spacing: -.01em; color: var(--pc-ac); overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.pc-sub { font-size: .8em; opacity: .75; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .pc-sub:empty { display: none; }
.pc-holder { font-size: 1.05em; font-weight: 700; margin-top: 3px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pc-left { display: flex; flex-direction: column; align-items: center; justify-content: center; min-width: 3.6em; padding: 6px 8px; border-radius: 14px; background: var(--pc-ac); color: var(--pc-on-ac); line-height: 1; }
.pc-left b { font-size: 1.9em; font-weight: 800; } .pc-left small { font-size: .66em; font-weight: 700; margin-top: 3px; opacity: .8; }
.pc-dots { display: grid; grid-template-columns: repeat(var(--n, 10), 1.85em); gap: .45em; justify-content: start; }
.pc-dots i { aspect-ratio: 1; border-radius: 50%; border: 2px solid color-mix(in srgb, var(--pc-fg) 55%, transparent); display: grid; place-items: center; position: relative; }
.pc-dots i.b { border-color: var(--pc-ac); border-style: dashed; }
.pc-dots i svg { width: 62%; height: 62%; fill: none; stroke: var(--pc-ac); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.pc-dots i.u { background: color-mix(in srgb, var(--pc-fg) 18%, transparent); border-style: solid; border-color: transparent; }
.pc-dots i.u::after { content: "✓"; position: absolute; font-size: .8em; font-weight: 800; color: color-mix(in srgb, var(--pc-fg) 70%, transparent); }
.pc-dots i.u svg { display: none; }
.pc-bar { height: 8px; border-radius: 8px; background: color-mix(in srgb, var(--pc-fg) 18%, transparent); overflow: hidden; } .pc-bar i { display: block; height: 100%; background: var(--pc-ac); }
.pc-foot { display: flex; justify-content: space-between; gap: 8px; font-size: .74em; opacity: .85; }
.pc-bonus { font-weight: 700; color: var(--pc-ac); }
.pc-state { font-weight: 800; text-transform: uppercase; letter-spacing: .06em; color: #FF9B9B; }
.pc-off { filter: grayscale(.6); }
.pc-sm { font-size: 11px; max-width: 300px; }

/* Übersicht & Ausgabe */
.pk-kpis { margin-bottom: 18px; }
.pk-new { display: grid; grid-template-columns: minmax(0, 1fr) 400px; gap: 30px; margin-bottom: 22px; align-items: start; }
.pk-new-prev { position: sticky; top: 90px; display: grid; gap: 10px; }
.pk-fs { border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px 16px; margin: 0; display: grid; gap: 12px; }
.pk-fs legend { font-weight: 700; padding: 0 6px; }
.form-row.pk-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.pk-color { display: flex; gap: 8px; align-items: center; }
.pk-new input[type=color], .pkc-edit input[type=color], #m-type input[type=color] { width: 64px; height: 40px; padding: 3px; border-radius: 10px; cursor: pointer; }
@media (max-width: 960px) { .pk-new { grid-template-columns: 1fr; } .pk-new-prev { position: static; order: -1; } }
.pk-filter { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; margin: 4px 0 14px; }
.pk-filter input[type=search] { flex: 1 1 200px; } .pk-filter select { width: auto; }
.pk-list { display: grid; gap: 8px; }
.pk-row { display: grid; grid-template-columns: 46px minmax(0, 1fr) 140px 64px 130px; gap: 14px; align-items: center; padding: 10px 14px; border: 1px solid var(--line); border-radius: 14px; background: #fff; color: inherit; text-decoration: none; transition: border-color .15s, box-shadow .15s; }
.pk-row:hover { border-color: var(--ink-2, #999); box-shadow: var(--shadow); }
.pk-sw { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; font-weight: 800; font-size: 1.2rem; overflow: hidden; }
.pk-sw img { width: 100%; height: 100%; object-fit: cover; }
.pk-who { display: flex; flex-direction: column; min-width: 0; } .pk-who b, .pk-who small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .pk-who small { color: var(--muted); }
.pk-meter { height: 8px; border-radius: 8px; background: var(--line); overflow: hidden; } .pk-meter i { display: block; height: 100%; background: var(--brand-dark); }
.pk-left { display: flex; flex-direction: column; align-items: center; line-height: 1; } .pk-left b { font-size: 1.4rem; } .pk-left small { font-size: .7rem; color: var(--muted); margin-top: 3px; }
.pk-left.low b { color: #C77700; } .pk-left.off b { color: var(--muted); }
@media (max-width: 700px) { .pk-row { grid-template-columns: 42px minmax(0, 1fr) 56px; } .pk-meter, .pk-last { display: none; } }

/* Einzelne Karte */
.pkc { display: grid; grid-template-columns: 430px minmax(0, 1fr); gap: 26px; margin-top: 14px; align-items: start; }
.pkc-left { display: grid; gap: 16px; position: sticky; top: 90px; }
.pkc-share { display: grid; grid-template-columns: 130px minmax(0, 1fr); gap: 16px; align-items: start; }
.pkc-qr { background: #fff; padding: 6px; border-radius: 12px; border: 1px solid var(--line); } .pkc-qr svg { width: 100%; height: auto; display: block; }
.pkc-btns { display: flex; flex-wrap: wrap; gap: 6px; } .pkc-btns form { display: inline; }
.pkc-right { display: grid; gap: 16px; }
.pkc-state { display: flex; gap: 18px; align-items: center; margin-bottom: 14px; }
.pkc-state > div:first-child { display: flex; flex-direction: column; align-items: center; justify-content: center; width: 96px; height: 96px; border-radius: 22px; background: var(--brand-dark); color: #fff; flex: none; }
.pkc-state > div:first-child b { font-size: 2.4rem; line-height: 1; color: var(--yellow); } .pkc-state > div:first-child span { font-size: .78rem; opacity: .75; margin-top: 4px; }
.pkc-split { display: flex; flex-direction: column; gap: 4px; font-size: .92rem; } .pkc-split span { display: inline-flex; gap: 6px; align-items: center; } .pkc-split .icon { width: 15px; height: 15px; } .pkc-split .bad { color: var(--danger); font-weight: 700; }
.pkc-use { display: flex; gap: 8px; flex-wrap: wrap; } .pkc-use input { flex: 1 1 220px; } .pkc-use .btn { flex: 0 0 auto; }
.pkc-add { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line); }
.pkc-mini label { display: flex; gap: 6px; align-items: center; font-weight: 600; font-size: .9rem; margin-bottom: 6px; } .pkc-mini label .icon { width: 16px; height: 16px; }
.pkc-mini div { display: flex; gap: 6px; } .pkc-mini input[type=number] { width: 64px; flex: none; } .pkc-mini input[type=text] { flex: 1; min-width: 0; }
.pkc-log { padding: 16px 0 8px; } .pkc-log h3 { margin: 0 18px 8px; }
.pkc-log ul { list-style: none; margin: 0; padding: 0; max-height: 420px; overflow: auto; }
.pkc-log li { display: grid; grid-template-columns: 30px minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 8px 18px; border-top: 1px solid var(--line); }
.pkc-log li.undone { opacity: .45; } .pkc-log li.undone b { text-decoration: line-through; }
.pkc-ico { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--paper); } .pkc-ico .icon { width: 15px; height: 15px; }
.pkc-log .k-use .pkc-ico { background: rgba(32,163,90,.14); color: #1E7B45; } .pkc-log .k-bonus .pkc-ico, .pkc-log .k-gift .pkc-ico { background: var(--yellow-tint); color: #8A6A00; } .pkc-log .k-topup .pkc-ico { background: rgba(47,111,237,.12); color: #2F6FED; }
.pkc-t { display: flex; flex-direction: column; min-width: 0; } .pkc-t small { color: var(--muted); }
.pkc-edit summary { cursor: pointer; display: flex; } .pkc-edit summary b { display: inline-flex; gap: 8px; align-items: center; } .pkc-edit summary .icon { width: 16px; height: 16px; }
.pkc-danger { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 16px; padding-top: 12px; border-top: 1px solid var(--line); }
@media (max-width: 960px) { .pkc { grid-template-columns: 1fr; } .pkc-left { position: static; } .pkc-add { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .pkc-share { grid-template-columns: 100px minmax(0, 1fr); } }

/* Einstellungen */
.pk-wallets { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; align-items: start; }
@media (max-width: 900px) { .pk-wallets { grid-template-columns: 1fr; } }
.pk-st { font-size: .78rem; font-weight: 700; padding: 3px 10px; border-radius: 99px; background: var(--paper); color: var(--muted); } .pk-st.ok { background: rgba(32,163,90,.14); color: #1E7B45; }
.pk-tsw { display: inline-block; width: 22px; height: 14px; border-radius: 4px; border: 3px solid; vertical-align: -2px; margin-right: 8px; }

/* Scanner */
.pz { display: grid; gap: 12px; margin-top: 6px; }
.pz-cam { position: relative; aspect-ratio: 1; max-height: min(62vh, 520px); width: 100%; border-radius: 26px; overflow: hidden; background: #0d0e10; display: grid; place-items: center; }
.pz-cam video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .3s; }
.pz-cam.on video { opacity: 1; }
.pz-frame { position: absolute; inset: 16%; pointer-events: none; opacity: 0; transition: opacity .3s; } .pz-cam.on .pz-frame { opacity: 1; }
.pz-frame i { position: absolute; width: 34px; height: 34px; border: 4px solid var(--yellow); }
.pz-frame i:nth-child(1) { top: 0; left: 0; border-right: 0; border-bottom: 0; border-radius: 10px 0 0 0; } .pz-frame i:nth-child(2) { top: 0; right: 0; border-left: 0; border-bottom: 0; border-radius: 0 10px 0 0; }
.pz-frame i:nth-child(3) { bottom: 0; left: 0; border-right: 0; border-top: 0; border-radius: 0 0 0 10px; } .pz-frame i:nth-child(4) { bottom: 0; right: 0; border-left: 0; border-top: 0; border-radius: 0 0 10px 0; }
.pz-laser { position: absolute; left: 6%; right: 6%; height: 2px; background: var(--yellow); box-shadow: 0 0 12px var(--yellow); animation: pzl 2.2s ease-in-out infinite; }
@keyframes pzl { 0%, 100% { top: 8%; } 50% { top: 90%; } }
.pz-start { position: relative; display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; color: #fff; padding: 24px; max-width: 320px; }
.pz-start .muted { color: rgba(255,255,255,.65) !important; }
.pz-start-ico { width: 74px; height: 74px; border-radius: 22px; display: grid; place-items: center; background: rgba(255,255,255,.08); } .pz-start-ico .icon { width: 40px; height: 40px; color: var(--yellow); }
.pz-start b { font-size: 1.3rem; }
.pz-msg { position: absolute; left: 12px; right: 12px; bottom: 12px; padding: 10px 14px; border-radius: 12px; background: rgba(20,20,20,.85); color: #fff; font-weight: 600; text-align: center; } .pz-msg.bad { background: rgba(176,40,40,.92); }
.pz-tools { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; } .pz-search { display: flex; gap: 6px; flex: 1 1 240px; } .pz-search input { flex: 1; }
.pz-hits { display: grid; gap: 8px; } .pz-hit { border: 0; padding: 0; background: none; text-align: left; cursor: pointer; border-radius: 18px; }
.pz-sheet { background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 14px; box-shadow: 0 20px 50px -26px rgba(0,0,0,.35); display: grid; gap: 12px; }
.pzc { display: grid; grid-template-columns: 64px minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 14px; border-radius: 18px; color: var(--pc-fg); background: linear-gradient(140deg, color-mix(in srgb, var(--pc-bg) 88%, #fff), var(--pc-bg)); }
.pzc-photo, .pzc-ini { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; border: 3px solid var(--pc-ac); }
.pzc-ini { display: grid; place-items: center; font-size: 1.6rem; font-weight: 800; background: rgba(255,255,255,.1); }
.pzc-t { display: flex; flex-direction: column; min-width: 0; } .pzc-t b { font-size: 1.15rem; } .pzc-t > span { font-size: .82rem; opacity: .8; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pzc-dots { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 6px; } .pzc-dots i { width: 12px; height: 12px; border-radius: 50%; border: 2px solid color-mix(in srgb, var(--pc-fg) 55%, transparent); }
.pzc-dots i.b { border-color: var(--pc-ac); border-style: dashed; } .pzc-dots i.u { background: color-mix(in srgb, var(--pc-fg) 55%, transparent); border-color: transparent; }
.pzc-left { display: flex; flex-direction: column; align-items: center; padding: 8px 12px; border-radius: 14px; background: var(--pc-ac); color: #141414; line-height: 1; } .pzc-left b { font-size: 2rem; } .pzc-left small { font-size: .7rem; font-weight: 700; margin-top: 2px; }
.pz-warn { padding: 10px 12px; border-radius: 12px; background: #FFF4E0; color: #8A4B00; font-weight: 600; }
.pz-book { width: 100%; justify-content: center; font-size: 1.15rem; padding: 16px; border-radius: 16px; } .pz-book .icon { width: 22px; height: 22px; }
.pz-book.warn { background: #E07A00; border-color: #E07A00; color: #fff; }
.pz-more { display: flex; justify-content: center; gap: 4px; flex-wrap: wrap; margin-top: 6px; }
.pz-done { display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center; padding: 8px 0 4px; }
.pz-tick { width: 64px; height: 64px; border-radius: 50%; background: #1E9E57; color: #fff; display: grid; place-items: center; font-size: 2rem; font-weight: 800; animation: pzpop .4s cubic-bezier(.3,1.6,.5,1); }
@keyframes pzpop { from { transform: scale(.3); opacity: 0; } to { transform: none; opacity: 1; } }
.pz-done b { font-size: 1.3rem; } .pz-done-b { display: flex; gap: 8px; margin-top: 6px; }

/* Öffentliche Karte */
body.pk-pub { margin: 0; min-height: 100vh; background: radial-gradient(120% 70% at 50% 0%, color-mix(in srgb, var(--pc-bg) 30%, #fff), #F3F1EA 70%); font-family: var(--font); color: var(--ink); }
.pk-pub-in { max-width: 460px; margin: 0 auto; padding: max(18px, env(safe-area-inset-top)) 16px 30px; display: grid; gap: 16px; justify-items: center; }
.pk-pub .pc { max-width: none; }
.pk-pub-qr { width: 100%; background: #fff; border-radius: 24px; padding: 20px 20px 16px; display: flex; flex-direction: column; align-items: center; gap: 8px; box-shadow: 0 20px 40px -26px rgba(0,0,0,.35); text-align: center; }
.pk-pub-qr > div { width: min(260px, 70vw); } .pk-pub-qr svg { width: 100%; height: auto; display: block; }
.pk-pub-qr p { margin: 0; font-weight: 600; } .pk-pub-qr small { color: var(--muted); }
.pk-pub-qr.off > div { opacity: .2; filter: blur(2px); }
.pk-wallet { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; }
.pk-wbtn { display: inline-flex; align-items: center; gap: 10px; padding: 10px 18px 10px 14px; border-radius: 12px; background: #000; color: #fff; text-decoration: none; min-width: 190px; }
.pk-wbtn svg { width: 26px; height: 26px; } .pk-wbtn span { display: flex; flex-direction: column; line-height: 1.15; font-weight: 600; font-size: 1.05rem; } .pk-wbtn small { font-size: .7rem; font-weight: 500; opacity: .85; }
.pk-wbtn.google { background: #fff; color: #1f1f1f; border: 1px solid #747775; }
.pk-pub-more { width: 100%; background: #fff; border-radius: 18px; padding: 12px 16px; } .pk-pub-more summary { font-weight: 700; cursor: pointer; }
.pk-pub-hist { list-style: none; margin: 10px 0; padding: 0; display: grid; gap: 4px; } .pk-pub-hist li { display: flex; justify-content: space-between; gap: 10px; font-size: .9rem; padding: 6px 0; border-bottom: 1px solid var(--line); } .pk-pub-hist span { color: var(--muted); }
.pk-pub-none { text-align: center; padding: 60px 10px; } .pk-pub-none img { margin: 0 auto 10px; }
.pk-pub-foot { font-size: .8rem; color: var(--muted); display: flex; gap: 8px; align-items: center; }

/* 2.60 Video als Reel und/oder Story */
.vpost { display: inline-flex; align-items: center; gap: 8px; flex-wrap: wrap; padding: 4px 4px 4px 12px; border: 1px solid var(--line); border-radius: 99px; background: #fff; }
.vpost-l { font-size: .8rem; color: var(--muted); font-weight: 600; }
.vpost-o { position: relative; display: inline-flex; margin: 0; cursor: pointer; }
.vpost-o input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.vpost-o span { display: inline-flex; align-items: center; gap: 5px; padding: 6px 12px; border-radius: 99px; border: 1.5px solid var(--line); font-size: .85rem; font-weight: 700; color: var(--muted); background: #fff; transition: all .15s; }
.vpost-o span::before { content: "+"; }
.vpost-o input:checked + span { background: var(--brand-dark); border-color: var(--brand-dark); color: var(--on-dark, #fff); }
.vpost-o input:checked + span::before { content: "✓"; color: var(--yellow); }
.vpost-o input:focus-visible + span { outline: 2px solid var(--brand-dark); outline-offset: 2px; }

/* ---------- 2.60: Startaufstellung ---------- */
.lu { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 20px; align-items: start; }
.lu-main { display: grid; gap: 16px; min-width: 0; }
.lu-row4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.lu-board { display: grid; grid-template-columns: minmax(260px, 420px) minmax(0, 1fr); gap: 20px; align-items: start; }
.lu-pitchwrap { display: grid; gap: 10px; }
.lu-pitch { position: relative; aspect-ratio: 68 / 92; border-radius: 14px; background: repeating-linear-gradient(180deg, #2f7d3b 0 10%, #2a7335 10% 20%); box-shadow: inset 0 0 0 3px rgba(255,255,255,.35), 0 6px 18px rgba(0,0,0,.15); overflow: hidden; }
.lu-l { position: absolute; border: 2px solid rgba(255,255,255,.35); pointer-events: none; }
.lu-half { left: 0; right: 0; top: 50%; border-width: 2px 0 0; }
.lu-circle { left: 50%; top: 50%; width: 30%; aspect-ratio: 1; border-radius: 50%; transform: translate(-50%, -50%); }
.lu-box { left: 21%; width: 58%; height: 14%; }
.lu-box.t { top: -2px; } .lu-box.b { bottom: -2px; }
.lu-slot { position: absolute; transform: translate(-50%, -50%); display: grid; justify-items: center; gap: 3px; background: none; border: 0; padding: 0; cursor: pointer; z-index: 1; }
.lu-dot { position: relative; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; font: 800 1rem/1 var(--font, system-ui); color: rgba(255,255,255,.85); border: 2px dashed rgba(255,255,255,.7); background: rgba(0,0,0,.18); transition: transform .12s; }
.lu-slot.on .lu-dot { background: var(--yellow); color: var(--on-yellow, #111); border: 2px solid #fff; box-shadow: 0 2px 6px rgba(0,0,0,.3); }
.lu-slot.act .lu-dot { outline: 3px solid #fff; outline-offset: 3px; transform: scale(1.08); }
.lu-dot em { position: absolute; top: -6px; right: -8px; width: 18px; height: 18px; border-radius: 50%; background: var(--brand-dark, #111); color: var(--yellow, #fc0); font: 800 .65rem/18px system-ui; font-style: normal; text-align: center; }
.lu-nm { font-size: .7rem; font-weight: 700; color: #fff; background: rgba(0,0,0,.5); padding: 1px 6px; border-radius: 4px; white-space: nowrap; max-width: 90px; overflow: hidden; text-overflow: ellipsis; }
.lu-nm:empty { display: none; }
.lu-slotbar { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; padding: 8px 10px; border: 1px solid var(--line); border-radius: 10px; background: var(--paper); }
.lu-slotbar input:not([type=checkbox]) { flex: 1; min-width: 110px; }
.lu-side { display: grid; gap: 18px; min-width: 0; }
.lu-sec { display: grid; gap: 6px; }
.lu-roster { display: flex; flex-wrap: wrap; gap: 6px; max-height: 330px; overflow: auto; }
.lu-pl { display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px; border: 1.5px solid var(--line); border-radius: 99px; background: #fff; font-size: .85rem; font-weight: 600; cursor: pointer; }
.lu-pl b { color: var(--brand-dark); }
.lu-pl small { color: var(--muted); font-size: .68rem; font-weight: 700; }
.lu-pl:hover { border-color: var(--brand-dark); }
.lu-pl.used { opacity: .5; text-decoration: line-through; }
.lu-pl.used.slot { background: #e8f5ea; }
.lu-pl.used.bench { background: #f1f1ee; }
.lu-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.lu-chip { display: inline-flex; align-items: center; gap: 4px; padding: 4px 4px 4px 10px; border-radius: 99px; background: var(--brand-dark); color: var(--on-dark, #fff); font-size: .82rem; font-weight: 600; }
.lu-chip b { color: var(--yellow); }
.lu-chip button { border: 0; background: rgba(255,255,255,.15); color: inherit; width: 22px; height: 22px; border-radius: 50%; cursor: pointer; line-height: 1; }
.lu-add { display: flex; gap: 6px; }
.lu-add input { flex: 1; min-width: 0; }
.lu-add input[inputmode=numeric] { flex: 0 0 60px; }
.lu-prev { position: sticky; top: 80px; display: grid; gap: 10px; }
.lu-fmt { display: flex; gap: 4px; padding: 3px; background: var(--paper); border-radius: 10px; }
.lu-fmt button { flex: 1; border: 0; background: none; padding: 7px; border-radius: 8px; font-weight: 700; color: var(--muted); cursor: pointer; }
.lu-fmt button.on { background: #fff; color: var(--ink); box-shadow: 0 1px 3px rgba(0,0,0,.12); }
.lu-img { position: relative; aspect-ratio: 4 / 5; border-radius: 12px; overflow: hidden; background: #15171a; box-shadow: 0 8px 24px rgba(0,0,0,.18); }
.lu-img.story { aspect-ratio: 9 / 16; }
.lu-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.lu-img img:not([src]) { visibility: hidden; }
.lu-load { position: absolute; left: 10px; bottom: 10px; font-size: .75rem; color: #fff; background: rgba(0,0,0,.6); padding: 3px 8px; border-radius: 6px; }
.lu-load[hidden] { display: none; }
.lu-cap pre { white-space: pre-wrap; font: .82rem/1.45 var(--font, system-ui); background: var(--paper); padding: 10px; border-radius: 8px; margin: 8px 0 4px; }
@media (max-width: 1100px) { .lu { grid-template-columns: 1fr; } .lu-prev { position: static; max-width: 420px; } }
@media (max-width: 760px) { .lu-board { grid-template-columns: 1fr; } .lu-row4 { grid-template-columns: 1fr 1fr; } .lu-dot { width: 34px; height: 34px; font-size: .9rem; } }
.lu-row4 input:not([type=checkbox]), .lu-row4 select { min-width: 0; width: 100%; }
.lu-photo { display: grid; gap: 12px; }
.lu-photo-row { display: grid; grid-template-columns: 180px minmax(0, 1fr); gap: 16px; align-items: start; }
.lu-photo-ctl { display: grid; gap: 8px; }
.lu-photo-ctl input[type=range] { accent-color: var(--yellow); width: 100%; }
.lu-pthumb { aspect-ratio: 16 / 9; border-radius: 10px; background: var(--paper); border: 1px dashed var(--line); display: grid; place-items: center; overflow: hidden; }
.lu-pthumb.player { aspect-ratio: 4 / 5; width: 120px; }
.lu-pthumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.lu-pmode { width: auto; }
.lu-inbox { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 8px; max-height: 300px; overflow: auto; }
.lu-ib { position: relative; padding: 0; border: 2px solid transparent; border-radius: 8px; overflow: hidden; background: var(--paper); cursor: pointer; aspect-ratio: 1; }
.lu-ib img { width: 100%; height: 100%; object-fit: cover; display: block; }
.lu-ib span { position: absolute; left: 0; right: 0; bottom: 0; font-size: .65rem; font-weight: 700; color: #fff; background: rgba(0,0,0,.55); padding: 2px 4px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lu-ib.on { border-color: var(--yellow); box-shadow: 0 0 0 2px var(--brand-dark); }
.lu-sps { display: flex; flex-wrap: wrap; gap: 6px; }
@media (max-width: 760px) { .lu-photo-row { grid-template-columns: 1fr; } }
.gr-tpl-lineup { background: var(--yellow) !important; color: var(--on-yellow, #111) !important; } .gr-tpl-lineup .icon { width: 16px; height: 16px; vertical-align: -2px; }
.luv { margin-top: 20px; display: grid; gap: 14px; }
.lu-pitch.as-list { aspect-ratio: auto; background: none; box-shadow: none; overflow: visible; display: grid; gap: 6px; }
.lu-pitch.as-list .lu-slot { position: static; transform: none; display: flex; align-items: center; gap: 10px; padding: 6px 10px; border: 1.5px dashed var(--line); border-radius: 10px; background: #fff; text-align: left; }
.lu-pitch.as-list .lu-slot.on { border-style: solid; }
.lu-pitch.as-list .lu-slot.act { border-color: var(--brand-dark); box-shadow: 0 0 0 2px var(--yellow); }
.lu-pitch.as-list .lu-dot { width: 32px; height: 32px; font-size: .9rem; color: var(--muted); border-color: var(--line); background: var(--paper); }
.lu-pitch.as-list .lu-slot.on .lu-dot { color: var(--on-yellow, #111); border-color: var(--yellow); }
.lu-pitch.as-list .lu-slot.act .lu-dot { outline: 0; transform: none; }
.lu-pitch.as-list .lu-nm { background: none; color: var(--ink); font-size: .9rem; max-width: none; padding: 0; }
.lu-pitch.as-list .lu-slot:not(.on) .lu-nm { color: var(--muted); font-weight: 500; }
.lu-pitch.as-list .lu-c { margin-left: auto; font-style: normal; font-weight: 800; font-size: .7rem; width: 20px; height: 20px; border-radius: 50%; background: var(--brand-dark); color: var(--yellow); display: grid; place-items: center; }
@media (min-width: 761px) { .lu-row4:has(#lu-groups-w:not([hidden])) { grid-template-columns: repeat(5, minmax(0, 1fr)); } }

/* ---------- 2.63: Redaktionsplan auf dem Handy ---------- */
.sm-fab, .sm-mhint, .sm-agenda, .sm-mcal { display: none; }
.sm-new-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.sm-new-grid a { display: grid; gap: 2px; padding: 14px; border: 1px solid var(--line); border-radius: 14px; text-decoration: none; color: var(--ink); background: #fff; }
.sm-new-grid a .icon { width: 22px; height: 22px; color: var(--brand-dark); margin-bottom: 6px; }
.sm-new-grid a b { font-size: .95rem; } .sm-new-grid a small { color: var(--muted); font-size: .75rem; }
.sm-new-grid a:active { background: var(--paper); }
@media (max-width: 760px) {
  .sm-act-d { display: none !important; }
  .page-head:has(.sm-act-d) p.muted { display: none; }
  .page-head:has(.sm-act-d) h1 { margin-bottom: 0; }
  .sm-fab { display: inline-flex; align-items: center; gap: 6px; position: fixed; right: 16px; bottom: calc(86px + env(safe-area-inset-bottom)); z-index: 40; padding: 13px 20px 13px 16px; border: 0; border-radius: 99px; background: var(--yellow); color: var(--on-yellow, #111); font-weight: 800; font-size: 1rem; box-shadow: 0 8px 24px rgba(0,0,0,.25); cursor: pointer; }
  .sm-fab .icon { width: 20px; height: 20px; }
  .sm-mhint { display: flex; gap: 8px; flex-wrap: wrap; margin: 0 0 12px; }
  .sm-mh { flex: 1 1 140px; display: flex; align-items: center; gap: 6px; padding: 10px 12px; border-radius: 12px; text-decoration: none; font-size: .88rem; font-weight: 600; color: var(--ink); }
  .sm-mh b { font-size: 1.1rem; } .sm-mh .icon { margin-left: auto; width: 16px; height: 16px; opacity: .6; }
  .sm-mh.rv { background: #FFF1E3; border: 1px solid #F7C99B; } .sm-mh.fl { background: #FDECEC; border: 1px solid #F3B4B4; }
  .cal-layout > aside .sm-review, .cal-layout > aside .sm-failed, .cal-layout > aside .sm-howto { display: none; }
  .cal-card { padding: 12px; }
  .cal-card .cal, .cal-card .sm-legend { display: none; }
  .cal-head { gap: 8px; }
  .cal-nav { width: 100%; display: grid; grid-template-columns: auto minmax(0, 1fr) auto auto; align-items: center; gap: 4px; }
  .cal-nav > a:nth-child(1) { order: 1; } .cal-nav h2 { order: 2; font-size: 1rem; margin: 0; text-align: center; line-height: 1.25; }
  .cal-nav > a:nth-child(3) { order: 3; } .cal-nav > a:nth-child(2) { order: 4; }
  .cal-tools { width: 100%; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; }
  .cal-tools select { width: 100%; min-width: 0; }
  .cal-tools .seg a { padding: 6px 10px; }
  .sm-mcal { display: grid; grid-template-columns: repeat(7, 1fr); gap: 2px; margin: 4px 0 12px; text-align: center; }
  .sm-mcal i { font-style: normal; font-size: .68rem; font-weight: 700; color: var(--muted); padding: 2px 0 4px; }
  .sm-mcal a { display: grid; justify-items: center; gap: 2px; padding: 5px 0 4px; border-radius: 9px; text-decoration: none; color: var(--ink); font-size: .86rem; font-weight: 600; min-height: 40px; }
  .sm-mcal a.out { color: #c4c4c0; } .sm-mcal a.has { background: var(--paper); }
  .sm-mcal a.today span { background: var(--yellow); border-radius: 99px; padding: 0 6px; }
  .sm-mcal em { display: flex; gap: 2px; height: 6px; } .sm-mcal u { width: 6px; height: 6px; border-radius: 50%; background: var(--c); }
  .sm-agenda { display: grid; gap: 14px; }
  .sm-ag-day h3 { display: flex; align-items: center; justify-content: space-between; margin: 0 0 6px; font-size: .82rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
  .sm-ag-day.today h3 span { color: var(--ink); } .sm-ag-day.today h3 span::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--yellow); margin-right: 6px; vertical-align: 1px; }
  .sm-ag-day h3 a { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; text-decoration: none; color: var(--muted); border: 1px solid var(--line); font-size: 1.1rem; font-weight: 600; }
  .sm-ag-day.is-empty h3 { margin: 0; opacity: .6; }
  .sm-ag-it { display: grid; grid-template-columns: 52px minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 7px; margin-top: 6px; border-radius: 12px; border: 1px solid var(--line); border-left: 4px solid var(--c); background: #fff; text-decoration: none; color: var(--ink); }
  .sm-ag-it:active { background: var(--paper); }
  .sm-th.ag { width: 52px; height: 52px; border-radius: 8px; }
  .sm-ag-m { display: grid; min-width: 0; }
  .sm-ag-m b { font-size: .9rem; line-height: 1.25; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
  .sm-ag-m small { color: var(--muted); font-size: .76rem; margin-top: 2px; } .sm-ag-m time { font-weight: 700; color: var(--ink-2); }
  .sm-ag-st { font-size: .68rem; font-weight: 700; padding: 3px 8px; border-radius: 99px; color: var(--c); background: color-mix(in srgb, var(--c) 14%, #fff); white-space: nowrap; max-width: 92px; overflow: hidden; text-overflow: ellipsis; }
  .sm-ag-none { margin: 4px 0 0; }
  .container:has(.sm-fab) { padding-bottom: 80px; }
}
@media (min-width: 761px) { .sm-seg-list { display: none !important; } }
.sm-th.vid img { width: 100%; height: 100%; object-fit: cover; display: block; }
.sm-th.vid:not(:has(img)) { background: linear-gradient(135deg, #2a2d31, #15171a); }
.sm-new-grid { padding-top: 12px; }
.sm-th.empty { padding: 0; margin: 0; border: 1px dashed var(--line); min-height: 0; background: var(--paper); text-align: initial; }
.sm-th.empty::after { content: "–"; display: grid; place-items: center; height: 100%; color: #bbb; font-size: .8rem; }
.sm-ag-day { scroll-margin-top: 90px; }

/* ---------- 2.64: Schiri-Wochenplan ---------- */
.rfp { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 20px; align-items: start; }
.rfp-main { display: grid; gap: 16px; min-width: 0; }
.rfp-week { display: flex; align-items: center; gap: 8px; margin-bottom: 12px; flex-wrap: wrap; }
.rfp-week > div { display: grid; line-height: 1.2; min-width: 150px; text-align: center; }
.rfp-week b { font-size: 1.1rem; }
.rfp-list { display: grid; gap: 8px; }
.rfp-it { display: grid; grid-template-columns: 118px 104px minmax(0, 1.4fr) minmax(130px, 1fr) auto; grid-template-areas: "d t n r a" "h h w w a" "c c v v a"; gap: 6px; align-items: center; padding: 8px 8px 8px 10px; border: 1px solid var(--line); border-radius: 12px; background: #fff; border-left: 4px solid #D8FF3C; }
.rfp-it [data-f="match_date"] { grid-area: d; } .rfp-it [data-f="match_time"] { grid-area: t; } .rfp-it .rfp-name { grid-area: n; } .rfp-it [data-f="role"] { grid-area: r; }
.rfp-it [data-f="home"] { grid-area: h; } .rfp-it [data-f="away"] { grid-area: w; } .rfp-it [data-f="comp"] { grid-area: c; } .rfp-it [data-f="venue"] { grid-area: v; }
.rfp-it .rfp-it-act { grid-area: a; flex-direction: column; align-self: stretch; justify-content: space-between; }
.rfp-it input, .rfp-it select { min-width: 0; width: 100%; padding: 7px 9px; font-size: .88rem; }
.rfp-it .rfp-name { font-weight: 700; }
.rfp-it-act { display: flex; gap: 2px; white-space: nowrap; }
.rfp-pages { display: flex; gap: 4px; flex-wrap: wrap; }
.rfp-pages button { border: 1px solid var(--line); background: #fff; border-radius: 99px; padding: 4px 10px; font-size: .78rem; font-weight: 600; cursor: pointer; }
.rfp-pages button.on { background: var(--brand-dark); color: #fff; border-color: var(--brand-dark); }
.rfp-people summary { cursor: pointer; }
.rfp-people .lu-chip { margin: 0 4px 6px 0; }
@media (max-width: 1100px) { .rfp { grid-template-columns: 1fr; } .rfp .lu-prev { position: static; max-width: 420px; } }
@media (max-width: 640px) { .rfp-it { grid-template-columns: 1fr 1fr auto; grid-template-areas: "n n a" "d t a" "r r a" "h w w" "c v v"; } .rfp-it .rfp-it-act { flex-direction: column; } .rfp-it .rfp-it-act .btn { padding: 4px 6px; font-size: .78rem; } }

/* ---------- 2.65: Rechte-Vorlagen ---------- */
.ut-bar { margin-bottom: 16px; display: grid; gap: 10px; }
.ut-head { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; } .ut-head .muted { flex: 1; min-width: 200px; } .ut-head b { display: inline-flex; gap: 6px; align-items: center; }
.ut-list { display: flex; flex-wrap: wrap; gap: 8px; }
.ut-chip { display: inline-flex; align-items: stretch; border: 1px solid var(--line); border-radius: 12px; background: #fff; overflow: hidden; }
.ut-chip > a:first-child { display: grid; padding: 7px 12px; text-decoration: none; color: var(--ink); line-height: 1.25; }
.ut-chip > a:first-child small { color: var(--muted); font-size: .74rem; }
.ut-chip > a:first-child:hover { background: var(--paper); }
.ut-use { display: grid; place-items: center; padding: 0 10px; border-left: 1px solid var(--line); color: var(--ink); background: var(--yellow-tint, #FFF9DB); }
.ut-use .icon { width: 16px; height: 16px; }
.ut-apply { display: grid; gap: 4px; padding: 10px 12px; border: 1px dashed var(--line-2, #ddd); border-radius: 12px; background: var(--paper); }
.ut-apply label { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; margin: 0; }
.ua-bar { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; padding: 10px 14px; background: var(--yellow-tint, #FFF9DB); border-bottom: 1px solid var(--line); font-size: .9rem; }
.ua-bar select { width: auto; max-width: 240px; padding: 6px 8px; }

/* 2.65.1: Handy – Benutzermenü über der unteren Leiste, Abmelden auch unter „Mehr“ */
@media (max-width: 760px) {
  .site-header:has(.dropdown.open) { z-index: 320; }
  .hdr-tools .dropdown.open { max-height: calc(100dvh - 70px); overscroll-behavior: contain; }
}
.sheet-logout { margin: 0; }
.sheet-logout .sheet-link { width: 100%; border: 0; background: none; font: inherit; text-align: left; cursor: pointer; color: var(--danger, #c0392b); }
.sheet-logout .sheet-link .icon { color: inherit; }

/* ---------- 2.66: Sicherheit ---------- */
.tfa-wrap { min-height: 100vh; display: grid; place-items: center; padding: 24px 16px; background: var(--paper); }
.tfa-card { width: 100%; max-width: 440px; display: grid; gap: 14px; }
.tfa-card .auth-crest { display: flex; gap: 12px; align-items: center; } .tfa-card .auth-crest h2 { margin: 0; }
.tfa-input { font-size: 1.6rem; letter-spacing: .3em; text-align: center; font-weight: 700; padding: 12px; }
.tfa-steps { margin: 0; padding-left: 20px; display: grid; gap: 10px; }
.tfa-qr { width: 200px; height: 200px; margin: 10px auto 6px; padding: 8px; background: #fff; border: 1px solid var(--line); border-radius: 12px; }
.tfa-qr svg { width: 100%; height: 100%; display: block; }
.tfa-key { display: block; font-size: 1rem; letter-spacing: .08em; margin: 6px 0 2px; word-break: break-all; }
.tfa-codes { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin: 8px 0; }
.tfa-codes code { text-align: center; padding: 8px; font-size: 1rem; background: #fff; border: 1px dashed var(--line-2, #ccc); border-radius: 8px; }
@media print { .tfa-card form, .tfa-card .row, .site-header, .tabbar { display: none !important; } }
.sec-checks { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 10px; }
.sec-ck { display: grid; grid-template-columns: 28px 1fr; column-gap: 8px; align-items: start; padding: 10px; border-radius: 12px; background: var(--paper); }
.sec-ck span { grid-row: span 2; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; color: #fff; background: #27AE60; }
.sec-ck.bad span { background: #E67E22; } .sec-ck small { color: var(--muted); }
.sec-pol { display: grid; gap: 8px; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); }
.sec-opt { position: relative; margin: 0; cursor: pointer; }
.sec-opt input { position: absolute; opacity: 0; }
.sec-opt span { display: grid; gap: 2px; height: 100%; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 12px; background: #fff; }
.sec-opt small { color: var(--muted); font-size: .78rem; }
.sec-opt input:checked + span { border-color: var(--brand-dark); box-shadow: 0 0 0 2px var(--yellow); }
.sec-opt input:focus-visible + span { outline: 2px solid var(--brand-dark); }
.sec-pill { display: inline-block; font-size: .74rem; font-weight: 700; padding: 2px 8px; border-radius: 99px; background: #EEE; color: #555; }
.sec-pill.ok { background: #E3F5EA; color: #1E7A44; } .sec-pill.wait { background: #FFF1E0; color: #A85A00; } .sec-pill.bad { background: #FDE8E8; color: #B42318; }
.sec-mode select { padding: 5px 8px; font-size: .84rem; width: auto; }
.sec-log { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; font-size: .88rem; } .sec-log time { font-weight: 700; margin-right: 6px; }
.sec-devs { list-style: none; margin: 4px 0 6px; padding: 0; display: grid; gap: 4px; font-size: .9rem; }
.sec-mode select { min-width: 170px; }

/* ---------- 2.67: geplante Updates ---------- */
.upd-plan { border-color: #F7C99B; background: #FFF8F0; }
.upd-plan-h { display: flex; gap: 12px; align-items: flex-start; } .upd-plan-h > div { display: grid; gap: 2px; }
.upd-plan-ic { width: 40px; height: 40px; border-radius: 12px; background: #F2994A; color: #fff; display: grid; place-items: center; flex: 0 0 auto; }
.upd-when { border: 0; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.upd-when legend { margin-bottom: 4px; }
.upd-plan-in { display: grid; gap: 8px; padding: 12px; border-radius: 12px; background: var(--paper); }
.upd-plan-in input[type=datetime-local] { max-width: 260px; }
.upd-notice { display: flex; align-items: center; gap: 10px; padding: 10px 16px; background: #FFF1E0; border-bottom: 1px solid #F7C99B; color: #7A4300; font-size: .9rem; }
.upd-notice.soon { background: #F2994A; color: #fff; border-color: #E07E22; }
.upd-notice > .icon { flex: 0 0 auto; width: 18px; height: 18px; }
.upd-notice span { flex: 1; }
.upd-notice button { border: 0; background: none; color: inherit; cursor: pointer; padding: 4px; opacity: .7; } .upd-notice button .icon { width: 16px; height: 16px; }
.upd-notice[hidden] { display: none; }
@media (max-width: 600px) { .upd-when { grid-template-columns: 1fr; } }
.upd-plan-in > label:first-child { display: grid; gap: 4px; font-weight: 600; }

/* 2.68: Fahrtkosten – Barauszahlung */
.tc-pay { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.tc-pay label { position: relative; margin: 0; cursor: pointer; }
.tc-pay input { position: absolute; opacity: 0; }
.tc-pay span { display: flex; align-items: center; justify-content: center; gap: 6px; padding: 8px 6px; border: 1.5px solid var(--line); border-radius: 10px; font-size: .84rem; font-weight: 700; color: var(--muted); background: #fff; }
.tc-pay span .icon { width: 15px; height: 15px; }
.tc-pay input:checked + span { border-color: var(--brand-dark); color: var(--ink); box-shadow: 0 0 0 2px var(--yellow); }
.tc-pay input:focus-visible + span { outline: 2px solid var(--brand-dark); }
.tc-bankf { display: grid; gap: 8px; } .tc-bankf[hidden] { display: none; }
.tc-cash { display: inline-block; font-size: .72rem; font-weight: 800; padding: 1px 7px; border-radius: 99px; background: #E3F5EA; color: #1E7A44; text-transform: uppercase; letter-spacing: .04em; }

/* ---------- 2.69: System-Check ---------- */
.sc-sum { display: flex; align-items: center; gap: 16px; margin-bottom: 16px; border-width: 2px; }
.sc-sum.ok { border-color: #8FD3A8; background: #F0FAF3; } .sc-sum.warn { border-color: #F7C99B; background: #FFF8F0; } .sc-sum.fail { border-color: #F3A9A9; background: #FFF3F3; }
.sc-sum > div { display: grid; gap: 2px; } .sc-sum b { font-size: 1.25rem; } .sc-sum small { color: var(--muted); }
.sc-big { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; font-size: 1.6rem; font-weight: 800; color: #fff; background: #27AE60; flex: 0 0 auto; }
.sc-sum.warn .sc-big { background: #F2994A; } .sc-sum.fail .sc-big { background: #EB5757; }
.sc-live { display: inline-flex; align-items: center; gap: 5px; margin-left: 8px; font-weight: 700; color: var(--muted); text-transform: uppercase; font-size: .68rem; letter-spacing: .08em; }
.sc-live i { width: 8px; height: 8px; border-radius: 50%; background: #bbb; }
.sc-live.on i { background: #27AE60; animation: scpulse 2s infinite; }
@keyframes scpulse { 0% { box-shadow: 0 0 0 0 rgba(39,174,96,.5); } 70% { box-shadow: 0 0 0 7px rgba(39,174,96,0); } 100% { box-shadow: 0 0 0 0 rgba(39,174,96,0); } }
.sc-grid { columns: 3 320px; column-gap: 16px; }
.sc-grid .sc-card { break-inside: avoid; margin-bottom: 16px; display: block; }
.sc-card { padding: 16px 16px 8px; }
.sc-card h3 { margin: 0 0 8px; display: flex; align-items: center; gap: 8px; font-size: 1rem; } .sc-card h3 .icon { width: 18px; height: 18px; }
.sc-card ul { list-style: none; margin: 0; padding: 0; }
.sc-card li { display: grid; grid-template-columns: 14px minmax(0, 1fr) auto; gap: 10px; align-items: start; padding: 9px 0; border-top: 1px solid var(--line); }
.sc-card li:first-child { border-top: 0; }
.sc-card li > div { display: grid; } .sc-card li b { font-size: .9rem; } .sc-card li small { color: var(--muted); font-size: .8rem; }
.sc-card li a { color: var(--muted); } .sc-card li a .icon { width: 16px; height: 16px; }
.sc-dot { width: 12px; height: 12px; border-radius: 50%; margin-top: 4px; background: #27AE60; }
.sc-warn .sc-dot { background: #F2994A; } .sc-fail .sc-dot { background: #EB5757; } .sc-info .sc-dot { background: #B9C0C8; }
.sc-fail b { color: #B42318; }


/* Member Suite: Massenlöschen & Aufräumen (2.70) */
.mb-deldlg { max-width: 520px; width: calc(100% - 32px); border: 0; border-radius: 18px; padding: 22px; box-shadow: 0 30px 80px -20px rgba(0,0,0,.45); color: var(--ink); background: var(--card, #fff); }
.mb-deldlg::backdrop { background: rgba(15,20,30,.45); }
.mb-deldlg h3 { display: flex; gap: 8px; align-items: center; color: var(--danger); }
.mb-deldlg input[name=confirm], .mc-c { font-weight: 700; letter-spacing: .06em; }
.mb-bulkbar .btn-danger { background: transparent; color: #FFB4B4; border-color: rgba(255,180,180,.5); }
.mb-bulkbar .btn-danger:hover { background: var(--danger); color: #fff; }
.mc-sec { margin-bottom: 18px; }
.mc-sec h2 { display: flex; gap: 8px; align-items: center; margin: 0 0 4px; font-size: 1.15rem; }
.mc-tools { display: flex; gap: 6px; margin: 4px 0 8px; }
.mc-list { display: grid; gap: 6px; max-height: 420px; overflow: auto; padding: 2px; }
.mc-row { display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: center; padding: 10px 12px; border: 1px solid var(--line); border-radius: 12px; cursor: pointer; margin: 0; }
.mc-row span { display: grid; min-width: 0; } .mc-row b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mc-row small { color: var(--muted); } .mc-row em { font-style: normal; color: var(--muted); font-size: .9em; white-space: nowrap; }
.mc-row.sel { border-color: var(--danger); background: color-mix(in srgb, var(--danger) 7%, transparent); }
.mc-row.done { opacity: .55; cursor: default; }
.mc-with { margin-top: 12px; }
.mc-confirm { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-top: 14px; padding-top: 14px; border-top: 1px dashed var(--line); }
.mc-confirm .mc-c { width: 180px; }
@media (max-width: 600px) { .mc-confirm { flex-direction: column; align-items: stretch; } .mc-confirm .mc-c { width: 100%; } }

/* Social Suite: Bildausschnitt Trainerfoto (2.70.1) */
.gr-pos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px 14px; margin-top: 10px; padding: 12px; border: 1px solid var(--line); border-radius: 12px; }
.gr-pos[hidden] { display: none; }
.gr-pos > .label, .gr-pos > .gr-media-btns { grid-column: 1 / -1; }
.gr-pos label { display: grid; gap: 4px; font-size: .85rem; color: var(--muted); }
.gr-pos input[type=range] { width: 100%; accent-color: var(--suite-ink, #141414); }
#gr-pos-flip.active { background: var(--ink); color: #fff; border-color: var(--ink); }
#gr-canvas.gr-movable { touch-action: none; }
#gr-canvas.gr-movable { cursor: grab; } #gr-canvas.gr-dragging { cursor: grabbing; }
@media (max-width: 600px) { .gr-pos { grid-template-columns: 1fr; } }

/* Sponsor Suite: Werbeflächen (2.71) */
.lu-fmt a { flex: 1; text-align: center; padding: 7px; border-radius: 8px; font-weight: 700; color: var(--muted); text-decoration: none; }
.lu-fmt a.on { background: #fff; color: var(--ink); box-shadow: 0 1px 3px rgba(0,0,0,.12); }
.ads { display: grid; grid-template-columns: minmax(0, 1fr) 420px; gap: 20px; align-items: start; }
.ads-main { display: grid; gap: 18px; min-width: 0; }
.ads-prev { position: sticky; top: 90px; display: grid; gap: 12px; }
.ads-img { position: relative; border-radius: 14px; overflow: hidden; box-shadow: 0 14px 40px -18px rgba(0,0,0,.5); line-height: 0; }
.ads-img img { width: 100%; height: auto; display: block; }
.ads-hit { position: absolute; border-radius: 3px; outline: 2px solid transparent; transition: outline-color .15s, background .15s; }
.ads-hit:hover, .ads-hit:focus-visible { outline-color: #fff; background: rgba(255,255,255,.18); }
.ads-stats { margin-bottom: 18px; }
.ads-zone { margin-top: 16px; }
.ads-zh { display: flex; align-items: center; gap: 10px; padding-bottom: 6px; border-bottom: 1px solid var(--line); margin-bottom: 6px; }
.ads-zh .btn { margin-left: auto; }
.ads-row { display: grid; grid-template-columns: 64px 1fr 92px 118px 1.2fr 140px 1fr 34px; gap: 6px; align-items: center; padding: 5px 6px 5px 10px; border-radius: 10px; border-left: 4px solid var(--line); margin-bottom: 4px; }
.ads-row input, .ads-row select { padding: 7px 9px; font-size: .9rem; min-width: 0; }
.ads-row .ads-code { font-weight: 800; text-align: center; }
.ads-row.st-free { border-left-color: var(--yellow); background: color-mix(in srgb, var(--yellow) 8%, transparent); }
.ads-row.st-reserved { border-left-color: color-mix(in srgb, var(--yellow) 45%, #fff); }
.ads-row.st-sold { border-left-color: var(--ink); }
.ads-row.st-free .ads-sp, .ads-row.st-free .ads-until { opacity: .35; }
.ads-row.is-del { opacity: .4; text-decoration: line-through; }
.ads-row.flash-row { animation: adsFlash 1.4s ease; }
@keyframes adsFlash { 0%, 40% { box-shadow: 0 0 0 3px var(--yellow); } 100% { box-shadow: 0 0 0 0 transparent; } }
.ads-del { display: grid; place-items: center; cursor: pointer; color: var(--muted); margin: 0; }
.ads-del input { position: absolute; opacity: 0; pointer-events: none; }
.ads-del:has(input:checked) { color: var(--danger); }
.ads-empty { max-width: 720px; }
@media (max-width: 1250px) { .ads-row { grid-template-columns: 64px 1fr 92px 118px; } .ads-row .ads-sp { grid-column: 2 / 4; } .ads-row .ads-until { grid-column: 4; } .ads-row .ads-note { grid-column: 1 / 4; } }
@media (max-width: 980px) { .ads { grid-template-columns: 1fr; } .ads-prev { position: static; order: -1; max-width: 460px; } }
@media (max-width: 560px) { .ads-row { grid-template-columns: 58px 1fr 1fr; } .ads-row .ads-sp { grid-column: 1 / 3; } .ads-row .ads-until { grid-column: 3; } .ads-row .ads-note { grid-column: 1 / 3; } }
.ads-venues { max-width: 460px; margin-bottom: 16px; } .ads-venues a { display: inline-flex; gap: 6px; align-items: center; justify-content: center; }

/* Schiri-Link: eigene Einsätze (2.73) */
body.sr-body { background: #11161D; color: #E8ECF0; }
.sr-body .card { background: #1A222C; border-color: #26313D; color: #E8ECF0; box-shadow: none; }
.sr-body .muted, .sr-body .hint { color: #8C98A6; }
.sr-body input, .sr-body select, .sr-body textarea { background: #11161D; border-color: #2E3A47; color: #fff; }
.sr-body input:focus { border-color: #D8FF3C; box-shadow: 0 0 0 3px rgba(216,255,60,.2); }
.sr-body label, .sr-body .label { color: #C9D1DA; }
.sr-body .btn-primary { background: #D8FF3C; border-color: #D8FF3C; color: #10150A; }
.sr-body .btn-ghost { color: #C9D1DA; }
.sr-body .flash-wrap { max-width: 720px; margin: 12px auto 0; padding: 0 16px; }
.sr-wrap h1, .sr-wrap h2 { color: #fff; }
.sr-head { display: flex; align-items: center; gap: 14px; padding: 10px 0 4px; position: relative; }
.sr-head img { width: 54px; height: 54px; object-fit: contain; }
.sr-head small { display: block; font-size: .72rem; text-transform: uppercase; letter-spacing: .14em; color: #D8FF3C; font-weight: 700; }
.sr-head b { font-size: 1.5rem; color: #fff; }
.sr-cards { margin-left: auto; position: relative; width: 56px; height: 52px; }
.sr-cards i { position: absolute; width: 30px; height: 42px; border-radius: 5px; top: 4px; }
.sr-cards i:first-child { background: #FFD21F; left: 4px; transform: rotate(-10deg); }
.sr-cards i:last-child { background: #E8352E; left: 20px; transform: rotate(12deg); }
.sr-list { display: grid; gap: 8px; }
.sr-item { display: grid; grid-template-columns: 62px 1fr auto; gap: 12px; align-items: center; padding: 10px 12px; background: #11161D; border-radius: 12px; border-left: 4px solid #D8FF3C; }
.sr-item.past { border-left-color: #3A4757; opacity: .75; }
.sr-date { display: grid; text-align: center; line-height: 1.15; }
.sr-date b { color: #D8FF3C; font-size: .8rem; letter-spacing: .1em; }
.sr-date span { font-weight: 800; color: #fff; }
.sr-date small { color: #8C98A6; }
.sr-main { display: grid; gap: 3px; min-width: 0; }
.sr-main b { color: #fff; overflow-wrap: anywhere; }
.sr-main span { color: #8C98A6; font-size: .88rem; }
.sr-role { font-style: normal; font-weight: 800; font-size: .72rem; padding: 1px 7px; border-radius: 6px; background: #3A4757; color: #fff; margin-right: 4px; }
.sr-role.sr { background: #D8FF3C; color: #10150A; }
.sr-act { display: flex; gap: 2px; } .sr-act form { margin: 0; }
.sr-past { margin-top: 14px; } .sr-past summary { cursor: pointer; color: #8C98A6; margin-bottom: 8px; }
.sr-roles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.sr-roles label { margin: 0; cursor: pointer; }
.sr-roles input { position: absolute; opacity: 0; }
.sr-roles span { display: grid; text-align: center; padding: 8px 4px; border: 1px solid #2E3A47; border-radius: 10px; }
.sr-roles span b { color: #fff; } .sr-roles span small { color: #8C98A6; font-size: .72rem; }
.sr-roles input:checked + span { border-color: #D8FF3C; background: rgba(216,255,60,.1); }
.sr-roles input:focus-visible + span { outline: 2px solid #D8FF3C; }
@media (max-width: 420px) { .sr-roles { grid-template-columns: repeat(2, 1fr); } }
.rl-list { display: grid; gap: 12px; margin-bottom: 18px; }
.rl-item.is-new { box-shadow: 0 0 0 3px var(--yellow); }
.rl-top { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; align-items: baseline; margin-bottom: 10px; }
.rl-top > div:first-child { display: grid; }
.rl-tags { display: flex; gap: 6px; flex-wrap: wrap; }
.rl-tag { font-style: normal; font-size: .78rem; font-weight: 700; padding: 3px 9px; border-radius: 999px; background: var(--paper); color: var(--muted); border: 1px solid var(--line); }
.rl-tag.ok { background: #E8F6EC; color: #1E7A3C; border-color: #CBEBD5; }
.rl-tag.warn { background: #FFF5DA; color: #8A6400; border-color: #F3E2AE; }
.rl-row, .rl-link, .rl-add { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.rl-row input { flex: 1 1 220px; min-width: 0; }
.rl-link { margin-top: 10px; } .rl-link input { flex: 1 1 260px; min-width: 0; font-family: ui-monospace, monospace; font-size: .82rem; background: var(--paper); }
.rl-qr { margin-top: 10px; max-width: 220px; }
.rl-danger { color: var(--danger); }
.rl-add input { flex: 1 1 180px; min-width: 0; }
/* Werbeflächen je Turnier (2.74) */
.ads-modes { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 16px; align-items: flex-start; }
.ads-mode { display: grid; gap: 1px; padding: 8px 14px; border: 1px solid var(--line); border-radius: 12px; background: #fff; text-decoration: none; color: var(--ink); min-width: 140px; }
.ads-mode b { display: inline-flex; gap: 6px; align-items: center; font-size: .92rem; }
.ads-mode small { color: var(--muted); font-size: .78rem; }
.ads-mode.on { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.ads-mode.past { opacity: .6; }
.ads-newev { cursor: pointer; border-style: dashed; }
.ads-newev summary { list-style: none; display: grid; gap: 1px; } .ads-newev summary::-webkit-details-marker { display: none; }
.ads-newev[open] { min-width: 300px; cursor: default; } .ads-newev form { margin-top: 10px; }
.ads-naming { padding: 12px; border-radius: 12px; background: var(--yellow-tint); border: 1px solid var(--yellow-soft); display: grid; gap: 8px; }
.ads-row.ads-bk { grid-template-columns: 64px minmax(90px, .8fr) 110px 160px 1.4fr; }
.ads-code-t { font-weight: 800; text-align: center; }
.ads-perm { grid-column: 4 / -1; display: inline-flex; gap: 6px; align-items: center; color: var(--muted); font-size: .88rem; }
@media (max-width: 1250px) { .ads-row.ads-bk { grid-template-columns: 54px 1fr 100px; } .ads-row.ads-bk .ads-st { grid-column: 1 / 3; } .ads-row.ads-bk .ads-sp { grid-column: 3; } .ads-row.ads-bk .ads-perm { grid-column: 1 / -1; } }
.ads-zone.is-off .ads-zh { opacity: .6; } .ads-zone.is-off .ads-zh b { text-decoration: line-through; }
.ads-offz { display: flex; gap: 6px; flex-wrap: wrap; align-items: center; margin-top: 16px; padding-top: 12px; border-top: 1px dashed var(--line); }
.ads-row.st-na { opacity: .5; border-left-color: var(--line-2); background: repeating-linear-gradient(135deg, transparent 0 8px, rgba(0,0,0,.025) 8px 16px); }
.ads-zh .rl-danger { margin-left: 0; }
.ads-zh .btn + .btn { margin-left: 0; }
/* Sponsoring-Kontakt & Anfragen (2.75) */
.inq-list { display: grid; gap: 10px; }
.inq { padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; display: grid; gap: 4px; }
.inq.is-new { border-left: 4px solid var(--yellow); background: var(--yellow-tint); }
.inq-h { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.inq-sp { margin: 4px 0 0; padding-left: 18px; font-size: .88rem; }
.inq-act { display: flex; gap: 6px; align-items: center; margin-top: 4px; }
.sp-offers { display: flex; gap: 8px; flex-wrap: wrap; }
.sp-offers a { display: grid; padding: 8px 14px; border: 1px solid var(--line-2); border-radius: 12px; background: #fff; text-decoration: none; color: var(--ink); }
.sp-offers a.on { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.sp-offers small { color: var(--muted); }
.sp-zone { display: grid; gap: 6px; }
.sp-pick { display: grid; grid-template-columns: auto 1fr auto; gap: 10px; align-items: center; padding: 10px 12px; border: 1px solid var(--line); border-radius: 12px; cursor: pointer; margin: 0; background: #fff; }
.sp-pick span { display: grid; } .sp-pick small { color: var(--muted); } .sp-pick em { font-style: normal; font-weight: 700; white-space: nowrap; }
.sp-pick:has(input:checked) { border-color: var(--ink); background: var(--yellow-tint); }
.sp-naming { border-color: var(--yellow); }
.sp-contact { display: grid; gap: 4px; }

/* Facebook (2.77) */
.fb-logo { text-transform: none; display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: #1877F2; color: #fff; font: 800 22px/1 Arial, sans-serif; flex: none; }
.fb-logo.sm { width: 20px; height: 20px; font-size: 13px; vertical-align: -4px; margin-right: 4px; }
.fb-head { display: flex; gap: 14px; align-items: flex-start; }
.fb-opts { display: grid; gap: 8px; margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--line); }
.fb-howto { margin-top: 12px; } .fb-howto summary { cursor: pointer; font-weight: 600; } .fb-howto ol { margin: 8px 0 0; padding-left: 20px; display: grid; gap: 6px; }
.fb-howto code { font-size: .82em; word-break: break-all; }
.fb-badge { display: inline-flex; align-items: center; gap: 4px; font-size: .74rem; font-weight: 700; padding: 3px 9px; border-radius: 999px; background: #E7F0FE; color: #1458C7; }
.fb-badge.ok::before { content: "f"; font: 800 .8rem Arial, sans-serif; }
.fb-badge.wait { background: #F1F1EE; color: #6B6B6B; }
.fb-badge.bad { background: #FDE8E8; color: #B42318; }
.fb-toggle .check { margin: 0; }
.sm-row-st { display: inline-flex; gap: 6px; flex-wrap: wrap; justify-content: flex-end; }

/* ---------- 2.78: Trainer-Portal (öffentlich) ---------- */
.etp-body { background: #F3F2EE; }
.etp { max-width: 860px; margin: 0 auto; padding: 14px 16px 32px; display: grid; gap: 14px; }
.etp-hero { border-radius: 22px; overflow: hidden; background: var(--brand-dark, #1F2328); color: var(--on-dark, #fff); box-shadow: 0 18px 40px rgba(20,20,20,.14); }
.etp-host { display: flex; gap: 12px; align-items: center; padding: 16px 18px; border-bottom: 1px solid rgba(255,255,255,.1); }
.etp-host img { width: 52px; height: 52px; object-fit: contain; flex: none; }
.etp-host > div { display: grid; line-height: 1.3; min-width: 0; }
.etp-host small { font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; color: var(--accent-on-dark, #C9A45C); font-weight: 700; }
.etp-host b { font-size: 1.02rem; } .etp-host span { font-size: .8rem; opacity: .72; }
.etp-team { padding: 20px 18px 22px; display: flex; gap: 16px; align-items: center; justify-content: space-between; background: radial-gradient(120% 160% at 100% 0%, color-mix(in srgb, var(--acc, #C9A45C) 45%, transparent), transparent 62%); }
.etp-team-txt { min-width: 0; }
.etp-crest { flex: none; width: 92px; height: 92px; border-radius: 50%; background: #fff; display: grid; place-items: center; box-shadow: 0 0 0 4px color-mix(in srgb, var(--acc, #C9A45C) 70%, transparent), 0 12px 28px rgba(0,0,0,.3); }
.etp-crest img { width: 70px; height: 70px; object-fit: contain; }
.etp-tag { display: inline-block; font-size: .68rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; padding: 4px 10px; border-radius: 999px; background: var(--acc, rgba(255,255,255,.12)); color: var(--on-acc, #fff); }
.etp-team h1 { margin: 10px 0 4px; font-family: "Anton", "Montserrat", sans-serif; font-weight: 400; font-size: clamp(2rem, 7vw, 3rem); line-height: 1; text-transform: uppercase; letter-spacing: .01em; overflow-wrap: anywhere; }
.etp-team p { margin: 0; display: flex; align-items: center; gap: 8px; font-size: .9rem; opacity: .85; }
.etp-team p i { width: 10px; height: 10px; border-radius: 50%; flex: none; }
.etp-card { background: #fff; border-radius: 18px; padding: 16px 18px; box-shadow: 0 1px 0 rgba(20,20,20,.04), 0 8px 24px rgba(20,20,20,.05); min-width: 0; }
.etp-pad { padding: 22px; }
.etp-card h2 { margin: 0 0 12px; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); display: flex; align-items: center; gap: 8px; }
.etp-card h2 svg { width: 16px; height: 16px; } .etp-card h2 small { letter-spacing: 0; text-transform: none; color: #1E7A3C; }
.etp-welcome p { margin: 0; font-size: .95rem; line-height: 1.55; }
.etp-notice { background: #FFF5DA; border: 1px solid #F3E2AE; color: #6B4E00; border-radius: 14px; padding: 10px 14px; font-weight: 600; font-size: .9rem; }
.etp-status { border-radius: 18px; padding: 16px 18px; background: #fff; border: 2px solid var(--acc, var(--yellow)); display: grid; gap: 8px; }
.etp-status.is-live { border-color: #E5484D; }
.etp-kick { font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); display: flex; align-items: center; gap: 8px; }
.etp-dot { width: 9px; height: 9px; border-radius: 50%; background: #E5484D; box-shadow: 0 0 0 4px rgba(229,72,77,.18); animation: etpPulse 1.4s infinite; }
@keyframes etpPulse { 50% { box-shadow: 0 0 0 8px rgba(229,72,77,0); } }
@media (prefers-reduced-motion: reduce) { .etp-dot { animation: none; } }
.etp-next { display: flex; gap: 16px; align-items: center; }
.etp-next time { font-family: "Anton", "Montserrat", sans-serif; font-size: 2.6rem; line-height: 1; display: grid; justify-items: center; min-width: 92px; font-variant-numeric: tabular-nums; }
.etp-next time small { font-family: "Montserrat", sans-serif; font-size: .7rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-top: 4px; }
.etp-next > div { display: grid; gap: 2px; min-width: 0; } .etp-next b { font-size: 1.1rem; } .etp-next span { color: var(--muted); font-size: .88rem; } .etp-next em { color: #8A6400; font-style: normal; font-weight: 600; }
.etp-big { display: grid; grid-template-columns: 1fr auto 1fr; gap: 12px; align-items: center; text-align: center; }
.etp-big b { font-size: 1rem; overflow-wrap: anywhere; } .etp-big strong { font-family: "Anton", "Montserrat", sans-serif; font-weight: 400; font-size: 3rem; line-height: 1; font-variant-numeric: tabular-nums; }
.etp-sub { text-align: center; color: var(--muted); font-size: .85rem; }
.etp-games { list-style: none; margin: 0; padding: 0; display: grid; }
.etp-games li { display: grid; grid-template-columns: 62px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 11px 0; border-top: 1px solid var(--line); }
.etp-games li:first-child { border-top: 0; }
.etp-games time { font-weight: 700; font-variant-numeric: tabular-nums; }
.etp-games li > div { display: grid; min-width: 0; } .etp-games b { font-size: .95rem; overflow-wrap: anywhere; } .etp-games span { color: var(--muted); font-size: .8rem; }
.etp-games strong { font-family: "Anton", "Montserrat", sans-serif; font-weight: 400; font-size: 1.35rem; min-width: 48px; text-align: center; padding: 2px 8px; border-radius: 8px; font-variant-numeric: tabular-nums; }
.etp-games .r-s strong { background: #E8F6EC; color: #1E7A3C; } .etp-games .r-u strong { background: #F1F1EE; } .etp-games .r-n strong { background: #FDE8E8; color: #B42318; }
.etp-games .st-live { background: #FFF6F6; margin: 0 -18px; padding: 11px 18px; }
.etp-games .st-done time { color: var(--muted); }
.etp-livetag { font-style: normal; font-weight: 800; color: #E5484D; }
.etp-tablewrap { overflow-x: auto; }
.etp-table { width: 100%; border-collapse: collapse; font-size: .9rem; font-variant-numeric: tabular-nums; }
.etp-table th { text-align: left; font-size: .72rem; color: var(--muted); font-weight: 700; padding: 6px 6px; }
.etp-table td { padding: 8px 6px; border-top: 1px solid var(--line); }
.etp-table td:nth-child(n+3), .etp-table th:nth-child(n+3) { text-align: center; }
.etp-table tr.me td { background: var(--acc-soft, var(--yellow-tint)); font-weight: 700; } .etp-table tr.me td:first-child { box-shadow: inset 3px 0 0 var(--acc, var(--yellow)); }
.etp-tt { display: flex; align-items: center; gap: 8px; } .etp-tt img, .etp-rank img { width: 22px; height: 22px; object-fit: contain; flex: none; }
.etp-nologo { width: 22px; height: 22px; border-radius: 50%; background: var(--paper); border: 1px solid var(--line); flex: none; display: inline-block; }
.etp-rank { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.etp-rank li { display: flex; gap: 10px; align-items: center; padding: 8px 10px; border-radius: 10px; } .etp-rank li span { width: 28px; font-weight: 800; }
.etp-rank li.me { background: var(--acc-soft, var(--yellow-tint)); box-shadow: inset 3px 0 0 var(--acc, var(--yellow)); }
.etp-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.etp-grid > .etp-card:last-child:nth-child(odd) { grid-column: 1 / -1; }
.etp-cabbox { display: grid; gap: 2px; padding: 14px; border-radius: 14px; background: var(--brand-dark, #1F2328); color: var(--on-dark, #fff); }
.etp-cabbox b { font-family: "Anton", "Montserrat", sans-serif; font-weight: 400; font-size: 1.8rem; text-transform: uppercase; line-height: 1; } .etp-cabbox span { opacity: .75; font-size: .88rem; }
.etp-place { margin: 0 0 10px; display: grid; gap: 2px; } .etp-place span { color: var(--muted); font-size: .9rem; }
.etp-info { margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--line); font-size: .88rem; line-height: 1.5; }
.etp-hint { color: var(--muted); font-size: .8rem; margin: 10px 0 0; }
.etp-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.etp-btn { display: inline-flex; align-items: center; gap: 6px; padding: 9px 14px; border-radius: 999px; background: var(--ink); color: #fff; font-weight: 600; font-size: .85rem; text-decoration: none; overflow-wrap: anywhere; }
.etp-btn svg { width: 15px; height: 15px; } .etp-btn.ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line-2); }
.etp-btn { transition: background .15s, color .15s, box-shadow .15s; }
.etp-btn:hover, .etp-btn:focus-visible { background: var(--acc, var(--yellow)); color: var(--on-acc, #141414); }
.etp-btn.ghost:hover, .etp-btn.ghost:focus-visible { background: var(--acc-soft, var(--yellow-tint)); color: var(--acc-ink, var(--ink)); box-shadow: inset 0 0 0 1.5px var(--acc, var(--yellow)); }
.etp-btn:focus-visible, .etp-docs a:focus-visible, .etp-11-btn:focus-visible { outline: 2px solid var(--yellow); outline-offset: 2px; }
.etp-docs { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.etp-docs a { display: grid; grid-template-columns: 34px minmax(0, 1fr) 18px; gap: 10px; align-items: center; padding: 10px; border-radius: 12px; background: var(--paper); color: inherit; text-decoration: none; }
.etp-docs a > svg:first-child { width: 34px; height: 34px; padding: 8px; border-radius: 10px; background: #fff; color: var(--acc-ink, var(--yellow-2)); }
.etp-docs a { transition: background .15s, box-shadow .15s; } .etp-docs a:hover { background: var(--acc-soft, var(--yellow-tint)); box-shadow: inset 0 0 0 1.5px var(--acc, var(--yellow)); color: inherit; }
.etp-docs a > svg:last-child { width: 18px; height: 18px; color: var(--muted); }
.etp-docs span { display: grid; min-width: 0; } .etp-docs b { font-size: .9rem; overflow-wrap: anywhere; } .etp-docs small { color: var(--muted); font-size: .75rem; }
.etp-partners { text-align: center; } .etp-partners h2 { justify-content: center; }
.etp-naming { display: flex; gap: 14px; align-items: center; justify-content: center; padding: 14px; margin: 4px 0 14px; border-radius: 16px; background: var(--yellow-tint); box-shadow: inset 0 0 0 1px var(--yellow-soft); }
.etp-naming img { max-height: 76px; max-width: 220px; object-fit: contain; } .etp-naming img.bg-dark { background: #1F2328; padding: 6px 10px; border-radius: 10px; }
.etp-naming > div { display: grid; text-align: left; } .etp-naming small { font-size: .68rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--yellow-2); } .etp-naming b { font-size: 1.05rem; }
.etp-sp { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 10px; }
.etp-sp li > a, .etp-sp li > span:first-child { color: inherit; text-decoration: none; }
.etp-sp li { display: grid; gap: 6px; padding: 12px 10px; border-radius: 14px; border: 1px solid var(--line); }
.etp-sp li > a { display: grid; gap: 6px; }
.etp-splogo { height: 72px; display: grid; place-items: center; border-radius: 10px; }
.etp-sp li.bg-dark .etp-splogo { background: #1F2328; color: #fff; }
.etp-splogo img { max-height: 62px; max-width: 90%; object-fit: contain; }
.etp-spname { font-size: .8rem; font-weight: 600; display: grid; } .etp-spname small { font-size: .7rem; color: var(--muted); font-weight: 500; }
.etp-11 { margin-top: 6px; border-radius: 20px; padding: 18px 20px; background: #15171A; color: #F5F4F1; display: grid; gap: 10px; position: relative; overflow: hidden; }
.etp-11::before { content: ""; position: absolute; inset: auto -60px -80px auto; width: 220px; height: 220px; border-radius: 50%; background: radial-gradient(circle, rgba(201,164,92,.22), transparent 70%); pointer-events: none; }
.etp-11-head { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; } .etp-11-head .l11-word { height: 30px; width: auto; } .etp-11-head .l11-mark { display: none; }
.etp-11-head span { font-size: .7rem; letter-spacing: .16em; text-transform: uppercase; color: #C9A45C; font-weight: 700; }
.etp-11 p { margin: 0; font-size: .88rem; line-height: 1.55; color: rgba(245,244,241,.75); max-width: 60ch; }
.etp-11-btn { justify-self: start; padding: 9px 16px; border-radius: 999px; background: var(--suite-grad); color: #15171A; font-weight: 700; font-size: .85rem; text-decoration: none; position: relative; }
.etp-foot { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; font-size: .75rem; color: var(--muted); } .etp-foot a { color: inherit; }
@media (max-width: 640px) { .etp-grid { grid-template-columns: 1fr; } .etp-next time { min-width: 74px; font-size: 2.2rem; } .etp-big strong { font-size: 2.4rem; } }
/* Verwaltung */
.etp-adm { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 18px; align-items: start; }
@media (max-width: 980px) { .etp-adm { grid-template-columns: 1fr; } }
.etp-adm-bulk { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 12px; }
.etp-adm-team { border: 1px solid var(--line); border-left: 4px solid var(--tc); border-radius: 12px; padding: 12px 14px; }
.etp-adm-team .ev-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--tc); margin-right: 6px; }
.etp-adm-team .rl-link input { flex: 1 1 240px; min-width: 0; }
.etp-adm-docs { list-style: none; margin: 0 0 14px; padding: 0; display: grid; gap: 6px; }
.etp-adm-docs li { display: grid; grid-template-columns: 22px minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 8px 10px; border-radius: 10px; background: var(--paper); }
.etp-adm-docs li > svg { width: 20px; height: 20px; color: var(--yellow-2); } .etp-adm-docs li div { display: grid; min-width: 0; } .etp-adm-docs small { color: var(--muted); }
.etp-adm-up { border-top: 1px solid var(--line); padding-top: 14px; }
.etp-adm-sp { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 4px 10px; max-height: 220px; overflow: auto; }
.etp-adm-plist { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; } .etp-adm-plist li { display: flex; justify-content: space-between; gap: 10px; border-bottom: 1px solid var(--line); padding-bottom: 6px; }
.etp-adm-check { margin: 0; padding-left: 18px; display: grid; gap: 6px; font-size: .9rem; }
.etp-adm-tour { border: 1px solid var(--line); border-radius: 12px; margin-top: 10px; overflow: hidden; }
.etp-adm-tour summary { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; padding: 11px 14px; cursor: pointer; background: var(--paper); border-left: 4px solid var(--tc); list-style: none; }
.etp-adm-tour summary::-webkit-details-marker { display: none; }
.etp-adm-tour summary::after { content: "▾"; margin-left: auto; color: var(--muted); } .etp-adm-tour[open] summary::after { content: "▴"; }
.etp-adm-tour .ev-dot { display: inline-block; width: 9px; height: 9px; border-radius: 50%; background: var(--tc); }
.etp-adm-tour .etp-adm-team { border: 0; border-top: 1px solid var(--line); border-radius: 0; padding: 10px 14px; display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 6px 12px; align-items: center; }
.etp-adm-tn { display: grid; min-width: 0; } .etp-adm-tn span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.etp-adm-act { display: flex; gap: 4px; flex-wrap: wrap; justify-content: flex-end; } .etp-adm-act svg { width: 15px; height: 15px; }
.etp-adm-team .rl-qr { grid-column: 1 / -1; }
.etp-adm-team .rl-qr svg { max-width: 180px; }
@media (max-width: 760px) { .etp-adm-tour .etp-adm-team { grid-template-columns: minmax(0, 1fr) auto; } .etp-adm-act { grid-column: 1 / -1; justify-content: flex-start; } }

/* 2.78.1: Sammel-Links, Gegner-Logos, Vereinsfarben */
.etp-gm { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; font-weight: 700; font-size: .93rem; }
.etp-gm > i { font-style: normal; color: var(--muted); }
.etp-gt { display: inline-flex; align-items: center; gap: 6px; min-width: 0; } .etp-gt span { overflow-wrap: anywhere; }
.etp-gt img, .etp-vs img, .etp-big img { object-fit: contain; flex: none; }
.etp-gt.me span { color: var(--acc-ink, var(--ink)); }
.etp-vs { display: inline-flex; align-items: center; gap: 7px; flex-wrap: wrap; }
.etp-big b { display: grid; justify-items: center; gap: 6px; }
.etp-tchip { font-style: normal; font-weight: 700; color: var(--ink); } .etp-tchip::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--tc); margin-right: 5px; }
.etp-tabs { display: flex; gap: 8px; overflow-x: auto; padding: 2px 2px 6px; scrollbar-width: thin; }
.etp-tabs a { flex: none; display: grid; grid-template-columns: auto auto; column-gap: 7px; align-items: center; padding: 9px 14px; border-radius: 14px; background: #fff; color: var(--ink); text-decoration: none; font-weight: 700; font-size: .88rem; box-shadow: 0 1px 0 rgba(20,20,20,.04), 0 6px 16px rgba(20,20,20,.05); transition: background .15s, color .15s; }
.etp-tabs a i { width: 8px; height: 8px; border-radius: 50%; background: var(--tc); grid-row: span 2; }
.etp-tabs a small { grid-column: 2; font-weight: 500; font-size: .7rem; color: var(--muted); }
.etp-tabs a:hover { background: var(--acc-soft, var(--yellow-tint)); color: var(--acc-ink, var(--ink)); }
.etp-tabs a.on { background: var(--acc, var(--ink)); color: var(--on-acc, #fff); } .etp-tabs a.on small { color: inherit; opacity: .8; }
.etp-teams { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 12px; margin-bottom: 14px; }
.etp-tcard { display: grid; gap: 8px; padding: 14px 16px; border-radius: 18px; background: #fff; color: inherit; text-decoration: none; border: 2px solid transparent; border-top: 4px solid var(--tc); box-shadow: 0 1px 0 rgba(20,20,20,.04), 0 8px 24px rgba(20,20,20,.05); transition: border-color .15s, transform .15s; }
.etp-tcard:hover { border-color: var(--acc, var(--yellow)); border-top-color: var(--tc); color: inherit; transform: translateY(-1px); }
.etp-tcard.is-live { border-color: #E5484D; }
.etp-tcard-h { display: grid; } .etp-tcard-h b { font-size: 1.05rem; } .etp-tcard-h em { font-style: normal; font-size: .78rem; color: var(--muted); }
.etp-tcard .etp-next time { font-size: 2rem; min-width: 70px; } .etp-tcard .etp-next b { font-size: .95rem; }
.etp-tcard .etp-big strong { font-size: 2.2rem; } .etp-tcard .etp-big b { font-size: .82rem; }
.etp-tcard-go { justify-self: end; display: inline-flex; align-items: center; gap: 4px; font-size: .78rem; font-weight: 700; color: var(--acc-ink, var(--ink)); } .etp-tcard-go svg { width: 14px; height: 14px; }
.etp-cablist { display: grid; gap: 8px; } .etp-cabbox small { font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; opacity: .7; font-weight: 700; }
.etp-11-btn:hover { color: #15171A; filter: brightness(1.06); }
.etp-foot a:hover { color: var(--acc-ink, var(--ink)); }
@media (max-width: 640px) { .etp-crest { width: 70px; height: 70px; } .etp-crest img { width: 52px; height: 52px; } }
.etp-adm-links { display: grid; gap: 8px; margin-top: 12px; }
.etp-adm-link { border: 1px solid var(--line) !important; border-radius: 12px !important; border-left: 4px solid var(--yellow) !important; }
.etp-adm-chips { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 4px; } .etp-adm-chips em { font-style: normal; font-size: .72rem; font-weight: 600; padding: 2px 8px; border-radius: 999px; background: var(--paper); border: 1px solid var(--line); }
.etp-adm-sugg { margin-top: 14px; display: grid; gap: 6px; padding: 12px; border-radius: 12px; background: var(--yellow-tint); border: 1px dashed var(--yellow-mid); }
.etp-adm-sg { display: flex; gap: 10px; align-items: center; justify-content: space-between; flex-wrap: wrap; padding: 8px 0; border-top: 1px solid var(--yellow-soft); } .etp-adm-sg:first-of-type { border-top: 0; }
.etp-adm-sg > div { display: grid; min-width: 0; flex: 1 1 260px; }
.etp-adm-form { margin-top: 14px; border-top: 1px solid var(--line); padding-top: 12px; } .etp-adm-form summary { cursor: pointer; font-weight: 700; margin-bottom: 10px; }
.etp-adm-pick { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 10px; }
.etp-adm-pick fieldset { border: 1px solid var(--line); border-top: 3px solid var(--tc); border-radius: 10px; padding: 8px 10px; margin: 0; display: grid; gap: 2px; }
.etp-adm-pick legend { font-weight: 700; font-size: .85rem; padding: 0 4px; } .etp-adm-pick .ev-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--tc); margin-right: 5px; }
.etp-adm-in { font-size: .72rem; color: var(--yellow-2); font-weight: 600; }
.etp-adm-link .etp-adm-tn span.muted { white-space: normal; }
.etp-past { margin-top: 8px; border-top: 1px solid var(--line); padding-top: 8px; } .etp-past summary { cursor: pointer; font-weight: 700; font-size: .85rem; color: var(--acc-ink, var(--ink)); padding: 4px 0; }
.etp-vs .etp-gt span { overflow-wrap: anywhere; }
.etp-adm-more summary { cursor: pointer; font-weight: 700; font-size: .85rem; padding: 8px 0 2px; color: var(--yellow-2); }
/* 2.79: Spielbericht im Trainer-Portal */
.etp-cabteam { display: flex; align-items: center; gap: 6px; letter-spacing: .04em !important; text-transform: none !important; font-size: .78rem !important; opacity: .9 !important; }
.etp-cabteam i { width: 8px; height: 8px; border-radius: 50%; background: var(--tc); flex: none; }
.etp-repstate { display: grid; gap: 2px; padding: 12px 14px; border-radius: 12px; background: #FFF5DA; border: 1px solid #F3E2AE; }
.etp-repstate b { font-size: .95rem; } .etp-repstate span { font-size: .85rem; color: #6B4E00; }
.etp-repstate.ok { background: #E8F6EC; border-color: #CBEBD5; } .etp-repstate.ok span { color: #1E5E33; }
.etp-repform { margin-top: 10px; border-top: 1px solid var(--line); padding-top: 10px; }
.etp-repform > summary { cursor: pointer; font-weight: 700; color: var(--acc-ink, var(--ink)); padding: 4px 0 10px; }
.etp-rep-players { display: grid; gap: 6px; }
.etp-rep-h, .etp-rep-row { display: grid; grid-template-columns: 52px minmax(0, 1fr) 104px 38px; gap: 6px; align-items: center; }
.etp-rep-h span { font-size: .7rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.etp-rep-row .n { font-size: .8rem; color: var(--muted); font-weight: 700; text-align: right; }
.etp-rep-row input[type=text], .etp-rep-row input:not([type]), .etp-rep-coach input { width: 100%; min-width: 0; padding: 9px 10px; border-radius: 10px; border: 1.5px solid var(--line-2); font: inherit; font-size: .92rem; background: #fff; }
.etp-rep-row input:focus, .etp-rep-coach input:focus { outline: none; border-color: var(--acc, var(--yellow)); box-shadow: 0 0 0 3px var(--acc-soft, var(--yellow-soft)); }
.etp-cap { position: relative; display: grid; place-items: center; cursor: pointer; }
.etp-cap input { position: absolute; opacity: 0; pointer-events: none; }
.etp-cap i { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; font-style: normal; font-weight: 800; font-size: .8rem; color: var(--muted); border: 1.5px solid var(--line-2); }
.etp-cap input:checked + i { background: var(--acc, var(--yellow)); color: var(--on-acc, #141414); border-color: transparent; }
.etp-cap input:focus-visible + i { outline: 2px solid var(--acc-ink, var(--ink)); outline-offset: 2px; }
.etp-rep-coach { display: grid; gap: 4px; margin-top: 12px; font-weight: 700; font-size: .85rem; } .etp-rep-coach span { font-weight: 500; color: var(--muted); }
.etp-rep-matrix { margin-top: 16px; } .etp-rep-matrix > b { font-size: .9rem; }
.etp-rep-matrix table { border-collapse: collapse; font-size: .85rem; }
.etp-rep-matrix th, .etp-rep-matrix td { padding: 6px 8px; border-top: 1px solid var(--line); text-align: center; }
.etp-rep-matrix thead th { font-size: .78rem; border-top: 0; } .etp-rep-matrix thead small { display: block; font-weight: 500; color: var(--muted); font-size: .68rem; }
.etp-rep-matrix tbody th { text-align: left; font-weight: 600; white-space: nowrap; max-width: 150px; overflow: hidden; text-overflow: ellipsis; }
.etp-rep-matrix input[type=checkbox] { width: 20px; height: 20px; accent-color: var(--acc, var(--yellow)); }
#etp-rep .etp-actions { margin-top: 14px; } #etp-rep button.etp-btn { border: 0; cursor: pointer; font: inherit; font-weight: 700; }
.etp-replist { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.etp-replist a { display: grid; grid-template-columns: minmax(0, 1fr) auto 16px; gap: 10px; align-items: center; padding: 10px 12px; border-radius: 12px; background: var(--paper); color: inherit; text-decoration: none; }
.etp-replist a:hover { background: var(--acc-soft, var(--yellow-tint)); color: inherit; }
.etp-replist span { display: grid; min-width: 0; } .etp-replist small { color: var(--muted); font-size: .75rem; }
.etp-replist em { font-style: normal; font-size: .75rem; font-weight: 700; padding: 3px 9px; border-radius: 999px; background: #FFF5DA; color: #8A6400; } .etp-replist em.ok { background: #E8F6EC; color: #1E7A3C; }
.etp-replist svg { width: 16px; height: 16px; color: var(--muted); }
@media (max-width: 480px) { .etp-rep-h, .etp-rep-row { grid-template-columns: 44px minmax(0, 1fr) 84px 34px; gap: 5px; } .etp-rep-row input { padding: 9px 8px !important; font-size: .88rem !important; } }
.etp-adm-repact { display: flex; gap: 8px; flex-wrap: wrap; }
.etp-adm-rep { display: inline-flex; align-items: center; gap: 4px; font-size: .75rem; font-weight: 700; color: #8A6400; padding: 0 6px; } .etp-adm-rep svg { width: 14px; height: 14px; }
.etp-adm-rep.ok { color: #1E7A3C; }
/* 2.79.2: Hinweis „nur für Trainer“ + Eltern-Link */
.etp-private { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; padding: 10px 14px; border-radius: 14px; background: #fff; border: 1.5px dashed var(--acc, var(--yellow)); font-size: .85rem; line-height: 1.4; }
.etp-private > svg { width: 18px; height: 18px; color: var(--acc-ink, var(--ink)); flex: none; }
.etp-private span { flex: 1 1 240px; min-width: 0; }
.etp-private a { font-weight: 700; color: var(--acc-ink, var(--ink)); white-space: nowrap; }
.etp-parents { border: 2px solid var(--acc-soft, var(--yellow-soft)); }
.etp-parents-in { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 18px; align-items: center; }
.etp-qr { padding: 8px; border-radius: 14px; background: #fff; box-shadow: inset 0 0 0 1.5px var(--line); line-height: 0; }
.etp-qr svg { width: 168px; height: 168px; display: block; }
.etp-parents-txt { display: grid; gap: 8px; min-width: 0; } .etp-parents-txt > b { font-size: 1.02rem; } .etp-parents-txt p { margin: 0; font-size: .88rem; line-height: 1.5; color: var(--ink-2); }
.etp-copy { display: flex; gap: 6px; } .etp-copy input { flex: 1 1 auto; min-width: 0; padding: 9px 10px; border-radius: 10px; border: 1.5px solid var(--line-2); font: inherit; font-size: .82rem; background: var(--paper); }
.etp-copy button.etp-btn { border: 0; cursor: pointer; font: inherit; font-weight: 700; font-size: .82rem; }
.etp-warn { display: flex; gap: 6px; align-items: center; font-size: .8rem !important; color: #8A6400 !important; font-weight: 600; } .etp-warn svg { width: 14px; height: 14px; flex: none; }
@media (max-width: 560px) { .etp-parents-in { grid-template-columns: 1fr; justify-items: start; } .etp-qr { justify-self: center; } }
.etp-copy button.etp-btn { white-space: nowrap; flex: none; }

/* ---------- 2.80: Adventskalender ---------- */
.adk-top { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); gap: 18px; margin-bottom: 18px; align-items: start; }
@media (max-width: 980px) { .adk-top { grid-template-columns: 1fr; } }
.adk-doors { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 8px; margin: 14px 0 12px; }
@media (max-width: 760px) { .adk-doors { grid-template-columns: repeat(6, minmax(0, 1fr)); } }
@media (max-width: 460px) { .adk-doors { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.adk-d { position: relative; display: grid; justify-items: center; align-content: center; gap: 2px; aspect-ratio: 1 / 1.05; border-radius: 12px; text-decoration: none; color: var(--ink); background: var(--paper); border: 2px solid var(--line); transition: transform .15s, border-color .15s; }
.adk-d:hover { transform: translateY(-2px); border-color: var(--yellow); color: var(--ink); }
.adk-d b { font-family: "Anton", "Montserrat", sans-serif; font-weight: 400; font-size: 1.5rem; line-height: 1; }
.adk-d span { font-size: .9rem; line-height: 1; }
.adk-d i { font-style: normal; font-size: .6rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.adk-d.st-draft { background: #FFF8E6; border-color: #F3E2AE; } .adk-d.st-draft i { color: #8A6400; }
.adk-d.st-ready { background: #EEF7F0; border-color: #CBEBD5; } .adk-d.st-ready i { color: #1E7A3C; }
.adk-d.st-planned, .adk-d.st-live { background: var(--brand-dark, #1F2328); border-color: var(--brand-dark, #1F2328); color: #fff; } .adk-d.st-planned i, .adk-d.st-live i { color: var(--accent-on-dark, var(--yellow)); }
.adk-d.on { box-shadow: 0 0 0 3px var(--yellow); }
.adk-acts { display: flex; gap: 8px; flex-wrap: wrap; }
.adk-st { font-size: .75rem; font-weight: 700; padding: 3px 10px; border-radius: 999px; background: var(--paper); border: 1px solid var(--line); color: var(--muted); }
.adk-st.st-draft { background: #FFF5DA; color: #8A6400; border-color: #F3E2AE; } .adk-st.st-ready { background: #E8F6EC; color: #1E7A3C; border-color: #CBEBD5; }
.adk-st.st-planned, .adk-st.st-live { background: var(--brand-dark, #1F2328); color: #fff; border-color: transparent; }
.adk-kinds { display: flex; flex-wrap: wrap; gap: 6px; }
.adk-kinds label { position: relative; cursor: pointer; }
.adk-kinds input { position: absolute; opacity: 0; pointer-events: none; }
.adk-kinds span { display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border-radius: 999px; border: 1.5px solid var(--line-2); font-size: .85rem; font-weight: 600; }
.adk-kinds input:checked + span { background: var(--yellow); border-color: var(--yellow); color: var(--on-yellow, #141414); }
.adk-kinds input:focus-visible + span { outline: 2px solid var(--ink); outline-offset: 2px; }
.adk-kinds i { font-style: normal; }
.adk-photo { display: flex; gap: 12px; align-items: center; margin-bottom: 6px; } .adk-photo img { width: 96px; height: 96px; object-fit: cover; border-radius: 10px; }
.adk-feed { margin-top: 14px; display: grid; gap: 6px; } .adk-feed canvas { width: 100%; max-width: 320px; height: auto; aspect-ratio: 4 / 5; border-radius: 12px; box-shadow: 0 10px 30px rgba(0,0,0,.18); }
.adk-cap summary { cursor: pointer; font-weight: 600; font-size: .9rem; }
.adk-ready { padding: 10px 12px; border-radius: 10px; background: var(--paper); }
/* 2.81: Gewinnspiel im Adventskalender */
.adk-win { margin-top: 18px; }
.adk-win-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 22px; align-items: start; }
@media (max-width: 900px) { .adk-win-grid { grid-template-columns: 1fr; } }
.adk-people { max-height: 300px; overflow: auto; border: 1px solid var(--line); border-radius: 12px; padding: 6px; background: var(--paper); }
.adk-people ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.adk-people li { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 8px; align-items: baseline; padding: 6px 8px; border-radius: 8px; background: #fff; font-size: .85rem; }
.adk-people li span { color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .adk-people li em { font-style: normal; font-size: .7rem; color: var(--muted); }
.adk-stage-wrap { display: grid; gap: 10px; }
.adk-slot { position: relative; height: 200px; border-radius: 18px; overflow: hidden; background: radial-gradient(120% 120% at 50% 0%, color-mix(in srgb, var(--yellow) 35%, var(--brand-dark, #1F2328)), var(--brand-dark, #1F2328) 70%); color: #fff; display: grid; place-items: center; }
.adk-slot canvas { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.adk-slot-win { display: grid; justify-items: center; gap: 8px; padding: 0 16px; text-align: center; }
.adk-slot-k { font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; color: var(--accent-on-dark, var(--yellow)); font-weight: 700; }
.adk-slot-reel { min-height: 56px; display: grid; place-items: center; }
.adk-slot-reel span { font-family: "Anton", "Montserrat", sans-serif; font-size: clamp(1.4rem, 4vw, 2.3rem); line-height: 1.1; overflow-wrap: anywhere; }
.adk-slot-reel .roll { opacity: .75; filter: blur(.4px); }
.adk-slot-reel .hit { color: var(--accent-on-dark, var(--yellow)); text-shadow: 0 0 24px color-mix(in srgb, var(--yellow) 70%, transparent); animation: adkHit .5s cubic-bezier(.2, 1.6, .4, 1); }
@keyframes adkHit { from { transform: scale(.6); } to { transform: scale(1); } }
@media (prefers-reduced-motion: reduce) { .adk-slot-reel .hit { animation: none; } }
.adk-result { padding: 12px 14px; border-radius: 12px; background: #E8F6EC; border: 1px solid #CBEBD5; line-height: 1.6; }
.adk-wname { display: inline-block; font-weight: 800; padding: 1px 10px; border-radius: 999px; background: #fff; margin: 2px 2px 2px 0; }
.adk-wprev { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 8px; }
.adk-wprev canvas { width: 130px; height: auto; border-radius: 10px; box-shadow: 0 8px 22px rgba(0,0,0,.18); } .adk-wprev canvas + canvas { width: 160px; }
.adk-video video { width: 100%; max-width: 220px; max-height: 300px; border-radius: 10px; background: #000; display: block; margin-bottom: 8px; }
.etp-rep-row input.no { text-align: center; font-weight: 700; }
/* 2.85: Schiedsrichter-Link */
.esr .etp-tabs a { grid-template-columns: auto; }
.esr-search input { width: 100%; padding: 11px 14px; border-radius: 12px; border: 1.5px solid var(--line-2); font: inherit; background: #fff; }
.esr-list { display: grid; gap: 8px; }
.esr-m { border: 1px solid var(--line); border-left: 4px solid var(--tc, var(--line)); border-radius: 12px; background: #fff; }
.esr-m > summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 11px 14px; }
.esr-m > summary::-webkit-details-marker { display: none; }
.esr-m > summary time { font-weight: 800; font-variant-numeric: tabular-nums; min-width: 48px; }
.esr-mt { display: grid; min-width: 0; } .esr-mt b { font-size: .95rem; overflow-wrap: anywhere; } .esr-mt small { color: var(--muted); font-size: .78rem; display: flex; gap: 6px; align-items: center; flex-wrap: wrap; }
.esr-mt small i, .esr-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--tc); display: inline-block; }
.esr-m > summary strong { font-family: "Anton", sans-serif; font-weight: 400; font-size: 1.2rem; }
.esr-m[open] > summary { border-bottom: 1px solid var(--line); }
.esr-m.st-done { opacity: .85; }
.esr-two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; padding: 12px 14px; }
@media (max-width: 600px) { .esr-two { grid-template-columns: 1fr; } }
.esr-roster { min-width: 0; padding: 0 14px 12px; } .esr-two .esr-roster { padding: 0; }
.esr-rh { display: flex; align-items: center; gap: 8px; margin-bottom: 6px; } .esr-rh img { object-fit: contain; }
.esr-roster table { width: 100%; border-collapse: collapse; font-size: .88rem; }
.esr-roster th { text-align: left; font-size: .68rem; color: var(--muted); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: 4px 6px; }
.esr-roster td { padding: 6px; border-top: 1px solid var(--line); }
.esr-roster td.no { font-family: "Anton", sans-serif; font-size: 1.05rem; width: 40px; text-align: center; }
.esr-roster td.ps { font-variant-numeric: tabular-nums; color: var(--ink-2); white-space: nowrap; }
.esr-c { font-style: normal; font-size: .65rem; font-weight: 800; padding: 1px 6px; border-radius: 999px; background: var(--yellow); color: var(--on-yellow, #141414); }
.esr-nop { font-size: .72rem; font-weight: 700; color: #B42318; }
.esr-miss { margin: 0; padding: 10px; border-radius: 10px; background: #FFF5DA; color: #8A6400; font-size: .85rem; font-weight: 600; }
.esr-coach { margin: 6px 0 0; font-size: .82rem; color: var(--muted); }
.esr-pdf { display: inline-flex; align-items: center; gap: 4px; font-size: .8rem; font-weight: 700; color: var(--ink); text-decoration: none; padding: 6px 10px; border-radius: 999px; box-shadow: inset 0 0 0 1.5px var(--line-2); } .esr-pdf svg { width: 14px; height: 14px; }
.esr-ds { cursor: pointer; font-weight: 700; padding: 2px 0 10px; }
.etp-adm-ref { margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--line); }
.etp-adm-refs { display: grid; gap: 6px; }
.etp-adm-refrow { display: grid; grid-template-columns: minmax(0, 1fr); gap: 6px; align-items: center; padding: 8px 10px; border: 1px solid var(--line); border-left: 4px solid var(--tc); border-radius: 10px; }
.etp-adm-refrow .ev-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--tc); margin-right: 6px; }
.etp-adm-refrow .rl-qr { grid-column: 1 / -1; } .etp-adm-refrow .rl-qr svg { max-width: 160px; }
.etp-adm-refrow .etp-adm-tn { display: flex; gap: 8px; align-items: baseline; flex-wrap: wrap; }
.etp-adm-refrow .etp-adm-act { display: flex; flex-wrap: wrap; gap: 4px; align-items: center; }
.etp-adm-refrow .etp-adm-act form { margin: 0; }
.etp-by11 { display: inline-flex; align-items: center; gap: 5px; opacity: .7; } .etp-by11:hover { opacity: 1; }
.etp-by11 img { height: 14px; width: auto; display: block; }

/* ---------- 2.87: Helferplan – Schichten wandern mit dem Spielplan, wer spielt wann ---------- */
.hp-sync { display: grid; gap: 14px; border: 1px solid color-mix(in srgb, var(--suite-gold) 35%, var(--line)); background: linear-gradient(180deg, #FFFDF8, #fff 60%); }
.hp-sync.is-off { border-color: var(--line); background: #fff; }
.hp-sync-h { display: grid; grid-template-columns: 40px minmax(0, 1fr) auto; gap: 12px; align-items: center; }
.hp-sync-h b { display: block; font-size: .98rem; } .hp-sync-h small { display: block; color: var(--muted); font-size: .8rem; line-height: 1.45; margin-top: 2px; max-width: 64ch; }
.hp-sync-ic { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--suite-grad); color: #2A2116; box-shadow: 0 2px 10px rgba(162,122,56,.28); }
.hp-sync-ic .icon { width: 19px; height: 19px; }
.hp-sync.is-off .hp-sync-ic { background: var(--paper); color: var(--muted); box-shadow: none; border: 1px solid var(--line); }
.hp-sync-last { display: inline-grid; justify-items: end; gap: 1px; padding: 6px 10px; border-radius: 10px; background: #EEF8F1; color: #1E7A4C; font-size: .76rem; font-weight: 600; max-width: 260px; text-align: right; }
.hp-sync-last .icon { width: 13px; height: 13px; display: none; } .hp-sync-last i { font-style: normal; font-weight: 500; color: #4E8F6C; font-size: .7rem; }
.hp-sync-tl { display: grid; gap: 6px; } .hp-tl-day { font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }

.hp-tl { --tl-n: 118px; display: grid; gap: 6px; }
.hp-tl-rows { display: grid; gap: 7px; }
.hp-tl-row, .hp-tl-axis { display: grid; grid-template-columns: var(--tl-n) minmax(0, 1fr); gap: 12px; align-items: center; }
.hp-tl-n { display: grid; grid-template-columns: 9px minmax(0, 1fr); column-gap: 8px; align-items: center; min-width: 0; font-size: .82rem; line-height: 1.2; }
.hp-tl-n small { grid-column: 2; }
.hp-tl-row .hp-tl-n::before { content: ""; grid-row: 1 / span 2; width: 9px; height: 9px; border-radius: 50%; background: var(--tc); box-shadow: 0 0 0 3px color-mix(in srgb, var(--tc) 18%, transparent); }
.hp-tl-n b { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .hp-tl-n small { color: var(--muted); font-size: .72rem; white-space: nowrap; font-variant-numeric: tabular-nums; }
.hp-tl-track { position: relative; height: 24px; border-radius: 999px; background: repeating-linear-gradient(90deg, transparent 0 calc(var(--tl-step, 10%) - 1px), var(--line) calc(var(--tl-step, 10%) - 1px) var(--tl-step, 10%)), var(--paper); }
.hp-tl-row .hp-tl-track i { position: absolute; top: 3px; bottom: 3px; border-radius: 999px; background: linear-gradient(90deg, var(--tc), color-mix(in srgb, var(--tc) 72%, #fff)); box-shadow: 0 1px 6px color-mix(in srgb, var(--tc) 40%, transparent); }
.hp-tl-axis .hp-tl-track { height: 14px; background: none; }
.hp-tl-axis em { position: absolute; top: 0; transform: translateX(-50%); font-style: normal; font-size: .68rem; color: var(--muted); font-variant-numeric: tabular-nums; }
.hp-tl-axis em:first-child { transform: none; } .hp-tl-axis em:last-child { transform: translateX(-100%); }
@media (max-width: 560px) { .hp-tl { --tl-n: 92px; } .hp-tl-n { font-size: .76rem; } .hp-sync-h { grid-template-columns: 40px minmax(0, 1fr); } .hp-sync-last { grid-column: 1 / -1; justify-items: start; text-align: left; max-width: none; } }

.hp-tours { display: inline-flex; flex-wrap: wrap; gap: 4px; vertical-align: middle; }
.hp-tours i, .hf-tours i { display: inline-flex; align-items: center; gap: 5px; padding: 2px 8px 2px 6px; border-radius: 999px; font-style: normal; font-size: .72rem; font-weight: 600; line-height: 1.5;
  background: color-mix(in srgb, var(--tc) 12%, #fff); color: color-mix(in srgb, var(--tc) 70%, #1B1F24); border: 1px solid color-mix(in srgb, var(--tc) 26%, transparent); white-space: nowrap; }
.hp-tours i::before, .hf-tours i::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--tc); }
.hp-tours.is-hint, .hf-tours.is-hint { font-size: .72rem; color: var(--muted); font-style: italic; padding: 2px 0; }
.hp-task-h { grid-template-columns: minmax(104px, max-content) 1fr auto; }
.hp-time { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; }
.hp-meta { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 4px 6px; font-weight: 500; }
.hp-anc { display: inline-flex; align-items: center; gap: 4px; vertical-align: middle; margin-left: 6px; padding: 2px 8px; border-radius: 999px; background: var(--yellow-soft); color: var(--suite-gold-dark); font-style: normal; font-size: .7rem; font-weight: 600; letter-spacing: .01em; }
.hp-anc .icon { width: 11px; height: 11px; }
.hp-moved { font-style: normal; font-size: .7rem; font-weight: 700; padding: 2px 8px; border-radius: 999px; background: #FFF1E0; color: #A3530B; border: 1px solid #F6D3AC; }
.hp-anchor-sel { flex: 0 0 auto !important; max-width: 200px !important; font-size: .84rem; padding: 5px 8px; }

.hf-tl { margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line); display: grid; gap: 10px; }
.hf-tl-card { margin: 0; border-top: 0; padding-top: 16px; }
.hf-tl-h { display: inline-flex; align-items: center; gap: 6px; font-size: .74rem; text-transform: uppercase; letter-spacing: .1em; color: var(--suite-gold-dark); }
.hf-tl-h .icon { width: 15px; height: 15px; }
.hf-tours { display: inline-flex; flex-wrap: wrap; gap: 4px; }
.hf-moved { display: inline-flex; align-items: center; gap: 6px; font-size: .78rem; font-weight: 600; color: #A3530B; background: #FFF6EC; border-radius: 8px; padding: 4px 8px; justify-self: start; }
.hf-moved .icon { width: 13px; height: 13px; }

/* ---------- 2.88: Rechnungen (Sponsor Suite) & Namensrecht je Turnier ---------- */
.ev-naming-badge { margin: 4px 0 0; display: inline-flex; flex-wrap: wrap; gap: 4px; align-items: center; padding: 6px 12px; border-radius: 10px; background: var(--yellow-soft); color: var(--suite-gold-dark); font-size: .85rem; }
.ev-naming-badge b { color: var(--ink); }
.tn-row { display: grid; grid-template-columns: minmax(170px, 1.3fr) 90px 120px minmax(140px, 1fr) minmax(180px, 1.4fr); gap: 8px; align-items: center; padding: 8px 0; border-top: 1px solid var(--line); }
.tn-row input, .tn-row select { min-width: 0; padding: 6px 8px; font-size: .86rem; }
.tn-name { display: grid; grid-template-columns: 10px minmax(0, 1fr); column-gap: 8px; align-items: center; min-width: 0; }
.tn-name i { width: 10px; height: 10px; border-radius: 50%; background: var(--tc); grid-row: 1 / span 2; }
.tn-name b { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .tn-name small { color: var(--muted); font-size: .74rem; } .tn-name em { color: var(--suite-gold-dark); font-style: normal; font-weight: 600; }
.tn-row.st-sold { background: linear-gradient(90deg, color-mix(in srgb, var(--suite-gold) 10%, transparent), transparent 60%); }
@media (max-width: 900px) { .tn-row { grid-template-columns: 1fr 1fr; } .tn-name { grid-column: 1 / -1; } .tn-row input[name$="[text]"] { grid-column: 1 / -1; } }

.inv-ev { display: grid; gap: 8px; margin-top: 12px; }
.inv-ev-row { display: grid; grid-template-columns: minmax(200px, 1fr) auto auto; gap: 10px 16px; align-items: center; padding: 10px 12px; border: 1px solid var(--line); border-radius: 12px; }
.inv-ev-row.has-open { border-color: color-mix(in srgb, var(--suite-gold) 45%, var(--line)); background: #FFFDF8; }
.inv-ev-sp { display: flex; gap: 10px; align-items: center; min-width: 0; } .inv-ev-sp b { display: block; } .inv-ev-sp small { color: var(--muted); font-size: .78rem; }
.inv-ev-logo { width: 54px; height: 34px; border-radius: 8px; background: #fff; border: 1px solid var(--line); display: grid; place-items: center; padding: 3px; flex: none; } .inv-ev-logo.dark { background: #1F2328; border-color: #1F2328; }
.inv-ev-logo img { max-width: 100%; max-height: 100%; object-fit: contain; }
.inv-ev-docs { display: flex; flex-wrap: wrap; gap: 4px; justify-content: flex-end; }
.inv-warn { color: #B2541A; font-style: normal; font-weight: 600; }
.inv-done { display: inline-flex; align-items: center; gap: 4px; color: #1E7A4C; font-weight: 600; font-size: .82rem; } .inv-done .icon { width: 14px; height: 14px; }
.inv-ev-all { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; justify-content: flex-end; margin-top: 12px; padding-top: 12px; border-top: 1px dashed var(--line-2); }
@media (max-width: 760px) { .inv-ev-row { grid-template-columns: 1fr; } .inv-ev-docs { justify-content: flex-start; } }

.inv-pill { display: inline-flex; align-items: center; gap: 4px; padding: 3px 9px; border-radius: 999px; font-size: .74rem; font-weight: 700; font-style: normal; text-decoration: none; white-space: nowrap; border: 1px solid transparent; }
.inv-pill .icon { width: 12px; height: 12px; }
.inv-pill.open { background: var(--yellow-soft); color: var(--suite-gold-dark); border-color: color-mix(in srgb, var(--suite-gold) 35%, transparent); }
.inv-pill.ok { background: #EEF8F1; color: #1E7A4C; border-color: #BFE5CC; }
.inv-pill.bad { background: #FDEEEC; color: #B23A2E; border-color: #F3C6C0; }
.inv-pill.off { background: var(--paper); color: var(--muted); border-color: var(--line); text-decoration: line-through; }
.inv-kpis .stat em.inv-over { color: #B23A2E; font-style: normal; font-weight: 700; }
.inv-filter { margin: 14px 0; }
.inv-list { display: grid; gap: 8px; }
.inv-item { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px 16px; align-items: center; padding: 12px 16px; }
.inv-item.is-over { border-left: 4px solid #D9534F; } .inv-item.st-cancelled { opacity: .62; }
.inv-i-main { display: grid; grid-template-columns: 120px minmax(0, 1fr) 110px auto; gap: 14px; align-items: center; min-width: 0; }
.inv-no { font-weight: 800; font-variant-numeric: tabular-nums; display: grid; } .inv-no small, .inv-who small { font-weight: 500; color: var(--muted); font-size: .76rem; }
.inv-who { display: grid; min-width: 0; } .inv-who b, .inv-who small { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.inv-amount { font-weight: 800; font-size: 1.05rem; text-align: right; font-variant-numeric: tabular-nums; }
.inv-st { display: flex; gap: 8px; align-items: center; } .inv-st small .icon { width: 12px; height: 12px; vertical-align: -2px; }
.inv-i-act { display: flex; flex-wrap: wrap; gap: 4px; align-items: center; justify-content: flex-end; } .inv-f { display: contents; }
.inv-send { position: relative; } .inv-send summary { list-style: none; cursor: pointer; } .inv-send summary::-webkit-details-marker { display: none; }
.inv-send form { position: absolute; right: 0; top: calc(100% + 6px); z-index: 5; display: flex; gap: 6px; padding: 10px; background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow); width: 300px; }
.inv-send input { flex: 1; min-width: 0; padding: 6px 8px; }
@media (max-width: 860px) { .inv-item { grid-template-columns: 1fr; } .inv-i-main { grid-template-columns: 1fr auto; } .inv-st { grid-column: 1 / -1; } .inv-i-act { justify-content: flex-start; } }
.inv-cfg { margin-top: 18px; } .inv-cfg summary { cursor: pointer; list-style: none; } .inv-cfg summary::-webkit-details-marker { display: none; }

.inv-new { display: grid; gap: 14px; max-width: 900px; }
.inv-paper { padding: 28px 30px; display: grid; gap: 18px; background: linear-gradient(180deg, #fff, #fff), #fff; border-top: 4px solid var(--yellow); box-shadow: 0 10px 40px rgba(20,20,20,.07); }
.inv-top { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 24px; }
.inv-lbl { display: block; font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); font-weight: 700; margin-bottom: 4px; }
.inv-to { display: grid; gap: 6px; } .inv-to input { padding: 7px 10px; } .inv-zip { display: grid; grid-template-columns: 90px 1fr; gap: 6px; }
.inv-strong { font-weight: 700; }
.inv-meta { display: grid; gap: 10px; align-content: start; padding: 14px; border-radius: 14px; background: var(--paper); border: 1px solid var(--line); }
.inv-meta > div > b { font-size: 1.1rem; font-variant-numeric: tabular-nums; } .inv-meta small { display: block; font-size: .72rem; }
.inv-meta label { margin: 0; } .inv-meta input, .inv-meta select { width: 100%; padding: 6px 8px; } .inv-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.inv-intro { margin: 0; } .inv-intro textarea { width: 100%; }
.inv-items { display: grid; gap: 0; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.inv-ih, .inv-row { display: grid; grid-template-columns: minmax(0, 1fr) 70px 110px 110px 34px; gap: 8px; align-items: center; padding: 8px 12px; }
.inv-ih { background: var(--brand-dark, #141414); color: #fff; font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; font-weight: 700; }
.inv-ih span:nth-child(n+2) { text-align: right; }
.inv-row { border-top: 1px solid var(--line); } .inv-row:nth-child(odd) { background: #FCFBF8; }
.inv-row input { padding: 6px 8px; font-size: .9rem; min-width: 0; } .inv-row [data-inv-q], .inv-row [data-inv-u] { text-align: right; font-variant-numeric: tabular-nums; }
.inv-txt { display: grid; gap: 4px; } .inv-txt input:last-child { font-size: .8rem; color: var(--muted); }
.inv-amt { text-align: right; font-variant-numeric: tabular-nums; }
.inv-row.is-new { background: #fff; } .inv-row.is-new .inv-amt { color: var(--muted); font-weight: 500; }
.inv-row.is-off { opacity: .45; } .inv-row.is-off .inv-amt { text-decoration: line-through; }
.inv-row.is-missing [data-inv-u] { border-color: #E3A08A; background: #FFF5F1; }
.inv-miss { grid-column: 1 / -1; color: #B2541A; font-size: .76rem; font-weight: 600; }
.inv-del { display: grid; place-items: center; cursor: pointer; color: var(--muted); margin: 0; } .inv-del input { display: none; } .inv-del .icon { width: 16px; height: 16px; } .inv-row.is-off .inv-del { color: #B23A2E; }
.inv-sum { justify-self: end; width: min(100%, 320px); display: grid; gap: 6px; }
.inv-sum > div { display: flex; justify-content: space-between; gap: 12px; font-size: .92rem; color: var(--muted); } .inv-sum b { color: var(--ink); font-variant-numeric: tabular-nums; }
.inv-sum .inv-total { padding: 10px 14px; border-radius: 12px; background: var(--yellow); color: var(--on-yellow, #141414); font-size: 1.05rem; } .inv-sum .inv-total b { color: inherit; font-size: 1.15rem; }
.inv-actions { display: grid; gap: 10px; justify-items: start; }
@media (max-width: 760px) { .inv-paper { padding: 18px 14px; } .inv-top { grid-template-columns: 1fr; } .inv-ih { display: none; } .inv-row { grid-template-columns: 1fr 1fr 34px; } .inv-txt { grid-column: 1 / -1; } .inv-amt { grid-column: 1 / 3; } }
.sp-bill { border: 1px solid var(--line); border-radius: 12px; padding: 10px 14px; } .sp-bill summary { cursor: pointer; }

/* ---------- 2.89: Turnierbestimmungen ---------- */
.ev-rules { display: grid; gap: 14px; }
.ev-rules-h { display: flex; gap: 14px; align-items: flex-start; justify-content: space-between; flex-wrap: wrap; } .ev-rules-h p { max-width: 70ch; }
.ev-rules-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px 16px; align-items: start; }
.ev-rules-grid > label { display: grid; gap: 5px; margin: 0; } .ev-rules-grid > label > span:first-child, .ev-rules-l { font-size: .8rem; font-weight: 600; }
.ev-rsel { display: grid; gap: 6px; } .ev-rsel select, .ev-rsel input { width: 100%; }
.ev-rules-max { display: flex; gap: 8px; align-items: center; } .ev-rules-max input { width: 110px; }
.ev-rules-max em { font-style: normal; font-size: .76rem; font-weight: 700; padding: 3px 9px; border-radius: 999px; white-space: nowrap; }
.ev-rules-max em.ok { background: #EEF8F1; color: #1E7A4C; } .ev-rules-max em.bad { background: #FDEEEC; color: #B23A2E; }
.ev-rules-a { display: flex; gap: 14px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
@media (max-width: 860px) { .ev-rules-grid { grid-template-columns: 1fr 1fr; } } @media (max-width: 560px) { .ev-rules-grid { grid-template-columns: 1fr; } }
.ev-prev-kpi span.bad { background: #FDEEEC; border-color: #F3C6C0; color: #B23A2E; } .ev-prev-kpi span small { font-weight: 600; opacity: .8; }

.etp-rules { display: grid; gap: 14px; }
.etp-rl { display: grid; gap: 10px; }
.etp-rl-t { display: inline-flex; align-items: center; gap: 8px; font-size: .95rem; } .etp-rl-t i { width: 10px; height: 10px; border-radius: 50%; background: var(--tc); }
.etp-rl-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px; margin: 0; }
.etp-rl-grid > div { padding: 10px 12px; border-radius: 12px; background: var(--paper); border: 1px solid var(--line); border-top: 3px solid var(--tc, var(--line)); }
.etp-rl-grid dt { font-size: .66rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); font-weight: 700; }
.etp-rl-grid dd { margin: 3px 0 0; font-weight: 700; font-size: .92rem; line-height: 1.3; }
.etp-rl-n, .etp-hall p { margin: 0; font-size: .88rem; line-height: 1.55; color: var(--ink); }
.etp-hall { padding: 12px 14px; border-radius: 12px; background: #FBF8F1; border: 1px solid color-mix(in srgb, var(--suite-gold) 30%, var(--line)); display: grid; gap: 4px; }
.etp-hall b { font-size: .72rem; text-transform: uppercase; letter-spacing: .1em; color: var(--suite-gold-dark); }
.ev-rules-sub { margin: 4px 0 -4px; font-size: .9rem; } .ev-rules-sub .muted { font-weight: 500; }
.ev-rules-show { display: flex; flex-wrap: wrap; gap: 6px 18px; } .ev-rules-2 { grid-template-columns: 1fr 1fr; }
@media (max-width: 560px) { .ev-rules-2 { grid-template-columns: 1fr; } }
.ev-rules-extra { display: grid; gap: 6px; } .ev-rx { display: grid; grid-template-columns: minmax(140px, 1fr) minmax(0, 2.4fr); gap: 8px; }
@media (max-width: 560px) { .ev-rx { grid-template-columns: 1fr; } }
.etp-rl-grid > div.wide { grid-column: span 2; } .etp-rl-grid dd { hyphens: auto; overflow-wrap: anywhere; }
@media (max-width: 340px) { .etp-rl-grid > div.wide { grid-column: auto; } }

/* ---------- 2.90: Partner je Turnier ---------- */
.ev-tsp { display: grid; gap: 12px; }
.ev-tsp-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px 14px; } .ev-tsp-grid label { display: grid; gap: 5px; margin: 0; } .ev-tsp-grid label > span { font-size: .8rem; font-weight: 600; }
.ev-tsp-prev { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; padding: 10px 12px; border-radius: 12px; background: var(--paper); border: 1px solid var(--line); }
.ev-tsp-chip { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px 4px 4px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-size: .82rem; font-weight: 600; }
.ev-tsp-chip img { height: 22px; width: 40px; object-fit: contain; } .ev-tsp-chip.first { border-color: var(--suite-gold); box-shadow: 0 0 0 2px color-mix(in srgb, var(--suite-gold) 25%, transparent); }
.ev-tsp-own { margin-left: auto; font-style: normal; font-size: .72rem; font-weight: 700; padding: 2px 9px; border-radius: 999px; background: var(--yellow-soft); color: var(--suite-gold-dark); } .ev-tsp-own.off { background: #EFEDE6; color: var(--muted); }
@media (max-width: 760px) { .ev-tsp-grid { grid-template-columns: 1fr 1fr; } }

/* ---------- 2.91: Preislisten bearbeiten ---------- */
.pl-empty { display: flex; gap: 16px; align-items: center; justify-content: space-between; flex-wrap: wrap; margin-bottom: 16px; }
.pl-edit { display: grid; gap: 14px; } .pl-lists { display: grid; gap: 14px; }
.pl-list { padding: 0; overflow: hidden; border-top: 4px solid var(--yellow); }
.pl-lh { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr) auto; gap: 10px; align-items: center; padding: 14px 16px; background: linear-gradient(180deg, #FFFDF8, #fff); border-bottom: 1px solid var(--line); }
.pl-title { font-size: 1.15rem; font-weight: 800; }
.pl-la { display: flex; gap: 6px; align-items: center; }
.pl-del { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 8px; cursor: pointer; color: var(--muted); margin: 0; } .pl-del input { display: none; } .pl-del:has(input:checked) { background: #FDEEEC; color: #B23A2E; }
.pl-list:has(.pl-del input:checked) .pl-cats { opacity: .35; }
.pl-cats { display: grid; grid-template-columns: repeat(auto-fill, minmax(330px, 1fr)); gap: 12px; padding: 14px 16px; }
.pl-cat-e { border: 1px solid var(--line); border-radius: 12px; overflow: hidden; background: #fff; }
.pl-ch { display: flex; gap: 6px; align-items: center; padding: 8px 8px 8px 10px; background: var(--brand-dark, #141414); }
.pl-cname { flex: 1; background: transparent !important; border: 0 !important; color: #fff !important; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; font-size: .85rem; padding: 4px 2px !important; box-shadow: none !important; }
.pl-cname::placeholder { color: rgba(255,255,255,.55); } .pl-ch .btn { color: rgba(255,255,255,.75); }
.pl-rows { display: grid; }
.pl-row { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr) 92px 28px; gap: 6px; align-items: center; padding: 6px 8px; border-top: 1px solid var(--line); }
.pl-row:first-child { border-top: 0; } .pl-row input { min-width: 0; padding: 6px 8px; font-size: .88rem; }
.pl-row.is-blank input { background: var(--paper); } .pl-row.is-blank [data-pl-rm] { visibility: hidden; }
.pl-pin { position: relative; } .pl-pin input { width: 100%; text-align: right; padding-right: 22px; font-weight: 700; font-variant-numeric: tabular-nums; } .pl-pin i { position: absolute; right: 8px; top: 50%; transform: translateY(-50%); font-style: normal; color: var(--muted); font-size: .8rem; }
.pl-lf { display: flex; gap: 10px; align-items: center; padding: 0 16px 14px; flex-wrap: wrap; } .pl-lf input { flex: 1; min-width: 240px; }
.pl-opts { display: grid; gap: 12px; }
@media (max-width: 700px) { .pl-lh { grid-template-columns: 1fr; } .pl-cats { grid-template-columns: 1fr; } .pl-row { grid-template-columns: 1fr 1fr 28px; } .pl-row > input:first-child { grid-column: 1 / -1; } }

/* ---------- 2.92: Namensgeber auf Live-Seite & Monitor, Plakat je Turnier ---------- */
.evl-naming { display: flex; align-items: center; justify-content: center; gap: 12px; margin: 0 0 10px; padding: 10px 14px; border-radius: 14px; background: #fff; border: 1px solid color-mix(in srgb, var(--tc) 35%, #E5E2D8); border-left: 5px solid var(--tc); box-shadow: 0 4px 16px rgba(0,0,0,.06); }
.evl-nm-l { font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 800; color: color-mix(in srgb, var(--tc) 70%, #1B1F24); }
.evl-nm-logo { display: grid; place-items: center; min-height: 44px; }
.evl-nm-logo img { max-height: 48px; max-width: 200px; object-fit: contain; } .evl-nm-logo b { font-size: 1.05rem; }
.evl-naming.big { flex-direction: column; justify-content: center; text-align: center; padding: 20px 16px; background: linear-gradient(180deg, color-mix(in srgb, var(--tc) 10%, #fff), #fff); }
.evl-naming.big .evl-nm-logo img { max-height: 84px; max-width: 280px; } .evl-naming.big .evl-nm-logo b { font-size: 1.4rem; }
.evl-naming.dark .evl-nm-logo { background: #14171A; color: #fff; border-radius: 10px; padding: 6px 12px; }
.evl-tabs button.has-naming em { font-style: normal; color: var(--suite-gold, #C9A45C); margin-right: 4px; }
.evl-champ-nm { margin-left: auto; display: grid; place-items: center; } .evl-champ-nm img { max-height: 28px; max-width: 110px; object-fit: contain; }
.evm-naming { display: grid; justify-items: center; align-content: center; gap: 1.2vh; min-height: 52vh; text-align: center; padding: 3vh 2vw; border-radius: 2vh; background: linear-gradient(180deg, color-mix(in srgb, var(--tc) 22%, #15171A), #15171A); color: #fff; border-top: .8vh solid var(--tc); }
.evm-naming .evl-nm-l { color: var(--accent-on-dark, #C9A45C); font-size: 1.8vh; }
.evm-nm-t { font-size: 5.2vh; line-height: 1.05; } .evm-nm-p { font-size: 2vh; opacity: .75; text-transform: uppercase; letter-spacing: .14em; }
.evm-naming .evl-nm-logo { background: #fff; border-radius: 1.6vh; padding: 2vh 3vw; min-width: 40%; } .evm-naming .evl-nm-logo.dark { background: #14171A; border: 1px solid rgba(255,255,255,.2); }
.evm-naming .evl-nm-logo img { max-height: 16vh; max-width: 36vw; } .evm-naming .evl-nm-logo b { font-size: 4vh; color: #141414; } .evm-naming .evl-nm-logo.dark b { color: #fff; }
.evl-monitor .evl-naming { padding: 1vh 1vw; } .evl-monitor .evl-nm-logo img { max-height: 6vh; }
.evp-focus { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 4px; margin-bottom: 14px; scrollbar-width: thin; }
.evp-focus a { flex: none; display: grid; gap: 2px; padding: 10px 14px; border-radius: 14px; background: #fff; border: 1px solid var(--line); text-decoration: none; color: inherit; min-width: 160px; }
.evp-focus a b { display: flex; align-items: center; gap: 6px; } .evp-focus a b i { width: 9px; height: 9px; border-radius: 50%; background: var(--tc); }
.evp-focus a small { color: var(--muted); font-size: .74rem; } .evp-focus a.has-naming small { color: var(--suite-gold-dark); font-weight: 600; }
.evp-focus a.on { border-color: var(--suite-gold); box-shadow: 0 0 0 3px color-mix(in srgb, var(--suite-gold) 22%, transparent); background: #FFFDF8; }

/* Abruf durch Instagram prüfen (2.92.2) */
.reach-head { display: flex; gap: 14px; align-items: flex-start; }
.reach-head > div { flex: 1; min-width: 0; }
.reach-head form { flex: none; }
.reach-ico { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; flex: none; color: #fff; background: linear-gradient(135deg, #F58529, #DD2A7B 55%, #8134AF); }
.reach-ico svg { width: 18px; height: 18px; }
.reach-res { margin-top: 14px; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--line); background: #F7FBF8; }
.reach-res.bad { background: #FEF6F5; border-color: #F6D3CF; }
.reach-res ul { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 6px; }
.reach-res li { display: flex; gap: 8px; align-items: flex-start; font-size: .9rem; }
.reach-res li svg { width: 16px; height: 16px; flex: none; margin-top: 2px; }
.reach-res li.ok svg { color: #27AE60; } .reach-res li.bad svg { color: #EB5757; }
.reach-res code { font-size: .8em; word-break: break-all; }
@media (max-width: 640px) { .reach-head { flex-wrap: wrap; } .reach-head form { width: 100%; } }

/* ===================== Eventplanung (2.93) ===================== */
.ev-day-card.is-fest { border-left: 4px solid #2F80ED; }
.ep-mini { display: block; height: 4px; border-radius: 4px; background: #EEECE5; margin-top: 6px; max-width: 220px; overflow: hidden; }
.ep-mini i { display: block; height: 100%; background: var(--success); border-radius: 4px; }
.ep-mini-t { display: block; font-size: .74rem; color: var(--muted); margin-top: 2px; }
.ep-over { color: var(--danger); font-style: normal; font-weight: 700; }
.chip-fest { background: #EAF2FD; border-color: #BCD5F7; color: #1F5FB8; }
/* Neues Event: Art wählen */
.ep-kind { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.ep-kind label { cursor: pointer; }
.ep-kind input { position: absolute; opacity: 0; pointer-events: none; }
.ep-kind span { display: grid; grid-template-columns: auto 1fr; column-gap: 12px; align-items: center; padding: 14px 16px; border: 1.5px solid var(--line-2); border-radius: 14px; transition: border-color .15s, background .15s; }
.ep-kind span svg { grid-row: span 2; width: 34px; height: 34px; padding: 8px; border-radius: 10px; background: var(--paper); color: var(--ink-2); }
.ep-kind small { color: var(--muted); font-size: .8rem; }
.ep-kind input:checked + span { border-color: var(--ink); background: var(--yellow-tint); box-shadow: 0 0 0 3px rgba(20,20,20,.05); }
.ep-kind input:checked + span svg { background: var(--suite-ink); color: #F2DDA6; }
.ep-kind input:focus-visible + span { outline: 2px solid var(--info); outline-offset: 2px; }
.ev-new[data-kind="turnier"] .ep-only-fest, .ev-new[data-kind="fest"] .ep-only-turnier { display: none !important; }
/* Kopf */
.ep-head h1 { margin: 2px 0 0; }
.ep-eyebrow { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-size: .85rem; color: var(--muted); font-weight: 500; }
.ep-count { text-align: right; padding: 10px 16px; border-radius: 14px; background: var(--suite-ink); color: #fff; min-width: 130px; }
.ep-count b { display: block; font-size: 1.9rem; line-height: 1.05; letter-spacing: -.02em; color: #F2DDA6; }
.ep-count span { font-size: .74rem; opacity: .8; }
.ep-count.soon { background: linear-gradient(135deg, #2E343B, #4A3A1E); }
.ep-count.past { background: #EEF6F1; color: var(--ink); } .ep-count.past b { color: var(--success); }
.ep-tabs { display: flex; gap: 4px; padding: 4px; border-radius: 14px; background: #F2F1EC; margin: 4px 0 18px; overflow-x: auto; scrollbar-width: none; }
.ep-tabs a { display: inline-flex; align-items: center; gap: 7px; padding: 9px 14px; border-radius: 10px; font-weight: 600; font-size: .9rem; color: var(--ink-2); text-decoration: none; white-space: nowrap; }
.ep-tabs a svg { width: 16px; height: 16px; opacity: .7; }
.ep-tabs a.on { background: #fff; color: var(--ink); box-shadow: 0 1px 3px rgba(20,20,20,.08); }
.ep-tabs a.on svg { opacity: 1; }
/* Kennzahlen */
.ep-kpis { margin-bottom: 16px; }
.ep-kpis .stat b small { font-size: .9rem; color: var(--muted); font-weight: 600; }
.ep-kpis .stat.ep-pos b { color: var(--success); } .ep-kpis .stat.ep-neg b { color: var(--danger); }
.ep-kpis .stat.ep-warn { border-color: #F3D9A4; background: #FFFBF1; }
.ep-bar { display: block; height: 6px; border-radius: 6px; background: #EEECE5; margin-top: 8px; overflow: hidden; }
.ep-bar > i { display: block; height: 100%; border-radius: 6px; background: linear-gradient(90deg, #23955F, #4CC38A); transition: width .3s; }
.ep-bar.big { height: 10px; }
/* Überblick */
.ep-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-bottom: 16px; }
.ep-card { display: flex; flex-direction: column; gap: 10px; }
.ep-card-h { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.ep-card-h h2 { display: flex; align-items: center; gap: 8px; margin: 0; font-size: 1.02rem; }
.ep-card-h h2 svg { width: 18px; height: 18px; color: var(--suite-gold-dark); }
.ep-empty p { margin: 0 0 10px; color: var(--muted); font-size: .9rem; }
.ep-big { margin: 0; font-size: .95rem; } .ep-big b { font-size: 1.6rem; letter-spacing: -.02em; }
.ep-done-all { display: flex; align-items: center; gap: 8px; color: var(--success); font-weight: 600; margin: 0; }
.ep-need { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.ep-need li { display: grid; grid-template-columns: 1fr auto; column-gap: 10px; padding: 7px 0; border-bottom: 1px solid var(--line); }
.ep-need li:last-child { border-bottom: 0; }
.ep-need b { font-size: 1.05rem; } .ep-need small { grid-column: 1 / -1; font-size: .76rem; }
.ep-buy { color: #B26B00; font-style: normal; font-weight: 700; } .ep-ok { color: var(--success); font-style: normal; font-weight: 600; }
.ep-ok svg { width: 16px; height: 16px; vertical-align: -3px; }
.ep-basics { margin-bottom: 18px; }
.ep-del-btn { color: var(--danger); }
/* To-dos */
.ep-todo-top { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; margin-bottom: 12px; }
.ep-prog { flex: 1; min-width: 240px; } .ep-prog span { display: block; font-size: .86rem; margin-top: 6px; }
.ep-tpl { display: flex; gap: 6px; flex-wrap: wrap; } .ep-tpl select { max-width: 260px; }
.ep-add { margin-bottom: 16px; display: grid; gap: 10px; padding: 14px 16px; }
.ep-add-main { display: flex; gap: 8px; } .ep-add-main input { flex: 1; font-size: 1rem; }
.ep-add-more { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.ep-add-more > * { flex: 0 1 auto; } .ep-add-more select, .ep-add-more input { width: auto; min-width: 0; }
.ep-due-pick { display: inline-flex; gap: 6px; } .ep-due-pick .ep-off { width: 96px; }
.ep-owner-name, .ep-cat-in { max-width: 170px; }
.ep-own { display: flex; gap: 6px; } .ep-own > * { flex: 1; min-width: 0; }
.ep-group { margin-bottom: 18px; }
.ep-group > h3 { display: flex; align-items: baseline; gap: 8px; margin: 0 0 8px; font-size: .78rem; text-transform: uppercase; letter-spacing: .07em; color: var(--muted); }
.ep-group > h3 span { font-weight: 600; letter-spacing: 0; text-transform: none; }
.ep-group > h3 a { color: var(--ink); text-decoration: none; font-size: 1rem; text-transform: none; letter-spacing: -.01em; }
.ep-group.g-over > h3 { color: var(--danger); } .ep-group.g-doing > h3 { color: #6B4BD8; }
.ep-tlist { list-style: none; margin: 0; padding: 0; }
.ep-tlist.card { padding: 0 4px; }
.ep-ti { display: flex; align-items: flex-start; gap: 12px; padding: 10px 10px; border-bottom: 1px solid var(--line); }
.ep-ti:last-child { border-bottom: 0; }
.ep-ti form { margin: 0; }
.ep-check { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; border: 2px solid var(--line-2); background: #fff; color: transparent; cursor: pointer; padding: 0; margin-top: 1px; transition: all .15s; }
.ep-check svg { width: 14px; height: 14px; stroke-width: 3; }
.ep-check:hover { border-color: var(--success); color: var(--success); }
.st-done .ep-check { background: var(--success); border-color: var(--success); color: #fff; }
.st-doing .ep-check { border-color: #8B6FE8; }
.ep-ti-t { flex: 1; min-width: 0; display: flex; flex-direction: column; text-decoration: none; color: inherit; }
.ep-ti-t b { font-weight: 600; line-height: 1.35; }
.ep-ti-t small { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; font-size: .78rem; color: var(--muted); margin-top: 2px; }
.ep-ti-t small svg { width: 12px; height: 12px; }
.st-done .ep-ti-t b { text-decoration: line-through; color: var(--muted); font-weight: 500; }
.ep-ti-d { flex: 1; min-width: 0; }
.ep-ti-d > summary { list-style: none; display: flex; gap: 10px; align-items: flex-start; cursor: pointer; }
.ep-ti-d > summary::-webkit-details-marker { display: none; }
.ep-ti-d[open] > summary { margin-bottom: 10px; }
.ep-edit { padding: 12px; border-radius: 12px; background: var(--paper); border: 1px solid var(--line); gap: 10px; }
.ep-cat { display: inline-block; padding: 1px 8px; border-radius: 20px; background: #F2F1EC; color: var(--ink-2); font-weight: 600; font-size: .72rem; }
.ep-doing { display: inline-block; padding: 1px 8px; border-radius: 20px; background: #EFEAFD; color: #5B3FC4; font-weight: 700; font-size: .72rem; }
.ep-due { flex: none; font-size: .76rem; font-weight: 600; padding: 3px 9px; border-radius: 20px; background: #F2F1EC; color: var(--ink-2); white-space: nowrap; margin-top: 2px; }
.ep-due.soon { background: #FFF4DE; color: #9A5B00; } .ep-due.today { background: #FFE8C2; color: #8A4B00; } .ep-due.over { background: #FDE8E6; color: #B42318; }
.ep-st-b { white-space: nowrap; }
.ep-tpl-save { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin: 6px 0 20px; } .ep-tpl-save input { max-width: 260px; }
/* Einkauf & Kiosk */
.ep-modes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 14px; }
.ep-modes a { display: flex; align-items: center; gap: 10px; padding: 11px 14px; border-radius: 12px; border: 1.5px solid var(--line); text-decoration: none; color: var(--ink-2); font-weight: 600; font-size: .9rem; background: #fff; }
.ep-modes a b { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: #F2F1EC; font-size: .78rem; flex: none; }
.ep-modes a.on { border-color: var(--ink); color: var(--ink); } .ep-modes a.on b { background: var(--suite-ink); color: #F2DDA6; }
.ep-persons { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 14px; padding: 12px 16px; }
.ep-persons label { display: inline-flex; align-items: center; gap: 8px; margin: 0; font-weight: 500; }
.ep-persons input[type=number] { width: 84px; }
.ep-persons-ico svg { width: 30px; height: 30px; padding: 6px; border-radius: 9px; background: var(--paper); color: var(--suite-gold-dark); }
.ep-plus { color: var(--muted); font-weight: 700; }
.ep-eq { font-size: 1rem; } .ep-eq b { font-size: 1.25rem; }
.ep-shop { padding: 0; overflow: hidden; margin-bottom: 16px; }
.ep-shop-scroll { overflow-x: auto; }
.ep-table th.r, .ep-table td.r { text-align: right; }
.ep-table td { padding: 9px 12px; } .ep-table th { padding: 10px 12px; white-space: nowrap; }
.ep-table .ep-cat-row td { background: var(--paper); font-size: .72rem; text-transform: uppercase; letter-spacing: .07em; font-weight: 700; color: var(--muted); padding: 7px 12px; }
.ep-table tr.is-off td:not(.ep-c-in) { opacity: .45; }
.ep-table tfoot td { border-top: 2px solid var(--line-2); background: #FCFBF8; }
.ep-c-in { width: 34px; }
.ep-sub { display: block; font-size: .74rem; color: var(--muted); font-weight: 500; }
.ep-num { width: 78px; text-align: right; padding: 6px 8px; font-variant-numeric: tabular-nums; }
.ep-num.ep-price { width: 70px; }
.ep-num.is-manual { border-color: #E2B65C; background: #FFFBF1; }
.ep-hist { display: block; margin-left: auto; font: inherit; font-size: .72rem; color: #2F80ED; font-weight: 600; cursor: pointer; background: none; border: 0; padding: 0; text-decoration: underline dotted; }
.ep-shop-foot { padding: 14px 16px; border-top: 1px solid var(--line); display: grid; gap: 10px; }
.ep-shop-foot .hint { margin: 0; }
.ep-booked { padding: 0; overflow: hidden; margin-bottom: 16px; } .ep-booked h3 { margin: 0; padding: 14px 16px 6px; font-size: 1rem; }
.ep-after-intro { display: flex; gap: 10px; align-items: flex-start; padding: 14px 16px; background: #F5F9FF; border-bottom: 1px solid var(--line); }
.ep-after-intro p { margin: 0; font-size: .88rem; } .ep-after-intro svg { width: 18px; height: 18px; color: var(--info); flex: none; margin-top: 2px; }
.ep-cash { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.ep-cash label { display: inline-flex; align-items: center; gap: 8px; margin: 0; font-weight: 500; font-size: .88rem; }
.ep-cash-r { font-size: .86rem; padding: 6px 12px; border-radius: 10px; } .ep-cash-r.ok { background: #EEF8F2; color: #1C7A4D; } .ep-cash-r.bad { background: #FFF4F3; color: #B42318; }
/* Kalkulation */
.ep-calc { padding: 0; overflow: hidden; margin-bottom: 16px; }
.ep-lbl { width: 100%; max-width: 360px; padding: 6px 8px; }
.ep-new-row .ep-lbl { border-style: dashed; }
.ep-fee { width: 64px; padding: 3px 6px; display: inline-block; }
.ep-c-x { width: 40px; }
.ep-x { cursor: pointer; color: var(--muted); display: inline-grid; place-items: center; }
.ep-x input { position: absolute; opacity: 0; } .ep-x svg { width: 16px; height: 16px; } .ep-x:has(input:checked) { color: var(--danger); }
.ep-total td { font-weight: 800; font-size: 1.05rem; }
/* Lager */
.ep-start { display: flex; align-items: center; gap: 18px; justify-content: space-between; flex-wrap: wrap; margin-bottom: 16px; background: linear-gradient(135deg, #FBF8F2, #fff); }
.ep-start > div { flex: 1; min-width: 260px; }
.ep-art-form { margin-bottom: 16px; }
.ep-margin-box { display: flex; flex-direction: column; justify-content: flex-end; gap: 4px; padding-bottom: 8px; }
.ep-margin-box b { font-size: 1.05rem; }
.ep-mg { font-weight: 700; font-size: .82rem; padding: 2px 8px; border-radius: 20px; } .ep-mg.hi { background: #EEF8F2; color: #1C7A4D; } .ep-mg.mid { background: #FFF6E5; color: #95600A; } .ep-mg.lo { background: #FDE8E6; color: #B42318; }
.ep-neg-t { color: var(--danger); } .ep-warn-t { color: #B26B00 !important; font-weight: 600; }
.ep-acts { white-space: nowrap; } .ep-acts form { display: inline; }
.ep-grid-2 { align-items: start; }
.ep-grid-2 h2 { display: flex; align-items: center; gap: 8px; font-size: 1.05rem; } .ep-grid-2 h2 svg { width: 18px; height: 18px; color: var(--suite-gold-dark); }
.ep-kinds { display: flex; gap: 6px; flex-wrap: wrap; }
.ep-kinds label { cursor: pointer; margin: 0; } .ep-kinds input { position: absolute; opacity: 0; pointer-events: none; }
.ep-kinds span { display: inline-block; padding: 6px 12px; border-radius: 20px; border: 1.5px solid var(--line-2); font-size: .84rem; font-weight: 600; color: var(--ink-2); }
.ep-kinds input:checked + span { background: var(--suite-ink); border-color: var(--suite-ink); color: #F2DDA6; }
.ep-kinds input:focus-visible + span { outline: 2px solid var(--info); outline-offset: 2px; }
.ep-resale .table { margin: 8px 0 10px; } .ep-resale tr.is-soon td { background: #FFFBF1; }
.ep-kset summary { list-style: none; } .ep-kset summary::-webkit-details-marker { display: none; }
.ep-h3 { font-size: .78rem; text-transform: uppercase; letter-spacing: .07em; color: var(--muted); margin: 18px 0 6px; }
.ep-rs { list-style: none; margin: 0; padding: 0; }
.ep-rs li { display: flex; align-items: center; gap: 10px; padding: 8px 0; border-bottom: 1px solid var(--line); }
.ep-rs li > span { flex: 1; min-width: 0; display: flex; flex-direction: column; } .ep-rs small { color: var(--muted); font-size: .76rem; }
.ep-rs li.paid > span, .ep-rs li.paid > b { opacity: .55; }
.ep-rs form { margin: 0; }
.ep-pill { border: 0; cursor: pointer; font: inherit; font-size: .74rem; font-weight: 700; padding: 4px 10px; border-radius: 20px; }
.ep-pill.ok { background: #EEF8F2; color: #1C7A4D; } .ep-pill.open { background: #FFF4DE; color: #9A5B00; }
.ep-kind.k-buy { color: #1C7A4D; } .ep-kind.k-resale { color: #1F5FB8; } .ep-kind.k-sale { color: #6B4BD8; } .ep-kind.k-loss { color: #B42318; } .ep-kind { font-weight: 600; font-size: .82rem; }
@media (max-width: 860px) {
  .ep-grid { grid-template-columns: 1fr; }
  .ep-modes { grid-template-columns: 1fr; }
  .ep-count { min-width: 0; }
}
@media (max-width: 560px) {
  .ep-kind { grid-template-columns: 1fr; }
  .ep-add-main { flex-direction: column; }
  .ep-add-more > * { flex: 1 1 140px; }
  .ep-owner-name, .ep-cat-in { max-width: none; }
  .ep-head { flex-wrap: wrap; } .ep-count { text-align: left; }
  .ep-ti { flex-wrap: wrap; } .ep-st-f { margin-left: 38px; }
}
.ep-table input.ep-num { width: 84px; max-width: 84px; display: inline-block; }
.ep-table input.ep-num.ep-price { width: 72px; max-width: 72px; }
.ep-table td.r, .ep-table th.r { white-space: nowrap; }
.ep-calc .ep-table td:first-child { width: 55%; }
.ep-calc .ep-table input.ep-num { width: 110px; max-width: 110px; }
.ep-tpl select { width: auto; }

/* ===================== Club Suite (2.94, Design 2.97 an die übrigen Suiten angeglichen) ===================== */
.hub-badge { display: inline-grid; place-items: center; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--danger); color: #fff; font-size: .66rem; font-weight: 800; font-style: normal; line-height: 1; }
/* Startseite / Aktivität */
.hub-cols { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(300px, 1fr); gap: 16px; align-items: start; }
.hub-feed { padding: 0; overflow: hidden; }
.hub-feed-h { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; padding: 14px 18px; border-bottom: 1px solid var(--line); }
.hub-feed-h form { margin: 0; } .hub-feed-h .seg a { display: inline-flex; align-items: center; gap: 4px; white-space: nowrap; } .hub-feed-h .seg .sx-badge { position: static; }
.hub-feed-h h2 { margin: 0; font-size: 1.05rem; flex: 1; min-width: 120px; }
.hub-list { list-style: none; margin: 0; padding: 0; }
.hub-list li { border-bottom: 1px solid var(--line); } .hub-list li:last-child { border-bottom: 0; }
.hub-list form { margin: 0; }
.hub-n { display: flex; align-items: flex-start; gap: 12px; width: 100%; padding: 13px 18px; border: 0; background: none; font: inherit; color: inherit; text-align: left; cursor: pointer; text-decoration: none; }
.hub-n:hover { background: var(--paper); }
.hub-list li.unread .hub-n { background: var(--yellow-tint); } .hub-list li.unread .hub-nt b { font-weight: 700; }
.hub-list li.unread .hub-n::after { content: ""; flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--yellow); margin-top: 8px; }
.hub-av-wrap { position: relative; flex: none; }
.avatar.hub-av { width: 36px; height: 36px; font-size: .78rem; flex: none; }
.avatar.hub-av.sm { width: 28px; height: 28px; font-size: .66rem; } .avatar.hub-av.xs { width: 22px; height: 22px; font-size: .56rem; }
.hub-av-sys { display: inline-grid; place-items: center; background: var(--suite-ink); color: var(--suite-gold); border-radius: 50%; } .hub-av-sys svg { width: 16px; height: 16px; }
.hub-kind { position: absolute; right: -4px; bottom: -3px; display: grid; place-items: center; width: 18px; height: 18px; border-radius: 50%; color: #fff; background: #8B8F96; box-shadow: 0 0 0 2px #fff; } .hub-kind svg { width: 10px; height: 10px; stroke-width: 2.6; }
.hub-list li.unread .hub-kind { box-shadow: 0 0 0 2px var(--yellow-tint); }
.hub-kind.k-mention, .hub-kind.k-reply { background: var(--suite-ink); } .hub-kind.k-react, .hub-kind.k-meeting { background: var(--suite-gold-dark); } .hub-kind.k-task { background: var(--success); } .hub-kind.k-important { background: var(--danger); }
.hub-nt { flex: 1; min-width: 0; display: flex; flex-direction: column; } .hub-nt b { font-weight: 600; line-height: 1.35; } .hub-nt small { color: var(--muted); font-size: .8rem; margin-top: 2px; overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.hub-n time { flex: none; font-size: .74rem; color: var(--muted); margin-top: 2px; }
.hub-empty { text-align: center; padding: 48px 20px; color: var(--muted); } .hub-empty svg { width: 34px; height: 34px; opacity: .5; }
.hub-side { display: grid; gap: 14px; }
.hub-box { padding: 16px 18px; }
.hub-box-h { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.hub-box-h h3 { display: flex; align-items: center; gap: 8px; margin: 0; font-size: 1rem; letter-spacing: -.01em; } .hub-box-h h3 svg { width: 17px; height: 17px; color: var(--suite-gold-dark); }
.hub-meet { display: flex; align-items: center; gap: 10px; padding: 8px 0; border-bottom: 1px solid var(--line); } .hub-meet:last-child { border-bottom: 0; }
.hub-meet-d { flex: none; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 10px; background: var(--suite-ink); color: #fff; line-height: 1; } .hub-meet-d b { font-size: 1.05rem; } .hub-meet-d small { font-size: .56rem; font-weight: 700; letter-spacing: .06em; color: var(--suite-gold); }
.hub-meet-t { flex: 1; min-width: 0; text-decoration: none; color: inherit; display: flex; flex-direction: column; } .hub-meet-t small { color: var(--muted); font-size: .76rem; }
.hub-tasks { list-style: none; margin: 0; padding: 0; }
.hub-tasks li a { display: flex; align-items: center; gap: 10px; padding: 7px 0; border-bottom: 1px solid var(--line); text-decoration: none; color: inherit; }
.hub-tasks li:last-child a { border-bottom: 0; }
.hub-tasks span { flex: 1; min-width: 0; display: flex; flex-direction: column; } .hub-tasks small { color: var(--muted); font-size: .74rem; } .hub-tasks b { font-weight: 600; font-size: .9rem; }
.hub-dot { display: inline-block; flex: none; width: 9px; height: 9px; border-radius: 50%; }
.hub-day { margin: 12px 0 4px; font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); } .hub-day:first-of-type { margin-top: 0; }
.hub-ev { display: flex; gap: 10px; align-items: baseline; padding: 5px 0 5px 10px; border-left: 3px solid var(--ec); margin: 2px 0; text-decoration: none; color: inherit; font-size: .88rem; }
.hub-ev span { flex: none; width: 54px; font-size: .76rem; color: var(--muted); font-variant-numeric: tabular-nums; } .hub-ev b { font-weight: 600; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hub-ev.is-x b, .cal-ev.is-x b { text-decoration: line-through; opacity: .6; }
.hub-teams { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 8px; }
.hub-team { position: relative; display: flex; align-items: center; gap: 8px; padding: 8px; border-radius: 12px; border: 1px solid var(--line); background: #fff; transition: border-color .15s, box-shadow .15s; text-decoration: none; color: inherit; font-size: .84rem; font-weight: 600; }
.hub-team:hover { border-color: var(--line-2); box-shadow: var(--shadow); }
.hub-team span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hub-team .hub-badge { position: absolute; top: -6px; right: -6px; }
.flash-hl { animation: hubhl 2.2s ease-out; } @keyframes hubhl { 0%, 30% { box-shadow: 0 0 0 3px rgba(201,164,92,.55); } 100% { box-shadow: var(--shadow); } }
/* Team-Kachel */
.tm-tile { display: inline-grid; place-items: center; flex: none; width: 34px; height: 34px; border-radius: 10px; background: var(--tc, #2E343B); color: #fff; font-weight: 800; font-size: .8rem; font-style: normal; letter-spacing: -.02em; box-shadow: inset 0 0 0 1px rgba(0,0,0,.08), inset 0 1px 0 rgba(255,255,255,.12); }
.tm-tile svg { width: 18px; height: 18px; stroke-width: 1.9; }
.tm-tile.sm { width: 26px; height: 26px; border-radius: 8px; font-size: .68rem; } .tm-tile.sm svg { width: 14px; height: 14px; }
.tm-tile.lg { width: 48px; height: 48px; border-radius: 13px; font-size: 1.05rem; } .tm-tile.lg svg { width: 24px; height: 24px; }
.tm-tile.xl { width: 72px; height: 72px; border-radius: 18px; font-size: 1.5rem; } .tm-tile.xl svg { width: 34px; height: 34px; }
/* Teams-Übersicht */
.tm-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 14px; margin-bottom: 24px; }
.tm-card { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 8px; padding: 18px; text-decoration: none; color: inherit; transition: transform .15s, box-shadow .15s, border-color .15s; }
.tm-card::before { content: ""; position: absolute; left: 18px; right: 18px; top: 0; height: 3px; border-radius: 0 0 3px 3px; background: var(--tc); }
.tm-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-hover); }
.tm-card b { font-size: 1.05rem; letter-spacing: -.01em; } .tm-card small { color: var(--muted); font-size: .8rem; display: flex; align-items: center; gap: 4px; } .tm-card small svg { width: 13px; height: 13px; }
.tm-card-badge { position: absolute; top: 14px; right: 14px; height: 22px; padding: 0 8px; border-radius: 11px; font-size: .72rem; }
.tm-card.is-other { background: var(--paper); } .tm-card.is-other::before { opacity: .4; } .tm-card-acts { display: flex; gap: 6px; margin-top: auto; } .tm-card-acts form { margin: 0; }
.tm-h2 { font-size: .74rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin: 6px 0 10px; }
.tm-h3 { font-size: .74rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin: 10px 0 8px; }
/* Team erstellen */
.tm-new .card { margin-top: 6px; }
.tm-tpls { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 10px; margin-bottom: 14px; }
.tm-tpl { cursor: pointer; margin: 0; } .tm-tpl input { position: absolute; opacity: 0; pointer-events: none; }
.tm-tpl span { display: grid; grid-template-columns: auto 1fr; column-gap: 10px; align-items: center; height: 100%; padding: 12px 14px; border-radius: 14px; border: 1.5px solid var(--line-2); background: #fff; transition: border-color .15s, box-shadow .15s; }
.tm-tpl span .tm-tile { grid-row: span 2; }
.tm-tpl small { color: var(--muted); font-size: .74rem; line-height: 1.3; }
.tm-tpl input:checked + span { border-color: var(--ink); box-shadow: 0 0 0 3px rgba(20,20,20,.06); background: var(--yellow-tint); }
.tm-tpl input:focus-visible + span { outline: 2px solid var(--ink); outline-offset: 2px; }
.tm-namerow { display: flex; gap: 12px; align-items: flex-end; } .tm-grow { flex: 1; }
.tm-colors { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 4px; }
.tm-colors label { cursor: pointer; margin: 0; } .tm-colors input { position: absolute; opacity: 0; }
.tm-colors i { display: block; width: 28px; height: 28px; border-radius: 50%; box-shadow: inset 0 0 0 2px rgba(255,255,255,.6); transition: transform .12s; }
.tm-colors input:checked + i { transform: scale(1.12); box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--ink); }
.tm-colors input:focus-visible + i { outline: 2px solid var(--ink); outline-offset: 3px; }
.tm-priv, .tm-kinds { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 10px; }
.tm-priv label, .tm-kinds label { cursor: pointer; margin: 0; } .tm-priv input, .tm-kinds input { position: absolute; opacity: 0; pointer-events: none; }
.tm-priv span, .tm-kinds span { display: grid; grid-template-columns: auto 1fr; column-gap: 10px; align-items: center; padding: 12px 14px; border: 1.5px solid var(--line-2); border-radius: 12px; height: 100%; }
.tm-priv span svg, .tm-kinds span svg { grid-row: span 2; width: 20px; height: 20px; color: var(--ink-2); }
.tm-priv small, .tm-kinds small { color: var(--muted); font-size: .76rem; }
.tm-priv input:checked + span, .tm-kinds input:checked + span { border-color: var(--ink); background: var(--yellow-tint); }
.tm-priv input:focus-visible + span, .tm-kinds input:focus-visible + span { outline: 2px solid var(--ink); outline-offset: 2px; }
.tm-multi { min-height: 120px; }
.tm-checks { display: grid; gap: 6px; }
/* Team-Ansicht */
.tm-view { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 0; border: 1px solid var(--line); border-radius: 18px; background: #fff; box-shadow: var(--shadow); overflow: hidden; min-height: calc(100vh - 210px); }
.tm-side { background: var(--paper); border-right: 1px solid var(--line); padding: 14px 10px; display: flex; flex-direction: column; gap: 12px; }
.tm-back { display: inline-flex; align-items: center; gap: 6px; font-size: .78rem; color: var(--muted); text-decoration: none; padding: 0 6px; } .tm-back svg { width: 14px; height: 14px; }
.tm-side-h { display: flex; gap: 10px; align-items: center; padding: 4px 6px; } .tm-side-h b { display: block; font-size: 1.02rem; line-height: 1.25; letter-spacing: -.01em; }
.tm-side-h small { display: flex; align-items: center; gap: 4px; color: var(--muted); font-size: .74rem; } .tm-side-h small svg { width: 12px; height: 12px; }
.tm-arch { margin: 0; padding: 6px 10px; border-radius: 8px; background: #F2F1EC; font-size: .78rem; color: var(--muted); display: flex; gap: 6px; align-items: center; } .tm-arch svg { width: 14px; height: 14px; }
.tm-chs { display: flex; flex-direction: column; gap: 1px; }
.tm-chs-h { font-size: .7rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); font-weight: 700; padding: 0 8px 4px; }
.tm-ch { display: flex; align-items: center; gap: 6px; padding: 7px 8px; border-radius: 9px; text-decoration: none; color: var(--ink-2); font-size: .9rem; }
.tm-ch span:not(.tm-hash) { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tm-hash { color: var(--muted); font-weight: 700; width: 12px; }
.tm-ch:hover { background: #F0EFEA; } .tm-ch.on { background: #fff; color: var(--ink); font-weight: 700; box-shadow: 0 1px 3px rgba(0,0,0,.07); } .tm-ch.on .tm-hash { color: var(--tc); }
.tm-ch.unread { font-weight: 700; color: var(--ink); }
.tm-ch-add summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 6px; padding: 7px 8px; font-size: .84rem; color: var(--muted); border-radius: 9px; } .tm-ch-add summary::-webkit-details-marker { display: none; } .tm-ch-add summary svg { width: 14px; height: 14px; }
.tm-ch-add summary:hover { background: #F0EFEA; }
.tm-ch-add form { padding: 6px 4px; gap: 6px; }
.tm-side-links { margin-top: auto; display: flex; flex-direction: column; gap: 2px; border-top: 1px solid var(--line); padding-top: 10px; }
.tm-side-links a { display: flex; align-items: center; gap: 8px; padding: 7px 8px; border-radius: 9px; text-decoration: none; color: var(--ink-2); font-size: .86rem; } .tm-side-links a svg { width: 16px; height: 16px; }
.tm-side-links a:hover, .tm-side-links a.on { background: #F0EFEA; color: var(--ink); }
.tm-main { min-width: 0; display: flex; flex-direction: column; }
.tm-ch-h { padding: 14px 20px 0; border-bottom: 1px solid var(--line); background: #fff; }
.tm-ch-title { display: flex; align-items: center; gap: 10px; } .tm-ch-title > div { flex: 1; min-width: 0; }
.tm-ch-title h1 { margin: 0; font-size: 1.15rem; letter-spacing: -.01em; } .tm-ch-title small { color: var(--muted); font-size: .8rem; }
.tm-tabs { display: flex; gap: 2px; margin-top: 10px; overflow-x: auto; scrollbar-width: none; }
.tm-tabs a { display: inline-flex; align-items: center; gap: 5px; padding: 8px 12px 10px; font-size: .88rem; font-weight: 600; color: var(--muted); text-decoration: none; border-bottom: 2px solid transparent; white-space: nowrap; }
.tm-tabs a svg { width: 14px; height: 14px; } .tm-tabs a:hover { color: var(--ink); } .tm-tabs a.on { color: var(--ink); border-bottom-color: var(--suite-gold); }
.tm-tab-add { color: var(--muted) !important; }
.tm-body { padding: 18px 20px 24px; background: var(--paper); flex: 1; }
.tm-body > .page-head:first-child { margin-top: 0; }
.tm-ch-menu, .tm-post-menu, .pl-col-menu { position: relative; }
.tm-ch-menu > summary, .tm-post-menu > summary, .pl-col-menu > summary { list-style: none; cursor: pointer; } .tm-ch-menu > summary::-webkit-details-marker, .tm-post-menu > summary::-webkit-details-marker, .pl-col-menu > summary::-webkit-details-marker { display: none; }
.tm-pop { position: absolute; right: 0; top: calc(100% + 6px); z-index: 30; min-width: 230px; padding: 10px; border-radius: 12px; background: #fff; border: 1px solid var(--line); box-shadow: 0 14px 40px rgba(20,20,20,.16); display: grid; gap: 6px; }
.tm-pop form { margin: 0; }
.tm-pop-b { display: flex; align-items: center; gap: 8px; width: 100%; padding: 7px 8px; border: 0; background: none; border-radius: 8px; font: inherit; font-size: .86rem; cursor: pointer; color: var(--ink); text-align: left; } .tm-pop-b:hover { background: #F4F3EE; } .tm-pop-b svg { width: 15px; height: 15px; }
.tm-danger { color: var(--danger) !important; }
/* Beiträge */
.tm-compose { padding: 0; margin-bottom: 14px; overflow: hidden; }
.tm-compose > summary { list-style: none; display: flex; align-items: center; gap: 10px; padding: 12px 14px; cursor: pointer; color: var(--muted); } .tm-compose > summary::-webkit-details-marker { display: none; }
.tm-compose[open] > summary { border-bottom: 1px solid var(--line); }
.tm-compose-f { display: grid; gap: 8px; padding: 12px 14px; }
.tm-subj { font-weight: 700; font-size: 1rem; border: 0 !important; padding: 4px 0 !important; box-shadow: none !important; }
.tm-compose-f textarea { min-height: 90px; resize: vertical; }
.tm-compose-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; } .tm-imp-t { color: var(--danger); }
.tm-post { padding: 0; margin-bottom: 12px; overflow: visible; border-left: 3px solid transparent; }
.tm-post.is-imp { border-left-color: var(--danger); } .tm-post.is-pin { border-left-color: var(--suite-gold); }
.tm-post-h { display: flex; align-items: flex-start; gap: 10px; padding: 14px 16px 0; } .tm-post-h > div { flex: 1; min-width: 0; font-size: .9rem; } .tm-post-h time { color: var(--muted); font-size: .78rem; }
.tm-post-menu > summary { padding: 4px; border-radius: 8px; color: var(--muted); } .tm-post-menu > summary:hover { background: #F4F3EE; } .tm-post-menu svg { width: 18px; height: 18px; }
.tm-flag { display: inline-flex; align-items: center; gap: 3px; margin-left: 6px; padding: 1px 8px; border-radius: 20px; font-size: .7rem; font-weight: 700; } .tm-flag svg { width: 11px; height: 11px; }
.tm-flag.pin { background: var(--yellow-soft); color: #8A6A2D; } .tm-flag.imp { background: #FDE8E6; color: #B42318; }
.tm-post-b { padding: 6px 16px 0 62px; } .tm-post-b h3 { margin: 0 0 4px; font-size: 1.05rem; letter-spacing: -.01em; }
.tm-text { font-size: .93rem; line-height: 1.55; overflow-wrap: anywhere; } .tm-text a { color: var(--ink); text-decoration: underline; text-decoration-color: var(--yellow); text-underline-offset: 2px; }
.tm-at { color: #7A5A1E; font-weight: 700; background: var(--yellow-soft); padding: 0 4px; border-radius: 4px; } .tm-at.all { color: #B42318; background: #FDE8E6; }
.tm-edit { display: grid; gap: 8px; padding: 8px 16px 0 62px; }
.tm-ref { display: flex; align-items: center; gap: 10px; margin-top: 8px; padding: 10px 12px; border-radius: 12px; border: 1px solid var(--line); text-decoration: none; color: inherit; background: var(--paper); max-width: 520px; }
.tm-ref svg { width: 18px; height: 18px; color: var(--suite-gold); flex: none; background: var(--suite-ink); box-sizing: content-box; padding: 8px; border-radius: 10px; } .tm-ref span { flex: 1; min-width: 0; display: flex; flex-direction: column; } .tm-ref small { color: var(--muted); font-size: .76rem; }
.tm-ref em { font-style: normal; font-size: .72rem; font-weight: 700; color: #fff; background: var(--pc); padding: 2px 8px; border-radius: 20px; }
.tm-reacts { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; padding: 8px 16px 0 62px; }
.tm-reply .tm-reacts { padding: 4px 0 0; }
.tm-react { display: inline-flex; align-items: center; gap: 4px; padding: 2px 8px; border-radius: 20px; border: 1px solid var(--line); background: #fff; font: inherit; font-size: .82rem; cursor: pointer; } .tm-react b { font-size: .74rem; }
.tm-react.mine { border-color: var(--yellow-mid); background: var(--yellow-soft); }
.tm-react-add { position: relative; }
.tm-react-btn { width: 26px; height: 26px; border-radius: 50%; border: 1px solid transparent; background: none; cursor: pointer; color: var(--muted); font-size: .95rem; opacity: 0; transition: opacity .15s; }
.tm-post:hover .tm-react-btn, .tm-reply:hover .tm-react-btn, .tm-react-add.open .tm-react-btn, .tm-react-btn:focus-visible { opacity: 1; }
.tm-react-btn:hover { border-color: var(--line); background: #fff; }
.tm-react-pick { display: none; position: absolute; left: 0; bottom: calc(100% + 4px); z-index: 20; padding: 4px; border-radius: 22px; background: #fff; box-shadow: 0 8px 24px rgba(0,0,0,.16); white-space: nowrap; }
.tm-react-add.open .tm-react-pick { display: flex; }
.tm-react-opt { border: 0; background: none; font-size: 1.2rem; padding: 4px 6px; border-radius: 50%; cursor: pointer; transition: transform .1s; } .tm-react-opt:hover { transform: scale(1.25); background: #F4F3EE; }
.tm-replies { margin-top: 10px; padding: 8px 16px 12px 62px; border-top: 1px solid var(--line); background: var(--paper); border-radius: 0 0 var(--radius) var(--radius); }
.tm-more summary { cursor: pointer; font-size: .8rem; font-weight: 600; color: var(--suite-gold-dark); padding: 4px 0 6px; list-style: none; } .tm-more summary::-webkit-details-marker { display: none; }
.tm-more[open] summary { display: none; }
.tm-reply { display: flex; gap: 10px; padding: 6px 0; } .tm-reply-b { flex: 1; min-width: 0; font-size: .88rem; } .tm-reply-b time { color: var(--muted); font-size: .74rem; }
.tm-reply-b > div:first-child { display: flex; align-items: baseline; gap: 6px; }
.tm-reply-del { margin: 0 0 0 auto; } .tm-reply-del button { border: 0; background: none; cursor: pointer; color: var(--muted); opacity: 0; padding: 2px; } .tm-reply:hover .tm-reply-del button { opacity: .7; } .tm-reply-del svg { width: 13px; height: 13px; }
.tm-reply-f { display: flex; align-items: flex-start; gap: 8px; margin-top: 6px; }
.tm-reply-f textarea { flex: 1; min-height: 36px; padding: 7px 10px; resize: none; border-radius: 18px; font-size: .88rem; }
.tm-welcome { text-align: center; padding: 30px 16px 40px; } .tm-welcome h2 { margin: 12px 0 4px; } .tm-welcome-acts { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; margin-top: 12px; }
.tm-at-menu { position: absolute; z-index: 1000; min-width: 220px; padding: 4px; border-radius: 12px; background: #fff; box-shadow: 0 12px 34px rgba(0,0,0,.18); border: 1px solid var(--line); }
.tm-at-menu button { display: block; width: 100%; text-align: left; padding: 7px 10px; border: 0; background: none; border-radius: 8px; font: inherit; font-size: .88rem; cursor: pointer; } .tm-at-menu button.on, .tm-at-menu button:hover { background: var(--yellow-soft); color: var(--ink); }
/* Dateien, Chat, Pläne, Reiter */
.tm-files-h { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 12px; flex-wrap: wrap; } .tm-files-h svg { width: 14px; height: 14px; vertical-align: -2px; }
.tm-files { padding: 0; overflow: hidden; } .tm-file { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; color: inherit; } .tm-file svg { width: 17px; height: 17px; color: var(--suite-gold-dark); }
.tm-chat.ch { grid-template-columns: 1fr; height: calc(100vh - 330px); min-height: 420px; margin: 0; } .tm-chat .ch-side { display: none !important; } .tm-chat .ch-main { display: grid !important; }
.tm-plans { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; margin-bottom: 12px; }
.tm-plan { position: relative; display: flex; flex-direction: column; gap: 4px; padding: 16px; text-decoration: none; color: inherit; transition: box-shadow .15s, transform .15s; } .tm-plan:hover { box-shadow: var(--shadow-hover); transform: translateY(-2px); }
.tm-plan::before { content: ""; position: absolute; left: 16px; right: 16px; top: 0; height: 3px; border-radius: 0 0 3px 3px; background: var(--pc, var(--suite-gold)); }
.tm-plan > svg { width: 22px; height: 22px; color: var(--pc, var(--suite-gold-dark)); } .tm-plan small { color: var(--muted); font-size: .8rem; }
.tm-plan-new { gap: 8px; border: 1.5px dashed var(--line-2); box-shadow: none; background: transparent; } .tm-plan-new::before { display: none; } .tm-plan-new svg { color: var(--muted); }
.tm-tab-h { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 10px; } .tm-tab-h form { margin: 0; }
.tm-note { min-height: 200px; } .tm-note-ed { font-family: var(--mono); font-size: .86rem; }
.tm-embed { padding: 0; overflow: hidden; } .tm-embed iframe { display: block; width: 100%; height: calc(100vh - 300px); min-height: 480px; border: 0; }
.tm-mlist { padding: 4px 0; } .tm-m { display: flex; align-items: center; gap: 10px; padding: 9px 16px; border-bottom: 1px solid var(--line); } .tm-m:last-child { border-bottom: 0; }
.tm-m > span { flex: 1; min-width: 0; display: flex; flex-direction: column; } .tm-m small { color: var(--muted); font-size: .76rem; } .tm-m form { margin: 0; }
.tm-add-m { display: flex; align-items: flex-end; gap: 10px; margin-bottom: 14px; flex-wrap: wrap; } .tm-add-m label { flex: 1; min-width: 220px; }
.tm-danger-zone { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 14px; flex-wrap: wrap; }
/* Planner */
.pl-head { display: flex; align-items: center; gap: 14px; padding: 26px 0 0; margin-bottom: 18px; flex-wrap: wrap; }
.pl-ico { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--pc); color: #fff; flex: none; } .pl-ico svg { width: 22px; height: 22px; stroke-width: 2.4; }
.pl-head-t { flex: 1; min-width: 200px; } .pl-head-t h1 { margin: 0; font-size: 1.45rem; letter-spacing: -.02em; } .pl-head-t small { color: var(--muted); }
.pl-head-acts { display: flex; gap: 6px; align-items: center; } .pl-head-acts .on { background: var(--yellow-soft); }
.pl-board { display: flex; gap: 12px; overflow-x: auto; padding-bottom: 14px; align-items: flex-start; scroll-snap-type: x proximity; }
.pl-col { flex: 0 0 280px; scroll-snap-align: start; background: var(--paper); border: 1px solid var(--line); border-radius: 14px; padding: 10px; display: flex; flex-direction: column; gap: 8px; max-height: calc(100vh - 230px); transition: background .15s; }
.pl-col.over { background: var(--yellow-tint); border-color: var(--yellow-mid); }
.pl-col-h { display: flex; align-items: center; gap: 8px; padding: 2px 4px; } .pl-col-h b { flex: 1; font-size: .92rem; }
.pl-n { font-size: .74rem; font-weight: 700; color: var(--muted); background: #fff; border-radius: 10px; padding: 1px 8px; font-style: normal; }
.pl-col-menu > summary { color: var(--muted); padding: 2px; border-radius: 6px; } .pl-col-menu > summary svg { width: 16px; height: 16px; }
.pl-add input { width: 100%; padding: 8px 10px; border-radius: 10px; border: 1px dashed var(--line-2); background: rgba(255,255,255,.6); font-size: .86rem; }
.pl-add input:focus { background: #fff; border-style: solid; }
.pl-cards { display: flex; flex-direction: column; gap: 8px; overflow-y: auto; min-height: 40px; padding: 2px; }
.pl-card { display: flex; flex-direction: column; gap: 6px; padding: 10px 12px; border-radius: 12px; background: #fff; box-shadow: 0 1px 2px rgba(0,0,0,.05); text-decoration: none; color: inherit; cursor: grab; border: 1px solid var(--line); transition: box-shadow .15s, transform .15s; }
.pl-card:hover { box-shadow: var(--shadow-hover); } .pl-card.is-open { border-color: var(--suite-gold); box-shadow: 0 0 0 3px rgba(201,164,92,.2); }
.pl-card.dragging { opacity: .5; transform: rotate(2deg); }
.pl-card-t { display: flex; align-items: flex-start; gap: 8px; } .pl-card-t b { font-weight: 600; font-size: .9rem; line-height: 1.35; }
.pl-tick { display: grid; place-items: center; flex: none; width: 20px; height: 20px; margin-top: 1px; border-radius: 50%; border: 1.5px solid var(--line-2); background: #fff; color: transparent; cursor: pointer; padding: 0; } .pl-tick svg { width: 12px; height: 12px; stroke-width: 3; }
.pl-tick:hover { border-color: var(--success); color: var(--success); }
.pl-card.is-done .pl-tick { background: var(--success); border-color: var(--success); color: #fff; } .pl-card.is-done .pl-card-t b { text-decoration: line-through; color: var(--muted); }
.pl-labels { display: flex; gap: 4px; flex-wrap: wrap; } .pl-labels i { font-style: normal; font-size: .66rem; font-weight: 700; color: #fff; padding: 1px 7px; border-radius: 10px; }
.pl-meta { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-size: .74rem; color: var(--muted); }
.pl-meta em { font-style: normal; display: inline-flex; align-items: center; gap: 3px; } .pl-meta svg { width: 12px; height: 12px; }
.pl-due { font-style: normal; font-weight: 600; } .pl-due.over { color: #B42318; } .pl-due.today { color: #8A4B00; } .pl-due.soon { color: #9A5B00; }
em.pl-due.over, em.pl-due.today, em.pl-due.soon { padding: 0 6px; border-radius: 10px; background: #FDF1E3; } em.pl-due.over { background: #FDE8E6; }
.pl-prio { font-style: normal; font-weight: 700; } .pl-prio.p2 { color: #C46A00; } .pl-prio.p3 { color: #B42318; }
.pl-cl.ok { color: var(--success); }
.pl-avs { margin-left: auto; display: flex; } .pl-avs .avatar { margin-left: -6px; box-shadow: 0 0 0 2px #fff; }
.pl-col-new { background: transparent; border: 2px dashed var(--line-2); } .pl-col-new input { background: #fff; }
.pl-drawer-bg { position: fixed; inset: 0; background: rgba(20,20,20,.25); z-index: 90; }
.pl-drawer { position: fixed; top: 0; right: 0; bottom: 0; z-index: 91; width: min(480px, 100vw); background: #fff; box-shadow: -10px 0 40px rgba(0,0,0,.2); overflow-y: auto; padding: 18px 20px 28px; animation: pldr .2s ease-out; }
@keyframes pldr { from { transform: translateX(30px); opacity: 0; } }
.pl-dr-h { display: flex; gap: 8px; align-items: flex-start; } .pl-dr-title { font-size: 1.15rem; font-weight: 700; flex: 1; }
.pl-lab-pick { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 4px; }
.pl-lab-pick label { cursor: pointer; margin: 0; } .pl-lab-pick input { position: absolute; opacity: 0; }
.pl-lab-pick span { display: inline-block; padding: 4px 10px; border-radius: 20px; font-size: .78rem; font-weight: 700; color: var(--lc); border: 1.5px solid color-mix(in srgb, var(--lc) 45%, white); }
.pl-lab-pick input:checked + span { background: var(--lc); color: #fff; border-color: var(--lc); }
.pl-lab-pick input:focus-visible + span { outline: 2px solid var(--ink); outline-offset: 2px; }
.pl-cl-list { list-style: none; margin: 4px 0 0; padding: 0; display: grid; gap: 4px; }
.pl-cl-list li { display: flex; align-items: center; gap: 8px; } .pl-cl-list li input[type=checkbox] { width: 18px; height: 18px; flex: none; }
.pl-cl-list li input:not([type]) { flex: 1; padding: 6px 8px; } .pl-cl-list li.new span { width: 18px; display: grid; place-items: center; color: var(--muted); } .pl-cl-list li.new svg { width: 14px; height: 14px; }
.pl-quick { display: flex; align-items: center; gap: 8px; padding: 10px 12px; margin-bottom: 18px; flex-wrap: wrap; }
.pl-quick-ico svg { width: 20px; height: 20px; color: var(--muted); } .pl-quick input[name=title] { flex: 1; min-width: 200px; font-size: 1rem; border: 0; box-shadow: none; }
.pl-quick input[type=date], .pl-quick select { width: auto; }
.pl-my-grid { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 16px; align-items: start; }
.ep-check.ev { background: var(--yellow-soft); border-color: #E1CDA5; color: #8A6A2D; cursor: default; } .ep-check.ev svg { stroke-width: 2; }
.hub-tasks .pl-n { margin-left: auto; }
.pl-new { margin-top: 6px; }
/* Besprechungen */
.mt-list { display: grid; gap: 8px; }
.mt-month { font-size: .74rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin: 16px 0 2px; }
.mt-row { display: flex; align-items: center; gap: 14px; padding: 14px 18px; transition: box-shadow .15s; } .mt-row:hover { box-shadow: var(--shadow-hover); }
.mt-row.is-past { opacity: .7; } .mt-row.is-x { opacity: .55; } .mt-row.is-x .mt-main b { text-decoration: line-through; }
.mt-row.is-live { box-shadow: 0 0 0 2px var(--suite-gold), var(--shadow); }
.mt-date { flex: none; display: grid; place-items: center; width: 58px; height: 58px; border-radius: 12px; background: var(--suite-ink); color: #fff; line-height: 1; }
.mt-date b { font-size: 1.45rem; } .mt-date small { font-size: .56rem; font-weight: 700; letter-spacing: .05em; color: var(--suite-gold); white-space: nowrap; }
.mt-date.big { width: 76px; height: 76px; border-radius: 18px; } .mt-date.big b { font-size: 2rem; } .mt-date.big small { font-size: .7rem; }
.mt-main { flex: 1; min-width: 0; text-decoration: none; color: inherit; display: flex; flex-direction: column; } .mt-main b { font-size: 1rem; } .mt-main small { color: var(--muted); font-size: .8rem; }
.mt-prov { display: inline-flex; align-items: center; gap: 4px; font-weight: 600; color: var(--pc); } .mt-prov svg { width: 13px; height: 13px; }
.mt-x { color: var(--danger); } .mt-me.r-open { color: #9A5B00; font-weight: 600; }
.mt-join.btn-primary, .mt-join-big { background: var(--pc) !important; border-color: var(--pc) !important; color: #fff !important; }
.mt-join.btn-outline { border-color: var(--pc); color: var(--pc); }
.mt-form-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(280px, 1fr); gap: 14px; align-items: start; }
.mt-title-in { font-size: 1.1rem; font-weight: 600; }
.mt-durs { display: flex; flex-direction: column; justify-content: flex-end; gap: 4px; } .mt-durs > div { display: flex; gap: 4px; flex-wrap: wrap; } .mt-durs .chip { cursor: pointer; font: inherit; font-size: .74rem; }
.mt-url { display: flex; gap: 8px; align-items: center; } .mt-url input { flex: 1; }
.mt-prov-badge { flex: none; font-style: normal; font-size: .74rem; font-weight: 700; color: #fff; padding: 4px 10px; border-radius: 20px; background: #9CA3AF; white-space: nowrap; }
.mt-hero { position: relative; display: flex; gap: 18px; align-items: center; padding: 22px; flex-wrap: wrap; margin-bottom: 14px; overflow: hidden; }
.mt-hero::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: var(--suite-grad); }
.mt-hero.is-x::before { background: var(--danger); }
.mt-hero-t { flex: 1; min-width: 240px; } .mt-hero-t h1 { margin: 0 0 4px; letter-spacing: -.02em; }
.mt-hero-t p { margin: 2px 0; display: flex; align-items: center; gap: 6px; flex-wrap: wrap; color: var(--ink-2); } .mt-hero-t p > svg { width: 15px; height: 15px; color: var(--muted); }
.mt-x-note { color: var(--danger) !important; font-weight: 700; }
.mt-hero-acts { display: flex; flex-direction: column; align-items: stretch; gap: 6px; min-width: 200px; }
.mt-join-big { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 22px; font-size: 1rem; font-weight: 700; border-radius: 14px; }
.mt-join-big.is-live { animation: mtpulse 2s infinite; } @keyframes mtpulse { 0%, 100% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--pc) 50%, transparent); } 50% { box-shadow: 0 0 0 8px transparent; } }
.mt-rsvp { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-bottom: 14px; padding: 10px 14px; border-radius: 14px; background: var(--paper); border: 1px solid var(--line); }
.mt-rsvp > span { font-weight: 600; margin-right: 4px; }
.mt-r { display: inline-flex; align-items: center; gap: 5px; padding: 7px 14px; border-radius: 20px; border: 1.5px solid var(--line-2); background: #fff; font: inherit; font-size: .86rem; font-weight: 600; cursor: pointer; } .mt-r svg { width: 15px; height: 15px; }
.mt-r.r-yes.on { background: var(--success); border-color: var(--success); color: #fff; } .mt-r.r-maybe.on { background: var(--suite-gold); border-color: var(--suite-gold); color: #fff; } .mt-r.r-no.on { background: var(--danger); border-color: var(--danger); color: #fff; }
.mt-cols { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(280px, 1fr); gap: 14px; align-items: start; }
.mt-h2 { font-size: 1rem; margin: 0 0 8px; display: flex; flex-direction: column; gap: 2px; }
.mt-inv { list-style: none; margin: 0; padding: 0; } .mt-inv li { display: flex; align-items: center; gap: 8px; padding: 6px 0; border-bottom: 1px solid var(--line); } .mt-inv li:last-child { border-bottom: 0; } .mt-inv li > span { flex: 1; min-width: 0; font-size: .88rem; }
.mt-st { font-style: normal; font-size: .72rem; font-weight: 700; padding: 2px 8px; border-radius: 20px; background: #F2F1EC; color: var(--muted); }
.mt-st.r-yes { background: #EEF8F2; color: #1C7A4D; } .mt-st.r-maybe { background: #FFF4DE; color: #9A5B00; } .mt-st.r-no { background: #FDE8E6; color: #B42318; }
.mt-admin { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; } .mt-admin form { margin: 0; }
/* Kalender */
.cal-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding: 30px 0 16px; }
.cal-nav { display: flex; align-items: center; gap: 4px; } .cal-nav h1 { margin: 0 0 0 10px; font-size: clamp(1.5rem, 3vw, 2.1rem); letter-spacing: -.02em; }
.cal-nav .btn-icon svg { width: 18px; height: 18px; } .cal-nav .flip { transform: rotate(180deg); }
.cal-src { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 14px; align-items: center; }
.cal-chip { display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: 20px; border: 1.5px solid var(--line-2); background: #fff; font-size: .8rem; font-weight: 600; color: var(--muted); text-decoration: none; cursor: pointer; list-style: none; }
.cal-chip::-webkit-details-marker { display: none; }
.cal-chip i { width: 10px; height: 10px; border-radius: 50%; border: 2px solid var(--sc); }
.cal-chip.on { border-color: var(--sc); color: var(--ink); background: color-mix(in srgb, var(--sc) 9%, white); } .cal-chip.on i { background: var(--sc); }
.cal-fac { position: relative; } .cal-fac .tm-pop { left: 0; right: auto; }
.cal-month { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); padding: 0; overflow: hidden; }
.cal-wd { padding: 9px 10px; font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); border-bottom: 1px solid var(--line); background: var(--paper); text-align: center; }
.cal-day { min-height: 112px; padding: 4px 5px 6px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.cal-day:nth-child(7n) { border-right: 0; } .cal-day.out { background: var(--paper); } .cal-day.out .cal-dn { color: #B8B5AC; } .cal-day.out .cal-ev { opacity: .6; } .cal-day.we { background: #FDFCFA; }
.cal-dn { align-self: flex-start; display: grid; place-items: center; min-width: 24px; height: 24px; border-radius: 12px; font-size: .8rem; font-weight: 700; color: var(--ink-2); text-decoration: none; }
.cal-day.today { background: var(--yellow-tint); } .cal-day.today .cal-dn { background: var(--yellow); color: var(--on-yellow); }
.hcal .cal-ev { display: flex; align-items: center; gap: 5px; padding: 2px 5px; border-radius: 6px; border-left: 0; background: none; font-size: .74rem; line-height: 1.35; text-decoration: none; color: var(--ink); min-width: 0; transition: background .12s; }
.hcal .cal-ev::before { content: ""; flex: none; width: 7px; height: 7px; border-radius: 50%; background: var(--ec); }
.hcal .cal-ev:hover { background: color-mix(in srgb, var(--ec) 10%, white); }
.cal-ev b { font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; } .cal-ev .cal-t { flex: none; color: var(--muted); font-variant-numeric: tabular-nums; font-size: .7rem; }
.hcal .cal-ev.allday { background: color-mix(in srgb, var(--ec) 13%, white); box-shadow: inset 3px 0 0 var(--ec); padding-left: 8px; } .hcal .cal-ev.allday::before { display: none; }
.cal-more { font-size: .72rem; font-weight: 600; color: var(--suite-gold-dark); text-decoration: none; padding: 0 6px; }
.cal-week { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 8px; }
.cal-wcol { padding: 0; overflow: hidden; display: flex; flex-direction: column; gap: 4px; min-height: 300px; padding-bottom: 8px; }
.cal-wcol header { display: flex; align-items: baseline; gap: 6px; padding: 9px 12px; border-bottom: 1px solid var(--line); background: var(--paper); } .cal-wcol header span { font-size: .72rem; font-weight: 700; text-transform: uppercase; color: var(--muted); }
.cal-wcol.today { box-shadow: 0 0 0 2px var(--yellow), var(--shadow); } .cal-wcol.today header { background: var(--yellow-tint); }
.cal-add { margin-left: auto; color: var(--muted); opacity: .6; } .cal-add svg { width: 14px; height: 14px; } 
.hcal .cal-wcol .cal-ev { margin: 0 6px; flex-direction: column; align-items: stretch; gap: 0; padding: 6px 8px 6px 10px; font-size: .78rem; background: color-mix(in srgb, var(--ec) 8%, white); box-shadow: inset 3px 0 0 var(--ec); } .hcal .cal-wcol .cal-ev::before { display: none; } .cal-wcol .cal-ev b { white-space: normal; } .cal-wcol .cal-ev small { color: var(--muted); font-size: .7rem; }

.cal-none { margin: 6px 10px; color: #C7C4BB; }
.cal-list { display: grid; gap: 12px; } .cal-lday h3 { display: flex; align-items: baseline; gap: 8px; margin: 0 0 6px; font-size: .95rem; } .cal-lday h3 span { font-size: .78rem; color: var(--muted); font-weight: 500; }
.cal-lday .card { padding: 6px; display: grid; gap: 2px; } .cal-lday .cal-ev { padding: 9px 10px; font-size: .88rem; } .cal-lday .cal-ev small { color: var(--muted); margin-left: 6px; }
.cal-lday.today h3 b { color: var(--suite-gold-dark); }
/* Eigene Bereiche */
.sp-icons { display: flex; gap: 4px; flex-wrap: wrap; margin-top: 4px; } .sp-icons label { cursor: pointer; margin: 0; } .sp-icons input { position: absolute; opacity: 0; }
.sp-icons span { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 9px; border: 1.5px solid var(--line-2); color: var(--ink-2); } .sp-icons svg { width: 17px; height: 17px; }
.sp-icons input:checked + span { background: var(--suite-ink); color: var(--suite-gold); border-color: var(--suite-ink); }
.sp-icons input:focus-visible + span { outline: 2px solid var(--ink); outline-offset: 2px; }
.sp-page { max-width: 900px; }
/* Mobil */
@media (max-width: 1100px) { .hub-cols, .mt-cols, .mt-form-grid, .pl-my-grid { grid-template-columns: 1fr; } .cal-week { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 860px) {
  .tm-view { grid-template-columns: 1fr; min-height: 0; }
  .tm-side { border-right: 0; border-bottom: 1px solid var(--line); }
  .tm-chs { flex-direction: row; flex-wrap: wrap; } .tm-chs-h { width: 100%; } .tm-ch { flex: none; } .tm-ch-add { width: 100%; }
  .tm-side-links { flex-direction: row; flex-wrap: wrap; margin-top: 0; }
  .tm-post-b, .tm-reacts, .tm-replies, .tm-edit { padding-left: 16px; }
  .tm-body { padding: 14px 12px 20px; } .tm-ch-h { padding: 12px 14px 0; }
  .cal-month { grid-template-columns: repeat(7, minmax(0, 1fr)); } .cal-day { min-height: 70px; padding: 2px; } .cal-ev .cal-t { display: none; } .cal-ev { font-size: .64rem; padding: 1px 3px; } .cal-wd { padding: 6px 4px; font-size: .62rem; }
  .cal-week { grid-template-columns: 1fr; } .cal-wcol { min-height: 0; }
  .hcal .cal-nav { display: flex; flex-wrap: wrap; width: auto; } .hcal .cal-nav > * { order: 0 !important; } .hcal .cal-nav h1 { flex-basis: 100%; order: -1 !important; margin: 0 0 6px; font-size: 1.6rem; }
  .hcal .cal-top { padding-top: 20px; } .cal-more { font-size: .62rem; padding: 0 2px; white-space: nowrap; overflow: hidden; }
  .pl-col { flex-basis: 84vw; max-height: none; }
}
@media (max-width: 560px) { .tm-namerow { flex-wrap: wrap; } .tm-preview { display: none; } .mt-row { flex-wrap: wrap; } .mt-row .mt-join { width: 100%; justify-content: center; } .hub-feed-h .seg { order: 3; width: 100%; overflow-x: auto; } }

/* ===================== Ticketshop & Einlass (2.95) ===================== */
.inv-pill[style*="--c"] { color: var(--c); background: color-mix(in srgb, var(--c) 11%, white); border-color: color-mix(in srgb, var(--c) 25%, white); }
body.tk-body { background: linear-gradient(180deg, color-mix(in srgb, var(--brand-dark, #1A1C1F) 100%, transparent) 0, var(--brand-dark, #1A1C1F) 300px, #F3F2EE 300px); min-height: 100vh; }
.tk-wrap { max-width: 640px; margin: 0 auto; padding: 18px 16px 40px; }
.tk-wrap > .flash, body.tk-body .flash-wrap { max-width: 640px; }
.tk-brand { display: flex; align-items: center; gap: 10px; color: #fff; font-weight: 700; font-size: .95rem; margin-bottom: 18px; }
.tk-crest { width: 40px; height: 40px; object-fit: contain; }
.tk-hero { color: #fff; margin-bottom: 18px; }
.tk-kicker { display: inline-flex; align-items: center; gap: 6px; padding: 4px 12px; border-radius: 20px; background: rgba(255,255,255,.12); font-size: .76rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--accent-on-dark, #F2DDA6); }
.tk-kicker svg { width: 14px; height: 14px; }
.tk-hero h1 { margin: 10px 0 6px; font-size: 2rem; line-height: 1.12; letter-spacing: -.02em; color: #fff; }
.tk-meta { display: flex; flex-wrap: wrap; gap: 6px 16px; margin: 0; opacity: .88; font-size: .92rem; } .tk-meta span { display: inline-flex; align-items: center; gap: 6px; } .tk-meta svg { width: 15px; height: 15px; }
.tk-info { margin: 10px 0 0; opacity: .85; font-size: .9rem; }
.tk-card { background: #fff; border-radius: 20px; padding: 20px; box-shadow: 0 18px 50px rgba(0,0,0,.14); }
.tk-empty { text-align: center; padding: 36px 20px; } .tk-empty h1 { margin: 0 0 6px; font-size: 1.4rem; }
.tk-form h2 { font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin: 6px 0 10px; } .tk-form h2:not(:first-of-type) { margin-top: 22px; }
.tk-types { display: grid; gap: 8px; }
.tk-type { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 14px; border: 1.5px solid var(--line); border-left: 5px solid var(--tt); background: #fff; }
.tk-type.off { opacity: .55; }
.tk-type-t { flex: 1; min-width: 0; display: flex; flex-direction: column; } .tk-type-t b { font-size: 1rem; } .tk-type-t small { color: var(--muted); font-size: .8rem; }
.tk-few { color: #B26B00 !important; font-weight: 700; } .tk-day { color: var(--ink-2) !important; font-weight: 600; }
.tk-price { font-weight: 800; font-size: 1.05rem; white-space: nowrap; }
.tk-soldout { font-size: .78rem; font-weight: 700; color: var(--danger); white-space: nowrap; }
.tk-qty { display: inline-flex; align-items: center; border: 1.5px solid var(--line-2); border-radius: 12px; overflow: hidden; }
.tk-qty button { width: 36px; height: 38px; border: 0; background: #F6F5F1; font-size: 1.2rem; font-weight: 700; cursor: pointer; color: var(--ink); }
.tk-qty button:hover { background: #ECEAE3; }
.tk-qty input { width: 44px; height: 38px; border: 0 !important; text-align: center; font-weight: 800; font-size: 1rem; padding: 0 !important; box-shadow: none !important; -moz-appearance: textfield; } .tk-qty input::-webkit-inner-spin-button { -webkit-appearance: none; }
.tk-type-pick { cursor: pointer; } .tk-type-pick input { width: 20px; height: 20px; flex: none; accent-color: var(--ink); }
.tk-type-pick:has(input:checked) { border-color: var(--ink); background: var(--yellow-tint); }
.tk-sum { display: flex; justify-content: space-between; align-items: baseline; margin-top: 12px; padding: 12px 14px; border-radius: 14px; background: #F6F5F1; } .tk-sum b { font-size: 1.4rem; letter-spacing: -.01em; }
.tk-fields { display: grid; gap: 10px; } .tk-fields label small { color: var(--muted); font-weight: 500; }
.tk-hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.tk-agb { display: flex; gap: 10px; align-items: flex-start; margin: 16px 0 12px; font-size: .82rem; color: var(--ink-2); line-height: 1.45; } .tk-agb input { margin-top: 2px; width: 18px; height: 18px; flex: none; }
.tk-pay { display: flex; align-items: center; justify-content: center; gap: 12px; width: 100%; padding: 15px 20px; border: 0; border-radius: 999px; background: #FFC439; color: #111; font: inherit; font-weight: 800; font-size: 1.05rem; cursor: pointer; box-shadow: 0 6px 18px rgba(255,196,57,.4); transition: transform .1s, filter .15s; }
.tk-pay:hover:not(:disabled) { filter: brightness(.97); transform: translateY(-1px); } .tk-pay:disabled { opacity: .5; cursor: not-allowed; box-shadow: none; }
.tk-pay.free { background: var(--success); color: #fff; box-shadow: none; } .tk-pay.free .tk-pp { display: none; }
.tk-pp { font-style: italic; font-weight: 900; font-size: 1.15rem; color: #003087; letter-spacing: -.02em; } .tk-pp b { color: #009CDE; font-weight: 900; }
.tk-pp.sm { font-size: 1rem; }
.tk-secure { display: flex; gap: 6px; align-items: flex-start; justify-content: center; text-align: center; font-size: .76rem; color: var(--muted); margin: 10px 0 0; } .tk-secure svg { width: 13px; height: 13px; flex: none; margin-top: 2px; }
.tk-foot { text-align: center; font-size: .76rem; color: var(--muted); margin-top: 22px; line-height: 1.6; } .tk-foot a { color: inherit; } .tk-pb { opacity: .7; }
.tk-done { text-align: center; } .tk-done .btn-outline { border-color: rgba(255,255,255,.5); color: #fff; background: transparent; } .tk-done .btn-outline:hover { background: rgba(255,255,255,.1); }
.tk-check { display: inline-grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: var(--success); color: #fff; box-shadow: 0 0 0 8px rgba(35,149,95,.25); } .tk-check svg { width: 32px; height: 32px; stroke-width: 3; }
.tk-evline { color: var(--ink-2); text-align: center; margin: -4px 0 12px; font-size: .9rem; }
.tk-tix { display: grid; gap: 14px; }
.tk-ticket { position: relative; display: flex; align-items: center; gap: 14px; padding: 18px 18px 18px 22px; border-radius: 20px; background: #fff; box-shadow: 0 14px 40px rgba(0,0,0,.12); border-left: 8px solid var(--tt); overflow: hidden; }
.tk-ticket::before, .tk-ticket::after { content: ""; position: absolute; right: 236px; width: 22px; height: 22px; border-radius: 50%; background: #F3F2EE; } .tk-ticket::before { top: -11px; } .tk-ticket::after { bottom: -11px; }
.tk-ticket-l { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; padding-right: 14px; border-right: 2px dashed var(--line-2); }
.tk-ticket-l small { font-size: .72rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); font-weight: 700; } .tk-ticket-l b { font-size: 1.25rem; letter-spacing: -.01em; } .tk-ticket-l span { font-weight: 600; } .tk-ticket-l em { font-style: normal; font-family: var(--mono); font-size: .86rem; color: var(--muted); }
.tk-qr { width: 200px; height: 200px; flex: none; image-rendering: pixelated; }
.tk-ticket.big { flex-direction: column; align-items: stretch; border-left: 0; border-top: 8px solid var(--tt); text-align: center; } .tk-ticket.big::before, .tk-ticket.big::after { display: none; }
.tk-ticket.big .tk-ticket-l { border-right: 0; padding: 0; } .tk-ticket.big .tk-qr { width: 240px; height: 240px; margin: 10px auto 0; }
.tk-ticket.is-void { opacity: .6; } .tk-ticket.is-void .tk-qr { filter: grayscale(1) opacity(.3); }
.tk-used { font-style: normal; font-size: .76rem; font-weight: 700; color: var(--success); margin-top: 4px; } .tk-used.bad { color: var(--danger); }
.tk-hint { text-align: center; color: var(--muted); font-size: .82rem; }
.tk-staff { display: flex; gap: 8px; justify-content: center; margin-top: 14px; flex-wrap: wrap; }
@media (max-width: 560px) { .tk-hero h1 { font-size: 1.6rem; } .tk-ticket { flex-direction: column; text-align: center; border-left: 0; border-top: 8px solid var(--tt); } .tk-ticket::before, .tk-ticket::after { display: none; } .tk-ticket-l { border-right: 0; padding: 0 0 10px; border-bottom: 2px dashed var(--line-2); width: 100%; } .tk-type { flex-wrap: wrap; } .tk-type-t { flex-basis: calc(100% - 90px); } }
/* Einlass-Scanner */
body.tks-body { background: #15171A; } .tks-wrap { max-width: 560px; }
.tks { display: grid; gap: 12px; }
.tks-stats { display: flex; gap: 8px; flex-wrap: wrap; } .tks-stats span { flex: 1; min-width: 110px; padding: 10px 12px; border-radius: 14px; background: var(--suite-ink); color: rgba(255,255,255,.75); font-size: .8rem; } .tks-stats b { display: block; font-size: 1.6rem; color: #F2DDA6; line-height: 1.1; }
.tks-cam { position: relative; aspect-ratio: 4 / 3; border-radius: 20px; background: #0E0F11; overflow: hidden; display: grid; place-items: center; }
.tks-cam video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; } .tks-cam.on video { opacity: 1; }
.tks-frame { position: absolute; inset: 18% 22%; pointer-events: none; opacity: 0; } .tks-cam.on .tks-frame { opacity: 1; }
.tks-frame i { position: absolute; width: 34px; height: 34px; border: 4px solid #F2DDA6; } .tks-frame i:nth-child(1) { top: 0; left: 0; border-right: 0; border-bottom: 0; border-radius: 10px 0 0 0; } .tks-frame i:nth-child(2) { top: 0; right: 0; border-left: 0; border-bottom: 0; border-radius: 0 10px 0 0; } .tks-frame i:nth-child(3) { bottom: 0; left: 0; border-right: 0; border-top: 0; border-radius: 0 0 0 10px; } .tks-frame i:nth-child(4) { bottom: 0; right: 0; border-left: 0; border-top: 0; border-radius: 0 0 10px 0; }
.tks-start { position: relative; z-index: 2; }
.tks-switch { position: absolute; right: 12px; bottom: 12px; z-index: 3; width: 42px; height: 42px; border-radius: 50%; border: 0; background: rgba(0,0,0,.55); color: #fff; cursor: pointer; } .tks-switch svg { width: 20px; height: 20px; }
.tks-res { display: grid; justify-items: center; gap: 4px; padding: 22px 18px; border-radius: 20px; text-align: center; color: #fff; animation: tkspop .18s ease-out; }
@keyframes tkspop { from { transform: scale(.94); opacity: 0; } }
.tks-res.r-ok { background: #1E9E5A; } .tks-res.r-warn { background: #E08A12; } .tks-res.r-invalid { background: #D23B3B; }
.tks-ico { display: grid; place-items: center; width: 70px; height: 70px; border-radius: 50%; background: rgba(255,255,255,.22); font-size: 2.4rem; font-weight: 900; }
.tks-res b { font-size: 1.5rem; line-height: 1.2; } .tks-res small { font-size: .95rem; opacity: .92; }
.tks-acts { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; margin-top: 10px; }
.tks-acts .btn { background: rgba(255,255,255,.18); color: #fff; border-color: rgba(255,255,255,.35); } .tks-acts .tks-next { background: #fff; color: #141414; } .tks-acts .tks-force { background: rgba(0,0,0,.25); }
.tks-manual { display: flex; gap: 8px; } .tks-manual input { flex: 1; font-family: var(--mono); text-transform: uppercase; }
body.tks-body .tks-manual input { background: #22252A; border-color: #33373D; color: #fff; }
.tks-msg { margin: 0; padding: 8px 12px; border-radius: 10px; background: #2A2D33; color: #F2DDA6; font-size: .86rem; text-align: center; }
.tks-log { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.tks-log li { display: grid; grid-template-columns: 22px 1fr auto; column-gap: 8px; align-items: baseline; padding: 7px 10px; border-radius: 10px; background: #fff; font-size: .84rem; }
body.tks-body .tks-log li { background: #22252A; color: #fff; }
.tks-log li i { font-style: normal; font-weight: 900; } .tks-log li.r-ok i { color: #27AE60; } .tks-log li.r-warn i { color: #F2994A; } .tks-log li.r-invalid i { color: #EB5757; }
.tks-log li small { grid-column: 2; color: var(--muted); font-size: .74rem; } .tks-log li time { grid-row: 1; grid-column: 3; color: var(--muted); font-size: .74rem; }
.tks-log li.undone { opacity: .45; text-decoration: line-through; }
body.tks-body .tk-card { background: #22252A; color: #fff; } body.tks-body .tk-card input { background: #15171A; color: #fff; border-color: #33373D; }
/* Admin */
.tk-adm-qr { display: flex; gap: 14px; align-items: center; } .tk-adm-qr img { border-radius: 12px; border: 1px solid var(--line); image-rendering: pixelated; }
.tk-type-f { margin-bottom: 10px; gap: 10px; display: grid; } .tk-type-f.is-off { opacity: .65; }
.tk-ofilter { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.tk-orders { display: grid; gap: 8px; }
.tk-order { padding: 0; overflow: hidden; } .tk-order > summary { list-style: none; display: flex; align-items: center; gap: 12px; padding: 12px 14px; cursor: pointer; } .tk-order > summary::-webkit-details-marker { display: none; }
.tk-order.s-cancelled, .tk-order.s-refunded { opacity: .6; }
.tk-ono { font-family: var(--mono); font-size: .8rem; color: var(--muted); flex: none; }
.tk-oname { flex: 1; min-width: 0; display: flex; flex-direction: column; } .tk-oname small { color: var(--muted); font-size: .78rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tk-oamt { text-align: right; font-weight: 800; display: flex; flex-direction: column; } .tk-oamt small { font-weight: 500; color: var(--muted); font-size: .72rem; }
.tk-order time { font-size: .74rem; color: var(--muted); width: 70px; text-align: right; flex: none; }
.tk-odet { padding: 4px 14px 14px; display: grid; gap: 8px; border-top: 1px solid var(--line); background: #FCFBF8; } .tk-odet form { margin: 0; } .tk-odet svg { width: 13px; height: 13px; vertical-align: -2px; }
.tk-otix { list-style: none; margin: 0; padding: 0; display: grid; gap: 3px; font-size: .84rem; } .tk-otix li.void { text-decoration: line-through; opacity: .6; } .tk-otix code { font-size: .8rem; } .tk-in { color: var(--success); }
.tk-kasse-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(280px, 1fr); gap: 14px; align-items: start; }
.tk-last { padding: 10px; border-radius: 12px; background: #EEF8F2; margin-bottom: 10px; } .tk-last-qr { display: flex; gap: 6px; flex-wrap: wrap; margin: 8px 0; } .tk-last-qr img { border-radius: 8px; background: #fff; image-rendering: pixelated; }
.tk-prow { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 6px 0; border-bottom: 1px solid var(--line); } .tk-pprice { display: inline-flex; align-items: center; gap: 4px; margin: 0; } .tk-pprice input { width: 90px; text-align: right; }
@media (max-width: 860px) { .tk-kasse-grid { grid-template-columns: 1fr; } .tk-order > summary { flex-wrap: wrap; } .tk-order time { width: auto; } }
.tk-punch-opts { display: grid; gap: 4px; }

/* Einlass ohne Netz (2.96) */
.tks-netrow { display: flex; align-items: center; gap: 6px; }
.tks-net { flex: 1; margin: 0; padding: 7px 12px; border-radius: 12px; font-size: .78rem; line-height: 1.4; background: #EEF8F2; color: #1C7A4D; }
.tks-net.off { background: #FFF1DC; color: #8A4B00; } .tks-net em { font-style: normal; font-weight: 700; }
body.tks-body .tks-net.on { background: #183A28; color: #8FE0B2; } body.tks-body .tks-net.off { background: #3D2B12; color: #FFD08A; }
body.tks-body .tks-netrow .btn-ghost { color: #fff; }
.tks-res.is-off { box-shadow: inset 0 0 0 4px rgba(255,255,255,.35); }
.tk-done-acts { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; }
.tk-dsgvo { width: 100%; font-size: .78rem; line-height: 1.45; color: var(--ink-2); background: #FAFAF7; }

/* ===================== Beiträge, SEPA, Mahnwesen, Bankanbindung (2.98) ===================== */
.table td.num, .table th.num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.table td.neg b { color: var(--danger); } .table td.pos b { color: var(--success); }
form.inline { display: inline-flex; align-items: center; gap: 4px; margin: 0; }
.mb-steps { list-style: none; counter-reset: st; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; padding: 0; margin: 0 0 18px; }
.mb-steps li { counter-increment: st; position: relative; padding: 12px 14px 12px 50px; border: 1px solid var(--line); border-radius: 14px; background: #fff; display: flex; flex-direction: column; min-width: 0; }
.mb-steps li::before { content: counter(st); position: absolute; left: 14px; top: 12px; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; font-size: .8rem; background: var(--paper); border: 1px solid var(--line-2); color: var(--muted); }
.mb-steps li b { font-size: .9rem; } .mb-steps li span { font-size: .78rem; color: var(--muted); }
.mb-steps li.done::before { content: "✓"; background: var(--success); border-color: var(--success); color: #fff; }
.mb-steps li.now { border-color: var(--suite-gold); box-shadow: 0 0 0 3px rgba(201,164,92,.18); } .mb-steps li.now::before { background: var(--suite-ink); border-color: var(--suite-ink); color: var(--suite-gold); }
.mb-run-acts { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 14px; }
.mb-act h3 { display: flex; align-items: center; gap: 8px; margin: 0 0 6px; font-size: 1.02rem; } .mb-act h3 .icon { width: 18px; height: 18px; color: var(--suite-gold-dark); }
.mb-act .actions { align-items: center; } .mb-act .actions form { margin: 0; }
.mb-act.is-now { border-color: var(--suite-gold); box-shadow: 0 0 0 3px rgba(201,164,92,.16), var(--shadow); }
.mb-hint { display: flex; gap: 8px; align-items: flex-start; padding: 8px 12px; border-radius: 10px; font-size: .84rem; margin: 6px 0 10px; } .mb-hint .icon { width: 16px; height: 16px; flex: none; margin-top: 1px; }
.mb-hint.warn { background: #FFF4DE; color: #8A4B00; } .mb-hint.ok { background: #EEF8F2; color: #1C7A4D; }
.mb-lines { list-style: none; margin: 4px 0 0; padding: 0; display: grid; gap: 2px; font-size: .86rem; }
.mb-lines li { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; } .mb-lines li b { font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }
.mb-lines li.k-discount { color: var(--success); } .mb-lines li.k-extra span::before { content: "+ "; color: var(--muted); }
.mb-items summary { cursor: pointer; } .mb-items[open] summary { font-weight: 600; }
.mb-prev summary, .mb-warn summary { cursor: pointer; font-weight: 600; } .mb-prev .table-scroll { margin-top: 10px; max-height: 480px; overflow: auto; }
.mb-sep { width: 1px; align-self: stretch; background: var(--line); margin: 0 4px; }
.mb-dun-list { display: grid; gap: 10px; }
.mb-dun { padding: 0; overflow: hidden; } .mb-dun header { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 16px; background: var(--paper); border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.mb-dun header label { margin: 0; } .mb-dun-sum { display: inline-flex; align-items: center; gap: 8px; } .mb-dun-sum b { font-size: 1.05rem; font-variant-numeric: tabular-nums; }
.mb-dun ul { list-style: none; margin: 0; padding: 4px 16px; } .mb-dun li { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--line); flex-wrap: wrap; } .mb-dun li:last-child { border-bottom: 0; }
.mb-dun li label { margin: 0; } .mb-dun-meta { display: inline-flex; align-items: center; gap: 10px; flex-wrap: wrap; } .mb-dun-meta b { font-variant-numeric: tabular-nums; min-width: 70px; text-align: right; }
.mb-konto-bal { font-size: .95rem; } .mb-konto-bal.neg b { color: var(--danger); } .mb-konto-bal.ok b { color: var(--success); display: inline-flex; align-items: center; gap: 4px; } .mb-konto-bal .icon { width: 15px; height: 15px; }
.mb-h3 { font-size: .74rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin: 18px 0 8px; }
.mb-extras { margin-bottom: 10px; } .mb-extras li { padding: 6px 0; border-bottom: 1px solid var(--line); align-items: center; }
.mb-extra-add { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; } .mb-extra-add select, .mb-extra-add > input { width: auto; flex: 1; min-width: 140px; }
.mb-custom { padding: 10px 14px; border: 1px dashed var(--line-2); border-radius: 12px; } .mb-custom summary { cursor: pointer; font-weight: 600; font-size: .9rem; } .mb-custom[open] { background: var(--paper); } .mb-custom .form-row { margin-top: 10px; }
.mb-admission { margin: 0; padding: 12px 16px; border-radius: 12px; background: var(--yellow-tint); border: 1px solid var(--yellow-mid); }
.mb-fee3 { display: flex; gap: 6px; } .mb-fee3 .mb-eur input { width: 70px; }
.mb-texts summary { cursor: pointer; } .mb-texts textarea { font-family: var(--mono); font-size: .82rem; }
.bk-tx td { vertical-align: top; } .bk-tx tr.is-none td { background: var(--paper); } .bk-assign { margin-top: 6px; max-width: 360px; font-size: .82rem; padding: 6px 8px; }
.bk-setup h2 { display: flex; align-items: center; gap: 8px; } .bk-setup h2 .icon { width: 20px; height: 20px; color: var(--suite-gold-dark); }
.bk-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; } .bk-steps > div { padding: 12px 14px; border-radius: 12px; background: var(--paper); border: 1px solid var(--line); } .bk-steps p { margin: 4px 0 0; }
.bk-modes { display: grid; gap: 8px; padding: 14px; border-radius: 12px; border: 1px solid var(--line); } .bk-modes .checkbox { margin: 0; }
/* Dialog */
body.bk-open { overflow: hidden; }
.bk-modal { position: fixed; inset: 0; z-index: 1200; display: grid; place-items: center; padding: 16px; } .bk-modal[hidden] { display: none; }
.bk-bg { position: absolute; inset: 0; background: rgba(20,22,26,.5); backdrop-filter: blur(2px); }
.bk-panel { position: relative; width: min(460px, 100%); max-height: calc(100vh - 32px); overflow-y: auto; background: #fff; border-radius: 20px; padding: 24px; box-shadow: 0 30px 80px rgba(0,0,0,.3); }
.bk-x { position: absolute; top: 14px; right: 14px; border: 0; background: none; cursor: pointer; color: var(--muted); padding: 6px; border-radius: 8px; } .bk-x:hover { background: var(--paper); } .bk-x .icon { width: 18px; height: 18px; }
.bk-head { display: flex; gap: 12px; align-items: center; margin-bottom: 16px; } .bk-head h2 { margin: 0; font-size: 1.2rem; } .bk-head p { margin: 2px 0 0; }
.bk-ic { width: 44px; height: 44px; border-radius: 12px; background: var(--suite-ink); color: var(--suite-gold); display: grid; place-items: center; flex: none; } .bk-ic .icon { width: 22px; height: 22px; }
.bk-step { display: grid; gap: 12px; } .bk-step p { margin: 0; } .bk-step .icon { width: 14px; height: 14px; vertical-align: -2px; }
.bk-step input[name=pin], .bk-step input[name=tan] { font-size: 1.2rem; letter-spacing: .12em; }
.bk-chal { padding: 10px 12px; border-radius: 10px; background: var(--paper); font-size: .9rem; }
.bk-img { display: grid; place-items: center; padding: 10px; background: #fff; border: 1px solid var(--line); border-radius: 12px; } .bk-img img, .bk-img svg { max-width: 100%; height: auto; }
.bk-wait { display: flex; gap: 14px; align-items: center; padding: 14px; border-radius: 14px; background: var(--yellow-tint); border: 1px solid var(--yellow-mid); } .bk-wait p { margin: 2px 0 0; }
.bk-spin { width: 28px; height: 28px; border-radius: 50%; border: 3px solid var(--yellow-mid); border-top-color: var(--suite-ink); animation: bkspin .9s linear infinite; flex: none; } @keyframes bkspin { to { transform: rotate(360deg); } }
.bk-done { display: flex; gap: 12px; align-items: center; } .bk-ok { width: 40px; height: 40px; border-radius: 50%; background: var(--success); color: #fff; display: grid; place-items: center; font-weight: 800; font-size: 1.2rem; flex: none; }
.bk-err { margin: 12px 0 0; padding: 10px 12px; border-radius: 10px; background: #FDE8E6; color: #B42318; font-size: .88rem; }
@media (max-width: 900px) { .mb-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } .bk-steps { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .mb-steps { grid-template-columns: 1fr 1fr; gap: 8px; } .mb-steps li { padding: 10px 10px 10px 42px; } .mb-steps li::before { left: 10px; top: 10px; width: 24px; height: 24px; } .mb-run-acts { grid-template-columns: 1fr; } .mb-fee3 .mb-eur input { width: 56px; } }

/* ===================== Design-Studio 2.0 (2.99) ===================== */
.st-top input.st-title { min-width: 120px; box-shadow: none; height: auto; max-width: 260px; flex: 0 1 240px; background: transparent !important; border: 1px solid transparent; color: #fff; font: 600 .86rem var(--font); padding: 6px 10px; border-radius: 8px; }
.st-top input.st-title:hover { border-color: rgba(255,255,255,.2); } .st-top input.st-title:focus { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.35); outline: none; } .st-top input.st-title::placeholder { color: rgba(255,255,255,.45); }
.st-fmt-btn { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.18) !important; } .st-fmt-btn span { max-width: 180px; overflow: hidden; text-overflow: ellipsis; }
.st-search { position: sticky; top: 0; z-index: 2; display: flex; align-items: center; gap: 8px; margin: 8px 0 4px; padding: 8px 12px; border-radius: 10px; background: var(--paper); border: 1px solid var(--line); }
.st-search input { border: 0; background: none; padding: 0; font: inherit; width: 100%; box-shadow: none; outline: none; } .st-search svg { color: var(--muted); }
.st-modal { position: fixed; inset: 0; z-index: 2000; display: grid; place-items: center; padding: 16px; }
.st-modal-bg { position: absolute; inset: 0; background: rgba(20,22,26,.55); }
.st-modal-box { position: relative; width: min(520px, 100%); max-height: calc(100vh - 32px); overflow: auto; background: #fff; border-radius: 18px; box-shadow: 0 30px 80px rgba(0,0,0,.35); color: var(--ink); }
.st-modal-box.wide { width: min(860px, 100%); }
.st-modal-box header { position: sticky; top: 0; z-index: 1; display: flex; justify-content: space-between; align-items: center; padding: 16px 20px; background: #fff; border-bottom: 1px solid var(--line); } .st-modal-box header h3 { margin: 0; font-size: 1.1rem; }
.st-modal-b { padding: 16px 20px 20px; } .st-modal-b h4 { margin: 10px 0 8px; font-size: .74rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.st-modal-acts { display: flex; justify-content: flex-end; gap: 8px; margin-top: 14px; flex-wrap: wrap; } .st-modal-acts .st-btn { border: 1px solid var(--line); }
.st-fmts { display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 8px; }
.st-fmt { position: relative; display: flex; flex-direction: column; gap: 4px; padding: 10px; border: 1.5px solid var(--line); border-radius: 12px; cursor: pointer; margin: 0; transition: border-color .12s; }
.st-fmt input { position: absolute; top: 8px; right: 8px; } .st-fmt b { font-size: .8rem; line-height: 1.2; } .st-fmt small { font-size: .7rem; color: var(--muted); }
.st-fmt:has(input:checked) { border-color: var(--brand-dark); background: var(--yellow-tint); } .st-fmt.cur { box-shadow: inset 0 0 0 1px var(--yellow); }
.st-fmt-prev { height: 54px; display: grid; place-items: center; } .st-fmt-prev i { display: block; max-width: 70px; max-height: 50px; height: 50px; background: var(--brand-dark); border-radius: 4px; opacity: .85; }
.st-fmt-mode { display: grid; gap: 6px; margin: 16px 0 6px; } .st-fmt-mode label { display: flex; gap: 8px; align-items: flex-start; margin: 0; font-size: .86rem; }
.st-made { padding-left: 18px; } .st-made a { font-weight: 600; }
.st-dl-menu { position: fixed; z-index: 1500; min-width: 270px; padding: 6px; border-radius: 14px; background: #fff; box-shadow: 0 18px 50px rgba(0,0,0,.25); border: 1px solid var(--line); display: grid; gap: 2px; }
.st-dl-menu button { display: flex; flex-direction: column; align-items: flex-start; gap: 1px; text-align: left; border: 0; background: none; padding: 9px 12px; border-radius: 10px; cursor: pointer; font: inherit; color: var(--ink); }
.st-dl-menu button:hover { background: var(--paper); } .st-dl-menu b { font-size: .86rem; } .st-dl-menu small { font-size: .74rem; color: var(--muted); }
.st-brand-cols > .st-sec-b { display: flex; flex-direction: row; flex-wrap: wrap; gap: 8px; }
.st-bcol { width: 38px; height: 38px; border-radius: 50%; border: 2px solid #fff; box-shadow: 0 0 0 1px var(--line-2); cursor: pointer; padding: 0; position: relative; display: grid; place-items: center; font-weight: 700; color: var(--muted); background: #fff; margin: 0; }
.st-bcol:hover { box-shadow: 0 0 0 2px var(--brand-dark); } .st-bcol-add input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.st-wide { width: 100%; } .st-brow { width: 100%; } .st-brow small { margin-top: 2px; }
.st-adm summary { cursor: pointer; font-size: .8rem; font-weight: 600; color: var(--muted); padding: 6px 0; } .st-adm-b { display: grid; gap: 8px; } .st-lbl { display: grid; gap: 4px; font-size: .76rem; font-weight: 600; margin: 0; }
.st-up { cursor: pointer; border: 1px dashed var(--line-2) !important; justify-content: center; } .st-up-tile { cursor: pointer; aspect-ratio: 1; font-size: 1.4rem; color: var(--muted); }
.st-check { display: flex; align-items: center; gap: 8px; font-size: .84rem; margin: 0; } .st-check small { font-size: .72rem; }
.st-cform { display: grid; gap: 6px; } .st-cform textarea { width: 100%; font: inherit; font-size: .85rem; padding: 8px 10px; border-radius: 10px; border: 1px solid var(--line-2); resize: vertical; }
.st-cmt { padding: 8px 10px; border-radius: 10px; background: var(--paper); font-size: .84rem; } .st-cmt p { margin: 4px 0 6px; white-space: pre-wrap; } .st-cmt.done { opacity: .55; }
.st-share { display: flex; gap: 8px; } .st-share input { flex: 1; font-size: .82rem; }
.st-gridic { width: 34px !important; height: 40px !important; fill: #CFC9B6 !important; stroke: none !important; }
/* Designs-Übersicht */
.ds-new { display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 10px; margin-bottom: 22px; }
.ds-fmt { display: flex; flex-direction: column; gap: 3px; padding: 12px; border-radius: 14px; border: 1px solid var(--line); background: #fff; text-decoration: none; color: inherit; transition: box-shadow .15s, transform .15s, border-color .15s; }
.ds-fmt:hover { box-shadow: var(--shadow-hover); transform: translateY(-2px); border-color: var(--line-2); } .ds-fmt b { font-size: .84rem; line-height: 1.2; } .ds-fmt small { font-size: .72rem; color: var(--muted); }
.ds-fmt-prev { height: 70px; display: grid; place-items: center; background: var(--paper); border-radius: 10px; margin-bottom: 6px; } .ds-fmt-prev i { display: block; max-width: 78%; max-height: 78%; background: var(--suite-ink); border-radius: 4px; box-shadow: inset 0 -12px 0 var(--suite-gold); }
.ds-layout { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 18px; align-items: start; }
.ds-side { padding: 10px; display: flex; flex-direction: column; gap: 2px; position: sticky; top: 14px; }
.ds-side a, .ds-addf { display: flex; align-items: center; gap: 8px; padding: 8px 10px; border-radius: 10px; color: var(--ink-2); text-decoration: none; font-size: .88rem; border: 0; background: none; font-family: inherit; cursor: pointer; text-align: left; }
.ds-side a span { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .ds-side a i { font-style: normal; font-size: .74rem; color: var(--muted); }
.ds-side a:hover, .ds-addf:hover { background: var(--paper); } .ds-side a.on { background: var(--yellow-tint); color: var(--ink); font-weight: 600; } .ds-side .icon { width: 16px; height: 16px; }
.ds-side-h { font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); padding: 12px 10px 4px; } .ds-addf { color: var(--muted); }
.ds-bar { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 14px; }
.ds-search { display: flex; align-items: center; gap: 8px; flex: 1; min-width: 220px; padding: 8px 12px; border: 1px solid var(--line); border-radius: 12px; background: #fff; } .ds-search input { border: 0; padding: 0; box-shadow: none; background: none; }
.ds-cur { display: inline-flex; align-items: center; gap: 4px; }
.ds-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 14px; }
.ds-card { position: relative; background: #fff; border: 1px solid var(--line); border-radius: 16px; overflow: visible; transition: box-shadow .15s; } .ds-card:hover { box-shadow: var(--shadow-hover); }
.ds-thumb { position: relative; display: grid; place-items: center; aspect-ratio: 1; background: var(--paper); border-radius: 16px 16px 0 0; overflow: hidden; }
.ds-thumb img { max-width: 88%; max-height: 88%; object-fit: contain; box-shadow: 0 4px 14px rgba(0,0,0,.12); border-radius: 3px; } .ds-thumb > span .icon { width: 34px; height: 34px; opacity: .35; }
.ds-badge, .ds-share { position: absolute; top: 8px; display: inline-flex; align-items: center; gap: 3px; padding: 2px 8px; border-radius: 20px; font-style: normal; font-size: .72rem; font-weight: 700; } .ds-badge { left: 8px; background: #E5007E; color: #fff; } .ds-share { right: 8px; background: #fff; color: var(--ink-2); box-shadow: 0 1px 4px rgba(0,0,0,.15); } .ds-badge .icon, .ds-share .icon { width: 12px; height: 12px; }
.ds-meta { padding: 10px 40px 12px 12px; display: flex; flex-direction: column; gap: 2px; } .ds-meta a { color: inherit; text-decoration: none; } .ds-meta b { font-size: .9rem; } .ds-meta small { font-size: .74rem; }
.ds-more { position: absolute; right: 8px; bottom: 10px; } .ds-more > summary { list-style: none; cursor: pointer; padding: 4px; border-radius: 8px; color: var(--muted); } .ds-more > summary::-webkit-details-marker { display: none; } .ds-more > summary:hover { background: var(--paper); } .ds-more .tm-pop { bottom: calc(100% + 4px); top: auto; }
/* Freigabe-Ansicht */
body.dv-body { background: #EDEBE4; }
.dv-wrap { max-width: 1000px; margin: 0 auto; padding: 24px 16px 40px; display: grid; gap: 18px; }
.dv-head { display: flex; align-items: center; gap: 12px; } .dv-head b { display: block; font-size: 1.3rem; } .dv-head small { color: var(--muted); } .dv-crest { height: 44px; }
.dv-pages { display: grid; gap: 18px; } .dv-page { margin: 0; text-align: center; } .dv-page figcaption { font-size: .8rem; color: var(--muted); margin-top: 6px; }
.dv-img { position: relative; display: inline-block; max-width: 100%; cursor: crosshair; box-shadow: 0 10px 40px rgba(0,0,0,.15); } .dv-img img { display: block; max-width: 100%; max-height: 82vh; }
.dv-pin { position: absolute; transform: translate(-50%, -50%); width: 24px; height: 24px; border-radius: 50%; background: #E5007E; color: #fff; font-style: normal; font-size: .72rem; font-weight: 800; display: grid; place-items: center; box-shadow: 0 0 0 3px #fff; }
.dv-cmts h2 { margin: 0 0 10px; font-size: 1.1rem; } .dv-cmt { padding: 10px 0; border-bottom: 1px solid var(--line); } .dv-cmt p { margin: 4px 0 0; } .dv-cmt.done { opacity: .55; }
.dv-form { display: grid; gap: 10px; margin-top: 14px; } .dv-foot { text-align: center; } .dv-empty { text-align: center; margin-top: 60px; }
@media (max-width: 1300px) { .st-brand b { display: none; } }
@media (max-width: 900px) { .ds-layout { grid-template-columns: 1fr; } .ds-side { position: static; flex-direction: row; flex-wrap: wrap; } .ds-side-h { width: 100%; } .st-title { display: none; } }
/* 3.0: Studio – Animation, Video, Freistellen */
.st-anim-ic { font-size: 1.3rem; line-height: 1; height: 26px; display: grid; place-items: center; }
.st-btn.st-outline { border: 1px solid var(--line-2); }
.st-anim-prev .st-anim-box { position: relative; display: grid; gap: 10px; justify-items: center; }
.st-anim-prev canvas { max-height: 74vh; max-width: 92vw; width: auto; height: auto; border-radius: 10px; box-shadow: 0 20px 60px rgba(0,0,0,.4); background: #fff; }
.st-anim-ctl { display: flex; align-items: center; gap: 10px; background: #fff; padding: 8px 12px; border-radius: 14px; } .st-anim-ctl input { width: 220px; } .st-anim-ctl span { font-size: .8rem; font-variant-numeric: tabular-nums; min-width: 90px; }
.st-anim-rec { display: grid; gap: 6px; margin: 10px 0; } .st-prog { height: 8px; border-radius: 4px; background: var(--paper); overflow: hidden; } .st-prog i { display: block; height: 100%; width: 0; background: var(--yellow); transition: width .2s; }
.st-music-box[hidden] { display: none; }
.st-cut .st-modal-box { width: min(1100px, 100%); }
.st-cut-b { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 16px; padding: 16px 20px 20px; }
.st-cut-stage { position: relative; display: grid; place-items: center; min-height: 360px; border-radius: 12px; background: repeating-conic-gradient(#E9E6DD 0 25%, #fff 0 50%) 0 0 / 18px 18px; overflow: hidden; }
.st-cut-stage canvas { max-width: 100%; max-height: 66vh; cursor: crosshair; touch-action: none; }
.st-cut-wait { position: absolute; inset: 0; display: grid; place-items: center; align-content: center; gap: 8px; background: rgba(255,255,255,.75); } .st-cut-wait p { margin: 0; font-weight: 600; }
.st-cut-tools { display: grid; gap: 10px; align-content: start; } .st-cut-tools .st-row { width: 100%; } .st-cut-tools input[type=range] { width: 100%; }
.st-cut-mode { display: grid; gap: 4px; padding: 8px 10px; border-radius: 10px; background: var(--paper); font-size: .84rem; } .st-cut-mode label { display: flex; gap: 6px; align-items: center; margin: 0; }
@media (max-width: 800px) { .st-cut-b { grid-template-columns: 1fr; } }

/* ---------- 3.0: Event Suite – Ablaufplan, Lageplan, Standkasse ---------- */
.ev-r5 { grid-template-columns: 1fr 1.6fr 1fr 1fr 1.2fr; gap: 12px; }
@media (max-width: 900px) { .ev-r5 { grid-template-columns: 1fr 1fr; } }
/* Ablauf – Editor */
.ab-now { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 12px; margin: 0 0 18px; }
.ab-now-c { display: grid; gap: 2px; padding: 14px 18px; border-radius: var(--radius); background: var(--paper); border: 1px solid var(--line); }
.ab-now-c small { font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.ab-now-c b { font-size: 1.12rem; } .ab-now-c span { color: var(--muted); font-size: .86rem; }
.ab-now-c.is-now { background: var(--suite-ink); color: #fff; border-color: transparent; box-shadow: inset 0 0 0 1.5px rgba(242,221,166,.4); }
.ab-now-c.is-now small { color: #F2DDA6; } .ab-now-c.is-now span { color: rgba(255,255,255,.72); }
.ab-list { display: grid; gap: 8px; margin-bottom: 18px; }
.ab-day { margin: 14px 0 2px; font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.ab-row { padding: 0; overflow: hidden; }
.ab-row > summary { list-style: none; display: grid; grid-template-columns: 78px minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 12px 16px; cursor: pointer; }
.ab-row > summary::-webkit-details-marker { display: none; }
.ab-row[open] > summary { border-bottom: 1px solid var(--line); background: var(--paper); }
.ab-time { display: grid; line-height: 1.2; } .ab-time b { font-size: 1.15rem; font-variant-numeric: tabular-nums; } .ab-time small { color: var(--muted); font-size: .74rem; }
.ab-what { display: grid; line-height: 1.35; min-width: 0; } .ab-what small { color: var(--muted); } .ab-what em { font-size: .82rem; color: var(--ink-2); }
.ab-row.is-now { box-shadow: inset 4px 0 0 var(--suite-gold), var(--shadow); }
.ab-row.is-done { opacity: .62; } .ab-row.is-done .ab-what b { text-decoration: line-through; text-decoration-color: rgba(20,20,20,.35); }
.ab-edit { padding: 14px 16px 16px; display: grid; gap: 12px; }
.ab-grid { display: flex; flex-wrap: wrap; gap: 10px 12px; }
.ab-grid label { display: grid; gap: 4px; font-size: .8rem; font-weight: 600; color: var(--ink-2); margin: 0; flex: 1 1 140px; min-width: 0; }
.ab-grid .ab-wide { flex: 3 1 320px; }
.ab-shift { display: inline-flex; align-items: center; gap: 4px; font-size: .82rem; color: var(--muted); flex-wrap: wrap; }
.ab-add { display: grid; gap: 12px; margin-bottom: 18px; }
.ab-link { display: grid; gap: 10px; }
@media (max-width: 760px) { .ab-row > summary { grid-template-columns: 62px minmax(0, 1fr); } .ab-state { grid-column: 2; } }
/* Ablauf – öffentliche Live-Ansicht */
body.ab-body { background: var(--paper); }
.ab-wrap { width: min(720px, 100%); margin: 0 auto; padding: 18px 16px 40px; }
.ab-head { display: flex; align-items: center; gap: 12px; padding: 6px 0 14px; } .ab-head > div { display: grid; line-height: 1.25; } .ab-head b { font-size: 1.15rem; } .ab-head small { color: var(--muted); }
.ab-crest { width: 46px; height: 46px; object-fit: contain; }
.ab-h { font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin: 18px 0 8px; } .ab-h span { text-transform: none; letter-spacing: 0; font-weight: 600; color: var(--suite-gold-dark); }
.ab-it { display: grid; grid-template-columns: 64px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 12px 14px; margin-bottom: 8px; background: #fff; border: 1px solid var(--line); border-radius: 14px; }
.ab-it-t { display: grid; line-height: 1.2; } .ab-it-t b { font-size: 1.1rem; font-variant-numeric: tabular-nums; } .ab-it-t small { color: var(--muted); font-size: .72rem; }
.ab-it-w { display: grid; line-height: 1.35; min-width: 0; } .ab-it-w small { color: var(--muted); } .ab-it-w em { font-size: .84rem; }
.ab-it.now { background: var(--suite-ink); color: #fff; border-color: transparent; padding: 18px 16px; } .ab-it.now .ab-it-w b { font-size: 1.25rem; } .ab-it.now small { color: rgba(255,255,255,.7); } .ab-it.now .btn { color: #fff; border-color: rgba(255,255,255,.35); }
.ab-it.next { border-color: var(--suite-gold); box-shadow: 0 0 0 3px rgba(201,164,92,.15); }
.ab-it.past { opacity: .55; }
.ab-past > summary { cursor: pointer; color: var(--muted); font-weight: 600; margin: 16px 0 8px; }

/* Lageplan */
.lp-plan { display: grid; grid-template-columns: 230px minmax(0, 1fr) 270px; gap: 14px; align-items: start; }
.lp-plan .card { padding: 14px; }
.lp-plan h4 { margin: 4px 0 8px; font-size: .74rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.lp-items { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin-bottom: 14px; }
.lp-items button { display: grid; justify-items: center; gap: 4px; padding: 9px 4px 7px; border: 1px solid var(--line); border-radius: 10px; background: #fff; font: 600 .72rem/1.15 var(--font); color: var(--ink-2); cursor: pointer; text-align: center; transition: border-color .15s, transform .15s; }
.lp-items button:hover { border-color: var(--c); transform: translateY(-1px); }
.lp-items i { width: 28px; height: 28px; display: grid; place-items: center; border-radius: 8px; background: color-mix(in srgb, var(--c) 18%, #fff); color: color-mix(in srgb, var(--c) 70%, #000); }
.lp-items i .icon { width: 16px; height: 16px; }
.lp-lbl { display: grid; gap: 4px; font-size: .8rem; font-weight: 600; color: var(--ink-2); margin: 0 0 10px; }
.lp-lbl input, .lp-lbl textarea { font-size: .88rem; }
.lp-up { width: 100%; justify-content: center; margin-bottom: 6px; cursor: pointer; }
.lp-pal .btn-ghost { width: 100%; justify-content: center; }
.lp-chk { margin: 10px 0 6px; font-size: .84rem; }
.lp-stage { padding: 12px !important; display: grid; place-items: center; overflow: hidden; background: var(--paper); }
.lp-stage .canvas-container { border-radius: 8px; box-shadow: 0 1px 2px rgba(0,0,0,.06), 0 10px 30px rgba(0,0,0,.08); overflow: hidden; }
.lp-props { position: sticky; top: 80px; }
.lp-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.lp-cols { display: flex; flex-wrap: wrap; gap: 6px; margin: 2px 0 12px; } .lp-cols button { width: 24px; height: 24px; border-radius: 50%; border: 2px solid #fff; box-shadow: 0 0 0 1px var(--line-2); cursor: pointer; }
.lp-acts { display: flex; flex-wrap: wrap; gap: 6px; }
.lp-legend { margin: 0; padding-left: 20px; font-size: .84rem; display: grid; gap: 3px; } .lp-legend small { color: var(--muted); }
@media (max-width: 1150px) { .lp-plan { grid-template-columns: 1fr; } .lp-items { grid-template-columns: repeat(auto-fill, minmax(86px, 1fr)); } .lp-props { position: static; } }

/* Standkasse – Bericht */
.ks-kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 12px; margin-bottom: 20px; }
.ks-kpi { display: grid; gap: 2px; padding: 16px 18px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.ks-kpi span { font-size: .74rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--muted); }
.ks-kpi b { font-size: 1.45rem; font-variant-numeric: tabular-nums; } .ks-kpi small { color: var(--muted); font-size: .78rem; }
.ks-kpi:first-child { background: var(--suite-ink); color: #fff; border-color: transparent; } .ks-kpi:first-child span { color: #F2DDA6; } .ks-kpi:first-child small { color: rgba(255,255,255,.7); }
.ks-h { font-size: 1.05rem; margin: 26px 0 10px; }
.ks-regs { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 14px; }
.ks-reg { padding: 16px 18px; display: grid; gap: 8px; align-content: start; } .ks-reg h3 { margin: 0; }
.ks-dl { display: grid; grid-template-columns: auto 1fr; gap: 3px 14px; margin: 0; font-size: .9rem; } .ks-dl dt { color: var(--muted); } .ks-dl dd { margin: 0; text-align: right; font-variant-numeric: tabular-nums; }
.ks-close > summary { cursor: pointer; font-weight: 600; color: var(--suite-gold-dark); margin-top: 4px; }
.ks-close-f { display: grid; gap: 8px; margin-top: 10px; } .ks-2 { grid-template-columns: 1fr 1fr; gap: 8px; }
.ks-close-f label { display: grid; gap: 3px; font-size: .8rem; font-weight: 600; margin: 0; }
.ks-exp .ks-ok { color: var(--success); font-weight: 700; } .ks-exp .ks-bad { color: var(--danger); font-weight: 700; }
.chip-ok { background: #E6F4EC; color: #1B6E46; } .chip-warn { background: #FDECEC; color: #A23232; }
.ks-tx .ks-cancelled td { color: var(--muted); text-decoration: line-through; } .ks-tx .ks-cancelled td:last-child { text-decoration: none; }
.ks-link { padding: 16px 18px; display: grid; gap: 10px; } .ks-link-row { display: flex; gap: 8px; } .ks-link-row input { flex: 1; font-family: var(--mono); font-size: .8rem; }
.ks-link .actions { display: flex; gap: 8px; } .ks-link form { margin: 0; }

/* Standkasse – Vollbild-Kasse */
body.ks-body { background: #EEECE6; overflow: hidden; height: 100vh; height: 100dvh; }
body.ks-body main { padding: 0; }
.ks { display: grid; grid-template-rows: auto minmax(0, 1fr); height: 100vh; height: 100dvh; font-family: var(--font); user-select: none; -webkit-user-select: none; }
.ks-top { display: flex; align-items: center; gap: 14px; padding: 10px 16px; padding-top: max(10px, env(safe-area-inset-top)); background: var(--suite-ink); color: #fff; }
.ks-crest { width: 34px; height: 34px; object-fit: contain; }
.ks-title { display: grid; line-height: 1.15; min-width: 0; flex: 1; } .ks-title b { font-size: .95rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ks-reg-btn { justify-self: start; background: none; border: 0; padding: 0; color: #F2DDA6; font: 600 .8rem var(--font); cursor: pointer; } .ks-reg-btn::after { content: " ▾"; }
.ks-net { font-size: .76rem; font-weight: 600; padding: 4px 10px; border-radius: 999px; background: rgba(255,255,255,.1); white-space: nowrap; }
.ks-net::before { content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 50%; margin-right: 6px; background: #4ADE80; vertical-align: 1px; }
.ks-net.off { background: #7A2E2E; } .ks-net.off::before { background: #FCA5A5; }
.ks-sum { font-size: .82rem; color: rgba(255,255,255,.8); white-space: nowrap; } .ks-sum b { color: #fff; font-variant-numeric: tabular-nums; }
.ks-tbtn { display: inline-flex; align-items: center; gap: 6px; color: #fff; text-decoration: none; font-size: .82rem; font-weight: 600; padding: 6px 10px; border-radius: 10px; background: rgba(255,255,255,.08); } .ks-tbtn .icon { width: 16px; height: 16px; }
.ks-main { display: grid; grid-template-columns: minmax(0, 1fr) min(380px, 38vw); min-height: 0; }
.ks-left { display: grid; grid-template-rows: auto minmax(0, 1fr); min-height: 0; }
.ks-cats { display: flex; gap: 6px; padding: 10px 12px 0; overflow-x: auto; scrollbar-width: none; } .ks-cats:empty { display: none; }
.ks-cats button { flex: none; padding: 9px 16px; border-radius: 999px; border: 0; background: #fff; font: 600 .86rem var(--font); color: var(--ink-2); cursor: pointer; }
.ks-cats button.on { background: var(--suite-ink); color: #fff; }
.ks-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); grid-auto-rows: minmax(108px, auto); gap: 10px; padding: 12px; overflow-y: auto; align-content: start; }
.ks-art { -webkit-tap-highlight-color: transparent; position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 2px; padding: 14px 14px 12px; border: 0; border-radius: 16px; background: #fff; text-align: left; cursor: pointer; font-family: var(--font);
  box-shadow: inset 0 4px 0 hsl(var(--h) 45% 55%), 0 1px 2px rgba(0,0,0,.05); transition: transform .08s, box-shadow .15s; touch-action: manipulation; }
.ks-art:active { transform: scale(.97); }
.ks-art.in { box-shadow: inset 0 0 0 2.5px var(--suite-gold), 0 4px 14px rgba(154,115,51,.18); }
.ks-art-n { font-weight: 700; font-size: 1rem; line-height: 1.2; color: var(--ink); } .ks-art small { color: var(--muted); font-size: .76rem; }
.ks-art-p { margin-top: auto; padding-top: 8px; font-weight: 700; font-size: 1.05rem; font-variant-numeric: tabular-nums; display: grid; } .ks-art-p em { font-style: normal; font-weight: 500; font-size: .72rem; color: var(--muted); }
.ks-art-q { position: absolute; top: 8px; right: 8px; min-width: 26px; height: 26px; padding: 0 7px; border-radius: 13px; background: var(--suite-gold); color: #141414; font-weight: 800; font-size: .86rem; display: grid; place-items: center; } .ks-art-q:empty { display: none; }
.ks-art-s { position: absolute; bottom: 10px; right: 10px; font-size: .68rem; font-weight: 700; color: var(--muted); } .ks-art-s.low { color: #B7791F; } .ks-art-s.out { color: var(--danger); }
.ks-empty { grid-column: 1 / -1; background: #fff; border-radius: 16px; padding: 28px; text-align: center; } .ks-empty p { color: var(--muted); margin: 6px 0 0; }
.ks-cart { display: grid; grid-template-rows: minmax(0, 1fr) auto auto auto auto; background: #fff; border-left: 1px solid var(--line); min-height: 0; padding-bottom: env(safe-area-inset-bottom); }
.ks-lines { overflow-y: auto; padding: 10px 12px; }
.ks-hint { color: var(--muted); text-align: center; margin: 40px 10px; }
.ks-line { display: grid; grid-template-columns: 36px 34px minmax(0, 1fr) auto 36px; gap: 6px; align-items: center; padding: 6px 0; border-bottom: 1px solid var(--line); font-size: .95rem; }
.ks-line button { width: 36px; height: 36px; border-radius: 10px; border: 0; background: var(--paper); font-size: 1.2rem; font-weight: 700; cursor: pointer; color: var(--ink); }
.ks-l-q { font-weight: 700; color: var(--suite-gold-dark); } .ks-l-n { display: grid; line-height: 1.2; } .ks-l-n small { color: var(--muted); font-size: .74rem; }
.ks-line b { font-variant-numeric: tabular-nums; } .ks-line-dep { color: #1B6E46; }
.ks-dep { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; padding: 8px 12px; border-top: 1px solid var(--line); } .ks-dep:empty { display: none; }
.ks-dep span { font-size: .74rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); margin-right: 4px; }
.ks-dep button { padding: 8px 12px; border-radius: 10px; border: 1px dashed #8FBFA4; background: #F1F8F4; color: #1B6E46; font: 700 .86rem var(--font); cursor: pointer; }
.ks-total { display: flex; align-items: baseline; justify-content: space-between; padding: 12px 16px; border-top: 1px solid var(--line); }
.ks-total span { font-weight: 600; color: var(--muted); } .ks-total b { font-size: 2rem; font-variant-numeric: tabular-nums; letter-spacing: -.01em; } .ks-total b.neg { color: #1B6E46; }
.ks-pay { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 8px; padding: 0 12px 10px; }
.ks-p { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 64px; border-radius: 14px; border: 0; font: 700 1.05rem var(--font); cursor: pointer; touch-action: manipulation; }
.ks-p .icon { width: 20px; height: 20px; }
.ks-p-cash { background: var(--suite-grad); color: #141414; } .ks-p-card { background: var(--suite-ink); color: #fff; } .ks-p-free { background: var(--paper); color: var(--ink-2); border: 1px solid var(--line-2); }
.ks-p:disabled { opacity: .35; cursor: default; }
.ks-foot { display: flex; align-items: center; gap: 14px; padding: 0 14px 12px; font-size: .84rem; }
.ks-lnk { background: none; border: 0; padding: 4px 0; color: var(--muted); font: 600 .84rem var(--font); cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.ks-bonchk { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; color: var(--muted); }
.ks-modal { position: fixed; inset: 0; z-index: 50; display: grid; place-items: center; padding: 16px; background: rgba(20,22,25,.55); backdrop-filter: blur(3px); } .ks-modal[hidden] { display: none; }
.ks-mbox { width: min(460px, 100%); max-height: 92vh; overflow-y: auto; background: #fff; border-radius: 22px; padding: 22px; box-shadow: 0 30px 80px rgba(0,0,0,.3); }
.ks-mbox h2 { margin: 0 0 4px; font-size: 1.35rem; } .ks-sub { color: var(--muted); margin: 0 0 14px; font-size: .9rem; }
.ks-quick { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 8px; margin: 12px 0; }
.ks-quick button { height: 56px; border-radius: 12px; border: 1px solid var(--line-2); background: var(--paper); font: 700 1rem var(--font); cursor: pointer; color: var(--ink); }
.ks-quick button:first-child, .ks-quick button.on { background: var(--suite-ink); color: #fff; border-color: transparent; }
.ks-given { display: grid; gap: 4px; font-size: .8rem; font-weight: 600; } .ks-given input { font-size: 1.3rem; height: 52px; }
.ks-change { margin: 14px 0 4px; font-size: 1.05rem; } .ks-change b { font-size: 1.6rem; } .ks-change .bad { color: var(--danger); font-weight: 700; }
.ks-mact { display: flex; gap: 8px; margin-top: 16px; } .ks-mact > * { flex: 1; }
.ks-mbtn { height: 52px; padding: 0 14px; border-radius: 12px; border: 1px solid var(--line-2); background: #fff; font: 700 .95rem var(--font); cursor: pointer; color: var(--ink); }
.ks-mbtn-p { background: var(--suite-ink); color: #fff; border-color: transparent; } .ks-mbtn-d { color: var(--danger); border-color: #F2C4C4; }
.ks-done { text-align: center; padding: 10px 0; } .ks-done p { margin: 8px 0 0; color: var(--muted); font-weight: 600; text-transform: uppercase; letter-spacing: .06em; font-size: .8rem; }
.ks-done-ic { width: 64px; height: 64px; margin: 0 auto; border-radius: 50%; display: grid; place-items: center; background: #E6F4EC; color: #1B6E46; font-size: 2rem; font-weight: 800; }
.ks-big { display: block; font-size: 3rem; line-height: 1.1; font-variant-numeric: tabular-nums; }
.ks-hist { display: grid; gap: 8px; } .ks-hi { display: flex; gap: 10px; align-items: center; justify-content: space-between; padding: 10px 12px; border-radius: 12px; background: var(--paper); font-size: .88rem; } .ks-hi small { color: var(--muted); }
.ks-hi.off { opacity: .55; } .ks-hi-a { display: flex; gap: 6px; } .ks-hi-a .ks-mbtn { height: 38px; }
.ks-flash { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 20px); opacity: 0; padding: 10px 18px; border-radius: 12px; background: var(--suite-ink); color: #fff; font-weight: 600; transition: .2s; pointer-events: none; z-index: 60; }
.ks-flash.show { opacity: 1; transform: translate(-50%, 0); } .ks-flash.bad { background: var(--danger); }
.ks-receipt { display: none; }
@media (max-width: 760px) {
  body.ks-body { overflow: auto; height: auto; } .ks { height: auto; min-height: 100dvh; }
  .ks-main { grid-template-columns: 1fr; } .ks-sum, .ks-tbtn span { display: none; }
  .ks-grid { grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); grid-auto-rows: minmax(96px, auto); overflow: visible; }
  .ks-cart { position: sticky; bottom: 0; border-left: 0; border-top: 1px solid var(--line); box-shadow: 0 -10px 30px rgba(0,0,0,.08); grid-template-rows: auto; } .ks-lines { max-height: 26vh; }
}
@media print {
  body.ks-printing * { visibility: hidden !important; }
  body.ks-printing .ks-receipt, body.ks-printing .ks-receipt * { visibility: visible !important; }
  body.ks-printing .ks-receipt { display: block !important; position: absolute; left: 0; top: 0; width: 72mm; font: 11pt/1.35 var(--mono); color: #000; }
  .ksr-club { display: block; font-size: 13pt; text-align: center; } .ksr > div:nth-child(2), .ksr-meta, .ksr-f { text-align: center; } .ksr-meta { font-size: 9pt; }
  .ksr hr { border: 0; border-top: 1px dashed #000; margin: 6px 0; } .ksr-l { display: flex; justify-content: space-between; gap: 8px; } .ksr-s { font-size: 9pt; } .ksr-t { font-weight: 700; font-size: 13pt; }
  @page { margin: 4mm; }
}
#lp-saved { align-self: center; }
.ks-art:focus { outline: none; } .ks-art:focus-visible { outline: 2px solid var(--suite-gold); outline-offset: 2px; } .ks-art::selection, .ks-art *::selection { background: transparent; }

/* ---------- 3.1: Finance Suite ---------- */
.fi-note { display: flex; gap: 12px; align-items: flex-start; padding: 12px 16px; margin: 0 0 16px; border-radius: 14px; background: var(--paper); border: 1px solid var(--line); color: var(--ink); text-decoration: none; font-size: .9rem; }
.fi-note > .icon { flex: none; width: 20px; height: 20px; margin-top: 1px; color: var(--suite-gold-dark); }
.fi-note-warn { background: #FFF8EC; border-color: #F2DDB0; } .fi-note-warn > .icon { color: #B7791F; }
.fi-note-err { background: #FDF0F0; border-color: #F2C9C9; } .fi-note-err > .icon { color: var(--danger); }
.fi-note-ok { background: #EEF8F2; border-color: #CBE9D6; } .fi-note-ok > .icon { color: var(--success); }
a.fi-note:hover { border-color: var(--suite-gold); }
.fi-ul { margin: 4px 0 0; padding-left: 18px; }
.fi-r3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } .fi-r4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.fi-sel-sm { width: auto; min-width: 0; padding: 7px 30px 7px 12px; font-size: .85rem; }
.fi-tag { display: inline-block; padding: 1px 7px; border-radius: 6px; background: var(--paper); border: 1px solid var(--line); font-size: .68rem; font-weight: 700; letter-spacing: .02em; color: var(--ink-2); vertical-align: 1px; }
.fi-over { color: var(--danger); font-weight: 700; }
.fi-ok { color: var(--success); font-weight: 600; }
.fi-hash { font-family: var(--mono); font-size: .72rem; color: var(--muted); background: var(--paper); padding: 1px 5px; border-radius: 4px; }
.fi-crumb { margin: 0 0 4px; font-size: .8rem; } .fi-crumb a { color: var(--muted); text-decoration: none; } .fi-crumb a:hover { color: var(--ink); }
.page-head h1 .mb-chip { vertical-align: 6px; font-size: .78rem; }
.fi-h2 { font-size: 1.05rem; margin: 26px 0 10px; }
/* Kennzahlen & Übersicht */
.fi-kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 12px; margin-bottom: 18px; }
.fi-kpi { display: grid; gap: 2px; padding: 16px 18px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); color: var(--ink); text-decoration: none; transition: border-color .15s, transform .15s; }
a.fi-kpi:hover { border-color: var(--suite-gold); transform: translateY(-1px); }
.fi-kpi span { font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.fi-kpi b { font-size: 1.5rem; font-variant-numeric: tabular-nums; letter-spacing: -.01em; } .fi-kpi small { color: var(--muted); font-size: .8rem; }
.fi-kpi-dark { background: var(--suite-ink); border-color: transparent; color: #fff; box-shadow: inset 0 0 0 1.5px rgba(242,221,166,.35); } .fi-kpi-dark span { color: #F2DDA6; } .fi-kpi-dark small { color: rgba(255,255,255,.72); }
.fi-dash { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 16px; align-items: start; }
.fi-panel { padding: 18px 20px; } .fi-ph { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 10px; } .fi-ph h2 { margin: 0; font-size: 1.05rem; } .fi-ph form { margin: 0; }
.fi-empty-sm { display: flex; align-items: center; gap: 8px; padding: 18px; border-radius: 12px; background: var(--paper); color: var(--muted); font-size: .9rem; } .fi-empty-sm .icon { color: var(--success); }
.fi-todo { list-style: none; margin: 0; padding: 0; }
.fi-todo a { display: grid; grid-template-columns: 12px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 10px 6px; border-bottom: 1px solid var(--line); color: var(--ink); text-decoration: none; }
.fi-todo li:last-child a { border-bottom: 0; } .fi-todo a:hover { background: var(--paper); }
.fi-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--c); box-shadow: 0 0 0 3px color-mix(in srgb, var(--c) 18%, #fff); }
.fi-todo-t { display: grid; line-height: 1.3; min-width: 0; } .fi-todo-t b { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-size: .92rem; } .fi-todo-t small { color: var(--muted); }
.fi-todo-a { font-weight: 700; font-variant-numeric: tabular-nums; font-size: .9rem; }
.fi-chart { display: grid; grid-template-columns: repeat(12, 1fr); gap: 6px; height: 150px; align-items: end; padding: 6px 0 0; }
.fi-bar { display: grid; grid-template-rows: 1fr auto; height: 100%; gap: 4px; } .fi-bar span { text-align: center; font-size: .68rem; color: var(--muted); font-weight: 600; }
.fi-bars { display: flex; gap: 2px; align-items: flex-end; justify-content: center; height: 100%; border-bottom: 1px solid var(--line); }
.fi-bars i { width: 42%; max-width: 14px; min-height: 1px; border-radius: 3px 3px 0 0; }
.fi-bars .in, .fi-legend .in { background: var(--suite-gold); } .fi-bars .out, .fi-legend .out { background: var(--suite-ink); }
.fi-legend { display: flex; gap: 16px; margin: 8px 0 12px; font-size: .78rem; color: var(--muted); } .fi-legend i { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 6px; vertical-align: -1px; }
.fi-sph td.r, .fi-sph th.r, .fi-table .r, .fi-bank .r { text-align: right; }
/* Filter & Tabellen */
.fi-filter { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-bottom: 14px; }
.fi-filter select, .fi-filter input[type=search], .fi-filter input[type=date] { width: auto; padding: 8px 12px; font-size: .88rem; }
.fi-filter input[type=search] { flex: 1; min-width: 180px; max-width: 320px; margin-left: auto; }
.fi-seg { display: inline-flex; flex-wrap: wrap; gap: 2px; padding: 3px; background: var(--paper); border: 1px solid var(--line); border-radius: 12px; }
.fi-seg a, .fi-seg label span { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 9px; font-size: .84rem; font-weight: 600; color: var(--ink-2); text-decoration: none; cursor: pointer; }
.fi-seg a i { font-style: normal; font-size: .72rem; color: var(--muted); font-weight: 700; }
.fi-seg a.on, .fi-seg input:checked + span { background: #fff; color: var(--ink); box-shadow: 0 1px 3px rgba(0,0,0,.08); }
.fi-seg a.warn i { color: var(--danger); }
.fi-seg-in label { margin: 0; } .fi-seg-in input { position: absolute; opacity: 0; pointer-events: none; }
.fi-table { margin: 0; } .fi-table .table td { vertical-align: top; }
.fi-row { cursor: pointer; } .fi-row:hover td { background: var(--yellow-tint); } .fi-row.sel td { background: var(--yellow-soft); }
.fi-table tfoot td { border-top: 1px solid var(--line); background: var(--paper); }
.fi-pager { display: flex; gap: 4px; flex-wrap: wrap; margin: 12px 0; } .fi-pager a { padding: 5px 10px; border-radius: 8px; border: 1px solid var(--line); text-decoration: none; color: var(--ink-2); font-size: .82rem; } .fi-pager a.on { background: var(--suite-ink); color: #fff; border-color: transparent; }
/* Editor */
.fi-edit { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 16px; align-items: start; }
.fi-edit-main { display: grid; gap: 16px; } .fi-edit-side { display: grid; gap: 14px; position: sticky; top: 84px; }
.fi-sec { padding: 20px 22px; } .fi-sec h3 { display: flex; align-items: center; gap: 8px; margin: 0 0 10px; font-size: .95rem; } .fi-sec h3 .icon { width: 17px; height: 17px; color: var(--suite-gold-dark); }
.fi-sec-h { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 14px; flex-wrap: wrap; } .fi-sec-h h2 { margin: 0; font-size: 1.05rem; }
.fi-edit-side label { display: grid; gap: 4px; font-size: .82rem; font-weight: 600; margin: 0 0 10px; }
.fi-more > summary { cursor: pointer; font-size: .84rem; font-weight: 600; color: var(--suite-gold-dark); margin: 2px 0 8px; }
.fi-toggle { display: inline-flex; align-items: center; gap: 8px; font-size: .84rem; font-weight: 600; margin: 0; }
.fi-lines { display: grid; gap: 6px; }
.fi-lh, .fi-line { display: grid; grid-template-columns: minmax(0, 1fr) 72px 104px 108px 150px 96px 32px; gap: 8px; align-items: start; }
.fi-lh { font-size: .7rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--muted); padding: 0 2px; }
.fi-line { padding: 8px; border-radius: 12px; background: var(--paper); border: 1px solid transparent; }
.fi-line:focus-within { border-color: var(--suite-gold); background: #fff; }
.fi-line input, .fi-line select, .fi-line textarea { padding: 8px 10px; font-size: .88rem; }
.fi-line [data-fi-qty], .fi-line [data-fi-price] { text-align: right; }
.fi-l-t { display: grid; gap: 4px; } .fi-l-t textarea { resize: none; min-height: 34px; font-size: .82rem; color: var(--ink-2); }
.fi-l-amt { padding-top: 9px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.fi-l-del { display: grid; place-items: center; width: 32px; height: 34px; border: 0; background: transparent; border-radius: 8px; color: var(--muted); cursor: pointer; } .fi-l-del:hover { background: #fff; color: var(--danger); } .fi-l-del .icon { width: 16px; height: 16px; }
.fi-l-acts { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; margin: 12px 0 4px; }
.fi-totals { display: grid; gap: 4px; justify-content: end; margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--line); }
.fi-totals > div { display: grid; grid-template-columns: minmax(200px, auto) 130px; gap: 16px; font-size: .9rem; } .fi-totals b { text-align: right; font-variant-numeric: tabular-nums; }
.fi-tot-g { margin-top: 6px; padding: 10px 14px; border-radius: 12px; background: var(--suite-ink); color: #fff; font-size: 1rem !important; } .fi-tot-g b { color: #F2DDA6; }
.fi-unit { display: flex; align-items: center; gap: 8px; } .fi-unit input { flex: 1; } .fi-unit span { font-size: .84rem; color: var(--muted); font-weight: 500; }
.fi-side-acts { display: grid; gap: 8px; padding: 18px; } .fi-side-acts .btn { justify-content: center; } .fi-side-acts .checkbox { justify-content: center; }
.fi-sum-big { display: grid; gap: 2px; margin-bottom: 8px; } .fi-sum-big span { font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); } .fi-sum-big b { font-size: 1.8rem; font-variant-numeric: tabular-nums; letter-spacing: -.01em; }
.fi-modal { position: fixed; inset: 0; z-index: 80; display: grid; place-items: center; padding: 16px; background: rgba(20,22,25,.5); backdrop-filter: blur(3px); } .fi-modal[hidden] { display: none; }
.fi-mbox { width: min(760px, 100%); max-height: 90vh; overflow: auto; padding: 22px; }
.fi-bel-list { display: grid; gap: 4px; max-height: 46vh; overflow: auto; margin: 12px 0; }
.fi-bel-r { display: grid; grid-template-columns: 22px minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 8px 10px; border-radius: 10px; background: var(--paper); font-size: .88rem; margin: 0; cursor: pointer; } .fi-bel-r small { display: block; color: var(--muted); } .fi-bel-r em { font-style: normal; font-weight: 700; font-size: .82rem; }
/* Ansicht */
.fi-view { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 16px; align-items: start; }
.fi-view-doc { padding: 0; overflow: hidden; min-height: 70vh; display: grid; grid-template-rows: auto 1fr; }
.fi-view-doc iframe { width: 100%; height: 100%; min-height: 78vh; border: 0; background: #E9E7E1; }
.fi-view-side { display: grid; gap: 14px; }
.fi-dl { display: grid; grid-template-columns: auto 1fr; gap: 6px 14px; margin: 0; font-size: .88rem; } .fi-dl dt { color: var(--muted); } .fi-dl dd { margin: 0; text-align: right; }
.fi-dunform { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--line); }
.fi-mini { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 0 4px; margin: 0; }
.fi-danger > summary { cursor: pointer; display: flex; align-items: center; gap: 8px; font-weight: 600; color: var(--danger); font-size: .9rem; } .fi-danger > summary .icon { width: 16px; height: 16px; } .fi-danger[open] > summary { margin-bottom: 10px; }
.fi-log { list-style: none; margin: 0; padding: 0 0 0 14px; border-left: 2px solid var(--line); display: grid; gap: 10px; font-size: .84rem; }
.fi-log li { position: relative; display: grid; } .fi-log li::before { content: ""; position: absolute; left: -20px; top: 5px; width: 10px; height: 10px; border-radius: 50%; background: #fff; border: 2px solid var(--suite-gold); }
.fi-log span { color: var(--muted); font-size: .76rem; } .fi-log small { color: var(--ink-2); }
.fi-tabs { display: flex; gap: 2px; padding: 8px 10px 0; border-bottom: 1px solid var(--line); background: var(--paper); }
.fi-tabs button { padding: 8px 14px; border: 0; background: transparent; font: 600 .85rem var(--font); color: var(--muted); border-radius: 10px 10px 0 0; cursor: pointer; } .fi-tabs button.on { background: #fff; color: var(--ink); box-shadow: 0 -1px 0 var(--line) inset; }
.fi-vis { padding: 22px 26px; overflow: auto; }
.fi-vis-head { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; padding-bottom: 14px; margin-bottom: 14px; border-bottom: 1px solid var(--line); }
.fi-vis-head > div { display: grid; gap: 2px; } .fi-vis-head small { font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); } .fi-vis-head b { font-size: 1.02rem; }
.fi-vis-lines td.r, .fi-vis-lines th.r { text-align: right; } .fi-vis-lines tfoot td { border-top: 1px solid var(--line); padding-top: 8px; padding-bottom: 6px; border-bottom: 0; }
.fi-vis-notes { margin-top: 12px; padding: 10px 14px; border-radius: 10px; background: var(--paper); }
.fi-img { display: grid; place-items: center; padding: 16px; background: #E9E7E1; min-height: 70vh; } .fi-img img { max-width: 100%; max-height: 80vh; box-shadow: 0 10px 30px rgba(0,0,0,.15); border-radius: 6px; }
.fi-fs { border: 0; padding: 0; margin: 0; display: grid; gap: 10px; min-width: 0; } .fi-fs[disabled] input, .fi-fs[disabled] select { background: var(--paper); color: var(--ink-2); }
.fi-view-side label { display: grid; gap: 4px; font-size: .82rem; font-weight: 600; margin: 0; }
.fi-steps { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 6px; }
/* Upload */
.fi-drop { margin-bottom: 16px; } .fi-drop label { display: grid; justify-items: center; gap: 4px; padding: 26px 20px; border: 2px dashed var(--line-2); border-radius: var(--radius); background: var(--paper); text-align: center; cursor: pointer; transition: .15s; margin: 0; }
.fi-drop label:hover, .fi-drop.over label { border-color: var(--suite-gold); background: var(--yellow-tint); }
.fi-drop.busy label { opacity: .6; pointer-events: none; } .fi-drop small { color: var(--muted); max-width: 640px; }
.fi-drop-ic { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; background: var(--suite-ink); color: #F2DDA6; margin-bottom: 4px; } .fi-drop-ic .icon { width: 22px; height: 22px; }
.fi-fmt { display: inline-block; padding: 1px 6px; border-radius: 5px; font-size: .64rem; font-weight: 800; letter-spacing: .03em; background: #EEF3FB; color: #2F5FA8; vertical-align: 1px; }
.fi-fmt-zugferd, .fi-fmt-xrechnung, .fi-fmt-xml { background: #E6F4EC; color: #1B6E46; } .fi-fmt-image { background: #FFF3E3; color: #9A5B00; }
.fi-warn-dot { display: inline-grid; place-items: center; width: 16px; height: 16px; border-radius: 50%; background: #F5B041; color: #fff; font-size: .66rem; font-weight: 800; vertical-align: 1px; }
.fi-paybar { position: sticky; }
/* Kontakte, Einstellungen, Ablage */
.fi-split { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; align-items: start; } .fi-split.has-ed { grid-template-columns: minmax(0, 1fr) 460px; }
.fi-ed { position: sticky; top: 84px; max-height: calc(100vh - 100px); overflow: auto; } .fi-ed label { margin: 0; }
.fi-mini-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; font-size: .86rem; }
.fi-mini-list li { display: grid; grid-template-columns: auto auto 1fr auto; gap: 10px; align-items: center; padding: 6px 8px; border-radius: 8px; background: var(--paper); } .fi-mini-list li .mb-chip { justify-self: start; }
.fi-items input, .fi-items select { padding: 7px 9px; font-size: .86rem; } .fi-items td { padding: 6px 8px; } .fi-items .r { text-align: right; }
.fi-set-grid { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 20px; align-items: start; }
.fi-set-nav { position: sticky; top: 84px; display: grid; padding: 10px; } .fi-set-nav a { padding: 8px 12px; border-radius: 9px; color: var(--ink-2); text-decoration: none; font-size: .88rem; font-weight: 600; } .fi-set-nav a:hover { background: var(--paper); color: var(--ink); }
.fi-choice { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.fi-opt { display: flex; gap: 10px; padding: 14px; border: 1.5px solid var(--line); border-radius: 14px; cursor: pointer; margin: 0; } .fi-opt:has(input:checked) { border-color: var(--suite-gold); background: var(--yellow-tint); }
.fi-opt span { display: grid; gap: 4px; } .fi-opt small { color: var(--muted); font-weight: 400; line-height: 1.4; }
.fi-cc input, .fi-cc select, .fi-acc input { padding: 7px 9px; font-size: .86rem; } .fi-cc td, .fi-acc td { padding: 6px 8px; } .fi-off td input { opacity: .6; }
.fi-acc th { font-size: .66rem; white-space: nowrap; } .fi-acc input { width: 80px; }
.fi-inline-up { margin: 0; } .fi-inline-up label { cursor: pointer; margin: 0; }
.fi-assign { display: flex; gap: 6px; margin: 0 0 4px; } .fi-assign select { padding: 6px 10px; font-size: .84rem; max-width: 340px; }
.fi-filter-wrap select { max-width: 200px; }
.fi-arch-sum { display: flex; gap: 18px; flex-wrap: wrap; font-size: .86rem; color: var(--muted); margin: -4px 0 12px; } .fi-arch-sum b { color: var(--ink); }
.fi-file { display: inline-block; margin-right: 6px; padding: 2px 8px; border-radius: 6px; border: 1px solid var(--line); font-size: .74rem; font-weight: 700; text-decoration: none; color: var(--ink-2); } .fi-file:hover { border-color: var(--suite-gold); }
.fi-period label { display: inline-flex; align-items: center; gap: 6px; margin: 0; }
.fi-exports { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 12px; margin-bottom: 8px; }
.fi-exp { display: grid; gap: 6px; padding: 18px; color: var(--ink); text-decoration: none; transition: .15s; } .fi-exp:hover { border-color: var(--suite-gold); transform: translateY(-1px); }
.fi-exp .icon { width: 26px; height: 26px; padding: 6px; border-radius: 9px; background: var(--suite-ink); color: #F2DDA6; box-sizing: content-box; } .fi-exp span { font-size: .84rem; color: var(--muted); }
@media (max-width: 1100px) { .fi-edit, .fi-view, .fi-dash, .fi-split.has-ed, .fi-set-grid { grid-template-columns: 1fr; } .fi-edit-side, .fi-ed, .fi-set-nav { position: static; max-height: none; } .fi-view-doc iframe { min-height: 60vh; } }
@media (max-width: 760px) {
  .fi-r3, .fi-r4, .fi-choice, .fi-vis-head { grid-template-columns: 1fr; }
  .fi-lh { display: none; } .fi-line { grid-template-columns: 1fr 1fr 32px; } .fi-l-t { grid-column: 1 / -1; } .fi-line [data-fi-tax] { grid-column: span 2; } .fi-l-amt { text-align: right; }
  .fi-filter input[type=search] { margin-left: 0; max-width: none; }
}
.fi-view-side label.checkbox, .fi-edit-side label.checkbox, .fi-ed label.checkbox { display: flex; align-items: center; gap: 8px; font-weight: 500; }
@media (max-width: 760px) { .fi-line { grid-template-columns: 64px minmax(0, 1fr) minmax(0, 1fr) 32px; } .fi-line [data-fi-tax] { grid-column: 1 / 3; } .fi-l-amt { grid-column: 3 / 5; } }
/* 3.1.1: Spiele ohne Ergebnis (F-/G-Jugend, Fair Play) */
.res-game.st-played { border-left-color: var(--suite-gold); }
.res-game.st-played .res-in, .res-game.st-played .res-colon { opacity: .35; }
.res-game.st-played .res-goals-wrap { display: none; }
.res-flags { display: flex; flex-wrap: wrap; gap: 6px 16px; margin-left: auto; }
.res-played { margin: 0; } .res-played span { white-space: normal; }
.res-game.res-fp .res-played { padding: 4px 10px; border-radius: 999px; background: var(--yellow-soft); }

/* ---------- 3.2: Mannschaftsseite – Verwaltung ---------- */
.tb-tabs { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; margin: 0 0 22px; padding: 4px; background: var(--paper); border: 1px solid var(--line); border-radius: 14px; }
.tb-tabs::-webkit-scrollbar { display: none; }
.tb-tabs a { flex: none; display: inline-flex; align-items: center; gap: 7px; padding: 9px 14px; border-radius: 10px; text-decoration: none; color: var(--muted); font-weight: 600; font-size: .86rem; position: relative; }
.tb-tabs a .icon { width: 17px; height: 17px; }
.tb-tabs a:hover { color: var(--ink); background: #fff; }
.tb-tabs a.on { background: #fff; color: var(--ink); box-shadow: 0 1px 3px rgba(0, 0, 0, .08); }
.tb-tabs .nav-badge { position: static; margin-left: 2px; }
.tb-a-teams { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; margin-bottom: 22px; }
.tb-a-team { padding: 20px; display: flex; flex-direction: column; gap: 12px; position: relative; overflow: hidden; }
.tb-a-team::before { content: ""; position: absolute; inset: 0 0 auto; height: 4px; background: var(--gc); opacity: .35; }
.tb-a-team.on::before { opacity: 1; }
.tb-a-team-h { display: flex; align-items: center; gap: 10px; }
.tb-a-team-h h3 { flex: 1; font-size: 1.1rem; margin: 0; }
.tb-a-dot { width: 12px; height: 12px; border-radius: 50%; background: var(--gc); }
.tb-a-nums { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; text-align: center; }
.tb-a-nums b { display: block; font-size: 1.5rem; line-height: 1.1; }
.tb-a-nums span { font-size: .74rem; color: var(--muted); }
.tb-a-alert, .tb-a-wa { margin: 0; font-size: .84rem; font-weight: 600; padding: 8px 12px; border-radius: 10px; display: flex; align-items: center; gap: 6px; }
.tb-a-alert { background: var(--yellow-soft); } .tb-a-alert .icon { width: 16px; height: 16px; }
.tb-a-wa { background: #E8F7EE; color: #17663A; }
.tb-a-how ol { padding-left: 20px; line-height: 1.7; margin: 8px 0; }
.tb-a-wa-card h3 { margin: 0; }
.tb-a-wa-text { white-space: pre-wrap; font: .88rem/1.55 inherit; font-family: inherit; background: #E7F8EE; border: 1px solid #C9EBD6; border-radius: 4px 14px 14px 14px; padding: 12px 14px; margin: 12px 0; max-height: 260px; overflow: auto; position: relative; }
.btn-wa { background: #25D366; color: #fff; border-color: #25D366; }
.btn-wa:hover { background: #1EBE5A; color: #fff; }
.tb-a-push input { flex: 1; min-width: 0; }
.tb-a-push { display: flex; gap: 8px; }
.tb-a-next { display: flex; flex-direction: column; gap: 6px; text-decoration: none; color: inherit; transition: box-shadow .2s, transform .2s; }
.tb-a-next:hover { box-shadow: var(--shadow-hover); transform: translateY(-1px); }
.tb-a-next > b { font-size: 1.15rem; }
.tb-a-bar { display: flex; height: 8px; border-radius: 99px; overflow: hidden; background: var(--paper); gap: 2px; }
.tb-a-bar i { display: block; min-width: 0; } .tb-a-bar .y { background: #1F9D57; } .tb-a-bar .n { background: #D6403A; } .tb-a-bar .o { background: #E3E1DA; }
b.ok { color: #1F9D57; } b.bad { color: #D6403A; }
.tb-a-link { display: block; font-size: .78rem; background: var(--paper); border: 1px solid var(--line); border-radius: 10px; padding: 8px 10px; word-break: break-all; margin: 8px 0 10px; }
.tb-a-bar-h { margin-bottom: 14px; gap: 16px; }
.tb-a-bar-h p { margin: 0; }
.tb-a-game { margin-bottom: 12px; overflow: hidden; }
.tb-a-game > summary { list-style: none; display: flex; align-items: center; gap: 14px; padding: 14px 18px; cursor: pointer; }
.tb-a-game > summary::-webkit-details-marker { display: none; }
.tb-a-game[open] > summary { border-bottom: 1px solid var(--line); }
.tb-a-game.off .tb-a-gt b { text-decoration: line-through; opacity: .6; }
.tb-a-gd { flex: none; width: 46px; height: 50px; border-radius: 12px; background: var(--paper); border: 1px solid var(--line); display: flex; flex-direction: column; align-items: center; justify-content: center; line-height: 1.1; }
.tb-a-gd b { font-size: 1.1rem; } .tb-a-gd small { font-size: .68rem; font-weight: 700; text-transform: uppercase; color: var(--muted); }
.tb-a-gt { flex: 1; display: flex; flex-direction: column; min-width: 0; }
.tb-a-gt small { font-size: .8rem; }
.tb-a-gs { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; text-align: right; }
.tb-a-game-f, .tb-a-tr { padding: 18px; display: grid; gap: 14px; }
.tb-a-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.tb-a-squad { border: 0; padding: 0; margin: 0; }
.tb-a-squad legend { font-weight: 600; margin-bottom: 8px; display: flex; gap: 6px; align-items: center; flex-wrap: wrap; }
.tb-a-sq-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 6px; }
.tb-a-sq-grid.sm { grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); margin-top: 8px; }
.tb-a-sq { display: flex; align-items: center; gap: 8px; padding: 8px 10px; border: 1px solid var(--line); border-radius: 10px; cursor: pointer; font-size: .86rem; background: #fff; transition: border-color .15s, background .15s; flex-wrap: wrap; }
.tb-a-sq:has(input:checked) { border-color: var(--ink); background: var(--yellow-tint); }
.tb-a-sq input { width: 17px; height: 17px; accent-color: var(--ink); margin: 0; }
.tb-a-sq span { flex: 1; min-width: 0; }
.tb-a-sq span i { font-style: normal; font-weight: 700; color: var(--muted); margin-right: 5px; font-size: .78rem; }
.tb-a-sq.no { border-style: dashed; }
.tb-a-r { font-size: .72rem; font-weight: 700; padding: 3px 8px; border-radius: 99px; white-space: nowrap; }
.tb-a-r.yes { background: #E5F5EC; color: #17663A; } .tb-a-r.no { background: #FCE9E8; color: #A52A25; } .tb-a-r.open { background: var(--paper); color: var(--muted); } .tb-a-r.maybe { background: #FFF4DC; color: #8A5A00; }
.tb-a-unpub { padding: 0 18px 14px; }
.btn-link { background: none; border: 0; padding: 4px 6px; color: var(--muted); text-decoration: underline; cursor: pointer; font: inherit; font-size: .8rem; }
.tb-a-who { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 4px 18px; }
.tb-a-who li { display: flex; align-items: center; gap: 8px; padding: 6px 0; border-bottom: 1px solid var(--line); font-size: .88rem; }
.tb-a-who li > span:first-child { flex: 1; min-width: 0; }
.tb-a-quick { display: flex; gap: 2px; }
.tb-a-quick button { border: 1px solid var(--line); background: #fff; border-radius: 7px; width: 26px; height: 26px; font-size: .74rem; cursor: pointer; padding: 0; color: var(--muted); }
.tb-a-quick button:hover { border-color: var(--ink); color: var(--ink); }
.tb-a-post.pin { border-color: color-mix(in srgb, var(--yellow) 60%, white); box-shadow: 0 0 0 1px color-mix(in srgb, var(--yellow) 40%, transparent), var(--shadow); }
.tb-a-post h3 { margin: 8px 0 6px; }
.tb-a-acts { display: flex; gap: 2px; }
.tb-a-reads { margin-top: 10px; font-size: .88rem; }
.tb-a-reads summary { cursor: pointer; }
.tb-a-reads p { margin: 6px 0 0; }
.tb-a-cms { margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--line); display: grid; gap: 6px; }
.tb-a-cm { font-size: .88rem; display: flex; gap: 6px; align-items: baseline; flex-wrap: wrap; }
.tb-a-cm form { margin-left: auto; }
.tb-a-cms .inline-form { display: flex; gap: 8px; } .tb-a-cms .inline-form input { flex: 1; }
.tb-a-form h4 { margin: 0; }
.tb-a-form hr { border: 0; border-top: 1px solid var(--line); margin: 6px 0; width: 100%; }
.tb-a-targets { border: 0; padding: 0; margin: 0; display: grid; gap: 8px; }
.tb-a-targets legend { font-weight: 600; font-size: .86rem; margin-bottom: 6px; }
.tb-a-seg { display: grid; grid-template-columns: repeat(auto-fit, minmax(90px, 1fr)); gap: 4px; background: var(--paper); border: 1px solid var(--line); border-radius: 12px; padding: 3px; }
.tb-a-seg input { position: absolute; opacity: 0; pointer-events: none; }
.tb-a-seg span { display: block; text-align: center; padding: 7px 6px; border-radius: 9px; font-size: .8rem; font-weight: 600; cursor: pointer; color: var(--muted); }
.tb-a-seg input:checked + span { background: #fff; color: var(--ink); box-shadow: 0 1px 3px rgba(0, 0, 0, .1); }
.tb-a-seg input:focus-visible + span { outline: 2px solid var(--ink); }
.tb-a-pick { display: grid; gap: 4px; max-height: 220px; overflow: auto; padding: 4px 2px; }
.tb-a-res { display: grid; gap: 8px; margin: 10px 0; }
.tb-a-res > div { display: grid; grid-template-columns: 1fr 2fr 40px; gap: 10px; align-items: center; font-size: .9rem; }
.tb-a-res i { display: block; height: 10px; border-radius: 99px; background: var(--paper); position: relative; overflow: hidden; }
.tb-a-res i::after { content: ""; position: absolute; inset: 0 auto 0 0; width: var(--w); background: var(--yellow); border-radius: inherit; }
.tb-a-res b { text-align: right; }
.tb-a-res small { grid-column: 1 / -1; font-size: .78rem; margin-top: -4px; }
.tb-a-pend-row { display: grid; gap: 10px; padding: 14px 0; border-top: 1px solid var(--line); }
.tb-a-pend-row:first-of-type { border-top: 0; }
.tb-a-pend h3 { margin: 0 0 4px; }
.tb-a-menu { position: relative; display: inline-block; }
.tb-a-menu summary { list-style: none; }
.tb-a-menu summary::-webkit-details-marker { display: none; }
.tb-a-menu > div { position: absolute; right: 0; top: calc(100% + 6px); z-index: 20; width: 280px; background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow-hover); padding: 10px; display: grid; gap: 6px; white-space: normal; }
.tb-a-menu code { font-size: .72rem; word-break: break-all; background: var(--paper); padding: 6px 8px; border-radius: 8px; }
.tb-a-menu form { display: flex; flex-wrap: wrap; gap: 6px; }
.btn.danger { color: #B42318; }
.tb-a-tiles { display: grid; gap: 6px; }
.tb-a-tile { display: flex; align-items: center; gap: 10px; padding: 6px 10px; border: 1px solid var(--line); border-radius: 10px; background: var(--paper); }
.tb-a-tile input[type=number] { width: 60px; padding: 6px 8px; }
.md p { margin: 0 0 8px; }
@media (max-width: 900px) { .tb-a-3 { grid-template-columns: 1fr; } .tb-a-gs .chip { display: none; } }

/* ---------- 3.2.1: Belegung auf der Startseite ---------- */
.belw-card { padding: 0; overflow: hidden; }
.belw-days { display: flex; gap: 6px; padding: 14px 16px; border-bottom: 1px solid var(--line); overflow-x: auto; scrollbar-width: none; background: var(--paper); }
.belw-days::-webkit-scrollbar { display: none; }
.belw-days button { flex: none; display: flex; flex-direction: column; align-items: flex-start; gap: 1px; border: 1px solid var(--line); background: #fff; border-radius: 12px; padding: 8px 14px; cursor: pointer; font: inherit; color: var(--ink); transition: background .15s, border-color .15s; }
.belw-days button b { font-size: .86rem; }
.belw-days button small { font-size: .72rem; color: var(--muted); }
.belw-days button[aria-selected="true"] { background: var(--brand-dark, #141414); border-color: var(--brand-dark, #141414); color: var(--on-dark, #fff); }
.belw-days button[aria-selected="true"] small { color: inherit; opacity: .7; }
.belw-scroll { overflow-x: auto; }
.belw-grid { min-width: 760px; padding: 6px 16px 10px; }
.belw-row { display: grid; grid-template-columns: 150px 1fr; align-items: stretch; border-bottom: 1px solid var(--line); }
.belw-row:last-child { border-bottom: 0; }
.belw-scale { border-bottom: 0; }
.belw-scale .belw-track { height: 22px; }
.belw-scale i { position: absolute; top: 4px; transform: translateX(-50%); font-style: normal; font-size: .68rem; font-weight: 600; color: var(--muted); }
.belw-fac { position: sticky; left: 0; z-index: 3; background: #fff; display: flex; flex-direction: column; justify-content: center; gap: 1px; padding: 10px 12px 10px 14px; text-decoration: none; color: var(--ink); border-left: 4px solid var(--fc, transparent); }
.belw-scale .belw-fac { border: 0; }
.belw-fac b { font-size: .88rem; line-height: 1.2; }
.belw-fac small { font-size: .7rem; color: var(--muted); }
.belw-track { position: relative; height: 78px; margin: 8px 0; }
.belw-hr { position: absolute; top: -8px; bottom: -8px; width: 1px; background: var(--line); }
.belw-b { position: absolute; top: calc(var(--l0) / var(--lanes) * 100% + 1px); height: calc(var(--ln) / var(--lanes) * 100% - 2px); z-index: 1; overflow: hidden; display: flex; flex-direction: column; justify-content: center; gap: 0; padding: 2px 7px;
  border-radius: 7px; background: color-mix(in srgb, var(--c) 18%, #fff); border-left: 3px solid var(--c); text-decoration: none; color: var(--ink); min-width: 4px; transition: transform .15s, box-shadow .15s; }
.belw-b:hover { z-index: 2; box-shadow: 0 6px 18px -8px rgba(0, 0, 0, .35); transform: translateY(-1px); }
.belw-b b { font-size: .72rem; line-height: 1.15; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.belw-b small { font-size: .64rem; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.belw-b.t-game { background: #1D1F24; color: #fff; border-left-color: var(--yellow); }
.belw-b.t-game small { color: rgba(255, 255, 255, .65); }
.belw-b.t-block, .belw-b.off { background: repeating-linear-gradient(135deg, #F3F2EE 0 6px, #E7E5DF 6px 12px); border-left-color: #9A9890; color: var(--muted); }
.belw-b.off b { text-decoration: line-through; }
.belw-b.past { opacity: .5; }
.belw-b.live { box-shadow: 0 0 0 2px var(--c); }
.belw-now { position: absolute; top: -8px; bottom: -8px; width: 2px; background: #D6403A; z-index: 2; border-radius: 2px; }
.belw-now::before { content: ""; position: absolute; top: -3px; left: -3px; width: 8px; height: 8px; border-radius: 50%; background: #D6403A; }
.belw-free { position: absolute; inset: 0; display: flex; align-items: center; padding-left: 12px; font-size: .78rem; color: var(--muted); }
.belw-legend { display: flex; flex-wrap: wrap; gap: 8px 18px; align-items: center; padding: 10px 16px 14px; border-top: 1px solid var(--line); font-size: .76rem; color: var(--muted); }
.belw-legend i { display: inline-block; width: 12px; height: 12px; border-radius: 4px; vertical-align: -2px; margin-right: 6px; }
.belw-legend .lg-t { background: color-mix(in srgb, var(--yellow) 30%, #fff); border-left: 3px solid var(--yellow); }
.belw-legend .lg-g { background: #1D1F24; }
.belw-legend .lg-x { background: repeating-linear-gradient(135deg, #F3F2EE 0 3px, #DAD8D2 3px 6px); }
.belw-legend a { margin-left: auto; font-weight: 600; color: var(--ink); text-decoration: none; display: inline-flex; gap: 4px; align-items: center; }
.belw-legend a .icon { width: 14px; height: 14px; }
@media (max-width: 700px) { .belw-row { grid-template-columns: 104px 1fr; } .belw-grid { min-width: 1040px; padding: 4px 10px 8px; } }
.belw-scale i:first-child { transform: none; }

/* ---------- 3.2.2: Sponsor-Rechnungen aus der Finance Suite ---------- */
.fi-note-sp { grid-column: 1 / -1; background: #F5F1FF; border-color: #DDD3F7; } .fi-note-sp > .icon { color: #6D4FC2; }
.sp-fi-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-bottom: 20px; }
.sp-fi-kpis a { display: flex; flex-direction: column; gap: 2px; text-decoration: none; color: inherit; transition: box-shadow .2s, transform .2s; }
.sp-fi-kpis a:hover { box-shadow: var(--shadow-hover); transform: translateY(-1px); }
.sp-fi-kpis small { font-size: .78rem; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; }
.sp-fi-kpis b { font-size: 1.7rem; letter-spacing: -.02em; }
.sp-fi-filter { display: flex; gap: 4px; flex-wrap: wrap; padding: 12px 14px; border-bottom: 1px solid var(--line); }
.sp-fi-filter a { padding: 6px 12px; border-radius: 99px; font-size: .82rem; font-weight: 600; color: var(--muted); text-decoration: none; }
.sp-fi-filter a.on { background: var(--ink); color: #fff; }
.sp-fi-st { display: inline-block; font-size: .74rem; font-weight: 700; padding: 3px 9px; border-radius: 99px; white-space: nowrap; background: var(--paper); color: var(--muted); }
.sp-fi-st.open { background: #FFF4DC; color: #8A5A00; } .sp-fi-st.overdue { background: #FCE9E8; color: #A52A25; } .sp-fi-st.paid { background: #E5F5EC; color: #17663A; }
.sp-fi-st.draft { background: #EEF0F3; color: #4B5563; } .sp-fi-st.cancelled { text-decoration: line-through; }
.sp-fi-per { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.sp-fi-per li { display: flex; align-items: center; gap: 10px; justify-content: space-between; padding: 8px 0; border-bottom: 1px solid var(--line); }
.sp-fi-per a { display: flex; flex-direction: column; text-decoration: none; color: inherit; min-width: 0; }
.sp-fi-per small { font-size: .76rem; color: var(--muted); }
@media (max-width: 760px) { .sp-fi-kpis { grid-template-columns: 1fr; } }

/* 3.2.2: Kopfzeile mit sieben Suiten – nichts ragt mehr über den Rand */
.main-nav .nav-suf { display: none !important; }
@media (min-width: 861px) and (max-width: 1280px) {
  .hdr-admin span { display: none; } .hdr-admin { padding: 0; width: 42px; justify-content: center; position: relative; }
  .hdr-admin .nav-badge { position: absolute; top: -4px; right: -4px; }
  .main-nav > a { padding: 9px 9px; }
}
@media (min-width: 861px) and (max-width: 1100px) { .main-nav > a { padding: 8px 6px; font-size: .86rem; } .header-inner { gap: 10px; } }
.fi-edit > *, .fi-edit-side, .fi-edit-side > * { min-width: 0; }
.fi-edit-side input, .fi-edit-side select, .fi-edit-side textarea { width: 100%; min-width: 0; box-sizing: border-box; }
.fi-edit-side .form-row { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
@media (min-width: 861px) and (max-width: 960px) { .hdr-11 { display: none; } }
/* 3.5: Neuerungen aus dem Update-ZIP und Hinweis „Neu in Version …“ */
.upd-news { margin-top: 12px; padding: 12px 14px; background: var(--paper); border: 1px solid var(--line); border-radius: 12px; display: grid; gap: 6px; font-size: .88rem; }
.upd-news details summary { cursor: pointer; }
.upd-news ul { margin: 6px 0 4px; padding-left: 18px; color: var(--ink-2); }
.whatsnew { display: flex; gap: 12px; align-items: center; background: #16181C; color: #F4F1EA; padding: 10px 16px; font-size: .9rem; }
.whatsnew .icon { color: #D9B26A; flex: none; }
.whatsnew span { flex: 1; min-width: 0; }
.whatsnew b { color: #D9B26A; }
.whatsnew a { color: #fff; font-weight: 700; white-space: nowrap; }
.whatsnew a.wn-x { opacity: .7; display: inline-flex; } .whatsnew a.wn-x .icon { color: #fff; width: 16px; height: 16px; }
@media (max-width: 560px) { .whatsnew { font-size: .82rem; padding: 9px 12px; } }

/* 3.7: Ankündigungen und Support-Sitzung */
.ann { display: flex; gap: 12px; align-items: center; padding: 10px 16px; font-size: .9rem; background: #EEF3FA; color: #1F3A5F; border-bottom: 1px solid #D7E2F1; }
.ann .icon { flex: none; width: 18px; height: 18px; }
.ann span { flex: 1; min-width: 0; }
.ann-new { background: var(--yellow-tint); color: #5C4314; border-color: var(--yellow-soft); }
.ann-warn { background: #FFF4E5; color: #6B3E06; border-color: #F5DDB8; }
.ann a.wn-x { display: inline-flex; opacity: .6; color: inherit; } .ann a.wn-x:hover { opacity: 1; }
.ann a.wn-x .icon { width: 16px; height: 16px; }
.sup-banner { background: #16181C; color: #F4F1EA; border-color: #16181C; position: sticky; top: 0; z-index: 60; }
.sup-banner b { color: #D9B26A; }
.sup-banner .btn { color: #fff; background: transparent; border-color: rgba(255,255,255,.35); }
.sup-banner .btn:hover { background: rgba(255,255,255,.1); color: #fff; }
.hdr-help.active { color: var(--ink); background: var(--yellow-soft); }
@media (max-width: 560px) { .ann { font-size: .82rem; padding: 9px 12px; } }
@media (max-width: 560px) { .hdr-help { display: none; } }
@media (max-width: 440px) { .site-header .brand { min-width: 0; flex: 1 1 auto; } .site-header .brand-text { min-width: 0; } .site-header .brand-text b { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } }

/* 3.12: Vereinsart-Auswahl */
.ct-pick { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.ct-opt { position: relative; display: block; cursor: pointer; }
.ct-opt input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.ct-opt > span { display: flex; flex-direction: column; gap: 4px; height: 100%; padding: 14px 16px; border: 1.5px solid var(--line-2); border-radius: 14px; background: #fff; transition: border-color .15s, box-shadow .15s, background .15s; }
.ct-opt b { font-size: .95rem; }
.ct-opt small { color: var(--muted); font-size: .8rem; line-height: 1.45; }
.ct-opt:hover > span { border-color: var(--yellow-2); }
.ct-opt input:checked + span { border-color: var(--yellow); background: var(--yellow-tint); box-shadow: 0 0 0 3px color-mix(in srgb, var(--yellow) 22%, transparent); }
.ct-opt input:focus-visible + span { outline: 2px solid var(--yellow-2); outline-offset: 2px; }
.ct-opt input:disabled + span { opacity: .6; cursor: default; }
.ct-sport { margin-top: 12px; }
@media (max-width: 760px) { .ct-pick { grid-template-columns: 1fr; } }
/* 3.12: persönliche Begrüßung */
.hero-greet { display: block; font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }
.hero h1.hero-hello { margin-bottom: 6px; }
.hero-hello .hl { white-space: nowrap; }
.hero-tagline { font-size: 1.15rem; font-weight: 600; color: var(--ink-2); margin: 0 0 10px; }
/* 3.12.4: Hinweis install.php */
.install-warn { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; border-color: #F3D2D2; background: #FFF6F6; margin-bottom: 16px; }
.install-warn b { display: inline-flex; align-items: center; gap: 8px; color: #8A1F1F; }
.install-warn b .icon { width: 18px; height: 18px; }

/* 3.17 Member Suite: Familien */
.mf-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 14px; }
.mf-kpis small { display: block; color: var(--muted); font-size: .74rem; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; }
.mf-kpis b { font-size: 1.7rem; letter-spacing: -.02em; }
.mf-kpi-warn b { color: #B5651D; }
.mf-top { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 14px; align-items: start; margin-bottom: 18px; }
@media (max-width: 860px) { .mf-top { grid-template-columns: 1fr; } .mf-kpis { grid-template-columns: repeat(3, minmax(0, 1fr)); } .mf-kpis b { font-size: 1.3rem; } }
.mf-new h3 { display: flex; align-items: center; gap: 8px; margin: 0; font-size: 1.02rem; } .mf-new h3 .icon { width: 18px; height: 18px; color: var(--suite-gold-dark); }
.mf-multi { min-height: 120px; }
.mf-search { display: flex; gap: 6px; } .mf-search input { flex: 1; min-width: 0; }
.mf-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 14px; }
@media (max-width: 420px) { .mf-grid { grid-template-columns: 1fr; } }
.mf-card { display: flex; flex-direction: column; overflow: hidden; scroll-margin-top: 90px; }
.mf-card:target { box-shadow: 0 0 0 2px var(--suite-gold, #C9A45C), var(--shadow); }
.mf-head { display: flex; gap: 10px; align-items: flex-start; justify-content: space-between; padding: 16px 18px 10px; }
.mf-edit { flex: 1; min-width: 0; }
.mf-edit summary { list-style: none; cursor: pointer; display: inline-flex; gap: 8px; align-items: center; font-size: 1.08rem; }
.mf-edit summary::-webkit-details-marker { display: none; }
.mf-edit summary .icon { width: 15px; height: 15px; color: var(--muted); opacity: .6; }
.mf-edit[open] summary { margin-bottom: 8px; }
.mf-edit form { margin: 0 0 8px; }
.mf-edit-acts { display: flex; gap: 8px; }
.mf-danger { color: var(--danger) !important; }
.mf-total { text-align: right; white-space: nowrap; }
.mf-total b { display: block; font-size: 1.05rem; }
.mf-total small { color: var(--muted); font-size: .74rem; white-space: normal; display: block; max-width: 170px; }
.mf-note { margin: -4px 18px 8px; font-size: .84rem; color: var(--muted); }
.mf-warn { display: flex; gap: 6px; align-items: center; margin: 0 18px 10px; padding: 7px 10px; border-radius: 10px; background: #FFF4E5; color: #8A4B0F; font-size: .8rem; font-weight: 600; }
.mf-warn .icon { width: 15px; height: 15px; flex: none; }
.mf-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); flex: 1; }
.mf-list li { display: flex; align-items: center; gap: 10px; padding: 9px 12px 9px 14px; border-bottom: 1px solid var(--line); }
.mf-list li form { margin: 0; }
.mf-list li.is-payer { background: var(--yellow-tint, #FFFBE6); }
.mf-list li.is-left { opacity: .55; }
.mf-name { flex: 1; min-width: 0; display: flex; flex-direction: column; color: var(--ink); text-decoration: none; }
.mf-name b { font-size: .92rem; }
.mf-name small { color: var(--muted); font-size: .76rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mf-name:hover b { text-decoration: underline; }
.mf-radio { width: 22px; height: 22px; border-radius: 50%; border: 2px solid var(--line-2, #CFCFCF); background: #fff; display: grid; place-items: center; cursor: pointer; padding: 0; }
.mf-radio:hover { border-color: var(--ink); }
.mf-radio span { width: 10px; height: 10px; border-radius: 50%; background: transparent; }
.mf-radio[aria-pressed="true"] { border-color: var(--ink); cursor: default; }
.mf-radio[aria-pressed="true"] span { background: var(--ink); }
.mf-badge { font-size: .7rem; font-weight: 700; padding: 3px 8px; border-radius: 99px; background: var(--ink); color: #fff; }
.mf-x .icon { width: 15px; height: 15px; }
.mf-add { display: flex; gap: 8px; padding: 12px 14px; background: var(--paper); }
.mf-add select { flex: 1; min-width: 0; }
.mf-empty { grid-column: 1 / -1; color: var(--muted); }
