/* R17 only: original book presentation, on the complete resource page. */
.advans-r17 .ab-presentation{padding-block:64px;background:var(--r17-warm);color:var(--r17-green);scroll-margin-top:0}
.ab-presentation .ab-section-heading{margin-bottom:30px}
.ab-presentation .ab-section-heading h2{font-size:clamp(30px,3.2vw,44px);font-weight:450;line-height:1.15}
.ab-presentation .ab-section-heading>p{max-width:32ch;font-size:15px;line-height:1.65}
.ab-presentation-player{width:min(900px,100%);margin-inline:auto}
.ab-presentation-film{position:relative;overflow:hidden;border-radius:14px;margin:0;background:var(--r17-warm)}
.ab-presentation-film video{display:block;width:100%;height:auto;aspect-ratio:16/9;object-fit:contain}
.ab-presentation-play{position:absolute;inset:50% auto auto 50%;transform:translate(-50%,-50%);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;width:72px;height:72px;padding:10px;color:var(--r17-green);background:transparent;border:0;box-shadow:none;font-size:12px;line-height:1.3;cursor:pointer}
.ab-presentation-play svg{width:30px;height:30px;fill:currentColor}
.ab-presentation-play:focus-visible{outline:2px solid var(--r17-green);outline-offset:5px}
.ab-presentation-tools{display:grid;grid-template-columns:auto 44px minmax(0,1fr) auto;gap:12px;align-items:center;margin-top:12px}
.ab-presentation-tools button{display:flex;align-items:center;justify-content:center;gap:8px;min-width:44px;min-height:44px;padding:8px 12px;border:1px solid var(--r17-green);border-radius:8px;color:inherit;background:transparent;font-size:13px;line-height:1.5}
.ab-presentation-tools svg{width:18px;height:18px;flex-shrink:0}
.ab-presentation-tools input[type=range]{width:100%;min-width:0;height:44px;margin:0;accent-color:var(--r17-green);cursor:pointer}
.ab-presentation-tools output{white-space:nowrap;font-size:12px;line-height:1.5;font-variant-numeric:tabular-nums}
.ab-presentation-tools :focus-visible{outline:2px solid var(--r17-green);outline-offset:4px}
.ab-presentation-links{display:flex;flex-wrap:wrap;justify-content:center;gap:10px 28px;margin-top:22px}
.ab-presentation-links a{display:inline-flex;align-items:center;min-height:44px;font-size:14px;text-decoration:underline;text-underline-offset:5px}
@media(max-width:680px){
 .advans-r17 .ab-presentation{padding-block:44px;scroll-margin-top:0}
 .ab-presentation .ab-section-heading{display:block;margin-bottom:24px}
 .ab-presentation .ab-section-heading>p{margin-top:16px;font-size:14px}
 .ab-presentation-film{border-radius:10px}
 .ab-presentation-play{width:60px;height:60px;font-size:11px}
 .ab-presentation-tools{grid-template-columns:44px 44px minmax(0,1fr);gap:8px}
 .ab-presentation-tools [data-book-toggle]{padding:8px}
 .ab-presentation-tools [data-book-toggle]>span{position:absolute;width:1px;height:1px;clip-path:inset(50%);overflow:hidden}
 .ab-presentation-tools output{grid-column:3;text-align:right}
 .ab-presentation-links{justify-content:flex-start;gap:8px 22px;margin-top:14px}
 .ab-presentation-links a{font-size:13px}
}
