/* =============================================================================
   TS Portal v3 — portal.css

   Full refactor from HTML previews. Scoped to `#ts-portal-root` so it cannot
   leak into or be overridden by the active WordPress theme.

   Palette: --paper: #F1ECDF, --noir: #1A2F1F, --gold: #B89968, --moss: #2B4A2F
   Fonts: Domine (serif), Inter (sans), JetBrains Mono (mono)

   Phase 2: Tab 1 (Pradžia) — First-time vs Returning via is_first_time boolean
   ============================================================================= */

/* ─── Keyframes (global, not scoped) ──────────────────────────────────── */

@keyframes ts-fadeUp { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: translateY(0); } }
@keyframes ts-fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes ts-lineGrow { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes ts-shimmer {
  0%, 100% { background-position: -100% center; opacity: .85; }
  50% { background-position: 100% center; opacity: 1; }
}
@keyframes ts-pulseGold {
  0%, 100% { box-shadow: 0 0 0 0 rgba(184,153,104,.35); }
  50% { box-shadow: 0 0 0 12px rgba(184,153,104,0); }
}
@keyframes ts-drawLine { from { stroke-dashoffset: 200; } to { stroke-dashoffset: 0; } }
@keyframes ts-count { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }

/* ─── Design Tokens ──────────────────────────────────────────────────────── */

#ts-portal-root {
  --paper: #F1ECDF;
  --paper-l: #F7F3E8;
  --paper-d: #E8E1CF;
  --ink: #14110D;
  --ink2: #2A2521;
  --ink3: #4D453D;
  --ink4: #7A7268;
  --ink5: #A8A096;
  --ink6: #CFC8BB;
  --line: rgba(20,17,13,.08);
  --line2: rgba(20,17,13,.14);

  --noir: #1A2F1F;
  --noir-1: #1F3625;
  --noir-2: #243D2A;

  --gold: #B89968;
  --gold-l: #D4B98A;
  --gold-d: #8E7549;

  --moss: #2B4A2F;
  --moss-d: #1A2F1F;
  --moss-deep: #0F1F13;

  --serif: 'Domine', Georgia, serif;
  --sans: 'Inter', -apple-system, sans-serif;
  --mono: 'JetBrains Mono', monospace;

  font-family: var(--sans);
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  -webkit-text-size-adjust: 100%;
  font-size: 16px;
  line-height: 1.6;
  font-weight: 400;
  letter-spacing: -.01em;
}

#ts-portal-root,
#ts-portal-root *,
#ts-portal-root *::before,
#ts-portal-root *::after { box-sizing: border-box; margin: 0; padding: 0; }

#ts-portal-root img { max-width: 100%; height: auto; display: block; }
#ts-portal-root a { color: inherit; text-decoration: none; }
#ts-portal-root button { font-family: inherit; }

/* ─── Toast ─────────────────────────────────────────────────────────────── */

#ts-portal-root .ts-toast {
  position: fixed;
  bottom: 110px; left: 50%; transform: translateX(-50%);
  background: var(--moss-d);
  color: #fff;
  padding: 14px 22px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .26em;
  text-transform: uppercase;
  font-weight: 600;
  display: flex; align-items: center; gap: 10px;
  z-index: 1100;
  opacity: 0; pointer-events: none;
  transition: opacity .3s;
}
#ts-portal-root .ts-toast.show { opacity: 1; pointer-events: auto; }
#ts-portal-root .ts-toast::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-l), transparent);
}

/* ─── App Shell ─────────────────────────────────────────────────────────── */

#ts-portal-root .app {
  max-width: 480px;
  margin: 0 auto;
  min-height: 100vh;
  min-height: 100dvh;
  padding-bottom: 96px;
  position: relative;
}

#ts-portal-root .app::before {
  content: '';
  position: fixed;
  top: 0; left: 50%; transform: translateX(-50%);
  width: 100%; max-width: 480px;
  height: 100vh;
  background-image:
    radial-gradient(circle at 20% 30%, rgba(20,17,13,.018) 1px, transparent 1px),
    radial-gradient(circle at 70% 60%, rgba(20,17,13,.012) 1px, transparent 1px);
  background-size: 4px 4px, 6px 6px;
  pointer-events: none;
  z-index: 1;
  opacity: .6;
}

/* ═══ BOTTOM NAV ════════════════════════════════════════════════════════ */

#ts-portal-root .bnav {
  position: fixed; bottom: 0; left: 50%; transform: translateX(-50%);
  width: 100%; max-width: 480px;
  background: rgba(241,236,223,.94);
  backdrop-filter: blur(28px) saturate(1.2);
  -webkit-backdrop-filter: blur(28px) saturate(1.2);
  border-top: .5px solid var(--line2);
  display: flex;
  z-index: 100;
  padding: 14px 0 18px;
}
#ts-portal-root .bnav-i {
  flex: 1;
  display: flex; flex-direction: column; align-items: center;
  gap: 8px; padding: 0 2px;
  background: none; border: none;
  font-family: var(--sans);
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  position: relative;
  color: var(--ink5);
  transition: color .25s;
}
#ts-portal-root .bnav-i.on { color: var(--ink); }
#ts-portal-root .bnav-i.on::before {
  content: '';
  position: absolute;
  top: -14px;
  left: 50%; transform: translateX(-50%);
  width: 24px; height: 1px;
  background: var(--gold);
}
#ts-portal-root .bnav-ic { width: 22px; height: 22px; }
#ts-portal-root .bnav-ic svg {
  width: 22px; height: 22px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
#ts-portal-root .bnav-l {
  font-size: 9.5px;
  letter-spacing: .22em;
  text-transform: uppercase;
  font-weight: 500;
}

/* ═══════════════════════════════════════════════════════════════════════
   HERO — forest green, full viewport
   ═══════════════════════════════════════════════════════════════════════ */

#ts-portal-root .hero {
  min-height: 100vh;
  min-height: 100dvh;
  background: linear-gradient(180deg, var(--moss-deep) 0%, #122019 50%, #1A2F1F 100%);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
#ts-portal-root .hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 120% 60% at 50% 0%, rgba(184,153,104,.10), transparent 70%),
    radial-gradient(ellipse 80% 50% at 50% 100%, rgba(184,153,104,.04), transparent 75%);
  pointer-events: none;
}
#ts-portal-root .hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 30% 40%, rgba(255,255,255,.014) 1px, transparent 1px),
    radial-gradient(circle at 70% 60%, rgba(255,255,255,.010) 1px, transparent 1px);
  background-size: 3px 3px, 5px 5px;
  pointer-events: none;
  opacity: .6;
}

#ts-portal-root .hero-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 28px 28px 0;
  position: relative; z-index: 2;
  animation: ts-fadeIn 1.2s ease .2s both;
}
#ts-portal-root .hero-mark {
  font-family: var(--serif);
  font-style: italic;
  font-size: 14px;
  color: var(--gold-l);
  font-weight: 500;
  letter-spacing: .02em;
}
#ts-portal-root .hero-edition {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: .26em;
  color: rgba(255,255,255,.5);
  text-transform: uppercase;
  font-weight: 500;
}

#ts-portal-root .hero-body {
  flex: 1;
  display: flex; flex-direction: column;
  justify-content: center;
  padding: 60px 28px 56px;
  position: relative; z-index: 2;
}

#ts-portal-root .salutation {
  font-family: var(--serif);
  font-style: italic;
  font-size: 14px;
  font-weight: 400;
  color: rgba(255,255,255,.65);
  letter-spacing: .02em;
  margin-bottom: 18px;
  animation: ts-fadeUp 1.2s cubic-bezier(.22,1,.36,1) .5s both;
}

#ts-portal-root .hero-name {
  font-family: var(--serif);
  font-size: 68px;
  font-weight: 500;
  font-style: italic;
  color: #fff;
  line-height: .98;
  letter-spacing: -.025em;
  margin-bottom: 36px;
  animation: ts-fadeUp 1.4s cubic-bezier(.22,1,.36,1) .7s both;
}

#ts-portal-root .foil {
  width: 100%;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(184,153,104,.35) 15%,
    rgba(212,185,138,.85) 35%,
    rgba(232,210,165,1) 50%,
    rgba(212,185,138,.85) 65%,
    rgba(184,153,104,.35) 85%,
    transparent 100%
  );
  background-size: 200% 100%;
  animation: ts-shimmer 4.5s ease-in-out infinite, ts-lineGrow 1.4s cubic-bezier(.22,1,.36,1) 1s both;
  transform-origin: left center;
  margin: 4px 0 32px;
}

#ts-portal-root .statement {
  font-family: var(--serif);
  font-style: italic;
  font-size: 18px;
  font-weight: 500;
  color: rgba(255,255,255,.88);
  line-height: 1.55;
  max-width: 380px;
  letter-spacing: -.005em;
  margin-bottom: 42px;
  animation: ts-fadeUp 1.2s cubic-bezier(.22,1,.36,1) 1.1s both;
}
#ts-portal-root .statement em {
  font-style: normal;
  color: var(--gold-l);
  font-weight: 600;
}

#ts-portal-root .day-mark {
  display: flex;
  align-items: baseline;
  gap: 14px;
  animation: ts-fadeUp 1.2s cubic-bezier(.22,1,.36,1) 1.3s both;
}
#ts-portal-root .day-num {
  font-family: var(--serif);
  font-size: 52px;
  font-weight: 500;
  font-style: italic;
  color: #fff;
  line-height: 1;
  letter-spacing: -.025em;
}
#ts-portal-root .day-meta {
  display: flex; flex-direction: column;
  gap: 3px;
  padding-bottom: 4px;
}
#ts-portal-root .day-meta-l {
  font-size: 9.5px;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: rgba(255,255,255,.55);
  font-weight: 600;
}
#ts-portal-root .day-meta-v {
  font-family: var(--serif);
  font-style: italic;
  font-size: 16px;
  color: rgba(255,255,255,.85);
  font-weight: 500;
}

#ts-portal-root .hero-foot {
  padding: 0 28px 44px;
  position: relative; z-index: 2;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  animation: ts-fadeIn 1s ease 1.6s both;
}
#ts-portal-root .scroll-cue {
  display: flex;
  align-items: center;
  gap: 12px;
}
#ts-portal-root .scroll-line {
  width: 28px;
  height: 1px;
  background: rgba(184,153,104,.7);
}
#ts-portal-root .scroll-cue-t {
  font-family: var(--serif);
  font-style: italic;
  font-size: 13px;
  color: rgba(255,255,255,.5);
  font-weight: 500;
}
#ts-portal-root .hero-tier { text-align: right; }
#ts-portal-root .hero-tier-l {
  font-size: 9px;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: rgba(255,255,255,.5);
  margin-bottom: 4px;
  font-weight: 600;
}
#ts-portal-root .hero-tier-v {
  font-family: var(--serif);
  font-style: italic;
  font-size: 16px;
  color: var(--gold-l);
  font-weight: 600;
}

/* ═══════════════════════════════════════════════════════════════════════
   FIRST-TIME HERO — mission steps variant
   ═══════════════════════════════════════════════════════════════════════ */

#ts-portal-root .mission-steps {
  display: flex;
  gap: 16px;
  margin-bottom: 36px;
  animation: ts-fadeUp 1.2s cubic-bezier(.22,1,.36,1) 1.1s both;
}
#ts-portal-root .mission-step {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 10px;
  padding: 20px 12px;
  background: rgba(255,255,255,.04);
  border: .5px solid rgba(184,153,104,.2);
  position: relative;
}
#ts-portal-root .mission-step::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-l), transparent);
}
#ts-portal-root .ms-icon {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: rgba(184,153,104,.15);
  display: flex;
  align-items: center;
  justify-content: center;
}
#ts-portal-root .ms-icon svg {
  width: 18px; height: 18px;
  stroke: var(--gold-l);
  fill: none;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
#ts-portal-root .ms-num-badge {
  font-family: var(--serif);
  font-style: italic;
  font-size: 28px;
  color: var(--gold-l);
  line-height: 1;
  font-weight: 500;
}
#ts-portal-root .ms-label {
  font-family: var(--serif);
  font-style: italic;
  font-size: 13px;
  color: rgba(255,255,255,.85);
  line-height: 1.4;
  font-weight: 500;
}
#ts-portal-root .ms-status {
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
  margin-top: 4px;
}

/* ═══════════════════════════════════════════════════════════════════════
   CHAPTER MARKER — Roman numeral system
   ═══════════════════════════════════════════════════════════════════════ */

#ts-portal-root .chapter {
  display: flex;
  align-items: baseline;
  gap: 18px;
  padding: 0 28px;
  margin-bottom: 28px;
}
#ts-portal-root .chapter-num {
  font-family: var(--serif);
  font-style: italic;
  font-size: 32px;
  font-weight: 500;
  color: var(--gold-d);
  line-height: 1;
  letter-spacing: -.015em;
}
#ts-portal-root .chapter-info {
  flex: 1;
  border-bottom: .5px solid var(--line2);
  padding-bottom: 14px;
}
#ts-portal-root .chapter-l {
  font-size: 9px;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--ink4);
  margin-bottom: 4px;
  font-weight: 500;
}
#ts-portal-root .chapter-t {
  font-family: var(--serif);
  font-size: 19px;
  font-weight: 500;
  font-style: italic;
  color: var(--ink);
  line-height: 1.2;
  letter-spacing: -.008em;
}

/* ═══════════════════════════════════════════════════════════════════════
   I. TAVO KELIONĖ — milestones (didelės skaitmenys)
   ═══════════════════════════════════════════════════════════════════════ */

#ts-portal-root .journey {
  background: var(--paper);
  padding: 88px 0 72px;
  position: relative;
  z-index: 2;
}

#ts-portal-root .milestones {
  padding: 12px 28px 0;
}
#ts-portal-root .ms {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 28px;
  padding: 28px 0;
  position: relative;
  border-bottom: .5px solid var(--line);
}
#ts-portal-root .ms:last-child { border-bottom: none; }

#ts-portal-root .ms-num {
  font-family: var(--serif);
  font-size: 64px;
  font-weight: 500;
  font-style: italic;
  color: var(--ink5);
  line-height: .9;
  letter-spacing: -.03em;
  text-align: right;
  transition: color .35s;
}
#ts-portal-root .ms.done .ms-num { color: var(--moss); }
#ts-portal-root .ms.now .ms-num { color: var(--gold-d); }

#ts-portal-root .ms-c { padding-top: 10px; }
#ts-portal-root .ms-stat {
  font-size: 9px;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--ink4);
  margin-bottom: 6px;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 8px;
}
#ts-portal-root .ms.done .ms-stat { color: var(--moss); }
#ts-portal-root .ms.now .ms-stat { color: var(--gold-d); }
#ts-portal-root .ms.now .ms-stat::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--gold);
  display: inline-block;
  animation: ts-pulseGold 2s ease infinite;
}
#ts-portal-root .ms-t {
  font-family: var(--serif);
  font-size: 21px;
  font-style: italic;
  font-weight: 500;
  color: var(--ink);
  line-height: 1.15;
  margin-bottom: 8px;
  letter-spacing: -.01em;
}
#ts-portal-root .ms-d {
  font-size: 13px;
  color: var(--ink3);
  line-height: 1.65;
  max-width: 280px;
}

/* ═══════════════════════════════════════════════════════════════════════
   II. JURGITOS LAIŠKAS
   ═══════════════════════════════════════════════════════════════════════ */

#ts-portal-root .letter-sec {
  background: var(--paper);
  padding: 24px 0 84px;
}
#ts-portal-root .letter {
  margin: 0 24px;
  background: var(--paper-l);
  border: .5px solid var(--line2);
  padding: 56px 36px 44px;
  position: relative;
}
#ts-portal-root .letter::before {
  content: '';
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 60px; height: 1px;
  background: var(--gold);
  opacity: .65;
}
#ts-portal-root .letter::after {
  content: '"';
  position: absolute;
  top: 18px; left: 28px;
  font-family: var(--serif);
  font-size: 86px;
  line-height: .8;
  color: var(--gold);
  opacity: .25;
  font-style: italic;
  font-weight: 400;
}

#ts-portal-root .letter-head {
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--ink4);
  margin-bottom: 22px;
  position: relative; z-index: 1;
}

#ts-portal-root .letter-t {
  font-family: var(--serif);
  font-size: 17px;
  font-style: italic;
  font-weight: 500;
  color: var(--ink2);
  line-height: 1.7;
  letter-spacing: -.005em;
  position: relative; z-index: 1;
}
#ts-portal-root .letter-t p { margin-bottom: 16px; }
#ts-portal-root .letter-t p:last-child { margin-bottom: 0; }
#ts-portal-root .letter-t em {
  font-style: normal;
  color: var(--gold-d);
  font-weight: 600;
}

#ts-portal-root .letter-sig {
  margin-top: 36px;
  padding-top: 24px;
  border-top: .5px solid var(--line2);
  display: flex;
  align-items: center;
  gap: 14px;
}
#ts-portal-root .letter-sig-name {
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 500;
  font-style: italic;
  color: var(--ink);
  letter-spacing: -.015em;
  line-height: 1;
}
#ts-portal-root .letter-sig-role {
  font-size: 10px;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--ink4);
  margin-top: 5px;
  font-weight: 500;
}

/* ═══════════════════════════════════════════════════════════════════════
   III. TAVO PRODUKTAI — featured + maži
   ═══════════════════════════════════════════════════════════════════════ */

#ts-portal-root .products-sec {
  background: var(--paper-d);
  padding: 88px 0 80px;
  position: relative;
}

/* Featured product */
#ts-portal-root .p-featured {
  margin: 12px 24px 24px;
  background: var(--paper-l);
  border: .5px solid var(--line2);
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: transform .35s;
  position: relative;
  overflow: hidden;
}
#ts-portal-root .p-featured:active { transform: scale(.99); }
#ts-portal-root .p-featured::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 4px; height: 100%;
  background: var(--moss);
}
#ts-portal-root .p-featured-img {
  width: 100%;
  height: 280px;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  position: relative;
  overflow: hidden;
}
#ts-portal-root .p-featured-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(10,9,7,.55) 100%);
}
#ts-portal-root .p-featured-letter {
  font-family: var(--serif);
  font-size: 64px;
  font-style: italic;
  color: rgba(255,255,255,.95);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -.03em;
  position: relative; z-index: 1;
  padding: 0 0 28px 32px;
  text-shadow: 0 2px 20px rgba(0,0,0,.4);
}
#ts-portal-root .p-featured-body {
  padding: 36px 32px 36px;
  position: relative;
}
#ts-portal-root .p-featured-tag {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--gold-d);
  margin-bottom: 14px;
}
#ts-portal-root .p-featured-name {
  font-family: var(--serif);
  font-size: 30px;
  font-style: italic;
  font-weight: 500;
  color: var(--ink);
  line-height: 1.1;
  letter-spacing: -.018em;
  margin-bottom: 12px;
}
#ts-portal-root .p-featured-desc {
  font-size: 14px;
  color: var(--ink3);
  line-height: 1.65;
  margin-bottom: 24px;
  max-width: 340px;
}
#ts-portal-root .p-featured-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 20px;
  border-top: .5px solid var(--line);
}
#ts-portal-root .p-featured-meta {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .14em;
  color: var(--ink4);
  text-transform: uppercase;
}
#ts-portal-root .p-featured-cta {
  font-family: var(--serif);
  font-size: 15px;
  font-style: italic;
  color: var(--ink);
  display: flex;
  align-items: center;
  gap: 10px;
}
#ts-portal-root .p-featured-cta-arrow {
  width: 32px; height: 1px;
  background: var(--ink);
  position: relative;
}
#ts-portal-root .p-featured-cta-arrow::after {
  content: '';
  position: absolute;
  right: 0; top: 50%;
  width: 6px; height: 6px;
  border-top: 1px solid var(--ink);
  border-right: 1px solid var(--ink);
  transform: translateY(-50%) rotate(45deg);
}

/* Smaller products */
#ts-portal-root .p-list {
  padding: 0 24px;
  display: flex;
  flex-direction: column;
}
#ts-portal-root .p-row {
  padding: 26px 4px;
  display: grid;
  grid-template-columns: 56px 1fr 24px;
  gap: 20px;
  align-items: center;
  border-bottom: .5px solid var(--line);
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: padding .25s;
}
#ts-portal-root .p-row:last-child { border-bottom: none; }
#ts-portal-root .p-row:active { padding-left: 12px; }
#ts-portal-root .p-row-img {
  width: 56px; height: 56px;
  background-size: cover;
  background-position: center;
  background-color: var(--moss);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
#ts-portal-root .p-row-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent 50%, rgba(10,9,7,.3));
}
#ts-portal-root .p-row-c {
  display: flex; flex-direction: column;
  gap: 4px;
}
#ts-portal-root .p-row-name {
  font-family: var(--serif);
  font-size: 17px;
  font-style: italic;
  color: var(--ink);
  line-height: 1.15;
  letter-spacing: -.01em;
  font-weight: 500;
}
#ts-portal-root .p-row-meta {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .14em;
  color: var(--ink4);
  text-transform: uppercase;
}
#ts-portal-root .p-row-arrow {
  font-family: var(--serif);
  font-size: 22px;
  color: var(--ink5);
  font-style: italic;
  line-height: 1;
}

/* ═══════════════════════════════════════════════════════════════════════
   IV. TAVO FORMULĖ — forest green
   ═══════════════════════════════════════════════════════════════════════ */

#ts-portal-root .formula-sec {
  background: linear-gradient(180deg, var(--moss-deep) 0%, #122019 50%, #1A2F1F 100%);
  padding: 100px 0 90px;
  position: relative;
  overflow: hidden;
}
#ts-portal-root .formula-sec::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 30% 0%, rgba(184,153,104,.08), transparent 70%),
    radial-gradient(ellipse 60% 40% at 80% 100%, rgba(184,153,104,.05), transparent 75%);
  pointer-events: none;
}
#ts-portal-root .formula-sec::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 30% 40%, rgba(255,255,255,.012) 1px, transparent 1px);
  background-size: 4px 4px;
  pointer-events: none;
  opacity: .4;
}

#ts-portal-root .formula-chapter .chapter-num { color: var(--gold-l); }
#ts-portal-root .formula-chapter .chapter-info { border-bottom-color: rgba(255,255,255,.18); }
#ts-portal-root .formula-chapter .chapter-l { color: rgba(255,255,255,.55); }
#ts-portal-root .formula-chapter .chapter-t { color: #fff; }

#ts-portal-root .ing-hero {
  margin: 24px 28px 0;
  padding-bottom: 0;
  border-bottom: none;
  background: rgba(255,255,255,.03);
  border: .5px solid rgba(184,153,104,.3);
  overflow: hidden;
  position: relative;
}
#ts-portal-root .ing-hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-l), transparent);
  z-index: 3;
}
#ts-portal-root .ing-hero-photo {
  width: 100%;
  height: 280px;
  background-size: cover;
  background-position: center;
  position: relative;
  overflow: hidden;
}
#ts-portal-root .ing-hero-photo::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(15,31,19,.55) 100%);
}
#ts-portal-root .ing-hero-badge {
  position: absolute;
  top: 18px; left: 18px;
  background: rgba(15,31,19,.92);
  backdrop-filter: blur(10px);
  padding: 8px 14px;
  border: .5px solid rgba(184,153,104,.4);
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: .26em;
  color: var(--gold-l);
  text-transform: uppercase;
  font-weight: 600;
  z-index: 2;
}
#ts-portal-root .ing-hero-content {
  padding: 36px 28px 36px;
  position: relative;
  background: rgba(255,255,255,.025);
}
#ts-portal-root .ing-hero-mono {
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: .3em;
  color: var(--gold-l);
  text-transform: uppercase;
  margin-bottom: 14px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 12px;
}
#ts-portal-root .ing-hero-mono::after {
  content: '';
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, rgba(184,153,104,.4), transparent);
  max-width: 100px;
}
#ts-portal-root .ing-hero-name {
  font-family: var(--serif);
  font-size: 38px;
  font-style: italic;
  font-weight: 500;
  color: #fff;
  line-height: 1.05;
  letter-spacing: -.018em;
  margin-bottom: 22px;
}
#ts-portal-root .ing-hero-desc {
  font-family: var(--serif);
  font-size: 16px;
  font-style: italic;
  color: rgba(255,255,255,.85);
  line-height: 1.7;
  letter-spacing: -.005em;
  font-weight: 400;
}
#ts-portal-root .ing-hero-desc em {
  font-style: normal;
  color: var(--gold-l);
  font-weight: 600;
}
#ts-portal-root .ing-hero-meta {
  display: flex;
  gap: 24px;
  margin-top: 26px;
  padding-top: 22px;
  border-top: .5px solid rgba(255,255,255,.12);
}
#ts-portal-root .ing-hero-meta-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
#ts-portal-root .ing-hero-meta-l {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: .26em;
  color: rgba(255,255,255,.5);
  text-transform: uppercase;
  font-weight: 600;
}
#ts-portal-root .ing-hero-meta-v {
  font-family: var(--serif);
  font-style: italic;
  font-size: 15px;
  color: #fff;
  font-weight: 500;
}

#ts-portal-root .spec {
  margin: 56px 28px 0;
}
#ts-portal-root .spec-head {
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: .3em;
  color: rgba(255,255,255,.55);
  text-transform: uppercase;
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: .5px solid rgba(255,255,255,.18);
  font-weight: 600;
}
#ts-portal-root .spec-row {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 20px;
  padding: 26px 0;
  border-bottom: .5px solid rgba(255,255,255,.08);
  align-items: start;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: opacity .25s;
}
#ts-portal-root .spec-row:last-child { border-bottom: none; }
#ts-portal-root .spec-row:active { opacity: .85; }
#ts-portal-root .spec-thumb {
  width: 80px; height: 80px;
  background-size: cover;
  background-position: center;
  background-color: var(--moss);
  position: relative;
  overflow: hidden;
  border: .5px solid rgba(184,153,104,.25);
}
#ts-portal-root .spec-thumb::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent 50%, rgba(15,31,19,.25));
}
#ts-portal-root .spec-c {
  display: flex;
  flex-direction: column;
}
#ts-portal-root .spec-num-name {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 6px;
}
#ts-portal-root .spec-num {
  font-family: var(--serif);
  font-style: italic;
  font-size: 14px;
  color: var(--gold-l);
  line-height: 1;
  font-weight: 500;
  opacity: .7;
}
#ts-portal-root .spec-name {
  font-family: var(--serif);
  font-style: italic;
  font-size: 22px;
  color: #fff;
  line-height: 1.15;
  letter-spacing: -.012em;
  font-weight: 500;
}
#ts-portal-root .spec-desc {
  font-family: var(--serif);
  font-size: 14px;
  font-style: italic;
  color: rgba(255,255,255,.78);
  line-height: 1.7;
  font-weight: 400;
  letter-spacing: -.003em;
}

#ts-portal-root .spec-foot {
  margin-top: 24px;
  padding-top: 24px;
  border-top: .5px solid rgba(255,255,255,.18);
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}
#ts-portal-root .spec-foot-l {
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: .3em;
  color: rgba(255,255,255,.5);
  text-transform: uppercase;
  font-weight: 600;
}
#ts-portal-root .spec-foot-r {
  font-family: var(--serif);
  font-style: italic;
  font-size: 16px;
  color: rgba(255,255,255,.9);
  font-weight: 500;
}

/* ═══════════════════════════════════════════════════════════════════════
   V. LOJALUMAS — minimal
   ═══════════════════════════════════════════════════════════════════════ */

#ts-portal-root .loyalty-sec {
  background: var(--paper);
  padding: 88px 0 80px;
}

#ts-portal-root .loy {
  margin: 12px 28px 0;
}
#ts-portal-root .loy-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 10px 0;
  border-bottom: .5px solid var(--line);
}
#ts-portal-root .loy-row:last-child { border-bottom: none; padding-bottom: 0; }
#ts-portal-root .loy-row-l {
  font-family: var(--serif);
  font-size: 16px;
  font-style: italic;
  color: var(--ink2);
}
#ts-portal-root .loy-row-r {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: .14em;
  color: var(--ink4);
  text-transform: uppercase;
}

#ts-portal-root .loy-code {
  margin-top: 32px;
  padding: 32px 28px;
  background: linear-gradient(135deg, var(--moss-d) 0%, #122019 100%);
  position: relative;
  overflow: hidden;
}
#ts-portal-root .loy-code::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-l), transparent);
  background-size: 200% 100%;
  animation: ts-shimmer 4s ease-in-out infinite;
}
#ts-portal-root .loy-code-l {
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: .3em;
  color: rgba(255,255,255,.7);
  text-transform: uppercase;
  margin-bottom: 12px;
  font-weight: 600;
}
#ts-portal-root .loy-code-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}
#ts-portal-root .loy-code-v {
  font-family: var(--serif);
  font-style: italic;
  font-size: 30px;
  color: #fff;
  letter-spacing: .04em;
  font-weight: 500;
}
#ts-portal-root .loy-copy {
  background: var(--gold);
  border: .5px solid var(--gold);
  color: var(--noir);
  padding: 10px 18px;
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: .26em;
  text-transform: uppercase;
  font-weight: 700;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: all .25s;
}
#ts-portal-root .loy-copy:active { background: var(--gold-l); transform: scale(.96); }

#ts-portal-root .loy-prog {
  margin-top: 32px;
}
#ts-portal-root .loy-prog-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 12px;
}
#ts-portal-root .loy-prog-l {
  font-family: var(--serif);
  font-style: italic;
  font-size: 15px;
  color: var(--ink2);
}
#ts-portal-root .loy-prog-v {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .12em;
  color: var(--ink4);
}
#ts-portal-root .loy-bar {
  height: 1px;
  background: var(--ink6);
  position: relative;
  overflow: visible;
}
#ts-portal-root .loy-bar-fill {
  height: 100%;
  background: var(--gold);
  width: 75%;
  position: relative;
}
#ts-portal-root .loy-bar-fill::after {
  content: '';
  position: absolute;
  right: -3px; top: 50%;
  transform: translateY(-50%);
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--gold);
  animation: ts-pulseGold 2.4s ease infinite;
}

#ts-portal-root .loy-next {
  margin-top: 18px;
  font-family: var(--serif);
  font-style: italic;
  font-size: 14px;
  color: var(--ink3);
  line-height: 1.6;
}
#ts-portal-root .loy-next em {
  font-style: normal;
  color: var(--gold-d);
}

/* ═══════════════════════════════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════════════════════════════ */

#ts-portal-root .foot {
  background: var(--paper);
  padding: 0 28px 56px;
  text-align: center;
  position: relative;
}
#ts-portal-root .foot::before {
  content: '';
  display: block;
  width: 40px; height: 1px;
  background: var(--gold);
  margin: 0 auto 28px;
  opacity: .6;
}
#ts-portal-root .foot-mark {
  font-family: var(--serif);
  font-style: italic;
  font-size: 18px;
  color: var(--ink2);
  margin-bottom: 8px;
}
#ts-portal-root .foot-meta {
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: .26em;
  color: var(--ink4);
  text-transform: uppercase;
}
#ts-portal-root .foot-meta a { color: inherit; text-decoration: none; }

/* ═══════════════════════════════════════════════════════════════════════
   PAGE HEADER (forest green, Tab 2-5 shared)
   ═══════════════════════════════════════════════════════════════════════ */

#ts-portal-root .page-head {
  background: linear-gradient(180deg, var(--moss-deep) 0%, #122019 100%);
  position: relative;
  overflow: hidden;
  padding: 0;
}
#ts-portal-root .page-head::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 100% 60% at 50% 0%, rgba(184,153,104,.10), transparent 70%);
  pointer-events: none;
}
#ts-portal-root .page-head::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-l) 50%, transparent);
}
#ts-portal-root .ph-strip {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 28px 0;
  position: relative; z-index: 1;
}
#ts-portal-root .ph-strip-l {
  font-family: var(--serif);
  font-style: italic;
  font-size: 14px;
  color: var(--gold-l);
  font-weight: 500;
  letter-spacing: .02em;
}
#ts-portal-root .ph-strip-r {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: .26em;
  color: rgba(255,255,255,.5);
  text-transform: uppercase;
  font-weight: 500;
}
#ts-portal-root .ph-body {
  padding: 32px 28px 36px;
  position: relative; z-index: 1;
}
#ts-portal-root .ph-eyebrow {
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: .3em;
  color: var(--gold-l);
  text-transform: uppercase;
  margin-bottom: 12px;
  font-weight: 600;
}
#ts-portal-root .ph-title {
  font-family: var(--serif);
  font-style: italic;
  font-size: 52px;
  font-weight: 500;
  color: #fff;
  line-height: .95;
  letter-spacing: -.025em;
  margin-bottom: 24px;
}
#ts-portal-root .ph-foil {
  width: 40px; height: 1px;
  background: var(--gold-l);
  margin-bottom: 22px;
}
#ts-portal-root .ph-summary {
  display: flex;
  gap: 28px;
}
#ts-portal-root .ph-stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
#ts-portal-root .ph-stat-v {
  font-family: var(--serif);
  font-style: italic;
  font-size: 28px;
  color: #fff;
  line-height: 1;
  font-weight: 500;
  letter-spacing: -.02em;
}
#ts-portal-root .ph-stat-l {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: .26em;
  color: rgba(255,255,255,.55);
  text-transform: uppercase;
  font-weight: 600;
}

/* ═══════════════════════════════════════════════════════════════════════
   I. DABARTINĖ RUTINA (r-card variants for Tab 2)
   ═══════════════════════════════════════════════════════════════════════ */

#ts-portal-root .routine-sec {
  background: var(--paper);
  padding: 56px 0 32px;
}
#ts-portal-root .routine-list {
  padding: 0 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
#ts-portal-root .r-card {
  background: var(--paper-l);
  border: .5px solid var(--line2);
  overflow: hidden;
  position: relative;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: transform .25s, box-shadow .25s;
}
#ts-portal-root .r-card:active {
  transform: scale(.99);
  box-shadow: 0 4px 18px rgba(20,17,13,.06);
}
#ts-portal-root .r-card.alert::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 4px; height: 100%;
  background: var(--gold);
  z-index: 2;
}
#ts-portal-root .r-alert-tag {
  position: absolute;
  top: 14px; right: 14px;
  background: var(--gold);
  color: var(--moss-deep);
  font-family: var(--mono);
  font-size: 8.5px;
  letter-spacing: .2em;
  text-transform: uppercase;
  font-weight: 700;
  padding: 5px 10px;
  z-index: 2;
}
#ts-portal-root .r-main {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 18px;
  padding: 18px;
  align-items: center;
}
#ts-portal-root .r-img {
  width: 96px; height: 96px;
  background-size: cover;
  background-position: center;
  background-color: var(--moss);
  position: relative;
  overflow: hidden;
  border: .5px solid var(--line2);
}
#ts-portal-root .r-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent 50%, rgba(15,31,19,.2));
}
#ts-portal-root .r-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
#ts-portal-root .r-tag {
  font-family: var(--mono);
  font-size: 8.5px;
  letter-spacing: .26em;
  color: var(--gold-d);
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 2px;
}
#ts-portal-root .r-name {
  font-family: var(--serif);
  font-style: italic;
  font-size: 22px;
  font-weight: 500;
  color: var(--ink);
  line-height: 1.1;
  letter-spacing: -.012em;
  margin-bottom: 6px;
}
#ts-portal-root .r-meta {
  display: flex;
  gap: 14px;
  align-items: center;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .08em;
  color: var(--ink4);
  text-transform: uppercase;
  font-weight: 500;
}
#ts-portal-root .r-meta-dot {
  width: 3px; height: 3px;
  background: var(--ink5);
  border-radius: 50%;
}
#ts-portal-root .r-stock {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 18px;
  background: rgba(184,153,104,.08);
  border-top: .5px solid rgba(184,153,104,.2);
  font-family: var(--serif);
  font-size: 13px;
  font-style: italic;
  color: var(--ink2);
  font-weight: 500;
  line-height: 1.5;
}
#ts-portal-root .r-stock-icon {
  flex-shrink: 0;
  width: 14px; height: 14px;
  display: flex; align-items: center; justify-content: center;
  color: var(--gold-d);
}
#ts-portal-root .r-stock-icon svg { width: 14px; height: 14px; stroke: currentColor; fill: none; stroke-width: 1.5; }
#ts-portal-root .r-stock b { color: var(--gold-d); font-weight: 600; font-style: normal; }
#ts-portal-root .r-actions {
  display: flex;
  border-top: .5px solid var(--line);
}
#ts-portal-root .r-action {
  flex: 1;
  padding: 16px;
  background: none;
  border: none;
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: .26em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--ink2);
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: background .2s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}
#ts-portal-root .r-action:active { background: var(--paper-d); }
#ts-portal-root .r-action svg { width: 12px; height: 12px; stroke: currentColor; fill: none; stroke-width: 1.5; }
#ts-portal-root .r-action.primary {
  background: var(--moss-d);
  color: #fff;
}
#ts-portal-root .r-action.primary:active { background: var(--moss); }
#ts-portal-root .r-action:not(:last-child) {
  border-right: .5px solid var(--line);
}
#ts-portal-root .r-action-icon {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: rgba(255,255,255,.12);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all .25s;
}
#ts-portal-root .r-action-icon svg {
  width: 14px; height: 14px;
  stroke: #fff;
  fill: none;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ═══════════════════════════════════════════════════════════════════════
   II. CROSS-SELL — papildyti rutiną
   ═══════════════════════════════════════════════════════════════════════ */

#ts-portal-root .cross-sec {
  background: var(--paper);
  padding: 56px 0 32px;
}
#ts-portal-root .cross-card {
  margin: 0 28px;
  background: linear-gradient(135deg, var(--paper-l) 0%, var(--paper-d) 100%);
  border: .5px solid var(--line2);
  border-left: 3px solid var(--gold-d);
  padding: 26px 24px 24px;
  position: relative;
  overflow: hidden;
}
#ts-portal-root .cross-card::before {
  content: '✦';
  position: absolute;
  top: 18px; right: 22px;
  font-family: var(--serif);
  font-style: italic;
  font-size: 16px;
  color: var(--gold-d);
  opacity: .5;
}
#ts-portal-root .cross-eyebrow {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: .3em;
  color: var(--gold-d);
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 10px;
}
#ts-portal-root .cross-title {
  font-family: var(--serif);
  font-style: italic;
  font-size: 22px;
  font-weight: 500;
  color: var(--ink);
  line-height: 1.25;
  letter-spacing: -.01em;
  margin-bottom: 12px;
}
#ts-portal-root .cross-body {
  font-family: var(--serif);
  font-size: 15px;
  font-style: italic;
  color: var(--ink2);
  line-height: 1.65;
  font-weight: 500;
  margin-bottom: 18px;
}
#ts-portal-root .cross-prod {
  display: grid;
  grid-template-columns: 64px 1fr auto;
  gap: 14px;
  align-items: center;
  padding: 14px;
  background: var(--paper);
  border: .5px solid var(--line);
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: transform .2s;
}
#ts-portal-root .cross-prod:active { transform: scale(.98); }
#ts-portal-root .cross-prod-img {
  width: 64px; height: 64px;
  background-size: cover;
  background-position: center;
  background-color: var(--moss);
}
#ts-portal-root .cross-prod-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
#ts-portal-root .cross-prod-name {
  font-family: var(--serif);
  font-style: italic;
  font-size: 17px;
  font-weight: 500;
  color: var(--ink);
  line-height: 1.15;
  letter-spacing: -.01em;
}
#ts-portal-root .cross-prod-meta {
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: .14em;
  color: var(--ink4);
  text-transform: uppercase;
  font-weight: 500;
  margin-top: 4px;
}
#ts-portal-root .cross-prod-arrow {
  font-family: var(--serif);
  font-style: italic;
  font-size: 20px;
  color: var(--ink5);
  line-height: 1;
}

/* ═══════════════════════════════════════════════════════════════════════
   III. ANKSČIAU IŠBANDYTI — su pakartoti mygtuku
   ═══════════════════════════════════════════════════════════════════════ */

#ts-portal-root .tried-sec {
  background: var(--paper);
  padding: 56px 0 32px;
}
#ts-portal-root .tried-intro {
  padding: 0 28px 24px;
  font-family: var(--serif);
  font-style: italic;
  font-size: 15px;
  color: var(--ink2);
  line-height: 1.7;
  font-weight: 500;
  max-width: 380px;
}
#ts-portal-root .tried-list {
  padding: 0 24px;
  display: flex;
  flex-direction: column;
}
#ts-portal-root .t-card {
  display: grid;
  grid-template-columns: 72px 1fr auto;
  gap: 16px;
  padding: 20px 4px;
  border-bottom: .5px solid var(--line);
  align-items: center;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: padding .25s;
}
#ts-portal-root .t-card:last-child { border-bottom: none; }
#ts-portal-root .t-card:active { padding-left: 12px; }
#ts-portal-root .t-img {
  width: 72px; height: 72px;
  background-size: cover;
  background-position: center;
  background-color: var(--moss);
  position: relative;
  overflow: hidden;
  border: .5px solid var(--line2);
}
#ts-portal-root .t-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent 50%, rgba(15,31,19,.2));
}
#ts-portal-root .t-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
#ts-portal-root .t-name {
  font-family: var(--serif);
  font-style: italic;
  font-size: 19px;
  font-weight: 500;
  color: var(--ink);
  line-height: 1.15;
  letter-spacing: -.012em;
}
#ts-portal-root .t-meta {
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: .14em;
  color: var(--ink4);
  text-transform: uppercase;
  font-weight: 500;
}
#ts-portal-root .t-meta b {
  font-family: var(--serif);
  font-style: italic;
  font-size: 12px;
  color: var(--gold-d);
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
  margin-left: 4px;
}
#ts-portal-root .t-reorder {
  background: var(--moss-d);
  border: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: all .25s;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  position: relative;
  box-shadow: 0 2px 12px rgba(15,31,19,.18);
}
#ts-portal-root .t-reorder:active { transform: scale(.92); background: var(--moss); }
#ts-portal-root .t-reorder svg {
  width: 14px; height: 14px;
  stroke: #fff;
  fill: none;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ═══════════════════════════════════════════════════════════════════════
   PRODUCT CARD — universalus (pcard, match-sec, routine-sec, popular-sec)
   ═══════════════════════════════════════════════════════════════════════ */

#ts-portal-root .pcard {
  margin: 0 24px;
  background: var(--paper-l);
  border: .5px solid var(--line2);
  position: relative;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: transform .25s, box-shadow .25s;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(20,17,13,.05);
}
#ts-portal-root .pcard:active {
  transform: scale(.99);
  box-shadow: 0 4px 18px rgba(20,17,13,.08);
}
#ts-portal-root .pcard::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-d), transparent);
  z-index: 3;
}
#ts-portal-root .pcard-photo {
  width: 100%;
  height: 240px;
  background-size: cover;
  background-position: center;
  background-color: var(--moss);
  position: relative;
  overflow: hidden;
}
#ts-portal-root .pcard-photo::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(15,31,19,.4));
}
#ts-portal-root .pcard-badge {
  position: absolute;
  top: 16px; left: 16px;
  background: rgba(15,31,19,.92);
  backdrop-filter: blur(10px);
  padding: 8px 14px;
  border: .5px solid rgba(184,153,104,.4);
  font-family: var(--mono);
  font-size: 8.5px;
  letter-spacing: .26em;
  color: var(--gold-l);
  text-transform: uppercase;
  font-weight: 700;
  z-index: 2;
}
#ts-portal-root .pcard-head {
  padding: 28px 26px 24px;
  background: var(--paper-l);
}
#ts-portal-root .pcard-tag {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: .26em;
  color: var(--gold-d);
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 10px;
}
#ts-portal-root .pcard-name {
  font-family: var(--serif);
  font-style: italic;
  font-size: 32px;
  font-weight: 500;
  color: var(--ink);
  line-height: 1.05;
  letter-spacing: -.018em;
}
#ts-portal-root .pcard-name small {
  display: block;
  font-size: 22px;
  color: var(--ink2);
  margin-top: 2px;
  font-weight: 500;
}
#ts-portal-root .pcard-reason {
  padding: 24px 26px 24px;
  background: var(--paper);
  border-top: 1px solid var(--line2);
}
#ts-portal-root .pcard-reason-l {
  font-family: var(--mono);
  font-size: 8.5px;
  letter-spacing: .3em;
  color: var(--gold-d);
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 10px;
}
#ts-portal-root .pcard-reason-t {
  font-family: var(--serif);
  font-style: italic;
  font-size: 15px;
  color: var(--ink2);
  line-height: 1.65;
  font-weight: 500;
}
#ts-portal-root .pcard-reason-t em {
  font-style: normal;
  color: var(--gold-d);
  font-weight: 600;
}
#ts-portal-root .pcard-benefits {
  padding: 24px 26px 26px;
  background: var(--paper-l);
  border-top: 1px solid var(--line2);
}
#ts-portal-root .pcard-benefits-l {
  font-family: var(--mono);
  font-size: 8.5px;
  letter-spacing: .3em;
  color: var(--ink4);
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 14px;
}
#ts-portal-root .pcard-benefit {
  display: grid;
  grid-template-columns: 16px 1fr;
  gap: 14px;
  padding: 8px 0;
  align-items: baseline;
}
#ts-portal-root .pcard-benefit-icon {
  width: 16px; height: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  margin-top: 6px;
}
#ts-portal-root .pcard-benefit-icon::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold-d);
}
#ts-portal-root .pcard-benefit-t {
  font-family: var(--serif);
  font-style: italic;
  font-size: 15px;
  color: var(--ink);
  line-height: 1.5;
  font-weight: 500;
  letter-spacing: -.005em;
}
#ts-portal-root .pcard-benefit-t b {
  font-style: normal;
  font-weight: 600;
  color: var(--ink);
}
#ts-portal-root .pcard-reviews {
  padding: 26px 0 32px;
  background: var(--paper-d);
  border-top: 1px solid var(--line2);
  border-bottom: 1px solid var(--line2);
  position: relative;
}
#ts-portal-root .pcard-reviews-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin: 0 26px 16px;
}
#ts-portal-root .pcard-reviews-l {
  font-family: var(--mono);
  font-size: 8.5px;
  letter-spacing: .3em;
  color: var(--ink3);
  text-transform: uppercase;
  font-weight: 700;
}
#ts-portal-root .pcard-rating {
  display: flex;
  align-items: baseline;
  gap: 8px;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--gold-d);
  letter-spacing: .04em;
  font-weight: 600;
}
#ts-portal-root .pcard-rating-stars {
  color: var(--gold);
  font-size: 13px;
  letter-spacing: 1px;
}
#ts-portal-root .pcard-rating-count {
  color: var(--ink4);
}
#ts-portal-root .pcard-community {
  margin: 0 26px 20px;
  padding: 14px 16px;
  background: var(--paper-l);
  border: .5px solid rgba(184,153,104,.3);
  border-left: 2px solid var(--gold-d);
  display: flex;
  align-items: center;
  gap: 12px;
}
#ts-portal-root .pcard-community-icon {
  flex-shrink: 0;
  width: 28px; height: 28px;
  border-radius: 50%;
  background: rgba(184,153,104,.15);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
#ts-portal-root .pcard-community-icon::before,
#ts-portal-root .pcard-community-icon::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  background: var(--gold-d);
}
#ts-portal-root .pcard-community-icon::before {
  width: 8px; height: 8px;
  left: 6px;
}
#ts-portal-root .pcard-community-icon::after {
  width: 8px; height: 8px;
  right: 6px;
  opacity: .55;
}
#ts-portal-root .pcard-community-t {
  font-family: var(--serif);
  font-style: italic;
  font-size: 13px;
  color: var(--ink2);
  line-height: 1.5;
  font-weight: 500;
  letter-spacing: -.005em;
}
#ts-portal-root .pcard-community-t b {
  font-style: normal;
  color: var(--gold-d);
  font-weight: 700;
}
#ts-portal-root .pcard-quotes-hint {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 26px 12px;
  font-family: var(--mono);
  font-size: 8.5px;
  letter-spacing: .26em;
  color: var(--ink4);
  text-transform: uppercase;
  font-weight: 500;
}
#ts-portal-root .pcard-quotes-hint::after {
  content: '→';
  font-size: 12px;
  margin-left: 2px;
}
#ts-portal-root .pcard-quotes {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  scroll-snap-type: x mandatory;
  padding: 4px 26px 4px;
}
#ts-portal-root .pcard-quotes::-webkit-scrollbar { display: none; }
#ts-portal-root .pcard-quote {
  flex: 0 0 280px;
  scroll-snap-align: start;
  background: var(--paper-l);
  border: .5px solid var(--line2);
  border-radius: 14px;
  padding: 18px 18px 16px;
  display: flex;
  flex-direction: column;
  position: relative;
  min-height: 200px;
  box-shadow: 0 2px 12px rgba(20,17,13,.04);
}
#ts-portal-root .pcard-quote-context {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  align-self: flex-start;
  background: rgba(43,74,47,.08);
  border: .5px solid rgba(43,74,47,.18);
  padding: 4px 10px;
  border-radius: 100px;
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: .2em;
  color: var(--moss);
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 12px;
}
#ts-portal-root .pcard-quote-context::before {
  content: '';
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--moss);
}
#ts-portal-root .pcard-quote-t {
  font-family: var(--serif);
  font-style: italic;
  font-size: 14px;
  color: var(--ink2);
  line-height: 1.55;
  font-weight: 500;
  letter-spacing: -.005em;
  flex: 1;
  margin-bottom: 14px;
}
#ts-portal-root .pcard-quote-t::before {
  content: '"';
  color: var(--gold-d);
  font-weight: 600;
  margin-right: 1px;
}
#ts-portal-root .pcard-quote-t::after {
  content: '"';
  color: var(--gold-d);
  font-weight: 600;
  margin-left: 1px;
}
#ts-portal-root .pcard-quote-ba {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  margin-bottom: 12px;
}
#ts-portal-root .pcard-quote-ba-item {
  position: relative;
  aspect-ratio: 1;
  background: var(--paper-d);
  background-size: cover;
  background-position: center;
  overflow: hidden;
  border: .5px solid var(--line2);
  border-radius: 6px;
}
#ts-portal-root .pcard-quote-ba-item::after {
  content: attr(data-label);
  position: absolute;
  bottom: 4px; left: 4px;
  font-family: var(--mono);
  font-size: 7.5px;
  letter-spacing: .2em;
  color: #fff;
  text-transform: uppercase;
  font-weight: 700;
  background: rgba(15,31,19,.85);
  padding: 3px 6px;
  backdrop-filter: blur(4px);
  border-radius: 3px;
}
#ts-portal-root .pcard-quote-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 10px;
  border-top: .5px solid var(--line);
}
#ts-portal-root .pcard-quote-author {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: .14em;
  color: var(--ink4);
  text-transform: uppercase;
  font-weight: 500;
}
#ts-portal-root .pcard-quote-author b {
  font-family: var(--serif);
  font-style: italic;
  color: var(--ink2);
  font-size: 12px;
  letter-spacing: 0;
  text-transform: none;
  font-weight: 500;
}
#ts-portal-root .pcard-quote-stars {
  font-size: 10px;
  color: var(--gold);
  letter-spacing: 1px;
}
#ts-portal-root .pcard-foot {
  padding: 26px 26px 28px;
  background: var(--paper-l);
}
#ts-portal-root .pcard-price-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  margin-bottom: 22px;
  border: .5px solid var(--line2);
  background: var(--paper);
}
#ts-portal-root .pcard-price-block.single {
  grid-template-columns: 1fr;
}
#ts-portal-root .pcard-price-side {
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
#ts-portal-root .pcard-price-side.was {
  border-right: .5px solid var(--line2);
}
#ts-portal-root .pcard-price-side.now {
  background: linear-gradient(135deg, rgba(184,153,104,.10), rgba(184,153,104,.04));
  position: relative;
}
#ts-portal-root .pcard-price-side.now::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 2px; height: 100%;
  background: var(--gold-d);
}
#ts-portal-root .pcard-price-side.now.full::before {
  display: none;
}
#ts-portal-root .pcard-price-side.now.full {
  background: var(--paper);
  text-align: left;
}
#ts-portal-root .pcard-price-l {
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: .3em;
  text-transform: uppercase;
  font-weight: 700;
}
#ts-portal-root .pcard-price-side.was .pcard-price-l { color: var(--ink4); }
#ts-portal-root .pcard-price-side.now .pcard-price-l { color: var(--gold-d); }
#ts-portal-root .pcard-price-v {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  letter-spacing: -.018em;
  line-height: 1;
}
#ts-portal-root .pcard-price-side.was .pcard-price-v {
  font-size: 22px;
  color: var(--ink4);
  text-decoration: line-through;
  text-decoration-thickness: 1px;
  text-decoration-color: var(--ink5);
}
#ts-portal-root .pcard-price-side.now .pcard-price-v {
  font-size: 28px;
  color: var(--ink);
}
#ts-portal-root .pcard-savings {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: -22px 0 22px;
  padding: 10px 14px;
  background: var(--moss-d);
  color: #fff;
  position: relative;
}
#ts-portal-root .pcard-savings::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-l), transparent);
}
#ts-portal-root .pcard-savings-l {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: rgba(255,255,255,.65);
  font-weight: 600;
}
#ts-portal-root .pcard-savings-r {
  font-family: var(--serif);
  font-style: italic;
  font-size: 14px;
  color: var(--gold-l);
  font-weight: 600;
}
#ts-portal-root .pcard-savings-r b {
  font-style: normal;
  font-weight: 600;
}
#ts-portal-root .pcard-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  padding: 16px;
  background: var(--moss-d);
  color: #fff;
  border: none;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .3em;
  text-transform: uppercase;
  font-weight: 600;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: all .25s;
  position: relative;
  overflow: hidden;
}
#ts-portal-root .pcard-cta::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-l), transparent);
}
#ts-portal-root .pcard-cta:active { background: var(--moss); transform: scale(.99); }
#ts-portal-root .pcard-cta-arrow {
  width: 28px; height: 1px;
  background: var(--gold-l);
  position: relative;
}
#ts-portal-root .pcard-cta-arrow::after {
  content: '';
  position: absolute;
  right: 0; top: 50%;
  width: 6px; height: 6px;
  border-top: 1px solid var(--gold-l);
  border-right: 1px solid var(--gold-l);
  transform: translateY(-50%) rotate(45deg);
}
#ts-portal-root .ph-sub {
  font-family: var(--serif);
  font-style: italic;
  font-size: 17px;
  color: rgba(255,255,255,.85);
  line-height: 1.6;
  max-width: 380px;
}
#ts-portal-root .match-sec {
  background: var(--paper);
  padding: 56px 0 32px;
}
#ts-portal-root .match-intro {
  padding: 0 28px 24px;
  font-family: var(--serif);
  font-style: italic;
  font-size: 15px;
  color: var(--ink2);
  line-height: 1.7;
  font-weight: 500;
  max-width: 380px;
}
#ts-portal-root .pcard.featured {
  border-left: 3px solid var(--gold);
}
#ts-portal-root .pcard.featured .pcard-photo {
  height: 280px;
}
#ts-portal-root .pcard.featured .pcard-name {
  font-size: 36px;
}
#ts-portal-root .routine-sec {
  background: var(--paper);
  padding: 56px 0 32px;
}
#ts-portal-root .routine-list {
  display: flex;
  flex-direction: column;
  gap: 28px;
}
#ts-portal-root .popular-sec {
  background: linear-gradient(180deg, var(--moss-deep) 0%, #122019 50%, #1A2F1F 100%);
  padding: 100px 0 90px;
  position: relative;
  overflow: hidden;
  margin-top: 56px;
}
#ts-portal-root .popular-sec::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 30% 0%, rgba(184,153,104,.08), transparent 70%);
  pointer-events: none;
}
#ts-portal-root .popular-chapter .chapter-num { color: var(--gold-l); }
#ts-portal-root .popular-chapter .chapter-info { border-bottom-color: rgba(255,255,255,.18); }
#ts-portal-root .popular-chapter .chapter-l { color: rgba(255,255,255,.55); }
#ts-portal-root .popular-chapter .chapter-t { color: #fff; }
#ts-portal-root .popular-intro {
  padding: 0 28px 32px;
  font-family: var(--serif);
  font-style: italic;
  font-size: 15px;
  color: rgba(255,255,255,.85);
  line-height: 1.7;
  font-weight: 400;
  max-width: 380px;
}
#ts-portal-root .pcard.dark {
  background: rgba(255,255,255,.04);
  border: .5px solid rgba(184,153,104,.25);
  box-shadow: 0 4px 24px rgba(0,0,0,.2);
}
#ts-portal-root .pcard.dark::before {
  background: linear-gradient(90deg, transparent, var(--gold-l), transparent);
}
#ts-portal-root .pcard.dark .pcard-head {
  background: rgba(255,255,255,.02);
}
#ts-portal-root .pcard.dark .pcard-tag { color: var(--gold-l); }
#ts-portal-root .pcard.dark .pcard-name { color: #fff; }
#ts-portal-root .pcard.dark .pcard-name small { color: rgba(255,255,255,.7); }
#ts-portal-root .pcard.dark .pcard-reason {
  background: rgba(255,255,255,.04);
  border-top-color: rgba(255,255,255,.1);
}
#ts-portal-root .pcard.dark .pcard-reason-l { color: var(--gold-l); }
#ts-portal-root .pcard.dark .pcard-reason-t { color: rgba(255,255,255,.85); }
#ts-portal-root .pcard.dark .pcard-reason-t em { color: var(--gold-l); }

/* ═══════════════════════════════════════════════════════════════════════
   ORDERS (Tab 4: Istorija)
   ═══════════════════════════════════════════════════════════════════════ */

#ts-portal-root .orders-sec {
  background: var(--paper);
  padding: 48px 0 32px;
}
#ts-portal-root .year-strip {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 28px 16px;
}
#ts-portal-root .year-label {
  font-family: var(--serif);
  font-style: italic;
  font-size: 28px;
  font-weight: 500;
  color: var(--ink);
  letter-spacing: -.02em;
}
#ts-portal-root .year-count {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: .26em;
  color: var(--ink4);
  text-transform: uppercase;
  font-weight: 600;
}
#ts-portal-root .order-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
#ts-portal-root .o-card {
  background: var(--paper-l);
  border: .5px solid var(--line2);
  overflow: hidden;
}
#ts-portal-root .o-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 18px 14px;
  border-bottom: .5px solid var(--line);
}
#ts-portal-root .o-date-block {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
#ts-portal-root .o-date {
  font-family: var(--serif);
  font-style: italic;
  font-size: 17px;
  font-weight: 500;
  color: var(--ink);
  letter-spacing: -.005em;
}
#ts-portal-root .o-num {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: .2em;
  color: var(--ink4);
  text-transform: uppercase;
  font-weight: 500;
}
#ts-portal-root .o-status {
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: .26em;
  text-transform: uppercase;
  font-weight: 700;
  padding: 5px 10px;
}
#ts-portal-root .o-status.delivered {
  background: rgba(43,74,47,.12);
  color: var(--moss);
}
#ts-portal-root .o-status.pending {
  background: rgba(184,153,104,.15);
  color: var(--gold-d);
}
#ts-portal-root .o-items {
  padding: 14px 18px;
}
#ts-portal-root .o-items-l {
  font-family: var(--mono);
  font-size: 8.5px;
  letter-spacing: .3em;
  color: var(--ink4);
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 10px;
}
#ts-portal-root .o-items-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
#ts-portal-root .o-item {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 14px;
  align-items: center;
}
#ts-portal-root .o-item-img {
  width: 64px;
  height: 64px;
  background-size: cover;
  background-position: center;
  background-color: var(--moss);
  border: .5px solid var(--line2);
}
#ts-portal-root .o-item-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
#ts-portal-root .o-item-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}
#ts-portal-root .o-item-name {
  font-family: var(--serif);
  font-style: italic;
  font-size: 16px;
  font-weight: 500;
  color: var(--ink);
  letter-spacing: -.005em;
}
#ts-portal-root .o-item-qty {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: .14em;
  color: var(--ink4);
  text-transform: uppercase;
  font-weight: 500;
}
#ts-portal-root .o-item-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
#ts-portal-root .o-item-price {
  display: flex;
  gap: 8px;
  align-items: baseline;
}
#ts-portal-root .o-item-price-was {
  font-family: var(--serif);
  font-style: italic;
  font-size: 13px;
  color: var(--ink4);
  text-decoration: line-through;
}
#ts-portal-root .o-item-price-now {
  font-family: var(--serif);
  font-style: italic;
  font-size: 16px;
  font-weight: 500;
  color: var(--ink);
}
#ts-portal-root .o-item-add {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  background: none;
  border: .5px solid var(--line2);
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: .2em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--ink2);
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: all .2s;
}
#ts-portal-root .o-item-add:active {
  background: var(--paper-d);
  transform: scale(.97);
}
#ts-portal-root .o-item-add-icon {
  width: 10px;
  height: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}
#ts-portal-root .o-item-add-icon svg {
  width: 10px;
  height: 10px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
}
#ts-portal-root .o-actions {
  border-top: .5px solid var(--line);
  display: flex;
}
#ts-portal-root .o-action {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px;
  background: var(--moss-d);
  border: none;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: .26em;
  text-transform: uppercase;
  font-weight: 600;
  color: #fff;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: background .2s;
}
#ts-portal-root .o-action:active { background: var(--moss); }
#ts-portal-root .o-action:not(:last-child) {
  border-right: .5px solid rgba(255,255,255,.1);
}
#ts-portal-root .o-action-icon {
  width: 14px;
  height: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
}
#ts-portal-root .o-action-icon svg {
  width: 14px;
  height: 14px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.5;
}

/* ═══════════════════════════════════════════════════════════════════════
   GREET / JURGITA SECTION (Tab 5)
   ═══════════════════════════════════════════════════════════════════════ */

#ts-portal-root .greet-sec {
  background: linear-gradient(180deg, var(--moss-deep) 0%, #122019 100%);
  position: relative;
  overflow: hidden;
  padding: 0;
}
#ts-portal-root .greet-sec::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 100% 60% at 50% 0%, rgba(184,153,104,.10), transparent 70%);
  pointer-events: none;
}
#ts-portal-root .greet-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 28px 0;
  position: relative; z-index: 1;
}
#ts-portal-root .greet-tagline {
  font-family: var(--serif);
  font-style: italic;
  font-size: 14px;
  color: var(--gold-l);
  font-weight: 500;
}
#ts-portal-root .greet-edition {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: .26em;
  color: rgba(255,255,255,.5);
  text-transform: uppercase;
  font-weight: 500;
}
#ts-portal-root .greet-body {
  padding: 32px 28px 56px;
  position: relative; z-index: 1;
}
#ts-portal-root .greet-eyebrow {
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: .3em;
  color: var(--gold-l);
  text-transform: uppercase;
  margin-bottom: 12px;
  font-weight: 600;
}
#ts-portal-root .greet-name {
  font-family: var(--serif);
  font-style: italic;
  font-size: 56px;
  font-weight: 500;
  color: #fff;
  line-height: .95;
  letter-spacing: -.025em;
  margin-bottom: 24px;
}
#ts-portal-root .greet-foil {
  width: 40px; height: 1px;
  background: var(--gold-l);
  margin-bottom: 24px;
}
#ts-portal-root .greet-statement {
  font-family: var(--serif);
  font-style: italic;
  font-size: 17px;
  color: rgba(255,255,255,.88);
  line-height: 1.7;
  max-width: 380px;
  margin-bottom: 24px;
}
#ts-portal-root .greet-statement em {
  font-style: normal;
  color: var(--gold-l);
}
#ts-portal-root .greet-promise {
  padding: 18px 20px;
  background: rgba(255,255,255,.04);
  border: .5px solid rgba(184,153,104,.25);
}
#ts-portal-root .greet-promise-text {
  font-family: var(--serif);
  font-style: italic;
  font-size: 14px;
  color: rgba(255,255,255,.85);
  line-height: 1.55;
}
#ts-portal-root .greet-promise-text em {
  font-style: normal;
  color: var(--gold-l);
}
#ts-portal-root .greet-promise-sig {
  font-family: var(--serif);
  font-style: italic;
  font-size: 13px;
  color: var(--gold-l);
  margin-top: 8px;
}

/* ═══════════════════════════════════════════════════════════════════════
   FAQ SECTION (Tab 5)
   ═══════════════════════════════════════════════════════════════════════ */

#ts-portal-root .faq-sec {
  background: var(--paper);
  padding: 56px 0 32px;
}
#ts-portal-root .faq-list {
  padding: 0 24px;
  display: flex;
  flex-direction: column;
}
#ts-portal-root .faq-item {
  border-bottom: .5px solid var(--line);
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: background .2s;
}
#ts-portal-root .faq-item:first-child {
  border-top: .5px solid var(--line);
}
#ts-portal-root .faq-item:active { background: var(--paper-l); }
#ts-portal-root .faq-q {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 18px 4px;
}
#ts-portal-root .faq-q-num {
  font-family: var(--mono);
  font-size: 8.5px;
  letter-spacing: .2em;
  color: var(--ink4);
  text-transform: uppercase;
  font-weight: 600;
  flex-shrink: 0;
  width: 28px;
}
#ts-portal-root .faq-q-t {
  flex: 1;
  font-family: var(--serif);
  font-style: italic;
  font-size: 16px;
  color: var(--ink);
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: -.005em;
}
#ts-portal-root .faq-q-toggle {
  width: 20px; height: 20px;
  flex-shrink: 0;
  position: relative;
}
#ts-portal-root .faq-q-toggle::before,
#ts-portal-root .faq-q-toggle::after {
  content: '';
  position: absolute;
  background: var(--ink4);
  transition: transform .25s;
}
#ts-portal-root .faq-q-toggle::before {
  width: 10px; height: 1px;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
}
#ts-portal-root .faq-q-toggle::after {
  width: 1px; height: 10px;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
}
#ts-portal-root .faq-item.open .faq-q-toggle::after {
  transform: translate(-50%, -50%) rotate(90deg);
}
#ts-portal-root .faq-a {
  display: none;
  padding: 0 4px 18px 44px;
}
#ts-portal-root .faq-item.open .faq-a {
  display: block;
}
#ts-portal-root .faq-a-t {
  font-family: var(--serif);
  font-style: italic;
  font-size: 15px;
  color: var(--ink2);
  line-height: 1.65;
  font-weight: 500;
}
#ts-portal-root .faq-a-t em {
  font-style: normal;
  color: var(--gold-d);
  font-weight: 600;
}

/* ═══════════════════════════════════════════════════════════════════════
   CONTACT FORM (Tab 5)
   ═══════════════════════════════════════════════════════════════════════ */

#ts-portal-root .contact-sec {
  background: var(--paper);
  padding: 56px 0 32px;
}
#ts-portal-root .contact-chapter .chapter-num { color: var(--gold-d); }
#ts-portal-root .contact-intro {
  padding: 0 28px 28px;
  font-family: var(--serif);
  font-style: italic;
  font-size: 15px;
  color: var(--ink2);
  line-height: 1.7;
  font-weight: 500;
  max-width: 380px;
}
#ts-portal-root .contact-intro em {
  font-style: normal;
  color: var(--gold-d);
  font-weight: 600;
}
#ts-portal-root .contact-form {
  padding: 0 24px;
}
#ts-portal-root .field {
  margin-bottom: 20px;
}
#ts-portal-root .field-l {
  display: block;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: .3em;
  color: var(--ink4);
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 8px;
}
#ts-portal-root .field-select-wrap {
  position: relative;
}
#ts-portal-root .field-select {
  width: 100%;
  padding: 14px 16px;
  background: var(--paper-l);
  border: .5px solid var(--line2);
  font-family: var(--sans);
  font-size: 14px;
  color: var(--ink);
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
}
#ts-portal-root .field-select-wrap::after {
  content: '';
  position: absolute;
  right: 16px; top: 50%;
  transform: translateY(-50%);
  width: 0; height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 5px solid var(--ink4);
  pointer-events: none;
}
#ts-portal-root .field-textarea {
  width: 100%;
  padding: 14px 16px;
  background: var(--paper-l);
  border: .5px solid var(--line2);
  font-family: var(--sans);
  font-size: 14px;
  color: var(--ink);
  resize: vertical;
  min-height: 140px;
  line-height: 1.6;
}
#ts-portal-root .field-textarea::placeholder {
  color: var(--ink4);
}
#ts-portal-root .field-hint {
  display: block;
  margin-top: 6px;
  font-family: var(--mono);
  font-size: 8.5px;
  letter-spacing: .14em;
  color: var(--ink4);
  text-transform: uppercase;
  font-weight: 500;
}
#ts-portal-root .contact-submit {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  padding: 18px;
  background: var(--moss-d);
  color: #fff;
  border: none;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .3em;
  text-transform: uppercase;
  font-weight: 600;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: all .25s;
  margin-top: 8px;
}
#ts-portal-root .contact-submit::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-l), transparent);
}
#ts-portal-root .contact-submit:active { background: var(--moss); transform: scale(.99); }
#ts-portal-root .contact-submit-arrow {
  width: 28px; height: 1px;
  background: var(--gold-l);
  position: relative;
}
#ts-portal-root .contact-submit-arrow::after {
  content: '';
  position: absolute;
  right: 0; top: 50%;
  width: 6px; height: 6px;
  border-top: 1px solid var(--gold-l);
  border-right: 1px solid var(--gold-l);
  transform: translateY(-50%) rotate(45deg);
}
#ts-portal-root .contact-promise {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 20px;
  padding: 14px 16px;
  background: var(--paper-d);
  border: .5px solid var(--line2);
}
#ts-portal-root .contact-promise-icon {
  width: 16px; height: 16px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-d);
}
#ts-portal-root .contact-promise-icon svg {
  width: 16px; height: 16px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.5;
}
#ts-portal-root .contact-promise div {
  font-family: var(--serif);
  font-style: italic;
  font-size: 13px;
  color: var(--ink2);
  line-height: 1.5;
  font-weight: 500;
}
#ts-portal-root .contact-promise div b {
  font-style: normal;
  font-weight: 600;
  color: var(--gold-d);
}

/* ═══════════════════════════════════════════════════════════════════════
   QUICK SEC / GREITI KANALAI (Tab 5)
   ═══════════════════════════════════════════════════════════════════════ */

#ts-portal-root .quick-sec {
  background: var(--paper);
  padding: 56px 0 80px;
}
#ts-portal-root .quick-list {
  padding: 0 24px;
  display: flex;
  flex-direction: column;
  gap: 0;
  border: .5px solid var(--line2);
  background: var(--paper-l);
}
#ts-portal-root .quick-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 18px;
  border-bottom: .5px solid var(--line);
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: background .2s;
}
#ts-portal-root .quick-item:last-child { border-bottom: none; }
#ts-portal-root .quick-item:active { background: var(--paper-d); }
#ts-portal-root .quick-icon {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--moss-d);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
#ts-portal-root .quick-icon svg {
  width: 18px; height: 18px;
  stroke: #fff;
  fill: none;
  stroke-width: 1.5;
}
#ts-portal-root .quick-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
#ts-portal-root .quick-l {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: .26em;
  color: var(--ink4);
  text-transform: uppercase;
  font-weight: 600;
}
#ts-portal-root .quick-v {
  font-family: var(--serif);
  font-style: italic;
  font-size: 16px;
  color: var(--ink);
  font-weight: 500;
}
#ts-portal-root .quick-arrow {
  width: 16px; height: 16px;
  position: relative;
}
#ts-portal-root .quick-arrow::before,
#ts-portal-root .quick-arrow::after {
  content: '';
  position: absolute;
  background: var(--ink4);
}
#ts-portal-root .quick-arrow::before {
  width: 10px; height: 1px;
  top: 50%; left: 0;
  transform: translateY(-50%);
}
#ts-portal-root .quick-arrow::after {
  width: 5px; height: 5px;
  top: 50%; right: 0;
  border-top: 1px solid var(--ink4);
  border-right: 1px solid var(--ink4);
  transform: translateY(-50%) rotate(0deg);
}