/* Widok główny i utwór: najpierw telefon, bez dekoracyjnych obrazów. */
.home-mobile-search,.ed-read.ed-read-mobile,.ed-action.ed-comments-mobile { display: none; }
.original-refresh { background: #f7f7f2; color: #182e2d; }
.original-refresh main { padding: 18px 14px 40px; }
.original-refresh .original-release { margin-bottom: 14px; font-size: 10px; }
.original-refresh :is(h1,h2,h3,.font-display) { font-family: Georgia, 'Times New Roman', serif; }
.original-refresh > header > div > div { min-height: 70px; gap: 8px; padding-block: 10px; }
.original-refresh > header { min-height: 70px; }
.original-refresh > header a > .font-display { font-size: 30px; }
.original-refresh > header nav { gap: 0; justify-content: space-between; font-size: 13px; }
.original-refresh > header nav a { min-height: 44px; }
.original-refresh > header button[aria-label="Menu konta"] { max-width: 120px; font-size: 12px; }
.ed-home { display: grid; gap: 22px; }
.original-refresh:has(> .home-header) main { padding-inline: 16px; }
.ed-hero { padding: 28px 24px 0; border: 1px solid #dbe5dd; border-radius: 20px; background: #eaf0e8; overflow: hidden; }
.ed-eyebrow { font: 600 10px/1.5 Arial, sans-serif; letter-spacing: .15em; text-transform: uppercase; color: #386353; }
.ed-hero h1 { margin: 18px 0 16px; font: 500 clamp(36px, 9.5vw, 58px)/1.05 Georgia, serif; letter-spacing: -.055em; color: #132e2a; }
.ed-hero h1 em { font-weight: 400; color: #245747; }
.ed-hero-description { font: 17px/1.55 Georgia, serif; color: #4d5b52; }
.ed-hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; margin: 24px 0; }
.ed-hero .home-listen { margin: 0; }
.ed-hero .home-listen-trigger { min-height: 46px; padding: 10px 20px; border-radius: 24px; background: #155747; color: white; font-size: 14px; box-shadow: none; }
.ed-hero .home-listen-trigger[hidden] { display: none; }
.ed-secondary { display: inline-flex; align-items: center; min-height: 46px; padding: 10px 17px; border: 1px solid #cbd8cb; border-radius: 24px; background: #f9fbf6; font-size: 14px; color: #245747; }
.ed-hero-note { margin-inline: -24px; padding: 15px 24px; border-top: 1px solid #d2ded2; font-size: 11px; letter-spacing: .02em; color: #506557; }
.ed-card { display: grid; grid-template-columns: minmax(0,1fr); gap: 12px; background: #fffefa; padding: 17px; border: 1px solid #e0e5dd; border-radius: 16px; box-shadow: 0 3px 12px #263d3010; }
.ed-card.ed-has-cover { grid-template-columns: 82px minmax(0,1fr); }
.ed-card .ed-eyebrow { grid-column: 1/-1; display: flex; justify-content: space-between; padding-bottom: 10px; border-bottom: 1px solid #dce4d8; }
.ed-eyebrow span { font-weight: 400; letter-spacing: .04em; }
.ed-cover { display: block; align-self: start; }
.ed-cover[hidden] { display: none; }
.ed-cover img { width: 100%; aspect-ratio: 3/4; object-fit: cover; border-radius: 10px; background: #edf0e9; }
.ed-card-body { min-width: 0; }
.ed-byline { display: flex; flex-wrap: wrap; gap: 5px; color: #69726b; font: 11px/1.5 Arial, sans-serif; margin-bottom: 7px; }
.ed-byline a { color: #245747; font-weight: 600; }
.ed-card h2 { font: 600 23px/1.15 Georgia,serif; letter-spacing: -.025em; overflow-wrap: anywhere; margin: 0 0 5px; color: #182e2d; }
.ed-category { display: inline-block; color: #627269; font-size: 10px; margin-bottom: 8px; }
.ed-excerpt { white-space: pre-line; overflow-wrap: anywhere; font: 15px/1.65 Georgia,serif; color: #45524b; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 4; overflow: hidden; margin: 0; }
.ed-daily { background: #f1f4ec; border-color: #d3dfcd; box-shadow: none; }
.ed-mini-player { grid-column: 1/-1; display: grid; gap: 6px; border-radius: 12px; padding: 10px; background: #edf3ed; min-width: 0; }
.ed-mini-player > span { font-size: 10px; color: #376451; padding-left: 5px; }
.ed-mini-player audio { width: 100%; height: 38px; min-width: 0; }
.ed-mini-player > span { display: flex; align-items: center; flex-wrap: wrap; gap: 4px; }
.ed-video-label { display: inline-flex; align-items: center; gap: 4px; margin-left: auto; min-height: 44px; padding-inline: 8px; font-size: 11px; color: #245747; }
.ed-video-label:hover { text-decoration: underline; text-underline-offset: 3px; }
.ed-card-actions { grid-column: 1/-1; display: flex; align-items: center; flex-wrap: wrap; gap: 7px; padding-top: 8px; }
.ed-action { display: inline-flex; align-items: center; justify-content: center; gap: 7px; min-height: 44px; min-width: 44px; padding: 9px 12px; border-radius: 25px; border: 1px solid #e0e7df; background: #fffefa; color: #245747; font: 13px/1 Arial,sans-serif; }
.ed-action:hover { background: #eaf2e9; border-color: #bdd0bf; }
.ed-action:disabled { opacity: .5; cursor: wait; }
.ed-heart[aria-pressed="true"] { color: #9b3d4d; background: #fff2f1; border-color: #edd3d5; }
.ed-read { margin-left: auto; font-size: 12px; display: inline-flex; align-items: center; gap: 9px; min-height: 44px; color: #245747; }
[data-heart-error] { flex-basis: 100%; font-size: 12px; color: #913e42; line-height: 1.5; }
.ed-tabs { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 7px; margin-bottom: 15px; }
.ed-tabs a { display: flex; align-items: center; justify-content: center; min-height: 46px; padding: 8px; border: 1px solid #e1e5dc; border-radius: 13px; font-size: 13px; background: #fffefa; color: #375548; }
.ed-tabs a[aria-current] { background: #155747; color: #fff; border-color: #155747; }
.ed-periods { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; font-size: 12px; }
.ed-periods a { padding: 12px; border-radius: 10px; }
.ed-periods a[aria-current] { background: #e0eadd; color: #245747; }
.ed-feed-list { display: grid; gap: 14px; }
.ed-more { display: flex; justify-content: center; gap: 15px; margin-top: 24px; padding: 16px; color: #245747; border: 1px solid #ced9cc; border-radius: 14px; font-size: 14px; }
.ed-empty { padding: 24px 0; }
/* Czytanie: kolumna tekstu pozostaje ważniejsza niż ilustracja. */
.original-refresh main article.work { border: 1px solid #e0e5dd; border-radius: 18px; padding: 0 !important; box-shadow: 0 3px 12px #263d3008 !important; background: #fffefa; }
.original-refresh main article.work:hover { transform: none; }
.original-refresh .work > header { padding: 24px 20px 0; }
.original-refresh .work > header .text-center { text-align: left; }
.original-refresh .work > header > div > .justify-center { justify-content: flex-start; }
.original-refresh .work > header h1 { font: 600 36px/1.12 Georgia,serif; letter-spacing: -.035em; overflow-wrap: anywhere; }
.original-refresh .work > header button { min-height: 44px; min-width: 44px; }
.original-refresh .work #kebab-dropdown { left: 0; right: auto; }
.original-refresh .work > .px-6.pt-6 { padding: 18px 20px 0; }
.original-refresh .work > .px-6.pt-6 figure { width: 100%; max-width: 360px; min-width: 0; margin-inline: 0; }
.original-refresh .work .work-cover-frame { width: 100%; max-width: 100%; overflow: hidden; border-radius: 12px; }
.original-refresh .work > .px-6.pt-6 .work-cover-frame img { display: block; width: 100%; max-width: 100%; height: auto; max-height: none; object-fit: contain; border-radius: 0; box-shadow: none; }
.original-refresh .work figcaption { text-align: left; font-size: 11px; }
.original-refresh .ed-poem-wrap { padding: 26px 20px; }
.original-refresh .work-content { max-width: 58ch; margin-inline: 0; font: 18px/1.85 Georgia,serif; color: #283830; }
.original-refresh .ed-work-actions { padding: 0 16px 20px; }
.original-refresh .ed-work-actions > div { max-width: none; }
.original-refresh .ed-work-actions > div > div { gap: 12px; flex-wrap: wrap; }
.original-refresh .ed-work-actions button:not(.ed-heart), .original-refresh .ed-work-actions a { min-height: 44px; min-width: 44px; }
.original-refresh .ed-work-actions > div > div > div:first-child { gap: 15px; }
.original-refresh .original-recording { margin: 20px 16px 0; max-width: none; padding: 14px; gap: 12px; background: #f0f4ed; border-color: #dce5d7; grid-template-columns: 72px minmax(0,1fr); }
.original-refresh .original-recording :is(img,.cover-placeholder) { width: 72px; height: 88px; }
.original-refresh .original-recording .recording-body { display: contents; }
.original-refresh .original-recording :is(audio,video,[data-audio-error]) { grid-column: 1/-1; }
.original-refresh .original-recording h3 { font: 600 22px/1.2 Georgia,serif; }
.original-refresh .original-recording p { font-size: 12px; line-height: 1.6; }
.original-refresh #komentarze { background: #fffefa; border: 1px solid #e0e5dd; border-radius: 16px; padding: 20px; }
.original-refresh #komentarze h2 { font-size: 23px; color: #243e31; }
.original-refresh #komentarze textarea { border-radius: 12px; background: #fff; min-height: 96px; font-size: 16px; }
.original-refresh #komentarze button { min-height: 44px; }
.original-refresh #komentarze { padding: 16px; }
.original-refresh #komentarze h2 { font: 600 18px/1.4 Inter, sans-serif; margin-bottom: 16px; }
.original-refresh #komentarze .comment-row { gap: 10px; }
.original-refresh #komentarze .comment-row > * { margin-inline: 0; }
.original-refresh #komentarze .comment-avatar { flex: 0 0 30px; align-self: flex-start; }
.original-refresh #komentarze .comment-avatar > * { width: 30px; height: 30px; object-fit: cover; background: #eaf0e8; color: #245747; font: 600 12px/1 Inter,sans-serif; }
.original-refresh #komentarze .comment-body { min-width: 0; }
.original-refresh #komentarze .comment-bubble { padding: 0; border-radius: 0; background: transparent; }
.original-refresh #komentarze .comment-meta { justify-content: flex-start; gap: 4px 10px; flex-wrap: wrap; margin-bottom: 4px; }
.original-refresh #komentarze .comment-name { font: 600 13px/1.4 Inter,sans-serif; color: #245747; overflow-wrap: anywhere; }
.original-refresh #komentarze .comment-date { font: 400 11px/1.4 Inter,sans-serif; color: #68736b; }
.original-refresh #komentarze .comment-content { font: 400 14px/1.55 Inter,sans-serif; color: #343d36; overflow-wrap: anywhere; }
.original-refresh #komentarze .comment-content p { margin-block: 0 8px; }
.original-refresh #komentarze .comment-content p:last-child { margin-bottom: 0; }
.original-refresh #komentarze .comment-actions { gap: 12px; margin-top: 2px; flex-wrap: wrap; }
.original-refresh #komentarze .comment-actions > * { margin-inline: 0; }
.original-refresh #komentarze .comment-actions button { font: 500 12px/1.4 Inter,sans-serif; color: #5b695e; }
.original-refresh #komentarze .comment-actions:empty { display: none; }
.original-refresh #komentarze .comment-replies { margin-top: 8px; padding-left: 10px; border-left: 1px solid #dce4da; }
.original-refresh #komentarze .comment-reply { margin-left: 0; }
@media(max-width:767px) {
    .original-refresh #komentarze .comment-reply .comment-avatar { display: none; }
    .original-refresh #komentarze .comment-replies { padding-left: 8px; }
}
.original-refresh main aside > div > div { border: 1px solid #e0e5dd; border-radius: 16px; background: #fffefa; box-shadow: 0 3px 12px #263d3006; }
.original-refresh main aside h3 { font-size: 20px; color: #213d30; }
.original-refresh main aside button { min-height: 44px; }
.original-refresh main aside input { font-size: 16px; min-height: 44px; }
.original-refresh main aside { display: block; }
.original-refresh .sidebar-toggle-btn, .original-refresh .fab-add { display: none; }
.original-refresh .work > header > div { max-width: none; }
.ed-work-author { display: flex; align-items: center; justify-content: space-between; margin-top: 16px; gap: 12px; }
.ed-work-author { flex-wrap: wrap; }
.ed-work-heading-actions { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.ed-work-author > a { display: inline-flex; align-items: center; gap: 10px; color: #285742; font-size: 14px; }
.ed-recording-badge { padding: 7px 10px; border-radius: 20px; background: #e8f1e9; color: #245747; font-size: 10px; }
.original-refresh .work > header .flex.gap-2 { flex-wrap: wrap; }
.original-refresh .work-content { line-height: 1.85 !important; white-space: normal; }
@media (max-width: 767px) {
    .original-refresh > header a[href$="/w/dodaj"] { display: inline-flex; justify-content: center; width: 36px; min-height: 36px; padding: 0; font-size: 0 !important; }
    .original-refresh > header a[href$="/w/dodaj"] > span { display: none; }
    .original-refresh > header a[href$="/w/dodaj"]::before { content: '+'; font: 24px/1 Arial,sans-serif; }
    .original-refresh > header button[aria-label="Menu konta"] { font-size: 0; gap: 0; min-width: 32px; }
    .original-refresh > header button[aria-label="Menu konta"] svg { width: 22px; height: 22px; }
    .original-refresh .shoutbox__toggle { width: 44px; height: 44px; right: 12px; bottom: 12px; }
}
@media (min-width: 600px) {
    .ed-card { padding: 24px; gap: 18px; }
    .ed-card.ed-has-cover { grid-template-columns: 145px minmax(0,1fr); }
    .ed-card h2 { font-size: 28px; }
    .ed-excerpt { font-size: 17px; }
    .ed-byline { font-size: 12px; }
    .ed-mini-player { grid-column: 1/-1; }
    .ed-hero { padding: 36px 36px 0; }
    .ed-hero-note { margin-inline: -36px; padding-inline: 36px; }
    .ed-hero h1 { font-size: 54px; }
    .original-refresh .work > header { padding: 32px 32px 0; }
    .original-refresh .work > header h1 { font-size: 46px; }
    .original-refresh .ed-poem-wrap { padding: 32px; }
    .original-refresh .work-content { font-size: 20px; }
    .original-refresh .ed-work-actions { padding: 0 32px 26px; }
    .original-refresh .original-recording { margin-inline: 32px; grid-template-columns: 120px minmax(0,1fr); padding: 20px; }
    .original-refresh .original-recording :is(img,.cover-placeholder) { width: 120px; height: 140px; grid-row: span 2; }
    .original-refresh .original-recording :is(audio,video,[data-audio-error]) { grid-column: 2; }
    .original-refresh .work > .px-6.pt-6 { padding-inline: 32px; }
}
@media (min-width: 1024px) {
    .original-refresh main { padding: 24px 24px 60px; }
    .original-refresh .container { max-width: 1240px; }
    .original-refresh > header > div > div { min-height: 80px; }
    .original-refresh > header nav { font-size: 14px; gap: 24px; }
    .ed-hero h1 { font-size: 60px; }
    .ed-hero-description { font-size: 20px; }
    .ed-card.ed-has-cover { grid-template-columns: 150px minmax(0,1fr); }
    .original-refresh main aside { width: 300px; }
}
@media (prefers-reduced-motion: reduce) { .ed-home * { scroll-behavior: auto; transition: none; } }
@media(max-width:767px) {
    .original-refresh > .home-header { min-height: 56px; height: 56px; }
    .original-refresh > .home-header > div > div { min-height: 56px; height: 56px; padding-block: 0; flex-wrap: nowrap; }
    .original-refresh > .home-header .header-account,
    .original-refresh > .home-header nav { display: none; }
    .original-refresh > .home-header .home-mobile-search { display: inline-flex; align-items: center; justify-content: center; width: 44px; min-height: 44px; color: #245747; }
    .original-refresh > .home-breadcrumb { display: none; }
    .original-refresh:has(> .home-header) main { padding-top: 12px; }
    .ed-home { gap: 14px; }
    .ed-home .ed-card { gap: 10px 12px; padding: 16px; }
    .ed-home .ed-card-body { display: contents; }
    .ed-home .ed-card-heading { min-width: 0; grid-column: 1/-1; }
    .ed-home .ed-has-cover .ed-card-heading { grid-column: 2; }
    .ed-home .ed-cover { grid-column: 1; }
    .ed-home .ed-excerpt { grid-column: 1/-1; }
    .ed-home .ed-read-desktop,.ed-home .ed-comments-desktop { display: none; }
    .ed-home .ed-comments-mobile { display: inline-flex; }
    .ed-home .ed-card-actions { padding-top: 0; }
    .ed-home .ed-comments-mobile span { line-height: 1.25; }
    .ed-home .ed-action svg { flex-shrink: 0; }
    .ed-home .ed-daily .ed-eyebrow { padding-bottom: 8px; }
}
