
/* ---- Discover layout v2 ---- */
.ta-disc .ta-sec-t{display:flex;align-items:center;justify-content:space-between;gap:10px;font-size:15px;font-weight:800;color:#1c1c1c;margin:18px 2px 10px;}
.ta-disc .ta-sec-t .see-all{font-size:12.5px;font-weight:800;color:#e8451c;text-decoration:none;white-space:nowrap;}
.ta-tools4{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-bottom:6px;}
.ta-tool4{display:flex;flex-direction:column;align-items:flex-start;gap:6px;background:#fff;border:1px solid #e2e6e4;border-radius:16px;padding:14px 13px;cursor:pointer;text-align:left;box-shadow:0 2px 10px rgba(0,0,0,.04);}
.ta-tool4:active{transform:scale(.985);}
.ta-tool4 .ti{font-size:24px;line-height:1;}
.ta-tool4 .tt{font-size:13.5px;font-weight:800;color:#1c1c1c;line-height:1.35;}
.ta-tool4 .td{font-size:10.5px;color:#93a09b;font-weight:600;line-height:1.4;}
a.ta-tool4{text-decoration:none !important;}
a.ta-tool4:hover{border-color:#00aa6c;box-shadow:0 4px 14px rgba(0,0,0,.07);}
.ta-tools4.ta-tools4-links{margin-top:10px;}
/* routes */
.ta-routes{display:flex;gap:10px;overflow-x:auto;-webkit-overflow-scrolling:touch;scrollbar-width:none;padding:2px 2px 6px;}
.ta-routes::-webkit-scrollbar{display:none;}
.ta-rcard{flex:0 0 auto;width:262px;background:#fff;border:1px solid #e6eae8;border-radius:16px;padding:13px 14px;box-shadow:0 3px 12px rgba(0,0,0,.05);}
.ta-rcard .rt{font-size:14px;font-weight:800;color:#1c1c1c;line-height:1.4;min-height:38px;}
.ta-rcard .rm{display:flex;align-items:center;gap:8px;margin:7px 0;font-size:11.5px;color:#5b6660;font-weight:700;flex-wrap:wrap;}
.ta-rcard .rm span{background:#f1f5f3;border-radius:999px;padding:3px 9px;}
.ta-rcard .rh{font-size:12px;color:#7d8883;line-height:1.5;min-height:36px;}
.ta-rcard .adopt{margin-top:9px;width:100%;border:none;background:#e8451c;color:#fff;border-radius:11px;padding:10px;font-size:13px;font-weight:800;cursor:pointer;}
.ta-rcard .adopt:active{filter:brightness(.92);}
.ta-rcard .adopt.done{background:#00aa6c;}
/* notes */
.ta-note{display:flex;gap:11px;background:#fff;border:1px solid #e6eae8;border-radius:16px;padding:13px 14px;margin-bottom:10px;cursor:pointer;}
.ta-note:active{background:#f7faf8;}
.ta-note .av{flex:0 0 auto;width:40px;height:40px;border-radius:50%;color:#fff;display:flex;align-items:center;justify-content:center;font-weight:800;font-size:16px;}
.ta-note .nb{flex:1 1 auto;min-width:0;}
.ta-note .nn{font-size:13px;font-weight:800;color:#1c1c1c;display:flex;align-items:center;gap:7px;flex-wrap:wrap;}
.ta-note .tag{font-size:10.5px;font-weight:800;color:#0a7a4a;background:#eafaf2;border-radius:999px;padding:2px 8px;}
.ta-note .nt{font-size:12.5px;color:#4b5751;line-height:1.55;margin:5px 0 0;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;}
.ta-note .nf{display:flex;align-items:center;gap:14px;margin-top:8px;font-size:11.5px;color:#93a09b;font-weight:700;}
/* generic sheet overlay */
.ta-ov{position:fixed;inset:0;z-index:2000;background:rgba(12,18,16,.5);display:none;}
.ta-ov.on{display:block;}
.ta-ov-sheet{position:absolute;left:0;right:0;bottom:0;max-height:92vh;background:#fff;border-radius:20px 20px 0 0;display:flex;flex-direction:column;overflow:hidden;padding-bottom:env(safe-area-inset-bottom);animation:taUp .28s cubic-bezier(.22,.61,.36,1);}
@keyframes taUp{from{transform:translateY(18%);opacity:.6}to{transform:translateY(0);opacity:1}}
.ta-ov-h{flex:0 0 auto;display:flex;align-items:center;gap:10px;padding:14px 16px;border-bottom:1px solid #f0f2f1;}
.ta-ov-h .h-t{font-size:15px;font-weight:800;color:#1c1c1c;}
.ta-ov-h .h-s{font-size:11px;color:#93a09b;font-weight:600;display:block;margin-top:1px;}
.ta-ov-h .h-x{margin-left:auto;border:none;background:#f1f3f2;color:#47524e;width:32px;height:32px;border-radius:50%;font-size:16px;cursor:pointer;}
.ta-ov-b{flex:1 1 auto;min-height:0;overflow-y:auto;-webkit-overflow-scrolling:touch;padding:14px 16px 18px;}
.ta-ov-f{flex:0 0 auto;display:flex;gap:8px;padding:10px 16px 14px;border-top:1px solid #f0f2f1;}
.ta-ov-f button{flex:1 1 0;border:none;border-radius:12px;padding:12px;font-size:13.5px;font-weight:800;cursor:pointer;background:#eef1f0;color:#47524e;}
.ta-ov-f button.pri{background:#e8451c;color:#fff;}
.ta-hint{font-size:11.5px;color:#93a09b;line-height:1.5;margin:0 0 12px;}
/* menu translator */
.ta-cam{display:flex;flex-direction:column;align-items:center;gap:10px;border:1.5px dashed #cfd8d4;border-radius:16px;padding:22px 14px;background:#fafbfa;}
.ta-cam .cbtn{border:none;background:#00aa6c;color:#fff;border-radius:12px;padding:13px 22px;font-size:14px;font-weight:800;cursor:pointer;}
.ta-cam img{max-width:100%;max-height:230px;border-radius:12px;}
.ta-spin{width:26px;height:26px;border:3px solid #e6eae8;border-top-color:#e8451c;border-radius:50%;animation:taSp .8s linear infinite;margin:0 auto;}
@keyframes taSp{to{transform:rotate(360deg)}}
.ta-dish{border:1px solid #eef0ef;border-radius:14px;padding:11px 12px;margin-bottom:9px;background:#fff;}
.ta-dish .d1{font-size:14px;font-weight:800;color:#1c1c1c;}
.ta-dish .d1 em{font-style:normal;font-weight:700;color:#93a09b;font-size:12px;margin-left:6px;}
.ta-dish .d2{font-size:12px;color:#5b6660;margin-top:4px;line-height:1.5;}
.ta-chips{display:flex;flex-wrap:wrap;gap:5px;margin-top:6px;}
.ta-chips i{font-style:normal;font-size:10.5px;font-weight:800;border-radius:999px;padding:2px 8px;background:#eef4f1;color:#3f6b57;}
.ta-chips i.warn{background:#fff1ec;color:#c0431d;}
.ta-chips i.hot{background:#fdeeea;color:#e8451c;}
.ta-hist{display:flex;gap:8px;overflow-x:auto;scrollbar-width:none;padding-bottom:4px;}
.ta-hist::-webkit-scrollbar{display:none;}
.ta-hist img{flex:0 0 auto;width:58px;height:58px;border-radius:10px;object-fit:cover;border:1px solid #e6eae8;cursor:pointer;}
/* tips */
.ta-tipcard{border:1px solid #e6eae8;border-radius:16px;padding:13px 14px;margin-bottom:10px;background:#fff;}
.ta-tipcard .t1{display:flex;align-items:flex-start;gap:8px;}
.ta-tipcard .t1 b{font-size:14.5px;color:#1c1c1c;line-height:1.35;}
.ta-tipcard .dist{margin-left:auto;flex:0 0 auto;font-size:11px;font-weight:800;color:#1a6fb5;background:#eef4fb;border-radius:999px;padding:3px 8px;}
.ta-tipcard .city{font-size:11px;color:#93a09b;font-weight:700;margin-top:2px;}
.ta-tipcard .rows{display:grid;grid-template-columns:auto 1fr;gap:4px 9px;margin:9px 0 0;font-size:12px;color:#4b5751;}
.ta-tipcard .rows b{color:#93a09b;font-weight:800;font-size:11px;white-space:nowrap;}
.ta-crowd{display:inline-flex;align-items:center;gap:5px;font-weight:800;font-size:11.5px;}
.ta-crowd i{width:9px;height:9px;border-radius:50%;display:block;}
.ta-crowd.c1{color:#0a7a4a}.ta-crowd.c1 i{background:#00c98a}
.ta-crowd.c2{color:#8a6d00}.ta-crowd.c2 i{background:#f2c200}
.ta-crowd.c3{color:#c0431d}.ta-crowd.c3 i{background:#ff6a3d}
.ta-crowd.c4{color:#b0111d}.ta-crowd.c4 i{background:#e0111f}
.ta-addtrip{margin-top:10px;width:100%;border:1px solid #d7e3dd;background:#f4faf6;color:#0a7a4a;border-radius:11px;padding:9px;font-size:12.5px;font-weight:800;cursor:pointer;}
.ta-addtrip.done{background:#00aa6c;color:#fff;border-color:#00aa6c;}
/* fx */
.ta-fx{display:grid;grid-template-columns:1fr auto 1fr;gap:10px;align-items:end;}
.ta-fx label{font-size:11px;font-weight:800;color:#93a09b;display:block;margin-bottom:4px;}
.ta-fx input,.ta-fx select{width:100%;border:1.5px solid #dfe3e1;border-radius:12px;padding:11px 10px;font-size:16px;font-weight:800;color:#1c1c1c;background:#fafbfa;outline:none;}
.ta-fx .swap{border:none;background:#eef1f0;color:#47524e;width:38px;height:38px;border-radius:50%;font-size:16px;cursor:pointer;margin-bottom:2px;}
.ta-fxlist{margin-top:14px;border-top:1px solid #f0f2f1;}
.ta-fxrow{display:flex;align-items:center;gap:10px;padding:10px 2px;border-bottom:1px solid #f6f8f7;font-size:13px;}
.ta-fxrow b{font-weight:800;color:#1c1c1c;width:46px;}
.ta-fxrow span{margin-left:auto;font-weight:800;color:#0a7a4a;}
/* phrasebook */
.ta-ptabs{display:flex;gap:6px;overflow-x:auto;scrollbar-width:none;margin-bottom:12px;}
.ta-ptabs::-webkit-scrollbar{display:none;}
.ta-ptab{flex:0 0 auto;border:none;background:#f1f3f2;color:#47524e;border-radius:999px;padding:8px 14px;font-size:12.5px;font-weight:800;cursor:pointer;}
.ta-ptab.on{background:#1c2b33;color:#fff;}
.ta-phrase{display:flex;align-items:center;gap:11px;border:1px solid #eef0ef;border-radius:14px;padding:11px 12px;margin-bottom:8px;background:#fff;}
.ta-phrase .pb{flex:1 1 auto;min-width:0;}
.ta-phrase .en{font-size:13px;font-weight:800;color:#1c1c1c;}
.ta-phrase .zh{font-size:15px;color:#e8451c;font-weight:800;margin-top:3px;}
.ta-phrase .py{font-size:11.5px;color:#93a09b;font-style:italic;}
.ta-phrase .play{flex:0 0 auto;width:40px;height:40px;border-radius:50%;border:none;background:#00aa6c;color:#fff;font-size:16px;cursor:pointer;}
.ta-phrase .play.busy{background:#93a09b;}
/* note detail */
.ta-notebody{font-size:14px;color:#2b3431;line-height:1.75;white-space:pre-wrap;}
.ta-notemeta{display:flex;align-items:center;gap:10px;margin-bottom:12px;}
.ta-tripchip{margin-top:14px;background:#f4faf6;border:1px solid #d7e3dd;border-radius:12px;padding:11px 13px;font-size:12.5px;color:#0a7a4a;font-weight:800;}
@media(min-width:820px){.ta-tools4{grid-template-columns:repeat(4,1fr);}.ta-rcard{width:288px;}}
