#push-toggle {
    width: max-content;
    height: 60px;
    position: sticky;
    bottom: 12px;
    margin-left: auto;
}
#push-toggle button {
    padding: 0 7px;
    border-radius: 50%;
    backdrop-filter: blur(2px);
    margin-right: 23px;
    anchor-name: --push-toggle;
}
#push-toggle.disabled {
    display: none;
}
#push-toggle.default button,
#push-toggle.computing button  {
    display: block;
}
#push-toggle.computing button{
    cursor: wait;
}
#push-toggle.computing svg {
    animation-name: computing;
    animation-iteration-count: infinite;
    animation-duration: 3s;
    fill: var(--color-prmy);
    opacity: .7;
}
@keyframes computing {
  0%   {fill: var(--color-prmy); opacity: .7}
  50%  {fill: var(--light-accent1);opacity: .3}
  100% {fill: var(--color-prmy); opacity: .7}
}
#push-toggle svg {
    width: 50px;
    height: 50px;
    fill: var(--light-accent2);
    filter: drop-shadow(2px 4px 6px black);
    -webkit-backdrop-filter: blur(2px);
}
#push-toggle svg:hover{
    fill: var(--light-accent1);
}
#push-toggle use {
    display: none;
}
#push-toggle.default .push-default,
#push-toggle.computing .push-default{
    display: block;
}
#push-toggle.enabled .push-active{
    display: block;
}
#push-toggle.incompatible .push-incompatible,
#push-toggle.failed .push-incompatible{
    display: block;
}

#push-toggle.enabled svg,
#push-toggle.incompatible svg,
#push-toggle.failed svg,{
    width: 40px;
    height: 40px;
}
#notification-form .incompatible,
#notification-form .failed{
    display: none;
}
#push-toggle.failed ~ #notification-form .failed,
#push-toggle.incompatible ~ #notification-form .incompatible {
    display: block;
}

#push-toggle.incompatible ~ #notification-form .compatible,
#push-toggle.failed ~ #notification-form .compatible {
    display: none;
}
#notification-form::backdrop, #primary-menu-wrap::backdrop {
  backdrop-filter: blur(3px);  
  -webkit-backdrop-filter: blur(3px);
}
#notification-form {
    font-size: .7em;
    max-width: 300px;
    margin-bottom: 1em;
    margin-right: 0;
}
@supports(bottom: anchor(bottom)){
    #notification-form {
        position-anchor: --push-toggle;
        bottom: anchor(bottom);
        right: anchor(right);
    }   
}
@supports (not (bottom: anchor(bottom))){
    #notification-form {
        margin-bottom: 1em;
        margin-right: 1em;
        translate: -10px 0;
    }
}

#notification-form .input-checkbox{
    display: flex;
}
#notification-form select{
    max-width: 210px;
}
#notification-form p {
    margin-bottom: 1rem;
}
[popover] svg {
    width: 24px;
    height: 24px;
    vertical-align: middle;
    fill: var(--color-prmy);
}
.spiel-wrap {
    padding: 1em;
    position: relative;
    margin: 1em auto;
    box-shadow: var(--shadow-direction);
    border-radius: 12px;
    max-width: 30em;
    min-width: 80%;
}
.spiel-wrap:nth-child(2n) {
    background-color: var(--bg-color-secy);
}
@keyframes blinks {
    0% {
        color: var(--color-prmy)
    }

    50% {
        color: var(--light-accent1)
    }

    100% {
        color: var(--color-prmy)
    }
}

.spiel-wrap:target{
    animation-name: blinks;
    animation-duration: 2s;
    animation-delay: 1s
}
.teams-wrap {
    display: grid;
    font-weight: bold;
    margin-bottom: 1em;
    text-align: center;
}
.name-date-wrap {
    display: flex;
    justify-content: space-between;
    font-size: .8em;
    text-transform: uppercase;
    color: var(--color-secy);
    margin-bottom: .5em;
}
.name-date-wrap span {
    max-width: 100px;
    line-height: normal;
    hyphens: none;
}
.ergebnis-wrap {
    view-transition-name: results;
    max-width: 36em;
    display: flex;
    flex-direction: column;
    align-content: center;
}
.ergebnis-wrap .date {
    text-align: right;
}
.edit-pitch-wrap{
    display: flex;
    justify-content: space-between;
    gap: .5em;
}
.edit-wrap{
    font-size: .8em;
}
.pitch-wrap {
    bottom: .4em;
    right: 1em;
    color: var(--color-tery);
    font-size: .8em;
    line-height: 1.2em;
    text-align: right;
}

@media(min-width: 1280px) {
    .filter-spielrunde {
        margin-left: 3em;
    }
    label.show-tables {
        margin-left: 3em;
    }
}
.tabnav {
    max-width: 36em;
}
.tabnav form {
    display: flex;
    justify-content: space-evenly;
}
@media(max-width: 620px) {
    .tabnav form {
        flex-direction: column;
    }
    .tabnav form label{
        margin-bottom: 0;
        margin-top: 0;
    }
}
.tabnav input {
    display: none;
}

.tabnav label{
    cursor: pointer;
    width: 100%;
    border-bottom: 2px solid var(--border-color-prmy);
    text-align: center;
    color: var(--color-tery);
    font-weight: normal;
    border-radius: 4px 4px 0 0;
    padding-top: .2em;
}
.tabnav label:hover{
    font-weight: bold;
    border-bottom-width: 3px;
}

.tabnav input:checked + label {
    border-bottom: 3px solid var(--color-accent-prmy);
    color: var(--color-prmy);
    font-weight: bold;
    background: var(--bg-color-secy);
}
.inline-checkbox-label {
    display: inline-block;
    margin-right: 1em;
}
input + .table-wrap {
    display: none;
}
input:checked + .table-wrap {
    display: block;
}
.table-wrap {
    view-transition-name: tables;
}

::view-transition-old(results),
::view-transition-old(tables) {
    animation: 0.4s ease-out both move-out
}

::view-transition-new(results),
::view-transition-new(tables) {
    animation: 0.4s ease-in both move-in
}