/* Sourced account types (#sourced) — Oct 9, 2026 */
.section-sourced{border-top:1px solid var(--line)}
.grid.sourced{grid-template-columns:repeat(auto-fill,minmax(300px,1fr))}
@media (max-width:420px){.grid.sourced{grid-template-columns:1fr}}
.tpl-card{display:flex;flex-direction:column}
.tpl-media{position:relative;display:grid;place-items:center;height:190px;background:radial-gradient(circle at 50% 40%,#2a3049 0%,#151826 70%);border-bottom:1px solid var(--line)}
.tpl-media img{width:150px;height:150px;object-fit:contain;filter:drop-shadow(0 10px 18px rgba(0,0,0,.55))}
.tpl-tag{left:auto;right:10px}
.tpl-body{display:flex;flex-direction:column;flex:1}
.tpl-desc{color:var(--muted);margin:6px 0 10px;font-size:14px}
.tpl-inc-list{margin-bottom:12px}
.tpl-inc-more{color:var(--muted);font-style:italic}
.tpl-inc-more::before{content:"+";color:var(--muted)}
.tpl-badges{margin-bottom:12px}
.tpl-imgnote{color:var(--muted);font-size:12px;margin:-4px 0 10px}
.tpl-card .card-foot{margin-top:auto}
.tpl-foot-note{text-align:center;color:var(--muted);font-size:13px;margin:18px auto 0;max-width:560px}
/* order sheet */
.tpl-form{display:flex;flex-direction:column;gap:12px;padding-top:6px}
.tpl-inc{margin:0;padding:10px 12px;list-style:none;background:rgb(var(--lc-acc-rgb,188 192 203) / .07);border:1px solid var(--line);border-radius:12px;font-size:14px}
.tpl-inc li{padding:3px 0 3px 20px;position:relative}
.tpl-inc li::before{content:"✓";position:absolute;left:2px;color:var(--yellow);font-weight:900}
.tpl-inc li.tpl-inc-more::before{content:"+"}
.tpl-field{display:flex;flex-direction:column;gap:6px}
.tpl-label{font-weight:800;font-size:13px;text-transform:uppercase;letter-spacing:.3px;color:var(--muted)}
.tpl-plats{display:flex;flex-wrap:wrap;gap:8px}
.tpl-plat{min-height:40px;padding:8px 14px;border-radius:999px;border:2px solid var(--line);background:transparent;color:var(--text);font:inherit;font-weight:800;cursor:pointer}
.tpl-plat.is-on{border-color:var(--yellow);background:rgba(215,218,226,.14)}
.tpl-input{width:100%;min-height:48px;padding:10px 14px;border-radius:12px;border:2px solid var(--line);background:#0e1119;color:var(--text);font:inherit;font-size:16px}
.tpl-input:focus{outline:none;border-color:var(--yellow)}
.tpl-notes{min-height:60px;resize:vertical}
.tpl-err{margin:0;color:#ffb3b8;font-weight:700;font-size:14px}
.tpl-note{margin:4px 0 0}
.tpl-done[hidden],.tpl-form[hidden]{display:none}
.tpl-done{display:flex;flex-direction:column;gap:12px;padding:10px 0 4px;text-align:center}
.tpl-orderno{font-size:26px;font-weight:900;font-style:italic;color:var(--yellow)}
.tpl-done-text{margin:0;color:#dcdbe2}

/* night1: search / price chips / sort / show-all / share */
.tpl-tools{display:flex;flex-direction:column;gap:10px;margin:0 auto 16px;max-width:1100px}
.tpl-sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.tpl-search{position:relative}
.tpl-q{width:100%;min-height:48px;padding:10px 14px 10px 42px;border-radius:12px;border:2px solid var(--line);background:#0e1119 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='10.5' cy='10.5' r='6.5' fill='none' stroke='%23a6a9b5' stroke-width='2.4'/%3E%3Cpath d='m15.5 15.5 5 5' stroke='%23a6a9b5' stroke-width='2.4' stroke-linecap='round'/%3E%3C/svg%3E") 13px 50%/20px no-repeat;color:var(--text);font:inherit;font-size:16px}
.tpl-q:focus{outline:none;border-color:var(--yellow)}
.tpl-filters{display:flex;flex-wrap:wrap;align-items:center;gap:8px;justify-content:space-between}
.tpl-chips{display:flex;gap:6px;overflow-x:auto;scrollbar-width:none;-webkit-overflow-scrolling:touch;max-width:100%}
.tpl-chips::-webkit-scrollbar{display:none}
.tpl-chip{flex:none;min-height:38px;padding:7px 12px;border-radius:999px;border:2px solid var(--line);background:transparent;color:var(--text);font:inherit;font-size:14px;font-weight:800;cursor:pointer;white-space:nowrap}
.tpl-chip.is-on{border-color:var(--yellow);background:rgba(215,218,226,.14)}
.tpl-sort{min-height:38px;padding:6px 10px;border-radius:10px;border:2px solid var(--line);background:#0e1119;color:var(--text);font:inherit;font-size:14px;font-weight:700}
.tpl-count{margin:0;color:var(--muted);font-size:14px;min-height:0}
.tpl-count:empty{display:none}
.tpl-empty{text-align:center;padding:22px 12px;border:1px dashed var(--line);border-radius:var(--radius);color:var(--muted)}
.tpl-empty[hidden],.tpl-more-wrap[hidden]{display:none}
.tpl-empty p{margin:0 0 12px}
.tpl-more-wrap{text-align:center;margin-top:18px}
.tpl-share{position:absolute;left:10px;top:10px;display:grid;place-items:center;width:36px;height:36px;border-radius:50%;border:1px solid var(--line);background:rgb(var(--lc-bg-rgb,13 15 23) / .72);color:var(--text);cursor:pointer;padding:0}
.tpl-share svg{width:18px;height:18px}
.tpl-media .tpl-imgnote{position:absolute;left:0;right:0;bottom:6px;margin:0;text-align:center;font-size:11px;color:var(--muted)}
.tpl-plat-list{font-size:12px;color:var(--muted);align-self:center}
.tpl-card{scroll-margin-top:90px;transition:box-shadow .3s}
.tpl-card.is-hl{box-shadow:0 0 0 3px var(--yellow)}
.tpl-toast{position:fixed;left:50%;bottom:90px;transform:translateX(-50%) translateY(20px);opacity:0;pointer-events:none;background:var(--card2);border:1px solid var(--line);color:var(--text);padding:10px 16px;border-radius:999px;font-weight:700;z-index:60;transition:.2s}
.tpl-toast.on{opacity:1;transform:translateX(-50%) translateY(0)}
@media (max-width:420px){
  .tpl-media{height:156px;padding-bottom:16px}
  .tpl-media img{width:118px;height:118px}
  .tpl-desc{margin:4px 0 8px}
}

/* night101 W6: real vouches for this type */
.tpl-vouch{margin:8px 0 10px}.tpl-vd summary{cursor:pointer;font-size:.88rem;font-weight:600;opacity:.9}
.tpl-vq{margin:8px 0 0;padding:8px 10px;border-left:3px solid rgba(255,255,255,.25);background:rgba(255,255,255,.04);border-radius:6px;font-size:.86rem}
.tpl-vq p{margin:0 0 4px;white-space:pre-wrap;word-break:break-word}.tpl-va{font-size:.78rem;opacity:.8}

/* night155 */
.tpl-or{margin:-2px 0 0;font-size:13px;color:var(--muted);text-align:center}
.tpl-hint155{margin:2px 0 0;font-size:13px;line-height:1.35;color:var(--muted)}
