/* Only the light behind a publication mark is feathered. Original artwork,
   including the fine print and editor-uploaded artwork, stays fully opaque. */
@layer tmg-logo-balance {
 .tmg-site [data-tmg-mark] .tmg-mark-surface {
  --mark-feather:radial-gradient(ellipse 50% 50% at center,#000 0%,rgba(0,0,0,.91) 20%,rgba(0,0,0,.63) 40%,rgba(0,0,0,.31) 59%,rgba(0,0,0,.10) 76%,rgba(0,0,0,.02) 89%,transparent 99%);
  inset:0;pointer-events:none;background:var(--tmg-mark-tone);opacity:.4;
  -webkit-mask-image:var(--mark-feather);mask-image:var(--mark-feather);
  filter:none;
 }
 .tmg-site [data-tmg-mark]:is([data-logo-ink=dark],[data-logo-ink=auto]) .tmg-mark-surface {
  /* A wider-lit centre carries the whole dark wordmark, including its end glyphs. */
  --mark-feather:radial-gradient(ellipse 50% var(--tmg-mark-paper-radius,50%) at center,#000,rgba(0,0,0,.96) 22%,rgba(0,0,0,.82) 44%,rgba(0,0,0,.66) 60%,rgba(0,0,0,.46) 74%,rgba(0,0,0,.21) 85%,rgba(0,0,0,.05) 93%,transparent);
  background:var(--tmg-mark-paper);
  background:color-mix(in srgb,var(--tmg-mark-paper) 90%,var(--tmg-mark-tone));
  opacity:.85;
 }
 .tmg-site [data-tmg-mark][data-logo-ink=opaque] .tmg-mark-surface {background:none;}
 .tmg-site [data-tmg-mark] .tmg-mark-surface::after {
  inset:0;background:radial-gradient(ellipse at var(--sx,50%) var(--sy,50%),#fff9,transparent 66%);
  opacity:.10;mix-blend-mode:normal;filter:none;transform:none;transition:opacity .25s;
 }
 .tmg-site [data-tmg-mark]:is(.is-lit,:focus-within) .tmg-mark-surface::after {opacity:.34;}
 .tmg-site [data-tmg-mark] .tmg-mark-art {
  max-width:none;max-height:none;height:var(--tmg-mark-fit-height,100%);
  object-position:center;filter:none;
 }
 .tmg-site .tmg-group-mark .tmg-mark-stage {
  height:clamp(84px,6.4vw,106px);max-height:none;--tmg-mark-padding:6px;
 }
 .tmg-site .tmg-group-mark [data-tmg-mark] .tmg-mark-surface {
  inset:-24% max(-13%, -22px, -3vw);
 }
 @media(max-width:640px) {
  .tmg-site .tmg-group-mark .tmg-mark-stage {height:76px;}
 }
 @media(prefers-reduced-motion:reduce) {
  .tmg-site [data-tmg-mark] .tmg-mark-surface::after {transition:none;}
 }
 @media(forced-colors:active) {
  .tmg-site [data-tmg-mark] .tmg-mark-surface {display:none;}
 }
}
