/* R45 package „start“ (ZIEL45). Colours are written for the light page; the dark design comes from the generator (DEV45).
   1. Aufgabe 01: the small „Ticket geschlossen“ where the button was (start45.js)
   2. Nach Feierabend: the calm line to /projekt (start45.js)
   3. 17:00 on the computer: the text above the card keeps clear of the lamp, which now stands on the card (r40/abend.css)
   4. Phone: the head of the start page (portrait in the middle, the two notes below it, more air) and the top of /profil */

/* ---------------------------------------------------------------- 1. task 01 closed quietly */
html body .wd-meeting .s45-closed{display:inline-flex;align-items:center;gap:7px;margin:0;padding:6px 0;font:700 13px/1.4 Manrope,system-ui,sans-serif;color:#2f5260}
html body .wd-meeting .s45-closed-ico{color:#304ee7;font-weight:800}
html body .wd-meeting .s45-closed.is-new{animation:s45-in .5s ease both}
@keyframes s45-in{from{opacity:0}to{opacity:1}}
html[data-read=on] body .wd-meeting .s45-closed{font-size:15px}
html.motion-paused body .wd-meeting .s45-closed{animation:none}
@media (prefers-reduced-motion:reduce){html body .wd-meeting .s45-closed{animation:none}}

/* ---------------------------------------------------------------- 2. the evening line after the clothes line */
html body #familie .s45-evening{display:flex;flex-wrap:wrap;align-items:baseline;gap:4px 12px;margin:30px 0 0;padding:18px 0 0;border-top:1px dashed #152d3833;font:600 16px/1.5 Manrope,system-ui,sans-serif;color:#2f4650}
html body #familie .s45-evening-pre{font-size:22px;line-height:1.2;color:#5b4a73}
html body #familie .s45-evening-link{color:#152d38;text-decoration:underline;text-decoration-color:#304ee7;text-decoration-thickness:1.5px;text-underline-offset:4px;min-height:24px}
html body #familie .s45-evening-link:hover{color:#304ee7}
html body #familie .s45-evening-link:focus-visible{outline:2px solid #304ee7;outline-offset:3px;border-radius:2px}
html body #familie .s45-evening-arrow{color:#304ee7}
html[data-read=on] body #familie .s45-evening{font-size:17px}
html[data-read=on] body #familie .s45-evening-pre{font-family:inherit;font-size:17px;font-weight:700;color:inherit}
@media (max-width:620px){
  html body #familie .s45-evening{margin-top:24px;padding-top:14px;font-size:14px}
  html body #familie .s45-evening-pre{font-size:19px;flex-basis:100%}
  html body #familie .s45-evening-link{display:inline-flex;align-items:center;min-height:44px}
}

/* ---------------------------------------------------------------- 3. 17:00, computer: room for the lamp on the card */
@media (min-width:721px){
  html body .j-finale .journey-recap{max-width:min(310px,calc(100% - 220px))}
  html body .j-finale .wd-evening.ab-has-lamp{margin-top:46px}
}

/* ---------------------------------------------------------------- 4a. phone: the head of the start page
   Before: portrait right of the middle and cut by the edge, „Status“ note top left, „Hi, ich bin Furkan“ over the shoulder,
   gears and a loose ring at the edge – everything within 232 px. Now: the drawn portrait in the middle of the screen, the two
   notes staggered below it (left „Hi …“, right „Status …“, over the shirt, never on the face), gears inside the edge, 300 px.
   The film of the thumb follows by itself (hero.js measures the portrait). Same content, same order for screen readers. */
@media (max-width:620px){
  html body .j-hero .hero-art{height:300px!important;min-height:300px!important;margin-bottom:14px!important}
  /* the portrait box (76 % of the art, site-r23.css) holds the drawing centred (contain). The art runs from 21 px to the right
     edge (100vw - 21px), so the box centre moves by 50vw - 21px - 66 % of the art = -16vw - 7px onto the screen centre.
     The invisible glasses button and the film of the thumb follow the portrait by themselves (site-r20.js, hero.js). */
  html body .j-hero .hero-art .sketch-portrait{left:calc(28% - 16vw - 7px)!important;right:auto!important}
  /* the round glasses chip sits on the other cheek, so the „Status“ note never covers it */
  html body .j-hero .hero-art .portrait-play .portrait-chip{left:6px!important;right:auto!important}
  html body .j-hero .hero-art .status-card{left:auto!important;right:8px!important;top:auto!important;bottom:66px!important}
  html body .j-hero .hero-art .portrait-label{left:-4px!important;bottom:0!important}
  html body .j-hero .hero-art .hero-gears{right:4px!important;top:8px!important}
  html body .j-hero .hero-art .hero-doodle-ring{display:none!important}
}

/* ---------------------------------------------------------------- 4b. phone: the top of /profil
   Before: „Furkan Bekdemir · Persönliches Portfolio“ and „Offen für neue Aufgaben“ squeezed side by side in two lines each;
   the portrait 15 px right of the middle. Now: the two lines one under the other, each in one line; the portrait centred. */
@media (max-width:620px){
  html body.page-profil .home-hero .hero-label{flex-direction:column;align-items:flex-start;justify-content:flex-start;gap:8px}
  html body.page-profil .home-hero .hero-label .availability{margin:0}
  html body.page-profil .home-hero figure.portrait{justify-self:center;margin-left:auto;margin-right:auto}
}
