/* Fundamental attribution error lesson. All rules scoped under .fae-* */

.fae-sc { width: 100%; display: flex; flex-direction: column; align-items: center; gap: 12px; }

/* the show */
.fae-show { display: flex; flex-direction: column; align-items: center; gap: 6px; width: 100%; }
.fae-show img { height: 120px; max-width: 100%; object-fit: contain; display: block; }
.fae-pods { display: flex; gap: 14px; justify-content: center; }
.fae-pod { display: flex; align-items: baseline; gap: 6px; padding: 5px 12px; border-radius: 12px; background: var(--surface); border: 2px solid var(--line-strong); transition: border-color .4s; }
.fae-pod b { font-size: 15px; }
.fae-pod span { font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; color: var(--dim); }
.fae-host { border-color: var(--gold); }
.fae-host span { color: var(--gold); }
.fae-swap .fae-host { border-color: var(--line-strong); }
.fae-swap .fae-host span { color: var(--dim); }
.fae-swap .fae-you { border-color: var(--gold); }
.fae-bubble { width: 100%; max-width: 340px; padding: 14px 16px; border-radius: 18px; background: var(--raised); border: 2px solid var(--line-strong); font: 700 18px/1.3 var(--serif); text-align: center; min-height: 76px; display: flex; align-items: center; justify-content: center; }
.fae-bubble.fae-ok { border-color: var(--mint); }
.fae-bubble.fae-no { border-color: var(--red); }
.fae-bubble.fae-yours { border-color: var(--gold); }

/* ratings */
.fae-bars { display: flex; flex-direction: column; gap: 8px; width: 100%; max-width: 340px; }
.fae-bar { display: grid; grid-template-columns: 90px 1fr; align-items: center; gap: 10px; }
.fae-bar span { font-size: 14px; font-weight: 700; color: var(--dim); }
.fae-track { height: 14px; border-radius: 7px; background: var(--raised); overflow: hidden; }
.fae-track i { display: block; height: 100%; width: 0; border-radius: 7px; transition: width 1s cubic-bezier(.2, .8, .2, 1); }
.fae-h { background: var(--gold); }
.fae-c { background: #8FA8E8; }
.fae-rated .fae-h { width: 82%; }
.fae-rated .fae-c { width: 48%; }
.fae-note { font-size: 12px; color: var(--faint); text-align: center; }

/* the name */
.fae-two { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; width: 100%; }
.fae-pan { display: flex; flex-direction: column; gap: 6px; padding: 16px 10px; min-height: 120px; justify-content: center; border-radius: 18px; background: var(--surface); border: 2px solid var(--line-strong); text-align: center; }
.fae-pan small { font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; color: var(--dim); }
.fae-pan b { font: 700 17px/1.25 var(--serif); }
.fae-big { border-color: var(--gold); }
.fae-small { border-style: dashed; opacity: .75; }

/* pictures */
.fae-pic { display: flex; flex-direction: column; align-items: center; gap: 4px; width: 100%; }
.fae-pic img { height: 110px; max-width: 100%; object-fit: contain; display: block; }
.fae-pic span { font-size: 13px; color: var(--dim); font-weight: 600; }
.fae-big-pic img { height: 190px; }
.fae-help { display: flex; flex-direction: column; gap: 8px; width: 100%; max-width: 340px; }
.fae-hrow { display: grid; grid-template-columns: 122px 1fr 42px; align-items: center; gap: 8px; }
.fae-hrow span { font-size: 13px; font-weight: 700; color: var(--dim); line-height: 1.2; }
.fae-hrow b { font: 800 15px var(--mono); text-align: right; opacity: 0; transition: opacity .4s .6s; }
.fae-hrow i { background: var(--mint); }
.fae-shown .fae-hrow i { width: var(--n); }
.fae-shown .fae-hrow b { opacity: 1; }

@media (max-height: 700px) { .fae-show img { height: 86px; } .fae-pic img { height: 80px; } .fae-big-pic img { height: 140px; } }
