/* Diversão! Extranet Live 1.0.17
 * Een rustige gedeelde typografische schaal en dezelfde story-accenten.
 * Alleen binnen de afgeschermde Extranet-schermen; de publieke site verandert niet. */

/* De schermkoppen, subtabs en formulierhulp zijn op alle ledenpagina's gelijk. */
html body .den-wrap :is(dialog.den-modal, main.den-giveaway) .den-modal-heading h2 {
  font-size:clamp(23px,2.7vw,28px)!important;
  line-height:1.15!important;
}
html body .den-wrap :is(dialog.den-modal, main.den-giveaway) .den-modal-heading p {
  font-size:12px!important;line-height:1.45!important;
}
html body .den-wrap dialog.den-modal .den-modal-tab {
  font-size:12px!important;line-height:1.25!important;
}
html body .den-wrap dialog.den-modal .den-modal-section>.den-card-heading h3 {
  font-size:17px!important;line-height:1.3!important;
}
html body .den-wrap dialog.den-modal .den-modal-section>.den-card-heading p {
  font-size:12px!important;line-height:1.5!important;
}
html body .den-wrap dialog.den-modal .den-modal-scroll {
  font-size:14px;line-height:1.55;
}
html body .den-wrap dialog.den-modal .den-form label,
html body .den-wrap dialog.den-modal .den-form .den-help {
  font-size:13px;line-height:1.5;
}
html body .den-wrap dialog.den-modal .den-form :is(input,select,textarea) {
  font-size:14px;
}

/* Ook Bestuursbeheer houdt dezelfde compacte koppen, labels en ondertitels. */
html body .den-wrap.den-board-page .den-board-header h1 {font-size:clamp(27px,3.6vw,36px)!important}
html body .den-wrap.den-board-page .den-board-header p,
html body .den-wrap.den-board-page .den-board-header-intro {font-size:13px!important}
html body .den-wrap.den-board-page .den-board-module-title {font-size:clamp(20px,2.7vw,25px)!important}
html body .den-wrap.den-board-page .den-board-tile-content strong {font-size:16px!important}
html body .den-wrap.den-board-page .den-board-tile-content small {font-size:12px!important}
html body .den-wrap.den-perf-page .den-perf-hero h1 {font-size:clamp(24px,3.5vw,32px)!important}
html body .den-wrap.den-perf-page .den-perf-hero p {font-size:13px!important}

@media (max-width:700px) {
  html body .den-wrap :is(dialog.den-modal, main.den-giveaway) .den-modal-heading h2 {font-size:24px!important}
  html body .den-wrap dialog.den-modal .den-modal-tabs {
    display:flex!important;align-items:center!important;gap:3px!important;
    padding:10px 12px 0!important;
  }
  html body .den-wrap dialog.den-modal .den-modal-tabs>.den-modal-tab {
    display:inline-flex!important;flex:1 1 0!important;align-items:center!important;
    justify-content:center!important;min-width:0!important;width:auto!important;
    min-height:42px!important;padding:9px 5px!important;
    font-size:clamp(10px,2.6vw,12px)!important;line-height:1.2!important;
    white-space:normal!important;hyphens:none!important;text-align:center!important;
  }
  /* iOS: voorkom automatisch inzoomen bij het activeren van invoervelden. */
  html body .den-wrap dialog.den-modal .den-form :is(input,select,textarea):focus {font-size:16px}
}

/* Ook in het nieuwsoverzicht toont de ronde auteursfoto de kleurrand van een
 * actief verhaal, inclusief het witte stukje tussen foto en ring. */
.den-wrap .den-status-feed-author-button.den-story-has-story {
  position:relative;isolation:isolate;
}
.den-wrap .den-status-feed-author-button.den-story-has-story::before {
  content:"";position:absolute;z-index:1;pointer-events:none;
  left:-6px;top:calc(50% - 30px);width:60px;height:60px;
  box-sizing:border-box;border-radius:50%;padding:3px;
  background:var(--den-story-ig-ring);
  -webkit-mask:linear-gradient(#fff 0 0) content-box,linear-gradient(#fff 0 0);
  -webkit-mask-composite:xor;mask-composite:exclude;
  filter:drop-shadow(0 0 3px #d84a9c50);
  animation:den-own-story-rainbow-turn 5s linear infinite;
}
.den-wrap .den-status-feed-author-button.den-story-has-story>img {
  position:relative;z-index:2;
  outline:0!important;box-shadow:0 0 0 3px #fff;
}
@media (prefers-reduced-motion:reduce) {
  .den-wrap .den-status-feed-author-button.den-story-has-story::before {animation:none}
}

/* Tik op foto of naam boven de story om meteen die bandtijdlijn te bekijken. */
.den-wrap .den-story-viewer-header button.den-story-viewer-member {
  pointer-events:auto;appearance:none;display:flex;align-items:center;gap:9px;
  min-width:0;max-width:calc(100% - 112px);width:auto;height:auto;min-height:41px;
  flex:0 1 auto;padding:4px 11px 4px 4px;background:#130c1c79;
  border:0;border-radius:999px;color:#fff;font:inherit;text-align:left;cursor:pointer;
}
.den-wrap .den-story-viewer-header button.den-story-viewer-member:hover strong,
.den-wrap .den-story-viewer-header button.den-story-viewer-member:focus-visible strong {text-decoration:underline}
.den-wrap .den-story-viewer-header button.den-story-viewer-member:focus-visible {outline:2px solid #fff;outline-offset:3px}
.den-wrap .den-story-viewer-header button.den-story-viewer-member img {
  flex:0 0 33px;width:33px;height:33px;
}
.den-wrap .den-story-viewer-header button.den-story-viewer-member strong {
  font-size:13px;line-height:1.25;min-width:0;
}
