/* DDPTPT AI practice: structure is fixed to the tournament, so structure/game pickers are hidden */
#quick-game-open,#home-friend,#home-to-cardmahjong,#home-settings,#home-records-open,#solo-top-start,#solo-top-resume{display:none!important}
#dd-ai-bar{position:fixed;left:0;right:0;bottom:0;z-index:99990;background:#2b2116;color:#f6ead2;font:600 12px/1.3 system-ui,sans-serif;display:flex;gap:8px;align-items:center;justify-content:center;padding:4px 8px calc(4px + env(safe-area-inset-bottom))}
#dd-ai-bar a{color:#ffd77a;text-decoration:none}
#dd-ai-over{position:fixed;inset:0;z-index:99995;background:#0007;display:flex;align-items:center;justify-content:center;padding:16px}#dd-ai-over[hidden]{display:none}
#dd-ai-over .c{background:#f5ecd9;color:#3a2a17;border-radius:16px;padding:20px;max-width:340px;width:100%;text-align:center;font-family:system-ui,sans-serif}
#dd-ai-over button,#dd-ai-over a{display:block;width:100%;margin:10px 0 0;padding:12px;border-radius:10px;border:0;background:#3a2a17;color:#fff;font-weight:700;font-size:16px;text-decoration:none}#dd-ai-over a{background:#d9c7a3;color:#3a2a17}
/* キャラ・お面: the in-game 停止・設定 button opens P200 settings v2 (character + face mask v91). New-match / legacy screens stay hidden so the tournament structure can't be changed here. */
.s2v [data-a=newmatch],.s2v [data-a=legacy],#settings .p2s2-back{display:none!important}
#dd-ai-bar button{border:1px solid #ffd77a;background:transparent;color:#ffd77a;border-radius:8px;padding:3px 8px;font:inherit;cursor:pointer}
#dd-ai-bar span{flex:1 1 auto;min-width:0}#dd-ai-bar button,#dd-ai-bar a{flex:0 0 auto;white-space:nowrap}
#dd-ai-bar{transition:opacity .6s}#dd-ai-bar.fade{opacity:0;pointer-events:none}

/* v90l DDPTPT: no 称号 (titles) anywhere in the HU app */
#home-titles-open,#home-titles,[data-a="titles"],.t51-pop,.t51-list,#t47-seat,#t47-top{display:none!important}
