/* iro. Mobile UX Preview v1 — homepage only. Desktop and site integrations unchanged. */
.iro-mobile-home-v1 .iro-mobile-discovery,
.iro-mobile-home-v1 .iro-mobile-bottom-nav,
.iro-mobile-home-v1 .iro-mobile-compact-disclosure{display:none}
@media(max-width:650px){
  :root{scroll-padding-top:72px}
  body.iro-mobile-home-v1{background:#fffafc;padding-bottom:calc(78px + env(safe-area-inset-bottom))}
  body.iro-mobile-home-v1 #top,body.iro-mobile-home-v1 #favorites,body.iro-mobile-home-v1 #color-finder,body.iro-mobile-home-v1 #skin,body.iro-mobile-home-v1 #ingredients,body.iro-mobile-home-v1 #brands,body.iro-mobile-home-v1 #category,body.iro-mobile-home-v1 #beauty-notes,body.iro-mobile-home-v1 #about,body.iro-mobile-home-v1 #result{scroll-margin-top:75px}
  /* Keep the brand visible, while the old horizontal nav becomes a readable overlay. */
  body.iro-mobile-home-v1 > header,
  body.iro-mobile-home-v1 > header.mobile-nav-collapsed{
    display:block;position:sticky;top:0;z-index:110;height:auto;min-height:0;
    background:#fffcfd;border-bottom:1px solid #f0dfE7;
    box-shadow:0 2px 16px #9a567319;pointer-events:auto;margin:0;padding:0
  }
  body.iro-mobile-home-v1 > header .header,
  body.iro-mobile-home-v1 > header.mobile-nav-collapsed .header{
    box-sizing:border-box;display:grid;grid-template-columns:minmax(0,1fr) auto;
    grid-template-rows:auto;align-items:center;gap:8px;margin:0 auto;
    width:100%;min-height:60px;height:auto;padding:9px 17px;
    background:#fffcfd;pointer-events:auto
  }
  body.iro-mobile-home-v1 > header .header .logo,
  body.iro-mobile-home-v1 > header.mobile-nav-collapsed .header .logo{
    display:inline-flex!important;align-items:center;grid-column:1;grid-row:1;
    font-size:31px;line-height:1.05;width:max-content
  }
  body.iro-mobile-home-v1 > header .header .iro-beta-tag{font-size:10px;letter-spacing:0;margin-left:7px}
  body.iro-mobile-home-v1 > header .header .iro-mobile-menu-toggle,
  body.iro-mobile-home-v1 > header.mobile-nav-collapsed .header .iro-mobile-menu-toggle{
    display:inline-flex;align-items:center;justify-content:center;position:static;
    grid-column:2;grid-row:1;z-index:112;min-height:40px;min-width:80px;
    padding:8px 12px;background:#fff4f8;border:1px solid #ebcad9;
    border-radius:999px;color:#92516c;box-shadow:none;pointer-events:auto;
    font-size:12px;line-height:1.4
  }
  body.iro-mobile-home-v1 > header .header nav[aria-label="サイトメニュー"]{
    display:none!important;position:fixed;left:12px;right:12px;top:calc(67px + env(safe-area-inset-top));
    z-index:121;max-height:min(75dvh,590px);overflow-y:auto;min-width:0;width:auto;
    padding:15px;background:#fff;box-shadow:0 10px 35px #7f425d3d;border:1px solid #eed6e1;
    border-radius:18px;flex-direction:column;gap:12px
  }
  body.iro-mobile-home-v1:not(.iro-mobile-nav-collapsed) > header .header nav[aria-label="サイトメニュー"]{display:flex!important}
  body.iro-mobile-home-v1 > header .header nav .nav-primary,
  body.iro-mobile-home-v1 > header .header nav .nav-secondary{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;width:100%;overflow:visible}
  body.iro-mobile-home-v1 > header .header nav .nav-primary a,
  body.iro-mobile-home-v1 > header .header nav .nav-secondary a{
    display:flex;align-items:center;justify-content:center;min-width:0;min-height:45px;
    padding:9px 6px;white-space:normal;text-align:center;font-size:12px;
    background:#fff8fb;border:1px solid #f3e4eb;border-radius:11px;color:#92556e;text-decoration:none
  }
  body.iro-mobile-home-v1 .iro-mobile-menu-scrim{
    display:none;position:fixed;inset:60px 0 0;z-index:100;background:#5338475c
  }
  body.iro-mobile-home-v1.iro-mobile-menu-open .iro-mobile-menu-scrim{display:block}
  /* Landing screen: compact typography, prominent search, four clear entry points. */
  body.iro-mobile-home-v1 .hero{
    position:relative;padding:27px 16px 30px;
    background:radial-gradient(circle at 96% 6%,#fce0eb 0,transparent 38%),linear-gradient(175deg,#fff4f8,#fffafb 55%,#fff)
  }
  body.iro-mobile-home-v1 .hero:before,
  body.iro-mobile-home-v1 .hero:after{display:none}
  body.iro-mobile-home-v1 .hero > .eyebrow{font-size:10px;letter-spacing:.16em;margin:0 auto 5px;text-align:center}
  body.iro-mobile-home-v1 .hero > h1{
    font-size:clamp(24px,7vw,29px);line-height:1.42;letter-spacing:.025em;
    margin:8px auto 10px;text-align:center;max-width:340px
  }
  body.iro-mobile-home-v1 .hero > p:not(.small){font-size:12px;line-height:1.7;margin:0 auto 10px;text-align:center}
  body.iro-mobile-home-v1 .iro-beta-intro{
    display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:4px 9px;
    margin:9px auto 0;max-width:100%;padding:0;background:transparent;
    box-shadow:none;border:0;font-size:10px;line-height:1.5
  }
  body.iro-mobile-home-v1 .iro-beta-intro strong{font-size:10px;white-space:nowrap}
  body.iro-mobile-home-v1 .iro-beta-intro span{font-size:10px}
  body.iro-mobile-home-v1 .iro-beta-intro a{font-size:10px}
  body.iro-mobile-home-v1 .hero .search{
    position:relative;display:flex;align-items:stretch;width:100%;max-width:500px;
    margin:19px auto 0;padding:5px;background:#fff;border:1.5px solid #e7c0d1;
    border-radius:17px;box-shadow:0 6px 20px #b45a8120;gap:3px;min-height:55px
  }
  body.iro-mobile-home-v1 .hero .search:before{content:'⌕';font-family:inherit;display:grid;place-items:center;flex:0 0 30px;font-size:27px;color:#b76e8b;margin:0}
  body.iro-mobile-home-v1 .hero .search input{
    flex:1;min-width:0;border:0;background:transparent;padding:10px 0;font-size:16px;line-height:1.5;color:#4a3941
  }
  body.iro-mobile-home-v1 .hero .search input::placeholder{color:#967d87;opacity:1}
  body.iro-mobile-home-v1 .hero .search button{
    display:inline-grid;place-items:center;min-height:43px;min-width:69px;
    border:0;border-radius:12px;padding:9px 11px;background:#ba6387;
    color:#fff;font-size:13px;font-weight:700
  }
  body.iro-mobile-home-v1 .iro-mobile-discovery{display:block;width:100%;max-width:500px;margin:27px auto 0;text-align:left;position:relative;z-index:1}
  body.iro-mobile-home-v1 .iro-mobile-section-title{
    display:flex;align-items:baseline;justify-content:space-between;gap:8px;margin:0 1px 12px
  }
  body.iro-mobile-home-v1 .iro-mobile-section-title h2{
    margin:0;font-size:18px;line-height:1.4;letter-spacing:0;text-align:left;font-weight:750
  }
  body.iro-mobile-home-v1 .iro-mobile-section-title > span,
  body.iro-mobile-home-v1 .iro-mobile-section-title > a{font-size:11px;color:#a76881;text-decoration:none;white-space:nowrap}
  body.iro-mobile-home-v1 .iro-mobile-discovery-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
  body.iro-mobile-home-v1 .iro-mobile-discovery-card{
    display:flex;align-items:center;flex-direction:column;justify-content:center;min-width:0;min-height:130px;
    padding:14px 7px 12px;border-radius:18px;border:1px solid #f0dce5;
    background:#fff;box-shadow:0 5px 15px #b16a8520;text-decoration:none;color:#533d48;text-align:center
  }
  body.iro-mobile-home-v1 .iro-mobile-discovery-card .iro-mobile-card-icon{
    display:grid;place-items:center;font-size:26px;line-height:1;width:48px;height:48px;border-radius:16px;
    background:#fff1f6;color:#b65b83;margin-bottom:9px
  }
  body.iro-mobile-home-v1 .iro-mobile-discovery-card strong{font-size:14px;line-height:1.4;font-weight:750}
  body.iro-mobile-home-v1 .iro-mobile-discovery-card small{font-size:10px;line-height:1.5;margin-top:4px;color:#8f7985}
  body.iro-mobile-home-v1 .iro-mobile-pending-link{
    display:flex;align-items:center;gap:7px;text-decoration:none;font-size:12px;color:#8f6c7b;
    min-height:40px;padding:7px 6px;margin:8px 0 20px
  }
  body.iro-mobile-home-v1 .iro-mobile-pending-badge{
    font-size:10px;padding:3px 7px;border-radius:99px;background:#f8eaf0;color:#a36a80
  }
  body.iro-mobile-home-v1 .iro-mobile-plain-arrow{margin-left:auto;font-size:22px;line-height:1;color:#b97a95}
  body.iro-mobile-home-v1 .iro-mobile-new-title{margin-top:9px}
  body.iro-mobile-home-v1 .iro-mobile-release-card{
    display:flex;align-items:center;gap:11px;padding:15px 14px;min-height:82px;
    border-radius:18px;background:#fff3f8;border:1px solid #edd3df;
    text-decoration:none;color:#69495b
  }
  body.iro-mobile-home-v1 .iro-mobile-release-icon{
    display:grid;place-items:center;flex:0 0 47px;height:47px;border-radius:13px;
    background:#fff;font-size:23px
  }
  body.iro-mobile-home-v1 .iro-mobile-release-copy{display:flex;flex:1;min-width:0;flex-direction:column;gap:5px}
  body.iro-mobile-home-v1 .iro-mobile-release-copy strong{font-size:13px;line-height:1.45}
  body.iro-mobile-home-v1 .iro-mobile-release-copy small{font-size:11px;line-height:1.55;color:#967585}
  body.iro-mobile-home-v1 .iro-mobile-guide-link{
    display:flex;align-items:center;gap:10px;min-height:61px;padding:11px 14px;margin:10px 0 0;
    border-radius:16px;background:#fff;border:1px solid #f2e2e9;text-decoration:none;color:#75566a
  }
  body.iro-mobile-home-v1 .iro-mobile-guide-link>span:first-child{font-size:22px}
  body.iro-mobile-home-v1 .iro-mobile-guide-link>span:nth-child(2){display:flex;flex-direction:column;gap:2px}
  body.iro-mobile-home-v1 .iro-mobile-guide-link strong{font-size:12px}
  body.iro-mobile-home-v1 .iro-mobile-guide-link small{font-size:10px;color:#947984}
  body.iro-mobile-home-v1 .hero > .iro-feature-trio,
  body.iro-mobile-home-v1 .hero > .quick-jumps{display:none!important}
  /* Reduce unnecessary vertical scrolling without collapsing or removing tools. */
  body.iro-mobile-home-v1 main > section.wrap{padding-top:32px;padding-bottom:32px}
  body.iro-mobile-home-v1 main > section.wrap h2{font-size:21px;line-height:1.45;margin-bottom:8px}
  body.iro-mobile-home-v1 main > section.wrap .sub{font-size:12px;line-height:1.7;margin-bottom:20px}
  body.iro-mobile-home-v1 .iro-site-footer{padding-bottom:28px}
  body.iro-mobile-home-v1 .iro-disclosure{display:none!important}
  body.iro-mobile-home-v1 .iro-mobile-compact-disclosure{display:block;margin:9px 12px 0}
  body.iro-mobile-home-v1 .iro-mobile-compact-disclosure details{
    padding:0;border:1px solid #eac7d7;border-radius:13px;background:#fff9fc;color:#624957;
    font-size:11px;line-height:1.55
  }
  body.iro-mobile-home-v1 .iro-mobile-compact-disclosure summary{
    display:flex;align-items:center;gap:8px;padding:10px 12px;min-height:42px;cursor:pointer;list-style:none
  }
  body.iro-mobile-home-v1 .iro-mobile-compact-disclosure summary::-webkit-details-marker{display:none}
  body.iro-mobile-home-v1 .iro-mobile-compact-disclosure summary strong{
    flex:none;color:#934f6b;font-size:11px;white-space:nowrap
  }
  body.iro-mobile-home-v1 .iro-mobile-compact-disclosure summary span:nth-child(2){flex:1}
  body.iro-mobile-home-v1 .iro-mobile-disclosure-chevron{font-size:18px;color:#b66b89}
  body.iro-mobile-home-v1 .iro-mobile-compact-disclosure details[open] .iro-mobile-disclosure-chevron{transform:rotate(180deg)}
  body.iro-mobile-home-v1 .iro-mobile-disclosure-more{padding:9px 13px 13px;border-top:1px solid #f0dfeb;line-height:1.8}
  body.iro-mobile-home-v1 .iro-mobile-disclosure-more a{color:#994d6e}
  /* Search results remain one readable card per row: purchase panels need width. */
  body.iro-mobile-home-v1 .hero .products,
  body.iro-mobile-home-v1 .favorites-products .products{grid-template-columns:1fr;max-width:440px}
  body.iro-mobile-home-v1 .iro-mobile-bottom-nav{
    position:fixed;bottom:0;left:0;right:0;z-index:115;display:grid;
    grid-template-columns:repeat(5,minmax(0,1fr));gap:0;
    align-items:stretch;padding:5px 7px calc(5px + env(safe-area-inset-bottom));
    border-top:1px solid #efd9e2;background:#fffdfef2;backdrop-filter:blur(14px);
    box-shadow:0 -4px 20px #a35b7c1a
  }
  body.iro-mobile-home-v1 .iro-mobile-bottom-item{
    display:flex;align-items:center;justify-content:center;flex-direction:column;gap:4px;
    min-height:52px;padding:5px 1px;min-width:0;border:0;border-radius:10px;
    color:#846f79;background:transparent;text-decoration:none;font-family:inherit;cursor:pointer
  }
  body.iro-mobile-home-v1 .iro-mobile-bottom-item svg{
    width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.8;
    stroke-linecap:round;stroke-linejoin:round;flex-shrink:0
  }
  body.iro-mobile-home-v1 .iro-mobile-bottom-item span{font-size:10px;line-height:1.2;white-space:nowrap}
  body.iro-mobile-home-v1 .iro-mobile-bottom-item[aria-current="page"],
  body.iro-mobile-home-v1 .iro-mobile-bottom-item[aria-expanded="true"]{color:#ab5279;background:#fff0f6;font-weight:750}
  body.iro-mobile-home-v1 a:focus-visible,
  body.iro-mobile-home-v1 button:focus-visible,
  body.iro-mobile-home-v1 input:focus-visible{outline:3px solid #a94e75;outline-offset:2px}
}
@media(max-width:360px){
  body.iro-mobile-home-v1 .iro-mobile-section-title:not(.iro-mobile-new-title){align-items:flex-start;flex-direction:column;gap:3px}
  body.iro-mobile-home-v1 .iro-mobile-section-title h2{font-size:17px}
  body.iro-mobile-home-v1 .iro-mobile-section-title > span{font-size:10px}
  body.iro-mobile-home-v1 .iro-mobile-discovery-card{min-height:117px;padding:11px 5px}
  body.iro-mobile-home-v1 .iro-mobile-discovery-card strong{font-size:12px}
  body.iro-mobile-home-v1 .iro-mobile-discovery-card small{font-size:9px}
  body.iro-mobile-home-v1 .iro-mobile-bottom-item span{font-size:9px}
}
@media(prefers-reduced-motion:reduce){
  body.iro-mobile-home-v1{scroll-behavior:auto}
}


/* iro. Mobile UX v1.1: homepage release/guide cards have identical geometry.
   The accent backgrounds retain their different roles; navigation is untouched. */
@media(max-width:650px){
  body.iro-mobile-home-v1 .iro-mobile-release-card,
  body.iro-mobile-home-v1 .iro-mobile-guide-link{
    box-sizing:border-box;
    width:100%;min-height:90px;
    margin-left:0;margin-right:0;
    padding:13px 14px;
    display:flex;align-items:center;gap:11px;
    border-radius:18px;
  }
  body.iro-mobile-home-v1 .iro-mobile-release-icon,
  body.iro-mobile-home-v1 .iro-mobile-guide-link > span:first-child{
    box-sizing:border-box;
    display:grid;place-items:center;
    flex:0 0 47px;width:47px;height:47px;
    border-radius:13px;
    background:#fff;
    font-size:23px;line-height:1;
    margin:0;
  }
  body.iro-mobile-home-v1 .iro-mobile-release-copy,
  body.iro-mobile-home-v1 .iro-mobile-guide-link > span:nth-child(2){
    box-sizing:border-box;
    display:flex;flex:1;min-width:0;
    flex-direction:column;justify-content:center;gap:5px;
  }
  body.iro-mobile-home-v1 .iro-mobile-release-copy strong,
  body.iro-mobile-home-v1 .iro-mobile-guide-link strong{font-size:13px;line-height:1.45;font-weight:700}
  body.iro-mobile-home-v1 .iro-mobile-release-copy small,
  body.iro-mobile-home-v1 .iro-mobile-guide-link small{font-size:11px;line-height:1.55}
}


/* iro. v1.4 — balanced white cards. Hierarchy comes from section heading and icon,
   not an isolated pink stripe/border; mobile-only, leaves all link behavior intact. */
@media (max-width:650px) {
  body.iro-mobile-home-v1 .iro-mobile-release-card,
  body.iro-mobile-home-v1 .iro-mobile-guide-link {
    background:#fff;
    border:1px solid #eddfe6;
    box-shadow:0 3px 12px rgba(133,81,102,.045);
  }
  body.iro-mobile-home-v1 .iro-mobile-release-card {
    position:relative;
    border-color:#eddfe6;
    box-shadow:0 3px 12px rgba(133,81,102,.045);
  }
  body.iro-mobile-home-v1 .iro-mobile-release-icon {background:#fff0f6}
  body.iro-mobile-home-v1 .iro-mobile-release-copy strong {color:#75566a}
  body.iro-mobile-home-v1 .iro-mobile-guide-link > span:first-child {background:#f8f6f8}
  body.iro-mobile-home-v1 .iro-mobile-release-card:focus-visible,
  body.iro-mobile-home-v1 .iro-mobile-guide-link:focus-visible {
    outline:3px solid #ae527c;outline-offset:3px;
  }
}
