.acol-page{font-family:Vazirmatn,system-ui,sans-serif;color:#eef1f6;background:#080a0f;min-height:60vh;direction:rtl}
.acol-container{width:min(1240px,calc(100% - 32px));margin:auto}
.acol-archive-hero{position:relative;overflow:hidden;padding:86px 0 64px;background:radial-gradient(circle at 20% 0%,rgba(247,190,52,.18),transparent 35%),linear-gradient(135deg,#111621,#080a0f)}
.acol-hero-glow{position:absolute;inset:-30%;background:radial-gradient(circle,rgba(255,193,7,.08),transparent 45%);pointer-events:none}
.acol-kicker{font-size:11px;letter-spacing:2px;color:#f6c453;font-weight:800}
.acol-archive-hero h1,.acol-story-hero h1{font-size:clamp(38px,6vw,72px);margin:12px 0 10px;line-height:1;font-weight:800}
.acol-archive-hero p,.acol-story-hero p{max-width:680px;color:#aeb5c2;font-size:16px;line-height:2}
.acol-search-wrap{margin-top:30px;display:flex;align-items:center;background:#151a24;border:1px solid #2a3140;border-radius:18px;padding:6px;max-width:760px;box-shadow:0 20px 60px rgba(0,0,0,.25)}
.acol-search-wrap svg{width:22px;fill:none;stroke:#8891a0;stroke-width:2;margin:0 10px}
.acol-search-wrap input{flex:1;background:transparent!important;border:0!important;outline:0!important;color:#fff;font-family:inherit;padding:14px;font-size:15px}
.acol-search-wrap button{border:0;border-radius:13px;background:#f2bb42;color:#16130b;font-weight:800;padding:13px 20px;cursor:pointer}
.acol-search-results{max-width:760px;margin-top:10px}
.acol-result{display:flex;gap:14px;align-items:center;background:#111621;border:1px solid #252c39;border-radius:14px;padding:8px;margin:6px 0}
.acol-result-poster{width:45px;height:62px;overflow:hidden;border-radius:7px;background:#202633;flex:none}.acol-result-poster img{width:100%;height:100%;object-fit:cover}
.acol-result strong{display:block}.acol-result span{display:block;color:#8e97a6;font-size:12px;margin-top:5px}
.acol-archive-content,.acol-items-section{padding:54px 0}
.acol-section-head{display:flex;justify-content:space-between;align-items:end;margin-bottom:24px}
.acol-section-head span:first-child{font-size:10px;letter-spacing:2px;color:#f2c25b;font-weight:800}
.acol-section-head h2{margin:5px 0 0;font-size:30px}.acol-count{color:#8e97a6;font-size:13px}
.acol-collection-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:20px}
.acol-collection-card{display:block;text-decoration:none;color:inherit;background:#11151e;border:1px solid #202734;border-radius:18px;overflow:hidden;transition:.25s;box-shadow:0 12px 35px rgba(0,0,0,.18)}
.acol-collection-card:hover{transform:translateY(-6px);border-color:#3c4658;box-shadow:0 20px 55px rgba(0,0,0,.35)}
.acol-card-media{height:300px;position:relative;display:flex;justify-content:center;align-items:center;overflow:hidden;background-image:linear-gradient(180deg,rgba(0,0,0,.15),#11151e 100%);background-size:cover;background-position:center;isolation:isolate}
.acol-card-media:before{content:"";position:absolute;inset:0;background:rgba(8,10,15,.55);backdrop-filter:blur(12px);z-index:-1}
.acol-card-media img{height:88%;width:62%;object-fit:cover;border-radius:8px;box-shadow:0 15px 35px rgba(0,0,0,.5)}
.acol-card-type{position:absolute;top:12px;right:12px;background:rgba(0,0,0,.55);border:1px solid rgba(255,255,255,.12);padding:5px 8px;border-radius:7px;font-size:9px;letter-spacing:1px}.acol-card-arrow{position:absolute;left:12px;bottom:12px;width:34px;height:34px;border-radius:50%;background:#f2bb42;color:#111;display:grid;place-items:center}
.acol-card-body{padding:15px}.acol-card-body h3{margin:0 0 8px;font-size:17px}.acol-card-body p{margin:0;color:#87909e;font-size:12px;line-height:1.8}
.acol-collection-hero{position:relative;min-height:520px;display:flex;align-items:end;overflow:hidden;background:#080a0f}.acol-backdrop{position:absolute;inset:0;background-image:var(--acol-backdrop);background-size:cover;background-position:center;filter:saturate(.9);transform:scale(1.03)}.acol-backdrop-shade{position:absolute;inset:0;background:linear-gradient(0deg,#080a0f 0%,rgba(8,10,15,.88) 25%,rgba(8,10,15,.3) 70%,rgba(8,10,15,.35))}
.acol-collection-hero-inner{position:relative;z-index:2;display:grid;grid-template-columns:230px 1fr;gap:34px;align-items:end;padding-bottom:55px}.acol-collection-poster img{display:block;width:230px;aspect-ratio:2/3;object-fit:cover;border-radius:13px;box-shadow:0 25px 60px rgba(0,0,0,.55)}.acol-collection-copy h1{font-size:clamp(34px,5vw,64px);margin:8px 0 15px;line-height:1.05}.acol-collection-copy p{color:#c0c5ce;line-height:2;max-width:760px}.acol-meta-row{display:flex;gap:10px;margin-top:18px}.acol-meta-row span{background:#151b25;border:1px solid #2a3140;border-radius:9px;padding:7px 11px;font-size:11px;color:#adb5c1}
.acol-item-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:22px}.acol-item-card{min-width:0}.acol-item-poster{display:block;position:relative;aspect-ratio:2/3;border-radius:12px;overflow:hidden;background:#141923}.acol-item-poster img{width:100%;height:100%;object-fit:cover;transition:.3s}.acol-item-card:hover .acol-item-poster img{transform:scale(1.04)}.acol-item-rating,.acol-item-type{position:absolute;top:10px;padding:5px 8px;border-radius:7px;background:rgba(0,0,0,.7);font-size:10px}.acol-item-rating{left:10px;color:#ffd36b}.acol-item-type{right:10px;color:#fff}.acol-item-copy h3{font-size:15px;margin:11px 0 7px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.acol-item-copy div{display:flex;gap:10px;color:#7f8897;font-size:11px}.acol-story-hero{padding:90px 0 70px;background:radial-gradient(circle at 75% 0%,rgba(113,78,210,.2),transparent 40%),#0b0e15}
.acol-empty{padding:60px;text-align:center;background:#11151e;border:1px dashed #303849;border-radius:18px;color:#9ba3b0}.acol-empty strong{display:block;color:#fff;font-size:18px;margin-bottom:8px}
@media(max-width:1000px){.acol-collection-grid{grid-template-columns:repeat(3,1fr)}.acol-item-grid{grid-template-columns:repeat(4,1fr)}}
@media(max-width:720px){.acol-container{width:min(100% - 22px,1240px)}.acol-archive-hero{padding:60px 0 42px}.acol-search-wrap{display:block;padding:7px}.acol-search-wrap input{width:100%;box-sizing:border-box}.acol-search-wrap button{width:100%}.acol-collection-grid{grid-template-columns:repeat(2,1fr);gap:12px}.acol-card-media{height:240px}.acol-item-grid{grid-template-columns:repeat(2,1fr);gap:14px}.acol-collection-hero-inner{grid-template-columns:110px 1fr;gap:18px;padding-bottom:35px}.acol-collection-poster img{width:110px}.acol-collection-copy h1{font-size:28px}.acol-collection-copy p{font-size:12px;line-height:1.8}.acol-collection-hero{min-height:440px}}
@media(max-width:430px){.acol-collection-grid{grid-template-columns:1fr 1fr}.acol-card-media{height:210px}.acol-card-media img{width:67%;height:86%}.acol-section-head h2{font-size:23px}.acol-collection-hero-inner{grid-template-columns:1fr;align-items:start}.acol-collection-poster img{width:145px}.acol-collection-copy h1{font-size:31px}}

.acol-lazy-collection{min-height:300px}.acol-card-name:empty{display:none}.acol-load-more-wrap{text-align:center;padding:28px 0}.acol-load-more{border:1px solid #303848;background:#151b25;color:#f2c25b;border-radius:10px;padding:11px 20px;font-family:inherit;cursor:pointer}.acol-load-more[disabled]{opacity:.5;cursor:wait}.acol-lazy-items .acol-item-card,.acol-lazy-story-items .acol-item-card{content-visibility:auto;contain-intrinsic-size:430px}
.acol-poster-loading{width:62%;height:88%;display:grid;place-items:center;border-radius:8px;background:#171c27;color:#9ba3b0;font-size:12px}
.acol-lang-switch,.acol-page-lang,.acol-item-lang{display:flex !important;gap:4px;direction:ltr;align-items:center;visibility:visible !important;opacity:1 !important}.acol-page-lang{position:relative;z-index:20;flex-wrap:nowrap;width:max-content;min-height:32px;pointer-events:auto}.acol-page-lang button{display:inline-flex !important;visibility:visible !important;opacity:1 !important;align-items:center;justify-content:center;white-space:nowrap;pointer-events:auto}
.acol-lang-switch{position:absolute;left:12px;top:12px;z-index:4}.acol-lang-switch button,.acol-page-lang button,.acol-item-lang button{border:1px solid #3a4251;background:rgba(10,12,18,.82);color:#b7beca;border-radius:7px;padding:4px 7px;font-size:10px;cursor:pointer}.acol-lang-switch button.active,.acol-page-lang button.active,.acol-item-lang button.active{background:#f2bb42;color:#111;border-color:#f2bb42}.acol-page-lang{margin:10px 0 5px}.acol-item-lang{margin-bottom:5px}.acol-item-lang button{padding:3px 6px}.acol-item-copy{position:relative}.acol-load-state{text-align:center;color:#aab2bf;padding:28px 0;font-size:13px}.acol-items-sentinel{height:2px}.acol-load-failed{opacity:.75}.acol-card-name{min-height:24px}.acol-item-poster[aria-disabled="true"]{cursor:default}.acol-item-poster[aria-disabled="true"]:after{content:'در حال دریافت لینک…';position:absolute;right:10px;bottom:10px;background:rgba(0,0,0,.75);color:#f2c25b;border-radius:6px;padding:5px 7px;font-size:9px}.acol-item-copy>div:last-child{flex-wrap:wrap}

/* 1.7.2 language control: outside poster, small and translucent */
.acol-card-body{position:relative}
.acol-card-content-row{display:flex;align-items:flex-end;justify-content:space-between;gap:10px}
.acol-card-text{min-width:0;flex:1}
.acol-card-content-row>.acol-lang-switch{position:static;flex:0 0 auto;align-self:flex-end;margin:0 0 2px 0}
.acol-lang-switch{display:inline-flex;gap:3px;direction:ltr;padding:2px;border:1px solid rgba(255,255,255,.10);background:rgba(10,12,18,.36);backdrop-filter:blur(7px);border-radius:8px}
.acol-lang-switch button{border:0!important;background:transparent!important;color:rgba(235,240,248,.72)!important;border-radius:6px!important;padding:3px 6px!important;font-size:9px!important;line-height:1.2;min-width:24px}
.acol-lang-switch button.active{background:rgba(242,187,66,.82)!important;color:#111!important}
.acol-card-media img{flex:none}
@media(max-width:720px){.acol-card-content-row{gap:7px}.acol-card-content-row>.acol-lang-switch{margin-bottom:1px}.acol-lang-switch button{padding:3px 5px!important;min-width:22px}}

/* 1.7.3: language control stays below the poster; it never overlays/resizes the artwork. */
.acol-card-body{position:relative;padding:14px 14px 12px}
.acol-card-content-row{display:flex;align-items:flex-end;gap:10px}
.acol-card-content-row .acol-card-text{min-width:0;flex:1 1 auto}
.acol-card-content-row>.acol-lang-switch{position:static!important;right:auto;left:auto;top:auto;bottom:auto;align-self:flex-end;flex:0 0 auto;margin:0 0 1px 0}
.acol-lang-switch{padding:2px!important;border:1px solid rgba(255,255,255,.11)!important;background:rgba(10,12,18,.32)!important;backdrop-filter:blur(7px);border-radius:8px!important}
.acol-lang-switch button{min-width:23px!important;padding:3px 5px!important;font-size:9px!important;border:0!important;background:transparent!important;line-height:1.15}
.acol-lang-switch button.active{background:rgba(242,187,66,.82)!important}

/* 1.7.5: Back button is contained inside the plugin hero and links to /collection/. */
.acol-collection-hero,.acol-story-hero{position:relative}
.acol-collection-copy,.acol-story-copy{position:relative}
.acol-back-home{position:static;display:inline-flex;align-items:center;justify-content:center;gap:8px;width:max-content;max-width:100%;margin:0 0 16px auto;padding:7px 12px;border:1px solid rgba(255,255,255,.13);border-radius:999px;background:rgba(12,15,22,.42);color:rgba(245,248,252,.9);text-decoration:none!important;font-size:11px;font-weight:700;line-height:1.1;backdrop-filter:blur(10px);box-shadow:0 8px 22px rgba(0,0,0,.14),inset 0 1px 0 rgba(255,255,255,.03);transition:background .2s ease,border-color .2s ease,transform .2s ease,color .2s ease}
.acol-back-home:hover{background:rgba(18,22,31,.68);border-color:rgba(242,194,91,.36);color:#fff;transform:translateY(-1px)}
.acol-back-home span{font-size:14px;line-height:1;opacity:.9}
.acol-story-copy{max-width:860px}
.acol-story-copy .acol-page-lang{margin-bottom:8px}
.acol-item-poster-disabled{cursor:default}
.acol-result{display:flex;align-items:center;gap:10px;text-decoration:none;color:inherit}
.acol-result-disabled{opacity:.72}.acol-result:hover{background:rgba(255,255,255,.04)}
@media(max-width:720px){.acol-back-home{margin-bottom:12px;padding:7px 10px;font-size:10px}.acol-story-copy{max-width:none}}


/* 1.9.16: polished collection item cards, matching the single-collection presentation. */
.acol-items-section .acol-item-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:24px 20px;align-items:start}
.acol-items-section .acol-item-card{position:relative;min-width:0;background:#111621;border:1px solid rgba(255,255,255,.07);border-radius:15px;overflow:hidden;box-shadow:0 12px 28px rgba(0,0,0,.16);transition:transform .2s ease,border-color .2s ease,box-shadow .2s ease}
.acol-items-section .acol-item-card:hover{transform:translateY(-3px);border-color:rgba(242,187,66,.22);box-shadow:0 18px 38px rgba(0,0,0,.24)}
.acol-items-section .acol-item-poster-wrap{padding:8px 8px 0;background:linear-gradient(180deg,#151b27 0%,#10151f 100%)}
.acol-items-section .acol-item-poster{display:block;position:relative;aspect-ratio:2/3;border-radius:11px;overflow:hidden;background:#171c26}
.acol-items-section .acol-item-poster img{display:block;width:100%;height:100%;object-fit:cover}
.acol-items-section .acol-item-copy{padding:12px 12px 14px;background:#111621}
.acol-items-section .acol-item-copy h3{margin:8px 0 9px;font-size:14px;line-height:1.6;font-weight:700}
.acol-items-section .acol-item-copy>div:last-child{display:flex;flex-wrap:wrap;gap:7px;color:#8992a0;font-size:10px;line-height:1.5}
.acol-items-section .acol-item-copy>div:last-child span{background:#171d28;border:1px solid rgba(255,255,255,.055);border-radius:7px;padding:4px 6px}
.acol-items-section .acol-item-lang{margin:0 0 3px}
.acol-items-section .acol-item-rating{top:18px;left:18px;z-index:3}
.acol-items-section .acol-no-poster{height:100%;min-height:100%;display:grid;place-items:center;color:#8e97a5;font-size:11px;padding:14px;text-align:center}
@media(max-width:1000px){.acol-items-section .acol-item-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:20px 16px}}
@media(max-width:720px){.acol-items-section .acol-item-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:15px}.acol-items-section .acol-item-copy{padding:10px}.acol-items-section .acol-item-copy h3{font-size:13px}.acol-items-section .acol-item-copy>div:last-child{gap:5px;font-size:9px}}

/* 1.9.39: one shared hero geometry for Collection and Story Universe.
   Poster is an inset 2:3 card with explicit dimensions, never stretched to the hero height. */
.acol-story .acol-collection-hero,.acol-single .acol-collection-hero{position:relative;min-height:620px;display:flex;align-items:stretch;overflow:hidden;background:#080a0f}
.acol-story .acol-collection-hero-inner,.acol-single .acol-collection-hero-inner{position:relative;z-index:2;display:grid;grid-template-columns:230px 1fr;gap:34px;align-items:center;padding:70px 0}
.acol-story .acol-collection-poster,.acol-single .acol-collection-poster{display:flex;align-items:center;justify-content:center;padding:18px 0;min-height:0}
.acol-story .acol-collection-poster img,.acol-single .acol-collection-poster img{display:block;width:230px;max-width:230px;height:345px;max-height:345px;aspect-ratio:2/3;object-fit:cover;border-radius:13px;box-shadow:0 25px 60px rgba(0,0,0,.55)}
.acol-story .acol-collection-copy,.acol-single .acol-collection-copy{min-width:0;align-self:center}
@media(max-width:1000px){.acol-story .acol-collection-hero-inner,.acol-single .acol-collection-hero-inner{grid-template-columns:200px 1fr;gap:28px;padding:60px 0}.acol-story .acol-collection-poster img,.acol-single .acol-collection-poster img{width:200px;max-width:200px;height:300px;max-height:300px}}
@media(max-width:720px){.acol-story .acol-collection-hero,.acol-single .acol-collection-hero{min-height:500px}.acol-story .acol-collection-hero-inner,.acol-single .acol-collection-hero-inner{grid-template-columns:110px 1fr;gap:18px;padding:42px 0}.acol-story .acol-collection-poster,.acol-single .acol-collection-poster{padding:10px 0}.acol-story .acol-collection-poster img,.acol-single .acol-collection-poster img{width:110px;max-width:110px;height:165px;max-height:165px}}
@media(max-width:430px){.acol-story .acol-collection-hero-inner,.acol-single .acol-collection-hero-inner{grid-template-columns:1fr;gap:20px;padding:34px 0}.acol-story .acol-collection-poster,.acol-single .acol-collection-poster{justify-content:flex-start;padding:0}.acol-story .acol-collection-poster img,.acol-single .acol-collection-poster img{width:145px;max-width:145px;height:218px;max-height:218px}}

/* 1.9.38: canonical shared visual system for Collection and Story Universe. */
.acol-story .acol-collection-hero,.acol-single .acol-collection-hero{position:relative;min-height:520px;display:flex;align-items:end;overflow:hidden;background:#080a0f}
.acol-story .acol-collection-hero-inner,.acol-single .acol-collection-hero-inner{position:relative;z-index:2;display:grid;grid-template-columns:230px 1fr;gap:34px;align-items:end;padding-bottom:55px}
.acol-story .acol-collection-poster img,.acol-single .acol-collection-poster img{display:block;width:230px;max-width:230px;height:auto;aspect-ratio:2/3;object-fit:cover;border-radius:13px;box-shadow:0 25px 60px rgba(0,0,0,.55)}
.acol-story .acol-item-grid,.acol-single .acol-item-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:24px 20px;align-items:start}
.acol-story .acol-item-card,.acol-single .acol-item-card{position:relative;min-width:0;background:#111621;border:1px solid rgba(255,255,255,.07);border-radius:15px;overflow:hidden;box-shadow:0 12px 28px rgba(0,0,0,.16);transition:transform .2s ease,border-color .2s ease,box-shadow .2s ease}
.acol-story .acol-item-card:hover,.acol-single .acol-item-card:hover{transform:translateY(-3px);border-color:rgba(242,187,66,.22);box-shadow:0 18px 38px rgba(0,0,0,.24)}
.acol-story .acol-item-poster-wrap,.acol-single .acol-item-poster-wrap{padding:8px 8px 0;background:linear-gradient(180deg,#151b27 0%,#10151f 100%)}
.acol-story .acol-item-poster,.acol-single .acol-item-poster{display:block;position:relative;aspect-ratio:2/3;border-radius:11px;overflow:hidden;background:#171c26}
.acol-story .acol-item-poster img,.acol-single .acol-item-poster img{display:block;width:100%;height:100%;object-fit:cover}
.acol-story .acol-item-copy,.acol-single .acol-item-copy{padding:12px 12px 14px;background:#111621}
.acol-story .acol-item-copy h3,.acol-single .acol-item-copy h3{margin:8px 0 9px;font-size:14px;line-height:1.6;font-weight:700}
.acol-story .acol-item-copy>div:last-child,.acol-single .acol-item-copy>div:last-child{display:flex;flex-wrap:wrap;gap:7px;color:#8992a0;font-size:10px;line-height:1.5}
.acol-story .acol-item-copy>div:last-child span,.acol-single .acol-item-copy>div:last-child span{background:#171d28;border:1px solid rgba(255,255,255,.055);border-radius:7px;padding:4px 6px}
.acol-story .acol-item-rating,.acol-single .acol-item-rating{top:18px;left:18px;z-index:3}
@media(max-width:1000px){.acol-story .acol-collection-hero-inner,.acol-single .acol-collection-hero-inner{grid-template-columns:200px 1fr}.acol-story .acol-collection-poster img,.acol-single .acol-collection-poster img{width:200px;max-width:200px}.acol-story .acol-item-grid,.acol-single .acol-item-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:20px 16px}}
@media(max-width:720px){.acol-story .acol-collection-hero,.acol-single .acol-collection-hero{min-height:440px}.acol-story .acol-collection-hero-inner,.acol-single .acol-collection-hero-inner{grid-template-columns:110px 1fr;gap:18px;padding-bottom:35px}.acol-story .acol-collection-poster img,.acol-single .acol-collection-poster img{width:110px;max-width:110px}.acol-story .acol-item-grid,.acol-single .acol-item-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:15px}}
@media(max-width:430px){.acol-story .acol-collection-hero-inner,.acol-single .acol-collection-hero-inner{grid-template-columns:1fr;align-items:start}.acol-story .acol-collection-poster img,.acol-single .acol-collection-poster img{width:145px;max-width:145px}}

/* 1.9.39 final geometry guard: keep every collection/universe poster a true inset 2:3 card. */
.acol-story .acol-collection-poster img,.acol-single .acol-collection-poster img{height:345px!important;max-height:345px!important;width:230px!important;max-width:230px!important;object-fit:cover!important}
@media(max-width:1000px){.acol-story .acol-collection-poster img,.acol-single .acol-collection-poster img{height:300px!important;max-height:300px!important;width:200px!important;max-width:200px!important}}
@media(max-width:720px){.acol-story .acol-collection-poster img,.acol-single .acol-collection-poster img{height:165px!important;max-height:165px!important;width:110px!important;max-width:110px!important}}
@media(max-width:430px){.acol-story .acol-collection-poster img,.acol-single .acol-collection-poster img{height:218px!important;max-height:218px!important;width:145px!important;max-width:145px!important}}

/* Language switch sizing: keep the existing design, only make the page language buttons easier to see/click. */
.acol-page-lang{
  gap:7px !important;
  min-height:42px !important;
  padding:3px !important;
}
.acol-page-lang button{
  min-width:78px !important;
  min-height:38px !important;
  padding:8px 14px !important;
  font-size:13px !important;
  font-weight:600 !important;
  line-height:1.2 !important;
  border-radius:9px !important;
}
@media(max-width:720px){
  .acol-page-lang{gap:6px !important;min-height:40px !important}
  .acol-page-lang button{min-width:72px !important;min-height:36px !important;padding:7px 12px !important;font-size:12px !important}
}

/* 1.9.45: enlarge language controls on collection cards and collection items without changing layout. */
.acol-lang-switch{
  gap:5px !important;
  padding:3px !important;
  border-radius:10px !important;
}
.acol-lang-switch button{
  min-width:42px !important;
  min-height:32px !important;
  padding:6px 10px !important;
  font-size:11px !important;
  font-weight:700 !important;
  line-height:1.2 !important;
  border-radius:7px !important;
}
.acol-item-lang{
  gap:5px !important;
}
.acol-item-lang button{
  min-width:42px !important;
  min-height:30px !important;
  padding:6px 10px !important;
  font-size:11px !important;
  font-weight:700 !important;
  line-height:1.2 !important;
  border-radius:7px !important;
}
@media(max-width:720px){
  .acol-lang-switch button{min-width:40px !important;min-height:30px !important;padding:5px 9px !important;font-size:10px !important}
  .acol-item-lang button{min-width:40px !important;min-height:30px !important;padding:5px 9px !important;font-size:10px !important}
}


/* 1.9.47: immutable 2:3 geometry for every item poster, including lazy/API replacements. */
.acol-items-section .acol-item-poster, .acol-story .acol-item-poster, .acol-single .acol-item-poster{display:block!important;position:relative!important;width:100%!important;aspect-ratio:2/3!important;height:auto!important;overflow:hidden!important;}
.acol-items-section .acol-item-poster img, .acol-story .acol-item-poster img, .acol-single .acol-item-poster img{display:block!important;width:100%!important;height:100%!important;min-width:0!important;min-height:0!important;max-width:none!important;max-height:none!important;aspect-ratio:2/3!important;object-fit:cover!important;object-position:center!important;}


/* 1.9.48: hard-lock item poster geometry. Some themes/plugins can override
 * aspect-ratio/height on replaced images, so the poster frame itself owns
 * the 2:3 height and the image is positioned inside that frame. */
.acol-items-section .acol-item-poster-wrap,
.acol-story .acol-item-poster-wrap,
.acol-single .acol-item-poster-wrap{width:100%!important;overflow:hidden!important;}
.acol-items-section .acol-item-poster,
.acol-story .acol-item-poster,
.acol-single .acol-item-poster{display:block!important;position:relative!important;width:100%!important;height:0!important;padding:0 0 150%!important;aspect-ratio:auto!important;overflow:hidden!important;box-sizing:border-box!important;}
.acol-items-section .acol-item-poster img,
.acol-story .acol-item-poster img,
.acol-single .acol-item-poster img{position:absolute!important;inset:0!important;display:block!important;width:100%!important;height:100%!important;min-width:100%!important;min-height:100%!important;max-width:none!important;max-height:none!important;margin:0!important;padding:0!important;object-fit:cover!important;object-position:center center!important;}
.acol-items-section .acol-item-rating,
.acol-story .acol-item-rating,
.acol-single .acol-item-rating{z-index:4!important;}

/* 1.9.49: responsive-only correction.
 * Keeps the existing visual system and functionality unchanged while making
 * every public collection/story component fit narrow and wide viewports. */
*,*::before,*::after{box-sizing:border-box}
.acol-page{width:100%;max-width:100%;overflow-x:hidden}
.acol-page img{max-width:100%}
.acol-container{width:min(1240px,calc(100% - 32px));max-width:100%;min-width:0}
.acol-archive-hero,.acol-collection-hero,.acol-story-hero,.acol-archive-content,.acol-items-section{max-width:100%;overflow-x:hidden}
.acol-collection-grid,.acol-item-grid{width:100%;min-width:0}
.acol-collection-grid{grid-template-columns:repeat(4,minmax(0,1fr))}
.acol-item-grid{grid-template-columns:repeat(5,minmax(0,1fr))}
.acol-collection-card,.acol-item-card,.acol-card-body,.acol-card-content-row,.acol-card-text,.acol-item-copy,.acol-collection-copy,.acol-result-main{min-width:0;max-width:100%}
.acol-card-name,.acol-card-overview,.acol-item-copy h3,.acol-collection-copy h1,.acol-collection-copy p,.acol-result-main strong,.acol-result-main span{max-width:100%;overflow-wrap:anywhere}
.acol-card-name{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.acol-card-overview{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}
.acol-item-copy h3{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;overflow-wrap:normal;word-break:normal}
.acol-item-copy>div:last-child{min-width:0}
.acol-item-copy>div:last-child span{max-width:100%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.acol-card-content-row{width:100%;flex-wrap:nowrap}
.acol-card-text{min-width:0;flex:1 1 auto}
.acol-card-content-row>.acol-lang-switch{flex:0 0 auto;max-width:100%}
.acol-search-wrap{width:100%;min-width:0}
.acol-search-wrap input{min-width:0}
.acol-search-results{width:100%;min-width:0}
.acol-result{min-width:0;width:100%}
.acol-result-main{flex:1 1 auto;min-width:0}
.acol-result-main strong,.acol-result-main span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.acol-section-head{min-width:0;gap:16px}
.acol-section-head>div{min-width:0}
.acol-section-head h2{overflow-wrap:anywhere}
.acol-count{flex:0 0 auto;white-space:nowrap}
.acol-meta-row{flex-wrap:wrap;min-width:0}
.acol-meta-row span{white-space:nowrap;max-width:100%;overflow:hidden;text-overflow:ellipsis}
.acol-page-lang{max-width:100%;white-space:nowrap;flex-wrap:nowrap}
.acol-collection-hero-inner,.acol-story .acol-collection-hero-inner,.acol-single .acol-collection-hero-inner{width:100%;min-width:0}
.acol-collection-poster{min-width:0}
.acol-collection-copy{min-width:0;width:100%}

@media (min-width:1281px){
  .acol-collection-grid{gap:22px}
  .acol-item-grid{gap:24px 20px}
}

@media (max-width:1100px){
  .acol-collection-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
  .acol-item-grid{grid-template-columns:repeat(4,minmax(0,1fr))}
  .acol-story .acol-item-grid,.acol-single .acol-item-grid{grid-template-columns:repeat(4,minmax(0,1fr))}
}

@media (max-width:820px){
  .acol-container{width:min(100% - 24px,1240px)}
  .acol-collection-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
  .acol-item-grid,.acol-story .acol-item-grid,.acol-single .acol-item-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:15px}
  .acol-section-head{align-items:flex-end;gap:10px}
  .acol-section-head h2{font-size:25px}
  .acol-collection-hero-inner,.acol-story .acol-collection-hero-inner,.acol-single .acol-collection-hero-inner{grid-template-columns:150px minmax(0,1fr);gap:20px;padding-bottom:38px}
  .acol-collection-poster img,.acol-story .acol-collection-poster img,.acol-single .acol-collection-poster img{width:150px!important;max-width:150px!important;height:225px!important;max-height:225px!important}
  .acol-collection-copy h1{font-size:clamp(28px,5vw,42px)}
  .acol-collection-copy p{font-size:13px;line-height:1.85}
  .acol-page-lang button{min-width:68px!important}
}

@media (max-width:600px){
  .acol-container{width:calc(100% - 20px)}
  .acol-archive-hero{padding:48px 0 34px}
  .acol-archive-hero h1,.acol-story-hero h1{font-size:clamp(32px,10vw,48px)}
  .acol-archive-hero p,.acol-story-hero p{font-size:14px;line-height:1.85}
  .acol-search-wrap{border-radius:14px}
  .acol-search-wrap input{padding:12px 10px;font-size:14px}
  .acol-search-wrap button{padding:12px 14px}
  .acol-collection-grid{gap:10px}
  .acol-card-media{height:auto;aspect-ratio:4/5}
  .acol-card-media img{height:88%;width:62%}
  .acol-card-body{padding:11px}
  .acol-card-body h3{font-size:14px}
  .acol-card-body p{font-size:11px;line-height:1.7}
  .acol-item-grid,.acol-story .acol-item-grid,.acol-single .acol-item-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:13px}
  .acol-items-section{padding:38px 0}
  .acol-section-head{margin-bottom:18px}
  .acol-section-head h2{font-size:22px}
  .acol-count{font-size:11px}
  .acol-collection-hero,.acol-story .acol-collection-hero,.acol-single .acol-collection-hero{min-height:0}
  .acol-collection-hero-inner,.acol-story .acol-collection-hero-inner,.acol-single .acol-collection-hero-inner{grid-template-columns:110px minmax(0,1fr);gap:15px;padding:34px 0}
  .acol-collection-poster img,.acol-story .acol-collection-poster img,.acol-single .acol-collection-poster img{width:110px!important;max-width:110px!important;height:165px!important;max-height:165px!important}
  .acol-collection-copy h1{font-size:clamp(24px,7vw,31px);line-height:1.15;margin:6px 0 10px}
  .acol-collection-copy p{font-size:11px;line-height:1.8}
  .acol-meta-row{gap:6px;margin-top:12px}
  .acol-meta-row span{font-size:9px;padding:5px 7px}
  .acol-page-lang{gap:5px!important;min-height:36px!important}
  .acol-page-lang button{min-width:62px!important;min-height:34px!important;padding:6px 9px!important;font-size:11px!important}
  .acol-lang-switch button,.acol-item-lang button{min-width:36px!important;min-height:28px!important;padding:4px 7px!important;font-size:10px!important}
  .acol-card-content-row{gap:5px}
}

@media (max-width:430px){
  .acol-container{width:calc(100% - 16px)}
  .acol-collection-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
  .acol-item-grid,.acol-story .acol-item-grid,.acol-single .acol-item-grid{gap:10px}
  .acol-card-media{aspect-ratio:3/4}
  .acol-card-body{padding:9px}
  .acol-card-body h3{font-size:13px;margin-bottom:5px}
  .acol-card-body p{font-size:10px}
  .acol-card-content-row>.acol-lang-switch{margin-bottom:0}
  .acol-item-copy{padding:9px!important}
  .acol-item-copy h3{font-size:12px!important;line-height:1.5!important;margin:6px 0 7px!important}
  .acol-item-copy>div:last-child{gap:4px!important;font-size:8px!important}
  .acol-item-copy>div:last-child span{padding:3px 5px!important}
  .acol-collection-hero-inner,.acol-story .acol-collection-hero-inner,.acol-single .acol-collection-hero-inner{grid-template-columns:1fr;gap:16px;padding:28px 0}
  .acol-collection-poster,.acol-story .acol-collection-poster,.acol-single .acol-collection-poster{justify-content:flex-start!important;padding:0!important}
  .acol-collection-poster img,.acol-story .acol-collection-poster img,.acol-single .acol-collection-poster img{width:125px!important;max-width:125px!important;height:188px!important;max-height:188px!important}
  .acol-collection-copy h1{font-size:28px}
  .acol-page-lang{margin:8px 0 4px}
  .acol-section-head h2{font-size:20px}
}

@media (max-width:359px){
  .acol-container{width:calc(100% - 14px)}
  .acol-collection-grid{gap:7px}
  .acol-item-grid,.acol-story .acol-item-grid,.acol-single .acol-item-grid{gap:8px}
  .acol-card-body{padding:8px}
  .acol-card-body h3{font-size:12px}
  .acol-lang-switch{gap:2px!important;padding:2px!important}
  .acol-lang-switch button,.acol-item-lang button{min-width:32px!important;min-height:26px!important;padding:3px 5px!important;font-size:9px!important}
  .acol-item-copy{padding:8px!important}
  .acol-item-copy h3{font-size:11px!important}
  .acol-collection-poster img,.acol-story .acol-collection-poster img,.acol-single .acol-collection-poster img{width:115px!important;max-width:115px!important;height:173px!important;max-height:173px!important}
  .acol-page-lang button{min-width:58px!important;font-size:10px!important}
}

@media (min-width:361px) and (max-width:600px){
  .acol-item-copy h3{white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}
}

/* 1.9.49 Responsive final correction v2: full collection-card text, no truncation.
 * Language switch stays at the bottom-right without stealing horizontal text width. */
.acol-collection-grid{align-items:stretch}
.acol-collection-card{height:100%;display:flex;flex-direction:column}
.acol-card-media{flex:0 0 auto}
.acol-card-body{display:flex!important;flex:1 1 auto;width:100%;box-sizing:border-box;padding:14px!important}
.acol-card-content-row{display:flex!important;flex-direction:column!important;align-items:stretch!important;justify-content:flex-start!important;gap:0!important;width:100%!important;min-width:0!important}
.acol-card-content-row .acol-card-text{display:block!important;width:100%!important;max-width:none!important;min-width:0!important;flex:0 0 auto!important}
/* Never reserve a horizontal column for the language buttons. */
.acol-card-content-row .acol-card-name,
.acol-card-content-row .acol-card-overview{display:block!important;width:100%!important;max-width:none!important;white-space:normal!important;overflow:visible!important;text-overflow:clip!important;overflow-wrap:break-word!important;word-break:normal!important;height:auto!important;max-height:none!important;-webkit-line-clamp:unset!important}
.acol-card-content-row .acol-card-name{margin:0 0 8px!important}
.acol-card-content-row .acol-card-overview{margin:0 0 10px!important}
/* Buttons remain after the complete text and stay on the right in RTL. */
.acol-card-content-row>.acol-lang-switch{position:static!important;left:auto!important;right:auto!important;top:auto!important;bottom:auto!important;align-self:flex-end!important;flex:0 0 auto!important;margin:0!important;width:max-content!important;max-width:100%!important}
.acol-card-content-row>.acol-lang-switch button{white-space:nowrap!important;flex:0 0 auto!important}
@media(max-width:720px){
 .acol-card-body{padding:11px!important}
 .acol-card-content-row .acol-card-name{font-size:clamp(12px,3.2vw,15px)!important;line-height:1.55!important}
 .acol-card-content-row .acol-card-overview{font-size:clamp(10px,2.7vw,12px)!important;line-height:1.9!important}
 .acol-card-content-row>.acol-lang-switch{margin-top:2px!important}
}
@media(max-width:359px){
 .acol-card-body{padding:9px!important}
 .acol-card-content-row .acol-card-name{font-size:12px!important}
 .acol-card-content-row .acol-card-overview{font-size:10px!important;line-height:1.85!important}
}
