/* English 3000 · Phrasal verb'ler ve günlük kalıplar (liste + set sayfası). study.css / learn.css token'larını kullanır. */
.ph-kind-head { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.ph-kind-icon { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: color-mix(in srgb, var(--kc, #38bdf8) 18%, transparent); color: var(--kc, #38bdf8); font-size: 1.15rem; flex: none; }
.ph-card .rd-card-title { font-size: 1.08rem; }

/* Kart ızgarası */
.ph-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; }
.ph-flip { perspective: 1200px; min-height: 168px; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.ph-flip-inner { position: relative; width: 100%; height: 100%; min-height: 168px; transition: transform .45s cubic-bezier(.2,.8,.2,1); transform-style: preserve-3d; }
.ph-flip.flipped .ph-flip-inner { transform: rotateY(180deg); }
.ph-face { position: absolute; inset: 0; border-radius: 16px; padding: 14px 14px 12px; backface-visibility: hidden; -webkit-backface-visibility: hidden; display: flex; flex-direction: column; gap: 6px; border: 1px solid rgba(148,163,184,.12); }
.ph-front { background: #0b1220; }
.ph-back { background: #172033; transform: rotateY(180deg); }
.ph-phrase { font-size: 1.35rem; font-weight: 800; letter-spacing: -.01em; color: #e2e8f0; line-height: 1.15; }
.ph-phrase .prep { color: var(--kc, #38bdf8); }
.ph-en { color: #94a3b8; font-size: .92rem; }
.ph-tr { color: #fbbf24; font-weight: 700; font-size: 1.1rem; }
.ph-note { color: #cbd5e1; font-size: .88rem; }
.ph-tags { display: flex; gap: 6px; flex-wrap: wrap; margin-top: auto; }
.ph-tag { font-size: .68rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; padding: 2px 8px; border-radius: 99px; background: rgba(148,163,184,.14); color: #cbd5e1; }
.ph-tag.informal { background: rgba(251,191,36,.16); color: #fbbf24; }
.ph-tag.formal { background: rgba(167,139,250,.18); color: #c4b5fd; }
.ph-tag.sep { background: rgba(56,189,248,.16); color: #7dd3fc; }
.ph-ex { font-size: .92rem; color: #e2e8f0; margin: 0; }
.ph-ex mark { background: rgba(56,189,248,.22); color: #e0f2fe; padding: 0 .15em; border-radius: 4px; }
.ph-ex .tr { color: #94a3b8; font-size: .84rem; display: block; }
.ph-speak { position: absolute; top: 10px; right: 10px; width: 34px; height: 34px; border-radius: 50%; border: 0; background: rgba(56,189,248,.14); color: #38bdf8; display: grid; place-items: center; }
.ph-speak:hover, .ph-speak.on { background: #38bdf8; color: #0f172a; }
.ph-hint { position: absolute; bottom: 8px; right: 12px; font-size: .68rem; color: #64748b; }
.ph-flip.learned .ph-front { border-color: rgba(34,197,94,.45); }

/* Test */
.ph-q { font-size: 1.12rem; color: #e2e8f0; margin-bottom: 12px; }
.ph-q mark { background: rgba(251,191,36,.22); color: #fde68a; padding: 0 .3em; border-radius: 4px; }
.ph-q .gap { display: inline-block; min-width: 5.5em; border-bottom: 2px dashed #38bdf8; text-align: center; color: #38bdf8; font-weight: 700; }
.ph-opts { display: grid; gap: 8px; }
.ph-opt { text-align: left; background: #0b1220; border: 1px solid rgba(148,163,184,.16); color: #e2e8f0; border-radius: 12px; padding: .8rem 1rem; font-size: 1rem; }
.ph-opt:hover { border-color: #38bdf8; }
.ph-opt.ok { border-color: #22c55e; background: rgba(34,197,94,.14); }
.ph-opt.no { border-color: #ef4444; background: rgba(239,68,68,.14); }
.ph-opt[disabled] { opacity: .85; }
.ph-result { text-align: center; padding: 10px 0 4px; }
.ph-result .big { font-size: 2.4rem; font-weight: 800; }
@media (max-width: 576px) { .ph-grid { grid-template-columns: 1fr; } .ph-phrase { font-size: 1.22rem; } }
@media (prefers-reduced-motion: reduce) { .ph-flip-inner { transition: none; } }
