/* WebTom Hírek/Hírfolyam – frontend */
.wthh-app,
.wthh-ticker-wrap {
    --wth-accent: #e50046;
    --wth-accent-2: #ff205f;
    --wth-bg: #070709;
    --wth-surface: #111116;
    --wth-surface-2: #1b1015;
    --wth-text: #fff;
    --wth-muted: #b9b4b8;
    --wth-border: rgba(229, 0, 70, .72);
    --wth-glow: rgba(229, 0, 70, .38);
    --wth-danger: #ff345e;
    --wth-success: #2bd675;
    --wth-shadow: 0 18px 48px rgba(0, 0, 0, .45), 0 0 28px var(--wth-glow);
    --wth-soft-shadow: 0 10px 24px rgba(0, 0, 0, .34), inset 0 1px 0 rgba(255,255,255,.08);
    box-sizing: border-box;
    color: var(--wth-text);
    font-size: var(--wth-font-size, 15px);
    line-height: 1.55;
}
.wthh-app *, .wthh-ticker-wrap * { box-sizing: border-box; }
.wthh-app button, .wthh-app textarea, .wthh-app input, .wthh-ticker-wrap button { font: inherit; }
.wthh-app button { cursor: pointer; }
.wthh-app a, .wthh-ticker-wrap a { color: inherit; text-decoration: none; }
.wthh-app .wthh-composer-card, .wthh-app .wthh-post-card { margin-top:0!important; margin-left:0!important; margin-right:0!important; }
.wthh-app .wthh-composer-card > *:last-child { margin-bottom:0!important; }
.wthh-composer-actions > * { max-width:100%; }
.wthh-composer .wthh-smiley-panel[hidden], .wthh-selected-files[hidden], .wthh-progress[hidden] { display:none!important; }

.wthh-theme-radiohy { --wth-accent:#e50046; --wth-accent-2:#ff1d60; --wth-bg:#070709; --wth-surface:#0d0d11; --wth-surface-2:#1b0d13; --wth-text:#fff; --wth-muted:#bcb4b9; --wth-border:rgba(229,0,70,.76); --wth-glow:rgba(229,0,70,.42); }
.wthh-theme-magenta { --wth-accent:#ef168d; --wth-accent-2:#ff57be; --wth-bg:#110812; --wth-surface:#1a0e1c; --wth-surface-2:#2a1025; --wth-text:#fff; --wth-muted:#d6bfd0; --wth-border:rgba(239,22,141,.72); --wth-glow:rgba(239,22,141,.4); }
.wthh-theme-ocean { --wth-accent:#008cff; --wth-accent-2:#45c9ff; --wth-bg:#06101a; --wth-surface:#091722; --wth-surface-2:#0b2434; --wth-text:#f4fbff; --wth-muted:#b4c9d8; --wth-border:rgba(0,140,255,.7); --wth-glow:rgba(0,140,255,.36); }
.wthh-theme-emerald { --wth-accent:#00b970; --wth-accent-2:#42f5a1; --wth-bg:#06110d; --wth-surface:#0a1913; --wth-surface-2:#0c281c; --wth-text:#f2fff8; --wth-muted:#afd2c1; --wth-border:rgba(0,185,112,.7); --wth-glow:rgba(0,185,112,.34); }
.wthh-theme-amber { --wth-accent:#ff9f00; --wth-accent-2:#ffd15a; --wth-bg:#141007; --wth-surface:#1d1609; --wth-surface-2:#2c2009; --wth-text:#fff9e9; --wth-muted:#d4c5a0; --wth-border:rgba(255,159,0,.72); --wth-glow:rgba(255,159,0,.35); }
.wthh-theme-purple { --wth-accent:#8358ff; --wth-accent-2:#c07cff; --wth-bg:#0c0815; --wth-surface:#130e20; --wth-surface-2:#1e1233; --wth-text:#fbf8ff; --wth-muted:#c9bedb; --wth-border:rgba(131,88,255,.72); --wth-glow:rgba(131,88,255,.38); }
.wthh-theme-cyan { --wth-accent:#00d8e8; --wth-accent-2:#70f7ff; --wth-bg:#031215; --wth-surface:#071a1e; --wth-surface-2:#082a30; --wth-text:#f1feff; --wth-muted:#acd1d4; --wth-border:rgba(0,216,232,.7); --wth-glow:rgba(0,216,232,.34); }
.wthh-theme-red { --wth-accent:#e32832; --wth-accent-2:#ff656d; --wth-bg:#120708; --wth-surface:#1b0b0d; --wth-surface-2:#2b0e12; --wth-text:#fff8f8; --wth-muted:#d5b5b7; --wth-border:rgba(227,40,50,.72); --wth-glow:rgba(227,40,50,.38); }
.wthh-theme-silver { --wth-accent:#aab1bd; --wth-accent-2:#e4e8ee; --wth-bg:#0b0c0e; --wth-surface:#15171a; --wth-surface-2:#22252a; --wth-text:#f8f9fa; --wth-muted:#b7bcc4; --wth-border:rgba(170,177,189,.6); --wth-glow:rgba(170,177,189,.25); }
.wthh-theme-light { --wth-accent:#d9004b; --wth-accent-2:#ff4b83; --wth-bg:#f2f4f8; --wth-surface:#ffffff; --wth-surface-2:#f6f7fa; --wth-text:#17181c; --wth-muted:#676b75; --wth-border:rgba(217,0,75,.35); --wth-glow:rgba(217,0,75,.16); --wth-shadow:0 14px 36px rgba(22,28,39,.13),0 0 24px var(--wth-glow); --wth-soft-shadow:0 8px 18px rgba(22,28,39,.1),inset 0 1px 0 #fff; }
.wthh-theme-custom { --wth-accent:var(--wth-custom-accent); --wth-accent-2:var(--wth-custom-accent-2); --wth-bg:var(--wth-custom-bg); --wth-surface:var(--wth-custom-surface); --wth-surface-2:var(--wth-custom-surface); --wth-text:var(--wth-custom-text); --wth-muted:color-mix(in srgb,var(--wth-custom-text) 68%,transparent); --wth-border:color-mix(in srgb,var(--wth-custom-accent) 72%,transparent); --wth-glow:color-mix(in srgb,var(--wth-custom-accent) 38%,transparent); }

.wthh-app { width:100%!important;max-width:100%!important;margin:0 auto!important;position:relative;overflow:visible; }
.wthh-composer-card,
.wthh-post-card {
    background:var(--wth-surface);
    background:color-mix(in srgb,var(--wth-surface) var(--wth-surface-opacity,94%),transparent);
    border:1px solid var(--wth-border);
    border-radius:var(--wth-radius,22px);
    box-shadow:var(--wth-shadow);
    overflow:hidden;
    backdrop-filter:blur(14px);
    -webkit-backdrop-filter:blur(14px);
}
.wthh-composer-card { margin-bottom:18px; padding:16px 18px 14px; position:relative; min-height:0!important; height:auto!important; display:block!important; }
.wthh-composer-card:before,.wthh-post-card:before { content:"";display:block;position:absolute;left:18%;right:18%;top:-1px;height:2px;background:linear-gradient(90deg,transparent,var(--wth-accent-2),transparent);filter:drop-shadow(0 0 8px var(--wth-accent));pointer-events:none; }
.wthh-section-title { margin:0 0 8px!important;padding:0!important;font-size:1.12em;font-weight:800;letter-spacing:.01em;line-height:1.3; }
.wthh-composer { display:flex;flex-direction:column;gap:6px;margin:0!important;padding:0!important; }
.wthh-composer-main { display:flex;align-items:flex-start;gap:12px;margin:0!important;padding:0!important; min-height:0!important; }
.wthh-avatar { width:46px;height:46px;border-radius:50%;object-fit:cover;flex:0 0 auto;border:2px solid var(--wth-accent);box-shadow:0 0 14px var(--wth-glow);background:var(--wth-surface-2); }
.wthh-composer textarea,
.wthh-comment-form textarea,
.wthh-edit-form textarea {
    width:100%;resize:vertical;min-height:96px;color:var(--wth-text);background:linear-gradient(145deg,var(--wth-surface-2),color-mix(in srgb,var(--wth-surface) 80%,#000));border:1px solid color-mix(in srgb,var(--wth-border) 62%,transparent);border-radius:17px;padding:15px 17px;outline:none;box-shadow:inset 0 2px 10px rgba(0,0,0,.22),0 1px 0 rgba(255,255,255,.05);transition:.2s ease;
}
.wthh-composer textarea:focus,.wthh-comment-form textarea:focus,.wthh-edit-form textarea:focus { border-color:var(--wth-accent-2);box-shadow:inset 0 2px 10px rgba(0,0,0,.2),0 0 0 3px var(--wth-glow); }
.wthh-composer-actions { display:flex;flex-wrap:wrap;align-items:center;gap:6px 10px;margin:6px 0 0;padding:0 0 0 58px;min-width:0; }
.wthh-upload-hint { min-width:0;color:var(--wth-muted);font-size:.82em;margin:0;white-space:normal;overflow-wrap:anywhere; flex:1 1 180px; }
.wthh-btn {
    min-height:var(--wth-button-height,42px);display:inline-flex;align-items:center;justify-content:center;gap:8px;border-radius:999px;border:1px solid color-mix(in srgb,var(--wth-border) 80%,transparent);padding:8px 17px;color:var(--wth-text);background:linear-gradient(180deg,color-mix(in srgb,var(--wth-surface-2) 84%,#fff 8%),color-mix(in srgb,var(--wth-surface-2) 90%,#000 12%));box-shadow:var(--wth-soft-shadow),0 0 0 1px rgba(255,255,255,.03);font-weight:800;line-height:1.15;transition:transform .16s ease,filter .16s ease,box-shadow .16s ease;
}
.wthh-btn:hover { transform:translateY(-2px);filter:brightness(1.08);box-shadow:0 12px 24px rgba(0,0,0,.32),0 0 20px var(--wth-glow),inset 0 1px 0 rgba(255,255,255,.12); }
.wthh-btn:active { transform:translateY(1px); }
.wthh-btn-primary { color:#fff;background:linear-gradient(180deg,var(--wth-accent-2),var(--wth-accent));border-color:color-mix(in srgb,var(--wth-accent-2) 90%,#fff);text-shadow:0 1px 2px rgba(0,0,0,.5); }
.wthh-btn-media { position:relative;overflow:hidden; }
.wthh-btn-media input { position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important;opacity:0!important; }
.wthh-btn-danger { background:linear-gradient(180deg,#ff4f70,#a9002f);border-color:#ff6d88;color:#fff; }
.wthh-btn-approve { background:linear-gradient(180deg,#3ce38a,#087a3f);border-color:#66f0a4;color:#fff; }
.wthh-icon { font-size:1.1em;filter:drop-shadow(0 1px 2px rgba(0,0,0,.5)); }
.wthh-selected-files { margin:6px 0 0 58px;padding:8px 10px;border-radius:14px;background:color-mix(in srgb,var(--wth-accent) 10%,transparent);border:1px dashed var(--wth-border);color:var(--wth-muted);font-size:.85em; }
.wthh-selected-files span { display:inline-flex;align-items:center;margin:3px 8px 3px 0;padding:5px 9px;border-radius:999px;background:var(--wth-surface-2); }
.wthh-progress { height:6px;margin:6px 0 0 58px;border-radius:999px;background:rgba(255,255,255,.08);overflow:hidden; }
.wthh-progress span { display:block;width:35%;height:100%;border-radius:inherit;background:linear-gradient(90deg,var(--wth-accent),var(--wth-accent-2));animation:wthh-progress 1.1s infinite ease-in-out; }
@keyframes wthh-progress { 0%{transform:translateX(-110%)}100%{transform:translateX(320%)} }

.wthh-feed { display:grid;grid-template-columns:1fr;gap:18px;align-items:start;width:100%!important;max-width:100%!important;margin:0 auto!important;padding:0!important;position:relative;left:auto!important;right:auto!important;transform:none!important; }
.wthh-post-card { position:relative;min-width:0;max-width:100%!important;box-sizing:border-box!important;left:auto!important;right:auto!important;transform:none; }
.wthh-post-card.is-pending { border-color:#ffb02e;box-shadow:0 16px 42px rgba(0,0,0,.43),0 0 28px rgba(255,176,46,.22); }
.wthh-pending-banner { display:flex;align-items:center;gap:10px;flex-wrap:wrap;padding:11px var(--wth-card-padding,22px);background:linear-gradient(90deg,rgba(255,168,0,.22),rgba(255,108,0,.08));border-bottom:1px solid rgba(255,176,46,.35);color:#ffe6ad; }
.wthh-pending-banner strong { color:#fff; }
.wthh-inline-actions { margin-left:auto;display:flex;gap:8px; }
.wthh-inline-actions .wthh-btn { min-height:34px;padding:5px 12px;font-size:.84em; }
.wthh-post-header { display:flex;align-items:center;gap:12px;padding:var(--wth-card-padding,22px) var(--wth-card-padding,22px) 12px; }
.wthh-author-meta { min-width:0;display:flex;flex-direction:column;line-height:1.25; }
.wthh-author-meta strong { font-size:1.04em;overflow:hidden;text-overflow:ellipsis;white-space:nowrap; }
.wthh-author-meta time { color:var(--wth-muted);font-size:.78em; }
.wthh-post-menu { margin-left:auto;display:flex;gap:7px; }
.wthh-icon-btn { width:38px;height:38px;border-radius:50%;border:1px solid var(--wth-border);display:inline-grid;place-items:center;background:linear-gradient(180deg,var(--wth-surface-2),color-mix(in srgb,var(--wth-surface-2) 75%,#000));color:var(--wth-text);box-shadow:var(--wth-soft-shadow);transition:.15s ease; }
.wthh-icon-btn:hover { transform:translateY(-2px);box-shadow:0 8px 18px rgba(0,0,0,.3),0 0 14px var(--wth-glow); }
.wthh-post-content { padding:5px var(--wth-card-padding,22px) 10px;font-size:1em;overflow-wrap:anywhere; }
.wthh-post-content p { margin:.45em 0; }
.wthh-post-content a { color:var(--wth-accent-2);text-decoration:underline;text-underline-offset:3px; }

.wthh-embed { width:100%;max-width:100%;margin:8px 0 0;overflow:hidden;border-radius:16px;background:#000;line-height:0; }
.wthh-embed iframe,
.wthh-embed video,
.wthh-embed object,
.wthh-embed embed { display:block;width:100%!important;max-width:100%!important;aspect-ratio:16/9;height:auto!important;min-height:220px;border:0; }
.wthh-embed .wp-video,
.wthh-embed .wp-video-shortcode { width:100%!important;max-width:100%!important; }

.wthh-media-grid { display:grid;grid-template-columns:1fr;gap:10px;background:transparent;margin:0;padding:0 var(--wth-card-padding,22px) 10px;overflow:visible; }
.wthh-media-grid[data-count="2"],.wthh-media-grid[data-count="3"],.wthh-media-grid[data-count="4"],.wthh-media-grid[data-count="5"],.wthh-media-grid[data-count="6"] { grid-template-columns:repeat(2,minmax(0,1fr)); }
.wthh-media-item { min-width:0;background:#050506;position:relative;display:flex;flex-direction:column;justify-content:center; }
.wthh-image-open { display:block;width:100%;padding:0;border:0;background:#000;line-height:0;overflow:hidden; }
.wthh-image-open img,.wthh-media-item video { width:100%;height:auto;max-height:var(--wth-media-height,560px);object-fit:cover;display:block;transition:transform .25s ease; }
.wthh-image-open:hover img { transform:scale(1.018); }
.wthh-media-item video { background:#000;object-fit:contain; }
.wthh-media-download { position:absolute;right:10px;bottom:10px;padding:7px 11px;border-radius:999px;background:rgba(0,0,0,.72);border:1px solid rgba(255,255,255,.2);font-size:.78em;backdrop-filter:blur(8px); }
.wthh-audio-card,.wthh-document-card { display:flex;align-items:center;gap:13px;padding:17px;background:linear-gradient(145deg,var(--wth-surface-2),color-mix(in srgb,var(--wth-surface) 80%,#000)); }
.wthh-audio-card div,.wthh-document-card span:last-child { min-width:0;display:flex;flex-direction:column; }
.wthh-audio-card strong,.wthh-document-card strong { overflow:hidden;text-overflow:ellipsis;white-space:nowrap; }
.wthh-audio-card small,.wthh-document-card small { color:var(--wth-muted); }
.wthh-file-icon { width:50px;height:50px;border-radius:15px;display:grid;place-items:center;flex:0 0 auto;background:linear-gradient(145deg,var(--wth-accent-2),var(--wth-accent));color:#fff;font-weight:900;font-size:.88em;box-shadow:0 8px 18px var(--wth-glow),inset 0 1px 0 rgba(255,255,255,.3); }
.wthh-media-item audio { width:calc(100% - 30px);margin:0 15px 16px; }

.wthh-post-stats { display:flex;align-items:center;justify-content:space-between;gap:12px;padding:6px var(--wth-card-padding,22px);color:var(--wth-muted);font-size:.84em;border-top:1px solid rgba(255,255,255,.06);border-bottom:1px solid rgba(255,255,255,.07); }
.wthh-comments-toggle { padding:0;border:0;background:transparent;color:inherit; }
.wthh-comments-toggle:hover { color:var(--wth-accent-2); }
.wthh-post-actions { display:flex;align-items:center;gap:6px;padding:7px var(--wth-card-padding,22px) 10px;flex-wrap:wrap; }
.wthh-reaction-picker { display:flex;align-items:center;gap:4px;flex-wrap:wrap;margin-right:auto; }
.wthh-action-btn { min-height:38px;display:inline-flex;align-items:center;justify-content:center;gap:6px;padding:7px 11px;border-radius:999px;border:1px solid transparent;background:transparent;color:var(--wth-muted);font-weight:750;transition:.15s ease; }
.wthh-action-btn:hover,.wthh-action-btn.is-active { color:var(--wth-text);background:color-mix(in srgb,var(--wth-accent) 15%,transparent);border-color:color-mix(in srgb,var(--wth-border) 60%,transparent);box-shadow:0 0 12px color-mix(in srgb,var(--wth-glow) 70%,transparent); }
.wthh-react { padding:6px 9px; }
.wthh-react span { font-size:1.15em; }
.wthh-react b { font-size:.76em; }
.wthh-facebook-share span { width:22px;height:22px;border-radius:50%;display:grid;place-items:center;background:#1877f2;color:#fff;font-family:Arial,sans-serif;font-weight:900; }

.wthh-post-content p { margin:0 0 8px; }
.wthh-post-content p:last-child { margin-bottom:0; }
.wthh-image-open { display:block; width:100%; padding:0; border:0; background:transparent; }
.wthh-image-open img,.wthh-media-item video { width:100%; height:auto; max-height:min(var(--wth-media-height,280px),40vh); object-fit:cover; display:block; border-radius:18px; }
.wthh-media-item audio { width:100%; margin-top:8px; }
.wthh-reaction-summary { display:flex; align-items:center; gap:6px; flex-wrap:wrap; min-height:28px; }
.wthh-reaction-summary-empty { color:var(--wth-muted); }
.wthh-reaction-badge { display:inline-flex; align-items:center; gap:5px; padding:5px 9px; border-radius:999px; border:1px solid color-mix(in srgb,var(--wth-border) 55%,transparent); background:color-mix(in srgb,var(--wth-accent) 10%,transparent); color:var(--wth-text); box-shadow:var(--wth-soft-shadow); }
.wthh-comment-form-main { display:flex; flex-direction:column; gap:8px; min-width:0; }
.wthh-comment-tools { display:flex; align-items:center; justify-content:space-between; gap:8px; flex-wrap:wrap; }
.wthh-smiley-panel[hidden] { display:none!important; }
.wthh-smiley-panel { display:flex;gap:6px;flex-wrap:wrap;margin:0;padding:6px 0 0; }
.wthh-composer > .wthh-smiley-panel { padding-left:58px; }
.wthh-comment-form .wthh-smiley-panel { margin-top:0;padding-left:0; }
.wthh-smiley-item { width:38px;height:38px;min-height:38px;padding:0; border-radius:999px; border:1px solid color-mix(in srgb,var(--wth-border) 65%,transparent); background:linear-gradient(180deg,var(--wth-surface-2),color-mix(in srgb,var(--wth-surface-2) 75%,#000)); color:var(--wth-text); box-shadow:var(--wth-soft-shadow); }
.wthh-smiley-toggle-small { min-height:36px; padding:6px 12px; }
.wthh-ticker-date { margin-left:auto; font-style:normal; font-size:.82em; color:var(--wth-ticker-text-color); opacity:.82; }

.wthh-comments { padding:6px var(--wth-card-padding,22px) 14px;border-top:1px solid rgba(255,255,255,.07); }
.wthh-comments-list { display:flex;flex-direction:column;gap:10px;padding-top:8px; }
.wthh-comment { display:flex;align-items:flex-start;gap:9px;position:relative; }
.wthh-comment .wthh-avatar { width:35px;height:35px;border-width:1px; }
.wthh-comment-bubble { max-width:calc(100% - 52px);background:var(--wth-surface-2);border:1px solid rgba(255,255,255,.07);border-radius:16px;padding:9px 12px;box-shadow:inset 0 1px 0 rgba(255,255,255,.04); }
.wthh-comment-bubble > div { display:flex;align-items:center;gap:8px;flex-wrap:wrap; }
.wthh-comment-bubble strong { font-size:.88em; }
.wthh-comment-bubble time { font-size:.7em;color:var(--wth-muted); }
.wthh-comment-bubble p { margin:3px 0 0;font-size:.9em;overflow-wrap:anywhere; }
.wthh-comment .wthh-icon-btn { width:25px;height:25px;font-size:17px;border-color:transparent;box-shadow:none;margin-left:auto; }
.wthh-comment-form { display:grid;grid-template-columns:auto 1fr;align-items:start;gap:9px;margin-top:10px; }
.wthh-comment-form .wthh-avatar { width:38px;height:38px; }
.wthh-comment-form textarea { min-height:44px;max-height:180px;padding:10px 13px;border-radius:15px; margin:0; }
.wthh-comment-form .wthh-btn { min-height:42px; }
.wthh-login-note { margin-top:14px;padding:11px 13px;border-radius:14px;background:color-mix(in srgb,var(--wth-accent) 10%,transparent);color:var(--wth-muted);text-align:center; }

.wthh-empty { padding:28px;text-align:center;border:1px dashed var(--wth-border);border-radius:var(--wth-radius,22px);background:color-mix(in srgb,var(--wth-surface) 80%,transparent);color:var(--wth-muted); }
.wthh-load-more-wrap { display:flex;justify-content:center;margin-top:24px; }

.wthh-toast-region { position:fixed;right:22px;bottom:22px;z-index:100050;display:flex;flex-direction:column;gap:10px;pointer-events:none; }
.wthh-toast { max-width:min(420px,calc(100vw - 32px));padding:13px 17px;border-radius:16px;background:linear-gradient(145deg,#17171c,#09090c);border:1px solid var(--wth-border);box-shadow:0 16px 38px rgba(0,0,0,.48),0 0 22px var(--wth-glow);color:#fff;font-weight:750;animation:wthh-toast-in .25s ease both; }
.wthh-toast.is-error { border-color:#ff375f;box-shadow:0 16px 38px rgba(0,0,0,.48),0 0 22px rgba(255,55,95,.35); }
@keyframes wthh-toast-in { from{opacity:0;transform:translateY(12px) scale(.96)}to{opacity:1;transform:none} }

.wthh-modal[hidden],.wthh-lightbox[hidden] { display:none!important; }
.wthh-modal { position:fixed;inset:0;z-index:100040;display:grid;place-items:center;padding:18px; }
.wthh-modal-backdrop { position:absolute;inset:0;background:rgba(0,0,0,.72);backdrop-filter:blur(6px); }
.wthh-modal-dialog { position:relative;width:min(680px,100%);max-height:90vh;overflow:auto;padding:24px;border-radius:24px;background:var(--wth-surface);border:1px solid var(--wth-border);box-shadow:0 24px 70px rgba(0,0,0,.7),0 0 30px var(--wth-glow); }
.wthh-modal-dialog h3 { margin:0 44px 16px 0; }
.wthh-modal-close { position:absolute;right:15px;top:12px;width:38px;height:38px;border-radius:50%;border:1px solid var(--wth-border);background:var(--wth-surface-2);color:var(--wth-text);font-size:25px;line-height:1; }
.wthh-edit-form { display:flex;flex-direction:column;gap:14px; }
.wthh-existing-media { display:flex;flex-direction:column;gap:7px; }
.wthh-existing-media label { display:flex;align-items:center;gap:8px;padding:9px 11px;border-radius:12px;background:var(--wth-surface-2);overflow:hidden; }
.wthh-existing-media span { overflow:hidden;text-overflow:ellipsis;white-space:nowrap; }
.wthh-modal-actions { display:flex;justify-content:flex-end;gap:9px;margin-top:5px; }

.wthh-lightbox { position:fixed;inset:0;z-index:100060;background:rgba(0,0,0,.92);display:flex;flex-direction:column;align-items:center;justify-content:center;padding:50px 20px 30px; gap:16px; }
.wthh-lightbox-stage { max-width:96vw;max-height:84vh;display:flex;align-items:center;justify-content:center; }
.wthh-lightbox img { max-width:96vw;max-height:84vh;object-fit:contain;border-radius:12px;box-shadow:0 20px 70px rgba(0,0,0,.7),0 0 30px var(--wth-glow); }
.wthh-lightbox-close { position:fixed;right:18px;top:18px;width:44px;height:44px;border-radius:50%;border:1px solid rgba(255,255,255,.25);background:rgba(0,0,0,.55);color:#fff;font-size:28px; }
.wthh-lightbox-actions { display:flex;align-items:center;justify-content:center;gap:10px;flex-wrap:wrap; }
.wthh-lightbox-download { color:#fff!important;font-weight:800; text-decoration:none; }

.wthh-ticker-wrap { width:100%; }
.wthh-ticker { min-height:var(--wth-ticker-height,42px);display:flex;align-items:stretch;border-radius:999px;border:1px solid var(--wth-border);background:linear-gradient(180deg,color-mix(in srgb,var(--wth-surface-2) 92%,#fff 6%),color-mix(in srgb,var(--wth-surface) 90%,#000 10%));box-shadow:0 10px 24px rgba(0,0,0,.34),0 0 22px var(--wth-glow),inset 0 1px 0 rgba(255,255,255,.14);overflow:hidden;position:relative; }
.wthh-ticker:after { content:"";position:absolute;left:12%;right:12%;top:0;height:1px;background:linear-gradient(90deg,transparent,var(--wth-accent-2),transparent); }
.wthh-ticker-label { flex:0 0 auto;display:flex;align-items:center;padding:0 15px;font-weight:900;font-size:.83em;letter-spacing:.02em;background:var(--wth-ticker-label-bg-color);color:var(--wth-ticker-label-text-color);text-shadow:0 1px 2px rgba(0,0,0,.55);border-right:1px solid rgba(255,255,255,.12); }
.wthh-ticker-items { min-width:0;flex:1;position:relative;display:flex;align-items:center;overflow:hidden; }
.wthh-ticker-item { min-width:0;width:100%;display:flex;align-items:center;gap:7px;padding:0 15px;white-space:nowrap;overflow:hidden;transition:opacity .35s ease,transform .35s ease; }
.wthh-ticker-item strong { color:var(--wth-ticker-prefix-color);flex:0 0 auto; }
.wthh-ticker-item span { overflow:hidden;text-overflow:ellipsis; color:var(--wth-ticker-text-color); }
.wthh-ticker-item b { margin-left:auto;color:var(--wth-ticker-click-color);flex:0 0 auto;font-size:.88em; }
.wthh-ticker[data-mode="alternate"] .wthh-ticker-item { position:absolute;inset:0;opacity:0;transform:translateY(8px);pointer-events:none; }
.wthh-ticker[data-mode="alternate"] .wthh-ticker-item.is-active { opacity:1;transform:none;pointer-events:auto; }
.wthh-ticker[data-mode="static"] .wthh-ticker-items { gap:18px; }
.wthh-ticker[data-mode="static"] .wthh-ticker-item { width:auto;flex:1; }
.wthh-ticker-empty { display:flex;align-items:center;padding:0 15px;color:var(--wth-muted); }

@media (min-width: 760px) {
    .wthh-app[data-columns="2"] .wthh-feed {
        display:grid!important;
        grid-template-columns:repeat(2,minmax(0,1fr));
        grid-auto-flow:row dense;
        grid-auto-rows:8px;
        column-gap:18px;
        row-gap:8px;
        align-items:start;
        width:100%!important;
        max-width:100%!important;
        margin:0 auto!important;
        padding:0!important;
        position:relative;
        left:auto!important;
        right:auto!important;
        transform:none!important;
    }
    .wthh-app[data-columns="2"] .wthh-post-card,
    .wthh-app[data-columns="2"] .wthh-empty {
        display:block!important;
        width:100%!important;
        max-width:100%!important;
        margin:0!important;
        align-self:start;
        min-width:0;
        overflow:hidden;
    }
    .wthh-app[data-columns="2"] .wthh-media-grid[data-count] { grid-template-columns:1fr; }
    .wthh-app[data-columns="2"] .wthh-post-actions { align-items:flex-start; }
}

@media (max-width: 759px) {
    .wthh-app[data-columns="2"] .wthh-post-card, .wthh-app[data-columns="2"] .wthh-empty { grid-row-end:auto!important; }
    .wthh-composer-card,.wthh-post-card { border-radius:min(var(--wth-radius,22px),18px); }
    .wthh-composer-card { padding:14px; }
    .wthh-composer-main { gap:9px; }
    .wthh-avatar { width:40px;height:40px; }
    .wthh-composer textarea { min-height:96px;padding:12px 13px; }
    .wthh-composer-actions { padding-left:0;display:flex;flex-wrap:wrap;gap:6px 8px;margin-top:6px; }
    .wthh-composer-actions .wthh-btn { width:auto;max-width:100%; }
    .wthh-upload-hint { flex:1 1 100%;margin:0;font-size:.76em;text-align:left; }
    .wthh-selected-files,.wthh-progress { margin-left:0; }
    .wthh-composer > .wthh-smiley-panel { padding-left:0;justify-content:flex-start; }
    .wthh-btn { padding-left:12px;padding-right:12px; }
    .wthh-post-header { padding:16px 16px 10px; }
    .wthh-post-content { padding:4px 16px 13px; }
    .wthh-post-stats,.wthh-post-actions { padding-left:12px;padding-right:12px; }
    .wthh-post-actions { gap:2px; }
    .wthh-reaction-picker { width:100%;justify-content:space-between;margin:0;border-bottom:1px solid rgba(255,255,255,.06);padding-bottom:7px; }
    .wthh-react { flex:1;padding:5px 3px; }
    .wthh-comments { padding:4px 12px 16px; }
    .wthh-comment-form { grid-template-columns:auto 1fr; }
    .wthh-comment-tools { justify-content:flex-end; }
    .wthh-media-grid[data-count] { grid-template-columns:1fr; }
    .wthh-image-open img,.wthh-media-item video { max-height:min(var(--wth-media-height,560px),70vh); }
    .wthh-embed iframe,.wthh-embed video,.wthh-embed object,.wthh-embed embed { min-height:190px; }
    .wthh-inline-actions { width:100%;margin-left:0; }
    .wthh-inline-actions .wthh-btn { flex:1; }
    .wthh-toast-region { left:16px;right:16px;bottom:16px; }
    .wthh-toast { max-width:none;width:100%; }
    .wthh-ticker { border-radius:16px;min-height:48px; }
    .wthh-ticker-label { padding:0 10px;font-size:.72em; }
    .wthh-ticker-item { padding:0 10px;gap:5px; }
    .wthh-ticker-item strong { display:none; }
    .wthh-ticker-item b { font-size:0; }
    .wthh-ticker-item b:after { content:"→";font-size:16px; }
}

@media (prefers-reduced-motion: reduce) {
    .wthh-app *, .wthh-ticker-wrap * { animation-duration:.001ms!important;animation-iteration-count:1!important;transition-duration:.001ms!important;scroll-behavior:auto!important; }
}

/* v1.2.1 compact composer and overflow hardening */
.wthh-composer-card,.wthh-composer,.wthh-composer-main,.wthh-composer-actions { max-width:100%;box-sizing:border-box; }
.wthh-composer textarea { display:block;margin:0!important; }
.wthh-composer-actions > * { min-width:0;max-width:100%; }
.wthh-composer-actions .wthh-btn { white-space:nowrap; }
.wthh-composer-actions .wthh-btn-primary { margin-left:auto; }
.wthh-lightbox-actions .wthh-btn { min-width:108px; }

@media (min-width:760px) and (max-width:1050px) {
    .wthh-composer-actions { gap:6px 8px; }
    .wthh-upload-hint { flex:1 1 100%;text-align:left; }
}

/* v1.2.4 – hosszú posztszövegek biztos sortörése */
.wthh-post-content,
.wthh-post-content p,
.wthh-post-content div,
.wthh-post-content span {
    min-width:0!important;
    max-width:100%!important;
    white-space:normal!important;
    overflow-wrap:anywhere!important;
    word-wrap:break-word!important;
    word-break:break-word!important;
    hyphens:auto;
}
.wthh-post-content a,
.wthh-post-content code,
.wthh-post-content pre {
    max-width:100%!important;
    white-space:pre-wrap!important;
    overflow-wrap:anywhere!important;
    word-break:break-all!important;
}
