/*
Theme Name: ゆーぶろ部
Theme URI: https://club.yubro.jp/
Author: ゆーぶろ部
Description: ゆーぶろ部の作品紹介LP専用軽量テーマ。
Version: 1.2.1
Requires at least: 6.7
Requires PHP: 8.1
Text Domain: yubro-club
*/

:root {
  --ink: #161616;
  --muted: #737373;
  --line: #e5e5e5;
  --soft: #f7f7f7;
  --red: #e82735;
  --yellow: #ffe92f;
  --sans: "Hiragino Sans", "Yu Gothic", "Noto Sans JP", system-ui, sans-serif;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; background: #ececec; }
body { margin: 0; color: var(--ink); background: #ececec; font-family: var(--sans); }
body.modal-open { overflow: hidden; }
button, a { -webkit-tap-highlight-color: transparent; }
button { color: inherit; font: inherit; }
a { color: inherit; text-decoration: none; }
img, video { display: block; max-width: 100%; }
:where(a, button, input, select, textarea, video[controls], [tabindex]):focus-visible {
  outline: 3px solid #fff;
  outline-offset: 2px;
  box-shadow: 0 0 0 5px #165dca;
}

.fallback-page { width: min(calc(100% - 32px), 720px); min-height: 100vh; margin: 0 auto; padding: 40px 0; }
.fallback-page h1 { margin: 0 0 28px; }
.fallback-page article { padding: 20px 0; border-top: 1px solid var(--line); }

.product-page {
  width: min(100%, 640px);
  min-height: 100vh;
  margin: 0 auto;
  overflow: hidden;
  background: white;
  box-shadow: 0 0 45px rgb(0 0 0 / 9%);
}

.key-visual { margin: 0; position: relative; background: #222; }
.key-visual img { width: 100%; height: auto; aspect-ratio: 2 / 1; object-fit: cover; }
.key-visual--external img { min-height: 190px; }
.key-visual::after {
  content: "";
  position: absolute;
  z-index: 1;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 34%;
  pointer-events: none;
  background: linear-gradient(to bottom, rgb(255 255 255 / 0%), #fff 96%);
}
.product-summary { margin-top: -18px; padding: 0 15px 10px; position: relative; z-index: 2; }
.product-summary h1 { margin: 0; font-size: clamp(20px, 5.75vw, 29px); line-height: 1.28; letter-spacing: -.045em; }
.rating-label { margin: 9px 0 5px; color: #777; font-size: 7px; font-weight: 800; letter-spacing: .04em; }
.editorial-rating { display: flex; flex-wrap: wrap; align-items: center; gap: 5px 10px; color: var(--muted); font-size: 8px; }
.editorial-rating > span { display: flex; align-items: center; gap: 4px; }
.editorial-rating > span > b { color: #4c4c4c; font-size: 8px; }
.editorial-rating em { color: #777; font-size: 8px; font-style: normal; }
.rating-stars { background-clip: text; -webkit-background-clip: text; color: transparent; font-size: 11px; font-style: normal; letter-spacing: 1px; }
.rating-stars--five { background-image: linear-gradient(90deg, #f5c400 100%, #d5d5d5 100%); }
.rating-stars--half { background-image: linear-gradient(90deg, #f5c400 90%, #d5d5d5 90%); }
.editorial-rating .work-spec { gap: 5px; }
.work-spec b { padding: 2px 5px; border: 1px solid #bcbcbc; border-radius: 3px; color: #555; font-size: 7px; }

.plan-card {
  margin: 1px 14px 0;
  padding: 14px 13px 10px;
  color: white;
  background: #111;
  border-radius: 9px;
  box-shadow: inset 0 0 0 1px #2f2f2f;
}
.plan-heading { display: flex; align-items: center; justify-content: center; gap: clamp(14px, 4vw, 28px); }
.plan-heading > strong { font-size: 12px; }
.plan-heading > strong span { color: #ff3545; font-weight: 950; }
.plan-heading p { margin: 0; display: flex; align-items: baseline; gap: 2px; white-space: nowrap; }
.plan-heading p b { color: #9b9b9b; font-size: 17px; }
.plan-heading p small { color: #aaa; font-size: 8px; }
.plan-copy { margin: 7px 0 10px; display: grid; gap: 3px; text-align: center; }
.plan-copy strong { font-size: 12px; }
.plan-copy span { color: #d1d1d1; font-size: 9px; }
.plan-card > a {
  min-height: 45px;
  padding: 0 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 999px;
  color: #161616;
  background: var(--yellow);
  font-size: 13px;
  font-weight: 950;
  box-shadow: 0 2px 0 #a99300;
}
.plan-card > a span { font-size: 11px; }
.bundle-note { margin-top: 8px; display: block; color: #a8a8a8; font-size: 8px; line-height: 1.55; text-align: center; }
.plan-caution {
  margin-top: 7px;
  padding-top: 7px;
  display: block;
  border-top: 1px solid #3b3b3b;
  color: #e1e1e1;
  font-size: 10px;
  font-weight: 650;
  line-height: 1.65;
  text-align: left;
}

.quick-actions {
  min-height: 79px;
  margin: 0 14px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-bottom: 1px solid var(--line);
}
.quick-actions--single { grid-template-columns: repeat(2, 1fr); }
.quick-actions :is(button, a) { min-width: 0; min-height: 72px; padding: 10px 4px 8px; display: grid; justify-items: center; align-content: center; gap: 2px; border: 0; background: transparent; cursor: pointer; }
.quick-actions :is(button, a) + :is(button, a) { border-left: 1px solid #efefef; }
.quick-actions :is(button, a) > span { height: 28px; display: grid; place-items: center; color: #292929; }
.film-icon { width: 31px; border: 2px solid #292929; border-radius: 3px; font-size: 10px; }
.heart-icon { font-family: system-ui, sans-serif; font-size: 34px; font-weight: 300; line-height: 1; }
.quick-actions button.is-active .heart-icon { color: var(--red); font-size: 26px; }
.x-share-icon { width: 28px; height: 28px; font-size: 19px; font-weight: 950; line-height: 1; }
.quick-actions strong { font-size: 10px; }
.quick-actions small { color: #999; font-size: 7px; }

.work-lead { margin: 12px 15px 16px; color: #444; font-size: 10px; line-height: 1.8; }
.featured-promo { margin: 0 15px 14px; }
.featured-promo--closing { margin-top: 18px; margin-bottom: 22px; }
.featured-promo > a { min-height: 128px; position: relative; display: grid; grid-template-columns: 43% 1fr; overflow: hidden; border: 2px solid #171717; border-radius: 9px; color: white; background: #111; box-shadow: 0 3px 0 #c7c7c7; }
.featured-promo__image { min-height: 124px; position: relative; overflow: hidden; background: #292929; }
.featured-promo__image::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, transparent 62%, #111 100%); }
.featured-promo__image img { width: 100%; height: 100%; position: absolute; inset: 0; object-fit: cover; }
.featured-promo__copy { min-width: 0; padding: 13px 13px 12px 8px; position: relative; display: flex; flex-direction: column; justify-content: center; }
.featured-promo__badge { width: fit-content; margin-bottom: 5px; padding: 3px 6px; border-radius: 3px; color: #161616; background: var(--yellow); font-size: 8px; font-weight: 950; }
.featured-promo__copy strong { color: #ffdf2e; font-size: 12px; line-height: 1.35; }
.featured-promo__copy b { margin-top: 3px; font-size: 10px; line-height: 1.45; }
.featured-promo__copy span:not(.featured-promo__badge) { margin-top: 4px; display: -webkit-box; overflow: hidden; color: #ddd; font-size: 9px; font-weight: 700; line-height: 1.45; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.featured-promo__copy small { margin-top: 8px; color: white; font-size: 9px; font-weight: 900; }
.final-action a {
  min-height: 49px;
  padding: 0 42px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #df7600;
  border-radius: 5px;
  color: white;
  background: #ff8700;
  font-size: 13px;
  font-weight: 900;
  text-align: center;
  box-shadow: 0 2px 0 #b75e00;
}
.final-action a > span { position: absolute; right: 16px; font-size: 20px; font-weight: 500; }

.detail-tabs { border-top: 8px solid #f4f4f4; }
.tab-list { height: 49px; padding: 0 10px; display: grid; grid-template-columns: repeat(3, 1fr); border-bottom: 1px solid var(--line); }
.tab-list button { position: relative; border: 0; background: transparent; color: #858585; font-size: 11px; font-weight: 750; cursor: pointer; }
.tab-list button:focus-visible { z-index: 1; }
.tab-list button[aria-selected="true"] { color: #111; }
.tab-list button[aria-selected="true"]::after { content: ""; height: 3px; position: absolute; right: 8px; bottom: -1px; left: 8px; background: #111; }
.tab-panel { min-height: 195px; padding: 0 15px; }
.info-list { margin: 0; }
.info-list div { min-height: 48px; display: grid; grid-template-columns: 105px 1fr; align-items: center; border-bottom: 1px solid #ededed; }
.info-list dt { font-size: 11px; font-weight: 850; }
.info-list dd { margin: 0; color: #505050; font-size: 10px; }
.sample-panel { padding: 23px 0; text-align: center; }
.sample-panel p { margin: 0 auto 15px; max-width: 410px; color: #666; font-size: 10px; line-height: 1.8; }
.sample-panel button { min-height: 43px; padding: 0 28px; border: 0; border-radius: 5px; color: white; background: #1b1b1b; font-size: 11px; font-weight: 850; cursor: pointer; }
.sample-panel .sample-link { min-height: 43px; padding: 0 28px; display: inline-flex; align-items: center; border-radius: 5px; color: white; background: #1b1b1b; font-size: 11px; font-weight: 850; }
.comment-panel { padding: 16px 0 20px; }
.comment-status { padding: 0 0 14px; display: flex; align-items: center; gap: 12px; border-bottom: 1px solid var(--line); }
.comment-status > span { color: #bbb; font-size: 30px; }
.comment-status p { margin: 0; display: grid; gap: 2px; }
.comment-status strong { font-size: 11px; }
.comment-status small { color: #8a8a8a; font-size: 8px; }
.comment-panel article { margin-top: 14px; padding: 12px; background: #f6f6f6; }
.comment-panel article span { font-size: 9px; font-weight: 900; }
.comment-panel article p { margin: 7px 0 0; color: #555; font-size: 10px; line-height: 1.8; }

.related-section { border-top: 8px solid #f4f4f4; background: white; }
.related-shelf { padding: 13px 0 14px; border-bottom: 1px solid #ececec; }
.section-heading { padding: 0 15px 8px; display: flex; align-items: end; justify-content: space-between; gap: 12px; }
.section-heading h2 { margin: 0; font-size: 17px; letter-spacing: -.03em; }
.section-heading p { margin: 3px 0 0; color: #777; font-size: 10px; }
.section-heading a { min-height: 44px; display: flex; align-items: center; color: #555; font-size: 10px; font-weight: 700; white-space: nowrap; }
.related-rail {
  padding: 0 15px 8px;
  display: grid;
  grid-auto-columns: 78%;
  grid-auto-flow: column;
  gap: 12px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}
.related-rail::-webkit-scrollbar { display: none; }
.related-rail a { min-width: 0; background: white; scroll-snap-align: start; }
.related-thumbnail { aspect-ratio: 2 / 1; position: relative; display: block; overflow: hidden; border-radius: 8px; background: #eee; box-shadow: 0 1px 4px rgb(0 0 0 / 15%); }
.related-thumbnail img { width: 100%; height: 100%; object-fit: cover; }
.related-thumbnail small { padding: 4px 7px; position: absolute; right: 7px; bottom: 7px; border-radius: 4px; color: white; background: rgb(0 0 0 / 75%); font-size: 9px; font-weight: 750; }
.related-rail strong { min-height: 44px; margin: 8px 1px 0; display: -webkit-box; overflow: hidden; font-size: 13px; line-height: 1.55; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.related-meta { margin: 3px 1px 0; display: flex; align-items: center; gap: 4px; color: #777; font-size: 9px; }
.related-meta i { color: #f3bd00; font-size: 11px; font-style: normal; letter-spacing: -1px; }
.related-meta small { color: #777; font-size: 9px; }
.related-meta em { margin-left: 3px; overflow: hidden; font-size: 9px; font-style: normal; white-space: nowrap; text-overflow: ellipsis; }

.final-action { padding: 20px 15px 23px; text-align: center; }
.final-action--primary { padding-top: 4px; }
.final-action p { margin: 0 0 11px; color: #666; font-size: 9px; }
.works-entry-cta { margin: 0 15px 24px; padding: 16px 14px 14px; border: 1px solid #ddd; border-radius: 9px; background: #fafafa; }
.works-entry-cta p { margin: 0 0 11px; display: grid; gap: 3px; }
.works-entry-cta p strong { font-size: 14px; }
.works-entry-cta p span { color: #666; font-size: 11px; line-height: 1.55; }
.works-entry-cta > a { min-height: 48px; padding: 0 42px; position: relative; display: flex; align-items: center; justify-content: center; border: 2px solid #171717; border-radius: 5px; color: #171717; background: white; font-size: 14px; font-weight: 950; text-align: center; box-shadow: 0 2px 0 #bdbdbd; }
.works-entry-cta > a > span { position: absolute; right: 16px; font-size: 18px; }
.recently-viewed { padding: 13px 0 17px; border-top: 8px solid #f4f4f4; background: white; }
.recently-viewed-rail { padding: 0 15px 8px; display: grid; grid-auto-columns: 68%; grid-auto-flow: column; gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.recently-viewed-rail::-webkit-scrollbar { display: none; }
.recently-viewed-rail .work-card { min-width: 0; display: block; scroll-snap-align: start; }
.recently-viewed-rail .work-card img { width: 100%; aspect-ratio: 2 / 1; object-fit: cover; border-radius: 7px; background: #eee; box-shadow: 0 1px 4px rgb(0 0 0 / 15%); }
.recently-viewed-rail .work-card h2 { min-height: 40px; margin-top: 7px; display: -webkit-box; overflow: hidden; font-size: 12px; line-height: 1.55; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
footer { padding: 16px 15px 24px; display: flex; align-items: flex-end; justify-content: space-between; gap: 14px; border-top: 1px solid var(--line); color: #8a8a8a; font-size: 8px; }
.footer-rights { min-width: 0; display: grid; gap: 4px; }
.footer-rights strong { color: #666; font-size: 8px; line-height: 1.4; }
.footer-rights small { font-size: 8px; line-height: 1.5; }
footer > span { flex: 0 0 auto; white-space: nowrap; }

.source-title { margin: 8px 15px 0; color: #8a8a8a; font-size: 8px; line-height: 1.6; }
.work-tags { margin: 0 15px 16px; display: flex; flex-wrap: wrap; gap: 5px; }
.work-tags span { padding: 4px 7px; border-radius: 999px; color: #555; background: #f1f1f1; font-size: 8px; }
.empty-related { margin: 0 15px; color: #777; font-size: 10px; }

.work-archive { width: min(100%, 760px); min-height: 100vh; margin: 0 auto; padding: 32px 16px 60px; background: white; }
.work-archive > header { margin-bottom: 24px; }
.work-archive > header p { margin: 0; color: var(--red); font-size: 10px; font-weight: 900; letter-spacing: .12em; }
.work-archive > header h1 { margin: 6px 0 4px; font-size: 27px; }
.work-archive > header span { color: #777; font-size: 13px; line-height: 1.65; }
.work-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px 10px; }
.work-grid article, .work-card { min-width: 0; }
.work-grid img { width: 100%; height: auto; aspect-ratio: 2 / 1; object-fit: cover; background: #eee; }
.work-grid h2, .work-card h2 { margin: 8px 0 0; display: -webkit-box; overflow: hidden; font-size: 12px; line-height: 1.5; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.work-grid time, .work-card time { margin-top: 4px; display: block; color: #888; font-size: 9px; }
.work-archive-empty { padding: 20px 16px; display: grid; gap: 5px; border: 1px solid #e1e1e1; border-radius: 8px; color: #555; background: #fafafa; }
.work-archive-empty strong { color: #222; font-size: 13px; }
.work-archive-empty span { font-size: 12px; line-height: 1.7; }
.work-archive-home { margin-top: 30px; min-height: 44px; display: grid; place-items: center; border: 1px solid #ccc; border-radius: 6px; font-size: 11px; font-weight: 800; }
.navigation.pagination { margin-top: 28px; }
.nav-links { display: flex; justify-content: center; gap: 8px; }
.page-numbers { min-width: 34px; min-height: 34px; display: grid; place-items: center; border: 1px solid #ddd; border-radius: 4px; font-size: 10px; }
.page-numbers.current { color: white; background: #222; border-color: #222; }

.work-discovery { margin: 4px 0 44px; display: grid; gap: 42px; }
.work-discovery__section { min-width: 0; }
.work-discovery__section > header { margin-bottom: 14px; display: flex; align-items: end; justify-content: space-between; gap: 14px; }
.work-discovery__section > header div { display: grid; gap: 3px; }
.work-discovery__section > header small { color: var(--red); font-size: 8px; font-weight: 900; letter-spacing: .12em; }
.work-discovery__section > header h2 { margin: 0; font-size: 20px; }
.work-discovery__section > header p { margin: 2px 0 0; color: #777; font-size: 12px; line-height: 1.55; }
.work-discovery__section > header > a { color: #555; font-size: 10px; font-weight: 800; }
.work-discovery__empty { margin: 0; padding: 17px 14px; border: 1px dashed #d1d1d1; border-radius: 7px; color: #666; background: #fafafa; font-size: 12px; line-height: 1.7; }
.work-archive__all { margin-top: 48px; }
.work-archive__all > header { margin-bottom: 15px; }
.work-archive__all > header small { color: var(--red); font-size: 8px; font-weight: 900; letter-spacing: .12em; }
.work-archive__all > header h2 { margin: 3px 0 0; font-size: 20px; }
.work-archive__all > header p { margin: 4px 0 0; color: #777; font-size: 12px; }
.work-collection { min-width: 0; }
.work-collection--grid, .work-collection--ranking { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 10px; }
.work-collection--rail { margin-inline: -16px; padding-inline: 16px; display: grid; grid-auto-flow: column; grid-auto-columns: 44%; gap: 9px; overflow-x: auto; scroll-snap-type: x proximity; scrollbar-width: none; }
.work-collection--rail::-webkit-scrollbar { display: none; }
.work-collection--rail .work-card { scroll-snap-align: start; }
.work-card a { display: block; color: inherit; }
.work-card img { width: 100%; height: auto; aspect-ratio: 2 / 1; display: block; object-fit: cover; border-radius: 5px; background: #eee; }
.work-card h2 { margin: 7px 0 0; }
.work-genre-list { display: flex; flex-wrap: wrap; gap: 8px; }
.work-genre-list a { min-height: 45px; padding: 8px 12px; display: grid; align-content: center; gap: 2px; border: 1px solid #ddd; border-radius: 7px; background: #fafafa; }
.work-genre-list strong { font-size: 11px; }
.work-genre-list small { color: #777; font-size: 8px; }
.ranked-work { min-width: 0; position: relative; }
.ranked-work__position { width: 27px; height: 27px; position: absolute; z-index: 2; top: 5px; left: 5px; display: grid; place-items: center; border-radius: 50%; color: #111; background: var(--yellow); box-shadow: 0 2px 8px rgb(0 0 0 / 22%); font-size: 11px; font-weight: 950; }
.work-genre-navigation { margin-top: 28px; display: grid; gap: 9px; }
.work-genre-navigation a { min-height: 44px; display: grid; place-items: center; border: 1px solid #ccc; border-radius: 6px; font-size: 10px; font-weight: 850; }

.modal-backdrop { position: absolute; inset: 0; border: 0; background: rgb(0 0 0 / 72%); }
.sample-modal { position: fixed; z-index: 30; inset: 0; display: grid; place-items: end center; visibility: hidden; opacity: 0; pointer-events: none; transition: opacity .18s ease, visibility .18s ease; }
.sample-modal.is-open { visibility: visible; opacity: 1; pointer-events: auto; }
.sample-sheet { width: min(100%, 640px); position: relative; z-index: 1; overflow: hidden; border-radius: 14px 14px 0 0; color: white; background: #111; transform: translateY(20px); transition: transform .18s ease; }
.sample-modal.is-open .sample-sheet { transform: translateY(0); }
.sample-sheet header { min-height: 56px; padding: 9px 10px 9px 14px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.sample-sheet header div { min-width: 0; display: grid; gap: 2px; }
.sample-sheet header span { color: #999; font-size: 7px; letter-spacing: .12em; }
.sample-sheet header strong { overflow: hidden; font-size: 11px; white-space: nowrap; text-overflow: ellipsis; }
.sample-sheet header button { width: 36px; height: 36px; flex: 0 0 auto; border: 0; border-radius: 50%; color: white; background: #343434; font-size: 24px; cursor: pointer; }
.sample-sheet video { width: 100%; aspect-ratio: 16 / 9; background: black; }
.sample-sheet-action { padding: 12px; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 10px; }
.sample-sheet-action p { margin: 0; display: grid; gap: 3px; }
.sample-sheet-action strong { font-size: 11px; }
.sample-sheet-action small { color: #999; font-size: 7px; }
.sample-sheet-action a { padding: 10px 12px; border-radius: 5px; color: #111; background: var(--yellow); font-size: 9px; font-weight: 900; }

.browser-popup {
  width: min(calc(100% - 24px), 430px);
  padding: 17px 46px 16px 15px;
  position: fixed;
  z-index: 50;
  display: grid;
  grid-template-columns: 50px 1fr;
  align-items: start;
  gap: 13px;
  border: 2px solid #161616;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 12px 38px rgb(0 0 0 / 32%);
  animation: popup-in .35s ease-out, popup-wiggle .7s ease-in-out .55s 2;
}
.browser-popup--ios { bottom: calc(88px + env(safe-area-inset-bottom)); left: 50%; transform: translateX(-50%); }
.browser-popup--android { top: 72px; right: 12px; }
.browser-popup-close { width: 34px; height: 34px; padding: 0; position: absolute; top: 7px; right: 7px; border: 0; border-radius: 50%; color: #333; background: #ececec; font-size: 23px; line-height: 1; cursor: pointer; }
.browser-popup-icon { width: 50px; height: 50px; display: grid; place-items: center; border: 1px solid #cfe0f8; border-radius: 13px; background: #edf5ff; font-size: 27px; line-height: 1; }
.browser-popup-copy { margin: 0; display: grid; gap: 5px; }
.browser-popup-copy strong { color: #111; font-size: 15px; line-height: 1.35; }
.browser-popup-copy span { color: #3f3f3f; font-size: 12px; line-height: 1.55; }
.browser-popup-copy b { color: #d91f32; font-size: 13px; line-height: 1.45; }
.browser-popup-copy small { color: #111; font-size: 12px; font-weight: 800; line-height: 1.5; }
.browser-pointer { position: absolute; display: grid; justify-items: center; color: var(--red); font-weight: 950; filter: drop-shadow(0 1px 0 white); }
.browser-pointer small { padding: 4px 8px; border-radius: 5px; color: white; background: var(--red); font-size: 11px; white-space: nowrap; }
.browser-pointer i { font-size: 36px; font-style: normal; line-height: 1; animation: pointer-bounce .7s ease-in-out infinite; }
.browser-popup--ios .browser-pointer { top: calc(100% - 1px); left: 50%; transform: translateX(-50%); }
.browser-popup--android .browser-pointer { right: -7px; bottom: calc(100% - 3px); }

.favorite-toast {
  width: min(calc(100% - 24px), 430px);
  min-height: 70px;
  padding: 13px 43px 13px 14px;
  position: fixed;
  z-index: 45;
  bottom: calc(16px + env(safe-area-inset-bottom));
  left: 50%;
  display: grid;
  grid-template-columns: 30px 1fr;
  align-items: center;
  gap: 10px;
  transform: translateX(-50%);
  border-radius: 12px;
  color: white;
  background: #171717;
  box-shadow: 0 9px 28px rgb(0 0 0 / 30%);
}
.favorite-toast > span { color: #ff4f62; font-size: 24px; }
.favorite-toast p { margin: 0; font-size: 11px; line-height: 1.65; }
.favorite-toast button { width: 30px; height: 30px; padding: 0; position: absolute; top: 7px; right: 7px; border: 0; border-radius: 50%; color: white; background: #393939; font-size: 20px; cursor: pointer; }

@keyframes popup-in {
  from { opacity: 0; scale: .94; }
  to { opacity: 1; scale: 1; }
}
@keyframes popup-wiggle {
  0%, 100% { margin-left: 0; }
  25% { margin-left: -5px; }
  75% { margin-left: 5px; }
}
@keyframes pointer-bounce {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 5px; }
}

@media (min-width: 520px) {
  .product-summary { margin-top: -26px; padding: 0 21px 13px; }
  .plan-card { margin-inline: 20px; padding: 17px 18px 12px; }
  .plan-copy { font-size: 13px; }
  .quick-actions { margin-inline: 20px; }
  .work-lead { margin-inline: 21px; font-size: 11px; }
  .featured-promo { margin-inline: 21px; }
  .tab-panel { padding-inline: 21px; }
  .related-rail { grid-auto-columns: 31%; padding-inline: 21px; }
  .section-heading, .final-action { padding-inline: 21px; }
  .works-entry-cta { margin-inline: 21px; }
  .recently-viewed-rail { grid-auto-columns: 31%; padding-inline: 21px; }
  .sample-modal { place-items: center; }
  .sample-sheet { border-radius: 14px; }
  .browser-popup-copy strong { font-size: 16px; }
  .browser-popup-copy span, .browser-popup-copy small { font-size: 13px; }
  .work-grid { grid-template-columns: repeat(3, 1fr); gap: 24px 14px; }
	.work-collection--grid, .work-collection--ranking { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px 14px; }
	.work-collection--rail { margin-inline: 0; padding-inline: 0; grid-auto-columns: 31%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .sample-modal, .sample-sheet { transition: none; }
  .browser-popup, .browser-pointer i { animation: none; }
}
