:root {
  --tgg-bg: #0b111d;
  --tgg-surface: #1a2435;
  --tgg-border: #2f3f58;
  --tgg-text: #eef3fb;
  --tgg-muted: #b7c4d8;
  --tgg-link: #9ec2ff;
  --tgg-linkHover: #bfd7ff;
  --tgg-headerBg: #0f1828;
  --tgg-headerText: #f0f4fc;
  --tgg-headerIcon: #d8e4f5;
  --tgg-footerBg: #0f1828;
  --tgg-footerText: #9fb1c9;
  --tgg-footerLink: #a8c9ff;
  --tgg-postTitle: #f4f8ff;
  --tgg-postMeta: #b9c7dc;
  --tgg-postDivider: #2c3a54;
  --tgg-tagBg: transparent;
  --tgg-tagText: #a9c9ff;
  --tgg-tagDot: #8eb4ff;
  --tgg-mediaBg: #1b273a;
  --tgg-mediaShadow: #070d18;
  --tgg-actionIcon: #cddbf0;
  --tgg-btnBg: #2f4f86;
  --tgg-btnText: #f5f9ff;
  --tgg-btnBgHover: #3f639f;
  --tgg-btnTextHover: #ffffff;
  --tgg-btnBorder: #4f74ae;
  --tgg-inputBg: #152133;
  --tgg-inputText: #e4ecf8;
  --tgg-inputBorder: #31435f;
  --tgg-inputFocus: #8eb3f7;
  --tgg-checkboxBg: #182438;
  --tgg-checkboxCheck: #a5c5ff;
  --tgg-commentBg: #151f31;
  --tgg-commentAuthor: #ecf2fc;
  --tgg-commentMeta: #9db2cf;
  --tgg-commentReply: #9ec2ff;
  --tgg-bg-start: var(--tgg-bg);
  --tgg-bg-end: var(--tgg-bg);
  --tgg-header-solid: var(--tgg-headerBg);
  --tgg-menu-solid: var(--tgg-headerBg);
  --tgg-header-glass: var(--tgg-headerBg);
  --tgg-menu-glass: var(--tgg-surface);
  --tgg-card-glass: var(--tgg-surface);
  --tgg-card-top-bg: var(--tgg-surface);
  --tgg-meta-bg: var(--tgg-surface);
  --tgg-bottom-meta-bg: var(--tgg-surface);
  --tgg-title-color: var(--tgg-postTitle);
  --tgg-link-color: var(--tgg-link);
  --tgg-text-soft: var(--tgg-muted);
  --tgg-line: var(--tgg-border);
  --tgg-line-soft: var(--tgg-border);
  --tgg-menu-label-color: var(--tgg-headerText);
  --tgg-menu-item-color: var(--tgg-text);
  --tgg-accent: var(--tgg-link);
  --tgg-shadow: 0 24px 48px rgba(4, 10, 22, 0.42);
  --tgg-r-lg: 18px;
  --tgg-r-md: 14px;
  --tgg-font-base: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --tgg-font-title: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --tgg-base-size: 17px;
  --tgg-glass-opacity: 0.12;
  --tgg-glass-blur: 24px;
  --tgg-header-height: 54px;
  --tgg-header-side-pad: 12px;
  --tgg-header-title-size: 34px;
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html,
body {
  margin: 0;
  min-height: 100%;
  background-color: var(--tgg-bg);
}

html {
  font-size: var(--tgg-base-size);
}

body {
  min-height: 100dvh;
  background:
    radial-gradient(120% 90% at 15% 0%, color-mix(in srgb, var(--tgg-link) 10%, transparent), transparent 58%),
    linear-gradient(180deg, color-mix(in srgb, var(--tgg-bg) 92%, #ffffff 8%) 0%, var(--tgg-bg) 56%);
  color: var(--tgg-text);
  font-family: var(--tgg-font-base);
  line-height: 1.68;
  letter-spacing: -0.011em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overscroll-behavior-y: none;
}

body::before {
  content: "";
  position: fixed;
  top: calc(-1 * env(safe-area-inset-top));
  right: calc(-1 * env(safe-area-inset-right));
  bottom: calc(-1 * env(safe-area-inset-bottom));
  left: calc(-1 * env(safe-area-inset-left));
  z-index: -1;
  pointer-events: none;
  background-image: var(--tgg-bg-image);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  opacity: var(--tgg-bg-image-opacity);
}

a {
  color: var(--tgg-link);
}

a:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible,
button:focus-visible {
  outline: 2px solid rgba(126, 165, 249, 0.68);
  outline-offset: 2px;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

.screen-reader-text {
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute !important;
  width: 1px;
  word-wrap: normal !important;
}

.screen-reader-text:focus {
  clip: auto !important;
  clip-path: none;
  height: auto;
  width: auto;
  left: 8px;
  top: 8px;
  background: #fff;
  color: #111;
  padding: 10px 14px;
  z-index: 10001;
}

.tgg-site-shell {
  width: 100%;
  margin: 0 auto;
  padding: 0 0 34px;
  position: relative;
}

.tgg-header {
  position: static;
  z-index: 9999;
  padding: env(safe-area-inset-top) 0 8px;
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  transition: none;
}

.tgg-scrolled .tgg-header {
  background: transparent;
  box-shadow: none;
}

.tgg-header-row,
.tgg-main-content,
.tgg-site-footer {
  width: min(760px, 100%);
  margin: 0 auto;
  padding-left: var(--tgg-header-side-pad);
  padding-right: var(--tgg-header-side-pad);
}

.tgg-header-row {
  display: grid;
  grid-template-columns: 52px 1fr 52px;
  align-items: center;
  gap: 10px;
  min-height: 62px;
}

.tgg-main-content {
  padding-top: 20px;
}

.tgg-menu-toggle,
.tgg-subscribe-btn {
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--tgg-headerIcon);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 160ms ease, transform 120ms ease;
}

.tgg-menu-toggle:hover,
.tgg-menu-toggle:focus-visible,
.tgg-subscribe-btn:hover,
.tgg-subscribe-btn:focus-visible {
  background: rgba(173, 201, 255, 0.17);
}

.tgg-menu-toggle:active,
.tgg-subscribe-btn:active {
  transform: scale(0.97);
}

.tgg-menu-toggle i,
.tgg-subscribe-btn i {
  font-size: 1.45rem;
  line-height: 1;
}

.tgg-brand-wrap {
  min-width: 0;
  text-align: center;
}

.tgg-site-title,
.custom-logo-link {
  color: var(--tgg-headerText);
  text-decoration: none;
  font-weight: 600;
  font-size: clamp(1.55rem, 4.8vw, 2.3rem);
  letter-spacing: 0.006em;
  font-family: var(--tgg-font-title);
}

.custom-logo-link img {
  max-height: 44px;
  width: auto;
  margin: 0 auto;
}

.tgg-menu-drawer {
  position: fixed;
  left: max(10px, calc((100vw - 760px) / 2 + 12px));
  top: calc(env(safe-area-inset-top) + var(--tgg-header-height) + 14px);
  z-index: 9980;
  width: min(360px, calc(100vw - 20px));
  max-height: calc(100vh - env(safe-area-inset-top) - var(--tgg-header-height) - 32px);
  overflow: auto;
  padding: 14px;
  border-radius: 18px;
  background: linear-gradient(170deg, var(--tgg-menu-glass), rgba(13, 22, 38, 0.9));
  border: 1px solid rgba(255, 255, 255, 0.11);
  box-shadow: var(--tgg-shadow), inset 1px 1px 0 rgba(255, 255, 255, 0.18), inset -1px -1px 0 rgba(0, 0, 0, 0.16);
  backdrop-filter: blur(30px) saturate(165%);
  -webkit-backdrop-filter: blur(30px) saturate(165%);
  opacity: 0;
  transform: translateY(-12px) scale(0.992);
  pointer-events: none;
  transition: opacity 240ms ease, transform 240ms ease;
}

.tgg-menu-drawer.is-open {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.tgg-menu-backdrop {
  position: fixed;
  inset: 0;
  z-index: 9970;
  background: rgba(5, 10, 18, 0.34);
}

.tgg-menu-search {
  margin: 0 0 16px;
}

.tgg-menu-search-wrap {
  position: relative;
}

.tgg-menu-search input {
  width: 100%;
  min-height: 42px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(175, 196, 235, 0.1);
  color: var(--tgg-text);
  padding: 0 40px 0 12px;
  font-size: 0.98rem;
}

.tgg-menu-search button {
  position: absolute;
  right: 2px;
  top: 2px;
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 12px;
  background: transparent;
  color: var(--tgg-text);
  cursor: pointer;
}

.tgg-menu-search button:hover,
.tgg-menu-search button:focus-visible {
  background: rgba(173, 201, 255, 0.16);
}

.tgg-menu-groups {
  display: grid;
  gap: 18px;
}

.tgg-menu-subheading {
  margin: 0 0 10px;
  color: var(--tgg-menu-label-color);
  font-size: 0.84rem;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  font-weight: 600;
}

.tgg-dropdown-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}

.tgg-dropdown-list li {
  border-radius: 12px;
}

.tgg-dropdown-list li.is-empty {
  padding: 12px;
  color: var(--tgg-menu-item-color);
  background: rgba(175, 196, 235, 0.08);
}

.tgg-dropdown-list a,
.tgg-subcat-toggle {
  min-height: 50px;
  width: 100%;
  border: 0;
  border-radius: 14px;
  background: transparent;
  color: var(--tgg-menu-item-color);
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  font-size: 1.03rem;
  font-weight: 550;
  text-decoration: none;
  text-align: left;
  cursor: pointer;
  transition: background 150ms ease, color 150ms ease;
}

.tgg-dropdown-list a:hover,
.tgg-dropdown-list a:focus-visible,
.tgg-subcat-toggle:hover,
.tgg-subcat-toggle:focus-visible {
  background: rgba(173, 201, 255, 0.2);
}

.tgg-dropdown-list a i,
.tgg-subcat-trigger-main i {
  width: 18px;
  text-align: center;
  opacity: 0.92;
}

.tgg-subcat-toggle {
  justify-content: space-between;
}

.tgg-subcat-trigger-main {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.tgg-subcat-toggle[aria-expanded="true"] > i {
  transform: rotate(45deg);
}

.tgg-subcat-list {
  list-style: none;
  margin: 6px 0 0;
  padding: 0 0 0 8px;
  display: grid;
  gap: 6px;
}

.tgg-subcat-list a {
  min-height: 44px;
  padding: 9px 12px;
  font-size: 0.95rem;
  font-weight: 500;
}

.tgg-menu-footer {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--tgg-line-soft);
}

.tgg-feed {
  display: grid;
  gap: 30px;
}

.tgg-card,
.tgg-single,
.tgg-page-card,
.comment-respond,
#comments {
  border-radius: var(--tgg-r-lg);
  border: 1px solid var(--tgg-border);
  background: var(--tgg-surface);
  backdrop-filter: blur(calc(var(--tgg-glass-blur) - 1px)) saturate(145%);
  -webkit-backdrop-filter: blur(calc(var(--tgg-glass-blur) - 1px)) saturate(145%);
  box-shadow: 0 12px 30px rgba(3, 10, 24, 0.24), inset 1px 1px 0 rgba(255, 255, 255, 0.1), inset -1px -1px 0 rgba(0, 0, 0, 0.12);
  overflow: hidden;
}

.tgg-card-top,
.tgg-single-header {
  background: var(--tgg-card-top-bg);
  padding: 14px 16px 8px;
}

.tgg-card-title,
.tgg-single-title {
  margin: 0;
  line-height: 1.2;
  font-family: var(--tgg-font-title);
  color: var(--tgg-title-color);
}

.tgg-card-title {
  font-size: clamp(1.45rem, 5vw, 2rem);
}

.tgg-single-title {
  font-size: clamp(1.74rem, 6.2vw, 2.58rem);
  display: flex;
  align-items: center;
  gap: 12px;
}

.tgg-card-title a {
  color: inherit;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.tgg-topic-icon {
  width: 1.22em;
  min-width: 1.22em;
  flex: 0 0 1.22em;
  opacity: 0.96;
  line-height: 1;
}

.tgg-card-meta-strip {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  padding: 4px 16px 10px;
  font-size: 1rem;
  color: var(--tgg-postMeta);
  background: transparent;
  margin: 0;
  border-radius: 0;
}

.tgg-meta-time {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 1.06rem;
}

.tgg-meta-time i {
  opacity: 0.88;
}

.tgg-topic-chip {
  display: inline-flex;
  align-items: center;
  min-height: 0;
  border-radius: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--tgg-tagText);
  font-size: 0.92rem;
  font-weight: 550;
  letter-spacing: 0.01em;
  text-decoration: none;
}

a.tgg-topic-chip:hover,
a.tgg-topic-chip:focus-visible {
  color: var(--tgg-linkHover);
}

.tgg-topic-dot {
  display: none;
}

.tgg-topic-icon-badge {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: color-mix(in srgb, var(--tgg-surface) 68%, transparent);
  border: 1px solid color-mix(in srgb, var(--tgg-text) 16%, transparent);
  box-shadow: inset 0 1px 0 color-mix(in srgb, var(--tgg-text) 16%, transparent);
  color: var(--tgg-tagText);
  text-decoration: none;
}

.tgg-topic-icon-badge:hover,
.tgg-topic-icon-badge:focus-visible {
  background: color-mix(in srgb, var(--tgg-link) 20%, transparent);
}

.tgg-card-media,
.tgg-single-media {
  margin: 0;
  aspect-ratio: 16 / 9;
  border-radius: var(--tgg-r-lg) var(--tgg-r-lg) 0 0;
  overflow: hidden;
  background: var(--tgg-mediaBg);
  box-shadow: 0 14px 24px color-mix(in srgb, var(--tgg-mediaShadow) 45%, transparent);
}

.tgg-post--archive .tgg-card-media,
.tgg-post--single .tgg-single-media {
  margin: 0;
  border-radius: var(--tgg-r-lg) var(--tgg-r-lg) 0 0;
  position: relative;
  aspect-ratio: 16 / 8.8;
}

.tgg-topic-banner {
  position: absolute;
  top: 10px;
  right: 10px;
  min-height: 36px;
  padding: 6px 12px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: var(--tgg-text);
  background: color-mix(in srgb, var(--tgg-surface) 78%, transparent);
  border: 1px solid color-mix(in srgb, var(--tgg-text) 18%, transparent);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: inset 0 1px 0 color-mix(in srgb, var(--tgg-text) 20%, transparent);
}

.tgg-topic-banner:hover,
.tgg-topic-banner:focus-visible {
  background: color-mix(in srgb, var(--tgg-link) 24%, transparent);
}

.tgg-topic-banner .tgg-topic-icon {
  width: 1em;
  min-width: 1em;
  flex-basis: 1em;
}

.tgg-card-image-link,
.tgg-card-image-link img {
  width: 100%;
  height: 100%;
}

.tgg-card-image-link img,
.tgg-single-media img {
  object-fit: cover;
}

.tgg-card-body,
.tgg-single-content,
.tgg-page-content,
.tgg-single-actions,
.tgg-page-header {
  padding-left: 18px;
  padding-right: 18px;
}

.tgg-card-body {
  padding-top: 4px;
  padding-bottom: 16px;
}

.tgg-card-excerpt,
.tgg-single-content,
.tgg-page-content {
  color: var(--tgg-text-soft);
}

.tgg-card-excerpt {
  margin: 0 0 10px;
  display: -webkit-box;
  -webkit-line-clamp: 5;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.tgg-card-story {
  display: none;
  margin: 0 0 8px;
  color: var(--tgg-text);
}

.tgg-card.is-expanded .tgg-card-story {
  display: block;
}

.tgg-card.is-expanded .tgg-card-excerpt {
  display: none;
}

.tgg-read-more-btn,
.tgg-action-btn,
.tgg-share-btn,
.tgg-page-link a,
.tgg-pill-link,
.tgg-nav-link a,
.comment-form input[type="submit"],
.search-submit,
.search-form button,
.tgg-subscribe-form-wrap input[type="submit"],
.tgg-subscribe-form-wrap button[type="submit"] {
  border: 0;
  border-radius: 14px;
  text-decoration: none;
  cursor: pointer;
  transition: transform 140ms ease, background 160ms ease, box-shadow 160ms ease;
  font-size: 1rem;
}

.tgg-read-more-btn {
  display: block;
  width: min(230px, 100%);
  min-height: 44px;
  margin: 12px auto 2px;
  padding: 10px 16px;
  text-align: center;
  color: var(--tgg-btnText);
  background: transparent;
  border: 0;
  box-shadow: none;
  font-size: 1.02rem;
  font-weight: 620;
}

.tgg-read-more-btn:hover,
.tgg-read-more-btn:focus-visible {
  transform: translateY(-1px);
  background: var(--tgg-btnBgHover);
  color: var(--tgg-btnTextHover);
  box-shadow: 0 8px 16px rgba(16, 24, 40, 0.2);
}

.tgg-read-more-btn:active,
.tgg-action-btn:active,
.tgg-share-btn:active,
.tgg-nav-link a:active,
.tgg-page-link a:active,
.comment-form input[type="submit"]:active,
.search-submit:active,
.search-form button:active,
.tgg-subscribe-form-wrap input[type="submit"]:active,
.tgg-subscribe-form-wrap button[type="submit"]:active {
  background: var(--tgg-btnBgHover);
}

.tgg-card-actions,
.tgg-single-actions {
  min-height: 54px;
  padding: 7px 14px;
  border-top: 0;
  background: var(--tgg-bottom-meta-bg);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}

.tgg-action-btn,
.tgg-share-btn {
  min-width: 154px;
  min-height: 48px;
  padding: 10px 16px;
  color: var(--tgg-actionIcon);
  background: transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 1.08rem;
}

.tgg-action-btn--ghost {
  visibility: hidden;
}

.tgg-action-btn:hover,
.tgg-action-btn:focus-visible,
.tgg-share-btn:hover,
.tgg-share-btn:focus-visible {
  background: rgba(173, 201, 255, 0.16);
}

.tgg-post-meta {
  margin: 0;
}

.tgg-single-content {
  padding-top: 0;
  padding-bottom: 16px;
}

.tgg-post--single .tgg-single-header {
  padding-top: 8px;
}

.tgg-single-content h2,
.tgg-single-content h3,
.tgg-single-content h4 {
  line-height: 1.3;
  margin: 1.36em 0 0.5em;
  color: var(--tgg-title-color);
}

.tgg-single-content p,
.tgg-single-content ul,
.tgg-single-content ol,
.tgg-single-content blockquote,
.tgg-single-content pre {
  margin: 0 0 1em;
}

.tgg-single-content blockquote {
  margin-left: 0;
  border-left: 3px solid rgba(126, 165, 249, 0.8);
  padding: 8px 0 8px 14px;
}

.tgg-single-content pre {
  padding: 14px;
  border-radius: var(--tgg-r-md);
  background: rgba(7, 14, 27, 0.76);
  overflow-x: auto;
}

.tgg-page-intro,
.tgg-page-header {
  padding: 14px;
  margin-bottom: 14px;
  border-radius: var(--tgg-r-md);
  border: 1px solid var(--tgg-border);
  background: var(--tgg-surface);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.tgg-page-card .tgg-page-header {
  margin: 0 16px 12px;
  border-radius: 12px;
  background: var(--tgg-card-top-bg);
  padding: 12px 14px;
}

.tgg-page-card .tgg-page-content {
  padding-bottom: 16px;
}

.tgg-page-intro h1,
.tgg-page-header h1 {
  margin: 0;
}

.tgg-page-intro p {
  margin: 8px 0 0;
  color: var(--tgg-text-soft);
}

.tgg-pagination,
.tgg-post-nav {
  margin-top: 8px;
  display: flex;
  gap: 10px;
  justify-content: center;
}

.tgg-pagination .tgg-page-link a {
  min-width: 120px;
}

.tgg-post-nav .tgg-nav-link {
  flex: 1;
  display: flex;
}

.tgg-nav-link a,
.tgg-page-link a {
  width: 100%;
  min-height: 42px;
  padding: 10px 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: transparent;
  color: var(--tgg-title-color);
  border-radius: 12px;
  font-size: 1rem;
}

.tgg-nav-link a:hover,
.tgg-nav-link a:focus-visible,
.tgg-page-link a:hover,
.tgg-page-link a:focus-visible {
  background: rgba(175, 196, 235, 0.25);
}

.tgg-single-wrap,
.tgg-page-wrap,
.tgg-about-wrap {
  display: grid;
  gap: 14px;
}

.tgg-profile-card {
  display: grid;
  grid-template-columns: 132px minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  padding: 18px;
}

.tgg-profile-card__avatar {
  width: 132px;
  height: 132px;
  border-radius: 16px;
  overflow: hidden;
  background: color-mix(in srgb, var(--tgg-surface) 70%, transparent);
  border: 1px solid var(--tgg-border);
  display: flex;
  align-items: center;
  justify-content: center;
}

.tgg-profile-card__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.tgg-profile-card__content h1 {
  margin: 0 0 8px;
  font-size: clamp(1.4rem, 3vw, 2rem);
  color: var(--tgg-postTitle);
}

.tgg-profile-card__content p {
  margin: 0;
  color: var(--tgg-text-soft);
}

.tgg-profile-card__social {
  margin-top: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.tgg-profile-card__social a {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  border: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--tgg-text);
  text-decoration: none;
  background: transparent;
}

.tgg-profile-card__social a:hover,
.tgg-profile-card__social a:focus-visible {
  background: var(--tgg-btnBgHover);
}

#comments,
.comment-respond {
  padding: 16px;
}

.comments-title {
  margin: 0 0 12px;
  color: var(--tgg-postTitle);
  font-size: 1.15rem;
  font-family: var(--tgg-font-title);
}

.comment-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.comment-list li {
  border-top: 1px solid var(--tgg-line-soft);
  padding: 12px 0;
  background: var(--tgg-commentBg);
}

.comment-author {
  color: var(--tgg-commentAuthor);
}

.comment-metadata {
  color: var(--tgg-commentMeta);
}

.comment-reply-link {
  color: var(--tgg-commentReply);
}

.comment-form input,
.comment-form textarea,
.search-form input[type="search"],
.search-form input[type="text"],
.tgg-subscribe-form-wrap input[type="email"] {
  width: 100%;
  border-radius: 12px;
  border: 1px solid var(--tgg-inputBorder);
  background: var(--tgg-inputBg);
  color: var(--tgg-inputText);
  min-height: 42px;
  padding: 10px 12px;
}

.comment-form textarea {
  min-height: 140px;
}

.comment-form input:focus,
.comment-form textarea:focus,
.search-form input[type="search"]:focus,
.search-form input[type="text"]:focus,
.tgg-subscribe-form-wrap input[type="email"]:focus {
  border-color: var(--tgg-inputFocus);
  box-shadow: 0 0 0 2px color-mix(in srgb, var(--tgg-inputFocus) 25%, transparent);
  outline: 0;
}

input[type="checkbox"] {
  accent-color: var(--tgg-checkboxCheck);
  background: var(--tgg-checkboxBg);
}

.comment-form input[type="submit"],
.search-submit,
.search-form button,
.tgg-subscribe-form-wrap input[type="submit"],
.tgg-subscribe-form-wrap button[type="submit"] {
  margin-top: 10px;
  min-height: 50px;
  padding: 12px 24px;
  color: var(--tgg-btnText);
  background: transparent;
  border: 0;
  border-radius: 14px;
  font-size: 1.08rem;
  font-weight: 600;
}

.comment-form input[type="submit"]:hover,
.search-submit:hover,
.search-form button:hover,
.tgg-subscribe-form-wrap input[type="submit"]:hover,
.tgg-subscribe-form-wrap button[type="submit"]:hover {
  background: var(--tgg-btnBgHover);
  color: var(--tgg-btnTextHover);
}

.sharedaddy,
.jp-relatedposts,
.jetpack-related-posts {
  display: none !important;
}

.tgg-subscribe-modal {
  position: fixed;
  inset: 0;
  z-index: 1400;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.tgg-subscribe-modal-panel {
  width: min(560px, 100%);
  border-radius: var(--tgg-r-lg);
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: linear-gradient(155deg, rgba(33, 46, 68, 0.84), rgba(16, 26, 41, 0.84));
  box-shadow: var(--tgg-shadow), inset 1px 1px 0 rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(24px) saturate(145%);
  -webkit-backdrop-filter: blur(24px) saturate(145%);
  padding: 20px;
  position: relative;
}

.tgg-subscribe-modal-panel h2 {
  margin: 0 0 10px;
  color: var(--tgg-title-color);
  text-align: center;
}

.tgg-subscribe-close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  border: 0;
  background: rgba(173, 201, 255, 0.14);
  color: var(--tgg-text);
  cursor: pointer;
}

.tgg-subscribe-close:hover,
.tgg-subscribe-close:focus-visible {
  background: rgba(173, 201, 255, 0.22);
}

.tgg-subscribe-backdrop {
  position: fixed;
  inset: 0;
  z-index: 1350;
  background: rgba(2, 8, 18, 0.55);
}

.tgg-subscribe-form-wrap,
.tgg-subscribe-form-wrap .jetpack_subscription_widget,
.tgg-subscribe-form-wrap form {
  text-align: center;
  color: var(--tgg-text);
}

.tgg-site-footer {
  background: transparent;
  padding-top: 28px;
  color: var(--tgg-footerText);
  text-align: center;
  font-size: 0.82rem;
}

.tgg-site-footer a {
  color: var(--tgg-footerLink);
}

.tgg-toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  transform: translateX(-50%);
  z-index: 1200;
  border-radius: 999px;
  border: 1px solid var(--tgg-line);
  background: rgba(9, 15, 36, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  color: var(--tgg-text);
  padding: 10px 14px;
  box-shadow: var(--tgg-shadow);
}

@media (max-width: 700px) {
  :root {
    --tgg-header-height: 50px;
  }

  .tgg-site-title,
  .custom-logo-link {
    font-size: 1.2rem;
  }

  .tgg-main-content {
    padding-top: 16px;
  }

  .tgg-menu-drawer {
    width: calc(100vw - 20px);
  }

}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}
