@charset "UTF-8";
/*!

stylesheet for 'Das Kartell - 3.1', generated on Mon, 23 Nov 2026 08:37:44 +0000 -- DO NOT EDIT

*/
html {
  --wcfButtonBackground: rgba(47, 54, 64, 1);
  --wcfButtonBackground-rgb: 47 54 64;
  --wcfButtonBackgroundActive: rgba(39, 45, 53, 1);
  --wcfButtonBackgroundActive-rgb: 39 45 53;
  --wcfButtonDisabledBackground: rgba(38, 39, 42, 1);
  --wcfButtonDisabledBackground-rgb: 38 39 42;
  --wcfButtonDisabledText: rgba(112, 115, 118, 1);
  --wcfButtonDisabledText-rgb: 112 115 118;
  --wcfButtonPrimaryBackground: rgba(231, 126, 35, 1);
  --wcfButtonPrimaryBackground-rgb: 231 126 35;
  --wcfButtonPrimaryBackgroundActive: rgba(214, 112, 31, 1);
  --wcfButtonPrimaryBackgroundActive-rgb: 214 112 31;
  --wcfButtonPrimaryText: rgba(231, 236, 245, 1);
  --wcfButtonPrimaryText-rgb: 231 236 245;
  --wcfButtonPrimaryTextActive: rgba(231, 236, 245, 1);
  --wcfButtonPrimaryTextActive-rgb: 231 236 245;
  --wcfButtonText: rgba(230, 231, 234, 1);
  --wcfButtonText-rgb: 230 231 234;
  --wcfButtonTextActive: rgba(230, 231, 234, 1);
  --wcfButtonTextActive-rgb: 230 231 234;
  --wcfContentBackground: rgba(13, 15, 18, 1);
  --wcfContentBackground-rgb: 13 15 18;
  --wcfContentBorder: rgba(42, 48, 56, 1);
  --wcfContentBorder-rgb: 42 48 56;
  --wcfContentBorderInner: rgba(42, 48, 56, 1);
  --wcfContentBorderInner-rgb: 42 48 56;
  --wcfContentContainerBackground: rgba(26, 30, 36, 1);
  --wcfContentContainerBackground-rgb: 26 30 36;
  --wcfContentContainerBorder: rgba(42, 48, 56, 1);
  --wcfContentContainerBorder-rgb: 42 48 56;
  --wcfContentDimmedLink: rgba(221, 221, 221, 1);
  --wcfContentDimmedLink-rgb: 221 221 221;
  --wcfContentDimmedLinkActive: rgba(214, 112, 31, 1);
  --wcfContentDimmedLinkActive-rgb: 214 112 31;
  --wcfContentDimmedText: rgba(154, 161, 171, 1);
  --wcfContentDimmedText-rgb: 154 161 171;
  --wcfContentHeadlineBorder: rgba(42, 48, 56, 1);
  --wcfContentHeadlineBorder-rgb: 42 48 56;
  --wcfContentHeadlineLink: rgba(215, 218, 222, 1);
  --wcfContentHeadlineLink-rgb: 215 218 222;
  --wcfContentHeadlineLinkActive: rgba(158, 158, 158, 1);
  --wcfContentHeadlineLinkActive-rgb: 158 158 158;
  --wcfContentHeadlineText: rgba(215, 218, 222, 1);
  --wcfContentHeadlineText-rgb: 215 218 222;
  --wcfContentLink: rgba(168, 174, 183, 1);
  --wcfContentLink-rgb: 168 174 183;
  --wcfContentLinkActive: rgba(231, 126, 35, 1);
  --wcfContentLinkActive-rgb: 231 126 35;
  --wcfContentText: rgba(215, 218, 222, 1);
  --wcfContentText-rgb: 215 218 222;
  --wcfDropdownBackground: rgba(26, 30, 36, 1);
  --wcfDropdownBackground-rgb: 26 30 36;
  --wcfDropdownBackgroundActive: rgba(39, 45, 53, 1);
  --wcfDropdownBackgroundActive-rgb: 39 45 53;
  --wcfDropdownBorderInner: rgba(39, 45, 53, 1);
  --wcfDropdownBorderInner-rgb: 39 45 53;
  --wcfDropdownLink: rgba(215, 218, 222, 1);
  --wcfDropdownLink-rgb: 215 218 222;
  --wcfDropdownLinkActive: rgba(239, 239, 239, 1);
  --wcfDropdownLinkActive-rgb: 239 239 239;
  --wcfDropdownText: rgba(215, 218, 222, 1);
  --wcfDropdownText-rgb: 215 218 222;
  --wcfEditorButtonBackground: rgba(231, 126, 35, 1);
  --wcfEditorButtonBackground-rgb: 231 126 35;
  --wcfEditorButtonBackgroundActive: rgba(214, 112, 31, 1);
  --wcfEditorButtonBackgroundActive-rgb: 214 112 31;
  --wcfEditorButtonText: rgba(230, 231, 234, 1);
  --wcfEditorButtonText-rgb: 230 231 234;
  --wcfEditorButtonTextActive: rgba(230, 231, 234, 1);
  --wcfEditorButtonTextActive-rgb: 230 231 234;
  --wcfEditorButtonTextDisabled: rgba(118, 125, 137, 1);
  --wcfEditorButtonTextDisabled-rgb: 118 125 137;
  --wcfEditorTableBorder: rgba(221, 221, 221, 1);
  --wcfEditorTableBorder-rgb: 221 221 221;
  --wcfFontLineHeight: 1.48;
  --wcfFontSizeDefault: 15px;
  --wcfFontSizeHeadline: 18px;
  --wcfFontSizeSection: 23px;
  --wcfFontSizeSmall: 12px;
  --wcfFontSizeTitle: 28px;
  --wcfFooterBackground: rgba(26, 30, 36, 1);
  --wcfFooterBackground-rgb: 26 30 36;
  --wcfFooterBoxBackground: rgba(20, 23, 28, 1);
  --wcfFooterBoxBackground-rgb: 20 23 28;
  --wcfFooterBoxHeadlineLink: rgba(215, 218, 222, 1);
  --wcfFooterBoxHeadlineLink-rgb: 215 218 222;
  --wcfFooterBoxHeadlineLinkActive: rgba(215, 218, 222, 1);
  --wcfFooterBoxHeadlineLinkActive-rgb: 215 218 222;
  --wcfFooterBoxHeadlineText: rgba(215, 218, 222, 1);
  --wcfFooterBoxHeadlineText-rgb: 215 218 222;
  --wcfFooterBoxLink: rgba(238, 238, 238, 1);
  --wcfFooterBoxLink-rgb: 238 238 238;
  --wcfFooterBoxLinkActive: rgba(231, 126, 35, 1);
  --wcfFooterBoxLinkActive-rgb: 231 126 35;
  --wcfFooterBoxText: rgba(238, 238, 238, 1);
  --wcfFooterBoxText-rgb: 238 238 238;
  --wcfFooterCopyrightBackground: rgba(20, 23, 28, 1);
  --wcfFooterCopyrightBackground-rgb: 20 23 28;
  --wcfFooterCopyrightLink: rgba(182, 184, 185, 1);
  --wcfFooterCopyrightLink-rgb: 182 184 185;
  --wcfFooterCopyrightLinkActive: rgba(217, 220, 222, 1);
  --wcfFooterCopyrightLinkActive-rgb: 217 220 222;
  --wcfFooterCopyrightText: rgba(182, 184, 185, 1);
  --wcfFooterCopyrightText-rgb: 182 184 185;
  --wcfFooterHeadlineLink: rgba(215, 218, 222, 1);
  --wcfFooterHeadlineLink-rgb: 215 218 222;
  --wcfFooterHeadlineLinkActive: rgba(215, 218, 222, 1);
  --wcfFooterHeadlineLinkActive-rgb: 215 218 222;
  --wcfFooterHeadlineText: rgba(215, 218, 222, 1);
  --wcfFooterHeadlineText-rgb: 215 218 222;
  --wcfFooterLink: rgba(238, 238, 238, 1);
  --wcfFooterLink-rgb: 238 238 238;
  --wcfFooterLinkActive: rgba(231, 126, 35, 1);
  --wcfFooterLinkActive-rgb: 231 126 35;
  --wcfFooterText: rgba(158, 158, 158, 1);
  --wcfFooterText-rgb: 158 158 158;
  --wcfHeaderBackground: rgba(20, 23, 28, 1);
  --wcfHeaderBackground-rgb: 20 23 28;
  --wcfHeaderText: rgba(215, 218, 222, 1);
  --wcfHeaderText-rgb: 215 218 222;
  --wcfHeaderLink: rgba(215, 218, 222, 1);
  --wcfHeaderLink-rgb: 215 218 222;
  --wcfHeaderLinkActive: rgba(255, 255, 255, 1);
  --wcfHeaderLinkActive-rgb: 255 255 255;
  --wcfHeaderMenuBackground: rgba(20, 23, 28, 0.82);
  --wcfHeaderMenuBackground-rgb: 20 23 28;
  --wcfHeaderMenuLinkBackground: rgba(0, 0, 0, 0);
  --wcfHeaderMenuLinkBackground-rgb: 0 0 0;
  --wcfHeaderMenuLinkBackgroundActive: rgba(46, 53, 62, 0.6);
  --wcfHeaderMenuLinkBackgroundActive-rgb: 46 53 62;
  --wcfHeaderMenuLink: rgba(215, 218, 222, 1);
  --wcfHeaderMenuLink-rgb: 215 218 222;
  --wcfHeaderMenuLinkActive: rgba(255, 255, 255, 1);
  --wcfHeaderMenuLinkActive-rgb: 255 255 255;
  --wcfHeaderMenuDropdownBackground: rgba(22, 26, 31, 0.97);
  --wcfHeaderMenuDropdownBackground-rgb: 22 26 31;
  --wcfHeaderMenuDropdownBackgroundActive: rgba(231, 126, 35, 0.26);
  --wcfHeaderMenuDropdownBackgroundActive-rgb: 231 126 35;
  --wcfHeaderMenuDropdownLink: rgba(230, 232, 235, 1);
  --wcfHeaderMenuDropdownLink-rgb: 230 232 235;
  --wcfHeaderMenuDropdownLinkActive: rgba(255, 255, 255, 1);
  --wcfHeaderMenuDropdownLinkActive-rgb: 255 255 255;
  --wcfHeaderSearchBoxBackground: rgba(26, 30, 36, 1);
  --wcfHeaderSearchBoxBackground-rgb: 26 30 36;
  --wcfHeaderSearchBoxBackgroundActive: rgba(36, 46, 61, 0.4);
  --wcfHeaderSearchBoxBackgroundActive-rgb: 36 46 61;
  --wcfHeaderSearchBoxText: rgba(255, 255, 255, 1);
  --wcfHeaderSearchBoxText-rgb: 255 255 255;
  --wcfHeaderSearchBoxTextActive: rgba(255, 255, 255, 1);
  --wcfHeaderSearchBoxTextActive-rgb: 255 255 255;
  --wcfHeaderSearchBoxPlaceholder: rgba(207, 207, 207, 1);
  --wcfHeaderSearchBoxPlaceholder-rgb: 207 207 207;
  --wcfHeaderSearchBoxPlaceholderActive: rgba(207, 207, 207, 1);
  --wcfHeaderSearchBoxPlaceholderActive-rgb: 207 207 207;
  --wcfInputBackground: rgba(20, 23, 28, 1);
  --wcfInputBackground-rgb: 20 23 28;
  --wcfInputBackgroundActive: rgba(20, 23, 28, 1);
  --wcfInputBackgroundActive-rgb: 20 23 28;
  --wcfInputBorder: rgba(58, 66, 77, 1);
  --wcfInputBorder-rgb: 58 66 77;
  --wcfInputBorderActive: rgba(173, 174, 175, 1);
  --wcfInputBorderActive-rgb: 173 174 175;
  --wcfInputDisabledBackground: rgba(26, 30, 36, 1);
  --wcfInputDisabledBackground-rgb: 26 30 36;
  --wcfInputDisabledBorder: rgba(56, 56, 57, 1);
  --wcfInputDisabledBorder-rgb: 56 56 57;
  --wcfInputDisabledText: rgba(118, 119, 121, 1);
  --wcfInputDisabledText-rgb: 118 119 121;
  --wcfInputLabel: rgba(154, 161, 171, 1);
  --wcfInputLabel-rgb: 154 161 171;
  --wcfInputText: rgba(215, 218, 222, 1);
  --wcfInputText-rgb: 215 218 222;
  --wcfInputTextActive: rgba(215, 218, 222, 1);
  --wcfInputTextActive-rgb: 215 218 222;
  --wcfInputPlaceholder: rgba(122, 123, 125, 1);
  --wcfInputPlaceholder-rgb: 122 123 125;
  --wcfInputPlaceholderActive: rgba(122, 123, 125, 1);
  --wcfInputPlaceholderActive-rgb: 122 123 125;
  --wcfLayoutFixedWidth: 1440px;
  --wcfLayoutMaxWidth: 1550px;
  --wcfLayoutMinWidth: 0px;
  --wcfNavigationBackground: rgba(26, 30, 36, 1);
  --wcfNavigationBackground-rgb: 26 30 36;
  --wcfNavigationLink: rgba(179, 182, 185, 1);
  --wcfNavigationLink-rgb: 179 182 185;
  --wcfNavigationLinkActive: rgba(205, 207, 208, 1);
  --wcfNavigationLinkActive-rgb: 205 207 208;
  --wcfNavigationText: rgba(179, 182, 185, 1);
  --wcfNavigationText-rgb: 179 182 185;
  --wcfPageThemeColor: rgba(20, 23, 28, 1);
  --wcfPageThemeColor-rgb: 20 23 28;
  --wcfSidebarBackground: rgba(26, 30, 36, 1);
  --wcfSidebarBackground-rgb: 26 30 36;
  --wcfSidebarDimmedLink: rgba(215, 218, 222, 1);
  --wcfSidebarDimmedLink-rgb: 215 218 222;
  --wcfSidebarDimmedLinkActive: rgba(215, 218, 222, 1);
  --wcfSidebarDimmedLinkActive-rgb: 215 218 222;
  --wcfSidebarDimmedText: rgba(154, 161, 171, 1);
  --wcfSidebarDimmedText-rgb: 154 161 171;
  --wcfSidebarHeadlineLink: rgba(215, 218, 222, 1);
  --wcfSidebarHeadlineLink-rgb: 215 218 222;
  --wcfSidebarHeadlineLinkActive: rgba(158, 158, 158, 1);
  --wcfSidebarHeadlineLinkActive-rgb: 158 158 158;
  --wcfSidebarHeadlineText: rgba(215, 218, 222, 1);
  --wcfSidebarHeadlineText-rgb: 215 218 222;
  --wcfSidebarLink: rgba(221, 221, 221, 1);
  --wcfSidebarLink-rgb: 221 221 221;
  --wcfSidebarLinkActive: rgba(231, 126, 35, 1);
  --wcfSidebarLinkActive-rgb: 231 126 35;
  --wcfSidebarText: rgba(215, 218, 222, 1);
  --wcfSidebarText-rgb: 215 218 222;
  --wcfStatusErrorBackground: rgba(214, 41, 30, 1);
  --wcfStatusErrorBackground-rgb: 214 41 30;
  --wcfStatusErrorBorder: rgba(182, 35, 26, 1);
  --wcfStatusErrorBorder-rgb: 182 35 26;
  --wcfStatusErrorLink: rgba(255, 255, 255, 1);
  --wcfStatusErrorLink-rgb: 255 255 255;
  --wcfStatusErrorLinkActive: rgba(255, 255, 255, 1);
  --wcfStatusErrorLinkActive-rgb: 255 255 255;
  --wcfStatusErrorText: rgba(255, 255, 255, 1);
  --wcfStatusErrorText-rgb: 255 255 255;
  --wcfStatusInfoBackground: rgba(63, 130, 209, 1);
  --wcfStatusInfoBackground-rgb: 63 130 209;
  --wcfStatusInfoBorder: rgba(54, 110, 178, 1);
  --wcfStatusInfoBorder-rgb: 54 110 178;
  --wcfStatusInfoLink: rgba(13, 13, 13, 1);
  --wcfStatusInfoLink-rgb: 13 13 13;
  --wcfStatusInfoLinkActive: rgba(13, 13, 13, 1);
  --wcfStatusInfoLinkActive-rgb: 13 13 13;
  --wcfStatusInfoText: rgba(13, 13, 13, 1);
  --wcfStatusInfoText-rgb: 13 13 13;
  --wcfStatusSuccessBackground: rgba(68, 194, 141, 1);
  --wcfStatusSuccessBackground-rgb: 68 194 141;
  --wcfStatusSuccessBorder: rgba(58, 165, 120, 1);
  --wcfStatusSuccessBorder-rgb: 58 165 120;
  --wcfStatusSuccessLink: rgba(13, 13, 13, 1);
  --wcfStatusSuccessLink-rgb: 13 13 13;
  --wcfStatusSuccessLinkActive: rgba(13, 13, 13, 1);
  --wcfStatusSuccessLinkActive-rgb: 13 13 13;
  --wcfStatusSuccessText: rgba(13, 13, 13, 1);
  --wcfStatusSuccessText-rgb: 13 13 13;
  --wcfStatusWarningBackground: rgba(223, 125, 9, 1);
  --wcfStatusWarningBackground-rgb: 223 125 9;
  --wcfStatusWarningBorder: rgba(190, 106, 8, 1);
  --wcfStatusWarningBorder-rgb: 190 106 8;
  --wcfStatusWarningLink: rgba(13, 13, 13, 1);
  --wcfStatusWarningLink-rgb: 13 13 13;
  --wcfStatusWarningLinkActive: rgba(13, 13, 13, 1);
  --wcfStatusWarningLinkActive-rgb: 13 13 13;
  --wcfStatusWarningText: rgba(13, 13, 13, 1);
  --wcfStatusWarningText-rgb: 13 13 13;
  --wcfTabularBoxBackgroundActive: rgba(32, 37, 44, 1);
  --wcfTabularBoxBackgroundActive-rgb: 32 37 44;
  --wcfTabularBoxBorderInner: rgba(42, 48, 56, 1);
  --wcfTabularBoxBorderInner-rgb: 42 48 56;
  --wcfTabularBoxHeadline: rgba(231, 126, 35, 1);
  --wcfTabularBoxHeadline-rgb: 231 126 35;
  --wcfTabularBoxHeadlineActive: rgba(231, 126, 35, 1);
  --wcfTabularBoxHeadlineActive-rgb: 231 126 35;
  --wcfTextShadowDark: rgba(0, 0, 0, .8);
  --wcfTextShadowDark-rgb: 0 0 0;
  --wcfTextShadowLight: rgba(255, 255, 255, .8);
  --wcfTextShadowLight-rgb: 255 255 255;
  --wcfTooltipBackground: rgba(0, 0, 0, .8);
  --wcfTooltipBackground-rgb: 0 0 0;
  --wcfTooltipText: rgba(255, 255, 255, 1);
  --wcfTooltipText-rgb: 255 255 255;
  --wcfUserMenuBackground: rgba(26, 30, 36, 1);
  --wcfUserMenuBackground-rgb: 26 30 36;
  --wcfUserMenuBackgroundActive: rgba(39, 45, 53, 1);
  --wcfUserMenuBackgroundActive-rgb: 39 45 53;
  --wcfUserMenuText: rgba(215, 218, 222, 1);
  --wcfUserMenuText-rgb: 215 218 222;
  --wcfUserMenuTextActive: rgba(239, 239, 239, 1);
  --wcfUserMenuTextActive-rgb: 239 239 239;
  --wcfUserMenuTextDimmed: rgba(149, 152, 156, 1);
  --wcfUserMenuTextDimmed-rgb: 149 152 156;
  --wcfUserMenuIndicator: rgba(214, 112, 31, 1);
  --wcfUserMenuIndicator-rgb: 214 112 31;
  --wcfUserMenuBorder: rgba(42, 48, 56, 1);
  --wcfUserMenuBorder-rgb: 42 48 56;
  --wcfSidebarBorder: rgba(42, 48, 56, 1);
  --wcfSidebarBorder-rgb: 42 48 56;
  --wcfHeaderMenuDropdownBorder: rgba(0, 0, 0, 0);
  --wcfHeaderMenuDropdownBorder-rgb: 0 0 0;
  --wcfToggleButtonBackground: rgba(105, 109, 114, 1);
  --wcfToggleButtonBackground-rgb: 105 109 114;
  --wcfToggleButtonBackgroundActive: rgba(60, 118, 61, 1);
  --wcfToggleButtonBackgroundActive-rgb: 60 118 61;
  --wcfToggleButtonSliderBackground: rgba(250, 250, 250, 1);
  --wcfToggleButtonSliderBackground-rgb: 250 250 250;
  --wcfToggleButtonSliderBackgroundActive: rgba(250, 250, 250, 1);
  --wcfToggleButtonSliderBackgroundActive-rgb: 250 250 250;
  --wcfFontFamily: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
         "Roboto", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans",
         "Helvetica Neue", Arial, sans-serif;
  --wcfFontFamilyMonospace: ui-monospace, Menlo, Monaco, "Cascadia Mono",
         "Segoe UI Mono", "Roboto Mono", "Oxygen Mono", "Ubuntu Monospace", "Source Code Pro",
         "Fira Mono", "Droid Sans Mono", "Courier New", monospace;
  --wcfBorderRadius: 4px;
  --wcfBorderRadiusContainer: 8px;
  --wcfBoxShadow: rgb(0 0 0 / 20%) 0 12px 28px 0, rgb(0 0 0 / 10%) 0 2px 4px 0;
  --wcfBoxShadowCard: rgb(0 0 0 / 10%) 0 12px 28px 0, rgb(0 0 0 / 5%) 0 2px 4px 0;
  --wcfBoxShadowImageButton: 0 1px 3px rgb(0 0 0 / 12%), 0 1px 2px rgb(0 0 0 / 24%);
}

html[data-color-scheme=dark] {
  --wcfButtonBackground: rgba(47, 54, 64, 1);
  --wcfButtonBackground-rgb: 47 54 64;
  --wcfButtonBackgroundActive: rgba(39, 45, 53, 1);
  --wcfButtonBackgroundActive-rgb: 39 45 53;
  --wcfButtonDisabledBackground: rgba(38, 39, 42, 1);
  --wcfButtonDisabledBackground-rgb: 38 39 42;
  --wcfButtonDisabledText: rgba(112, 115, 118, 1);
  --wcfButtonDisabledText-rgb: 112 115 118;
  --wcfButtonPrimaryBackground: rgba(231, 126, 35, 1);
  --wcfButtonPrimaryBackground-rgb: 231 126 35;
  --wcfButtonPrimaryBackgroundActive: rgba(214, 112, 31, 1);
  --wcfButtonPrimaryBackgroundActive-rgb: 214 112 31;
  --wcfButtonPrimaryText: rgba(231, 236, 245, 1);
  --wcfButtonPrimaryText-rgb: 231 236 245;
  --wcfButtonPrimaryTextActive: rgba(231, 236, 245, 1);
  --wcfButtonPrimaryTextActive-rgb: 231 236 245;
  --wcfButtonText: rgba(230, 231, 234, 1);
  --wcfButtonText-rgb: 230 231 234;
  --wcfButtonTextActive: rgba(230, 231, 234, 1);
  --wcfButtonTextActive-rgb: 230 231 234;
  --wcfContentBackground: rgba(13, 15, 18, 1);
  --wcfContentBackground-rgb: 13 15 18;
  --wcfContentBorder: rgba(42, 48, 56, 1);
  --wcfContentBorder-rgb: 42 48 56;
  --wcfContentBorderInner: rgba(42, 48, 56, 1);
  --wcfContentBorderInner-rgb: 42 48 56;
  --wcfContentContainerBackground: rgba(26, 30, 36, 1);
  --wcfContentContainerBackground-rgb: 26 30 36;
  --wcfContentContainerBorder: rgba(42, 48, 56, 1);
  --wcfContentContainerBorder-rgb: 42 48 56;
  --wcfContentDimmedLink: rgba(221, 221, 221, 1);
  --wcfContentDimmedLink-rgb: 221 221 221;
  --wcfContentDimmedLinkActive: rgba(214, 112, 31, 1);
  --wcfContentDimmedLinkActive-rgb: 214 112 31;
  --wcfContentDimmedText: rgba(154, 161, 171, 1);
  --wcfContentDimmedText-rgb: 154 161 171;
  --wcfContentHeadlineBorder: rgba(42, 48, 56, 1);
  --wcfContentHeadlineBorder-rgb: 42 48 56;
  --wcfContentHeadlineLink: rgba(215, 218, 222, 1);
  --wcfContentHeadlineLink-rgb: 215 218 222;
  --wcfContentHeadlineLinkActive: rgba(158, 158, 158, 1);
  --wcfContentHeadlineLinkActive-rgb: 158 158 158;
  --wcfContentHeadlineText: rgba(215, 218, 222, 1);
  --wcfContentHeadlineText-rgb: 215 218 222;
  --wcfContentLink: rgba(168, 174, 183, 1);
  --wcfContentLink-rgb: 168 174 183;
  --wcfContentLinkActive: rgba(231, 126, 35, 1);
  --wcfContentLinkActive-rgb: 231 126 35;
  --wcfContentText: rgba(215, 218, 222, 1);
  --wcfContentText-rgb: 215 218 222;
  --wcfDropdownBackground: rgba(26, 30, 36, 1);
  --wcfDropdownBackground-rgb: 26 30 36;
  --wcfDropdownBackgroundActive: rgba(39, 45, 53, 1);
  --wcfDropdownBackgroundActive-rgb: 39 45 53;
  --wcfDropdownBorderInner: rgba(39, 45, 53, 1);
  --wcfDropdownBorderInner-rgb: 39 45 53;
  --wcfDropdownLink: rgba(215, 218, 222, 1);
  --wcfDropdownLink-rgb: 215 218 222;
  --wcfDropdownLinkActive: rgba(239, 239, 239, 1);
  --wcfDropdownLinkActive-rgb: 239 239 239;
  --wcfDropdownText: rgba(215, 218, 222, 1);
  --wcfDropdownText-rgb: 215 218 222;
  --wcfEditorButtonBackground: rgba(231, 126, 35, 1);
  --wcfEditorButtonBackground-rgb: 231 126 35;
  --wcfEditorButtonBackgroundActive: rgba(214, 112, 31, 1);
  --wcfEditorButtonBackgroundActive-rgb: 214 112 31;
  --wcfEditorButtonText: rgba(230, 231, 234, 1);
  --wcfEditorButtonText-rgb: 230 231 234;
  --wcfEditorButtonTextActive: rgba(230, 231, 234, 1);
  --wcfEditorButtonTextActive-rgb: 230 231 234;
  --wcfEditorButtonTextDisabled: rgba(118, 125, 137, 1);
  --wcfEditorButtonTextDisabled-rgb: 118 125 137;
  --wcfEditorTableBorder: rgba(221, 221, 221, 1);
  --wcfEditorTableBorder-rgb: 221 221 221;
  --wcfFooterBackground: rgba(26, 30, 36, 1);
  --wcfFooterBackground-rgb: 26 30 36;
  --wcfFooterBoxBackground: rgba(20, 23, 28, 1);
  --wcfFooterBoxBackground-rgb: 20 23 28;
  --wcfFooterBoxHeadlineLink: rgba(215, 218, 222, 1);
  --wcfFooterBoxHeadlineLink-rgb: 215 218 222;
  --wcfFooterBoxHeadlineLinkActive: rgba(255, 255, 255, 1);
  --wcfFooterBoxHeadlineLinkActive-rgb: 255 255 255;
  --wcfFooterBoxHeadlineText: rgba(215, 218, 222, 1);
  --wcfFooterBoxHeadlineText-rgb: 215 218 222;
  --wcfFooterBoxLink: rgba(238, 238, 238, 1);
  --wcfFooterBoxLink-rgb: 238 238 238;
  --wcfFooterBoxLinkActive: rgba(231, 126, 35, 1);
  --wcfFooterBoxLinkActive-rgb: 231 126 35;
  --wcfFooterBoxText: rgba(238, 238, 238, 1);
  --wcfFooterBoxText-rgb: 238 238 238;
  --wcfFooterCopyrightBackground: rgba(20, 23, 28, 1);
  --wcfFooterCopyrightBackground-rgb: 20 23 28;
  --wcfFooterCopyrightLink: rgba(182, 184, 185, 1);
  --wcfFooterCopyrightLink-rgb: 182 184 185;
  --wcfFooterCopyrightLinkActive: rgba(217, 220, 222, 1);
  --wcfFooterCopyrightLinkActive-rgb: 217 220 222;
  --wcfFooterCopyrightText: rgba(182, 184, 185, 1);
  --wcfFooterCopyrightText-rgb: 182 184 185;
  --wcfFooterHeadlineLink: rgba(215, 218, 222, 1);
  --wcfFooterHeadlineLink-rgb: 215 218 222;
  --wcfFooterHeadlineLinkActive: rgba(255, 255, 255, 1);
  --wcfFooterHeadlineLinkActive-rgb: 255 255 255;
  --wcfFooterHeadlineText: rgba(215, 218, 222, 1);
  --wcfFooterHeadlineText-rgb: 215 218 222;
  --wcfFooterLink: rgba(238, 238, 238, 1);
  --wcfFooterLink-rgb: 238 238 238;
  --wcfFooterLinkActive: rgba(231, 126, 35, 1);
  --wcfFooterLinkActive-rgb: 231 126 35;
  --wcfFooterText: rgba(158, 158, 158, 1);
  --wcfFooterText-rgb: 158 158 158;
  --wcfHeaderBackground: rgba(20, 23, 28, 1);
  --wcfHeaderBackground-rgb: 20 23 28;
  --wcfHeaderText: rgba(215, 218, 222, 1);
  --wcfHeaderText-rgb: 215 218 222;
  --wcfHeaderLink: rgba(215, 218, 222, 1);
  --wcfHeaderLink-rgb: 215 218 222;
  --wcfHeaderLinkActive: rgba(255, 255, 255, 1);
  --wcfHeaderLinkActive-rgb: 255 255 255;
  --wcfHeaderMenuBackground: rgba(20, 23, 28, 0.82);
  --wcfHeaderMenuBackground-rgb: 20 23 28;
  --wcfHeaderMenuLinkBackground: rgba(0, 0, 0, 0);
  --wcfHeaderMenuLinkBackground-rgb: 0 0 0;
  --wcfHeaderMenuLinkBackgroundActive: rgba(46, 53, 62, 0.6);
  --wcfHeaderMenuLinkBackgroundActive-rgb: 46 53 62;
  --wcfHeaderMenuLink: rgba(215, 218, 222, 1);
  --wcfHeaderMenuLink-rgb: 215 218 222;
  --wcfHeaderMenuLinkActive: rgba(255, 255, 255, 1);
  --wcfHeaderMenuLinkActive-rgb: 255 255 255;
  --wcfHeaderMenuDropdownBackground: rgba(22, 26, 31, 0.97);
  --wcfHeaderMenuDropdownBackground-rgb: 22 26 31;
  --wcfHeaderMenuDropdownBackgroundActive: rgba(231, 126, 35, 0.26);
  --wcfHeaderMenuDropdownBackgroundActive-rgb: 231 126 35;
  --wcfHeaderMenuDropdownLink: rgba(230, 232, 235, 1);
  --wcfHeaderMenuDropdownLink-rgb: 230 232 235;
  --wcfHeaderMenuDropdownLinkActive: rgba(255, 255, 255, 1);
  --wcfHeaderMenuDropdownLinkActive-rgb: 255 255 255;
  --wcfHeaderSearchBoxBackground: rgba(26, 30, 36, 1);
  --wcfHeaderSearchBoxBackground-rgb: 26 30 36;
  --wcfHeaderSearchBoxBackgroundActive: rgba(36, 46, 61, 0.4);
  --wcfHeaderSearchBoxBackgroundActive-rgb: 36 46 61;
  --wcfHeaderSearchBoxText: rgba(255, 255, 255, 1);
  --wcfHeaderSearchBoxText-rgb: 255 255 255;
  --wcfHeaderSearchBoxTextActive: rgba(255, 255, 255, 1);
  --wcfHeaderSearchBoxTextActive-rgb: 255 255 255;
  --wcfHeaderSearchBoxPlaceholder: rgba(207, 207, 207, 1);
  --wcfHeaderSearchBoxPlaceholder-rgb: 207 207 207;
  --wcfHeaderSearchBoxPlaceholderActive: rgba(207, 207, 207, 1);
  --wcfHeaderSearchBoxPlaceholderActive-rgb: 207 207 207;
  --wcfInputBackground: rgba(20, 23, 28, 1);
  --wcfInputBackground-rgb: 20 23 28;
  --wcfInputBackgroundActive: rgba(20, 23, 28, 1);
  --wcfInputBackgroundActive-rgb: 20 23 28;
  --wcfInputBorder: rgba(58, 66, 77, 1);
  --wcfInputBorder-rgb: 58 66 77;
  --wcfInputBorderActive: rgba(173, 174, 175, 1);
  --wcfInputBorderActive-rgb: 173 174 175;
  --wcfInputDisabledBackground: rgba(26, 30, 36, 1);
  --wcfInputDisabledBackground-rgb: 26 30 36;
  --wcfInputDisabledBorder: rgba(56, 56, 57, 1);
  --wcfInputDisabledBorder-rgb: 56 56 57;
  --wcfInputDisabledText: rgba(118, 119, 121, 1);
  --wcfInputDisabledText-rgb: 118 119 121;
  --wcfInputLabel: rgba(154, 161, 171, 1);
  --wcfInputLabel-rgb: 154 161 171;
  --wcfInputText: rgba(215, 218, 222, 1);
  --wcfInputText-rgb: 215 218 222;
  --wcfInputTextActive: rgba(215, 218, 222, 1);
  --wcfInputTextActive-rgb: 215 218 222;
  --wcfInputPlaceholder: rgba(122, 123, 125, 1);
  --wcfInputPlaceholder-rgb: 122 123 125;
  --wcfInputPlaceholderActive: rgba(122, 123, 125, 1);
  --wcfInputPlaceholderActive-rgb: 122 123 125;
  --wcfNavigationBackground: rgba(26, 30, 36, 1);
  --wcfNavigationBackground-rgb: 26 30 36;
  --wcfNavigationLink: rgba(179, 182, 185, 1);
  --wcfNavigationLink-rgb: 179 182 185;
  --wcfNavigationLinkActive: rgba(205, 207, 208, 1);
  --wcfNavigationLinkActive-rgb: 205 207 208;
  --wcfNavigationText: rgba(179, 182, 185, 1);
  --wcfNavigationText-rgb: 179 182 185;
  --wcfPageThemeColor: rgba(20, 23, 28, 1);
  --wcfPageThemeColor-rgb: 20 23 28;
  --wcfSidebarBackground: rgba(26, 30, 36, 1);
  --wcfSidebarBackground-rgb: 26 30 36;
  --wcfSidebarDimmedLink: rgba(215, 218, 222, 1);
  --wcfSidebarDimmedLink-rgb: 215 218 222;
  --wcfSidebarDimmedLinkActive: rgba(215, 218, 222, 1);
  --wcfSidebarDimmedLinkActive-rgb: 215 218 222;
  --wcfSidebarDimmedText: rgba(154, 161, 171, 1);
  --wcfSidebarDimmedText-rgb: 154 161 171;
  --wcfSidebarHeadlineLink: rgba(215, 218, 222, 1);
  --wcfSidebarHeadlineLink-rgb: 215 218 222;
  --wcfSidebarHeadlineLinkActive: rgba(158, 158, 158, 1);
  --wcfSidebarHeadlineLinkActive-rgb: 158 158 158;
  --wcfSidebarHeadlineText: rgba(215, 218, 222, 1);
  --wcfSidebarHeadlineText-rgb: 215 218 222;
  --wcfSidebarLink: rgba(221, 221, 221, 1);
  --wcfSidebarLink-rgb: 221 221 221;
  --wcfSidebarLinkActive: rgba(231, 126, 35, 1);
  --wcfSidebarLinkActive-rgb: 231 126 35;
  --wcfSidebarText: rgba(215, 218, 222, 1);
  --wcfSidebarText-rgb: 215 218 222;
  --wcfStatusErrorBackground: rgba(214, 41, 30, 1);
  --wcfStatusErrorBackground-rgb: 214 41 30;
  --wcfStatusErrorBorder: rgba(214, 41, 30, 1);
  --wcfStatusErrorBorder-rgb: 214 41 30;
  --wcfStatusErrorLink: rgba(255, 255, 255, 1);
  --wcfStatusErrorLink-rgb: 255 255 255;
  --wcfStatusErrorLinkActive: rgba(255, 255, 255, 1);
  --wcfStatusErrorLinkActive-rgb: 255 255 255;
  --wcfStatusErrorText: rgba(255, 255, 255, 1);
  --wcfStatusErrorText-rgb: 255 255 255;
  --wcfStatusInfoBackground: rgba(63, 130, 209, 1);
  --wcfStatusInfoBackground-rgb: 63 130 209;
  --wcfStatusInfoBorder: rgba(54, 110, 178, 1);
  --wcfStatusInfoBorder-rgb: 54 110 178;
  --wcfStatusInfoLink: rgba(13, 13, 13, 1);
  --wcfStatusInfoLink-rgb: 13 13 13;
  --wcfStatusInfoLinkActive: rgba(13, 13, 13, 1);
  --wcfStatusInfoLinkActive-rgb: 13 13 13;
  --wcfStatusInfoText: rgba(13, 13, 13, 1);
  --wcfStatusInfoText-rgb: 13 13 13;
  --wcfStatusSuccessBackground: rgba(68, 194, 141, 1);
  --wcfStatusSuccessBackground-rgb: 68 194 141;
  --wcfStatusSuccessBorder: rgba(68, 194, 141, 1);
  --wcfStatusSuccessBorder-rgb: 68 194 141;
  --wcfStatusSuccessLink: rgba(13, 13, 13, 1);
  --wcfStatusSuccessLink-rgb: 13 13 13;
  --wcfStatusSuccessLinkActive: rgba(13, 13, 13, 1);
  --wcfStatusSuccessLinkActive-rgb: 13 13 13;
  --wcfStatusSuccessText: rgba(13, 13, 13, 1);
  --wcfStatusSuccessText-rgb: 13 13 13;
  --wcfStatusWarningBackground: rgba(223, 125, 9, 1);
  --wcfStatusWarningBackground-rgb: 223 125 9;
  --wcfStatusWarningBorder: rgba(223, 125, 9, 1);
  --wcfStatusWarningBorder-rgb: 223 125 9;
  --wcfStatusWarningLink: rgba(13, 13, 13, 1);
  --wcfStatusWarningLink-rgb: 13 13 13;
  --wcfStatusWarningLinkActive: rgba(13, 13, 13, 1);
  --wcfStatusWarningLinkActive-rgb: 13 13 13;
  --wcfStatusWarningText: rgba(13, 13, 13, 1);
  --wcfStatusWarningText-rgb: 13 13 13;
  --wcfTabularBoxBackgroundActive: rgba(32, 37, 44, 1);
  --wcfTabularBoxBackgroundActive-rgb: 32 37 44;
  --wcfTabularBoxBorderInner: rgba(42, 48, 56, 1);
  --wcfTabularBoxBorderInner-rgb: 42 48 56;
  --wcfTabularBoxHeadline: rgba(231, 126, 35, 1);
  --wcfTabularBoxHeadline-rgb: 231 126 35;
  --wcfTabularBoxHeadlineActive: rgba(231, 126, 35, 1);
  --wcfTabularBoxHeadlineActive-rgb: 231 126 35;
  --wcfTextShadowDark: rgba(0, 0, 0, .8);
  --wcfTextShadowDark-rgb: 0 0 0;
  --wcfTextShadowLight: rgba(255, 255, 255, .8);
  --wcfTextShadowLight-rgb: 255 255 255;
  --wcfTooltipBackground: rgba(0, 0, 0, .8);
  --wcfTooltipBackground-rgb: 0 0 0;
  --wcfTooltipText: rgba(255, 255, 255, 1);
  --wcfTooltipText-rgb: 255 255 255;
  --wcfUserMenuBackground: rgba(26, 30, 36, 1);
  --wcfUserMenuBackground-rgb: 26 30 36;
  --wcfUserMenuBackgroundActive: rgba(39, 45, 53, 1);
  --wcfUserMenuBackgroundActive-rgb: 39 45 53;
  --wcfUserMenuText: rgba(215, 218, 222, 1);
  --wcfUserMenuText-rgb: 215 218 222;
  --wcfUserMenuTextActive: rgba(239, 239, 239, 1);
  --wcfUserMenuTextActive-rgb: 239 239 239;
  --wcfUserMenuTextDimmed: rgba(149, 152, 156, 1);
  --wcfUserMenuTextDimmed-rgb: 149 152 156;
  --wcfUserMenuIndicator: rgba(214, 112, 31, 1);
  --wcfUserMenuIndicator-rgb: 214 112 31;
  --wcfUserMenuBorder: rgba(42, 48, 56, 1);
  --wcfUserMenuBorder-rgb: 42 48 56;
  --wcfSidebarBorder: rgba(42, 48, 56, 1);
  --wcfSidebarBorder-rgb: 42 48 56;
  --wcfHeaderMenuDropdownBorder: rgba(0, 0, 0, 0);
  --wcfHeaderMenuDropdownBorder-rgb: 0 0 0;
  --wcfToggleButtonBackground: rgba(89, 89, 89, 1);
  --wcfToggleButtonBackground-rgb: 89 89 89;
  --wcfToggleButtonBackgroundActive: rgba(0, 113, 84, 1);
  --wcfToggleButtonBackgroundActive-rgb: 0 113 84;
  --wcfToggleButtonSliderBackground: rgba(203, 203, 203, 1);
  --wcfToggleButtonSliderBackground-rgb: 203 203 203;
  --wcfToggleButtonSliderBackgroundActive: rgba(203, 203, 203, 1);
  --wcfToggleButtonSliderBackgroundActive-rgb: 203 203 203;
}

/**
 * Parts taken from
 * http://meyerweb.com/eric/tools/css/reset/ 
 * v2.0 | 20110126
 * License: none (public domain)
 * modifyed to meet the needs of WoltLab
 */
html,
body,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
address,
big,
cite,
code,
q,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
canvas,
embed,
figure,
figcaption,
audio,
video {
  margin: 0;
  padding: 0;
  border: 0;
}

img {
  border: 0;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: normal;
  font-size: 100%;
}

ol,
ul {
  list-style: none;
}

blockquote,
q {
  quotes: none;
}

blockquote::before,
blockquote::after,
q::before,
q::after {
  content: "";
  content: none;
}

address {
  font-style: normal;
}

/**
 * sane box-sizing value for all elements
 * 
 * https://css-tricks.com/box-sizing/
 */
html {
  box-sizing: border-box;
}

*,
*::before,
*::after {
  box-sizing: inherit;
  min-width: 0;
}

details * {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

[hidden] {
  display: none !important;
}

/* shortcuts */
.clearfix::before, .clearfix::after {
  display: table;
  content: "";
}
.clearfix::after {
  clear: both;
}

/** @deprecated 3.0 - please use the native properties directly */
/** /deprecated */
/* See https://github.com/saadeghi/browser-hack-sass-mixins */
/*--- Only Safari ≥ 9 (Non iOS) ---*/
/* smartphone */
/* tablet (portrait) */
/* smartphone + tablet (portrait) */
/* tablet (portrait) + tablet (landscape) + desktop */
/* tablet (portrait) + tablet (landscape) */
/* tablet (landscape) */
/* smartphone + tablet (portrait) + tablet (landscape) */
/* tablet (landscape) + desktop */
/* desktop */
.codeBox {
  background-color: var(--wcfContentBackground);
  border: 1px solid var(--wcfContentBorderInner);
  border-radius: var(--wcfBorderRadius);
  clear: both;
  margin: 1em 0;
  padding: 10px;
  position: relative;
}
.codeBox.collapsed .codeBoxCode {
  max-height: 200px;
  overflow: hidden;
}
.codeBox.collapsed > .toggleButton {
  bottom: 0;
  left: 0;
  padding-bottom: 10px;
  position: absolute;
  right: 0;
  z-index: 1;
}
.codeBox.collapsed > .toggleButton::before {
  background-image: linear-gradient(to top, rgba(var(--wcfContentBackground-rgb)/0.9), rgba(var(--wcfContentBackground-rgb)/0));
  content: "";
  height: 60px;
  left: 0;
  pointer-events: none;
  position: absolute;
  right: 0;
  top: -60px;
}
.codeBox .codeBoxHeader {
  align-items: center;
  background-color: var(--wcfContentBackground);
  border-radius: var(--wcfBorderRadius) var(--wcfBorderRadius) 0 0;
  display: flex;
  margin: -10px -10px 0;
  /* required to avoid layout jumping caused by the dynamically added 24px button */
  min-height: 24px;
  padding: 10px 10px 10px;
  position: sticky;
  top: 50px;
  z-index: 1;
}
.codeBox .codeBoxHeader > .codeBoxHeadline {
  flex: 1 1 auto;
  margin-right: 10px;
  font-weight: 400;
  line-height: 1.28;
}
@media screen and (min-width: 769px), print {
  .codeBox .codeBoxHeader > .codeBoxHeadline {
    font-size: var(--wcfFontSizeHeadline);
  }
}
@media screen and (max-width: 768px) {
  .codeBox .codeBoxHeader > .codeBoxHeadline {
    font-size: 18px;
  }
}
@media screen and (max-width: 768px) {
  .codeBox .codeBoxHeader > .codeBoxHeadline {
    overflow: auto;
    white-space: nowrap;
  }
}
.codeBox .codeBoxHeader .toggleButton,
.codeBox .codeBoxHeader button {
  flex: 0 0 auto;
}
.codeBox .codeBoxCode {
  position: relative;
  padding-left: 7ch;
}
.codeBox .codeBoxCode > code {
  display: block;
  overflow-x: auto;
  font-family: var(--wcfFontFamilyMonospace);
  font-size: 14px;
}
.codeBox .codeBoxCode > code .codeBoxLine {
  display: block;
}
.codeBox .codeBoxCode > code .codeBoxLine > a {
  margin-left: -7ch;
  overflow: hidden;
  position: absolute;
  text-align: right;
  text-overflow: ellipsis;
  white-space: nowrap;
  /* No one has line numbers greater than 999999 */
  width: 6ch;
}
.codeBox .codeBoxCode > code .codeBoxLine > a::before {
  content: attr(title);
}
.codeBox .codeBoxCode > code .codeBoxLine > span {
  tab-size: 4;
  white-space: pre;
  /* Prevent empty lines from collapsing. */
}
.codeBox .codeBoxCode > code .codeBoxLine > span:empty {
  display: inline-block;
}
@media screen and (min-width: 769px), print {
  .codeBox .codeBoxCode > code .codeBoxLine > span {
    white-space: pre-wrap;
    word-break: break-all;
  }
}
.codeBox .codeBoxCode > code .codeBoxLine:target {
  background-color: rgb(255, 255, 102);
}
.codeBox > .toggleButton {
  background-color: rgba(var(--wcfContentBackground-rgb)/0.9);
  border-radius: 0 0 var(--wcfBorderRadius) var(--wcfBorderRadius);
  cursor: pointer;
  display: block;
  padding: 10px 20px 0 10px;
  text-align: center;
  font-weight: 400;
}
@media screen and (min-width: 769px), print {
  .codeBox > .toggleButton {
    font-size: var(--wcfFontSizeSmall);
  }
}
@media screen and (max-width: 768px) {
  .codeBox > .toggleButton {
    font-size: 12px;
  }
}

.quoteBoxContent .codeBox .codeBoxHeader {
  /*
  	The quote box has its own stacking context, causing the `top` value
      to be relative to the quote box and not the document body.
      See https://community.woltlab.com/thread/293105-quelltext-innerhalb-eines-zitates-wird-teilweise-abgeschnitten/
  */
  top: 0;
}

.anchorFixedHeader:not(.disableAnchorFixedHeader):target .codeBoxHeader {
  top: -30px; /* see wsc31.scss */
}

.dialogContent .codeBox .codeBoxHeader {
  /* Prevent the header being sticky inside dialogs, which doesn't really work.  */
  position: static;
}

html[data-color-scheme=light] {
  /* PrismJS 1.29.0
  https://prismjs.com/download.html#themes=prism */
  /**
  * prism.js default theme for JavaScript, CSS and HTML
  * Based on dabblet (http://dabblet.com)
  * @author Lea Verou
  */
}
html[data-color-scheme=light] .prism-token.prism-comment,
html[data-color-scheme=light] .prism-token.prism-prolog,
html[data-color-scheme=light] .prism-token.prism-doctype,
html[data-color-scheme=light] .prism-token.prism-cdata {
  color: slategray;
}
html[data-color-scheme=light] .prism-token.prism-punctuation {
  color: #999;
}
html[data-color-scheme=light] .prism-token.prism-namespace {
  opacity: 0.7;
}
html[data-color-scheme=light] .prism-token.prism-property,
html[data-color-scheme=light] .prism-token.prism-tag,
html[data-color-scheme=light] .prism-token.prism-boolean,
html[data-color-scheme=light] .prism-token.prism-number,
html[data-color-scheme=light] .prism-token.prism-constant,
html[data-color-scheme=light] .prism-token.prism-symbol,
html[data-color-scheme=light] .prism-token.prism-deleted {
  color: #905;
}
html[data-color-scheme=light] .prism-token.prism-selector,
html[data-color-scheme=light] .prism-token.prism-attr-name,
html[data-color-scheme=light] .prism-token.prism-string,
html[data-color-scheme=light] .prism-token.prism-char,
html[data-color-scheme=light] .prism-token.prism-builtin,
html[data-color-scheme=light] .prism-token.prism-inserted {
  color: #690;
}
html[data-color-scheme=light] .prism-token.prism-operator,
html[data-color-scheme=light] .prism-token.prism-entity,
html[data-color-scheme=light] .prism-token.prism-url,
html[data-color-scheme=light] .prism-language-css .prism-token.prism-string,
html[data-color-scheme=light] .prism-style .prism-token.prism-string {
  color: #9a6e3a;
  /* This background color was intended by the author of this theme. */
  background: hsla(0, 0%, 100%, 0.5);
}
html[data-color-scheme=light] .prism-token.prism-atrule,
html[data-color-scheme=light] .prism-token.prism-attr-value,
html[data-color-scheme=light] .prism-token.prism-keyword {
  color: #07a;
}
html[data-color-scheme=light] .prism-token.prism-function,
html[data-color-scheme=light] .prism-token.prism-class-name {
  color: #dd4a68;
}
html[data-color-scheme=light] .prism-token.prism-regex,
html[data-color-scheme=light] .prism-token.prism-important,
html[data-color-scheme=light] .prism-token.prism-variable {
  color: #e90;
}
html[data-color-scheme=light] .prism-token.prism-important,
html[data-color-scheme=light] .prism-token.prism-bold {
  font-weight: bold;
}
html[data-color-scheme=light] .prism-token.prism-italic {
  font-style: italic;
}
html[data-color-scheme=light] .prism-token.prism-entity {
  cursor: help;
}

html[data-color-scheme=dark] {
  /* PrismJS 1.29.0
  https://prismjs.com/download.html#themes=prism-okaidia */
  /**
  * okaidia theme for JavaScript, CSS and HTML
  * Loosely based on Monokai textmate theme by http://www.monokai.nl/
  * @author ocodia
  */
}
html[data-color-scheme=dark] .prism-token.prism-comment,
html[data-color-scheme=dark] .prism-token.prism-prolog,
html[data-color-scheme=dark] .prism-token.prism-doctype,
html[data-color-scheme=dark] .prism-token.prism-cdata {
  color: #8292a2;
}
html[data-color-scheme=dark] .prism-token.prism-punctuation {
  color: #f8f8f2;
}
html[data-color-scheme=dark] .prism-token.prism-namespace {
  opacity: 0.7;
}
html[data-color-scheme=dark] .prism-token.prism-property,
html[data-color-scheme=dark] .prism-token.prism-tag,
html[data-color-scheme=dark] .prism-token.prism-constant,
html[data-color-scheme=dark] .prism-token.prism-symbol,
html[data-color-scheme=dark] .prism-token.prism-deleted {
  color: #f92672;
}
html[data-color-scheme=dark] .prism-token.prism-boolean,
html[data-color-scheme=dark] .prism-token.prism-number {
  color: #ae81ff;
}
html[data-color-scheme=dark] .prism-token.prism-selector,
html[data-color-scheme=dark] .prism-token.prism-attr-name,
html[data-color-scheme=dark] .prism-token.prism-string,
html[data-color-scheme=dark] .prism-token.prism-char,
html[data-color-scheme=dark] .prism-token.prism-builtin,
html[data-color-scheme=dark] .prism-token.prism-inserted {
  color: #a6e22e;
}
html[data-color-scheme=dark] .prism-token.prism-operator,
html[data-color-scheme=dark] .prism-token.prism-entity,
html[data-color-scheme=dark] .prism-token.prism-url,
html[data-color-scheme=dark] .prism-language-css .prism-token.prism-string,
html[data-color-scheme=dark] .prism-style .prism-token.prism-string,
html[data-color-scheme=dark] .prism-token.prism-variable {
  color: #f8f8f2;
}
html[data-color-scheme=dark] .prism-token.prism-atrule,
html[data-color-scheme=dark] .prism-token.prism-attr-value,
html[data-color-scheme=dark] .prism-token.prism-function,
html[data-color-scheme=dark] .prism-token.prism-class-name {
  color: #e6db74;
}
html[data-color-scheme=dark] .prism-token.prism-keyword {
  color: #66d9ef;
}
html[data-color-scheme=dark] .prism-token.prism-regex,
html[data-color-scheme=dark] .prism-token.prism-important {
  color: #fd971f;
}
html[data-color-scheme=dark] .prism-token.prism-important,
html[data-color-scheme=dark] .prism-token.prism-bold {
  font-weight: bold;
}
html[data-color-scheme=dark] .prism-token.prism-italic {
  font-style: italic;
}
html[data-color-scheme=dark] .prism-token.prism-entity {
  cursor: help;
}

.groupMention {
  background-color: var(--wcfSidebarBackground);
  border-radius: 2px;
  color: var(--wcfSidebarLink);
  padding: 1px 5px;
}
.groupMention::before {
  content: "@";
}
.groupMention:hover {
  color: var(--wcfSidebarLinkActive);
}

.inlineCode,
.ck-content *:not(pre) > code,
kbd {
  background-color: rgb(255, 255, 255) !important;
  border: 1px solid rgb(196, 196, 196) !important;
  border-radius: 2px;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
  color: rgb(68, 68, 68) !important;
  display: inline;
  font-family: var(--wcfFontFamilyMonospace);
  font-size: 13px;
  font-style: normal;
  font-weight: normal;
  overflow: auto;
  padding: 0.15em;
  text-decoration: none;
  word-break: break-word;
  word-wrap: break-word;
}

a:hover :is(.inlineCode, .ck-content *:not(pre) > code, kbd) {
  text-decoration: underline;
}

html[data-color-scheme=dark] :is(.inlineCode, .ck-content *:not(pre) > code, kbd) {
  background-color: #3a3f49 !important;
  border-color: #546172 !important;
  color: #bdbdbd !important;
}

small kbd {
  font-weight: 400;
}
@media screen and (min-width: 769px), print {
  small kbd {
    font-size: var(--wcfFontSizeSmall);
  }
}
@media screen and (max-width: 768px) {
  small kbd {
    font-size: 12px;
  }
}

@supports (-webkit-overflow-scrolling: touch) {
  .inlineCode,
  .ck-content code,
  kbd {
    -webkit-box-decoration-break: initial;
  }
}
.mediaBBCode {
  display: inline-table;
  max-width: 100%;
}
.mediaBBCode .mediaBBCodeCaption {
  color: var(--wcfContentDimmedText);
  display: table-caption;
  caption-side: bottom;
  margin-top: 5px;
  text-align: center;
  font-weight: 400;
}
@media screen and (min-width: 769px), print {
  .mediaBBCode .mediaBBCodeCaption {
    font-size: var(--wcfFontSizeSmall);
  }
}
@media screen and (max-width: 768px) {
  .mediaBBCode .mediaBBCodeCaption {
    font-size: 12px;
  }
}
.mediaBBCode .mediaBBCodeCaption .mediaBBCodeCaptionAlignment {
  display: inline-block;
  text-align: justify;
}
.mediaBBCode video {
  max-width: 100%;
  max-height: 72vh;
}

iframe.instagram-media {
  /* workaround for broken iframes without height on mobile */
  min-height: 530px;
  /* Prevent the <iframe> from overlapping adjacent elements. */
  position: relative !important;
}

.twitter-tweet > iframe {
  /* Workaround for ugly border in embedded tweets. */
  border-radius: 13px;
}

.mediaBBCodeContainerLeft {
  display: flex;
  justify-content: start;
}

.mediaBBCodeContainerRight {
  display: flex;
  justify-content: end;
}

.mediaBBCodeContainerCenter {
  display: flex;
  justify-content: center;
}

.quoteBox {
  background-color: var(--wcfContentBackground);
  border: 1px solid var(--wcfContentBorderInner);
  border-left-width: 5px;
  border-radius: 0 var(--wcfBorderRadius) var(--wcfBorderRadius) 0;
  clear: both;
  column-gap: 5px;
  display: grid;
  font-style: normal;
  grid-template-areas: "icon    title" "content content";
  grid-template-columns: 24px auto;
  margin: 2em 0 1em 0;
  overflow: hidden;
  padding: 15px 10px;
  row-gap: 10px;
}

.quoteBox.collapsed {
  position: relative;
}
.quoteBox.collapsed > .quoteBoxContent {
  overflow: hidden;
  max-height: 100px;
}
.quoteBox.collapsed > .toggleButton {
  bottom: 0;
  box-shadow: 0 -10px 50px 10px rgba(var(--wcfContentBackground-rgb)/0.9);
  left: 0;
  padding-bottom: 10px;
  position: absolute;
  right: 0;
  z-index: 1;
}

.quoteBox > .toggleButton {
  background-color: rgba(var(--wcfContentBackground-rgb)/0.9);
  cursor: pointer;
  display: block;
  grid-column: 1/-1;
  padding: 10px 20px 0 10px;
  text-align: center;
  font-weight: 400;
}
@media screen and (min-width: 769px), print {
  .quoteBox > .toggleButton {
    font-size: var(--wcfFontSizeSmall);
  }
}
@media screen and (max-width: 768px) {
  .quoteBox > .toggleButton {
    font-size: 12px;
  }
}

.quoteBoxTitle {
  align-self: center;
  color: var(--wcfContentDimmedText);
  grid-area: title;
}
.quoteBoxTitle a {
  color: inherit;
}
.quoteBoxTitle a:hover {
  color: inherit;
  text-decoration: underline;
}

.quoteBoxIcon {
  color: var(--wcfContentDimmedText);
  display: flex;
  grid-area: icon;
}

.quoteBoxContent {
  grid-area: content;
}

.quoteBox.collapsed .quoteBoxContent {
  display: -webkit-box;
  grid-area: content;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 5;
  line-clamp: 5;
}

.quoteBox.quoteBox--tabMenu {
  grid-template-areas: "icon    title   buttons" "content content content";
  grid-template-columns: 24px auto minmax(0, min-content);
  margin: 0;
}

.quoteBox.quoteBox--tabMenu + .quoteBox.quoteBox--tabMenu {
  margin-top: 10px;
}

.quoteBoxButtons {
  align-self: center;
  column-gap: 5px;
  display: flex;
  justify-content: end;
  grid-area: buttons;
  white-space: nowrap;
}

.quoteBox.quoteBox--tabMenu :is(.quoteBoxIcon, .quoteBoxTitle) {
  align-self: center;
}

.quoteBox.quoteBox--tabMenu .quoteBoxContent {
  pointer-events: none !important;
}

.quoteBox__bulk__actions {
  display: flex;
  gap: 5px;
  justify-content: end;
  margin-bottom: 10px;
}

@media screen and (max-width: 544px) {
  .messageTabMenu:not(.messageTabMenuContent) > .messageTabMenuContent.messageTabMenuContent--quotes.active {
    padding-left: 10px;
    padding-right: 10px;
  }
}
.spoilerBox {
  background-color: var(--wcfContentBackground);
  border: 1px solid var(--wcfContentBorderInner);
  border-radius: var(--wcfBorderRadius);
  margin: 1em 0;
}

.spoilerSummary {
  padding: 10px;
}

.spoilerBox[open] .spoilerContent {
  padding: 0 10px 10px 10px;
}

.spoilerContent > :first-child {
  margin-top: 0 !important;
}

.spoilerContent > :last-child {
  margin-bottom: 0 !important;
}

.ck.ck-content .mention,
.userMention {
  background-color: var(--wcfSidebarBackground);
  border-radius: 2px;
  padding: 1px 5px;
}

.userMention::before {
  content: "@";
}

/* scale embedded videos to maximum width */
.videoContainer {
  display: block;
  overflow: hidden;
  padding-bottom: 56.25%; /* 9 / 16 */
  position: relative;
  text-align: left;
}
.videoContainer iframe,
.videoContainer video {
  height: 100%;
  position: absolute;
  width: 100%;
}

.messageVideoContainer iframe {
  max-width: 100%;
}

dl:not(.plain) {
  display: block;
  /* The option */
}
dl:not(.plain):not(:first-child) {
  margin-top: 20px;
}
dl:not(.plain) > dt {
  color: var(--wcfInputLabel);
  display: block;
}
dl:not(.plain) > dt:not(:empty) {
  margin-bottom: 5px;
}
dl:not(.plain) > dd {
  display: block;
}
dl:not(.plain) > dd:not(:last-child) {
  margin-bottom: 20px;
}
dl:not(.plain) > dd > small:not(.innerError):not(.innerInfo):not(.innerSuccess):not(.innerWarning) {
  color: var(--wcfContentDimmedText);
  display: block;
  margin-top: 3px;
}
dl:not(.plain) > dd > label {
  display: block;
  /* indentation for checkbox descriptions */
}
dl:not(.plain) > dd > label + small:not(.innerError):not(.innerInfo):not(.innerSuccess):not(.innerWarning) {
  margin-left: 24px;
}
dl:not(.plain) > dd > label:not(:first-child) {
  margin-top: 5px;
}
dl:not(.plain) > dd.floated {
  display: flex;
  flex-wrap: wrap;
}
dl:not(.plain) > dd.floated > label {
  flex: 0 0 auto;
  margin: 0 10px 5px 0;
}
dl:not(.plain) > dd.floated > label:last-child {
  margin-right: 0;
}
dl:not(.plain) > dd.floated > label + small:not(.innerError):not(.innerInfo):not(.innerSuccess):not(.innerWarning) {
  margin-left: 0;
}
dl:not(.plain) > dd.floated small {
  flex: 1 1 100%;
}
dl:not(.plain).wide > dt {
  display: none;
}
dl:not(.plain) dt.checkboxList + dd::after,
dl:not(.plain) dd.checkboxList::after {
  content: "";
  clear: both;
  display: table;
}
dl:not(.plain) dt.checkboxList + dd label,
dl:not(.plain) dd.checkboxList label {
  float: left;
  clear: both;
}
dl:not(.plain) dt.checkboxList + dd small,
dl:not(.plain) dd.checkboxList small {
  clear: both;
}
dl.floated > dd {
  display: flex;
  flex-wrap: wrap;
}
dl.floated > dd > label {
  flex: 0 0 auto;
  margin: 0 10px 5px 0;
}
dl.floated > dd > label:last-child {
  margin-right: 0;
}
dl.floated > dd > label:not(:first-child) {
  margin-top: 0;
}
dl.floated > dd > label + small:not(.innerError):not(.innerInfo):not(.innerSuccess):not(.innerWarning) {
  margin-left: 0;
}
dl.floated > dd small {
  flex: 1 1 100%;
}
dl.dataList {
  overflow: hidden;
}
dl.dataList::before, dl.dataList::after {
  display: table;
  content: "";
}
dl.dataList::after {
  clear: both;
}
dl.dataList > dt {
  clear: right;
  color: var(--wcfContentDimmedText);
  float: left;
  margin-right: 4px;
  text-align: left;
}
dl.dataList > dt:after {
  content: ":";
}
dl.dataList > dd {
  float: right;
  min-height: 20px;
  text-align: right;
}
dl.dataList > dd:not(:last-child) {
  margin-bottom: 3px;
}
dl.inlineDataList > dt {
  display: inline-block;
  vertical-align: middle;
}
dl.inlineDataList > dt:after {
  content: ":";
  padding-left: 1px;
}
dl.inlineDataList > dd {
  display: inline-block;
  vertical-align: middle;
}
dl.inlineDataList > dd:not(:last-of-type):after {
  content: ",";
  padding-left: 1px;
}
dl.statsDataList {
  align-items: center;
  display: flex;
  flex-direction: row-reverse;
  flex-wrap: wrap;
}
dl.statsDataList > dt {
  color: var(--wcfContentDimmedText);
  flex: 0 0 60%;
  margin-left: 5px;
  overflow: hidden;
  text-align: left;
  white-space: nowrap;
  font-weight: 400;
}
@media screen and (min-width: 769px), print {
  dl.statsDataList > dt {
    font-size: var(--wcfFontSizeSmall);
  }
}
@media screen and (max-width: 768px) {
  dl.statsDataList > dt {
    font-size: 12px;
  }
}
dl.statsDataList > dd {
  flex: 0 0 auto;
  width: calc(40% - 5px); /* IE work-around */
  overflow: hidden;
  text-align: right;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* remove `margin-top` for `<dl>` inside grid */
.row.rowColGap > dl {
  margin-top: 0;
}

/* makes an inline-list */
.inlineList {
  display: flex;
  flex-wrap: wrap;
  /* adds a comma after each list item */
  /* adds a dot after each list item */
}
.inlineList > li {
  flex: 0 1 auto;
}
.inlineList > li:not(:last-child) {
  margin-right: 5px;
}
.inlineList.commaSeparated > li:not(:last-child):after {
  content: ",";
  padding-left: 1px;
}
.inlineList.dotSeparated > li:not(:last-child):after {
  content: "•";
  margin-left: 5px;
}

/* restores the native styling for lists */
.nativeList {
  margin: 1em 0 1em 40px;
}
.nativeList li {
  margin: 7px 0;
}

ul.nativeList {
  list-style-type: disc;
}

ol.nativeList {
  list-style-type: decimal;
}

/* tag cloud list */
.tagList {
  display: flex;
  flex-wrap: wrap;
  /* adds a comma after each list item */
  /* adds a dot after each list item */
  align-items: baseline;
  gap: 5px;
}
.tagList > li {
  flex: 0 1 auto;
}
.tagList > li:not(:last-child) {
  margin-right: 5px;
}
.tagList.commaSeparated > li:not(:last-child):after {
  content: ",";
  padding-left: 1px;
}
.tagList.dotSeparated > li:not(:last-child):after {
  content: "•";
  margin-left: 5px;
}
.tagList .tag {
  align-items: center;
  background-color: var(--wcfButtonBackground);
  border-radius: 999px;
  color: var(--wcfButtonText);
  display: flex;
  gap: 3px;
  padding: 2px 10px;
  text-decoration: none;
  font-weight: 400;
}
@media screen and (min-width: 769px), print {
  .tagList .tag {
    font-size: var(--wcfFontSizeSmall);
  }
}
@media screen and (max-width: 768px) {
  .tagList .tag {
    font-size: 12px;
  }
}
.tagList .tag:hover {
  background-color: var(--wcfButtonPrimaryBackgroundActive);
  color: var(--wcfButtonPrimaryTextActive);
  text-decoration: none;
}
.tagList .tagWeight1 {
  font-size: 12px;
}
.tagList .tagWeight2 {
  font-size: 14px;
}
.tagList .tagWeight3 {
  font-size: 16px;
}
.tagList .tagWeight4 {
  font-size: 18px;
}
.tagList .tagWeight5 {
  font-size: 20px;
}
.tagList .tagWeight6 {
  font-size: 23px;
}
.tagList .tagWeight7 {
  font-size: 28px;
}

/* list of smileys */
.smileyList {
  align-items: center;
  row-gap: 5px;
}

/* legacy styling (deprecated) */
ol.dataList,
ul.dataList {
  display: flex;
  flex-wrap: wrap;
  /* adds a comma after each list item */
  /* adds a dot after each list item */
  font-weight: 400;
}
ol.dataList > li,
ul.dataList > li {
  flex: 0 1 auto;
}
ol.dataList > li:not(:last-child),
ul.dataList > li:not(:last-child) {
  margin-right: 5px;
}
ol.dataList.commaSeparated > li:not(:last-child):after,
ul.dataList.commaSeparated > li:not(:last-child):after {
  content: ",";
  padding-left: 1px;
}
ol.dataList.dotSeparated > li:not(:last-child):after,
ul.dataList.dotSeparated > li:not(:last-child):after {
  content: "•";
  margin-left: 5px;
}
@media screen and (min-width: 769px), print {
  ol.dataList,
  ul.dataList {
    font-size: var(--wcfFontSizeSmall);
  }
}
@media screen and (max-width: 768px) {
  ol.dataList,
  ul.dataList {
    font-size: 12px;
  }
}
ol.dataList > li:not(:last-child):after,
ul.dataList > li:not(:last-child):after {
  content: ",";
  padding-left: 1px;
}

/* Font Awesome 7 Free: Regular */
@font-face {
  font-family: "Font Awesome 7 Free";
  font-style: normal;
  font-weight: 400;
  font-display: block !important;
  src: url("../font/fa-regular-400.woff2?v=7.3.1") format("woff2");
}
/* Font Awesome 7 Free: Solid */
@font-face {
  font-family: "Font Awesome 7 Free";
  font-style: normal;
  font-weight: 900;
  font-display: block !important;
  src: url("../font/fa-solid-900.woff2?v=7.3.1") format("woff2");
}
fa-brand,
fa-icon {
  align-items: center;
  display: inline-flex;
  height: var(--icon-size);
  justify-content: center;
  pointer-events: none;
  width: calc(var(--icon-size) * 1.25);
}
fa-brand:not(:upgraded),
fa-icon:not(:upgraded) {
  visibility: hidden !important;
}
fa-brand[hidden],
fa-icon[hidden] {
  display: none;
}
fa-brand[size="16"],
fa-icon[size="16"] {
  --font-size: 14px;
  --icon-size: 16px;
}
fa-brand[size="24"],
fa-icon[size="24"] {
  --font-size: 18px;
  --icon-size: 24px;
}
fa-brand[size="32"],
fa-icon[size="32"] {
  --font-size: 28px;
  --icon-size: 32px;
}
fa-brand[size="48"],
fa-icon[size="48"] {
  --font-size: 42px;
  --icon-size: 48px;
}
fa-brand[size="64"],
fa-icon[size="64"] {
  --font-size: 56px;
  --icon-size: 64px;
}
fa-brand[size="96"],
fa-icon[size="96"] {
  --font-size: 84px;
  --icon-size: 96px;
}
fa-brand[size="128"],
fa-icon[size="128"] {
  --font-size: 112px;
  --icon-size: 128px;
}
fa-brand[size="144"],
fa-icon[size="144"] {
  --font-size: 130px;
  --icon-size: 144px;
}

fa-icon {
  -moz-osx-font-smoothing: grayscale !important;
  -webkit-font-smoothing: antialiased !important;
  -webkit-user-select: none !important;
  font-family: var(--fa-font-family, "Font Awesome 7 Free") !important;
  font-size: var(--font-size) !important;
  font-style: normal !important;
  font-variant: normal !important;
  font-weight: var(--fa-font-weight, 400) !important;
  line-height: 1 !important;
  text-rendering: auto !important;
  user-select: none !important;
}
fa-icon[solid] {
  font-weight: 900 !important;
}

[disabled] :is(fa-brand, fa-icon),
.disabled :is(fa-brand, fa-icon) {
  opacity: 0.45;
}

/* @deprecated 6.0 Use the new icons instead, `.icon` is now just an easy-to-spot reminder. */
.icon,
.fa-spinner {
  align-items: center;
  background-color: #f0c !important;
  border-radius: 3px;
  display: inline-flex;
  font-family: inherit !important;
  height: var(--icon-size);
  justify-content: center;
  width: var(--icon-size);
}
.icon::before,
.fa-spinner::before {
  color: #fff !important;
  content: "?" !important;
  font-family: inherit !important;
  font-size: var(--font-size) !important;
}
.icon.icon16,
.fa-spinner.icon16 {
  --font-size: 14px;
  --icon-size: 16px;
}
.icon.icon24,
.fa-spinner.icon24 {
  --font-size: 18px;
  --icon-size: 24px;
}
.icon.icon32,
.fa-spinner.icon32 {
  --font-size: 28px;
  --icon-size: 32px;
}
.icon.icon48,
.fa-spinner.icon48 {
  --font-size: 42px;
  --icon-size: 48px;
}
.icon.icon64,
.fa-spinner.icon64 {
  --font-size: 56px;
  --icon-size: 64px;
}
.icon.icon96,
.fa-spinner.icon96 {
  --font-size: 84px;
  --icon-size: 96px;
}
.icon.icon128,
.fa-spinner.icon128 {
  --font-size: 112px;
  --icon-size: 128px;
}
.icon.icon144,
.fa-spinner.icon144 {
  --font-size: 130px;
  --icon-size: 144px;
}

fa-icon {
  --preset-black: #333;
  --preset-blue: #369;
  --preset-brown: #c63;
  --preset-green: #090;
  --preset-orange: #f90;
  --preset-pink: #f0c;
  --preset-purple: #c0f;
  --preset-red: #c00;
  --preset-yellow: #ff0;
}

html[data-color-scheme=dark] fa-icon {
  --preset-black: #8c8c8c;
  --preset-blue: #478cd1;
  --preset-brown: #ad8476;
  --preset-green: #2ea336;
  --preset-orange: #f57c00;
  --preset-pink: #f23ac8;
  --preset-purple: #9c7bd5;
  --preset-red: #eb5c7b;
  --preset-yellow: #ffeb3b;
}

.green fa-icon {
  color: var(--preset-green);
}

.red fa-icon {
  color: var(--preset-red);
}

.black fa-icon {
  color: var(--preset-black);
}

.brown fa-icon {
  color: var(--preset-brown);
}

.orange fa-icon {
  color: var(--preset-orange);
}

.yellow fa-icon {
  color: var(--preset-yellow);
}

.blue fa-icon {
  color: var(--preset-blue);
}

.purple fa-icon {
  color: var(--preset-purple);
}

.pink fa-icon {
  color: var(--preset-pink);
}

/* default styling for all boxes */
.box {
  box-sizing: border-box;
}

.boxImage img {
  height: auto;
  max-width: 100%;
}

.boxTitle {
  font-weight: 400;
  line-height: 1.28;
}
@media screen and (min-width: 769px), print {
  .boxTitle {
    font-size: var(--wcfFontSizeHeadline);
  }
}
@media screen and (max-width: 768px) {
  .boxTitle {
    font-size: 18px;
  }
}
.boxTitle + .boxContent {
  margin-top: 20px;
}
.boxTitle .badge {
  top: -2px;
}

.boxContent + .boxContent {
  margin-top: 20px;
}

.boxContent + .boxTitle {
  margin-top: 30px;
}

.boxContent .section:first-child {
  margin-top: 0;
}

.boxContentSeparator {
  background-color: var(--wcfContentBorderInner);
  border: 0;
  height: 1px;
  margin: 30px auto;
  width: 60%;
}

/* styling for boxes in <hero> position */
@media screen and (max-width: 1024px) {
  .boxesHero .boxContainer {
    padding: 40px 0;
  }
}
@media screen and (min-width: 1025px), print {
  .boxesHero .boxContainer {
    padding: 60px 0;
  }
}
.boxesHero .box {
  text-align: center;
}
@media screen and (max-width: 1024px) {
  .boxesHero .box:not(:last-child) {
    margin-bottom: 40px;
  }
}
@media screen and (min-width: 1025px), print {
  .boxesHero .box:not(:last-child) {
    margin-bottom: 60px;
  }
}
.boxesHero .boxTitle {
  font-weight: 600;
  line-height: 1.05;
}
@media screen and (min-width: 769px), print {
  .boxesHero .boxTitle {
    font-size: var(--wcfFontSizeTitle);
  }
}
@media screen and (max-width: 768px) {
  .boxesHero .boxTitle {
    font-size: 23px;
  }
}
.boxesHero .boxWithImage {
  display: flex;
  flex-wrap: wrap;
}
.boxesHero .boxWithImage .boxImage,
.boxesHero .boxWithImage .boxTitle,
.boxesHero .boxWithImage .boxContent {
  flex: 0 0 100%;
}
.boxesHero .boxWithImage .boxImage {
  align-items: center;
  display: flex;
  justify-content: center;
  max-height: 750px;
  order: 3;
  overflow: hidden;
}
@media screen and (max-width: 1024px) {
  .boxesHero .boxWithImage .boxImage {
    margin-top: 20px;
  }
}
@media screen and (min-width: 1025px), print {
  .boxesHero .boxWithImage .boxImage {
    margin-top: 30px;
  }
}

/* styling for boxes in <headerBoxes> position */
.boxesHeaderBoxes {
  background-color: var(--wcfFooterBoxBackground);
  color: var(--wcfFooterBoxText);
}
.boxesHeaderBoxes a {
  color: var(--wcfFooterBoxLink);
}
.boxesHeaderBoxes a:hover {
  color: var(--wcfFooterBoxLinkActive);
}
@media screen and (min-width: 545px), print {
  .boxesHeaderBoxes .boxContainer {
    display: flex;
    flex-wrap: wrap;
  }
}
@media screen and (max-width: 1024px) {
  .boxesHeaderBoxes .boxContainer {
    padding: 40px 0;
    margin-bottom: -40px;
    margin-left: -10px;
    margin-right: -10px;
  }
}
@media screen and (min-width: 1025px), print {
  .boxesHeaderBoxes .boxContainer {
    padding: 60px 0;
    margin-bottom: -60px;
    margin-left: -15px;
    margin-right: -15px;
  }
}
.boxesHeaderBoxes .box {
  overflow: hidden;
  padding-left: 15px;
  padding-right: 15px;
}
@media screen and (max-width: 1024px) {
  .boxesHeaderBoxes .box {
    margin-bottom: 40px;
  }
}
@media screen and (min-width: 545px) and (max-width: 1024px) {
  .boxesHeaderBoxes .box {
    flex: 0 0 50%;
    max-width: 50%;
    /* one item */
  }
  .boxesHeaderBoxes .box.boxFullWidth {
    flex-basis: 100%;
    max-width: 100%;
  }
  .boxesHeaderBoxes .box:first-child:nth-last-child(1) {
    flex-basis: 100%;
    max-width: 100%;
  }
}
@media screen and (min-width: 1025px), print {
  .boxesHeaderBoxes .box {
    flex: 0 0 25%;
    margin-bottom: 60px;
    max-width: 25%;
    /* one item */
    /* two items */
    /* three items */
  }
  .boxesHeaderBoxes .box.boxFullWidth {
    flex-basis: 100%;
    max-width: 100%;
  }
  .boxesHeaderBoxes .box:first-child:nth-last-child(1) {
    flex-basis: 100%;
    max-width: 100%;
  }
  .boxesHeaderBoxes .box:first-child:nth-last-child(2), .boxesHeaderBoxes .box:first-child:nth-last-child(2) ~ .box {
    flex-basis: 50%;
    max-width: 50%;
  }
  .boxesHeaderBoxes .box:first-child:nth-last-child(3), .boxesHeaderBoxes .box:first-child:nth-last-child(3) ~ .box {
    flex-basis: 33.3333%;
    max-width: 33.3333%;
  }
}
.boxesHeaderBoxes .boxImage {
  align-items: center;
  display: flex;
  justify-content: center;
  margin-bottom: 20px;
  max-height: 100px;
  overflow: hidden;
}

/* styling for boxes in <top>/<bottom> position */
@media screen and (max-width: 1024px) {
  .boxesTop .box,
  .boxesBottom .box {
    margin-bottom: 40px;
    margin-top: 40px;
  }
}
@media screen and (min-width: 1025px), print {
  .boxesTop .box,
  .boxesBottom .box {
    margin-bottom: 60px;
    margin-top: 60px;
  }
}
.boxesTop .boxTitle,
.boxesBottom .boxTitle {
  color: var(--wcfContentHeadlineText);
  font-weight: 600;
  line-height: 1.28;
}
@media screen and (min-width: 769px), print {
  .boxesTop .boxTitle,
  .boxesBottom .boxTitle {
    font-size: var(--wcfFontSizeSection);
  }
}
@media screen and (max-width: 768px) {
  .boxesTop .boxTitle,
  .boxesBottom .boxTitle {
    font-size: 20px;
  }
}
.boxesTop .boxTitle a,
.boxesBottom .boxTitle a {
  color: var(--wcfContentHeadlineLink);
}
.boxesTop .boxTitle a:hover,
.boxesBottom .boxTitle a:hover {
  color: var(--wcfContentHeadlineLinkActive);
}
@media screen and (max-width: 544px) {
  .boxesTop .boxImage,
  .boxesBottom .boxImage {
    align-items: center;
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
    max-height: 100px;
    overflow: hidden;
  }
}
@media screen and (min-width: 545px), print {
  .boxesTop .boxImage,
  .boxesBottom .boxImage {
    width: 30%;
  }
  .boxesTop .boxWithImage::before, .boxesTop .boxWithImage::after,
  .boxesBottom .boxWithImage::before,
  .boxesBottom .boxWithImage::after {
    display: table;
    content: "";
  }
  .boxesTop .boxWithImage::after,
  .boxesBottom .boxWithImage::after {
    clear: both;
  }
  .boxesTop .boxWithImage:nth-child(odd) .boxImage,
  .boxesBottom .boxWithImage:nth-child(odd) .boxImage {
    float: left;
  }
  .boxesTop .boxWithImage:nth-child(even) .boxImage,
  .boxesBottom .boxWithImage:nth-child(even) .boxImage {
    float: right;
  }
}
@media screen and (min-width: 545px) and (max-width: 1024px) {
  .boxesTop .boxWithImage:nth-child(odd) .boxImage,
  .boxesBottom .boxWithImage:nth-child(odd) .boxImage {
    margin: 0 10px 10px 0;
  }
  .boxesTop .boxWithImage:nth-child(even) .boxImage,
  .boxesBottom .boxWithImage:nth-child(even) .boxImage {
    margin: 0 0 10px 10px;
  }
}
@media screen and (min-width: 1025px), print {
  .boxesTop .boxWithImage:nth-child(odd) .boxImage,
  .boxesBottom .boxWithImage:nth-child(odd) .boxImage {
    margin: 0 20px 20px 0;
  }
  .boxesTop .boxWithImage:nth-child(even) .boxImage,
  .boxesBottom .boxWithImage:nth-child(even) .boxImage {
    margin: 0 0 20px 20px;
  }
}

.boxesTop {
  border-bottom: 1px solid var(--wcfContentBorderInner);
}

.boxesBottom {
  border-top: 1px solid var(--wcfContentBorderInner);
}

/* styling for boxes in <sidebarLeft>/<sidebarRight> position */
.boxesSidebarLeft,
.boxesSidebarRight {
  color: var(--wcfSidebarText);
}
.boxesSidebarLeft a,
.boxesSidebarRight a {
  color: var(--wcfSidebarLink);
}
.boxesSidebarLeft a:hover,
.boxesSidebarRight a:hover {
  color: var(--wcfSidebarLinkActive);
}
@media screen and (min-width: 545px) and (max-width: 768px) {
  .boxesSidebarLeft > .boxContainer,
  .boxesSidebarRight > .boxContainer {
    --column-count: 2;
  }
}
@media screen and (min-width: 769px) and (max-width: 1024px) {
  .boxesSidebarLeft > .boxContainer,
  .boxesSidebarRight > .boxContainer {
    --column-count: 3;
  }
}
@media screen and (min-width: 545px) and (max-width: 1024px) {
  .boxesSidebarLeft > .boxContainer,
  .boxesSidebarRight > .boxContainer {
    display: grid;
    gap: 30px;
    grid-template-columns: repeat(var(--column-count), 1fr);
  }
  .boxesSidebarLeft > .boxContainer > .box,
  .boxesSidebarRight > .boxContainer > .box {
    margin: 0 !important;
  }
}
.boxesSidebarLeft small,
.boxesSidebarLeft .dimmed,
.boxesSidebarRight small,
.boxesSidebarRight .dimmed {
  color: var(--wcfSidebarDimmedText);
}
.boxesSidebarLeft small a,
.boxesSidebarLeft .dimmed a,
.boxesSidebarRight small a,
.boxesSidebarRight .dimmed a {
  color: var(--wcfSidebarDimmedLink);
}
.boxesSidebarLeft small a:hover,
.boxesSidebarLeft .dimmed a:hover,
.boxesSidebarRight small a:hover,
.boxesSidebarRight .dimmed a:hover {
  color: var(--wcfSidebarDimmedLinkActive);
}
.boxesSidebarLeft .boxTitle,
.boxesSidebarRight .boxTitle {
  color: var(--wcfSidebarHeadlineText);
}
.boxesSidebarLeft .boxTitle a,
.boxesSidebarRight .boxTitle a {
  color: var(--wcfSidebarHeadlineLink);
}
.boxesSidebarLeft .boxTitle a:hover,
.boxesSidebarRight .boxTitle a:hover {
  color: var(--wcfSidebarHeadlineLinkActive);
}
.boxesSidebarLeft .box,
.boxesSidebarRight .box {
  border-radius: var(--wcfBorderRadius);
}
.boxesSidebarLeft .box:not(.boxBorderless),
.boxesSidebarRight .box:not(.boxBorderless) {
  background-color: var(--wcfSidebarBackground);
  border: 1px solid var(--wcfSidebarBorder);
}
@media screen and (max-width: 1024px) {
  .boxesSidebarLeft .box:not(.boxBorderless),
  .boxesSidebarRight .box:not(.boxBorderless) {
    padding: 20px 10px;
  }
  .boxesSidebarLeft .box:not(.boxBorderless) .boxMenu,
  .boxesSidebarRight .box:not(.boxBorderless) .boxMenu {
    margin-left: -10px;
    margin-right: -10px;
  }
}
@media screen and (min-width: 1025px), print {
  .boxesSidebarLeft .box:not(.boxBorderless),
  .boxesSidebarRight .box:not(.boxBorderless) {
    padding: 20px;
  }
  .boxesSidebarLeft .box:not(.boxBorderless) .boxMenu,
  .boxesSidebarRight .box:not(.boxBorderless) .boxMenu {
    margin-left: -20px;
    margin-right: -20px;
  }
}
.boxesSidebarLeft .box:not(:first-child),
.boxesSidebarRight .box:not(:first-child) {
  margin-top: 30px;
}
.boxesSidebarLeft .box.boxError .boxTitle, .boxesSidebarLeft .box.boxInfo .boxTitle, .boxesSidebarLeft .box.boxSuccess .boxTitle, .boxesSidebarLeft .box.boxWarning .boxTitle,
.boxesSidebarRight .box.boxError .boxTitle,
.boxesSidebarRight .box.boxInfo .boxTitle,
.boxesSidebarRight .box.boxSuccess .boxTitle,
.boxesSidebarRight .box.boxWarning .boxTitle {
  color: inherit;
}
.boxesSidebarLeft .box.boxError a:not(.button), .boxesSidebarLeft .box.boxInfo a:not(.button), .boxesSidebarLeft .box.boxSuccess a:not(.button), .boxesSidebarLeft .box.boxWarning a:not(.button),
.boxesSidebarRight .box.boxError a:not(.button),
.boxesSidebarRight .box.boxInfo a:not(.button),
.boxesSidebarRight .box.boxSuccess a:not(.button),
.boxesSidebarRight .box.boxWarning a:not(.button) {
  font-weight: 600;
}
.boxesSidebarLeft .box.boxError a:not(.button):hover, .boxesSidebarLeft .box.boxInfo a:not(.button):hover, .boxesSidebarLeft .box.boxSuccess a:not(.button):hover, .boxesSidebarLeft .box.boxWarning a:not(.button):hover,
.boxesSidebarRight .box.boxError a:not(.button):hover,
.boxesSidebarRight .box.boxInfo a:not(.button):hover,
.boxesSidebarRight .box.boxSuccess a:not(.button):hover,
.boxesSidebarRight .box.boxWarning a:not(.button):hover {
  text-decoration: underline;
}
.boxesSidebarLeft .box.boxError,
.boxesSidebarRight .box.boxError {
  background-color: var(--wcfStatusErrorBackground);
  border-color: var(--wcfStatusErrorBorder);
  color: var(--wcfStatusErrorText);
}
.boxesSidebarLeft .box.boxError a:not(.button),
.boxesSidebarRight .box.boxError a:not(.button) {
  color: var(--wcfStatusErrorLink);
}
.boxesSidebarLeft .box.boxError a:not(.button):hover,
.boxesSidebarRight .box.boxError a:not(.button):hover {
  color: var(--wcfStatusErrorLinkActive);
}
.boxesSidebarLeft .box.boxInfo,
.boxesSidebarRight .box.boxInfo {
  background-color: var(--wcfStatusInfoBackground);
  border-color: var(--wcfStatusInfoBorder);
  color: var(--wcfStatusInfoText);
}
.boxesSidebarLeft .box.boxInfo a:not(.button),
.boxesSidebarRight .box.boxInfo a:not(.button) {
  color: var(--wcfStatusInfoLink);
}
.boxesSidebarLeft .box.boxInfo a:not(.button):hover,
.boxesSidebarRight .box.boxInfo a:not(.button):hover {
  color: var(--wcfStatusInfoLinkActive);
}
.boxesSidebarLeft .box.boxSuccess,
.boxesSidebarRight .box.boxSuccess {
  background-color: var(--wcfStatusSuccessBackground);
  border-color: var(--wcfStatusSuccessBorder);
  color: var(--wcfStatusSuccessText);
}
.boxesSidebarLeft .box.boxSuccess a:not(.button),
.boxesSidebarRight .box.boxSuccess a:not(.button) {
  color: var(--wcfStatusSuccessLink);
}
.boxesSidebarLeft .box.boxSuccess a:not(.button):hover,
.boxesSidebarRight .box.boxSuccess a:not(.button):hover {
  color: var(--wcfStatusSuccessLinkActive);
}
.boxesSidebarLeft .box.boxWarning,
.boxesSidebarRight .box.boxWarning {
  background-color: var(--wcfStatusWarningBackground);
  border-color: var(--wcfStatusWarningBorder);
  color: var(--wcfStatusWarningText);
}
.boxesSidebarLeft .box.boxWarning a:not(.button),
.boxesSidebarRight .box.boxWarning a:not(.button) {
  color: var(--wcfStatusWarningLink);
}
.boxesSidebarLeft .box.boxWarning a:not(.button):hover,
.boxesSidebarRight .box.boxWarning a:not(.button):hover {
  color: var(--wcfStatusWarningLinkActive);
}
.boxesSidebarLeft .box .boxMenu .boxMenuLink,
.boxesSidebarRight .box .boxMenu .boxMenuLink {
  align-items: flex-start;
  display: flex;
  padding: 5px 20px;
}
.boxesSidebarLeft .box .boxMenu .boxMenuLink .boxMenuLinkTitle,
.boxesSidebarRight .box .boxMenu .boxMenuLink .boxMenuLinkTitle {
  flex: 1 1 auto;
}
.boxesSidebarLeft .box .boxMenu .boxMenuLink .badge,
.boxesSidebarRight .box .boxMenu .boxMenuLink .badge {
  flex: 0 0 auto;
}
.boxesSidebarLeft .box .boxMenu li.active > .boxMenuLink,
.boxesSidebarRight .box .boxMenu li.active > .boxMenuLink {
  background-color: var(--wcfContentBackground);
  color: var(--wcfContentLink);
}
.boxesSidebarLeft .box .boxMenu li.active > .boxMenuLink:hover,
.boxesSidebarRight .box .boxMenu li.active > .boxMenuLink:hover {
  color: var(--wcfContentLinkActive);
}
.boxesSidebarLeft .box .boxMenu .boxMenuDepth1 .boxMenuLink,
.boxesSidebarRight .box .boxMenu .boxMenuDepth1 .boxMenuLink {
  padding-left: 40px;
}
.boxesSidebarLeft .box .boxMenu .boxMenuDepth2 .boxMenuLink,
.boxesSidebarRight .box .boxMenu .boxMenuDepth2 .boxMenuLink {
  padding-left: 60px;
}
.boxesSidebarLeft .box .boxMenu .boxMenuItem .boxMenuLink,
.boxesSidebarRight .box .boxMenu .boxMenuItem .boxMenuLink {
  padding-left: 100px;
}
.boxesSidebarLeft .box .boxMenu .boxMenuItemDepth1 .boxMenuLink,
.boxesSidebarRight .box .boxMenu .boxMenuItemDepth1 .boxMenuLink {
  padding-left: 20px;
}
.boxesSidebarLeft .box .boxMenu .boxMenuItemDepth2 .boxMenuLink,
.boxesSidebarRight .box .boxMenu .boxMenuItemDepth2 .boxMenuLink {
  padding-left: 40px;
}
.boxesSidebarLeft .box .boxMenu .boxMenuItemDepth3 .boxMenuLink,
.boxesSidebarRight .box .boxMenu .boxMenuItemDepth3 .boxMenuLink {
  padding-left: 60px;
}
.boxesSidebarLeft .box .boxMenu .boxMenuItemDepth4 .boxMenuLink,
.boxesSidebarRight .box .boxMenu .boxMenuItemDepth4 .boxMenuLink {
  padding-left: 80px;
}
@media screen and (max-width: 544px) {
  .boxesSidebarLeft .boxImage,
  .boxesSidebarRight .boxImage {
    align-items: center;
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
    max-height: 100px;
    overflow: hidden;
  }
}
@media screen and (min-width: 545px) and (max-width: 1024px) {
  .boxesSidebarLeft .boxWithImage::before, .boxesSidebarLeft .boxWithImage::after,
  .boxesSidebarRight .boxWithImage::before,
  .boxesSidebarRight .boxWithImage::after {
    display: table;
    content: "";
  }
  .boxesSidebarLeft .boxWithImage::after,
  .boxesSidebarRight .boxWithImage::after {
    clear: both;
  }
  .boxesSidebarLeft .boxWithImage .boxTitle,
  .boxesSidebarLeft .boxWithImage .boxContent,
  .boxesSidebarRight .boxWithImage .boxTitle,
  .boxesSidebarRight .boxWithImage .boxContent {
    margin-left: calc(30% + 15px);
  }
  .boxesSidebarLeft .boxImage,
  .boxesSidebarRight .boxImage {
    float: left;
    width: 30%;
  }
}
@media screen and (min-width: 1025px), print {
  .boxesSidebarLeft .boxImage,
  .boxesSidebarRight .boxImage {
    align-items: center;
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
    max-height: 100px;
    overflow: hidden;
  }
}

.boxesSidebarLeft .box .boxMenu li.active > .boxMenuLink,
.boxesSidebarRight .box .boxMenu li.active > .boxMenuLink {
  border-radius: var(--wcfBorderRadius);
  margin-left: 10px;
  margin-right: 10px;
  padding-left: 10px;
  padding-right: 10px;
}
.boxesSidebarLeft .box .boxMenu .boxMenuDepth1 li.active > .boxMenuLink,
.boxesSidebarRight .box .boxMenu .boxMenuDepth1 li.active > .boxMenuLink {
  padding-left: 30px;
}
.boxesSidebarLeft .box .boxMenu .boxMenuDepth2 li.active > .boxMenuLink,
.boxesSidebarRight .box .boxMenu .boxMenuDepth2 li.active > .boxMenuLink {
  padding-left: 50px;
}
.boxesSidebarLeft .box .boxMenu li.active.boxMenuItemDepth2 .boxMenuLink,
.boxesSidebarRight .box .boxMenu li.active.boxMenuItemDepth2 .boxMenuLink {
  padding-left: 30px;
}
.boxesSidebarLeft .box .boxMenu li.active.boxMenuItemDepth3 .boxMenuLink,
.boxesSidebarRight .box .boxMenu li.active.boxMenuItemDepth3 .boxMenuLink {
  padding-left: 50px;
}
.boxesSidebarLeft .box .boxMenu li.active.boxMenuItemDepth4 .boxMenuLink,
.boxesSidebarRight .box .boxMenu li.active.boxMenuItemDepth4 .boxMenuLink {
  padding-left: 70px;
}

/* collapsible sidebar for mobile devices */
@media screen and (max-width: 1024px) {
  .main > .layoutBoundary {
    display: flex;
    flex-wrap: wrap;
  }
  .main > .layoutBoundary > .content {
    flex: 0 0 100%;
    order: 2;
  }
  .main > .layoutBoundary > .boxesSidebarLeft {
    order: 1;
  }
  .main > .layoutBoundary > .boxesSidebarRight {
    order: 3;
  }
  .boxesSidebarLeft {
    flex: 1 0 100%;
    pointer-events: none;
  }
  .boxesSidebarLeft > .boxContainer {
    pointer-events: all;
  }
  .boxesSidebarLeft:not(.open) {
    flex: 1 50%;
  }
  .boxesSidebarLeft:not(.open) > .boxContainer {
    display: none;
  }
  .boxesSidebarLeft::before {
    background-color: var(--wcfSidebarBackground);
    color: var(--wcfSidebarLink);
    content: attr(data-show-sidebar);
    display: block;
    padding: 10px 0;
    pointer-events: all;
    text-align: center;
  }
  .boxesSidebarLeft.open::before {
    content: attr(data-hide-sidebar);
    margin-bottom: 20px;
  }
  .boxesSidebarLeft.boxesSidebarLeftHasMenu::before {
    content: attr(data-show-navigation);
  }
  .boxesSidebarLeft.boxesSidebarLeftHasMenu.open::before {
    content: attr(data-hide-navigation);
  }
  .boxesSidebarRight {
    flex: 1 0 100%;
  }
}
/* styling for boxes in <contentTop>/<contentBottom> position */
.boxesContentTop .box:not(:first-child),
.boxesContentBottom .box:not(:first-child) {
  margin-top: 40px;
}
.boxesContentTop .boxTitle,
.boxesContentBottom .boxTitle {
  color: var(--wcfContentHeadlineText);
  font-weight: 600;
  line-height: 1.28;
}
@media screen and (min-width: 769px), print {
  .boxesContentTop .boxTitle,
  .boxesContentBottom .boxTitle {
    font-size: var(--wcfFontSizeSection);
  }
}
@media screen and (max-width: 768px) {
  .boxesContentTop .boxTitle,
  .boxesContentBottom .boxTitle {
    font-size: 20px;
  }
}
.boxesContentTop .boxTitle a,
.boxesContentBottom .boxTitle a {
  color: var(--wcfContentHeadlineLink);
}
.boxesContentTop .boxTitle a:hover,
.boxesContentBottom .boxTitle a:hover {
  color: var(--wcfContentHeadlineLinkActive);
}
.boxesContentTop .box.boxInfo,
.boxesContentBottom .box.boxInfo {
  background-color: var(--wcfStatusInfoBackground);
  border-color: var(--wcfStatusInfoBorder);
  color: var(--wcfStatusInfoText);
  padding: 20px;
  text-align: center;
}
.boxesContentTop .box.boxInfo a:not(.button),
.boxesContentBottom .box.boxInfo a:not(.button) {
  color: var(--wcfStatusInfoLink);
  font-weight: 600;
}
.boxesContentTop .box.boxInfo a:not(.button):hover,
.boxesContentBottom .box.boxInfo a:not(.button):hover {
  color: var(--wcfStatusInfoLinkActive);
  text-decoration: underline;
}
.boxesContentTop .box.boxInfo .formSubmit,
.boxesContentBottom .box.boxInfo .formSubmit {
  margin-top: 20px;
}
@media screen and (max-width: 544px) {
  .boxesContentTop .boxImage,
  .boxesContentBottom .boxImage {
    align-items: center;
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
    max-height: 100px;
    overflow: hidden;
  }
}
@media screen and (min-width: 545px), print {
  .boxesContentTop .boxWithImage::before, .boxesContentTop .boxWithImage::after,
  .boxesContentBottom .boxWithImage::before,
  .boxesContentBottom .boxWithImage::after {
    display: table;
    content: "";
  }
  .boxesContentTop .boxWithImage::after,
  .boxesContentBottom .boxWithImage::after {
    clear: both;
  }
  .boxesContentTop .boxImage,
  .boxesContentBottom .boxImage {
    float: left;
    width: 30%;
  }
}
@media screen and (min-width: 545px) and (max-width: 1024px) {
  .boxesContentTop .boxImage,
  .boxesContentBottom .boxImage {
    margin: 0 10px 10px 0;
  }
}
@media screen and (min-width: 1025px), print {
  .boxesContentTop .boxImage,
  .boxesContentBottom .boxImage {
    margin: 0 20px 20px 0;
  }
}

.boxesContentTop:not(:first-child) {
  margin-top: 40px;
}

.boxesContentBottom {
  margin-top: 40px;
}

/* styling for boxes in <footerBoxes> position */
.boxesFooterBoxes {
  background-color: var(--wcfFooterBoxBackground);
  color: var(--wcfFooterBoxText);
}
.boxesFooterBoxes a {
  color: var(--wcfFooterBoxLink);
}
.boxesFooterBoxes a:hover {
  color: var(--wcfFooterBoxLinkActive);
}
@media screen and (max-width: 768px) {
  .boxesFooterBoxes .boxContainer {
    display: flex;
    flex-direction: column;
    padding: 40px 0;
    row-gap: 40px;
  }
}
@media screen and (min-width: 769px), print {
  .boxesFooterBoxes .boxContainer {
    column-gap: 30px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    padding: 60px 0;
    row-gap: 60px;
  }
}
@media screen and (min-width: 769px), print {
  .boxesFooterBoxes .box.boxFullWidth {
    grid-column: span 2;
  }
}
.boxesFooterBoxes .boxTitle {
  color: var(--wcfFooterBoxHeadlineText);
}
.boxesFooterBoxes .boxTitle a {
  color: var(--wcfFooterBoxHeadlineLink);
}
.boxesFooterBoxes .boxTitle a:hover {
  color: var(--wcfFooterBoxHeadlineLinkActive);
}
.boxesFooterBoxes .boxImage {
  align-items: center;
  display: flex;
  justify-content: center;
  margin-bottom: 20px;
  max-height: 100px;
  overflow: hidden;
}

/* styling for boxes in <footer> position */
.boxesFooter {
  background-color: var(--wcfFooterBackground);
  color: var(--wcfFooterText);
  padding: 20px 0;
}
.boxesFooter .layoutBoundary {
  position: relative;
}
.boxesFooter a {
  color: var(--wcfFooterLink);
}
.boxesFooter a:hover {
  color: var(--wcfFooterLinkActive);
  text-decoration: underline;
}
.boxesFooter .box:not(:first-child) {
  margin-top: 20px;
}
.boxesFooter .boxTitle {
  color: var(--wcfFooterHeadlineText);
}
.boxesFooter .boxTitle a {
  color: var(--wcfFooterHeadlineLink);
}
.boxesFooter .boxTitle a:hover {
  color: var(--wcfFooterHeadlineLinkActive);
}
@media screen and (max-width: 544px) {
  .boxesFooter .boxImage {
    align-items: center;
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
    max-height: 100px;
    overflow: hidden;
  }
}
@media screen and (min-width: 545px), print {
  .boxesFooter .boxWithImage::before, .boxesFooter .boxWithImage::after {
    display: table;
    content: "";
  }
  .boxesFooter .boxWithImage::after {
    clear: both;
  }
  .boxesFooter .boxImage {
    float: left;
    width: 30%;
  }
}
@media screen and (min-width: 545px) and (max-width: 1024px) {
  .boxesFooter .boxImage {
    margin: 0 10px 10px 0;
  }
}
@media screen and (min-width: 1025px), print {
  .boxesFooter .boxImage {
    margin: 0 20px 20px 0;
  }
}
.boxesFooter .boxMenuLinkGroup .boxMenu > li > ol a {
  color: var(--wcfFooterText);
}

.styleChanger {
  position: absolute;
  right: 20px;
  z-index: 1;
}
.styleChanger button {
  color: var(--wcfFooterLink);
}
@media screen and (max-width: 1024px) {
  .styleChanger {
    right: 10px;
  }
}

@media (hover: hover) {
  .styleChanger button:hover {
    color: var(--wcfFooterLinkActive);
    text-decoration: underline;
  }
}
html[data-color-scheme=dark] .page__colorScheme--light {
  display: none !important;
}

html:not([data-color-scheme=dark]) .page__colorScheme--dark {
  display: none !important;
}

.boxesTop .boxMenu,
.boxesBottom .boxMenu,
.boxesFooter .boxMenu {
  display: inline-flex;
  flex-wrap: wrap;
  margin-left: -10px;
  margin-right: -10px;
}
.boxesTop .boxMenu > li,
.boxesBottom .boxMenu > li,
.boxesFooter .boxMenu > li {
  flex: 0 0 auto;
  padding-left: 10px;
  padding-right: 10px;
}
@media screen and (max-width: 1024px) {
  .boxesTop .boxMenu > li,
  .boxesBottom .boxMenu > li,
  .boxesFooter .boxMenu > li {
    margin-bottom: 10px;
    margin-top: 10px;
  }
}
.boxesTop .boxMenuLinkGroup:not(:first-child),
.boxesBottom .boxMenuLinkGroup:not(:first-child),
.boxesFooter .boxMenuLinkGroup:not(:first-child) {
  margin-top: 40px;
}
.boxesTop .boxMenuLinkGroup .boxMenu,
.boxesBottom .boxMenuLinkGroup .boxMenu,
.boxesFooter .boxMenuLinkGroup .boxMenu {
  display: flex;
  flex-wrap: wrap;
  margin-bottom: -20px;
}
.boxesTop .boxMenuLinkGroup .boxMenu .boxMenuLink,
.boxesBottom .boxMenuLinkGroup .boxMenu .boxMenuLink,
.boxesFooter .boxMenuLinkGroup .boxMenu .boxMenuLink {
  display: inline-block;
}
.boxesTop .boxMenuLinkGroup .boxMenu > li,
.boxesBottom .boxMenuLinkGroup .boxMenu > li,
.boxesFooter .boxMenuLinkGroup .boxMenu > li {
  margin-bottom: 20px;
}
@media screen and (min-width: 769px), print {
  .boxesTop .boxMenuLinkGroup .boxMenu > li,
  .boxesBottom .boxMenuLinkGroup .boxMenu > li,
  .boxesFooter .boxMenuLinkGroup .boxMenu > li {
    flex: 0 0 25%;
    max-width: 25%;
  }
}
@media screen and (max-width: 768px) {
  .boxesTop .boxMenuLinkGroup .boxMenu > li,
  .boxesBottom .boxMenuLinkGroup .boxMenu > li,
  .boxesFooter .boxMenuLinkGroup .boxMenu > li {
    flex: 1 1 100%;
  }
}
.boxesTop .boxMenuLinkGroup .boxMenu > li > .boxMenuLink,
.boxesBottom .boxMenuLinkGroup .boxMenu > li > .boxMenuLink,
.boxesFooter .boxMenuLinkGroup .boxMenu > li > .boxMenuLink {
  margin-bottom: 10px;
  font-weight: 400;
  line-height: 1.28;
}
@media screen and (min-width: 769px), print {
  .boxesTop .boxMenuLinkGroup .boxMenu > li > .boxMenuLink,
  .boxesBottom .boxMenuLinkGroup .boxMenu > li > .boxMenuLink,
  .boxesFooter .boxMenuLinkGroup .boxMenu > li > .boxMenuLink {
    font-size: var(--wcfFontSizeHeadline);
  }
}
@media screen and (max-width: 768px) {
  .boxesTop .boxMenuLinkGroup .boxMenu > li > .boxMenuLink,
  .boxesBottom .boxMenuLinkGroup .boxMenu > li > .boxMenuLink,
  .boxesFooter .boxMenuLinkGroup .boxMenu > li > .boxMenuLink {
    font-size: 18px;
  }
}

.boxWithEditButton {
  position: relative;
}
.boxWithEditButton .boxEditButton {
  color: inherit;
  opacity: 0;
  position: absolute;
  top: 4px;
  transition: opacity 0.12s ease-in-out;
  right: 4px;
}
.boxWithEditButton .boxEditButton:hover {
  color: inherit;
}

html:not(.touch) .boxWithEditButton:hover .boxEditButton {
  opacity: 1;
}

.boxMenuResetFilter {
  margin-top: 10px;
}

.containerList > li {
  position: relative;
  transition: background-color 0.2s;
}
@media screen and (max-width: 1024px) {
  .containerList > li {
    padding: 10px 0;
  }
}
@media screen and (min-width: 1025px), print {
  .containerList > li {
    padding: 20px;
  }
}
.containerList > li:not(:last-child) {
  border-bottom: 1px solid var(--wcfContentBorderInner);
}
.containerList > li:first-child {
  border-top: 1px solid var(--wcfContentBorder);
}
.containerList > li:last-child {
  border-bottom: 1px solid var(--wcfContentBorder);
}
.containerList > li:hover {
  background-color: var(--wcfTabularBoxBackgroundActive);
}
.containerList > li.showMore {
  text-align: center;
}
.containerList > li.showMore:hover {
  background-color: transparent;
}
.containerList > li .containerHeadline {
  position: relative;
}
.containerList > li .containerHeadline > .containerContentType {
  color: var(--wcfContentDimmedText);
  position: absolute;
  top: 5px;
  right: 0;
}
@media screen and (max-width: 544px) {
  .containerList > li .containerHeadline > .containerContentType {
    display: none;
  }
}
.containerList > li.containerListButtonGroup {
  text-align: right;
}
.containerList > li.containerListButtonGroup:hover {
  background-color: transparent;
}
.containerList > li.containerListButtonGroup > .buttonGroup, .containerList > li.containerListButtonGroup > .messageFooterButtons,
.containerList > li.containerListButtonGroup > .messageFooterButtonsExtra {
  display: inline-flex;
}
.containerList > li.containerListButtonGroup > .buttonGroup:not(:first-child), .containerList > li.containerListButtonGroup > .messageFooterButtons:not(:first-child),
.containerList > li.containerListButtonGroup > .messageFooterButtonsExtra:not(:first-child) {
  margin-left: 5px;
}
@media screen and (max-width: 1024px) {
  .containerList > li .hasMobileNavigation > .containerHeadline > h3 {
    padding-right: 30px;
  }
  .containerList > li .buttonGroupNavigation {
    position: absolute;
    right: 0;
    top: 14px;
  }
  .containerList > li .buttonGroupNavigation.open {
    left: 0;
    z-index: 10;
  }
  .containerList > li .buttonGroupNavigation.open > .buttonList {
    display: block;
    visibility: visible;
  }
  .containerList > li .buttonGroupNavigation > .dropdownLabel {
    left: calc(100% - 24px);
    position: relative;
  }
  .containerList > li .buttonGroupNavigation > .buttonList {
    background-color: var(--wcfDropdownBackground);
    border-radius: 4px;
    box-shadow: var(--wcfBoxShadow);
    color: var(--wcfDropdownText);
    display: none;
    min-width: 160px;
    padding: 4px 0;
    pointer-events: all;
    position: fixed;
    text-align: left;
    visibility: hidden;
    z-index: 450;
    position: static !important;
    top: 0;
  }
  .containerList > li .buttonGroupNavigation > .buttonList.dropdownMenuPageSearch {
    border-top-left-radius: 0;
    border-top-right-radius: 0;
  }
  .containerList > li .buttonGroupNavigation > .buttonList.dropdownOpen {
    display: block;
    visibility: visible;
  }
  .containerList > li .buttonGroupNavigation > .buttonList li {
    display: block;
  }
  .containerList > li .buttonGroupNavigation > .buttonList li:hover:not(.dropdownDivider):not(.dropdownList):not(.dropdownText), .containerList > li .buttonGroupNavigation > .buttonList li:focus-within:focus-visible, .containerList > li .buttonGroupNavigation > .buttonList li.dropdownList > li:hover:not(.dropdownDivider), .containerList > li .buttonGroupNavigation > .buttonList li.dropdownNavigationItem, .containerList > li .buttonGroupNavigation > .buttonList li.active {
    background-color: var(--wcfDropdownBackgroundActive);
    color: var(--wcfDropdownLinkActive);
  }
  .containerList > li .buttonGroupNavigation > .buttonList li:hover:not(.dropdownDivider):not(.dropdownList):not(.dropdownText) > :is(a, button), .containerList > li .buttonGroupNavigation > .buttonList li:focus-within:focus-visible > :is(a, button), .containerList > li .buttonGroupNavigation > .buttonList li.dropdownList > li:hover:not(.dropdownDivider) > :is(a, button), .containerList > li .buttonGroupNavigation > .buttonList li.dropdownNavigationItem > :is(a, button), .containerList > li .buttonGroupNavigation > .buttonList li.active > :is(a, button) {
    color: var(--wcfDropdownLinkActive);
  }
  .containerList > li .buttonGroupNavigation > .buttonList li.dropdownDivider {
    border-top: 1px solid var(--wcfDropdownBorderInner);
    margin: 4px 0;
  }
  .containerList > li .buttonGroupNavigation > .buttonList li.dropdownText {
    padding: 6px 12px;
    font-weight: 400;
  }
}
@media screen and (max-width: 1024px) and (min-width: 769px) {
  .containerList > li .buttonGroupNavigation > .buttonList li.dropdownText {
    font-size: var(--wcfFontSizeSmall);
  }
}
@media screen and (max-width: 1024px) and (max-width: 768px) {
  .containerList > li .buttonGroupNavigation > .buttonList li.dropdownText {
    font-size: 12px;
  }
}
@media screen and (max-width: 1024px) {
  .containerList > li .buttonGroupNavigation > .buttonList li.boxFlag {
    padding-top: 2px;
  }
  .containerList > li .buttonGroupNavigation > .buttonList li.missingValue > span {
    padding-right: 40px;
    position: relative;
  }
  .containerList > li .buttonGroupNavigation > .buttonList li.disabled {
    color: var(--wcfContentDimmedText);
  }
  .containerList > li .buttonGroupNavigation > .buttonList li.disabled > span {
    cursor: not-allowed !important;
  }
  .containerList > li .buttonGroupNavigation > .buttonList li > :is(a, button, span) {
    clear: both;
    cursor: pointer;
    display: block;
    max-width: 350px;
    overflow: hidden;
    padding: 6px 12px;
    text-decoration: none;
    text-overflow: ellipsis;
    user-select: none;
    white-space: nowrap;
    word-wrap: normal;
  }
  .containerList > li .buttonGroupNavigation > .buttonList li > :is(a, button, span) > div > h3 {
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .containerList > li .buttonGroupNavigation > .buttonList li > button {
    width: 100%;
  }
  .containerList > li .buttonGroupNavigation > .buttonList li > :is(a, button) {
    color: var(--wcfDropdownLink);
  }
  .containerList > li .buttonGroupNavigation > .buttonList li > a > small {
    display: block;
  }
  .containerList > li .buttonGroupNavigation > .buttonList li > :is(a, button) + span.badge {
    display: none;
  }
  .containerList > li .buttonGroupNavigation > .buttonList li > .box16 {
    align-items: center;
    cursor: pointer;
    min-height: 0;
    padding: 5px 10px;
  }
  .containerList > li .buttonGroupNavigation > .buttonList li > label {
    display: block;
  }
  .containerList > li .buttonGroupNavigation > .buttonList li .containerHeadline {
    margin-bottom: 0;
  }
  .containerList > li .buttonGroupNavigation > .buttonList li .containerHeadline > p {
    font-weight: 400;
  }
}
@media screen and (max-width: 1024px) and (min-width: 769px) {
  .containerList > li .buttonGroupNavigation > .buttonList li .containerHeadline > p {
    font-size: var(--wcfFontSizeSmall);
  }
}
@media screen and (max-width: 1024px) and (max-width: 768px) {
  .containerList > li .buttonGroupNavigation > .buttonList li .containerHeadline > p {
    font-size: 12px;
  }
}
@media screen and (max-width: 1024px) {
  .containerList > li .buttonGroupNavigation > .buttonList .scrollableDropdownMenu {
    max-height: 300px;
    overflow: auto;
  }
  .containerList > li .buttonGroupNavigation > .buttonList .scrollableDropdownMenu.forceScrollbar {
    overflow-y: scroll;
    overflow-x: hidden;
  }
}
@media screen and (max-width: 1024px) and (min-width: 769px) {
  .containerList > li .buttonGroupNavigation > .buttonList .dropdownMenu.pageHeaderSearchDropdown {
    transform: translateY(-10px);
  }
}
@media screen and (max-width: 1024px) {
  .containerList > li .buttonGroupNavigation > .buttonList > li .invisible {
    display: inline;
    padding-left: 5px;
  }
}
@media screen and (min-width: 1025px), print {
  .containerList > li .buttonGroupNavigation {
    opacity: 0;
    position: absolute;
    right: 20px;
    top: 15px;
    transition: opacity 0.12s;
  }
  .containerList > li .buttonGroupNavigation > .dropdownLabel {
    display: none;
  }
  .containerList > li .buttonGroupNavigation > ul {
    background-color: var(--wcfContentBackground);
    border-radius: var(--wcfBorderRadius);
    box-shadow: var(--wcfBoxShadowCard);
  }
  .containerList > li .buttonGroupNavigation > ul > li {
    margin-right: 0;
  }
  .containerList > li .buttonGroupNavigation > ul > li:not(:last-child) {
    border-right: 1px solid var(--wcfContentContainerBorder);
  }
  .containerList > li .buttonGroupNavigation > ul > li > a,
  .containerList > li .buttonGroupNavigation > ul > li > button {
    display: inline-block;
    padding: 3px 5px;
  }
  .containerList > li .buttonGroupNavigation > ul > li > a > fa-icon,
  .containerList > li .buttonGroupNavigation > ul > li > a > .invisible,
  .containerList > li .buttonGroupNavigation > ul > li > button > fa-icon,
  .containerList > li .buttonGroupNavigation > ul > li > button > .invisible {
    opacity: 0.5;
  }
  .containerList > li .buttonGroupNavigation > ul > li.active > a > fa-icon,
  .containerList > li .buttonGroupNavigation > ul > li.active > a > .invisible,
  .containerList > li .buttonGroupNavigation > ul > li.active > button > fa-icon,
  .containerList > li .buttonGroupNavigation > ul > li.active > button > .invisible, .containerList > li .buttonGroupNavigation > ul > li:hover > a > fa-icon,
  .containerList > li .buttonGroupNavigation > ul > li:hover > a > .invisible,
  .containerList > li .buttonGroupNavigation > ul > li:hover > button > fa-icon,
  .containerList > li .buttonGroupNavigation > ul > li:hover > button > .invisible {
    color: var(--wcfContentText);
    opacity: 1;
  }
  .containerList > li:hover .buttonGroupNavigation {
    opacity: 1;
  }
}
@media screen and (max-width: 768px) {
  .containerList.doubleColumned > li + li, .containerList.tripleColumned > li + li {
    margin-top: 10px;
  }
}
@media screen and (min-width: 769px), print {
  .containerList.doubleColumned, .containerList.tripleColumned {
    display: flex;
    flex-wrap: wrap;
    border-top: 1px solid var(--wcfContentBorder);
    border-bottom: 1px solid var(--wcfContentBorder);
  }
  .containerList.doubleColumned > li, .containerList.tripleColumned > li {
    padding-right: 15px;
  }
  .containerList.doubleColumned > li .containerBoxContent, .containerList.tripleColumned > li .containerBoxContent {
    overflow: hidden;
  }
  .containerList.doubleColumned > li .containerBoxContent h3, .containerList.tripleColumned > li .containerBoxContent h3 {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .containerList.doubleColumned > li:first-child, .containerList.tripleColumned > li:first-child {
    border-top: none;
  }
  .containerList.doubleColumned > li:last-child, .containerList.tripleColumned > li:last-child {
    border-bottom: none;
  }
  .containerList.doubleColumned > li {
    flex: 0 0 50%;
    max-width: 50%;
  }
  .containerList.doubleColumned > li:nth-child(2n+1):nth-last-child(-n+2) {
    border-bottom: none;
  }
  .containerList.tripleColumned > li {
    /* The `flex` shorthand fails in IE11 if `calc()` is used. */
    flex-grow: 0;
    flex-shrink: 0;
    flex-basis: 33.3333333333%;
  }
  .containerList.tripleColumned > li:nth-child(3n+1):nth-last-child(-n+3), .containerList.tripleColumned > li:nth-child(3n+1):nth-last-child(-n+3) ~ li {
    border-bottom: none;
  }
}

@media screen and (min-width: 1025px), print {
  html[data-color-scheme=dark] .containerList > li .buttonGroupNavigation > ul {
    border: 1px solid var(--wcfContentContainerBorder);
  }
}
@media screen and (max-width: 768px) {
  .containerBoxList.doubleColumned > li + li, .containerBoxList.tripleColumned > li + li {
    margin-top: 10px;
  }
}
@media screen and (min-width: 769px), print {
  .containerBoxList.doubleColumned, .containerBoxList.tripleColumned {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: -15px;
  }
  .containerBoxList.doubleColumned > li, .containerBoxList.tripleColumned > li {
    overflow: hidden;
    padding-right: 15px;
    margin-bottom: 15px;
  }
  .containerBoxList.doubleColumned > li .containerBoxContent, .containerBoxList.tripleColumned > li .containerBoxContent {
    overflow: hidden;
  }
  .containerBoxList.doubleColumned > li .containerBoxContent h3, .containerBoxList.tripleColumned > li .containerBoxContent h3 {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .containerBoxList.doubleColumned > li {
    flex: 0 0 50%;
    max-width: 50%;
  }
  .containerBoxList.tripleColumned > li {
    /* The `flex` shorthand fails in IE11 if `calc()` is used. */
    flex-grow: 0;
    flex-shrink: 0;
    flex-basis: 33.3333333333%;
  }
}

.flexibleCategoryList {
  position: relative;
}
.flexibleCategoryList > li {
  margin-bottom: 14px;
}
.flexibleCategoryList > li > ol {
  margin-left: 21px;
}
.flexibleCategoryList > li > ol > li > ol {
  margin-bottom: 7px;
  margin-left: 21px;
}
.flexibleCategoryList > li > ol > li > ol > li {
  font-size: var(--wcfFontSizeSmall);
}

.containerListDisplayOptions {
  align-items: center;
  border-bottom: 2px solid currentColor;
  color: var(--wcfTabularBoxHeadline);
  display: flex;
}

.containerListSortOptions,
.containerListActiveFilters,
.containerListFilterOptions {
  padding: 5px 10px;
}

@media screen and (max-width: 768px) {
  .containerListActiveFilters {
    display: none;
  }
}
.containerListSortOptions {
  flex: 1 auto;
}
.containerListSortOptions > .dropdown {
  display: inline-flex;
  margin-left: 10px;
}
.containerListSortOptions fa-icon {
  color: var(--wcfTabularBoxHeadline);
}

.containerListActiveFilters,
.containerListFilterOptions {
  flex: 0 auto;
}

@media screen and (min-width: 769px), print {
  .flexibleCategoryList:not(.flexibleCategoryListDisabled) {
    /* WebKit */
    -webkit-column-count: 2;
    /* Firefox */
    -moz-column-count: 2;
    /* CSS 3 / Internet Explorer */
    column-count: 2;
  }
  .flexibleCategoryList:not(.flexibleCategoryListDisabled) > li {
    /* WebKit */
    -webkit-column-break-inside: avoid;
    /* CSS 3 / Internet Explorer */
    break-inside: avoid;
  }
  .flexibleCategoryList:not(.flexibleCategoryListDisabled) > li > ol > li > ol {
    font-size: 0;
  }
  .flexibleCategoryList:not(.flexibleCategoryListDisabled) > li > ol > li > ol > li {
    display: inline-block;
    font-weight: 400;
  }
  /* Firefox */
}
@media screen and (min-width: 769px) and (min-width: 769px), print {
  .flexibleCategoryList:not(.flexibleCategoryListDisabled) > li > ol > li > ol > li {
    font-size: var(--wcfFontSizeSmall);
  }
}
@media screen and (min-width: 769px) and (max-width: 768px) {
  .flexibleCategoryList:not(.flexibleCategoryListDisabled) > li > ol > li > ol > li {
    font-size: 12px;
  }
}
@media screen and (min-width: 769px), print {
  @-moz-document url-prefix() {
    .flexibleCategoryList:not(.flexibleCategoryListDisabled) > li {
      display: block;
      overflow: hidden;
    }
  }
}
.styleListPreviewImage {
  text-align: center;
}
.styleListPreviewImage img {
  border-radius: var(--wcfBorderRadius);
}

@media screen and (max-width: 1024px) {
  .styleList > li {
    padding: 10px;
  }
}
/* style for content area */
/* content header */
.contentHeader,
.boxHeadline {
  color: var(--wcfContentHeadlineText);
}
.contentHeader .contentTitle,
.contentHeader > h1,
.boxHeadline .contentTitle,
.boxHeadline > h1 {
  font-weight: 600;
  line-height: 1.05;
}
@media screen and (min-width: 769px), print {
  .contentHeader .contentTitle,
  .contentHeader > h1,
  .boxHeadline .contentTitle,
  .boxHeadline > h1 {
    font-size: var(--wcfFontSizeTitle);
  }
}
@media screen and (max-width: 768px) {
  .contentHeader .contentTitle,
  .contentHeader > h1,
  .boxHeadline .contentTitle,
  .boxHeadline > h1 {
    font-size: 23px;
  }
}
.contentHeader .contentTitle .badge,
.contentHeader > h1 .badge,
.boxHeadline .contentTitle .badge,
.boxHeadline > h1 .badge {
  top: -2px;
  line-height: var(--wcfFontLineHeight);
}
.contentHeader .contentTitle a,
.contentHeader > h1 a,
.boxHeadline .contentTitle a,
.boxHeadline > h1 a {
  color: var(--wcfContentHeadlineLink);
}
.contentHeader .contentTitle a:hover,
.contentHeader > h1 a:hover,
.boxHeadline .contentTitle a:hover,
.boxHeadline > h1 a:hover {
  color: var(--wcfContentHeadlineLinkActive);
}

.contentHeader {
  align-items: flex-start;
  display: flex;
  justify-content: flex-end;
}
.contentHeader .contentHeaderIcon {
  flex: 0 0 64px;
  margin-right: 15px;
}
.contentHeader .contentHeaderTitle,
.contentHeader > .contentTitle {
  flex: 1 auto;
}
.contentHeader .contentHeaderNavigation {
  flex: 0 0 auto;
  margin-left: 15px;
}
.contentHeader .contentHeaderDescription {
  color: var(--wcfContentDimmedText);
  margin-top: 5px;
}
.contentHeader .contentHeaderMetaData {
  color: var(--wcfContentDimmedText);
  margin-top: 5px;
}
.contentHeader .contentHeaderMetaData.inlineList > li:not(:last-child) {
  margin-right: 10px;
}
.contentHeader .contentHeaderMetaData > li a,
.contentHeader .contentHeaderMetaData > li a:hover {
  color: var(--wcfContentDimmedText);
}
.contentHeader .contentTitle + .inlineDataList {
  margin-top: 5px;
}
.contentHeader .inlineDataList {
  color: var(--wcfContentDimmedText);
}
.contentHeader .contentHeaderNavigation > ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  margin-bottom: -5px;
  margin-left: -5px;
  white-space: nowrap;
}
.contentHeader .contentHeaderNavigation > ul > li {
  display: flex;
}
.contentHeader .contentHeaderNavigation .button {
  display: flex;
  margin-left: 5px;
  margin-bottom: 5px;
  overflow: hidden;
  text-overflow: ellipsis;
}
.contentHeader .contentHeaderNavigation .dropdown {
  display: flex;
  margin-left: 5px;
  margin-bottom: 5px;
}
.contentHeader .contentHeaderNavigation .dropdown .button {
  margin-left: 0;
  margin-bottom: 0;
}
@media screen and (max-width: 768px) {
  .contentHeader {
    flex-wrap: wrap;
    row-gap: 10px;
  }
  .contentHeader .contentHeaderNavigation {
    flex-shrink: 1;
  }
  .contentHeader .contentHeaderIcon {
    display: none;
  }
}
@media screen and (min-width: 769px), print {
  .contentHeader .contentHeaderNavigation {
    max-width: 40%;
  }
}

/* legacy styling for sub headlines (deprecated; use .section > .sectionTitle instead) */
.boxHeadline.boxSubHeadline {
  margin-top: 40px;
  margin-bottom: 20px;
}
.boxHeadline.boxSubHeadline > h2 {
  color: var(--wcfContentHeadlineText);
  font-weight: 600;
  line-height: 1.28;
}
@media screen and (min-width: 769px), print {
  .boxHeadline.boxSubHeadline > h2 {
    font-size: var(--wcfFontSizeSection);
  }
}
@media screen and (max-width: 768px) {
  .boxHeadline.boxSubHeadline > h2 {
    font-size: 20px;
  }
}
.boxHeadline.boxSubHeadline > h2 a {
  color: var(--wcfContentHeadlineLink);
}
.boxHeadline.boxSubHeadline > h2 a:hover {
  color: var(--wcfContentHeadlineLinkActive);
}
.boxHeadline.boxSubHeadline > h2 .badge {
  top: -2px;
}

/* content sections */
.section {
  margin-top: 40px;
}
.section > :first-child {
  margin-top: 0;
}
.section .sectionTitle {
  color: var(--wcfContentHeadlineText);
  font-weight: 600;
  line-height: 1.28;
}
@media screen and (min-width: 769px), print {
  .section .sectionTitle {
    font-size: var(--wcfFontSizeSection);
  }
}
@media screen and (max-width: 768px) {
  .section .sectionTitle {
    font-size: 20px;
  }
}
.section .sectionTitle a {
  color: var(--wcfContentHeadlineLink);
}
.section .sectionTitle a:hover {
  color: var(--wcfContentHeadlineLinkActive);
}
.section .sectionTitle .badge {
  top: -2px;
}
.section .sectionDescription {
  color: var(--wcfContentDimmedText);
}
.section > .sectionHeader,
.section > .sectionTitle {
  margin-bottom: 20px;
}
.section > .sectionHeader + .section,
.section > .sectionTitle + .section {
  margin-top: 20px;
}
.section:not(.sectionContainerList) > .sectionHeader,
.section:not(.sectionContainerList) > .sectionTitle {
  border-bottom: 1px solid var(--wcfContentBorderInner);
  padding-bottom: 10px;
}
.section.sectionContainerList > .sectionHeader,
.section.sectionContainerList > .sectionTitle {
  margin-bottom: 10px;
}
.section.tabularBox > .sectionHeader,
.section.tabularBox > .sectionTitle {
  border-color: var(--wcfContentBorder);
  margin-bottom: 0;
}
.section .section {
  margin-top: 30px;
}
.section .section:first-child {
  margin-top: 20px;
}
.section .section .sectionTitle {
  font-weight: 400;
  line-height: 1.28;
}
@media screen and (min-width: 769px), print {
  .section .section .sectionTitle {
    font-size: var(--wcfFontSizeHeadline);
  }
}
@media screen and (max-width: 768px) {
  .section .section .sectionTitle {
    font-size: 18px;
  }
}
.section .section > .sectionHeader,
.section .section > .sectionTitle {
  margin-bottom: 15px;
}

/* fieldset styling (old sections / deprecated) */
fieldset {
  margin-top: 40px;
}
fieldset > legend {
  border-bottom: 1px solid var(--wcfContentBorderInner);
  color: var(--wcfContentHeadlineText);
  float: left;
  margin-bottom: 20px;
  padding-bottom: 10px;
  width: 100%;
  font-weight: 600;
  line-height: 1.28;
}
@media screen and (min-width: 769px), print {
  fieldset > legend {
    font-size: var(--wcfFontSizeSection);
  }
}
@media screen and (max-width: 768px) {
  fieldset > legend {
    font-size: 20px;
  }
}
fieldset > legend a {
  color: var(--wcfContentHeadlineLink);
}
fieldset > legend a:hover {
  color: var(--wcfContentHeadlineLinkActive);
}
fieldset > legend .badge {
  top: -2px;
}
fieldset > legend + * {
  clear: left;
}
fieldset > legend + small {
  color: var(--wcfContentDimmedText);
  position: relative;
  top: -12px;
}

.section fieldset {
  margin-top: 20px;
}
.section fieldset > legend {
  margin-bottom: 15px;
  font-weight: 400;
  line-height: 1.28;
}
@media screen and (min-width: 769px), print {
  .section fieldset > legend {
    font-size: var(--wcfFontSizeHeadline);
  }
}
@media screen and (max-width: 768px) {
  .section fieldset > legend {
    font-size: 18px;
  }
}

/* styling for container headlines */
.containerHeadline > h3 {
  font-weight: 400;
  line-height: 1.28;
}
@media screen and (min-width: 769px), print {
  .containerHeadline > h3 {
    font-size: var(--wcfFontSizeHeadline);
  }
}
@media screen and (max-width: 768px) {
  .containerHeadline > h3 {
    font-size: 18px;
  }
}
.containerHeadline > h3 > .badge {
  top: -2px;
}
.containerHeadline ~ .containerContent {
  margin-top: 10px;
}

/* DEPRECATED: styling for content navigation area (containing pagination / page buttons) */
.contentNavigation + .section {
  margin-top: 30px;
}
@media screen and (max-width: 768px) {
  .contentNavigation ul {
    margin-top: 30px;
  }
  .contentNavigation ul > li > .button {
    display: block;
    padding: 7px 10px;
    text-align: center;
  }
  .contentNavigation > nav:not(.pagination) > ul > li + li {
    margin-top: 10px;
  }
}
@media screen and (min-width: 769px), print {
  .contentNavigation {
    align-items: center;
    display: flex;
    justify-content: flex-end;
  }
  .contentNavigation > nav {
    flex: 0 0 auto;
    margin-top: 30px;
    order: 3;
  }
  .contentNavigation > nav.pagination {
    order: 1;
    flex: 1 1 auto;
  }
  .contentNavigation > nav.jsClipboardEditor {
    margin-right: 5px;
    order: 2;
  }
  .contentNavigation > nav + nav {
    flex: 0 0 auto;
  }
  .contentNavigation > nav:not(.pagination) {
    text-align: right;
  }
  .contentNavigation ul {
    display: inline-flex;
  }
  .contentNavigation ul > li {
    flex: 0 0 auto;
  }
  .contentNavigation ul > li:not(:last-child) {
    margin-right: 5px;
  }
}

.paginationTop {
  margin-top: 40px;
}
.paginationTop + .section {
  margin-top: 20px;
}

.paginationBottom {
  margin-top: 20px;
}

.contentFooter > .contentFooterNavigation {
  margin-top: 20px;
}
.contentFooter > .contentFooterNavigation > ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  margin-bottom: -5px;
  margin-left: -5px;
  white-space: nowrap;
}
.contentFooter > .contentFooterNavigation .button {
  display: block;
  margin-left: 5px;
  margin-bottom: 5px;
  overflow: hidden;
  text-overflow: ellipsis;
}
@media screen and (min-width: 545px), print {
  .contentFooter {
    display: flex;
  }
  .contentFooter > .paginationBottom {
    flex: 0 0 auto;
  }
  .contentFooter > .contentFooterNavigation {
    flex: 1 1 auto;
    margin-left: 20px;
  }
}

.contentInteraction {
  display: flex;
  margin-top: 20px;
}

.contentInteractionPagination {
  flex: 0 0 auto;
}
.contentInteractionPagination.paginationTop {
  margin-top: 0;
}
@media screen and (max-width: 544px) {
  .contentInteractionPagination {
    flex: 0 0 100%;
  }
}

@media screen and (max-width: 544px) {
  body:not(.mobileShowPaginationTop) .contentInteractionPagination {
    display: none;
  }
  body.mobileShowPaginationTop .contentInteractionPagination + .contentInteractionButtonContainer {
    margin-top: 20px;
  }
}
@media screen and (max-width: 768px) {
  .contentHeader + .contentInteraction {
    margin-top: 10px;
  }
}
.contentInteractionButtonContainer {
  align-self: center;
  display: flex;
  margin-left: auto;
  max-width: 100%;
}

.contentInteractionButtons {
  display: flex;
  flex: 0 auto;
  overflow: auto;
}

.contentInteractionButton {
  flex: 0 0 auto;
  overflow: hidden;
}
.contentInteractionButton:not(:first-child).button,
.contentInteractionButton:not(:first-child) .button {
  border-bottom-left-radius: 0;
  border-top-left-radius: 0;
}
.contentInteractionButton:not(:last-child).button,
.contentInteractionButton:not(:last-child) .button {
  border-bottom-right-radius: 0;
  border-top-right-radius: 0;
}

.contentInteractionButton:not(:first-child) {
  margin-left: 1px;
}

.contentInteractionShareButton {
  display: flex;
  flex: 1 0 auto;
  margin-left: 5px;
}

.contentInteractionDropdown {
  display: flex;
  flex: 1 0 auto;
  margin-left: 5px;
}
.contentInteractionDropdown .dropdownToggle {
  align-items: center;
  display: flex;
  white-space: nowrap;
}

.content {
  container-type: inline-size;
  container-name: content;
}
.content .contentInteraction + .section,
.content .contentInteraction + form {
  margin-top: 20px;
}

/* content navigation buttons */
@media screen and (max-width: 544px) {
  .contentHeader > .contentHeaderNavigation > ul > .button {
    display: block;
    padding: 7px 10px;
    text-align: center;
  }
  .contentHeader > .contentHeaderNavigation > ul > .button > .invisible {
    display: inline;
  }
}
@media screen and (max-width: 768px) {
  /* DEPRECATED */
  .contentNavigation > .pagination {
    display: none;
  }
  /* DEPRECATED */
  .section ~ .contentNavigation > .pagination {
    display: block;
  }
  .section ~ .contentNavigation > .pagination + nav {
    margin-top: 10px;
  }
}
/* sidebar galore */
@media screen and (min-width: 1025px), print {
  .sidebar + .content:not(:last-child) .contentHeaderNavigation {
    flex: 1 1 0%;
  }
  .sidebar + .content:not(:last-child) .contentHeaderNavigation > ul {
    flex-wrap: wrap !important;
    justify-content: flex-end;
  }
}
.contentInteraction--withTabs {
  border-bottom: solid 1px var(--wcfContentBorderInner);
}

.contentInteractionTabs {
  display: flex;
  gap: 10px;
}

.contentInteractionTab {
  display: flex;
  white-space: nowrap;
}

.contentInteractionTab__link {
  display: flex;
  padding: 5px 10px;
  color: var(--wcfContentDimmedText);
  font-size: var(--wcfFontSizeSection);
  font-weight: 600;
  position: relative;
}

.contentInteractionTab__link::after {
  content: "";
  left: 0;
  right: 0;
  bottom: -1px;
  position: absolute;
  height: 3px;
}

.contentInteractionTab--active .contentInteractionTab__link {
  color: var(--wcfContentText);
}

.contentInteractionTab__link:hover {
  color: var(--wcfContentText);
}

.contentInteractionTab__link:hover::after {
  background-color: var(--wcfContentBorderInner);
}

.contentInteractionTab--active .contentInteractionTab__link::after {
  background-color: var(--wcfTabularBoxHeadline);
}

@container content (width < 800px) {
  .contentInteraction {
    flex-direction: column;
  }
  .contentInteractionButtonContainer {
    order: -1;
  }
}
input[type=date],
input[type=datetime],
input[type=email],
input[type=number],
input[type=password],
input[type=search],
input[type=tel],
input[type=text],
input[type=time],
input[type=url],
select,
textarea {
  margin: 0; /* safari fix */
  background-color: var(--wcfInputBackground);
  border: 1px solid var(--wcfInputBorder);
  border-radius: var(--wcfBorderRadius);
  color: var(--wcfInputText);
  font-weight: 400;
  outline: none;
  padding: 4px 8px;
  font-family: var(--wcfFontFamily);
  line-height: var(--wcfFontLineHeight);
}
@media screen and (min-width: 769px), print {
  input[type=date],
  input[type=datetime],
  input[type=email],
  input[type=number],
  input[type=password],
  input[type=search],
  input[type=tel],
  input[type=text],
  input[type=time],
  input[type=url],
  select,
  textarea {
    font-size: var(--wcfFontSizeDefault);
  }
}
@media screen and (max-width: 768px) {
  input[type=date],
  input[type=datetime],
  input[type=email],
  input[type=number],
  input[type=password],
  input[type=search],
  input[type=tel],
  input[type=text],
  input[type=time],
  input[type=url],
  select,
  textarea {
    font-size: 14px;
  }
}
input[type=date]:focus, input[type=date]:hover,
input[type=datetime]:focus,
input[type=datetime]:hover,
input[type=email]:focus,
input[type=email]:hover,
input[type=number]:focus,
input[type=number]:hover,
input[type=password]:focus,
input[type=password]:hover,
input[type=search]:focus,
input[type=search]:hover,
input[type=tel]:focus,
input[type=tel]:hover,
input[type=text]:focus,
input[type=text]:hover,
input[type=time]:focus,
input[type=time]:hover,
input[type=url]:focus,
input[type=url]:hover,
select:focus,
select:hover,
textarea:focus,
textarea:hover {
  background-color: var(--wcfInputBackgroundActive);
  border-color: var(--wcfInputBorderActive);
  color: var(--wcfInputTextActive);
}
input[type=date][disabled], input[type=date].disabled,
input[type=datetime][disabled],
input[type=datetime].disabled,
input[type=email][disabled],
input[type=email].disabled,
input[type=number][disabled],
input[type=number].disabled,
input[type=password][disabled],
input[type=password].disabled,
input[type=search][disabled],
input[type=search].disabled,
input[type=tel][disabled],
input[type=tel].disabled,
input[type=text][disabled],
input[type=text].disabled,
input[type=time][disabled],
input[type=time].disabled,
input[type=url][disabled],
input[type=url].disabled,
select[disabled],
select.disabled,
textarea[disabled],
textarea.disabled {
  background-color: var(--wcfInputDisabledBackground) !important;
  border-color: var(--wcfInputDisabledBorder) !important;
  color: var(--wcfInputDisabledText) !important;
}
input[type=date][readonly],
input[type=datetime][readonly],
input[type=email][readonly],
input[type=number][readonly],
input[type=password][readonly],
input[type=search][readonly],
input[type=tel][readonly],
input[type=text][readonly],
input[type=time][readonly],
input[type=url][readonly],
select[readonly],
textarea[readonly] {
  color: var(--wcfInputDisabledText) !important;
}

select.disabled[tabindex="-1"] {
  pointer-events: none;
  user-select: none;
}

/* set placeholder color */
input[type=date]::placeholder,
input[type=datetime]::placeholder,
input[type=email]::placeholder,
input[type=number]::placeholder,
input[type=password]::placeholder,
input[type=search]::placeholder,
input[type=tel]::placeholder,
input[type=text]::placeholder,
input[type=time]::placeholder,
input[type=url]::placeholder {
  color: var(--wcfInputPlaceholder);
}
input[type=date]::placeholder:focus, input[type=date]::placeholder:hover,
input[type=datetime]::placeholder:focus,
input[type=datetime]::placeholder:hover,
input[type=email]::placeholder:focus,
input[type=email]::placeholder:hover,
input[type=number]::placeholder:focus,
input[type=number]::placeholder:hover,
input[type=password]::placeholder:focus,
input[type=password]::placeholder:hover,
input[type=search]::placeholder:focus,
input[type=search]::placeholder:hover,
input[type=tel]::placeholder:focus,
input[type=tel]::placeholder:hover,
input[type=text]::placeholder:focus,
input[type=text]::placeholder:hover,
input[type=time]::placeholder:focus,
input[type=time]::placeholder:hover,
input[type=url]::placeholder:focus,
input[type=url]::placeholder:hover {
  color: var(--wcfInputPlaceholderActive);
}
input[type=date][disabled], input[type=date][readonly],
input[type=datetime][disabled],
input[type=datetime][readonly],
input[type=email][disabled],
input[type=email][readonly],
input[type=number][disabled],
input[type=number][readonly],
input[type=password][disabled],
input[type=password][readonly],
input[type=search][disabled],
input[type=search][readonly],
input[type=tel][disabled],
input[type=tel][readonly],
input[type=text][disabled],
input[type=text][readonly],
input[type=time][disabled],
input[type=time][readonly],
input[type=url][disabled],
input[type=url][readonly] {
  background-color: var(--wcfInputDisabledBackground) !important;
  border-color: var(--wcfInputDisabledBorder) !important;
  color: var(--wcfInputDisabledText) !important;
}

textarea::placeholder {
  color: var(--wcfInputPlaceholder);
}
textarea::placeholder:focus, textarea::placeholder:hover {
  color: var(--wcfInputPlaceholderActive);
}

input[type=search],
input[type=text] {
  -webkit-appearance: none;
  appearance: none;
}

@media (pointer: coarse) {
  input[type=date],
  input[type=datetime],
  input[type=email],
  input[type=number],
  input[type=password],
  input[type=search],
  input[type=tel],
  input[type=text],
  input[type=time],
  input[type=url],
  select,
  textarea {
    font-size: 16px;
    padding: 6px 8px;
  }
}
textarea {
  border-width: 1px;
  font-weight: 400;
  resize: vertical;
  vertical-align: top;
  width: 100%;
}
@media screen and (min-width: 769px), print {
  textarea {
    font-size: var(--wcfFontSizeDefault);
  }
}
@media screen and (max-width: 768px) {
  textarea {
    font-size: 14px;
  }
}
textarea[disabled], textarea[readonly] {
  background-color: var(--wcfInputDisabledBackground) !important;
  border-color: var(--wcfInputDisabledBorder) !important;
  color: var(--wcfInputDisabledText) !important;
}

input[disabled],
textarea[disabled] {
  -webkit-text-fill-color: var(--wcfInputDisabledText); /* override safari font color change */
  -webkit-opacity: 1; /* override mobile safari opacity change affecting text color */
  opacity: 1;
}

select {
  max-width: 100%;
}
select.fullWidth {
  width: 100%;
}

.formSubmit {
  display: flex;
  flex-direction: row-reverse;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}
.formSubmit:not(:first-child) {
  margin-top: 30px;
}

@media screen and (max-width: 544px) {
  .formSubmit input[type=button],
  .formSubmit input[type=reset],
  .formSubmit input[type=submit],
  .formSubmit .button,
  .formSubmit a.button {
    flex: 1 0 auto;
  }
}
.formSubmit.formSubmit.formSubmit + .section {
  /* Intentional selector to overwrite existing selector. */
  margin-top: 20px;
}

.inputAddon {
  column-gap: 5px;
  display: flex;
}
.inputAddon:not(:last-child) {
  margin-bottom: 5px;
}
.inputAddon > .inputPrefix,
.inputAddon > .inputSuffix {
  align-items: center;
  display: flex;
  flex: 0 0 auto;
}
.inputAddon input {
  flex: 1 auto;
}
.inputAddon input + .inputPrefix {
  margin-left: 5px;
}

.inputAddonTextarea {
  column-gap: 0;
  flex-wrap: wrap;
  row-gap: 5px;
}
.inputAddonTextarea > textarea {
  flex: 0 0 100%;
}
.inputAddonTextarea > .ck.ck-editor {
  flex: 0 0 100%;
  margin-top: 0 !important;
}

.inputAddon input.tiny,
input.tiny {
  flex-grow: 0;
  width: 80px;
}
.inputAddon input.long,
input.long {
  width: 100%;
}
@media screen and (max-width: 544px) {
  .inputAddon input.short,
  input.short {
    flex-grow: 0;
    width: 150px;
  }
  .inputAddon input.medium,
  input.medium {
    width: 100%;
  }
}
@media screen and (min-width: 545px), print {
  .inputAddon input.short,
  input.short {
    flex-grow: 0;
    min-width: 80px;
    width: 10%;
  }
  .inputAddon input.medium,
  input.medium {
    flex-grow: 0;
    min-width: 150px;
    width: 30%;
  }
}

.formError {
  --color-error: #c00;
}
.formError dt {
  color: var(--color-error) !important;
}
.formError input,
.formError select,
.formError textarea {
  border-color: var(--color-error) !important;
}

html[data-color-scheme=dark] .formError {
  --color-error: #ff4747;
}

.formSuccess {
  --color-success: rgb(46, 139, 87);
}
.formSuccess dt {
  color: var(--color-success) !important;
}
.formSuccess input,
.formSuccess select,
.formSuccess textarea {
  border-color: var(--color-success) !important;
}

/* grid-based form controls */
.formGrid dt {
  display: none;
}
.formGrid select {
  width: 100%;
}

.formFieldRequired,
.customOptionRequired {
  color: rgb(204, 0, 1) !important;
}

.formFieldRequiredNotice {
  color: var(--wcfContentDimmedText);
  margin-top: 20px;
  font-weight: 400;
}
@media screen and (min-width: 769px), print {
  .formFieldRequiredNotice {
    font-size: var(--wcfFontSizeSmall);
  }
}
@media screen and (max-width: 768px) {
  .formFieldRequiredNotice {
    font-size: 12px;
  }
}

html[data-color-scheme=dark] :is(.formFieldRequired, .customOptionRequired) {
  color: #ff4444 !important;
}

/* password strength estimator */
.inputAddonPasswordStrength {
  align-items: flex-start;
}
.inputAddonPasswordStrength input.medium {
  align-self: stretch;
}
@media screen and (max-width: 544px) {
  .inputAddonPasswordStrength {
    flex-wrap: wrap;
  }
  .inputAddonPasswordStrength input:is(.medium, .long) {
    width: auto;
  }
}

.passwordStrengthRating {
  flex: 0 0 auto;
}
@media screen and (min-width: 545px), print {
  .passwordStrengthRating {
    margin-left: 10px;
  }
}
@media screen and (max-width: 544px) {
  .passwordStrengthRating {
    margin-top: 5px;
    width: 100%;
  }
}

.passwordStrengthScore {
  --background-color: rgb(224, 224, 224);
  --score-0: #dd2c00;
  --score-1: #ff9100;
  --score-2: #cddc39;
  --score-3: #64dd17;
  --score-4: #2e7d32;
  background-color: var(--background-color);
  border-radius: 3px;
  display: block;
  height: 10px;
  overflow: hidden;
  position: relative;
}
.passwordStrengthScore::before {
  background-color: transparent;
  bottom: 0;
  content: "";
  left: 0;
  position: absolute;
  top: 0;
  transition: background-color 0.12s linear, width 0.12s linear;
  width: 0;
}
.passwordStrengthScore[data-score="0"]::before {
  background-color: var(--score-0);
  width: 5%;
}
.passwordStrengthScore[data-score="1"]::before {
  background-color: var(--score-1);
  width: 20%;
}
.passwordStrengthScore[data-score="2"]::before {
  background-color: var(--score-2);
  width: 50%;
}
.passwordStrengthScore[data-score="3"]::before {
  background-color: var(--score-3);
  width: 85%;
}
.passwordStrengthScore[data-score="4"]::before {
  background-color: var(--score-4);
  width: 100%;
}

html[data-color-scheme=dark] .passwordStrengthScore {
  --background-color: rgb(43 57 74);
  --score-0: #dd2c00;
  --score-1: #ef6c00;
  --score-2: #f9a825;
  --score-3: #689f38;
  --score-4: #1b5e20;
}

.selectOptionsList {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.selectOptionsListItem {
  align-items: center;
  column-gap: 5px;
  display: flex;
}

.selectOptionsListItem__inputContainer {
  align-items: center;
  display: flex;
  gap: 5px;
}

.selectOptionsList + .selectOptionsListItem__addItem {
  margin-top: 10px;
}

@media screen and (max-width: 544px) {
  .selectOptionsList {
    gap: 10px;
  }
  .selectOptionsListItem {
    column-gap: 10px;
  }
  .selectOptionsListItem__inputContainer {
    display: grid;
    grid-template-columns: 1fr max-content;
  }
  .selectOptionsListItem__inputContainer > :last-child {
    grid-column: 1/3;
  }
}
.layoutBoundary {
  margin: 0 auto;
}
@media screen and (max-width: 1024px) {
  .layoutBoundary {
    padding: 0 10px;
    width: 100%;
  }
}
@media screen and (min-width: 1025px), print {
  .layoutBoundary {
    padding: 0 20px;
    min-width: var(--wcfLayoutMinWidth);
    max-width: var(--wcfLayoutMaxWidth);
  }
}

.invisible {
  display: none;
}

.grayscale, .conversationParticipantList > li.conversationLeft > div > a > img,
.conversationParticipantList > li.conversationLeft > div > span > img {
  -webkit-filter: grayscale(1);
  filter: gray;
}

.monospace {
  font-family: var(--wcfFontFamilyMonospace) !important;
  font-size: 14px;
}

/* boxes with an image */
.box16 {
  display: flex;
}
.box16 > :first-child fa-icon {
  left: -2px;
  position: relative;
}
.box16 > :first-child:not(:last-child) {
  flex: 0 0 16px;
  margin-right: 5px;
}
.box16 > :last-child {
  flex: 1 1 auto;
  overflow: hidden;
}

.box24 {
  display: flex;
}
.box24 > :first-child fa-icon {
  left: -3px;
  position: relative;
}
.box24 > :first-child:not(:last-child) {
  flex: 0 0 24px;
  margin-right: 8px;
}
.box24 > :last-child {
  flex: 1 1 auto;
  overflow: hidden;
}

.box32 {
  display: flex;
}
.box32 > :first-child fa-icon {
  left: -4px;
  position: relative;
}
.box32 > :first-child:not(:last-child) {
  flex: 0 0 32px;
  margin-right: 10px;
}
.box32 > :last-child {
  flex: 1 1 auto;
  overflow: hidden;
}

.box48 {
  display: flex;
}
.box48 > :first-child fa-icon {
  left: -6px;
  position: relative;
}
.box48 > :first-child:not(:last-child) {
  flex: 0 0 48px;
  margin-right: 12px;
}
.box48 > :last-child {
  flex: 1 1 auto;
  overflow: hidden;
}

.box64 {
  display: flex;
}
.box64 > :first-child fa-icon {
  left: -8px;
  position: relative;
}
.box64 > :first-child:not(:last-child) {
  flex: 0 0 64px;
  margin-right: 15px;
}
.box64 > :last-child {
  flex: 1 1 auto;
  overflow: hidden;
}

.box96 {
  display: flex;
}
.box96 > :first-child fa-icon {
  left: -12px;
  position: relative;
}
.box96 > :first-child:not(:last-child) {
  flex: 0 0 96px;
  margin-right: 15px;
}
.box96 > :last-child {
  flex: 1 1 auto;
  overflow: hidden;
}

.box128 {
  display: flex;
}
.box128 > :first-child fa-icon {
  left: -16px;
  position: relative;
}
.box128 > :first-child:not(:last-child) {
  flex: 0 0 128px;
  margin-right: 20px;
}
.box128 > :last-child {
  flex: 1 1 auto;
  overflow: hidden;
}

.box256 {
  display: flex;
}
.box256 > :first-child fa-icon {
  left: -32px;
  position: relative;
}
.box256 > :first-child:not(:last-child) {
  flex: 0 0 256px;
  margin-right: 30px;
}
.box256 > :last-child {
  flex: 1 1 auto;
  overflow: hidden;
}

small,
.small {
  font-weight: 400;
}
@media screen and (min-width: 769px), print {
  small,
  .small {
    font-size: var(--wcfFontSizeSmall);
  }
}
@media screen and (max-width: 768px) {
  small,
  .small {
    font-size: 12px;
  }
}

strong {
  font-weight: 600;
}

img {
  vertical-align: middle;
}

.elementPointer {
  pointer-events: none;
  position: absolute;
  top: 0;
  transform: translateY(-100%);
}
.elementPointer.center {
  left: 50%;
  transform: translateX(-50%) translateY(-100%);
}
.elementPointer.left {
  left: 4px;
}
.elementPointer.right {
  right: 4px;
}
.elementPointer.flipVertical {
  bottom: 0;
  top: auto;
  transform: translateY(100%);
}
.elementPointer.flipVertical.center {
  transform: translateX(-50%) translateY(100%);
}

.nativeList {
  margin: 1em 0 1em 40px;
}
.nativeList ul,
.nativeList ol {
  margin-bottom: 0;
  margin-top: 0;
}
.nativeList li {
  margin: 5px 0;
}

ul.nativeList {
  list-style-type: disc;
}

ol.nativeList {
  list-style-type: decimal;
}

/* simulate native HTML styles for certain elements */
.htmlContent::before, .messageSignature > div::before, .messageBody > .messageText::before, .ck.ck-content.ck-editor__editable::before, .htmlContent::after, .messageSignature > div::after, .messageBody > .messageText::after, .ck.ck-content.ck-editor__editable::after {
  display: table;
  content: "";
}
.htmlContent::after, .messageSignature > div::after, .messageBody > .messageText::after, .ck.ck-content.ck-editor__editable::after {
  clear: both;
}
.htmlContent img, .messageSignature > div img, .messageBody > .messageText img, .ck.ck-content.ck-editor__editable img {
  height: auto;
  max-width: 100%;
}
.htmlContent > :first-child, .messageSignature > div > :first-child, .messageBody > .messageText > :first-child, .ck.ck-content.ck-editor__editable > :first-child {
  margin-top: 0 !important;
}
.htmlContent > :first-child:is(.messageFloatObjectLeft, .image-style-side-left, .messageFloatObjectRight, .image-style-side) + :is(p, ul, ol, h1, h2, h3, h4, h4, h6), .messageSignature > div > :first-child:is(.messageFloatObjectLeft, .image-style-side-left, .messageFloatObjectRight, .image-style-side) + :is(p, ul, ol, h1, h2, h3, h4, h4, h6), .messageBody > .messageText > :first-child:is(.messageFloatObjectLeft, .image-style-side-left, .messageFloatObjectRight, .image-style-side) + :is(p, ul, ol, h1, h2, h3, h4, h4, h6), .ck.ck-content.ck-editor__editable > :first-child:is(.messageFloatObjectLeft, .image-style-side-left, .messageFloatObjectRight, .image-style-side) + :is(p, ul, ol, h1, h2, h3, h4, h4, h6) {
  margin-top: 0 !important;
}
.htmlContent > :last-child, .messageSignature > div > :last-child, .messageBody > .messageText > :last-child, .ck.ck-content.ck-editor__editable > :last-child {
  margin-bottom: 0 !important;
}
.htmlContent p, .messageSignature > div p, .messageBody > .messageText p, .ck.ck-content.ck-editor__editable p {
  margin: 1em 0;
}
.htmlContent li > :first-child, .messageSignature > div li > :first-child, .messageBody > .messageText li > :first-child, .ck.ck-content.ck-editor__editable li > :first-child {
  margin-top: 0 !important;
}
.htmlContent li > :last-child, .messageSignature > div li > :last-child, .messageBody > .messageText li > :last-child, .ck.ck-content.ck-editor__editable li > :last-child {
  margin-bottom: 0 !important;
}
.htmlContent h1, .messageSignature > div h1, .messageBody > .messageText h1, .ck.ck-content.ck-editor__editable h1 {
  font-weight: 600;
  line-height: 1.05;
}
@media screen and (min-width: 769px), print {
  .htmlContent h1, .messageSignature > div h1, .messageBody > .messageText h1, .ck.ck-content.ck-editor__editable h1 {
    font-size: var(--wcfFontSizeTitle);
  }
}
@media screen and (max-width: 768px) {
  .htmlContent h1, .messageSignature > div h1, .messageBody > .messageText h1, .ck.ck-content.ck-editor__editable h1 {
    font-size: 23px;
  }
}
.htmlContent h2, .messageSignature > div h2, .messageBody > .messageText h2, .ck.ck-content.ck-editor__editable h2 {
  font-weight: 600;
  line-height: 1.28;
}
@media screen and (min-width: 769px), print {
  .htmlContent h2, .messageSignature > div h2, .messageBody > .messageText h2, .ck.ck-content.ck-editor__editable h2 {
    font-size: var(--wcfFontSizeSection);
  }
}
@media screen and (max-width: 768px) {
  .htmlContent h2, .messageSignature > div h2, .messageBody > .messageText h2, .ck.ck-content.ck-editor__editable h2 {
    font-size: 20px;
  }
}
.htmlContent h3, .messageSignature > div h3, .messageBody > .messageText h3, .ck.ck-content.ck-editor__editable h3 {
  font-weight: 400;
  line-height: 1.28;
}
@media screen and (min-width: 769px), print {
  .htmlContent h3, .messageSignature > div h3, .messageBody > .messageText h3, .ck.ck-content.ck-editor__editable h3 {
    font-size: var(--wcfFontSizeHeadline);
  }
}
@media screen and (max-width: 768px) {
  .htmlContent h3, .messageSignature > div h3, .messageBody > .messageText h3, .ck.ck-content.ck-editor__editable h3 {
    font-size: 18px;
  }
}
.htmlContent h3, .messageSignature > div h3, .messageBody > .messageText h3, .ck.ck-content.ck-editor__editable h3 {
  font-weight: 600;
}
.htmlContent h4, .messageSignature > div h4, .messageBody > .messageText h4, .ck.ck-content.ck-editor__editable h4 {
  font-weight: 600;
}
.htmlContent h1, .messageSignature > div h1, .messageBody > .messageText h1, .ck.ck-content.ck-editor__editable h1,
.htmlContent h2,
.messageSignature > div h2,
.messageBody > .messageText h2,
.ck.ck-content.ck-editor__editable h2,
.htmlContent h3,
.messageSignature > div h3,
.messageBody > .messageText h3,
.ck.ck-content.ck-editor__editable h3,
.htmlContent h4,
.messageSignature > div h4,
.messageBody > .messageText h4,
.ck.ck-content.ck-editor__editable h4,
.htmlContent h5,
.messageSignature > div h5,
.messageBody > .messageText h5,
.ck.ck-content.ck-editor__editable h5,
.htmlContent h6,
.messageSignature > div h6,
.messageBody > .messageText h6,
.ck.ck-content.ck-editor__editable h6 {
  margin: 1.5em 0 1em 0;
}
.htmlContent ul, .messageSignature > div ul, .messageBody > .messageText ul, .ck.ck-content.ck-editor__editable ul,
.htmlContent ol,
.messageSignature > div ol,
.messageBody > .messageText ol,
.ck.ck-content.ck-editor__editable ol {
  margin: 1em 0 1em 40px;
}
.htmlContent ul ul, .messageSignature > div ul ul, .messageBody > .messageText ul ul, .ck.ck-content.ck-editor__editable ul ul,
.htmlContent ul ol,
.messageSignature > div ul ol,
.messageBody > .messageText ul ol,
.ck.ck-content.ck-editor__editable ul ol,
.htmlContent ol ul,
.messageSignature > div ol ul,
.messageBody > .messageText ol ul,
.ck.ck-content.ck-editor__editable ol ul,
.htmlContent ol ol,
.messageSignature > div ol ol,
.messageBody > .messageText ol ol,
.ck.ck-content.ck-editor__editable ol ol {
  margin-bottom: 0;
  margin-top: 0;
}
.htmlContent ul li, .messageSignature > div ul li, .messageBody > .messageText ul li, .ck.ck-content.ck-editor__editable ul li,
.htmlContent ol li,
.messageSignature > div ol li,
.messageBody > .messageText ol li,
.ck.ck-content.ck-editor__editable ol li {
  margin: 5px 0;
}
.htmlContent ul, .messageSignature > div ul, .messageBody > .messageText ul, .ck.ck-content.ck-editor__editable ul {
  list-style-type: disc;
}
.htmlContent ol, .messageSignature > div ol, .messageBody > .messageText ol, .ck.ck-content.ck-editor__editable ol {
  list-style-type: decimal;
}
.htmlContent td > :first-child, .messageSignature > div td > :first-child, .messageBody > .messageText td > :first-child, .ck.ck-content.ck-editor__editable td > :first-child,
.htmlContent th > :first-child,
.messageSignature > div th > :first-child,
.messageBody > .messageText th > :first-child,
.ck.ck-content.ck-editor__editable th > :first-child {
  margin-top: 0 !important;
}
.htmlContent td > :last-child, .messageSignature > div td > :last-child, .messageBody > .messageText td > :last-child, .ck.ck-content.ck-editor__editable td > :last-child,
.htmlContent th > :last-child,
.messageSignature > div th > :last-child,
.messageBody > .messageText th > :last-child,
.ck.ck-content.ck-editor__editable th > :last-child {
  margin-bottom: 0 !important;
}
.htmlContent figure.image, .messageSignature > div figure.image, .messageBody > .messageText figure.image, .ck.ck-content.ck-editor__editable figure.image {
  clear: both;
  display: block;
  margin: 1em auto;
  max-width: 100%;
  min-width: 50px;
  text-align: center;
}
.htmlContent figure.image.image-style-side-left, .messageSignature > div figure.image.image-style-side-left, .messageBody > .messageText figure.image.image-style-side-left, .ck.ck-content.ck-editor__editable figure.image.image-style-side-left {
  float: left;
  margin: 0 20px 20px 0;
}
.htmlContent figure.image.image-style-side, .messageSignature > div figure.image.image-style-side, .messageBody > .messageText figure.image.image-style-side, .ck.ck-content.ck-editor__editable figure.image.image-style-side {
  float: right;
  margin: 0 0 20px 20px;
}

.containerContent hr,
.htmlContent hr,
.messageSignature > div hr,
.messageBody > .messageText hr,
.ck.ck-content.ck-editor__editable hr {
  border: 0;
  border-top: 1px solid var(--wcfContentBorderInner);
  height: 0;
}

.separatorLeft::before {
  color: var(--wcfContentText);
  content: "•";
  margin-right: 0.25em;
}

.separatorRight::after {
  color: var(--wcfContentText);
  content: "•";
  margin-left: 0.25em;
}

.pointer {
  cursor: pointer;
}

a.externalURL::after {
  content: " ↗";
  font-weight: normal !important;
  font-style: normal !important;
}

.visuallyHidden {
  clip: rect(1px, 1px, 1px, 1px);
  height: 1px !important;
  overflow: hidden !important;
  position: absolute !important;
  width: 1px !important;
}

/* Hide the focus ring for mouse interactions, but support them for keyboard navigation.
   See https://github.com/WICG/focus-visible and https://developer.mozilla.org/en-US/docs/Web/CSS/:focus-visible */
:focus:not(:focus-visible) {
  outline: none;
}

summary {
  cursor: pointer;
  -webkit-user-select: none;
  user-select: none;
}

/*!
 * Bootstrap v4.0.0-alpha.2 (http://getbootstrap.com)
 * Copyright 2011-2015 Twitter, Inc.
 * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
 */
/*
 * Attention: This is a modified version containing only the sizes
 * "xs" (mobile) and "md" (desktop). Additionally the "push", "pull",
 * "first" and "last" classes have been left out.
 */
.row {
  display: flex;
  margin-right: -10px;
  margin-left: -10px;
  flex-wrap: wrap;
}

.col-xs-1,
.col-xs-2,
.col-xs-3,
.col-xs-4,
.col-xs-5,
.col-xs-6,
.col-xs-7,
.col-xs-8,
.col-xs-9,
.col-xs-10,
.col-xs-11,
.col-xs-12,
.col-md-1,
.col-md-2,
.col-md-3,
.col-md-4,
.col-md-5,
.col-md-6,
.col-md-7,
.col-md-8,
.col-md-9,
.col-md-10,
.col-md-11,
.col-md-12 {
  position: relative;
  min-height: 1px;
  padding-right: 10px;
  padding-left: 10px;
}

.col-xs-1 {
  flex: 0 0 8.333333%;
  max-width: 8.333333%;
}

.col-xs-2 {
  flex: 0 0 16.666667%;
  max-width: 16.666667%;
}

.col-xs-3 {
  flex: 0 0 25%;
  max-width: 25%;
}

.col-xs-4 {
  flex: 0 0 33.333333%;
  max-width: 33.333333%;
}

.col-xs-5 {
  flex: 0 0 41.666667%;
  max-width: 41.666667%;
}

.col-xs-6 {
  flex: 0 0 50%;
  max-width: 50%;
}

.col-xs-7 {
  flex: 0 0 58.333333%;
  max-width: 58.333333%;
}

.col-xs-8 {
  flex: 0 0 66.666667%;
  max-width: 66.666667%;
}

.col-xs-9 {
  flex: 0 0 75%;
  max-width: 75%;
}

.col-xs-10 {
  flex: 0 0 83.333333%;
  max-width: 83.333333%;
}

.col-xs-11 {
  flex: 0 0 91.666667%;
  max-width: 91.666667%;
}

.col-xs-12 {
  flex: 0 0 100%;
}

.col-xs-offset-0 {
  margin-left: 0;
}

.col-xs-offset-1 {
  margin-left: 8.333333%;
}

.col-xs-offset-2 {
  margin-left: 16.666667%;
}

.col-xs-offset-3 {
  margin-left: 25%;
}

.col-xs-offset-4 {
  margin-left: 33.333333%;
}

.col-xs-offset-5 {
  margin-left: 41.666667%;
}

.col-xs-offset-6 {
  margin-left: 50%;
}

.col-xs-offset-7 {
  margin-left: 58.333333%;
}

.col-xs-offset-8 {
  margin-left: 66.666667%;
}

.col-xs-offset-9 {
  margin-left: 75%;
}

.col-xs-offset-10 {
  margin-left: 83.333333%;
}

.col-xs-offset-11 {
  margin-left: 91.666667%;
}

.col-xs-offset-12 {
  margin-left: 100%;
}

@media screen and (min-width: 769px), print {
  .col-md-1 {
    flex: 0 0 8.333333%;
    max-width: 8.333333%;
  }
  .col-md-2 {
    flex: 0 0 16.666667%;
    max-width: 16.666667%;
  }
  .col-md-3 {
    flex: 0 0 25%;
    max-width: 25%;
  }
  .col-md-4 {
    flex: 0 0 33.333333%;
    max-width: 33.333333%;
  }
  .col-md-5 {
    flex: 0 0 41.666667%;
    max-width: 41.666667%;
  }
  .col-md-6 {
    flex: 0 0 50%;
    max-width: 50%;
  }
  .col-md-7 {
    flex: 0 0 58.333333%;
    max-width: 58.333333%;
  }
  .col-md-8 {
    flex: 0 0 66.666667%;
    max-width: 66.666667%;
  }
  .col-md-9 {
    flex: 0 0 75%;
    max-width: 75%;
  }
  .col-md-10 {
    flex: 0 0 83.333333%;
    max-width: 83.333333%;
  }
  .col-md-11 {
    flex: 0 0 91.666667%;
    max-width: 91.666667%;
  }
  .col-md-12 {
    flex: 0 0 100%;
    max-width: none;
  }
  .col-md-pull-0 {
    right: auto;
  }
  .col-md-pull-1 {
    right: 8.333333%;
  }
  .col-md-pull-2 {
    right: 16.666667%;
  }
  .col-md-pull-3 {
    right: 25%;
  }
  .col-md-pull-4 {
    right: 33.333333%;
  }
  .col-md-pull-5 {
    right: 41.666667%;
  }
  .col-md-pull-6 {
    right: 50%;
  }
  .col-md-pull-7 {
    right: 58.333333%;
  }
  .col-md-pull-8 {
    right: 66.666667%;
  }
  .col-md-pull-9 {
    right: 75%;
  }
  .col-md-pull-10 {
    right: 83.333333%;
  }
  .col-md-pull-11 {
    right: 91.666667%;
  }
  .col-md-pull-12 {
    right: 100%;
  }
  .col-md-push-0 {
    left: auto;
  }
  .col-md-push-1 {
    left: 8.333333%;
  }
  .col-md-push-2 {
    left: 16.666667%;
  }
  .col-md-push-3 {
    left: 25%;
  }
  .col-md-push-4 {
    left: 33.333333%;
  }
  .col-md-push-5 {
    left: 41.666667%;
  }
  .col-md-push-6 {
    left: 50%;
  }
  .col-md-push-7 {
    left: 58.333333%;
  }
  .col-md-push-8 {
    left: 66.666667%;
  }
  .col-md-push-9 {
    left: 75%;
  }
  .col-md-push-10 {
    left: 83.333333%;
  }
  .col-md-push-11 {
    left: 91.666667%;
  }
  .col-md-push-12 {
    left: 100%;
  }
  .col-md-offset-0 {
    margin-left: 0;
  }
  .col-md-offset-1 {
    margin-left: 8.333333%;
  }
  .col-md-offset-2 {
    margin-left: 16.666667%;
  }
  .col-md-offset-3 {
    margin-left: 25%;
  }
  .col-md-offset-4 {
    margin-left: 33.333333%;
  }
  .col-md-offset-5 {
    margin-left: 41.666667%;
  }
  .col-md-offset-6 {
    margin-left: 50%;
  }
  .col-md-offset-7 {
    margin-left: 58.333333%;
  }
  .col-md-offset-8 {
    margin-left: 66.666667%;
  }
  .col-md-offset-9 {
    margin-left: 75%;
  }
  .col-md-offset-10 {
    margin-left: 83.333333%;
  }
  .col-md-offset-11 {
    margin-left: 91.666667%;
  }
  .col-md-offset-12 {
    margin-left: 100%;
  }
}
.row-xs-top {
  -ms-grid-row-align: flex-start;
  align-items: flex-start;
}

.row-xs-center {
  -ms-grid-row-align: center;
  align-items: center;
}

.row-xs-bottom {
  -ms-grid-row-align: flex-end;
  align-items: flex-end;
}

@media screen and (min-width: 769px), print {
  .row-md-top {
    -ms-grid-row-align: flex-start;
    align-items: flex-start;
  }
  .row-md-center {
    -ms-grid-row-align: center;
    align-items: center;
  }
  .row-md-bottom {
    -ms-grid-row-align: flex-end;
    align-items: flex-end;
  }
}
.col-xs-top {
  align-self: flex-start;
}

.col-xs-center {
  align-self: center;
}

.col-xs-bottom {
  align-self: flex-end;
}

@media screen and (min-width: 769px), print {
  .col-md-top {
    align-self: flex-start;
  }
  .col-md-center {
    align-self: center;
  }
  .col-md-bottom {
    align-self: flex-end;
  }
}
/* vertical gap between wrapped columns */
.rowColGap {
  margin-bottom: -20px;
}
.rowColGap > .col-xs-1,
.rowColGap > .col-xs-2,
.rowColGap > .col-xs-3,
.rowColGap > .col-xs-4,
.rowColGap > .col-xs-5,
.rowColGap > .col-xs-6,
.rowColGap > .col-xs-7,
.rowColGap > .col-xs-8,
.rowColGap > .col-xs-9,
.rowColGap > .col-xs-10,
.rowColGap > .col-xs-11,
.rowColGap > .col-xs-12,
.rowColGap > .col-md-1,
.rowColGap > .col-md-2,
.rowColGap > .col-md-3,
.rowColGap > .col-md-4,
.rowColGap > .col-md-5,
.rowColGap > .col-md-6,
.rowColGap > .col-md-7,
.rowColGap > .col-md-8,
.rowColGap > .col-md-9,
.rowColGap > .col-md-10,
.rowColGap > .col-md-11,
.rowColGap > .col-md-12 {
  margin-bottom: 20px !important;
}
.rowColGap:not(:first-child) {
  margin-top: 20px;
}

.gridList {
  display: grid;
  grid-auto-flow: row;
  row-gap: 20px;
}

.gridListItem {
  border-radius: 5px;
  display: grid;
  position: relative;
}
.gridListItem:not(:last-child) {
  padding-bottom: 20px;
  border-bottom: 1px solid var(--wcfContentBorderInner);
}

.gridListItemMessage {
  column-gap: 10px;
  grid-template-areas: "image title   type" "image meta    meta" "image content content";
  grid-template-columns: 48px auto minmax(0, min-content);
}

.gridListItemImage {
  grid-area: image;
}

.gridListItemTitle {
  grid-area: title;
  font-weight: 400;
  line-height: 1.28;
}
@media screen and (min-width: 769px), print {
  .gridListItemTitle {
    font-size: var(--wcfFontSizeHeadline);
  }
}
@media screen and (max-width: 768px) {
  .gridListItemTitle {
    font-size: 18px;
  }
}

.gridListItemMeta {
  color: var(--wcfContentDimmedText);
  grid-area: meta;
}
.gridListItemMeta a,
.gridListItemMeta a:hover,
.gridListItemMeta a:focus {
  color: inherit;
  pointer-events: none;
}

.gridListItemType {
  color: var(--wcfContentDimmedText);
  grid-area: type;
  justify-self: end;
  white-space: nowrap;
}

.gridListItemContent {
  grid-area: content;
  margin-top: 10px;
}

.gridListItemLink {
  color: inherit;
}
.gridListItemLink::before {
  content: "";
  inset: 0;
  position: absolute;
}
.gridListItemLink:hover {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
}

@media screen and (max-width: 544px) {
  .gridListItemMessage {
    grid-template-areas: "image   title" "image   meta" "content content";
    grid-template-columns: 48px auto;
  }
  .gridListItemType {
    display: none;
  }
}
@media screen and (max-width: 768px) {
  .gridListItemTitle {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
}
@media screen and (min-width: 769px), print {
  .gridListItemTitle {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
}
html.disableScrolling {
  overflow: hidden !important;
}
html.disableScrolling body {
  overflow: hidden !important;
}

@media screen and (min-width: 1025px), print {
  html.disableScrolling {
    padding-right: var(--scrollbar-width, 0);
  }
}
@media screen and (max-width: 1024px) {
  html.disableScrolling {
    /* Fix for the gap when using fullscreen dialogs and the navbar collapses.
       See https://stackoverflow.com/questions/69589924/ios-15-minimized-address-bar-issue-with-fixed-position-full-screen-content */
    height: 100vh !important;
  }
  html.disableScrolling body {
    position: fixed !important;
  }
}
html,
body {
  font-weight: 400;
  min-height: 100vh;
  overflow-x: clip;
  width: 100%;
  line-height: var(--wcfFontLineHeight);
}
@media screen and (min-width: 769px), print {
  html,
  body {
    font-size: var(--wcfFontSizeDefault);
  }
}
@media screen and (max-width: 768px) {
  html,
  body {
    font-size: 14px;
  }
}

html {
  overflow-y: scroll;
}

body {
  background-color: var(--wcfContentBackground);
  color: var(--wcfContentText);
  font-family: var(--wcfFontFamily);
  position: relative;
  word-wrap: break-word;
}

a {
  color: var(--wcfContentLink);
  cursor: pointer;
  text-decoration: none;
}
a:hover {
  color: var(--wcfContentLinkActive);
  text-decoration: none;
}

.pageContainer {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* <select> fields placed inside a flexbox parent while containing
   long select options will cause an invisible page overflow, when
   one such option is selected. The <select> itself stays within the
   boundaries, but a scrollbar will appear. */
html.iOS select {
  overflow: hidden;
}

/* COLUMN LAYOUT */
.pageHeaderContainer,
.boxesHeaderBoxes,
.pageNavigation,
.pageFooter,
.boxesTop,
.boxesBottom,
.boxesFooterBoxes {
  flex: 0 0 auto;
}

.main {
  flex: 1 0 auto;
}
@media screen and (max-width: 544px) {
  .main {
    padding: 20px 0;
    width: 100%;
  }
}
@media screen and (min-width: 545px) and (max-width: 1024px) {
  .main {
    padding: 40px 0;
    width: 100%;
  }
}
@media screen and (min-width: 1025px), print {
  .main {
    padding: 60px 0;
  }
}

/* use flex-box to enforce a proper side-by-side layout on desktop */
@media screen and (min-width: 1025px), print {
  .main > div {
    display: flex;
  }
  .content {
    flex: 1 1 0px;
  }
  .content.content--sidebar-right {
    flex-basis: calc(100% - 340px);
    max-width: calc(100% - 340px);
  }
  .content.content--sidebar-right + .sidebar {
    margin-left: 30px;
  }
  .sidebar {
    flex: 0 0 310px;
    overflow: hidden;
  }
  .sidebar:first-child {
    margin-right: 30px;
  }
  .sidebar + .content {
    flex-basis: calc(100% - 340px);
    max-width: calc(100% - 340px);
  }
  .sidebar + .content:not(:last-child) {
    flex-basis: calc(100% - 680px);
    max-width: calc(100% - 680px);
  }
}
/* mobile arranges the sidebar and content vertically:

   <leftSidebar> <content> <rightSidebar>

   becomes:

   <leftSidebar>
   <content>
   <rightSidebar>
*/
@media screen and (max-width: 1024px) {
  .sidebar + .content,
  .content + .sidebar {
    margin-top: 30px;
  }
}
.sideBySide {
  margin-top: 20px;
}
@media screen and (min-width: 769px), print {
  .sideBySide {
    display: table;
    table-layout: fixed;
    width: 100%;
  }
  .sideBySide > .section {
    display: table-cell;
    vertical-align: top;
    width: 49%;
  }
  .sideBySide > .section + .section {
    padding-left: 2%;
  }
}

.sideBySide.templateDiff {
  --templateDiff-added-background: #90ee90;
  --templateDiff-added-color: inherit;
  --templateDiff-removed-background: #ffb6c1;
  --templateDiff-removed-color: inherit;
}
.sideBySide.templateDiff li {
  margin: 0;
}
.sideBySide.templateDiff .templateDiff--added {
  background-color: var(--templateDiff-added-background);
  color: var(--templateDiff-added-color);
}
.sideBySide.templateDiff .templateDiff--removed {
  background-color: var(--templateDiff-removed-background);
  color: var(--templateDiff-removed-color);
}

/*
	CSS hack to target only Safari.
	Taken from https://browserstrangeness.github.io/css_hacks.html#safari
*/
@supports (font: -apple-system-body) {
  .sideBySide.templateDiff .nativeList {
    margin-block-start: 1em;
    margin-block-end: 1em;
    margin-inline-end: 0px;
    padding-inline-start: 40px;
  }
}
html[data-color-scheme=dark] .sideBySide.templateDiff {
  --templateDiff-added-background: #172810;
  --templateDiff-added-color: #4f9c51;
  --templateDiff-removed-background: #281010;
  --templateDiff-removed-color: #d95654;
}

.inlineItems {
  display: flex;
  flex-wrap: wrap;
}
.inlineItems .inlineItem {
  flex: 0 1 auto;
}
.inlineItems .inlineItem:not(:last-child) {
  margin-right: 5px;
}
.inlineItems.commaSeparated .inlineItem:not(:last-child)::after {
  content: ",";
  padding-left: 1px;
}
.inlineItems.dotSeparated .inlineItem:not(:last-child)::after {
  content: "•";
  margin-left: 5px;
}

#pageOverlayContainer {
  pointer-events: none;
}

#pageOverlayContainer > *:not(.dropdownMenuContainer) {
  pointer-events: all;
}

.pageFooterCopyright {
  background-color: var(--wcfFooterCopyrightBackground);
  color: var(--wcfFooterCopyrightText);
  text-align: center;
}
@media screen and (min-width: 769px), print {
  .pageFooterCopyright {
    padding: 20px 0;
  }
}
@media screen and (max-width: 768px) {
  .pageFooterCopyright {
    padding: 20px 0;
    font-weight: 400;
  }
}
@media screen and (max-width: 768px) and (min-width: 769px) {
  .pageFooterCopyright {
    font-size: var(--wcfFontSizeSmall);
  }
}
@media screen and (max-width: 768px) and (max-width: 768px) {
  .pageFooterCopyright {
    font-size: 12px;
  }
}
.pageFooterCopyright > .layoutBoundary > div:not(:first-child) {
  margin-top: 10px;
}
.pageFooterCopyright a {
  color: var(--wcfFooterCopyrightLink);
}
.pageFooterCopyright a:hover {
  color: var(--wcfFooterCopyrightLinkActive);
  text-decoration: underline;
}

.pageHeaderContainer {
  background-color: var(--wcfHeaderBackground);
  color: var(--wcfHeaderText);
  z-index: 100;
  /* reserved space for `.pageHeaderPanel` */
  padding-top: 50px;
}
.pageHeaderContainer a {
  color: var(--wcfHeaderLink);
}
.pageHeaderContainer a:hover {
  color: var(--wcfHeaderLinkActive);
}

.pageHeaderPanel {
  left: 0;
  position: fixed;
  right: 0;
  top: 0;
  z-index: 300;
}
.pageHeaderPanel > .layoutBoundary {
  display: flex;
}
@media screen and (min-width: 1025px), print {
  .pageHeaderPanel {
    background-color: var(--wcfHeaderMenuBackground);
  }
}

@media screen and (min-width: 1025px), print {
  html.disableScrolling .pageHeaderPanel {
    right: var(--scrollbar-width, 0);
  }
}
.pageHeaderFacade:first-child {
  margin-top: -50px;
}
.pageHeaderFacade > .layoutBoundary {
  align-items: center;
  display: flex;
}
@media screen and (min-width: 1025px), print {
  .pageHeaderFacade > .layoutBoundary {
    align-items: center;
    padding-bottom: 30px;
    padding-top: 30px;
  }
}

/* MAIN MENU */
.mainMenu {
  position: relative;
}
.mainMenu .boxMenu {
  display: flex;
  overflow: hidden;
}
.mainMenu .boxMenu > li {
  flex: 0 0 auto;
}
.mainMenu .boxMenu > li:first-child {
  transition: margin-left 0.24s ease-in-out;
}
.mainMenu .boxMenu > li > a {
  background-color: var(--wcfHeaderMenuLinkBackground);
  align-items: center;
  color: var(--wcfHeaderMenuLink);
  display: flex;
  height: 50px;
  padding: 0 15px;
}
.mainMenu .boxMenu > li > a > span {
  flex: 0 0 auto;
}
.mainMenu .boxMenu > li > a > .boxMenuLinkOutstandingItems {
  margin-left: 5px;
}
.mainMenu .boxMenu > li > span {
  cursor: default;
}
.mainMenu .boxMenu > li.active > a, .mainMenu .boxMenu > li:hover > a {
  background-color: var(--wcfHeaderMenuLinkBackgroundActive);
  color: var(--wcfHeaderMenuLinkActive);
}
.mainMenu .boxMenu > .boxMenuHasChildren:hover .boxMenuDepth1,
.mainMenu .boxMenu > .boxMenuHasChildren > a[aria-expanded=true] ~ .boxMenuDepth1 {
  visibility: visible;
}
.mainMenu .boxMenu .boxMenuDepth1 {
  background-color: var(--wcfHeaderMenuDropdownBackground);
  border: 1px solid var(--wcfHeaderMenuDropdownBorder);
  border-radius: 0 0 var(--wcfBorderRadius) var(--wcfBorderRadius);
  box-shadow: var(--wcfBoxShadow);
  padding: 5px 0;
  position: absolute;
  visibility: hidden;
}
@media screen and (min-width: 769px), print {
  .mainMenu .boxMenu .boxMenuDepth1 {
    font-size: var(--wcfFontSizeDefault);
  }
}
@media screen and (max-width: 768px) {
  .mainMenu .boxMenu .boxMenuDepth1 {
    font-size: 14px;
  }
}
.mainMenu .boxMenu .boxMenuDepth1 > li > a {
  color: var(--wcfHeaderMenuDropdownLink);
}
.mainMenu .boxMenu .boxMenuDepth1 > li > a,
.mainMenu .boxMenu .boxMenuDepth1 > li > span {
  display: block;
  padding: 7px 20px;
  white-space: nowrap;
}
.mainMenu .boxMenu .boxMenuDepth1 > li.active > a,
.mainMenu .boxMenu .boxMenuDepth1 > li > a:hover {
  background-color: var(--wcfHeaderMenuDropdownBackgroundActive);
  color: var(--wcfHeaderMenuDropdownLinkActive);
  text-decoration: none;
}
.mainMenu .boxMenu .boxMenuDepth2 li > a {
  color: var(--wcfHeaderMenuDropdownLink);
  display: block;
  padding: 5px 20px 5px 40px;
  white-space: nowrap;
}
.mainMenu .boxMenu .boxMenuDepth2 li.active > a,
.mainMenu .boxMenu .boxMenuDepth2 li > a:hover {
  background-color: var(--wcfHeaderMenuDropdownBackgroundActive);
  color: var(--wcfHeaderMenuDropdownLinkActive);
  text-decoration: none;
}
.mainMenu .mainMenuShowPrevious,
.mainMenu .mainMenuShowNext {
  align-items: center;
  display: flex;
  height: 100%;
  opacity: 0;
  position: absolute;
  top: 0;
  transition: opacity 0.24s linear, visibility 0s linear 0.24s;
  visibility: hidden;
  width: 50px;
  z-index: 1;
}
.mainMenu .mainMenuShowPrevious.active,
.mainMenu .mainMenuShowNext.active {
  opacity: 1;
  transition-delay: 0s;
  visibility: visible;
}
.mainMenu .mainMenuShowPrevious {
  background: linear-gradient(to left, rgba(var(--wcfHeaderMenuBackground-rgb)/0) 0%, var(--wcfHeaderMenuBackground) 75%);
  left: 0;
}
.mainMenu .mainMenuShowNext {
  background: linear-gradient(to right, rgba(var(--wcfHeaderMenuBackground-rgb)/0) 0%, var(--wcfHeaderMenuBackground) 75%);
  justify-content: flex-end;
  right: 0;
}
@media screen and (min-width: 1025px), print {
  .mainMenu {
    flex: 1;
    margin-right: 20px;
  }
}

/* Hack for a font rendering issue in Safari on menu hover */
_:-webkit-full-screen:not(:root:root),
.pageHeaderPanel > .layoutBoundary {
  transform: translateZ(0);
}

/* user panel */
.userPanel {
  flex: 0 0 auto;
}
.userPanel > ul {
  display: flex;
  justify-content: flex-end;
}
.userPanel > ul > li {
  align-items: center;
  display: flex;
  flex: 0 0 auto;
}
.userPanel > ul > li > a {
  align-items: center;
  background-color: var(--wcfHeaderMenuLinkBackground);
  color: var(--wcfHeaderMenuLink);
  display: flex;
  flex: 0 0 auto;
  height: 50px;
  padding: 0 15px;
  position: relative;
  /* hide icon label */
  /* special styling for update badge */
}
.userPanel > ul > li > a .iconWrapper {
  align-items: center;
  display: flex;
  height: 50px;
}
.userPanel > ul > li > a > span:not(.badge):not(.iconWrapper) {
  display: none;
}
.userPanel > ul > li > a > .badgeUpdate {
  box-shadow: -1px 2px 3px rgba(0, 0, 0, 0.3), inset 0 2px 5px rgba(225, 225, 225, 0.3);
  left: 35px;
  padding: 1px 6px;
  position: absolute;
  top: 4px;
  z-index: 101;
}
.userPanel > ul > li.dropdownOpen > a, .userPanel > ul > li.open > a, .userPanel > ul > li:hover > a {
  background-color: var(--wcfHeaderMenuLinkBackgroundActive);
  color: var(--wcfHeaderMenuLinkActive);
}

/* LOGO */
@media screen and (min-width: 1025px), print {
  .pageHeaderLogo {
    flex: 1 1 auto;
  }
  .pageHeaderLogo .pageHeaderLogoLarge {
    height: auto;
    max-width: 100%;
  }
  .pageHeaderLogo .pageHeaderLogoSmall {
    display: none;
  }
  .pageHeaderLogo > a {
    display: block;
    padding: 10px 0;
  }
}
@media screen and (max-width: 1024px) {
  .pageHeaderLogo .pageHeaderLogoLarge {
    display: none;
  }
  .pageHeaderLogo .pageHeaderLogoSmall {
    max-height: 30px;
    max-width: 100%;
    object-fit: contain;
    width: auto;
  }
}

/* SEARCH AREA */
.pageHeaderSearch {
  display: none;
  position: fixed;
}

@media screen and (min-width: 1025px), print {
  .pageHeaderSearchMobile,
  .pageHeaderMenuMobile,
  .userPanelLoginLink,
  .pageHeaderUserMobile {
    display: none;
  }
}
.searchBarOpen .pageHeaderSearch {
  display: block;
  /* required for Edge */
  z-index: 100;
}

.pageHeaderSearchInputContainer {
  display: flex;
  /* Increases the specificity to overrule the CSS for <button>. */
}
.pageHeaderSearchInputContainer .pageHeaderSearchType {
  display: flex;
}
.pageHeaderSearchInputContainer .pageHeaderSearchType > .button {
  align-items: center;
  background-color: var(--wcfHeaderMenuLinkBackground);
  border-radius: 0 0 0 2px;
  color: var(--wcfHeaderMenuLink);
  display: flex;
  justify-content: space-between;
  max-width: 200px;
  min-width: 130px;
  padding: 4px 8px;
  position: relative;
  text-align: left;
}
.pageHeaderSearchInputContainer .pageHeaderSearchType > .button > .pageHeaderSearchTypeLabel {
  flex: 0 auto;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.pageHeaderSearchInputContainer .pageHeaderSearchType > .button:hover, .pageHeaderSearchInputContainer .pageHeaderSearchType.dropdownOpen > .button {
  background-color: var(--wcfHeaderMenuLinkBackgroundActive);
  color: var(--wcfHeaderMenuLinkActive);
}
.pageHeaderSearchInputContainer .pageHeaderSearchInput {
  background-color: var(--wcfHeaderSearchBoxBackground);
  border-radius: 0;
  border-width: 0;
  color: var(--wcfHeaderSearchBoxText);
  padding-bottom: 8px;
  padding-top: 8px;
  width: 250px;
  /* set placeholder color, do not chain these with a comma
     as an unrecognized value causes the instruction to be
     discarded in entirety */
  /* remove broken cancel-button (webkit) */
}
.pageHeaderSearchInputContainer .pageHeaderSearchInput:focus, .pageHeaderSearchInputContainer .pageHeaderSearchInput:hover {
  background-color: var(--wcfHeaderSearchBoxBackgroundActive);
  color: var(--wcfHeaderSearchBoxTextActive);
  /* set placeholder color, do not chain these with a comma
     as an unrecognized value causes the instruction to be
     discarded in entirety */
}
.pageHeaderSearchInputContainer .pageHeaderSearchInput:focus::-webkit-input-placeholder, .pageHeaderSearchInputContainer .pageHeaderSearchInput:hover::-webkit-input-placeholder {
  /* WebKit browsers */
  color: var(--wcfHeaderSearchBoxPlaceholderActive);
}
.pageHeaderSearchInputContainer .pageHeaderSearchInput:focus::-moz-placeholder, .pageHeaderSearchInputContainer .pageHeaderSearchInput:hover::-moz-placeholder {
  /* Mozilla Firefox 19+ */
  color: var(--wcfHeaderSearchBoxPlaceholderActive);
}
.pageHeaderSearchInputContainer .pageHeaderSearchInput:focus:-ms-input-placeholder, .pageHeaderSearchInputContainer .pageHeaderSearchInput:hover:-ms-input-placeholder {
  /* Internet Explorer 10+ */
  color: var(--wcfHeaderSearchBoxPlaceholderActive);
}
.pageHeaderSearchInputContainer .pageHeaderSearchInput::-webkit-input-placeholder {
  /* WebKit browsers */
  color: var(--wcfHeaderSearchBoxPlaceholder);
}
.pageHeaderSearchInputContainer .pageHeaderSearchInput::-moz-placeholder {
  /* Mozilla Firefox 19+ */
  color: var(--wcfHeaderSearchBoxPlaceholder);
}
.pageHeaderSearchInputContainer .pageHeaderSearchInput:-ms-input-placeholder {
  /* Internet Explorer 10+ */
  color: var(--wcfHeaderSearchBoxPlaceholder);
}
.pageHeaderSearchInputContainer .pageHeaderSearchInput::-webkit-search-cancel-button {
  display: none;
}
.pageHeaderSearchInputContainer .pageHeaderSearchInputButton.pageHeaderSearchInputButton {
  background-color: var(--wcfHeaderMenuLinkBackground);
  border-radius: 0 0 2px 0;
  color: var(--wcfHeaderMenuLink);
  padding: 4px 9px;
}
.pageHeaderSearchInputContainer .pageHeaderSearchInputButton.pageHeaderSearchInputButton:hover {
  background-color: var(--wcfHeaderMenuLinkBackgroundActive);
  color: var(--wcfHeaderMenuLinkActive);
}

@media screen and (max-width: 1024px) {
  .pageHeader {
    align-items: center;
    background-color: var(--wcfHeaderBackground);
    column-gap: 10px;
    display: grid;
    grid-template-areas: "logo search user menu";
    grid-template-columns: auto repeat(3, max-content);
    height: 50px;
    left: 0;
    padding: 0 6px;
    position: fixed;
    right: 0;
    top: 0;
  }
  .pageHeader.pageHeader--authFlow {
    display: flex;
    justify-content: center;
  }
  .pageHeaderPanel,
  .pageHeaderFacade,
  .pageHeaderPanel .layoutBoundary,
  .pageHeaderFacade .layoutBoundary {
    display: contents;
    position: static;
  }
  .pageHeaderSearchMobile,
  .userPanel,
  .pageHeaderMenuMobile {
    align-items: center;
    display: flex;
    height: 40px;
    justify-content: center;
    width: 40px;
  }
  .pageHeaderLogo {
    grid-area: logo;
  }
  .pageHeaderLogo a {
    align-items: center;
    display: inline-flex;
    height: 40px;
    padding: 0 4px;
  }
  .pageHeaderSearchMobile {
    grid-area: search;
  }
  .pageHeaderUserMobile {
    align-items: center;
    display: flex;
    grid-area: user;
    height: 40px;
    justify-content: center;
    width: 40px;
  }
  .pageHeaderUserMobile[aria-expanded=false] .pageHeaderUserMobileActive {
    display: none;
  }
  .pageHeaderUserMobile[aria-expanded=true] .pageHeaderUserMobileInactive {
    display: none;
  }
  .userPanel,
  .mainMenu {
    display: none;
  }
  .pageHeaderMenuMobile {
    grid-area: menu;
  }
  .pageHeaderMenuMobile[aria-expanded=false] .pageHeaderMenuMobileActive {
    display: none;
  }
  .pageHeaderMenuMobile[aria-expanded=true] .pageHeaderMenuMobileInactive {
    display: none;
  }
  .mainMenu.pageMenuMobileButtonHasContent ~ .pageHeaderMenuMobile[aria-expanded=false],
  .userPanel.pageMenuMobileButtonHasContent ~ .pageHeaderUserMobile[aria-expanded=false] {
    position: relative;
  }
  .mainMenu.pageMenuMobileButtonHasContent ~ .pageHeaderMenuMobile[aria-expanded=false]::after,
  .userPanel.pageMenuMobileButtonHasContent ~ .pageHeaderUserMobile[aria-expanded=false]::after {
    background-color: rgb(244, 67, 54);
    border: 2px solid var(--wcfHeaderBackground);
    border-radius: 50%;
    content: "";
    height: 14px;
    position: absolute;
    right: 0;
    top: 0;
    width: 14px;
  }
  .userPanelLoginLink {
    align-items: center;
    display: flex;
    justify-content: center;
    height: 100%;
    width: 100%;
  }
  .userPanelLoginLink fa-icon {
    color: var(--wcfHeaderText);
  }
  .userPanel.hideUserPanel::before {
    visibility: hidden !important;
  }
  .pageHeaderSearch {
    background-color: rgba(0, 0, 0, 0.34);
    bottom: 0;
    left: 0 !important;
    overflow: hidden;
    right: 0 !important;
  }
  .pageHeaderSearch .pageHeaderSearchInputContainer {
    border-radius: 0;
    box-shadow: var(--wcfBoxShadow);
    display: flex;
    flex-wrap: wrap;
  }
  .pageHeaderSearch .pageHeaderSearchInputContainer .pageHeaderSearchType {
    flex: 0 0 100%;
  }
  .pageHeaderSearch .pageHeaderSearchInputContainer .pageHeaderSearchType > .button {
    border-radius: 0;
    max-width: unset;
    min-width: unset;
    padding-bottom: 8px;
    padding-top: 8px;
    width: 100%;
  }
  .pageHeaderSearch .pageHeaderSearchInputContainer .pageHeaderSearchInput {
    flex: 1 1 auto;
  }
  .pageHeaderSearch .pageHeaderSearchInputContainer .pageHeaderSearchInputButton {
    border-radius: 0;
  }
  .pageHeaderSearch:not(.open) {
    display: none;
  }
}
/* print version */
@media print {
  /** reset font colors, backgrounds and shadows **/
  *,
  ::after,
  ::before {
    background: 0 0 !important;
    box-shadow: none !important;
    color: #000 !important;
    opacity: 1 !important;
    text-shadow: none !important;
  }
  /** hide obsolete elements **/
  /* general elements */
  .pageHeaderContainer,
  .userNotice,
  .pageAction,
  .contentHeaderNavigation,
  .contentFooterNavigation,
  .contentInteraction,
  .paginationTop,
  .paginationBottom,
  .buttonList,
  .collapsibleButton,
  .columnMark,
  .statusDisplay,
  .dialogContainer,
  .formSubmit,
  .tabMenu > ul > li:not(.active),
  .showMore,
  .boxesSidebarLeft,
  .boxesSidebarRight,
  .boxesFooterBoxes,
  .boxesFooter,
  .messageFooterButtons,
  .messageFooterButtonsExtra,
  .messageQuickOptions,
  .messageGroupEditLink,
  #messageQuickReply,
  .messageAuthor .badgeOnline,
  .jsCommentAdd,
  .userProfileCoverPhoto,
  .containerListButtonGroup {
    display: none !important;
  }
  /** minor optimizations **/
  .main {
    padding: 20px 0;
  }
  .content {
    flex-basis: auto !important;
    max-width: none !important;
  }
  .pageNavigation {
    display: block;
    padding-top: 10px;
  }
  .pageNavigation .breadcrumbs {
    margin-left: 0;
  }
  .badge {
    padding: 0 !important;
  }
  .badge::before {
    content: "[";
  }
  .badge::after {
    content: "]";
  }
  .userProfileUser {
    position: static !important;
  }
  a.externalURL::after {
    content: " (" attr(href) ")";
  }
  .messageList,
  .messageList > li:not(:first-child) {
    border-top: 1px solid var(--wcfContentBorder);
  }
  .messageList > li {
    padding-top: 20px;
  }
  .messageSidebar {
    margin: 0 !important;
    padding: 0 !important;
  }
  /* see https://bugzilla.mozilla.org/show_bug.cgi?id=939897 */
  .pageContainer,
  .main > div {
    display: block !important;
  }
}
/* @deprecated 6.2 Use `sidebarListItem` instead */
.sidebarItemList > li:not(:last-child) {
  margin-bottom: 10px;
}

.sidebarItemListEntry {
  column-gap: 8px;
  display: grid;
  grid-template-columns: 24px auto;
  position: relative;
}

.sidebarItemListEntryLink::before {
  content: "";
  inset: 0;
  position: absolute;
}

.sidebarItem.new h3 {
  font-weight: 600;
}

.sidebar select {
  width: 100%;
}
.sidebar select + select {
  margin-top: 10px;
}

/* legacy styling for sidebars (deprecated) */
.sidebar fieldset {
  margin-top: 0;
}
.sidebar fieldset > legend {
  float: left;
  width: 100%;
}
.sidebar fieldset > legend + * {
  clear: left;
}
.sidebar .boxContainer > div:not(.box),
.sidebar .boxContainer > fieldset,
.sidebar .boxContainer > section:not(.box) {
  background-color: var(--wcfSidebarBackground);
}
@media screen and (min-width: 769px), print {
  .sidebar .boxContainer > div:not(.box),
  .sidebar .boxContainer > fieldset,
  .sidebar .boxContainer > section:not(.box) {
    padding: 20px;
  }
}
@media screen and (max-width: 768px) {
  .sidebar .boxContainer > div:not(.box),
  .sidebar .boxContainer > fieldset,
  .sidebar .boxContainer > section:not(.box) {
    padding: 20px 10px;
  }
}
.sidebar .boxContainer > div:not(.box):not(:first-child),
.sidebar .boxContainer > fieldset:not(:first-child),
.sidebar .boxContainer > section:not(.box):not(:first-child) {
  margin-top: 30px;
}
.sidebar .boxContainer section:not(.box) > h1,
.sidebar .boxContainer fieldset > legend {
  color: var(--wcfSidebarHeadlineText);
  border-bottom-width: 0;
  margin-bottom: 15px;
  padding: 0;
  font-weight: 400;
  line-height: 1.28;
}
@media screen and (min-width: 769px), print {
  .sidebar .boxContainer section:not(.box) > h1,
  .sidebar .boxContainer fieldset > legend {
    font-size: var(--wcfFontSizeHeadline);
  }
}
@media screen and (max-width: 768px) {
  .sidebar .boxContainer section:not(.box) > h1,
  .sidebar .boxContainer fieldset > legend {
    font-size: 18px;
  }
}
.sidebar .boxContainer section:not(.box) > h1 > a,
.sidebar .boxContainer fieldset > legend > a {
  color: var(--wcfSidebarHeadlineLink);
}
.sidebar .boxContainer section:not(.box) > h1 > a:hover,
.sidebar .boxContainer fieldset > legend > a:hover {
  color: var(--wcfSidebarHeadlineLinkActive);
}
.sidebar .formSubmit:not(:first-child) {
  margin-top: 20px;
}
.sidebar .boxContainer > div .boxContent::before, .sidebar .boxContainer > div .boxContent::after,
.sidebar .boxContainer > fieldset .boxContent::before,
.sidebar .boxContainer > fieldset .boxContent::after,
.sidebar .boxContainer > section .boxContent::before,
.sidebar .boxContainer > section .boxContent::after {
  display: table;
  content: "";
}
.sidebar .boxContainer > div .boxContent::after,
.sidebar .boxContainer > fieldset .boxContent::after,
.sidebar .boxContainer > section .boxContent::after {
  clear: both;
}
.sidebar .boxContainer > div .button.more,
.sidebar .boxContainer > fieldset .button.more,
.sidebar .boxContainer > section .button.more {
  float: right;
  margin-top: 15px;
}
.sidebar .boxTitle .badge {
  float: right;
  top: 2px;
}
.sidebar .sidebarBoxList > li:not(:last-child) {
  margin-bottom: 10px;
}

.accountSecurityContainer {
  align-items: center;
  display: flex;
}
@media screen and (max-width: 768px) {
  .accountSecurityContainer {
    align-items: flex-start;
    flex-direction: column;
  }
}

.accountSecurityInformation {
  flex: 1 auto;
}

.accountSecurityInformationLink {
  color: inherit;
}

.accountSecurityButtons {
  flex: 0 0 auto;
}
@media screen and (min-width: 769px), print {
  .accountSecurityButtons {
    margin-left: 10px;
  }
}
@media screen and (max-width: 768px) {
  .accountSecurityButtons {
    align-self: flex-end;
    margin-top: 5px;
  }
}

.multifactorBackupCode {
  font-family: var(--wcfFontFamilyMonospace) !important;
}
.multifactorBackupCode.used {
  text-decoration: line-through;
}
.multifactorBackupCode .chunk {
  margin-left: 5px;
}
.multifactorBackupCode .chunk:first-child {
  margin-left: 0;
  font-weight: 600;
}

@media not print {
  .multifactorBackupCodesPrintMetadata {
    display: none !important;
  }
}
@media print {
  .multifactorBackupCodesPrintButton {
    display: none !important;
  }
  .multifactorBackupCodesPrintContainer {
    padding: 1cm !important;
    position: absolute !important;
    background: white !important;
    inset: 0 !important;
  }
  .multifactorBackupCodesPrintContainer .multifactorBackupCodesPrintMetadata {
    max-width: 9cm !important;
  }
}
input.multifactorTotpCode,
input.multifactorEmailCode,
input.multifactorBackupCode {
  font-family: var(--wcfFontFamilyMonospace) !important;
  font-weight: 600;
  box-sizing: content-box;
}
input.multifactorTotpCode[size="6"],
input.multifactorEmailCode[size="6"],
input.multifactorBackupCode[size="6"] {
  width: 6ch;
  font-size: 28px;
}
input.multifactorTotpCode[size="8"],
input.multifactorEmailCode[size="8"],
input.multifactorBackupCode[size="8"] {
  width: 8ch;
  font-size: 28px;
}
input.multifactorTotpCode[size="23"],
input.multifactorEmailCode[size="23"],
input.multifactorBackupCode[size="23"] {
  width: 23ch;
  font-size: 18px;
}

.multifactorTotpNewDevice {
  display: flex;
  flex-direction: column;
  margin-top: 20px;
}
.multifactorTotpNewDevice .totpSecretContainer {
  text-align: center;
}
.multifactorTotpNewDevice .totpSecretContainer canvas {
  width: 200px;
  height: 200px;
  background: #fff;
  border-radius: 3px;
  border: 3px solid #fff;
  box-sizing: content-box;
}
.multifactorTotpNewDevice .totpSecret {
  display: inline-block;
  margin-top: 10px;
}
.multifactorTotpNewDevice .multifactorTotpNewDeviceFields {
  flex: 1 1 auto;
}
@media screen and (min-width: 769px), print {
  .multifactorTotpNewDevice {
    flex-direction: row;
  }
  .multifactorTotpNewDevice .totpSecretContainer {
    width: 250px;
    margin: 0 5px;
  }
}

/* object list, e.g. users and groups */
.aclList {
  max-height: 400px;
  overflow: auto;
}

.aclList:not(:empty) {
  border-bottom: 1px solid var(--wcfContentBorder);
  border-top: 1px solid var(--wcfContentBorder);
}

.aclListItem {
  align-items: center;
  display: flex;
  padding: 10px 0;
}

.aclListItem:not(.active) {
  cursor: pointer;
}

.aclListItem.active {
  background-color: var(--wcfTabularBoxBackgroundActive);
}

.aclItemDeleteButton {
  flex: 0 0 36px;
  padding: 0 5px;
}

.aclLabel {
  flex: 1 1 auto;
  margin: 0 5px;
}

.aclListItem:first-child {
  border-top: none;
}

.aclListItem:last-child {
  border-bottom: none;
}

/* search input */
.aclSearchInput {
  margin-top: 20px !important;
}

/* permissions per object */
.aclPermissionList {
  margin-top: 40px;
  position: relative;
  display: grid;
  column-gap: 1px;
  grid-template-columns: 10px auto repeat(3, 60px);
  grid-template-rows: auto;
}

.aclPermissionListItem:not(:last-child):not(:first-child) {
  border-bottom: 1px solid var(--wcfContentBorderInner);
}

.aclOption {
  grid-column: 1/span 5;
  transition: background-color 0.2s;
  padding: 10px 0;
  display: grid;
  grid-template-columns: subgrid;
  grid-template-rows: subgrid;
}

.aclOptionTitle {
  grid-column: span 2;
  grid-column-start: 2;
}

.aclOptionInputLabel {
  text-align: center;
  cursor: pointer;
}

.aclOption:hover {
  background-color: var(--wcfTabularBoxBackgroundActive);
}

.aclCategory {
  grid-column: 1/span 5;
  padding: 20px 10px 10px 0;
  font-weight: 400;
  line-height: 1.28;
}
@media screen and (min-width: 769px), print {
  .aclCategory {
    font-size: var(--wcfFontSizeHeadline);
  }
}
@media screen and (max-width: 768px) {
  .aclCategory {
    font-size: 18px;
  }
}

.aclHeader {
  grid-column: 1/span 5;
  position: sticky;
  border-bottom: 1px solid var(--wcfContentBorder);
  top: 50px;
  background-color: var(--wcfContentContainerBackground);
  display: grid;
  grid-template-columns: subgrid;
  grid-template-rows: subgrid;
}

.aclHeaderSpan {
  padding: 10px 0;
  text-align: center;
  font-weight: 400;
}
@media screen and (min-width: 769px), print {
  .aclHeaderSpan {
    font-size: var(--wcfFontSizeSmall);
  }
}
@media screen and (max-width: 768px) {
  .aclHeaderSpan {
    font-size: 12px;
  }
}

.aclHeaderInherited {
  grid-column-start: 3;
}

.aclHeaderGrant {
  grid-column-start: 4;
}

.aclHeaderDeny {
  grid-column-start: 5;
}

.wcfAdLocation {
  overflow: hidden;
}

@media screen and (min-width: 1025px), print {
  .wcfAdLocationLogo {
    float: right;
    margin-left: 30px;
  }
}
@media screen and (max-width: 1024px) {
  .wcfAdLocationLogo {
    display: none;
  }
}

.wcfAdLocationHeaderContent {
  margin-bottom: 20px;
}

.wcfAdLocationFooterContent {
  margin-top: 20px;
}

.wcfAdLocationHeaderContent,
.wcfAdLocationFooterContent,
.wcfAdLocationFooterBottom,
.wcfAdLocationSidebarTop,
.wcfAdLocationSidebarBottom {
  text-align: center;
}
.wcfAdLocationHeaderContent > div,
.wcfAdLocationFooterContent > div,
.wcfAdLocationFooterBottom > div,
.wcfAdLocationSidebarTop > div,
.wcfAdLocationSidebarBottom > div {
  display: inline-block;
  text-align: left;
}

/* placeholder sizes, required for Google AdSense */
@media screen and (min-width: 1025px), print {
  .wcfAdLocationLogo .adsbygoogle {
    height: 60px;
    width: 468px;
  }
}
@media screen and (max-width: 544px) {
  .wcfAdLocationHeaderContent .adsbygoogle,
  .wcfAdLocationFooterContent .adsbygoogle {
    height: 50px;
    width: 320px;
  }
}
@media screen and (min-width: 545px), print {
  .wcfAdLocationHeaderContent .adsbygoogle,
  .wcfAdLocationFooterContent .adsbygoogle {
    height: 60px;
    width: 468px;
  }
}

@media screen and (min-width: 545px) and (max-width: 768px) {
  .wcfAdLocationFooterBottom .adsbygoogle {
    height: 60px;
    width: 468px;
  }
}
@media screen and (min-width: 769px) and (max-width: 1024px) {
  .wcfAdLocationFooterBottom .adsbygoogle {
    height: 90px;
    width: 728px;
  }
}
@media screen and (min-width: 1025px), print {
  .wcfAdLocationFooterBottom .adsbygoogle {
    height: 90px;
    width: 970px;
  }
}

@media screen and (max-width: 1024px) {
  .wcfAdLocationSidebarTop .adsbygoogle,
  .wcfAdLocationSidebarBottom .adsbygoogle {
    height: 250px;
    width: 300px;
  }
}
@media screen and (min-width: 1025px), print {
  .wcfAdLocationSidebarTop .adsbygoogle,
  .wcfAdLocationSidebarBottom .adsbygoogle {
    height: 600px;
    width: 160px;
  }
}

.error,
.info,
.success,
.warning {
  border: 1px solid transparent;
  border-radius: var(--wcfBorderRadius);
  margin-top: 20px;
}
@media screen and (min-width: 769px), print {
  .error,
  .info,
  .success,
  .warning {
    padding: 10px 20px;
  }
}
@media screen and (max-width: 768px) {
  .error,
  .info,
  .success,
  .warning {
    padding: 10px;
  }
}
.error a,
.info a,
.success a,
.warning a {
  font-weight: 600;
}
.error a:hover,
.info a:hover,
.success a:hover,
.warning a:hover {
  text-decoration: underline;
}

.error {
  background-color: var(--wcfStatusErrorBackground);
  border-color: var(--wcfStatusErrorBorder);
  color: var(--wcfStatusErrorText);
}
.error a {
  color: var(--wcfStatusErrorLink);
}
.error a:hover {
  color: var(--wcfStatusErrorLinkActive);
}

.info {
  background-color: var(--wcfStatusInfoBackground);
  border-color: var(--wcfStatusInfoBorder);
  color: var(--wcfStatusInfoText);
}
.info a {
  color: var(--wcfStatusInfoLink);
}
.info a:hover {
  color: var(--wcfStatusInfoLinkActive);
}

.success {
  background-color: var(--wcfStatusSuccessBackground);
  border-color: var(--wcfStatusSuccessBorder);
  color: var(--wcfStatusSuccessText);
}
.success a {
  color: var(--wcfStatusSuccessLink);
}
.success a:hover {
  color: var(--wcfStatusSuccessLinkActive);
}

.warning {
  background-color: var(--wcfStatusWarningBackground);
  border-color: var(--wcfStatusWarningBorder);
  color: var(--wcfStatusWarningText);
}
.warning a {
  color: var(--wcfStatusWarningLink);
}
.warning a:hover {
  color: var(--wcfStatusWarningLinkActive);
}

.innerError,
.innerInfo,
.innerSuccess,
.innerWarning {
  display: table;
  line-height: 1.5;
  margin-top: 8px;
  padding: 5px 10px;
  position: relative;
  /* pointer */
}
.innerError::before,
.innerInfo::before,
.innerSuccess::before,
.innerWarning::before {
  border: 6px solid transparent;
  border-top-width: 0;
  content: "";
  display: inline-block;
  left: 10px;
  position: absolute;
  top: -6px;
  z-index: 99;
}

/* inline messages */
.innerError {
  background-color: rgb(242, 222, 222);
  color: rgb(169, 68, 66);
}
.innerError::before {
  border-bottom-color: rgb(242, 222, 222);
}
.innerError a {
  color: var(--wcfStatusErrorLink);
}
.innerError a:hover {
  color: var(--wcfStatusErrorLinkActive);
}

.innerSuccess {
  background-color: var(--wcfStatusSuccessBackground);
  color: var(--wcfStatusSuccessText);
}
.innerSuccess::before {
  border-bottom-color: var(--wcfStatusSuccessBackground);
}
.innerSuccess a {
  color: var(--wcfStatusSuccessLink);
}
.innerSuccess a:hover {
  color: var(--wcfStatusSuccessLinkActive);
}

.innerWarning {
  background-color: var(--wcfStatusWarningBackground);
  color: var(--wcfStatusWarningText);
}
.innerWarning::before {
  border-bottom-color: var(--wcfStatusWarningBackground);
}
.innerWarning a {
  color: var(--wcfStatusWarningLink);
}
.innerWarning a:hover {
  color: var(--wcfStatusWarningLinkActive);
}

/* sticky footer notices */
.pageFooterStickyNotice {
  bottom: 0;
  left: 0;
  right: 0;
  position: fixed;
  z-index: 600;
}
.pageFooterStickyNotice .error,
.pageFooterStickyNotice .info,
.pageFooterStickyNotice .success,
.pageFooterStickyNotice .warning {
  border-left-width: 0;
  border-top-width: 1px;
  border-top-style: solid;
  margin-top: 0;
  padding: 10px 0;
}
@media screen and (max-width: 768px) {
  .pageFooterStickyNotice .error,
  .pageFooterStickyNotice .info,
  .pageFooterStickyNotice .success,
  .pageFooterStickyNotice .warning {
    font-weight: 400;
  }
}
@media screen and (max-width: 768px) and (min-width: 769px) {
  .pageFooterStickyNotice .error,
  .pageFooterStickyNotice .info,
  .pageFooterStickyNotice .success,
  .pageFooterStickyNotice .warning {
    font-size: var(--wcfFontSizeSmall);
  }
}
@media screen and (max-width: 768px) and (max-width: 768px) {
  .pageFooterStickyNotice .error,
  .pageFooterStickyNotice .info,
  .pageFooterStickyNotice .success,
  .pageFooterStickyNotice .warning {
    font-size: 12px;
  }
}
.pageFooterStickyNotice .cookiePolicyNotice .layoutBoundary {
  display: flex;
  align-items: center;
}
@media screen and (max-width: 768px) {
  .pageFooterStickyNotice .cookiePolicyNotice .layoutBoundary {
    flex-wrap: wrap;
  }
}
.pageFooterStickyNotice .cookiePolicyNotice .cookiePolicyNoticeText {
  flex: 1 1 auto;
}
@media screen and (max-width: 768px) {
  .pageFooterStickyNotice .cookiePolicyNotice .cookiePolicyNoticeText {
    flex-basis: 100%;
    margin-bottom: 5px;
  }
}
.pageFooterStickyNotice .cookiePolicyNotice .cookiePolicyNoticeMoreInformation,
.pageFooterStickyNotice .cookiePolicyNotice .cookiePolicyNoticeDismiss {
  flex: 0 0 auto;
}
.pageFooterStickyNotice .cookiePolicyNotice .cookiePolicyNoticeDismiss {
  margin-left: 5px;
}

/* dialogs */
.dialogContent .error:first-child,
.dialogContent .info:first-child,
.dialogContent .success:first-child,
.dialogContent .warning:first-child,
.dialog__content .error:first-child,
.dialog__content .info:first-child,
.dialog__content .success:first-child,
.dialog__content .warning:first-child {
  margin-bottom: 20px;
  margin-top: 0;
}

/* inline infos */
.innerInfo {
  background-color: var(--wcfStatusInfoBackground);
  color: var(--wcfStatusInfoText);
}
.innerInfo::before {
  border-bottom-color: var(--wcfStatusInfoBackground);
}
.innerInfo a {
  color: var(--wcfStatusInfoLink);
}
.innerInfo a:hover {
  color: var(--wcfStatusInfoLinkActive);
}

/* dismiss icon */
.noticeDismissible > .jsDismissNoticeButton {
  float: right;
}
@media screen and (max-width: 1024px) {
  .noticeDismissible > .jsDismissNoticeButton {
    font-size: 18px;
    height: 24px;
    line-height: 24px;
    width: 24px;
  }
}

.userExceptionMessage {
  align-self: center;
}

/* deprecated 6.2 no longer in use */
.articleTeaser {
  font-weight: 600;
}

.articleTeaser + .tableOfContentsWrapper {
  margin-top: 20px;
}

.articleTeaserContainer + .section,
.articleImageContainer + .section {
  margin-top: 20px !important;
}

.articleImage,
.contentCoverPhotoImage {
  /* work-around for IE 11 to properly align the image if overflowing */
  display: flex;
  flex-wrap: wrap;
}
.articleImage .articleImageWrapper,
.articleImage .contentCoverPhotoImageWrapper,
.contentCoverPhotoImage .articleImageWrapper,
.contentCoverPhotoImage .contentCoverPhotoImageWrapper {
  align-items: center;
  border-radius: 3px;
  box-shadow: 0 0 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
  display: flex;
  max-height: 300px;
  overflow: hidden;
  width: 100%;
}
.articleImage .articleImageWrapper img,
.articleImage .contentCoverPhotoImageWrapper img,
.contentCoverPhotoImage .articleImageWrapper img,
.contentCoverPhotoImage .contentCoverPhotoImageWrapper img {
  height: auto !important;
  width: 100% !important;
}
.articleImage figcaption,
.contentCoverPhotoImage figcaption {
  color: var(--wcfContentDimmedText);
  flex: 1 0 100%;
  margin-top: 5px;
  text-align: center;
  font-weight: 400;
}
@media screen and (min-width: 769px), print {
  .articleImage figcaption,
  .contentCoverPhotoImage figcaption {
    font-size: var(--wcfFontSizeSmall);
  }
}
@media screen and (max-width: 768px) {
  .articleImage figcaption,
  .contentCoverPhotoImage figcaption {
    font-size: 12px;
  }
}

.articleContent .articleTagList {
  margin-top: 20px;
}
.articleContent .articleLikeSection {
  align-items: center;
}
.articleContent .articleButtons {
  justify-content: flex-end;
}
.articleContent .articleLikesSummary:not(:empty),
.articleContent .articleButtons:not(:empty) {
  margin-top: 20px;
}
.articleContent .anchorFixedHeader:target::before {
  content: "";
  display: block;
  height: 50px;
  margin-top: -50px;
}

.articleAboutAuthor .articleAboutAuthorText {
  font-style: italic;
}
.articleAboutAuthor .articleAboutAuthorUsername {
  margin-top: 10px;
}
.articleAboutAuthor .articleAboutAuthorUsername .username {
  font-weight: 400;
  line-height: 1.28;
}
@media screen and (min-width: 769px), print {
  .articleAboutAuthor .articleAboutAuthorUsername .username {
    font-size: var(--wcfFontSizeHeadline);
  }
}
@media screen and (max-width: 768px) {
  .articleAboutAuthor .articleAboutAuthorUsername .username {
    font-size: 18px;
  }
}
.articleAboutAuthor .articleAboutAuthorUsername .userTitleBadge {
  top: -2px;
}

.articleNavigation {
  column-gap: 20px;
  display: grid;
  grid-template-areas: "previous next";
  grid-template-columns: 1fr 1fr;
}
@media screen and (max-width: 768px) {
  .articleNavigation {
    column-gap: 0;
    grid-template-areas: "previous" "next";
    grid-template-columns: 1fr;
    row-gap: 20px;
  }
}

.articleNavigationArticle {
  color: var(--wcfContentText);
  display: grid;
  grid-template-rows: repeat(2, minmax(0, max-content));
  position: relative;
}
.articleNavigationArticle.previousArticleButton {
  grid-area: previous;
  grid-template-areas: "icon content";
  grid-template-columns: 60px auto;
}
.articleNavigationArticle.nextArticleButton {
  grid-area: next;
  grid-template-areas: "content icon";
  text-align: right;
}
.articleNavigationArticle.articleNavigationArticleWithImage.previousArticleButton {
  grid-template-areas: "icon image content";
  grid-template-columns: 60px 96px auto;
}
.articleNavigationArticle.articleNavigationArticleWithImage.nextArticleButton {
  grid-template-areas: "content image icon";
  grid-template-columns: auto 96px 60px;
  text-align: right;
}

.articleNavigationArticleIcon {
  align-self: center;
  grid-area: icon;
}

body:not(.touch) .articleNavigationArticle:hover .articleNavigationArticleIcon {
  color: var(--wcfContentLinkActive);
}

.articleNavigationArticleImage {
  border-radius: 3px;
  grid-area: image;
  overflow: hidden;
}

.previousArticleButton.articleNavigationArticleWithImage .articleNavigationArticleContent {
  margin-left: 20px;
}

.nextArticleButton.articleNavigationArticleWithImage .articleNavigationArticleContent {
  margin-right: 20px;
}

.articleNavigationArticleContent {
  grid-area: content;
}

.articleNavigationEntityName {
  color: var(--wcfContentDimmedText);
  display: block;
}

.articleNavigationArticleTitle {
  display: block;
  margin-top: 5px;
  font-weight: 400;
  line-height: 1.28;
}
@media screen and (min-width: 769px), print {
  .articleNavigationArticleTitle {
    font-size: var(--wcfFontSizeHeadline);
  }
}
@media screen and (max-width: 768px) {
  .articleNavigationArticleTitle {
    font-size: 18px;
  }
}

.articleNavigationArticleLink {
  color: var(--wcfContentText);
}
.articleNavigationArticleLink::before {
  bottom: 0;
  content: "";
  left: 0;
  position: absolute;
  right: 0;
  top: 0;
}

/* /deprecated */
/* attachment list in messages */
.attachmentFileList > ul > li:not(:last-child) {
  margin-right: 10px;
}

/* attachment in messages */
.attachmentThumbnailList > ul {
  margin-bottom: -15px;
}
@media screen and (min-width: 545px), print {
  .attachmentThumbnailList > ul {
    margin-right: -10px;
  }
}

.attachmentThumbnail {
  border: 1px solid transparent;
  border-radius: var(--wcfBorderRadius);
  box-shadow: var(--wcfBoxShadowCard);
  margin-bottom: 15px !important;
  position: relative;
}
@media screen and (min-width: 545px), print {
  .attachmentThumbnail {
    margin-right: 10px !important;
  }
}
@media screen and (max-width: 544px) {
  .attachmentThumbnail {
    margin-right: 0 !important;
    width: 100%;
  }
}
.attachmentThumbnail .attachmentThumbnailContainer {
  position: relative;
  padding: 2px 2px 0;
}
.attachmentThumbnail .attachmentThumbnailImage {
  align-items: center;
  background-color: #333;
  border-radius: calc(var(--wcfBorderRadius) - 1px);
  display: flex;
  justify-content: center;
  overflow: hidden;
  text-align: center;
}
@media screen and (min-width: 545px), print {
  .attachmentThumbnail .attachmentThumbnailImage {
    height: 198px;
    width: 352px;
  }
}
@media screen and (max-width: 544px) {
  .attachmentThumbnail .attachmentThumbnailImage {
    max-height: 198px;
    min-height: 100px;
  }
}
.attachmentThumbnail .attachmentThumbnailImage img {
  backface-visibility: hidden;
  height: auto;
  max-width: 100%;
  opacity: 0.85;
  transform: translate3d(0, 0, 0);
  transition: 0.2s ease opacity;
}
@media screen and (max-width: 544px) {
  .attachmentThumbnail .attachmentThumbnailImage .attachmentThumbnailImageScalable {
    width: 100%;
  }
}
.attachmentThumbnail .attachmentThumbnailData {
  backface-visibility: hidden;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 65%, rgba(0, 0, 0, 0.5) 100%);
  bottom: 0;
  left: 2px;
  pointer-events: none;
  position: absolute;
  right: 2px;
  top: 2px;
  transform: translate3d(0, 0, 0);
}
.attachmentThumbnail .attachmentFilename {
  color: #fff;
  bottom: 0;
  overflow: hidden;
  padding: 10px;
  position: absolute;
  text-overflow: ellipsis;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.6);
  transition: 0.2s ease opacity;
  width: 100%;
  white-space: nowrap;
  font-weight: 400;
  line-height: 1.28;
}
@media screen and (min-width: 769px), print {
  .attachmentThumbnail .attachmentFilename {
    font-size: var(--wcfFontSizeHeadline);
  }
}
@media screen and (max-width: 768px) {
  .attachmentThumbnail .attachmentFilename {
    font-size: 18px;
  }
}
.attachmentThumbnail .attachmentMetaData {
  color: var(--wcfContentDimmedText);
  padding: 10px;
  font-weight: 400;
}
@media screen and (min-width: 769px), print {
  .attachmentThumbnail .attachmentMetaData {
    font-size: var(--wcfFontSizeSmall);
  }
}
@media screen and (max-width: 768px) {
  .attachmentThumbnail .attachmentMetaData {
    font-size: 12px;
  }
}
.attachmentThumbnail .attachmentMetaData li:not(:last-child) {
  margin-right: 10px;
}
.attachmentThumbnail:hover .attachmentThumbnailImage img {
  opacity: 1;
}
.attachmentThumbnail:hover .attachmentFilename {
  opacity: 0;
}
.attachmentThumbnail > a {
  display: block;
}

html[data-color-scheme=dark] .attachmentThumbnail {
  border-color: var(--wcfContentBorderInner);
}

/* attachments tab in editor */
.formAttachmentContent .formAttachmentList {
  display: flex;
  flex-wrap: wrap;
  margin-left: 0 !important;
}
.formAttachmentContent .formAttachmentList > li {
  display: flex;
  flex: 0 0 100%;
  margin-bottom: 20px;
}
.formAttachmentContent .formAttachmentList > li > .attachmentTinyThumbnail {
  border-bottom-width: 0;
}
.formAttachmentContent .formAttachmentListItem > fa-icon[size="64"] {
  flex-basis: 64px;
}
@media screen and (min-width: 769px), print {
  .formAttachmentContent .formAttachmentList {
    margin-right: -20px;
  }
  .formAttachmentContent .formAttachmentList > li {
    /* Safari sometimes trips over fractional values, causing two
       items to be exactly 1 pixel wider than the available space.
       Reserving 21px covers all sort of rounding errors, without
       being visually noticeable */
    /* The `flex` shorthand fails in IE11 if `calc()` is used. */
    flex-grow: 0;
    flex-shrink: 0;
    flex-basis: calc(50% - 21px);
    margin-right: 20px;
  }
}
.formAttachmentContent > dl {
  margin-top: 0 !important;
}
.formAttachmentContent > dl > dd > div,
.formAttachmentContent .formAttachmentButtons {
  align-items: center;
  display: flex;
}
.formAttachmentContent > dl > dd > div > .button,
.formAttachmentContent .formAttachmentButtons > .button {
  flex: 0 0 auto;
}
.formAttachmentContent > dl > dd > div > .button:not(:first-child),
.formAttachmentContent .formAttachmentButtons > .button:not(:first-child) {
  margin-left: 10px;
}
.formAttachmentContent > dl > dd > div + small,
.formAttachmentContent .formAttachmentButtons + small {
  margin-top: 10px !important;
}

.attachmentTinyThumbnail {
  max-height: 64px;
  max-width: 64px;
  object-fit: contain;
}

/* embedded images */
.embeddedAttachmentLink,
.embeddedImageLink {
  border: 1px solid var(--wcfContentBorderInner);
  display: inline-block;
  height: auto;
  margin: 2px 0;
  max-width: 100%;
  min-height: 48px;
  padding: 2px;
  position: relative;
}
.embeddedAttachmentLink:hover .embeddedAttachmentLinkEnlarge,
.embeddedImageLink:hover .embeddedAttachmentLinkEnlarge {
  opacity: 0.8;
}

.embeddedAttachmentLinkEnlarge {
  background-color: rgba(0, 0, 0, 0.8);
  border-radius: 2px;
  box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.15);
  bottom: 5px;
  color: white;
  display: block;
  opacity: 0.5;
  padding: 2px;
  position: absolute;
  right: 5px;
  text-decoration: none;
  transition: 0.2s ease opacity;
}

.popoverContent .embeddedAttachmentLink,
.popoverContent .embeddedImageLink {
  /* this will also suppress the link being displayed in the browser's "status bar" on hover */
  pointer-events: none;
}

.messageSectionTitle {
  align-items: center;
  display: flex;
  margin-bottom: 10px;
}
.messageSectionTitle::before {
  border-top: 1px solid var(--wcfContentBorderInner);
  content: "";
  flex: 0 0 20px;
  margin-right: 10px;
}
.messageSectionTitle::after {
  border-top: 1px solid var(--wcfContentBorderInner);
  content: "";
  flex: 1 0 auto;
  margin-left: 10px;
}

.messageAttachmentList {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(auto-fill, 300px);
}
@media screen and (max-width: 544px) {
  .messageAttachmentList {
    grid-template-columns: 1fr;
  }
}

.messageAttachment {
  border: 1px solid var(--wcfContentBorderInner);
  border-radius: 3px;
  color: inherit;
  column-gap: 8px;
  display: grid;
  grid-template-areas: "icon filename" "icon meta";
  grid-template-columns: 32px auto;
  padding: 8px;
  row-gap: 1px;
  user-select: none;
}
.messageAttachment:focus, .messageAttachment:hover {
  color: inherit;
}
.messageAttachment:focus .messageAttachmentIconDefault, .messageAttachment:hover .messageAttachmentIconDefault {
  display: none;
}
.messageAttachment:not(:focus):not(:hover) .messageAttachmentIconDownload {
  display: none;
}

.messageAttachmentIcon {
  align-self: center;
  grid-area: icon;
}

.messageAttachmentIconDefault,
.messageAttachmentIconDownload {
  cursor: inherit !important;
}

.messageAttachmentFilename {
  font-weight: 600;
  grid-area: filename;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.messageAttachmentMeta {
  color: var(--wcfContentDimmedText);
  grid-area: meta;
  font-weight: 400;
}
@media screen and (min-width: 769px), print {
  .messageAttachmentMeta {
    font-size: var(--wcfFontSizeSmall);
  }
}
@media screen and (max-width: 768px) {
  .messageAttachmentMeta {
    font-size: 12px;
  }
}

@media screen and (min-width: 1025px), print {
  .authFlow .pageHeaderContainer {
    padding-top: 0;
  }
}
.authFlow .pageHeaderPanel {
  display: none;
}
.authFlow .pageHeaderLogo {
  text-align: center;
}
.authFlow .content {
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}
.authFlow .contentHeader {
  text-align: center;
}
.authFlow input[type=submit] {
  width: 100%;
}

/* We have to set the margin because the first child element in this form is the invisible honeypot. */
#registerForm > .section:nth-child(2) {
  margin-top: 0;
}

.authOtherOptionButtons {
  margin-top: 30px;
}

.authOtherOptionButtons__separator {
  display: flex;
  align-items: center;
  text-align: center;
  gap: 10px;
  margin-bottom: 30px;
}
.authOtherOptionButtons__separator::before {
  content: "";
  flex: 1;
  border-bottom: 1px solid var(--wcfContentBorderInner);
}
.authOtherOptionButtons__separator::after {
  content: "";
  flex: 1;
  border-bottom: 1px solid var(--wcfContentBorderInner);
}

.authOtherOptionButtons__buttonList {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.authOtherOptionButtons__button {
  display: flex;
  width: 100%;
}

.button.thirdPartyLoginButton {
  border-width: 0;
  color: rgb(255, 255, 255);
  display: flex;
  width: 100%;
  /* branding */
}
.button.thirdPartyLoginButton:hover {
  color: rgb(255, 255, 255);
}
.button.thirdPartyLoginButton.googleLoginButton {
  background-color: rgb(255, 255, 255);
  border: 1px solid rgb(233, 233, 233);
  color: rgb(51, 51, 51);
  padding-bottom: 7px;
  padding-top: 7px;
}
.button.thirdPartyLoginButton.googleLoginButton:hover {
  background-color: rgb(255, 255, 255);
  color: rgb(51, 51, 51);
}
.button.thirdPartyLoginButton.googleLoginButton fa-brand {
  background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAFAAAABQCAIAAAABc2X6AAAGsklEQVR4Ae3cA3jsShgG4Gvbtu1js7aObdu2bdbudmvbtu1VtUg2ydw7x95mstnt5rZ5voflG80/fzL72L89bOsF94J7wWgb2dSgiAzpPHmwbfPK1qWzxDNsRdb6Ar2BgtF9hSbDRbYG4mk2beuXwm+Q89yV+TmAILgHptrb5DyPtg3LhBZjBCP+RovewNZlc2TOl8nGel0HA4LA4qPhkRSM6XcHoEYk86fIfT2AQqFzYIBjMncHofkoZBWNCM1GSq+cpdpadQIMKEoRzIeXIroEkW08TObpDAiiO8F4Tga85TBnoEc8xVKZm9UNYECS0stnBCP/Ud+AnJH/SC+eAiShPTDZ3CRZPIN9CUokC6ZSYqE2wHhmKhw/2TegR2RnSFSUaRaMJccLxg7QsAQhktkTAACaAmOxkbA80h2taKIZKWzR1BFWRAQLRvXhphYdDEtcWDxxU4sOhjdDkdVYbmrRwYAgJIums3RTNWrftbHz/AmZh5MiLBAGVqOdZ4+1790inmrFvpYZuPPEATWdknmT5f7eZEN9V2N7o9zPu3XNInQte2BlcYE6tVTbltXw4kf9h5QlhW3rliBr1QcDAODsjPFlhmelqfNvKQty4S9B0KoPVgTxmWk7Tx0COMZCF6GzA3ZC0LWMwJSsTWiOXj+O6iP382KzowAAvMOhaxmAqw/Ijr4tGPsHgnbsACwxlpNNPABIIv5LIvxpzOVlkdXPNMGK8CCudi2pFi+ovRFlwLOtc7/uUgvnxhxu05LpIyD17nTu+EAw8q9HaVtXzgcAcBUMcAER/sx9YBj5pdeExr897NLtT9TVcLgRTzVcgbyHBuc9L5n8PdLJzAEwmWP1KDCMMvTp9jWf3tbC1gdQKDgMBhRBRL0GYaojO35zxOo8fZjbz5ZAZz700Anm9pLI9g+yoY7bYKrJBWJoRpk8SJ0/fDoc13QuRuNdgMmydfTBZPkGdcDDd0q1EDkOVIKzTOiDKVGY7oPLmylVYCKlL30wIKW6D44tJlSCE76nC45+CwHXfWDfdKVKcMwHdMEJ33MC7JqEqwRHvEgXnDaYE+ArMayBB3ECDAennnVKn4tUDU74gS446k1OgB3i8Z41LHmkKHtW4eGfpRpctv5/VlomlxOsTR6kKQN1H1wnptiZHpYFv27pMbqus4kxOChbySzTz8loakfukhIkYKEBEBzw6SBXk79cLQ5lXv5XuxtJAaMDdA/v+JMydVs8irBnDvB+g9QbGeY1SUFg2gTn1JD0z+cdPIVaTbym0JemeQ6FzrtzJtdFm+DT4Rh9MD9DybxNmxL03mg3g/u0MP3cbWo6GrWjbZMBg/0Id6wqAcWwEX+F/10fVzPIe2jmRW3VTiP+VBjC4bU6KgMAID9qaQt9frl3P6hSndOaP7HrxdSYPQiH92QYhvAwTRH7KdSWBL9h5j4GeugkqDpWc1oZBqaelSGNwMWNJMLjUkHxBn//zwZeH3topr+7bWxDmia0AID17gok7aTTMrTnw1KsfZTPVMhAyj9uVl5lIexqcQLs4KFpYXjpSjQw3HwrIqCBQQ5mXsZInBWtoIOac1GOqrU4IsUJwOSllsmha5iZTf3npzXnqXka+1dFmzo4D9vZgQp2TsAZvrZUIC7729WSmRlmVfz+HGExKpUCVGJj1oSQlTd+SZ9Lm4bubqKvtTkmk+OAIRhu+zMu3jEwyqTQ1d7lofWdzV0VyWSxpPJkjpOB76z7fsPfjjOHHMhBb0QzAhMUMS18nRrgOzHkz96YdPR4toNTMT+gKjq4OtatNPBCvgfcp9PD1w/wsFP14y7WA4/zu9SudVWw8HKpUC4Zw5uOLmQ//c4fGrZL8iit+WEpvMmxAIZbtrCor7uNLpj/ubpk6N6Kh059M6tINl8Qh4UUHGa73wzjNGHQ4dj7wC6JOPtLACLqkvq4WeuE2cWi/+nLt0csOKnQ1CKP+IYMWELqgPnGiLVh6O7Go8GYZpfxpDbnwkaHjpj3JfLRV7Wgb01SARxIupc6wntyfGOG9pbikRQJmzvodRg7mRq2tkkm7IbFlhktBdaBS7SsPZx1haDIbltOSwGKXxl5px7UZGaEb8gXlerEgmmMxB2KfEciTKHRAsvbmPo0nVsST1BEdH3Kyrh9bJVlQ7wmbk05USSu0PUPPWjDOtxLg5bF7h7tM42B08x//o7U0/AmrCSV3PtYiwZpS3B13MHMS/DIz4rYaBO0VM93JpwbwaJtqNfEsbwZFgEL50VtgcJLBV6wK9aKtfd+cEkvuBfcC37k9h8VGR+csPdltgAAAABJRU5ErkJggg==);
  background-repeat: no-repeat;
  background-size: contain;
  color: transparent;
}
.button.thirdPartyLoginButton.facebookLoginButton {
  background-color: rgb(8, 102, 255);
}
.button.thirdPartyLoginButton.facebookLoginButton:hover {
  background-color: rgb(7, 97, 242);
}
.button.thirdPartyLoginButton.twitterLoginButton {
  background-color: rgb(20, 23, 26);
}
.button.thirdPartyLoginButton.twitterLoginButton:hover {
  background-color: rgba(20, 23, 26, 0.87);
}
.button.thirdPartyLoginButton.githubLoginButton {
  background-color: rgb(68, 68, 68);
}
.button.thirdPartyLoginButton.githubLoginButton:hover {
  background-color: rgb(48, 48, 48);
}

/* This code is necessary to move the third-party buttons in the login form below the submit button. */
form#login {
  display: flex;
  flex-direction: column;
}
form#login .authOtherOptionButtons {
  order: 1;
}

.avatarEdit .avatarType {
  display: flex;
}
.avatarEdit .avatarType > dt {
  flex: 0 0 auto;
  order: 2;
}
.avatarEdit .avatarType > dd {
  order: 1;
}
.avatarEdit .avatarType .avatarUploadButtonContainer {
  margin-top: 10px;
}
@media screen and (min-width: 769px), print {
  .avatarEdit .avatarType {
    /* use fixed height to ensure a constant gap between <dl> with and without an image */
    min-height: 100px;
  }
  .avatarEdit .avatarType > dt:not(:empty) {
    margin: 0 0 0 30px;
  }
  .avatarEdit .avatarType > dd {
    flex: 1 1 auto;
  }
  .avatarEdit .avatarType + .avatarType {
    margin-top: 30px;
  }
  .avatarEdit .avatarType .avatarUploadButtonContainer {
    margin-left: 24px;
  }
}
@media screen and (max-width: 768px) {
  .avatarEdit .avatarType {
    flex-wrap: wrap;
  }
  .avatarEdit .avatarType > dt:not(:empty) {
    flex: 0 0 100%;
    margin-top: 20px;
    text-align: center;
  }
  .avatarEdit .avatarType > dd {
    flex: 0 0 100%;
  }
  .avatarEdit .avatarType .avatarUploadButtonContainer {
    text-align: center;
  }
}

.badge,
a.badge {
  --background-color: var(--wcfContentText);
  --color: var(--wcfContentBackground);
  background-color: var(--background-color);
  border-radius: 2px;
  color: var(--color);
  display: inline-block;
  line-height: 1.28;
  max-width: 100%;
  overflow: hidden;
  padding: 2px 6px;
  position: relative;
  text-overflow: ellipsis;
  vertical-align: middle;
  white-space: nowrap;
  word-wrap: normal;
  font-weight: 400;
  /* colors */
  /* default label colors */
}
@media screen and (min-width: 769px), print {
  .badge,
  a.badge {
    font-size: var(--wcfFontSizeSmall);
  }
}
@media screen and (max-width: 768px) {
  .badge,
  a.badge {
    font-size: 12px;
  }
}
.badge.badgeUpdate,
a.badge.badgeUpdate {
  --background-color: rgba(204, 0, 1, 1);
  --color: rgba(255, 255, 255, 1);
  font-weight: 600;
}
.badge.green,
a.badge.green {
  --background-color: rgba(0, 133, 0, 1);
  --color: rgba(238, 255, 238, 1);
}
.badge.red,
a.badge.red {
  --background-color: rgba(204, 0, 0, 1);
  --color: rgba(255, 238, 238, 1);
}
.badge.black,
a.badge.black {
  --background-color: #333;
  --color: #fff;
}
.badge.brown,
a.badge.brown {
  --background-color: #b85c2e;
  --color: #fff;
}
.badge.orange,
a.badge.orange {
  --background-color: #f90;
  --color: #000;
}
.badge.yellow,
a.badge.yellow {
  --background-color: #ff0;
  --color: #333;
}
.badge.blue,
a.badge.blue {
  --background-color: #369;
  --color: #fff;
}
.badge.purple,
a.badge.purple {
  --background-color: #c000f0;
  --color: #fff;
}
.badge.pink,
a.badge.pink {
  --background-color: #f0c;
  --color: #000;
}

a.badge:hover {
  --color: var(--wcfContentBackground);
  text-decoration: none;
}
a.badge:hover.black {
  --background-color: #000;
}
a.badge:hover.brown {
  --background-color: #930;
}
a.badge:hover.red {
  --background-color: #900;
}
a.badge:hover.orange {
  --background-color: #f60;
  --color: #000;
}
a.badge:hover.yellow {
  --background-color: #cc0;
  --color: #333;
}
a.badge:hover.green {
  --background-color: #060;
}
a.badge:hover.blue {
  --background-color: #036;
}
a.badge:hover.purple {
  --background-color: #90c;
}
a.badge:hover.pink {
  --background-color: #c09;
  --color: #fff;
}

.benchmarkDetails .hot {
  color: var(--wcfStatusErrorText);
}

.benchmark__stacktrace__context {
  color: var(--wcfContentDimmedText);
  display: block;
  font-weight: 400;
}
@media screen and (min-width: 769px), print {
  .benchmark__stacktrace__context {
    font-size: var(--wcfFontSizeSmall);
  }
}
@media screen and (max-width: 768px) {
  .benchmark__stacktrace__context {
    font-size: 12px;
  }
}

.breadcrumbs {
  flex: 1;
}

.breadcrumbs__list {
  display: flex;
  flex-wrap: wrap;
}

.breadcrumbs__item {
  flex: 0 0 auto;
  max-width: 100%;
  font-weight: 400;
}
@media screen and (min-width: 769px), print {
  .breadcrumbs__item {
    font-size: var(--wcfFontSizeSmall);
  }
}
@media screen and (max-width: 768px) {
  .breadcrumbs__item {
    font-size: 12px;
  }
}

.breadcrumbs__link {
  color: var(--wcfNavigationLink);
  display: inline-flex;
  text-decoration: none;
}
.breadcrumbs__link:hover {
  color: var(--wcfNavigationLinkActive);
  text-decoration: underline;
}

.breadcrumbs__item:not(:last-child) {
  margin-right: 10px;
}
.breadcrumbs__item:not(:last-child)::after {
  color: var(--wcfNavigationText);
  content: "/";
}
.breadcrumbs__item:not(:last-child) .breadcrumbs__link {
  margin-right: 10px;
}

@media screen and (min-width: 769px), print {
  .pageNavigation {
    background-color: var(--wcfNavigationBackground);
    color: var(--wcfNavigationText);
    flex: 0 0 auto;
    padding: 10px 0;
  }
  .pageNavigation .layoutBoundary {
    align-items: center;
    display: flex;
    min-height: 20px;
  }
  .boxesHeaderBoxes + .pageNavigation {
    margin-top: 1px;
  }
  .breadcrumbs__parent_indicator {
    display: none;
  }
}
@media screen and (max-width: 768px) {
  .breadcrumbs {
    margin-bottom: -5px;
    margin-top: 5px;
  }
  .breadcrumbs__item {
    display: none;
  }
  .breadcrumbs__item:last-child {
    align-items: center;
    display: flex;
    flex: 1;
  }
  .breadcrumbs__item:last-child .breadcrumbs__link {
    align-items: center;
    color: var(--wcfContentDimmedLink);
    column-gap: 5px;
    display: flex;
    flex: 1;
    overflow: hidden;
    padding: 5px 0;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .breadcrumbs__item:last-child .breadcrumbs__parent_indicator {
    display: flex;
  }
}
button {
  all: unset;
  box-sizing: border-box;
  min-width: 0;
  -webkit-user-select: none;
  user-select: none;
}
button:focus-visible {
  outline: 5px auto -webkit-focus-ring-color;
}
button:not([disabled]) {
  cursor: pointer;
}

input[type=button],
input[type=reset],
input[type=submit],
.button,
a.button {
  align-items: center;
  background-color: var(--wcfButtonBackground);
  border-radius: var(--wcfBorderRadius);
  border-width: 0;
  color: var(--wcfButtonText);
  column-gap: 0.25em;
  cursor: pointer;
  display: inline-flex;
  font-weight: 400;
  justify-content: center;
  margin: 0;
  padding: 8px 18px;
  text-align: center;
  text-decoration: none;
  font-family: var(--wcfFontFamily);
  line-height: var(--wcfFontLineHeight);
  -webkit-appearance: none;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}
@media screen and (min-width: 769px), print {
  input[type=button],
  input[type=reset],
  input[type=submit],
  .button,
  a.button {
    font-size: var(--wcfFontSizeDefault);
  }
}
@media screen and (max-width: 768px) {
  input[type=button],
  input[type=reset],
  input[type=submit],
  .button,
  a.button {
    font-size: 14px;
  }
}
input[type=button].active,
input[type=reset].active,
input[type=submit].active,
.button.active,
a.button.active {
  background-color: var(--wcfButtonBackgroundActive);
  color: var(--wcfButtonTextActive);
  text-decoration: none;
}
input[type=button].small,
input[type=reset].small,
input[type=submit].small,
.button.small,
a.button.small {
  padding: 6px 8px;
  font-weight: 400;
}
@media screen and (min-width: 769px), print {
  input[type=button].small,
  input[type=reset].small,
  input[type=submit].small,
  .button.small,
  a.button.small {
    font-size: var(--wcfFontSizeSmall);
  }
}
@media screen and (max-width: 768px) {
  input[type=button].small,
  input[type=reset].small,
  input[type=submit].small,
  .button.small,
  a.button.small {
    font-size: 12px;
  }
}
input[type=button] small,
input[type=reset] small,
input[type=submit] small,
.button small,
a.button small {
  color: inherit;
}

@media (pointer: coarse) {
  input[type=button],
  input[type=reset],
  input[type=submit],
  .button,
  a.button {
    padding: 10px 18px;
  }
  input[type=button].small,
  input[type=reset].small,
  input[type=submit].small,
  .button.small,
  a.button.small {
    padding: 8px;
  }
}
input[type=button].buttonPrimary,
input[type=submit],
.button.buttonPrimary,
a.button.buttonPrimary {
  background-color: var(--wcfButtonPrimaryBackground);
  color: var(--wcfButtonPrimaryText);
}
input[type=button].buttonPrimary.active,
input[type=submit].active,
.button.buttonPrimary.active,
a.button.buttonPrimary.active {
  background-color: var(--wcfButtonPrimaryBackgroundActive);
  color: var(--wcfButtonPrimaryTextActive);
}

/* hover states are only applied to non-touch devices to avoid "leftover" hover states after taps */
html:not(.touch) input[type=button]:hover,
html:not(.touch) input[type=reset]:hover,
html:not(.touch) input[type=submit]:hover,
html:not(.touch) .button:hover,
html:not(.touch) a.button:hover {
  background-color: var(--wcfButtonBackgroundActive);
  color: var(--wcfButtonTextActive);
  text-decoration: none;
}
html:not(.touch) input[type=button].buttonPrimary:hover,
html:not(.touch) input[type=submit]:hover,
html:not(.touch) .button.buttonPrimary:hover,
html:not(.touch) a.button.buttonPrimary:hover {
  background-color: var(--wcfButtonPrimaryBackgroundActive);
  color: var(--wcfButtonPrimaryTextActive);
}

/* disabled state */
input[type=button]:disabled, input[type=button].disabled,
input[type=reset]:disabled,
input[type=reset].disabled,
input[type=submit]:disabled,
input[type=submit].disabled,
.button:disabled,
.button.disabled,
a.button:disabled,
a.button.disabled {
  background-color: var(--wcfButtonDisabledBackground) !important;
  color: var(--wcfButtonDisabledText) !important;
  cursor: not-allowed !important;
  pointer-events: none;
}

/* force active state for buttons toggling a dropdown */
.dropdownOpen > input[type=button],
.dropdownOpen > input[type=reset],
.dropdownOpen > input[type=submit],
.dropdownOpen > .button,
.dropdownOpen > a.button {
  background-color: var(--wcfButtonBackgroundActive);
  color: var(--wcfButtonTextActive);
}
.dropdownOpen > input[type=button].buttonPrimary,
.dropdownOpen > input[type=submit],
.dropdownOpen > .button.buttonPrimary,
.dropdownOpen > a.button.buttonPrimary {
  background-color: var(--wcfButtonPrimaryBackgroundActive);
  color: var(--wcfButtonPrimaryTextActive);
}

.buttonList {
  display: flex;
  flex-wrap: wrap;
  /* adds a comma after each list item */
  /* adds a dot after each list item */
  /* members list */
}
.buttonList > li {
  flex: 0 1 auto;
}
.buttonList > li:not(:last-child) {
  margin-right: 5px;
}
.buttonList.commaSeparated > li:not(:last-child):after {
  content: ",";
  padding-left: 1px;
}
.buttonList.dotSeparated > li:not(:last-child):after {
  content: "•";
  margin-left: 5px;
}
.buttonList.smallButtons .button {
  padding: 6px 8px;
  font-weight: 400;
}
@media screen and (min-width: 769px), print {
  .buttonList.smallButtons .button {
    font-size: var(--wcfFontSizeSmall);
  }
}
@media screen and (max-width: 768px) {
  .buttonList.smallButtons .button {
    font-size: 12px;
  }
}
.buttonList.letters {
  margin-bottom: -10px;
}
.buttonList.letters > li {
  flex: 0 0 auto;
  margin-bottom: 10px;
  width: 10%;
}
.buttonList.letters > li.lettersReset {
  width: auto;
}
.buttonList.letters > li > a {
  display: block;
  min-width: -moz-min-content;
  min-width: -webkit-min-content;
  min-width: min-content;
  text-align: center;
}

.buttonList.iconList a {
  color: var(--wcfButtonText);
}

.buttonGroupNavigation > ul {
  display: flex;
  flex-wrap: wrap;
  /* adds a comma after each list item */
  /* adds a dot after each list item */
}
.buttonGroupNavigation > ul > li {
  flex: 0 1 auto;
}
.buttonGroupNavigation > ul > li:not(:last-child) {
  margin-right: 5px;
}
.buttonGroupNavigation > ul.commaSeparated > li:not(:last-child):after {
  content: ",";
  padding-left: 1px;
}
.buttonGroupNavigation > ul.dotSeparated > li:not(:last-child):after {
  content: "•";
  margin-left: 5px;
}

.buttonGroup, .messageFooterButtons,
.messageFooterButtonsExtra {
  margin-bottom: -1px;
  display: flex;
  flex-wrap: wrap;
  /* adds a comma after each list item */
  /* adds a dot after each list item */
}
.buttonGroup > li, .messageFooterButtons > li,
.messageFooterButtonsExtra > li {
  flex: 0 1 auto;
}
.buttonGroup > li:not(:last-child), .messageFooterButtons > li:not(:last-child),
.messageFooterButtonsExtra > li:not(:last-child) {
  margin-right: 5px;
}
.buttonGroup.commaSeparated > li:not(:last-child):after, .commaSeparated.messageFooterButtons > li:not(:last-child):after,
.commaSeparated.messageFooterButtonsExtra > li:not(:last-child):after {
  content: ",";
  padding-left: 1px;
}
.buttonGroup.dotSeparated > li:not(:last-child):after, .dotSeparated.messageFooterButtons > li:not(:last-child):after,
.dotSeparated.messageFooterButtonsExtra > li:not(:last-child):after {
  content: "•";
  margin-left: 5px;
}
.buttonGroup > li, .messageFooterButtons > li,
.messageFooterButtonsExtra > li {
  display: flex;
  margin-bottom: 1px;
}
.buttonGroup > li:not(:last-child), .messageFooterButtons > li:not(:last-child),
.messageFooterButtonsExtra > li:not(:last-child) {
  margin-right: 1px;
}
.buttonGroup > li:first-child .button, .messageFooterButtons > li:first-child .button,
.messageFooterButtonsExtra > li:first-child .button {
  border-top-left-radius: var(--wcfBorderRadius);
  border-bottom-left-radius: var(--wcfBorderRadius);
}
.buttonGroup > li:last-child .button, .messageFooterButtons > li:last-child .button,
.messageFooterButtonsExtra > li:last-child .button {
  border-top-right-radius: var(--wcfBorderRadius);
  border-bottom-right-radius: var(--wcfBorderRadius);
}
.buttonGroup > li .button, .messageFooterButtons > li .button,
.messageFooterButtonsExtra > li .button {
  border-radius: 0;
  border-width: 0;
}

.flexibleButtonGroup {
  display: flex;
  flex-wrap: wrap;
}
.flexibleButtonGroup > li {
  display: flex;
  flex: 0 0 auto;
}
.flexibleButtonGroup > li:not(:last-child) {
  margin-right: 5px;
}
.flexibleButtonGroup > li:not(:last-child).spaceAfter {
  margin-right: 20px;
}
.flexibleButtonGroup > li > input[type=radio] {
  left: -3000px;
  opacity: 0;
  position: absolute;
}
.flexibleButtonGroup > li > input[type=radio]:checked + label {
  cursor: default;
}
.flexibleButtonGroup > li > input[type=radio]:focus + label {
  border-color: rgba(0, 0, 0, 0.3);
}
.flexibleButtonGroup > li > a,
.flexibleButtonGroup > li > label {
  background-color: rgb(207, 216, 220);
  border: 1px solid transparent;
  border-radius: var(--wcfBorderRadius);
  color: rgb(33, 33, 33);
  cursor: pointer;
  padding: 5px 10px;
}
.flexibleButtonGroup > li > a :is(fa-brand, fa-icon),
.flexibleButtonGroup > li > label :is(fa-brand, fa-icon) {
  color: inherit;
}
.flexibleButtonGroup > li > a.active,
.flexibleButtonGroup > li > input[type=radio]:checked + label,
.flexibleButtonGroup > li > input[type=radio] + label:hover {
  color: #fff;
}
.flexibleButtonGroup > li > a.active.green,
.flexibleButtonGroup > li > input[type=radio]:checked + label.green,
.flexibleButtonGroup > li > input[type=radio] + label:hover.green {
  background-color: rgb(46, 125, 50);
}
.flexibleButtonGroup > li > a.active.red,
.flexibleButtonGroup > li > input[type=radio]:checked + label.red,
.flexibleButtonGroup > li > input[type=radio] + label:hover.red {
  background-color: rgb(198, 40, 40);
}
.flexibleButtonGroup > li > a.active.yellow,
.flexibleButtonGroup > li > input[type=radio]:checked + label.yellow,
.flexibleButtonGroup > li > input[type=radio] + label:hover.yellow {
  background-color: rgb(251, 140, 0);
  color: #000;
}

.disabled .flexibleButtonGroup > li > input[type=radio]:checked + label,
.flexibleButtonGroup > li > input[type=radio]:disabled + label {
  cursor: default;
  opacity: 0.54;
  pointer-events: none;
}

/* Integration of CKEditor 5 into WoltLab Suite Core */
.ck.ck-content.ck-editor__editable {
  max-height: 500px;
  min-height: 200px;
  padding: 10px;
}

.ck.ck-content.ck-editor__editable > .ck-widget.ck-widget_with-selection-handle:first-child {
  margin-top: 1.5em !important;
}

.ck.ck-content.ck-editor__editable .image-inline {
  vertical-align: middle;
}

.ck.ck-editor,
.ck.ck-body {
  --marker-error: #ff0000;
  --marker-info: #0000ff;
  --marker-success: #008000;
  --marker-warning: #ffff00;
}

/* CKEditor derives its tokens on `:root`, overrides on descendants do not reach them. */
:root {
  --ck-color-base-background: var(--wcfContentContainerBackground);
  --ck-radius-base: var(--wcfBorderRadius);
  --ck-color-base-border: var(--wcfContentBorderInner);
  --ck-color-text-primary: var(--wcfContentText);
  --ck-toolbar-border-color: var(--wcfContentBorderInner);
  --ck-toolbar-background-color: var(--wcfContentContainerBackground);
  --ck-dropdown-panel-background-color: var(--wcfDropdownBackground);
  --ck-dropdown-panel-border-color: var(--wcfDropdownBorderInner);
  --ck-balloon-panel-background-color: var(--wcfDropdownBackground);
  --ck-balloon-panel-border-color: var(--wcfDropdownBorderInner);
  --ck-input-background-color: var(--wcfInputBackground);
  --ck-input-border-color: var(--wcfInputBorder);
  --ck-input-error-border-color: var(--ck-color-base-error);
  --ck-input-text-color: var(--wcfInputText);
  --ck-input-disabled-background-color: var(--wcfInputDisabledBackground);
  --ck-input-disabled-border-color: var(--wcfInputDisabledBorder);
  --ck-input-disabled-text-color: var(--wcfInputDisabledText);
  --ck-list-background-color: var(--wcfDropdownBackground);
  --ck-list-button-hover-background-color: var(--wcfDropdownBackgroundActive);
  --ck-list-button-on-background-color: var(--wcfDropdownBackgroundActive);
  --ck-list-button-on-text-color: var(--wcfDropdownLink);
  --ck-color-link-default: var(--wcfContentLink);
  --ck-font-family: var(--wcfFontFamily);
  --ck-font-size-sm: var(--wcfFontSizeSmall);
  --ck-font-size-xs: var(--wcfFontSizeSmall);
  /* Derived from the base background, which is dark in the dark mode. */
  --ck-tooltip-text-color: #fff;
}

.ck.ck-content {
  /* The content area must not contain a border radius at all, because it is
     difficult to detect if there is an adjacent message tab menu. */
  border-radius: 0 !important;
  /* Override the default styling added in CKEditor v46.0.0 */
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  line-height: inherit;
  word-break: inherit;
}

.ck.ck-button.ck-button:not(.ck-disabled) {
  cursor: pointer;
}

.ck.ck-button-bold,
a.ck.ck-button-bold {
  font-weight: 400;
}

.ck.ck-toolbar__items,
.ck.ck-toolbar__grouped-dropdown {
  --ck-spacing-small: 4px;
  --ck-spacing-tiny: 2px;
  --ck-color-button-default-hover-background: var(--wcfEditorButtonBackground);
  --ck-color-button-default-active-background: var(--wcfEditorButtonBackground);
  --ck-color-button-on-background: var(--wcfEditorButtonBackgroundActive);
  --ck-color-button-on-hover-background: var(--wcfEditorButtonBackgroundActive);
  --ck-color-button-on-active-background: var(--wcfEditorButtonBackgroundActive);
  --ck-color-button-on-disabled-background: transparent;
  --ck-color-button-on-color: var(--wcfEditorButtonTextActive);
  --ck-color-split-button-hover-background: var(--wcfEditorButtonBackground);
  --ck-color-split-button-hover-border: rgb(0 0 0 / 34%);
}
.ck.ck-toolbar__items fa-icon,
.ck.ck-toolbar__grouped-dropdown fa-icon {
  color: inherit;
}
.ck.ck-toolbar__items .ck-splitbutton_open .ck-button:not(.ck-disabled):not(:hover),
.ck.ck-toolbar__grouped-dropdown .ck-splitbutton_open .ck-button:not(.ck-disabled):not(:hover) {
  /* The editor does not support a separate text color on hover. */
  color: var(--wcfEditorButtonText);
}
.ck.ck-toolbar__items .ck-button:not(.ck-disabled):active,
.ck.ck-toolbar__items .ck-splitbutton:active .ck-button:not(.ck-disabled):not(:active),
.ck.ck-toolbar__grouped-dropdown .ck-button:not(.ck-disabled):active,
.ck.ck-toolbar__grouped-dropdown .ck-splitbutton:active .ck-button:not(.ck-disabled):not(:active) {
  /* The editor does not support a separate text color on hover. */
  color: var(--wcfEditorButtonText);
}

@media (hover: hover) {
  .ck.ck-toolbar__items .ck-button:not(.ck-disabled):hover,
  .ck.ck-toolbar__items .ck-splitbutton:hover .ck-button:not(.ck-disabled):not(:hover),
  .ck.ck-toolbar__grouped-dropdown .ck-button:not(.ck-disabled):hover,
  .ck.ck-toolbar__grouped-dropdown .ck-splitbutton:hover .ck-button:not(.ck-disabled):not(:hover) {
    /* The editor does not support a separate text color on hover. */
    color: var(--wcfEditorButtonText);
  }
  /* Extra fix for the handling of buttons that act as a toggle for a
     collapsible container. */
  .ck.ck.ck-toolbar__items .ck.ck-collapsible > .ck.ck-button:hover {
    background: var(--ck-color-button-default-hover-background);
    /* The editor does not support a separate text color on hover. */
    color: var(--wcfEditorButtonText);
  }
}
.ck.ck-toolbar__items,
.ck.ck-toolbar__grouped-dropdown {
  /* Enables the automatic grouping of excessive items. */
  flex-shrink: 0;
}

.ck.ck-toolbar-dropdown .ck.ck-toolbar__items,
.ck.ck-toolbar__grouped-dropdown .ck.ck-toolbar__items {
  /* Allow shrinking when the toolbar is being nested. */
  flex-shrink: 1;
}

.ck.ck-reset.ck-dropdown__panel,
.ck.ck-balloon-panel {
  border-color: transparent;
  box-shadow: var(--wcfBoxShadow);
}

.ck.ck-editor .ck.ck-labeled-field-view.ck-labeled-field-view_empty:not(.ck-labeled-field-view_focused) > .ck.ck-labeled-field-view__input-wrapper > .ck.ck-label {
  color: var(--wcfInputPlaceholder);
}

@media (hover: hover) {
  .ck.ck-list .ck-list__item .ck-button:not(.ck-disabled):hover {
    color: var(--wcfDropdownLink);
  }
  .ck.ck-list__item > .ck-button.ck-on:not(.ck-list-item-button):hover:not(.ck-disabled) {
    color: var(--wcfDropdownText);
  }
}
.ck.ck-editor__editable.ck-focused:not(.ck-editor__nested-editable),
.ck .ck-editor__nested-editable.ck-editor__nested-editable_focused,
.ck .ck-editor__nested-editable:focus {
  border-color: var(--wcfInputBorderActive) !important;
}

.ck.ck-form__row .ck-button,
.ck.ck-vertical-form .ck-button,
.ck.ck-body .ck-button {
  --ck-color-text: var(--wcfButtonText);
  background-color: var(--wcfButtonBackground);
  border-color: transparent;
  font-size: var(--wcfFontSizeSmall);
  padding: 4px 12px !important;
}

.ck.ck-form__row {
  column-gap: 10px;
  justify-content: flex-end !important;
}
.ck.ck-form__row .ck-button__icon {
  display: none;
}
.ck.ck-form__row .ck-button {
  flex: 0 0 auto !important;
}
.ck.ck-form__row .ck-button[type=button] {
  order: 1;
}
.ck.ck-form__row .ck-button[type=submit] {
  order: 2;
}
.ck.ck-form__row .ck-button.ck-button-extra {
  margin-left: 0;
  order: 0;
}

.ck.ck-form__row .ck-button:not(.ck-disabled),
.ck.ck-body .ck-button:not(.ck-disabled) {
  color: var(--ck-color-text);
}
.ck.ck-form__row .ck-button:not(.ck-disabled).ck-on,
.ck.ck-body .ck-button:not(.ck-disabled).ck-on {
  color: var(--ck-color-button-on-color);
}
.ck.ck-form__row .ck-button.ck-disabled,
.ck.ck-body .ck-button.ck-disabled {
  --ck-color-text: var(--wcfButtonDisabledText) !important;
  background-color: var(--wcfButtonDisabledBackground) !important;
}
.ck.ck-form__row .ck-button[type=submit]:not(.ck-disabled),
.ck.ck-body .ck-button[type=submit]:not(.ck-disabled) {
  --ck-color-text: var(--wcfButtonPrimaryText);
  background-color: var(--wcfButtonPrimaryBackground);
}

.ck.ck-form__row.ck-form__row_with-submit {
  align-items: end;
}

.ck.ck-body .ck-button[type=button].ck-on:not(.ck-disabled) {
  --ck-color-text: var(--wcfButtonTextActive);
  background-color: var(--wcfButtonBackgroundActive);
  color: var(--ck-color-text);
}

.ck.ck-form .ck.ck-input-number,
.ck.ck-form .ck.ck-input-text {
  font-size: var(--wcfFontSizeDefault);
}

@media (pointer: coarse) {
  .ck.ck-form .ck.ck-input-number,
  .ck.ck-form .ck.ck-input-text {
    font-size: 16px;
  }
}
@media (hover: hover) {
  .ck.ck-form__row .ck-button[type=button]:not(.ck-disabled):hover,
  .ck.ck-body .ck-button[type=button]:not(.ck-disabled):hover {
    --ck-color-text: var(--wcfButtonTextActive);
    background-color: var(--wcfButtonBackgroundActive);
  }
  .ck.ck-form__row .ck-button[type=submit]:not(.ck-disabled):hover,
  .ck.ck-body .ck-button[type=submit]:not(.ck-disabled):hover {
    --ck-color-text: var(--wcfButtonPrimaryTextActive);
    background-color: var(--wcfButtonPrimaryBackgroundActive);
  }
}
.ck-body-wrapper {
  /* The mention list marks the item selected with the keyboard on the list item instead of `.ck-on`. */
}
.ck-body-wrapper .ck.ck-balloon-panel {
  --ck-color-base-foreground: var(--ck-toolbar-background-color);
  box-shadow: var(--wcfBoxShadow);
}
.ck-body-wrapper .ck.ck-balloon-panel.ck-powered-by-balloon {
  box-shadow: none;
  z-index: 1;
}
.ck-body-wrapper .ck.ck-list__item .ck-button:not(.ck-disabled) {
  cursor: pointer;
}
.ck-body-wrapper .ck.ck-list__item .ck-button:not(.ck-on) {
  background-color: var(--ck-balloon-panel-background-color);
  color: var(--wcfDropdownLink);
}
.ck-body-wrapper .ck.ck-list__item .ck-button.ck-on {
  background-color: var(--wcfDropdownBackgroundActive);
  color: var(--wcfDropdownLinkActive);
}
.ck-body-wrapper .ck.ck-list__item.ck-mentions__item_focused > .ck-button {
  background-color: var(--wcfDropdownBackgroundActive);
  color: var(--wcfDropdownLinkActive);
}

@media (hover: hover) {
  .ck-body-wrapper .ck.ck-list__item .ck-button:not(.ck-disabled, .ck-on):hover {
    background-color: var(--wcfDropdownBackgroundActive);
    color: var(--wcfDropdownLinkActive);
  }
}
.ck.ck-content td {
  /* Workaround for an ancient bug in Firefox that cause the background color
     to overlap the collapsed border: https://bugzilla.mozilla.org/show_bug.cgi?id=688556#c43 */
  background-clip: padding-box;
}

html[data-color-scheme=light] .ck-body-wrapper .ck.ck-balloon-panel {
  border-width: 0;
}

.ck.ck-labeled-field-view > .ck.ck-labeled-field-view__input-wrapper > .ck.ck-label {
  --ck-color-labeled-field-label-background: var(--ck-color-base-background);
}

.ck-insert-table-dropdown__grid .ck-button {
  border-radius: 0 !important;
}

.ck.ck-sticky-panel .ck-sticky-panel__content_sticky {
  box-shadow: none !important;
}

.ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content_sticky .ck-toolbar {
  border-bottom-color: var(--wcfInputBorderActive) !important;
}

.ck.ck-splitbutton {
  display: flex;
}

.ck.ck-button.ck-splitbutton__action {
  border-top-right-radius: unset !important;
  border-bottom-right-radius: unset !important;
}

/* Fixes the hover state of the link balloon tooltip. */
@media (hover: hover) {
  .ck.ck-link-actions .ck-button.ck-link-actions__preview:hover .ck-button__label {
    color: var(--wcfButtonTextActive);
  }
  .ck.ck-link-actions .ck-button.ck-link-actions__preview .ck-button__label:hover {
    text-decoration: none !important;
  }
}
/* Prevent lists inside drop down menus from becoming a huge skyscraper. */
.ck.ck-dropdown .ck-dropdown__panel .ck-list {
  max-height: 300px;
  overflow: auto;
}

/* Prevent the selection for the heading to take up lots of space for no reason. */
.ck.ck-dropdown.ck-heading-dropdown .ck-dropdown__button .ck-button__label {
  width: auto;
}

/* Prevent the “Material Design” like behavior of form labels. */
.ck.ck-labeled-field-view__input-wrapper {
  display: flex;
  flex-direction: column-reverse;
  row-gap: 5px;
}
.ck.ck-labeled-field-view__input-wrapper .ck.ck-label {
  color: var(--wcfInputLabel) !important;
  padding: 0 !important;
  position: static !important;
  transform: none !important;
}

.ck.ck-link-form {
  align-items: end;
}
.ck.ck-link-form > .ck.ck-button {
  height: 30px;
  padding: 5px !important;
}

/* Fix the background color and size when editing a link. */
a.ck.ck-button.ck-link-toolbar__preview,
a.ck.ck-button.ck-link-toolbar__preview:active,
a.ck.ck-button.ck-link-toolbar__preview:focus {
  background-color: var(--wcfButtonBackground);
  padding-bottom: 2px !important;
  padding-top: 2px !important;
}

/* Increase the width of the splitbutton arrows. */
.ck.ck-toolbar__items .ck.ck-splitbutton > .ck-splitbutton__arrow {
  padding-left: var(--ck-spacing-base);
  padding-right: var(--ck-spacing-base);
}

/* Add a visual indicator for the split button functionality. */
.ck.ck-splitbutton:not(:hover, .ck-splitbutton_open) > .ck-splitbutton__arrow::before {
  border-left: 1px dashed var(--ck-toolbar-border-color);
  content: "";
  inset: var(--ck-spacing-small) auto var(--ck-spacing-small) -1px;
  position: absolute;
}

.ck.ck-toolbar__separator {
  margin-bottom: 0 !important;
  margin-top: 0 !important;
}

.ck.ck-balloon-panel.ck-powered-by-balloon {
  --ck-powered-by-text-color: var(--wcfContentText);
  --ck-powered-by-background: var(--ck-color-base-background);
  --ck-powered-by-border-color: var(--wcfInputBorderActive);
  border-width: 1px !important;
}

.ck.ck-powered-by .ck.ck-icon > path {
  fill: var(--wcfContentText);
}

.ck.ck-sticky-panel__content,
.ck.ck-balloon-panel {
  --ck-z-modal: 90;
  --ck-z-panel: 91;
}

.ck.ck-responsive-form {
  width: auto;
}

html[data-color-scheme=dark] {
  --ck-color-interactive-focus-shadow: #0a2c66;
  --ck-color-widget-hover-border: #124f81;
}
html[data-color-scheme=dark] .ck.ck-reset.ck-dropdown__panel,
html[data-color-scheme=dark] .ck.ck-balloon-panel {
  border-color: var(--wcfDropdownBorderInner);
}
html[data-color-scheme=dark] .ck.ck-content pre {
  background-color: var(--wcfContentBackground);
  border-color: var(--wcfContentBorderInner);
  color: var(--wcfContentText);
}
html[data-color-scheme=dark] .ck.ck-editor__editable_inline.ck-blurred ::selection {
  background: rgba(255, 255, 255, 0.12);
}

/* Dialog overlay to restore a draft */
.ckeditor5__restoreDraft {
  position: relative;
}

.ckeditor5_restoreDraft__wrapper {
  align-items: center;
  background-color: rgba(0, 0, 0, 0.34);
  display: flex;
  inset: 0;
  justify-content: center;
  position: absolute;
  z-index: 2;
}

.ckeditor5__restoreDraft__dialog {
  background-color: var(--wcfContentBackground);
  border: 1px solid transparent;
  border-radius: 8px;
  box-shadow: rgba(0, 0, 0, 0.2) 0 12px 28px 0, rgba(0, 0, 0, 0.1) 0 2px 4px 0;
  color: var(--wcfContentText);
  max-width: 400px;
  padding: 20px;
}

.ckeditor5__restoreDraft__question {
  font-size: var(--wcfFontSizeHeadline);
  font-weight: 600;
  line-height: 1.28;
}

.ckeditor5__restoreDraft__buttons {
  column-gap: 10px;
  display: flex;
  flex-direction: row-reverse;
  margin-top: 20px;
}

.ckeditor5__restoreDraft__buttons button[data-type=preview] {
  margin-right: auto;
}

html[data-color-scheme=dark] .ckeditor5__restoreDraft__dialog {
  border-color: var(--wcfContentBorderInner);
}

/* Styling of inline errors for the editor. */
.ck.ck-editor + .innerError {
  margin-top: 0;
  width: 100%;
}
.ck.ck-editor + .innerError::before {
  display: none;
}

.ck.ck-list__item .ck-button.ckeditor5__mention {
  display: block;
  font-size: var(--wcfFontSizeDefault);
}

.ck.ck-list__item .ck-button.ckeditor5__mention .userAvatarImage {
  height: 16px;
  margin-right: 2px;
  width: 16px;
}

/* Text Alignment */
.text-center {
  text-align: center !important;
}

.text-left {
  text-align: left !important;
}

.text-justify {
  text-align: justify !important;
  -webkit-hyphens: auto;
  hyphens: auto;
}

.text-right {
  text-align: right !important;
}

/* image float */
.messageFloatObjectLeft {
  float: left;
  margin: 0 20px 20px 0;
}

.messageFloatObjectRight {
  float: right;
  margin: 0 0 20px 20px;
}

@media screen and (max-width: 544px) {
  .messageFloatObjectLeft,
  .messageFloatObjectRight {
    float: none;
    margin: 0 0 20px 0;
    /* Center the element by moving it 50% of the parent’s width to the left
       and then moving it back by 50% of the element’s width. */
    margin-left: 50%;
    transform: translateX(-50%);
  }
}
/* Quotes */
.ck.ck-content blockquote {
  background-color: var(--wcfContentBackground);
  border: 1px solid var(--wcfContentBorderInner);
  border-left-width: 5px;
  border-radius: 0 var(--wcfBorderRadius) var(--wcfBorderRadius) 0;
  margin: 2em 0 1em 0;
}
.ck.ck-content blockquote::before {
  color: var(--wcfContentDimmedText);
}

/* Code Blocks */
.ck.ck-content pre {
  margin: 1em 0;
}

/* Text Markers */
.marker-error,
.marker-info,
.marker-success,
.marker-warning {
  border-radius: 2px;
  border-style: solid;
  border-width: 1px 0;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
  padding: 0 0.15em;
}

.marker-error {
  background-color: var(--wcfStatusErrorBackground);
  border-color: var(--wcfStatusErrorBorder);
  color: var(--wcfStatusErrorText);
}

.marker-info {
  background-color: var(--wcfStatusInfoBackground);
  border-color: var(--wcfStatusInfoBorder);
  color: var(--wcfStatusInfoText);
}

.marker-success {
  background-color: var(--wcfStatusSuccessBackground);
  border-color: var(--wcfStatusSuccessBorder);
  color: var(--wcfStatusSuccessText);
}

.marker-warning {
  background-color: var(--wcfStatusWarningBackground);
  border-color: var(--wcfStatusWarningBorder);
  color: var(--wcfStatusWarningText);
}

/* Fake visuals for the WYSIWYG editor while it is still loading. */
.wysiwygTextarea {
  background-color: var(--wcfContentContainerBackground) !important;
  border-radius: var(--wcfBorderRadius) var(--wcfBorderRadius) 0 0 !important;
  border-color: var(--wcfContentBorderInner) !important;
  color: transparent !important;
  cursor: not-allowed !important;
  height: 240px !important;
  resize: none !important;
}

/* Add spacer for any notices displayed above the editor. */
.wysiwygTextarea:not(:first-child),
.wysiwygTextarea:not(:first-child) + .ck.ck-editor {
  margin-top: 20px;
}

/* Hide tooltips on touch devices. */
html.touch .ck.ck-balloon-panel.ck-tooltip {
  display: none;
}

/* HTML Embed */
.ck .ck-widget.raw-html-embed {
  --ck-color-button-default-hover-background: var(--wcfEditorButtonBackground);
  --ck-color-button-default-active-background: var(--wcfEditorButtonBackground);
  --ck-color-button-on-background: var(--wcfEditorButtonBackgroundActive);
  --ck-color-button-on-hover-background: var(--wcfEditorButtonBackgroundActive);
  --ck-color-button-on-active-background: var(--wcfEditorButtonBackgroundActive);
  --ck-color-button-on-disabled-background: transparent;
  --ck-color-button-on-color: var(--wcfEditorButtonTextActive);
  background-color: var(--wcfContentContainerBackground);
  font-size: var(--wcfFontSizeSmall);
}
.ck .ck-widget.raw-html-embed::before {
  padding: 0 var(--ck-spacing-tiny) !important;
}

@media (hover: hover) {
  .ck-widget.raw-html-embed .ck.ck-button.ck-button:not(.ck-disabled):hover {
    background-color: var(--ck-color-button-default-hover-background);
  }
}
@media screen and (max-width: 544px) {
  .ck.ck-input {
    --ck-input-width: 100%;
  }
  .ckeditor5__restoreDraft__buttons {
    flex-direction: column-reverse;
    row-gap: 10px;
  }
  .ckeditor5__restoreDraft__buttons button[data-type=preview] {
    margin-right: 0;
  }
}
/* Workarounds for iOS */
html.iOS {
  /* Fixed positioning does not work in iOS when the screen keyboard is open. */
  /* Font sizes below 16px cause iOS to zoom when moving the focus inside of it. */
}
html.iOS .ck.ck-sticky-panel .ck-sticky-panel__content_sticky {
  position: absolute !important;
  top: 0 !important;
}
html.iOS .ck.ck-content {
  font-size: 16px;
}

.ck-link-form .ck-labeled-field-view {
  order: 0;
}
.ck-link-form .ck-button-cancel {
  order: 1;
}
.ck-link-form .ck-button-save {
  order: 2;
}

@media (pointer: coarse) {
  /* The resize controls are not supported on touch devices.
     See https://github.com/ckeditor/ckeditor5/issues/5624 */
  .ck .ck-widget__resizer {
    display: none !important;
  }
}
/* Accessiblity Dialog */
.ck.ck-dialog {
  --ck-accessibility-help-dialog-border-color: var(--wcfContentBorderInner);
  --ck-accessibility-help-dialog-code-background-color: transparent;
  --ck-color-dialog-form-header-border: var(--wcfContentBorderInner);
  background-color: var(--wcfContentBackground);
  border-radius: var(--wcfBorderRadiusContainer);
  box-shadow: var(--wcfBoxShadow);
  color: var(--wcfContentText);
}
.ck.ck-dialog dl:not(.plain):not(:first-child) {
  margin-top: 0;
}
.ck.ck-dialog dl:not(.plain) > :is(dt:not(:empty), dd:not(:last-child)) {
  margin-bottom: 0;
}

/* "Insert Image" Dialog */
.ck.ck-dialog .ck.ck-labeled-field-view > .ck.ck-labeled-field-view__input-wrapper > .ck.ck-label {
  --ck-color-labeled-field-label-background: transparent;
}

/* emoji picker */
.ck.ck-emoji-picker-form .ck-button {
  padding: 0 !important;
}
.ck.ck-emoji-picker-form .ck-search .ck-labeled-field-view__input-wrapper svg,
.ck.ck-emoji-picker-form .ck-search .ck-labeled-field-view__input-wrapper .ck-off {
  transform: none !important;
}
.ck.ck-emoji-picker-form .ck-search .ck-emoji__skin-tone {
  align-self: end;
}
.ck.ck-emoji-picker-form .ck-search .ck-emoji__skin-tone .ck-button {
  padding: 3px 12px !important;
}
.ck.ck-emoji-picker-form .ck.ck-emoji__tiles {
  /* Use the same value applied to `max-height` to prevent the dialog
     from jumping when the number of results change. */
  min-height: min(265px, 40vh);
}

.ck-button__label.ck-emoji, .ck-button__label.ck-smiley {
  font-size: var(--wcfFontSizeDefault) !important;
}

@media (hover: hover) {
  .ck.ck-emoji-picker-form .ck-button:not(:hover), .ck.ck-emoji-picker-form .ck-button.ck-emoji__tile:hover {
    background-color: transparent !important;
  }
}
.colorPreview {
  background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQAQMAAAAlPW0iAAAABlBMVEX////MzMw46qqDAAAAD0lEQVQI12P4z4Ad4ZAAAH6/D/Hgw85/AAAAAElFTkSuQmCC);
  border: 1px solid var(--wcfContentBorderInner);
  display: inline-block;
}
.colorPreview > div {
  border: 2px solid var(--wcfContentBackground);
  cursor: pointer;
  display: block;
  height: 60px;
  width: 180px;
}

.colorPickerColorNew,
.colorPickerColorOld,
.colorPickerButton {
  background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQAQMAAAAlPW0iAAAABlBMVEX////MzMw46qqDAAAAD0lEQVQI12P4z4Ad4ZAAAH6/D/Hgw85/AAAAAElFTkSuQmCC);
  border: 1px solid rgb(0, 0, 0);
  box-sizing: content-box;
  display: block;
  min-height: 50px;
}
.colorPickerColorNew > span,
.colorPickerColorOld > span,
.colorPickerButton > span {
  display: block;
}

.colorPickerButton {
  height: 32px;
  width: 50px;
}
.colorPickerButton > span {
  height: 32px;
}

.colorPickerComparison {
  --border-radius: 5px;
  display: grid;
  grid-template-rows: min-content auto auto min-content;
  text-align: center;
}

.colorPickerColorNew {
  border-radius: var(--border-radius) var(--border-radius) 0 0;
}

.colorPickerColorOld {
  border-radius: 0 0 var(--border-radius) var(--border-radius);
}

.colorPickerChannels {
  align-items: center;
  column-gap: 3px;
  color: var(--wcfContentDimmedText);
  display: flex !important;
}
.colorPickerChannels input[type=number] {
  padding: 4px;
  text-align: center;
  /* Firefox on Windows requires those fields to be wider due to the overlapping controls. */
  width: 56px;
}

.colorPickerColorNew,
.colorPickerColorOld {
  overflow: hidden;
}
.colorPickerColorNew > span,
.colorPickerColorOld > span {
  height: 100%;
}

.colorPickerColorOld {
  background-position: 8px 0;
  border-top-width: 0;
}

.colorPickerHslRange,
.colorPickerHslRange::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
}

.colorPickerHslRange {
  width: 100%;
}
.colorPickerHslRange::-webkit-slider-runnable-track {
  background-image: var(--track-image);
  height: 10px;
  border-radius: 5px;
}
.colorPickerHslRange::-webkit-slider-thumb {
  background-color: hsl(var(--hue), var(--saturation), var(--lightness));
  border: 4px solid #fff;
  border-radius: 50%;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.025), 0 1px 5px rgba(0, 0, 0, 0.25);
  cursor: pointer;
  height: 24px;
  margin-top: -6px;
  width: 24px;
}
.colorPickerHslRange[data-coordinate=hue]::-webkit-slider-thumb {
  background-color: hsl(var(--hue), 100%, 50%);
}

/* Do not merge these with the block above, it breaks Chrome. */
.colorPickerHslRange::-moz-range-track {
  background-image: var(--track-image);
  height: 10px;
  border-radius: 5px;
}
.colorPickerHslRange::-moz-range-thumb {
  background-color: hsl(var(--hue), var(--saturation), var(--lightness));
  border: 4px solid #fff;
  border-radius: 50%;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.025), 0 1px 5px rgba(0, 0, 0, 0.25);
  cursor: pointer;
  height: 24px;
  margin-top: -6px;
  width: 24px;
}
.colorPickerHslRange[data-coordinate=hue]::-moz-range-thumb {
  background-color: hsl(var(--hue), 100%, 50%);
}

.colorPickerHslRange[data-coordinate=hue] {
  --track-image: linear-gradient(
  	to right,
  	hsl(0, 100%, 50%),
  	hsl(10, 100%, 50%),
  	hsl(20, 100%, 50%),
  	hsl(30, 100%, 50%),
  	hsl(40, 100%, 50%),
  	hsl(50, 100%, 50%),
  	hsl(60, 100%, 50%),
  	hsl(70, 100%, 50%),
  	hsl(80, 100%, 50%),
  	hsl(90, 100%, 50%),
  	hsl(100, 100%, 50%),
  	hsl(110, 100%, 50%),
  	hsl(120, 100%, 50%),
  	hsl(130, 100%, 50%),
  	hsl(140, 100%, 50%),
  	hsl(150, 100%, 50%),
  	hsl(160, 100%, 50%),
  	hsl(170, 100%, 50%),
  	hsl(180, 100%, 50%),
  	hsl(190, 100%, 50%),
  	hsl(200, 100%, 50%),
  	hsl(210, 100%, 50%),
  	hsl(220, 100%, 50%),
  	hsl(230, 100%, 50%),
  	hsl(240, 100%, 50%),
  	hsl(250, 100%, 50%),
  	hsl(260, 100%, 50%),
  	hsl(270, 100%, 50%),
  	hsl(280, 100%, 50%),
  	hsl(290, 100%, 50%),
  	hsl(300, 100%, 50%),
  	hsl(310, 100%, 50%),
  	hsl(320, 100%, 50%),
  	hsl(330, 100%, 50%),
  	hsl(340, 100%, 50%),
  	hsl(350, 100%, 50%),
  	hsl(359, 100%, 50%)
  );
}

.colorPickerHslRange[data-coordinate=saturation] {
  --track-image: linear-gradient(
  	to right,
  	hsl(var(--hue), 0%, var(--lightness)) 0%,
  	hsl(var(--hue), 100%, var(--lightness)) 100%
  );
}

.colorPickerHslRange[data-coordinate=lightness] {
  --track-image: linear-gradient(
  	to right,
  	hsl(var(--hue), var(--saturation), 0%) 0%,
  	hsl(var(--hue), var(--saturation), 50%) 50%,
  	hsl(var(--hue), var(--saturation), 100%) 100%
  );
}

.colorPickerValueContainer {
  column-gap: 20px;
  display: grid;
  grid-template-columns: min-content auto;
  margin-top: 20px;
}

@media screen and (max-width: 544px) {
  .colorPickerValueContainer {
    display: flex;
    flex-direction: column;
    row-gap: 20px;
  }
}
.commentList {
  display: flex;
  flex-direction: column;
  padding: 10px 0;
  row-gap: 10px;
}

.commentList__item:not(:first-child) {
  border-top: 1px solid var(--wcfContentBorderInner);
  padding-top: 10px;
}

.comment {
  display: flex;
  flex-direction: column;
  padding: 10px;
  row-gap: 10px;
}

.comment__header {
  display: grid;
  column-gap: 10px;
  grid-template-areas: "avatar author status menu" "avatar date status menu";
  grid-template-columns: min-content 1fr min-content min-content;
}

.comment__footer {
  display: grid;
  column-gap: 10px;
  grid-template-areas: "reactions buttons";
  grid-template-columns: auto max-content;
}

.comment__avatar {
  align-self: center;
  grid-area: avatar;
}

.comment__author {
  align-self: end;
  display: flex;
  grid-area: author;
}

.comment__author__link {
  color: inherit;
}

.comment__date {
  display: flex;
  grid-area: date;
}

.comment__permalink {
  color: var(--wcfContentDimmedText);
  font-size: 12px;
}

.comment__status {
  align-self: start;
  column-gap: 5px;
  display: flex;
  grid-area: status;
  padding-top: 2px;
}

.comment__menu {
  align-self: start;
  grid-area: menu;
}

.comment__reactions {
  align-self: center;
  grid-area: reactions;
}

.comment__buttons {
  grid-area: buttons;
  display: flex;
  gap: 10px;
}

.commentAdd {
  display: grid;
  column-gap: 10px;
  grid-template-areas: "avatar content";
  grid-template-columns: min-content 1fr;
  padding: 10px;
}

.commentAdd__avatar {
  grid-area: avatar;
}

.commentAdd__content {
  grid-area: content;
}

.commentAdd__placeholder {
  display: none;
}

.commentAdd__content--collapsed {
  overflow: hidden;
  position: relative;
}
.commentAdd__content--collapsed .commentAdd__placeholder {
  align-items: center;
  background-color: var(--wcfInputBackground);
  border: 1px solid var(--wcfInputBorder);
  border-radius: var(--wcfBorderRadius);
  column-gap: 10px;
  color: var(--wcfInputText);
  display: flex;
  padding: 10px 20px;
  width: 100%;
}
.commentAdd__content--collapsed .commentAdd__editor {
  left: 200%;
  position: absolute;
  top: -100%;
}

@media (hover: hover) {
  .commentAdd__content--collapsed .commentAdd__placeholder:hover {
    border-color: var(--wcfInputBorderActive);
  }
}
.commentAdd__content--loading {
  height: 150px;
  position: relative;
}
.commentAdd__content--loading .commentAdd__editor {
  display: none;
}
.commentAdd__content--loading .commentAdd__loading {
  left: 50%;
  position: absolute;
  top: 50%;
  transform: translateX(-50%) translateY(-50%);
}

.comment__responses {
  padding-top: 10px;
  padding-left: 20px;
}

.commentResponseList {
  display: flex;
  flex-direction: column;
  row-gap: 10px;
}

.commentResponseList__item {
  border-top: 1px solid var(--wcfContentBorderInner);
  padding-top: 10px;
}

.commentResponse {
  display: flex;
  flex-direction: column;
  padding: 10px;
  row-gap: 10px;
}

.commentResponse__header {
  display: grid;
  column-gap: 10px;
  grid-template-areas: "avatar author status menu" "avatar date status menu";
  grid-template-columns: min-content 1fr min-content min-content;
}

.commentResponse__footer {
  display: grid;
  column-gap: 10px;
  grid-template-areas: "reactions buttons";
  grid-template-columns: 1fr min-content;
}

.commentResponse__avatar {
  align-self: center;
  grid-area: avatar;
}

.commentResponse__author {
  align-self: end;
  display: flex;
  grid-area: author;
}

.commentResponse__author__link {
  color: inherit;
}

.commentResponse__date {
  display: flex;
  grid-area: date;
}

.commentResponse__permalink {
  color: var(--wcfContentDimmedText);
  font-size: 12px;
}

.commentResponse__status {
  align-self: start;
  column-gap: 5px;
  display: flex;
  grid-area: status;
  padding-top: 2px;
}

.commentResponse__menu {
  align-self: start;
  grid-area: menu;
}

.commentResponse__reactions {
  grid-area: reactions;
}

.commentResponse__buttons {
  grid-area: buttons;
  display: flex;
  gap: 10px;
}

.commentResponseAdd {
  border-top: 1px solid var(--wcfContentBorderInner);
  display: grid;
  column-gap: 10px;
  grid-template-areas: "avatar content";
  grid-template-columns: min-content 1fr;
  padding: 10px;
  margin-left: 20px;
}

.comment__responses:has(.commentLoadNextResponses) + .commentResponseAdd {
  margin-top: 10px;
}

.commentResponseAdd__avatar {
  grid-area: avatar;
}

.commentResponseAdd__content {
  grid-area: content;
}

.commentResponseAdd__content--loading {
  height: 150px;
  position: relative;
}
.commentResponseAdd__content--loading .commentResponseAdd__editor {
  display: none;
}
.commentResponseAdd__content--loading .commentResponseAdd__loading {
  left: 50%;
  position: absolute;
  top: 50%;
  transform: translateX(-50%) translateY(-50%);
}

.commentList > li:hover {
  background-color: transparent;
}

@keyframes wcfCommentHighlight {
  0% {
    opacity: 1;
  }
  50% {
    opacity: 0.3;
  }
  100% {
    opacity: 1;
  }
}
.comment.comment__highlight__target,
.commentResponse.comment__highlight__target {
  animation: wcfCommentHighlight 0.96s linear;
}

@media screen and (min-width: 545px), print {
  .comment__message {
    padding-left: 42px;
  }
  .comment__footer {
    padding-left: 42px;
  }
  .comment__responses {
    padding-left: 42px;
  }
  .commentResponse__message {
    padding-left: 42px;
  }
  .commentResponse__footer {
    padding-left: 42px;
  }
  .commentResponseAdd {
    margin-left: 42px;
  }
}
@media screen and (max-width: 544px) {
  .commentAdd:not(.commentAdd--collapsed) {
    column-gap: 0;
  }
  .commentAdd:not(.commentAdd--collapsed) .commentAdd__avatar {
    display: none;
  }
  .commentResponseAdd {
    column-gap: 0;
  }
  .commentResponseAdd__avatar {
    display: none;
  }
}
.contactFormAttachments {
  margin-top: 20px;
}

.contentItemList {
  display: flex;
  flex-wrap: wrap;
  margin: 0 0 -20px -20px;
}

.contentItem {
  background-color: var(--wcfContentBackground);
  border-radius: var(--wcfBorderRadius);
  box-shadow: var(--wcfBoxShadowCard);
  display: flex;
  flex-direction: column;
  margin: 0 0 20px 20px;
  position: relative;
  overflow: hidden;
}

.contentItemSingleColumn {
  /* The `flex` shorthand fails in IE11 if `calc()` is used. */
  flex-grow: 0;
  flex-shrink: 0;
  flex-basis: calc(100% - 20px);
}

.contentItemMultiColumn {
  /* The `flex` shorthand fails in IE11 if `calc()` is used. */
  flex-grow: 0;
  flex-shrink: 0;
  flex-basis: calc(50% - 20px);
}

.contentItemLink {
  flex: 1 auto;
}

.contentItemTitleLink {
  color: inherit;
}
.contentItemTitleLink::before {
  bottom: 0;
  content: "";
  left: 0;
  position: absolute;
  right: 0;
  top: 0;
}
.contentItemTitleLink:hover {
  color: inherit;
}

/* Deprecated: use contentItemTitleLink instead. */
.contentItemLinkShadow {
  bottom: 0;
  left: 0;
  position: absolute;
  right: 0;
  top: 0;
}

.contentItemContent {
  padding: 10px;
}

.contentItemContentTruncate {
  max-height: 150px;
  overflow: hidden;
  position: relative;
}
.contentItemContentTruncate::after {
  background-image: linear-gradient(to top, var(--wcfContentBackground), rgba(var(--wcfContentBackground-rgb)/0));
  bottom: 0;
  content: "";
  height: 30px;
  left: 0;
  pointer-events: none;
  position: absolute;
  right: 0;
  /* The `top` value is important, because it prevents the last line from being affected
     when the content isn't too long. */
  top: 120px;
}

.contentItemImage {
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  padding: 10px;
  position: relative;
}

.contentItemImageSmall {
  min-height: 75px;
}
.contentItemImageSmall .contentItemImageElement {
  height: 75px;
}

.contentItemImageLarge {
  min-height: 150px;
}
.contentItemImageLarge .contentItemImageElement {
  height: 150px;
}

.contentItemImageElement {
  margin: -10px -10px -10px -10px;
  object-fit: cover;
  object-position: center;
  width: calc(100% + 20px);
}

.contentItemBadges {
  align-items: flex-start;
  display: flex;
  flex-direction: column;
}

.contentItemOptions {
  align-items: flex-start;
  display: flex;
  gap: 5px;
}

.contentItemImageElement + .contentItemBadges {
  left: 10px;
  position: absolute;
  top: 10px;
  z-index: 1;
}

.contentItemOptions {
  position: absolute;
  right: 10px;
  top: 10px;
  z-index: 1;
}

.contentItemBadge,
.contentItemOption {
  flex: 0 auto;
}
.contentItemBadge:not(:first-child),
.contentItemOption:not(:first-child) {
  margin-top: 5px;
}

.contentItemBadge {
  border: 1px solid currentColor;
}

.contentItemOption.button {
  box-shadow: 0 0 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
}

.contentItemLabels {
  margin-bottom: 5px;
}

.contentItemCategory {
  color: var(--wcfContentDimmedText);
  font-weight: 400;
}
@media screen and (min-width: 769px), print {
  .contentItemCategory {
    font-size: var(--wcfFontSizeSmall);
  }
}
@media screen and (max-width: 768px) {
  .contentItemCategory {
    font-size: 12px;
  }
}

.contentItemTitle {
  color: var(--wcfContentHeadlineLink);
  font-weight: 400;
  line-height: 1.28;
  font-weight: 600;
}
@media screen and (min-width: 769px), print {
  .contentItemTitle {
    font-size: var(--wcfFontSizeHeadline);
  }
}
@media screen and (max-width: 768px) {
  .contentItemTitle {
    font-size: 18px;
  }
}
.contentItemTitle:hover {
  color: var(--wcfContentHeadlineLinkActive);
}

.contentItemDescription {
  color: var(--wcfContentDimmedText);
  margin-top: 5px;
}
.contentItemDescription img {
  height: auto !important;
  max-width: 100%;
}

.contentItemContentLinks {
  padding: 0 10px 10px 10px;
}

.contentItemMeta {
  align-items: center;
  border-top: 1px solid var(--wcfContentBorderInner);
  color: var(--wcfContentDimmedText);
  display: flex;
  flex: 0 auto;
  padding: 10px;
  white-space: nowrap;
}

.contentItemMetaImage {
  flex: 0 auto;
  margin-right: 10px;
}

.contentItemMetaContent {
  flex: 1 auto;
  font-size: 12px;
}

.contentItemMetaAuthor {
  color: var(--wcfContentText);
}
.contentItemMetaAuthor a,
.contentItemMetaAuthor a:hover {
  color: inherit;
}

.contentItemMetaIcons {
  align-items: center;
  display: flex;
  flex: 0 auto;
  margin-left: 10px;
  font-weight: 400;
}
@media screen and (min-width: 769px), print {
  .contentItemMetaIcons {
    font-size: var(--wcfFontSizeSmall);
  }
}
@media screen and (max-width: 768px) {
  .contentItemMetaIcons {
    font-size: 12px;
  }
}

.contentItemMetaIcon {
  flex: 0 auto;
}
.contentItemMetaIcon:not(:first-child) {
  margin-left: 10px;
}
.contentItemMetaIcon .topReactionShort {
  align-items: center;
  display: flex;
}
.contentItemMetaIcon .reactionType {
  margin-right: 3px;
}

.contentItemImagePreview {
  border-radius: var(--wcfBorderRadius);
  box-shadow: 0 0 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
  margin-bottom: 10px;
  max-width: 100%;
}

.contentItemImagePreviewButtons {
  display: flex;
  flex-wrap: wrap;
  margin-left: -10px;
}
.contentItemImagePreviewButtons > .button {
  flex: 0 auto;
  margin-left: 10px;
}
.contentItemImagePreviewButtons > .innerError {
  flex: 0 0 100%;
  margin-left: 10px;
}

@media screen and (min-width: 1025px), print {
  /* There are no sidebars, use a three column layout. */
  .content:first-child:last-child .contentItemMultiColumn,
  .boxesTop .contentItemMultiColumn,
  .boxesBottom .contentItemMultiColumn {
    /* The `flex` shorthand fails in IE11 if `calc()` is used. */
    flex-grow: 0;
    flex-shrink: 0;
    flex-basis: calc(33.3333333333% - 20px);
  }
}
@media screen and (min-width: 769px) and (max-width: 1024px) {
  /* The sidebar, if any, is not adjacent to the content, use a three column layout. */
  .contentItemMultiColumn {
    /* The `flex` shorthand fails in IE11 if `calc()` is used. */
    flex-grow: 0;
    flex-shrink: 0;
    flex-basis: calc(33.3333333333% - 20px);
  }
}
@media screen and (max-width: 544px) {
  /* There is not enough space to fit two columns. */
  .contentItemList {
    display: block;
  }
  .contentItemMultiColumn {
    max-width: none;
  }
}
.contentNotVisible {
  background-color: var(--wcfContentBackground);
  box-shadow: var(--wcfBoxShadowCard);
  border: 1px solid var(--wcfContentBorderInner);
  border-radius: var(--wcfBorderRadius);
  padding: 20px;
  max-width: 400px;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
@media screen and (max-width: 544px) {
  .contentNotVisible {
    padding: 10px;
  }
}

.contentNotVisible__title {
  font-weight: 600;
}

.inputAddon > .inputDatePicker {
  cursor: pointer;
  flex: 0 1 275px;
  min-width: 275px;
}

.datePicker {
  background-color: var(--wcfDropdownBackground);
  border-radius: var(--wcfBorderRadius);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.16), 0 3px 6px rgba(0, 0, 0, 0.23);
  color: var(--wcfDropdownText);
  display: none;
  position: fixed;
  width: 240px;
  z-index: 450;
}
.datePicker.active {
  display: block;
}
.datePicker.datePickerTime.datePickerTimeOnly > header,
.datePicker.datePickerTime.datePickerTimeOnly > ul {
  display: none;
}
.datePicker.datePickerTime.datePickerTimeOnly > footer {
  border-top-width: 0;
}
.datePicker.datePickerTime > footer {
  display: block;
}
.datePicker > header {
  align-items: center;
  display: flex;
}
.datePicker > header > a {
  display: block;
  flex: 0 0 auto;
  padding: 10px;
}
.datePicker > header > a:not(.active) {
  visibility: hidden;
}
.datePicker > header > span {
  display: block;
  flex: 1 1 auto;
  padding: 10px 0;
  text-align: center;
}
.datePicker select.year {
  margin-left: 5px;
}
.datePicker > ul > li {
  border-top: 1px solid var(--wcfDropdownBorderInner);
  display: flex;
}
.datePicker > ul > li.weekdays, .datePicker > ul > li.weekdays + li {
  border-top-color: var(--wcfDropdownBorderInner);
}
.datePicker > ul > li > a,
.datePicker > ul > li > span {
  display: block;
  flex: 1;
  padding: 5px 0;
  text-align: center;
}
.datePicker > ul > li > a:not(:last-child),
.datePicker > ul > li > span:not(:last-child) {
  border-right: 1px solid var(--wcfDropdownBorderInner);
}
.datePicker > ul > li > a {
  color: var(--wcfDropdownLink);
}
.datePicker > ul > li > a:hover {
  text-decoration: none;
}
.datePicker > ul > li > a.active, .datePicker > ul > li > a:not(.otherMonth, .disabled):hover {
  background-color: var(--wcfDropdownBackgroundActive);
  color: var(--wcfDropdownLinkActive);
}
.datePicker > ul > li > a.otherMonth, .datePicker > ul > li > a.disabled {
  color: var(--wcfContentDimmedText);
  cursor: default;
}
.datePicker > ul > li > a.disabled {
  opacity: 0.45;
}
.datePicker > ul > li > span {
  color: var(--wcfContentDimmedText);
  font-weight: 400;
}
@media screen and (min-width: 769px), print {
  .datePicker > ul > li > span {
    font-size: var(--wcfFontSizeSmall);
  }
}
@media screen and (max-width: 768px) {
  .datePicker > ul > li > span {
    font-size: 12px;
  }
}
.datePicker > footer {
  border-top: 1px solid var(--wcfDropdownBorderInner);
  display: none;
  padding: 10px;
  position: relative;
  text-align: center;
}

@media screen and (max-width: 768px) {
  .inputAddon.inputAddonDatePicker .inputDatePicker {
    flex: 1 auto;
    min-width: auto;
    width: 0;
  }
}
.dialogOverlay {
  background-color: rgba(0, 0, 0, 0.4);
  bottom: 0;
  display: grid;
  grid-template-areas: "dialog";
  left: 0;
  opacity: 0;
  position: fixed;
  right: 0;
  top: 0;
  transition: opacity 0.12s linear, visibility 0s linear 0.24s;
  visibility: hidden;
  will-change: opacity;
  z-index: 399;
}
.dialogOverlay[aria-hidden=false] {
  opacity: 1;
  transition-delay: 0s;
  visibility: visible;
}

@keyframes wcfDialog {
  0% {
    visibility: visible;
    transform: translateX(var(--translate-x)) translateY(calc(-50% - 20px));
  }
  100% {
    visibility: visible;
    transform: translateX(var(--translate-x)) translateY(-50%);
  }
}
@keyframes wcfDialogOut {
  0% {
    visibility: hidden;
  }
  100% {
    visibility: hidden;
  }
}
.dialogContainer {
  background-color: var(--wcfContentBackground);
  border-radius: var(--wcfBorderRadiusContainer);
  box-shadow: var(--wcfBoxShadow);
  color: var(--wcfContentText);
  grid-area: dialog;
  z-index: 200;
}
@media screen and (max-width: 544px) {
  .dialogContainer {
    margin: auto;
    max-height: calc(100% - 20px);
    min-width: calc(80% - 20px);
    max-width: calc(100% - 20px);
    position: relative;
  }
}
@media screen and (min-width: 545px), print {
  .dialogContainer {
    align-self: flex-start;
    animation: wcfDialogOut 0.24s;
    animation-fill-mode: forwards;
    justify-self: center;
    max-height: 80%;
    max-width: 80%;
    min-width: 500px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translateX(var(--translate-x, 0)) translateY(-50%);
  }
  .dialogContainer[aria-hidden=false] {
    animation: wcfDialog 0.24s;
    animation-fill-mode: forwards;
  }
}
.dialogContainer[aria-hidden=true] {
  display: none;
}
.dialogContainer[aria-hidden=false] ~ .dialogContainer[aria-hidden=false] {
  z-index: 50;
}
.dialogContainer > header {
  display: flex;
  padding: 20px;
}
.dialogContainer > header > span {
  flex: 1 auto;
  font-weight: 400;
  line-height: 1.28;
  font-weight: 600;
}
@media screen and (min-width: 769px), print {
  .dialogContainer > header > span {
    font-size: var(--wcfFontSizeHeadline);
  }
}
@media screen and (max-width: 768px) {
  .dialogContainer > header > span {
    font-size: 18px;
  }
}
.dialogContainer > header > .dialogCloseButton {
  align-self: center;
  flex: 0 0 auto;
}
.dialogContainer > .dialogContent {
  background-color: var(--wcfContentBackground);
  overflow: auto;
}
.dialogContainer > .dialogContent:not(.dialogContentNoPadding) {
  padding: 0 20px;
}
.dialogContainer > .dialogContent:not(.dialogContentNoPadding)::after {
  content: "";
  display: block;
  height: 20px;
}
.dialogContainer > .dialogContent:not(.dialogContentNoPadding).dialogForm::after {
  height: 17px;
}
.dialogContainer > .dialogContent:not(.dialogForm) {
  border-bottom-left-radius: 8px;
  border-bottom-right-radius: 8px;
}
.dialogContainer > .dialogContent dl:not(.plain) > dt {
  float: none;
  text-align: left;
  width: auto !important;
}
.dialogContainer > .dialogContent dl:not(.plain) > dt:empty {
  margin-bottom: 0;
}
.dialogContainer > .dialogContent dl:not(.plain) > dd {
  margin-left: 0 !important;
}
.dialogContainer > .dialogContent .dialogFormSubmit {
  background-color: var(--wcfContentBackground);
  bottom: 0;
  border-radius: 0 0 var(--wcfBorderRadiusContainer) var(--wcfBorderRadiusContainer);
  color: var(--wcfContentText);
  column-gap: 10px;
  display: flex;
  flex-direction: row-reverse;
  justify-content: end;
  left: 0;
  margin-bottom: 0;
  padding: 20px;
  position: absolute;
  right: 0;
}
.dialogContainer > .dialogContent .dialogFormSubmit .button,
.dialogContainer > .dialogContent .dialogFormSubmit input {
  margin: 0 !important;
}
.dialogContainer > .dialogContent > div > .section:first-child,
.dialogContainer > .dialogContent > div > fieldset:first-child {
  margin-top: 0;
}
.dialogContainer > .dialogContent > div > div > .section:first-child,
.dialogContainer > .dialogContent > div > div > fieldset:first-child,
.dialogContainer > .dialogContent > div > section > .section:first-child,
.dialogContainer > .dialogContent > div > section > fieldset:first-child,
.dialogContainer > .dialogContent > div > form > .section:first-child,
.dialogContainer > .dialogContent > div > form > fieldset:first-child {
  margin-top: 0;
}
.dialogContainer > .dialogContent .contentHeader {
  margin-top: 0;
}

/* static dialogs */
.jsStaticDialogContent {
  display: none;
}

.spinner {
  background-color: rgb(255, 255, 255);
  border: 1px solid rgb(204, 204, 204);
  border-radius: var(--wcfBorderRadiusContainer);
  box-shadow: 2px 2px 5px 0 rgba(0, 0, 0, 0.2);
  color: rgb(44, 62, 80);
  left: 50%;
  opacity: 0;
  position: fixed;
  text-align: center;
  top: 200px;
  transform: translateX(-50%);
  transition: visibility 0s linear 0.12s, opacity 0.12s linear;
  visibility: hidden;
  z-index: 401;
}
.spinner.active {
  opacity: 1;
  visibility: visible;
  transition-delay: 0s;
}

/* notification overlay */
#systemNotification {
  left: 0;
  opacity: 0;
  pointer-events: none !important;
  position: fixed;
  top: 0;
  transform: translateY(-100%);
  transition: visibility 0.12s linear 0.12s, transform 0.12s linear, opacity 0.12s linear;
  visibility: hidden;
  width: 100%;
  z-index: 460;
}
#systemNotification.active {
  opacity: 1;
  transform: translateY(0%);
  transition-delay: 0s;
  visibility: visible;
}
#systemNotification > p {
  border-top-left-radius: 0;
  border-top-right-radius: 0;
  border-top-width: 0;
  cursor: pointer;
  display: table;
  margin: 0 auto;
  max-width: 80%;
  pointer-events: auto;
}

/* highlight objects in confirmation messages */
.confirmationObject {
  font-weight: 600;
}

/* New dialog API */
@keyframes dialog {
  0% {
    top: -20px;
  }
  100% {
    top: 0;
  }
}
.dialog {
  --dialog-max-height: 80vh;
  --dialog-max-width: 80vw;
  --dialog-padding: 20px;
  animation: 0.24s dialog;
  background-color: transparent;
  border-radius: var(--wcfBorderRadiusContainer);
  border-width: 0;
  box-shadow: var(--wcfBoxShadow);
  display: flex;
  flex-direction: column;
  max-height: var(--dialog-max-height);
  max-width: var(--dialog-max-width);
  min-height: 0;
  min-width: 500px;
  overflow: hidden;
  padding: 0;
  position: fixed;
}

.dialog:not([open]) {
  display: none;
}

@keyframes dialogBackdrop {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
.dialog::backdrop {
  animation: 0.24s dialogBackdrop;
  background-color: rgba(0, 0, 0, 0.34);
  overflow-y: scroll;
}

html[data-color-scheme=dark] .dialog::backdrop {
  color-scheme: dark;
}

.dialog__document {
  background-color: var(--wcfContentBackground);
  border-radius: var(--wcfBorderRadiusContainer);
  color: var(--wcfContentText);
  display: flex;
  flex-direction: column;
  min-height: 0;
  padding: var(--dialog-padding);
}

.dialog__header {
  column-gap: 10px;
  display: grid;
  grid-template-columns: auto max-content;
  grid-template-areas: "title closeButton";
  margin-bottom: var(--dialog-padding);
}

.dialog__title {
  grid-area: title;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-weight: 400;
  line-height: 1.28;
  font-weight: 600;
}
@media screen and (min-width: 769px), print {
  .dialog__title {
    font-size: var(--wcfFontSizeHeadline);
  }
}
@media screen and (max-width: 768px) {
  .dialog__title {
    font-size: 18px;
  }
}

.dialog__closeButton {
  grid-area: closeButton;
}

.dialog__content {
  margin: 0 calc(var(--dialog-padding) * -1);
  overflow: auto;
  padding: 0 var(--dialog-padding);
}

.dialog__form {
  display: flex;
  flex-direction: column;
  min-height: 0;
}

.dialog[role=alert]:not(.dialog--iframe),
.dialog[role=alertdialog] {
  max-width: min(500px, var(--dialog-max-width));
}

.dialog[role=alert] .dialog__header,
.dialog[role=alertdialog] .dialog__header {
  column-gap: 0;
  grid-template-columns: auto;
  grid-template-areas: "title";
}

.dialog[role=alert] .dialog__title,
.dialog[role=alertdialog] .dialog__title {
  overflow: initial;
  text-overflow: initial;
  white-space: initial;
}

.dialog__control {
  column-gap: 10px;
  display: grid;
  grid-template-areas: "extra cancel primary";
  grid-template-columns: minmax(min-content, auto) max-content max-content;
  margin-top: 30px;
  row-gap: 10px;
}

.dialog__control--duo-stacked,
.dialog__control--extra-stacked,
.dialog__control--tripple-stacked {
  justify-content: end;
}

/* Cancel + Primary stacked on top of each other */
.dialog__control--duo-stacked {
  grid-template-areas: "cancel" "primary";
  grid-template-columns: auto;
}

/* Cancel + Primary are next to each other and extra on top */
.dialog__control--extra-stacked {
  grid-template-areas: "extra  extra" "cancel primary";
  grid-template-columns: auto max-content;
}

.dialog__control--tripple-stacked {
  grid-template-areas: "extra" "cancel" "primary";
  grid-template-columns: auto;
}

.dialog__control__button--primary {
  grid-area: primary;
}

.dialog__control__button--cancel {
  grid-area: cancel;
}

.dialog__control__button--extra {
  grid-area: extra;
  justify-self: start;
}

.dialog__control--extra-stacked .dialog__control__button--extra,
.dialog__control--tripple-stacked .dialog__control__button--extra {
  justify-self: end;
  margin-right: 0;
}

/* Sections inside dialogs */
.dialogContent .section .sectionTitle,
.dialog__content .section .sectionTitle {
  border-bottom-width: 0;
  font-weight: 600;
  padding-bottom: 0;
}
@media screen and (min-width: 769px), print {
  .dialogContent .section .sectionTitle,
  .dialog__content .section .sectionTitle {
    font-size: var(--wcfFontSizeDefault);
  }
}
@media screen and (max-width: 768px) {
  .dialogContent .section .sectionTitle,
  .dialog__content .section .sectionTitle {
    font-size: 14px;
  }
}
.dialogContent > .section:first-child,
.dialogContent > :is(form, section) > .section:first-child,
.dialog__content > .section:first-child,
.dialog__content > :is(form, section) > .section:first-child {
  margin-top: 0;
}
.dialogContent .section:not(:first-child),
.dialog__content .section:not(:first-child) {
  border-top: 1px solid var(--wcfContentBorderInner);
  margin-top: 20px;
  padding-top: 20px;
}

/* <iframe> as the result of an unexpected HTTP response */
.dialog.dialog--iframe {
  height: var(--dialog-max-height);
  width: var(--dialog-max-width);
}

.dialog.dialog--iframe .dialog__document,
.dialog.dialog--iframe .dialog__form,
.dialog.dialog--iframe .dialog__content {
  height: 100%;
}

.dialog.dialog--iframe .dialog__iframeContainer {
  border: 2px dashed red;
  height: 100%;
  padding: 5px;
}

.dialog.dialog--iframe .dialog__iframe {
  height: 100%;
  width: 100%;
}

@media screen and (max-width: 544px) {
  .dialog {
    --dialog-max-height: calc(100dvh - 20px);
    --dialog-max-width: calc(100dvw - 10px);
    min-width: var(--dialog-max-width);
  }
  .dialog__document {
    min-width: calc(100% - 20px);
    min-width: 100%;
  }
}
.dialog cropper-canvas {
  margin-left: auto;
  margin-right: auto;
  max-height: 100%;
  max-width: 100%;
  /* overwrites the default values of `min-height: 100px` and `min-width: 200px` */
  min-height: 1px;
  min-width: 1px;
}

/* If the height of the image is many times greater than the width, a white area would be displayed at the bottom and/or top. */
.dialog cropper-shade {
  outline-width: max(100vh, 100vw) !important;
}

.discussionList {
  display: flex;
  flex-direction: column;
}

.discussionList__item {
  display: flex;
  flex-direction: column;
  gap: 10px;
  position: relative;
}

.discussionList__item:not(:last-child) {
  border-bottom: 1px solid var(--wcfContentBorderInner);
}

@media screen and (max-width: 768px) {
  .discussionList__item:not(:last-child) {
    padding-bottom: 15px;
    margin-bottom: 15px;
  }
}
@media screen and (min-width: 769px), print {
  .discussionList__item:not(:last-child) {
    padding-bottom: 20px;
    margin-bottom: 20px;
  }
}
.discussionList__item__header {
  align-items: center;
  display: flex;
  gap: 10px;
  justify-content: space-between;
}

.discussionList__item__meta {
  align-items: center;
  display: flex;
  gap: 10px;
  color: var(--wcfContentDimmedText);
  font-weight: 400;
}
@media screen and (min-width: 769px), print {
  .discussionList__item__meta {
    font-size: var(--wcfFontSizeSmall);
  }
}
@media screen and (max-width: 768px) {
  .discussionList__item__meta {
    font-size: 12px;
  }
}

.discussionList__item__meta__content {
  display: flex;
}

@media screen and (max-width: 544px) {
  .discussionList__item__meta {
    gap: 5px;
  }
  .discussionList__item__meta__avatar img {
    height: 24px;
    width: 24px;
  }
  .discussionList__item__meta__content {
    align-items: center;
  }
  .discussionList__item__meta__time {
    display: flex;
  }
  .discussionList__item__meta__time::before {
    content: "•";
    margin: 0 3px;
  }
}
@media screen and (min-width: 545px), print {
  .discussionList__item__meta__content {
    flex-direction: column;
  }
}
.discussionList__item__toolbar {
  align-items: center;
  display: grid;
  column-gap: 10px;
  grid-template-areas: "status interactions";
  grid-template-columns: auto fit-content(200px);
  z-index: 1;
}

.discussionList__item__status {
  display: flex;
  gap: 5px;
  grid-area: status;
}

.discussionList__item__interactions {
  display: flex;
  grid-area: interactions;
  opacity: 1;
}

@media (hover: hover) {
  .discussionList__item:not(:hover) .discussionList__item__toolbar {
    grid-template-columns: min-content fit-content(0);
    column-gap: 0;
  }
  .discussionList__item__toolbar {
    transition: grid-template-columns 0.24s ease-in-out 0.12s, column-gap 0.24s ease-in-out 0.12s;
  }
  .discussionList__item:not(:hover) .discussionList__item__interactions {
    opacity: 0;
  }
  .discussionList__item__interactions {
    transition: opacity 0.24s ease-in-out 0.12s;
  }
}
.discussionList__item__interactions .button:not(:hover) {
  background-color: transparent;
  color: inherit;
}

.discussionList__item__interactions .dropdown {
  display: flex;
}

.discussionList__item__content {
  display: grid;
  grid-template-areas: "markAsRead title image" "teaser teaser image" "labels labels image";
  grid-template-columns: min-content 1fr min-content;
  grid-template-rows: min-content min-content 1fr;
}

.discussionList__item .listView__item__markAsRead {
  grid-area: markAsRead;
  margin-right: 5px;
  z-index: 1;
}

.discussionList__item__title {
  grid-area: title;
  font-weight: 400;
  line-height: 1.28;
  font-weight: 600;
}
@media screen and (min-width: 769px), print {
  .discussionList__item__title {
    font-size: var(--wcfFontSizeHeadline);
  }
}
@media screen and (max-width: 768px) {
  .discussionList__item__title {
    font-size: 18px;
  }
}

@media screen and (max-width: 544px) {
  .discussionList__item__title {
    font-size: 14px;
  }
}
.discussionList__item__labels {
  grid-area: labels;
  margin-top: 5px;
}

.discussionList__item__teaser {
  display: -webkit-box;
  grid-area: teaser;
  overflow: hidden;
  margin-top: 5px;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

@media screen and (max-width: 544px) {
  .discussionList__item__teaser {
    font-size: 12px;
  }
}
.discussionList__item__image {
  grid-area: image;
  width: 160px;
  overflow: hidden;
  border-radius: var(--wcfBorderRadius);
  margin-left: 10px;
}

@media screen and (max-width: 544px) {
  .discussionList__item__image {
    display: none;
  }
}
.discussionList__item__image img {
  height: 100px;
  object-fit: cover;
  object-position: center center;
  width: 100%;
}

.discussionList__item__link {
  color: inherit;
}
.discussionList__item__link::before {
  content: "";
  inset: 0;
  position: absolute;
}

@media (hover: hover) {
  .discussionList__item__link:hover {
    color: inherit;
    text-decoration: underline;
    text-underline-offset: 3px;
  }
}
.discussionList__item__footer {
  align-items: center;
  display: flex;
  gap: 10px;
  color: var(--wcfContentDimmedText);
  font-weight: 400;
}
@media screen and (min-width: 769px), print {
  .discussionList__item__footer {
    font-size: var(--wcfFontSizeSmall);
  }
}
@media screen and (max-width: 768px) {
  .discussionList__item__footer {
    font-size: 12px;
  }
}

.discussionList__item__lastPost {
  margin-inline-start: auto;
  display: flex;
  gap: 10px;
  position: relative;
}

.discussionList__item__lastPost__link {
  z-index: 1;
  color: inherit;
}
.discussionList__item__lastPost__link::before {
  content: "";
  inset: 0;
  position: absolute;
}

@media (hover: hover) {
  .discussionList__item__lastPost__link:hover {
    color: inherit;
    text-decoration: underline;
    text-underline-offset: 3px;
  }
}
.discussionList__item__replies,
.discussionList__item__lastPost__time,
.discussionList__item__lastPost__author {
  align-items: center;
  display: flex;
  gap: 3px;
}

@media screen and (max-width: 544px) {
  .discussionList__item__lastPost__author {
    display: none;
  }
}
.dropdownMenuContainer {
  pointer-events: none;
}

.dropdown .dropdownToggle:active, .dropdown.dropdownOpen .dropdownToggle {
  outline: 0;
}
.dropdown.inputAddon > .dropdownToggle {
  padding: 4px 7px;
}
.dropdown.preInput {
  display: table;
  width: 100%;
}
.dropdown.preInput input {
  border-radius: 0 3px 3px 0;
  display: table-cell;
  margin: 0;
  width: 99%;
}
.dropdown.preInput textarea {
  border-radius: 0 3px 3px;
  display: block;
  margin-top: 0;
}
.dropdown.dropdownOpen .dropdownMenu {
  display: block;
}
.dropdown .dropdownToggle {
  cursor: pointer;
}

.dropdownMenu {
  background-color: var(--wcfDropdownBackground);
  border-radius: 4px;
  box-shadow: var(--wcfBoxShadow);
  color: var(--wcfDropdownText);
  display: none;
  min-width: 160px;
  padding: 4px 0;
  pointer-events: all;
  position: fixed;
  text-align: left;
  visibility: hidden;
  z-index: 450;
}
.dropdownMenu.dropdownMenuPageSearch {
  border-top-left-radius: 0;
  border-top-right-radius: 0;
}
.dropdownMenu.dropdownOpen {
  display: block;
  visibility: visible;
}
.dropdownMenu li {
  display: block;
}
.dropdownMenu li:hover:not(.dropdownDivider):not(.dropdownList):not(.dropdownText), .dropdownMenu li:focus-within:focus-visible, .dropdownMenu li.dropdownList > li:hover:not(.dropdownDivider), .dropdownMenu li.dropdownNavigationItem, .dropdownMenu li.active {
  background-color: var(--wcfDropdownBackgroundActive);
  color: var(--wcfDropdownLinkActive);
}
.dropdownMenu li:hover:not(.dropdownDivider):not(.dropdownList):not(.dropdownText) > :is(a, button), .dropdownMenu li:focus-within:focus-visible > :is(a, button), .dropdownMenu li.dropdownList > li:hover:not(.dropdownDivider) > :is(a, button), .dropdownMenu li.dropdownNavigationItem > :is(a, button), .dropdownMenu li.active > :is(a, button) {
  color: var(--wcfDropdownLinkActive);
}
.dropdownMenu li.dropdownDivider {
  border-top: 1px solid var(--wcfDropdownBorderInner);
  margin: 4px 0;
}
.dropdownMenu li.dropdownText {
  padding: 6px 12px;
  font-weight: 400;
}
@media screen and (min-width: 769px), print {
  .dropdownMenu li.dropdownText {
    font-size: var(--wcfFontSizeSmall);
  }
}
@media screen and (max-width: 768px) {
  .dropdownMenu li.dropdownText {
    font-size: 12px;
  }
}
.dropdownMenu li.boxFlag {
  padding-top: 2px;
}
.dropdownMenu li.missingValue > span {
  padding-right: 40px;
  position: relative;
}
.dropdownMenu li.disabled {
  color: var(--wcfContentDimmedText);
}
.dropdownMenu li.disabled > span {
  cursor: not-allowed !important;
}
.dropdownMenu li > :is(a, button, span) {
  clear: both;
  cursor: pointer;
  display: block;
  max-width: 350px;
  overflow: hidden;
  padding: 6px 12px;
  text-decoration: none;
  text-overflow: ellipsis;
  user-select: none;
  white-space: nowrap;
  word-wrap: normal;
}
.dropdownMenu li > :is(a, button, span) > div > h3 {
  overflow: hidden;
  text-overflow: ellipsis;
}
.dropdownMenu li > button {
  width: 100%;
}
.dropdownMenu li > :is(a, button) {
  color: var(--wcfDropdownLink);
}
.dropdownMenu li > a > small {
  display: block;
}
.dropdownMenu li > :is(a, button) + span.badge {
  display: none;
}
.dropdownMenu li > .box16 {
  align-items: center;
  cursor: pointer;
  min-height: 0;
  padding: 5px 10px;
}
.dropdownMenu li > label {
  display: block;
}
.dropdownMenu li .containerHeadline {
  margin-bottom: 0;
}
.dropdownMenu li .containerHeadline > p {
  font-weight: 400;
}
@media screen and (min-width: 769px), print {
  .dropdownMenu li .containerHeadline > p {
    font-size: var(--wcfFontSizeSmall);
  }
}
@media screen and (max-width: 768px) {
  .dropdownMenu li .containerHeadline > p {
    font-size: 12px;
  }
}
.dropdownMenu .scrollableDropdownMenu {
  max-height: 300px;
  overflow: auto;
}
.dropdownMenu .scrollableDropdownMenu.forceScrollbar {
  overflow-y: scroll;
  overflow-x: hidden;
}
@media screen and (min-width: 769px), print {
  .dropdownMenu .dropdownMenu.pageHeaderSearchDropdown {
    transform: translateY(-10px);
  }
}
@media screen and (max-width: 1024px) {
  .dropdownMenu.dropdownMenuPageSearch {
    left: 0 !important;
    right: 0 !important;
  }
}

.iOS.iOS--virtualKeyboard .dropdownMenu.dropdownOpen {
  position: absolute !important;
}

@media screen and (max-width: 1024px) {
  /* iOS WebKit fails to calculate absolute positions when the documentElement is
     set to `overflow: hidden`, causing the site to implicitly scroll. Elements
     with absolute positioning are still relative to (0,0) and are thus (partially)
     moved out of the viewport. */
  .pageOverlayActive.iOS .dropdownMenu.dropdownOpen {
    position: fixed;
  }
}
.boxFlag > .box24,
.boxFlag.box24 {
  align-items: center;
  display: flex !important;
  min-height: 20px;
}
.boxFlag > .box24 > img:first-child,
.boxFlag.box24 > img:first-child {
  height: auto;
}
.boxFlag > .box24 > span,
.boxFlag.box24 > span {
  display: inline-flex !important;
}
.boxFlag > .box24.dropdownToggle,
.boxFlag.box24.dropdownToggle {
  display: inline-flex !important;
}

.userObjectWatchSelect .userObjectWatchSelectHeader {
  font-weight: 600;
  padding-bottom: 0;
}
.userObjectWatchSelect .userObjectWatchSelectDescription {
  font-weight: 400;
  color: var(--wcfContentDimmedText);
  padding-top: 0;
  white-space: normal;
}
@media screen and (min-width: 769px), print {
  .userObjectWatchSelect .userObjectWatchSelectDescription {
    font-size: var(--wcfFontSizeSmall);
  }
}
@media screen and (max-width: 768px) {
  .userObjectWatchSelect .userObjectWatchSelectDescription {
    font-size: 12px;
  }
}

.embeddedContent {
  background-color: var(--wcfContentBackground);
  box-shadow: var(--wcfBoxShadowCard);
  border: 1px solid var(--wcfContentBorderInner);
  border-radius: var(--wcfBorderRadius);
  margin: 10px 0;
  max-width: 400px;
  overflow: hidden;
}

/* @deprecated 5.4 Use `<img class="embeddedContentImageElement">` instead */
.embeddedContentImage {
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  margin: -10px -10px 10px -10px;
  min-height: 150px;
}

.embeddedContentImageElement {
  margin: -10px -10px 10px -10px;
  object-fit: cover;
  object-position: center;
}

/* This repetition is required because of `.messageBody > .messageText img`. */
.embeddedContentImageElement.embeddedContentImageElement.embeddedContentImageElement {
  height: 150px !important;
  max-width: calc(100% + 20px);
  width: calc(100% + 20px);
}

.embeddedContentLink {
  display: block;
  padding: 10px;
  position: relative;
}

.embeddedContentTitleLink {
  color: inherit;
}
.embeddedContentTitleLink::before {
  content: "";
  inset: 0;
  position: absolute;
  z-index: 1;
}
.embeddedContentTitleLink:hover {
  color: inherit;
}

@media (pointer: fine) {
  .embeddedContent:hover .embeddedContentTitleLink {
    text-decoration: underline;
  }
}
/* @deprecated 6.0 Use `.embeddedContentTitleLink` instead */
.embeddedContentLinkShadow {
  inset: 0;
  position: absolute;
}

.embeddedContentCategory {
  color: var(--wcfContentDimmedText);
  font-weight: 400;
}
@media screen and (min-width: 769px), print {
  .embeddedContentCategory {
    font-size: var(--wcfFontSizeSmall);
  }
}
@media screen and (max-width: 768px) {
  .embeddedContentCategory {
    font-size: 12px;
  }
}

.embeddedContent .embeddedContentTitle,
.messageBody > .messageText .embeddedContentTitle,
#messagePreview > .htmlContent .embeddedContentTitle,
.messageSignature#messagePreview > div .embeddedContentTitle,
#messagePreview > .ck.ck-content.ck-editor__editable .embeddedContentTitle {
  color: var(--wcfContentHeadlineText);
  display: -webkit-box;
  margin: 0;
  overflow: hidden;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  font-weight: 400;
  line-height: 1.28;
  font-weight: 600;
}
@media screen and (min-width: 769px), print {
  .embeddedContent .embeddedContentTitle,
  .messageBody > .messageText .embeddedContentTitle,
  #messagePreview > .htmlContent .embeddedContentTitle,
  .messageSignature#messagePreview > div .embeddedContentTitle,
  #messagePreview > .ck.ck-content.ck-editor__editable .embeddedContentTitle {
    font-size: var(--wcfFontSizeHeadline);
  }
}
@media screen and (max-width: 768px) {
  .embeddedContent .embeddedContentTitle,
  .messageBody > .messageText .embeddedContentTitle,
  #messagePreview > .htmlContent .embeddedContentTitle,
  .messageSignature#messagePreview > div .embeddedContentTitle,
  #messagePreview > .ck.ck-content.ck-editor__editable .embeddedContentTitle {
    font-size: 18px;
  }
}

.embeddedContentDetails {
  margin-top: 5px;
  font-weight: 400;
}
@media screen and (min-width: 769px), print {
  .embeddedContentDetails {
    font-size: var(--wcfFontSizeSmall);
  }
}
@media screen and (max-width: 768px) {
  .embeddedContentDetails {
    font-size: 12px;
  }
}

.embeddedContentDescription {
  color: var(--wcfContentDimmedText);
  margin-top: 10px;
  max-height: calc(5em * var(--wcfFontLineHeight));
  overflow: hidden;
  position: relative;
}
.embeddedContentDescription::after {
  background-image: linear-gradient(to top, var(--wcfContentBackground), rgba(var(--wcfContentBackground-rgb)/0));
  content: "";
  left: 0;
  height: calc(1em * var(--wcfFontLineHeight));
  position: absolute;
  right: 0;
  top: calc(4em * var(--wcfFontLineHeight));
}

.embeddedContentMeta {
  align-items: center;
  border-top: 1px solid var(--wcfContentBorderInner);
  color: var(--wcfContentDimmedText);
  display: flex;
  padding: 10px;
  font-weight: 400;
}
@media screen and (min-width: 769px), print {
  .embeddedContentMeta {
    font-size: var(--wcfFontSizeSmall);
  }
}
@media screen and (max-width: 768px) {
  .embeddedContentMeta {
    font-size: 12px;
  }
}

.embeddedContentMetaImage {
  flex: 0 auto;
  margin-right: 10px;
}

.embeddedContentMetaContent {
  flex: 1 auto;
}

.embeddedContentMetaAuthor {
  color: var(--wcfContentText);
}
.embeddedContentMetaAuthor > a {
  color: inherit;
}
.embeddedContentMetaAuthor > a:hover {
  text-decoration: underline;
}

.entry {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.entry__teaser {
  font-weight: 600;
}

.entry__coverPhoto img {
  height: auto;
  width: 100%;
  object-fit: cover;
  object-position: center center;
  max-height: 400px;
  border-radius: var(--wcfBorderRadius);
}

.entry__coverPhoto figcaption {
  color: var(--wcfContentDimmedText);
  flex: 1 0 100%;
  margin-top: 5px;
  text-align: center;
  font-weight: 400;
}
@media screen and (min-width: 769px), print {
  .entry__coverPhoto figcaption {
    font-size: var(--wcfFontSizeSmall);
  }
}
@media screen and (max-width: 768px) {
  .entry__coverPhoto figcaption {
    font-size: 12px;
  }
}

.entry__content:not(:last-child) {
  border-bottom: 1px solid var(--wcfContentBorderInner);
  padding-bottom: 20px;
}

.entry__content .anchorFixedHeader:target::before {
  content: "";
  display: block;
  height: 50px;
  margin-top: -50px;
}

.entry__attachments__title {
  margin-bottom: 10px;
  font-weight: 400;
  line-height: 1.28;
  font-weight: 600;
}
@media screen and (min-width: 769px), print {
  .entry__attachments__title {
    font-size: var(--wcfFontSizeHeadline);
  }
}
@media screen and (max-width: 768px) {
  .entry__attachments__title {
    font-size: 18px;
  }
}

.entry__footer {
  display: flex;
}

.entry__footerButtons {
  display: flex;
  gap: 1px;
  flex-wrap: wrap;
  margin-inline-start: auto;
}

.entry__footerButtons .button {
  padding: 6px 8px;
  font-weight: 400;
}
@media screen and (min-width: 769px), print {
  .entry__footerButtons .button {
    font-size: var(--wcfFontSizeSmall);
  }
}
@media screen and (max-width: 768px) {
  .entry__footerButtons .button {
    font-size: 12px;
  }
}

.entry__footerButtons .button:not(:first-child) {
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
}

.entry__footerButtons .button:not(:last-child) {
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
}

.entry__aboutAuthor {
  display: flex;
  gap: 20px;
}

.entry__aboutAuthor__avatar {
  flex: 0 0 auto;
}

.entry__aboutAuthor__content {
  display: flex;
  flex-direction: column;
  flex: 1 1 100%;
  gap: 10px;
}

.entry__aboutAuthor__text {
  font-style: italic;
}

.entry__aboutAuthor__username .username {
  font-weight: 400;
  line-height: 1.28;
}
@media screen and (min-width: 769px), print {
  .entry__aboutAuthor__username .username {
    font-size: var(--wcfFontSizeHeadline);
  }
}
@media screen and (max-width: 768px) {
  .entry__aboutAuthor__username .username {
    font-size: 18px;
  }
}
.entry__aboutAuthor__username .userTitleBadge {
  top: -2px;
}

@media screen and (max-width: 768px) {
  .entry__aboutAuthor {
    gap: 10px;
  }
  .entry__aboutAuthor__avatar img {
    width: 64px;
    height: 64px;
  }
}
.entry__navigation {
  column-gap: 20px;
  display: grid;
  grid-template-areas: "previous next";
  grid-template-columns: 1fr 1fr;
}
@media screen and (max-width: 1024px) {
  .entry__navigation {
    column-gap: 0;
    grid-template-areas: "previous" "next";
    grid-template-columns: 1fr;
    row-gap: 20px;
  }
}

.entry__navigation__item {
  color: var(--wcfContentText);
  display: grid;
  position: relative;
}
.entry__navigation__item.entry__navigation__item--previous {
  grid-area: previous;
  grid-template-areas: "icon content";
  grid-template-columns: 60px auto;
}
.entry__navigation__item.entry__navigation__item--next {
  grid-area: next;
  grid-template-areas: "content icon";
  grid-template-columns: auto 60px;
  text-align: right;
}
.entry__navigation__item.entry__navigation__item--withImage.entry__navigation__item--previous {
  grid-template-areas: "icon image content";
  grid-template-columns: 60px 96px auto;
}
.entry__navigation__item.entry__navigation__item--withImage.entry__navigation__item--next {
  grid-template-areas: "content image icon";
  grid-template-columns: auto 96px 60px;
  text-align: right;
}

.entry__navigation__item__icon {
  align-self: center;
  grid-area: icon;
}

body:not(.touch) .entry__navigation__item:hover .entry__navigation__item__icon {
  color: var(--wcfContentLinkActive);
}

.entry__navigation__item__image {
  grid-area: image;
}

.entry__navigation__item__image img {
  border-radius: 3px;
  height: 96px;
  width: 96px;
  object-fit: cover;
  object-position: center center;
}

.entry__navigation__item--previous.entry__navigation__item--withImage .entry__navigation__item__content {
  margin-left: 20px;
}

.entry__navigation__item--next.entry__navigation__item--withImage .entry__navigation__item__content {
  margin-right: 20px;
}

.entry__navigation__item__content {
  grid-area: content;
}

.entry__navigation__item__entityName {
  color: var(--wcfContentDimmedText);
  display: block;
}

.entry__navigation__item__title {
  display: block;
  margin-top: 5px;
  font-weight: 400;
  line-height: 1.28;
}
@media screen and (min-width: 769px), print {
  .entry__navigation__item__title {
    font-size: var(--wcfFontSizeHeadline);
  }
}
@media screen and (max-width: 768px) {
  .entry__navigation__item__title {
    font-size: 18px;
  }
}

.entry__navigation__item__link {
  color: var(--wcfContentText);
}
.entry__navigation__item__link::before {
  bottom: 0;
  content: "";
  left: 0;
  position: absolute;
  right: 0;
  top: 0;
}

.discussionProviderCtaContainer {
  align-items: center;
  display: flex;
  flex-direction: column;
  row-gap: 10px;
}

.entryCardList__container {
  container-type: inline-size;
}

.entryCardList {
  display: grid;
  gap: 20px;
  grid-auto-rows: minmax(170px, auto);
}

@container (min-width: 1000px) {
  .entryCardList {
    grid-template-columns: repeat(3, 1fr);
  }
}
@container (width < 1000px) and (min-width: 620px) {
  .entryCardList {
    grid-template-columns: repeat(2, 1fr);
  }
}
.entryCardList__item {
  --row-gap: 10px;
  background-color: var(--wcfContentBackground);
  border-radius: var(--wcfBorderRadius);
  box-shadow: var(--wcfBoxShadowCard);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  position: relative;
}

html[data-color-scheme=dark] .entryCardList__item {
  border: 1px solid var(--wcfContentBorderInner);
}

.entryCardList__item__buttons {
  background-color: var(--wcfContentBackground);
  box-shadow: var(--wcfBoxShadowImageButton);
  border-radius: var(--wcfBorderRadius);
  position: absolute;
  right: 5px;
  top: 5px;
  z-index: 1;
  align-items: center;
  display: flex;
  gap: 5px;
  padding: 5px;
  transition: opacity 0.24s ease-in-out 0.12s, transform 0.24s ease-in-out 0.12s;
}

@media (hover: hover) {
  .entryCardList__item:not(:hover) .entryCardList__item__buttons {
    transform: translateX(100%);
    opacity: 0;
  }
  #content:has(:focus-visible) .entryCardList__item__buttons {
    transform: none;
    opacity: 1;
  }
}
html[data-color-scheme=dark] .entryCardList__item__buttons {
  border: 1px solid var(--wcfContentBorderInner);
}

.entryCardList__item__image {
  border-top-left-radius: var(--wcfBorderRadius);
  border-top-right-radius: var(--wcfBorderRadius);
  overflow: hidden;
  position: relative;
}

.entryCardList__item__image__element {
  height: 150px;
  object-fit: cover;
  object-position: center;
  width: 100%;
}

html:not(.touch) .entryCardList__item__image__element {
  transition: transform 0.24s linear;
}

html:not(.touch) .entryCardList__item:hover .entryCardList__item__image__element {
  transform: scale(1.05);
}

.entryCardList__item__badges {
  align-items: flex-start;
  display: flex;
  flex-direction: column;
  gap: 3px;
  left: 10px;
  position: absolute;
  top: 10px;
  z-index: 1;
}

.entryCardList__item__content {
  display: flex;
  flex: 1 auto;
  flex-direction: column;
  padding: 0 10px;
  row-gap: 10px;
  margin-top: var(--row-gap);
}

.entryCardList__item__title__prefix {
  color: var(--wcfContentDimmedText);
  margin-bottom: calc(var(--row-gap) * -1);
  font-weight: 400;
}
@media screen and (min-width: 769px), print {
  .entryCardList__item__title__prefix {
    font-size: var(--wcfFontSizeSmall);
  }
}
@media screen and (max-width: 768px) {
  .entryCardList__item__title__prefix {
    font-size: 12px;
  }
}

.entryCardList__item__title {
  color: var(--wcfContentHeadlineLink);
  display: flex;
  font-weight: 400;
  line-height: 1.28;
  font-weight: 600;
}
@media screen and (min-width: 769px), print {
  .entryCardList__item__title {
    font-size: var(--wcfFontSizeHeadline);
  }
}
@media screen and (max-width: 768px) {
  .entryCardList__item__title {
    font-size: 18px;
  }
}

.entryCardList__item .listView__item__markAsRead {
  flex: 0 0 auto;
  margin-right: 5px;
  z-index: 1;
}

.entryCardList__item__link {
  color: inherit;
}
.entryCardList__item__link::before {
  content: "";
  inset: 0;
  position: absolute;
}
.entryCardList__item__link:hover {
  color: inherit;
}

.entryCardList__item__teaser {
  color: var(--wcfContentDimmedText);
}

.entryCardList__item__meta {
  align-items: center;
  border-top: 1px solid var(--wcfContentBorderInner);
  color: var(--wcfContentDimmedText);
  display: flex;
  flex: 0 auto;
  padding: 10px;
  white-space: nowrap;
  gap: 10px;
  margin-top: var(--row-gap);
}

.entryCardList__item__meta__image {
  flex: 0 auto;
}

.entryCardList__item__meta__content {
  flex: 1 auto;
  font-weight: 400;
}
@media screen and (min-width: 769px), print {
  .entryCardList__item__meta__content {
    font-size: var(--wcfFontSizeSmall);
  }
}
@media screen and (max-width: 768px) {
  .entryCardList__item__meta__content {
    font-size: 12px;
  }
}

.entryCardList__item__meta__author {
  color: var(--wcfContentText);
}
.entryCardList__item__meta__author a,
.entryCardList__item__meta__author a:hover {
  color: inherit;
}

.entryCardList__item__meta__icons {
  align-items: center;
  display: flex;
  flex: 0 auto;
  gap: 10px;
  font-weight: 400;
}
@media screen and (min-width: 769px), print {
  .entryCardList__item__meta__icons {
    font-size: var(--wcfFontSizeSmall);
  }
}
@media screen and (max-width: 768px) {
  .entryCardList__item__meta__icons {
    font-size: 12px;
  }
}

.entryCardList__item__meta__icon {
  flex: 0 auto;
}
.entryCardList__item__meta__icon .topReactionShort {
  align-items: center;
  display: flex;
}
.entryCardList__item__meta__icon .reactionType {
  margin-right: 3px;
}

.fileList {
  display: grid;
  gap: 10px;
  grid-auto-flow: row;
}
@media screen and (max-width: 768px) {
  .fileList {
    grid-template-columns: repeat(1, 1fr);
  }
}
@media screen and (min-width: 769px) and (max-width: 1024px) {
  .fileList {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media screen and (min-width: 1025px), print {
  .fileList {
    grid-template-columns: repeat(3, 1fr);
  }
}

.fileList:not(:empty) {
  margin-top: 20px;
}

.fileList__item {
  border: 1px solid var(--wcfContentBorderInner);
  border-radius: var(--wcfBorderRadius);
  box-shadow: var(--wcfBoxShadowCard);
  display: grid;
  grid-template-areas: "file filename  indicator" "file fileSize 	fileSize" "file buttons 	buttons" "file error 	error";
  grid-template-columns: 80px auto 0;
  padding: 10px;
}

.fileList__item--inserted {
  grid-template-columns: 80px auto 20px;
}

.fileList__item--error {
  border-color: var(--wcfStatusErrorBorder);
}

.fileList__item--error .fileList__item__file {
  color: var(--wcfStatusErrorText);
}

.fileList__item--ghost {
  opacity: 0.54;
}

.fileList__item .innerError {
  grid-area: error;
}

.fileList__item__errorMessage {
  grid-area: error;
}

.fileList__item__file {
  display: flex;
  grid-area: file;
  justify-content: center;
  margin-right: 10px;
}

.fileList__item__indicator {
  grid-area: indicator;
  margin-left: 5px;
  visibility: hidden;
}

.fileList__item--inserted .fileList__item__indicator {
  visibility: visible;
}

.fileList__item__filename {
  align-self: center;
  font-size: 12px;
  grid-area: filename;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.fileList__item__fileSize {
  color: var(--wcfContentDimmedText);
  font-size: 12px;
  grid-area: fileSize;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.fileList__item__buttons {
  column-gap: 5px;
  display: flex;
  grid-area: buttons;
  justify-content: end;
}

.fileList__item__progress {
  align-items: center;
  column-gap: 10px;
  display: flex;
  grid-area: buttons;
}

.fileList__item__progress__readout {
  font-weight: 400;
}
@media screen and (min-width: 769px), print {
  .fileList__item__progress__readout {
    font-size: var(--wcfFontSizeSmall);
  }
}
@media screen and (max-width: 768px) {
  .fileList__item__progress__readout {
    font-size: 12px;
  }
}

woltlab-core-file img {
  object-fit: contain;
}

.woltlabCoreFileUpload__button {
  position: relative;
}

.woltlabCoreFileUpload__input {
  cursor: pointer;
  height: 100%;
  left: 50%;
  opacity: 0;
  position: absolute;
  transform: translateX(-50%) translateY(-50%);
  top: 50%;
}

.woltlabCoreFileUpload__input::-webkit-file-upload-button {
  cursor: pointer;
}

@media (hover: hover) {
  .fileList__item__file:hover {
    cursor: move;
  }
}
.fontAwesome__icons {
  border: 1px solid var(--wcfContentBorderInner);
  display: grid;
  grid-auto-flow: row;
  grid-template-columns: repeat(3, 150px);
  max-height: 540px;
  overflow: auto;
}
@media only screen and (min-height: 700px) and (max-height: 800px) {
  .fontAwesome__icons {
    max-height: 450px;
  }
}

.fontAwesome__icon {
  align-items: center;
  display: flex;
  flex-direction: column;
  padding: 10px 0;
  width: 100%;
}

.fontAwesome__icon__name {
  color: var(--wcfContentDimmedText);
}

@media (hover: hover) {
  .fontAwesome__icon:hover {
    background-color: var(--wcfButtonBackgroundActive);
    color: var(--wcfButtonTextActive);
  }
  .fontAwesome__icon:hover .fontAwesome__icon__name {
    color: inherit;
  }
}
.googleMap {
  border-radius: var(--wcfBorderRadius);
  display: block;
  height: 400px;
}

.sidebarGoogleMap {
  display: block;
  height: 250px;
}

.googleMapsCustomControlContainer {
  cursor: pointer !important;
  margin-top: 5px;
}
.googleMapsCustomControlContainer .googleMapsCustomControl {
  text-align: center;
  position: relative;
  color: rgb(86, 86, 86);
  font-size: 11px !important;
  background-color: rgb(255, 255, 255);
  padding: 1px 6px;
  border-radius: 3px;
  background-clip: padding-box;
  border: 1px solid rgba(0, 0, 0, 0.14902);
  box-shadow: rgba(0, 0, 0, 0.298039) 0px 1px 4px -1px;
  min-width: 29px;
}
.googleMapsCustomControlContainer .googleMapsCustomControl:hover {
  background-color: rgb(235, 235, 235);
  color: rgb(0, 0, 0);
}
.googleMapsCustomControlContainer .googleMapsCustomControl.active {
  color: rgb(0, 0, 0);
  font-weight: 500;
}

.googleMapsUseLocationSuggestionLink {
  font-size: var(--wcfFontSizeSmall);
}

@media screen and (min-width: 1025px), print {
  .googleMapsDirectionsContainer {
    display: flex;
  }
  .googleMapsDirectionsContainer .googleMap,
  .googleMapsDirectionsContainer .googleMapsDirections {
    flex: 0 0 50%;
  }
}
.googleMapsDirectionsContainer .googleMapsDirections {
  height: 400px;
  padding-left: 10px;
  overflow-y: scroll;
}

.googleMapsDirectionsGoogleLinkContainer {
  display: block;
  margin-top: 5px;
  text-align: right;
}

.googleMapsInfoWindow {
  color: #333;
}
.googleMapsInfoWindow a,
.googleMapsInfoWindow a:hover {
  color: #369;
}

.gm-style-iw-ch {
  color: #333;
}

.googleMapsInput + .googleMap {
  margin-top: 10px;
}

.gridView__tableContainer {
  overflow: auto;
}

.gridView__table {
  border-bottom: 1px solid var(--wcfContentBorder);
  border-spacing: 0;
  width: 100%;
  overflow-wrap: break-word;
}

.gridView__column,
.gridView__headerColumn {
  max-width: 400px;
  padding: 10px;
  text-align: left;
  vertical-align: middle;
  overflow: hidden;
  position: relative;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.gridView__headerColumn {
  white-space: nowrap;
}

.gridView__headerColumn {
  font-weight: 600;
}

.gridView__headerColumn__button::before {
  position: absolute;
  inset: 0;
  content: "";
}

.gridView__headerColumn.ASC .gridView__headerColumn__button::after,
.gridView__headerColumn.DESC .gridView__headerColumn__button::after {
  display: inline-block;
  margin-left: 5px;
}

.gridView__headerColumn.ASC .gridView__headerColumn__button::after {
  content: "↑";
}

.gridView__headerColumn.DESC .gridView__headerColumn__button::after {
  content: "↓";
}

.gridView__row:not(:last-child) .gridView__column {
  box-shadow: inset 0 -1px 0 0 var(--wcfContentBorderInner);
}

.gridView__row:hover .gridView__column {
  background-color: var(--wcfTabularBoxBackgroundActive);
}

.gridView__rowLink,
.gridView__rowLink:hover {
  color: inherit;
}

.gridView__rowLink::before {
  position: absolute;
  inset: 0;
  content: "";
}

.gridView__column {
  background-color: var(--wcfContentContainerBackground);
}
.gridView__column.gridView__column--title {
  font-weight: 600;
}
.gridView__column.gridView__column--digits, .gridView__column.gridView__column--id {
  font-variant: tabular-nums;
  text-align: right;
  width: 1px;
  white-space: nowrap;
  word-wrap: normal;
}
.gridView__column.gridView__column--icon {
  width: 32px;
  white-space: nowrap;
  word-wrap: normal;
}
.gridView__column.gridView__column--date {
  text-align: right;
  width: 1px;
  white-space: nowrap;
  word-wrap: normal;
}
.gridView__column.gridView__column-smallText {
  font-weight: 400;
}
@media screen and (min-width: 769px), print {
  .gridView__column.gridView__column-smallText {
    font-size: var(--wcfFontSizeSmall);
  }
}
@media screen and (max-width: 768px) {
  .gridView__column.gridView__column-smallText {
    font-size: 12px;
  }
}
.gridView__column.gridView__column--image {
  text-align: center;
  white-space: nowrap;
  width: 1px;
  word-wrap: normal;
}

.gridView__headerColumn {
  background-color: var(--wcfContentContainerBackground);
  box-shadow: inset 0 -1px 0 0 var(--wcfContentBorder);
}
.gridView__headerColumn.gridView__column--digits, .gridView__headerColumn.gridView__column--id, .gridView__headerColumn.gridView__column--date {
  text-align: right;
}

.gridView__actionColumn {
  text-align: right;
  width: 1px;
  white-space: nowrap;
  word-wrap: normal;
  position: sticky;
  right: 0;
  animation: auto linear 0s 1 normal none running gridView__actionColumn__dropShadow;
  animation-timeline: scroll(inline);
}

/* Hack to fix a weird position error in iOS Safari
   See https://www.woltlab.com/community/thread/314181/ */
html.iOS .gridView__headerColumn {
  box-shadow: inset 0 -2px 0 0 var(--wcfContentBorder);
}
html.iOS .gridView__actionColumn {
  top: 1px;
}

/* Hack to fix a weird position error in Desktop (!) Safari
   See https://www.woltlab.com/community/thread/316776/ */
@supports (not (-webkit-text-size-adjust: none)) and (font: -apple-system-body) {
  .gridView__headerColumn {
    box-shadow: inset 0 -2px 0 0 var(--wcfContentBorder);
  }
  .gridView__actionColumn,
  .gridView__selectColumn {
    top: 1px;
  }
}
@property --drop-shadow-opacity {
  syntax: "<percentage>";
  inherits: true;
  initial-value: 0%;
}
.gridView__actionColumn::before {
  background-image: linear-gradient(to right, rgba(0, 0, 0, 0), rgb(0 0 0/var(--drop-shadow-opacity)));
  bottom: 0;
  content: "";
  left: -10px;
  position: absolute;
  top: 0;
  width: 10px;
}

.gridView__selectColumn {
  position: sticky;
  left: 0;
  width: 1px;
  z-index: 1;
}

.gridView__selectColumn::after {
  content: "";
  display: block;
  inset: 0;
  position: absolute;
  animation: auto linear 0s 1 normal none running gridView__selectColumn__dropShadow;
  animation-timeline: scroll(inline);
  z-index: -1;
}

.gridView__filterBar {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  border-bottom: 1px solid var(--wcfContentBorder);
  padding-bottom: 10px;
  gap: 5px;
}

.gridView__filters {
  display: flex;
  gap: 5px;
  flex-wrap: wrap;
}

.gridView__filterButton {
  flex: 0 0 auto;
}

.gridView__footer {
  bottom: -10px;
  display: flex;
  justify-content: center;
  gap: 10px;
  min-height: 54px;
  padding: 20px 0;
  position: sticky;
  z-index: 2;
}

@media screen and (max-width: 768px) {
  .gridView__footer {
    margin-bottom: -10px;
  }
}
@media screen and (min-width: 769px), print {
  .gridView__footer {
    margin-bottom: -20px;
  }
}
.gridView__footer__container {
  backdrop-filter: blur(24px);
  background-color: rgb(var(--wcfContentContainerBackground-rgb)/78%);
  border: 1px solid transparent;
  border-radius: var(--wcfBorderRadiusContainer);
  box-shadow: var(--wcfBoxShadow);
  display: flex;
  gap: 21px;
  padding: 10px;
}

.gridView__selectionBar:not([hidden]) + .gridView__pagination:not(:has(woltlab-core-pagination[count="1"]))::before {
  border-left: 1px solid var(--wcfContentContainerBorder);
  content: "";
  inset: 0 auto;
  position: absolute;
  transform: translateX(-10px);
}

@media screen and (max-width: 544px) {
  .gridView__footer__container {
    align-items: center;
    flex-direction: column;
  }
  .gridView__selectionBar:not([hidden]) + .gridView__pagination:not(:has(woltlab-core-pagination[count="1"]))::before {
    border-left-width: 0;
    border-top: 1px solid var(--wcfContentContainerBorder);
    inset: auto 0;
    transform: translateY(-10px);
  }
}
html[data-color-scheme=dark] .gridView__footer__container {
  border-color: var(--wcfContentContainerBorder);
}

.gridView__actionColumn__buttons {
  align-items: center;
  display: flex;
  gap: 10px;
  justify-content: end;
}

.gridView__selectAllRows,
.gridView__selectRow {
  cursor: pointer;
  height: 18px;
  width: 18px;
}

.gridView__row:has(.gridView__selectRow:checked) .gridView__column {
  background-color: var(--wcfTabularBoxBackgroundActive);
}

@keyframes gridView__actionColumn__dropShadow {
  0% {
    --drop-shadow-opacity: 8%;
  }
  75% {
    --drop-shadow-opacity: 8%;
  }
  99% {
    --drop-shadow-opacity: 0%;
  }
}
@keyframes gridView__selectColumn__dropShadow {
  0% {
    box-shadow: none;
  }
  5% {
    box-shadow: rgba(0, 0, 0, 0.08) 0px 10px 16px 2px;
  }
  100% {
    box-shadow: rgba(0, 0, 0, 0.08) 0px 10px 16px 2px;
  }
}
.gridView__filter__list {
  display: grid;
  gap: 20px;
  grid-auto-flow: row;
  grid-template-columns: 1fr 1fr;
}

.gridView__filter__item {
  margin: 0 !important;
}

@media screen and (max-width: 544px) {
  .gridView__filter__list {
    grid-template-columns: 1fr;
  }
}
/* ImageViewer for WCF */
.wcfImageViewer {
  --wcfImageViewerBorderColor: rgba(51, 51, 51, 1);
  --wcfImageViewerBorderColor-rgb: 51 51 51;
  --wcfImageViewerFontColor: rgba(211, 211, 211, 1);
  background-color: rgb(0, 0, 0);
  bottom: 0;
  display: none;
  left: 0;
  opacity: 0;
  position: fixed;
  right: 0;
  top: 0;
  z-index: 399;
}
.wcfImageViewer fa-icon {
  color: rgb(158, 158, 158);
}
.wcfImageViewer.open {
  display: block;
  opacity: 1;
}
.wcfImageViewer.maximized:not(.wcfImageViewerMobile) > header {
  top: -100px;
}
.wcfImageViewer.maximized:not(.wcfImageViewerMobile) > div {
  bottom: 0;
  border-color: rgba(var(--wcfImageViewerBorderColor-rgb)/0);
  top: 0;
}
.wcfImageViewer.maximized:not(.wcfImageViewerMobile) > footer {
  bottom: -100px;
}
.wcfImageViewer.wcfImageViewerMobile > header,
.wcfImageViewer.wcfImageViewerMobile > footer {
  background-color: rgb(0, 0, 0);
  opacity: 1;
  position: absolute;
  visibility: visible;
  z-index: 402;
}
.wcfImageViewer.wcfImageViewerMobile.maximized > header,
.wcfImageViewer.wcfImageViewerMobile.maximized > footer {
  opacity: 0;
  visibility: hidden;
  transition: visibility 0s linear 0.24s, opacity 0.24s linear;
}
.wcfImageViewer.wcfImageViewerMobile.maximized > div > ul > li.pointer {
  opacity: 0;
}
.wcfImageViewer.wcfImageViewerMobile > div {
  bottom: 0;
  top: 0;
}
.wcfImageViewer.wcfImageViewerMobile > div > ul > li {
  background-color: rgb(224, 224, 224);
  border-radius: 30px;
  display: block;
  margin-top: -24px;
  opacity: 0;
  position: absolute;
  top: 50%;
  transition: opacity 0.24s;
}
.wcfImageViewer.wcfImageViewerMobile > div > ul > li.pointer {
  opacity: 1;
}
.wcfImageViewer.wcfImageViewerMobile > div > ul > li.wcfImageViewerSlideshowButtonFull, .wcfImageViewer.wcfImageViewerMobile > div > ul > li.wcfImageViewerSlideshowButtonNext, .wcfImageViewer.wcfImageViewerMobile > div > ul > li.wcfImageViewerSlideshowButtonPrevious {
  /* places buttons above images at all times */
  z-index: 30;
}
.wcfImageViewer.wcfImageViewerMobile > div > ul > li.wcfImageViewerSlideshowButtonPrevious {
  left: 10px;
}
.wcfImageViewer.wcfImageViewerMobile > div > ul > li.wcfImageViewerSlideshowButtonPrevious > span {
  left: -3px;
  position: relative;
  top: 2px;
}
.wcfImageViewer.wcfImageViewerMobile > div > ul > li.wcfImageViewerSlideshowButtonNext {
  right: 10px;
}
.wcfImageViewer.wcfImageViewerMobile > div > ul > li.wcfImageViewerSlideshowButtonNext > span {
  position: relative;
  right: -1px;
  top: 2px;
}
.wcfImageViewer.wcfImageViewerMobile > div > ul > li.wcfImageViewerSlideshowButtonFull {
  bottom: 80px;
  left: 50%;
  top: auto;
  transform: translateX(-50%);
}
.wcfImageViewer.wcfImageViewerMobile > div > ul > li.wcfImageViewerSlideshowButtonFull > span {
  font-size: 32px;
  left: 2px;
  position: relative;
  top: 3px;
}
.wcfImageViewer.wcfImageViewerMobile > div > ul > li.wcfImageViewerSlideshowButtonToggle, .wcfImageViewer.wcfImageViewerMobile > div > ul > li.wcfImageViewerSlideshowButtonEnlarge {
  display: none;
}
.wcfImageViewer.wcfImageViewerMobile > footer > .wcfImageViewerButtonPrevious,
.wcfImageViewer.wcfImageViewerMobile > footer > .wcfImageViewerButtonNext {
  display: none;
}
.wcfImageViewer.wcfImageViewerMobile > footer > div {
  margin: 0;
}
.wcfImageViewer > header,
.wcfImageViewer > div,
.wcfImageViewer > footer {
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  left: 0;
  position: fixed;
  right: 0;
  z-index: 400;
}
.wcfImageViewer > header {
  height: 100px;
  overflow: hidden;
  padding: 1rem;
  top: 0;
}
.wcfImageViewer > header > div > a > img {
  height: 64px;
  width: 64px;
}
.wcfImageViewer > header h1,
.wcfImageViewer > header h2,
.wcfImageViewer > header h3 {
  color: var(--wcfImageViewerFontColor);
}
.wcfImageViewer > header h1 > a,
.wcfImageViewer > header h2 > a,
.wcfImageViewer > header h3 > a {
  color: var(--wcfImageViewerFontColor);
}
.wcfImageViewer > header h1 {
  font-size: 1.75rem;
  max-width: calc(100% - 70px);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.wcfImageViewer > header h2 {
  font-size: 1.25rem;
}
.wcfImageViewer > header h3 {
  color: var(--wcfImageViewerFontColor);
  font-size: 0.85rem;
  margin-top: 0.25rem;
}
.wcfImageViewer > header > .wcfImageViewerButtonClose {
  position: absolute;
  right: 26px;
  top: 26px;
}
.wcfImageViewer > div {
  background-color: rgb(0, 0, 0);
  border-bottom: 1px solid var(--wcfImageViewerBorderColor);
  border-top: 1px solid var(--wcfImageViewerBorderColor);
  bottom: 100px;
  top: 100px;
  transition-property: top, bottom, border-color;
  transition-timing-function: linear;
  transition-duration: 0.24s;
  z-index: 401;
}
.wcfImageViewer > div.loading:before {
  /*
  TODO: Migrate this or replace the image viewer.
  @extend .icon48;
  @extend .fa-spinner;
  */
  content: "" !important;
  display: block;
  left: calc(50% - 34px);
  position: absolute;
  top: calc(50% - 34px);
}
.wcfImageViewer > div > img {
  opacity: 0;
  position: absolute;
  top: 50%;
  transition: opacity 0.24s linear;
  z-index: 10;
}
.wcfImageViewer > div > img.animateTransformation {
  transition: left 0.24s, margin-top 0.24s, height 0.24s, width 0.24s, opacity 0.24s;
}
.wcfImageViewer > div > img.active {
  opacity: 1;
  z-index: 20;
}
.wcfImageViewer:not(.wcfImageViewerMobile) .pointer:hover fa-icon,
.wcfImageViewer:not(.wcfImageViewerMobile) .wcfImageViewerButtonClose:hover fa-icon {
  color: rgb(255, 255, 255);
}
.wcfImageViewer:not(.wcfImageViewerMobile) > header {
  transition: top 0.24s linear;
}
.wcfImageViewer:not(.wcfImageViewerMobile) > footer {
  transition: bottom 0.24s linear;
}
.wcfImageViewer:not(.wcfImageViewerMobile) > div {
  cursor: pointer;
}
.wcfImageViewer:not(.wcfImageViewerMobile) > div > img,
.wcfImageViewer:not(.wcfImageViewerMobile) > div > ul {
  cursor: default;
}
.wcfImageViewer:not(.wcfImageViewerMobile) > div > ul {
  background-color: rgba(0, 0, 0, 0.9);
  border: 1px solid var(--wcfImageViewerBorderColor);
  border-bottom-width: 0;
  border-radius: 2px 2px 0 0;
  display: flex;
  bottom: 0;
  left: 50%;
  position: absolute;
  transform: translateX(-50%);
  z-index: 30;
}
.wcfImageViewer:not(.wcfImageViewerMobile) > div > ul > li {
  display: flex;
  flex: 0 0 auto;
  padding: 5px;
}
.wcfImageViewer:not(.wcfImageViewerMobile) > div > ul > li:not(.pointer) fa-icon {
  color: rgb(66, 66, 66) !important;
}
.wcfImageViewer:not(.wcfImageViewerMobile) > div > ul > li.wcfImageViewerSlideshowButtonEnlarge, .wcfImageViewer:not(.wcfImageViewerMobile) > div > ul > li.wcfImageViewerSlideshowButtonFull {
  border-left: 1px solid var(--wcfImageViewerBorderColor);
  box-sizing: border-box;
}
.wcfImageViewer > footer {
  bottom: 0;
  height: 100px;
  padding: 10px;
}
.wcfImageViewer > footer:hover > div > ul > li > img {
  -webkit-filter: none;
  filter: none;
}
.wcfImageViewer > footer > span {
  bottom: 0;
  font-size: 48px;
  padding-top: 26px;
  opacity: 0;
  position: absolute;
  top: 0;
  transition: opacity 0.24s;
  width: 30px;
  z-index: 2;
}
.wcfImageViewer > footer > span.pointer {
  opacity: 0.6;
}
.wcfImageViewer > footer > span.pointer:hover {
  opacity: 1;
}
.wcfImageViewer > footer > span.wcfImageViewerButtonPrevious {
  left: 5px;
}
.wcfImageViewer > footer > span.wcfImageViewerButtonNext {
  right: 5px;
}
.wcfImageViewer > footer > div {
  height: 80px;
  margin: 0 35px;
  overflow: hidden;
  white-space: nowrap;
}
.wcfImageViewer > footer > div > ul {
  display: flex;
  font-size: 0;
  height: 80px;
  z-index: 1;
  transition: margin-left cubic-bezier(0.5, 1.595, 0.56, 0.98) 0.24s;
}
.wcfImageViewer > footer > div > ul > li {
  align-items: center;
  display: flex;
  flex: 0 0 80px;
  opacity: 0.6;
  position: relative;
  transition: opacity 0.24s;
}
.wcfImageViewer > footer > div > ul > li.active, .wcfImageViewer > footer > div > ul > li:hover {
  opacity: 1;
}
.wcfImageViewer > footer > div > ul > li:not(:last-child) {
  margin-right: 10px;
}
.wcfImageViewer > footer > div > ul > li.active > img {
  -webkit-filter: none;
  filter: none;
}
.wcfImageViewer > footer > div > ul > li.loading:before {
  /*
  TODO: Migrate this or replace the image viewer.
  @extend .icon48;
  @extend .fa-spinner;
  */
}
.wcfImageViewer > footer > div > ul > li.loading > img {
  opacity: 0;
}
.wcfImageViewer > footer > div > ul > li > img {
  max-height: 80px;
  max-width: 80px;
  object-fit: contain;
}

@media only screen and (max-width: 800px) {
  .wcfImageViewer > header {
    height: 80px;
  }
  .wcfImageViewer > header > .wcfImageViewerButtonClose {
    right: 16px;
    top: 16px;
  }
  .wcfImageViewer > footer {
    height: 80px;
  }
  .wcfImageViewer > footer > div {
    height: 60px;
  }
  .wcfImageViewer > footer > div > ul {
    height: 60px;
  }
  .wcfImageViewer > footer > div > ul > li {
    height: 60px;
  }
}
.inputItemList {
  background-color: var(--wcfInputBackground);
  border: 1px solid var(--wcfInputBorder);
  border-radius: var(--wcfBorderRadius);
  color: var(--wcfInputText);
  font-weight: 400;
  outline: none;
  padding: 4px 8px;
  font-family: var(--wcfFontFamily);
  line-height: var(--wcfFontLineHeight);
  display: flex;
  flex-wrap: wrap;
  padding-bottom: 0;
  padding-top: 5px;
}
@media screen and (min-width: 769px), print {
  .inputItemList {
    font-size: var(--wcfFontSizeDefault);
  }
}
@media screen and (max-width: 768px) {
  .inputItemList {
    font-size: 14px;
  }
}
.inputItemList:focus, .inputItemList:hover {
  background-color: var(--wcfInputBackgroundActive);
  border-color: var(--wcfInputBorderActive);
  color: var(--wcfInputTextActive);
}
.inputItemList[disabled], .inputItemList.disabled {
  background-color: var(--wcfInputDisabledBackground) !important;
  border-color: var(--wcfInputDisabledBorder) !important;
  color: var(--wcfInputDisabledText) !important;
}
.inputItemList[readonly] {
  color: var(--wcfInputDisabledText) !important;
}
.inputItemList[data-accepts-new-items=true] {
  cursor: text;
}
.inputItemList:focus-within:focus-visible {
  border-color: var(--wcfInputBorderActive);
}
.inputItemList > .item,
.inputItemList > .input {
  flex: 0 0 auto;
  margin-bottom: 5px;
}
.inputItemList > .item:not(:last-child),
.inputItemList > .input:not(:last-child) {
  margin-right: 5px;
}
.inputItemList > .item {
  background-color: var(--wcfButtonBackground);
  border-radius: 2px;
  color: var(--wcfButtonText);
  cursor: default;
  max-width: 100%;
  padding: 1px 5px;
}
.inputItemList > .item.active {
  background-color: var(--wcfButtonBackgroundActive);
  color: var(--wcfButtonTextActive);
}
.inputItemList:not(.disabled) > item:hover {
  background-color: var(--wcfButtonBackgroundActive);
  color: var(--wcfButtonTextActive);
}
.inputItemList > .input > input {
  background-color: transparent !important;
  border-width: 0 !important;
  min-width: 165px;
  padding: 0 !important;
}

.inputItemListLimitReached {
  color: var(--wcfContentDimmedText);
  vertical-align: middle;
  /* The input field does not have a distinct appearance, making the text unselectable
     will prevent the browser from displaying a potentially misleading caret cursor. */
  -webkit-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

/* =================================================================== */
/* =============== KRT - Banner-Generator (MDCommander) ============== */
/* =================================================================== */
/* Vorschau und gespeichertes Banner im Format der Vorlagen (1000 × 110) */
.krtBannerGenerator__imageWrapper {
  max-width: 1000px;
  line-height: 0;
}
.krtBannerGenerator__imageWrapper--preview {
  aspect-ratio: 1000/110;
  background-color: var(--wcfContentBackground);
  border: 1px solid var(--wcfContentBorderInner);
  transition: opacity 0.15s ease-in-out;
}

.krtBannerGenerator--loading .krtBannerGenerator__imageWrapper--preview {
  opacity: 0.6;
}

.krtBannerGenerator__image {
  display: block;
  width: 100%;
  height: auto;
}

.krtBannerGenerator__result .krtBannerGenerator__imageWrapper {
  margin-bottom: 20px;
}

/* Vorschaubild und Zähler bleiben beim Scrollen durch die Auswahl sichtbar (unter der festen Kopfleiste, 50px wie im
   WoltLab-Stil). Hintergrund wie die Inhaltsfläche, damit die Kacheln darunter verdeckt werden. */
.krtBannerGenerator__previewSticky {
  margin-bottom: 30px;
}

@media screen and (min-width: 769px), print {
  .krtBannerGenerator__previewSticky {
    background-color: var(--wcfContentContainerBackground);
    padding: 10px 0;
    position: sticky;
    top: 50px;
    z-index: 1;
  }
}
.krtBannerGenerator__iconCounter {
  color: var(--wcfContentDimmedText);
  font-size: var(--wcfFontSizeSmall);
  margin-top: 5px;
}

.krtBannerGenerator__choiceList {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(auto-fill, minmax(min(150px, 100%), 1fr));
}
.krtBannerGenerator__choiceList--backgrounds {
  grid-template-columns: repeat(auto-fill, minmax(min(300px, 100%), 1fr));
}

.krtBannerGenerator__choice {
  align-items: center;
  border: 1px solid var(--wcfContentBorderInner);
  border-radius: var(--wcfBorderRadius);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 6px;
  height: 100%;
  padding: 10px;
  text-align: center;
}
.krtBannerGenerator__choice input {
  align-self: flex-start;
}
.krtBannerGenerator__choice:hover {
  border-color: var(--wcfButtonPrimaryBackground);
}
.krtBannerGenerator__choice:has(input:focus-visible) {
  outline: 2px solid var(--wcfButtonPrimaryBackground);
  outline-offset: 2px;
}
.krtBannerGenerator__choice:has(input:checked) {
  border-color: var(--wcfButtonPrimaryBackground);
  box-shadow: 0 0 0 1px var(--wcfButtonPrimaryBackground);
}
.krtBannerGenerator__choice--disabled, .krtBannerGenerator__choice--limit {
  cursor: not-allowed;
  opacity: 0.5;
}
.krtBannerGenerator__choice--disabled:hover, .krtBannerGenerator__choice--limit:hover {
  border-color: var(--wcfContentBorderInner);
}

.krtBannerGenerator__choiceImage {
  align-items: center;
  display: flex;
  height: 72px;
  justify-content: center;
  width: 100%;
  /* seit 6.2.6: ganze Vorlage im Seitenverhältnis 1000 × 110 statt eines beschnittenen Ausschnitts */
}
.krtBannerGenerator__choiceImage img {
  max-height: 72px;
  max-width: 100%;
  object-fit: contain;
}
.krtBannerGenerator__choiceImage--background {
  height: auto;
}
.krtBannerGenerator__choiceImage--background img {
  aspect-ratio: 1000/110;
  height: auto;
  max-height: none;
  object-fit: cover;
  width: 100%;
}

.krtBannerGenerator__choiceTitle {
  font-weight: 600;
}

.krtBannerGenerator__choiceSubtitle,
.krtBannerGenerator__choiceHint {
  color: var(--wcfContentDimmedText);
  font-size: var(--wcfFontSizeSmall);
}

/* ACP: Übersicht der Vorlagen (seit 6.2.6) */
.krtBannerGeneratorTemplateList__preview {
  aspect-ratio: 1000/110;
  display: block;
  height: auto;
  max-width: 100%;
  width: 360px;
}

.krtBannerGeneratorTemplateList__empty {
  color: var(--wcfContentDimmedText);
}

/*
 * Discord-Sync, Forum-Chat: Gestaltung der Seite „Chat“ und des Chat-Fensters oben in einem Forum (seit 6.2.40). Die
 * Datei liegt in style/ui; WoltLab übersetzt sie zusammen mit dem Stil. Nur Klassen mit dem Präfix "krtSyncChat",
 * damit nichts anderes im Forum beeinflusst wird. Farben kommen aus den Stilvariablen von WoltLab, damit alles zu
 * jedem Stil passt, hell wie dunkel; Ausnahmen sind nur die Farben, die Discord selbst mitliefert (Namensfarbe der
 * Rolle, Farbbalken einer Einbettung), sie setzt das Modul DasKartell/DiscordSyncChat am Element.
 *
 * Formen nach dem Design 3.0 des Forums: Karten mit 10 px Rundung und feinem Rand, Zeilen mit 6 px Rundung, kleine
 * orange Überschriften in Versalien („Eyebrow“) wie über den Kategorien der Forenübersicht.
 *
 * @author      RagnarSeven
 * @copyright   2026 Das Kartell
 * @license     Proprietary
 */
/* Gemeinsame Werte. */
.krtSyncChat {
  --krtChatRadius: 10px;
  --krtChatRowRadius: 6px;
  --krtChatHover: color-mix(in srgb, var(--wcfContentText) 6%, transparent);
  --krtChatSoft: color-mix(in srgb, var(--wcfContentText) 9%, transparent);
  --krtChatAccent: var(--wcfButtonPrimaryBackground);
  --krtChatLogHeight: clamp(360px, calc(100vh - 360px), 900px);
  /* Seite: alle drei Spalten gleich hoch, jede scrollt für sich (wie in Discord). */
  --krtChatPageHeight: clamp(520px, calc(100vh - 120px), 1100px);
}
.krtSyncChat[hidden] {
  display: none !important;
}

.krtSyncChat--page {
  margin-top: 20px;
}

.krtSyncChat--window {
  --krtChatLogHeight: 380px;
  margin-bottom: 20px;
}

/* Aufbau: Seite in drei Spalten wie in Discord (Kanäle, Chat, Mitglieder; seit 6.2.41), Fenster nur der Chat. Auf
   kleineren Bildschirmen entfällt die Mitgliederliste, am Handy stehen die Kanäle über dem Chat. */
.krtSyncChatShell {
  display: grid;
  gap: 20px;
  grid-template-columns: minmax(200px, 270px) minmax(0, 1fr);
}
@media screen and (max-width: 1024px) {
  .krtSyncChatShell {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media screen and (min-width: 1025px), print {
  .krtSyncChat--members .krtSyncChatShell {
    grid-template-columns: minmax(200px, 250px) minmax(0, 1fr) minmax(240px, 280px);
  }
}

.krtSyncChat--window .krtSyncChatShell {
  grid-template-columns: minmax(0, 1fr);
}

.krtSyncChatSidebar,
.krtSyncChatMain,
.krtSyncChatMembers {
  background-color: var(--wcfContentContainerBackground);
  border: 1px solid var(--wcfContentContainerBorder);
  border-radius: var(--krtChatRadius);
  min-width: 0;
}

.krtSyncChatSidebar {
  align-self: start;
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-height: var(--krtChatPageHeight);
  overflow-y: auto;
  padding: 12px 8px;
}

/* Seite: der Chat füllt die feste Höhe, nur die Nachrichten scrollen. */
.krtSyncChat--page .krtSyncChatMain {
  height: var(--krtChatPageHeight);
}
.krtSyncChat--page .krtSyncChatLogWrap {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  min-height: 0;
}
.krtSyncChat--page .krtSyncChatLog {
  flex: 1 1 auto;
  height: auto;
  min-height: 0;
}

/* Kleine orange Überschrift in Versalien. */
.krtSyncChatEyebrow {
  color: var(--krtChatAccent);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  margin: 0;
  text-transform: uppercase;
}
.krtSyncChatEyebrow:empty {
  display: none;
}

.krtSyncChatSidebar > .krtSyncChatEyebrow {
  margin: 0 6px 6px;
}

.krtSyncChatChannels,
.krtSyncChatThreads,
.krtSyncChatMemberList,
.krtSyncChatRoles,
.krtSyncChatMentions {
  display: flex;
  flex-direction: column;
  gap: 2px;
  list-style: none;
  margin: 0;
  padding: 0;
}

/* Schmale Fenster: die Kanäle stehen als Reihe über den Nachrichten und lassen sich seitlich schieben. */
@media screen and (max-width: 1024px) {
  .krtSyncChatChannels {
    flex-direction: row;
    overflow-x: auto;
    padding-bottom: 4px;
  }
  .krtSyncChatChannels > li {
    flex: 0 0 auto;
    max-width: 240px;
  }
  .krtSyncChatCategory,
  .krtSyncChatThreads {
    display: none;
  }
}
.krtSyncChatCategory {
  color: var(--wcfContentDimmedText);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.02em;
  margin: 14px 8px 4px;
  text-transform: uppercase;
}
.krtSyncChatCategory:first-child {
  margin-top: 2px;
}

.krtSyncChatChannel,
.krtSyncChatThread {
  background: none;
  border: 0;
  border-radius: var(--krtChatRowRadius);
  color: var(--wcfContentText);
  cursor: pointer;
  align-items: center;
  display: grid;
  gap: 0 6px;
  grid-template-columns: auto minmax(0, 1fr) auto;
  min-height: 32px;
  padding: 4px 8px;
  text-align: start;
  transition: background-color 0.12s ease-out;
  width: 100%;
}
.krtSyncChatChannel:hover, .krtSyncChatChannel:focus-visible,
.krtSyncChatThread:hover,
.krtSyncChatThread:focus-visible {
  background-color: var(--krtChatHover);
}
.krtSyncChatChannel.active,
.krtSyncChatThread.active {
  background-color: var(--krtChatSoft);
}
.krtSyncChatChannel.active .krtSyncChatChannelName,
.krtSyncChatThread.active .krtSyncChatChannelName {
  color: var(--wcfContentHeadlineText);
}
.krtSyncChatChannel.unread .krtSyncChatChannelName,
.krtSyncChatThread.unread .krtSyncChatChannelName {
  font-weight: 600;
  color: var(--wcfContentHeadlineText);
}

.krtSyncChatThreads {
  border-inline-start: 1px solid var(--wcfContentContainerBorder);
  margin: 2px 0 6px 14px;
  padding-inline-start: 6px;
}

.krtSyncChatThread {
  font-weight: 400;
  min-height: 30px;
  padding: 4px 8px;
}
@media screen and (min-width: 769px), print {
  .krtSyncChatThread {
    font-size: var(--wcfFontSizeSmall);
  }
}
@media screen and (max-width: 768px) {
  .krtSyncChatThread {
    font-size: 12px;
  }
}

.krtSyncChatChannelIcon {
  color: var(--wcfContentDimmedText);
  display: inline-flex;
}

.krtSyncChatThread {
  grid-template-columns: minmax(0, 1fr) auto;
}

.krtSyncChatChannelName {
  color: var(--wcfContentDimmedText);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.krtSyncChatUnread {
  align-self: center;
  background-color: var(--krtChatAccent);
  border-radius: 50%;
  display: inline-block;
  height: 8px;
  width: 8px;
}

/* Sprachkanäle. */
/* Mitgliederliste rechts (seit 6.2.41): Gruppen nach Rollen wie in Discord. */
.krtSyncChatMembers {
  align-self: start;
  max-height: var(--krtChatPageHeight);
  overflow-y: auto;
  padding: 12px 8px 16px;
}
@media screen and (max-width: 1024px) {
  .krtSyncChatMembers {
    display: none !important;
  }
}

/* Gruppenname wie in Discord: grau, mit dem Symbol der Rolle davor. */
.krtSyncChatMemberGroup {
  align-items: center;
  color: var(--wcfContentDimmedText);
  display: flex;
  font-size: 12px;
  font-weight: 600;
  gap: 6px;
  letter-spacing: 0.02em;
  margin: 16px 8px 4px;
}
.krtSyncChatMemberGroup:first-child {
  margin-top: 4px;
}
.krtSyncChatMemberGroup .krtSyncChatRoleIcon {
  height: 16px;
  width: 16px;
}

.krtSyncChatMember {
  align-items: center;
  background: none;
  border: 0;
  border-radius: var(--krtChatRowRadius);
  color: var(--wcfContentText);
  cursor: pointer;
  display: flex;
  font: inherit;
  gap: 10px;
  padding: 5px 8px;
  text-align: start;
  width: 100%;
}
.krtSyncChatMember:hover, .krtSyncChatMember:focus-visible {
  background-color: var(--krtChatHover);
}

.krtSyncChatMemberList.offline .krtSyncChatMember {
  opacity: 0.55;
}
.krtSyncChatMemberList.offline .krtSyncChatMember:hover, .krtSyncChatMemberList.offline .krtSyncChatMember:focus-visible {
  opacity: 1;
}

.krtSyncChatMemberAvatar {
  flex: 0 0 auto;
  height: 32px;
  position: relative;
  width: 32px;
}
.krtSyncChatMemberAvatar img,
.krtSyncChatMemberAvatar .krtSyncChatAvatarEmpty {
  border-radius: 50%;
  display: flex;
  height: 32px;
  object-fit: cover;
  width: 32px;
}
.krtSyncChatMemberAvatar .krtSyncChatStatus {
  border: 2px solid var(--wcfContentContainerBackground);
  bottom: -2px;
  height: 12px;
  position: absolute;
  right: -2px;
  width: 12px;
}

.krtSyncChatMemberLine {
  align-items: center;
  display: flex;
  gap: 4px;
  min-width: 0;
}

.krtSyncChatMemberName {
  font-weight: 600;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.krtSyncChatMemberMore {
  font-weight: 400;
  color: var(--wcfContentDimmedText);
  padding: 4px 8px;
}
@media screen and (min-width: 769px), print {
  .krtSyncChatMemberMore {
    font-size: var(--wcfFontSizeSmall);
  }
}
@media screen and (max-width: 768px) {
  .krtSyncChatMemberMore {
    font-size: 12px;
  }
}

/* Online-Status: Punkt wie in Discord (nur, wenn KRT-Orbit ihn kennt). */
.krtSyncChatStatus {
  background-color: var(--wcfContentDimmedText);
  border-radius: 50%;
  display: inline-block;
  flex: 0 0 auto;
  height: 8px;
  width: 8px;
}
.krtSyncChatStatus.online {
  background-color: #3fb950;
}
.krtSyncChatStatus.idle {
  background-color: #d29922;
}
.krtSyncChatStatus.dnd {
  background-color: #f85149;
}

.krtSyncChatHeaderIcon {
  color: var(--wcfContentDimmedText);
  display: inline-flex;
  flex: 0 0 auto;
}

/* Kopf der Seite wie in Discord: Symbol, Name, Trennstrich und Thema in einer Zeile. */
.krtSyncChat--page .krtSyncChatHeader {
  padding: 10px 18px;
}
.krtSyncChat--page .krtSyncChatHeaderText {
  align-items: center;
  flex-direction: row;
  gap: 8px;
}
.krtSyncChat--page .krtSyncChatTitle {
  flex: 0 1 auto;
  font-size: 16px;
}
.krtSyncChat--page .krtSyncChatTopic {
  border-inline-start: 1px solid var(--wcfContentContainerBorder);
  flex: 1 1 auto;
  min-width: 0;
  overflow: hidden;
  padding-inline-start: 10px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.krtSyncChatMembersButton[aria-pressed=true] {
  color: var(--wcfContentText);
}

/* Server-Tag und Rollen-Symbol neben dem Namen. */
.krtSyncChatTag {
  align-items: center;
  align-self: center;
  background-color: var(--krtChatSoft);
  border-radius: 4px;
  color: var(--wcfContentText);
  display: inline-flex;
  font-size: 11px;
  font-weight: 700;
  gap: 3px;
  line-height: 16px;
  padding: 0 5px;
}

.krtSyncChatTagBadge {
  height: 12px;
  width: 12px;
}

.krtSyncChatRoleIcon {
  align-self: center;
  flex: 0 0 auto;
  height: 18px;
  object-fit: contain;
  width: 18px;
}

.krtSyncChatRoleEmoji {
  font-size: 15px;
  line-height: 18px;
  text-align: center;
}

/* Begrüßung am Anfang eines Kanals. */
.krtSyncChatWelcome {
  padding: 16px 18px 8px;
}

.krtSyncChatWelcomeIcon {
  align-items: center;
  background-color: var(--krtChatSoft);
  border-radius: 50%;
  color: var(--wcfContentText);
  display: flex;
  height: 56px;
  justify-content: center;
  width: 56px;
}

.krtSyncChatWelcomeTitle {
  color: var(--wcfContentHeadlineText);
  font-size: 22px;
  font-weight: 700;
  margin: 8px 0 0;
}

.krtSyncChatWelcomeText {
  font-weight: 400;
  color: var(--wcfContentDimmedText);
  margin: 2px 0 0;
}
@media screen and (min-width: 769px), print {
  .krtSyncChatWelcomeText {
    font-size: var(--wcfFontSizeSmall);
  }
}
@media screen and (max-width: 768px) {
  .krtSyncChatWelcomeText {
    font-size: 12px;
  }
}

.krtSyncChatMain {
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.krtSyncChatHeader {
  align-items: center;
  border-bottom: 1px solid var(--wcfContentContainerBorder);
  display: flex;
  gap: 12px;
  padding: 14px 18px;
}

.krtSyncChatHeaderText {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.krtSyncChatTitle {
  color: var(--wcfContentHeadlineText);
  font-size: 17px;
  font-weight: 600;
  margin: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.krtSyncChatTopic {
  font-weight: 400;
  color: var(--wcfContentDimmedText);
  margin: 0;
}
@media screen and (min-width: 769px), print {
  .krtSyncChatTopic {
    font-size: var(--wcfFontSizeSmall);
  }
}
@media screen and (max-width: 768px) {
  .krtSyncChatTopic {
    font-size: 12px;
  }
}
.krtSyncChatTopic:empty {
  display: none;
}

.krtSyncChatBack,
.krtSyncChatAll {
  flex: 0 0 auto;
}

.krtSyncChatTabs {
  border-bottom: 1px solid var(--wcfContentContainerBorder);
  display: flex;
  gap: 4px;
  overflow-x: auto;
  padding: 6px 12px;
}

.krtSyncChatTab {
  align-items: center;
  background: none;
  border: 0;
  border-radius: var(--krtChatRowRadius);
  color: var(--wcfContentDimmedText);
  cursor: pointer;
  display: inline-flex;
  flex: 0 0 auto;
  gap: 6px;
  padding: 6px 10px;
}
.krtSyncChatTab:hover, .krtSyncChatTab:focus-visible {
  background-color: var(--krtChatHover);
  color: var(--wcfContentText);
}
.krtSyncChatTab.active {
  background-color: var(--krtChatSoft);
  box-shadow: inset 0 -2px 0 var(--krtChatAccent);
  color: var(--wcfContentHeadlineText);
}

.krtSyncChatNotice {
  font-weight: 400;
  background-color: var(--wcfStatusInfoBackground);
  border-bottom: 1px solid var(--wcfStatusInfoBorder);
  color: var(--wcfStatusInfoText);
  margin: 0;
  padding: 8px 18px;
}
@media screen and (min-width: 769px), print {
  .krtSyncChatNotice {
    font-size: var(--wcfFontSizeSmall);
  }
}
@media screen and (max-width: 768px) {
  .krtSyncChatNotice {
    font-size: 12px;
  }
}

.krtSyncChatLogWrap {
  position: relative;
}

.krtSyncChatLog {
  height: var(--krtChatLogHeight);
  overflow-wrap: anywhere;
  overflow-y: auto;
  padding: 8px 0 12px;
}

.krtSyncChatOlder {
  left: 50%;
  position: absolute;
  top: 8px;
  transform: translateX(-50%);
  z-index: 1;
}

.krtSyncChatJump {
  bottom: 12px;
  left: 50%;
  position: absolute;
  transform: translateX(-50%);
  z-index: 1;
}

.krtSyncChatEmpty {
  color: var(--wcfContentDimmedText);
  margin: 0;
  padding: 40px 18px;
  text-align: center;
}

.krtSyncChatTyping {
  font-weight: 400;
  color: var(--wcfContentDimmedText);
  font-style: italic;
  margin: 0;
  min-height: 20px;
  padding: 0 18px;
}
@media screen and (min-width: 769px), print {
  .krtSyncChatTyping {
    font-size: var(--wcfFontSizeSmall);
  }
}
@media screen and (max-width: 768px) {
  .krtSyncChatTyping {
    font-size: 12px;
  }
}

.krtSyncChatFooter {
  font-weight: 400;
  color: var(--wcfContentDimmedText);
  margin: 0;
  padding: 8px 18px 12px;
}
@media screen and (min-width: 769px), print {
  .krtSyncChatFooter {
    font-size: var(--wcfFontSizeSmall);
  }
}
@media screen and (max-width: 768px) {
  .krtSyncChatFooter {
    font-size: 12px;
  }
}

.krtSyncChatLinkHint {
  align-items: center;
  background-color: var(--krtChatSoft);
  border-inline-start: 4px solid var(--krtChatAccent);
  border-radius: var(--krtChatRowRadius);
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  justify-content: space-between;
  margin: 8px 18px 0;
  padding: 12px 16px;
}
.krtSyncChatLinkHint p {
  margin: 0;
}

/* Eingabe. */
.krtSyncChatComposer {
  border-top: 1px solid var(--wcfContentContainerBorder);
  padding: 12px 18px 0;
  position: relative;
}

.krtSyncChatComposerLabel {
  border: 0;
  clip-path: inset(50%);
  height: 1px;
  overflow: hidden;
  position: absolute;
  white-space: nowrap;
  width: 1px;
}

.krtSyncChatComposerRow {
  align-items: flex-end;
  background-color: var(--wcfInputBackground);
  border: 1px solid var(--wcfInputBorder);
  border-radius: var(--krtChatRadius);
  display: flex;
  gap: 2px;
  padding: 2px 4px;
}
.krtSyncChatComposerRow:focus-within {
  border-color: var(--wcfInputBorderActive);
}

.krtSyncChatInput {
  background: transparent;
  border: 0;
  color: var(--wcfInputText);
  flex: 1 1 auto;
  font: inherit;
  max-height: 160px;
  min-height: 40px;
  min-width: 0;
  padding: 9px 6px;
  resize: none;
}
.krtSyncChatInput:focus {
  outline: none;
}

.krtSyncChatSend:not(:disabled) {
  color: var(--krtChatAccent);
}

.krtSyncChatSend:disabled {
  cursor: default;
  opacity: 0.5;
}

.krtSyncChatIconButton {
  align-items: center;
  background: none;
  border: 0;
  border-radius: var(--krtChatRowRadius);
  color: var(--wcfContentDimmedText);
  cursor: pointer;
  display: inline-flex;
  flex: 0 0 auto;
  height: 40px;
  justify-content: center;
  width: 36px;
}
.krtSyncChatIconButton:hover, .krtSyncChatIconButton:focus-visible {
  background-color: var(--krtChatHover);
  color: var(--wcfContentText);
}

.krtSyncChatComposerStatus {
  font-weight: 400;
  color: var(--wcfContentDimmedText);
  margin: 6px 0 0;
}
@media screen and (min-width: 769px), print {
  .krtSyncChatComposerStatus {
    font-size: var(--wcfFontSizeSmall);
  }
}
@media screen and (max-width: 768px) {
  .krtSyncChatComposerStatus {
    font-size: 12px;
  }
}

.krtSyncChatReplyBar,
.krtSyncChatFileBar {
  font-weight: 400;
  align-items: center;
  background-color: var(--krtChatSoft);
  border-radius: var(--krtChatRowRadius);
  display: flex;
  gap: 8px;
  margin-bottom: 8px;
  padding: 4px 4px 4px 10px;
}
@media screen and (min-width: 769px), print {
  .krtSyncChatReplyBar,
  .krtSyncChatFileBar {
    font-size: var(--wcfFontSizeSmall);
  }
}
@media screen and (max-width: 768px) {
  .krtSyncChatReplyBar,
  .krtSyncChatFileBar {
    font-size: 12px;
  }
}
.krtSyncChatReplyBar[hidden],
.krtSyncChatFileBar[hidden] {
  display: none;
}
.krtSyncChatReplyBar .krtSyncChatIconButton,
.krtSyncChatFileBar .krtSyncChatIconButton {
  height: 28px;
  margin-inline-start: auto;
  width: 28px;
}

.krtSyncChatReplyText {
  color: var(--wcfContentDimmedText);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.krtSyncChatFilePreview {
  border-radius: 4px;
  height: 40px;
  object-fit: cover;
  width: 40px;
}

.krtSyncChatFileName {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.krtSyncChatFileSpoiler {
  align-items: center;
  color: var(--wcfContentDimmedText);
  display: inline-flex;
  flex: 0 0 auto;
  gap: 4px;
}

/* Vorschläge beim Erwähnen mit „@“. */
.krtSyncChatMentions {
  background-color: var(--wcfDropdownBackground, var(--wcfContentContainerBackground));
  border: 1px solid var(--wcfContentContainerBorder);
  border-radius: var(--krtChatRowRadius);
  bottom: calc(100% - 8px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.25);
  left: 18px;
  max-width: 320px;
  padding: 4px;
  position: absolute;
  right: 18px;
  z-index: 5;
}
.krtSyncChatMentions[hidden] {
  display: none;
}

.krtSyncChatMentionItem {
  align-items: center;
  border-radius: 4px;
  cursor: pointer;
  display: flex;
  gap: 8px;
  padding: 4px 8px;
}
.krtSyncChatMentionItem.active, .krtSyncChatMentionItem:hover {
  background-color: var(--krtChatSoft);
}

.krtSyncChatMentionAvatar {
  border-radius: 50%;
  height: 24px;
  width: 24px;
}

/* Linie „Neue Nachrichten“. */
.krtSyncChatNewLine {
  align-items: center;
  color: var(--krtChatAccent);
  display: flex;
  font-size: 11px;
  font-weight: 600;
  gap: 8px;
  letter-spacing: 0.06em;
  margin: 10px 18px 2px;
  text-transform: uppercase;
}
.krtSyncChatNewLine::before, .krtSyncChatNewLine::after {
  border-top: 1px solid var(--krtChatAccent);
  content: "";
  flex: 1 1 auto;
  opacity: 0.6;
}

/* Werkzeugleiste einer Nachricht (Reaktion, Antworten, Bearbeiten, Löschen). */
.krtSyncChatMessage {
  position: relative;
}

.krtSyncChatTools {
  background-color: var(--wcfContentContainerBackground);
  border: 1px solid var(--wcfContentContainerBorder);
  border-radius: 8px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.35);
  display: flex;
  opacity: 0;
  padding: 3px;
  pointer-events: none;
  position: absolute;
  right: 16px;
  top: -14px;
  transition: opacity 0.12s ease-out;
  z-index: 2;
}
.krtSyncChatTools .krtSyncChatIconButton {
  height: 32px;
  width: 32px;
}

.krtSyncChatToolQuick {
  font-size: 18px;
}
.krtSyncChatToolQuick .krtSyncChatEmoji {
  height: 20px;
  width: 20px;
}
.krtSyncChatToolQuick.mine {
  background-color: color-mix(in srgb, var(--krtChatAccent) 18%, transparent);
}

.krtSyncChatToolSeparator {
  align-self: center;
  background-color: var(--wcfContentContainerBorder);
  height: 20px;
  margin: 0 3px;
  width: 1px;
}

.krtSyncChatMessage:hover .krtSyncChatTools,
.krtSyncChatMessage:focus-within .krtSyncChatTools {
  opacity: 1;
  pointer-events: auto;
}

@media (hover: none) {
  .krtSyncChatTools {
    opacity: 1;
    pointer-events: auto;
    position: static;
    box-shadow: none;
    border: 0;
    grid-column: 2;
    justify-self: start;
  }
}
.krtSyncChatEditBox {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 4px;
}

.krtSyncChatEditButtons {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.krtSyncChatEditHint {
  font-weight: 400;
  color: var(--wcfContentDimmedText);
}
@media screen and (min-width: 769px), print {
  .krtSyncChatEditHint {
    font-size: var(--wcfFontSizeSmall);
  }
}
@media screen and (max-width: 768px) {
  .krtSyncChatEditHint {
    font-size: 12px;
  }
}

.krtSyncChatAuthor[role=button],
.krtSyncChatAvatar[role=button] {
  cursor: pointer;
}

.krtSyncChatAuthor[role=button]:hover {
  text-decoration: underline;
}

.krtSyncChatReaction.clickable {
  cursor: pointer;
}
.krtSyncChatReaction.clickable:hover {
  border-color: var(--wcfContentDimmedText);
}

.krtSyncChatReaction.mine {
  background-color: color-mix(in srgb, var(--krtChatAccent) 18%, transparent);
  border-color: var(--krtChatAccent);
}

/* Schwebende Fenster: Emoji-Auswahl und Namenskarte. */
.krtSyncChatPopover {
  background-color: var(--wcfContentContainerBackground);
  border: 1px solid var(--wcfContentContainerBorder);
  border-radius: var(--krtChatRadius, 10px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.3), 0 2px 4px rgba(0, 0, 0, 0.15);
  color: var(--wcfContentText);
  position: absolute;
  z-index: 400;
}

.krtSyncChatEmojiPicker {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 10px;
  width: min(320px, 100vw - 16px);
}

.krtSyncChatEmojiSearch {
  width: 100%;
}

.krtSyncChatEmojiGrid {
  display: grid;
  gap: 2px;
  grid-template-columns: repeat(8, 1fr);
  max-height: 260px;
  overflow-y: auto;
}

.krtSyncChatEmojiSection,
.krtSyncChatEmojiEmpty {
  color: var(--wcfButtonPrimaryBackground);
  font-size: 11px;
  font-weight: 600;
  grid-column: 1/-1;
  letter-spacing: 0.06em;
  margin: 6px 2px 2px;
  text-transform: uppercase;
}

.krtSyncChatEmojiEmpty {
  color: var(--wcfContentDimmedText);
  text-transform: none;
}

.krtSyncChatEmojiTile {
  align-items: center;
  background: none;
  border: 0;
  border-radius: 4px;
  cursor: pointer;
  display: flex;
  font-size: 20px;
  height: 34px;
  justify-content: center;
}
.krtSyncChatEmojiTile:hover, .krtSyncChatEmojiTile:focus-visible {
  background-color: color-mix(in srgb, var(--wcfContentText) 9%, transparent);
}
.krtSyncChatEmojiTile .krtSyncChatEmoji {
  height: 24px;
  width: 24px;
}

.krtSyncChatProfile {
  padding: 14px;
  width: min(280px, 100vw - 16px);
}

.krtSyncChatProfileHead {
  align-items: center;
  display: flex;
  gap: 10px;
  margin-bottom: 10px;
}

.krtSyncChatProfileAvatar {
  border-radius: 50%;
  display: flex;
  flex: 0 0 auto;
  height: 48px;
  object-fit: cover;
  width: 48px;
}

.krtSyncChatProfileName {
  font-weight: 400;
  line-height: 1.28;
  margin: 0;
}
@media screen and (min-width: 769px), print {
  .krtSyncChatProfileName {
    font-size: var(--wcfFontSizeHeadline);
  }
}
@media screen and (max-width: 768px) {
  .krtSyncChatProfileName {
    font-size: 18px;
  }
}

.krtSyncChatProfileBody {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.krtSyncChatRoles {
  flex-direction: row;
  flex-wrap: wrap;
  gap: 4px;
}

.krtSyncChatRole {
  font-weight: 400;
  align-items: center;
  background-color: color-mix(in srgb, var(--wcfContentText) 8%, transparent);
  border-radius: 4px;
  display: inline-flex;
  gap: 5px;
  padding: 2px 8px;
}
@media screen and (min-width: 769px), print {
  .krtSyncChatRole {
    font-size: var(--wcfFontSizeSmall);
  }
}
@media screen and (max-width: 768px) {
  .krtSyncChatRole {
    font-size: 12px;
  }
}

.krtSyncChatRoleDot {
  background-color: var(--wcfContentDimmedText);
  border-radius: 50%;
  height: 10px;
  width: 10px;
}

.krtSyncChatProfileMeta {
  font-weight: 400;
  color: var(--wcfContentDimmedText);
  margin: 0;
}
@media screen and (min-width: 769px), print {
  .krtSyncChatProfileMeta {
    font-size: var(--wcfFontSizeSmall);
  }
}
@media screen and (max-width: 768px) {
  .krtSyncChatProfileMeta {
    font-size: 12px;
  }
}

.krtSyncChatProfileLink {
  align-self: flex-start;
}

/* Trenner zwischen zwei Tagen. */
.krtSyncChatDay {
  font-weight: 400;
  align-items: center;
  color: var(--wcfContentDimmedText);
  display: flex;
  gap: 12px;
  margin: 12px 18px 4px;
}
@media screen and (min-width: 769px), print {
  .krtSyncChatDay {
    font-size: var(--wcfFontSizeSmall);
  }
}
@media screen and (max-width: 768px) {
  .krtSyncChatDay {
    font-size: 12px;
  }
}
.krtSyncChatDay::before, .krtSyncChatDay::after {
  border-top: 1px solid var(--wcfContentBorderInner);
  content: "";
  flex: 1 1 auto;
}

/* Eine Nachricht: links Avatar oder Uhrzeit, rechts Kopf und Inhalt. */
.krtSyncChatMessage {
  display: grid;
  gap: 0 12px;
  grid-template-columns: 40px minmax(0, 1fr);
  margin-top: 12px;
  padding: 2px 18px;
}
.krtSyncChatMessage:hover {
  background-color: var(--krtChatHover);
}
.krtSyncChatMessage.grouped {
  margin-top: 0;
}
.krtSyncChatMessage.system .krtSyncChatHead {
  display: inline-flex;
}

.krtSyncChatAvatar {
  border-radius: 50%;
  display: block;
  height: 40px;
  object-fit: cover;
  width: 40px;
}

.krtSyncChatAvatarEmpty {
  font-weight: 600;
  align-items: center;
  background-color: var(--krtChatSoft);
  color: var(--wcfContentDimmedText);
  display: flex;
  justify-content: center;
}

.krtSyncChatSideTime {
  font-weight: 400;
  color: var(--wcfContentDimmedText);
  display: block;
  font-size: 11px;
  line-height: 22px;
  text-align: end;
  visibility: hidden;
}
@media screen and (min-width: 769px), print {
  .krtSyncChatSideTime {
    font-size: var(--wcfFontSizeSmall);
  }
}
@media screen and (max-width: 768px) {
  .krtSyncChatSideTime {
    font-size: 12px;
  }
}

.krtSyncChatMessage:hover .krtSyncChatSideTime {
  visibility: visible;
}

.krtSyncChatHead {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 4px 8px;
}

.krtSyncChatAuthor {
  font-weight: 600;
  color: var(--wcfContentHeadlineText);
}

.krtSyncChatStamp,
.krtSyncChatPinned,
.krtSyncChatEdited {
  font-weight: 400;
  color: var(--wcfContentDimmedText);
}
@media screen and (min-width: 769px), print {
  .krtSyncChatStamp,
  .krtSyncChatPinned,
  .krtSyncChatEdited {
    font-size: var(--wcfFontSizeSmall);
  }
}
@media screen and (max-width: 768px) {
  .krtSyncChatStamp,
  .krtSyncChatPinned,
  .krtSyncChatEdited {
    font-size: 12px;
  }
}

.krtSyncChatBadge {
  align-self: center;
}

.krtSyncChatReply {
  font-weight: 400;
  align-items: center;
  color: var(--wcfContentDimmedText);
  display: flex;
  gap: 6px;
  grid-column: 1/-1;
  margin: 0 0 2px;
  min-width: 0;
  padding-inline-start: 18px;
}
@media screen and (min-width: 769px), print {
  .krtSyncChatReply {
    font-size: var(--wcfFontSizeSmall);
  }
}
@media screen and (max-width: 768px) {
  .krtSyncChatReply {
    font-size: 12px;
  }
}

/* Der Bogen vom Bild der Antwort zur Nachricht darüber. */
.krtSyncChatReplyCurve {
  border-inline-start: 2px solid var(--wcfContentContainerBorder);
  border-start-start-radius: 6px;
  border-top: 2px solid var(--wcfContentContainerBorder);
  flex: 0 0 auto;
  height: 10px;
  margin-top: 8px;
  width: 26px;
}

.krtSyncChatReplyAuthor {
  color: var(--wcfContentText);
  flex: 0 0 auto;
}

.krtSyncChatReplyExcerpt {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.krtSyncChatSystem {
  color: var(--wcfContentDimmedText);
  font-style: italic;
  margin: 0;
}

/* Text einer Nachricht mit der Formatierung von Discord. */
.krtSyncChatContent > *,
.krtSyncChatEmbedDescription > * {
  margin: 0;
}
.krtSyncChatContent > * + *,
.krtSyncChatEmbedDescription > * + * {
  margin-top: 4px;
}

.krtSyncChatHeading {
  font-weight: 600;
  color: var(--wcfContentHeadlineText);
}

.krtSyncChatHeading1 {
  font-size: 1.3em;
}

.krtSyncChatHeading2 {
  font-size: 1.15em;
}

.krtSyncChatSmall {
  font-weight: 400;
  color: var(--wcfContentDimmedText);
}
@media screen and (min-width: 769px), print {
  .krtSyncChatSmall {
    font-size: var(--wcfFontSizeSmall);
  }
}
@media screen and (max-width: 768px) {
  .krtSyncChatSmall {
    font-size: 12px;
  }
}

.krtSyncChatList {
  list-style: disc;
  padding-inline-start: 20px;
}

.krtSyncChatQuote {
  border-inline-start: 3px solid var(--wcfContentBorderInner);
  color: var(--wcfContentDimmedText);
  padding-inline-start: 10px;
}

.krtSyncChatCode,
.krtSyncChatCodeBlock {
  background-color: var(--krtChatSoft);
  border-radius: var(--wcfBorderRadius);
  font-family: var(--wcfFontFamilyMonospace);
  font-size: 0.9em;
}

.krtSyncChatCode {
  padding: 1px 4px;
}

.krtSyncChatCodeBlock {
  margin: 4px 0;
  max-height: 320px;
  overflow: auto;
  padding: 8px 10px;
  white-space: pre;
}

.krtSyncChatMention {
  font-weight: 600;
  background-color: var(--krtChatSoft);
  border-radius: 3px;
  color: var(--wcfContentLink);
  padding: 0 3px;
}

.krtSyncChatEmoji {
  display: inline-block;
  height: 1.4em;
  object-fit: contain;
  vertical-align: -0.3em;
  width: 1.4em;
}

/* Spoiler: verdeckt, bis das Mitglied ihn anklickt. */
.krtSyncChatSpoiler:not(.revealed) {
  background-color: var(--wcfContentDimmedText);
  border-radius: 3px;
  color: transparent;
  cursor: pointer;
}
.krtSyncChatSpoiler:not(.revealed) * {
  visibility: hidden;
}

.krtSyncChatAttachment.krtSyncChatSpoiler:not(.revealed) {
  display: inline-block;
  min-height: 60px;
  min-width: 120px;
}

/* Anhänge, Sticker und Einbettungen. */
.krtSyncChatAttachment {
  align-items: baseline;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 6px;
}

.krtSyncChatImage,
.krtSyncChatVideo {
  border-radius: var(--wcfBorderRadius);
  display: block;
  height: auto;
  max-height: 320px;
  max-width: min(100%, 420px);
  object-fit: contain;
  width: auto;
}

.krtSyncChatAudio {
  max-width: 100%;
}

.krtSyncChatSticker {
  display: block;
  height: 120px;
  margin-top: 6px;
  object-fit: contain;
  width: 120px;
}

.krtSyncChatFileSize {
  font-weight: 400;
  color: var(--wcfContentDimmedText);
}
@media screen and (min-width: 769px), print {
  .krtSyncChatFileSize {
    font-size: var(--wcfFontSizeSmall);
  }
}
@media screen and (max-width: 768px) {
  .krtSyncChatFileSize {
    font-size: 12px;
  }
}

.krtSyncChatEmbed {
  background-color: var(--krtChatSoft);
  border-inline-start: 4px solid var(--wcfContentBorderInner);
  border-radius: var(--wcfBorderRadius);
  margin-top: 6px;
  max-width: 520px;
  overflow: hidden;
  padding: 8px 12px;
}
.krtSyncChatEmbed > * {
  margin: 0;
}
.krtSyncChatEmbed > * + * {
  margin-top: 4px;
}

.krtSyncChatEmbedThumbnail {
  border-radius: var(--wcfBorderRadius);
  float: inline-end;
  margin-inline-start: 12px;
  max-height: 80px;
  max-width: 80px;
  object-fit: contain;
}

.krtSyncChatEmbedProvider,
.krtSyncChatEmbedFooter {
  font-weight: 400;
  color: var(--wcfContentDimmedText);
}
@media screen and (min-width: 769px), print {
  .krtSyncChatEmbedProvider,
  .krtSyncChatEmbedFooter {
    font-size: var(--wcfFontSizeSmall);
  }
}
@media screen and (max-width: 768px) {
  .krtSyncChatEmbedProvider,
  .krtSyncChatEmbedFooter {
    font-size: 12px;
  }
}

.krtSyncChatEmbedAuthor,
.krtSyncChatEmbedTitle {
  font-weight: 600;
}

.krtSyncChatEmbedFields {
  display: grid;
  gap: 6px 12px;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
}
.krtSyncChatEmbedFields dt {
  font-weight: 600;
  font-weight: 400;
}
@media screen and (min-width: 769px), print {
  .krtSyncChatEmbedFields dt {
    font-size: var(--wcfFontSizeSmall);
  }
}
@media screen and (max-width: 768px) {
  .krtSyncChatEmbedFields dt {
    font-size: 12px;
  }
}
.krtSyncChatEmbedFields dd {
  margin: 0;
}

.krtSyncChatEmbedField:not(.inline) {
  grid-column: 1/-1;
}

.krtSyncChatReactions {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  list-style: none;
  margin: 6px 0 0;
  padding: 0;
}

.krtSyncChatReaction {
  align-items: center;
  background-color: var(--krtChatSoft);
  border: 1px solid var(--wcfContentBorderInner);
  border-radius: 12px;
  display: inline-flex;
  gap: 4px;
  padding: 1px 8px;
}

.krtSyncChatReactionCount {
  font-weight: 400;
  color: var(--wcfContentDimmedText);
}
@media screen and (min-width: 769px), print {
  .krtSyncChatReactionCount {
    font-size: var(--wcfFontSizeSmall);
  }
}
@media screen and (max-width: 768px) {
  .krtSyncChatReactionCount {
    font-size: 12px;
  }
}

/*
 * Discord-Sync: Gestaltung der ACP-Seite Discord-Sync, der Seite Kontrollzentrum > Discord und der Discord-Zeichen im
 * Forum. Die Datei liegt in style/ui; WoltLab übersetzt sie zusammen mit dem Stil und übernimmt sie auch in das
 * Stylesheet des ACP. Nur Klassen mit dem Präfix "krtSync", damit nichts anderes im Forum beeinflusst wird. Farben
 * kommen aus den Stilvariablen von WoltLab, damit alles zu jedem Stil passt, hell wie dunkel; einzige Ausnahme sind die
 * Markenfarben von Discord.
 *
 * @author      RagnarSeven
 * @copyright   2026 Das Kartell
 * @license     Proprietary
 */
/* Markenfarben von Discord (Grundfarbe und dunklere Fassung für Hover). */
/*
 * Farben für Zustandspunkte und Markierungen. Im hellen Stil die Textfarben der Statusmeldungen; im dunklen Stil sind
 * diese sehr hell und als Punkt kaum zu unterscheiden, dort stehen die kräftigeren Rahmenfarben.
 */
html {
  --krtSyncStatusOk: var(--wcfStatusSuccessText);
  --krtSyncStatusWarning: var(--wcfStatusWarningText);
  --krtSyncStatusError: var(--wcfStatusErrorText);
}

html[data-color-scheme=dark] {
  --krtSyncStatusOk: var(--wcfStatusSuccessBorder);
  --krtSyncStatusWarning: var(--wcfStatusWarningBorder);
  --krtSyncStatusError: var(--wcfStatusErrorBorder);
}

/*
 * Kontrollzentrum > Discord: Knöpfe, die zu Discord führen, tragen die Markenfarbe, wie WoltLab es bei den
 * Login-Knöpfen anderer Dienste handhabt. "Verknüpfung aufheben" behält den normalen Stil.
 */
.button.krtSyncDiscordButton {
  background-color: #5865f2;
  color: #fff;
}
.button.krtSyncDiscordButton:hover, .button.krtSyncDiscordButton:focus-visible {
  background-color: #4752c4;
  color: #fff;
}

/*
 * ACP-Seite Discord-Sync.
 */
/* "Speichern" nur auf den Reitern mit Einstellungen: Die Übersicht zeigt nur an. Die Reiterleiste von WoltLab setzt
   die Klasse "active" am offenen Reiter. */
.krtSyncSettings:has(#overviewContainer.active) > .formSubmit {
  display: none;
}

/* Abstand zwischen den Hinweisen oben in der Übersicht; es können zwei untereinander stehen. */
.krtSyncOverview > woltlab-core-notice {
  margin-bottom: 10px;
}

/* Zustand als Kacheln: drei Spalten, schmaler werdend zwei bzw. eine. */
.krtSyncCards {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
@media screen and (max-width: 1024px) {
  .krtSyncCards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media screen and (max-width: 544px) {
  .krtSyncCards {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* Kacheln im Reiter "Forum-Sync" über der Liste der Verbindungen. */
.krtSyncCards--spaced {
  margin-bottom: 20px;
}

/* Abstand zwischen den Hinweisen oben im Reiter "Forum-Sync" und den Kacheln. */
woltlab-core-notice + .krtSyncCards--spaced {
  margin-top: 20px;
}

.krtSyncCard {
  background-color: var(--wcfContentBackground);
  border: 1px solid var(--wcfContentBorderInner);
  border-radius: var(--wcfBorderRadius);
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
  padding: 12px 15px;
}

/* Eine Fehlerkachel nimmt die ganze Zeile ein. */
.krtSyncCard--wide {
  grid-column: 1/-1;
}

.krtSyncCard--error {
  background-color: var(--wcfStatusErrorBackground);
  border-color: var(--wcfStatusErrorBorder);
  color: var(--wcfStatusErrorText);
}

.krtSyncCard__label {
  color: var(--wcfContentDimmedText);
  font-weight: 400;
}
@media screen and (min-width: 769px), print {
  .krtSyncCard__label {
    font-size: var(--wcfFontSizeSmall);
  }
}
@media screen and (max-width: 768px) {
  .krtSyncCard__label {
    font-size: 12px;
  }
}

.krtSyncCard--error .krtSyncCard__label,
.krtSyncCard--error .krtSyncCard__text {
  color: inherit;
}

.krtSyncCard__value {
  align-items: center;
  color: var(--wcfContentHeadlineText);
  display: flex;
  gap: 8px;
  overflow-wrap: anywhere;
  font-weight: 400;
  line-height: 1.28;
}
@media screen and (min-width: 769px), print {
  .krtSyncCard__value {
    font-size: var(--wcfFontSizeHeadline);
  }
}
@media screen and (max-width: 768px) {
  .krtSyncCard__value {
    font-size: 18px;
  }
}
.krtSyncCard__value small {
  color: var(--wcfContentDimmedText);
  font-weight: 400;
}
@media screen and (min-width: 769px), print {
  .krtSyncCard__value small {
    font-size: var(--wcfFontSizeSmall);
  }
}
@media screen and (max-width: 768px) {
  .krtSyncCard__value small {
    font-size: 12px;
  }
}

.krtSyncCard__sub,
.krtSyncCard__text {
  color: var(--wcfContentDimmedText);
  overflow-wrap: anywhere;
  font-weight: 400;
}
@media screen and (min-width: 769px), print {
  .krtSyncCard__sub,
  .krtSyncCard__text {
    font-size: var(--wcfFontSizeSmall);
  }
}
@media screen and (max-width: 768px) {
  .krtSyncCard__sub,
  .krtSyncCard__text {
    font-size: 12px;
  }
}

.krtSyncCard__action {
  padding: 2px 0;
}

/* Anteil der verknüpften Konten bzw. freigegebenen Foren: natives Fortschrittselement in den Farben des Stils. */
.krtSyncCard__bar {
  appearance: none;
  background-color: var(--wcfContentBorderInner);
  border: 0;
  border-radius: 3px;
  height: 6px;
  margin-top: 6px;
  width: 100%;
}
.krtSyncCard__bar::-webkit-progress-bar {
  background-color: var(--wcfContentBorderInner);
  border-radius: 3px;
}
.krtSyncCard__bar::-webkit-progress-value {
  background-color: var(--wcfButtonPrimaryBackground);
  border-radius: 3px;
}
.krtSyncCard__bar::-moz-progress-bar {
  background-color: var(--wcfButtonPrimaryBackground);
  border-radius: 3px;
}

/* Punkt vor einem Zustand: grün = an, gelb = wartet, rot = Fehler, grau = aus. */
.krtSyncDot {
  background-color: var(--wcfContentDimmedText);
  border-radius: 50%;
  display: inline-block;
  flex-shrink: 0;
  height: 8px;
  width: 8px;
}

.krtSyncDot--ok {
  background-color: var(--krtSyncStatusOk);
}

.krtSyncDot--warning {
  background-color: var(--krtSyncStatusWarning);
}

.krtSyncDot--error {
  background-color: var(--krtSyncStatusError);
}

/* Einklappbare Abschnitte (Einrichtung, Rechte des Kontos, Hilfe zu den Freigaben): Titel mit Kurzbeschreibung. */
.krtSyncDetails {
  border: 1px solid var(--wcfContentBorderInner);
  border-radius: var(--wcfBorderRadius);
  padding: 12px 15px;
}
.krtSyncDetails > .nativeList {
  margin-top: 15px;
}

.krtSyncDetails__summary {
  display: flex;
  flex-direction: column;
  gap: 2px;
  list-style: none;
  padding-left: 22px;
  position: relative;
  /* Ein eigener Pfeil: Mit display: flex zeigt der Browser keinen Aufklapp-Pfeil an. */
}
.krtSyncDetails__summary::-webkit-details-marker {
  display: none;
}
.krtSyncDetails__summary::before {
  border-bottom: 2px solid var(--wcfContentDimmedText);
  border-right: 2px solid var(--wcfContentDimmedText);
  content: "";
  height: 8px;
  left: 2px;
  position: absolute;
  top: 6px;
  transform: rotate(-45deg);
  transition: transform 0.15s ease;
  width: 8px;
}

.krtSyncDetails[open] > .krtSyncDetails__summary::before {
  transform: rotate(45deg);
}

.krtSyncDetails__title {
  color: var(--wcfContentHeadlineText);
  font-weight: 400;
  line-height: 1.28;
}
@media screen and (min-width: 769px), print {
  .krtSyncDetails__title {
    font-size: var(--wcfFontSizeHeadline);
  }
}
@media screen and (max-width: 768px) {
  .krtSyncDetails__title {
    font-size: 18px;
  }
}

.krtSyncDetails__hint {
  color: var(--wcfContentDimmedText);
  font-weight: 400;
}
@media screen and (min-width: 769px), print {
  .krtSyncDetails__hint {
    font-size: var(--wcfFontSizeSmall);
  }
}
@media screen and (max-width: 768px) {
  .krtSyncDetails__hint {
    font-size: 12px;
  }
}

/* Kleiner einklappbarer Hinweis in einem Reiter. */
.krtSyncDetails--compact {
  margin: 15px 0 5px;
  padding: 8px 12px;
}
@media screen and (min-width: 769px), print {
  .krtSyncDetails--compact .krtSyncDetails__title {
    font-size: var(--wcfFontSizeDefault);
  }
}
@media screen and (max-width: 768px) {
  .krtSyncDetails--compact .krtSyncDetails__title {
    font-size: 14px;
  }
}
.krtSyncDetails--compact > .nativeList {
  margin-top: 10px;
}

/* Liste der Verbindungen des Forum-Syncs (Reiter "Forum-Sync", nur Anzeige). */
.krtSyncLinks {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 20px;
}

.krtSyncLink {
  background-color: var(--wcfContentBackground);
  border: 1px solid var(--wcfContentBorderInner);
  border-radius: var(--wcfBorderRadius);
  padding: 10px 15px;
}

/* Verbindung, die auf die Bestätigung wartet: farbiger Rand links. */
.krtSyncLink--attention {
  border-left: 3px solid var(--krtSyncStatusWarning);
}

.krtSyncLink__head {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 4px 10px;
}

.krtSyncLink__title {
  color: var(--wcfContentHeadlineText);
  overflow-wrap: anywhere;
  font-weight: 600;
}

.krtSyncLink__channel,
.krtSyncLink__arrow {
  color: var(--wcfContentDimmedText);
  overflow-wrap: anywhere;
}

.krtSyncLink__badge {
  flex-shrink: 0;
}

.krtSyncLink__sub {
  color: var(--wcfContentDimmedText);
  margin-top: 4px;
  font-weight: 400;
}
@media screen and (min-width: 769px), print {
  .krtSyncLink__sub {
    font-size: var(--wcfFontSizeSmall);
  }
}
@media screen and (max-width: 768px) {
  .krtSyncLink__sub {
    font-size: 12px;
  }
}

/* Reiter "Bot-Beiträge" (__krtSyncBotPosts.tpl). */
.krtSyncBotIntro {
  margin-bottom: 15px;
  max-width: 900px;
}

.krtSyncBotTable {
  margin-top: 15px;
}
.krtSyncBotTable td:first-child {
  white-space: nowrap;
}

/* Reiter "Freigaben": Forenbaum mit Checkboxen (__krtSyncReleaseFormField.tpl). */
.krtSyncRelease {
  border: 1px solid var(--wcfContentBorderInner);
}

.krtSyncRelease__toolbar {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 10px;
}

.krtSyncRelease__summary {
  color: var(--wcfContentDimmedText);
  /* Ohne Grundbreite wächst die Zusammenfassung nur in den freien Platz; so bleibt die Werkzeugleiste einzeilig. */
  flex: 1 1 0;
  min-width: 10em;
}

.krtSyncRelease__search {
  flex: 0 1 260px;
  min-width: 160px;
}

.krtSyncRelease__only {
  align-items: center;
  cursor: pointer;
  display: inline-flex;
  gap: 6px;
  white-space: nowrap;
}
.krtSyncRelease__only input {
  margin: 0;
}

/* "Alle aufklappen" und "Alle zuklappen" bleiben als Gruppe zusammen und brechen nur gemeinsam um. */
.krtSyncRelease__foldAll {
  flex-shrink: 0;
  flex-wrap: nowrap;
}
.krtSyncRelease__foldAll .button {
  white-space: nowrap;
}

.krtSyncRelease__empty {
  color: var(--wcfContentDimmedText);
  padding: 12px;
}

.krtSyncRelease__hit .krtSyncRelease__title {
  text-decoration: underline;
  text-decoration-color: var(--wcfButtonPrimaryBackground);
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

/* Eine Zeile je Kategorie bzw. Forum, eingerückt nach ihrer Ebene (data-depth). */
.krtSyncRelease__row {
  --krtSyncReleaseDepth: 0;
  align-items: center;
  border-top: 1px solid var(--wcfContentBorderInner);
  display: flex;
  gap: 8px;
  min-height: 40px;
  padding-left: calc(var(--krtSyncReleaseDepth) * 28px + 6px);
  padding-right: 12px;
}
.krtSyncRelease__row:first-child {
  border-top: 0;
}

/* Ebenen 1 bis 20; tiefer liest die Seite den Baum nicht (KrtSyncBoardTree). */
.krtSyncRelease__row[data-depth="1"] {
  --krtSyncReleaseDepth: 1;
}

.krtSyncRelease__row[data-depth="2"] {
  --krtSyncReleaseDepth: 2;
}

.krtSyncRelease__row[data-depth="3"] {
  --krtSyncReleaseDepth: 3;
}

.krtSyncRelease__row[data-depth="4"] {
  --krtSyncReleaseDepth: 4;
}

.krtSyncRelease__row[data-depth="5"] {
  --krtSyncReleaseDepth: 5;
}

.krtSyncRelease__row[data-depth="6"] {
  --krtSyncReleaseDepth: 6;
}

.krtSyncRelease__row[data-depth="7"] {
  --krtSyncReleaseDepth: 7;
}

.krtSyncRelease__row[data-depth="8"] {
  --krtSyncReleaseDepth: 8;
}

.krtSyncRelease__row[data-depth="9"] {
  --krtSyncReleaseDepth: 9;
}

.krtSyncRelease__row[data-depth="10"] {
  --krtSyncReleaseDepth: 10;
}

.krtSyncRelease__row[data-depth="11"] {
  --krtSyncReleaseDepth: 11;
}

.krtSyncRelease__row[data-depth="12"] {
  --krtSyncReleaseDepth: 12;
}

.krtSyncRelease__row[data-depth="13"] {
  --krtSyncReleaseDepth: 13;
}

.krtSyncRelease__row[data-depth="14"] {
  --krtSyncReleaseDepth: 14;
}

.krtSyncRelease__row[data-depth="15"] {
  --krtSyncReleaseDepth: 15;
}

.krtSyncRelease__row[data-depth="16"] {
  --krtSyncReleaseDepth: 16;
}

.krtSyncRelease__row[data-depth="17"] {
  --krtSyncReleaseDepth: 17;
}

.krtSyncRelease__row[data-depth="18"] {
  --krtSyncReleaseDepth: 18;
}

.krtSyncRelease__row[data-depth="19"] {
  --krtSyncReleaseDepth: 19;
}

.krtSyncRelease__row[data-depth="20"] {
  --krtSyncReleaseDepth: 20;
}

.krtSyncRelease__row--category {
  background-color: var(--wcfTabularBoxBackgroundActive);
}
.krtSyncRelease__row--category .krtSyncRelease__title {
  font-weight: 600;
}

.krtSyncRelease__fold {
  align-items: center;
  background: transparent;
  border: 0;
  color: var(--wcfContentDimmedText);
  cursor: pointer;
  display: inline-flex;
  flex-shrink: 0;
  height: 28px;
  justify-content: center;
  padding: 0;
  width: 28px;
}
.krtSyncRelease__fold fa-icon {
  transition: transform 0.12s;
}
.krtSyncRelease__fold[aria-expanded=false] fa-icon {
  transform: rotate(-90deg);
}

.krtSyncRelease__spacer {
  flex-shrink: 0;
  width: 28px;
}

.krtSyncRelease__label {
  align-items: center;
  cursor: pointer;
  display: flex;
  flex-grow: 1;
  gap: 8px;
  min-height: 40px;
}
.krtSyncRelease__label input {
  cursor: pointer;
  flex-shrink: 0;
  height: 16px;
  margin: 0;
  width: 16px;
}

.krtSyncRelease__count {
  color: var(--wcfContentDimmedText);
  white-space: nowrap;
  font-weight: 400;
}
@media screen and (min-width: 769px), print {
  .krtSyncRelease__count {
    font-size: var(--wcfFontSizeSmall);
  }
}
@media screen and (max-width: 768px) {
  .krtSyncRelease__count {
    font-size: 12px;
  }
}

.krtSyncRelease__badge {
  flex-shrink: 0;
}

/*
 * Discord-Symbol im Forum (KrtSyncForumIcons).
 *
 * Foren: Das Mixin ersetzt das Symbol eines verbundenen Forums durch das Discord-Logo von WoltLab (Font Awesome 7,
 * Marken). Das Logo ist eine Maske in der Textfarbe; damit übernimmt es die Farbe, die das Forum seinem Symbol gibt
 * (grau ohne Neues, hell mit neuen Beiträgen). Die Regeln für die einzelnen Foren entstehen beim Übersetzen des Stils
 * (KrtSyncForumIconStyleListener) und stehen am Ende des Stylesheets.
 */
/*
 * Themen: rundes Zeichen in Discord-Blau am Avatar, gleiche Form und Lage wie Stecknadel und Megafon des Forums
 * (wbb.scss). Ein verbundenes Thema zeigt nur das Discord-Zeichen; angepinnt bleibt es trotzdem.
 */
.krtSyncDiscordThreadIcon {
  align-items: center;
  background-color: #5865f2;
  border-radius: 50%;
  color: #fff;
  display: flex;
  height: 24px;
  justify-content: center;
  position: absolute;
  width: 24px;
  z-index: 1;
}
@media screen and (min-width: 769px), print {
  .krtSyncDiscordThreadIcon {
    border: 1px solid var(--wcfContentBackground);
    right: -8px;
    top: -2px;
  }
}
@media screen and (max-width: 768px) {
  .krtSyncDiscordThreadIcon {
    height: 32px;
    top: 0;
    width: 32px;
  }
}

.columnAvatar > div:has(> .krtSyncDiscordThreadIcon) > :is(.wbbStickyIcon, .wbbAnnouncementIcon) {
  display: none;
}

/*
 * Abzeichen „Discord“ in der Kopfzeile von Beiträgen aus Discord (neben Uhrzeit und „Neu“). Es bleibt dauerhaft
 * stehen. Steht es schon in der Liste "messageStatus", entfällt die zweite Stelle neben der Uhrzeit; ist ein Abzeichen
 * da, entfällt auch der Hinweis „über Discord“ unter der Signatur.
 */
.krtSyncDiscordBadge {
  align-items: center;
  background-color: #5865f2;
  color: #fff;
  display: inline-flex;
  gap: 4px;
  white-space: nowrap;
}
.krtSyncDiscordBadge fa-brand,
.krtSyncDiscordBadge fa-icon {
  color: inherit;
}

.message:has(.messageStatus .krtSyncDiscordBadge) .krtSyncDiscordBadgeMeta,
.message:has(.krtSyncDiscordBadge) .krtSyncViaDiscord {
  display: none;
}

/*
 * org.das-kartell.avatar.overlay – Lage von WoltLabs Online-Hinweis am Avatar, Ausnahme für die
 * Kalender-Boxen und Vorschau der Overlays in der Auswahl und in der Verwaltung.
 *
 * Die Datei liegt im Ordner style/ui/, damit WoltLab sie in die Stile des Forums und in den Stil
 * der Verwaltung übersetzt. Die Darstellung des Avatars mit Overlay selbst steht im
 * style-Attribut des Bildes (siehe OverlayAvatar).
 */
/*
 * Online-Hinweis oben statt unten, wenn das Overlay unten Inhalt hat (Einstellung je Overlay,
 * Kennung data-krt-overlay-badge="top" am Bild). Gespiegelt wird nur die Höhe; der seitliche
 * Abstand bleibt, wie WoltLab und der Stil ihn setzen.
 *  - Beitrag: Schild „Online“ (messageSidebar.tpl); auf schmalen Bildschirmen sitzt es schon oben
 *  - Profilkopf und Mitgliederkarte: grüner Punkt
 */
.messageSidebar .userAvatar:has(.userAvatarImage[data-krt-overlay-badge=top]) > .badgeOnline,
.userProfileHeader__avatarBorder:has(> .userAvatarImage[data-krt-overlay-badge=top]) > .userProfileHeader__onlineIndicator,
.userCard__header__avatar:has(> .userAvatarImage[data-krt-overlay-badge=top]) > .userCard__onlineIndicator {
  bottom: auto;
  top: 0;
}

/*
 * Kein Overlay in den Termin-Listen der Kalender-Boxen: Der Kalender fordert den Avatar dort mit
 * 48 Pixeln an und verkleinert ihn per CSS auf 36; die Mindestgröße aus den Einstellungen sieht
 * nur die angeforderte Größe. Das Overlay ist der Bildinhalt und wird aus der Fläche geschoben,
 * der Avatar dahinter (Hintergrund) bleibt sichtbar.
 */
.box .calendarEventListItem .krtAvatarOverlay {
  object-position: -9999px 0;
}

/* Die Overlay-Grafik ist durchsichtig; eine abgesetzte Fläche dahinter macht sie in hellen und
   dunklen Stilen erkennbar. */
.krtAvatarOverlayPreview {
  background-color: var(--wcfContentBorder);
  border-radius: var(--wcfBorderRadius);
}

.krtAvatarOverlayChoice {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}
.krtAvatarOverlayChoice label {
  align-items: center;
  cursor: pointer;
  display: flex;
  gap: 10px;
}

/*
 * org.das-kartell.editor – Umbruch der Editor-Leiste und Editor als gerahmter Block.
 *
 * Die Datei liegt im Ordner style/ui/, damit WoltLab sie in die Stile des Forums und in den Stil
 * der Verwaltung übersetzt. Farben und Rundungen kommen aus den Stilvariablen von WoltLab; die
 * Regeln passen sich damit jedem Stil an. Beide Teile hängen an Klassen, die das Skript des
 * Plugins (js/KRT/Editor/Setup.js) je nach Einstellung an <html> setzt. Sie gelten nur für die
 * Leiste über dem Textfeld (.ck-editor__top .ck-sticky-panel__content > .ck-toolbar), nicht für
 * die Leisten in aufgeklappten Menüs und nicht für die schwebenden Leisten an Bildern, Tabellen
 * und Links.
 */
/*
 * Zweite Zeile statt Wegklappen (Klasse krtEditorWrap).
 *
 * CKEditor hält die Knöpfe der Leiste in einer Zeile und klappt Überzähliges in ein Menü am Ende
 * weg. Hier dürfen die Knöpfe umbrechen, und ihr Behälter darf schmaler werden als sein Inhalt;
 * weil so nichts mehr über den Rand der Leiste ragt, klappt CKEditor auch nichts mehr weg.
 */
.krtEditorWrap .ck-editor__top .ck-sticky-panel__content > .ck.ck-toolbar > .ck-toolbar__items {
  flex-shrink: 1;
  flex-wrap: wrap;
  min-width: 0;
}

/*
 * Editor als ein Block (Klasse krtEditorBlock): ein Rahmen um Leiste und Schreibfeld; die Reiter
 * darunter (Smileys, Dateianhänge, Einstellungen …) schließen mit ihrem eigenen Rahmen an.
 *
 * Der Rahmen liegt am Editor selbst. Die Rahmen, die CKEditor um die Leiste und um das Schreibfeld
 * zeichnet, entfallen dafür; sonst lägen zwei Linien nebeneinander.
 */
.krtEditorBlock {
  /*
   * Folgen die Reiter, bilden sie den unteren Abschluss des Blocks. Sie stehen
   *  - direkt hinter dem Editor (Antwort im Thema, Kommentare),
   *  - hinter der Zeile des Formulars, in der der Editor liegt (dl > dd, „Konversation starten“),
   *  - oder hinter dem Abschnitt, der mit dieser Zeile endet (Signatur).
   */
  /* Die Reiter behalten die Linien von WoltLab; nur die unteren Ecken werden rund. */
}
.krtEditorBlock .ck.ck-editor {
  border: 1px solid var(--wcfContentBorderInner);
  border-radius: var(--wcfBorderRadius);
  /* Beim Schreiben bekommt der ganze Block die Rahmenfarbe aktiver Eingabefelder. */
  /*
   * Farben der Knöpfe (Hover, aktiv) bleiben die des Stils: WoltLab steuert sie über die
   * Stilvariablen --wcfEditorButton…; hier wird nur die Form angepasst.
   */
  /*
   * Bleibt die Leiste beim Scrollen am oberen Rand stehen (…_sticky), behält sie die Linien
   * von CKEditor oben und unten; seitlich steht schon der Rahmen des Blocks.
   */
  /* Sonst entfällt der Rahmen von CKEditor um die Leiste ganz. */
  /*
   * WoltLab nimmt dem Schreibfeld jede Rundung (mit !important), weil sich ohne :has() nicht
   * erkennen ließ, ob Reiter folgen. Hier ist das bekannt: Ohne Reiter folgt das Schreibfeld
   * den unteren Ecken des Blocks, mit Reitern bleibt es eckig (siehe unten).
   */
}
.krtEditorBlock .ck.ck-editor:focus-within {
  border-color: var(--wcfInputBorderActive);
}
.krtEditorBlock .ck.ck-editor .ck-editor__top .ck-sticky-panel__content > .ck-toolbar {
  padding: 4px 6px;
}
.krtEditorBlock .ck.ck-editor .ck-editor__top .ck-sticky-panel__content > .ck-toolbar > .ck-toolbar__items > .ck-button,
.krtEditorBlock .ck.ck-editor .ck-editor__top .ck-sticky-panel__content > .ck-toolbar > .ck-toolbar__items > .ck-dropdown > .ck-button {
  border-radius: var(--wcfBorderRadius);
}
.krtEditorBlock .ck.ck-editor .ck-editor__top .ck-sticky-panel__content > .ck-toolbar > .ck-toolbar__items > .ck-toolbar__separator {
  background-color: var(--wcfInputBorder);
}
.krtEditorBlock .ck.ck-editor .ck-editor__top .ck-sticky-panel .ck-sticky-panel__content_sticky {
  border-left-width: 0;
  border-right-width: 0;
}
.krtEditorBlock .ck.ck-editor .ck-editor__top .ck-sticky-panel .ck-sticky-panel__content:not(.ck-sticky-panel__content_sticky) {
  border: 0;
}
.krtEditorBlock .ck.ck-editor .ck-editor__top .ck-sticky-panel .ck-sticky-panel__content:not(.ck-sticky-panel__content_sticky) > .ck-toolbar {
  border-bottom: 1px solid var(--wcfContentBorderInner);
  border-radius: var(--wcfBorderRadius) var(--wcfBorderRadius) 0 0;
}
.krtEditorBlock .ck.ck-editor .ck-editor__main > .ck-editor__editable {
  background-color: var(--wcfInputBackground);
  border: 0;
  border-radius: 0 0 var(--wcfBorderRadius) var(--wcfBorderRadius) !important;
  box-shadow: none;
}
.krtEditorBlock .ck.ck-editor:has(+ .messageTabMenu),
.krtEditorBlock dl:has(+ .messageTabMenu) > dd > .ck.ck-editor,
.krtEditorBlock section:has(+ .messageTabMenu) > dl:last-child > dd > .ck.ck-editor {
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
}
.krtEditorBlock .ck.ck-editor:has(+ .messageTabMenu) .ck-editor__main > .ck-editor__editable,
.krtEditorBlock dl:has(+ .messageTabMenu) > dd > .ck.ck-editor .ck-editor__main > .ck-editor__editable,
.krtEditorBlock section:has(+ .messageTabMenu) > dl:last-child > dd > .ck.ck-editor .ck-editor__main > .ck-editor__editable {
  border-radius: 0 !important;
}
.krtEditorBlock .ck.ck-editor + .messageTabMenu,
.krtEditorBlock dl:has(> dd > .ck.ck-editor) + .messageTabMenu,
.krtEditorBlock section:has(> dl:last-child > dd > .ck.ck-editor) + .messageTabMenu {
  /* Ist ein Reiter aufgeklappt, ist sein Inhalt der Abschluss, nicht die Reiterzeile. */
}
.krtEditorBlock .ck.ck-editor + .messageTabMenu > .messageTabMenuNavigation > ul,
.krtEditorBlock .ck.ck-editor + .messageTabMenu > .messageTabMenuContent.active,
.krtEditorBlock dl:has(> dd > .ck.ck-editor) + .messageTabMenu > .messageTabMenuNavigation > ul,
.krtEditorBlock dl:has(> dd > .ck.ck-editor) + .messageTabMenu > .messageTabMenuContent.active,
.krtEditorBlock section:has(> dl:last-child > dd > .ck.ck-editor) + .messageTabMenu > .messageTabMenuNavigation > ul,
.krtEditorBlock section:has(> dl:last-child > dd > .ck.ck-editor) + .messageTabMenu > .messageTabMenuContent.active {
  border-radius: 0 0 var(--wcfBorderRadius) var(--wcfBorderRadius);
}
.krtEditorBlock .ck.ck-editor + .messageTabMenu:has(> .messageTabMenuContent.active) > .messageTabMenuNavigation > ul,
.krtEditorBlock dl:has(> dd > .ck.ck-editor) + .messageTabMenu:has(> .messageTabMenuContent.active) > .messageTabMenuNavigation > ul,
.krtEditorBlock section:has(> dl:last-child > dd > .ck.ck-editor) + .messageTabMenu:has(> .messageTabMenuContent.active) > .messageTabMenuNavigation > ul {
  border-radius: 0;
}

/*
 * org.das-kartell.news – Stile des Formulars „Neuigkeit hinzufügen/bearbeiten“: Bildausschnitt,
 * Titelbild-Generator und Suchfeld für das Linkziel.
 *
 * Das Formular gibt es im Forum und im ACP. Die Datei liegt deshalb im Ordner style/ui/: WoltLab
 * übersetzt diesen Ordner in jeden Stil des Forums und in den Stil der Verwaltung. Farben kommen
 * ausschließlich aus den Stilvariablen (var(--wcf…)).
 */
/* Vorschau des Bildausschnitts im Formular (shared_krtNewsImagePosition.tpl). */
.krtNewsImagePosition__previews {
  align-items: flex-start;
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.krtNewsImagePosition__frame {
  margin: 0;
}
.krtNewsImagePosition__frame figcaption {
  color: var(--wcfContentDimmedText);
  font-size: var(--wcfFontSizeSmall);
  margin-top: 5px;
}

.krtNewsImagePosition__image {
  background-color: var(--wcfContentContainerBackground);
  border-radius: var(--wcfBorderRadius);
  display: block;
  object-fit: cover;
}

/* Karte: 16:9 wie in der Box. Aufmacher: so flach wie in der Box (etwa 500 × 220). */
.krtNewsImagePosition__frame--card .krtNewsImagePosition__image {
  aspect-ratio: 16/9;
  width: 240px;
}

.krtNewsImagePosition__frame--featured .krtNewsImagePosition__image {
  aspect-ratio: 500/220;
  width: 400px;
}

.krtNewsImagePosition__sliders {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 30px;
  margin-top: 10px;
}
.krtNewsImagePosition__sliders label {
  align-items: center;
  display: inline-flex;
  gap: 10px;
}

/* Titelbild-Generator im Formular (shared_krtNewsCoverGenerator.tpl). */
.krtNewsCover__preview {
  margin: 12px 0;
  max-width: 640px;
}

.krtNewsCover__preview canvas {
  aspect-ratio: 16/9;
  border-radius: var(--wcfBorderRadius);
  display: block;
  height: auto;
  width: 100%;
}

.krtNewsCover__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 10px 0;
}

/* Suchfeld für das Ziel „Forenthema“ und „Kalendertermin“ (shared_krtNewsTargetSearch.tpl). */
.krtNewsTargetSearch__selected {
  align-items: center;
  color: var(--wcfContentText);
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 8px;
}

.krtNewsTargetSearch__results {
  background-color: var(--wcfDropdownBackground);
  border: 1px solid var(--wcfDropdownBorderInner);
  border-radius: var(--wcfBorderRadius);
  box-shadow: var(--wcfBoxShadow);
  list-style: none;
  margin: 4px 0 8px;
  max-height: 320px;
  max-width: 640px;
  overflow-y: auto;
  padding: 4px 0;
}

.krtNewsTargetSearch__result {
  background: none;
  border: 0;
  color: var(--wcfDropdownLink);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 6px 12px;
  text-align: left;
  width: 100%;
}
.krtNewsTargetSearch__result:hover, .krtNewsTargetSearch__result:focus-visible {
  background-color: var(--wcfDropdownBackgroundActive);
  color: var(--wcfDropdownLinkActive);
}

.krtNewsTargetSearch__resultMeta {
  color: var(--wcfContentDimmedText);
}

/* #### Labels #### */
/* label list */
.labelList {
  display: flex;
  flex-wrap: wrap;
  /* adds a comma after each list item */
  /* adds a dot after each list item */
  display: inline-flex;
}
.labelList > li {
  flex: 0 1 auto;
}
.labelList > li:not(:last-child) {
  margin-right: 5px;
}
.labelList.commaSeparated > li:not(:last-child):after {
  content: ",";
  padding-left: 1px;
}
.labelList.dotSeparated > li:not(:last-child):after {
  content: "•";
  margin-left: 5px;
}
.labelList > li:not(:first-child) .label {
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
}
.labelList > li:not(:last-child) {
  margin-right: 1px;
}
.labelList > li:not(:last-child) .label {
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
}
.labelList > li .label {
  top: -1px;
}

/* ACP label list */
#labelList > li {
  flex-basis: 30%;
  margin-bottom: 10px;
}
#labelList > li.labelCustomClass {
  display: flex;
}
#labelList > li.labelCustomClass > input[type=radio] {
  flex: 0 0 auto;
  margin-right: 7px;
}
#labelList > li.labelCustomClass > span {
  flex: 1 1 auto;
}

.labelChooser > .dropdownToggle > span {
  cursor: pointer;
}

.labelSelection {
  column-gap: 10px;
  display: grid;
  grid-auto-flow: row;
  grid-template-columns: repeat(3, 1fr);
}

.labelSelection__label {
  display: flex;
  flex: 1 1 auto;
  align-items: center;
  margin-bottom: 10px;
}

.labelSelection__radio {
  flex: 0 0 auto;
  margin-right: 7px;
}

.labelSelection__span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.labelSelection__custom {
  display: flex;
}

.labelSelection__custom .labelSelection__span {
  flex: 1 1 auto;
}

.likesSummary {
  color: var(--wcfContentDimmedText);
  cursor: pointer;
  flex: 0 0 auto;
}
.likesSummary > .icon {
  color: var(--wcfContentDimmedText);
  margin-right: 5px;
}

.wcfLikeCounter {
  color: var(--wcfContentDimmedText);
}
.wcfLikeCounter .icon {
  color: inherit !important;
}
.wcfLikeCounter.likeCounterLiked {
  color: #060 !important;
}
.wcfLikeCounter.likeCounterDisliked {
  color: #900 !important;
}

html.touch .wcfLikeButton > .button:not(.active):hover,
html.touch .wcfDislikeButton > .button:not(.active):hover {
  background-color: var(--wcfButtonBackground) !important;
  color: var(--wcfButtonText) !important;
}

.sortableList:not(.tabularList) {
  list-style: decimal outside;
  margin-left: 20px;
}
.sortableList:not(.tabularList) .sortableList {
  margin-left: 30px;
}

.sortableNode {
  cursor: move;
}
.sortableNode:not(:last-child) {
  border-bottom: 1px solid var(--wcfContentBorderInner);
}
.sortableNode > .sortableList:not(:empty) {
  border-top: 1px solid var(--wcfContentBorderInner);
}

.sortableNodeLabel {
  align-items: center;
  padding: 10px;
  /* `display:flex` acts weird inside lists with a visible list-style */
  display: inline-flex;
  width: 100%;
}
.sortableNodeLabel:hover {
  background-color: var(--wcfTabularBoxBackgroundActive);
}
.sortableNodeLabel:not(.sortableNodeStaticItem) {
  cursor: move;
}
.sortableNodeLabel > a {
  margin-right: 5px;
}
.sortableNodeLabel > a {
  flex: 0 1 auto;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.sortableNodeLabel > .statusDisplay {
  align-items: center;
  display: flex;
  flex: 1 0 auto;
  justify-content: flex-end;
}
.sortableNodeLabel > .statusDisplay > a,
.sortableNodeLabel > .statusDisplay > button,
.sortableNodeLabel > .statusDisplay > span {
  flex: 0 0 auto;
  margin-left: 5px;
}
.sortableNodeLabel > .statusDisplay fa-icon {
  color: var(--wcfContentText);
}

.sortablePlaceholder {
  background-color: var(--wcfStatusWarningBackground);
  border: 1px solid var(--wcfStatusWarningBorder);
  color: var(--wcfStatusWarningText);
}
.sortablePlaceholder.sortableInvalidTarget {
  background-color: var(--wcfStatusErrorBackground);
  border-color: var(--wcfStatusErrorBorder);
  color: var(--wcfStatusErrorText);
}
.sortablePlaceholder .sortableNodeLabel, .sortablePlaceholder:is(tr):hover > td {
  background-color: transparent;
}

.table tr.sortablePlaceholder:hover > td {
  background-color: transparent;
}

@media screen and (max-width: 544px) {
  .sortableNodeHandle {
    display: none;
  }
}
@media screen and (min-width: 1025px), print {
  .sortableNodeHandle {
    display: none;
  }
}
/* element list with checkboxes */
.structuredList {
  border: 1px solid rgb(79, 129, 189);
  border-width: 1px 0;
}
.structuredList li {
  display: flex;
  padding: 10px 0;
}
.structuredList li:not(:first-child) {
  border-top: 1px solid rgb(238, 238, 238);
}
.structuredList li:hover {
  background-color: var(--wcfTabularBoxBackgroundActive);
}
.structuredList li > span {
  flex: 1 1 auto;
}
.structuredList li > label {
  cursor: pointer;
  flex: 0 0 auto;
}
.structuredList li > span,
.structuredList li > label {
  padding: 0 10px;
}

.listView__header {
  border-bottom: 2px solid var(--wcfTabularBoxHeadline);
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 5px;
  padding-bottom: 5px;
}

@media screen and (max-width: 768px) {
  .listView__header {
    margin-bottom: 10px;
  }
}
@media screen and (min-width: 769px), print {
  .listView__header {
    margin-bottom: 20px;
  }
}
.listView__filters {
  display: flex;
  gap: 5px;
  flex-wrap: wrap;
}

.listView__header__buttons {
  display: flex;
  gap: 5px;
  margin-inline-start: auto;
}

.listView__header__button {
  display: flex;
}

@media screen and (max-width: 544px) {
  .listView.listView--editMode .listView__editMode__toggle,
  .listView:not(:has(.listView__item__buttons)) .listView__editMode__toggle {
    display: none;
  }
  .listView:not(.listView--editMode) .listView__selectAllItems__label,
  .listView:not(.listView--editMode) .listView__item__buttons {
    display: none;
  }
}
@media screen and (min-width: 545px), print {
  .listView__editMode__toggle {
    display: none;
  }
}
.listView__sorting__button.ASC::after,
.listView__sorting__button.DESC::after {
  display: inline-block;
  margin-left: 5px;
}

.listView__sorting__button.ASC::after {
  content: "↑";
}

.listView__sorting__button.DESC::after {
  content: "↓";
}

.listView__footer {
  bottom: -10px;
  display: flex;
  justify-content: center;
  gap: 10px;
  min-height: 54px;
  padding: 20px 0;
  position: sticky;
  z-index: 2;
}

@media screen and (max-width: 768px) {
  .listView__footer {
    margin-bottom: -10px;
  }
}
@media screen and (min-width: 769px), print {
  .listView__footer {
    margin-bottom: -20px;
  }
}
.listView__footer__container {
  backdrop-filter: blur(24px);
  background-color: rgb(var(--wcfContentContainerBackground-rgb)/78%);
  border: 1px solid transparent;
  border-radius: var(--wcfBorderRadiusContainer);
  box-shadow: var(--wcfBoxShadow);
  display: flex;
  gap: 21px;
  padding: 10px;
}

.listView__selectionBar:not([hidden]) + .listView__pagination:not(:has(woltlab-core-pagination[count="1"]))::before {
  bottom: 0;
  border-left: 1px solid var(--wcfContentContainerBorder);
  content: "";
  position: absolute;
  transform: translateX(-10px);
  top: 0;
}

@media screen and (max-width: 544px) {
  .listView__footer__container {
    align-items: center;
    flex-direction: column;
  }
  .listView__selectionBar:not([hidden]) + .listView__pagination:not(:has(woltlab-core-pagination[count="1"]))::before {
    border-left-width: 0;
    border-top: 1px solid var(--wcfContentContainerBorder);
    inset: auto 0;
    transform: translateY(-10px);
  }
}
html[data-color-scheme=dark] .listView__footer__container {
  border-color: var(--wcfContentContainerBorder);
}

.listView {
  position: relative;
}

.listView .info {
  margin-top: 0;
}

.listView__selectAllItems,
.listView__selectItem {
  cursor: pointer;
  height: 18px;
  width: 18px;
}

.listView__selectAllItems__label,
.listView__selectItem__label {
  align-items: center;
  cursor: pointer;
  display: flex;
  padding: 0 6px;
}

.listView__item__markAsRead {
  align-items: center;
  display: flex;
  padding: 0 5px;
}

.listView__item__unread__indicator {
  background-color: var(--wcfButtonPrimaryBackground);
  border-radius: 50%;
  display: inline-block;
  height: 10px;
  width: 10px;
}

@media (hover: hover) {
  .listView__item__markAsRead:hover .listView__item__unread__indicator {
    background-color: var(--wcfButtonPrimaryBackgroundActive);
  }
}
.listView__filter__list {
  display: grid;
  gap: 20px;
  grid-auto-flow: row;
  grid-template-columns: 1fr 1fr;
}

.listView__filter__item {
  margin: 0 !important;
}

@media screen and (max-width: 544px) {
  .listView__filter__list {
    grid-template-columns: 1fr;
  }
}
.loading-indicator {
  align-items: center;
  display: inline-flex;
  justify-content: center;
  padding: var(--padding);
}

.loading-indicator[size="24"] {
  --font-size: var(--wcfFontSizeSmall);
  --padding: 10px;
  --row-gap: 0;
}

.loading-indicator[size="48"] {
  --font-size: var(--wcfFontSizeDefault);
  --padding: 10px;
  --row-gap: 5px;
}

.loading-indicator[size="96"] {
  --font-size: var(--wcfFontSizeHeadline);
  --padding: 20px;
  --row-gap: 10px;
}

.loading-indicator__wrapper {
  display: grid;
  justify-items: center;
  row-gap: var(--row-gap);
}

.loading-indicator__text {
  font-size: var(--font-size);
}

/**
 * Stile des ACP-Änderungsprotokolls (Detaildialog).
 *
 * @author MDCommander
 * @copyright 2026 MDMAN Productions
 * @license MDMAN Productions Softwarelizenz <https://www.mdman.de/license/MDMANProductionsSoftwareLizenz.txt>
 */
.mdmanAcpChangeLogDetail {
  min-width: min(800px, 90vw);
}
.mdmanAcpChangeLogDetail > dl {
  margin-bottom: 5px;
}
.mdmanAcpChangeLogDetail .tabularBox {
  margin-top: 20px;
}

.mdmanAcpChangeLogDetail__value {
  font-family: var(--wcfFontFamilyMonospace);
  white-space: pre-wrap;
  word-break: break-word;
}

.innerInfo + .mediaManagerMediaUploadButton {
  margin-top: 5px;
}

.mediaManagerMediaUploadButton > .button {
  margin: 0;
  text-align: center;
  width: 100%;
}
.mediaManagerMediaUploadButton > .button > input {
  width: 100%;
}

.mediaManagerMediaList {
  font-size: 0;
  margin-top: 5px;
}
.mediaManagerMediaList::before, .mediaManagerMediaList::after {
  display: table;
  content: "";
}
.mediaManagerMediaList::after {
  clear: both;
}
.mediaManagerMediaList > li {
  float: left;
  position: relative;
  border: 1px solid #eee;
  overflow: hidden;
  font-size: 1rem;
  margin: 0 10px 10px 0;
}
.mediaManagerMediaList > li.jsMarked > .mediaInformation,
.mediaManagerMediaList > li.jsMarked > .buttonGroupNavigation {
  background-color: rgb(var(--wcfButtonPrimaryBackground-rgb)/80%);
  color: var(--wcfButtonPrimaryText);
}
.mediaManagerMediaList > li.jsMarked > .mediaInformation a,
.mediaManagerMediaList > li.jsMarked > .buttonGroupNavigation a {
  color: var(--wcfButtonPrimaryText);
}
.mediaManagerMediaList > li.jsMarked > .mediaInformation fa-icon,
.mediaManagerMediaList > li.jsMarked > .buttonGroupNavigation fa-icon {
  color: var(--wcfButtonPrimaryText);
  text-shadow: none;
}
.mediaManagerMediaList > li.jsSelected > .mediaInformation,
.mediaManagerMediaList > li.jsSelected > .buttonGroupNavigation {
  background-color: rgba(0, 128, 0, 0.8);
  color: white;
}
.mediaManagerMediaList > li.jsSelected > .mediaInformation a,
.mediaManagerMediaList > li.jsSelected > .buttonGroupNavigation a {
  color: white;
}
.mediaManagerMediaList > li.jsSelected > .mediaInformation fa-icon,
.mediaManagerMediaList > li.jsSelected > .buttonGroupNavigation fa-icon {
  color: white;
  text-shadow: none;
}
.mediaManagerMediaList > li.uploadFailed {
  cursor: pointer;
}
.mediaManagerMediaList > li.uploadFailed > .mediaInformation {
  background-color: var(--wcfStatusErrorBackground);
  color: var(--wcfStatusErrorText);
}
.mediaManagerMediaList > li.uploadFailed > .mediaInformation .mediaTitle {
  max-height: 144px;
  white-space: normal;
}
.mediaManagerMediaList > li > .mediaThumbnail {
  height: 144px;
  width: 144px;
}
.mediaManagerMediaList > li > .mediaInformation {
  position: absolute;
  bottom: 0;
  background: rgba(0, 0, 0, 0.6);
  color: #fff;
  width: 100%;
  padding: 5px 10px;
  box-sizing: border-box;
  font-weight: 400;
}
@media screen and (min-width: 769px), print {
  .mediaManagerMediaList > li > .mediaInformation {
    font-size: var(--wcfFontSizeSmall);
  }
}
@media screen and (max-width: 768px) {
  .mediaManagerMediaList > li > .mediaInformation {
    font-size: 12px;
  }
}
.mediaManagerMediaList > li > .mediaInformation .mediaTitle {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.mediaManagerMediaList > li > .buttonGroupNavigation {
  position: absolute;
  top: 0;
  right: 0;
  overflow: hidden;
  background: rgba(0, 0, 0, 0.6);
}
@media screen and (min-width: 1025px), print {
  .mediaManagerMediaList > li > .buttonGroupNavigation fa-icon {
    color: #fff;
    text-shadow: 0 -1px 0 var(--wcfTextShadowLight);
  }
}
@media screen and (max-width: 1024px) {
  .mediaManagerMediaList > li .buttonGroupNavigation.open {
    left: 0;
    z-index: 10;
  }
  .mediaManagerMediaList > li .buttonGroupNavigation.open > .buttonList {
    display: block;
    visibility: visible;
  }
  .mediaManagerMediaList > li .buttonGroupNavigation > .dropdownLabel {
    left: calc(100% - 24px);
    position: relative;
  }
  .mediaManagerMediaList > li .buttonGroupNavigation > .dropdownLabel fa-icon {
    color: #fff;
    text-shadow: 0 -1px 0 var(--wcfTextShadowLight);
  }
  .mediaManagerMediaList > li .buttonGroupNavigation > .buttonList {
    background-color: var(--wcfDropdownBackground);
    border-radius: 4px;
    box-shadow: var(--wcfBoxShadow);
    color: var(--wcfDropdownText);
    display: none;
    min-width: 160px;
    padding: 4px 0;
    pointer-events: all;
    position: fixed;
    text-align: left;
    visibility: hidden;
    z-index: 450;
    position: static !important;
    top: 0;
  }
  .mediaManagerMediaList > li .buttonGroupNavigation > .buttonList.dropdownMenuPageSearch {
    border-top-left-radius: 0;
    border-top-right-radius: 0;
  }
  .mediaManagerMediaList > li .buttonGroupNavigation > .buttonList.dropdownOpen {
    display: block;
    visibility: visible;
  }
  .mediaManagerMediaList > li .buttonGroupNavigation > .buttonList li {
    display: block;
  }
  .mediaManagerMediaList > li .buttonGroupNavigation > .buttonList li:hover:not(.dropdownDivider):not(.dropdownList):not(.dropdownText), .mediaManagerMediaList > li .buttonGroupNavigation > .buttonList li:focus-within:focus-visible, .mediaManagerMediaList > li .buttonGroupNavigation > .buttonList li.dropdownList > li:hover:not(.dropdownDivider), .mediaManagerMediaList > li .buttonGroupNavigation > .buttonList li.dropdownNavigationItem, .mediaManagerMediaList > li .buttonGroupNavigation > .buttonList li.active {
    background-color: var(--wcfDropdownBackgroundActive);
    color: var(--wcfDropdownLinkActive);
  }
  .mediaManagerMediaList > li .buttonGroupNavigation > .buttonList li:hover:not(.dropdownDivider):not(.dropdownList):not(.dropdownText) > :is(a, button), .mediaManagerMediaList > li .buttonGroupNavigation > .buttonList li:focus-within:focus-visible > :is(a, button), .mediaManagerMediaList > li .buttonGroupNavigation > .buttonList li.dropdownList > li:hover:not(.dropdownDivider) > :is(a, button), .mediaManagerMediaList > li .buttonGroupNavigation > .buttonList li.dropdownNavigationItem > :is(a, button), .mediaManagerMediaList > li .buttonGroupNavigation > .buttonList li.active > :is(a, button) {
    color: var(--wcfDropdownLinkActive);
  }
  .mediaManagerMediaList > li .buttonGroupNavigation > .buttonList li.dropdownDivider {
    border-top: 1px solid var(--wcfDropdownBorderInner);
    margin: 4px 0;
  }
  .mediaManagerMediaList > li .buttonGroupNavigation > .buttonList li.dropdownText {
    padding: 6px 12px;
    font-weight: 400;
  }
}
@media screen and (max-width: 1024px) and (min-width: 769px) {
  .mediaManagerMediaList > li .buttonGroupNavigation > .buttonList li.dropdownText {
    font-size: var(--wcfFontSizeSmall);
  }
}
@media screen and (max-width: 1024px) and (max-width: 768px) {
  .mediaManagerMediaList > li .buttonGroupNavigation > .buttonList li.dropdownText {
    font-size: 12px;
  }
}
@media screen and (max-width: 1024px) {
  .mediaManagerMediaList > li .buttonGroupNavigation > .buttonList li.boxFlag {
    padding-top: 2px;
  }
  .mediaManagerMediaList > li .buttonGroupNavigation > .buttonList li.missingValue > span {
    padding-right: 40px;
    position: relative;
  }
  .mediaManagerMediaList > li .buttonGroupNavigation > .buttonList li.disabled {
    color: var(--wcfContentDimmedText);
  }
  .mediaManagerMediaList > li .buttonGroupNavigation > .buttonList li.disabled > span {
    cursor: not-allowed !important;
  }
  .mediaManagerMediaList > li .buttonGroupNavigation > .buttonList li > :is(a, button, span) {
    clear: both;
    cursor: pointer;
    display: block;
    max-width: 350px;
    overflow: hidden;
    padding: 6px 12px;
    text-decoration: none;
    text-overflow: ellipsis;
    user-select: none;
    white-space: nowrap;
    word-wrap: normal;
  }
  .mediaManagerMediaList > li .buttonGroupNavigation > .buttonList li > :is(a, button, span) > div > h3 {
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .mediaManagerMediaList > li .buttonGroupNavigation > .buttonList li > button {
    width: 100%;
  }
  .mediaManagerMediaList > li .buttonGroupNavigation > .buttonList li > :is(a, button) {
    color: var(--wcfDropdownLink);
  }
  .mediaManagerMediaList > li .buttonGroupNavigation > .buttonList li > a > small {
    display: block;
  }
  .mediaManagerMediaList > li .buttonGroupNavigation > .buttonList li > :is(a, button) + span.badge {
    display: none;
  }
  .mediaManagerMediaList > li .buttonGroupNavigation > .buttonList li > .box16 {
    align-items: center;
    cursor: pointer;
    min-height: 0;
    padding: 5px 10px;
  }
  .mediaManagerMediaList > li .buttonGroupNavigation > .buttonList li > label {
    display: block;
  }
  .mediaManagerMediaList > li .buttonGroupNavigation > .buttonList li .containerHeadline {
    margin-bottom: 0;
  }
  .mediaManagerMediaList > li .buttonGroupNavigation > .buttonList li .containerHeadline > p {
    font-weight: 400;
  }
}
@media screen and (max-width: 1024px) and (min-width: 769px) {
  .mediaManagerMediaList > li .buttonGroupNavigation > .buttonList li .containerHeadline > p {
    font-size: var(--wcfFontSizeSmall);
  }
}
@media screen and (max-width: 1024px) and (max-width: 768px) {
  .mediaManagerMediaList > li .buttonGroupNavigation > .buttonList li .containerHeadline > p {
    font-size: 12px;
  }
}
@media screen and (max-width: 1024px) {
  .mediaManagerMediaList > li .buttonGroupNavigation > .buttonList .scrollableDropdownMenu {
    max-height: 300px;
    overflow: auto;
  }
  .mediaManagerMediaList > li .buttonGroupNavigation > .buttonList .scrollableDropdownMenu.forceScrollbar {
    overflow-y: scroll;
    overflow-x: hidden;
  }
}
@media screen and (max-width: 1024px) and (min-width: 769px) {
  .mediaManagerMediaList > li .buttonGroupNavigation > .buttonList .dropdownMenu.pageHeaderSearchDropdown {
    transform: translateY(-10px);
  }
}
@media screen and (max-width: 1024px) {
  .mediaManagerMediaList > li .buttonGroupNavigation > .buttonList > li .invisible {
    display: inline;
    padding-left: 5px;
  }
}
@media screen and (min-width: 1025px), print {
  .mediaManagerMediaList > li .buttonGroupNavigation {
    transition: opacity 0.12s;
  }
  .mediaManagerMediaList > li .buttonGroupNavigation > .dropdownLabel {
    display: none;
  }
}
@media screen and (min-width: 769px), print {
  .mediaManagerMediaList > li > .buttonGroupNavigation {
    height: 0;
  }
  .mediaManagerMediaList > li:hover > .buttonGroupNavigation {
    height: auto;
    padding: 10px;
  }
}
@media screen and (max-width: 1024px) {
  .mediaManagerMediaList > li > .buttonGroupNavigation .mediaCheckbox {
    display: none !important;
  }
}

[id^=mediaEditor] .mediaEditorButtons {
  margin-bottom: 20px;
}
[id^=mediaEditor] .mediaThumbnail {
  text-align: center;
  margin-bottom: 20px;
}
[id^=mediaEditor] .mediaThumbnail + .box48 > dl {
  font-size: var(--wcfFontSizeSmall);
}

.mediaManagerCategoryList {
  margin-bottom: 5px;
}

.button.jsMediaSelectButton + .button {
  margin-left: 5px;
}

@media screen and (min-width: 769px), print {
  .messageList:not(.messageReducedList) {
    border-top: 1px solid var(--wcfContentBorder);
  }
  .messageList:not(.messageReducedList) > li {
    border-bottom: 1px solid var(--wcfContentBorder);
    padding: 30px 0;
  }
  .messageList:not(.messageReducedList) > li.messageListPagination:last-child {
    border-bottom-width: 0;
  }
}
@media screen and (max-width: 768px) {
  .messageList:not(.messageReducedList) .messageSidebar {
    border-top: 1px solid var(--wcfContentBorder);
  }
  .messageList:not(.messageReducedList) > li:first-child .messageSidebar {
    border-radius: var(--wcfBorderRadius) var(--wcfBorderRadius) 0 0;
    border-top-color: var(--wcfSidebarBorder);
  }
  .messageList:not(.messageReducedList) > .messageListPagination {
    border-top: 1px solid var(--wcfContentBorder);
    margin: 0 -10px;
    padding: 20px 10px;
  }
}
.messageList:not(.messageReducedList) > .messageListNotice > .info {
  margin-top: 0;
}
@media screen and (min-width: 769px), print {
  .messageList.messageReducedList > li:not(:last-child) {
    padding-bottom: 30px;
  }
}
.messageList > .anchorFixedHeader:not(.disableAnchorFixedHeader):target {
  margin-top: -49px;
  pointer-events: none;
  position: relative;
  z-index: 10;
}
.messageList > .anchorFixedHeader:not(.disableAnchorFixedHeader):target::after {
  content: "";
  display: block;
  height: 50px;
}
.messageList > .anchorFixedHeader:not(.disableAnchorFixedHeader):target > .message {
  pointer-events: all;
  transform: translateY(49px);
}
@media screen and (max-width: 768px) {
  .messageList > li:not(:last-child) {
    padding-bottom: 30px;
  }
}

@media screen and (min-width: 769px), print {
  .message {
    display: flex;
  }
}
.message .messageClipboardCheckbox {
  display: block;
  height: 24px;
  width: 24px;
}
.message .messageClipboardCheckbox input[type=checkbox] {
  height: 18px;
  width: 18px;
}

/* sidebar */
.messageSidebar {
  background-color: var(--wcfSidebarBackground);
  border: 1px solid var(--wcfSidebarBorder);
  border-width: 1px 0;
  color: var(--wcfSidebarText);
  position: relative;
}
@media screen and (min-width: 769px), print {
  .messageSidebar {
    align-self: flex-start;
    border-radius: var(--wcfBorderRadius);
    border-width: 1px;
    text-align: center;
  }
  .messageSidebar .username {
    /* required to fix wrapping behavior in combination with
       `overflow-wrap` / `word-wrap` */
    display: block;
  }
}
@media screen and (min-width: 769px) and (max-width: 1024px) {
  .messageSidebar {
    flex: 0 0 200px;
    padding: 15px;
  }
  .messageSidebar + .messageContent {
    flex-basis: calc(100% - 220px);
    margin-left: 20px;
    max-width: calc(100% - 220px);
  }
}
@media screen and (min-width: 1025px), print {
  .messageSidebar {
    flex: 0 0 240px;
    padding: 20px;
  }
  .messageSidebar + .messageContent {
    flex-basis: calc(100% - 270px);
    margin-left: 30px;
    max-width: calc(100% - 270px);
  }
}
@media screen and (max-width: 768px) {
  .messageSidebar {
    margin: 0 -10px;
    padding: 10px;
  }
  .messageSidebar .messageAuthor {
    flex: 0 0 auto;
    /* equals the height of the avatar */
    min-height: 48px;
    position: relative;
    /* force username to be vertically centered for quick reply */
  }
  .messageSidebar .messageAuthor .userAvatar {
    display: block;
    margin: 0;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
  }
  .messageSidebar .messageAuthor .userAvatar .userAvatarImage {
    max-height: 48px;
    max-width: 48px;
  }
  .messageSidebar .messageAuthor .messageAuthorContainer,
  .messageSidebar .messageAuthor .userTitle,
  .messageSidebar .messageAuthor .userRank {
    margin-left: 58px;
  }
  .messageSidebar .messageAuthor .messageAuthorContainer:last-child {
    align-items: center;
    display: flex;
    height: 100%;
    position: absolute;
  }
  .messageSidebar .userCredits {
    display: none;
  }
  .messageSidebar + .messageContent {
    margin-top: 20px;
  }
}
.messageSidebar a {
  color: var(--wcfSidebarLink);
}
.messageSidebar a:hover {
  color: var(--wcfSidebarLinkActive);
}
.messageSidebar .dataList {
  font-weight: 400;
}
@media screen and (min-width: 769px), print {
  .messageSidebar .dataList {
    font-size: var(--wcfFontSizeSmall);
  }
}
@media screen and (max-width: 768px) {
  .messageSidebar .dataList {
    font-size: 12px;
  }
}
.messageSidebar .userAvatar {
  display: inline-block;
  position: relative;
  margin-bottom: 10px;
}
.messageSidebar .userAvatar > a {
  display: inline-block;
}
.messageSidebar .username {
  display: inline-block;
  font-weight: 400;
  line-height: 1.28;
}
@media screen and (min-width: 769px), print {
  .messageSidebar .username {
    font-size: var(--wcfFontSizeHeadline);
  }
}
@media screen and (max-width: 768px) {
  .messageSidebar .username {
    font-size: 18px;
  }
}
.messageSidebar .badgeOnline {
  left: 0;
  pointer-events: none;
  position: absolute;
}
@media screen and (min-width: 769px), print {
  .messageSidebar .badgeOnline {
    bottom: 0;
  }
}
@media screen and (max-width: 768px) {
  .messageSidebar .badgeOnline {
    color: transparent;
    padding: 0;
    top: 0;
    width: 0;
  }
  .messageSidebar .badgeOnline::before {
    background-color: inherit;
    border: 1px solid rgb(255, 255, 255);
    border-radius: 50%;
    content: "";
    height: 16px;
    left: 34px; /* 48px (avatar) - 16px (width) - 2px (border-left + border-right) */
    position: absolute;
    width: 16px;
  }
}
.messageSidebar .userTitle + .userRank {
  margin-top: 3px;
}

@media screen and (max-width: 768px) {
  .messageSidebar .badgeOnline {
    overflow: visible;
  }
  .messageSidebar .badgeOnline::before {
    border-color: #47cd54;
  }
}
.messageAuthor + * {
  margin-top: 20px;
}
.messageAuthor + *:before {
  content: "";
  left: 0;
  margin-top: -10px;
  position: absolute;
  right: 0;
}

/* Prevents username overflow in the message sidebar */
.messageAuthorContainer {
  overflow: hidden;
}

@media screen and (min-width: 769px), print {
  .messageAuthorContainer:not(:last-child) {
    margin-bottom: 5px;
  }
}

.messageSidebarOrientationRight .messageContent {
  order: 1;
}
.messageSidebarOrientationRight .messageSidebar {
  order: 2;
}
.messageSidebarOrientationRight .messageSidebar + .messageContent {
  margin-left: 20px;
  margin-right: 30px;
}

/* content */
@media screen and (max-width: 768px) {
  .messageContent {
    position: relative;
  }
}
@media screen and (min-width: 769px), print {
  .messageContent {
    display: flex;
    /* do not use `flex: 1 1 0%` as it causes Mobile Safari to fail */
    flex: 1;
    flex-direction: column;
  }
}
.messageContent.loading {
  position: relative;
}
.messageContent.loading > .messageContentLoadingOverlay {
  align-items: center;
  background-color: var(--wcfContentBackground);
  display: flex;
  inset: 0;
  justify-content: center;
  position: absolute;
  z-index: 2;
}

/* content - header */
.messageHeader {
  display: flex;
  justify-content: flex-end;
}
@media screen and (min-width: 769px), print {
  .messageHeader {
    flex: 0 0 auto;
  }
}
.messageHeader + .messageBody {
  margin-top: 20px;
}
.messageHeader > .messageQuickOptions {
  flex: 0 0 auto;
}
.messageHeader > .messageHeaderWrapper {
  align-items: center;
  flex: 1 1 auto;
}

.messageHeaderBox {
  align-items: center;
  display: flex;
  flex: 1 1 auto;
  flex-wrap: wrap;
}
.messageHeaderBox > .messageTitle {
  flex: 0 0 100%;
}
.messageHeaderBox > .messageHeaderMetaData,
.messageHeaderBox > .messageStatus {
  flex: 0 0 auto;
}

.messageTitle {
  color: var(--wcfContentHeadlineText);
}
.messageTitle a {
  color: var(--wcfContentHeadlineLink);
}
.messageTitle a:hover {
  color: var(--wcfContentHeadlineLinkActive);
}

.messageHeaderMetaData {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  /* adds a comma after each list item */
  /* adds a dot after each list item */
  font-weight: 400;
}
.messageHeaderMetaData > li {
  flex: 0 1 auto;
}
.messageHeaderMetaData > li:not(:last-child) {
  margin-right: 5px;
}
.messageHeaderMetaData.commaSeparated > li:not(:last-child):after {
  content: ",";
  padding-left: 1px;
}
.messageHeaderMetaData.dotSeparated > li:not(:last-child):after {
  content: "•";
  margin-left: 5px;
}
.messageHeaderMetaData > li:not(:last-child):after {
  content: "•";
  margin-left: 5px;
}
@media screen and (min-width: 769px), print {
  .messageHeaderMetaData {
    font-size: var(--wcfFontSizeSmall);
  }
}
@media screen and (max-width: 768px) {
  .messageHeaderMetaData {
    font-size: 12px;
  }
}
.messageHeaderMetaData .messagePublicationTime {
  color: var(--wcfContentDimmedText);
}
.messageHeaderMetaData + .messageStatus {
  margin-left: 5px;
}

.messageStatus {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  /* adds a comma after each list item */
  /* adds a dot after each list item */
  font-weight: 400;
}
.messageStatus > li {
  flex: 0 1 auto;
}
.messageStatus > li:not(:last-child) {
  margin-right: 5px;
}
.messageStatus.commaSeparated > li:not(:last-child):after {
  content: ",";
  padding-left: 1px;
}
.messageStatus.dotSeparated > li:not(:last-child):after {
  content: "•";
  margin-left: 5px;
}
@media screen and (min-width: 769px), print {
  .messageStatus {
    font-size: var(--wcfFontSizeSmall);
  }
}
@media screen and (max-width: 768px) {
  .messageStatus {
    font-size: 12px;
  }
}

.messageQuickOptions {
  column-gap: 5px;
  display: flex;
}
.messageQuickOptions a {
  color: inherit;
}
@media screen and (min-width: 769px), print {
  .messageQuickOptions .messageQuickOptionsMobile {
    display: none;
  }
}
@media screen and (max-width: 768px) {
  .messageQuickOptions:not(.active) {
    padding-right: 29px;
  }
  .messageQuickOptions li:not(.jsMessageClipboardCheckbox):not(.messageQuickOptionsMobile) {
    display: none;
  }
  .messageQuickOptions .jsMessageClipboardCheckbox,
  .messageQuickOptions .messageQuickOptionsMobile {
    align-items: center;
    display: flex;
    justify-content: center;
    height: 24px;
    width: 24px;
  }
}

/* content - body */
@media screen and (min-width: 769px), print {
  .messageBody {
    flex: 1 1 auto;
  }
}
.messageBody.editor {
  align-items: center;
  display: flex;
  justify-content: center;
}
.messageBody.editor > .editorContainer {
  flex: 1 1 auto;
}
.messageBody > .messageText img {
  height: auto !important;
  max-width: 100%;
}
.messageBody > *:first-child {
  margin-top: 0;
}

/* content - footer */
@media screen and (min-width: 769px), print {
  .messageFooter {
    flex: 0 0 auto;
  }
}
.messageFooter .formSubmit {
  margin-top: 20px;
}

.messageFooterNote {
  border-left: 5px solid var(--wcfContentBorderInner);
  color: var(--wcfContentDimmedText);
  margin-top: 20px;
  padding: 5px 10px;
  font-weight: 400;
}
@media screen and (min-width: 769px), print {
  .messageFooterNote {
    font-size: var(--wcfFontSizeSmall);
  }
}
@media screen and (max-width: 768px) {
  .messageFooterNote {
    font-size: 12px;
  }
}
.messageFooterNote a {
  color: var(--wcfContentDimmedLink);
}
.messageFooterNote a:hover {
  color: var(--wcfContentDimmedLinkActive);
  text-decoration: underline;
}

.messageFooterGroup {
  display: flex;
  flex-wrap: wrap;
}
.messageFooterGroup:not(:first-child) > woltlab-core-reaction-summary,
.messageFooterGroup:not(:first-child) > .messageFooterButtons,
.messageFooterGroup:not(:first-child) > .messageFooterButtonsExtra {
  margin-top: 20px;
}
.messageFooterGroup > woltlab-core-reaction-summary {
  align-self: center;
  flex: 0 1 auto;
  font-weight: 400;
}
@media screen and (min-width: 769px), print {
  .messageFooterGroup > woltlab-core-reaction-summary {
    font-size: var(--wcfFontSizeSmall);
  }
}
@media screen and (max-width: 768px) {
  .messageFooterGroup > woltlab-core-reaction-summary {
    font-size: 12px;
  }
}
@media screen and (min-width: 769px), print {
  .messageFooterGroup > .messageFooterButtons {
    flex: 1 1 auto;
  }
}
@media screen and (max-width: 768px) {
  .messageFooterGroup > .messageFooterButtons {
    margin-left: auto;
  }
  .messageFooterGroup > .messageFooterButtons .button:not(.reactButton) {
    display: none;
  }
  .messageFooterGroup > .messageFooterButtons .button.reactButton {
    border-radius: var(--wcfBorderRadius);
  }
}
@media screen and (min-width: 769px), print {
  .messageFooterGroup > .messageFooterButtonsExtra {
    flex: 1 1 auto;
  }
  .messageFooterGroup > .messageFooterButtonsExtra + .messageFooterButtons {
    flex: 0 auto;
  }
  .messageFooterGroup > .messageFooterButtonsExtra + .messageFooterButtons > li:first-child {
    margin-left: 20px;
  }
}
@media screen and (max-width: 768px) {
  .messageFooterGroup > .messageFooterButtonsExtra {
    display: none;
  }
}

.messageSignature img:not(.userAvatarImage),
.messageSignatureConstraints img:not(.userAvatarImage) {
  max-height: 150px;
  width: auto;
}

@media screen and (max-width: 768px) {
  .messageSignature {
    display: none;
  }
}
@media screen and (min-width: 769px), print {
  .messageSignature {
    border-top: 1px solid var(--wcfContentBorderInner);
    margin-top: 20px;
    opacity: 0.6;
    padding-top: 10px;
    transition: opacity 0.12s linear;
    /* fix flicker in Safari on message hover */
    transform: translateZ(0);
  }
  .message:hover .messageSignature {
    opacity: 1;
  }
}
.messageFooterButtons,
.messageFooterButtonsExtra {
  justify-content: flex-end;
}
.messageFooterButtons > li,
.messageFooterButtonsExtra > li {
  display: flex;
}
.messageFooterButtons > li > a,
.messageFooterButtonsExtra > li > a {
  align-items: center;
}

@media screen and (max-width: 768px) {
  .messageCollapsed {
    border-top: 1px solid var(--wcfContentBorderInner);
    margin: 0 -10px;
    padding: 30px 10px 0;
  }
}

.messageReduced .messageHeader {
  background-color: var(--wcfSidebarBackground);
  color: var(--wcfSidebarText);
}
@media screen and (max-width: 768px) {
  .messageReduced .messageHeader {
    margin: 0 -10px;
    padding: 10px;
  }
}
@media screen and (min-width: 769px), print {
  .messageReduced .messageHeader {
    padding: 10px 20px;
  }
}
.messageReduced .messageHeader a {
  color: var(--wcfSidebarLink);
}
.messageReduced .messageHeader a:hover {
  color: var(--wcfSidebarLinkActive);
}
.messageReduced .messageTitle {
  color: var(--wcfSidebarHeadlineText);
}
.messageReduced .messageTitle a {
  color: var(--wcfSidebarHeadlineLink);
}
.messageReduced .messageTitle a:hover {
  color: var(--wcfSidebarHeadlineLinkActive);
}
@media screen and (min-width: 769px), print {
  .messageReduced .messageBody,
  .messageReduced .messageFooter {
    padding: 0 20px;
  }
}

/* margin between items in the list of quoted messages */
#messageQuoteList .messageReduced + .messageReduced {
  margin-top: 20px;
}

.messageQuoteItemList {
  /* we need `!important` here to override defaults used for `.htmlContent`
     and `.messageText` */
  list-style-type: none !important;
  margin-left: 0 !important;
}
.messageQuoteItemList > li {
  display: flex;
}
.messageQuoteItemList > li > span {
  flex: 0 0 auto;
  margin-right: 10px;
}
.messageQuoteItemList > li > .jsQuote {
  flex: 1 1 auto;
}
.messageQuoteItemList > li > .jsFullQuote {
  display: none;
}

/* allow tables to overflow on all screens */
.messageTableOverflow {
  overflow: auto;
}

/* edit history */
.editHistoryDiff {
  --diffAdded-background: #dff0d8;
  --diffAdded-color: #3c763d;
  --diffRemoved-background: #f2dede;
  --diffRemoved-color: #a94442;
  --diffSection-background: #eceff1;
  --diffSection-color: #2c3e50;
  --diffDel-background: #d71111;
  --diffDel-color: rgb(255 255 255 / 91%);
  --diffIns-background: #008000;
  --diffIns-color: rgb(255 255 255 / 91%);
}
@media screen and (max-width: 1024px) {
  .editHistoryDiff {
    overflow: auto;
  }
}
.editHistoryDiff .table {
  width: 100%;
}
@media screen and (min-width: 1025px), print {
  .editHistoryDiff .table {
    table-layout: fixed;
  }
}
.editHistoryDiff .table th {
  text-align: center;
}
.editHistoryDiff .table td {
  padding: 5px;
}
.editHistoryDiff .table td:not(.diffSection) {
  border-bottom-width: 0 !important;
}
.editHistoryDiff .table td:first-child:last-child:empty {
  display: none;
}
.editHistoryDiff .table td:last-child:not(:first-child) {
  border-left: 1px solid var(--wcfContentBorderInner);
}
.editHistoryDiff .table td.diffAdded {
  background-color: var(--diffAdded-background);
  color: var(--diffAdded-color);
}
.editHistoryDiff .table td.diffRemoved {
  background-color: var(--diffRemoved-background);
  color: var(--diffRemoved-color);
}
.editHistoryDiff .table td.diffSection {
  background-clip: padding-box;
  background-color: var(--diffSection-background);
  border-bottom: 20px solid transparent;
  color: var(--diffSection-color);
  padding: 10px;
  text-align: center;
  font-weight: 400;
  line-height: 1.28;
}
@media screen and (min-width: 769px), print {
  .editHistoryDiff .table td.diffSection {
    font-size: var(--wcfFontSizeHeadline);
  }
}
@media screen and (max-width: 768px) {
  .editHistoryDiff .table td.diffSection {
    font-size: 18px;
  }
}
.editHistoryDiff .table td tr:not(:first-child) .diffSection {
  border-top: 20px solid transparent;
}
.editHistoryDiff .table td + form {
  /* Out of the way, Lydia! */
  margin-top: 40px;
}
.editHistoryDiff .sideBySide:first-child {
  margin-bottom: 20px;
  text-align: center;
}
.editHistoryDiff .sideBySide {
  column-gap: 20px;
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.editHistoryDiff del,
.editHistoryDiff .vdd-removed {
  background-color: var(--diffDel-background);
  color: var(--diffDel-color);
  text-decoration: line-through;
}
.editHistoryDiff ins,
.editHistoryDiff .vdd-added,
.editHistoryDiff .vdd-modified {
  background-color: var(--diffIns-background);
  color: var(--diffIns-color);
  text-decoration: none;
}

html[data-color-scheme=dark] .editHistoryDiff {
  --diffAdded-background: #172810;
  --diffAdded-color: #4f9c51;
  --diffRemoved-background: #281010;
  --diffRemoved-color: #d95654;
  --diffSection-background: #252e3d;
  --diffSection-color: #959595;
  --diffDel-background: #800000;
  --diffDel-color: rgb(255 255 255 / 67%);
  --diffIns-background: #008000;
  --diffIns-color: rgb(255 255 255 / 91%);
}

@media screen and (max-width: 768px) {
  .editHistoryVersionList .columnUser,
  .editHistoryVersionList .columnEditReason {
    display: none;
  }
}
.messageGroupList .tabularList .columnSubject {
  flex: 1 1 auto;
}
.messageGroupList .tabularList .columnStats {
  text-align: center;
}
@media screen and (min-width: 1025px), print {
  .messageGroupList .tabularList .columnStats {
    flex: 0 0 150px;
  }
}
@media screen and (max-width: 1024px) {
  .messageGroupList .tabularList .columnStats {
    flex: 0 0 100px;
  }
}
.messageGroupList .tabularList .columnLastPost {
  flex: 0 0 200px;
}
.messageGroupList .tabularList .tabularListRow:not(.tabularListRowHead) .columnStats {
  position: relative;
}
.messageGroupList .tabularList .tabularListRow:not(.tabularListRowHead) .columnStats > dl {
  visibility: hidden;
}
@media screen and (min-width: 1025px), print {
  .messageGroupList .tabularList .tabularListRow:not(.tabularListRowHead):hover .columnStats > dl {
    visibility: visible;
  }
  .messageGroupList .tabularList .tabularListRow:not(.tabularListRowHead):hover .columnStats .messageGroupListStatsSimple {
    display: none;
  }
}
.messageGroupList .columnMark > label {
  display: block;
  height: 24px;
  width: 24px;
}
.messageGroupList .columnMark > label input[type=checkbox] {
  height: 18px;
  width: 18px;
}
.messageGroupList .columnAvatar div {
  position: relative;
  width: 48px;
  height: 48px;
}
.messageGroupList .columnAvatar .myAvatar {
  position: absolute;
  width: 24px;
  height: 24px;
  bottom: -2px;
  right: -6px;
}
.messageGroupList .columnAvatar .myAvatar > img {
  border: 1px solid var(--wcfContentBackground);
  box-sizing: content-box;
}
.messageGroupList .columnSubject {
  overflow: hidden;
}
.messageGroupList .columnSubject > h3 > .messageGroupLink {
  font-weight: 400;
  line-height: 1.28;
}
@media screen and (min-width: 769px), print {
  .messageGroupList .columnSubject > h3 > .messageGroupLink {
    font-size: var(--wcfFontSizeHeadline);
  }
}
@media screen and (max-width: 768px) {
  .messageGroupList .columnSubject > h3 > .messageGroupLink {
    font-size: 18px;
  }
}
.messageGroupList .columnSubject > h3 > .badge.label {
  top: -2px;
}
.messageGroupList .columnSubject > small {
  display: block;
}
.messageGroupList .columnSubject > .statusDisplay {
  display: flex;
  float: right;
  opacity: 0.75;
  transition: opacity 0.12s;
}
.messageGroupList .columnSubject > .statusDisplay > .statusIcons {
  align-items: center;
  flex: 0 0 auto;
}
.messageGroupList .columnSubject > .statusDisplay > .statusIcons > li {
  align-items: center;
  display: flex;
}
.messageGroupList .columnSubject > .statusDisplay > .statusIcons a {
  color: inherit;
}
.messageGroupList .columnSubject > .statusDisplay > .statusIcons .iconFlag {
  vertical-align: -3px;
}
.messageGroupList .columnSubject > .labelList {
  float: right;
  padding-left: 7px;
}
.messageGroupList .columnLastPost > .box32 {
  align-items: center;
}
.messageGroupList .columnLastPost time {
  color: var(--wcfContentDimmedText);
}
.messageGroupList .columnLastPost a {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.messageGroupList .tabularListRow:hover .columnSubject > .statusDisplay,
.messageGroupList tr:hover .columnSubject > .statusDisplay {
  opacity: 1;
}
.messageGroupList .tabularListRow:hover .columnSubject > .statusDisplay > .pagination,
.messageGroupList tr:hover .columnSubject > .statusDisplay > .pagination {
  opacity: 1;
}
.messageGroupList .tabularListColumns.new .columnSubject > h3 > .messageGroupLink,
.messageGroupList tr.new .columnSubject > h3 > .messageGroupLink {
  font-weight: 600;
}
.messageGroupList .pagination {
  flex: 0 0 auto;
  opacity: 0;
  transition: opacity 0.12s;
  font-weight: 400;
}
@media screen and (min-width: 769px), print {
  .messageGroupList .pagination {
    font-size: var(--wcfFontSizeSmall);
  }
}
@media screen and (max-width: 768px) {
  .messageGroupList .pagination {
    font-size: 12px;
  }
}
.messageGroupList .pagination:not(:last-child) {
  margin-right: 5px;
}
@media screen and (min-width: 769px), print {
  .messageGroupList .messageGroupCounterMobile,
  .messageGroupList .messageGroupInfoMobile {
    display: none;
  }
}
@media screen and (max-width: 1024px) {
  .messageGroupList .tabularListColumns > .columnMark {
    display: none;
  }
  .messageGroupList .tabularListRowHead .columnMark {
    display: none;
  }
  .messageGroupList .tabularListRowHead .columnSubject {
    padding: 0;
  }
  .messageGroupList .tabularListRowHead .columnLastPost {
    flex-basis: auto;
    padding: 0;
  }
}
@media screen and (max-width: 768px) {
  .messageGroupList .tabularListRowHead .columnStats {
    display: none;
  }
  .messageGroupList .tabularListRowHead .columnSubject {
    padding: 0;
  }
  .messageGroupList .tabularListRowHead .columnLastPost {
    flex-basis: auto;
    padding: 0;
  }
  .messageGroupList .tabularListRow:not(.tabularListRowHead) > .tabularListColumns {
    flex-wrap: wrap;
    justify-content: flex-end;
    padding: 5px 0;
  }
  .messageGroupList .tabularListRow:not(.tabularListRowHead) > .tabularListColumns > li {
    padding: 0;
  }
  .messageGroupList .tabularListRow:not(.tabularListRowHead) > .tabularListColumns .columnAvatar {
    margin-right: 10px;
    padding: 0;
  }
  .messageGroupList .tabularListRow:not(.tabularListRowHead) > .tabularListColumns .columnAvatar div {
    height: 32px;
    width: 32px;
  }
  .messageGroupList .tabularListRow:not(.tabularListRowHead) > .tabularListColumns .columnAvatar img {
    max-height: 32px;
    max-width: 32px;
  }
  .messageGroupList .tabularListRow:not(.tabularListRowHead) > .tabularListColumns .columnAvatar .myAvatar {
    display: none;
  }
  .messageGroupList .tabularListRow:not(.tabularListRowHead) > .tabularListColumns .columnSubject {
    /* 37px = avatar width + margin-right */
    flex-basis: calc(100% - 42px);
    max-width: calc(100% - 42px);
  }
  .messageGroupList .tabularListRow:not(.tabularListRowHead) > .tabularListColumns .columnSubject > h3 {
    align-items: flex-start;
    display: flex;
  }
  .messageGroupList .tabularListRow:not(.tabularListRowHead) > .tabularListColumns .columnSubject > h3 > .messageGroupLink {
    flex: 1 1 auto;
    line-height: 1.48;
    overflow: hidden;
    text-overflow: ellipsis;
  }
}
@media screen and (max-width: 768px) and (min-width: 769px) {
  .messageGroupList .tabularListRow:not(.tabularListRowHead) > .tabularListColumns .columnSubject > h3 > .messageGroupLink {
    font-size: var(--wcfFontSizeDefault);
  }
}
@media screen and (max-width: 768px) and (max-width: 768px) {
  .messageGroupList .tabularListRow:not(.tabularListRowHead) > .tabularListColumns .columnSubject > h3 > .messageGroupLink {
    font-size: 14px;
  }
}
@media screen and (max-width: 768px) {
  .messageGroupList .tabularListRow:not(.tabularListRowHead) > .tabularListColumns .columnSubject > h3 > .messageGroupCounterMobile {
    flex: 0 0 auto;
    margin-left: 10px;
  }
  .messageGroupList .tabularListRow:not(.tabularListRowHead) > .tabularListColumns .columnSubject .messageGroupInfoMobile {
    color: var(--wcfContentDimmedText);
    display: flex;
    font-weight: 400;
  }
}
@media screen and (max-width: 768px) and (min-width: 769px) {
  .messageGroupList .tabularListRow:not(.tabularListRowHead) > .tabularListColumns .columnSubject .messageGroupInfoMobile {
    font-size: var(--wcfFontSizeSmall);
  }
}
@media screen and (max-width: 768px) and (max-width: 768px) {
  .messageGroupList .tabularListRow:not(.tabularListRowHead) > .tabularListColumns .columnSubject .messageGroupInfoMobile {
    font-size: 12px;
  }
}
@media screen and (max-width: 768px) {
  .messageGroupList .tabularListRow:not(.tabularListRowHead) > .tabularListColumns .columnSubject .messageGroupInfoMobile > .messageGroupAuthorMobile {
    flex: 1 1 auto;
  }
  .messageGroupList .tabularListRow:not(.tabularListRowHead) > .tabularListColumns .columnSubject .messageGroupInfoMobile > .messageGroupLastPostTimeMobile {
    flex: 0 0 auto;
    margin-left: 10px;
  }
  .messageGroupList .tabularListRow:not(.tabularListRowHead) > .tabularListColumns .columnSubject .statusDisplay,
  .messageGroupList .tabularListRow:not(.tabularListRowHead) > .tabularListColumns .columnSubject .messageGroupInfo,
  .messageGroupList .tabularListRow:not(.tabularListRowHead) > .tabularListColumns .columnSubject .messageGroupTime,
  .messageGroupList .tabularListRow:not(.tabularListRowHead) > .tabularListColumns .columnSubject .messageGroupEditLink {
    display: none;
  }
  .messageGroupList .tabularListRow:not(.tabularListRowHead) > .tabularListColumns .columnSubject .labelList {
    float: none;
    padding-bottom: 2px;
    padding-left: 0;
  }
  .messageGroupList .tabularListRow:not(.tabularListRowHead) > .tabularListColumns .columnStats,
  .messageGroupList .tabularListRow:not(.tabularListRowHead) > .tabularListColumns .columnLastPost {
    display: none;
  }
}
.messageGroupList .tabularListRowHead .columnSort {
  flex: 1;
}
@media screen and (min-width: 769px), print {
  .messageGroupList .tabularListRowHead .columnSort {
    font-size: var(--wcfFontSizeDefault);
  }
}
@media screen and (max-width: 768px) {
  .messageGroupList .tabularListRowHead .columnSort {
    font-size: 14px;
  }
}
.messageGroupList .tabularListRowHead .columnSort fa-icon {
  color: var(--wcfTabularBoxHeadline);
}
.messageGroupList .tabularListRowHead .columnFilter {
  flex: 0 1 auto;
  padding-left: 40px;
}
@media screen and (min-width: 769px), print {
  .messageGroupList .tabularListRowHead .columnFilter {
    font-size: var(--wcfFontSizeDefault);
  }
}
@media screen and (max-width: 768px) {
  .messageGroupList .tabularListRowHead .columnFilter {
    font-size: 14px;
  }
}
@media screen and (max-width: 544px) {
  .messageGroupList .tabularListRowHead .columnFilter {
    display: none;
  }
}
.messageGroupList .tabularListRowHead .columnSort .inlineList > li:not(:last-child),
.messageGroupList .tabularListRowHead .columnFilter .inlineList > li:not(:last-child) {
  margin-right: 10px;
}
.messageGroupList .tabularListRowHead .columnApplyFilter {
  flex: 0 1 auto;
  padding-right: 0;
}

.messageGroupListStatsSimple {
  color: var(--wcfContentDimmedText);
  font-size: 1rem;
  left: 50%;
  position: absolute;
  top: 50%;
  transform: translateX(-50%) translateY(-50%);
}

@media screen and (min-width: 769px), print {
  .contentHeader.messageGroupContentHeader .contentHeaderIcon {
    position: relative;
  }
}
@media screen and (max-width: 1024px) {
  .mobileLinkShadowContainer {
    position: relative;
  }
  .mobileLinkShadowContainer > .mobileLinkShadow {
    bottom: 0;
    left: 0;
    position: absolute;
    right: 0;
    top: 0;
  }
}
.messageUserConsent {
  background-color: var(--wcfContentBackground);
  color: var(--wcfContentText);
  border-radius: 2px;
  box-shadow: 0 0 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
  margin: 10px 0;
  max-width: 600px;
  padding: 20px;
}
@media screen and (max-width: 768px) {
  .messageUserConsent {
    padding: 10px;
  }
}
.messageUserConsent a {
  color: var(--wcfContentLink);
}
.messageUserConsent a:hover {
  color: var(--wcfContentLinkActive);
}

.messageUserConsentHeader {
  display: flex;
  justify-content: space-between;
}

.messageUserConsentTitle {
  font-size: 18px;
  font-weight: 600;
  line-height: 1.05;
  margin-bottom: 10px;
}

.messageUserConsentButtonContainer {
  column-gap: 5px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  margin: 10px 0;
  row-gap: 10px;
}

.messageUserConsentNotice {
  color: var(--wcfContentDimmedText);
  font-size: 12px;
}

.notificationSettings {
  margin-top: 30px;
}

.notificationSettingsCategory,
.notificationSettingsItem {
  display: flex;
}

.notificationSettingsCategory {
  border-bottom: 2px solid currentColor;
  color: var(--wcfTabularBoxHeadline);
  font-weight: 600;
  padding: 5px 0;
}

.notificationSettingsItem {
  align-items: center;
  padding: 5px 0;
}

.notificationSettingsItem:not(:last-child) {
  border-bottom: 1px solid var(--wcfContentBorderInner);
}

.notificationSettingsEvent {
  flex: 1 auto;
}
.notificationSettingsEvent > label {
  cursor: pointer;
  display: block;
}

.notificationSettingsEvent:hover + .notificationSettingsState fa-icon,
.notificationSettingsState > label:hover fa-icon {
  transform: scale(1.2);
}

.notificationSettingsState {
  align-items: center;
  display: flex;
  flex: 0 0 34px;
  justify-content: center;
}
@media screen and (min-width: 545px), print {
  .notificationSettingsState {
    margin: 0 20px;
  }
}
@media screen and (max-width: 544px) {
  .notificationSettingsState {
    margin: 0 10px;
  }
}
.notificationSettingsState label {
  cursor: pointer;
}
.notificationSettingsState input[type=checkbox] {
  opacity: 0;
  position: absolute;
  z-index: -1;
}
.notificationSettingsState input[type=checkbox]:not(:checked) + fa-icon[name=bell] {
  display: none;
}
.notificationSettingsState input[type=checkbox]:checked ~ fa-icon[name=bell-slash] {
  display: none;
}
.notificationSettingsState fa-icon[name=bell] {
  color: var(--preset-green);
}
.notificationSettingsState fa-icon[name=bell-slash] {
  color: var(--preset-red);
}

.notificationSettingsEmail {
  align-items: center;
  display: flex;
  flex: 0 0 50px;
  justify-content: flex-end;
}

.notificationSettingsEmailType {
  align-items: center;
  display: flex;
}
.notificationSettingsEmailType.disabled fa-icon {
  color: var(--wcfContentDimmedText) !important;
}
.notificationSettingsEmailType fa-icon[name=xmark] {
  color: var(--preset-red);
}
.notificationSettingsEmailType fa-icon[name=bolt],
.notificationSettingsEmailType fa-icon[name=clock] {
  color: var(--preset-green);
}

.notificationList {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.notificationListItem {
  display: grid;
  grid-template-areas: "avatar title unread" "avatar time unread" "avatar authors unread";
  grid-template-columns: min-content 1fr min-content;
  column-gap: 15px;
  row-gap: 5px;
  position: relative;
}
.notificationListItem:not(:last-child) {
  padding-bottom: 20px;
  border-bottom: 1px solid var(--wcfContentBorderInner);
}

.notificationListItem__avatar {
  grid-area: avatar;
}

.notificationListItem__title {
  grid-area: title;
  font-weight: 400;
  line-height: 1.28;
}
@media screen and (min-width: 769px), print {
  .notificationListItem__title {
    font-size: var(--wcfFontSizeHeadline);
  }
}
@media screen and (max-width: 768px) {
  .notificationListItem__title {
    font-size: 18px;
  }
}

.notificationListItem__time {
  grid-area: time;
  color: var(--wcfContentDimmedText);
  font-weight: 400;
}
@media screen and (min-width: 769px), print {
  .notificationListItem__time {
    font-size: var(--wcfFontSizeSmall);
  }
}
@media screen and (max-width: 768px) {
  .notificationListItem__time {
    font-size: 12px;
  }
}

.notificationListItem__authors {
  grid-area: authors;
  margin-top: 5px;
}

.notificationListItem__link {
  color: inherit;
}
.notificationListItem__link::before {
  content: "";
  inset: 0;
  position: absolute;
}
.notificationListItem__link:hover {
  color: inherit;
}

.notificationListItem__unread {
  align-self: center;
  align-items: center;
  bottom: 0;
  display: flex;
  grid-area: unread;
  position: absolute;
  right: 0;
  top: 0;
  width: 34px;
}
.notificationListItem__unread::before {
  background-color: var(--wcfUserMenuIndicator);
  border-radius: 50%;
  content: "";
  height: 10px;
  left: 7px;
  opacity: 1;
  position: absolute;
  top: calc(50% - 5px);
  width: 10px;
}

html:not(.touch) .notificationListItem__unread::before {
  transition: left 0.12s ease-in-out, opacity 0.12s ease-in-out;
}

html:not(.touch) .notificationListItem:hover .notificationListItem__unread::before {
  opacity: 0;
  left: 0;
}

.notificationListItem__markAsRead {
  display: block;
  opacity: 1;
  position: relative;
  left: 0;
  width: 100%;
}

html:not(.touch) .notificationListItem__markAsRead {
  transform: scale(1);
  transition: opacity 0.12s ease-in-out, left 0.12s ease-in-out, transform 0.24s ease-in-out;
}
html:not(.touch) .notificationListItem__markAsRead:hover {
  transform: scale(1.5);
}

/* Tapping the indicator on touch devices triggers the action
   to mark the item as read. Positioning the button over the
   indicator masks this behavior. */
html.touch .notificationListItem__markAsRead {
  opacity: 0;
  left: 0;
  width: 24px;
}

.notificationListItem:not(:hover) .notificationListItem__markAsRead {
  opacity: 0;
  left: 10px;
}

.pageAction {
  bottom: 10px;
  display: flex;
  justify-content: flex-end;
  left: 10px;
  pointer-events: none;
  position: fixed;
  right: 10px;
  z-index: 400;
}
.pageAction .pageActionButtons {
  display: flex;
  flex: 0 auto;
  overflow: auto;
}
.pageAction .pageActionButtons,
.pageAction .pageActionButtonToTop {
  pointer-events: all;
}
.pageAction .pageActionButton {
  display: flex;
  flex: 0 0 auto;
  white-space: nowrap;
}
.pageAction .pageActionButton:not(:first-child) {
  margin-left: 5px;
}
.pageAction .pageActionButton.remove {
  opacity: 0 !important;
  visibility: hidden !important;
}
.pageAction .pageActionButton,
.pageAction .pageActionButtonToTop {
  opacity: 0;
  transition: visibility 0.12s linear, opacity 0.12s linear;
  visibility: hidden;
}
.pageAction .pageActionButton[aria-hidden=false],
.pageAction .pageActionButtonToTop[aria-hidden=false] {
  opacity: 1;
  visibility: visible;
}
.pageAction .pageActionButtonToTop {
  flex: 0 0 auto;
  margin-left: 5px;
  padding: 2px;
}
@media screen and (max-width: 768px) {
  .pageAction {
    transition: bottom 0.12s linear;
  }
  .pageAction:not(.pageActionHasContextButtons).scrolledDown .pageActionButton, .pageAction:not(.pageActionHasContextButtons).scrolledDown .pageActionButtonToTop {
    opacity: 0;
    visibility: hidden;
    transition-delay: 0.4s;
  }
}

@media screen and (min-width: 1025px), print {
  html.disableScrolling .pageAction {
    right: calc(10px + var(--scrollbar-width, 0));
  }
}
.pageOverlayActive .pageAction {
  display: none;
}

.pageMenuContainer {
  background-color: rgba(0, 0, 0, 0.34);
  bottom: 0;
  display: flex;
  left: 0;
  overflow: hidden;
  position: fixed;
  right: 0;
  top: 50px;
  z-index: 300;
}

.pageMenuContent {
  background-color: var(--wcfUserMenuBackground);
  color: var(--wcfUserMenuText);
  grid-area: content;
}

.pageMenuMainContainer {
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: auto;
}
.pageMenuMainContainer::after, .pageMenuMainContainer::before {
  --box-shadow-size: 20px;
  --box-shadow-size-inverted: calc(-1 * var(--box-shadow-size));
  bottom: 0;
  content: "";
  left: 0;
  pointer-events: none;
  position: absolute;
  transition: box-shadow 0.24s ease-out;
  right: 0;
  top: 0;
  z-index: 1;
}
.pageMenuMainContainer.pageMenuMainContainerOverflowTop::before {
  box-shadow: 0 var(--box-shadow-size) var(--box-shadow-size) var(--box-shadow-size-inverted) #000 inset;
}
.pageMenuMainContainer.pageMenuMainContainerOverflowBottom::after {
  box-shadow: 0 var(--box-shadow-size-inverted) var(--box-shadow-size) var(--box-shadow-size-inverted) #000 inset;
}

.pageMenuMainNavigationLanguage,
.pageMenuMainNavigationFooter {
  /* The footer is placed at the very bottom of the main menu which
     is accomplished by setting `margin-top: auto`. However, this
     prevents us from using `margin-top` to define a minimum gap between
     the footer and the regular items.

     Setting `margin-bottom` on the regular menu items is not an option
     because it violates the principle of using only `margin-top`. The
     only option left is to abuse the `padding-top` to define a mimimum
     gap between these sections. */
  padding-top: 30px;
  margin-top: auto;
}

.pageMenuMainNavigationLanguage + .pageMenuMainNavigationFooter {
  padding-top: 0;
  margin-top: 0;
}

.pageMenuMainItem {
  border-bottom: 1px solid var(--wcfUserMenuBorder);
  column-gap: 10px;
  display: grid;
  grid-template-areas: "item";
  grid-template-columns: auto;
  position: relative;
}

.pageMenuMainItemExpandable {
  grid-template-areas: "item button" "list list";
  grid-template-columns: auto 44px;
}

.pageMenuMainItemLabel,
.pageMenuMainItemLink {
  align-items: center;
  color: inherit;
  display: flex;
  font-weight: 600;
  grid-area: item;
  min-height: 44px;
  overflow: hidden;
  padding: 0 10px;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.pageMenuMainItemLabel:hover,
.pageMenuMainItemLink:hover {
  color: inherit;
}

.pageMenuMainItemLabel {
  column-gap: 5px;
}

.pageMenuMainItemCounter {
  align-self: center;
  border-radius: 4px;
  grid-area: counter;
  margin-left: 8px;
  white-space: nowrap;
}

.pageMenuMainItemToggle {
  align-items: center;
  display: flex;
  justify-content: center;
  position: relative;
}
.pageMenuMainItemToggle::before {
  border-left: 1px solid var(--wcfUserMenuBorder);
  bottom: 10px;
  content: "";
  left: 0;
  position: absolute;
  top: 10px;
}
.pageMenuMainItemToggle fa-icon {
  color: var(--wcfUserMenuText);
  transform: rotate(0);
}
.pageMenuMainItemToggle[aria-expanded=true] fa-icon {
  transform: rotate(180deg);
}

.pageMenuMainItemLabel + .pageMenuMainItemToggle::before {
  display: none;
}

.pageMenuMainItemList {
  grid-area: list;
}

.pageMenuMainItem[data-depth="1"],
.pageMenuMainItem[data-depth="2"] {
  border-bottom-width: 0;
}
.pageMenuMainItem[data-depth="1"] .pageMenuMainItemLabel,
.pageMenuMainItem[data-depth="1"] .pageMenuMainItemLink,
.pageMenuMainItem[data-depth="2"] .pageMenuMainItemLabel,
.pageMenuMainItem[data-depth="2"] .pageMenuMainItemLink {
  font-weight: 400;
  min-height: 34px;
}
.pageMenuMainItem[data-depth="1"] .pageMenuMainItemLink[aria-current=page],
.pageMenuMainItem[data-depth="2"] .pageMenuMainItemLink[aria-current=page] {
  font-weight: 600;
}
.pageMenuMainItem[data-depth="1"] .pageMenuMainItemToggle::before,
.pageMenuMainItem[data-depth="2"] .pageMenuMainItemToggle::before {
  bottom: 5px;
  top: 5px;
}

.pageMenuMainItem[data-depth="0"] .pageMenuMainItemList {
  padding: 10px 0 20px 0;
}

.pageMenuMainItem[data-depth="1"] .pageMenuMainItemList {
  padding: 10px 0;
}
.pageMenuMainItem[data-depth="1"] .pageMenuMainItemLabel,
.pageMenuMainItem[data-depth="1"] .pageMenuMainItemLink {
  padding-left: 20px;
}

.pageMenuMainItem[data-depth="2"] .pageMenuMainItemList {
  padding: 0 10px;
}
.pageMenuMainItem[data-depth="2"] .pageMenuMainItemLabel,
.pageMenuMainItem[data-depth="2"] .pageMenuMainItemLink {
  padding-left: 30px;
}

.pageMenuUserTabContainer {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.pageMenuUserTabList {
  border-bottom: 1px solid var(--wcfUserMenuBorder);
  display: grid;
  flex: 0 0 auto;
  grid-auto-columns: minmax(70px, 1fr);
  grid-auto-flow: column;
  overflow: auto;
}

.pageMenuUserTab {
  align-items: center;
  display: flex;
  justify-content: center;
  height: 50px;
  position: relative;
}
.pageMenuUserTab:not(:last-child) {
  border-right: 1px solid var(--wcfUserMenuBorder);
}
.pageMenuUserTab[aria-selected=true] {
  background-color: var(--wcfUserMenuBackgroundActive);
}
.pageMenuUserTab[aria-selected=true] fa-icon {
  color: var(--wcfUserMenuTextActive);
}
.pageMenuUserTab[data-has-unread-content=true]::after {
  background-color: var(--wcfUserMenuIndicator);
  border-radius: 50%;
  content: "";
  height: 10px;
  opacity: 1;
  position: absolute;
  right: 5px;
  top: 5px;
  width: 10px;
}
.pageMenuUserTab fa-icon {
  color: var(--wcfUserMenuText);
}

.pageMenuUserTabPanel {
  flex: 1 auto;
  overflow: hidden;
}

@media screen and (max-width: 1024px) {
  .pageHeaderMenuMobile[aria-expanded=true]::after,
  .pageHeaderUserMobile[aria-expanded=true]::after {
    border: 8px solid transparent;
    border-top-width: 0;
    border-bottom-color: var(--wcfUserMenuBackground);
    bottom: 0;
    content: "";
    position: absolute;
  }
}
@media screen and (min-width: 545px) and (max-width: 1024px) {
  .pageMenuMainContainer::after,
  .pageMenuMainContainer::before {
    left: auto;
    width: 400px;
  }
  .pageMenuContent {
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.19), 0 0 6px rgba(0, 0, 0, 0.23);
    margin-left: auto;
    width: 400px;
  }
}
@media screen and (max-width: 544px) {
  .pageMenuContent {
    width: 100%;
  }
}
.pagination__wrapper {
  display: block;
}

.pagination {
  --column-gap: 2px;
  column-gap: var(--column-gap);
  display: inline-grid;
  grid-auto-flow: column;
  user-select: none;
}

.pagination__list {
  column-gap: var(--column-gap);
  display: grid;
  grid-auto-flow: column;
}

.pagination__link {
  --padding-vertical: 4px;
  --padding-side: 8px;
  border-radius: 4px;
  color: var(--wcfContentText);
  display: inline-block;
  font-variant: tabular-nums;
  min-width: calc(2ch + 2 * var(--padding-side));
  padding: var(--padding-vertical) var(--padding-side);
  text-align: center;
}

.pagination__link[aria-current=page],
body:not(.touch) .pagination__link:hover {
  background-color: var(--wcfButtonBackgroundActive);
  color: var(--wcfButtonTextActive);
}

@media screen and (max-width: 544px) {
  .pagination__wrapper {
    text-align: center;
  }
  .pagination__link {
    --padding-vertical: 8px;
    font-weight: 400;
  }
}
@media screen and (max-width: 544px) and (min-width: 769px) {
  .pagination__link {
    font-size: var(--wcfFontSizeSmall);
  }
}
@media screen and (max-width: 544px) and (max-width: 768px) {
  .pagination__link {
    font-size: 12px;
  }
}
/*
 * Container style
 */
.ps {
  overflow: hidden !important;
  overflow-anchor: none;
  -ms-overflow-style: none;
  touch-action: auto;
  -ms-touch-action: auto;
  overscroll-behavior: contain;
}

/*
 * Scrollbar rail styles
 */
.ps__rail-x {
  display: none;
  opacity: 0;
  transition: background-color 0.2s linear, opacity 0.2s linear;
  -webkit-transition: background-color 0.2s linear, opacity 0.2s linear;
  height: 6px;
  /* there must be 'bottom' or 'top' for ps__rail-x */
  bottom: 0px;
  top: auto !important;
  /* please don't change 'position' */
  position: absolute;
}

.ps__rail-y {
  display: none;
  opacity: 0;
  transition: background-color 0.2s linear, opacity 0.2s linear;
  -webkit-transition: background-color 0.2s linear, opacity 0.2s linear;
  width: 6px;
  /* there must be 'right' or 'left' for ps__rail-y */
  left: auto !important;
  right: 0;
  /* please don't change 'position' */
  position: absolute;
}

.ps--active-x > .ps__rail-x,
.ps--active-y > .ps__rail-y {
  display: block;
  background-color: transparent;
}

.ps:hover > .ps__rail-x,
.ps:hover > .ps__rail-y,
.ps--focus > .ps__rail-x,
.ps--focus > .ps__rail-y,
.ps--scrolling-x > .ps__rail-x,
.ps--scrolling-y > .ps__rail-y {
  opacity: 0.6;
}

.ps .ps__rail-x:hover,
.ps .ps__rail-y:hover,
.ps .ps__rail-x:focus,
.ps .ps__rail-y:focus,
.ps .ps__rail-x.ps--clicking,
.ps .ps__rail-y.ps--clicking {
  background-color: rgba(102, 102, 102, 0.6);
  opacity: 0.9;
}

/*
 * Scrollbar thumb styles
 */
.ps__thumb-x {
  background-color: #aaa;
  border-radius: 6px;
  transition: background-color 0.2s linear, height 0.2s ease-in-out;
  -webkit-transition: background-color 0.2s linear, height 0.2s ease-in-out;
  height: 6px;
  /* there must be 'bottom' for ps__thumb-x */
  bottom: 0;
  /* please don't change 'position' */
  position: absolute;
}

.ps__thumb-y {
  background-color: #aaa;
  border-radius: 6px;
  transition: background-color 0.2s linear, width 0.2s ease-in-out;
  -webkit-transition: background-color 0.2s linear, width 0.2s ease-in-out;
  width: 6px;
  /* there must be 'right' for ps__thumb-y */
  right: 0;
  /* please don't change 'position' */
  position: absolute;
}

.ps__rail-x:hover > .ps__thumb-x,
.ps__rail-x:focus > .ps__thumb-x,
.ps__rail-x.ps--clicking .ps__thumb-x {
  background-color: #999;
}

.ps__rail-y:hover > .ps__thumb-y,
.ps__rail-y:focus > .ps__thumb-y,
.ps__rail-y.ps--clicking .ps__thumb-y {
  background-color: #999;
}

/* MS supports */
@supports (-ms-overflow-style: none) {
  .ps {
    overflow: auto !important;
  }
}
@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) {
  .ps {
    overflow: auto !important;
  }
}
/* poll create/edit form */
.pollOptionContainer .pollOptionInput {
  column-gap: 5px;
  margin: 5px 0;
  /* using `display: flex` inside a native list-item is pretty weird */
  display: inline-flex;
  width: 100%;
}
.pollOptionContainer .pollOptionInput > fa-icon {
  align-self: center;
}
.pollOptionContainer .pollOptionInput > button {
  align-items: center;
  display: flex;
}
.pollOptionContainer .pollOptionInput > input {
  flex: 1 1 auto;
  margin-left: 5px;
}

/* displayed poll */
.pollContainer {
  background-color: var(--wcfContentContainerBackground);
  border: 1px solid var(--wcfContentBorderInner);
  border-radius: var(--wcfBorderRadius);
  box-shadow: var(--wcfBoxShadowCard);
  margin-bottom: 10px;
  min-width: 300px;
  padding: 10px;
}
@media screen and (min-width: 545px), print {
  .pollContainer.pollContainerFullWidth {
    margin-bottom: 20px;
  }
  .pollContainer:not(.pollContainerFullWidth) {
    float: left;
    margin-right: 20px;
    max-width: 50%;
  }
}
.pollContainer h2 {
  font-weight: 400;
  line-height: 1.28;
}
@media screen and (min-width: 769px), print {
  .pollContainer h2 {
    font-size: var(--wcfFontSizeHeadline);
  }
}
@media screen and (max-width: 768px) {
  .pollContainer h2 {
    font-size: 18px;
  }
}
.pollContainer .pollInnerContainer {
  margin-top: 30px;
}
.pollContainer .pollInnerContainer dd:not(:last-child) {
  margin-bottom: 5px;
}
.pollContainer .formSubmit {
  border-top: 1px solid var(--wcfContentBorderInner);
  padding-top: 10px;
}
.pollContainer .pollResultItem {
  /* option name in result list */
  /* visual representation of relative votes per option */
}
.pollContainer .pollResultItem + .pollResultItem {
  margin-top: 20px;
}
.pollContainer .pollResultItem .pollResultItemCaption {
  align-items: flex-end;
  display: flex;
}
.pollContainer .pollResultItem .pollResultItemCaption > .pollOptionName {
  flex: 1 1 auto;
}
.pollContainer .pollResultItem .pollResultItemCaption > .pollOptionRelativeValue {
  color: var(--wcfContentDimmedText);
  flex: 0 0 50px;
  text-align: right;
}
.pollContainer .pollResultItem .pollMeter {
  background-color: var(--wcfContentBorderInner);
  height: 5px;
  margin-top: 5px;
}

.pollMeterValue {
  background-color: var(--wcfContentBorder);
  height: 100%;
}

html[data-color-scheme=dark] .pollMeterValue {
  background-color: rgba(255, 255, 255, 0.34);
}

@keyframes wcfPopover {
  0% {
    visibility: visible;
    transform: translateY(-20px);
    opacity: 0;
  }
  100% {
    visibility: visible;
    transform: translateY(0);
    opacity: 1;
  }
}
@keyframes wcfPopoverOut {
  0% {
    visibility: visible;
    transform: translateY(0);
    opacity: 1;
  }
  100% {
    visibility: hidden;
    transform: translateY(-20px);
    opacity: 0;
  }
}
/* outer element containing both the pointer and content element */
.popover {
  animation: wcfPopoverOut 0.3s;
  animation-fill-mode: forwards;
  background-color: var(--wcfContentContainerBackground);
  border-radius: var(--wcfBorderRadius);
  box-shadow: var(--wcfBoxShadow);
  position: absolute;
  top: 0;
  vertical-align: middle;
  visibility: hidden;
  width: 500px !important;
  z-index: 350;
}
.popover.active {
  animation: wcfPopover 0.3s;
  animation-fill-mode: forwards;
}
.popover.forceHide {
  animation: 0;
  visibility: hidden;
}
@media screen and (max-width: 768px) {
  .popover {
    display: none;
  }
}

/* actual popover content */
.popoverContent {
  background-color: var(--wcfContentContainerBackground);
  border-radius: var(--wcfBorderRadius);
  color: var(--wcfContentText);
  padding: 15px;
  /* Workaround for the partially active mobile navigation on desktop devices. See #2791 */
}
.popoverContent > div {
  max-height: 290px;
  min-height: 36px;
  overflow: hidden;
}
.popoverContent a {
  color: var(--wcfContentLink);
}
.popoverContent a:hover {
  color: var(--wcfContentLinkActive);
}
.popoverContent .jsMobileButtonGroupNavigation > .dropdownLabel {
  display: none;
}

/* @since 6.1 */
.popoverContainer {
  --padding: 20px;
  --maxHeight: 400px;
  --maxWidth: 500px;
  background-color: var(--wcfContentContainerBackground);
  border: 1px solid var(--wcfContentBorderInner);
  border-radius: var(--wcfBorderRadius);
  box-shadow: var(--wcfBoxShadow);
  color: var(--wcfContentText);
  display: none;
  max-height: var(--maxHeight);
  max-width: var(--maxWidth);
  opacity: 0;
  overflow: hidden;
  padding: var(--padding);
  position: absolute;
  transform: translateY(-20px);
  transition: opacity 0.12s linear, transform 0.12s linear;
  z-index: 350;
}
.popoverContainer[aria-hidden=false] {
  opacity: 1;
  transform: translateY(0);
}

@media (hover: hover) {
  .popoverContainer {
    display: block;
  }
}
.popover__layout {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 300px;
}

.popover__header {
  display: grid;
  grid-template-areas: "avatar title" "avatar time";
  grid-template-columns: min-content 1fr;
  grid-template-rows: min-content 1fr;
  column-gap: 10px;
  margin-bottom: 10px;
}

.popover__avatar {
  grid-area: avatar;
}

.popover__title {
  grid-area: title;
  font-weight: 600;
  font-weight: 400;
  line-height: 1.28;
}
@media screen and (min-width: 769px), print {
  .popover__title {
    font-size: var(--wcfFontSizeHeadline);
  }
}
@media screen and (max-width: 768px) {
  .popover__title {
    font-size: 18px;
  }
}

.popover__title a,
.popover__title a:hover {
  color: inherit;
}

.popover__time {
  color: var(--wcfContentDimmedText);
  grid-area: time;
  font-weight: 400;
}
@media screen and (min-width: 769px), print {
  .popover__time {
    font-size: var(--wcfFontSizeSmall);
  }
}
@media screen and (max-width: 768px) {
  .popover__time {
    font-size: 12px;
  }
}

.popover__coverPhoto {
  --remove-padding: calc(var(--padding) * -1);
  margin: var(--remove-padding) var(--remove-padding) 10px;
}

.popover__coverPhoto__image {
  object-fit: cover;
  object-position: center center;
  height: 150px;
  width: 100%;
}

.ratingList {
  font-size: 0;
}
.ratingList > li {
  display: inline-block;
}
.ratingList fa-icon[name=star][solid] {
  color: #f90;
}
.ratingList .ratingMetaButton {
  margin-left: 5px;
}

.reactionPopover {
  animation: wcfPopoverOut 0.3s;
  animation-fill-mode: forwards;
  background-color: var(--wcfDropdownBackground);
  border-radius: var(--wcfBorderRadius);
  box-shadow: var(--wcfBoxShadow);
  color: var(--wcfDropdownText);
  overflow: hidden;
  position: absolute;
  top: 0;
  vertical-align: middle;
  visibility: hidden;
  z-index: 60;
}
.reactionPopover.active {
  animation: wcfPopover 0.3s;
  animation-fill-mode: forwards;
}
.reactionPopover.forceHide {
  animation: 0;
  visibility: hidden;
}
@media screen and (max-width: 544px) {
  .reactionPopover.inverseOrder .reactionTypeButtonList {
    flex-direction: column;
  }
}

html[data-color-scheme=dark] .reactionPopover {
  border: 1px solid var(--wcfDropdownBorderInner);
}

.reactionType {
  width: 20px;
  height: 20px;
}

.reactionPopoverContent .reactionType,
.reactionTypeListImage .reactionType {
  width: 24px;
  height: 24px;
}

.reactionCount {
  font-weight: 400;
  vertical-align: middle;
}
@media screen and (min-width: 769px), print {
  .reactionCount {
    font-size: var(--wcfFontSizeSmall);
  }
}
@media screen and (max-width: 768px) {
  .reactionCount {
    font-size: 12px;
  }
}
.reactionCount::before {
  content: " × ";
}

.reactionTypeButton.active {
  background-color: var(--wcfDropdownBackgroundActive);
  color: var(--wcfDropdownLinkActive);
}

@media screen and (max-width: 544px) {
  .reactionPopoverContent {
    max-height: 200px;
    overflow: auto;
  }
  .reactionPopoverContent::after, .reactionPopoverContent::before {
    content: "";
    height: 40px;
    left: 0;
    opacity: 0;
    pointer-events: none;
    position: absolute;
    right: 0;
    transition: opacity 0.12s linear;
  }
  .reactionPopoverContent::after {
    background-image: linear-gradient(to bottom, rgba(var(--wcfContentBackground-rgb)/0), var(--wcfContentBackground));
    bottom: 0;
  }
  .reactionPopoverContent.overflowBottom::after {
    opacity: 1;
  }
  .reactionPopoverContent::before {
    background-image: linear-gradient(to top, rgba(var(--wcfContentBackground-rgb)/0), var(--wcfContentBackground));
    top: 0;
  }
  .reactionPopoverContent.overflowTop::before {
    opacity: 1;
  }
}
@media screen and (max-width: 1024px) {
  .reactionPopoverContent {
    padding: 5px 0;
  }
  .reactionPopoverContent .reactionTypeButton {
    margin: 0;
    display: block;
    padding: 5px 25px;
  }
  .reactionPopoverContent .reactionTypeButton > .reactionTypeButtonTitle {
    vertical-align: middle;
    padding-left: 5px;
  }
}
@media screen and (min-width: 1025px), print {
  .reactionPopoverContent {
    padding: 5px;
  }
  .reactionPopoverContent .reactionTypeButtonList {
    display: flex;
    column-gap: 5px;
  }
  .reactionPopoverContent .reactionTypeButton {
    border-radius: var(--wcfBorderRadius);
    cursor: pointer;
    padding: 5px;
  }
  .reactionPopoverContent .reactionTypeButton:hover {
    background-color: var(--wcfDropdownBackgroundActive);
    color: var(--wcfDropdownLinkActive);
  }
  .reactionPopoverContent .reactionTypeButtonTitle {
    display: none;
  }
}

@media screen and (min-width: 1025px), print {
  html.touch .reactionPopoverContent .reactionTypeButton {
    display: block;
    margin-left: 0;
  }
  html.touch .reactionPopoverContent .reactionTypeButton > .reactionTypeButtonTitle {
    display: inline;
    margin-left: 10px;
  }
}
@media screen and (max-width: 768px) {
  .reactionStatusContainer {
    display: none;
  }
}
@media screen and (max-width: 544px) {
  .reactionTypeButtonList {
    display: flex;
    flex-direction: column-reverse;
  }
}
#likeList .likeTypeSelection {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
}
#likeList .likeTypeSelection .buttonGroup, #likeList .likeTypeSelection .messageFooterButtons,
#likeList .likeTypeSelection .messageFooterButtonsExtra {
  margin-bottom: 0;
}
#likeList .likeTypeSelection .buttonGroup li, #likeList .likeTypeSelection .messageFooterButtons li,
#likeList .likeTypeSelection .messageFooterButtonsExtra li {
  display: flex;
  justify-content: stretch;
}
#likeList .likeTypeSelection .buttonGroup li a, #likeList .likeTypeSelection .messageFooterButtons li a,
#likeList .likeTypeSelection .messageFooterButtonsExtra li a {
  display: flex;
  align-items: center;
}

.topReactionFull > .reactionType,
.topReactionShort > .reactionType {
  vertical-align: bottom;
}

.topReactionTiny > .reactionType {
  height: 16px;
  vertical-align: top;
  width: 16px;
}

.reactionSummary {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 5px 5px;
}
.reactionSummary:hover .reactionCountButton {
  color: var(--wcfContentText);
}
.reactionSummary .reactionCountButton {
  color: var(--wcfContentDimmedText);
  white-space: nowrap;
}
.reactionSummary .selected .reactionCount {
  font-weight: 600;
}

/* Google ReCAPTCHA */
#recaptcha_response_field {
  margin-top: 20px;
}

/* ReCAPTCHA container for a dialog element */
.g-recaptcha-container {
  position: fixed !important;
}
.g-recaptcha-container > div:not(:first-child):nth-of-type(-n+3) {
  display: none !important;
}
.g-recaptcha-container > div:last-child {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  bottom: 0 !important;
  right: 0 !important;
  margin: auto !important;
}

.recentActivityList {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.recentActivityList.recentActivityList--userProfileContent {
  padding-top: 20px;
}

.recentActivityListItem {
  display: grid;
  column-gap: 10px;
  row-gap: 5px;
  position: relative;
  grid-template-areas: "avatar title" "avatar time";
  grid-template-columns: min-content 1fr;
  grid-template-rows: min-content 1fr;
}
.recentActivityListItem.recentActivityListItem--withDescription {
  grid-template-areas: "avatar title" "avatar description" "avatar time";
  grid-template-rows: min-content min-content 1fr;
}
.recentActivityListItem:not(:last-child) {
  padding-bottom: 20px;
  border-bottom: 1px solid var(--wcfContentBorderInner);
}
@media screen and (min-width: 769px), print {
  .recentActivityListItem.recentActivityListItem--withImage {
    grid-template-areas: "avatar title image" "avatar time image";
    grid-template-columns: min-content 1fr min-content;
  }
  .recentActivityListItem.recentActivityListItem--withDescription.recentActivityListItem--withImage {
    grid-template-areas: "avatar title image" "avatar description image" "avatar time image";
  }
}
@media screen and (max-width: 768px) {
  .recentActivityListItem {
    grid-template-areas: "avatar title" "time time";
  }
  .recentActivityListItem.recentActivityListItem--withDescription {
    grid-template-areas: "avatar title" "description description" "time time";
  }
  .recentActivityListItem.recentActivityListItem--withImage {
    grid-template-areas: "avatar title" "image image" "time time";
    grid-template-rows: min-content min-content 1fr;
  }
  .recentActivityListItem.recentActivityListItem--withDescription.recentActivityListItem--withImage {
    grid-template-areas: "avatar title" "image image" "description description" "time time";
    grid-template-rows: min-content min-content min-content 1fr;
  }
}

.recentActivityListItem__avatar {
  grid-area: avatar;
}

.recentActivityListItem__title {
  grid-area: title;
  font-weight: 400;
  line-height: 1.28;
}
@media screen and (min-width: 769px), print {
  .recentActivityListItem__title {
    font-size: var(--wcfFontSizeHeadline);
  }
}
@media screen and (max-width: 768px) {
  .recentActivityListItem__title {
    font-size: 18px;
  }
}

.recentActivityListItem__description {
  grid-area: description;
  margin-top: 5px;
}

.recentActivityListItem__time {
  grid-area: time;
  color: var(--wcfContentDimmedText);
  font-weight: 400;
}
@media screen and (min-width: 769px), print {
  .recentActivityListItem__time {
    font-size: var(--wcfFontSizeSmall);
  }
}
@media screen and (max-width: 768px) {
  .recentActivityListItem__time {
    font-size: 12px;
  }
}
@media screen and (max-width: 768px) {
  .recentActivityListItem__time {
    text-align: right;
  }
}

.recentActivityListItem__image {
  grid-area: image;
  align-self: center;
}
@media screen and (max-width: 768px) {
  .recentActivityListItem__image {
    text-align: center;
    margin-top: 5px;
  }
}

.recentActivityListItem__image img {
  border-radius: var(--wcfBorderRadius);
  max-height: 200px;
  max-width: 300px;
  object-fit: cover;
}
@media screen and (max-width: 768px) {
  .recentActivityListItem__image img {
    max-width: 100%;
  }
}

.recentActivityListItem__link {
  color: inherit;
}
.recentActivityListItem__link::before {
  content: "";
  inset: 0;
  position: absolute;
}

@media (hover: hover) {
  .recentActivityListItem__link:hover {
    color: inherit;
    text-decoration: underline;
    text-underline-offset: 3px;
  }
}
.recentActivityList__showMoreButton {
  display: flex;
  justify-content: center;
}

.recentActivityList__switchContext {
  border-bottom: 1px solid var(--wcfContentBorderInner);
  display: flex;
  justify-content: end;
  padding-bottom: 20px;
}

#scTermsOfUse {
  --sc-terms-gap: 1rem;
  --sc-terms-indent: 1.4rem;
  --sc-terms-indent-nested: 1.7rem;
  --sc-terms-marker-width: 3ch;
  --sc-terms-size-1: 1.4rem;
  --sc-terms-size-2: 1.2rem;
  --sc-terms-size-3: 1.05rem;
}
#scTermsOfUse h1.termCaption,
#scTermsOfUse h2.termCaption,
#scTermsOfUse h3.termCaption,
#scTermsOfUse h4.termCaption,
#scTermsOfUse h5.termCaption,
#scTermsOfUse h6.termCaption {
  margin: 0 0 0.85rem 0;
  line-height: 1.2;
  font-weight: 600;
}
#scTermsOfUse .termsList {
  margin: 0;
  padding-left: calc(var(--sc-terms-indent) + var(--sc-terms-marker-width));
  list-style-position: outside;
}
#scTermsOfUse .termsList.none {
  list-style-type: none;
  padding-left: 0;
  --sc-terms-marker-width: 0ch;
}
#scTermsOfUse .termsList.paragraph-sign {
  list-style-type: decimal;
}
#scTermsOfUse .termsList.paragraph-sign > .term:not(.termNoTitle)::marker {
  content: "§" counter(list-item) ". ";
}
#scTermsOfUse .termsList.paragraph-sign > .term.termNoTitle::marker {
  content: "";
}
#scTermsOfUse .term {
  margin: 0 0 var(--sc-terms-gap) 0;
  font-size: 1rem;
}
#scTermsOfUse .term:last-child {
  margin-bottom: 0;
}
#scTermsOfUse .term::marker {
  color: var(--wcfContentDimmedText);
  font-weight: 600;
}
#scTermsOfUse .term.termNoTitle {
  list-style-type: none;
  counter-increment: list-item 0;
  font-size: 1rem;
  margin-left: calc(var(--sc-terms-marker-width) * -1);
  width: calc(100% + var(--sc-terms-marker-width));
}
#scTermsOfUse .term.termNoTitle > .termsList {
  margin-left: var(--sc-terms-indent);
}
#scTermsOfUse .term.depth-1 {
  font-size: var(--sc-terms-size-1);
}
#scTermsOfUse .term.depth-2 {
  font-size: var(--sc-terms-size-2);
}
#scTermsOfUse .term.depth-3 {
  font-size: var(--sc-terms-size-3);
}
#scTermsOfUse .termCaption {
  font-size: inherit;
  font-weight: 600;
}
#scTermsOfUse .termDescription {
  margin: 0;
  line-height: var(--wcfFontLineHeight);
  color: var(--wcfContentText);
  font-size: 1rem;
}
#scTermsOfUse .termDescription ul,
#scTermsOfUse .termDescription ol {
  margin-left: var(--sc-terms-indent);
}
#scTermsOfUse .termDescription > :first-child {
  margin-top: 0;
}
#scTermsOfUse .termDescription > :last-child {
  margin-bottom: 0;
}
#scTermsOfUse .term > .termsList {
  margin-top: 0.6rem;
  padding-left: calc(var(--sc-terms-indent-nested) + var(--sc-terms-marker-width));
}
#scTermsOfUse .lastChange {
  margin-top: 1rem;
  color: var(--wcfContentDimmedText);
}
#scTermsOfUse .armenian {
  list-style-type: armenian;
}
#scTermsOfUse .circle {
  list-style-type: circle;
}
#scTermsOfUse .decimal {
  list-style-type: decimal;
}
#scTermsOfUse .decimal-leading-zero {
  list-style-type: decimal-leading-zero;
}
#scTermsOfUse .disc {
  list-style-type: disc;
}
#scTermsOfUse .georgian {
  list-style-type: georgian;
}
#scTermsOfUse .lower-alpha {
  list-style-type: lower-alpha;
}
#scTermsOfUse .lower-greek {
  list-style-type: lower-greek;
}
#scTermsOfUse .lower-latin {
  list-style-type: lower-latin;
}
#scTermsOfUse .lower-roman {
  list-style-type: lower-roman;
}
#scTermsOfUse .square {
  list-style-type: square;
}
#scTermsOfUse .upper-alpha {
  list-style-type: upper-alpha;
}
#scTermsOfUse .upper-latin {
  list-style-type: upper-latin;
}
#scTermsOfUse .upper-roman {
  list-style-type: upper-roman;
}

.scTermsOfUseForm .minAgeConfirmation,
.scTermsOfUseForm .manualConfirmation {
  margin-top: 1.25rem !important;
}
.scTermsOfUseForm .minAgeConfirmation dl,
.scTermsOfUseForm .manualConfirmation dl {
  margin: 0 !important;
}
.scTermsOfUseForm .minAgeConfirmation dt,
.scTermsOfUseForm .manualConfirmation dt {
  margin-bottom: 0.5rem !important;
}
.scTermsOfUseForm .minAgeConfirmation dd,
.scTermsOfUseForm .manualConfirmation dd {
  margin-left: 0 !important;
}
.scTermsOfUseForm .minAgeConfirmation .flexibleButtonGroup {
  margin-top: 0.5rem !important;
}

.scTermsOfUseChangeLogLink {
  color: inherit;
  text-decoration: underline;
}

.scTermsOfUseChangeLogRange {
  color: var(--wcfContentDimmedText);
}

.scTermsOfUseDiff .diffAddedTerm,
.scTermsOfUseDiff .diffRemovedTerm,
.scTermsOfUseDiff .diffChangedTerm {
  border-radius: 6px;
  padding: 0.5rem 0.75rem;
}
.scTermsOfUseDiff .diffAddedTerm {
  border: 1px solid var(--wcfStatusSuccessBorder);
}
.scTermsOfUseDiff .diffRemovedTerm {
  border: 1px solid var(--wcfStatusErrorBorder);
  text-decoration: line-through;
}
.scTermsOfUseDiff .diffBlock {
  border-radius: 6px;
  padding: 0.5rem 0.75rem;
}
.scTermsOfUseDiff .diffBlock + .diffBlock {
  margin-top: 0.5rem;
}
.scTermsOfUseDiff .diffBlock.diffAdded {
  background: var(--wcfStatusSuccessBackground);
  border: 1px solid var(--wcfStatusSuccessBorder);
}
.scTermsOfUseDiff .diffBlock.diffRemoved {
  background: var(--wcfStatusErrorBackground);
  border: 1px solid var(--wcfStatusErrorBorder);
  text-decoration: line-through;
}
.scTermsOfUseDiff .diffBlock.diffChanged {
  border: 1px dashed var(--wcfContentBorderInner);
}
.scTermsOfUseDiff ins.diffAdded {
  background: var(--wcfStatusSuccessBackground);
}
.scTermsOfUseDiff del.diffRemoved {
  background: var(--wcfStatusErrorBackground);
}
.scTermsOfUseDiff .diffEmpty {
  color: var(--wcfContentDimmedText);
}
.scTermsOfUseDiff del.diffRemoved,
.scTermsOfUseDiff ins.diffAdded {
  text-decoration: none;
}
.scTermsOfUseDiff del.diffRemoved {
  text-decoration: line-through;
}
.scTermsOfUseDiff .diffTitle {
  display: inline-block;
}

@media print {
  body[data-page-identifier="de.softcreatr.wsc.tou.TermsOfUse"],
  body[data-page-identifier="de.softcreatr.wsc.tou.TermsOfUseChangeLog"] {
    background: #fff !important;
    color: #000 !important;
  }
  body[data-page-identifier="de.softcreatr.wsc.tou.TermsOfUse"] #pageHeaderContainer,
  body[data-page-identifier="de.softcreatr.wsc.tou.TermsOfUse"] #pageNavbarTop,
  body[data-page-identifier="de.softcreatr.wsc.tou.TermsOfUse"] #pageNavbarBottom,
  body[data-page-identifier="de.softcreatr.wsc.tou.TermsOfUse"] .boxesHeaderBoxes,
  body[data-page-identifier="de.softcreatr.wsc.tou.TermsOfUse"] .boxesTop,
  body[data-page-identifier="de.softcreatr.wsc.tou.TermsOfUse"] .boxesBottom,
  body[data-page-identifier="de.softcreatr.wsc.tou.TermsOfUse"] .boxesFooter,
  body[data-page-identifier="de.softcreatr.wsc.tou.TermsOfUse"] .sidebar,
  body[data-page-identifier="de.softcreatr.wsc.tou.TermsOfUse"] #pageFooter,
  body[data-page-identifier="de.softcreatr.wsc.tou.TermsOfUse"] .formSubmit,
  body[data-page-identifier="de.softcreatr.wsc.tou.TermsOfUse"] .breadcrumbs,
  body[data-page-identifier="de.softcreatr.wsc.tou.TermsOfUseChangeLog"] #pageHeaderContainer,
  body[data-page-identifier="de.softcreatr.wsc.tou.TermsOfUseChangeLog"] #pageNavbarTop,
  body[data-page-identifier="de.softcreatr.wsc.tou.TermsOfUseChangeLog"] #pageNavbarBottom,
  body[data-page-identifier="de.softcreatr.wsc.tou.TermsOfUseChangeLog"] .boxesHeaderBoxes,
  body[data-page-identifier="de.softcreatr.wsc.tou.TermsOfUseChangeLog"] .boxesTop,
  body[data-page-identifier="de.softcreatr.wsc.tou.TermsOfUseChangeLog"] .boxesBottom,
  body[data-page-identifier="de.softcreatr.wsc.tou.TermsOfUseChangeLog"] .boxesFooter,
  body[data-page-identifier="de.softcreatr.wsc.tou.TermsOfUseChangeLog"] .sidebar,
  body[data-page-identifier="de.softcreatr.wsc.tou.TermsOfUseChangeLog"] #pageFooter,
  body[data-page-identifier="de.softcreatr.wsc.tou.TermsOfUseChangeLog"] .formSubmit,
  body[data-page-identifier="de.softcreatr.wsc.tou.TermsOfUseChangeLog"] .breadcrumbs {
    display: none !important;
  }
  body[data-page-identifier="de.softcreatr.wsc.tou.TermsOfUse"] #pageContainer,
  body[data-page-identifier="de.softcreatr.wsc.tou.TermsOfUse"] #content,
  body[data-page-identifier="de.softcreatr.wsc.tou.TermsOfUse"] .scTermsOfUseSection,
  body[data-page-identifier="de.softcreatr.wsc.tou.TermsOfUse"] .scTermsOfUse,
  body[data-page-identifier="de.softcreatr.wsc.tou.TermsOfUseChangeLog"] #pageContainer,
  body[data-page-identifier="de.softcreatr.wsc.tou.TermsOfUseChangeLog"] #content,
  body[data-page-identifier="de.softcreatr.wsc.tou.TermsOfUseChangeLog"] .scTermsOfUseSection,
  body[data-page-identifier="de.softcreatr.wsc.tou.TermsOfUseChangeLog"] .scTermsOfUse {
    background: #fff !important;
    box-shadow: none !important;
    border: 0 !important;
  }
  body[data-page-identifier="de.softcreatr.wsc.tou.TermsOfUse"] #scTermsOfUse,
  body[data-page-identifier="de.softcreatr.wsc.tou.TermsOfUseChangeLog"] #scTermsOfUse {
    color: #000 !important;
  }
  body[data-page-identifier="de.softcreatr.wsc.tou.TermsOfUse"] #scTermsOfUse .termDescription,
  body[data-page-identifier="de.softcreatr.wsc.tou.TermsOfUse"] #scTermsOfUse .term::marker,
  body[data-page-identifier="de.softcreatr.wsc.tou.TermsOfUseChangeLog"] #scTermsOfUse .termDescription,
  body[data-page-identifier="de.softcreatr.wsc.tou.TermsOfUseChangeLog"] #scTermsOfUse .term::marker {
    color: #000 !important;
  }
}
.scrollableCheckboxList {
  background-color: var(--wcfInputBackground);
  border: 1px solid var(--wcfInputBorder);
  border-radius: var(--wcfBorderRadius);
  color: var(--wcfInputText);
  max-height: 500px;
  max-width: 500px;
  overflow: auto;
  padding: 5px;
}
.scrollableCheckboxList li {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dialogContent .scrollableCheckboxList {
  max-height: 300px;
}

.itemListFilter {
  max-width: 500px;
}
.itemListFilter > .inputAddon {
  margin-top: 5px;
}
.itemListFilter .scrollableCheckboxList[data-filter=highlightActive] > li:not(.active) {
  opacity: 0.6;
}
.itemListFilter .scrollableCheckboxList[data-filter=activeOnly] > li:not(.active) {
  display: none;
}

/* search keyword highlighting */
.highlight {
  background-color: rgb(255, 214, 30);
  color: rgb(0, 0, 0);
  padding: 0 2px;
}

/* search form */
.searchBar {
  display: grid;
}
@media screen and (min-width: 769px), print {
  .searchBar {
    column-gap: 20px;
    grid-template-columns: 60% 20% auto;
  }
}
@media screen and (max-width: 768px) {
  .searchBar {
    row-gap: 5px;
  }
}

.searchFiltersContainer {
  margin-top: 20px;
}

.searchFilters {
  margin-top: 20px;
}

.searchFiltersTitle {
  align-items: center;
  color: var(--wcfContentDimmedText);
  display: flex;
  margin-top: 10px;
}
.searchFiltersTitle::before {
  border-top: 1px solid var(--wcfContentBorderInner);
  content: "";
  flex: 0 0 20px;
  margin-right: 10px;
}
.searchFiltersTitle::after {
  border-top: 1px solid var(--wcfContentBorderInner);
  content: "";
  flex: 1 0 auto;
  margin-left: 10px;
}
.searchFiltersTitle ~ .searchFilters {
  margin-top: 10px;
}

@media screen and (min-width: 769px), print {
  .searchFilters {
    columns: 2;
  }
  .searchFilters > :is(div, dl) {
    break-inside: avoid-column;
    /* work-around for Firefox */
    overflow: hidden;
  }
  .searchFiltersContainer .searchButton {
    display: none;
  }
}
@media screen and (max-width: 768px) {
  .searchFiltersContainer .searchButton {
    margin-top: 20px;
    width: 100%;
  }
}
.messageShareButtons .inlineList {
  gap: 5px;
}
.messageShareButtons .inlineList > li:not(:last-child) {
  margin-right: 0;
}
.messageShareButtons .button {
  align-items: center;
  display: flex;
}
.messageShareButtons .button span {
  margin-left: 3px;
}
@media screen and (max-width: 768px) {
  .messageShareButtons .button span {
    display: none;
  }
}
.messageShareButtons .messageShareProvider {
  --background-color-facebook-rgb: 59 89 153;
  --background-color-twitter-rgb: 20 23 26;
  --background-color-reddit-rgb: 255 69 0;
  --background-color-whatsapp-rgb: 37 211 102;
  --background-color-linkedin-rgb: 0 122 182;
  --background-color-pinterest-rgb: 189 33 37;
  --background-color-xing-rgb: 0 101 103;
  --color: #fff;
  background-color: rgb(var(--background-color-rgb, --wcfButtonBackground-rgb));
  color: var(--color);
}
.messageShareButtons .messageShareProvider[data-identifier=Facebook] {
  --background-color-rgb: var(--background-color-facebook-rgb);
}
.messageShareButtons .messageShareProvider[data-identifier=Twitter] {
  --background-color-rgb: var(--background-color-twitter-rgb);
}
.messageShareButtons .messageShareProvider[data-identifier=Reddit] {
  --background-color-rgb: var(--background-color-reddit-rgb);
}
.messageShareButtons .messageShareProvider[data-identifier=WhatsApp] {
  --background-color-rgb: var(--background-color-whatsapp-rgb);
}
.messageShareButtons .messageShareProvider[data-identifier=LinkedIn] {
  --background-color-rgb: var(--background-color-linkedin-rgb);
}
.messageShareButtons .messageShareProvider[data-identifier=Pinterest] {
  --background-color-rgb: var(--background-color-pinterest-rgb);
}
.messageShareButtons .messageShareProvider[data-identifier=XING] {
  --background-color-rgb: var(--background-color-xing-rgb);
}

/* hover states are only applied to non-touch devices to avoid "leftover" hover states after taps */
html:not(.touch) .messageShareButtons .messageShareProvider:hover {
  background-color: rgba(var(--background-color-rgb)/0.87);
  color: var(--color);
}

.sidebarList {
  display: flex;
  gap: 10px;
  flex-direction: column;
}

.sidebarListItem {
  display: grid;
  grid-template-areas: "image content" "image meta";
  grid-template-columns: min-content 1fr;
  grid-template-rows: 1fr min-content;
  position: relative;
  row-gap: 2px;
}

.sidebarListItem__image {
  display: flex;
  grid-area: image;
  margin-right: 10px;
}

.sidebarListItem__image img {
  max-height: 24px;
  max-width: 24px;
}

.sidebarListItem__image:has(fa-icon) {
  width: 24px;
}

.sidebarListItem__content {
  grid-area: content;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.sidebarListItem__meta {
  grid-area: meta;
  color: var(--wcfSidebarDimmedText);
  display: flex;
  flex-wrap: wrap;
  font-weight: 400;
}
@media screen and (min-width: 769px), print {
  .sidebarListItem__meta {
    font-size: var(--wcfFontSizeSmall);
  }
}
@media screen and (max-width: 768px) {
  .sidebarListItem__meta {
    font-size: 12px;
  }
}

/* Selector required to override legacy styling of the sidebar. */
.sidebarListItem .sidebarListItem__link {
  color: inherit;
}
.sidebarListItem .sidebarListItem__link::before {
  content: "";
  inset: 0;
  position: absolute;
}

@media (hover: hover) {
  .sidebarListItem .sidebarListItem__link:hover {
    color: inherit;
    text-decoration: underline;
    text-underline-offset: 3px;
  }
}
.sidebarListItem--unread .sidebarListItem__link {
  font-weight: 600;
}

.sidebarListItem__meta a {
  color: inherit;
}
.sidebarListItem__meta a:hover {
  color: inherit;
}

.sidebarListItem__description {
  font-weight: 400;
}
@media screen and (min-width: 769px), print {
  .sidebarListItem__description {
    font-size: var(--wcfFontSizeSmall);
  }
}
@media screen and (max-width: 768px) {
  .sidebarListItem__description {
    font-size: 12px;
  }
}

.sidebarListItem__meta__item {
  align-items: center;
  display: flex;
}

.sidebarListItem__meta__item:not(:last-child)::after {
  content: "•";
  margin: 0 3px;
}

.slideshowContainer {
  overflow: hidden;
  position: relative;
}
.slideshowContainer > ul:not(.slideshowButtonList) > li:not(:first-child) {
  display: none;
}
.slideshowContainer > .slideshowItemList {
  position: absolute;
  transition: left 0.8s ease-out;
}
.slideshowContainer > .slideshowItemList > li.slideshowItem {
  display: block;
  float: left;
  overflow: hidden;
  position: absolute;
  top: 0;
  /* fixes font rendering bug */
  -webkit-transform: translate3d(0, 0, 0);
}
.slideshowContainer > .slideshowButtonList {
  position: absolute;
  right: 0;
  top: 0;
}
.slideshowContainer > .slideshowButtonList > li {
  display: inline-block;
}

.snackbarContainer {
  align-items: start;
  bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  left: 20px;
  position: fixed;
  z-index: 460;
}

@keyframes snackbarIn {
  0% {
    opacity: 0;
    transform: translateX(-100%);
  }
  50% {
    opacity: 1;
    transform: translateX(-50%);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}
@keyframes snackbarOut {
  0% {
    opacity: 1;
    transform: translateX(0);
    margin-bottom: 0;
  }
  25% {
    opacity: 1;
    transform: translateX(-50%);
  }
  50% {
    margin-bottom: 0;
    opacity: 0;
    transform: translateX(-100%);
  }
  100% {
    margin-bottom: calc(var(--height) * -1);
    opacity: 0;
    transform: translateX(-100%);
  }
}
.snackbar {
  animation: snackbarIn 0.12s ease-in-out;
  background-color: var(--wcfContentBackground);
  border: 1px solid var(--wcfContentBorderInner);
  border-radius: 4px;
  box-shadow: var(--wcfBoxShadow);
  color: var(--wcfContentText);
  display: flex;
  isolation: isolate;
  min-width: 200px;
  overflow: hidden;
  padding: 0 5px;
  user-select: none;
}

.snackbar--closing {
  animation-name: snackbarOut;
  animation-duration: 0.24s;
}

.snackbar--success {
  background-color: var(--wcfStatusSuccessBackground);
  border-color: var(--wcfStatusSuccessBorder);
  color: var(--wcfStatusSuccessText);
}

.snackbar--progress {
  background-color: var(--wcfStatusInfoBackground);
  border-color: var(--wcfStatusInfoBorder);
  color: var(--wcfStatusInfoText);
}

.snackbar__icon {
  align-items: center;
  border: 1px solid transparent;
  display: flex;
  justify-content: center;
  text-align: center;
  width: 36px;
}

.snackbar__message {
  flex: 1 0 auto;
  padding: 10px 5px 10px 0;
}

/* main tabs */
.tabMenu > ul,
.menu > ul {
  display: flex;
  flex-wrap: wrap;
  /* adds a comma after each list item */
  /* adds a dot after each list item */
}
.tabMenu > ul > li,
.menu > ul > li {
  flex: 0 1 auto;
}
.tabMenu > ul > li:not(:last-child),
.menu > ul > li:not(:last-child) {
  margin-right: 5px;
}
.tabMenu > ul.commaSeparated > li:not(:last-child):after,
.menu > ul.commaSeparated > li:not(:last-child):after {
  content: ",";
  padding-left: 1px;
}
.tabMenu > ul.dotSeparated > li:not(:last-child):after,
.menu > ul.dotSeparated > li:not(:last-child):after {
  content: "•";
  margin-left: 5px;
}
.tabMenu > ul > li,
.menu > ul > li {
  position: relative;
}
.tabMenu > ul > li:not(:last-child),
.menu > ul > li:not(:last-child) {
  margin-right: 20px;
}
.tabMenu > ul > li::before,
.menu > ul > li::before {
  border-top: 1px solid var(--wcfContentLink);
  bottom: 0;
  content: "";
  left: 50%;
  position: absolute;
  width: 0;
}
.tabMenu > ul > li.active,
.menu > ul > li.active {
  z-index: 60;
}
.tabMenu > ul > li.active::before,
.menu > ul > li.active::before {
  left: 0;
  transition: left 0.12s linear, width 0.12s linear;
  width: 100%;
}
.tabMenu > ul > li.active > a,
.menu > ul > li.active > a {
  cursor: default;
}
.tabMenu > ul > li > a,
.menu > ul > li > a {
  display: block;
  padding: 5px 0;
}
@media screen and (max-width: 768px) {
  .tabMenu,
  .menu {
    padding-left: 15px;
    padding-right: 15px;
    position: relative;
  }
  .tabMenu::before,
  .menu::before {
    display: none;
  }
  .tabMenu > ul,
  .menu > ul {
    flex-wrap: nowrap;
    overflow: auto;
    -webkit-overflow-scrolling: touch;
  }
  .tabMenu > ul > li,
  .menu > ul > li {
    flex-shrink: 0;
    white-space: nowrap;
  }
  .tabMenu > ul.enableAnimation,
  .menu > ul.enableAnimation {
    transition: padding-left 0.24s linear;
  }
  .tabMenu > ul.enableAnimation > li:first-child,
  .menu > ul.enableAnimation > li:first-child {
    transition: margin-left 0.24s linear;
  }
}
@media screen and (min-width: 769px), print {
  .tabMenu > ul,
  .menu > ul {
    border-bottom: 1px solid var(--wcfContentBorderInner);
  }
  .tabMenu > ul > li::before,
  .menu > ul > li::before {
    bottom: -1px;
  }
}

.tabMenu > ul > li > a {
  font-weight: 600;
  line-height: 1.28;
}
@media screen and (min-width: 769px), print {
  .tabMenu > ul > li > a {
    font-size: var(--wcfFontSizeSection);
  }
}
@media screen and (max-width: 768px) {
  .tabMenu > ul > li > a {
    font-size: 20px;
  }
}

/* sub tabs */
.menu {
  margin-top: 10px;
}
@media screen and (min-width: 769px), print {
  .menu > ul > li > a {
    font-weight: 400;
    line-height: 1.28;
  }
}
@media screen and (min-width: 769px) and (min-width: 769px), print {
  .menu > ul > li > a {
    font-size: var(--wcfFontSizeHeadline);
  }
}
@media screen and (min-width: 769px) and (max-width: 768px) {
  .menu > ul > li > a {
    font-size: 18px;
  }
}
.menu ~ .tabMenuContent {
  margin-top: 20px;
}

.tabMenuOverlayLeft,
.tabMenuOverlayRight {
  align-items: center;
  bottom: 0;
  display: flex;
  height: 100%;
  opacity: 0;
  position: absolute;
  top: 0;
  transition: opacity 0.24s linear, visibility 0s linear 0.24s;
  visibility: hidden;
  width: 30px;
  z-index: 50;
}
.tabMenuOverlayLeft.active,
.tabMenuOverlayRight.active {
  opacity: 1;
  transition-delay: 0s;
  visibility: visible;
}
.tabMenuOverlayLeft::before,
.tabMenuOverlayRight::before {
  color: var(--wcfContentDimmedText);
}

.tabMenuOverlayLeft {
  background: linear-gradient(to left, rgba(var(--wcfContentBackground-rgb)/0) 0%, var(--wcfContentBackground) 50%);
  left: 0;
}

.tabMenuOverlayRight {
  background: linear-gradient(to right, rgba(var(--wcfContentBackground-rgb)/0) 0%, var(--wcfContentBackground) 50%);
  justify-content: flex-end;
  right: 0;
}

.tabMenuContent.hidden {
  display: none;
}

.tabMenuContent > .containerList:first-child > li:first-child {
  border-top-width: 0;
}

.messageTabMenu > .messageTabMenuContent {
  display: none;
}
.messageTabMenu > .messageTabMenuContent:not(.messageTabMenu) > nav.menu {
  display: none;
}
.messageTabMenu > .messageTabMenuContent.active {
  background-color: var(--wcfContentBackground);
  display: block;
  margin-top: 0;
}
.messageTabMenu > .messageTabMenuContent > .section:first-child {
  margin-top: 0;
}
.messageTabMenu:not(.messageTabMenuContent) > .messageTabMenuContent.active {
  border: 1px solid var(--wcfContentBorderInner);
  border-top-width: 0;
  padding: 20px;
}
.messageTabMenu.messageTabMenuContent > nav {
  border-bottom: 1px solid var(--wcfContentBorderInner);
  margin: -20px -20px 20px -20px;
  padding: 5px 20px;
}
.messageTabMenu.messageTabMenuContent > nav > ul {
  display: flex;
  flex-wrap: wrap;
  /* adds a comma after each list item */
  /* adds a dot after each list item */
  border: 0;
}
.messageTabMenu.messageTabMenuContent > nav > ul > li {
  flex: 0 1 auto;
}
.messageTabMenu.messageTabMenuContent > nav > ul > li:not(:last-child) {
  margin-right: 5px;
}
.messageTabMenu.messageTabMenuContent > nav > ul.commaSeparated > li:not(:last-child):after {
  content: ",";
  padding-left: 1px;
}
.messageTabMenu.messageTabMenuContent > nav > ul.dotSeparated > li:not(:last-child):after {
  content: "•";
  margin-left: 5px;
}
.messageTabMenu.messageTabMenuContent > nav > ul > li {
  color: var(--wcfContentLink);
  outline: 0;
}
.messageTabMenu.messageTabMenuContent > nav > ul > li:not(:last-child) {
  margin-right: 20px;
}
.messageTabMenu.messageTabMenuContent > nav > ul > li.active {
  color: var(--wcfContentLinkActive);
}
.messageTabMenu.messageTabMenuContent > nav > ul > li > a,
.messageTabMenu.messageTabMenuContent > nav > ul > li > button {
  color: inherit;
  display: block;
  outline: 0;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  font-weight: 400;
}
@media screen and (min-width: 769px), print {
  .messageTabMenu.messageTabMenuContent > nav > ul > li > a,
  .messageTabMenu.messageTabMenuContent > nav > ul > li > button {
    font-size: var(--wcfFontSizeSmall);
  }
}
@media screen and (max-width: 768px) {
  .messageTabMenu.messageTabMenuContent > nav > ul > li > a,
  .messageTabMenu.messageTabMenuContent > nav > ul > li > button {
    font-size: 12px;
  }
}

.messageTabMenu + .innerError,
.messageTabMenu + .innerSuccess,
.messageTabMenu + .innerWarning {
  margin-top: -1px;
  width: 100%;
}

.messageTabMenu > nav.tabMenu > ul,
.messageTabMenuNavigation > ul {
  background-color: var(--wcfContentBackground);
  border: 1px solid var(--wcfContentBorderInner);
  border-top-width: 0;
  display: flex;
  flex-wrap: wrap;
  /* adds a comma after each list item */
  /* adds a dot after each list item */
}
.messageTabMenu > nav.tabMenu > ul > li,
.messageTabMenuNavigation > ul > li {
  flex: 0 1 auto;
}
.messageTabMenu > nav.tabMenu > ul > li:not(:last-child),
.messageTabMenuNavigation > ul > li:not(:last-child) {
  margin-right: 5px;
}
.messageTabMenu > nav.tabMenu > ul.commaSeparated > li:not(:last-child):after,
.messageTabMenuNavigation > ul.commaSeparated > li:not(:last-child):after {
  content: ",";
  padding-left: 1px;
}
.messageTabMenu > nav.tabMenu > ul.dotSeparated > li:not(:last-child):after,
.messageTabMenuNavigation > ul.dotSeparated > li:not(:last-child):after {
  content: "•";
  margin-left: 5px;
}
.messageTabMenu > nav.tabMenu > ul > li,
.messageTabMenuNavigation > ul > li {
  border-right: 1px solid var(--wcfContentBorderInner);
  color: var(--wcfContentLink);
}
.messageTabMenu > nav.tabMenu > ul > li:not(:last-child),
.messageTabMenuNavigation > ul > li:not(:last-child) {
  margin-right: 0;
}
.messageTabMenu > nav.tabMenu > ul > li.active,
.messageTabMenuNavigation > ul > li.active {
  color: var(--wcfContentLinkActive);
}
.messageTabMenu > nav.tabMenu > ul > li.active > a, .messageTabMenu > nav.tabMenu > ul > li.active > button,
.messageTabMenuNavigation > ul > li.active > a,
.messageTabMenuNavigation > ul > li.active > button {
  position: relative;
}
.messageTabMenu > nav.tabMenu > ul > li.active > a::after, .messageTabMenu > nav.tabMenu > ul > li.active > button::after,
.messageTabMenuNavigation > ul > li.active > a::after,
.messageTabMenuNavigation > ul > li.active > button::after {
  border-bottom: 1px solid var(--wcfContentBackground);
  bottom: -1px;
  content: "";
  display: block;
  left: 0;
  position: absolute;
  right: 0;
}
.messageTabMenu > nav.tabMenu > ul > li > a,
.messageTabMenu > nav.tabMenu > ul > li > button,
.messageTabMenuNavigation > ul > li > a,
.messageTabMenuNavigation > ul > li > button {
  align-items: center;
  color: inherit;
  /* 0.2em matches the width of a space */
  column-gap: 0.2em;
  display: flex;
  padding: 10px 20px;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}
@media screen and (min-width: 769px), print {
  .messageTabMenu > nav.tabMenu > ul > li > a,
  .messageTabMenu > nav.tabMenu > ul > li > button,
  .messageTabMenuNavigation > ul > li > a,
  .messageTabMenuNavigation > ul > li > button {
    font-size: var(--wcfFontSizeDefault);
  }
}
@media screen and (max-width: 768px) {
  .messageTabMenu > nav.tabMenu > ul > li > a,
  .messageTabMenu > nav.tabMenu > ul > li > button,
  .messageTabMenuNavigation > ul > li > a,
  .messageTabMenuNavigation > ul > li > button {
    font-size: 14px;
  }
}
.messageTabMenu > nav.tabMenu > ul > li > a .badgeUpdate,
.messageTabMenu > nav.tabMenu > ul > li > button .badgeUpdate,
.messageTabMenuNavigation > ul > li > a .badgeUpdate,
.messageTabMenuNavigation > ul > li > button .badgeUpdate {
  font-variant: tabular-nums;
  margin-left: 0.3em;
}
@media screen and (max-width: 768px) {
  .messageTabMenu > nav.tabMenu > ul > li > a > span:not(.badgeUpdate),
  .messageTabMenu > nav.tabMenu > ul > li > button > span:not(.badgeUpdate),
  .messageTabMenuNavigation > ul > li > a > span:not(.badgeUpdate),
  .messageTabMenuNavigation > ul > li > button > span:not(.badgeUpdate) {
    display: none;
  }
}
.messageTabMenu > nav.tabMenu > span,
.messageTabMenuNavigation > span {
  display: none;
}

/* fix for Firefox - fieldsets are set to display: table-column which cause an odd gap between the fieldset
   and the next element, similar to gaps with display: inline-block and font-size > 0 */
@-moz-document url-prefix() {
  fieldset + .messageTabMenu {
    margin-top: -3px;
  }
}
.uploadButton {
  overflow: hidden;
  position: relative;
}
.uploadButton > input {
  bottom: 0;
  left: 0;
  opacity: 0;
  position: absolute;
  top: 0;
}

tr.sortableNode {
  cursor: move;
}

.tabularList {
  border-bottom: 1px solid var(--wcfContentBorder);
  display: flex;
  flex-direction: column;
}

.tabularListRow {
  flex: 0 0 auto;
  padding: 5px 0;
  transition: background-color 0.12s;
}
.tabularListRow.divider + li:not(.divider) {
  border-top-color: var(--wcfContentBorder);
}

html:not(.touch) .tabularListRow:not(.tabularListRowHead):hover {
  background-color: var(--wcfTabularBoxBackgroundActive);
}

.tabularListRowHead {
  border-bottom: 2px solid currentColor;
  color: var(--wcfTabularBoxHeadline);
}
.tabularListRowHead + li {
  border-top-width: 0 !important;
}

.tabularListRow:not(.tabularListRowHead) {
  border-top: 1px solid var(--wcfContentBorderInner);
}

.tabularListColumns {
  align-items: center;
  display: flex;
}
.tabularListColumns > li {
  flex: 0 0 auto;
  padding: 5px 10px;
}

.tabularListRowHead > .tabularListColumns > li {
  color: var(--wcfTabularBoxHeadline);
  font-weight: 400;
  line-height: 1.28;
}
@media screen and (min-width: 769px), print {
  .tabularListRowHead > .tabularListColumns > li {
    font-size: var(--wcfFontSizeHeadline);
  }
}
@media screen and (max-width: 768px) {
  .tabularListRowHead > .tabularListColumns > li {
    font-size: 18px;
  }
}
.tabularListRowHead > .tabularListColumns > li > a {
  color: var(--wcfTabularBoxHeadline);
  display: block;
}
.tabularListRowHead > .tabularListColumns > li.ASC > a:after, .tabularListRowHead > .tabularListColumns > li.DESC > a:after {
  display: inline-block;
  margin-left: 7px;
}
.tabularListRowHead > .tabularListColumns > li.ASC > a::after {
  content: "↑";
}
.tabularListRowHead > .tabularListColumns > li.DESC > a::after {
  content: "↓";
}
.tabularListRowHead > .tabularListColumns > li.active > a,
.tabularListRowHead > .tabularListColumns > li > a:hover {
  color: var(--wcfTabularBoxHeadlineActive);
}

.tabularBox {
  overflow: auto;
}

.tabularBoxTitle > header {
  border-bottom: 1px solid currentColor;
  color: var(--wcfTabularBoxHeadline);
  padding: 10px 0;
}
.tabularBoxTitle > header > h1,
.tabularBoxTitle > header > h2,
.tabularBoxTitle > header > h3 {
  font-weight: 400;
  line-height: 1.28;
}
@media screen and (min-width: 769px), print {
  .tabularBoxTitle > header > h1,
  .tabularBoxTitle > header > h2,
  .tabularBoxTitle > header > h3 {
    font-size: var(--wcfFontSizeHeadline);
  }
}
@media screen and (max-width: 768px) {
  .tabularBoxTitle > header > h1,
  .tabularBoxTitle > header > h2,
  .tabularBoxTitle > header > h3 {
    font-size: 18px;
  }
}
.tabularBoxTitle > header > h1 + small,
.tabularBoxTitle > header > h2 + small,
.tabularBoxTitle > header > h3 + small {
  display: block;
}
.tabularBoxTitle > header > h1 .badge,
.tabularBoxTitle > header > h2 .badge,
.tabularBoxTitle > header > h3 .badge {
  top: -2px;
}
.tabularBoxTitle > header a {
  color: var(--wcfTabularBoxHeadline);
}
.tabularBoxTitle > header a:hover {
  color: var(--wcfTabularBoxHeadlineActive);
}
.tabularBoxTitle > header .collapsibleButton {
  cursor: pointer;
  transition: transform 0.12s linear;
}

/* table */
.htmlContent table, .ck.ck-content.ck-editor__editable table, .messageBody > .messageText table, .messageSignature > div table,
.table {
  border-bottom: 1px solid var(--wcfContentBorder);
  border-spacing: 0;
  width: 100%;
}
.htmlContent table td, .ck.ck-content.ck-editor__editable table td, .messageBody > .messageText table td, .messageSignature > div table td,
.htmlContent table th,
.ck.ck-content.ck-editor__editable table th,
.messageBody > .messageText table th,
.messageSignature > div table th,
.table td,
.table th {
  padding: 10px;
  text-align: left;
  vertical-align: middle;
}
.htmlContent table td > label, .ck.ck-content.ck-editor__editable table td > label, .messageBody > .messageText table td > label, .messageSignature > div table td > label,
.htmlContent table th > label,
.ck.ck-content.ck-editor__editable table th > label,
.messageBody > .messageText table th > label,
.messageSignature > div table th > label,
.table td > label,
.table th > label {
  cursor: pointer;
  display: block;
}
.htmlContent table th, .ck.ck-content.ck-editor__editable table th, .messageBody > .messageText table th, .messageSignature > div table th,
.table th {
  border-bottom: 2px solid currentColor;
  color: var(--wcfTabularBoxHeadline);
  text-align: left;
  white-space: nowrap;
  font-weight: 400;
  line-height: 1.28;
  /* alignment only */
}
@media screen and (min-width: 769px), print {
  .htmlContent table th, .ck.ck-content.ck-editor__editable table th, .messageBody > .messageText table th, .messageSignature > div table th,
  .table th {
    font-size: var(--wcfFontSizeHeadline);
  }
}
@media screen and (max-width: 768px) {
  .htmlContent table th, .ck.ck-content.ck-editor__editable table th, .messageBody > .messageText table th, .messageSignature > div table th,
  .table th {
    font-size: 18px;
  }
}
.htmlContent table th > a, .ck.ck-content.ck-editor__editable table th > a, .messageBody > .messageText table th > a, .messageSignature > div table th > a,
.table th > a {
  color: var(--wcfTabularBoxHeadline);
  display: block;
}
.htmlContent table th.active > a, .ck.ck-content.ck-editor__editable table th.active > a, .messageBody > .messageText table th.active > a, .messageSignature > div table th.active > a,
.htmlContent table th > a:hover,
.ck.ck-content.ck-editor__editable table th > a:hover,
.messageBody > .messageText table th > a:hover,
.messageSignature > div table th > a:hover,
.table th.active > a,
.table th > a:hover {
  color: var(--wcfTabularBoxHeadlineActive);
}
.htmlContent table th.ASC > a::after, .ck.ck-content.ck-editor__editable table th.ASC > a::after, .messageBody > .messageText table th.ASC > a::after, .messageSignature > div table th.ASC > a::after, .htmlContent table th.DESC > a::after, .ck.ck-content.ck-editor__editable table th.DESC > a::after, .messageBody > .messageText table th.DESC > a::after, .messageSignature > div table th.DESC > a::after,
.table th.ASC > a::after,
.table th.DESC > a::after {
  display: inline-block;
  margin-left: 5px;
}
.htmlContent table th.ASC > a::after, .ck.ck-content.ck-editor__editable table th.ASC > a::after, .messageBody > .messageText table th.ASC > a::after, .messageSignature > div table th.ASC > a::after,
.table th.ASC > a::after {
  content: "↑";
}
.htmlContent table th.DESC > a::after, .ck.ck-content.ck-editor__editable table th.DESC > a::after, .messageBody > .messageText table th.DESC > a::after, .messageSignature > div table th.DESC > a::after,
.table th.DESC > a::after {
  content: "↓";
}
.htmlContent table th.columnMark, .ck.ck-content.ck-editor__editable table th.columnMark, .messageBody > .messageText table th.columnMark, .messageSignature > div table th.columnMark, .htmlContent table th.columnStatus, .ck.ck-content.ck-editor__editable table th.columnStatus, .messageBody > .messageText table th.columnStatus, .messageSignature > div table th.columnStatus,
.table th.columnMark,
.table th.columnStatus {
  text-align: center;
}
.htmlContent table th.columnDate, .ck.ck-content.ck-editor__editable table th.columnDate, .messageBody > .messageText table th.columnDate, .messageSignature > div table th.columnDate, .htmlContent table th.columnDigits, .ck.ck-content.ck-editor__editable table th.columnDigits, .messageBody > .messageText table th.columnDigits, .messageSignature > div table th.columnDigits, .htmlContent table th.columnID, .ck.ck-content.ck-editor__editable table th.columnID, .messageBody > .messageText table th.columnID, .messageSignature > div table th.columnID,
.table th.columnDate,
.table th.columnDigits,
.table th.columnID {
  text-align: right;
}
.htmlContent table td.columnMark, .ck.ck-content.ck-editor__editable table td.columnMark, .messageBody > .messageText table td.columnMark, .messageSignature > div table td.columnMark, .htmlContent table td.columnStatus, .ck.ck-content.ck-editor__editable table td.columnStatus, .messageBody > .messageText table td.columnStatus, .messageSignature > div table td.columnStatus,
.table td.columnMark,
.table td.columnStatus {
  text-align: center;
  width: 1px;
  white-space: nowrap;
  word-wrap: normal;
}
.htmlContent table td.columnDigits, .ck.ck-content.ck-editor__editable table td.columnDigits, .messageBody > .messageText table td.columnDigits, .messageSignature > div table td.columnDigits, .htmlContent table td.columnID, .ck.ck-content.ck-editor__editable table td.columnID, .messageBody > .messageText table td.columnID, .messageSignature > div table td.columnID,
.table td.columnDigits,
.table td.columnID {
  text-align: right;
  width: 1px;
  white-space: nowrap;
  word-wrap: normal;
}
.htmlContent table td.columnIcon, .ck.ck-content.ck-editor__editable table td.columnIcon, .messageBody > .messageText table td.columnIcon, .messageSignature > div table td.columnIcon,
.table td.columnIcon {
  text-align: left;
  width: 1px;
  white-space: nowrap;
  word-wrap: normal;
}
.htmlContent table td.columnIcon fa-icon, .ck.ck-content.ck-editor__editable table td.columnIcon fa-icon, .messageBody > .messageText table td.columnIcon fa-icon, .messageSignature > div table td.columnIcon fa-icon,
.table td.columnIcon fa-icon {
  color: var(--wcfContentText);
}
.htmlContent table td.columnTitle, .ck.ck-content.ck-editor__editable table td.columnTitle, .messageBody > .messageText table td.columnTitle, .messageSignature > div table td.columnTitle,
.table td.columnTitle {
  font-weight: 600;
  text-align: left;
}
.htmlContent table td.columnText, .ck.ck-content.ck-editor__editable table td.columnText, .messageBody > .messageText table td.columnText, .messageSignature > div table td.columnText,
.table td.columnText {
  font-weight: normal;
  text-align: left;
  max-width: 20%;
}
.htmlContent table td.columnDate, .ck.ck-content.ck-editor__editable table td.columnDate, .messageBody > .messageText table td.columnDate, .messageSignature > div table td.columnDate,
.table td.columnDate {
  text-align: right;
  width: 1px;
  white-space: nowrap;
  word-wrap: normal;
  font-weight: 400;
}
@media screen and (min-width: 769px), print {
  .htmlContent table td.columnDate, .ck.ck-content.ck-editor__editable table td.columnDate, .messageBody > .messageText table td.columnDate, .messageSignature > div table td.columnDate,
  .table td.columnDate {
    font-size: var(--wcfFontSizeSmall);
  }
}
@media screen and (max-width: 768px) {
  .htmlContent table td.columnDate, .ck.ck-content.ck-editor__editable table td.columnDate, .messageBody > .messageText table td.columnDate, .messageSignature > div table td.columnDate,
  .table td.columnDate {
    font-size: 12px;
  }
}
.htmlContent table td.columnURL, .ck.ck-content.ck-editor__editable table td.columnURL, .messageBody > .messageText table td.columnURL, .messageSignature > div table td.columnURL, .htmlContent table td.columnSmallText, .ck.ck-content.ck-editor__editable table td.columnSmallText, .messageBody > .messageText table td.columnSmallText, .messageSignature > div table td.columnSmallText,
.table td.columnURL,
.table td.columnSmallText {
  text-align: left;
  font-weight: 400;
}
@media screen and (min-width: 769px), print {
  .htmlContent table td.columnURL, .ck.ck-content.ck-editor__editable table td.columnURL, .messageBody > .messageText table td.columnURL, .messageSignature > div table td.columnURL, .htmlContent table td.columnSmallText, .ck.ck-content.ck-editor__editable table td.columnSmallText, .messageBody > .messageText table td.columnSmallText, .messageSignature > div table td.columnSmallText,
  .table td.columnURL,
  .table td.columnSmallText {
    font-size: var(--wcfFontSizeSmall);
  }
}
@media screen and (max-width: 768px) {
  .htmlContent table td.columnURL, .ck.ck-content.ck-editor__editable table td.columnURL, .messageBody > .messageText table td.columnURL, .messageSignature > div table td.columnURL, .htmlContent table td.columnSmallText, .ck.ck-content.ck-editor__editable table td.columnSmallText, .messageBody > .messageText table td.columnSmallText, .messageSignature > div table td.columnSmallText,
  .table td.columnURL,
  .table td.columnSmallText {
    font-size: 12px;
  }
}
@media screen and (max-width: 768px) {
  .htmlContent table td.columnTitle, .ck.ck-content.ck-editor__editable table td.columnTitle, .messageBody > .messageText table td.columnTitle, .messageSignature > div table td.columnTitle, .htmlContent table td.columnText, .ck.ck-content.ck-editor__editable table td.columnText, .messageBody > .messageText table td.columnText, .messageSignature > div table td.columnText, .htmlContent table td.columnURL, .ck.ck-content.ck-editor__editable table td.columnURL, .messageBody > .messageText table td.columnURL, .messageSignature > div table td.columnURL, .htmlContent table td.columnSmallText, .ck.ck-content.ck-editor__editable table td.columnSmallText, .messageBody > .messageText table td.columnSmallText, .messageSignature > div table td.columnSmallText,
  .table td.columnTitle,
  .table td.columnText,
  .table td.columnURL,
  .table td.columnSmallText {
    min-width: 200px;
  }
}
.htmlContent table tr:hover > td, .ck.ck-content.ck-editor__editable table tr:hover > td, .messageBody > .messageText table tr:hover > td, .messageSignature > div table tr:hover > td,
.table tr:hover > td {
  background-color: rgb(242, 242, 242);
}
.htmlContent table tr:not(:last-child) > td:not(.lastRow), .ck.ck-content.ck-editor__editable table tr:not(:last-child) > td:not(.lastRow), .messageBody > .messageText table tr:not(:last-child) > td:not(.lastRow), .messageSignature > div table tr:not(:last-child) > td:not(.lastRow),
.table tr:not(:last-child) > td:not(.lastRow) {
  border-bottom: 1px solid var(--wcfContentBorderInner);
}
.htmlContent table .statusDisplay, .ck.ck-content.ck-editor__editable table .statusDisplay, .messageBody > .messageText table .statusDisplay, .messageSignature > div table .statusDisplay,
.table .statusDisplay {
  float: right;
}
.htmlContent table .statusDisplay .statusIcons, .ck.ck-content.ck-editor__editable table .statusDisplay .statusIcons, .messageBody > .messageText table .statusDisplay .statusIcons, .messageSignature > div table .statusDisplay .statusIcons,
.table .statusDisplay .statusIcons {
  float: right;
  margin-left: 5px;
}
.htmlContent table .statusDisplay .statusIcons li, .ck.ck-content.ck-editor__editable table .statusDisplay .statusIcons li, .messageBody > .messageText table .statusDisplay .statusIcons li, .messageSignature > div table .statusDisplay .statusIcons li,
.table .statusDisplay .statusIcons li {
  display: inline-block;
}
.htmlContent table tbody:first-child > tr:first-child > td, .ck.ck-content.ck-editor__editable table tbody:first-child > tr:first-child > td, .messageBody > .messageText table tbody:first-child > tr:first-child > td, .messageSignature > div table tbody:first-child > tr:first-child > td,
.table tbody:first-child > tr:first-child > td {
  border-top: 1px solid var(--wcfContentBorder);
}

.tableOfContentsContainer {
  border: 1px solid var(--wcfContentBorderInner);
  /* The list numbers extend into the horizontal padding, 10px is not enough for double digit numbers. */
  padding: 10px 20px;
}
.tableOfContentsContainer.open .jsTableOfContentsShow {
  display: none;
}
.tableOfContentsContainer:not(.open) .jsTableOfContentsHide,
.tableOfContentsContainer:not(.open) .tableOfContents {
  display: none;
}

@media screen and (min-width: 769px), print {
  .tableOfContentsWrapper {
    float: right;
    margin: 0 0 10px 10px;
    max-width: 50%;
  }
  .htmlContent > .tableOfContentsWrapper + *, .ck.ck-content.ck-editor__editable > .tableOfContentsWrapper + *, .messageBody > .messageText > .tableOfContentsWrapper + *, .messageSignature > div > .tableOfContentsWrapper + * {
    margin-top: 0 !important;
  }
}
@media screen and (max-width: 768px) {
  .tableOfContentsWrapper {
    margin-bottom: 10px;
  }
  .tableOfContentsContainer {
    display: inline-block;
  }
  .tableOfContentsContainer.mobileForceHide .jsTableOfContentsShow {
    display: initial !important;
  }
  .tableOfContentsContainer.mobileForceHide .jsTableOfContentsHide,
  .tableOfContentsContainer.mobileForceHide .tableOfContents {
    display: none;
  }
}
.tableOfContentsHeader {
  text-align: center;
}

.tableOfContentsTitle {
  font-weight: 600;
}

.htmlContent .tableOfContents, .ck.ck-content.ck-editor__editable .tableOfContents, .messageSignature > div .tableOfContents,
.messageBody > .messageText .tableOfContents {
  margin-left: 15px;
}
.htmlContent .tableOfContents.tocLevel2, .ck.ck-content.ck-editor__editable .tableOfContents.tocLevel2, .messageSignature > div .tableOfContents.tocLevel2,
.messageBody > .messageText .tableOfContents.tocLevel2 {
  list-style-type: lower-alpha;
}
.htmlContent .tableOfContents.tocLevel3, .ck.ck-content.ck-editor__editable .tableOfContents.tocLevel3, .messageSignature > div .tableOfContents.tocLevel3,
.messageBody > .messageText .tableOfContents.tocLevel3 {
  list-style-type: lower-roman;
}

.balloonTooltip {
  background-color: var(--wcfTooltipBackground);
  border-radius: 2px;
  box-shadow: 0 0 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
  color: var(--wcfTooltipText);
  left: 0;
  max-width: 300px;
  padding: 5px 10px;
  pointer-events: none;
  position: fixed;
  top: 0;
  transition: visibility 0s linear 0.12s;
  visibility: hidden;
  z-index: 800;
  font-weight: 400;
}
@media screen and (min-width: 769px), print {
  .balloonTooltip {
    font-size: var(--wcfFontSizeSmall);
  }
}
@media screen and (max-width: 768px) {
  .balloonTooltip {
    font-size: 12px;
  }
}
.balloonTooltip.active {
  visibility: visible;
  transition-delay: 0s;
}
.balloonTooltip.interactive {
  pointer-events: all;
}
.balloonTooltip.interactive > span, .balloonTooltip.interactive button {
  cursor: pointer;
}
.balloonTooltip.interactive > span:not(:first-child), .balloonTooltip.interactive button:not(:first-child) {
  border-left: 1px solid var(--wcfTooltipText);
  margin-left: 10px;
  padding-left: 10px;
}

.quoteManagerCopy {
  position: absolute;
  -webkit-user-select: none;
  user-select: none;
  white-space: nowrap;
  z-index: 350;
}
.quoteManagerCopy.touchForceInaccessible {
  pointer-events: none;
}
@media screen and (max-width: 1024px) and (min-width: 769px) {
  .quoteManagerCopy {
    font-size: var(--wcfFontSizeDefault);
  }
}
@media screen and (max-width: 1024px) and (max-width: 768px) {
  .quoteManagerCopy {
    font-size: 14px;
  }
}

#trophyIconEditor .colorBoxValue {
  display: block;
  height: 24px;
  width: 24px;
}

#trophyIconEditor .colorBox {
  background-color: rgb(255, 255, 255);
  border: 1px solid rgb(204, 204, 204);
  display: inline-block;
  padding: 1px;
  vertical-align: middle;
}

.badgeIconEditor {
  column-gap: 10px;
  display: flex;
}

.badgeIconEditor .trophyIcon {
  align-self: center;
  flex: 0 0 auto;
}

.badgeIconEditorButtons {
  align-items: start;
  align-self: center;
  display: flex;
  flex: 1 0 auto;
  gap: 10px;
}

@media screen and (max-width: 544px) {
  .badgeIconEditorButtons {
    flex-direction: column;
  }
}
.trophyIcon {
  align-self: flex-start;
  display: inline-block;
  border-radius: 50%;
}
.trophyIcon fa-icon {
  transform: scale(0.5625);
  width: var(--icon-size);
  /*
  	We need to override the positioning by the .box classes here
  	to prevent the icon from being moved too far to the left.
  */
  position: static !important;
}

.specialTrophyList {
  display: flex;
  flex-wrap: wrap;
}
.specialTrophyList > li {
  width: 300px;
  padding-bottom: 5px;
}
.specialTrophyList > li > label {
  display: flex;
  align-items: center;
}
.specialTrophyList > li > label .trophyIcon,
.specialTrophyList > li > label > span:last-child {
  margin-left: 5px;
}
.specialTrophyList > li > label input,
.specialTrophyList > li > label .trophyIcon {
  flex-shrink: 0;
}

/* trophies in message sidebar */
.specialTrophyContainer {
  margin-top: 10px;
}
.specialTrophyContainer > ul {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: -5px;
  margin-right: -5px;
}
.specialTrophyContainer > ul > li {
  margin-bottom: 5px;
  margin-right: 5px;
}

@media screen and (max-width: 768px) {
  .specialTrophyContainer {
    display: none;
  }
}
/* trophies in user profile header */
.specialTrophyUserContainer > ul {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  margin-right: -5px;
  margin-top: -15px;
}
.specialTrophyUserContainer > ul > li {
  margin-bottom: 5px;
  margin-right: 5px;
}

.userProfileUserWithCoverPhoto .specialTrophyUserContainer > ul {
  margin-top: 0;
}

.sortableNodeLabel > .trophyIcon {
  margin-right: 5px;
}

.unfurlUrlCardContainer {
  margin: 1em 0 0 0;
}

.unfurlUrlCard {
  background-color: var(--wcfContentBackground);
  border-radius: var(--wcfBorderRadius);
  box-shadow: 0 0 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
  color: var(--wcfContentText);
  display: inline-block;
  max-width: 100%;
  overflow: hidden;
  position: relative;
  width: 400px;
  /* OG images are designed with a 2:1 aspect ratio. */
}
.unfurlUrlCard.unfurlUrlCardCoverImage .unfurlUrlImage {
  /* The `!important` is required because of `.messageBody > .messageText img`. */
  height: 200px !important;
  object-fit: cover;
  object-position: center;
  width: 400px;
}
.unfurlUrlCard.unfurlUrlCardSquaredImage {
  display: flex;
}
.unfurlUrlCard.unfurlUrlCardSquaredImage .unfurlUrlImage {
  border-radius: 3px;
  flex: 0 0 auto;
  /* The `!important` is required because of `.messageBody > .messageText img`. */
  height: 128px !important;
  margin: 10px;
  width: 128px;
}
@media screen and (min-width: 545px) and (max-width: 768px) {
  .unfurlUrlCard.unfurlUrlCardSquaredImage .unfurlUrlImage {
    height: 64px !important;
    width: 64px;
  }
}
@media screen and (max-width: 544px) {
  .unfurlUrlCard.unfurlUrlCardSquaredImage .unfurlUrlImage {
    height: 24px !important;
    position: absolute;
    width: 24px;
  }
}
.unfurlUrlCard.unfurlUrlCardSquaredImage .unfurlUrlInformation {
  flex: 1 auto;
  overflow: hidden;
  padding-left: 10px;
}
@media screen and (max-width: 544px) {
  .unfurlUrlCard.unfurlUrlCardSquaredImage .unfurlUrlTitle {
    padding-left: 30px;
  }
}

html[data-color-scheme=dark] .unfurlUrlCard {
  border: 1px solid var(--wcfContentBorderInner);
}

.unfurlUrlInformation {
  padding: 10px 10px 25px 10px;
}

.unfurlUrlTitle {
  font-weight: 400;
  line-height: 1.28;
  font-weight: 600;
  color: inherit;
  display: -webkit-box;
  overflow: hidden;
  text-overflow: ellipsis;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}
@media screen and (min-width: 769px), print {
  .unfurlUrlTitle {
    font-size: var(--wcfFontSizeHeadline);
  }
}
@media screen and (max-width: 768px) {
  .unfurlUrlTitle {
    font-size: 18px;
  }
}
.unfurlUrlTitle::before {
  content: "";
  inset: 0;
  position: absolute;
}

@media (hover: hover) {
  .unfurlUrlTitle:hover {
    color: inherit;
    text-decoration: underline;
    text-underline-offset: 3px;
  }
}
.unfurlUrlDescription {
  color: var(--wcfContentDimmedText);
  margin-top: 5px;
}

.unfurlUrlHost {
  font-weight: 400;
  bottom: 5px;
  color: var(--wcfContentDimmedText);
  position: absolute;
  right: 5px;
}
@media screen and (min-width: 769px), print {
  .unfurlUrlHost {
    font-size: var(--wcfFontSizeSmall);
  }
}
@media screen and (max-width: 768px) {
  .unfurlUrlHost {
    font-size: 12px;
  }
}
.unfurlUrlHost img {
  height: 12px !important;
}

.formUploadHandlerContent > .formUploadHandlerList {
  display: flex;
  flex-wrap: wrap;
  margin-left: 0 !important;
}
.formUploadHandlerContent > .formUploadHandlerList > li {
  display: flex;
  flex: 0 0 100%;
  margin-bottom: 20px;
}
@media screen and (min-width: 769px), print {
  .formUploadHandlerContent > .formUploadHandlerList {
    margin-right: -20px;
  }
  .formUploadHandlerContent > .formUploadHandlerList > li {
    /* Safari sometimes trips over fractional values, causing two
       items to be exactly 1 pixel wider than the available space.
       Reserving 21px covers all sort of rounding errors, without
       being visually noticeable */
    /* The `flex` shorthand fails in IE11 if `calc()` is used. */
    flex-grow: 0;
    flex-shrink: 0;
    flex-basis: calc(50% - 21px);
    margin-right: 20px;
  }
}

.formUploadHandlerContentListImage {
  max-height: 64px;
  max-width: 64px;
  object-fit: cover;
}

.selectedImagePreview > img {
  margin-bottom: 5px;
  border: 1px solid #ccc;
  background-color: #fff;
  background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQAQMAAAAlPW0iAAAABlBMVEX////MzMw46qqDAAAAD0lEQVQI12P4z4Ad4ZAAAH6/D/Hgw85/AAAAAElFTkSuQmCC);
}

.uploadButtonDiv .button {
  overflow: hidden;
  position: relative;
}
.uploadButtonDiv .uploadButton > input {
  bottom: 0;
  left: 0;
  opacity: 0;
  position: absolute;
  top: 0;
}

.fileUpload__preview {
  display: flex;
  flex-direction: column;
}
.fileUpload__preview woltlab-core-file img {
  max-width: 100%;
  max-height: 400px;
}

.fileUpload__preview:not(:empty) {
  margin-top: 20px;
}

.fileUpload__preview__item__buttons {
  margin-top: 5px;
}

.userCardList__container {
  container-type: inline-size;
}

.userCardList {
  display: grid;
  gap: 20px;
  grid-auto-rows: minmax(200px, auto);
}

@container (min-width: 1280px) {
  .userCardList {
    grid-template-columns: repeat(4, 1fr);
  }
}
@container (width < 1280px) and (min-width: 960px) {
  .userCardList {
    grid-template-columns: repeat(3, 1fr);
  }
}
@container (width < 960px) and (min-width: 640px) {
  .userCardList {
    grid-template-columns: repeat(2, 1fr);
  }
}
.userCardList__item {
  display: flex;
}

.userCard {
  background-color: var(--wcfContentBackground);
  border: 1px solid var(--wcfContentBorderInner);
  border-radius: var(--wcfBorderRadius);
  box-shadow: var(--wcfBoxShadowCard);
  display: flex;
  flex-direction: column;
  position: relative;
}

.userCardList__item .userCard {
  flex: 1 1 auto;
}

.userCard__header {
  position: relative;
  display: flex;
  flex-direction: column;
}

.userCard__header__background {
  height: 100px;
  overflow: hidden;
  /* Nesting the border radius requires the inner element to be one pixel
     shorter to prevent visual gaps. */
  border-top-right-radius: calc(var(--wcfBorderRadius) - 1px);
  border-top-left-radius: calc(var(--wcfBorderRadius) - 1px);
}

.userCard__header__background__image {
  height: 100%;
  object-fit: cover;
  width: 100%;
}

@media (hover: hover) {
  .userCard__header__background__image {
    transition: transform 0.24s linear;
  }
  .userCard:hover .userCard__header__background__image {
    transform: scale(1.05);
  }
}
.userCard__header__avatar {
  align-self: start;
  background-color: var(--wcfContentBackground);
  border-radius: 50%;
  border: 5px solid var(--wcfContentBackground);
  margin-left: 15px;
  margin-top: -37px;
  position: relative;
}

.userCard__onlineIndicator {
  background-color: rgb(0, 153, 0);
  border: 1px solid var(--wcfContentBackground);
  border-radius: 50%;
  bottom: 0;
  height: 12px;
  position: absolute;
  right: 6px;
  width: 12px;
  z-index: 1;
}

.userCard__header__interactions {
  display: flex;
  gap: 8px;
  padding: 10px;
  position: absolute;
  right: 0;
  top: 0;
  z-index: 1;
}

.userCard__header__interactions .button {
  box-shadow: var(--wcfBoxShadowImageButton);
  border-radius: 50%;
  padding: 6px 4px;
}

.userCard__footer {
  border-top: 1px solid var(--wcfContentBorderInner);
  padding: 10px 5px;
}

.userCard__content {
  display: flex;
  flex-direction: column;
  flex: 1 auto;
  padding: 5px 20px 10px 20px;
}

.userCard__username {
  display: inline;
  font-weight: 400;
  line-height: 1.28;
  font-weight: 600;
}
@media screen and (min-width: 769px), print {
  .userCard__username {
    font-size: var(--wcfFontSizeHeadline);
  }
}
@media screen and (max-width: 768px) {
  .userCard__username {
    font-size: 18px;
  }
}

.userCard__link {
  color: inherit;
}
.userCard__link::before {
  content: "";
  inset: 0;
  position: absolute;
}
.userCard__link:hover {
  color: inherit;
}

.userCard__statusIcons {
  display: inline;
  position: relative;
  z-index: 1;
}

.userCard__footer__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 5px;
}

.userCard__footer__statsItem {
  display: flex;
  color: inherit;
  flex-direction: column;
  text-align: center;
  z-index: 1;
}
.userCard__footer__statsItem:hover {
  color: inherit;
}

.userCard__footer__statsItem:nth-child(n+4) {
  display: none;
}

.userCard__footer__statsItem__key {
  font-weight: 400;
  color: var(--wcfContentDimmedText);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
@media screen and (min-width: 769px), print {
  .userCard__footer__statsItem__key {
    font-size: var(--wcfFontSizeSmall);
  }
}
@media screen and (max-width: 768px) {
  .userCard__footer__statsItem__key {
    font-size: 12px;
  }
}

.userCard__buttons {
  background-color: var(--wcfContentContainerBackground);
  border-radius: 30px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 5px;
  margin: 5px auto 0 auto;
  padding: 5px 10px;
  z-index: 1;
}

.userCard__button {
  color: inherit;
}
.userCard__button:hover {
  color: inherit;
}

.userCard__details {
  font-weight: 400;
  margin-top: 15px;
}
@media screen and (min-width: 769px), print {
  .userCard__details {
    font-size: var(--wcfFontSizeSmall);
  }
}
@media screen and (max-width: 768px) {
  .userCard__details {
    font-size: 12px;
  }
}

.userCard__details .dataList dd {
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.userCard__details .dataList dd:not(:last-child) {
  margin-bottom: 0;
}

.userCard__details a {
  color: inherit;
  z-index: 1;
}
.userCard__details a:hover {
  color: inherit;
}

.popoverContainer[data-identifier="com.woltlab.wcf.user"] {
  --padding: 0;
  --maxHeight: none;
  --maxWidth: 300px;
  width: 300px;
}
.popoverContainer[data-identifier="com.woltlab.wcf.user"] .userCard {
  border-width: 0;
  box-shadow: none;
}

/* reduces the visual impact of content by ignored users */
.ignoredUserContent {
  /* no grayscale filter in IE11 due to completely lacking support */
  -webkit-filter: grayscale(100%) !important; /* Chrome, Safari, Opera */
  filter: grayscale(100%) !important; /* Firefox, Edge */
}
.ignoredUserContent:not(:hover) {
  opacity: 0.5 !important;
}

@media screen and (min-width: 769px), print {
  .ignoredUserMessage {
    background-color: var(--wcfStatusInfoBackground) !important;
    border-left: 5px solid var(--wcfStatusInfoBorder) !important;
    color: var(--wcfStatusInfoText) !important;
    cursor: pointer !important;
  }
  .ignoredUserMessage::before {
    content: attr(data-ignored-user-message);
    padding: 10px 20px;
  }
}
@media screen and (max-width: 768px) {
  .ignoredUserMessage {
    border-top: 1px solid var(--wcfContentBorder);
    margin: 0 -10px;
    padding-top: 30px;
  }
  .ignoredUserMessage::before {
    background-color: var(--wcfStatusInfoBackground) !important;
    border-left: 5px solid var(--wcfStatusInfoBorder) !important;
    color: var(--wcfStatusInfoText) !important;
    content: attr(data-ignored-user-message);
    cursor: pointer !important;
    display: block;
    padding: 10px;
  }
}
.ignoredUserMessage > * {
  display: none;
}

.userMenu {
  background-color: var(--wcfUserMenuBackground);
  color: var(--wcfUserMenuText);
  pointer-events: all;
}
.userMenu.userMenuControlPanel .userMenuItemImage {
  align-self: center;
}
.userMenu.userMenuControlPanel .userMenuItemContent {
  font-weight: 600;
}

.dropdownMenuContainer .userMenu {
  border-radius: var(--wcfBorderRadius);
  box-shadow: var(--wcfBoxShadow);
  position: fixed;
  width: 400px;
  z-index: 450;
}

.pageMenuUserTabPanel .userMenu {
  display: flex;
  flex-direction: column;
  height: 100%;
}
.pageMenuUserTabPanel .userMenu .userMenuContentScrollable {
  flex: 1 auto;
}

.userMenuHeader {
  align-items: center;
  display: grid;
  min-height: 44px;
  grid-template-areas: "title buttons";
  grid-template-columns: auto max-content;
}

.userMenuTitle {
  grid-area: title;
  margin: 0 10px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-weight: 400;
  line-height: 1.28;
  font-weight: 600;
}
@media screen and (min-width: 769px), print {
  .userMenuTitle {
    font-size: var(--wcfFontSizeHeadline);
  }
}
@media screen and (max-width: 768px) {
  .userMenuTitle {
    font-size: 18px;
  }
}

.userMenuButtons {
  column-gap: 1px;
  display: grid;
  grid-auto-flow: column;
  grid-area: buttons;
}

.userMenuButton {
  align-items: center;
  color: inherit;
  display: flex;
  height: 44px;
  justify-content: center;
  width: 44px;
}
.userMenuButton:hover {
  color: inherit;
}

html:not(.touch) .userMenuButton {
  transform: scale(1);
  transition: transform 0.24s ease-in-out;
}
html:not(.touch) .userMenuButton:hover {
  transform: scale(1.5);
}

.userMenuContentStatus {
  align-items: center;
  color: var(--wcfUserMenuTextDimmed);
  display: flex;
  height: 60px;
  justify-content: center;
  font-weight: 400;
  line-height: 1.28;
}
@media screen and (min-width: 769px), print {
  .userMenuContentStatus {
    font-size: var(--wcfFontSizeHeadline);
  }
}
@media screen and (max-width: 768px) {
  .userMenuContentStatus {
    font-size: 18px;
  }
}

@media screen and (min-width: 1025px), print {
  .userMenuContent.userMenuContentScrollable {
    max-height: 400px;
    overflow: hidden;
    position: relative;
  }
}
@media screen and (max-width: 1024px) {
  .userMenuContent.userMenuContentScrollable {
    overflow: hidden auto;
  }
}

/* Touch devices do not use Perfect Scrollbar, they rely on the native scrolling. */
@media screen and (min-width: 1025px), print {
  html.mobile .userMenuContent.userMenuContentScrollable {
    overflow: hidden auto;
  }
}

.userMenuItem {
  background-color: var(--wcfUserMenuBackground);
  display: grid;
  grid-template-areas: "image content" "image meta";
  grid-template-columns: 60px auto;
  grid-template-rows: minmax(0, min-content);
  /* min-height = 48px icon + 2*10px padding */
  min-height: 68px;
  padding: 10px 30px 10px 10px;
  position: relative;
  transition: background-color 0.12s linear;
}
.userMenuItem[data-is-unread=true] .userMenuItemLink::before {
  right: 30px;
}
.userMenuItem[data-is-unread=false] .userMenuItemUnread {
  display: none;
}
.userMenuItem.userMenuItemNarrow {
  grid-template-columns: 36px auto;
}
.userMenuItem.userMenuItemSingleLine {
  grid-template-areas: "image content";
  grid-template-rows: auto;
}
.userMenuItem.userMenuItemSingleLine:not(.userMenuItemUserHeader) {
  min-height: 0;
}
.userMenuItem.userMenuItemSingleLine .userMenuItemContent {
  align-self: center;
}
.userMenuItem.userMenuItemSingleLine .userMenuItemImage :is(fa-brand, fa-icon) {
  left: 0;
}
.userMenuItem.userMenuItemWithUsernames {
  grid-template-areas: "image content" "image usernames" "image meta";
  grid-template-columns: 60px auto;
}

html:not(.touch) .userMenuItem:hover {
  background-color: var(--wcfUserMenuBackgroundActive);
  color: var(--wcfUserMenuTextActive);
}

.userMenuItemLinkPlain {
  font-weight: 600;
}

.userMenuItemLink,
.userMenuItemLink:hover {
  color: inherit;
}

.userMenuItemLink::before {
  bottom: 0;
  content: "";
  left: 0;
  position: absolute;
  right: 0;
  top: 0;
  z-index: 1;
}

.userMenuItemImage {
  grid-area: image;
  /* Setting an element‘s position to `absolute` will remove it from the
     regular flow, causing it to be ignored for the calculation of the
     `grid-template-rows`. */
  position: absolute;
}
.userMenuItemImage :is(fa-brand, fa-icon) {
  left: -6px;
  position: relative;
}

.userMenuItemContent {
  grid-area: content;
}

.userMenuItemUsernames {
  grid-area: usernames;
}

.userMenuItemMeta {
  grid-area: meta;
}

.userMenuItemUsernames,
.userMenuItemMeta {
  color: var(--wcfUserMenuTextDimmed);
  margin-top: 2px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-weight: 400;
}
@media screen and (min-width: 769px), print {
  .userMenuItemUsernames,
  .userMenuItemMeta {
    font-size: var(--wcfFontSizeSmall);
  }
}
@media screen and (max-width: 768px) {
  .userMenuItemUsernames,
  .userMenuItemMeta {
    font-size: 12px;
  }
}

.userMenuItemUnread {
  align-items: center;
  bottom: 0;
  display: flex;
  position: absolute;
  right: 0;
  top: 0;
  width: 34px;
}
.userMenuItemUnread::before {
  background-color: var(--wcfUserMenuIndicator);
  border-radius: 50%;
  content: "";
  height: 10px;
  left: 7px;
  opacity: 1;
  position: absolute;
  top: calc(50% - 5px);
  width: 10px;
}

html:not(.touch) .userMenuItemUnread::before {
  transition: left 0.12s ease-in-out, opacity 0.12s ease-in-out;
}

html:not(.touch) .userMenuItem:hover .userMenuItemUnread::before {
  opacity: 0;
  left: 0;
}

.userMenuItemMarkAsRead {
  display: block;
  opacity: 1;
  position: relative;
  left: 0;
  width: 100%;
}

html:not(.touch) .userMenuItemMarkAsRead {
  transform: scale(1);
  transition: opacity 0.12s ease-in-out, left 0.12s ease-in-out, transform 0.24s ease-in-out;
}
html:not(.touch) .userMenuItemMarkAsRead:hover {
  transform: scale(1.5);
}

/* Tapping the indicator on touch devices triggers the action
   to mark the item as read. Positioning the button over the
   indicator masks this behavior. */
html.touch .userMenuItem .userMenuItemMarkAsRead {
  opacity: 0;
  left: 0;
  width: 24px;
}

.userMenuItem:not(:hover) .userMenuItemMarkAsRead {
  opacity: 0;
  left: 10px;
}

.userMenuFooter {
  border-top: 1px solid var(--wcfUserMenuBorder);
  padding: 10px;
  position: relative;
  text-align: center;
}

.userMenuFooterLink {
  color: inherit;
}
.userMenuFooterLink:hover {
  color: inherit;
  text-decoration: underline;
}
.userMenuFooterLink::before {
  bottom: 0;
  content: "";
  left: 0;
  position: absolute;
  right: 0;
  top: 0;
}

.userMenuContent .ps__rail-y {
  z-index: 2;
}

.userMenuContentDivider {
  border-top: 1px solid var(--wcfUserMenuBorder);
}

.userMenuNotifications {
  border: 1px solid var(--wcfUserMenuIndicator);
  border-radius: 5px;
  margin: 0 10px;
  padding: 10px;
  font-weight: 400;
}
@media screen and (min-width: 769px), print {
  .userMenuNotifications {
    font-size: var(--wcfFontSizeSmall);
  }
}
@media screen and (max-width: 768px) {
  .userMenuNotifications {
    font-size: 12px;
  }
}

.userMenuNotificationsButtons {
  margin-top: 10px;
  text-align: right;
}

@media screen and (max-width: 768px) {
  .userMenuControlPanel {
    font-size: 16px;
  }
}
.userProfileUser .contentHeaderIcon {
  position: relative;
}
.userProfileUser .contentHeaderIcon a {
  display: block;
}
.userProfileUser .contentHeaderIcon a {
  display: block;
}
.userProfileUser .contentHeaderDescription {
  margin-top: 20px;
}
@media screen and (max-width: 768px) {
  .userProfileUser {
    display: flex;
    flex-wrap: wrap;
  }
  .userProfileUser .contentHeaderNavigation {
    flex: 0 0 100%;
  }
}
@media screen and (min-width: 545px) and (max-width: 768px) {
  .userProfileUser .contentHeaderIcon {
    display: block;
    flex: 0 0 96px;
    margin-right: 15px;
  }
  .userProfileUser .contentHeaderIcon img {
    width: 96px !important;
    height: 96px !important;
  }
  .userProfileUser .contentHeaderTitle {
    /* The `flex` shorthand fails in IE11 if `calc()` is used. */
    flex-grow: 0;
    flex-shrink: 0;
    flex-basis: calc(100% - 111px);
    max-width: calc(100% - 11px);
  }
}
@media screen and (max-width: 544px) {
  .userProfileUser .contentHeaderIcon {
    display: block;
    flex: 0 0 48px;
    margin-right: 10px;
  }
  .userProfileUser .contentHeaderIcon img {
    width: 48px !important;
    height: 48px !important;
  }
  .userProfileUser .contentHeaderTitle {
    /* The `flex` shorthand fails in IE11 if `calc()` is used. */
    flex-grow: 0;
    flex-shrink: 0;
    flex-basis: calc(100% - 58px);
  }
}
@media screen and (min-width: 769px), print {
  .userProfileUser .contentHeaderIcon {
    flex: 0 0 128px;
    margin-right: 20px;
  }
}

/* user profile cover photo */
.userProfileUserWithCoverPhoto {
  margin-top: 0;
  padding-top: 165px;
  position: relative;
}
.userProfileUserWithCoverPhoto .userProfileCoverPhoto {
  background: no-repeat center;
  background-size: cover;
  border-radius: 3px;
  height: 200px;
  left: 0;
  position: absolute;
  right: 0;
  top: 0;
}
.userProfileUserWithCoverPhoto .userProfileCoverPhoto::after {
  background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0) 70%, rgba(0, 0, 0, 0.5) 100%);
  border-bottom-left-radius: 3px;
  border-bottom-right-radius: 3px;
  bottom: 0;
  content: "";
  display: block;
  left: 0;
  pointer-events: none;
  position: absolute;
  right: 0;
  top: 0;
}
.userProfileUserWithCoverPhoto .userProfileCoverPhoto .userProfileManageCoverPhoto {
  position: absolute;
  right: 10px;
  top: 10px;
}
.userProfileUserWithCoverPhoto .contentHeaderTitle {
  margin-top: 0;
  /* avoid being covered by the photo */
  z-index: 10;
}
.userProfileUserWithCoverPhoto .userProfileUsername {
  color: #fff;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.6);
}
@media screen and (min-width: 769px), print {
  .userProfileUserWithCoverPhoto .contentHeaderIcon {
    flex: 0 0 138px;
    margin-top: -29px; /* 35px photo overlap - (128px height / 2) */
    padding-left: 10px;
  }
  .userProfileUserWithCoverPhoto .contentHeaderDescription {
    margin-top: 10px !important;
  }
  .userProfileUserWithCoverPhoto .contentHeaderNavigation {
    padding-top: 45px;
  }
}
@media screen and (min-width: 545px), print {
  .userProfileUserWithCoverPhoto .contentHeaderIcon .badgeOnline {
    left: 10px !important;
  }
  .userProfileUserWithCoverPhoto .userProfileUsername + .badge {
    margin-left: 5px;
  }
}
@media screen and (min-width: 545px) and (max-width: 768px) {
  .userProfileUserWithCoverPhoto {
    padding-top: 170px;
  }
  .userProfileUserWithCoverPhoto .contentHeaderIcon {
    margin-top: -18px; /* 30px photo overlap - (96px height / 2) */
    padding-left: 5px;
  }
  .userProfileUserWithCoverPhoto .contentHeaderDescription {
    margin-top: 10px !important;
  }
}
@media screen and (max-width: 544px) {
  .userProfileUserWithCoverPhoto {
    padding-top: 120px;
  }
  .userProfileUserWithCoverPhoto .userProfileCoverPhoto {
    height: 150px;
  }
  .userProfileUserWithCoverPhoto .contentHeaderIcon {
    margin-top: 6px; /* 30px photo overlap - (48px height / 2) */
    padding-left: 5px;
  }
  .userProfileUserWithCoverPhoto .contentTitle {
    margin-bottom: 35px;
    position: relative;
  }
  .userProfileUserWithCoverPhoto .userProfileUsername {
    display: block;
  }
  .userProfileUserWithCoverPhoto .userProfileUsername + .badge {
    margin-left: 0;
    position: absolute;
    top: 35px !important;
  }
  .userProfileUserWithCoverPhoto .userProfileUsername + .userRankImage {
    position: absolute;
    top: 32px;
  }
  .userProfileUserWithCoverPhoto .userProfileUsername + .badge + .userRankImage {
    position: relative;
  }
  .userProfileUserWithCoverPhoto .userProfileUsername + .badge + .userRankImage > img {
    transform: translateY(32px);
  }
  .userProfileUserWithCoverPhoto .contentHeaderDescription {
    margin-left: -58px;
  }
}

.userTitleBadge {
  max-width: 154px;
  overflow: hidden;
  text-overflow: ellipsis;
}

.userAvatarImage {
  background-color: #fff;
  border-radius: 50%;
}

html[data-color-scheme=dark] .userAvatarImage {
  background-color: #333;
}

.userAvatarList {
  display: flex;
  flex-wrap: wrap;
  margin-bottom: -10px;
}
.userAvatarList > li {
  flex: 0 0 48px;
  margin-bottom: 10px;
  text-align: center;
}
.userAvatarList > li:not(:last-child) {
  margin-right: -12px;
}
.userAvatarList > li > a {
  display: block;
}
.userAvatarList > li > a > img {
  border: 2px solid #fff;
}
.userAvatarList.small > li {
  flex: 0 0 24px;
}
.userAvatarList.small > li:not(:last-child) {
  margin-right: -6px;
}
.userAvatarList.small > li > a > img {
  border: 1px solid #fff;
}

html[data-color-scheme=dark] .userAvatarList > li > a > img {
  border-color: rgba(255, 255, 255, 0.12);
}

.userList .box48 {
  align-items: center;
}

/* user notifications */
.userNotificationItemList > .notificationItem.notificationUnconfirmed {
  align-items: center;
  display: flex;
}
.userNotificationItemList > .notificationItem.notificationUnconfirmed > .box32 {
  flex: 1 1 auto;
  position: relative;
}
.userNotificationItemList > .notificationItem.notificationUnconfirmed > .notificationItemMarkAsConfirmed {
  flex: 0 0 auto;
}

.userNotificationItemList .userNotificationItemLink {
  color: inherit;
}
.userNotificationItemList .userNotificationItemLink::before {
  bottom: 0;
  content: "";
  left: 0;
  position: absolute;
  right: 0;
  top: 0;
}

.userProfileUser .contentHeaderIcon .badgeOnline {
  left: 0;
  pointer-events: none;
  position: absolute;
}
@media screen and (min-width: 769px), print {
  .userProfileUser .contentHeaderIcon .badgeOnline {
    bottom: 0;
  }
}
@media screen and (max-width: 768px) {
  .userProfileUser .contentHeaderIcon .badgeOnline {
    color: transparent;
    padding: 0;
    top: 0;
    width: 0;
  }
  .userProfileUser .contentHeaderIcon .badgeOnline::before {
    background-color: inherit;
    border: 1px solid rgb(255, 255, 255);
    border-radius: 50%;
    content: "";
    height: 16px;
    left: 34px; /* 48px (avatar) - 16px (width) - 2px (border-left + border-right) */
    position: absolute;
    width: 16px;
  }
}

.userOnlineIndicator {
  background-color: rgb(0, 153, 0);
  border-radius: 50%;
  display: inline-block;
  height: 8px;
  width: 8px;
}

body[data-page-identifier="com.woltlab.wcf.User"] .contentInteraction:first-child {
  margin-top: 0;
}

body[data-page-identifier="com.woltlab.wcf.User"] .userProfileContent:first-child {
  margin-top: 0;
}

.userProfileHeader {
  flex: 1 1 auto;
  background-color: var(--wcfContentBackground);
  border: 1px solid var(--wcfContentBorderInner);
  border-radius: var(--wcfBorderRadius);
  box-shadow: var(--wcfBoxShadowCard);
  margin-bottom: 30px;
  overflow: hidden;
}

.userProfileHeader__coverPhotoContainer {
  position: relative;
}

.userProfileHeader__manageButtons {
  position: absolute;
  top: 10px;
  right: 10px;
  display: flex;
  gap: 5px;
  flex-wrap: wrap;
  justify-content: end;
}

.userProfileHeader__manageButtons .button {
  box-shadow: var(--wcfBoxShadowImageButton);
}

@media screen and (max-width: 768px) {
  .userProfileHeader__coverPhoto {
    height: 150px;
  }
}
@media screen and (min-width: 769px), print {
  .userProfileHeader__coverPhoto {
    height: 250px;
  }
}

.userProfileHeader__coverPhotoImage {
  height: 100%;
  width: 100%;
  object-fit: cover;
  object-position: center center;
}

.userProfileHeader__content {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  padding: 10px 20px;
}
@media screen and (max-width: 768px) {
  .userProfileHeader__content {
    padding: 10px;
  }
}

.userProfileHeader__avatar {
  position: relative;
  flex: 0 0 138px;
  align-self: flex-end;
}
@media screen and (max-width: 768px) {
  .userProfileHeader__avatar {
    flex-basis: 74px;
  }
}

.userProfileHeader__avatarBorder {
  /* The color prevents any bleed-through caused by rounding errors. */
  background-color: var(--wcfContentBackground);
  position: absolute;
  bottom: 0;
  left: 0;
  border: 5px solid var(--wcfContentBackground);
  width: 100%;
  aspect-ratio: 1;
  border-radius: 50%;
}

.userProfileHeader__avatar .userAvatarImage {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.userProfileHeader__title {
  margin-inline-end: 10px;
  flex: 0 0 auto;
}

.userProfileHeader__username {
  display: inline;
  font-size: var(--wcfFontSizeTitle);
  font-weight: 600;
  line-height: 1.05;
}
@media screen and (max-width: 768px) {
  .userProfileHeader__username {
    font-size: var(--wcfFontSizeHeadline);
  }
}

.userProfileHeader__statusIcons {
  display: inline;
  position: relative;
  z-index: 1;
}

.userProfileHeader__stats {
  display: flex;
  flex-wrap: wrap;
  white-space: nowrap;
  gap: 5px;
  overflow: hidden;
}
@media screen and (max-width: 768px) {
  .userProfileHeader__stats {
    flex: 1 1 100%;
    flex-wrap: nowrap;
    order: 1;
    overflow: auto;
  }
}

.userProfileHeader__statItem {
  background-color: var(--wcfSidebarBackground);
  border-radius: 5px;
  color: var(--wcfSidebarText);
  display: flex;
  flex-direction: column;
  flex: 0 0 auto;
  font-size: 12px;
  padding: 10px 20px;
  text-align: center;
}

.userProfileHeader__statItem:hover {
  color: inherit;
}

.userProfileHeader__statTitle {
  color: var(--wcfSidebarDimmedText);
}

.userProfileHeader__onlineIndicator {
  background-color: rgb(0, 153, 0);
  border: 2px solid var(--wcfContentBackground);
  border-radius: 50%;
  bottom: 0;
  height: 24px;
  position: absolute;
  right: 6px;
  width: 24px;
}
@media screen and (max-width: 768px) {
  .userProfileHeader__onlineIndicator {
    height: 12px;
    width: 12px;
  }
}

.userProfileHeader__buttons {
  margin-inline-start: auto;
  display: flex;
  gap: 5px;
  flex: 0 0 auto;
}

.userProfileHeader__button {
  display: flex;
}

.userProfileHeader__meta {
  flex: 1 0 calc(100% - 148px);
  color: var(--wcfContentDimmedText);
  margin-left: 148px;
}
@media screen and (max-width: 768px) {
  .userProfileHeader__meta {
    margin-left: 0;
    flex-basis: 100%;
  }
}

.userProfileHeader__meta__dataList {
  display: flex;
  gap: 3px;
  align-items: center;
  flex-wrap: wrap;
  font-weight: 400;
}
@media screen and (min-width: 769px), print {
  .userProfileHeader__meta__dataList {
    font-size: var(--wcfFontSizeSmall);
  }
}
@media screen and (max-width: 768px) {
  .userProfileHeader__meta__dataList {
    font-size: 12px;
  }
}
.userProfileHeader__meta__dataList > dt {
  align-items: center;
  display: inline-flex;
}
.userProfileHeader__meta__dataList > dt:after {
  content: ":";
  padding-left: 1px;
}
.userProfileHeader__meta__dataList > dd {
  display: inline-block;
  vertical-align: middle;
}
.userProfileHeader__meta__dataList > dd:not(:last-of-type) {
  margin-right: 10px;
}
.userProfileHeader__meta__dataList fa-icon {
  margin-right: 2px;
}

.workerStatusIcon[data-status=error] {
  color: rgb(204, 0, 0);
}

.workerStatusIcon[data-status=success] {
  color: rgb(0, 153, 0);
}

/*
 * Special styles for changes introduced in WoltLab Suite 3.1 that
 * are not compatible with styles created for earlier versions.
 */
@media screen and (min-width: 1025px), print {
  .main {
    padding: 30px 0;
  }
}

.paginationTop {
  margin-top: 30px;
}

.content > .section,
.content > form,
.sectionContainer,
.boxesContentTop .box,
.boxesContentBottom .box {
  border: 1px solid var(--wcfContentContainerBorder);
  border-radius: var(--wcfBorderRadius);
  background-color: var(--wcfContentContainerBackground);
  padding: 20px;
}
@media screen and (max-width: 768px) {
  .content > .section,
  .content > form,
  .sectionContainer,
  .boxesContentTop .box,
  .boxesContentBottom .box {
    padding: 10px;
  }
}
.content > .section > .section:first-child,
.content > form > .section:first-child,
.sectionContainer > .section:first-child,
.boxesContentTop .box > .section:first-child,
.boxesContentBottom .box > .section:first-child {
  margin-top: 0;
}
.content > .section .section:not(:first-child),
.content > form .section:not(:first-child),
.sectionContainer .section:not(:first-child),
.boxesContentTop .box .section:not(:first-child),
.boxesContentBottom .box .section:not(:first-child) {
  margin-top: 0;
}
.content > .section .section + .section,
.content > form .section + .section,
.sectionContainer .section + .section,
.boxesContentTop .box .section + .section,
.boxesContentBottom .box .section + .section {
  margin-top: 40px;
}

.content > .section + .sectionContainer,
.content > form + .sectionContainer {
  margin-top: 40px;
}

.content > form {
  margin-top: 40px;
}

.contentHeader + .section,
.contentHeader + form,
.contentHeader + .sectionContainer {
  margin-top: 30px;
}

.content > .section .tabMenuContent > .section:first-child,
.content > .section .tabMenuContent > form > .section:first-child {
  margin-top: 20px;
}

.content > .section > .messageList {
  border-top-width: 0;
}
@media screen and (max-width: 768px) {
  .content > .section > .messageList:first-child {
    margin-top: -11px;
  }
}
.content > .section > .messageList > :first-child {
  padding-top: 0;
}
.content > .section > .messageList > :first-child.anchorFixedHeader:target:not(.disableAnchorFixedHeader) {
  margin-top: -79px;
}
.content > .section > .messageList > :first-child.anchorFixedHeader:target:not(.disableAnchorFixedHeader)::after {
  height: 80px;
}
.content > .section > .messageList > :first-child.anchorFixedHeader:target:not(.disableAnchorFixedHeader) > .message {
  transform: translateY(79px);
}
@media screen and (max-width: 544px) {
  .content > .section > .messageList > :first-child.anchorFixedHeader:target:not(.disableAnchorFixedHeader) {
    margin-top: -60px;
  }
  .content > .section > .messageList > :first-child.anchorFixedHeader:target:not(.disableAnchorFixedHeader)::after {
    height: 50px;
  }
  .content > .section > .messageList > :first-child.anchorFixedHeader:target:not(.disableAnchorFixedHeader) > .message {
    transform: translateY(49px);
  }
}
.content > .section > .messageList > :last-child {
  border-bottom-width: 0;
  padding-bottom: 0;
}
.content > .section > .tabularList:last-child {
  border-bottom-width: 0;
}
.content > .section > .containerList > :first-child {
  border-top-width: 0;
}
.content > .section > .containerList > :last-child {
  border-bottom-width: 0;
}

.mainMenu .boxMenu .boxMenuDepth1 {
  box-shadow: var(--wcfBoxShadow);
}

.messageTabMenuNavigation > ul,
.messageTabMenu > .messageTabMenuContent.active,
.messageContent.loading > .messageContentLoadingOverlay {
  background-color: var(--wcfContentContainerBackground);
}

.messageTabMenuNavigation > ul > li.active > a::after,
.messageTabMenuNavigation > ul > li.active > button::after {
  border-bottom-color: var(--wcfContentContainerBackground);
}

.innerError {
  background-color: var(--wcfStatusErrorBackground);
  color: var(--wcfStatusErrorText);
}
.innerError::before {
  border-bottom-color: var(--wcfStatusErrorBackground);
}

.sidebar dl:not(.plain) > dt,
.sidebar dl.dataList > dt,
.sidebar .separatorLeft::before,
.messageSidebar dl:not(.plain) > dt,
.messageSidebar dl.dataList > dt,
.messageSidebar .separatorLeft::before {
  color: var(--wcfSidebarDimmedText);
}

.messageReduced .messageTitle a {
  color: var(--wcfSidebarText);
}
.messageReduced .messageHeaderMetaData .messagePublicationTime,
.messageReduced .messageHeaderMetaData > li:not(:last-child)::after {
  color: var(--wcfSidebarDimmedText);
}

.ck.ck-content .mention,
.userMention {
  color: var(--wcfSidebarLink);
}
.ck.ck-content .mention:hover,
.userMention:hover {
  color: var(--wcfSidebarLinkActive);
}

.boxesSidebarLeft .box.boxError .boxTitle, .boxesSidebarLeft .box.boxInfo .boxTitle, .boxesSidebarLeft .box.boxSuccess .boxTitle, .boxesSidebarLeft .box.boxWarning .boxTitle,
.boxesSidebarRight .box.boxError .boxTitle,
.boxesSidebarRight .box.boxInfo .boxTitle,
.boxesSidebarRight .box.boxSuccess .boxTitle,
.boxesSidebarRight .box.boxWarning .boxTitle {
  color: inherit;
}

.tabMenuOverlayLeft {
  background: linear-gradient(to left, rgba(var(--wcfContentContainerBackground-rgb)/0) 0%, var(--wcfContentContainerBackground) 50%);
}

.tabMenuOverlayRight {
  background: linear-gradient(to right, rgba(var(--wcfContentContainerBackground-rgb)/0) 0%, var(--wcfContentContainerBackground) 50%);
}

.messageContent.loading > .messageContentLoadingOverlay {
  background-color: var(--wcfContentContainerBackground);
}

/*
 * Special styles for changes introduced in WoltLab Suite 5.2 that
 * are not compatible with styles created for earlier versions.
 */
.htmlContent table tr:hover > td, .ck.ck-content.ck-editor__editable table tr:hover > td, .messageBody > .messageText table tr:hover > td, .messageSignature > div table tr:hover > td,
.table tr:hover > td {
  background-color: var(--wcfTabularBoxBackgroundActive);
}

.mainMenu .mainMenuShowPrevious.active {
  /* The button is otherwise partially overlapped by the menu items. */
  z-index: 1;
}

html[data-color-scheme=dark] {
  color-scheme: dark;
}
html[data-color-scheme=dark] .badge,
html[data-color-scheme=dark] a.badge {
  --background-color: #2f394c;
  --color: #d1d2d3;
}
html[data-color-scheme=dark] .badge.badgeUpdate,
html[data-color-scheme=dark] a.badge.badgeUpdate {
  --background-color: #027abb;
  --color: #fcfcfd;
}
html[data-color-scheme=dark] .badge.green,
html[data-color-scheme=dark] a.badge.green {
  --background-color: #1b5e20;
  --color: #cfdbcf;
}
html[data-color-scheme=dark] .badge.red,
html[data-color-scheme=dark] a.badge.red {
  --background-color: #c1183d;
  --color: #f9e7ea;
}
html[data-color-scheme=dark] .badge.black,
html[data-color-scheme=dark] a.badge.black {
  --background-color: #333;
  --color: #ccc;
}
html[data-color-scheme=dark] .badge.brown,
html[data-color-scheme=dark] a.badge.brown {
  --background-color: #795548;
  --color: #e1dad7;
}
html[data-color-scheme=dark] .badge.orange,
html[data-color-scheme=dark] a.badge.orange {
  --background-color: #f57c00;
  --color: #361b06;
}
html[data-color-scheme=dark] .badge.yellow,
html[data-color-scheme=dark] a.badge.yellow {
  --background-color: #b2a42a;
  --color: #38340f;
}
html[data-color-scheme=dark] .badge.blue,
html[data-color-scheme=dark] a.badge.blue {
  --background-color: #204f7e;
  --color: #cfd8e3;
}
html[data-color-scheme=dark] .badge.purple,
html[data-color-scheme=dark] a.badge.purple {
  --background-color: #673ab7;
  --color: #ded4f0;
}
html[data-color-scheme=dark] .badge.pink,
html[data-color-scheme=dark] a.badge.pink {
  --background-color: #e10fb0;
  --color: #1a0414;
}
html[data-color-scheme=dark] a.badge:hover {
  --background-color: #252d3c;
  text-decoration: none;
}
html[data-color-scheme=dark] a.badge:hover.black {
  --background-color: #000;
  --color: #ccc;
}
html[data-color-scheme=dark] a.badge:hover.brown {
  --background-color: #3e2723;
  --color: #e1dad7;
}
html[data-color-scheme=dark] a.badge:hover.red {
  --background-color: #900;
  --color: #f9e7ea;
}
html[data-color-scheme=dark] a.badge:hover.orange {
  --background-color: #ef6c00;
  --color: #361b06;
}
html[data-color-scheme=dark] a.badge:hover.yellow {
  --background-color: #cc0;
  --color: #38340f;
}
html[data-color-scheme=dark] a.badge:hover.green {
  --background-color: #164b19;
  --color: #cfdbcf;
}
html[data-color-scheme=dark] a.badge:hover.blue {
  --background-color: #1b4269;
  --color: #cfd8e3;
}
html[data-color-scheme=dark] a.badge:hover.purple {
  --background-color: #4527a0;
  --color: #ded4f0;
}
html[data-color-scheme=dark] a.badge:hover.pink {
  --background-color: #c09;
  --color: #1a0414;
}
html[data-color-scheme=dark] .contentItem {
  border: 1px solid var(--wcfContentBorderInner);
}
html[data-color-scheme=dark] .datePicker {
  border: 1px solid var(--wcfDropdownBorderInner);
}
html[data-color-scheme=dark] .dialog__document,
html[data-color-scheme=dark] .dialogContainer {
  border: 1px solid var(--wcfContentBorderInner);
}
html[data-color-scheme=dark] .dropdownMenu {
  border: 1px solid var(--wcfDropdownBorderInner);
}
html[data-color-scheme=dark] .inlineCode,
html[data-color-scheme=dark] kbd {
  background-color: #3b3b3b !important;
  border-color: #858585 !important;
  color: #dfe2e5 !important;
}
html[data-color-scheme=dark] .popover {
  border: 1px solid var(--wcfContentContainerBorder);
}
html[data-color-scheme=dark] .spinner {
  background-color: #3b3b3b !important;
  border-color: #858585 !important;
  color: #dfe2e5 !important;
}
html[data-color-scheme=dark] .userMenu {
  border: 1px solid var(--wcfUserMenuBorder);
}

/* list of participants */
/* participant left status */
.conversationLeft .userLink,
.conversationLeft.userLink,
.conversationLeft p > span {
  text-decoration: line-through;
}

/* quota usage display */
.sidebar .box.conversationQuota .boxContent {
  text-align: center;
}

.conversationQuotaMeter {
  width: 100%;
}

.conversationList__item__participants {
  display: flex;
  flex-direction: row-reverse;
  margin-left: -10px;
  margin-right: 25px;
  align-items: center;
}

@media screen and (max-width: 544px) {
  .conversationList__item__participants {
    display: none;
  }
}
.conversationList__item__participant {
  transform: translateX(10px);
  width: 16px;
}

.conversationList__item__otherParticipant {
  transform: translateX(20px);
}

.wbbBoardNodeContainer {
  margin-top: 20px;
}

.wbbBoardNodeContainer__header {
  color: var(--wcfTabularBoxHeadline);
  padding-bottom: 5px;
  display: grid;
  grid-template-areas: "headline    collapsibleButton" "description collapsibleButton";
  grid-template-columns: 1fr min-content;
}

.wbbBoardNodeContainer__headline {
  grid-area: headline;
}

.wbbBoardNodeContainer__title {
  font-weight: 400;
  line-height: 1.28;
  display: inline;
  font-weight: 600;
}
@media screen and (min-width: 769px), print {
  .wbbBoardNodeContainer__title {
    font-size: var(--wcfFontSizeHeadline);
  }
}
@media screen and (max-width: 768px) {
  .wbbBoardNodeContainer__title {
    font-size: 18px;
  }
}

.wbbBoardNodeContainer__badge {
  display: inline;
  vertical-align: top;
}

.wbbBoardNodeContainer__description {
  font-weight: 400;
  grid-area: description;
}
@media screen and (min-width: 769px), print {
  .wbbBoardNodeContainer__description {
    font-size: var(--wcfFontSizeSmall);
  }
}
@media screen and (max-width: 768px) {
  .wbbBoardNodeContainer__description {
    font-size: 12px;
  }
}

.wbbBoardNodeContainer__link {
  color: inherit;
}
.wbbBoardNodeContainer__link:hover {
  color: var(--wcfTabularBoxHeadlineActive);
}

.wbbBoardNodeContainer__collapsibleButton {
  align-self: end;
  grid-area: collapsibleButton;
}

.wbbBoardNodeList {
  background-color: var(--wcfContentContainerBackground);
  border-radius: var(--wcfBorderRadius);
  box-shadow: var(--wcfBoxShadowCard);
  padding: 10px;
  display: flex;
  flex-direction: column;
  row-gap: 10px;
}
@media screen and (max-width: 768px) {
  .wbbBoardNodeList {
    row-gap: 20px;
  }
}

.wbbBoardNodeContainer--category:not(.wbbBoardNodeContainer--collapsed) .wbbBoardNodeContainer__header {
  padding-bottom: 8px;
  position: relative;
}
.wbbBoardNodeContainer--category:not(.wbbBoardNodeContainer--collapsed) .wbbBoardNodeContainer__header::after {
  border-bottom: 3px solid var(--wcfTabularBoxHeadline);
  border-radius: var(--wcfBorderRadius) var(--wcfBorderRadius) 0 0;
  content: "";
  inset: auto 0 0 0;
  position: absolute;
}

.wbbBoardNodeContainer--category .wbbBoardNodeList {
  border-top-left-radius: 0;
  border-top-right-radius: 0;
}

html[data-color-scheme=dark] .wbbBoardNodeList {
  border: 1px solid var(--wcfContentContainerBorder);
}
html[data-color-scheme=dark] .wbbBoardNodeContainer--category .wbbBoardNodeList {
  border-top-width: 0;
}

.wbbBoardNode {
  padding: 10px;
  display: grid;
  grid-template-areas: "icon content   lastPosts" "icon stats     lastPosts" "icon subBoards lastPosts";
  grid-template-columns: min-content 1fr 40%;
  grid-template-rows: max-content max-content 1fr;
  column-gap: 10px;
}
@media screen and (max-width: 768px) {
  .wbbBoardNode {
    column-gap: 5px;
    grid-template-areas: "icon content" "icon stats" "icon subBoards" "icon lastPosts";
    grid-template-columns: min-content 1fr;
    grid-template-rows: max-content max-content max-content 1fr;
    padding: 0;
  }
}

html:not(.touch) .wbbBoardNode:hover {
  background-color: var(--wcfTabularBoxBackgroundActive);
  border-radius: var(--wcfBorderRadius);
}

.wbbBoardNode--depth2 .wbbBoardNode__icon {
  padding-left: 50px;
}

.wbbBoardNode--depth3 .wbbBoardNode__icon {
  padding-left: 100px;
}

.wbbBoardNodeContainer--category .wbbBoardNode--depth2 .wbbBoardNode__icon {
  padding-left: 0;
}

.wbbBoardNodeContainer--category .wbbBoardNode--depth3 .wbbBoardNode__icon {
  padding-left: 50px;
}

.wbbBoardNode__icon {
  align-self: start;
  grid-area: icon;
  user-select: none;
}

.wbbBoardNode:not(.wbbBoardNode--unread) .wbbBoardNode__icon {
  color: var(--wcfContentDimmedText);
}

.wbbBoardNode__content {
  grid-area: content;
}

.wbbBoardNode__stats {
  font-weight: 400;
  color: var(--wcfContentDimmedText);
  display: flex;
  grid-area: stats;
  margin-top: 5px;
}
@media screen and (min-width: 769px), print {
  .wbbBoardNode__stats {
    font-size: var(--wcfFontSizeSmall);
  }
}
@media screen and (max-width: 768px) {
  .wbbBoardNode__stats {
    font-size: 12px;
  }
}
@media screen and (max-width: 768px) {
  .wbbBoardNode__stats {
    display: none;
  }
}

.wbbBoardNode__statItem {
  display: flex;
}
.wbbBoardNode__statItem:not(:first-child) {
  margin-left: 10px;
}

.wbbBoardNode__statItem dt:after {
  content: ":";
  padding-left: 1px;
}

.wbbBoardNode__statItem dd {
  color: var(--wcfContentText);
  margin-left: 5px;
}

.wbbBoardNode__lastPosts {
  grid-area: lastPosts;
}
@media screen and (max-width: 768px) {
  .wbbBoardNode__lastPosts {
    margin-top: 5px;
  }
}

.wbbBoardNode__lastPosts dt {
  color: var(--wcfContentDimmedText);
}

.wbbBoardNode__lastPost {
  display: grid;
  grid-template-areas: "avatar title" "avatar meta";
  grid-template-columns: min-content 1fr;
  position: relative;
}
.wbbBoardNode__lastPost:not(:first-child) {
  margin-top: 5px;
}
@media screen and (max-width: 768px) {
  .wbbBoardNode__lastPost:not(:first-child) {
    display: none;
  }
}

.wbbBoardNode__lastPostAvatar {
  grid-area: avatar;
  align-self: center;
  margin-right: 10px;
}
@media screen and (max-width: 768px) {
  .wbbBoardNode__lastPostAvatar {
    margin-right: 5px;
  }
}

.wbbBoardNode__lastPostTitle {
  align-items: center;
  column-gap: 4px;
  display: flex;
  font-weight: 600;
  grid-area: title;
}

.wbbBoardNode__label {
  flex: 0 0 auto;
}

.wbbBoardNode__lastPostLink {
  color: var(--wcfContentText);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.wbbBoardNode__lastPostLink:hover {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.wbbBoardNode__lastPostLink::before {
  content: "";
  position: absolute;
  inset: 0;
}

.wbbBoardNode__lastPostMeta {
  display: grid;
  grid-template-areas: "author time";
  grid-template-columns: minmax(0, min-content) min-content;
  grid-area: meta;
}

.wbbBoardNode__lastPostAuthor {
  font-weight: 400;
  color: var(--wcfContentDimmedText);
  grid-area: author;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
@media screen and (min-width: 769px), print {
  .wbbBoardNode__lastPostAuthor {
    font-size: var(--wcfFontSizeSmall);
  }
}
@media screen and (max-width: 768px) {
  .wbbBoardNode__lastPostAuthor {
    font-size: 12px;
  }
}

.wbbBoardNode__lastPostTime {
  font-weight: 400;
  color: var(--wcfContentDimmedText);
  grid-area: time;
  white-space: nowrap;
}
@media screen and (min-width: 769px), print {
  .wbbBoardNode__lastPostTime {
    font-size: var(--wcfFontSizeSmall);
  }
}
@media screen and (max-width: 768px) {
  .wbbBoardNode__lastPostTime {
    font-size: 12px;
  }
}

.wbbBoardNode__lastPostTime::before {
  content: " • ";
  margin-left: 4px;
}

.wbbBoardNode__subBoards {
  grid-area: subBoards;
  margin-top: 5px;
}
@media screen and (max-width: 768px) {
  .wbbBoardNode__subBoards {
    display: none;
  }
}

.wbbBoardNode__subBoardList {
  display: flex;
  flex-wrap: wrap;
  column-gap: 5px;
  row-gap: 2px;
}

.wbbBoardNode__subBoard {
  align-items: center;
  display: flex;
  gap: 2px;
}

.wbbBoardNode__subBoardIcon {
  flex: 0 0 auto;
  user-select: none;
}

.wbbBoardNode__subBoard:not(.wbbBoardNode__subBoard--unread) .wbbBoardNode__subBoardIcon {
  color: var(--wcfContentDimmedText);
}

.wbbBoardNode__subBoardTitle {
  font-weight: 400;
}
@media screen and (min-width: 769px), print {
  .wbbBoardNode__subBoardTitle {
    font-size: var(--wcfFontSizeSmall);
  }
}
@media screen and (max-width: 768px) {
  .wbbBoardNode__subBoardTitle {
    font-size: 12px;
  }
}

.wbbBoardNode__subBoardLink {
  color: var(--wcfContentText);
}
.wbbBoardNode__subBoardLink:hover {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.wbbBoardNode__title {
  font-weight: 400;
  line-height: 1.28;
  display: inline;
  font-weight: 600;
}
@media screen and (min-width: 769px), print {
  .wbbBoardNode__title {
    font-size: var(--wcfFontSizeHeadline);
  }
}
@media screen and (max-width: 768px) {
  .wbbBoardNode__title {
    font-size: 18px;
  }
}

.wbbBoardNode__link {
  color: var(--wcfContentText);
}
.wbbBoardNode__link:hover {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.wbbBoardNode__badge {
  display: inline;
  vertical-align: top;
}

.wbbBoardNode__description {
  font-weight: 400;
  color: var(--wcfContentDimmedText);
}
@media screen and (min-width: 769px), print {
  .wbbBoardNode__description {
    font-size: var(--wcfFontSizeSmall);
  }
}
@media screen and (max-width: 768px) {
  .wbbBoardNode__description {
    font-size: 12px;
  }
}
.wbbBoardNode__description:not(:empty) {
  margin-top: 5px;
}

.wbbAdLocationBoardList {
  margin-top: 20px;
}

@media screen and (max-width: 768px) {
  .wbbBoardNode__content {
    position: relative;
  }
  .wbbBoardNode__link::before {
    content: "";
    inset: 0;
    position: absolute;
  }
}
.wbbSimpleBoardNodeContainerList {
  max-width: 600px;
  padding-bottom: 20px;
  user-select: none;
}

.wbbSimpleBoardNodeContainer:not(:first-child) {
  margin-top: 20px;
}

.wbbSimpleBoardNodeContainer__header {
  color: var(--wcfTabularBoxHeadline);
  padding-bottom: 5px;
}

.wbbSimpleBoardNodeContainer__title {
  font-weight: 600;
}

.wbbSimpleBoardNodeContainer__description {
  font-weight: 400;
}
@media screen and (min-width: 769px), print {
  .wbbSimpleBoardNodeContainer__description {
    font-size: var(--wcfFontSizeSmall);
  }
}
@media screen and (max-width: 768px) {
  .wbbSimpleBoardNodeContainer__description {
    font-size: 12px;
  }
}

.wbbSimpleBoardNodeList {
  background-color: var(--wcfContentContainerBackground);
  border-radius: var(--wcfBorderRadius);
  box-shadow: var(--wcfBoxShadowCard);
  padding: 5px;
  display: flex;
  flex-direction: column;
  row-gap: 5px;
}

.wbbSimpleBoardNodeContainer--category .wbbSimpleBoardNodeContainer__header {
  border-bottom: 3px solid var(--wcfTabularBoxHeadline);
}

.wbbSimpleBoardNodeContainer--category .wbbSimpleBoardNodeList {
  border-top-left-radius: 0;
  border-top-right-radius: 0;
}

.wbbSimpleBoardNode {
  padding: 5px;
  position: relative;
  display: grid;
  grid-template-areas: "icon title" "icon description";
  grid-template-columns: min-content 1fr;
}
.wbbSimpleBoardNode:not(.wbbSimpleBoardNode--disabled):hover {
  background-color: var(--wcfTabularBoxBackgroundActive);
  border-radius: var(--wcfBorderRadius);
}

.wbbSimpleBoardNode__icon {
  grid-area: icon;
  padding-right: 5px;
}

.wbbSimpleBoardNode--disabled .wbbSimpleBoardNode__icon {
  color: var(--wcfContentDimmedText);
}

.wbbSimpleBoardNode__title {
  font-weight: 600;
  grid-area: title;
}

.wbbSimpleBoardNode--disabled .wbbSimpleBoardNode__title {
  color: var(--wcfContentDimmedText);
}

.wbbSimpleBoardNode__link {
  color: inherit;
}

.wbbSimpleBoardNode__link::before {
  content: "";
  inset: 0;
  position: absolute;
}

.wbbSimpleBoardNode__label::before {
  content: "";
  inset: 0;
  position: absolute;
}

.wbbSimpleBoardNode__description {
  font-weight: 400;
  color: var(--wcfContentDimmedText);
  grid-area: description;
}
@media screen and (min-width: 769px), print {
  .wbbSimpleBoardNode__description {
    font-size: var(--wcfFontSizeSmall);
  }
}
@media screen and (max-width: 768px) {
  .wbbSimpleBoardNode__description {
    font-size: 12px;
  }
}

.wbbSimpleBoardNode--depth2 {
  padding-left: 35px;
}

.wbbSimpleBoardNode--depth3 {
  padding-left: 65px;
}

.wbbSimpleBoardNodeContainer--category .wbbSimpleBoardNode--depth2 {
  padding-left: 5px;
}

.wbbSimpleBoardNodeContainer--category .wbbSimpleBoardNode--depth3 {
  padding-left: 35px;
}

html[data-color-scheme=dark] .wbbSimpleBoardNodeList {
  border: 1px solid var(--wcfContentContainerBorder);
}
html[data-color-scheme=dark] .wbbSimpleBoardNodeContainer--category .wbbSimpleBoardNodeList {
  border-top-width: 0;
}

/* sticky / announcement icon */
.wbbAnnouncementIcon,
.wbbDeletedIcon,
.wbbDisabledIcon,
.wbbStickyIcon,
.wbbMovedIcon {
  align-items: center;
  border-radius: 50%;
  display: flex;
  height: 24px;
  justify-content: center;
  position: absolute;
  width: 24px;
}
@media screen and (min-width: 769px), print {
  .wbbAnnouncementIcon,
  .wbbDeletedIcon,
  .wbbDisabledIcon,
  .wbbStickyIcon,
  .wbbMovedIcon {
    border: 1px solid var(--wcfContentBackground);
    right: -8px;
    top: -2px;
  }
}
@media screen and (max-width: 768px) {
  .wbbAnnouncementIcon,
  .wbbDeletedIcon,
  .wbbDisabledIcon,
  .wbbStickyIcon,
  .wbbMovedIcon {
    height: 32px;
    top: 0;
    width: 32px;
  }
}

.wbbAnnouncementIcon {
  background-color: rgb(204, 0, 1);
  color: rgb(255, 255, 255);
  z-index: 1;
}

.wbbStickyIcon,
.wbbMovedIcon {
  background-color: var(--wcfContentText);
  color: var(--wcfContentBackground);
  z-index: 1;
}

.wbbDeletedIcon {
  background-color: var(--wcfStatusErrorBackground);
  border-color: var(--wcfStatusErrorBorder);
  color: var(--wcfStatusErrorText);
  z-index: 3;
}

.wbbDisabledIcon {
  background-color: var(--wcfStatusSuccessBackground);
  border-color: var(--wcfStatusSuccessBorder);
  color: var(--wcfStatusSuccessText);
  z-index: 2;
}

.wbbMovedIcon::before {
  left: 1px;
  position: relative;
}

@media screen and (min-width: 1025px), print {
  .contentHeader.wbbThread > .contentHeaderIcon .wbbAnnouncementIcon,
  .contentHeader.wbbThread > .contentHeaderIcon .wbbStickyIcon {
    right: -8px;
  }
}

/* ### post list ### */
.wbbPost.wbbPostDeleted.messageCollapsedExpandable {
  cursor: pointer;
}
.wbbPost.wbbPostDeleted.messageCollapsedExpandable .messageHeaderWrapper > :first-child {
  pointer-events: none;
}

.wbbPostDeleteNote {
  border-left-color: var(--wcfStatusErrorBorder);
}

.wbbPostDisabledNote,
.wbbPostDelayedNote {
  border-left-color: var(--wcfStatusSuccessBorder);
}

/* ### minor fixes ### */
.wbbInlineSimilarThreadList {
  margin-top: 20px;
}

/* ad locations */
.wbbAdLocationIn1stPost {
  float: left;
  margin-bottom: 10px;
  margin-right: 15px;
}

.wbbAdLocationPostList,
.wbbAdLocationBoardList {
  text-align: center;
}
.wbbAdLocationPostList > div,
.wbbAdLocationBoardList > div {
  display: inline-block;
  text-align: left;
}

/* post merge */
#postMergeContainer .sortableList {
  list-style-type: none;
}
#postMergeContainer .sortableNode:not(:last-child) {
  border-bottom-width: 0;
  margin-bottom: 30px;
}

/* thread filter */
@media screen and (min-width: 769px), print {
  #wbbBoardSortFilter:not(.jsBoardSortFilterSingleSection) > form {
    column-gap: 15px;
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
  #wbbBoardSortFilter:not(.jsBoardSortFilterSingleSection) > form > .section {
    border-top-width: 0;
    margin-top: 0;
    padding-top: 0;
  }
}
/* modification log in threads */
.wbbThreadPostList.messageList .modificationLogEntry {
  padding-top: 10px;
  padding-bottom: 10px;
}
.wbbThreadPostList.messageList *:not(.modificationLogEntry) + .modificationLogEntry {
  padding-top: 30px;
}
@media screen and (max-width: 768px) {
  .wbbThreadPostList.messageList *:not(.modificationLogEntry) + .modificationLogEntry {
    border-top: 1px solid var(--wcfContentBorder);
    margin-left: -10px;
    margin-right: -10px;
    padding-left: 10px;
    padding-right: 10px;
  }
}
.wbbThreadPostList.messageList .lastModificationLogEntry.modificationLogEntry:not(:last-child) {
  padding-bottom: 30px;
}
.wbbThreadPostList.messageList .modificationLogEntryHide {
  align-items: center;
  display: flex;
  flex: 0 0 auto;
  margin-left: 10px;
}

/* go to best answer button & show more posts button in post list */
.wbbThreadPostList .wbbGoToBestAnswer,
.wbbThreadPostList .wbbMorePostsNotice {
  text-align: center;
}

/* placeholder sizes, required for Google AdSense */
@media screen and (max-width: 544px) {
  .wbbAdLocationBoardList .adsbygoogle,
  .wbbAdLocationPostList .adsbygoogle {
    height: 50px;
    width: 320px;
  }
}
@media screen and (min-width: 545px), print {
  .wbbAdLocationBoardList .adsbygoogle,
  .wbbAdLocationPostList .adsbygoogle {
    height: 90px;
    width: 728px;
  }
}

@media screen and (max-width: 768px) {
  .wbbAdLocationIn1stPost .adsbygoogle {
    height: 50px;
    width: 320px;
  }
}
@media screen and (min-width: 769px), print {
  .wbbAdLocationIn1stPost .adsbygoogle {
    height: 250px;
    width: 300px;
  }
}

/* article integration */
.wbbArticleReply {
  background-color: var(--wcfSidebarBackground);
  color: var(--wcfSidebarText);
  padding: 10px 20px;
  position: relative;
}
.wbbArticleReply:hover {
  color: inherit;
}
@media screen and (min-width: 545px), print {
  .wbbArticleReply {
    font-weight: 600;
    line-height: 1.28;
  }
}
@media screen and (min-width: 545px) and (min-width: 769px), print {
  .wbbArticleReply {
    font-size: var(--wcfFontSizeSection);
  }
}
@media screen and (min-width: 545px) and (max-width: 768px) {
  .wbbArticleReply {
    font-size: 20px;
  }
}

.wbbArticleGoToThread {
  text-align: center;
}

.wbbArticleJoinTheDiscussion,
.wbbArticleMoreReplies {
  display: block;
  text-align: center;
}

/*
 * Special styles for changes introduced in WoltLab Suite 3.1 that
 * are not compatible with styles created for earlier versions.
 */
.section > .wbbBoardList > .wbbBoardContainer:first-child {
  border-top-width: 0;
}
.section > .wbbBoardList > .wbbBoardContainer:last-child {
  border-bottom-width: 0;
}
.section > .wbbBoardList > .wbbCategory:last-child > ul > li:last-child {
  border-bottom-width: 0;
}

.threadFormOptions {
  margin-bottom: 20px;
}

.filebaseFileList {
  display: flex;
  flex-wrap: wrap;
  margin: -10px;
}

.filebaseFileCard {
  background-color: var(--wcfContentBackground);
  border-radius: var(--wcfBorderRadius);
  box-shadow: var(--wcfBoxShadowCard);
  display: flex;
  flex-direction: column;
  margin: 10px;
  position: relative;
}
@media screen and (min-width: 769px), print {
  .filebaseFileCard {
    flex: 0 0 calc(50% - 20px);
  }
}
@media screen and (max-width: 768px) {
  .filebaseFileCard {
    flex: 0 0 calc(100% - 20px);
  }
}

@media screen and (min-width: 1025px), print {
  .content:first-child:last-child .filebaseFileCard {
    flex: 0 0 calc(33.3333333333% - 20px);
  }
}
.filebaseFileCardHeader {
  /* The inner border radius must be one pixel smaller to prevent a visual gap. */
  --border-radius: calc(var(--wcfBorderRadius) - 1px);
  background-color: var(--wcfHeaderBackground);
  border-radius: var(--border-radius) var(--border-radius) 0 0;
  color: var(--wcfHeaderText);
  padding: 10px;
}
.filebaseFileCardHeader a {
  color: inherit;
}

.filebaseFileCardTitle {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.filebaseFileCardLink {
  font-weight: 400;
  line-height: 1.28;
  font-weight: 600;
}
@media screen and (min-width: 769px), print {
  .filebaseFileCardLink {
    font-size: var(--wcfFontSizeHeadline);
  }
}
@media screen and (max-width: 768px) {
  .filebaseFileCardLink {
    font-size: 18px;
  }
}
.filebaseFileCardLink::before {
  content: "";
  inset: 0;
  position: absolute;
  z-index: 1;
}

.filebaseFileCardMeta,
.filebaseFileCardMeta a {
  font-weight: 400;
}
@media screen and (min-width: 769px), print {
  .filebaseFileCardMeta,
  .filebaseFileCardMeta a {
    font-size: var(--wcfFontSizeSmall);
  }
}
@media screen and (max-width: 768px) {
  .filebaseFileCardMeta,
  .filebaseFileCardMeta a {
    font-size: 12px;
  }
}

.filebaseFileCardBody {
  padding: 10px;
  flex: 1 auto;
}

.filebaseFileCardContent {
  display: flex;
  padding: 5px 0;
}

.filebaseFileCardIcon {
  align-self: flex-start;
  flex: 0 0 80px;
  margin-right: 10px;
  overflow: hidden;
  text-align: center;
}
.filebaseFileCardIcon img {
  border-radius: var(--wcfBorderRadius);
}

.filebaseFileCardTeaser {
  display: -webkit-box;
  height: 4.44em;
  line-height: 1.48em;
  flex: 0 auto;
  font-size: 14px;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.filebaseFileCardStatus {
  align-items: center;
  display: flex;
  margin-top: 10px;
}

.filebaseFileCardFooter {
  border-top: 1px solid var(--wcfContentBorderInner);
  color: var(--wcfContentDimmedText);
  padding: 10px;
}

.filebaseFileCardEditMode .filebaseFileCardFooter {
  z-index: 10;
}

.filebaseFileCardEdit {
  display: none;
}

.filebaseFileCard:hover .filebaseFileCardEdit {
  display: flex;
  justify-content: center;
}
.filebaseFileCard:hover .filebaseFileCardEdit + .filebaseFileCardFooterStats {
  display: none;
}

.filebaseFileCardFooterStats {
  align-items: center;
}
.filebaseFileCardFooterStats > li:not(:first-child) {
  margin-left: 10px;
}
.filebaseFileCardFooterStats .reactionType {
  filter: grayscale(1);
}

.filebaseFileCardShadow {
  bottom: 0;
  left: 0;
  position: absolute;
  right: 0;
  top: 0;
}

.filebaseFileFeatured .filebaseFileCardHeader {
  overflow: hidden;
}
.filebaseFileFeatured .filebaseFileCardHeader .filebaseFileCardMeta {
  position: relative;
}
.filebaseFileFeatured .filebaseFileCardHeader .filebaseFileIsFeatured {
  bottom: -19px;
  margin-right: 0;
  position: absolute;
  right: -24px;
}
.filebaseFileFeatured .filebaseFileCardHeader .filebaseFileIsFeatured::after {
  display: none;
}

html[data-color-scheme=dark] .filebaseFileCard {
  border: 1px solid var(--wcfContentBorderInner);
}
html[data-color-scheme=dark] .filebaseFileCardHeader {
  border-bottom: 1px solid var(--wcfContentBorderInner);
}

.messageDeleted .filebaseFileCardIcon,
.messageDisabled .filebaseFileCardIcon {
  position: relative;
}
.messageDeleted .filebaseFileCardIcon::before,
.messageDisabled .filebaseFileCardIcon::before {
  display: block;
  font-family: FontAwesome;
  font-size: 28px;
  position: absolute;
  text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.2);
  z-index: 1;
}

.contentHeader.filebaseFile .button {
  text-align: center;
}

.filebaseFileVersionMetaData > li:not(:last-child) {
  margin-right: 10px;
}

.filebaseFileDeleteNote,
.filebaseFileVersionDeleteNote {
  font-style: italic;
}

.filebaseFileButtons,
.filebaseVersionButtons {
  justify-content: flex-end;
}

.filebaseVersionNumber {
  color: var(--wcfContentDimmedText);
}

.filebaseFileEmbeddedEntry .embeddedContentDescription {
  display: flex;
}

.filebaseFileEmbeddedEntryIcon {
  flex: 0 0 80px;
  margin-right: 10px;
  text-align: center;
}

.filebaseFileEmbeddedEntry .filebaseFileEmbeddedEntryDescription ol,
.filebaseFileEmbeddedEntry .filebaseFileEmbeddedEntryDescription ul {
  margin-top: 0;
  margin-left: 20px;
}

.filebaseFileIconUpload .buttonList:not(:first-child) {
  margin-top: 5px;
}

.filebaseFileContent .filebaseFileTeaser {
  font-weight: 600;
  margin-bottom: 20px;
}

.filebaseReviewTopButtons {
  display: flex;
  margin-top: 20px;
  justify-content: space-between;
  align-items: flex-end;
}
.filebaseReviewTopButtons > li > ul.inlineList > li {
  margin-right: 10px !important;
}
.filebaseReviewTopButtons > .filebaseAddReviewButton {
  margin-left: auto;
}

.fileReviewList {
  margin-top: 20px;
}

.filebaseReviewButtonsContainer {
  display: flex;
  justify-content: flex-end;
}

.reviewScrollTarget {
  display: block;
  height: 0;
  position: absolute;
}

.filebaseReview.reviewHighlightTarget {
  animation: wcfCommentHighlight 0.96s linear;
}

#fileReviewList > li.info {
  border-top: none;
  border-bottom: none;
}
@media screen and (min-width: 769px), print {
  #fileReviewList > li.info {
    padding: 10px 20px;
  }
}
@media screen and (max-width: 768px) {
  #fileReviewList > li.info {
    padding: 10px;
  }
}
#fileReviewList > li.info:hover {
  background-color: var(--wcfStatusInfoBackground);
}

.reviewPermalinkContainer {
  border-bottom-color: var(--wcfContentBorder) !important;
  text-align: center;
}

.filebaseReviewResponse {
  border-bottom: 1px solid var(--wcfContentBorderInner);
  border-top: 1px solid var(--wcfContentBorderInner);
  margin-top: 20px;
  padding: 20px;
}

.filebaseReviewResponseMessage {
  margin-top: 10px;
}

.filebaseReviewResponseTitle {
  font-weight: 600;
}

.filebaseFileRating {
  display: inline-flex;
}

.filebaseFileRatingStar {
  color: #f90;
}

.filebaseFileRatingStar:not(:last-child) {
  margin-right: 2px;
}

.filebaseFileNumberOfRatings {
  margin-left: 3px;
}

.filebaseDeletedIcon,
.filebaseDisabledIcon {
  align-items: center;
  border-radius: 50%;
  display: flex;
  height: 24px;
  justify-content: center;
  position: absolute;
  width: 24px;
}
@media screen and (min-width: 769px), print {
  .filebaseDeletedIcon,
  .filebaseDisabledIcon {
    border: 1px solid var(--wcfContentBackground);
    right: -8px;
    top: -2px;
  }
}
@media screen and (max-width: 768px) {
  .filebaseDeletedIcon,
  .filebaseDisabledIcon {
    height: 32px;
    top: 0;
    width: 32px;
  }
}

.filebaseDeletedIcon {
  background-color: var(--wcfStatusErrorBackground);
  border-color: var(--wcfStatusErrorBorder);
  color: var(--wcfStatusErrorText);
  z-index: 3;
}

.filebaseDisabledIcon {
  background-color: var(--wcfStatusSuccessBackground);
  border-color: var(--wcfStatusSuccessBorder);
  color: var(--wcfStatusSuccessText);
  z-index: 2;
}

.contentHeader.filebaseFile .contentHeaderIcon img,
.filebaseFileEmbeddedEntryIcon img,
.filebaseFileIcon img {
  border-radius: var(--wcfBorderRadius);
}

.calendarMonthView .calendarMonthViewHeader {
  border-bottom: 1px solid currentColor;
  color: var(--wcfTabularBoxHeadline);
  display: flex;
}
.calendarMonthView .calendarMonthViewHeader > li {
  flex: 0 0 14.285714%;
  max-width: 14.285714%;
  padding: 5px 4px;
  text-align: center;
  font-weight: 400;
}
@media screen and (min-width: 769px), print {
  .calendarMonthView .calendarMonthViewHeader > li {
    font-size: var(--wcfFontSizeSmall);
  }
}
@media screen and (max-width: 768px) {
  .calendarMonthView .calendarMonthViewHeader > li {
    font-size: 12px;
  }
}
.calendarMonthView .calendarWeeks > li {
  border-bottom: 1px solid var(--wcfContentBorderInner);
}
.calendarMonthView .calendarWeeks > li:last-child {
  border-bottom-color: var(--wcfTabularBoxHeadline);
}
.calendarMonthView .calendarWeeks .calendarWeekDays {
  display: flex;
}
.calendarMonthView .calendarWeeks .calendarWeekDays > li {
  flex: 0 0 14.285714%;
  max-width: 14.285714%;
  padding: 5px;
  position: relative;
  text-align: center;
}
@media screen and (min-width: 769px), print {
  .calendarMonthView .calendarWeeks .calendarWeekDays > li:not(:last-child) {
    border-right: 1px solid var(--wcfContentBorderInner);
  }
}
.calendarMonthView .calendarWeeks .calendarWeekDays > li.calendarOffMonth, .calendarMonthView .calendarWeeks .calendarWeekDays > li.calendarPastDay {
  color: var(--wcfContentDimmedText);
}
.calendarMonthView .calendarWeeks .calendarWeekDays > li.calendarOffMonth > h3 > a, .calendarMonthView .calendarWeeks .calendarWeekDays > li.calendarPastDay > h3 > a {
  color: var(--wcfContentDimmedText);
}
.calendarMonthView .calendarWeeks .calendarWeekDays > li.calendarToday {
  background-color: var(--wcfTabularBoxBackgroundActive);
}
.calendarMonthView .calendarWeeks .calendarWeekDays > li.calendarToday > h3 {
  font-weight: 600;
}
.calendarMonthView .calendarWeeks .calendarWeekDays > li.calendarWeekend:not(.calendarToday) {
  background-color: rgba(204, 204, 204, 0.1);
}

html[data-color-scheme=dark] .calendarMonthView .calendarWeeks .calendarWeekDays > li.calendarWeekend:not(.calendarToday) {
  background-color: rgba(0, 0, 0, 0.23);
}

.calendarMonthView:not(.calendarFullMonthView) .calendarWeekDays > li > h3 > a {
  border-radius: 50%;
  box-shadow: 0 0 0 2px currentColor;
  display: block;
  font-weight: 600;
}

.calendarFullMonthView .calendarMonthViewHeader {
  padding-left: 28px;
}
.calendarFullMonthView .calendarMonthViewHeader > li {
  padding: 10px;
}
@media screen and (min-width: 769px), print {
  .calendarFullMonthView .calendarMonthViewHeader > li {
    font-size: var(--wcfFontSizeDefault);
  }
}
@media screen and (max-width: 768px) {
  .calendarFullMonthView .calendarMonthViewHeader > li {
    font-size: 14px;
  }
}
@media screen and (max-width: 768px) {
  .calendarFullMonthView .calendarMonthViewHeader {
    display: none;
  }
}
@media screen and (min-width: 769px), print {
  .calendarFullMonthView .calendarWeeks > li {
    display: flex;
  }
}
@media screen and (max-width: 768px) {
  .calendarFullMonthView .calendarWeeks > li {
    display: block;
  }
}
.calendarFullMonthView .calendarWeeks > li .calendarWeekNumber {
  flex: 0 0 auto;
  padding: 5px;
}
@media screen and (min-width: 769px), print {
  .calendarFullMonthView .calendarWeeks > li .calendarWeekNumber {
    border-right: 1px solid var(--wcfContentBorderInner);
    text-align: right;
    width: 28px;
  }
  .calendarFullMonthView .calendarWeeks > li .calendarWeekNumber fa-icon {
    display: none;
  }
}
@media screen and (max-width: 768px) {
  .calendarFullMonthView .calendarWeeks > li .calendarWeekNumber {
    text-align: center;
    width: 100%;
  }
}
.calendarFullMonthView .calendarWeeks > li:hover {
  background-color: var(--wcfTabularBoxBackgroundActive);
}
@media screen and (max-width: 768px) {
  .calendarFullMonthView .calendarWeeks > li.open .calendarWeekDays {
    display: block;
  }
  .calendarFullMonthView .calendarWeeks > li.open .calendarWeekNumber fa-icon[name=caret-right] {
    display: none;
  }
  .calendarFullMonthView .calendarWeeks > li:not(.open) .calendarWeekNumber fa-icon[name=caret-down] {
    display: none;
  }
}
.calendarFullMonthView .calendarWeeks .calendarWeekDays {
  flex: 1 1 auto;
}
.calendarFullMonthView .calendarWeeks .calendarWeekDays > li {
  min-height: 140px;
  padding-bottom: 25px;
  text-align: left;
}
@media screen and (max-width: 768px) {
  .calendarFullMonthView .calendarWeeks .calendarWeekDays {
    display: none;
  }
  .calendarFullMonthView .calendarWeeks .calendarWeekDays > li {
    max-width: none;
  }
}
.calendarFullMonthView .calendarWeeks .calendarWeekNumber {
  white-space: nowrap;
}
@media screen and (min-width: 769px), print {
  .calendarFullMonthView .calendarWeeks .calendarWeekNumber .calendarWeekToogleButton {
    display: none;
  }
}
@media screen and (max-width: 768px) {
  .calendarFullMonthView .calendarWeeks .calendarWeekNumber .calendarWeekLink {
    display: none;
  }
}
.calendarFullMonthView .calendarEvents {
  min-height: 90px;
  padding-top: 5px;
}
.calendarFullMonthView .calendarEvents > li {
  font-weight: 400;
  overflow: hidden;
  position: relative;
  white-space: nowrap;
}
@media screen and (min-width: 769px), print {
  .calendarFullMonthView .calendarEvents > li {
    font-size: var(--wcfFontSizeSmall);
  }
}
@media screen and (max-width: 768px) {
  .calendarFullMonthView .calendarEvents > li {
    font-size: 12px;
  }
}
.calendarFullMonthView .calendarBirthdays {
  font-weight: 400;
  position: absolute;
  bottom: 5px;
}
@media screen and (min-width: 769px), print {
  .calendarFullMonthView .calendarBirthdays {
    font-size: var(--wcfFontSizeSmall);
  }
}
@media screen and (max-width: 768px) {
  .calendarFullMonthView .calendarBirthdays {
    font-size: 12px;
  }
}
.calendarFullMonthView .calendarEventLink {
  background-color: rgb(189, 195, 199);
  color: #000;
  display: block;
  height: 19px;
  margin-top: 2px;
  overflow: hidden;
  padding: 1px 5px;
  text-overflow: ellipsis;
  text-shadow: 1px 1px 3px #fff;
}
.calendarFullMonthView .calendarEventLink.calendarEventTextColorLight {
  color: #fff;
  text-shadow: 1px 1px 3px #000;
}
.calendarFullMonthView .calendarEventLink.calendarEventTextColorDark {
  color: #000;
  text-shadow: 1px 1px 3px #fff;
}
.calendarFullMonthView .calendarEventLink.new {
  font-weight: 600;
}
.calendarFullMonthView .calendarEventMultipleDays:not(.calendarEventStart) {
  margin-left: -5px;
}
.calendarFullMonthView .calendarEventMultipleDays:not(.calendarEventEnd) {
  margin-right: -5px;
}
.calendarFullMonthView .calendarEventSingleDay .calendarEventLink,
.calendarFullMonthView .calendarEventStart .calendarEventLink {
  border-bottom-left-radius: 3px;
  border-top-left-radius: 3px;
}
.calendarFullMonthView .calendarEventSingleDay .calendarEventLink,
.calendarFullMonthView .calendarEventEnd .calendarEventLink {
  border-bottom-right-radius: 3px;
  border-top-right-radius: 3px;
}
@media screen and (min-width: 769px), print {
  .calendarFullMonthView .calendarWeeks > li {
    border-bottom-color: var(--wcfTabularBoxHeadline);
  }
  .calendarFullMonthView .calendarWeekDays > li:not(:last-child) .calendarEventMultipleDays:not(.calendarEventEnd) {
    margin-right: -6px;
  }
  .calendarFullMonthView .calendarWeekDays > li:first-child .calendarEventMultipleDays:not(.calendarEventStart) {
    margin-left: -6px;
  }
  .calendarFullMonthView .calendarEventHideLabel .calendarEventLink {
    color: transparent !important;
    text-shadow: none !important;
  }
  .calendarFullMonthView .calendarEventMultipleDays:not(.calendarEventHideLabel) {
    /* enable cell overflow */
    z-index: 5;
  }
  .calendarFullMonthView .calendarEventLabelSpan2 {
    width: 200%;
  }
  .calendarFullMonthView .calendarEventLabelSpan3 {
    width: calc(300% + 11px);
  }
  .calendarFullMonthView .calendarEventLabelSpan4 {
    width: calc(400% + 22px);
  }
  .calendarFullMonthView .calendarEventLabelSpan5 {
    width: calc(500% + 33px);
  }
  .calendarFullMonthView .calendarEventLabelSpan6 {
    width: calc(600% + 44px);
  }
  .calendarFullMonthView .calendarEventLabelSpan7 {
    width: calc(700% + 55px);
  }
  .calendarFullMonthView .calendarPastDay {
    position: relative;
  }
  .calendarFullMonthView .calendarPastDay::after {
    background-color: rgba(255, 255, 255, 0.4);
    bottom: 0;
    content: "";
    left: -1px;
    pointer-events: none;
    position: absolute;
    right: 0;
    top: 0;
    z-index: 10;
  }
  .calendarFullMonthView .calendarPastDay:last-child::after {
    left: -1px;
  }
  .calendarFullMonthView .calendarDayLongTitle {
    display: none;
  }
}
@media screen and (max-width: 768px) {
  .calendarFullMonthView .calendarDayShortTitle {
    display: none;
  }
}

@media screen and (min-width: 769px), print {
  html[data-color-scheme=dark] .calendarFullMonthView .calendarPastDay::after {
    background-color: rgba(0, 0, 0, 0.23);
  }
}
.calendarWeekView .containerList > li::before, .calendarWeekView .containerList > li::after {
  display: table;
  content: "";
}
.calendarWeekView .containerList > li::after {
  clear: both;
}
.calendarWeekView .containerList > li.calendarToday {
  background-color: var(--wcfTabularBoxBackgroundActive);
}
.calendarWeekView .calendarDay {
  background-color: var(--wcfContentBackground);
  border: 1px solid var(--wcfContentBorderInner);
  float: left;
  padding: 5px 0;
  text-align: center;
}
@media screen and (min-width: 769px), print {
  .calendarWeekView .calendarDay {
    width: 90px;
  }
}
@media screen and (max-width: 768px) {
  .calendarWeekView .calendarDay {
    width: 60px;
  }
}
.calendarWeekView .calendarDay > h3 {
  line-height: 100%;
}
@media screen and (min-width: 769px), print {
  .calendarWeekView .calendarDay > h3 {
    font-size: 4rem;
  }
}
@media screen and (max-width: 768px) {
  .calendarWeekView .calendarDay > h3 {
    font-size: 2rem;
  }
}
.calendarWeekView .calendarDay > h3 > a {
  text-decoration: none;
}
.calendarWeekView .calendarDay > p {
  color: var(--wcfContentDimmedText);
}
@media screen and (max-width: 768px) {
  .calendarWeekView .calendarDay > p {
    font-weight: 400;
  }
}
@media screen and (max-width: 768px) and (min-width: 769px) {
  .calendarWeekView .calendarDay > p {
    font-size: var(--wcfFontSizeSmall);
  }
}
@media screen and (max-width: 768px) and (max-width: 768px) {
  .calendarWeekView .calendarDay > p {
    font-size: 12px;
  }
}
@media screen and (min-width: 769px), print {
  .calendarWeekView .calendarEvents,
  .calendarWeekView .calendarBirthdays {
    margin-left: 105px;
  }
}
@media screen and (max-width: 768px) {
  .calendarWeekView .calendarEvents,
  .calendarWeekView .calendarBirthdays {
    margin-left: 75px;
  }
}
.calendarWeekView .calendarEvents > li {
  background-color: var(--wcfTabularBoxBackgroundActive);
  padding: 10px;
}
.calendarWeekView .calendarEvents > li:not(:last-child) {
  border-bottom: 1px solid var(--wcfContentBorderInner);
}
.calendarWeekView .calendarEvents > li:nth-child(2n) {
  background-color: var(--wcfContentBackground);
}
.calendarWeekView .calendarEvents > li.new .calendarEventLink {
  font-weight: 600;
}
.calendarWeekView .calendarEvents + .calendarBirthdays {
  margin-top: 15px;
}
.calendarWeekView .calendarBirthdays > h4 {
  margin-bottom: 2px;
}

.calendarDateNavigation {
  margin-top: 20px;
}
@media screen and (min-width: 769px), print {
  .calendarDateNavigation {
    flex: 0 0 auto;
  }
}

.calendarDateNavigationGroup {
  display: flex;
  column-gap: 4px;
}

.calendarCategoryEventColor {
  border-radius: 50%;
  display: inline-block;
  height: 8px;
  margin-right: 5px;
  width: 8px;
}

.calendarEventColor {
  border-radius: 50%;
  display: inline-block;
  height: 8px;
  width: 8px;
}

.boxMenu .calendarCategoryEventColor {
  align-self: center;
  flex: 0 0 auto;
}

/* event bbcode styling */
.calendarEventBox {
  background-color: var(--wcfContentBackground);
  box-shadow: 0 0 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
  max-width: 500px;
  margin: 20px 0;
  padding: 20px;
  white-space: nowrap;
}
.calendarEventBox .calendarEventDataContainer {
  padding-bottom: 20px;
  position: relative;
}
.calendarEventBox .calendarEventSubject {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  font-weight: 400;
  line-height: 1.28;
}
@media screen and (min-width: 769px), print {
  .calendarEventBox .calendarEventSubject {
    font-size: var(--wcfFontSizeHeadline);
  }
}
@media screen and (max-width: 768px) {
  .calendarEventBox .calendarEventSubject {
    font-size: 18px;
  }
}
.calendarEventBox .calendarEventTimeFrame,
.calendarEventBox .calendarEventLocation {
  color: var(--wcfContentText);
  display: block;
}
.calendarEventBox .calendarEventContentType {
  bottom: 0;
  color: var(--wcfContentDimmedText);
  display: block;
  position: absolute;
  right: 0;
}

.calendarEventButtons {
  justify-content: flex-end;
}

.info + .calendarParticipantList {
  margin-top: 20px;
}

.calendarEventDateCanceled + .htmlContent, .calendarEventDateCanceled + .ck.ck-content.ck-editor__editable, .messageBody > .calendarEventDateCanceled + .messageText, .messageSignature > .calendarEventDateCanceled + div {
  margin-top: 20px;
}

.calendarEventCanceled {
  text-decoration: line-through;
}

.calendarEventListItem.new .calendarEventLink {
  font-weight: 600;
}

#overlapDiv {
  margin-top: 10px;
}

.userMenuItem.userMenuItemSingleLine {
  grid-template-areas: "image content" "image multirank";
}
.userMenuItem.userMenuItemSingleLine .multirankContainer {
  grid-area: multirank;
}

.mt-1 {
  margin-top: 0.25rem !important;
}

.mt-2 {
  margin-top: 0.5rem !important;
}

.mt-3 {
  margin-top: 0.75rem !important;
}

.mt-4 {
  margin-top: 1rem !important;
}

.me-1 {
  margin-right: 0.25rem !important;
}

.me-2 {
  margin-right: 0.5rem !important;
}

.me-3 {
  margin-right: 0.75rem !important;
}

.me-4 {
  margin-right: 1rem !important;
}

.mb-1 {
  margin-bottom: 0.25rem !important;
}

.mb-2 {
  margin-bottom: 0.5rem !important;
}

.mb-3 {
  margin-bottom: 0.75rem !important;
}

.mb-4 {
  margin-bottom: 1rem !important;
}

.ms-1 {
  margin-left: 0.25rem !important;
}

.ms-2 {
  margin-left: 0.5rem !important;
}

.ms-3 {
  margin-left: 0.75rem !important;
}

.ms-4 {
  margin-left: 1rem !important;
}

.mb-20 {
  margin-bottom: 20px;
}

.p-1 {
  padding: 0.25rem !important;
}

.p-2 {
  padding: 0.5rem !important;
}

.h-100 {
  height: 100% !important;
}

.w-100 {
  width: 100% !important;
}

.w-50 {
  width: 50% !important;
}

.d-none {
  display: none !important;
}

.d-flex {
  display: flex !important;
}

.d-inline-block {
  display: inline-block !important;
}

.flex-column {
  flex-direction: column !important;
}

.border {
  border: 1px solid #dee2e6 !important;
}

.rounded {
  border-radius: 0.25rem !important;
}

.rounded-circle {
  border-radius: 50% !important;
}

.text-center {
  text-align: center !important;
}

.text-white {
  color: #fff !important;
}

.text-success {
  color: var(--wcfStatusSuccessBackground);
}

.text-danger {
  color: var(--wcfStatusErrorBackground);
}

[role=button] {
  cursor: pointer;
}

.btn {
  display: inline-block;
  font-weight: 400;
  line-height: 1.5;
  color: #212529;
  text-align: center;
  text-decoration: none;
  vertical-align: middle;
  cursor: pointer;
  -webkit-user-select: none;
  -moz-user-select: none;
  user-select: none;
  background-color: transparent;
  border: 1px solid transparent;
  padding: 0.375rem 0.75rem;
  font-size: 1rem;
  border-radius: 0.25rem;
  transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.btn-check {
  position: absolute;
  clip: rect(0, 0, 0, 0);
  pointer-events: none;
}

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  word-wrap: break-word;
  background-color: #fff;
  background-clip: border-box;
  border: 1px solid rgba(0, 0, 0, 0.125);
  border-radius: 0.25rem;
}

.card-header {
  padding: 0.5rem 1rem;
  margin-bottom: 0;
  background-color: rgba(0, 0, 0, 0.03);
  border-bottom: 1px solid rgba(0, 0, 0, 0.125);
}

.card-body {
  flex: 1 1 auto;
  padding: 1rem 1rem;
}

.dropdown, .dropend, .dropstart, .dropup {
  position: relative;
}

.dropdown-menu.show {
  display: block;
}

.dropdown-toggle {
  white-space: nowrap;
}

.dropdown-toggle::after {
  display: inline-block;
  margin-left: 0.255em;
  vertical-align: 0.255em;
  content: "";
  border-top: 0.3em solid;
  border-right: 0.3em solid transparent;
  border-bottom: 0;
  border-left: 0.3em solid transparent;
}

.dropdown-menu {
  position: absolute;
  z-index: 1000;
  display: none;
  min-width: 10rem;
  padding: 0.5rem 0;
  margin: 0;
  font-size: 1rem;
  color: #212529;
  text-align: left;
  list-style: none;
  background-color: #fff;
  background-clip: padding-box;
  border: 1px solid rgba(0, 0, 0, 0.15);
  border-radius: 0.25rem;
}

.dropdown-item {
  display: block;
  width: 100%;
  padding: 0.25rem 1rem;
  clear: both;
  font-weight: 400;
  color: #212529;
  text-align: inherit;
  text-decoration: none;
  white-space: nowrap;
  background-color: transparent;
  border: 0;
}

.bg-dark {
  background: #838383;
  border: 1px solid #ccc;
}

.collapsible .content {
  display: none;
  padding: 10px;
  margin-top: 5px;
  border-left: 3px solid var(--wcfButtonBackground, #0078d7);
  background: rgba(0, 0, 0, 0.05);
}

.collapsible .trigger {
  background: var(--wcfButtonBackground, #0078d7);
  color: white;
  border: none;
  padding: 8px 12px;
  cursor: pointer;
  border-radius: 5px;
}

.collapsible.active .content {
  display: block;
}

/* Halten-zum-Ausführen-Geste (ts/HoldToExecute.ts) - Fortschrittsring + Sekunden-Countdown, für
   Löschen ebenso wie andere folgenreiche Aktionen (z.B. Massenverschiebungen). Nur die
   Ring-/Badge-Mechanik selbst; ob/wie der Button an sich sichtbar ist (z.B. Hover-Fade auf
   einer Listenzeile), regelt weiterhin die jeweilige Seite - dort ggf. zusätzlich
   `&.holding { opacity: 1; }` an die eigene Sichtbarkeitsregel anhängen. Akzentfarbe bewusst
   die allgemeine Primär-/Aktionsfarbe (nicht zwingend "Gefahr"-rot) - ein Konsument, der die
   Geste für eine tatsächlich destruktive Aktion nutzt, kann optisch zusätzlich Kontext geben
   (z.B. ein rotes Icon), statt die Geste selbst wie eine reine Löschbestätigung wirken zu lassen. */
.holdToExecute {
  position: relative;
  touch-action: none;
}

.holdToExecute-ring {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.15s ease-in-out;
}

.holdToExecute.holding .holdToExecute-ring {
  opacity: 1;
}

.holdToExecute-ring-track {
  fill: none;
  stroke: var(--wcfContentBorder, #ccc);
  stroke-width: 2;
}

.holdToExecute-ring-fill {
  fill: none;
  stroke: var(--wcfButtonPrimaryBackground, #369);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-dasharray: 94.2478;
  stroke-dashoffset: 94.2478;
}

.holdToExecute-countdown {
  position: absolute;
  top: -4px;
  right: -4px;
  min-width: 18px;
  height: 18px;
  padding: 0 3px;
  border-radius: 9px;
  background: var(--wcfButtonPrimaryBackground, #369);
  color: #fff;
  font-size: 0.65rem;
  line-height: 18px;
  text-align: center;
  opacity: 0;
  transform: scale(0.8);
  transition: opacity 0.1s ease-in-out, transform 0.1s ease-in-out;
  pointer-events: none;
}

.holdToExecute.holding .holdToExecute-countdown {
  opacity: 1;
  transform: scale(1);
}

/* Undo-Snackbar (ts/UndoToast.ts). z-index 1000 = oberste Ebenen-Stufe für transiente
   Overlays (Skala 0/10/20/40/100/1000), bewusst über allem außer echten Modal-Dialogen. */
.undoToastContainer {
  position: fixed;
  left: 50%;
  bottom: 16px;
  transform: translateX(-50%);
  z-index: 1000;
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-width: calc(100vw - 32px);
  pointer-events: none;
}

.undoToast {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px 10px 16px;
  border-radius: 6px;
  background: #323232;
  color: #fff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  overflow: hidden;
  opacity: 0;
  pointer-events: auto;
  transition: opacity 0.2s ease-out, transform 0.2s ease-out;
}

@media (prefers-reduced-motion: no-preference) {
  .undoToast {
    transform: translateY(12px);
  }
  .undoToast.visible {
    transform: translateY(0);
  }
  .undoToast.leaving {
    /* Exit kürzer als Enter (~70%), damit Wegklicken/Ablaufen reaktionsschnell wirkt. */
    transition-duration: 0.14s;
    transform: translateY(12px);
  }
}
.undoToast.visible {
  opacity: 1;
}

.undoToast.leaving {
  opacity: 0;
}

.undoToast-message {
  font-size: 0.875rem;
}

.undoToast-undo {
  flex-shrink: 0;
  background: none;
  border: none;
  padding: 4px 8px;
  margin: 0 -4px 0 auto;
  color: #8ab4ff;
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  cursor: pointer;
  border-radius: 4px;
}

.undoToast-undo:hover,
.undoToast-undo:focus-visible {
  background: rgba(255, 255, 255, 0.1);
}

/* Fortschrittsbalken: volle Breite -> 0 über die (ggf. pausierbare) Anzeigedauer. */
.undoToast-progress {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  background: rgba(255, 255, 255, 0.35);
  transform-origin: left;
  transform: scaleX(1);
  pointer-events: none;
}

/* ==========================================================================
   Footer-Menü (Systembox org.das-kartell.framework.FooterMenu, Position footerBoxes)
   Optik wie die bisherigen ACP-Footer-Boxen; Spalten inkl. Logo gleich breit über
   die volle Breite. Der TeamSpeak-Viewer bleibt als volle Zeile darunter.
   ========================================================================== */
.boxesFooterBoxes:has(.krtFooterMenu) {
  padding-top: 60px !important;
  padding-bottom: 60px !important;
  margin-top: 0 !important;
  border-bottom: none !important;
}

.boxesFooterBoxes .layoutBoundary .boxContainer:has(> .krtFooterMenu) {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 20px;
  margin: 0 !important;
  padding: 0 !important;
}

.boxesFooterBoxes .boxContainer > .krtFooterMenu {
  flex: 1 1 100%;
  width: 100%;
  order: -1;
  min-width: 0;
  margin: 0 !important;
  padding: 0 !important;
  box-shadow: none !important;
  border: none !important;
}

/* 6.2.1: Kein leerer grauer Streifen über der Copyright-Zeile.
   WoltLab gibt .boxesFooter (Hintergrund wcfFooterBackground + 30px Innenabstand)
   auch dann aus, wenn an der Position „Footer“ eine Box gezählt wird, die beim
   Rendern leer bleibt (z. B. eine Menü-Box ohne sichtbare Einträge). Dann bleibt
   nur ein leerer grauer Balken übrig. Leere .boxesFooter wird deshalb ausgeblendet.
   (Das graue Band liegt hinter dem TeamSpeak-Viewer, siehe Paket teamspeakviewer.) */
#pageFooter .boxesFooter:not(:has(.boxContainer, .styleChanger)) {
  display: none !important;
}

.krtFooterMenuColumns {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  /* Menü-Liste löst sich auf: jede Spalte (1. Ebene) und das Logo sind Flex-Elemente */
  /* Logo-Spalte so hoch wie die höchste Menüspalte (Überschrift bis letzter Link) */
}
.krtFooterMenuColumns > nav,
.krtFooterMenuColumns > nav > .boxMenu {
  display: contents;
}
.krtFooterMenuColumns > nav > .boxMenu > li,
.krtFooterMenuColumns > .krtFooterMenuLogo {
  flex: 1 1 0;
  min-width: 0;
  margin: 0;
  padding: 0;
}
.krtFooterMenuColumns > .krtFooterMenuLogo {
  align-self: stretch;
  position: relative;
}

/* Spaltenüberschrift: reine Überschrift, nicht klickbar */
.krtFooterMenu .boxMenu > li > .boxMenuLink {
  display: block;
  font-size: 1.1rem;
  font-weight: 400;
  line-height: 1.4;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  text-align: left;
  color: var(--krt-text-100, #ffffff);
  margin: 0 0 20px;
  padding: 0;
  text-decoration: none;
  pointer-events: none;
  cursor: default;
}

.krtFooterMenu .boxMenuDepth1,
.krtFooterMenu .boxMenuDepth1 > li {
  margin: 0;
  padding: 0;
  line-height: 1.4;
  list-style: none;
}

.krtFooterMenu .boxMenuDepth1 .boxMenuLink {
  display: block;
  padding: 2px 0;
  font-size: 0.95rem;
  line-height: 1.4;
  color: var(--krt-text-200, #bbbbbb);
  text-decoration: none;
  border: none;
  transition: all 0.2s;
}
.krtFooterMenu .boxMenuDepth1 .boxMenuLink:hover {
  color: var(--krt-accent, #e67e22);
  transform: translateX(5px);
}

/* Externe Links öffnen im neuen Tab (Option „Externe Links in neuem Fenster öffnen“) und tragen ↗ */
.krtFooterMenu .boxMenuDepth1 .boxMenuLink[target=_blank] .boxMenuLinkTitle::after {
  content: " ↗";
}

/* Bild füllt die Logo-Spalte, Seitenverhältnis bleibt erhalten; es bestimmt die Zeilenhöhe nicht mit */
.krtFooterLogo {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

/* Desktop: Logo deutlich größer – Bild ragt 30px in den oberen/unteren Footer-Abstand;
   ab 1280px zusätzlich breitere Logo-Spalte (darunter würden lange Links umbrechen) */
@media (min-width: 1280px) {
  .krtFooterMenuColumns > .krtFooterMenuLogo {
    flex-grow: 1.75;
  }
}
@media screen and (min-width: 1025px), print {
  .krtFooterLogo {
    top: -30px;
    bottom: auto;
    height: calc(100% + 60px);
  }
}
@media screen and (max-width: 768px) {
  .boxesFooterBoxes .layoutBoundary .boxContainer:has(> .krtFooterMenu) {
    gap: 30px !important;
  }
  .krtFooterMenuColumns {
    flex-direction: column;
    align-items: stretch;
    gap: 30px;
  }
  .krtFooterMenuColumns > nav > .boxMenu > li,
  .krtFooterMenuColumns > .krtFooterMenuLogo {
    flex: 0 0 auto;
  }
  .krtFooterMenuColumns > .krtFooterMenuLogo {
    position: static;
    display: flex;
    justify-content: center;
  }
  .krtFooterLogo {
    position: static;
    width: auto;
    max-width: 100%;
    height: auto;
    max-height: 100px;
  }
  .krtFooterMenu .boxMenu > li > .boxMenuLink {
    text-align: center;
  }
}
/* Wrapper: Checkbox links, Text rechts */
.krt-prep {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem; /* Abstand zwischen Checkbox und Text */
}

/* Checkbox ein Stück nach unten, damit sie auf Höhe der Überschrift sitzt */
.krt-prep > input[type=checkbox] {
  margin-top: 0.35rem;
}

/* Textblock rechts der Checkbox */
.krt-prep-text {
  display: block;
}

/* eigentlicher Titel der Vorbereitung */
.krt-prep-title {
  display: block;
  font-weight: 600;
  line-height: 1.3;
}

/* Beschreibung unter dem Titel, eingerückt, kleiner, abgedimmt */
.krt-prep-desc {
  display: block;
  margin-top: 0.15rem;
  font-size: 0.85em;
  color: var(--wcfContentDimmedColor, #999);
}

/* BBCode event post (shared_bbcode_event_krt) — was inline <style> */
.krtEventPost {
  max-width: 100%;
  display: block;
}

/* 2-Spalten-Layout für die Event-Daten oben */
.krtEventPost .krtGrid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 4rem;
}

/* „unsichtbare Kacheln“ = Abstand zwischen den Blöcken */
.krtEventPost .krtGroup {
  margin-bottom: 1.2rem;
}

.krtEventPost .krtGroup--full {
  grid-column: 1/-1;
}

/* Bild oben */
.krtEventPost .krtHero {
  margin-bottom: 1.3rem;
}

.krtEventPost .krtHero img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 0.35rem;
}

/* Label + Wert */
.krtEventPost .krtLabel {
  color: rgb(162, 165, 169);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.1;
  display: block;
  margin-bottom: 0.25rem;
}

.krtEventPost .krtValue {
  line-height: 1.45;
}

/* zwei Felder untereinander innerhalb einer Gruppe */
.krtEventPost .krtField + .krtField {
  margin-top: 0.4rem;
}

/* Links: Standard = wie Text, kleines Icon; Hover = nur orange */
.krtEventPost a.krtLink {
  color: inherit;
  text-decoration: none;
  white-space: nowrap;
  position: relative;
}

.krtEventPost a.krtLink::after {
  /* Kästchen mit Pfeil – etwas größer */
  content: "↗";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 0.95rem;
  height: 0.8rem;
  margin-left: 0.35rem;
  font-size: 0.55rem;
  border: 1px solid currentColor;
  border-radius: 0.12rem;
  opacity: 0.55;
}

.krtEventPost a.krtLink:hover {
  color: #ff7b00;
  text-decoration: none;
}

.krtEventPost a.krtLink:hover::after {
  opacity: 1;
  border-color: currentColor;
}

/* VORBEREITUNG: 2 Spalten per columns -> kein Gap mehr */
.krtEventPost .krtPrepWrap {
  margin-top: 0.35rem;
  column-count: 2;
  column-gap: 2.4rem;
}

.krtEventPost .krtPrepItem {
  break-inside: avoid;
  position: relative;
  padding-left: 0.85rem;
  margin-bottom: 0.4rem;
  line-height: 1.4;
}

.krtEventPost .krtPrepItem::before {
  content: "•";
  position: absolute;
  left: 0;
  top: 0.15rem;
  font-size: 0.6rem;
  color: rgb(162, 165, 169);
}

/* neue kleine Beschreibung unter dem Titel */
.krtEventPost .krtPrepDesc {
  display: block;
  color: rgba(255, 255, 255, 0.45);
  font-size: 0.78rem;
  line-height: 1.25;
  margin-top: 0.1rem;
}

/* Trenner zum eigentlichen Beitragstext */
.krtEventPost hr.krtDivider {
  border: 0;
  border-top: 1px solid #36373b;
  margin: 1.3rem 0 0.95rem;
}

.krtEventPost .krtEventDescription {
  line-height: 1.5;
}

@media (max-width: 900px) {
  .krtEventPost .krtGrid {
    grid-template-columns: 1fr;
  }
  .krtEventPost .krtGroup {
    margin-bottom: 1rem;
  }
  .krtEventPost .krtPrepWrap {
    column-count: 1;
  }
}
/* Vorbereitung: Bereichs-Filter am Event-Formular */
.krtPreparationFilters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 0.75rem;
}

.preparation-list li[hidden] {
  display: none !important;
}

/* ==========================================================================
   KRT – Members (WoltLab Suite)
   MemberOTP / Bewerberliste – Kartell-UI analog Award-/Staffel-Übersicht
   ========================================================================== */
:root {
  --krt-members-accent: #ff8a00;
  --krt-members-card-radius: 12px;
}

.krtMembersOtpPage {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.krtMembersPendingSection {
  margin-bottom: 0.25rem;
}

.krtMembersPendingSection .sectionTitle {
  border-bottom: 0 !important;
  margin-bottom: 0.35rem;
}

.krtMembersPendingLead {
  margin: 0 0 0.85rem;
  font-size: 0.9rem;
  color: var(--wcfContentDimmedText, rgba(255, 255, 255, 0.72));
}

.krtMembersPendingGrid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1rem;
  align-items: stretch;
}

.krtMembersPendingCard {
  position: relative;
  background: rgba(0, 0, 0, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--krt-members-card-radius);
  padding: 0.85rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  transition: border-color 0.12s ease-out, transform 0.12s ease-out, box-shadow 0.12s ease-out;
  min-height: 5.5rem;
}

.krtMembersPendingCard:hover,
.krtMembersPendingCard:focus-within {
  border-color: var(--krt-members-accent);
  box-shadow: 0 0 0 1px rgba(255, 138, 0, 0.25);
  transform: translateY(-1px);
}

.krtMembersPendingCard__link {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  color: inherit;
  text-decoration: none;
  min-height: 100%;
}

.krtMembersPendingCard__link:hover {
  text-decoration: none;
  color: inherit;
}

.krtMembersPendingCard__handle {
  margin: 0;
  font-size: 1.05em;
  font-weight: 600;
  line-height: 1.25;
  word-break: break-word;
}

.krtMembersPendingCard__meta {
  margin: 0;
  font-size: 0.85em;
  color: var(--wcfContentDimmedText, rgba(255, 255, 255, 0.65));
}

.krtMembersPendingCard__badge {
  align-self: flex-start;
  font-size: 0.7rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--krt-members-accent);
  opacity: 0.9;
}

.krtMembersPendingEmpty {
  margin: 0;
}

.krtMembersOtpForm .sectionHeader .sectionTitle {
  border-bottom: 0 !important;
}

.krtMembersOtpForm .copy-to-clipboard {
  margin-left: 0.35rem;
  vertical-align: middle;
}

.krtMembersOtpPage.container {
  margin-top: 0.5rem;
}

/* =================================================================== */
/* ======================= KRT - Ranks - PlugIn ====================== */
/* =================================================================== */
.userRankBadge {
  margin-right: 5px;
}

.userRankBadge fa-icon {
  margin-right: 2px;
}

.teamspeakIntro {
  margin-bottom: 40px;
}

.teamspeakIntro p.lead {
  font-size: 1.2em;
  font-weight: 500;
  color: #eaeaea;
  margin-bottom: 20px;
}

.teamspeakGuideStep {
  margin-bottom: 50px;
  padding: 25px 30px;
  background-color: #2b2f33;
  border: 1px solid #3a3f44;
  border-radius: 8px;
  color: #f0f0f0;
  font-size: 1.05em;
  line-height: 1.7;
}

.teamspeakGuideStep h3 {
  font-size: 1.5em;
  color: #e77e22;
  margin-bottom: 20px;
}

.teamspeakGuideStep p {
  margin-bottom: 10px;
}

.teamspeakGuideStep ul {
  margin-bottom: 16px;
}

.teamspeakGuideStep li {
  margin-bottom: 6px;
}

.teamspeakGuideStep code,
.teamspeakGuideStep kbd {
  background-color: #444;
  color: #fff;
  padding: 4px 7px;
  border-radius: 4px;
  font-family: monospace;
  font-size: 0.95em;
}

.teamspeakGuideStep img {
  display: block;
  margin: 20px 0 20px 20px; /* oben/unten: 20px, links: 30px eingerückt */
  width: 400px; /* feste Breite */
  max-width: 100%; /* responsiv bei kleineren Screens */
  height: auto;
  border-radius: 6px;
  box-shadow: 0 0 12px rgba(0, 0, 0, 0.4);
  text-align: left;
}

hr.sectionDivider {
  border: none;
  border-top: 1px solid #444;
  margin: 40px 0 10px;
}

/* Inhaltsverzeichnis-Styling */
.teamspeakTOC {
  margin-bottom: 40px;
  padding: 20px 30px;
  background-color: #23272b;
  border: 1px solid #3a3f44;
  border-radius: 8px;
}

.teamspeakTOC ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.teamspeakTOC li {
  margin-bottom: 12px;
}

.teamspeakTOC a {
  color: #e77e22;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.2s ease;
}

.teamspeakTOC a:hover {
  color: #ffffff;
  text-decoration: underline;
}

.ts-image-caption {
  font-size: 0.85em;
  color: #999;
  text-align: left;
  margin: 5px 0 20px 4%;
}

.krtUserMenuRankContainer {
  display: grid;
  grid-template-columns: 100px 250px auto auto;
  column-gap: 25px;
}

div.krtUserMenuRankText {
  justify-content: left;
  align-content: center;
  font-size: 1.4em;
  font-declaration: bold;
}

.rightSide {
  justify-content: right;
  align-content: bottom;
  padding: 0px 5px;
}

.krtUserMenuRankContainerButton {
  display: flex;
  justify-content: end;
  padding: 5px 0px;
}

.buttonRightSide {
  display: flex;
  justify-content: flex-end;
}

rank {
  text-align: center;
  border: 1px solid;
  border-radius: 10px;
  padding: 2px 5px;
}

input[type=radio]:checked > rank {
  background-color: #f00;
}

input[type=radio]:disabled + label.btn-rank {
  cursor: default;
}

.btn-rank > .rankImage > img {
  height: 64px !important;
}

.rankImage > img {
  height: 128px !important;
}

.echelonImage > img {
  height: 128px !important;
}

.userRanksContainer + *,
.userEchelonsContainer + * {
  margin-top: 20px;
}

.userRanksContainer dt,
.userEchelonsContainer dt {
  font-size: 1rem;
}

.userRanksContainer dd,
.userEchelonsContainer dd {
  font-size: 0.75rem;
  line-height: 1;
}

@media screen and (max-width: 768px) {
  .messageSidebar .userRanksContainer, .messageSidebar .userEchelonsContainer {
    display: none;
  }
}
.blink {
  animation: blinker 1s linear infinite;
}

@keyframes blinker {
  50% {
    opacity: 0;
  }
}
/* Neuer Rang: Spalte inkl. Überschrift zentriert; Icon+Name untereinander mittig */
.krtPromotion__rankColumn {
  text-align: center;
}

.gridView .rankInfo,
.rankInfo {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 0.35rem;
}

.gridView .rankInfo__icon,
.rankInfo__icon {
  display: block;
  width: auto;
  height: auto;
  max-width: 64px;
  max-height: 64px;
  object-fit: contain;
}

.gridView .rankInfo__name,
.rankInfo__name {
  display: block;
  line-height: 1.3;
  text-align: center;
}

/* ========================= Popover – Rank-Kachel (mit Rand) ========================= */
/*:root{
  --krt-card-radius: 12px;      
  --krt-popover-gap: 10px;      
}*/
.wcfPopover:has(.krt-rank-popover),
.popover:has(.krt-rank-popover),
.wcfPopover:has(.krt-echelon-popover),
.popover:has(.krt-echelon-popover) {
  width: auto !important;
  max-width: 268px !important; /* 248px Karte + 2*10px Rand */
  min-width: 0 !important;
  border-radius: var(--krt-card-radius) !important; /* gleiche Ecken wie Karte */
  overflow: visible; /* Pfeil bleibt sichtbar */
}

/* gleichmäßiger Rand innen */
.wcfPopover:has(.krt-rank-popover) .popoverContent,
.popover:has(.krt-rank-popover) .popoverContent,
.wcfPopover:has(.krt-echelon-popover) .popoverContent,
.popover:has(.krt-echelon-popover) .popoverContent {
  padding: var(--krt-popover-gap) !important;
  display: flex;
  justify-content: center;
}

/* keine Doppel-Paddings */
.wcfPopover:has(.krt-rank-popover) .boxContent,
.popover:has(.krt-rank-popover) .boxContent,
.wcfPopover:has(.krt-echelon-popover) .boxContent,
.popover:has(.krt-echelon-popover) .boxContent {
  padding: 0 !important;
}

/* Karte im Popover: keine Hover-Translation */
.rankAssignmentItem--popover, .echelonCardItem--popover {
  transform: none !important;
}

.rankAssignmentItem--popover:hover, .echelonCardItem--popover:hover {
  transform: none !important;
}

/* optional: Bild im Popover minimal kleiner */
.rankAssignmentItem--popover .rankAssignmentItem__image img,
.rankAssignmentItem--popover .rankAssignmentItem__image svg {
  max-height: 96px;
}

/* falls ein Theme die Karten-Rundung überschreibt */
.krt-rank-popover .rankAssignmentItem, .krt-echelon-popover .echelonCardItem {
  border-radius: var(--krt-card-radius) !important;
}

/* Karte – Abstände konfigurierbar */
.rankAssignmentItem, .echelonCardItem {
  --krt-gap: .42rem; /* Typ→Titel UND Titel→Badge */
  --krt-extraBelowBadge: .55rem; /* zusätzlicher Abstand Badge→Bild */
  --krt-head-min: auto; /* feste Kopf-Höhe nur für Bänder */
  --krt-image-min: 120px; /* generisches Bildfenster */
  position: relative;
  background: rgba(0, 0, 0, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  min-height: 270px;
  padding: 0.75rem 0.75rem 0.6rem;
  display: flex;
  flex-direction: column;
  text-align: center;
  transition: border 0.12s ease-out, transform 0.12s ease-out;
  /* Anker-Ziel nicht unter Header verschwinden lassen */
  scroll-margin-top: 72px;
}

.btn-check:active + label .rankAssignmentItem, .btn-check:checked + label .rankAssignmentItem, .rankAssignmentItem.active, .rankAssignmentItem.dropdown-toggle.show, .rankAssignmentItem:active,
.btn-check:active + label .echelonCardItem, .btn-check:checked + label .echelonCardItem, .echelonCardItem.active, .echelonCardItem.dropdown-toggle.show, .echelonCardItem:active {
  border: 1px solid #e67e23 !important;
}

.btn-check:not(:disabled):not(:checked):not(:active) + label .rankAssignmentItem:hover,
.btn-check:not(:disabled):not(:checked):not(:active) + label .echelonCardItem:hover {
  border-color: rgba(255, 255, 255, 0.18) !important;
}

/* Offiziersanzahl (x/4) oben rechts in der Karte statt im Titel */
.rankAssignmentItem__officerCount {
  position: absolute;
  top: 0.3rem;
  right: 0.3rem;
  margin: 0;
}

/* Wartezeit nach der Registrierung: Hinweis sichtbar in der Karte (nicht nur als Tooltip) */
.rankAssignmentItem__waitingTime {
  margin: 0.3rem 0;
}

.rankAssignmentItem__waitingTime .badge {
  white-space: normal;
  line-height: 1.3;
}

/* Typ-Zeile beidseitig einrücken, damit sie zentriert bleibt und nicht unter dem Badge liegt */
.rankAssignmentItem--hasOfficerCount .rankAssignmentItem__type {
  padding-inline: 2.4rem;
}

/* Kopfblock (Typ + Titel + Badge) */
.rankAssignmentItem__head, .echelonCardItem__head {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  min-height: var(--krt-head-min);
  margin-bottom: var(--krt-extraBelowBadge);
}

/* Typ-Chip */
.rankAssignmentItem__type, .echelonCardItem__type {
  font-size: 0.7rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
  min-height: 16px;
  margin-bottom: var(--krt-gap);
}

/* Titel (clamp 2 Zeilen) */
.rankAssignmentItem__title, .echelonCardItem__title {
  line-height: 1.12;
  font-weight: 600;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.9);
  letter-spacing: 0.01em;
  text-wrap: balance;
  hyphens: auto;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  margin-bottom: var(--krt-gap);
}

/* Bildfenster (Basis) */
.rankAssignmentItem__image, .echelonCardItem__image {
  flex: 1 0 var(--krt-image-min);
  min-height: var(--krt-image-min);
  display: flex;
  align-items: center;
  justify-content: center;
}

.rankAssignmentItem__image img,
.rankAssignmentItem__image svg,
.echelonCardItem__image img,
.echelonCardItem__image svg {
  max-height: 110px;
  max-width: 100%;
  object-fit: contain;
}

/* Beschreibung */
.rankAssignmentItem__description, .echelonCardItem__description {
  min-height: 56px;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.65);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 0.5rem;
}

.columnRankImage img, .columnEchelonImage img {
  height: 64px;
}

/* ---- Profile ranks tab (was <style> in userProfileRanks.tpl) ---- */
.krtRankProfileNav {
  margin-bottom: 1rem;
}

.krtRankProfileList__media {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 64px;
}

.krtRankProfileList__media img {
  max-width: 64px;
  max-height: 64px;
  height: auto;
  width: auto;
}

/* ---- Apply form sidebar sticky (was inline style) ---- */
.krtRankApplySidebarSticky {
  position: sticky;
  top: 20px;
}

/* ---- Popover cards: fixed width (was inline style) ---- */
.rankAssignmentItem--popover,
.echelonCardItem--popover {
  width: 248px;
  min-height: 270px;
}

/* ---- User menu rank image ---- */
.columnRankImage--menu img {
  width: 60px;
  height: 60px;
  object-fit: contain;
}

/* ---- Inactive activity highlight (member list) ---- */
.krtActivityInactive {
  color: #f00;
}

/* ---- Kartell: UserCard zentriert (WSC 6.2 Core ist linksbündig) ---- */
.userCard__header__avatar {
  align-self: center;
  margin-left: auto;
  margin-right: auto;
}

.userCard__content {
  align-items: center;
  text-align: center;
  /* Abstand zwischen Username, Gruppen-Labels und Rang-Labels */
  gap: 0.55rem;
}

/* WCF-Gruppen-/Titel-Badges (Organisationsleitung etc.) */
.userCard__content .badge:not(.userRankBadge) {
  display: inline-block;
  margin: 0.12rem 0.15rem;
  vertical-align: middle;
}

.userCard__ranks {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.35rem;
  width: 100%;
  margin-top: 0.15rem;
  /* eigene Zeile, kein Überlappen mit Titel-Badges */
  position: relative;
  z-index: 1;
}

.userCard__ranks .userRankBadge {
  margin: 0;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  line-height: 1.25;
}

/* ---- Rang-Popover: Ernennungsanzahl (wie Awards „N× verliehen“) ---- */
.rankAssignmentItem__appointedCount {
  margin-top: auto;
  padding-top: 0.45rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 0.55);
  text-align: center;
}

/* Rangverlauf: Rang-Spalte feste Breite, zentriert (wie Beförderungsliste) */
.krtRankHistory__rankColumn,
.krtEchelonHistory__rankColumn {
  text-align: center;
  width: 9rem;
  min-width: 8rem;
}

/* Rang-/Staffelverlauf: Begründung etwas breiter, Antwort gleiche Wrap-Regeln */
.krtRankHistory__reasonColumn,
.krtEchelonHistory__reasonColumn {
  min-width: 12rem;
  width: 28%;
  max-width: none;
  white-space: normal !important;
  overflow: visible !important;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.krtRankHistory__replyColumn,
.krtEchelonHistory__replyColumn {
  min-width: 12rem;
  width: 26%;
  max-width: none;
  white-space: normal !important;
  overflow: visible !important;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.krtHistory__reason,
.krtHistory__reply {
  min-width: 12rem;
  max-width: none;
  white-space: normal !important;
  overflow: visible !important;
  overflow-wrap: anywhere;
  word-break: break-word;
}

/* Notiz: min-width, Truncate bleibt */
.krtRankHistory__remarkColumn,
.krtEchelonHistory__remarkColumn {
  min-width: 8rem;
}

/* ---- 6.2.3: Rangverlauf im Profil (nur diese Seite, body.krtRankHistoryPage) ----
   Seite ohne Sidebars nutzt die volle Fensterbreite; Begründung, Notiz und Antwort
   gleich breit und mit Umbruch, damit die Tabelle nicht unnötig breit wird. */
@media (min-width: 1025px) {
  .krtRankHistoryPage #main > .layoutBoundary {
    width: auto;
    max-width: none;
  }
}
.krtRankHistoryPage .gridView__table .krtRankHistory__reasonColumn,
.krtRankHistoryPage .gridView__table .krtRankHistory__remarkColumn,
.krtRankHistoryPage .gridView__table .krtRankHistory__replyColumn {
  width: 18%;
  min-width: 12rem;
  max-width: 22rem;
  white-space: normal !important;
  overflow: visible !important;
  text-overflow: clip;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.krtRankHistoryPage .krtRankHistory__text {
  white-space: normal;
  overflow-wrap: anywhere;
  word-break: break-word;
}

/* Antragsliste / GridView: User-Popover trotz gridView__rowLink::before-Overlay */
.gridView a.userLink,
.gridView span.userLink {
  position: relative;
  z-index: 1;
}

/* ===========================================================================
   Abteilungen (Übersicht / Detail / Abteilungsleitung) – Look 1:1 wie Staffel-Übersicht
   (Regeln aus org.das-kartell.ranks.echelonoverview übernommen, Präfix krtDepartment)
   =========================================================================== */
/* Äußerer grauer Container (wie Rangmatrix / Award-Übersicht) */
.krtDepartmentOverviewBody {
  margin-top: 0;
}

.krtDepartmentCardGrid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1rem;
}

.krtDepartmentCard {
  position: relative;
  background-color: var(--wcfContentContainerBackground, var(--wcfContentBackground));
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--wcfBorderRadius, 4px);
  overflow: hidden;
  margin: 0;
  padding: 0;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.krtDepartmentCard:hover,
.krtDepartmentCard:focus-within {
  border-color: var(--wcfContentBorder, var(--wcfAlternateSelectionBackground));
  box-shadow: 0 0 0 1px var(--wcfContentBorderInner, transparent);
}

.krtDepartmentCard__link {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  color: inherit;
  text-decoration: none;
  padding: 1.25rem 1rem 1rem;
  min-height: 100%;
  box-sizing: border-box;
}

.krtDepartmentCard__link:hover {
  text-decoration: none;
  color: inherit;
}

.krtDepartmentCard__image {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 200px;
  margin: 0 auto 0.75rem;
  text-align: center;
}

.krtDepartmentCard__image img,
.krtDepartmentCard__image picture,
.krtDepartmentCard__image > * {
  display: block;
  float: none !important;
  margin-left: auto !important;
  margin-right: auto !important;
  max-width: 200px;
  max-height: 200px;
  width: auto;
  height: auto;
  object-fit: contain;
  object-position: center;
}

.krtDepartmentCard__imagePlaceholder {
  opacity: 0.45;
}

/* Kartentitel (Bereichs- und Abteilungs-Übersicht): deutlich größer und gut lesbar */
.krtDepartmentCard__title {
  margin: 0;
  color: var(--wcfContentHeadlineText, inherit);
  font-size: 1.4em;
  font-weight: 600;
  line-height: 1.25;
}

/* Typ-Label „Abteilung“ unter dem Titel, gleiche Optik wie das „Staffel“-Label der Staffel-Kacheln (.krtEchelonCard__typeLabel--staffel) */
.krtDepartmentCard__typeLabel {
  display: inline-block;
  margin: 0.25rem 0 0;
  padding: 0.1rem 0.4rem;
  border: 1px solid color-mix(in srgb, var(--wcfContentBorderInner, rgba(127, 127, 127, 0.3)) 80%, var(--wcfContentText));
  border-radius: var(--wcfBorderRadius, 4px);
  color: color-mix(in srgb, var(--wcfContentDimmedText) 80%, var(--wcfContentText));
  font-size: var(--wcfFontSizeSmall);
  font-weight: 400;
  line-height: 1.4;
  white-space: nowrap;
}

/* Bewerben-Button unter der Karte (Thread 9165) */
.krtDepartmentCard__apply {
  display: flex;
  justify-content: center;
  padding: 0 1rem 1rem;
}

/* Karte mit Bewerben-Button: Spalte, damit der Karten-Link (min-height: 100%) den Button nicht aus der Karte
   (overflow: hidden) schiebt – wie .krtEchelonCard:has(> .krtEchelonCard__actions) in der Staffel-Übersicht */
.krtDepartmentCard:has(> .krtDepartmentCard__apply) {
  display: flex;
  flex-direction: column;
}

.krtDepartmentCard:has(> .krtDepartmentCard__apply) > .krtDepartmentCard__link {
  flex: 1 1 auto;
  min-height: 0;
}

/* Deaktivierter Bewerben-Button (Kachel und Detailseite) zeigt den Grund als Tooltip; WCF setzt bei
   .button.disabled pointer-events: none, dann käme kein mouseenter an (wie .krtEchelonLimitReachedButton) */
.button.disabled.krtDepartmentApplyDeniedButton {
  pointer-events: auto;
}

/* Abteilungs-Bewerbungen: Kopf des Bewerbungsformulars (Logo + Name) */
.krtDepartmentApplyInfo {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.krtDepartmentApplyInfo__logo {
  flex: 0 0 96px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.krtDepartmentApplyInfo__logo img {
  max-width: 96px;
  max-height: 96px;
  width: auto;
  height: auto;
  object-fit: contain;
}

.krtDepartmentApplyInfo__placeholder {
  opacity: 0.45;
}

.krtDepartmentApplyInfo__name {
  font-size: var(--wcfFontSizeHeadline);
  font-weight: 600;
  line-height: 1.3;
}

.krtDepartmentApplyInfo__slogan {
  margin: 0.35rem 0 0;
}

/* Abteilungs-Bewerbungen: Tabellen */
.krtDepartmentApplicationTable__applicant {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.krtDepartmentApplicationTable__actions {
  text-align: right;
  white-space: nowrap;
}
.krtDepartmentApplicationTable__actions .button,
.krtDepartmentApplicationTable__actions .krtDepartmentApplicationRevokeForm {
  display: inline-flex;
  vertical-align: middle;
}
.krtDepartmentApplicationTable__actions .krtDepartmentApplicationRevokeForm {
  margin-left: 0.35rem;
}

/* Selektor mit Grid-Präfix: das Bereichs-Popover (echelonoverview, später kompiliert) nutzt dieselbe Klasse */
.krtDepartmentCardGrid .krtDepartmentCard__description {
  margin: 0.65rem 0 0;
  font-size: 0.92em;
  line-height: 1.4;
  color: var(--wcfContentDimmedText, inherit);
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
  overflow: hidden;
}

/* Bereichs- und Abteilungs-Übersicht (Thread 9175): Karten gleichmäßig auf die Reihen verteilen, jede Reihe zentriert.
   Ohne JS: feste Kartenbreite, umbrechend und zentriert. Mit JS (Template __krtEvenCardGridScript) wird --krtEvenPerRow
   gesetzt (Karten pro Reihe = ceil(n / ceil(n / max. Spalten))). Karten einer Reihe bleiben gleich hoch (align-items: stretch). */
.krtDepartmentCardGrid.krtEvenCardGrid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: stretch;
  gap: 1rem;
}
.krtDepartmentCardGrid.krtEvenCardGrid > .krtDepartmentCard {
  flex: 0 1 300px;
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
}

.krtDepartmentCardGrid.krtEvenCardGrid.krtEvenCardGrid--balanced > .krtDepartmentCard {
  flex: 0 0 calc((100% - (var(--krtEvenPerRow, 1) - 1) * 1rem) / var(--krtEvenPerRow, 1));
}

/* Bereichs-Übersicht: Mitgliederzahl unter der Beschreibung */
.krtAreaOverviewCard__memberCount {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin: 0.65rem 0 0;
  font-size: 0.92em;
}

/* Bereichs-Übersicht: Bereichsleitung (BL / BK / BO, Thread 9159) unter dem Kartenlink,
   Aufbau wie die Kachel „Bereichsleitung“ der Staffel-Detailseite */
.krtAreaOverviewCard {
  display: flex;
  flex-direction: column;
}
.krtAreaOverviewCard .krtDepartmentCard__link {
  flex: 1 1 auto;
  min-height: 0;
}

/* Mit Bereichsleitung: Box füllt die restliche Kachelhöhe, damit die Boxen einer Reihe oben und unten bündig sind */
.krtAreaOverviewCard:has(> .krtAreaOverviewCard__leadership) > .krtDepartmentCard__link {
  flex: 0 0 auto;
}

/* Box „Bereichsleitung“ der Kachel: Maße 1:1 wie .krtEchelonDetailLeadershipGroup (Staffel-Detailseite, Paket
   echelonoverview); Akzentfarbe wie dort der Primärbutton des Stils (eigene Variable, falls echelonoverview fehlt) */
.krtAreaOverviewCard__leadership {
  --krtAreaOverviewAccent: var(--wcfButtonPrimaryBackground, #e07b24);
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  margin: 0 1rem 1rem;
  padding: 0.85rem 1rem 1rem;
  background-color: var(--wcfContentBackground, transparent);
  border: 1px solid var(--wcfContentBorderInner, var(--wcfContentBorder));
  border-radius: var(--wcfBorderRadius, 4px);
}

.krtAreaOverviewCard__leadershipLabel {
  display: block;
  margin-bottom: 0.75rem;
  font-size: 0.75em;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* Funktionen nebeneinander, solange Platz ist (min. 10rem), sonst untereinander – wie die Spalten der Staffel-Detailseite */
.krtAreaOverviewCard__leadershipFunctions {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 10rem), 1fr));
  gap: 1rem 1.25rem;
}

.krtAreaOverviewCard__leadershipFunction {
  min-width: 0;
  padding-top: 0.5rem;
  border-top: 2px solid var(--krtAreaOverviewAccent);
}

.krtAreaOverviewCard__leadershipFunctionName {
  display: block;
  margin-bottom: 0.5rem;
  color: var(--wcfContentDimmedText, inherit);
  font-size: 0.8em;
}

.krtAreaOverviewCard__leadershipPersons {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

/* feste Symbolgröße (48px wie die Staffelleitung auf der Staffel-Detailseite) + fester Abstand:
   alle Namen und „Nicht besetzt“ einer Funktion beginnen an derselben Stelle */
.krtAreaOverviewCard__leadershipPerson {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  min-width: 0;
  min-height: 48px;
}

.krtAreaOverviewCard__leadershipRankIcon {
  display: block;
  flex: 0 0 48px;
  width: 48px;
  height: 48px;
  max-width: 48px;
  max-height: 48px;
  object-fit: contain;
}

.krtAreaOverviewCard__leadershipUsername,
.krtAreaOverviewCard__leadershipVacant {
  min-width: 0;
  font-size: 1.05em;
  line-height: 1.3;
  /* sehr lange RSI-Handles brechen notfalls um, statt die Kachel zu sprengen */
  overflow-wrap: anywhere;
}

.krtAreaOverviewCard__leadershipUsername {
  font-weight: 600;
}

.krtAreaOverviewCard__leadershipVacant {
  color: var(--wcfContentDimmedText, inherit);
  font-style: italic;
}

.krtDepartmentCard__edit {
  position: absolute;
  top: 0.55rem;
  right: 0.55rem;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.2rem;
  color: var(--wcfContentDimmedText, inherit);
  opacity: 0.85;
}

.krtDepartmentCard__edit:hover,
.krtDepartmentCard__edit:focus {
  opacity: 1;
  color: var(--wcfContentText, inherit);
  text-decoration: none;
}

/* Übersicht: Ecke oben rechts mit Label „Mitglied“ und Stift nebeneinander (wie .krtEchelonCorner der Staffel-Kacheln) */
.krtDepartmentCorner {
  position: absolute;
  top: 0.55rem;
  right: 0.55rem;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.krtDepartmentCorner .krtDepartmentCard__edit {
  position: static;
}

.krtDepartmentMembershipBadge {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  white-space: nowrap;
}

/* Detail */
.krtDepartmentDetailHero,
.krtDepartmentDetailPanel {
  position: relative;
  background-color: var(--wcfContentContainerBackground, var(--wcfContentBackground));
  border: 1px solid var(--wcfContentBorderInner, var(--wcfContentBorder));
  border-radius: var(--wcfBorderRadius, 4px);
}

.krtDepartmentDetailHero {
  overflow: hidden;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.krtDepartmentDetailHero:hover,
.krtDepartmentDetailHero:focus-within {
  border-color: var(--wcfContentBorder, var(--wcfAlternateSelectionBackground));
  box-shadow: 0 0 0 1px var(--wcfContentBorderInner, transparent);
}

.krtDepartmentDetailHero__edit {
  position: absolute;
  top: 0.55rem;
  right: 0.55rem;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.2rem;
  color: var(--wcfContentDimmedText, inherit);
  opacity: 0.85;
}

.krtDepartmentDetailHero__edit:hover,
.krtDepartmentDetailHero__edit:focus {
  opacity: 1;
  color: var(--wcfContentText, inherit);
  text-decoration: none;
}

.krtDepartmentDetailHero__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 1.75rem 1rem 1.5rem;
}

.krtDepartmentDetailHero__logo {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 256px;
  margin: 0 auto 1rem;
  text-align: center;
}

.krtDepartmentDetailHero__logo img,
.krtDepartmentDetailHero__logo picture,
.krtDepartmentDetailHero__logo > * {
  display: block;
  float: none !important;
  margin-left: auto !important;
  margin-right: auto !important;
  max-width: 256px;
  max-height: 256px;
  width: auto;
  height: auto;
  object-fit: contain;
  object-position: center;
}

.krtDepartmentDetailHero__placeholder {
  opacity: 0.45;
}

.krtDepartmentDetailHero__title {
  margin: 0;
  font-size: 1.75em;
  font-weight: 600;
  line-height: 1.25;
}

.krtDepartmentDetailHero__meta {
  margin: 0.4rem 0 0;
}

.krtDepartmentDetailPanel .sectionTitle {
  margin-top: 0;
}

.krtDepartmentDetailDescription {
  line-height: 1.55;
}

.krtDepartmentRosterRows {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.krtDepartmentRosterRow {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.85rem 1rem;
  background-color: var(--wcfContentBackground, transparent);
  border: 1px solid var(--wcfContentBorderInner, var(--wcfContentBorder));
  border-radius: var(--wcfBorderRadius, 4px);
}

.krtDepartmentRosterRow--large {
  padding: 1.15rem 1.25rem;
  gap: 1.25rem;
}

.krtDepartmentRosterRow--large .krtDepartmentRosterRow__name {
  font-size: 1.25em;
  font-weight: 600;
}

.krtDepartmentRosterRow--large .krtDepartmentRosterRow__role {
  font-size: 0.95em;
}

.krtDepartmentRosterRow--large .krtDepartmentRosterRow__rankName {
  font-size: 0.975em;
}

.krtDepartmentRosterRow__rank {
  flex: 0 0 auto;
  min-width: 4.5rem;
  text-align: center;
}

.krtDepartmentRosterRow__rank .rankInfo__icon {
  height: 48px;
}

.krtDepartmentRosterRow--large .krtDepartmentRosterRow__rank .rankInfo__icon {
  height: 64px;
}

/* Organisationsleitung (Abteilungs-Detailseite): eine Stufe größer als die Abteilungsleitung */
.krtDepartmentRosterRow--xlarge {
  padding: 1.35rem 1.5rem;
  gap: 1.5rem;
}

.krtDepartmentRosterRow--xlarge .krtDepartmentRosterRow__name {
  font-size: 1.5em;
  font-weight: 700;
}

.krtDepartmentRosterRow--xlarge .krtDepartmentRosterRow__rankName {
  font-size: 1.05em;
}

.krtDepartmentRosterRow--xlarge .krtDepartmentRosterRow__rank {
  min-width: 6rem;
}

.krtDepartmentRosterRow--xlarge .krtDepartmentRosterRow__rank .rankInfo__icon {
  height: 88px;
  max-width: 88px;
  max-height: 88px;
}

.krtDepartmentRosterRow__body {
  flex: 1 1 auto;
  min-width: 0;
}

.krtDepartmentRosterRow__role {
  font-size: 0.8em;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: var(--wcfContentDimmedText, inherit);
  margin-bottom: 0.15rem;
}

.krtDepartmentRosterRow__name {
  font-size: 1.05em;
  line-height: 1.3;
  word-break: break-word;
}

.krtDepartmentRosterRow__rankName {
  margin-top: 0.15rem;
  font-size: 0.9em;
}

.krtDepartmentRosterRow--empty {
  opacity: 0.85;
}

.krtDepartmentRosterRows--officers {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 0.75rem;
}

@media (max-width: 600px) {
  .krtDepartmentRosterRow {
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
  }
}
/* Seite „Organisationsleitung“: Avatar | Name | Rangsymbol mit Rangname zentriert darunter (.rankInfo) */
.krtOrganisationLeadRow__avatar {
  flex: 0 0 auto;
  line-height: 0;
}

.krtOrganisationLeadRow__rank {
  /* feste Breite, damit Trennlinie und Symbole in allen Zeilen bündig stehen */
  flex: 0 0 9.5rem;
  width: 9.5rem;
  margin-left: auto;
  padding-left: 1.25rem;
  border-left: 1px solid var(--wcfContentBorderInner, var(--wcfContentBorder));
}

.krtOrganisationLeadRow__rank .rankInfo__icon {
  height: 72px;
  max-width: 72px;
  max-height: 72px;
}

.krtOrganisationLeadRow__rank .rankInfo__name {
  font-size: 0.95em;
  font-weight: 600;
  color: var(--wcfContentText, inherit);
}

@media (max-width: 600px) {
  .krtDepartmentRosterRow.krtOrganisationLeadRow {
    flex-direction: row;
    align-items: center;
    gap: 0.85rem;
    padding: 0.85rem 1rem;
  }
  .krtOrganisationLeadRow .krtDepartmentRosterRow__name {
    font-size: 1.15em;
  }
  .krtOrganisationLeadRow__avatar img {
    width: 48px;
    height: 48px;
  }
  .krtOrganisationLeadRow__rank {
    flex-basis: 7.5rem;
    width: 7.5rem;
    padding-left: 0.85rem;
  }
  .krtOrganisationLeadRow__rank .rankInfo__icon {
    height: 52px;
    max-width: 52px;
    max-height: 52px;
  }
  .krtOrganisationLeadRow__rank .rankInfo__name {
    font-size: 0.85em;
  }
}
.krtDepartmentRosterGroup + .krtDepartmentRosterGroup {
  margin-top: 1.5rem;
}

.krtDepartmentRosterGroup__title {
  margin: 0 0 0.65rem;
  font-size: 0.85em;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: var(--wcfContentDimmedText, inherit);
}

.krtDepartmentRankGrid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 0.75rem;
}

.krtDepartmentRank {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.75rem 1rem;
  background-color: var(--wcfContentBackground, transparent);
  border: 1px solid var(--wcfContentBorderInner, var(--wcfContentBorder));
  border-radius: var(--wcfBorderRadius, 4px);
}

.krtDepartmentRank__icon {
  flex: 0 0 auto;
  min-width: 3rem;
  text-align: center;
}

.krtDepartmentRank__name {
  font-weight: 600;
}

.krtDepartmentRank__function,
.krtDepartmentRank__description,
.krtDepartmentRank__count {
  font-size: 0.88em;
  margin-top: 0.1rem;
}

.krtDepartmentMembers th.krtDepartmentMembers__rankColumn,
.krtDepartmentMembers td.krtDepartmentMembers__rankColumn,
.gridView th.krtDepartmentMembers__rankColumn,
.gridView td.krtDepartmentMembers__rankColumn {
  text-align: center;
  width: 14rem;
}

.krtDepartmentMembers td.krtDepartmentMembers__rankColumn .rankInfo__icon,
.gridView td.krtDepartmentMembers__rankColumn .rankInfo__icon {
  height: 48px;
  max-height: 48px;
}

.krtDepartmentMembers__rank {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.2rem;
}

.krtDepartmentMembers__rankName {
  font-size: 0.85em;
  line-height: 1.25;
}

.krtDepartmentLeadershipRow {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding: 1rem 1.25rem;
  background-color: var(--wcfContentBackground, transparent);
  border: 1px solid var(--wcfContentBorderInner, var(--wcfContentBorder));
  border-radius: var(--wcfBorderRadius, 4px);
}

.krtDepartmentLeadershipRow__logo {
  flex: 0 0 auto;
  width: 128px;
  text-align: center;
}

.krtDepartmentLeadershipRow__logo img {
  max-width: 128px;
  max-height: 128px;
  width: auto;
  height: auto;
  object-fit: contain;
}

.krtDepartmentLeadershipRow__body {
  flex: 1 1 auto;
  min-width: 0;
}

.krtDepartmentLeadershipRow__title {
  margin: 0;
  font-size: 1.2em;
  font-weight: 600;
}

.krtDepartmentLeadershipRow__actions {
  margin-top: 0.75rem;
}

/* Bereichsleitung (areaLeadership.tpl): luftigere Karten; Buttons mit WoltLab-Standard (buttonList/button) */
.krtAreaLeadershipList {
  gap: 1.25rem;
}

.krtAreaLeadershipCard {
  gap: 2rem;
  padding: 1.5rem 1.75rem;
}

.krtAreaLeadershipCard__body > p {
  margin-top: 0.5rem;
}

.krtAreaLeadershipCard__memberCount {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.krtAreaLeadershipCard__description {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  overflow: hidden;
  line-height: 1.5;
}

.krtAreaLeadershipCard__actions {
  margin-top: 1.25rem;
}

@media (max-width: 600px) {
  .krtDepartmentLeadershipRow {
    flex-direction: column;
    align-items: flex-start;
  }
}
/* Staffelmitglieder verwalten: Sprunganker auf die Mitgliederliste nicht unter der fixierten Menüleiste verschwinden lassen */
#groupMemberList {
  scroll-margin-top: 60px;
}

/* Thread 10095: Folgen-Liste in der Bestätigung „Aus Abteilung austreten“ */
.krtDepartmentLeaveConsequences {
  list-style: disc;
  margin: 0.5rem 0 0 1.25rem;
}

.krtDepartmentLeaveConsequences > li + li {
  margin-top: 0.25rem;
}

/* Thread 10095: Austreten-Formular in der Kopfzeile der Abteilungs-Detailseite wie ein normaler Button einreihen */
.krtDepartmentLeaveForm--header {
  display: contents;
}

/* Abteilungs-Detailseite: Kürzel klein und orange hinter dem Namen */
.krtDepartmentDetailHero__shortName {
  font-size: 0.55em;
  font-weight: 600;
  letter-spacing: 0.03em;
  vertical-align: middle;
}

/* Kürzel von Staffeln, Spezialkommandos und Abteilungen auf allen Kartell-Seiten: einheitlich orange wie in
   RagnarSevens Mockup (Akzentfarbe = Primärbutton des Stils, wie der orangene Strich der Kacheln) */
.krtShortName {
  color: var(--wcfButtonPrimaryBackground, #e07b24);
  font-weight: 600;
  letter-spacing: 0.03em;
}

/* Titel der Staffel-/SK-Unterseiten „[Staffel] Name KÜRZEL“ (__krtEchelonUnitTitle) */
.krtEchelonUnitTitle__type {
  margin-right: 0.5rem;
  font-size: 0.5em;
  vertical-align: middle;
}

.krtEchelonUnitTitle__shortName {
  font-size: 0.55em;
  font-weight: 600;
  letter-spacing: 0.03em;
}

/* Interessen: ab der Höchstzahl ausgegraute Checkboxen (userInterestEdit) */
.krtInterestDisabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* Statistik-Seite (KrtStatisticsPage): Diagrammfläche, Tooltip und Summenzeile */
.krtStatistics__chart {
  position: relative;
  height: 400px;
}

.balloonTooltip.krtStatistics__tooltip {
  display: none;
  position: absolute;
  z-index: 100;
}

.balloonTooltip.krtStatistics__tooltip--visible {
  display: block;
}

.krtStatistics__types label {
  display: block;
}

.krtStatistics__summary td {
  font-weight: 600;
}

/* KRT Academy – Modulübersicht */
.krtAcademyModuleListView__container {
  margin-top: 0.5rem;
}

.krtAcademyModuleListView__container .listView__itemList,
.krtAcademyModuleListView {
  display: block;
}

.krtAcademyModuleListView__container .listView__itemList {
  padding: 0;
  margin: 0;
  list-style: none;
}

.krtAcademyModuleListView__container .listView {
  margin-top: 0.25rem;
}

/* Abstand zur orangen Notice darüber (wie Awards) */
.listView:has(.krtAcademyModuleListView) {
  clear: both;
  width: 100%;
  margin-top: 1.5rem;
}

.listView:has(.krtAcademyModuleListView) > .listView__header {
  clear: both;
  width: 100%;
  box-sizing: border-box;
  margin: 0 0 1.25rem;
}

/* Outer hellgrau wie Awards OverviewBody / Staffel-Karten */
.krtAcademyModuleBody {
  position: relative;
  margin-top: 0;
  background-color: var(--wcfContentContainerBackground, var(--wcfContentBackground));
  border: 1px solid var(--wcfContentBorderInner, var(--wcfContentBorder));
  border-radius: var(--wcfBorderRadius, 4px);
  padding: 1rem 1.25rem;
}

.krtAcademyModuleCategory {
  margin-bottom: 1.5rem;
}

.krtAcademyModuleCategory:last-child {
  margin-bottom: 0;
}

.krtAcademyModuleCategory .categoryHeader {
  margin-bottom: 0.85rem;
  padding-bottom: 0.65rem;
  border-bottom: 1px solid var(--wcfContentBorderInner, rgba(255, 255, 255, 0.12));
}

.krtAcademyModuleCategory__modules {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

/* Modul-Karten wie WCF userCard (RobertDelman): ContentBackground auf hellgrauem Outer */
.krtAcademyModuleCard {
  /* Sprunganker (#academyModule…) nicht unter der fixierten Menüleiste verschwinden lassen */
  scroll-margin-top: 60px;
  background-color: var(--wcfContentBackground);
  border: 1px solid var(--wcfContentBorderInner, rgba(255, 255, 255, 0.06));
  border-radius: var(--wcfBorderRadius, 4px);
  margin: 0;
  padding: 1rem 1.15rem;
  box-shadow: var(--wcfBoxShadowCard, none);
}

.krtAcademyModuleCard .moduleHeader {
  padding-bottom: 0.65rem;
}

.krtAcademyModuleCard .sectionDescription {
  margin-top: 0.35rem;
}

.krtAcademyModuleListView .krtAcademyModuleCategory + .krtAcademyModuleCategory {
  margin-top: 0.25rem;
}

/* Academy-Vergabeseite: Vorschläge der automatischen Zuweisung – Auszeichnungsbild klein neben dem Namen */
.krtAwardProposals__award {
  align-items: center;
  display: inline-flex;
  gap: 0.5rem;
}

.krtAwardProposals__awardImage img {
  display: block;
  height: auto;
  max-height: 32px;
  max-width: 80px;
  width: auto;
}

/* bei einer Ablehnung nicht anerkannte Abschlüsse unter der Auszeichnung */
.krtAwardProposals__rejectedCompletions {
  color: var(--wcfContentDimmedText);
  display: block;
  margin-top: 0.25rem;
}

/* ======================================================================== */
/* ======================= KRT - Rankmatrix - PlugIn ====================== */
/* ======================================================================== */
.krtRankMatrixPage {
  --krt-accent: #e67e22;
  --krt-table-bg: #1a1d21;
  --krt-table-hover: #2d3136;
  --krt-table-border: #36373b;
  --krt-text-muted: rgba(223,225,228,0.85);
  /* Fallback nur noch für Notfälle */
  --krt-cover-url: radial-gradient(1200px 400px at 30% 0%, #333, #1e2226);
}

/* ListView-Container (CSS statt Inline-<style> im Template) */
.krtRankMatrixListView__container .listView__items,
.krtRankMatrixListView {
  display: block;
}

.krtRankMatrixPage .listView {
  clear: both;
  width: 100%;
}

.krtRankMatrixPage .listView__itemContainer,
.krtRankMatrixPage .listView__items {
  padding: 0;
  margin: 0;
}

/* Grauer WCF-Container um Matrix / Vergleich (Kartell 6.2) */
.krtRankMatrixBody,
.krtRankMatrixCompare {
  position: relative;
  margin-top: 0.5rem;
  background-color: var(--wcfContentContainerBackground, var(--wcfContentBackground));
  border: none;
  border-radius: var(--wcfBorderRadius, 4px);
}

.krtRankMatrixBody + .krtRankMatrixCompare,
.krtRankMatrixPage .krtRankMatrixCompare {
  margin-top: 1.25rem;
}

.krtRankMatrixPage .contentHeader {
  margin-bottom: 0.75rem;
}

.krtRankMatrixPage .hidden,
.krtRankMatrixPage .popover-content {
  display: none !important;
}

.krtPopoverVisible {
  display: block !important;
}

.krtPopoverVisible.popover-content {
  position: absolute;
  width: 360px;
  max-width: calc(100vw - 24px);
  background: #1a1d21 !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  border-radius: 8px;
  padding: 8px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45);
  z-index: 9999;
}

/* Infobox-Optik (oben/unten) */
.krtInfoBox {
  background: #202429;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  padding: 10px 12px;
  margin: 12px 0;
}

.krtInfoBox .krtRankMatrixInfoTitle {
  margin-top: 2px;
}

/* oberer Bereich */
.krtRankMatrixPage .sectionHeader {
  margin-bottom: 0;
}

.krtRankMatrixInfo {
  margin: 12px 0 14px;
  font-size: 0.8rem;
  line-height: 1.35;
  color: var(--krt-text-muted);
}

.krtRankMatrixInfoTitle {
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 0.02em;
  margin-bottom: 4px;
  color: #fff;
  font-size: 0.8rem;
  cursor: pointer;
  display: inline-block;
}

.krtRankMatrixInfoTitle:hover {
  color: var(--krt-accent);
  text-decoration: underline;
}

.krtRankMatrixInfo p {
  margin: 0 0 3px;
  color: var(--krt-text-muted);
  font-size: 0.8rem;
}

/* scrollbarer Bereich — natives horizontales Scrollen (keine Pfeil-Chrome) */
.krtRankMatrixOuter {
  overflow-x: auto;
  overflow-y: visible;
  width: 100%;
  margin-bottom: 0;
  -webkit-overflow-scrolling: touch;
}

.krtRankMatrixOuter::-webkit-scrollbar {
  height: 8px;
}

.krtRankMatrixOuter::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.22);
  border-radius: 4px;
}

/* Kategorie-Überschriften — außerhalb des horizontalen Scrolls */
.krtRankMatrixSection {
  display: block;
  width: 100%;
}

.krtRankMatrixSection + .krtRankMatrixSection {
  margin-top: 1.25rem;
}

.krtRankMatrixSectionHeader.sectionHeader,
.krtRankMatrixSection .sectionHeader {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  height: auto !important;
  overflow: visible !important;
  padding: 0.35rem 0 0.5rem;
  margin: 0;
  position: relative;
  z-index: 2;
}

.krtRankMatrixSection .sectionTitle {
  display: block !important;
  margin: 0 0 6px;
  font-size: 0.95rem;
  font-weight: 600;
  text-transform: uppercase;
  color: #fff !important;
  letter-spacing: 0.015em;
  line-height: 1.3;
}

/* Tabellencontainer — kein heller Rahmen um die Matrix-Box; orangener thead-Akzent bleibt */
.krtRankMatrixSection .box.krtRankMatrixTable {
  background: var(--krt-table-bg);
  border-radius: var(--wcfBorderRadius, 4px);
  margin-top: 0;
  padding: 0;
  border: none;
  border-top: 2px solid var(--krt-accent);
  outline: none;
}

.krtMatrixTable {
  width: auto;
  border-collapse: separate;
  border-spacing: 0;
}

/* Keine Innen-Zell-/Grid-Borders (wie Alt: nur orangener Outer-Akzent) */
.krtRankMatrixPage .table.krtMatrixTable > thead > tr > th,
.krtRankMatrixPage .table.krtMatrixTable > tbody > tr > th,
.krtRankMatrixPage .table.krtMatrixTable > tbody > tr > td {
  border: none !important;
  background: transparent;
}

/* ListView-/Container-Rahmen innen unterdrücken (kein leichter Grid-Rahmen) */
.krtRankMatrixPage .listView,
.krtRankMatrixPage .listView__itemContainer,
.krtRankMatrixPage .listView__items,
.krtRankMatrixListView__container,
.krtRankMatrixPage .krtRankMatrixOuter,
.krtRankMatrixPage .krtRankMatrixInner {
  border: none;
  box-shadow: none;
  outline: none;
}

/* >>> HEADERS SICHTBAR ERZWINGEN (robust) <<< */
.krtMatrixTable thead {
  display: table-header-group !important;
  visibility: visible !important;
}

.krtMatrixTable thead tr {
  display: table-row !important;
  visibility: visible !important;
}

.krtMatrixTable thead th {
  display: table-cell !important;
  visibility: visible !important;
  background: #373c42 !important;
  color: #fff !important;
}

/* Kopfzeile */
.krtMatrixTable thead th {
  white-space: nowrap;
  height: 38px;
  padding: 6px 8px;
  font-weight: 600;
  font-size: 0.95rem;
  border-top: none !important;
}

.krtMatrixTable th.columnNumber {
  width: 58px;
  text-align: center;
}

.krtMatrixTable th.columnDepartment {
  min-width: 240px;
  text-align: left;
}

/* Sticky erste Spalte (Rang-Nr.) beim horizontalen Scrollen */
.krtMatrixTable thead th.columnNumber,
.krtMatrixTable tbody th.rowHeader {
  position: sticky;
  left: 0;
  z-index: 3;
}

.krtMatrixTable thead th.columnNumber {
  z-index: 4;
  background: #373c42 !important;
}

.krtMatrixTable tbody th.rowHeader {
  background: var(--krt-table-bg) !important;
}

.krtMatrixTable tbody tr.krtMatrixRow:hover th.rowHeader {
  background: var(--krt-table-hover) !important;
}

.krtMatrixTable tbody tr.krtMatrixRow:not(.is-collapsed) th.rowHeader,
.krtMatrixTable tbody tr.krtMatrixRow:not(.is-collapsed):hover th.rowHeader {
  background: #0f0f0f !important;
}

/* Spaltenbreite aus fitCols (--krt-colw) */
.krtRankMatrixInner {
  --krt-colw: 228px;
}

.krtMatrixTable th.columnDepartment,
.krtMatrixTable td.rankCell {
  width: var(--krt-colw);
  min-width: var(--krt-colw);
  max-width: var(--krt-colw);
  box-sizing: border-box;
}

/* Zeilen */
.krtMatrixTable tbody tr.krtMatrixRow {
  cursor: pointer;
  background: var(--krt-table-bg) !important;
  transition: background 0.1s ease-in-out;
}

.krtMatrixTable tbody tr.krtMatrixRow:hover {
  background: var(--krt-table-hover) !important;
}

/* >>> NEU: geöffnete Zeilen in #0F0F0FFF einfärben <<< */
.krtMatrixTable tbody tr.krtMatrixRow:not(.is-collapsed) {
  background: #0f0f0f !important;
}

.krtMatrixTable tbody tr.krtMatrixRow:not(.is-collapsed):hover {
  background: #0f0f0f !important;
}

/* kompakter Body */
.krtMatrixRow.is-collapsed > th, .krtMatrixRow.is-collapsed > td {
  padding: 3px 8px;
  height: 30px;
  font-size: 0.875rem;
  color: var(--krt-text-muted);
}

.krtMatrixRow:not(.is-collapsed) > th, .krtMatrixRow:not(.is-collapsed) > td {
  padding: 6px 8px;
}

.krtMatrixTable .rowHeader {
  white-space: nowrap;
  text-align: center;
  color: var(--krt-text-muted);
}

.rankBox, .rankBoxFunctional, .rankBoxSpecial {
  padding: 0;
  border: none;
  background: transparent;
  min-height: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.krtMatrixRow:not(.is-collapsed) .rankBox {
  padding: 4px 0 3px;
  align-items: center;
  text-align: center;
}

.krtMatrixRow:not(.is-collapsed) .rankLogoInBox {
  display: block;
  max-width: 100px;
  margin-bottom: 4px;
}

.krtMatrixRow.is-collapsed .rankBox {
  flex-direction: row;
  align-items: center;
  gap: 6px;
}

.krtMatrixRow.is-collapsed .rankLogoInBox, .krtMatrixRow.is-collapsed .rankInfoFlags, .krtMatrixRow.is-collapsed .noRankBox {
  display: none !important;
}

.krtMatrixRow.is-collapsed .rankName {
  white-space: nowrap;
}

.rankInlineMarkers {
  display: inline-flex;
  gap: 3px;
  align-items: center;
  line-height: 1;
}

.rankInlineDot {
  width: 6px;
  height: 6px;
  border-radius: 9999px;
  background: currentColor;
  opacity: 0.85;
  display: inline-block;
  position: relative;
  top: -1px;
}

.rankInlineTriangle {
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 6px solid currentColor;
  opacity: 0.85;
  display: inline-block;
  position: relative;
  top: -1px;
}

.noRankBox {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 90px;
  width: 100%;
}

.noRankBox .noRankText {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 4px;
  padding: 3px 8px 4px;
  font-size: 0.75rem;
  color: #fff;
  white-space: nowrap;
}

.noRankDash {
  display: none;
  width: 100%;
  text-align: center;
  color: var(--krt-text-muted);
}

.krtMatrixRow.is-collapsed .noRankDash {
  display: inline-block;
}

/* unterer Optionsbereich */
.krtRankMatrixOptions {
  margin-top: 10px;
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--wcf-border-color);
}

/* Footer-Liste */
.krtFooterNotes {
  margin-top: 1rem;
}

.krtRankMatrixCompare .krtInfoBox {
  margin-bottom: 0;
}

.krtFooterNotesTitle {
  font-weight: 600;
  margin-bottom: 4px;
}

.krtFooterNotesList {
  margin: 0;
  padding-left: 18px;
  list-style: none;
  font-size: 0.8rem;
  color: var(--krt-text-muted);
}

.krtFooterNotesList li {
  margin: 1px 0;
  font-size: 0.8rem;
  color: var(--krt-text-muted);
}

/* Formular unten */
.krtCompareForm {
  margin-bottom: 16px;
}

.krtCompareForm .formSubmit {
  display: flex;
  justify-content: center;
  margin-top: 8px;
  padding-left: 0;
}

/* ==== POPOVER ==== */
.krtPopover {
  position: fixed;
  z-index: 9999;
  inset: auto auto auto auto;
  pointer-events: none;
}

.krtPopoverInner {
  width: 300px;
  max-width: 300px;
  background: #1f2327;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45);
  padding: 10px;
  color: #e7e9ec;
}

.krtPopCard {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* Neuer Banner statt Bild – jetzt in #0F0F0FFF */
.krtPopHeaderCover {
  height: 64px;
  margin: -10px -10px 8px;
  border-radius: 8px 8px 0 0;
  background: #0f0f0f; /* <— gewünschter Hex-Wert */
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.krtPopHeaderTitle {
  color: #fff;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 0.9rem;
  line-height: 1.2;
  text-align: center;
  padding: 0 10px; /* lange Texte wie "Officer in Training" */
}

.krtPopHeader {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  text-align: center;
}

.krtPopAvatar {
  width: 64px;
  height: 64px;
  border-radius: 9999px;
  object-fit: contain;
  background: #15181b;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.krtPopTitle {
  font-weight: 700;
  font-size: 0.95rem;
  color: #fff;
}

.krtPopNr {
  font-weight: 600;
  opacity: 0.85;
}

.krtPopBadges {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  justify-content: center;
}

.krtPopBadge {
  display: inline-block;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 9999px;
  padding: 1px 8px;
  font-size: 0.7rem;
  line-height: 1.6;
}

.krtPopBadge.krtBlue {
  background: rgba(59, 130, 246, 0.14) !important;
  color: #cfe3ff !important;
  border-color: rgba(59, 130, 246, 0.35) !important;
}

.krtPopBadge.krtGreen {
  background: rgba(34, 197, 94, 0.14) !important;
  color: #b6f3c8 !important;
  border-color: rgba(34, 197, 94, 0.35) !important;
}

.krtPopBadge.krtOrange {
  background: rgba(230, 126, 34, 0.14) !important;
  color: #ffe3c4 !important;
  border-color: rgba(230, 126, 34, 0.35) !important;
}

.krtPopDivider {
  height: 1px;
  background: rgba(255, 255, 255, 0.08);
}

.krtPopBody {
  font-size: 0.8rem;
  line-height: 1.35;
  text-align: center;
}

.krtPopBody p {
  margin: 0.25rem 0;
}

/* Farben der Badges im aufgeklappten Zustand angleichen */
.krtRankMatrixPage .rankInfoFlags .badge {
  font-size: 0.7rem;
  line-height: 1;
  padding: 4px 6px;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.krtRankMatrixPage .rankInfoFlags .badgeBlue {
  background: rgba(255, 255, 255, 0.08) !important;
  color: #e7e9ec !important;
  border-color: rgba(255, 255, 255, 0.15) !important;
}

.krtRankMatrixPage .rankInfoFlags .badgeGreen {
  background: rgba(34, 197, 94, 0.14) !important;
  color: #b6f3c8 !important;
  border-color: rgba(34, 197, 94, 0.35) !important;
}

.krtRankMatrixPage .rankInfoFlags .badgeOrange {
  background: var(--krt-accent) !important;
  color: #111 !important;
  border-color: rgba(255, 255, 255, 0.15) !important;
}

/* ==== Component/Popover (Cody BINDING) — no overlap, card owns padding ==== */
.popoverContainer:has(.rankMatrixPopover) {
  --padding: 0;
  max-height: none;
  overflow: visible;
}

.rankMatrixPopover.krtPopCard {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 280px;
  max-width: 360px;
  padding: 0 0 10px;
  background: #1f2327;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  color: #e7e9ec;
  box-sizing: border-box;
}

.rankMatrixPopover .krtPopHeaderCover {
  height: 48px;
  margin: 0;
  border-radius: 8px 8px 0 0;
  background: #0f0f0f;
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.rankMatrixPopover .krtPopHeaderTitle {
  color: #fff;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 0.9rem;
  line-height: 1.2;
  text-align: center;
  padding: 0 10px;
}

.rankMatrixPopover .krtPopHeader {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  text-align: center;
  padding: 0 12px;
  margin-top: 4px;
}

.rankMatrixPopover .krtPopAvatar {
  width: 64px;
  height: 64px;
  max-width: 64px;
  max-height: 64px;
  border-radius: 9999px;
  object-fit: contain;
  background: #15181b;
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: block;
  margin: 0 auto;
}

.rankMatrixPopover .krtPopAvatarHtml {
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.rankMatrixPopover .krtPopAvatarHtml img,
.rankMatrixPopover img.krtPopAvatar {
  width: 64px !important;
  height: 64px !important;
  max-width: 64px !important;
  max-height: 64px !important;
  object-fit: contain !important;
}

.rankMatrixPopover .krtPopTitle {
  font-weight: 700;
  font-size: 0.95rem;
  color: #fff;
}

.rankMatrixPopover .krtPopNr {
  font-weight: 600;
  opacity: 0.85;
}

.rankMatrixPopover .krtPopBadges {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  justify-content: center;
}

.rankMatrixPopover .krtPopDivider {
  height: 1px;
  margin: 0 12px;
  background: rgba(255, 255, 255, 0.08);
}

.rankMatrixPopover .krtPopBody {
  font-size: 0.8rem;
  line-height: 1.35;
  text-align: center;
  padding: 0 12px;
}

.rankMatrixPopover .krtPopBody p {
  margin: 0.25rem 0;
}

/* Rangname: kein Link-Look; Popover über .rankMatrixLink + data-object-id */
.rankMatrixLink {
  display: inline;
  cursor: pointer;
  text-decoration: none;
  color: inherit;
  border: 0;
  background: none;
  padding: 0;
  font: inherit;
}

.rankMatrixLink:hover,
.rankMatrixLink:focus {
  color: inherit;
  text-decoration: none;
  outline: none;
}

.rankMatrixPopover .krtPopAwardedCount {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 0.35rem;
  /* etwas mehr Luft oben → Text sitzt tiefer / optisch mittig */
  padding: 0.7rem 12px 0.55rem;
  min-height: 2.1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1.2;
  color: rgba(255, 255, 255, 0.55);
  text-align: center;
  box-sizing: border-box;
}

/* ==========================================================================
   TeamSpeak Viewer — Position footerBoxes (graues Band unter Footer-Menü)
   Box-ID: org.das-kartell.teamspeakviewer.OnlineUsers
   ========================================================================== */
.box[data-box-identifier="org.das-kartell.teamspeakviewer.OnlineUsers"] {
  --tsv-font-size: 1.00rem;
  --tsv-text-color: #eeeeee;
  --tsv-line-height: 1.5;
  --tsv-gap: .45rem;
  --tsv-list-top-gap: 6px;
  --tsv-icon-size: 16px;
}

/* Volle Breite im FooterBoxes-Grid */
.boxesFooterBoxes .boxContainer > .box[data-box-identifier="org.das-kartell.teamspeakviewer.OnlineUsers"],
.box.boxFullWidth[data-box-identifier="org.das-kartell.teamspeakviewer.OnlineUsers"] {
  grid-column: 1/-1;
  flex-basis: 100%;
  max-width: 100%;
  width: 100%;
}

.box[data-box-identifier="org.das-kartell.teamspeakviewer.OnlineUsers"] .boxContent {
  padding: 0;
}

/* 6.2.1: Graues Band (wcfFooterBackground) über die volle Seitenbreite hinter dem
   Viewer; der Inhalt bleibt in der layoutBoundary. Footer-Menü darüber und die
   Copyright-Zeile darunter bleiben dunkel. Das Band schließt unten bündig ab,
   daher entfällt der untere Innenabstand des FooterBoxes-Containers. */
.boxesFooterBoxes:has(.box[data-box-identifier="org.das-kartell.teamspeakviewer.OnlineUsers"]) {
  padding-bottom: 0 !important;
}

.boxesFooterBoxes .boxContainer > .box[data-box-identifier="org.das-kartell.teamspeakviewer.OnlineUsers"] {
  margin-top: 40px !important;
  padding: 30px 0 !important;
  background-color: var(--wcfFooterBackground);
  box-shadow: 0 0 0 100vmax var(--wcfFooterBackground);
  clip-path: inset(0 -100vmax);
}

.box[data-box-identifier="org.das-kartell.teamspeakviewer.OnlineUsers"] .tsv-head {
  margin: 0 0 8px;
}

.box[data-box-identifier="org.das-kartell.teamspeakviewer.OnlineUsers"] .tsv-meta {
  color: rgb(238, 238, 238);
  text-transform: uppercase;
  letter-spacing: 0.02em;
  font-weight: 400;
  line-height: 1.35;
}

.box[data-box-identifier="org.das-kartell.teamspeakviewer.OnlineUsers"] .tsv-meta .tsv-pass {
  text-transform: none;
  font-weight: 600;
}

.box[data-box-identifier="org.das-kartell.teamspeakviewer.OnlineUsers"] .tsv-meta .tsv-count {
  margin-right: 0.35rem;
}

.box[data-box-identifier="org.das-kartell.teamspeakviewer.OnlineUsers"] .tsv-help {
  display: inline-block;
  margin-top: 2px;
  color: var(--wcfContentDimmedTextColor, #A2A5A9);
  text-decoration: none;
}

.box[data-box-identifier="org.das-kartell.teamspeakviewer.OnlineUsers"] .tsv-help:hover,
.box[data-box-identifier="org.das-kartell.teamspeakviewer.OnlineUsers"] .tsv-help:focus {
  color: var(--wcfLinkHoverColor, #ff8800);
  text-decoration: none;
}

.box[data-box-identifier="org.das-kartell.teamspeakviewer.OnlineUsers"] ul.tsviewer-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  column-gap: var(--tsv-gap);
  row-gap: 0.2rem;
  margin: var(--tsv-list-top-gap) 0 0 0;
  padding: 0;
  list-style: none;
  font-size: var(--tsv-font-size);
  line-height: var(--tsv-line-height);
  color: var(--tsv-text-color);
}

.box[data-box-identifier="org.das-kartell.teamspeakviewer.OnlineUsers"] ul.tsviewer-list > li.tsv-item {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  margin: 0;
  list-style: none;
}

.box[data-box-identifier="org.das-kartell.teamspeakviewer.OnlineUsers"] .tsv-item .tsv-icons {
  line-height: 0;
  display: inline-flex;
  align-items: center;
  gap: 2px;
  margin-right: 0.28rem;
}

.box[data-box-identifier="org.das-kartell.teamspeakviewer.OnlineUsers"] .tsv-item .tsv-icons img {
  height: var(--tsv-icon-size);
  width: auto;
  display: block;
  image-rendering: pixelated;
  image-rendering: -moz-crisp-edges;
  image-rendering: crisp-edges;
  -ms-interpolation-mode: nearest-neighbor;
}

.box[data-box-identifier="org.das-kartell.teamspeakviewer.OnlineUsers"] .tsv-item.no-icons .tsv-icons {
  display: none !important;
  margin-right: 0 !important;
}

.box[data-box-identifier="org.das-kartell.teamspeakviewer.OnlineUsers"] .tsv-item .tsv-name {
  display: inline-block;
  min-width: 0;
}

@media (max-width: 520px) {
  .box[data-box-identifier="org.das-kartell.teamspeakviewer.OnlineUsers"] .tsv-item .tsv-icons {
    display: none;
  }
}
/* ==========================================================================
   KRT – Awards (WoltLab Suite)
   Karten-Layout + Gruppentrenner + Tier-Badges + Infobox + Accordion
   ========================================================================== */
/* Theme-Token */
:root {
  --krt-panel-bg: #1f2429;
  --krt-accent: #ff8a00; /* Kartell-Orange für Auswahlrahmen */
}

/* Abschnittstitel ohne Doppellinie */
.awardSectionTitle {
  border-bottom: 0 !important;
  margin-top: 1.2rem;
  margin-bottom: 0.35rem; /* näher an die Description */
}

/* Description direkt unter der Überschrift */
.awardSectionLead {
  margin: 0 0 0.6rem;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.72);
  text-align: left;
}

.awardSectionDivider {
  border: 0;
  height: 1px;
  background: rgba(255, 255, 255, 0.08);
  margin: 0.25rem 0 1rem;
}

/* Bildmittelung (Basis) */
.awardImage {
  display: flex;
  align-items: center;
  justify-content: center;
}

.awardImage img,
.awardImage svg {
  max-width: 100%;
  height: auto;
  object-fit: contain;
}

/* Grid */
.awardAssignmentGrid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1rem;
  align-items: stretch;
}

/* Karte – Abstände konfigurierbar */
.awardAssignmentItem {
  --krt-gap: .42rem; /* Typ→Titel UND Titel→Badge */
  --krt-extraBelowBadge: .55rem; /* zusätzlicher Abstand Badge→Bild */
  --krt-head-min: auto; /* feste Kopf-Höhe nur für Bänder */
  --krt-image-min: 120px; /* generisches Bildfenster */
  position: relative;
  background: rgba(0, 0, 0, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  min-height: 270px;
  padding: 0.75rem 0.75rem 0.6rem;
  display: flex;
  flex-direction: column;
  text-align: center;
  transition: border 0.12s ease-out, transform 0.12s ease-out;
  /* Anker-Ziel nicht unter Header verschwinden lassen */
  scroll-margin-top: 72px;
}

/* Kopfblock (Typ + Titel + Badge) */
.awardAssignmentItem__head {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  min-height: var(--krt-head-min);
  margin-bottom: var(--krt-extraBelowBadge);
}

/* Typ-Chip */
.awardAssignmentItem__type {
  font-size: 0.7rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
  min-height: 16px;
  margin-bottom: var(--krt-gap);
}

/* Titel (clamp 2 Zeilen) */
.awardAssignmentItem__title {
  line-height: 1.12;
  font-weight: 600;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.9);
  letter-spacing: 0.01em;
  text-wrap: balance;
  hyphens: auto;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  margin-bottom: var(--krt-gap);
}

/* Tier-Zeile */
.awardAssignmentItem__tier {
  min-height: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Bildfenster (Basis) */
.awardAssignmentItem__image {
  flex: 1 0 var(--krt-image-min);
  min-height: var(--krt-image-min);
  display: flex;
  align-items: center;
  justify-content: center;
}

.awardAssignmentItem__image img,
.awardAssignmentItem__image svg {
  max-height: 110px;
  max-width: 100%;
  object-fit: contain;
}

/* Beschreibung */
.awardAssignmentItem__description {
  min-height: 56px;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.65);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 0.5rem;
}

/* Verleihungsanzahl (nur Übersichtskarte, nicht Popover) */
.awardAssignmentItem__awardedCount {
  margin-top: auto;
  padding-top: 0.45rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 0.55);
  text-align: center;
}

/* Hover/Fokus */
.awardAssignmentItem:hover {
  border-color: rgba(255, 255, 255, 0.18);
}

.awardAssignmentItem:focus-within {
  outline: none;
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.06);
}

/* Disabled */
.awardAssignmentItem.is-disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.awardAssignmentItem.is-disabled:hover {
  border-color: rgba(255, 255, 255, 0.05);
}

/* Badges – Basis */
.badgePill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 0.5rem;
  height: 18px;
  border-radius: 9999px;
  font-size: 0.7rem;
  font-weight: 600;
  line-height: 1;
  border: 1px solid transparent;
}

/* „Verliehen“ */
.badgePill--success {
  background: rgba(60, 153, 60, 0.18);
  color: #a8e6a8;
  border-color: rgba(60, 153, 60, 0.35);
}

/* Tier-Badges (inkl. deutschem Alias) */
.badgePill--gold {
  background: rgba(240, 180, 0, 0.18);
  color: #f2d28b;
  border-color: rgba(240, 180, 0, 0.45);
}

.badgePill--silver,
.badgePill--silber {
  background: rgba(160, 170, 185, 0.18);
  color: #e2e7ef;
  border-color: rgba(160, 170, 185, 0.55);
}

.badgePill--bronze {
  background: rgba(160, 90, 40, 0.18);
  color: #e2ad8b;
  border-color: rgba(160, 90, 40, 0.48);
}

.badgePill--obsidian {
  background: rgba(100, 60, 180, 0.18);
  color: #c8b6ff;
  border-color: rgba(100, 60, 180, 0.55);
}

/* ========================= TYP-SPEZIFISCHES FEINTUNING ========================= */
/* MEDAILLEN – so lassen wie es jetzt passt */
.awardAssignmentGrid--medals .awardAssignmentItem {
  --krt-image-min: 124px;
}

.awardAssignmentGrid--medals .awardAssignmentItem__image img {
  max-height: 112px;
}

/* SPANGEN – etwas flacher als Medaillen */
.awardAssignmentGrid--clasps .awardAssignmentItem {
  --krt-image-min: 110px;
}

.awardAssignmentGrid--clasps .awardAssignmentItem__image img {
  max-height: 100px;
}

/* BÄNDER – harte Ausrichtung, unabhängig von Textlänge */
.awardAssignmentGrid--ribbons .awardAssignmentItem {
  --krt-head-min: 92px;
  --krt-image-min: 82px;
}

.awardAssignmentGrid--ribbons .awardAssignmentItem__image {
  flex: 0 0 var(--krt-image-min);
  min-height: var(--krt-image-min);
}

.awardAssignmentGrid--ribbons .awardAssignmentItem__image img {
  max-height: 54px;
}

.awardAssignmentGrid--ribbons .awardAssignmentItem__description {
  min-height: 64px;
}

/* PLAKETTEN – ähnlich Medaillen */
.awardAssignmentGrid--badges .awardAssignmentItem {
  --krt-image-min: 120px;
}

.awardAssignmentGrid--badges .awardAssignmentItem__image img {
  max-height: 108px;
}

/* Responsive */
@media (max-width: 380px) {
  .awardAssignmentGrid {
    grid-template-columns: 1fr 1fr;
  }
}
/* ========================= Infobox & Accordion ========================= */
.krtInfobox {
  background: var(--krt-panel-bg);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 0.75rem 1rem;
  margin: 0 0 1rem 0;
}

/* zusätzlicher, gezielter Abstand für die Assignment-Infobox */
.krtInfobox--spaced {
  margin-top: 0.9rem;
  margin-bottom: 1.25rem;
}

.krtInfobox__title {
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.82);
  margin-bottom: 0.25rem;
}

.krtInfobox__body p {
  margin: 0.25rem 0;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.72);
}

/* details/summary Accordion */
.krtAccordion {
  background: var(--krt-panel-bg);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  margin: 0.75rem 0 1.25rem;
  overflow: hidden;
}

.krtAccordion__summary {
  cursor: pointer;
  list-style: none;
  padding: 0.7rem 1rem;
  font-weight: 600;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.9);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.krtAccordion__summary::-webkit-details-marker {
  display: none;
}

.krtAccordion__summary::after {
  content: "";
  width: 0.6rem;
  height: 0.6rem;
  border-right: 2px solid rgba(255, 255, 255, 0.6);
  border-bottom: 2px solid rgba(255, 255, 255, 0.6);
  transform: rotate(45deg);
  transition: transform 0.15s ease;
}

.krtAccordion[open] .krtAccordion__summary::after {
  transform: rotate(-135deg);
}

.krtAccordion__body {
  padding: 0.25rem 1rem 0.9rem;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.72);
}

.krtAccordion__h {
  margin: 0.5rem 0 0.25rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.86);
}

.krtAccordion__list {
  margin: 0.25rem 0 0.25rem 1.25rem;
}

/* ========================= Assignment – Radios ausblenden & Orange-Rahmen ========================= */
/* 1) Radio visuell verstecken (statt Off-Screen) – verhindert Scroll-Jump */
.awardAssignmentGrid input[type=radio].awardAssignmentGrid__radio {
  position: absolute !important;
  /* alte Off-Screen-Hacks neutralisieren */
  left: auto !important;
  top: auto !important;
  right: auto !important;
  bottom: auto !important;
  transform: none !important;
  margin-left: 0 !important;
  width: 1px !important;
  height: 1px !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  clip: rect(0 0 0 0) !important;
  clip-path: inset(50%) !important;
  overflow: hidden !important;
  white-space: nowrap !important;
  opacity: 0 !important;
}

/* 2) WoltLab-Radiodot auf dem Label hart deaktivieren */
.awardAssignmentGrid input[type=radio] + label::before,
.awardAssignmentGrid input[type=radio] + label::after {
  content: none !important;
  display: none !important;
}

/* Fallback: falls das Theme noch spezifischer ist */
label.awardAssignmentItem::before,
label.awardAssignmentItem::after {
  content: none !important;
  display: none !important;
}

/* 3) Ausgewählte Karte orange umranden */
.awardAssignmentGrid input[type=radio]:checked + label.awardAssignmentItem {
  border-color: var(--krt-accent) !important;
  box-shadow: 0 0 0 2px rgba(255, 138, 0, 0.28);
  transform: translateY(-1px);
}

/* 4) Tastaturfokus sichtbarer (Input bleibt fokussierbar, ohne Scrollen) */
.awardAssignmentGrid input[type=radio]:focus-visible + label.awardAssignmentItem {
  box-shadow: 0 0 0 2px rgba(255, 138, 0, 0.38);
}

/* === Fix: Awards im Post-Sidebar exakt klein wie "Ränge" ================ */
/* Nur Sidebar, damit die Übersichten unberührt bleiben */
.messageSidebar .userAwardsContainer dl.plain > dd {
  font-size: 0.75rem !important; /* ≈ 12px bei 16px Basis – wie "Ränge" */
  line-height: 1;
  margin: 0;
}

.messageSidebar .userAwardsContainer dl.plain > dd + dd {
  margin-top: 0.12rem;
}

.messageSidebar .userAwardsContainer dl.plain > dd a {
  font: inherit;
}

.messageSidebar .userAwardsContainer + * {
  margin-top: 20px;
}

@media screen and (max-width: 768px) {
  .messageSidebar .userAwardsContainer {
    display: none;
  }
}
/* === Popover-Layout nur für die Award-Vorschau ========================= */
/* greift ausschließlich im Popover-Container, zerlegt keine Übersichtsseiten */
.wcfPopover .krt-awardPopover,
.popover .krt-awardPopover {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  max-width: 360px;
  opacity: 0;
  transform: translateY(2px);
  animation: krtPop 0.12s ease-out forwards;
}

@keyframes krtPop {
  to {
    opacity: 1;
    transform: none;
  }
}
.wcfPopover .krt-awardPopover__media,
.popover .krt-awardPopover__media {
  flex: 0 0 56px;
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.06);
}

.wcfPopover .krt-awardPopover__media img,
.popover .krt-awardPopover__media img {
  max-width: 52px;
  max-height: 52px;
  object-fit: contain;
}

.wcfPopover .krt-awardPopover__type,
.popover .krt-awardPopover__type {
  font-size: 0.7rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  opacity: 0.7;
  margin-bottom: 0.1rem;
}

.wcfPopover .krt-awardPopover__title,
.popover .krt-awardPopover__title {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.2;
}

.wcfPopover .krt-awardPopover__desc,
.popover .krt-awardPopover__desc {
  margin: 0.2rem 0 0;
  font-size: 0.82rem;
  opacity: 0.85;
}

/* Footer-Link nur im Award-Popover */
.wcfPopover .krt-awardPopover__footer,
.popover .krt-awardPopover__footer {
  margin-top: 0.35rem;
}

.wcfPopover .krt-awardPopover__more,
.popover .krt-awardPopover__more {
  font-weight: 600;
  text-decoration: none;
}

.wcfPopover .krt-awardPopover__more:hover,
.popover .krt-awardPopover__more:hover {
  text-decoration: underline;
}

/* Placeholder-Fall (wenn mal kein Bild) */
.wcfPopover .krt-awardPopover__placeholder,
.popover .krt-awardPopover__placeholder {
  width: 56px;
  height: 56px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.06);
}

/* Nur Award-Popover schmaler machen */
.wcfPopover:has(.krt-awardPopover),
.popover:has(.krt-awardPopover) {
  width: fit-content !important;
  max-width: 360px !important; /* bei Bedarf 320–400 anpassen */
  min-width: 0 !important;
}

/* Ziel-Highlight beim Anspringen über #award-<id> (dezent) */
.awardAssignmentItem:target {
  box-shadow: 0 0 0 2px rgba(255, 138, 0, 0.28);
  border-color: var(--krt-accent);
}

/* ========================= Popover – Award (WoltLab Controller-Popover) ========================= */
/*
 * WCF begrenzt `.popoverContent > div` auf max-height:290px + overflow:hidden.
 * Das muss für Awards aufgehoben werden, sonst werden Medaillen abgeschnitten.
 * Kein Grid-Karten-Layout im Popover — Inhalt bestimmt die Größe.
 */
/* Wie normales User-Popover: WCF-.popover-Chrome (dunkler Container, Schatten, Radius) */
/* PSR-15 Component/Popover nutzt .wcfPopover — Clip analog ranks aufheben */
.wcfPopover:has(.krt-award-popover),
.popover:has(.krt-award-popover) {
  width: auto !important;
  max-width: min(460px, 92vw) !important;
  height: auto !important;
  max-height: none !important;
  overflow: visible !important;
  background-color: var(--wcfContentContainerBackground) !important;
  color: var(--wcfContentText) !important;
  border-radius: var(--wcfBorderRadius) !important;
  box-shadow: var(--wcfBoxShadow) !important;
}

.wcfPopover:has(.krt-award-popover) .popoverContent,
.popover:has(.krt-award-popover) .popoverContent {
  padding: 16px 18px !important;
  overflow: visible !important;
  max-height: none !important;
  background-color: transparent !important;
  color: inherit !important;
  border-radius: inherit !important;
}

/* WoltLab-Clip (290px) aufheben — .wcfPopover und Legacy-.popover */
.wcfPopover:has(.krt-award-popover) .popoverContent > div,
.popover:has(.krt-award-popover) .popoverContent > div,
.wcfPopover:has(.krt-award-popover) .popoverContent > *,
.popover:has(.krt-award-popover) .popoverContent > * {
  max-height: none !important;
  min-height: 0 !important;
  overflow: visible !important;
  height: auto !important;
}

.krt-award-popover {
  display: flex;
  flex-direction: column;
  align-items: center !important;
  gap: 0.55rem;
  text-align: center !important;
  width: 100%;
  max-width: 420px;
  margin: 0 auto !important;
  box-sizing: border-box;
}

.krt-award-popover__type {
  font-size: 0.78rem !important;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--wcfContentDimmedText, rgba(255, 255, 255, 0.65));
}

.krt-award-popover__title {
  font-weight: 600 !important;
  font-size: 1.15rem !important;
  line-height: 1.25;
  color: var(--wcfContentText, rgba(255, 255, 255, 0.95));
}

.krt-award-popover__tier {
  display: flex;
  justify-content: center;
  width: 100%;
}

.krt-award-popover__image {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  margin: 0.4rem 0;
}

.krt-award-popover__image img,
.krt-award-popover__image svg {
  display: block;
  width: auto !important;
  height: auto !important;
  max-width: 100% !important;
  max-height: 420px !important;
  object-fit: contain !important;
  margin: 0 auto !important;
}

.krt-award-popover__desc {
  width: 100%;
  margin: 0.15rem 0 0;
  padding: 0.65rem 0 0;
  border-top: 1px solid var(--wcfContentBorderInner, rgba(255, 255, 255, 0.1));
  font-size: 0.95rem !important;
  line-height: 1.45 !important;
  color: var(--wcfContentDimmedText, rgba(255, 255, 255, 0.78));
  text-align: center !important;
  overflow-wrap: anywhere;
}

.krt-award-popover__desc,
.krt-award-popover__desc * {
  text-align: center !important;
  font-size: 0.95rem !important;
  line-height: 1.45 !important;
}

/* falls ein Theme die Karten-Rundung überschreibt */
.krt-award-popover .awardAssignmentItem {
  border-radius: var(--krt-card-radius) !important;
}

/* ===== Award-Popover Clip härten (Overview + Legacy) ===== */
.wcfPopover .popoverContent:has(.krt-award-popover),
.popover .popoverContent:has(.krt-award-popover),
.wcfPopover .popoverContent:has(.krt-awardPopover),
.popover .popoverContent:has(.krt-awardPopover),
.wcfPopover .popoverContent > *:has(.krt-award-popover),
.popover .popoverContent > *:has(.krt-award-popover),
.wcfPopover .popoverContent > *:has(.krt-awardPopover),
.popover .popoverContent > *:has(.krt-awardPopover),
.wcfPopover .popoverContent > .krt-award-popover,
.popover .popoverContent > .krt-award-popover,
.wcfPopover .popoverContent > .krt-awardPopover,
.popover .popoverContent > .krt-awardPopover {
  max-height: none !important;
  min-height: 0 !important;
  height: auto !important;
  overflow: visible !important;
}

.wcfPopover:has(.krt-awardPopover),
.popover:has(.krt-awardPopover) {
  height: auto !important;
  max-height: none !important;
  overflow: visible !important;
}

.wcfPopover:has(.krt-awardPopover) .popoverContent,
.popover:has(.krt-awardPopover) .popoverContent,
.wcfPopover:has(.krt-awardPopover) .popoverContent > *,
.popover:has(.krt-awardPopover) .popoverContent > * {
  max-height: none !important;
  overflow: visible !important;
  height: auto !important;
}

/* analog ranks: .boxContent darf Award-Popover nicht clippen */
.wcfPopover:has(.krt-award-popover) .boxContent,
.popover:has(.krt-award-popover) .boxContent,
.wcfPopover:has(.krt-awardPopover) .boxContent,
.popover:has(.krt-awardPopover) .boxContent {
  max-height: none !important;
  overflow: visible !important;
  height: auto !important;
}

/* WSC 6.2 Component/Popover: Clip kommt von .popoverContainer (--maxHeight:400px) */
.popoverContainer:has(.krt-award-popover),
.popoverContainer:has(.krt-awardPopover) {
  --maxHeight: none;
  max-height: none !important;
  height: auto !important;
  overflow: visible !important;
  max-width: min(460px, 92vw) !important;
  width: auto !important;
}

/* Overview-Container, die Popover/Hover clippen könnten */
.krtAwardOverviewBody,
.krtAwardOverviewListView,
.krtAwardOverviewListView__container,
.listView:has(.krtAwardOverviewListView),
.listView:has(.krtAwardOverviewListView) .listView__itemList,
.listView:has(.krtAwardOverviewListView) .listView__item,
.krtAwardOverviewListView .awardAssignmentItem {
  overflow: visible !important;
}

/* Profile > Awards: kompakter, an "Ränge" angelehnt */
.section.awardsSection .table thead th {
  border-bottom-width: 2px;
  border-bottom-style: solid; /* durchgehende orange Linie */
  background: transparent;
}

.section.awardsSection .table tbody td {
  padding-top: 8px;
  padding-bottom: 8px;
  vertical-align: middle;
}

/* Bildspalte: Standard (Bänder/Spangen/Plaketten) */
.section.awardsSection .table .columnImage {
  width: 64px;
  min-width: 64px;
}

.section.awardsSection .table .columnImage img {
  display: block;
  margin: 0 auto;
  max-height: 56px; /* kompakter wie "Ränge" */
  height: auto;
  width: auto;
  object-fit: contain;
}

/* Spaltenabstände geringfügig straffer */
.section.awardsSection .table td,
.section.awardsSection .table th {
  line-height: 1.35;
}

/* Zeilentrenner dezenter */
.section.awardsSection .table tbody tr + tr td {
  border-top-width: 1px;
}

/* Medaillen größer: erster Awards-Block (Medaillen stehen dort) */
.section.awardsSection:first-of-type .table tbody td {
  padding-top: 12px;
  padding-bottom: 12px;
}

.section.awardsSection:first-of-type .table .columnImage {
  width: 88px;
  min-width: 88px;
}

.section.awardsSection:first-of-type .table .columnImage img {
  max-height: 96px; /* mehr Höhe für die länglichen Medaillen */
  height: auto;
  width: auto;
}

/* ==========================================================================
   Award Detail – Hero-Header (mittig, großes Bild) + Inhaber-Liste
   ========================================================================== */
.krtAwardDetailHero {
  margin: 0 0 1.25rem;
  background-color: var(--wcfContentContainerBackground, var(--wcfContentBackground));
  border: 1px solid var(--wcfContentBorderInner, var(--wcfContentBorder));
  border-radius: var(--wcfBorderRadius, 4px);
}

.krtAwardDetailHero__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.55rem;
  padding: 0.35rem 0 0.15rem;
}

.krtAwardDetailHero__type {
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.65);
}

.krtAwardDetailHero__image {
  width: 100%;
  max-width: 360px;
  min-height: 140px;
  margin: 0.25rem 0 0.15rem;
}

.krtAwardDetailHero__image img,
.krtAwardDetailHero__image svg {
  display: block;
  margin: 0 auto;
  max-width: 100%;
  max-height: 320px;
  width: auto;
  height: auto;
  object-fit: contain;
}

.krtAwardDetailHero__title {
  margin: 0;
  font-size: 1.45rem;
  font-weight: 600;
  line-height: 1.2;
}

.krtAwardDetailHero__tier {
  min-height: 1.4rem;
}

.krtAwardDetailHero__description {
  margin: 0.35rem 0 0;
  max-width: 52rem;
  font-size: 0.95rem;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.72);
}

.krtAwardDetailHolders {
  background-color: var(--wcfContentContainerBackground, var(--wcfContentBackground));
  border: 1px solid var(--wcfContentBorderInner, var(--wcfContentBorder));
  border-radius: var(--wcfBorderRadius, 4px);
}

.krtAwardDetailHolders .sectionTitle {
  margin-top: 0;
}

/* ==========================================================================
   Award Overview – ListView-Container (unter orangenem Strich / Filter)
   ========================================================================== */
.krtAwardOverviewListView__container .listView__itemList,
.krtAwardOverviewListView {
  display: block;
}

.krtAwardOverviewListView__container .listView__itemList {
  padding: 0;
  margin: 0;
  list-style: none;
}

.krtAwardOverviewIntro {
  margin: 1rem 0 1.25rem;
}

/* Abstand zur Spenden-Box darüber; Überblick bleibt UNTER dem orangen Strich */
.listView:has(.krtAwardOverviewListView) {
  clear: both;
  width: 100%;
  margin-top: 1.5rem;
}

.listView:has(.krtAwardOverviewListView) > .listView__header {
  clear: both;
  width: 100%;
  box-sizing: border-box;
  margin: 0 0 1.25rem;
}

.krtAwardOverviewBody {
  position: relative;
  margin-top: 0.5rem;
  background-color: var(--wcfContentContainerBackground, var(--wcfContentBackground));
  border: 1px solid var(--wcfContentBorderInner, var(--wcfContentBorder));
  border-radius: var(--wcfBorderRadius, 4px);
  padding: 1rem 1.25rem;
}

.krtAwardOverviewBody .awardOverviewTypeSection + .awardOverviewTypeSection {
  margin-top: 1.25rem;
}

.krtAwardOverviewListView a.awardLink.awardAssignmentItem {
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}

.krtAwardOverviewListView a.awardLink.awardAssignmentItem:hover,
.krtAwardOverviewListView a.awardLink.awardAssignmentItem:focus {
  text-decoration: none;
  color: inherit;
}

.krtAwardOverviewListView .awardAssignmentItem {
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

/* ==========================================================================
   User-Profil – Awards-Tab
   ========================================================================== */
.krtProfileSectionHeader {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 0.75rem;
}

.krtProfileSectionHeader .sectionTitle {
  margin: 0;
  flex: 1 1 auto;
}

.krtAwardProfileList__row {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.krtAwardProfileList__media {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}

.krtAwardProfileList__media img,
.krtAwardProfileList__media svg {
  height: auto;
  width: auto;
  object-fit: contain;
}

/* Medals / badges: tall, readable (~96–120px) */
.krtAwardProfileList__row--medal .krtAwardProfileList__media,
.krtAwardProfileList__row--badge .krtAwardProfileList__media {
  min-width: 120px;
}

.krtAwardProfileList__row--medal .krtAwardProfileList__media img,
.krtAwardProfileList__row--medal .krtAwardProfileList__media svg,
.krtAwardProfileList__row--badge .krtAwardProfileList__media img,
.krtAwardProfileList__row--badge .krtAwardProfileList__media svg {
  max-height: 110px;
  max-width: 120px;
}

/* Ribbons / clasps: wide (~120–160px) */
.krtAwardProfileList__row--ribbon .krtAwardProfileList__media,
.krtAwardProfileList__row--clasp .krtAwardProfileList__media {
  min-width: 140px;
}

.krtAwardProfileList__row--ribbon .krtAwardProfileList__media img,
.krtAwardProfileList__row--ribbon .krtAwardProfileList__media svg,
.krtAwardProfileList__row--clasp .krtAwardProfileList__media img,
.krtAwardProfileList__row--clasp .krtAwardProfileList__media svg {
  max-width: 132px;
  max-height: 56px;
}

.krtAwardProfileList__reason {
  display: block;
  margin-top: 0.25rem;
}

/* Award-Detail: Rang-Spalte — Überschrift über Icon+Name zentriert */
.krtAwardDetailHolders .gridView__headerColumn.krtAwardDetailRankColumn,
.krtAwardDetailHolders .gridView__column.krtAwardDetailRankColumn {
  text-align: center;
  vertical-align: middle;
}

.krtAwardDetailHolders .gridView__headerColumn.krtAwardDetailRankColumn .gridView__headerColumn__button {
  justify-content: center;
  width: 100%;
}

/* Award-Detail: Rang-Icons etwas größer */
.krtAwardDetailHolders .rankInfo__icon {
  height: 72px;
  max-height: 80px;
  max-width: 80px;
}

/* Verleihformular: Staffel-Feld nur bei Plaketten (ersetzt Inline-Style, Stilregel Cody) */
.krtAwardAssignmentEchelonSection--hidden {
  display: none;
}

/**
 * org.das-kartell.academy.team
 * Styles für die Academy-Team-Seite (ListView / User-Karten).
 *
 * @author Markus Gerdelmann (MDCommander), Matthias Horn (matthewhunt)
 * @copyright 2026 Das-Kartell das-kartell.org
 * @package org.das-kartell.academy.team
 */
.krtAcademyTeamSection {
  margin-bottom: 2rem;
}
.krtAcademyTeamSection + .krtAcademyTeamSection {
  margin-top: 0;
}
.krtAcademyTeamSection .sectionHeader {
  margin-bottom: 0.75rem;
}
.krtAcademyTeamSection .sectionTitle {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}
.krtAcademyTeamSection .sectionTitle .badge {
  font-size: 0.75rem;
  padding: 0.15rem 0.4rem;
}
.krtAcademyTeamSection .krtAcademyTeamGroupDescription {
  margin: 0 0 1rem;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.75);
  max-width: 80ch;
}
.krtAcademyTeamSection .krtAcademyTeamGroupDescription p {
  margin: 0 0 0.75rem;
}
.krtAcademyTeamSection .krtAcademyTeamGroupDescription h3 {
  margin: 1rem 0 0.25rem;
  font-size: 0.9375rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
}
.krtAcademyTeamSection .krtAcademyTeamGroupDescription dl {
  margin: 0 0 0.75rem;
}
.krtAcademyTeamSection .krtAcademyTeamGroupDescription dt {
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
}
.krtAcademyTeamSection .krtAcademyTeamGroupDescription dd {
  margin: 0 0 0.75rem;
}
.krtAcademyTeamSection .krtAcademyTeamGroupDescription > :last-child {
  margin-bottom: 0;
}
.krtAcademyTeamSection .krtAcademyUserList__container {
  margin: 0;
}
.krtAcademyTeamSection .userCardList.krtAcademyUserList,
.krtAcademyTeamSection .krtAcademyUserList .listView__itemList {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.5rem;
  padding: 0;
  margin: 0;
  list-style: none;
}
.krtAcademyTeamSection .krtAcademyUserList .listView__item,
.krtAcademyTeamSection .krtAcademyUserList .userCardList__item {
  margin: 0;
}
.krtAcademyTeamSection .krtAcademyUserList .userCard {
  margin: 0;
}

/* Academy Online Box */
.krtAcademyOnlineBox .sidebarItemList {
  margin: 0;
  padding: 0;
  list-style: none;
}
.krtAcademyOnlineBox .box32 {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}
.krtAcademyOnlineBox .sidebarItemTitle {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}
.krtAcademyOnlineBox .sidebarItemTitle h3 {
  margin: 0;
  font-size: 0.9rem;
  font-weight: 500;
}
.krtAcademyOnlineBox .userRankImage {
  margin: 0;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.75);
}

/* Gruppen-Header: nur Titel + Badge */
.krtAcademyTeamHeader {
  margin-bottom: 0.75rem;
}

/* Legende der Ausbildungsränge */
.krtAcademyRankLegend {
  margin: 0 0 1.5rem;
}
.krtAcademyRankLegend .krtAcademyRankLegendContent {
  padding: 0.75rem 1rem;
  border-radius: 4px;
  background-color: rgb(39, 44, 48);
  border: 0 solid rgba(255, 255, 255, 0.06);
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.8);
}
.krtAcademyRankLegend .krtAcademyRankLegendTitle {
  display: block;
  margin: 0 0 0.5rem;
  font-weight: 500;
  font-size: 1.2rem;
}
.krtAcademyRankLegend .krtAcademyRankLegendColumns {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 0.75rem 1.5rem;
}
.krtAcademyRankLegend .krtAcademyRankLegendGroupTitle {
  margin: 0 0 0.25rem;
  font-weight: 500;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.9);
}
.krtAcademyRankLegend ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem 0.75rem;
}
.krtAcademyRankLegend li::before {
  content: "• ";
  opacity: 0.7;
}
.krtAcademyRankLegend .krtAcademyRankLegendHint {
  margin: 0.75rem 0 0;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.7);
}
.krtAcademyRankLegend .krtAcademyRankLegendHint a {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  font-weight: 500;
}
.krtAcademyRankLegend .krtAcademyRankLegendHint a:hover,
.krtAcademyRankLegend .krtAcademyRankLegendHint a:focus {
  color: #ff9800;
  text-decoration: underline;
}

/* Farb-Tokens aus dem Inventory-HUD-Kit-Artifact (https://claude.ai/code/artifact/0bc083bc-a070-45da-bdbc-4cbd51468b92)
   - dortiger Akzent-Ton (Cyan/Teal). Der Rest dieser Datei nutzt bisher durchgehend das
   bestehende Grün (#2ecc71 bzw. rgba(46, 204, 113, ...)) fürs Ausrüstungspanel & Co.; diese
   beiden Variablen sind noch nicht verdrahtet, sondern stehen für zukünftige Verwendung bereit. */
:root {
  --accent: #4fe8c9;
  --accent-soft: rgba(79, 232, 201, 0.14);
}

/* "Du bist hier"-Eintrag in der contentHeaderNavigation der KRT-Planer-Seiten (Event-/
   Procedure-/Unit-/Role-/Assignment-/Briefing-/Command-/TeamspeakPlaner) - jede der acht Seiten
   listet dort Buttons zu den jeweils anderen sieben; dieser Eintrag ergänzt die eigene Seite an
   ihrer Stelle, aber als <span> statt <a> (s. Templates) und optisch hervorgehoben statt als
   Link. */
.contentHeaderNavigationCurrent {
  background: var(--wcfButtonPrimaryBackground, #384454);
  color: var(--wcfButtonPrimaryText, #fff);
  cursor: default;
  pointer-events: none;
}

/* EventPlaner (eventPlaner.tpl) */
.minParticipantsHint {
  font-size: 0.85em;
  color: var(--wcfContentDimmedColor, #999);
}

/* Icons neben dem Handle in der Teilnehmerliste (Onboarding-Assistent, Zuteilung) */
.krtEventplanerHandleAction {
  margin-left: 0.35rem;
  color: var(--wcfContentDimmedColor, #999);
}

.krtEventplanerHandleAction:hover {
  color: var(--wcfContentLink, #369);
}

.eventAssignmentLink {
  position: relative;
  display: inline-block;
}

.eventAssignmentLink.active {
  color: var(--wcfContentLink, #369);
}

.eventAssignmentBadge {
  display: none;
  position: absolute;
  right: -4px;
  bottom: -4px;
  width: 14px;
  height: 14px;
  /* border-radius: 50%; */
  /* background: #2ecc71; */
  color: #fff;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  /* box-shadow: 0 0 0 2px var(--wcfContentBackground, #fff); */
  color: #2ecc71;
}

/* {icon} unterstützt minimal size=16 - hier auf Badge-Größe herunterskaliert */
.eventAssignmentBadge fa-icon {
  transform: scale(0.6);
}

.eventAssignmentLink.active .eventAssignmentBadge {
  display: flex;
}

.participationInfoLink {
  text-decoration: underline dotted;
  text-underline-offset: 2px;
}

/* Wunsch-Hinweis oberhalb der Auswahlfelder im Zuteilungs-Dialog (EventAssignment.ts) */
.krtEventplanerAssignmentDesiredInfo {
  margin-top: 0;
  margin-bottom: 1rem;
  padding: 0.5rem 0.75rem;
  background: var(--wcfContentBackground, #fff);
  border-left: 3px solid var(--wcfContentLink, #369);
  color: var(--wcfContentDimmedColor, #999);
  font-size: 0.9em;
}

/* Popover-Inhalt (participationInfoCard.tpl, siehe OperationEventResponseAction) */
.krtParticipationInfoCard {
  max-height: 700px !important;
}

.krtParticipationInfoCard__roleList {
  margin: 0;
  padding-left: 1.25rem;
}

.krtParticipationInfoCard__shipList {
  list-style: none;
  margin: 0;
  padding: 0;
}

.krtParticipationInfoCard__shipList > li:not(:last-child) {
  margin-bottom: 0.5rem;
}

.krtParticipationInfoCard__shipItemList {
  margin: 0.15rem 0 0;
  padding-left: 1.25rem;
  font-size: 0.9em;
}

.krtParticipationInfoCard__shipItemType {
  color: var(--wcfContentDimmedColor, #999);
}

/* Öffentliche Loadout-Vorschau (loadoutShare.tpl, LoadoutSharePage) */
.krtLoadoutShare {
  max-width: 480px;
}

.krtLoadoutShare woltlab-core-notice {
  margin-top: 1rem;
}

/* Einsatzplaner (procedurePlaner.tpl) */
#procedure-container {
  position: relative;
  margin-top: 1rem;
  padding-left: 14px;
}

/* Grüner Strich mit Punkt: zeigt anhand der aktuellen Uhrzeit, wo im Ablauf wir gerade stehen */
.procedure-now-line {
  position: absolute;
  left: 4px;
  width: 2px;
  background: #2ecc71;
  pointer-events: none;
}

.procedure-now-dot {
  position: absolute;
  left: 0;
  width: 10px;
  height: 10px;
  margin-top: -5px;
  border-radius: 50%;
  background: #2ecc71;
  box-shadow: 0 0 0 2px var(--wcfContentBackground, #fff);
  pointer-events: none;
}

.procedure {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}

.procedure .time-column {
  display: flex;
  flex-direction: column;
  margin-right: 0.25rem;
  margin-bottom: 0.25rem;
}

.procedure .time {
  width: 100px;
  padding: 2px 6px;
  border: 1px solid transparent;
  border-radius: 3px;
  background: transparent;
  outline: none;
}

.procedure .time:focus {
  border-color: var(--wcfContentBorder, #ccc);
  background: var(--wcfContentBackground, #fff);
}

.procedure .effective-time {
  display: none;
  margin-top: 2px;
  font-size: 0.75em;
  color: var(--wcfStatusWarningBackground, #a35b00);
  font-weight: 600;
}

.procedure .effective-time.active {
  display: block;
}

.procedure .text {
  flex: 1 1 240px;
  margin-right: 0.25rem;
  margin-bottom: 0.25rem;
  min-height: 1.6em;
  padding: 2px 6px;
  border: 1px solid var(--wcfContentBorder, #ccc);
  border-radius: 3px;
  background: var(--wcfContentBackground, #fff);
  white-space: pre-wrap;
  outline: none;
}

.procedure .text:focus {
  border-color: var(--wcfContentLink, #369);
}

.procedure .text:empty::before {
  content: attr(data-placeholder);
  color: var(--wcfContentDimmedColor, #999);
}

.procedure .text i {
  font-style: italic;
}

.procedure .text .location-ghost {
  color: var(--wcfContentDimmedColor, #999);
  user-select: none;
  pointer-events: none;
}

.procedure .delayToggle {
  background: none;
  border: none;
  padding: 0.25rem;
  margin-right: 0.25rem;
  margin-bottom: 0.25rem;
  cursor: pointer;
  color: var(--wcfContentDimmedColor, #999);
}

.procedure .delayToggle.active {
  color: var(--wcfStatusWarningBackground, #a35b00);
}

/* Erscheint erst beim Hover über die Zeile, fügt eine neue Zeile direkt danach ein */
.procedure .insertRow {
  background: none;
  border: none;
  padding: 0.25rem;
  margin-right: 0.25rem;
  margin-bottom: 0.25rem;
  cursor: pointer;
  color: var(--wcfContentDimmedColor, #999);
  opacity: 0;
  transition: opacity 0.1s ease-in-out;
}

.procedure:hover .insertRow,
.procedure .insertRow:focus-visible {
  opacity: 1;
}

.procedure .insertRow:hover {
  color: var(--wcfContentLink, #369);
}

/* Erscheint erst beim Hover über die Zeile; löscht sofort (optimistisch) mit Undo-Toast
   (DasKartell/UndoToast) statt Modal-Bestätigung - kein Halten-Zwang mehr nötig, das
   Zeitfenster zum Rückgängigmachen übernimmt die Schutzfunktion. */
.procedure .deleteRow {
  background: none;
  border: none;
  padding: 0.25rem;
  margin-right: 0.25rem;
  margin-bottom: 0.25rem;
  cursor: pointer;
  color: var(--wcfContentDimmedColor, #999);
  opacity: 0;
  transition: opacity 0.1s ease-in-out;
}

.procedure:hover .deleteRow,
.procedure .deleteRow:focus-visible {
  opacity: 1;
}

.procedure .deleteRow:hover {
  color: var(--wcfStatusDangerBackground, #a02c2c);
}

.procedure .delay {
  display: none;
  width: 110px;
  margin-bottom: 0.25rem;
}

.procedure-autocomplete,
.procedure-snippet-search {
  position: absolute;
  z-index: 100;
  top: 100%;
  left: 0;
  margin-top: 2px;
  min-width: 200px;
  max-height: 220px;
  overflow-y: auto;
  background: var(--wcfContentBackground, #fff);
  border: 1px solid var(--wcfContentBorder, #ccc);
  border-radius: 3px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
  list-style: none;
  padding: 0;
}

.procedure-snippet-search {
  display: flex;
  flex-direction: column;
  padding: 0.25rem;
}

.procedure-autocomplete--fixed {
  position: fixed;
}

.procedure-snippet-search input {
  margin-bottom: 0.25rem;
}

.procedure-autocomplete li,
.procedure-snippet-search li {
  padding: 0.25rem 0.5rem;
  cursor: pointer;
}

.procedure-autocomplete li:hover,
.procedure-snippet-search li:hover {
  background: var(--wcfDropdownBackgroundActive, #eee);
}

/* Einheiten-Baum (unitPlaner.tpl, sowie im ACP für Einheiten-Vorlagen wiederverwendet) */
#unit-tree-container {
  margin-top: 1rem;
}

.unitPlanerToolbar {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.unitImportControls {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}

.unitTree {
  list-style: none;
  margin: 0;
  padding-left: 1.5rem;
}

.unitTree:first-child {
  padding-left: 0;
}

.unitNode {
  margin-bottom: 0.25rem;
}

.unitNodeRow {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.unitNodeRow .unitName {
  min-width: 160px;
}

.unitNodeRow .unitFrequency {
  width: 90px;
}

.unitNodeRow .roleDepartment {
  width: 160px;
}

.unitNodeRow .roleClearanceLevel,
.unitNodeRow .unitRequiredClearance {
  width: 60px;
}

.unitLocation {
  width: 220px;
}

.unitNodeRow .unitShip {
  width: 220px;
}

/* kurzes rotes Aufblitzen, wenn der eingegebene Standort nicht über die
   star-citizen.wiki-API validiert werden konnte (UnitPlaner.ts) */
.unitLocation.unitLocationInvalid {
  border-color: var(--wcfStatusErrorText, #c0352b);
  transition: border-color 0.2s ease-in-out;
}

/* Berechneter Standort einer Einheit mit Untereinheiten (tiefster gemeinsamer Standort aller
   Blatt-Nachfahren) - nur zur Anzeige, nicht editierbar */
.unitLocationComputed {
  display: inline-flex;
  align-items: center;
  padding: 0 0.6em;
  border-radius: 3px;
  background: var(--wcfContentBackground, #f5f5f5);
  border: 1px solid var(--wcfContentBorder, #ccc);
  color: var(--wcfContentDimmedColor, #666);
  font-size: 0.85em;
  font-style: italic;
  white-space: nowrap;
}

/* Bereichs-Kürzel-Badge vor dem Namen einer Einheit (UnitPlaner.ts); Hintergrund-/Textfarbe
   werden inline aus der Bereichsfarbe (wcf1_krt_department) gesetzt, hier nur der Fallback für
   Bereiche ohne gültige Farbe. Feste statt Mindestbreite (shortName ist DB-seitig auf 3 Zeichen
   begrenzt, s. org.das-kartell.ranks) - sonst startet der Einheiten-Name je nach Kürzellänge
   ("S" vs. "SAR") unterschiedlich weit rechts und Geschwister-Zeilen wirken durch den Versatz
   fälschlich wie Eltern/Kind zueinander. */
.unitDepartmentBadge {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  width: 2.6em;
  height: 1.6em;
  border-radius: 3px;
  background: var(--wcfContentBorder, #ccc);
  color: var(--wcfContentDimmedColor, #333);
  font-size: 0.8em;
  font-weight: 600;
  white-space: nowrap;
}

/* Participation-Onboarding-Assistent (participationWizard.tpl) */
.wizardProgress {
  display: flex;
  gap: 0.35rem;
  margin-bottom: 1rem;
}

.wizardProgressDot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--wcfContentBorder, #ccc);
}

.wizardProgressDot.done {
  background: var(--wcfContentLink, #369);
}

.wizardProgressDot.active {
  background: var(--wcfStatusWarningBackground, #a35b00);
}

.wizardStep {
  margin-bottom: 1rem;
}

.wizardStepTitleHint {
  font-size: 0.75rem;
  color: var(--wcfContentDimmedColor, #999);
}

/* Rollenwunsch, Ankunftszeit, Lead-/Funker-Wunsch und gewünschte Einheit stehen alle auf
   einer gemeinsamen Seite (renderDetailsStep) - visuell voneinander abtrennen. */
.wizardDetailsStep .wizardStep {
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--wcfContentBorder, #ccc);
}

.wizardDetailsStep .wizardStep:last-child {
  padding-bottom: 0;
  margin-bottom: 0;
  border-bottom: none;
}

.wizardNav {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-top: 30px;
}

.wizardTriState {
  display: flex;
  gap: 0.5rem;
}

.wizardTriState .button.active {
  background: var(--wcfContentLink, #369);
  color: var(--wcfContentLinkAlternativeColor, #fff);
}

.wizardTextarea {
  width: 100%;
  max-width: 480px;
  display: block;
  margin-bottom: 0.75rem;
}

.wizardRoleAddSelect {
  max-width: 320px;
}

.wizardRoleWishList {
  padding-left: 1.5rem;
  margin-bottom: 0.5rem;
}

.wizardRoleWishList li {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  margin-bottom: 0.25rem;
}

.wizardShipList {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.wizardShipCard {
  border: 1px solid var(--wcfContentBorder, #ccc);
  border-radius: 3px;
  padding: 0.5rem;
}

.wizardShipCardHeader {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}

.wizardShipCardHeader .wizardAutocompleteWrapper {
  flex: 1 1 200px;
}

.wizardShipName {
  width: 100%;
  padding-right: 1.6rem;
}

/* Ladeanzeige während Autocomplete-Suche/saveShip() im Input selbst (s. renderShipCard() in
   ParticipationWizard.ts) - über dem rechten Rand des Inputs positioniert statt daneben, damit
   sich beim Ein-/Ausblenden nichts im Zeilenlayout verschiebt. */
.wizardShipNameSpinner {
  position: absolute;
  right: 0.4rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--wcfContentDimmedColor, #999);
  animation: wizardShipNameSpin 0.8s linear infinite;
}

@media (prefers-reduced-motion: reduce) {
  .wizardShipNameSpinner {
    animation: none;
  }
}
@keyframes wizardShipNameSpin {
  from {
    transform: translateY(-50%) rotate(0deg);
  }
  to {
    transform: translateY(-50%) rotate(360deg);
  }
}
.wizardShipFitting {
  width: 100%;
  max-width: 320px;
  margin-bottom: 0.5rem;
}

.wizardShipItemList {
  list-style: none;
  padding: 0;
  margin: 0 0 0.5rem;
}

.wizardShipItemList li {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.wizardShipItemInput {
  width: 100%;
  max-width: 320px;
}

.wizardAutocompleteWrapper {
  position: relative;
  display: inline-block;
}

/* Ausrüstung/Loadouts (ParticipationWizard.ts) - HUD-artige, aber abstrakte Silhouette
   (keine Spielgrafik) als Kurzüberblick über die 8 Slots; die eigentliche Bearbeitung passiert
   in .wizardEquipmentList darunter, s. renderEquipmentPanel()/renderEquipmentList(). */
.wizardLoadoutSwitcher {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.wizardLoadoutOwnControls,
.wizardLoadoutAdopt {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
}

.wizardLoadoutName {
  max-width: 220px;
}

.wizardLoadoutShareToggle {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.9em;
  color: var(--wcfContentDimmedColor, #999);
}

.wizardLoadoutAdopt {
  padding-left: 0.75rem;
  border-left: 1px solid var(--wcfContentBorder, #ccc);
}

.wizardLoadoutAdoptInput {
  min-width: 220px;
}

/* Panel + Kurzübersicht nebeneinander (Inventory-HUD-Kit-Artifact: .stage) - Rail bekommt eine
   feste Breite, das Panel nimmt den Rest. Unter 860px (Artifact-Breakpoint) untereinander.
   position:relative ist der Anker für .wizardEquipmentConnectors (absolut positioniert, s.
   dort) - Slot und Rail-Zeile stehen sonst in getrennten Grid-Spalten. */
.wizardEquipmentStage {
  position: relative;
  display: grid;
  grid-template-columns: 320px minmax(0, 1fr) 320px;
  gap: 1.25rem;
  align-items: start;
  margin-bottom: 1.5rem;
}

@media (max-width: 860px) {
  .wizardEquipmentStage {
    grid-template-columns: 1fr;
  }
}
/* Connector-Linien aus updateEquipmentConnectors() zwischen je einem Rüstungs-Slot und seiner
   Zeile in der Kurzübersicht - absolut über dem ganzen Stage, pointer-events:none, damit sie
   keine Klicks auf Slots/Zeilen/Buttons darunter abfangen. Als eigenes Geschwister-Element
   statt Kind von .wizardEquipmentPanel, weil das dortige overflow:hidden (für den abgerundeten
   HUD-Rahmen) die Linie sonst am Panel-Rand abschneiden würde. */
.wizardEquipmentConnectors {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.wizardEquipmentConnectors line {
  stroke: rgba(46, 204, 113, 0.35);
  stroke-width: 1;
  stroke-dasharray: 3 3;
  opacity: 0;
  transition: opacity 0.12s ease-out;
}

.wizardEquipmentConnectors line.filled {
  stroke: #2ecc71;
  stroke-width: 1.5;
  stroke-dasharray: none;
}

.wizardEquipmentConnectors line.hover {
  opacity: 0.6;
}

/* Waffen-Listen-Panel links neben .wizardEquipmentPanel (EQUIPMENT-Referenzscreenshot, s.
   renderWeaponPanel()) - Tab-Leiste (rein dekorativ, keine echte Kategorie-Umschaltung) +
   Panel mit Header und drei echten Waffen-Slot-Zeilen. */
.wizardWeaponPanel {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}

.wizardWeaponTabs {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  flex: 0 0 auto;
}

.wizardWeaponTab {
  position: relative;
  width: 42px;
  height: 64px;
  display: grid;
  place-items: center;
  background: #171d26;
  border: 1px solid rgba(46, 204, 113, 0.2);
  border-radius: 5px;
  color: rgba(46, 204, 113, 0.6);
  overflow: hidden;
}

.wizardWeaponTab.active {
  border-color: #2ecc71;
  color: #2ecc71;
}

.wizardWeaponTab.active::after {
  content: "";
  position: absolute;
  top: 4px;
  bottom: 4px;
  right: 3px;
  width: 2px;
  border-radius: 2px;
  background: #2ecc71;
  box-shadow: 0 0 6px #2ecc71;
}

.wizardWeaponTab .glyph {
  width: 100%;
  height: 100%;
  fill: currentColor;
}

.wizardWeaponList {
  flex: 1 1 auto;
  background: #12151a;
  border: 1px solid rgba(46, 204, 113, 0.2);
  border-radius: 6px;
  overflow: hidden;
}

.wizardWeaponHeader {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.5rem 0.6rem;
  border-bottom: 1px solid rgba(46, 204, 113, 0.2);
  font-family: inherit;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--wcfContentText, #dfe7ec);
}

.wizardWeaponHeader .chevrons {
  flex: 1 1 auto;
  height: 10px;
  background-image: repeating-linear-gradient(-45deg, rgba(46, 204, 113, 0.25) 0 3px, transparent 3px 8px);
  opacity: 0.8;
}

.wizardWeaponRow {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.2rem;
  width: 100%;
  min-height: 76px;
  padding: 0.4rem;
  background: none;
  border: none;
  border-bottom: 1px dashed rgba(46, 204, 113, 0.15);
  cursor: pointer;
}

.wizardWeaponRow .name {
  max-width: calc(100% - 26px);
  padding: 0 0.25rem;
  font-size: 0.68rem;
  line-height: 1.15;
  text-align: center;
  color: var(--wcfContentText, #dfe7ec);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.wizardWeaponRow:last-child {
  border-bottom: none;
}

.wizardWeaponRow .glyph {
  width: 100%;
  max-width: 92px;
  fill: rgba(46, 204, 113, 0.5);
  transition: fill 0.16s ease-out;
}

.wizardWeaponRow:hover .glyph,
.wizardWeaponRow:focus-visible .glyph {
  fill: #2ecc71;
}

.wizardWeaponRow.filled .glyph {
  fill: #2ecc71;
}

.wizardWeaponRow:focus-visible {
  outline: 2px solid #2ecc71;
  outline-offset: -2px;
}

.wizardWeaponRow .badge {
  position: absolute;
  right: 0.5rem;
  bottom: 0.5rem;
  width: 20px;
  height: 20px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #12151a;
  border: 1px solid rgba(46, 204, 113, 0.3);
  color: var(--wcfContentDimmedColor, #999);
  font-size: 0.68rem;
}

.wizardWeaponRow.open {
  background: rgba(46, 204, 113, 0.08);
}

.wizardWeaponRow.open .glyph {
  fill: #2ecc71;
}

.wizardEquipmentPicker {
  margin: 0.3rem 0.5rem;
  padding: 0.6rem;
  background: #171d26;
  border: 1px solid rgba(46, 204, 113, 0.25);
  border-radius: 6px;
}

.wizardEquipmentPickerCurrent {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  color: var(--wcfContentText, #dfe7ec);
}

.wizardEquipmentPicker .wizardAutocompleteWrapper {
  display: block;
}

.wizardEquipmentPicker .wizardEquipmentInput {
  width: 100%;
}

.wizardEquipmentColumn {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

@media (max-width: 480px) {
  .wizardWeaponPanel {
    margin-bottom: 1rem;
  }
}
.wizardEquipmentPanel {
  position: relative;
  /* War 320px, aus der Zeit der schmalen Hochkant-Silhouette (200x340) - die echte
     Charakter-Silhouette + die Slot-Spalte brauchen bei padding-bottom:56% deutlich mehr
     Breite, sonst drängt sich alles auf ~320x179px zusammen. .section (participationWizard.tpl)
     gibt deutlich mehr Platz her. */
  /* max-width: 640px; */
  margin: 0 0 1.5rem;
  padding-bottom: 56%;
  background: #12151a;
  border: 1px solid rgba(46, 204, 113, 0.25);
  border-radius: 8px;
  overflow: hidden;
}

.wizardEquipmentPanel::after {
  content: "";
  position: absolute;
  inset: 10px;
  z-index: 3;
  pointer-events: none;
  background-image: linear-gradient(var(--accent-soft) 1px, transparent 1px), linear-gradient(90deg, var(--accent-soft) 1px, transparent 1px);
  background-size: 100% 100%;
  background-position: 0 0, 0 0;
  -webkit-mask: linear-gradient(#000, transparent 22px) top left/22px 22px no-repeat, linear-gradient(#000, transparent 22px) top right/22px 22px no-repeat, linear-gradient(0deg, #000, transparent 22px) bottom left/22px 22px no-repeat, linear-gradient(0deg, #000, transparent 22px) bottom right/22px 22px no-repeat;
  mask: linear-gradient(#000, transparent 22px) top left/22px 22px no-repeat, linear-gradient(#000, transparent 22px) top right/22px 22px no-repeat, linear-gradient(0deg, #000, transparent 22px) bottom left/22px 22px no-repeat, linear-gradient(0deg, #000, transparent 22px) bottom right/22px 22px no-repeat;
  border: 1.5px solid var(--accent);
  opacity: 0.65;
}

.wizardEquipmentSilhouette {
  position: absolute;
  top: 8%;
  left: 30%;
  width: 40%;
  height: 84%;
  fill: rgba(46, 204, 113, 0.08);
  stroke: rgba(46, 204, 113, 0.4);
  stroke-width: 2;
}

/* Glasiger HUD-Button-Look aus dem Inventory-HUD-Kit-Artifact (dortige .slot) - transluzenter
   Hintergrund + Blur statt Vollton, weiche Transition, Hover hebt per Scale + Glow statt nur
   Farbwechsel ab. */
.wizardEquipmentSlot {
  position: absolute;
  width: 30px;
  height: 30px;
  margin: -15px 0 0 -15px;
  display: grid;
  place-items: center;
  background: rgba(18, 21, 26, 0.72);
  border: 1.5px solid rgba(46, 204, 113, 0.4);
  border-radius: 50%;
  color: rgba(46, 204, 113, 0.6);
  cursor: pointer;
  backdrop-filter: blur(2px);
  transition: transform 0.16s ease-out, border-color 0.16s ease-out, box-shadow 0.16s ease-out, color 0.16s ease-out;
}

.wizardEquipmentSlot:hover,
.wizardEquipmentSlot:focus-visible {
  border-color: #2ecc71;
  color: #2ecc71;
  transform: scale(1.08);
  box-shadow: 0 0 0 1px rgba(46, 204, 113, 0.25), 0 0 18px 2px rgba(46, 204, 113, 0.25);
}

.wizardEquipmentSlot:focus-visible {
  outline: 2px solid #2ecc71;
  outline-offset: 3px;
}

.wizardEquipmentSlot.filled {
  background: rgba(46, 204, 113, 0.15);
  border-color: #2ecc71;
  color: #2ecc71;
  box-shadow: 0 0 8px rgba(46, 204, 113, 0.5);
}

.wizardEquipmentSlot.open {
  border-color: #2ecc71;
  color: #2ecc71;
  box-shadow: 0 0 0 1px rgba(46, 204, 113, 0.25), 0 0 18px 2px rgba(46, 204, 113, 0.25);
}

.wizardEquipmentSlot.filled .wizardEquipmentSlotDot {
  background: rgba(6, 8, 10, 0.75);
}

/* Gefüllter Punkt hinter dem Piktogramm - Ring-Marker-Referenz (Circle_2.png): dünner Ring
   (der Button-border selbst) um einen kleineren, satteren Punkt in der Mitte. Eigenes Element
   statt ::before, damit :before/:after für den Doppelring im .filled-Zustand frei bleiben.
   Neutral dunkel statt grün getönt - bei Originalgröße (30px) verschwamm ein grünes Icon sonst
   fast unsichtbar mit einem ebenfalls grünen Punkt dahinter (v.a. beim flächigen Helm-Icon). */
.wizardEquipmentSlotDot {
  position: absolute;
  inset: 28.5%;
  border-radius: 50%;
  background: rgba(6, 8, 10, 0.6);
}

/* Piktogramm pro Slot (renderEquipmentPanelSlot() setzt <svg class="glyph">) - derselbe
   Stroke-Stil wie .slot .glyph im Inventory-HUD-Kit-Artifact. */
.wizardEquipmentSlot .glyph {
  width: 55%;
  height: 55%;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Alle Slot-Icons (Rüstung + Waffen) sind aus Referenzbildern vektorisierte Flächenpfade
   (potrace) - fill statt stroke, etwas größer weil die Pfade selbst schon Rand-Weißraum
   enthalten. */
.wizardEquipmentSlot--helmet .glyph,
.wizardEquipmentSlot--undersuit .glyph,
.wizardEquipmentSlot--torso .glyph,
.wizardEquipmentSlot--arms .glyph,
.wizardEquipmentSlot--legs .glyph,
.wizardEquipmentSlot--backpack .glyph {
  width: 62%;
  height: 62%;
  fill: currentColor;
  stroke: none;
}

/* Doppelter Glow-Ring für ein ausgerüstetes Item (Inventory-HUD-Kit-Prototyp, s. dortige
   .selectionRing--outer/--inner) - zwei unabhängig pulsierende Pseudo-Elemente statt eines
   reinen box-shadow, damit ein befülltes Item auch aus der Distanz sofort auffällt. */
.wizardEquipmentSlot.filled::before,
.wizardEquipmentSlot.filled::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  border: 1px solid #2ecc71;
  pointer-events: none;
  animation: wizardEquipmentSlotPulse 2.4s ease-in-out infinite;
}

.wizardEquipmentSlot.filled::before {
  inset: -5px;
  opacity: 0.5;
}

.wizardEquipmentSlot.filled::after {
  inset: -9px;
  opacity: 0.28;
  animation-delay: 0.35s;
}

@media (prefers-reduced-motion: reduce) {
  .wizardEquipmentSlot.filled::before,
  .wizardEquipmentSlot.filled::after {
    animation: none;
  }
}
@keyframes wizardEquipmentSlotPulse {
  0%, 100% {
    transform: scale(1);
    opacity: 0.5;
  }
  50% {
    transform: scale(1.14);
    opacity: 0.12;
  }
}
/* Rüstungs-Slots (helmet/undersuit/backpack/torso/arms/legs) sitzen als gerade senkrechte
   Spalte rechts neben der Figur - Anordnung aus einem Star-Citizen-Inventory-Screenshot
   nachgebaut (s. Inventory-HUD-Kit-Artifact), nicht mehr über die Silhouette verteilt. Die
   drei Waffen-Slots (sidearm/secondaryWeapon/primaryWeapon) haben kein Button-Pendant mehr
   hier im Charakter-Panel - die leben jetzt nur noch im Waffen-Listen-Panel links daneben,
   s. renderWeaponPanel(). */
.wizardEquipmentSlot--helmet {
  left: 75%;
  top: 15%;
  width: 64px;
  height: 64px;
}

.wizardEquipmentSlot--backpack {
  left: 9%;
  top: 30%;
  width: 64px;
  height: 64px;
}

.wizardEquipmentSlot--torso {
  left: 75%;
  top: 30%;
  width: 64px;
  height: 64px;
}

.wizardEquipmentSlot--undersuit {
  left: 75%;
  top: 45%;
  width: 64px;
  height: 64px;
}

.wizardEquipmentSlot--arms {
  left: 75%;
  top: 60%;
  width: 64px;
  height: 64px;
}

.wizardEquipmentSlot--legs {
  left: 75%;
  top: 75%;
  width: 64px;
  height: 64px;
}

/* Kurzübersicht neben dem Panel (Inventory-HUD-Kit-Artifact: .rail/.railCard/.railList),
   s. renderEquipmentRail() - rein informativ, keine eigene Bearbeitung. */
.wizardEquipmentRail {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.wizardEquipmentRailCard {
  background: #171d26;
  border: 1px solid rgba(46, 204, 113, 0.2);
  border-radius: 4px;
  padding: 0.9rem 1rem;
}

.wizardEquipmentRailCard h2 {
  margin: 0 0 0.6rem;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #2ecc71;
}

.wizardEquipmentRailList {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.wizardEquipmentRailList li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  font-size: 0.8rem;
  color: var(--wcfContentDimmedColor, #999);
  border-bottom: 1px dashed rgba(46, 204, 113, 0.15);
  padding-bottom: 0.35rem;
}

.wizardEquipmentRailList li:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.wizardEquipmentRailValue {
  color: var(--wcfContentText, #dfe7ec);
  text-align: right;
}

/* Unter ~480px trägt kein absolut positioniertes Slot-Layout mehr - die Slots reihen sich
   stattdessen einfach flach auf, die Silhouette selbst wird ausgeblendet (die Liste darunter
   bleibt so oder so die eigentliche, voll bedienbare Oberfläche). */
@media (max-width: 480px) {
  .wizardEquipmentPanel {
    max-width: none;
    padding-bottom: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    padding: 0.75rem;
  }
  .wizardEquipmentSilhouette {
    display: none;
  }
  .wizardEquipmentSlot {
    position: static;
    margin: 0;
  }
  .wizardEquipmentConnectors {
    display: none;
  }
}
.wizardEquipmentList {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.wizardEquipmentRow {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0;
  border-bottom: 1px solid var(--wcfContentBorder, #ccc);
}

.wizardEquipmentRowLabel {
  flex: 0 0 140px;
  font-weight: 600;
}

.wizardEquipmentRowContent {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.wizardEquipmentRowEmpty {
  color: var(--wcfContentDimmedColor, #999);
}

.wizardEquipmentInput {
  min-width: 220px;
}

.wizardEquipmentAttachments {
  flex: 1 1 100%;
  margin-left: 140px;
}

.wizardEquipmentAttachments ul {
  list-style: none;
  margin: 0 0 0.35rem;
  padding: 0;
}

.wizardEquipmentAttachments li {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.9em;
  color: var(--wcfContentDimmedColor, #999);
}

.wizardEquipmentAttachmentInput {
  min-width: 200px;
}

/* Zuteilungs-Planer (assignmentPlaner.tpl) - Drag-and-drop-Übersicht für Leads */
.assignmentPlanerLayout {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

/* Nur Messpunkt für observePoolSticky() in AssignmentPlaner.ts (position:sticky selbst liefert
   keinen abfragbaren "jetzt klebt's"-Zustand) - aus dem Flex-Fluss genommen, damit es keinen
   eigenen Gap-Abstand erzeugt. */
.assignmentPoolStickySentinel {
  position: absolute;
  top: 0;
  left: 0;
  width: 1px;
  height: 1px;
  visibility: hidden;
  pointer-events: none;
}

/* Ablage-Fläche für nicht zugeteilte Teilnehmer: bewusst gestrichelt statt durchgezogen, damit
   sie sich klar von den Einheiten-Boxen (feste Struktur) als "Tray" unterscheidet */
.assignmentPool {
  position: sticky;
  top: 20px;
  z-index: 10;
  display: flex;
  flex-direction: column;
  border: 2px dashed var(--wcfContentBorder, #ccc);
  border-radius: 3px;
  padding: 0.75rem;
  background: var(--wcfContentContainerBackground, rgba(0, 0, 0, 0.02));
}

/* Nur ausgeklappt bekommt der Pool eine feste Höhe (s. renderPool()) - die Liste füllt den
   restigen Platz darunter und scrollt selbst, statt den Titel aus dem sichtbaren Bereich zu
   drücken. min-height:0 ist nötig, damit ein Flex-Item overflow:auto überhaupt greifen lässt
   (Flex-Standard wäre sonst min-height:auto = Content-Höhe). */
.assignmentPool:not(.assignmentPool--collapsed) .assignmentCardList--pool {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
}

/* Klebt der Pool gerade am oberen Rand (isStuck, s. observePoolSticky()), bekommt er einen
   leichten schwarzen Hintergrund über die volle Browserbreite - per box-shadow-Spread statt
   width/margin, damit die eigene Breite/das Layout des Inhalts unverändert bleibt und die Höhe
   automatisch der tatsächlichen (variablen) Pool-Höhe folgt. Oben/unten wird derselbe Abstand
   wie das sticky top (20px) freigegeben, statt am Pool-Rand hart abzuschneiden - füllt so auch
   die Lücke zwischen Browser-Oberkante und dem (wegen top:20px) leicht abgesetzten Pool und
   lässt denselben Abstand symmetrisch nach unten mitlaufen. */
.assignmentPool.isStuck {
  box-shadow: 0 0 0 100vmax var(--wcfContentBackground);
  clip-path: inset(-20px -100vmax -20px -100vmax);
}

.assignmentPool h2 {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin: 0 0 0.5rem;
  font-size: 1em;
  /* nie schrumpfen/wachsen - die per Ziehgriff (AssignmentPlaner.ts, renderPoolResizeHandle())
     gesetzte Höhe auf .assignmentPool gehört komplett der Karten-Liste darunter */
  flex: 0 0 auto;
}

.assignmentPoolCount {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.4em;
  padding: 0 0.4em;
  border-radius: 1em;
  background: var(--wcfContentBorder, #ccc);
  color: var(--wcfContentDimmedColor, #666);
  font-size: 0.75em;
  font-weight: 600;
}

.assignmentUnitTree {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

/* Jede Einheit ist ein Kopf (Label + eigene Mitglieder) und optional eine Kinder-Spalte daneben.
   Einheiten mit >= 3 Kindern (z.B. Marinekorps mit Alpha/Bravo/Lima) bekommen ein senkrechtes
   Spine-Label über die volle Höhe; alle anderen ein normales Label oberhalb der Mitglieder. */
.assignmentUnit {
  display: flex;
  align-items: stretch;
  border: 1px solid var(--wcfContentBorder, #ccc);
  border-radius: 3px;
  padding: 0.5rem 0.5rem;
}

/* Wurzel-Einheit (KRT): Kopf oben, Kinder darunter über die volle Breite statt daneben */
.assignmentUnit--1 {
  flex-direction: column;
  padding-left: 0;
}

.assignmentUnitHead {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: 0.5rem 0.75rem;
  /* flex-shrink war 0 (in "0 0 auto") - damit greift min-width nie, ein Flex-Item mit
     shrink:0 schrumpft nie, egal welchen min-width-Wert es hat. Erst shrink:1 lässt den Kopf
     überhaupt kleiner werden als seine Karten in einer Zeile, und erst mit min-width:0 (statt
     dem Flex-Standard min-width:auto = Content-Breite) darf er dabei auch unter die
     ungewrappte Breite aller Karten schrumpfen - das gibt der verschachtelten
     .assignmentCardList--*'s flex-wrap:wrap endlich die Chance, tatsächlich umzubrechen statt
     einfach über den Rand hinauszulaufen. Kein flex-grow (bleibt 0), damit der Kopf bei
     genug Platz weiterhin seine natürliche Breite behält statt mit .assignmentUnitChildren um
     den Platz zu konkurrieren. */
  flex: 0 1 auto;
  min-width: 0;
}

.assignmentUnitSpine > .assignmentUnitHead {
  flex-direction: row;
  align-items: stretch;
  gap: 0.75rem;
}

.assignmentUnitLabel {
  flex: 0 0 auto;
  margin: 0;
  white-space: nowrap;
}

/* Ziehgriff vor dem Einheiten-Namen (AssignmentPlaner.ts, renderDropshipDepartureIcon()) - auf
   ein .assignmentCardDropshipTarget gezogen legt PostDropshipDeparture einen Abflug-Eintrag im
   Ablaufplan dieser Einheit an. */
.assignmentUnitDropshipIcon {
  display: inline-flex;
  margin-right: 0.35em;
  cursor: grab;
  color: var(--wcfContentDimmedColor, #999);
}

.assignmentUnitDropshipIcon:hover {
  color: var(--wcfContentLink, #369);
}

.assignmentUnitDropshipIcon.dragging {
  opacity: 0.4;
}

/* Bereitschafts-Badge direkt neben dem Dropship-Abflug-Icon (AssignmentPlaner.ts,
   renderReadinessBadge()) - rein anzeigend, von der Einheit selbst auf ParticipantOverview.ts
   gemeldet. Gleiche Farbwerte wie .overviewReadinessAction--*.active dort. */
.unitReadinessIcon {
  display: inline-flex;
  margin-right: 0.35em;
}

.unitReadinessIcon--green {
  color: #4caf50;
}

.unitReadinessIcon--yellow {
  color: #fbc02d;
}

.unitReadinessIcon--red {
  color: #f44336;
}

.unitReadinessIcon--black {
  color: #212121;
}

/* Ein-/Ausklapp-Pfeil vor dem Namen einer Wurzel-Einheit sowie vor dem Pool-Titel (AssignmentPlaner.ts,
   renderCollapseToggle()) - der eingeklappt-Zustand wird pro Event in localStorage gemerkt, s.
   toggleUnitCollapsed()/togglePoolCollapsed(). */
.assignmentUnitCollapseToggle {
  display: inline-flex;
  align-items: center;
  margin-right: 0.15em;
  padding: 0;
  border: none;
  background: none;
  cursor: pointer;
  color: var(--wcfContentDimmedColor, #999);
}

.assignmentUnitCollapseToggle:hover {
  color: var(--wcfContentLink, #369);
}

/* Ziehgriff am unteren Rand des Pools (AssignmentPlaner.ts, renderPoolResizeHandle()) - zieht die
   Höhe des gesamten Pools (Titel + Karten-Liste) hoch, persistiert pro Event in localStorage, s.
   savePoolHeight(). ::after statt eigenem Inhalt, damit die Trefferfläche (padding) größer als
   der sichtbare Strich bleibt. */
.assignmentPoolResizeHandle {
  flex: 0 0 auto;
  height: 6px;
  margin: 0.5rem -0.75rem -0.75rem;
  padding: 4px 0;
  cursor: row-resize;
}

.assignmentPoolResizeHandle::after {
  content: "";
  display: block;
  width: 40px;
  height: 4px;
  margin: 0 auto;
  border-radius: 2px;
  background: var(--wcfContentBorder, #ccc);
}

.assignmentPoolResizeHandle:hover::after {
  background: var(--wcfContentLink, #369);
}

/* Schriftgröße sinkt mit der Baumtiefe (KRT > Marinekorps > Alpha > FT Alpha-1), damit die
   Hierarchie auch ohne Einrückung sofort erkennbar ist */
.assignmentUnitLabel--1 {
  font-size: 1.5rem;
}

.assignmentUnitLabel--2 {
  font-size: 1.2rem;
}

.assignmentUnitLabel--3 {
  font-size: 1rem;
}

.assignmentUnitLabel--4 {
  font-size: 0.9rem;
}

/* Teilnehmerzähler im Label (eigene + alle Unter-Einheiten), gleiche Optik wie
   .assignmentPoolCount; bleibt auch im senkrechten Spine-Label horizontal lesbar */
.assignmentCount {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.4em;
  margin: 0.3em;
  padding: 0 0.4em;
  border-radius: 1em;
  background: var(--wcfContentBorder, #ccc);
  color: var(--wcfContentDimmedColor, #666);
  font-size: 0.75em;
  font-weight: 600;
  writing-mode: horizontal-tb;
  text-orientation: mixed;
}

/* Klickbares Badge neben .assignmentCount, nur vorhanden wenn die Einheit mindestens ein
   Missionbriefing verknüpft hat (BriefingPlaner.tpl); öffnet ein Popup mit dem gerenderten
   Markdown-Inhalt. Erzwingt wie .assignmentCount horizontale Schrift im senkrechten Spine-Label. */
.assignmentBriefingBadge {
  display: inline-flex;
  align-items: center;
  margin: 0.3em 0.3em 0.3em 0;
  padding: 0 0.5em;
  border-radius: 1em;
  background: var(--wcfContentLink, #369);
  color: var(--wcfContentContainerBackground, #fff);
  font-size: 0.75em;
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
  writing-mode: horizontal-tb;
  text-orientation: mixed;
}

.assignmentBriefingBadge:hover {
  opacity: 0.85;
}

/* Nicht-klickbares Frequenz-Badge direkt neben dem Einheiten-Namen (renderFrequencyBadge()) -
   reine Anzeige, die Pflege bleibt UnitPlaner.ts vorbehalten. */
.assignmentFrequencyBadge {
  display: inline-flex;
  align-items: center;
  margin: 0.3em 0.3em 0.3em 0.5em;
  padding: 0 0.5em;
  border-radius: 1em;
  border: 1px solid var(--wcfContentBorder, #ccc);
  color: var(--wcfContentDimmedColor, #666);
  font-size: 0.75em;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  writing-mode: horizontal-tb;
  text-orientation: mixed;
}

/* Standort-Badge neben .assignmentCount. Bei Blatt-Einheiten klickbar (öffnet
   renderLocationEditor()), bei Einheiten mit Untereinheiten nur die berechnete Anzeige
   (--computed, nicht klickbar) - siehe computeLocationPath() in AssignmentPlaner.ts. */
.assignmentLocationBadge {
  display: inline-flex;
  align-items: center;
  margin: 0.3em 0.3em 0.3em 0;
  padding: 0 0.5em;
  border-radius: 1em;
  background: var(--wcfContentBorder, #ccc);
  color: var(--wcfContentDimmedColor, #666);
  font-size: 0.75em;
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
  writing-mode: horizontal-tb;
  text-orientation: mixed;
}

.assignmentLocationBadge:hover {
  opacity: 0.85;
}

.assignmentLocationBadge--empty {
  background: transparent;
  border: 1px dashed var(--wcfContentBorder, #ccc);
  color: var(--wcfContentDimmedColor, #999);
}

.assignmentLocationBadge--computed {
  cursor: default;
  font-style: italic;
}

.assignmentLocationBadge--computed:hover {
  opacity: 1;
}

/* Eingabefeld + Autocomplete-Dropdown, ersetzt das Badge während der Bearbeitung
   (renderLocationEditor()) */
.assignmentLocationEditor {
  position: relative;
  display: inline-flex;
  margin: 0.3em 0.3em 0.3em 0;
}

.assignmentLocationInput {
  width: 220px;
  font-size: 0.85em;
}

.assignmentLocationSuggestions {
  position: absolute;
  z-index: 20;
  top: 100%;
  left: 0;
  min-width: 220px;
  max-height: 220px;
  margin: 2px 0 0;
  padding: 0;
  overflow-y: auto;
  list-style: none;
  border: 1px solid var(--wcfContentBorder, #ccc);
  border-radius: 3px;
  background: var(--wcfContentContainerBackground, #fff);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

.assignmentLocationSuggestions:empty {
  display: none;
}

.assignmentLocationSuggestions li {
  padding: 0.3em 0.6em;
  font-size: 0.85em;
  white-space: nowrap;
  cursor: pointer;
}

.assignmentLocationSuggestions li:hover {
  background: var(--wcfDropdownBackgroundActive, #eee);
}

/* Schiff-Badge neben .assignmentCount, nur bei Blatt-Einheiten (wie .assignmentLocationBadge) -
   klickbar, öffnet renderUnitShipEditor(). */
.assignmentUnitShipBadge {
  display: inline-flex;
  align-items: center;
  margin: 0.3em 0.3em 0.3em 0;
  padding: 0 0.5em;
  border-radius: 1em;
  background: var(--wcfContentBorder, #ccc);
  color: var(--wcfContentDimmedColor, #666);
  font-size: 0.75em;
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
  writing-mode: horizontal-tb;
  text-orientation: mixed;
}

.assignmentUnitShipBadge:hover {
  opacity: 0.85;
}

.assignmentUnitShipBadge--empty {
  background: transparent;
  border: 1px dashed var(--wcfContentBorder, #ccc);
  color: var(--wcfContentDimmedColor, #999);
}

/* <select>, ersetzt das Badge während der Bearbeitung (renderUnitShipEditor()) - anders als
   .assignmentLocationEditor keine eigene Vorschlagsliste nötig (statische Optionen). */
.assignmentUnitShipEditor {
  width: 220px;
  margin: 0.3em 0.3em 0.3em 0;
  font-size: 0.85em;
}

.assignmentUnitSpine > .assignmentUnitHead > .assignmentUnitLabel {
  display: flex;
  align-items: center;
  justify-content: center;
  padding-right: 0.5rem;
  letter-spacing: 0.05em;
  writing-mode: vertical-rl;
  text-orientation: upright;
  border-right: 2px solid var(--wcfContentBorder, #ccc);
  text-transform: uppercase;
}

.assignmentUnitMembers {
  flex: 1 1 auto;
  min-width: 180px;
}

.assignmentUnit > .assignmentUnitChildren {
  display: flex;
  flex-direction: column;
  flex: 1 1 320px;
  min-width: 260px;
  border-left: 2px solid var(--wcfContentBorder, #ccc);
}

/* verschachtelte Einheiten bilden per Trennlinie eine Tabellenzeile, statt eigene Boxen zu sein */
.assignmentUnitChildren > .assignmentUnit {
  border: none;
  border-radius: 0;
  border-bottom: 1px solid var(--wcfContentBorder, #ccc);
}

.assignmentUnitChildren > .assignmentUnit:last-child {
  border-bottom: none;
}

.assignmentDropZone {
  transition: background-color 0.1s ease-in-out, border-color 0.1s ease-in-out;
}

.assignmentDropZone.dragover {
  background: var(--wcfDropdownBackgroundActive, #eee);
  border-color: var(--wcfContentLink, #369);
}

.assignmentCardList {
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  gap: 0.5rem;
  min-height: 2.5rem;
}

/* Nur die Wurzel (KRT, node 1) und die tiefste Ebene (FT Alpha-1 etc., node 1.1.1.1) zeigen ihre
   Mitglieder nebeneinander; alles dazwischen (Marinekorps, Alpha, ...) untereinander */
.assignmentCardList--1,
.assignmentCardList--4,
.assignmentCardList--pool,
.assignmentCardList--last {
  flex-direction: row;
  flex-wrap: wrap;
}

.assignmentCard {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  width: 240px;
  padding: 0.4rem 0.5rem;
  border: 1px solid var(--wcfContentBorder, #ccc);
  border-radius: 3px;
  background: var(--wcfContentBackground, #fff);
  cursor: grab;
}

.assignmentCard.dragging {
  opacity: 0.4;
}

.assignmentCardName {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.assignmentCardNameText {
  flex: 1 1 auto;
  min-width: 0;
  font-weight: 600;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Gefallen-Status (AssignmentPlaner.ts); immer klickbar, aber erst ab isFallen sichtbar/farbig -
   die Karte zeigt den Schädel also nur "falls er gefallen ist", wie gefordert */
.assignmentCardFallenToggle {
  flex: 0 0 auto;
  display: inline-flex;
  cursor: pointer;
  color: var(--wcfContentBorder, #ccc);
  opacity: 0.4;
}

.assignmentCardFallenToggle:hover {
  opacity: 1;
}

.assignmentCardFallenToggle.active {
  color: var(--wcfStatusErrorText, #c0392b);
  opacity: 1;
}

.assignmentCardHint {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 16px;
}

/* Trigger fürs Ausrüstungs-/Wünsche-Popup (AssignmentPlaner.ts, attachHoverPopup()) - braucht
   position:relative, damit das Popup als Kind-Element korrekt daran andockt. */
.assignmentCardHintIcon {
  position: relative;
  display: inline-flex;
  cursor: help;
  color: var(--wcfContentDimmedColor, #999);
}

.assignmentCardHintIcon:hover,
.assignmentCardHintIcon:focus-visible {
  color: var(--wcfContentLink, #369);
}

.assignmentCardHintIcon--loadout svg {
  width: 16px;
  height: 16px;
}

/* Drop-Ziel für den Dropship-Abflug-Ziehgriff (.assignmentUnitDropshipIcon) - immer sichtbar,
   deshalb per margin-left:auto an den rechten Rand von .assignmentCardHint gedrückt, egal wie
   viele der bedingten Icons davor (Ausrüstung/Wünsche) gerade vorhanden sind. */
.assignmentCardDropshipTarget {
  margin-left: auto;
  cursor: default;
}

.assignmentCardDropshipTarget.dragover {
  color: var(--wcfContentLink, #369);
}

.assignmentHintPopup {
  position: absolute;
  z-index: 10;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  margin-top: 6px;
  min-width: 380px;
  max-width: 500px;
  padding: 0.5rem 0.65rem;
  background: var(--wcfContentBackground, #fff);
  border: 1px solid var(--wcfContentBorder, #ccc);
  border-radius: 4px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  color: var(--wcfContentText, #222);
  font-size: 0.85em;
  text-align: left;
  white-space: normal;
  cursor: default;
}

.assignmentHintPopup__roleList,
.assignmentHintPopup__itemList {
  margin: 0;
  padding-left: 1.1rem;
}

.assignmentHintPopup__itemList {
  font-size: 0.9em;
  color: var(--wcfContentDimmedColor, #999);
}

/* Slot-Beschriftung vor dem Item-Namen (z.B. "Helm: A23 Flight Helmet") - dieselben Slots wie
   EQUIPMENT_SLOTS im Ausrüstungs-Schritt des Wizards, s. equipmentSlotLabel() in AssignmentPlaner.ts */
.assignmentHintPopup__itemSlot {
  font-weight: 600;
}

.assignmentHintPopup__unit {
  margin: 0.3rem 0 0;
}

.assignmentCardRole {
  width: 100%;
  font-size: 0.85em;
}

.assignmentCardShipRow {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.assignmentCardShip {
  flex: 1 1 auto;
  min-width: 0;
  font-size: 0.85em;
}

/* Rein lokaler UI-Toggle (AssignmentPlaner.ts, showAllShipsUserIDs) - erweitert die
   Schiffsauswahl auf alle Teilnehmer statt nur die eigenen; wie .assignmentCardFallenToggle
   immer klickbar, aber erst ab aktiv sichtbar/farbig. */
.assignmentCardShipGlobeToggle {
  flex: 0 0 auto;
  display: inline-flex;
  cursor: pointer;
  color: var(--wcfContentBorder, #ccc);
  opacity: 0.4;
}

.assignmentCardShipGlobeToggle:hover {
  opacity: 1;
}

.assignmentCardShipGlobeToggle.active {
  color: var(--wcfContentLink, #369);
  opacity: 1;
}

/* Read-only Ersatz für Globus-Toggle + <select>, sobald die Einheit des Teilnehmers ein eigenes
   Schiff hat (renderCard()) - das individuelle Dropdown wäre dann nur noch redundant. */
.assignmentCardShipRow--inherited {
  display: flex;
  align-items: center;
}

.assignmentCardShip--inherited {
  font-size: 0.85em;
  font-style: italic;
  color: var(--wcfContentDimmedColor, #999);
}

/* Missionbriefing-Planer (briefingPlaner.tpl) - frei anlegbare Markdown-Briefings, wählbar mit
   Einheiten und Einsatzplan-Einträgen verknüpfbar */
.briefingList {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.briefingItem {
  border: 1px solid var(--wcfContentBorder, #ccc);
  border-radius: 4px;
  padding: 0.75rem;
}

.briefingItemHead {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}

.briefingTitle {
  flex: 1 1 auto;
  font-weight: 600;
}

.briefingItemBody {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.briefingEditorColumn {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  flex: 1 1 320px;
}

.briefingContent {
  width: 100%;
  min-height: 140px;
  font-family: monospace;
  resize: vertical;
}

.briefingPreviewLabel {
  margin-top: 0.25rem;
  color: var(--wcfContentDimmedColor, #999);
  font-size: 0.75em;
  text-transform: uppercase;
}

.briefingPreview {
  border: 1px dashed var(--wcfContentBorder, #ccc);
  border-radius: 4px;
  padding: 0.5rem 0.75rem;
  font-size: 0.9em;
}

.briefingPreview > :first-child {
  margin-top: 0;
}

.briefingPreview > :last-child {
  margin-bottom: 0;
}

.briefingLinksColumn {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  flex: 1 1 220px;
}

.briefingLinkGroup {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.briefingLinkGroupLabel {
  color: var(--wcfContentDimmedColor, #999);
  font-size: 0.75em;
  text-transform: uppercase;
}

.briefingLinkCheckboxList {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  max-height: 240px;
  overflow-y: auto;
}

.briefingLinkCheckbox {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.9em;
}

/* Befehle-Planer (commandPlaner.tpl) - wie Missionbriefings, zusätzlich Ausführungs-/
   Abschlusszeitpunkt + Status. Beeinflusst die ProcedurePlaner-Zeitleiste nicht. */
.commandList {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.commandItem {
  border: 1px solid var(--wcfContentBorder, #ccc);
  border-radius: 4px;
  padding: 0.75rem;
}

.commandItemHead {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}

.commandTitle {
  flex: 1 1 auto;
  font-weight: 600;
}

.commandItemMeta {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 0.75rem 1.5rem;
  margin-bottom: 0.75rem;
}

.commandMetaField {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  font-size: 0.85em;
}

.commandMetaField label {
  color: var(--wcfContentDimmedColor, #999);
  font-size: 0.75em;
  text-transform: uppercase;
}

.commandStatusControl {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.commandStatusRevoke {
  background: none;
  border: none;
  padding: 0;
  color: var(--wcfContentDimmedColor, #999);
  font-size: 0.85em;
  cursor: pointer;
  text-decoration: underline;
}

.commandItemBody {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.commandEditorColumn {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  flex: 1 1 320px;
}

.commandContent {
  width: 100%;
  min-height: 140px;
  font-family: monospace;
  resize: vertical;
}

.commandPreviewLabel {
  margin-top: 0.25rem;
  color: var(--wcfContentDimmedColor, #999);
  font-size: 0.75em;
  text-transform: uppercase;
}

.commandPreview {
  border: 1px dashed var(--wcfContentBorder, #ccc);
  border-radius: 4px;
  padding: 0.5rem 0.75rem;
  font-size: 0.9em;
}

.commandPreview > :first-child {
  margin-top: 0;
}

.commandPreview > :last-child {
  margin-bottom: 0;
}

.commandLinksColumn {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  flex: 1 1 220px;
}

.commandLinkGroup {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.commandLinkGroupLabel {
  color: var(--wcfContentDimmedColor, #999);
  font-size: 0.75em;
  text-transform: uppercase;
}

.commandLinkCheckboxList {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  max-height: 240px;
  overflow-y: auto;
}

.commandLinkCheckbox {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.9em;
}

/* Eine Zeile pro Einheit: Checkbox zum Verknüpfen/Lösen + (nur solange verknüpft) ihre
   Status-Icons daneben - jede Einheit bearbeitet ihren Fortschritt unabhängig. */
.commandLinkRow {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

.commandUnitStatusIcons {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  flex: 0 0 auto;
}

.commandUnitStatusIcon--inactive {
  color: var(--wcfContentDimmedColor, #999);
}

/* Karten-Planer (mapsPlaner.tpl) - Karten werden hier nur angelegt/benannt/parametrisiert,
   Zeichnungen/Marker liegen auf der verlinkten MapsPage (org.das-kartell.maps). */
.mapList {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.mapItem {
  border: 1px solid var(--wcfContentBorder, #ccc);
  border-radius: 4px;
  padding: 0.75rem;
}

.mapItemHead {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}

.mapName {
  flex: 1 1 auto;
  font-weight: 600;
}

.mapItemMeta {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 0.75rem 1.5rem;
}

.mapMetaField {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  font-size: 0.85em;
}

.mapMetaField label {
  color: var(--wcfContentDimmedColor, #999);
  font-size: 0.75em;
  text-transform: uppercase;
}

.mapMetaField--source {
  flex: 1 1 260px;
}

.mapMetaField--source .mapSource {
  width: 100%;
}

/* Teilnehmer-Übersicht (participantOverview.tpl) - Meine Zuteilung/Team/Ablaufplan/
   Missionbriefing auf einen Blick */
.overviewLayout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

@media (max-width: 700px) {
  .overviewLayout {
    grid-template-columns: 1fr;
  }
}
.overviewEmptyState,
.overviewBriefingCard,
.overviewCommandCard,
.overviewTimeline {
  grid-column: 1/-1;
}

.overviewAssignmentCard,
.overviewTeamCard,
.overviewEmptyState,
.overviewBriefingCard,
.overviewCommandCard,
.overviewTimeline {
  padding: 1rem;
  border: 1px solid var(--wcfContentBorder, #ccc);
  border-radius: 4px;
  background: var(--wcfContentContainerBackground, #fff);
}

.overviewAssignmentCard h2,
.overviewTeamCard h2,
.overviewBriefingCard h2,
.overviewCommandCard h2,
.overviewTimeline h2,
.overviewEmptyState h2 {
  margin: 0 0 0.75rem;
  font-size: 1.1rem;
}

/* Einklapp-Kopfzeile eines Missionbriefings (ParticipantOverview.ts, renderBriefingCards()) -
   überschreibt den h2-Bottom-Margin von oben, der jetzt auf der ganzen Kopfzeile sitzt (nur wenn
   ausgeklappt, sonst folgt kein Inhalt mehr, der Abstand bräuchte). */
.overviewBriefingCard h2 {
  margin: 0;
}

.overviewBriefingCardHead {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  cursor: pointer;
}

.overviewBriefingCard:not(.overviewBriefingCard--collapsed) .overviewBriefingCardHead {
  margin-bottom: 0.75rem;
}

.overviewBriefingCollapseToggle {
  display: inline-flex;
  flex: 0 0 auto;
  color: var(--wcfContentDimmedColor, #999);
}

/* Kopfzeile "Mein Team" + Zahnrad (ParticipantOverview.ts, renderTeamCard()) - gleiches Muster
   wie .overviewBriefingCardHead, nur ohne Klick-auf-die-ganze-Zeile (nur das Icon selbst öffnet
   das Einstellungspanel). */
.overviewTeamCard h2 {
  margin: 0;
}

.overviewTeamCardHead {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}

.overviewTeamSettingsToggle {
  display: inline-flex;
  flex: 0 0 auto;
  padding: 0;
  border: none;
  background: none;
  cursor: pointer;
  color: var(--wcfContentDimmedColor, #999);
}

.overviewTeamSettingsToggle:hover {
  color: var(--wcfContentLink, #369);
}

.overviewTeamSettingsPanel {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  margin-bottom: 0.75rem;
  padding: 0.5rem 0.75rem;
  border: 1px solid var(--wcfContentBorder, #ccc);
  border-radius: 4px;
  background: var(--wcfContentBackground, #f9f9f9);
}

.overviewTeamSettingsOption {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.9em;
  cursor: pointer;
}

/* Status-Badge + Ausführungs-/Abschlusszeit auf der read-only Command-Karte
   (ParticipantOverview.ts, renderCommandCard()) - der Markdown-Inhalt darunter nutzt das
   bestehende .briefingPreview weiter, kein eigenes Äquivalent nötig. */
.overviewCommandMeta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  align-items: center;
  margin-bottom: 0.75rem;
  font-size: 0.85em;
}

.overviewCommandTime {
  color: var(--wcfContentDimmedColor, #999);
}

.overviewCommandStatus {
  padding: 0.15rem 0.5rem;
  border-radius: 999px;
  font-size: 0.8em;
  font-weight: 600;
  text-transform: uppercase;
}

.overviewCommandStatus--draft {
  background: #e0e0e0;
  color: #333;
}

.overviewCommandStatus--assigned {
  background: #2196f3;
  color: #fff;
}

.overviewCommandStatus--accepted {
  background: #8bc34a;
  color: #333;
}

.overviewCommandStatus--completed {
  background: #4caf50;
  color: #fff;
}

.overviewCommandStatus--failed {
  background: #f44336;
  color: #fff;
}

.overviewCommandStatus--rejected {
  background: #9e9e9e;
  color: #fff;
}

/* Ausgang selbst melden (ParticipantOverview.ts, renderCommandActions()) - immer alle drei im
   DOM, wie .assignmentCardFallenToggle nur gedimmt bis auf die zum aktuellen Status passende. */
.overviewCommandActions {
  display: inline-flex;
  gap: 0.35rem;
}

.overviewCommandAction {
  display: inline-flex;
  opacity: 0.4;
  color: var(--wcfContentDimmedColor, #999);
}

.overviewCommandAction.enabled:hover {
  opacity: 1;
}

.overviewCommandAction.enabled {
  cursor: pointer;
}

.overviewCommandAction--accepted.active {
  color: #8bc34a;
  opacity: 1;
}

.overviewCommandAction--completed.active {
  color: #4caf50;
  opacity: 1;
}

.overviewCommandAction--failed.active {
  color: #f44336;
  opacity: 1;
}

.overviewCommandAction--rejected.active {
  color: #fbc02d;
  opacity: 1;
}

/* Einsatzbereitschaft der eigenen Einheit melden (ParticipantOverview.ts,
   renderReadinessControl()) - gleiches Muster wie .overviewCommandAction. */
.overviewReadinessControl {
  display: inline-flex;
  gap: 0.35rem;
}

.overviewReadinessAction {
  display: inline-flex;
  opacity: 0.4;
  color: var(--wcfContentDimmedColor, #999);
}

.overviewReadinessAction.enabled:hover {
  opacity: 1;
}

.overviewReadinessAction.enabled {
  cursor: pointer;
}

.overviewReadinessAction--green.active {
  color: #4caf50;
  opacity: 1;
}

.overviewReadinessAction--yellow.active {
  color: #fbc02d;
  opacity: 1;
}

.overviewReadinessAction--red.active {
  color: #f44336;
  opacity: 1;
}

.overviewReadinessAction--black.active {
  color: #212121;
  opacity: 1;
}

/* isFallen-Selbst-Toggle (ParticipantOverview.ts, renderFallenToggle()) - gleiches Muster wie
   .assignmentCardFallenToggle in AssignmentPlaner.ts. */
.overviewFallenToggle {
  display: inline-flex;
  cursor: pointer;
  color: var(--wcfContentBorder, #ccc);
  opacity: 0.4;
}

.overviewFallenToggle:hover {
  opacity: 1;
}

.overviewFallenToggle.active {
  color: var(--wcfStatusErrorText, #c0392b);
  opacity: 1;
}

/* Standort als Text, klickbar (ParticipantOverview.ts, renderLocationBadge()) - öffnet das
   Eingabefeld darunter an derselben Stelle. Dezenter als AssignmentPlaner.ts'
   .assignmentLocationBadge (dort ein Chip in einer Baum-Zeile), hier nur gestrichelt
   unterstrichener Text passend zu den übrigen <dd>-Feldern auf dieser Karte. */
.overviewLocationBadge {
  cursor: pointer;
  border-bottom: 1px dashed var(--wcfContentBorder, #ccc);
}

.overviewLocationBadge:hover {
  color: var(--wcfContentLink, #369);
}

.overviewLocationBadge--empty {
  color: var(--wcfContentDimmedColor, #999);
  font-style: italic;
}

/* Standort-Selbst-Editor (ParticipantOverview.ts, renderLocationInput()) - gleiches Muster wie
   .unitLocation/.unitLocationInvalid in UnitPlaner.ts. */
.overviewLocationInput {
  width: 220px;
}

.overviewLocationInput.overviewLocationInvalid {
  border-color: var(--wcfStatusErrorText, #c0392b);
  transition: border-color 0.2s ease-in-out;
}

.overviewOrgPath {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem;
  margin: 0 0 0.75rem;
  padding: 0;
  list-style: none;
  color: var(--wcfContentDimmedColor, #999);
  font-size: 0.85em;
}

.overviewOrgPath li:not(:last-child)::after {
  margin-left: 0.35rem;
  content: "›";
}

.overviewMapLinks {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.75rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.overviewDepartmentBadge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-left: 0.4em;
  padding: 0 0.5em;
  border-radius: 3px;
  background: var(--wcfContentBorder, #ccc);
  color: var(--wcfContentDimmedColor, #333);
  font-size: 0.8em;
  font-weight: 600;
  white-space: nowrap;
}

.overviewTeamList {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.overviewTeamList li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.3rem 0.5rem;
  border-radius: 3px;
  background: var(--wcfContentBackground, #f9f9f9);
}

.overviewTeamMeta {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 0.35rem;
}

.overviewTeamRole {
  color: var(--wcfContentDimmedColor, #999);
  font-size: 0.85em;
}

.overviewTeamPort {
  color: var(--wcfContentDimmedColor, #999);
  font-size: 0.85em;
}

/* Port eines Teammitglieds als Text, klickbar (ParticipantOverview.ts, renderTeamPortBadge()) -
   öffnet das Dropdown darunter an derselben Stelle, gleiches Muster wie .overviewLocationBadge. */
.overviewTeamPortBadge {
  cursor: pointer;
  border-bottom: 1px dashed var(--wcfContentBorder, #ccc);
}

.overviewTeamPortBadge:hover {
  color: var(--wcfContentLink, #369);
}

.overviewTeamPortBadge--empty {
  font-style: italic;
}

/* Port-Dropdown eines Teammitglieds (ParticipantOverview.ts, renderTeamPortSelect()) - kompakt
   statt der vollen Select-Breite, damit es sich in die Meta-Zeile neben Rolle/Skull einfügt. */
.overviewTeamPortSelect {
  max-width: 160px;
  padding: 0.1em 0.3em;
  font-size: 0.85em;
}

/* Rein anzeigend (kein Toggle wie .assignmentCardFallenToggle in AssignmentPlaner.ts) */
.overviewTeamFallen {
  display: inline-flex;
  color: var(--wcfStatusErrorText, #c0392b);
}

.overviewTimelineList {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  padding-left: 14px;
}

/* Grüner Strich mit Punkt, wie in ProcedurePlaner.ts/#procedure-container - zeigt anhand der
   aktuellen Uhrzeit, wo im Ablauf wir gerade stehen. Positionierung (top/height) kommt aus
   ParticipantOverview.ts' updateNowIndicator(). */
.overviewTimelineNowLine {
  position: absolute;
  left: 4px;
  width: 2px;
  background: #2ecc71;
  pointer-events: none;
}

.overviewTimelineNowDot {
  position: absolute;
  left: 0;
  width: 10px;
  height: 10px;
  margin-top: -5px;
  border-radius: 50%;
  background: #2ecc71;
  box-shadow: 0 0 0 2px var(--wcfContentContainerBackground, #fff);
  pointer-events: none;
}

.overviewTimelineRow {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.6rem;
  padding: 0.4rem 0;
  border-bottom: 1px solid var(--wcfContentBorder, #eee);
}

.overviewTimelineRow:last-child {
  border-bottom: none;
}

.overviewTimelineTimeColumn {
  display: flex;
  flex: 0 0 auto;
  flex-direction: column;
  min-width: 3.5em;
}

.overviewTimelineTime {
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

.overviewTimelineText {
  flex: 1 1 auto;
}

.overviewTimelineLocation {
  flex: 0 0 auto;
  color: var(--wcfContentDimmedColor, #999);
  font-size: 0.85em;
  font-style: italic;
}

/* Unterhalb der Uhrzeit: grün = früher dran als geplant, rot = später dran (Vorzeichen der
   aufsummierten Verzögerung) */
.overviewTimelineDelay {
  margin-top: 2px;
  font-size: 0.75em;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

.overviewTimelineDelay--early {
  color: #2ecc71;
}

.overviewTimelineDelay--late {
  color: #c0392b;
}

/* TeamSpeak-Channelplaner (teamspeakPlaner.tpl, im ACP für Channelstruktur-Vorlagen
   wiederverwendet) - reuses .unitTree/.unitNode/.unitNodeRow/.unitName/.unitPlanerToolbar/
   .unitImportControls von UnitPlaner.ts, hier nur die TeamSpeak-spezifischen Zusätze */
.teamspeakRootLabel {
  font-weight: 700;
}

.teamspeakUnitAnchorLabel {
  color: var(--wcfContentDimmedColor, #999);
  font-style: italic;
}

.teamspeakUnitPreview > .unitNodeRow {
  opacity: 0.75;
}

.teamspeakUnitPreviewLabel {
  color: var(--wcfContentDimmedColor, #999);
  font-size: 0.9em;
}

.teamspeakStatusBadge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.4em;
  height: 1.4em;
  border-radius: 50%;
  font-size: 0.8em;
  font-weight: 700;
}

.teamspeakStatusBadge--exists {
  background: var(--wcfStatusSuccessBackground, #2ecc71);
  color: var(--wcfStatusSuccessText, #fff);
}

.teamspeakStatusBadge--pending {
  border: 1px dashed var(--wcfContentBorder, #ccc);
}

.teamspeakSyncControls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  margin: 1rem 0;
  padding: 0.75rem;
  border: 1px solid var(--wcfContentBorder, #ccc);
  border-radius: 4px;
  background: var(--wcfContentContainerBackground, #fff);
}

.teamspeakParentLabel {
  font-weight: 600;
}

.teamspeakParentSelect {
  min-width: 260px;
}

.teamspeakSyncResults {
  margin: 0 0 1rem;
  padding: 0.75rem 1rem;
  border: 1px solid var(--wcfContentBorder, #ccc);
  border-radius: 4px;
  background: var(--wcfContentContainerBackground, #fff);
}

.teamspeakSyncResults ul {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.teamspeakSyncResult--exists,
.teamspeakSyncResult--noUnit,
.teamspeakSyncResult--noChannel {
  color: var(--wcfContentDimmedColor, #999);
}

/* Farb-Tokens aus dem Inventory-HUD-Kit-Artifact (https://claude.ai/code/artifact/0bc083bc-a070-45da-bdbc-4cbd51468b92)
   - dortiger Akzent-Ton (Cyan/Teal). Der Rest dieser Datei nutzt bisher durchgehend das
   bestehende Grün (#2ecc71 bzw. rgba(46, 204, 113, ...)) fürs Ausrüstungspanel & Co.; diese
   beiden Variablen sind noch nicht verdrahtet, sondern stehen für zukünftige Verwendung bereit. */
:root {
  --accent: #4fe8c9;
  --accent-soft: rgba(79, 232, 201, 0.14);
}

/* Planer-Navigation: klein (button small / buttonGroup wie ListView-Filter),
   direkt über dem Content-Container und unter Notice-Bars (__krtEventplanerPlanerNav.tpl).
   Aktiver Eintrag nutzt WCF .button.active; span statt a bleibt nicht klickbar. */
.krtEventplanerPlanerNav {
  margin-bottom: 1rem;
  /* Sprunganker #eventplanerPlanerNav: Abstand zur fixierten Menüleiste (.pageHeaderPanel, 50px) */
  scroll-margin-top: 60px;
}

.krtEventplanerPlanerNav .button.active {
  cursor: default;
  pointer-events: none;
}

/* Legacy-Klasse falls irgendwo noch referenziert */
.contentHeaderNavigationCurrent {
  background: var(--wcfButtonPrimaryBackground, #384454);
  color: var(--wcfButtonPrimaryText, #fff);
  cursor: default;
  pointer-events: none;
}

/* EventPlaner (eventPlaner.tpl) */
.minParticipantsHint {
  font-size: 0.85em;
  color: var(--wcfContentDimmedColor, #999);
}

/* Icons neben dem Handle in der Teilnehmerliste (Onboarding-Assistent, Zuteilung) */
.krtEventplanerHandleAction {
  margin-left: 0.35rem;
  color: var(--wcfContentDimmedColor, #999);
}

.krtEventplanerHandleAction:hover {
  color: var(--wcfContentLink, #369);
}

.eventAssignmentLink {
  position: relative;
  display: inline-block;
}

.eventAssignmentLink.active {
  color: var(--wcfContentLink, #369);
}

.eventAssignmentBadge {
  display: none;
  position: absolute;
  right: -4px;
  bottom: -4px;
  width: 14px;
  height: 14px;
  /* border-radius: 50%; */
  /* background: #2ecc71; */
  color: #fff;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  /* box-shadow: 0 0 0 2px var(--wcfContentBackground, #fff); */
  color: #2ecc71;
}

/* {icon} unterstützt minimal size=16 - hier auf Badge-Größe herunterskaliert */
.eventAssignmentBadge fa-icon {
  transform: scale(0.6);
}

.eventAssignmentLink.active .eventAssignmentBadge {
  display: flex;
}

.participationInfoLink {
  text-decoration: underline dotted;
  text-underline-offset: 2px;
}

/* Wunsch-Hinweis oberhalb der Auswahlfelder im Zuteilungs-Dialog (EventAssignment.ts) */
.krtEventplanerAssignmentDesiredInfo {
  margin-top: 0;
  margin-bottom: 1rem;
  padding: 0.5rem 0.75rem;
  background: var(--wcfContentBackground, #fff);
  border-left: 3px solid var(--wcfContentLink, #369);
  color: var(--wcfContentDimmedColor, #999);
  font-size: 0.9em;
}

/* Popover-Inhalt (participationInfoCard.tpl, siehe ParticipationPopoverAction) */
.krtParticipationInfoCard {
  max-height: 700px !important;
}

.krtParticipationInfoCard__roleList {
  margin: 0;
  padding-left: 1.25rem;
}

.krtParticipationInfoCard__shipList {
  list-style: none;
  margin: 0;
  padding: 0;
}

.krtParticipationInfoCard__shipList > li:not(:last-child) {
  margin-bottom: 0.5rem;
}

.krtParticipationInfoCard__shipItemList {
  margin: 0.15rem 0 0;
  padding-left: 1.25rem;
  font-size: 0.9em;
}

.krtParticipationInfoCard__shipItemType {
  color: var(--wcfContentDimmedColor, #999);
}

/* Öffentliche Loadout-Vorschau (loadoutShare.tpl, LoadoutSharePage) */
.krtLoadoutShare {
  max-width: 480px;
}

.krtLoadoutShare woltlab-core-notice {
  margin-top: 1rem;
}

/* Einsatzplaner (procedurePlaner.tpl) */
#procedure-container {
  position: relative;
  margin-top: 1rem;
  padding-left: 14px;
}

/* Grüner Strich mit Punkt: zeigt anhand der aktuellen Uhrzeit, wo im Ablauf wir gerade stehen */
.procedure-now-line {
  position: absolute;
  left: 4px;
  width: 2px;
  background: #2ecc71;
  pointer-events: none;
}

.procedure-now-dot {
  position: absolute;
  left: 0;
  width: 10px;
  height: 10px;
  margin-top: -5px;
  border-radius: 50%;
  background: #2ecc71;
  box-shadow: 0 0 0 2px var(--wcfContentBackground, #fff);
  pointer-events: none;
}

.procedure {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}

.procedure .time-column {
  display: flex;
  flex-direction: column;
  margin-right: 0.25rem;
  margin-bottom: 0.25rem;
}

.procedure .time {
  width: 100px;
  padding: 2px 6px;
  border: 1px solid transparent;
  border-radius: 3px;
  background: transparent;
  outline: none;
}

.procedure .time:focus {
  border-color: var(--wcfContentBorder, #ccc);
  background: var(--wcfContentBackground, #fff);
}

.procedure .effective-time {
  display: none;
  margin-top: 2px;
  font-size: 0.75em;
  color: var(--wcfStatusWarningBackground, #a35b00);
  font-weight: 600;
}

.procedure .effective-time.active {
  display: block;
}

.procedure .text {
  flex: 1 1 240px;
  margin-right: 0.25rem;
  margin-bottom: 0.25rem;
  min-height: 1.6em;
  padding: 2px 6px;
  border: 1px solid var(--wcfContentBorder, #ccc);
  border-radius: 3px;
  background: var(--wcfContentBackground, #fff);
  white-space: pre-wrap;
  outline: none;
}

.procedure .text:focus {
  border-color: var(--wcfContentLink, #369);
}

.procedure .text:empty::before {
  content: attr(data-placeholder);
  color: var(--wcfContentDimmedColor, #999);
}

.procedure .text i {
  font-style: italic;
}

.procedure .text .location-ghost {
  color: var(--wcfContentDimmedColor, #999);
  user-select: none;
  pointer-events: none;
}

.procedure .delayToggle {
  background: none;
  border: none;
  padding: 0.25rem;
  margin-right: 0.25rem;
  margin-bottom: 0.25rem;
  cursor: pointer;
  color: var(--wcfContentDimmedColor, #999);
}

.procedure .delayToggle.active {
  color: var(--wcfStatusWarningBackground, #a35b00);
}

/* Erscheint erst beim Hover über die Zeile, fügt eine neue Zeile direkt danach ein */
.procedure .insertRow {
  background: none;
  border: none;
  padding: 0.25rem;
  margin-right: 0.25rem;
  margin-bottom: 0.25rem;
  cursor: pointer;
  color: var(--wcfContentDimmedColor, #999);
  opacity: 0;
  transition: opacity 0.1s ease-in-out;
}

.procedure:hover .insertRow,
.procedure .insertRow:focus-visible {
  opacity: 1;
}

.procedure .insertRow:hover {
  color: var(--wcfContentLink, #369);
}

/* Erscheint erst beim Hover über die Zeile; löscht sofort (optimistisch) mit Undo-Toast
   (DasKartell/UndoToast) statt Modal-Bestätigung - kein Halten-Zwang mehr nötig, das
   Zeitfenster zum Rückgängigmachen übernimmt die Schutzfunktion. */
.procedure .deleteRow {
  background: none;
  border: none;
  padding: 0.25rem;
  margin-right: 0.25rem;
  margin-bottom: 0.25rem;
  cursor: pointer;
  color: var(--wcfContentDimmedColor, #999);
  opacity: 0;
  transition: opacity 0.1s ease-in-out;
}

.procedure:hover .deleteRow,
.procedure .deleteRow:focus-visible {
  opacity: 1;
}

.procedure .deleteRow:hover {
  color: var(--wcfStatusDangerBackground, #a02c2c);
}

.procedure .delay {
  display: none;
  width: 110px;
  margin-bottom: 0.25rem;
}

.procedure-autocomplete,
.procedure-snippet-search {
  position: absolute;
  z-index: 100;
  top: 100%;
  left: 0;
  margin-top: 2px;
  min-width: 200px;
  max-height: 220px;
  overflow-y: auto;
  background: var(--wcfContentBackground, #fff);
  border: 1px solid var(--wcfContentBorder, #ccc);
  border-radius: 3px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
  list-style: none;
  padding: 0;
}

.procedure-snippet-search {
  display: flex;
  flex-direction: column;
  padding: 0.25rem;
}

.procedure-autocomplete--fixed {
  position: fixed;
}

.procedure-snippet-search input {
  margin-bottom: 0.25rem;
}

.procedure-autocomplete li,
.procedure-snippet-search li {
  padding: 0.25rem 0.5rem;
  cursor: pointer;
}

.procedure-autocomplete li:hover,
.procedure-snippet-search li:hover {
  background: var(--wcfDropdownBackgroundActive, #eee);
}

/* Einheiten-Baum (unitPlaner.tpl, sowie im ACP für Einheiten-Vorlagen wiederverwendet) */
#unit-tree-container {
  margin-top: 1rem;
}

.unitPlanerToolbar {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.unitImportControls {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}

.unitTree {
  list-style: none;
  margin: 0;
  padding-left: 1.5rem;
}

.unitTree:first-child {
  padding-left: 0;
}

.unitNode {
  margin-bottom: 0.25rem;
}

.unitNodeRow {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.unitNodeRow .unitName {
  min-width: 160px;
}

.unitNodeRow .unitFrequency {
  width: 90px;
}

.unitNodeRow .roleDepartment {
  width: 160px;
}

.unitNodeRow .roleClearanceLevel,
.unitNodeRow .unitRequiredClearance {
  width: 60px;
}

.unitLocation {
  width: 220px;
}

.unitNodeRow .unitShip {
  width: 220px;
}

/* kurzes rotes Aufblitzen, wenn der eingegebene Standort nicht über die
   star-citizen.wiki-API validiert werden konnte (UnitPlaner.ts) */
.unitLocation.unitLocationInvalid {
  border-color: var(--wcfStatusErrorText, #c0352b);
  transition: border-color 0.2s ease-in-out;
}

/* Berechneter Standort einer Einheit mit Untereinheiten (tiefster gemeinsamer Standort aller
   Blatt-Nachfahren) - nur zur Anzeige, nicht editierbar */
.unitLocationComputed {
  display: inline-flex;
  align-items: center;
  padding: 0 0.6em;
  border-radius: 3px;
  background: var(--wcfContentBackground, #f5f5f5);
  border: 1px solid var(--wcfContentBorder, #ccc);
  color: var(--wcfContentDimmedColor, #666);
  font-size: 0.85em;
  font-style: italic;
  white-space: nowrap;
}

/* Bereichs-Kürzel-Badge vor dem Namen einer Einheit (UnitPlaner.ts); Hintergrund-/Textfarbe
   werden inline aus der Bereichsfarbe (wcf1_krt_department) gesetzt, hier nur der Fallback für
   Bereiche ohne gültige Farbe. Feste statt Mindestbreite (shortName ist DB-seitig auf 3 Zeichen
   begrenzt, s. org.das-kartell.ranks) - sonst startet der Einheiten-Name je nach Kürzellänge
   ("S" vs. "SAR") unterschiedlich weit rechts und Geschwister-Zeilen wirken durch den Versatz
   fälschlich wie Eltern/Kind zueinander. */
.unitDepartmentBadge {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  width: 2.6em;
  height: 1.6em;
  border-radius: 3px;
  background: var(--wcfContentBorder, #ccc);
  color: var(--wcfContentDimmedColor, #333);
  font-size: 0.8em;
  font-weight: 600;
  white-space: nowrap;
}

/* Participation-Onboarding-Assistent (participationWizard.tpl) */
.wizardProgress {
  display: flex;
  gap: 0.35rem;
  margin-bottom: 1rem;
}

.wizardProgressDot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--wcfContentBorder, #ccc);
}

.wizardProgressDot.done {
  background: var(--wcfContentLink, #369);
}

.wizardProgressDot.active {
  background: var(--wcfStatusWarningBackground, #a35b00);
}

.wizardStep {
  margin-bottom: 1rem;
}

.wizardStepTitleHint {
  font-size: 0.75rem;
  color: var(--wcfContentDimmedColor, #999);
}

/* Rollenwunsch, Ankunftszeit, Lead-/Funker-Wunsch und gewünschte Einheit stehen alle auf
   einer gemeinsamen Seite (renderDetailsStep) - visuell voneinander abtrennen. */
.wizardDetailsStep .wizardStep {
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--wcfContentBorder, #ccc);
}

.wizardDetailsStep .wizardStep:last-child {
  padding-bottom: 0;
  margin-bottom: 0;
  border-bottom: none;
}

.wizardNav {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-top: 30px;
}

.wizardTriState {
  display: flex;
  gap: 0.5rem;
}

.wizardTriState .button.active {
  background: var(--wcfContentLink, #369);
  color: var(--wcfContentLinkAlternativeColor, #fff);
}

.wizardTextarea {
  width: 100%;
  max-width: 480px;
  display: block;
  margin-bottom: 0.75rem;
}

.wizardRoleAddSelect {
  max-width: 320px;
}

.wizardRoleWishList {
  padding-left: 1.5rem;
  margin-bottom: 0.5rem;
}

.wizardRoleWishList li {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  margin-bottom: 0.25rem;
}

.wizardShipList {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.wizardShipCard {
  border: 1px solid var(--wcfContentBorder, #ccc);
  border-radius: 3px;
  padding: 0.5rem;
}

.wizardShipCardHeader {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}

.wizardShipCardHeader .wizardAutocompleteWrapper {
  flex: 1 1 200px;
}

.wizardShipName {
  width: 100%;
  padding-right: 1.6rem;
}

/* Ladeanzeige während Autocomplete-Suche/saveShip() im Input selbst (s. renderShipCard() in
   ParticipationWizard.ts) - über dem rechten Rand des Inputs positioniert statt daneben, damit
   sich beim Ein-/Ausblenden nichts im Zeilenlayout verschiebt. */
.wizardShipNameSpinner {
  position: absolute;
  right: 0.4rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--wcfContentDimmedColor, #999);
  animation: wizardShipNameSpin 0.8s linear infinite;
}

@media (prefers-reduced-motion: reduce) {
  .wizardShipNameSpinner {
    animation: none;
  }
}
@keyframes wizardShipNameSpin {
  from {
    transform: translateY(-50%) rotate(0deg);
  }
  to {
    transform: translateY(-50%) rotate(360deg);
  }
}
.wizardShipFitting {
  width: 100%;
  max-width: 320px;
  margin-bottom: 0.5rem;
}

.wizardShipItemList {
  list-style: none;
  padding: 0;
  margin: 0 0 0.5rem;
}

.wizardShipItemList li {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.wizardShipItemInput {
  width: 100%;
  max-width: 320px;
}

.wizardAutocompleteWrapper {
  position: relative;
  display: inline-block;
}

/* Ausrüstung/Loadouts (ParticipationWizard.ts) - HUD-artige, aber abstrakte Silhouette
   (keine Spielgrafik) als Kurzüberblick über die 8 Slots; die eigentliche Bearbeitung passiert
   in .wizardEquipmentList darunter, s. renderEquipmentPanel()/renderEquipmentList(). */
.wizardLoadoutSwitcher {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.wizardLoadoutOwnControls,
.wizardLoadoutAdopt {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
}

.wizardLoadoutName {
  max-width: 220px;
}

.wizardLoadoutShareToggle {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.9em;
  color: var(--wcfContentDimmedColor, #999);
}

.wizardLoadoutAdopt {
  padding-left: 0.75rem;
  border-left: 1px solid var(--wcfContentBorder, #ccc);
}

.wizardLoadoutAdoptInput {
  min-width: 220px;
}

/* Panel + Kurzübersicht nebeneinander (Inventory-HUD-Kit-Artifact: .stage) - Rail bekommt eine
   feste Breite, das Panel nimmt den Rest. Unter 860px (Artifact-Breakpoint) untereinander.
   position:relative ist der Anker für .wizardEquipmentConnectors (absolut positioniert, s.
   dort) - Slot und Rail-Zeile stehen sonst in getrennten Grid-Spalten. */
.wizardEquipmentStage {
  position: relative;
  display: grid;
  grid-template-columns: 320px minmax(0, 1fr) 320px;
  gap: 1.25rem;
  align-items: start;
  margin-bottom: 1.5rem;
}

@media (max-width: 860px) {
  .wizardEquipmentStage {
    grid-template-columns: 1fr;
  }
}
/* Connector-Linien aus updateEquipmentConnectors() zwischen je einem Rüstungs-Slot und seiner
   Zeile in der Kurzübersicht - absolut über dem ganzen Stage, pointer-events:none, damit sie
   keine Klicks auf Slots/Zeilen/Buttons darunter abfangen. Als eigenes Geschwister-Element
   statt Kind von .wizardEquipmentPanel, weil das dortige overflow:hidden (für den abgerundeten
   HUD-Rahmen) die Linie sonst am Panel-Rand abschneiden würde. */
.wizardEquipmentConnectors {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.wizardEquipmentConnectors line {
  stroke: rgba(46, 204, 113, 0.35);
  stroke-width: 1;
  stroke-dasharray: 3 3;
  opacity: 0;
  transition: opacity 0.12s ease-out;
}

.wizardEquipmentConnectors line.filled {
  stroke: #2ecc71;
  stroke-width: 1.5;
  stroke-dasharray: none;
}

.wizardEquipmentConnectors line.hover {
  opacity: 0.6;
}

/* Waffen-Listen-Panel links neben .wizardEquipmentPanel (EQUIPMENT-Referenzscreenshot, s.
   renderWeaponPanel()) - Tab-Leiste (rein dekorativ, keine echte Kategorie-Umschaltung) +
   Panel mit Header und drei echten Waffen-Slot-Zeilen. */
.wizardWeaponPanel {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}

.wizardWeaponTabs {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  flex: 0 0 auto;
}

.wizardWeaponTab {
  position: relative;
  width: 42px;
  height: 64px;
  display: grid;
  place-items: center;
  background: #171d26;
  border: 1px solid rgba(46, 204, 113, 0.2);
  border-radius: 5px;
  color: rgba(46, 204, 113, 0.6);
  overflow: hidden;
}

.wizardWeaponTab.active {
  border-color: #2ecc71;
  color: #2ecc71;
}

.wizardWeaponTab.active::after {
  content: "";
  position: absolute;
  top: 4px;
  bottom: 4px;
  right: 3px;
  width: 2px;
  border-radius: 2px;
  background: #2ecc71;
  box-shadow: 0 0 6px #2ecc71;
}

.wizardWeaponTab .glyph {
  width: 100%;
  height: 100%;
  fill: currentColor;
}

.wizardWeaponList {
  flex: 1 1 auto;
  background: #12151a;
  border: 1px solid rgba(46, 204, 113, 0.2);
  border-radius: 6px;
  overflow: hidden;
}

.wizardWeaponHeader {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.5rem 0.6rem;
  border-bottom: 1px solid rgba(46, 204, 113, 0.2);
  font-family: inherit;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--wcfContentText, #dfe7ec);
}

.wizardWeaponHeader .chevrons {
  flex: 1 1 auto;
  height: 10px;
  background-image: repeating-linear-gradient(-45deg, rgba(46, 204, 113, 0.25) 0 3px, transparent 3px 8px);
  opacity: 0.8;
}

.wizardWeaponRow {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.2rem;
  width: 100%;
  min-height: 76px;
  padding: 0.4rem;
  background: none;
  border: none;
  border-bottom: 1px dashed rgba(46, 204, 113, 0.15);
  cursor: pointer;
}

.wizardWeaponRow .name {
  max-width: calc(100% - 26px);
  padding: 0 0.25rem;
  font-size: 0.68rem;
  line-height: 1.15;
  text-align: center;
  color: var(--wcfContentText, #dfe7ec);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.wizardWeaponRow:last-child {
  border-bottom: none;
}

.wizardWeaponRow .glyph {
  width: 100%;
  max-width: 92px;
  fill: rgba(46, 204, 113, 0.5);
  transition: fill 0.16s ease-out;
}

.wizardWeaponRow:hover .glyph,
.wizardWeaponRow:focus-visible .glyph {
  fill: #2ecc71;
}

.wizardWeaponRow.filled .glyph {
  fill: #2ecc71;
}

.wizardWeaponRow:focus-visible {
  outline: 2px solid #2ecc71;
  outline-offset: -2px;
}

.wizardWeaponRow .badge {
  position: absolute;
  right: 0.5rem;
  bottom: 0.5rem;
  width: 20px;
  height: 20px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #12151a;
  border: 1px solid rgba(46, 204, 113, 0.3);
  color: var(--wcfContentDimmedColor, #999);
  font-size: 0.68rem;
}

.wizardWeaponRow.open {
  background: rgba(46, 204, 113, 0.08);
}

.wizardWeaponRow.open .glyph {
  fill: #2ecc71;
}

.wizardEquipmentPicker {
  margin: 0.3rem 0.5rem;
  padding: 0.6rem;
  background: #171d26;
  border: 1px solid rgba(46, 204, 113, 0.25);
  border-radius: 6px;
}

.wizardEquipmentPickerCurrent {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  color: var(--wcfContentText, #dfe7ec);
}

.wizardEquipmentPicker .wizardAutocompleteWrapper {
  display: block;
}

.wizardEquipmentPicker .wizardEquipmentInput {
  width: 100%;
}

.wizardEquipmentColumn {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

@media (max-width: 480px) {
  .wizardWeaponPanel {
    margin-bottom: 1rem;
  }
}
.wizardEquipmentPanel {
  position: relative;
  /* War 320px, aus der Zeit der schmalen Hochkant-Silhouette (200x340) - die echte
     Charakter-Silhouette + die Slot-Spalte brauchen bei padding-bottom:56% deutlich mehr
     Breite, sonst drängt sich alles auf ~320x179px zusammen. .section (participationWizard.tpl)
     gibt deutlich mehr Platz her. */
  /* max-width: 640px; */
  margin: 0 0 1.5rem;
  padding-bottom: 56%;
  background: #12151a;
  border: 1px solid rgba(46, 204, 113, 0.25);
  border-radius: 8px;
  overflow: hidden;
}

.wizardEquipmentPanel::after {
  content: "";
  position: absolute;
  inset: 10px;
  z-index: 3;
  pointer-events: none;
  background-image: linear-gradient(var(--accent-soft) 1px, transparent 1px), linear-gradient(90deg, var(--accent-soft) 1px, transparent 1px);
  background-size: 100% 100%;
  background-position: 0 0, 0 0;
  -webkit-mask: linear-gradient(#000, transparent 22px) top left/22px 22px no-repeat, linear-gradient(#000, transparent 22px) top right/22px 22px no-repeat, linear-gradient(0deg, #000, transparent 22px) bottom left/22px 22px no-repeat, linear-gradient(0deg, #000, transparent 22px) bottom right/22px 22px no-repeat;
  mask: linear-gradient(#000, transparent 22px) top left/22px 22px no-repeat, linear-gradient(#000, transparent 22px) top right/22px 22px no-repeat, linear-gradient(0deg, #000, transparent 22px) bottom left/22px 22px no-repeat, linear-gradient(0deg, #000, transparent 22px) bottom right/22px 22px no-repeat;
  border: 1.5px solid var(--accent);
  opacity: 0.65;
}

.wizardEquipmentSilhouette {
  position: absolute;
  top: 8%;
  left: 30%;
  width: 40%;
  height: 84%;
  fill: rgba(46, 204, 113, 0.08);
  stroke: rgba(46, 204, 113, 0.4);
  stroke-width: 2;
}

/* Glasiger HUD-Button-Look aus dem Inventory-HUD-Kit-Artifact (dortige .slot) - transluzenter
   Hintergrund + Blur statt Vollton, weiche Transition, Hover hebt per Scale + Glow statt nur
   Farbwechsel ab. */
.wizardEquipmentSlot {
  position: absolute;
  width: 30px;
  height: 30px;
  margin: -15px 0 0 -15px;
  display: grid;
  place-items: center;
  background: rgba(18, 21, 26, 0.72);
  border: 1.5px solid rgba(46, 204, 113, 0.4);
  border-radius: 50%;
  color: rgba(46, 204, 113, 0.6);
  cursor: pointer;
  backdrop-filter: blur(2px);
  transition: transform 0.16s ease-out, border-color 0.16s ease-out, box-shadow 0.16s ease-out, color 0.16s ease-out;
}

.wizardEquipmentSlot:hover,
.wizardEquipmentSlot:focus-visible {
  border-color: #2ecc71;
  color: #2ecc71;
  transform: scale(1.08);
  box-shadow: 0 0 0 1px rgba(46, 204, 113, 0.25), 0 0 18px 2px rgba(46, 204, 113, 0.25);
}

.wizardEquipmentSlot:focus-visible {
  outline: 2px solid #2ecc71;
  outline-offset: 3px;
}

.wizardEquipmentSlot.filled {
  background: rgba(46, 204, 113, 0.15);
  border-color: #2ecc71;
  color: #2ecc71;
  box-shadow: 0 0 8px rgba(46, 204, 113, 0.5);
}

.wizardEquipmentSlot.open {
  border-color: #2ecc71;
  color: #2ecc71;
  box-shadow: 0 0 0 1px rgba(46, 204, 113, 0.25), 0 0 18px 2px rgba(46, 204, 113, 0.25);
}

.wizardEquipmentSlot.filled .wizardEquipmentSlotDot {
  background: rgba(6, 8, 10, 0.75);
}

/* Gefüllter Punkt hinter dem Piktogramm - Ring-Marker-Referenz (Circle_2.png): dünner Ring
   (der Button-border selbst) um einen kleineren, satteren Punkt in der Mitte. Eigenes Element
   statt ::before, damit :before/:after für den Doppelring im .filled-Zustand frei bleiben.
   Neutral dunkel statt grün getönt - bei Originalgröße (30px) verschwamm ein grünes Icon sonst
   fast unsichtbar mit einem ebenfalls grünen Punkt dahinter (v.a. beim flächigen Helm-Icon). */
.wizardEquipmentSlotDot {
  position: absolute;
  inset: 28.5%;
  border-radius: 50%;
  background: rgba(6, 8, 10, 0.6);
}

/* Piktogramm pro Slot (renderEquipmentPanelSlot() setzt <svg class="glyph">) - derselbe
   Stroke-Stil wie .slot .glyph im Inventory-HUD-Kit-Artifact. */
.wizardEquipmentSlot .glyph {
  width: 55%;
  height: 55%;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Alle Slot-Icons (Rüstung + Waffen) sind aus Referenzbildern vektorisierte Flächenpfade
   (potrace) - fill statt stroke, etwas größer weil die Pfade selbst schon Rand-Weißraum
   enthalten. */
.wizardEquipmentSlot--helmet .glyph,
.wizardEquipmentSlot--undersuit .glyph,
.wizardEquipmentSlot--torso .glyph,
.wizardEquipmentSlot--arms .glyph,
.wizardEquipmentSlot--legs .glyph,
.wizardEquipmentSlot--backpack .glyph {
  width: 62%;
  height: 62%;
  fill: currentColor;
  stroke: none;
}

/* Doppelter Glow-Ring für ein ausgerüstetes Item (Inventory-HUD-Kit-Prototyp, s. dortige
   .selectionRing--outer/--inner) - zwei unabhängig pulsierende Pseudo-Elemente statt eines
   reinen box-shadow, damit ein befülltes Item auch aus der Distanz sofort auffällt. */
.wizardEquipmentSlot.filled::before,
.wizardEquipmentSlot.filled::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  border: 1px solid #2ecc71;
  pointer-events: none;
  animation: wizardEquipmentSlotPulse 2.4s ease-in-out infinite;
}

.wizardEquipmentSlot.filled::before {
  inset: -5px;
  opacity: 0.5;
}

.wizardEquipmentSlot.filled::after {
  inset: -9px;
  opacity: 0.28;
  animation-delay: 0.35s;
}

@media (prefers-reduced-motion: reduce) {
  .wizardEquipmentSlot.filled::before,
  .wizardEquipmentSlot.filled::after {
    animation: none;
  }
}
@keyframes wizardEquipmentSlotPulse {
  0%, 100% {
    transform: scale(1);
    opacity: 0.5;
  }
  50% {
    transform: scale(1.14);
    opacity: 0.12;
  }
}
/* Rüstungs-Slots (helmet/undersuit/backpack/torso/arms/legs) sitzen als gerade senkrechte
   Spalte rechts neben der Figur - Anordnung aus einem Star-Citizen-Inventory-Screenshot
   nachgebaut (s. Inventory-HUD-Kit-Artifact), nicht mehr über die Silhouette verteilt. Die
   drei Waffen-Slots (sidearm/secondaryWeapon/primaryWeapon) haben kein Button-Pendant mehr
   hier im Charakter-Panel - die leben jetzt nur noch im Waffen-Listen-Panel links daneben,
   s. renderWeaponPanel(). */
.wizardEquipmentSlot--helmet {
  left: 75%;
  top: 15%;
  width: 64px;
  height: 64px;
}

.wizardEquipmentSlot--backpack {
  left: 9%;
  top: 30%;
  width: 64px;
  height: 64px;
}

.wizardEquipmentSlot--torso {
  left: 75%;
  top: 30%;
  width: 64px;
  height: 64px;
}

.wizardEquipmentSlot--undersuit {
  left: 75%;
  top: 45%;
  width: 64px;
  height: 64px;
}

.wizardEquipmentSlot--arms {
  left: 75%;
  top: 60%;
  width: 64px;
  height: 64px;
}

.wizardEquipmentSlot--legs {
  left: 75%;
  top: 75%;
  width: 64px;
  height: 64px;
}

/* Kurzübersicht neben dem Panel (Inventory-HUD-Kit-Artifact: .rail/.railCard/.railList),
   s. renderEquipmentRail() - rein informativ, keine eigene Bearbeitung. */
.wizardEquipmentRail {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.wizardEquipmentRailCard {
  background: #171d26;
  border: 1px solid rgba(46, 204, 113, 0.2);
  border-radius: 4px;
  padding: 0.9rem 1rem;
}

.wizardEquipmentRailCard h2 {
  margin: 0 0 0.6rem;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #2ecc71;
}

.wizardEquipmentRailList {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.wizardEquipmentRailList li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  font-size: 0.8rem;
  color: var(--wcfContentDimmedColor, #999);
  border-bottom: 1px dashed rgba(46, 204, 113, 0.15);
  padding-bottom: 0.35rem;
}

.wizardEquipmentRailList li:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.wizardEquipmentRailValue {
  color: var(--wcfContentText, #dfe7ec);
  text-align: right;
}

/* Unter ~480px trägt kein absolut positioniertes Slot-Layout mehr - die Slots reihen sich
   stattdessen einfach flach auf, die Silhouette selbst wird ausgeblendet (die Liste darunter
   bleibt so oder so die eigentliche, voll bedienbare Oberfläche). */
@media (max-width: 480px) {
  .wizardEquipmentPanel {
    max-width: none;
    padding-bottom: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    padding: 0.75rem;
  }
  .wizardEquipmentSilhouette {
    display: none;
  }
  .wizardEquipmentSlot {
    position: static;
    margin: 0;
  }
  .wizardEquipmentConnectors {
    display: none;
  }
}
.wizardEquipmentList {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.wizardEquipmentRow {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0;
  border-bottom: 1px solid var(--wcfContentBorder, #ccc);
}

.wizardEquipmentRowLabel {
  flex: 0 0 140px;
  font-weight: 600;
}

.wizardEquipmentRowContent {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.wizardEquipmentRowEmpty {
  color: var(--wcfContentDimmedColor, #999);
}

.wizardEquipmentInput {
  min-width: 220px;
}

.wizardEquipmentAttachments {
  flex: 1 1 100%;
  margin-left: 140px;
}

.wizardEquipmentAttachments ul {
  list-style: none;
  margin: 0 0 0.35rem;
  padding: 0;
}

.wizardEquipmentAttachments li {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.9em;
  color: var(--wcfContentDimmedColor, #999);
}

.wizardEquipmentAttachmentInput {
  min-width: 200px;
}

/* Zuteilungs-Planer (assignmentPlaner.tpl) - Drag-and-drop-Übersicht für Leads */
.assignmentPlanerLayout {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

/* Nur Messpunkt für observePoolSticky() in AssignmentPlaner.ts (position:sticky selbst liefert
   keinen abfragbaren "jetzt klebt's"-Zustand) - aus dem Flex-Fluss genommen, damit es keinen
   eigenen Gap-Abstand erzeugt. */
.assignmentPoolStickySentinel {
  position: absolute;
  top: 0;
  left: 0;
  width: 1px;
  height: 1px;
  visibility: hidden;
  pointer-events: none;
}

/* Ablage-Fläche für nicht zugeteilte Teilnehmer: bewusst gestrichelt statt durchgezogen, damit
   sie sich klar von den Einheiten-Boxen (feste Struktur) als "Tray" unterscheidet */
.assignmentPool {
  position: sticky;
  top: 20px;
  z-index: 10;
  display: flex;
  flex-direction: column;
  border: 2px dashed var(--wcfContentBorder, #ccc);
  border-radius: 3px;
  padding: 0.75rem;
  background: var(--wcfContentContainerBackground, rgba(0, 0, 0, 0.02));
}

/* Nur ausgeklappt bekommt der Pool eine feste Höhe (s. renderPool()) - die Liste füllt den
   restigen Platz darunter und scrollt selbst, statt den Titel aus dem sichtbaren Bereich zu
   drücken. min-height:0 ist nötig, damit ein Flex-Item overflow:auto überhaupt greifen lässt
   (Flex-Standard wäre sonst min-height:auto = Content-Höhe). */
.assignmentPool:not(.assignmentPool--collapsed) .assignmentCardList--pool {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
}

/* Klebt der Pool gerade am oberen Rand (isStuck, s. observePoolSticky()), bekommt er einen
   leichten schwarzen Hintergrund über die volle Browserbreite - per box-shadow-Spread statt
   width/margin, damit die eigene Breite/das Layout des Inhalts unverändert bleibt und die Höhe
   automatisch der tatsächlichen (variablen) Pool-Höhe folgt. Oben/unten wird derselbe Abstand
   wie das sticky top (20px) freigegeben, statt am Pool-Rand hart abzuschneiden - füllt so auch
   die Lücke zwischen Browser-Oberkante und dem (wegen top:20px) leicht abgesetzten Pool und
   lässt denselben Abstand symmetrisch nach unten mitlaufen. */
.assignmentPool.isStuck {
  box-shadow: 0 0 0 100vmax var(--wcfContentBackground);
  clip-path: inset(-20px -100vmax -20px -100vmax);
}

.assignmentPool h2 {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin: 0 0 0.5rem;
  font-size: 1em;
  /* nie schrumpfen/wachsen - die per Ziehgriff (AssignmentPlaner.ts, renderPoolResizeHandle())
     gesetzte Höhe auf .assignmentPool gehört komplett der Karten-Liste darunter */
  flex: 0 0 auto;
}

.assignmentPoolCount {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.4em;
  padding: 0 0.4em;
  border-radius: 1em;
  background: var(--wcfContentBorder, #ccc);
  color: var(--wcfContentDimmedColor, #666);
  font-size: 0.75em;
  font-weight: 600;
}

.assignmentUnitTree {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

/* Jede Einheit ist ein Kopf (Label + eigene Mitglieder) und optional eine Kinder-Spalte daneben.
   Einheiten mit >= 3 Kindern (z.B. Marinekorps mit Alpha/Bravo/Lima) bekommen ein senkrechtes
   Spine-Label über die volle Höhe; alle anderen ein normales Label oberhalb der Mitglieder. */
.assignmentUnit {
  display: flex;
  align-items: stretch;
  border: 1px solid var(--wcfContentBorder, #ccc);
  border-radius: 3px;
  padding: 0.5rem 0.5rem;
}

/* Wurzel-Einheit (KRT): Kopf oben, Kinder darunter über die volle Breite statt daneben */
.assignmentUnit--1 {
  flex-direction: column;
  padding-left: 0;
}

.assignmentUnitHead {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: 0.5rem 0.75rem;
  /* flex-shrink war 0 (in "0 0 auto") - damit greift min-width nie, ein Flex-Item mit
     shrink:0 schrumpft nie, egal welchen min-width-Wert es hat. Erst shrink:1 lässt den Kopf
     überhaupt kleiner werden als seine Karten in einer Zeile, und erst mit min-width:0 (statt
     dem Flex-Standard min-width:auto = Content-Breite) darf er dabei auch unter die
     ungewrappte Breite aller Karten schrumpfen - das gibt der verschachtelten
     .assignmentCardList--*'s flex-wrap:wrap endlich die Chance, tatsächlich umzubrechen statt
     einfach über den Rand hinauszulaufen. Kein flex-grow (bleibt 0), damit der Kopf bei
     genug Platz weiterhin seine natürliche Breite behält statt mit .assignmentUnitChildren um
     den Platz zu konkurrieren. */
  flex: 0 1 auto;
  min-width: 0;
}

.assignmentUnitSpine > .assignmentUnitHead {
  flex-direction: row;
  align-items: stretch;
  gap: 0.75rem;
}

.assignmentUnitLabel {
  flex: 0 0 auto;
  margin: 0;
  white-space: nowrap;
}

/* Ziehgriff vor dem Einheiten-Namen (AssignmentPlaner.ts, renderDropshipDepartureIcon()) - auf
   ein .assignmentCardDropshipTarget gezogen legt PostDropshipDeparture einen Abflug-Eintrag im
   Ablaufplan dieser Einheit an. */
.assignmentUnitDropshipIcon {
  display: inline-flex;
  margin-right: 0.35em;
  cursor: grab;
  color: var(--wcfContentDimmedColor, #999);
}

.assignmentUnitDropshipIcon:hover {
  color: var(--wcfContentLink, #369);
}

.assignmentUnitDropshipIcon.dragging {
  opacity: 0.4;
}

/* Bereitschafts-Badge direkt neben dem Dropship-Abflug-Icon (AssignmentPlaner.ts,
   renderReadinessBadge()) - rein anzeigend, von der Einheit selbst auf ParticipantOverview.ts
   gemeldet. Gleiche Farbwerte wie .overviewReadinessAction--*.active dort. */
.unitReadinessIcon {
  display: inline-flex;
  margin-right: 0.35em;
}

.unitReadinessIcon--green {
  color: #4caf50;
}

.unitReadinessIcon--yellow {
  color: #fbc02d;
}

.unitReadinessIcon--red {
  color: #f44336;
}

.unitReadinessIcon--black {
  color: #212121;
}

/* Ein-/Ausklapp-Pfeil vor dem Namen einer Wurzel-Einheit sowie vor dem Pool-Titel (AssignmentPlaner.ts,
   renderCollapseToggle()) - der eingeklappt-Zustand wird pro Event in localStorage gemerkt, s.
   toggleUnitCollapsed()/togglePoolCollapsed(). */
.assignmentUnitCollapseToggle {
  display: inline-flex;
  align-items: center;
  margin-right: 0.15em;
  padding: 0;
  border: none;
  background: none;
  cursor: pointer;
  color: var(--wcfContentDimmedColor, #999);
}

.assignmentUnitCollapseToggle:hover {
  color: var(--wcfContentLink, #369);
}

/* Ziehgriff am unteren Rand des Pools (AssignmentPlaner.ts, renderPoolResizeHandle()) - zieht die
   Höhe des gesamten Pools (Titel + Karten-Liste) hoch, persistiert pro Event in localStorage, s.
   savePoolHeight(). ::after statt eigenem Inhalt, damit die Trefferfläche (padding) größer als
   der sichtbare Strich bleibt. */
.assignmentPoolResizeHandle {
  flex: 0 0 auto;
  height: 6px;
  margin: 0.5rem -0.75rem -0.75rem;
  padding: 4px 0;
  cursor: row-resize;
}

.assignmentPoolResizeHandle::after {
  content: "";
  display: block;
  width: 40px;
  height: 4px;
  margin: 0 auto;
  border-radius: 2px;
  background: var(--wcfContentBorder, #ccc);
}

.assignmentPoolResizeHandle:hover::after {
  background: var(--wcfContentLink, #369);
}

/* Schriftgröße sinkt mit der Baumtiefe (KRT > Marinekorps > Alpha > FT Alpha-1), damit die
   Hierarchie auch ohne Einrückung sofort erkennbar ist */
.assignmentUnitLabel--1 {
  font-size: 1.5rem;
}

.assignmentUnitLabel--2 {
  font-size: 1.2rem;
}

.assignmentUnitLabel--3 {
  font-size: 1rem;
}

.assignmentUnitLabel--4 {
  font-size: 0.9rem;
}

/* Teilnehmerzähler im Label (eigene + alle Unter-Einheiten), gleiche Optik wie
   .assignmentPoolCount; bleibt auch im senkrechten Spine-Label horizontal lesbar */
.assignmentCount {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.4em;
  margin: 0.3em;
  padding: 0 0.4em;
  border-radius: 1em;
  background: var(--wcfContentBorder, #ccc);
  color: var(--wcfContentDimmedColor, #666);
  font-size: 0.75em;
  font-weight: 600;
  writing-mode: horizontal-tb;
  text-orientation: mixed;
}

/* Klickbares Badge neben .assignmentCount, nur vorhanden wenn die Einheit mindestens ein
   Missionbriefing verknüpft hat (BriefingPlaner.tpl); öffnet ein Popup mit dem gerenderten
   Markdown-Inhalt. Erzwingt wie .assignmentCount horizontale Schrift im senkrechten Spine-Label. */
.assignmentBriefingBadge {
  display: inline-flex;
  align-items: center;
  margin: 0.3em 0.3em 0.3em 0;
  padding: 0 0.5em;
  border-radius: 1em;
  background: var(--wcfContentLink, #369);
  color: var(--wcfContentContainerBackground, #fff);
  font-size: 0.75em;
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
  writing-mode: horizontal-tb;
  text-orientation: mixed;
}

.assignmentBriefingBadge:hover {
  opacity: 0.85;
}

/* Nicht-klickbares Frequenz-Badge direkt neben dem Einheiten-Namen (renderFrequencyBadge()) -
   reine Anzeige, die Pflege bleibt UnitPlaner.ts vorbehalten. */
.assignmentFrequencyBadge {
  display: inline-flex;
  align-items: center;
  margin: 0.3em 0.3em 0.3em 0.5em;
  padding: 0 0.5em;
  border-radius: 1em;
  border: 1px solid var(--wcfContentBorder, #ccc);
  color: var(--wcfContentDimmedColor, #666);
  font-size: 0.75em;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  writing-mode: horizontal-tb;
  text-orientation: mixed;
}

/* Standort-Badge neben .assignmentCount. Bei Blatt-Einheiten klickbar (öffnet
   renderLocationEditor()), bei Einheiten mit Untereinheiten nur die berechnete Anzeige
   (--computed, nicht klickbar) - siehe computeLocationPath() in AssignmentPlaner.ts. */
.assignmentLocationBadge {
  display: inline-flex;
  align-items: center;
  margin: 0.3em 0.3em 0.3em 0;
  padding: 0 0.5em;
  border-radius: 1em;
  background: var(--wcfContentBorder, #ccc);
  color: var(--wcfContentDimmedColor, #666);
  font-size: 0.75em;
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
  writing-mode: horizontal-tb;
  text-orientation: mixed;
}

.assignmentLocationBadge:hover {
  opacity: 0.85;
}

.assignmentLocationBadge--empty {
  background: transparent;
  border: 1px dashed var(--wcfContentBorder, #ccc);
  color: var(--wcfContentDimmedColor, #999);
}

.assignmentLocationBadge--computed {
  cursor: default;
  font-style: italic;
}

.assignmentLocationBadge--computed:hover {
  opacity: 1;
}

/* Eingabefeld + Autocomplete-Dropdown, ersetzt das Badge während der Bearbeitung
   (renderLocationEditor()) */
.assignmentLocationEditor {
  position: relative;
  display: inline-flex;
  margin: 0.3em 0.3em 0.3em 0;
}

.assignmentLocationInput {
  width: 220px;
  font-size: 0.85em;
}

.assignmentLocationSuggestions {
  position: absolute;
  z-index: 20;
  top: 100%;
  left: 0;
  min-width: 220px;
  max-height: 220px;
  margin: 2px 0 0;
  padding: 0;
  overflow-y: auto;
  list-style: none;
  border: 1px solid var(--wcfContentBorder, #ccc);
  border-radius: 3px;
  background: var(--wcfContentContainerBackground, #fff);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

.assignmentLocationSuggestions:empty {
  display: none;
}

.assignmentLocationSuggestions li {
  padding: 0.3em 0.6em;
  font-size: 0.85em;
  white-space: nowrap;
  cursor: pointer;
}

.assignmentLocationSuggestions li:hover {
  background: var(--wcfDropdownBackgroundActive, #eee);
}

/* Schiff-Badge neben .assignmentCount, nur bei Blatt-Einheiten (wie .assignmentLocationBadge) -
   klickbar, öffnet renderUnitShipEditor(). */
.assignmentUnitShipBadge {
  display: inline-flex;
  align-items: center;
  margin: 0.3em 0.3em 0.3em 0;
  padding: 0 0.5em;
  border-radius: 1em;
  background: var(--wcfContentBorder, #ccc);
  color: var(--wcfContentDimmedColor, #666);
  font-size: 0.75em;
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
  writing-mode: horizontal-tb;
  text-orientation: mixed;
}

.assignmentUnitShipBadge:hover {
  opacity: 0.85;
}

.assignmentUnitShipBadge--empty {
  background: transparent;
  border: 1px dashed var(--wcfContentBorder, #ccc);
  color: var(--wcfContentDimmedColor, #999);
}

/* <select>, ersetzt das Badge während der Bearbeitung (renderUnitShipEditor()) - anders als
   .assignmentLocationEditor keine eigene Vorschlagsliste nötig (statische Optionen). */
.assignmentUnitShipEditor {
  width: 220px;
  margin: 0.3em 0.3em 0.3em 0;
  font-size: 0.85em;
}

.assignmentUnitSpine > .assignmentUnitHead > .assignmentUnitLabel {
  display: flex;
  align-items: center;
  justify-content: center;
  padding-right: 0.5rem;
  letter-spacing: 0.05em;
  writing-mode: vertical-rl;
  text-orientation: upright;
  border-right: 2px solid var(--wcfContentBorder, #ccc);
  text-transform: uppercase;
}

.assignmentUnitMembers {
  flex: 1 1 auto;
  min-width: 180px;
}

.assignmentUnit > .assignmentUnitChildren {
  display: flex;
  flex-direction: column;
  flex: 1 1 320px;
  min-width: 260px;
  border-left: 2px solid var(--wcfContentBorder, #ccc);
}

/* verschachtelte Einheiten bilden per Trennlinie eine Tabellenzeile, statt eigene Boxen zu sein */
.assignmentUnitChildren > .assignmentUnit {
  border: none;
  border-radius: 0;
  border-bottom: 1px solid var(--wcfContentBorder, #ccc);
}

.assignmentUnitChildren > .assignmentUnit:last-child {
  border-bottom: none;
}

.assignmentDropZone {
  transition: background-color 0.1s ease-in-out, border-color 0.1s ease-in-out;
}

.assignmentDropZone.dragover {
  background: var(--wcfDropdownBackgroundActive, #eee);
  border-color: var(--wcfContentLink, #369);
}

.assignmentCardList {
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  gap: 0.5rem;
  min-height: 2.5rem;
}

/* Nur die Wurzel (KRT, node 1) und die tiefste Ebene (FT Alpha-1 etc., node 1.1.1.1) zeigen ihre
   Mitglieder nebeneinander; alles dazwischen (Marinekorps, Alpha, ...) untereinander */
.assignmentCardList--1,
.assignmentCardList--4,
.assignmentCardList--pool,
.assignmentCardList--last {
  flex-direction: row;
  flex-wrap: wrap;
}

.assignmentCard {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  width: 240px;
  padding: 0.4rem 0.5rem;
  border: 1px solid var(--wcfContentBorder, #ccc);
  border-radius: 3px;
  background: var(--wcfContentBackground, #fff);
  cursor: grab;
}

.assignmentCard.dragging {
  opacity: 0.4;
}

.assignmentCardName {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.assignmentCardNameText {
  flex: 1 1 auto;
  min-width: 0;
  font-weight: 600;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Gefallen-Status (AssignmentPlaner.ts); immer klickbar, aber erst ab isFallen sichtbar/farbig -
   die Karte zeigt den Schädel also nur "falls er gefallen ist", wie gefordert */
.assignmentCardFallenToggle {
  flex: 0 0 auto;
  display: inline-flex;
  cursor: pointer;
  color: var(--wcfContentBorder, #ccc);
  opacity: 0.4;
}

.assignmentCardFallenToggle:hover {
  opacity: 1;
}

.assignmentCardFallenToggle.active {
  color: var(--wcfStatusErrorText, #c0392b);
  opacity: 1;
}

.assignmentCardHint {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 16px;
}

/* Trigger fürs Ausrüstungs-/Wünsche-Popup (AssignmentPlaner.ts, attachHoverPopup()) - braucht
   position:relative, damit das Popup als Kind-Element korrekt daran andockt. */
.assignmentCardHintIcon {
  position: relative;
  display: inline-flex;
  cursor: help;
  color: var(--wcfContentDimmedColor, #999);
}

.assignmentCardHintIcon:hover,
.assignmentCardHintIcon:focus-visible {
  color: var(--wcfContentLink, #369);
}

.assignmentCardHintIcon--loadout svg {
  width: 16px;
  height: 16px;
}

/* Drop-Ziel für den Dropship-Abflug-Ziehgriff (.assignmentUnitDropshipIcon) - immer sichtbar,
   deshalb per margin-left:auto an den rechten Rand von .assignmentCardHint gedrückt, egal wie
   viele der bedingten Icons davor (Ausrüstung/Wünsche) gerade vorhanden sind. */
.assignmentCardDropshipTarget {
  margin-left: auto;
  cursor: default;
}

.assignmentCardDropshipTarget.dragover {
  color: var(--wcfContentLink, #369);
}

.assignmentHintPopup {
  position: absolute;
  z-index: 10;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  margin-top: 6px;
  min-width: 380px;
  max-width: 500px;
  padding: 0.5rem 0.65rem;
  background: var(--wcfContentBackground, #fff);
  border: 1px solid var(--wcfContentBorder, #ccc);
  border-radius: 4px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  color: var(--wcfContentText, #222);
  font-size: 0.85em;
  text-align: left;
  white-space: normal;
  cursor: default;
}

.assignmentHintPopup__roleList,
.assignmentHintPopup__itemList {
  margin: 0;
  padding-left: 1.1rem;
}

.assignmentHintPopup__itemList {
  font-size: 0.9em;
  color: var(--wcfContentDimmedColor, #999);
}

/* Slot-Beschriftung vor dem Item-Namen (z.B. "Helm: A23 Flight Helmet") - dieselben Slots wie
   EQUIPMENT_SLOTS im Ausrüstungs-Schritt des Wizards, s. equipmentSlotLabel() in AssignmentPlaner.ts */
.assignmentHintPopup__itemSlot {
  font-weight: 600;
}

.assignmentHintPopup__unit {
  margin: 0.3rem 0 0;
}

.assignmentCardRole {
  width: 100%;
  font-size: 0.85em;
}

.assignmentCardShipRow {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.assignmentCardShip {
  flex: 1 1 auto;
  min-width: 0;
  font-size: 0.85em;
}

/* Rein lokaler UI-Toggle (AssignmentPlaner.ts, showAllShipsUserIDs) - erweitert die
   Schiffsauswahl auf alle Teilnehmer statt nur die eigenen; wie .assignmentCardFallenToggle
   immer klickbar, aber erst ab aktiv sichtbar/farbig. */
.assignmentCardShipGlobeToggle {
  flex: 0 0 auto;
  display: inline-flex;
  cursor: pointer;
  color: var(--wcfContentBorder, #ccc);
  opacity: 0.4;
}

.assignmentCardShipGlobeToggle:hover {
  opacity: 1;
}

.assignmentCardShipGlobeToggle.active {
  color: var(--wcfContentLink, #369);
  opacity: 1;
}

/* Read-only Ersatz für Globus-Toggle + <select>, sobald die Einheit des Teilnehmers ein eigenes
   Schiff hat (renderCard()) - das individuelle Dropdown wäre dann nur noch redundant. */
.assignmentCardShipRow--inherited {
  display: flex;
  align-items: center;
}

.assignmentCardShip--inherited {
  font-size: 0.85em;
  font-style: italic;
  color: var(--wcfContentDimmedColor, #999);
}

/* Missionbriefing-Planer (briefingPlaner.tpl) - frei anlegbare Markdown-Briefings, wählbar mit
   Einheiten und Einsatzplan-Einträgen verknüpfbar */
.briefingList {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.briefingItem {
  border: 1px solid var(--wcfContentBorder, #ccc);
  border-radius: 4px;
  padding: 0.75rem;
}

.briefingItemHead {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}

.briefingTitle {
  flex: 1 1 auto;
  font-weight: 600;
}

.briefingItemBody {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.briefingEditorColumn {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  flex: 1 1 320px;
}

.briefingContent {
  width: 100%;
  min-height: 140px;
  font-family: monospace;
  resize: vertical;
}

.briefingPreviewLabel {
  margin-top: 0.25rem;
  color: var(--wcfContentDimmedColor, #999);
  font-size: 0.75em;
  text-transform: uppercase;
}

.briefingPreview {
  border: 1px dashed var(--wcfContentBorder, #ccc);
  border-radius: 4px;
  padding: 0.5rem 0.75rem;
  font-size: 0.9em;
}

.briefingPreview > :first-child {
  margin-top: 0;
}

.briefingPreview > :last-child {
  margin-bottom: 0;
}

.briefingLinksColumn {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  flex: 1 1 220px;
}

.briefingLinkGroup {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.briefingLinkGroupLabel {
  color: var(--wcfContentDimmedColor, #999);
  font-size: 0.75em;
  text-transform: uppercase;
}

.briefingLinkCheckboxList {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  max-height: 240px;
  overflow-y: auto;
}

.briefingLinkCheckbox {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.9em;
}

/* Befehle-Planer (commandPlaner.tpl) - wie Missionbriefings, zusätzlich Ausführungs-/
   Abschlusszeitpunkt + Status. Beeinflusst die ProcedurePlaner-Zeitleiste nicht. */
.commandList {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.commandItem {
  border: 1px solid var(--wcfContentBorder, #ccc);
  border-radius: 4px;
  padding: 0.75rem;
}

.commandItemHead {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}

.commandTitle {
  flex: 1 1 auto;
  font-weight: 600;
}

.commandItemMeta {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 0.75rem 1.5rem;
  margin-bottom: 0.75rem;
}

.commandMetaField {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  font-size: 0.85em;
}

.commandMetaField label {
  color: var(--wcfContentDimmedColor, #999);
  font-size: 0.75em;
  text-transform: uppercase;
}

.commandStatusControl {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.commandStatusRevoke {
  background: none;
  border: none;
  padding: 0;
  color: var(--wcfContentDimmedColor, #999);
  font-size: 0.85em;
  cursor: pointer;
  text-decoration: underline;
}

.commandItemBody {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.commandEditorColumn {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  flex: 1 1 320px;
}

.commandContent {
  width: 100%;
  min-height: 140px;
  font-family: monospace;
  resize: vertical;
}

.commandPreviewLabel {
  margin-top: 0.25rem;
  color: var(--wcfContentDimmedColor, #999);
  font-size: 0.75em;
  text-transform: uppercase;
}

.commandPreview {
  border: 1px dashed var(--wcfContentBorder, #ccc);
  border-radius: 4px;
  padding: 0.5rem 0.75rem;
  font-size: 0.9em;
}

.commandPreview > :first-child {
  margin-top: 0;
}

.commandPreview > :last-child {
  margin-bottom: 0;
}

.commandLinksColumn {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  flex: 1 1 220px;
}

.commandLinkGroup {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.commandLinkGroupLabel {
  color: var(--wcfContentDimmedColor, #999);
  font-size: 0.75em;
  text-transform: uppercase;
}

.commandLinkCheckboxList {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  max-height: 240px;
  overflow-y: auto;
}

.commandLinkCheckbox {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.9em;
}

/* Eine Zeile pro Einheit: Checkbox zum Verknüpfen/Lösen + (nur solange verknüpft) ihre
   Status-Icons daneben - jede Einheit bearbeitet ihren Fortschritt unabhängig. */
.commandLinkRow {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

.commandUnitStatusIcons {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  flex: 0 0 auto;
}

.commandUnitStatusIcon--inactive {
  color: var(--wcfContentDimmedColor, #999);
}

/* Karten-Planer (mapsPlaner.tpl) - Karten werden hier nur angelegt/benannt/parametrisiert,
   Zeichnungen/Marker liegen auf der verlinkten MapsPage (org.das-kartell.maps). */
.mapList {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.mapItem {
  border: 1px solid var(--wcfContentBorder, #ccc);
  border-radius: 4px;
  padding: 0.75rem;
}

.mapItemHead {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}

.mapName {
  flex: 1 1 auto;
  font-weight: 600;
}

.mapItemMeta {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 0.75rem 1.5rem;
}

.mapMetaField {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  font-size: 0.85em;
}

.mapMetaField label {
  color: var(--wcfContentDimmedColor, #999);
  font-size: 0.75em;
  text-transform: uppercase;
}

.mapMetaField--source {
  flex: 1 1 260px;
}

.mapMetaField--source .mapSource {
  width: 100%;
}

/* Teilnehmer-Übersicht (participantOverview.tpl) - Meine Zuteilung/Team/Ablaufplan/
   Missionbriefing auf einen Blick */
.overviewLayout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

@media (max-width: 700px) {
  .overviewLayout {
    grid-template-columns: 1fr;
  }
}
.overviewEmptyState,
.overviewBriefingCard,
.overviewCommandCard,
.overviewMyUnits,
.overviewTimeline {
  grid-column: 1/-1;
}

.overviewAssignmentCard,
.overviewTeamCard,
.overviewEmptyState,
.overviewBriefingCard,
.overviewCommandCard,
.overviewMyUnits,
.overviewTimeline {
  padding: 1rem;
  border: 1px solid var(--wcfContentBorder, #ccc);
  border-radius: 4px;
  background: var(--wcfContentContainerBackground, #fff);
}

.overviewAssignmentCard h2,
.overviewTeamCard h2,
.overviewBriefingCard h2,
.overviewCommandCard h2,
.overviewMyUnits h2,
.overviewTimeline h2,
.overviewEmptyState h2 {
  margin: 0 0 0.75rem;
  font-size: 1.1rem;
}

/* "Meine Einheiten" (ParticipantOverview.ts, renderMyUnitsSection()) - alle Nachfahren der
   eigenen Einheit, rein lesend mit denselben Badges wie AssignmentPlaner.ts' assignmentUnitLabel
   (die Badge-Klassen selbst werden von dort wiederverwendet, s. renderMyUnitsRow()). */
.overviewMyUnitsList,
.overviewMyUnitsChildren {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.overviewMyUnitsRow {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.overviewMyUnitsLabel {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  font-weight: 600;
}

.overviewMyUnitsChildren {
  margin-left: 1.25rem;
  padding-left: 0.75rem;
  border-left: 1px solid var(--wcfContentBorder, #ccc);
}

/* Überschreibt den Klick-Cursor/Hover der wiederverwendeten AssignmentPlaner.ts-Badge-Klassen -
   hier gibt es (anders als dort) keinen Editor dahinter. */
.overviewMyUnitsStaticBadge {
  cursor: default;
}

.overviewMyUnitsStaticBadge:hover {
  opacity: 1;
}

/* Einklapp-Kopfzeile eines Missionbriefings (ParticipantOverview.ts, renderBriefingCards()) -
   überschreibt den h2-Bottom-Margin von oben, der jetzt auf der ganzen Kopfzeile sitzt (nur wenn
   ausgeklappt, sonst folgt kein Inhalt mehr, der Abstand bräuchte). */
.overviewBriefingCard h2 {
  margin: 0;
}

.overviewBriefingCardHead {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  cursor: pointer;
}

.overviewBriefingCard:not(.overviewBriefingCard--collapsed) .overviewBriefingCardHead {
  margin-bottom: 0.75rem;
}

.overviewBriefingCollapseToggle {
  display: inline-flex;
  flex: 0 0 auto;
  color: var(--wcfContentDimmedColor, #999);
}

/* Kopfzeile "Mein Team" + Zahnrad (ParticipantOverview.ts, renderTeamCard()) - gleiches Muster
   wie .overviewBriefingCardHead, nur ohne Klick-auf-die-ganze-Zeile (nur das Icon selbst öffnet
   das Einstellungspanel). */
.overviewTeamCard h2 {
  margin: 0;
}

.overviewTeamCardHead {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}

.overviewTeamSettingsToggle {
  display: inline-flex;
  flex: 0 0 auto;
  padding: 0;
  border: none;
  background: none;
  cursor: pointer;
  color: var(--wcfContentDimmedColor, #999);
}

.overviewTeamSettingsToggle:hover {
  color: var(--wcfContentLink, #369);
}

.overviewTeamSettingsPanel {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  margin-bottom: 0.75rem;
  padding: 0.5rem 0.75rem;
  border: 1px solid var(--wcfContentBorder, #ccc);
  border-radius: 4px;
  background: var(--wcfContentBackground, #f9f9f9);
}

.overviewTeamSettingsOption {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.9em;
  cursor: pointer;
}

/* Status-Badge + Ausführungs-/Abschlusszeit auf der read-only Command-Karte
   (ParticipantOverview.ts, renderCommandCard()) - der Markdown-Inhalt darunter nutzt das
   bestehende .briefingPreview weiter, kein eigenes Äquivalent nötig. */
.overviewCommandMeta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  align-items: center;
  margin-bottom: 0.75rem;
  font-size: 0.85em;
}

.overviewCommandTime {
  color: var(--wcfContentDimmedColor, #999);
}

.overviewCommandStatus {
  padding: 0.15rem 0.5rem;
  border-radius: 999px;
  font-size: 0.8em;
  font-weight: 600;
  text-transform: uppercase;
}

.overviewCommandStatus--draft {
  background: #e0e0e0;
  color: #333;
}

.overviewCommandStatus--assigned {
  background: #2196f3;
  color: #fff;
}

.overviewCommandStatus--accepted {
  background: #8bc34a;
  color: #333;
}

.overviewCommandStatus--completed {
  background: #4caf50;
  color: #fff;
}

.overviewCommandStatus--failed {
  background: #f44336;
  color: #fff;
}

.overviewCommandStatus--rejected {
  background: #9e9e9e;
  color: #fff;
}

/* Ausgang selbst melden (ParticipantOverview.ts, renderCommandActions()) - immer alle drei im
   DOM, wie .assignmentCardFallenToggle nur gedimmt bis auf die zum aktuellen Status passende. */
.overviewCommandActions {
  display: inline-flex;
  gap: 0.35rem;
}

.overviewCommandAction {
  display: inline-flex;
  opacity: 0.4;
  color: var(--wcfContentDimmedColor, #999);
}

.overviewCommandAction.enabled:hover {
  opacity: 1;
}

.overviewCommandAction.enabled {
  cursor: pointer;
}

.overviewCommandAction--accepted.active {
  color: #8bc34a;
  opacity: 1;
}

.overviewCommandAction--completed.active {
  color: #4caf50;
  opacity: 1;
}

.overviewCommandAction--failed.active {
  color: #f44336;
  opacity: 1;
}

.overviewCommandAction--rejected.active {
  color: #fbc02d;
  opacity: 1;
}

/* Einsatzbereitschaft der eigenen Einheit melden (ParticipantOverview.ts,
   renderReadinessControl()) - gleiches Muster wie .overviewCommandAction. */
.overviewReadinessControl {
  display: inline-flex;
  gap: 0.35rem;
}

.overviewReadinessAction {
  display: inline-flex;
  opacity: 0.4;
  color: var(--wcfContentDimmedColor, #999);
}

.overviewReadinessAction.enabled:hover {
  opacity: 1;
}

.overviewReadinessAction.enabled {
  cursor: pointer;
}

.overviewReadinessAction--green.active {
  color: #4caf50;
  opacity: 1;
}

.overviewReadinessAction--yellow.active {
  color: #fbc02d;
  opacity: 1;
}

.overviewReadinessAction--red.active {
  color: #f44336;
  opacity: 1;
}

.overviewReadinessAction--black.active {
  color: #212121;
  opacity: 1;
}

/* isFallen-Selbst-Toggle (ParticipantOverview.ts, renderFallenToggle()) - gleiches Muster wie
   .assignmentCardFallenToggle in AssignmentPlaner.ts. */
.overviewFallenToggle {
  display: inline-flex;
  cursor: pointer;
  color: var(--wcfContentBorder, #ccc);
  opacity: 0.4;
}

.overviewFallenToggle:hover {
  opacity: 1;
}

.overviewFallenToggle.active {
  color: var(--wcfStatusErrorText, #c0392b);
  opacity: 1;
}

/* Standort als Text, klickbar (ParticipantOverview.ts, renderLocationBadge()) - öffnet das
   Eingabefeld darunter an derselben Stelle. Dezenter als AssignmentPlaner.ts'
   .assignmentLocationBadge (dort ein Chip in einer Baum-Zeile), hier nur gestrichelt
   unterstrichener Text passend zu den übrigen <dd>-Feldern auf dieser Karte. */
.overviewLocationBadge {
  cursor: pointer;
  border-bottom: 1px dashed var(--wcfContentBorder, #ccc);
}

.overviewLocationBadge:hover {
  color: var(--wcfContentLink, #369);
}

.overviewLocationBadge--empty {
  color: var(--wcfContentDimmedColor, #999);
  font-style: italic;
}

/* Standort-Selbst-Editor (ParticipantOverview.ts, renderLocationInput()) - gleiches Muster wie
   .unitLocation/.unitLocationInvalid in UnitPlaner.ts. */
.overviewLocationInput {
  width: 220px;
}

.overviewLocationInput.overviewLocationInvalid {
  border-color: var(--wcfStatusErrorText, #c0392b);
  transition: border-color 0.2s ease-in-out;
}

.overviewOrgPath {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem;
  margin: 0 0 0.75rem;
  padding: 0;
  list-style: none;
  color: var(--wcfContentDimmedColor, #999);
  font-size: 0.85em;
}

.overviewOrgPath li:not(:last-child)::after {
  margin-left: 0.35rem;
  content: "›";
}

.overviewMapLinks {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.75rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.overviewDepartmentBadge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-left: 0.4em;
  padding: 0 0.5em;
  border-radius: 3px;
  background: var(--wcfContentBorder, #ccc);
  color: var(--wcfContentDimmedColor, #333);
  font-size: 0.8em;
  font-weight: 600;
  white-space: nowrap;
}

.overviewTeamList {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.overviewTeamList li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.3rem 0.5rem;
  border-radius: 3px;
  background: var(--wcfContentBackground, #f9f9f9);
}

.overviewTeamMeta {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 0.35rem;
}

.overviewTeamRole {
  color: var(--wcfContentDimmedColor, #999);
  font-size: 0.85em;
}

.overviewTeamShip {
  color: var(--wcfContentDimmedColor, #999);
  font-size: 0.85em;
}

.overviewTeamPort {
  color: var(--wcfContentDimmedColor, #999);
  font-size: 0.85em;
}

/* Port eines Teammitglieds als Text, klickbar (ParticipantOverview.ts, renderTeamPortBadge()) -
   öffnet das Dropdown darunter an derselben Stelle, gleiches Muster wie .overviewLocationBadge. */
.overviewTeamPortBadge {
  cursor: pointer;
  border-bottom: 1px dashed var(--wcfContentBorder, #ccc);
}

.overviewTeamPortBadge:hover {
  color: var(--wcfContentLink, #369);
}

.overviewTeamPortBadge--empty {
  font-style: italic;
}

/* Port-Dropdown eines Teammitglieds (ParticipantOverview.ts, renderTeamPortSelect()) - kompakt
   statt der vollen Select-Breite, damit es sich in die Meta-Zeile neben Rolle/Skull einfügt. */
.overviewTeamPortSelect {
  max-width: 160px;
  padding: 0.1em 0.3em;
  font-size: 0.85em;
}

/* Rein anzeigend (kein Toggle wie .assignmentCardFallenToggle in AssignmentPlaner.ts) */
.overviewTeamFallen {
  display: inline-flex;
  color: var(--wcfStatusErrorText, #c0392b);
}

.overviewTimelineList {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  padding-left: 14px;
}

/* Grüner Strich mit Punkt, wie in ProcedurePlaner.ts/#procedure-container - zeigt anhand der
   aktuellen Uhrzeit, wo im Ablauf wir gerade stehen. Positionierung (top/height) kommt aus
   ParticipantOverview.ts' updateNowIndicator(). */
.overviewTimelineNowLine {
  position: absolute;
  left: 4px;
  width: 2px;
  background: #2ecc71;
  pointer-events: none;
}

.overviewTimelineNowDot {
  position: absolute;
  left: 0;
  width: 10px;
  height: 10px;
  margin-top: -5px;
  border-radius: 50%;
  background: #2ecc71;
  box-shadow: 0 0 0 2px var(--wcfContentContainerBackground, #fff);
  pointer-events: none;
}

.overviewTimelineRow {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.6rem;
  padding: 0.4rem 0;
  border-bottom: 1px solid var(--wcfContentBorder, #eee);
}

.overviewTimelineRow:last-child {
  border-bottom: none;
}

.overviewTimelineTimeColumn {
  display: flex;
  flex: 0 0 auto;
  flex-direction: column;
  min-width: 3.5em;
}

.overviewTimelineTime {
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

.overviewTimelineText {
  flex: 1 1 auto;
}

.overviewTimelineLocation {
  flex: 0 0 auto;
  color: var(--wcfContentDimmedColor, #999);
  font-size: 0.85em;
  font-style: italic;
}

/* Unterhalb der Uhrzeit: grün = früher dran als geplant, rot = später dran (Vorzeichen der
   aufsummierten Verzögerung) */
.overviewTimelineDelay {
  margin-top: 2px;
  font-size: 0.75em;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

.overviewTimelineDelay--early {
  color: #2ecc71;
}

.overviewTimelineDelay--late {
  color: #c0392b;
}

/* TeamSpeak-Channelplaner (teamspeakPlaner.tpl, im ACP für Channelstruktur-Vorlagen
   wiederverwendet) - reuses .unitTree/.unitNode/.unitNodeRow/.unitName/.unitPlanerToolbar/
   .unitImportControls von UnitPlaner.ts, hier nur die TeamSpeak-spezifischen Zusätze */
/* Ein gemeinsamer äußerer Rahmen um Sync, Channel-Baum und Hilfe.
   Hellgrau wie Content-Container (nicht schwarz/transparent). */
#teamspeak-planer-container.teamspeakPlanerPanel,
.teamspeakPlanerPanel {
  border: 1px solid var(--wcfContentBorder, #ccc);
  border-radius: 6px;
  padding: 1rem 1.25rem;
  background: var(--wcfContentContainerBackground, #f0f0f0);
  box-sizing: border-box;
}

/* Channel-Baum (z. B. „Test Staffelabend“): eigener Container mit Border + schwarzem Hintergrund */
#teamspeak-planer-container.teamspeakPlanerPanel > .unitTree,
.teamspeakPlanerPanel > .unitTree {
  margin: 0.75rem 0 0;
  padding: 0.75rem 1rem;
  border: 1px solid var(--wcfContentBorder, #ccc);
  border-radius: 4px;
  background: #12151a;
  box-sizing: border-box;
  color: #dfe7ec;
}

#teamspeak-planer-container.teamspeakPlanerPanel > .teamspeakPlanerHelp,
.teamspeakPlanerPanel > .teamspeakPlanerHelp {
  margin-top: 1rem;
  padding-top: 0;
  border-top: none;
}

.teamspeakPlanerHelp woltlab-core-notice {
  margin: 0;
}

.teamspeakRootLabel {
  font-weight: 700;
}

/* Feld „Name des TeamSpeak-Kanals“ unter der Wurzelzeile (TeamspeakPlaner) */
.teamspeakRootChannelName {
  margin: 0.5rem 0 0.75rem;
}

.teamspeakRootChannelNameLabel {
  display: block;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.teamspeakRootChannelNameRow {
  align-items: center;
  display: flex;
  gap: 0.5rem;
}

.teamspeakRootChannelNameInput {
  flex: 1 1 auto;
  max-width: 40rem;
}

.teamspeakRootChannelNameCounter {
  color: var(--wcfContentDimmedColor, #999);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.teamspeakRootChannelNameDescription {
  color: var(--wcfContentDimmedColor, #999);
  display: block;
  margin-top: 0.25rem;
}

.teamspeakRootChannelName--tooLong .teamspeakRootChannelNameInput {
  border-color: var(--wcfStatusErrorBorder, #c00);
  color: var(--wcfStatusErrorText, #c00);
}
.teamspeakRootChannelName--tooLong .teamspeakRootChannelNameCounter {
  color: var(--wcfStatusErrorText, #c00);
  font-weight: 700;
}

.teamspeakRootChannelNameError {
  font-weight: 700;
}

.teamspeakUnitAnchorLabel {
  color: var(--wcfContentDimmedColor, #999);
  font-style: italic;
}

.teamspeakUnitPreview > .unitNodeRow {
  opacity: 0.75;
}

.teamspeakUnitPreviewLabel {
  color: var(--wcfContentDimmedColor, #999);
  font-size: 0.9em;
}

.teamspeakStatusBadge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.4em;
  height: 1.4em;
  border-radius: 50%;
  font-size: 0.8em;
  font-weight: 700;
}

.teamspeakStatusBadge--exists {
  background: var(--wcfStatusSuccessBackground, #2ecc71);
  color: var(--wcfStatusSuccessText, #fff);
}

.teamspeakStatusBadge--pending {
  border: 1px dashed var(--wcfContentBorder, #ccc);
}

.teamspeakSyncControls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  margin: 1rem 0;
  padding: 0.75rem;
  border: 1px solid var(--wcfContentBorder, #ccc);
  border-radius: 4px;
  background: var(--wcfContentContainerBackground, #fff);
}

.teamspeakParentLabel {
  font-weight: 600;
}

.teamspeakParentSelect {
  min-width: 260px;
}

.teamspeakSyncResults {
  margin: 0 0 1rem;
  padding: 0.75rem 1rem;
  border: 1px solid var(--wcfContentBorder, #ccc);
  border-radius: 4px;
  background: var(--wcfContentContainerBackground, #fff);
}

.teamspeakSyncResults ul {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.teamspeakSyncResult--exists,
.teamspeakSyncResult--noUnit,
.teamspeakSyncResult--noChannel {
  color: var(--wcfContentDimmedColor, #999);
}

/* ==========================================================================
   Kommunikationsregeln (/kommunikationsregeln/) und Datenschutzerklärung (/datenschutz/)
   Optik 1:1 wie "Nutzungsbedingungen" (#scTermsOfUse), eigener Scope.
   ========================================================================== */
#krtCommunicationRules,
#krtPrivacyPolicy {
  --krt-cr-gap: 1rem;
  --krt-cr-indent: 1.4rem;
  --krt-cr-size-1: 1.4rem;
}
#krtCommunicationRules .termsList,
#krtPrivacyPolicy .termsList {
  margin: 0;
  padding-left: 0;
  list-style-type: none;
}
#krtCommunicationRules .term,
#krtPrivacyPolicy .term {
  margin: 0 0 var(--krt-cr-gap) 0;
  font-size: 1rem;
}
#krtCommunicationRules .term:last-child,
#krtPrivacyPolicy .term:last-child {
  margin-bottom: 0;
}
#krtCommunicationRules .term.depth-1,
#krtPrivacyPolicy .term.depth-1 {
  font-size: var(--krt-cr-size-1);
}
#krtCommunicationRules .termCaption,
#krtPrivacyPolicy .termCaption {
  margin: 0 0 0.85rem 0;
  font-size: inherit;
  font-weight: 600;
  line-height: 1.2;
}
#krtCommunicationRules .termDescription,
#krtPrivacyPolicy .termDescription {
  margin: 0;
  color: var(--wcfContentText);
  font-size: 1rem;
  line-height: var(--wcfFontLineHeight);
  /* Unterpunkte wie im Dokument / in den Nutzungsbedingungen: 1. -> a. -> i. */
}
#krtCommunicationRules .termDescription > :first-child,
#krtPrivacyPolicy .termDescription > :first-child {
  margin-top: 0;
}
#krtCommunicationRules .termDescription > :last-child,
#krtPrivacyPolicy .termDescription > :last-child {
  margin-bottom: 0;
}
#krtCommunicationRules .termDescription ul,
#krtCommunicationRules .termDescription ol,
#krtPrivacyPolicy .termDescription ul,
#krtPrivacyPolicy .termDescription ol {
  margin-left: var(--krt-cr-indent);
}
#krtCommunicationRules .termDescription ol ol,
#krtPrivacyPolicy .termDescription ol ol {
  list-style-type: lower-alpha;
}
#krtCommunicationRules .termDescription ol ol ol,
#krtPrivacyPolicy .termDescription ol ol ol {
  list-style-type: lower-roman;
}

/* ==========================================================================
   Staffelleiter-Handbuch (/staffelleiter-handbuch/) – org.das-kartell.landing
   ========================================================================== */
#krtSlHandbook .krtSlHandbookStand {
  color: var(--wcfContentDimmedText);
  margin-bottom: 20px;
}
#krtSlHandbook .krtSlHandbookToc {
  background-color: var(--wcfContentContainerBackground);
  border: 1px solid var(--wcfContentBorderInner);
  border-radius: var(--wcfBorderRadiusContainer, 8px);
  margin-bottom: 30px;
  padding: 15px 20px;
}
#krtSlHandbook .krtSlHandbookToc .krtSlHandbookTocTitle {
  font-size: var(--wcfFontSizeHeadline);
  font-weight: 600;
  margin: 0 0 10px 0;
}
#krtSlHandbook .krtSlHandbookToc ol {
  list-style: none;
  margin: 0;
  padding: 0;
}
#krtSlHandbook .krtSlHandbookToc .krtSlHandbookTocLevel1 {
  margin-top: 6px;
}
#krtSlHandbook .krtSlHandbookToc .krtSlHandbookTocLevel1 > a {
  font-weight: 600;
}
#krtSlHandbook .krtSlHandbookToc .krtSlHandbookTocSub {
  margin-left: 20px;
}
#krtSlHandbook .krtSlHandbookToc .krtSlHandbookTocLevel2 {
  margin-top: 3px;
}
#krtSlHandbook .krtSlHandbookContent h2,
#krtSlHandbook .krtSlHandbookContent h3,
#krtSlHandbook .krtSlHandbookContent h4 {
  scroll-margin-top: 80px;
}
#krtSlHandbook .krtSlHandbookContent [id] {
  scroll-margin-top: 80px;
}
#krtSlHandbook .krtSlHandbookContent table {
  border-collapse: collapse;
  margin: 10px 0 20px 0;
  width: 100%;
}
#krtSlHandbook .krtSlHandbookContent table th,
#krtSlHandbook .krtSlHandbookContent table td {
  border: 1px solid var(--wcfContentBorderInner);
  padding: 6px 10px;
  text-align: left;
  vertical-align: top;
}
#krtSlHandbook .krtSlHandbookContent table th {
  background-color: var(--wcfContentContainerBackground);
  font-weight: 600;
}
#krtSlHandbook .krtSlHandbookBackToTop {
  margin-top: 30px;
  text-align: right;
}

.context-menu {
  background: #ffffff;
  border: 1px solid #cccccc;
  border-radius: 6px;
  padding: 6px 0;
  min-width: 160px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.15);
  font-family: sans-serif;
}

.context-menu-item {
  padding: 8px 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  color: #000000;
  cursor: pointer;
}

.context-menu-item.disabled {
  color: #cfcfcf;
  cursor: default;
}

.context-menu-item:hover:not(.disabled) {
  background: #f2f2f2;
}

.context-menu-icon {
  width: 16px;
  height: 16px;
}

.context-menu hr {
  border: none;
  border-top: 1px solid #e5e5e5;
  margin: 4px 0;
}

#MarkerContextMenu .dropdownItem {
  display: flex;
  align-items: center;
}

#MarkerContextMenu .bg-marker {
  display: flex;
  margin-right: 5px;
}

#ToolbarOverlay .color-picker {
  margin-left: 5px;
}

/* =========================================================
   ToolbarOverlay – modern glass design system
   ========================================================= */
:root {
  --tb-bg: rgba(23, 25, 30, 0.68);
  --tb-bg-solid: rgba(23, 25, 30, 0.92);
  --tb-border: rgba(255, 255, 255, 0.09);
  --tb-accent: #01bddf;
  --tb-accent-soft: rgba(1, 189, 223, 0.18);
  --tb-text: #f2f4f6;
  --tb-text-muted: rgba(242, 244, 246, 0.6);
  --tb-radius-lg: 16px;
  --tb-radius-md: 12px;
  --tb-radius-sm: 8px;
  --tb-shadow: 0 10px 30px rgba(0, 0, 0, 0.35), 0 2px 8px rgba(0, 0, 0, 0.25);
  --tb-blur: 18px;
}

@keyframes toolbarFadeIn {
  from {
    opacity: 0;
    transform: translateY(-4px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}
/* Live-UTC-Uhr oben links, s. UtcClock.ts. Knapp über dem .toolbar-overlay (top: 30px/left: 30px) -
   eigene, schmalere Pille statt dessen top-Wert zu verschieben, damit keine anderen an dessen
   Position gebundenen Berechnungen (Popup-Platzierung etc.) angefasst werden müssen. */
.utc-clock {
  position: absolute;
  top: 4px;
  left: 30px;
  z-index: 10;
  padding: 3px 10px;
  background: var(--tb-bg);
  border: 1px solid var(--tb-border);
  border-radius: var(--tb-radius-lg);
  box-shadow: var(--tb-shadow);
  backdrop-filter: blur(var(--tb-blur));
  -webkit-backdrop-filter: blur(var(--tb-blur));
  color: var(--tb-text);
  font-family: "SF Mono", Consolas, "Courier New", monospace;
  font-size: 11px;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  pointer-events: none;
}

.toolbar-overlay {
  position: absolute;
  top: 30px;
  left: 30px;
  z-index: 10;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  pointer-events: none;
}
.toolbar-overlay > * {
  pointer-events: auto;
}

.toolbar-panel {
  flex-direction: column;
  gap: 6px;
  width: 68px;
  padding: 10px 8px;
  background: var(--tb-bg);
  border: 1px solid var(--tb-border);
  border-radius: var(--tb-radius-lg);
  box-shadow: var(--tb-shadow);
  backdrop-filter: blur(var(--tb-blur));
  -webkit-backdrop-filter: blur(var(--tb-blur));
  color: var(--tb-text);
  animation: toolbarFadeIn 0.15s ease-out both;
}

.toolbar-panel--primary {
  animation: none;
  width: 128px;
}

.toolbar-panel--teams {
  margin-top: 8px;
  width: auto;
  min-width: 68px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 6px;
}

.toolbar-panel--pen {
  margin-top: 8px;
  width: auto;
  min-width: 180px;
  gap: 10px;
}

.toolbar-panel__row {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.toolbar-panel__row .form-label {
  color: var(--tb-text-muted);
  font-size: 12px;
  font-weight: 500;
}

.toolbar-color {
  width: 100%;
  height: 32px;
  padding: 2px;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--tb-radius-sm);
}

.toolbar-panel--pen .form-range::-webkit-slider-thumb {
  background: var(--tb-accent);
}

.toolbar-panel--pen .form-range::-moz-range-thumb {
  background: var(--tb-accent);
}

.toolbar-menu {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(36px, 1fr));
  gap: 4px;
  margin: 0;
  padding: 0;
}

.toolbar-menu__item {
  display: flex;
  flex-direction: column;
}

.toolbar-menu__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  aspect-ratio: 1/1;
  padding: 0;
  border: 1px solid transparent;
  border-radius: var(--tb-radius-md);
  background: transparent;
  color: var(--tb-text-muted);
  cursor: pointer;
  text-decoration: none;
  transition: background-color 0.15s ease, color 0.15s ease, transform 0.1s ease, border-color 0.15s ease;
}

.toolbar-menu__btn:hover {
  background: rgba(255, 255, 255, 0.08);
  color: var(--tb-text);
  transform: translateY(-1px);
}

.toolbar-menu__btn:active {
  transform: translateY(0);
}

.toolbar-menu__btn.active {
  background: var(--tb-accent-soft);
  border-color: rgba(1, 189, 223, 0.4);
  color: var(--tb-accent);
}

.toolbar-menu__extra {
  display: flex;
  justify-content: center;
  margin-top: 4px;
}

.toolbar-dropdown {
  position: relative;
  z-index: 20;
  min-width: 120px;
  margin-bottom: 8px;
  padding: 8px;
  background: var(--tb-bg);
  border: 1px solid var(--tb-border);
  border-radius: var(--tb-radius-md);
  box-shadow: var(--tb-shadow);
  backdrop-filter: blur(var(--tb-blur));
  -webkit-backdrop-filter: blur(var(--tb-blur));
}

/* Reihe aus Kanal-Auswahl + NotificationBell (s. ToolbarOverlay.ts's createElements()) - erstes
   Element (#mainChannelSelect) füllt den verfügbaren Platz, die Glocke bleibt bei ihrer
   Icon-Button-Breite und rückt mit Abstand daneben. Eigene margin-bottom statt der von
   .toolbar-dropdown geerbten (sonst doppelter Abstand vor dem Icon-Toolbar darunter). */
.toolbar-topbar {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}

.toolbar-topbar > .toolbar-dropdown {
  margin-bottom: 0;
}

.toolbar-topbar > #mainChannelSelect {
  flex: 1 1 auto;
  min-width: 0;
}

/* NotificationBell neben #mainChannelSelect (s. CommandNotificationBell.ts) - eigene, schmalere
   .toolbar-dropdown-Variante (Icon-Button statt Text-Dropdown-Toggle). Basis-Verhalten
   (position/display via .dropdownMenu/.dropdownOpen, Karten-Optik via ".toolbar-overlay
   .dropdownMenu" oben) kommt bereits aus den generischen Regeln - hier nur die Icon-Button-Maße
   und die Listendarstellung selbst. */
.notification-bell {
  flex: 0 0 auto;
  min-width: auto;
  padding: 0;
  background: transparent;
  border: none;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.notification-bell__btn {
  position: relative;
  width: 36px;
  height: 36px;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.notification-bell__badge {
  position: absolute;
  top: -4px;
  right: -4px;
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: #e5484d;
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  line-height: 1;
}

.notification-bell__menu {
  left: auto;
  right: 0;
  top: 200px;
  min-width: 260px;
  max-width: 320px;
  padding: 8px;
}

.notification-bell__list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-height: 320px;
  overflow-y: auto;
}

.notification-bell__empty {
  color: var(--tb-text-muted);
  font-size: 13px;
  padding: 8px 4px;
}

.notification-bell__item {
  padding: 8px;
  border-radius: var(--tb-radius-sm);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--tb-border);
}

.notification-bell__item-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.notification-bell__item-title {
  color: var(--tb-text);
  font-weight: 600;
  font-size: 13px;
}

.notification-bell__item-status {
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 2px 6px;
  border-radius: 999px;
  white-space: nowrap;
  background: rgba(255, 255, 255, 0.12);
  color: var(--tb-text-muted);
}

.notification-bell__item-status--assigned {
  background: rgba(1, 189, 223, 0.18);
  color: var(--tb-accent);
}

.notification-bell__item-status--accepted {
  background: rgba(250, 204, 21, 0.18);
  color: #8bc34a;
}

.notification-bell__item-status--completed {
  background: rgba(74, 222, 128, 0.18);
  color: #4ade80;
}

.notification-bell__item-status--failed,
.notification-bell__item-status--rejected {
  background: rgba(248, 113, 113, 0.18);
  color: #f87171;
}

.notification-bell__item-time {
  color: var(--tb-text-muted);
  font-size: 11px;
  margin-top: 2px;
}

/* command.content wird als Markdown gerendert (renderMarkdown() in CommandNotificationBell.ts,
   dupliziert aus ParticipantOverview.ts) statt als Rohtext - kein white-space:pre-wrap mehr nötig,
   Zeilenumbrüche kommen jetzt über <br>/<p> aus dem gerenderten HTML selbst. */
.notification-bell__item-content {
  color: var(--tb-text);
  font-size: 12px;
  margin-top: 4px;
}

.notification-bell__item-content > :first-child {
  margin-top: 0;
}

.notification-bell__item-content > :last-child {
  margin-bottom: 0;
}

.notification-bell__item-content p,
.notification-bell__item-content ul,
.notification-bell__item-content ol,
.notification-bell__item-content blockquote,
.notification-bell__item-content h1,
.notification-bell__item-content h2,
.notification-bell__item-content h3,
.notification-bell__item-content h4,
.notification-bell__item-content h5,
.notification-bell__item-content h6 {
  margin: 0 0 6px;
}

.notification-bell__item-content h1,
.notification-bell__item-content h2,
.notification-bell__item-content h3,
.notification-bell__item-content h4,
.notification-bell__item-content h5,
.notification-bell__item-content h6 {
  color: var(--tb-text);
  font-size: 12px;
  font-weight: 700;
}

.notification-bell__item-content ul,
.notification-bell__item-content ol {
  padding-left: 18px;
}

.notification-bell__item-content blockquote {
  padding-left: 8px;
  border-left: 2px solid var(--tb-border);
  color: var(--tb-text-muted);
}

.notification-bell__item-content code {
  padding: 1px 4px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.1);
  font-size: 11px;
}

.notification-bell__item-content a {
  color: var(--tb-accent);
}

/* Vier Status-Melde-Icons je Command (nur mit hasClearance klickbar), s. CommandNotificationBell.ts's renderActions(). */
.notification-bell__actions {
  display: flex;
  gap: 6px;
  margin-top: 6px;
}

.notification-bell__action {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: var(--tb-radius-sm);
  background: rgba(255, 255, 255, 0.06);
  color: var(--tb-text-muted);
  opacity: 0.4;
}

.notification-bell__action.enabled {
  opacity: 1;
  cursor: pointer;
  transition: background-color 0.15s ease, color 0.15s ease;
}

.notification-bell__action.enabled:hover {
  background: rgba(255, 255, 255, 0.16);
  color: var(--tb-text);
}

/* Farbe deckungsgleich mit .overviewCommandAction--accepted in org.das-kartell.eventplaner/files/style/krt-eventplaner-style.scss. */
.notification-bell__action--accepted.active {
  background: rgba(139, 195, 74, 0.22);
  color: #8bc34a;
}

.notification-bell__action--completed.active {
  background: rgba(74, 222, 128, 0.22);
  color: #4ade80;
}

.notification-bell__action--failed.active,
.notification-bell__action--rejected.active {
  background: rgba(248, 113, 113, 0.22);
  color: #f87171;
}

.toolbar-overlay .dropdownToggle {
  border-radius: var(--tb-radius-sm);
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: var(--tb-text);
  transition: background-color 0.15s ease;
}

.toolbar-overlay .dropdownToggle:hover {
  background: rgba(255, 255, 255, 0.26);
}

.toolbar-overlay .dropdownMenu,
.krt-popup .dropdownMenu {
  background: var(--tb-bg-solid);
  border: 1px solid var(--tb-border);
  border-radius: var(--tb-radius-sm);
  box-shadow: var(--tb-shadow);
  backdrop-filter: blur(var(--tb-blur));
  -webkit-backdrop-filter: blur(var(--tb-blur));
  overflow: hidden;
}

.toolbar-overlay .dropdownItem,
.krt-popup .dropdownItem {
  color: var(--tb-text);
  transition: background-color 0.12s ease;
}

.toolbar-overlay .dropdownItem:hover,
.krt-popup .dropdownItem:hover {
  background: rgba(255, 255, 255, 0.08);
}

.toolbar-team-btn {
  border-radius: var(--tb-radius-sm) !important;
  border: 1px solid var(--tb-border) !important;
  background: rgba(255, 255, 255, 0.06) !important;
  color: var(--tb-text) !important;
  transition: background-color 0.15s ease, transform 0.1s ease;
}

.toolbar-team-btn:hover {
  background: rgba(255, 255, 255, 0.12) !important;
  transform: translateY(-1px);
}

.toolbar-team-btn__row {
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

/* Füllt den verfügbaren Platz, damit Farbwähler + Marker-Icon danach immer an derselben Stelle
   sitzen, egal wie lang der Team-Name ist - statt dass sie mit dem Text mitwandern. */
.toolbar-team-btn__label {
  flex: 1 1 auto;
  min-width: 0;
  text-align: left;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.toolbar-team-btn__marker {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: var(--tb-radius-sm);
  color: var(--tb-text-muted);
  transition: background-color 0.15s ease, color 0.15s ease;
}

/* fa-icon unterstützt nur feste size-Stufen (16 ist die kleinste) - hier per CSS weiter
   verkleinert, damit es neben dem Farbwähler nicht zu groß wirkt. */
.toolbar-team-btn__marker fa-icon {
  transform: scale(0.85);
}

.toolbar-team-btn__marker:hover {
  background: rgba(255, 255, 255, 0.14);
  color: var(--tb-text);
}

/* Marker für dieses Team existiert bereits - Klick fokussiert ihn statt einen neuen anzulegen. */
.toolbar-team-btn__marker--active {
  color: var(--tb-accent);
}

/* Floating popup cards (marker insert, text insert, ...) */
.krt-popup {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 10;
  animation: toolbarFadeIn 0.15s ease-out both;
}

.krt-popup .card {
  background: var(--tb-bg-solid) !important;
  border: 1px solid var(--tb-border) !important;
  border-radius: var(--tb-radius-lg) !important;
  box-shadow: var(--tb-shadow);
  backdrop-filter: blur(var(--tb-blur));
  -webkit-backdrop-filter: blur(var(--tb-blur));
  overflow: hidden;
  min-width: 260px;
}

.krt-popup .card-header {
  background: rgba(255, 255, 255, 0.04) !important;
  border-bottom: 1px solid var(--tb-border) !important;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--tb-text-muted);
  padding: 10px 14px;
}

.krt-popup .card-body {
  padding: 14px;
}

.krt-popup__actions {
  padding: 10px;
  background: var(--tb-bg-solid);
  border: 1px solid var(--tb-border);
  border-radius: var(--tb-radius-lg);
  box-shadow: var(--tb-shadow);
  backdrop-filter: blur(var(--tb-blur));
  -webkit-backdrop-filter: blur(var(--tb-blur));
}

.krt-popup .form-label {
  color: var(--tb-text-muted);
  font-size: 12px;
  font-weight: 500;
}

.krt-popup .form-control {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--tb-border);
  border-radius: var(--tb-radius-sm);
  color: var(--tb-text);
}

.krt-popup textarea.form-control {
  resize: vertical;
  min-height: 70px;
}

.krt-popup .form-control:focus {
  background: rgba(255, 255, 255, 0.09);
  border-color: var(--tb-accent);
  box-shadow: 0 0 0 3px var(--tb-accent-soft);
  color: var(--tb-text);
  outline: none;
}

.krt-popup .form-check-input {
  background-color: rgba(255, 255, 255, 0.1);
  border-color: var(--tb-border);
}

.krt-popup .form-check-input:checked {
  background-color: var(--tb-accent);
  border-color: var(--tb-accent);
}

.krt-popup .form-range::-webkit-slider-thumb {
  background: var(--tb-accent);
}

.krt-popup .form-range::-moz-range-thumb {
  background: var(--tb-accent);
}

.krt-popup input[type=color].form-control {
  padding: 2px;
  height: 34px;
}

.krt-popup .button.buttonSecondary {
  border-radius: var(--tb-radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.16);
  color: var(--tb-text);
  transition: background-color 0.15s ease, transform 0.1s ease;
}

.krt-popup .button.buttonSecondary:hover {
  background: rgba(255, 255, 255, 0.26);
  transform: translateY(-1px);
}

.krt-popup .krt-popup__btn--primary,
.krt-popup #okButton {
  background: var(--tb-accent);
  border-color: var(--tb-accent);
  color: #06222a;
  font-weight: 600;
}

.krt-popup .krt-popup__btn--primary:hover,
.krt-popup #okButton:hover {
  background: #17cfef;
}

.krt-popup__style-toggle {
  gap: 6px;
}

.krt-popup .krt-popup__toggle-btn {
  flex: 0 0 auto;
  width: 36px;
  height: 34px;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.krt-popup .krt-popup__toggle-btn.active {
  background: var(--tb-accent-soft);
  border-color: rgba(1, 189, 223, 0.4);
  color: var(--tb-accent);
}

/* Zahnrad-Button unten rechts + sein Popup, s. SettingsPanel.ts */
.settings-fab {
  position: absolute;
  bottom: 24px;
  right: 24px;
  z-index: 10;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--tb-border);
  border-radius: 50%;
  background: var(--tb-bg);
  color: var(--tb-text-muted);
  cursor: pointer;
  box-shadow: var(--tb-shadow);
  backdrop-filter: blur(var(--tb-blur));
  -webkit-backdrop-filter: blur(var(--tb-blur));
  transition: background-color 0.15s ease, color 0.15s ease, transform 0.1s ease;
}

.settings-fab:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--tb-text);
  transform: translateY(-1px) rotate(20deg);
}

/* .krt-popup verankert standardmäßig oben links (top:0;left:0) - hier per ID (höhere
   Spezifität als die einzelne .krt-popup-Klasse) auf unten rechts über dem Button umgehängt. */
#SettingsPanel {
  top: auto;
  left: auto;
  bottom: 78px;
  right: 24px;
}

.settings-panel__empty {
  color: var(--tb-text-muted);
  font-size: 13px;
}

.settings-panel .card-body {
  max-width: 240px;
}

.settings-panel__section + .settings-panel__section {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--tb-border);
}

.settings-panel__section-title {
  color: var(--tb-text-muted);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.settings-panel__list {
  display: flex;
  flex-direction: column;
  gap: 4px;
  max-height: 220px;
  overflow-y: auto;
}

.settings-panel__list .form-check-label {
  color: var(--tb-text);
  font-size: 13px;
}

/* "Marker (Rechtsklick)"-Sektion, s. SettingsPanel.ts's buildMarkerPresetsSection()/
   buildMarkerPresetForm() - Liste bestehender Presets + Mini-Formular zum Anlegen weiterer. */
.marker-preset-row {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 4px 6px;
  border-radius: var(--tb-radius-sm);
  background: rgba(255, 255, 255, 0.04);
}

.marker-preset-row__info {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 6px;
}

.marker-preset-row__label {
  color: var(--tb-text);
  font-size: 13px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.marker-preset-row__sidc {
  flex: 0 0 auto;
  color: var(--tb-text-muted);
  font-family: "SF Mono", Consolas, "Courier New", monospace;
  font-size: 10px;
}

.marker-preset-row__timestamp {
  flex: 0 0 auto;
  color: var(--tb-accent);
}

/* fa-icon kennt nur diskrete Größen (16/24/32/...) - kleiner als 16 gibt es nicht (s. Kommentar in
   SettingsPanel.ts), daher hier per transform auf die vorher genutzten 11px/12px herunterskaliert. */
.marker-preset-row__timestamp fa-icon {
  display: inline-block;
  transform: scale(0.6875);
}

.marker-preset-row__remove {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  padding: 0;
  border: none;
  border-radius: var(--tb-radius-sm);
  background: transparent;
  color: var(--tb-text-muted);
  cursor: pointer;
}

/* s. Kommentar bei .marker-preset-row__timestamp fa-icon oben - vorher 12px. */
.marker-preset-row__remove fa-icon {
  display: inline-block;
  transform: scale(0.75);
}

.marker-preset-row__remove:hover {
  background: rgba(248, 113, 113, 0.18);
  color: #f87171;
}

.marker-preset-form {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 8px;
}

.marker-preset-form .form-check {
  margin: 2px 0;
}

.marker-preset-form .form-check-label {
  color: var(--tb-text-muted);
  font-size: 12px;
}

/* Vom SettingsPanel ausgeblendete Tool-/Unit-Buttons (ToolbarOverlay.ts's applyToolVisibility()/
   applyUnitVisibility()) - eigene Klasse statt d-none, damit sie sich nicht mit dem Hotspot-
   Buttons eigenem Clearance-d-none gegenseitig überschreiben (s. dortigen Kommentar). */
.toolbar-menu__item.tool-hidden,
.toolbar-team-btn.tool-hidden {
  display: none;
}

/* Tastenkürzel-Übersicht links neben dem Settings-Button, s. ToolHintBar.ts. Gleiche Höhe (44px)
   wie .settings-fab, damit beide ohne weiteres Nachrechnen auf derselben bottom-Linie sitzen;
   right ist dessen right(24px) + width(44px) + 10px Abstand. */
.tool-hint-bar {
  position: absolute;
  bottom: 24px;
  right: 78px;
  z-index: 10;
  height: 44px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 14px;
  background: var(--tb-bg);
  border: 1px solid var(--tb-border);
  border-radius: var(--tb-radius-lg);
  box-shadow: var(--tb-shadow);
  backdrop-filter: blur(var(--tb-blur));
  -webkit-backdrop-filter: blur(var(--tb-blur));
  color: var(--tb-text-muted);
  font-size: 12px;
  white-space: nowrap;
}

.tool-hint {
  display: flex;
  align-items: center;
  gap: 6px;
}

/* Ahmt eine physische Taste nach (Rand + eingelassener Glanz oben + Schatten unten). */
.tool-hint__key {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 22px;
  height: 22px;
  padding: 0 5px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.1);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.12) inset, 0 1px 2px rgba(0, 0, 0, 0.35);
  color: var(--tb-text);
  font-size: 12px;
  font-weight: 600;
  line-height: 1;
}

.tool-hint__label {
  color: var(--tb-text-muted);
}

/* Shift-Hinweis: "Auswahl" normalerweise, "Linie" solange Pen/Line-Modus aktiv ist - body.tools-pen
   deckt beide Fälle bereits ab (Pen-Tool per Toolbar-Button gewählt ODER Cmd/Strg gerade gehalten,
   s. Drawing.ts's initMouseTracker()/ToolbarOverlay.ts's Pen-Button - dieselbe Bedingung, unter der
   Shift dort tatsächlich auf Linie statt Auswahl umschaltet). Beide Labels liegen im DOM
   (ToolHintBar.ts), hier nur ein-/ausgeblendet statt neu gerendert. */
.tool-hint--shift .tool-hint__label--pen {
  display: none;
}

body.tools-pen .tool-hint--shift .tool-hint__label:not(.tool-hint__label--pen) {
  display: none;
}

body.tools-pen .tool-hint--shift .tool-hint__label--pen {
  display: inline;
}

/* ESC-Hinweis: nur sichtbar, solange eine Auswahl aktiv ist (body.has-selection, s. Drawing.ts's
   updateSelectionBodyClass()). */
.tool-hint--selection-only {
  display: none;
}

body.has-selection .tool-hint--selection-only {
  display: flex;
}

/* Entf-Hinweis: zusätzlich zur Auswahl auch sichtbar, solange bloß eine Line/Marker gehovert wird
   (body.line-hover/marker-hover, s. Drawing.ts's mouseEnterLine()/OpenSeadragonHTMLElements.ts's
   addMouseTracker()) - Entf löscht auch die, unabhängig von einer Auswahl. */
.tool-hint--delete {
  display: none;
}

body.has-selection .tool-hint--delete,
body.line-hover .tool-hint--delete,
body.marker-hover .tool-hint--delete {
  display: flex;
}

/* Solange der Laserpointer aktiv ist (body.tools-pointer, s. Drawing.ts's setPointerActive()),
   nehmen Marker keine Mausevents mehr an - Hover/Drag/Kontextmenü würden sonst den Laserpointer
   stören/verdecken. .krt-map-element wird auf jedem Marker-Wrapper gesetzt, s. addMarker()
   (OpenSeadragonHTMLElements.ts). */
body.tools-pointer .krt-map-element {
  pointer-events: none !important;
}

/* Page shell (from templates/maps.tpl <style> / static inline) – nur Kartenseite, da style/*.scss global kompiliert wird */
html.krtMapsPage body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow: hidden;
}

html.krtMapsPage code {
  font-family: source-code-pro, Menlo, Monaco, Consolas, "Courier New", monospace;
}

.krt-maps-layout {
  display: flex;
  height: 100vh;
}

#map {
  flex: 1;
}

body.tools-pen .openseadragon-canvas {
  cursor: url("/images/icons/pen.svg") 0 24, auto;
}

/* Nicht auf Mac: STRG löst gleichzeitig Pen-Modus und Laserpointer aus (s. Drawing.ts) –
   der Pen-Cursor würde den Laserpointer sonst verdecken. */
body:not(.platform-mac).tools-pen.tools-pointer .openseadragon-canvas {
  cursor: none;
}

body.tools-eraser .openseadragon-canvas {
  cursor: url("/images/icons/eraser.svg") 0 20, auto;
}

body.tools-marker .openseadragon-canvas {
  cursor: url("/images/icons/marker.svg") 0 24, auto;
}

body.tools-move .openseadragon-canvas {
  cursor: url("/images/icons/move.svg") 12 12, auto;
}

body.tools-ping .openseadragon-canvas {
  cursor: url("/images/icons/ping.svg") 12 12, auto;
}

body.tools-marker .marker-container {
  display: flex !important;
}

.openseadragon-canvas {
  outline: none;
}

.dropdown-item .bg-marker {
  padding-left: 4px;
  padding-right: 4px;
  border-radius: 5px;
  background-color: #f8f9fa;
}

/* KRT Echelon Overview – Staffel-Übersicht */
.krtEchelonListView__container {
  margin-top: 1.5rem;
}

.krtEchelonListView__container .listView__itemList,
.krtEchelonListView {
  display: block;
}

.krtEchelonListView__container .listView__itemList {
  padding: 0;
  margin: 0;
  list-style: none;
}

/* Äußerer grauer Container (wie Rangmatrix / Award-Übersicht) */
.krtEchelonOverviewBody {
  margin-top: 0;
}

/* Thread 10086 (Mockup RagnarSeven): höchstens vier Kacheln pro Reihe, mindestens 260px breit */
.krtEchelonCardGrid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(max(260px, (100% - 3rem) / 4), 1fr));
  gap: 1rem;
}

.krtEchelonCard {
  position: relative;
  background-color: var(--wcfContentContainerBackground, var(--wcfContentBackground));
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--wcfBorderRadius, 4px);
  overflow: hidden;
  margin: 0;
  padding: 0;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.krtEchelonCard:hover,
.krtEchelonCard:focus-within {
  border-color: var(--wcfContentBorder, var(--wcfAlternateSelectionBackground));
  box-shadow: 0 0 0 1px var(--wcfContentBorderInner, transparent);
}

.krtEchelonCard__link {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  color: inherit;
  text-decoration: none;
  padding: 1.25rem 1rem 1rem;
  min-height: 100%;
  box-sizing: border-box;
}

.krtEchelonCard__link:hover {
  text-decoration: none;
  color: inherit;
}

.krtEchelonCard__image {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 200px;
  margin: 0 auto 0.75rem;
  text-align: center;
}

.krtEchelonCard__image img,
.krtEchelonCard__image picture,
.krtEchelonCard__image > * {
  display: block;
  float: none !important;
  margin-left: auto !important;
  margin-right: auto !important;
  max-width: 200px;
  max-height: 200px;
  width: auto;
  height: auto;
  object-fit: contain;
  object-position: center;
}

.krtEchelonCard__imagePlaceholder {
  opacity: 0.45;
}

.krtEchelonCard__title {
  margin: 0;
  font-size: 1.15em;
  font-weight: 600;
  line-height: 1.3;
}

.krtEchelonCard__type {
  margin: 0.35rem 0 0;
  text-align: center;
}

.krtEchelonTypeBadge {
  display: inline-flex;
  align-items: center;
  padding: 0.1rem 0.45rem;
  border: 1px solid rgba(160, 160, 160, 0.55);
  border-radius: 3px;
  background: rgba(0, 0, 0, 0.35);
  color: #e6e6e6;
  font-size: 0.75em;
  line-height: 1.4;
}

.krtEchelonCard--special {
  border-color: var(--wcfContentBorderInner, rgba(0, 0, 0, 0.12));
}

/* Thread 10086: orangener Strich über der Leitung, Leitung, darunter Mitgliederzahl und Frequenz als reine Textzeile (ohne Icons) mit orangenem Trennstrich */
.krtEchelonCard__leader {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.1rem;
  width: 100%;
  margin-top: 0.75rem;
  padding-top: 0.5rem;
  border-top: 2px solid var(--wcfButtonPrimaryBackground, #e07b24);
  font-size: 0.9em;
}

.krtEchelonCard__leaderLabel {
  font-size: 0.75em;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--wcfContentDimmedText, inherit);
}

.krtEchelonCard__leaderNames {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.2rem 0.75rem;
  font-weight: 600;
  overflow-wrap: anywhere;
}

/* Rangsymbol vor dem Namen der Leitung (wie auf der Detailseite) */
.krtEchelonCard__leaderPerson {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}

.krtEchelonCard__leaderRankIcon {
  flex: 0 0 auto;
  width: 24px;
  height: 24px;
  object-fit: contain;
}

/* Thread 10086 (reprox): drei gleich breite Spalten Mitglieder | Kürzel | Frequenz; die mittlere bleibt auch dann
   genau in der Kachelmitte, wenn links und rechts unterschiedlich lange Werte stehen oder die Frequenz fehlt */
.krtEchelonCard__facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: start;
  gap: 0.25rem 0.75rem;
  width: 100%;
  margin-top: 0.5rem;
  padding-top: 0.5rem;
  border-top: 2px solid var(--wcfButtonPrimaryBackground, #e07b24);
  font-size: 0.9em;
}

.krtEchelonCard__fact {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 0;
  white-space: nowrap;
}

.krtEchelonCard__fact--members {
  grid-column: 1;
}

.krtEchelonCard__fact--shortName {
  grid-column: 2;
  align-items: center;
  text-align: center;
}

.krtEchelonCard__fact--frequency {
  grid-column: 3;
  align-items: flex-end;
  text-align: right;
}

/* Lange Frequenz-Texte (z. B. „Unregelmäßig“) brechen auf schmalen Kacheln mit Silbentrennung um, statt die Mitte zu verschieben */
.krtEchelonCard__fact--frequency .krtEchelonCard__factValue {
  color: var(--wcfButtonPrimaryBackground, #e07b24);
  white-space: normal;
  overflow-wrap: break-word;
  hyphens: auto;
}

.krtEchelonCard__factLabel {
  font-size: 0.8em;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--wcfContentDimmedText, inherit);
}

.krtEchelonCard__factValue {
  font-weight: 600;
}

/* Thread 10086: orangener Strich zwischen Leitung und Kurzbeschreibung */
.krtEchelonCard__description {
  width: 100%;
  margin: 0.5rem 0 0;
  padding-top: 0.5rem;
  border-top: 2px solid var(--wcfButtonPrimaryBackground, #e07b24);
  font-size: 0.92em;
  line-height: 1.4;
  color: var(--wcfContentDimmedText, inherit);
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
  overflow: hidden;
}

.krtEchelonCard__edit {
  position: absolute;
  top: 0.55rem;
  right: 0.55rem;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.2rem;
  color: var(--wcfContentDimmedText, inherit);
  opacity: 0.85;
}

.krtEchelonCard__edit:hover,
.krtEchelonCard__edit:focus {
  opacity: 1;
  color: var(--wcfContentText, inherit);
  text-decoration: none;
}

.krtEchelonDepartmentSection + .krtEchelonDepartmentSection {
  margin-top: 1.5rem;
}

.krtEchelonOverviewBody .krtEchelonDepartmentSection:first-child {
  margin-top: 0;
}

.krtEchelonOverviewBody .krtEchelonDepartmentSection .sectionTitle {
  margin-top: 0;
}

/* Karte: dezentes graues Typ-Label „Staffel“ / „Spezialkommando“ unter dem Namen, zentriert an der Stelle
   des früheren Kürzels (Thread 9161) */
.krtEchelonCard__typeLabel {
  display: inline-block;
  margin: 0.25rem 0 0;
  padding: 0.1rem 0.4rem;
  border: 1px solid var(--wcfContentBorderInner, rgba(127, 127, 127, 0.3));
  border-radius: var(--wcfBorderRadius, 4px);
  color: var(--wcfContentDimmedText);
  font-size: var(--wcfFontSizeSmall);
  font-weight: 400;
  line-height: 1.4;
  white-space: nowrap;
}

/* Typ-Label: „Staffel“ und „Spezialkommando“ gleich gestaltet (Vorlage: Spezialkommando, bessere Lesbarkeit) */
.krtEchelonCard__typeLabel--staffel,
.krtEchelonCard__typeLabel--special {
  color: color-mix(in srgb, var(--wcfContentDimmedText) 80%, var(--wcfContentText));
  border-color: color-mix(in srgb, var(--wcfContentBorderInner, rgba(127, 127, 127, 0.3)) 80%, var(--wcfContentText));
}

/* Ecke oben rechts (Karte + Hero): Label „Deine Staffel“ und Stift nebeneinander */
.krtEchelonCorner {
  position: absolute;
  top: 0.55rem;
  right: 0.55rem;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

/* Thread 10086: Interessens-Vorschlag oben links */
.krtEchelonCorner--left {
  right: auto;
  left: 0.55rem;
}

.krtEchelonCorner .krtEchelonCard__edit,
.krtEchelonCorner .krtEchelonDetailHero__edit {
  position: static;
}

.krtEchelonMembershipBadge {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  white-space: nowrap;
}

/* Thread 10078: Interessens-Vorschlag (Ecke oben rechts) und markierte Schwerpunkt-Treffer */
.krtEchelonInterestSuggestion {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  white-space: nowrap;
  background-color: var(--wcfStatusInfoBackground);
  color: var(--wcfStatusInfoText);
  border: 1px solid var(--wcfStatusInfoBorder);
}

.krtEchelonCard__taskCategoryMatches {
  justify-content: center;
  margin-top: 0.5rem;
}

.krtEchelonCard--taskCategoryMatch {
  box-shadow: 0 0 0 2px var(--wcfStatusSuccessBorder);
}

/* Karte: Bewerben / Bewerbung läuft (außerhalb des Karten-Links, unten in der Karte) */
.krtEchelonCard:has(> .krtEchelonCard__actions) {
  display: flex;
  flex-direction: column;
}

.krtEchelonCard:has(> .krtEchelonCard__actions) > .krtEchelonCard__link {
  flex: 1 1 auto;
  min-height: 0;
}

.krtEchelonCard__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.35rem;
  padding: 0 1rem 1rem;
}

/* Staffel-Limit erreicht: deaktivierter Bewerben-/Beitreten-Button (Kachel und Detailseite) zeigt den Hinweis
   als Tooltip; WCF setzt bei .button.disabled pointer-events: none, dann käme kein mouseenter an */
.button.disabled.krtEchelonLimitReachedButton {
  pointer-events: auto;
}

/* Detail (Thread 9167, Layout MDCommander) – Akzentfarbe = Primärbutton des Stils (z. B. „Beitreten“) */
/* Innenpadding hier setzen: die Template-Klasse .containerPadding existiert in WSC 6.2 nicht mehr
   (nur noch in älteren Templates), deshalb klebte Inhalt am Boxrand auf der echten Seite. */
.krtEchelonDetailHero,
.krtEchelonDetailPanel {
  --krtEchelonAccent: var(--wcfButtonPrimaryBackground, #e07b24);
  position: relative;
  padding: 20px; /* gleichmäßig rundherum inkl. „Weitere Informationen …“; .containerPadding gibt es in WSC 6.2 nicht */
  background-color: var(--wcfContentContainerBackground, var(--wcfContentBackground));
  border: 1px solid var(--wcfContentBorderInner, var(--wcfContentBorder));
  border-radius: var(--wcfBorderRadius, 4px);
}

/* Kopf-Buttons der Detailseite: auf schmalen Bildschirmen umbrechen statt seitlich zu scrollen (nur diese Seite) */
@media (max-width: 768px) {
  [data-template=echelonDetail] .contentInteractionButtons {
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 1px 0;
    overflow: visible;
  }
}
/* Hauptbox: orangener Rand oben */
.krtEchelonDetailHero {
  border-top: 3px solid var(--krtEchelonAccent);
}

.krtEchelonDetailHero__edit {
  position: absolute;
  top: 0.55rem;
  right: 0.55rem;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.2rem;
  color: var(--wcfContentDimmedText, inherit);
  opacity: 0.85;
}

.krtEchelonDetailHero__edit:hover,
.krtEchelonDetailHero__edit:focus {
  opacity: 1;
  color: var(--wcfContentText, inherit);
  text-decoration: none;
}

/* Logo links, rechts Name, Kacheln und Schwerpunkte; schmal: Logo oben mittig */
.krtEchelonDetailHero__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

@media (min-width: 769px) {
  .krtEchelonDetailHero__inner {
    flex-direction: row;
    align-items: center;
    gap: 2rem;
  }
}
.krtEchelonDetailHero__logo {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  width: 192px;
  max-width: 100%;
  padding: 0 0.5rem;
}

.krtEchelonDetailHero__logo img,
.krtEchelonDetailHero__logo picture,
.krtEchelonDetailHero__logo > * {
  display: block;
  float: none !important;
  margin-left: auto !important;
  margin-right: auto !important;
  max-width: 100%;
  max-height: 192px;
  width: auto;
  height: auto;
  object-fit: contain;
  object-position: center;
}

/* WCF-ViewableMedia::getElementTag(192) packt das Bild in einen <span style="width:192px;height:192px">;
   Wrapper an die Bildgröße anpassen, WCF-margin-top neutralisieren */
@media (max-width: 544px) {
  .krtEchelonDetailHero__logo {
    width: 144px;
  }
}
.krtEchelonDetailHero__logo > span[style] {
  width: auto !important;
  height: auto !important;
}

.krtEchelonDetailHero__logo > span[style] > img {
  margin-top: 0 !important;
}

.krtEchelonDetailHero__placeholder {
  opacity: 0.45;
}

.krtEchelonDetailHero__body {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  gap: 1rem;
  width: 100%;
  min-width: 0;
}

.krtEchelonDetailHero__heading {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.25rem 0.75rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--wcfContentBorderInner, var(--wcfContentBorder));
}

.krtEchelonDetailHero__title {
  margin: 0;
  font-size: 1.75em;
  font-weight: 600;
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.krtEchelonDetailHero__shortName {
  font-size: 0.9em;
  font-weight: 600;
  letter-spacing: 0.03em;
}

/* Kacheln: ab Desktop alle in einer Reihe (gleich breit, auch wenn einzelne ausgeblendet sind), sonst 2 × 2,
   sehr schmal untereinander */
.krtEchelonDetailStats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}

@media (min-width: 1025px) {
  .krtEchelonDetailStats {
    grid-auto-columns: minmax(0, 1fr);
    grid-auto-flow: column;
    grid-template-columns: none;
  }
}
@media (max-width: 359px) {
  .krtEchelonDetailStats {
    grid-template-columns: minmax(0, 1fr);
  }
}
.krtEchelonDetailStats__tile {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  min-width: 0;
  padding: 0.75rem 1rem;
  background-color: var(--wcfContentBackground, transparent);
  border: 1px solid var(--wcfContentBorderInner, var(--wcfContentBorder));
  border-radius: var(--wcfBorderRadius, 4px);
}

.krtEchelonDetailStats__label {
  color: var(--wcfContentDimmedText, inherit);
  font-size: 0.75em;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.krtEchelonDetailStats__value {
  font-size: 1.35em;
  font-weight: 600;
  line-height: 1.25;
  font-variant-numeric: tabular-nums;
  overflow-wrap: anywhere;
}

.krtEchelonDetailStats__value--empty {
  color: var(--wcfContentDimmedText, inherit);
  font-size: 1em;
  font-style: italic;
  font-weight: 400;
  line-height: 1.6;
}

.krtEchelonDetailStats__value--frequency {
  color: var(--krtEchelonAccent);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
  letter-spacing: 0.04em;
}

.krtEchelonDetailHero__priorities {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

/* Staffelschwerpunkte: eigener Untercontainer (wie Stats-Kacheln / KG), Abstand zu den Kacheln darüber */
.krtEchelonDetailPrioritiesBox {
  margin-top: 0.25rem;
  padding: 0.75rem 1rem;
  background-color: var(--wcfContentBackground, transparent);
  border: 1px solid var(--wcfContentBorderInner, var(--wcfContentBorder));
  border-radius: var(--wcfBorderRadius, 4px);
}

/* Staffelschwerpunkte als orange umrandete Tags: kein Umbruch innerhalb eines Tags, Tags brechen als Ganzes um */
.krtEchelonDetailPriorities {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.krtEchelonDetailPriorities__tag {
  display: inline-block;
  max-width: 100%;
  padding: 0.2rem 0.6rem;
  font-size: 0.9em;
  line-height: 1.4;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  color: var(--wcfContentText, inherit);
  background-color: color-mix(in srgb, var(--krtEchelonAccent) 14%, transparent);
  border: 1px solid var(--krtEchelonAccent);
  border-radius: var(--wcfBorderRadius, 4px);
}

.krtEchelonDetailPriorities__empty {
  color: var(--wcfContentDimmedText, inherit);
}

.krtEchelonDetailPanel .sectionTitle {
  margin-top: 0;
}

.krtEchelonDetailDescription {
  line-height: 1.55;
}

/* Staffelbeschreibung + Kommandogruppen: ab Tablet nebeneinander (je halbe Breite, gleich hoch), sonst untereinander;
   steht nur eine der Boxen, nimmt sie die volle Breite */
.krtEchelonDetailColumns {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0 20px;
}

@media (min-width: 769px) {
  .krtEchelonDetailColumns {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .krtEchelonDetailColumns > .krtEchelonDetailPanel:only-child {
    grid-column: 1/-1;
  }
}
.krtEchelonDetailColumns > .krtEchelonDetailPanel {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

/* lange Texte unten ausblenden, „Weitere Informationen …“ klappt auf (Skript in echelonDetail.tpl) */
.krtEchelonDetailCollapsible {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
}

.krtEchelonDetailCollapsible__content {
  position: relative;
  flex: 0 1 auto;
  /* eingeklappt mindestens 16 Textzeilen (vorher 18rem ≈ 13 Zeilen, ca. +20 % – Thread 9167); ist die Kommandogruppen-Box
     daneben höher, setzt das Skript in echelonDetail.tpl --krtEchelonCollapsedHeight auf die frei bleibende Höhe (Thread 10136) */
  max-height: var(--krtEchelonCollapsedHeight, 24.8em);
  margin-bottom: 0.75rem;
  overflow: hidden;
}

.krtEchelonDetailCollapsible--overflowing .krtEchelonDetailCollapsible__content::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 3rem;
  background: linear-gradient(to bottom, transparent, var(--wcfContentContainerBackground, var(--wcfContentBackground)));
  pointer-events: none;
}

.krtEchelonDetailCollapsible--expanded .krtEchelonDetailCollapsible__content {
  max-height: none;
}

.krtEchelonDetailCollapsible--expanded .krtEchelonDetailCollapsible__content::after {
  display: none;
}

.krtEchelonDetailCollapsible__toggle {
  align-self: stretch;
  /* Link immer unten in der Box, auch wenn die Nachbarbox höher ist */
  margin-top: auto;
  padding: 0.75rem 0 0;
  color: var(--krtEchelonAccent);
  background: none;
  border: 0;
  border-top: 1px solid var(--wcfContentBorderInner, var(--wcfContentBorder));
  font: inherit;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
}

.krtEchelonDetailCollapsible__toggle:hover,
.krtEchelonDetailCollapsible__toggle:focus-visible {
  text-decoration: underline;
}

.krtEchelonDetailCollapsible__toggle[hidden] {
  display: none;
}

/* Kommandogruppen: Box nicht unten abschneiden, stattdessen Text je Container auf wenige Zeilen kürzen –
   so bleiben alle Kommandogruppen-Container vollständig sichtbar; „Weitere Informationen …“ zeigt alle Texte ganz */
.krtEchelonDetailCollapsible--clampItems .krtEchelonDetailCollapsible__content {
  max-height: none;
  overflow: visible;
}

.krtEchelonDetailCollapsible--clampItems .krtEchelonDetailCollapsible__content::after {
  display: none;
}

.krtEchelonDetailCollapsible__clamp {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  /* eingeklappt 4 Zeilen je Kommandogruppe (vorher 3, Untercontainer ca. +16 % – Thread 9167) */
  -webkit-line-clamp: 4;
  line-clamp: 4;
  overflow: hidden;
}

.krtEchelonDetailCollapsible--expanded .krtEchelonDetailCollapsible__clamp {
  display: block;
  -webkit-line-clamp: unset;
  line-clamp: none;
  overflow: visible;
}

/* Kommandogruppen: je Kommandogruppe ein dunkler Untercontainer (wie Bereichs-/Staffelleitung), Kopf mit
   KG-Kennzeichen + Name und orangenem Strich, darunter der Text */
.krtEchelonDetailCommandGroups {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.krtEchelonDetailCommandGroup {
  min-width: 0;
  padding: 0.85rem 1rem 1rem;
  background-color: var(--wcfContentBackground, transparent);
  border: 1px solid var(--wcfContentBorderInner, var(--wcfContentBorder));
  border-radius: var(--wcfBorderRadius, 4px);
}

.krtEchelonDetailCommandGroup__header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.6rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--krtEchelonAccent);
}

.krtEchelonDetailCommandGroup__header .krtEchelonDetailKgBadge {
  flex: 0 0 auto;
}

.krtEchelonDetailCommandGroups .krtEchelonDetailCommandGroup__title {
  min-width: 0;
  margin: 0;
  font-size: 1em;
  font-weight: 600;
  line-height: 1.4;
  overflow-wrap: anywhere;
}

.krtEchelonDetailCommandGroups .krtEchelonDetailCommandGroup__text {
  margin: 0;
  white-space: pre-line;
  overflow-wrap: anywhere;
}

/* Box „Leitung“: Bereichsleitung und Staffelleitung als dunkle Untercontainer mit Spalten je Funktion */
.krtEchelonDetailLeadershipGroup {
  padding: 0.85rem 1rem 1rem;
  background-color: var(--wcfContentBackground, transparent);
  border: 1px solid var(--wcfContentBorderInner, var(--wcfContentBorder));
  border-radius: var(--wcfBorderRadius, 4px);
}

.krtEchelonDetailLeadershipGroup + .krtEchelonDetailLeadershipGroup {
  margin-top: 0.75rem;
}

.krtEchelonDetailLeadershipGroup__title {
  display: block;
  margin-bottom: 0.75rem;
  font-size: 0.75em;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* Spalten passen sich der Breite an: so viele nebeneinander wie Platz (min. 10rem), freie Fläche wird verteilt */
.krtEchelonDetailLeadershipGroup__columns {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 10rem), 1fr));
  gap: 1rem 1.25rem;
}

/* Leitungs-Boxen mit großen Rangabzeichen (67px / 48px) brauchen breitere Spalten, sonst bleibt kaum Platz für den Namen */
.krtEchelonDetailLeadershipGroup--area .krtEchelonDetailLeadershipGroup__columns {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 18rem), 1fr));
}

.krtEchelonDetailLeadershipGroup--echelon .krtEchelonDetailLeadershipGroup__columns {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 12rem), 1fr));
}

.krtEchelonDetailLeadershipColumn {
  min-width: 0;
  padding-top: 0.5rem;
  border-top: 2px solid var(--krtEchelonAccent);
}

.krtEchelonDetailLeadershipColumn__header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
  color: var(--wcfContentDimmedText, inherit);
  font-size: 0.8em;
}

.krtEchelonDetailLeadershipColumn__counter {
  flex: 0 0 auto;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.krtEchelonDetailLeadershipColumn__persons {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

/* feste Symbolgröße + fester Abstand: alle Namen (und „Nicht besetzt“) einer Spalte beginnen an derselben Stelle */
.krtEchelonDetailLeadershipColumn__person {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  min-width: 0;
  min-height: 24px;
}

.krtEchelonDetailLeadershipColumn__rankIcon {
  display: block;
  flex: 0 0 24px;
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  object-fit: contain;
}

.krtEchelonDetailLeadershipColumn__username {
  min-width: 0;
  font-weight: 600;
  /* sehr lange RSI-Handles brechen notfalls um, statt die Spalte zu sprengen */
  overflow-wrap: anywhere;
}

.krtEchelonDetailLeadershipColumn__vacant {
  min-width: 0;
  color: var(--wcfContentDimmedText, inherit);
  font-style: italic;
  overflow-wrap: anywhere;
}

/* Bereichsleitung: gleiche Icon-Größe wie Mitgliederseite .krtEchelonRosterRow--large (67px);
   Namen etwas größer; feste Icon-Breite hält alle Namen einer Spalte bündig. */
.krtEchelonDetailLeadershipGroup--area .krtEchelonDetailLeadershipColumn__person {
  min-height: 67px;
  gap: 0.55rem;
}

.krtEchelonDetailLeadershipGroup--area .krtEchelonDetailLeadershipColumn__rankIcon {
  flex: 0 0 67px;
  width: 67px;
  height: 67px;
  max-width: 67px;
  max-height: 67px;
}

.krtEchelonDetailLeadershipGroup--area .krtEchelonDetailLeadershipColumn__username,
.krtEchelonDetailLeadershipGroup--area .krtEchelonDetailLeadershipColumn__vacant {
  font-size: 1.25em; /* wie .krtEchelonRosterRow--large .krtEchelonRosterRow__name */
  line-height: 1.3;
}

/* Staffelleitung: wie Offiziere auf der Mitgliederseite (.rankInfo__icon height 48px), kleiner als Bereichsleitung */
.krtEchelonDetailLeadershipGroup--echelon .krtEchelonDetailLeadershipColumn__person {
  min-height: 48px;
  gap: 0.5rem;
}

.krtEchelonDetailLeadershipGroup--echelon .krtEchelonDetailLeadershipColumn__rankIcon {
  flex: 0 0 48px;
  width: 48px;
  height: 48px;
  max-width: 48px;
  max-height: 48px;
}

.krtEchelonDetailLeadershipGroup--echelon .krtEchelonDetailLeadershipColumn__username,
.krtEchelonDetailLeadershipGroup--echelon .krtEchelonDetailLeadershipColumn__vacant {
  font-size: 1.05em; /* wie normale Roster-Namen */
  line-height: 1.3;
}

/* KG-Kennzeichen (Legende; „KG 1“ …) */
.krtEchelonDetailKgBadge {
  display: inline-block;
  padding: 0 0.35rem;
  color: var(--krtEchelonAccent);
  font-size: 0.75em;
  font-weight: 600;
  line-height: 1.6;
  white-space: nowrap;
  border: 1px solid var(--krtEchelonAccent);
  border-radius: var(--wcfBorderRadius, 4px);
}

.krtEchelonDetailLegend {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 1.25rem;
  margin-top: 0.85rem;
  font-size: 0.85em;
}

.krtEchelonDetailLegend__label {
  color: var(--wcfContentDimmedText, inherit);
  font-size: 0.85em;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.krtEchelonDetailLegend__item {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.krtEchelonDetailLeadershipActions {
  margin: 0.75rem 0;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.visuallyHidden {
  position: absolute !important;
  height: 1px;
  width: 1px;
  overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px);
  white-space: nowrap;
}

/* Members */
.krtEchelonMembersInactive {
  color: var(--wcfStatusErrorText, #c00);
  font-weight: 600;
}

/* Mitgliederverwaltung: Rang-Spalte (Icon+Name) inkl. Überschrift zentriert */
.gridView th.krtEchelonMembers__rankColumn,
.gridView td.krtEchelonMembers__rankColumn {
  text-align: center;
}

/* Funktion unter dem Rangnamen (nur Offiziere); Schrift über die Klassen small und dimmed */
.krtEchelonMembers__function {
  display: block;
  margin-top: 0.15rem;
}

/* Mitgliederverwaltung: letzte Aktivität (nur Berechtigte, serverseitig), Thread 10075: je Quelle eine Spalte */
/* 3 Kalendermonate oder länger inaktiv: ganze Zeile dezent rot (Overlay über dem Zellhintergrund, Hover bleibt sichtbar) */
.gridView__row:has(.krtEchelonMembers__lastActivity--inactive) .gridView__column {
  background-image: linear-gradient(rgba(220, 53, 69, 0.16), rgba(220, 53, 69, 0.16));
}

.gridView__row:has(.krtEchelonMembers__lastActivity--inactive) .gridView__column:first-child {
  box-shadow: inset 3px 0 0 0 rgb(220, 53, 69), inset 0 -1px 0 0 var(--wcfContentBorderInner);
}

.gridView__row:has(.krtEchelonMembers__lastActivity--inactive):last-child .gridView__column:first-child {
  box-shadow: inset 3px 0 0 0 rgb(220, 53, 69);
}

.krtEchelonMembers__lastActivity--inactive {
  color: #ff8a92;
}

/* Mitgliederhistorie */
.krtEchelonMemberHistory__reason {
  white-space: normal;
  overflow-wrap: anywhere;
  max-width: 28rem;
}

/* Roster-Mitgliederseite */
.krtEchelonMembersHero,
.krtEchelonMembersPanel {
  position: relative;
  background-color: var(--wcfContentContainerBackground, var(--wcfContentBackground));
  border: 1px solid var(--wcfContentBorderInner, var(--wcfContentBorder));
  border-radius: var(--wcfBorderRadius, 4px);
}

.krtEchelonMembersHero__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 1.75rem 1rem 1.5rem;
}

.krtEchelonMembersHero__logo {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 256px;
  margin: 0 auto 1rem;
  text-align: center;
}

.krtEchelonMembersHero__logo img,
.krtEchelonMembersHero__logo picture,
.krtEchelonMembersHero__logo > * {
  display: block;
  float: none !important;
  margin-left: auto !important;
  margin-right: auto !important;
  max-width: 256px;
  max-height: 256px;
  width: auto;
  height: auto;
  object-fit: contain;
  object-position: center;
}

/* WCF-ViewableMedia::getElementTag(192) packt das Bild in einen <span style="width:192px;height:192px">.
   Seit RC 32 darf das Logo 256px groß werden; der starre Wrapper ließ es dann nach rechts überstehen
   (nicht mehr mittig). Wrapper an die Bildgröße anpassen, WCF-margin-top (für 192px berechnet) neutralisieren. */
.krtEchelonMembersHero__logo > span[style] {
  width: auto !important;
  height: auto !important;
}

.krtEchelonMembersHero__logo > span[style] > img {
  margin-top: 0 !important;
}

.krtEchelonMembersHero__placeholder {
  opacity: 0.45;
}

.krtEchelonMembersHero__title {
  margin: 0;
  font-size: 1.75em;
  font-weight: 600;
  line-height: 1.25;
}

.krtEchelonMembersHero__meta {
  margin: 0.4rem 0 0;
}

.krtEchelonMembersPanel .sectionTitle {
  margin-top: 0;
}

/* Markus 22.10.2026: „Mitglieder kontaktieren“ direkt über der Mitglieder-Tabelle */
.krtEchelonMembersBlock__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 5px;
  margin: 0 0 10px;
}

.krtEchelonRosterRows {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.krtEchelonRosterRow {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.85rem 1rem;
  background-color: var(--wcfContentBackground, transparent);
  border: 1px solid var(--wcfContentBorderInner, var(--wcfContentBorder));
  border-radius: var(--wcfBorderRadius, 4px);
}

.krtEchelonRosterRow--large {
  padding: 1.15rem 1.25rem;
  gap: 1.25rem;
}

.krtEchelonRosterRow--large .krtEchelonRosterRow__name {
  font-size: 1.25em;
  font-weight: 600;
}

.krtEchelonRosterRow--large .krtEchelonRosterRow__role {
  font-size: 0.95em;
}

.krtEchelonRosterRow__rank {
  flex: 0 0 auto;
  min-width: 4.5rem;
  text-align: center;
}

.krtEchelonRosterRow__rank .rankInfo__icon {
  height: 48px;
}

.krtEchelonRosterRow--large .krtEchelonRosterRow__rank .rankInfo__icon {
  /* ca. 5 % größer als 64px, Seitenverhältnis bleibt (max-* aus ranks aufheben, Breite folgt der Höhe) */
  width: auto;
  height: 67px;
  max-width: none;
  max-height: 67px;
  object-fit: contain;
}

/* Bereichsleitung: feste Rangspalte wie in einer Tabelle, damit Funktion/Name/Rang bei BL und BK
   auf derselben senkrechten Linie beginnen; lange Rangnamen brechen nur an Leerzeichen um. */
.krtEchelonRosterRow--large .krtEchelonRosterRow__rank {
  flex: 0 0 11rem;
  width: 11rem;
}

.krtEchelonRosterRow--large .krtEchelonRosterRow__rank .rankInfo__name {
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
}

.krtEchelonRosterRow__body {
  flex: 1 1 auto;
  min-width: 0;
}

.krtEchelonRosterRow__role {
  font-size: 0.8em;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: var(--wcfContentDimmedText, inherit);
  margin-bottom: 0.15rem;
}

.krtEchelonRosterRow__name {
  font-size: 1.05em;
  line-height: 1.3;
  word-break: break-word;
}

.krtEchelonRosterRow__rankName {
  margin-top: 0.15rem;
  font-size: 0.9em;
}

.krtEchelonRosterRow--empty {
  opacity: 0.85;
}

/* Bereichsleitung: Personen gleicher Art (BL, BK) in einem gemeinsamen Kasten ohne Abstand dazwischen;
   der Kasten trägt Rahmen und Hintergrund wie bisher die einzelne Zeile, der Rahmen der Zeilen darin entfällt. */
.krtEchelonRosterRowGroup {
  background-color: var(--wcfContentBackground, transparent);
  border: 1px solid var(--wcfContentBorderInner, var(--wcfContentBorder));
  border-radius: var(--wcfBorderRadius, 4px);
}

.krtEchelonRosterRowGroup > .krtEchelonRosterRow {
  border: 0;
}

.krtEchelonRosterRows--officers {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 0.75rem;
}

@media (max-width: 600px) {
  .krtEchelonRosterRow {
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
  }
}
/* Offizierskarten (echelon-members): gestapelt und mittig – Abzeichen, Rangname, Funktion, Benutzername.
   Umbruch nur an Leerzeichen (kein Trennen mitten im Wort). Bereichsleitung bleibt unverändert. */
.krtEchelonRosterRow.krtEchelonRosterRow--stacked {
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 0.5rem;
  text-align: center;
}

.krtEchelonRosterRow--stacked .krtEchelonRosterRow__rank {
  min-width: 0;
  max-width: 100%;
}

.krtEchelonRosterRow--stacked .krtEchelonRosterRow__body {
  flex: 0 1 auto;
  width: 100%;
}

.krtEchelonRosterRow--stacked .rankInfo__name,
.krtEchelonRosterRow--stacked .krtEchelonRosterRow__role,
.krtEchelonRosterRow--stacked .krtEchelonRosterRow__name {
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
}

/* Content-Header-Buttons: klarerer Abstand zwischen benachbarten Actions */
.contentHeader .contentInteractionButtons,
.contentHeader .contentInteractionButtonList {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
}

/* Bereichs-Popover (Staffel-Detailseite, „Weitere Informationen“ → Bereich)
   Aufbau/Klassen wie die WSC-6.2-Benutzer-Vorschau (.userCard); Container-Werte wie
   .popoverContainer[data-identifier="com.woltlab.wcf.user"] im Core. Zentrierung kommt
   wie beim User-Popover aus dem Kartell-Stil (krt-ranks-style.scss). */
.krtEchelonDepartmentPopoverLink {
  cursor: help;
  border-bottom: 1px dotted currentColor;
}

.popoverContainer[data-identifier="org.das-kartell.ranks.echelonoverview.department"] {
  --padding: 0;
  --maxHeight: none;
  --maxWidth: 300px;
  width: 300px;
  /* Grundfarbe wie das Rang-Popover der Rangmatrix (.rankMatrixPopover.krtPopCard) */
  background-color: #1f2327;
}
.popoverContainer[data-identifier="org.das-kartell.ranks.echelonoverview.department"] .userCard {
  border-width: 0;
  box-shadow: none;
  background-color: #1f2327;
}

/* Kopfzeile „BEREICH“ wie .rankMatrixPopover .krtPopHeaderCover/.krtPopHeaderTitle der Rangmatrix */
.krtDepartmentCard__headerBar {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 48px;
  flex: 0 0 auto;
  border-radius: 8px 8px 0 0;
  background: #0f0f0f;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.krtDepartmentCard__headerTitle {
  color: #fff;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 0.9rem;
  line-height: 1.2;
  text-align: center;
  padding: 0 10px;
}

/* Mitgliederzahl ganz unten wie .rankMatrixPopover .krtPopAwardedCount (grau abgetrennt);
   Überschrift wie die Labels (dt) der userCard-Details */
.krtDepartmentCard__memberCount {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  padding: 0.7rem 12px 0.55rem;
  min-height: 2.1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  text-align: center;
  box-sizing: border-box;
}

.krtDepartmentCard__memberCountLabel {
  font-size: var(--wcfFontSizeSmall);
  color: var(--wcfContentDimmedText);
}

.krtDepartmentCard__memberCountValue {
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1.2;
  color: #e7e9ec;
}

/* kein Kopfbalken: durchgehend der Popover-Hintergrund, keine Bereichsfarbe, kein Bild */
.krtDepartmentCard__background {
  display: none;
}

/* Bereichslogo groß, unverzerrt und mittig (Position wie der Avatar der userCard, aber ohne Kreis/Rahmen) */
.krtDepartmentCard__logo {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 128px;
  height: 128px;
  margin-top: 20px;
  border: 0;
  border-radius: 0;
  background-color: transparent;
  overflow: hidden;
}

.krtDepartmentCard__logo > span[style] {
  width: auto !important;
  height: auto !important;
}

.krtDepartmentCard__logo img {
  display: block;
  width: 128px;
  height: 128px;
  margin-top: 0 !important;
  object-fit: contain;
}

.krtDepartmentCard__logoPlaceholder {
  color: var(--wcfContentDimmedText);
}

.krtDepartmentCard .userCard__content {
  padding-bottom: 20px;
}

.krtDepartmentCard__slogan {
  font-style: italic;
  color: var(--wcfContentDimmedText);
}

.krtDepartmentCard__description {
  font-size: var(--wcfFontSizeSmall);
  margin: 0;
}

/* Staffeln: eigene Zeile unter dem Label, jede Staffel einzeln mit Logo */
.krtDepartmentCard .userCard__details .dataList dd.krtDepartmentCard__echelons {
  display: block;
  float: none;
  clear: both;
  width: 100%;
  overflow: visible;
  -webkit-line-clamp: unset;
  text-align: left;
  padding-top: 4px;
}

.krtDepartmentCard__echelonList {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.krtDepartmentCard__echelon {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.krtDepartmentCard__echelonLogo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 24px;
  width: 24px;
  height: 24px;
  overflow: hidden;
  color: var(--wcfContentDimmedText);
}

.krtDepartmentCard__echelonLogo img {
  display: block;
  max-width: 24px;
  max-height: 24px;
  object-fit: contain;
}

.krtDepartmentCard__echelon a {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Vergabehistorie Staffelplaketten */
.krtEchelonBadgeHistory__hint {
  margin-bottom: 0.75rem;
}

.krtEchelonBadgeHistory__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.krtEchelonBadgeHistory__badgeImage img {
  display: block;
  max-width: 48px;
  max-height: 48px;
  width: auto;
  height: auto;
}

/*
 * Staffel- und SK-Übersicht: Button-Reihe unter den Benutzerhinweisen (wie die Bereichs-Übersicht in ranks).
 * Abteilungs-/Bereichs-Übersicht stehen als WoltLab-Standard „contentInteractionButtons“ im Template,
 * Sortierung und Filter werden per Skript aus dem ListView-Kopf in dieselbe Reihe verschoben
 * (echelonOverview.tpl, Klasse krtEchelonOverviewInteraction). Auf Desktop bleibt die Darstellung des Cores
 * (eine Reihe rechtsbündig, Buttons als Gruppe); auf schmalen Bildschirmen brechen die Buttons rechtsbündig
 * mit gleichmäßigem Abstand um, statt horizontal zu scrollen.
 *
 * @author	matthewhunt, MDCommander
 */
.contentInteractionButtons.krtEchelonOverviewInteraction {
  flex-wrap: wrap;
  justify-content: flex-end;
  overflow: visible;
  row-gap: 5px;
  /* Sortier-Dropdown aus dem ListView: Wrapper wie ein normaler Button der Reihe darstellen */
}
.contentInteractionButtons.krtEchelonOverviewInteraction > .listView__header__button {
  display: flex;
}
@media screen and (max-width: 544px) {
  .contentInteractionButtons.krtEchelonOverviewInteraction {
    gap: 5px;
  }
  .contentInteractionButtons.krtEchelonOverviewInteraction > .contentInteractionButton {
    margin-left: 0;
  }
  .contentInteractionButtons.krtEchelonOverviewInteraction > .contentInteractionButton.button,
  .contentInteractionButtons.krtEchelonOverviewInteraction > .contentInteractionButton .button {
    border-radius: var(--wcfBorderRadius);
  }
}

/* Abstand zwischen Button-Reihe und Liste wie bei „.contentInteraction + .section“ des Cores */
.contentInteraction:has(.krtEchelonOverviewInteraction) + .listView {
  margin-top: 20px;
  /* ListView-Kopf ohne verbliebene Buttons und ohne aktive Filter ausblenden (keine leere Trennlinie);
     sobald Filter aktiv sind, erscheinen die Filter-Pills wieder mit Trennlinie */
}
.contentInteraction:has(.krtEchelonOverviewInteraction) + .listView > .listView__header:not(:has(.listView__header__buttons > *)):not(:has(.listView__filters > *)) {
  display: none;
}

/* ListView-Kopf nach dem Verschieben: leeren Button-Container ausblenden */
.listView__header__buttons:not(:has(*)) {
  display: none;
}

/* Box „Mitglieder“ (Thread 10077): je Rang eine Spalte (orangener Strich wie „Leitung“), darin Avatar + Name */
.krtEchelonDetailMembers {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 12rem), 1fr));
  gap: 1rem 1.25rem;
}

.krtEchelonDetailMembers__column {
  min-width: 0;
  padding-top: 0.5rem;
  border-top: 2px solid var(--krtEchelonAccent);
}

.krtEchelonDetailMembers__header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.krtEchelonDetailMembers__rankIcon {
  flex: 0 0 auto;
  object-fit: contain;
}

.krtEchelonDetailMembers__count {
  margin-left: auto;
}

/* Box „Mitglieder“ (Thread 10077): einfache Aufzählungspunkte statt Profilbildern */
.krtEchelonDetailMembers__persons {
  list-style: disc;
  margin: 0;
  padding-left: 1.25rem;
}

.krtEchelonDetailMembers__person {
  min-width: 0;
  padding: 0.15rem 0;
}

.krtEchelonDetailMembers__username {
  display: inline-block;
  max-width: 100%;
  vertical-align: bottom;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* ===== Thread 10086 (RC 21): Kachel nach dem Mockup „Staffelübersicht Screenshot Final“ von RagnarSeven =====
   Einzige Abweichung: oberer Streifen der Kachel bleibt frei für die Labels (links Interessens-Vorschlag,
   rechts grünes Mitglied-Label und Stift); Mitgliederzahl und Frequenz stehen deshalb unten. */
.krtEchelonOverviewBody .krtEchelonCardGrid {
  grid-template-columns: repeat(auto-fill, minmax(max(260px, (100% - 3rem) / 4), 1fr));
  gap: 1rem;
}

.krtEchelonCardGrid .krtEchelonCard__link {
  padding: 2.6rem 1.25rem 1rem;
}

.krtEchelonCardGrid .krtEchelonCard__image {
  height: 180px;
  margin-bottom: 1rem;
}

.krtEchelonCardGrid .krtEchelonCard__image img,
.krtEchelonCardGrid .krtEchelonCard__image picture,
.krtEchelonCardGrid .krtEchelonCard__image > * {
  max-width: 180px;
  max-height: 180px;
}

.krtEchelonCardGrid .krtEchelonCard__title {
  font-size: 1.35em;
  font-weight: 500;
}

.krtEchelonCardGrid .krtEchelonCard__type {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 0.4rem;
}

.krtEchelonCardGrid .krtEchelonCard__leader {
  width: calc(100% - 1rem);
  margin-top: 1rem;
  padding-top: 0.75rem;
  gap: 0.25rem;
}

.krtEchelonCardGrid .krtEchelonCard__leaderLabel {
  font-size: 0.8em;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
}

.krtEchelonCardGrid .krtEchelonCard__description {
  margin-top: 0.9rem;
  padding-top: 0;
  border-top: 0;
  font-size: 0.85em;
  -webkit-line-clamp: 2;
}

.krtEchelonCardGrid .krtEchelonCard__facts {
  margin-top: auto;
  padding-top: 0.75rem;
  border-top: 0;
}

.krtEchelonCardGrid .krtEchelonCard__description + .krtEchelonCard__facts,
.krtEchelonCardGrid .krtEchelonCard__leader + .krtEchelonCard__facts {
  margin-top: 0.9rem;
}

.krtEchelonCardGrid .krtEchelonCard__factLabel {
  font-size: 0.7em;
}

.krtEchelonCardGrid .krtEchelonCard__actions {
  padding: 0.25rem 1.25rem 1.25rem;
}

/* Thread 10077 (reprox, RC 21): Rangsymbol vor dem Rangnamen in der Spaltenüberschrift der Box „Mitglieder“ */
.krtEchelonDetailMembers__rankIcon {
  display: inline-block;
  width: 24px;
  height: 24px;
  margin-right: 0.3rem;
  object-fit: contain;
  vertical-align: middle;
}

/* Thread 10095: Folgen-Liste in der Austritts-Bestätigung */
.krtEchelonLeaveConsequences {
  list-style: disc;
  margin: 0.5rem 0 0 1.25rem;
}

.krtEchelonLeaveConsequences > li + li {
  margin-top: 0.25rem;
}

/* Detailseite: Typ-Label vor Kürzel und Name („Staffel PAL Palladium“), vertikal mittig zur Überschrift */
.krtEchelonDetailHero__heading {
  align-items: center;
}

.krtEchelonDetailHero__type {
  font-size: 0.85em;
}

/* Label „Spezialkommando“ in sanftem Orange (Kacheln und Detailseite) */
.krtEchelonTypeBadge--special {
  border-color: rgba(230, 150, 70, 0.6);
  background: rgba(230, 150, 70, 0.15);
  color: #f0b27a;
}

/* Kachel: Kürzel steht seit Thread 10086 unten in .krtEchelonCard__facts (mittlere Spalte), nicht mehr im Titel */
/* Mitgliederseite: Kürzel unter dem Namen in derselben Akzentfarbe wie auf der Detailseite */
.krtEchelonMembersHero {
  --krtEchelonAccent: var(--wcfButtonPrimaryBackground, #e07b24);
}

/* ===== Thread 10075 #11: Mitgliederliste ===== */
/* kompakte Ränge (6.2.12): festes Icon links, Rangname daneben mit Standard-Schrift und Zeilenhöhe,
   Funktion als kleine Zeile (small/dimmed) bündig unter dem Rangnamen, nicht unter dem Icon.
   Selektor stärker als .gridView .rankInfo und .rankInfo__icon aus ranks. */
.gridView td.krtEchelonMembers__rankColumn--compact,
.gridView th.krtEchelonMembers__rankColumn--compact {
  padding-bottom: 2px;
  padding-top: 2px;
  text-align: left;
  vertical-align: top;
  /* 14 em für Kopf und Zellen: Icon, Abstand und „stv. Kommandoleiter“ in einer Zeile,
     lange Rangnamen wie „Lieutenant Junior Grade (10)“ höchstens zweizeilig.
     Verhindert das Abschneiden durch overflow/ellipsis der GridView-Zellen */
  min-width: 14em;
  text-overflow: clip;
}

.gridView td.krtEchelonMembers__rankColumn--compact .krtEchelonMembers__rank {
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr);
  column-gap: 6px;
  row-gap: 2px;
  align-items: start;
  justify-items: start;
  min-width: 0;
  text-align: left;
}

.gridView td.krtEchelonMembers__rankColumn--compact .krtEchelonMembers__rank:not(:has(.rankInfo__icon)) {
  grid-template-columns: minmax(0, 1fr);
}

.gridView td.krtEchelonMembers__rankColumn--compact .rankInfo {
  display: contents;
}

.gridView td.krtEchelonMembers__rankColumn--compact .rankInfo__icon {
  display: block;
  grid-column: 1;
  grid-row: 1;
  width: 20px;
  height: 20px;
  max-width: 20px;
  max-height: 20px;
  object-fit: contain;
}

.gridView td.krtEchelonMembers__rankColumn--compact .rankInfo__name {
  display: block;
  grid-column: 2;
  grid-row: 1;
  line-height: var(--wcfFontLineHeight);
  text-align: left;
  white-space: normal;
  overflow-wrap: break-word;
  word-break: normal;
}
@media screen and (min-width: 769px), print {
  .gridView td.krtEchelonMembers__rankColumn--compact .rankInfo__name {
    font-size: var(--wcfFontSizeDefault);
  }
}
@media screen and (max-width: 768px) {
  .gridView td.krtEchelonMembers__rankColumn--compact .rankInfo__name {
    font-size: 14px;
  }
}

.gridView td.krtEchelonMembers__rankColumn--compact .krtEchelonMembers__function {
  grid-column: 2;
  grid-row: 2;
  margin: 0;
  text-align: left;
  white-space: nowrap;
  overflow: visible;
  text-overflow: unset;
}

.gridView td.krtEchelonMembers__rankColumn--compact .krtEchelonMembers__rank:not(:has(.rankInfo__icon)) .rankInfo__name,
.gridView td.krtEchelonMembers__rankColumn--compact .krtEchelonMembers__rank:not(:has(.rankInfo__icon)) .krtEchelonMembers__function {
  grid-column: 1;
}

/* keine reguläre Beförderung möglich (Funktionsrang SL/KL oder höchster regulärer Rang): Handle in leicht anderem Grau */
.gridView .userLink.krtEchelonMembers__handle--noPromotion,
.krtEchelonMembers__handle--noPromotion {
  color: var(--wcfContentDimmedText) !important;
  font-style: italic;
  opacity: 0.85;
}

/* TS-Aktivität als Ampel (Thread 10075 #3): Farbe plus Punkt vor dem Datum */
.krtEchelonMembers__tsActivity::before {
  border-radius: 50%;
  content: "";
  display: inline-block;
  height: 8px;
  margin-right: 6px;
  vertical-align: middle;
  width: 8px;
}

.krtEchelonMembers__tsActivity--green {
  color: #3c9a3c;
}
.krtEchelonMembers__tsActivity--green::before {
  background-color: #3c9a3c;
}

.krtEchelonMembers__tsActivity--yellow {
  color: #c8a200;
}
.krtEchelonMembers__tsActivity--yellow::before {
  background-color: #c8a200;
}

.krtEchelonMembers__tsActivity--red {
  color: #c0392b;
}
.krtEchelonMembers__tsActivity--red::before {
  background-color: #c0392b;
}

/* Legende unter der Mitgliederliste */
.krtEchelonMembersLegend {
  display: flex;
  flex-wrap: wrap;
  font-size: 0.85em;
  gap: 4px 16px;
  margin-top: 10px;
}

/* Legende unter der Mitgliederhistorie: längere Erklärungen untereinander statt nebeneinander */
.krtEchelonMemberHistoryLegend {
  flex-direction: column;
}

/* Vorschau der neuesten Notiz in der Mitgliederhistorie */
.krtEchelonMemberNotes__preview {
  color: var(--wcfContentDimmedText);
  font-size: 0.85em;
}

/* Thread 10135: Spalte „Notizen“ (Mitgliederliste und Mitgliederhistorie) */
.krtEchelonMemberNotesColumn {
  white-space: nowrap;
  width: 1%;
}

.krtEchelonMemberNotesColumn__content {
  align-items: center;
  display: inline-flex;
  gap: 5px;
}

/* Kommandogruppen-Labels */
.krtCommandGroupLabel {
  margin-right: 2px;
}

.krtEchelonDetailLeadershipColumn__commandGroups {
  display: inline-flex;
  gap: 3px;
  margin-left: 5px;
}

/* Notizen zu Mitgliedern */
.krtEchelonMemberNotes {
  list-style: none;
  margin: 0;
  padding: 0;
}

.krtEchelonMemberNotes__item {
  border-bottom: 1px solid var(--wcfContentBorderInner);
  padding: 8px 0;
}

.krtEchelonMemberNotes__text {
  white-space: pre-line;
}

/* Thread 10128: Bearbeiten/Löschen je Notiz */
.krtEchelonMemberNotes__actions {
  display: flex;
  gap: 5px;
  margin-top: 5px;
}

.krtEchelonMemberNotes__deleteForm {
  display: inline;
}

/* Thread 10134: KG-Auswahl direkt in der Spalte „Kommandogruppe“ */
.krtCommandGroupSelect {
  position: relative;
  display: inline-block;
}
.krtCommandGroupSelect > summary {
  cursor: pointer;
  list-style: none;
}
.krtCommandGroupSelect > summary::-webkit-details-marker {
  display: none;
}
.krtCommandGroupSelect > summary::after {
  content: " ▾";
  color: var(--wcfContentDimmedText);
}

/* Thread 10134 (reprox, Beitrag 294206): Menü schwebt über der Tabelle (position: fixed,
   Lage per JavaScript), damit es nicht vom Scroll-Container der Liste abgeschnitten
   oder von anderen Elementen verdeckt wird. */
.krtCommandGroupSelect__menu {
  position: fixed;
  z-index: 450;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 8px 12px;
  white-space: nowrap;
  background-color: var(--wcfDropdownBackground);
  color: var(--wcfDropdownText);
  border: 1px solid var(--wcfDropdownBorderInner);
  border-radius: var(--wcfBorderRadius);
  box-shadow: var(--wcfBoxShadow);
}

/* Thema 10150: Spalte „Trusted“ in der Mitgliederliste */
.krtEchelonMembers__trustedColumn {
  text-align: center;
}

/*
 * 6.2.13: Eigene Staffeln / Spezialkommandos im Hauptmenü unter „Staffeln & Spezialkommandos“ (4. Menüebene, EchelonMenuSync).
 * WSC gestaltet im Header-Dropdown nur bis .boxMenuDepth2 (40px) und im mobilen Menü nur data-depth 0–2,
 * daher hier eigene Einrückung. (Das SK-Badge aus RC 1/2 ist seit RC 3 entfernt.)
 */
.mainMenu .boxMenu .boxMenuDepth2 .boxMenuDepth3 > li > a.boxMenuLink {
  font-size: 0.9em;
  padding-left: 55px;
}

.pageMenuMainItem[data-depth="3"] {
  border-bottom-width: 0;
}
.pageMenuMainItem[data-depth="3"] .pageMenuMainItemLink {
  font-size: 0.9em;
  font-weight: 400;
  min-height: 30px;
  padding-left: 45px;
}
.pageMenuMainItem[data-depth="3"] .pageMenuMainItemLink[aria-current=page] {
  font-weight: 600;
}

/* ==========================================================================
   org.das-kartell.donations – Spendenbox
   Zwei Layouts, abhängig von der Box-Position (siehe KRTDonationsBoxController):
   - .krtDonations--wide     Inhaltsbereich: Aufruf | Statuskarte
   - .krtDonations--compact  Seitenleisten: alles untereinander
   Das breite Layout stapelt automatisch, wenn die Box schmal ist
   (Container Query), z. B. auf Smartphones.

   Farben folgen den Stilvariablen der Kartell-Custom-CSS (--krt-…). Fehlen sie,
   gelten die Stilvariablen von WoltLab (--wcf…), damit Hintergrund und Text
   immer aus demselben Stil stammen und lesbar bleiben.
   ========================================================================== */
/* --------------------------------------------------------------------------
   1. Variablen und Container
   -------------------------------------------------------------------------- */
/*
  Gemeinsame Variablen von Spendenbox und Spendenseite. Karten nutzen dasselbe
  Grau wie die Terminkarten der Kalender-Wochenansicht und die Forenboxen
  (--krt-bg-300), damit sie zum übrigen Stil passen.
*/
.krtDonations,
.krtDonationsPage {
  --krtd-accent: var(--krt-accent, #e67e23);
  --krtd-card: var(--krt-bg-300, var(--wcfContentContainerBackground));
  --krtd-text-strong: var(--krt-text-100, var(--wcfContentHeadlineText));
  --krtd-text: var(--wcfContentText);
  --krtd-text-muted: var(--wcfContentDimmedText);
  --krtd-radius: var(--krt-radius, var(--wcfBorderRadius));
}

.krtDonations {
  /* Spur des Fortschrittsbalkens: halbtransparent, damit sie auf der Karte sichtbar bleibt */
  --krtd-track: rgba(127, 127, 127, 0.2);
  container-type: inline-size;
  color: var(--krtd-text);
}

.krtDonations__inner {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* --------------------------------------------------------------------------
   2. Breites Layout (Inhaltsbereich)
   -------------------------------------------------------------------------- */
.krtDonations--wide .krtDonations__inner {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 40px;
  align-items: center;
}

/* Ohne Fortschrittsbalken und Kennzahlen gibt es keine Statuskarte: eine Spalte */
.krtDonations--wide.krtDonations--noStatus .krtDonations__inner {
  grid-template-columns: minmax(0, 1fr);
}

@container (max-width: 760px) {
  .krtDonations--wide .krtDonations__inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
  }
}
.krtDonations__appeal {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
}

.krtDonations__eyebrow {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: var(--krtd-accent);
}

.krtDonations__headline {
  margin: 0;
  font-size: 24px;
  font-weight: 600;
  line-height: 1.2;
  color: var(--krtd-text-strong);
}

.krtDonations__text {
  margin: 0;
  font-size: 14px;
  line-height: 1.55;
  color: var(--krtd-text);
}

/* Statuskarte: Deckung und Kennzahlen zusammen */
.krtDonations--wide .krtDonations__status {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 22px 24px;
  background-color: var(--krtd-card);
  border-radius: var(--krtd-radius);
}

/* --------------------------------------------------------------------------
   3. Deckung und Fortschrittsbalken (beide Layouts)
   -------------------------------------------------------------------------- */
.krtDonations__coverage {
  /*
    Füllstand und Zielposition ohne Inline-Styles: Der Box-Controller setzt je
    Wert eine Klasse für die ganzen Prozent (0-100) und eine für die Zehntel (0-9),
    z. B. „krtDonations__coverage--fill42 krtDonations__coverage--fillTenth3“
    = 42,3 %. Die Genauigkeit beträgt damit eine Nachkommastelle.
  */
  --krtd-fill-whole: 0;
  --krtd-fill-tenth: 0;
  --krtd-goal-whole: 0;
  --krtd-goal-tenth: 0;
  --krtd-fill: calc((var(--krtd-fill-whole) + var(--krtd-fill-tenth) / 10) * 1%);
  --krtd-goal: calc((var(--krtd-goal-whole) + var(--krtd-goal-tenth) / 10) * 1%);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.krtDonations__coverage--fill0 {
  --krtd-fill-whole: 0;
}

.krtDonations__coverage--goal0 {
  --krtd-goal-whole: 0;
}

.krtDonations__coverage--fill1 {
  --krtd-fill-whole: 1;
}

.krtDonations__coverage--goal1 {
  --krtd-goal-whole: 1;
}

.krtDonations__coverage--fill2 {
  --krtd-fill-whole: 2;
}

.krtDonations__coverage--goal2 {
  --krtd-goal-whole: 2;
}

.krtDonations__coverage--fill3 {
  --krtd-fill-whole: 3;
}

.krtDonations__coverage--goal3 {
  --krtd-goal-whole: 3;
}

.krtDonations__coverage--fill4 {
  --krtd-fill-whole: 4;
}

.krtDonations__coverage--goal4 {
  --krtd-goal-whole: 4;
}

.krtDonations__coverage--fill5 {
  --krtd-fill-whole: 5;
}

.krtDonations__coverage--goal5 {
  --krtd-goal-whole: 5;
}

.krtDonations__coverage--fill6 {
  --krtd-fill-whole: 6;
}

.krtDonations__coverage--goal6 {
  --krtd-goal-whole: 6;
}

.krtDonations__coverage--fill7 {
  --krtd-fill-whole: 7;
}

.krtDonations__coverage--goal7 {
  --krtd-goal-whole: 7;
}

.krtDonations__coverage--fill8 {
  --krtd-fill-whole: 8;
}

.krtDonations__coverage--goal8 {
  --krtd-goal-whole: 8;
}

.krtDonations__coverage--fill9 {
  --krtd-fill-whole: 9;
}

.krtDonations__coverage--goal9 {
  --krtd-goal-whole: 9;
}

.krtDonations__coverage--fill10 {
  --krtd-fill-whole: 10;
}

.krtDonations__coverage--goal10 {
  --krtd-goal-whole: 10;
}

.krtDonations__coverage--fill11 {
  --krtd-fill-whole: 11;
}

.krtDonations__coverage--goal11 {
  --krtd-goal-whole: 11;
}

.krtDonations__coverage--fill12 {
  --krtd-fill-whole: 12;
}

.krtDonations__coverage--goal12 {
  --krtd-goal-whole: 12;
}

.krtDonations__coverage--fill13 {
  --krtd-fill-whole: 13;
}

.krtDonations__coverage--goal13 {
  --krtd-goal-whole: 13;
}

.krtDonations__coverage--fill14 {
  --krtd-fill-whole: 14;
}

.krtDonations__coverage--goal14 {
  --krtd-goal-whole: 14;
}

.krtDonations__coverage--fill15 {
  --krtd-fill-whole: 15;
}

.krtDonations__coverage--goal15 {
  --krtd-goal-whole: 15;
}

.krtDonations__coverage--fill16 {
  --krtd-fill-whole: 16;
}

.krtDonations__coverage--goal16 {
  --krtd-goal-whole: 16;
}

.krtDonations__coverage--fill17 {
  --krtd-fill-whole: 17;
}

.krtDonations__coverage--goal17 {
  --krtd-goal-whole: 17;
}

.krtDonations__coverage--fill18 {
  --krtd-fill-whole: 18;
}

.krtDonations__coverage--goal18 {
  --krtd-goal-whole: 18;
}

.krtDonations__coverage--fill19 {
  --krtd-fill-whole: 19;
}

.krtDonations__coverage--goal19 {
  --krtd-goal-whole: 19;
}

.krtDonations__coverage--fill20 {
  --krtd-fill-whole: 20;
}

.krtDonations__coverage--goal20 {
  --krtd-goal-whole: 20;
}

.krtDonations__coverage--fill21 {
  --krtd-fill-whole: 21;
}

.krtDonations__coverage--goal21 {
  --krtd-goal-whole: 21;
}

.krtDonations__coverage--fill22 {
  --krtd-fill-whole: 22;
}

.krtDonations__coverage--goal22 {
  --krtd-goal-whole: 22;
}

.krtDonations__coverage--fill23 {
  --krtd-fill-whole: 23;
}

.krtDonations__coverage--goal23 {
  --krtd-goal-whole: 23;
}

.krtDonations__coverage--fill24 {
  --krtd-fill-whole: 24;
}

.krtDonations__coverage--goal24 {
  --krtd-goal-whole: 24;
}

.krtDonations__coverage--fill25 {
  --krtd-fill-whole: 25;
}

.krtDonations__coverage--goal25 {
  --krtd-goal-whole: 25;
}

.krtDonations__coverage--fill26 {
  --krtd-fill-whole: 26;
}

.krtDonations__coverage--goal26 {
  --krtd-goal-whole: 26;
}

.krtDonations__coverage--fill27 {
  --krtd-fill-whole: 27;
}

.krtDonations__coverage--goal27 {
  --krtd-goal-whole: 27;
}

.krtDonations__coverage--fill28 {
  --krtd-fill-whole: 28;
}

.krtDonations__coverage--goal28 {
  --krtd-goal-whole: 28;
}

.krtDonations__coverage--fill29 {
  --krtd-fill-whole: 29;
}

.krtDonations__coverage--goal29 {
  --krtd-goal-whole: 29;
}

.krtDonations__coverage--fill30 {
  --krtd-fill-whole: 30;
}

.krtDonations__coverage--goal30 {
  --krtd-goal-whole: 30;
}

.krtDonations__coverage--fill31 {
  --krtd-fill-whole: 31;
}

.krtDonations__coverage--goal31 {
  --krtd-goal-whole: 31;
}

.krtDonations__coverage--fill32 {
  --krtd-fill-whole: 32;
}

.krtDonations__coverage--goal32 {
  --krtd-goal-whole: 32;
}

.krtDonations__coverage--fill33 {
  --krtd-fill-whole: 33;
}

.krtDonations__coverage--goal33 {
  --krtd-goal-whole: 33;
}

.krtDonations__coverage--fill34 {
  --krtd-fill-whole: 34;
}

.krtDonations__coverage--goal34 {
  --krtd-goal-whole: 34;
}

.krtDonations__coverage--fill35 {
  --krtd-fill-whole: 35;
}

.krtDonations__coverage--goal35 {
  --krtd-goal-whole: 35;
}

.krtDonations__coverage--fill36 {
  --krtd-fill-whole: 36;
}

.krtDonations__coverage--goal36 {
  --krtd-goal-whole: 36;
}

.krtDonations__coverage--fill37 {
  --krtd-fill-whole: 37;
}

.krtDonations__coverage--goal37 {
  --krtd-goal-whole: 37;
}

.krtDonations__coverage--fill38 {
  --krtd-fill-whole: 38;
}

.krtDonations__coverage--goal38 {
  --krtd-goal-whole: 38;
}

.krtDonations__coverage--fill39 {
  --krtd-fill-whole: 39;
}

.krtDonations__coverage--goal39 {
  --krtd-goal-whole: 39;
}

.krtDonations__coverage--fill40 {
  --krtd-fill-whole: 40;
}

.krtDonations__coverage--goal40 {
  --krtd-goal-whole: 40;
}

.krtDonations__coverage--fill41 {
  --krtd-fill-whole: 41;
}

.krtDonations__coverage--goal41 {
  --krtd-goal-whole: 41;
}

.krtDonations__coverage--fill42 {
  --krtd-fill-whole: 42;
}

.krtDonations__coverage--goal42 {
  --krtd-goal-whole: 42;
}

.krtDonations__coverage--fill43 {
  --krtd-fill-whole: 43;
}

.krtDonations__coverage--goal43 {
  --krtd-goal-whole: 43;
}

.krtDonations__coverage--fill44 {
  --krtd-fill-whole: 44;
}

.krtDonations__coverage--goal44 {
  --krtd-goal-whole: 44;
}

.krtDonations__coverage--fill45 {
  --krtd-fill-whole: 45;
}

.krtDonations__coverage--goal45 {
  --krtd-goal-whole: 45;
}

.krtDonations__coverage--fill46 {
  --krtd-fill-whole: 46;
}

.krtDonations__coverage--goal46 {
  --krtd-goal-whole: 46;
}

.krtDonations__coverage--fill47 {
  --krtd-fill-whole: 47;
}

.krtDonations__coverage--goal47 {
  --krtd-goal-whole: 47;
}

.krtDonations__coverage--fill48 {
  --krtd-fill-whole: 48;
}

.krtDonations__coverage--goal48 {
  --krtd-goal-whole: 48;
}

.krtDonations__coverage--fill49 {
  --krtd-fill-whole: 49;
}

.krtDonations__coverage--goal49 {
  --krtd-goal-whole: 49;
}

.krtDonations__coverage--fill50 {
  --krtd-fill-whole: 50;
}

.krtDonations__coverage--goal50 {
  --krtd-goal-whole: 50;
}

.krtDonations__coverage--fill51 {
  --krtd-fill-whole: 51;
}

.krtDonations__coverage--goal51 {
  --krtd-goal-whole: 51;
}

.krtDonations__coverage--fill52 {
  --krtd-fill-whole: 52;
}

.krtDonations__coverage--goal52 {
  --krtd-goal-whole: 52;
}

.krtDonations__coverage--fill53 {
  --krtd-fill-whole: 53;
}

.krtDonations__coverage--goal53 {
  --krtd-goal-whole: 53;
}

.krtDonations__coverage--fill54 {
  --krtd-fill-whole: 54;
}

.krtDonations__coverage--goal54 {
  --krtd-goal-whole: 54;
}

.krtDonations__coverage--fill55 {
  --krtd-fill-whole: 55;
}

.krtDonations__coverage--goal55 {
  --krtd-goal-whole: 55;
}

.krtDonations__coverage--fill56 {
  --krtd-fill-whole: 56;
}

.krtDonations__coverage--goal56 {
  --krtd-goal-whole: 56;
}

.krtDonations__coverage--fill57 {
  --krtd-fill-whole: 57;
}

.krtDonations__coverage--goal57 {
  --krtd-goal-whole: 57;
}

.krtDonations__coverage--fill58 {
  --krtd-fill-whole: 58;
}

.krtDonations__coverage--goal58 {
  --krtd-goal-whole: 58;
}

.krtDonations__coverage--fill59 {
  --krtd-fill-whole: 59;
}

.krtDonations__coverage--goal59 {
  --krtd-goal-whole: 59;
}

.krtDonations__coverage--fill60 {
  --krtd-fill-whole: 60;
}

.krtDonations__coverage--goal60 {
  --krtd-goal-whole: 60;
}

.krtDonations__coverage--fill61 {
  --krtd-fill-whole: 61;
}

.krtDonations__coverage--goal61 {
  --krtd-goal-whole: 61;
}

.krtDonations__coverage--fill62 {
  --krtd-fill-whole: 62;
}

.krtDonations__coverage--goal62 {
  --krtd-goal-whole: 62;
}

.krtDonations__coverage--fill63 {
  --krtd-fill-whole: 63;
}

.krtDonations__coverage--goal63 {
  --krtd-goal-whole: 63;
}

.krtDonations__coverage--fill64 {
  --krtd-fill-whole: 64;
}

.krtDonations__coverage--goal64 {
  --krtd-goal-whole: 64;
}

.krtDonations__coverage--fill65 {
  --krtd-fill-whole: 65;
}

.krtDonations__coverage--goal65 {
  --krtd-goal-whole: 65;
}

.krtDonations__coverage--fill66 {
  --krtd-fill-whole: 66;
}

.krtDonations__coverage--goal66 {
  --krtd-goal-whole: 66;
}

.krtDonations__coverage--fill67 {
  --krtd-fill-whole: 67;
}

.krtDonations__coverage--goal67 {
  --krtd-goal-whole: 67;
}

.krtDonations__coverage--fill68 {
  --krtd-fill-whole: 68;
}

.krtDonations__coverage--goal68 {
  --krtd-goal-whole: 68;
}

.krtDonations__coverage--fill69 {
  --krtd-fill-whole: 69;
}

.krtDonations__coverage--goal69 {
  --krtd-goal-whole: 69;
}

.krtDonations__coverage--fill70 {
  --krtd-fill-whole: 70;
}

.krtDonations__coverage--goal70 {
  --krtd-goal-whole: 70;
}

.krtDonations__coverage--fill71 {
  --krtd-fill-whole: 71;
}

.krtDonations__coverage--goal71 {
  --krtd-goal-whole: 71;
}

.krtDonations__coverage--fill72 {
  --krtd-fill-whole: 72;
}

.krtDonations__coverage--goal72 {
  --krtd-goal-whole: 72;
}

.krtDonations__coverage--fill73 {
  --krtd-fill-whole: 73;
}

.krtDonations__coverage--goal73 {
  --krtd-goal-whole: 73;
}

.krtDonations__coverage--fill74 {
  --krtd-fill-whole: 74;
}

.krtDonations__coverage--goal74 {
  --krtd-goal-whole: 74;
}

.krtDonations__coverage--fill75 {
  --krtd-fill-whole: 75;
}

.krtDonations__coverage--goal75 {
  --krtd-goal-whole: 75;
}

.krtDonations__coverage--fill76 {
  --krtd-fill-whole: 76;
}

.krtDonations__coverage--goal76 {
  --krtd-goal-whole: 76;
}

.krtDonations__coverage--fill77 {
  --krtd-fill-whole: 77;
}

.krtDonations__coverage--goal77 {
  --krtd-goal-whole: 77;
}

.krtDonations__coverage--fill78 {
  --krtd-fill-whole: 78;
}

.krtDonations__coverage--goal78 {
  --krtd-goal-whole: 78;
}

.krtDonations__coverage--fill79 {
  --krtd-fill-whole: 79;
}

.krtDonations__coverage--goal79 {
  --krtd-goal-whole: 79;
}

.krtDonations__coverage--fill80 {
  --krtd-fill-whole: 80;
}

.krtDonations__coverage--goal80 {
  --krtd-goal-whole: 80;
}

.krtDonations__coverage--fill81 {
  --krtd-fill-whole: 81;
}

.krtDonations__coverage--goal81 {
  --krtd-goal-whole: 81;
}

.krtDonations__coverage--fill82 {
  --krtd-fill-whole: 82;
}

.krtDonations__coverage--goal82 {
  --krtd-goal-whole: 82;
}

.krtDonations__coverage--fill83 {
  --krtd-fill-whole: 83;
}

.krtDonations__coverage--goal83 {
  --krtd-goal-whole: 83;
}

.krtDonations__coverage--fill84 {
  --krtd-fill-whole: 84;
}

.krtDonations__coverage--goal84 {
  --krtd-goal-whole: 84;
}

.krtDonations__coverage--fill85 {
  --krtd-fill-whole: 85;
}

.krtDonations__coverage--goal85 {
  --krtd-goal-whole: 85;
}

.krtDonations__coverage--fill86 {
  --krtd-fill-whole: 86;
}

.krtDonations__coverage--goal86 {
  --krtd-goal-whole: 86;
}

.krtDonations__coverage--fill87 {
  --krtd-fill-whole: 87;
}

.krtDonations__coverage--goal87 {
  --krtd-goal-whole: 87;
}

.krtDonations__coverage--fill88 {
  --krtd-fill-whole: 88;
}

.krtDonations__coverage--goal88 {
  --krtd-goal-whole: 88;
}

.krtDonations__coverage--fill89 {
  --krtd-fill-whole: 89;
}

.krtDonations__coverage--goal89 {
  --krtd-goal-whole: 89;
}

.krtDonations__coverage--fill90 {
  --krtd-fill-whole: 90;
}

.krtDonations__coverage--goal90 {
  --krtd-goal-whole: 90;
}

.krtDonations__coverage--fill91 {
  --krtd-fill-whole: 91;
}

.krtDonations__coverage--goal91 {
  --krtd-goal-whole: 91;
}

.krtDonations__coverage--fill92 {
  --krtd-fill-whole: 92;
}

.krtDonations__coverage--goal92 {
  --krtd-goal-whole: 92;
}

.krtDonations__coverage--fill93 {
  --krtd-fill-whole: 93;
}

.krtDonations__coverage--goal93 {
  --krtd-goal-whole: 93;
}

.krtDonations__coverage--fill94 {
  --krtd-fill-whole: 94;
}

.krtDonations__coverage--goal94 {
  --krtd-goal-whole: 94;
}

.krtDonations__coverage--fill95 {
  --krtd-fill-whole: 95;
}

.krtDonations__coverage--goal95 {
  --krtd-goal-whole: 95;
}

.krtDonations__coverage--fill96 {
  --krtd-fill-whole: 96;
}

.krtDonations__coverage--goal96 {
  --krtd-goal-whole: 96;
}

.krtDonations__coverage--fill97 {
  --krtd-fill-whole: 97;
}

.krtDonations__coverage--goal97 {
  --krtd-goal-whole: 97;
}

.krtDonations__coverage--fill98 {
  --krtd-fill-whole: 98;
}

.krtDonations__coverage--goal98 {
  --krtd-goal-whole: 98;
}

.krtDonations__coverage--fill99 {
  --krtd-fill-whole: 99;
}

.krtDonations__coverage--goal99 {
  --krtd-goal-whole: 99;
}

.krtDonations__coverage--fill100 {
  --krtd-fill-whole: 100;
}

.krtDonations__coverage--goal100 {
  --krtd-goal-whole: 100;
}

.krtDonations__coverage--fillTenth0 {
  --krtd-fill-tenth: 0;
}

.krtDonations__coverage--goalTenth0 {
  --krtd-goal-tenth: 0;
}

.krtDonations__coverage--fillTenth1 {
  --krtd-fill-tenth: 1;
}

.krtDonations__coverage--goalTenth1 {
  --krtd-goal-tenth: 1;
}

.krtDonations__coverage--fillTenth2 {
  --krtd-fill-tenth: 2;
}

.krtDonations__coverage--goalTenth2 {
  --krtd-goal-tenth: 2;
}

.krtDonations__coverage--fillTenth3 {
  --krtd-fill-tenth: 3;
}

.krtDonations__coverage--goalTenth3 {
  --krtd-goal-tenth: 3;
}

.krtDonations__coverage--fillTenth4 {
  --krtd-fill-tenth: 4;
}

.krtDonations__coverage--goalTenth4 {
  --krtd-goal-tenth: 4;
}

.krtDonations__coverage--fillTenth5 {
  --krtd-fill-tenth: 5;
}

.krtDonations__coverage--goalTenth5 {
  --krtd-goal-tenth: 5;
}

.krtDonations__coverage--fillTenth6 {
  --krtd-fill-tenth: 6;
}

.krtDonations__coverage--goalTenth6 {
  --krtd-goal-tenth: 6;
}

.krtDonations__coverage--fillTenth7 {
  --krtd-fill-tenth: 7;
}

.krtDonations__coverage--goalTenth7 {
  --krtd-goal-tenth: 7;
}

.krtDonations__coverage--fillTenth8 {
  --krtd-fill-tenth: 8;
}

.krtDonations__coverage--goalTenth8 {
  --krtd-goal-tenth: 8;
}

.krtDonations__coverage--fillTenth9 {
  --krtd-fill-tenth: 9;
}

.krtDonations__coverage--goalTenth9 {
  --krtd-goal-tenth: 9;
}

.krtDonations__coverageHead {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 8px 16px;
}

.krtDonations__coverageFigure {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.krtDonations__coverageLabel {
  font-size: 12px;
  color: var(--krtd-text-muted);
}

.krtDonations__coverageValue {
  font-size: 32px;
  font-weight: 600;
  line-height: 1.1;
  color: var(--krtd-text-strong);
  font-variant-numeric: tabular-nums;
}

.krtDonations__goalReached {
  font-size: 13px;
  font-weight: 600;
  color: var(--krtd-accent);
}

.krtDonations__progress {
  position: relative;
  height: 10px;
  margin-top: 4px;
  border-radius: 5px;
  background-color: var(--krtd-track);
}

.krtDonations__progressFill {
  position: absolute;
  inset: 0 auto 0 0;
  width: var(--krtd-fill);
  max-width: 100%;
  border-radius: 5px;
  background-color: var(--krtd-accent);
}

/* Zielmarke: dünne Linie quer über den Balken an der Zielposition */
.krtDonations__progressGoal {
  position: absolute;
  top: -4px;
  left: var(--krtd-goal);
  width: 2px;
  height: 18px;
  border-radius: 1px;
  background-color: var(--krtd-text-strong);
  opacity: 0.8;
  transform: translateX(-1px);
}

.krtDonations__progressScale {
  position: relative;
  height: 16px;
  font-size: 12px;
  line-height: 16px;
  color: var(--krtd-text-muted);
  font-variant-numeric: tabular-nums;
}

.krtDonations__progressStart,
.krtDonations__progressEnd,
.krtDonations__progressGoalLabel {
  position: absolute;
  top: 0;
  white-space: nowrap;
}

.krtDonations__progressStart {
  left: 0;
}

.krtDonations__progressEnd {
  right: 0;
}

.krtDonations__progressGoalLabel {
  left: var(--krtd-goal);
  color: var(--krtd-text);
  transform: translateX(-50%);
}

/* --------------------------------------------------------------------------
   4. Kennzahlen
   -------------------------------------------------------------------------- */
.krtDonations__stats {
  margin: 0;
}

.krtDonations__stat dt {
  font-size: 12px;
  color: var(--krtd-text-muted);
}

.krtDonations__stat dd {
  margin: 0;
  font-size: 16px;
  font-weight: 600;
  color: var(--krtd-text-strong);
  font-variant-numeric: tabular-nums;
}

/* Breit: Kennzahlen nebeneinander unter einer Trennlinie */
.krtDonations--wide .krtDonations__stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 12px;
  padding-top: 14px;
  border-top: 1px solid var(--krtd-track);
}

/* --------------------------------------------------------------------------
   5. Buttons
   -------------------------------------------------------------------------- */
.krtDonations__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 4px;
}

.krtDonations .krtDonations__button {
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 20px;
  font-size: 14px;
}

/* --------------------------------------------------------------------------
   6. Kompaktes Layout (Seitenleiste)
   -------------------------------------------------------------------------- */
.krtDonations--compact .krtDonations__status {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.krtDonations--compact .krtDonations__coverage {
  padding: 16px;
  background-color: var(--krtd-card);
  border-radius: var(--krtd-radius);
}

.krtDonations--compact .krtDonations__coverageValue {
  font-size: 28px;
}

.krtDonations--compact .krtDonations__stats {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.krtDonations--compact .krtDonations__stat {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
}

.krtDonations--compact .krtDonations__stat dt {
  font-size: 14px;
  color: var(--krtd-text);
}

.krtDonations--compact .krtDonations__stat dd {
  font-size: 14px;
}

.krtDonations--compact .krtDonations__text {
  font-size: 13px;
  line-height: 1.5;
}

.krtDonations--compact .krtDonations__actions {
  flex-direction: column;
  margin-top: 0;
}

.krtDonations--compact .krtDonations__button {
  width: 100%;
}

/* Schmaler Balken: nur die Zielbeschriftung, die Skalenenden würden mit ihr kollidieren */
.krtDonations--compact .krtDonations__progressStart,
.krtDonations--compact .krtDonations__progressEnd {
  display: none;
}

/* ==========================================================================
   Spendenseite
   Farben wie die Spendenbox: Variablen der Kartell-Custom-CSS (--krt-…) und
   von WoltLab (--wcf…), sonst feste Werte.
   Keine Inline-Styles: Das Diagramm ist ein gestrecktes SVG, die Beschriftung
   steht als HTML daneben.
   ========================================================================== */
.krtDonationsPage {
  --krtd-inner: var(--krt-bg-200, var(--wcfContentBackground));
  --krtd-line: var(--wcfContentBorderInner);
  display: flex;
  flex-direction: column;
  gap: 24px;
  /* Gleicher Abstand nach oben wie WoltLab-Abschnitte (.section), damit die Seite nicht an
     Hinweisen (z. B. „Testsystem“) oder der Kopfzeile klebt */
  margin-top: 20px;
  color: var(--krtd-text);
  container-type: inline-size;
}

.krtDonationsPage__card {
  background-color: var(--krtd-card);
  border-radius: var(--krtd-radius);
  padding: 24px;
  min-width: 0;
}

.krtDonationsPage__title {
  margin: 0;
  font-size: 22px;
  font-weight: 500;
  color: var(--krtd-text-strong);
}

.krtDonationsPage__subtitle,
.krtDonationsPage__lead {
  margin: 4px 0 0;
  font-size: 13px;
  color: var(--krtd-text-muted);
}

/* Hinweis unter dem Einleitungstext, z. B. dass Bänder keine Vorteile bringen */
.krtDonationsPage__note {
  margin: 10px 0 0;
  padding-left: 10px;
  border-left: 2px solid var(--krtd-accent);
  font-size: 13px;
  color: var(--krtd-text-muted);
}

.krtDonationsPage__dimmed {
  color: var(--krtd-text-muted);
}

/* --- 1. Unterstütze das Kartell --------------------------------------- */
.krtDonationsPage__support {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: 24px;
  /* Kasten und Text gleich hoch */
  align-items: stretch;
}

@container (max-width: 820px) {
  .krtDonationsPage__support {
    grid-template-columns: minmax(0, 1fr);
  }
}
.krtDonationsPage__intro {
  margin-top: 14px;
  line-height: 1.6;
}
.krtDonationsPage__intro p + p {
  margin-top: 12px;
}

/* Rechtlicher Hinweis am Ende des Einleitungstexts */
.krtDonationsPage__introNote {
  font-size: 13px;
  color: var(--krtd-text-muted);
}

.krtDonationsPage__how {
  background-color: var(--krtd-inner);
  border-radius: var(--krtd-radius);
  padding: 16px 18px;
}

.krtDonationsPage__howTitle {
  margin: 0 0 12px;
  font-size: 15px;
  font-weight: 600;
  color: var(--krtd-text-strong);
}

/* Kasten „So kannst du spenden“: drei nummerierte Schritte */
.krtDonationsPage__steps {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.krtDonationsPage__step {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.krtDonationsPage__stepNumber {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background-color: rgba(230, 126, 35, 0.16);
  color: var(--krtd-accent);
  font-size: 13px;
  font-weight: 700;
}

.krtDonationsPage__stepBody {
  flex: 1 1 auto;
  min-width: 0;
}

.krtDonationsPage__stepTitle {
  margin: 3px 0 6px;
  font-weight: 600;
  color: var(--krtd-text-strong);
}

.krtDonationsPage__stepHint {
  margin: -4px 0 0;
  font-size: 13px;
  color: var(--krtd-text-muted);
}

.krtDonationsPage__step--important {
  margin: 0 -8px;
  padding: 8px;
  border: 1px solid rgba(230, 126, 35, 0.45);
  border-radius: var(--krtd-radius);
}
.krtDonationsPage__step--important .krtDonationsPage__copyField {
  margin-top: 8px;
}

.krtDonationsPage__paypalButton {
  display: flex;
  justify-content: center;
  gap: 6px;
  width: 100%;
}

.krtDonationsPage__howSeparator {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 12px 0 8px;
  font-size: 12px;
  color: var(--krtd-text-muted);
}
.krtDonationsPage__howSeparator::before, .krtDonationsPage__howSeparator::after {
  content: "";
  flex: 1;
  height: 1px;
  background-color: var(--krtd-line);
}

.krtDonationsPage__copyField {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 6px 6px 6px 12px;
  border-radius: var(--krtd-radius);
  background-color: rgba(255, 255, 255, 0.05);
  color: var(--krtd-text-strong);
}

.krtDonationsPage__copyValue {
  min-width: 0;
  overflow-wrap: anywhere;
}

.krtDonationsPage__copyButton {
  flex-shrink: 0;
}

.krtDonationsPage__copyField--handle {
  background-color: rgba(230, 126, 35, 0.14);
}
.krtDonationsPage__copyField--handle .krtDonationsPage__copyValue {
  font-weight: 600;
  color: var(--krtd-accent);
}

/* --- 2. Bänder ------------------------------------------------------- */
.krtDonationsPage__tiers {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: 28px;
}

@container (max-width: 900px) {
  .krtDonationsPage__tiers {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@container (max-width: 480px) {
  .krtDonationsPage__tiers {
    grid-template-columns: minmax(0, 1fr);
  }
}
.krtDonationsPage__tier {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 16px 14px 14px;
  background-color: var(--krtd-inner);
  border-radius: var(--krtd-radius);
}

.krtDonationsPage__tierBadge {
  position: absolute;
  top: -9px;
  left: 12px;
  padding: 1px 7px;
  border-radius: 3px;
  background-color: var(--krtd-accent);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.krtDonationsPage__tierImage {
  display: block;
  width: 100%;
  height: auto;
  margin-top: 4px;
  border-radius: 3px;
}

/* Eigenes Band mit grünem Rand und Häkchen „Dein Band“ unten rechts am Band */
.krtDonationsPage__tier--own {
  box-shadow: inset 0 0 0 2px #3fa45b;
}

.krtDonationsPage__tierImageWrap {
  position: relative;
  display: block;
}

.krtDonationsPage__tierOwn {
  position: absolute;
  right: 6px;
  bottom: 6px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 2px 8px;
  border-radius: 10px;
  background-color: #3fa45b;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.6;
}

.krtDonationsPage__tierOwn--inline {
  position: static;
  align-self: flex-start;
}

.krtDonationsPage__tierName {
  font-weight: 600;
  color: var(--krtd-text-strong);
}
.krtDonationsPage__tierName a {
  color: inherit;
}

.krtDonationsPage__tierRange {
  font-size: 18px;
  color: var(--krtd-accent);
  font-variant-numeric: tabular-nums;
}

.krtDonationsPage__tierText {
  margin: 0;
  font-size: 13px;
  color: var(--krtd-text-muted);
}

/* --- 3. Transparenz -------------------------------------------------- */
.krtDonationsPage__titleRow {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.krtDonationsPage__manage {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--krtd-text-muted);
}
.krtDonationsPage__manage:hover {
  color: var(--krtd-accent);
}

.krtDonationsPage__kpis {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 18px;
}

@container (max-width: 900px) {
  .krtDonationsPage__kpis {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
.krtDonationsPage__kpi {
  padding: 14px 16px;
  background-color: var(--krtd-inner);
  border-left: 3px solid var(--krtd-accent);
  border-radius: var(--krtd-radius);
}

.krtDonationsPage__kpiLabel {
  font-size: 12px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--krtd-text-muted);
}

.krtDonationsPage__kpiValue {
  margin-top: 2px;
  font-size: 24px;
  line-height: 1.3;
  color: var(--krtd-text-strong);
  font-variant-numeric: tabular-nums;
}

.krtDonationsPage__kpiHint {
  font-size: 12px;
  color: var(--krtd-text-muted);
}

/* Diagramm */
.krtDonationsPage__chart {
  margin: 20px 0 0;
  padding: 16px;
  background-color: var(--krtd-inner);
  border-radius: var(--krtd-radius);
}

.krtDonationsPage__chartHead {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
  font-size: 13px;
}

.krtDonationsPage__chartPeriod {
  color: var(--krtd-text-muted);
}

.krtDonationsPage__chartBody {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 10px;
}

.krtDonationsPage__chartTicks {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 180px;
  font-size: 11px;
  color: var(--krtd-text-muted);
  text-align: right;
  white-space: nowrap;
}

.krtDonationsPage__chartPlot {
  min-width: 0;
}

.krtDonationsPage__chartSvg {
  display: block;
  width: 100%;
  height: 180px;
  border-top: 1px solid var(--krtd-line);
  border-bottom: 1px solid var(--krtd-line);
  overflow: visible;
}

.krtDonationsPage__chartArea {
  fill: rgba(230, 126, 35, 0.15);
}

.krtDonationsPage__chartLine {
  fill: none;
  stroke: var(--krtd-accent);
  stroke-width: 2px;
  stroke-linejoin: round;
}

.krtDonationsPage__chartAxis {
  display: flex;
  justify-content: space-between;
  margin-top: 6px;
  font-size: 11px;
  color: var(--krtd-text-muted);
}

/* Jahre */
.krtDonationsPage__years {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 20px;
}

.krtDonationsPage__year {
  background-color: var(--krtd-inner);
  border-radius: var(--krtd-radius);
}
.krtDonationsPage__year[open] {
  border-left: 3px solid var(--krtd-accent);
}
.krtDonationsPage__year[open] .krtDonationsPage__yearToggle {
  transform: rotate(180deg);
}

.krtDonationsPage__yearHead {
  display: grid;
  grid-template-columns: 70px minmax(0, 1fr) minmax(0, 1.3fr) auto auto;
  align-items: center;
  gap: 16px;
  padding: 14px 16px;
  cursor: pointer;
  list-style: none;
  font-size: 13px;
  color: var(--krtd-text-muted);
}
.krtDonationsPage__yearHead::-webkit-details-marker {
  display: none;
}
.krtDonationsPage__yearHead strong {
  color: var(--krtd-text-strong);
  font-weight: 600;
}

@container (max-width: 640px) {
  .krtDonationsPage__yearHead {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 4px 12px;
  }
  .krtDonationsPage__yearCount {
    display: none;
  }
}
.krtDonationsPage__yearNumber {
  font-size: 18px;
  color: var(--krtd-text-strong);
}

.krtDonationsPage__yearToggle {
  display: inline-flex;
  transition: transform 0.15s ease;
}

.krtDonationsPage__tableWrap {
  overflow-x: auto;
  padding: 0 16px 8px;
}

.krtDonationsPage__table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}
.krtDonationsPage__table th {
  padding: 10px 0;
  border-bottom: 1px solid var(--krtd-accent);
  color: var(--krtd-accent);
  font-weight: 400;
  text-align: left;
  white-space: nowrap;
}
.krtDonationsPage__table td {
  padding: 9px 0;
  border-bottom: 1px solid var(--krtd-line);
}
.krtDonationsPage__table th + th,
.krtDonationsPage__table td + td {
  padding-left: 16px;
}
.krtDonationsPage__table tr:last-child td {
  border-bottom: 0;
}

.krtDonationsPage__table .krtDonationsPage__number {
  text-align: right;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

.krtDonationsPage__footnote {
  margin: 12px 0 0;
  font-size: 12px;
  color: var(--krtd-text-muted);
}

/* --------------------------------------------------------------------------
   Spendenbox am Handy
   Erklärtext und Kennzahlen entfallen auf schmalen Bildschirmen; die Knöpfe
   und die Reichweite bleiben. Die Einzelheiten stehen auf der Spendenseite.
   (Bis 6.2.13 stand die Regel im stilunabhängigen CSS des Forums.)
   -------------------------------------------------------------------------- */
@media (max-width: 768px) {
  .krtDonations .krtDonations__text,
  .krtDonations .krtDonations__stats {
    display: none !important;
  }
}
/*
 * org.das-kartell.news – Stile der Neuigkeiten-Box und des Archivs.
 *
 * WoltLab übersetzt diese Datei in jeden Stil (files/style/*.scss). Farben, Rahmen und Schatten
 * kommen ausschließlich aus den Stilvariablen (var(--wcf…)), damit Box und Archiv zum jeweiligen
 * Stil passen. Karten: --wcfTabularBoxBackgroundActive, beim Überfahren
 * --wcfDropdownBackgroundActive; im Kartell-Design 3.x ist das genau die Farbe der inneren
 * Kacheln (Termine, Spendenstand).
 *
 * Aufbau:
 *  1. Box (Aktionen oben rechts, Streifen mit Karten, Blätterpfeile)
 *  2. Karte (gemeinsam für Aufmacher, Karte und Listeneintrag)
 *  3. Aufmacher (Bild links, Text rechts; am Handy untereinander)
 *  4. Kompakte Liste (Seitenleiste)
 *  5. Archiv
 *
 * Die Regeln für das Formular (Forum und ACP) stehen in style/ui/krtNewsForm.scss.
 */
/* 1. Box ---------------------------------------------------------------------------------- */
.krtNewsBox {
  --krt-news-gap: 16px;
  --krt-news-visible: 4;
  display: flex;
  flex-direction: column;
  gap: var(--krt-news-gap);
}

/* Sichtbare Karten je Zeile, aus der Box-Einstellung „Anzahl“ (1–12). */
.krtNewsBox--visible1 {
  --krt-news-visible: 1;
}

.krtNewsBox--visible2 {
  --krt-news-visible: 2;
}

.krtNewsBox--visible3 {
  --krt-news-visible: 3;
}

.krtNewsBox--visible4 {
  --krt-news-visible: 4;
}

.krtNewsBox--visible5 {
  --krt-news-visible: 5;
}

.krtNewsBox--visible6 {
  --krt-news-visible: 6;
}

.krtNewsBox--visible7 {
  --krt-news-visible: 7;
}

.krtNewsBox--visible8 {
  --krt-news-visible: 8;
}

.krtNewsBox--visible9 {
  --krt-news-visible: 9;
}

.krtNewsBox--visible10 {
  --krt-news-visible: 10;
}

.krtNewsBox--visible11 {
  --krt-news-visible: 11;
}

.krtNewsBox--visible12 {
  --krt-news-visible: 12;
}

.krtNewsBox__actions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  justify-content: flex-end;
}

/*
 * „Neuigkeit hinzufügen“ und „Alle Neuigkeiten“: ruhige Text-Links in derselben Schrift wie die
 * Box-Überschrift (Großbuchstaben, gesperrt), gedämpft und beim Überfahren in der Linkfarbe.
 * So wirken sie wie ein Teil der Überschrift statt wie zwei verschiedene Elemente.
 */
.krtNewsBox__action {
  align-items: center;
  color: var(--wcfContentDimmedText);
  display: inline-flex;
  font-size: var(--wcfFontSizeSmall);
  font-weight: 600;
  gap: 6px;
  letter-spacing: 0.06em;
  line-height: 1.4;
  text-transform: uppercase;
  white-space: nowrap;
}
.krtNewsBox__action fa-icon {
  color: inherit;
}
.krtNewsBox__action:hover, .krtNewsBox__action:focus-visible {
  color: var(--wcfContentLinkActive);
  text-decoration: none;
}

/*
 * Hat die Box eine Überschrift, stehen die Aktionen ab Tablet-Breite rechts in deren Zeile. So
 * beginnt der Aufmacher direkt unter der Überschrift, auf gleicher Höhe wie der Inhalt der
 * Seitenleiste. Ohne Überschrift und am Handy bleiben sie eine eigene Zeile über den Karten.
 */
@media screen and (min-width: 769px), print {
  .box:has(> .boxTitle):has(> .boxContent > .krtNewsBox > .krtNewsBox__actions) {
    position: relative;
    /*
     * Die Zeile ist so hoch wie die Schrift der Überschrift (17 px ab der Innenkante); Knopf
     * und Link werden darauf mittig ausgerichtet und ragen gleichmäßig nach oben und unten
     * heraus. So stehen sie auf einer Linie mit dem Überschriftentext und berühren den Strich
     * unter der Überschrift nicht. Rechts 36 px Abstand, damit der Stift „Box bearbeiten“
     * in der Ecke frei bleibt.
     */
  }
  .box:has(> .boxTitle):has(> .boxContent > .krtNewsBox > .krtNewsBox__actions) > .boxTitle {
    padding-right: 300px;
  }
  .box:has(> .boxTitle):has(> .boxContent > .krtNewsBox > .krtNewsBox__actions) > .boxContent > .krtNewsBox > .krtNewsBox__actions {
    flex-wrap: nowrap;
    height: 17px;
    position: absolute;
    right: 36px;
    top: 20px;
    z-index: 1;
  }
}
.krtNewsBox__carousel {
  position: relative;
}

/* Ohne Blätterpfeile: Raster, das bei Bedarf in die nächste Zeile umbricht. */
.krtNewsBox__track {
  display: grid;
  gap: var(--krt-news-gap);
  grid-template-columns: repeat(var(--krt-news-visible), minmax(0, 1fr));
}

/* Mit Blätterpfeilen: ein Streifen, der seitlich weitergeschoben wird. */
.krtNewsBox__carousel--scrollable .krtNewsBox__track {
  grid-auto-columns: calc((100% - (var(--krt-news-visible) - 1) * var(--krt-news-gap)) / var(--krt-news-visible));
  grid-auto-flow: column;
  grid-template-columns: none;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}
.krtNewsBox__carousel--scrollable .krtNewsBox__track::-webkit-scrollbar {
  display: none;
}
.krtNewsBox__carousel--scrollable .krtNewsBox__track > .krtNewsCard {
  scroll-snap-align: start;
}

/*
 * Blätterpfeile: klein und leise, halb durchsichtig über den Karten (seit 6.2.0 RC 20, vorher
 * als Testblock im Stil). Die Durchsicht entsteht aus der Inhaltsfarbe des Stils.
 */
.krtNewsBox__arrow {
  align-items: center;
  backdrop-filter: blur(4px);
  background-color: color-mix(in srgb, var(--wcfContentBackground) 70%, transparent);
  border: 1px solid var(--wcfContentBorderInner);
  border-radius: 50%;
  box-shadow: none;
  color: var(--wcfContentText);
  cursor: pointer;
  display: flex;
  height: 32px;
  justify-content: center;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  transition: opacity 0.2s ease, background-color 0.2s ease;
  width: 32px;
  z-index: 2;
}
.krtNewsBox__arrow:hover:not(:disabled) {
  background-color: var(--wcfButtonPrimaryBackground);
  color: var(--wcfButtonPrimaryText);
}
.krtNewsBox__arrow:disabled {
  cursor: default;
  opacity: 0;
  pointer-events: none;
}

.krtNewsBox__arrow--prev {
  left: -16px;
}

.krtNewsBox__arrow--next {
  right: -16px;
}

/* Tablet: höchstens zwei Karten nebeneinander, Handy: eine (der Rest per Wischen). */
@media screen and (min-width: 769px) and (max-width: 1024px) {
  .krtNewsBox {
    --krt-news-visible: 2 !important;
  }
}
@media screen and (max-width: 768px) {
  .krtNewsBox {
    --krt-news-visible: 1 !important;
  }
  .krtNewsBox__carousel--scrollable .krtNewsBox__track {
    grid-auto-columns: 85%;
  }
  .krtNewsBox__arrow {
    display: none;
  }
}
/* 2. Karte -------------------------------------------------------------------------------- */
.krtNewsCard {
  background-color: var(--wcfTabularBoxBackgroundActive);
  border: 0;
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
  position: relative;
  transition: background-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.krtNewsCard--linked:hover {
  background-color: var(--wcfDropdownBackgroundActive);
  box-shadow: var(--wcfBoxShadowCard);
}

@media (prefers-reduced-motion: no-preference) {
  .krtNewsCard--linked:hover {
    transform: translateY(-2px);
  }
}
.krtNewsCard__image {
  aspect-ratio: 16/9;
  background-color: var(--wcfContentContainerBackground);
  overflow: hidden;
  position: relative;
}

.krtNewsCard__imageElement {
  display: block;
  height: 100%;
  object-fit: cover;
  width: 100%;
}

/* Ersatz, wenn weder die Neuigkeit noch ihr Ziel ein Bild hat. */
.krtNewsCard__placeholder {
  align-items: center;
  background: linear-gradient(135deg, var(--wcfContentContainerBackground), var(--wcfTabularBoxBackgroundActive));
  color: var(--wcfContentDimmedText);
  display: flex;
  height: 100%;
  justify-content: center;
  width: 100%;
}
.krtNewsCard__placeholder fa-icon {
  opacity: 0.35;
}

.krtNewsCard__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  left: 10px;
  position: absolute;
  right: 10px;
  top: 10px;
  z-index: 1;
}
.krtNewsCard__badges .badge {
  box-shadow: var(--wcfBoxShadow);
}

/*
 * Etikett der Karte („Wartung“, „Event“ …): ein kleines dunkles Schild auf dem Bild mit weißer
 * Schrift, halb durchsichtig. Die Farbe des Etiketts aus dem ACP wird hier bewusst nicht
 * gezeigt: Bunte Etiketten auf bunten Bildern machen die Reihe unruhig, das Wort reicht. Die
 * Farben sind fest, weil das Schild immer auf einem Bild liegt, nie auf der Stilfläche.
 */
.krtNewsCard__label {
  backdrop-filter: blur(4px);
  background-color: rgba(17, 18, 20, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 4px;
  color: rgb(236, 238, 241);
  font-size: 11px;
  font-weight: 600;
  line-height: 1.6;
  padding: 1px 7px;
  white-space: nowrap;
}

.krtNewsCard__body {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  gap: 8px;
  padding: 14px 16px;
}

.krtNewsCard__title {
  color: var(--wcfContentHeadlineText);
  font-size: var(--wcfFontSizeDefault);
  font-weight: 600;
  line-height: 1.35;
  margin: 0;
  overflow-wrap: anywhere;
}

/* Karten: Titel höchstens drei Zeilen, damit immer mindestens eine Zeile Kurzbeschreibung bleibt. */
.krtNewsCard--card .krtNewsCard__title {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.krtNewsCard__link {
  color: inherit;
  /* Zieht den Link über die ganze Karte, damit sie überall anklickbar ist. */
}
.krtNewsCard__link:hover, .krtNewsCard__link:focus-visible {
  color: var(--wcfContentLinkActive);
  text-decoration: none;
}
.krtNewsCard__link::after {
  content: "";
  inset: 0;
  position: absolute;
  z-index: 0;
}

/*
 * Titelbild aus dem Generator: Der Titel steht groß im Bild und wird darunter nicht wiederholt.
 * Die Überschrift bleibt im Dokument (Vorleseprogramme, Link über die ganze Karte), ihr Text ist
 * aber unsichtbar und nimmt keinen Platz ein. Der Link selbst bleibt sichtbar im Fluss, damit
 * krtNewsCard__link::after weiterhin die ganze Karte abdeckt.
 */
.krtNewsCard--coverTitle .krtNewsCard__body {
  gap: 0;
}
.krtNewsCard--coverTitle .krtNewsCard__title {
  display: block;
  height: 0;
  margin: 0;
  overflow: visible;
}
.krtNewsCard--coverTitle .krtNewsCard__titleText {
  border: 0;
  clip: rect(0 0 0 0);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  white-space: nowrap;
  width: 1px;
}

.krtNewsCard__teaser {
  color: var(--wcfContentDimmedText);
  display: -webkit-box;
  font-size: var(--wcfFontSizeSmall);
  line-height: 1.5;
  margin: 0;
  overflow: hidden;
  -webkit-box-orient: vertical;
  /* Zeilenzahl setzt das Skript je nach Länge des Titels (__krtNewsScript.tpl). */
  -webkit-line-clamp: var(--krt-news-teaser-lines, 3);
}

/*
 * Fuß wie bei den WoltLab-Kartenlisten: Avatar links, Name und Datum untereinander (lange Namen
 * werden mit „…“ gekürzt), Kommentare rechts. Der Fuß bricht nie in eine zweite Zeile um.
 */
.krtNewsCard__footer {
  align-items: center;
  border-top: 1px solid var(--wcfContentBorderInner);
  color: var(--wcfContentDimmedText);
  display: flex;
  font-size: var(--wcfFontSizeSmall);
  /* Knapp gehalten, damit in schmalen Karten Datum und Antworten nebeneinander passen. */
  gap: 8px;
  margin-top: auto;
  padding: 10px 12px;
}

.krtNewsCard__avatar {
  display: flex;
  flex: 0 0 auto;
}
.krtNewsCard__avatar img {
  border-radius: 50%;
}

.krtNewsCard__meta {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  line-height: 1.3;
  min-width: 0;
}

.krtNewsCard__authorName,
.krtNewsCard__date {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.krtNewsCard__authorName {
  color: var(--wcfContentText);
}

.krtNewsCard__comments {
  align-items: center;
  display: inline-flex;
  flex: 0 0 auto;
  gap: 5px;
  margin-left: auto;
}

/* Aktionsmenü im Archiv liegt über dem Kartenlink. */
.krtNewsCard__buttons {
  position: absolute;
  right: 8px;
  top: 8px;
  z-index: 2;
}

/*
 * Menü in der Box (nur für Bearbeiter): derselbe WoltLab-Knopf wie im Archiv (button small). Am
 * PC erscheint er erst beim Überfahren der Karte (oder wenn sie den Fokus hat bzw. das Menü offen
 * ist), damit die Startseite ruhig bleibt; auf Geräten ohne Maus ist er immer zu sehen, weil es
 * dort kein Überfahren gibt.
 */
@media (hover: hover) and (pointer: fine) {
  .krtNewsCard__buttons--box {
    opacity: 0;
    transition: opacity 0.15s ease;
  }
  .krtNewsCard:hover .krtNewsCard__buttons--box,
  .krtNewsCard:focus-within .krtNewsCard__buttons--box,
  .krtNewsCard__buttons--box:has(.dropdownOpen) {
    opacity: 1;
  }
}
/* 3. Aufmacher ---------------------------------------------------------------------------- */
/*
 * Bild und Text je zur Hälfte, Bild mindestens 220 Pixel hoch: etwa so hoch wie das Header-Bild,
 * damit der Aufmacher den Header oben nicht überstrahlt.
 */
.krtNewsCard--featured {
  display: grid;
  grid-template-areas: "image body" "image footer";
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  grid-template-rows: 1fr auto;
  /*
   * Titelbild aus dem Generator: immer ganz zeigen (16 : 9). Ein Zuschnitt auf die Höhe der
   * Textspalte würde den eingeschriebenen Titel abschneiden.
   */
}
.krtNewsCard--featured .krtNewsCard__image {
  aspect-ratio: auto;
  grid-area: image;
  min-height: 220px;
}
.krtNewsCard--featured .krtNewsCard__body {
  gap: 14px;
  grid-area: body;
  justify-content: center;
  padding: 24px 28px;
}
.krtNewsCard--featured .krtNewsCard__title {
  font-size: var(--wcfFontSizeHeadline);
  line-height: 1.25;
}
.krtNewsCard--featured .krtNewsCard__teaser {
  font-size: var(--wcfFontSizeDefault);
  -webkit-line-clamp: var(--krt-news-teaser-lines, 6);
}
.krtNewsCard--featured .krtNewsCard__footer {
  grid-area: footer;
  padding: 12px 28px;
}
.krtNewsCard--featured.krtNewsCard--coverTitle .krtNewsCard__image {
  align-self: start;
  aspect-ratio: 16/9;
  min-height: 0;
}
.krtNewsCard--featured.krtNewsCard--coverTitle .krtNewsCard__body {
  gap: 0;
}

@media screen and (max-width: 768px) {
  .krtNewsCard--featured {
    grid-template-areas: "image" "body" "footer";
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto;
  }
  .krtNewsCard--featured .krtNewsCard__image {
    aspect-ratio: 16/9;
    min-height: 0;
  }
  .krtNewsCard--featured .krtNewsCard__body {
    padding: 16px;
  }
  .krtNewsCard--featured .krtNewsCard__footer {
    padding: 10px 16px;
  }
}
/* 4. Kompakte Liste (Seitenleiste) -------------------------------------------------------- */
.krtNewsBox__list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.krtNewsCard--list {
  align-items: center;
  background-color: transparent;
  display: grid;
  gap: 10px;
  grid-template-columns: 72px minmax(0, 1fr);
}
.krtNewsCard--list.krtNewsCard--linked:hover {
  background-color: transparent;
  box-shadow: none;
  transform: none;
}
.krtNewsCard--list .krtNewsCard__image {
  border-radius: var(--wcfBorderRadius);
}
.krtNewsCard--list .krtNewsCard__badges {
  display: none;
}
.krtNewsCard--list .krtNewsCard__body {
  gap: 2px;
  padding: 0;
}
.krtNewsCard--list .krtNewsCard__title {
  font-size: var(--wcfFontSizeSmall);
}

.krtNewsCard__listDate {
  color: var(--wcfContentDimmedText);
  font-size: var(--wcfFontSizeSmall);
}

/* 5. Archiv ------------------------------------------------------------------------------- */
.krtNewsArchive {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
}

/*
 * KRT Alarmstatus (org.das-kartell.alertstatus)
 * Hinweisleiste und Kopf-Icons mit festen Farbwerten nach Markus' Vorlage.
 * Gelb ist echtes Gelb (#f5c518 / #ffcc00), nicht Orange.
 * Blau (Hinweis) verwendet Cyan-Blau wie das i-Icon der Vorlage (#30a0f8).
 * Die Lageseite und Formulare nutzen für den Inhalt ebenfalls diese Stufenfarben.
 *
 * @author	Markus Gerdelmann (MDCommander)
 * @copyright	2026 Das-Kartell das-kartell.org
 * @package	org.das-kartell.alertstatus
 */
/* -------------------------------------------------------------------------- */
/* Hinweisleiste                                                              */
/* -------------------------------------------------------------------------- */
/*
 * Gelb und Hinweis (Blau) sind kompakt und dezent, Rot ist nur leicht verkleinert
 * (Werte für Rot groß weiter unten bei .krtAlertStatusNotice--large). Rot klein ist kompakt wie Gelb und Hinweis.
 */
.krtAlertStatusNotice {
  align-items: stretch;
  border: 1px solid;
  border-radius: 10px;
  box-sizing: border-box;
  color: inherit;
  display: flex;
  margin: 8px 0;
  min-height: 72px;
  overflow: hidden;
  position: relative;
  text-decoration: none;
}
.krtAlertStatusNotice:hover, .krtAlertStatusNotice:focus {
  text-decoration: none;
}

.krtAlertStatusNoticeIcon {
  align-items: center;
  border-right: 1px solid;
  display: flex;
  flex-shrink: 0;
  justify-content: center;
  width: 52px;
}
.krtAlertStatusNoticeIcon .icon,
.krtAlertStatusNoticeIcon svg {
  display: block;
  height: 28px;
  width: 28px;
}

.krtAlertStatusNoticeBody {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  gap: 2px;
  justify-content: center;
  min-width: 0;
  padding: 6px 14px;
}

/* Badge, Datum und Überschrift nutzt auch die Alarmstatus-Seite, dort bleiben diese Größen */
.krtAlertStatusNoticeMeta {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.krtAlertStatusNoticeBadge {
  border-radius: 4px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1;
  padding: 6px 10px;
  text-transform: uppercase;
}

.krtAlertStatusNoticeDate {
  align-items: center;
  border: 1px solid;
  border-radius: 999px;
  display: inline-flex;
  font-size: 13px;
  font-weight: 500;
  gap: 6px;
  line-height: 1;
  padding: 5px 10px 5px 8px;
  white-space: nowrap;
}
.krtAlertStatusNoticeDate .icon,
.krtAlertStatusNoticeDate svg {
  display: block;
  flex-shrink: 0;
  height: 14px;
  width: 14px;
}

.krtAlertStatusNoticeTitle {
  display: block;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.25;
}

/* Kompakte Größen nur in der Hinweisleiste */
.krtAlertStatusNotice .krtAlertStatusNoticeMeta {
  gap: 8px;
}
.krtAlertStatusNotice .krtAlertStatusNoticeBadge {
  border-radius: 3px;
  font-size: 10px;
  padding: 3px 7px;
}
.krtAlertStatusNotice .krtAlertStatusNoticeDate {
  font-size: 11px;
  gap: 5px;
  padding: 2px 8px 2px 6px;
}
.krtAlertStatusNotice .krtAlertStatusNoticeDate .icon,
.krtAlertStatusNotice .krtAlertStatusNoticeDate svg {
  height: 11px;
  width: 11px;
}
.krtAlertStatusNotice .krtAlertStatusNoticeTitle {
  font-size: 15px;
  line-height: 1.2;
}

.krtAlertStatusNoticeExcerpt {
  display: -webkit-box;
  font-size: 12px;
  line-height: 1.4;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 1;
  overflow: hidden;
}

.krtAlertStatusNoticeArt {
  flex-shrink: 0;
  overflow: hidden;
  position: relative;
  width: 136px;
  /* absolut positioniert, damit das Bild die Höhe der Leiste nicht vorgibt */
}
.krtAlertStatusNoticeArt > img {
  display: block;
  height: 100%;
  left: 0;
  object-fit: cover;
  object-position: 82% center;
  position: absolute;
  top: 0;
  width: 100%;
}

.krtAlertStatusNoticeArtCorners {
  bottom: 7px;
  left: 46%;
  pointer-events: none;
  position: absolute;
  right: 7px;
  top: 7px;
}

.krtAlertStatusNoticeArtCorner {
  height: 10px;
  position: absolute;
  width: 10px;
}
.krtAlertStatusNoticeArtCorner--tl {
  border-left: 2px solid;
  border-top: 2px solid;
  left: 0;
  top: 0;
}
.krtAlertStatusNoticeArtCorner--tr {
  border-right: 2px solid;
  border-top: 2px solid;
  right: 0;
  top: 0;
}
.krtAlertStatusNoticeArtCorner--bl {
  border-bottom: 2px solid;
  border-left: 2px solid;
  bottom: 0;
  left: 0;
}
.krtAlertStatusNoticeArtCorner--br {
  border-bottom: 2px solid;
  border-right: 2px solid;
  bottom: 0;
  right: 0;
}

.krtAlertStatusNoticeArtWarn {
  bottom: 10px;
  position: absolute;
  right: 11px;
}
.krtAlertStatusNoticeArtWarn .icon,
.krtAlertStatusNoticeArtWarn svg {
  display: block;
  height: 12px;
  width: 12px;
}

/* Ausblenden-X oben rechts, nur bei Gelb und Hinweis (wie das X ausblendbarer Hinweise im Core) */
.krtAlertStatusNoticeDismissible {
  margin: 8px 0;
  position: relative;
  /*
   * Rechts bleibt ein freier Streifen für das X. Das Bild samt Station rückt dadurch nach links,
   * der rechte Bildrand läuft weich in den Hintergrund aus.
   */
}
.krtAlertStatusNoticeDismissible > .krtAlertStatusNotice {
  margin: 0;
}
.krtAlertStatusNoticeDismissible .krtAlertStatusNoticeArt {
  width: 170px;
}
.krtAlertStatusNoticeDismissible .krtAlertStatusNoticeArt > img {
  -webkit-mask-image: linear-gradient(to left, transparent 0, #000 14px);
  mask-image: linear-gradient(to left, transparent 0, #000 14px);
  width: calc(100% - 34px);
}
.krtAlertStatusNoticeDismissible .krtAlertStatusNoticeArtCorners {
  right: 41px;
}
.krtAlertStatusNoticeDismissible .krtAlertStatusNoticeArtWarn {
  right: 45px;
}

.krtAlertStatusNoticeDismissButton {
  align-items: center;
  background-color: rgba(0, 0, 0, 0.6);
  border: 1px solid;
  border-radius: 50%;
  box-sizing: border-box;
  cursor: pointer;
  display: flex;
  height: 24px;
  justify-content: center;
  line-height: 1;
  padding: 0;
  position: absolute;
  right: 6px;
  top: 6px;
  width: 24px;
  z-index: 3;
}
.krtAlertStatusNoticeDismissButton .icon,
.krtAlertStatusNoticeDismissButton svg {
  display: block;
  height: 14px;
  width: 14px;
}

.krtAlertStatusNoticeDismissible--yellow > .krtAlertStatusNoticeDismissButton {
  border-color: rgba(245, 197, 24, 0.7);
  color: #ffcc00;
}
.krtAlertStatusNoticeDismissible--yellow > .krtAlertStatusNoticeDismissButton:hover, .krtAlertStatusNoticeDismissible--yellow > .krtAlertStatusNoticeDismissButton:focus-visible {
  background-color: #f5c518;
  color: #1a1608;
}

.krtAlertStatusNoticeDismissible--blue > .krtAlertStatusNoticeDismissButton {
  border-color: rgba(48, 160, 248, 0.7);
  color: #48b4ff;
}
.krtAlertStatusNoticeDismissible--blue > .krtAlertStatusNoticeDismissButton:hover, .krtAlertStatusNoticeDismissible--blue > .krtAlertStatusNoticeDismissButton:focus-visible {
  background-color: #30a0f8;
  color: #fff;
}

.krtAlertStatusNotice--red {
  background-color: #3a1618;
  border-color: #c42a32;
  box-shadow: 0 0 10px rgba(224, 38, 48, 0.55);
  color: #f3e8e9;
}
.krtAlertStatusNotice--red .krtAlertStatusNoticeIcon {
  border-right-color: rgba(224, 38, 48, 0.65);
  color: #f62733;
}
.krtAlertStatusNotice--red .krtAlertStatusNoticeBadge {
  background-color: #e02630;
  color: #fff;
}
.krtAlertStatusNotice--red .krtAlertStatusNoticeDate {
  background-color: rgba(0, 0, 0, 0.35);
  border-color: rgba(255, 255, 255, 0.14);
  color: #f3e8e9;
}
.krtAlertStatusNotice--red .krtAlertStatusNoticeExcerpt {
  color: #d7b8ba;
}
.krtAlertStatusNotice--red .krtAlertStatusNoticeArt::before {
  background: linear-gradient(to right, #3a1618 0%, rgba(58, 22, 24, 0) 55%);
  content: "";
  inset: 0;
  position: absolute;
  z-index: 1;
}
.krtAlertStatusNotice--red .krtAlertStatusNoticeArtCorners,
.krtAlertStatusNotice--red .krtAlertStatusNoticeArtWarn {
  color: #f62733;
  z-index: 2;
}

/* Rot groß: nur leicht verkleinerte große Leiste. Rot klein nutzt die kompakten Werte oben. */
.krtAlertStatusNotice--red.krtAlertStatusNotice--large {
  border-radius: 12px;
  box-shadow: 0 0 16px rgba(224, 38, 48, 0.55);
  margin: 10px 0;
  min-height: 136px;
}
.krtAlertStatusNotice--red.krtAlertStatusNotice--large .krtAlertStatusNoticeIcon {
  width: 76px;
}
.krtAlertStatusNotice--red.krtAlertStatusNotice--large .krtAlertStatusNoticeIcon .icon,
.krtAlertStatusNotice--red.krtAlertStatusNotice--large .krtAlertStatusNoticeIcon svg {
  height: 44px;
  width: 44px;
}
.krtAlertStatusNotice--red.krtAlertStatusNotice--large .krtAlertStatusNoticeBody {
  gap: 6px;
  padding: 14px 20px;
}
.krtAlertStatusNotice--red.krtAlertStatusNotice--large .krtAlertStatusNoticeBadge {
  border-radius: 4px;
  font-size: 11px;
  padding: 5px 9px;
}
.krtAlertStatusNotice--red.krtAlertStatusNotice--large .krtAlertStatusNoticeDate {
  font-size: 12px;
  padding: 4px 9px 4px 7px;
}
.krtAlertStatusNotice--red.krtAlertStatusNotice--large .krtAlertStatusNoticeDate .icon,
.krtAlertStatusNotice--red.krtAlertStatusNotice--large .krtAlertStatusNoticeDate svg {
  height: 12px;
  width: 12px;
}
.krtAlertStatusNotice--red.krtAlertStatusNotice--large .krtAlertStatusNoticeTitle {
  font-size: 19px;
}
.krtAlertStatusNotice--red.krtAlertStatusNotice--large .krtAlertStatusNoticeExcerpt {
  font-size: 13px;
  -webkit-line-clamp: 2;
}
.krtAlertStatusNotice--red.krtAlertStatusNotice--large .krtAlertStatusNoticeArt {
  width: 242px;
}
.krtAlertStatusNotice--red.krtAlertStatusNotice--large .krtAlertStatusNoticeArtCorners {
  bottom: 13px;
  right: 13px;
  top: 13px;
}
.krtAlertStatusNotice--red.krtAlertStatusNotice--large .krtAlertStatusNoticeArtCorner {
  height: 18px;
  width: 18px;
}
.krtAlertStatusNotice--red.krtAlertStatusNotice--large .krtAlertStatusNoticeArtWarn {
  bottom: 18px;
  right: 19px;
}
.krtAlertStatusNotice--red.krtAlertStatusNotice--large .krtAlertStatusNoticeArtWarn .icon,
.krtAlertStatusNotice--red.krtAlertStatusNotice--large .krtAlertStatusNoticeArtWarn svg {
  height: 18px;
  width: 18px;
}

.krtAlertStatusNotice--yellow {
  background-color: #1c1808;
  border-color: #f5c518;
  box-shadow: 0 0 10px rgba(245, 197, 24, 0.5);
  color: #f7f0d4;
}
.krtAlertStatusNotice--yellow .krtAlertStatusNoticeIcon {
  border-right-color: rgba(245, 197, 24, 0.65);
  color: #ffcc00;
}
.krtAlertStatusNotice--yellow .krtAlertStatusNoticeBadge {
  background-color: #f5c518;
  color: #1a1608;
}
.krtAlertStatusNotice--yellow .krtAlertStatusNoticeDate {
  background-color: rgba(0, 0, 0, 0.4);
  border-color: rgba(245, 197, 24, 0.35);
  color: #f7f0d4;
}
.krtAlertStatusNotice--yellow .krtAlertStatusNoticeExcerpt {
  color: #d8cc96;
}
.krtAlertStatusNotice--yellow .krtAlertStatusNoticeArt > img {
  filter: hue-rotate(48deg) saturate(1.15);
}
.krtAlertStatusNotice--yellow .krtAlertStatusNoticeArt::before {
  background: linear-gradient(to right, #1c1808 0%, rgba(28, 24, 8, 0) 55%);
  content: "";
  inset: 0;
  position: absolute;
  z-index: 1;
}
.krtAlertStatusNotice--yellow .krtAlertStatusNoticeArtCorners,
.krtAlertStatusNotice--yellow .krtAlertStatusNoticeArtWarn {
  color: #ffcc00;
  z-index: 2;
}

.krtAlertStatusNotice--blue {
  background-color: #0e1824;
  border-color: #30a0f8;
  box-shadow: 0 0 10px rgba(48, 160, 248, 0.55);
  color: #d9ecfb;
}
.krtAlertStatusNotice--blue .krtAlertStatusNoticeIcon {
  border-right-color: rgba(48, 160, 248, 0.65);
  color: #48b4ff;
}
.krtAlertStatusNotice--blue .krtAlertStatusNoticeBadge {
  background-color: #30a0f8;
  color: #fff;
}
.krtAlertStatusNotice--blue .krtAlertStatusNoticeDate {
  background-color: rgba(0, 0, 0, 0.4);
  border-color: rgba(48, 160, 248, 0.4);
  color: #d9ecfb;
}
.krtAlertStatusNotice--blue .krtAlertStatusNoticeExcerpt {
  color: #9ec4e0;
}
.krtAlertStatusNotice--blue .krtAlertStatusNoticeArt > img {
  filter: hue-rotate(190deg) saturate(1.1);
}
.krtAlertStatusNotice--blue .krtAlertStatusNoticeArt::before {
  background: linear-gradient(to right, #0e1824 0%, rgba(14, 24, 36, 0) 55%);
  content: "";
  inset: 0;
  position: absolute;
  z-index: 1;
}
.krtAlertStatusNotice--blue .krtAlertStatusNoticeArtCorners,
.krtAlertStatusNotice--blue .krtAlertStatusNoticeArtWarn {
  color: #48b4ff;
  z-index: 2;
}

@media screen and (max-width: 1024px) {
  .krtAlertStatusNotice {
    min-height: 0;
  }
  .krtAlertStatusNoticeArt {
    display: none;
  }
  .krtAlertStatusNoticeIcon {
    width: 48px;
  }
  .krtAlertStatusNotice--red.krtAlertStatusNotice--large .krtAlertStatusNoticeIcon {
    width: 64px;
  }
}
/* -------------------------------------------------------------------------- */
/* Kopf-Icon links neben dem Avatar                                           */
/* -------------------------------------------------------------------------- */
/*
 * Höhe und Abstände des Links wie bei den übrigen Icons im Benutzer-Panel (Core: 50px hoch, 15px seitlich, Icon 32px),
 * damit die Kopfzeile nicht höher wird und nichts verschoben wird.
 */
.userPanel > ul > li#krtAlertStatusPanel {
  order: -1;
  overflow: visible;
}
.userPanel > ul > li#krtAlertStatusPanel > a.krtAlertStatusPanelLink {
  background: transparent;
  overflow: visible;
}

/* WoltLab blendet im Benutzer-Panel alle Spans direkt im Link aus (Regel für Icon-Beschriftungen), deshalb hier gezielt wieder einblenden */
.userPanel > ul > li#krtAlertStatusPanel > a > span.krtAlertStatusPanelIcon {
  display: flex;
}

.krtAlertStatusPanelIcon {
  align-items: center;
  background-color: #0e1216;
  border: 2px solid;
  border-radius: 10px;
  box-sizing: border-box;
  display: flex;
  height: 32px;
  justify-content: center;
  position: relative;
  width: 32px;
}
.krtAlertStatusPanelIcon > .icon,
.krtAlertStatusPanelIcon > svg {
  display: block;
  height: 20px;
  width: 20px;
}
.krtAlertStatusPanelIcon::after {
  background-color: #0e1216;
  border-bottom: 2px solid;
  border-color: inherit;
  border-right: 2px solid;
  bottom: -4px;
  content: "";
  height: 6px;
  left: 50%;
  position: absolute;
  transform: translateX(-50%) rotate(45deg);
  width: 6px;
}

.krtAlertStatusPanelIcon > .krtAlertStatusLogo {
  display: block;
  height: 17px;
  width: 24px;
}

/* Zahl oben rechts wie das Badge der Benachrichtigungs-Glocke */
.krtAlertStatusPanelBadge {
  align-items: center;
  border-radius: 5px;
  display: flex;
  font-size: 11px;
  font-weight: 700;
  height: 18px;
  justify-content: center;
  line-height: 1;
  min-width: 18px;
  padding: 0 5px;
  position: absolute;
  right: -16px;
  top: -9px;
  z-index: 2;
}

.krtAlertStatusPanelLink--red .krtAlertStatusPanelIcon {
  border-color: #f62733;
  box-shadow: 0 0 12px rgba(224, 38, 48, 0.55);
  color: #f62733;
}

.krtAlertStatusPanelLink--red .krtAlertStatusPanelBadge {
  background-color: #e02630;
  color: #fff;
}

.krtAlertStatusPanelLink--yellow .krtAlertStatusPanelIcon {
  border-color: #f5c518;
  box-shadow: 0 0 12px rgba(245, 197, 24, 0.5);
  color: #f5c518;
}

.krtAlertStatusPanelLink--yellow .krtAlertStatusPanelBadge {
  background-color: #f5c518;
  color: #1a1608;
}

.krtAlertStatusPanelLink--blue .krtAlertStatusPanelIcon {
  border-color: #30a0f8;
  box-shadow: 0 0 12px rgba(48, 160, 248, 0.55);
  color: #30a0f8;
}

.krtAlertStatusPanelLink--blue .krtAlertStatusPanelBadge {
  background-color: #30a0f8;
  color: #fff;
}

.krtAlertStatusPanelLink--green .krtAlertStatusPanelIcon {
  border-color: #3dcc5a;
  box-shadow: 0 0 12px rgba(61, 204, 90, 0.45);
  color: #3dcc5a;
}

.krtAlertStatusPanelLink--green .krtAlertStatusPanelBadge {
  background-color: #3dcc5a;
  color: #0c140e;
}

/* -------------------------------------------------------------------------- */
/* Lageseite: echte Reiter, Karten im Stil der Hinweisleiste                  */
/* -------------------------------------------------------------------------- */
.krtAlertStatus > .tabMenu > ul > li > a.krtAlertStatusTab {
  align-items: center;
  background-color: transparent;
  color: inherit;
  display: flex;
  gap: 8px;
  padding-bottom: 8px;
}

.krtAlertStatusTabIcon {
  align-items: center;
  background-color: #0e1216;
  border: 2px solid;
  border-radius: 8px;
  box-sizing: border-box;
  display: inline-flex;
  flex-shrink: 0;
  height: 28px;
  justify-content: center;
  width: 28px;
}
.krtAlertStatusTabIcon > .icon,
.krtAlertStatusTabIcon > svg,
.krtAlertStatusTabIcon > .krtAlertStatusLogo {
  display: block;
  height: 16px;
  width: 16px;
}
.krtAlertStatusTabIcon > .krtAlertStatusLogo {
  height: 14px;
  width: 20px;
}
.krtAlertStatusTabIcon--red {
  border-color: #f62733;
  box-shadow: 0 0 8px rgba(224, 38, 48, 0.55);
  color: #f62733;
}
.krtAlertStatusTabIcon--yellow {
  border-color: #f5c518;
  box-shadow: 0 0 8px rgba(245, 197, 24, 0.5);
  color: #f5c518;
}
.krtAlertStatusTabIcon--blue {
  border-color: #30a0f8;
  box-shadow: 0 0 8px rgba(48, 160, 248, 0.55);
  color: #30a0f8;
}
.krtAlertStatusTabIcon--green {
  border-color: #3dcc5a;
  box-shadow: 0 0 8px rgba(61, 204, 90, 0.45);
  color: #3dcc5a;
}

.krtAlertStatusTabLabel {
  font-weight: 600;
}

.krtAlertStatusMessage.tabMenuContent.hidden {
  display: none;
}

.krtAlertStatusMessageCard {
  border: 1px solid;
  border-radius: 14px;
  box-sizing: border-box;
  margin-top: 16px;
  padding: 20px 24px 18px;
}

.krtAlertStatusMessageHeader {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: space-between;
  margin-bottom: 12px;
}

.krtAlertStatusMessageActions {
  display: flex;
  gap: 5px;
}

.krtAlertStatusMessageCard .krtAlertStatusNoticeTitle {
  margin-bottom: 12px;
}

.krtAlertStatusMessageText {
  background-color: transparent;
  border: 0;
  border-radius: 0;
  padding: 0;
}
.krtAlertStatusMessageText a:not(.button) {
  text-decoration: underline;
}

.krtAlertStatusLastChange {
  font-size: 13px;
  margin-top: 16px;
  opacity: 0.85;
}

.krtAlertStatusMessage--red .krtAlertStatusMessageCard {
  background-color: #3a1618;
  border-color: #c42a32;
  box-shadow: 0 0 18px rgba(224, 38, 48, 0.55);
  color: #f3e8e9;
}

.krtAlertStatusMessage--red .krtAlertStatusNoticeBadge {
  background-color: #e02630;
  color: #fff;
}

.krtAlertStatusMessage--red .krtAlertStatusNoticeDate {
  background-color: rgba(0, 0, 0, 0.35);
  border-color: rgba(255, 255, 255, 0.14);
  color: #f3e8e9;
}

.krtAlertStatusMessage--yellow .krtAlertStatusMessageCard {
  background-color: #1c1808;
  border-color: #f5c518;
  box-shadow: 0 0 10px rgba(245, 197, 24, 0.5);
  color: #f7f0d4;
}

.krtAlertStatusMessage--yellow .krtAlertStatusNoticeBadge {
  background-color: #f5c518;
  color: #1a1608;
}

.krtAlertStatusMessage--yellow .krtAlertStatusNoticeDate {
  background-color: rgba(0, 0, 0, 0.4);
  border-color: rgba(245, 197, 24, 0.35);
  color: #f7f0d4;
}

.krtAlertStatusMessage--blue .krtAlertStatusMessageCard {
  background-color: #0e1824;
  border-color: #30a0f8;
  box-shadow: 0 0 10px rgba(48, 160, 248, 0.55);
  color: #d9ecfb;
}

.krtAlertStatusMessage--blue .krtAlertStatusNoticeBadge {
  background-color: #30a0f8;
  color: #fff;
}

.krtAlertStatusMessage--blue .krtAlertStatusNoticeDate {
  background-color: rgba(0, 0, 0, 0.4);
  border-color: rgba(48, 160, 248, 0.4);
  color: #d9ecfb;
}

.krtAlertStatusMessage--green .krtAlertStatusMessageCard {
  background-color: #101a12;
  border-color: #3dcc5a;
  box-shadow: 0 0 18px rgba(61, 204, 90, 0.45);
  color: #e3f6e7;
}

.krtAlertStatusMessage--green .krtAlertStatusNoticeBadge {
  background-color: #3dcc5a;
  color: #0c140e;
}

.krtAlertStatusMessage--green .krtAlertStatusNoticeDate {
  background-color: rgba(0, 0, 0, 0.4);
  border-color: rgba(61, 204, 90, 0.35);
  color: #e3f6e7;
}

/* -------------------------------------------------------------------------- */
/* Formular: nur der linke Rand zeigt die gewählte Stufe                      */
/* -------------------------------------------------------------------------- */
.krtAlertStatusMessageForm {
  border-left: 6px solid transparent;
  padding-left: 15px;
}
.krtAlertStatusMessageForm.krtAlertStatus--green {
  border-left-color: #3dcc5a;
}
.krtAlertStatusMessageForm.krtAlertStatus--blue {
  border-left-color: #30a0f8;
}
.krtAlertStatusMessageForm.krtAlertStatus--yellow {
  border-left-color: #f5c518;
}
.krtAlertStatusMessageForm.krtAlertStatus--red {
  border-left-color: #e02630;
}

/*
 * WoltLab erlaubt beim {icon}-Plugin nur die Größen 16, 24, 32, 48, 64, 96, 128 und 144.
 * Die Templates fordern deshalb die nächste erlaubte Größe an, die tatsächliche Darstellungsgröße
 * wird hier über --icon-size festgelegt, damit das Aussehen unverändert bleibt.
 */
.krtAlertStatusTabIcon fa-icon[size] {
  --icon-size: 18px;
}

.krtAlertStatusNoticeArtWarn fa-icon[size] {
  --icon-size: 12px;
}

.krtAlertStatusNoticeDate fa-icon[size] {
  --icon-size: 14px;
}

.krtAlertStatusNotice .krtAlertStatusNoticeDate fa-icon[size] {
  --icon-size: 11px;
}

.krtAlertStatusNoticeDismissButton fa-icon[size] {
  --icon-size: 14px;
}

.krtAlertStatusPanelIcon fa-icon[size] {
  --icon-size: 20px;
}

.krtAlertStatusNoticeIcon fa-icon[size] {
  --icon-size: 28px;
}

.krtAlertStatusNotice--large .krtAlertStatusNoticeArtWarn fa-icon[size] {
  --icon-size: 18px;
}

.krtAlertStatusNotice--large .krtAlertStatusNoticeDate fa-icon[size] {
  --icon-size: 12px;
}

.krtAlertStatusNotice--large .krtAlertStatusNoticeIcon fa-icon[size] {
  --icon-size: 44px;
}

/*
 * org.das-kartell.credits – Stile der Seite „Mitwirkende“ und Lage der Footer-Zeile.
 *
 * WoltLab übersetzt diese Datei in jeden Stil (files/style/*.scss). Farben, Rahmen und Rundungen
 * kommen ausschließlich aus den Stilvariablen (var(--wcf…)), damit die Seite zum jeweiligen Stil
 * passt:
 *  - Kästen:   --wcfContentContainerBackground
 *  - Karten:   --wcfTabularBoxBackgroundActive
 *  - Akzente:  --wcfButtonPrimaryBackground, die Hauptfarbe des Stils (Strich unter den
 *              Kastentiteln, Anfangsbuchstabe)
 *
 * Die Footer-Zeile (.krtCreditsFooter) bekommt keine eigene Gestaltung: Sie trägt WoltLabs
 * Klasse „copyright“ und sieht damit aus wie die Zeile „Community-Software“.
 *
 * Aufbau:
 *  1. Kästen und Kastentitel
 *  2. Karten (Personen und Erweiterungen)
 *  3. Avatare und Namen
 *  4. Footer-Zeile
 */
/* 1. Kästen ------------------------------------------------------------------------------- */
.krtCredits {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 20px;
}

.krtCredits__box {
  background-color: var(--wcfContentContainerBackground);
  border: 1px solid var(--wcfContentBorderInner);
  border-radius: var(--wcfBorderRadiusContainer);
  padding: 20px;
}

/* Kastentitel wie die Überschrift einer Box: klein, Großbuchstaben, Linie mit Akzentstrich. */
.krtCredits__boxTitle {
  border-bottom: 1px solid var(--wcfContentBorderInner);
  color: var(--wcfContentHeadlineText);
  font-size: var(--wcfFontSizeSmall);
  font-weight: 700;
  letter-spacing: 0.08em;
  margin: 0 0 14px;
  padding-bottom: 10px;
  position: relative;
  text-transform: uppercase;
}
.krtCredits__boxTitle::after {
  background-color: var(--wcfButtonPrimaryBackground);
  bottom: -1px;
  content: "";
  height: 2px;
  left: 0;
  position: absolute;
  width: 36px;
}

.krtCredits__note {
  color: var(--wcfContentDimmedText);
  font-size: var(--wcfFontSizeSmall);
  margin: 14px 0 0;
}

/* 2. Karten (Personen und Erweiterungen) -------------------------------------------------- */
.krtCredits__entries {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(auto-fill, minmax(min(270px, 100%), 1fr));
}

.krtCredits__entry {
  background-color: var(--wcfTabularBoxBackgroundActive);
  border-radius: var(--wcfBorderRadius);
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 12px 14px;
}

.krtCredits__entryTitle {
  color: var(--wcfContentHeadlineText);
  font-size: var(--wcfFontSizeDefault);
  font-weight: 700;
  margin: 0;
  overflow-wrap: anywhere;
}

.krtCredits__entryVersion {
  color: var(--wcfContentDimmedText);
  font-weight: 400;
  margin-left: 6px;
}

.krtCredits__entryDescription {
  color: var(--wcfContentDimmedText);
  font-size: var(--wcfFontSizeSmall);
  margin: 4px 0 0;
}

/* Abstand zur Autorenzeile; sie selbst klebt am Boden der Karte (margin-top: auto), damit die
   Trennlinien einer Reihe auf gleicher Höhe stehen. */
.krtCredits__entryTitle:has(+ .krtCredits__entryAuthors),
.krtCredits__entryDescription:has(+ .krtCredits__entryAuthors) {
  margin-bottom: 12px;
}

/* Autoren stehen unten in der Karte, durch eine Linie getrennt. */
.krtCredits__entryAuthors {
  border-top: 1px solid var(--wcfContentBorderInner);
  display: flex;
  flex-wrap: wrap;
  gap: 6px 16px;
  margin-top: auto;
  padding-top: 10px;
}

.krtCredits__entryAuthor {
  align-items: center;
  display: flex;
  font-size: var(--wcfFontSizeSmall);
  gap: 8px;
  min-width: 0;
}

/* 3. Avatare und Namen -------------------------------------------------------------------- */
.krtCredits__avatar {
  display: flex;
  flex: 0 0 auto;
}
.krtCredits__avatar img {
  border-radius: var(--wcfBorderRadius);
}

/* Platzhalter für Namen ohne Benutzerkonto: Feld mit dem ersten Buchstaben. */
.krtCredits__initial {
  align-items: center;
  background-color: var(--wcfContentContainerBackground);
  border: 1px solid var(--wcfContentBorderInner);
  border-radius: var(--wcfBorderRadius);
  box-sizing: border-box;
  color: var(--wcfButtonPrimaryBackground);
  display: flex;
  font-size: var(--wcfFontSizeSmall);
  font-weight: 700;
  height: 24px;
  justify-content: center;
  width: 24px;
}

/* Keine eigene Farbe: Namen von Mitgliedern sehen aus wie überall im Forum (WoltLabs Linkfarbe),
   freie Namen wie normaler Text. Lange Namen werden gekürzt statt umbrochen. */
.krtCredits__name {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* 4. Footer-Zeile ------------------------------------------------------------------------- */
/* Nur mit der Einstellung „Unter der Zeile Community-Software anzeigen“ (Klasse --below).
   Die Zeile wird am Template-Ereignis „copyright“ ausgegeben und steht im Quelltext vor WoltLabs
   Zeile. Hier wird nur die Reihenfolge getauscht; nichts wird ausgeblendet oder umgestaltet.
   WoltLab setzt den Abstand der Zeilen über „div:not(:first-child)“; nach dem Tausch säße er an
   der falschen Zeile. Deshalb übernimmt gap denselben Abstand wie im Kern (pageFooter.scss). */
.pageFooterCopyright > .layoutBoundary:has(> .krtCreditsFooter--below) {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.pageFooterCopyright > .layoutBoundary:has(> .krtCreditsFooter--below) > div {
  margin-top: 0;
}

.krtCreditsFooter--below {
  order: 1;
}

/* Was WoltLab oder andere Erweiterungen nach den Copyright-Zeilen ausgeben (zum Beispiel die
   Werbefläche „Footer unten“), bleibt dahinter. */
.krtCreditsFooter--below ~ :not(.copyright) {
  order: 2;
}

/* =================================================================== */
/* ===================== KRT - FleetView - PlugIn ==================== */
/* =================================================================== */
/*
 * Alle FleetView-CSS-Regeln gehören hierher (nicht in Templates).
 * Templates nur Klassen; kein <style>-Block, kein Layout-style="…".
 * Dynamische Werte (z. B. Breiten aus Daten) bleiben ausgenommen.
 */
/* Platzhalter: eigene Klassen ergänzen, sobald UI-CSS nötig ist. */
/* ------------------------------------------------------------------- */
/* Flotte per Datei importieren: Status-Zeile und Anleitung            */
/* ------------------------------------------------------------------- */
.krtFleetViewImportStatus {
  color: var(--wcfContentDimmedText);
  margin-bottom: 20px;
}

.krtFleetViewHelpSteps {
  display: flex;
  flex-direction: column;
  gap: 30px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.krtFleetViewHelpStep {
  border: 1px solid var(--wcfContentBorderInner);
  border-radius: var(--wcfBorderRadius);
  padding: 15px 20px;
}
.krtFleetViewHelpStep > p {
  margin-bottom: 15px;
}

.krtFleetViewHelpStepTitle {
  font-size: var(--wcfFontSizeHeadline);
  font-weight: 600;
  margin-bottom: 10px;
}

.krtFleetViewHelpFigure {
  margin: 0;
  max-width: 640px;
}
.krtFleetViewHelpFigure > img {
  display: block;
  height: auto;
  width: 100%;
}
.krtFleetViewHelpFigure > figcaption {
  color: var(--wcfContentDimmedText);
  font-size: var(--wcfFontSizeSmall);
  margin-top: 5px;
}

/* ------------------------------------------------------------------- */
/* Schiffskatalog: Quellenhinweis, Filterleiste, Detail/Popover         */
/* ------------------------------------------------------------------- */
.krtFleetViewAttribution,
.krtFleetViewCatalogStatus {
  color: var(--wcfContentDimmedText);
  font-size: var(--wcfFontSizeSmall);
  margin-top: 10px;
}

.krtFleetViewShipFilter {
  background-color: var(--wcfContentContainerBackground);
  border: 1px solid var(--wcfContentBorderInner);
  border-radius: var(--wcfBorderRadius);
  margin-bottom: 20px;
  padding: 10px 15px;
}

.krtFleetViewShipFilterSearch {
  margin-bottom: 10px;
}
.krtFleetViewShipFilterSearch > input {
  width: 100%;
}

.krtFleetViewShipFilterFields {
  align-items: flex-end;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.krtFleetViewShipFilterFields > label {
  display: flex;
  flex: 1 1 140px;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.krtFleetViewShipFilterFields > label > span {
  color: var(--wcfContentDimmedText);
  font-size: var(--wcfFontSizeSmall);
}
.krtFleetViewShipFilterFields > label > select {
  width: 100%;
}
.krtFleetViewShipFilterFields > .krtFleetViewShipFilterSelectedOnly {
  align-items: center;
  flex: 0 0 auto;
  flex-direction: row;
  gap: 5px;
  min-height: 32px;
}

.krtFleetViewShipFilterDirection .krtFleetViewShipFilterDirectionDesc {
  display: none;
}
.krtFleetViewShipFilterDirection[data-direction=desc] .krtFleetViewShipFilterDirectionAsc {
  display: none;
}
.krtFleetViewShipFilterDirection[data-direction=desc] .krtFleetViewShipFilterDirectionDesc {
  display: inline;
}

.krtFleetViewShipFilterCount {
  color: var(--wcfContentDimmedText);
  font-size: var(--wcfFontSizeSmall);
  margin-top: 10px;
}

.krtFleetViewShipFilterEmpty {
  color: var(--wcfContentDimmedText);
  padding: 20px 0;
  text-align: center;
}

.krtFleetViewShipDetails {
  min-width: 0;
}

.krtFleetViewShipDetailsImage {
  aspect-ratio: 16/9;
  border-radius: var(--wcfBorderRadius);
  display: block;
  margin-bottom: 10px;
  object-fit: cover;
  width: 100%;
}

.krtFleetViewShipDetailsManufacturer {
  color: var(--wcfContentDimmedText);
  font-size: var(--wcfFontSizeSmall);
  text-transform: uppercase;
}

.krtFleetViewShipDetailsTitle {
  font-size: var(--wcfFontSizeHeadline);
  font-weight: 600;
  margin-bottom: 10px;
}

.krtFleetViewShipDetailsNote {
  color: var(--wcfContentDimmedText);
  font-style: italic;
  margin-top: 10px;
}

.krtFleetViewShipComponentsTitle {
  font-weight: 600;
  margin: 15px 0 5px;
}

.krtFleetViewShipFacts {
  display: grid;
  gap: 4px 15px;
  grid-template-columns: max-content minmax(0, 1fr);
  margin: 0;
}
.krtFleetViewShipFacts > dt {
  color: var(--wcfContentDimmedText);
}
.krtFleetViewShipFacts > dd {
  margin: 0;
}

.krtFleetViewShipComponents > dd {
  display: flex;
  flex-wrap: wrap;
  gap: 2px 10px;
}

/* Popover-Container wie beim Benutzer-Popover des Cores: ohne Innenabstand und ohne feste Höhe */
.popoverContainer[data-identifier="org.das-kartell.fleetview.ship"] {
  --maxHeight: none;
  --maxWidth: 380px;
  --padding: 0;
  width: 380px;
}

.krtFleetViewShipPopoverContent {
  max-height: 80vh;
  overflow-y: auto;
  padding: 15px;
}
.krtFleetViewShipPopoverContent .krtFleetViewShipDetailsImage {
  border-radius: 0;
  margin: -15px -15px 10px;
  width: calc(100% + 30px);
}

.krtFleetViewShipDialog {
  max-width: 480px;
}

.krtFleetViewShipInfoButton {
  background: none;
  border: 0;
  color: var(--wcfContentDimmedText);
  cursor: pointer;
  padding: 2px;
}
.krtFleetViewShipInfoButton:hover, .krtFleetViewShipInfoButton:focus-visible {
  color: var(--wcfContentLinkActive);
}

/* ------------------------------------------------------------------- */
/* Flotte bearbeiten: Auswahl und Schiffskarten                         */
/* ------------------------------------------------------------------- */
.krtFleetViewFleetSelectionEmpty {
  color: var(--wcfContentDimmedText);
}

.krtFleetViewFleetSelectionList {
  display: flex;
  flex-direction: column;
  gap: 10px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.krtFleetViewFleetSelectionItem {
  border: 1px solid var(--wcfContentBorderInner);
  border-radius: var(--wcfBorderRadius);
  padding: 10px 15px;
}

.krtFleetViewFleetSelectionHeader {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: space-between;
}

.krtFleetViewFleetSelectionTitle {
  align-items: start;
  column-gap: 10px;
  display: grid;
  grid-template-columns: auto 1fr;
  /* Speicherstatus neben Name und Hersteller, damit beim Ein- und Ausblenden nichts verrutscht */
}
.krtFleetViewFleetSelectionTitle > strong,
.krtFleetViewFleetSelectionTitle > small {
  grid-column: 1;
}
.krtFleetViewFleetSelectionTitle > small {
  color: var(--wcfContentDimmedText);
}
.krtFleetViewFleetSelectionTitle > .krtFleetViewSaveStatus {
  align-self: center;
  grid-column: 2;
  grid-row: 1/span 2;
  justify-self: start;
  margin-top: 0;
}

.krtFleetViewFleetQuantity {
  align-items: center;
  display: flex;
  gap: 5px;
}
.krtFleetViewFleetQuantity > input {
  text-align: center;
  width: 70px;
}

.krtFleetViewFleetSelectionNames {
  display: grid;
  gap: 5px 10px;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  margin-top: 10px;
}
.krtFleetViewFleetSelectionNames > input {
  width: 100%;
}

.krtFleetViewShipCards {
  display: grid;
  gap: 15px;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  list-style: none;
  margin: 0;
  padding: 0;
}
@media screen and (max-width: 544px) {
  .krtFleetViewShipCards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }
}

.krtFleetViewShipCard {
  background-color: var(--wcfContentContainerBackground);
  border: 2px solid var(--wcfContentBorderInner);
  border-radius: var(--wcfBorderRadius);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  position: relative;
  transition: border-color 0.12s linear, box-shadow 0.12s linear;
}
.krtFleetViewShipCard[hidden] {
  display: none;
}
.krtFleetViewShipCard:hover, .krtFleetViewShipCard:focus-visible {
  border-color: var(--wcfContentLinkActive);
  outline: none;
}
.krtFleetViewShipCard.krtFleetViewShipCardSelected {
  border-color: var(--wcfStatusSuccessBorder);
  box-shadow: 0 0 0 1px var(--wcfStatusSuccessBorder);
}
.krtFleetViewShipCard.krtFleetViewShipCardSelected .krtFleetViewShipCardQuantity {
  display: block;
}
.krtFleetViewShipCard > .krtFleetViewShipInfoButton {
  background-color: var(--wcfContentContainerBackground);
  border-radius: 50%;
  position: absolute;
  right: 5px;
  top: 5px;
}

.krtFleetViewShipCardImage {
  align-items: center;
  aspect-ratio: 16/9;
  background-color: var(--wcfContentBackground);
  color: var(--wcfContentDimmedText);
  display: flex;
  justify-content: center;
  position: relative;
}
.krtFleetViewShipCardImage > img {
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.krtFleetViewShipCardQuantity {
  background-color: var(--wcfStatusSuccessBackground);
  border: 1px solid var(--wcfStatusSuccessBorder);
  border-radius: var(--wcfBorderRadius);
  bottom: 5px;
  color: var(--wcfStatusSuccessText);
  display: none;
  font-weight: 600;
  left: 5px;
  padding: 2px 8px;
  position: absolute;
}

/* Rückmeldung beim automatischen Speichern (Flotte bearbeiten) */
.krtFleetViewSaveStatus {
  align-items: center;
  align-self: flex-start;
  border: 1px solid var(--wcfStatusInfoBorder);
  border-radius: var(--wcfBorderRadius);
  background-color: var(--wcfStatusInfoBackground);
  color: var(--wcfStatusInfoText);
  display: inline-flex;
  font-size: var(--wcfFontSizeSmall);
  gap: 5px;
  margin-top: 3px;
  padding: 1px 6px;
}
.krtFleetViewSaveStatus[hidden] {
  display: none;
}
.krtFleetViewSaveStatus[data-state=saved] {
  background-color: var(--wcfStatusSuccessBackground);
  border-color: var(--wcfStatusSuccessBorder);
  color: var(--wcfStatusSuccessText);
}
.krtFleetViewSaveStatus[data-state=error] {
  background-color: var(--wcfStatusErrorBackground);
  border-color: var(--wcfStatusErrorBorder);
  color: var(--wcfStatusErrorText);
  cursor: pointer;
}

.krtFleetViewShipCardSaveStatus {
  margin-top: 0;
  position: absolute;
  right: 5px;
  bottom: 5px;
}

.krtFleetViewFleetSelectionHide {
  color: var(--wcfContentDimmedText);
  display: inline-block;
  font-size: var(--wcfFontSizeSmall);
  margin-top: 8px;
}

.krtFleetViewShipCardBody {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  gap: 2px;
  padding: 8px 10px 10px;
}

.krtFleetViewShipCardManufacturer,
.krtFleetViewShipCardMeta,
.krtFleetViewShipCardFoci {
  color: var(--wcfContentDimmedText);
  font-size: var(--wcfFontSizeSmall);
}

.krtFleetViewShipCardName {
  font-weight: 600;
}

.krtFleetViewShipCardFooter {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 5px 10px;
  margin-top: auto;
  padding-top: 5px;
}

.krtFleetViewShipCardCrew {
  font-size: var(--wcfFontSizeSmall);
}

/* ------------------------------------------------------------------- */
/* Gesamtflotte „Nach Besitzer“: Abstand der GridView-Filterzeile      */
/* ------------------------------------------------------------------- */
#fleetByOwner .gridView__filterBar {
  padding-bottom: 15px;
  padding-top: 15px;
}

/* ------------------------------------------------------------------- */
/* Gesamtflotte „Nach Schiff“: Zeilen mit Detailbereich                 */
/* ------------------------------------------------------------------- */
.krtFleetViewFleetTotal {
  font-size: var(--wcfFontSizeHeadline);
  margin-bottom: 15px;
}

.krtFleetViewFleetList {
  border-top: 1px solid var(--wcfContentBorderInner);
  list-style: none;
  margin: 0;
  padding: 0;
}

.krtFleetViewFleetItem {
  border-bottom: 1px solid var(--wcfContentBorderInner);
}
.krtFleetViewFleetItem[hidden] {
  display: none;
}

.krtFleetViewFleetItemHeader {
  align-items: center;
  background: none;
  border: 0;
  color: inherit;
  cursor: pointer;
  display: grid;
  font: inherit;
  gap: 10px 15px;
  grid-template-columns: 64px minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1fr) 80px minmax(0, 1fr) 56px 20px;
  padding: 8px 5px;
  text-align: left;
  width: 100%;
}
.krtFleetViewFleetItemHeader:hover, .krtFleetViewFleetItemHeader:focus-visible {
  background-color: var(--wcfTabularBoxBackgroundActive);
  outline: none;
}
@media screen and (max-width: 768px) {
  .krtFleetViewFleetItemHeader {
    grid-template-columns: 56px minmax(0, 1fr) 48px 20px;
  }
  .krtFleetViewFleetItemHeader > .krtFleetViewFleetItemColumn {
    display: none;
  }
}

.krtFleetViewFleetItemThumbnail {
  align-items: center;
  aspect-ratio: 16/9;
  background-color: var(--wcfContentBackground);
  border-radius: var(--wcfBorderRadius);
  color: var(--wcfContentDimmedText);
  display: flex;
  justify-content: center;
  overflow: hidden;
}
.krtFleetViewFleetItemThumbnail > img {
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.krtFleetViewFleetItemName {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.krtFleetViewFleetItemTitle {
  font-weight: 600;
}

.krtFleetViewFleetItemManufacturer,
.krtFleetViewFleetItemColumn {
  color: var(--wcfContentDimmedText);
  font-size: var(--wcfFontSizeSmall);
}

.krtFleetViewFleetItemCount {
  background-color: var(--wcfButtonPrimaryBackground);
  border-radius: var(--wcfBorderRadius);
  color: var(--wcfButtonPrimaryText);
  font-size: var(--wcfFontSizeHeadline);
  font-weight: 600;
  padding: 2px 6px;
  text-align: center;
}

.krtFleetViewFleetItemToggle {
  color: var(--wcfContentDimmedText);
  transition: transform 0.12s linear;
}
.krtFleetViewFleetItemExpanded .krtFleetViewFleetItemToggle {
  transform: rotate(180deg);
}

.krtFleetViewFleetItemDetails {
  display: grid;
  gap: 20px;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
  padding: 10px 5px 20px;
}
.krtFleetViewFleetItemDetails[hidden] {
  display: none;
}
@media screen and (max-width: 768px) {
  .krtFleetViewFleetItemDetails {
    grid-template-columns: minmax(0, 1fr);
  }
}
.krtFleetViewFleetItemDetails .krtFleetViewShipDetailsImage {
  max-width: 520px;
}

.krtFleetViewFleetOwnerList {
  display: flex;
  flex-direction: column;
  gap: 5px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.krtFleetViewFleetOwnerList > li {
  align-items: baseline;
  display: flex;
  flex-wrap: wrap;
  gap: 5px 8px;
}

.krtFleetViewFleetOwnerNames {
  color: var(--wcfContentDimmedText);
  font-size: var(--wcfFontSizeSmall);
}

/* ==========================================================================
   Filebase Overview: styles for the file lists and the file page of the Filebase
   @author      MDCommander, RagnarSeven
   @copyright   2026 MDMAN Productions
   @license     MDMAN Productions Softwarelizenz
                <https://www.mdman.de/license/MDMANProductionsSoftwareLizenz.txt>
   - sections "categories" (start page) and "subcategories" (category page), filebaseOverviewCategoryList.tpl
   - files of the Filebase template fileListItems.tpl as a list in the style of "Unread threads"
   - box "Filebase statistics", filebaseOverviewStatisticsBox.tpl
   - file page: box "Download" (__filebaseOverviewFileDownloadBox.tpl) and counters in the tabs
   - path "Filebase › category › subcategory", filebaseOverviewPath.tpl

   The templates of the Filebase are not replaced. Pages of the Filebase are addressed by the ID
   of the body element (#tpl_filebase_fileList, #tpl_filebase_file).
   Colors use the style variables of WoltLab Suite (--wcf…) directly. Headlines stay
   light like in the rest of the forum. WoltLab Suite compiles this file into every style; the
   screen-… mixins are the breakpoints of WoltLab Suite.
   ========================================================================== */
/* --------------------------------------------------------------------------
   1. Shared variables
   -------------------------------------------------------------------------- */
.filebaseOverviewSection,
.filebaseOverviewDownloadBox,
.filebaseOverviewPath,
#tpl_filebase_fileList .jsClipboardContainer[data-type="com.woltlab.filebase.file"],
#tpl_filebase_fileList .filebaseFileList,
#tpl_filebase_file .content > .tabMenuContainer {
  --filebaseOverview-radius: 4px;
  --filebaseOverview-count-bg: #4a4e55;
}

/* Section with a gray background like "Upcoming events" or "Unread threads" */
.filebaseOverviewSection {
  padding: 20px;
  border-radius: var(--filebaseOverview-radius);
  background-color: var(--wcfContentContainerBackground);
}

.filebaseOverviewSection > .sectionTitle {
  margin-bottom: 15px;
  font-weight: 400;
}

/* --------------------------------------------------------------------------
   2. Categories and subcategories: rows of equal height, three per line
   -------------------------------------------------------------------------- */
.filebaseOverviewCategories__list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

/* Each row fills its grid cell so that all rows in a line have the same height */
.filebaseOverviewCategories__list > li {
  display: flex;
  min-width: 0;
}

@media screen and (max-width: 1024px) {
  .filebaseOverviewCategories__list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media screen and (max-width: 544px) {
  .filebaseOverviewCategories__list {
    grid-template-columns: minmax(0, 1fr);
  }
}
.filebaseOverviewCategory,
.filebaseOverviewCategory:link,
.filebaseOverviewCategory:visited {
  display: flex;
  align-items: center;
  flex: 1 1 auto;
  min-width: 0;
  gap: 12px;
  padding: 10px 12px;
  border-radius: var(--filebaseOverview-radius);
  /* No background of its own, only a thin border in the color of the file list separators, so
     the rows look like part of the section rather than buttons placed on top of it. */
  background: transparent;
  border: 1px solid var(--wcfContentBorderInner);
  color: var(--wcfContentText);
  text-decoration: none;
  transition: background-color 0.2s ease, color 0.2s ease;
}

/* Hover like the file rows below: dark gray background, name and icon in the accent color of
   the forum. */
.filebaseOverviewCategory:hover {
  background-color: var(--wcfTabularBoxBackgroundActive);
}

.filebaseOverviewCategory:hover .filebaseOverviewCategory__title,
.filebaseOverviewCategory:hover .filebaseOverviewCategory__icon {
  color: var(--wcfContentLinkActive);
}

.filebaseOverviewCategory__icon {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  /* Gray like the file icons; the accent color only appears on hover. */
  color: var(--wcfContentDimmedText);
  transition: color 0.2s ease;
}

.filebaseOverviewCategory__text {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.filebaseOverviewCategory__title {
  font-size: var(--wcfFontSizeHeadline);
  font-weight: 400;
  line-height: 1.25;
  overflow-wrap: break-word;
  transition: color 0.2s ease;
}

.filebaseOverviewCategory__meta {
  font-size: var(--wcfFontSizeSmall);
  color: var(--wcfContentDimmedText);
}

/* Number of files on the right with the label "files" below it, without a box, similar to the
   counters in the forum overview */
.filebaseOverviewCategory__count {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  line-height: 1.1;
  text-align: right;
}

.filebaseOverviewCategory__countValue {
  font-size: var(--wcfFontSizeHeadline);
  color: var(--wcfContentHeadlineText);
  font-variant-numeric: tabular-nums;
}

.filebaseOverviewCategory__countLabel {
  font-size: var(--wcfFontSizeSmall);
  color: var(--wcfContentDimmedText);
}

/* Counters in the tabs of the file page (versions, comments, reviews) in the dark color scheme:
   the same gray as the file counters instead of the gray-blue WoltLab Suite gives badges there.
   The light color scheme keeps the WoltLab Suite appearance. */
html[data-color-scheme=dark] #tpl_filebase_file .content > .tabMenuContainer > .tabMenu .badge {
  --background-color: var(--filebaseOverview-count-bg);
  --color: var(--wcfContentHeadlineText);
}

/* Subcategories on the category page: slightly smaller titles than top-level categories */
.filebaseOverviewCategories--folders .filebaseOverviewCategory__title {
  font-size: var(--wcfFontSizeDefault);
}

/* Spacing between the sections like between the sections of the dashboard */
.filebaseOverviewCategories + .filebaseOverviewFileSection {
  margin-top: 40px;
}

/* --------------------------------------------------------------------------
   3. File list: the cards of fileListItems.tpl as rows like "Unread threads"
   The Filebase template fileList stays unchanged. The cards are only arranged by CSS: icon on
   the left, title with labels, below it author, date and category, on the right downloads and
   reactions. Only file lists of the template "fileList" are affected.
   -------------------------------------------------------------------------- */
/* Section with a gray background like the sections "categories" and "subcategories" */
#tpl_filebase_fileList .jsClipboardContainer[data-type="com.woltlab.filebase.file"] {
  padding: 20px;
  border-radius: var(--filebaseOverview-radius);
  background-color: var(--wcfContentContainerBackground);
}

/* Spacing between the sections like between the sections of the dashboard */
.filebaseOverviewCategories ~ .jsClipboardContainer[data-type="com.woltlab.filebase.file"] {
  margin-top: 40px;
}

#tpl_filebase_fileList .filebaseFileList {
  display: block;
  margin: 0;
}

/* --------------------------------------------------------------------------
   4. File row
   -------------------------------------------------------------------------- */
#tpl_filebase_fileList .filebaseFileCard {
  position: relative;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-content: center;
  align-items: center;
  gap: 2px 8px;
  min-height: 68px;
  margin: 0;
  /* Room for the icon on the left and the columns "downloads" and "reactions" on the right */
  padding: 12px 274px 12px 68px;
  border: 0;
  border-bottom: 1px solid var(--wcfContentBorderInner);
  border-radius: 0;
  background-color: transparent;
  box-shadow: none;
  transition: background-color 0.2s ease;
}

#tpl_filebase_fileList .filebaseFileCard:hover {
  background-color: var(--wcfTabularBoxBackgroundActive);
}

/* With the checkbox of the clipboard or of the watched files, the icon moves to the right */
#tpl_filebase_fileList .filebaseFileCard.filebaseFileCardEditMode {
  padding-left: 94px;
}

/* The containers of the card only group their content; the content is arranged in the row. */
#tpl_filebase_fileList .filebaseFileCardHeader,
#tpl_filebase_fileList .filebaseFileCardBody,
#tpl_filebase_fileList .filebaseFileCardContent,
#tpl_filebase_fileList .filebaseFileCardStatus,
#tpl_filebase_fileList .filebaseFileCardFooter,
#tpl_filebase_fileList .filebaseFileCard .filebaseFileCardEdit,
#tpl_filebase_fileList .filebaseFileCard:hover .filebaseFileCardEdit {
  display: contents;
  color: inherit;
}

/* Line break after the title line: author, date and category follow on the next line */
#tpl_filebase_fileList .filebaseFileCard::after {
  content: "";
  order: 4;
  flex-basis: 100%;
}

#tpl_filebase_fileList .filebaseFileCardIcon {
  position: absolute;
  top: 50%;
  left: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin: 0;
  border-radius: var(--filebaseOverview-radius);
  background-color: var(--wcfContentBackground);
  color: var(--wcfContentText);
  overflow: hidden;
  transform: translateY(-50%);
}

#tpl_filebase_fileList .filebaseFileCardEditMode .filebaseFileCardIcon {
  left: 36px;
}

#tpl_filebase_fileList .filebaseFileCardIcon img {
  max-width: 32px;
  max-height: 32px;
}

#tpl_filebase_fileList .filebaseFileCardIcon fa-icon {
  --font-size: 28px;
  --icon-size: 32px;
}

#tpl_filebase_fileList .filebaseFileCardTitle {
  order: 1;
  min-width: 0;
  margin: 0;
  overflow: visible;
  font-size: var(--wcfFontSizeHeadline);
  font-weight: 400;
  line-height: 1.3;
  white-space: normal;
  overflow-wrap: break-word;
}

#tpl_filebase_fileList .filebaseFileCardLink,
#tpl_filebase_fileList .filebaseFileCardLink:link,
#tpl_filebase_fileList .filebaseFileCardLink:visited {
  color: var(--wcfContentHeadlineText);
  font-size: inherit;
  font-weight: 400;
  text-decoration: none;
}

/* Only the title is a link, the author and the category stay clickable */
#tpl_filebase_fileList .filebaseFileCardLink::before {
  content: none;
}

#tpl_filebase_fileList .filebaseFileCardLink:hover {
  color: var(--wcfContentLinkActive);
}

/* Unread files in bold, like unread threads in the forum */
#tpl_filebase_fileList .filebaseFileCard.new .filebaseFileCardLink {
  font-weight: 600;
}

/* The teaser is not shown in the row, only the badge "new" next to the title */
#tpl_filebase_fileList .filebaseFileCardTeaser {
  order: 2;
  display: inline-flex;
  height: auto;
  overflow: visible;
  font-size: 0;
  line-height: normal;
  -webkit-line-clamp: unset;
}

#tpl_filebase_fileList .filebaseFileCardTeaser:not(:has(.badge)) {
  display: none;
}

#tpl_filebase_fileList .filebaseFileCardTeaser .badge {
  font-size: var(--wcfFontSizeSmall);
}

/* Labels on the title line */
#tpl_filebase_fileList .filebaseFileCardStatus > .labelList {
  order: 3;
}

#tpl_filebase_fileList .filebaseFileCardMeta {
  order: 5;
  font-size: var(--wcfFontSizeSmall);
  color: var(--wcfContentDimmedText);
}

#tpl_filebase_fileList .filebaseFileCardMeta a,
#tpl_filebase_fileList .filebaseFileCardMeta a:link,
#tpl_filebase_fileList .filebaseFileCardMeta a:visited {
  color: var(--wcfContentDimmedText);
  text-decoration: none;
}

#tpl_filebase_fileList .filebaseFileCardMeta a:hover {
  color: var(--wcfContentLinkActive);
}

/* Star of featured files in the meta line instead of the large star in the corner of the card */
#tpl_filebase_fileList .filebaseFileCardMeta .filebaseFileIsFeatured {
  position: static;
  color: var(--wcfContentLinkActive);
}

#tpl_filebase_fileList .filebaseFileCardMeta .filebaseFileIsFeatured fa-icon {
  --font-size: 14px;
  --icon-size: 16px;
}

/* Category of the file (template listener at the event "fileStatus") and the link "edit" follow
   the meta line, separated by a dot like the entries of the meta line */
#tpl_filebase_fileList .filebaseOverviewFile__category,
#tpl_filebase_fileList .filebaseFileCard .jsFileInlineEditor {
  order: 6;
  font-size: var(--wcfFontSizeSmall);
  color: var(--wcfContentDimmedText);
  text-decoration: none;
}

#tpl_filebase_fileList .filebaseFileCard .jsFileInlineEditor {
  order: 7;
}

#tpl_filebase_fileList .filebaseOverviewFile__category::before,
#tpl_filebase_fileList .filebaseFileCard .jsFileInlineEditor::before {
  content: "·";
  margin-right: 8px;
  color: var(--wcfContentDimmedText);
}

#tpl_filebase_fileList .filebaseOverviewFile__category:hover,
#tpl_filebase_fileList .filebaseFileCard .jsFileInlineEditor:hover {
  color: var(--wcfContentLinkActive);
}

/* Further content of other packages at the event "fileStatus" gets a line of its own */
#tpl_filebase_fileList .filebaseFileCardStatus > :not(.labelList, .filebaseOverviewFile__category) {
  order: 8;
  flex-basis: 100%;
}

/* Checkbox of the clipboard or of the watched files on the left of the row */
#tpl_filebase_fileList .filebaseFileCardEdit > label {
  position: absolute;
  top: 50%;
  left: 10px;
  transform: translateY(-50%);
}

/* Columns "downloads" and "reactions" on the right, also while hovering the row */
#tpl_filebase_fileList .filebaseFileCardFooterStats,
#tpl_filebase_fileList .filebaseFileCard:hover .filebaseFileCardFooterStats {
  position: absolute;
  top: 50%;
  right: 10px;
  display: grid;
  grid-template-columns: 140px 110px;
  align-items: center;
  margin: 0;
  transform: translateY(-50%);
}

#tpl_filebase_fileList .filebaseFileCardFooterStats > li,
#tpl_filebase_fileList .filebaseFileCardFooterStats > li:not(:first-child) {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
  margin: 0;
  color: var(--wcfContentText);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

#tpl_filebase_fileList .filebaseFileCardFooterStats > li:has(> fa-icon[name=download]) {
  grid-column: 1;
  grid-row: 1;
}

#tpl_filebase_fileList .filebaseFileCardFooterStats > li:has(> .topReactionShort) {
  grid-column: 2;
  grid-row: 1;
}

#tpl_filebase_fileList .filebaseFileCardFooterStats fa-icon {
  flex-shrink: 0;
}

#tpl_filebase_fileList .filebaseFileCardFooterStats .reactionType {
  filter: none;
}

/* Disabled and deleted files (only visible to moderators) */
#tpl_filebase_fileList .filebaseFileCard.messageDisabled {
  box-shadow: inset 3px 0 0 var(--wcfStatusWarningBorder);
}

#tpl_filebase_fileList .filebaseFileCard.messageDeleted {
  box-shadow: inset 3px 0 0 var(--wcfStatusErrorBorder);
  opacity: 0.7;
}

/* --------------------------------------------------------------------------
   5. Small screens: hide the column "reactions", narrower downloads column
   -------------------------------------------------------------------------- */
@media screen and (max-width: 768px) {
  .filebaseOverviewSection,
  #tpl_filebase_fileList .jsClipboardContainer[data-type="com.woltlab.filebase.file"] {
    padding: 15px 10px;
  }
  #tpl_filebase_fileList .filebaseFileCardFooterStats > li:has(> .topReactionShort) {
    display: none;
  }
  #tpl_filebase_fileList .filebaseFileCardFooterStats,
  #tpl_filebase_fileList .filebaseFileCard:hover .filebaseFileCardFooterStats {
    right: 4px;
    grid-template-columns: auto;
  }
  #tpl_filebase_fileList .filebaseFileCard {
    column-gap: 6px;
    min-height: 56px;
    padding: 10px 124px 10px 50px;
  }
  #tpl_filebase_fileList .filebaseFileCard.filebaseFileCardEditMode {
    padding-left: 74px;
  }
  #tpl_filebase_fileList .filebaseFileCardIcon {
    left: 4px;
    width: 36px;
    height: 36px;
  }
  #tpl_filebase_fileList .filebaseFileCardEditMode .filebaseFileCardIcon {
    left: 28px;
  }
  #tpl_filebase_fileList .filebaseFileCardEdit > label {
    left: 4px;
  }
  #tpl_filebase_fileList .filebaseFileCardTitle {
    font-size: var(--wcfFontSizeDefault);
  }
}
/* --------------------------------------------------------------------------
   6. Box "Filebase statistics": tabular figures
   -------------------------------------------------------------------------- */
.filebaseOverviewStats > dd {
  font-variant-numeric: tabular-nums;
}

/* --------------------------------------------------------------------------
   7. File page: box "Download" in the sidebar
   -------------------------------------------------------------------------- */
/* Box content as a column with a fixed gap between button, hint, key facts and the small
   buttons. WoltLab Suite sets the margin of "a.button" to 0 and thereby overrides a margin on
   the button itself; the gap of the column is not affected. */
.filebaseOverviewDownloadBox > .boxContent {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* Large button across the full width of the box */
.filebaseOverviewDownloadBox__button {
  display: flex;
  justify-content: center;
  width: 100%;
  padding-top: 10px;
  padding-bottom: 10px;
  font-size: var(--wcfFontSizeHeadline);
}

.filebaseOverviewDownloadBox__hint {
  /* Moves closer to the button it belongs to */
  margin: -12px 0 0;
  font-size: var(--wcfFontSizeSmall);
  color: var(--wcfContentDimmedText);
}

/* Key facts: label on the left, value on the right, one line per fact. WoltLab Suite formats
   lists in boxes itself (spacing, line break after dt); the selector including the box is more
   specific and resets these values. */
.filebaseOverviewDownloadBox dl.filebaseOverviewDownloadBox__facts {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: baseline;
  row-gap: 6px;
  column-gap: 12px;
  margin: 0;
}

.filebaseOverviewDownloadBox dl.filebaseOverviewDownloadBox__facts > dt,
.filebaseOverviewDownloadBox dl.filebaseOverviewDownloadBox__facts > dd {
  display: block;
  float: none;
  width: auto;
  margin: 0;
  padding: 0;
}

.filebaseOverviewDownloadBox dl.filebaseOverviewDownloadBox__facts > dt {
  color: var(--wcfContentText);
  font-weight: normal;
}

.filebaseOverviewDownloadBox dl.filebaseOverviewDownloadBox__facts > dt::after {
  content: none;
}

.filebaseOverviewDownloadBox dl.filebaseOverviewDownloadBox__facts > dd {
  text-align: right;
  color: var(--wcfContentHeadlineText);
  font-variant-numeric: tabular-nums;
  overflow-wrap: break-word;
}

/* Small buttons below the key facts, side by side with equal width */
.filebaseOverviewDownloadBox__actions {
  display: flex;
  gap: 4px;
}

.filebaseOverviewDownloadBox__actions .button {
  flex: 1 1 0;
  justify-content: center;
}

/* Show the download button in the page header on small screens only. From 1025 pixels, the
   sidebar is next to the content and the button is visible in the box "Download". */
@media screen and (min-width: 1025px), print {
  #tpl_filebase_file .contentHeaderNavigation > ul > li:has(> .button > fa-icon[name=download]) {
    display: none;
  }
}
/* --------------------------------------------------------------------------
   8. Path "Filebase › area › category" on the category page and the file page
   -------------------------------------------------------------------------- */
.filebaseOverviewPath {
  /* Spacing above, towards the buttons "Subscribe", "Share" etc. of the page header */
  margin-top: 20px;
  margin-bottom: 20px;
  padding: 10px 20px;
  border-radius: var(--filebaseOverview-radius);
  background-color: var(--wcfContentContainerBackground);
}

.filebaseOverviewPath__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: var(--wcfFontSizeDefault);
}

.filebaseOverviewPath__list > li {
  display: inline-flex;
  align-items: center;
}

.filebaseOverviewPath__list > li + li::before {
  content: "›";
  margin: 0 10px;
  color: var(--wcfContentDimmedText);
}

.filebaseOverviewPath__link,
.filebaseOverviewPath__link:link,
.filebaseOverviewPath__link:visited {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--wcfContentText);
  text-decoration: none;
}

.filebaseOverviewPath__link:hover {
  color: var(--wcfContentLinkActive);
}

.filebaseOverviewPath__current {
  color: var(--wcfContentHeadlineText);
}

/* ==========================================================================
   Article Overview: styles for the article lists and the article page
   @author      MDCommander
   @copyright   2026 MDMAN Productions
   @license     MDMAN Productions Softwarelizenz
                <https://www.mdman.de/license/MDMANProductionsSoftwareLizenz.txt>
   - sections "categories" (start page) and "subcategories" (category page), articleOverviewCategoryList.tpl
   - box "Article statistics", articleOverviewStatisticsBox.tpl
   - article page: box "Information" (__articleOverviewArticleInfoBox.tpl)
   - path "Articles › category › subcategory", articleOverviewPath.tpl

   The templates of the articles are not replaced. Colors use the style variables
   of WoltLab Suite (--wcf…) directly. Headlines stay light like in the rest of
   the forum. WoltLab Suite compiles this file into every style; the
   screen-… mixins are the breakpoints of WoltLab Suite.
   ========================================================================== */
/* --------------------------------------------------------------------------
   1. Categories and subcategories: rows of equal height, three per line
   -------------------------------------------------------------------------- */
/* Section with a gray background like "Upcoming events" or "Unread threads" */
.articleOverviewSection {
  padding: 20px;
  margin-bottom: 40px;
  border-radius: 4px;
  background-color: var(--wcfContentContainerBackground);
}

.articleOverviewSection > .sectionTitle {
  margin-bottom: 15px;
  font-weight: 400;
}

.articleOverviewCategories__list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

/* Each row fills its grid cell so that all rows in a line have the same height */
.articleOverviewCategories__list > li {
  display: flex;
  min-width: 0;
}

@media screen and (max-width: 1024px) {
  .articleOverviewCategories__list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media screen and (max-width: 544px) {
  .articleOverviewCategories__list {
    grid-template-columns: minmax(0, 1fr);
  }
}
.articleOverviewCategory,
.articleOverviewCategory:link,
.articleOverviewCategory:visited {
  display: flex;
  align-items: center;
  flex: 1 1 auto;
  min-width: 0;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 4px;
  /* No background of its own, only a thin border in the color of the list separators, so
     the rows look like part of the section rather than buttons placed on top of it. */
  background: transparent;
  border: 1px solid var(--wcfContentBorderInner);
  color: var(--wcfContentText);
  text-decoration: none;
  transition: background-color 0.2s ease, color 0.2s ease;
}

/* Hover like the list rows: dark gray background, name and icon in the accent color. */
.articleOverviewCategory:hover {
  background-color: var(--wcfTabularBoxBackgroundActive);
}

.articleOverviewCategory:hover .articleOverviewCategory__title,
.articleOverviewCategory:hover .articleOverviewCategory__icon {
  color: var(--wcfContentLinkActive);
}

.articleOverviewCategory__icon {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  color: var(--wcfContentDimmedText);
  transition: color 0.2s ease;
}

.articleOverviewCategory__text {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.articleOverviewCategory__title {
  font-size: var(--wcfFontSizeHeadline);
  font-weight: 400;
  line-height: 1.25;
  overflow-wrap: break-word;
  transition: color 0.2s ease;
}

.articleOverviewCategory__meta {
  font-size: var(--wcfFontSizeSmall);
  color: var(--wcfContentDimmedText);
}

/* Number of articles on the right with the label below it, similar to the counters
   in the forum overview */
.articleOverviewCategory__count {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  line-height: 1.1;
  text-align: right;
}

.articleOverviewCategory__countValue {
  font-size: var(--wcfFontSizeHeadline);
  color: var(--wcfContentHeadlineText);
  font-variant-numeric: tabular-nums;
}

.articleOverviewCategory__countLabel {
  font-size: var(--wcfFontSizeSmall);
  color: var(--wcfContentDimmedText);
}

/* Subcategories on the category page: slightly smaller titles than top-level categories */
.articleOverviewCategories--folders .articleOverviewCategory__title {
  font-size: var(--wcfFontSizeDefault);
}

@media screen and (max-width: 768px) {
  .articleOverviewSection {
    padding: 15px 10px;
  }
}
/* --------------------------------------------------------------------------
   2. Category of the article in the card badges
   -------------------------------------------------------------------------- */
.articleOverviewArticle__category,
.articleOverviewArticle__category:link,
.articleOverviewArticle__category:visited {
  display: inline-flex;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  padding: 2px 8px;
  border-radius: 4px;
  background-color: var(--wcfContentBackground);
  color: var(--wcfContentText);
  font-size: var(--wcfFontSizeSmall);
  text-decoration: none;
}

.articleOverviewArticle__category:hover {
  color: var(--wcfContentLinkActive);
}

/* --------------------------------------------------------------------------
   3. Box "Article statistics": tabular figures
   -------------------------------------------------------------------------- */
.articleOverviewStats > dd {
  font-variant-numeric: tabular-nums;
}

/* --------------------------------------------------------------------------
   4. Article page: box "Information" in the sidebar
   -------------------------------------------------------------------------- */
.articleOverviewInfoBox > .boxContent {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* Key facts: label on the left, value on the right, one line per fact. WoltLab Suite formats
   lists in boxes itself (spacing, line break after dt); the selector including the box is more
   specific and resets these values. */
.articleOverviewInfoBox dl.articleOverviewInfoBox__facts {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: baseline;
  row-gap: 6px;
  column-gap: 12px;
  margin: 0;
}

.articleOverviewInfoBox dl.articleOverviewInfoBox__facts > dt,
.articleOverviewInfoBox dl.articleOverviewInfoBox__facts > dd {
  display: block;
  float: none;
  width: auto;
  margin: 0;
  padding: 0;
}

.articleOverviewInfoBox dl.articleOverviewInfoBox__facts > dt {
  color: var(--wcfContentText);
  font-weight: normal;
}

.articleOverviewInfoBox dl.articleOverviewInfoBox__facts > dt::after {
  content: none;
}

.articleOverviewInfoBox dl.articleOverviewInfoBox__facts > dd {
  text-align: right;
  color: var(--wcfContentHeadlineText);
  font-variant-numeric: tabular-nums;
  overflow-wrap: break-word;
}

/* Small buttons below the key facts, side by side with equal width */
.articleOverviewInfoBox__actions {
  display: flex;
  gap: 4px;
}

.articleOverviewInfoBox__actions .button {
  flex: 1 1 0;
  justify-content: center;
}

/* --------------------------------------------------------------------------
   5. Path "Articles › area › category" on the category page and the article page
   -------------------------------------------------------------------------- */
.articleOverviewPath {
  margin-top: 20px;
  margin-bottom: 20px;
  padding: 10px 20px;
  border-radius: 4px;
  background-color: var(--wcfContentContainerBackground);
}

.articleOverviewPath__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: var(--wcfFontSizeDefault);
}

.articleOverviewPath__list > li {
  display: inline-flex;
  align-items: center;
}

.articleOverviewPath__list > li + li::before {
  content: "›";
  margin: 0 10px;
  color: var(--wcfContentDimmedText);
}

.articleOverviewPath__link,
.articleOverviewPath__link:link,
.articleOverviewPath__link:visited {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--wcfContentText);
  text-decoration: none;
}

.articleOverviewPath__link:hover {
  color: var(--wcfContentLinkActive);
}

.articleOverviewPath__current {
  color: var(--wcfContentHeadlineText);
}

/*

  DO NOT EDIT THIS FILE!

  dynamic global SCSS values, generated at Sat, 08 Nov 2025 21:09:04 +0000

*/
.krtRankMatrixPage {
  --krt-accent: #e67e22;
  --krt-table-bg: #1a1d21;
  --krt-table-hover: #2d3136;
  --krt-table-border: #36373b;
  --krt-text-muted: rgba(223,225,228,0.85);
  /* Fallback nur noch für Notfälle */
  --krt-cover-url: radial-gradient(1200px 400px at 30% 0%, #333, #1e2226);
}

.krtRankMatrixPage .hidden,
.krtRankMatrixPage .popover-content {
  display: none !important;
}

/* Infobox-Optik (oben/unten) */
.krtInfoBox {
  background: #202429;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  padding: 10px 12px;
  margin: 12px 0;
}

.krtInfoBox .krtRankMatrixInfoTitle {
  margin-top: 2px;
}

/* oberer Bereich */
.krtRankMatrixPage .sectionHeader {
  margin-bottom: 0;
}

.krtRankMatrixInfo {
  margin: 12px 0 14px;
  font-size: 0.8rem;
  line-height: 1.35;
  color: var(--krt-text-muted);
}

.krtRankMatrixInfoTitle {
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 0.02em;
  margin-bottom: 4px;
  color: #fff;
  font-size: 0.8rem;
  cursor: pointer;
  display: inline-block;
}

.krtRankMatrixInfoTitle:hover {
  color: var(--krt-accent);
  text-decoration: underline;
}

.krtRankMatrixInfo p {
  margin: 0 0 3px;
  color: var(--krt-text-muted);
  font-size: 0.8rem;
}

/* scrollbarer Bereich */
.krtRankMatrixOuter {
  overflow-x: auto;
  overflow-y: visible;
  width: 100%;
  margin-bottom: 0;
  scrollbar-width: none;
}

.krtRankMatrixOuter::-webkit-scrollbar {
  display: none;
}

/* Kategorie-Überschriften */
.krtRankMatrixSection .sectionHeader {
  display: block;
  padding: 14px 0 0;
}

.krtRankMatrixSection .sectionTitle {
  margin: 0 0 6px;
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  color: #fff !important;
  letter-spacing: 0.015em;
}

/* Tabellencontainer */
.krtRankMatrixSection .box.krtRankMatrixTable {
  background: var(--krt-table-bg);
  border-radius: 0;
  margin-top: 0;
  padding: 0;
  border-top: 2px solid var(--krt-accent);
  border-bottom: 2px solid var(--krt-accent);
}

.krtMatrixTable {
  width: auto;
  border-collapse: separate;
  border-spacing: 0;
}

/* Ränder */
.krtRankMatrixPage .table.krtMatrixTable > thead > tr > th,
.krtRankMatrixPage .table.krtMatrixTable > tbody > tr > th,
.krtRankMatrixPage .table.krtMatrixTable > tbody > tr > td {
  border: 1px solid var(--krt-table-border) !important;
  background: transparent;
}

/* >>> HEADERS SICHTBAR ERZWINGEN (robust) <<< */
.krtMatrixTable thead {
  display: table-header-group !important;
  visibility: visible !important;
}

.krtMatrixTable thead tr {
  display: table-row !important;
  visibility: visible !important;
}

.krtMatrixTable thead th {
  display: table-cell !important;
  visibility: visible !important;
  background: #373c42 !important;
  color: #fff !important;
}

/* Kopfzeile */
.krtMatrixTable thead th {
  white-space: nowrap;
  height: 38px;
  padding: 6px 8px;
  font-weight: 600;
  font-size: 0.95rem;
  border-top: none !important;
}

.krtMatrixTable th.columnNumber {
  width: 58px;
  text-align: center;
}

.krtMatrixTable th.columnDepartment {
  min-width: 240px;
  text-align: left;
}

/* Zeilen */
.krtMatrixTable tbody tr.krtMatrixRow {
  cursor: pointer;
  background: var(--krt-table-bg) !important;
  transition: background 0.1s ease-in-out;
}

.krtMatrixTable tbody tr.krtMatrixRow:hover {
  background: var(--krt-table-hover) !important;
}

/* >>> NEU: geöffnete Zeilen in #0F0F0FFF einfärben <<< */
.krtMatrixTable tbody tr.krtMatrixRow:not(.is-collapsed) {
  background: #0f0f0f !important;
}

.krtMatrixTable tbody tr.krtMatrixRow:not(.is-collapsed):hover {
  background: #0f0f0f !important;
}

/* kompakter Body */
.krtMatrixRow.is-collapsed > th, .krtMatrixRow.is-collapsed > td {
  padding: 3px 8px;
  height: 30px;
  font-size: 0.875rem;
  color: var(--krt-text-muted);
}

.krtMatrixRow:not(.is-collapsed) > th, .krtMatrixRow:not(.is-collapsed) > td {
  padding: 6px 8px;
}

.krtMatrixTable .rowHeader {
  white-space: nowrap;
  text-align: center;
  color: var(--krt-text-muted);
}

.rankBox, .rankBoxFunctional, .rankBoxSpecial {
  padding: 0;
  border: none;
  background: transparent;
  min-height: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.krtMatrixRow:not(.is-collapsed) .rankBox {
  padding: 4px 0 3px;
  align-items: center;
  text-align: center;
}

.krtMatrixRow:not(.is-collapsed) .rankLogoInBox {
  display: block;
  max-width: 100px;
  margin-bottom: 4px;
}

.krtMatrixRow.is-collapsed .rankBox {
  flex-direction: row;
  align-items: center;
  gap: 6px;
}

.krtMatrixRow.is-collapsed .rankLogoInBox, .krtMatrixRow.is-collapsed .rankInfoFlags, .krtMatrixRow.is-collapsed .noRankBox {
  display: none !important;
}

.krtMatrixRow.is-collapsed .rankName {
  white-space: nowrap;
}

.rankInlineMarkers {
  display: inline-flex;
  gap: 3px;
  align-items: center;
  line-height: 1;
}

.rankInlineDot {
  width: 6px;
  height: 6px;
  border-radius: 9999px;
  background: currentColor;
  opacity: 0.85;
  display: inline-block;
  position: relative;
  top: -1px;
}

.rankInlineTriangle {
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 6px solid currentColor;
  opacity: 0.85;
  display: inline-block;
  position: relative;
  top: -1px;
}

.noRankBox {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 90px;
  width: 100%;
}

.noRankBox .noRankText {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 4px;
  padding: 3px 8px 4px;
  font-size: 0.75rem;
  color: #fff;
  white-space: nowrap;
}

.noRankDash {
  display: none;
  width: 100%;
  text-align: center;
  color: var(--krt-text-muted);
}

.krtMatrixRow.is-collapsed .noRankDash {
  display: inline-block;
}

/* unterer Optionsbereich */
.krtRankMatrixOptions {
  margin-top: 10px;
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--wcf-border-color);
}

/* Footer-Liste */
.krtFooterNotes {
  margin-top: 16px;
}

.krtFooterNotesTitle {
  font-weight: 600;
  margin-bottom: 4px;
}

.krtFooterNotesList {
  margin: 0;
  padding-left: 18px;
  list-style: none;
  font-size: 0.8rem;
  color: var(--krt-text-muted);
}

.krtFooterNotesList li {
  margin: 1px 0;
  font-size: 0.8rem;
  color: var(--krt-text-muted);
}

/* Formular unten */
.krtCompareForm {
  margin-bottom: 16px;
}

.krtCompareForm .formSubmit {
  display: flex;
  justify-content: center;
  margin-top: 8px;
  padding-left: 0;
}

/* Navigation oben & unten */
.krtRankMatrixNav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
}

.krtRankMatrixTopNav {
  margin-bottom: 6px;
}

.krtRankMatrixBottomNav {
  margin-top: 10px;
  margin-bottom: 10px;
}

.krtRankMatrixNav .krtNavLabel {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(223, 225, 228, 0.9);
}

/* Pfeile */
.krtNavArrow {
  width: 26px;
  height: 26px;
  border-top-style: none;
  border-right-style: none;
  border-left-style: none;
  border-bottom-style: none;
  background: rgba(0, 0, 0, 0.35);
  border-radius: 9999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.12s ease-in-out;
  color: #fff;
  line-height: 1;
}

.krtNavArrow:hover {
  background: rgba(0, 0, 0, 0.6);
}

.krtNavArrow-left::before {
  content: "‹";
  font-size: 16px;
  position: relative;
  top: -0.5px;
}

.krtNavArrow-right::before {
  content: "›";
  font-size: 16px;
  position: relative;
  top: -0.5px;
}

.krtNavArrow.is-hidden {
  opacity: 0.35;
  pointer-events: none;
}

/* ==== POPOVER ==== */
.krtPopover {
  position: fixed;
  z-index: 9999;
  inset: auto auto auto auto;
  pointer-events: none;
}

.krtPopoverInner {
  width: 300px;
  max-width: 300px;
  background: #1f2327;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45);
  padding: 10px;
  color: #e7e9ec;
}

.krtPopCard {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* Neuer Banner statt Bild – jetzt in #0F0F0FFF */
.krtPopHeaderCover {
  height: 64px;
  margin: -10px -10px 8px;
  border-radius: 8px 8px 0 0;
  background: #0f0f0f; /* <— gewünschter Hex-Wert */
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.krtPopHeaderTitle {
  color: #fff;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 0.9rem;
  line-height: 1.2;
  text-align: center;
  padding: 0 10px; /* lange Texte wie "Officer in Training" */
}

.krtPopHeader {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  text-align: center;
}

.krtPopAvatar {
  width: 64px;
  height: 64px;
  border-radius: 9999px;
  object-fit: contain;
  background: #15181b;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.krtPopTitle {
  font-weight: 700;
  font-size: 0.95rem;
  color: #fff;
}

.krtPopNr {
  font-weight: 600;
  opacity: 0.85;
}

.krtPopBadges {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  justify-content: center;
}

.krtPopBadge {
  font-size: 0.7rem;
  line-height: 1;
  padding: 4px 6px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.08);
  color: #e7e9ec;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.krtPopBadge--green {
  background: rgba(34, 197, 94, 0.14);
  border-color: rgba(34, 197, 94, 0.35);
  color: #b6f3c8;
}

.krtPopBadge--orange {
  background: var(--krt-accent);
  color: #111;
  border-color: rgba(255, 255, 255, 0.12);
}

.krtPopDivider {
  height: 1px;
  background: rgba(255, 255, 255, 0.08);
}

.krtPopBody {
  font-size: 0.8rem;
  line-height: 1.35;
  text-align: center;
}

.krtPopBody p {
  margin: 0.25rem 0;
}

/* Farben der Badges im aufgeklappten Zustand angleichen */
.krtRankMatrixPage .rankInfoFlags .badge {
  font-size: 0.7rem;
  line-height: 1;
  padding: 4px 6px;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.krtRankMatrixPage .rankInfoFlags .badgeBlue {
  background: rgba(255, 255, 255, 0.08) !important;
  color: #e7e9ec !important;
  border-color: rgba(255, 255, 255, 0.15) !important;
}

.krtRankMatrixPage .rankInfoFlags .badgeGreen {
  background: rgba(34, 197, 94, 0.14) !important;
  color: #b6f3c8 !important;
  border-color: rgba(34, 197, 94, 0.35) !important;
}

.krtRankMatrixPage .rankInfoFlags .badgeOrange {
  background: var(--krt-accent) !important;
  color: #111 !important;
  border-color: rgba(255, 255, 255, 0.15) !important;
}

/* Grundkonfiguration */
.donationBox {
  --brand-orange:#E77E23;
  --brand-orange-dark:#D6701F;
  --paypal-bg:#1f2225;
  --paypal-bg-hover:#24282c;
  --paypal-border:#2a2e33;
  --paypal-border-hover:#31363b;
  --paypal-text:#fff;
  --track-bg:#3a404b;
  --sidebar-border:#39414D;
  --sidebar-text:#D1D2D3;
  --meta-size:.80rem;
  --meta-color:rgba(209,210,211,.68);
  --rows-vspace:.70rem;
  --gap-after-intro:.75rem;
  --gap-before-slider:var(--rows-vspace);
  --gap-actions:1.35rem;
  --actions-gap:.5rem;
  --progress-height:14px;
  --slider-gap:.65rem;
  --slider-track:var(--track-bg);
  --slider-fill:var(--brand-orange);
  --slider-thumb:#fff;
  color: var(--sidebar-text);
  font-size: 0.95rem;
}

/* Intro */
.donationBox .dbx-intro {
  margin: 0 0 var(--gap-after-intro);
  font-size: 0.92rem;
  line-height: 1.4;
  opacity: 0.85;
}

/* Werteblock (mit integrierter Progress-Zeile oben) */
.donationBox .dbx-rows {
  display: flex;
  flex-direction: column;
  gap: var(--rows-vspace);
  padding: var(--rows-vspace) 0;
  margin: 0 0 0.55rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.donationBox .dbx-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}

.donationBox .dbx-row span {
  opacity: 0.85;
}

.donationBox .dbx-row strong {
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

/* Progress-Zeile im Zahlenblock – volle Breite, gleiche vertikale Abstände */
.donationBox .dbx-row--progress {
  align-items: stretch;
}

.donationBox .dbx-row--progress .dbx-progress {
  width: 100%;
}

/* Progress (flat) */
.donationBox .dbx-progress__track {
  position: relative;
  height: var(--progress-height);
  border: 1px solid var(--sidebar-border);
  border-radius: 4px;
  background: var(--track-bg);
  overflow: hidden;
  box-shadow: none;
}

.donationBox .dbx-progress__fill {
  position: absolute;
  inset: 0 auto 0 0;
  width: 0;
  background: var(--brand-orange);
  transition: width 0.35s ease-in-out;
}

.donationBox .dbx-progress__label {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.72rem;
  font-weight: 400; /* dünner, dezenter */
  color: rgba(255, 255, 255, 0.85); /* statt Grau → leicht transparentes Weiß */
  letter-spacing: 0.02em;
  text-transform: uppercase;
  text-shadow: none;
  pointer-events: none;
  font-variant-numeric: tabular-nums;
}

/* Slider-Block */
.donationBox .dbx-slider {
  position: relative;
  margin: var(--gap-before-slider) 0 0;
  display: flex;
  flex-direction: column;
  gap: var(--slider-gap);
}

.donationBox .dbx-slider-title {
  font-weight: 600;
  white-space: nowrap;
}

.donationBox .dbx-slider-row {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.donationBox .dbx-eyebrow {
  font-size: var(--meta-size);
  color: var(--meta-color);
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0.01em;
}

.donationBox .dbx-slider-amount {
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

/* Range */
.donationBox .dbx-range {
  -webkit-appearance: none;
  width: 100%;
  height: 10px;
  border-radius: 4px;
  background: var(--slider-track);
  outline: none;
}

.donationBox .dbx-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--slider-thumb);
  border: 1px solid var(--sidebar-border);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
  cursor: pointer;
  margin-top: -4px;
}

.donationBox .dbx-range::-moz-range-thumb {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--slider-thumb);
  border: 1px solid var(--sidebar-border);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
  cursor: pointer;
}

.donationBox .dbx-range::-webkit-slider-runnable-track {
  height: 10px;
  border-radius: 4px;
  background: linear-gradient(to right, var(--slider-fill) var(--_fill, 0%), var(--slider-track) var(--_fill, 0%));
}

.donationBox .dbx-range::-moz-range-track {
  height: 10px;
  border-radius: 4px;
  background: var(--slider-track);
}

.donationBox .dbx-range::-moz-range-progress {
  height: 10px;
  border-radius: 4px;
  background: var(--slider-fill);
}

/* Buttons */
.donationBox .dbx-actions {
  margin: var(--gap-actions) 0 0;
  display: flex;
  gap: var(--actions-gap);
  align-items: stretch;
}

.donationBox .dbx-article, .donationBox .dbx-paypal {
  flex: 1 1 0;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.donationBox .dbx-btn {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 30px;
  padding: 0 0.7rem;
  border-radius: 6px;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
  letter-spacing: -0.1px;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
}

.donationBox .dbx-btn fa-icon {
  margin-right: 0.4rem;
}

.donationBox .dbx-btn, .donationBox .dbx-btn:link, .donationBox .dbx-btn:visited {
  text-decoration: none;
}

/* Artikel */
.donationBox .dbx-btn--brand,
.donationBox .dbx-btn--brand:link,
.donationBox .dbx-btn--brand:visited {
  border: 1px solid var(--brand-orange);
  background: var(--brand-orange);
  color: #fff;
}

.donationBox .dbx-btn--brand:hover,
.donationBox .dbx-btn--brand:focus {
  background: var(--brand-orange-dark);
  border-color: var(--brand-orange-dark);
  color: #fff;
}

/* PayPal (Grau) */
.donationBox .dbx-btn--paypal,
.donationBox .dbx-btn--paypal:link,
.donationBox .dbx-btn--paypal:visited {
  background: var(--paypal-bg);
  border: 1px solid var(--paypal-border);
  color: var(--paypal-text);
}

.donationBox .dbx-btn--paypal:hover,
.donationBox .dbx-btn--paypal:focus {
  background: var(--paypal-bg-hover);
  border-color: var(--paypal-border-hover);
  color: #fff;
}

.donationBox .dbx-btn--paypal:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.25);
  outline-offset: 2px;
}

/* Hinweis unter PayPal – Meta-Stil */
.donationBox .dbx-paypal-note {
  font-size: var(--meta-size);
  color: var(--meta-color);
  font-weight: 400;
  text-align: center;
}

/* Responsive */
@media (max-width: 380px) {
  .donationBox .dbx-slider-title {
    white-space: normal;
  }
}
/* ==========================================================================
   Das Kartell – Individuelles CSS und SCSS des Stils "Das Kartell - 3.1"
   Plattform: WoltLab Suite 6.2
   Stand:     15.11.2026
   Grundlage: Überarbeitung 30c des Stils 2.0. Neu in 3.0: Farbschema über
              die Stil-Variablen, flacher Kopf mit Header-Bild
              (Abschnitt 10), Artikel-Regeln für WSC 6.2, Plugin-CSS in
              Teil B zusammengefasst. Neu in 3.1: Kopf, Inhalt und Footer
              bilden eine gemeinsame Seite (Abschnitt 12).

   AUFBAU
   Teil A (Abschnitte 0 bis 10): Gestaltung von WoltLab selbst. Bleibt
   dauerhaft im Stil, weil es dafür keinen anderen Ort gibt.
   Teil B (Abschnitt 11): Gestaltung der Ausgaben unserer eigenen Plugins.
   Je Plugin ein Block. Wird ein Block ins Plugin überführt, wird er hier
   vollständig gelöscht.
   Abschnitt 12 gehört inhaltlich zu Teil A. Er steht am Ende, weil er
   Werte aus früheren Abschnitten überschreibt.

   INHALTSVERZEICHNIS
   TEIL A – WOLTLAB (bleibt im Stil)
   0) Global – Farbpalette, Badges, Farbschema, Header, Editor
   1) Artikel – Kartendarstellung
   2) Forum – Forenübersicht & Board-Ansicht
   3) Kalender
   4) Footer – Menüboxen
   5) Eigene Deklarationen – Zitate, Avatare, Vorschaufenster
   6) Ticketsystem
   7) Seitenleisten-Boxen – Menüs und Zähler
   8) Eigene Badge- und Label-Farben
   9) Filebase – Dateien als Karten
   10) Design 3.0 – flacher Kopf, Boxen, Termine, Menü, Team-Seite

   TEIL B – PLUGIN-CSS (wandert nach und nach in die Plugins)
   11) CSS für unsere Plugins
       11.1 Spenden
       11.2 TeamSpeak-Anzeige
       11.4 Ränge, Staffeln, Bereiche, Abteilungen
       11.5 Academy-Team
       11.6 Staffelleiter-Handbuch
       11.7 Rang-Labels (Multirank, später eigenes Rang-Plugin)

   SEITENAUFBAU (gehört zu Teil A, bleibt im Stil)
   12) Die Seite als eine Fläche – Hintergrund, Seite, Ränder, Footer

   Hinweis: Neue Regeln bitte im passenden Abschnitt ergänzen und die
   Nummerierung fortführen. Regeln für Ausgaben unserer Plugins gehören
   in Teil B, in den Block des jeweiligen Plugins. Farben möglichst als
   Variable in 0.1 anlegen und hier nur referenzieren.
   Abschnitt 10.1 (Kopfbild) wird zusammen mit der Header-Grafik
   gepflegt und nur gemeinsam mit ihr geändert.
   ========================================================================== */
/* ==========================================================================
   ==========================================================================
   TEIL A – WOLTLAB (BLEIBT IM STIL)
   Abschnitte 0 bis 10. Diese Regeln gestalten Ausgaben von WoltLab selbst
   (Kopf, Forum, Kalender, Artikel, Filebase, Boxen, Labels, Meldungen).
   Sie lassen sich nicht in Plugins auslagern.
   ==========================================================================
   ========================================================================== */
/* ==========================================================================
   0) GLOBAL – Farbpalette, Badges, Farbschema, Header, Editor
   ========================================================================== */
/* --------------------------------------------------------------------------
   0.1 Farbpalette (Design-Tokens)
   Zentrale Farbwerte und Variablen, die in den folgenden Abschnitten
   verwendet werden. Änderungen hier wirken sich global aus.
   -------------------------------------------------------------------------- */
:root {
  /* Grundfarben */
  --krt-accent: #e67e23;
  --krt-text-100: #eceef0;
  --krt-text-200: #c9ced5;
  --krt-bg-100: #20252c; /* Hintergrund Artikel-Boxen */
  --krt-bg-200: #272d35; /* Hover-Zustand / dunkle Boxen */
  --krt-bg-300: #20252c; /* Foren-Boxen, Normalzustand */
  --krt-pill-bg: #2c333c;
  --krt-count-bg: #3a424d; /* Zählerzahlen (Seitenleisten-Menüs, Filebase-Ordner), siehe 7.3 */
  --krt-button-hover: #454e5a; /* Hover grauer Knöpfe, eine Stufe über --krt-count-bg, siehe 10.13 */
  /* Update-Badge (siehe 0.2) */
  --krt-update-badge-bg: #e67e23;
  --krt-update-badge-text: #16181b;
  /* Titel ungelesener Themen (siehe 2.8) */
  --krt-unread-title: #efefef;
  --krt-unread-title-hover: #ffffff;
  /* Eigene Badge- und Label-Farben (siehe 8) */
  --krt-label-text: #ffffff;
  --krt-label-text-dark: #000000;
  --krt-label-cyan: #17a2b8;
  --krt-label-indigo: #6610f2;
  --krt-label-teal: #20c997;
  --krt-label-navy: #34495e;
  --krt-label-slate: #6c757d;
  --krt-label-maroon: #d81b60;
  --krt-label-gold: #ffc107;
  /* Editor: Höhe des HTML-Embed-Quelltextfelds */
  --ck-html-embed-source-height: 50em;
  /* Checkboxen in Themenlisten (siehe 2.6) */
  --cb-bd: #d1d2d3; /* Rahmenfarbe */
  --cb-bg: #20252c; /* Hintergrund */
  --cb-border-w: 1px;
  --cb-radius: 3px;
  --cb-check: #fff; /* Häkchenfarbe */
  /* Rundungen (einheitlich für Karten, Leisten und innere Elemente) */
  --krt-radius: 6px; /* Karten und Leisten */
  --krt-radius-inner: 4px; /* Elemente innerhalb einer Karte (z. B. Pills) */
  /* Themenliste (siehe 2.10) */
  --krt-thread-row-gap: 4px; /* Abstand zwischen einzelnen Themen-Karten */
  --krt-thread-group-gap: 30px; /* Abstand vor einer neuen Gruppe inkl. Überschrift */
  --krt-thread-label: var(--wcfContentDimmedText); /* Farbe der Gruppenüberschriften */
  /* Hintergrund der Zitat-Box (siehe 5.3) */
  --krt-quote-bg: #14171c;
  /* Rang-Labels (siehe 11.7.3) */
  --krt-rank-org: #c3263f; /* Organisationsleitung */
  --krt-rank-admin: #2f6db3; /* Administration */
  --krt-rank-mod: #2a7d40; /* Moderation und Moderationsleitung */
  --krt-rank-edit: #127a84; /* Redaktionsleitung (Petrol) */
  --krt-rank-recruit: #5d7286; /* Recruiting (Stahlgrau) */
  --krt-rank-diplo: #8f7230; /* Diplomatie (Messing) */
  --krt-rank-system: var(--krt-accent); /* Bot, Systemkonto, KI (Kartell-Orange) */
}

/* --------------------------------------------------------------------------
   0.2 Update-Badge im dunklen Farbschema
   Der Zähler für Ungelesenes erscheint in Kartell-Orange (siehe 10.10).
   -------------------------------------------------------------------------- */
html[data-color-scheme=dark] .badge.badgeUpdate,
html[data-color-scheme=dark] a.badge.badgeUpdate {
  --background-color: var(--krt-update-badge-bg);
  --color: var(--krt-update-badge-text);
}

/* --------------------------------------------------------------------------
   0.3 Farbschema-Umschalter entfernen
   Die Seite wird ausschließlich im dunklen Farbschema betrieben.
   -------------------------------------------------------------------------- */
/* Auswahlfeld in den Benutzereinstellungen */
dl:has(#colorScheme) {
  display: none;
}

/* --------------------------------------------------------------------------
   0.4 Menüleiste im Kopf
   Die Menüleiste liegt über dem Kopf und scrollt mit der Seite weg, statt
   am oberen Fensterrand stehen zu bleiben. Bild, Höhe und Abstände des
   Kopfs stehen in 10.1.
   -------------------------------------------------------------------------- */
@media screen and (min-width: 1025px) {
  .pageHeaderContainer {
    padding-top: 0;
  }
  /* WoltLab rückt die fest stehende Leiste bei offenem Dialog um die Breite des
     Scrollbalkens ein. Die Leiste steht hier nicht fest; ohne diese Regel
     springt sie beim Öffnen eines Dialogs nach links. */
  html.disableScrolling .pageHeaderPanel {
    right: 0;
  }
}
.pageHeaderPanel {
  position: absolute;
}

.pageHeaderFacade,
.pageHeaderFacade > .layoutBoundary {
  height: auto;
}

/* --------------------------------------------------------------------------
   0.5 Logo-Position und Hauptmenü
   Desktop: Logo rechtsbündig, Menüeinträge in Großbuchstaben.
   Bis 1440px: kompaktere Menüabstände.
   Bis 1024px (mobil): Logo linksbündig.
   -------------------------------------------------------------------------- */
.pageHeaderLogo a, .pageHeaderLogoLarge a, .pageHeaderLogoSmall a {
  float: right;
}

.mainMenu ol.boxMenu > li > a .boxMenuLinkTitle {
  text-transform: uppercase;
}

@media (max-width: 1440px) {
  .mainMenu .boxMenu > li > a,
  .userPanel > ul > li > a {
    padding: 0 10px;
  }
}
@media (max-width: 1024px) {
  .pageHeaderLogo a, .pageHeaderLogoLarge a, .pageHeaderLogoSmall a {
    float: left;
  }
  .pageHeaderLogo, .pageHeaderLogoLarge, .pageHeaderLogoSmall {
    text-align: left;
  }
}
/* --------------------------------------------------------------------------
   0.6 Editor (CKEditor) und Typografie
   Maximale Editorhöhe abhängig von der Bildschirmhöhe;
   fett formatierter Text in Beiträgen wird stärker hervorgehoben.
   -------------------------------------------------------------------------- */
@media screen and (max-height: 1000px) {
  .ck.ck-content.ck-editor__editable {
    max-height: 700px;
  }
}
@media screen and (min-height: 1001px) {
  .ck.ck-content.ck-editor__editable {
    max-height: 1000px;
  }
}
.message strong {
  font-weight: 800;
}

/* ==========================================================================
   1) ARTIKEL – Kartendarstellung
   Kompaktere Artikelkarten mit begrenztem Titel und Teaser.
   ========================================================================== */
/* 1.1 bis 1.5 Titel und Teaser der Artikelkarten begrenzen
   Struktur seit WSC 6.2: .entryCardList__item mit __title und __teaser.
   Gleich hohe Karten: Titel höchstens zwei, Teaser höchstens vier Zeilen. */
.entryCardList__item__title,
.entryCardList__item__teaser {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.entryCardList__item__title {
  -webkit-line-clamp: 2;
}

.entryCardList__item__teaser {
  -webkit-line-clamp: 4;
}

/* 1.6 Artikel-Übersicht (WSC 6.2): Karten im Footer-Ton
   WoltLab gibt den Karten den Seitenhintergrund als Farbe; sie erhalten
   stattdessen denselben Ton wie die Filebase-Karten (9.1) und einen leicht
   aufhellenden Hover. Rahmen und Rundung: siehe 10.6.
   Struktur: .entryCardList > article.entryCardList__item
             (Bild, Titel/Teaser, Fußzeile mit Autor) */
.entryCardList > .entryCardList__item {
  background-color: var(--krt-bg-100);
  transition: background-color 0.2s ease;
}

.entryCardList > .entryCardList__item:hover {
  background-color: var(--krt-bg-200);
}

/* ==========================================================================
   2) FORUM – Forenübersicht & Board-Ansicht
   #tpl_wbb_boardList = Forenübersicht (Index)
   #tpl_wbb_board     = Board-Ansicht (Unterforen / Themenliste)
   ========================================================================== */
/* --------------------------------------------------------------------------
   2.0 Lokale Variablen für beide Forenansichten
   -------------------------------------------------------------------------- */
#tpl_wbb_boardList,
#tpl_wbb_board {
  --cat-gap: 4px;
  --cat-bg: #171a1f; /* Kategorie-Leisten dunkler als die Foren-Karten (10.9) */
  /* Transparent, damit Kategorie-Header keinen sichtbaren Rahmen haben */
  --cat-bd: transparent;
  --cat-tx: var(--krt-text-100);
  --pill-bg: var(--krt-pill-bg);
  --pill-bd: var(--krt-pill-bg);
  --pill-w: clamp(320px, 24vw, 600px);
  --pill-gap: clamp(6px, 1.2vw, 12px);
}

/* --------------------------------------------------------------------------
   2.1 Kategorie-Header: Titel in Akzentfarbe, übrige Elemente neutral
   -------------------------------------------------------------------------- */
#tpl_wbb_boardList .wbbBoardNodeContainer--category > .wbbBoardNodeContainer__header {
  color: var(--cat-tx);
}

#tpl_wbb_boardList .wbbBoardNodeContainer--category > .wbbBoardNodeContainer__header .wbbBoardNodeContainer__headline a {
  color: var(--krt-accent);
}

/* --------------------------------------------------------------------------
   2.2 Foren-Boxen (global für Index und Unterforen)
   Rahmen und Schatten werden hier für alle Farbschemata entfernt;
   2.9 ergänzt nur noch dunkelschema-spezifische Korrekturen.
   -------------------------------------------------------------------------- */
.wbbBoardNodeList {
  background: transparent;
  padding: 0;
  margin: 0;
  border: none;
  gap: 0;
}

.wbbBoardNodeList > .wbbBoardNode + .wbbBoardNode {
  margin-top: var(--cat-gap);
}

.wbbBoardNode {
  background: var(--krt-bg-300);
  border-radius: var(--krt-radius);
  margin: 0;
  padding: 12px 16px; /* Innenabstand auch in Unterforen */
  /* Entfernt den grauen Rand, der im Standardstil als Schatten umgesetzt ist */
  border: none;
  box-shadow: none;
  transition: background 0.2s ease;
}

.wbbBoardNode:hover {
  background: var(--krt-bg-200);
}

/* Inhalte der Foren-Boxen leicht verdichten */
.wbbBoardNode .wbbBoardNode__description {
  font-size: 12px;
  line-height: 1.25;
}

/* --------------------------------------------------------------------------
   2.3 Kategorie-Layout (nur Forenübersicht)
   -------------------------------------------------------------------------- */
#tpl_wbb_boardList .wbbBoardNodeContainer--category > .wbbBoardNodeContainer__header {
  background: var(--cat-bg);
  color: var(--cat-tx);
  /* Verwendet die transparente Rahmenvariable aus 2.0 */
  border: 1px solid var(--cat-bd);
  border-radius: var(--krt-radius);
  padding: 14px 16px;
  background-image: none;
  box-shadow: none;
  filter: none;
  margin-bottom: var(--cat-gap);
}

#tpl_wbb_boardList .wbbBoardNodeContainer--category > .wbbBoardNodeContainer__header::before,
#tpl_wbb_boardList .wbbBoardNodeContainer--category > .wbbBoardNodeContainer__header::after {
  content: none;
}

#tpl_wbb_boardList .wbbBoardNodeContainer--category > .wbbBoardNodeList {
  margin-top: 0;
  padding-top: 0;
}

#tpl_wbb_boardList .wbbBoardNodeContainer--category {
  padding-top: 0;
  gap: 0;
}

/* Abstand des ersten Forums abhängig davon, ob ein Kategorie-Header existiert */
#tpl_wbb_boardList .wbbBoardNodeContainer--category:has(> .wbbBoardNodeContainer__header) > .wbbBoardNodeList > .wbbBoardNode:first-child {
  margin-top: 0;
}

#tpl_wbb_boardList .wbbBoardNodeContainer--category:not(:has(> .wbbBoardNodeContainer__header)) > .wbbBoardNodeList > .wbbBoardNode:first-child {
  margin-top: var(--cat-gap);
}

/* Kategorie-Titel als Link: Großbuchstaben, Unterstreichung beim Hover */
#tpl_wbb_boardList .wbbBoardNodeContainer__headline a {
  color: inherit;
  text-decoration: none;
  text-underline-offset: 2px;
  transition: text-decoration-color 0.15s ease;
  font-weight: 600;
  letter-spacing: 0.5px;
  font-size: 1rem;
  text-transform: uppercase;
}

#tpl_wbb_boardList .wbbBoardNodeContainer__headline a:hover {
  text-decoration: underline;
  text-decoration-thickness: 1px;
}

/* --------------------------------------------------------------------------
   2.4 Rechte Spalte: letzter Beitrag als "Pill" (Index und Board-Ansicht)
   -------------------------------------------------------------------------- */
:is(#tpl_wbb_boardList, #tpl_wbb_board) .wbbBoardNode .wbbBoardNode__lastPosts {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: var(--pill-gap);
  min-height: 38px;
  padding-top: 0;
  padding-bottom: 0;
}

:is(#tpl_wbb_boardList, #tpl_wbb_board) .wbbBoardNode .wbbBoardNode__lastPosts > * {
  background: var(--pill-bg);
  border: 1px solid var(--pill-bd);
  border-radius: var(--krt-radius-inner);
  padding: 6px 10px;
  width: var(--pill-w);
  max-width: var(--pill-w);
  min-height: 32px;
  margin: 0;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: none;
}

/* Avatar in der Pill; Eckenradius einheitlich mit 5.5 */
:is(#tpl_wbb_boardList, #tpl_wbb_board) .wbbBoardNode .wbbBoardNode__lastPosts > * img {
  width: 24px;
  height: 24px;
  border-radius: 10px;
  flex: 0 0 auto;
}

:is(#tpl_wbb_boardList, #tpl_wbb_board) .wbbBoardNode .wbbBoardNode__lastPosts > * a {
  color: var(--krt-text-200);
  text-decoration: none;
  font-size: 13px;
  line-height: 1.25;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  display: inline-block;
  max-width: calc(var(--pill-w) - 24px - 8px - 12px);
  flex: 1 1 auto;
  min-width: 0;
}

:is(#tpl_wbb_boardList, #tpl_wbb_board) .wbbBoardNode .wbbBoardNode__lastPosts > * a:hover {
  text-decoration: underline;
}

:is(#tpl_wbb_boardList, #tpl_wbb_board) .wbbBoardNode .wbbBoardNode__lastPosts > * * {
  background: transparent;
  box-shadow: none;
}

/* Labels und Badges innerhalb der Pills korrekt einfärben.
   Nutzt die WoltLab-Variablen; eigene Farben aus Abschnitt 8 greifen hier mit. */
:is(#tpl_wbb_boardList, #tpl_wbb_board) .wbbBoardNode .wbbBoardNode__lastPosts > * .label,
:is(#tpl_wbb_boardList, #tpl_wbb_board) .wbbBoardNode .wbbBoardNode__lastPosts > * .badge {
  background: var(--background-color);
  color: var(--color);
  border: 1px solid var(--border-color, transparent);
  display: inline-flex;
  align-items: center;
  padding: 0 0.45em;
  line-height: 1.2;
  white-space: nowrap;
  flex: 0 0 auto;
  max-width: none;
  box-shadow: none;
}

/* Ab 1600px: Titel zweizeilig, größere Avatare */
@media (min-width: 1600px) {
  :is(#tpl_wbb_boardList, #tpl_wbb_board) .wbbBoardNode .wbbBoardNode__lastPosts > * a {
    white-space: normal;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    max-width: calc(var(--pill-w) - 32px - 8px - 12px);
  }
  :is(#tpl_wbb_boardList, #tpl_wbb_board) .wbbBoardNode .wbbBoardNode__lastPosts > * img {
    width: 32px;
    height: 32px;
  }
  :is(#tpl_wbb_boardList, #tpl_wbb_board) .wbbBoardNode .wbbBoardNode__lastPosts > * {
    padding: 8px 12px;
  }
}
/* --------------------------------------------------------------------------
   2.5 Unterforen-Auflistung in der Forenübersicht ausblenden
   -------------------------------------------------------------------------- */
#tpl_wbb_boardList .wbbBoardNode__subBoards, #tpl_wbb_boardList .wbbBoardNode__subBoardList {
  display: none;
}

/* --------------------------------------------------------------------------
   2.6 Checkboxen in Themenlisten (eigenes Design, Werte aus 0.1)
   -------------------------------------------------------------------------- */
#tpl_wbb_board .tabularList input[type=checkbox] {
  appearance: none;
  -webkit-appearance: none;
  width: 18px;
  height: 18px;
  background: var(--cb-bg);
  border: var(--cb-border-w) solid var(--cb-bd);
  border-radius: var(--cb-radius);
  position: relative;
  margin: 0;
  vertical-align: middle;
}

#tpl_wbb_board .tabularList input[type=checkbox]:checked::after {
  content: "";
  position: absolute;
  left: 5px;
  top: 2px;
  width: 5px;
  height: 9px;
  border: 2px solid var(--cb-check);
  border-top: 0;
  border-left: 0;
  transform: rotate(45deg);
}

/* Größere Checkboxen auf Touch-Geräten */
@media (pointer: coarse) {
  #tpl_wbb_board .tabularList input[type=checkbox] {
    width: 22px;
    height: 22px;
  }
}
/* --------------------------------------------------------------------------
   2.7 Abstände in der Board-Ansicht (Unterforen)
   -------------------------------------------------------------------------- */
#tpl_wbb_board .wbbBoardNodeContainerList {
  margin: 0 0 4px 0;
}

#tpl_wbb_board .wbbBoardNode {
  margin-top: 4px;
}

/* --------------------------------------------------------------------------
   2.8 Titel ungelesener Themen
   Hellere Schrift in normaler Stärke statt fett; beim Hover reinweiß.
   WoltLab setzt die Schriftstärke mit ".messageGroupList .tabularListColumns.new
   .columnSubject > h3 > .messageGroupLink"; das :is() hebt die Regel knapp
   darüber.
   -------------------------------------------------------------------------- */
.messageGroupList .messageGroup.new :is(.columnSubject > h3 > .messageGroupLink, .messageGroupLink) {
  color: var(--krt-unread-title);
  font-weight: 400; /* Normale Schriftstärke statt fett */
}

.messageGroupList .messageGroup.new :is(.columnSubject > h3 > .messageGroupLink, .messageGroupLink):hover {
  color: var(--krt-unread-title-hover);
}

/* --------------------------------------------------------------------------
   2.9 Rahmen der Forenliste im dunklen Farbschema entfernen
   Ergänzt 2.2 (dort werden Rahmen und Schatten bereits global entfernt).
   -------------------------------------------------------------------------- */
/* 2.9.1 WoltLab-Variablen für Rahmen und Hintergrund auf transparent setzen */
html[data-color-scheme=dark] #tpl_wbb_boardList {
  --wcfContentBorder: transparent;
  --wcfContentBorderInner: transparent;
  --wcfContentBackground: transparent;
}

/* 2.9.2 Hintergrund und Rahmen der Container entfernen (Lücken zwischen Boxen) */
html[data-color-scheme=dark] .wbbBoardNodeContainer,
html[data-color-scheme=dark] .wbbBoardNodeList {
  background-color: transparent;
  border: none;
}

/* 2.9.3 Hintergrund der Foren-Boxen nicht unter den Rand ziehen */
html[data-color-scheme=dark] .wbbBoardNode,
html[data-color-scheme=dark] .wbbBoardNodeContainer:not(.wbbBoardNodeContainer--category) .wbbBoardNodeList > .wbbBoardNode {
  background-clip: padding-box;
}

/* 2.9.4 Trennlinien entfernen, die über Pseudo-Elemente erzeugt werden */
html[data-color-scheme=dark] .wbbBoardNode::before,
html[data-color-scheme=dark] .wbbBoardNode::after {
  display: none;
  border: none;
  content: none;
}

/* --------------------------------------------------------------------------
   2.10 Themenliste: Themen als Karten, Gruppen mit Überschrift
   Aufbau nach dem Muster der Artikel-Übersicht: Der Kasten mit der
   Kopfzeile ("Letzte Antwort", Filter, orange Linie) bleibt erhalten;
   darin wird jedes Thema eine eigene Karte wie in der Forenübersicht
   (gleiche Farbe, Rundung und Hover-Wirkung, keine Trennlinien).
   Bekanntmachungen, angepinnte und normale Themen werden durch einen
   größeren Abstand mit grauer Überschrift getrennt. Existiert eine Gruppe
   nicht, entfallen Abstand und Überschrift. Die Überschrift "Themen"
   erscheint nur, wenn davor eine andere Gruppe steht.

   Erkennung der Gruppen über die Attribute der inneren Zeile:
   Bekanntmachung = data-is-announcement="1"
   Angepinnt      = data-is-sticky="1"
   Normal         = keines von beiden
   Gilt nur für die Board-Ansicht (#tpl_wbb_board).
   -------------------------------------------------------------------------- */
/* 2.10.1 Themen als Karten (ohne Kopfzeile) */
#tpl_wbb_board .wbbThreadList > .tabularList > .tabularListRow:not(.tabularListRowHead) {
  position: relative; /* Bezugspunkt für die Gruppenüberschrift (2.10.4) */
  margin-top: var(--krt-thread-row-gap);
  padding-left: 12px;
  padding-right: 12px;
  background-color: var(--krt-bg-300);
  border: 0;
  border-radius: var(--krt-radius);
  transition: background-color 0.2s ease;
}

#tpl_wbb_board .wbbThreadList > .tabularList > .tabularListRow:not(.tabularListRowHead):hover {
  background-color: var(--krt-bg-200);
}

/* 2.10.2 Trennlinien zwischen den Zeilen entfernen */
#tpl_wbb_board .wbbThreadList > .tabularList > .tabularListRow:not(.tabularListRowHead) > .tabularListColumns {
  border: 0;
}

/* 2.10.3 Erste Karte unter der Kopfzeile: etwas Abstand zur orangen Linie */
#tpl_wbb_board .wbbThreadList > .tabularList > .tabularListRowHead + .tabularListRow {
  margin-top: 8px;
}

/* 2.10.4 Erste Karte einer Gruppe: größerer Abstand für die Überschrift
   Fälle: Kopfzeile -> Bekanntmachung, Kopfzeile -> Angepinnt,
   Bekanntmachung -> Angepinnt, Bekanntmachung -> Normal, Angepinnt -> Normal */
#tpl_wbb_board .wbbThreadList > .tabularList > .tabularListRowHead + .tabularListRow:is(:has(> [data-is-announcement="1"]), :has(> [data-is-sticky="1"])),
#tpl_wbb_board .wbbThreadList > .tabularList > .tabularListRow:has(> [data-is-announcement="1"]) + .tabularListRow:not(:has(> [data-is-announcement="1"])),
#tpl_wbb_board .wbbThreadList > .tabularList > .tabularListRow:has(> [data-is-sticky="1"]) + .tabularListRow:not(:has(> [data-is-announcement="1"])):not(:has(> [data-is-sticky="1"])) {
  margin-top: var(--krt-thread-group-gap);
}

/* 2.10.5 Gruppenüberschrift: gemeinsame Gestaltung
   Wird oberhalb der ersten Karte einer Gruppe im Abstand aus 2.10.4
   angezeigt. Der Text wird in 2.10.6 je Gruppe gesetzt. */
#tpl_wbb_board .wbbThreadList > .tabularList > .tabularListRowHead + .tabularListRow:is(:has(> [data-is-announcement="1"]), :has(> [data-is-sticky="1"]))::before,
#tpl_wbb_board .wbbThreadList > .tabularList > .tabularListRow:has(> [data-is-announcement="1"]) + .tabularListRow:not(:has(> [data-is-announcement="1"]))::before,
#tpl_wbb_board .wbbThreadList > .tabularList > .tabularListRow:has(> [data-is-sticky="1"]) + .tabularListRow:not(:has(> [data-is-announcement="1"])):not(:has(> [data-is-sticky="1"]))::before {
  position: absolute;
  left: 2px;
  bottom: 100%;
  padding-bottom: 6px;
  color: var(--krt-thread-label);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.5px;
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
  pointer-events: none;
}

/* 2.10.6 Gruppenüberschrift: Text je Gruppe
   Nur an der jeweils ersten Karte einer Gruppe (gleiche Fälle wie 2.10.4). */
/* Bekanntmachungen: stehen immer direkt unter der Kopfzeile */
#tpl_wbb_board .wbbThreadList > .tabularList > .tabularListRowHead + .tabularListRow:has(> [data-is-announcement="1"])::before {
  content: "Bekanntmachungen";
}

/* Angepinnt: direkt unter der Kopfzeile oder nach den Bekanntmachungen */
#tpl_wbb_board .wbbThreadList > .tabularList > .tabularListRowHead + .tabularListRow:has(> [data-is-sticky="1"])::before,
#tpl_wbb_board .wbbThreadList > .tabularList > .tabularListRow:has(> [data-is-announcement="1"]) + .tabularListRow:has(> [data-is-sticky="1"])::before {
  content: "Angepinnt";
}

/* Themen: nur nach Bekanntmachungen oder angepinnten Themen */
#tpl_wbb_board .wbbThreadList > .tabularList > .tabularListRow:is(:has(> [data-is-announcement="1"]), :has(> [data-is-sticky="1"])) + .tabularListRow:not(:has(> [data-is-announcement="1"])):not(:has(> [data-is-sticky="1"]))::before {
  content: "Themen";
}

/* 2.10.7 Status-Symbole unten rechts in der Zeile
   Die Status-Symbole (Reaktionen, Dateianhang, Erledigt) schwimmen bei
   WoltLab hinter dem Titel rechts. Je nach Titellänge standen sie dadurch
   neben den Labels, darunter oder bei zweizeiligen Titeln eine Zeile
   tiefer. Jetzt stehen sie immer unten rechts auf Höhe der Zeile mit
   Autor und Datum. Die Mindesthöhe hält bei einzeiligen Titeln Abstand zu
   den Labels; sie ist nicht größer als die Zeile mit dem Avatar.
   Rechts/unten wie der Innenabstand der Spalte (10px/5px). Am Handy
   blendet WoltLab die Symbole aus. Gilt für alle Themenlisten. */
@media (min-width: 769px) {
  .wbbThreadList .wbbThread > .columnSubject {
    position: relative;
    min-height: 58px;
  }
  .wbbThreadList .wbbThread > .columnSubject > .statusDisplay {
    position: absolute;
    right: 10px;
    bottom: 5px;
  }
}
/* ==========================================================================
   3) KALENDER
   Einheitliches Konzept für alle Kalenderansichten:
   - Der heutige Tag wird durch einen gefüllten orangen Kreis mit weißer
     Zahl gekennzeichnet (Optik der orangen Buttons), in der Wochenansicht
     durch einen orangen Rahmen um den Datumsblock. Die Zelle selbst bleibt
     unverändert (am Wochenende also dunkel hinterlegt).
   - Vergangene Tage werden ausgegraut (Zahl und Termine), nicht abgedunkelt.
   - Ein dunklerer Hintergrund bedeutet nur noch: Wochenende.
   - Kleine Kalender: Tage mit Terminen erhalten einen Strich unter der Zahl
     statt eines Rings.

   Struktur (WSC 6.2):
   Monatsansicht   .calendarMonthView.calendarFullMonthView
                   > ol.calendarWeeks > li (Woche)
                   > ol.calendarWeekDays > li[data-date] (Tag)
   Kleine Kalender .calendarMonthView:not(.calendarFullMonthView), gleicher
                   Aufbau; Seitenleiste und Jahresansicht
   Wochenansicht   .calendarWeekView .containerList > li[data-date]
                   > div.calendarDay (Datumsblock)
                   + ul.calendarEvents > li.box24 (einzelner Termin)
   Tagesklassen:   calendarToday, calendarPastDay, calendarWeekend,
                   calendarOffMonth (Tag eines anderen Monats)
   ========================================================================== */
/* --------------------------------------------------------------------------
   3.0 Kalender-Farben und Werte
   -------------------------------------------------------------------------- */
:root {
  --cal-we: #181a1c; /* Wochenende */
  --cal-accent: var(--krt-accent); /* Linie unter den Wochentagen, Rahmen "heute" */
  --cal-today-circle: var(--krt-accent); /* Kreis hinter der Tageszahl "heute" */
  --cal-today-text: #ffffff; /* Tageszahl im Kreis */
  --cal-past-opacity: .55; /* Ausgrauen vergangener Tage */
}

/* --------------------------------------------------------------------------
   3.1 Orange Linie unter der Wochentags-Kopfzeile
   Gilt für die Monatsansicht und die kleinen Kalender.
   -------------------------------------------------------------------------- */
.calendarMonthView .calendarWeeks {
  position: relative;
}

.calendarMonthView .calendarWeeks::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 2px;
  background: var(--cal-accent);
  pointer-events: none;
}

/* --------------------------------------------------------------------------
   3.2 Monatsansicht: Wochenende und vergangene Tage
   WoltLab legt über vergangene Tage eine dunkle Überlagerung; diese wird
   entfernt und durch Ausgrauen von Zahl und Terminen ersetzt.
   -------------------------------------------------------------------------- */
/* 3.2.1 Wochenende dunkler */
.calendarFullMonthView .calendarWeekDays > li.calendarWeekend {
  background-color: var(--cal-we);
}

/* 3.2.2 Dunkle Überlagerung vergangener Tage entfernen */
.calendarFullMonthView .calendarWeekDays > li.calendarPastDay::after {
  content: none;
  display: none;
}

/* 3.2.3 Vergangene Tage ausgrauen (Tageszahl und Termine) */
.calendarFullMonthView .calendarWeekDays > li.calendarPastDay > * {
  opacity: var(--cal-past-opacity);
}

/* --------------------------------------------------------------------------
   3.3 Monatsansicht: heutiger Tag und aktuelle Woche
   -------------------------------------------------------------------------- */
/* 3.3.1 Heute: gefüllter oranger Kreis hinter der Tageszahl, Zahl weiß
   in normaler Schriftstärke. Die Zelle selbst bleibt unverändert. */
.calendarFullMonthView .calendarWeekDays > li.calendarToday > h3 {
  font-weight: 400;
}

.calendarFullMonthView .calendarWeekDays > li.calendarToday .calendarDayShortTitle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  margin: -4px 0 0 -2px; /* Kreis an der Zahl ausrichten, Abstand zur Zellenkante wahren */
  line-height: 1; /* Zahl exakt mittig im Kreis */
  font-variant-numeric: tabular-nums;
  border-radius: 50%;
  background-color: var(--cal-today-circle);
  color: var(--cal-today-text);
  font-weight: 400;
}

/* 3.3.2 Kalenderwoche mit dem heutigen Tag: KW-Nummer weiß */
.calendarFullMonthView .calendarWeeks > li:has(.calendarToday) > .calendarWeekNumber {
  color: var(--krt-text-100);
}

/* --------------------------------------------------------------------------
   3.4 Kleine Kalender (Seitenleiste, Jahresansicht)
   Der Ring um Tage mit Terminen (Schatten am Link der Tageszahl) wird durch
   einen kurzen Strich unter der Zahl ersetzt. Der Strich übernimmt die
   Textfarbe: grau bei Tagen anderer Monate, sonst hell.
   -------------------------------------------------------------------------- */
/* 3.4.1 Ring entfernen */
.calendarMonthView:not(.calendarFullMonthView) .calendarWeekDays > li > h3 > a {
  box-shadow: none;
  border-radius: 0;
  position: relative;
}

/* 3.4.2 Strich unter Tagen mit Terminen */
.calendarMonthView:not(.calendarFullMonthView) .calendarWeekDays > li > h3 > a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -3px;
  width: 12px;
  height: 2px;
  border-radius: 1px;
  background-color: currentColor;
  opacity: 0.8;
  transform: translateX(-50%);
  pointer-events: none;
}

/* 3.4.3 Heutiger Tag: gefüllter oranger Kreis hinter der Zahl, Zahl weiß
   (gleiches Merkmal wie in der Monatsansicht) */
.calendarMonthView:not(.calendarFullMonthView) .calendarWeekDays > li.calendarToday > h3 {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  margin: 0 auto;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  border-radius: 50%;
  background-color: var(--cal-today-circle);
}

.calendarMonthView:not(.calendarFullMonthView) .calendarWeekDays > li.calendarToday > h3,
.calendarMonthView:not(.calendarFullMonthView) .calendarWeekDays > li.calendarToday > h3 > a {
  color: var(--cal-today-text);
  font-weight: 400;
}

/* --------------------------------------------------------------------------
   3.5 Wochenansicht: Datumsblöcke und Termine als Karten
   Gleiche Gestaltung wie die Themenliste (2.10): Kartenfarbe, Rundung,
   4px Abstand, keine Trennlinien, Hover etwas heller. Der heutige Tag
   erhält einen orangen Rahmen um den Datumsblock.
   -------------------------------------------------------------------------- */
/* 3.5.1 Datumsblock als Karte */
.calendarWeekView .calendarDay {
  background-color: var(--krt-bg-300);
  border-color: transparent;
  border-radius: var(--krt-radius);
}

/* 3.5.2 Heutiger Tag: oranger Rahmen um den Datumsblock */
.calendarWeekView .containerList > li.calendarToday .calendarDay {
  border-color: var(--cal-accent);
}

/* 3.5.3 Terminliste ohne eigenen Hintergrund */
.calendarWeekView .calendarEvents {
  background-color: transparent;
}

/* 3.5.4 Einzelner Termin als Karte
   WoltLab färbt jede zweite Zeile dunkler (Zebra-Streifung mit
   "li:nth-child(2n)"). Die Farbregeln tragen deshalb ":nth-child(n)": Es
   trifft jede Zeile und gibt ihnen dasselbe Gewicht; weil sie später stehen,
   gilt einheitlich die Kartenfarbe. */
.calendarWeekView .calendarEvents > li {
  border: 0;
  border-radius: var(--krt-radius);
  transition: background-color 0.2s ease;
}

.calendarWeekView .calendarEvents > li:nth-child(n) {
  background-color: var(--krt-bg-300);
}

.calendarWeekView .calendarEvents > li + li {
  margin-top: var(--krt-thread-row-gap);
}

.calendarWeekView .calendarEvents > li:nth-child(n):hover {
  background-color: var(--krt-bg-200);
}

/* --------------------------------------------------------------------------
   3.6 Termin-Seite: Infokasten in der Seitenleiste neutralisieren
   Der Kasten mit dem Knopf zum Foreneintrag des Termins. Die Seite heißt
   "event", mit dem Plugin KRT - Calendar "eventKRT"; andere Kalender-Seiten
   (Termin anlegen, Einsatzplaner) sind bewusst nicht betroffen.
   -------------------------------------------------------------------------- */
:is(#tpl_calendar_event, #tpl_calendar_eventKRT) .boxesSidebarRight .box.boxInfo {
  background: transparent;
  border: 0;
  box-shadow: none;
  border-radius: 0;
}

:is(#tpl_calendar_event, #tpl_calendar_eventKRT) .boxesSidebarRight .box.boxInfo::before {
  content: none;
}

:is(#tpl_calendar_event, #tpl_calendar_eventKRT) .boxesSidebarRight .box.boxInfo > .boxContent {
  background: transparent;
  padding: 0;
}

/* --------------------------------------------------------------------------
   3.7 Monatsansicht: Termine als dunkle Zeile mit Farbstrich
   WoltLab füllt jeden Termin vollflächig mit der Farbe seiner Kategorie
   (direkt am Element gesetzt). Darüber liegt hier eine dunkle Ebene, die
   links 3 Pixel frei lässt: Die Kategorie-Farbe bleibt als Strich und als
   leichte Tönung sichtbar, der Titel ist immer hell. Das gilt für jede
   Kategorie-Farbe aus dem ACP, auch für neue Kategorien. WoltLab gibt
   Terminen in hellen Kategorie-Farben (z. B. Gelb) einen weißen
   Textschatten, der auf der dunklen Zeile wie ein Leuchten wirkt; er
   entfällt.
   -------------------------------------------------------------------------- */
.calendarFullMonthView .calendarEvents .calendarEventLink {
  padding-left: 9px;
  background-image: linear-gradient(90deg, transparent 3px, rgba(26, 30, 36, 0.84) 3px);
  color: var(--krt-text-100);
  text-shadow: none;
}

/* ==========================================================================
   4) FOOTER – Menüboxen
   Die Inhalte liefern die Kartell-Plugins (Footer-Menü, TeamSpeak-Anzeige);
   hier stehen nur Abstände und Raster.
   ========================================================================== */
/* --------------------------------------------------------------------------
   4.1 Oberer Footer-Bereich (Menüboxen im Raster)
   -------------------------------------------------------------------------- */
.boxesFooterBoxes {
  padding-top: 60px;
  padding-bottom: 60px;
  margin-top: 0;
  border-bottom: none;
}

.boxesFooterBoxes .layoutBoundary .boxContainer {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 20px;
  align-items: start;
  margin: 0;
  padding: 0;
}

/* --------------------------------------------------------------------------
   4.2 Unterer Footer-Bereich (TeamSpeak-Box, volle Breite)
   -------------------------------------------------------------------------- */
#pageFooter .boxesFooter {
  margin-top: 0;
  border-top: none;
  padding-top: 30px;
  padding-bottom: 30px;
}

#pageFooter .boxesFooter .layoutBoundary .boxContainer {
  display: block;
  padding: 0;
}

/* Box der TeamSpeak-Anzeige: siehe 11.2 (Plugin-CSS) */
/* --------------------------------------------------------------------------
   4.3 Footer mobil (bis 768px): Menüboxen einspaltig
   -------------------------------------------------------------------------- */
@media screen and (max-width: 768px) {
  .boxesFooterBoxes .layoutBoundary .boxContainer {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}
/* ==========================================================================
   5) EIGENE DEKLARATIONEN – Zitate, Avatare, Vorschaufenster
   ========================================================================== */
/* --------------------------------------------------------------------------
   5.3 Zitat-Boxen in Themen (Hintergrund aus 0.1)
   -------------------------------------------------------------------------- */
#tpl_wbb_thread .message .quoteBox, #tpl_wbb_thread .message .quoteBox > .quoteBoxTitle,
#tpl_wbb_thread .message .quoteBox > .quoteBoxContent {
  background-color: var(--krt-quote-bg);
}

/* --------------------------------------------------------------------------
   5.5 Avatare mit abgerundeten Ecken statt Kreis (WSC-Standard)
   Eckenradius: 0px = eckig, 4–6px = leicht abgerundet, 50% = Kreis.
   Die Avatare in den Pills der Forenliste sind in 2.4 passend gesetzt.
   -------------------------------------------------------------------------- */
/* "img" davor, damit die Regel auch Plugins schlägt, die Avatare rund setzen
   (z. B. ".krtNewsCard__avatar img" im News-Plugin). */
img.userAvatarImage {
  border-radius: 10px;
}

/* Avatar in Benutzerkarten (Team-Seite, Mitgliederliste): WoltLab legt einen
   5 px breiten dunklen Ring in Kreisform um das Bild. Der Ring entfällt, es ist
   nur das Bild mit seinen abgerundeten Ecken zu sehen. */
.userCard__header__avatar {
  border: 0;
  background: none;
  border-radius: 10px;
}

/* --------------------------------------------------------------------------
   5.6 Vorschaufenster (Themen, Benutzer)
   WoltLab setzt die Vorschau bündig an den Link. In kompakten Listen
   (z. B. letzte Themen in der Forenübersicht) verdeckt sie dadurch den
   Titel, und der Link ist nicht mehr anklickbar. Deshalb 8 px Abstand,
   egal ob die Vorschau ober- oder unterhalb aufgeht.
   -------------------------------------------------------------------------- */
.popoverContainer {
  margin-top: 8px;
  margin-bottom: 8px;
}

/* ==========================================================================
   6) TICKETSYSTEM
   Gilt nur für das Ticket-Board (Board-ID 425).
   ========================================================================== */
/* 6.1 Feldbreiten in den Ticketdetails */
[data-board-id="425"] .ticketDetails dl dd {
  max-width: 360px;
}

[data-board-id="425"] .ticketDetails dl dd select, [data-board-id="425"] .ticketDetails dl dd input {
  width: 100%;
  box-sizing: border-box;
}

/* ==========================================================================
   7) SEITENLEISTEN-BOXEN – Menüs und Zähler
   ========================================================================== */
/* 7.1 und 7.2 (Sortierung der Team-Box, Rang-Labels in "Letzte Beiträge"):
   siehe 11.7 (Plugin-CSS) */
/* --------------------------------------------------------------------------
   7.3 Zählerzahlen in Seitenleisten-Menüs (z. B. Kategorien in Filebase,
   Artikeln und Kalender)
   WoltLab färbt diese Badges im dunklen Farbschema blaugrau. Sie erhalten
   stattdessen ein helles Grau (--krt-count-bg), dasselbe wie die Zahlen in
   den Ordnern der Filebase (Plugin org.das-kartell.filebase.overview).
   Bewusst eng begrenzt:
   - nur in den Seitenleisten (das Hauptmenü im Header ist technisch
     ebenfalls ein .boxMenu und bleibt so unberührt),
   - nie für Benachrichtigungs-Badges (.badgeUpdate, orange Zähler).
   Gesetzt werden die WoltLab-Variablen, die das Badge selbst verwendet.
   -------------------------------------------------------------------------- */
:is(.boxesSidebarLeft, .boxesSidebarRight) .boxMenu .boxMenuLink > .badge:not(.badgeUpdate) {
  --background-color: var(--krt-count-bg);
  --color: var(--krt-text-100);
}

/* --------------------------------------------------------------------------
   7.4 Aktiver Menüpunkt in Seitenleisten-Menüs (z. B. gewählte Kategorie
   in Artikeln und Filebase)
   WoltLab hinterlegt den aktiven Eintrag mit dem Seitenhintergrund (fast
   schwarz). Er erhält stattdessen die Hintergrundfarbe der WoltLab-Knöpfe,
   dieselbe wie die Ordner der Filebase. Nur in den Seitenleisten, das
   Hauptmenü bleibt unberührt. Die WoltLab-Regel enthält zusätzlich ".box";
   der Selektor enthält sie daher ebenfalls und steht hinter der WoltLab-Regel.
   -------------------------------------------------------------------------- */
:is(.boxesSidebarLeft, .boxesSidebarRight) .box .boxMenu li.active > .boxMenuLink {
  background-color: var(--wcfButtonBackground);
  border-radius: var(--krt-radius-inner);
}

/* ==========================================================================
   8) EIGENE BADGE- UND LABEL-FARBEN
   8.1 bis 8.7: Zusätzliche Farbklassen für Labels und Badges (z. B.
   Systeme, Status). Die Rang-Labels der Benutzerränge stehen in 11.7.3
   (Plugin-CSS).
   Gesetzt werden die WoltLab-Variablen (--background-color, --color),
   damit die Farben überall greifen, auch in den Pills der Forenliste (2.4).
   WoltLab setzt diese Variablen im dunklen Farbschema für alle Badges neu;
   die Selektoren beginnen deshalb mit ":root" und sind dadurch stärker.
   Die direkten Farbangaben bleiben als Absicherung erhalten.
   Farbwerte siehe 0.1.
   ========================================================================== */
/* 8.1 Cyan / Türkis – Technik, Server, WoltLab */
:root :is(.badge, .label).badgeCyan {
  --background-color: var(--krt-label-cyan);
  --color: var(--krt-label-text);
  background-color: var(--krt-label-cyan);
  color: var(--krt-label-text);
}

/* 8.2 Indigo – Discord */
:root :is(.badge, .label).badgeIndigo {
  --background-color: var(--krt-label-indigo);
  --color: var(--krt-label-text);
  background-color: var(--krt-label-indigo);
  color: var(--krt-label-text);
}

/* 8.3 Teal / Smaragd – Erledigt, Intern */
:root :is(.badge, .label).badgeTeal {
  --background-color: var(--krt-label-teal);
  --color: var(--krt-label-text);
  background-color: var(--krt-label-teal);
  color: var(--krt-label-text);
}

/* 8.4 Navy / Dunkelblau – TeamSpeak, Sicherheit */
:root :is(.badge, .label).badgeNavy {
  --background-color: var(--krt-label-navy);
  --color: var(--krt-label-text);
  background-color: var(--krt-label-navy);
  color: var(--krt-label-text);
}

/* 8.5 Slate / Blaugrau – Sonstiges, Archiv */
:root :is(.badge, .label).badgeSlate {
  --background-color: var(--krt-label-slate);
  --color: var(--krt-label-text);
  background-color: var(--krt-label-slate);
  color: var(--krt-label-text);
}

/* 8.6 Maroon / Weinrot – Alternative zu Signalrot */
:root :is(.badge, .label).badgeMaroon {
  --background-color: var(--krt-label-maroon);
  --color: var(--krt-label-text);
  background-color: var(--krt-label-maroon);
  color: var(--krt-label-text);
}

/* 8.7 Gold / Amber – Wichtig, VIP (schwarze Schrift für besseren Kontrast) */
:root :is(.badge, .label).badgeGold {
  --background-color: var(--krt-label-gold);
  --color: var(--krt-label-text-dark);
  background-color: var(--krt-label-gold);
  color: var(--krt-label-text-dark);
}

/* 8.8 und 8.9 (Rang-Labels, Reihenfolge der Rang-Labels): siehe 11.7
   (Plugin-CSS) */
/* ==========================================================================
   9) FILEBASE – Dateien als Karten
   ========================================================================== */
/* --------------------------------------------------------------------------
   9.1 bis 9.4 Dateien als Karten (zwei pro Zeile, Raster von WoltLab)
   Aufbau wie Themen (2.10) und Termine (3.5): Die ganze Karte erhält eine
   einheitliche Farbe; Titel, Inhalt und Downloads werden nicht mehr durch
   unterschiedliche Hintergründe, sondern durch feine Linien in der Farbe
   des umgebenden Kastens getrennt. Da die Karten große Flächen sind,
   verwenden sie den dunkleren Footer-Ton (--krt-bg-100), wie die
   Artikel-Karten (1.6); der Hover hellt die Karte auf.

   Struktur: ol.filebaseFileList > li.filebaseFileCard
             > div.filebaseFileCardHeader (Titel, Autor, Datum)
             + div.filebaseFileCardBody   (Symbol/Vorschau, Beschreibung)
             + div.filebaseFileCardFooter (Downloads)
   -------------------------------------------------------------------------- */
/* 9.1 Karte: Footer-Ton, Rundung wie die übrigen Karten */
.filebaseFileList > .filebaseFileCard {
  background-color: var(--krt-bg-100);
  border-color: transparent;
  border-radius: var(--krt-radius);
  overflow: hidden; /* Ecken der inneren Bereiche an die Rundung anpassen */
  transition: background-color 0.2s ease;
}

.filebaseFileList > .filebaseFileCard:hover {
  background-color: var(--krt-bg-200);
}

/* 9.2 Titelbereich: kein eigener Hintergrund, feine Linie darunter */
.filebaseFileList > .filebaseFileCard > .filebaseFileCardHeader {
  --border-radius: var(--krt-radius);
  background-color: transparent;
  border-bottom: 1px solid var(--wcfContentContainerBackground);
}

/* 9.3 Inhalt: kein eigener Hintergrund; Datei-Symbole und Vorschaubilder
   von 64px auf 44px verkleinert, passend zur Bereichs-Übersicht der Filebase */
.filebaseFileList > .filebaseFileCard > .filebaseFileCardBody {
  background-color: transparent;
}

.filebaseFileList .filebaseFileCardIcon fa-icon {
  --icon-size: 44px;
  --font-size: 38px;
}

.filebaseFileList .filebaseFileCardIcon img {
  width: 44px;
  height: 44px;
  object-fit: contain;
}

/* 9.4 Downloads: kein eigener Hintergrund, feine Linie darüber */
.filebaseFileList > .filebaseFileCard > .filebaseFileCardFooter {
  background-color: transparent;
  border-top: 1px solid var(--wcfContentContainerBackground);
}

/* ==========================================================================
   10) DESIGN 3.0 – flacher Kopf, Boxen, Termine, Menü, Team-Seite
   Baut auf den Abschnitten 0 bis 9 auf und überschreibt einzelne Werte
   daraus; deshalb steht der Abschnitt hinter ihnen.
   ========================================================================== */
/* --------------------------------------------------------------------------
   10.0 Variablen
   -------------------------------------------------------------------------- */
:root {
  --krt3-border: #2a3038; /* feine Rahmenlinie */
  --krt3-card: #20252c; /* Kachel innerhalb einer Box */
  --krt3-card-hover: #272d35;
  --krt3-page: #14171c; /* Fläche der Seite und des Kopfs (Abschnitt 12) */
  --krt3-box: #1a1e24; /* Boxen und Footer-Band (Abschnitt 12) */
  --krt3-radius: 10px; /* Boxen und Kacheln */
  --krt3-logo-h: 150px; /* Höhe des Logos im Kopf */
}

/* --------------------------------------------------------------------------
   10.1 Flacher Kopf mit Header-Bild
   Der Kopf ist rund 250 statt 400 Pixel hoch; der Inhalt beginnt früher.

   Grafik (Stil bearbeiten › Daten › Dateien › Zusätzliche Bilder):
   - header.png        4000 x 750  Hauptbild (Idris mit Jägern, Soldaten)
   Das Logo ist kein Teil des Bildes, sondern das Seitenlogo des Stils.
   Der Kopf ist so breit wie der Inhalt (siehe Abschnitt 12); seitliche
   Verlängerungen des Bildes gibt es deshalb nicht.

   Verhalten je Fensterbreite:
   - bis 1024 px        kein Header-Bild (mobile Ansicht)
   - ab 1025 px         Hauptbild, rechts weich ausgeblendet; dort sitzt
                        das Logo. In schmalen Fenstern rückt das Bild
                        nach links, damit Soldaten und Logo sich nicht
                        überdecken (siehe 10.1.3)
   -------------------------------------------------------------------------- */
/* 10.1.1 Höhe des Kopfs und Größe des Logos
   Das Logo wird nur verkleinert dargestellt, die Datei bleibt unverändert. */
.pageHeaderFacade > .layoutBoundary {
  padding: 62px 0 20px 0;
}

.pageHeaderLogo .pageHeaderLogoLarge {
  height: var(--krt3-logo-h);
  width: auto;
}

/* Logo: weicher Schatten und dezentes Leuchten in Kartell-Orange (nur außen herum, das Logo selbst bleibt unverändert). */
@media (min-width: 1025px) {
  .pageHeaderLogo .pageHeaderLogoLarge {
    filter: drop-shadow(-3px 4px 6px rgba(0, 0, 0, 0.7)) drop-shadow(0 0 8px rgba(230, 126, 35, 0.45)) drop-shadow(0 0 20px rgba(230, 126, 35, 0.25));
  }
}
@media (min-width: 1025px) {
  /* 10.1.2 Grundfläche des Kopfs
     Der Kopf selbst hat kein Hintergrundbild und die Farbe der Seite
     (siehe Abschnitt 12). Das Bild liegt auf der inneren Fläche (10.1.3). */
  .pageHeaderFacade {
    position: relative;
    background-image: none;
    background-color: var(--krt3-page);
  }
  /* 10.1.3 Hauptbild
     Auf die Höhe des Kopfs skaliert und nicht verzerrt. Rechts blendet eine
     weiche Kurve von 76 % bis 100 % der Bildbreite aus; dort sitzt das Logo.
     Ist der Kopf schmaler als 1533 Pixel, rückt das Bild um die fehlende
     Breite nach links aus dem Kopf heraus. Die Soldaten bleiben so links
     vom Logo stehen; beschnitten wird der Weltraum am linken Bildrand.
     1533 = rechtes Ende der Soldaten im skalierten Bild (1160) + Breite
     des Logos (337) + Seitenrand (36). Ändern sich Kopfhöhe, Bild oder
     Logo, muss dieser Wert neu bestimmt werden.
     Das Seitenverhältnis 3085 / 578 entspricht 4000 / 750. */
  .pageHeaderFacade > .layoutBoundary {
    position: relative;
    z-index: 1;
  }
  .pageHeaderFacade > .layoutBoundary::before {
    content: "";
    position: absolute;
    left: min(0px, 100% - 1533px);
    top: 0;
    height: 100%;
    z-index: -1;
    aspect-ratio: 3085/578;
    background: url("../images/style-6/custom/header.png") left center/auto 100% no-repeat;
    -webkit-mask-image: linear-gradient(to right, rgb(0, 0, 0) 76%, rgba(0, 0, 0, 0.991) 78.4%, rgba(0, 0, 0, 0.942) 80.8%, rgba(0, 0, 0, 0.837) 83.2%, rgba(0, 0, 0, 0.683) 85.6%, rgba(0, 0, 0, 0.5) 88%, rgba(0, 0, 0, 0.317) 90.4%, rgba(0, 0, 0, 0.163) 92.8%, rgba(0, 0, 0, 0.058) 95.2%, rgba(0, 0, 0, 0.009) 97.6%, rgba(0, 0, 0, 0) 100%);
    mask-image: linear-gradient(to right, rgb(0, 0, 0) 76%, rgba(0, 0, 0, 0.991) 78.4%, rgba(0, 0, 0, 0.942) 80.8%, rgba(0, 0, 0, 0.837) 83.2%, rgba(0, 0, 0, 0.683) 85.6%, rgba(0, 0, 0, 0.5) 88%, rgba(0, 0, 0, 0.317) 90.4%, rgba(0, 0, 0, 0.163) 92.8%, rgba(0, 0, 0, 0.058) 95.2%, rgba(0, 0, 0, 0.009) 97.6%, rgba(0, 0, 0, 0) 100%);
  }
}
/* --------------------------------------------------------------------------
   10.2 Boxen: einheitliche Rundung, feiner Rahmen, Überschrift als Leiste
   Gilt für Seitenleiste und Inhaltsbereich, nicht für Kopf und Footer.
   -------------------------------------------------------------------------- */
.sidebar .box,
.boxesContentTop .box,
.boxesContentBottom .box {
  border-radius: var(--krt3-radius);
  border-color: var(--krt3-border);
}

:is(.sidebar, .boxesContentTop, .boxesContentBottom) .box > .boxTitle {
  position: relative;
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--krt3-border);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--krt-text-200);
}

:is(.sidebar, .boxesContentTop, .boxesContentBottom) .box > .boxTitle::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 36px;
  height: 2px;
  background: var(--krt-accent);
}

:is(.sidebar, .boxesContentTop, .boxesContentBottom) .box > .boxTitle a {
  color: inherit;
}

/* --------------------------------------------------------------------------
   10.3 Terminlisten in Boxen (Anstehende Termine, Einsätze)
   Kompakte Kacheln; im Inhaltsbereich ab Desktop-Breite zweispaltig.
   Struktur: ol.containerList > li.calendarEventListItem > .box48
   -------------------------------------------------------------------------- */
@media (min-width: 1025px) {
  .boxesContentTop .box ol.containerList:has(> .calendarEventListItem),
  .boxesContentBottom .box ol.containerList:has(> .calendarEventListItem) {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
  }
}
.box ol.containerList > li.calendarEventListItem {
  margin: 0;
  padding: 10px 12px;
  border: 0;
  border-radius: 8px;
  background: var(--krt3-card);
  transition: background-color 0.15s ease;
}

.box ol.containerList > li.calendarEventListItem:hover {
  background: var(--krt3-card-hover);
}

.box .calendarEventListItem .box48 {
  align-items: center;
}

.box .calendarEventListItem .userAvatarImage {
  width: 36px;
  height: 36px;
}

.box .calendarEventListItem h3 {
  font-size: 15px;
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.box .calendarEventListItem .containerHeadline > p {
  margin: 1px 0 0;
  font-size: 13px;
  color: var(--krt-text-200);
}

.box .calendarEventListItem .inlineList {
  margin-top: 1px;
}

/* --------------------------------------------------------------------------
   10.4 Hauptmenü: lange Untermenüs mehrspaltig
   Greift ab neun Einträgen der ersten Ebene (derzeit "Das Kartell").
   Einträge mit Unterpunkten wirken als Gruppenüberschrift.
   -------------------------------------------------------------------------- */
@media (min-width: 1025px) {
  .mainMenu .boxMenu > li > ol.boxMenuDepth1 {
    background-color: rgba(22, 26, 31, 0.97);
    border: 1px solid var(--krt3-border);
    border-top: 0;
    border-radius: 0 0 var(--krt3-radius) var(--krt3-radius);
  }
  /* Einfache Untermenüs (bis acht Einträge): Der letzte Eintrag schließt bündig
     mit der runden Unterkante ab, die Hover-Fläche folgt den runden Ecken. */
  .mainMenu .boxMenu > li > ol.boxMenuDepth1:not(:has(> li:nth-child(9))) {
    padding-bottom: 0;
    overflow: hidden;
  }
  .mainMenu .boxMenu > li > ol.boxMenuDepth1:has(> li:nth-child(9)) {
    column-count: 3;
    column-gap: 6px;
    width: max-content;
    max-width: 92vw;
    padding: 12px;
  }
  .mainMenu .boxMenu > li > ol.boxMenuDepth1:has(> li:nth-child(9)) > li {
    break-inside: avoid;
  }
  /* Feste Spalten im Menü "Das Kartell": Gemeinschaft | Ränge und Academy |
     Organisation, Bereiche, Abteilungen. Erkannt über die Menü-Kennung. */
  .mainMenu li[data-identifier="org.das-kartell.wcf.ranks"],
  .mainMenu li[data-identifier="org.das-kartell.wcf.krt.Management"] {
    break-before: column;
  }
  .mainMenu .boxMenu > li > ol.boxMenuDepth1:has(> li:nth-child(9)) > li.boxMenuHasChildren > a .boxMenuLinkTitle {
    font-weight: 700;
    color: var(--krt-accent);
  }
}
/* --------------------------------------------------------------------------
   10.5 Team-Seite: kompakte Kacheln ohne Titelbild
   Vier bis fünf Spalten statt drei; Aktivität und Aufenthaltsort entfallen
   (stehen im Profil). Gilt für die Team-Seite und das Academy-Team, nicht
   für die Mitgliederliste.
   -------------------------------------------------------------------------- */
:is(#tpl_wcf_team, #tpl_wcf_academyTeamPage) .userCardList {
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: 0.75rem;
}

:is(#tpl_wcf_team, #tpl_wcf_academyTeamPage) .userCard {
  border: 1px solid var(--krt3-border);
  border-radius: var(--krt3-radius);
  background: var(--krt3-card);
}

:is(#tpl_wcf_team, #tpl_wcf_academyTeamPage) .userCard__header {
  position: relative;
  height: auto;
  min-height: 0;
  padding: 18px 0 0;
  display: flex;
  justify-content: center;
  background: none;
}

:is(#tpl_wcf_team, #tpl_wcf_academyTeamPage) .userCard__header__background {
  display: none;
}

/* relativ, damit der grüne Online-Punkt am Avatar sitzt */
:is(#tpl_wcf_team, #tpl_wcf_academyTeamPage) .userCard__header__avatar {
  position: relative;
  inset: auto;
  margin: 0;
  transform: none;
}

:is(#tpl_wcf_team, #tpl_wcf_academyTeamPage) .userCard__header__interactions {
  position: absolute;
  top: 8px;
  right: 8px;
}

:is(#tpl_wcf_team, #tpl_wcf_academyTeamPage) .userCard__content {
  padding: 0.5rem 0.75rem;
}

:is(#tpl_wcf_team, #tpl_wcf_academyTeamPage) .userCard__details {
  display: none;
}

:is(#tpl_wcf_team, #tpl_wcf_academyTeamPage) .userCard__buttons {
  margin-top: 8px;
}

/* Innenabstand der Karte; die Fußzeile (Beiträge, Termine, Reaktionen) entfällt,
   die Zahlen stehen im Profil. */
:is(#tpl_wcf_team, #tpl_wcf_academyTeamPage) .userCard {
  padding: 0.75rem;
}

:is(#tpl_wcf_team, #tpl_wcf_academyTeamPage) .userCard__footer {
  display: none;
}

/* --------------------------------------------------------------------------
   10.6 Artikel-Übersicht: Rahmen der Karten, Blätterleiste mit Hintergrund
   WSC 6.2 hält die Leiste mit den Seitenzahlen am unteren Bildschirmrand;
   ohne Hintergrund liegt sie mitten auf den Karten.
   -------------------------------------------------------------------------- */
.entryCardList > .entryCardList__item {
  border: 1px solid var(--krt3-border);
  border-radius: var(--krt3-radius);
  overflow: hidden;
}

.listView__footer {
  background: rgba(13, 15, 18, 0.92);
  border-top: 1px solid var(--krt3-border);
}

/* --------------------------------------------------------------------------
   10.7 Filebase
   Kategorien-Box der Seitenleiste zeigt nur die oberste Ebene; die Ordner
   darunter stehen in der Übersicht im Inhaltsbereich.
   -------------------------------------------------------------------------- */
[data-box-identifier="com.woltlab.filebase.Categories"] .boxMenuItem:not(.boxMenuItemDepth1) {
  display: none;
}

/* --------------------------------------------------------------------------
   10.8 Team-Seite: Reihenfolge innerhalb der Gruppen, Rang-Schilder
   Die Gruppen-Abschnitte werden über die ID der Überschrift erkannt
   (group4 = Administratoren, group5 = Moderation). Sortiert wird nach den
   Rang-Labels aus 11.7.3; spätere Regeln gewinnen. Wer kein passendes Label
   trägt, behält die Reihenfolge von WoltLab.
   Organisationsleitung: keine eigene Sortierung möglich, weil die Karten
   kein Merkmal für die Nummer 1 tragen.
   -------------------------------------------------------------------------- */
#tpl_wcf_team .userCardList__item {
  order: 5;
}

/* Moderation: Moderationsleitung, dann Organisationsleitung, dann
   Administration, dann alle übrigen */
#tpl_wcf_team section:has(> header > #group5) .userCardList__item:has(.krtRankAdmin) {
  order: 3;
}

#tpl_wcf_team section:has(> header > #group5) .userCardList__item:has(.krtRankOrg) {
  order: 2;
}

#tpl_wcf_team section:has(> header > #group5) .userCardList__item:has(.krtRankModLead) {
  order: 1;
}

/* Administratoren: Organisationsleitung zuerst, System-Konten zuletzt */
#tpl_wcf_team section:has(> header > #group4) .userCardList__item:has(.krtRankOrg) {
  order: 1;
}

#tpl_wcf_team section:has(> header > #group4) .userCardList__item:has(:is(.krtRankSystem, .krtRankBot, .krtRankAi)) {
  order: 9;
}

/* Rang-Schilder und Interessen auf den Karten: siehe 11.4 (Plugin-CSS) */
/* --------------------------------------------------------------------------
   10.9 Abstufung der Flächen und Schriftgrößen in Listen
   Kategorie-Leisten der Forenübersicht dunkler als die Foren-Karten, damit
   Leiste und Karten sich unterscheiden (Wert: --cat-bg in 2.0). Thementitel
   in Listen und Boxen eine Stufe kleiner, damit lange Titel seltener
   umbrechen.
   -------------------------------------------------------------------------- */
@media (min-width: 1025px) {
  .messageGroupList .columnSubject > h3 > .messageGroupLink {
    font-size: 16px;
    line-height: 1.35;
  }
}
.box[data-box-identifier="com.woltlab.wbb.LatestPosts"] .sidebarListItem__title,
.box[data-box-identifier="com.woltlab.wbb.HotThreads"] .sidebarListItem__title {
  font-size: 14px;
  line-height: 1.35;
}

.box[data-box-identifier="com.woltlab.wbb.LatestPosts"] .sidebarListItem__link,
.box[data-box-identifier="com.woltlab.wbb.HotThreads"] .sidebarListItem__link {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}

/* --------------------------------------------------------------------------
   10.10 Forenübersicht: Symbol ungelesener Foren in Orange
   Gelesene Foren behalten das blasse Symbol. Die Zähler für Ungelesenes
   (0.2) sind im Design 3.0 orange statt rot; Rot bleibt Warnungen vorbehalten.
   -------------------------------------------------------------------------- */
.wbbBoardNode--unread .wbbBoardNode__unreadIcon fa-icon {
  color: var(--krt-accent);
}

.badge.badgeUpdate {
  font-weight: 700;
}

/* --------------------------------------------------------------------------
   10.12 Themenansicht: Beitrags-Karten
   Rahmen und Rundung der Beiträge, Abstände von Text und Knöpfen zum Rahmen.
   -------------------------------------------------------------------------- */
.message {
  border: 1px solid var(--krt3-border);
  border-radius: var(--krt3-radius);
}

/* Innenabstand der Beitragsspalte: Datum, Beitragsnummer und Text liefen sonst bis an
   den Rahmen oben und rechts. Am Handy steht die Seitenleiste oben, dort bleibt der
   WoltLab-Abstand. Beiträge ohne Seitenleiste (z. B. in der Beitragsliste eines
   Mitglieds) behalten den WoltLab-Aufbau; ihre Kopfzeile folgt der Rundung. */
@media screen and (min-width: 769px), print {
  .message > .messageSidebar + .messageContent {
    padding: 15px 20px 0 0;
  }
}
.message.messageReduced {
  overflow: clip;
}

/* Am Handy steht die Seitenleiste über dem Beitrag. Ohne eigenen Abstand liefen
   Avatar und Text bis an den Rahmen links und rechts. Beide stehen bündig 15 px
   vom Rahmen. */
@media screen and (max-width: 768px) {
  .message > .messageContent {
    padding: 0 14px;
  }
  .message > .messageSidebar {
    padding-left: 24px;
    padding-right: 24px;
  }
}
/* Knöpfe unter dem Beitrag (Bearbeiten, Zitieren, Melden): WoltLab setzt sie mit
   margin-bottom: -1px auf die Unterkante. Mit dem Rahmen oben hingen sie sonst auf
   der Linie; deshalb Abstand nach unten und rechts. */
.message .messageFooterButtons {
  margin: 20px 0 16px auto;
}

/* Melden und Verwarnen links daneben: gleicher Abstand nach unten, sonst zieht die
   Zeile diese Knöpfe auf 47 px Höhe und sie wirken zu groß. */
.message .messageFooterButtonsExtra {
  margin-bottom: 16px;
}

@media screen and (max-width: 768px) {
  .message .messageFooterButtons {
    margin-right: 16px;
  }
}
/* Schnellantwort unter dem Thema: Vorschau und Antworten ebenfalls mit Abstand
   zur Unterkante statt auf dem Rahmen. */
.messageQuickReplyContent .formSubmit,
.messageInlineEditor > .formSubmit {
  margin-bottom: 16px;
}

/* Beim Bearbeiten eines Beitrags direkt im Thema bleiben Abbrechen, Vorschau und
   Speichern mittig unter dem Editor. Bei der Schnellantwort stehen die Knöpfe
   mittig unter der ganzen Karte: Der Editor steht rechts neben der Seitenleiste
   mit dem Avatar, deshalb reicht die Knopfzeile um Seitenleiste plus Abstand nach
   links: Tablet 200 + 20 px, Desktop 240 + 30 px (WoltLab-Werte; nach einem
   WoltLab-Update prüfen). Am Handy steht die Seitenleiste oben, dort bleibt
   alles unverändert. */
@media screen and (min-width: 769px) and (max-width: 1024px) {
  .messageQuickReplyContent .formSubmit {
    margin-left: -220px;
    margin-right: -20px;
  }
}
@media screen and (min-width: 1025px), print {
  .messageQuickReplyContent .formSubmit {
    margin-left: -270px;
    margin-right: -20px;
  }
}
/* Ränge und Staffeln unter dem Avatar: siehe 11.4 (Plugin-CSS) */
/* --------------------------------------------------------------------------
   10.13 Knöpfe: etwas runder, deutlicher Hover, erkennbarer aktiver Zustand
   WoltLab dunkelt graue Knöpfe beim Hover und im aktiven Zustand nur leicht
   ab, beides ist kaum zu sehen. Die Grundfarbe der Knöpfe bleibt.
   a) Hover: graue Knöpfe werden heller (--krt-button-hover, siehe 0.1) und
      die Schrift weiß. Wie bei WoltLab nur ohne Touch, damit nach dem
      Tippen kein Hover hängen bleibt.
   b) Aktiv: aktive Knöpfe (z. B. "Mitglieder" auf der Staffel-Seite) und
      Knöpfe mit geöffnetem Menü stehen dauerhaft im hellen Ton des Hovers,
      mit weißer Schrift. Auch am Handy, wo es keinen Hover gibt.
   c) Orange Knöpfe (buttonPrimary, Absenden) behalten ihre Farben und werden
      beim Hover etwas heller.
   -------------------------------------------------------------------------- */
.button, button.button, input[type=submit] {
  border-radius: 6px;
  transition: background-color 0.15s ease, filter 0.15s ease;
}

:is(.button, a.button, input[type=button], input[type=reset]):not(.buttonPrimary):is(.active, .dropdownOpen > *) {
  background-color: var(--krt-button-hover);
  color: #fff;
}

html:not(.touch) :is(.button, a.button, input[type=button], input[type=reset]):not(.buttonPrimary):hover {
  background-color: var(--krt-button-hover);
  color: #fff;
}

html:not(.touch) :is(.button.buttonPrimary, input[type=button].buttonPrimary, input[type=submit]):hover {
  filter: brightness(1.12);
}

/* --------------------------------------------------------------------------
   10.13a Hauptmenü kurz vor dem Handy-Menü (1025 bis 1279 px Fensterbreite)
   In diesem schmalen Bereich passen die Menüpunkte sonst nicht in eine Zeile und
   der letzte Punkt wird abgeschnitten. Nur hier rücken alle Punkte gleichmäßig
   zusammen und die Pfeile für Untermenüs entfallen (die Untermenüs funktionieren
   weiter). Darüber bleibt das Menü unverändert, darunter folgt das Handy-Menü.
   Gemessen: Ab 1140 px passt das volle Menü neben den heutigen Symbolen der
   Benutzer-Leiste. Jedes weitere Symbol dort (z. B. von einem Plugin) nimmt dem
   Menü rund 52 px; deshalb gilt die Regel bis 1279 px. Kommt ein Menüpunkt dazu,
   die Grenze neu messen.
   -------------------------------------------------------------------------- */
@media (min-width: 1025px) and (max-width: 1279px) {
  /* Steht hinter 0.5 und überschreibt dessen 10 px Abstand. */
  .mainMenu .boxMenu > li > a {
    padding-left: 6px;
    padding-right: 6px;
  }
  .mainMenu .boxMenu > li > a > fa-icon {
    display: none;
  }
}
/* --------------------------------------------------------------------------
   10.13b Registrierung nur über den Link aus der Spectrum-Nachricht
   Mitglied wird man nur über die Bewerbung bei RSI. Der Bewerber bekommt per
   Spectrum einen Link mit Registrierungscode (/register?handle=…&otp=…, Vorlage im
   ACP-Modul des Members-Plugins). Die Registrierung selbst muss deshalb aktiv
   bleiben; ausgeblendet werden nur die öffentlichen Einstiege: „Registrieren“ oben
   in der Leiste (auch im Handy-Menü) und „Noch kein Benutzerkonto? Jetzt
   registrieren!“ auf der Anmeldeseite.
   -------------------------------------------------------------------------- */
#userRegistration,
.userPanel .registrationLink {
  display: none;
}

/* Eigene Regel: Ein Browser ohne :has() verwirft sonst die ganze Liste. */
#tpl_wcf_login .contentHeaderDescription:has(a[href*="/register"]) {
  display: none;
}

/* --------------------------------------------------------------------------
   10.13c Fußmenü bei abgemeldeten Besuchern
   Gäste sehen nur „Kontakt“ und „Informationen“. Weil sich die Spalten sonst auf
   die ganze Breite verteilen, rutschten sie weit auseinander. Jetzt hat jede Spalte
   die Breite, die sie bei Mitgliedern (5 Spalten + Logo, 20 px Abstand) hat, und
   das Logo bleibt rechts. Für Mitglieder ändert sich nichts.
   Hinweis: Das Fußmenü gehört zum Framework-Plugin (krt-framework-style.scss);
   die Regel sollte bei Gelegenheit dorthin wandern.
   -------------------------------------------------------------------------- */
@media screen and (min-width: 769px), print {
  .krtFooterMenuColumns > nav > .boxMenu > li {
    flex: 0 0 calc((100% - 100px) / 6);
  }
  .krtFooterMenuColumns > .krtFooterMenuLogo {
    flex: 0 0 calc((100% - 100px) / 6);
    margin-left: auto;
  }
}
@media (min-width: 1280px) {
  .krtFooterMenuColumns > nav > .boxMenu > li {
    flex-basis: calc((100% - 100px) / 6.75);
  }
  .krtFooterMenuColumns > .krtFooterMenuLogo {
    flex-basis: calc((100% - 100px) / 6.75 * 1.75);
  }
}
/* --------------------------------------------------------------------------
   10.14 Kopf: Menüleiste mit Verlauf und Unschärfe
   Die Menüpunkte bleiben auf jedem Header-Bild lesbar.
   -------------------------------------------------------------------------- */
@media (min-width: 1025px) {
  .pageHeaderPanel {
    background: linear-gradient(to bottom, rgba(13, 15, 18, 0.92), rgba(13, 15, 18, 0.62));
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
  }
}
/* 10.14a Benutzer-Leiste rechts im Kopf: feste Höhe
   Die Leiste mit Sprache, Avatar, Glocke und Symbolen von Plugins bleibt immer
   50 Pixel hoch, wie die Menüleiste daneben. WoltLab begrenzt nur die Höhe des
   Links; ein größeres Symbol oder ein höherer Eintrag eines Plugins zieht sonst
   die ganze Kopfzeile auf und verschiebt das Menü. Bilder und Symbole werden
   deshalb auf 40 Pixel begrenzt, egal wie tief sie im Eintrag liegen und ob der
   Eintrag ein Link oder ein Knopf ist. Normale Symbole (32 Pixel) und
   Zahlen-Badges sind davon nicht betroffen. */
@media (min-width: 1025px) {
  .pageHeaderPanel .userPanel > ul {
    align-items: center;
    height: 50px;
    max-height: 50px;
  }
  .pageHeaderPanel .userPanel > ul > li {
    max-height: 50px;
  }
  .pageHeaderPanel .userPanel > ul > li > :is(a, button) {
    box-sizing: border-box;
    height: 50px;
    max-height: 50px;
    padding-top: 0;
    padding-bottom: 0;
  }
  .pageHeaderPanel .userPanel > ul > li > :is(a, button) :is(img, svg, fa-icon, fa-brand):not(.badge),
  .pageHeaderPanel .userPanel > ul > li > :is(a, button) > [class*=Icon]:not(.badge) {
    max-height: 40px;
    max-width: 40px;
  }
  .pageHeaderPanel .userPanel > ul > li > :is(a, button) :is(img, svg) {
    object-fit: contain;
  }
}
/* 10.15 (TeamSpeak-Zeile als Karte): siehe 11.2 (Plugin-CSS) */
/* --------------------------------------------------------------------------
   10.16 Labels: einheitlich, klein und ruhig
   Jedes Label zeigt seine Farbe als Schrift, feinen Rahmen und leichten
   Farbton im Hintergrund statt als volle Fläche. Die Farbklassen der
   Labels im ACP bleiben unverändert; ohne diesen Abschnitt sehen sie
   wieder aus wie zuvor. --lbl ist die Farbe als "R, G, B".
   -------------------------------------------------------------------------- */
.badge.label {
  --lbl: 154, 161, 171;
}

.badge.label,
:is(#tpl_wbb_boardList, #tpl_wbb_board) .wbbBoardNode .wbbBoardNode__lastPosts > * .badge.label {
  padding: 1px 7px;
  font-size: 11px;
  font-weight: 600;
  line-height: 1.6;
  border-radius: 4px;
}

/* Farben: ":root" davor, weil die Farbklassen aus Abschnitt 8 ebenfalls mit
   ":root" beginnen; so gilt hier überall die Label-Darstellung. */
:root .badge.label,
:is(#tpl_wbb_boardList, #tpl_wbb_board) .wbbBoardNode .wbbBoardNode__lastPosts > * .badge.label {
  border: 1px solid rgba(var(--lbl), .38);
  background: rgba(var(--lbl), .14);
  color: rgb(var(--lbl));
}

.badge.label.green {
  --lbl: 99, 185, 129;
}

.badge.label.yellow {
  --lbl: 214, 178, 60;
}

.badge.label.orange {
  --lbl: 234, 145, 68;
}

.badge.label.purple {
  --lbl: 184, 154, 229;
}

.badge.label.blue {
  --lbl: 123, 172, 231;
}

.badge.label.red {
  --lbl: 234, 140, 140;
}

.badge.label.pink {
  --lbl: 229, 139, 187;
}

.badge.label.brown {
  --lbl: 196, 161, 136;
}

.badge.label.badgeCyan {
  --lbl: 60, 176, 200;
}

.badge.label.badgeIndigo {
  --lbl: 176, 155, 245;
}

.badge.label.badgeTeal {
  --lbl: 50, 190, 150;
}

.badge.label.badgeNavy {
  --lbl: 148, 170, 200;
}

.badge.label.badgeSlate {
  --lbl: 150, 160, 172;
}

.badge.label.badgeMaroon {
  --lbl: 230, 141, 167;
}

.badge.label.badgeGold {
  --lbl: 232, 186, 60;
}

/* 10.17 (kompakte Spendenbox am Handy): siehe 11.1 (Plugin-CSS) */
/* --------------------------------------------------------------------------
   10.18 Label-Auswahl, Foren-Zähler, Benutzerkarten
   Drei kleinere Angleichungen an das übrige Erscheinungsbild.
   -------------------------------------------------------------------------- */
/* Label-Auswahl in Formularen (Thema erstellen): Schaltfläche in normaler
   Größe, damit sie gut zu treffen ist */
.labelChooser > .dropdownToggle > .badge.label {
  padding: 4px 10px;
  font-size: 13px;
}

/* Forenübersicht: Zähler "Themen / Beiträge" dezenter */
.wbbBoardNode__stats {
  font-size: 11px;
  opacity: 0.75;
}

/* Benutzerkarten überall (Mitgliederliste, Suche): Rahmen und Rundung wie
   die übrigen Karten */
.userCard {
  border: 1px solid var(--krt3-border);
  border-radius: var(--krt3-radius);
  overflow: hidden;
}

/* Rang-Schilder auf Benutzerkarten: siehe 11.4 (Plugin-CSS) */
/* --------------------------------------------------------------------------
   10.19 Meldungen von WoltLab und Plugins
   Meldungen wie "Es wurden keine Einträge gefunden" erscheinen als Karte
   mit farbigem Strich links statt als vollflächig farbiger Kasten, passend
   zu den Hinweisen im Kartell-Stil. Blau = Information, Grün = Erfolg,
   Gelb = Warnung, Rot = Fehler. --ntc ist die Farbe als "R, G, B".
   -------------------------------------------------------------------------- */
woltlab-core-notice,
p.info, p.success, p.warning, p.error {
  --ntc: 86, 148, 224;
}

/* WoltLab färbt über die Klassen .info, .success, .warning und .error (auch
   woltlab-core-notice trägt eine davon); der Elementname davor hebt die
   Regeln knapp darüber. */
:is(woltlab-core-notice, p):is(.info, .success, .warning, .error) {
  background: var(--krt3-card);
  border: 1px solid var(--krt3-border);
  border-left: 4px solid rgb(var(--ntc));
  color: var(--krt-text-200);
}

/* Rundung: Meldungen als Absatz (p) wie die Karten; woltlab-core-notice
   behält die WoltLab-Rundung. */
p:is(.info, .success, .warning, .error) {
  border-radius: var(--krt3-radius);
}

woltlab-core-notice[type=success], p.success {
  --ntc: 76, 175, 110;
}

woltlab-core-notice[type=warning], p.warning {
  --ntc: 214, 178, 60;
}

woltlab-core-notice[type=error], p.error {
  --ntc: 224, 84, 84;
}

woltlab-core-notice > fa-icon {
  color: rgb(var(--ntc));
}

:is(woltlab-core-notice, p):is(.info, .success, .warning, .error) a:not(.button) {
  color: var(--krt-text-100);
  text-decoration: underline;
}

/* --------------------------------------------------------------------------
   10.20 Kalender am Handy: Monatsansicht als Liste
   Tage ohne Termin nehmen keine feste Höhe ein.
   -------------------------------------------------------------------------- */
@media (max-width: 768px) {
  /* Gleiches Gewicht wie die WoltLab-Regel für die Tage, steht aber später */
  .calendarFullMonthView .calendarWeeks .calendarWeekDays > li {
    min-height: 0;
    padding-bottom: 10px;
  }
}
/* ==========================================================================
   ==========================================================================
   TEIL B – PLUGIN-CSS
   11) CSS FÜR UNSERE PLUGINS
   Diese Regeln gestalten Ausgaben unserer eigenen Plugins. Sie stehen nur
   so lange im Stil, bis sie ins jeweilige Plugin überführt sind.
   Vorgehen: Block ins Plugin übernehmen (Variablen dort mit Rückfallwert
   schreiben, z. B. var(--krt3-card, #20252c)), Plugin-Update installieren,
   dann den Block hier löschen.
   ==========================================================================
   ========================================================================== */
/* --------------------------------------------------------------------------
   11.1 PLUGIN: Spenden
   Paket: org.das-kartell.donations
   Beim Überführen ins Plugin diesen Block vollständig übernehmen und hier
   löschen.
   -------------------------------------------------------------------------- */
/* 11.1.1 Kompakte Spendenbox am Handy
   Erklärtext und Kennzahlen entfallen auf schmalen Bildschirmen; Knöpfe
   und Reichweite bleiben. Details stehen auf der Spendenseite. */
@media (max-width: 768px) {
  .krtDonations .krtDonations__text, .krtDonations .krtDonations__stats {
    display: none !important;
  }
}
/* --------------------------------------------------------------------------
   11.2 PLUGIN: TeamSpeak-Anzeige
   Paket: org.das-kartell.teamspeakviewer
   Gestaltet die Box "TeamSpeak Online" im Footer.
   Beim Überführen ins Plugin diesen Block vollständig übernehmen und hier
   löschen.
   -------------------------------------------------------------------------- */
/* 11.2.1 Box in voller Breite */
.box[data-box-identifier="org.das-kartell.teamspeakviewer.OnlineUsers"] {
  width: 100% !important;
  margin: 0 !important;
  text-align: left;
}

/* 11.2.2 Darstellung als Karte */
.boxesFooter .box[data-box-identifier="org.das-kartell.teamspeakviewer.OnlineUsers"] {
  padding: 14px 18px;
  background: var(--krt3-card);
  border: 1px solid var(--krt3-border);
  border-radius: var(--krt3-radius);
}

/* 11.2.3 Einträge klar voneinander getrennt
   Das Plugin setzt zwischen den Namen nur einen kleinen Abstand, vor allem
   am Handy laufen die Einträge dadurch ineinander. Jeder Eintrag bekommt
   eine eigene dunkle Fläche wie die Labels, dazu etwas mehr Abstand. */
.boxesFooter .box[data-box-identifier="org.das-kartell.teamspeakviewer.OnlineUsers"] ul.tsviewer-list {
  gap: 6px;
}

.boxesFooter .box[data-box-identifier="org.das-kartell.teamspeakviewer.OnlineUsers"] ul.tsviewer-list > li.tsv-item {
  padding: 2px 8px;
  background-color: var(--krt-bg-200);
  border-radius: 4px;
}

/* 11.2.4 Rang-Icons auch am Handy
   Das Plugin blendet die Icons unter 520px Breite aus; sie werden wieder
   angezeigt. Einträge ohne Icons (no-icons) bleiben wie im Plugin. */
.boxesFooter .box[data-box-identifier="org.das-kartell.teamspeakviewer.OnlineUsers"] .tsv-item .tsv-icons {
  display: inline-flex;
}

/* --------------------------------------------------------------------------
   11.4 PLUGINS: Ränge, Staffeln, Bereiche, Abteilungen
   Pakete: org.das-kartell.ranks (KRT - Rank) und die zugehörigen Pakete,
   u. a. org.das-kartell.ranks.echelonoverview und
   org.das-kartell.ranks.matrix. Jeder Unterpunkt nennt die Seite, die er
   gestaltet; er gehört in das Paket, das diese Seite ausgibt.
   Beim Überführen den jeweiligen Unterpunkt vollständig übernehmen und
   hier löschen.
   -------------------------------------------------------------------------- */
/* 11.4.1 Team-Seite und Academy-Team: Staffel- und Bereichsränge als
   kleine Schilder */
:is(#tpl_wcf_team, #tpl_wcf_academyTeamPage) .userCard__ranks {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 4px;
  margin-top: 8px;
}

:is(#tpl_wcf_team, #tpl_wcf_academyTeamPage) .userCard__ranks .userRankBadge {
  margin: 0;
  padding: 2px 6px;
  font-size: 11px;
  font-weight: 400;
  background: transparent;
  border: 1px solid var(--krt3-border);
  color: var(--krt-text-200);
}

:is(#tpl_wcf_team, #tpl_wcf_academyTeamPage) .userCard__ranks .userRankBadge fa-icon {
  display: none;
}

/* 11.4.2 Team-Seite und Academy-Team: Interessen (Schlagwörter unter den
   Rängen) mittig und klein */
:is(#tpl_wcf_team, #tpl_wcf_academyTeamPage) .userCard__krtInterests {
  margin-top: 8px;
}

:is(#tpl_wcf_team, #tpl_wcf_academyTeamPage) .userCard__krtInterests .tagList {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 4px;
}

:is(#tpl_wcf_team, #tpl_wcf_academyTeamPage) .userCard__krtInterests .tag {
  margin: 0;
  padding: 1px 7px;
  font-size: 11px;
  background: var(--krt-pill-bg);
  color: var(--krt-text-200);
  border-radius: 999px;
}

/* 11.4.3 Themenansicht: Ränge und Staffeln unter dem Avatar als Schilder
   Struktur: .messageSidebar > .userRanksContainer / .userEchelonsContainer
             > dl.plain > dt (Überschrift) + dd (Einträge) */
.messageSidebar :is(.userRanksContainer, .userEchelonsContainer) dl.plain {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 4px;
  margin-top: 10px;
}

.messageSidebar :is(.userRanksContainer, .userEchelonsContainer) dt {
  flex: 0 0 100%;
  margin: 0 0 2px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--wcfContentDimmedText);
}

.messageSidebar :is(.userRanksContainer, .userEchelonsContainer) dd {
  margin: 0;
}

.messageSidebar :is(.userRanksContainer, .userEchelonsContainer) dd > a {
  display: inline-block;
  padding: 2px 7px;
  font-size: 12px;
  line-height: 1.5;
  border: 1px solid var(--krt3-border);
  border-radius: 4px;
  color: var(--krt-text-200);
}

.messageSidebar :is(.userRanksContainer, .userEchelonsContainer) dd > a:hover {
  border-color: var(--krt-accent);
  color: var(--krt-text-100);
}

/* 11.4.4 Benutzerkarten allgemein (Mitgliederliste, Suche): Staffel- und
   Bereichsränge als kleine Schilder */
.userCard__ranks {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 4px;
}

.userCard__ranks .userRankBadge {
  margin: 0;
  padding: 2px 6px;
  font-size: 11px;
  font-weight: 400;
  background: transparent;
  border: 1px solid var(--krt3-border);
  color: var(--krt-text-200);
}

.userCard__ranks .userRankBadge fa-icon {
  display: none;
}

/* 11.4.5 Seiten "Abteilungen" und "Staffeln & Spezialkommandos":
   Kennzeichen "Mitglied" und "Deine Staffel" als Schild im Stil der
   Labels (10.16) */
.badge.krtDepartmentMembershipBadge,
.badge.krtEchelonMembershipBadge {
  padding: 2px 8px;
  font-size: 11px;
  font-weight: 600;
  border-radius: 4px;
  border: 1px solid rgba(99, 185, 129, 0.38);
  background: rgba(99, 185, 129, 0.14);
  color: rgb(99, 185, 129);
}

/* 11.4.6 Leitungsseiten (Organisationsleitung, Bereichs- und
   Abteilungsleitung, Mitgliederzeilen der Abteilungen): Zeilen im Kachelton
   statt im Ton des Seitenhintergrunds */
.krtDepartmentLeadershipRow,
.krtDepartmentRosterRow {
  background: var(--krt3-card) !important;
  border-color: var(--krt3-border) !important;
  border-radius: var(--krt3-radius) !important;
}

/* 11.4.7 Seite "Rangmatrix": Tabelle in der Farbpalette des Stils.
   Das Plugin setzt feste Grautöne, teils mit !important; sie werden hier
   gezielt überschrieben. */
body .krtRankMatrixPage {
  --krt-table-bg: #1a1e24;
  --krt-table-hover: #20252c;
  --krt-table-border: #2a3038;
}

body .krtRankMatrixPage .krtMatrixTable thead th,
body .krtRankMatrixPage .krtMatrixTable thead th.columnNumber {
  background: #2c333c !important;
}

body .krtRankMatrixPage .krtMatrixTable tbody tr.krtMatrixRow:not(.is-collapsed),
body .krtRankMatrixPage .krtMatrixTable tbody tr.krtMatrixRow:not(.is-collapsed):hover,
body .krtRankMatrixPage .krtMatrixTable tbody tr.krtMatrixRow:not(.is-collapsed) th.rowHeader,
body .krtRankMatrixPage .krtMatrixTable tbody tr.krtMatrixRow:not(.is-collapsed):hover th.rowHeader {
  background: #0d0f12 !important;
}

/* --------------------------------------------------------------------------
   11.5 PLUGIN: Academy-Team
   Paket: org.das-kartell.academy.team
   Gestaltet die Seite "Academy Team" (Rangübersicht, Einleitung, Abstände).
   Die Mitglieder-Karten dieser Seite teilen sich ihre Regeln mit der
   Team-Seite (10.5) und mit den Rang-Schildern und Interessen (11.4.1, 11.4.2).
   Beim Überführen ins Plugin diesen Block vollständig übernehmen und hier
   löschen.
   -------------------------------------------------------------------------- */
/* 11.5.1 Seite "Academy Team": Rangübersicht
   Ein Kasten in der Farbe der übrigen Abschnitte, ohne zweite Fläche darin.
   Das Plugin setzt die innere Fläche mit eigener Farbe; der Selektor ist
   deshalb um die Seiten-ID verstärkt. */
#tpl_wcf_academyTeamPage .krtAcademyRankLegendContent {
  padding: 0;
  background: none;
  border: 0;
}

/* 11.5.2 Seite "Academy Team": Beschreibung der Gruppe als Einleitung
   Das Plugin gibt den Beschreibungstext im Abschnitt der Gruppe aus, zwischen
   Überschrift und Mitgliedern. Er steht hier als Einleitung direkt unter der
   Rangübersicht, vor allen Gruppen: eigener Kasten in voller Breite, ab
   Tablet-Breite zweispaltig.
   Umsetzung: Der Inhaltsbereich ordnet seine Teile über "order". Der Abschnitt
   mit der Beschreibung wird dafür aufgelöst (display: contents); Überschrift
   und Mitgliederliste erhalten Rahmen und Fläche des Abschnitts zurück und
   schließen ohne Fuge aneinander an. Ohne :has() bleibt die Einleitung
   in ihrer Gruppe stehen. Sauberer wäre es, die Einleitung im Plugin selbst oben
   auszugeben; dann entfällt dieser Unterpunkt. */
#tpl_wcf_academyTeamPage .content {
  display: flex;
  flex-direction: column;
}

#tpl_wcf_academyTeamPage .content > :is(.contentHeader, .userNotice, .boxesContentTop, .contentInteraction) {
  order: -3;
}

/* Gleicher Abstand von 30 px zwischen allen Kästen. In der Spaltenanordnung
   addieren sich Außenabstände, statt zusammenzufallen; der obere Abstand der
   Abschnitte entfällt deshalb. */
#tpl_wcf_academyTeamPage .content > .krtAcademyRankLegend {
  order: -2;
  margin-bottom: 30px;
}

#tpl_wcf_academyTeamPage .content > .krtAcademyTeamSection {
  margin: 0 0 30px;
}

#tpl_wcf_academyTeamPage .krtAcademyTeamSection:has(> .krtAcademyTeamGroupDescription) {
  display: contents;
}

#tpl_wcf_academyTeamPage .krtAcademyTeamSection:has(> .krtAcademyTeamGroupDescription) > :is(.krtAcademyTeamGroupDescription, .krtAcademyTeamHeader, .krtAcademyUserList__container) {
  background: var(--krt3-box);
  border: 1px solid var(--krt3-border);
  border-radius: 4px;
}

#tpl_wcf_academyTeamPage .krtAcademyTeamSection:has(> .krtAcademyTeamGroupDescription) > .krtAcademyTeamGroupDescription {
  order: -1;
  max-width: none;
  margin: 0 0 30px;
  padding: 20px;
  font-size: 14px;
  line-height: 1.55;
  color: var(--krt-text-200);
}

#tpl_wcf_academyTeamPage .krtAcademyTeamGroupDescription p {
  margin: 0 0 10px;
  break-inside: avoid;
}

@media screen and (min-width: 769px), print {
  #tpl_wcf_academyTeamPage .krtAcademyTeamGroupDescription {
    columns: 2;
    column-gap: 40px;
  }
}
#tpl_wcf_academyTeamPage .krtAcademyTeamSection:has(> .krtAcademyTeamGroupDescription) > .krtAcademyTeamHeader {
  margin: 0;
  padding: 20px 20px 10px;
  border-bottom: 0;
  border-radius: 4px 4px 0 0;
}

#tpl_wcf_academyTeamPage .krtAcademyTeamSection:has(> .krtAcademyTeamGroupDescription) > .krtAcademyUserList__container {
  margin: 0 0 30px;
  padding: 0 20px 20px;
  border-top: 0;
  border-radius: 0 0 4px 4px;
}

/* --------------------------------------------------------------------------
   11.6 PLUGIN: Staffelleiter-Handbuch
   Seite "Staffelleiter-Handbuch" (Vorlage staffelleiterHandbuch).
   Beim Überführen ins Plugin diesen Block vollständig übernehmen und hier
   löschen.
   -------------------------------------------------------------------------- */
/* 11.6.1 Lesbarkeit und Navigation
   - Text auf angenehme Zeilenlänge begrenzt, etwas mehr Zeilenabstand
   - Kapitel (h2) mit Abstand, feiner Linie und kurzem Akzentstrich
   - Desktop: Inhaltsverzeichnis als Spalte links, bleibt beim Scrollen
     stehen (eigener Scrollbalken, falls es höher ist als das Fenster)
   - Tablet: Inhaltsverzeichnis zweispaltig über dem Text */
.krtSlHandbookContent {
  max-width: 860px;
  line-height: 1.65;
}

.krtSlHandbookContent h2 {
  position: relative;
  margin: 44px 0 12px;
  padding-top: 22px;
  border-top: 1px solid var(--krt3-border);
  font-size: 22px;
  color: var(--krt-text-100);
}

.krtSlHandbookContent h2::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  width: 48px;
  height: 2px;
  background: var(--krt-accent);
}

.krtSlHandbookContent > h2:first-child {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}

.krtSlHandbookContent > h2:first-child::before {
  content: none;
}

.krtSlHandbookContent h3 {
  margin: 28px 0 8px;
  font-size: 17px;
  color: var(--krt-text-100);
}

.krtSlHandbookContent li + li {
  margin-top: 4px;
}

@media (min-width: 700px) and (max-width: 1099px) {
  .krtSlHandbookTocList {
    columns: 2 260px;
    column-gap: 32px;
  }
  .krtSlHandbookTocList > .krtSlHandbookTocLevel1 {
    break-inside: avoid;
  }
}
@media (min-width: 1100px) {
  .krtSlHandbookSection {
    display: grid;
    grid-template-columns: 300px minmax(0, 1fr);
    column-gap: 40px;
    align-items: start;
  }
  .krtSlHandbookSection > .krtSlHandbookStand,
  .krtSlHandbookSection > .krtSlHandbookBackToTop {
    grid-column: 1/-1;
  }
  .krtSlHandbookToc {
    position: sticky;
    top: 16px;
    max-height: calc(100vh - 32px);
    overflow-y: auto;
    margin: 0;
    font-size: 13px;
    scrollbar-width: thin;
  }
}
/* --------------------------------------------------------------------------
   11.7 PLUGIN: Rang-Labels
   Heute: gekauftes Plugin Multirank (de.wbb-elite.multirank), dessen Code
   nicht geändert wird. Der Block bleibt deshalb im Stil, bis ein eigenes
   Rang-Plugin Multirank ablöst, und dient dafür als Vorlage.
   Die Rangfarben (--krt-rank-...) stehen in 0.1.
   Abschnitt 10.8 (Sortierung der Team-Seite) verwendet dieselben Klassen
   krtRank...; das eigene Plugin sollte diese Klassennamen beibehalten.
   -------------------------------------------------------------------------- */
/* 11.7.1 Box "Team-Mitglieder online": Sortierung nach Rang
   Reihenfolge: Organisationsleitung > Administration >
   Moderationsleitung/Moderation > alle übrigen.
   Die Regeln stehen bewusst von niedriger zu hoher Priorität: Bei mehreren
   Rängen gewinnt die zuletzt passende Regel, also der höchste Rang.
   Erkannt wird ein Rang an seiner Rang-Klasse (siehe 11.7.3), zum Beispiel
   "krtRankAdmin". Die Regeln hängen an der Klasse "boxTeamSorting" der Box.
   Die Liste ist seit WSC 6.2 ein <ol class="sidebarList">, früher ein <ul>;
   die Regeln greifen für beide. */
/* a) Liste als Flexbox, damit "order" greift */
.boxTeamSorting .boxContent > :is(ul, ol) {
  display: flex;
  flex-direction: column;
}

/* b) Fallback: Benutzer ohne zugeordneten Rang ans Ende */
.boxTeamSorting .boxContent > :is(ul, ol) > li {
  order: 10;
}

/* c) Moderation und Moderationsleitung -> Position 3 */
.boxTeamSorting .boxContent > :is(ul, ol) > li:has(:is(.krtRankModLead, .krtRankMod)) {
  order: 3 !important;
}

/* d) Administration -> Position 2 */
.boxTeamSorting .boxContent > :is(ul, ol) > li:has(.krtRankAdmin) {
  order: 2 !important;
}

/* e) Organisationsleitung -> Position 1 */
.boxTeamSorting .boxContent > :is(ul, ol) > li:has(.krtRankOrg) {
  order: 1 !important;
}

/* 11.7.2 Box "Letzte Beiträge": Rang-Labels ausblenden
   Seit WSC 6.2 erscheinen die Rang-Labels auch in dieser Box; in den
   Anzeigeoptionen des Rang-Plugins gibt es dafür keinen Schalter.
   Betrifft ausschließlich diese Box; Team-Box, Beiträge, Benutzerkarte
   und Profile bleiben unverändert.
   Struktur: .multirankContainer > .userTitle > .badge.userTitleBadge */
.box[data-box-identifier="com.woltlab.wbb.LatestPosts"] .multirankContainer {
  display: none !important;
}

/* 11.7.3 Rang-Labels im Kartell-Stil
   Benutzerränge erscheinen als gestaltetes Text-Label statt als Grafik:
   abgeschrägte Ecken, dunkler Schlitz links, leichter Verlauf mit
   Lichtkante. Leitungsränge tragen am Ende einen Doppelwinkel.
   Die Schrift ist die des Forums und wird wie normaler Text geglättet;
   Grafiken (PNG, SVG) wirken daneben stets etwas weicher.
   Schreibweise: Großbuchstaben (10px, fett, gesperrt). Ohne Unterlängen
   (g, p) sitzt der Text optisch mittig im Label.
   WoltLab begrenzt Rang-Badges auf 154px Breite (.userTitleBadge);
   Punkt a) hebt die Grenze auf, damit lange Ränge nicht abgeschnitten
   werden.

   Einrichtung je Rang (ACP > Benutzer > Ränge > Rang bearbeiten):
   - Ranggrafik entfernen,
   - Darstellung "Eigene CSS-Klasse" wählen und die Klasse eintragen.

   Rang                     CSS-Klasse          Doppelwinkel
   Organisationsleitung     krtRankOrg          ja
   Administration           krtRankAdmin
   Moderationsleitung       krtRankModLead      ja
   Moderation               krtRankMod
   Redaktionsleitung        krtRankEditLead     ja
   Recruiting               krtRankRecruit
   Diplomatie               krtRankDiplo
   Bot                      krtRankBot
   Systemkonto              krtRankSystem
   Künstliche Intelligenz   krtRankAi

   Neuer Rang: Klasse nach dem Muster "krtRank..." anlegen, unter b) eine
   Farbe zuweisen (Farbwert als Variable in 0.1) und, falls es ein
   Leitungsrang ist, unter c) ergänzen. Die Grundform aus a) greift
   automatisch für jedes Rang-Label (.userTitleBadge), dessen Klasse
   "krtRank" enthält; andere Badges von Plugins bleiben unberührt.
   Für die Sortierung der Team-Box siehe 11.7.1.
   Technischer Hinweis: Die Custom-CSS wird von WoltLab als SCSS
   übersetzt. Die Farbabstufungen entstehen deshalb über halbtransparente
   Ebenen über der Rangfarbe statt über neuere CSS-Farbfunktionen. */
/* a) Grundform für alle Rang-Labels
   Ebenen von oben nach unten: Schlitz links (3px), Lichtkante oben (1px),
   Verlauf (oben heller, unten dunkler), Rangfarbe als Grundfläche. */
.badge[class*=krtRank]:where(.userTitleBadge) {
  --krt-rank: var(--krt-rank-recruit); /* Rückfallfarbe, siehe b) */
  --krt-rank-cut: 7px; /* Größe der Abschrägung */
  --background-color: var(--krt-rank) !important;
  --color: #fff !important;
  display: inline-flex !important;
  align-items: center;
  gap: 5px;
  height: 20px !important;
  box-sizing: border-box;
  padding: 0 9px 0 11px !important;
  border: 0 !important;
  border-radius: 0 !important;
  max-width: 100% !important; /* WoltLab: .userTitleBadge max. 154px */
  font-size: 10px !important;
  font-weight: 700 !important;
  line-height: 1 !important;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fff !important;
  white-space: nowrap;
  vertical-align: middle;
  background-color: var(--krt-rank) !important;
  background-image: linear-gradient(90deg, rgba(0, 0, 0, 0.55) 0, rgba(0, 0, 0, 0.55) 3px, transparent 3px), linear-gradient(180deg, rgba(255, 255, 255, 0.22) 0, rgba(255, 255, 255, 0.22) 1px, transparent 1px), linear-gradient(180deg, rgba(255, 255, 255, 0.08) 0, rgba(255, 255, 255, 0) 60%, rgba(0, 0, 0, 0) 60%, rgba(0, 0, 0, 0.22) 100%) !important;
  clip-path: polygon(var(--krt-rank-cut) 0, 100% 0, 100% calc(100% - var(--krt-rank-cut)), calc(100% - var(--krt-rank-cut)) 100%, 0 100%, 0 var(--krt-rank-cut));
}

/* b) Rangfarben (Farbwerte siehe 0.1) */
.badge.krtRankOrg {
  --krt-rank: var(--krt-rank-org);
}

.badge.krtRankAdmin {
  --krt-rank: var(--krt-rank-admin);
}

.badge.krtRankModLead,
.badge.krtRankMod {
  --krt-rank: var(--krt-rank-mod);
}

.badge.krtRankEditLead {
  --krt-rank: var(--krt-rank-edit);
}

.badge.krtRankRecruit {
  --krt-rank: var(--krt-rank-recruit);
}

.badge.krtRankDiplo {
  --krt-rank: var(--krt-rank-diplo);
}

.badge.krtRankBot,
.badge.krtRankSystem,
.badge.krtRankAi {
  --krt-rank: var(--krt-rank-system);
}

/* c) Doppelwinkel für Leitungsränge
   Die Form kommt als Maske (eingebettetes SVG), die Farbe ist eine helle
   Abstufung der Rangfarbe (65 % Weiß über der Rangfarbe). */
.badge.krtRankOrg::after,
.badge.krtRankModLead::after,
.badge.krtRankEditLead::after {
  content: "";
  flex: none;
  width: 9px;
  height: 11px;
  margin-right: -1px;
  background-color: var(--krt-rank);
  background-image: linear-gradient(rgba(255, 255, 255, 0.65), rgba(255, 255, 255, 0.65));
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 12'%3E%3Cpath d='M1 5 L5 1.5 L9 5 M1 10 L5 6.5 L9 10' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='square'/%3E%3C/svg%3E") center/contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 12'%3E%3Cpath d='M1 5 L5 1.5 L9 5 M1 10 L5 6.5 L9 10' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='square'/%3E%3C/svg%3E") center/contain no-repeat;
}

/* 11.7.4 Reihenfolge der Rang-Labels je Mitglied
   Leitungsposten stehen immer oben, unabhängig von der Priorisierung der
   Benutzergruppen (die bestimmt weiterhin die Reihenfolge auf der
   Team-Seite und die Hervorhebung der Namen). Gilt überall, wo das
   Rang-Plugin die Ränge ausgibt (Beiträge, Profil, Team-Box).
   Reihenfolge: Organisationsleitung > Moderationsleitung >
   Redaktionsleitung > Administration > Moderation > Diplomatie >
   Recruiting > übrige Ränge > System-Ränge (Bot, Systemkonto, KI).
   Struktur: .multirankContainer > .userTitle > .badge.krtRank… (siehe 11.7.3)
   Neue Ränge ohne eigene Regel landen bei den übrigen Rängen. */
/* a) Container als Flexbox, damit "order" greift
   Im Profilkopf setzt das Rang-Plugin "display: block" direkt am Element,
   daher !important. Ein direkt gesetztes "display: none" bleibt erhalten. */
.multirankContainer:where(:not([hidden]):not([style*="display: none"]):not([style*="display:none"])) {
  display: flex !important;
  flex-direction: column;
}

.userProfileHeader .multirankContainer {
  align-items: flex-start;
  gap: 2px;
}

/* b) Standard für alle übrigen Ränge */
.multirankContainer > .userTitle {
  order: 8;
}

/* c) Leitungsposten */
.multirankContainer > .userTitle:has(.krtRankOrg) {
  order: 1;
}

.multirankContainer > .userTitle:has(.krtRankModLead) {
  order: 2;
}

.multirankContainer > .userTitle:has(.krtRankEditLead) {
  order: 3;
}

/* d) Weitere Team-Ränge in der Reihenfolge der Team-Seite */
.multirankContainer > .userTitle:has(.krtRankAdmin) {
  order: 4;
}

.multirankContainer > .userTitle:has(.krtRankMod) {
  order: 5;
}

.multirankContainer > .userTitle:has(.krtRankDiplo) {
  order: 6;
}

.multirankContainer > .userTitle:has(.krtRankRecruit) {
  order: 7;
}

/* e) System-Ränge ans Ende */
.multirankContainer > .userTitle:has(:is(.krtRankBot, .krtRankSystem, .krtRankAi)) {
  order: 9;
}

/* 11.7.5 "Moderation" ausblenden, wenn dasselbe Mitglied auch
   "Moderationsleitung" trägt. Multirank berechnet die Rangliste eines
   Mitglieds erst neu, wenn das Mitglied gespeichert wird; bis dahin stünden
   sonst beide Labels untereinander. */
.multirankContainer:has(.krtRankModLead) > .userTitle:has(> .krtRankMod) {
  display: none !important;
}

/* ==========================================================================
   12) SEITENAUFBAU: DIE SEITE ALS EINE FLÄCHE
   Gehört zu Teil A (Gestaltung von WoltLab) und bleibt im Stil.
   Ab 1025 Pixel Fensterbreite liegen Kopf, Menü, Navigation, Inhalt und
   Footer in einer gemeinsamen Spalte von höchstens 1550 Pixel auf einem
   dunkleren Seitenhintergrund. Das Forum wirkt dadurch wie eine
   zusammenhängende Seite. Handy und Tablet (bis 1024 Pixel) sind nicht
   betroffen.
   Der Abschnitt steht am Ende, weil er Abstände und Flächen aus den
   Abschnitten 4 (Footer), 10.1 (Kopf) und 11.2 (TeamSpeak-Anzeige)
   überschreibt.

   Abstufung der Flächen von außen nach innen:
   Seitenhintergrund #0b0d10, Seite #14171c, Boxen #1a1e24, Karten in
   Boxen #20252c. Alle Rahmen haben die Farbe aus "--krt3-border" (10.0).
   Rundungen von außen nach innen: Seite 16, Boxen 10, Karten 8 Pixel.
   ========================================================================== */
@media (min-width: 1025px) {
  /* 12.1 Seitenhintergrund
     Sehr dunkel, mit einem weichen Lichtschein von oben. Der Verlauf steht
     fest und läuft beim Scrollen nicht mit. */
  body {
    background: radial-gradient(1400px 700px at 50% -120px, #171b22 0%, #0b0d10 62%) fixed, #0b0d10;
  }
  /* 12.2 Die Seite
     ".pageContainer" umschließt Kopf, Inhalt und Footer. Eine feine Kontur
     und ein weicher Schatten heben die Seite vom Hintergrund ab.
     "overflow: clip" schneidet die runden Ecken sauber ab. */
  .pageContainer {
    position: relative;
    max-width: 1550px;
    margin: 0 auto;
    background: var(--krt3-page);
    box-shadow: 0 0 0 1px var(--krt3-border), 0 40px 120px rgba(0, 0, 0, 0.65);
    overflow: clip;
  }
  /* 12.3 Einheitlicher Seitenrand
     Menü, Kopf, Navigation, Inhalt und Footer beginnen und enden auf
     derselben Linie, 36 Pixel vom Rand der Seite. */
  .pageHeaderPanel > .layoutBoundary, .pageNavigation > .layoutBoundary, #main > .layoutBoundary, .boxesFooterBoxes > .layoutBoundary, #pageFooter .boxesFooter > .layoutBoundary, #pageFooter .pageFooterCopyright > .layoutBoundary {
    padding-left: 36px;
    padding-right: 36px;
  }
  .pageHeaderFacade > .layoutBoundary {
    padding-right: 36px;
  }
  #main {
    padding: 36px 0 56px;
  }
  /* 12.4 Navigationszeile
     Schmales Band unter dem Kopf, eine halbe Stufe heller als die Seite,
     mit einer Linie zum Inhalt. */
  .pageNavigation {
    background: #171b21;
    border-bottom: 1px solid var(--krt3-border);
  }
  /* 12.5 Footer
     a) Das Band mit den Menüs ist die einzige abgesetzte Fläche im Footer. */
  .boxesFooterBoxes {
    background: var(--krt3-box);
    border-top: 1px solid var(--krt3-border);
    padding: 40px 0;
  }
  /* b) TeamSpeak-Box und Copyright-Zeile stehen auf der Fläche der Seite.
        Die TeamSpeak-Box erhält Farbe und Rahmen der übrigen Boxen. Sie
        steht unten, weil ihre Höhe mit der Zahl der Nutzer wächst. */
  #pageFooter .boxesFooter {
    background: var(--krt3-page);
    padding: 32px 0 8px;
  }
  .pageFooterCopyright {
    background: var(--krt3-page);
    padding: 12px 0 24px;
  }
  #pageFooter .boxesFooter .box {
    background: var(--krt3-box);
    border-color: var(--krt3-border);
  }
}
/* 12.6 Breite Bildschirme: Seite mit Abstand und runden Ecken
   Ab 1640 Pixel Fensterbreite bleibt neben der Seite genug Rand. Sie
   erhält dann Abstand nach oben und unten und runde Ecken. In schmaleren
   Fenstern schließt sie bündig am Fensterrand an. Die Mindesthöhe wird um
   den Abstand gekürzt, damit kurze Seiten nicht scrollen. Das Suchfeld setzt
   WoltLab fest 50 Pixel unter den Fensterrand; es rückt um den oberen Abstand
   mit, sonst läge es teilweise hinter der Menüleiste. */
@media (min-width: 1640px) {
  .pageContainer {
    margin: 28px auto 48px;
    border-radius: 16px;
    min-height: calc(100vh - 76px);
  }
  .pageHeaderSearch {
    margin-top: 28px;
  }
  /* Ohne diese Angabe fällt der obere Abstand der Seite durch "body" hindurch,
     und die Seite wäre 28 Pixel höher als das Fenster. */
  body {
    display: flow-root;
  }
}
/* Dashboard ohne sichtbare Überschrift (Test, 13.11.2026)
   Auf dem Dashboard steht über den Boxen nur das Wort "Dashboard". Seit dort
   die Neuigkeiten-Box als erster Inhalt steht, drückt die Überschrift alles nach
   unten. Sie wird deshalb nur optisch ausgeblendet; für Screenreader und die
   Gliederung der Seite bleibt sie als Überschrift erhalten. Gilt nur für die
   Seite "Dashboard" (data-page-identifier am body). */
body[data-page-identifier="com.woltlab.wcf.Dashboard"] .contentHeader {
  border: 0;
  clip: rect(0 0 0 0);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  white-space: nowrap;
  width: 1px;
}

/* Ohne Überschrift brauchen die Boxen oben keinen Abstand nach oben mehr
   (sonst 40px). So beginnt die erste Box auf derselben Höhe wie die erste Box
   der Seitenleiste. */
body[data-page-identifier="com.woltlab.wcf.Dashboard"] .boxesContentTop {
  margin-top: 0;
}

/* Steht ein Hinweis-Banner über den Boxen (z. B. "Testsystem" oder
   "Datenschutz"), bekommt die erste Box wieder Abstand dazu, sonst klebt sie
   direkt am Banner. 30px wie zwischen den Boxen. */
body[data-page-identifier="com.woltlab.wcf.Dashboard"] .userNotice + .boxesContentTop {
  margin-top: 30px;
}

/* Gleicher Abstand zwischen den Boxen in beiden Spalten des Dashboards: Inhalt
   hat sonst 40px, die Seitenleiste 30px. So laufen die Kanten beider Spalten
   nicht auseinander. Gilt nur für die Seite "Dashboard". */
body[data-page-identifier="com.woltlab.wcf.Dashboard"] .boxesContentTop .boxContainer > .box + .box {
  margin-top: 30px;
}

/* ==========================================================================
   NOCH IM TEST 14.11.2026 – Spendenbox (nur Testforum)
   Offen: Der graue PayPal-Knopf soll ins Spenden-Plugin (nächstes Update).
   Danach diesen Block löschen: alles von hier bis "ENDE NOCH IM TEST".
   Die Blätterpfeile der Neuigkeiten-Box stehen seit News 6.2.0 RC 20 im Plugin.
   ========================================================================== */
/* Spenden: PayPal-Knopf so ruhig wie "Informationen" */
.krtDonations .krtDonations__button.buttonPrimary {
  background-color: var(--wcfButtonBackground);
  color: var(--wcfButtonText);
}

/* Beim Hover wird der Knopf orange wie alle orangen Knöpfe (WoltLab-Regel). */
/* ENDE NOCH IM TEST 14.11.2026 */
.mediaBBCode video {
  max-height: min(480px, 72vh);
}