* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; font: 16px "Times New Roman", serif; }
body.retro--clinic {
    --edge: #8aada6; --light: #effff0; --base: #fbf8d5; --side: #d4eeec; --rule: #126e66;
    color: #18220f; background: repeating-linear-gradient(130deg, #bad6c7 0 3px, #b1cfc0 3px 6px);
}
body.retro--ink {
    --edge: #521b50; --light: #9f397d; --base: #150d1d; --side: #2c153c; --rule: #df68cd;
    color: #fff6dd; background-color: #100817;
    background-image: radial-gradient(#ac90d8 1px, transparent 1.5px), radial-gradient(#b17e84 1px, transparent 1.5px);
    background-size: 31px 26px, 41px 47px; background-position: 4px 1px, 21px 19px;
}
a { color: #0000bb; text-decoration: underline; }
a:visited { color: #652197; }
.retro--ink a { color: #72f1ec; }
.retro--ink a:visited { color: #eca0ff; }
:focus-visible { outline: 3px solid #e1a136; outline-offset: 3px; }

.demo-skip {
    position: absolute; top: -100px; left: 6px; display: inline-block; padding: 8px; background: white; z-index: 100;
}
.demo-skip:focus { top: 6px; }
.demo-bar {
    font: 13px/1.3 Arial, sans-serif; background: #f1ece1; color: #332e26; border-bottom: 1px solid #d8cebc;
}
.demo-bar-inner {
    width: min(100% - 28px, 1000px); margin: auto; display: flex; align-items: center; gap: 8px 16px; min-height: 41px;
}
.demo-bar a, .retro--ink .demo-bar a { color: #332e26; }
.demo-bar small { flex: 1; font-size: inherit; }
.demo-variant { font-weight: bold; }
.demo-languages { display: flex; gap: 8px; }
.demo-languages [aria-current="page"] { font-weight: bold; }

.retro-site {
    width: min(790px, 100% - 24px); margin: 20px auto; padding: 7px; background: var(--base);
    border: 5px ridge var(--edge);
}
.retro-mast {
    border: 4px outset var(--edge); text-align: center; padding: 4px 8px 10px; background: #c5edee;
    color: #003263;
}
.retro--ink .retro-mast { background: #351738; color: #ffee6a; }
.retro-mast p { font: bold 13px Arial, sans-serif; margin: 6px 0; }
.retro-mast h1 {
    margin: 2px 0; font: bold italic clamp(36px, 8vw, 66px)/.92 "Times New Roman", serif; letter-spacing: -.035em;
    text-shadow: 3px 3px #65a8ba; color: #0538a0;
}
.retro--ink .retro-mast h1 { font-style: normal; color: #ff6dfa; text-shadow: 3px 3px #7632a5, 5px 5px #06020a; padding-bottom: 5px; }
.retro-table { width: 100%; border-collapse: separate; border-spacing: 5px; table-layout: fixed; }
.retro-table td { vertical-align: top; border: 2px inset var(--edge); }
.retro-sidebar { width: 155px; padding: 7px; background: var(--side); font: 13px Arial, sans-serif; }
.retro-sidebar nav strong {
    display: block; background: var(--rule); color: #fff; border: 2px outset var(--edge);
    padding: 5px; margin-bottom: 6px; font-size: 11px;
}
.retro--ink .retro-sidebar nav strong { color: #240f23; }
.retro-sidebar a { display: block; padding: 5px 2px; border-bottom: 1px dotted var(--edge); font-weight: bold; }
.retro-sidebar p { padding-top: 7px; font-size: 11px; line-height: 1.25; }
.retro-body { padding: 8px; }
.retro-body p, .retro-body li { line-height: 1.28; }
.retro-opening { display: flow-root; }
.retro-opening p { margin-top: 7px; }
.retro-opening img { float: right; margin: 1px 0 6px 9px; width: min(45%, 245px); }
.retro-body img {
    max-width: 100%; height: auto; border: 3px groove var(--edge); padding: 1px; background: var(--light); display: block;
}
.retro-body h2 {
    font: bold 17px/1.15 "Times New Roman", serif; margin: 10px 0 7px; padding: 4px 6px;
    border: 2px outset var(--edge); color: white; background: var(--rule);
}
.retro--ink .retro-body h2 { color: #240f23; }
.retro-body ul { padding-inline-start: 24px; }
.retro-body li + li { margin-top: 4px; }
.retro-album { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.retro-album img { width: 100%; aspect-ratio: 1.42; object-fit: cover; }
.business-hours { margin: 6px 0; }
.business-hours > div { border-bottom: 1px dotted var(--edge); padding-block: 4px; }
.business-hours dt { font-weight: bold; }
.business-hours dd { margin: 0 0 0 12px; overflow-wrap: anywhere; }
.contact-example { padding: 6px; border: 2px groove var(--edge); background: var(--side); }
.contact-example .form-hint { margin: 3px 0 7px; font-size: 14px; }
.contact-example label { display: block; font-weight: bold; margin-bottom: 7px; }
.contact-example :is(input, textarea) {
    display: block; width: min(100%, 390px); margin-top: 2px; border: 2px inset #ccc; padding: 4px; font: 14px Arial, sans-serif;
}
.contact-example button { border: 3px outset silver; padding: 4px 9px; background: #ddd; color: #000; font: bold 13px Arial, sans-serif; }
.form-result:empty { display: none; }
.retro-top { text-align: right; margin: 7px 0; }
.retro-footer {
    text-align: center; padding: 7px; font: 11px Arial, sans-serif; border-top: 4px ridge var(--edge); line-height: 1.3;
}
.retro-footer a { margin-left: 5px; }

@media (max-width: 690px) {
    .demo-bar-inner { display: grid; grid-template-columns: minmax(0, 1fr) auto; padding-block: 7px; }
    .demo-bar small { grid-area: 1 / 1; }
    .demo-bar .demo-variant { grid-area: 1 / 2; text-align: right; }
    .demo-languages { justify-content: flex-end; }
}

@media (max-width: 490px) {
    .retro-site { width: calc(100% - 14px); border-width: 3px; padding: 4px; }
    .retro-table, .retro-table tbody, .retro-table tr, .retro-table td { display: block; width: 100%; }
    .retro-table td { margin-top: 4px; }
    .retro-sidebar a { display: inline-block; padding: 5px; }
    .retro-sidebar p { margin: 4px 0; padding: 0; }
}
