/* The desktop composition stays intact. Phones have their own shorter visit. */
.mobile-home,.mobile-copy,.mobile-access-link,
.mobile-menu-refinements,.mobile-menu-intro { display:none; }
body.revival-home #siteHeader .gnav .mobile-access-link { display:none; }

@media(max-width:700px),(max-width:1024px) and (hover:none) and (pointer:coarse) {
 body.revival-home,body.revival-home.menu-page,body.rosetta-quiz {
  background:#f7f4ef; color:#403641; background-attachment:scroll;
 }
 body.revival-home .desktop-home,
 body.revival-home > .linkdock,
 body.revival-home .diagnosis-dock,
 body.revival-home #rosetta-journey,
 body.revival-home #rosetta-companion-button,
 body.revival-home #rosetta-menu-dialog,
 body.revival-home #toTop { display:none !important; }
 body.revival-home .site-header { position:relative; background:#f7f4ef; border:0; box-shadow:none; backdrop-filter:none; }
 body.revival-home #siteHeader .header-inner { display:flex; justify-content:center; width:calc(100% - 40px); min-height:0; padding:10px 0 6px; }
 body.revival-home #siteHeader .brand { width:220px; max-width:100%; padding:0; border:0; background:transparent; box-shadow:none; }
 body.revival-home #siteHeader .brand picture,body.revival-home #siteHeader .brand img { display:block; width:100%; height:auto; max-height:none; object-fit:contain; }
 body.revival-home #siteHeader .header-reserve,body.revival-home #siteHeader .atelier-wordmark,body.revival-home #siteHeader .language-switch { display:none !important; }
 body.revival-home #siteHeader .atelier-nav-row { display:block; width:calc(100% - 40px); padding:0; border-bottom:1px solid #d8ced3; }
 body.revival-home #siteHeader .gnav { display:flex; justify-content:space-between; flex-wrap:nowrap; gap:4px; padding:0; margin:0; width:100%; overflow:visible; }
 body.revival-home #siteHeader .gnav a { display:flex !important; justify-content:center; align-items:center; flex:1; min-width:0; min-height:44px; padding:8px 2px; margin:0; border:0; border-radius:0; background:transparent; box-shadow:none; color:#5e445a; font:500 15px/1.5 var(--font-sans); white-space:nowrap; text-decoration:none; }
 body.revival-home #siteHeader .gnav a::after { display:none; }
 body.revival-home #siteHeader .gnav a[href*="coloreshop"],body.revival-home #siteHeader .gnav a[href*="instagram"] { display:none !important; }
 .desktop-copy { display:none; }
 .mobile-copy { display:inline; }
 body.revival-home #siteHeader .gnav .mobile-access-link { display:flex; }

 .mobile-home { display:block; width:100%; font-family:var(--font-sans); }
 .mobile-home :is(h1,h2,h3,p,figure,dl,dd) { margin:0; }
 .mobile-home :is(section,footer) { padding:30px 20px; }
 .mobile-home h1 { font:500 clamp(31px,8.7vw,38px)/1.5 var(--font-serif); letter-spacing:.035em; color:#403641; }
 .mobile-home h2 { font:500 25px/1.6 var(--font-serif); color:#403641; }
 .mobile-home h3 { font:600 19px/1.6 var(--font-serif); color:#403641; }
 .mobile-home p { font-size:17px; line-height:1.85; }
 .mobile-home .mobile-eyebrow { margin-bottom:12px; font:500 20px/1.5 var(--font-serif); color:#695266; }
 .mobile-eyebrow span { font:400 15px/1.5 var(--font-sans); margin-left:12px; }
 .mobile-home .mobile-intro { margin:14px 0 22px; font-size:16px; color:#695d67; }
 .mobile-welcome-actions { display:grid; gap:10px; margin-top:18px; }
 .mobile-home .mobile-welcome-actions a.mobile-primary { margin-top:0; }
 .mobile-home .mobile-recommend { gap:12px; }
 .mobile-recommend small { font:400 14px/1.5 var(--font-sans); }
 .mobile-home .mobile-welcome-note { margin-top:18px; font-size:16px; color:#695d67; }
 .mobile-hero-photo { overflow:hidden; border-radius:4px; }
 .mobile-hero-photo img { display:block; width:100%; height:auto; aspect-ratio:16 / 11; object-fit:cover; object-position:center 48%; }
 .mobile-home a.mobile-primary { display:flex; align-items:center; justify-content:center; min-height:48px; padding:11px 18px; margin-top:18px; background:#644c60; color:#fff; border:1px solid #644c60; border-radius:5px; font:500 17px/1.5 var(--font-sans); text-decoration:none; box-shadow:none; }
 .mobile-home a:focus-visible,.mobile-home summary:focus-visible { outline:2px solid #77586e; outline-offset:4px; }
 .mobile-home .mobile-featured { border-top:1px solid #ded5d7; }
 .mobile-section-heading { display:flex; justify-content:space-between; align-items:center; gap:12px; margin-bottom:18px; }
 .mobile-section-heading h2 { font-size:23px; }
 .mobile-section-heading > a { display:flex; min-height:44px; align-items:center; flex:none; font-size:15px; color:#695266; text-underline-offset:5px; }
 .mobile-feature-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:18px; }
 .mobile-feature { display:block; min-width:0; color:inherit; text-decoration:none; }
 .mobile-feature img { display:block; width:100%; height:auto; aspect-ratio:1; object-fit:cover; border-radius:4px; }
 .mobile-feature h3 { margin-top:12px; font-size:18px; }
 .mobile-feature p { margin-top:6px; font-size:16px; color:#6c5c68; }
 .mobile-feature p span { display:block; }
 .mobile-home .mobile-soft-note { margin-top:18px; font-size:15px; color:#786b74; }
 .mobile-home .mobile-feature-intro { margin-bottom:20px; font-size:16px; color:#695d67; }
 .mobile-home :is(.mobile-news,.mobile-parts,.mobile-shop,.mobile-about) { border-top:1px solid #ded5d7; }
 .mobile-home .mobile-news h2 { font-size:23px; }
 .mobile-home .mobile-news > p:not(.mobile-story-label) { margin-top:12px; font-size:16px; color:#695d67; }
 .mobile-text-link { display:inline-flex; align-items:center; gap:10px; min-height:44px; margin-top:10px; color:#695266; font-size:16px; line-height:1.7; text-underline-offset:5px; }
 .mobile-parts-photo { display:block; width:100%; height:auto; aspect-ratio:3 / 2; object-fit:cover; border-radius:4px; margin-top:22px; }
 .mobile-home .mobile-parts-list { margin-top:16px; }
 .mobile-parts-list > div { padding:14px 0; border-bottom:1px solid #ded5d7; }
 .mobile-parts-list dt { font-size:18px; font-weight:500; color:#594455; }
 .mobile-parts-list dd { margin-top:7px; font-size:16px; line-height:1.85; color:#695d67; }
 .mobile-shop-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:18px; margin-top:24px; }
 .mobile-shop-grid > a { min-width:0; color:#695266; text-decoration:none; font-size:17px; line-height:1.6; }
 .mobile-shop-grid img { display:block; width:100%; height:auto; aspect-ratio:1; object-fit:cover; border-radius:4px; }
 .mobile-shop-grid > a > span { display:flex; align-items:center; gap:8px; min-height:44px; margin-top:5px; }
 .mobile-about-notes h3 { margin-top:22px; }
 .mobile-home .mobile-about-notes p { margin-top:10px; font-size:16px; color:#695d67; }
 .mobile-home .mobile-access-section { margin-top:0; padding:30px 20px; }
 .mobile-home :is(.mobile-photo-story,.mobile-making,.mobile-media) { border-top:1px solid #ded5d7; }
 .mobile-home .mobile-story-label { margin-bottom:10px; color:#796774; font-size:15px; letter-spacing:.08em; }
 .mobile-home .mobile-story-intro { margin-top:12px; color:#695d67; font-size:16px; line-height:1.85; }
 .mobile-photo-collection { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:16px; margin:6px -10px -14px; padding:22px 10px 28px; overflow:clip; }
 .mobile-photo-collection figure { min-width:0; transform:rotate(var(--photo-rest)); }
 .mobile-photo-collection figure:nth-child(2) { margin-top:24px; }
 .mobile-photo-collection figure:nth-child(3) { margin-top:-14px; }
 .mobile-photo-collection figure:nth-child(4) { margin-top:10px; }
 .mobile-photo-collection img { display:block; width:100%; height:auto; aspect-ratio:6 / 5; object-fit:cover; border-radius:4px; }
 .mobile-photo-collection figcaption { margin-top:9px; color:#786b74; font-size:15px; line-height:1.65; }
 .mobile-making-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:26px 18px; margin:24px 0 0; padding:0; list-style:none; }
 .mobile-making-grid li { min-width:0; }
 .mobile-making-grid img { display:block; width:100%; height:auto; aspect-ratio:6 / 5; object-fit:cover; border-radius:4px; }
 .mobile-home .mobile-step-number { margin-top:12px; color:#8a7484; font:500 19px/1.5 var(--font-serif); }
 .mobile-home .mobile-making-grid h3 { margin-top:3px; font-size:18px; }
 .mobile-home .mobile-making-grid li > p:last-child { margin-top:7px; color:#695d67; font-size:16px; line-height:1.8; }
 .mobile-media-item { margin-top:24px; padding-bottom:20px; border-bottom:1px solid #ded5d7; }
 .mobile-media-item:last-child { border-bottom:0; padding-bottom:0; }
 .mobile-media-item > img { display:block; width:100%; height:auto; border-radius:4px; }
 .mobile-home .mobile-media-source { margin-top:16px; color:#796774; font-size:15px; }
 .mobile-home .mobile-media-item h3 { margin-top:7px; font-size:20px; }
 .mobile-home .mobile-media-item > p:not(.mobile-media-source) { margin-top:10px; color:#695d67; font-size:16px; }
 .mobile-media-item > a { display:inline-flex; align-items:center; gap:12px; min-height:44px; margin-top:6px; color:#695266; font-size:16px; text-underline-offset:5px; }
 .mobile-media-item.moado > .moado-video-thumb { position:relative; display:block; min-height:0; margin-top:0; aspect-ratio:16 / 9; overflow:hidden; border-radius:4px; }
 .mobile-media-item.moado .moado-video-thumb img { display:block; width:100%; height:100%; aspect-ratio:16 / 9; object-fit:cover; }
 .mobile-media-item.moado .video-play { position:absolute; top:50%; left:50%; display:flex; align-items:center; justify-content:center; width:52px; height:52px; border-radius:50%; background:#312835c9; color:#fff; font-size:22px; line-height:1; transform:translate(-50%,-50%); pointer-events:none; }
 .mobile-media-welcome { margin-top:24px; }
 .mobile-home .mobile-media-welcome h3 { font-size:20px; }
 .mobile-home .mobile-media-welcome p { margin-top:10px; color:#695d67; font-size:16px; }
 .mobile-home .mobile-visit { border-top:1px solid #ded5d7; }
 .mobile-door-photo { display:block; width:100%; height:auto; aspect-ratio:4 / 3; object-fit:cover; border-radius:4px; margin-bottom:24px; }
 .mobile-visit .mobile-eyebrow { font:500 14px/1.6 var(--font-sans); letter-spacing:.15em; }
 .mobile-visit > p { margin-top:10px; color:#695d67; }
 .mobile-access { margin-top:28px; padding-top:24px; border-top:1px solid #ded5d7; scroll-margin-top:20px; }
 .mobile-access > p { margin-top:10px; font-size:16px; }
 .mobile-access dl { margin-top:16px; }
 .mobile-access dl > div { display:flex; gap:18px; font-size:16px; line-height:1.9; }
 .mobile-access dt { color:#786b74; min-width:4em; }
 .mobile-contact { display:flex; justify-content:center; align-items:center; min-height:44px; margin-top:8px; font-size:15px; color:#695266; text-underline-offset:4px; }
 .mobile-artist { margin-top:26px; padding:16px 0; border-block:1px solid #ded5d7; }
 .mobile-artist summary { min-height:44px; padding:9px 0; cursor:pointer; font:500 18px/1.5 var(--font-serif); color:#594455; }
 .mobile-artist h3 { margin-top:14px; }
 .mobile-artist p { margin-top:12px; font-size:16px; }
 .mobile-artist > a { display:inline-flex; align-items:center; min-height:44px; margin-top:12px; color:#695266; font-size:16px; }
 .mobile-home .mobile-footer { padding-block:10px 24px; }
 .mobile-footer nav { display:flex; flex-wrap:wrap; column-gap:20px; border-bottom:1px solid #ded5d7; margin-bottom:18px; }
 .mobile-footer nav a { display:flex; align-items:center; min-height:44px; color:#695266; font-size:16px; text-decoration:none; }
 .mobile-footer p { font-size:15px; color:#756973; }
 .mobile-legal { display:inline-flex; align-items:center; min-height:44px; margin-right:16px; font-size:14px; color:#756973; }

 /* Four quiet text tabs, optional refinements, and a compact list. */
 body.revival-home.menu-page .wrap { width:calc(100% - 40px); }
 body.revival-home .mp-hero { min-height:0; background:transparent; color:#403641; }
 body.revival-home :is(.mp-hero-film,.mp-hero-veil,.mp-eyebrow,.mp-lead,.mp-stats,.mp-hero-actions,.mp-film-note,.mp-guide,.mp-sizes,.mp-info,.mp-final) { display:none; }
 body.revival-home .mp-hero-inner { padding-block:28px 24px; }
 body.revival-home .mp-hero h1 { margin:0; font:500 clamp(25px,7.5vw,30px)/1.5 var(--font-serif); color:#403641; text-shadow:none; letter-spacing:.02em; }
 body.revival-home .mp-hero h1 .mp-nb:first-child { display:block; }
 body.revival-home .mp-hero h1 .mp-nb:nth-child(2) { display:inline; }
 body.revival-home .mp-hero h1 br { display:none; }
 body.revival-home .mp-accent { display:inline; font:inherit; background:none; color:#644c60; -webkit-text-fill-color:currentColor; filter:none; animation:none; }
 body.revival-home .mobile-menu-intro { display:block; margin-top:14px; color:#695d67; font-size:16px; line-height:1.8; }
 body.revival-home .mp-filter { position:relative; top:auto; padding:16px 0; background:#f7f4ef; border-block:1px solid #ded5d7; backdrop-filter:none; box-shadow:none; }
 body.revival-home .mp-filter-inner { display:flex; flex-wrap:wrap; align-items:end; gap:10px 18px; }
 body.revival-home .mp-tabs { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); flex-basis:100%; order:0; gap:4px; }
 body.revival-home .mp-tabs button { justify-content:center; min-width:0; min-height:44px; padding:8px 0; border:0; border-bottom:2px solid transparent; border-radius:0; background:none; box-shadow:none; color:#74636f; font:500 15px/1.5 var(--font-sans); }
 body.revival-home .mp-tabs button[aria-pressed="true"] { border-bottom-color:#795970; background:none; color:#50394c; }
 body.revival-home .mp-tabs button i { display:none; }
 body.revival-home .mobile-menu-refinements { display:block; flex:1 1 130px; order:1; font-size:15px; }
 .mobile-menu-refinements summary { min-height:44px; padding:10px 0; cursor:pointer; color:#695266; }
 body.revival-home .mobile-menu-refinements[open] { flex-basis:100%; }
 body.revival-home .mp-count { order:2; margin:0; font-size:15px; color:#786b74; }
 body.revival-home .mp-count b { font-size:17px; }
 body.revival-home .mp-chips { display:flex; gap:14px; padding-block:8px; }
 body.revival-home .mp-chips label { font-size:15px; }
 body.revival-home .mp-chapter { padding:28px 0; background:none; }
 body.revival-home .mp-chapter-head { display:block; margin-bottom:8px; }
 body.revival-home .mp-chapter-head :is(.mp-kicker,p) { display:none; }
 body.revival-home .mp-chapter-head h2 { font:500 24px/1.6 var(--font-serif); color:#403641; }
 body.revival-home .mp-chapter-head h2 small { font-size:16px; }
 body.revival-home .mp-grid { display:grid; grid-template-columns:1fr; gap:0; }
 body.revival-home .mp-card { display:grid; grid-template-columns:96px minmax(0,1fr); gap:8px 16px; align-content:start; padding:20px 0; border:0; border-bottom:1px solid #ded5d7; border-radius:0; background:transparent; box-shadow:none; transform:none !important; transition:none; }
 body.revival-home .mp-card[hidden] { display:none; }
 body.revival-home .mp-card-visual { grid-column:1; grid-row:1 / span 3; order:0; width:96px; height:136px; aspect-ratio:auto; border-radius:4px; }
 body.revival-home .mp-card-visual img { object-fit:cover; }
 body.revival-home .mp-card-body { display:contents; }
 body.revival-home :is(.mp-card-en,.mp-card-no,.mp-card-tag,.mp-card-lead,.mp-card-photo-note) { display:none; }
 body.revival-home .mp-card h3 { grid-column:2; order:1; align-self:start; font:600 20px/1.5 var(--font-serif); color:#403641; }
 body.revival-home .mp-card-spec { grid-column:2; order:2; display:flex; flex-wrap:wrap; gap:0 10px; margin:0; }
 body.revival-home .mp-card-spec > div { display:block; padding:0; border:0; background:transparent; border-radius:0; }
 body.revival-home .mp-card-spec > div:nth-child(n+3),body.revival-home .mp-card-spec :is(dt,small) { display:none; }
 body.revival-home .mp-card-spec dd { margin:0; font:500 16px/1.6 var(--font-sans); color:#6c5c68; }
 body.revival-home .mp-card-cta { grid-column:2; order:3; align-self:end; margin:0; min-height:44px; padding:8px 10px; border:1px solid #b9a5b3; border-radius:4px; background:transparent; box-shadow:none; color:#5d4054; font:500 16px/1.5 var(--font-sans); }
 body.revival-home .mp-card-more { grid-column:1 / -1; order:4; margin:0; padding:0; border:0; }
 body.revival-home .mp-card-more summary { min-height:44px; padding:10px 0; font:500 16px/1.5 var(--font-sans); color:#796471; }
 body.revival-home .mp-card-more :is(.mp-card-detail,.mp-card-for,.mp-card-line) { font-size:16px; line-height:1.85; }
 body.revival-home .mp-footer { padding:24px 20px; background:#f0ebe7; color:#695d67; }
 body.revival-home .mp-footer a { color:#695266; }

 /* The quiz keeps its five questions, with a quiet phone layout and no doll. */
 body.rosetta-quiz { --glass-surface:#fffdf9; --glass-radius:5px; --glass-shadow:none; --glass-ink:#4a3a47; }
 body.rosetta-quiz .fortune-shell { --h-accent:#644c60; --h-accent-dark:#50394c; background:#f7f4ef; }
 body.rosetta-quiz .hanairo-cat,body.rosetta-quiz .hanairo-result-portrait { display:none; }
 body.rosetta-quiz .hanairo-card { padding:24px 20px; border:0; border-radius:0; background:transparent; box-shadow:none; }
 body.rosetta-quiz .hanairo-head { padding:0; }
 body.rosetta-quiz .hanairo-title { font:500 34px/1.5 "Shippori Mincho",serif; color:#644c60; background:none; -webkit-text-fill-color:currentColor; text-shadow:none; }
 body.rosetta-quiz .hanairo-intro { font-size:16px; line-height:1.8; }
 body.rosetta-quiz .fortune-shell .hanairo-choice { min-height:52px; padding:12px 16px; border-radius:5px; background:#fffdf9; box-shadow:none; border:1px solid #d8ccd4; color:#4a3a47; font-size:17px; }
 body.rosetta-quiz .fortune-shell .hanairo-choice.is-selected { background:#e8dfe5; border-color:#795970; }
 body.rosetta-quiz .hanairo-actions :is([data-expand],[data-share]) { display:none; }
 body.rosetta-quiz .fortune-shell .hanairo-button { min-height:48px; border:0; border-radius:5px; box-shadow:none; background:#644c60; color:#fff; }
 body.rosetta-quiz .fortune-shell :is(.hanairo-topbar a,.hanairo-back,.hanairo-again) { min-height:44px; border:0; border-radius:0; background:none; box-shadow:none; color:#695266; }

 /* The desktop glass palette also belongs to the compact mobile actions. */
 body.revival-home .mobile-home a.mobile-primary,
 body.revival-home .mp-card-cta,
 body.rosetta-quiz .fortune-shell .hanairo-button.is-primary {
  position:relative; overflow:hidden; border:1px solid #ffffffcf; border-radius:20px;
  background:linear-gradient(145deg,#ffffffa6 0%,#e3dcf2b8 46%,#b8e0dba8 100%);
  color:#3b3658; box-shadow:inset 0 1px 1px #fff,inset 0 -2px 5px #8b80aa23,0 4px 12px #42476712;
 }
 body.revival-home .mobile-home a.mobile-primary::after,
 body.revival-home .mp-card-cta::after,
 body.rosetta-quiz .fortune-shell .hanairo-button.is-primary::after {
  content:""; position:absolute; left:18px; right:18px; bottom:0; height:3px; border-radius:3px;
  background:linear-gradient(115deg,#ab3276 4%,#d560a0 21%,#5e5cb0 40%,#247f98 60%,#2c947a 78%,#a65a8e 96%); pointer-events:none;
 }
}
