/* NWH Domovenka 1.0.0 – name and number over the free lower part of the patch (same positions as the approved preview) */
.nwh-hp{position:relative;display:inline-block;container-type:inline-size;aspect-ratio:1/1;max-width:100%;vertical-align:top}
.nwh-hp img{display:block;width:100%;height:100%;border-radius:50%}
.nwh-hp-name,.nwh-hp-num{position:absolute;left:50%;transform:translate(-50%,-50%);font-family:"Arial Black","Arial Bold",Arial,sans-serif;font-weight:900;line-height:1;white-space:nowrap;color:#000;pointer-events:none}
.nwh-hp-name{top:80%}.nwh-hp-num{top:87%}
.nwh-hp.is-small .nwh-hp-name{top:75%}.nwh-hp.is-small .nwh-hp-num{top:86%}
.nwh-hp-head{display:flex;justify-content:flex-start;margin:8px 0 4px}
.nwh-hp-forum{display:flex;justify-content:center;margin:6px 0 2px}
/* own profile tab */
.nwh-hp-tab{font-size:18px;line-height:1.5}
.nwh-hp-intro{max-width:46em}
.nwh-hp-ok,.nwh-hp-err{padding:10px 14px;border-radius:10px;font-weight:700}
.nwh-hp-ok{background:#e7f4ea;color:#1b5e20}.nwh-hp-err{background:#fdecea;color:#8a1c14}
.nwh-hp-layout{display:flex;flex-wrap:wrap;gap:24px;align-items:flex-start;margin:12px 0 18px}
.nwh-hp-fields{flex:1 1 300px;display:grid;gap:16px}
.nwh-hp-fields fieldset{border:0;padding:0;margin:0;display:grid;gap:6px}
.nwh-hp-fields legend,.nwh-hp-countries legend,.nwh-hp-label{font-weight:700;margin-bottom:4px}
.nwh-hp-radio{display:flex;gap:10px;align-items:center}
.nwh-hp-radio input{width:1.3em;height:1.3em}
.nwh-hp-text{display:grid;gap:6px;font-weight:700}
.nwh-hp-text input{font-size:18px;padding:10px 12px;border:2px solid #4A5960;border-radius:10px;max-width:22em}
.nwh-hp-hint{font-weight:400;font-size:16px;color:#4A5960}
.nwh-hp-previewbox{flex:0 0 auto;text-align:center}
.nwh-hp-countries{border:0;padding:0;margin:0;display:grid;grid-template-columns:repeat(auto-fill,minmax(112px,1fr));gap:10px}
.nwh-hp-countries legend{grid-column:1/-1}
.nwh-hp-c{display:flex;flex-direction:column;align-items:center;gap:4px;padding:8px 4px;border:2px solid transparent;border-radius:12px;cursor:pointer;text-align:center;font-size:15px;line-height:1.25}
.nwh-hp-c input{position:absolute;opacity:0;width:1px;height:1px}
.nwh-hp-c img{width:84px;height:84px;border-radius:50%}
.nwh-hp-c:has(input:checked){border-color:#0B4F6C;background:#eef5f8;font-weight:700}
.nwh-hp-c:has(input:focus-visible){outline:3px solid #E8742B;outline-offset:2px}
.nwh-hp-c.is-none{justify-content:center;min-height:120px;border:2px dashed #9aa5ab}
@media (max-width:560px){.nwh-hp-previewbox{width:100%}.nwh-hp-live{width:200px!important}}
