/*
Theme Name: SHELTER
Theme URI:
Author: DaVinci
Author URI:
Description: Original theme.
Version: 999.0.0
Text Domain: shelter-v2
*/

/* --------------------------------------------------
 common
--------------------------------------------------- */

@charset "UTF-8";

/* reset
--------------------------------------------------- */

*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}:where([hidden]:not([hidden='until-found'])){display:none!important}:where(html){-webkit-text-size-adjust:none;color-scheme:dark light}@media (prefers-reduced-motion:no-preference){:where(html:focus-within){scroll-behavior:smooth}}:where(body){line-height:1.5;font-family:system-ui,sans-serif;-webkit-font-smoothing:antialiased}:where(input,button,textarea,select){font:inherit;color:inherit}:where(textarea){resize:vertical;resize:block}:where(button,label,select,summary,[role='button'],[role='option']){cursor:pointer}:where(:disabled){cursor:not-allowed}:where(label:has(>input:disabled),label:has(+input:disabled)){cursor:not-allowed}:where(button){border-style:solid}:where(a){color:inherit;text-underline-offset:.2ex}:where(ul,ol){list-style:none}:where(img,svg,video,canvas,audio,iframe,embed,object){display:block}:where(img,picture,svg){max-inline-size:100%;block-size:auto}:where(p,h1,h2,h3,h4,h5,h6){overflow-wrap:break-word}:where(h1,h2,h3){line-height:calc(1em + 0.5rem)}:where(hr){border:none;border-block-start:1px solid;color:inherit;block-size:0;overflow:visible}:where(:focus-visible){outline:3px solid Highlight;outline-offset:2px;scroll-margin-block:10vh}:where(.visually-hidden:not(:focus-within,:active)){clip-path:inset(50%)!important;height:1px!important;width:1px!important;overflow:hidden!important;position:absolute!important;white-space:nowrap!important;border:0!important}

/* input focus / outline 無効化 */
:where(input, textarea, select):focus,
:where(input, textarea, select):focus-visible,
:where(input, textarea, select):focus-within {
    outline: none !important;
    box-shadow: none !important;
    border-color: inherit !important;
}
/* iOSタップズーム対策 */
:where(input, textarea, select, button) {
    font-size: 16px !important;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
    -webkit-user-select: none;
    user-select: none;
}

/* design tokens
--------------------------------------------------- */

:root {
    --color-wht: #fff;
    --color-blk: #191919;
    --color-yel: #f4cb64;
    --color-dbw: #494337;
    
    
    
    --color-dgy: #363636;
    --color-lbe: #e2ded9;
    --color-crm: #f8f5f0;
    --color-ccl: #746f6b;
    --color-lrd: #cd9392;
    --color-grn: #87937f;
    --color-pbe: #caa89a;
    --color-blu: #8caaaa;
    --color-brw: #91795e;
    
    --font-jp-01: "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Yu Gothic", Meiryo, sans-serif;
    --font-jp-02: "Hiragino Mincho ProN", "Hiragino Serif", "Yu Mincho", "YuMincho", "MS Mincho", serif;
    --font-en-01: "Jost", sans-serif;
    --font-en-02: "Cormorant Garamond", serif;
    --font-en-03: "Playfair Display", serif;
    
    --filter-dark: saturate(0.5) brightness(0.6) contrast(0.95);
    --filter-gray: saturate(0.7) brightness(0.95) contrast(0.9);
}
@media screen and (min-width: 1280px) {
    :root {
        --inner-width: 1180px;
    }
}
@media screen and (min-width: 1401px) {
    :root {
        --inner-width: 1280px;
    }
}
@media screen and (min-width: 1600px) {
    :root {
        --inner-width: 1480px;
    }
}

/* layout
--------------------------------------------------- */

html {
    height: 100%;
    font-size: 100%;
    scroll-behavior: smooth;
    background-color: var(--color-crm)!important;
    scroll-padding-top: 50px;
    overflow-x: clip;
}
@media screen and (min-width: 768px) {
    html {
        scroll-padding-top: 70px;
    }
}
@media screen and (min-width: 1280px) {
    html {
        scroll-padding-top: max(8vh, 70px);
    }
}
body {
    min-height: 100%;
    font-family: var(--font-jp-01);
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: .05em;
    line-height: 1.8;
    font-family: var(--font-jp-01);
    font-weight: 500;
    color: var(--color-blk);
    overflow-x: clip;
}
@media screen and (min-width: 768px) {
    body {
        line-height: 2;
    }
}

body::after {
  z-index: 9999;
  content: "";
  position: fixed;
  top: 0; right: 0;
  width: 100vw; height: 100vh;
  background: var(--color-blk);
  pointer-events: none;
  animation: fadeOut .7s cubic-bezier(.8,0,.5,1) forwards;
}

body.viewtrans::after {
  animation: fadeIn .7s cubic-bezier(.8,0,.5,1) forwards;
}

@keyframes fadeOut { 0% { opacity: 1; } 100% { opacity: 0; } }
@keyframes fadeIn  { 0% { opacity: 0; } 100% { opacity: 1; } }

.fixed { position: fixed; width: 100%; height: 100%; }

a {
    display: inline;
    color: var(--color-blk);
    text-decoration: none;
    cursor: pointer;
}
p {
    text-align: justify;
}
img, svg {
    width: 100%;
    height: auto;
}

.wrap {
    position: relative;
    width: 100%; min-width: 320px;
    height: auto !important; height: 100%; min-height: 100%;
    margin: auto;
    overflow-x: clip;
    transition: 1s;
}

.mask {
    width: 100%;
    height: auto;
    overflow: hidden;
}
.mask .mask__inner {
    width: inherit;
    height: inherit;
    opacity: 0;
}
.mask .mask__inner.inview {
    position: relative;
    animation: maskIn .5s cubic-bezier(.8,0,.5,1) forwards;
    opacity: 1 !important;
}
.mask .mask__inner.inview::before {
    z-index: 1;
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--color-crm);
    animation: maskOut .5s .5s cubic-bezier(.8,0,.5,1) forwards;
}
.top-location .mask,
.top-location .mask__inner {
    width: 100%;
    height: 100%;
}
.top-location .mask .mask__inner.inview::before {
    background: var(--color-blk);
}
@keyframes maskIn  {
    from { transform: translateX(-100%); }
    to { transform: translateX(0); }
}
@keyframes maskOut {
    from { transform: translateX(0); }
    to { transform: translateX(101%); }
}

.fade { opacity: 0; transform: translate(0, 5px); }
.fade.inview {
  position: relative;
  animation: fadeInUp .5s cubic-bezier(.8,0,.5,1) forwards;
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translate(0, 5px); }
  to   { opacity: 1; transform: translate(0, 0); }
}

.is-pc {
    display: none;
}
@media screen and (min-width: 1024px) {
    .is-pc {
        display: block;
    }
}

/* --------------------------------------------------
 header
--------------------------------------------------- */

.header {
    z-index: 99;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 50px;
    transition: .3s;
    background: var(--color-dbw);
}
@media screen and (min-width: 768px) {
    .header {
        height: 70px;
    }
}
@media screen and (min-width: 1280px) {
    .header {
        height: 8vh;
        min-height: 70px;
    }
}
.header__inner {
    display: flex;
    width: 100%;
    height: 100%;
    align-items: center;
}
.header__logo {
    display: flex;
    align-items: center;
    height: 100%;
}
.header__logo .logo__title a {
    display: flex;
    width: auto;
    height: 100%;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 10px;
    padding: 0 20px;
    font-family: var(--font-en-01);
    font-size: 1.05rem;
    font-weight: 500;
    color: var(--color-wht);
    text-transform: uppercase;
}
@media screen and (min-width: 768px) {
}
@media screen and (min-width: 1280px) {
    .header__logo .logo__title a {
        padding: 0 50px;
    }
}

.header__nav,
.header__search,
.header__group {
    display: none;
}
@media screen and (min-width: 1024px) {
    .header.scroll::before {
        opacity: 0;
    }
    .header__nav,
    .header__search,
    .header__group {
        display: block;
    }
    .header__nav {
        margin-left: auto;
    }
    .header__nav-list {
        display: flex;
        gap: 15px;
    }
    .header__nav-list li a {
        display: flex;
        flex-direction: column;
        font-family: var(--font-en-01);
        font-size: 0.8rem;
        font-weight: 400;
        letter-spacing: .05em;
        line-height: 1;
        color: var(--color-wht);
        text-transform: uppercase;
        padding-top: 3px;
        transition: .3s;
    }
    .header__nav-list li a::after {
        content: "";
        display: block;
        width: 0;
        height: 1px;
        background-color: var(--color-crm);
        opacity: 0;
        transition: .4s;
    }
    .header__nav-list li a:hover::after {
        width: 100%;
        opacity: 0.7;
    }
    .header__btn {
        height: 100%;
        margin-left: 40px;
    }
    .header__btn-list,
    .header__btn-list li {
        height: 100%;
    }
    .header__btn-list li a {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 5px;
        position: relative;
        width: 71px;
        height: 100%;
        padding-top: 3px;
        transition: .3s;
    }
    .header__btn-list li a:hover,
    .header.scroll .header__btn-list li a {
        background: var(--color-grn);
    }
    .header__btn-list li a::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        width: 0.5px;
        height: 100%;
        background: var(--color-wht);
        opacity: 0.7;
        transition: .3s;
    }
    .header__btn-list li a:hover::before,
    .header.scroll .header__btn-list li a::before {
        opacity: 0;
    }
    .header__btn-list li a span {
        display: block;
        font-size: 0.6rem;
        font-weight: 400;
        letter-spacing: .05em;
        color: var(--color-wht);
        line-height: 1;
    }
    .header__btn-list li a span.icon {
        width: 30px;
    }
}
@media screen and (min-width: 1280px) {
    .header__nav-list {
        gap: 25px;
    }
    .header__nav-list li a {
        font-size: 0.9rem;
    }
    .header__btn-list li a {
        flex-direction: row;
        width: 140px;
    }
    .header__btn-list li a span {
        font-size: 0.85rem;
    }
    .header__btn-list li a span.icon {
        width: 34px;
    }
}

.header__burger {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    gap: 6px;
    width: 50px;
    height: 50px;
    margin-left: auto;
    border: 0;
    outline: none;
    background: var(--color-yel);
    border-radius: 0;
}
/*.header__burger::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 1px;
    height: 100%;
    background: var(--color-wht);
    opacity: 0.5;
}*/
.header__burger span {
    width: 22px;
    height: 1px;
    background: var(--color-wht);
}
@media screen and (min-width: 768px) {
    .header__burger {
        width: 71px;
        height: 70px;
    }
    .header__burger span {
        width: 25px;
    }
}
@media screen and (min-width: 1024px) {
    .header__burger {
        display: none;
    }
}

/* --------------------------------------------------
 drawer
--------------------------------------------------- */

body.drawer-open {
    overflow: hidden;
    touch-action: none;
}
.drawer-overlay {
    z-index: 101;
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(255, 255, 255, .5);
    z-index: 199;
    opacity: 0;
    transition: opacity .3s ease;
}
body.drawer-open .drawer-overlay {
    display: block;
    opacity: 1;
}
.drawer {
    z-index: 102;
    position: fixed;
    top: 0;
    right: 0;
    width: min(320px, 85vw);
    height: 100dvh;
    background: var(--color-dbw);
    z-index: 200;
    transform: translateX(100%);
    transition: transform .35s cubic-bezier(.4, 0, .2, 1);
    overflow-y: auto;
}
@media screen and (min-width: 768px) {
    .drawer {
        width: min(550px, 85vw);
    }
}
.drawer.is-open {
    transform: translateX(0);
}
.drawer__inner {
    padding: 1.5rem;
}
.drawer__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.75rem;
}
.drawer__logo {
    color: var(--color-wht);
    font-family: var(--font-en-01);
    font-size: 1.15rem;
    font-weight: 400;
    letter-spacing: .15em;
    text-transform: uppercase;
}
.drawer__close {
    margin-left: auto;
    background: none;
    border: none;
    color: rgba(255, 255, 255, .7);
    font-size: 1.125rem;
    cursor: pointer;
    padding: 4px;
    line-height: 1;
    transition: color .2s;
}
.drawer__close:hover {
    color: var(--color-wht);
}
.drawer__list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    list-style: none;
    padding: 0;
    margin: 0 0 2rem;
}
.drawer__list li {
    border-bottom: 1px solid rgba(255, 255, 255, .1);
}
.drawer__list a {
    display: block;
    padding: 15px 10px;
    font-family: var(--font-en-01);
    font-size: 0.95rem;
    font-weight: 400;
    color: var(--color-wht);
    text-decoration: none;
    line-height: 1;
    letter-spacing: .1em;
    transition: color .2s, padding-left .2s;
    text-transform: uppercase;
}

/* 検索フォーム */
.drawer__search {
    display: flex;
    gap: 0;
    border: 1px solid rgba(255, 255, 255, .25);
    border-radius: 8px;
    overflow: hidden;
}
.drawer__search input[type="search"] {
    flex: 1;
    background: rgba(255, 255, 255, .1);
    border: none;
    padding: .75rem 1rem;
    color: #fff;
    font-family: var(--font-jp-01);
    font-size: .875rem !important;
    outline: none;
}
.drawer__search input[type="search"]::placeholder {
    color: rgba(255, 255, 255, .4);
}
.drawer__search button {
    background: rgba(255, 255, 255, .15);
    border: none;
    padding: .75rem 1rem;
    color: rgba(255, 255, 255, .8);
    font-family: var(--font-jp-01);
    font-size: .8125rem;
    cursor: pointer;
    transition: background .2s;
    white-space: nowrap;
}
.drawer__search button:hover {
    background: rgba(255, 255, 255, .25);
}
.drawer__banner {
    margin-top: 30px;
    border-radius: 10px;
    overflow: hidden;
}

/* --------------------------------------------------
 migrated assets/css into style.css
--------------------------------------------------- */

/* common.css
--------------------------------------------------- */
body{font-family:system-ui,-apple-system,BlinkMacSystemFont,"Helvetica Neue",sans-serif;margin:0;color:#222}.site{max-width:1080px;margin:0 auto;padding:24px}.form-row{margin:0 0 16px}.form-row label{display:block;font-weight:700;margin-bottom:6px}input,textarea,select{width:100%;max-width:720px;padding:10px;border:1px solid #ccc;border-radius:6px}textarea{min-height:120px}.btn,button,input[type=submit]{display:inline-block;width:auto;background:#222;color:#fff;border:0;border-radius:6px;padding:10px 18px;text-decoration:none;cursor:pointer}.notice{padding:12px;background:#f5f5f5;margin:16px 0}.error{background:#fff0f0}.cards{display:grid;grid-template-columns:repeat(auto-fill,minmax(240px,1fr));gap:18px}.card{border:1px solid #ddd;padding:16px;border-radius:10px}.poster{width:210mm;min-height:297mm;margin:0 auto;padding:15mm;box-sizing:border-box}.poster img{max-width:100%}@media print{body{margin:0}.no-print{display:none}.poster{margin:0}}

/* base.css
--------------------------------------------------- */
body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Yu Gothic", sans-serif;
  color: #222;
}

a { color: inherit; }
img { max-width: 100%; height: auto; }

.site-header,
.site-footer {
  padding: 20px;
  border-bottom: 1px solid #eee;
}

.site-footer {
  border-top: 1px solid #eee;
  border-bottom: 0;
}

.site-main {
  max-width: 1040px;
  margin: 0 auto;
  padding: 40px 20px;
}

.form-row {
  margin-bottom: 18px;
}

.form-row label {
  display: block;
  margin-bottom: 6px;
  font-weight: 700;
}

.form-row input,
.form-row select,
.form-row textarea {
  width: 100%;
  box-sizing: border-box;
  padding: 10px;
}

.form-row textarea {
  min-height: 140px;
}

.btn,
button,
input[type="submit"] {
  display: inline-block;
  padding: 10px 18px;
  border: 1px solid #222;
  background: #222;
  color: #fff;
  text-decoration: none;
  cursor: pointer;
}

.notice {
  padding: 12px 16px;
  margin-bottom: 20px;
  background: #f7f7f7;
  border: 1px solid #ddd;
}

.mypage-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 30px;
}

.pet-table {
  width: 100%;
  border-collapse: collapse;
}

.pet-table th,
.pet-table td {
  padding: 12px;
  border-bottom: 1px solid #eee;
  text-align: left;
}

.poster {
  width: 210mm;
  min-height: 297mm;
  box-sizing: border-box;
  padding: 16mm;
  margin: 0 auto;
  background: #fff;
}

@page {
  size: A4;
  margin: 0;
}

@media print {
  .no-print { display: none !important; }
  body { margin: 0; }
  .poster { margin: 0; }
}

/* app.css
--------------------------------------------------- */
*{box-sizing:border-box}body{margin:0;font-family:-apple-system,BlinkMacSystemFont,"Hiragino Kaku Gothic ProN","Yu Gothic",Meiryo,sans-serif;line-height:1.7;color:#222;background:#fafafa}a{color:inherit}.site-header{background:#fff;border-bottom:1px solid #eee}.site-header__inner{max-width:1100px;margin:auto;padding:16px 20px;display:flex;justify-content:space-between;gap:20px;align-items:center}.site-logo{font-weight:700;text-decoration:none}.site-nav{display:flex;gap:16px;font-size:14px}.site-nav a{text-decoration:none}.site-main{min-height:70vh}.section{max-width:1100px;margin:auto;padding:48px 20px}.narrow{max-width:720px}.btn{display:inline-block;border:0;background:#222;color:#fff;text-decoration:none;padding:10px 18px;border-radius:999px;cursor:pointer}.btn-sub{background:#777}.form-box{display:grid;gap:16px}.form-box label{display:grid;gap:6px;font-weight:700}.form-box input,.form-box textarea{width:100%;border:1px solid #ddd;border-radius:8px;padding:12px;background:#fff;font:inherit}.form-box textarea{min-height:120px}.form-actions{display:flex;gap:12px;flex-wrap:wrap}.alert{background:#fff0f0;color:#a00;padding:12px;border-radius:8px}.success{background:#effaf2;color:#176b2c;padding:12px;border-radius:8px}.pet-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:20px}.pet-card{background:#fff;border:1px solid #eee;border-radius:14px;padding:14px}.pet-card img{width:100%;aspect-ratio:4/3;object-fit:cover;border-radius:10px}.pet-card a{text-decoration:none}.pet-single img{max-width:100%;height:auto;border-radius:14px}.pet-detail{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:12px;margin:24px 0}.pet-detail>div{background:#fff;border:1px solid #eee;border-radius:10px;padding:12px}.mypage-head{display:flex;justify-content:space-between;align-items:center;gap:16px}.mypage-layout{display:grid;grid-template-columns:minmax(0,1fr);gap:24px}.panel{background:#fff;border:1px solid #eee;border-radius:14px;padding:20px}.mypage-table{width:100%;border-collapse:collapse}.mypage-table th,.mypage-table td{border-bottom:1px solid #eee;padding:10px;text-align:left}.site-footer{text-align:center;padding:28px 20px;color:#777}.poster-body{background:#ddd}.poster-toolbar{position:fixed;top:10px;right:10px;z-index:10}.poster-toolbar button{padding:10px 16px}.poster-sheet{width:210mm;min-height:297mm;margin:20px auto;background:#fff;padding:14mm;box-shadow:0 4px 20px rgba(0,0,0,.15)}.poster-header{text-align:center;border-bottom:3px solid #222;margin-bottom:8mm}.poster-kicker{font-size:18px;margin:0}.poster-header h1{font-size:48px;margin:0 0 6mm}.poster-main{display:grid;grid-template-columns:1.3fr .9fr;gap:8mm}.poster-photo img{width:100%;height:125mm;object-fit:cover}.poster-info dl{display:grid;grid-template-columns:90px 1fr;margin:0}.poster-info dt,.poster-info dd{border-bottom:1px solid #ddd;padding:8px 0;margin:0}.poster-info dt{font-weight:700}.poster-section{margin-top:7mm}.poster-section h2{font-size:20px;border-left:6px solid #222;padding-left:10px}.poster-footer{margin-top:8mm;display:flex;justify-content:space-between;align-items:end;border-top:2px solid #222;padding-top:6mm}.poster-footer img{width:34mm;height:34mm}.poster-url{font-size:12px;word-break:break-all}@media print{body{background:#fff}.poster-toolbar{display:none}.poster-sheet{margin:0;box-shadow:none;width:210mm;height:297mm}@page{size:A4;margin:0}}

/* Archive filters / cards */
.archive-dogs,
.archive-shelter {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 40px 0 64px;
}

.archive-hero {
  margin-bottom: 28px;
}

.archive-hero h1 {
  margin: 0 0 10px;
  font-size: clamp(28px, 4vw, 44px);
}

.archive-hero p {
  margin: 0;
  color: #666;
}

.archive-filter {
  display: grid;
  gap: 24px;
  margin: 0 0 40px;
  padding: 20px;
  border: 1px solid #e5e5e5;
  border-radius: 18px;
  background: #fff;
}

.filter-title {
  margin: 0 0 12px;
  font-weight: 700;
}

.filter-tabs,
.filter-labels,
.filter-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.filter-tab,
.filter-label span,
.filter-submit,
.filter-reset {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 8px 14px;
  border: 1px solid #d8d8d8;
  border-radius: 999px;
  background: #fff;
  color: inherit;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
}

.filter-tab.is-active,
.filter-label.is-checked span,
.filter-label input:checked + span,
.filter-submit {
  border-color: #222;
  background: #222;
  color: #fff;
}

.filter-label input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.filter-actions {
  margin-top: 16px;
}

.filter-submit {
  font: inherit;
}

.archive-result__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.archive-result__head h2 {
  margin: 0;
  font-size: 24px;
}

.archive-result__head p {
  margin: 0;
  color: #666;
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 20px;
}

.card {
  overflow: hidden;
  border: 1px solid #e5e5e5;
  border-radius: 18px;
  background: #fff;
}

.pet-card__link {
  display: block;
  color: inherit;
  text-decoration: none;
}

.pet-card__image,
.shelter-card__image {
  display: grid;
  place-items: center;
  aspect-ratio: 4 / 3;
  background: #f5f5f5;
}

.pet-card__image img,
.shelter-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pet-card__body,
.shelter-card__body {
  padding: 16px;
}

.pet-card__body h3,
.shelter-card__body h3 {
  margin: 0 0 8px;
  font-size: 20px;
}

.pet-card__body p,
.shelter-card__body p {
  margin: 0 0 8px;
}

.pet-card__meta,
.shelter-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  color: #666;
  font-size: 13px;
}

.pet-card__meta span {
  display: inline-flex;
  padding: 3px 8px;
  border-radius: 999px;
  background: #f2f2f2;
}

.no-image {
  color: #999;
  font-size: 13px;
}

.empty-message {
  padding: 24px;
  border-radius: 14px;
  background: #f7f7f7;
}

/* ==================================================
   OMUSUBI風 UI調整
================================================== */

:root {
    --om-bg: #fffaf3;
    --om-bg-soft: #fff4e6;
    --om-card: #ffffff;
    --om-text: #2d2926;
    --om-muted: #7b7168;
    --om-border: #eee2d4;
    --om-main: #e99b43;
    --om-main-dark: #cf7d22;
    --om-green: #83a66a;
    --om-radius-lg: 28px;
    --om-radius-md: 20px;
    --om-shadow: 0 14px 36px rgba(93, 67, 37, .10);
}

body {
    background: var(--om-bg) !important;
    color: var(--om-text);
}

.btn,
.filter-submit,
input[type="submit"],
button[type="submit"] {
    border: 0;
    border-radius: 999px;
    background: var(--om-main);
    color: #fff;
    font-weight: 700;
    box-shadow: 0 8px 18px rgba(233, 155, 67, .22);
    transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

.btn:hover,
.filter-submit:hover,
input[type="submit"]:hover,
button[type="submit"]:hover {
    background: var(--om-main-dark);
    transform: translateY(-2px);
    box-shadow: 0 12px 24px rgba(233, 155, 67, .28);
}

/* front */
.contents-front {
    background:
        radial-gradient(circle at 12% 8%, rgba(233,155,67,.16), transparent 28%),
        radial-gradient(circle at 92% 12%, rgba(131,166,106,.16), transparent 24%),
        var(--om-bg);
}

.mv {
    display: grid;
    place-items: center;
    min-height: 520px;
    padding: 130px 20px 70px;
    text-align: center;
}

.mv::before {
    content: "保護犬と、あたらしい家族を結ぶ";
    display: block;
    max-width: 920px;
    font-size: clamp(32px, 6vw, 70px);
    font-weight: 800;
    line-height: 1.22;
    letter-spacing: .03em;
    color: var(--om-text);
}

.mv::after {
    content: "地域や特徴から、家族を待つ子を探せます。";
    display: block;
    margin-top: 22px;
    font-size: clamp(15px, 2vw, 20px);
    color: var(--om-muted);
}

.section__inner,
.top-dog__inner {
    width: min(1180px, calc(100% - 32px));
    margin-inline: auto;
}

.top-dog {
    padding: 56px 0 90px;
}

.top-dog h2,
.archive-result__head h2,
.single-pet h2 {
    font-size: clamp(24px, 3vw, 36px);
    font-weight: 800;
    letter-spacing: .04em;
}

.top-dog h2 {
    margin-bottom: 26px;
    text-align: center;
}

.top-dog .list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
    gap: 22px;
}

.top-dog .btn {
    display: flex;
    width: fit-content;
    margin: 36px auto 0;
    padding: 14px 28px;
}

/* dog card common */
.dog-card,
.pet-card,
.shelter-card,
.card {
    overflow: hidden;
    border: 1px solid var(--om-border);
    border-radius: var(--om-radius-md);
    background: var(--om-card);
    box-shadow: var(--om-shadow);
    transition: transform .22s ease, box-shadow .22s ease;
}

.dog-card:hover,
.pet-card:hover,
.shelter-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 44px rgba(93, 67, 37, .16);
}

.dog-card a,
.pet-card__link {
    display: block;
    text-decoration: none;
}

.dog-card__image,
.pet-card__image,
.shelter-card__image {
    position: relative;
    display: grid;
    place-items: center;
    aspect-ratio: 1 / 1;
    background: #f4eee6;
}

.dog-card__image img,
.pet-card__image img,
.shelter-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.dog-card__content,
.pet-card__body,
.shelter-card__body {
    padding: 16px 16px 18px;
}

.dog-card__title,
.pet-card__body h3,
.shelter-card__body h3 {
    margin: 0 0 10px;
    font-size: 1.08rem;
    font-weight: 800;
    line-height: 1.45;
}

.dog-card__meta,
.pet-card__meta,
.shelter-card__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin: 0;
    color: var(--om-muted);
    font-size: .78rem;
    line-height: 1.4;
}

.dog-card__meta li,
.pet-card__meta span {
    display: inline-flex;
    align-items: center;
    min-height: 26px;
    padding: 4px 9px;
    border-radius: 999px;
    background: var(--om-bg-soft);
    color: var(--om-muted);
}

.dog-card__shelter {
    width: 100%;
    background: #edf5e8 !important;
    color: #557640 !important;
}

/* archive */
.archive-dogs,
.archive-shelter {
    width: min(1180px, calc(100% - 32px));
    padding: 120px 0 90px;
}

.archive-hero {
    margin-bottom: 26px;
    padding: 42px 28px;
    border-radius: var(--om-radius-lg);
    background: linear-gradient(135deg, #fff 0%, #fff0dc 100%);
    box-shadow: var(--om-shadow);
    text-align: center;
}

.archive-hero h1 {
    margin-bottom: 10px;
    font-size: clamp(30px, 5vw, 54px);
    font-weight: 800;
}

.archive-hero p {
    color: var(--om-muted);
    text-align: center;
}

.archive-filter {
    margin-bottom: 44px;
    padding: 22px;
    border: 1px solid var(--om-border);
    border-radius: var(--om-radius-lg);
    background: #fff;
    box-shadow: var(--om-shadow);
}

.filter-title {
    margin-bottom: 14px;
    font-weight: 800;
}

.filter-labels {
    gap: 9px;
}

.filter-label span,
.filter-reset,
.filter-tab {
    min-height: 38px;
    border-color: var(--om-border);
    background: #fffaf6;
    color: var(--om-muted);
}

.filter-label.is-checked span,
.filter-label input:checked + span,
.filter-tab.is-active {
    border-color: var(--om-main);
    background: var(--om-main);
    color: #fff;
}

.filter-actions {
    margin-top: 20px;
    align-items: center;
}

.filter-submit {
    min-height: 44px;
    padding: 10px 22px;
}

.filter-reset {
    text-decoration: none;
}

.archive-result__head {
    margin-bottom: 22px;
}

.archive-result__head p {
    color: var(--om-main-dark);
    font-weight: 800;
}

.cards,
.pet-list {
    grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
    gap: 22px;
}

.pagination {
    margin-top: 42px;
    text-align: center;
}

.pagination .nav-links {
    display: inline-flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
}

.pagination a,
.pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    border-radius: 999px;
    background: #fff;
    text-decoration: none;
    box-shadow: 0 8px 18px rgba(93, 67, 37, .08);
}

.pagination .current {
    background: var(--om-main);
    color: #fff;
}

.empty-message,
.no-image {
    color: var(--om-muted);
}

/* single */
.single-pet {
    width: min(1040px, calc(100% - 32px));
    margin: 0 auto;
    padding: 120px 0 90px;
}

.single-pet > h1 {
    margin: 0 0 10px;
    font-size: clamp(32px, 5vw, 58px);
    font-weight: 800;
    text-align: center;
}

.single-pet > h1 + p {
    margin-bottom: 24px;
    color: var(--om-muted);
    text-align: center;
}

.single-pet__image {
    overflow: hidden;
    margin: 0 auto 34px;
    border-radius: var(--om-radius-lg);
    background: #fff;
    box-shadow: var(--om-shadow);
}

.single-pet__image img {
    width: 100%;
    max-height: 620px;
    object-fit: cover;
}

.single-pet > h2 {
    margin: 44px 0 16px;
    padding-left: 16px;
    border-left: 7px solid var(--om-main);
}

.single-pet dl {
    display: grid;
    grid-template-columns: 180px minmax(0, 1fr);
    overflow: hidden;
    border: 1px solid var(--om-border);
    border-radius: var(--om-radius-md);
    background: #fff;
    box-shadow: var(--om-shadow);
}

.single-pet dt,
.single-pet dd {
    margin: 0;
    padding: 14px 18px;
    border-bottom: 1px solid var(--om-border);
}

.single-pet dt {
    background: #fff5e8;
    color: var(--om-muted);
    font-weight: 800;
}

.single-pet dd {
    background: #fff;
}

.single-pet dt:last-of-type,
.single-pet dd:last-of-type {
    border-bottom: 0;
}

.single-pet section {
    margin: 18px 0;
    padding: 24px;
    border: 1px solid var(--om-border);
    border-radius: var(--om-radius-md);
    background: #fff;
    box-shadow: var(--om-shadow);
}

.single-pet section h2 {
    margin: 0 0 12px;
    font-size: 1.25rem;
    font-weight: 800;
}

.single-pet section p,
.single-pet > p {
    color: var(--om-muted);
}

.single-pet .btn {
    margin-top: 28px;
    padding: 14px 26px;
}

/* forms / mypage */
.panel,
.form-box,
.notice,
.pet-table,
.mypage-table {
    border-color: var(--om-border) !important;
    border-radius: var(--om-radius-md);
    background: #fff;
    box-shadow: var(--om-shadow);
}

.form-box input,
.form-box textarea,
.form-box select,
.form-row input,
.form-row textarea,
.form-row select,
input,
textarea,
select {
    border-color: var(--om-border);
    border-radius: 14px;
    background: #fffdf9;
}

@media screen and (max-width: 767px) {
    .mv {
        min-height: 420px;
        padding-top: 100px;
    }

    .top-dog {
        padding: 42px 0 70px;
    }

    .top-dog .list,
    .cards,
    .pet-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 14px;
    }

    .dog-card__content,
    .pet-card__body,
    .shelter-card__body {
        padding: 12px;
    }

    .dog-card__title,
    .pet-card__body h3 {
        font-size: .95rem;
    }

    .dog-card__meta,
    .pet-card__meta {
        font-size: .7rem;
    }

    .archive-dogs,
    .archive-shelter,
    .single-pet {
        padding-top: 92px;
    }

    .archive-hero {
        padding: 30px 18px;
    }

    .archive-filter {
        padding: 18px;
    }

    .filter-labels {
        max-height: 220px;
        overflow: auto;
    }

    .single-pet dl {
        grid-template-columns: 1fr;
    }

    .single-pet dt {
        border-bottom: 0;
        padding-bottom: 5px;
    }

    .single-pet dd {
        padding-top: 5px;
    }
}

/* ========================================
   Poster print layouts
======================================== */
.poster-page {
    --poster-ink: #2d261f;
    --poster-muted: #70665c;
    --poster-main: #f6a623;
    --poster-soft: #fff5e4;
    --poster-line: #e9ded1;
    background: #ddd6cc;
    color: var(--poster-ink);
}

.poster-toolbar {
    position: fixed;
    top: 16px;
    right: 16px;
    z-index: 1000;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    max-width: min(460px, calc(100vw - 32px));
    padding: 10px;
    border-radius: 18px;
    background: rgba(255, 255, 255, .94);
    box-shadow: 0 10px 30px rgba(0, 0, 0, .14);
}

.poster-toolbar a,
.poster-toolbar button {
    width: auto;
    min-height: 38px;
    padding: 8px 13px;
    border: 1px solid var(--poster-line);
    border-radius: 999px;
    background: #fff;
    color: var(--poster-ink);
    font-size: 13px;
    font-weight: 700;
    line-height: 1;
    text-decoration: none;
    cursor: pointer;
}

.poster-toolbar button,
.poster-toolbar .is-current {
    border-color: var(--poster-main);
    background: var(--poster-main);
    color: #fff;
}

.poster-sheet {
    display: flex;
    flex-direction: column;
    width: 210mm;
    min-height: 297mm;
    margin: 24px auto;
    padding: 13mm;
    overflow: hidden;
    background: #fffdf8;
    box-shadow: 0 8px 30px rgba(0, 0, 0, .18);
}

.poster-header {
    position: relative;
    padding: 0 0 6mm;
    text-align: center;
}

.poster-kicker {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0 0 3mm;
    padding: 7px 18px;
    border-radius: 999px;
    background: var(--poster-main);
    color: #fff;
    font-size: 18px;
    font-weight: 800;
    letter-spacing: .06em;
}

.poster-header h1 {
    margin: 0;
    font-size: 42px;
    font-weight: 900;
    line-height: 1.15;
}

.poster-shelter {
    margin: 3mm 0 0;
    color: var(--poster-muted);
    font-size: 15px;
    font-weight: 700;
}

.poster-main {
    display: grid;
    grid-template-columns: 1.25fr .85fr;
    gap: 8mm;
    align-items: start;
}

.poster-photo {
    margin: 0;
    overflow: hidden;
    border: 4px solid #fff;
    border-radius: 18px;
    background: var(--poster-soft);
    box-shadow: 0 10px 24px rgba(93, 67, 37, .14);
}

.poster-photo img {
    display: block;
    width: 100%;
    height: 126mm;
    object-fit: cover;
}

.poster-profile dl {
    display: grid;
    gap: 3mm;
    margin: 0;
}

.poster-profile dl > div {
    overflow: hidden;
    border: 1px solid var(--poster-line);
    border-radius: 13px;
    background: #fff;
}

.poster-profile dt,
.poster-profile dd {
    margin: 0;
    padding: 7px 10px;
}

.poster-profile dt {
    background: var(--poster-soft);
    color: var(--poster-muted);
    font-size: 12px;
    font-weight: 800;
}

.poster-profile dd {
    font-size: 17px;
    font-weight: 800;
    line-height: 1.35;
}

.poster-comment {
    margin-top: 7mm;
    padding: 6mm;
    border: 2px solid var(--poster-line);
    border-radius: 18px;
    background: #fff;
}

.poster-comment h2 {
    margin: 0 0 3mm;
    padding-left: 12px;
    border-left: 7px solid var(--poster-main);
    font-size: 20px;
    line-height: 1.3;
}

.poster-comment p {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 7;
    overflow: hidden;
    margin: 0;
    font-size: 15px;
    line-height: 1.75;
}

.poster-footer {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 8mm;
    margin-top: auto;
    padding-top: 7mm;
}

.poster-more {
    margin: 0 0 2mm;
    font-size: 21px;
    font-weight: 900;
}

.poster-id,
.poster-url {
    margin: 0;
    color: var(--poster-muted);
    font-size: 11px;
    line-height: 1.5;
    word-break: break-all;
}

.poster-qr {
    flex: 0 0 auto;
    margin: 0;
    padding: 3mm;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 5px 16px rgba(93, 67, 37, .12);
}

.poster-qr img {
    display: block;
    width: 34mm;
    height: 34mm;
}

/* layout: photo */
.poster-layout-photo .poster-sheet {
    padding: 10mm;
}

.poster-layout-photo .poster-main {
    grid-template-columns: 1fr;
    gap: 5mm;
}

.poster-layout-photo .poster-photo img {
    height: 168mm;
}

.poster-layout-photo .poster-profile dl {
    grid-template-columns: repeat(4, 1fr);
    gap: 2mm;
}

.poster-layout-photo .poster-comment p {
    -webkit-line-clamp: 4;
}

/* layout: profile */
.poster-layout-profile .poster-main {
    grid-template-columns: .95fr 1.05fr;
}

.poster-layout-profile .poster-photo img {
    height: 104mm;
}

.poster-layout-profile .poster-profile dl {
    grid-template-columns: repeat(2, 1fr);
    gap: 3mm;
}

.poster-layout-profile .poster-comment p {
    -webkit-line-clamp: 9;
}

/* layout: simple */
.poster-layout-simple .poster-sheet {
    padding: 16mm;
    background: #fff;
}

.poster-layout-simple .poster-kicker,
.poster-layout-simple .poster-toolbar button,
.poster-layout-simple .poster-toolbar .is-current {
    background: var(--poster-ink);
    border-color: var(--poster-ink);
}

.poster-layout-simple .poster-main {
    grid-template-columns: 1fr;
}

.poster-layout-simple .poster-photo {
    border-radius: 0;
    box-shadow: none;
}

.poster-layout-simple .poster-photo img {
    height: 142mm;
}

.poster-layout-simple .poster-profile dl {
    grid-template-columns: repeat(3, 1fr);
    gap: 2mm;
}

.poster-layout-simple .poster-profile dl > div,
.poster-layout-simple .poster-comment,
.poster-layout-simple .poster-qr {
    border-radius: 0;
    box-shadow: none;
}

@media print {
    @page {
        size: A4;
        margin: 0;
    }

    html,
    body {
        width: 210mm;
        height: 297mm;
        margin: 0 !important;
        background: #fff !important;
    }

    .no-print,
    .poster-toolbar {
        display: none !important;
    }

    .poster-sheet {
        width: 210mm;
        height: 297mm;
        min-height: 297mm;
        margin: 0;
        box-shadow: none;
        break-after: avoid;
        page-break-after: avoid;
    }
}

/* ========================================
   Poster PDF print fix
   A4に収める / 印刷時の背景色を反映させる
======================================== */
.poster-page,
.poster-page * {
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
}

.poster-sheet,
.poster-sheet * {
    box-sizing: border-box;
}

@media print {
    @page {
        size: A4 portrait;
        margin: 0;
    }

    html,
    body,
    body.poster-page {
        width: 210mm !important;
        height: 297mm !important;
        margin: 0 !important;
        padding: 0 !important;
        overflow: hidden !important;
        background: #fff !important;
    }

    .no-print,
    .poster-toolbar,
    .site-header,
    .site-footer {
        display: none !important;
    }

    .poster-sheet {
        display: flex !important;
        flex-direction: column !important;
        width: 210mm !important;
        height: 297mm !important;
        min-height: 0 !important;
        margin: 0 !important;
        padding: 8mm !important;
        overflow: hidden !important;
        background: #fffdf8 !important;
        box-shadow: none !important;
        page-break-before: avoid !important;
        page-break-after: avoid !important;
        page-break-inside: avoid !important;
        break-inside: avoid !important;
    }

    .poster-header {
        flex: 0 0 auto !important;
        padding: 0 0 4mm !important;
    }

    .poster-kicker {
        margin-bottom: 2mm !important;
        padding: 5px 14px !important;
        background: var(--poster-main) !important;
        color: #fff !important;
        font-size: 13px !important;
    }

    .poster-header h1 {
        font-size: 34px !important;
        line-height: 1.08 !important;
    }

    .poster-shelter {
        margin-top: 2mm !important;
        font-size: 11px !important;
    }

    .poster-main {
        flex: 0 0 auto !important;
        display: grid !important;
        grid-template-columns: 1.12fr .88fr !important;
        gap: 5mm !important;
        align-items: start !important;
    }

    .poster-photo {
        border-width: 3px !important;
        border-radius: 12px !important;
        background: var(--poster-soft) !important;
        box-shadow: none !important;
    }

    .poster-photo img {
        width: 100% !important;
        height: 104mm !important;
        max-height: 104mm !important;
        object-fit: cover !important;
    }

    .poster-profile dl {
        gap: 2mm !important;
    }

    .poster-profile dl > div {
        border-color: var(--poster-line) !important;
        border-radius: 9px !important;
        background: #fff !important;
    }

    .poster-profile dt,
    .poster-profile dd {
        padding: 4px 7px !important;
    }

    .poster-profile dt {
        background: var(--poster-soft) !important;
        color: var(--poster-muted) !important;
        font-size: 9px !important;
    }

    .poster-profile dd {
        font-size: 13px !important;
        line-height: 1.25 !important;
    }

    .poster-comment {
        flex: 0 0 auto !important;
        margin-top: 5mm !important;
        padding: 4mm !important;
        border-color: var(--poster-line) !important;
        border-radius: 12px !important;
        background: #fff !important;
    }

    .poster-comment h2 {
        margin-bottom: 2mm !important;
        padding-left: 9px !important;
        border-left-color: var(--poster-main) !important;
        font-size: 15px !important;
    }

    .poster-comment p {
        -webkit-line-clamp: 5 !important;
        font-size: 11px !important;
        line-height: 1.55 !important;
    }

    .poster-footer {
        flex: 0 0 auto !important;
        gap: 5mm !important;
        margin-top: auto !important;
        padding-top: 4mm !important;
    }

    .poster-more {
        margin-bottom: 1mm !important;
        font-size: 15px !important;
    }

    .poster-id,
    .poster-url {
        font-size: 8px !important;
        line-height: 1.35 !important;
    }

    .poster-qr {
        padding: 2mm !important;
        border-radius: 8px !important;
        background: #fff !important;
        box-shadow: none !important;
    }

    .poster-qr img {
        width: 25mm !important;
        height: 25mm !important;
    }

    /* layout: photo */
    .poster-layout-photo .poster-sheet {
        padding: 7mm !important;
    }

    .poster-layout-photo .poster-main {
        grid-template-columns: 1fr !important;
        gap: 3mm !important;
    }

    .poster-layout-photo .poster-photo img {
        height: 124mm !important;
        max-height: 124mm !important;
    }

    .poster-layout-photo .poster-profile dl {
        grid-template-columns: repeat(4, 1fr) !important;
        gap: 1.5mm !important;
    }

    .poster-layout-photo .poster-comment {
        margin-top: 4mm !important;
        padding: 3.5mm !important;
    }

    .poster-layout-photo .poster-comment p {
        -webkit-line-clamp: 3 !important;
    }

    /* layout: profile */
    .poster-layout-profile .poster-photo img {
        height: 92mm !important;
        max-height: 92mm !important;
    }

    .poster-layout-profile .poster-profile dl {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 2mm !important;
    }

    .poster-layout-profile .poster-comment p {
        -webkit-line-clamp: 7 !important;
    }

    /* layout: simple */
    .poster-layout-simple .poster-sheet {
        padding: 10mm !important;
        background: #fff !important;
    }

    .poster-layout-simple .poster-photo img {
        height: 116mm !important;
        max-height: 116mm !important;
    }

    .poster-layout-simple .poster-profile dl {
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 1.5mm !important;
    }
}

/* ========================================
   Poster print overflow final fix
   ChromeのPDF化でfooterが2ページ目に送られる対策
======================================== */
@media print {
    @page {
        size: A4 portrait;
        margin: 0;
    }

    html,
    body,
    body.poster-page {
        width: 210mm !important;
        height: 296mm !important;
        min-height: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
        overflow: hidden !important;
    }

    body.poster-page::before,
    body.poster-page::after {
        display: none !important;
        content: none !important;
    }

    .poster-sheet {
        position: relative !important;
        display: block !important;
        width: 210mm !important;
        height: 296mm !important;
        min-height: 0 !important;
        max-height: 296mm !important;
        margin: 0 !important;
        padding: 7mm 8mm 38mm !important;
        overflow: hidden !important;
        box-shadow: none !important;
        page-break-before: avoid !important;
        page-break-after: avoid !important;
        page-break-inside: avoid !important;
        break-before: avoid !important;
        break-after: avoid !important;
        break-inside: avoid !important;
    }

    .poster-header {
        padding-bottom: 4mm !important;
    }

    .poster-main {
        display: grid !important;
        grid-template-columns: 1.12fr .88fr !important;
        gap: 5mm !important;
    }

    .poster-photo img {
        height: 101mm !important;
        max-height: 101mm !important;
    }

    .poster-comment {
        margin-top: 5mm !important;
        padding: 3.5mm !important;
    }

    .poster-comment p {
        -webkit-line-clamp: 4 !important;
        font-size: 10.5px !important;
        line-height: 1.5 !important;
    }

    .poster-footer {
        position: absolute !important;
        left: 8mm !important;
        right: 8mm !important;
        bottom: 7mm !important;
        display: flex !important;
        align-items: flex-end !important;
        justify-content: space-between !important;
        gap: 5mm !important;
        margin: 0 !important;
        padding: 4mm 0 0 !important;
        border-top: 2px solid var(--poster-ink) !important;
        page-break-inside: avoid !important;
        break-inside: avoid !important;
    }

    .poster-qr img {
        width: 22mm !important;
        height: 22mm !important;
    }

    .poster-more {
        font-size: 14px !important;
    }

    .poster-id,
    .poster-url {
        font-size: 7.5px !important;
    }

    .poster-layout-photo .poster-sheet,
    .poster-layout-profile .poster-sheet,
    .poster-layout-simple .poster-sheet {
        height: 296mm !important;
        max-height: 296mm !important;
        padding-bottom: 36mm !important;
    }

    .poster-layout-photo .poster-photo img {
        height: 116mm !important;
        max-height: 116mm !important;
    }

    .poster-layout-profile .poster-photo img {
        height: 88mm !important;
        max-height: 88mm !important;
    }

    .poster-layout-simple .poster-photo img {
        height: 108mm !important;
        max-height: 108mm !important;
    }
}
