.mini-body { background: radial-gradient(ellipse at 50% 0, #323b57 0, #181d2d 28%, #0f121a 65%); min-height: 100svh; padding: 36px 20px; }
.mini-shell { position: relative; width: min(100%, 520px); margin-inline: auto; padding: 28px; border-radius: 26px; border: 1px solid #505a7a; background: linear-gradient(145deg, #2a3040, #1b202e 45%, #161a27); box-shadow: inset 0 1px 0 #e8efff18, 0 30px 75px #0008; overflow: hidden; }
.mini-shell::before { content: ''; pointer-events: none; position: absolute; z-index: 0; width: 350px; height: 350px; right: -155px; top: 70px; background: url('assets/dimvora-sculpture.webp') center / contain no-repeat; opacity: .065; transform: rotate(-12deg); }
.mini-shell > * { position: relative; }
.mini-header { display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.mini-header .brand { width: 142px; }
.share-button { font-size: 12px; color: #e5e8ef; border: 1px solid #586388; padding: 10px 13px; min-height: 42px; border-radius: 9px; background: linear-gradient(#3b425b, #2b3144); box-shadow: inset 0 1px 0 #e1e9ff1a, 0 2px 0 #0e121e; transition: transform .2s, border-color .2s; }
.share-button:hover { border-color: #aa6667; transform: translateY(-1px); }
.surface-nav { display: grid; grid-template-columns: repeat(3,1fr); gap: 4px; padding: 5px; background: #0f131f; border: 1px solid #3d4459; border-radius: 12px; box-shadow: inset 0 2px 5px #0006; margin-block: 27px 34px; }
.surface-nav a { display: flex; align-items: center; justify-content: center; min-height: 42px; border-radius: 8px; font-size: 13px; color: #b8bcc5; }
.surface-nav a[aria-current] { color: #1b2237; background: linear-gradient(#e6eaf6, #ced4e3); box-shadow: inset 0 1px 0 #fff, 0 2px 5px #0006; font-weight: 500; }
.surface-nav a:not([aria-current]):hover { background: #2e364c; color: white; }
.mini-identity { display: flex; align-items: center; gap: 20px; }
.mini-identity .portrait { width: 88px; height: 88px; flex: 0 0 88px; padding: 5px; }
.mini-identity h1 { font-size: 34px; line-height: 1.04; letter-spacing: -.05em; }
.mini-intro { margin-top: 22px; margin-bottom: 25px; font-size: 16px; color: #c3c6cf; max-width: 390px; }
.bio-cta, .save-contact { display: flex; width: 100%; min-height: 58px; font-size: 15px; }
.mini-body .action-note { justify-content: center; font-size: 12px; margin-top: 16px; }
.bio-links { display: grid; gap: 14px; margin-top: 32px; }
.bio-link { position: relative; display: flex; flex-direction: column; justify-content: center; min-height: 90px; padding: 20px 63px 20px 20px; border: 1px solid #576388; border-radius: 14px; background: linear-gradient(130deg, #373f57, #2b3143); box-shadow: inset 0 1px 0 #e6edff17, 0 4px 0 #0e121e, 0 8px 16px #0003; transition: transform .2s, border-color .2s; }
.bio-link::after, .bio-project > div::after { content: '↗'; position: absolute; right: 18px; top: 50%; transform: translateY(-50%); width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%; color: #cdd6ee; border: 1px solid #6473a3; background: #3c4667; font-size: 17px; }
.bio-link:hover, .bio-project:hover { transform: translateY(-3px); border-color: #aa6667; }
.bio-link:active { transform: translateY(3px); box-shadow: inset 0 1px 0 #ffffff10; }
.bio-link strong { font-size: 17px; font-weight: 500; line-height: 1.4; }
.bio-link > span { color: #b8bcc7; font-size: 13px; margin-top: 5px; line-height: 1.5; }
.bio-project { display: block; padding: 8px; border-radius: 16px; border: 1px solid #5a668c; background: linear-gradient(#373f58, #282e42); box-shadow: inset 0 1px 0 #dee7ff17, 0 4px 0 #0e121e; transition: transform .2s, border-color .2s; }
.bio-project > img { width: 100%; border-radius: 9px; }
.bio-project > div { position: relative; padding: 18px 55px 16px 12px; }
.bio-project strong { font-size: 23px; letter-spacing: -.035em; font-weight: 500; }
.bio-project p { font-size: 12px; color: #bec1cb; margin-top: 7px; line-height: 1.65; }
.bio-project > div::after { right: 10px; }
.mini-social-section { margin-top: 36px; }
.mini-social-section h2 { font-size: 24px; margin-bottom: 20px; }
.mini-socials { display: flex; gap: 10px; }
.mini-socials a { display: grid; place-items: center; flex: 1; min-height: 47px; font-size: 12px; border: 1px solid #5f6a8c; border-radius: 10px; background: linear-gradient(#3c445d, #2a3042); box-shadow: inset 0 1px 0 #ffffff13, 0 3px 0 #0f131e; transition: transform .2s, border-color .2s; }
.mini-socials a:hover { transform: translateY(-2px); border-color: #ff998a; }
.mini-email { display: block; font-size: 14px; margin-top: 24px; color: #d7dbe5; overflow-wrap: anywhere; text-decoration: underline; text-underline-offset: 5px; }
.text-link { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 18px; min-height: 52px; border: 1px solid #4c5778; border-radius: 10px; background: linear-gradient(#313952, #252c3f); font-size: 13px; box-shadow: inset 0 1px 0 #ffffff0a, 0 2px 0 #0e121e; }
.text-link::after { content: '↗'; font-size: 17px; color: #ff998a; }
.mini-social-section .text-link { margin-top: 24px; }
.mini-footer { margin-top: 36px; padding-top: 26px; border-top: 1px solid #485271; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 18px; }
.mini-footer .brand { width: 128px; }
.mini-footer p { order: 3; width: 100%; font-size: 11px; color: #afb3bd; }
.mini-footer > a:last-child { font-size: 12px; text-decoration: underline; text-underline-offset: 4px; }
.card-shortcuts { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 20px; }
.card-shortcuts > * { display: flex; align-items: center; justify-content: center; min-height: 48px; border: 1px solid #59668c; border-radius: 10px; background: linear-gradient(#39425d, #293044); color: #e4e7ef; font-size: 13px; box-shadow: inset 0 1px 0 #ffffff14, 0 3px 0 #0d111e; transition: transform .2s, border-color .2s; }
.card-shortcuts > *:hover { transform: translateY(-2px); border-color: #aa6667; }
.card-details { margin-top: 28px; }
.contact-list { display: grid; gap: 11px; }
.contact-list > a, .email-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 17px 19px; border: 1px solid #4b5678; border-radius: 12px; background: linear-gradient(130deg, #313a53, #272d42); box-shadow: inset 0 1px 0 #ffffff0a, 0 2px 0 #0e121e; }
.contact-list > a { flex-direction: column; align-items: flex-start; position: relative; }
.contact-list > a::after { content: '↗'; position: absolute; right: 20px; top: 50%; transform: translateY(-50%); color: #ff998a; font-size: 20px; }
.contact-list span { font-size: 12px; color: #b0b5bf; line-height: 1.4; }
.contact-list strong { font-size: 16px; line-height: 1.45; font-weight: 400; display: block; }
.contact-list > a strong { margin-top: 5px; }
.email-row a { min-width: 0; }
.email-row strong { font-size: 14px; overflow-wrap: anywhere; margin-top: 5px; }
.email-row button { flex-shrink: 0; font-size: 10px; padding: 10px; min-height: 38px; border-radius: 8px; border: 1px solid #6c7db5; color: #d5dced; background: #3c486d; }
.card-materials { margin-top: 28px; display: grid; gap: 11px; }
#qr-dialog { width: min(440px, calc(100% - 24px)); padding: 0 24px 24px; }
#qr-dialog .dialog-bar { margin-inline: -24px; padding-inline: 20px; }
#qr-dialog .dialog-bar h2 { font-size: 18px; }
#qr-dialog .dialog-bar button { padding: 9px 13px; border: 1px solid #6d7fb6; border-radius: 9px; background: #3f4867; min-height: 40px; font-size: 13px; }
#qr-dialog > img { width: 100%; max-width: 290px; margin: 25px auto 18px; background: white; padding: 8px; border-radius: 13px; }
#qr-dialog > p { font-size: 13px; text-align: center; color: var(--muted); margin-bottom: 22px; }
#qr-dialog > .button { width: 100%; font-size: 14px; }
.mini-identity, .mini-intro, .bio-cta, .save-contact { animation: hero-entrance .65s var(--ease) both; }
.mini-intro { animation-delay: .08s; }
.bio-cta, .save-contact { animation-delay: .14s; }
@media (max-width: 560px) {
  .mini-body { padding: 13px 12px; }
  .mini-shell { padding: 23px 20px; border-radius: 20px; }
  .mini-header .brand { width: 132px; }
  .share-button { font-size: 11px; padding-inline: 11px; }
  .surface-nav { margin-block: 25px 30px; }
  .mini-identity { gap: 16px; }
  .mini-identity .portrait { width: 73px; height: 73px; flex-basis: 73px; padding: 4px; }
  .mini-identity h1 { font-size: 30px; }
  .mini-intro { font-size: 15px; margin-top: 22px; }
  .bio-link { padding-left: 17px; min-height: 85px; }
  .bio-link strong { font-size: 16px; }
  .bio-link > span { font-size: 12px; }
  .bio-project strong { font-size: 22px; }
  .mini-email { font-size: 13px; }
  .contact-list > a, .email-row { padding: 17px; }
  .email-row strong { font-size: 12px; }
  .email-row button { padding-inline: 7px; }
}
@media (max-width: 350px) { .mini-shell { padding-inline: 16px; } .mini-header .brand { width: 115px; } .mini-identity h1 { font-size: 27px; } .mini-identity .portrait { width: 65px; height: 65px; flex-basis: 65px; } .email-row { flex-wrap: wrap; } }
