/* Incremental platform layer: shared tools, personal center and safe-area navigation. */
.platform-icon{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}
.tool-section{margin:19px 0 0}.tool-section h2{font-size:17px;margin:0 0 10px;font-weight:700}
.tool-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.tool-card{position:relative;min-width:0;min-height:105px;box-sizing:border-box;padding:13px 14px;border:1px solid var(--border,#e8ecea);border-radius:14px;background:#fff;color:var(--text,#17212b);text-decoration:none;display:flex;flex-direction:column;gap:5px;transition:box-shadow 160ms,transform 160ms}
.tool-pet_id,.tool-personality{background:#fffbf6}.tool-profile_card,.tool-city_card{background:#f7fcf9}
.tool-icon{display:flex;color:var(--orange,#ff6a2a);margin-bottom:1px}.tool-profile_card .tool-icon,.tool-city_card .tool-icon{color:var(--primary,#118a62)}
.tool-card strong{font-size:14px;line-height:1.4}.tool-card small{font-size:11px;color:var(--muted,#6b7280);line-height:1.5;white-space:nowrap}
.tool-arrow{position:absolute;top:15px;right:12px;color:#a9b4af}.tool-arrow svg{width:16px;height:16px}
.tool-card:focus-visible,.mobile-nav a:focus-visible,.mobile-nav button:focus-visible{outline:2px solid var(--primary,#118a62);outline-offset:2px}
@media(hover:hover){.tool-card:hover{transform:translateY(-1px);box-shadow:0 4px 12px #0d6f520a}}
.hot-info{display:flex;gap:6px;align-items:center;font-size:11px;line-height:1.6;color:#78857c;margin:10px 1px 0;min-height:24px}.hot-info svg{width:16px;height:16px;color:var(--orange,#ff6a2a)}
.site-body .search-box>span{display:flex}.site-body .search-box>span svg{width:21px;height:21px}.search-hint{display:flex;align-items:center;gap:6px}.search-hint svg{width:16px;height:16px}
.site-body{padding-bottom:calc(88px + env(safe-area-inset-bottom))}.share-shell{padding-bottom:calc(88px + env(safe-area-inset-bottom))}
.mobile-nav{position:fixed;bottom:0;left:50%;transform:translateX(-50%);width:min(430px,100%);box-sizing:border-box;display:flex;align-items:center;justify-content:space-around;padding:11px 8px calc(10px + env(safe-area-inset-bottom));z-index:20;background:#fff;border-top:1px solid var(--border,#e8ecea);gap:0}
.mobile-nav button,.mobile-nav a{display:flex;flex-direction:column;align-items:center;justify-content:center;flex:1;min-width:0;gap:5px;font:inherit;font-size:12px;line-height:1.5;color:#8a949c;background:transparent;border:0;padding:0;text-decoration:none;cursor:pointer;white-space:nowrap}
.mobile-nav .active{color:var(--primary,#118a62)}.mobile-nav svg{width:23px;height:23px}.mobile-nav[hidden]{display:none}
.share-nav[hidden]{display:none}
.mobile-nav span{max-width:100%;overflow:hidden;text-overflow:ellipsis}
.home-service-links{display:flex;justify-content:center;gap:25px;padding-top:12px}.home-service-links button,.home-service-links a{display:flex;align-items:center;gap:5px;background:transparent;color:var(--primary,#118a62);font-size:12px;padding:5px;border:0;text-decoration:none}.home-service-links svg{width:17px;height:17px}
.share-toast{bottom:calc(85px + env(safe-area-inset-bottom))}.share-shell .hot-info{font-size:12px}.share-shell .tool-grid{margin-top:20px}.share-shell .tool-card{min-height:113px}.share-shell .tool-card strong{font-size:15px}
.my-profile{display:flex;align-items:center;gap:14px;padding:20px 0 22px}.my-avatar{width:58px;height:58px;background:#eaf7f0;color:var(--primary,#118a62);border-radius:18px;display:grid;place-items:center}.my-avatar svg{width:30px;height:30px}.my-profile h1{font-size:23px;margin:0}.my-profile p{font-size:12px;margin:4px 0 0}
.my-overview{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));background:#f0f9f4;border:1px solid #e2eee7;border-radius:14px;padding:17px 3px;margin-bottom:20px}.my-overview a{text-decoration:none;text-align:center;color:var(--text,#17212b);font-size:12px}.my-overview strong{font-size:23px;color:var(--primary,#118a62);display:block;margin-bottom:5px}
.my-menu{background:#fff;border:1px solid var(--border,#e8ecea);border-radius:14px;overflow:hidden}.my-menu a{display:flex;align-items:center;gap:12px;color:var(--text,#17212b);text-decoration:none;font-size:14px;min-height:59px;padding:13px 16px;box-sizing:border-box;border-bottom:1px solid var(--border,#e8ecea)}.my-menu a:last-child{border:0}.my-menu a>svg:first-child{color:var(--primary,#118a62);width:21px;height:21px}.my-menu a>span{flex:1}.my-menu small{font-size:12px;color:var(--muted,#6b7280)}.my-menu a>svg:last-child{width:15px;height:15px;color:#a9b4af}
.my-empty{padding:23px;text-align:center;background:#fff;border:1px solid var(--border,#e8ecea);border-radius:14px}.my-pet{display:flex;align-items:center;gap:13px}.my-pet img{width:60px;height:60px;object-fit:cover;border-radius:12px}.my-pet p{margin:3px 0;font-size:12px}.my-pet a{color:var(--primary,#118a62);font-size:13px}.share-header .brand-icon img{width:100%;height:100%;object-fit:contain}.share-mini-record strong{overflow-wrap:anywhere}
@media(max-width:375px){.tool-card{padding:12px}.tool-card small{font-size:10px}}
.tool-preview{margin-top:17px}.tool-preview .tool-card{min-height:98px;padding-top:12px;padding-bottom:12px}
.all-tools-link{display:flex;align-items:center;justify-content:center;gap:3px;padding:10px 0 2px;font-size:12px;color:var(--primary,#118a62);text-decoration:none;line-height:1.7}.all-tools-link svg{width:14px;height:14px}.all-tools-link:focus-visible{outline:2px solid var(--primary,#118a62);outline-offset:2px;border-radius:8px}

/* One brand header and one focus treatment across the three public sections. */
:root{--brand-header-height:66px;--page-inset:16px}
.site-body .container,.share-shell{padding-left:var(--page-inset);padding-right:var(--page-inset)}
.site-body .platform-header,.share-shell .platform-header{height:var(--brand-header-height);min-height:var(--brand-header-height);display:flex;align-items:center;justify-content:space-between;gap:8px;background:#fff;box-sizing:border-box}
.share-shell .platform-header{margin-left:calc(-1 * var(--page-inset));margin-right:calc(-1 * var(--page-inset));padding:0 var(--page-inset)}
.platform-header .platform-brand{display:flex;align-items:center;gap:10px;min-width:0;font-size:21px;font-weight:800;line-height:1.2;letter-spacing:0;text-decoration:none;color:var(--text)}
.platform-header .platform-brand>strong{font:inherit}
.platform-header .brand-icon{display:grid;place-items:center;width:39px;height:39px;flex-shrink:0;border-radius:12px;font-size:26px;font-weight:700;line-height:1;transform:none}
.site-body .search-box input,.site-body .search-box input:focus,.site-body .search-box input:focus-visible{border:0;outline:none!important;box-shadow:none;border-radius:0;background:transparent;-webkit-appearance:none;appearance:none}
.site-body .search-box:focus-within{border-color:#9bd5bb;box-shadow:0 0 0 2px #0fa36b10}

/* Services remain labelled advertisements; compact rows keep the directory first. */
.site-body .advertising{margin-top:18px}.site-body .ad-heading{margin-bottom:9px;gap:8px}.site-body .ad-heading h2{font-size:16px}
.site-body .ad-grid{gap:9px}.site-body .ad-card{display:grid;grid-template-columns:minmax(0,1fr) auto;column-gap:12px;row-gap:4px;padding:13px 14px}
.site-body .ad-card-heading{grid-column:1 / -1;gap:7px;font-size:12px}.site-body .ad-badge,.site-body .ad-heading>span{font-size:10px;padding:1px 5px}
.site-body .ad-card h3{grid-column:1;grid-row:2;margin:0;font-size:14px;line-height:1.5}
.site-body .ad-card p{grid-column:1;grid-row:3;margin:0;font-size:12px;line-height:1.65;overflow-wrap:anywhere}
.site-body .ad-link{grid-column:2;grid-row:2 / 4;align-self:center;margin:0;padding:8px 9px;min-height:34px;border:1px solid var(--border);border-radius:9px;background:#fff;font-size:12px;line-height:1.5;white-space:nowrap;color:var(--primary)}
.site-body .ad-note{margin-top:8px;font-size:10px;line-height:1.6}
.site-body .share-panel{padding:16px;margin:10px var(--page-inset) 18px}.share-panel h2{margin:0;font-size:16px;line-height:1.5}.share-panel p{margin:6px 0 12px;font-size:12px;line-height:1.7}
.share-panel-actions{display:grid;grid-template-columns:1fr 1fr;gap:9px}.share-panel-actions .button{display:flex;align-items:center;justify-content:center;text-align:center;font-size:13px;min-height:39px;padding:9px 12px}
.share-panel #invite-status{margin-bottom:0;overflow-wrap:anywhere}.share-panel #invite-status:empty{display:none}

.guest-sync{display:flex;align-items:center;gap:10px;padding:12px 13px;margin:0 0 16px;background:#f2f8f5;border:1px solid var(--border);border-radius:12px}.guest-sync>div{flex:1;min-width:0}.guest-sync strong{display:block;font-size:12px;font-weight:600;line-height:1.65}.guest-sync small{display:block;color:var(--muted);font-size:11px;line-height:1.7;margin-top:3px}.guest-sync button{flex-shrink:0;font-size:12px;padding:8px 10px}.guest-sync button:disabled{cursor:not-allowed;opacity:.6}
.pet-page-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:16px 0 8px}.pet-page-heading h1{margin:0;font-size:23px}.pet-page-heading a{white-space:nowrap;font-size:13px;padding:10px 12px}
.pet-list-section h2{font-size:16px;margin:22px 0 10px}.pet-list{list-style:none;margin:0;padding:0}.pet-list .my-pet{margin:10px 0;padding:15px}.my-pet>div{min-width:0;overflow-wrap:anywhere}.pet-list-section+.share-button{margin-top:16px}
