.tm-page .btn svg,.tm-page .btn2 svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round}
.tm-page .btn2{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:38px;padding:0 14px;border-radius:10px;border:1px solid var(--line);background:rgba(255,255,255,.06);color:var(--ink);font:inherit;font-size:14px;font-weight:650;text-decoration:none;cursor:pointer;white-space:nowrap}
.tm-page .btn2:hover{background:rgba(255,255,255,.12)}
.tm-page .btn2:disabled{opacity:.35;cursor:default}
.tm-page .btn2.pri{background:var(--ink);color:var(--bg);border-color:var(--ink)}
.tm-page .btn2.warn{color:#ffb4b4;border-color:rgba(255,120,120,.4)}
.tm-need{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(0,1fr);gap:28px;align-items:center}
.tm-demo{display:flex;flex-direction:column;gap:2px;background:#000;border:2px solid #000;border-radius:8px;overflow:hidden}
.tm-drow{display:flex;min-height:56px;background:#1c1f26}
.tm-dl{flex:0 0 64px;display:flex;align-items:center;justify-content:center;font-size:22px;font-weight:800;color:#111}
.tm-cS{background:#ff7f7f}.tm-cA{background:#ffbf7f}.tm-cB{background:#ffdf7f}.tm-cC{background:#ffff7f}.tm-cD{background:#bfff7f}
.tm-dtiles{display:flex;flex-wrap:wrap;gap:3px;padding:3px}
.tm-tile{width:50px;height:50px;border-radius:4px;display:block}
.tm-tl0{background:linear-gradient(135deg,#7c5cff,#22d3ee)}.tm-tl1{background:linear-gradient(135deg,#f472b6,#facc15)}.tm-tl2{background:linear-gradient(135deg,#22d3ee,#34d399)}.tm-tl3{background:linear-gradient(135deg,#facc15,#fb923c)}.tm-tl4{background:linear-gradient(135deg,#a78bfa,#f472b6)}
.tm-need-h{font-size:20px;font-weight:800;margin:0 0 8px}
.tm-needt p{color:var(--mut);margin:0 0 16px}
.tm-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 0 14px}
.tm-head h2{margin:0;font-size:20px}
.tm-head small,.tm-ih small{color:var(--mut);font-weight:600;font-size:14px;margin-left:6px}
.tm-new{border:0;cursor:pointer;font:inherit;font-weight:750}
.tm-msg{margin:0 0 12px;color:var(--a2);font-weight:650}
.tm-msg[hidden]{display:none}
.tm-cards{display:grid;grid-template-columns:repeat(auto-fill,minmax(250px,1fr));gap:14px}
.tm-card{display:flex;flex-direction:column;border-radius:var(--r);background:var(--card);border:1px solid var(--line);overflow:hidden}
.tm-cover{text-decoration:none;display:flex;align-items:center;justify-content:center;aspect-ratio:16/9;background:#141a2e;overflow:hidden}
.tm-cover img{width:100%;height:100%;object-fit:cover;display:block}
.tm-nocover{font-size:28px;font-weight:800;letter-spacing:.2em;color:rgba(255,255,255,.25)}
.tm-cb{padding:14px;display:flex;flex-direction:column;gap:6px;flex:1 1 auto}
.tm-cb h3{margin:0;font-size:16px;line-height:1.35;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.tm-meta{margin:0;color:var(--mut);font-size:13px}
.tm-cacts{display:flex;flex-wrap:wrap;gap:6px;margin-top:auto;padding-top:6px}
.tm-cacts .btn2{min-height:34px;padding:0 10px;font-size:13px}
.tm-none,.tm-wait{color:var(--mut);margin:8px 0}
.tm-edh{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin:0 0 10px}
.tm-st{color:var(--mut);font-size:13px;flex:1 1 auto}
.tm-edacts{display:flex;gap:6px;flex-wrap:wrap}
.tm-url{margin:0 0 14px;font-size:14px;color:var(--mut);word-break:break-all}
.tm-url a{color:var(--a2);font-weight:700}
.tm-grid2{display:grid;grid-template-columns:minmax(280px,360px) minmax(0,1fr);gap:16px;align-items:start}
.tm-f{display:block;margin:0 0 16px}
.tm-f>span{display:block;margin:0 0 6px;font-size:13px;color:var(--mut);font-weight:700}
.tm-f input[type=text],.tm-f textarea,.tm-f select{width:100%;padding:10px 12px;border-radius:10px;border:1px solid var(--line);background:rgba(0,0,0,.25);color:var(--ink);font:inherit;font-size:15px}
.tm-f textarea{resize:vertical;min-height:64px}
.tm-rows{display:flex;flex-direction:column;gap:6px;margin:0 0 8px}
.tm-row{display:flex;align-items:center;gap:6px}
.tm-row input[type=color]{flex:0 0 38px;width:38px;height:38px;padding:0;border:1px solid var(--line);border-radius:8px;background:none;cursor:pointer}
.tm-row input[type=text]{flex:1 1 auto;min-width:0;height:38px;padding:0 10px;border-radius:8px;border:1px solid var(--line);background:rgba(0,0,0,.25);color:var(--ink);font:inherit;font-size:15px}
.tm-rb{flex:0 0 32px;height:38px;border-radius:8px;border:1px solid var(--line);background:rgba(255,255,255,.05);color:var(--ink);font-size:16px;cursor:pointer}
.tm-rb:disabled{opacity:.3;cursor:default}
.tm-delt{margin-top:8px}
.tm-ih{display:flex;align-items:baseline;gap:10px;flex-wrap:wrap;margin:0 0 10px}
.tm-ih h2{margin:0;font-size:18px}
.tm-ih p{margin:0;color:var(--mut);font-size:13px}
.tm-drop{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;padding:22px 16px;border:2px dashed rgba(255,255,255,.22);border-radius:14px;text-align:center;cursor:pointer;transition:border-color .15s,background .15s}
.tm-drop:hover,.tm-drop.on{border-color:var(--a2);background:rgba(34,211,238,.08)}
.tm-drop input{position:absolute;width:1px;height:1px;opacity:0;pointer-events:none}
.tm-drop:focus-within{outline:2px solid var(--a2);outline-offset:2px}
.tm-drop svg{width:30px;height:30px;fill:none;stroke:var(--a2);stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.tm-drop b{font-size:15px}
.tm-drop small{color:var(--mut);font-size:12.5px}
.tm-prog{margin:12px 0 0;font-size:13px;color:var(--mut)}
.tm-prog[hidden]{display:none}
.tm-prog i{display:block;height:6px;margin-top:6px;border-radius:9px;background:rgba(255,255,255,.1);overflow:hidden}
.tm-prog b{display:block;height:100%;width:0;background:linear-gradient(90deg,var(--a1),var(--a2));transition:width .25s}
.tm-thumbs{display:grid;grid-template-columns:repeat(auto-fill,minmax(112px,1fr));gap:12px;margin-top:14px}
.tm-th{display:flex;flex-direction:column;gap:6px;min-width:0}
.tm-thi{position:relative;aspect-ratio:1;border-radius:10px;overflow:hidden;background:#141a2e;cursor:grab;touch-action:manipulation;user-select:none;-webkit-user-select:none;-webkit-touch-callout:none}
.tm-thi:focus-visible{outline:2px solid var(--a2);outline-offset:2px}
.tm-thi img{width:100%;height:100%;object-fit:cover;display:block;pointer-events:none}
.tm-no{position:absolute;left:6px;top:6px;min-width:22px;height:22px;padding:0 6px;border-radius:7px;background:rgba(0,0,0,.65);color:#fff;font-size:12px;font-weight:800;line-height:22px;text-align:center}
.tm-x{position:absolute;right:5px;top:5px;width:28px;height:28px;border-radius:8px;border:0;background:rgba(0,0,0,.65);color:#fff;font-size:18px;line-height:1;cursor:pointer}
.tm-x:hover{background:#e11d48}
.tm-cap{width:100%;height:32px;padding:0 8px;border-radius:8px;border:1px solid var(--line);background:rgba(0,0,0,.25);color:var(--ink);font:inherit;font-size:13px}
.tm-mv{display:flex;gap:4px}
.tm-mv button{flex:1 1 0;height:28px;border-radius:7px;border:1px solid var(--line);background:rgba(255,255,255,.05);color:var(--ink);font-size:16px;line-height:1;cursor:pointer}
.tm-mv button:disabled{opacity:.25;cursor:default}
.tm-src{opacity:.25}
.tm-ph{border:2px dashed var(--a2);border-radius:10px;background:rgba(34,211,238,.1)}
.tm-ghost{position:fixed;left:0;top:0;z-index:80;pointer-events:none;opacity:.92;transform-origin:0 0}
.tm-ghost .tm-thi{box-shadow:0 12px 30px rgba(0,0,0,.5);outline:2px solid var(--a2)}
body.tm-dragging,body.tm-dragging *{cursor:grabbing!important;user-select:none;-webkit-user-select:none}
.tm-dlg{width:min(440px,calc(100vw - 32px));padding:22px;border:1px solid var(--line);border-radius:16px;background:#141a2e;color:var(--ink)}
.tm-dlg::backdrop{background:rgba(3,6,16,.66)}
.tm-dt{margin:0 0 10px;font-size:17px;font-weight:800;line-height:1.4}
.tm-ds{margin:0 0 8px;color:var(--mut);font-size:14px}
.tm-dbtn{display:flex;gap:8px;justify-content:flex-end;flex-wrap:wrap;margin-top:16px}
.tm-how{margin-top:36px}
.tm-how h2{font-size:20px}
.tm-how ol{color:var(--mut);padding-left:20px;line-height:1.7}
@media (max-width:860px){
  .tm-need{grid-template-columns:1fr}
  .tm-grid2{grid-template-columns:minmax(0,1fr)}
}
@media (max-width:520px){
  .tm-cards{grid-template-columns:1fr}
  .tm-thumbs{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
  .tm-mv button{height:30px}
  .tm-tile{width:38px;height:38px}
  .tm-drow{min-height:44px}
  .tm-dl{flex-basis:48px;font-size:18px}
  .tm-edacts{width:100%}
  .tm-edacts .btn2{flex:1 1 0}
}
.tm-ed .tm-edh{position:sticky;top:calc(var(--tmtop,64px) + 6px);z-index:4;padding:8px 10px;border:1px solid var(--line);border-radius:14px;background:rgba(14,20,38,.92);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}
.tm-st{display:inline-flex;align-items:center;gap:6px;flex:0 1 auto;min-height:34px;padding:0 14px;border-radius:999px;font-size:14px;font-weight:750;color:var(--ink);background:rgba(255,255,255,.08)}
.tm-st:empty{visibility:hidden;padding:0}
.tm-st::after{content:attr(data-at);font-weight:600;opacity:.85}
.tm-st[data-s="saving"]{background:rgba(250,204,21,.16);color:#fde68a}
.tm-st[data-s="saving"]::before{content:"";width:8px;height:8px;border-radius:50%;background:#facc15;animation:tmblink 1s ease-in-out infinite}
.tm-st[data-s="saved"]{background:rgba(74,222,128,.18);color:#bbf7d0;box-shadow:inset 0 0 0 1px rgba(74,222,128,.45)}
.tm-st[data-s="saved"]::before{content:"✓";font-weight:900}
.tm-st[data-s="err"]{background:rgba(251,113,133,.18);color:#fecdd3;box-shadow:inset 0 0 0 1px rgba(251,113,133,.5)}
.tm-st[data-s="err"]::before{content:"!";font-weight:900}
.tm-st.tm-pop{animation:tmpop .45s cubic-bezier(.2,.8,.2,1)}
.tm-edacts{margin-left:auto}
@keyframes tmblink{50%{opacity:.25}}
@keyframes tmpop{0%{transform:scale(.9)}60%{transform:scale(1.06)}100%{transform:none}}
@media (prefers-reduced-motion:reduce){.tm-st.tm-pop,.tm-st[data-s="saving"]::before{animation:none}}
@media (max-width:520px){.tm-ed .tm-edh{top:calc(var(--tmtop,58px) + 4px);padding:6px 8px}.tm-st{font-size:13px;padding:0 12px}}
main:has(.tm-ed:not([hidden])){max-width:min(1640px,100%)}
.tm-page .tm-grid2{grid-template-columns:minmax(300px,380px) minmax(0,1fr);gap:18px}
.tm-page .tm-thumbs{grid-template-columns:repeat(auto-fill,minmax(104px,1fr));gap:10px}
@media (min-width:1500px){.tm-page .tm-thumbs{grid-template-columns:repeat(auto-fill,minmax(112px,1fr))}}
@media (max-width:860px){.tm-page .tm-grid2{grid-template-columns:minmax(0,1fr)}}
@media (max-width:560px){
  main:has(.tm-page){padding-left:10px;padding-right:10px}
  .tm-page .panel{padding-left:12px;padding-right:12px}
  .tm-page .tm-thumbs{grid-template-columns:repeat(4,minmax(0,1fr));gap:6px}
  .tm-page .tm-mv button{height:28px;font-size:14px}
  .tm-page .tm-cap{height:30px;padding:0 6px;font-size:12px}
}
@media (max-width:360px){.tm-page .tm-thumbs{grid-template-columns:repeat(3,minmax(0,1fr))}}
.tm-vnote{margin:-8px 0 14px;font-size:12.5px;color:var(--mut);line-height:1.5}
.tm-vnote:empty{display:none}
.tm-viewf .tm-vrow{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
.tm-viewf .tm-vrow label{display:flex;flex-direction:column;gap:4px}
.tm-viewf .tm-vrow small{color:var(--mut);font-size:12px;font-weight:700}
.tm-viewf select{width:100%;padding:8px 10px;border-radius:10px;border:1px solid var(--line);background:rgba(0,0,0,.25);color:var(--ink);font:inherit;font-size:14px}
.tm-ck{display:flex;align-items:center;gap:8px;margin-top:10px;font-size:14px;cursor:pointer}
.tm-ck input{width:18px;height:18px}
.tm-url[hidden],.tm-fixrow[hidden],[data-copybtn][hidden]{display:none}
.tm-mini{min-height:30px;padding:0 10px;font-size:12.5px}
.tg{margin-top:0}

.tg-head h2{margin:0;font-size:20px}
.tg-head .btn2 svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.tg-find{display:flex;gap:8px;margin:0 0 10px;max-width:560px}
.tg-find input{flex:1 1 auto;min-width:0;height:40px;padding:0 12px;border-radius:10px;border:1px solid var(--line);background:rgba(0,0,0,.25);color:var(--ink);font:inherit;font-size:15px}
.tg-tabs{display:flex;gap:6px;flex-wrap:wrap;margin:0 0 14px}
.tg-tabs a{display:inline-flex;align-items:center;gap:6px;height:34px;padding:0 14px;border-radius:999px;border:1px solid var(--line);color:var(--mut);font-size:13.5px;font-weight:700;text-decoration:none}
.tg-tabs a svg{width:14px;height:14px;fill:currentColor}
.tg-tabs a[aria-current]{background:var(--ink);color:var(--bg);border-color:var(--ink)}
.tg-none{color:var(--mut);margin:10px 0}
.tg-grid{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:12px}
.tg-c{position:relative;display:flex;flex-direction:column;border-radius:14px;background:var(--card);border:1px solid var(--line);overflow:hidden}
.tg-cover{display:block;aspect-ratio:16/9;background:#141a2e;overflow:hidden}
.tg-cover img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .35s}
.tg-c:hover .tg-cover img{transform:scale(1.04)}
.tg-b{padding:10px 12px 12px;display:flex;flex-direction:column;gap:4px}
.tg-t{font-weight:800;color:var(--ink);text-decoration:none;font-size:15px;line-height:1.35;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.tg-t::after{content:"";position:absolute;inset:0}
.tg-d{margin:0;color:var(--mut);font-size:12.5px;line-height:1.45;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.tg-m{margin:0;color:var(--mut);font-size:12px}
.tg-fav{position:absolute;top:8px;right:8px;z-index:2;width:34px;height:34px;display:grid;place-items:center;border-radius:10px;border:1px solid rgba(255,255,255,.25);background:rgba(0,0,0,.55);color:#fff;cursor:pointer}
.tg-fav svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:2;stroke-linejoin:round}
.tg-fav[aria-pressed="true"]{color:#facc15;border-color:#facc15}
.tg-fav[aria-pressed="true"] svg{fill:#facc15}
.tg-pg{display:flex;gap:8px;justify-content:center;margin:14px 0 0}
@media (max-width:560px){.tg-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.tg-t{font-size:13.5px}.tg-d{display:none}.tm-viewf .tm-vrow{grid-template-columns:repeat(3,minmax(0,1fr))}}
.tm-tabs{display:flex;gap:6px;margin:26px 0 20px;padding:5px;border:1px solid var(--line);border-radius:16px;background:rgba(255,255,255,.04);width:max-content;max-width:100%}
.tm-tab{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px;padding:0 20px;border-radius:12px;color:var(--mut);font-size:15.5px;font-weight:750;text-decoration:none;white-space:nowrap;transition:background .2s,color .2s}
.tm-tab svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;flex:0 0 auto}
.tm-tab:hover{color:var(--ink);background:rgba(255,255,255,.06)}
.tm-tab[aria-selected="true"]{color:#fff;background:linear-gradient(135deg,var(--a1),#4f7bff 60%,var(--a2));box-shadow:0 6px 18px rgba(124,92,255,.35)}
.tm-tab:focus-visible{outline:2px solid var(--a2);outline-offset:2px}
.tm-pane[hidden],.tg[hidden]{display:none}
.tm-page:has(.tm-ed:not([hidden])) .tm-tabs,.tm-page:has(.tm-ed:not([hidden])) .tg,.tm-page:has(.tm-ed:not([hidden])) .tm-how,.tm-page:has(.tm-ed:not([hidden])) .faq{display:none}
.tm-head{justify-content:flex-start;gap:14px;flex-wrap:wrap}
.tm-cnt{color:var(--mut);font-size:14px;font-weight:650}
.tm-cnt b{color:var(--ink);font-weight:800;margin-left:4px}
.tm-cards{grid-template-columns:repeat(auto-fill,minmax(240px,1fr));gap:16px}
.tm-card{transition:transform .2s,border-color .2s,box-shadow .2s}
.tm-card:hover{transform:translateY(-2px);border-color:rgba(124,92,255,.5);box-shadow:0 12px 28px rgba(0,0,0,.35)}
.tm-cacts{display:grid;grid-template-columns:1fr 1fr 1fr auto;gap:6px}
.tm-cacts .btn2{padding:0 6px}
.tm-cacts .tm-cdel{width:36px;padding:0}
.tm-cdel svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.tg-bar{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin:0 0 18px}
.tg-bar .tg-find{flex:1 1 300px;max-width:440px;margin:0}
.tg-bar .tg-tabs{margin:0}
.tg-rand svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
@media (max-width:560px){
  .tm-tabs{display:grid;grid-template-columns:1fr 1fr;width:100%;margin:18px 0 16px}
  .tm-tab{padding:0 8px;font-size:14px;gap:6px}
  .tm-tab svg{width:16px;height:16px}
  .tg-bar .tg-find{flex-basis:100%;max-width:none}
  .tg-bar .tg-rand{margin-left:auto}
  .tm-cards{grid-template-columns:minmax(0,1fr);gap:12px}
  .tm-card{display:grid;grid-template-columns:112px minmax(0,1fr)}
  .tm-cover{aspect-ratio:auto;height:100%;min-height:112px}
  .tm-cb{padding:10px 12px;gap:4px}
  .tm-cb h3{font-size:15px}
  .tm-meta{font-size:12px}
  .tm-cacts .btn2{min-height:32px;font-size:12.5px}
  .tm-cacts .tm-cdel{width:32px}
}
.tm-rows{gap:10px}
.tm-row{flex-wrap:wrap}
.tm-rh{flex:0 0 22px;height:38px;display:flex;align-items:center;justify-content:center;color:var(--mut);cursor:grab;touch-action:none;border-radius:6px}
.tm-rh:hover{color:var(--ink);background:rgba(255,255,255,.06)}
.tm-rh svg{width:18px;height:18px;fill:currentColor;pointer-events:none}
.tm-rdrag{outline:2px dashed var(--a2);outline-offset:3px;border-radius:8px;background:rgba(34,211,238,.06)}
.tm-rdw{flex:1 1 100%;display:flex;align-items:center;gap:8px;padding-left:72px}
.tm-rd{flex:1 1 auto;min-width:0;height:32px;padding:0 10px;border-radius:8px;border:1px solid var(--line);background:rgba(0,0,0,.18);color:var(--ink);font:inherit;font-size:13px}
.tm-rdc{flex:0 0 auto;color:var(--mut);font-size:12px;font-variant-numeric:tabular-nums}
.tm-rdc:empty{display:none}
.tm-lwf{display:flex;align-items:center;gap:8px;margin-top:12px}
.tm-lwf small{color:var(--mut);font-size:12.5px;font-weight:700}
.tm-f .tm-lwf select{width:auto;padding:6px 10px;font-size:14px}
.tm-txt{margin-top:14px}
.tm-txt label{display:block;margin:0 0 6px;font-size:13px;color:var(--mut);font-weight:700}
.tm-txr{display:flex;gap:8px}
.tm-txr input{flex:1 1 auto;min-width:0;height:40px;padding:0 12px;border-radius:10px;border:1px solid var(--line);background:rgba(0,0,0,.25);color:var(--ink);font:inherit;font-size:15px}
.tm-txc{display:block;margin-top:6px;color:var(--mut);font-size:12.5px;font-variant-numeric:tabular-nums}
.tm-txc.over{color:#fda4af;font-weight:700}
.tm-thi.tm-tx{display:flex;align-items:center;justify-content:center;padding:30px 6px 6px;background:#e9edf7;color:#111827}
.tm-txv{font-size:17px;font-weight:800;line-height:1.15;text-align:center;word-break:keep-all;overflow-wrap:anywhere;pointer-events:none}
.tg-cats{display:flex;gap:6px;flex-wrap:wrap;margin:-6px 0 16px}
.tg-cats a{display:inline-flex;align-items:center;height:30px;padding:0 12px;border-radius:999px;border:1px solid var(--line);color:var(--mut);font-size:13px;font-weight:700;text-decoration:none}
.tg-cats a:hover{color:var(--ink)}
.tg-cats a[aria-current]{background:rgba(124,92,255,.22);border-color:var(--a1);color:var(--ink)}
.tg-cat{display:inline-block;padding:0 7px;margin-right:2px;border-radius:6px;background:rgba(124,92,255,.2);color:var(--ink);font-weight:700}
@media (max-width:560px){
  .tm-rh{display:none}
  .tm-rdw{padding-left:0}
  .tm-txv{font-size:14px}
  .tg-cats a{height:28px;padding:0 10px;font-size:12.5px}
}
.tm-f .tm-row input[type=text]{width:auto}
.tm-f .tm-row input[data-rk="l"]{flex:1 1 0}
.tg-tx{display:flex;flex-wrap:wrap;align-content:center;justify-content:center;gap:6px;width:100%;height:100%;padding:10px;background:linear-gradient(135deg,#1c2340,#141a2e)}
.tg-tx b{max-width:100%;padding:6px 10px;border-radius:8px;background:#e9edf7;color:#111827;font-size:14px;font-weight:800;line-height:1.15;overflow-wrap:anywhere}
@media (max-width:560px){
  .tm-page .tm-thi.tm-tx{padding:24px 3px 4px}
  .tm-page .tm-tx .tm-no{left:3px;top:3px;min-width:18px;height:18px;padding:0 4px;border-radius:6px;font-size:10.5px;line-height:18px}
  .tm-page .tm-tx .tm-x{right:3px;top:3px;width:22px;height:22px;border-radius:6px;font-size:15px}
  .tm-page .tm-txv{font-size:12px;line-height:1.2;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
  .tg-tx{gap:4px;padding:6px}
  .tg-tx b{padding:4px 7px;font-size:12px}
}
.tm-cover.fit-img,.tg-cover.fit-img,.tm-cvpv.fit-img,.tm-ft.fit-img{background:#0a0e1a}
.tm-cover.fit-img img,.tg-cover.fit-img img,.tm-cvpv.fit-img img,.tm-ft.fit-img img{object-fit:contain}
.tm-box{margin:0 0 16px;padding:14px;border:1px solid var(--line);border-radius:14px;background:rgba(255,255,255,.03)}
.tm-bh{margin:0 0 10px;font-size:14px;font-weight:800;color:var(--ink);line-height:1.3}
.tm-bh2{margin-top:16px}
.tm-cks .tm-ck:first-child{margin-top:0}
.tm-cks .tm-ck{min-height:32px}
.tm-viewf .tm-ck{margin-top:12px}
.tm-cvf [hidden]{display:none!important}
.tm-picks,.tm-fits{display:grid;grid-template-columns:minmax(0,1fr);gap:8px}
.tm-fits{grid-template-columns:repeat(2,minmax(0,1fr))}
.tm-pick{position:relative;display:block;cursor:pointer}
.tm-pick input{position:absolute;top:0;left:0;width:1px;height:1px;opacity:0;pointer-events:none}
.tm-pk{display:flex;align-items:center;gap:12px;min-height:56px;padding:8px 12px 8px 8px;border:1.5px solid var(--line);border-radius:12px;background:rgba(0,0,0,.18);transition:border-color .15s,background .15s,box-shadow .15s}
.tm-pick:hover .tm-pk{border-color:rgba(255,255,255,.3)}
.tm-pick input:checked+.tm-pk{border-color:var(--a2);background:rgba(34,211,238,.09);box-shadow:inset 0 0 0 1px var(--a2)}
.tm-pick input:focus-visible+.tm-pk{outline:2px solid var(--a2);outline-offset:2px}
.tm-pk-th{flex:0 0 72px;display:flex;align-items:center;justify-content:center;width:72px;aspect-ratio:16/9;border-radius:7px;background:#141a2e;overflow:hidden;color:var(--a2)}
.tm-pk-th img{display:block;width:100%;height:100%;object-fit:cover}
.tm-pk-th svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.tm-pk-th .tg-tx{gap:2px;padding:3px;background:none}
.tm-pk-th .tg-tx b{padding:1px 4px;border-radius:4px;font-size:9px}
.tm-pk-sab{font-size:11px;font-weight:800;letter-spacing:.15em;color:rgba(255,255,255,.3)}
.tm-pk-tx{display:flex;flex-direction:column;gap:2px;min-width:0}
.tm-pk-tx b{font-size:14.5px;font-weight:800;color:var(--ink);line-height:1.3}
.tm-pk-tx small{font-size:12.5px;color:var(--mut);line-height:1.4}
.tm-pick input:checked+.tm-pk .tm-pk-tx b::after{content:"";display:inline-block;width:7px;height:7px;margin-left:7px;border-radius:50%;background:var(--a2);vertical-align:middle}
.tm-fit .tm-pk{flex-direction:column;align-items:stretch;gap:8px;padding:8px}
.tm-ft{position:relative;display:block;aspect-ratio:16/9;border-radius:8px;background:#141a2e;overflow:hidden}
.tm-ft img{display:block;width:100%;height:100%;object-fit:cover}
.tm-ft-demo{position:absolute;inset:0;background:linear-gradient(135deg,#7c5cff,#22d3ee)}
.tm-ft.fit-img .tm-ft-demo{inset:0 34%;border-radius:2px}
.tm-ft.has .tm-ft-demo{display:none}
.tm-fit .tm-pk-tx{padding:0 4px 2px}
.tm-cvpv{position:relative;display:flex;align-items:center;justify-content:center;aspect-ratio:16/9;width:100%;margin-top:12px;border:1px solid var(--line);border-radius:12px;background:#141a2e;overflow:hidden}
.tm-cvpv img{display:block;width:100%;height:100%;object-fit:cover}
.tm-cvpv.on,.tm-cvdrop.on{outline:2px dashed var(--a2);outline-offset:2px}
.tm-cvnote{margin:8px 0 0;color:var(--mut);font-size:12.5px;line-height:1.5}
.tm-cvown{margin-top:12px}
.tm-cvdrop{min-height:120px;padding:16px 12px}
.tm-cvacts{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:10px}
.tm-cvacts .btn2{min-height:44px}
.tm-cvf.busy .tm-cvpv,.tm-cvf.busy .tm-picks{opacity:.55}
.tm-ed .tm-f,.tm-ed .tm-box,.tm-ed input,.tm-ed select,.tm-ed textarea{scroll-margin-top:calc(var(--tmtop,64px) + 84px)}
.tm-edh .btn2{min-height:44px}
@media (max-width:560px){
  .tm-box{padding:12px}
  .tm-fits{grid-template-columns:minmax(0,1fr)}
  .tm-fit .tm-pk{flex-direction:row;align-items:center;gap:12px}
  .tm-fit .tm-ft{flex:0 0 96px;width:96px}
  .tm-fit .tm-pk-tx{padding:0}
  .tm-ed .tm-edh{flex-wrap:nowrap;gap:6px}
  .tm-edh .tm-bt{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0}
  .tm-edh .btn2{padding:0 12px}
  .tm-edh>.btn2,.tm-edacts .btn2:not(.pri){flex:0 0 44px;width:44px;padding:0}
  .tm-ed .tm-edacts{width:auto;flex:0 0 auto;flex-wrap:nowrap;margin-left:auto}
  .tm-ed .tm-edacts .btn2{flex:0 0 auto}
  .tm-ed .tm-edacts .btn2:not(.pri){width:44px}
  .tm-ed .tm-st{flex:1 1 auto;min-width:0;min-height:30px;padding:0 10px;font-size:12px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}
  .tm-ed .tm-st::after{content:none}
  .tm-ed .tm-edacts .btn2[hidden],.tm-ed .tm-edacts [hidden]{display:none}
  .tm-ed .tm-f,.tm-ed .tm-box,.tm-ed input,.tm-ed select,.tm-ed textarea{scroll-margin-top:calc(var(--tmtop,58px) + 70px)}
}
.tm-fits .tm-pick{display:flex}.tm-fits .tm-pk{flex:1 1 auto}
.tm-iff [hidden]{display:none!important}
.tm-ft-sq img{position:absolute;top:0;left:21.875%;width:56.25%;height:100%}
.tm-ft-sq.fit-img img{background:#000}
.tm-ft-sq .tm-ft-demo{inset:0 21.875%}
.tm-ft-sq.fit-img .tm-ft-demo{inset:0 21.875%;border-radius:0;background:linear-gradient(135deg,#7c5cff,#22d3ee) center/100% 56% no-repeat,#000}
.tm-thumbs.fit-img .tm-thi img{object-fit:contain;background:#000}
