/* TAMILFLICKS-HUB (Oct 6 2026): /devotional, /kids, /events, /creators, /dedications. Script: hub.js. Light, like the rest of the site.
   Accent per section: --acc (devotional saffron, kids sky, events violet, creators teal, dedications rose). */
.tp-hub {
  --ink: #142033; --muted: #5b6577; --faint: #8a93a3; --line: #e3e7ef; --card: #ffffff; --soft: #f5f7fb;
  --acc: #2e5eaa; --acc-soft: #e8eef9; --acc-ink: #ffffff; --radius: 16px;
  --display: 'Plus Jakarta Sans', 'Roboto', system-ui, sans-serif;
  color: var(--ink); background: var(--soft); min-height: 70vh; padding: 0 clamp(16px, 4vw, 48px) 64px;
}
.tp-hub *, .tph-lb *, .tph-toast { box-sizing: border-box; }
.tp-hub [hidden] { display: none !important; }
.tp-hub a { color: inherit; }
.tp-hub h1, .tp-hub h2, .tp-hub h3 { font-family: var(--display); color: var(--ink) !important; -webkit-text-fill-color: currentColor !important; letter-spacing: -.02em; margin: 0; }
.tp-hub :focus-visible { outline: 3px solid var(--acc); outline-offset: 2px; border-radius: 6px; }
.tph-main { max-width: 1180px; margin: 0 auto; display: grid; gap: 34px; padding-top: 22px; }
.tph-main:focus { outline: none; }
.tph-devotional { --acc: #d9480f; --acc-soft: #fff1e6; }
.tph-kids { --acc: #0b7fd6; --acc-soft: #e5f3ff; }
.tph-events { --acc: #6b3fd4; --acc-soft: #f0eaff; }
.tph-creators { --acc: #0f8a7a; --acc-soft: #e2f6f2; }
.tph-dedications { --acc: #d6336c; --acc-soft: #ffe8f0; }
.tph-loading, .tph-empty { color: var(--muted); padding: 18px 0; margin: 0; }
.tph-small { color: var(--faint); font-size: 13.5px; margin: 0; }

/* section tabs */
.tph-tabs { position: sticky; top: var(--tp-header-h, 0px); z-index: 20; display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; margin: 0 calc(-1 * clamp(16px, 4vw, 48px));
  padding: 12px clamp(16px, 4vw, 48px); background: rgba(245, 247, 251, .9); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.tph-tabs::-webkit-scrollbar { display: none; }
.tph-tabs a { flex: none; display: inline-flex; align-items: center; gap: 7px; padding: 9px 16px; border-radius: 999px; text-decoration: none; font-weight: 600; font-size: 15px;
  color: var(--muted); background: var(--card); border: 1px solid var(--line); }
.tph-tabs a i { font-size: 17px; }
.tph-tabs a.on { background: var(--ink); color: #fff; border-color: var(--ink); }

/* page head. MODERN-HEAD (Oct 9 2026): full-colour banner in the section's --acc, white text, two-tone glass icon on the right, big faint icon behind. */
.tph-head { position: relative; overflow: hidden; isolation: isolate; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 28px;
  padding: clamp(24px, 4vw, 44px); border-radius: 28px; color: #fff;
  background: radial-gradient(70% 120% at 100% 0%, color-mix(in srgb, var(--acc) 40%, #fff) 0%, transparent 60%),
    radial-gradient(60% 100% at 0% 100%, color-mix(in srgb, var(--acc) 55%, #000) 0%, transparent 70%),
    linear-gradient(135deg, var(--acc) 0%, color-mix(in srgb, var(--acc) 72%, #000) 100%);
  box-shadow: 0 26px 50px -30px color-mix(in srgb, var(--acc) 85%, #000); }
.tph-head-txt { display: grid; justify-items: start; min-width: 0; }
.tph-head-ghost { position: absolute; z-index: -1; right: -40px; bottom: -70px; font-size: 300px; line-height: 1; color: #fff; opacity: .09; transform: rotate(-14deg); pointer-events: none; }
.tph-head-icon { position: relative; display: grid; place-items: center; width: 120px; height: 120px; margin-right: clamp(0px, 3vw, 36px); border-radius: 36px; font-size: 64px; color: #fff;
  background: rgba(255, 255, 255, .17); border: 1px solid rgba(255, 255, 255, .32); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .5), 0 18px 36px -14px rgba(0, 0, 0, .45); transform: rotate(-8deg); animation: tph-head-bob 6s ease-in-out infinite; }
.tph-head-icon i { grid-area: 1 / 1; line-height: 1; }
.tph-head-i1 { opacity: .4; transform: translate(3px, 3px); }
@keyframes tph-head-bob { 0%, 100% { translate: 0 0; } 50% { translate: 0 -8px; } }
.tp-hub .tph-head h1 { color: #fff !important; font-size: clamp(32px, 5vw, 52px); line-height: 1.04; letter-spacing: -.035em; }
.tph-eyebrow { margin: 0 0 4px; font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--acc); }
.tph-head .tph-eyebrow { margin: 0 0 14px; padding: 5px 13px; border-radius: 999px; color: #fff; background: rgba(255, 255, 255, .17); border: 1px solid rgba(255, 255, 255, .25);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.tph-sub { margin: 8px 0 0; color: var(--muted); font-size: 17px; max-width: 62ch; }
.tph-head .tph-sub { margin-top: 12px; color: rgba(255, 255, 255, .88); font-size: 17.5px; }
.tph-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.tph-head .tph-actions { margin-top: 22px; justify-self: stretch; }
.tph-head .tph-btn:not(.tph-btn-add):not(.tph-btn-main) { background: rgba(255, 255, 255, .14); border-color: rgba(255, 255, 255, .38); color: #fff !important; }
.tph-head .tph-btn:not(.tph-btn-add):not(.tph-btn-main):hover { background: rgba(255, 255, 255, .26); }
.tph-head .tph-btn-main { background: #fff; border-color: #fff; color: var(--acc) !important; }
.tph-head .tph-add-note { color: rgba(255, 255, 255, .85); }
.tph-head .tph-add-note i { color: #b2f2bb; }
.tph-head :focus-visible { outline-color: #fff; }
@media (max-width: 575.98px) {
  .tph-head { grid-template-columns: minmax(0, 1fr); gap: 16px; border-radius: 22px; padding: 22px 20px 24px; }
  .tph-head-icon { order: -1; width: 60px; height: 60px; margin: 0; border-radius: 19px; font-size: 32px; transform: rotate(-6deg); }
  .tph-head-ghost { font-size: 220px; right: -50px; bottom: -50px; }
  .tph-head .tph-eyebrow { margin-bottom: 10px; }
}
@media (prefers-reduced-motion: reduce) { .tph-head-icon { animation: none; } }

/* buttons, chips */
.tph-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--line);
  background: var(--card); color: var(--ink) !important; font-weight: 700; font-size: 15px; text-decoration: none; cursor: pointer; }
.tph-btn:hover { border-color: var(--acc); }
.tph-btn-main { background: var(--acc); border-color: var(--acc); color: var(--acc-ink) !important; }
.tph-btn-main:hover { filter: brightness(1.06); }
.tph-btn-lg { min-height: 54px; padding: 0 28px; font-size: 17px; }
.tph-btn-wa { background: #1fae54; border-color: #1fae54; }
/* ADD-BUTTON (Oct 7 2026): big amber "Add a place / Add a notice / Post a notice" on directory, remembrance, noticeboard. */
.tph-btn-add { min-height: 60px; padding: 0 32px; font-size: 18px; font-weight: 800; font-family: var(--display); letter-spacing: -.01em;
  background: linear-gradient(180deg, #ffb52e, #f59f00); border: 0; color: #2a1a00 !important; text-decoration: none;
  box-shadow: 0 8px 20px rgba(245, 159, 0, .35), inset 0 -2px 0 rgba(0, 0, 0, .12); transition: transform .12s ease, box-shadow .12s ease; }
.tph-btn-add i { font-size: 24px; }
.tph-btn-add:hover { transform: translateY(-1px); box-shadow: 0 12px 26px rgba(245, 159, 0, .45), inset 0 -2px 0 rgba(0, 0, 0, .12); border-color: transparent; }
.tph-btn-add:active { transform: translateY(1px); box-shadow: 0 4px 10px rgba(245, 159, 0, .35); }
.tph-btn-add:focus-visible { outline-color: #b36b00; }
.tph-add-note { flex-basis: 100%; margin: 2px 0 0; display: flex; align-items: center; gap: 6px; font-size: 14px; color: var(--muted); }
.tph-add-note i { color: #1f7a4d; font-size: 18px; flex: none; }
@media (max-width: 575.98px) { .tph-actions .tph-btn-add { width: 100%; } }
.tph-btn:disabled { opacity: .55; cursor: wait; }
.tph-icon { width: 42px; height: 42px; display: grid; place-items: center; border: 0; border-radius: 50%; background: transparent; color: inherit; font-size: 22px; cursor: pointer; }
.tph-icon:hover { background: rgba(0, 0, 0, .06); }
.tph-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.tph-chip { display: inline-flex; align-items: center; gap: 6px; min-height: 38px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--card);
  font-weight: 600; font-size: 14px; color: var(--muted); cursor: pointer; }
.tph-chip.is-on, .tph-chip:has(input:checked) { background: var(--acc-soft); border-color: var(--acc); color: var(--acc); }
.tph-chip input { position: absolute; opacity: 0; pointer-events: none; }
.tph-pill { display: inline-block; padding: 3px 10px; border-radius: 999px; background: var(--acc); color: #fff; font-size: 12.5px; font-weight: 700; }

/* sections */
.tph-sec { display: grid; gap: 14px; min-width: 0; }
.tph-sec-head { display: flex; align-items: end; justify-content: space-between; gap: 12px; }
.tph-sec-head h2 { font-size: 22px; }
.tph-sec-head p { margin: 4px 0 0; color: var(--muted); font-size: 14.5px; }
.tph-sec-head a { flex: none; font-weight: 700; font-size: 14.5px; color: var(--acc); text-decoration: none; }
.tph-note { display: flex; gap: 12px; align-items: flex-start; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px; color: var(--muted); font-size: 14.5px; }
.tph-note i { color: var(--acc); font-size: 22px; flex: none; }

/* songs + collections */
.tph-cover { flex: none; width: 52px; height: 52px; border-radius: 10px; overflow: hidden; display: grid; place-items: center; background: var(--acc-soft); color: var(--acc); font-size: 22px; }
.tph-cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.tph-songs { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 10px; }
.tph-song { width: 100%; display: flex; align-items: center; gap: 12px; padding: 8px 12px 8px 8px; border-radius: 14px; background: var(--card); border: 1px solid var(--line); text-decoration: none; text-align: left; font: inherit; color: inherit; cursor: pointer; }
.tph-song:hover { border-color: var(--acc); }
.tph-song > i { margin-left: auto; font-size: 28px; color: var(--acc); flex: none; }
.tph-song-text { min-width: 0; display: grid; gap: 2px; }
.tph-song-text strong { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tph-song-text span { color: var(--muted); font-size: 13.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tph-cols { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(170px, 210px); gap: 14px; overflow-x: auto; padding-bottom: 6px; scrollbar-width: thin; }
.tph-col { display: grid; gap: 6px; text-decoration: none; }
.tph-col-art { display: grid; grid-template-columns: 1fr 1fr; aspect-ratio: 1; border-radius: var(--radius); overflow: hidden; background: var(--acc-soft); }
.tph-col-art .tph-cover { width: 100%; height: 100%; border-radius: 0; }
.tph-col strong { font-size: 15.5px; }
.tph-col > span:last-child { color: var(--muted); font-size: 13.5px; }

/* videos */
.tph-videos { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 16px 14px; }
.tph-videos-big { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
.tph-video { display: grid; gap: 6px; padding: 0; border: 0; background: none; text-align: left; font: inherit; color: inherit; cursor: pointer; }
.tph-video-img { position: relative; aspect-ratio: 16 / 9; border-radius: 14px; overflow: hidden; background: #dfe4ec; }
.tph-video-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .25s; }
.tph-video:hover .tph-video-img img { transform: scale(1.04); }
.tph-video-img i { position: absolute; inset: 0; margin: auto; width: 54px; height: 54px; font-size: 54px; color: #fff; filter: drop-shadow(0 2px 10px rgba(0, 0, 0, .45)); }
.tph-video-title { font-weight: 700; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.tph-video-sub { color: var(--muted); font-size: 13.5px; }
.tph-kids .tph-video-img { border-radius: 22px; border: 4px solid #fff; box-shadow: 0 6px 18px rgba(11, 127, 214, .16); }

/* lightbox */
.tph-lb { position: fixed; inset: 0; z-index: 1250; background: rgba(5, 8, 15, .92); display: grid; place-items: center; padding: max(12px, env(safe-area-inset-top)) 12px max(12px, env(safe-area-inset-bottom)); }
.tph-lb[hidden] { display: none !important; }
body.tph-lb-open { overflow: hidden; }
.tph-lb-in { width: min(1100px, 100%); display: grid; gap: 8px; }
.tph-lb-top { display: flex; align-items: center; gap: 6px; color: #fff; }
.tph-lb-top strong { margin-right: auto; font-size: 16px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tph-lb-top .tph-icon { color: #fff; }
.tph-lb-top .tph-icon:hover { background: rgba(255, 255, 255, .12); }
.tph-lb-frame { aspect-ratio: 16 / 9; background: #000; border-radius: 14px; overflow: hidden; }
.tph-lb-frame iframe { width: 100%; height: 100%; border: 0; display: block; }

/* devotional: next festival, live, calendar */
.tph-next { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 18px; align-items: center; padding: 20px 22px; border-radius: 22px; text-decoration: none; color: #fff !important;
  background: linear-gradient(135deg, var(--f1, #f59e0b), #b8360b 70%, #7a1d07); box-shadow: 0 14px 34px rgba(185, 54, 11, .25); }
.tph-next-emoji { font-size: 46px; }
.tph-next-text { display: grid; gap: 2px; min-width: 0; }
.tph-next .tph-eyebrow { color: rgba(255, 255, 255, .85); }
.tph-next strong { font-family: var(--display); font-size: clamp(22px, 3.4vw, 30px); line-height: 1.1; }
.tph-next-date { opacity: .9; font-size: 15px; }
.tph-next-count { display: grid; justify-items: center; background: rgba(255, 255, 255, .16); border-radius: 16px; padding: 10px 16px; }
.tph-next-count b { font-family: var(--display); font-size: 34px; line-height: 1; }
.tph-next-count span { font-size: 13px; }
@media (max-width: 575.98px) { .tph-next { grid-template-columns: auto minmax(0, 1fr); } .tph-next-count { grid-column: 1 / -1; justify-self: start; grid-auto-flow: column; gap: 8px; align-items: baseline; } .tph-next-emoji { font-size: 36px; } }
.tph-streams { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 10px; margin-top: 12px; }
.tph-stream { display: grid; gap: 2px; padding: 12px 16px; border-radius: 14px; background: var(--card); border: 1px solid var(--line); text-decoration: none; }
.tph-stream span:last-child { color: var(--muted); font-size: 13.5px; }
.tph-live-tag { justify-self: start; display: inline-flex; align-items: center; gap: 5px; padding: 2px 8px; border-radius: 6px; background: #e03131; color: #fff; font-size: 11.5px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; }
.tph-live-tag::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: #fff; animation: tph-blink 1.4s infinite; }
@keyframes tph-blink { 50% { opacity: .3; } }
.tph-channels { display: grid; grid-auto-flow: column; grid-auto-columns: 150px; gap: 12px; overflow-x: auto; padding-bottom: 6px; }
.tph-channel { display: grid; gap: 6px; text-decoration: none; }
.tph-channel-logo { aspect-ratio: 16 / 10; border-radius: 14px; background: #fff; border: 1px solid var(--line); display: grid; place-items: center; overflow: hidden; }
.tph-channel-logo img { max-width: 80%; max-height: 70%; object-fit: contain; }
.tph-month { display: grid; gap: 10px; }
.tph-month + .tph-month { margin-top: 10px; }
.tph-month h3 { font-size: 15px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted) !important; }
.tph-month ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.tph-fest { display: grid; grid-template-columns: 58px minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 10px 14px 10px 10px; background: var(--card); border: 1px solid var(--line); border-radius: 14px; border-left: 5px solid var(--f1, var(--acc)); }
.tph-fest-date { display: grid; justify-items: center; line-height: 1.1; }
.tph-fest-date b { font-family: var(--display); font-size: 24px; }
.tph-fest-date span { color: var(--muted); font-size: 12.5px; text-transform: uppercase; }
.tph-fest-text { display: grid; gap: 1px; min-width: 0; }
.tph-fest-text span { color: var(--muted); font-size: 14px; }
.tph-fest-note { font-size: 13px !important; color: var(--faint) !important; }
.tph-in { color: var(--acc); font-weight: 700; font-size: 14px; white-space: nowrap; }

/* events */
#tph-ev-list { display: grid; gap: 26px; margin-top: 22px; }
#tph-ev-list .tph-month { gap: 14px; }
#tph-ev-list .tph-month + .tph-month { margin-top: 0; }
.tph-ev-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(300px, 100%), 1fr)); gap: 14px; }
.tph-event { display: grid; grid-template-rows: auto 1fr; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; text-decoration: none; }
.tph-event:hover { border-color: var(--acc); box-shadow: 0 10px 24px rgba(20, 32, 51, .08); }
.tph-event-img { position: relative; aspect-ratio: 16 / 9; background: var(--acc-soft); color: var(--acc); display: grid; place-items: center; font-size: 46px; }
.tph-event-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.tph-event-date { position: absolute; left: 12px; top: 12px; display: grid; justify-items: center; background: #fff; color: var(--ink); border-radius: 12px; padding: 6px 10px; line-height: 1.05; box-shadow: 0 4px 12px rgba(0, 0, 0, .15); }
.tph-event-date b { font-family: var(--display); font-size: 22px; }
.tph-event-date span { font-size: 12px; text-transform: uppercase; font-weight: 700; color: var(--acc); }
.tph-event-body { display: grid; gap: 4px; align-content: start; padding: 12px 16px 16px; }
.tph-event-kind { font-size: 12.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--acc); }
.tph-event-body strong { font-size: 17px; line-height: 1.25; }
.tph-event-where, .tph-event-when { color: var(--muted); font-size: 14px; }
.tph-event-price { font-weight: 700; font-size: 14px; }
.tph-back { display: inline-flex; gap: 6px; align-items: center; text-decoration: none; font-weight: 700; color: var(--acc) !important; margin-bottom: 14px; }

/* event page (/events/{id}): poster hero on a blurred backdrop, then a ticket card + details */
.tph-main-evd { gap: 0; }
.tph-evd { display: grid; gap: 22px; }
.tph-evd .tph-back { margin: 0; }
.tph-evd-hero { position: relative; overflow: hidden; isolation: isolate; border-radius: 28px; background: #1b1530; color: #fff;
  box-shadow: 0 24px 60px rgba(20, 20, 51, .18); }
.tph-evd-hero-plain { background: radial-gradient(120% 140% at 0% 0%, #8b5cf6 0%, #5b2fc4 45%, #24124f 100%); }
.tph-evd-bg { position: absolute; inset: -40px; z-index: -2; background-size: cover; background-position: center; filter: blur(38px) saturate(1.25); transform: scale(1.1); }
.tph-evd-hero::after { content: ''; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, rgba(14, 10, 30, .82) 0%, rgba(14, 10, 30, .6) 55%, rgba(14, 10, 30, .38) 100%); }
.tph-evd-hero-plain::after { background: none; }
.tph-evd-hero-in { display: grid; grid-template-columns: minmax(0, 340px) minmax(0, 1fr); gap: clamp(22px, 4vw, 48px); align-items: center; padding: clamp(18px, 3.4vw, 40px); }
.tph-evd-poster { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; border-radius: 20px; display: block; box-shadow: 0 18px 44px rgba(0, 0, 0, .45); outline: 1px solid rgba(255, 255, 255, .14); }
.tph-evd-poster-ph { display: grid; place-items: center; background: rgba(255, 255, 255, .12); color: #fff; font-size: 96px; }
.tph-evd-head { display: grid; gap: 14px; min-width: 0; }
.tph-evd-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tph-evd-tag { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; font-size: 13px; font-weight: 700; letter-spacing: .02em;
  background: rgba(255, 255, 255, .14); color: #fff; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border: 1px solid rgba(255, 255, 255, .18); }
.tph-evd-kind { text-transform: uppercase; letter-spacing: .06em; font-size: 12px; }
.tph-evd-live { background: #22c55e; border-color: #22c55e; }
.tph-evd-live i { font-size: 9px; animation: tph-blink 1.4s infinite; }
@keyframes tph-blink { 50% { opacity: .25; } }
.tp-hub .tph-evd-hero h1 { color: #fff !important; font-size: clamp(30px, 5vw, 56px); line-height: 1.04; letter-spacing: -.03em; overflow-wrap: anywhere; }
.tph-evd-quick { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: 16.5px; font-weight: 600; color: rgba(255, 255, 255, .92); }
.tph-evd-quick li { display: inline-flex; align-items: center; gap: 8px; }
.tph-evd-quick i { font-size: 20px; opacity: .85; }
.tph-evd-by { margin: 0; color: rgba(255, 255, 255, .72); font-size: 14.5px; }
.tph-evd-by b { color: #fff; }

.tph-evd-body { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 380px); gap: 22px; align-items: start; }
.tph-evd-ticket { grid-column: 2; grid-row: 1; position: sticky; top: calc(var(--tp-header-h, 0px) + 78px); }
.tph-evd-main { grid-column: 1; grid-row: 1; display: grid; gap: 22px; min-width: 0; }
.tph-evd-card { background: var(--card); border: 1px solid var(--line); border-radius: 22px; padding: clamp(18px, 2.6vw, 28px); box-shadow: 0 1px 2px rgba(20, 32, 51, .04); }
.tph-evd-card h2 { font-size: 21px; margin-bottom: 14px; }
.tph-evd-desc { line-height: 1.7; font-size: 16.5px; color: #2a3446; overflow-wrap: anywhere; }
.tph-evd-ticket { display: grid; gap: 18px; }
.tph-evd-cal { justify-self: start; display: grid; justify-items: center; min-width: 76px; border-radius: 16px; overflow: hidden; background: var(--acc-soft); line-height: 1; padding-bottom: 8px; }
.tph-evd-cal span { width: 100%; text-align: center; background: var(--acc); color: #fff; font-size: 12.5px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; padding: 6px 0; }
.tph-evd-cal b { font-family: var(--display); font-size: 34px; color: var(--ink); padding-top: 8px; }
.tph-evd-cal small { font-size: 12px; font-weight: 700; color: var(--acc); text-transform: uppercase; padding-top: 3px; }
.tph-evd-facts { margin: 0; display: grid; gap: 0; }
.tph-evd-fact { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 12px; align-items: start; padding: 12px 0; border-top: 1px solid var(--line); }
.tph-evd-fact:first-child { border-top: 0; padding-top: 0; }
.tph-evd-fact-i { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--acc-soft); color: var(--acc); font-size: 20px; }
.tph-evd-fact dt { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--faint); margin-bottom: 2px; }
.tph-evd-fact dd { margin: 0; font-size: 15.5px; font-weight: 600; line-height: 1.4; overflow-wrap: anywhere; }
.tph-evd-fact dd b { font-weight: 800; }
.tph-evd-cta { display: grid; gap: 10px; }
.tph-evd-cta .tph-btn-lg { width: 100%; box-shadow: 0 10px 24px rgba(107, 63, 212, .3); }
.tph-evd-cta-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.tph-evd-cta-row .tph-btn { padding: 0 8px; font-size: 14px; gap: 6px; white-space: nowrap; }
.tph-evd-place { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 4px; }
.tph-evd-place p { margin: 0; line-height: 1.55; font-size: 16px; }
.tph-evd-pin { flex: none; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: var(--acc-soft); color: var(--acc); font-size: 22px; }

@media (max-width: 899.98px) {
  .tph-evd-body { grid-template-columns: 1fr; }
  .tph-evd-ticket, .tph-evd-main { grid-column: 1; grid-row: auto; position: static; }
}
@media (max-width: 679.98px) {
  .tph-evd-hero { border-radius: 22px; }
  .tph-evd-hero-in { grid-template-columns: 1fr; padding: 14px 14px 22px; gap: 18px; }
  .tph-evd-hero::after { background: linear-gradient(180deg, rgba(14, 10, 30, .35) 0%, rgba(14, 10, 30, .82) 60%); }
  .tph-evd-poster { border-radius: 16px; }
  .tph-evd-head { padding: 0 6px; }
  .tph-evd-quick { font-size: 15px; display: grid; gap: 8px; }
}

/* podcasts (/podcasts, /podcasts/{slug}) + the podcast player bar */
.tph-podcasts { --acc: #c2410c; --acc-soft: #fff0e6; }
.tph-podcasts #tph-pod, .tph-podcasts #tph-pod-cont:not(:empty) { display: grid; gap: 34px; }
.tph-pod-cover { display: grid; place-items: center; overflow: hidden; background: linear-gradient(135deg, #fb923c, #c2410c); color: #fff; font-size: 34px; border-radius: 14px; aspect-ratio: 1 / 1; }
.tph-pod-cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.tph-shows { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(190px, 46%), 1fr)); gap: 18px 16px; margin-top: 4px; }
.tph-show { display: grid; gap: 4px; align-content: start; text-decoration: none; min-width: 0; }
.tph-show-cover { border-radius: 18px; font-size: 54px; box-shadow: 0 10px 26px rgba(20, 32, 51, .12); margin-bottom: 8px; transition: transform .2s, box-shadow .2s; }
.tph-show:hover .tph-show-cover { transform: translateY(-3px); box-shadow: 0 16px 34px rgba(20, 32, 51, .18); }
.tph-show-kind { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--acc); display: inline-flex; gap: 5px; align-items: center; }
.tph-show strong { font-size: 16.5px; line-height: 1.25; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.tph-show-host, .tph-show-n { color: var(--muted); font-size: 13.5px; }
.tph-eps { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.tph-ep { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 14px; align-items: start; background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 14px 14px 14px 16px; transition: border-color .2s, box-shadow .2s; }
.tph-eps-cover .tph-ep { grid-template-columns: 64px auto minmax(0, 1fr); align-items: center; }
.tph-ep:hover { border-color: color-mix(in srgb, var(--acc) 45%, var(--line)); }
.tph-ep.is-focus { border-color: var(--acc); box-shadow: 0 0 0 3px var(--acc-soft); }
.tph-ep.is-playing { border-color: var(--acc); background: linear-gradient(0deg, var(--acc-soft), var(--acc-soft)) padding-box; }
.tph-ep-cover { width: 64px; border-radius: 12px; font-size: 26px; }
.tph-ep-play { flex: none; width: 46px; height: 46px; border-radius: 50%; border: 0; display: grid; place-items: center; background: var(--acc); color: #fff; font-size: 20px; cursor: pointer;
  box-shadow: 0 6px 16px color-mix(in srgb, var(--acc) 35%, transparent); transition: transform .15s; }
.tph-ep-play:hover { transform: scale(1.06); }
.tph-ep-text { display: grid; gap: 3px; min-width: 0; }
.tph-ep-meta { font-size: 12.5px; font-weight: 600; color: var(--faint); }
.tph-ep-meta b { color: var(--acc); }
.tph-ep-title { font-weight: 800; font-size: 16.5px; line-height: 1.3; text-decoration: none; color: var(--ink) !important; overflow-wrap: anywhere; }
.tph-ep-title:hover { color: var(--acc) !important; }
.tph-ep-desc { margin: 2px 0 0; color: var(--muted); font-size: 14.5px; line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; overflow-wrap: anywhere; }
.tph-ep.is-focus .tph-ep-desc { -webkit-line-clamp: unset; display: block; }
.tph-ep-prog:empty { display: none; }
.tph-ep-state { display: inline-flex; align-items: center; gap: 8px; margin-top: 4px; font-size: 12.5px; font-weight: 700; color: var(--acc); }
.tph-ep-state.is-done { color: #2f9e44; }
.tph-ep-bar { width: 90px; height: 4px; border-radius: 4px; background: var(--line); overflow: hidden; }
.tph-ep-bar span { display: block; height: 100%; background: var(--acc); border-radius: 4px; }
.tph-pshow { display: grid; gap: 22px; }
.tph-pshow .tph-back { margin: 0; }
.tph-pshow-hero .tph-evd-hero-in { grid-template-columns: minmax(0, 280px) minmax(0, 1fr); }
.tph-pshow-cover { border-radius: 20px; font-size: 90px; box-shadow: 0 18px 44px rgba(0, 0, 0, .45); outline: 1px solid rgba(255, 255, 255, .14); }
.tph-pshow-desc { margin: 0; color: rgba(255, 255, 255, .85); font-size: 15.5px; line-height: 1.6; max-width: 70ch; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.tph-btn-onDark { background: #fff !important; border-color: #fff !important; color: #1b1530 !important; }
.tph-btn-glass { background: rgba(255, 255, 255, .14) !important; border-color: rgba(255, 255, 255, .25) !important; color: #fff !important; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.tph-pshow .tph-sec-head { align-items: center; }
@media (max-width: 679.98px) {
  .tph-pshow-hero .tph-evd-hero-in { grid-template-columns: 1fr; justify-items: start; }
  .tph-pshow-cover { width: min(220px, 62vw); }
  .tph-ep { grid-template-columns: auto minmax(0, 1fr); padding: 12px; gap: 12px; }
  .tph-ep-share { display: none; }
  .tph-eps-cover .tph-ep { grid-template-columns: 54px minmax(0, 1fr) auto; }
  .tph-eps-cover .tph-ep-cover { width: 54px; grid-row: 1; }
  .tph-eps-cover .tph-ep-play { grid-column: 3; grid-row: 1; width: 42px; height: 42px; }
  .tph-eps-cover .tph-ep-text { grid-column: 2; grid-row: 1; }
}

.tph-pp { --acc: #c2410c; position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 1035; max-width: 980px; margin: 0 auto; border-radius: 20px; overflow: hidden;
  background: rgba(24, 18, 40, .94); color: #fff; backdrop-filter: blur(18px) saturate(1.4); -webkit-backdrop-filter: blur(18px) saturate(1.4); box-shadow: 0 18px 48px rgba(0, 0, 0, .35);
  font-family: 'Roboto', system-ui, sans-serif; }
.tph-pp[hidden] { display: none; }
.tph-pp * { box-sizing: border-box; }
.tph-pp-seek { -webkit-appearance: none; appearance: none; display: block; width: 100%; height: 4px; margin: 0; background: linear-gradient(90deg, #fb923c var(--p, 0%), rgba(255, 255, 255, .18) var(--p, 0%)); cursor: pointer; }
.tph-pp-seek::-webkit-slider-thumb { -webkit-appearance: none; width: 14px; height: 14px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 3px rgba(251, 146, 60, .5); }
.tph-pp-seek::-moz-range-thumb { width: 14px; height: 14px; border: 0; border-radius: 50%; background: #fff; }
.tph-pp-in { display: grid; grid-template-columns: minmax(0, 1fr) auto auto auto auto; gap: 12px; align-items: center; padding: 10px 12px 10px 10px; }
.tph-pp-what { display: flex; gap: 12px; align-items: center; min-width: 0; text-decoration: none; color: #fff !important; }
.tph-pp-cover { width: 48px; flex: none; border-radius: 10px; font-size: 22px; }
.tph-pp-text { display: grid; min-width: 0; }
.tph-pp-text strong { font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tph-pp-text span { font-size: 13px; color: rgba(255, 255, 255, .65); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tph-pp-ctl { display: flex; align-items: center; gap: 4px; }
.tph-pp-btn { position: relative; width: 42px; height: 42px; display: grid; place-items: center; border: 0; border-radius: 50%; background: transparent; color: #fff; font-size: 24px; cursor: pointer; }
.tph-pp-btn:hover { background: rgba(255, 255, 255, .1); }
.tph-pp-btn small { position: absolute; font-size: 8.5px; font-weight: 800; top: 50%; left: 50%; transform: translate(-50%, -42%); }
.tph-pp-main { width: 50px; height: 50px; background: #fff; color: #1b1530; font-size: 24px; }
.tph-pp-main:hover { background: #fff; transform: scale(1.05); }
.tph-pp-time { font-size: 12.5px; font-variant-numeric: tabular-nums; color: rgba(255, 255, 255, .7); white-space: nowrap; }
.tph-pp-speed { min-width: 50px; height: 32px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .25); background: transparent; color: #fff; font-weight: 800; font-size: 13px; cursor: pointer; }
.tph-pp-x { width: 36px; height: 36px; font-size: 18px; color: rgba(255, 255, 255, .7); }
.tph-pp :focus-visible { outline: 3px solid #fb923c; outline-offset: 2px; }
.tph-spin { animation: tph-spin 1s linear infinite; }
@keyframes tph-spin { to { transform: rotate(360deg); } }
body.tph-has-pp { padding-bottom: 96px; }
@media (max-width: 767.98px) {
  .tph-pp { left: 8px; right: 8px; bottom: calc(8px + env(safe-area-inset-bottom, 0px)); border-radius: 16px; }
  body.tp-has-bottom-nav .tph-pp { bottom: calc(72px + env(safe-area-inset-bottom, 0px)); }
  body.tph-has-pp { padding-bottom: 150px; }
  .tph-pp-in { grid-template-columns: minmax(0, 1fr) auto auto auto; gap: 4px; padding: 8px; }
  .tph-pp-time { display: none; }
  .tph-pp-x { width: 30px; }
  .tph-pp-speed { min-width: 44px; height: 30px; font-size: 12px; }
  .tph-pp-ctl .tph-pp-btn:not(.tph-pp-main) { width: 36px; height: 36px; font-size: 21px; }
  .tph-pp-main { width: 44px; height: 44px; }
  .tph-pp-cover { width: 42px; }
}

/* sync (/sync) */
.tph-sync { --acc: #2e5eaa; --acc-soft: #e8eef9; }
.tph-card { background: var(--card); border: 1px solid var(--line); border-radius: 22px; padding: clamp(18px, 2.6vw, 26px); display: grid; gap: 12px; align-content: start; min-width: 0; }
.tph-card h2 { font-size: 20px; }
.tph-card p { margin: 0; }
.tph-sync-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr)); gap: 18px; }
.tph-sync-ic { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; background: var(--acc-soft); color: var(--acc); font-size: 26px; }
.tph-sync-ok { display: flex; align-items: center; gap: 8px; font-weight: 800; color: #2f9e44; font-size: 17px; }
.tph-sync-ok i { font-size: 24px; }
.tph-sync-code { font-family: ui-monospace, 'SF Mono', Menlo, Consolas, monospace; font-size: clamp(30px, 6vw, 40px); font-weight: 800; letter-spacing: .12em; color: var(--ink);
  background: var(--soft); border: 2px dashed var(--line); border-radius: 16px; padding: 12px 16px; text-align: center; user-select: all; }
.tph-sync-msg { margin: 0; padding: 10px 14px; border-radius: 12px; background: #e9f7ee; color: #1f7a3a; font-weight: 600; }
.tph-steps { margin: 0; padding-left: 20px; display: grid; gap: 6px; color: var(--muted); }
.tph-steps b { color: var(--ink); }
.tph-qr { justify-self: start; padding: 10px; background: #fff; border: 1px solid var(--line); border-radius: 14px; line-height: 0; }
.tph-qr img, .tph-qr canvas { width: 168px; height: 168px; }
.tph-sync-counts { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.tph-sync-counts li { display: grid; grid-template-columns: 28px 1fr auto; gap: 10px; align-items: center; padding: 9px 0; border-bottom: 1px solid var(--line); }
.tph-sync-counts li:last-child { border-bottom: 0; }
.tph-sync-counts i { color: var(--acc); font-size: 20px; }
.tph-sync-counts b { font-variant-numeric: tabular-nums; }
.tph-sync-join { display: grid; gap: 12px; }
.tph-sync-join input { width: 100%; min-height: 54px; padding: 10px 14px; border-radius: 12px; border: 1px solid #cfd6e2; background: #fff; color: var(--ink); text-align: center; font-family: ui-monospace, 'SF Mono', Menlo, Consolas, monospace; font-size: 22px; letter-spacing: .1em; text-transform: uppercase; }
.tph-btn-quiet { background: transparent; border-color: transparent; color: var(--muted) !important; }
.tph-btn-quiet:hover { color: #b3261e !important; border-color: var(--line); }
.tph-sync-join input:focus { outline: none; border-color: var(--acc); box-shadow: 0 0 0 3px var(--acc-soft); }
.tph-sync .tph-head { margin-bottom: 4px; }

/* forms */
.tph-form { display: grid; gap: 16px; max-width: 760px; background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: clamp(18px, 3vw, 28px); }
.tph-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 14px; }
.tph-field { display: grid; gap: 6px; min-width: 0; }
.tph-field > span { font-weight: 700; font-size: 14.5px; }
.tph-field em { font-weight: 500; font-style: normal; color: var(--faint); }
.tph-form input:not([type="checkbox"]):not([type="radio"]):not([type="file"]), .tph-form select, .tph-form textarea {
  width: 100%; min-height: 48px; padding: 10px 14px; border-radius: 12px; border: 1px solid #cfd6e2; background: #fff; color: var(--ink); font: inherit; font-size: 16px; }
.tph-form textarea { min-height: 110px; height: auto; resize: vertical; }
.tph-form input:focus, .tph-form select:focus, .tph-form textarea:focus { outline: none; border-color: var(--acc); box-shadow: 0 0 0 3px var(--acc-soft); }
.tph-form input[type="file"] { font-size: 15px; }
.tph-fs { border: 1px dashed #cfd6e2; border-radius: 14px; padding: 12px 14px 14px; margin: 0; }
.tph-fs legend { font-size: 13px; font-weight: 700; color: var(--muted); padding: 0 6px; width: auto; float: none; margin: 0; }
.tph-check { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; line-height: 1.45; cursor: pointer; }
.tph-check input { width: 22px; height: 22px; flex: none; margin-top: 1px; accent-color: var(--acc); }
.tph-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }
.tph-form-msg { margin: 0; padding: 10px 14px; border-radius: 12px; background: #fff0f0; color: #b3261e; font-weight: 600; }
.tph-form .tph-btn-lg { justify-self: start; }
.tph-pick-list { grid-template-columns: 1fr; max-height: 340px; overflow-y: auto; }
.tph-song-picked { border-color: var(--acc); background: var(--acc-soft); cursor: default; }
.tph-song-picked .tph-icon { margin-left: auto; }
.tph-occ .tph-chip { position: relative; }

/* creators */
.tph-films { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.tph-film { display: grid; grid-template-rows: auto 1fr; padding: 0; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--card); text-align: left; font: inherit; color: inherit; text-decoration: none; cursor: pointer; }
.tph-film:hover { border-color: var(--acc); }
.tph-film-img { position: relative; aspect-ratio: 16 / 9; background: #10141c; color: #3a4456; display: grid; place-items: center; font-size: 48px; }
.tph-film-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.tph-film-play { position: absolute; inset: 0; margin: auto; width: 52px; height: 52px; font-size: 52px; color: #fff; filter: drop-shadow(0 2px 10px rgba(0, 0, 0, .5)); }
.tph-film-body { display: grid; gap: 4px; align-content: start; padding: 12px 16px 16px; }
.tph-film-body strong { font-size: 17px; }
.tph-film-by { color: var(--muted); font-size: 14px; }
.tph-film-desc { color: var(--muted); font-size: 14px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.tph-pitch { background: linear-gradient(135deg, #0f8a7a, #0b5f72); color: #fff; border-radius: 22px; padding: 24px; }
.tph-pitch h2 { color: #fff !important; }
.tph-ticks { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 8px; }
.tph-ticks li::before { content: '✓ '; font-weight: 800; }
.tph-pitch .tph-btn-main { background: #fff; border-color: #fff; color: #0b5f72 !important; justify-self: start; }

/* dedications */
.tph-wall { columns: 3 280px; column-gap: 14px; }
.tph-wall-card { break-inside: avoid; display: flex; gap: 12px; margin-bottom: 14px; padding: 14px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); text-decoration: none; }
.tph-wall-card:hover { border-color: var(--acc); }
.tph-wall-body { display: grid; gap: 4px; min-width: 0; }
.tph-wall-to { font-size: 15px; }
.tph-wall-msg { font-family: Georgia, 'Times New Roman', serif; font-size: 16.5px; line-height: 1.45; }
.tph-wall-from { color: var(--muted); font-size: 13.5px; }
.tph-ded { position: relative; isolation: isolate; overflow: hidden; border-radius: 28px; color: #fff; min-height: 70vh; display: grid; place-items: center; padding: clamp(22px, 5vw, 56px) clamp(18px, 4vw, 40px); background: #3b0d22; }
.tph-ded-bg { position: absolute; inset: -20%; z-index: -1; }
.tph-ded-bg img { width: 100%; height: 100%; object-fit: cover; filter: blur(48px) saturate(1.4) brightness(.55); }
.tph-ded-bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(214, 51, 108, .35), rgba(20, 5, 15, .65)); }
.tph-ded-in { width: min(560px, 100%); display: grid; gap: 18px; justify-items: center; text-align: center; }
.tph-ded-occ { margin: 0; padding: 6px 14px; border-radius: 999px; background: rgba(255, 255, 255, .16); font-weight: 700; }
.tph-ded h1 { color: #fff !important; font-size: clamp(30px, 6vw, 48px); line-height: 1.08; }
.tph-ded h1 span:first-child { display: block; font-size: .5em; font-weight: 600; opacity: .85; letter-spacing: 0; }
.tph-ded-song { display: flex; gap: 14px; align-items: center; text-align: left; background: rgba(0, 0, 0, .25); padding: 10px 16px 10px 10px; border-radius: 18px; max-width: 100%; }
.tph-ded-song .tph-cover { width: 76px; height: 76px; border-radius: 14px; }
.tph-ded-song div { display: grid; gap: 2px; min-width: 0; }
.tph-ded-song strong { font-size: 18px; }
.tph-ded-song span { opacity: .8; font-size: 14px; }
.tph-ded .tph-btn-main { background: #fff; border-color: #fff; color: #a61e4d !important; }
.tph-ded-bar { width: min(340px, 100%); height: 5px; border-radius: 3px; background: rgba(255, 255, 255, .25); overflow: hidden; }
.tph-ded-fill { height: 100%; width: 0; background: #fff; transition: width .4s linear; }
.tph-ded-msg { margin: 0; font-family: Georgia, 'Times New Roman', serif; font-size: clamp(19px, 3.4vw, 24px); line-height: 1.5; font-style: italic; }
.tph-ded-from { margin: 0; opacity: .9; }
.tph-ded .tph-actions { justify-content: center; }
.tph-ded .tph-btn:not(.tph-btn-main) { background: rgba(255, 255, 255, .14); border-color: rgba(255, 255, 255, .3); color: #fff !important; }
.tph-share-box { display: grid; gap: 12px; max-width: 640px; background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: 20px; }
.tph-share-box input { width: 100%; min-height: 48px; padding: 10px 14px; border-radius: 12px; border: 1px solid #cfd6e2; font: inherit; font-size: 16px; background: var(--soft); }

/* toast */
.tph-toast { position: fixed; left: 50%; bottom: calc(24px + env(safe-area-inset-bottom)); transform: translate(-50%, 20px); z-index: 1300; background: #142033; color: #fff; padding: 10px 18px; border-radius: 999px;
  font-weight: 600; opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s; max-width: calc(100vw - 32px); }
.tph-toast.show { opacity: 1; transform: translate(-50%, 0); }
@media (prefers-reduced-motion: reduce) { .tph-video-img img, .tph-toast { transition: none; } .tph-live-tag::before { animation: none; } }

/* devotional player (Oct 7 2026): Bakthi songs play on /devotional in the bottom bar (same look as the podcast bar) */
.tph-dev-bar { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 14px; }
.tph-dev-chips { margin-bottom: 14px; }
.tph-song.is-playing { border-color: var(--acc); background: var(--acc-soft); }
.tph-song.is-playing .tph-song-text strong { color: var(--acc); }
.tph-dp .tph-pp-btn:disabled { opacity: .35; cursor: default; }
.tph-dp .tph-pp-btn:disabled:hover { background: transparent; }
.tph-dp .tph-pp-what { cursor: default; }
.tph-dp .tph-pp-cover { height: auto; aspect-ratio: 1; overflow: hidden; display: grid; place-items: center; background: rgba(255, 255, 255, .1); }
.tph-dp .tph-pp-cover img { width: 100%; height: 100%; object-fit: cover; }
/* devotional player polish (Oct 7 2026): warm saffron bar, numbered list with durations, moving bars on the playing song, repeat */
.tph-dp { background: linear-gradient(115deg, rgba(67, 20, 7, .96) 0%, rgba(124, 45, 18, .96) 55%, rgba(154, 52, 18, .96) 100%); box-shadow: 0 18px 48px rgba(124, 45, 18, .4), inset 0 1px 0 rgba(255, 255, 255, .08); }
.tph-dp .tph-pp-seek { background: linear-gradient(90deg, #fbbf24 var(--p, 0%), rgba(255, 255, 255, .2) var(--p, 0%)); }
.tph-dp .tph-pp-seek::-webkit-slider-thumb { box-shadow: 0 0 0 3px rgba(251, 191, 36, .55); }
.tph-dp .tph-pp-main { color: #7c2d12; box-shadow: 0 6px 18px rgba(0, 0, 0, .25); }
.tph-dp .tph-pp-text span { color: rgba(255, 237, 213, .78); }
.tph-dp-eyebrow { display: flex; align-items: center; gap: 4px; font-style: normal; font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: #fcd34d; }
.tph-dp-eyebrow i { font-size: 12px; }
.tph-dp .tph-pp-cover { box-shadow: 0 4px 14px rgba(0, 0, 0, .3); }
.tph-dp.is-playing .tph-pp-cover { animation: tph-dp-glow 2.4s ease-in-out infinite; }
@keyframes tph-dp-glow { 50% { box-shadow: 0 0 0 3px rgba(251, 191, 36, .35), 0 4px 18px rgba(251, 191, 36, .35); } }
.tph-dp-rep { opacity: .6; }
.tph-dp-rep.is-on { opacity: 1; color: #fcd34d; }

.tph-dev-songs { counter-reset: none; }
.tph-dev-song { gap: 10px; padding: 8px 10px 8px 6px; transition: border-color .15s, background-color .15s, transform .1s; }
.tph-dev-song:active { transform: scale(.99); }
.tph-dev-n { width: 22px; flex: none; text-align: center; font-size: 13px; font-weight: 700; color: var(--muted); font-variant-numeric: tabular-nums; }
.tph-dev-art { position: relative; flex: none; display: grid; }
.tph-dev-art .tph-cover { grid-area: 1 / 1; }
.tph-dev-eq { grid-area: 1 / 1; display: none; align-items: flex-end; justify-content: center; gap: 3px; padding-bottom: 12px; border-radius: 10px; background: rgba(67, 20, 7, .55); }
.tph-dev-eq i { width: 4px; height: 8px; border-radius: 2px; background: #fcd34d; animation: tph-eq .9s ease-in-out infinite; }
.tph-dev-eq i:nth-child(2) { animation-delay: -.3s; }
.tph-dev-eq i:nth-child(3) { animation-delay: -.6s; }
@keyframes tph-eq { 0%, 100% { height: 6px; } 50% { height: 22px; } }
.tph-dev-song.is-playing .tph-dev-eq { display: flex; }
.tph-dev-song.is-paused .tph-dev-eq i { animation-play-state: paused; }
.tph-dev-song.is-playing .tph-dev-n { color: var(--acc); }
.tph-dev-dur { margin-left: auto; flex: none; font-size: 13px; color: var(--muted); font-variant-numeric: tabular-nums; }
.tph-dev-dur + i { margin-left: 4px !important; }
@media (prefers-reduced-motion: reduce) {
  .tph-dev-eq i, .tph-dp.is-playing .tph-pp-cover { animation: none; }
  .tph-dev-eq i:nth-child(2) { height: 14px; } .tph-dev-eq i:nth-child(3) { height: 10px; }
}
@media (max-width: 767.98px) {
  .tph-dp .tph-pp-ctl .tph-dp-rep { display: none; } /* repeat sits next to Play all / Shuffle on phones */
  .tph-dev-n { width: 18px; font-size: 12px; }
}

.tph-dev-rep { width: 44px; padding: 0; font-size: 20px; }
.tph-dev-rep.is-on { background: var(--acc-soft); border-color: var(--acc); color: var(--acc); }

/* ===== DEVOTIONAL REDESIGN (Oct 7 2026): now-playing card + organised track list, month-grid festival calendar ===== */
.tph-dv { display: grid; grid-template-columns: minmax(280px, 380px) minmax(0, 1fr); gap: 22px; align-items: start; }
@media (max-width: 860px) { .tph-dv { grid-template-columns: minmax(0, 1fr); gap: 18px; } }

/* now playing card */
.tph-dv-card { position: sticky; top: 90px; isolation: isolate; overflow: hidden; display: grid; gap: 14px; padding: 18px; border-radius: 26px; color: #fff;
  background: linear-gradient(160deg, #5a1a08 0%, #8a2c0c 45%, #b8430f 100%); box-shadow: 0 22px 50px rgba(138, 44, 12, .32); }
@media (max-width: 860px) { .tph-dv-card { position: relative; top: 0; grid-template-columns: 104px minmax(0, 1fr); align-items: center; gap: 12px 14px; padding: 14px; border-radius: 22px; } }
.tph-dv-glow { position: absolute; inset: -30%; z-index: -1; background: var(--dv-img) center / cover no-repeat; filter: blur(40px) saturate(1.3); opacity: .35; transform: scale(1.1); }
.tph-dv-card::after { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(120% 80% at 50% 0%, rgba(255, 196, 120, .18), transparent 60%); }
.tph-dv-artwrap { display: grid; place-items: center; }
.tph-dv-art { width: 100%; aspect-ratio: 1; border-radius: 18px; overflow: hidden; display: grid; place-items: center; background: rgba(255, 255, 255, .1); font-size: 64px; color: #fcd34d;
  box-shadow: 0 18px 40px rgba(0, 0, 0, .35); transition: transform .4s ease; }
.tph-dv-art img { width: 100%; height: 100%; object-fit: cover; display: block; }
.tph-dv-card:not(.is-playing) .tph-dv-art { transform: scale(.94); }
@media (max-width: 860px) { .tph-dv-artwrap { grid-row: 1 / span 1; } .tph-dv-art { border-radius: 14px; font-size: 40px; } }
.tph-dv-info { min-width: 0; display: grid; gap: 2px; }
.tph-dv-eyebrow { margin: 0; display: flex; align-items: center; gap: 6px; font-size: 11.5px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: #fcd34d; }
.tph-dv-title { margin: 2px 0 0; font-family: var(--display); font-size: clamp(20px, 2.4vw, 26px); line-height: 1.15; color: #fff; overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.tph-dv-sub { margin: 0; font-size: 14px; color: rgba(255, 237, 213, .8); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@media (max-width: 860px) { .tph-dv-title { font-size: 19px; } .tph-dv-seek, .tph-dv-ctl { grid-column: 1 / -1; } }
.tph-dv-seek input { -webkit-appearance: none; appearance: none; display: block; width: 100%; height: 5px; margin: 6px 0; border-radius: 999px; cursor: pointer;
  background: linear-gradient(90deg, #fcd34d var(--p, 0%), rgba(255, 255, 255, .22) var(--p, 0%)); }
.tph-dv-seek input::-webkit-slider-thumb { -webkit-appearance: none; width: 15px; height: 15px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 4px rgba(252, 211, 77, .35); }
.tph-dv-seek input::-moz-range-thumb { width: 15px; height: 15px; border: 0; border-radius: 50%; background: #fff; }
.tph-dv-times { display: flex; justify-content: space-between; font-size: 12px; font-variant-numeric: tabular-nums; color: rgba(255, 237, 213, .75); }
.tph-dv-ctl { display: flex; align-items: center; justify-content: space-between; gap: 6px; padding: 0 4px; }
.tph-dv-b { width: 44px; height: 44px; display: grid; place-items: center; border: 0; border-radius: 50%; background: transparent; color: rgba(255, 255, 255, .8); font-size: 22px; cursor: pointer; transition: background-color .15s, color .15s, transform .1s; }
.tph-dv-b:hover { background: rgba(255, 255, 255, .1); color: #fff; }
.tph-dv-b:active { transform: scale(.92); }
.tph-dv-b:disabled { opacity: .35; cursor: default; background: transparent; }
.tph-dv-b.is-on { color: #fcd34d; }
.tph-dv-b.is-on::after { content: ""; position: absolute; }
.tph-dv-big2 { font-size: 28px; color: #fff; }
.tph-dv-play { width: 66px; height: 66px; background: #fff; color: #8a2c0c; font-size: 30px; box-shadow: 0 10px 26px rgba(0, 0, 0, .3); }
.tph-dv-play:hover { background: #fff; color: #8a2c0c; transform: scale(1.04); }
.tph-dv-card :focus-visible { outline: 3px solid #fcd34d; outline-offset: 2px; }

/* collections + list */
.tph-dv-side { min-width: 0; display: grid; gap: 14px; }
.tph-dv-cols { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(200px, 240px); gap: 10px; overflow-x: auto; padding-bottom: 4px; scroll-snap-type: x proximity; scrollbar-width: thin; }
.tph-dv-col { display: flex; align-items: center; gap: 10px; padding: 8px 12px 8px 8px; border-radius: 16px; border: 1px solid var(--line); background: var(--card); text-align: left; font: inherit; color: inherit; cursor: pointer; scroll-snap-align: start; transition: border-color .15s, background-color .15s; }
.tph-dv-col span { display: grid; min-width: 0; }
.tph-dv-col strong { font-size: 14.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tph-dv-col small { font-size: 12.5px; color: var(--muted); }
.tph-dv-col.is-on { border-color: var(--acc); background: var(--acc-soft); }
.tph-dv-col.is-on strong { color: var(--acc); }
.tph-dv-colart { width: 46px; height: 46px; flex: none; border-radius: 12px; overflow: hidden; display: grid; place-items: center; background: var(--acc-soft); color: var(--acc); font-size: 22px; }
.tph-dv-colart img, .tph-dv-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.tph-dv-listhead { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.tph-dv-count { font-size: 13.5px; font-weight: 600; color: var(--muted); }
.tph-dv-all { min-height: 40px; }
.tph-dv-list { list-style: none; margin: 0; padding: 6px; display: grid; gap: 2px; border-radius: 20px; background: var(--card); border: 1px solid var(--line); }
.tph-dv-row { width: 100%; display: grid; grid-template-columns: 28px 44px minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 7px 10px 7px 6px; border: 0; border-radius: 14px;
  background: transparent; font: inherit; color: inherit; text-align: left; cursor: pointer; transition: background-color .15s; }
.tph-dv-row:hover { background: var(--acc-soft); }
.tph-dv-n { position: relative; display: grid; place-items: center; height: 28px; font-size: 13px; font-weight: 700; color: var(--muted); font-variant-numeric: tabular-nums; }
.tph-dv-eq { display: none; align-items: flex-end; gap: 2px; height: 16px; }
.tph-dv-eq i { width: 3px; height: 6px; border-radius: 2px; background: var(--acc); animation: tph-eq .9s ease-in-out infinite; }
.tph-dv-eq i:nth-child(2) { animation-delay: -.3s; } .tph-dv-eq i:nth-child(3) { animation-delay: -.6s; }
@keyframes tph-eq { 0%, 100% { height: 5px; } 50% { height: 16px; } }
.tph-dv-row.is-playing { background: var(--acc-soft); }
.tph-dv-row.is-playing .tph-dv-n b { display: none; }
.tph-dv-row.is-playing .tph-dv-eq { display: flex; }
.tph-dv-row.is-paused .tph-dv-eq i { animation-play-state: paused; }
.tph-dv-row.is-playing .tph-dv-rtext strong { color: var(--acc); }
.tph-dv-thumb { width: 44px; height: 44px; border-radius: 10px; overflow: hidden; display: grid; place-items: center; background: var(--acc-soft); color: var(--acc); }
.tph-dv-rtext { display: grid; min-width: 0; gap: 1px; }
.tph-dv-rtext strong { font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tph-dv-rtext span { font-size: 13px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tph-dv-rdur { font-size: 13px; color: var(--muted); font-variant-numeric: tabular-nums; }

/* slim bottom bar (only while the card is off screen) */
.tph-dp { overflow: hidden; }
.tph-dp-line { height: 3px; background: rgba(255, 255, 255, .15); }
.tph-dp-line i { display: block; height: 100%; width: 0; background: #fcd34d; transition: width .25s linear; }
.tph-dp .tph-pp-in { grid-template-columns: minmax(0, 1fr) auto auto; }
.tph-dp .tph-pp-what { border: 0; background: transparent; padding: 0; font: inherit; text-align: left; cursor: pointer; }
@media (max-width: 767.98px) { .tph-dp .tph-pp-in { grid-template-columns: minmax(0, 1fr) auto auto; } }

/* festival calendar */
.tph-cal-filter { margin-bottom: 12px; }
.tph-cal-tabs { display: flex; gap: 8px; overflow-x: auto; padding: 2px 2px 10px; scroll-behavior: smooth; scrollbar-width: none; }
.tph-cal-tabs::-webkit-scrollbar { display: none; }
.tph-cal-tab { position: relative; flex: none; display: grid; justify-items: center; min-width: 62px; padding: 8px 10px 6px; border-radius: 16px; border: 1px solid var(--line); background: var(--card);
  font: inherit; color: inherit; cursor: pointer; transition: background-color .15s, border-color .15s, color .15s; }
.tph-cal-tab span { font-weight: 800; font-size: 14.5px; text-transform: capitalize; }
.tph-cal-tab small { font-size: 11px; color: var(--muted); line-height: 1.2; }
.tph-cal-tab b { position: absolute; top: -6px; right: -4px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 999px; display: grid; place-items: center; font-size: 11px; background: var(--acc); color: #fff; }
.tph-cal-tab.is-on { background: var(--acc); border-color: var(--acc); color: #fff; }
.tph-cal-tab.is-on small { color: rgba(255, 255, 255, .8); }
.tph-cal-tab.is-on b { background: #fff; color: var(--acc); }
.tph-cal-body { display: grid; grid-template-columns: minmax(280px, 380px) minmax(0, 1fr); gap: 22px; align-items: start; }
@media (max-width: 860px) { .tph-cal-body { grid-template-columns: minmax(0, 1fr); gap: 16px; } }
.tph-cal-board { padding: 16px; border-radius: 22px; background: var(--card); border: 1px solid var(--line); }
.tph-cal-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.tph-cal-head h3 { margin: 0; font-size: 18px; text-transform: capitalize; }
.tph-cal-nav { width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line); background: transparent; display: grid; place-items: center; font-size: 18px; color: inherit; cursor: pointer; }
.tph-cal-nav:hover:not(:disabled) { border-color: var(--acc); color: var(--acc); }
.tph-cal-nav:disabled { opacity: .3; cursor: default; }
.tph-cal-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px; }
.tph-cal-wd { text-align: center; font-size: 11.5px; font-weight: 700; color: var(--muted); padding-bottom: 4px; text-transform: uppercase; }
.tph-cal-day { position: relative; aspect-ratio: 1; display: grid; place-items: center; border-radius: 12px; border: 0; background: transparent; font: inherit; font-size: 14px; color: inherit; padding: 0; }
.tph-cal-day.is-past { color: var(--muted); opacity: .55; }
.tph-cal-day.is-today .tph-cal-num { width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%; box-shadow: inset 0 0 0 2px var(--acc); color: var(--acc); font-weight: 800; }
.tph-cal-day.has-fest { cursor: pointer; background: color-mix(in srgb, var(--f1) 16%, transparent); color: inherit; opacity: 1; }
.tph-cal-day.has-fest .tph-cal-num { font-weight: 800; color: var(--f1); }
.tph-cal-day.has-fest:hover { background: color-mix(in srgb, var(--f1) 26%, transparent); }
.tph-cal-emo { position: absolute; bottom: 1px; right: 2px; font-size: 12px; line-height: 1; }
.tph-cal-cards { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.tph-cal-card { display: grid; grid-template-columns: 76px minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 10px 12px 10px 10px; border-radius: 20px; background: var(--card); border: 1px solid var(--line); transition: box-shadow .3s; }
.tph-cal-card.is-flash { animation: tph-flash 1.2s ease; }
@keyframes tph-flash { 0%, 100% { box-shadow: none; } 30% { box-shadow: 0 0 0 3px var(--f1); } }
.tph-cal-date { display: grid; justify-items: center; align-content: center; gap: 0; height: 76px; border-radius: 16px; color: #fff; background: linear-gradient(150deg, var(--f1), color-mix(in srgb, var(--f1) 70%, #000)); }
.tph-cal-emoji { font-size: 18px; line-height: 1.1; }
.tph-cal-date b { font-family: var(--display); font-size: 22px; line-height: 1.05; }
.tph-cal-date small { font-size: 11px; font-weight: 700; text-transform: uppercase; opacity: .9; }
.tph-cal-text { display: grid; gap: 1px; min-width: 0; }
.tph-cal-text strong { font-size: 16px; line-height: 1.25; }
.tph-cal-text [lang="ta"] { font-size: 13.5px; color: var(--muted); }
.tph-cal-note { font-size: 13px; color: var(--muted); }
.tph-cal-when { justify-self: start; margin-top: 4px; padding: 2px 9px; border-radius: 999px; font-size: 12px; font-weight: 700; background: color-mix(in srgb, var(--f1) 14%, transparent); color: color-mix(in srgb, var(--f1) 80%, #000); }
.tph-cal-when.is-now { background: var(--f1); color: #fff; }
.tph-cal-add { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--line); color: var(--muted) !important; font-size: 19px; text-decoration: none; }
.tph-cal-add:hover { border-color: var(--acc); color: var(--acc) !important; }
.tph-cal-none { margin: 0; padding: 22px; border-radius: 20px; border: 1px dashed var(--line); text-align: center; color: var(--muted); }
@media (prefers-reduced-motion: reduce) { .tph-dv-eq i, .tph-cal-card.is-flash { animation: none; } .tph-dv-art { transition: none; } }
#tph-dev-songs, #tph-cal, #tph-next, .tph-dv, .tph-dv-card, .tph-dv-info, .tph-cal-body, .tph-cal-board, .tph-cal-cards { min-width: 0; }
.tph-sec > *, #tph-cal-list, .tph-cal-tabs { min-width: 0; }
.tph-dv-title { font-weight: 800; letter-spacing: -.01em; }

/* KIDS player (Oct 7 2026): same player as Devotional, bright blue / purple / pink */
.tph-dv-kids .tph-dv-card { background: linear-gradient(155deg, #1971c2 0%, #7048e8 55%, #e64980 100%); box-shadow: 0 22px 50px rgba(112, 72, 232, .3); }
.tph-dv-kids .tph-dv-card::after { background: radial-gradient(120% 80% at 50% 0%, rgba(255, 255, 255, .2), transparent 60%); }
.tph-dv-kids .tph-dv-eyebrow, .tph-dv-kids .tph-dv-b.is-on { color: #ffe066; }
.tph-dv-kids .tph-dv-art { color: #ffe066; }
.tph-dv-kids .tph-dv-sub, .tph-dv-kids .tph-dv-times { color: rgba(231, 245, 255, .85); }
.tph-dv-kids .tph-dv-seek input { background: linear-gradient(90deg, #ffe066 var(--p, 0%), rgba(255, 255, 255, .25) var(--p, 0%)); }
.tph-dv-kids .tph-dv-play, .tph-dv-kids .tph-dv-play:hover { color: #7048e8; }
.tph-dv-kids .tph-dv-card :focus-visible { outline-color: #ffe066; }
.tph-dv-kids .tph-dv-art { border-radius: 24px; }
.tph-dv-kids-bar { background: linear-gradient(115deg, rgba(25, 113, 194, .96), rgba(112, 72, 232, .96) 60%, rgba(230, 73, 128, .96)); box-shadow: 0 18px 48px rgba(112, 72, 232, .4); }
.tph-dv-kids-bar .tph-pp-main { color: #7048e8; }
.tph-dv-kids-bar .tph-dp-line i { background: #ffe066; }
.tph-dv-kids-bar .tph-pp-text span { color: rgba(231, 245, 255, .8); }
#tph-kids-songs, #tph-kids-videos { min-width: 0; }

/* ===== TODAY: daily Tamil calendar (Oct 7 2026) ===== */
.tph-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.tph-pc-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 16px; }
.tph-pc-city { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 6px 0 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--card); font-weight: 700; }
.tph-pc-city i { color: var(--acc); font-size: 18px; }
.tph-pc-city select { border: 0; background: transparent; font: inherit; font-weight: 700; color: inherit; min-height: 40px; padding-right: 6px; cursor: pointer; }
.tph-pc-nav { display: inline-flex; align-items: center; gap: 6px; }
.tph-pc-arrow { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--line); background: var(--card); color: inherit; font-size: 18px; cursor: pointer; }
.tph-pc-arrow:hover { border-color: var(--acc); color: var(--acc); }
#tph-pc { display: grid; gap: 16px; min-width: 0; }
.tph-pc-hero { position: relative; overflow: hidden; display: grid; gap: 10px; padding: clamp(18px, 3vw, 28px); border-radius: 26px; color: #fff;
  background: radial-gradient(120% 90% at 100% 0%, rgba(252, 211, 77, .35), transparent 55%), linear-gradient(150deg, #7c2d12 0%, #b8430f 55%, #e8590c 100%); box-shadow: 0 22px 50px rgba(184, 67, 15, .3); }
.tph-pc-tdate { display: grid; gap: 2px; }
.tph-pc-tmonth { font-size: clamp(30px, 6vw, 44px); font-weight: 800; line-height: 1.1; }
.tph-pc-tsub { font-size: 15px; font-weight: 700; color: #fde68a; letter-spacing: .02em; }
.tph-pc-gdate { display: grid; gap: 2px; }
.tph-pc-gdate strong { font-size: 18px; }
.tph-pc-gdate span { color: rgba(255, 237, 213, .85); }
.tph-pc-sun { display: flex; flex-wrap: wrap; gap: 8px; }
.tph-pc-sun span { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; background: rgba(255, 255, 255, .14); font-weight: 700; font-variant-numeric: tabular-nums; }
.tph-pc-sun i { color: #fde68a; }
.tph-pc-now { display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 16px; font-size: 14.5px; background: rgba(255, 255, 255, .95); color: #1f2937; }
.tph-pc-now:empty { display: none; }
.tph-pc-now i { font-size: 22px; flex: none; }
.tph-pc-now.is-good i { color: #2f9e44; } .tph-pc-now.is-bad i { color: #e03131; }
.tph-pc-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 16px; }
.tph-pc-card { padding: 16px 18px; border-radius: 22px; background: var(--card); border: 1px solid var(--line); min-width: 0; }
.tph-pc-card h2 { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; margin: 0 0 10px; font-size: 18px; }
.tph-pc-card h2 [lang="ta"] { font-size: 14px; font-weight: 600; color: var(--muted); }
.tph-pc-card ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.tph-pc-good li, .tph-pc-bad li { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 14px; }
.tph-pc-good li { background: #ebfbee; } .tph-pc-good h2 i { color: #2f9e44; }
.tph-pc-bad li { background: #fff5f5; } .tph-pc-bad h2 i { color: #e03131; }
.tph-pc-good time, .tph-pc-bad time { font-weight: 800; font-variant-numeric: tabular-nums; white-space: nowrap; }
.tph-pc-good time { color: #2b8a3e; } .tph-pc-bad time { color: #c92a2a; }
.tph-pc-good li span, .tph-pc-bad li span { font-size: 13.5px; color: var(--muted); }
.tph-pc-bad li span [lang="ta"] { display: block; font-size: 12.5px; }
.tph-pc-good li em { font-style: normal; font-size: 11.5px; font-weight: 700; padding: 2px 8px; border-radius: 999px; background: #1f2937; color: #fff; }
.tph-pc-good .is-abhijit { background: #fff9db; } .tph-pc-good .is-abhijit time { color: #e67700; }
sup { font-size: 10px; margin-left: 1px; }
.tph-pc-list { display: grid; margin: 0; }
.tph-pc-item { display: grid; grid-template-columns: minmax(110px, 160px) minmax(0, 1fr); gap: 12px; padding: 10px 0; border-top: 1px solid var(--line); }
.tph-pc-item:first-child { border-top: 0; }
.tph-pc-item dt { font-weight: 800; }
.tph-pc-item dt [lang="ta"] { display: block; font-weight: 600; font-size: 13px; color: var(--muted); }
.tph-pc-item dd { margin: 0; display: grid; gap: 4px; }
.tph-pc-seq b { font-weight: 800; }
.tph-pc-seq [lang="ta"] { color: var(--muted); }
.tph-pc-seq small { color: var(--muted); font-size: 13px; }
.tph-pc-seq.is-next { font-size: 13.5px; opacity: .8; }
.tph-pc-gowri summary { cursor: pointer; list-style: none; display: flex; align-items: center; justify-content: space-between; }
.tph-pc-gowri summary::-webkit-details-marker { display: none; }
.tph-pc-gowri summary::after { content: "+"; font-size: 22px; font-weight: 700; color: var(--acc); }
.tph-pc-gowri[open] summary::after { content: "–"; }
.tph-pc-gowri summary h2 { margin: 0; }
.tph-pc-gcols { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 16px; margin-top: 12px; }
.tph-pc-gcols h3 { margin: 0 0 8px; font-size: 14px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.tph-pc-gcols li { display: flex; justify-content: space-between; gap: 10px; padding: 8px 12px; border-radius: 12px; font-weight: 600; }
.tph-pc-gcols li time { font-variant-numeric: tabular-nums; white-space: nowrap; }
.tph-pc-gcols li.is-good { background: #ebfbee; color: #2b8a3e; } .tph-pc-gcols li.is-bad { background: #fff5f5; color: #c92a2a; }
.tph-pc-actions { display: flex; justify-content: center; }
/* the small card on /devotional */
.tph-today { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 16px; margin-bottom: 16px; padding: 14px 18px; border-radius: 22px;
  background: var(--card); border: 1px solid var(--line); color: inherit !important; text-decoration: none; transition: border-color .15s, box-shadow .15s; }
.tph-today:hover { border-color: var(--acc); box-shadow: 0 10px 24px rgba(217, 72, 15, .12); }
.tph-today-date { display: grid; place-items: center; min-width: 96px; padding: 10px 12px; border-radius: 16px; color: #fff; background: linear-gradient(150deg, #b8430f, #e8590c); text-align: center; }
.tph-today-date b { font-size: 19px; line-height: 1.15; }
.tph-today-date small { font-size: 11.5px; opacity: .9; }
.tph-today-bits { display: grid; gap: 4px; font-size: 14px; min-width: 0; }
.tph-today-bits > span { display: flex; align-items: center; gap: 6px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tph-today-bits .ph-check-circle { color: #2f9e44; } .tph-today-bits .ph-warning-circle { color: #e03131; }
.tph-today-go { font-weight: 800; color: var(--acc); white-space: nowrap; }
@media (max-width: 560px) {
  .tph-today { grid-template-columns: auto minmax(0, 1fr); gap: 12px; padding: 12px; }
  .tph-today-go { grid-column: 1 / -1; justify-self: end; font-size: 14px; }
  .tph-pc-item { grid-template-columns: minmax(0, 1fr); gap: 4px; }
}
#tph-today { min-width: 0; }
@media (max-width: 560px) { .tph-today-date { min-width: 0; padding: 10px; } .tph-today-date b { font-size: 17px; } .tph-today-bits { font-size: 13px; } .tph-today-bits > span { gap: 4px; } }

/* ===== COMMUNITY (Oct 7 2026): Directory, Remembrance, Noticeboard ===== */
.tph-directory { --acc: #0b7285; --acc-soft: #e3f6f8; }
.tph-remembrance { --acc: #5c4b8a; --acc-soft: #f0edf8; }
.tph-noticeboard { --acc: #c2255c; --acc-soft: #fdeaf1; }
.tph-cm-filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 12px; }
.tph-cm-search { flex: 1 1 260px; display: flex; align-items: center; gap: 8px; min-height: 48px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--card); }
.tph-cm-search i { color: var(--muted); font-size: 19px; }
.tph-cm-search input { flex: 1; min-width: 0; border: 0; background: transparent; font: inherit; color: inherit; outline: none; }
.tph-cm-search:focus-within { border-color: var(--acc); box-shadow: 0 0 0 3px var(--acc-soft); }
.tph-cm-country select { min-height: 48px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--card); font: inherit; font-weight: 600; color: inherit; }
.tph-cm-cities { margin-bottom: 12px; }
.tph-cm-cities small { opacity: .65; margin-left: 2px; }
.tph-cm-cats { display: flex; gap: 8px; overflow-x: auto; padding: 2px 2px 12px; margin-bottom: 6px; scrollbar-width: none; }
.tph-cm-cats::-webkit-scrollbar { display: none; }
.tph-cm-cat { flex: none; display: grid; justify-items: center; gap: 4px; width: 92px; padding: 10px 6px; border-radius: 16px; border: 1px solid var(--line); background: var(--card);
  font: inherit; font-size: 12px; font-weight: 700; line-height: 1.2; text-align: center; color: inherit; cursor: pointer; }
.tph-cm-cat i { font-size: 24px; color: var(--acc); }
.tph-cm-cat.is-on { background: var(--acc); border-color: var(--acc); color: #fff; }
.tph-cm-cat.is-on i { color: #fff; }
#tph-dir, #tph-rm, #tph-bd { min-width: 0; }
.tph-cm-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 14px; }
.tph-cm-card { display: grid; grid-template-rows: auto 1fr auto; border-radius: 20px; background: var(--card); border: 1px solid var(--line); overflow: hidden; min-width: 0; transition: box-shadow .15s, border-color .15s; }
.tph-cm-card:hover { border-color: var(--acc); box-shadow: 0 10px 26px rgba(0, 0, 0, .08); }
.tph-cm-card.is-featured { border-color: #f59f00; box-shadow: 0 0 0 2px rgba(245, 159, 0, .25); }
.tph-cm-cardlink { display: grid; grid-template-columns: 76px minmax(0, 1fr); gap: 12px; padding: 14px; text-decoration: none; color: inherit !important; }
.tph-cm-img { width: 76px; height: 76px; border-radius: 16px; overflow: hidden; display: grid; place-items: center; background: var(--acc-soft); color: var(--acc); font-size: 32px; }
.tph-cm-img img { width: 100%; height: 100%; object-fit: cover; }
.tph-cm-body { display: grid; gap: 3px; min-width: 0; align-content: start; }
.tph-cm-kind { display: inline-flex; align-items: center; gap: 5px; font-size: 12px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; color: var(--acc); }
.tph-cm-body strong { font-size: 17px; line-height: 1.25; }
.tph-cm-where { font-size: 13.5px; color: var(--muted); }
.tph-cm-desc { font-size: 13.5px; color: var(--muted); overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.tph-cm-acts { display: flex; flex-wrap: wrap; gap: 6px; padding: 0 14px 14px; }
.tph-cm-act { display: inline-flex; align-items: center; gap: 5px; min-height: 36px; padding: 0 12px; border-radius: 999px; background: var(--acc-soft); color: var(--acc) !important; font-size: 13.5px; font-weight: 700; text-decoration: none; }
.tph-cm-act.is-wa { background: #e6f9ee; color: #1f9d55 !important; }
.tph-cm-acts-big { padding: 0; gap: 10px; }
.tph-cm-wa { background: #25d366 !important; border-color: #25d366 !important; color: #fff !important; }
.tph-cm-empty { display: grid; justify-items: center; gap: 10px; padding: 40px 20px; border-radius: 22px; border: 1px dashed var(--line); text-align: center; color: var(--muted); }
.tph-cm-empty i { font-size: 44px; color: var(--acc); }
.tph-cm-empty p { margin: 0; max-width: 40ch; }
.tph-cm-pitch { margin-top: 28px; }
.tph-cm-detail { max-width: 820px; border-radius: 24px; background: var(--card); border: 1px solid var(--line); overflow: hidden; }
.tph-cm-hero { width: 100%; max-height: 380px; object-fit: cover; display: block; }
.tph-cm-dbody { display: grid; gap: 14px; padding: clamp(18px, 3vw, 28px); }
.tph-cm-dbody h1 { margin: 0; font-size: clamp(24px, 4vw, 34px); line-height: 1.15; }
.tph-cm-dbody p { margin: 0; line-height: 1.6; }
.tph-cm-facts { display: grid; gap: 10px; margin: 0; }
.tph-cm-facts div { display: grid; grid-template-columns: minmax(130px, 170px) minmax(0, 1fr); gap: 10px; }
.tph-cm-facts dt { font-weight: 700; color: var(--muted); display: flex; align-items: center; gap: 6px; }
.tph-cm-facts dd { margin: 0; }
@media (max-width: 560px) { .tph-cm-facts div { grid-template-columns: 1fr; gap: 2px; } }
.tph-cm-report { justify-self: start; display: inline-flex; align-items: center; gap: 6px; padding: 6px 2px; border: 0; background: none; font: inherit; font-size: 13.5px; color: var(--muted); cursor: pointer; }
.tph-cm-report:hover { color: #c92a2a; }
/* dialogs hang outside .tp-hub, so they get the colours and box sizing here (Oct 8 2026) */
.tph-dialog { --ink: #142033; --muted: #5b6577; --faint: #8a93a3; --line: #e3e7ef; --card: #ffffff; --soft: #f5f7fb; --acc: #2e5eaa; --acc-soft: #e8eef9; --acc-ink: #ffffff;
  color: var(--ink); font-family: 'Roboto', system-ui, sans-serif; }
.tph-dialog, .tph-dialog * { box-sizing: border-box; }
.tph-dialog .tph-field { display: grid; gap: 6px; font-size: 14px; font-weight: 600; }
.tph-dialog { max-width: min(460px, calc(100vw - 32px)); width: 100%; border: 0; border-radius: 22px; padding: 0; box-shadow: 0 24px 60px rgba(0, 0, 0, .3); }
.tph-dialog::backdrop { background: rgba(15, 23, 42, .45); }
.tph-report { display: grid; gap: 14px; padding: 22px; }
.tph-report h2 { margin: 0; font-size: 20px; }
.tph-report select, .tph-report textarea { width: 100%; min-height: 44px; padding: 10px 12px; border-radius: 12px; border: 1px solid var(--line); font: inherit; background: #fff; }
.tph-dialog-acts { display: flex; justify-content: flex-end; gap: 10px; }
/* remembrance */
.tph-rm-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 210px), 1fr)); gap: 16px; }
.tph-rm-card { display: grid; justify-items: center; gap: 4px; padding: 18px 14px 14px; border-radius: 22px; background: var(--card); border: 1px solid var(--line); text-align: center; text-decoration: none; color: inherit !important; transition: box-shadow .15s, border-color .15s; }
.tph-rm-card:hover { border-color: var(--acc); box-shadow: 0 10px 26px rgba(92, 75, 138, .14); }
.tph-rm-photo { width: 112px; height: 112px; border-radius: 50%; overflow: hidden; display: grid; place-items: center; margin-bottom: 6px; background: var(--acc-soft); color: var(--acc); font-size: 44px; box-shadow: 0 0 0 4px #fff, 0 0 0 6px var(--acc-soft); }
.tph-rm-photo img { width: 100%; height: 100%; object-fit: cover; }
.tph-rm-kind { font-size: 12.5px; font-weight: 700; color: var(--acc); }
.tph-rm-card strong { font-size: 17px; line-height: 1.25; }
.tph-rm-ta { font-size: 14px; color: var(--muted); }
.tph-rm-years { font-size: 13.5px; color: var(--muted); font-variant-numeric: tabular-nums; }
.tph-rm-place { font-size: 13px; color: var(--muted); }
.tph-rm-candles { margin-top: 6px; display: inline-flex; align-items: center; gap: 4px; padding: 3px 10px; border-radius: 999px; background: #fff4e6; color: #d9480f; font-size: 13px; font-weight: 700; }
.tph-rm-detail { max-width: 820px; display: grid; gap: 18px; padding: clamp(18px, 3vw, 32px); border-radius: 26px; background: linear-gradient(180deg, #f5f3fb 0%, var(--card) 220px); border: 1px solid var(--line); }
.tph-rm-top { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 22px; align-items: center; }
@media (max-width: 560px) { .tph-rm-top { grid-template-columns: 1fr; justify-items: center; text-align: center; } }
.tph-rm-bigphoto { width: 170px; height: 210px; border-radius: 22px; overflow: hidden; display: grid; place-items: center; background: var(--acc-soft); color: var(--acc); font-size: 64px; box-shadow: 0 16px 40px rgba(92, 75, 138, .25); }
.tph-rm-bigphoto img { width: 100%; height: 100%; object-fit: cover; }
.tph-rm-who { display: grid; gap: 4px; }
.tph-rm-who h1 { margin: 0; font-size: clamp(26px, 4.4vw, 36px); line-height: 1.12; }
.tph-rm-who p { margin: 0; }
.tph-rm-who .tph-rm-years { font-size: 16px; font-weight: 700; color: inherit; }
.tph-rm-who .tph-rm-place { font-size: 14.5px; }
.tph-rm-msg { font-size: 16.5px; line-height: 1.7; white-space: normal; padding: 18px 20px; border-radius: 18px; background: var(--card); border: 1px solid var(--line); }
.tph-rm-box { padding: 14px 18px; border-radius: 18px; background: var(--acc-soft); }
.tph-rm-box h2 { margin: 0 0 6px; font-size: 16px; display: flex; align-items: center; gap: 6px; }
.tph-rm-box p { margin: 0; line-height: 1.6; }
.tph-rm-candle-row { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }
.tph-rm-candle { display: inline-flex; align-items: center; gap: 10px; min-height: 52px; padding: 0 22px 0 14px; border-radius: 999px; border: 0; background: #2b2140; color: #fff; font: inherit; font-weight: 800; cursor: pointer; }
.tph-rm-flame { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; background: rgba(255, 255, 255, .12); font-size: 20px; color: #adb5bd; }
.tph-rm-candle.is-lit { background: linear-gradient(120deg, #e8590c, #f59f00); cursor: default; }
.tph-rm-candle.is-lit .tph-rm-flame { color: #fff3bf; animation: tph-flicker 1.6s ease-in-out infinite; }
@keyframes tph-flicker { 0%, 100% { transform: scale(1) rotate(-2deg); } 50% { transform: scale(1.12) rotate(3deg); } }
.tph-rm-count { color: var(--muted); }
.tph-rm-count b { color: #d9480f; font-size: 18px; }
/* noticeboard */
/* STICKY-NOTES (Oct 8 2026): a cork board in a wooden frame; each post is a sticky note (paper colour per kind), pinned and tilted.
   The note straightens and lifts on hover / focus. Less tilt on phones, none with reduced motion. */
.tph-bd-board { padding: clamp(14px, 3vw, 28px); border-radius: 18px; border: 10px solid #8a5a35;
  background-color: #c9a273; background-image: radial-gradient(rgba(90, 55, 25, .22) 1px, transparent 1.5px), radial-gradient(rgba(255, 240, 210, .18) 1px, transparent 1.5px);
  background-size: 14px 14px, 22px 22px; background-position: 0 0, 7px 9px; box-shadow: inset 0 2px 14px rgba(60, 35, 15, .45), 0 10px 26px rgba(60, 35, 15, .18); }
.tph-bd-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 230px), 1fr)); gap: clamp(18px, 3vw, 28px); align-items: start; }
.tph-bd-note { --paper: #fff3a3; --ink2: #5c4a00; --r: -1.4deg; position: relative; display: grid; gap: 6px; padding: 26px 18px 16px; min-height: 190px; background: var(--paper);
  color: #1f1a10 !important; text-decoration: none; border-radius: 2px 2px 14px 2px; transform: rotate(var(--r)); transition: transform .18s ease, box-shadow .18s ease;
  box-shadow: 0 1px 1px rgba(0, 0, 0, .08), 0 12px 18px -10px rgba(40, 25, 5, .55); background-image: linear-gradient(180deg, rgba(255, 255, 255, .35), transparent 38px); }
.tph-bd-note:nth-child(4n+2) { --r: 1.2deg; } .tph-bd-note:nth-child(4n+3) { --r: -.6deg; } .tph-bd-note:nth-child(4n) { --r: 1.8deg; }
.tph-bd-note:hover, .tph-bd-note:focus-visible { transform: rotate(0) translateY(-4px) scale(1.02); box-shadow: 0 2px 2px rgba(0, 0, 0, .08), 0 22px 30px -12px rgba(40, 25, 5, .6); z-index: 1; }
.tph-bd-pin { position: absolute; top: 7px; left: 50%; width: 16px; height: 16px; margin-left: -8px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #ff8787, #c92a2a 60%, #7a1010);
  box-shadow: 0 3px 4px rgba(0, 0, 0, .35); }
.tph-bd-n-room .tph-bd-pin, .tph-bd-n-service .tph-bd-pin { background: radial-gradient(circle at 35% 30%, #74c0fc, #1864ab 60%, #0b3a66); }
.tph-bd-n-sale .tph-bd-pin, .tph-bd-n-other .tph-bd-pin { background: radial-gradient(circle at 35% 30%, #8ce99a, #2b8a3e 60%, #124d20); }
.tph-bd-n-job { --paper: #fff3a3; --ink2: #6b5300; }
.tph-bd-n-room { --paper: #cfe8ff; --ink2: #0b4a80; }
.tph-bd-n-sale { --paper: #ffd8e8; --ink2: #8f1d4e; }
.tph-bd-n-service { --paper: #d3f5d8; --ink2: #1e6b2e; }
.tph-bd-n-wanted { --paper: #ffe2c2; --ink2: #8a4300; }
.tph-bd-n-other { --paper: #e9e0ff; --ink2: #4b2fa3; }
/* BOARD-KINDS (Oct 8 2026) */
.tph-bd-n-tutor { --paper: #c8f3f8; --ink2: #0b6470; }
.tph-bd-n-ride { --paper: #ffd0cc; --ink2: #9c2418; }
.tph-bd-n-companion { --paper: #e6f8c4; --ink2: #4a6b00; }
.tph-bd-n-parcel { --paper: #ecd9b8; --ink2: #6b4517; background-image: linear-gradient(180deg, rgba(255, 255, 255, .25), transparent 38px), repeating-linear-gradient(90deg, rgba(120, 80, 30, .05) 0 2px, transparent 2px 7px); }
.tph-bd-n-tutor .tph-bd-pin, .tph-bd-n-companion .tph-bd-pin { background: radial-gradient(circle at 35% 30%, #ffe066, #e67700 60%, #8a4500); }
.tph-bd-photo { display: block; margin: 0 -4px 4px; aspect-ratio: 16 / 10; overflow: hidden; border: 5px solid #fff; box-shadow: 0 2px 6px rgba(0, 0, 0, .18); }
.tph-bd-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.tph-bd-kind { display: inline-flex; align-items: center; gap: 5px; font-size: 12.5px; font-weight: 800; letter-spacing: .03em; text-transform: uppercase; color: var(--ink2); }
.tph-bd-note strong { font-size: 18px; line-height: 1.22; overflow-wrap: anywhere; }
.tph-bd-note .tph-bd-text { color: #3d3626; -webkit-line-clamp: 4; }
.tph-bd-price { justify-self: start; padding: 1px 10px; border-radius: 999px; background: rgba(255, 255, 255, .65); color: var(--ink2); font-size: 15px; }
.tph-bd-note .tph-bd-meta { margin-top: auto; padding-top: 8px; border-top: 1px dashed rgba(0, 0, 0, .18); color: #5a5140; justify-content: space-between; }
@media (max-width: 480px) { .tph-bd-board { border-width: 7px; } .tph-bd-note { --r: -.7deg; } .tph-bd-note:nth-child(even) { --r: .7deg; } }
@media (prefers-reduced-motion: reduce) { .tph-bd-note, .tph-bd-note:nth-child(n) { --r: 0deg; transition: none; } .tph-bd-note:hover { transform: none; } }
/* the post page as one big note */
.tph-cm-detail.tph-bd-paper { position: relative; border-radius: 3px 3px 22px 3px; background: var(--paper); border-color: transparent; box-shadow: 0 1px 1px rgba(0, 0, 0, .08), 0 16px 30px -14px rgba(40, 25, 5, .5); padding-top: 22px; }
.tph-cm-detail.tph-bd-paper .tph-cm-kind { color: var(--ink2); }
.tph-cm-detail.tph-bd-paper .tph-rm-box { background: rgba(255, 255, 255, .55); }
.tph-bd-text { font-size: 14px; color: var(--muted); overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.tph-bd-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; font-size: 13px; color: var(--muted); }
.tph-bd-meta b { color: inherit; font-size: 14px; color: var(--acc); }
.tph-bd-job { color: #1971c2; } .tph-bd-room { color: #2f9e44; } .tph-bd-sale { color: #e8590c; } .tph-bd-service { color: #7048e8; } .tph-bd-wanted { color: #c2255c; }
@media (max-width: 480px) { .tph-bd-card { grid-template-columns: 76px minmax(0, 1fr); } .tph-bd-img { width: 76px; height: 76px; } }
@media (prefers-reduced-motion: reduce) { .tph-rm-candle.is-lit .tph-rm-flame { animation: none; } }
.tph-cm-cities:empty { display: none; }

/* ===== LEARN TAMIL (Oct 7 2026): /kids/learn ===== */
.tph-lt-promo { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 16px; margin-bottom: 20px; padding: 16px 18px; border-radius: 24px; text-decoration: none;
  color: #fff !important; background: linear-gradient(120deg, #1971c2 0%, #7048e8 55%, #f76707 100%); box-shadow: 0 14px 34px rgba(112, 72, 232, .28); }
.tph-lt-promo-ta { font-size: 30px; font-weight: 800; letter-spacing: .04em; padding: 8px 14px; border-radius: 16px; background: rgba(255, 255, 255, .18); }
.tph-lt-promo strong { display: block; font-size: 20px; }
.tph-lt-promo span span { font-size: 14px; opacity: .92; }
.tph-lt-promo > i { font-size: 24px; }
@media (max-width: 480px) { .tph-lt-promo-ta { font-size: 22px; padding: 6px 10px; } .tph-lt-promo strong { font-size: 18px; } }
.tph-lt-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin-bottom: 14px; }
.tph-lt-head h1 { margin: 0; font-size: clamp(30px, 5vw, 44px); line-height: 1.05; }
.tph-lt-head p { margin: 4px 0 0; color: var(--muted); max-width: 52ch; }
.tph-lt-ta { margin: 0 !important; font-size: 18px; font-weight: 800; color: #7048e8 !important; }
.tph-lt-stars { flex: none; display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border-radius: 999px; background: #fff3bf; color: #9c6500; font-weight: 800; font-size: 18px; }
.tph-lt-stars i { color: #f59f00; }
.tph-lt-voice { display: flex; gap: 8px; align-items: flex-start; margin: 0 0 14px; padding: 10px 14px; border-radius: 14px; background: #fff4e6; color: #8a4b00; font-size: 14px; }
.tph-lt-tabs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; margin-bottom: 18px; }
.tph-lt-tab { display: grid; justify-items: center; gap: 2px; padding: 12px 6px 10px; border-radius: 18px; border: 2px solid var(--line); background: var(--card); font: inherit; color: inherit; cursor: pointer; }
.tph-lt-tab i { font-size: 28px; color: #7048e8; }
.tph-lt-tab span { font-weight: 800; font-size: 15px; }
.tph-lt-tab small { font-size: 12px; color: var(--muted); }
.tph-lt-tab.is-on { border-color: #7048e8; background: #f3f0ff; }
#tph-lt { min-width: 0; display: grid; gap: 14px; }
.tph-lt-progress { display: grid; gap: 6px; font-size: 14px; color: var(--muted); }
.tph-lt-bar { height: 10px; border-radius: 999px; background: var(--line); overflow: hidden; }
.tph-lt-bar i { display: block; height: 100%; border-radius: 999px; background: linear-gradient(90deg, #12b886, #82c91e); }
.tph-lt-h { margin: 10px 0 0; font-size: 21px; display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; }
.tph-lt-h span { font-size: 15px; font-weight: 600; color: var(--muted); }
.tph-lt-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(118px, 1fr)); gap: 10px; }
.tph-lt-grid-one { grid-template-columns: repeat(auto-fill, minmax(118px, 160px)); }
.tph-lt-letter, .tph-lt-wordcard { position: relative; display: grid; justify-items: center; gap: 2px; padding: 12px 8px; border-radius: 20px; border: 2px solid var(--line); background: var(--card);
  font: inherit; color: inherit; cursor: pointer; text-align: center; transition: transform .12s, border-color .15s; }
.tph-lt-letter:hover, .tph-lt-wordcard:hover { border-color: #7048e8; }
.tph-lt-letter.is-seen { border-color: #12b886; background: #e6fcf5; }
.tph-lt-letter.is-seen::after { content: "✓"; position: absolute; top: 6px; right: 10px; font-weight: 800; color: #0ca678; }
.tph-lt-big { font-size: 46px; font-weight: 800; line-height: 1.1; color: #7048e8; }
.tph-lt-rom { font-size: 13px; font-weight: 700; color: var(--muted); letter-spacing: .03em; }
.tph-lt-pic { font-size: 30px; line-height: 1.2; margin-top: 2px; }
.tph-lt-word { font-size: 17px; font-weight: 700; }
.tph-lt-mean { font-size: 12.5px; color: var(--muted); }
.is-pop { animation: tph-pop .35s ease; }
@keyframes tph-pop { 40% { transform: scale(1.07); } }
.tph-lt-topics { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 6px; scrollbar-width: none; }
.tph-lt-topics::-webkit-scrollbar { display: none; }
.tph-lt-topic { flex: none; display: grid; justify-items: center; gap: 1px; min-width: 96px; padding: 10px 10px 8px; border-radius: 18px; border: 2px solid var(--line); background: var(--card); font: inherit; color: inherit; cursor: pointer; }
.tph-lt-topic span { font-size: 26px; }
.tph-lt-topic b { font-size: 14px; }
.tph-lt-topic small { font-size: 11.5px; color: var(--muted); }
.tph-lt-topic.is-on { border-color: #f76707; background: #fff4e6; }
.tph-lt-words { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.tph-lt-wordcard .tph-lt-pic { font-size: 44px; }
.tph-lt-wordcard .tph-lt-word { font-size: 20px; }
.tph-lt-spk { position: absolute; top: 8px; right: 10px; color: #7048e8; opacity: .55; font-size: 16px; }
.tph-lt-games { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 12px; }
.tph-lt-game { display: grid; justify-items: start; gap: 4px; padding: 18px; border-radius: 22px; border: 0; text-align: left; font: inherit; color: #fff; cursor: pointer;
  background: linear-gradient(140deg, #12b886, #1971c2); box-shadow: 0 12px 28px rgba(25, 113, 194, .25); }
.tph-lt-game + .tph-lt-game { background: linear-gradient(140deg, #f76707, #d6336c); box-shadow: 0 12px 28px rgba(214, 51, 108, .25); }
.tph-lt-game span { font-size: 36px; }
.tph-lt-game b { font-size: 19px; }
.tph-lt-game small { font-size: 14px; opacity: .92; }
#tph-lt-round { scroll-margin-top: 90px; }
.tph-lt-q, .tph-lt-done { display: grid; justify-items: center; gap: 14px; padding: 22px 16px; border-radius: 26px; background: var(--card); border: 2px solid var(--line); text-align: center; }
.tph-lt-count { margin: 0; font-weight: 800; color: var(--muted); }
.tph-lt-qword { font-size: clamp(38px, 9vw, 60px); font-weight: 800; line-height: 1.15; }
.tph-lt-qpic { font-size: 72px; line-height: 1; }
.tph-lt-blank { display: inline-block; min-width: .9em; padding: 0 .1em; border-radius: 12px; background: #f3f0ff; color: #7048e8; }
.tph-lt-blank.is-right { background: #d3f9d8; color: #2b8a3e; } .tph-lt-blank.is-wrong { background: #ffe3e3; color: #c92a2a; }
.tph-lt-hear { display: inline-flex; align-items: center; gap: 6px; min-height: 42px; padding: 0 16px; border-radius: 999px; border: 0; background: #f3f0ff; color: #7048e8; font: inherit; font-weight: 800; cursor: pointer; }
.tph-lt-opts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; width: 100%; max-width: 480px; }
.tph-lt-opt { aspect-ratio: 1; display: grid; place-items: center; border-radius: 22px; border: 3px solid var(--line); background: var(--card); font: inherit; font-size: clamp(40px, 11vw, 60px); font-weight: 800; color: inherit; cursor: pointer; transition: transform .1s; }
.tph-lt-opt:active { transform: scale(.95); }
.tph-lt-opt.is-right { border-color: #2f9e44; background: #d3f9d8; animation: tph-pop .35s ease; }
.tph-lt-opt.is-wrong { border-color: #e03131; background: #ffe3e3; }
.tph-lt-bigstars { margin: 0; display: flex; gap: 6px; font-size: 54px; color: var(--line); }
.tph-lt-bigstars .is-on { color: #f59f00; }
.tph-lt-done h3 { margin: 0; font-size: 34px; }
.tph-lt-done p { margin: 0; font-size: 22px; font-weight: 800; }
.tph-lt-write { display: grid; justify-items: center; gap: 12px; }
.tph-lt-wnav { display: flex; align-items: center; gap: 16px; }
.tph-lt-arrow { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 50%; border: 2px solid var(--line); background: var(--card); color: inherit; font-size: 22px; cursor: pointer; }
.tph-lt-wnow { display: grid; justify-items: center; min-width: 90px; }
.tph-lt-wnow b { font-size: 34px; color: #7048e8; line-height: 1.1; }
.tph-lt-wnow small { color: var(--muted); font-weight: 700; }
.tph-lt-pad { width: min(100%, 420px); aspect-ratio: 1; border-radius: 26px; background: #fff; border: 3px dashed #c5b8f7; overflow: hidden; touch-action: none; }
.tph-lt-pad canvas { width: 100%; height: 100%; display: block; touch-action: none; cursor: crosshair; }
.tph-lt-wacts { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
@media (max-width: 480px) { .tph-lt-tab i { font-size: 24px; } .tph-lt-tab span { font-size: 13.5px; } .tph-lt-grid { grid-template-columns: repeat(auto-fill, minmax(98px, 1fr)); } .tph-lt-big { font-size: 40px; } }
@media (prefers-reduced-motion: reduce) { .is-pop, .tph-lt-opt.is-right { animation: none; } }

/* FEATURED + JOBS + NOTICE PICTURE (Oct 7 2026) */
.tph-ft-badge { display: inline-flex; align-items: center; gap: 4px; align-self: start; width: max-content; padding: 2px 10px; border-radius: 999px; background: linear-gradient(180deg, #ffd166, #f5a400); color: #3a2600; font-size: 12.5px; font-weight: 800; letter-spacing: .02em; }
.tph-ft-pitch { margin-top: 18px; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 16px; align-items: center; padding: 20px 22px; border-radius: 20px; background: #fff8e6; border: 1px solid #f0c36d; }
.tph-ft-pitch h2 { font-size: 20px; } .tph-ft-pitch p { margin: 4px 0 0; color: var(--muted); }
.tph-ft-star { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; background: linear-gradient(180deg, #ffd166, #f5a400); color: #3a2600; font-size: 28px; }
.tph-ft-btn { background: #142033; border-color: #142033; color: #fff !important; font-weight: 700; }
@media (max-width: 575.98px) { .tph-ft-pitch { grid-template-columns: auto minmax(0, 1fr); } .tph-ft-pitch .tph-ft-btn { grid-column: 1 / -1; width: 100%; } }
.tph-ft-own { margin: 10px 0 0; font-size: 14px; } .tph-ft-own a { color: #8a5a00; font-weight: 700; }
.tph-ft-hero { display: grid; justify-items: start; gap: 10px; padding: 26px; border-radius: 22px; background: #fff8e6; border: 1px solid #f0c36d; }
.tph-ft-price { margin: 4px 0 0; font-family: var(--display); font-size: 26px; font-weight: 800; color: #8a5a00; }
.tph-ft-list { list-style: none; margin: 22px 0; padding: 0; display: grid; gap: 12px; }
.tph-ft-list li { display: flex; gap: 12px; align-items: center; font-size: 16px; } .tph-ft-list i { color: #f5a400; font-size: 24px; flex: none; }
.tph-ft-sample { max-width: 420px; display: grid; gap: 8px; margin-bottom: 22px; }

/* PRIVACY (Oct 7 2026) */
.tph-privacy-line { display: flex; gap: 8px; align-items: flex-start; margin: 4px 0 10px; font-size: 14px; color: var(--muted); }
.tph-privacy-line i { color: #1f7a4d; font-size: 18px; flex: none; margin-top: 1px; }
.tph-privacy-line a { color: var(--acc); font-weight: 600; }
.tph-consent { margin: 6px 0 4px; padding: 12px 14px; border: 1px solid #f0c36d; background: #fff8e6; border-radius: 12px; }

/* EXPLORE (Oct 7 2026): /explore grid, and the "All" chip that starts the tab row on phones */
.tph-tabs a.tph-tab-all { display: none; background: var(--acc); border-color: var(--acc); color: #fff; }
@media (max-width: 767.98px) { .tph-tabs a.tph-tab-all { display: inline-flex; position: sticky; left: 0; z-index: 1; box-shadow: 6px 0 10px -4px rgba(20, 32, 51, .25); } }
.tph-explore { --acc: #2e5eaa; --acc-soft: #e8eef9; }

/* COMMUNITY2 (Oct 7 2026): /astrology, /baby-names, /guides, /ask */
.tph-astrology { --acc: #7b2fb5; --acc-soft: #f4e8ff; }
.tph-baby-names { --acc: #d6336c; --acc-soft: #ffe8f0; }
.tph-guides { --acc: #0f8a7a; --acc-soft: #e2f6f2; }
.tph-ask { --acc: #2e5eaa; --acc-soft: #e8eef9; }
.tph-as-tabs { margin-bottom: 14px; }
.tph-as-tabs a { text-decoration: none; }
.tph-as-pair { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 14px; }
.tph-as-person { min-width: 0; }
.tph-as-person legend { font-size: 16px; }
.tph-as-mode { margin-bottom: 10px; }
.tph-as-found { margin: 8px 0 0; font-size: 14.5px; line-height: 1.5; }
.tph-as-found:empty { display: none; }
.tph-warn { color: #9a5b00; }
.tph-as-res { margin-top: 18px; padding: 18px; background: var(--card); border: 1px solid var(--line); border-radius: 18px; display: grid; gap: 12px; }
.tph-as-score { display: flex; align-items: baseline; gap: 6px; font-family: var(--display); }
.tph-as-score b { font-size: 44px; color: var(--acc); line-height: 1; }
.tph-as-score span { font-size: 18px; color: var(--muted); }
.tph-as-verdict { margin: 0; padding: 10px 14px; border-radius: 12px; font-weight: 700; }
.tph-as-verdict.is-ok { background: #e3f4ea; color: #1f7a4d; }
.tph-as-verdict.is-mid { background: #fdf0dc; color: #9a5b00; }
.tph-as-verdict.is-no { background: #fbe6e4; color: #b3261e; }
.tph-as-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.tph-as-list li { display: grid; grid-template-columns: 30px minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 10px 12px; border-radius: 12px; background: var(--soft); }
.tph-as-list li > span { display: grid; min-width: 0; }
.tph-as-list li small { color: var(--muted); font-size: 13px; }
.tph-as-list li em { font-style: normal; font-size: 13px; font-weight: 700; }
.tph-as-sym { width: 28px; height: 28px; border-radius: 50%; display: grid !important; place-items: center; font-weight: 800; color: #fff; }
.tph-as-list .is-ok .tph-as-sym { background: #1f7a4d; } .tph-as-list .is-ok em { color: #1f7a4d; }
.tph-as-list .is-mid .tph-as-sym { background: #d08700; } .tph-as-list .is-mid em { color: #9a5b00; }
.tph-as-list .is-no .tph-as-sym { background: #b3261e; } .tph-as-list .is-no em { color: #b3261e; }
@media (max-width: 575.98px) { .tph-as-list li { grid-template-columns: 28px minmax(0, 1fr); } .tph-as-list li em { grid-column: 2; } }
.tph-as-rasis { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; margin-top: 12px; }
.tph-as-rasi { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 14px 16px; display: grid; gap: 6px; min-width: 0; }
.tph-as-rasi.is-mine { border-color: var(--acc); box-shadow: 0 0 0 2px var(--acc-soft); }
.tph-as-rasi h3 { font-size: 17px; }
.tph-as-rasi p { margin: 0; overflow-wrap: anywhere; }
.tph-as-chandra { font-size: 13.5px; color: var(--muted); }
.tph-nm-pure { display: inline-flex; gap: 6px; align-items: center; cursor: pointer; }
.tph-nm-letters { display: flex; flex-wrap: wrap; gap: 6px; margin: 10px 0 14px; }
.tph-nm-letters .tph-chip { min-width: 40px; justify-content: center; font-size: 16px; }
.tph-nm-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 10px; }
@media (max-width: 575.98px) { .tph-nm-grid { grid-template-columns: 1fr 1fr; gap: 8px; } }
.tph-nm-card { position: relative; display: grid; gap: 2px; padding: 14px 40px 14px 14px; background: var(--card); border: 1px solid var(--line); border-radius: 16px; min-width: 0; }
.tph-nm-card strong { font-size: 22px; line-height: 1.3; overflow-wrap: anywhere; }
.tph-nm-b strong { color: #2e5eaa; } .tph-nm-g strong { color: #c2255c; } .tph-nm-u strong { color: #6b3fd4; }
.tph-nm-en { font-weight: 700; font-size: 14.5px; }
.tph-nm-m { font-size: 13.5px; color: var(--ink); overflow-wrap: anywhere; }
.tph-nm-meta { font-size: 12px; color: var(--muted); margin-top: 4px; }
.tph-nm-fav, .tph-nm-share { position: absolute; right: 6px; width: 34px; height: 34px; border-radius: 50%; border: 0; background: transparent; color: var(--muted); font-size: 20px; cursor: pointer; display: grid; place-items: center; }
.tph-nm-fav { top: 6px; } .tph-nm-share { bottom: 6px; font-size: 18px; }
.tph-nm-fav.is-on { color: #d6336c; }
.tph-gd-list, .tph-qa-list { display: grid; gap: 10px; }
.tph-gd-card, .tph-qa-card { display: flex; gap: 14px; align-items: flex-start; padding: 14px 16px; background: var(--card); border: 1px solid var(--line); border-radius: 16px; text-decoration: none; color: var(--ink) !important; min-width: 0; }
.tph-gd-card:hover, .tph-qa-card:hover { border-color: var(--acc); }
.tph-gd-ico { flex: none; width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: var(--acc-soft); color: var(--acc); font-size: 24px; }
.tph-gd-txt, .tph-qa-txt { display: grid; gap: 3px; min-width: 0; }
.tph-gd-txt strong, .tph-qa-txt strong { font-size: 16.5px; overflow-wrap: anywhere; }
.tph-gd-ta { color: var(--muted); font-size: 14px; }
.tph-gd-txt small { color: var(--muted); font-size: 13.5px; }
.tph-gd-detail, .tph-qa-detail { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: clamp(16px, 3vw, 28px); display: grid; gap: 12px; min-width: 0; }
.tph-gd-detail h1, .tph-qa-detail h1 { font-size: clamp(24px, 3.4vw, 32px); }
.tph-gd-body { display: grid; gap: 10px; font-size: 16px; line-height: 1.6; max-width: 72ch; }
.tph-gd-body p, .tph-gd-body ul { margin: 0; }
.tph-gd-body ul { padding-left: 20px; display: grid; gap: 4px; }
.tph-gd-body h3 { font-size: 18px; margin-top: 6px; }
.tph-gd-links { margin: 0; padding-left: 18px; display: grid; gap: 6px; }
.tph-gd-links a { color: var(--acc); font-weight: 600; }
.tph-qa-n { flex: none; width: 58px; padding: 8px 0; border-radius: 12px; display: grid; justify-items: center; background: var(--soft); color: var(--muted); }
.tph-qa-n.has { background: var(--acc-soft); color: var(--acc); }
.tph-qa-n b { font-size: 20px; line-height: 1; } .tph-qa-n small { font-size: 11px; }
.tph-qa-body { font-size: 16px; line-height: 1.6; overflow-wrap: anywhere; }
.tph-qa-answers { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.tph-qa-answer { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 14px 16px; display: grid; gap: 6px; }
.tph-qa-answer.is-staff { border-color: #1f7a4d; box-shadow: 0 0 0 2px #e3f4ea; }
.tph-qa-acts { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.tph-qa-vote { min-height: 38px; padding: 0 14px; font-size: 14px; }
.tph-qa-vote.is-on { background: var(--acc-soft); border-color: var(--acc); color: var(--acc); }

/* CELEBRATIONS (Oct 8 2026): /celebrations (வாழ்த்து). Each card takes the colour of its kind (--cb, set inline by hub.js). */
.tph-celebrations { --acc: #d6336c; --acc-soft: #ffe8f0; }
#tph-cb { min-width: 0; }
.tph-cb-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); gap: 16px; }
.tph-cb-card { --cb: #d6336c; display: grid; grid-template-rows: auto 1fr; border-radius: 22px; overflow: hidden; background: var(--card); border: 1px solid var(--line); text-decoration: none; color: inherit !important; transition: box-shadow .15s, border-color .15s, transform .15s; }
.tph-cb-card:hover { border-color: var(--cb); box-shadow: 0 12px 28px rgba(20, 32, 51, .12); transform: translateY(-2px); }
.tph-cb-card.is-featured { border: 2px solid #f5a400; box-shadow: 0 10px 26px rgba(245, 164, 0, .18); }
.tph-cb-photo { position: relative; aspect-ratio: 4 / 3; display: grid; place-items: center; background: linear-gradient(135deg, var(--cb), color-mix(in srgb, var(--cb) 55%, #1d1433)); color: rgba(255, 255, 255, .9); font-size: 72px; }
.tph-cb-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.tph-cb-photo .tph-ft-badge { position: absolute; top: 10px; left: 10px; }
.tph-cb-body { display: grid; align-content: start; gap: 4px; padding: 14px 16px 16px; }
.tph-cb-kind { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 700; color: var(--cb); margin: 0; }
.tph-cb-card strong { font-size: 18px; line-height: 1.25; }
.tph-cb-ta { font-size: 14px; color: var(--muted); }
.tph-cb-day { font-size: 14px; color: var(--ink); font-weight: 600; }
.tph-cb-place { display: inline-flex; align-items: center; gap: 4px; font-size: 13.5px; color: var(--muted); }
.tph-cb-wishes { margin-top: 6px; justify-self: start; display: inline-flex; align-items: center; gap: 5px; padding: 3px 10px; border-radius: 999px; background: #fff4e6; color: #c2410c; font-size: 13px; font-weight: 700; }
.tph-cb-detail { --cb: #d6336c; max-width: 860px; display: grid; gap: 18px; padding: clamp(18px, 3vw, 32px); border-radius: 26px; border: 1px solid var(--line);
  background: linear-gradient(180deg, color-mix(in srgb, var(--cb) 12%, #ffffff) 0%, var(--card) 240px); }
.tph-cb-top { display: grid; grid-template-columns: minmax(0, 240px) minmax(0, 1fr); gap: 28px; align-items: center; }
@media (max-width: 560px) { .tph-cb-top { grid-template-columns: minmax(0, 1fr); justify-items: center; text-align: center; } .tph-cb-bigphoto { width: min(240px, 100%); } .tph-cb-who .tph-cb-place { justify-content: center; } }
.tph-cb-bigphoto { width: 100%; aspect-ratio: 4 / 5; border-radius: 22px; overflow: hidden; display: grid; place-items: center; font-size: 80px; color: #fff;
  background: linear-gradient(135deg, var(--cb), color-mix(in srgb, var(--cb) 55%, #1d1433)); box-shadow: 0 16px 40px color-mix(in srgb, var(--cb) 35%, transparent); }
.tph-cb-bigphoto img { width: 100%; height: 100%; object-fit: cover; }
.tph-cb-who { display: grid; gap: 6px; }
.tph-cb-who h1 { margin: 0; font-size: clamp(26px, 4.4vw, 38px); line-height: 1.12; }
.tph-cb-who p { margin: 0; }
.tph-cb-who .tph-cb-kind { display: block; font-size: 14px; }
.tph-cb-who .tph-cb-day { font-size: 16.5px; font-weight: 700; }
.tph-cb-who .tph-cb-place { display: flex; font-size: 15px; }
.tph-cb-who .tph-ft-badge { justify-self: start; }
@media (max-width: 560px) { .tph-cb-who .tph-ft-badge { justify-self: center; } }
.tph-cb-msg { font-size: 16.5px; line-height: 1.7; padding: 18px 20px; border-radius: 18px; background: var(--card); border: 1px solid var(--line); }
.tph-cb-box { padding: 14px 18px; border-radius: 18px; background: color-mix(in srgb, var(--cb) 9%, #ffffff); }
.tph-cb-box h2 { margin: 0 0 6px; font-size: 16px; display: flex; align-items: center; gap: 6px; }
.tph-cb-box p { margin: 0; line-height: 1.6; }
.tph-cb-wish-row { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }
.tph-cb-wish { display: inline-flex; align-items: center; gap: 10px; min-height: 52px; padding: 0 22px 0 14px; border-radius: 999px; border: 0; background: var(--cb); color: #fff; font: inherit; font-weight: 800; cursor: pointer; box-shadow: 0 8px 20px color-mix(in srgb, var(--cb) 30%, transparent); }
.tph-cb-wish:hover:not(:disabled) { filter: brightness(1.08); }
.tph-cb-pop { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; background: rgba(255, 255, 255, .2); font-size: 20px; }
.tph-cb-wish.is-sent { background: linear-gradient(120deg, #f59f00, #e8590c); cursor: default; }
.tph-cb-wish.is-sent .tph-cb-pop { animation: tph-pop .6s ease-out 1; }
@keyframes tph-pop { 0% { transform: scale(.6) rotate(-20deg); } 60% { transform: scale(1.25) rotate(10deg); } 100% { transform: scale(1) rotate(0); } }
@media (prefers-reduced-motion: reduce) { .tph-cb-wish.is-sent .tph-cb-pop { animation: none; } }
.tph-cb-count { color: var(--muted); }
.tph-cb-count b { color: #c2410c; font-size: 18px; }

/* MODERN-EXPLORE (Oct 8 2026): /explore as a bento grid. Light cards with an app-style badge (two-tone icon: the fill icon soft
   under the bold one), an arrow that moves on hover, the first card of each group in full colour, a search box in the banner.
   --c = the colour of each section. */
.tph-ex-mv { --c: #d63031; } .tph-ex-mu { --c: #6b3fd4; } .tph-ex-tv { --c: #0b7fd6; } .tph-ex-pod { --c: #9c36b5; } .tph-ex-ra { --c: #e8590c; }
.tph-ex-qz { --c: #0ca678; } .tph-ex-vi { --c: #e64980; }
.tph-ex-dev { --c: #e8590c; } .tph-ex-today { --c: #d4a017; } .tph-ex-kids { --c: #1c7ed6; } .tph-ex-learn { --c: #2b8a3e; } .tph-ex-astro { --c: #5f3dc4; } .tph-ex-names { --c: #e64980; }
.tph-ex-dir { --c: #0f8a7a; } .tph-ex-job { --c: #8d6e63; } .tph-ex-bd { --c: #b7791f; } .tph-ex-cel { --c: #f76707; } .tph-ex-rem { --c: #5c6f80; }
.tph-ex-ev { --c: #7b1fa2; } .tph-ex-cre { --c: #364fc7; } .tph-ex-ded { --c: #d6336c; } .tph-ex-ask { --c: #1971c2; }
.tph-ex-guide { --c: #0c8599; } .tph-ex-sy { --c: #3b5bdb; } .tph-ex-faq { --c: #495057; } .tph-ex-ab { --c: #2e5eaa; } .tph-ex-pp { --c: #2b8a3e; }

.tph-xp-hero { position: relative; overflow: hidden; isolation: isolate; border-radius: 28px; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 24px;
  padding: clamp(22px, 4vw, 44px); color: #fff;
  background: radial-gradient(60% 90% at 100% 0%, rgba(124, 92, 255, .55), transparent 60%), radial-gradient(50% 80% at 0% 100%, rgba(32, 201, 151, .35), transparent 60%),
    radial-gradient(40% 60% at 75% 100%, rgba(255, 146, 43, .4), transparent 60%), #101a33; }
.tph-xp-hero-txt { display: grid; gap: 10px; max-width: 620px; min-width: 0; }
.tph-xp-eyebrow { margin: 0; display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: #ffd43b; }
.tp-hub .tph-xp-hero h1 { color: #fff !important; margin: 0; font-size: clamp(34px, 5.4vw, 56px); line-height: 1; letter-spacing: -.035em; }
.tph-xp-hero-txt > p { margin: 0; color: rgba(255, 255, 255, .82); font-size: 17px; }
.tph-xp-search { display: flex; align-items: center; gap: 10px; margin-top: 8px; padding: 0 16px; height: 54px; border-radius: 16px; background: rgba(255, 255, 255, .96); color: #5b6577;
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, .5); }
.tph-xp-search:focus-within { outline: 3px solid #ffd43b; outline-offset: 2px; }
.tph-xp-search i { font-size: 20px; }
.tph-xp-search input { flex: 1; min-width: 0; height: 100%; border: 0; outline: 0; background: transparent; font: inherit; font-size: 16px; color: #142033; }
.tph-xp-jump { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.tph-xp-jump a { padding: 7px 14px; border-radius: 999px; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .2); color: #fff !important; font-size: 14px; font-weight: 600; text-decoration: none;
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.tph-xp-jump a:hover { background: rgba(255, 255, 255, .22); }
.tph-xp-float { position: relative; width: 230px; height: 200px; }
.tph-xp-fb { position: absolute; animation: tph-xp-bob 6s ease-in-out infinite; }
.tph-xp-fb .tph-xp-badge { width: 84px; height: 84px; border-radius: 26px; font-size: 44px; }
.tph-xp-fb0 { left: 0; top: 14px; transform: rotate(-10deg); } .tph-xp-fb1 { left: 112px; top: 0; transform: rotate(8deg); animation-delay: -1.5s; }
.tph-xp-fb2 { left: 30px; top: 108px; transform: rotate(6deg); animation-delay: -3s; } .tph-xp-fb3 { left: 140px; top: 100px; transform: rotate(-6deg); animation-delay: -4.5s; }
@keyframes tph-xp-bob { 0%, 100% { translate: 0 0; } 50% { translate: 0 -8px; } }
@media (max-width: 767.98px) { .tph-xp-hero { grid-template-columns: minmax(0, 1fr); border-radius: 22px; } .tph-xp-float { display: none; } }

.tph-xp-group { scroll-margin-top: 90px; gap: 14px; }
.tph-xp-head { display: flex; align-items: baseline; gap: 10px; }
.tph-xp-head h2 { font-size: 22px; }
.tph-xp-head span { font-size: 13px; font-weight: 700; color: var(--muted); padding: 1px 9px; border-radius: 999px; background: var(--card); border: 1px solid var(--line); }
.tph-xp-grid { --c: var(--acc); display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 14px; }
.tph-xp-card { position: relative; overflow: hidden; isolation: isolate; display: grid; align-content: space-between; gap: 18px; min-height: 168px; padding: 18px;
  border-radius: 22px; background: var(--card); border: 1px solid var(--line); text-decoration: none; color: var(--ink) !important;
  background-image: radial-gradient(120% 80% at 100% 0%, color-mix(in srgb, var(--c) 10%, transparent), transparent 60%);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.tph-xp-card:hover, .tph-xp-card:focus-visible { transform: translateY(-3px); border-color: color-mix(in srgb, var(--c) 45%, var(--line));
  box-shadow: 0 18px 34px -18px color-mix(in srgb, var(--c) 60%, #000); }
.tph-xp-card:focus-visible { outline: 3px solid var(--c); outline-offset: 3px; }
.tph-xp-badge { position: relative; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 18px; font-size: 30px; color: #fff;
  background: linear-gradient(145deg, color-mix(in srgb, var(--c) 70%, #fff) 0%, var(--c) 55%, color-mix(in srgb, var(--c) 75%, #000) 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .45), inset 0 -2px 6px rgba(0, 0, 0, .15), 0 8px 18px -8px color-mix(in srgb, var(--c) 80%, #000); transition: transform .25s ease; }
.tph-xp-badge i { grid-area: 1 / 1; line-height: 1; }
.tph-xp-i1 { opacity: .38; transform: translate(2px, 2px); }
.tph-xp-letter { font-family: 'Noto Sans Tamil', 'Latha', 'Tamil Sangam MN', system-ui, sans-serif; font-size: .95em; font-weight: 800; line-height: 1; }
.tph-xp-card:hover .tph-xp-badge { transform: rotate(-6deg) scale(1.06); }
.tph-xp-txt { display: grid; gap: 3px; min-width: 0; }
.tph-xp-txt strong { font-family: var(--display); font-size: 17px; line-height: 1.2; letter-spacing: -.01em; overflow-wrap: anywhere; }
.tph-xp-txt small { font-size: 13.5px; line-height: 1.35; color: var(--muted); overflow-wrap: anywhere; }
.tph-xp-go { position: absolute; top: 16px; right: 16px; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; font-size: 16px;
  color: var(--c); background: color-mix(in srgb, var(--c) 10%, #fff); transition: transform .2s ease, background .2s ease, color .2s ease; }
.tph-xp-card:hover .tph-xp-go { transform: translate(2px, -2px); background: var(--c); color: #fff; }
/* the first card of each group: full colour, twice as wide */
.tph-xp-card.is-hero { grid-column: span 2; color: #fff !important; border-color: transparent; min-height: 200px;
  background: radial-gradient(90% 120% at 100% 0%, color-mix(in srgb, var(--c) 55%, #fff) 0%, transparent 55%), linear-gradient(140deg, var(--c) 0%, color-mix(in srgb, var(--c) 65%, #000) 100%); }
.tph-xp-card.is-hero .tph-xp-badge { width: 68px; height: 68px; border-radius: 22px; font-size: 38px; background: rgba(255, 255, 255, .18);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .5), 0 10px 24px -10px rgba(0, 0, 0, .45); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.tph-xp-card.is-hero .tph-xp-txt strong { font-size: 26px; }
.tph-xp-card.is-hero .tph-xp-txt small { color: rgba(255, 255, 255, .88); font-size: 15px; }
.tph-xp-card.is-hero .tph-xp-go { background: rgba(255, 255, 255, .2); color: #fff; }
.tph-xp-card.is-hero:hover .tph-xp-go { background: #fff; color: var(--c); }
.tph-xp-searching .tph-xp-card.is-hero { grid-column: auto; }
.tph-xp-searching .tph-xp-head span { display: none; }
/* Help: small rows */
.tph-xp-help { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 10px; }
.tph-xp-help .tph-xp-card { min-height: 0; grid-template-columns: auto minmax(0, 1fr); align-items: center; align-content: center; gap: 14px; padding: 14px 52px 14px 14px; border-radius: 18px; }
.tph-xp-help .tph-xp-badge { width: 44px; height: 44px; border-radius: 14px; font-size: 23px; }
.tph-xp-help .tph-xp-txt strong { font-size: 15.5px; }
.tph-xp-help .tph-xp-go { top: 50%; margin-top: -15px; width: 30px; height: 30px; font-size: 14px; }
@media (max-width: 575.98px) {
  .tph-xp-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .tph-xp-card { min-height: 150px; padding: 14px; border-radius: 18px; gap: 14px; }
  .tph-xp-badge { width: 48px; height: 48px; border-radius: 15px; font-size: 26px; }
  .tph-xp-card.is-hero { min-height: 170px; } .tph-xp-card.is-hero .tph-xp-txt strong { font-size: 22px; }
  .tph-xp-txt strong { font-size: 15.5px; } .tph-xp-txt small { font-size: 12.5px; }
  .tph-xp-go { top: 12px; right: 12px; width: 30px; height: 30px; font-size: 14px; }
  .tph-xp-help { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) { .tph-xp-card, .tph-xp-badge, .tph-xp-go { transition: none; } .tph-xp-card:hover { transform: none; } .tph-xp-fb { animation: none; } }

/* TAMIL-TYPING (Oct 8 2026): the "அ Type in Tamil" button on form fields, its dialog, and /tamil-typing */
.tph-tamil-typing { --acc: #2b8a3e; --acc-soft: #e6f6ea; }
.tph-ta-btn { margin-left: 8px; display: inline-flex; align-items: center; gap: 4px; padding: 2px 10px; border-radius: 999px; border: 1px solid var(--line); background: var(--card);
  color: var(--acc); font: inherit; font-size: 12.5px; font-weight: 700; cursor: pointer; vertical-align: middle; }
.tph-ta-btn span[lang] { font-size: 14px; }
.tph-ta-btn:hover { border-color: var(--acc); }
.tph-ta-out { min-height: 54px; padding: 12px 14px; border-radius: 14px; background: var(--soft); border: 1px dashed var(--line); font-size: 19px; line-height: 1.6; white-space: pre-wrap; overflow-wrap: anywhere;
  font-family: 'Noto Sans Tamil', 'Latha', 'Tamil Sangam MN', system-ui, sans-serif; }
.tph-ta-dlg .tph-ta-out:empty::before { content: '…'; color: var(--faint); }
.tph-ta-pad { max-width: 820px; display: grid; gap: 14px; padding: clamp(16px, 3vw, 26px); border-radius: 22px; background: var(--card); border: 1px solid var(--line); }
.tph-ta-pad textarea, .tph-ta-dlg textarea { font: inherit; font-size: 17px; font-weight: 400; }
.tph-ta-big { min-height: 140px; font-size: 22px; background: var(--acc-soft); border-style: solid; border-color: transparent; }
.tph-ta-keys { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 8px; max-width: 820px; }
.tph-ta-keys span { display: grid; justify-items: center; gap: 2px; padding: 10px 6px; border-radius: 14px; background: var(--card); border: 1px solid var(--line); }
.tph-ta-keys b { font-size: 24px; font-family: 'Noto Sans Tamil', 'Latha', 'Tamil Sangam MN', system-ui, sans-serif; color: var(--acc); }
.tph-ta-keys code { font-size: 13px; color: var(--muted); }
.tph-ex-type { --c: #2f9e44; }

/* POLLS (Oct 8 2026): /polls — big answer buttons, then animated result bars */
.tph-polls { --acc: #1971c2; --acc-soft: #e7f1fc; }
.tph-ex-poll { --c: #1c7ed6; }
.tph-pl-card { display: grid; gap: 12px; padding: clamp(18px, 3vw, 28px); border-radius: 24px; background: var(--card); border: 1px solid var(--line); }
.tph-pl-card.is-big { max-width: 760px; background: radial-gradient(90% 70% at 100% 0%, var(--acc-soft), transparent 70%), var(--card); box-shadow: 0 18px 40px -26px rgba(25, 113, 194, .55); }
.tph-pl-kicker { margin: 0; display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--acc); }
.tph-pl-card h2 { font-size: clamp(22px, 3.4vw, 30px); line-height: 1.2; }
.tph-pl-card:not(.is-big) h2 { font-size: 18px; }
.tph-pl-ta { margin: -6px 0 0; color: var(--muted); font-size: 16px; }
.tph-pl-opts { display: grid; gap: 10px; }
.tph-pl-opt { display: grid; gap: 2px; text-align: left; padding: 14px 18px; min-height: 56px; border-radius: 16px; border: 2px solid var(--line); background: var(--card); font: inherit; color: var(--ink); cursor: pointer;
  transition: border-color .15s, background .15s, transform .1s; }
.tph-pl-opt b { font-size: 17px; }
.tph-pl-opt span { font-size: 14px; color: var(--muted); }
.tph-pl-opt:hover:not(:disabled) { border-color: var(--acc); background: var(--acc-soft); }
.tph-pl-opt:active:not(:disabled) { transform: scale(.99); }
.tph-pl-opt.is-picked { border-color: var(--acc); background: var(--acc-soft); }
.tph-pl-opt:disabled { cursor: default; }
.tph-pl-res { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.tph-pl-res li { position: relative; overflow: hidden; display: flex; align-items: center; gap: 10px; min-height: 52px; padding: 10px 16px; border-radius: 14px; background: var(--soft); border: 1px solid var(--line); }
.tph-pl-bar { position: absolute; inset: 0 auto 0 0; width: var(--w); background: color-mix(in srgb, var(--acc) 16%, transparent); animation: tph-pl-grow .8s ease-out; }
.tph-pl-res li.is-top .tph-pl-bar { background: color-mix(in srgb, var(--acc) 30%, transparent); }
.tph-pl-res li.is-mine { border-color: var(--acc); }
.tph-pl-lab { position: relative; flex: 1; min-width: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; }
.tph-pl-lab b { font-size: 16px; } .tph-pl-lab span { font-size: 13.5px; color: var(--muted); } .tph-pl-lab i { color: var(--acc); font-size: 18px; }
.tph-pl-pc { position: relative; font-weight: 800; font-variant-numeric: tabular-nums; color: var(--acc); }
@keyframes tph-pl-grow { from { width: 0; } }
@media (prefers-reduced-motion: reduce) { .tph-pl-bar { animation: none; } }
.tph-pl-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: 14px; }
#tph-pl { display: grid; gap: 30px; min-width: 0; }

/* MONEY (Oct 8 2026): /money — calculator, today's table, ways to send */
.tph-money { --acc: #0b7285; --acc-soft: #e3f6f9; }
.tph-ex-fx { --c: #0b7285; }
.tph-fx-calc { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 18px; padding: clamp(18px, 3vw, 28px); border-radius: 26px; color: #fff;
  background: radial-gradient(70% 90% at 100% 0%, rgba(56, 217, 169, .35), transparent 60%), linear-gradient(135deg, #0b3d4f, #0b7285); box-shadow: 0 20px 40px -26px rgba(11, 114, 133, .8); }
.tph-fx-in { display: grid; gap: 12px; align-content: start; }
.tph-fx-calc .tph-field > span { color: rgba(255, 255, 255, .85); font-weight: 600; }
.tph-fx-calc input, .tph-fx-calc select { width: 100%; height: 52px; padding: 0 14px; border-radius: 14px; border: 0; font: inherit; font-size: 20px; font-weight: 700; color: #142033; background: #fff; }
.tph-fx-calc select { font-size: 16px; font-weight: 600; }
.tph-fx-out { display: grid; gap: 12px; }
.tph-fx-res { display: grid; gap: 2px; padding: 14px 18px; border-radius: 18px; background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .18); }
.tph-fx-lab { font-size: 14px; color: rgba(255, 255, 255, .85); }
.tph-fx-big { font-family: var(--display); font-size: clamp(28px, 4.6vw, 40px); line-height: 1.1; letter-spacing: -.02em; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.tph-fx-big small { font-size: .5em; font-weight: 700; opacity: .85; }
.tph-fx-one { font-size: 14px; color: rgba(255, 255, 255, .85); font-variant-numeric: tabular-nums; }
.tph-fx-chg { justify-self: start; display: inline-flex; align-items: center; gap: 4px; margin-top: 4px; padding: 2px 10px; border-radius: 999px; font-size: 12.5px; font-weight: 700; background: rgba(255, 255, 255, .16); }
.tph-fx-chg.is-up { background: rgba(105, 219, 124, .28); } .tph-fx-chg.is-down { background: rgba(255, 135, 135, .28); }
.tph-fx-out .tph-loading { color: rgba(255, 255, 255, .8); }
@media (max-width: 700px) { .tph-fx-calc { grid-template-columns: minmax(0, 1fr); } }
.tph-fx-table { max-width: 760px; overflow-x: auto; border-radius: 18px; border: 1px solid var(--line); background: var(--card); }
.tph-fx-table table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.tph-fx-table th, .tph-fx-table td { padding: 11px 16px; text-align: right; border-bottom: 1px solid var(--line); white-space: nowrap; }
.tph-fx-table th:first-child, .tph-fx-table td:first-child { text-align: left; }
.tph-fx-table th { font-size: 12.5px; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); background: var(--soft); }
.tph-fx-table td span { color: var(--muted); font-size: 13.5px; }
.tph-fx-table tr:last-child td { border-bottom: 0; }
.tph-fx-table tr.is-on td { background: var(--acc-soft); }
.tph-fx-send { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 230px), 1fr)); gap: 12px; }
.tph-fx-svc { position: relative; display: grid; gap: 4px; padding: 16px 44px 16px 16px; border-radius: 18px; border: 1px solid var(--line); background: var(--card); text-decoration: none; color: var(--ink) !important; }
.tph-fx-svc:hover { border-color: var(--acc); }
.tph-fx-svc strong { font-size: 17px; } .tph-fx-svc span { font-size: 14px; color: var(--muted); }
.tph-fx-svc i { position: absolute; top: 16px; right: 16px; color: var(--acc); }
.tph-fx-tips { margin: 14px 0 0; padding-left: 20px; display: grid; gap: 6px; color: var(--muted); max-width: 760px; }
.tph-fx-src { margin-top: -10px; }

/* CINEMA (Oct 8 2026): /cinema — one card per film (poster + its cinemas) */
.tph-cinema { --acc: #c92a2a; --acc-soft: #fff0f0; }
.tph-ex-cn { --c: #c92a2a; }
#tph-cn { min-width: 0; }
.tph-cn-list { display: grid; gap: 18px; }
.tph-cn-film { display: grid; grid-template-columns: 170px minmax(0, 1fr); gap: 20px; padding: 16px; border-radius: 24px; background: var(--card); border: 1px solid var(--line); }
.tph-cn-poster { position: relative; align-self: start; aspect-ratio: 2 / 3; border-radius: 16px; overflow: hidden; display: grid; place-items: center; font-size: 56px; color: #fff;
  background: linear-gradient(150deg, #c92a2a, #3b0d0d); box-shadow: 0 14px 28px -16px rgba(0, 0, 0, .6); }
.tph-cn-poster img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.tph-cn-soon { position: absolute; left: 8px; top: 8px; padding: 2px 10px; border-radius: 999px; background: #ffd43b; color: #3a2a00; font-size: 12px; font-weight: 800; }
.tph-cn-body { display: grid; gap: 6px; align-content: start; min-width: 0; }
.tph-cn-body h2 { font-size: clamp(22px, 3vw, 28px); line-height: 1.15; }
.tph-cn-ta { margin: 0; font-size: 16px; color: var(--muted); }
.tph-cn-lang { margin: 0; justify-self: start; padding: 2px 10px; border-radius: 999px; background: var(--acc-soft); color: var(--acc); font-size: 13px; font-weight: 700; }
.tph-cn-shows { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 10px; }
.tph-cn-shows li { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px 16px; padding: 12px 14px; border-radius: 16px; background: var(--soft); border: 1px solid var(--line); }
.tph-cn-where { display: grid; gap: 2px; min-width: 0; }
.tph-cn-where b { font-size: 16px; }
.tph-cn-where span { font-size: 14px; color: var(--muted); }
.tph-cn-run { font-weight: 700; color: var(--ink) !important; }
.tph-cn-times { color: var(--ink) !important; font-variant-numeric: tabular-nums; }
.tph-cn-note { font-style: italic; }
.tph-cn-acts { display: flex; flex-wrap: wrap; gap: 8px; }
.tph-cn-head { display: grid; gap: 6px; align-content: start; }
@media (max-width: 600px) { .tph-cn-film { grid-template-columns: 96px minmax(0, 1fr); gap: 14px; padding: 12px; } .tph-cn-body { display: contents; }
  .tph-cn-head { grid-column: 2; align-self: center; } .tph-cn-shows { grid-column: 1 / -1; margin-top: 0; } }

/* UR (Oct 8 2026): /ur — home towns */
.tph-ur { --acc: #2b8a3e; --acc-soft: #e6f6ea; }
.tph-ex-ur { --c: #2f9e44; }
#tph-ur { display: grid; gap: 30px; min-width: 0; }
.tph-ur-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 170px), 1fr)); gap: 10px; }
.tph-ur-tile { position: relative; display: grid; gap: 2px; padding: 14px 16px; border-radius: 16px; background: var(--card); border: 1px solid var(--line); text-decoration: none; color: var(--ink) !important;
  transition: border-color .15s, transform .15s; }
.tph-ur-tile:hover { border-color: var(--acc); transform: translateY(-2px); }
.tph-ur-tile b { font-size: 19px; font-family: 'Noto Sans Tamil', 'Latha', 'Tamil Sangam MN', system-ui, sans-serif; line-height: 1.3; overflow-wrap: anywhere; }
.tph-ur-tile span { font-size: 14px; color: var(--muted); }
.tph-ur-tile small { position: absolute; top: 10px; right: 10px; min-width: 22px; padding: 1px 7px; border-radius: 999px; background: var(--acc-soft); color: var(--acc); font-size: 12px; font-weight: 800; text-align: center; }
.tph-ur-hero { display: grid; gap: 6px; padding: clamp(22px, 4vw, 40px); border-radius: 26px; color: #fff;
  background: radial-gradient(70% 100% at 100% 0%, rgba(255, 212, 59, .35), transparent 60%), linear-gradient(135deg, #1b4332, #2b8a3e); }
.tph-ur-region { margin: 0; font-size: 13px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: #ffe066; }
.tp-hub .tph-ur-hero h1 { color: #fff !important; font-family: 'Noto Sans Tamil', 'Latha', 'Tamil Sangam MN', system-ui, sans-serif; font-size: clamp(34px, 6vw, 56px); line-height: 1.2; }
.tph-ur-en { margin: 0; font-size: 20px; font-weight: 700; color: rgba(255, 255, 255, .9); }

/* LETTER (Oct 9 2026): /letter "Explain my letter" (hub.js letterPage). Prefix tph-lx- (tph-lt- is Learn Tamil). */
.tph-letter { --acc: #5f3dc4; --acc-soft: #f0ebff; }
.tph-ex-lx { --c: #5f3dc4; }
.tph-lx-testbar { margin: 0; display: flex; gap: 8px; align-items: center; padding: 10px 14px; border-radius: 12px; background: #fff4e0; color: #8a5300; font-weight: 600; font-size: 14.5px; }
.tph-lx-app { display: grid; gap: 16px; background: var(--card); border: 1px solid var(--line); border-radius: 24px; padding: clamp(18px, 3vw, 28px); }
.tph-lx-bal { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; padding: 14px 16px; border-radius: 16px; background: var(--acc-soft); }
.tph-lx-bal > div { flex: 1; min-width: 140px; font-weight: 700; }
.tph-lx-bal-n { font-family: var(--display); font-size: 30px; font-weight: 800; color: var(--acc); vertical-align: -3px; }
.tph-lx-code { font-size: 13.5px; color: var(--muted); }
.tph-lx-code b { font-family: ui-monospace, Menlo, monospace; letter-spacing: .08em; color: var(--ink); }
.tph-lx-more { min-height: 40px; }
.tph-lx-pages { display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 12px; }
.tph-lx-page { position: relative; margin: 0; border-radius: 14px; overflow: hidden; border: 1px solid var(--line); background: var(--soft); aspect-ratio: 3 / 4; }
.tph-lx-page img { width: 100%; height: 100%; object-fit: cover; display: block; }
.tph-lx-page figcaption { position: absolute; left: 8px; bottom: 8px; padding: 2px 9px; border-radius: 999px; background: rgba(20, 32, 51, .75); color: #fff; font-size: 12.5px; font-weight: 700; }
.tph-lx-rm { position: absolute; top: 6px; right: 6px; width: 36px; height: 36px; border-radius: 50%; border: 0; display: grid; place-items: center; background: rgba(20, 32, 51, .75); color: #fff; cursor: pointer; font-size: 16px; }
.tph-lx-add { position: relative; display: grid; place-items: center; align-content: center; gap: 6px; text-align: center; min-height: 170px; padding: 16px; border-radius: 14px; cursor: pointer;
  border: 2px dashed color-mix(in srgb, var(--acc) 45%, var(--line)); background: color-mix(in srgb, var(--acc) 5%, var(--card)); color: var(--acc); }
.tph-lx-pages:has(.tph-lx-page) .tph-lx-add { aspect-ratio: 3 / 4; min-height: 0; }
.tph-lx-pages:not(:has(.tph-lx-page)) { grid-template-columns: 1fr; }
.tph-lx-add:hover { background: color-mix(in srgb, var(--acc) 10%, var(--card)); }
.tph-lx-add:focus-within { outline: 3px solid var(--acc); outline-offset: 2px; }
.tph-lx-add input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.tph-lx-add i { font-size: 40px; }
.tph-lx-add b { color: var(--ink); font-size: 16px; }
.tph-lx-add small { color: var(--muted); }
.tph-lx-go { justify-self: start; }
@media (max-width: 575.98px) { .tph-lx-go { width: 100%; } }
.tph-lx-uses { margin-top: -6px; }
.tph-lx-wait { display: grid; justify-items: center; gap: 8px; padding: 40px 10px; text-align: center; }
.tph-lx-wait b { font-family: var(--display); font-size: 20px; }
.tph-lx-wait small { color: var(--muted); }
.tph-lx-spin { width: 76px; height: 76px; border-radius: 24px; display: grid; place-items: center; font-size: 40px; color: #fff; background: linear-gradient(140deg, var(--acc), color-mix(in srgb, var(--acc) 65%, #000));
  animation: tph-lx-pulse 1.6s ease-in-out infinite; }
@keyframes tph-lx-pulse { 0%, 100% { transform: scale(1) rotate(-4deg); } 50% { transform: scale(1.08) rotate(4deg); } }
@media (prefers-reduced-motion: reduce) { .tph-lx-spin { animation: none; } }
.tph-lx-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; }
.tph-lx-steps li { display: flex; gap: 12px; align-items: flex-start; background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 16px; }
.tph-lx-steps p { margin: 4px 0 0; color: var(--muted); font-size: 14.5px; }
.tph-lx-step-i { flex: none; width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; font-size: 24px; background: var(--acc-soft); color: var(--acc); }
.tph-lx-packs { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 12px; }
.tph-lx-pack { position: relative; display: grid; gap: 4px; justify-items: start; padding: 18px; border-radius: 20px; background: var(--card); border: 1px solid var(--line); }
.tph-lx-pack.is-best { border: 2px solid var(--acc); }
.tph-lx-best { position: absolute; top: -11px; right: 14px; padding: 2px 10px; border-radius: 999px; background: var(--acc); color: #fff; font-size: 12px; font-weight: 800; }
.tph-lx-pack-n { font-family: var(--display); font-size: 18px; }
.tph-lx-pack-p { font-family: var(--display); font-size: 30px; font-weight: 800; color: var(--acc); line-height: 1.1; }
.tph-lx-pack small { color: var(--muted); font-size: 13px; margin-bottom: 8px; }
.tph-lx-pack .tph-btn { width: 100%; }
.tph-lx-res { display: grid; gap: 14px; }
.tph-lx-res h2 { font-size: 24px; }
.tph-lx-res-head { display: flex; gap: 12px; justify-content: space-between; align-items: flex-start; flex-wrap: wrap; }
.tph-lx-from { margin: 0 0 2px; color: var(--muted); font-size: 14px; font-weight: 600; }
.tph-lx-urgent { display: inline-flex; gap: 6px; align-items: center; padding: 6px 12px; border-radius: 999px; background: #fdecea; color: #b3261e; font-weight: 800; font-size: 14px; }
.tph-lx-part { display: grid; gap: 10px; padding: 16px; border-radius: 18px; background: var(--soft); border: 1px solid var(--line); }
.tph-lx-part h3 { font-size: 17px; display: flex; gap: 8px; align-items: center; }
.tph-lx-part h3 i { color: var(--acc); font-size: 20px; }
.tph-lx-sum { background: var(--acc-soft); border-color: transparent; }
.tph-lx-sum .tph-lx-ta { font-size: 18px; }
.tph-lx-ta { margin: 0; font-family: 'Noto Sans Tamil', 'Latha', 'Tamil Sangam MN', system-ui, sans-serif; font-size: 16.5px; line-height: 1.65; color: var(--ink); }
.tph-lx-en { margin: 2px 0 0; color: var(--muted); font-size: 14px; }
.tph-lx-todo { display: grid; grid-template-columns: 30px minmax(0, 1fr); gap: 10px; align-items: start; }
.tph-lx-num { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--acc); color: #fff; font-weight: 800; font-size: 14px; }
.tph-lx-row, .tph-lx-pt { display: grid; gap: 2px; padding-top: 10px; border-top: 1px solid var(--line); }
.tph-lx-part h3 + .tph-lx-row, .tph-lx-part h3 + .tph-lx-pt { border-top: 0; padding-top: 0; }
.tph-lx-when, .tph-lx-amt { font-family: var(--display); font-size: 16px; }
.tph-lx-days { margin-left: 6px; padding: 1px 8px; border-radius: 999px; font-size: 12.5px; background: var(--card); border: 1px solid var(--line); color: var(--muted); font-family: inherit; }
.tph-lx-days.is-soon { background: #fdecea; border-color: #f5c2bd; color: #b3261e; }
.tph-lx-days.is-past { text-decoration: line-through; }
.tph-lx-warn { background: #fff4e0; border-color: #ffd8a8; }
.tph-lx-warn h3 i { color: #c25e00; }
.tph-lx-reply { margin: 0; white-space: pre-wrap; font: inherit; font-size: 15px; background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; }
.tph-lx-part .tph-btn { justify-self: start; }
@media print { /* only the explanation */
  body * { visibility: hidden !important; }
  .tph-lx-app, .tph-lx-app * { visibility: visible !important; }
  .tph-lx-app { position: absolute; left: 0; top: 0; width: 100%; border: 0; padding: 0; }
  .tph-lx-app .tph-btn, .tph-lx-app .tph-actions { display: none !important; }
}
.tph-lx-app textarea { width: 100%; min-height: 64px; padding: 10px 14px; border-radius: 14px; border: 1px solid var(--line); background: #fff; color: var(--ink); font: inherit; font-size: 16px; resize: vertical; }
.tph-lx-app textarea:focus { outline: none; border-color: var(--acc); box-shadow: 0 0 0 3px var(--acc-soft); }
.tph-lx-app { scroll-margin-top: 90px; }
.tph-lx-soon { width: 100%; min-height: 44px; display: inline-flex; align-items: center; justify-content: center; gap: 6px; border-radius: 999px; background: var(--soft); border: 1px dashed var(--line); color: var(--muted); font-weight: 700; font-size: 14.5px; }

/* HOLIDAYS (Oct 9 2026): /holidays (hub.js holidaysPage). Public = blue, school = green, Tamil festival = saffron. */
.tph-holidays { --acc: #0b7285; --acc-soft: #e3f6f8; --hp: #1c7ed6; --hs: #2b8a3e; --ht: #e8590c; }
.tph-ex-hol { --c: #0b7285; }
.tph-hol-bar { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 280px)); gap: 12px; }
.tph-hol-bar select { width: 100%; min-height: 48px; padding: 0 12px; border-radius: 12px; border: 1px solid #cfd6e2; background: #fff; color: var(--ink); font: inherit; font-size: 16px; }
.tph-hol-pick { margin: 0; display: flex; gap: 8px; align-items: center; padding: 12px 14px; border-radius: 14px; background: var(--acc-soft); color: var(--acc); font-weight: 700; }
#tph-hol { display: grid; gap: 28px; }
.tph-hol-his { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 12px; }
.tph-hol-hi { --h: var(--hp); display: flex; gap: 14px; align-items: flex-start; padding: 18px; border-radius: 20px; background: var(--card); border: 1px solid var(--line);
  background-image: radial-gradient(120% 90% at 100% 0%, color-mix(in srgb, var(--h) 12%, transparent), transparent 60%); }
.tph-hol-hi.tph-hol-school { --h: var(--hs); } .tph-hol-hi.tph-hol-tamil { --h: var(--ht); }
.tph-hol-hi-i { flex: none; width: 46px; height: 46px; border-radius: 15px; display: grid; place-items: center; font-size: 24px; color: #fff;
  background: linear-gradient(145deg, color-mix(in srgb, var(--h) 70%, #fff), var(--h)); }
.tph-hol-hi > div { display: grid; gap: 2px; min-width: 0; }
.tph-hol-hi small { color: var(--muted); font-size: 12.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; }
.tph-hol-hi b { font-family: var(--display); font-size: 17px; line-height: 1.25; }
.tph-hol-hi > div > span { color: var(--muted); font-size: 14px; }
.tph-hol-hi em { font-style: normal; font-weight: 800; color: var(--h); font-size: 14px; }
.tph-hol-long { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 10px; }
.tph-hol-trip { display: flex; gap: 12px; align-items: center; padding: 14px 16px; border-radius: 16px; background: color-mix(in srgb, var(--hs) 8%, var(--card)); border: 1px solid color-mix(in srgb, var(--hs) 25%, var(--line)); }
.tph-hol-trip i { font-size: 26px; color: var(--hs); }
.tph-hol-trip > div { flex: 1; display: grid; min-width: 0; }
.tph-hol-trip span { color: var(--muted); font-size: 14px; }
.tph-hol-trip strong { font-family: var(--display); color: var(--hs); white-space: nowrap; }
.tph-hol-month { display: grid; gap: 8px; }
.tph-hol-month h3 { font-size: 17px; margin-top: 6px; }
.tph-hol-row { --h: var(--hp); display: grid; grid-template-columns: 54px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 10px 14px 10px 10px; border-radius: 16px; background: var(--card);
  border: 1px solid var(--line); border-left: 4px solid var(--h); }
.tph-hol-row.tph-hol-school { --h: var(--hs); } .tph-hol-row.tph-hol-tamil { --h: var(--ht); }
.tph-hol-day { display: grid; justify-items: center; line-height: 1.1; padding: 6px 0; border-radius: 12px; background: color-mix(in srgb, var(--h) 10%, var(--card)); color: var(--h); }
.tph-hol-day b { font-family: var(--display); font-size: 20px; }
.tph-hol-day small { font-size: 12px; font-weight: 700; text-transform: uppercase; }
.tph-hol-what { display: grid; gap: 2px; min-width: 0; }
.tph-hol-what > b { font-size: 15.5px; overflow-wrap: anywhere; }
.tph-hol-what > span[lang] { font-size: 14px; color: var(--muted); }
.tph-hol-meta { font-size: 13px; color: var(--muted); }
.tph-hol-tag { display: inline-block; margin-right: 6px; padding: 0 8px; border-radius: 999px; font-weight: 700; font-size: 12px; background: color-mix(in srgb, var(--h) 12%, var(--card)); color: var(--h); }
.tph-hol-soon { font-size: 13px; font-weight: 700; color: var(--muted); white-space: nowrap; }
@media (max-width: 575.98px) { .tph-hol-row { grid-template-columns: 48px minmax(0, 1fr); } .tph-hol-soon { grid-column: 2; } }

/* TAX (Oct 9 2026): /tax tax help (hub.js taxPage). Reuses the tph-lx- parts of /letter for credits, photos and the report. */
.tph-tax { --acc: #2b8a3e; --acc-soft: #e6f6ea; }
.tph-ex-tx { --c: #2b8a3e; }
.tph-tx-ways { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 14px; }
.tph-tx-way { display: grid; gap: 8px; align-content: start; padding: 22px; border-radius: 22px; text-decoration: none; color: var(--ink) !important; background: var(--card); border: 1px solid var(--line);
  background-image: radial-gradient(120% 90% at 100% 0%, color-mix(in srgb, var(--acc) 12%, transparent), transparent 60%); transition: transform .2s ease, box-shadow .2s ease; }
.tph-tx-way:hover { transform: translateY(-2px); box-shadow: 0 16px 30px -18px color-mix(in srgb, var(--acc) 60%, #000); }
.tph-tx-way.is-pro { --acc: #1971c2; }
.tph-tx-way-i { width: 52px; height: 52px; border-radius: 17px; display: grid; place-items: center; font-size: 28px; color: #fff; background: linear-gradient(145deg, color-mix(in srgb, var(--acc) 70%, #fff), var(--acc)); }
.tph-tx-way b { font-family: var(--display); font-size: 20px; }
.tph-tx-way > span:not(.tph-tx-way-i) { color: var(--muted); font-size: 15px; }
.tph-tx-way em { font-style: normal; font-weight: 800; color: var(--acc); }
.tph-tx-form { max-width: none; }
.tph-tx-form h2 { font-size: 22px; }
.tph-tx-form .tph-fs { display: grid; gap: 14px; }
.tph-tx-form input:not([type="checkbox"]):not([type="file"]), .tph-tx-form select, .tph-tx-form textarea { width: 100%; min-height: 48px; padding: 10px 14px; border-radius: 12px; border: 1px solid #cfd6e2;
  background: #fff; color: var(--ink); font: inherit; font-size: 16px; }
.tph-tx-form textarea { min-height: 80px; resize: vertical; }
.tph-tx-form input:focus, .tph-tx-form select:focus, .tph-tx-form textarea:focus { outline: none; border-color: var(--acc); box-shadow: 0 0 0 3px var(--acc-soft); }
.tph-tx-add { min-height: 130px; }
.tph-tx-res { scroll-margin-top: 90px; }
.tph-tx-off { font-size: 13px; font-weight: 700; color: var(--acc); }
.tph-tx-pro { background: #e7f1fc; color: #1971c2; }
.tph-tx-propart { background: #e7f1fc; border-color: #c5ddf6; }
.tph-tx-propart .tph-btn { justify-self: start; }
.tph-lx-bal .tph-btn { min-height: 40px; }
/* TAX-CASE (Oct 9 2026): three steps, the case box (documents read, missing), the big filing link */
.tph-tx-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.tph-tx-steps li { display: flex; gap: 8px; align-items: center; padding: 10px 12px; border-radius: 14px; background: var(--card); border: 1px solid var(--line); font-weight: 700; font-size: 14px; color: var(--muted); }
.tph-tx-steps li > span { flex: none; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--soft); border: 1px solid var(--line); font-size: 13px; }
.tph-tx-steps li.is-on { border-color: var(--acc); color: var(--ink); }
.tph-tx-steps li.is-on > span { background: var(--acc); border-color: var(--acc); color: #fff; }
.tph-tx-steps li.is-done > span { background: var(--acc-soft); border-color: transparent; color: var(--acc); }
@media (max-width: 575.98px) { .tph-tx-steps { grid-template-columns: 1fr; } }
.tph-tx-case, .tph-tx-res { scroll-margin-top: 90px; }
.tph-tx-left { padding: 5px 12px; border-radius: 999px; background: var(--acc-soft); color: var(--acc); font-weight: 800; font-size: 14px; }
.tph-tx-doc { display: grid; gap: 4px; padding-top: 10px; border-top: 1px solid var(--line); }
.tph-lx-part h3 + .tph-tx-doc { border-top: 0; padding-top: 0; }
.tph-tx-doc > span { color: var(--muted); font-size: 14px; }
.tph-tx-doc ul { list-style: none; margin: 4px 0 0; padding: 0; display: grid; gap: 2px; }
.tph-tx-doc li { display: flex; justify-content: space-between; gap: 12px; font-size: 14px; max-width: none; }
.tph-tx-doc li span { color: var(--muted); }
.tph-tx-docnote { padding: 8px 10px; border-radius: 10px; background: #fff4e0; }
.tph-tx-ready { margin: 0; display: flex; gap: 8px; align-items: center; padding: 12px 14px; border-radius: 14px; background: var(--acc-soft); color: var(--acc); font-weight: 700; }
.tph-tx-pdf { height: 100%; display: grid; place-items: center; align-content: center; gap: 6px; padding: 10px; text-align: center; color: #c92a2a; }
.tph-tx-pdf i { font-size: 40px; }
.tph-tx-pdf span { font-size: 12px; color: var(--muted); overflow-wrap: anywhere; }
.tph-linkbtn { border: 0; padding: 0; background: none; color: var(--muted); text-decoration: underline; font: inherit; font-size: inherit; cursor: pointer; }
.tph-tx-file { display: flex; gap: 14px; align-items: center; padding: 18px 20px; border-radius: 20px; text-decoration: none; color: #fff !important;
  background: linear-gradient(135deg, var(--acc), color-mix(in srgb, var(--acc) 70%, #000)); box-shadow: 0 16px 30px -18px color-mix(in srgb, var(--acc) 80%, #000); }
.tph-tx-file .tph-tx-way-i { background: rgba(255, 255, 255, .2); flex: none; }
.tph-tx-file > span:nth-child(2) { flex: 1; display: grid; min-width: 0; }
.tph-tx-file small { opacity: .85; font-size: 13px; font-weight: 700; }
.tph-tx-file b { font-family: var(--display); font-size: 21px; }
.tph-tx-file em { font-style: normal; opacity: .8; font-size: 13px; }
.tph-tx-file > i { font-size: 24px; }
.tph-tx-savings { background: #ebfbee; border-color: #b2f2bb; }
.tph-tx-save { color: #2b8a3e; }
/* TAX-SIMPLE (Oct 9 2026): details + one drop zone */
.tph-tx-start { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 18px; padding: clamp(18px, 3vw, 28px); border-radius: 26px; background: var(--card); border: 1px solid var(--line);
  box-shadow: 0 24px 50px -36px rgba(20, 32, 51, .35); }
.tph-tx-start[hidden] { display: none; }
.tph-tx-who { display: grid; gap: 12px; align-content: start; }
.tph-tx-who h2 { font-size: 20px; }
.tph-tx-start input:not([type="checkbox"]):not([type="file"]), .tph-tx-start textarea, .tph-tx-canton select, .tph-tx-casebox textarea { width: 100%; min-height: 48px; padding: 10px 14px; border-radius: 12px;
  border: 1px solid #cfd6e2; background: #fff; color: var(--ink); font: inherit; font-size: 16px; }
.tph-tx-start textarea, .tph-tx-casebox textarea { min-height: 64px; resize: vertical; }
.tph-tx-start input:focus, .tph-tx-start textarea:focus, .tph-tx-casebox textarea:focus { outline: none; border-color: var(--acc); box-shadow: 0 0 0 3px var(--acc-soft); }
.tph-tx-drop { display: grid; gap: 12px; align-content: start; }
.tph-tx-dz { position: relative; display: grid; justify-items: center; align-content: center; gap: 8px; min-height: 260px; padding: 24px; text-align: center; border-radius: 22px; cursor: pointer;
  border: 2px dashed color-mix(in srgb, var(--acc) 45%, var(--line)); background: radial-gradient(120% 90% at 50% 0%, color-mix(in srgb, var(--acc) 10%, var(--card)), var(--card) 70%);
  transition: border-color .2s ease, background .2s ease, transform .2s ease; }
.tph-tx-dz:hover, .tph-tx-dz.is-over { border-color: var(--acc); background: color-mix(in srgb, var(--acc) 12%, var(--card)); }
.tph-tx-dz.is-over { transform: scale(1.01); }
.tph-tx-dz:focus-within { outline: 3px solid var(--acc); outline-offset: 2px; }
.tph-tx-dz input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.tph-tx-dz-i { width: 72px; height: 72px; border-radius: 22px; display: grid; place-items: center; font-size: 38px; color: #fff; background: linear-gradient(145deg, color-mix(in srgb, var(--acc) 70%, #fff), var(--acc));
  box-shadow: 0 14px 28px -14px color-mix(in srgb, var(--acc) 80%, #000); }
.tph-tx-dz b { font-family: var(--display); font-size: 21px; }
.tph-tx-dz > span:not(.tph-tx-dz-i) { color: var(--muted); }
.tph-tx-dz small { color: var(--faint); font-size: 13px; max-width: 46ch; }
.tph-tx-dz-sm { min-height: 130px; padding: 16px; }
.tph-tx-dz-sm .tph-tx-dz-i { width: 52px; height: 52px; font-size: 28px; border-radius: 16px; }
.tph-tx-dz-sm b { font-size: 17px; }
.tph-tx-thumbs:empty { display: none; }
.tph-tx-thumbs { grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); }
.tph-tx-go { grid-column: 1 / -1; display: grid; gap: 12px; }
.tph-tx-go .tph-btn-add { width: 100%; }
.tph-tx-read summary { cursor: pointer; font-family: var(--display); font-weight: 700; font-size: 17px; display: flex; gap: 8px; align-items: center; }
.tph-tx-read summary i { color: var(--acc); font-size: 20px; }
.tph-tx-read[open] summary { margin-bottom: 6px; }
@media (max-width: 767.98px) { .tph-tx-start { grid-template-columns: 1fr; } .tph-tx-drop { order: -1; } .tph-tx-dz { min-height: 200px; } }
/* TAX-FORMS (Oct 9 2026): /tax/request and /tax/partner: form + side panel */
.tph-tx-split { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 20px; align-items: start; }
.tph-tx-split .tph-form { max-width: none; }
.tph-tx-split .tph-form input:not([type="checkbox"]):not([type="radio"]):not([type="file"]) { min-width: 0; }
.tph-tx-aside { position: sticky; top: calc(var(--tp-header-h, 0px) + 84px); display: grid; gap: 14px; padding: clamp(18px, 3vw, 26px); border-radius: 22px; color: var(--ink);
  background: radial-gradient(120% 80% at 100% 0%, color-mix(in srgb, var(--acc) 14%, transparent), transparent 60%), var(--card); border: 1px solid var(--line); }
.tph-tx-aside h2 { font-size: 20px; }
.tph-tx-aside ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.tph-tx-aside li { display: grid; grid-template-columns: 42px minmax(0, 1fr); gap: 12px; align-items: start; max-width: none; }
.tph-tx-aside-i { width: 42px; height: 42px; border-radius: 14px; display: grid; place-items: center; font-size: 22px; color: #fff; background: linear-gradient(145deg, color-mix(in srgb, var(--acc) 70%, #fff), var(--acc)); }
.tph-tx-aside b { font-family: var(--display); font-size: 16px; }
.tph-tx-aside p { margin: 2px 0 0; color: var(--muted); font-size: 14.5px; }
.tph-tx-aside-link { display: flex; gap: 8px; align-items: center; padding: 12px 14px; border-radius: 14px; background: var(--acc-soft); color: var(--acc) !important; font-weight: 700; text-decoration: none; }
@media (max-width: 899.98px) { .tph-tx-split { grid-template-columns: 1fr; } .tph-tx-aside { position: static; order: -1; } }
