/* Approved original paper JPEGs, repeated unmodified at their natural 192px size.
   Applied after legacy styles to remove warm tints/overlays without changing content. */
body.paper-tile-theme {
  --paper:#f1f2f3;
  --paper-desk:#c6d1db;
  --surface-paper:#f1f2f3;
  --side:#f1f2f3;
  --panel:#f1f2f3;
  --paper-edge:#a9b6c244;
  --paper-shadow:0 3px 12px #273d5209;
  background:url('../images/surfaces/page-background.jpg') 0 0 / auto repeat;
}
.paper-tile-theme .site-shell {background:transparent;border:0}
/* Top-level floating sheets, menus and dialog surfaces. */
.paper-tile-theme .unified-header-panel,
.paper-tile-theme #main-content,
.paper-tile-theme .paper-surface,
.paper-tile-theme .site-subscribe,
.paper-tile-theme .site-footer,
.paper-tile-theme .site-header .topic-menu,
.paper-tile-theme .search-dialog,
.paper-tile-theme .quest-share-dialog {
  background:url('../images/surfaces/section-background.jpg') 0 0 / auto repeat;
  background-blend-mode:normal;
}
.paper-tile-theme .unified-header-panel .illustrated-masthead,
.paper-tile-theme .unified-header-panel .site-header.art-navigation,
.paper-tile-theme.home-template #main-content,
.paper-tile-theme .home-topic-image,
.paper-tile-theme .home-topic-copy {background:transparent}
/* Nested content sheets share the original component material across page types. */
.paper-tile-theme .home-topic-card.paper-surface,
.paper-tile-theme .post-card,
.paper-tile-theme .home-intro .art,
.paper-tile-theme .search-form,
.paper-tile-theme .topic-intro-panel,
.paper-tile-theme .topic-empty,
.paper-tile-theme .topic-tile,
.paper-tile-theme .topic-group,
.paper-tile-theme .thought-popup,
.paper-tile-theme .more-menu,
.paper-tile-theme .discovery-sidebar,
.paper-tile-theme .mobile-toc,
.paper-tile-theme .featured-post,
.paper-tile-theme .feature-card,
.paper-tile-theme .subscribe-panel:not(.site-subscribe),
.paper-tile-theme .gh-content blockquote,
.paper-tile-theme .gh-content pre,
.paper-tile-theme .share-url,
.paper-tile-theme .recommendation-category-links a,
.paper-tile-theme .recommendations .recommendation-filters button:not([aria-pressed=true]),
.paper-tile-theme .recommendations .recommendation-search,
.paper-tile-theme .recommendations .recommendation-results-row button,
.paper-tile-theme .recommendations .recommendation-empty,
.paper-tile-theme .recommendations .recommendation-empty button,
.paper-tile-theme .recommendations .kg-product-card {
  background:url('../images/surfaces/component-background.jpg') 0 0 / auto repeat;
  background-blend-mode:normal;
  border-color:#a9b6c244;
}
.paper-tile-theme .home-topic-card {box-shadow:0 2px 7px #273d520a}
.paper-tile-theme .home-topic-card:hover {box-shadow:0 5px 14px #273d5210}
.paper-tile-theme .post-card {box-sizing:border-box;min-width:0;padding:16px;border:1px solid #a9b6c244;border-radius:var(--surface-radius);box-shadow:0 2px 7px #273d520a}
.paper-tile-theme .home-intro .art {border:1px solid #a9b6c244}
.paper-tile-theme .home-feature-surface .featured-post {background:transparent}
/* Active category controls retain the same blue-pencil affordance as Subscribe. */
.paper-tile-theme .recommendations .recommendation-category-links a[aria-current=page] {background:#2864a9 url('../images/blue-pencil.svg');color:#fff;border-color:#4779ac}
@media(max-width:780px) {.paper-tile-theme .site-header .topic-menu {background:transparent}}
/* Embedded movie collection: theme-owned material, no data/editor logic changes.
   The ID-scoped selectors override its legacy inline paper gradients safely. */
.paper-tile-theme #uq-movies {background:transparent}
.paper-tile-theme #uq-movies .movie-row,
.paper-tile-theme #uq-movies .tag,
.paper-tile-theme #uq-movies input,
.paper-tile-theme #uq-movies select,
.paper-tile-theme #uq-movies textarea,
.paper-tile-theme #uq-movies .btn:not(.primary):not(.danger),
.paper-tile-theme #uq-movies .credits,
.paper-tile-theme #uq-movies .empty,
.paper-tile-theme #uq-movies .editor-panel,
.paper-tile-theme #uq-movies .staff-gate,
.paper-tile-theme #uq-movies .tmdb-panel,
.paper-tile-theme #uq-movies .notice,
.paper-tile-theme #uq-movies .mode-switch {
  background:url('../images/surfaces/component-background.jpg') 0 0 / auto repeat;
  background-blend-mode:normal;
}
.paper-tile-theme #uq-movies .dialog,
.paper-tile-theme #uq-movies .dialog-actions {
  background:url('../images/surfaces/section-background.jpg') 0 0 / auto repeat;
  background-blend-mode:normal;
}

/* Product cards are complete paper components, not unpadded textured columns.
   Keep native content, product-image fit, equal-height buttons and filters intact. */
.paper-tile-theme .recommendations .kg-product-card {
  box-sizing:border-box;
  padding:18px;
  border:1px solid #a9b6c244;
  border-radius:12px;
  box-shadow:0 2px 7px #273d520a;
}
.paper-tile-theme .recommendations .kg-product-card .kg-product-card-container {
  background:transparent;
  padding:0;
  border:0;
  border-radius:0;
  box-shadow:none;
}
.paper-tile-theme .recommendations .kg-product-card .kg-product-card-image {
  box-sizing:border-box;
  background:transparent;
  border:0;
  border-radius:8px;
  box-shadow:none;
  padding:10px;
  margin-bottom:18px;
}
@media(max-width:639px) {
  .paper-tile-theme .recommendations .kg-product-card {padding:16px}
}

/* The description expander is a quiet text link, not another product CTA. */
.paper-tile-theme .recommendations .kg-product-card .recommendation-read-more {
  display:inline-block;
  align-self:flex-start;
  width:auto;
  min-height:0;
  padding:0;
  margin:4px 0 0;
  border:0;
  border-radius:0;
  background:transparent;
  box-shadow:none;
  color:var(--blue);
  font:400 13px/1.5 var(--ui);
  text-decoration:underline;
  text-underline-offset:3px;
  cursor:pointer;
}
.paper-tile-theme .recommendations .kg-product-card .recommendation-read-more:hover {
  background:transparent;
  color:#183e67;
  text-decoration:underline;
}
.paper-tile-theme .recommendations .kg-product-card .recommendation-read-more:focus-visible {
  outline:2px solid var(--blue);
  outline-offset:3px;
}
