
html.video-description-open{overflow:hidden;scrollbar-gutter:stable}

.video-description-dialog{box-sizing:border-box;width:calc(100% - 32px);max-width:700px;max-height:calc(100dvh - 32px);padding:24px;border:1px solid var(--gold,#e4bc74);border-radius:12px;background:var(--paper,#fff7df);color:var(--ink,#203a3c);overflow:auto;overscroll-behavior:contain}

.video-description-dialog::backdrop{background:#06191ee0}

.video-description-header{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;margin-bottom:20px}

.video-description-header h2{margin:0;font:normal 25px/1.3 Georgia,serif}

.video-description-close{flex-shrink:0;padding:8px 12px;border:1px solid var(--gold,#e4bc74);border-radius:5px;background:transparent;color:inherit;font:14px/1.5 Arial,sans-serif;cursor:pointer}

.video-description-copy p{font:16px/1.75 Georgia,serif;margin:0 0 16px}

.video-description-copy p:last-child{margin-bottom:0}

.video-description-dialog a{color:inherit;text-underline-offset:3px}
@media(max-width:600px){.video-description-dialog{padding:18px}.video-description-header{gap:12px}.video-description-header h2{font-size:21px}}

/* Mattonella avventure: only narrative expands; game/store blocks never hidden. */
.classics-grid>[data-tile="adventure"]{height:100%;box-sizing:border-box;align-self:stretch;display:flex;flex-direction:column;min-width:0}
[data-tile="adventure"]>.classic-card-content{flex:1;display:flex;flex-direction:column}
[data-tile="adventure"] .classic-save-row{margin-top:auto}
[data-tile="adventure"] .adventure-read-more{align-self:flex-start;background:none;border:0;padding:0;color:inherit;text-decoration:underline;cursor:pointer;font:inherit;text-underline-offset:3px}
[data-tile="adventure"] template{display:none!important}
@media(max-width:650px){.classic-card[data-tile="adventure"]{height:auto}}

.classics-grid:has(>[data-tile="adventure"]){grid-auto-rows:1fr}
@media(max-width:650px){.classics-grid:has(>[data-tile="adventure"]){grid-auto-rows:auto}}

/* Shared read-all treatment; transparency follows every atmosphere without a fixed colour. */
body main .mis-read-all-preview{box-sizing:border-box;position:relative;overflow:hidden;max-height:calc(var(--mis-preview-line,28px)*5);margin:0 0 8px;line-height:1.75;color:inherit;font:inherit;line-height:1.75}
body main .mis-read-all-preview p{margin:0 0 .65em;font:inherit;line-height:inherit}
body main .mis-read-all-preview p:last-child{margin-bottom:0}
body main .mis-read-all-preview.is-truncated{-webkit-mask-image:linear-gradient(to bottom,#000 0%,#000 60%,transparent 100%);mask-image:linear-gradient(to bottom,#000 0%,#000 60%,transparent 100%)}
body main [data-video-read-more].mis-read-all-button{align-self:flex-start;display:inline-block;box-sizing:border-box;max-width:100%;margin:0 0 16px;padding:0;border:0;background:none;color:inherit;font:14px/1.6 Arial,sans-serif;text-align:start;text-decoration:underline;text-underline-offset:4px;cursor:pointer;box-shadow:none;outline-offset:4px}
body main [data-video-read-more].mis-read-all-button:hover{text-decoration-thickness:2px}
body main [data-video-read-more].mis-read-all-button:focus-visible{outline:2px solid var(--gold,#e4bc74)}
body main [data-video-read-more].mis-read-all-button[hidden],body main .video-card-summary[hidden],body main .classic-description[hidden]{display:none!important}
