#model-M77 .card-photo{aspect-ratio:3/4!important;height:auto!important}#model-M77 .card-photo img{object-fit:contain!important;object-position:center!important}dialog.approved-profile{width:fit-content!important;max-width:calc(100vw - 32px)!important;height:auto!important;max-height:calc(100dvh - 32px)!important;padding:0!important;border:0!important;overflow:auto!important;background:#fafaf8!important}dialog.approved-profile::backdrop{background:#0008}dialog.approved-profile #quick-content{padding:0!important;margin:0!important;max-width:none!important} @scope (.approved-profile){*{box-sizing:border-box}body{margin:0;background:#eeedeb;color:#252628;font-family:Arial,'Malgun Gothic',sans-serif}.notice{max-width:1120px;margin:14px auto;font-size:12px;color:#737373}.modal{max-width:1120px;margin:0 auto 24px;padding:28px 30px;background:#fafaf8;position:relative;border-radius:4px}.layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:34px;align-items:stretch}.layout>section:first-child{display:block;min-width:0}header{height:70px}.kicker{font-size:13px;line-height:16px;letter-spacing:1.8px;font-weight:700}.heading{display:flex;align-items:baseline;gap:14px;margin-top:8px}h1{font-size:27px;margin:0;font-weight:500}.meta{font-size:12px;color:#777}.close{position:absolute;right:14px;top:10px;border:0;background:none;font-size:26px;color:#555;cursor:pointer}.hero{display:block;width:100%;height:auto;aspect-ratio:3/4;object-fit:cover;object-position:top;background:#e8e7e5}.right{display:flex;flex-direction:column;justify-content:space-between;gap:22px;min-width:0;padding:0;margin:0}.right>section{margin:0;padding:0}h2{font-size:11px;letter-spacing:1.4px;margin:0 0 14px;font-weight:700}dl{margin:0}.row{display:grid;grid-template-columns:105px minmax(0,1fr);gap:10px;padding:13px 0;border-bottom:1px solid #e2e1dd;font-size:13px;line-height:1.5}.row:first-child{padding-top:0}dt{color:#777}dd{margin:0;word-break:keep-all}.cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}figure{margin:0}figure img{display:block;width:100%;aspect-ratio:3/4;object-fit:cover}figcaption{text-align:center;font-size:10px;color:#888;margin-top:7px}button{font:inherit}.primary{width:100%;height:48px;background:#27292b;border:1px solid #27292b;color:white;font-size:13px;font-weight:700;cursor:pointer}.secondary{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:10px}.secondary button{height:40px;border:1px solid #d6d7da;background:#fff;font-size:12px;color:#363b42;cursor:pointer}.feedback{position:absolute;bottom:7px;right:30px;font-size:10px;color:#777;margin:0}.feedback:empty{display:none}@media(max-width:759px){.notice{padding:0 18px}.modal{padding:22px}.layout{grid-template-columns:1fr;gap:26px}.right{gap:24px}.hero{aspect-ratio:auto}.heading{gap:12px}.meta{font-size:11px}}
.right>section:first-child>h2{font-size:13px;line-height:16px}
/* Compact section rhythm, natural right-column height drives both bottom edges. */
.right{justify-content:flex-start;gap:24px}.layout>section:first-child{position:relative;min-height:0}.hero{position:absolute;top:70px;left:0;width:100%;height:calc(100% - 70px);aspect-ratio:auto;object-fit:cover;object-position:center top}
@media(max-width:759px){.layout>section:first-child{position:static}.hero{position:static;width:100%;height:auto;aspect-ratio:auto}.right{gap:24px}}

/* V7: portrait ratio is fixed independently of right-column content. */
.layout>section:first-child{position:static;display:block}.hero{position:static;width:100%;height:auto;aspect-ratio:3/4;object-fit:contain;object-position:center}.right{justify-content:space-between;gap:24px}
.category-example{max-width:1120px;margin:30px auto;padding:26px 30px;background:#fafaf8}.category-example>p{font-size:12px;color:#777}.example-card{width:260px;background:white}.example-card>img{width:100%;height:auto;aspect-ratio:3/4;object-fit:contain;display:block}.example-copy{padding:14px;border:1px solid #e2e1dd;border-top:0}.example-copy strong{font-size:19px}.example-copy p{font-size:12px;color:#777;line-height:1.7;margin:8px 0}.example-copy .secondary{gap:6px}.example-copy .secondary button{font-size:10px}
@media(max-width:759px){.right{justify-content:flex-start}.category-example{margin:20px 0;padding:22px}.example-card{width:min(260px,100%)}}

/* V8: compact right panel determines portrait scale; image remains 3:4. */
.right{justify-content:flex-start;gap:24px}.layout{grid-template-columns:var(--portrait-width,443px) var(--info-width,513px);justify-content:center}.modal{width:fit-content;max-width:calc(100% - 32px)}.hero{width:100%;height:auto;aspect-ratio:3/4;object-fit:contain}.notice{max-width:1050px}.category-example{max-width:1050px}
@media(max-width:759px){.modal{width:auto;max-width:none}.layout{grid-template-columns:1fr}.hero{width:100%}.right{gap:24px}}
.kicker,.right>section:first-child>h2{font-size:15px;line-height:19px;font-weight:700}.modal{margin:0;max-width:none}.primary{display:flex;align-items:center;justify-content:center;text-decoration:none}.secondary button{border-radius:0}.layout header{background:none}.heading h1{line-height:1.2}.right .row dt{font-weight:400}.right .row dd{color:#252628}@media(max-width:759px){.modal{width:calc(100vw - 32px)}}}
body[data-page="models"] #model-grid #model-M77 button.card-photo{aspect-ratio:3/4!important;height:auto!important;min-height:0!important;max-height:none!important}body[data-page="models"] dialog.approved-profile .kicker,body[data-page="models"] dialog.approved-profile .right>section:first-child>h2{font-size:15px!important;line-height:19px!important;margin-top:0!important}body[data-page="models"] dialog.approved-profile .right h2{font-size:11px!important;line-height:16px!important;margin:0 0 14px!important}body[data-page="models"] dialog.approved-profile .right>section:first-child>h2{font-size:15px!important;line-height:19px!important}

body[data-page="models"] dialog.approved-profile{min-height:0!important;min-width:0!important}body[data-page="models"] dialog.approved-profile .modal{height:auto!important;min-height:0!important;margin:0!important;padding:28px 30px!important}body[data-page="models"] dialog.approved-profile .layout{height:auto!important;min-height:0!important}body[data-page="models"] dialog.approved-profile header{height:70px!important;min-height:0!important;padding:0!important;border:0!important}body[data-page="models"] dialog.approved-profile .heading h1{font-size:27px!important;font-weight:500!important;line-height:1.2!important;margin:0!important;padding:0!important;letter-spacing:0!important}body[data-page="models"] dialog.approved-profile .heading .meta{font-size:12px!important;margin:0!important;line-height:1.5!important}body[data-page="models"] dialog.approved-profile .heading{display:flex!important;align-items:baseline!important;gap:14px!important;margin-top:8px!important}body[data-page="models"] dialog.approved-profile .right>section:first-child>h2{font-weight:700!important;letter-spacing:1.4px!important}

body[data-page="models"] dialog#quick-modal.approved-profile{height:max-content!important;min-height:0!important;max-height:calc(100dvh - 32px)!important;inset:0!important;margin:auto!important;transform:none!important}

body[data-page="models"] dialog.approved-profile .heading{flex-wrap:wrap!important;row-gap:3px!important}body[data-page="models"] dialog.approved-profile .hero{transform:none!important;object-fit:contain!important}body[data-page="models"] dialog.approved-profile .cards img{transform:none!important;object-fit:contain!important}

body[data-page="models"] dialog#quick-modal.approved-profile.profile-mobile{width:calc(100vw - 16px)!important;min-width:0!important}body[data-page="models"] dialog#quick-modal.approved-profile.profile-mobile .modal{width:100%!important;max-width:none!important;padding:20px!important}body[data-page="models"] dialog#quick-modal.approved-profile.profile-mobile .layout{width:100%!important;grid-template-columns:minmax(0,1fr)!important;gap:24px!important}body[data-page="models"] dialog#quick-modal.approved-profile.profile-mobile .hero{position:static!important;width:100%!important;height:auto!important;aspect-ratio:3/4!important}body[data-page="models"] dialog#quick-modal.approved-profile.profile-mobile .right{justify-content:flex-start!important;gap:24px!important}body[data-page="models"] dialog#quick-modal.approved-profile.profile-mobile .row{grid-template-columns:88px minmax(0,1fr)!important}body[data-page="models"] dialog#quick-modal.approved-profile.profile-mobile .heading{gap:10px!important}
