/* Drachenheld Events – Turnierkalender. Nutzt ausschließlich die Tokens aus Drachenheld Frontend.
   Vorbild Apple-Kalender: ruhiges Raster, Heute in Weinrot, gewählter Tag als gefüllter Kreis,
   Punkte je Spiel (schmal) bzw. Termin-Pillen (breit), Details im Sheet. */

:is(.dhf,#dhf-scope).dhev-cal{--dhev-cell-h:52px;display:block;width:100%;max-width:1200px;margin:0 auto;color:var(--dh-text)}
:is(.dhf,#dhf-scope).dhev-cal.is-wide{--dhev-cell-h:112px}

/* Kopf */
:is(.dhf,#dhf-scope) .dhev-cal__head{display:flex;align-items:center;justify-content:space-between;gap:var(--dh-space-4);flex-wrap:wrap;margin:0 0 var(--dh-space-4)}
:is(.dhf,#dhf-scope) .dhev-cal__title{font-size:var(--dh-text-2xl);margin:0;padding:0;line-height:1.15}
:is(.dhf,#dhf-scope).dhev-cal.is-wide .dhev-cal__title{font-size:var(--dh-text-3xl)}
:is(.dhf,#dhf-scope) .dhev-cal__tools{display:flex;align-items:center;gap:var(--dh-space-3);flex-wrap:wrap}
:is(.dhf,#dhf-scope) .dhev-cal__nav{display:flex;align-items:center;gap:2px}
:is(.dhf,#dhf-scope) .dhev-cal__nav[hidden]{display:none}
:is(.dhf,#dhf-scope) .dhev-cal__today{margin:0 4px}

/* Filter */
:is(.dhf,#dhf-scope) .dhev-cal__filters{display:flex;gap:var(--dh-space-2);overflow-x:auto;padding:2px 2px var(--dh-space-2);margin:0 0 var(--dh-space-4);scrollbar-width:none;-webkit-overflow-scrolling:touch;
  -webkit-mask-image:linear-gradient(90deg,#000 calc(100% - 28px),transparent);mask-image:linear-gradient(90deg,#000 calc(100% - 28px),transparent)}
:is(.dhf,#dhf-scope) .dhev-cal__filters::-webkit-scrollbar{display:none}
:is(.dhf,#dhf-scope).dhev-cal.is-wide .dhev-cal__filters{flex-wrap:wrap;overflow:visible;-webkit-mask-image:none;mask-image:none}
:is(.dhf,#dhf-scope) .dhev-cal__notice{margin:0 0 var(--dh-space-4)}

/* Monat */
:is(.dhf,#dhf-scope) .dhev-month{border-top:1px solid var(--dh-border);user-select:none;-webkit-user-select:none;transition:opacity var(--dh-dur-2) var(--dh-ease)}
:is(.dhf,#dhf-scope) .dhev-month.is-loading{opacity:.55}
:is(.dhf,#dhf-scope) .dhev-month__row{display:grid;grid-template-columns:repeat(7,minmax(0,1fr))}
:is(.dhf,#dhf-scope) .dhev-month__head{border-bottom:1px solid var(--dh-border)}
:is(.dhf,#dhf-scope) .dhev-month__wd{padding:8px 0;text-align:center;font:600 var(--dh-text-xs)/1 var(--dh-font-body);letter-spacing:.06em;text-transform:uppercase;color:var(--dh-text-muted)}
:is(.dhf,#dhf-scope).dhev-cal.is-wide .dhev-month__wd{text-align:right;padding:8px 10px}
:is(.dhf,#dhf-scope) .dhev-day{position:relative;min-height:var(--dhev-cell-h);border-bottom:1px solid var(--dh-border);padding:4px 2px;cursor:pointer}
:is(.dhf,#dhf-scope).dhev-cal.is-wide .dhev-day{border-right:1px solid var(--dh-border);padding:6px 6px 6px}
:is(.dhf,#dhf-scope).dhev-cal.is-wide .dhev-day:nth-child(7n){border-right:0}
:is(.dhf,#dhf-scope) .dhev-day__btn{
  -webkit-appearance:none;appearance:none;display:flex;align-items:flex-start;justify-content:center;width:100%;min-height:36px;padding:0;margin:0;
  background:none;border:0;border-radius:0;box-shadow:none;color:inherit;cursor:pointer;font:inherit;
}
:is(.dhf,#dhf-scope).dhev-cal.is-wide .dhev-day__btn{justify-content:flex-end;position:absolute;inset:0;padding:6px 8px;min-height:0}
:is(.dhf,#dhf-scope) .dhev-day__btn:hover{background:none}
:is(.dhf,#dhf-scope) .dhev-day__btn:focus-visible{outline:none;box-shadow:none}
:is(.dhf,#dhf-scope) .dhev-day__btn:focus-visible .dhev-day__num{outline:var(--dh-focus-outline);outline-offset:2px}
:is(.dhf,#dhf-scope) .dhev-day__num{display:inline-grid;place-items:center;width:32px;height:32px;border-radius:50%;font:600 var(--dh-text-base)/1 var(--dh-font-body);font-variant-numeric:tabular-nums;color:var(--dh-text);transition:background-color var(--dh-dur-1) var(--dh-ease),color var(--dh-dur-1) var(--dh-ease)}
:is(.dhf,#dhf-scope).dhev-cal.is-wide .dhev-day__num{width:28px;height:28px;font-size:var(--dh-text-sm)}
:is(.dhf,#dhf-scope) .dhev-day.is-out .dhev-day__num{color:var(--dh-text-out);font-weight:400}
:is(.dhf,#dhf-scope) .dhev-day.is-past:not(.is-out):not(.is-selected) .dhev-day__num{color:var(--dh-text-muted)}
:is(.dhf,#dhf-scope) .dhev-day.is-today .dhev-day__num{color:var(--dh-accent);font-weight:700}
:is(.dhf,#dhf-scope) .dhev-day.is-selected .dhev-day__num{background:var(--dh-text);color:var(--dh-white)}
:is(.dhf,#dhf-scope) .dhev-day.is-today.is-selected .dhev-day__num{background:var(--dh-accent);color:var(--dh-white)}
@media (hover:hover){:is(.dhf,#dhf-scope) .dhev-day:hover .dhev-day__num{background:var(--dh-surface-3)}}
@media (hover:hover){:is(.dhf,#dhf-scope) .dhev-day.is-selected:hover .dhev-day__num{background:var(--dh-text)}}
@media (hover:hover){:is(.dhf,#dhf-scope) .dhev-day.is-today.is-selected:hover .dhev-day__num{background:var(--dh-accent)}}
:is(.dhf,#dhf-scope) .dhev-day__dots{display:flex;justify-content:center;gap:3px;height:6px;margin-top:2px;pointer-events:none}
:is(.dhf,#dhf-scope).dhev-cal.is-wide .dhev-day__dots{display:none}
:is(.dhf,#dhf-scope) .dhev-dot{display:inline-block;width:6px;height:6px;border-radius:50%;background:var(--dot,var(--dh-accent));flex:none}
:is(.dhf,#dhf-scope) .dhev-day__pills{display:none}
:is(.dhf,#dhf-scope).dhev-cal.is-wide .dhev-day__pills{display:flex;flex-direction:column;gap:3px;position:relative;z-index:1;margin-top:30px}
:is(.dhf,#dhf-scope) .dhev-pill{
  -webkit-appearance:none;appearance:none;display:flex;gap:5px;align-items:center;width:100%;min-width:0;min-height:22px;padding:2px 6px;margin:0;
  border:0;border-left:3px solid var(--dot);border-radius:5px;background:var(--dh-surface-2);background:color-mix(in srgb,var(--dot) 12%,#fff);
  color:var(--dh-text);font:600 12.5px/1.25 var(--dh-font-body);text-align:left;cursor:pointer;box-shadow:none;letter-spacing:0;text-transform:none;
}
@media (hover:hover){:is(.dhf,#dhf-scope) .dhev-pill:hover{background:color-mix(in srgb,var(--dot) 22%,#fff);color:var(--dh-text)}}
:is(.dhf,#dhf-scope) .dhev-pill__time{font-variant-numeric:tabular-nums;color:var(--dh-text-2);flex:none;font-weight:600}
:is(.dhf,#dhf-scope) .dhev-pill__title{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-weight:600}
:is(.dhf,#dhf-scope) .dhev-pill.is-cancelled .dhev-pill__title{text-decoration:line-through;color:var(--dh-text-muted)}
:is(.dhf,#dhf-scope) .dhev-pill.is-past{background:var(--dh-surface-3)}
:is(.dhf,#dhf-scope) .dhev-pill.is-past .dhev-pill__title,:is(.dhf,#dhf-scope) .dhev-pill.is-past .dhev-pill__time{color:var(--dh-text-muted)}
:is(.dhf,#dhf-scope) .dhev-pill__more{font:600 var(--dh-text-xs)/1.2 var(--dh-font-body);color:var(--dh-text-muted);padding:0 6px}

/* Tagesliste unter dem Monat */
:is(.dhf,#dhf-scope) .dhev-agenda{margin-top:var(--dh-space-5)}
:is(.dhf,#dhf-scope) .dhev-agenda__title{font:700 var(--dh-text-lg)/1.3 var(--dh-font-body);margin:0 0 var(--dh-space-3);padding:0;color:var(--dh-text)}
:is(.dhf,#dhf-scope) .dhev-agenda__empty{display:flex;align-items:center;justify-content:space-between;gap:var(--dh-space-3);flex-wrap:wrap;padding:var(--dh-space-4);border-radius:var(--dh-radius-lg);background:var(--dh-surface-2);color:var(--dh-text-muted)}
:is(.dhf,#dhf-scope) .dhev-agenda__empty p{margin:0}

/* Terminzeilen (Tagesliste und Listenansicht) */
:is(.dhf,#dhf-scope) .dhev-items{list-style:none;margin:0;padding:0;display:grid;gap:var(--dh-space-2)}
:is(.dhf,#dhf-scope) .dhev-items>li{margin:0;padding:0;list-style:none}
:is(.dhf,#dhf-scope) .dhev-items>li::before{content:none}
:is(.dhf,#dhf-scope) .dhev-item{
  -webkit-appearance:none;appearance:none;display:flex;align-items:center;gap:var(--dh-space-3);width:100%;min-height:68px;padding:var(--dh-space-3) var(--dh-space-3) var(--dh-space-3) var(--dh-space-4);margin:0;
  border:1px solid var(--dh-border);border-radius:var(--dh-radius-lg);background:var(--dh-surface);color:var(--dh-text);
  font:inherit;text-align:left;cursor:pointer;box-shadow:var(--dh-shadow-1);letter-spacing:0;text-transform:none;
  transition:border-color var(--dh-dur-1) var(--dh-ease),box-shadow var(--dh-dur-1) var(--dh-ease),transform var(--dh-dur-1) var(--dh-ease);
}
@media (hover:hover){:is(.dhf,#dhf-scope) .dhev-item:hover{border-color:var(--dh-ink-300);box-shadow:var(--dh-shadow-2);background:var(--dh-surface);color:var(--dh-text)}}
:is(.dhf,#dhf-scope) .dhev-item:active{transform:scale(.995)}
:is(.dhf,#dhf-scope) .dhev-item__time{display:flex;flex-direction:column;align-items:flex-end;min-width:52px;font-variant-numeric:tabular-nums;line-height:1.2}
:is(.dhf,#dhf-scope) .dhev-item__time strong{font-size:var(--dh-text-base);font-weight:700;color:var(--dh-text)}
:is(.dhf,#dhf-scope) .dhev-item__time span{font-size:var(--dh-text-xs);color:var(--dh-text-muted)}
:is(.dhf,#dhf-scope) .dhev-item__bar{align-self:stretch;width:4px;border-radius:2px;background:var(--dot);flex:none}
:is(.dhf,#dhf-scope) .dhev-item__main{display:flex;flex-direction:column;gap:2px;min-width:0;flex:1}
:is(.dhf,#dhf-scope) .dhev-item__title{font-weight:700;font-size:var(--dh-text-base);line-height:1.3;overflow-wrap:anywhere}
:is(.dhf,#dhf-scope) .dhev-item__meta{font-size:var(--dh-text-sm);color:var(--dh-text-muted);line-height:1.35}
:is(.dhf,#dhf-scope) .dhev-item__badge{flex:none}
:is(.dhf,#dhf-scope) .dhev-item__chev{color:var(--dh-ink-400);flex:none;display:flex}
:is(.dhf,#dhf-scope) .dhev-item.is-past{box-shadow:none;background:var(--dh-surface-2,#faf8f5)}
:is(.dhf,#dhf-scope) .dhev-item.is-past .dhev-item__title,:is(.dhf,#dhf-scope) .dhev-item.is-past .dhev-item__time strong{color:var(--dh-text-muted)}
:is(.dhf,#dhf-scope) .dhev-item.is-cancelled .dhev-item__title{text-decoration:line-through;color:var(--dh-text-muted)}
@media (max-width:479px){
  :is(.dhf,#dhf-scope) .dhev-item{flex-wrap:wrap;row-gap:6px}
  :is(.dhf,#dhf-scope) .dhev-item__main{flex-basis:calc(100% - 120px)}
  :is(.dhf,#dhf-scope) .dhev-item__badge{order:5;margin-left:calc(52px + 4px + 2 * var(--dh-space-3))}
  :is(.dhf,#dhf-scope) .dhev-item__chev{display:none}
}

/* Listenansicht */
:is(.dhf,#dhf-scope) .dhev-list{display:grid;gap:var(--dh-space-6)}
:is(.dhf,#dhf-scope) .dhev-list__day{display:grid;gap:var(--dh-space-3)}
:is(.dhf,#dhf-scope) .dhev-list__date{display:flex;align-items:baseline;gap:var(--dh-space-2);margin:0;padding:0 0 var(--dh-space-2);border-bottom:1px solid var(--dh-border);position:sticky;top:0;background:var(--dh-page-bg);z-index:1}
:is(.dhf,#dhf-scope) .dhev-list__rel{font:700 var(--dh-text-lg)/1.2 var(--dh-font-body);color:var(--dh-text)}
:is(.dhf,#dhf-scope) .dhev-list__abs{font:400 var(--dh-text-sm)/1.2 var(--dh-font-body);color:var(--dh-text-muted)}
:is(.dhf,#dhf-scope) .dhev-list__more{display:flex;justify-content:center;margin-top:var(--dh-space-6)}
:is(.dhf,#dhf-scope) .dhev-list__filter{display:flex;align-items:center;justify-content:space-between;gap:var(--dh-space-3);padding:10px 12px;margin-bottom:var(--dh-space-4);border-radius:var(--dh-radius);background:var(--dh-accent-soft);color:var(--dh-text-2);font-size:var(--dh-text-sm)}
:is(.dhf,#dhf-scope) .dhev-skel{display:grid;gap:var(--dh-space-2)}
:is(.dhf,#dhf-scope) .dhev-skel__row{height:68px;border-radius:var(--dh-radius-lg)}
:is(.dhf,#dhf-scope) .dhev-cal__error{display:grid;justify-items:center;gap:var(--dh-space-3)}

/* Serverseitige Liste (ohne JavaScript) */
:is(.dhf,#dhf-scope) .dhev-cal__fallback-title{font-size:var(--dh-text-2xl);margin:0 0 var(--dh-space-4)}
:is(.dhf,#dhf-scope) .dhev-cal__fallback-list{list-style:none;margin:0;padding:0;display:grid;gap:var(--dh-space-2)}
:is(.dhf,#dhf-scope) .dhev-cal__fallback-list a{display:flex;gap:10px;align-items:center;padding:12px 14px;border:1px solid var(--dh-border);border-radius:var(--dh-radius);background:var(--dh-surface);color:var(--dh-text);text-decoration:none}
:is(.dhf,#dhf-scope) .dhev-cal__fallback-list .dhev-dot{background:var(--dot)}

/* ───── Sheet-Inhalt ───── */
@media (min-width:700px){:is(.dhf-layer,#dhf-scope).dhev-sheet .dhf-sheet__panel{max-width:600px}}
:is(.dhf-layer,#dhf-scope) .dhev-sheet__tag{display:flex;align-items:center;gap:8px;margin:0 0 var(--dh-space-4);font:600 var(--dh-text-sm)/1.3 var(--dh-font-body);color:var(--dh-text-2)}
:is(.dhf-layer,#dhf-scope) .dhev-sheet__tag .dhev-dot{width:10px;height:10px;border-radius:50%;background:var(--dot)}
:is(.dhf-layer,#dhf-scope) .dhev-dot{display:inline-block;width:8px;height:8px;border-radius:50%;background:var(--dot,var(--dh-accent))}
:is(.dhf-layer,#dhf-scope) .dhev-facts{list-style:none;margin:0 0 var(--dh-space-5);padding:0;display:grid;gap:var(--dh-space-3)}
:is(.dhf-layer,#dhf-scope) .dhev-facts li{display:flex;gap:var(--dh-space-3);align-items:flex-start;margin:0;padding:0}
:is(.dhf-layer,#dhf-scope) .dhev-facts li::before{content:none}
:is(.dhf-layer,#dhf-scope) .dhev-facts__icon{width:36px;height:36px;border-radius:10px;display:grid;place-items:center;background:var(--dh-surface-2);color:var(--dh-accent);flex:none}
:is(.dhf-layer,#dhf-scope) .dhev-facts__text{display:flex;flex-direction:column;justify-content:center;min-height:36px}
:is(.dhf-layer,#dhf-scope) .dhev-facts__main{font-weight:600;color:var(--dh-text)}
:is(.dhf-layer,#dhf-scope) .dhev-facts__sub{font-size:var(--dh-text-sm);color:var(--dh-text-muted)}
:is(.dhf-layer,#dhf-scope) a.dhev-facts__sub{color:var(--dh-accent);text-decoration:underline;text-underline-offset:2px}
:is(.dhf-layer,#dhf-scope) .dhev-seats{display:grid;gap:8px;padding:var(--dh-space-4);margin:0 0 var(--dh-space-4);border-radius:var(--dh-radius-lg);background:var(--dh-surface-2)}
:is(.dhf-layer,#dhf-scope) .dhev-seats__text{font-size:var(--dh-text-sm);color:var(--dh-text-2)}
:is(.dhf-layer,#dhf-scope) .dhev-seats__text strong{font-size:var(--dh-text-base);color:var(--dh-text)}
:is(.dhf-layer,#dhf-scope) .dhf-note{margin:0 0 var(--dh-space-4)}
:is(.dhf-layer,#dhf-scope) .dhev-sheet__desc{margin:0 0 var(--dh-space-4);color:var(--dh-text-2)}
:is(.dhf-layer,#dhf-scope) .dhev-sheet__desc p{margin:0 0 var(--dh-space-3)}
:is(.dhf-layer,#dhf-scope) .dhev-sheet__more{margin:0 0 var(--dh-space-4);border:1px solid var(--dh-border);border-radius:var(--dh-radius);background:var(--dh-surface)}
:is(.dhf-layer,#dhf-scope) .dhev-sheet__more summary{display:flex;align-items:center;justify-content:space-between;min-height:var(--dh-hit);padding:0 var(--dh-space-4);cursor:pointer;font-weight:600;list-style:none}
:is(.dhf-layer,#dhf-scope) .dhev-sheet__more summary::-webkit-details-marker{display:none}
:is(.dhf-layer,#dhf-scope) .dhev-sheet__more[open] summary .dhf-icon{transform:rotate(180deg)}
:is(.dhf-layer,#dhf-scope) .dhev-sheet__more p{margin:0;padding:0 var(--dh-space-4) var(--dh-space-4);white-space:pre-line;color:var(--dh-text-2)}
:is(.dhf-layer,#dhf-scope) .dhev-sheet__actions{display:flex;gap:var(--dh-space-2);flex-wrap:wrap;margin-top:var(--dh-space-4);padding-top:var(--dh-space-3);border-top:1px solid var(--dh-border)}
:is(.dhf-layer,#dhf-scope) .dhev-sheet__loading{padding:var(--dh-space-2) 0 var(--dh-space-6)}

/* Buchung */
:is(.dhf-layer,#dhf-scope) .dhev-book{display:grid;gap:var(--dh-space-4);margin:var(--dh-space-2) 0 0;padding-top:var(--dh-space-5);border-top:1px solid var(--dh-border)}
:is(.dhf-layer,#dhf-scope) .dhev-book__title{font:700 var(--dh-text-lg)/1.3 var(--dh-font-body);margin:0;padding:0;color:var(--dh-text)}
:is(.dhf-layer,#dhf-scope) .dhev-book__msg:empty{display:none}
:is(.dhf-layer,#dhf-scope) .dhev-book__msg .dhf-note{margin:0}
:is(.dhf-layer,#dhf-scope) .dhev-players{display:grid;gap:var(--dh-space-3)}
:is(.dhf-layer,#dhf-scope) .dhev-player{display:grid;gap:var(--dh-space-3);margin:0;padding:var(--dh-space-4);border:1px solid var(--dh-border);border-radius:var(--dh-radius-lg);background:var(--dh-surface-2);min-width:0}
:is(.dhf-layer,#dhf-scope) .dhev-player__head{display:flex;align-items:center;justify-content:space-between;min-height:32px}
:is(.dhf-layer,#dhf-scope) .dhev-player__legend{float:left;padding:0;margin:0;font:700 var(--dh-text-sm)/1.2 var(--dh-font-body);text-transform:uppercase;letter-spacing:.06em;color:var(--dh-text-muted)}
:is(.dhf-layer,#dhf-scope) .dhev-player__remove{width:36px;height:36px;margin:-6px -6px -6px 0}
:is(.dhf-layer,#dhf-scope) .dhev-players__add{justify-self:start}
:is(.dhf-layer,#dhf-scope) .dhev-book__foot{display:flex;align-items:center;justify-content:space-between;gap:var(--dh-space-4)}
:is(.dhf-layer,#dhf-scope) .dhev-book__total{display:flex;flex-direction:column;line-height:1.2}
:is(.dhf-layer,#dhf-scope) .dhev-book__sum{font:700 var(--dh-text-xl)/1.1 var(--dh-font-body);font-variant-numeric:tabular-nums;color:var(--dh-text)}
:is(.dhf-layer,#dhf-scope) .dhev-book__per{font-size:var(--dh-text-xs);color:var(--dh-text-muted)}
:is(.dhf-layer,#dhf-scope) .dhev-book__submit{min-width:200px}
:is(.dhf-layer,#dhf-scope) .dhev-book__foot--success{justify-content:flex-end}
@media (max-width:479px){
  :is(.dhf-layer,#dhf-scope) .dhev-book__submit{min-width:0;flex:1}
  :is(.dhf-layer,#dhf-scope) .dhev-book__foot--success .dhf-btn{flex:1}
}
:is(.dhf-layer,#dhf-scope) .dhev-success{display:grid;justify-items:center;text-align:center;gap:6px;padding:var(--dh-space-6) 0 var(--dh-space-4)}
:is(.dhf-layer,#dhf-scope) .dhev-success__icon{width:64px;height:64px;border-radius:50%;display:grid;place-items:center;background:var(--dh-success-soft);color:var(--dh-success);margin-bottom:var(--dh-space-2)}
:is(.dhf-layer,#dhf-scope) .dhev-success__title{font:700 var(--dh-text-xl)/1.25 var(--dh-font-body);margin:0;color:var(--dh-text)}
:is(.dhf-layer,#dhf-scope) .dhev-success__sub{margin:0;color:var(--dh-text-2)}
:is(.dhf-layer,#dhf-scope) .dhev-success__hint{margin:var(--dh-space-2) 0 0;font-size:var(--dh-text-sm);color:var(--dh-text-muted);max-width:40ch}

/* Nächste Turniere (kompakt) */
:is(.dhf,#dhf-scope).dhev-next{display:grid;gap:var(--dh-space-3)}
:is(.dhf,#dhf-scope) .dhev-next__title{font-size:var(--dh-text-xl);margin:0}
:is(.dhf,#dhf-scope) .dhev-next__list{list-style:none;margin:0;padding:0;display:grid;gap:var(--dh-space-2)}
:is(.dhf,#dhf-scope) .dhev-next__list li{margin:0;padding:0}
:is(.dhf,#dhf-scope) .dhev-next__item{display:flex;align-items:center;gap:var(--dh-space-3);padding:10px 12px;border:1px solid var(--dh-border);border-radius:var(--dh-radius-lg);background:var(--dh-surface);color:var(--dh-text);text-decoration:none;box-shadow:var(--dh-shadow-1)}
@media (hover:hover){:is(.dhf,#dhf-scope) .dhev-next__item:hover{border-color:var(--dh-ink-300);color:var(--dh-text)}}
:is(.dhf,#dhf-scope) .dhev-next__date{display:grid;justify-items:center;width:48px;padding:6px 0;border-radius:10px;background:var(--dh-surface-2);border-top:3px solid var(--dot);line-height:1.1;flex:none}
:is(.dhf,#dhf-scope) .dhev-next__day{font:700 var(--dh-text-lg)/1 var(--dh-font-body)}
:is(.dhf,#dhf-scope) .dhev-next__mon{font:600 var(--dh-text-xs)/1 var(--dh-font-body);text-transform:uppercase;color:var(--dh-text-muted)}
:is(.dhf,#dhf-scope) .dhev-next__body{display:flex;flex-direction:column;gap:2px;flex:1;min-width:0}
:is(.dhf,#dhf-scope) .dhev-next__body span{font-size:var(--dh-text-sm);color:var(--dh-text-muted)}
:is(.dhf,#dhf-scope) .dhev-next__item .dhf-icon{color:var(--dh-ink-400)}
:is(.dhf,#dhf-scope) .dhev-next__more{margin:0}

/* Tickets in der Bestellübersicht */
:is(.dhf,#dhf-scope).dhev-order-tickets{margin:var(--dh-space-8) 0}
:is(.dhf,#dhf-scope) .dhev-order-tickets__title{font-size:var(--dh-text-xl);margin:0 0 var(--dh-space-3)}
:is(.dhf,#dhf-scope) .dhev-order-tickets__list{list-style:none;margin:0;padding:0;display:grid;gap:var(--dh-space-2)}
:is(.dhf,#dhf-scope) .dhev-order-ticket{display:flex;align-items:center;justify-content:space-between;gap:var(--dh-space-4);padding:var(--dh-space-4);border:1px solid var(--dh-border);border-radius:var(--dh-radius-lg);background:var(--dh-surface);margin:0}
:is(.dhf,#dhf-scope) .dhev-order-ticket__main{display:flex;flex-direction:column;gap:2px;color:var(--dh-text-2)}
:is(.dhf,#dhf-scope) .dhev-order-ticket__main strong{color:var(--dh-text)}
:is(.dhf,#dhf-scope) .dhev-order-ticket__main .dhf-badge{align-self:flex-start;margin-top:4px}
:is(.dhf,#dhf-scope) .dhev-order-ticket__code{font:700 var(--dh-text-lg)/1 ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;letter-spacing:.06em;color:var(--dh-accent);white-space:nowrap}
@media (max-width:479px){:is(.dhf,#dhf-scope) .dhev-order-ticket{flex-direction:column;align-items:flex-start}}

.dhev-qty{display:inline-block;min-width:2ch;text-align:center}

/* Touch-Geräte mit breitem Raster: größere Termin-Pillen */
@media (pointer:coarse){:is(.dhf,#dhf-scope).dhev-cal.is-wide .dhev-pill{min-height:28px}}
/* Themes unterstreichen Links in Inhalten (Astra .entry-content a) – unsere Kacheln/Buttons nie. */
:is(.dhf,#dhf-scope) a.dhev-next__item,:is(.dhf,#dhf-scope) a.dhf-btn,:is(.dhf,#dhf-scope) .dhev-cal__fallback-list a{text-decoration:none}

/* ───────── [0.2.0] Gast-Ticketseite ───────── */
:is(.dhf,#dhf-scope) .dhev-guest { max-width: 560px; margin: 0 auto; }
:is(.dhf,#dhf-scope) .dhev-guest__card { text-align: center; padding: 28px 22px; }
:is(.dhf,#dhf-scope) .dhev-guest__brand { font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--dh-text-out); margin: 0 0 10px; }
:is(.dhf,#dhf-scope) .dhev-guest__when { font-weight: 600; margin: 6px 0 2px; }
:is(.dhf,#dhf-scope) .dhev-guest__where { color: var(--dh-text-out); margin: 0 0 12px; }
:is(.dhf,#dhf-scope) .dhev-guest__qr { display: flex; justify-content: center; margin: 14px 0 6px; }
:is(.dhf,#dhf-scope) .dhev-guest__qr svg { border-radius: 8px; box-shadow: var(--dh-shadow-1, 0 1px 4px rgba(28,4,4,.12)); }
:is(.dhf,#dhf-scope) .dhev-guest__code { font-family: Menlo, Consolas, monospace; font-size: 22px; font-weight: 700; letter-spacing: 2px; color: var(--dh-accent, #6a1417); margin: 4px 0 14px; }
:is(.dhf,#dhf-scope) .dhev-guest__actions { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin: 14px 0; }
:is(.dhf,#dhf-scope) .dhev-guest__resend { margin: 6px 0 0; }
:is(.dhf,#dhf-scope) .dhev-guest__edit { text-align: left; margin-top: 18px; border-top: 1px solid var(--dh-line, #e5dcd4); padding-top: 14px; }
:is(.dhf,#dhf-scope) .dhev-guest__edit summary { cursor: pointer; font-weight: 600; }
:is(.dhf,#dhf-scope) .dhev-guest__edit form { display: grid; gap: 10px; margin-top: 10px; }
:is(.dhf,#dhf-scope) .dhev-guest__hint { margin-top: 16px; font-size: 12px; }
:is(.dhf,#dhf-scope) .dhev-order-ticket__link { display: block; margin-top: 8px; }
:is(.dhf,#dhf-scope) .dhev-account__past { opacity: .55; }
