/* Стили оформления «poster» — ktodarit.ru. Общие — /t/core.css. */
.th-poster { --blue: #2530ff; --deep: #1a1fc4; --cream: #fff4dc; --ink: #14112b; --pink: #ff4fa3; --lime: #d4ff3a; --red: #e8321f; background: var(--blue); color: var(--cream); }
.th-poster::before { content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 1; opacity: .13;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
.th-poster .hero { position: relative; min-height: 88vh; padding: 24px 16px 0; display: flex; flex-direction: column; }
.th-poster .topbar { display: flex; justify-content: space-between; font: 400 13px "Unbounded", sans-serif; letter-spacing: .08em; text-transform: uppercase; }
.th-poster .topbar b { color: var(--lime); font-weight: 400; }
.th-poster .big { flex: 1; display: flex; flex-direction: column; justify-content: center; max-width: 1200px; width: 100%; margin: 0 auto; }
.th-poster .date { font: 900 clamp(96px, 27vw, 360px)/.82 "Unbounded", sans-serif; letter-spacing: -.05em; margin: 0; color: transparent; -webkit-text-stroke: 2px var(--cream); position: relative; z-index: 0; }
.th-poster .date .fill { position: absolute; left: 0; top: 0; color: var(--pink); -webkit-text-stroke: 0; transform: translate(10px, 10px); z-index: -1; }
.th-poster .title { font: 800 clamp(28px, 6vw, 64px)/1 "Unbounded", sans-serif; text-transform: uppercase; margin: 18px 0 0; }
.th-poster .title em { font-style: normal; background: var(--lime); color: var(--ink); padding: 0 .2em; display: inline-block; transform: rotate(-2deg); }
.th-poster .hand { font: 700 clamp(22px, 3.5vw, 32px) "Caveat", cursive; color: var(--lime); margin: 16px 0 0; max-width: 600px; transform: rotate(-1.5deg); white-space: pre-line; }
.th-poster .spin { position: absolute; right: 6vw; top: 12vh; width: clamp(110px, 16vw, 180px); aspect-ratio: 1; animation: p-spin 18s linear infinite; }
.th-poster .spin text { font: 800 13.5px "Unbounded", sans-serif; letter-spacing: 3px; fill: var(--lime); }
.th-poster .spin .g { animation: p-spin 18s linear infinite reverse; transform-box: view-box; transform-origin: 100px 100px; }
@keyframes p-spin { to { transform: rotate(360deg); } }
.th-poster .marquee { background: var(--lime); color: var(--ink); transform: rotate(-2deg); margin: 40px -20px 0; overflow: hidden; white-space: nowrap; border-block: 3px solid var(--ink); font: 800 clamp(18px, 3vw, 30px) "Unbounded", sans-serif; padding: 14px 0; }
.th-poster .marquee .track { display: inline-block; animation: p-run 28s linear infinite; }
.th-poster .marquee span { padding: 0 28px; }
@keyframes p-run { to { transform: translateX(-50%); } }
.th-poster .list-head { max-width: 1200px; margin: 110px auto 40px; padding: 0 16px; display: flex; justify-content: space-between; align-items: end; gap: 16px; flex-wrap: wrap; }
.th-poster .list-head h2 { font: 900 clamp(36px, 7vw, 80px)/.9 "Unbounded", sans-serif; text-transform: uppercase; margin: 0; }
.th-poster .list-head p { font: 700 26px "Caveat", cursive; color: var(--lime); margin: 0; max-width: 360px; }
.th-poster .grid { max-width: 1200px; margin: 0 auto; padding: 0 16px 60px; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); gap: 64px 36px; }
.th-poster .tag { --r: -2deg; position: relative; background: var(--cream); color: var(--ink); border-radius: 18px 18px 22px 22px; padding: 52px 18px 18px; transform: rotate(var(--r)); transition: transform .35s cubic-bezier(.3, 1.6, .5, 1); box-shadow: 8px 10px 0 var(--deep); transform-origin: 50% 0; }
.th-poster .tag:nth-child(3n+2) { --r: 2.5deg; }
.th-poster .tag:nth-child(3n+3) { --r: -1deg; }
.th-poster .tag:hover { transform: rotate(0) translateY(-6px); }
.th-poster .tag::before { content: ""; position: absolute; left: 50%; top: 16px; width: 18px; height: 18px; margin-left: -9px; border-radius: 50%; background: var(--blue); box-shadow: inset 0 0 0 3px #e7d8b8; }
.th-poster .string { position: absolute; left: 50%; top: -46px; width: 2px; height: 70px; background: repeating-linear-gradient(var(--cream) 0 4px, transparent 4px 7px); }
.th-poster .num { position: absolute; left: 18px; top: 14px; font: 800 13px "Unbounded", sans-serif; color: var(--pink); }
.th-poster .price { position: absolute; right: 16px; top: 12px; font: 800 12px "Unbounded", sans-serif; background: var(--ink); color: var(--lime); padding: 5px 10px; border-radius: 999px; }
.th-poster .pic { display: grid; place-items: center; border-radius: 12px; border: 3px solid var(--ink); aspect-ratio: 4 / 3; background: #fff; font-size: 84px; transition: filter .3s; }
.th-poster .tag h3 { font: 800 20px/1.15 "Unbounded", sans-serif; margin: 16px 0 14px; overflow-wrap: anywhere; }
.th-poster .btn { width: 100%; font: 700 15px "Manrope", sans-serif; padding: 12px; border-radius: 12px; border: 3px solid var(--ink); background: var(--pink); color: #fff; transition: transform .15s, box-shadow .15s; }
.th-poster .btn:hover { transform: translate(-2px, -2px); box-shadow: 4px 4px 0 var(--ink); }
.th-poster .taken .btn { background: var(--lime); color: var(--ink); }
.th-poster .stamp { display: none; position: absolute; left: 50%; top: 40%; transform: translate(-50%, -50%) rotate(-14deg); font: 900 26px/1 "Unbounded", sans-serif; text-transform: uppercase; text-align: center; color: var(--red); border: 5px solid var(--red); border-radius: 10px; padding: 8px 14px; background: rgba(255, 244, 220, .75); pointer-events: none; z-index: 3; }
.th-poster .stamp small { display: block; font-size: 11px; letter-spacing: .15em; margin-top: 4px; }
.th-poster .taken .stamp { display: block; animation: p-thump .45s cubic-bezier(.2, 2, .4, 1); }
.th-poster .taken .pic { filter: grayscale(1) opacity(.55); }
@keyframes p-thump { from { transform: translate(-50%, -50%) rotate(-14deg) scale(2.2); opacity: 0; } }
.th-poster footer:not(.ktd-foot) { text-align: center; padding: 30px 16px 10px; font: 700 30px "Caveat", cursive; color: var(--lime); }
@media (max-width: 640px) {
  .th-poster .spin { top: auto; bottom: 120px; right: 16px; }
  .th-poster .date { -webkit-text-stroke-width: 1.5px; }
  .th-poster .date .fill { transform: translate(5px, 5px); }
}
.th-poster .pic { position: relative; overflow: hidden; }
.th-poster .pic .gift-img { position: absolute; inset: 0; padding: 6px; }
.th-poster .tt, .th-party .tt, .th-news .tt, .th-tree .tt { --tt-l: 3; }
