@import url("/hgtips-v3.css?v=20260717-hgtips-editor-v2");

@media (max-width: 680px) {
  .site-header.is-menu-open .top-nav a[data-nav-target="home"] { order: 1; }
  .site-header.is-menu-open .top-nav a[data-nav-target="library"] { order: 2; }
  .site-header.is-menu-open .top-nav a[data-nav-target="gongo"] { order: 3; }
  .site-header.is-menu-open .top-nav a[data-nav-target="news"] { order: 4; }
  .site-header.is-menu-open .top-nav a[data-nav-target="about"] { order: 5; }
  .site-header.is-menu-open .top-nav a[data-nav-target="contact"] { order: 6; }
  .site-header.is-menu-open .top-nav a[data-nav-target="hgtips"] { order: 7; }
}

.hg-tip-article-head h1 {
  font-size: clamp(1.35rem, 3vw, 2.45rem);
  letter-spacing: -.035em;
}

.hg-tips-list .hg-tip-card h2 {
  font-size: 1.5rem;
}

.hg-tip-exercise-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 12px;
}

.hg-tip-exercise-actions button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 10px 17px;
  border-radius: 11px;
  font: inherit;
  font-size: .92rem;
  font-weight: 900;
  line-height: 1;
  cursor: pointer;
  transition: border-color .18s ease, background-color .18s ease, color .18s ease, transform .18s ease;
}

.hg-tip-exercise-actions button:hover { transform: translateY(-1px); }

.hg-tip-exercise-card {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  overflow: hidden;
  contain: none;
}
.hg-tip-notation-stack {
  display: block;
  width: 100%;
  min-width: 0;
}
.hg-tip-notation-variant {
  display: none;
  width: 100%;
  min-width: 0;
  gap: 9px;
}
.hg-tip-notation-variant.is-desktop {
  display: grid;
}
.hg-tip-notation-variant [data-hg-notation],
.hg-tip-notation-variant .hg-gongo-notation {
  display: block;
  width: 100%;
  min-width: 0;
  max-width: 100%;
}
.hg-tip-notation {
  display: block;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  height: auto;
  overflow: visible;
}
.hg-note-staff { stroke: #adb5c0; stroke-width: 1; }
.hg-note-bar { stroke: #333; stroke-width: 1.8; }
.hg-note-head { fill: #050505; stroke: #050505; stroke-width: 1; }
.hg-note-beam,
.hg-note-flag,
.hg-note-rest-shape,
.hg-note-rest-block { fill: #050505; }
.hg-note-rest-stroke,
.hg-note-x,
.hg-note-stem,
.hg-note-roll,
.hg-note-grace-slash,
.hg-note-grace-slur {
  fill: none;
  stroke: #050505;
  stroke-width: 2;
  stroke-linecap: round;
}
.hg-note-roll { stroke-width: 3; }
.hg-note-grace-slash { stroke-width: 1.8; }
.hg-note-grace-slur { stroke-width: 1.5; }
.hg-note-empty-slot { fill: #98a2b3; }
.hg-note-sticking,
.hg-note-ghost {
  fill: #050505;
  font-weight: 900;
  text-anchor: middle;
}
.hg-note-sticking { font-size: 12px; }
.hg-note-ghost { font-size: 15px; }

.hg-tip-exercise-preview {
  border: 1px solid rgba(217, 130, 82, .72);
  background: rgba(217, 130, 82, .08);
  color: #f0a071;
}

.hg-tip-exercise-preview:hover,
.hg-tip-exercise-preview.is-playing {
  border-color: #e58b57;
  background: #d98252;
  color: #0f1115;
}

.hg-tip-exercise-practice {
  border: 1px solid rgba(246, 205, 155, .78);
  background: #f6cd9b;
  color: #0f1115;
  box-shadow: 0 0 20px rgba(246, 205, 155, .16);
}

.hg-tip-exercise-practice:hover {
  border-color: #ffd9a8;
  background: #ffd9a8;
}

.hg-tip-exercise-actions button:focus-visible,
.hg-tip-exercise-card:focus-visible {
  outline: 3px solid rgba(246, 205, 155, .48);
  outline-offset: 3px;
}

.hg-tip-access-lock .general-member-unlock p {
  margin: -5px 0 2px;
  color: #b8b8b8;
  font-size: 1rem;
  line-height: 1.6;
}

.hg-tip-access-lock .ghost-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 12px 24px;
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 12px;
  color: #fff;
  font-size: 1.02rem;
  font-weight: 900;
}

.hg-tip-access-lock .ghost-button:hover { border-color: #ffd9a8; color: #ffd9a8; }

.hg-tip-notice {
  position: fixed;
  left: 50%;
  bottom: 24px;
  z-index: 190;
  max-width: min(420px, calc(100vw - 32px));
  padding: 11px 16px;
  border: 1px solid rgba(246, 205, 155, .38);
  border-radius: 11px;
  background: rgba(15, 17, 21, .96);
  color: #fff;
  box-shadow: 0 16px 42px rgba(0, 0, 0, .4);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 12px);
  transition: opacity .18s ease, transform .18s ease;
}

.hg-tip-notice.is-visible { opacity: 1; transform: translate(-50%, 0); }

.hg-tip-layout {
  grid-template-columns: minmax(0, 1fr) 228px;
  gap: clamp(24px, 3.2vw, 44px);
}

.hg-tip-layout .hg-tip-prose {
  width: 100%;
  max-width: none;
}

.hg-tip-draft-preview {
  position: fixed;
  left: 50%;
  bottom: max(16px, env(safe-area-inset-bottom));
  z-index: 180;
  display: flex;
  align-items: center;
  gap: 14px;
  width: min(620px, calc(100% - 32px));
  padding: 11px 12px 11px 16px;
  border: 1px solid rgba(246,205,155,.65);
  border-radius: 12px;
  background: #171a21;
  color: #fff;
}

.hg-tip-draft-preview span { flex: 1; color: #d5d7dc; font-size: .88rem; }
.hg-tip-draft-preview strong { color: #f6cd9b; }
.hg-tip-draft-preview a {
  flex: 0 0 auto;
  padding: 8px 11px;
  border-radius: 8px;
  background: #f6cd9b;
  color: #0f1115;
  font-size: .85rem;
  font-weight: 800;
}
.hg-tip-draft-preview a:hover { background: #ffd9a8; }

@media (max-width: 1000px) and (min-width: 561px) {
  .hg-tip-notation-variant.is-desktop { display: none; }
  .hg-tip-notation-variant.is-tablet { display: grid; }
}

@media (max-width: 850px) {
  .hg-tip-article-head h1 { font-size: clamp(1.4rem, 6vw, 1.8rem); }
  .hg-tip-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
  }
}

@media (max-width: 560px) {
  .hg-tip-article-head h1 { font-size: clamp(1.3rem, 5.3vw, 1.5rem); }
  .hg-tip-draft-preview { align-items: stretch; flex-direction: column; gap: 8px; }
  .hg-tip-draft-preview a { text-align: center; }
  .hg-tip-notation-variant.is-desktop { display: none; }
  .hg-tip-notation-variant.is-mobile { display: grid; }
  .hg-tip-exercise-card {
    width: 100%;
    max-width: 100%;
    margin-inline: 0;
  }
  .hg-tip-notation {
    width: 100%;
    min-width: 0;
    max-width: 100%;
  }
  .hg-tip-exercise-actions { display: grid; grid-template-columns: minmax(0, .82fr) minmax(0, 1.4fr); }
  .hg-tip-exercise-actions button { width: 100%; padding-inline: 10px; font-size: .86rem; }
}

@media (prefers-reduced-motion: reduce) {
  .hg-tip-exercise-actions button { transition: none; }
}

.site-header .member-header-link,
.site-header.is-menu-open .member-header-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 0 18px;
  color: #F6CD9B;
  background: #0F1115;
  border: 1px solid #F6CD9B;
  border-radius: 9px;
  font-weight: 900;
  line-height: 1;
  transition: color .18s ease, background-color .18s ease, border-color .18s ease;
}

.site-header .member-header-link::after {
  content: "›";
  color: currentColor;
  font-size: 1.15em;
  line-height: 1;
}

.site-header .member-header-link:hover,
.site-header .member-header-link.is-active {
  color: #FFD9A8;
  background: rgba(246, 205, 155, .1);
  border-color: #FFD9A8;
}

.site-header .member-header-link:focus-visible {
  outline: 3px solid rgba(246, 205, 155, .45);
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  .site-header .member-header-link { transition: none; }
}

/* H.G Notes reading-list index */
.hg-tips-index-page .hg-tips-container {
  width: 100%;
  max-width: none;
}

.hg-tips-index-page .hg-tips-hero {
  padding: 0;
  border-bottom: 0;
  background: #0f1115;
}

.hg-tips-index-page .hg-tips-hero-inner,
.hg-tips-index-page .hg-tips-index-layout {
  width: min(1360px, calc(100% - 48px));
  margin-inline: auto;
}

.hg-tips-index-page .hg-tips-hero-inner {
  padding: 34px 0 0;
}

.hg-tips-index-page .hg-tips-eyebrow {
  display: block;
  margin-bottom: 16px;
  color: var(--hg-gold);
  font-size: .68rem;
  font-weight: 850;
  letter-spacing: .17em;
}

.hg-tips-index-page .hg-tips-hero h1 {
  margin: 0;
  color: #fff;
  font-size: clamp(2.5rem, 4.2vw, 3.65rem);
  font-weight: 780;
  line-height: 1;
  letter-spacing: -.045em;
}

.hg-tips-index-page .hg-tips-hero h1 span {
  color: inherit;
  font: inherit;
}

.hg-tips-index-page .hg-tips-hero p {
  max-width: 700px;
  margin: 15px 0 0;
  color: #aeb0b5;
  font-size: .93rem;
  line-height: 1.72;
}

.hg-tips-index-page .hg-tip-category-nav {
  display: flex;
  gap: clamp(24px, 3.5vw, 52px);
  margin-top: 34px;
  overflow-x: auto;
  border-top: 1px solid rgba(255, 255, 255, .09);
  border-bottom: 1px solid rgba(255, 255, 255, .11);
  scrollbar-width: none;
}

.hg-tips-index-page .hg-tip-category-nav::-webkit-scrollbar {
  display: none;
}

.hg-tips-index-page .hg-tip-category-nav a {
  position: relative;
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 10px;
  padding: 16px 0 15px;
  color: #8f9299;
  font-size: .82rem;
  font-weight: 760;
  line-height: 1;
  transition: color .2s ease;
}

.hg-tips-index-page .hg-tip-category-nav b {
  color: #b7bac0;
  font-size: .76rem;
}

.hg-tips-index-page .hg-tip-category-nav a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 2px;
  background: transparent;
}

.hg-tips-index-page .hg-tip-category-nav a:hover,
.hg-tips-index-page .hg-tip-category-nav a:hover b,
.hg-tips-index-page .hg-tip-category-nav a[aria-current="page"],
.hg-tips-index-page .hg-tip-category-nav a[aria-current="page"] b {
  color: var(--hg-gold-hover);
}

.hg-tips-index-page .hg-tip-category-nav a[aria-current="page"]::after {
  background: var(--hg-gold);
}

.hg-tips-index-page .hg-tips-index-layout {
  grid-template-columns: minmax(0, 1fr) minmax(360px, 440px);
  gap: clamp(40px, 5vw, 72px);
  padding: 20px 0 96px;
}

.hg-tips-index-page .hg-tip-reading-feed {
  min-width: 0;
}

.hg-tips-index-page .hg-tip-reading-item {
  border-bottom: 1px solid rgba(255, 255, 255, .1);
}

.hg-tips-index-page .hg-tip-reading-item:first-child > a {
  padding-top: 12px;
}

.hg-tips-index-page .hg-tip-reading-item > a {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 30px;
  gap: 20px;
  min-height: 108px;
  padding: 22px 10px 22px 0;
  align-items: center;
}

.hg-tips-index-page .hg-tip-reading-copy {
  display: flex;
  min-width: 0;
  flex-direction: column;
  align-items: flex-start;
}

.hg-tips-index-page .hg-tip-card-category {
  color: #a5a8af;
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .03em;
}

.hg-tips-index-page .hg-tip-reading-copy > strong {
  margin-top: 8px;
  color: #fff;
  font-size: clamp(1.15rem, 1.75vw, 1.45rem);
  line-height: 1.42;
  letter-spacing: -.018em;
  transition: color .2s ease;
}

.hg-tips-index-page .hg-tip-reading-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin-top: 10px;
  color: #858991;
  font-size: .73rem;
}

.hg-tips-index-page .hg-tip-reading-meta span + span::before {
  content: "·";
  margin-right: 18px;
  color: rgba(246, 205, 155, .72);
}

.hg-tips-index-page .hg-tip-reading-arrow {
  color: var(--hg-gold);
  font-size: 1.25rem;
  line-height: 1;
  transition: color .2s ease, transform .2s ease;
}

.hg-tips-index-page .hg-tip-reading-item > a:hover .hg-tip-reading-copy > strong,
.hg-tips-index-page .hg-tip-weekly-item > a:hover .hg-tip-weekly-copy > strong {
  color: var(--hg-gold-hover);
}

.hg-tips-index-page .hg-tip-reading-item > a:hover .hg-tip-reading-arrow,
.hg-tips-index-page .hg-tip-weekly-item > a:hover .hg-tip-reading-arrow {
  color: var(--hg-gold-hover);
  transform: translateX(4px);
}

.hg-tips-index-page .hg-tip-weekly-reading {
  position: sticky;
  top: 92px;
  overflow: hidden;
  border: 1px solid rgba(246, 205, 155, .23);
  border-radius: 6px;
  background: #12151b;
}

.hg-tips-index-page .hg-tip-weekly-reading > header {
  padding: 24px 24px 18px;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}

.hg-tips-index-page .hg-tip-weekly-reading > header > span {
  color: var(--hg-gold);
  font-size: .63rem;
  font-weight: 850;
  letter-spacing: .15em;
}

.hg-tips-index-page .hg-tip-weekly-reading h2 {
  margin: 9px 0 0;
  color: #fff;
  font-size: 1.12rem;
  line-height: 1.35;
  letter-spacing: -.01em;
}

.hg-tips-index-page .hg-tip-weekly-reading header p {
  margin: 7px 0 0;
  color: #858991;
  font-size: .75rem;
  line-height: 1.65;
}

.hg-tips-index-page .hg-tip-weekly-list {
  padding-inline: 22px;
}

.hg-tips-index-page .hg-tip-weekly-item {
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}

.hg-tips-index-page .hg-tip-weekly-item:last-child {
  border-bottom: 0;
}

.hg-tips-index-page .hg-tip-weekly-item > a {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr) 22px;
  gap: 12px;
  min-height: 92px;
  padding: 15px 0;
  align-items: center;
}

.hg-tips-index-page .hg-tip-weekly-number {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid rgba(246, 205, 155, .42);
  border-radius: 50%;
  color: #fff;
  font-size: .78rem;
}

.hg-tips-index-page .hg-tip-weekly-copy {
  display: flex;
  min-width: 0;
  flex-direction: column;
}

.hg-tips-index-page .hg-tip-weekly-copy .hg-tip-card-category {
  color: var(--hg-gold);
  font-size: .63rem;
}

.hg-tips-index-page .hg-tip-weekly-copy > strong {
  display: -webkit-box;
  margin-top: 5px;
  overflow: hidden;
  color: #fff;
  font-size: .9rem;
  line-height: 1.35;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.hg-tips-index-page .hg-tip-weekly-copy .hg-tip-reading-meta {
  margin-top: 5px;
  font-size: .65rem;
}

.hg-tips-index-page .hg-tip-weekly-item .hg-tip-reading-arrow {
  justify-self: end;
  font-size: 1rem;
}

@media (max-width: 980px) {
  .hg-tips-index-page .hg-tips-hero-inner,
  .hg-tips-index-page .hg-tips-index-layout {
    width: min(100% - 40px, 820px);
  }

  .hg-tips-index-page .hg-tips-index-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 42px;
  }

  .hg-tips-index-page .hg-tip-weekly-reading {
    position: static;
  }
}

@media (max-width: 680px) {
  .hg-tips-index-page .hg-tips-hero-inner,
  .hg-tips-index-page .hg-tips-index-layout {
    width: min(100% - 28px, 620px);
  }

  .hg-tips-index-page .hg-tips-hero-inner {
    padding-top: 27px;
  }

  .hg-tips-index-page .hg-tips-eyebrow {
    margin-bottom: 12px;
    font-size: .61rem;
  }

  .hg-tips-index-page .hg-tips-hero h1 {
    font-size: 2.35rem;
  }

  .hg-tips-index-page .hg-tips-hero p {
    margin-top: 12px;
    font-size: .85rem;
  }

  .hg-tips-index-page .hg-tip-category-nav {
    gap: 28px;
    margin-top: 24px;
    margin-right: -14px;
    padding-right: 14px;
  }

  .hg-tips-index-page .hg-tip-category-nav a {
    padding-block: 14px;
  }

  .hg-tips-index-page .hg-tips-index-layout {
    padding-top: 8px;
  }

  .hg-tips-index-page .hg-tip-reading-item > a {
    grid-template-columns: minmax(0, 1fr) 22px;
    min-height: 116px;
    padding-block: 20px;
  }

  .hg-tips-index-page .hg-tip-reading-copy > strong {
    font-size: 1.02rem;
  }

  .hg-tips-index-page .hg-tip-weekly-reading > header {
    padding: 21px 18px 17px;
  }

  .hg-tips-index-page .hg-tip-weekly-list {
    padding-inline: 16px;
  }

  .hg-tips-index-page .hg-tip-weekly-item > a {
    grid-template-columns: 34px minmax(0, 1fr) 18px;
    gap: 10px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hg-tips-index-page .hg-tip-reading-arrow,
  .hg-tips-index-page .hg-tip-reading-copy > strong,
  .hg-tips-index-page .hg-tip-weekly-copy > strong {
    transition: none;
  }
}
