/* Стили оформления «camo» — ktodarit.ru. Общие — /t/core.css. */
:is(.th-camo, .th-garage, .th-otkrytka, .th-radar, .th-navy) .tt { --tt-l: 2; }
:is(.th-camo, .th-garage, .th-otkrytka, .th-radar, .th-navy) .ph:has(.gift-img) { display: block; overflow: hidden; }
:is(.th-camo, .th-garage, .th-otkrytka, .th-radar, .th-navy) .hero { position: relative; overflow: hidden; }
:is(.th-camo, .th-garage, .th-otkrytka, .th-radar, .th-navy) h1 { position: relative; overflow-wrap: anywhere; }
:is(.th-camo, .th-garage, .th-otkrytka, .th-radar, .th-navy) .greet { position: relative; white-space: pre-line; overflow-wrap: anywhere; }
:is(.th-camo, .th-garage, .th-otkrytka, .th-radar, .th-navy) .sec-sub { text-align: center; max-width: 580px; margin: 0 auto 40px; padding: 0 20px; line-height: 1.5; }
:is(.th-camo, .th-garage, .th-otkrytka, .th-radar, .th-navy) .list { max-width: 1120px; margin: 0 auto; padding: 14px 20px 70px; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); gap: 40px 26px; }
:is(.th-camo, .th-garage, .th-otkrytka, .th-radar, .th-navy) .card { position: relative; text-align: center; display: flex; flex-direction: column; align-items: center; }
:is(.th-camo, .th-garage, .th-otkrytka, .th-radar, .th-navy) .card h3 { width: 100%; overflow-wrap: anywhere; }
:is(.th-camo, .th-garage, .th-otkrytka, .th-radar, .th-navy) .card .btn { margin-top: auto; cursor: pointer; }
:is(.th-camo, .th-garage, .th-otkrytka, .th-radar, .th-navy) .taken .btn { padding-left: 16px; padding-right: 16px; white-space: nowrap; }
.th-camo .paper, .th-garage .plate, .th-otkrytka .back, .th-radar .hud, .th-navy .in { container-type: inline-size; }
.th-camo { --ink: #26261c; color: #f1ecd6; font-family: "Manrope", sans-serif; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Crect width='300' height='300' fill='%2377744a'/%3E%3Cpath fill='%234a5a2a' d='M10 45 C30 20 60 50 90 30 S140 8 170 30 C190 55 150 80 120 75 S70 95 40 85 S5 70 10 45Z M180 120 C210 95 255 110 275 140 S290 190 265 200 C240 212 230 180 200 185 S150 170 160 145 S170 130 180 120Z M30 190 C60 170 100 200 110 230 S90 285 60 278 S12 260 15 230 S12 205 30 190Z M200 240 C230 230 270 245 285 262 S270 292 240 288 S195 280 190 262 S192 246 200 240Z M235 12 C255 5 285 15 288 35 S270 60 250 52 S228 25 235 12Z'/%3E%3Cpath fill='%236e5233' d='M100 100 C130 85 160 110 150 135 S110 160 90 145 S80 110 100 100Z M222 60 C245 55 270 70 262 88 S232 100 220 88 S210 66 222 60Z M120 220 C140 205 175 225 165 250 S130 270 115 255 S105 232 120 220Z M12 125 C30 115 52 130 46 150 S20 165 12 155 S5 132 12 125Z'/%3E%3Cpath fill='%2326281b' d='M60 110 C75 100 95 115 88 125 S65 135 55 128 S50 116 60 110Z M200 70 C210 64 222 70 218 80 S204 88 198 82Z M250 210 C262 202 282 212 276 224 S254 234 246 226Z M20 20 C30 12 46 18 42 28 S24 36 18 30Z M150 272 C165 262 185 272 180 284 S158 292 148 286Z M120 170 C130 160 150 168 146 178 S126 186 118 180Z'/%3E%3C/svg%3E") 0 0 / 420px 420px, #77744a; }
.th-camo::before { content: ""; position: fixed; inset: 0; z-index: 0; pointer-events: none; background: radial-gradient(ellipse at 50% 30%, transparent 40%, rgba(15, 18, 8, .55)); }
.th-camo > * { position: relative; z-index: 1; }
.th-camo .hero { padding: 40px 20px 30px; }
.th-camo .desk { position: relative; max-width: 1200px; min-height: 760px; margin: 0 auto; display: flex; align-items: center; justify-content: center; }
.th-camo .map { position: absolute; left: 0; top: 30px; width: 420px; transform: rotate(-7deg); box-shadow: 0 18px 30px rgba(0, 0, 0, .45); animation: f23-in .7s backwards; }
.th-camo .map .lb { font: 700 11px "JetBrains Mono", monospace; fill: #6b4f2a; }
.th-camo .map .lb.r { fill: #c1272d; font-size: 14px; }
.th-camo .map .mk { stroke-dasharray: 1; stroke-dashoffset: 1; animation: f23-draw 2.6s 1.2s ease-in-out forwards; }
.th-camo .map .tgt { transform-origin: 250px 70px; animation: cm-tgt 1.4s 3.6s ease-in-out infinite both; }
@keyframes cm-tgt { 0% { opacity: 0; transform: scale(2); } 30% { opacity: 1; transform: scale(1); } 100% { opacity: 1; } }
.th-camo .cmp { position: absolute; left: 70px; bottom: 30px; width: 150px; filter: drop-shadow(0 12px 10px rgba(0, 0, 0, .45)); animation: f23-in .7s .2s backwards; }
.th-camo .cmp text { font: 700 9px "Russo One", sans-serif; fill: #3b3320; }
.th-camo .cmp .ndl { transform-origin: 50px 50px; animation: cm-ndl 5s ease-in-out infinite; }
@keyframes cm-ndl { 0% { transform: rotate(-40deg); } 20% { transform: rotate(25deg); } 35% { transform: rotate(-12deg); } 50%, 100% { transform: rotate(4deg); } }
.th-camo .tags { position: absolute; right: 30px; top: -40px; width: 170px; transform-origin: 50% 0; filter: drop-shadow(0 12px 8px rgba(0, 0, 0, .45)); animation: cm-swing 3.4s ease-in-out infinite alternate; }
@keyframes cm-swing { from { transform: rotate(-5deg); } to { transform: rotate(5deg); } }
.th-camo .tags .chn { fill: none; stroke: #b9bec4; stroke-width: 4; stroke-linecap: round; stroke-dasharray: 0 6; }
.th-camo .tags text { font: 700 12px "JetBrains Mono", monospace; fill: #4a5057; letter-spacing: .04em; }
.th-camo .tags text.s { font-size: 7px; letter-spacing: 0; }
.th-camo .folder { position: relative; z-index: 2; width: min(600px, 100%); margin-top: 30px; padding: 16px; background: linear-gradient(170deg, #dcbc80, #c9a464); border-radius: 0 10px 10px 10px; box-shadow: 0 26px 44px rgba(0, 0, 0, .5); transform: rotate(1.2deg); animation: f23-in .7s .1s backwards; }
.th-camo .tab { position: absolute; left: 0; bottom: 100%; margin: 0; padding: 8px 22px 4px; background: #dcbc80; border-radius: 10px 10px 0 0; font: 700 14px "JetBrains Mono", monospace; letter-spacing: .1em; color: #5a4320; }
.th-camo .paper { position: relative; padding: 30px 34px 30px; color: var(--ink); background: linear-gradient(rgba(255, 255, 255, .25), transparent), #f3eedc; box-shadow: 0 2px 6px rgba(0, 0, 0, .25); transform: rotate(-1.6deg); font-family: "JetBrains Mono", monospace; }
.th-camo .paper::before { content: ""; position: absolute; left: 50%; top: -14px; width: 36px; height: 60px; margin-left: -18px; border: 4px solid #9aa1a8; border-radius: 18px; border-bottom-color: transparent; transform: rotate(8deg); }
.th-camo .paper .top { display: flex; justify-content: space-between; margin: 0 0 16px; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; opacity: .6; }
.th-camo .stamp { --sr: -7deg; position: absolute; right: 22px; top: 92px; margin: 0; padding: 6px 12px; border: 3px solid #c1272d; outline: 1.5px solid #c1272d; outline-offset: 2px; color: #c1272d; font: 400 15px "Russo One", sans-serif; letter-spacing: .1em; text-transform: uppercase; opacity: .85; mix-blend-mode: multiply; animation: f23-slam .45s 1s cubic-bezier(.3, 1.4, .5, 1) both; }
.th-camo .op { margin: 26px 0 0; font: 400 clamp(20px, 2.6vw, 26px) "Russo One", sans-serif; letter-spacing: .04em; color: #3d4224; }
.th-camo .lbl { margin: 18px 0 0; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; opacity: .65; }
.th-camo h1 { margin: 2px 0 0; font: 400 min(calc(clamp(48px, 7.4vw, 92px) * max(var(--k, 1), .7)), calc(100cqi / var(--w, 1) / .78))/1.05 "Russo One", sans-serif; color: #2f3b26; text-transform: uppercase; letter-spacing: .02em; }
.th-camo dl { margin: 18px 0 0; display: grid; grid-template-columns: auto 1fr; gap: 6px 14px; font-size: 14px; }
.th-camo dt { opacity: .6; text-transform: uppercase; font-size: 12px; letter-spacing: .06em; padding-top: 2px; }
.th-camo dd { margin: 0; font-weight: 700; border-bottom: 1px dashed rgba(38, 38, 28, .35); }
.th-camo .greet { margin: 18px 0 0; font-size: 14px; line-height: 1.55; }
.th-camo .greet b { text-transform: uppercase; font-size: 12px; letter-spacing: .06em; }
.th-camo .sig { margin: 20px 0 0; text-align: right; font-size: 13px; }
.th-camo .sig i { display: inline-block; font: 700 30px "Caveat", cursive; font-style: normal; color: #1d3fbf; transform: rotate(-10deg); }
.th-camo .sec { display: flex; align-items: center; justify-content: center; gap: 14px; margin: 50px 0 12px; padding: 0 16px; font: 400 clamp(26px, 5vw, 50px)/1.1 "Russo One", sans-serif; text-transform: uppercase; color: #f1ecd6; text-shadow: 0 3px 0 #2b2e1c; }
.th-camo .cst { width: 46px; flex: none; }
.th-camo .sec-sub { color: #e8e2c6; text-shadow: 0 1px 2px rgba(0, 0, 0, .6); }
.th-camo .cr { padding: 14px 16px 20px; color: #f1ecd6; background: repeating-linear-gradient(0deg, rgba(0, 0, 0, .08) 0 2px, transparent 2px 46px), linear-gradient(#5b6b31, #4b5a27); border: 6px solid #3c4720; border-radius: 4px; box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .08), 0 14px 22px rgba(0, 0, 0, .4); transition: transform .25s; }
.th-camo .cr:hover { transform: translateY(-4px); }
.th-camo .cr::before, .th-camo .cr::after { content: ""; position: absolute; top: 44%; width: 10px; height: 34px; background: #2f3a19; border-radius: 3px; }
.th-camo .cr::before { left: -11px; }
.th-camo .cr::after { right: -11px; }
.th-camo .cr .top { width: 100%; display: flex; justify-content: space-between; margin: 0 0 10px; font: 400 15px "Russo One", sans-serif; letter-spacing: .12em; color: #e9dfa8; opacity: .9; }
.th-camo .cr .ph { width: 100%; aspect-ratio: 4 / 3; display: grid; place-items: center; font-size: 64px; background: #e7ddbd; border-radius: 2px; box-shadow: inset 0 0 0 3px #3c4720; transition: opacity .3s, filter .3s; }
.th-camo .cr h3 { margin: 14px 0 0; font: 700 17px/1.3 "Manrope", sans-serif; }
.th-camo .pr { margin: 6px 0 14px; font: 400 18px "Russo One", sans-serif; color: #ffd166; }
.th-camo .btn { border: 0; border-radius: 4px; padding: 11px 22px; background: #e2d39a; color: #2b2e1c; font: 400 14px "Russo One", sans-serif; letter-spacing: .06em; text-transform: uppercase; box-shadow: 0 4px 0 #9c8f5a; transition: transform .15s; }
.th-camo .btn:hover:not(:disabled) { transform: translateY(-2px); }
.th-camo .taken .btn { background: #2f3a19; color: #e2d39a; box-shadow: 0 4px 0 #1b220d; text-transform: none; letter-spacing: 0; font-family: "Manrope", sans-serif; font-weight: 800; }
.th-camo .taken .ph { opacity: .55; filter: grayscale(.7); }
.th-camo .ok { --sr: -12deg; display: none; position: absolute; z-index: 3; left: 50%; top: 30%; margin-left: -88px; width: 176px; padding: 8px 6px; border: 4px double #c1272d; color: #c1272d; background: rgba(243, 238, 220, .78); font: 400 19px/1.1 "Russo One", sans-serif; letter-spacing: .08em; text-transform: uppercase; pointer-events: none; }
.th-camo .taken .ok { display: block; animation: f23-slam .4s cubic-bezier(.3, 1.4, .5, 1) both; }
.th-camo footer:not(.ktd-foot) { text-align: center; padding: 10px 16px 50px; font: 400 22px "Russo One", sans-serif; letter-spacing: .06em; color: #e8e2c6; text-shadow: 0 2px 0 #2b2e1c; }
@media (max-width: 1000px) {
  .th-camo .desk { flex-direction: column; min-height: 0; padding-top: 170px; }
  .th-camo .map { left: 2%; top: 10px; width: 300px; }
  .th-camo .cmp { left: auto; right: 4%; bottom: auto; top: 380px; display: none; }
  .th-camo .tags { right: 4%; top: -46px; width: 130px; }
}
@media (max-width: 640px) {
  .th-camo .hero { padding: 20px 12px 20px; }
  .th-camo .desk { padding-top: 150px; }
  .th-camo .map { width: 230px; left: -10px; }
  .th-camo .tags { width: 104px; right: 0; top: -40px; }
  .th-camo .paper { padding: 26px 18px 22px; }
  .th-camo .stamp { position: relative; right: auto; top: auto; display: inline-block; margin-top: 4px; font-size: 13px; }
  .th-camo .op { margin-top: 14px; }
  .th-camo dl { grid-template-columns: 1fr; gap: 2px; }
  .th-camo dt { padding-top: 8px; }
}
@media (max-width: 640px) {
  .th-camo .paper .top span:last-child { display: none; }
}
