:root{--paper:#fffcf8;--white:#fff;--ink:#44372f;--muted:#827268;--accent:#bc573b;--accent-dark:#93432d;--green:var(--accent);--green-dark:var(--accent-dark);--sage:#fff2e8;--line:#eee5dc;--pink:#fce8dc;--peach:#f3d1be;--body-size:16px;--radius:20px}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;background:#f5eee7;color:var(--ink);font-family:"Hiragino Maru Gothic ProN","Hiragino Kaku Gothic ProN","Yu Gothic",Meiryo,"Noto Sans CJK JP",sans-serif;font-size:var(--body-size);line-height:1.7;letter-spacing:.015em;-webkit-font-smoothing:antialiased}
button,input,select{font:inherit}
button,a,input,select{-webkit-tap-highlight-color:transparent}
button{cursor:pointer;color:inherit}
a{color:inherit}
button{border:0;min-height:44px}
button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,summary:focus-visible{outline:3px solid #d7896b;outline-offset:4px}
button:disabled{cursor:default}
h1,h2,h3,p{margin:0}
button span,button strong{pointer-events:none}
button svg{pointer-events:none}
svg{display:block;width:24px;height:24px}
strong{font-weight:650}
button,a{touch-action:manipulation}
[hidden]{display:none!important}
.desktop-intro{position:fixed;left:max(5vw,calc(50vw - 590px));top:50%;transform:translateY(-50%);width:360px}
.desktop-intro h1{font-size:32px;line-height:1.75;font-weight:600;letter-spacing:.07em;margin:24px 0}
.desktop-intro>p{line-height:2;font-size:17px;color:#827268}
.intro-divider{width:48px;height:1px;background:#dcc2af;margin:32px 0}
.desktop-intro .prototype-label{font-size:14px;font-weight:600}
.desktop-intro .small{font-size:13px;max-width:270px;margin-top:8px}
.board-link{display:inline-block;font-size:14px;text-decoration:none;margin-top:28px;border-bottom:1px solid #c99d83;padding-bottom:5px}
.app-shell{position:relative;display:flex;flex-direction:column;width:430px;height:min(920px,calc(100dvh - 48px));min-height:650px;margin:24px max(6vw,calc(50vw - 550px)) 24px auto;background:var(--paper);border:1px solid #eee5dc;border-radius:32px;overflow:hidden;box-shadow:0 24px 70px #704c2f14,0 3px 12px #704c2f08}
.app-header{height:76px;gap:8px;padding:20px 24px 14px;display:flex;align-items:center;justify-content:space-between;flex-shrink:0;background:var(--paper)}
.brand{display:flex;align-items:center;gap:8px;min-width:0;white-space:nowrap;font-size:18px;font-weight:650;letter-spacing:.035em;text-decoration:none}
.brand-dot{display:block;width:5px;height:5px;border-radius:50%;background:#bc573b;margin-left:-5px}
main{flex:1;min-height:0;overflow-y:auto;overflow-x:hidden;scrollbar-width:thin;scrollbar-color:#dac5b5 transparent}
.screen{padding:20px 24px 28px}
.eyebrow{font-size:11px;font-weight:600;color:var(--green);letter-spacing:.14em;line-height:1.6}
.screen>.eyebrow{margin-bottom:14px}
.screen h2{font-size:28px;line-height:1.55;letter-spacing:.055em;font-weight:650}
.page-description{margin:12px 0 26px;color:var(--muted);font-size:15px;line-height:1.9}
.home-intro{display:flex;align-items:center;justify-content:space-between;position:relative;margin:5px 0 30px}
.home-intro h2{margin:13px 0 12px;font-size:30px;line-height:1.5}
.intro-copy{font-size:14px;color:var(--muted);line-height:1.9}
.home-intro .small-scene{position:absolute;width:150px;height:150px;right:-4px;top:25px}
.everyday-heading{margin:0 0 16px}
.everyday-heading h3{font-size:21px;font-weight:650;letter-spacing:.035em;margin:9px 0 7px}
.everyday-heading>p:last-child{font-size:14px;line-height:1.8;color:var(--muted)}
.concern-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:0 0 27px}
.concern-card{min-width:0;min-height:140px;display:flex;flex-direction:column;align-items:flex-start;justify-content:flex-start;gap:6px;text-align:left;padding:13px 12px;border:1px solid #ead9c9;border-radius:18px;background:var(--white)}
.concern-card:hover{background:#fff2e8;border-color:#d7896b}
.concern-card:active{background:var(--pink)}
.concern-icon{display:grid;place-items:center;width:30px;height:30px;background:#fff2e8;border-radius:10px;color:var(--accent);margin-bottom:2px}
.concern-icon svg{width:22px;height:22px}
.concern-card strong{font-size:16px;line-height:1.65;font-weight:650}
.concern-description{font-size:13px;line-height:1.65;color:var(--muted)}
.large-type .concern-card strong{font-size:18px}
.large-type .concern-description,.large-type .everyday-heading>p:last-child{font-size:16px}
.mochi-scene{position:relative;display:block;width:230px;height:230px}
.spark{position:absolute;color:#c38c6c;line-height:1}
.spark-one{right:1px;top:13px;font-size:26px}
.spark-two{left:4px;top:0;font-size:36px}
.feature-card{display:flex;align-items:center;gap:15px;width:100%;padding:23px 18px;text-align:left;border-radius:var(--radius);margin-bottom:12px;position:relative}
.green-card{background:var(--green);color:#fff}
.green-card .card-kicker{color:#fff}
.green-card .card-text>span:last-child{color:#fff;font-size:13px}
.green-card .card-icon{background:#ffffff17;color:#fff}
.card-icon{display:flex;align-items:center;justify-content:center;width:44px;height:48px;border-radius:12px;flex-shrink:0}
.card-icon svg{width:27px;height:27px}
.card-text{display:flex;flex-direction:column;gap:3px;min-width:0}
.card-text strong{font-size:18px;line-height:1.7}
.card-text>span:last-child{font-size:13px;color:var(--muted)}
.card-kicker{display:block;font-size:11px;letter-spacing:.055em;color:var(--muted);line-height:1.6}
.arrow{font-size:24px;margin-left:auto;flex-shrink:0;align-self:center}
.green-card>.arrow{font-size:21px;align-self:flex-start;margin-top:4px}
.white-card{border:1px solid var(--line);background:var(--white);padding-top:17px;padding-bottom:17px}
.white-card .card-icon{background:var(--sage);color:var(--green)}
.white-card .card-text strong{font-size:17px}
.two-cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:16px}
.mini-card{position:relative;background:var(--white);border:1px solid var(--line);border-radius:18px;text-align:left;padding:16px 14px 17px;display:flex;flex-direction:column;gap:4px}
.mini-icon{color:var(--green);margin-bottom:6px}
.mini-icon svg{width:25px;height:25px}
.mini-card strong{font-size:15px;white-space:normal}
.mini-card>span:not(.mini-icon):not(.mini-arrow){font-size:11px;letter-spacing:0;color:var(--muted)}
.mini-arrow{position:absolute;top:14px;right:15px;color:#a5785b;font-size:18px}
.rest-card{display:flex;align-items:center;gap:15px;width:100%;padding:20px 19px;background:var(--pink);border-radius:20px;text-align:left;margin-top:20px}
.rest-symbol{color:#985d51;flex-shrink:0}
.rest-symbol svg{width:31px;height:31px}
.rest-card strong{display:block;font-size:20px;line-height:1.7;margin:2px 0}
.rest-card>span:nth-child(2)>span:last-child{font-size:12px;color:#827268}
.rest-card .card-kicker{color:#827268}
.section-label{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:27px 0 13px}
.section-label h3{font-size:16px;font-weight:600}
.text-button{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:44px;background:none;padding:4px;color:var(--green);font-size:12px}
.article-teaser{display:flex;align-items:center;gap:13px;width:100%;text-align:left;background:var(--white);padding:16px 14px;border:1px solid var(--line);border-radius:17px}
.teaser-art{display:flex;align-items:center;justify-content:center;flex-shrink:0;width:46px;height:56px;border-radius:22px 22px 8px 8px;background:#fce8dc;color:#a5785b;font-size:33px}
.article-teaser strong{display:block;font-size:14px;margin:4px 0}
.article-teaser>span:nth-child(2)>span:last-child{font-size:12px;color:var(--muted)}
.article-teaser>span:last-child{margin-left:auto;font-size:22px;color:var(--muted)}
.bottom-nav{display:flex;align-items:center;justify-content:space-around;flex-shrink:0;height:79px;padding:10px 10px 13px;background:#fffcf8f5;border-top:1px solid var(--line)}
.bottom-nav a{min-width:0;flex:1;min-height:50px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;color:#827268;text-decoration:none;font-size:10px;letter-spacing:0}
.bottom-nav a>span:first-child{padding:4px 13px;border-radius:15px;position:relative}
.bottom-nav svg{width:22px;height:22px}
.bottom-nav [aria-current="page"]{color:var(--green-dark);font-weight:650}
.bottom-nav [aria-current="page"]>span:first-child{background:#fce8dc}
.chip-group{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:20px}
.chip{padding:10px 14px;min-height:44px;border:1px solid var(--line);border-radius:25px;background:var(--white);font-size:12px;line-height:1.5}
.chip.selected{background:#fce8dc;border-color:#d7896b;color:#93432d;font-weight:600}
.mochi-note{display:flex;align-items:flex-start;gap:13px;padding:17px 15px;background:#fff2e8;border-radius:16px;margin-bottom:24px}
.mochi-note p{font-size:13px;line-height:1.9;color:#785d4d}
.steps{margin:0 0 24px}
.step{border-top:1px solid var(--line)}
.step:last-child{border-bottom:1px solid var(--line)}
.step summary{display:flex;align-items:center;gap:14px;padding:20px 0;cursor:pointer;list-style:none}
.step summary::-webkit-details-marker{display:none}
.step-number{align-self:flex-start;color:#a5785b;font-size:12px;line-height:28px;font-weight:600;letter-spacing:.06em}
.step summary>span:nth-child(2){min-width:0;display:flex;flex-direction:column;gap:4px}
.step summary strong{font-size:16px;line-height:1.75}
.step summary>span:nth-child(2)>span:last-child{font-size:11px;color:var(--muted)}
.step-plus{margin-left:auto;font-size:19px;color:#a5785b}
.step[open] .step-plus{transform:rotate(45deg)}
.step-body{padding:0 8px 19px 32px}
.step-body p{font-size:14px;line-height:1.95;color:var(--muted)}
.inline-link{display:inline-flex;align-items:center;gap:9px;background:none;color:var(--green);padding:12px 0;min-height:44px;font-size:13px;font-weight:600}
.primary-button{display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:54px;padding:14px 16px;border-radius:14px;background:var(--green);color:white;text-decoration:none;font-size:14px;font-weight:600;line-height:1.65}
.primary-button:hover{background:var(--green-dark)}
.primary-button svg{width:19px;height:19px}
.primary-button>span:last-child{margin-left:auto}
.full-width{width:100%}
.quiet-note{text-align:center;color:var(--muted);font-size:12px;margin-top:19px;line-height:1.9}
.small{font-size:12px;line-height:1.85;color:var(--muted)}
.search-field{display:flex;align-items:center;gap:11px;background:var(--white);border:1px solid var(--line);border-radius:14px;padding:12px 14px;margin-bottom:22px}
.search-field svg{width:20px;height:20px;color:#a5785b}
.search-field input{background:none;border:0;width:100%;min-width:0;font-size:13px;color:var(--ink);line-height:1.9;min-height:24px}
.search-field input::placeholder{color:#827268}
.search-field:focus-within{outline:2px solid #d7896b;outline-offset:1px}
.search-field input:focus-visible{outline:0}
.category-tabs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0;border-bottom:1px solid var(--line);margin-bottom:22px}
.category-tabs button{min-height:48px;padding:8px 7px 11px;background:none;color:var(--muted);font-size:12px;border-bottom:2px solid transparent;min-width:0;white-space:normal}
.category-tabs [aria-selected="true"]{color:var(--green-dark);border-bottom-color:var(--green);font-weight:600}
.result-heading{font-size:13px;color:var(--muted);margin-bottom:13px}
.list-card{width:100%;display:flex;align-items:center;gap:13px;padding:18px 15px;text-align:left;background:var(--white);border:1px solid var(--line);border-radius:17px;margin-bottom:12px}
.list-card-icon{color:var(--green);display:flex;align-items:center;justify-content:center;flex-shrink:0;width:38px;height:40px;background:var(--sage);border-radius:10px}
.list-card>span:nth-child(2){min-width:0;display:flex;flex-direction:column;gap:5px}
.list-card strong{font-size:15px;line-height:1.75}
.list-card>span:nth-child(2)>span{color:var(--muted);font-size:12px;line-height:1.75}
.list-card>span:last-child{font-size:22px;color:#a5785b;margin-left:auto;flex-shrink:0}
.empty-state{background:var(--sage);padding:25px;border-radius:17px;color:var(--muted);font-size:14px;line-height:1.9}
.location-card{background:var(--white);border:1px solid var(--line);border-radius:20px;padding:20px 18px;margin-bottom:20px}
.location-label{display:flex;align-items:center;gap:7px;margin-bottom:10px}
.location-label svg{width:19px;height:19px;color:var(--green)}
.location-label h3{font-size:15px}
.field-label{display:flex;align-items:center;gap:8px;font-size:13px;font-weight:600;margin:19px 0 7px}
.optional{font-size:10px;background:#f5eee7;color:#827268;padding:1px 7px;border-radius:6px;font-weight:400}
.location-card select,.location-card input{width:100%;height:49px;padding:9px 12px;background:#fffdf9;color:var(--ink);border:1px solid #ead9c9;border-radius:10px;font-size:14px}
.field-help{margin-top:12px;font-size:11px}
.directory-card{position:relative;border:1px solid #eedccb;border-radius:20px;background:var(--sage);padding:24px 19px}
.outline-icon{position:absolute;right:19px;top:25px;color:#a5785b}
.directory-card h3{font-size:19px;margin:8px 0 10px}
.directory-card>p:not(.source-label){font-size:13px;line-height:1.9;color:#785d4d}
.directory-card .region-message{margin:15px 0;font-size:12px!important;font-weight:500}
.directory-card .primary-button{font-size:12px}
.source-label{margin-top:11px;font-size:10px;color:#827268;text-align:center}
.call-script{background:#fff8ed;border:1px solid #eee5dc;border-radius:18px;padding:20px 18px;margin-bottom:18px}
.call-script>p:not(.small){font-size:15px;line-height:2;margin:10px 0 17px}
.secondary-button{display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:11px 14px;min-height:44px;border-radius:10px;background:var(--white);border:1px solid #ead9c9;color:#93432d;font-size:12px}
.secondary-button svg{width:16px;height:16px}
#copy-feedback:empty{display:none}
#copy-feedback{margin-top:8px}
.rest-screen{text-align:center;background:radial-gradient(ellipse at 50% 35%,#fff1e6 0,transparent 61%)}
.rest-screen>.eyebrow{margin-top:7px}
.rest-screen .page-description{margin-bottom:0}
.rest-stage{position:relative;width:100%;height:274px;margin:15px 0 0;display:flex;flex-direction:column;align-items:center}
.touch-mochi{display:block;padding:0;width:230px;max-width:100%;height:230px;background:none;position:relative;border-radius:24px}
.touch-hint{font-size:11px;color:#827268;position:absolute;bottom:5px}
.stage-spark{position:absolute;top:22px;right:20px;font-size:30px;color:#c38c6c}
.mochi-response{font-size:16px;line-height:1.95;min-height:64px;padding:8px 8px;margin:12px 0 24px}
.feeling-label{font-size:12px;color:var(--muted);margin-bottom:12px}
.feeling-buttons{display:flex;gap:9px;margin:0 0 26px}
.feeling-buttons button{flex:1;min-width:0;min-height:47px;border:1px solid #eee5dc;background:#fffcf8;border-radius:24px;padding:11px 8px;font-size:12px;white-space:normal}
.feeling-buttons [aria-pressed="true"]{background:var(--pink);border-color:#d7896b;color:#93432d}
.breathing-description{margin-top:12px;min-height:24px}
.motion-toggle{display:flex;align-items:center;justify-content:center;gap:8px;font-size:12px;color:var(--muted);min-height:44px;margin:8px 0}
.motion-toggle input{accent-color:var(--green);width:16px;height:16px}
.rest-close{font-size:14px;margin:11px 0}
dialog{border:1px solid var(--line);border-radius:24px;padding:22px 25px 27px;background:var(--paper);color:var(--ink);width:calc(100% - 24px);max-width:430px;max-height:calc(100dvh - 40px);overflow:auto;font-family:inherit;line-height:1.85;box-shadow:0 20px 60px #704c2f30}
dialog::backdrop{background:#44372f60;backdrop-filter:blur(3px)}
.dialog-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:17px}
.close-button{width:44px;height:44px;min-height:44px;background:#f5eee7;border-radius:50%;font-size:27px;font-weight:300;line-height:1}
.dialog-header .eyebrow{font-size:12px}
dialog h2{font-size:24px;font-weight:650;line-height:1.65;letter-spacing:.02em}
.article-description{font-size:14px;color:var(--muted);margin:14px 0 24px;padding-bottom:21px;border-bottom:1px solid var(--line)}
.article-body p{font-size:var(--body-size);line-height:2;margin-bottom:20px}
.care-urgent{margin:0 0 24px;padding:16px;border:1px solid #c07860;border-radius:15px;background:#fff0e8}
.care-urgent h3{font-size:16px;line-height:1.7;color:#93432d}
.care-urgent p{font-size:14px;line-height:1.9;margin:8px 0 10px}
.urgent-call{display:flex;align-items:center;justify-content:center;min-height:48px;padding:10px 12px;border:1px solid #a34a32;border-radius:12px;background:#fff;color:#93432d;font-size:14px;font-weight:650;text-decoration:none;text-align:center;line-height:1.7}
.care-section{margin:0 0 24px}
.care-section h3{font-size:18px;line-height:1.7;border-bottom:1px solid var(--line);padding-bottom:9px;margin-bottom:10px}
.care-section ul{padding-left:20px;margin:0}
.care-section li{font-size:var(--body-size);line-height:1.95;margin:0 0 9px}
.care-mochi-note{display:flex;align-items:flex-start;gap:12px;margin:20px 0 12px;padding:17px 15px;border-radius:17px;background:var(--pink)}
.care-note-pet{width:52px;height:52px;flex:0 0 52px}
.care-mochi-note p{font-size:15px;line-height:1.95;margin:0}
.large-type .care-urgent p,.large-type .urgent-call,.large-type .care-mochi-note p{font-size:16px}
#article-more-sources .source-link{padding:0 0 15px}
#article-checked{margin:0 0 17px}
#article-rest{margin-top:12px}
#consultation-topic{margin-top:9px}
.source-link{display:block;padding:15px 0 25px;color:var(--green);font-size:12px;text-underline-offset:4px;overflow-wrap:anywhere}
.stage-resources{margin:0 0 22px}
.stage-resources h3{font-size:18px;line-height:1.7;margin:0 0 14px}
.stage-resources>.text-button{font-size:14px;line-height:1.8;text-align:left;justify-content:flex-start}
.more-concerns{margin-top:-10px;margin-bottom:16px;font-size:14px;min-height:48px}
.app-status{padding:10px 18px;background:#fff2e8;color:#6d594d;font-size:13px;line-height:1.7;flex-shrink:0;border-block:1px solid var(--line)}
.install-card{margin-top:24px;border:1px solid #ead9c9;border-radius:17px;background:#fff8ef;padding:0 16px}
.install-card>summary{min-height:56px;padding:14px 0;font-size:15px;font-weight:600;color:var(--accent-dark);cursor:pointer;line-height:1.8}
.install-body{padding:0 0 17px}
.install-body>p{font-size:14px;line-height:1.9;margin:0 0 13px}
.install-body>.small{font-size:12px}
.install-body button{margin:0 0 12px}
.topic-destination{font-size:14px;line-height:1.9;background:#fff2e8;padding:16px;border:1px solid #ead9c9;border-radius:15px;margin:0 0 20px}
.large-type .topic-destination{font-size:16px}
.large-type .app-status,.large-type .install-body>p,.large-type .install-card>summary{font-size:16px}
.skip-link{position:absolute;top:-70px;left:10px;padding:10px;background:#fff;z-index:5}
.skip-link:focus{top:4px}
.large-type{--body-size:18px}
.large-type .card-text strong,.large-type .list-card strong,.large-type .step summary strong,.large-type .location-label h3{font-size:18px}
.large-type .page-description,.large-type .intro-copy,.large-type .step-body p,.large-type .mochi-note p,.large-type .directory-card>p:not(.source-label),.large-type .card-text>span:last-child,.large-type .list-card>span:nth-child(2)>span{font-size:16px}
.large-type .mini-card strong{font-size:16px;white-space:normal}
.large-type .mini-card>span:not(.mini-icon):not(.mini-arrow){font-size:13px}
.large-type .chip,.large-type .category-tabs button{font-size:14px}
.large-type .home-intro{margin-bottom:30px}
.large-type .rest-card>span:nth-child(2)>span:last-child{font-size:15px}
.large-type .card-kicker{font-size:12px}
.large-type .green-card{gap:10px}
.large-type .green-card .card-icon{width:30px}
.large-type .bottom-nav a{font-size:12px}
.large-type .bottom-nav a>span:first-child{padding:4px 8px}
.home-intro{margin-bottom:24px}
.green-card{padding-top:20px;padding-bottom:20px}
.rest-card{padding-top:17px;padding-bottom:17px;margin-top:16px}
.rest-stage{height:242px;margin-top:12px}
.mochi-response{min-height:56px;margin-top:8px;margin-bottom:18px}
.feeling-buttons{margin-bottom:20px}
.bottom-nav a{color:#827268}
.touch-hint{color:#827268}
.search-field input::placeholder{color:#827268}
.source-label{color:#827268}
@media(min-width:1400px){.app-shell{margin-right:calc(50vw - 535px)}}
@media(max-width:1000px){.desktop-intro{width:290px;left:4vw}
.desktop-intro h1{font-size:25px}
.app-shell{margin-right:4vw}}
@media(max-width:780px){.desktop-intro{display:none}
.app-shell{margin:18px auto;width:min(430px,calc(100vw - 28px));height:calc(100dvh - 36px)}}
@media(max-width:500px){body{background:var(--paper)}
.app-shell{width:100%;height:100dvh;min-height:0;margin:0;border:0;border-radius:0;box-shadow:none}
.app-header{padding:17px 22px 12px;height:70px}
.screen{padding:19px 22px 28px}
.bottom-nav{height:calc(75px + env(safe-area-inset-bottom));padding-bottom:calc(10px + env(safe-area-inset-bottom))}
.home-intro{margin-bottom:24px}
.home-intro h2{font-size:29px}}
@media(max-width:360px){.screen{padding-left:18px;padding-right:18px}
.home-intro .small-scene{right:-9px;transform:scale(.88);transform-origin:right center}
.home-intro h2{font-size:27px}
.feature-card{gap:10px;padding-left:15px;padding-right:15px}
.card-text strong{font-size:16px}
.mini-card{padding-left:11px;padding-right:11px}
.mini-card strong{font-size:14px}
.category-tabs button{font-size:11px;padding-left:4px;padding-right:4px}
.brand{font-size:17px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}
*,*:before,*:after{animation:none!important;transition:none!important}}

/* Shared Mochi artwork: actual faces and proportions come from v0.2.3. */
.pet-art{position:relative;display:block;width:100%;aspect-ratio:1;background-repeat:no-repeat;transform-origin:50% 75%;transition:transform .25s ease;flex-shrink:0}
.pet-frame{position:absolute;display:block;left:50%;top:50%;transform:translate(-50%,-50%);background-repeat:no-repeat}
.small-scene .pet-art{width:150px;height:150px;filter:drop-shadow(0 7px 7px #704c2f12)}
.note-pet{width:40px;height:40px;flex:0 0 40px;margin-top:1px}
.brand-icon{width:32px;height:32px;flex:0 0 32px;object-fit:cover;border-radius:10px}
.pet-toggle{display:flex;align-items:center;justify-content:center;width:44px;height:44px;padding:3px;background:#fff2e8;border:1px solid #eedccb;border-radius:50%}
.pet-toggle .pet-art{width:36px;height:36px}
.pet-toggle:hover{background:var(--pink)}
.rest-stage .pet-art{width:230px;height:230px;filter:drop-shadow(0 12px 10px #704c2f12)}
.touch-mochi.pressed .pet-art{transform:translateY(-4px) scale(1.025)}
.breathing .rest-pet{animation:mochi-breathe 6s ease-in-out infinite}
.touch-mochi.pressed .rest-pet{animation:none}
@keyframes mochi-breathe{0%,100%{transform:translateY(0) scale(1)}50%{transform:translateY(-3px) scale(1.025)}}
.motion-paused .pet-art{animation:none!important;transition:none!important;transform:none!important}
#pet-dialog h2{font-size:22px;text-wrap:balance}
.pet-dialog-copy{font-size:14px;line-height:1.9;color:var(--muted);margin:12px 0 22px}
.pet-options{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;margin:0 0 24px}
.pet-options button{position:relative;min-width:0;padding:10px 4px 14px;border:1px solid var(--line);border-radius:17px;background:var(--white);display:flex;flex-direction:column;align-items:center;justify-content:flex-start;gap:8px;text-align:center}
.pet-options button .pet-art{width:100%;max-width:105px;height:auto;aspect-ratio:1}
.pet-options strong{font-size:13px;line-height:1.7;white-space:normal;overflow-wrap:anywhere}
.pet-options [aria-checked="true"]{border:2px solid var(--accent);padding:9px 3px 13px;background:#fff3e9}
.pet-check{position:absolute;top:6px;right:6px;display:none;width:20px;height:20px;align-items:center;justify-content:center;background:var(--accent);color:white;border-radius:50%;font-size:12px;line-height:1}
.pet-options [aria-checked="true"] .pet-check{display:flex}
.pet-options button:hover{background:#fff8ed}
.rest-card>span:nth-child(2),.article-teaser>span:nth-child(2){min-width:0}
.large-type .pet-dialog-copy{font-size:16px}
.large-type .pet-options strong{font-size:15px}
@media(max-width:500px){.app-header{padding-left:18px;padding-right:18px}.home-intro .small-scene{width:140px;height:140px;right:-3px;top:28px}.small-scene .pet-art{width:140px;height:140px}}
@media(max-width:360px){.app-header{padding-left:18px;padding-right:18px;gap:6px}.brand{font-size:16px;gap:6px;letter-spacing:.015em}.brand-dot{display:none}.home-intro h2{font-size:25px}.home-intro .small-scene{width:126px;height:126px;right:-4px;top:28px;transform:none}.small-scene .pet-art{width:126px;height:126px}.large-type .home-intro .intro-copy{max-width:150px}.feature-card{gap:9px;padding-left:13px;padding-right:13px}.green-card .card-icon{width:30px}.card-text strong{font-size:16px}.green-card .card-text>span:last-child{font-size:12px}.large-type .green-card .card-text strong{font-size:17px}.category-tabs button{font-size:11px;padding-left:3px;padding-right:3px}.large-type .category-tabs button{font-size:12px}.bottom-nav{padding-left:5px;padding-right:5px}.bottom-nav a>span:first-child{padding-left:9px;padding-right:9px}.large-type .bottom-nav a{font-size:11px}dialog{padding-left:17px;padding-right:17px}.pet-options{gap:6px}.pet-options strong{font-size:12px}.large-type .pet-options strong{font-size:13px}}
@media(prefers-reduced-motion:reduce){.pet-art{animation:none!important;transition:none!important}.touch-mochi.pressed .pet-art{transform:none}}

@media(max-width:360px){#pet-dialog h2{font-size:20px}}

/* Shared button rules: visible labels, generous targets, consistent feedback. */
button,a[href],summary{
  transition:background-color .16s ease,border-color .16s ease,color .16s ease,box-shadow .16s ease,filter .16s ease;
}
button{min-height:48px}
button:not(:disabled):hover,a[href]:hover{filter:brightness(.97)}
button:not(:disabled):active,a[href]:active{filter:brightness(.92)}
summary:hover{background:#fff2e8}
summary:active{background:#fce8dc}
button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,summary:focus-visible{
  outline:3px solid var(--accent-dark);
  outline-offset:3px;
}
button:disabled,[aria-disabled="true"]{
  opacity:.5;
  cursor:not-allowed;
  filter:none;
  box-shadow:none;
}
.primary-button{
  min-height:56px;
  font-size:16px;
  line-height:1.6;
  padding:14px 16px;
  border:1px solid transparent;
}
.directory-card .primary-button{font-size:16px}
.primary-button:active{background:var(--accent-dark)}
.secondary-button,.text-button,.inline-link{
  min-height:48px;
  font-size:14px;
  line-height:1.6;
}
.secondary-button:hover{border-color:var(--accent);background:#fff2e8}
.text-button,.inline-link{text-underline-offset:4px}
.text-button:hover,.inline-link:hover{text-decoration:underline}
.brand{min-height:44px}
.home-intro{min-height:180px}
.home-intro .choose-pet-hero{
  display:flex;
  align-items:center;
  flex-direction:column;
  justify-content:flex-start;
  height:171px;
  padding:0;
  background:none;
  border-radius:18px;
}
.choose-pet-hero .pet-art{flex-shrink:0}
.choose-pet-label{
  display:block;
  flex-shrink:0;
  margin-top:-8px;
  padding:3px 10px;
  background:var(--white);
  border:1px solid #ead9c9;
  border-radius:12px;
  color:var(--accent-dark);
  font-size:14px;
  font-weight:600;
  line-height:1.5;
  white-space:nowrap;
}
.choose-pet-hero:hover .choose-pet-label{background:#fff2e8;border-color:var(--accent)}
.mini-card strong,.list-card strong{font-size:16px;white-space:normal}
.mini-card>span:not(.mini-icon):not(.mini-arrow),.list-card>span:nth-child(2)>span{font-size:14px;line-height:1.7}
.mini-card{padding:16px 14px;overflow-wrap:anywhere}
.chip,.category-tabs button,.feeling-buttons button{min-height:48px;font-size:14px;white-space:normal}
.category-tabs{gap:4px}
.category-tabs button{flex:1;padding:8px 3px 11px;line-height:1.6}
.step-number{flex-shrink:0}
.step summary>span:nth-child(2){flex:1}
.step-plus{
  display:flex;
  align-items:center;
  justify-content:center;
  flex:0 0 24px;
  width:24px;
  height:32px;
}
.step[open] .step-plus{transform:none;font-size:0}
.step[open] .step-plus::after{content:"−";font-size:22px}
.chip:hover,.feeling-buttons button:hover{border-color:var(--accent)}
.bottom-nav{height:84px}
.bottom-nav a{min-height:56px;font-size:12px;line-height:1.5;text-align:center}
.bottom-nav a>span:first-child{padding:4px 11px}
.bottom-nav a>span:last-child{max-width:100%;white-space:normal}
.bottom-nav a:hover>span:first-child{background:#fff2e8}
.bottom-nav [aria-current="page"]>span:first-child{background:#fce8dc}
.close-button{min-height:48px;min-width:48px}
.source-link{min-height:48px;font-size:14px}
.search-field input,.location-card input,.location-card select{font-size:16px}
.large-type .primary-button,.large-type .directory-card .primary-button{font-size:18px}
.large-type .secondary-button,.large-type .text-button,.large-type .inline-link,.large-type .chip,
.large-type .category-tabs button,.large-type .feeling-buttons button,
.large-type .choose-pet-label,.large-type .source-link{font-size:16px}
.large-type .mini-card strong,.large-type .list-card strong{font-size:18px}
.large-type .mini-card>span:not(.mini-icon):not(.mini-arrow),.large-type .list-card>span:nth-child(2)>span{font-size:16px}
.large-type .bottom-nav a{font-size:14px}
.large-type .bottom-nav a>span:first-child{padding-left:9px;padding-right:9px}
@media(max-width:500px){
  .app-header{padding-left:18px;padding-right:18px;gap:8px}
  .brand{font-size:16px;gap:6px;letter-spacing:.015em}
  .brand-dot{display:none}
  .home-intro .choose-pet-hero{height:161px}
  .bottom-nav{height:calc(84px + env(safe-area-inset-bottom))}
}
@media(max-width:360px){
  .app-header{padding-left:16px;padding-right:16px}
  .home-intro .choose-pet-hero{height:149px}
  .mini-card{padding:16px 11px}
  .category-tabs button{font-size:14px}
  .large-type .category-tabs button{font-size:16px}
  .bottom-nav a{font-size:12px}
  .large-type .bottom-nav a{font-size:14px}
  .large-type .bottom-nav a>span:first-child{padding-left:7px;padding-right:7px}
}
@media(prefers-reduced-motion:reduce){
  button,a[href],summary{transition:none}
}

/* The consultation panel is shared by the search tab and all consultation links. */
.category-tabs #tab-consult{grid-column:1/-1;display:flex;align-items:center;justify-content:center;gap:8px}
.category-tabs #tab-consult svg{width:20px;height:20px}
.consult-title{font-size:23px;margin:0 0 8px}
.center-directory{margin:24px 0 30px}
.center-directory>h3{font-size:20px;line-height:1.65;margin-bottom:12px}
.center-directory .region-message{font-size:17px;font-weight:600;margin:0 0 18px}
.center-directory input{width:100%}
.center-directory .small{font-size:15px;line-height:1.8;overflow-wrap:anywhere}
.directory-source{padding:12px 14px;background:#fff2e8;border-radius:12px;margin:12px 0}
.directory-source .source-link{margin:0;font-size:16px}
.directory-source p{margin:8px 0 0}
#directory-source-details{margin-top:12px;border-bottom:1px solid var(--line)}
#directory-source-details>summary{font-size:16px;min-height:52px;padding:12px 0;color:var(--accent);cursor:pointer}
.center-card{padding:20px 17px;margin-top:14px;background:white;border:1px solid var(--line);border-radius:18px;overflow-wrap:anywhere}
.center-area{color:var(--accent);font-size:15px;margin:0 0 6px}
.center-card h4{font-size:19px;line-height:1.65;margin:0 0 10px}
.center-address{font-size:16px;line-height:1.8;margin:0 0 12px}
.center-phone{display:flex;align-items:center;justify-content:center;min-height:52px;padding:10px;border:1px solid #d9b6a4;border-radius:12px;color:var(--accent);font-size:18px;font-weight:600;text-decoration:none;line-height:1.65}
.center-phone:hover{background:#fff2e8}
.center-phone-text{font-size:17px}
.center-card .source-link{font-size:15px;margin-top:12px}
#center-more{margin-bottom:16px}
#home-readings .article-teaser{margin-bottom:12px}
#home-readings .article-teaser strong{font-size:18px;line-height:1.7}
#home-readings .article-teaser>span:nth-child(2)>span:last-child{font-size:16px;line-height:1.7}
.note-pet[data-follow-mochi]{width:52px;height:52px;flex-basis:52px}
.rest-screen .mochi-response{margin-bottom:12px}
.rest-screen .feeling-label{margin-bottom:8px}
.rest-screen .feeling-buttons{margin-bottom:16px}
